A Multidimensional Taylor Network Estimator for Switched Reluctance Motor Torque

Through the multidimensional Taylor network estimator and BP-MTN model, the problems of high hardware cost and low accuracy in switching reluctance motor torque measurement are solved, and accurate prediction and real-time feedback of motor torque are achieved, which simplifies hardware implementation. Reduced operation requirements.

CN115051613BActive Publication Date: 2024-11-05NANJING UNIV OF INFORMATION SCI & TECH
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202210749319.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-28
Publication Date
2024-11-05
Estimated Expiration
2042-06-28

AI Technical Summary

Technical Problem

The prior art has problems such as high hardware cost, low accuracy, complex system structure, difficult modeling and high computing requirements in the measurement or estimation of switching reluctance motor torque, making it difficult to achieve real-time and accurate motor high performance torque. feedback.

Method used

Using the multidimensional Taylor network estimator, the multidimensional Taylor network model is constructed by constructing the sample data set, extracting and normalizing the input matrix, and the model is trained through the backpropagation algorithm, and the torque prediction is used to simplify the network structure. , reduce hardware costs.

Benefits of technology

It realizes accurate prediction of the torque of the switching reluctance motor, improves the fitting performance and generalization capabilities, reduces hardware costs, and is suitable for practical applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115051613B_ABST
    Figure CN115051613B_ABST
Patent Text Reader

Abstract

The present invention discloses a multidimensional Taylor network estimator for the torque of a switched reluctance motor. Based on the torque characteristics of the switched reluctance motor, the corresponding input and output data are collected to construct a sample data set {(x, y, z)}. Taking x and y as the requirements of the input data, a multidimensional Taylor network (MTN) model with two-dimensional input and two-dimensional output is constructed; taking z as the requirement of the corresponding label data, a fully connected layer is added after the two-dimensional output layer of the constructed multidimensional Taylor network (MTN) model to achieve the normalized fitting effect of the model. The BP-MTN model obtained by training based on this model is a multidimensional Taylor network estimator for the torque of the switched reluctance motor, which realizes the torque fitting prediction of the switched reluctance motor, thereby effectively replacing the torque sensor, realizing the online estimation and measurement of the torque of the switched reluctance motor, and providing accurate real-time torque feedback for the implementation of high-performance torque control of the switched reluctance motor.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of motor control, and in particular to a multi-dimensional Taylor network estimator for the torque of a switched reluctance motor. Background Art

[0002] At present, in terms of torque measurement or estimation prediction of switched reluctance motors, there are generally two methods: direct sensor measurement and torque estimation prediction. The direct sensor measurement method is to measure the torque of the switched reluctance motor through a torque tester, and its hardware cost is high. Therefore, in most cases, the torque estimation prediction method is adopted. For example, the traditional table lookup method, but because of its large error and low accuracy, it is difficult to have great value for the high-performance torque of the motor when the real-time torque data fed back is the motor; there are also methods based on mathematical models to estimate the output torque, but it requires accurate mathematical modeling of the measured motor, and there are problems such as complex system structure, high modeling difficulty and poor model portability; in addition, the neural network method can accurately estimate the torque of the switched reluctance motor by learning the sampled data, but it has high requirements for the operation of the control chip and high hardware cost, which is not conducive to practical application. Summary of the invention

[0003] In view of the above problems, the present invention proposes a multi-dimensional Taylor network estimator for the torque of a switched reluctance motor.

[0004] To achieve the purpose of the present invention, a multidimensional Taylor network estimator for the torque of a switched reluctance motor is provided, comprising the following steps:

[0005] S1: Construct a sample data set: input the rotor position angle θ and the phase current i into the switched reluctance motor, and then use the torque sensor to collect the motor torque T corresponding to the switched reluctance motor, and then construct a sample data set {(x, y, z)} based on the rotor position angle θ, the phase current i and the motor torque T, wherein x represents the one-dimensional set vector of the rotor position angle θ, y represents the one-dimensional set vector of the phase current i, and z represents the one-dimensional set vector of the motor torque T;

[0006] S2: extract x and y from the sample data set {(x, y, z)}, and form x and y into a two-dimensional input matrix, and then perform a data normalization operation on the two-dimensional input matrix to update; at the same time, extract z from the sample data set {(x, y, z)} as the network estimated value of the motor torque T corresponding to the switched reluctance motor The corresponding label vector;

[0007] S3: Construct a network estimate of the motor torque T corresponding to the switched reluctance motor using a two-dimensional input matrix as input A multi-dimensional Taylor network MTN model with two-dimensional input and two-dimensional output;

[0008] S4: Using the two-dimensional input matrix updated by the normalization operation to train the multidimensional Taylor network MTN model and output the network estimated value of the motor torque T corresponding to the switched reluctance motor At the same time, the weight set vectors w1 and w2 on the two-dimensional output nodes of the multidimensional Taylor network MTN model and the weight set vector λ of the final output node of the multidimensional Taylor network MTN model are initialized, and then the label vector z and the network estimated output value are initialized. The error calculation is performed, and then the weight gradient of the weight set vectors w1, w2 and λ is calculated according to the back propagation algorithm. Finally, the weight vectors w1, w2 and λ are updated according to the error convergence curve in the training process and based on the preset step size. At this time, the multidimensional Taylor network MTN model is the BP-MTN model.

[0009] Furthermore, the multi-dimensional Taylor network (MTN) model includes: an input layer, a data processing layer, an output layer and a fully connected layer. The layers are connected in sequence, and the output of the previous layer is the input of the next layer.

[0010] Furthermore, in the output layer, the cumulative value of each product item of the output data processing layer multiplied by the corresponding weight is as follows:

[0011]

[0012] Wherein, t1 and t2 represent two output nodes of the multidimensional Taylor network MTN model respectively, m represents the highest expansion item of the data processing layer in the multidimensional Taylor network MTN model, x and y are variables in the polynomial, respectively representing the data in the one-dimensional set vectors x and y, N(2,m) represents the number of terms of the polynomial after the input angle θ and current i of the data processing layer in the multidimensional Taylor network MTN model are expanded by m powers, k represents the count of the arrangement positions of variables x and y in the state vectors x and y, q∈N(2,m) represents the qth polynomial after the power expansion of the data processing layer, w 1,q 、w 2,q They respectively represent the weights before the qth polynomial output to the two nodes t1 and t2 of the output layer of the multidimensional Taylor network MTN model after the data processing layer is expanded, σ q,r , σ q,a Respectively represent the powers of variables x and y in the qth polynomial, where 0≤σ q,r +σ q,a ≤m.

[0013] Furthermore, the fitting formula of the fully connected layer is as follows:

[0014]

[0015] in, represents the kth output value of the multidimensional Taylor network MTN model, λ l represents the weights from the two nodes on the fully connected layer to the final output node, and l represents the position count value of λ in the weight set vector λ.

[0016] Furthermore, the multi-dimensional Taylor network (MTN) model also includes an activation function layer, and the activation function layer is arranged after the fully connected layer.

[0017] Furthermore, the fitting formula of the activation function layer is as follows:

[0018]

[0019] Among them, S represents the symbol mark of the activation function layer.

[0020] Furthermore, the back propagation algorithm calculates the square of the fitting error according to the following loss function formula:

[0021]

[0022] Among them, E represents the error value of back propagation, and z is The corresponding label value, k represents z, In the state set vector z, Count of permutation positions in .

[0023] Furthermore, the activation function layer adopts a ReLU function or a Leaky ReLU function.

[0024] Furthermore, a multidimensional Taylor network estimator for the torque of a switched reluctance motor also includes step S5: determining whether the fitting accuracy of the BP-MTN model reaches a preset accuracy threshold; if not, adding an activation function after the activation function layer or changing the activation function.

[0025] Compared with the prior art, the present invention has the following beneficial technical effects:

[0026] This technical solution is based on learning and fitting of collected data to achieve the prediction of the output torque of the switched reluctance motor. Compared with other motor torque estimation and prediction methods, the multidimensional Taylor network uses a mathematical combination of series terms to express complex nonlinear functions. It does not require a lot of network training to fit nonlinear systems under normal conditions. In addition, the multidimensional Taylor network has a simple network structure, low requirements for the operation of the control chip, low hardware cost, strong network generalization ability, and certain interpretability advantages. The BP-MTN model enhances the fitting performance of the traditional multidimensional Taylor network through two output methods, so that this solution can not only obtain better torque prediction efficiency, but also facilitate hardware implementation. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 The present invention is a schematic diagram of a multi-dimensional Taylor network estimator process of a switched reluctance motor torque according to an embodiment;

[0028] Figure 2 The diagram is a schematic diagram of a network structure of a multi-dimensional Taylor network for implementing torque fitting in an embodiment;

[0029] Figure 3 (a) is a three-dimensional distribution diagram of a sample data set {(x, y, z)} of an embodiment;

[0030] Figure 3 (b) is a diagram showing the estimation results of a multi-dimensional Taylor network estimator of the torque of a switched reluctance motor for sample data {(x, y, z)} according to an embodiment;

[0031] Figure 4 The diagram is a schematic diagram of applying the BP-MTN model of an embodiment to three-phase motor torque prediction. DETAILED DESCRIPTION

[0032] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0033] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0034] The multidimensional Taylor network estimator of the switched reluctance motor torque of the present invention realizes the prediction of the switched reluctance motor output torque based on the learning and fitting of the collected switched reluctance motor output torque data. In practical applications, such as Figure 1 As shown, the following steps are executed in real time:

[0035] Step 1. For the input feature rotor position angle θ and phase current i, use the torque sensor to collect the torque T output of the corresponding motor, and construct a sample data set {(x(k), y(k), z(k))}, where x(k) represents the one-dimensional vector of the rotor position angle θ, y(k) represents the one-dimensional vector of the phase current i, and z(k) represents the one-dimensional vector of the motor torque T, which is used as the label value corresponding to the network estimated output;

[0036] Step 2. Normalize the state vectors x(k) and y(k) according to the following formula:

[0037]

[0038] Where min(x) represents the minimum value of the input angle θ state vector in the sample data set, max(x) represents the maximum value of the input angle θ state vector in the sample data set, min(y) represents the minimum value of the input current i state vector in the sample data set, and max(y) represents the maximum value of the input current i state vector in the sample data set. The normalized sample data x(k) is obtained. * ,y(k) * .

[0039] Step 3. In order to improve the training effect of the network, it is necessary not only to find the appropriate order setting parameter m and parameter learning rate α, but also to introduce the values ​​of two hyperparameters batchsize (the number of samples processed in each batch) and epoch (all data are sent to the network to complete a forward calculation and back propagation process). At the same time, the training data set length d, batchsize, and epoch satisfy the following relationship:

[0040]

[0041] Then the sample data x(k) obtained by step 2 is processed * ,y(k) * As the network input, it is expanded to the power of m in the data processing layer to obtain the state matrix G of N(2,m)·d:

[0042]

[0043] Step 4. Enter the network forward propagation process, such as Figure 2 As shown, in the BP-MTN model of this scheme, there are weight vectors w1 and w2 at the intermediate nodes t1 and t2, and at the output node There is a weight vector λ, and the weight matrix is ​​initialized according to the total number of items in N(2,m) as follows:

[0044]

[0045] λ=[λ1,λ2]

[0046] Enter the loop of setting batchsize value, extract the first batchsize data as a group from the state matrix of G, each group of data contains batchsize N(2,m)·1 array data I, and get the node value by calculation:

[0047]

[0048] If Figure 2The network model nodes output by method 1 are shown for:

[0049]

[0050] If Figure 2 The network model node output by the second method shown The activation function uses the ReLU function:

[0051]

[0052] but for:

[0053]

[0054] In the above-mentioned steps 3 and 4, the node values ​​of the intermediate nodes t1 and t2 of the BP-MTN model are obtained by the following standardized formula to obtain the network output:

[0055]

[0056] Where m represents the highest expansion item of the data processing layer in the multidimensional Taylor network, N(2,m) represents the number of polynomial terms after the input angle θ and current i of the data processing layer in the multidimensional Taylor network are expanded by m times, q∈N(2,m) represents the qth polynomial after the power expansion of the data processing layer, and w 1,q 、w 2,q They represent the weights σ before the qth polynomial output to the two nodes t1 and t2 of the output layer after the data processing layer is expanded. q,r , σ q,a Respectively represent the powers of variables x and y in the qth polynomial, where 0≤σ q,r +σ q,a ≤m; the final output method is based on Figure 2 The selection is made, and the output is respectively jumped to formula (4) or formula (6)

[0057] Step 5. Back propagate the network and update the weight vector of the model. Calculate the minimum square error of the network parameter optimization for a set of batch size data:

[0058]

[0059] according to Figure 2 The network structure of method 1 is used to calculate the weight gradient, and the formula is as follows:

[0060]

[0061] according to Figure 2The network structure of method 2 shown in the figure calculates the weight gradient, and the formula is as follows:

[0062]

[0063] Among them, E, z(k), t1 and t2 are the state vector matrices of 1·batchsiaze, λ is the state vector matrix of 2·batchsiaze, w1 is the state vector matrix of N(2,m)·batchsiaze, and w2 is the state vector matrix of N(2,m)·batchsiaze; then the gradient matrices of each weight obtained are summed up and divided by batchsize to obtain the average gradient of each weight in this batchsize data. The weights are updated according to the following formula:

[0064]

[0065] After using the ReLU activation function layer, repeat the above steps to complete the training of the BP-MTN fitting model, and finally obtain the following Figure 3 (b) shows the fitting result of the switched reluctance motor torque, compared with Figure 3 (a) is the measured value of the switched reluctance motor torque. It can be seen that the estimated value of the BP-MTN model is more accurate and has good fitting accuracy for a large number of continuous 0 torque values ​​in the sample data.

[0066] After completing the training of the BP-MTN switched reluctance motor torque estimation model, you can Figure 4 The BP-MTN motor estimation model is applied to the torque prediction of the three-phase motor in this way to provide real-time torque feedback for the motor torque control.

[0067] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0068] It should be noted that the terms "first\second\third" involved in the embodiments of the present application are only used to distinguish similar objects, and do not represent a specific order for the objects. It is understandable that the specific order or sequence of "first\second\third" can be interchanged where permitted. It should be understood that the objects distinguished by "first\second\third" can be interchanged where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein.

[0069] The terms "including" and "having" and any variations thereof in the embodiments of the present application are intended to cover non-exclusive inclusions. For example, a process, method, device, product, or equipment that includes a series of steps or modules is not limited to the listed steps or modules, but may optionally include steps or modules that are not listed, or may optionally include other steps or modules that are inherent to these processes, methods, products, or equipment.

[0070] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A multidimensional Taylor network estimator for the torque of a switched reluctance motor, characterized in that: The steps include: S1: Construct a sample data set: input the rotor position angle θ and the phase current i into the switched reluctance motor, and then use the torque sensor to collect the motor torque T corresponding to the switched reluctance motor, and then construct a sample data set {(x, y, z)} based on the rotor position angle θ, the phase current i and the motor torque T, wherein x represents the one-dimensional set vector of the rotor position angle θ, y represents the one-dimensional set vector of the phase current i, and z represents the one-dimensional set vector of the motor torque T; S2: extract x and y from the sample data set {(x, y, z)}, and form x and y into a two-dimensional input matrix, and then perform a data normalization operation on the two-dimensional input matrix to update; at the same time, extract z from the sample data set {(x, y, z)} as the network estimated value of the motor torque T corresponding to the switched reluctance motor The corresponding label vector; S3: Construct a network estimate of the motor torque T corresponding to the switched reluctance motor using a two-dimensional input matrix as input A multi-dimensional Taylor network MTN model with two-dimensional input and two-dimensional output; S4: Using the two-dimensional input matrix updated by the normalization operation to train the multidimensional Taylor network MTN model and output the network estimated value of the motor torque T corresponding to the switched reluctance motor At the same time, the weight set vectors w1 and w2 on the two-dimensional output nodes of the multidimensional Taylor network MTN model and the weight set vector λ of the final output node of the multidimensional Taylor network MTN model are initialized, and then the label vector z and the network estimated output value are initialized. The error calculation is performed, and then the weight gradient of the weight set vectors w1, w2 and λ is calculated according to the back propagation algorithm. Finally, the weight set vectors w1, w2 and λ are updated according to the error convergence curve in the training process and based on the preset step size. At this time, the multidimensional Taylor network MTN model is the BP-MTN model.

2. A multidimensional Taylor network estimator for the torque of a switched reluctance motor according to claim 1, characterized in that: The multi-dimensional Taylor network MTN model includes: an input layer, a data processing layer, an output layer and a fully connected layer. The layers are connected in sequence, and the output of the previous layer is the input of the next layer.

3. A multidimensional Taylor network estimator for the torque of a switched reluctance motor according to claim 2, characterized in that: In the output layer, the cumulative value of each product item of the output data processing layer multiplied by the corresponding weight is as follows: Wherein, t1 and t2 represent two output nodes of the multidimensional Taylor network MTN model respectively, m represents the highest expansion item of the data processing layer in the multidimensional Taylor network MTN model, x and y are variables in the polynomial, respectively representing the data in the one-dimensional set vectors x and y, N(2,m) represents the number of terms of the polynomial after the input angle θ and current i of the data processing layer in the multidimensional Taylor network MTN model are expanded by m powers, k represents the count of the arrangement positions of variables x and y in the state vectors x and y, q∈N(2,m) represents the qth polynomial after the power expansion of the data processing layer, w 1,q 、w 2,q They respectively represent the weights before the qth polynomial output to the two nodes t1 and t2 of the output layer of the multidimensional Taylor network MTN model after the data processing layer is expanded, σ q,r , σ q,a Respectively represent the powers of variables x and y in the qth polynomial, where 0≤σ q,r +σ q,a ≤m.

4. A multidimensional Taylor network estimator for the torque of a switched reluctance motor according to claim 3, characterized in that: The fitting formula of the fully connected layer is as follows: in, represents the kth output value of the multidimensional Taylor network MTN model, λ l represents the weights from the two nodes on the fully connected layer to the final output node, and l represents the position count value of λ in the weight set vector λ.

5. A multidimensional Taylor network estimator for the torque of a switched reluctance motor according to claim 4, characterized in that: The multi-dimensional Taylor network (MTN) model also includes an activation function layer, which is arranged behind the fully connected layer.

6. A multidimensional Taylor network estimator for the torque of a switched reluctance motor according to claim 5, characterized in that: The fitting formula of the activation function layer is as follows: Among them, S represents the symbol mark of the activation function layer.

7. A multidimensional Taylor network estimator for the torque of a switched reluctance motor according to claim 6, characterized in that: The back propagation algorithm calculates the square of the fitting error according to the following loss function formula: Among them, E represents the error value of back propagation, and z is The corresponding label value, k represents z, In the state set vector z, Count of permutation positions in .

8. The multidimensional Taylor network estimator of the switched reluctance motor torque according to claim 7, characterized in that: The activation function layer adopts the ReLU function or the Leaky ReLU function.

9. A multidimensional Taylor network estimator for the torque of a switched reluctance motor according to claim 8, characterized in that: The method further includes step S5: determining whether the fitting accuracy of the BP-MTN model reaches a preset accuracy threshold; if not, adding an activation function after the activation function layer or changing the activation function.

Citation Information

Patent Citations

  • Switched reluctance motor on-line modeling method based RBF neural network

    CN102509152A

  • Method for constructing multistep predictive controllers for switch reluctance motors

    CN109327178A

  • Drive Systems Including Sliding Mode Observers And Methods Of Controlling The Same

    US20130231891A1

  • PMSM Demagnetization Fault Diagnosis Method Based on Fuzzy Intelligent Learning of Torque Signals

    US20220084732A1