Method for parameter identification of synchronous motors based on neural networks

JP2024538596AActive Publication Date: 2024-10-23ROBERT BOSCH GMBH
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2024519101
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2021-09-28
Publication Date
2024-10-23
Estimated Expiration
2041-09-28

AI Technical Summary

Benefits of technology

【0033】 モータパラメータを同期モータのコントローラに直接送信することによって、パラメータ生成プロセスはオフラインに保持され、コントローラの計算オーバヘッド及びハードウェア要件が低いことを確保し、コスト効果の高い制御スキームを全体的に達成するという技術的利点が特に達成される。内部ニューラルネットワークをコントローラに統合し、訓練された重み値を当該内部ニューラルネットワークに提供することによって、コントローラは、より信頼性の高いモータ制御を可能にする、異なる動作条件に従ってパラメータ識別結果をリアルタイムで更新することができる。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024538596000001_ABST
    Figure 2024538596000001_ABST
Patent Text Reader

Abstract

A method for parameter identification of a synchronous motor based on a neural network, the method includes: (S1) establishing and training a first neural network model, and using the trained first neural network model to determine an intermediate result of a parameter to be identified of a synchronous motor; (S2) forming a second neural network model by adding a compensation module to the trained first neural network model; and (S3) training a second neural network model based on the intermediate result of the parameter to be identified, and using the trained second neural network model to determine a final result of the parameter to be identified. The technical solution also relates to a device and a computer program product for parameter identification of a synchronous motor based on a neural network.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a method for neural network based parameter identification of a synchronous motor, a device for neural network based parameter identification of a synchronous motor and a computer program product. [Background technology]

[0002] Synchronous motors have been attracting increasing attention in industrial applications due to their low cost, high efficiency and high stability. However, when synchronous motors operate under load, various motor parameters exhibit nonlinear characteristics due to reasons such as magnetic saturation, temperature drift and cross-coupling, and traditional linear models cannot accurately reflect the true dynamic characteristics of the motor. In such cases, parameter identification of synchronous motors is necessary to achieve better control performance.

[0003] In the prior art, motor parameters are often modeled in the form of look-up tables, which is time-consuming and expensive and requires traversing the full range of motor operating points. Furthermore, there are methods that use mathematical models or special formulas to fit the nonlinear inductance surfaces. However, these mathematical models or formulas are often very complex, their coefficients are parameterized, and curve plotting algorithms require corresponding database support.

[0004] In this regard, there is a need for an alternative motor parameter identification method that achieves good parameter matching at a limited number of operating points. Summary of the Invention [Problem to be solved by the invention]

[0005] It is an object of the present invention to provide a method for neural network based parameter identification of a synchronous motor, a device for neural network based parameter identification of a synchronous motor and a computer program product, which overcomes at least some of the problems of the prior art. [Means for solving the problem]

[0006] According to a first aspect of the present invention, there is provided a method for parameter identification of a synchronous motor based on a neural network, the method comprising: S1) establishing and training a first neural network model, and using the trained first neural network model to determine an intermediate result of a parameter to be identified of a synchronous motor; S2) forming a second neural network model by adding a compensation module to the trained first neural network model; S3) training a second neural network model based on the intermediate result of the parameters to be identified, and using the trained second neural network model to determine the final result of the parameters to be identified; Includes.

[0007] The present invention particularly relates to the following technical concept: a method for establishing a parameter model of a motor using a neural network, which utilizes the self-learning ability and fuzzy logic of an artificial neural network to optimize and estimate model parameters when having limited observation data and a small number of operating points, thus improving the efficiency and accuracy of parameter identification. Furthermore, a two-stage model training process is proposed for parameter estimation, which allows the assignment of different task priorities and better fitting various characteristics of unknown parameters.

[0008] Optionally, the intermediate result is: a linear approximation of a first one of the parameters to be identified; a first estimate of a second parameter that is less than a linear approximation of the first parameter; and Includes.

[0009] Optionally, the final result is: a linear approximation of a first one of the parameters to be identified after compensating for nonlinearity; a second estimate of a second one of the parameters to be identified after compensating for non-linearity in the linear approximation of the first parameter; and Includes.

[0010] By utilizing the parameter identification process of the first neural network model and the second neural network model, the present invention achieves the technical advantages that the decoupling analysis of the linear and nonlinear characteristics of the unknown parameters of the motor is realized, and the identification principle is simplified.

[0011] Optionally, different training data is used for training the first neural network model and the second neural network model.

[0012] The linear characteristics of the unknown parameters are fitted based on the observation data under magnetic unsaturation, and the observation data under magnetic saturation is used for nonlinear compensation, thus achieving in particular the advantage of accelerating the network convergence process.

[0013] Optionally, the parameters to be identified of the synchronous motor include a stator resistance, a d-axis inductance, a q-axis inductance and a permanent magnet flux of the synchronous motor.

[0014] Unlike the parameter identification method using look-up tables, the proposed scheme can achieve synchronous identification of multiple motor parameters, thus eliminating the need for additional sensors to pre-detect some fixed parameters, thereby saving time and cost, among other technical advantages.

[0015] Optionally, step S1 includes establishing an input-output relationship of a first neural network model based on a static voltage state equation of the synchronous motor in a dq coordinate system, where a q-axis current, a d-axis current and an electrical angular velocity of the synchronous motor are used as inputs to the first neural network model, and a q-axis voltage and a d-axis voltage are used as outputs of the first neural network model, and weights of the first neural network model are represented at least in part through the parameters to be identified.

[0016] Through supervised learning, the technical advantages are particularly achieved in that artificial neural networks have a good input-output mapping relationship, can generate reasonable outputs for new inputs, continuously optimize their performance during the learning process, and can effectively utilize existing data patterns with very limited samples, thereby accelerating the parameter identification process.

[0017] Optionally, step S1 includes: Obtaining known observation data of a synchronous motor, the known observation data including a d-axis current, a q-axis current, a d-axis voltage, a q-axis voltage, and an electrical angular velocity of the synchronous motor measured at different operating points; training a first neural network model using the known observation data, adjusting weights of the first neural network model until a loss function satisfies a first predetermined condition; Determining an intermediate result of a parameter to be identified of the synchronous motor based on the weight of the first neural network model when the loss function satisfies a first predetermined condition; Includes.

[0018] During this period, the unknown parameters of the system are reflected in the internal weights, thereby achieving in particular the technical advantage that direct identification of the unknown parameters of the controlled object is avoided.

[0019] Optionally, adjusting the weights of the first neural network model comprises iteratively updating the weights of the first neural network model using a gradient descent algorithm, in particular a backpropagation algorithm.

[0020] Through the above-mentioned algorithm, a "rational" solution rule is automatically extracted based on the known input-output relationship, thus achieving the technical advantages of automatically determining the internal weights, solving the mapping problem with a complex internal mechanism, and enabling the network to have good generalization and fault tolerance capabilities.

[0021] Optionally, step S2 includes establishing a third neural network model as a compensation module by using the q-axis current and the d-axis current as inputs to the third neural network model and using the nonlinear characteristic part of the parameter to be identified as an output of the third neural network model.

[0022] By introducing the compensation module, it is possible to reasonably compensate for the nonlinear factors involved under the assumption of parameter linearity, and it is also possible to create a dedicated mathematical model for the nonlinear characteristics of the parameters, thereby particularly achieving the technical advantage of making the final parameter identification result more reliable.

[0023] Optionally, step S2 includes adding the compensation module to the first neural network model by sharing a portion of the input layer of the first neural network model with the input layer of the compensation module, and connecting the output layer of the compensation module to the output layer of the first neural network model.

[0024] By embedding the compensation module in the first neural network model through shared inputs and outputs, the technical advantage is particularly achieved that the compensation module is passively trained during the overall training process of the second neural network model. As a result, the unknown nonlinear characteristics of the parameters are transformed into the internal parameters of the model of the solution. In the absence of data available for direct training, the input-output mapping relationship of the compensation module is indirectly established through the overall backpropagation capability of the network.

[0025] Optionally, step S3 comprises: training a second neural network model using the known observation data, adjusting weights of the trained first neural network model and weights of a compensation module until a loss function satisfies a second predetermined condition; Determining a final result of the parameters to be identified of the synchronous motor based on the weights of the trained second neural network model and the weights of the compensation module when the loss function satisfies a second predetermined condition; Includes.

[0026] The training of the second neural network model is based on the results of the training in the first stage, which allows refinement based on intermediate results of the parameters to be identified, thereby achieving in particular the technical advantages of improving time efficiency and accelerating the convergence process.

[0027] Optionally, during adjusting the weights of the trained first neural network model, the intermediate result of a first parameter among the parameters to be identified is kept unchanged, and the intermediate result of a second parameter among the parameters to be identified is modified.

[0028] The technical advantage is particularly achieved that the parameter estimation in the first stage is completed with less than linear approximation of certain parameters, so that they can continue to be considered as constant and not participate in further training process, in order to distinguish well from nonlinear characteristic parts during compensation stage. However, this linear approximation is not accurate enough, so that intermediate results of certain fixed parameters may inaccurately include nonlinear contributions of certain parameters. In order to compensate for parts that do not belong to these fixed parameters, these fixed parameters need to be adjusted in the second stage to eliminate interference.

[0029] Optionally, the loss function is represented by the following equation:

number

[0030] where N is the number of known observations used and U sd is the d-axis voltage of the synchronous motor based on the known observation data,

number

number

[0031] In particular, technical advantages are achieved in that the error between the model output and the actual output can be effectively taken into account and utilized, allowing the model to continuously self-learn toward closer to the actual value, and providing reliable evaluation criteria and termination conditions for the training process.

[0032] Optionally, the method comprises: sending the final result of the parameters to be identified to a controller of the synchronous motor for controlling the operation of the synchronous motor based on the final result; and / or sending the weights of the trained second neural network model to the internal neural network of the controller of the synchronous motor, which enables the internal neural network to determine an online final result of the parameter to be identified in real time based on the operating parameters of the synchronous motor when applying the weights of the second neural network model, and the controller controls the operation of the synchronous motor based on the online final result; Further includes:

[0033] By directly sending the motor parameters to the controller of the synchronous motor, the parameter generation process is kept offline, ensuring low computational overhead and hardware requirements of the controller, and particularly achieving the technical advantages of achieving a cost-effective control scheme overall. By integrating an internal neural network into the controller and providing the internal neural network with trained weight values, the controller can update the parameter identification results in real time according to different operating conditions, which enables more reliable motor control.

[0034] According to a second aspect of the invention, there is provided a device for neural network based parameter identification of a synchronous motor, the device being used for implementing the method according to the first aspect of the invention, a first identification module configured to establish and train a first neural network model and use the trained first neural network model to determine an intermediate result of a parameter to be identified of the synchronous motor; a correction module configured to form a second neural network model by adding a compensation module to the trained first neural network model; A second identification module configured to train a second neural network model based on the intermediate result of the parameter to be identified, and use the trained second neural network model to determine the final result of the parameter to be identified; Equipped with.

[0035] According to a third aspect of the invention there is provided a computer program product comprising a computer program configured to perform the method according to the first aspect of the invention when the computer program product is executed by a computer. [Brief description of the drawings]

[0036] To provide a better understanding of its principles, features and advantages, the present invention will now be described in more detail with reference to the accompanying drawings, which include: [Figure 1] 2 shows a flowchart of a neural network based parameter identification method for a synchronous motor according to an exemplary embodiment of the present invention. [Diagram 2] 2 shows a flow chart of the method steps shown in FIG. 1 . [Diagram 3] 2 shows a flow chart of the two method steps shown in FIG. 1 . [Figure 4] 1 shows a schematic diagram of a device for neural network based parameter identification of a synchronous motor according to an exemplary embodiment of the present invention. [Diagram 5] FIG. 1 shows a schematic diagram of the operating points that need to be traversed for parameter identification using the look-up table method. [Figure 6] 1 shows a conceptual schematic diagram of the nonlinear characteristics of the d-axis magnetic flux of a synchronous motor. [Figure 7] FIG. 2 shows an exemplary schematic diagram of a first neural network model used in the method according to the invention. [Figure 8] 3 shows an exemplary schematic diagram of a compensation module used in the method according to the invention; [Figure 9]FIG. 2 shows an exemplary schematic diagram of a second neural network model used in the method according to the invention. [Figure 10a] 3 shows a schematic diagram of the partially nonlinear characteristic of the d-axis inductance and the q-axis inductance of a synchronous motor as they vary with current and are determined by the method according to the invention; [Figure 10b] 3 shows a schematic diagram of the partially nonlinear characteristic of the d-axis inductance and the q-axis inductance of a synchronous motor as they vary with current and are determined by the method according to the invention; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0037] In order to provide a clearer understanding of the technical problem, technical solution and beneficial technical effects of the present invention, the following description is presented in more detail in conjunction with the accompanying drawings and several illustrative examples. Of course, the specific embodiments described herein are provided only for the purpose of illustrating the present invention, and do not limit the scope of protection of the present invention.

[0038] FIG. 1 shows a flow chart of a neural network based parameter identification method for a synchronous motor according to an exemplary embodiment of the present invention.

[0039] In step S1, a first neural network model is established and trained to determine intermediate results of parameters to be identified of a synchronous motor.

[0040] Synchronous motors, in the context of the present invention, may include synchronous reluctance motors, permanent magnet synchronous motors, induction motors, and other types of synchronous motors having parametric nonlinearities.

[0041] In the context of the present invention, the parameters to be identified of a synchronous motor are, for example, the stator resistance R, the d-axis inductance L, d , q-axis inductance L q , and / or the permanent magnet flux linkage φ fAmong these parameters, the stator resistance R and the permanent magnet flux linkage φ f can be considered as an inherent parameter of the synchronous motor, and therefore does not change with the control of the external temperature. However, due to the unavoidable iron core saturation phenomenon and material factors, the d-axis inductance L of the synchronous motor d and the q-axis inductance L q and change with changes in current. Treating them as constants will inevitably affect the control accuracy and stability of the motor.

[0042] In the context of the present invention, the intermediate result of the parameter to be identified is, for example, the first parameter to be identified (e.g., d-axis inductance L d and the q-axis inductance L q Furthermore, these intermediate results also include linear approximations of the second parameters (e.g., stator resistance R and permanent magnet flux linkage φ) of the parameters to be identified, taking into account the linear approximation of the first parameters. f The first estimates of

[0043] In this step, the input-output relationship of the first neural network model is established based on, for example, the static voltage state equation of a synchronous motor in the dq coordinate system. Considering the embodiment of a permanent magnet synchronous motor, the static voltage state equation used is as follows:

number

[0044] In the formula, U sd is the d-axis voltage of the synchronous motor, R is the stator resistance of the synchronous motor, ω1 is the electrical angular velocity of the synchronous motor, and L q is the q-axis inductance of the synchronous motor, and i sq is the q-axis current of the synchronous motor, and |φ f | is the amplitude of the permanent magnet flux linkage of the synchronous motor, θ is the zero angle of the synchronous motor, and U sqis the q-axis voltage, and i sd is the d-axis current of the synchronous motor, and L d is the d-axis inductance.

[0045] To establish the first neural network model, for example, the q-axis current and d-axis current and angular velocity of the synchronous motor are used as the inputs of the first neural network model, the q-axis voltage and the d-axis voltage are used as the outputs of the first neural network model, and R, L are used as the parameters to be identified. d , L q and φ f Characterize the modifiable weights of the first neural network model using:

[0046] In step S2, a second neural network model is formed by adding a compensation module to the trained first neural network model. To account for the nonlinearity of the parameters to be identified, for example, a third neural network model is established as a compensation module using the q-axis current and the d-axis current as inputs and the nonlinear characteristic parts of the d-axis inductance and the q-axis inductance to be identified as outputs.

[0047] In step S3, a second neural network model is trained based on the intermediate results derived from the parameters to be identified. The final results of the parameters to be identified are determined using the trained second neural network model. In the context of the present invention, the term "final results" refers to results that can characterize the actual values ​​or actual functional relationships of the parameters to be identified. For example, the final results of the parameters to be identified may include linear approximations of the first parameters (e.g., d-axis inductance and q-axis inductance) after being compensated for nonlinearity. Furthermore, the final results also include that, after compensating for the nonlinearity of the linear approximations of the first parameters, the second estimates of the second parameters of the parameters to be identified (e.g., stator resistance R and permanent magnet flux linkage φf) do not substantially include or only slightly include the contribution of the nonlinear characteristic part of the first parameters compared to the first estimates previously determined. By excluding this part, the second estimates of the parameters more closely approach their true values. In this step, for example, by updating the intermediate results of the already determined parameters to be identified using a second neural network model, an identification equation for each unknown parameter can be determined based on the updated results.

[0048] Figure 2 shows a flow chart of method steps of the method shown in Figure 1. In this embodiment, method step S1 of Figure 1 includes steps S11 to S18 as an example.

[0049] In step S11, observation data is obtained. Taking a permanent magnet synchronous motor as an example, the stable operation of the permanent magnet synchronous motor is first controlled. Then, by changing the reference current, load torque, motor speed, and other conditions, N sets of different operating points are traversed in as wide an operating range as possible, and the d-axis voltage U of the motor is controlled. sd , q-axis voltage U sq , d-axis current i sd , q-axis current i sqand the electrical angular velocity ω1 are recorded at these operating points, where the value of N is typically in the range of 15 to 30 and can be freely adjusted according to the time consumption and the desired model accuracy.

[0050] In step S12, the d-axis current i sd , q-axis current i sq and the electrical angular velocity ω1 are extracted from the observation data and input to the first neural network model via forward propagation.

[0051] In step S13, the output of the first neural network model is calculated based on the initial estimates of the weights between each layer of neurons, where the initial estimates of at least some of the weights of the first neural network model are calculated based on the parameters R, L of the motor to be identified under the condition of ignoring the nonlinear characteristics of the motor. d , L q and φ f These initial estimates of the weights may be derived by engineering experts based on experience, or may be any mathematically and physically meaningful values ​​that are input randomly from the outside.

[0052] In step S14, an output error is calculated. For example, the d-axis voltage output by the first neural network model in step S12 is

number

number

[0053] In step S15, the connection weights are adjusted using a backpropagation algorithm based on the obtained error, where the error update is propagated layer by layer to reach the first layer through backpropagation, and all weights are updated together at the end of the backpropagation process. Depending on the required model accuracy and time consumption, the learning speed used in the backpropagation algorithm can be freely adjusted.

[0054] In step S16, it is checked whether the observations used to train the model have been exhausted, for example by checking whether the number of observations traversed is greater than or equal to N.

[0055] If not, the process returns from step S16 to step S12 to continue drawing the next training sample.

[0056] If exhausted, in step S17, the entire loss function is calculated for all training samples (i.e., all observed data) and it is determined whether the output result of the loss function satisfies a first predetermined condition, for example, checking whether the output result of the loss function is smaller than a first limit value.

[0057] If the output result of the loss function is greater than the first limit value, it indicates that the model performance is still not up to standard and training needs to continue, so step S17 returns to step S12 to start a new iteration loop.

[0058] If the output result of the loss function is smaller than the first limit value, it indicates that the model has already achieved a satisfactory performance in the expected results. In this case, in step S18, the current weights of the first neural network model are output, based on which the linear approximation part of the parameters determined in the synchronous motor is determined. It is worth noting that the parameters determined here are expressed in a constant form, since the nonlinear factors of the synchronous motor are not taken into account at this stage. For the first parameters that should be affected by nonlinear factors (such as d-axis and q-axis inductances), the results obtained at this stage are not absolutely accurate, since they can be seen as the average value of these parameters over all observed data. They need to be corrected through a subsequent nonlinear compensation process. For the second parameters that should be constant (such as the stator resistance and the permanent magnet flux linkage), the results determined at this stage also include part of the nonlinear contribution from the first parameters.

[0059] Figure 3 shows a flow chart of two method steps of Figure 1. In this embodiment, method step S3 of Figure 1 is exemplarily represented by steps S31 to S38.

[0060] In step S2, a compensation module in the form of a third neural network model is added to the trained first neural network model to form a second neural network model.

[0061] In step S31, the d-axis current (i sd ), q-axis current (i sq A set of data consisting of the d-axis current (i sd ), q-axis current (i sq ) and electrical angular velocity (ω1) are input to the trained first neural network model, and the d-axis current (i sd ) and q-axis current (i sq ) is also input to the compensation module.

[0062] In step S32, the output of the second neural network model is calculated, e.g., the corresponding voltage

number

[0063] In step S33, the error between the output voltage of the second neural network model and the voltage of the observed data is calculated.

[0064] In step S34, the weights of the trained first neural network model are adjusted based on the error using a backpropagation algorithm. The weights of the first neural network model are adjusted based on the motor parameters R, L d , L q and φ f However, L d , L q Intermediate results for L d0 , L q0 Since R and φ already represent the linear characteristic part, they are no longer involved in further training. f The value of L d , L q , which need to be compensated for. Therefore, when adjusting the weights of the first trained neural network model, R and φ f Only the .

[0065] In step S35, the network weights of the third neural network model (compensation module) are adjusted, where, for example, the overall output error of the second neural network model indirectly affects the output value of the third neural network model, and is thereby used to indirectly change the internal weights of the third neural network model.

[0066] In step S36 it is checked whether the observation data used to train the model has been exhausted.

[0067] If not, step S36 returns to step S31 to continue extracting the next training sample.

[0068] If so, then in step S37, the total loss function is calculated for all training samples (i.e., all observed data) and it is determined whether the output result of the loss function satisfies a second predetermined condition, i.e., is less than a second limit value.

[0069] If the output result of the loss function is greater than the second limit, step S37 returns to step S31 to start a new iterative loop.

[0070] If the output result of the loss function is smaller than the second limit value, it indicates that the model has achieved a satisfactory performance in the expected results. In this case, in step S38, the current weights of the second neural network model are output, and based on this, the R and φ of the parameters to be identified of the synchronous motor are calculated. f The final value of L is then determined. Furthermore, with the help of the output of the third neural network model, the fitted L d and L q The nonlinear characteristic part ΔL d0 and ΔL q0 These are then combined with the linear characteristic portion L determined using the first neural network model. d0 and L q0 By combining with L d , L q The functional relationship between the voltage and the current can finally be determined.

[0071] FIG. 4 shows a schematic diagram of a device for neural network based parameter identification of a synchronous motor according to an exemplary embodiment of the present invention.

[0072] As shown in Fig. 4, the device 1 includes a first identification module 10, a correction module 20, and a second identification module 30. The first identification module 10 and the second identification module 30 are both used to identify unknown parameters of a synchronous motor, but have different task focuses. For example, the first identification module 10 is mainly used to determine the linear characteristic part or parameter value less than linear approximation of the parameter to be identified, while the second identification module 20 is mainly used to determine the result by considering the nonlinear factor or the result after nonlinear compensation.

[0073] Specifically, the first identification module 10 is used, for example, to establish and train a first neural network model and use the trained model to determine intermediate results of the parameters to be identified of the synchronous motor.

[0074] The modification module 20 is used to form a second neural network model, for example, by adding a compensation module to the trained first neural network model.

[0075] The second identification module 20 is, for example, used to train a second neural network model based on the intermediate result of the parameter to be identified, and to determine the final result of the parameter to be identified using the trained second neural network model.

[0076] FIG. 5 shows a schematic diagram of the operating points that need to be traversed for parameter identification using the look-up table method.

[0077] In order to comprehensively reflect the nonlinear characteristics of certain parameters (e.g., d-axis inductance and q-axis inductance) of a synchronous motor, it is necessary to cover the entire operating range of the synchronous motor as comprehensively as possible with operating points. Therefore, it can be seen from Figure 5 that a large number of operating points need to be collected and tested. In addition, since the magnetic saturation phenomenon is more significant at low currents, it is especially necessary to intensively increase the sampling rate at low currents, which greatly increases the time consumption of parameter identification. In addition, the accuracy of the sampled data itself is also limited by the accuracy of the measurement software / hardware.

[0078] FIG. 6 shows a conceptual schematic diagram of the nonlinear characteristics of the d-axis magnetic flux of a synchronous motor.

[0079] In an ideal situation, the d-axis flux should vary linearly with the corresponding current and form a plane. However, as shown in Figure 6, the d-axis flux exhibits a nonlinear relationship with the d-axis and q-axis currents due to saturation, which is visually represented as an irregular surface. This nonlinearity causes the d-axis inductance to further change with the change in current. Treating it as a constant will inevitably affect the control accuracy and stability of the motor.

[0080] FIG. 7 shows an exemplary schematic diagram of a first neural network model used in the method according to the invention.

[0081] The first neural network model 60 has a two-layer neuron structure, with each layer fully connected. The input and output relationships are established by the synchronous motor using the following static voltage state equation in the dq coordinate system:

number

[0082] In the formula, U sd is the d-axis voltage of the synchronous motor, R is the stator resistance of the synchronous motor, ω1 is the electrical angular velocity of the synchronous motor, and L qis the q-axis inductance of the synchronous motor, and i sq is the q-axis current of the synchronous motor, and |φ f | is the amplitude of the permanent magnet flux linkage of the synchronous motor, θ is the zero angle of the synchronous motor, and U sq is the q-axis voltage, and i sd is the d-axis current of the synchronous motor, and L d is the d-axis inductance of the synchronous motor.

[0083] The first neural network model 60 is used to determine the linear characteristic part of the parameter to be identified of the synchronous motor, i sq , d-axis current i sd and the electrical angular velocity ω1 are used as inputs to the first neural network model 60, while the q-axis voltage U sq and d-axis voltage U sd is used as the output of the first neural network model 60. Based on the mapping relationship defined by the static voltage state equation, the weights between the first input node and the two output nodes are R and ω1, the weights between the second input node and the two output nodes are ω1 and R, and the weights between the third input node and the two output nodes are |φ f |sinθ and |φ f |cosθ. If the zero angle of the motor is correctly calibrated, then θ is 0. Here, R, L d , L q and φ f are the adjustable weights of the first neural network model 60, whose values ​​may be iteratively updated in the backpropagation process.

[0084] For each given input, the first neural network model 60 outputs an estimate of the q-axis and d-axis voltages. A loss function may be constructed based on the difference between the measured voltages and the estimates.

number

[0085] where N is the number of known observations used and U sd is the d-axis voltage of the synchronous motor of known observation data,

number

number

[0086] The weights of the network are at least partially modified using a backpropagation algorithm until the value of the loss function J satisfies a first predetermined condition. At this point, the parameters R, L to be identified are d , L q and φ f The intermediate result may be determined based on the internal weights of the first neural network model 60.

[0087] FIG. 8 shows an exemplary schematic diagram of a compensation module used in the method according to the invention.

[0088] The compensation module 70 in the form of a third neural network model exemplarily comprises an input layer, an output layer and at least one hidden layer. Depending on the desired accuracy and the amount of observed data, the number of hidden layers and the number of neurons contained can be adjusted. The q-axis inductance L q and d-axis inductance L d In order to match the nonlinear characteristics of L q and L d Each of the ,is assumed to consist of two parts, which can be expressed as follows:

number

[0089] In the formula, Lq and L d are the q-axis inductance and the d-axis inductance, respectively, and L d0 and L q0 represents the linear characteristic part of the q-axis inductance and the d-axis inductance, and ΔL d0 and ΔL q0 represents the nonlinear characteristic part of the q-axis inductance and the d-axis inductance. For example, ΔL d0 and ΔL q0 has been determined in the form of an intermediate result using the first neural network model. The objective is therefore to use the nonlinear compensation module 70 to d0 and ΔL q0 Based on this understanding, the saturation of the magnetic circuit of a synchronous motor is determined by the d-axis and q-axis currents i sd and i sq It is very related to i sd , i sq and ΔL d0 , ΔL q0 In other words, the direct relationship between the q-axis current i sq and d-axis current i sd is used as an input to the third neural network model, and the nonlinear characteristic part of the parameter to be identified, ΔL d0 and ΔL q0 is used as the output of the third neural network model.

[0090] FIG. 9 shows an exemplary schematic diagram of a second neural network model used in the method according to the invention.

[0091] Here, the compensation module 70 shown in FIG. 8 shares a part of the input layer with the first neural network model 60, that is, the compensation module 70 ... sd , i sq7 so as to share the same ". The output layer of the compensation module 70 is fully connected to the output layer of the first neural network model 60, thus forming an overall second neural network model 80.

[0092] Overall, the input of the second neural network model 80 is still the q-axis current i sq , d-axis current i sd , and the electrical angular velocity ω1 of the synchronous motor. The output of the second neural network model 80 is still the q-axis voltage U sq and d-axis voltage U sd However, with consideration of nonlinear factors, the input-output relationship of the second neural network model 80 is established based on the following static voltage state equation:

number

[0093] In the formula, U sd is the d-axis voltage of the synchronous motor, R is the stator resistance of the synchronous motor, ω1 is the electrical angular velocity of the synchronous motor, and L q0 is the linear characteristic part of the q-axis inductance of the synchronous motor, and ΔL q0 is the nonlinear characteristic part of the q-axis inductance of the synchronous motor, and i sq is the q-axis current of the synchronous motor, and |φ f | is the amplitude of the permanent magnet flux linkage of the synchronous motor, θ is the zero angle of the synchronous motor, and U sq is the q-axis voltage, and i sd is the d-axis current, and L d0 is the linear characteristic part of the d-axis inductance, and ΔL d0 is the nonlinear characteristic part of the d-axis inductance.

[0094] During the training of the second neural network model 80, adjustments are made with respect to the first neural network model 60 starting from the weight values ​​obtained at the end of the training of the first neural network model 60. To facilitate compensation through the nonlinear characteristic parts, the linear characteristic parts L of the d-axis and q-axis inductances are d0 and L q0 is fixed, so that the weights represented by these two characterizations are assumed not to participate in the second iteration of training. Thus, in the tuning process, R and φ f Only the value of

[0095] Regarding the compensation module 70 (i.e., the third neural network model), the predetermined values ​​of the internal weights of this network are ΔL d0 and ΔL q0 is modified to change the output of

[0096] This iterative process of updating the weights continues until the following loss function converges:

number

[0097] where N is the number of known observations used and U sd is the d-axis voltage of the synchronous motor based on the known observation data,

number

number

[0098] Once training of the second neural network model 80 is complete, the parameters R and φ to be identified aref The final result of can be determined based on the internal weights of the corresponding first neural network model 60. Furthermore, upon completion of training, the linear characteristic part L can be adjusted with the assistance of the compensation module 70. d0 and L q0 Combined with the adapted L d and L q The nonlinear characteristic part ΔL d0 and ΔL q0 Using L d and L q and the functional relationship between the d-axis and q-axis currents can be determined.

[0099] 10a and 10b show schematic diagrams of the non-linear characteristic parts of the d-axis inductance and the q-axis inductance of a synchronous motor as determined by the method according to the invention, which vary with the current.

[0100] From FIG. 10a and FIG. 10b, with the assistance of the compensation module, the nonlinear characteristic part ΔL of the d-axis and q-axis inductance d0 and ΔL q0 is the d-axis and q-axis current i sd and i sq It can be observed that the surface plot can be adapted to the variation of ΔL based on the neural network techniques used, and intelligent reasoning and judgment can be applied to the unknown portions of the surface based on limited observed data points, allowing automatic interpolation and reconstruction of missing data to obtain the ΔL d0 , ΔL q0 The perfect functional relationship between the inductance and the current can be recovered. The fitting results show that the nonlinear characteristic parts of the d-axis and q-axis inductances are not constants, but vary due to the influence of the flux nonlinearity caused by phenomena such as magnetic saturation in synchronous motors. The nonlinear characteristics are especially important for the current value i sd and i sq This is more noticeable when is small.

[0101] Although specific embodiments of the invention have been described in detail herein, they are provided for illustrative purposes only and should not be construed as limiting the scope of the invention. Various substitutions, changes and modifications can be devised without departing from the spirit and scope of the invention.

Claims

1. A method for parameter identification of a synchronous motor based on neural networks, comprising: S1) establishing and training a first neural network model (60) and using the trained first neural network model (60) to determine intermediate results of parameters to be identified of the synchronous motor; S2) forming a second neural network model (80) by adding a compensation module (70) to the trained first neural network model (60); S3) training the second neural network model (80) based on the intermediate result of the parameter to be identified, and using the trained second neural network model (80) to determine the final result of the parameter to be identified; The method includes:

2. The intermediate result is a linear approximation of a first one of the parameters to be identified; a first estimate of a second one of the parameters to be identified that is less than the linear approximation of the first parameter; and The method of claim 1 , comprising:

3. The final result is the linear approximation of the first one of the parameters to be identified after compensating for nonlinearity; a second estimate of the second one of the parameters to be identified after compensating for the non-linearity of the linear approximation of the first parameter; and The method of claim 1 or 2, comprising:

4. The method according to claim 1 , wherein the parameters of the synchronous motor to be identified include a stator resistance, a d-axis inductance, a q-axis inductance and a permanent magnet flux of the synchronous motor.

5. Step S1 establishing an input-output relationship of the first neural network model (60) based on a static voltage state equation of the synchronous motor in a dq coordinate system; 5. The method of claim 1, wherein inputs of the first neural network model include a q-axis current, a d-axis current and a synchronous motor electrical angular velocity, outputs of the first neural network model include a q-axis voltage and a d-axis voltage of the synchronous motor, and weights of the first neural network model are at least partially represented by the parameters to be identified.

6. Step S1 Obtaining known observation data of the synchronous motor, the known observation data including a d-axis current, a q-axis current, a d-axis voltage, a q-axis voltage, and an electrical angular velocity of the synchronous motor measured at different operating points; training the first neural network model (60) using the known observation data, adjusting the weights of the first neural network model (60) until a loss function satisfies a first predetermined condition; determining an intermediate result of a parameter to be identified of the synchronous motor based on the weights of the first neural network model (60) when the loss function satisfies the first predetermined condition; The method of claim 5 , comprising:

7. 7. The method of claim 6, wherein adjusting the weights of the first neural network model (60) comprises iteratively updating the weights of the first neural network model (60) using a gradient descent algorithm, in particular a backpropagation algorithm.

8. Step S2 is 8. The method of claim 1, further comprising: establishing a third neural network model as the compensation module (70) using the q-axis current and the d-axis current as inputs to the third neural network model and using the nonlinear characteristic portion of the first one of the parameters to be identified as an output of the third neural network model.

9. Step S2 is 9. The method of claim 1, further comprising adding the compensation module to the first neural network model by sharing a portion of an input layer of the first neural network model with an input layer of the compensation module and connecting an output layer of the compensation module to an output layer of the first neural network model.

10. Step S3 is training the second neural network model (80) using the known observation data, adjusting the weights of the trained first neural network model (60) and the weights of the compensation module (70) until the loss function satisfies a second predetermined condition; determining the final result of the parameter to be identified of the synchronous motor based on the weights of the first neural network model (60) and the weights of the compensation module (70) when the loss function satisfies the second predetermined condition; The method of any one of claims 1 to 9, comprising:

11. 11. The method of claim 10, wherein during adjusting the weights of the trained first neural network model (60), the intermediate result of the first one of the parameters to be identified is kept unchanged and the intermediate result of the second one of the parameters to be identified is modified.

12. The loss function is expressed by the following formula: [0010] where N is the number of known observational data used, and U sd is the d-axis voltage of the synchronous motor in the known observation data, [0025] is the d-axis voltage output by the first neural network model (60) or the second neural network model (80), and U sq is the q-axis voltage of the synchronous motor in the known observation data, [0030] The method of claim 6 or 11, wherein x is the q-axis voltage output by the first neural network model (60) or the second neural network model (80).

13. The method comprises: sending the final results of the parameters to be identified to the controller of the synchronous motor for controlling the operation of the synchronous motor based on the final results; and / or transmitting the weights of the trained second neural network model (80) to the internal neural network of the controller of the synchronous motor, which enables the internal neural network to determine the online final result of the parameter to be identified in real time based on the operating parameters of the synchronous motor when applying the weights of the second neural network model (80), and controls the operation of the synchronous motor based on the online final result. The method of claim 1 , further comprising:

14. A neural network based synchronous motor parameter identification device (1), configured to implement the method according to any one of claims 1 to 13, comprising: a first identification module (10) configured to establish and train a first neural network model (60) and to determine an intermediate result of the parameter to be identified of the synchronous motor using the trained first neural network model (60); a modification module (20) configured to form a second neural network model (80) by adding a compensation module (70) to the trained first neural network model (60); a second identification module (30) configured to train the second neural network model (80) based on the intermediate result of the parameter to be identified, and to determine the final result of the parameter to be identified using the trained second neural network model (80); A synchronous motor parameter identification device (1) comprising:

15. A computer program product comprising a computer program arranged to carry out the method according to any one of claims 1 to 13, when the computer program product is executed by a computer.

Citation Information

Patent Citations

  • Multi-input / multi-output controller, its control method and medium

    JP1999167403A

  • Multiple-input / multiple-output control block with nonlinear predictive capability

    JP2005044337A

  • Motor control device

    JP2019080366A

  • Equipment and method for estimating a motor parameter

    WO2021073936A1