Armature electromagnetic thrust prediction method and device, electronic equipment and storage medium

By constructing a Cartesian product depth operator network in the finite element simulation model to predict the armature electromagnetic thrust, the problem of large calculation amount of the finite element method is solved, and fast and accurate electromagnetic thrust prediction is achieved.

CN118569032APending Publication Date: 2024-08-30HEBEI UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410687858.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

When calculating the electromagnetic thrust of the armature in the existing technology, the finite element method needs to be recalculated, which requires a large amount of calculation and takes a long time, making it difficult to quickly and accurately predict the electromagnetic thrust under different excitation currents.

Method used

Using the Cartesian product deep operator network based on the finite element simulation model, by constructing a data set and training the neural network, the armature electromagnetic thrust under different excitation currents is predicted, and the Cartesian product operation of the branch network and the backbone network is used to achieve fast and accurate prediction. .

Benefits of technology

It achieves fast and accurate prediction of the armature electromagnetic thrust under different current conditions in the finite element simulation software, reducing the calculation time and improving the prediction efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118569032A
    Figure CN118569032A
Patent Text Reader

Abstract

The invention provides an armature electromagnetic thrust prediction method and device, electronic equipment and a storage medium, and the method comprises the steps: carrying out the simulation calculation of armature electromagnetic thrust under different excitation currents based on an established finite element simulation model, and constructing a data set related to the numerical simulation result of the armature electromagnetic thrust; a Cartesian product depth operator network is constructed according to the data set, and armature electromagnetic thrust under different excitation currents is obtained through prediction based on the Cartesian product depth operator network; wherein the Cartesian product depth operator network comprises a branch network and a backbone network, the branch network is used for coding an input function in a discrete point form, the backbone network is used for coding an evaluation position of an output function, and after Cartesian product operation is carried out on results of the two networks, a prediction result is output. The armature electromagnetic thrust under different excitation currents is calculated through the finite element method, the training data set is constructed, hyper-parameter automatic optimization is adopted, and rapid and accurate prediction of the armature electromagnetic thrust under different excitation currents can be achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of motor magnetic field technology, and in particular relates to an armature electromagnetic thrust prediction method, device, electronic equipment and storage medium. Background Art

[0002] In electromagnetic rail launch, the electromagnetic thrust of the armature is one of the most basic and important parameters. Systematic research on the electromagnetic thrust characteristics of the armature is of great significance to the dynamic characteristics research and reliability design of the electromagnetic railgun.

[0003] There are generally two methods for calculating the electromagnetic thrust of the armature: analytical solution and numerical simulation. The analytical method has a fast calculation speed but low accuracy. Traditional numerical simulation methods such as finite element can realize the dynamic analysis of the electromagnetic rail launcher, but in practice, due to the different launch speeds required each time, driving currents of different amplitudes and shapes need to be loaded. In addition, the use of the finite element method requires recalculation, which requires a large amount of calculation and a long calculation time. Summary of the invention

[0004] In view of this, the present application aims to propose an armature electromagnetic thrust prediction method, device, electronic device and storage medium to solve at least one of the above problems.

[0005] To achieve the above purpose, the technical solution of this application is implemented as follows:

[0006] In a first aspect, the present application provides an armature electromagnetic thrust prediction method, comprising:

[0007] Based on the established finite element simulation model, the armature electromagnetic thrust under different excitation currents is simulated and calculated, and a data set of numerical simulation results of the armature electromagnetic thrust is constructed;

[0008] Constructing a Cartesian product deep operator network according to the data set, and predicting the armature electromagnetic thrust under different excitation currents based on the Cartesian product deep operator network;

[0009] Among them, the Cartesian product deep operator network includes a branch network and a trunk network, the branch network is used to encode the input function in the form of discrete points, and the trunk network is used to encode the position of the output function evaluation, and the results of the two networks are subjected to Cartesian product operation and the prediction result is output.

[0010] In the second aspect, based on the same inventive concept, the present application also provides an armature electromagnetic thrust prediction device, comprising:

[0011] A numerical simulation module is configured to simulate and calculate the armature electromagnetic thrust under different excitation currents based on the established finite element simulation model, and to construct a data set of numerical simulation results of the armature electromagnetic thrust;

[0012] A prediction module is configured to construct a Cartesian product deep operator network according to the data set, and predict the armature electromagnetic thrust under different excitation currents based on the Cartesian product deep operator network;

[0013] Among them, the Cartesian product deep operator network includes a branch network and a trunk network, the branch network is used to encode the input function in the form of discrete points, and the trunk network is used to encode the position of the output function evaluation, and the results of the two networks are subjected to Cartesian product operation and the prediction result is output.

[0014] In the third aspect, based on the same inventive concept, the present application also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the armature electromagnetic thrust prediction method as described in the first aspect is implemented.

[0015] In a fourth aspect, based on the same inventive concept, the present application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the armature electromagnetic thrust prediction method as described in the first aspect.

[0016] Compared with the prior art, the armature electromagnetic thrust prediction method, device, electronic device and storage medium described in this application have the following beneficial effects:

[0017] The armature electromagnetic thrust prediction method, device, electronic device and storage medium described in the present application establish a linear propulsion electromagnetic energy equipment model in finite element simulation software, construct a data set by calculating the armature electromagnetic thrust under different excitation currents, and the trained neural network can realize fast and accurate prediction of the armature electromagnetic thrust under different current conditions. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0019] Figure 1 This is a schematic diagram of the armature electromagnetic thrust prediction method described in an embodiment of the present application;

[0020] Figure 2 A schematic diagram of the excitation current and geometric model described in an embodiment of the present application;

[0021] Figure 3 This is a comparison diagram of the armature launch speed described in the embodiment of the present application;

[0022] Figure 4Different excitation current waveform diagrams described in the embodiments of the present application;

[0023] Figure 5 A schematic diagram of DeepONet for a Cartesian product data set according to an embodiment of the present application;

[0024] Figure 6 It is a hyperparameter optimization history record diagram described in the embodiment of the present application;

[0025] Figure 7 This is a training loss curve before hyperparameter tuning described in an embodiment of the present application;

[0026] Figure 8 This is a training loss curve diagram after hyperparameter tuning described in the embodiment of the present application;

[0027] Fig. 9 This is a graph of the model prediction results on the test set described in the embodiment of the present application;

[0028] Fig.10 This is a schematic diagram of the structure of the armature electromagnetic thrust prediction device described in an embodiment of the present application;

[0029] Fig.11 A schematic diagram of the hardware structure of the electronic device described in an embodiment of the present application. DETAILED DESCRIPTION

[0030] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.

[0031] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present application should be the usual meanings understood by people with ordinary skills in the field to which the present application belongs. The "first", "second" and similar words used in the embodiments of the present application do not represent any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing in front of the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0032] The embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0033] Excitation current is one of the main factors affecting the thrust of linear propulsion electromagnetic energy equipment. In order to solve the problem of large amount of calculation and long time when using finite element method to calculate the armature electromagnetic thrust under different excitation current conditions, a method for predicting the armature electromagnetic thrust of linear propulsion electromagnetic energy equipment based on deep operator network is proposed. Please refer to Figure 1 As shown, the method specifically comprises the following steps:

[0034] Step S101 : simulating and calculating the armature electromagnetic thrust under different excitation currents based on the established finite element simulation model, and constructing a data set of numerical simulation results of the armature electromagnetic thrust.

[0035] Specifically, in this embodiment, step S101 specifically includes:

[0036] 1.1 Finite element modeling of linear propulsion electromagnetic energy equipment;

[0037] In this embodiment, based on the public test data, the finite element model of the electromagnetic rail launcher was established using COMSOL software. After numerical simulation to obtain the armature launch speed, it was compared with the test data to verify the correctness of the established finite element model, laying the foundation for the subsequent generation of a deep neural network training set.

[0038] The armature test launcher (Okaloosa Armature Tester, OAT) and MCA 103 armature of the Florida State Laboratory in the United States are used as research objects. The armature model parameters are shown in Table 1. The launch data of the test number SLK018 is used. The armature mass is 249.72g, and the excitation current from 0 to 1.0ms is as follows. Figure 2 According to the electromagnetic field control equation, dynamic equation, pivot rail model parameters and excitation current, a finite element simulation model of the electromagnetic rail launcher under ideal contact conditions is established, as shown in Figure 2 (b) as shown.

[0039] Table 1 Parameters of pivot track model

[0040] Model parameters Numeric Track length l / mm 220.00 Track width h / mm 31.75 Track thickness w / mm 6.35 Track spacing s / mm 25.00 Track conductivity σr / (S / m) 5.80e7 Track relative permeability μr 1.00 Armature length la / mm 28.59 Armature width ha / mm 25.00 Armature conductivityσ / (S / m) 1.86e7 Armature relative magnetic permeability μ 1.00

[0041] Considering the skin effect and proximity effect, the mesh on the inner side of the track is more detailed. Considering that the physical field changes more drastically at the contact surface of the pivot rail, the mesh here is processed more finely. The values ​​of the parameters related to the armature dynamics equation are shown in Table 2. The molten aluminum generated at the contact surface of the pivot rail will increase the friction coefficient μ f It will decrease sharply and tend to be stable during the launch process. In order to simplify the calculation, it is assumed that it remains a fixed value throughout the launch process. During the transient solution process, the time step is set to 0.001ms and the calculation tolerance is set to 0.01.

[0042] Table 2 Parameters of armature dynamic equation

[0043]

[0044]

[0045] The armature speed obtained by numerical simulation is compared with the test measurement value of the launch device, such as Figure 3 As shown in the figure, the armature outlet velocity calculated by numerical simulation is 245.7 m / s, and the armature outlet velocity measured by the launch test is 247.0 m / s. The numerical simulation result of the armature outlet velocity is only 0.53% smaller than the experimental measurement. It can be seen that the finite element model established in this paper is correct and can provide reliable training data for the deep learning model.

[0046] 1.2 Armature motion control equations

[0047] Considering the influence of the armature motion speed, the formula of the electromagnetic induction law of Maxwell's equations described in the Eulerian coordinate system should be:

[0048]

[0049] In the formula, E is the electric field intensity; B is the magnetic flux density; t is the time; v is the armature movement speed.

[0050] The constitutive equation remains unchanged, and B and E are expressed by A-φ function as follows:

[0051]

[0052] Where A is the vector magnetic potential and φ is the scalar electric potential.

[0053] By combining the Maxwell equations, constitutive equations and A-φ potential function considering the influence of the armature motion velocity, and introducing the Coulomb specification, the electromagnetic field control equation of the electromagnetic railgun described by the Eulerian coordinate system is obtained as follows:

[0054]

[0055] Where μ is the relative magnetic permeability; σ is the electrical conductivity; Js is the source current density.

[0056] Considering the influence of armature rail friction resistance and air resistance during the armature movement, the thrust of the armature in the direction of movement is:

[0057] F=F em -F f -F air

[0058] in,

[0059]

[0060] In the formula, F em is the armature electromagnetic thrust, which is related to the current density J and the magnetic flux density B; F f is the friction resistance of the pivot rail, which is similar to the friction coefficient μ f , armature electromagnetic contact pressure F N,em , Armature mechanical preload pressure F N,p Related to; F air is the air resistance, which is related to the armature motion parameters and its aerodynamic shape; γ is the specific heat ratio of air; ρ0 is the initial air density; S is the cross-sectional area of ​​the armature; L is the circumference of the armature section; C f is the viscous friction coefficient. Armature mass m a It is known that the armature acceleration, velocity, and displacement are:

[0061]

[0062] Step S102, constructing a Cartesian product deep operator network according to the data set, and predicting the armature electromagnetic thrust under different excitation currents based on the Cartesian product deep operator network;

[0063] Among them, the Cartesian product deep operator network includes a branch network and a trunk network. The branch network is used to encode the input function in the form of discrete points, and the trunk network is used to encode the location of the output function evaluation. The results of the two networks are subjected to Cartesian product operations and the prediction results are output.

[0064] Specifically, in this embodiment, step S102 specifically includes:

[0065] 2.1 Dataset Construction and Data Preprocessing

[0066] 2.1.1 Excitation current sampling

[0067] At present, the more mature power supply scheme is to form a pulse current by discharging a high energy storage capacitor. However, due to limited conditions, this embodiment uses a double exponential pulse current to approximate the actual pulse current, and its expression is:

[0068]

[0069] In the formula, I0 affects the current peak value, τ1 and τ2 are time constants, which control the rising and falling rates of the excitation current waveform respectively. When different values ​​are taken, excitation currents with different waveforms can be quickly generated. The value range is shown in Table 3. Finally, a total of 400 excitation currents with different waveforms are randomly generated, among which some excitation current waveforms are as follows Figure 4 shown.

[0070] Table 3 Parameter value range

[0071] parameter Value range <![CDATA[I0 / MA]]> [1.0,1.2] <![CDATA[τ1 / ms]]> [0.6,0.9] <![CDATA[τ2 / ms]]> [0.12,0.36]

[0072] This embodiment uses a finite element model to generate a data set for neural network training. Specifically, the generated excitation current is input into the established finite element model for numerical simulation, and the simulation time is set to 1ms and the step size is 0.001ms. Finally, a total of 400 sets of current density field data at the contact surface of the armature electromagnetic thrust and the armature rail under different excitation currents are obtained.

[0073] 2.1.2 Data Preprocessing

[0074] In order to input the excitation current waveform into GAONet, it needs to be discretized. In the time [0, 1ms], the corresponding excitation current value is taken every 0.01ms in an aligned manner to represent the excitation current waveform, and arranged in chronological order. Therefore, each excitation current waveform can be represented by 101 discrete points, and finally the input function matrix of the branch network is formed, and the shape is [400, 101]. Similarly, the same discretization method is used for the electromagnetic thrust curve to form the input coordinate matrix of the backbone network and the output matrix (label) of GAONet, which are [101, 1] and [400, 101] respectively.

[0075] Data preprocessing is one of the important steps to ensure the model training effect and generalization ability. Since there are basically no missing values ​​in the numerical simulation calculation results, it is only necessary to normalize the original data to reduce the impact of the order of magnitude and dimension on the neural network training, speed up the convergence speed of optimization algorithms such as gradient descent, and reduce the problem of gradient disappearance or explosion during model training. This embodiment uses Min-Max normalization to preprocess the data and convert the data range to between [0, 1]. The calculation formula is:

[0076]

[0077] In the formula, X is the original data, X min and X max are the minimum and maximum values ​​of the sample data, respectively, norm The preprocessed data set is divided into a training set and a test set in a ratio of 8:2.

[0078] 2.2 Deep Operator Network

[0079] DeepONet can realize the mapping between the input function u and the output function G(u). In this embodiment, the purpose is to construct the mapping between the excitation current to the electromagnetic thrust and the current density field. Therefore, the branch network takes the excitation current i as input, the trunk network takes the time t as input, and the DeepONet output is the electromagnetic thrust F(t) under the excitation current i.

[0080] Among them, the backbone network of DeepONet takes coordinate y as input and outputs The branch network has two forms: stacked and non-stacked. Among them, the stacked form of DeepONet has p branch networks, each of which is [u(x1),u(x2),…,u(x m )] T is the input and the output is a scalar By stacking the number of branch networks, the features equal to the output dimension of the main network are obtained; the non-stacked DeepONet merges all branch networks into one branch network and increases the output dimension to be equal to the output dimension of the main network. The output is Finally, the output of the branch network is dot-producted with the output of the main network. Therefore, for the input function u(x) and coordinate y, the output of DeepONet can be expressed as:

[0081]

[0082] In the formula, θ is the trainable parameter of the neural network; It is a bias term used to improve the model's expressiveness and reduce the generalization error. Compared with the stacked DeepONet, the non-stacked DeepONet model is simpler and has a smaller generalization error. Therefore, the DeepONet discussed and used in the subsequent embodiments of this invention are all non-stacked DeepONet.

[0083] Generally speaking, for convenience, regularized aligned data is often used when generating training data, that is, the input y of the backbone network is exactly the same for all u. At this time, if the original DeepONet is still used, there will be a large amount of duplicate data in the training set, resulting in low training efficiency. This embodiment constructs a Cartesian Product DeepONet, such as Figure 5 shown.

[0084] When the aligned training data set is used to train the Cartesian product DeepONet in this embodiment, the input function matrix with the dimension [N, m] and the y coordinate matrix with the dimension [Q, 1] are directly input into the branch network and the trunk network at the same time, and the output matrix dimensions are [N, p] and [Q, p] respectively. Finally, the Cartesian product of the two output matrices is calculated to directly obtain the prediction output matrix G with the dimension [N, Q] θ (u)(y).

[0085] For ease of understanding, the matrix form of the aligned training data set is further given. In comparison, the original DeepONet is more adaptable to different types of data sets, but has low computational efficiency; while the Cartesian product DeepONet is suitable for aligned data sets, reducing a large amount of redundant calculations and greatly improving computational efficiency.

[0086] When updating the internal weights of DeepONet, the loss needs to be back-propagated to both the branch network and the main network, using the mean squared error (MSE) loss function, calculated as:

[0087]

[0088] In the formula, is the predicted value of DeepONet, is the tag value.

[0089] 2.3 Model training and automatic hyperparameter tuning

[0090] 2.3.1 Neural Network Model Training

[0091] This example builds a deep neural network model based on the Pytorch deep learning framework and uses a GPU to accelerate model training. The GPU model is NVIDIA Tesla A800, with 80GB of video memory and CUDA version 11.4.

[0092] During the training process, this embodiment uses the MSE loss function, sets the batch size of each training round to 8, sets the initial learning rate to 1×10-3, and uses the Adam optimizer. To further improve the convergence speed of model training, this embodiment adopts a dynamic learning rate adjustment strategy based on the Adam optimizer, so that the learning rate gradually decreases as the number of training steps increases.

[0093] After training, MSE, mean absolute percentage error (MAPE), and R 2 Three evaluation indicators are used to assess the prediction performance of the model.

[0094] Using MSE ensures that the loss function and evaluation metrics used during training and testing are consistent, which helps to better understand the performance of the model.

[0095] MAPE considers relative error rather than absolute error, which can better evaluate the performance of the model in different numerical ranges.

[0096] R 2Also known as the coefficient of determination, it is a statistical indicator that reflects the goodness of fit between the model's predicted value and the actual value. Its value ranges from 0 to 1. The closer the value is to 1, the better the model performance. These three indicators can be used to more comprehensively evaluate the model's predictive performance.

[0097] The calculation formula of MAPE can be expressed as:

[0098]

[0099] In the formula, y i and are the true value and predicted value of the i-th sample respectively, and N is the number of samples.

[0100] R 2 The calculation formula can be expressed as:

[0101]

[0102] In the formula, is the average of the true values.

[0103] 2.3.2 Automatic Hyperparameter Tuning

[0104] As neural network models become more and more complex, more and more hyperparameters are involved. It becomes difficult and inefficient to adjust hyperparameters using methods such as grid search and random search, and it is easy to fall into local optimality. Automatic hyperparameter tuning through optimization algorithms can make up for these shortcomings, further improve model performance, and save a lot of time and computing resources.

[0105] This embodiment uses the Optuna framework for automatic hyperparameter tuning. Compared with other hyperparameter optimization frameworks such as Hyperopt, the Optuna framework is simple and convenient to use, has good stability, and can implement experiment pruning, that is, identifying poorly performing parameter combinations in the early stages of the experiment and terminating hopeless experiments in advance. It can realize distributed parallel optimization and improve the efficiency of hyperparameter tuning.

[0106] This embodiment uses the Tree-structured ParzenEstimator (TPE) in the Optuna framework for hyperparameter tuning. The algorithm is based on the principle of Bayesian optimization. It evaluates the hyperparameters by constructing a probability model of the objective function, and gives priority to the hyperparameter combination that can improve the objective function based on the evaluation results. Compared with the traditional Bayesian optimization algorithm, TPE has higher efficiency and flexibility when processing large-scale parameter spaces.

[0107] The Optuna framework is used to automatically tune the number of backbone network layers, the number of neurons per layer of the backbone network, the number of branch network layers, the number of neurons per layer of the branch network, and the inter-layer activation function of the Cartesian product DeepONet model to find the model parameter settings with the best performance. The range of hyperparameters to be tuned is shown in Table 5. The Epoch is pre-set to 200, the optimization target is the MSE of the model on the test set, the number of optimization trials is 100, and the trial pruning is set.

[0108] Table 5 Hyperparameter value ranges

[0109] Hyperparameters Value range Backbone network layers [2,3,4,5,6] Number of neurons in each layer of the backbone network [64,128,256,512] Number of branch network layers [2,3,4,5,6] Number of neurons per layer in the branch network [64,128,256,512] Inter-layer activation function [ReLU, Tanh, ELU]

[0110] Hyperparameter optimization history Figure 6 As shown in the figure, the dots represent the objective function values ​​corresponding to each hyperparameter optimization test, and the broken line represents the historical optimal value in the optimization process. It can be seen from the figure that the objective function reached the historical optimal value in the 22nd test, and the MSE value of the Cartesian product DeepONet on the test set was 1.91×10 -5 In addition, during the optimization process, it was observed that the experiments that ran for 200 epochs were mainly concentrated in the initial stage of hyperparameter optimization, and the objective function values ​​in subsequent experiments were greater than 1×10 -2 Almost all the experiments were terminated early, which shows that experimental pruning greatly improves the efficiency of hyperparameter optimization. The DeepONet generator model parameters corresponding to the optimal hyperparameter combination are shown in Table 6.

[0111] Table 6 Cartesian product DeepONet model parameters

[0112]

[0113] Retrain the Cartesian product DeepONet using the optimal hyperparameter combination and compare it with the test set MSE error curve before hyperparameter tuning, as shown in Figure 7 and Figure 8 As shown in the figure, it can be seen that the model has good accuracy on the training set but poor accuracy on the test set before hyperparameter tuning, and there is overfitting. Compared with before hyperparameter tuning, the prediction accuracy of the optimized model is significantly improved.

[0114] 2.4 Results Analysis

[0115] Some prediction results of DeepONet on the test set are as follows Fig. 9 As shown in the figure, it can be seen that DeepONet can achieve high-precision prediction for excitation currents with different rise times and peak sizes.

[0116] Performance of different models under different numbers of dataset samples. In this section, we select the fully connected network, DBN-DNN and Cartesian product DeepONet to train under different numbers of dataset samples and compare their performance. The prediction results are shown in Table 7.

[0117] It can be observed from Table 7 that under the same total number of samples in the data set, compared with the fully connected network and DBN-DNN network, the operator network uses two sub-networks to process the input excitation current i and time coordinate t respectively, which has lower MSE, MAPE and higher R 2 , it can be seen that the knowledge-embedded operator neural network can improve the prediction accuracy of the model. Further observation shows that the MSE and MAPE of DeepONet in this section are lower than those of the other three models when the total number of samples of the data set is 200, 100 and 50. 2 All of them are higher than other models and have the highest prediction accuracy. With a total number of 200 dataset samples, DeepONet's MSE is lower than 8e-5, MAPE is lower than 0.7%, and R2 reaches 0.998.

[0118] Table 7 Performance of different models under different data set sample numbers

[0119]

[0120] The armature electromagnetic thrust prediction method described in this embodiment converts the prediction of electromagnetic thrust into operator learning, integrating physical knowledge with data. Unlike other physical information neural networks that need to be optimized during training and testing, the adversarial operator network does not require any optimization during the reasoning process and can be used for real-time prediction of linear propulsion electromagnetic energy equipment. At the same time, the Optuna framework is used for automatic hyperparameter tuning to improve the training efficiency of the model.

[0121] It should be noted that the above describes some embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0122] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, an embodiment of the present application further provides an armature electromagnetic thrust prediction device.

[0123] like Fig.10 As shown, the armature electromagnetic thrust prediction device comprises:

[0124] The numerical simulation module 11 is configured to simulate and calculate the armature electromagnetic thrust under different excitation currents based on the established finite element simulation model, and construct a data set of numerical simulation results of the electromagnetic thrust;

[0125] A prediction module 12 is configured to construct a Cartesian product depth operator network according to the data set, and predict the armature electromagnetic thrust under different excitation currents based on the Cartesian product depth operator network;

[0126] Among them, the Cartesian product deep operator network includes a branch network and a trunk network, the branch network is used to encode the input function in the form of discrete points, and the trunk network is used to encode the position of the output function evaluation, and the results of the two networks are subjected to Cartesian product operation and the prediction result is output.

[0127] For the convenience of description, the above devices are described in terms of functions and are divided into various modules. Of course, when implementing the embodiments of the present application, the functions of each module can be implemented in the same or multiple software and / or hardware.

[0128] The device of the above embodiment is used to implement the corresponding armature electromagnetic thrust prediction method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.

[0129] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, an embodiment of the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the armature electromagnetic thrust prediction method as described in any of the above embodiments is implemented.

[0130] Fig.11 A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.

[0131] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0132] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.

[0133] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.

[0134] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).

[0135] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).

[0136] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.

[0137] The electronic device of the above embodiment is used to implement the corresponding armature electromagnetic thrust prediction method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.

[0138] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the armature electromagnetic thrust prediction method described in any of the above embodiments.

[0139] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.

[0140] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the armature electromagnetic thrust prediction method described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0141] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application (including the claims) is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.

[0142] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present application difficult to understand, the known power supply / ground connection with the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform to be implemented in the embodiments of the present application (that is, these details should be fully within the scope of understanding of those skilled in the art). In the case of elaborating specific details (e.g., circuits) to describe exemplary embodiments of the present application, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details or when these specific details are changed. Therefore, these descriptions should be considered to be illustrative rather than restrictive.

[0143] Although the present application has been described in conjunction with specific embodiments of the present application, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.

[0144] The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the scope of protection of the present application.

Claims

1. A method for predicting armature electromagnetic thrust, characterized in that: include: Based on the established finite element simulation model, the armature electromagnetic thrust under different excitation currents is simulated and calculated, and a data set of numerical simulation results of the armature electromagnetic thrust is constructed; Constructing a Cartesian product deep operator network according to the data set, and predicting the armature electromagnetic thrust under different excitation currents based on the Cartesian product deep operator network; Among them, the Cartesian product deep operator network includes a branch network and a trunk network, the branch network is used to encode the input function in the form of discrete points, and the trunk network is used to encode the position of the output function evaluation, and the results of the two networks are subjected to Cartesian product operation and the prediction result is output.

2. The armature electromagnetic thrust prediction method according to claim 1, characterized in that: Sampling data of excitation currents of different waveforms and performing data preprocessing, wherein the data preprocessing includes discretization processing and normalization processing; The preprocessed data set is divided into training set and test set.

3. The armature electromagnetic thrust prediction method according to claim 1, characterized in that: In response to training the Cartesian product through the aligned training set, an input function matrix and a coordinate matrix with a certain dimension are respectively input to the branch network and the trunk network, and a prediction matrix is ​​output after a dot product operation is performed on the output of the branch network and the trunk network.

4. The armature electromagnetic thrust prediction method according to claim 3, characterized in that: The prediction matrix formula output after the Cartesian product operation is: In the formula, u(x) is the input function, y is the coordinate, and θ is the trainable parameter of the neural network. is a bias term.

5. The armature electromagnetic thrust prediction method according to claim 4, characterized in that: In response to updating the internal weights of the Cartesian product, the loss is back-propagated to both the branch network and the trunk network, and the mean square error is used as the loss function, and the calculation formula is: In the formula, is the predicted value of the Cartesian product, is the tag value.

6. The armature electromagnetic thrust prediction method according to claim 1, characterized in that: Based on the Adam optimizer, the Cartesian product deep operator network is trained with a dynamic learning rate adjustment strategy. After the training is completed, the MSE, MAPE and R2 evaluation indicators are selected to evaluate the prediction performance of the model.

7. The armature electromagnetic thrust prediction method according to claim 1, characterized in that: The Optuna framework is used to perform hyperparameter tuning on the number of backbone network layers, the number of neurons in each layer of the backbone network, the number of branch network layers, the number of neurons in each layer of the branch network, and the inter-layer activation function of the Cartesian product deep operator network. The optimal hyperparameter combination is selected to retrain the Cartesian product deep operator network and compared with the MSE error curve of the test set before hyperparameter tuning.

8. An armature electromagnetic thrust prediction device, characterized in that: include: A numerical simulation module is configured to simulate and calculate the armature electromagnetic thrust under different excitation currents based on the established finite element simulation model, and to construct a data set of numerical simulation results of the armature electromagnetic thrust; A prediction module is configured to construct a Cartesian product deep operator network according to the data set, and predict the armature electromagnetic thrust under different excitation currents based on the Cartesian product deep operator network; Among them, the Cartesian product deep operator network includes a branch network and a trunk network, the branch network is used to encode the input function in the form of discrete points, and the trunk network is used to encode the position of the output function evaluation, and the results of the two networks are subjected to Cartesian product operation and the prediction result is output.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the armature electromagnetic thrust prediction method described in any one of claims 1-7 is implemented.

10. A non-transitory computer-readable storage medium, characterized in that: in, The non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the armature electromagnetic thrust prediction method described in any one of claims 1-7.