Abstract
Consensus control of multi-agent systems offers scalability and robustness in group tasks. To improve the performance of multiple permanent magnet synchronous motors (multi-PMSMs) speed coordination, in this paper, we propose a fixed-time leader-following speed consensus control for multi-PMSMs based on multi-agent systems consensus. First, the concept of multi-agent systems is introduced and the multi-PMSMs speed control system is modeled as a first-order multi-agent systems subject to perturbations. Next, a fixed-time consensus protocol is designed based on an undirected graph, and construct a fixed-time extended state observer (ESO) to feedforward perturbation estimates into the protocol. The resulting consensus protocol provides the desired q-axis current for the speed control system, with the upper bound of the settling time independent of the initial conditions. Finally, the feasibility and effectiveness of the proposed scheme are validated by comparing it with relative-coupling control scheme on an experimental multi-PMSMs speed control platform.
Similar content being viewed by others
Introduction
Permanent magnet synchronous motors (PMSM) are extensively utilized in electric vehicles, industrial robots, wind turbines, and other applications due to their high efficiency, reliability, compact size, and simple structure1,2,3. With the rapid advancement of industrial automation, multi-PMSMs consensus control technology is extensively applied in complex scenarios requiring coordinated operation of multiple motors due to its high precision, efficiency, and dynamic response capabilities. Typical applications include industrial automation, intelligent manufacturing, robotics, new energy vehicles, aerospace, unmanned aerial vehicles, and energy and power systems. The operational performance of multi-PMSMs has raised higher demands, and the synchronous control of multi-PMSMs has become a prominent research topic. The performance of synchronous control in multi-PMSMs can be enhanced by optimizing the control structure of their drive system4,5.
The control structure can be categorized into uncoupling and coupling types, depending on whether there is interaction between the motors’ information (e.g., torque, speed, position). The uncoupling control structure, which includes master command control and master-slave control, is proposed first. However, due to the lack of information exchange between motors, the master motor cannot respond promptly when the slave motor experiences external interference6. To address this issue, continuous information exchange between motors during operation is necessary. Consequently, coupling control structures have been proposed, including cross-coupling control, relative-coupled control, and virtual shaft control. Cross-coupling control compares the speed signals of two motors, generating a difference that serves as an additional feedback signal for synchronous control. However, it is not suitable for controlling more than two motors synchronously. In relative-coupling control, as the number of motors in multi-motor systems increases to three or more, the control structure evolves from simple pairwise interactions to complex multi-way interactions, which increases system complexity, reduces scalability, and makes the system prone to rotational speed deviations during load perturbations, both at startup and steady-state operation7,8,9. Virtual shaft control simulates the physical characteristics of mechanical transmissions, exhibiting synchronization behavior similar to mechanical shaft systems, and maintains good synchronization performance in steady-state conditions. However, during dynamic processes with large load perturbations, the computation of virtual values fed back to the virtual axes introduces a time delay, which may lead to asynchrony in the system10. The increase in the number of motors in multi-PMSMs speed consensus control systems using coupling control leads to issues of limited flexibility and complex structures. Additionally, the advancement of industrialization imposes higher requirements on the operational performance of multi-PMSMs speed control systems. Developing a multi-PMSMs speed consensus control method with high flexibility and a simple structure, while ensuring control accuracy, remains a prominent research focus.
In recent years, consensus control of multi-agent systems has gained significant attention due to its advantages, including scalability and robustness in performing group tasks11,12,13. It has been widely applied in practical systems, including robot formation, spacecraft attitude synchronization, and smart grids. Consensus control, a fundamental problem in cooperative control, involves the design of distributed controllers that allow agents to reach agreement on a specific quantity of interest through local interactions14,15,16,17,18.
Fast convergence is often desired in consensus control of multi-agent systems. A key performance metric for evaluating control protocols is the convergence speed, which can be classified into asymptotic, finite-time, and fixed-time consensus based on settling time. Asymptotic consensus for multi-agent systems has been studied in19,20,21. Finite-time consensus problem has gained significant attention. Studies in22,23,24,25 have shown that the estimation of settling time depends on the system’s initial state. To enhance control performance in existing finite-time consensus approaches, fixed-time stability was first explored in26, leading to the proposal of a fixed-time consensus strategy. A key feature of fixed-time consensus is that the stabilization time estimate is independent of the system’s initial state27,28,29. The fixed-time consensus control problem for general linear multi-agent systems under dynamic leader guidance was studied in30.
To address these challenges and inspired by the aforementioned work, this paper proposes a fixed-time disturbance observer-based fixed-time consensus control method for multi-agent systems to achieve fixed-time speed control of multi-PMSMs under disturbances. This approach offers enhanced flexibility, a simplified structure, and improved control accuracy for multi-PMSMs speed control systems. The primary contributions are summarized as follows:
-
1.
The concept of multi-agent systems consensus control is applied to the speed coordination of multi-PMSMs. Under an undirected communication topology, the control problem of the multi-PMSMs consensus control system is reformulated as multi-agent systems consensus control problem. Additionally, a disturbance observer is utilized to estimate unknown lumped disturbances, which are compensated through feedforward control within the consensus protocol to achieve distributed control. Multi-agent systems offer architectural advantages, including enhanced distribution and scalability, compared to relative-coupling control.
-
2.
Compared to conventional multi-agent finite-time consensus methods, this paper proposes a fixed-time consensus protocol. Notably, the upper bound of the settling time is independent of the initial conditions. Furthermore, a fixed-time disturbance observer is integrated to perform feedforward compensation for lumped disturbances. The final consensus protocol corresponds to the desired q-axis current in the speed control system.
Notation: \(\:R\) represents real number set. \(\:{R}_{\ge\:0}\triangleq\:\left\{x\in\:R:x\ge\:0\right\}\). \(\:{R}_{+}\triangleq\:\left\{x\in\:R:x>0\right\}\). \(\:\varvec{x}=\left[{x}_{1},{x}_{2},\dots\:,{x}_{N}\right]\in\:{R}^{N}\); \(\:{sig}^{\sigma\:}\left({x}_{i}\right)=sign\left({x}_{i}\right){\left|{x}_{i}\right|}^{\sigma\:}\), for \(\:\sigma\:\in\:R\). \(\:sgn\left(.\right)\) represents a signum function. \(\:{\lambda\:}_{min}\left(H\right)\) represents minimum eigenvalue of symmetric matrix \(\:H\). To simplify the proof, \(\:{\omega\:}_{i}\left(t\right)\),\(\:{e}_{i}\left(t\right)\),\(\:{u}_{i}\left(t\right)\),\(\:{u}_{0}\left(t\right)\)and similar terms are omitted, as are\(\:{\omega\:}_{i}\),\(\:{e}_{i}\),\(\:{u}_{i}\),\(\:{u}_{0}\) and others, in the following discussion.
Problem formulation and preliminaries
Mathematical modeling and problem formulation of a PMSM in multi-agent systems
In a multi-PMSMs system, each PMSM speed control system is considered as an independent agent. Based on the equations of motion for permanent magnet synchronous motors, the system is modeled as a first-order multi-agent system with perturbations, where adjacent PMSMs interact via network communication under a fixed communication topology. Consider a system of N PMSMs, indexed as \(\:i(i=\text{1,2}\dots\:,N\)). This paper examines a surface-mounted PMSM with identical \(\:dq\)-axis inductance, and derives the equations of motion in the \(\:dq\)-synchronous rotating reference frame as follows.
Where\(\:i(i=\text{1,2},\dots\:,N)\) represents the PMSM index, \(\:{\omega\:}_{i}\) represents the r mechanical angular velocity; \(\:{J}_{i}\) represents the rotor inert; \(\:{n}_{p}\) represents the pole pairs; \(\:{\phi\:}_{i}\) represents the permanent-magnet flux linkage; \(\:{i}_{i,q}\) represents the \(\:q\)-axis currents; \(\:{T}_{i,L}\) represents the load torque; \(\:{L}_{i}\) represents the \(\:dq\)-axis inductance; \(\:{B}_{i}\) represents the friction coefficient.
Based on the mathematical model of a multi-PMSMs speed control system, a virtual dynamic leader is introduced to develop a first-order leader-following multi-agent systems with perturbations, excluding the effects of load torque and other disturbances. The mathematical model is presented as follows:
Where \(\:{\kappa\:}_{i}=(3{n}_{p}{\phi\:}_{i}/2{J}_{i})\in\:{R}^{+}\),\(\:{u}_{i}\in\:R\) and\(\:{f}_{i}=-({T}_{i,L}+{B}_{i}{\omega\:}_{i})/{J}_{i}\in\:R\) represent the control coefficients of the physical PMSM, the control input (for the \(\:q\)-axis current \(\:{i}_{q,i}^{*}\)), and the load and friction torques, respectively; \(\:{\omega\:}_{0}\) represents the mechanical angular velocity of the leader; \(\:{u}_{0}\) represents the control input of the leader.
A PI controller is designed for the virtual leader to enable rapid tracking of the desired speed \(\:{\omega\:}^{*}\). The controller is formulated as follows:
Where \(\:{k}_{p}\) represents the proportional gain and \(\:{k}_{i}\) represents the integral gain.
Preliminary knowledge
Let the undirected graph \(\:G\left(A\right)=\left\{V,E\right\}\) represent the communication topology among \(\:N\) agents, where \(\:V=\left\{{v}_{1},{v}_{2},\dots\:,{v}_{N}\right\}\) represent the set of nodes, each node \(\:{v}_{i}\) corresponding to an agent, and \(\:E\subseteq\:V\times\:V\) is the set of edges. An edge \(\:{e}_{ij}=({v}_{i},{v}_{j})\in\:E\) exists between nodes \(\:i\) and \(\:j\) implies that agents \(\:i\) and \(\:j\) can communicate with each other. The nodes are indexed by \(\:i,j\in\:I=\left\{\text{1,2},\dots\:,N\right\}\), and the set \(\:I\) is a finite set of positive integers. The adjacency matrix is denoted by \(\:A=\left[{a}_{ij}\right]\in\:{R}^{N\times\:N}\), and if there is an edge \(\:({v}_{i},{v}_{j})\in\:E\) between nodes \(\:i\) and \(\:j\), the corresponding entry in \(\:{a}_{ij}\) is 1; otherwise, it is 0. Assume that the graph \(\:G\) has no self-loops, i.e., \(\:{a}_{ii}=0\). For undirected graphs, the adjacency matrix \(\:A\) is symmetric. The Laplacian matrix of the graph is denoted by \(\:L=D-A=\left[{l}_{ij}\right]\in\:{R}^{N\times\:N}\), where \(\:{l}_{ii}=\sum\:_{i\ne\:j}{a}_{ij}\) and \(\:{l}_{ij}=-{a}_{ij}\), with \(\:D\) being the degree matrix. When a leader exists in the system, represented by the topological graph \(\:{G}_{N+1}\), the leader’s index is set to 0. The adjacency matrix \(\:{A}_{N+1}\) and the Laplacian matrix \(\:{L}_{N+1}\in\:{R}^{(N+1)\times\:(N+1)}\) of the topological graph \(\:{G}_{N+1}\) are defined accordingly. Since the leader is unaffected by the followers, we have \(\:{a}_{0i}=0\). Let matrix B be defined as \(\:diag({a}_{10},{a}_{20},\dots\:,{a}_{N0})\),if the followers \(\:i\) can receive information from the leader, then \(\:{a}_{i0}=1\); otherwise, \(\:{a}_{i0}=0\). Let matrix H be defined as \(\:H=L+B\).The \(\:{L}_{N+1}\) is partitioned as follows:
Lemma 1 establishes a key property of the matrix \(\:H\). A path starting from node \(\:{v}_{i}{\to\:v}_{j}\) is defined as a sequence of consecutive edges \(\:\left\{\left({v}_{i},{v}_{r}\right),\left({v}_{r},{v}_{s}\right),\dots\:,\left({v}_{z}{v}_{j}\right)\right\}\). An undirected graph is considered connected if there exists at least one path between any pair of nodes.
Assumptions and relevant lemma
Definition 1
27: System (2) achieves fixed-time leader-following consensus if, for any initial states \(\:{x}_{i}\left(0\right)\) and \(\:i\in\:V\), there exist a controller \(\:{u}_{i}\) and a function \(\:T\left({x}_{i}\right(0\left)\right)\triangleq\:T\ge\:0\) such that the following equation holds for \(\:\forall\:i,j\in\:V\).
where \(\:T\) is bounded by a constant \(\:{T}_{max}\), which is independent of the initial state, i.e., \(\:T\le\:{T}_{max}\).
Assumption 1
The communication topology among the followers is undirected, and the leader has directed paths to all followers. Specifically, the communication topology between the leader and the followers forms a directed spanning tree, with the leader as the root node.
Assumption 2
For physical systems with perturbations, assume the existence of a positive constant \(\:\epsilon\:\in\:{R}^{+}\) such that \(\:\left|\dot{{f}_{i}}\right|<\epsilon\:\).
Assumption 3
The control input for the leader is consistently bounded, with its upper bound denoted by\(\:\rho\:\in\:{R}^{+}\), such that \(\:\left|{u}_{0}\right|\le\:\rho\:\),which is known a priori to all followers.
Lemma 1
31: The symmetry and positive definiteness of a matrix \(\:H\) are guaranteed if the graph \(\:G\left(A\right)\) is undirected and connected, and if the leader in graph \(\:{G}_{N+1}\) has directed paths to all followers.
Lemma 2
32: Consider the following system:
where \(\:g\in\:{R}^{n}\), \(\:f\left(g\left(t\right)\right):{R}^{n}\to\:{R}^{n}\) is continuous on \(\:{R}^{n}\) and \(\:f\left(0\right)=0\). If there exists a continuous positive definite function \(\:V\left(g\right(t\left)\right)\), real number \(\:a\), \(\:b\), \(\:c>0\), and \(\:\eta\:>1\) such that.
Therefore, the origin of system (4) is globally fixed-time stable, and the convergence time satisfies.
Lemma 3
28: If \(\:{x}_{1},{x}_{2},\dots\:,{x}_{N}\ge\:0\), then the following inequality holds:
Design of fixed-time ESO
The equations of motion of the PMSM, along with its actual operating conditions, indicate that the motor is subject to load perturbations and other unknown disturbances during operation. To achieve fast transient response and improve robustness against load perturbations and other unknown disturbances, a fixed-time ESO is designed, the obtained perturbation estimates are feedforward into the consensus protocol for compensation to further enhance system robustness. The control block diagram of the multi-PMSMs speed control system is presented in Fig. 1.
The equations of motion for the \(\:i\)-th PMSM are rewritten as follows:
Let \(\:{z}_{i,1}\) denote the estimate of \(\:{\omega\:}_{i}\), and \(\:{z}_{i,2}\) the estimate of \(\:{f}_{i}\). The fixed-time ESO is designed as follows:
Where \(\:{p}_{m}=m\stackrel{-}{p}-(m-1)\in\:\left(\text{0,1}\right)\); \(\:{q}_{m}=m\stackrel{-}{q}-(m-1)\in\:(1,+\infty\:)\), \(\:m=\text{1,2}\);\(\:\stackrel{-}{p}\in\:(1-{\tau\:}_{1},1)\), \(\:\stackrel{-}{q}\in\:\left(\text{1,1}{+\tau\:}_{2}\right)\), Let \(\:{\tau\:}_{1}\) and \(\:{\tau\:}_{2}\) be sufficiently small positive constants. The observer gain is designed such that the following matrices are Hurwitz matrices.
Theorem 1
Under Assumption 2, the fixed-time ESO can estimate both the total perturbation \(\:{f}_{i}\) and the mechanical angular velocity \(\:{\omega\:}_{i}\), with the estimation error converging within a fixed time. The convergence time is given by:
Where \(\:{{\Xi\:}}_{1}=1-\stackrel{-}{p}\), \(\:{{\Xi\:}}_{2}=\stackrel{-}{q}-1\), \(\:{\mu\:}_{1}={\lambda\:}_{min}\left({P}_{1}\right)/{\lambda\:}_{max}\left({P}_{1}\right)\), \(\:{\mu\:}_{2}={\lambda\:}_{min}\left({P}_{2}\right)/{\lambda\:}_{max}\left({P}_{2}\right)\),\(\:\vartheta\:\in\:{R}^{+}\le\:{\lambda\:}_{min}\left({P}_{2}\right)\:\). Let \(\:{P}_{1},\, {P}_{2}, \, {Q}_{1}\)and \(\:{Q}_{2}\) be non-singular, symmetric, positive definite matrices. Additionally, the above parameter matrices satisfy conditions \(\:{B}_{1}^{T}{Q}_{1}+{Q}_{1}{B}_{1}={-P}_{1}\) and \(\:{B}_{2}^{T}{Q}_{2}+{Q}_{2}{B}_{2}={-P}_{2}\).
Proof
Let the estimation error be defined as
The derivation of Eq. (7) yields
According to33, to demonstrate that the estimation error converges to zero in fixed time, the proof is divided into two steps:
-
1.
Show that the following error system converges to zero in fixed time, i.e.,
$$\left\{ \begin{aligned} & {{\dot {\tilde {e}}}_{i,1}}={{\tilde {e}}_{i,2}} - {k_1}si{g^{{p_1}}}({{\tilde {e}}_{i,1}}) - {k_2}si{g^{{q_1}}}({{\tilde {e}}_{i,1}}) \hfill \\ & {{\dot {\tilde {e}}}_{i,2}}= - {k_3}si{g^{{p_2}}}({{\tilde {e}}_{i,1}}) - {k_4}si{g^{{q_2}}}({{\tilde {e}}_{i,1}}) \hfill \\ \end{aligned} \right.$$(9)According to Theorem 2 in34, A can converge to zero in fixed time.
-
2.
According to35, the following equation holds:
$${\dot {\tilde {e}}_{i,2}}={\dot {f}_i} - \varepsilon sign({\tilde {e}_{i,1}})=0,t \geqslant {T_1}$$(10)$$\:\text{T}\text{h}\text{a}\text{t}\:\text{i}\text{s},\:\text{w}\text{h}\text{e}\text{n}\:t\ge\:{T}_{1},{z}_{i,1}={\omega\:}_{i},{z}_{i,2}={f}_{i}.$$.
Design of the fixed-time consensus protocol
In conjunction with the fixed-time ESO described above, a fixed-time consensus protocol \(\:{u}_{i}\) is designed to replace the speed loop controller in the multi-PMSMs speed control system. The proposed protocol ensures that the system’s rotational speeds (Eq. 2) achieve consensus within a fixed time.
The following factors must be considered when selecting a suitable Lyapunov function: (1) As the consensus protocol includes an adaptive parameter \(\:{c}_{i}\), it is crucial to determine the boundedness of \(\:{c}_{i}\) within the time interval \(\:\left[0,\right.\left.+\infty\:\right)\). (2) Since the convergence of \(\:{c}_{i}\) is unknown, the boundedness of \(\:{c}_{i}\) and fixed-time convergence of \(\:{e}_{i}\) are analyzed separately. Therefore, two Lyapunov functions are constructed in this paper, with the proof divided into two steps: one to verify the boundedness of.
\(\:{c}_{i}\), and the other to prove the fixed-time convergence of \(\:{e}_{i}\).
The proposed fixed-time protocol for the \(\:i\)-th follower is expressed as follows:
Where \(\:{\kappa\:}_{i}=(3{n}_{p}{\phi\:}_{i}/2{J}_{i})\in\:{R}^{+}\) represents the control coefficients of the physical PMSM.\(\:a\in\:\left(\text{0,1}\right)\), \(\:b\in\:(1,+\infty\:)\), \(\:{c}_{i}\), is an adaptive parameter that satisfies \(\:\dot{{c}_{i}}={\left(\sum\:_{i=1}^{N}{a}_{ij}({\omega\:}_{i}-{\omega\:}_{j})\right)}^{2}\). \(\:{z}_{i,2}\) represents the perturbation estimate of the observer.
The tracking error of the \(\:i\)-th follower is defined as \(\:{e}_{i}={\omega\:}_{i}-{\omega\:}_{0}\),\(\:e={\left[{e}_{1},{e}_{2},\dots\:,{e}_{N}\right]}^{T}\), \(\:\omega\:={\left[{\omega\:}_{1},{\omega\:}_{2},\dots\:,{\omega\:}_{N}\right]}^{T}\), \(\:f={\left[{f}_{1},{f}_{2},\dots\:,{f}_{N}\right]}^{T}\), \(\:z={\left[{z}_{1},{z}_{2},\dots\:,{z}_{N}\right]}^{T}\).
The error system is then expressed as follows:
Where \(\:{\Lambda\:}=diag\left\{{c}_{1},{c}_{2},\dots\:,{c}_{N}\right\}\).
Theorem 2
Suppose the communication topology satisfies Assumption 1, and Assumptions 2and 3are also satisfied. If \(\:{c}_{0}=\delta\:\), the control protocol (11) achieves fixed-time consistency of the multi-agent system (2). Furthermore, the convergence time satisfies:
Where\({l}_{1}=\delta\:{\lambda\:}_{min}\left(H\right),\:{l}_{2}=\alpha\:{\left({\lambda\:}_{min}\right(H\left)\right)}^{\frac{a-1}{2}},\:{l}_{3}=\beta\:{N}^{\frac{1-b}{2}}{{(\lambda\:}_{min}\left(H\right))}^{\frac{b+1}{2}}.\)
Proof
Step 1: Construct the Lyapunov function as \(\:{V}_{1}{=V}_{2}+{V}_{3}\).
Where \(\:{V}_{2}={e}^{T}He\), \(\:{V}_{3}=\sum\:_{i=1}^{N}{({c}_{0}-{c}_{i})}^{2}\) and \(\:{\xi\:}_{i}=\sum\:_{i=0}^{N}{a}_{ij}({\omega\:}_{i}-{\omega\:}_{j})\) are defined.
Taking the derivative of both sides of the above equation and substituting it into Eq. (12) yields
From Lemma 3, it follows that \(\:-2{e}^{T}H{1}_{N}{u}_{0}\le\:2\rho\:\sum\:_{i=1}^{N}\left|{\xi\:}_{i}\right|\)holds. Additionally, from Lemma 3, \(\:{\left({e}^{T}HHe\right)}^{\frac{a+1}{2}}\ge\:{\left({\lambda\:}_{min}\right(H\left)\right)}^{\frac{a+1}{2}}{{V}_{2}}^{\frac{a+1}{2}}\) and \(\:{N}^{\frac{1-b}{2}}{\left({e}^{T}HHe\right)}^{\frac{b+1}{2}}\ge\:{N}^{\frac{1-b}{2}}{\left({\lambda\:}_{min}\right(H\left)\right)}^{\frac{b+1}{2}}{{V}_{2}}^{\frac{b+1}{2}}\) holds, and when δ > 0, \(\:-2{e}^{T}H{\Lambda\:}He=-{e}^{T}H\left(2{\Lambda\:}-2\delta\:I\right)He-2\delta\:{e}^{T}HHe\le\:-{e}^{T}H\left(2{\Lambda\:}-2\delta\:I\right)He-2\delta\:{\lambda\:}_{min}\left(H\right){V}_{2}\) is established .
From the previous discussion, \(\:f={z}_{2}\) holds when \(\:t\ge\:{T}_{1}\). Substituting these conditions yields
Since \(\:{\dot{V}}_{3}=2\sum\:_{i=1}^{N}\left({c}_{i}{-c}_{0}\right){\xi\:}_{i}^{2}\) holds, it follows that
The previous analysis confirms that \(\:{\dot{V}}_{1}\) is semi-negative definite, ensuring that \(\:{V}_{1}\)、\(\:{c}_{i}\) and \(\:e\) do not diverge to infinity, thereby guaranteeing the boundedness of \(\:{c}_{i}\) and \(\:e\).
In the second step, the Lyapunov function is chosen as \(\:{V}_{2}={e}^{T}He\).
\(\:2{\sum\:}_{i=1}^{N}({c}_{0}-{c}_{i}){\xi\:}_{i}^{2}\le\:0\) holds due to the monotonicity of \(\:{c}_{i}\). Therefore
Based on Lemma 2, it can be demonstrated that the system is globally fixed-time stable at the origin. Specifically, system (2) achieves fixed-time consensus, and the convergence time satisfies:
Where\({l}_{1}=\delta\:{\lambda\:}_{min}\left(H\right),\:{l}_{2}=\alpha\:{\left({\lambda\:}_{min}\right(H\left)\right)}^{\frac{a+1}{2}},\:{l}_{3}=\beta\:{N}^{\frac{1-b}{2}}{{(\lambda\:}_{min}\left(H\right))}^{\frac{b+1}{2}}.\)
Experimental investigations
Experimental setup
The physical experimental platform is shown in Fig. 2 and consists of a host computer, controller group, driver group, drive PMSM group, and load PMSM group. Each PMSM is configured with the parameters listed in Table 1. The multi-PMSMs speed control system model is implemented on the host computer, which sends control signals to the drive and load PMSM groups to apply the proposed control scheme and drive PMSM rotation. The controller group connects to the host computer via a switch to form a local area network (LAN), using IP as the underlying protocol and transmitting data over UDP.
Considering the practical applications in engineering, the comparison experiments in this paper include operations such as speed variation, forward and reverse rotation, and loading and unloading tests. The control scheme proposed in this paper is referred to as Scheme 1 and the parameters for Scheme 1 are listed in Table 2, while the relative-coupling control is designated as Scheme 2 and the parameters for Scheme 2 are listed in Table 3. Additionally, in the relative-coupling control structure, each motor requires an algorithm for individual tracking control. Since PID control is widely used, PID algorithms are employed in this paper‘s relative-coupling control. Both schemes use PID control in their current loops with identical parameters. The block diagram of the relative-coupling control is shown in Fig. 3.
The matrix H is specified as follows:
The minimum eigenvalue of the matrix H is given by \(\:{\lambda\:}_{min}\left(H\right)\)=0.267, Substituting \(\:a=0.9,b=1.1,\alpha\:=\:\beta\:=30\),\(\:\delta\:=0.8\) and \(\:{\lambda\:}_{min}\left(H\right)\)=0.267 into \(\:1/{l}_{1}\left(1-a\right)ln\left(1+2\delta\:/{l}_{2}\right)+1/{l}_{3}(b-1)\),the theoretical upper bound of the settling time is calculated as T ≤ 9.95s, the actual settling time of the system is approximately 9 s. The expected outcome is that, after approximately 9 s, the speeds of the three PMSMs track the speed of the virtual leader, indicating that the multi-PMSMs speed control system achieves fixed-time leader-following consensus.
Speed up and down experiment
The initial speed is set to 400 r/min. After 30 s, it increases to 600 r/min, and after 60 s, it decreases back to 400 r/min, with a total duration of 90 s. The results of the comparison test are presented in Figs. 4 and 5.
From Fig. 4, it can be observed that the control scheme 1 proposed in this paper accurately tracks the given trajectory of each motor under lifting and lowering conditions. There is no overshoot during the startup and operation phases, and the speed chattering is approximately 0.8 r/min at 400 r/min steady-state operation and 1.5 r/min at 600 r/min steady-state operation.
From Fig. 5, it is evident that the control scheme 2 exhibits an overshoot of approximately 17 r/min. The speed chattering is around 1.4 r/min at 400 r/min steady-state operation and about 2 r/min at 600 r/min steady-state operation.
A comparison shows that the control scheme proposed in this paper exhibits superior tracking and synchronization performance under lifting and lowering conditions. Compared to Scheme 2, it results in smaller chattering and no overshoot.
Forward and reverse experiment
The initial speed was set to 400 r/min, reversed to -400 r/min after 30 s, and then increased back to 400 r/min after 60 s. The total duration was 90 s. The results of the comparison test are presented in Figs. 6 and 7.
Figure 6 demonstrates that the proposed control scheme accurately tracks the given trajectory for each motor under both forward and reverse conditions. Notably, there is no overshooting during the startup phase or at the forward/reverse transition points. Additionally, the speed chattering is approximately 0.8 r/min during steady-state operation at both 400 r/min and − 400 r/min.
Figure 7 illustrates that the scheme 2 exhibits an overshoot of approximately 17 r/min. This overshoot increases to around 220 r/min during the forward and reverse stages. The speed chattering is about 1.3 r/min at 400 r/min steady-state operation and rises to 2 r/min at 600 r/min.
A comparison shows that the proposed control scheme exhibits superior tracking and synchronization performance under lifting and lowering conditions. Compared to Scheme 2, the proposed approach achieves smaller speed chattering and eliminates overshooting.
Loading and unloading experiment
The initial rotational speed is set to 400 r/min. The load experiments are categorized into two types: (1) applying different loads simultaneously (operation 1), and (2) applying different loads at distinct moments (operation 2).
In operation 1, loads of 0.6 N, 0.5 N, and 0.2 N are applied to motors 1, 2, and 3, respectively, at 30 s. The loads are then removed at 40 s, resulting in a total running time of 50 s. The comparison test results are presented in Figs. 8 and 9.
In operation 2, a load of 0.8 N is applied to motor 1 at 30 s and removed at 40 s. Subsequently, a load of 0.6 N is applied to motor 2 at 50 s and removed at 60 s, with a total running time of 70 s. The comparison test results are shown in Figs. 10 and 11.
As shown in Fig. 8, under operation 1, the proposed control scheme exhibits a speed variation of approximately 13 r/min during loading and unloading. In contrast, Fig. 9 indicates that Scheme 2 has a speed variation of about 15.8 r/min.
According to Fig. 10, under operation 2, the proposed control scheme shows speed changes of approximately 7.3 r/min and 6.8 r/min during loading and unloading, respectively. Figure 11 shows that Scheme 2 exhibits speed changes of about 9 r/min and 7.5 r/min, respectively. Specifically, the speed variations during loading and unloading are reduced by approximately 15–20%, highlighting the effectiveness of the proposed approach in minimizing system perturbations.
The proposed control scheme demonstrates smaller speed variations compared to Scheme 2, ensuring improved system robustness.
The proposed algorithm is based on multi-agent systems consensus, inherits both the advantages and disadvantages of such systems, including distribution, flexibility, and scalability. However, consensus control presents challenges, as it relies heavily on real-time communication. Delays or packet loss can result in decision conflicts or task failures, and the design and implementation thresholds remain high. Finally, achieving consensus under communication delays or data loss remains an important direction for our future research.
Conclusion
Considering the integration of multi-PMSMs speed control system and consensus control in multi-agent systems for achieving unified control outcomes. This paper adopts the framework of multi-agent systems theory, modeling the multi-PMSMs speed control system as a perturbed first-order multi-agent system. A fixed-time distributed cooperative control strategy is proposed to replace the speed loop controller in traditional vector control systems. This strategy integrates a fixed-time ESO to achieve fixed-time speed consensus across the multi-PMSMs speed control system. Experimental results confirm that the proposed control scheme achieves fixed-time speed consensus for the multi-PMSMs control system, with excellent tracking performance and no overshooting. Under varying speeds and loads, the proposed scheme demonstrates smaller synchronization errors compared to scheme 2. Additionally, the scheme offers strong robustness and scalability, making it suitable for broader applications.
In addition, the proposed algorithm, based on multi-agent system consensus, offers enhanced flexibility in adjusting the number of motors in a multi-PMSMs speed consensus control system. This flexibility arises because changes in communication topology do not influence the mathematical formulation of the consensus protocol.
Data availability
Data is provided within the manuscript.
References
Shi, T., Zou, W., Guo, J. & Xiang, Z. Adaptive speed regulation for permanent magnet synchronous motor systems with speed and current constraints. IEEE Trans. Circuits Syst. II Exp. Briefs. 71(4), 2079–2083 (2024).
Nguyen, T. H. et al. An adaptive sliding-mode controller with a modified reduced-order proportional integral observer for speed regulation of a permanent magnet synchronous motor. IEEE Trans. Ind. Electron. 69(7), 7181–7191 (2022).
Xu, Y., Yan, Z., Zhang, Y. & Song, R. Model predictive current control of permanent magnet synchronous motor based on sliding mode observer with enhanced current and speed tracking ability under disturbance. IEEE Trans. Energy Convers. 38(2), 948–958 (2023).
Dai, Y., Zhang, L., Xu, D., Chen, Q. & Yan, X. Anti-disturbance cooperative fuzzy tracking control of multi-PMSMs low-speed urban rail traction systems. IEEE Trans. Transp. Electrific. 8(1), 1040–1052 (2022).
Lu, J., Hu, Y., Chen, G., Wang, Z. & Liu, J. Mutual calibration of multiple current sensors with accuracy uncertainties in IPMSM drives for electric vehicles. IEEE Trans. Ind. Electron. 67(1), 69–79 (2020).
Niu, F. et al. A review on multi-motor synchronous control methods. IEEE Trans. Transp. Electrific. 9(1), 22–33 (2023).
Huang, S. D. et al. Predictive position control of long-stroke planar motors for high-precision positioning applications. IEEE Trans. Ind. Electron. 68(1), 796–811 (2021).
Vazquez, S., Rodriguez, J., Rivera, M., Franquelo, L. G. & Norambuena, M. Model predictive control for power converters and drives: advances and trends. IEEE Trans. Ind. Electron. 64(2), 935–947 (2017).
Zhang, Y., Yin, Z., Li, W., Liu, J. & Zhang, Y. Adaptive sliding-mode based speed control in finite control set model predictive torque control for induction motors. IEEE Trans. Power Electron. 36(7), 8076–8087 (2021).
Zhang, C., He, J., Jia, L., Xu, C. & Xiao, Y. Virtual line-shafting control for permanent magnet synchronous motor systems using sliding-mode observer. IET Control Theory Appl. 9(3), 456–464 (2015).
Ning, B. et al. Fixed time and prescribed-time consensus control of multi-agent systems and its applications: A survey of recent trends and methodologies. IEEE Trans. Ind. Inf. 19(2), 1121–1135 (2023).
Naderolasli, A., Shojaei, K. & Chatraei, A. Leader-follower formation control of Euler-Lagrange systems with limited field-of-view and saturating actuators: A case study for tractor-trailer wheeled mobile robots. Eur. J. Control. 75, 100903 (2024).
Naderolasli, A., Shojaei, K. & Chatraei, A. Platoon formation control of autonomous underwater vehicles under LOS range and orientation angles constraints. Ocean Eng. 271, 113674 (2023).
Li, M., Zhang, K., Liu, Y., Song, F. & Li, T. Prescribed-time consensus of nonlinear multi-agent systems by dynamic event-triggered and self-triggered protocol. IEEE Trans. Automat. Sci. Eng. 22, 16768–16779 (2025).
He, W. et al. Leader-following consensus of nonlinear multiagent systems with stochastic sampling. IEEE Trans. Cybern. 47(2), 327–338 (2017).
Zhang, Z., Chen, S. & Zheng, Y. Fully distributed scaled consensus tracking of high-order multiagent systems with time delays and disturbances. IEEE Trans. Ind. Inf. 18(1), 305–314 (2022).
Qiu, Q. & Su, H. Distributed adaptive consensus of parabolic PDE agents on switching graphs with relative output information. IEEE Trans. Ind. Inf. 18(1), 297–304 (2022).
Li, M., Long, Y., Zhang, K. & Li, T. Time-varying dynamic event-triggered-based prescribed-time leader-following consensus for multi-agent systems with input saturation. Appl. Math. Comput. 508, 129630 (2026).
Wang, W., Wen, C. & Huang, J. Distributed adaptive asymptotically consensus tracking control of nonlinear multi-agent systems with unknown parameters and uncertain disturbances. Automatica 77, 133–142 (2017).
Meng, W., Yang, Q., Sarangapani, J. & Sun, Y. Distributed control of nonlinear multiagent systems with asymptotic consensus. IEEE Trans. Syst. Man. Cybern Syst. 47(5), 749–757 (2017).
Ma, L., Zhu, F., Zhang, J. & Zhao, X. Leader–follower asymptotic consensus control of multiagent systems: an observer-based disturbance reconstruction approach. IEEE Trans. Cybern. 53(2), 1311–1323 (2023).
Wang, L. & Xiao, F. Finite-time consensus problems for networks of dynamic agents. IEEE Trans. Autom. Control. 55(4), 950–955 (2010).
Liu, X., Lam, J., Yu, W. & Chen, G. Finite-time consensus of multiagent systems with a switching protocol. IEEE Trans. Neural Netw. Learn. Syst. 27(4), 853–862 (2016).
Gong, P., Han, Q. L. & Lan, W. Finite-time consensus tracking for incommensurate fractional-order nonlinear multiagent systems with directed switching topologies. IEEE Trans. Cybern. 52(1), 65–76 (2022).
Naderolasli, A., Shojaei, K. & Chatraei, A. Terminal silding-mode disturbance observer-based finite-time adaptive-neural formation control of autonomous surface vessels under output constraints. Robotica 41(1), 236–258 (2023).
Polyakov, A. Nonlinear feedback design for fixed-time stabilization of linear control systems. IEEE Trans. Autom. Control. 57(8), 2106–2110 (2012).
Zuo, Z., Han, Q. L., Ning, B., Ge, X. & Zhang, X. M. An overview of recent advances in fixed-time cooperative control of multi-agent systems. IEEE Trans. Ind. Inf. 14(6), 2322–2334 (2018).
Zuo, Z. & Tie, L. A new class of finite-time nonlinear consensus protocols for multi-agent systems. Int. J. Control. 87(2), 363–370 (2014).
Naderolasli, A., Shojaei, K. & Chatraei, A. Fixed-time multilayer neural network-based leader–follower formation control of autonomous surface vessels with limited field-of-view sensors and saturated actuators. Neural Comput. Appl. (2024).
Liu, Y., Zuo, Z. & Li, W. Fixed-time consensus control of general linear multiagent systems. IEEE Trans. Autom. Control. 69(8), 5516–5523 (2024).
Ni, W. & Cheng, D. Leader-following consensus of multi-agent systems under fixed and switching topologies. Syst. Control Lett. 59(3–4), 209–217 (2010).
Zhang, H., Duan, J., Wang, Y. & Gao, Z. Bipartite fixed-time output consensus of heterogeneous linear multiagent systems. IEEE Trans. Cybern. 51(2), 548–557 (2021).
Zavala, E. C., Moreno, J. A. & Fridman, L. M. Uniform robust exact differentiator. IEEE Trans. Autom. Control. 56(11), 2727–2733 (2011).
Basin, M., Yu, P. & Shtessel, Y. Finite- and fixed-time differentiators utilising HOSM techniques. IET Control Theory Appl. 11(8), 1144–1152 (2017).
Wang, N., Lv, S., Er, M. J. & Chen, W. Fast and accurate trajectory tracking control of an autonomous surface vehicle with unmodeled dynamics and disturbances. IEEE Trans. Intell. Veh. 1(3), 230–243 (2016).
Author information
Authors and Affiliations
Contributions
Bin Li and Hongxu Chai did the main writing of the experiments, and Limin Hou typeset the article.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
About this article
Cite this article
Li, B., Chai, H. & Hou, L. Fixed-time leader-following speed consensus control for multi-PMSMs based on multi-agent systems consensus. Sci Rep 15, 32738 (2025). https://doi.org/10.1038/s41598-025-18061-3
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41598-025-18061-3