CN-121999132-A - Stress cloud image generation method, device, equipment and medium based on collision data
Abstract
The application relates to the technical field of sensors and automobiles, and discloses a stress cloud image generation method, device, equipment and medium based on collision data, wherein the method comprises the steps of selecting a plurality of stress points with position coordinates in a coordinate range as interpolation nodes, and acquiring mechanical parameters of each interpolation node from mechanical data recorded by each five-dimensional force sensor model; performing interpolation calculation on the mechanical parameters of each interpolation node to obtain a stress calculation value of each triangular grid unit, inputting the stress calculation value of each triangular grid unit and the positioning coordinates of each triangular grid unit into a rendering engine, rendering each triangular grid unit through the rendering engine to obtain a geometric primitive corresponding to each triangular grid unit, and splicing the geometric primitives corresponding to each triangular grid unit to obtain a stress cloud picture of the wall simulation model. The method is beneficial to improving the generation efficiency of the stress cloud picture.
Inventors
- LIU YUNYI
- HUANG YUE
- TANG MINGFU
- NONG WEI
- PAN TAO
- Yao Zhensen
- LI XIANGCHENG
- YUE XIUYU
Assignees
- 广西大学
- 南宁宇立仪器有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20260113
Claims (10)
- 1. The stress cloud image generation method based on collision data is characterized by being applied to electronic equipment, and comprises the following steps: acquiring geometric shape data of a five-dimensional force sensor, and processing the geometric shape data of the five-dimensional force sensor through a modeling tool to obtain a five-dimensional force sensor model, wherein the five-dimensional force sensor model is a simulation model of the five-dimensional force sensor; building a wall simulation model in a simulation environment, introducing a plurality of five-dimensional force sensor models into the simulation environment, calling a layout tool of the simulation environment, and uniformly arranging the plurality of five-dimensional force sensor models on the surface of the wall simulation model; Acquiring a configuration file of an automobile collision test, acquiring an automobile simulation model, a collision speed and a collision angle from the configuration file, forming a collision parameter by the collision speed and the collision angle, driving the automobile simulation model to collide with a wall simulation model according to the collision parameter in a simulation environment, and acquiring collision data of the wall simulation model after the collision is finished, wherein the collision data comprises coordinate data recorded by each five-dimensional force sensor model and mechanical data recorded by each five-dimensional force sensor model; Extracting position coordinates corresponding to each stress point from the coordinate data recorded by each five-dimensional force sensor model, acquiring a coordinate range of an internal area of the wall body simulation model, selecting a plurality of stress points with the position coordinates in the coordinate range as interpolation nodes, and acquiring mechanical parameters of each interpolation node from the mechanical data recorded by each five-dimensional force sensor model; dividing the surface of the wall simulation model into a plurality of triangular grid units, carrying out interpolation calculation on mechanical parameters of each interpolation node through a natural adjacent point interpolation algorithm to obtain a stress calculation value of each triangular grid unit, inputting the stress calculation value of each triangular grid unit and positioning coordinates of each triangular grid unit into a rendering engine, rendering each triangular grid unit through the rendering engine to obtain geometric primitives corresponding to each triangular grid unit, and splicing the geometric primitives corresponding to each triangular grid unit to obtain a stress cloud picture of the wall simulation model.
- 2. The method for generating stress cloud image according to claim 1, wherein the building a wall simulation model in a simulation environment, importing a plurality of five-dimensional force sensor models into the simulation environment, calling a layout tool of the simulation environment, and uniformly arranging the plurality of five-dimensional force sensor models on the surface of the wall simulation model comprises: obtaining actual measurement parameters of a real wall body, wherein the actual measurement parameters comprise length, width, height, sensor mounting position coordinates, compressive strength and tensile strength; The simulation environment is established through a simulation tool, a wall simulation model is established in the simulation environment according to actual measurement parameters of a real wall, an introduction tool of the simulation environment is called, a plurality of five-dimensional force sensor models are introduced into the simulation environment, a layout tool of the simulation environment is called, the plurality of five-dimensional force sensor models are uniformly distributed on the surface of the wall simulation model, and the wall simulation model is a simulation model of the real wall.
- 3. The method for generating stress cloud image according to claim 1, wherein the acquiring the configuration file of the automobile crash test, acquiring the automobile simulation model, the crash speed and the crash angle from the configuration file, forming the crash speed and the crash angle into crash parameters, driving the automobile simulation model to crash with the wall simulation model according to the crash parameters in the simulation environment, and acquiring crash data of the wall simulation model after the crash is completed, wherein the crash data comprises coordinate data recorded by each five-dimensional force sensor model and mechanical data recorded by each five-dimensional force sensor model, and the method comprises the following steps: displaying a collision scene list, acquiring a collision scene identifier selected by a user in the collision scene list, acquiring a configuration file corresponding to the collision scene identifier, acquiring an automobile simulation model, a collision speed and a collision angle from the configuration file, and forming a collision parameter by the collision speed and the collision angle; in a simulation environment, driving an automobile simulation model to collide with a wall simulation model according to collision parameters, and acquiring collision data of the wall simulation model after the collision is completed, wherein the collision data comprises coordinate data recorded by each five-dimensional force sensor model and mechanical data recorded by each five-dimensional force sensor model.
- 4. The method for generating a stress cloud image according to claim 1, wherein the steps of dividing the surface of the wall body simulation model into a plurality of triangle mesh units, performing interpolation calculation on the mechanical parameter of each interpolation node through a natural adjacent point interpolation algorithm to obtain a stress calculation value of each triangle mesh unit, inputting the stress calculation value of each triangle mesh unit and the positioning coordinates of each triangle mesh unit into a rendering engine, rendering each triangle mesh unit through the rendering engine to obtain a geometric primitive corresponding to each triangle mesh unit, and splicing the geometric primitives corresponding to each triangle mesh unit to obtain the stress cloud image of the wall body simulation model include: Dividing the surface of the wall simulation model into a plurality of triangular grid units, carrying out interpolation calculation on mechanical parameters of each interpolation node through a natural adjacent point interpolation algorithm to obtain a stress calculation value of each triangular grid unit, obtaining positioning coordinates of each triangular grid unit, wherein X coordinate values of the positioning coordinates of each triangular grid unit are average values of X coordinate values of three discrete nodes in each triangular grid unit, and Y coordinate values of each gravity coordinate are average values of Y coordinate values of three discrete nodes in each triangular grid unit; Inputting the stress calculation value of each triangle mesh unit and the positioning coordinate of each triangle mesh unit into a rendering engine, rendering each triangle mesh unit through a rendering tool in the rendering engine to obtain a geometric primitive corresponding to each triangle mesh unit, and splicing the geometric primitive corresponding to each triangle mesh unit into a stress cloud picture covering the whole domain of the wall simulation model through a synthesis tool in the rendering engine.
- 5. The method for generating a stress cloud image according to claim 1, wherein after dividing the surface of the wall simulation model into a plurality of triangle mesh units, performing interpolation calculation on mechanical parameters of each interpolation node through a natural neighbor interpolation algorithm to obtain a stress calculation value of each triangle mesh unit, inputting the stress calculation value of each triangle mesh unit and positioning coordinates of each triangle mesh unit into a rendering engine, rendering each triangle mesh unit through the rendering engine to obtain a geometric primitive corresponding to each triangle mesh unit, and splicing the geometric primitives corresponding to each triangle mesh unit to obtain the stress cloud image of the wall simulation model, the method for generating the stress cloud image comprises the following steps: And obtaining a stress peak value from the stress cloud diagram of the wall simulation model, creating a display window when the stress peak value exceeds a preset threshold value, and displaying a reminding message through the display window, wherein the content of the reminding message is that the impact part of the automobile body fails to disperse the impact load.
- 6. The stress cloud generating method of claim 1, wherein the mechanical parameters include a component force of the collision impact force in an X-axis direction, a component force of the collision impact force in a Y-axis direction, a component force of the collision impact force in a Z-axis direction, a moment of the collision impact force around the X-axis, and a moment around the Z-axis.
- 7. A stress cloud image generation method according to claim 3, wherein the collision scene list includes a plurality of collision scene identifications, the collision scene identifications being unique identifications of the collision scenes, the collision scene identifications and the collision scenes forming a one-to-one correspondence.
- 8. A stress cloud image generating device based on collision data, which is applied to an electronic device, comprising: The first acquisition module is used for acquiring the geometric shape data of the five-dimensional force sensor, and processing the geometric shape data of the five-dimensional force sensor through a modeling tool to obtain a five-dimensional force sensor model, wherein the five-dimensional force sensor model is a simulation model of the five-dimensional force sensor; the calling module is used for building a wall simulation model in a simulation environment, importing a plurality of five-dimensional force sensor models into the simulation environment, calling a layout tool of the simulation environment, and uniformly arranging the plurality of five-dimensional force sensor models on the surface of the wall simulation model; The second acquisition module is used for acquiring a configuration file of an automobile collision test, acquiring an automobile simulation model, a collision speed and a collision angle from the configuration file, forming a collision parameter by the collision speed and the collision angle, driving the automobile simulation model to collide with the wall simulation model according to the collision parameter in a simulation environment, and acquiring collision data of the wall simulation model after the collision is finished, wherein the collision data comprises coordinate data recorded by each five-dimensional force sensor model and mechanical data recorded by each five-dimensional force sensor model; The third acquisition module is used for extracting the position coordinates corresponding to each stress point from the coordinate data recorded by each five-dimensional force sensor model, acquiring the coordinate range of the internal area of the wall body simulation model, selecting a plurality of stress points with the position coordinates in the coordinate range as interpolation nodes, and acquiring the mechanical parameters of each interpolation node from the mechanical data recorded by each five-dimensional force sensor model; The generating module is used for dividing the surface of the wall simulation model into a plurality of triangular grid units, carrying out interpolation calculation on the mechanical parameters of each interpolation node through a natural adjacent point interpolation algorithm to obtain a stress calculation value of each triangular grid unit, inputting the stress calculation value of each triangular grid unit and the positioning coordinates of each triangular grid unit into the rendering engine, rendering each triangular grid unit through the rendering engine to obtain geometric primitives corresponding to each triangular grid unit, and splicing the geometric primitives corresponding to each triangular grid unit to obtain the stress cloud picture of the wall simulation model.
- 9. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the stress cloud generating method according to any of claims 1 to 7 when executing the computer program.
- 10. A computer readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the stress cloud generating method according to any of claims 1 to 7.
Description
Stress cloud image generation method, device, equipment and medium based on collision data Technical Field The application relates to the technical field of sensors and automobiles, in particular to a stress cloud image generation method, device, equipment and medium based on collision data. Background In the automobile collision test, a wall body is used as a common collision receptor, when an automobile is impacted with the wall body at a specific speed, the wall body instantly bears a huge impact force from the automobile, and the internal stress state of the wall body is changed in a complex and severe way. The stress state of the wall body has important technical value for the structural design of the automobile. However, the existing automobile collision test mainly relies on an actual automobile collision test, in the actual automobile collision process, the traditional test means can only acquire local discrete stress of the wall body, a designer can only conduct empirical design adjustment based on discrete stress data, the adjustment effect is verified through repeated entity collision tests for many times, the research and development cost is greatly increased, the iteration period of the automobile structural design is prolonged, and the iteration efficiency of the automobile structural design is affected. Therefore, how to rely on the wall simulation model to obtain the stress cloud image of the wall simulation model becomes a technical problem to be solved in the automobile structure design process. Disclosure of Invention The embodiment of the application provides a method, a device, equipment and a medium for generating a stress cloud picture based on collision data, which are used for solving the technical problem of how to rely on a wall simulation model to obtain the stress cloud picture of the wall simulation model. In a first aspect, an embodiment of the present application provides a stress cloud image generating method based on collision data, which is applied to an electronic device, where the stress cloud image generating method includes: acquiring geometric shape data of a five-dimensional force sensor, and processing the geometric shape data of the five-dimensional force sensor through a modeling tool to obtain a five-dimensional force sensor model, wherein the five-dimensional force sensor model is a simulation model of the five-dimensional force sensor; building a wall simulation model in a simulation environment, introducing a plurality of five-dimensional force sensor models into the simulation environment, calling a layout tool of the simulation environment, and uniformly arranging the plurality of five-dimensional force sensor models on the surface of the wall simulation model; Acquiring a configuration file of an automobile collision test, acquiring an automobile simulation model, a collision speed and a collision angle from the configuration file, forming a collision parameter by the collision speed and the collision angle, driving the automobile simulation model to collide with a wall simulation model according to the collision parameter in a simulation environment, and acquiring collision data of the wall simulation model after the collision is finished, wherein the collision data comprises coordinate data recorded by each five-dimensional force sensor model and mechanical data recorded by each five-dimensional force sensor model; Extracting position coordinates corresponding to each stress point from the coordinate data recorded by each five-dimensional force sensor model, acquiring a coordinate range of an internal area of the wall body simulation model, selecting a plurality of stress points with the position coordinates in the coordinate range as interpolation nodes, and acquiring mechanical parameters of each interpolation node from the mechanical data recorded by each five-dimensional force sensor model; dividing the surface of the wall simulation model into a plurality of triangular grid units, carrying out interpolation calculation on mechanical parameters of each interpolation node through a natural adjacent point interpolation algorithm to obtain a stress calculation value of each triangular grid unit, inputting the stress calculation value of each triangular grid unit and positioning coordinates of each triangular grid unit into a rendering engine, rendering each triangular grid unit through the rendering engine to obtain geometric primitives corresponding to each triangular grid unit, and splicing the geometric primitives corresponding to each triangular grid unit to obtain a stress cloud picture of the wall simulation model. In a possible implementation manner of the first aspect, the building a wall simulation model in a simulation environment, importing a plurality of five-dimensional force sensor models into the simulation environment, calling a layout tool of the simulation environment, and uniformly arranging the plurality of five-dimensional force sens