Machine learning driven multi-objective optimization design method for new energy pickup truck frame
By optimizing the chassis design using machine learning-driven Transformer and Gaussian process models, the problem of simultaneously optimizing chassis stiffness, modality, and weight in traditional methods is solved, achieving diversified optimization and rapid convergence of chassis performance.
Patent Information
- Application Number
- CN202611324709.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-28
- Publication Date
- 2026-11-27
AI Technical Summary
Existing technologies struggle to simultaneously optimize the stiffness, modal characteristics, and weight of a vehicle frame within a limited set of simulation analysis samples, making it difficult for traditional methods to meet diverse engineering needs.
A machine learning-driven approach is adopted to construct a multi-objective optimization design method for the chassis using Transformer and Gaussian process models. Candidate sub-chassis are generated through end-to-end mapping, and the design parameters of the chassis are optimized to meet multiple performance indicators by combining static load analysis and finite element analysis.
It achieves faster convergence speed while taking into account multiple performance indicators, obtains higher quality chassis solution sets, adapts to complex design scenarios, and improves optimization accuracy and stability.
Smart Images

Figure CN123179557A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the fields of general artificial intelligence technology and swarm intelligence, and more specifically, to machine learning-driven multi-objective optimization design methods, devices, media, and program products for new energy pickup truck frames. Background Technology
[0002] The chassis is a core component of an automobile, and optimizing its mechanical properties, such as stiffness, modal dynamics, and weight, is a key research focus in chassis structural design. However, these properties often involve computationally intensive simulation analyses, making it difficult to obtain high-performance chassis from limited simulation analysis samples using traditional experimental design methods.
[0003] With the rapid development of machine learning models, data-driven machine learning models are gradually being used for the optimization design of key vehicle component structures. However, these methods are often limited to the design of a single performance index of the chassis, while neglecting the need to simultaneously optimize multiple indicators such as stiffness, modality, and weight during the optimization process. This results in the final optimized chassis structure being unable to meet the diverse needs of engineering scenarios.
[0004] To this end, this invention adopts a multi-objective design orientation for optimizing the frame, and uses the transformer and Gaussian process models, which can effectively learn the core features of a large amount of data, as machine learning models to guide the frame design process. This accelerates the convergence speed while taking into account the optimization of multiple performance indicators, and finally obtains an optimal frame solution set that is diversified and has excellent convergence performance. Summary of the Invention
[0005] To address the shortcomings of existing technologies and considering the design requirements for optimizing the stiffness, modal parameters, and lightweight design of vehicle frames, this invention proposes a machine learning-driven multi-objective optimization design method for new energy pickup truck frames.
[0006] To achieve the above-mentioned technical effects, the present invention adopts the following technical solution:
[0007] According to a first aspect of the present invention, a machine learning-driven multi-objective optimization design method for new energy pickup truck frames is provided, the method comprising:
[0008] S1. Using the length, width, height and thickness parameters of the key cross-section of the frame as continuous design parameters and the material parameters of the key cross-section of the frame as discrete design parameters, based on the structural characteristics of the frame and combined with static load analysis, a simulation model and a mathematical optimization model are constructed with bending stiffness, bending mode, weight and target as constraints, and torsional stiffness and torsional mode as constraints.
[0009] S2. Construct a design space based on the range of design parameters, generate an initial population and establish a database using Latin hypercube and diversity criteria, construct a constraint-aware frame optimization Transformer model FOT for multi-objective optimization of new energy pickup truck frames and complete pre-evolution.
[0010] S3 adopts a pre-evolved FOT model, which uses an end-to-end mapping method from population to population. It inputs a high-quality parent population that has been constrained by non-dominated sorting and crowding selection, and generates offspring candidate populations through autoregressive decoding, replacing the traditional crossover and mutation operator. It also ensures that the parameters meet the upper and lower bound constraints of the design through a physically feasible output layer.
[0011] S4. Based on the current chassis optimization database, Gaussian process surrogate models are constructed for each optimization objective and constraint to quickly predict the performance indicators of candidate sub-chamber chassis. A smooth Chebyshev set scalarization function is constructed, and considering both convergence and diversity indicators, the optimal candidate chassis set for the current iteration is selected from the candidate sub-chamber chassis.
[0012] S5. Perform simulation evaluation on the selected optimal candidate chassis, update the database and FOT and Gaussian process models, return to step S3, until the performance indicators meet the design requirements, and output the chassis parameter values.
[0013] Preferably, step S1 includes:
[0014] S11, taking into account the structural characteristics of the frame, the longitudinal beam section height, longitudinal beam section width, longitudinal beam web thickness, longitudinal beam flange thickness, crossbeam section height, crossbeam section width, crossbeam wall thickness, longitudinal position of the front crossbeam, longitudinal position of the middle crossbeam, frame length, frame width, and frame height are taken as continuous variables, while the longitudinal beam material grade, crossbeam material grade, longitudinal beam section, crossbeam section, and number of longitudinal beam stiffeners are taken as discrete variables. The continuous and discrete variables are used as design parameters.
[0015] S12. Based on the load conditions of the frame structure and the material selection of the frame crossbeams and longitudinal beams, a three-dimensional model is constructed using the geometric modeling software Solidworks and parameterized to obtain the parameterized model.
[0016] S13. Import the parametric model, the load conditions of the frame structure and the key boundary conditions into the preprocessing software AnsysWorkbench for finite element analysis to obtain the finite element analysis model.
[0017] S14, based on the finite element analysis model, uses the structural optimization and multiphysics simulation solver to perform static load analysis and obtain simulation models of the frame's bending stiffness, bending mode, weight, torsional stiffness, and torsional mode;
[0018] S15, based on the simulation model of the chassis's bending stiffness, bending mode, weight, torsional stiffness, and torsional mode, constructs an optimization mathematical model of the chassis with the optimization objectives of maximizing bending stiffness, maximizing bending mode, and minimizing weight, and with the constraints of maximizing torsional stiffness and maximizing torsional mode. The specific formula is as follows:
[0019] ,
[0020] ,
[0021] ,
[0022] in, This indicates the search for the optimal solution to the design parameters. Indicates the design parameters of the frame. Indicates the height of the longitudinal beam section. Indicates the width of the longitudinal beam section. Indicates the thickness of the web of the longitudinal beam. Indicates the thickness of the longitudinal beam flange. Indicates the height of the beam section. Indicates the width of the beam cross section. Indicates the thickness of the beam wall. Indicates the longitudinal position of the front crossbeam. Indicates the longitudinal position of the middle crossbeam. Indicates the frame length. Indicates the width of the frame. Indicates the frame height. Indicates the material grade of the longitudinal beam. Indicates the material grade of the crossbeam. Indicates the cross-sectional shape of the longitudinal beam. Indicates the cross-sectional shape of the beam. Indicates the number of longitudinal beam reinforcement bars. This indicates finding the minimum value. Indicates the frame in design variables The corresponding multi-objective optimization objective function vector at that time, This represents the minimum transformation form of the frame bending stiffness. This represents the minimum transition form of the frame bending modes. Indicates the total weight of the frame. These are constraints that need to be satisfied. Indicates the torsional stiffness of the frame. This indicates the design threshold for the torsional stiffness of the chassis. Indicates the torsional mode of the frame. This indicates the design threshold for the torsional mode of the vehicle frame.
[0023] Preferably, step S2 includes:
[0024] S21. Based on the design requirements, determine the range of design parameter values and construct a hybrid design space that includes continuous and discrete design parameters. ,Right now ,in This indicates that the continuous design space corresponds to 12 continuous design parameters, and the specific order of the 12 continuous design parameters is as follows: , Indicates the height of the longitudinal beam section. Indicates the width of the longitudinal beam section. Indicates the thickness of the web of the longitudinal beam. Indicates the thickness of the longitudinal beam flange. Indicates the height of the beam section. Indicates the width of the beam cross section. Indicates the thickness of the beam wall. Indicates the longitudinal position of the front crossbeam. Indicates the longitudinal position of the middle crossbeam. Indicates the frame length. Indicates the width of the frame. This indicates the frame height, and the value range for each parameter is... , This indicates that the discrete design space corresponds to 5 discrete design parameters, and the specific order of the 5 discrete design parameters is as follows: , Indicates the material grade of the longitudinal beam. Indicates the material grade of the crossbeam. Indicates the cross-sectional shape of the longitudinal beam. Indicates the cross-sectional shape of the beam. Indicates the number of longitudinal beam reinforcement bars;
[0025] S22 employs a Latin hypercube sampling method that integrates the maximum and minimum distance diversity criteria in a hybrid design space. The generated scale is initial population ,in For the first Each initial design sample is simulated and evaluated to calculate its bending stiffness. Bending mode ,gross weight Torsional stiffness Torsional mode And construct an initial optimization database containing design parameters, target values, and constraint values. Store the design parameters and corresponding simulation performance metrics of all initial samples;
[0026] S23 is a dedicated FOT model built on the encoder-decoder Transformer architecture, which replaces the crossover and mutation reproduction operators of traditional multi-objective evolutionary algorithms to achieve end-to-end intelligent generation from parent population to offspring population. In response to the hard constraint characteristics and mixed variable features of chassis optimization, the FOT model adopts a modular design, which includes four core components in sequence: a mixed variable normalization embedding module, an objective-constraint weighted joint encoding module, an adaptive constraint weighted encoder-decoder architecture, and a differentiable physical feasible output layer.
[0027] S24 addresses the issue that continuous parameters with different dimensions and discrete parameters encoded with integers cannot be directly input into the Transformer. For the first... Generation population Each sample in The specific formulas for type differentiation and normalization, and for continuous parameter normalization and discrete parameter encoding normalization are as follows:
[0028] ,
[0029] By using a trainable linear projection matrix, the normalized... 100-dimensional samples are uniformly mapped to a fixed hidden dimension pre-defined by Transformer. The population embedding matrix is obtained as follows:
[0030]
[0031] in, Indicates the first The generation The first sample Normalized values of continuous parameters, Indicates the first The generation The first sample The original values of the continuous parameters, Indicates the index of continuous design parameters, and its value range is: , Indicates the first The lower bound of a continuous design parameter, Indicates the first The upper bound of a continuous design parameter. Indicates the index of discrete design parameters, and its value range is: , Indicates the first The generation The first sample Normalized values of discrete parameters, This represents a discrete variable integer encoding function that maps discrete categories to continuous integers. Indicates the first The generation The first sample Discrete design parameters Indicates the first The lower bound of the encoding of a discrete design parameter Indicates the first The upper bound of the encoding of a discrete design parameter. Indicates the first The generation The complete normalized vector of each sample This represents the total dimensions of the design parameters. This represents the fixed hidden dimension of the Transformer model. This represents a trainable dimensional embedding weight matrix with dimension . , Indicates the first The dimension embedding matrix of the generation population, with dimension . ;
[0032] S25, the objective value and constraint violation degree are jointly encoded to guide the model to prioritize learning and generating feasible solutions that satisfy the constraints, and the first step is to calculate... The generation The constraint violation vector for each sample quantifies the degree of violation of torsional stiffness and torsional modal constraints. The specific formula is as follows:
[0033]
[0034] in, Indicates the first The generation The constraint violation degree vector of each sample. This indicates the design threshold for the torsional stiffness of the chassis. This indicates the design threshold for the torsional mode of the chassis. This represents the function that maximizes the value, where the constraint violation of the feasible solution is 0. Linear projections are then performed on the objective value and the constraint violation, introducing constraint weight coefficients. The encoding weights of the enhanced constraint information are finally added to the embedding matrix to obtain the input of the Transformer encoder;
[0035] S26, by The layers consist of stacked encoders and decoders with identical layers. An adaptive constraint weighting mechanism dynamically adjusts the attention weights between feasible and infeasible solutions. The feasible solution-aware encoder extracts the global evolutionary features of the parent population and adds a feasible solution attention mask, allowing the self-attention mechanism to focus more on high-quality feasible solutions. The specific formula is as follows:
[0036] ,
[0037] in, This indicates the total number of layers in the encoder and decoder. This represents the layer index of the encoder / decoder, with a value range of... , Indicates the encoder's first... The output feature matrix of the layer, This represents a multi-head self-attention function. The layer normalization function is used to stabilize the training process. This represents the attention mask matrix for feasible solutions. The attention weights for feasible solutions are multiplied by 1.2, and those for infeasible solutions are multiplied by 0.8. This represents a multilayer perceptron function; an adaptive constraint-weighted encoder generates offspring samples sequentially using an autoregressive approach, based on the proportion of feasible solutions in the current generation. Dynamically adjust cross attention weights ;
[0038] S27 ensures that all generated frame parameters meet the physical upper and lower bound constraints at the model level. At the same time, the Gumbel-Softmax reparameterization technique is used to achieve end-to-end differentiable training of discrete variables. The output of continuous variables is restricted to the [0,1] interval by the Sigmoid activation function and then inversely normalized to the physical range of the design variables.
[0039] S28, based on the initial optimized database Generate intergenerational evolution pairs dataset using the NSGA-II algorithm. The FOT is pre-trained using a joint loss function of parameters, objectives, and constraints. The specific formula is as follows:
[0040] ,
[0041] in, This represents the total loss function for the pre-training of the FOT model. The weight coefficients of the loss function are represented. This represents the mean squared error loss function. This represents the offspring population predicted by the FOT model. This represents the vector of the offspring population objective function predicted by the FOT model. This represents the constraint violation vector of the offspring population predicted by the FOT model.
[0042] Preferably, step S3 includes:
[0043] S31 employs a pre-evolved FOT model, following an end-to-end mapping logic from population to population, replacing the crossover and mutation reproduction operators of traditional multi-objective evolutionary algorithms, based on the current... Generation population Perform constraint-based non-dominated sorting and crowding selection to filter out products of size [size missing]. The high-quality parent population is selected, and feasible solutions that satisfy torsional stiffness or modal constraints are retained first. The objective function vector corresponding to the high-quality parent population is obtained simultaneously. With constraint violation degree vector The input triples that constitute the FOT model define the end-to-end population mapping relationship of the FOT model. , where the input is the first The output is the first generation of high-quality parent populations and their corresponding performance indicators. Complete offspring population and simulation evaluation results;
[0044] In step S32, the high-quality parent population is input into the FOT encoder. Through a multi-layer multi-head self-attention mechanism and an MLP block, the global evolutionary features of the population are extracted, and the association weights between feasible solutions and high-quality individuals are strengthened. The parent population is first transformed into the encoder input matrix through a mixed variable normalization embedding module. The encoder passes Layer feature extraction, outputting the global evolutionary feature matrix of the parent population;
[0045] The S33 decoder generates offspring chassis samples one by one using an autoregressive approach. It fuses the global evolutionary features of the parent population through constrained weighted cross-attention and ensures that the parameters meet the upper and lower bounds of the design through a physically feasible output layer. This replaces the traditional crossover mutation operator and dynamically adjusts the cross-attention constraint weighting coefficients. When the proportion of feasible solutions in the parent population hour, Upgraded to 1.5, enhancing the transmission of feasible solution features;
[0046] S34, decoding each generation of child chassis parameters Immediately import the finite element model for bending and torsion simulation. If the simulation fails to converge or exhibits numerical anomalies, trigger the regeneration mechanism: call the decoder to regenerate the solution, and calculate the objective function value for the convergent offspring. With constraint violation degree A complete dataset of offspring population performance is constructed, and positions that cannot generate valid solutions are removed, ultimately yielding a dataset of size [size missing]. Effective offspring population ;
[0047] S35, utilizing the current generation's evolutionary... To perform online fine-tuning of the FOT model and improve its adaptability to the current optimization problem, a joint loss function for parameters, objectives, and constraints is defined.
[0048] ,
[0049] in, This represents the total loss function for the pre-training of the FOT model. The weight coefficients of the loss function are represented. This represents the mean squared error loss function. This represents the offspring population predicted by the FOT model. This represents the vector of the offspring population objective function predicted by the FOT model. This represents the constraint violation vector of the offspring population predicted by the FOT model. A sliding window update strategy is used, retaining the evolutionary data of the most recent 5 generations to form a mixed training set. The FOT model parameters are updated in batches, and the AdamW optimizer is used with a learning rate of 5×10⁻⁶. -5 The weight update step size of the constraint coding layer is increased by 1.5 times, which enhances the learning of constraint information.
[0050] Preferably, step S4 includes:
[0051] S41, Based on the simulation evaluation results, add the offspring population and performance indicators generated in the current iteration to the optimization database to construct the training dataset for the surrogate model;
[0052] S42, for each optimization objective and constraint, construct an independent GPR surrogate model, establish the mapping relationship between the design variable Y and the performance index, achieve rapid prediction without simulation, define the training dataset, and define the objective function. The training set is Similarly, for Construct training sets separately Assuming any performance index The process of taking Gaussian measures: The mean function is a constant mean function. The covariance function uses the RBF kernel function; after training, the new design variables are... The predicted mean and variance of GPR Indicates the distribution of a Gaussian process. The kernel function represents the covariance function. This represents the signal variance and the fluctuation range of the control function. It represents the length scale and controls the smoothness of the function. Represents the Euclidean distance between the design variable vectors;
[0053] S43, using the trained GPR surrogate model, evaluates the candidate offspring population. Perform performance prediction;
[0054] S44: Construct a smooth Chebyshev set scalarization function, and comprehensively consider convergence and diversity indicators to select the optimal candidate frame set for the current iteration from the candidate offspring frames.
[0055] Preferably, step S5 includes:
[0056] S51, The simulation model is used to perform simulation evaluation on the selected optimal candidate frame to obtain the target value and constraint value corresponding to the optimal candidate frame;
[0057] S52, Update the database and the FOT and Gaussian process models;
[0058] S53, determine whether the torsional stiffness, bending stiffness, torsional mode, bending mode and weight of the best offspring frame meet the design requirements of each index respectively; if they meet the requirements, output the optimal parameter values; otherwise, return to step S3 to continue iterative optimization until the optimization requirements are met, and output the optimal parameter values.
[0059] According to a second aspect of the present invention, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the above-described machine learning-driven multi-objective optimization design method for new energy pickup truck frames.
[0060] According to a third aspect of the present invention, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps of the above-described machine learning-driven multi-objective optimization design method for new energy pickup truck frames.
[0061] According to a fourth aspect of the present invention, a computer program product is provided, comprising a computer program that, when executed by a processor, implements the steps of the above-described machine learning-driven multi-objective optimization design method for new energy pickup truck frames.
[0062] Compared with the prior art, the present invention has the following beneficial effects:
[0063] 1. There are many design parameters in the optimization design of vehicle frames, and the mapping relationship between design parameters and various performance indicators is complexly coupled. The machine learning-driven multi-objective optimization design method, equipment, medium and program products for new energy pickup truck frames provided by this invention construct a bundle-aware frame optimization Transformer model (FOT) and complete pre-evolution to determine the evolution direction and region for determining the best search trajectory during the optimization process.
[0064] 2. The machine learning-driven multi-objective optimization design method, equipment, medium and program products for new energy pickup truck frames provided by this invention, in order to generate higher quality candidate offspring frames, construct a FOT model on the basis of pre-evolution, realize the generation of candidate offspring frames in an end-to-end mapping manner from population to population, and reduce the screening pressure of subsequent Gaussian process models.
[0065] 3. The machine learning-driven multi-objective optimization design method, equipment, medium, and program products for new energy pickup truck frames provided by this invention construct a smooth Chebyshev set scalarization function based on Gaussian process model predictions to screen the optimal offspring frame, thereby accelerating the convergence speed of each iteration in the evolution process and accurately evaluating the potential of candidate offspring frames.
[0066] 4. The machine learning-driven multi-objective optimization design method, equipment, medium, and program products for new energy pickup truck frames provided by this invention can specifically solve the problem of frame structure optimization involving high-precision simulation, effectively adapt to complex design scenarios with multiple constraints, and achieve higher optimization accuracy and more stable comprehensive performance. It carries out integrated collaborative optimization with bending stiffness, bending mode, and weight as objectives and torsional stiffness and torsional mode as constraints to achieve optimal overall frame performance. At the same time, it provides a general and scalable technical framework for multi-objective constraint optimization design of other automotive mechanical structures. Attached Figure Description
[0067] Other features, objects, and advantages of the present invention will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings:
[0068] Figure 1 A simplified flowchart of a machine learning-driven multi-objective optimization design method for new energy pickup truck frames provided for an example. Detailed Implementation
[0069] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. The components of the embodiments of this application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.
[0070] Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.
[0071] It should be noted that similar reference numerals and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. Furthermore, all directional indications (such as up, down, left, right, front, back, bottom, etc.) in this application are only used to explain the relative positional relationships and movements between components in a specific orientation (as shown in the figures). If the specific orientation changes, the directional indication will also change accordingly. Furthermore, descriptions involving "first," "second," etc., in this application are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated.
[0072] Example 1
[0073] like Figure 1 As shown, this embodiment provides a machine learning-driven multi-objective optimization design method for new energy pickup truck frames. The method includes:
[0074] S1. Using the length, width, height and thickness parameters of the key cross-section of the frame as continuous design parameters and the material parameters of the key cross-section of the frame as discrete design parameters, based on the structural characteristics of the frame and combined with static load analysis, a simulation model and a mathematical optimization model are constructed with bending stiffness, bending mode, weight and target as constraints, and torsional stiffness and torsional mode as constraints.
[0075] S2. Construct a design space based on the range of design parameters, generate an initial population and establish a database using Latin hypercube and diversity criteria, construct a constraint-aware frame optimization Transformer model FOT for multi-objective optimization of new energy pickup truck frames and complete pre-evolution.
[0076] S3 adopts a pre-evolved FOT model, which uses an end-to-end mapping method from population to population. It inputs a high-quality parent population that has been constrained by non-dominated sorting and crowding selection, and generates offspring candidate populations through autoregressive decoding, replacing the traditional crossover and mutation operator. It also ensures that the parameters meet the upper and lower bound constraints of the design through a physically feasible output layer.
[0077] S4. Based on the current chassis optimization database, Gaussian process surrogate models are constructed for each optimization objective and constraint to quickly predict the performance indicators of candidate sub-chamber chassis. A smooth Chebyshev set scalarization function is constructed, and considering both convergence and diversity indicators, the optimal candidate chassis set for the current iteration is selected from the candidate sub-chamber chassis.
[0078] S5. Perform simulation evaluation on the selected optimal candidate chassis, update the database and FOT and Gaussian process models, return to step S3, until the performance indicators meet the design requirements, and output the chassis parameter values.
[0079] Further, step S1 includes:
[0080] S11, taking into account the structural characteristics of the frame, the longitudinal beam section height, longitudinal beam section width, longitudinal beam web thickness, longitudinal beam flange thickness, crossbeam section height, crossbeam section width, crossbeam wall thickness, longitudinal position of the front crossbeam, longitudinal position of the middle crossbeam, frame length, frame width, and frame height are taken as continuous variables, while the longitudinal beam material grade, crossbeam material grade, longitudinal beam section, crossbeam section, and number of longitudinal beam stiffeners are taken as discrete variables. The continuous and discrete variables are used as design parameters.
[0081] S12. Based on the load conditions of the frame structure and the material selection of the frame crossbeams and longitudinal beams, a three-dimensional model is constructed using the geometric modeling software Solidworks and parameterized to obtain the parameterized model.
[0082] S13. Import the parametric model, the load conditions of the frame structure and the key boundary conditions into the preprocessing software AnsysWorkbench for finite element analysis to obtain the finite element analysis model.
[0083] S14, based on the finite element analysis model, uses the structural optimization and multiphysics simulation solver to perform static load analysis and obtain simulation models of the frame's bending stiffness, bending mode, weight, torsional stiffness, and torsional mode;
[0084] S15, based on the simulation model of the chassis's bending stiffness, bending mode, weight, torsional stiffness, and torsional mode, constructs an optimization mathematical model of the chassis with the optimization objectives of maximizing bending stiffness, maximizing bending mode, and minimizing weight, and with the constraints of maximizing torsional stiffness and maximizing torsional mode. The specific formula is as follows:
[0085] ,
[0086] ,
[0087] ,
[0088] in, This indicates the search for the optimal solution to the design parameters. Indicates the design parameters of the frame. Indicates the height of the longitudinal beam section. Indicates the width of the longitudinal beam section. Indicates the thickness of the web of the longitudinal beam. Indicates the thickness of the longitudinal beam flange. Indicates the height of the beam section. Indicates the width of the beam cross section. Indicates the thickness of the beam wall. Indicates the longitudinal position of the front crossbeam. Indicates the longitudinal position of the middle crossbeam. Indicates the frame length. Indicates the width of the frame. Indicates the frame height. Indicates the material grade of the longitudinal beam. Indicates the material grade of the crossbeam. Indicates the cross-sectional shape of the longitudinal beam. Indicates the cross-sectional shape of the beam. Indicates the number of longitudinal beam reinforcement bars. This indicates finding the minimum value. Indicates the frame in design variables The corresponding multi-objective optimization objective function vector at that time, This represents the minimum transformation form of the frame bending stiffness. This represents the minimum transition form of the frame bending modes. Indicates the total weight of the frame. These are constraints that need to be satisfied. Indicates the torsional stiffness of the frame. This indicates the design threshold for the torsional stiffness of the chassis. Indicates the torsional mode of the frame. This indicates the design threshold for the torsional mode of the vehicle frame.
[0089] Further, step S2 includes:
[0090] S21. Based on the design requirements, determine the range of design parameter values and construct a hybrid design space that includes continuous and discrete design parameters. ,Right now ,in This indicates that the continuous design space corresponds to 12 continuous design parameters, and the specific order of the 12 continuous design parameters is as follows: , Indicates the height of the longitudinal beam section. Indicates the width of the longitudinal beam section. Indicates the thickness of the web of the longitudinal beam. Indicates the thickness of the longitudinal beam flange. Indicates the height of the beam section. Indicates the width of the beam cross section. Indicates the thickness of the beam wall. Indicates the longitudinal position of the front crossbeam. Indicates the longitudinal position of the middle crossbeam. Indicates the frame length. Indicates the width of the frame. This indicates the frame height, and the value range for each parameter is... , This indicates that the discrete design space corresponds to 5 discrete design parameters, and the specific order of the 5 discrete design parameters is as follows: , Indicates the material grade of the longitudinal beam. Indicates the material grade of the crossbeam. Indicates the cross-sectional shape of the longitudinal beam. Indicates the cross-sectional shape of the beam. Indicates the number of longitudinal beam reinforcement bars;
[0091] S22 employs a Latin hypercube sampling method that integrates the maximum and minimum distance diversity criteria in a hybrid design space. The generated scale is initial population ,in For the first Each initial design sample is simulated and evaluated to calculate its bending stiffness. Bending mode ,gross weight Torsional stiffness Torsional mode And construct an initial optimization database containing design parameters, target values, and constraint values. Store the design parameters and corresponding simulation performance metrics of all initial samples;
[0092] S23 is a dedicated FOT model built on the encoder-decoder Transformer architecture, which replaces the crossover and mutation reproduction operators of traditional multi-objective evolutionary algorithms to achieve end-to-end intelligent generation from parent population to offspring population. In response to the hard constraint characteristics and mixed variable features of chassis optimization, the FOT model adopts a modular design, which includes four core components in sequence: a mixed variable normalization embedding module, an objective-constraint weighted joint encoding module, an adaptive constraint weighted encoder-decoder architecture, and a differentiable physical feasible output layer.
[0093] S24 addresses the issue that continuous parameters with different dimensions and discrete parameters encoded with integers cannot be directly input into the Transformer. For the first... Generation population Each sample in The specific formulas for type differentiation and normalization, and for continuous parameter normalization and discrete parameter encoding normalization are as follows:
[0094] ,
[0095] By using a trainable linear projection matrix, the normalized... 100-dimensional samples are uniformly mapped to a fixed hidden dimension pre-defined by Transformer. The population embedding matrix is obtained as follows:
[0096]
[0097] in, Indicates the first The generation The first sample Normalized values of continuous parameters, Indicates the first The generation The first sample The original values of the continuous parameters, Indicates the index of continuous design parameters, and its value range is: , Indicates the first The lower bound of a continuous design parameter, Indicates the first The upper bound of a continuous design parameter. Indicates the index of discrete design parameters, and its value range is: , Indicates the first The generation The first sample Normalized values of discrete parameters, This represents a discrete variable integer encoding function that maps discrete categories to continuous integers. Indicates the first The generation The first sample Discrete design parameters Indicates the first The lower bound of the encoding of a discrete design parameter Indicates the first The upper bound of the encoding of a discrete design parameter. Indicates the first The generation The complete normalized vector of each sample This represents the total dimensions of the design parameters. This represents the fixed hidden dimension of the Transformer model. This represents a trainable dimensional embedding weight matrix with dimension . , Indicates the first The dimension embedding matrix of the generation population, with dimension . ;
[0098] S25, the objective value and constraint violation degree are jointly encoded to guide the model to prioritize learning and generating feasible solutions that satisfy the constraints, and the first step is to calculate... The generation The constraint violation vector for each sample quantifies the degree of violation of torsional stiffness and torsional modal constraints. The specific formula is as follows:
[0099]
[0100] in, Indicates the first The generation The constraint violation degree vector of each sample. This indicates the design threshold for the torsional stiffness of the chassis. This indicates the design threshold for the torsional mode of the chassis. This represents the function that maximizes the value, where the constraint violation of the feasible solution is 0. Linear projections are then performed on the objective value and the constraint violation, introducing constraint weight coefficients. The encoding weights of the enhanced constraint information are finally added to the embedding matrix to obtain the input of the Transformer encoder;
[0101] S26, by The layers consist of stacked encoders and decoders with identical layers. An adaptive constraint weighting mechanism dynamically adjusts the attention weights between feasible and infeasible solutions. The feasible solution-aware encoder extracts the global evolutionary features of the parent population and adds a feasible solution attention mask, allowing the self-attention mechanism to focus more on high-quality feasible solutions. The specific formula is as follows:
[0102] ,
[0103] in, This indicates the total number of layers in the encoder and decoder. This represents the layer index of the encoder / decoder, with a value range of... , Indicates the encoder's first... The output feature matrix of the layer, This represents a multi-head self-attention function. The layer normalization function is used to stabilize the training process. This represents the attention mask matrix for feasible solutions. The attention weights for feasible solutions are multiplied by 1.2, and those for infeasible solutions are multiplied by 0.8. This represents a multilayer perceptron function; an adaptive constraint-weighted encoder generates offspring samples sequentially using an autoregressive approach, based on the proportion of feasible solutions in the current generation. Dynamically adjust cross attention weights ;
[0104] S27 ensures that all generated frame parameters meet the physical upper and lower bound constraints at the model level. At the same time, the Gumbel-Softmax reparameterization technique is used to achieve end-to-end differentiable training of discrete variables. The output of continuous variables is restricted to the [0,1] interval by the Sigmoid activation function and then inversely normalized to the physical range of the design variables.
[0105] S28, based on the initial optimized database Generate intergenerational evolution pairs dataset using the NSGA-II algorithm. The FOT is pre-trained using a joint loss function of parameters, objectives, and constraints. The specific formula is as follows:
[0106] ,
[0107] in, This represents the total loss function for the pre-training of the FOT model. The weight coefficients of the loss function are represented. This represents the mean squared error loss function. This represents the offspring population predicted by the FOT model. This represents the vector of the offspring population objective function predicted by the FOT model. This represents the constraint violation vector of the offspring population predicted by the FOT model.
[0108] Further, step S3 includes:
[0109] S31 employs a pre-evolved FOT model, following an end-to-end mapping logic from population to population, replacing the crossover and mutation reproduction operators of traditional multi-objective evolutionary algorithms, based on the current... Generation population Perform constraint-based non-dominated sorting and crowding selection to filter out products of size [size missing]. The high-quality parent population is selected, and feasible solutions that satisfy torsional stiffness or modal constraints are retained first. The objective function vector corresponding to the high-quality parent population is obtained simultaneously. With constraint violation degree vector The input triples that constitute the FOT model define the end-to-end population mapping relationship of the FOT model. , where the input is the first The output is the first generation of high-quality parent populations and their corresponding performance indicators. Complete offspring population and simulation evaluation results;
[0110] In step S32, the high-quality parent population is input into the FOT encoder. Through a multi-layer multi-head self-attention mechanism and an MLP block, the global evolutionary features of the population are extracted, and the association weights between feasible solutions and high-quality individuals are strengthened. The parent population is first transformed into the encoder input matrix through a mixed variable normalization embedding module. The encoder passes Layer feature extraction, outputting the global evolutionary feature matrix of the parent population;
[0111] The S33 decoder generates offspring chassis samples one by one using an autoregressive approach. It fuses the global evolutionary features of the parent population through constrained weighted cross-attention and ensures that the parameters meet the upper and lower bounds of the design through a physically feasible output layer. This replaces the traditional crossover mutation operator and dynamically adjusts the cross-attention constraint weighting coefficients. When the proportion of feasible solutions in the parent population hour, Upgraded to 1.5, enhancing the transmission of feasible solution features;
[0112] S34, decoding each generation of child chassis parameters Immediately import the finite element model for bending and torsion simulation. If the simulation fails to converge or exhibits numerical anomalies, trigger the regeneration mechanism: call the decoder to regenerate the solution, and calculate the objective function value for the convergent offspring. With constraint violation degree A complete dataset of offspring population performance is constructed, and positions that cannot generate valid solutions are removed, ultimately yielding a dataset of size [size missing]. Effective offspring population ;
[0113] S35, utilizing the current generation's evolutionary... To perform online fine-tuning of the FOT model and improve its adaptability to the current optimization problem, a joint loss function for parameters, objectives, and constraints is defined.
[0114] ,
[0115] in, This represents the total loss function for the pre-training of the FOT model. The weight coefficients of the loss function are represented. This represents the mean squared error loss function. This represents the offspring population predicted by the FOT model. This represents the vector of the offspring population objective function predicted by the FOT model. This represents the constraint violation vector of the offspring population predicted by the FOT model. A sliding window update strategy is used, retaining the evolutionary data of the most recent 5 generations to form a mixed training set. The FOT model parameters are updated in batches, and the AdamW optimizer is used with a learning rate of 5×10⁻⁶. -5 The weight update step size of the constraint coding layer is increased by 1.5 times, which enhances the learning of constraint information.
[0116] Further, step S4 includes:
[0117] S41, Based on the simulation evaluation results, add the offspring population and performance indicators generated in the current iteration to the optimization database to construct the training dataset for the surrogate model;
[0118] S42, for each optimization objective and constraint, construct an independent GPR surrogate model, establish the mapping relationship between the design variable Y and the performance index, achieve rapid prediction without simulation, define the training dataset, and define the objective function. The training set is Similarly, for Construct training sets separately Assuming any performance index The process of taking Gaussian measures: The mean function is a constant mean function. The covariance function uses the RBF kernel function; after training, the new design variables are... The predicted mean and variance of GPR Indicates the distribution of a Gaussian process. The kernel function represents the covariance function. This represents the signal variance and the fluctuation range of the control function. It represents the length scale and controls the smoothness of the function. Represents the Euclidean distance between the design variable vectors;
[0119] S43, using the trained GPR surrogate model, evaluates the candidate offspring population. Perform performance prediction;
[0120] S44: Construct a smooth Chebyshev set scalarization function, and comprehensively consider convergence and diversity indicators to select the optimal candidate frame set for the current iteration from the candidate offspring frames.
[0121] Further, step S5 includes:
[0122] S51, use a simulation model to perform simulation evaluation on the selected optimal candidate frame, and obtain the target value and constraint value corresponding to the optimal candidate frame;
[0123] S52, Update the database and the FOT and Gaussian process models;
[0124] S53, determine whether the torsional stiffness, bending stiffness, torsional mode, bending mode and weight of the best offspring frame meet the design requirements of each index respectively; if they meet the requirements, output the optimal parameter values; otherwise, return to step S3 to continue iterative optimization until the optimization requirements are met, and output the optimal parameter values.
[0125] This embodiment uses the benchmark test function MW14 to illustrate the optimization performance of the proposed ML-based linear guide constraint optimization method. MW14 is a constraint-type objective test function with three-objective single-constraint characteristics, and its expression is as follows:
[0126] ,
[0127] ,
[0128]
[0129] ,
[0130] In the above formula, This indicates minimizing three objective functions. For decision vector variables, , These are the first decision variable and the second decision variable, respectively. , , These are three objective functions to be minimized: the first objective function, the second objective function, and the third objective function. For variable link coefficients, This represents the constraints that need to be satisfied. For constraint functions, , These are the first auxiliary function and the second auxiliary function, respectively. It represents the negative value of static stiffness. For total mass, This represents the maximum contact stress.
[0131] The above benchmark test examples were processed through steps S1 to S5 of the machine learning-driven multi-objective optimization design method for new energy pickup truck frames provided by this invention to obtain experimental results.
[0132] To further illustrate this embodiment, a chassis optimization design method from this embodiment is compared with another decomposition-based multi-objective evolutionary algorithm. The maximum number of simulation evaluations in this embodiment is set to 1000, and the experimental results are shown in Table 1. Under the same number of simulation samples, the method of this embodiment obtains the minimum IGD value and is significantly better than the decomposition-based multi-objective evolutionary algorithm. It can be considered that the method of this embodiment has good performance in the single-objective multi-constraint design problem of chassis lightweight design.
[0133] Table 1. Comparison of optimization results of different methods
[0134]
[0135] This invention provides a machine learning-driven multi-objective optimization design method for new energy pickup truck frames. It constructs a constraint-aware frame optimization Transformer model (FOT) for multi-objective optimization of new energy pickup truck frames and completes pre-evolution. The FOT model generates candidate offspring frames through an end-to-end mapping from population to population. A Gaussian process is established for each objective and constraint, and a smooth Chebyshev set scalarization function is constructed to confirm the optimal frame from the candidate offspring frames. This provides a systematic solution for the optimization design of frame structures with bending stiffness, bending mode, and weight as objectives, and torsional stiffness and torsional mode as constraints.
[0136] Example 2
[0137] This embodiment provides a computer device, including a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the steps described in Embodiment 1.
[0138] The memory can be volatile or non-volatile, or a combination of both. Non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The memory of this invention is intended to include, but is not limited to, these and any other suitable types of memory.
[0139] The processor can be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method can be completed by integrated logic circuits in the processor's hardware or by instructions in software form. The processor can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in this invention. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in this invention can be directly embodied in the execution of a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules can reside in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory; the processor reads information from the memory and, in conjunction with its hardware, completes the steps of the above method.
[0140] The method steps in Embodiment 1 can be implemented using hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), DSP Devices (DSPDs), Programmable Logic Devices (PLDs), Field-Programmable Gate Arrays (FPGAs), general-purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described in this application, or combinations thereof.
[0141] Software implementation can be achieved by executing functional modules (such as procedures, functions, etc.). Software code can be stored in memory and executed by the processor. Memory can be implemented in the processor or outside the processor.
[0142] Example 3
[0143] This embodiment 1 provides a computer-readable storage medium storing a computer program thereon, characterized in that the computer program, when executed by a processor, implements the steps of the machine learning-driven multi-objective optimization design method for new energy pickup truck frames in embodiment 1.
[0144] Computer storage media can include various media that can store program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0145] Example 4
[0146] This embodiment provides a computer program product, including a computer program, characterized in that, when the computer program is executed by a processor, it implements the steps of the machine learning-driven multi-objective optimization design method for new energy pickup truck frames in Embodiment 1.
[0147] Specifically, computer program products include: data signals and data signals embodied in a carrier wave.
[0148] The specific embodiments of the present invention have been described above. Based on the above description, those skilled in the art can make various changes and modifications without departing from the technical concept of the present invention.
Claims
1. A machine learning-driven multi-objective optimization design method for new energy pickup truck frames, characterized in that, The method includes, S1. Using the length, width, height and thickness parameters of the key cross-section of the frame as continuous design parameters and the material parameters of the key cross-section of the frame as discrete design parameters, based on the structural characteristics of the frame and combined with static load analysis, a simulation model and a mathematical optimization model are constructed with bending stiffness, bending mode, weight and target as constraints, and torsional stiffness and torsional mode as constraints. S2. Construct a design space based on the range of design parameters, generate an initial population and establish a database using Latin hypercube and diversity criteria, construct a constraint-aware frame optimization Transformer model FOT for multi-objective optimization of new energy pickup truck frames and complete pre-evolution. S3 adopts a pre-evolved FOT model, which uses an end-to-end mapping method from population to population. It inputs a high-quality parent population that has been constrained by non-dominated sorting and crowding selection, and generates offspring candidate populations through autoregressive decoding, replacing the traditional crossover and mutation operator. It also ensures that the parameters meet the upper and lower bound constraints of the design through a physically feasible output layer. S4. Based on the current chassis optimization database, Gaussian process surrogate models are constructed for each optimization objective and constraint to quickly predict the performance indicators of candidate sub-chamber chassis. A smooth Chebyshev set scalarization function is constructed, and considering both convergence and diversity indicators, the optimal candidate chassis set for the current iteration is selected from the candidate sub-chamber chassis. S5. Perform simulation evaluation on the selected optimal candidate chassis, update the database and FOT and Gaussian process models, return to step S3, until the performance indicators meet the design requirements, and output the chassis parameter values.
2. The machine learning-driven multi-objective optimization design method for new energy pickup truck frames according to claim 1, characterized in that, Step S1 includes: S11, taking into account the structural characteristics of the frame, the longitudinal beam section height, longitudinal beam section width, longitudinal beam web thickness, longitudinal beam flange thickness, crossbeam section height, crossbeam section width, crossbeam wall thickness, longitudinal position of the front crossbeam, longitudinal position of the middle crossbeam, frame length, frame width, and frame height are taken as continuous variables, while the longitudinal beam material grade, crossbeam material grade, longitudinal beam section, crossbeam section, and number of longitudinal beam stiffeners are taken as discrete variables. The continuous and discrete variables are used as design parameters. S12. Based on the load conditions of the frame structure and the material selection of the frame crossbeams and longitudinal beams, a three-dimensional model is constructed using the geometric modeling software Solidworks and parameterized to obtain the parameterized model. S13. Import the parametric model, the load conditions of the frame structure and the key boundary conditions into the preprocessing software AnsysWorkbench for finite element analysis to obtain the finite element analysis model. S14, based on the finite element analysis model, uses the structural optimization and multiphysics simulation solver to perform static load analysis and obtain simulation models of the frame's bending stiffness, bending mode, weight, torsional stiffness, and torsional mode; S15, based on the simulation model of the chassis's bending stiffness, bending mode, weight, torsional stiffness, and torsional mode, constructs an optimization mathematical model of the chassis with the optimization objectives of maximizing bending stiffness, maximizing bending mode, and minimizing weight, and with the constraints of maximizing torsional stiffness and maximizing torsional mode. The specific formula is as follows: , , , in, This indicates the search for the optimal solution to the design parameters. Indicates the design parameters of the frame. Indicates the height of the longitudinal beam section. Indicates the width of the longitudinal beam section. Indicates the thickness of the web of the longitudinal beam. Indicates the thickness of the longitudinal beam flange. Indicates the height of the beam section. Indicates the width of the beam cross section. Indicates the thickness of the beam wall. Indicates the longitudinal position of the front crossbeam. Indicates the longitudinal position of the middle crossbeam. Indicates the frame length. Indicates the width of the frame. Indicates the frame height. Indicates the material grade of the longitudinal beam. Indicates the material grade of the crossbeam. Indicates the cross-sectional shape of the longitudinal beam. Indicates the cross-sectional shape of the beam. Indicates the number of longitudinal beam reinforcement bars. This indicates finding the minimum value. Indicates the frame in design variables The corresponding multi-objective optimization objective function vector at that time, This represents the minimum transformation form of the frame bending stiffness. This represents the minimum transition form of the frame bending modes. Indicates the total weight of the frame. These are constraints that need to be satisfied. Indicates the torsional stiffness of the frame. This indicates the design threshold for the torsional stiffness of the chassis. Indicates the torsional mode of the frame. This indicates the design threshold for the torsional mode of the vehicle frame.
3. The machine learning-driven multi-objective optimization design method for new energy pickup truck frames according to claim 1, characterized in that, Step S2 includes: S21. Based on the design requirements, determine the range of design parameter values and construct a hybrid design space that includes continuous and discrete design parameters. ,Right now ,in This indicates that the continuous design space corresponds to 12 continuous design parameters, and the specific order of the 12 continuous design parameters is as follows: , Indicates the height of the longitudinal beam section. Indicates the width of the longitudinal beam section. Indicates the thickness of the web of the longitudinal beam. Indicates the thickness of the longitudinal beam flange. Indicates the height of the beam section. Indicates the width of the beam cross section. Indicates the thickness of the beam wall. Indicates the longitudinal position of the front crossbeam. Indicates the longitudinal position of the middle crossbeam. Indicates the frame length. Indicates the width of the frame. This indicates the frame height, and the value range for each parameter is... , This indicates that the discrete design space corresponds to 5 discrete design parameters, and the specific order of the 5 discrete design parameters is as follows: , Indicates the material grade of the longitudinal beam. Indicates the material grade of the crossbeam. Indicates the cross-sectional shape of the longitudinal beam. Indicates the cross-sectional shape of the beam. Indicates the number of longitudinal beam reinforcement bars; S22 employs a Latin hypercube sampling method that integrates the maximum and minimum distance diversity criteria in a hybrid design space. The generated scale is initial population ,in For the first Each initial design sample is simulated and evaluated to calculate its bending stiffness. Bending mode ,gross weight Torsional stiffness Torsional mode And construct an initial optimization database containing design parameters, target values, and constraint values. Store the design parameters and corresponding simulation performance metrics of all initial samples; S23 is a dedicated FOT model built on the encoder-decoder Transformer architecture, which replaces the crossover and mutation reproduction operators of traditional multi-objective evolutionary algorithms to achieve end-to-end intelligent generation from parent population to offspring population. In response to the hard constraint characteristics and mixed variable features of chassis optimization, the FOT model adopts a modular design, which includes four core components in sequence: a mixed variable normalization embedding module, an objective-constraint weighted joint encoding module, an adaptive constraint weighted encoder-decoder architecture, and a differentiable physical feasible output layer. S24 addresses the issue that continuous parameters with different dimensions and discrete parameters encoded with integers cannot be directly input into the Transformer. For the first... Generation population Each sample in The specific formulas for type differentiation and normalization, and for continuous parameter normalization and discrete parameter encoding normalization are as follows: , By using a trainable linear projection matrix, the normalized... 100-dimensional samples are uniformly mapped to a fixed hidden dimension pre-defined by Transformer. The population embedding matrix is obtained as follows: in, Indicates the first The generation The first sample Normalized values of continuous parameters, Indicates the first The generation The first sample The original values of the continuous parameters, Indicates the index of continuous design parameters, and its value range is: , Indicates the first The lower bound of a continuous design parameter, Indicates the first The upper bound of a continuous design parameter. Indicates the index of discrete design parameters, and its value range is: , Indicates the first The generation The first sample Normalized values of discrete parameters, This represents a discrete variable integer encoding function that maps discrete categories to continuous integers. Indicates the first The generation The first sample Discrete design parameters Indicates the first The lower bound of the encoding of a discrete design parameter Indicates the first The upper bound of the encoding of a discrete design parameter. Indicates the first The generation The complete normalized vector of each sample This represents the total dimensions of the design parameters. This represents the fixed hidden dimension of the Transformer model. This represents a trainable dimensional embedding weight matrix with dimension . , Indicates the first The dimension embedding matrix of the generation population, with dimension . ; S25, the objective value and constraint violation degree are jointly encoded to guide the model to prioritize learning and generating feasible solutions that satisfy the constraints, and the first step is to calculate... The generation The constraint violation vector for each sample quantifies the degree of violation of torsional stiffness and torsional modal constraints. The specific formula is as follows: in, Indicates the first The generation The constraint violation degree vector of each sample. This indicates the design threshold for the torsional stiffness of the chassis. This represents the design threshold for the torsional mode of the chassis. This represents the function that maximizes the value, where the constraint violation of the feasible solution is 0. Linear projections are then performed on the objective value and the constraint violation, introducing constraint weight coefficients. The encoding weights of the enhanced constraint information are finally added to the embedding matrix to obtain the input of the Transformer encoder; S26, by The layers consist of stacked encoders and decoders with identical layers. An adaptive constraint weighting mechanism dynamically adjusts the attention weights between feasible and infeasible solutions. The feasible solution-aware encoder extracts the global evolutionary features of the parent population and adds a feasible solution attention mask, allowing the self-attention mechanism to focus more on high-quality feasible solutions. The specific formula is as follows: , in, This indicates the total number of layers in the encoder and decoder. This represents the layer index of the encoder / decoder, with a value range of... , Indicates the encoder's first... The output feature matrix of the layer, This represents a multi-head self-attention function. The layer normalization function is used to stabilize the training process. This represents the attention mask matrix for feasible solutions. The attention weights for feasible solutions are multiplied by 1.2, and those for infeasible solutions are multiplied by 0.
8. This represents a multilayer perceptron function; an adaptive constraint-weighted encoder generates offspring samples sequentially using an autoregressive approach, based on the proportion of feasible solutions in the current generation. Dynamically adjust cross attention weights ; S27 ensures that all generated frame parameters meet the physical upper and lower bound constraints at the model level. At the same time, the Gumbel-Softmax reparameterization technique is used to achieve end-to-end differentiable training of discrete variables. The output of continuous variables is restricted to the [0,1] interval by the Sigmoid activation function and then inversely normalized to the physical range of the design variables. S28, based on the initial optimized database Generate intergenerational evolution pairs dataset using the NSGA-II algorithm. The FOT is pre-trained using a joint loss function of parameters, objectives, and constraints. The specific formula is as follows: , in, This represents the total loss function for the pre-training of the FOT model. The weight coefficients of the loss function are represented. This represents the mean squared error loss function. This represents the offspring population predicted by the FOT model. This represents the vector of the offspring population objective function predicted by the FOT model. This represents the constraint violation vector of the offspring population predicted by the FOT model.
4. The machine learning-driven multi-objective optimization design method for new energy pickup truck frames according to claim 1, characterized in that, Step S3 includes: S31 employs a pre-evolved FOT model, following an end-to-end mapping logic from population to population, replacing the crossover and mutation reproduction operators of traditional multi-objective evolutionary algorithms, based on the current... Generation population Perform constraint-based non-dominated sorting and crowding selection to filter out products of size [size missing]. The high-quality parent population is selected, and feasible solutions that satisfy torsional stiffness or modal constraints are retained first. The objective function vector corresponding to the high-quality parent population is obtained simultaneously. With constraint violation degree vector The input triples that constitute the FOT model define the end-to-end population mapping relationship of the FOT model. , where the input is the first The output is the first generation of high-quality parent populations and their corresponding performance indicators. Complete offspring population and simulation evaluation results; In step S32, the high-quality parent population is input into the FOT encoder. Through a multi-layer multi-head self-attention mechanism and an MLP block, the global evolutionary features of the population are extracted, and the association weights between feasible solutions and high-quality individuals are strengthened. The parent population is first transformed into the encoder input matrix through a mixed variable normalization embedding module. The encoder passes Layer feature extraction, outputting the global evolutionary feature matrix of the parent population; The S33 decoder generates offspring chassis samples one by one using an autoregressive approach. It fuses the global evolutionary features of the parent population through constrained weighted cross-attention and ensures that the parameters meet the upper and lower bounds of the design through a physically feasible output layer. This replaces the traditional crossover mutation operator and dynamically adjusts the cross-attention constraint weighting coefficients. When the proportion of feasible solutions in the parent population hour, Upgraded to 1.5, enhancing the transmission of feasible solution features; S34, decoding each generation of child chassis parameters Immediately import the finite element model for bending and torsion simulation. If the simulation fails to converge or exhibits numerical anomalies, trigger the regeneration mechanism: call the decoder to regenerate the solution, and calculate the objective function value for the convergent offspring. With constraint violation degree A complete dataset of offspring population performance is constructed, and positions that cannot generate valid solutions are removed, ultimately yielding a dataset of size [size missing]. Effective offspring population ; S35, utilizing the current generation's evolutionary... To perform online fine-tuning of the FOT model and improve its adaptability to the current optimization problem, a joint loss function for parameters, objectives, and constraints is defined. , in, This represents the total loss function for the pre-training of the FOT model. The weight coefficients of the loss function are represented. This represents the mean squared error loss function. This represents the offspring population predicted by the FOT model. This represents the vector of the offspring population objective function predicted by the FOT model. This represents the constraint violation vector of the offspring population predicted by the FOT model. A sliding window update strategy is used, retaining the evolutionary data of the most recent 5 generations to form a mixed training set. The FOT model parameters are updated in batches, and the AdamW optimizer is used with a learning rate of 5×10⁻⁶. -5 The weight update step size of the constraint coding layer is increased by 1.5 times, which enhances the learning of constraint information.
5. The machine learning-driven multi-objective optimization design method for new energy pickup truck frames according to claim 1, characterized in that, Step S4 includes: S41, Based on the simulation evaluation results, add the offspring population and performance indicators generated in the current iteration to the optimization database to construct the training dataset for the surrogate model; S42, for each optimization objective and constraint, construct an independent GPR surrogate model, establish the mapping relationship between the design variable Y and the performance index, achieve rapid prediction without simulation, define the training dataset, and define the objective function. The training set is Similarly, for Construct training sets separately Assuming any performance index The process of taking Gaussian measures: The mean function is a constant mean function. The covariance function uses the RBF kernel function; after training, the new design variables are... The predicted mean and variance of GPR Indicates the distribution of a Gaussian process. The kernel function represents the covariance function. This represents the signal variance and the fluctuation range of the control function. It represents the length scale and controls the smoothness of the function. Represents the Euclidean distance between the design variable vectors; S43, using the trained GPR surrogate model, evaluates the candidate offspring population. Perform performance prediction; S44: Construct a smooth Chebyshev set scalarization function, and comprehensively consider convergence and diversity indicators to select the optimal candidate frame set for the current iteration from the candidate offspring frames.
6. The machine learning-driven multi-objective optimization design method for new energy pickup truck frames according to claim 1, characterized in that, Step S5 includes: S51, The simulation model is used to perform simulation evaluation on the selected optimal candidate frame to obtain the target value and constraint value corresponding to the optimal candidate frame; S52, Update the database and the FOT and Gaussian process models; S53, determine whether the torsional stiffness, bending stiffness, torsional mode, bending mode and weight of the best offspring frame meet the design requirements of each index respectively; if they meet the requirements, output the optimal parameter values; otherwise, return to step S3 to continue iterative optimization until the optimization requirements are met, and output the optimal parameter values.
7. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1-6.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1-6.
9. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1-6.
