A hydraulic cylinder sealing structure optimization method and system based on pgd and cma-es
By combining PGD and CMA-ES, an explicit analytical mathematical model is established and tightly coupled iterative optimization is performed, which solves the multi-objective contradictions in hydraulic cylinder seal design, realizes rapid and accurate seal structure optimization, and the output can be used for engineering design.
Patent Information
- Application Number
- CN202611654684.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-26
- Publication Date
- 2026-11-24
AI Technical Summary
Hydraulic cylinder seal design faces the contradiction between internal leakage, sealing friction, and uneven distribution of contact pressure. Traditional design methods lack systematic theoretical guidance, are complex and costly to calculate, and are difficult to optimize.
An explicit analytical mathematical model is established using a method based on PGD and CMA-ES. Initial samples are generated using Sobol sequences, and the model is trained using Pareto non-dominated sorting and preference model. Tightly coupled closed-loop iterative optimization is then performed by combining six-layer physical constraint manifold guidance and Pareto front local curvature adaptive covariance update.
It achieves rapid and accurate optimization of sealing structures, with generated parameters strictly within the physically feasible range, improving design efficiency and optimization transparency. The output parameters can be directly used for engineering design.
Smart Images

Figure CN123159145A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of hydraulic seal design and multi-objective optimization technology, and in particular to a hydraulic cylinder seal structure optimization method and system based on PGD (Preference-Guided Diffusion) and CMA-ES (Covariance Matrix Adaptation Evolution Strategy). Background Technology
[0002] As the core actuator of a hydraulic system, the sealing performance of a hydraulic cylinder directly determines the system's operating efficiency, reliability, and service life. Hydraulic cylinder seal design faces three conflicting performance indicators: lower internal leakage leads to higher volumetric efficiency, but excessive sealing pressure causes a sharp increase in sealing friction, increasing energy loss and accelerating seal wear; simultaneously, uneven axial pressure distribution generates localized stress concentration, significantly shortening seal fatigue life. The inherent contradiction between these three factors makes seal structure design a typical multi-objective optimization problem.
[0003] Traditional hydraulic cylinder seal design primarily relies on designers' engineering experience, physical experiments, and finite element simulation. Experience-based design methods lack systematic theoretical guidance, have long design cycles, and struggle to guarantee optimality. Physical experiments are costly, requiring the fabrication of multiple prototypes for bench testing, making them unsuitable for large-scale exploration within the design space. While finite element simulation can accurately calculate the mechanical behavior and leakage characteristics of the sealing structure, it is complex to model and computationally time-consuming, often requiring hours or even days for a single simulation, making it difficult to effectively integrate with iterative optimization algorithms. Furthermore, none of these methods can reveal the explicit mathematical relationship between structural parameters and sealing performance, limiting the transparency and interpretability of the optimization process. Summary of the Invention
[0004] The purpose of this invention is to provide a hydraulic cylinder sealing structure optimization method based on PGD and CMA-ES. By establishing an explicit analytical mathematical model, a six-layer physical constraint manifold guide composed of independent boundaries and mutually coupled boundaries of five structural parameters (δ, α, L, R, c) is embedded in the reverse denoising process of the diffusion model to ensure that the generated solution is strictly located in the physical feasible region. In CMA-ES, Pareto front local curvature adaptive covariance update is introduced to make the sampling concentrated along the front tangent direction. Continuous improvement is achieved through a tightly coupled closed-loop iteration of "feedback injection → retraining → regeneration" to solve the technical problems mentioned in the background.
[0005] The present invention also provides a hydraulic cylinder sealing structure optimization system based on PGD and CMA-ES.
[0006] Terminology Explanation: Sobol sequences are low-discrepancy sequences, commonly used deterministic sampling sequences in quasi-Monte Carlo methods. Compared to purely random sampling, Sobol sequences can generate more uniformly distributed sampling points in multidimensional space, avoiding the "clustering" and "gap" phenomena common in random sampling. Their core principle is to recursively generate the next sampling point using an XOR operation on a set of binary basis vectors called the "direction number," ensuring good uniformity in low-dimensional projections of any dimension. In this invention, Sobol sequences are used to generate initial candidate structural parameter combinations in a five-dimensional design space (δ, α, L, R, c), ensuring maximum coverage of the entire design space with minimal sample size, providing a sufficiently diverse initial dataset for training subsequent preference models and denoising networks.
[0007] To achieve the above objectives, the present invention provides the following technical solution: A method for optimizing the seal structure of a hydraulic cylinder based on PGD and CMA-ES includes: Step 1: Establish an explicit analytical mathematical model between the hydraulic cylinder sealing structure parameters and sealing performance. The sealing structure parameters include the sealing pre-compression amount, sealing lip angle, sealing effective contact length, sealing transition fillet radius, and radial clearance c between the piston and cylinder. The sealing performance includes internal leakage, total sealing friction, and contact pressure uniformity index. The explicit analytical mathematical model consists of four interconnected sub-models: contact pressure calculation, internal leakage calculation, friction calculation, and uniformity index calculation. The output of the previous sub-model serves as the input condition for the next sub-model, forming a complete calculation link from structural parameters to the three sealing performance indices. Step 2: Use low-difference sequences to generate initial candidate structure parameter combinations in the five-dimensional design space, substitute them into the explicit analytical mathematical model described in Step 1 to calculate the sealing performance index corresponding to each candidate structure, and form an initial dataset; Step 3: Based on the initial dataset described in Step 2, Pareto non-dominated sorting is performed to obtain the superiority / inferiority level labels of each sample. The level labels are used as supervised information to train the preference model. At the same time, the denoising network is trained to learn the probability distribution of the design space. A global advantageous structural parameter candidate set is generated through a back diffusion process guided by structural constraint manifold. The structural constraint manifold guidance refers to embedding the five physical boundaries of the sealed structural parameters and the coupling boundaries between parameters as six layers of hard constraint projections into each step of the diffusion model, so that the generated structural parameters are strictly located within the physical feasible manifold. Step 4: Based on the global dominant structural parameter candidate set described in Step 3, select Pareto non-dominated solutions to form a seed pool. Rotate the initial covariance matrix of the adaptive evolution strategy of the covariance matrix along the principal axis and anisotropically scale it according to the local tangent direction of the Pareto front of the seed pool, so that the initial samples are concentrated along the front direction. During the iterative sampling process, the rotation correction term of the covariance matrix is adaptively adjusted based on the local curvature of the current Pareto front, so that the sampling distribution follows the curved path distribution of the Pareto front. After the iteration is completed, output the locally refined structural parameter solution set. Step 5: Based on the locally refined structural parameter solution set described in Step 4, calculate the hypervolume index of the Pareto front. If the relative increment of the hypervolume index is not less than 0.1% in three consecutive iterations, the locally refined structural parameter solution set from Step 4 is reinjected as a new sample into the initial dataset described in Step 2, assigned the highest Pareto level label, and the preference model and denoising network are retrained using an incremental fine-tuning strategy that inherits the weights from the previous round. Then, return to Step 3 to continue execution. If the relative increment of the hypervolume index is less than 0.1% in three consecutive iterations, convergence is determined, and proceed to Step 6. Step 6: Based on the converged Pareto front, the internal leakage, total sealing friction and contact pressure uniformity of each solution are weighted and comprehensively scored according to the engineering preference coefficient. The combination of structural parameters with the highest comprehensive score is selected as the optimal design scheme output.
[0008] According to a preferred embodiment of the present invention, in step 1, the sealing structure parameters are defined as follows: ; in, Pre-compression amount for sealing, in mm; The sealing lip angle is in degrees; L is the effective sealing contact length in mm; R is the sealing transition fillet radius in mm; c is the radial clearance between the piston and cylinder in mm. The engineering feasible range for each sealing structure parameter is: ∈[0.1,2.0], α∈[15°,60°], L∈[2,10], R∈[0.2,2.0], c∈[0.02,0.15].
[0009] According to a preferred embodiment of the present invention, in step 1, the explicit analytical mathematical model includes contact pressure calculation, internal leakage calculation, friction force calculation, and uniformity index calculation. Contact pressure calculation, effective compression based on seal structure parameters. The calculation formula is: ; in, This is the fillet softening factor, with a value ranging from 0.3 to 0.6; Calculate the average contact pressure based on the effective compressibility. The calculation formula is: ; in, This is the equivalent sealing stiffness coefficient. E is the elastic modulus, and t is the effective sealing thickness; An axial pressure distribution model is constructed based on the average contact pressure, and the calculation formula is as follows: ; In the formula, Right now p(x) is the distribution function of contact pressure along the axial direction, representing the contact pressure value at the axial coordinate x of the sealing contact strip; Where x is the axial coordinate, β(X) is the pressure non-uniformity coefficient, and the formula for calculating β(X) is: ; in, These are dimensionless weighting coefficients.
[0010] Further preferred, , .
[0011] According to a preferred embodiment of the present invention, internal leakage calculation is performed based on the average contact pressure and sealing structure parameters to calculate the effective oil film thickness. The calculation formula is: ; in, Based on the basic assembly clearance, The compression-oil film effect coefficient, The coefficient of dynamic pressure effect. The flattening compliance coefficient of the material; The value range is 0.5 to 2.0, and it is dimensionless; The value range is 0.01 to 0.1, and it is dimensionless; The value range is 0.001~0.01 mm / MPa; Calculate internal leakage based on effective oil film thickness. The calculation formula is: ; Where D is the piston diameter. To seal the pressure difference at both ends, μ is the dynamic viscosity of the oil.
[0012] According to a preferred embodiment of the present invention, the friction force calculation is based on the average contact pressure and the effective oil film thickness to calculate the total sealing friction force. Friction, calculated using the following formula: ;
[0013] in, is the coefficient of friction between the seal and the cylinder wall, with a value ranging from 0.05 to 0.3; v is the piston speed.
[0014] According to a preferred embodiment of the present invention, the uniformity index is calculated based on the pressure non-uniformity coefficient, thereby calculating the contact pressure uniformity index. The uniformity index is calculated using the following formula: ;
[0015] Where β(X) is the pressure non-uniformity coefficient.
[0016] According to a preferred embodiment of the present invention, in step 2, the low-difference sequence is a Sobol sequence, which generates N sets of initial candidate structural parameters in the five-dimensional design space. The value of N ranges from 500 to 2000; Substitute the values into the explicit analytical mathematical model described in step 1 to calculate the internal leakage amount corresponding to each candidate structure. Total sealing friction The initial dataset consists of the contact pressure uniformity index. ,in Let be the candidate structural parameters for the i-th group. These are the three corresponding sealing performance indicators.
[0017] According to a preferred embodiment of the present invention, in step 3, the Pareto non-dominated sorting is performed as follows: for any two sets of structural parameters A and B, if all three target values of A are less than or equal to the corresponding target values of B and at least one target value is less than the corresponding target value of B, then A is determined to dominate B; all individuals not dominated by any other sample constitute the first Pareto layer, i.e., the current Pareto front; after removing the first Pareto layer, non-dominated individuals are searched again among the remaining individuals to form the second Pareto layer, and so on until all individuals have completed the hierarchical assignment.
[0018] According to a preferred embodiment of the present invention, in step 3, a preference model is trained using hierarchical labels as supervised information. The preference model is implemented using a small neural network, which includes 2-3 fully connected layers with 32-64 hidden layer neurons. The input is the normalized five-dimensional structural parameters, and the output is the preference score. Training labels are constructed based on the Pareto hierarchical assignment results. The preference score of the first Pareto layer sample is set to 1.0, the preference score of the second Pareto layer sample is set to 0.5, and the preference score of the third and subsequent Pareto layer samples is set to 0. The normalized structural parameters are used as input. The normalized structural parameters refer to the values obtained by linearly mapping the five structural parameters (δ, α, L, R, c) to the interval [-1, 1]. The preference model is trained using a ranking-comparison loss function. The ranking comparison loss function for: ; Where margin is a boundary constant with a value of 0.1. express Dominate ; This refers to the preference model's effect on structural parameters. Output preference scores; This refers to the preference model's effect on structural parameters. Output preference scores; Furthermore, the denoising network is trained. Implemented using a standard U-Net architecture or a fully connected network, with noisy data as input. The position is encoded at time step t, and the output is the predicted noise ε; the structural parameters, namely the five structural parameters (δ, α, L, R, c), are normalized to... In this interval, a clear structure is gradually transformed into pure noise through a forward noise addition process. The forward noise addition formula is: ; Where t is the number of diffusion steps, For noise dispatch coefficient, ,in For noise scheduling parameters; I is the identity matrix; training the denoising network. loss function for: ; in, For time step t, initial data The joint expectation of the noise ε; For initial clear data; The noise sampled from the standard normal distribution N(0,I); This represents the noise prediction value provided by the denoising network. The value is the simple loss function value; Let t be the noisy data at step t.
[0019] According to a preferred embodiment of the present invention, in step 3, structural constraint manifold guidance refers to embedding the five physical boundaries of the sealing structure parameters and the coupling boundaries between the parameters as six layers of hard constraint projections into each sampling step during the reverse denoising process of the diffusion model; and constructing a complete six-layer constraint system based on the physical boundaries of the five structural parameters δ, α, L, R, c and their coupling relationships. The first layer consists of independent boundary constraints for each parameter, ensuring that each parameter is always within the feasible region of the project; the feasible regions of the five parameters are: δ∈[0.1,2.0], α∈[15°,60°], L∈[2,10], R∈[0.2,2.0], c∈[0.02,0.15]; The second layer is a compression-gap coupling constraint, where there is a physical coupling relationship between the sealing precompression δ and the radial gap c. ;in The coupling coefficient is... Minimum effective compression; When the sampling point violates the compression-gap coupling constraint, the projection operator is used. Project the sampling points onto the boundary of the feasible manifold: ; The third layer is the contact length-corner ratio constraint, constraint function. for: ,in, This is the scaling factor; when the sampling point violates the contact length-corner ratio constraint, it is determined by the projection operator. Adjust L to ; The fourth layer is the lip angle-contact length stability constraint, and the constraint function is... for: When a sampling point violates this constraint, the projection operator is used. Adjust α to ; The fifth layer is the effective compression amount-contact length coordination constraint, and the constraint function is... for: ,in, and x represents the upper and lower limits of the scaling factor. When the sampling point is below the lower limit, the projection operator... Increase δ to When the number of sampling points exceeds the upper limit, δ will be reduced to [a lower limit]. .
[0020] The sixth layer is the minimum effective compression constraint, and the constraint function is... for: ,in It is a very small positive number; In the backdiffusion process guided by a structured constrained manifold, from pure noise Starting from t=T,T−1,…,1, execute the standard backward denoising step, the preference gradient guided step, and the structural constraint manifold projection step in sequence: The standard reverse denoising step is as follows: ; In the formula, This is the result of the standard inverse denoising at step t-1; Let be the standard deviation of the random noise at step t; This refers to random noise sampled from a standard normal distribution N(0,I); The preference gradient-guided step is as follows: ; in, For adaptive guidance strength, The value ranges from 0.1 to 0.5; Structural constraint manifold projection step, applying six layers of projection sequentially: ; In the formula, For feasibility projection operators; The projection operator is constrained to minimize effective compression. For effective compression-contact length coordinated constraint projection operator; For the lip angle-contact length stability constraint projection operator; For contact length-fillet ratio constraint projection operator; For compression-gap coupling constraint projection operator; For each parameter, an independent boundary constraint projection operator is used; This represents the composition of functions; the projection order is as follows: first, perform independent boundary clamping, then apply coupling constraints between parameters sequentially; simultaneously, record the degree of comprehensive constraint violation during the Pareto sorting stage. : ; in =max(0,z); After the back diffusion is completed, M global dominant structure parameter candidates are generated, and the value of M is 100.
[0021] According to a preferred embodiment of the present invention, in step 4, the initial covariance matrix of the adaptive evolution strategy of the covariance matrix is subjected to principal axis rotation and anisotropic scaling with respect to the local tangent direction of the Pareto front of the seed pool, specifically including: Pareto front local tangent estimation: for every nondominated solution in the seed pool S ,pass The positional difference between the preceding and following neighboring solutions in the target space is estimated. Local tangential direction of the Pareto front Set the seed pool according to the first target value After sorting in ascending order, for the internal solution , , Let be the local tangent direction vector of the Pareto front at the i-th solution (five-dimensional); normalize is a normalization function that scales the vector to unit length. , where is the three-dimensional objective value vector; the tangent direction of the boundary solution is estimated by the nearest one-sided difference; the final estimated local tangent direction of the Pareto front. It is a five-dimensional vector, representing the solution The direction of change of each structural parameter as it moves along the Pareto front; Principal axis rotation of the covariance matrix: Calculate the average tangent direction of all non-dominated solutions in the seed pool. Construct rotation matrix Rotate the standard base to The direction of the first principal axis is applied to the sample covariance matrix. : ; In the formula, This refers to the initial covariance matrix of CMA-ES; a 5×5 matrix. It refers to the sample covariance matrix of all non-dominated solutions in the seed pool S; This refers to a rotation matrix that rotates the standard basis to a value. The direction of the first principal axis; Anisotropic scaling: The eigenvalues of the initial covariance matrix are magnified by a factor of ρ=2.0 along the tangent direction and shrunk by a factor of ρ=2.0 along the normal direction; the eigenvalues of the initial covariance matrix refer to the eigenvalues of the tangent direction. The diagonal elements of the diagonal matrix Λ = diag(λ1, λ2, ..., λ5) obtained after eigenvalue decomposition.
[0022] Furthermore, in step 4, the rotation correction term of the covariance matrix adaptively adjusted based on the local curvature of the current Pareto front includes: Pareto front local curvature estimation: Extracting the current Pareto front solution set at each generation of sampling points. For each non-dominated solution on the frontier The local curvature at a given point is estimated by the rate of change of the tangent direction of the neighborhood solution. That is, the local curvature of the Pareto front: ,in and Estimate the tangent direction at adjacent solutions; Covariance matrix rotation correction based on Pareto front local curvature: Introducing a curvature-dependent rotation correction term into the update of the covariance matrix. covariance matrix The updated formula is:
[0023] In the formula, This refers to the covariance learning rate, with a value of 0.3. This refers to the evolutionary path of generation g+1; This refers to the number of valid parent generations; It refers to the weight coefficient of the i-th elite solution; This refers to the i-th elite solution in the (g+1)-th generation; It refers to the mean vector of the g-th generation; This refers to the step size in the g-th generation; This refers to curvature adaptive weights. ; This refers to the curvature-dependent rotational correction term; For curvature adaptive weights, The current cutting-edge average curvature.
[0024] Further preferably, in step 4, the population size for iterative sampling... The value of is 10. In each generation, the first μ=5 optimal solutions are selected for mean and covariance updates. The iteration number G is 50. After iteration, the output is... A locally refined solution of structural parameters The value is 20.
[0025] According to a preferred embodiment of the present invention, in step 5, the specific method of reinjection is as follows: Solution of structural parameters and target value after local refinement [ , , As a new sample, it is injected into the dataset. Where r is the closed-loop iteration round number, and these injected samples are also assigned the injected dataset. The highest Pareto level label is forcibly marked as the first Pareto level.
[0026] According to a preferred embodiment of the present invention, in step 5, the preference model and the denoising network are retrained using an incremental fine-tuning strategy that inherits the weights from the previous round. Specifically, the preference model... The initialization parameters inherit the weights from the previous round, and incremental training is performed in a small number of rounds, mainly using newly injected samples; denoising network The same inheritance initialization plus incremental training strategy is used.
[0027] According to a preferred embodiment of the present invention, in step 5, the hypervolume index HV measures the Pareto front relative to a reference point in the three-dimensional target space. The total volume of space dominated; when three consecutive iterations satisfy When the condition is met for three consecutive rounds, proceed to the next closed-loop iteration; When convergence is determined, the closed-loop iteration is terminated.
[0028] According to a preferred embodiment of the present invention, in step 6, a weighted comprehensive score is performed on the internal leakage, total sealing friction, and contact pressure uniformity indices of each solution based on the engineering preference coefficient, specifically as follows: For each solution X on the final Pareto front, calculate the normalized objective value: , , ; According to the engineering preference coefficient , , ,satisfy + ,+ =1, calculate the overall score: ; The solution with the highest comprehensive score is selected as the optimal combination of sealing structure parameters, i.e., the optimal design scheme output.
[0029] A hydraulic cylinder seal structure optimization system based on PGD and CMA-ES includes: The mathematical model construction module is configured to: establish an explicit analytical mathematical model between the hydraulic cylinder sealing structure parameters and sealing performance. The sealing structure parameters include sealing pre-compression, sealing lip angle, sealing effective contact length, sealing transition radius, and radial clearance between the piston and cylinder. The sealing performance includes internal leakage, total sealing friction, and contact pressure uniformity index. The explicit analytical mathematical model includes four interconnected sub-models: contact pressure calculation, internal leakage calculation, friction calculation, and uniformity index calculation. The output of the previous sub-model serves as the input condition for the next sub-model, forming a complete calculation link from structural parameters to the three sealing performance indices. The initial dataset generation module is configured to: generate initial candidate structure parameter combinations in the five-dimensional design space using low-difference sequences, substitute them into the explicit analytical mathematical model to calculate the sealing performance index corresponding to each candidate structure, and form the initial dataset; The preference-guided diffusion optimization module is configured to: perform Pareto non-dominated sorting based on the initial dataset to obtain the superiority-inferiority hierarchical labels of each sample; train the preference model with the hierarchical labels as supervised information; simultaneously train the denoising network to learn the probability distribution of the design space; and generate a global advantageous structural parameter candidate set through a reverse diffusion process guided by structural constraint manifolds. The structural constraint manifold guidance refers to embedding the five physical boundaries of the sealed structural parameters and the coupling boundaries between parameters as six layers of hard constraint projections into each step of the diffusion model sampling, so that the generated structural parameters are strictly located within the physically feasible manifold. The closed-loop iterative control module is configured to: based on the global dominant structural parameter candidate set, select Pareto non-dominated solutions to form a seed pool; rotate the initial covariance matrix of the adaptive evolution strategy of the covariance matrix by the principal axis and anisotropically scale it according to the local tangent direction of the Pareto front of the seed pool, so that the initial samples are concentrated along the front direction; during the iterative sampling process, adaptively adjust the rotation correction term of the covariance matrix based on the local curvature of the current Pareto front, so that the sampling distribution follows the curved path distribution of the Pareto front; after the iteration is completed, output the locally refined structural parameter solution set; The engineering decision output module is configured to: calculate the hypervolume index of the Pareto front; based on the converged Pareto front, perform a weighted comprehensive score on the internal leakage, total sealing friction and contact pressure uniformity index of each solution according to the engineering preference coefficient; and select the structural parameter combination with the highest comprehensive score as the optimal design scheme output.
[0030] Compared with the prior art, the present invention has the following beneficial effects: 1. Complete five-parameter, six-layer physical constraint manifold guidance. Unlike existing standard diffusion models that rely solely on preference model soft gradient guidance, this invention constructs a complete six-layer hard constraint system based on the physical boundaries of the five structural parameters δ, α, L, R, and c, and their coupling relationships—independent boundary constraints for each parameter, compressibility-gap coupling constraints, and so on. Contact length - fillet ratio constraint Lip angle-contact length stability constraint Effective compression amount - contact length coordination constraint Minimum effective compression constraint As a hard constraint projection, it is sequentially embedded in each sampling step of the diffusion model, which fundamentally ensures that the generated structural parameters are strictly located within the feasible manifold defined by the physical coupling boundaries of the five structural parameters, thus avoiding the constraint relaxation problem of the soft penalty term near the boundary.
[0031] 2. Pareto Front Geometric Adaptive CMA-ES Refinement. Unlike existing standard CMA-ES techniques that update the covariance matrix solely based on elite solution statistics, this invention initializes the principal axes of the covariance matrix with the local tangent direction of the seed pool Pareto front, stretching the initial sampling along the front direction rather than isotropically diffusing it; and in each iteration, it refines the covariance matrix based on the local curvature of the front. Adaptive rotation covariance matrix, through curvature adaptive weight γ= By controlling the strength of the rotation correction term, the sampling distribution automatically follows the curved path of the Pareto front, ensuring that the sampling points are always densely distributed near the front rather than perpendicular to the front direction, thus avoiding wasting sampling resources.
[0032] 3. Tightly Coupled Closed-Loop Iterative Mechanism. Unlike the single-step serial process of "PGD generation → CMA-ES refinement" in existing technologies, this invention monitors the convergence status through the hypervolume index HV. When convergence is not achieved, the CMA-ES refinement solution is back-injected into the dataset. The preference model and denoising network are retrained using an inheritance initialization + incremental fine-tuning strategy. This causes the generated distribution of PGD to gradually drift towards the fine frontier region discovered by CMA-ES, forming a spiral-upward improvement closed loop of "PGD provides broad coverage → CMA-ES provides high accuracy → feedback narrows and focuses the coverage of PGD → provides even higher accuracy and broader coverage again".
[0033] 4. Millisecond-level pure analytical calculation engine. By establishing a complete explicit analytical mathematical model (seven formulas are linked together to form a complete calculation link from structural parameters to three sealing performance indicators), a single performance evaluation only takes milliseconds, which is several orders of magnitude faster than finite element simulation (several hours / time), making large-scale closed-loop iterative optimization feasible in engineering.
[0034] 5. End-to-end engineering output. The final output of optimal structural parameters [δ∗,α∗,L∗,R∗,c∗] consists of five specific values, which can be directly used for engineering drawing annotation and sealing mold design, realizing a seamless connection from design space to manufacturing solution. Attached Figure Description
[0035] Figure 1 This is a schematic diagram of the overall process of the hydraulic cylinder sealing structure optimization method based on PGD and CMA-ES of the present invention. Figure 2 This is a diagram illustrating the module architecture for constructing the mathematical model of this invention. Figure 3This is a diagram of the preference-guided diffusion optimization module architecture of the present invention; Figure 4 This is a diagram of the covariance matrix adaptive local optimization module architecture of the present invention; Figure 5 This is a diagram of the closed-loop iterative control module architecture of the present invention; Figure 6 This is an architecture diagram of the engineering decision output module of this invention. Detailed Implementation
[0036] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0037] Example 1 A method for optimizing the seal structure of a hydraulic cylinder based on PGD and CMA-ES, such as Figure 1 As shown, it includes: Step 1: Establish an explicit analytical mathematical model between the hydraulic cylinder sealing structure parameters and sealing performance. The sealing structure parameters include the sealing pre-compression amount δ, the sealing lip angle α, the effective sealing contact length L, the sealing transition fillet radius R, and the radial clearance c between the piston and cylinder. The sealing performance includes the internal leakage amount. Total sealing friction and contact pressure uniformity index The explicit analytical mathematical model includes four interconnected sub-models: contact pressure calculation, internal leakage calculation, friction force calculation, and uniformity index calculation. The output of the previous sub-model serves as the input condition for the next sub-model, forming a complete calculation link from structural parameters to the three sealing performance indices. Step 2: Use low-difference sequences (Sobol sequences) to generate initial candidate structure parameter combinations in the five-dimensional design space, substitute them into the explicit analytical mathematical model of Step 1 to calculate the sealing performance index corresponding to each candidate structure, and form the initial dataset; Step 3: Based on the initial dataset from Step 2, Pareto non-dominated sorting is performed to obtain the superiority / inferiority hierarchy labels for each sample. The hierarchy labels are used as supervised information to train the preference model. At the same time, the denoising network is trained to learn the probability distribution of the design space. A global set of candidate structural parameters is generated through a back-diffusion process guided by structural constraints manifold. Structural constraints manifold guidance refers to embedding the five physical boundaries of the sealed structural parameters and the coupling boundaries between parameters as six layers of hard constraint projections into each step of the diffusion model, so that the generated structural parameters are strictly located within the physical feasible manifold. Step 4: Based on the global dominant structural parameter candidate set from Step 3, select Pareto non-dominated solutions to form a seed pool. Rotate the initial covariance matrix of the adaptive evolution strategy along the principal axis and anisotropically scale it using the local tangent direction of the Pareto front in the seed pool, so that the initial samples are concentrated along the front direction. During the iterative sampling process, the rotation correction term of the covariance matrix is adaptively adjusted based on the local curvature of the current Pareto front, so that the sampling distribution follows the curved path distribution of the Pareto front. After the iteration is completed, output the locally refined structural parameter solution set. Step 5: Based on the structural parameter solution set after local refinement in Step 4, calculate the hypervolume index of the Pareto front. If the relative increment of the hypervolume index is not less than 0.1% for three consecutive iterations, the structural parameter solution set after local refinement in Step 4 is injected back into the initial dataset of Step 2 as a new sample, assigned the highest Pareto level label, and the preference model and denoising network are retrained using the incremental fine-tuning strategy that inherits the weights from the previous round. Then, return to Step 3 to continue execution, forming a tightly coupled closed-loop iteration of "PGD global generation → CMA-ES local refinement → feedback injection → retraining → regeneration". If the relative increment of the hypervolume index is less than 0.1% for three consecutive iterations, convergence is determined, and proceed to Step 6. Step 6: Based on the converged Pareto front, the internal leakage, total sealing friction and contact pressure uniformity of each solution are weighted and comprehensively scored according to the engineering preference coefficient. The combination of structural parameters with the highest comprehensive score is selected as the optimal design scheme output.
[0038] Example 2 The difference between the hydraulic cylinder seal structure optimization method based on PGD and CMA-ES described in Example 1 is as follows: In step 1, the sealing structure parameters are defined as follows: ; in, Pre-compression amount for sealing, in mm; The sealing lip angle is in degrees; L is the effective sealing contact length in mm; R is the sealing transition fillet radius in mm; c is the radial clearance between the piston and cylinder in mm. The engineering feasible range for each sealing structure parameter is: ∈[0.1,2.0], α∈[15°,60°], L∈[2,10], R∈[0.2,2.0], c∈[0.02,0.15].
[0039] In step 1, such as Figure 2 As shown, the explicit analytical mathematical model includes calculations of contact pressure, internal leakage, friction force, and uniformity index. Contact pressure calculation, effective compression based on seal structure parameters. The calculation formula is: ; in, This is the fillet softening factor, with a value ranging from 0.3 to 0.6; The formula is determined by the Poisson's ratio ν of the sealing material. For rubber-based sealing materials, Poisson's ratio ν is typically 0.45–0.49, corresponding to… Approximately 0.3 to 0.6. A typical value is 0.45. The term originates from the vector decomposition of hydraulic force—only the radial component acts on the cylinder wall to achieve compression sealing; the 1 / L term indicates that the longer the contact length, the lower the equivalent compression effect per unit length. According to Hertzian contact theory, the larger the fillet radius, the more dispersed the contact stress distribution, and the "softening" effect of compression is achieved.
[0040] Calculate the average contact pressure based on the effective compressibility. The calculation formula is: ; in, The equivalent sealing stiffness coefficient is calculated from the hardness of the sealing material using a table. E is the elastic modulus, and t is the effective sealing thickness; An axial pressure distribution model is constructed based on the average contact pressure, and the calculation formula is as follows: ; In the formula, Right now p(x) is the distribution function of contact pressure along the axial direction, representing the contact pressure value at the axial coordinate x of the sealing contact strip; Where x is the axial coordinate, β(X) is the pressure non-uniformity coefficient, and the formula for calculating β(X) is: ; in, This is a dimensionless weighting coefficient. In the pressure non-uniformity coefficient, Increasing R will exacerbate pressure concentration (positive term), while increasing R can alleviate pressure concentration (negative term).
[0041] , .
[0042] Internal leakage calculation, based on average contact pressure and sealing structure parameters, calculates the effective oil film thickness. The calculation formula is: ; in, Based on the basic assembly clearance, The compression-oil film effect coefficient, The coefficient of dynamic pressure effect. The flattening compliance coefficient of the material; The value ranges from 0.5 to 2.0 and is dimensionless; a typical value is 1.0. This coefficient reflects the extrusion efficiency of the pre-compression on the oil film thickness. The value ranges from 0.01 to 0.1, and is dimensionless; a typical value is 0.05. This coefficient reflects the efficiency of the hydrodynamic lifting of the oil film generated by the converging wedge gap at the fillet. The value ranges from 0.001 to 0.01 mm / MPa; a typical value is 0.005 mm / MPa. This coefficient reflects the flexibility of the sealing rubber body under elastic compression caused by contact pressure.
[0043] The effective oil film thickness formula also includes a positive feedback term that increases the oil film thickness. , ) and negative feedback terms that reduce oil film ( , ),in Derived from the hydrodynamic lubrication theory (Reynolds effect), the increased fillet radius forms a converging wedge-shaped gap, generating dynamic pressure to lift the oil film; Based on the theory of elastohydrodynamic lubrication, increased contact pressure causes the sealing rubber body to elastically flatten and encroach on the oil film space; Calculate internal leakage based on effective oil film thickness. The calculation formula is: ; Where D is the piston diameter. To seal the pressure difference at both ends, μ is the dynamic viscosity of the oil. The internal leakage is proportional to the cube of the effective oil film thickness. This relationship comes from the rigorous derivation of the Navier-Stokes equations for laminar flow in parallel flat plates in fluid mechanics. Changes in the micron-level oil film thickness will cause the leakage to fluctuate by orders of magnitude.
[0044] Friction force calculation, based on average contact pressure and effective oil film thickness, calculates the total sealing friction force. Friction, calculated using the following formula:
[0045] in, The coefficient of friction between the seal and the cylinder wall is denoted as ν, ranging from 0.05 to 0.3. The specific value depends on the pairing properties of the sealing material and the cylinder wall material. ν is the piston speed. The total sealing friction includes both contact friction and viscous friction. Derived from Coulomb's law of friction, viscous friction. This is derived from Newton's law of internal friction; when the effective oil film thickness decreases, the internal leakage decreases in a cubic relationship, while the viscous friction increases in an inverse relationship, forming a mathematical multi-objective conflict.
[0046] The uniformity index is calculated based on the pressure non-uniformity coefficient, specifically the contact pressure uniformity index. The uniformity index is calculated using the following formula:
[0047] Where β(X) is the pressure non-uniformity coefficient. The optimization objective of the contact pressure uniformity index is: →1, meaning the contact pressure distribution along the axial direction tends to be uniform; this contact pressure uniformity index is directly related to the seal fatigue life, based on Basquin's high-cycle fatigue formula. ( ),optimization →1 essentially maximizes the fatigue life of the seal.
[0048] In step 2, the low-discrepancy sequences are Sobol sequences, which generate N sets of initial candidate structural parameters in the five-dimensional design space. The value of N ranges from 500 to 2000; Substitute the values into the explicit analytical mathematical model from step 1 to calculate the internal leakage rate for each candidate structure. Total sealing friction The initial dataset consists of the contact pressure uniformity index. ,in Let be the candidate structural parameters for the i-th group. These are the three corresponding sealing performance indicators.
[0049] In step 3, the Pareto non-dominated sort is performed. For any two sets of structural parameters A and B, if all three target values of A are less than or equal to the corresponding target values of B and at least one target value is less than the corresponding target value of B, then A is determined to dominate B. All individuals not dominated by any other samples constitute the first Pareto layer, i.e., the current Pareto front. After removing the first Pareto layer, non-dominated individuals are searched again among the remaining individuals to form the second Pareto layer, and so on until all individuals have completed the hierarchical assignment.
[0050] In multi-objective optimization, a Pareto layer is a hierarchical structure obtained by ranking all individuals in a population according to Pareto dominance relationships. Specifically, it is defined as follows:
[0051] First Pareto layer ( Pareto front: The set of all individuals not dominated by any other individual, i.e., the Pareto front of the current population.
[0052] Second Pareto layer ( ): After removing the first layer from the remaining individuals, find the set of individuals that are not dominated by any other individuals.
[0053] The third Pareto layer ( And thereafter: and so on, until all individuals have completed the hierarchical allocation.
[0054] The smaller the Pareto tier number, the better the overall performance of the individuals in that tier. The first tier is the optimal tier, followed by the second tier, and the larger the tier number, the worse the quality of the individuals.
[0055] In step 3, the preference model is trained using hierarchical labels as supervised information. The role of the preference model is to learn "what combinations of structural parameters are more likely to be located on the Pareto front" and output a preference score. In this invention, the preference model is implemented using a small neural network, which includes 2-3 fully connected layers with 32-64 hidden layer neurons. The input is the normalized five-dimensional structural parameters, and the output is the preference score (a scalar between 0 and 1). Training labels are constructed based on the Pareto hierarchical assignment results (the output of the Pareto non-dominated ranking). The preference score of the first Pareto layer sample is set to 1.0, the preference score of the second Pareto layer sample is set to 0.5, and the preference score of the third and subsequent Pareto layer samples is set to 0. The normalized structural parameters are used as input. The normalized structural parameters refer to the values obtained by linearly mapping the five structural parameters (δ, α, L, R, c) to the interval [-1, 1]. The preference model is trained using a ranking comparison loss function. Ranking and comparison loss functions for:
[0056] ; Where margin is a boundary constant with a value of 0.1. express Dominate ; This refers to the preference model's effect on structural parameters. Output preference scores; This refers to the preference model's effect on structural parameters. Output preference scores; Training the denoising network, denoising network Implemented using a standard U-Net architecture or a fully connected network, with noisy data as input. The location encoding at time step t is used, and the output is the predicted noise ε. This network architecture belongs to a well-known technique in the field of diffusion models, normalizing the structural parameters, namely the five structural parameters (δ, α, L, R, c), to... In this interval, a clear structure is gradually transformed into pure noise through a forward noise addition process. The forward noise addition formula is: ; Where t is the number of diffusion steps, For noise dispatch coefficient, ,in For noise dispatching parameters; according to the cosine dispatching scheme, from ≈ 1×10⁻ 4 Gradually increase to ≈ 0.02, It gradually decays from close to 1 to close to 0. When t=T=1000, ≈ 0, the data becomes pure noise. I is the identity matrix; training the denoising network. loss function for:
[0057] ; in, For time step t, initial data The joint expectation of the noise ε; For initial clear data (normalized structural parameters); The noise sampled from the standard normal distribution N(0,I); This represents the noise prediction value provided by the denoising network. The value is the simple loss function value; Let t be the noisy data at step t.
[0058] The implementation methods for training a denoising network to learn the probability distribution of a design space include: the denoising network learns from any noisy state... The noise added in the prediction This task implicitly grasps the data manifold of high-probability regions (i.e., regions containing high-quality structural parameters) in the design space. Specifically, the forward noise-adding process gradually transforms clear data into pure noise, and the denoising network learns the inverse process, that is, gradually recovers clear data that conforms to the training data distribution from the pure noise. Once training is complete, the clear data from the pure noise... Starting from ~ N(0,I), a new combination of structural parameters that conforms to the design spatial distribution can be generated through a reverse denoising process.
[0059] Perform a fast non-dominated sort on the initial dataset. For any two sets of structure parameters A and B, if the three target values of A are [ , , If all values are less than or equal to the corresponding value of B, and at least one is strictly less than B, then A is considered to dominate B. All individuals not dominated by any other sample constitute the first Pareto layer. After removing, continue to layer to obtain , .
[0060] The preference model training submodule constructs training labels based on the Pareto hierarchy: Preference score 1.0 Preference score 0.5, Preference scores of 0 and above are used. The preference model is trained using the normalized structural parameters as input and a ranking-comparison loss function. (X).
[0061] The diffusion model training submodule normalizes the structural parameters to By progressively adding noise to the data, clear data is transformed into pure noise, and a denoising network is trained. .
[0062] Unlike the standard diffusion model in the prior art that relies solely on the gradient soft guidance of the preference model, the reverse diffusion process of the present invention sequentially applies six layers of hard constraint projection defined by the physical boundaries of five structural parameters (δ, α, L, R, c) and their mutual coupling relationships in each sampling step.
[0063] From pure noise Starting from t=T,T−1,…,1, execute the standard backward denoising step, the preference gradient guided step, and the structural constraint manifold projection step in sequence.
[0064] In step 3, such as Figure 3 As shown, structural constraint manifold guidance refers to embedding the five physical boundaries of the sealed structural parameters and the coupling boundaries between the parameters as six layers of hard constraint projections into each sampling step during the reverse denoising process of the diffusion model. Unlike the standard diffusion model that relies solely on the soft gradient guidance of the preference model in the prior art, this invention constructs a complete six-layer constraint system based on the physical boundaries of the five structural parameters δ, α, L, R, c and their coupling relationships. The first layer consists of independent boundary constraints (gboundary) for each parameter, ensuring that each parameter is always within the feasible region of the project. The feasible regions for the five parameters are: δ∈[0.1,2.0], α∈[15°,60°], L∈[2,10], R∈[0.2,2.0], and c∈[0.02,0.15]. When a sampling point exceeds the boundary of any variable, the variable is clamped to the nearest boundary value through the projection operator Pgboundary.
[0065] The second layer is a compression-gap coupling constraint ( There is a physical coupling relationship between the sealing pre-compression amount δ and the radial clearance c—both together determine the effective compression amount, which must be guaranteed to be [value missing]. The physical basis of this constraint is that when the radial clearance increases, the support at the seal root weakens. If the pre-compression amount does not increase accordingly, the effective compression amount will be insufficient to maintain the seal pressure. The constraint function is... ,in This is the coupling coefficient (typically 5-10). Minimum effective compression;
[0066] When the sampling point violates the compression-gap coupling constraint, the projection operator is used. Project the sampling points onto the boundary of the feasible manifold: ; The third layer is the contact length-corner radius constraint. The effective contact length L must be greater than a certain multiple of the fillet radius R to ensure sufficient support width at the root of the sealing lip and prevent local crushing caused by an excessively narrow contact band. (Constraint function) for: ,in This is a scaling factor (typically 3-5); when the sampling point violates the contact length-corner ratio constraint, the projection operator is used. Adjust L to This ensures that the root of the sealing lip has sufficient support width to prevent local crushing caused by an excessively narrow contact band.
[0067] The fourth layer is the lip angle-contact length stability constraint. The lip angle α cannot be too large, otherwise the lip will resemble a cantilever beam structure, resulting in excessive bending moment at the root under hydraulic pressure. Simultaneously, the contact length L cannot be too short, otherwise it will fail to provide sufficient flexural section modulus. This constraint ensures that the root of the sealing lip has sufficient structural stiffness to prevent buckling. Constraint function for: When a sampling point violates this constraint, the projection operator is used. Adjust α to ;
[0068] The fifth layer is the effective compression amount-contact length coordination constraint ( Effective compression The ratio of the compression amount to the contact length L must be within a reasonable range to ensure that the contact pressure is not excessively concentrated due to excessive compression, nor is it excessively dispersed due to insufficient compression. Constraint function for: ,in, and x represents the upper and lower limits of the scaling factor (typically ranging from 0.01 to 0.5). When the sampling point is below the lower limit, the projection operator... Increase δ to When the number of sampling points exceeds the upper limit, δ will be reduced to [a lower limit]. This ensures that the contact pressure is not excessively concentrated due to excessive compression, nor is it too dispersed due to insufficient compression.
[0069] The sixth layer is the minimum effective compression constraint ( Regardless of the combination of parameters, the effective compression must be greater than zero to ensure positive contact pressure between the sealing lip and the cylinder wall; otherwise, the seal will completely fail. (Constraint function) for: ,in It is a very small positive number;
[0070] In the backdiffusion process guided by a structured constrained manifold, from pure noise Starting from t=T,T−1,…,1, execute the standard backward denoising step, the preference gradient guided step, and the structural constraint manifold projection step in sequence: The standard reverse denoising step is as follows: ; In the formula, This is the result of the standard inverse denoising at step t-1; Let be the standard deviation of the random noise at step t; This refers to random noise sampled from a standard normal distribution N(0,I); The preference gradient-guided step is as follows: ; in, For adaptive guidance strength, The value ranges from 0.1 to 0.5; Structural constraint manifold projection step, applying six layers of projection sequentially: ; In the formula, For feasibility projection operator, it means to apply the following layers of constraints to the input point within the brackets in sequence, so that it falls into the feasible manifold defined by the physical coupling boundaries of the five structural parameters. The minimum effective compression is constrained by the projection operator; corresponding to the sixth layer constraint, it ensures that the effective compression is greater than or equal to the minimum positive number. . This is the effective compression amount - contact length coordination constraint projection operator; corresponding to the fifth layer constraint, it ensures that the ratio of effective compression amount to contact length is within a reasonable range. The projection operator is the stability constraint operator for lip angle-contact length; corresponding to the fourth layer constraint, it ensures that the lip angle satisfies tan(α) ≤ L / (2R). This is the contact length-fillet ratio constraint projection operator; corresponding to the third layer constraint, it ensures that the contact length L is greater than or equal to a specified multiple of the fillet radius R. This is the compression-gap coupling constraint projection operator; corresponding to the second layer of constraints, it ensures that the pre-compression and radial gap satisfy... ·c ≥ . For each parameter, an independent boundary constraint projection operator is used; corresponding to the first layer of constraints, each parameter is clamped to the engineering feasible region; This represents the composition of functions; the projection order is as follows: first, perform independent boundary clamping, then apply coupling constraints between parameters sequentially; simultaneously, record the degree of comprehensive constraint violation during the Pareto sorting stage. :
[0071] ; in =max(0,z); In Pareto dominance decision, the solution with a smaller constraint violation is preferred over the solution with a larger constraint violation—that is, when two solutions are at the same Pareto level, the solution with the smaller Φ(X) is better.
[0072] After back diffusion is completed, M global dominant structure parameter candidates are generated, where M is 100.
[0073] In step 4, the initial covariance matrix of the adaptive evolution strategy is rotated along its principal axis and anisotropically scaled using the local tangent direction of the Pareto front of the seed pool, as shown below. Figure 4 As shown, it specifically includes: Unlike the diagonal covariance or simple sample covariance initialization of standard CMA-ES, the initialization of this invention is based on the Pareto front geometry of the seed pool: Pareto front local tangent estimation: A seed pool S is formed by selecting Pareto non-dominated solutions from 100 candidates generated by PGD. For each non-dominated solution in seed pool S... ,pass The positional difference between the preceding and following neighboring solutions in the target space is estimated. Local tangential direction of the Pareto front Set the seed pool according to the first target value After sorting in ascending order, for the internal solution , , Let be the local tangent direction vector of the Pareto front at the i-th solution (five-dimensional); normalize is a normalization function that scales the vector to unit length. , where is the three-dimensional objective value vector; the tangent direction of the boundary solution is estimated by the nearest one-sided difference; the final estimated local tangent direction of the Pareto front. It is a five-dimensional vector (with the same dimensions as the design variables), representing the solution. The direction of change of each structural parameter when moving along the Pareto front; this tangent direction corresponds to the direction of "how the structural parameters should be adjusted in coordination to maintain performance without degradation".
[0074] Principal axis rotation of the covariance matrix: Calculate the average tangent direction of all non-dominated solutions in the seed pool. Construct rotation matrix Rotate the standard base to The direction of the first principal axis is applied to the sample covariance matrix. : ; In the formula, This refers to the initial covariance matrix of CMA-ES; a 5×5 matrix. It refers to the sample covariance matrix of all non-dominated solutions in the seed pool S; This refers to a rotation matrix that rotates the standard basis to a direction with v_avg as the first principal axis. Anisotropic scaling: The eigenvalues of the initial covariance matrix are magnified by a factor of ρ=2.0 along the tangent direction and reduced by a factor of ρ=2.0 along the normal direction; this makes the sampling points more likely to be distributed on the Pareto front rather than in the direction perpendicular to the front. The eigenvalues of the initial covariance matrix refer to the eigenvalues of the initial covariance matrix. The diagonal elements of the diagonal matrix Λ = diag(λ1, λ2, ..., λ5) obtained after eigenvalue decomposition.
[0075] In step 4, the rotation correction term of the covariance matrix is adaptively adjusted based on the local curvature of the current Pareto front, including: In each iteration of CMA-ES, the update direction of the covariance matrix is dynamically adjusted using the local curvature of the current Pareto front: Pareto front local curvature estimation: Extracting the current Pareto front solution set at each generation of sampling points. For each non-dominated solution on the frontier The local curvature at a given point is estimated by the rate of change of the tangent direction of the neighborhood solution. That is, the local curvature of the Pareto front: ,in and Estimate the tangent direction at adjacent solutions; curvature The curvature reflects the degree of curvature of the Pareto front near the solution—the greater the curvature, the more severe the curvature of the front, and the more the covariance matrix needs to be rotated to follow the direction of the front; the smaller the curvature, the closer the front is to a straight line, and the covariance matrix is mainly convergent in a standard convex manner.
[0076] Covariance matrix rotation correction based on Pareto front local curvature: Introducing a curvature-dependent rotation correction term into the update of the covariance matrix. covariance matrix The updated formula is:
[0077] In the formula, This refers to the covariance learning rate, with a value of 0.3. This refers to the evolutionary path of generation g+1; This refers to the number of valid parent generations; It refers to the weight coefficient of the i-th elite solution; This refers to the i-th elite solution in the (g+1)-th generation; It refers to the mean vector of the g-th generation; This refers to the step size in the g-th generation; This refers to curvature adaptive weights. ; This refers to the curvature-dependent rotational correction term; For curvature adaptive weights, This represents the current frontier average curvature. When... When γ is large, as γ→1, the covariance matrix update focuses more on tangential following along the bending front; when When the value is small, γ→0, and the covariance matrix update degenerates into a standard CMA-ES update, focusing on local convex quadratic convergence.
[0078] The covariance adaptive mechanism of "following the frontier": Through the curvature-adaptive covariance update described above, the sampling distribution of CMA-ES automatically "flows" along the curved path of the Pareto front in subsequent generations. Specifically, when CMA-ES samples the straight section of the frontier, the principal axis of covariance remains in a fixed direction, and the sampling points are densely distributed along the straight line; when CMA-ES samples the curved section of the frontier, the principal axis of covariance automatically rotates to follow the curvature change, and the sampling points are distributed along the arc direction.
[0079] In step 4, the population size for iterative sampling The value of is 10. In each generation, the first μ=5 optimal solutions are selected for mean and covariance updates. The iteration number G is 50. After iteration, the output is... A locally refined solution of structural parameters The value is 20.
[0080] In step 4, Pareto non-dominated solutions are selected to form a seed pool; this includes: Step 4.1: Calculation of target values for the candidate set: Substitute the M global advantageous structural parameter candidates (M is 100) generated by PGD in Step 3 into the explicit analytical mathematical model in Step 1 one by one, calculate the three sealing performance indices corresponding to each candidate, and obtain the target value set of the candidate set: ;in, For the i-th candidate structure parameter combination.
[0081] Step 4.2: Fast Non-Dominated Sort: Sort the candidate set Perform a fast non-dominated sort. The specific steps are: traverse all candidate pairs and calculate the dominance relationship—for any two candidates A and B, if all three target values of A are less than or equal to the corresponding target value of B, and at least one is strictly less than, then A is considered dominant to B; count the number of times each candidate is dominated by other candidates. ; All The candidate label is the first Pareto layer. That is, the Pareto front of the current candidate set; remove from the remaining candidates. Then, the above process is repeated to obtain the second Pareto layer. The third Pareto layer Wait until all candidates have completed their hierarchical assignments.
[0082] Step 4.3: Seed pool construction: Take the first Pareto layer All non-dominated solutions constitute the seed pool S: Each solution in the seed pool S is a non-dominant optimal candidate, meaning that no other objective can be further improved without sacrificing any objective. The number of solutions in the seed pool is adaptively determined based on the sparsity of the Pareto front of the candidate set, typically ranging from 5 to 20.
[0083] Step 4.4: Seed Pool Size Control: If the first Pareto layer If there are more than 20 solutions, they are sorted in descending order of crowding distance, and the top 20 are used to form the seed pool. The larger the crowding distance, the sparser the region where the solution is located, and retaining it helps maintain the diversity of the seed pool.
[0084] Step 4.5: Purpose of the Seed Pool: The purpose of the seed pool (SS) is to provide high-quality initial sampling centers for the Covariance Matrix Adaptive Evolutionary Strategy (CMA-ES). Specifically, it serves as the initial mean vector. Find the weighted geometric center of the seed pool S; initial covariance matrix. Obtain the sample covariance matrix of the seed pool S; initial step size .
[0085] In step 5, such as Figure 5 As shown, the specific method of back-injection is: using the refined CMA-ES... Solution of structural parameters and target value after local refinement [ , , As a new sample, it is injected into the dataset. Where r is the closed-loop iteration round number, and these injected samples are also assigned the injected dataset. The highest Pareto level label is forcibly marked as the first Pareto level.
[0086] In step 5, the preference model and denoising network are retrained using an incremental fine-tuning strategy that inherits the weights from the previous round. Specifically: Preference Model The initialization parameters inherit the weights from the previous round, and incremental training is performed in a small number of rounds, mainly using newly injected samples; denoising network The same inheritance initialization plus incremental training strategy is used.
[0087] In step 5, the hypervolume index HV measures the Pareto front relative to a reference point in the three-dimensional target space. The total volume of space dominated; when three consecutive iterations satisfy When the condition is met for three consecutive rounds, proceed to the next closed-loop iteration; When convergence is determined, the closed-loop iteration is terminated.
[0088] Calculate the hypervolume index of the Pareto front; including: the hypervolume index HV measures the total volume of space dominated by the Pareto front relative to a reference point r in the three-dimensional target space. Let the reference point be... Pareto Frontier Then HV is defined as:
[0089] in Indicates The super rectangle is bounded by r as the lower bound and r as the upper bound.
[0090] In the three-dimensional case, the recursive pruning method is used for accurate calculation. The specific steps are as follows: (1) Apply the Pareto front solution according to the first objective value Sort in descending order to get .
[0091] (2) Initialization (Upper bound of the second objective).
[0092] (3) For i = 1 to n, calculate the width of the first target dimension. ,like( Then this solution does not contribute to HV); calculate the increment of the second objective dimension. like ,but ); calculate the increment of the third objective dimension. ;Accumulation ;renew .
[0093] (4) Return the final HV value.
[0094] The larger the HV value, the larger the area dominated by the Pareto front in the target space, meaning the better the convergence and diversity of the front.
[0095] In step 6, such as Figure 6 As shown, a weighted comprehensive score is calculated for each solution based on the engineering preference coefficient, considering the internal leakage, total sealing friction, and contact pressure uniformity indices. Specifically: For each solution X on the final Pareto front, calculate the normalized objective value: , , ; According to the engineering preference coefficient , , ,satisfy + ,+ =1, calculate the overall score: ; The solution with the highest comprehensive score is selected as the optimal combination of sealing structure parameters, i.e., the optimal design scheme output. The recommended configuration for typical operating conditions is: [Configuration details omitted for brevity]. =0.8, =0.1, =0.1, taken for high-speed and high-frequency operating conditions =0.1, =0.8, =0.1, for long-life wear-resistant working conditions. =0.2, =0.2, =0.6.
[0096] This invention first establishes five structural parameters δ, α, L, R, and c, and three sealing performance indicators through a mathematical model construction module. , , The explicit analytical mapping relationship between them. The initial dataset generation module generates the initial dataset using Sobol sequences. The preference-guided diffusion optimization module identifies the superior and inferior levels through Pareto ranking, trains the preference model to learn "which structural parameters are better", and trains the denoising network to learn the design spatial distribution. Unlike existing technologies, the reverse denoising process of this invention applies six layers of structural constraint projection in each step: independent boundary clamping of each parameter, compression amount-gap coupling constraint, contact length-rounded corner ratio constraint, lip angle-contact length stability constraint, effective compression amount-contact length coordination constraint, and minimum effective compression amount constraint. This ensures that the generated structural parameters are strictly located within the feasible manifold defined by the physical coupling boundaries of the five structural parameters, while recording the comprehensive constraint violation degree Φ(X) as an auxiliary basis for Pareto ranking. The covariance matrix adaptive local optimization module receives the structural candidates generated by PGD. Unlike existing technologies, this invention initializes the CMA-ES covariance matrix based on the local tangent direction and curvature of the Pareto front of the seed pool, and adaptively rotates the principal axis of the covariance matrix based on the current front curvature in each iteration, so that the sampling "flows" along the curved path of the front. The closed-loop iterative control module injects the refined solution back into the loop, and monitors the convergence status using the hypervolume index—if convergence fails, a new round of closed-loop iteration is triggered; upon convergence, the final optimal solution is output. The engineering decision output module outputs the final optimal structural parameters based on the preference coefficient. The entire technical solution forms a complete chain: "physical modeling → data generation → manifold constraint diffusion generation → curvature adaptive CMA-ES refinement → feedback injection closed-loop iteration → engineering decision output".
[0097] Example 3 A hydraulic cylinder seal structure optimization system based on PGD and CMA-ES includes: The mathematical model building module is configured to: establish an explicit analytical mathematical model between the hydraulic cylinder sealing structure parameters and sealing performance. The sealing structure parameters include the sealing pre-compression amount δ, the sealing lip angle α, the effective sealing contact length L, the sealing transition fillet radius R, and the radial clearance c between the piston and cylinder. The sealing performance includes the internal leakage amount. Total sealing friction and contact pressure uniformity index The explicit analytical mathematical model includes four interconnected sub-models: contact pressure calculation, internal leakage calculation, friction force calculation, and uniformity index calculation. The output of the previous sub-model serves as the input condition for the next sub-model, forming a complete calculation link from structural parameters to the three sealing performance indices. The initial dataset generation module is configured to: generate initial candidate structure parameter combinations in the five-dimensional design space using low-difference sequences (Sobol sequences), substitute them into the explicit analytical mathematical model described in step 1 to calculate the sealing performance index corresponding to each candidate structure, and form the initial dataset; The preference-guided diffusion optimization module is configured to: perform Pareto non-dominated sorting based on the initial dataset to obtain the superiority-inferiority hierarchical labels of each sample; train the preference model with the hierarchical labels as supervised information; simultaneously train the denoising network to learn the probability distribution of the design space; and generate a global advantageous structural parameter candidate set through a reverse diffusion process guided by structural constraint manifolds. The structural constraint manifold guidance refers to embedding the five physical boundaries of the sealed structural parameters and the coupling boundaries between parameters as six layers of hard constraint projections into each step of the diffusion model sampling, so that the generated structural parameters are strictly located within the physically feasible manifold. The closed-loop iterative control module is configured to: based on the global dominant structural parameter candidate set, select Pareto non-dominated solutions to form a seed pool; rotate the initial covariance matrix of the adaptive evolution strategy of the covariance matrix by the principal axis and anisotropically scale it according to the local tangent direction of the Pareto front of the seed pool, so that the initial samples are concentrated along the front direction; during the iterative sampling process, adaptively adjust the rotation correction term of the covariance matrix based on the local curvature of the current Pareto front, so that the sampling distribution follows the curved path distribution of the Pareto front; after the iteration is completed, output the locally refined structural parameter solution set; The engineering decision output module is configured to: calculate the hypervolume index of the Pareto front; based on the converged Pareto front, perform a weighted comprehensive score on the internal leakage, total sealing friction and contact pressure uniformity index of each solution according to the engineering preference coefficient; and select the structural parameter combination with the highest comprehensive score as the optimal design scheme output.
Claims
1. A method for optimizing the sealing structure of a hydraulic cylinder based on PGD and CMA-ES, characterized in that, include: Step 1: Establish an explicit analytical mathematical model between the hydraulic cylinder sealing structure parameters and sealing performance. The sealing structure parameters include the sealing pre-compression amount, sealing lip angle, sealing effective contact length, sealing transition fillet radius, and radial clearance c between the piston and cylinder. The sealing performance includes internal leakage, total sealing friction, and contact pressure uniformity index. The explicit analytical mathematical model consists of four interconnected sub-models: contact pressure calculation, internal leakage calculation, friction calculation, and uniformity index calculation. The output of the previous sub-model serves as the input condition for the next sub-model, forming a complete calculation link from structural parameters to the three sealing performance indices. Step 2: Use low-difference sequences to generate initial candidate structure parameter combinations in the five-dimensional design space, substitute them into the explicit analytical mathematical model described in Step 1 to calculate the sealing performance index corresponding to each candidate structure, and form an initial dataset; Step 3: Based on the initial dataset described in Step 2, Pareto non-dominated sorting is performed to obtain the superiority / inferiority level labels of each sample. The level labels are used as supervised information to train the preference model. At the same time, the denoising network is trained to learn the probability distribution of the design space. A global advantageous structural parameter candidate set is generated through a back diffusion process guided by structural constraint manifold. The structural constraint manifold guidance refers to embedding the five physical boundaries of the sealed structural parameters and the coupling boundaries between parameters as six layers of hard constraint projections into each step of the diffusion model, so that the generated structural parameters are strictly located within the physical feasible manifold. Step 4: Based on the global dominant structural parameter candidate set described in Step 3, select Pareto non-dominated solutions to form a seed pool. Rotate the initial covariance matrix of the covariance matrix adaptive evolution strategy by principal axis and anisotropically scale it with the local tangent direction of the Pareto front of the seed pool, so that the initial sampling is concentrated along the front direction. During the iterative sampling process, the rotation correction term of the covariance matrix is adaptively adjusted based on the local curvature of the current Pareto front, so that the sampling distribution follows the curved path distribution of the Pareto front; after the iteration is completed, the locally refined structural parameter solution set is output. Step 5: Based on the locally refined structural parameter solution set described in Step 4, calculate the hypervolume index of the Pareto front. If the relative increment of the hypervolume index is not less than 0.1% in three consecutive iterations, then the locally refined structural parameter solution set described in Step 4 is used as a new sample and injected back into the initial dataset described in Step 2. The highest Pareto level label is assigned, and the preference model and denoising network are retrained using an incremental fine-tuning strategy that inherits the weights from the previous round. Then, return to Step 3 to continue execution. If the relative increment of the supervolume index is less than 0.1% in three consecutive iterations, then convergence is determined, and proceed to step 6; Step 6: Based on the converged Pareto front, the internal leakage, total sealing friction and contact pressure uniformity of each solution are weighted and comprehensively scored according to the engineering preference coefficient. The combination of structural parameters with the highest comprehensive score is selected as the optimal design scheme output.
2. The method for optimizing the hydraulic cylinder seal structure based on PGD and CMA-ES according to claim 1, characterized in that, In step 1, the sealing structure parameters are defined as follows: ; in, Pre-compression amount for sealing, in mm; The sealing lip angle is in degrees; L is the effective sealing contact length in mm; R is the sealing transition fillet radius in mm; c is the radial clearance between the piston and cylinder in mm. The engineering feasible range for each sealing structure parameter is: ∈[0.1,2.0], α∈[15°,60°], L∈[2,10], R∈[0.2,2.0], c∈[0.02,0.15].
3. The method for optimizing the hydraulic cylinder seal structure based on PGD and CMA-ES according to claim 1, characterized in that, In step 1, the explicit analytical mathematical model includes calculations of contact pressure, internal leakage, friction force, and uniformity index. Contact pressure calculation, effective compression based on seal structure parameters. The calculation formula is: ; in, This is the fillet softening factor, with a value ranging from 0.3 to 0.6; Calculate the average contact pressure based on the effective compressibility. The calculation formula is: ; in, This is the equivalent sealing stiffness coefficient. E is the elastic modulus, and t is the effective sealing thickness; An axial pressure distribution model is constructed based on the average contact pressure, and the calculation formula is as follows: ; In the formula, Right now p(x) is the distribution function of contact pressure along the axial direction, representing the contact pressure value at the axial coordinate x of the sealing contact strip; Where x is the axial coordinate, β(X) is the pressure non-uniformity coefficient, and the formula for calculating β(X) is: ; in, These are dimensionless weighting coefficients; , ; Internal leakage calculation, based on average contact pressure and sealing structure parameters, calculates the effective oil film thickness. The calculation formula is: ; in, Based on the basic assembly clearance, The compression-oil film effect coefficient, The coefficient of dynamic pressure effect. The flattening compliance coefficient of the material; The value range is 0.5 to 2.0, and it is dimensionless; The value range is 0.01 to 0.1, and it is dimensionless; The value range is 0.001~0.01 mm / MPa; Calculate internal leakage based on effective oil film thickness. The calculation formula is: ; Where D is the piston diameter. To seal the pressure difference at both ends, μ is the dynamic viscosity of the oil; Friction force calculation, based on average contact pressure and effective oil film thickness, calculates the total sealing friction force. Friction, calculated using the following formula: ; in, is the seal-cylinder wall friction coefficient, ranging from 0.05 to 0.3; v is the piston speed. The uniformity index is calculated based on the pressure non-uniformity coefficient, specifically the contact pressure uniformity index. The uniformity index is calculated using the following formula: ; Where β(X) is the pressure non-uniformity coefficient.
4. The method for optimizing the hydraulic cylinder seal structure based on PGD and CMA-ES according to claim 1, characterized in that, In step 2, the low-difference sequence is a Sobol sequence, which generates N sets of initial candidate structural parameters in the five-dimensional design space. The value of N ranges from 500 to 2000; Substitute the values into the explicit analytical mathematical model described in step 1 to calculate the internal leakage amount corresponding to each candidate structure. Total sealing friction The initial dataset consists of the contact pressure uniformity index. ,in Let be the candidate structural parameters for the i-th group. These are the three corresponding sealing performance indicators.
5. The method for optimizing the hydraulic cylinder seal structure based on PGD and CMA-ES according to claim 1, characterized in that, In step 3, the Pareto non-dominated sorting is performed. For any two sets of structural parameters A and B, if all three target values of A are less than or equal to the corresponding target values of B and at least one target value is less than the corresponding target value of B, then A is determined to dominate B. All individuals not dominated by any other samples constitute the first Pareto layer, i.e., the current Pareto front. After removing the first Pareto layer, non-dominated individuals are searched again among the remaining individuals to form the second Pareto layer, and so on until all individuals have completed the hierarchical assignment. In step 3, a preference model is trained using hierarchical labels as supervised information. The preference model is implemented using a small neural network, consisting of 2-3 fully connected layers with 32-64 hidden neurons. The input is the normalized five-dimensional structural parameters, and the output is the preference score. Training labels are constructed based on the Pareto hierarchical assignment results: the preference score for samples in the first Pareto layer is set to 1.0, the preference score for samples in the second Pareto layer is set to 0.5, and the preference score for samples in the third and subsequent Pareto layers is set to 0. The normalized structural parameters are used as input; these parameters are obtained by linearly mapping the five structural parameters (δ, α, L, R, c) to the interval [-1, 1]. A ranking-comparison loss function is used to train the preference model. The ranking comparison loss function for: ; Where margin is a boundary constant with a value of 0.
1. express Dominate ; This refers to the preference model's effect on structural parameters. Output preference scores; This refers to the preference model's effect on structural parameters. Output preference scores; Training the denoising network, denoising network Implemented using a standard U-Net architecture or a fully connected network, with noisy data as input. The position is encoded at time step t, and the output is the predicted noise ε; the structural parameters, namely the five structural parameters (δ, α, L, R, c), are normalized to... In this interval, a clear structure is gradually transformed into pure noise through a forward noise addition process. The forward noise addition formula is: ; Where t is the number of diffusion steps, For noise dispatch coefficient, ,in For noise scheduling parameters; I is the identity matrix; training the denoising network. loss function for: ; in, For time step t, initial data The joint expectation of the noise ε; For initial clear data; The noise sampled from the standard normal distribution N(0,I); This represents the noise prediction value provided by the denoising network. The value is the simple loss function value; Let t be the noisy data at step t.
6. The method for optimizing the hydraulic cylinder seal structure based on PGD and CMA-ES according to claim 1, characterized in that, In step 3, structural constraint manifold guidance refers to embedding the five physical boundaries of the sealed structural parameters and the coupling boundaries between the parameters as six layers of hard constraint projections into each sampling step during the reverse denoising process of the diffusion model; and constructing a complete six-layer constraint system based on the physical boundaries of the five structural parameters δ, α, L, R, c and their coupling relationships. The first layer consists of independent boundary constraints for each parameter, ensuring that each parameter is always within the feasible region of the project; the feasible regions of the five parameters are: δ∈[0.1,2.0], α∈[15°,60°], L∈[2,10], R∈[0.2,2.0], c∈[0.02,0.15]; The second layer is a compression-gap coupling constraint, where there is a physical coupling relationship between the sealing precompression δ and the radial gap c. ;in The coupling coefficient is... Minimum effective compression; When the sampling point violates the compression-gap coupling constraint, the projection operator is used. Project the sampling points onto the boundary of the feasible manifold: ; The third layer is the contact length-corner ratio constraint, constraint function. for: ,in, This is the scaling factor; when the sampling point violates the contact length-corner ratio constraint, it is determined by the projection operator. Adjust L to ; The fourth layer is the lip angle-contact length stability constraint, and the constraint function is... for: When a sampling point violates this constraint, the projection operator is used. Adjust α to ; The fifth layer is the effective compression amount-contact length coordination constraint, and the constraint function is... for: ,in, and x represents the upper and lower limits of the scaling factor. When the sampling point is below the lower limit, the projection operator... Increase δ to When the number of sampling points exceeds the upper limit, δ will be reduced to [a lower limit]. ; The sixth layer is the minimum effective compression constraint, and the constraint function is... for: ,in It is a very small positive number; In the backdiffusion process guided by a structured constrained manifold, from pure noise Starting from t=T,T−1,…,1, execute the standard backward denoising step, the preference gradient guided step, and the structural constraint manifold projection step in sequence: The standard reverse denoising step is as follows: ; In the formula, This is the result of the standard inverse denoising at step t-1; Let be the standard deviation of the random noise at step t; This refers to random noise sampled from a standard normal distribution N(0,I); The preference gradient-guided step is as follows: ; in, For adaptive guidance strength, The value ranges from 0.1 to 0.5; Structural constraint manifold projection step, applying six layers of projection sequentially: ; In the formula, For feasibility projection operators; The projection operator is constrained to minimize effective compression. For effective compression-contact length coordinated constraint projection operator; For the lip angle-contact length stability constraint projection operator; For contact length-fillet ratio constraint projection operator; For compression-gap coupling constraint projection operator; For each parameter, an independent boundary constraint projection operator is used; This represents the composition of functions; the projection order is as follows: first, perform independent boundary clamping, then apply coupling constraints between parameters sequentially; simultaneously, record the degree of comprehensive constraint violation during the Pareto sorting stage. : ; in =max(0,z); After the back diffusion is completed, M global dominant structure parameter candidates are generated, and the value of M is 100.
7. The method for optimizing the hydraulic cylinder seal structure based on PGD and CMA-ES according to claim 1, characterized in that, In step 4, the initial covariance matrix of the adaptive evolution strategy is rotated along its principal axis and anisotropically scaled using the local tangent direction of the Pareto front of the seed pool. Specifically, this includes: Pareto front local tangent estimation: for every nondominated solution in the seed pool S ,pass The positional difference between the preceding and following neighboring solutions in the target space is estimated. Local tangential direction of the Pareto front Set the seed pool according to the first target value After sorting in ascending order, for the internal solution , , Let be the local tangent direction vector of the Pareto front at the i-th solution; normalize is the normalization function that scales the vector to unit length. , where is the three-dimensional objective value vector; the tangent direction of the boundary solution is estimated by the nearest one-sided difference; the final estimated local tangent direction of the Pareto front. It is a five-dimensional vector, representing the solution The direction of change of each structural parameter as it moves along the Pareto front; Principal axis rotation of the covariance matrix: Calculate the average tangent direction of all non-dominated solutions in the seed pool. Construct rotation matrix Rotate the standard base to The direction of the first principal axis is applied to the sample covariance matrix. : ; In the formula, This refers to the initial covariance matrix of CMA-ES; a 5×5 matrix. It refers to the sample covariance matrix of all non-dominated solutions in the seed pool S; This refers to a rotation matrix that rotates the standard basis to a direction with v_avg as the first principal axis. Anisotropic scaling: The eigenvalues of the initial covariance matrix are magnified by a factor of ρ=2.0 along the tangent direction and shrunk by a factor of ρ=2.0 along the normal direction; the eigenvalues of the initial covariance matrix refer to the eigenvalues of the tangent direction. The diagonal elements of the diagonal matrix Λ = diag(λ1, λ2, ..., λ5) obtained after eigenvalue decomposition; In step 4, the rotation correction term of the covariance matrix is adaptively adjusted based on the local curvature of the current Pareto front, including: Pareto front local curvature estimation: Extracting the current Pareto front solution set at each generation of sampling points. For each non-dominated solution on the frontier The local curvature at a given point is estimated by the rate of change of the tangent direction of the neighborhood solution. That is, the local curvature of the Pareto front: ,in and Estimate the tangent direction at adjacent solutions; Covariance matrix rotation correction based on Pareto front local curvature: Introducing a curvature-dependent rotation correction term into the update of the covariance matrix. covariance matrix The updated formula is: ; In the formula, This refers to the covariance learning rate, with a value of 0.
3. This refers to the evolutionary path of generation g+1; This refers to the number of valid parent generations; It refers to the weight coefficient of the i-th elite solution; This refers to the i-th elite solution in the (g+1)-th generation; It refers to the mean vector of the g-th generation; This refers to the step size in the g-th generation; This refers to curvature adaptive weights. ; This refers to the curvature-dependent rotational correction term; For curvature adaptive weights, The current cutting-edge average curvature; In step 4, the population size for iterative sampling The value of is 10. In each generation, the first μ=5 optimal solutions are selected for mean and covariance updates. The iteration number G is 50. After the iteration is complete, the output is... A locally refined solution of structural parameters The value is 20.
8. The method for optimizing the hydraulic cylinder seal structure based on PGD and CMA-ES according to claim 1, characterized in that, In step 5, the specific method of injection is as follows: Solution of structural parameters and target value after local refinement [ , , As a new sample, it is injected into the dataset. Where r is the closed-loop iteration round number, and these injected samples are also assigned the injected dataset. The highest Pareto level tag is forcibly marked as the first Pareto level; In step 5, the preference model and denoising network are retrained using an incremental fine-tuning strategy that inherits the weights from the previous round. Specifically: Preference Model The initialization parameters inherit the weights from the previous round, and incremental training is performed in a small number of rounds, mainly using newly injected samples; denoising network The same strategy of inheritance initialization plus incremental training is adopted; In step 5, the hypervolume index HV measures the Pareto front relative to a reference point in the three-dimensional target space. The total volume of space dominated; when three consecutive iterations satisfy When the condition is met for three consecutive rounds, proceed to the next closed-loop iteration; When convergence is determined, the closed-loop iteration is terminated.
9. A method for optimizing the hydraulic cylinder seal structure based on PGD and CMA-ES according to any one of claims 1-8, characterized in that, In step 6, a weighted comprehensive score is calculated for each solution based on the engineering preference coefficient, considering the internal leakage, total sealing friction, and contact pressure uniformity indices. Specifically: For each solution X on the final Pareto front, calculate the normalized objective value: , , ; According to the engineering preference coefficient , , ,satisfy + ,+ =1, calculate the overall score: ; The solution with the highest comprehensive score is selected as the optimal combination of sealing structure parameters, i.e., the optimal design scheme output.
10. A hydraulic cylinder seal structure optimization system based on PGD and CMA-ES, characterized in that, include: The mathematical model construction module is configured to: establish an explicit analytical mathematical model between the hydraulic cylinder sealing structure parameters and sealing performance. The sealing structure parameters include sealing pre-compression, sealing lip angle, sealing effective contact length, sealing transition radius, and radial clearance between the piston and cylinder. The sealing performance includes internal leakage, total sealing friction, and contact pressure uniformity index. The explicit analytical mathematical model includes four interconnected sub-models: contact pressure calculation, internal leakage calculation, friction calculation, and uniformity index calculation. The output of the previous sub-model serves as the input condition for the next sub-model, forming a complete calculation link from structural parameters to the three sealing performance indices. The initial dataset generation module is configured to: generate initial candidate structure parameter combinations in the five-dimensional design space using low-difference sequences, substitute them into the explicit analytical mathematical model to calculate the sealing performance index corresponding to each candidate structure, and form the initial dataset; The preference-guided diffusion optimization module is configured to: perform Pareto non-dominated sorting based on the initial dataset to obtain the superiority-inferiority hierarchical labels of each sample; train the preference model with the hierarchical labels as supervised information; simultaneously train the denoising network to learn the probability distribution of the design space; and generate a global advantageous structural parameter candidate set through a reverse diffusion process guided by structural constraint manifolds. The structural constraint manifold guidance refers to embedding the five physical boundaries of the sealed structural parameters and the coupling boundaries between parameters as six layers of hard constraint projections into each step of the diffusion model sampling, so that the generated structural parameters are strictly located within the physically feasible manifold. The closed-loop iterative control module is configured to: based on the global advantageous structural parameter candidate set, screen Pareto non-dominated solutions to form a seed pool, and perform principal axis rotation and anisotropic scaling on the initial covariance matrix of the covariance matrix adaptive evolution strategy with the Pareto front local tangent direction of the seed pool, so that the initial sampling is concentrated along the front direction. During the iterative sampling process, the rotation correction term of the covariance matrix is adaptively adjusted based on the local curvature of the current Pareto front, so that the sampling distribution follows the curved path distribution of the Pareto front; after the iteration is completed, the locally refined structural parameter solution set is output. The engineering decision output module is configured to: calculate the hypervolume index of the Pareto front; based on the converged Pareto front, perform a weighted comprehensive score on the internal leakage, total sealing friction and contact pressure uniformity index of each solution according to the engineering preference coefficient; and select the structural parameter combination with the highest comprehensive score as the optimal design scheme output.
