Resonant gyroscope structure design method and system
By combining the BP neural network prediction algorithm with finite element simulation, the problem of complex multi-parameter model simulation calculations in the design of resonant gyro structures is solved, rapid optimization of design is achieved, and design efficiency is improved.
Patent Information
- Application Number
- CN202210249646.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-14
- Publication Date
- 2024-09-06
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the existing technology, in the design of the resonant gyro structure, the simulation calculation of the multi-parameter model is complex and time-consuming, resulting in inefficiency in the structural optimization process.
Using the BP neural network prediction algorithm combined with finite element simulation and optimization algorithms, the resonant gyro structural parameters are optimized through the training set to achieve rapid optimization design.
It significantly reduces the computational complexity and time, improves the efficiency of structural optimization design, and achieves rapid optimization of multiple parameters.
Smart Images

Figure CN114722656B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of piezoelectric vibrating gyroscopes, and in particular to a method for synchronously and rapidly optimizing a resonant gyroscope structure with multiple parameters based on a BP neural network prediction and optimization algorithm, and in particular to a method and system for designing a resonant gyroscope structure. Background Art
[0002] A gyroscope is an inertial device that can sense the angle or angular velocity of a carrier, and plays a very important role in attitude control and navigation and positioning. With the development of national defense science and technology and the aviation and aerospace industries, the requirements of inertial navigation systems for gyroscopes are also developing in the direction of low cost, small size, high precision, multi-axis detection, high reliability, and adaptability to various harsh environments. The structural characteristics of the gyroscope resonator will directly affect the performance indicators of the gyroscope. A high-precision resonant gyroscope requires a higher quality factor and higher sensitivity.
[0003] The invention patent with publication number CN102968540A discloses an optimization design method for the excitation electrode of a piezoelectric vibration gyroscope, the method comprising: (1) establishing a finite element model of the piezoelectric vibration gyroscope, and configuring the material, structure and other parameters of each part according to the actual situation; (2) applying modal analysis to obtain the natural frequency and related vibration mode of the resonator, and on this basis applying a sinusoidal excitation voltage to the piezoelectric electrode for harmonic response analysis; (3) deriving the influence of various parameters of the excitation electrode on the resonator through the analysis results of step (2); (4) comprehensively considering various aspects and selecting the optimal design parameters.
[0004] So far, the design method for the resonant gyro structure is mainly to obtain the performance parameters of the resonant gyro through finite element simulation calculation, and to obtain the optimal structural parameter values of the resonant gyro using optimization methods such as parameter scanning, genetic algorithm, and particle swarm algorithm. When performing finite element calculations, finite element simulation software such as ANSYS, COMSOL, and ABUQUS are often used to complete the calculation process. This calculation method can obtain more accurate simulation values when the mesh is finer. However, when the structural parameters of the resonant gyro change, the resonant gyro model in the software needs to be remodeled and meshed, which increases the complexity of the calculation. At the same time, since the finite element calculation is more complicated, the finer the mesh, the greater the amount of calculation, and the longer the calculation time. When simulating a multi-parameter model, the number of simulation models is huge and the calculation time is too long. For example, when the five variables of the ring width, spoke length, spoke width, inner radius, and ring thickness of the circular resonant gyroscope are optimized simultaneously, assuming that each variable has ten variable parameters, the number of models that need to be simulated is 9765625. Assuming that the calculation time of each model is 30S, it will take about 9.3 years to complete the entire simulation process. The BP neural network predicts a model in about 0.1S, so it only takes about 11.3 days to complete the entire simulation process. Therefore, based on the BP neural network prediction algorithm, the development of a resonant gyroscope structure fast optimization algorithm is of great significance to solve the multi-parameter fast optimization problem in the resonant gyroscope sensor structure design. Summary of the invention
[0005] In view of the defects in the prior art, the present invention provides a resonant gyroscope structure design method and system.
[0006] According to a resonant gyroscope structure design method and system provided by the present invention, the scheme is as follows:
[0007] In a first aspect, a method for designing a resonant gyroscope structure is provided, the method comprising:
[0008] Step S1: Obtain a neural network training set using finite element simulation calculation or experiment;
[0009] Step S2: writing a BP neural network prediction algorithm for obtaining simulation or experimental parameters of the resonant gyroscope, and performing network training using the neural network training set;
[0010] Step S3: compile an optimization algorithm for optimizing the structural parameters of the resonant gyroscope, call the BP neural network to obtain fitness, and optimize the structural parameters of the resonant gyroscope.
[0011] Preferably, in step S1, the BP neural network obtains the performance parameters of the resonant gyroscope using finite element simulation calculation or experimental method, and the calculation results are used as the neural network training set for BP neural network training;
[0012] The optimization algorithm includes a particle swarm algorithm, a genetic algorithm and a cuckoo algorithm, which can optimize the performance index of the gyroscope under the condition of given constrained micro-gyroscope structural parameters.
[0013] Preferably, the step S1 comprises:
[0014] Step S1.1: Establish a structural model of the resonant gyroscope in relevant finite element simulation software such as COMSOL and ANSYS, and establish geometric parameters and variables of the resonant gyroscope structure;
[0015] Step S1.2: establishing a finite element model of the resonant gyroscope in finite element simulation software, calculating the performance parameters of the resonant gyroscope, or obtaining the performance parameters of the resonant gyroscope by experimental methods, including: characteristic frequency, quality factor, effective mass, effective stiffness, mechanical sensitivity and mechanical thermal noise;
[0016] Step S1.3: Select several geometric parameter combinations as the input training set of the BP neural network, and simulate or experiment to obtain the characteristic frequency, quality factor, effective mass, effective stiffness, mechanical sensitivity and mechanical thermal noise corresponding to each set of parameters as the output training set of the BP neural network.
[0017] Preferably, the characteristic frequency f of the resonant gyroscope is calculated by finite element simulation, so as to calculate the quality factor Q of the resonant gyroscope, and the formula is:
[0018]
[0019] Among them, abs(.) means to find the absolute value; imag(.) means to find the imaginary number of the complex number;
[0020] The calculation formula of the effective mass of the resonant gyroscope is:
[0021] m eff =λ m ×M real
[0022] Among them, λ m Represents the effective mass coefficient, M real Indicates the actual mass of the resonant gyroscope;
[0023] The calculation formula of the effective stiffness of the resonant gyroscope is:
[0024] k=4π 2 ×f 2 ×m eff
[0025] The calculation formula of the mechanical sensitivity of the resonant gyroscope is:
[0026]
[0027] Among them, A g is the resonant gyro angle gain, F is the driving force;
[0028] The calculation formula of the resonant gyroscope mechanical thermal noise is:
[0029]
[0030] Among them, K B represents the Boltzmann constant, which is 1.38065×10 -23 J / K; T0 represents temperature.
[0031] Preferably, step S2 comprises:
[0032] Step S2.1: normalize the neural network training set;
[0033] Step S2.2: Setting the BP neural network parameters, including: transfer function, network training function, number of trainings, training target, learning rate, momentum factor and gradient accuracy, and training the BP neural network using the neural network training set;
[0034] Step S2.3: Select several resonant gyro groups with different geometric parameters to calculate the prediction error of the BP neural network obtained through training. If the prediction error meets the preset requirements, stop training. Otherwise, optimize the BP neural network parameters and continue training until the prediction error meets the preset requirements.
[0035] Preferably, step S3 comprises:
[0036] Step S3.1: Taking the characteristic frequency, quality factor, effective mass, effective stiffness, mechanical sensitivity and mechanical thermal noise of the resonant gyroscope as fitness of the optimization algorithm, taking the geometric parameters of the resonant gyroscope as optimization parameters, and writing the optimization algorithm;
[0037] Step S3.2: Use the trained BP neural network to predict the fitness;
[0038] Step S3.3: Optimize the geometric parameters of the resonant gyro using an optimization algorithm until the target value is reached.
[0039] In a second aspect, a resonant gyroscope structure design system is provided, the system comprising:
[0040] Module M1: Obtain neural network training set using finite element simulation calculation or experiment;
[0041] Module M2: Write a BP neural network prediction algorithm for obtaining the simulation or experimental parameters of the resonant gyroscope, and use the neural network training set to perform network training;
[0042] Module M3: Write an optimization algorithm for optimizing the structural parameters of the resonant gyroscope, call the BP neural network to obtain the fitness, and realize the optimization of the structural parameters of the resonant gyroscope.
[0043] Preferably, the BP neural network in the module M1 obtains the performance parameters of the resonant gyroscope using finite element simulation calculation or experimental method, and the calculation results are used as the neural network training set for BP neural network training;
[0044] The optimization algorithm includes a particle swarm algorithm, a genetic algorithm and a cuckoo algorithm, which can optimize the performance index of the gyroscope under the condition of given constrained micro-gyroscope structural parameters.
[0045] Preferably, the module M1 comprises:
[0046] Module M1.1: Establish the structural model of the resonant gyroscope in relevant finite element simulation software such as COMSOL and ANSYS, and establish the geometric parameters and variables of the resonant gyroscope structure;
[0047] Module M1.2: Establish a finite element model of the resonant gyroscope in the finite element simulation software, calculate the performance parameters of the resonant gyroscope, or obtain the performance parameters of the resonant gyroscope by experimental methods, including: characteristic frequency, quality factor, effective mass, effective stiffness, mechanical sensitivity and mechanical thermal noise;
[0048] Module M1.3: Select several geometric parameter combinations as the input training set of the BP neural network, and simulate or experiment to obtain the characteristic frequency, quality factor, effective mass, effective stiffness, mechanical sensitivity and mechanical thermal noise corresponding to each set of parameters as the output training set of the BP neural network.
[0049] Preferably, the characteristic frequency f of the resonant gyroscope is calculated by finite element simulation, so as to calculate the quality factor Q of the resonant gyroscope, and the formula is:
[0050]
[0051] Among them, abs(.) means to find the absolute value; imag(.) means to find the imaginary number of the complex number;
[0052] The calculation formula of the effective mass of the resonant gyroscope is:
[0053] m eff =λ m ×M real
[0054] Among them, λ m Represents the effective mass coefficient, M real Indicates the actual mass of the resonant gyroscope;
[0055] The calculation formula of the effective stiffness of the resonant gyroscope is:
[0056] k=4π 2 ×f 2 ×m eff
[0057] The calculation formula of the mechanical sensitivity of the resonant gyroscope is:
[0058]
[0059] Among them, A g is the resonant gyro angle gain, F is the driving force;
[0060] The calculation formula of the resonant gyroscope mechanical thermal noise is:
[0061]
[0062] Among them, K B represents the Boltzmann constant, which is 1.38065×10 -23 J / K; T0 represents temperature.
[0063] Compared with the prior art, the present invention has the following beneficial effects:
[0064] 1. The present invention uses BP neural network algorithm to predict the performance parameters of the resonant gyroscope, which can reduce the calculation complexity, improve the calculation efficiency, and increase the speed of structural optimization design of the resonant gyroscope;
[0065] 2. The present invention applies the optimization algorithm to the optimal design of the resonant gyroscope structure, thereby realizing the overall rapid optimization of multiple parameters of the sensor structure. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:
[0067] Figure 1 A flowchart of a method for rapid optimization design of a resonant gyroscope structure;
[0068] Figure 2 This is the training flow chart of BP neural network;
[0069] Figure 3 This is a comparison chart between the BP neural network prediction value and the finite element simulation calculation value;
[0070] Figure 4 This is the MATLAB genetic algorithm flow chart;
[0071] Figure 5 This is an algorithm flow chart for the rapid optimization design of the resonant gyroscope structure using the BP neural network prediction algorithm and genetic algorithm. DETAILED DESCRIPTION
[0072] The present invention is described in detail below in conjunction with specific embodiments. The following embodiments will help those skilled in the art to further understand the present invention, but are not intended to limit the present invention in any form. It should be noted that, for those of ordinary skill in the art, several changes and improvements can also be made without departing from the concept of the present invention. These all belong to the protection scope of the present invention.
[0073] Embodiment 1:
[0074] The embodiment of the present invention provides a method for designing a resonant gyroscope structure, referring to Figure 1 As shown, the specific steps include:
[0075] Step S1: Obtain a neural network training set using finite element simulation calculation or experiment.
[0076] Step S2: compile a BP neural network prediction algorithm for quickly acquiring the simulation or experimental parameters of the resonant gyroscope, and use the neural network training set to perform network training.
[0077] Step S3: compile an optimization algorithm for optimizing the structural parameters of the resonant gyroscope, call the BP neural network to obtain fitness, and realize rapid optimization of the structural parameters of the resonant gyroscope.
[0078] The BP neural network obtains the performance parameters of the resonant gyroscope using finite element simulation calculation or experimental method, and the calculation results are used as the neural network training set for BP neural network training; the training set is used for training to obtain a low-error network that can quickly predict the performance of the resonant gyroscope.
[0079] The optimization algorithms include particle swarm algorithm, genetic algorithm and cuckoo algorithm, which can optimize the performance indicators of the gyroscope under the given constraints of micro-gyroscope structural parameters.
[0080] Specifically, step S1 includes:
[0081] Step S1.1: Establish a structural model of the resonant gyroscope in relevant finite element simulation software such as COMSOL and ANSYS, and establish geometric parameters and variables of the resonant gyroscope structure. Among them: the hemispherical resonant gyroscope includes the thickness of the spherical shell, the radius of the spherical shell, the length of the support column, and the radius of the support column; the annular resonant gyroscope includes the ring width, the length of the spoke, the number of rings, the ring thickness, the size of the inner radius, and the width of the spoke; the mass block gyroscope includes the mass block size, the length of the folded beam, the width of the folded beam, and the thickness of the resonator.
[0082] Step S1.2: Establish a finite element model of the resonant gyroscope in the finite element simulation software, calculate the performance parameters of the resonant gyroscope, or obtain the performance parameters of the resonant gyroscope by experimental methods, including: characteristic frequency, quality factor, effective mass, effective stiffness, mechanical sensitivity and mechanical thermal noise.
[0083] Step S1.3: Select several geometric parameter combinations as the input training set of the BP neural network, and simulate or experiment to obtain the characteristic frequency, quality factor, effective mass, effective stiffness, mechanical sensitivity and mechanical thermal noise corresponding to each set of parameters as the output training set of the BP neural network.
[0084] The characteristic frequency f of the resonant gyroscope is calculated by finite element simulation, and the quality factor Q of the resonant gyroscope is calculated. The formula is:
[0085]
[0086] Among them, abs(.) means to find the absolute value; imag(.) means to find the imaginary number of the complex number;
[0087] The calculation formula of the effective mass of the resonant gyroscope is:
[0088] m eff =λ m ×M real
[0089] Among them, λ m Represents the effective mass coefficient, M rea l represents the actual mass of the resonant gyroscope.
[0090] The calculation formula of the effective stiffness of the resonant gyroscope is:
[0091] k=4π 2 ×f 2 ×m eff
[0092] The calculation formula of the mechanical sensitivity of the resonant gyroscope is:
[0093]
[0094] Among them, A g is the resonant gyro angle gain, and F is the driving force.
[0095] The calculation formula of the resonant gyroscope mechanical thermal noise is:
[0096]
[0097] Among them, K B represents the Boltzmann constant, which is 1.38065×10 -23 J / K; T0 represents temperature.
[0098] Step S2 includes:
[0099] Step S2.1: Normalize the neural network training set. Step S2.2: Set the BP neural network parameters, including: transfer function, network training function, number of trainings, training target, learning rate, momentum factor and gradient accuracy, and use the neural network training set to train the BP neural network. Step S2.3: Select a number of resonant gyroscope groups with different geometric parameters to calculate the prediction error of the trained BP neural network. If the prediction error meets the preset requirements, stop training. Otherwise, optimize the BP neural network parameters and continue training until the prediction error meets the preset requirements.
[0100] Step S3 includes: Step S3.1: taking the characteristic frequency, quality factor, effective mass, effective stiffness, mechanical sensitivity and mechanical thermal noise of the resonant gyroscope as the fitness of the optimization algorithm, taking the geometric parameters of the resonant gyroscope as the optimization parameters, and writing the optimization algorithm; Step S3.2: using the BP neural network obtained by training to predict the fitness; Step S3.3: using the optimization algorithm to optimize the geometric parameters of the resonant gyroscope until the target value is reached.
[0101] Embodiment 2:
[0102] Embodiment 2 is a preferred example of Embodiment 1.
[0103] Reference Figure 1 As shown, a resonant gyroscope structure design method provided by an embodiment of the present invention includes two parts: a BP neural network prediction algorithm and an optimization algorithm.
[0104] In the present invention, various resonant gyro structures can be optimized and designed, including: annular resonant gyro, hemispherical resonant gyro, mass block resonant gyro. The annular resonant gyro is optimized and designed by COMSOL finite element simulation software, and the specific steps of the algorithm for obtaining the BP neural network training set are as follows:
[0105] (1) The ring width, spoke width, spoke length, inner radius and resonator thickness of the ring resonator gyroscope are selected as optimization parameters, and the resonant frequency of the ring resonator gyroscope is selected as fitness. Among them, the ring width is selected to vary in the range of 10um to 50um, with a step of 10um; the spoke width is selected to vary in the range of 10um to 50um, with a step of 10um; the spoke length is selected to vary in the range of 40um to 300um, with a step of 65um; the inner radius is selected to vary in the range of 300um to 1900um, with a step of 400um; the resonator thickness is selected to vary in the range of 60 to 100um, with a step of 10um. That is, 3125 groups of geometric parameter groups are selected as the input training set.
[0106] (2) The above 3125 ring resonant gyro models were established in COMSOL finite element simulation software, and the resonant frequency of each model was calculated. The ring width, spoke width, spoke length, inner radius size and resonator thickness were used as input parameters of the BP neural network, and the resonant frequency was used as the output parameter of the BP neural network.
[0107] (3) 3125 groups of ring width, spoke width, spoke length, inner radius size and resonator thickness are used as input training sets. Each column is a group of input training sets. The number of rows represents the number of neurons in the input layer, and the number of columns represents the number of input training sets.
[0108] (4) 3125 groups of resonant frequencies are used as output training sets. Each column is a group of output training sets. The number of rows represents the number of neurons in the output layer, and the number of columns represents the number of groups of output training sets.
[0109] Reference Figure 2 As shown, the specific training steps for BP neural network in MATLAB are as follows:
[0110] (1) The number of neurons in the hidden layer of the BP neural network is determined according to an empirical formula. In this embodiment, the number of neurons in the hidden layer is selected to be 6. The empirical formula is:
[0111]
[0112] Where n is the number of neurons in the input layer, m is the number of neurons in the output layer, and a is a constant between [1, 10].
[0113] (2) Use the data normalization function mapminmax to normalize the training set.
[0114] (3) Set the BP neural network parameters, including: transfer function, network training function, number of trainings, training target, learning rate, momentum factor, and gradient accuracy.
[0115] (4) Use the newff function to train the BP neural network.
[0116] (5) Randomly select 50 groups of geometric parameters to verify the trained BP neural network. The calculation formula for each group of verification errors is:
[0117] Δ=|f pre -f FEM |
[0118] Among them, f pre is the predicted value of BP neural network, f FEM is the calculated value of COMSOL finite element simulation software, and the average value of 50 sets of geometric parameter verification errors is calculated as the verification error of the BP neural network.
[0119] (6) If the verification error is less than the preset value, stop the training and save the BP neural network. If the verification error is greater than the preset value, repeat step (5). The final verification result of the BP neural network is for reference. Figure 3 。
[0120] In the present invention, multiple optimization algorithms can be adopted in MATLAB. For reference Figure 4 , the specific steps of adopting the genetic algorithm are as follows:
[0121] (1) Initialize the genetic parameters: population size non_pop, maximum number of iterations num_iteration, crossover rate cross, selection rate select, mutation rate mutation, target fitness value cost_goal;
[0122] (2) Initialize the population and calculate the fitness cost of each individual in the population.
[0123] (3) If the number of iterations generation < num_iteration, execute step (4), otherwise the algorithm ends and returns the optimal solution;
[0124] (4) If the best fitness best_cost of the population individuals > cost_goal, the algorithm ends and returns the optimal solution, otherwise execute step (5);
[0125] (5) Perform operations such as selection, crossover, and mutation on the individuals in the population to generate a new population, calculate the fitness of each individual in the new population, the number of iterations generation = generation + 1, and execute step (3).
[0126] Refer to Figure 5 As shown, the fast optimization design method for the resonant gyro structure based on the BP neural network algorithm and the genetic algorithm mainly includes the following steps:
[0127] (1) Select the ring width, spoke width, spoke length, inner radius size, and resonator thickness of the ring-shaped resonant gyroscope as optimization parameters, and select the resonant frequency of the ring-shaped resonant gyroscope as the fitness. Among them, the selected change range of the ring width is 10um to 50um, and the step is 10um; the selected change range of the spoke width is 10um to 50um, and the step is 10um; the selected change range of the spoke length is 40um to 300um, and the step is 65um; the selected change range of the inner radius is 300um to 1900um, and the step is 400um; the selected change range of the resonator thickness is 60 to 100um, and the step is 10um. That is, 3125 groups of geometric parameter sets are selected as the input training set.
[0128] (2) The above 3125 ring resonant gyro models were established in COMSOL finite element simulation software, and the resonant frequency of each model was calculated. The ring width, spoke width, spoke length, inner radius size and resonator thickness were used as input parameters of the BP neural network, and the resonant frequency was used as the output parameter of the BP neural network.
[0129] (3) 3125 groups of ring width, spoke width, spoke length, inner radius size and resonator thickness are used as input training sets. Each column is a group of input training sets. The number of rows represents the number of neurons in the input layer, and the number of columns represents the number of input training sets.
[0130] (4) 3125 groups of resonant frequencies are used as output training sets. Each column is a group of output training sets. The number of rows represents the number of neurons in the output layer, and the number of columns represents the number of groups of output training sets.
[0131] (5) Determine the number of neurons in the hidden layer of the BP neural network according to an empirical formula. According to the empirical formula, the number of neurons in the hidden layer in this embodiment is selected to be 6, where the empirical formula is:
[0132]
[0133] Where n is the number of neurons in the input layer, m is the number of neurons in the output layer, and a is a constant between [1, 10].
[0134] (6) Use the data normalization function mapminmax to normalize the training set.
[0135] (7) Set the BP neural network parameters, including: transfer function, network training function, number of trainings, training target, learning rate, momentum factor, and gradient accuracy.
[0136] (8) Use the newff function to train the BP neural network.
[0137] (9) Randomly select 50 groups of geometric parameters to verify the trained BP neural network. The calculation formula for each group of verification errors is:
[0138] Δ=|f pre -f FEM |
[0139] Among them, f pre is the predicted value of BP neural network, f FEM is the calculated value of COMSOL finite element simulation software, and the average value of 50 sets of geometric parameter verification errors is calculated as the verification error of the BP neural network.
[0140] (10) If the verification error is less than the preset value, stop training and save the BP neural network. If the verification error is greater than the preset value, repeat step (5).
[0141] (11) Initialize genetic parameters in MATLAB: population size non_pop, maximum number of iterations num_iteration, hybridization rate cross, selection rate select, mutation rate mutation, target fitness value cost_goal, and generate the initialized population based on the genetic parameters.
[0142] (12) The fitness of each individual in the population is predicted by the acquired BP neural network. In this embodiment, the fitness is the resonant frequency of the resonant gyroscope.
[0143] (13) If the number of iterations reaches the maximum number of iterations or the individual fitness reaches the convergence condition, proceed to step (14); otherwise, exit the algorithm and output the optimal solution.
[0144] (14) Perform operations such as selection, crossover, and mutation on the individuals in the population to generate a new population. The number of iterations generation = generation + 1, and jump to step (12).
[0145] The embodiments of the present invention provide a resonant gyroscope structure design method and system, which realize the synchronous and rapid optimization of multiple parameters of the resonant gyroscope structure, and can effectively improve the accuracy of the resonant gyroscope design and enhance the design efficiency of the resonant gyroscope.
[0146] Those skilled in the art know that, in addition to realizing the system and its various devices, modules, and units provided by the present invention in a purely computer-readable program code, it is entirely possible to realize the same functions in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers by logically programming the method steps. Therefore, the system and its various devices, modules, and units provided by the present invention can be considered as a hardware component, and the devices, modules, and units included therein for realizing various functions can also be regarded as structures within the hardware component; the devices, modules, and units for realizing various functions can also be regarded as both software modules for realizing the method and structures within the hardware component.
[0147] The above describes the specific embodiments of the present invention. It should be understood that the present invention is not limited to the above specific embodiments, and those skilled in the art can make various changes or modifications within the scope of the claims, which does not affect the essence of the present invention. In the absence of conflict, the embodiments of the present application and the features in the embodiments can be combined with each other arbitrarily.
Claims
1. A method for designing a resonant gyroscope structure, characterized in that: include: Step S1: Obtain a neural network training set using finite element simulation calculation or experiment; Step S2: writing a BP neural network prediction algorithm for obtaining simulation or experimental parameters of the resonant gyroscope, and performing network training using the neural network training set; Step S3: compile an optimization algorithm for optimizing the structural parameters of the resonant gyroscope, call the BP neural network to obtain fitness, and optimize the structural parameters of the resonant gyroscope; The step S1 comprises: Step S1.1: Establish a structural model of the resonant gyroscope in relevant finite element simulation software such as COMSOL and ANSYS, and establish geometric parameters and variables of the resonant gyroscope structure; Step S1.2: establishing a finite element model of the resonant gyroscope in finite element simulation software, calculating the performance parameters of the resonant gyroscope, or obtaining the performance parameters of the resonant gyroscope by experimental methods, including: characteristic frequency, quality factor, effective mass, effective stiffness, mechanical sensitivity and mechanical thermal noise; Step S1.3: Select several geometric parameter combinations as the input training set of the BP neural network, and simulate or experiment to obtain the characteristic frequency, quality factor, effective mass, effective stiffness, mechanical sensitivity and mechanical thermal noise corresponding to each set of parameters as the output training set of the BP neural network; The characteristic frequency f of the resonant gyroscope is calculated by finite element simulation, and the quality factor Q of the resonant gyroscope is calculated. The formula is: Among them, abs(.) means to find the absolute value; imag(.) means to find the imaginary number of the complex number; The calculation formula of the effective mass of the resonant gyroscope is: m eff =λ m ×M real Among them, λ m Represents the effective mass coefficient, M real Indicates the actual mass of the resonant gyroscope; The calculation formula of the effective stiffness of the resonant gyroscope is: k=4π 2 × f 2 × m eff The calculation formula of the mechanical sensitivity of the resonant gyroscope is: Among them, A g is the resonant gyro angle gain, F is the driving force; The calculation formula of the resonant gyroscope mechanical thermal noise is: Among them, K B represents the Boltzmann constant, which is 1.38065×10 -23 J / K; T0 represents temperature.
2. The method for designing a resonant gyroscope structure according to claim 1, characterized in that: In step S1, the BP neural network uses finite element simulation calculation or experimental method to obtain the performance parameters of the resonant gyroscope, and the calculation results are used as the neural network training set for BP neural network training; The optimization algorithm includes a particle swarm algorithm, a genetic algorithm and a cuckoo algorithm, which can optimize the performance index of the gyroscope under the condition of given constrained micro-gyroscope structural parameters.
3. The method for designing a resonant gyroscope structure according to claim 1, characterized in that: The step S2 comprises: Step S2.1: normalize the neural network training set; Step S2.2: Setting the BP neural network parameters, including: transfer function, network training function, number of trainings, training target, learning rate, momentum factor and gradient accuracy, and training the BP neural network using the neural network training set; Step S2.3: Select several resonant gyro groups with different geometric parameters to calculate the prediction error of the BP neural network obtained through training. If the prediction error meets the preset requirements, stop training. Otherwise, optimize the BP neural network parameters and continue training until the prediction error meets the preset requirements.
4. The method for designing a resonant gyroscope structure according to claim 1, characterized in that: The step S3 comprises: Step S3.1: Taking the characteristic frequency, quality factor, effective mass, effective stiffness, mechanical sensitivity and mechanical thermal noise of the resonant gyroscope as fitness of the optimization algorithm, taking the geometric parameters of the resonant gyroscope as optimization parameters, and writing the optimization algorithm; Step S3.2: Use the trained BP neural network to predict the fitness; Step S3.3: Optimize the geometric parameters of the resonant gyro using an optimization algorithm until the target value is reached.
5. A resonant gyroscope structure design system, characterized in that: include: Module M1: Obtain neural network training set using finite element simulation calculation or experiment; Module M2: Write a BP neural network prediction algorithm for obtaining the simulation or experimental parameters of the resonant gyroscope, and use the neural network training set to perform network training; Module M3: Write an optimization algorithm for resonant gyroscope structural parameter optimization, call the BP neural network to obtain fitness, and optimize the resonant gyroscope structural parameters; The module M1 comprises: Module M1.1: Establish the structural model of the resonant gyroscope in relevant finite element simulation software such as COMSOL and ANSYS, and establish the geometric parameters and variables of the resonant gyroscope structure; Module M1.2: Establish a finite element model of the resonant gyroscope in the finite element simulation software, calculate the performance parameters of the resonant gyroscope, or obtain the performance parameters of the resonant gyroscope by experimental methods, including: characteristic frequency, quality factor, effective mass, effective stiffness, mechanical sensitivity and mechanical thermal noise; Module M1.3: Select several geometric parameter combinations as the input training set of the BP neural network, and simulate or experiment to obtain the characteristic frequency, quality factor, effective mass, effective stiffness, mechanical sensitivity and mechanical thermal noise corresponding to each set of parameters as the output training set of the BP neural network; The characteristic frequency f of the resonant gyroscope is calculated by finite element simulation, and the quality factor Q of the resonant gyroscope is calculated. The formula is: Among them, abs(.) means to find the absolute value; imag(.) means to find the imaginary number of the complex number; The calculation formula of the effective mass of the resonant gyroscope is: m eff =λ m ×M real Among them, λ m Represents the effective mass coefficient, M real Indicates the actual mass of the resonant gyroscope; The calculation formula of the effective stiffness of the resonant gyroscope is: k=4π 2 × f 2 × m eff The calculation formula of the mechanical sensitivity of the resonant gyroscope is: Among them, A g is the resonant gyro angle gain, F is the driving force; The calculation formula of the resonant gyroscope mechanical thermal noise is: Among them, K B represents the Boltzmann constant, which is 1.38065×10 -23 J / K; T0 represents temperature.
6. The resonant gyro structure design system according to claim 5, characterized in that: The BP neural network in the module M1 obtains the performance parameters of the resonant gyroscope by finite element simulation calculation or experimental method, and the calculation results are used as the neural network training set for BP neural network training; The optimization algorithm includes a particle swarm algorithm, a genetic algorithm and a cuckoo algorithm, which can optimize the performance index of the gyroscope under the condition of given constrained micro-gyroscope structural parameters.
