A method for predicting wind-induced vibration of front side window of automobile based on improved particle swarm optimization
By improving the particle swarm optimization algorithm to optimize the parameters of the Kriging model, the problem of insufficient accuracy and stability in the prediction of wind vibration of the front side window of automobiles in traditional methods is solved, and a more efficient wind vibration prediction effect is achieved.
Patent Information
- Application Number
- CN202611674270.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-28
- Publication Date
- 2026-11-24
AI Technical Summary
Traditional Kriging models are sensitive to parameter selection and particle swarm optimization algorithms are prone to getting trapped in local optima, resulting in insufficient accuracy and stability in predicting wind-induced vibrations when the front side window of a car is open.
An improved particle swarm optimization algorithm is adopted, which introduces peak response hierarchical initialization, high peak sound pressure level sample error traction, global optimal reverse reconstruction, swarm contraction-expansion switching and mirror perturbation mechanism and elite particle local relearning mechanism to optimize the parameters of the Kriging wind vibration prediction model.
It improves the accuracy and stability of wind vibration prediction for the front side window of a car, reduces the dependence on road tests and high-precision flow field simulation, and enhances the predictive adaptability and global search capability for high peak sound pressure level samples.
Smart Images

Figure CN123159155A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of automotive technology, and more specifically to a method for predicting wind vibration of the front side window of a vehicle based on improved particle swarm optimization. Background Technology
[0002] When a car is traveling at high speed and the driver opens the front side window, the high-speed airflow outside the vehicle interacts with the air inside the passenger compartment. This interaction can easily create periodic vortex shedding and pressure pulsations in the window opening area, inducing low-frequency wind vibration within the vehicle. This wind vibration typically manifests as noticeable low-frequency pressure fluctuations and periodic booming sounds, easily causing discomfort such as ear pressure discomfort, auditory fatigue, irritability, and even dizziness for passengers, thus reducing vehicle ride comfort. Therefore, wind vibration from open front side windows has become a crucial issue in automotive aeroacoustic optimization, overall vehicle NVH performance improvement, and passenger comfort enhancement.
[0003] Currently, prediction of wind-induced vibration in automotive front side windows mainly relies on road tests, wind tunnel tests, or computational fluid dynamics (CFD) simulations. Road tests and wind tunnel tests can realistically reflect the wind-induced vibration characteristics of vehicles, but they are time-consuming, costly, and easily affected by environmental conditions, test equipment, and vehicle status. CFD simulations can obtain rich flow field information, but for unsteady, strongly coupled flow problems such as wind-induced vibration from car window openings, they typically require high mesh quality, small time steps, and large amounts of computational resources, resulting in low computational efficiency.
[0004] In recent years, surrogate models and intelligent optimization algorithms have been increasingly applied to predicting automotive aerodynamic performance. Among these, the Kriging model possesses good small-sample modeling capabilities and is suitable for approximate prediction of nonlinear systems. However, the prediction accuracy of the traditional Kriging model is closely related to its model parameters; inappropriate parameter selection can easily lead to large prediction errors or insufficient model generalization ability. Particle swarm optimization (PSO) algorithms have advantages such as simple structure and high optimization efficiency, and can be used for Kriging model parameter optimization. However, traditional PSO algorithms are prone to premature convergence, local optima, and insufficient late-stage search capabilities in complex nonlinear problems.
[0005] For nonlinear prediction problems such as wind-induced vibration of the front side windows of automobiles, which are affected by the coupling of multiple local structural parameters of the vehicle body, the shortcomings of the traditional surrogate model and the traditional particle swarm optimization algorithm will further affect the prediction accuracy, convergence stability and generalization ability of the model under limited sample conditions. Summary of the Invention
[0006] In view of this, the present invention provides a method for predicting wind vibration of the front side window of a car based on improved particle swarm optimization, so as to solve the problems of sensitivity to parameter selection in the traditional Kriging model and the tendency of the traditional particle swarm optimization algorithm to get trapped in local optima and insufficient search ability in the later stage.
[0007] A method for predicting wind-induced vibration of the front side window of a vehicle based on improved particle swarm optimization includes: Step S1: Obtain wind vibration sample data under the condition of the front side window of the car being open. The wind vibration sample data includes vehicle structural parameter vectors and the corresponding peak sound pressure level inside the vehicle. Step S2: Preprocess the wind vibration sample data obtained in step S1. The preprocessing includes outlier removal and normalization to obtain a training sample set. Step S3: Based on the training sample set obtained in step S2, a Kriging wind vibration prediction model is established. The Kriging wind vibration prediction model is used to describe the nonlinear mapping relationship between vehicle structural parameters and peak sound pressure level inside the vehicle. The relevant scale parameters and relevant exponential parameters of the Kriging wind vibration prediction model are used as model parameters to be optimized. Step S4: Construct an improved particle swarm optimization algorithm. The improved particle swarm optimization algorithm is based on the particle swarm optimization algorithm and introduces a peak response hierarchical initialization mechanism, a high peak sound pressure level sample error traction mechanism, a global optimal reverse reconstruction mechanism, a population shrinkage-expansion switching and mirror perturbation mechanism, and an elite particle local relearning mechanism. The model parameters to be optimized obtained in step S3 are mapped to particle positions, and the particle swarm is initialized using the peak response hierarchical initialization mechanism. Step S5: The improved particle swarm optimization algorithm constructed in step S4 is used to iteratively optimize the parameters of the model to be optimized obtained in step S3, and the optimal position of individual particles, the global optimal position, and the optimal position of the peak sound pressure level sample are updated based on the fitness function. Step S6: When the preset termination condition is met, output the optimal Kriging model parameters; Step S7: Substitute the optimal Kriging model parameters output in step S6 into the Kriging wind vibration prediction model established in step S3 to obtain the optimized Kriging wind vibration prediction model. Input the vehicle structure parameters of the vehicle to be predicted into the optimized Kriging wind vibration prediction model and output the wind vibration prediction result of the front side window of the car.
[0008] The wind vibration prediction method for the front side window of a vehicle based on improved particle swarm optimization provided by the present invention has the following beneficial effects: 1. This invention uses vehicle structural parameters as input and in-vehicle peak sound pressure level as output to establish a Kriging wind vibration prediction model. The relevant scale parameters and relevant exponential parameters of the Kriging wind vibration prediction model are mapped to particle positions for optimization. Under limited sample conditions, it can characterize the nonlinear mapping relationship between vehicle structural parameters and the wind vibration response of the front side window of the car, reduce the dependence of model parameter selection on human experience, improve prediction accuracy and modeling efficiency, and thus reduce the dependence on road tests, wind tunnel tests and high-precision transient flow field simulation.
[0009] 2. This invention uses a peak response hierarchical initialization mechanism to adjust the initial particle distribution based on the dispersion of the peak sound pressure level inside the vehicle in the training samples. This allows some particles to cover the global search space while others perform a stable search around the central region of the parameter space, thereby improving the initial search coverage and search stability and solving the problem of parameter selection sensitivity in traditional Kriging models.
[0010] 3. This invention employs a high peak sound pressure level (PSP) sample error-driven mechanism, introducing the optimal position of the PSP sample during particle velocity updates. This guides particles to search in directions that reduce the prediction error of the PSP sample, thereby improving the model's predictive adaptability to PSP samples and high-risk wind-induced vibration conditions. Furthermore, by constructing a fitness function that includes the overall prediction error, the PSP sample prediction error, and the maximum prediction error, this invention ensures that the Kriging model parameter optimization process simultaneously considers overall prediction accuracy, PSP sample prediction accuracy, and maximum error control, avoiding optimization results that are only sensitive to average error and neglect high-risk wind-induced vibration conditions.
[0011] 4. This invention employs a global optimal reverse reconstruction mechanism to construct reverse and reverse reconstruction positions based on the current global optimal position. The reverse reconstruction positions are then incorporated into the particle velocity update process, increasing the diversity of particle search directions, reducing the probability of the particle swarm prematurely converging in local optima, and improving global search capabilities. Furthermore, this invention utilizes a swarm contraction-expansion switching mechanism and a mirror perturbation mechanism. When the particle swarm radius is small and fitness improvement is insufficient, it determines that the particle swarm is in a contraction stagnation state. It then expands the search range and restores particle swarm diversity through expansion updates and mirror perturbations, thereby improving the algorithm's ability to escape local optima.
[0012] 5. This invention utilizes an elite particle local relearning mechanism to perform local research on elite particles with superior fitness, enabling particles to continue fine-tuning around the optimal parameter region even in the later stages of optimization, thereby improving the local convergence accuracy of Kriging model parameters and the stability of model prediction. Attached Figure Description
[0013] Figure 1This is a flowchart illustrating a method for predicting wind-induced vibrations of the front side window of a vehicle based on improved particle swarm optimization. Figure 2 This diagram illustrates the comparison between the predicted values of the optimized Kriging wind-induced vibration prediction model, the predicted values of the traditional Kriging model, and the actual values. Detailed Implementation
[0014] Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain embodiments of the present invention, and should not be construed as limiting the present invention.
[0015] Please see Figure 1 The present invention provides a method for predicting wind vibration of the front side window of a car based on improved particle swarm optimization, the method comprising steps S1 to S7: Step S1: Obtain wind vibration sample data under the condition of the front side window of the car being open. The wind vibration sample data includes vehicle structural parameter vectors and corresponding peak sound pressure levels inside the vehicle.
[0016] This study selects a certain number of vehicle models or combinations of vehicle structural parameters as research objects, extracts vehicle structural parameters related to wind vibration of the front side windows, and obtains the corresponding peak sound pressure levels inside the vehicle. In this embodiment, vehicle structural parameters include rearview mirror installation position parameters, rearview mirror spoiler structure state parameters, distance between the rearview mirror and the triangular cover plate, front triangular window structure state parameters, A-pillar and windshield surface difference, A-pillar departure angle, B-pillar thickness, front side window glass length, and triangular cover plate and side window glass surface difference. Wind vibration response values for different vehicles are obtained through road tests, wind tunnel tests, or computational fluid dynamics simulations. The wind vibration response value is the peak sound pressure level at preset monitoring points inside the vehicle, including the driver's ear side, the passenger's ear side, or preset sound pressure monitoring points inside the passenger compartment.
[0017] The vehicle structural parameter vector is represented as follows:
[0018] in, Indicates the first A vector of vehicle structural parameters; Indicates the installation position parameters of the rearview mirror; Indicates the state parameters of the rearview mirror spoiler structure; Indicates the distance between the rearview mirror and the triangular cover plate; Indicates the structural state parameters of the front triangular window; This indicates the difference between the A-pillar and the windshield surface; Indicates the departure angle of pillar A; Indicates the thickness of the B-pillar; Indicates the length of the front side window glass; This indicates the difference between the triangular cover plate and the side window glass surface.
[0019] The established sample dataset can be represented as:
[0020] in, Indicates the first A vector of vehicle structural parameters; Indicates the first The peak sound pressure level inside the vehicle corresponding to each sample; Indicates the number of samples.
[0021] Step S2 involves preprocessing the wind vibration sample data obtained in step S1. The preprocessing includes outlier removal and normalization to obtain a training sample set.
[0022] For input variables, the normalization process is as follows:
[0023] in, Indicates the original input parameters; and These represent the minimum and maximum values of the input parameter, respectively. This represents the normalized input parameters.
[0024] The wind-induced vibration response values can also be normalized in the same way to improve the stability of model training. Simultaneously, outlier samples are screened. If a vehicle's wind-induced vibration response value deviates significantly from that of adjacent vehicles or if data acquisition errors exist, it can be removed or re-acquired.
[0025] Step S3: Based on the training sample set obtained in step S2, a Kriging wind vibration prediction model is established. The Kriging wind vibration prediction model is used to describe the nonlinear mapping relationship between vehicle structural parameters and peak sound pressure level inside the vehicle, and the relevant scale parameters and relevant exponential parameters of the Kriging wind vibration prediction model are used as model parameters to be optimized.
[0026] Specifically, the Kriging wind-induced vibration prediction model is expressed as follows:
[0027] in, Represents the input vehicle structural parameter vector The corresponding predicted peak sound pressure level inside the vehicle; Represents the regression basis function; Represents the regression coefficient; Indicates transpose; Indicates the global regression term; Represents a stochastic process term; The covariance of the stochastic process term for:
[0028] in, Indicates process variance; Represents sample points and Spatial correlation function between them; The spatial correlation function is:
[0029] in, Indicates the dimension of the input parameters; Indicates the first The relevant scale parameters corresponding to each input dimension; Indicates the first Vehicle structural parameter vector The first in Each parameter component; Indicates the first Vehicle structural parameter vector The first in Each parameter component; Indicates the first The relevant index parameters corresponding to each input dimension.
[0030] Step S4: Construct an improved particle swarm optimization algorithm. The improved particle swarm optimization algorithm is based on the particle swarm optimization algorithm and introduces a peak response hierarchical initialization mechanism, a high peak sound pressure level sample error traction mechanism, a global optimal reverse reconstruction mechanism, a population shrinkage-expansion switching and mirror perturbation mechanism, and an elite particle local relearning mechanism. The model parameters to be optimized obtained in step S3 are mapped to particle positions, and the particle swarm is initialized using the peak response hierarchical initialization mechanism.
[0031] Specifically, the particle position representation in the improved particle swarm optimization algorithm is as follows:
[0032] in, Indicates the first During the nth iteration The position of each particle; , , They represent the first During the nth iteration The first, second, and third particles One relevant scale parameter; , , They represent the first During the nth iteration The first, second, and third particles One related index parameter.
[0033] In this embodiment, the peak response hierarchical initialization mechanism includes: Peak dispersion is calculated based on the dispersion of peak sound pressure levels inside the vehicle in the training sample set:
[0034] in, Indicates peak dispersion; Indicates the first The actual peak sound pressure level inside the vehicle for each sample; This represents the average peak sound pressure level inside the vehicle. Indicates the number of samples; To prevent positive numbers with a denominator of zero; The initial particle set is divided into the first particle set. Second Particle Set The initial particle positions are generated as follows:
[0035] in:
[0036] in, Indicates the first The initial positions of the particles; and These represent the lower and upper bound vectors of the particle position parameters, respectively. The midpoint vector representing the particle position parameters; Indicates the initialization phase. The random vector corresponding to each particle; This represents the Hadamard product.
[0037] For each particle, the Kriging model parameters corresponding to its position vector are substituted into the Kriging wind vibration prediction model, and the model prediction error is calculated. The prediction error is calculated using leave-one-out cross-validation. The overall prediction error, the peak sound pressure level sample prediction error, and the maximum prediction error are all calculated based on the leave-one-out cross-validation prediction values of each training sample, and the fitness function value of the particle is determined accordingly.
[0038] Specifically, the high peak sound pressure level sample error pulling mechanism includes: The fitness function is constructed using the overall prediction error, the peak sound pressure level sample prediction error, and the maximum prediction error, and its expression is:
[0039] in, Indicates particle position The corresponding fitness function value; Indicates the overall prediction error; This indicates the prediction error for high peak sound pressure level samples; Indicates the maximum prediction error; , and The preset weighting coefficients are used, and they satisfy the following conditions: ; The overall prediction error is:
[0040] The high peak sound pressure level sample set is as follows:
[0041] The prediction error for high peak sound pressure level samples is:
[0042] The maximum prediction error is:
[0043] in, This means that, while keeping the relevant scale parameters and relevant exponent parameters corresponding to the particle positions constant, the first... After using the training samples and the remaining training samples to build the Kriging wind vibration prediction model, the model is then applied to the training samples. The peak sound pressure level inside the vehicle obtained from each sample is left for cross-validation prediction. The first peak sound pressure level inside the vehicle in the training sample set represents the... quantiles; This represents the set of samples with high peak sound pressure levels. This indicates the number of samples in the high peak sound pressure level sample set.
[0044] The optimal location of the peak sound pressure level sample is determined as follows:
[0045] in, Indicates the first The optimal location of the peak sound pressure level sample in the next iteration; Indicates the first During the nth iteration The position of each particle; Indicates the first The prediction error of the peak sound pressure level sample corresponding to each particle. Through this process, the Kriging model parameter combination with smaller composite prediction error can be selected, and the individual optimal position, global optimal position, and peak sound pressure level sample optimal position can be obtained for subsequent particle updates.
[0046] The globally optimal reverse reconstruction mechanism includes: Construct the reverse position based on the current global optimal position:
[0047] Construct the reverse reconstruction position based on the reverse position and the particle swarm center position:
[0048] The center of the particle swarm is located at:
[0049] The reverse reconstruction coefficients are:
[0050] By using the above-mentioned reverse reconstruction method, when the prediction error of the current global optimal position for the peak sound pressure level sample is relatively large, the intensity of the reverse reconstruction is increased to reduce the probability of the particle swarm contracting prematurely around the local optimal position.
[0051] The particle velocity and position of the improved particle swarm optimization algorithm are updated according to the following formula:
[0052]
[0053] in, Indicates the first The reverse position at the next iteration; Indicates the first The reverse reconstruction position in the next iteration; Indicates the first The global optimal position at the next iteration; Indicates the first The position of the particle swarm center at the next iteration; Indicates the number of particles; Indicates the reverse reconstruction coefficients; Indicates the reconfiguration adjustment coefficient; Indicates the first In the next iteration, the prediction error of the Kriging wind vibration prediction model corresponding to the current global optimal position on the high peak sound pressure level sample set; Indicates the first In the next iteration, the overall prediction error of the Kriging wind vibration prediction model corresponding to the current global optimal position on all error evaluation samples; Indicates the first During the nth iteration The velocity of each particle; Indicates the first During the nth iteration The velocity of each particle; Indicates the first The optimal position of each individual particle; This indicates the optimal location of the peak sound pressure level sample; , and Indicates the learning factor; , and Represents a random number; Indicates the first Inertia weights in the next iteration; Indicates the reverse reconstruction traction coefficient; Indicates the first During the nth iteration The position of each particle.
[0054] Compared to traditional particle swarm optimization (PSO) velocity update methods, this invention further introduces the optimal position of peak sound pressure level (PSP) samples and the reverse reconstruction position, in addition to the individual optimal position and the global optimal position. The optimal position of PSP samples guides particles to search in directions that reduce prediction errors for PSP samples; the reverse reconstruction position increases the diversity of particle search directions and reduces the probability of the Kriging model parameters getting stuck in local optima.
[0055] The group contraction-expansion switching and mirror perturbation mechanism includes: To avoid excessive shrinkage and search stagnation in the later stages of the particle swarm, the particle swarm radius is first calculated:
[0056] in, Indicates the first The particle swarm radius at the next iteration; Further calculation of the fitness stagnation factor:
[0057] in, Indicates the first Fitness stagnation factor at the next iteration; Indicates the first The global optimal fitness function value at the next iteration; Indicates the length of the pause judgment window; Indicates the first The global optimal fitness function value at the next iteration; When satisfied and When the particle swarm is determined to be in a contraction stagnation state, an expansion update is performed on at least a portion of the particles:
[0058] in, Indicates the radius threshold; Indicates the stagnation threshold; Indicates the first The particle in the first In the next iteration, the particle positions are updated and corrected after expansion; Indicates the expansion strength coefficient; Indicates the first During the nth iteration The random vector used by each particle in the expansion update; Through the aforementioned swarm contraction-expansion switching mechanism, when the particle swarm aggregation degree is too high and the global optimal fitness improvement is insufficient, the particle search range can be actively expanded to improve the ability to escape local optima.
[0059] In another implementation, when the particle swarm is in a contraction stagnation state, a mirror perturbation update is performed on at least a portion of the particles, the mirror perturbation update including mirror positions around the center of the particle swarm and mirror positions around the global optimum: The mirror image position around the center of the particle swarm is:
[0060] in, Indicates the mirror image position around the center of the particle swarm; The mirror image of the globally optimal position is:
[0061] in, This represents the mirror image position around the globally optimal position; Particle positions after mirror perturbation:
[0062]
[0063] in, Indicates the first The particle in the first In the next iteration, the particle positions are updated and corrected after mirror perturbation; Indicates the mirror adjustment coefficient; This represents a random perturbation vector.
[0064] Through the above-mentioned mirror perturbation update, when the prediction error of the peak sound pressure level sample accounts for a large proportion, it can enhance the reverse exploration around the particle swarm center; when the overall prediction error accounts for a large proportion, it can enhance the local perturbation search around the global optimal position.
[0065] Furthermore, to improve the local search accuracy of optimizing the Kriging model parameters in the later stages, this invention introduces an elite particle local relearning mechanism. The elite particle local relearning mechanism includes: Determine the elite particle set based on the particle fitness function value:
[0066] in, Indicates the first The elite particle set at the next iteration; Indicates the first The value of the particle fitness function at the nth iteration quantiles; Indicates the first During the nth iteration The fitness function value of each particle; Perform local relearning updates on elite particles:
[0067] in, This indicates the particle position after local relearning of elite particles; Indicates the local relearning coefficients; Represents a random vector; The local relearning coefficients are:
[0068] in, and These represent the maximum and minimum values of the local relearning coefficients, respectively; This indicates the maximum number of iterations.
[0069] By employing the local relearning mechanism of elite particles, particles with better fitness can continue to conduct local searches within the excellent region formed by their individual optimal position and the global optimal position, thereby improving the convergence accuracy of the Kriging model in the later stages of parameter optimization.
[0070] In this embodiment, when initializing the particle swarm using the peak response hierarchical initialization mechanism, the improved particle swarm optimization algorithm parameters include particle swarm size, maximum number of iterations, learning factor, inertia weight range, particle velocity range, Kriging model parameter search boundary, reverse reconstruction adjustment coefficient, high peak sound pressure level sample error traction coefficient, contraction stagnation judgment threshold, expansion intensity coefficient, mirror adjustment coefficient, and local relearning coefficient.
[0071] Step S5: The improved particle swarm optimization algorithm constructed in step S4 is used to iteratively optimize the parameters of the model to be optimized obtained in step S3, and the optimal position of individual particles, the global optimal position, and the optimal position of the peak sound pressure level sample are updated based on the fitness function.
[0072] It should be noted that when the preset termination condition is not met and the particle swarm is in a state of contraction and stagnation, the corresponding position update is performed in accordance with the aforementioned swarm contraction-expansion switching and mirror perturbation mechanism, and the iteration for optimization continues.
[0073] Step S6: When the preset termination condition is met, output the optimal Kriging model parameters.
[0074] The preset termination conditions include at least one of the following: the current iteration number reaches the maximum iteration number; the current global optimal fitness function value is less than a preset error threshold. When the preset termination condition is met, the relevant scale parameters and relevant index parameters corresponding to the current global optimal position are used as the optimal Kriging model parameters, and the peak sound pressure level inside the vehicle to be predicted is output based on the optimized Kriging wind vibration prediction model.
[0075] Step S7: Substitute the optimal Kriging model parameters output in step S6 into the Kriging wind vibration prediction model established in step S3 to obtain the optimized Kriging wind vibration prediction model. Input the vehicle structure parameters of the vehicle to be predicted into the optimized Kriging wind vibration prediction model and output the wind vibration prediction result of the front side window of the car.
[0076] As a specific example, input parameters may include: rearview mirror mounted on the door, rearview mirror with a spoiler structure, 70mm distance between the rearview mirror and the triangular cover plate, front triangular window being a glass triangular window, 6mm difference between the A-pillar and the windshield surface, A-pillar departure angle of 6.2°, B-pillar thickness of 110mm, front side window glass length of 810mm, and 8mm difference between the triangular cover plate and the side window glass surface. The model can output a predicted peak sound pressure level inside the vehicle under these structural parameters, with a predicted value of 112dB. The prediction results can be used to determine whether the wind vibration level under the condition of the front side window being open meets the set evaluation requirements, and provide a basis for optimizing local structures such as the rearview mirror, A-pillar, B-pillar, front triangular window, side window glass, and triangular cover plate.
[0077] Please see Figure 2 , Figure 2 The comparison results between the predicted values of the optimized Kriging wind-induced vibration prediction model, the predicted values of the traditional Kriging model, and the actual values in the embodiments of the present invention are shown.
[0078] In this embodiment, several sets of vehicle structural parameter samples for the front side window opening of automobiles are selected as test samples. Each test sample is input into the traditional Kriging model and the optimized Kriging wind vibration prediction model of this invention, respectively, to obtain the corresponding predicted value of the in-vehicle peak sound pressure level. The predicted value is then compared with the actual in-vehicle peak sound pressure level corresponding to the test sample. The actual value can be obtained through road tests, wind tunnel tests, or computational fluid dynamics simulations.
[0079] Depend on Figure 2 It is evident that the traditional Kriging model exhibits significant deviations between predicted and actual values at some sample points. In contrast, the optimized Kriging wind vibration prediction model of this invention produces a prediction curve that is generally closer to the actual value curve, especially in sample intervals where the peak sound pressure level inside the vehicle shows a clear trend, effectively following the changes in the actual value. This demonstrates that by introducing a peak response hierarchical initialization mechanism, a high peak sound pressure level sample error traction mechanism, a global optimal reverse reconstruction mechanism, a population contraction-expansion switching and mirror perturbation mechanism, and an elite particle local relearning mechanism to optimize the Kriging model parameters, this invention can improve the prediction accuracy and stability of the Kriging model for the wind vibration response of the front side window of a vehicle.
[0080] Figure 2 The method described in this invention has been verified to have better prediction performance than the traditional Kriging model in predicting wind vibration of the front side window of a car. It can provide more reliable prediction basis for optimizing vehicle structural parameters such as rearview mirror installation position, spoiler structure, surface difference between A-pillar and windshield, B-pillar thickness, and front side window length.
[0081] In summary, the wind vibration prediction method for the front side window of a vehicle based on improved particle swarm optimization according to the above embodiments has the following beneficial effects: 1. This invention uses vehicle structural parameters as input and in-vehicle peak sound pressure level as output to establish a Kriging wind vibration prediction model. The relevant scale parameters and relevant exponential parameters of the Kriging wind vibration prediction model are mapped to particle positions for optimization. Under limited sample conditions, it can characterize the nonlinear mapping relationship between vehicle structural parameters and the wind vibration response of the front side window of the car, reduce the dependence of model parameter selection on human experience, improve prediction accuracy and modeling efficiency, and thus reduce the dependence on road tests, wind tunnel tests and high-precision transient flow field simulation.
[0082] 2. This invention uses a peak response hierarchical initialization mechanism to adjust the initial particle distribution based on the dispersion of the peak sound pressure level inside the vehicle in the training samples. This allows some particles to cover the global search space while others perform a stable search around the central region of the parameter space, thereby improving the initial search coverage and search stability and solving the problem of parameter selection sensitivity in traditional Kriging models.
[0083] 3. This invention employs a high peak sound pressure level (PSP) sample error-driven mechanism, introducing the optimal position of the PSP sample during particle velocity updates. This guides particles to search in directions that reduce the prediction error of the PSP sample, thereby improving the model's predictive adaptability to PSP samples and high-risk wind-induced vibration conditions. Furthermore, by constructing a fitness function that includes the overall prediction error, the PSP sample prediction error, and the maximum prediction error, this invention ensures that the Kriging model parameter optimization process simultaneously considers overall prediction accuracy, PSP sample prediction accuracy, and maximum error control, avoiding optimization results that are only sensitive to average error and neglect high-risk wind-induced vibration conditions.
[0084] 4. This invention employs a global optimal reverse reconstruction mechanism to construct reverse and reverse reconstruction positions based on the current global optimal position. The reverse reconstruction positions are then incorporated into the particle velocity update process, increasing the diversity of particle search directions, reducing the probability of the particle swarm prematurely converging in local optima, and improving global search capabilities. Furthermore, this invention utilizes a swarm contraction-expansion switching mechanism and a mirror perturbation mechanism. When the particle swarm radius is small and fitness improvement is insufficient, it determines that the particle swarm is in a contraction stagnation state. It then expands the search range and restores particle swarm diversity through expansion updates and mirror perturbations, thereby improving the algorithm's ability to escape local optima.
[0085] 5. This invention utilizes an elite particle local relearning mechanism to perform local research on elite particles with superior fitness, enabling particles to continue fine-tuning around the optimal parameter region even in the later stages of optimization, thereby improving the local convergence accuracy of Kriging model parameters and the stability of model prediction.
[0086] The embodiments described above are merely illustrative of several implementations of the present invention, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these all fall within the protection scope of the present invention. Therefore, the protection scope of this invention patent should be determined by the appended claims.
Claims
1. A method for predicting wind-induced vibration of the front side window of a vehicle based on improved particle swarm optimization, characterized in that, include: Step S1: Obtain wind vibration sample data under the condition of the front side window of the car being open. The wind vibration sample data includes vehicle structural parameter vectors and the corresponding peak sound pressure level inside the vehicle. Step S2: Preprocess the wind vibration sample data obtained in step S1. The preprocessing includes outlier removal and normalization to obtain a training sample set. Step S3: Based on the training sample set obtained in step S2, a Kriging wind vibration prediction model is established. The Kriging wind vibration prediction model is used to describe the nonlinear mapping relationship between vehicle structural parameters and peak sound pressure level inside the vehicle. The relevant scale parameters and relevant exponential parameters of the Kriging wind vibration prediction model are used as model parameters to be optimized. Step S4: Construct an improved particle swarm optimization algorithm. The improved particle swarm optimization algorithm is based on the particle swarm optimization algorithm and introduces a peak response hierarchical initialization mechanism, a high peak sound pressure level sample error traction mechanism, a global optimal reverse reconstruction mechanism, a population shrinkage-expansion switching and mirror perturbation mechanism, and an elite particle local relearning mechanism. The model parameters to be optimized obtained in step S3 are mapped to particle positions, and the particle swarm is initialized using the peak response hierarchical initialization mechanism. Step S5: The improved particle swarm optimization algorithm constructed in step S4 is used to iteratively optimize the parameters of the model to be optimized obtained in step S3, and the optimal position of individual particles, the global optimal position, and the optimal position of the peak sound pressure level sample are updated based on the fitness function. Step S6: When the preset termination condition is met, output the optimal Kriging model parameters; Step S7: Substitute the optimal Kriging model parameters output in step S6 into the Kriging wind vibration prediction model established in step S3 to obtain the optimized Kriging wind vibration prediction model. Input the vehicle structure parameters of the vehicle to be predicted into the optimized Kriging wind vibration prediction model and output the wind vibration prediction result of the front side window of the car.
2. The method for predicting wind vibration of the front side window of a vehicle based on improved particle swarm optimization according to claim 1, characterized in that, The vehicle structural parameter vector is represented as follows: in, Indicates the first A vector of vehicle structural parameters; Indicates the installation position parameters of the rearview mirror; Indicates the state parameters of the rearview mirror spoiler structure; Indicates the distance between the rearview mirror and the triangular cover plate; Indicates the structural state parameters of the front triangular window; This indicates the difference between the A-pillar and the windshield surface; Indicates the departure angle of pillar A; Indicates the thickness of the B-pillar; Indicates the length of the front side window glass; This indicates the difference between the triangular cover plate and the side window glass surface.
3. The method for predicting wind vibration of the front side window of a vehicle based on improved particle swarm optimization according to claim 2, characterized in that, The Kriging wind-induced vibration prediction model is expressed as follows: in, Represents the input vehicle structural parameter vector The corresponding predicted peak sound pressure level inside the vehicle; Represents the regression basis function; Represents the regression coefficient; Indicates transpose; Indicates the global regression term; Represents a stochastic process term; The covariance of the stochastic process term for: in, Indicates process variance; Represents sample points and Spatial correlation function between them; The spatial correlation function is: in, Indicates the dimension of the input parameters; Indicates the first The relevant scale parameters corresponding to each input dimension; Indicates the first Vehicle structural parameter vector The first in Each parameter component; Indicates the first Vehicle structural parameter vector The first in Each parameter component; Indicates the first The relevant index parameters corresponding to each input dimension.
4. The method for predicting wind vibration of the front side window of a vehicle based on improved particle swarm optimization according to claim 3, characterized in that, The peak response hierarchical initialization mechanism includes: Peak dispersion is calculated based on the dispersion of peak sound pressure levels inside the vehicle in the training sample set: in, Indicates peak dispersion; Indicates the first The actual peak sound pressure level inside the vehicle for each sample; This represents the average peak sound pressure level inside the vehicle. Indicates the number of samples; To prevent positive numbers with a denominator of zero; The initial particle set is divided into the first particle set. Second Particle Set The initial particle positions are generated as follows: in: in, Indicates the first The initial positions of the particles; and These represent the lower and upper bound vectors of the particle position parameters, respectively. The midpoint vector representing the particle position parameters; Indicates the initialization phase. The random vector corresponding to each particle; This represents the Hadamard product.
5. The method for predicting wind vibration of the front side window of a vehicle based on improved particle swarm optimization according to claim 4, characterized in that, The high peak sound pressure level sample error pulling mechanism includes: Define the fitness function as follows: in, Indicates particle position The corresponding fitness function value; Indicates the overall prediction error; This indicates the prediction error for high peak sound pressure level samples; Indicates the maximum prediction error; , and The preset weighting coefficients are used, and they satisfy the following conditions: ; The overall prediction error is: The high peak sound pressure level sample set is as follows: The prediction error for high peak sound pressure level samples is: The maximum prediction error is: in, This means that, while keeping the relevant scale parameters and relevant exponent parameters corresponding to the particle positions constant, the first... After using the training samples and the remaining training samples to build the Kriging wind vibration prediction model, the model is then applied to the training samples. The peak sound pressure level inside the vehicle obtained from each sample is left for cross-validation prediction. The first peak sound pressure level inside the vehicle in the training sample set represents the... quantiles; This represents the set of samples with high peak sound pressure levels. This indicates the number of samples in the high peak sound pressure level sample set.
6. The method for predicting wind vibration of the front side window of a vehicle based on improved particle swarm optimization according to claim 5, characterized in that, The optimal location of the peak sound pressure level sample is determined as follows: in, Indicates the first The optimal location of the peak sound pressure level sample in the next iteration; Indicates the first During the nth iteration The position of each particle; Indicates the first The peak sound pressure level sample prediction error for each particle.
7. The method for predicting wind vibration of the front side window of a vehicle based on improved particle swarm optimization according to claim 6, characterized in that, The globally optimal reverse reconstruction mechanism includes: Construct the reverse position based on the current global optimal position: Construct the reverse reconstruction position based on the reverse position and the particle swarm center position: The center of the particle swarm is located at: The reverse reconstruction coefficients are: The particle velocity and position of the improved particle swarm optimization algorithm are updated according to the following formula: in, Indicates the first The reverse position at the next iteration; Indicates the first The reverse reconstruction position in the next iteration; Indicates the first The global optimal position at the next iteration; Indicates the first The position of the particle swarm center at the next iteration; Indicates the number of particles; Indicates the reverse reconstruction coefficients; Indicates the reconfiguration adjustment coefficient; Indicates the first In the next iteration, the prediction error of the Kriging wind vibration prediction model corresponding to the current global optimal position on the high peak sound pressure level sample set; Indicates the first In the next iteration, the overall prediction error of the Kriging wind vibration prediction model corresponding to the current global optimal position on all error evaluation samples; Indicates the first During the nth iteration The velocity of each particle; Indicates the first During the nth iteration The velocity of each particle; Indicates the first The optimal position of each individual particle; This indicates the optimal location of the peak sound pressure level sample; , and Indicates the learning factor; , and Represents a random number; Indicates the first Inertia weights in the next iteration; Indicates the reverse reconstruction traction coefficient; Indicates the first During the nth iteration The position of each particle.
8. The method for predicting wind vibration of the front side window of a vehicle based on improved particle swarm optimization according to claim 7, characterized in that, The group contraction-expansion switching and mirror perturbation mechanism includes: Calculate the particle swarm radius: in, Indicates the first The particle swarm radius at the next iteration; Calculate the fitness stagnation factor: in, Indicates the first Fitness stagnation factor at the next iteration; Indicates the first The global optimal fitness function value at the next iteration; Indicates the length of the pause judgment window; Indicates the first The global optimal fitness function value at the next iteration; When satisfied and When the particle swarm is determined to be in a contraction stagnation state, an expansion update is performed on at least a portion of the particles: in, Indicates the radius threshold; Indicates the stagnation threshold; Indicates the first The particle in the first In the next iteration, the particle positions are updated and corrected after expansion; Indicates the expansion strength coefficient; Indicates the first During the nth iteration The random vector used by each particle in the expansion update; When the particle swarm is in a contraction stagnation state, a mirror perturbation update is performed on at least a portion of the particles, the mirror perturbation update including: Mirror position around the center of the particle swarm: in, Indicates the mirror image position around the center of the particle swarm; Mirror position around the global optimum: in, This represents the mirror image position around the globally optimal position; Particle positions after mirror perturbation: in, Indicates the first The particle in the first In the next iteration, the particle positions are updated and corrected after mirror perturbation; Indicates the mirror adjustment coefficient; This represents a random perturbation vector.
9. The method for predicting wind vibration of the front side window of a vehicle based on improved particle swarm optimization according to claim 8, characterized in that, The elite particle local relearning mechanism includes: Determine the elite particle set based on the particle fitness function value: in, Indicates the first The elite particle set at the next iteration; Indicates the first The value of the particle fitness function at the nth iteration quantiles; Indicates the first During the nth iteration The fitness function value of each particle; Perform local relearning updates on elite particles: in, This indicates the particle position after local relearning of the elite particle. Indicates the local relearning coefficients; Represents a random vector; The local relearning coefficients are: in, and These represent the maximum and minimum values of the local relearning coefficients, respectively; This indicates the maximum number of iterations.
10. The method for predicting wind vibration of the front side window of a vehicle based on improved particle swarm optimization according to claim 1, characterized in that, The preset termination condition includes at least one of the following: the current iteration number reaches the maximum iteration number; The current global optimal fitness function value is less than the preset error threshold; When the preset termination condition is met, the relevant scale parameters and relevant index parameters corresponding to the current global optimal position are used as the optimal Kriging model parameters, and the peak sound pressure level inside the vehicle to be predicted is output based on the optimized Kriging wind vibration prediction model.
