Optimization method of macro-micro multi-level collaborative lattice structure based on topology optimization

Through the macro-micro multi-level collaborative lattice structure optimization method based on topology optimization, the limitations of the lattice structure in the existing technology under complex load conditions are solved, the maximum stiffness and lightweight of the structure are achieved, and the structure is adapted to different load conditions. , improving the mechanical properties and structural strength.

CN114741917BActive Publication Date: 2024-10-25HEBEI BINYE TENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210306000.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-25
Publication Date
2024-10-25
Estimated Expiration
2042-03-25

AI Technical Summary

Technical Problem

The existing technology lacks optimization and material layout for the specific load form of the lattice micro-elements in the topology optimization of the lattice structure, cannot adapt to complex load conditions, and cannot achieve optimal material layout, which has limitations.

Method used

The macro-micro multi-level collaborative lattice structure optimization method based on topology optimization is used to establish a cantilever beam model, perform mesh division and finite element analysis, calculate the target flexibility value and sensitivity value, and iteratively update the topology optimization design to achieve the optimal material layout. Maximum stiffness and lightweight, while adapting to different working conditions.

Benefits of technology

It achieves the maximum stiffness and lightweight of the structure, adapts to different load conditions at the same time, takes into account good mechanical properties and structural strength, is suitable for continuum structures, has high flexibility and a wide range of applications, simplifies the manufacturing process and reduces costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114741917B_ABST
    Figure CN114741917B_ABST
Patent Text Reader

Abstract

The present invention provides an optimization method for a macro-micro multi-level collaborative lattice structure based on topological optimization, and the specific steps are: S1, establishing a cantilever beam model; S2, performing finite element analysis; S3, calculating a target flexibility value and a sensitivity value; S4, topologically optimizing the cantilever beam model; S5, outputting a topological optimization result of removing a non-load-bearing structure in the cantilever beam; S6, meshing the entity units retained after the cantilever beam topological optimization again, extracting the volume fraction and node displacement of each entity unit, defining the boundary conditions of the entity unit, and using topological optimization to obtain lattice units adapted to different loads; S7, backfilling the retained lattice units after topological optimization to the corresponding position of the cantilever beam structure after topological optimization in combination with a corresponding matrix screening method, and obtaining a topologically optimized lattice structure that meets the force conditions. The present invention ensures structural strength from the source, meets different weight reduction requirements by modifying the volume fraction, and proposes new suggestions for structural lightweighting.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of cantilever beam structure optimization design, and in particular to an optimization method for a macro-micro multi-level collaborative lattice structure based on topology optimization. Background Art

[0002] The lattice structure is a highly promising advanced lightweight functional structural material. Compared with traditional materials, the lattice structure has many unique excellent properties, especially in the field of aerospace, and has great application potential. As a porous material, it can adjust the volume fraction and optimize the structural configuration according to different working conditions while maintaining the porosity, so as to achieve good structural stiffness and strength. Compared with the traditional truss structure, the lattice structure can achieve maximum lightweight while ensuring the mechanical structure and load stiffness, and can also realize the regulation of mechanical properties for different engineering backgrounds.

[0003] At present, relevant scholars in this field have completed some research, such as document 1: "CN108647405A Substructure interpolation model modeling method for topology optimization design of multi-level lattice structure" discloses a substructure interpolation model modeling method for topology optimization design of multi-level lattice structure. This method establishes the relationship between design variables and characteristic geometric parameters by selecting the configuration form and characteristic geometric parameters of the substructure, and obtains a series of super-unit stiffness matrices; by extracting the characteristic reduction basis of the series of super-unit stiffness matrices and the characteristic reduction basis mapping coefficients of each super-unit stiffness matrix, an approximate calculation model of the super-unit stiffness matrix of the substructure is established, which is used for the topology optimization design of scale-related multi-level lattice structures. However, the optimization method proposed in document 1 is only for the traditional fixed lattice structure, and the lightweight purpose is achieved by changing the rod diameter of the structure. The structure is single, and there is no topological optimization and material layout for the specific load form of the lattice microelement. It is not suitable for multi-condition applications and has considerable limitations. For example, document 2: "CN109766656B A gradient lattice structure optimization method based on topological optimization" proposes a gradient lattice structure optimization method based on topological optimization, by establishing a geometric model of the initial structure, setting topological optimization parameters, extracting finite element single information, selecting appropriate cells to fill the structural design domain, outputting the final lattice structure geometric model, and establishing a lattice structure with a gradient change in pillar size. However, this method lacks optimization analysis of the lattice microstructure, and the boundary conditions and lattice structure types are single. Although it meets the purpose of lightweighting, it cannot achieve the optimal material layout and cannot adapt to complex load conditions, and has certain limitations. Summary of the invention

[0004] In view of the problems existing in the prior art, the present invention provides an optimization method for a macro-micro multi-level collaborative lattice structure based on topological optimization. The optimization method of the new lattice unit structure is used to establish a new finite element analysis model based on the principle of topological optimization. The lattice micro-unit is topologically optimized according to the overall structural loading conditions. Under the constraints of volume fraction and boundary conditions, the material layout with maximum stiffness is obtained, which changes the single structure of the traditional lattice, ensures lightweight, adapts to different working conditions, and takes into account good mechanical properties and structural strength.

[0005] The present invention provides an optimization method for a macro-micro multi-level collaborative lattice structure based on topology optimization, and the specific implementation steps are as follows:

[0006] S1. Establish a cantilever beam model, mesh the cantilever beam model, define the loading conditions and boundary constraint fixing conditions of the cantilever beam model, and determine the material properties of the cantilever beam model based on the solid isotropic material penalty SIMP method;

[0007] S2. Perform finite element analysis on the cantilever beam model established in S1. The finite element analysis expression is as follows:

[0008] KU=F

[0009] Among them, K is the overall stiffness matrix of the cantilever beam calculated based on the material properties in S1, F is the load vector, and U is the overall displacement vector of the cantilever beam;

[0010] S3. Calculate the target flexibility value C. The specific calculation formula is as follows:

[0011] C(ρ)=U T KU

[0012] Among them, ρ represents the mesh unit density of the cantilever beam model after meshing, T is the matrix transposition symbol, K is the overall stiffness matrix of the cantilever beam, and U is the overall displacement vector of the cantilever beam;

[0013] The target flexibility value C obtained above is differentiated to obtain the sensitivity value;

[0014] S4, using the target flexibility value and sensitivity value obtained in S3, topology optimization is performed on the cantilever beam model, and the variables in the topology optimization design are iteratively updated to minimize the flexibility of the cantilever beam model. If the topology optimization process converges, go to S5; if the topology optimization process does not converge, return to S2;

[0015] S5. Output the topology optimization result after removing the non-load-bearing structure in the cantilever beam, and obtain the stiffness and material layout of the load-bearing structure of the cantilever beam;

[0016] S6. The entity elements retained after the cantilever beam topology optimization are meshed again, and the volume fraction and node displacement of each retained entity element are extracted, the boundary conditions of the retained entity elements are determined, and the retained entity elements are solved using the topology optimization method of S4 to obtain lattice elements that adapt to different loads. The specific optimization and improvement formula of the boundary conditions is:

[0017] k(u1)=F1

[0018] k(u2)=F2

[0019] k(u3)=F3

[0020]

[0021] Where T is the matrix transpose symbol, k is the overall stiffness matrix of the solid element retained in the cantilever beam, and u i (i=1,2,3) is the overall displacement vector of the entity element retained in the cantilever beam, F is the load vector, C(ρ) is the flexibility value of the retained element, and ρ represents the mesh unit volume density after the cantilever beam model is meshed;

[0022] S7, the lattice unit after topology optimization in S6 is backfilled to the corresponding position of the cantilever beam structure after topology optimization according to its volume fraction and boundary conditions in the cantilever beam structure after topology optimization, combined with the matrix screening corresponding method, to obtain a topology optimized lattice structure that meets the force conditions. The logical expression of the matrix screening corresponding method is as follows:

[0023]

[0024] st[mn]=size(X);i∈[1,m]j∈[1,n]

[0025]

[0026] Out B

[0027] Among them, X is the parameter matrix corresponding to the overall structure of the cantilever beam after topology optimization, m and n correspond to the rows and columns of the matrix respectively, X(i, j) is the parameter value of the corresponding lattice unit at the position of row coordinate i and column coordinate j, Sn is the boundary value obtained by the non-boundary condition operation, and u i is the overall displacement vector of the entity element retained in the cantilever beam, P corresponds to the lattice unit matrix obtained after topology optimization under different boundary conditions, B is the array matrix with the same rows and columns as X, and B(i, j) is the lattice unit matrix P after backfilling in the array matrix.

[0028] Preferably, in S1, the specific expression for defining the material properties of the cantilever beam model is as follows:

[0029]

[0030] Among them, E(ρ e ) is the elastic modulus of the unit cell density after isotropic material penalty interpolation, E0 is the elastic modulus of the solid part material, E min is the elastic modulus of the material in the blank part of the grid, ρ e is the relative density of the grid cells, p is the penalty coefficient, and e represents the e-th grid cell.

[0031] Preferably, in S1, the specific expression of the SIMP topology optimization mathematical model of the cantilever beam is as follows:

[0032] find:ρ=(ρ1,ρ2,…,ρ n ) T

[0033] min:C=F T U

[0034] st:K(ρ)U=F

[0035]

[0036] 0≤ρ i ≤1 i=1,2,…,n

[0037] Among them, ρ=(ρ1,ρ2,…,ρ n ) T The density of each discretized unit body, F is the load vector, U is the displacement vector, C is the structural flexibility of the objective function, K is the overall stiffness matrix, V, are the cantilever beam structure volume fraction and the set volume fraction respectively.

[0038] Preferably, in S6, the node displacement of each retained entity element is extracted from the displacement matrix U obtained in S2.

[0039] Preferably, in the finite element analysis in S2, the linear density filter used is specifically expressed as follows:

[0040]

[0041] N e ={m|‖x m -x e ‖≤R}

[0042] w(x m )=R-‖x m -x e ‖

[0043] in, is the intermediate density of the unit cell e, R is the radius of the linear density filter, ρ m is the initial volume density of the unit cell, x m , x e are the centroid coordinates of the unit cells m and e, v m is the volume of the mth unit cell, N e is the neighborhood of unit cell e, w(x m ) is the weight function.

[0044] Preferably, in the finite element analysis in S2, in order to avoid the checkerboard phenomenon in the optimization process and the grid dependence of the optimization results, a nonlinear density filter is used to Further filtered into physical density The specific expression is as follows:

[0045]

[0046] Among them, β represents the filtering degree of the filter, and η is the threshold parameter.

[0047] Compared with the prior art, the present invention has the following advantages:

[0048] 1. The macro-micro synchronous regulation of the present invention is to optimize the overall material layout at the macro level while optimizing the structural micro-lattice cells synchronously, determine the volume fraction and load conditions of each unit of the macro structure, and fill the lattice cells with equal volume fractions to the corresponding positions, optimize the overall structure based on the unit strength, and achieve macro-micro synchronous coordination through code optimization to shorten the manufacturing cycle, save consumables, reduce costs, and improve surface quality.

[0049] 2. The present invention is fully applicable to continuum structures, has high flexibility and a wide range of applications, and can be easily implanted as an extension module into a topology optimization framework. It is simple and easy to implement, and can achieve lightweight structure while ensuring structural strength. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 It is a flow chart of the optimization method of the macro-micro multi-level collaborative lattice structure based on topology optimization of the present invention;

[0051] Figure 2 It is a schematic diagram of boundary conditions and loads of the overall structure of the cantilever beam in the optimization method of the macro-micro multi-level collaborative lattice structure based on topology optimization of the present invention;

[0052] Figure 3 It is a structural schematic diagram of topology optimization in the optimization method of the macro-micro multi-level collaborative lattice structure based on topology optimization of the present invention;

[0053] Figure 4A schematic diagram of extracting entity units from topology optimization results in the optimization method of the macro-micro multi-level collaborative lattice structure based on topology optimization of the present invention;

[0054] Figure 5a-5e It is a topology optimization result diagram of different entity units under different boundary conditions extracted from the optimization method of the macro-micro multi-level collaborative lattice structure based on topology optimization of the present invention;

[0055] Figure 6 It is a schematic diagram of filling the topology-optimized lattice units into the original structure of the cantilever beam in the optimization method of the macro-micro multi-level collaborative lattice structure based on topology optimization of the present invention. DETAILED DESCRIPTION

[0056] In order to fully describe the technical content, objectives and effects of the present invention, the following will be described in detail with reference to the accompanying drawings.

[0057] In view of the defects and improvement needs of the existing lattice models, the present invention is based on an optimization method for macro-micro multi-level collaborative lattice structures based on topology optimization, combined with the SIMP density-stiffness interpolation model. In the cantilever beam model pre-processing stage, that is, in the topology optimization project, the optimized overall cantilever beam structure is micro-elemented, and a single grid unit is used as the research object. The boundary conditions are defined according to the overall force path, so that the optimized cantilever beam meets the weight reduction requirements and the performance requirements at the same time. Starting from the loading conditions, the material layout model is reversed to ensure the structural strength from the source. By modifying the volume fraction, different weight reduction requirements can be met, taking into account personalized weight reduction requirements, and achieving the purpose of customization, new suggestions are proposed for structural lightweighting. Figure 1 As shown, the present invention is implemented as follows:

[0058] S1. Establish a cantilever beam model, mesh the cantilever beam model, define the loading conditions and boundary constraint fixing conditions of the cantilever beam model, and define the material properties of the cantilever beam model based on the solid isotropic material penalty (SIMP) method.

[0059] S2. Perform finite element analysis on the cantilever beam model established in S1. The finite element analysis expression is as follows:

[0060] KU=F

[0061] Among them, K is the overall stiffness matrix of the cantilever beam calculated based on the material properties in S1, F is the load vector, and U is the overall displacement column vector of the cantilever beam.

[0062] S3. Based on S2, calculate the target flexibility value C. The specific calculation formula is as follows:

[0063] C(ρ)=U T KU

[0064] Among them, ρ represents the mesh unit density of the cantilever beam model after meshing, T is the matrix transposition symbol, K is the overall stiffness matrix of the cantilever beam, and U is the overall displacement vector of the cantilever beam;

[0065] The target flexibility value C obtained above is differentiated to obtain the sensitivity value.

[0066] S4. Use the target flexibility value and sensitivity value obtained in S3 to perform topology optimization on the cantilever beam model, and iteratively update the variables in the topology optimization design to ensure that the flexibility of the cantilever beam model is minimized. If the topology optimization process converges, go to S5; if the topology optimization process does not converge, return to S2.

[0067] S5. Output the topology optimization results after removing the non-load-bearing structure in the cantilever beam, and obtain the stiffness and material layout of the load-bearing structure of the cantilever beam.

[0068] After processing in S1-S5, the optimized configuration of the cantilever beam as a whole is obtained. The volume fraction and load displacement value of the solid unit retained in S5 are extracted. For a unit with a certain loading condition, it is regarded as an optimized whole. Constraint boundaries, force loads and volume fraction constraints are added, and finite element analysis is performed again to obtain a lightweight structure that meets the force conditions. The specific operation process is as shown in steps S6 and S7.

[0069] S6. The solid elements retained after the cantilever beam topology optimization are meshed again, and the volume fraction and node displacement of each retained solid element are extracted. The boundary conditions of the retained solid elements are defined, and the retained solid elements are solved using the topology optimization method of S4 to obtain lattice elements that adapt to different loads.

[0070] Specifically, the nodal displacement of each retained entity element is extracted from the displacement matrix U obtained according to S2.

[0071] S7. The lattice units after topology optimization in S6 are backfilled to the corresponding positions of the cantilever beam structure after topology optimization according to their volume fractions and boundary conditions in the cantilever beam structure after topology optimization, combined with the corresponding matrix screening method, to obtain a topology optimized lattice structure that meets the force conditions.

[0072] Furthermore, in step S1, the specific process of defining the material properties of the cantilever beam model and establishing the SIMP topology optimization mathematical model of the cantilever beam is as follows:

[0073] The specific expressions that define the material properties of the cantilever beam model are as follows:

[0074] E(ρ e )=E min +ρ e p (E0-E min ),ρe ∈[0,1]

[0075] Among them, E(ρ e ) is the elastic modulus of the unit cell density after isotropic material penalty interpolation, E0 is the elastic modulus of the solid part material, E min is the elastic modulus of the material in the blank part (hole part) of the grid, ρ e is the relative density of the grid unit. When the value is 1, it means there is material, and when it is 0, it means there is no material, that is, a void. p is the penalty coefficient, which is generally set to 3. e represents the e-th grid unit.

[0076] The specific expression of the SIMP topology optimization mathematical model for the cantilever beam is as follows:

[0077] find:ρ=(ρ1,ρ2,…,ρ n ) T

[0078] min:C=F T U

[0079] st:K(ρ)U=F

[0080]

[0081] 0≤ρ i ≤1 i=1,2,…,n

[0082] Among them, ρ=(ρ1,ρ2,…,ρ n ) T The density of each discretized unit body is, in order to reduce the amount of calculation, ρ is a continuous variable of [0,1], F is the load vector, U is the node displacement vector, C is the structural flexibility of the objective function, K is the overall stiffness matrix, V, are the structure volume fraction and the set volume fraction respectively.

[0083] Specifically, the material properties of the cantilever beam model are defined as follows:

[0084] Define the initial unit density ρ of the cantilever beam model. The initial unit density ρ is defined as 1, which means solid material.

[0085] The volume fraction of the solid elements retained after optimization Initialize the optimization algorithm parameters and define the penalty coefficient P, the loading position coordinates of the load, and the coordinates of the fixed constraints.

[0086] Specifically, the contents of establishing the SIMP topology optimization mathematical model of the cantilever beam include:

[0087] The overall stiffness of the macrostructure is taken as the objective function value, and the optimization goal is to maximize the overall stiffness of the macrostructure, that is, to minimize the flexibility value C of the macrostructure; the volume fraction As a constraint function, it ensures that the optimized volume fraction meets the set value and maximizes the stiffness and strength of the cantilever beam structure.

[0088] In a preferred embodiment of the present invention, the finite element analysis method of step S2 includes:

[0089] The cantilever beam model established in step S1 is filtered using a linear density filter. The specific expression is as follows:

[0090]

[0091] N e ={m|‖x m -x e ‖≤R}

[0092] w(x m )=R-‖x m -x e ‖

[0093] in, is the intermediate density of the unit cell e, i.e., ρ e The density after linear filtering, R is the radius of the linear density filter, ρ m is the initial volume density of the unit cell, x m , x e are the centroid coordinates of the unit cells m and e, v m is the volume of the mth unit cell, N e is the neighborhood of unit cell e, and the neighborhood is determined by all unit cells whose center is within a circle with e as the center and R as the filter radius, w(x m ) is the weight function.

[0094] At the same time, in order to avoid the checkerboard phenomenon in the topology optimization process and the grid dependence of the optimization results, a nonlinear density filter is used to Further filtered into physical density The specific expression is as follows:

[0095]

[0096] Among them, β represents the filtering degree of the filter, and η is the threshold parameter, which can be obtained by bisection to keep the use of materials before and after the nonlinear filter unchanged.

[0097] Furthermore, the specific optimization and improvement formula for defining the boundary conditions for retaining the solid unit in step S6 is as follows:

[0098] k(u1)=F1

[0099] k(u2)=F2

[0100] k(u3)=F3

[0101]

[0102] Where T is the matrix transpose symbol, k is the overall stiffness matrix of the solid element retained in the cantilever beam, and u i (i=1,2,3) is the overall displacement vector of the solid unit retained in the cantilever beam, F is the load vector, C(ρ) is the flexibility value of the retained unit, F is the load vector, C(ρ) is the flexibility value of the retained unit, and ρ represents the mesh unit volume density after the cantilever beam model is meshed.

[0103] Preferably, the logical expression of the matrix screening corresponding method in step S7 is as follows:

[0104]

[0105] st[mn]=size(x);i∈[1,m]j∈[1,n]

[0106]

[0107] Out B

[0108] Among them, X is the parameter matrix corresponding to the overall structure of the cantilever beam after topology optimization, m and n correspond to the rows and columns of the matrix respectively, X(i, j) is the parameter value of the corresponding lattice unit at the position of row coordinate i and column coordinate j, Sn is the boundary value obtained by the non-boundary condition operation, and u i is the overall displacement vector of the entity element retained in the cantilever beam, P corresponds to the lattice unit matrix obtained after topology optimization under different boundary conditions, B is the array matrix with the same rows and columns as X, and B(i, j) is the lattice unit matrix P after backfilling in the array matrix.

[0109] The following is a further description of an optimization method for a macro-micro multi-level collaborative lattice structure based on topology optimization of the present invention in conjunction with an embodiment:

[0110] This embodiment takes a cantilever beam structure under load as an example. Figure 2 As shown in the figure, the cantilever beam structure adds a fixed constraint on the left end face, adds a vertical downward tension at the lower corner of the right end, and the middle solid part plays the role of connecting the structure and transmitting force. The specific operation process is as follows:

[0111] S1. Establish a cantilever beam model and divide the cantilever beam model into grids with the number of grid divisions being 30*12. Define the loading conditions and boundary constraint fixing conditions of the cantilever beam model according to actual requirements, and define the material properties of the cantilever beam model based on the solid isotropic material penalty (SIMP) method. Set the cantilever beam model material to stainless steel, where the volume fraction is set to 0.5, the density filtering radius is set to R=2, and the penalty factor for topology optimization is set to 3.

[0112] S2. Perform finite element analysis on the cantilever beam model established in S1. The finite element analysis expression is as follows:

[0113] KU=F

[0114] Among them, K is the overall stiffness matrix of the cantilever beam calculated based on the material properties in S1, F is the load vector, and U is the overall displacement column vector of the cantilever beam.

[0115] S3. Based on S2, calculate the target flexibility value C according to the following calculation formula:

[0116] C(ρ)=U T KU

[0117] Among them, ρ represents the mesh unit density of the cantilever beam model after meshing, T is the matrix transposition symbol, and K is the overall stiffness matrix of the cantilever beam calculated based on the material properties in S1. The specific expression is as follows:

[0118] K = [unit stiffness i, unit stiffness j, unit stiffness m, ...];

[0119] U is the overall displacement vector of the cantilever beam, and the specific expression is as follows:

[0120] U = [unit displacement i, unit displacement j, unit displacement m, ...];

[0121] The target flexibility value C is 172.8582, and the stiffness of the cantilever beam is determined by the numerical value of the target flexibility value C.

[0122] The target flexibility value C obtained above is differentiated to obtain a sensitivity value dc, which is a matrix containing 360 numbers.

[0123] S4. Use the target flexibility value and sensitivity value dc obtained in S3 to perform topology optimization on the cantilever beam model, and iteratively update the variables in the topology optimization design to ensure that the flexibility of the cantilever beam model is minimized. If the topology optimization process converges, go to S5; if the topology optimization process does not converge, return to S2.

[0124] S5. Output the topology optimization results after removing the non-load-bearing structure in the cantilever beam, and obtain the stiffness and material layout of the load-bearing structure of the cantilever beam, such as Figure 3 As shown, the cell density display interval of the topology optimization result is [0,1], that is, the grayscale color of the grid represents the value of the cell density; Figure 3 The obtained cantilever beam overall optimization results are used to extract the volume fraction and node displacement of the retained mesh units in the cantilever beam overall optimization results through secondary development of topology optimization, such as Figure 4 shown.

[0125] S6. The entity elements retained after the cantilever beam topology optimization are meshed again, and the volume fraction and node displacement of each retained entity element are extracted. The boundary conditions of the retained entity elements are defined. The retained entity elements are solved using the topology optimization method of S4 to obtain lattice elements that adapt to different loads. The specific optimization and improvement formula for defining the boundary conditions of the retained entity elements is as follows:

[0126] k(u1)=F1

[0127] k(u2)=F2

[0128] k(u3)=F3

[0129]

[0130] Among them, T is the matrix transpose symbol, k is the overall stiffness matrix of the solid element retained in the cantilever beam calculated based on the material properties in S1. The specific expression is as follows:

[0131] k = [retained element stiffness i, retained element stiffness j, retained element stiffness k, ...].

[0132] u is the overall displacement vector of the entity element retained in the cantilever beam, and the specific expression is as follows:

[0133] u1 = [retained unit displacement i1, retained unit displacement j1, retained unit displacement k1, ...];

[0134] u2 = [retained unit displacement i2, retained unit displacement j2, retained unit displacement k2, ...];

[0135] u3 = [retained unit displacement i3, retained unit displacement j2, retained unit displacement k3, ...];

[0136] F is the load vector, C(ρ) is the flexibility value of the retained unit, and ρ represents the mesh unit density after the cantilever beam model is meshed.

[0137] S7, where a single-sided fixed constraint is added to the retained solid element and the optimization result obtained by two-point opposing loads is as follows Figure 5a As shown; add a single-sided fixed constraint to the retained solid element, and the optimization result obtained by single-point bidirectional load is as follows Figure 5b As shown; add a single-sided fixed constraint to the retained solid element, and the optimization results obtained by two-point heterogeneous loads are as follows Figure 5c As shown; add a single-sided fixed constraint to the retained solid element, and the optimization result obtained by two-point unidirectional load is as follows Figure 5d As shown, two fixed constraints are added to the retained solid element, and the optimization results obtained by applying two-point unidirectional loads are as follows: Figure 5e As shown. The lattice unit after S6 topology optimization is based on its volume fraction and boundary conditions in the cantilever beam structure after topology optimization, and the node displacement of the retained unit after cantilever beam structure optimization and the different optimized configurations obtained after topology optimization of the retained unit are obtained. They correspond to different load conditions, and are backfilled to the corresponding position of the cantilever beam structure after topology optimization in combination with the corresponding matrix screening method to obtain the topology optimized lattice structure that meets the force conditions.

[0138] like Figure 6 As shown in the figure, the SIMP method is used to achieve the layered distribution of the structure at the macro scale. Based on the macro topological configuration, the optimization problem at the micro scale is decomposed into several sub-optimization problems, and the equivalent performance of the cantilever beam retained unit structure is analyzed. In each sub-optimization problem, the mesh unit after the retained unit division is used as the design variable, and the flexibility value of the retained unit is used as the objective function to achieve the topological configuration optimization of the retained unit.

[0139] The embodiments described above are only descriptions of the preferred implementation modes of the present invention, and are not intended to limit the scope of the present invention. Without departing from the design spirit of the present invention, various modifications and improvements made to the technical solutions of the present invention by ordinary technicians in this field should all fall within the protection scope determined by the claims of the present invention.

Claims

1. An optimization method for macro-micro multi-level collaborative lattice structure based on topology optimization, It is characterized in that The specific implementation steps are as follows: S1. Establish a cantilever beam model, mesh the cantilever beam model, define the loading conditions and boundary constraint fixing conditions of the cantilever beam model, and determine the material properties of the cantilever beam model based on the solid isotropic material penalty SIMP method; S2. Perform finite element analysis on the cantilever beam model established in S1. The finite element analysis expression is as follows: KU=F Among them, K is the overall stiffness matrix of the cantilever beam calculated based on the material properties in S1, F is the load vector, and U is the overall displacement vector of the cantilever beam; S3. Calculate the target flexibility value C. The specific calculation formula is as follows: C(ρ)=U T IN Among them, ρ represents the mesh unit density of the cantilever beam model after meshing, T is the matrix transposition symbol, K is the overall stiffness matrix of the cantilever beam, and U is the overall displacement vector of the cantilever beam; The target flexibility value C obtained above is differentiated to obtain the sensitivity value; S4, using the target flexibility value and sensitivity value obtained in S3, topology optimization is performed on the cantilever beam model, and the variables in the topology optimization design are iteratively updated to minimize the flexibility of the cantilever beam model. If the topology optimization process converges, go to S5; if the topology optimization process does not converge, return to S2; S5. Output the topology optimization result after removing the non-load-bearing structure in the cantilever beam, and obtain the stiffness and material layout of the load-bearing structure of the cantilever beam; S6. The entity elements retained after the cantilever beam topology optimization are meshed again, and the volume fraction and node displacement of each retained entity element are extracted, the boundary conditions of the retained entity elements are determined, and the retained entity elements are solved using the topology optimization method of S4 to obtain lattice elements that adapt to different loads. The specific optimization and improvement formula of the boundary conditions is: k(u 1 )=F 1 k(u 2 )=F 2 k(u 3 )=F 3 Where T is the matrix transpose symbol, k is the overall stiffness matrix of the solid element retained in the cantilever beam, and u i (i=1,2,3) is the overall displacement vector of the entity element retained in the cantilever beam, F is the load vector, C(ρ) is the flexibility value of the retained element, and ρ represents the mesh unit volume density after the cantilever beam model is meshed; S7, the lattice unit after topology optimization in S6 is backfilled to the corresponding position of the cantilever beam structure after topology optimization according to its volume fraction and boundary conditions in the cantilever beam structure after topology optimization, combined with the matrix screening corresponding method, to obtain a topology optimized lattice structure that meets the force conditions. The logical expression of the matrix screening corresponding method is as follows: st[mn]=size(X);i∈[1,m] j∈[1,n] Out B Among them, X is the parameter matrix corresponding to the overall structure of the cantilever beam after topology optimization, m and n correspond to the rows and columns of the matrix respectively, X(i, j) is the parameter value of the corresponding lattice unit at the position of row coordinate i and column coordinate j, Sn is the boundary value obtained by the non-boundary condition operation, and u i is the overall displacement vector of the entity element retained in the cantilever beam, P corresponds to the lattice unit matrix obtained after topology optimization under different boundary conditions, B is the array matrix with the same rows and columns as X, and B(i, j) is the lattice unit matrix P after backfilling in the array matrix.

2. The optimization method of the macro-micro multi-level collaborative lattice structure based on topology optimization according to claim 1, It is characterized in that In S1, the specific expressions for defining the material properties of the cantilever beam model are as follows: Among them, E(ρ e ) is the elastic modulus of the unit cell density after isotropic material penalty interpolation, E 0 is the elastic modulus of the material of the solid part, E min is the elastic modulus of the material in the blank part of the grid, ρ e is the relative density of the grid cells, p is the penalty coefficient, and e represents the e-th grid cell.

3. The optimization method of the macro-micro multi-level collaborative lattice structure based on topology optimization according to claim 1 or 2, It is characterized in that In S1, the specific expression of the SIMP topology optimization mathematical model of the cantilever beam is as follows: find: ρ=(ρ 1 ,r 2 ,……,r n ) T min∶C=F T U st:K(ρ)U=F 0≤ρ i ≤1 i=1,2,…,n Where ρ=(ρ 1 ,ρ 2 ,……,ρ n ) T The density of each discretized unit body, F is the load vector, U is the displacement vector, C is the target function structural flexibility, K is the structural stiffness matrix, V, are the cantilever beam structure volume fraction and the set volume fraction respectively.

4. The optimization method of the macro-micro multi-level collaborative lattice structure based on topology optimization according to claim 1, It is characterized in that In S6, the nodal displacements of each retained entity element are extracted from the displacement matrix U obtained in S2.

5. The optimization method of the macro-micro multi-level collaborative lattice structure based on topology optimization according to claim 1, It is characterized in that In the finite element analysis in S2, the linear density filter used is expressed as follows: N e ={m|‖x m -x e ‖≤R} w(x m )=R-‖x m -x e ‖ in, is the intermediate density of the unit cell e, R is the radius of the linear density filter, ρ m is the initial volume density of the unit cell, x m , x e are the centroid coordinates of the unit cells m and e, v m is the volume of the mth unit cell, N e is the neighborhood of unit cell e, w(x m ) is the weight function.

6. The optimization method of the macro-micro multi-level collaborative lattice structure based on topology optimization according to claim 1 or 4, It is characterized in that In the finite element analysis of S2, in order to avoid the checkerboard phenomenon in the optimization process and the grid dependence of the optimization results, a nonlinear density filter is used to Further filtered into physical density The specific expression is as follows: Among them, β represents the filtering degree of the filter, and η is the threshold parameter.