Method, device, medium and equipment for improving efficiency of module drop simulation

By meshing and filtering the module's geometric model, selecting target mesh elements and making adjustments, the problem of low efficiency in module drop simulation was solved, achieving efficient simulation calculations and accurate simulation results.

CN115828657BActive Publication Date: 2026-04-07KUNSHAN QIUTI PHOTOELECTRIC TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-17
Publication Date
2026-04-07

AI Technical Summary

Technical Problem

In existing technologies, the simulation calculation efficiency of module drop is low and the simulation test time is too long, which makes it impossible to ensure the simulation efficiency.

Method used

By receiving the geometric model of the module, a mesh model is generated according to a preset partitioning strategy. Target mesh elements are then selected based on a preset minimum step time. The target mesh elements are adjusted to reduce simulation time and improve simulation efficiency.

Benefits of technology

It effectively reduces simulation calculation time, improves module drop simulation efficiency, ensures the accuracy of simulation results, and avoids the problem of unreliable simulation results caused by mass scaling.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115828657B_ABST
    Figure CN115828657B_ABST
Patent Text Reader

Abstract

This invention provides a method, apparatus, medium, and device for improving the efficiency of module drop simulation. The method includes: receiving a geometric model of a module; dividing the geometric model according to a preset partitioning strategy to generate a mesh model; the mesh model includes multiple mesh elements; filtering the mesh model based on a preset minimum step time to obtain target mesh elements; the target mesh elements are mesh elements that reduce simulation computation efficiency; adjusting the target mesh elements to reduce the simulation time required by the mesh model; thus, when performing drop simulation on the module, mesh elements with longer simulation times are filtered out and then adjusted, thereby reducing the simulation time required by the entire mesh model and improving simulation efficiency; and without needing to scale the mass of the entire mesh model, ensuring the accuracy of the simulation results.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of simulation technology, and in particular to a method, apparatus, medium and equipment for improving the efficiency of module drop simulation. Background Technology

[0002] Drop testing involves placing the product in a fixture and dropping it freely from a relatively low height, repeating this process thousands to tens of thousands of times to verify the product's reliability.

[0003] However, computers are slow at simulating display dynamics problems related to drop or collision scenarios. Even using dedicated large workstations, analyzing complex models can take tens of hours, and in many cases, it can take many days to produce an evaluation report.

[0004] In existing technologies, computational efficiency is generally improved by "mass scaling" of the model. However, this "mass scaling" applies to the entire geometric model, which enlarges the mass of the entire model. This increases the kinetic energy (inertial force) of the model, making the simulation results unreliable.

[0005] Therefore, how to effectively improve the efficiency of module drop simulation and shorten the module simulation cycle is a technical problem that urgently needs to be solved. Summary of the Invention

[0006] To address the problems existing in the prior art, embodiments of the present invention provide a method, apparatus, medium, and equipment for improving the efficiency of module drop simulation, thereby solving or partially solving the technical problem in the prior art where the simulation test time is too long when simulating module drop, resulting in the inability to ensure simulation efficiency.

[0007] A first aspect of the present invention provides a method for improving the efficiency of module drop simulation, the method comprising:

[0008] Geometric model of the receiving module;

[0009] The geometric model is divided according to a preset partitioning strategy to generate a mesh model; the mesh model includes multiple mesh elements.

[0010] The mesh model is filtered based on a preset minimum step time to obtain target mesh elements; the target mesh elements are mesh elements that reduce simulation computation efficiency.

[0011] The target mesh cells are adjusted to reduce the simulation time required for the mesh model.

[0012] In the above scheme, the step of filtering the mesh model based on a preset minimum step time to obtain target mesh cells includes:

[0013] Determine the current step time required for the current mesh cell; the current mesh cell is any mesh cell in the mesh model.

[0014] If the current step time is less than the minimum step time, then the current grid cell is determined as the target grid cell.

[0015] In the above scheme, after filtering the mesh model based on a preset minimum step time to obtain the target mesh cells, the method further includes:

[0016] The target mesh cell is located in the geometric model.

[0017] In the above scheme, adjusting the target mesh cell includes:

[0018] Obtain the first node and the second node of the target mesh cell;

[0019] If it is determined that the distance between the first node and the second node is less than or equal to a preset distance threshold, then the first node and the second node are merged to eliminate the target mesh cell.

[0020] The method in the above scheme further includes:

[0021] If it is determined that the distance between the first node and the second node is greater than the distance threshold, the position of the first node or the second node is adjusted to increase the mass and volume of the target mesh cell.

[0022] In the above scheme, the distance threshold is one-tenth of the grid cell size.

[0023] A second aspect of the present invention provides an apparatus for improving the efficiency of module drop simulation, the apparatus comprising:

[0024] A receiving unit is used to receive the geometric model of the module.

[0025] A partitioning unit is used to divide the geometric model according to a preset partitioning strategy to generate a mesh model; the mesh model includes multiple mesh units.

[0026] A filtering unit is used to filter the mesh model based on a preset minimum step time to obtain target mesh cells; the target mesh cells are mesh cells that reduce simulation computation efficiency.

[0027] An adjustment unit is used to adjust the target mesh unit to reduce the simulation time for simulating the geometric model.

[0028] In the above scheme, the filtering unit is specifically used for:

[0029] Determine the current step time required for the current mesh cell; the current mesh cell is any mesh cell in the mesh model.

[0030] If the current step time is less than the minimum step time, then the current grid cell is determined as the target grid cell.

[0031] A third aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements the steps of the method described in any of the first aspects.

[0032] A fourth aspect of the present invention provides a computer device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the program, implements the steps of the method described in any of the first aspects.

[0033] This invention provides a method, apparatus, medium, and device for improving the efficiency of module drop simulation. The method includes: receiving a geometric model of a module; dividing the geometric model according to a preset partitioning strategy to generate a mesh model; the mesh model includes multiple mesh elements; filtering the mesh model based on a preset minimum step time to obtain target mesh elements; the target mesh elements are mesh elements that reduce simulation computation efficiency; adjusting the target mesh elements to reduce the simulation time required for the mesh model; thus, when performing drop simulation on the module, mesh elements with longer simulation times are filtered out and then adjusted, thereby reducing the simulation time required to simulate the entire mesh model and improving simulation efficiency; and without changing the overall quality of the model, ensuring the accuracy of the simulation results. Attached Figure Description

[0034] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. Furthermore, the same reference numerals denote the same parts throughout the drawings.

[0035] In the attached diagram:

[0036] Figure 1 A schematic flowchart of a method for improving the efficiency of module drop simulation according to an embodiment of the present invention is shown;

[0037] Figure 2 A schematic diagram of the target mesh cell determined according to an embodiment of the present invention is shown;

[0038] Figure 3A schematic diagram illustrating the adjustment of a target mesh cell according to an embodiment of the present invention is shown;

[0039] Figure 4 A schematic diagram of a device structure for improving the efficiency of module drop simulation according to an embodiment of the present invention is shown. Detailed Implementation

[0040] Exemplary embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.

[0041] This invention provides a method for improving the efficiency of module drop simulation, such as... Figure 1 As shown, the method includes the following steps:

[0042] S110, geometric model of the receiving module;

[0043] In this embodiment, the module can be a camera module or other modules, such as a mobile phone module, a fingerprint module, etc., without limitation. The geometric model of the module can be modeled using 3D modeling software. After modeling is completed, the geometric model is saved as a file and then imported into the simulation software. Specific modeling and import operations will not be described in detail.

[0044] After the geometric model is imported into the simulation software, the material properties of the geometric model also need to be set; material properties may include: density, elastic modulus, Poisson's ratio, etc.

[0045] Taking a camera module as an example, the components of a camera module include: lens, bracket, drive motor (VCM, Voice Coil Motor), PCB board and protective sheet, etc.; the material property of the lens is: synthetic resin; the drive motor includes: housing, magnet, coil and other components; the material of the housing is stainless steel 316; and so on.

[0046] S111, the geometric model is divided according to a preset partitioning strategy to generate a mesh model; the mesh model includes multiple mesh elements;

[0047] In one implementation, the geometric model is divided according to a preset partitioning strategy to generate a mesh model, including:

[0048] Determine the geometric features and dimensions of each part;

[0049] The geometric model is divided based on the geometric features and dimensions of each part to obtain a mesh model.

[0050] The mesh model includes multiple mesh elements, which can be hexahedral or tetrahedral, etc. The size of the mesh element (which can be understood as the side length of the mesh element) cannot be too large or too small. If the mesh element is too large, the simulation accuracy will be reduced; if the mesh element is too small, the simulation efficiency will be reduced. Therefore, to balance simulation accuracy and simulation efficiency, the mesh element size in this embodiment is 0.1 to 0.2 mm, but it can be adjusted based on actual conditions. This embodiment does not impose any restrictions.

[0051] For example, suppose a part in the geometric model is a cuboid with dimensions of 1.55*0.9*0.8mm. If this part is meshed with a mesh cell size of 0.2mm, there will be 8, 5, and 4 (8*5*4) mesh cells in the length, width, and height directions, respectively, generating a total of 160 mesh cells. If the mesh is meshed with a mesh cell size of 0.1mm, there will be 16, 9, and 8 mesh cells in the length, width, and height directions, respectively, generating a total of 1152 (16*9*8) mesh cells.

[0052] S112, The mesh model is filtered based on a preset minimum step time to obtain target mesh elements; the target mesh elements are mesh elements that reduce simulation computation efficiency;

[0053] For display dynamics analyses such as drop and collision simulations, the computation speed is primarily determined by the minimum step time of the mesh generated. In the case of the camera module, due to the complex structural features of the bracket and drive motor, some mesh elements corresponding to the bracket and drive motor may have relatively small volumes and masses. To ensure the stability of these small-mass elements during finite element simulation, the system automatically reduces the step time. However, since the simulation computation speed is mainly determined by the minimum step time, similar to the "barrel effect," smaller-mass and smaller-volume mesh elements consume a longer simulation time, significantly impacting the computational efficiency of the entire finite element model (the mesh model in this embodiment is a finite element model), thus drastically reducing simulation efficiency.

[0054] For example, if the minimum step size of other non-target mesh elements is 1.2 × 10⁻⁶ -9 s, while the step size of the target mesh element is 1.8 × 10 s. 10 If the time is s, then the efficiency of calculating the entire geometric model can be reduced by about 7 times.

[0055] Therefore, this embodiment needs to identify these mesh cells that take a long time to simulate, so that the target mesh cells can be adjusted subsequently.

[0056] Specifically, after the mesh cells are generated, the system sets a default step length for each mesh cell based on its type and quality. The step length can be understood as the amount of time the system can compute within one computation cycle. A larger step length allows for more results to be output within a single computation cycle; a smaller step length may result in only one result being output over several computation cycles.

[0057] If computational efficiency is improved in simulation by ensuring a certain step length, then mesh elements with shorter step lengths must be selected. Mesh elements with shorter step lengths require a longer simulation time, which reduces the overall simulation efficiency of the mesh model.

[0058] Based on this, this embodiment sets a minimum step time and filters the mesh model based on the minimum step time to obtain the target mesh element; the target mesh element is the mesh element that reduces the simulation calculation efficiency.

[0059] The minimum step size is determined based on extensive simulation experience. The minimum step size needs to ensure simulation efficiency while maintaining accuracy. For the camera module industry, a minimum step size of 1.0 × 10⁻⁶ is recommended. -9 ~2.0×10 -9 s, for example, can be 1.2 × 10 -9 s.

[0060] In one implementation, multiple grid cells are filtered based on a preset minimum step time to obtain a target grid cell, including:

[0061] Determine the current step time required for the current mesh cell; the current mesh cell is any mesh cell in the mesh model.

[0062] If the current step time is less than the preset minimum step time, then the corresponding mesh cell is determined as the target mesh cell.

[0063] In one implementation, after filtering the mesh model based on a preset minimum step time to obtain the target mesh cells, the method further includes:

[0064] Output the number of target mesh cells and locate the target mesh cells in the geometric model to facilitate subsequent adjustments to the target mesh cells.

[0065] The target mesh element can be referenced. Figure 2 , Figure 2 Marker 21 in the diagram represents the target mesh cell. From... Figure 2 It can be seen that the target mesh element has a small mass and volume, which will significantly affect the computational efficiency of the entire finite element model.

[0066] S113, Adjust the target mesh cell to reduce the simulation time required for the target mesh cell.

[0067] To avoid the target mesh cells affecting the overall simulation efficiency, the target mesh cells need to be adjusted to reduce the simulation time required to simulate the geometric model.

[0068] In one implementation, adjusting the target mesh cells includes:

[0069] Obtain the first node of the target grid cell and the second node of the adjacent grid cells;

[0070] If the distance between the first node and the second node is determined to be less than or equal to a preset distance threshold, then the first node and the second node are merged to eliminate the target mesh cell.

[0071] If the distance between the first node and the second node is determined to be greater than a distance threshold, the position of either the first node or the second node is adjusted to increase the mass and volume of the target mesh cell. The distance threshold is one-tenth of the mesh cell size; for example, when the mesh cell size is 0.2 mm, the distance threshold is 0.02 mm. The specific threshold can be set based on actual conditions and is not limited.

[0072] For example, continue to refer to Figure 2 The master node can be understood as the node corresponding to the larger angle in the mesh element. The first node is shown as labeled 22, and the second node is shown as labeled 23. Figure 2 If the distance between the first node 22 and the second node 23 is greater than a distance threshold, the position of either the first node 22 or the second node 23 can be adjusted. For example, the position of the first node 22 can be moved a preset distance in the direction of the left arrow; or the position of the second node 23 can be moved a preset distance in the direction of the right arrow to increase the mass and volume of the target mesh cell.

[0073] refer to Figure 3 , Figure 3 The first node in the array is shown as labeled 22′, and the second node is shown as labeled 23′. Figure 3 The distance between the first node 22′ and the second node 23′ is less than the distance threshold. Therefore, the first node 22′ and the second node 23′ need to be merged into one node, which is equivalent to merging the target grid cell into the adjacent grid cell and eliminating the target grid cell.

[0074] After adjusting the target mesh cells, the method further includes:

[0075] The adjusted mesh cells are verified based on the minimum step time. If there are still target mesh cells with long simulation time, the target mesh cells are adjusted again according to the above processing method until the number of target mesh cells is 0.

[0076] By selecting and adjusting a small number of target mesh elements, the step time of the target mesh elements can be increased, thereby significantly improving the efficiency of simulation calculation.

[0077] In this embodiment, when performing drop simulation on the module, the mesh cells with longer simulation time are selected and adjusted, thereby reducing the simulation time required for the entire mesh model and improving simulation efficiency.

[0078] Based on the same inventive concept as in the foregoing embodiments, this embodiment also provides a device for improving the efficiency of module drop simulation, such as... Figure 4 As shown, the device includes:

[0079] Receiving unit 41 is used to receive the geometric model of the module;

[0080] The partitioning unit 42 is used to partition the geometric model according to a preset partitioning strategy to generate a mesh model; the mesh model includes multiple mesh units.

[0081] The filtering unit 43 is used to filter the mesh model based on a preset minimum step time to obtain target mesh cells; the target mesh cells are mesh cells that reduce simulation calculation efficiency.

[0082] The adjustment unit 44 is used to adjust the target mesh unit to reduce the simulation time required for the mesh model.

[0083] In one embodiment, the filtering unit 43 is specifically used for:

[0084] Determine the current step time required for the current mesh cell; the current mesh cell is any mesh cell in the mesh model.

[0085] If the current step time is less than the preset minimum step time, then the current mesh cell is determined as the target mesh cell.

[0086] Since the apparatus described in the embodiments of this invention is used to implement the method for improving the efficiency of module drop simulation according to the embodiments of this invention, those skilled in the art can understand the specific structure and variations of the apparatus based on the method described in the embodiments of this invention, and therefore will not be described in detail here. All apparatuses used in the methods of the embodiments of this invention fall within the scope of protection of this invention.

[0087] Based on the same inventive concept as in the foregoing embodiments, this embodiment of the invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the methods described above.

[0088] Based on the same inventive concept as in the foregoing embodiments, this embodiment of the invention also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of any of the methods described above.

[0089] Through one or more embodiments of the present invention, the present invention has the following beneficial effects or advantages:

[0090] This invention provides a method, apparatus, medium, and device for improving the efficiency of module drop simulation. The method includes: receiving a geometric model of a module; dividing the geometric model according to a preset partitioning strategy to generate a mesh model; the mesh model includes multiple mesh elements; filtering the mesh model based on a preset minimum step time to obtain target mesh elements; the target mesh elements are mesh elements that reduce simulation computation efficiency; adjusting the target mesh elements to reduce the simulation time required by the mesh model; thus, when performing drop simulation on the module, mesh elements with long simulation time are filtered out and then adjusted, thereby reducing the simulation time required by the mesh model and improving simulation efficiency; and without changing the overall quality of the model, ensuring the accuracy of the simulation results.

[0091] The algorithms and displays provided herein are not inherently related to any particular computer, virtual system, or other device. Various general-purpose systems can also be used in conjunction with the teachings herein. The required structure for constructing such systems is apparent from the above description. Furthermore, this invention is not directed to any particular programming language. It should be understood that the contents of the invention described herein can be implemented using various programming languages, and the above description of specific languages ​​is for the purpose of disclosing the best mode of implementation of the invention.

[0092] Numerous specific details are set forth in the specification provided herein. However, it will be understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures, and techniques have not been shown in detail so as not to obscure the understanding of this specification.

[0093] Similarly, it should be understood that, in order to simplify this disclosure and aid in understanding one or more of the various aspects of the invention, in the above description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof. However, this method of disclosure should not be construed as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as reflected in the following claims, inventive aspects lie in fewer than all features of a single foregoing disclosed embodiment. Therefore, the claims following the detailed description are hereby expressly incorporated into this detailed description, wherein each claim itself is a separate embodiment of the invention.

[0094] Those skilled in the art will understand that modules in the device of the embodiments can be adaptively changed and placed in one or more devices different from that embodiment. Modules, units, or components in the embodiments can be combined into a single module, unit, or component, and further, they can be divided into multiple sub-modules, sub-units, or sub-components. Except where at least some of such features and / or processes or units are mutually exclusive, any combination can be used to combine all features disclosed in this specification (including the accompanying claims, abstract, and drawings) and all processes or units of any method or device so disclosed. Unless expressly stated otherwise, each feature disclosed in this specification (including the accompanying claims, abstract, and drawings) may be replaced by an alternative feature that serves the same, equivalent, or similar purpose.

[0095] Furthermore, those skilled in the art will understand that although some embodiments herein include certain features included in other embodiments but not others, combinations of features from different embodiments are intended to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments can be used in any combination.

[0096] The various component embodiments of the present invention can be implemented in hardware, or as software modules running on one or more processors, or a combination thereof. Those skilled in the art will understand that microprocessors or digital signal processors (DSPs) can be used in practice to implement some or all of the functions of some or all of the components of the gateway, proxy server, or system according to embodiments of the present invention. The present invention can also be implemented as a device or apparatus program (e.g., a computer program and computer program product) for performing some or all of the methods described herein. Such programs implementing the present invention can be stored on a computer-readable medium or can be in the form of one or more signals. Such signals can be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.

[0097] It should be noted that the above embodiments are illustrative of the invention and not restrictive, and that those skilled in the art can devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses should not be construed as limiting the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third, etc., does not indicate any order. These words can be interpreted as names.

[0098] Although preferred embodiments of this application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of this application.

[0099] The above description is merely a preferred embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A method for improving the efficiency of module drop simulation, characterized in that, The method includes: Geometric model of the receiving module; The geometric model is divided according to a preset partitioning strategy to generate a mesh model; the mesh model includes multiple mesh elements. The mesh model is filtered based on a preset minimum step time to obtain target mesh elements; the target mesh elements are mesh elements that reduce simulation computation efficiency. The target mesh cells are adjusted to reduce the simulation time required for the mesh model; wherein, The step of filtering the mesh model based on a preset minimum step time to obtain target mesh cells includes: Determine the current step time required for the current mesh cell; the current mesh cell is any mesh cell in the mesh model. If the current step time is less than the preset minimum step time, then the current mesh cell is determined as the target mesh cell; The adjustment of the target mesh cell includes: Obtain the first node and the second node of the target mesh cell; If it is determined that the distance between the first node and the second node is less than or equal to a preset distance threshold, then the first node and the second node are merged to eliminate the target mesh cell; The method further includes: If it is determined that the distance between the first node and the second node is greater than the distance threshold, the position of the first node or the second node is adjusted to increase the mass and volume of the target mesh cell.

2. The method as described in claim 1, characterized in that, After filtering the mesh model based on a preset minimum step time to obtain the target mesh cells, the method further includes: The target mesh cell is located in the geometric model.

3. The method as described in claim 1 or 2, characterized in that, The distance threshold is one-tenth of the grid cell size.

4. A device for improving the efficiency of module drop simulation, characterized in that, The device includes: A receiving unit is used to receive the geometric model of the module. A partitioning unit is used to divide the geometric model according to a preset partitioning strategy to generate a mesh model; the mesh model includes multiple mesh units. A filtering unit is used to filter the mesh model based on a preset minimum step time to obtain target mesh cells; the target mesh cells are mesh cells that reduce simulation computation efficiency. An adjustment unit is used to adjust the target mesh cells to reduce the simulation time required for the mesh model; The filtering unit is specifically used for: Determine the current step time required for the current mesh cell; the current mesh cell is any mesh cell in the mesh model. If the current step time is less than the preset minimum step time, then the current mesh cell is determined as the target mesh cell; The adjustment of the target mesh cell includes: Obtain the first node and the second node of the target mesh cell; If it is determined that the distance between the first node and the second node is less than or equal to a preset distance threshold, then the first node and the second node are merged to eliminate the target mesh cell; If it is determined that the distance between the first node and the second node is greater than the distance threshold, the position of the first node or the second node is adjusted to increase the mass and volume of the target mesh cell.

5. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the program implements the steps of the method according to any one of claims 1-3.

6. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the steps of the method according to any one of claims 1-3.

Citation Information

Patent Citations

  • Simulation object grid generation method and device

    CN115146508A