Learning and Current Prediction of PMSM Drive via Differential Neural Networks

Wenjie Mei, Xiaorui Wang, Yanrong Lu, Ke Yu, Shihua Li · 2024

Read Learning and Current Prediction of PMSM Drive via Differential Neural Networks by Wenjie Mei, Xiaorui Wang, Yanrong Lu, Ke Yu, Shihua Li (2024) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2412-09028.txt.

Introduction

Wenjie Mei and co-authors use special neural networks to model an electric motor drive in a 2024 paper. Learning how systems change over time helps predict their behavior. The team focused on a permanent magnet motor, a nonlinear system used widely in machines. Their networks are built to respect time flow, learning the motor's dynamics from data and forecasting its current paths.

Tests ran under varied load shocks and with no load at all. The method rebuilt the original system faithfully and predicted well over both short and long spans. It also held up under rough conditions. Readers see a modeling tool that may extend to weather, robots, and group behavior studies.

Catalog record

CREATORWenjie Mei, Xiaorui Wang, Yanrong Lu, Ke Yu, Shihua Li
YEAR2024
COLLECTIONPAPERS
FORMATTXT
FILE SIZE23 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2412-09028

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Learning and Current Prediction of PMSM Drive via Differential Neural Networks Wenjie Mei, Xiaorui Wang, Yanrong Lu, Ke Yu, Shihua Li Abstract Learning models for dynamical systems in continuous time is significant for understanding complex phenomena and making accurate predictions. This study presents a novel approach utilizing differential neural networks (DNNs) to model nonlinear systems, specifically permanent magnet synchronous motors (PMSMs), and to predict their current trajectories. The efficacy of our approach is validated through experiments conducted under various load disturbances and no-load conditions. The results demonstrate that our method effectively and accurately reconstructs the original systems, showcasing strong short-term and long-term prediction capabilities and robustness. This study provides valuable insights into learning the inherent dynamics of complex dynamical data and holds potential for further applications in fields such as weather forecasting, robotics, and collective behavior analysis. I Introduction The recent advancements in machine learning techniques have significantly expanded opportunities for the automated extraction of knowledge and patterns from data. Deep learning models, renowned for their robust approximation capabilities, have achieved substantial progress across various fields. This progress has inspired researchers to investigate the application of neural networks for uncovering the dynamical laws underlying observational data [ 1 , 2 , 3 ] . This exploration represents a novel paradigm for enhancing the learning and prediction of complex physical models. Differential neural networks (DNNs) [ 4 , 5 , 6 ] have been regarded as a powerful deep learning methodology for modeling dynamical systems, especially those in continuous time. These networks conceptualize the system state as a continuously evolving latent variable and utilize neural networks to approximate the changing rate of this state. By numerically integrating from the initial state, one can derive the system trajectory. This technique has demonstrated exceptional performance in both modeling and prediction across a variety of domains. Beyond their capacity to handle multimodal data, including text, images, and videos [ 7 , 8 ] , DNNs have proven effective in various engineering applications [ 9 , 10 , 11 ] , bio-medicine [ 12 , 13 ] , and particularly in engineering for modeling dynamical systems with unknown components [ 14 , 15 ] . This brief focuses on the challenge of learning and predicting currents in permanent magnet synchronous motor (PMSM) to ensure safety guarantees for these currents during the prediction period. PMSMs have gained significant attention in industrial applications, such as aerospace, robotic manipulators, and electric vehicles [ 16 , 17 ] , due to their notable advantages, including simple structure, high power density, high torque-to-inertia ratio, and efficiency [ 18 ] . The PMSM is inherently a nonlinear system, characterized by complex parameter interactions and intertwined disturbances. To this end, different neural networks are proposed and applied to approximate the unknown dynamics of PMSM model (see, for example, [ 19 , 20 , 21 ] ). However, most existing neural network methods take discrete-time architectures and often assume that they can perfectly learn continuous-time characteristics, deviating from the inherent continuous nature commonly present in the real physical world, such as rigid body systems, chemical processes, and electrical circuits. The continuous dynamic property not only embodies rich prior knowledge but also has a decisive influence on the long-term behavior of the dynamics. To ensure the safety of PMSM operation, it is generally necessary to set the current limit in the software. In practice, current sensors can only acquire information about the current in real time, but cannot predict the current. Therefore, it is of significance to forecast the current evolution. This work addresses the challenge of achieving high-accuracy predictions for PMSMs to ensure safety guarantees. The primary theoretical contribution of this study is the development of practical learning laws for updating the weight matrices of our proposed DNN, enabling it to accurately approximate the ideal model. Additionally, the experimental results demonstrate that our model outperforms other widely used neural networks, such as convolutional neural networks and transformers, in the tested scenarios, which include no-load conditions and various types of load disturbances. The remainder of this brief is organized as follows. Section II presents the formulation of the dynamics of PMSMs, as well as the research objective. The main theoretical results are presented in Section III . The experiments on the prediction of currents are given in Section IV . The conclusion is drawn in Section V , along with limitations and future work. II Preliminaries The dynamic mathematical model of surface-mounted PMSM in the synchronous rotational dq reference frame can be presented as \left\{\begin{aligned} &\dot{i}_{d}\!=\!\frac{1}{L_{s}}\left(u_{d}-R_{s}{i}_{d}+\omega_{e}i_{q}\right)+\!\Delta\theta_{d}(i_{d},i_{q}),\\ &\dot{i}_{q}\!=\!\frac{1}{L_{s}}\left[u_{q}-R_{s}{i}_{q}-\omega_{e}(L_{s}i_{d}+\psi_{f})\right]+\!\Delta\theta_{q}(i_{d},i_{q}),\\ &\dot{\omega}_{m}=\frac{3\psi_{f}n_{p}}{2J}i_{q}-\frac{{T}_{L}}{J}-\frac{B}{J}\omega_{m},\end{aligned}\right. (1) where R_{s} is the stator resistance, L_{s} is the inductance, n_{p} is the number of pole pair, \psi_{f} is the permanent-magnet (PM) flux linkage, i_{d} , i_{q} , u_{d} and u_{q} represent the stator phase currents and terminal voltages in the dq -axis, respectively. \omega_{e} is the electrical angular velocity, \omega_{m}=\omega_{e}/n_{p} is the mechanical angular velocity. The parameters J , B , T_{e} , and T_{L} are the moment of inertia, viscous friction coefficient, electromagnetic torque, and load torque, respectively. \Delta\theta_{d}(\cdot,\cdot) and \Delta\theta_{q}(\cdot,\cdot) are the cumulative uncertainties, which can lead to inaccurate system modeling as well as poor control performance. In this work, our objective is to achieve high prediction accuracy for the currents i_{d} and i_{q} using the proposed DNN model, thereby enabling precise forecasting of their future evolution. This capability is vital for assessing the operational safety of PMSMs, addressing a critical demand in various applications, which constitutes the primary motivation behind our work. III Differential neural networks for Learning and Prediction Let us consider the following simple DNN [ 22 , 23 ] , which are assumed to have abilities to learn the dynamics ( 1 ): \dot{x}=a_{0}x+(a_{1}^{*})^{\top}f_{1}(s_{1}^{*}x)+(a_{2}^{*})^{\top}f_{2}(s_{2}^{*}x),\quad x_{0}:=x(0), (2) where x(t)\in\mathbb{R}^{2} is the state vector, a_{0}\in\mathbb{R}^{2\times 2} is a prescribed deterministic matrix, a_{1}^{*},a_{2}^{*}\in\mathbb{R}^{z\times 2} are the weight matrices of the output layer, the functions f_{1},f_{2}\colon\mathbb{R}^{r}\to\mathbb{R}^{z} are suitably selected activation functions, and s_{1}^{*},s_{2}^{*}\in\mathbb{R}^{r\times 2} . We propose the following DNN to identify the neural networks ( 2 ): \dot{\hat{x}}=a_{0}\hat{x}+a_{1}^{\top}f_{1}(s_{1}\hat{x})+a_{2}^{\top}f_{2}(s_{2}\hat{x}),\quad\hat{x}_{0}:=\hat{x}(0). (3) To present the main result of this work, some necessary assumptions are given as follows. Assumption 1 The activation functions f_{i} satisfy the Lipschitz continuity conditions, i.e. , there exist positive numbers L_{f_{i}}<+\infty such that \|f_{i}(c_{1})-f_{i}(c_{2})\|^{2}\leq L_{f_{i}}\|c_{1}-c_{2}\|^{2} for all i\in\{1,2\} and c_{1},c_{2}\in\mathbb{R}^{r} . Assumption 2 The norms of the weight matrices a_{i}^{*},s_{i}^{*} are bounded: \|a_{i}^{*}\|^{2}\leq\overline{a_{i}^{*}}<+\infty,\quad\|s_{i}^{*}\|^{2}\leq\overline{s_{i}^{*}}<+\infty,\quad\forall i\in\{1,2\}. We are ready to give the following theorem, which involves asymptotic convergence of the state identification error (between the DNN ( 3 ) and the model ( 2 )) under our proposed learning laws. Theorem 1 Suppose that the neural networks ( 2 ) can approximate the dynamics ( 1 ) well and let the DNN identify ( 2 ) with the learning laws \displaystyle\dot{a}_{i} \displaystyle=c_{i}p(\mathcal{D}_{f_{i}})\tilde{s}_{i}\hat{x}e^{\top}-c_{i}pf_{i}(s_{i}\hat{x})e^{\top}, \displaystyle\dot{s}_{i} \displaystyle=-d_{i}p(\mathcal{D}_{f_{i}})^{\top}a_{i}e\hat{x}^{\top},\quad i\in\{1,2\}, (4) where p,c_{i},d_{j} are positive scalars, e=\hat{x}-x , \tilde{s}_{i}=s_{i}-s_{i}^{*} , and \mathcal{D}_{f_{i}}=\frac{\partial f_{i}(\cdot)}{\partial(\cdot)} . If there exists a scalar C>0 such that p>0 (the same as that in Equation ( 4 )) is a solution of the inequality p^{2}\ell I_{2}+2pa_{0}+\beta I_{2}\leq-CI_{2} holds true, where \ell:=\sum_{i=1}^{2}\overline{a_{i}^{*}},\;\beta:=\sum_{i=1}^{2}L_{f_{i}}\overline{s_{i}^{*}}>0 , and I_{2} is the 2\times 2 identity matrix. Then, the error e has a locally asymptotic equilibrium point at the origin, i.e. , \lim_{t\to+\infty}e(t)=0 . Proof 1 Consider the Lyapunov function

Read the complete text