Vehicle collision scene model construction method and device, electronic equipment and storage medium

By automatically building a collision scenario model between vehicles and obstacles, the problem of cumbersome and time-consuming manual simulation test is solved, the simulation accuracy and efficiency are improved, and the vehicle structure optimization is supported.

CN119272501APending Publication Date: 2025-01-07GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411329382.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-24
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

In the prior art, the manual construction process of vehicle misuse simulation test is cumbersome and time-consuming, resulting in low simulation accuracy and affecting the structure optimization of the suspension system and hard point layout.

Method used

By obtaining vehicle models and configuration files, we automatically build a scenario model where vehicles and obstacles are about to collide, including the second vehicle model and obstacle model, to meet the critical conditions for collision, shorten the modeling cycle, and improve analysis efficiency and simulation accuracy.

Benefits of technology

It realizes automated modeling of vehicle collision tests, improves simulation accuracy and construction efficiency, supports structural optimization and hard point layout, reduces manual participation, and improves modeling accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119272501A_ABST
    Figure CN119272501A_ABST
Patent Text Reader

Abstract

The invention provides a vehicle collision scene model construction method and device, electronic equipment and a computer readable storage medium, and relates to the technical field of vehicles, and the method comprises the steps: firstly obtaining a configuration file and a first vehicle model, and then obtaining a vehicle collision scene model according to the configuration file and the first vehicle model; a collision scene model in a target scene corresponding to the configuration file is constructed, the collision scene model comprises a second vehicle model and an obstacle model, the model postures of the second vehicle model and the first vehicle model are different, and the target scene is a scene where the second vehicle model and the obstacle model meet critical conditions of collision occurrence; and then outputting a collision scene model. According to the method, the scene model can be automatically constructed when the vehicle is about to collide with the obstacle, the modeling period is shortened, the analysis efficiency of the vehicle collision test can be improved, the accuracy of model construction can be effectively improved, and the simulation precision when the vehicle is about to collide with the obstacle can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle technology, and more specifically, to a vehicle collision scene model construction method, device, electronic device and computer-readable storage medium in the field of vehicle technology. Background Art

[0002] Misuse of a vehicle refers to a condition or scenario that occurs due to the driver's misjudgment or operational errors. Misuse of a vehicle may cause the vehicle to be subjected to an instantaneous and violent impact, resulting in problems such as wheel hub breakage and swing arm bending, thereby affecting driving safety. To meet the challenges of misuse, automakers have introduced vehicle virtual verification technology during the model development stage to simulate various scenarios of vehicle misuse, thereby evaluating the structural strength and reliability of the suspension system.

[0003] At present, testers use the initial suspension posture as a reference in the simulation tool to manually adjust the suspension and barrier postures to generate test models under different impact scenarios. Figure 1 As shown, Figure 1 The schematic diagram shows the process of testers manually building a test model through a simulation tool. The process steps of manually building a test model include: S1 builds a basic test model based on the suspension digital model; S2 manually adjusts the impact side wheel to a certain target swing angle position with the kingpin of the impact side suspension as the axis; S3 derives the swing angle of the non-impact side wheel through the Ackerman angle formula theory, and then manually adjusts the wheel to the theoretical swing angle position with the kingpin of the suspension on that side as the axis; S4 adjusts the posture of other components of the suspension system to ensure that there is no interference or gap with the wheel after turning; S5 adjusts the barrier angle to the target posture based on the specific test conditions; S6 obtains the misuse scenario test analysis model, and repeats the operations of S2-S5 to obtain other misuse scenario test analysis models. From this, it can be seen that the process of manually building a suspension system test model is cumbersome and time-consuming. Summary of the invention

[0004] The present application provides a vehicle collision scenario model construction method, device, electronic device and computer-readable storage medium. The present application can automatically realize the construction of a scenario model when a vehicle is about to collide with an obstacle, shorten the modeling cycle, and help improve the analysis efficiency of vehicle collision testing.

[0005] In a first aspect, a vehicle collision scene model construction method is provided, the vehicle collision scene model construction method comprising: obtaining a first vehicle model and a configuration file; constructing a collision scene model under a target scene corresponding to the configuration file based on the configuration file and the first vehicle model; wherein the collision scene model comprises a second vehicle model and an obstacle model, the second vehicle model has a different model posture from the first vehicle model, and the target scene is a scene in which the second vehicle model and the obstacle model meet critical conditions for a collision to occur; and outputting the collision scene model.

[0006] In the above technical scheme, the embodiment of the present application adopts the method of first acquiring a configuration file and a first vehicle model, and then constructing a collision scene model under the target scene corresponding to the configuration file according to the configuration file and the first vehicle model, wherein the collision scene model includes a second vehicle model and an obstacle model, and the second vehicle model has a different model posture from the first vehicle model, and the target scene is a scene in which the second vehicle model and the obstacle model meet the critical conditions for collision. Then, the technical scheme of outputting the collision scene model can automatically realize the construction of a scene model when a vehicle is about to collide with an obstacle, shorten the modeling cycle, and is conducive to improving the analysis efficiency of vehicle collision testing. Moreover, since the modeling process is all automated and does not involve manual participation, the accuracy of model construction can be effectively improved, which is conducive to improving the simulation accuracy when a vehicle is about to collide with an obstacle, and is conducive to the subsequent structural optimization and hard point arrangement of the vehicle.

[0007] In combination with the first aspect, in some possible implementations, the first vehicle model includes a suspension model having wheels, and obtaining the configuration file includes: in response to at least one model parameter group input by a user, for each model parameter group, generating a subfile based on the model parameter group to obtain at least one subfile; wherein the model parameter group includes a target wheel swing angle, a suspension posture, an obstacle type, an obstacle posture and an impact speed; and generating the configuration file based on the at least one subfile.

[0008] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, obtaining the configuration file includes: in response to at least one model parameter group input by a user, for each model parameter group, generating a sub-file based on the model parameter group to obtain at least one sub-file; wherein the model parameter group includes a target wheel swing angle, a suspension posture, an obstacle type, an obstacle posture and an impact speed; and generating the configuration file based on the at least one sub-file.

[0009] In combination with the first aspect and the above-mentioned implementation, in some possible implementations, the construction of the collision scene model under the target scene corresponding to the configuration file according to the configuration file and the first vehicle model includes: constructing a three-dimensional coordinate system, selecting at least one first target sub-file from the configuration file; for each first target sub-file, selecting the obstacle model according to the obstacle type in the first target sub-file; placing the first vehicle model in the three-dimensional coordinate system according to the suspension posture in the first target sub-file, setting the actual wheel swing angle of the wheel to the target wheel swing angle in the first target sub-file, and placing the obstacle model in the three-dimensional coordinate system according to the obstacle posture in the first target sub-file, and obtaining the collision scene model under the target scene corresponding to the first target sub-file. The above-mentioned technical solution is not only applicable to the automatic generation of one collision scene model, but also applicable to the automatic generation of multiple collision scene models, which is conducive to improving modeling efficiency.

[0010] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, after obtaining the collision scene model under the target scene corresponding to the first target sub-file, the vehicle collision scene model construction method also includes: in response to an update instruction of the collision scene model, selecting a second target sub-file corresponding to the update instruction from the configuration file; wherein the second target sub-file is not the first target sub-file; and updating at least one of the actual wheel swing angle, suspension posture, obstacle type and obstacle posture of the collision scene model according to the second target sub-file.

[0011] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, after obtaining the collision scene model under the target scene corresponding to the first target sub-file, the vehicle collision scene model construction method also includes: in response to a vehicle collision scene image input by a user, extracting the actual wheel swing angle, suspension posture, obstacle type and obstacle posture of the wheel from the vehicle collision scene image to obtain a third target sub-file; wherein the vehicle and obstacle in the vehicle collision scene image meet the critical conditions for the occurrence of a collision; and updating at least one of the actual wheel swing angle, suspension posture, obstacle type and obstacle posture of the collision scene model according to the third target sub-file.

[0012] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, after outputting the collision scene model, the vehicle collision scene model construction method also includes: in response to a collision simulation instruction, setting the movement speed of the obstacle model to the impact speed in the first target sub-file to visually display the simulated collision scene of the obstacle model colliding with the second vehicle model.

[0013] In combination with the first aspect and the above implementation, in some possible implementations, obtaining the first vehicle model includes: responding to vehicle information input by a user; wherein the vehicle information includes a vehicle model and / or a brand; obtaining a preset vehicle model corresponding to the vehicle information to obtain the first vehicle model. Through the above technical solution, the user does not need to manually construct a vehicle model, which is conducive to improving the modeling efficiency of the collision scene model.

[0014] In a second aspect, a vehicle collision scene model construction device is provided, the vehicle collision scene model construction device comprising:

[0015] An acquisition module, used for acquiring a first vehicle model and a configuration file;

[0016] A construction module, configured to construct a collision scene model under a target scene corresponding to the configuration file according to the configuration file and the first vehicle model; wherein the collision scene model includes a second vehicle model and an obstacle model, the second vehicle model and the first vehicle model have different model postures, and the target scene is a scene in which the second vehicle model and the obstacle model meet a critical condition for a collision to occur;

[0017] An output module is used to output the collision scene model.

[0018] In conjunction with the second aspect, in some possible implementations, the first vehicle model includes a suspension model having wheels, and the acquisition module includes:

[0019] The first acquisition unit is used to respond to at least one model parameter group input by a user, and for each model parameter group, generate a subfile according to the model parameter group to obtain at least one subfile; wherein the model parameter group includes a target wheel swing angle, a suspension posture, an obstacle type, an obstacle posture and an impact speed; and generate the configuration file according to the at least one subfile.

[0020] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the construction module is used to construct a three-dimensional coordinate system, select at least one first target sub-file from the configuration file; for each first target sub-file, select the obstacle model according to the obstacle type in the first target sub-file; place the first vehicle model in the three-dimensional coordinate system according to the suspension posture in the first target sub-file, set the actual wheel swing angle of the wheel to the target wheel swing angle in the first target sub-file, and place the obstacle model in the three-dimensional coordinate system according to the obstacle posture in the first target sub-file, so as to obtain the collision scene model under the target scene corresponding to the first target sub-file.

[0021] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the output module is also used to respond to an update instruction of the collision scene model, select a second target subfile corresponding to the update instruction from the configuration file; wherein the second target subfile is not the first target subfile; and update at least one of the actual wheel swing angle, suspension posture, obstacle type and obstacle posture of the collision scene model according to the second target subfile.

[0022] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the output module is also used to respond to the vehicle collision scene image input by the user, extract the actual wheel swing angle, suspension posture, obstacle type and obstacle posture of the wheel from the vehicle collision scene image, and obtain a third target sub-file; wherein the vehicle and obstacle in the vehicle collision scene image meet the critical conditions for the occurrence of a collision; and update at least one of the actual wheel swing angle, suspension posture, obstacle type and obstacle posture of the collision scene model according to the third target sub-file.

[0023] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the output module is also used to set the movement speed of the obstacle model to the impact speed in the first target sub-file in response to a collision simulation instruction, so as to visually display the simulated collision scene of the obstacle model colliding with the second vehicle model.

[0024] In combination with the second aspect and the above implementation manner, in some possible implementation manners, the acquisition module includes:

[0025] The second acquisition unit is used to respond to vehicle information input by a user; wherein the vehicle information includes a vehicle model and / or a brand; and acquire a preset vehicle model corresponding to the vehicle information to obtain the first vehicle model.

[0026] In a third aspect, an electronic device is provided, comprising a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, so that the electronic device executes the vehicle collision scene model construction method in the first aspect or any possible implementation of the first aspect.

[0027] In a fourth aspect, a computer program product is provided, which includes: a computer program code, which, when executed on a computer, enables the computer to execute the vehicle collision scene model construction method in the first aspect or any possible implementation of the first aspect.

[0028] In a fifth aspect, a computer-readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the vehicle collision scene model construction method in the above-mentioned first aspect or any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 A schematic diagram showing the process of testers manually building a test model through simulation tools;

[0030] Figure 2 A schematic flow chart of a vehicle collision scenario model construction method provided in an embodiment of the present application is shown;

[0031] Figure 3 A schematic diagram of a first vehicle model provided in an embodiment of the present application is shown;

[0032] Figure 4 A top view of a collision scenario model is shown;

[0033] Figure 5 A front view of a collision scenario model is shown;

[0034] Figure 6 A front view of another collision scenario model is shown;

[0035] Figure 7 A schematic diagram of the structure of a vehicle collision scene model building device provided in an embodiment of the present application is shown;

[0036] Figure 8 A schematic structural diagram of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0037] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0038] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.

[0039] Misuse of a vehicle refers to a condition or scenario that occurs due to the driver's misjudgment or operational errors. Misuse of a vehicle may cause the vehicle to be subjected to an instantaneous and violent impact, resulting in problems such as wheel hub breakage and swing arm bending, thereby affecting driving safety. To meet the challenges of misuse, automakers have introduced vehicle virtual verification technology during the model development stage to simulate various scenarios of vehicle misuse, thereby evaluating the structural strength and reliability of the suspension system.

[0040] At present, testers use the initial suspension posture as a reference in the simulation tool to manually adjust the suspension and barrier postures to generate test models under different impact scenarios. Figure 1 As shown, Figure 1 The schematic diagram of the process of manually building a test model by a tester through a simulation tool is shown. The process steps of manually building a test model include: S1 builds a basic test model based on the suspension digital model; S2 manually adjusts the wheel on the impact side to a certain target swing angle position with the kingpin of the impact side suspension as the axis; S3 derives the swing angle of the wheel on the non-impact side through the Ackerman angle formula theory, and then manually adjusts the wheel to the theoretical swing angle position with the kingpin of the suspension on this side as the axis; S4 adjusts the posture of other components of the suspension system to ensure that there is no interference or gap with the wheel after turning; S5 adjusts the barrier angle to the target posture based on the specific test condition requirements; S6 obtains the misuse scenario test analysis model, repeats the operations of S2-S5, and obtains other misuse scenario test analysis models. From this, it can be seen that the process of manually building a suspension system test model is cumbersome and time-consuming, and there is a certain error between the wheel swing angle derived from the theoretical formula and the actual wheel posture, causing a deviation in the load transfer path when the wheel is hit, which not only affects the simulation accuracy of the misuse condition of the suspension system, but also causes great trouble to the subsequent optimization of the component structure and the optimization adjustment of the position of each hard point.

[0041] The present application provides a vehicle collision scene model construction method, device, electronic device and computer-readable storage medium. The present application only requires a user (e.g., a person responsible for vehicle collision testing) to input configuration data for constructing a scene model when a vehicle is about to collide with an obstacle, and then the scene model construction when a vehicle is about to collide with an obstacle can be automatically realized according to the configuration data input by the user, thereby shortening the modeling cycle and being beneficial to improving the analysis efficiency of the vehicle collision test. Moreover, since the modeling process is all automated and does not involve human participation, the accuracy of model construction can be effectively improved, which is beneficial to improving the simulation accuracy when a vehicle is about to collide with an obstacle, and is beneficial to the subsequent structural optimization and hard point arrangement of the vehicle.

[0042] The following is an embodiment of a method for constructing a vehicle collision scenario model provided in an embodiment of the present application.

[0043] Figure 2A schematic flow chart of a vehicle collision scene model construction method provided in an embodiment of the present application is shown, such as Figure 2 As shown, the vehicle collision scene model construction method provided in the embodiment of the present application is applied to an electronic device with computing power, such as a computer. The above-mentioned vehicle collision scene model construction method includes the following schemes:

[0044] S110: Acquire a first vehicle model and configuration file.

[0045] In an exemplary embodiment, the first vehicle model may be a complete vehicle model with a sound structure, or may be a vehicle model including a suspension part and wheels with a sound structure, that is, the first vehicle model includes a suspension model with wheels, which can be understood as the suspension part of the vehicle, and the wheels are installed on the suspension to constitute the first vehicle model. Figure 3 As shown, Figure 3 A schematic diagram of a first vehicle model provided by an embodiment of the present application is shown, 100 represents a suspension model, 201 represents a left front wheel, and 202 represents a right front wheel. The user can build the first vehicle model through a proprietary three-dimensional modeling software (such as 3D Studio Max, referred to as 3DMAX). The configuration file is configured by the user according to actual test requirements. The configuration file is used to set the posture of the suspension model and wheels of the first vehicle model, and to set related obstacle models around the first vehicle model, so as to simulate the scene in which the first vehicle model after the posture adjustment is about to collide with the obstacle model.

[0046] S120: Constructing a collision scene model under a target scene corresponding to the configuration file according to the configuration file and the first vehicle model.

[0047] After obtaining the configuration file and the first vehicle model, the configuration file and the first vehicle model are input into the automation tool, and the automation tool reads the relevant data in the configuration file, adjusts the posture of the suspension model and the posture of the wheels of the first vehicle model by reading the data, and sets obstacles around the first vehicle model after the posture adjustment, so as to simulate the scene in which the first vehicle model after the posture adjustment and the obstacle model are about to collide, that is, to realize the construction of the collision scene model under the target scene corresponding to the configuration file. Among them, the collision scene model includes the second vehicle model and the obstacle model, the second vehicle model can be understood as the first vehicle model after the posture adjustment, the model posture of the second vehicle model is different from that of the first vehicle model, that is, the posture of the suspension model in the second vehicle model is different from that of the suspension model in the first vehicle model, and the posture of the wheel in the second vehicle model is different from that of the wheel in the first vehicle model. The target scene is a scene in which the second vehicle model and the obstacle model meet the critical conditions for the occurrence of a collision, and can also be understood as a scene in which the second vehicle model and the obstacle model are about to collide.

[0048] S130: Outputting a collision scene model.

[0049] After the collision scene model is constructed, the collision scene model is visually output to facilitate users to intuitively understand the specific situation of the constructed collision scene model. Figure 4 and Figure 5 As shown, Figure 4 shows a top view of a collision scene model, Figure 5 300 shows a front view of a collision scene model, Figure 4 and Figure 5 The figure shows an exemplary scenario in which the right front wheel is about to collide with the obstacle model.

[0050] The embodiment of the present application adopts a technical solution of first acquiring a configuration file and a first vehicle model, and then constructing a collision scene model under a target scene corresponding to the configuration file based on the configuration file and the first vehicle model, wherein the collision scene model includes a second vehicle model and an obstacle model, the second vehicle model has a different model posture from the first vehicle model, and the target scene is a scene in which the second vehicle model and the obstacle model meet the critical conditions for collision, and then outputting the collision scene model. This can automatically realize the construction of a scene model when a vehicle is about to collide with an obstacle, shorten the modeling cycle, and is beneficial to improving the analysis efficiency of vehicle collision testing. Moreover, since the modeling process is all automated and does not involve manual participation, the accuracy of model construction can be effectively improved, which is beneficial to improving the simulation accuracy when a vehicle is about to collide with an obstacle, and is beneficial to the subsequent structural optimization and hard point arrangement of the vehicle.

[0051] The following Figure 1 The specific implementation methods of each step in the illustrated embodiment are described as follows:

[0052] In a possible implementation, when the first vehicle model includes a suspension model having wheels, the above-mentioned obtaining of the configuration file includes the following scheme:

[0053] In response to at least one model parameter group input by a user, for each model parameter group, generating a subfile according to the model parameter group to obtain at least one subfile;

[0054] A configuration file is generated according to at least one sub-file.

[0055] The user can input the model parameter group used to construct the above-mentioned collision scene model according to actual needs. The model parameter group can be one or more. Each model parameter group includes the target wheel swing angle, suspension posture, obstacle type, obstacle posture, impact speed, etc. In the case where the model parameter group includes multiple, the parameters belonging to the same type in the multiple model parameter groups may be partially the same, partially different, or all different, and the target scenes corresponding to the collision scene model constructed are also different. For example, the multiple model parameter groups include model parameter group 1 and model parameter group 2, model parameter group 1 includes target wheel swing angle 1, suspension posture 1, obstacle type 1, obstacle posture 1 and impact speed 1, model parameter group 2 includes target wheel swing angle 2, suspension posture 2, obstacle type 2, obstacle posture 2 and impact speed 2, that is, the parameters belonging to the same type in model parameter group 1 and model parameter group 2 are not the same, that is, target wheel swing angle 1 is different from target wheel swing angle 2, suspension posture 1 is different from suspension posture 2, and so on. Among them, the above-mentioned posture includes position coordinates, pitch angle, roll angle and yaw angle, and the wheel swing angle is used to represent the posture of the wheel.

[0056] After the user inputs at least one model parameter group, each model parameter group is represented by a model parameter group Si, and the parameters in the model parameter group Si are added to the preset data structure template, thereby generating a sub-file corresponding to the model parameter group Si, so that at least one sub-file can be obtained. As shown in Table 1, Table 1 shows an exemplary data structure template.

[0057] Table 1

[0058]

[0059] After obtaining at least one sub-file, the at least one sub-file is packaged to obtain a configuration file, and at least one collision scene model in an upcoming collision scene can be obtained through the configuration file.

[0060] In a possible implementation, the above-mentioned construction of the collision scene model under the target scene corresponding to the configuration file according to the configuration file and the first vehicle model includes the following schemes:

[0061] Constructing a three-dimensional coordinate system, selecting at least one first target sub-file from the configuration file;

[0062] For each first target subfile, an obstacle model is selected according to the obstacle type in the first target subfile;

[0063] The first vehicle model is placed in a three-dimensional coordinate system according to the suspension posture in the first target subfile, the actual wheel swing angle of the wheel is set as the target wheel swing angle in the first target subfile, and the obstacle model is placed in a three-dimensional coordinate system according to the obstacle posture in the first target subfile, so as to obtain a collision scene model under the target scene corresponding to the first target subfile.

[0064] After the configuration file is generated, the collision scene model is constructed. Since the configuration file can construct at least one collision scene model for an upcoming collision scene, the construction process of at least one collision scene model is similar. The construction process for any collision scene model includes: first constructing a three-dimensional coordinate system, and selecting a first target sub-file for constructing the collision scene model from the configuration file, and then using a pre-developed contact algorithm to define the relative position of the obstacle model and the wheel. Specifically, the first vehicle model is kept stationary, and the first vehicle model is used as a stationary reference object (the suspension model and the wheel are also stationary), and the obstacle model is used as a moving object that hits the wheel, so as to determine from which direction the obstacle model hits the wheel, thereby defining the relative position of the obstacle model and the wheel, thereby achieving accurate matching of the obstacle model and the wheel.

[0065] After defining the relative position of the obstacle model and the wheel, the first vehicle model is placed in a three-dimensional coordinate system according to the suspension posture in the first target subfile, that is, the suspension posture of the first vehicle model is first adjusted to the suspension posture in the first target subfile in the three-dimensional coordinate system, and the actual wheel swing angle of the wheel in the first vehicle model is set to the target wheel swing angle in the first target subfile, and the obstacle model is placed in a three-dimensional coordinate system according to the obstacle posture in the first target subfile, that is, the obstacle posture of the obstacle model is adjusted to the obstacle posture in the first target subfile in the three-dimensional coordinate system, thereby obtaining the collision scene model under the target scene corresponding to the first target subfile, that is, the collision scene model under the target scene corresponding to the first target subfile is completed. If the first target subfile includes multiple, the target scenes corresponding to the multiple first target subfiles are different, that is, the collision scene models under the target scenes corresponding to the multiple first target subfiles are also different. Figure 5 and Figure 6 As shown, Figure 5 shows a front view of a collision scene model, Figure 6 shows a front view of another collision scenario model, Figure 5 and Figure 6 The obstacle model and the wheel posture are different.

[0066] In a possible implementation, after obtaining the collision scene model under the target scene corresponding to the first target sub-file, the vehicle collision scene model construction method further includes the following scheme:

[0067] In response to an update instruction of the collision scene model, selecting a second target subfile corresponding to the update instruction from the configuration file; wherein the second target subfile is not the first target subfile;

[0068] At least one of an actual wheel swing angle, a suspension posture, an obstacle type, and an obstacle posture of the collision scene model is updated according to the second target subfile.

[0069] It can be understood that the first file in the configuration file is used to construct the collision scene model, and the second file can be used to update the constructed collision scene model. The first file is any sub-file in the configuration file, and the second file is other sub-files in the configuration file except the first file.

[0070] For example, the configuration file includes subfiles 1 to 5, the first target subfile includes subfile 1 and subfile 2, the collision scene model constructed by subfile 1 is model 1, and the collision scene model constructed by subfile 2 is model 2. The user triggers the update instruction of model 1, and the update instruction carries the specific updated collision scene requirement description. The collision scene requirement description is parsed, and the second target subfile is selected from subfiles 2 to 5 according to the parsing result, and then the second target subfile is used to update at least one of the actual wheel swing angle, suspension posture, obstacle type and obstacle posture of the collision scene model. For example, the parameters in the second target subfile are used to replace the actual wheel swing angle, suspension posture, obstacle type and obstacle posture of the collision scene model, so as to realize the update of the collision scene model. The updated collision scene model belongs to the collision scene model under another target scene. Assume that the collision scene model before the update is as follows. Figure 5 As shown, the updated collision scene model is as follows Figure 6 shown.

[0071] In a possible implementation, after obtaining the collision scene model under the target scene corresponding to the first target sub-file, the vehicle collision scene model construction method further includes the following scheme:

[0072] In response to a vehicle collision scene image input by a user, an actual wheel swing angle, a suspension posture, an obstacle type and an obstacle posture of a wheel are extracted from the vehicle collision scene image to obtain a third target subfile; wherein the vehicle and the obstacle in the vehicle collision scene image meet a critical condition for a collision to occur;

[0073] At least one of an actual wheel swing angle, a suspension posture, an obstacle type, and an obstacle posture of the collision scene model is updated according to the third target subfile.

[0074] It can be understood that the update of the constructed collision scene model is not limited to selecting the second target sub-file from the configuration file. The constructed collision scene model can also be updated through a vehicle collision scene image input by the user. The vehicle collision scene image must satisfy the critical conditions for the vehicle and obstacle in the vehicle collision scene image to meet the collision occurrence, that is, the vehicle and obstacle in the vehicle collision scene image are about to collide.

[0075] After the user inputs the vehicle collision scene image, the brightness and contrast of the vehicle collision scene image are adjusted and the noise is removed to improve the image quality, and the processed image is obtained. The processed image is divided into foreground and background, and the vehicle area and obstacle area are separated. The edge detection algorithm (such as Canny, Sobel, etc.) is used to perform edge detection on the vehicle area and the obstacle area, and the outline of the vehicle and the obstacle is detected. The type of obstacle is identified by shape matching and template matching technology to obtain the obstacle type. Computer vision algorithms (such as Hough transform, RANSAC, etc.) are used to detect the key points of the vehicle and the obstacle, such as the wheel center, the body edge, etc., and the wheel swing angle and the suspension attitude are estimated by comparing the position change of the wheel center point and the change of the body edge, that is, the actual wheel swing angle and the suspension attitude of the wheel are obtained. And, according to the shape and position of the obstacle, the obstacle attitude is estimated.

[0076] Based on the above processing process, the actual wheel swing angle, suspension posture, obstacle type and obstacle posture of the wheel can be extracted from the vehicle collision scene image, and a third target sub-file is generated by the extracted actual wheel swing angle, suspension posture, obstacle type and obstacle posture of the wheel, and then the third target sub-file is used to update at least one of the actual wheel swing angle, suspension posture, obstacle type and obstacle posture of the collision scene model, for example, the actual wheel swing angle, suspension posture, obstacle type and obstacle posture of the collision scene model are replaced by the parameters in the second target sub-file, so as to realize the update of the collision scene model.

[0077] The above-mentioned vehicle collision scene image can be obtained by taking a photo of a scene in which a vehicle and an obstacle are about to collide, which is constructed by the user in advance through the vehicle physical model and the obstacle physical model. In this way, the user does not need to manually input the configuration file, which is conducive to improving the efficiency of model construction.

[0078] In a possible implementation, after the collision scene model is output, the vehicle collision scene model construction method further includes the following solutions:

[0079] In response to the collision simulation instruction, the movement speed of the obstacle model is set to the collision speed in the first target subfile to visually display a simulated collision scene in which the obstacle model hits the second vehicle model.

[0080] Since the collision scene model constructed by the first target sub-file and the first vehicle model is a scene model in which a stationary vehicle and an obstacle are about to collide, in order to understand the process of the collision between the vehicle and the obstacle and to perform a collision analysis on the vehicle after the collision, after the user triggers the collision simulation instruction, the second vehicle model in the collision scene model is kept stationary, and the obstacle model is moved to collide with the second vehicle model, that is, the movement speed of the obstacle model is set to the collision speed in the first target sub-file, and the obstacle model collides with the second vehicle model at the collision speed in the first target sub-file, so as to visually display the simulated collision scene of the obstacle model colliding with the second vehicle model, and the user can intuitively see the dynamic demonstration process of the obstacle model colliding with the second vehicle model.

[0081] In a possible implementation, the above-mentioned obtaining of the first vehicle model includes the following scheme:

[0082] Responding to vehicle information input by a user; wherein the vehicle information includes a vehicle model and / or a brand;

[0083] A preset vehicle model corresponding to the vehicle information is obtained to obtain a first vehicle model.

[0084] It can be understood that preset vehicle models corresponding to different vehicle information are constructed in advance, for example, the association between vehicle type A and the preset vehicle model corresponding to vehicle type A, the association between vehicle type B and the preset vehicle model corresponding to vehicle type B, and so on, so as to obtain the association relationship between multiple preset vehicle information and the preset vehicle models corresponding to each of the multiple preset vehicle information. After receiving the vehicle information input by the user, the preset vehicle information that is the same as the vehicle information input by the user is obtained by querying the association relationship, and the preset vehicle model corresponding to the preset vehicle information obtained by the query is the first vehicle model. If the vehicle information input by the user includes multiple, the first vehicle model corresponding to the multiple vehicle information can be obtained, thus eliminating the process of the user manually constructing the vehicle model, which is conducive to improving the modeling efficiency of the collision scene model.

[0085] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.

[0086] Figure 7 FIG. 1 shows a schematic diagram of a vehicle collision scene model building device provided in an embodiment of the present application. Figure 7 As shown, the vehicle collision scene model building device 700 includes:

[0087] An acquisition module 710 is used to acquire a first vehicle model and a configuration file;

[0088] A construction module 720 is used to construct a collision scene model under a target scene corresponding to the configuration file according to the configuration file and the first vehicle model; wherein the collision scene model includes a second vehicle model and an obstacle model, the second vehicle model and the first vehicle model have different model postures, and the target scene is a scene in which the second vehicle model and the obstacle model meet a critical condition for collision;

[0089] The output module 730 is used to output the collision scene model.

[0090] In a possible implementation, the first vehicle model includes a suspension model having wheels, and the acquisition module 710 includes:

[0091] The first acquisition unit is used to respond to at least one model parameter group input by a user, and for each model parameter group, generate a subfile according to the model parameter group to obtain at least one subfile; wherein the model parameter group includes a target wheel swing angle, a suspension posture, an obstacle type, an obstacle posture and an impact speed; and generate the configuration file according to the at least one subfile.

[0092] In one possible implementation, the construction module 720 is used to construct a three-dimensional coordinate system, select at least one first target sub-file from the configuration file; for each first target sub-file, select the obstacle model according to the obstacle type in the first target sub-file; place the first vehicle model in the three-dimensional coordinate system according to the suspension posture in the first target sub-file, set the actual wheel swing angle of the wheel to the target wheel swing angle in the first target sub-file, and place the obstacle model in the three-dimensional coordinate system according to the obstacle posture in the first target sub-file, so as to obtain the collision scene model under the target scene corresponding to the first target sub-file.

[0093] In one possible implementation, the output module 730 is also used to respond to an update instruction of the collision scene model, select a second target sub-file corresponding to the update instruction from the configuration file; wherein the second target sub-file is not the first target sub-file; and update at least one of the actual wheel swing angle, suspension posture, obstacle type and obstacle posture of the collision scene model according to the second target sub-file.

[0094] In a possible implementation, the output module 730 is further used to extract the actual wheel swing angle, suspension posture, obstacle type and obstacle posture of the wheel from the vehicle collision scene image in response to the vehicle collision scene image input by the user, and obtain a third target sub-file; wherein the vehicle and obstacle in the vehicle collision scene image meet the critical conditions for the occurrence of a collision; and update at least one of the actual wheel swing angle, suspension posture, obstacle type and obstacle posture of the collision scene model according to the third target sub-file.

[0095] In one possible implementation, the output module 730 is further used to set the movement speed of the obstacle model to the impact speed in the first target sub-file in response to a collision simulation instruction, so as to visually display a simulated collision scene in which the obstacle model impacts the second vehicle model.

[0096] In a possible implementation, the acquisition module 710 includes:

[0097] The second acquisition unit is used to respond to vehicle information input by a user; wherein the vehicle information includes a vehicle model and / or a brand; and acquire a preset vehicle model corresponding to the vehicle information to obtain the first vehicle model.

[0098] It should be noted that the vehicle collision scene model construction device provided in the above embodiment only uses the division of the above functional modules as an example when executing the vehicle collision scene model construction method. In actual applications, the above functional distribution can be completed by different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the vehicle collision scene model construction device provided in the above embodiment and the vehicle collision scene model construction method embodiment belong to the same concept. Therefore, for details not disclosed in the device embodiment of the present application, please refer to the above-mentioned vehicle collision scene model construction method embodiment of the present application, which will not be repeated here.

[0099] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0100] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown. Figure 8 As shown, the electronic device 800 includes: a memory 801 and a processor 802, wherein the memory 801 stores an executable program code 8011, and the processor 802 is used to call and execute the executable program code 8011 to perform a vehicle collision scene model construction method.

[0101] In this embodiment, the electronic device can be divided into functional modules according to the above method example. For example, each functional module can be corresponded to, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0102] In the case of dividing each functional module according to each function, the electronic device may include: an acquisition module, a construction module, an output module, etc. It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.

[0103] The electronic device provided in this embodiment is used to execute the above-mentioned vehicle collision scene model construction method, and thus can achieve the same effect as the above-mentioned implementation method.

[0104] In the case of an integrated unit, the electronic device may include a processing module and a storage module. The processing module may be used to control and manage the actions of the electronic device. The storage module may be used to support the electronic device in executing related program codes and data.

[0105] The processing module may be a processor or a controller, which may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module may be a memory.

[0106] This embodiment also provides a computer-readable storage medium, in which a computer program code is stored. When the computer program code is executed on a computer, the computer executes the above-mentioned related method steps to implement a vehicle collision scene model construction method in the above-mentioned embodiment.

[0107] This embodiment also provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the above-mentioned related steps to implement a vehicle collision scene model construction method in the above-mentioned embodiment.

[0108] In addition, the electronic device provided in the embodiments of the present application may specifically be a chip, a component or a module, and the electronic device may include a connected processor and a memory; wherein the memory is used to store instructions, and when the electronic device is running, the processor may call and execute instructions so that the chip executes a vehicle collision scene model construction method in the above-mentioned embodiment.

[0109] Among them, the electronic device, computer-readable storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding vehicle collision scene model construction method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding vehicle collision scene model construction method provided above, and will not be repeated here.

[0110] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0111] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0112] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for constructing a vehicle collision scene model, characterized in that: The vehicle collision scene model construction method comprises: Obtaining a first vehicle model and configuration file; According to the configuration file and the first vehicle model, a collision scene model under a target scene corresponding to the configuration file is constructed; wherein the collision scene model includes a second vehicle model and an obstacle model, the second vehicle model and the first vehicle model have different model postures, and the target scene is a scene in which the second vehicle model and the obstacle model meet a critical condition for collision; The collision scene model is output.

2. The vehicle collision scene model construction method according to claim 1, characterized in that: The first vehicle model includes a suspension model having wheels, and obtaining the configuration file includes: In response to at least one model parameter group input by a user, for each model parameter group, a subfile is generated according to the model parameter group to obtain at least one subfile; wherein the model parameter group includes a target wheel swing angle, a suspension posture, an obstacle type, an obstacle posture and an impact speed; The configuration file is generated according to the at least one sub-file.

3. The vehicle collision scene model construction method according to claim 2, characterized in that: The step of constructing a collision scene model under a target scene corresponding to the configuration file according to the configuration file and the first vehicle model comprises: Constructing a three-dimensional coordinate system, selecting at least one first target sub-file from the configuration file; For each first target subfile, selecting the obstacle model according to the obstacle type in the first target subfile; The first vehicle model is placed in the three-dimensional coordinate system according to the suspension posture in the first target subfile, the actual wheel swing angle of the wheel is set as the target wheel swing angle in the first target subfile, and the obstacle model is placed in the three-dimensional coordinate system according to the obstacle posture in the first target subfile to obtain the collision scene model under the target scene corresponding to the first target subfile.

4. The vehicle collision scene model construction method according to claim 3, characterized in that: After obtaining the collision scene model under the target scene corresponding to the first target sub-file, the vehicle collision scene model construction method further includes: In response to the update instruction of the collision scene model, selecting a second target subfile corresponding to the update instruction from the configuration file; wherein the second target subfile is not the first target subfile; At least one of an actual wheel swing angle, a suspension posture, an obstacle type, and an obstacle posture of the collision scene model is updated according to the second target subfile.

5. The vehicle collision scene model construction method according to claim 3, characterized in that: After obtaining the collision scene model under the target scene corresponding to the first target sub-file, the vehicle collision scene model construction method further includes: In response to a vehicle collision scene image input by a user, an actual wheel swing angle, a suspension posture, an obstacle type and an obstacle posture of a wheel are extracted from the vehicle collision scene image to obtain a third target subfile; wherein the vehicle and the obstacle in the vehicle collision scene image meet a critical condition for collision occurrence; At least one of an actual wheel swing angle, a suspension posture, an obstacle type, and an obstacle posture of the collision scene model is updated according to the third target subfile.

6. The vehicle collision scene model construction method according to claim 2, characterized in that: After outputting the collision scene model, the vehicle collision scene model construction method further includes: In response to the collision simulation instruction, the movement speed of the obstacle model is set to the impact speed in the first target sub-file to visually display a simulated collision scene in which the obstacle model impacts the second vehicle model.

7. The vehicle collision scene model construction method according to any one of claims 1 to 6, characterized in that: Obtaining the first vehicle model includes: Responding to vehicle information input by a user; wherein the vehicle information includes a vehicle model and / or a brand; Acquire a preset vehicle model corresponding to the vehicle information to obtain the first vehicle model.

8. A vehicle collision scene model construction device, characterized in that: The vehicle collision scene model building device comprises: An acquisition module, used for acquiring a first vehicle model and a configuration file; A construction module, configured to construct a collision scene model under a target scene corresponding to the configuration file according to the configuration file and the first vehicle model; wherein the collision scene model includes a second vehicle model and an obstacle model, the second vehicle model and the first vehicle model have different model postures, and the target scene is a scene in which the second vehicle model and the obstacle model meet a critical condition for a collision to occur; An output module is used to output the collision scene model.

9. An electronic device, characterized in that: The electronic device comprises: A memory for storing executable program codes; A processor is used to call and run the executable program code from the memory, so that the electronic device executes the vehicle collision scene model construction method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed, the vehicle collision scene model construction method according to any one of claims 1 to 7 is implemented.