Vehicle driving simulation method and device, computer equipment and storage medium
By establishing vehicle simulation models and curve simulation scenarios, simulating the driving state of the vehicle in curves, solving the problem of high field testing of autonomous vehicles, and achieving low-cost and efficient data acquisition.
Patent Information
- Application Number
- CN202410556709.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-07
- Publication Date
- 2024-09-06
AI Technical Summary
The technical iteration and update of autonomous vehicles require a lot of field testing, resulting in high testing costs and high time costs.
By establishing a simulation model and curve simulation scenario of the target vehicle, simulating the driving state of the vehicle in the curve, obtaining vehicle simulation data, and reducing the cost and time of actual vehicle testing.
It realizes the acquisition of vehicle simulation data at low cost and low time cost, and improves the data acquisition efficiency.
Smart Images

Figure CN118607166A
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle simulation technology, and in particular to a vehicle simulation driving method, device, computer equipment and storage medium. Background Art
[0002] When iterating and updating the technology of vehicles with autonomous driving technology, autonomous driving vehicles need to undergo a large amount of field testing to provide a data basis for the iteration and updating of autonomous driving technology.
[0003] However, updating autonomous driving technology requires a large amount of vehicle data. Therefore, obtaining vehicle data through field testing will result in high testing costs. In addition, this process takes a lot of time and has a high time cost. Summary of the invention
[0004] Based on this, it is necessary to provide a vehicle simulation driving method, device, computer equipment and storage medium that can reduce the cost of obtaining vehicle data in response to the above technical problems.
[0005] In a first aspect, the present application provides a vehicle driving simulation method. The method comprises:
[0006] Establishing a vehicle simulation model corresponding to the target vehicle and establishing a curve simulation scene corresponding to the target curve;
[0007] According to the vehicle simulation model and the curve simulation scenario, the driving state of the target vehicle on the target curve is simulated to obtain vehicle simulation data of the target vehicle on the target curve.
[0008] In one embodiment, establishing a vehicle simulation model corresponding to the target vehicle includes:
[0009] Obtain vehicle parameters of the target vehicle;
[0010] A vehicle simulation model corresponding to the target vehicle is established according to the vehicle parameters.
[0011] In one embodiment, the vehicle parameters include at least one vehicle sub-parameter corresponding to a vehicle device, and establishing a vehicle simulation model corresponding to the target vehicle according to the vehicle parameters includes:
[0012] Establishing at least one vehicle sub-model according to each of the vehicle sub-parameters;
[0013] The vehicle sub-models are combined to obtain the vehicle simulation model corresponding to the target vehicle.
[0014] In one embodiment, the step of establishing a curve simulation scene corresponding to the target curve includes:
[0015] Obtaining a curve curvature radius corresponding to the target curve;
[0016] According to the curve curvature radius, a curve simulation scene corresponding to the target curve is established.
[0017] In one embodiment, simulating the driving state of the target vehicle on the target curve according to the vehicle simulation model and the curve simulation scene to obtain vehicle simulation data of the target vehicle on the target curve includes:
[0018] Acquire lane line related data corresponding to the curve simulation scene;
[0019] According to the vehicle simulation model, the curve simulation scene and lane line related data, the driving state of the target vehicle on the target curve is simulated to obtain vehicle simulation data of the target vehicle in the target curve.
[0020] In one of the embodiments, the vehicle simulation data includes at least one of the distance data between the current vehicle centerline and the lane centerline, the steering wheel angle, and the centerline deviation percentage.
[0021] In a second aspect, the present application also provides a vehicle driving simulation device. The device comprises:
[0022] A building module is used to build a vehicle simulation model corresponding to a target vehicle and a curve simulation scene corresponding to a target curve;
[0023] The simulation module is used to simulate the driving state of the target vehicle on the target curve according to the vehicle simulation model and the curve simulation scene, and obtain vehicle simulation data of the target vehicle in the target curve.
[0024] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
[0025] Establishing a vehicle simulation model corresponding to the target vehicle and establishing a curve simulation scene corresponding to the target curve;
[0026] According to the vehicle simulation model and the curve simulation scenario, the driving state of the target vehicle on the target curve is simulated to obtain vehicle simulation data of the target vehicle on the target curve.
[0027] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0028] Establishing a vehicle simulation model corresponding to the target vehicle and establishing a curve simulation scene corresponding to the target curve;
[0029] According to the vehicle simulation model and the curve simulation scenario, the driving state of the target vehicle on the target curve is simulated to obtain vehicle simulation data of the target vehicle on the target curve.
[0030] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0031] Establishing a vehicle simulation model corresponding to the target vehicle and establishing a curve simulation scene corresponding to the target curve;
[0032] According to the vehicle simulation model and the curve simulation scenario, the driving state of the target vehicle on the target curve is simulated to obtain vehicle simulation data of the target vehicle on the target curve.
[0033] The above-mentioned vehicle simulation driving method, device, computer equipment and storage medium, by establishing a vehicle simulation model corresponding to the target vehicle, and establishing a curve simulation scene corresponding to the target curve; according to the vehicle simulation model and the curve simulation scene, the driving state of the target vehicle in the target curve is simulated, and the vehicle simulation data of the target vehicle in the target curve is obtained. According to the above content, when determining the vehicle simulation data, the present application does not allow the target vehicle to perform a real vehicle test in the target curve, but by constructing a vehicle simulation model corresponding to the target vehicle, and a curve simulation scene corresponding to the target curve, according to the vehicle simulation model and the curve simulation scene, the driving state of the target vehicle in the target curve is simulated, thereby reducing the test cost of allowing the target vehicle to perform a real vehicle test in the target curve, and by simulating the driving state of the target vehicle in the target curve, the efficiency of determining the vehicle simulation data is also improved, and the time cost of obtaining the simulation data is reduced, and the purpose of obtaining the vehicle simulation data at a low cost has been achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 A diagram of an application environment of a vehicle simulation driving method provided in an embodiment of the present application;
[0035] Figure 2 A schematic diagram of a flow chart of a first vehicle simulation driving method provided in an embodiment of the present application;
[0036] Figure 3 A schematic diagram of a flow chart of a second vehicle simulation driving method provided in an embodiment of the present application;
[0037] Figure 4A schematic diagram of a flow chart of a third vehicle simulation driving method provided in an embodiment of the present application;
[0038] Figure 5 A schematic diagram of a fourth vehicle driving simulation method provided in an embodiment of the present application;
[0039] Figure 6 A schematic diagram of a fifth vehicle driving simulation method provided in an embodiment of the present application;
[0040] Figure 7 A structural block diagram of a vehicle simulation driving device provided in an embodiment of the present application;
[0041] Figure 8 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0042] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0043] It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. In the description of the present application, the description of the reference terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms is not necessarily for the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples without contradicting each other.
[0044] The vehicle simulation driving method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. Establish a vehicle simulation model corresponding to the target vehicle, and establish a curve simulation scene corresponding to the target curve; according to the vehicle simulation model and the curve simulation scene, simulate the driving state of the target vehicle in the target curve, and obtain the vehicle simulation data of the target vehicle in the target curve. Among them, the terminal 102 can be but is not limited to various personal computers, laptops, smart phones, tablets, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.
[0045] In one embodiment, Figure 2 As shown, a vehicle simulation driving method is provided, and the method is applied to Figure 1 The terminal 102 in the example is used as an example to illustrate, and the following steps are included:
[0046] S201, establishing a vehicle simulation model corresponding to a target vehicle, and establishing a curve simulation scene corresponding to a target curve.
[0047] It should be noted that when it is necessary to establish a vehicle simulation model corresponding to a target vehicle, the vehicle parameters of the target vehicle can be obtained in advance, and then, based on the vehicle parameters, a vehicle simulation model corresponding to the target vehicle is constructed, and the simulated vehicle parameters corresponding to the vehicle simulation model are the same as the vehicle parameters of the target vehicle.
[0048] Among them, vehicle parameters may include but are not limited to: vehicle body size parameters, vehicle suspension parameters, vehicle chassis parameters, vehicle wheel parameters, vehicle wheel parameters, vehicle braking parameters, etc., and the content included in the vehicle parameters is not limited here.
[0049] It should be noted that when it is necessary to establish a curve simulation scenario corresponding to a target curve, the curve parameters corresponding to the target curve can be obtained in advance, and then, the curve simulation scene corresponding to the target curve can be established based on the curve parameters. Therefore, the simulation curve parameters corresponding to the curve simulation scene are the same as the curve parameters of the target curve.
[0050] The curve parameters may include but are not limited to curve curvature parameters, curve width parameters, curve centerline parameters, etc. The contents of the curve parameters are not limited here.
[0051] S202, simulating the driving state of the target vehicle on the target curve according to the vehicle simulation model and the curve simulation scene, and obtaining vehicle simulation data of the target vehicle on the target curve.
[0052] The driving state of the target vehicle on the target curve can be simulated by a driving simulation tool (such as a Simulink driving simulation tool).
[0053] In one embodiment of the present application, when it is necessary to simulate the driving state of the target vehicle on the target curve, a user datagram protocol (UDP) signal transmission function can be set in the virtual test driving software equipped with the curve simulation scene, and the current simulated vehicle posture signal is sent out in real time, and the posture updated after the simulated vehicle is received after the algorithm control. And the drive simulation tool that simulates the driving of the target vehicle is equipped with a user datagram protocol signal receiving module and a user datagram protocol signal sending module to realize the communication between the drive simulation tool and the virtual test driving software equipped with the curve simulation scene.
[0054] Furthermore, the driving simulation tool receives the lane line related data corresponding to the curve simulation scene output by the virtual test driving software equipped with the curve simulation scene, as well as the vehicle posture information of the vehicle simulation model in the curve simulation scene at the current moment, and calculates the lane line related data and the vehicle posture information, and obtains the adjusted vehicle posture data which is sent to the virtual test driving software equipped with the curve simulation scene.
[0055] In addition, the interface is built through the driving simulation tool to provide input signals for the algorithm, and the input signals include the vehicle status information of the vehicle simulation model, the lane line related data corresponding to the curve simulation scene output by the virtual test driving software, and the vehicle posture information of the vehicle simulation model in the curve simulation scene at the current moment. The interface is built through the driving simulation tool to provide output signals for the algorithm, and the output control signal is connected to the outside and input to the vehicle simulation model.
[0056] It should be noted that, in the process of simulating the driving state of the target vehicle in the target curve, the vehicle simulation data of the vehicle simulation model is recorded through continuous simulation operation, and the data is the vehicle simulation data of the target vehicle in the target curve.
[0057] The vehicle simulation data includes at least one of the distance data between the current vehicle centerline and the lane centerline, the steering wheel angle, and the centerline deviation percentage.
[0058] The above-mentioned vehicle simulation driving method, by establishing a vehicle simulation model corresponding to the target vehicle, and establishing a curve simulation scene corresponding to the target curve; simulating the driving state of the target vehicle in the target curve according to the vehicle simulation model and the curve simulation scene, and obtaining the vehicle simulation data of the target vehicle in the target curve. According to the above content, it can be known that when determining the vehicle simulation data, the present application does not allow the target vehicle to perform a real vehicle test in the target curve, but by constructing a vehicle simulation model corresponding to the target vehicle, and a curve simulation scene corresponding to the target curve, simulating the driving state of the target vehicle in the target curve according to the vehicle simulation model and the curve simulation scene, thereby reducing the test cost of allowing the target vehicle to perform a real vehicle test in the target curve, and by simulating the driving state of the target vehicle in the target curve, the efficiency of determining the vehicle simulation data is also improved, and the time cost of obtaining the simulation data is reduced, and the purpose of obtaining the vehicle simulation data at a low cost has been achieved.
[0059] In one embodiment, if Figure 3 As shown, when it is necessary to establish a vehicle simulation model corresponding to the target vehicle, the following contents may be included:
[0060] S301, obtaining vehicle parameters of the target vehicle.
[0061] It should be noted that when it is necessary to obtain the vehicle parameters of the target vehicle, it is possible to verify whether a storage device that pre-stores the vehicle parameters is stored, and then, based on the existence of the storage device, the operation of obtaining the vehicle parameters of the target vehicle is implemented.
[0062] In one embodiment of the present application, when it is necessary to obtain the vehicle parameters of a target vehicle, if there is a storage device that pre-stores the vehicle parameters, an information acquisition request is sent to the storage device, and the information acquisition request carries the vehicle identification of the target vehicle, so that the storage device can determine the vehicle parameters of the target vehicle according to the vehicle identification, and feed back to the terminal device that executes the vehicle simulation driving method, so as to achieve the purpose of obtaining the vehicle parameters of the target vehicle.
[0063] The storage device may include but is not limited to a local storage device of the target vehicle and a cloud storage device, and the device type of the storage device is not limited here.
[0064] In one embodiment of the present application, when it is necessary to obtain the vehicle parameters of a target vehicle, if there is no storage device that pre-stores the vehicle parameters, an information acquisition request can be sent to at least one acquisition model of the target vehicle, so that each acquisition module in the target vehicle collects information on the target vehicle to obtain the vehicle parameters of the target vehicle.
[0065] S302: Establish a vehicle simulation model corresponding to the target vehicle according to the vehicle parameters.
[0066] Among them, the vehicle parameters include vehicle sub-parameters corresponding to at least one vehicle device. Therefore, the process of obtaining the vehicle parameters of the target vehicle may include the following contents: establishing at least one vehicle sub-model according to each vehicle sub-parameter; combining each vehicle sub-model to obtain a vehicle simulation model corresponding to the target vehicle.
[0067] In one embodiment of the present application, when it is necessary to establish a vehicle simulation model corresponding to a target vehicle, at least one vehicle sub-model may be established based on each vehicle sub-parameter. Specifically, the vehicle sub-model may include but is not limited to: a body model, a trailer model, a suspension model, a tire model, a steering model, a braking model, and parameterized simulation models of each part. Then, each vehicle sub-model is combined to obtain a vehicle simulation model corresponding to the target vehicle.
[0068] To further illustrate, a Trucksim simulator, i.e., a vehicle simulator, can be used to establish a vehicle status information sending interface and a control signal receiving interface between a driving simulation tool (such as a Simulink driving simulation tool) that simulates the driving state of a target vehicle on a target curve; and, through the Trucksim simulator, the vehicle simulation model, the sending interface, and the control signal receiving interface are integrated into an FMU (an open standard format for model exchange) format model to implement calling the FMU model in the driving simulation tool, inputting control signals and vehicle posture signals received by the vehicle into the FMU model, and outputting vehicle status information and the updated posture of the vehicle after algorithm control through the FMU.
[0069] The above-mentioned vehicle simulation driving method, by establishing a vehicle simulation model corresponding to the target vehicle, realizes according to the vehicle simulation model and the curve simulation scene, simulates the driving state of the target vehicle in the target curve, and obtains the vehicle simulation data of the target vehicle in the target curve. Therefore, when determining the vehicle simulation data, the present application does not allow the target vehicle to perform a real vehicle test in the target curve, but by constructing a vehicle simulation model corresponding to the target vehicle, and a curve simulation scene corresponding to the target curve, realizes according to the vehicle simulation model and the curve simulation scene, simulates the driving state of the target vehicle in the target curve, thereby reducing the test cost of allowing the target vehicle to perform a real vehicle test in the target curve, and, by simulating the driving state of the target vehicle in the target curve, the efficiency of determining the vehicle simulation data is also improved, and the time cost of obtaining the simulation data is reduced, and the purpose of obtaining the vehicle simulation data at a low cost has been achieved.
[0070] In one embodiment, if Figure 4 As shown, when it is necessary to establish a curve simulation scene corresponding to the target curve, the following contents may be included:
[0071] S401, obtaining a curve curvature radius corresponding to a target curve.
[0072] S402: Establish a curve simulation scene corresponding to the target curve according to the curve curvature radius.
[0073] In one embodiment of the present application, a scene road network is built through the ROD plug-in of virtual test driving software (such as VTD software), and a curve simulation scene corresponding to the target curve is established according to the curve curvature radius, and a road network file in xodr format is generated and saved.
[0074] Furthermore, the road network file is rendered to generate a rendering file in osgb format. The virtual scene is built through the SE plug-in of the virtual test driving software to generate and save the scene file in xml format, so that the driving state of the target vehicle in the target curve can be simulated according to the vehicle simulation model and the curve simulation scene, and the vehicle simulation data of the target vehicle in the target curve can be obtained.
[0075] The above-mentioned vehicle simulation driving method, by establishing a curve simulation scene corresponding to the target curve, realizes simulating the driving state of the target vehicle in the target curve according to the vehicle simulation model and the curve simulation scene, and obtains the vehicle simulation data of the target vehicle in the target curve. Therefore, when determining the vehicle simulation data, the present application does not allow the target vehicle to perform a real vehicle test in the target curve, but by constructing a vehicle simulation model corresponding to the target vehicle and a curve simulation scene corresponding to the target curve, it is realized that according to the vehicle simulation model and the curve simulation scene, the driving state of the target vehicle in the target curve is simulated, thereby reducing the test cost of allowing the target vehicle to perform a real vehicle test in the target curve, and by simulating the driving state of the target vehicle in the target curve, the efficiency of determining the vehicle simulation data is also improved, and the time cost of obtaining the simulation data is reduced, and the purpose of obtaining the vehicle simulation data at a low cost has been achieved.
[0076] In one embodiment, if Figure 5 As shown, when it is necessary to simulate the driving state of the target vehicle in the target curve according to the vehicle simulation model and the curve simulation scene to obtain the vehicle simulation data of the target vehicle in the target curve, the following contents may be included:
[0077] S501, obtaining lane line related data corresponding to the curve simulation scene.
[0078] It should be noted that lane sensors can be set in the virtual test driving software equipped with a curve simulation scene to obtain lane line related data corresponding to the curve simulation scene based on the vehicle sensor.
[0079] The lane related information may include, but is not limited to, road curvature, road reference points, and the distance of the lane line relative to the tire. The lane line identified by the sensor here is the lane line of the curve simulation scene corresponding to the target curve.
[0080] S502, simulating the driving state of the target vehicle in the target curve according to the vehicle simulation model, the curve simulation scene and the lane line related data, and obtaining the vehicle simulation data of the target vehicle in the target curve.
[0081] The above-mentioned vehicle simulation driving method, when determining the vehicle simulation data, does not conduct a real vehicle test on the target vehicle in the target curve, but instead constructs a vehicle simulation model corresponding to the target vehicle and a curve simulation scene corresponding to the target curve, thereby simulating the driving state of the target vehicle in the target curve according to the vehicle simulation model and the curve simulation scene. In this way, the test cost of conducting a real vehicle test on the target curve is reduced, and by simulating the driving state of the target vehicle in the target curve, the efficiency of determining the vehicle simulation data is also improved, and the time cost of obtaining the simulation data is reduced, thereby achieving the purpose of obtaining vehicle simulation data at a low cost.
[0082] In one embodiment, if Figure 6 As shown, when it is necessary to obtain vehicle simulation data of a target vehicle in a target curve, the following contents may be included:
[0083] S601: Establish at least one vehicle sub-model according to each vehicle sub-parameter in the vehicle parameters.
[0084] S602, combining the vehicle sub-models to obtain a vehicle simulation model corresponding to the target vehicle.
[0085] S603: Obtain a curve curvature radius corresponding to the target curve.
[0086] S604: Establish a curve simulation scene corresponding to the target curve according to the curve curvature radius.
[0087] S605, obtaining lane line related data corresponding to the curve simulation scene.
[0088] S606, simulating the driving state of the target vehicle in the target curve according to the vehicle simulation model, the curve simulation scene and the lane line related data, and obtaining the vehicle simulation data of the target vehicle in the target curve.
[0089] The above-mentioned vehicle simulation driving method, by establishing a vehicle simulation model corresponding to the target vehicle, and establishing a curve simulation scene corresponding to the target curve; simulating the driving state of the target vehicle in the target curve according to the vehicle simulation model and the curve simulation scene, and obtaining the vehicle simulation data of the target vehicle in the target curve. According to the above content, it can be known that when determining the vehicle simulation data, the present application does not allow the target vehicle to perform a real vehicle test in the target curve, but by constructing a vehicle simulation model corresponding to the target vehicle, and a curve simulation scene corresponding to the target curve, simulating the driving state of the target vehicle in the target curve according to the vehicle simulation model and the curve simulation scene, thereby reducing the test cost of allowing the target vehicle to perform a real vehicle test in the target curve, and by simulating the driving state of the target vehicle in the target curve, the efficiency of determining the vehicle simulation data is also improved, and the time cost of obtaining the simulation data is reduced, and the purpose of obtaining the vehicle simulation data at a low cost has been achieved.
[0090] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0091] Based on the same inventive concept, the embodiment of the present application also provides a vehicle simulation driving device for implementing the vehicle simulation driving method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more vehicle simulation driving device embodiments provided below can refer to the limitations of the vehicle simulation driving method above, and will not be repeated here.
[0092] In one embodiment, Figure 7 As shown, a vehicle driving simulation device is provided, comprising: a building module 10 and a simulation module 20, wherein:
[0093] The establishing module 10 is used to establish a vehicle simulation model corresponding to the target vehicle and to establish a curve simulation scene corresponding to the target curve.
[0094] The simulation module 20 is used to simulate the driving state of the target vehicle in the target curve according to the vehicle simulation model and the curve simulation scene, and obtain vehicle simulation data of the target vehicle in the target curve.
[0095] In one embodiment, vehicle parameters of a target vehicle are acquired; and a vehicle simulation model corresponding to the target vehicle is established based on the vehicle parameters.
[0096] In one embodiment, at least one vehicle sub-model is established according to each vehicle sub-parameter; each vehicle sub-model is combined to obtain a vehicle simulation model corresponding to the target vehicle.
[0097] In one embodiment, a curve curvature radius corresponding to the target curve is obtained; and a curve simulation scene corresponding to the target curve is established according to the curve curvature radius.
[0098] In one embodiment, lane line related data corresponding to the curve simulation scene is obtained; based on the vehicle simulation model, the curve simulation scene and the lane line related data, the driving state of the target vehicle in the target curve is simulated to obtain vehicle simulation data of the target vehicle in the target curve.
[0099] In one embodiment, the vehicle simulation data includes at least one of distance data between a current vehicle centerline and a lane centerline, a steering wheel angle, and a centerline deviation percentage.
[0100] The above-mentioned vehicle simulation driving device, by establishing a vehicle simulation model corresponding to the target vehicle, and establishing a curve simulation scene corresponding to the target curve; according to the vehicle simulation model and the curve simulation scene, the driving state of the target vehicle in the target curve is simulated to obtain the vehicle simulation data of the target vehicle in the target curve. According to the above content, it can be known that when determining the vehicle simulation data, the present application does not allow the target vehicle to perform a real vehicle test in the target curve, but by constructing a vehicle simulation model corresponding to the target vehicle, and a curve simulation scene corresponding to the target curve, according to the vehicle simulation model and the curve simulation scene, the driving state of the target vehicle in the target curve is simulated, thereby reducing the test cost of allowing the target vehicle to perform a real vehicle test in the target curve, and by simulating the driving state of the target vehicle in the target curve, the efficiency of determining the vehicle simulation data is also improved, and the time cost of obtaining the simulation data is reduced, and the purpose of obtaining the vehicle simulation data at a low cost has been achieved.
[0101] Each module in the above vehicle simulation driving device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device by hardware, or can be stored in a memory in a computer device by software, so that the processor can call and execute the corresponding operations of each module.
[0102] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 8 As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface, the display unit and the input device are connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a vehicle simulation driving method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0103] Those skilled in the art will understand that Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0104] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0105] Establishing a vehicle simulation model corresponding to the target vehicle and establishing a curve simulation scene corresponding to the target curve;
[0106] According to the vehicle simulation model and the curve simulation scenario, the driving state of the target vehicle in the target curve is simulated to obtain vehicle simulation data of the target vehicle in the target curve.
[0107] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0108] Obtain vehicle parameters of the target vehicle;
[0109] According to the vehicle parameters, a vehicle simulation model corresponding to the target vehicle is established.
[0110] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0111] Establishing at least one vehicle sub-model according to each vehicle sub-parameter;
[0112] The vehicle sub-models are combined to obtain the vehicle simulation model corresponding to the target vehicle.
[0113] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0114] Obtain the curve curvature radius corresponding to the target curve;
[0115] According to the curvature radius of the curve, a curve simulation scene corresponding to the target curve is established.
[0116] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0117] Obtain lane line related data corresponding to the curve simulation scene;
[0118] According to the vehicle simulation model, the curve simulation scene and the lane line related data, the driving state of the target vehicle in the target curve is simulated to obtain the vehicle simulation data of the target vehicle in the target curve.
[0119] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0120] The vehicle simulation data includes at least one of the distance data between the current vehicle centerline and the lane centerline, the steering wheel angle, and the centerline deviation percentage.
[0121] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0122] Establishing a vehicle simulation model corresponding to the target vehicle and establishing a curve simulation scene corresponding to the target curve;
[0123] According to the vehicle simulation model and the curve simulation scenario, the driving state of the target vehicle in the target curve is simulated to obtain vehicle simulation data of the target vehicle in the target curve.
[0124] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0125] Obtain vehicle parameters of the target vehicle;
[0126] According to the vehicle parameters, a vehicle simulation model corresponding to the target vehicle is established.
[0127] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0128] Establishing at least one vehicle sub-model according to each vehicle sub-parameter;
[0129] The vehicle sub-models are combined to obtain the vehicle simulation model corresponding to the target vehicle.
[0130] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0131] Obtain the curve curvature radius corresponding to the target curve;
[0132] According to the curvature radius of the curve, a curve simulation scene corresponding to the target curve is established.
[0133] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0134] Obtain lane line related data corresponding to the curve simulation scene;
[0135] According to the vehicle simulation model, the curve simulation scene and the lane line related data, the driving state of the target vehicle in the target curve is simulated to obtain the vehicle simulation data of the target vehicle in the target curve.
[0136] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0137] The vehicle simulation data includes at least one of the distance data between the current vehicle centerline and the lane centerline, the steering wheel angle, and the centerline deviation percentage.
[0138] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0139] Establishing a vehicle simulation model corresponding to the target vehicle and establishing a curve simulation scene corresponding to the target curve;
[0140] According to the vehicle simulation model and the curve simulation scenario, the driving state of the target vehicle in the target curve is simulated to obtain vehicle simulation data of the target vehicle in the target curve.
[0141] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0142] Obtain vehicle parameters of the target vehicle;
[0143] According to the vehicle parameters, a vehicle simulation model corresponding to the target vehicle is established.
[0144] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0145] Establishing at least one vehicle sub-model according to each vehicle sub-parameter;
[0146] The vehicle sub-models are combined to obtain the vehicle simulation model corresponding to the target vehicle.
[0147] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0148] Obtain the curve curvature radius corresponding to the target curve;
[0149] According to the curvature radius of the curve, a curve simulation scene corresponding to the target curve is established.
[0150] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0151] Obtain lane line related data corresponding to the curve simulation scene;
[0152] According to the vehicle simulation model, the curve simulation scene and the lane line related data, the driving state of the target vehicle in the target curve is simulated to obtain the vehicle simulation data of the target vehicle in the target curve.
[0153] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0154] The vehicle simulation data includes at least one of the distance data between the current vehicle centerline and the lane centerline, the steering wheel angle, and the centerline deviation percentage.
[0155] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0156] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be a variety of memory types, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0157] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0158] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A vehicle simulation driving method, characterized in that: The method comprises: Establishing a vehicle simulation model corresponding to the target vehicle and establishing a curve simulation scene corresponding to the target curve; According to the vehicle simulation model and the curve simulation scenario, the driving state of the target vehicle on the target curve is simulated to obtain vehicle simulation data of the target vehicle on the target curve.
2. The method according to claim 1, characterized in that The step of establishing a vehicle simulation model corresponding to the target vehicle includes: Obtain vehicle parameters of the target vehicle; A vehicle simulation model corresponding to the target vehicle is established according to the vehicle parameters.
3. The method according to claim 2, characterized in that The vehicle parameters include at least one vehicle sub-parameter corresponding to a vehicle device, and establishing a vehicle simulation model corresponding to a target vehicle according to the vehicle parameters includes: Establishing at least one vehicle sub-model according to each of the vehicle sub-parameters; The vehicle sub-models are combined to obtain the vehicle simulation model corresponding to the target vehicle.
4. The method according to claim 3, characterized in that The step of establishing a curve simulation scene corresponding to the target curve includes: Obtaining a curve curvature radius corresponding to the target curve; According to the curve curvature radius, a curve simulation scene corresponding to the target curve is established.
5. The method according to claim 1, characterized in that The step of simulating the driving state of the target vehicle on the target curve according to the vehicle simulation model and the curve simulation scene to obtain vehicle simulation data of the target vehicle on the target curve includes: Acquire lane line related data corresponding to the curve simulation scene; According to the vehicle simulation model, the curve simulation scene and lane line related data, the driving state of the target vehicle on the target curve is simulated to obtain vehicle simulation data of the target vehicle in the target curve.
6. The method according to claim 1, characterized in that The vehicle simulation data includes at least one of the distance data between the current vehicle centerline and the lane centerline, the steering wheel angle, and the centerline deviation percentage.
7. A vehicle driving simulation device, characterized in that: The device comprises: A building module is used to build a vehicle simulation model corresponding to a target vehicle and a curve simulation scene corresponding to a target curve; The simulation module is used to simulate the driving state of the target vehicle on the target curve according to the vehicle simulation model and the curve simulation scene, and obtain vehicle simulation data of the target vehicle in the target curve.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, 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 6 are implemented.
10. A computer program product, comprising 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 6 are implemented.
