Magnetic core loss prediction method based on submerged space time sequence knowledge coupling network
Through the magnetic core loss prediction method based on latent space timing knowledge coupled network, the data characteristics of magnetic materials under different conditions are processed, and the problem of insufficient accuracy of existing models under complex conditions is solved, and high-precision prediction under unknown materials and operating conditions is achieved.
Patent Information
- Application Number
- CN202510660326.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-22
- Publication Date
- 2025-06-20
- Estimated Expiration
- 2045-05-22
AI Technical Summary
When faced with the strong causality and complexity of the excitation density change curve, the existing core loss model lacks general applicability and high accuracy, especially under non-sine and complex waveform conditions, the accuracy of the traditional model has significantly decreased.
A core loss prediction method based on latent space timing knowledge coupled network is proposed. By collecting sample data sets of multiple magnetic materials under different conditions, using conditional encoding and extension knowledge gates to process inherent attribute features, and combining the timing attribute features of bidirectional long and short-term memory networks to process timing attribute features, a high-precision core loss prediction model is constructed.
Through transfer learning, the generalization ability of the model can be improved, ensuring that high-precision prediction can be maintained under unknown materials and operating conditions, solving the problem of insufficient accuracy of traditional models under complex conditions.
Smart Images

Figure CN120180282A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electromagnetic control technology, and particularly to a method for predicting core loss based on a latent space temporal knowledge coupling network. Background Art
[0002] In the design of modern ultra-small resistors and magnetic components, the accuracy of the core loss model has a decisive impact on system performance. With the rapid development of renewable energy, electric vehicles, and high-efficiency power conversion systems, the demand for high-performance magnetic materials and accurate loss prediction models has become extremely urgent. Accurately predicting core loss can not only improve system efficiency, reduce energy loss, but also extend the equipment life and enhance reliability, which has important economic and social value in practical applications. However, the non-linear characteristics, frequency dependence, temperature sensitivity of core materials, and complex multi-variable influencing factors make loss modeling a very challenging task. Traditional loss models, such as the Steinmetz equation (SE), have been widely used due to their simplicity and computational efficiency. However, SE is only applicable to sinusoidal steady-state conditions, and its accuracy is significantly reduced for non-sinusoidal, pulsed, and high-frequency waveforms commonly found in modern power electronics. For this reason, researchers have made several improvements to SE, and proposed models such as modified SE (MSE), generalized SE (GSE), and improved generalized SE (iGSE) in order to expand its application range.
[0003] Although a large number of studies have been dedicated to the modeling of core loss, in the face of the strong causality and complexity of the excitation density change curve, existing models still lack generality and high precision. We propose a deep learning model of latent space temporal knowledge coupling network (Latended Temporal Yoked Fusion). Taking the inherent attributes and temporal attributes of the core as input features, using the long short-term memory network (LSTM) to process time series data, and combining with an extended knowledge gate mechanism to dynamically fuse the conditional matrix and the temporal feature matrix. Through transfer learning, we improve the generalization ability of the model to ensure high-precision prediction under unknown materials and working conditions. Summary of the Invention
[0004] To achieve the above object, this application provides the following technical solutions: According to the first aspect of the present invention, the present invention claims a method for predicting core loss based on a latent space temporal knowledge coupling network, including: Collecting a sample data set, classifying the feature categories of the sample data set to obtain inherent attribute features and temporal attribute features; Preprocessing the inherent attributes using conditional encoding, and combining with an extended knowledge gate to obtain an inherent feature representation; preprocessing the temporal attributes using data dimensionality reduction, and combining with a bidirectional long short-term memory network to obtain a temporal feature representation; Splice and couple the output data of the extended knowledge gate and the output data of the bidirectional long short-term memory network to construct a core loss prediction model; Input the sample data set of the material to be predicted into the core loss prediction model to output the predicted result of the magnetic flux loss of the material to be predicted.
[0005] Furthermore, the acquisition of the sample data set further includes: The acquired sample data set is the core loss measurement data of various magnetic materials under different frequencies, temperatures, and waveform conditions; After acquiring the sample data set, it further includes: Divide the sample data set into a training set and a test set according to a preset ratio.
[0006] Furthermore, the feature category division of the sample data set to obtain the inherent attribute features and the time series attribute features further includes: The inherent attribute features at least include: Temperature, frequency, core material, excitation waveform; The time series attribute features at least include: Magnetic flux density, magnetic field strength.
[0007] Furthermore, the preprocessing of the inherent attributes using conditional encoding and combining with the extended knowledge gate to obtain the inherent feature representation; the preprocessing of the time series attributes using data dimensionality reduction and combining with the bidirectional long short-term memory network to obtain the time series feature representation further includes: Perform maximum-minimum normalization processing on the inherent attribute features, and perform anti-normalization on the core loss after the model prediction to obtain a representation with the same order of magnitude as the original data; Adopt continuous conditional encoding and the generator added in the continuous conditional encoding, use matrix multiplication through the extended knowledge gate, and update the knowledge gate parameters when updating the gate each time to expand the dimension of the continuous conditional encoding result to obtain the output data of the extended knowledge gate; The matrix multiplication is the recombination and projection of the input features, and the update gate dynamically adjusts the parameters of the knowledge gate of the model during training.
[0008] Furthermore, the preprocessing of the inherent attributes using conditional encoding and combining with the extended knowledge gate to obtain the inherent feature representation; the preprocessing of the time series attributes using data dimensionality reduction and combining with the bidirectional long short-term memory network to obtain the time series feature representation further includes: Use wavelet transform to filter out the redundant noise of the time series attribute features, and check whether there are outlier points. If there are, remove the outliers and fill in the adjacent average values; Latent space dimensionality reduction is adopted to convert high-dimensional information into low-dimensional representation, and the combination of LSTM and BiLSTM is used to extract the long-term and short-term dependence information of the temporal attribute features, and the output data of the bidirectional long short-term memory network is output.
[0009] Further, after splicing and coupling the output data of the extended knowledge gate and the output data of the bidirectional long short-term memory network to construct the core loss prediction model, it further includes: Evaluate the effectiveness of the core loss prediction model, and use the training set and the test set to evaluate the effect of the model and test the model results with MAE, RMSE, and R2 as benchmarks to obtain the loss curve; Monitor the changes of the loss curve and test metrics during the training process to ensure that the core loss prediction model does not exhibit overfitting or underfitting phenomena.
[0010] This application relates to the field of electromagnetic control technology, and particularly to a core loss prediction method based on a latent space temporal knowledge coupling network. A sample data set is collected, and the sample data set is divided into feature categories to obtain inherent attribute features and temporal attribute features; the inherent attribute features are preprocessed to obtain the output data of the extended knowledge gate; the temporal attribute features are preprocessed to obtain the output data of the bidirectional long short-term memory network; the output data of the extended knowledge gate and the output data of the bidirectional long short-term memory network are spliced and coupled to construct a core loss prediction model; the sample data set of the material to be predicted is input into the core loss prediction model to output the flux loss prediction result of the material to be predicted. The present invention uses a long short-term memory network to process time series data, combines an extended knowledge gate mechanism, dynamically fuses the conditional matrix and the temporal feature matrix, and through transfer learning, improves the generalization ability of the model and ensures high-precision prediction under unknown materials and working conditions. Description of the Drawings
[0011] Figure 1 It is a working flow chart of the core loss prediction method based on the latent space temporal knowledge coupling network requested to be protected by the embodiments of this application; Figure 2 It is a second working flow chart of the core loss prediction method based on the latent space temporal knowledge coupling network requested to be protected by the embodiments of this application; Figure 3 It is a working flow chart of the continuous conditional embedding encoding and the continuous conditional encoding generator of the core loss prediction method based on the latent space temporal knowledge coupling network requested to be protected by the embodiments of this application; Figure 4 It is a structure diagram of the extended knowledge gate of the core loss prediction method based on the latent space temporal knowledge coupling network requested to be protected by the embodiments of this application; Figure 5The structural diagram of the timing attribute block of the core loss prediction method based on the latent space timing knowledge coupling network requested to be protected by the embodiments of the present application; Figure 6 The loss curve diagram of the LTYF model of the core loss prediction method based on the latent space timing knowledge coupling network requested to be protected by the embodiments of the present application; Figure 7 The curve diagram of the change of test indexes of the core loss prediction method based on the latent space timing knowledge coupling network requested to be protected by the embodiments of the present application; Figure 8 The fitting effect diagram of the core loss prediction of the core loss prediction method based on the latent space timing knowledge coupling network requested to be protected by the embodiments of the present application. Detailed implementation manners
[0012] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
[0013] The terms "first", "second", and "third" in the present application are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first", "second", and "third" may explicitly or implicitly include at least one of such features. In the description of the present application, the meaning of "a plurality" is at least two, such as two, three, etc., unless otherwise specifically and clearly defined. All directional indications (such as up, down, left, right, front, back...) in the embodiments of the present application are only used to explain the relative position relationship and movement conditions between components in a specific posture (as shown in the drawings). If the specific posture changes, the directional indications will also change accordingly. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally further includes steps or units not listed, or optionally further includes other steps or units inherent to these processes, methods, products, or devices.
[0014] References herein to "embodiments" mean that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the present application. The phrase appears in various places in the specification and does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0015] In the prior art, although the improved model has improved the prediction accuracy to a certain extent, in the cross-coupling effect, the traditional model usually only considers a single variable, such as frequency or magnetic flux density amplitude, lacks the description of the interaction between multiple factors, and is difficult to accurately reflect the loss characteristics under actual working conditions. These models need to pre-determine the characteristic parameters of the material, such as the Steinmetz coefficient, which, however, can usually only be obtained through experimental measurement, limiting the generality and adaptability of the model. Under non-sinusoidal or complex waveform conditions, the accuracy of the traditional model drops significantly and cannot meet the requirements of modern power electronics applications. With the development of power electronics technology, the working conditions of magnetic components are becoming increasingly complex, and the traditional model is difficult to adjust and adapt in a timely manner, restricting its application in emerging fields. To solve the above problems, researchers have begun to explore data-driven methods. The artificial neural network (ANN) has become a powerful tool for magnetic core loss modeling due to its strong non-linear mapping ability and adaptive learning characteristics. In early work, Kucuk used neural networks and genetic algorithms to predict the magnetic hysteresis loop of the magnetic core; Amoiralis et al. combined artificial intelligence technology with the hybrid finite element-boundary element method to achieve the global optimization design of transformers.
[0016] According to the first embodiment of the present invention, the present invention claims a magnetic core loss prediction method based on a latent space time-series knowledge coupling network, referring to Figure 1 , including: Collect a sample data set, perform feature category division on the sample data set to obtain inherent attribute features and time-series attribute features; Preprocess the inherent attributes using conditional encoding and combine with an extended knowledge gate to obtain inherent feature representations; preprocess the time-series attributes using data dimensionality reduction and combine with a bidirectional long short-term memory network to obtain time-series feature representations; Stitch and couple the output data of the extended knowledge gate and the output data of the bidirectional long short-term memory network to construct a magnetic core loss prediction model; Input the sample data set of the material to be predicted into the magnetic core loss prediction model to output the magnetic flux loss prediction result of the material to be predicted.
[0017] Further, the collection of the sample data set further includes: The collected sample dataset is the core loss measurement data of various magnetic materials under different frequencies, temperatures, and waveform conditions; After collecting the sample dataset, it further includes: Dividing the sample dataset into a training set and a test set according to a preset ratio.
[0018] Among them, in this embodiment, the data is sourced from the MagNet Database dataset, which is used to support the proposed core loss modeling method based on LTYF-LSTM. MagNet is a large open-source magnetic material database provided by the MagNet Challenge project in 2023. The core loss is measured by the four-wire voltage / current method, covering a variety of ferrite materials (such as Ferroxcube-3C90, 3C94, and N27, N30 of TDK, etc.). The dataset includes measurement data in the frequency range from 50 kHz to 450 kHz, the temperature range from 0°C to 120°C, and under sinusoidal, triangular, and trapezoidal waveform conditions from 10 mT to 300 mT, which is used to verify the wide adaptability and robustness of the proposed model. In this study, material N87 was selected to verify the proposed data-driven core loss modeling method. The remaining materials were used for further in-depth analysis of the generalization and robustness of the model. Before the training process, the dataset of material N87 was randomly divided into a training set and a test set in a ratio of 8:2.
[0019] In the dataset, the attribute records of workpiece samples can be divided into two types: inherent attributes and temporal attributes. We list each attribute as shown in Table 1, where the attributes of frequency, temperature, magnetic flux density, and core loss are subjected to maximum-minimum normalization processing to ensure that the overall values are not too large. After the model prediction is completed, the core loss is denormalized to obtain a representation with the same order of magnitude as the original data.
[0020] Table 1 Classification table of workpiece sample attribute feature category records
[0021] Furthermore, the step of classifying the sample dataset into inherent attribute features and temporal attribute features further includes: The inherent attribute features at least include: Temperature, frequency, core material, excitation waveform; The temporal attribute features at least include: Magnetic flux density, magnetic field strength.
[0022] Among them, in this embodiment, for the inherent attributes, in the preprocessing part, we choose to adopt the continuous conditional coding method to avoid the masking phenomenon between feature data, ensure that each feature can effectively participate in model training, and at the same time use the generator added in the continuous conditional coding to ensure that the coding results have both strong robustness and diversity.
[0023] For the time series attributes, wavelet transform is used to filter out the redundant noise, and whether there are outlier points is checked. If there are, the outliers are removed and filled with the adjacent average values.
[0024] Existing industry models are required to meet two points, namely high-precision prediction and general applicability.
[0025] For general applicability, we propose continuous conditional coding. By using the continuous conditional coding generator to maintain the robustness of the coding results, the model can also perform well when predicting the properties of unknown materials. At the same time, a regularization method is used in the model to avoid overfitting of the existing data, and the idea of transfer learning is introduced to ensure good performance of the model under unknown conditional attributes.
[0026] For high precision, we use LSTM and BiLSTM to form a deeper network structure, giving full play to the ability of these two models to capture the bidirectional dependence relationship in sequence data. At the same time, the continuous conditional coding results are processed by using the extended knowledge gate, combined with the latent space data dimensionality reduction method, to expand the dimensions of the high-complexity high-dimensional magnetic flux density for easy model learning and fitting of the results.
[0027] Therefore, we design the model as Figure 2 shown, which mainly includes two parts, namely the inherent attribute block and the time series attribute block. For the inherent attributes in the features, the continuous conditional coding is used to process its discrete features, and the extended knowledge gate is used to process the inherent attribute features. For the time series features, the latent space dimensionality reduction idea is used to convert the high-dimensional information into low-dimensional representation, and LSTM and BiLSTM are combined to extract the long-term and short-term dependence information. Finally, the coupling network is used to integrate and output the inherent attribute features and the time series attribute features to obtain the magnetic flux density prediction value. Furthermore, the preprocessing of the inherent attributes using conditional coding and combining with the extended knowledge gate to obtain the inherent feature representation; the preprocessing of the time series attributes using data dimensionality reduction and combining with the bidirectional long short-term memory network to obtain the time series feature representation, further includes: Performing maximum-minimum normalization processing on the inherent attribute features, and after the model prediction is completed, anti-normalizing the core loss to obtain a representation with the same order of magnitude as the original data; Adopting continuous conditional coding and the generator added in the continuous conditional coding, using matrix multiplication through the extended knowledge gate, and updating the knowledge gate parameters when updating the gate at each gradient update to expand the dimension of the continuous conditional coding results to obtain the extended knowledge gate output data. The matrix multiplication is the recombination and projection of the input features, and the update gate dynamically adjusts the parameters of the knowledge gate of the model during training.
[0028] Among them, in this embodiment, the continuous conditional encoding structure is as Figure 3 shown.
[0029] The continuous conditional encoding generator is an embedding encoding method for multi-condition and multi-dimensional feature sequences. By fusing conditional information, positional information, and semantic features, it realizes the efficient encoding and accurate modeling of complex data. The continuous conditional encoding generator is based on the embedding design of conditional attribute features and variable attribute features, and uses to map to a more flexible representation space, enabling it to adapt to various conditional inputs and context environments when processing complex tasks, thereby enhancing the expressive ability of the model.
[0030] The conditional encoding block first introduces a conditional and continuous variable embedding module as the first part of the encoding, embedding continuous variables such as waveform, material, temperature, frequency, etc. into a high-dimensional space as prior information of the input features. Its output encoding result, as part of the main body of the conditional encoding, is part of the output encoding result, and its result will be input to the continuous conditional encoding generator module. Assuming the input condition is , where represents the th conditional variable, through a continuous embedding function , these conditions are mapped to an embedding space: ; Here, represents the encoding process, is the dimension of the embedding vector. The conditional embedding captures the high-dimensional correlations between external conditional variables and provides a basis for subsequent feature generation.
[0031] Subsequently, is introduced into the continuous conditional encoding generator to ensure that the model can capture the temporal characteristics of the sequence data. The positional encoding is based on the embedding dimension transformation and adopts a sine-cosine function construction form. For the th position in the sequence, its positional encoding is defined as: ; ; Among them, is the frequency dimension index in the positional encoding, represents the position index in the sequence, It is a nonlinear transformation function implemented by a set of linear layer modules. Therefore, compared with conventional position encoding, it combines the advantages of conventional encoding and position encoding, retains the global position information, and also retains the continuous feature variables.
[0032] Secondly, compared with conventional positional encoding, another difference is that it preserves the temporal characteristics in a different way. Continuous conditional encoding uses the number of time steps as the number of encoding layers. Let the number of time steps be , then continuous conditional coding will encode Layer, its encoding results are accumulated and weighted, and the encoding result of the current time step is set to , then it consists of a set number of layers assuming that the previous layer of feature encoding The calculation process is: ; Through this dynamic weighting mechanism, the continuous conditional encoding generator is able to capture the joint impact of the conditioning variable and position information on feature generation.
[0033] It can effectively ensure that the model maximizes the processing and utilization of discrete features. The temperature, core material and excitation waveform recorded in the data set are all classic discrete features. Conventional encoding processing methods can only convert attributes from text to digital form to participate in training, and the conversion results are single and not flexible. When unknown temperatures, waveforms or materials appear, conventional encoding is likely to fail. Therefore, we use the encoding method of inherent attribute combinations and the conditional coding generator to increase the diversity of encoding results while ensuring high versatility. When the model is applied to unknown attributes, it can still complete the prediction task well.
[0034] Expand your knowledge Figure 4 As shown in , it further expands the dimension of the continuous conditional encoding result to obtain a more diverse result representation. It mainly uses matrix multiplication to expand the dimension, and uses the update gate to update the knowledge gate parameters at each gradient update, thereby improving the model's adaptability to data in different scenarios. The process of matrix multiplication can be regarded as a reorganization and projection of the input features, allowing the model to capture more complex feature interactions in high-dimensional space. The introduction of the update gate enables the model to dynamically adjust the parameters of the knowledge gate during the training process, so that it can better adapt to changes in input data and avoid overfitting problems. In this way, the model not only performs well on the original data distribution, but can also be flexibly applied under different data modes, showing stronger generalization ability and robustness. The extended knowledge gate output and update gate iteration formulas are shown in Equations 1 to 3.
[0035] ; in, It is the current moment The output result of the input sample, is the weight matrix that expands the input dimension and is used to capture the complex relationships of the input features, is the conditional matrix of the inherent attributes of the input at the current moment, is the bias vector and is used to adjust the output result of each sample, is the output of the update gate, is the Sigmoid activation function and is used to control the update intensity of the knowledge base, is the weight matrix, and its role is on the current input , is the bias vector, is the updated weight matrix of the knowledge base, is the knowledge base parameter at the current moment, is the initialized weight of the knowledge base, is the Hadamard product, which represents element-wise multiplication.
[0036] Furthermore, the preprocessing of the inherent attributes using conditional encoding and combining with the extended knowledge gate to obtain the inherent feature representation; the preprocessing of the temporal attributes using data dimensionality reduction and combining with the bidirectional long short-term memory network to obtain the temporal feature representation further includes: Using wavelet transform to filter out the redundant noise of the temporal attribute features and checking whether there are outlier points. If there are, the outliers are removed and filled with the adjacent average value; Using latent space dimensionality reduction to convert high-dimensional information into low-dimensional representation, and using the combination of LSTM and BiLSTM to extract the long-term and short-term dependence information of the temporal attribute features, and outputting the data output by the bidirectional long short-term memory network.
[0037] Among them, in this embodiment, as Figure 5 shown, the temporal attribute block is mainly composed of the combination of LSTM and BiLSTM, and extracts features from the front and back two directions of the time series. The bidirectional structure allows the model to not only capture historical information, but also enhance the feature representation through the supplement of future information, thereby improving the decision-making ability for the current time step.
[0038] Both LSTM and BiLSTM are controlled by three gating mechanisms and a memory unit, namely the forget gate, the input gate, the output gate, and the updated memory unit, and their calculation formulas are as follows.
[0039] ; Among them, is the output of the memory gate, is the hidden state of the previous time step, is the current input, is the weight matrix, is the bias term, is the sigmoid function.
[0040] ; ; Among them, is the output of the input gate, and are the weight matrix and bias term of the input gate, is the candidate new memory, and tanh is the hyperbolic tangent activation function.
[0041] ; Among them, is the memory cell at the current moment, is the memory at the previous moment.
[0042] ; ; Among them, is the hidden state at the current moment.
[0043] Finally, the coupling network integrates the inherent attribute matrix and the temporal attribute matrix data, reduces the data dimension using a linear layer, and the model combines the inherent attributes and the temporal attributes to comprehensively judge the result and outputs the flux loss prediction result.
[0044] Furthermore, after splicing and coupling the output data of the extended knowledge gate and the output data of the bidirectional long short-term memory network to construct the core loss prediction model, it further includes: Evaluating the effectiveness of the core loss prediction model, using the training set and the test set as benchmarks with MAE, RMSE, and R2 to evaluate the model's effect and test the model results to obtain the loss curve; Monitoring the changes in the loss curve and test metrics during the training process to ensure that the core loss prediction model does not exhibit overfitting or underfitting phenomena.
[0045] Among them, in this embodiment, the hyperparameter design is shown in Table 2, testing the model results, and its loss curve is as Figure 6As shown, in terms of the overall trend, the losses of the training set and the test set, and both curves show a rapid downward trend, indicating that the model learns relatively fast in this stage, quickly adjusts the parameters in the first few iterations, reduces the error. After 50 iterations, the loss values basically tend to be stable, and the loss curves of the training set and the test set are relatively close, indicating that the learning effect of the model is good, and there is no significant overfitting or underfitting phenomenon. Generally speaking, this loss curve indicates that the model has been reasonably trained and finally achieved a stable effect. The loss values of the training set and the test set remain consistent under a relatively long number of iterations, indicating that the generalization ability of the model is good and it is applicable to data outside the training set. This trend conforms to the characteristic that the loss value gradually converges with the passage of training time in deep learning models, demonstrating the convergence and stability of the model.
[0046] Table 2 Hyperparameter Statistical Table
[0047] As Figure 7 shown, we also plotted the change curves of the test metrics during the training process, including the changes in MAE, RMSE, and other metrics. Generally, the curves show a steadily downward trend, indicating that the overall performance of the model is gradually improving. The curve quickly approaches above 0.95 from a relatively low level. As the training progresses,
[0048] it gradually tends to be stable and approaches 100%. This curve trend indicates that the fitting effect of the model is very good and it can accurately predict the core loss value. Figure 8 Furthermore, we randomly selected 80 samples for core loss testing and compared the predicted values with the actual values of each sample to intuitively feel the fitting effect of the core loss. The results are as
[0049] Furthermore, we utilized the idea of transfer learning and selected a 3:1 material category division method. One of the four materials (3C90, 3C94, 3E6, and 3F4 corresponding to Materials 1 to 4 respectively) was taken turns as the test set, and the other three were used as the training set. Thus, we observed the generalization ability of the model when testing unknown materials. By continuously rotating the materials as the test set, we observed the transfer performance of the model among different materials from various angles, providing data support for the subsequent optimization of the model and the improvement of its generalization ability.
[0050] We listed the test results of the four combination methods in Table 3. We also selected MAE, RMSE, and R2 as quantitative evaluation indicators to evaluate its generalization ability. At the same time, we randomly selected samples and plotted the fitting effect of the model. There were certain differences in the test results of different material combinations, which reflected the differences in material properties and the transfer ability of the model when facing different materials. Among all the division methods, the change ranges of MAE and RMSE were relatively small, and the R2 values were all maintained at a level close to 100%, indicating that the model had good generalization performance when dealing with different materials. However, in some combinations, the error of the test set was slightly higher, indicating that there was still room for further optimization on specific materials.
[0051] Table 3 Test Table of Core Loss Prediction Fitting and Transfer Learning
[0052] Furthermore, we modified the transfer learning idea for waveform and temperature factors and also conducted core loss prediction fitting experiments. A total of seven test prediction results were listed. Each result was used as the test set, and the remaining conditional factors were used as the training set to visually demonstrate the generalization ability of the model from various angles.
[0053] Therefore, the LTYF-LSTM designed by us is a core loss prediction model that can cross different material types and working conditions. Its continuous conditional encoding has strong generalization ability, enabling the model to accurately predict the core loss even in the case of unknown working conditions or materials, greatly improving the accuracy and efficiency of magnetic component design.
[0054] To further verify the superiority of the model, the present invention examined the generalization ability of the model when facing unknown complex waveforms. The training set was restricted to be composed of sine and triangular magnetic flux density B(t) waveforms, while all the remaining trapezoidal waveforms were reserved for the test set to evaluate the error. Table 4 compares the prediction errors of each model for the trapezoidal waveform in N87 material under the above constraints. The results show that the method based on LTYF-LSTM can be generalized to unknown waveforms.
[0055] Table 4 Prediction Error Information of Different Models Facing Unknown Waveforms
[0056] In several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection between each other can be through some interfaces, and the indirect coupling or communication connection of devices or units can be in electrical, mechanical, or other forms.
[0057] In addition, each functional unit in various embodiments of the present application can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units. The above is only the implementation manner of the present application and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the content of the specification and drawings of the present application, or directly or indirectly applied in other related technical fields, are equally included in the patent protection scope of the present application.
[0058] The specific implementation manners of the invention have been described in detail above, but they are only examples, and the present application is not limited to the specific implementation manners described above. For those skilled in the art, any equivalent modification or substitution of the invention is also within the scope of the present application. Therefore, equivalent transformations, modifications, improvements, etc. made without departing from the spirit and principles of the present application should all be covered by the scope of the present application.
Claims
1. A method for predicting core loss based on a latent space time-series knowledge coupling network, characterized in that Including: Collect a sample data set, perform feature category division on the sample data set to obtain inherent attribute features and time series attribute features; Preprocess the inherent attributes using conditional encoding and combine with an extended knowledge gate to obtain inherent feature representations; Preprocess the time series attributes using data dimensionality reduction and combine with a bidirectional long short-term memory network to obtain time series feature representations; Stitch and couple the output data of the extended knowledge gate and the output data of the bidirectional long short-term memory network to construct a core loss prediction model; Input the sample data set of the material to be predicted into the core loss prediction model to output the flux loss prediction result of the material to be predicted.
2. The method for predicting core loss based on a latent space time-series knowledge coupling network according to claim 1, characterized in that The collecting of the sample data set further includes: The collected sample data set is the core loss measurement data of various magnetic materials under different frequencies, temperatures, and waveform conditions; After collecting the sample data set, it further includes: Divide the sample data set into a training set and a test set according to a preset ratio.
3. The method for predicting core loss based on a latent space time-series knowledge coupling network according to claim 1, characterized in that The performing of feature category division on the sample data set to obtain inherent attribute features and time series attribute features further includes: The inherent attribute features at least include: Temperature, frequency, core material, excitation waveform; The time series attribute features at least include: Flux density, magnetic field strength.
4. The method for predicting core loss based on a latent space time-series knowledge coupling network according to claim 1, characterized in that The preprocessing of the inherent attributes using conditional encoding and combining with an extended knowledge gate to obtain inherent feature representations; The preprocessing of the time series attributes using data dimensionality reduction and combining with a bidirectional long short-term memory network to obtain time series feature representations further includes: Perform maximum-minimum normalization on the inherent attribute features, and after the model prediction is completed, anti-normalize the core loss to obtain a representation with the same order of magnitude as the original data; Adopt continuous conditional encoding and the generator added in the continuous conditional encoding, use matrix multiplication through the extended knowledge gate, and update the knowledge gate parameters when updating the gradient each time to expand the dimension of the continuous conditional encoding result to obtain the output data of the extended knowledge gate; The matrix multiplication is the recombination and projection of the input features, and the update gate dynamically adjusts the parameters of the knowledge gate of the model during training.
5. The method for predicting core loss based on a latent space time-series knowledge coupling network according to claim 1, characterized in that The preprocessing of the inherent attributes using conditional encoding and combining with an extended knowledge gate to obtain inherent feature representations; The preprocessing of the time series attributes using data dimensionality reduction and combining with a bidirectional long short-term memory network to obtain time series feature representations further includes: Use wavelet transform to filter out the redundant noise of the time series attribute features, and check whether there are outlier points. If there are, remove the outliers and fill in the adjacent average values; Adopt latent space dimensionality reduction to convert high-dimensional information into low-dimensional representations, and use the combination of LSTM and BiLSTM to extract the long short-term dependence information of the time series attribute features, and output the output data of the bidirectional long short-term memory network.
6. The method for predicting core loss based on a latent space time-series knowledge coupling network according to claim 1, characterized in that After stitching and coupling the output data of the extended knowledge gate and the output data of the bidirectional long short-term memory network to construct a core loss prediction model, it further includes: Evaluate the effectiveness of the core loss prediction model, and use MAE, RMSE, and R2 as benchmarks for the training set and the test set to evaluate the effect of the model and test the model results to obtain a loss curve; Monitor the changes in the loss curve and test metrics during training to ensure that the core loss prediction model does not exhibit overfitting or underfitting phenomena.
Citation Information
Patent Citations
Regional comprehensive energy system multi-energy load prediction method considering time sequence dynamic characteristics and coupling characteristics
CN111191856A
Short-term trend prediction method and system for multi-dimensional time series data
CN116258262A
Cited By
Magnetic core loss prediction method based on empirical state space model
CN120492862A
GPU chip yield prediction method and system based on multi-dimensional data fusion
CN120910492A
Gpu chip yield prediction method and system based on multi-dimensional data fusion
CN120910492B