Networked pmsm event-triggered terminal sliding mode speed control method and system
By combining an extended state observer and a non-singular terminal sliding mode controller with a dynamic event triggering mechanism, the problems of high steady-state accuracy, strong anti-interference and low communication burden in the control of networked permanent magnet synchronous motors are solved, and high-precision, robust and fast-response motor speed control is achieved.
Patent Information
- Application Number
- CN202611537698.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-30
- Publication Date
- 2026-11-27
AI Technical Summary
Existing technologies struggle to simultaneously achieve high steady-state accuracy, strong anti-interference capabilities, and low communication burden in networked permanent magnet synchronous motor control, and traditional sliding mode control suffers from singular problems and complex stability analysis.
An extended state observer combined with a non-singular terminal sliding mode controller and a dynamic event triggering mechanism is adopted. By using lumped disturbance estimation and non-singular terminal sliding surface design, the finite-time convergence of speed tracking error is ensured, and a dynamic event triggering mechanism is introduced into the control loop to reduce communication load.
It achieves high-precision control of permanent magnet synchronous motors under unknown disturbances, enhances robustness and anti-disturbance capabilities, reduces communication load, improves autonomous control capabilities and transient response performance, and is suitable for networked environments with limited communication resources.
Smart Images

Figure CN123184552A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of motor control technology, specifically to a networked PMSM event-triggered terminal sliding mode speed control method and system. Background Technology
[0002] Permanent magnet synchronous motors (PMSMs) are widely used in industrial drives due to their high efficiency, high power density, and fast dynamic response. However, they are inherently strongly coupled nonlinear systems, and frequent parameter perturbations and load changes during operation make high-performance speed control quite challenging. With the development of the Industrial Internet, motor control signals need to be transmitted through shared communication networks with limited bandwidth. How to reduce the communication burden while maintaining control performance has become a key issue in networked motor control.
[0003] However, existing technologies still have many shortcomings: First, traditional linear PID control has a simple structure, but it is difficult to balance high steady-state accuracy and strong disturbance rejection under complex working conditions; sliding mode control is robust, but it relies heavily on prior knowledge of the upper bound of disturbances, and the terminal sliding mode has singularity problems, which restricts its engineering practicality; Second, when existing event triggering mechanisms are combined with non-singular terminal sliding modes, the triggering error interacts with the fractional power nonlinear term in the sliding surface, making the closed-loop stability analysis extremely complex, and usually only bounded or asymptotic convergence can be guaranteed, but finite-time reachability cannot be rigorously proven, thus losing the fast convergence advantage of terminal sliding mode; Third, after introducing the extended state observer, the observer estimation error, triggering error and sliding mode nonlinear term are strongly coupled, resulting in a lack of theoretical guidance for sliding mode controller gain tuning, making stability proof more cumbersome, and making it difficult to guarantee the overall performance of the system under communication constraints. Summary of the Invention
[0004] This invention provides a networked PMSM event-triggered terminal sliding mode speed control method and system. It utilizes an extended state observer to estimate lumped disturbances, designs a non-singular terminal sliding mode controller to ensure finite-time convergence of speed tracking error, and introduces a dynamic event triggering mechanism in the control loop to reduce communication load. It also proves the finite-time reachability of the sliding surface and the eventual boundedness of the tracking error through a suitable Lyapunov function.
[0005] The technical solution of this invention is as follows: A method for sliding mode speed control of a networked PMSM event-triggered terminal includes the following steps: S1. Establish a dynamic model of a surface-mounted permanent magnet synchronous motor, define the speed tracking error, and simplify the higher-order dynamics of the motor to obtain a motor speed control system model. Define the error state and lumped disturbance in the state equation of the motor speed control system, and collect the motor speed and current in real time to output the system state signal; the error state is the state variable related to the speed tracking error. S2. The lumped disturbance is augmented into an extended state, and the system state and lumped disturbance are estimated online in the extended state observer; the extended state observer outputs the state estimate and disturbance estimate; S3. Using the error state and the disturbance estimate as input, update the internal dynamic variables in the dynamic event trigger and determine whether the dynamic event triggering condition is met; if the triggering condition is not met, the sliding mode controller keeps the sampling signal at the last triggering moment unchanged and continues to output the control input signal based on the sampling signal; when the triggering condition is met, transmit the current sampling state and disturbance estimate information to the sliding mode controller. S4. Receive the current sampling state and the disturbance estimate, derive the sliding mode control law based on the non-singular terminal sliding mode surface, and output the control input signal; the control input signal is sent back to the motor speed control system to change the motor operating state; on the other hand, it is sent to the extended state observer as the input of the extended state observer to participate in the calculation and drive the permanent magnet synchronous motor to complete the speed control work.
[0006] Furthermore, the non-singular terminal sliding surface in S4 is composed of the superposition of the linear term of the error state and the fractional power nonlinear term of the error state. The exponent of the fractional power is a rational number between 1 and 2, and the amplitude of the fractional power term is adjusted by the convergence coefficient.
[0007] Furthermore, the extended state observer in S2 is a third-order observer. The rate of change of its first state estimate is jointly determined by the first state estimation error and the second state estimate; the rate of change of the second state estimate is jointly determined by the estimation error, the third state estimate, and the control input signal; the rate of change of the third state estimate is determined only by the estimation error, and each rate of change is equipped with an independent adjustable gain coefficient.
[0008] Furthermore, the dynamic event triggering condition in S3 is composed of a fixed basic threshold and a changing internal dynamic variable, which together constitute the triggering criterion. When the norm of the triggering error reaches or exceeds the combined threshold, the signal transmission operation is triggered and the sampled state data cached at the input of the sliding mode controller is refreshed. Otherwise, the current control input is maintained and network data transmission is not initiated.
[0009] Furthermore, S3 updates internal dynamic variables. For internal dynamic variables, satisfying the differential equation: ;in, The rate of change of a dynamic variable over time; This is a preset adjustable constant; Define the trigger error.
[0010] Furthermore, in any trigger interval Internally, the sliding mode controller uses the state stored at the trigger moment to participate in the calculation throughout the process, keeping the control input signal constant and matching the hardware output characteristics of the zero-order hold.
[0011] Furthermore, in S2, state estimation is defined as follows: the state estimation error vector is... If a positive definite matrix exists And damping coefficient Satisfying matrix inequalities , T It is the transpose symbol. A If the complete dynamic equation of the observer is represented as the system state matrix of the observer, then all observation error exponents converge to a bounded small neighborhood, and the upper bound of the observation state estimation error can be obtained by solving the matrix eigenvalues.
[0012] Furthermore, the motor speed control system model in S1 is constructed based on the electrical and mechanical dynamic balance relationship of the permanent magnet synchronous motor. It includes the q-axis current dynamic equation and the speed dynamic equation. The q-axis current dynamic involves stator resistance, inductance, speed and q-axis voltage input, while the speed dynamic involves q-axis current, speed, moment of inertia and external load torque. Each parameter includes the motor fixed structure parameters and external disturbance terms.
[0013] A networked PMSM event-triggered terminal sliding mode speed control system includes the following: The motor and sensor acquisition module establishes a dynamic model of a surface-mounted permanent magnet synchronous motor, defines the speed tracking error, and simplifies the higher-order dynamics of the motor to obtain a motor speed control system model. In the state equation of the motor speed control system, the error state and lumped disturbance are defined, and the motor speed and current are acquired in real time, and the system state signal is output; the error state is the state variable related to the speed tracking error. The extended state observer module expands the lumped disturbance into an extended state, and performs online estimation of the system state and lumped disturbance in the extended state observer; the extended state observer outputs the state estimate and disturbance estimate; The dynamic event triggering module takes the error state and the disturbance estimate as input, updates the internal dynamic variables in the dynamic event trigger, and determines whether the dynamic event triggering condition is met. If the triggering condition is not met, the sliding mode controller keeps the sampling signal at the last triggering moment unchanged and continues to output the control input signal based on the sampling signal. When the triggering condition is met, the current sampling state and disturbance estimate information are transmitted to the sliding mode controller. The non-singular terminal sliding mode controller module receives the current sampling state and the disturbance estimate, derives the sliding mode control law based on the non-singular terminal sliding surface, and outputs a control input signal. The control input signal is sent back to the motor speed control system to change the motor operating state. On the other hand, it is sent to the extended state observer as the input of the extended state observer to participate in the calculation and drive the permanent magnet synchronous motor to complete the speed control work.
[0014] Furthermore, the non-singular terminal sliding mode controller module includes a non-singular terminal sliding mode surface calculation module, which is composed of the superposition of the linear term of the error state and the fractional power nonlinear term of the error state. The exponent of the fractional power is a rational number between 1 and 2, and the amplitude of the fractional power term is adjusted by the convergence coefficient.
[0015] The beneficial effects of this invention are as follows: 1. This invention achieves high-precision control of a permanent magnet synchronous motor speed control system under unknown disturbances by introducing an extended state observer and a non-singular terminal sliding mode control strategy. This enhances the system's robustness to external disturbances and parameter uncertainties without requiring prior knowledge of the upper limit of the disturbance. Simultaneously, the observer uses the disturbance estimate separately for feedforward compensation, effectively avoiding the cumulative amplification of estimation errors in the control loop and further improving disturbance rejection quality.
[0016] 2. This invention combines a dynamic event triggering mechanism, which effectively reduces communication load, improves resource utilization efficiency, and enhances the autonomous control capability of permanent magnet synchronous motors in a networked environment; the internal dynamic variables can adaptively adjust the trigger threshold based on the system's historical operating data, significantly reducing invalid data transmission while ensuring control performance, making it suitable for bandwidth-constrained industrial communication scenarios.
[0017] 3. The non-singular terminal sliding mode controller designed in this invention ensures the finite-time convergence of speed tracking error, improving the transient response performance of the motor drive system; at the same time, it avoids the singularity problem of traditional terminal sliding mode, and the control output is bounded and smooth, which is beneficial to protect power devices and reduce actuator impact.
[0018] 4. The present invention has the advantages of high stability, high control accuracy, low communication overhead and strong anti-interference, and is suitable for speed control tasks of networked permanent magnet synchronous motors with limited communication resources. Furthermore, simulation and experiments have jointly verified that the method can still maintain good dynamic recovery capability and steady-state accuracy under step load and parameter perturbation, and has practical engineering application value. Attached Figure Description
[0019] Figure 1 This is a schematic diagram of the state trajectory change curves from the simulation results of a second-order system. Figure 2 This is a schematic diagram of the sliding mode variable variation curves from the simulation results of a second-order system. Figure 3 A comparison chart of the speed responses of four control schemes; Figure 4 Plots showing velocity response and inter-event intervals under different initial dynamic thresholds; Figure 5 The experimental PMSM drive platform structure diagram; Figure 6 This is a schematic diagram of the experimental results of the rotor angular velocity under the controller of the present invention. Detailed Implementation
[0020] To better understand the above technical solutions, a detailed description of the solutions will be provided below in conjunction with the accompanying drawings and specific embodiments. It should also be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the scope of the invention.
[0021] This embodiment provides a sliding mode speed control method for a networked PMSM event-triggered terminal, including the following steps: S1. Establish a dynamic model of a surface-mounted permanent magnet synchronous motor, define the speed tracking error, and simplify the higher-order dynamics of the motor to obtain a motor speed control system model. Define the error state and lumped disturbance in the state equation of the motor speed control system, and collect the motor speed and current in real time to output the system state signal. The error state is the state variable related to the speed tracking error; the lumped disturbance is a comprehensive unknown disturbance term that integrates the reference speed acceleration, mechanical friction, and load torque changes.
[0022] Permanent magnet synchronous motors employ a field-oriented vector control architecture, which is divided into fast-response and... The shaft current inner loop and the slow-dynamic speed outer loop have different bandwidths. The adjustment bandwidth of the current inner loop is much higher than that of the speed outer loop. In engineering, this can be approximated as practical. The shaft current perfectly tracks the given reference current. The given shaft current is always 0, which simplifies the original dynamic equations of the high-order motor and extracts a low-order speed regulation model that only contains speed dynamics, providing an engineering mathematical carrier for the subsequent design of observers, sliding mode controllers, and event triggering strategies.
[0023] In this embodiment of the invention, a dynamic model of a surface-mounted permanent magnet synchronous motor is established. Specifically, in The original electrodynamic equations of the surface-mounted permanent magnet synchronous motor established in the coordinate system include the stator inductance. , Stator resistance Permanent magnet flux Extreme logarithms The inherent hardware parameters of the motor, , They are respectively axis, Shaft stator voltage control signal, , Real-time acquisition signal of stator current for corresponding shaft; It represents the real-time mechanical angular velocity of the motor rotor, which is a physical quantity directly measured by the speed sensor; For the rotational inertia of the motor rotor, is the mechanical viscous friction coefficient, and both characterize the mechanical motion inertia and damping characteristics of the motor; The external load torque is an unknown disturbance signal that cannot be accurately quantified in advance during operation. A specific expression for the dynamic model of the surface-mounted permanent magnet synchronous motor is given as follows: Because surface-mount motors meet The inner current loop is regulated by a PI controller to ensure accurate current tracking. Because the dynamic characteristics of the current control loop are much faster than those of the speed loop, the actual q-axis current... It can approximate its reference value sufficiently. .
[0024] Furthermore, under standard magnetic field orientation control The dynamics of a permanent magnet synchronous motor can be simplified to obtain a motor speed control system model. Furthermore, this model is constructed based on the electrical and mechanical dynamic balance of the permanent magnet synchronous motor, including the q-axis current dynamic equation and the speed dynamic equation. The q-axis current dynamic equation involves stator resistance, inductance, speed, and q-axis voltage input, while the speed dynamic equation involves q-axis current, speed, moment of inertia, and external load torque. Each parameter includes the motor's fixed structural parameters and external disturbance terms. The specific motor speed control system model is as follows: Simplify the above equations and define a systematic fixed gain. , Both types of gains are completely determined by the factory parameters of the motor hardware, with no manually adjustable variables.
[0025] Define the core state variables of the motor speed control system to describe the dynamic process of speed tracking: ;in, This represents the system's speed tracking error; The target reference rotation speed is sent by the host computer, and it is a known given signal. This is the real-time speed measurement signal for the motor.
[0026] Taking the derivative with respect to time yields , recorded as , representing the rate of change of the rotational speed error; where, The rotor angular acceleration is obtained by differentiating the rotational speed signal. The reference speed change rate is a known input signal of the motor speed control system; that is... , This is an error state.
[0027] Based on the above engineering simplification and state definition, the state equation of the motor speed control system is obtained as follows: in, This is the control input signal of the present invention, corresponding to The shaft current reference value is the adjustment value output by the sliding mode controller; As a lumped disturbance, it integrates all unknown disturbance terms such as reference speed acceleration, mechanical friction, and load torque changes. It is an external disturbance signal that cannot be directly measured and is also the target quantity that the subsequent extended state observer needs to estimate in real time.
[0028] In the above formula The symbol represents the corresponding physical quantity with respect to time. First-order differential operations, such as Represents speed error rate of change over time Represents rotor angular velocity Angular acceleration, all belts The differential components are all calculated in real time by differentiating the signals collected by the sensor, and are the basic operational signals for the observer and trigger judgment.
[0029] S2. The lumped disturbance is augmented into an extended state, and the system state and lumped disturbance are estimated online in the extended state observer; the extended state observer outputs the state estimate and disturbance estimate.
[0030] This step receives the error status output from step S1. , As input to the extended state observer, the lumped disturbance that cannot be directly measured in step S1 is included. Add as a third-dimensional extended state ,Right now An augmented state-space model is constructed to achieve real-time observation of disturbances; the observer outputs three types of state estimates. The first two categories involve state estimation, which is then fed to the sliding mode controller in step S4 to construct the sliding surface, followed by disturbance estimation. The signal is used as a feedforward compensation signal input to the sliding mode control law, while all estimated signals are sent to the dynamic event trigger detector in step S3 to complete the sampling and judgment.
[0031] In this embodiment of the invention, the load torque and parameter drift of the industrial motor continuously change during operation, and the time derivative of the disturbance... ,in, For aggregated disturbance Regarding time The first-order differential operation, where Abbreviated as Due to the inherent limitations imposed by mechanical and electrical hardware, there is a bounded upper limit. The observer design can be completed without needing to obtain the upper limit value precisely in advance. Construct a third-order extended state observer and output... The following are in order: Real-time estimate; The observer's adjustable gain ensures rapid convergence of estimation errors by configuring the observer's poles; this is a technical parameter that can be manually tuned.
[0032] The extended state observer is a third-order observer. The rate of change of its first state estimate is jointly determined by the first state estimation error and the second state estimate; the rate of change of the second state estimate is jointly determined by the estimation error, the third state estimate, and the control input signal; the rate of change of the third state estimate is determined solely by the estimation error, and each rate of change is equipped with an independent adjustable gain coefficient. Specifically, The complete dynamic equations of the extended state observer are as follows: in, These represent the time rates of change of the estimates for the three types of states, The speed error observation bias is used as a correction term in the extended state observer to correct the estimation results in real time. A state estimation error vector is defined. ,in This is a transpose. By combining the extended state equations of the motor speed control system with the extended state observer equations, the error dynamics can be derived as follows: in, These are system state components. These are the estimated values of the system components, where i = 1, 2, 3, representing the component labels.
[0033] in, A The complete dynamic equations of the observer are represented by the system state matrix of the observer, which is in the form of a friendly matrix. B This is the input assignment matrix that acts on the perturbation rate of change channel.
[0034] To ensure the uniform eventual boundedness of error dynamics, the following condition applies: If a positive definite matrix exists And damping coefficient Satisfying matrix inequalities Then all observation error exponents converge to a bounded small neighborhood, and the upper bound of the observation state estimation error is... The solution can be obtained by finding the eigenvalues of the matrix: in, ; Let L be the L2 norm of the corresponding vector; Let be the initial value of the Lyapunov function; T It is the transpose symbol; These are estimates of the initial values of the system state; is an estimate of the transpose of the initial state of the system; e is the natural constant; It is the upper bound of the state estimation error; It is a matrix The largest eigenvalue; It is a matrix The smallest eigenvalue; It is the upper bound of the perturbation derivative.
[0035] This provides a theoretical boundary for subsequent sliding mode control gain design. Unlike traditional observers that feed all estimated states into the sliding mode controller, this invention employs a separate hardware signal splitting technique: Transmitted to the sliding surface calculation channel, A separate feedforward compensation channel is used to avoid the coupling amplification of disturbance estimation errors and sliding surface calculations. This is a key technical approach of this invention, and not simply a matter of mathematical optimization. The key lies in utilizing the estimated values... Replace the unknown.
[0036] S3. Using the error state and the disturbance estimate as input, update the internal dynamic variables in the dynamic event trigger and determine whether the dynamic event triggering condition is met; if the triggering condition is not met, the sliding mode controller keeps the sampling signal at the last triggering moment unchanged and continues to output the control input signal based on the sampling signal; when the triggering condition is met, transmit the current sampling state and disturbance estimate information to the sliding mode controller.
[0037] This step's input includes the error status output from step 1. The disturbance estimate output in step 2 Real-time storage of the sampled signal from the last trigger moment. Calculate the trigger error And update internal dynamic variables When the dynamic trigger inequality is determined to be true, output the current sampled state. Step 4: Sliding mode controller; if not triggered, continuously output the stored state from the previous moment. This enables the transmission of non-uniformly sampled signals. Networked motor control systems have limited communication bus bandwidth; fixed-period sampling continuously transmits repetitive steady-state data, consuming bus resources. Traditional static event triggering relies solely on fixed thresholds to determine transmission, failing to adaptively adjust triggering conditions based on historical system operating states. This step adds internal dynamic variables implemented in hardware logic. By dynamically updating the trigger threshold based on historical error data, the number of signal transmissions can be significantly reduced without compromising speed control accuracy. This is a core improvement technology at the communication level.
[0038] In this embodiment of the invention, the error state and the disturbance estimation are used as inputs to update the internal dynamic variables in the dynamic event trigger, and it is determined whether the dynamic event triggering conditions are met. At the same time, the triggering threshold is adaptively adjusted.
[0039] set up For the first The event is triggered at the initial moment. Trigger error is defined as follows: This represents the difference between the current real-time state and the state transmitted to the sliding mode controller last time; To fix the basic threshold parameters, For internal dynamic variables, satisfying the differential equation: ;in, The rate of change of a dynamic variable over time; , Initialize the dynamic variables; As a preset adjustable constant, the dynamic threshold adaptive speed can be flexibly changed by adjusting two types of parameters; it can be rigorously proven that... It monotonically converges to 0 over time, and the dynamic threshold decreases synchronously with the decay of system error.
[0040] The dynamic event triggering condition is composed of a fixed basic threshold and a real-time variable internal dynamic variable. When the norm of the triggering error reaches or exceeds this combined threshold, a signal transmission operation is triggered, and the sampled state data cached at the input of the sliding mode controller is refreshed; otherwise, the current control input is maintained, and network data transmission is not initiated. Specifically, Dynamic event triggering conditions: If the inequality holds, perform the signal transmission operation and update the trigger time. Synchronously refresh the storage sampling status If the condition is not met, the sliding mode controller maintains its original input state and does not initiate network data transmission. This applies to any trigger interval. Internally, the sliding mode controller stores the state at the trigger moment throughout the entire process. Participate in calculations and control output. Maintain a constant output, matching the hardware output characteristics of the zero-order hold.
[0041] In this embodiment of the invention, the dynamic event triggering mechanism is as follows: ,in, For the k-th trigger time, For state With trigger state The error between; is a given constant.
[0042] This step, which will be discussed later, will use mathematical derivation to prove that the interval between adjacent triggering times is strictly greater than 0, thus completely avoiding the Zeno engineering problem of infinite triggering within a finite time and ensuring that the communication hardware can execute stably.
[0043] Then in any trigger interval Internally, the sliding mode controller is designed as follows: in, , For symbolic functions, The sliding mode convergence coefficient is . , are coprime odd numbers and satisfy . To control the gain, time-varying control gain Designed for , To extend the upper bound of the state observer estimation error, Parameters for adjusting the convergence rate; For the sliding mode function at the th The value at the trigger moment. Therefore, under the dynamic event triggering mechanism, the closed-loop system description of the augmented system is: in, Represents the time relationship of the first-dimensional extended state. First-order differential operations, Represents the time-paired state of the second-dimensional extended state First-order differential operations, Representing the time relationship of the third-dimensional extended state First-order differential operations.
[0044] S4. Receive the current sampling state and the disturbance estimate, derive the sliding mode control law based on the non-singular terminal sliding mode surface, and output the control input signal; the control input signal is sent back to the motor speed control system to change the motor operating state; on the other hand, it is sent to the extended state observer as the input of the extended state observer to participate in the calculation and drive the permanent magnet synchronous motor to complete the speed control work.
[0045] The input for this step is the sampled state output by the dynamic event trigger in step S3. With disturbance estimation Output control input The signal is fed back to the motor speed control system in step S1 to form a complete closed loop, and at the same time serves as the input signal for the extended state observer in step S2, realizing the full-process signal cyclic coupling.
[0046] Traditional terminal sliding surfaces suffer from singularities in their control laws, resulting in infinitely large control voltages that impact motor inverters and damage power devices. Furthermore, under static event triggering, the triggering error is coupled with the fractional power term of the sliding mode, leading to strong gain conservatism in the sliding mode controller. This invention constructs a non-singular terminal sliding surface and combines it with observer disturbance estimation in step 2 for feedforward compensation. It then incorporates the dynamic event triggering and holding characteristics in step 3 to design a piecewise control law. This addresses the dual problems of singularity and error coupling at the control algorithm level, representing a core control technology approach.
[0047] The non-singular terminal sliding surface is constructed by superimposing a linear term of the error state with a fractional power nonlinear term of the error state. The exponent of the fractional power is a rational number between 1 and 2, and the amplitude of the fractional power term is adjusted by a convergence coefficient. Specifically, the non-singular terminal sliding surface is constructed as follows: in, The sliding mode convergence coefficient is . , , are coprime odd numbers and satisfy , ; , It is a symbolic function, which eliminates the singularities of traditional terminal sliding mode and ensures that the control output is bounded. Let be the sliding mode variable, representing the dynamic convergence deviation in speed tracking. To ensure the sliding surface is reachable in a finite time, an exponential reaching law is designed. , Adjust parameters to improve convergence speed; combine with perturbation estimation in step S2. Feedforward compensation and the event-triggered output characteristic in step 3 are used to derive the final sliding mode control law: Among them, time-varying control gain Based on the upper bound of observation error Adaptive adjustment, without prior knowledge of the disturbance. The maximum boundary, unlike traditional fixed-gain sliding mode control; within the trigger interval In this formula, all state and disturbance estimates are replaced with sampled values at the trigger time. Adapt to the hardware working logic of non-uniform sampling triggered by events.
[0048] By combining the motor speed control system model, extended state observer to estimate the error boundary, event triggering error range, and sliding mode control law, a Lyapunov function is selected to conduct stability analysis. It is proved that the non-singular terminal sliding surface is reachable in finite time, the closed-loop system state convergence compact set is determined, and the closed-loop system has a uniform final bounded property.
[0049] This step, based on the simultaneous derivation of the motor model, observer error boundary, dynamic trigger error range, and sliding mode control law, verifies the closed-loop stability of the entire linkage technology architecture, provides a theoretical basis for engineering parameter tuning, and does not generate actual hardware signal output. It is the theoretical support link for the implementation of the entire control scheme.
[0050] In this embodiment of the invention, a Lyapunov function is selected. Describe the energy change of the sliding mode variable, and discuss it in two working conditions: when the sliding mode sign within the interval... With trigger time Substitute the control gain to maintain consistency. It can be deduced The sliding mode variables continue to converge, and the rotational speed error can be solved by converging to the finite time upper bound of the sliding mode surface neighborhood. When the sliding mode sign changes abruptly, it can be proved by contradiction that the system state automatically converges to the preset bounded compact set.
[0051] By combining all error boundary conditions, we can derive: Speed tracking error Error change rate They converge to fixed bounded intervals respectively. This demonstrates that, under the combined effect of extended state observer, dynamic event triggering, and non-singular terminal sliding mode, the steady-state tracking error of the motor speed is always kept within a very small range, the system has consistent eventual bounded stability characteristics, and the entire technical architecture can operate stably.
[0052] Analysis of non-singular terminal sliding surfaces Accessibility and stability of the closed-loop system.
[0053] Consider a permanent magnet synchronous motor system under the influence of an extended state observer and a dynamic event triggering mechanism. If the control gain... If the above design is satisfied, the state trajectory of the closed-loop system will be within a finite time. The inner part is driven to the sliding surface Surrounding area: in, , The symbols in the text are all interpreted as described above.
[0054] Choose the Lyapunov function as for ,calculate The derivative: when Substituting this into the control gain design, we can obtain: Further derivation yields the upper bound of the finite-time convergence time: when At that time, it can be proved by contradiction that the system state must lie in the region. Therefore, the system state trajectory is driven to the region. Inside.
[0055] Consider a permanent magnet synchronous motor speed control system under the action of a non-singular terminal sliding mode control law and a dynamic event triggering mechanism.
[0056] Since the analysis focuses on the dynamic performance within the sliding mode domain, based on the sliding mode function, consider... The situation can be demonstrated by analyzing the state change trend within the sliding mode domain. Once it exceeds the boundary , They will be driven back immediately. The interval. Therefore .Will Substituting into the sliding mode domain expression, we can obtain Therefore, the system state and It is uniformly bounded and converges to the following set: All symbols in the formula have been explained in the preceding text.
[0057] Then, based on the dynamic event-triggered differential equation and the bounded property of the system state derivative, Zeno behavior analysis is carried out to obtain the rate of change of the triggering error norm. The comparison principle is applied to prove that there is a strictly positive lower bound for the adjacent triggering interval, thus eliminating Zeno behavior and ensuring that the event triggering mechanism is engineering-feature-compatible. This step relies on the dynamic triggering differential equation and the bounded property of the system state derivative to carry out the derivation, verifying that the communication hardware will not experience a failure condition of unlimited transmissions in a finite time, ensuring that the dynamic event triggering mechanism is feasible in engineering, and belongs to the completeness verification of the communication technology solution.
[0058] In this embodiment of the invention, the trigger interval Differentiating the internal trigger error norm and combining it with the upper bound of the system state derivative, we derive the upper limit of error growth; applying the trigger determination equation... Substituting into the error upper bound inequality and taking the natural logarithm of both sides, it can be proven that the adjacent trigger intervals... , A constant is calculated for the upper bound of the state error. The function is logarithmic, and all other symbols have been explained in the preceding text. The derivation results prove that there must be a strictly greater than 0 time interval between any two signal transmissions, and there is no Zeno phenomenon that triggers infinitely within a finite time. The hardware such as the dynamic event trigger detector and the bus communication unit can stably execute the sampling and transmission logic without the risk of hardware overload or communication failure.
[0059] For dynamic event triggering schemes, excluding Zeno behavior (i.e., the accumulation of infinite triggers within a finite time) is crucial for practical implementation.
[0060] For a controlled permanent magnet synchronous motor speed control system, the trigger interval satisfy: in, If so, Zeno behavior is excluded.
[0061] for and The derivative of the error norm satisfies: By calculating the upper bound of the state derivative and applying the comparison principle, the upper bound of the error can be obtained: in, Triggering time satisfy Substituting the triggering condition into the upper bound of the error, we get: Taking the logarithm of both sides, we get: Therefore, the proposed dynamic event triggering scheme always guarantees a strictly positive minimum time interval between any two adjacent triggering moments, thus excluding Zeno behavior.
[0062] In this embodiment of the invention, the invention is further explained by providing parameters of the permanent magnet synchronous motor system. Specifically, the physical and electrical parameters of the actual permanent magnet synchronous motor speed control system described by the aforementioned equations are shown in Table 1 below: Table 1 Parameters of Permanent Magnet Synchronous Motor Non-singular sliding surface parameters: , Triggering parameters: , Initial state of the extended state observer: , Observer gain: , , Control gain: .
[0063] The simulation was conducted under the above conditions to verify the speed control capability of the motor speed regulation system.
[0064] Figure 1 , Figure 2 The simulation results of the second-order system are shown, in which Figure 1 State Trajectory , The curve of change, Figure 2 For sliding mode variables The curve showing the change. From Figure 1 It can be seen that, It converges to the equilibrium point and remains within a small neighborhood. Ultimately bounded; Figure 2 Indicates sliding mode variables The system reaches the sliding manifold in a short time and then converges to the bounded neighborhood, verifying the reachability and eventual boundedness of the proposed control scheme.
[0065] The following simulation verification of the permanent magnet synchronous motor is conducted using four control schemes, and the process is as follows: Option I does not employ any perturbation observer and uses a traditional terminal sliding mode function. The control law is: Scheme II uses the same sliding surface as Scheme I, but introduces an extended state observer to estimate the lumped disturbance. The control law is modified as follows: Scheme III does not employ a perturbation observer, but instead uses the non-singular terminal sliding surface constructed in this paper. The corresponding control law is: Scheme IV, the sliding mode control scheme proposed in this invention, has the following controller: The simulation parameters for the four control schemes are as follows: control gain coefficient The relevant parameters for the sliding surface are uniformly selected as: fractional power exponent. Sliding surface coefficient Corresponding equivalent control gain For schemes that include extended state observers, namely schemes II and IV, the initial state of the observers is set to... , The observer gain is taken as follows: , , The parameters for the dynamic event triggering mechanism are selected as follows: trigger threshold parameter. Initial values of internal dynamic variables Therefore, the final bounded state of the system can be calculated as follows: and Time-varying sliding mode gain The algorithm adaptively adjusts based on the perturbation estimation error to ensure sliding mode reachability. All four schemes use the same initial conditions and simulation duration to ensure a fair comparison.
[0066] Figure 3 The speed response comparison of four control schemes is shown, with the left inset being a magnified view of the steady-state ripple and the right inset being... A magnified view of the transient response after a step load is applied at a given time. From Figure 3 It can be seen that the schemes including the extended state observer, namely Scheme II and Scheme IV, have smaller velocity drops and faster recovery under step load; the non-singular terminal sliding mode schemes, namely Scheme III and Scheme IV, converge faster and have smaller steady-state errors than traditional sliding mode; the scheme of this invention, namely Scheme IV, combines the strong disturbance rejection capability of the extended state observer with the fast convergence performance of the non-singular sliding mode.
[0067] Figure 4 The velocity response under different initial dynamic thresholds was demonstrated. Curve. From Figure 4 It can be seen that the smaller This results in more precise tracking; within a control duration of 0.8 seconds, Triggered 635 times. Triggered 328 times. The fact that it was triggered 109 times indicates that the larger the initial dynamic threshold, the fewer the trigger events, allowing for flexible adjustment between control precision and communication frequency.
[0068] The experimental parameters are as follows: sampling period 2ms, PWM switching frequency 20kHz, inner loop current loop PI gain. , Outer loop velocity loop non-singular terminal sliding mode controller parameters , The parameters are the same as those in the simulation. A step load torque is applied during steady-state operation. .
[0069] The system was tested under the above experimental conditions to verify the actual control effect of the proposed control strategy.
[0070] To verify the real-time applicability of the proposed control strategy, experiments were conducted on the PMSM drive platform, as shown in the attached figure. Figure 5 The experimental PMSM drive platform structure diagram is shown, including components such as a computer communication network, an integrated drive control unit, a load, and a permanent magnet synchronous motor. Experimental parameters are as follows: sampling period 2ms, PWM switching frequency 20kHz, and inner loop current loop PI gain. , Outer ring speed sliding mode parameters , Step load torque Specifically, Figure 6 The rotor angular velocity under the controller proposed in this invention is demonstrated. The experimental results. From Figure 4 It can be seen that the rotor speed recovers rapidly after a brief transient deviation, which confirms the effectiveness of the proposed control scheme and the good anti-disturbance performance of the proposed controller.
[0071] Simulation and experimental results both verify the effectiveness of the dynamic event-triggered non-singular terminal sliding mode control method based on extended state observer proposed in this invention. This method can still achieve good control accuracy and anti-disturbance performance while maintaining a low communication frequency, and is suitable for networked permanent magnet synchronous motor speed control scenarios with limited communication resources.
[0072] This embodiment provides a networked PMSM event-triggered terminal sliding mode speed control system, including the following: The motor and sensor acquisition module establishes a dynamic model of a surface-mounted permanent magnet synchronous motor, defines the speed tracking error, and simplifies the higher-order dynamics of the motor to obtain a motor speed control system model. In the state equation of the motor speed control system, the error state and lumped disturbance are defined, and the motor speed and current are acquired in real time, and the system state signal is output. The error state is the state variable related to the speed tracking error; the lumped disturbance is obtained by combining different types of disturbances such as reference speed acceleration, mechanical friction, and load torque changes. The extended state observer module expands the lumped disturbance into an extended state, and performs online estimation of the system state and lumped disturbance in the extended state observer; the extended state observer outputs the state estimate and disturbance estimate; The dynamic event triggering module takes the error state and the disturbance estimate as input, determines whether the dynamic event triggering condition is met in the dynamic event trigger, updates the internal dynamic variables, and adaptively adjusts the triggering threshold. When the triggering condition is met, it transmits the current sampling state and disturbance estimate information to the sliding mode controller. When the triggering condition is not met, the sliding mode controller keeps the sampling signal at the last triggering time unchanged. The non-singular terminal sliding mode controller module receives the current sampling state and the disturbance estimate, derives the sliding mode control law based on the non-singular terminal sliding surface, and outputs a control input signal. The control input signal is sent back to the motor speed control system to change the motor operating state. On the other hand, it is sent to the extended state observer as the input of the extended state observer to participate in the calculation and drive the permanent magnet synchronous motor to complete the speed control work.
Claims
1. A networked PMSM event-triggered terminal sliding mode speed control method, characterized in that, Includes the following steps: S1. Establish a dynamic model of a surface-mounted permanent magnet synchronous motor, define the speed tracking error, and simplify the higher-order dynamics of the motor to obtain a motor speed control system model. Define the error state and lumped disturbance in the state equation of the motor speed control system, and collect the motor speed and current in real time to output the system state signal; the error state is the state variable related to the speed tracking error. S2. Augment the lumped disturbance into an extended state, and estimate the system state and lumped disturbance online in the extended state observer; The extended state observer outputs state estimates and disturbance estimates; S3. Using the error state and the disturbance estimate as input, update the internal dynamic variables in the dynamic event trigger and determine whether the dynamic event triggering condition is met; if the triggering condition is not met, the sliding mode controller keeps the sampling signal at the last triggering moment unchanged and continues to output the control input signal based on the sampling signal; when the triggering condition is met, transmit the current sampling state and disturbance estimate information to the sliding mode controller. S4. Receive the current sampling state and the disturbance estimate, derive the sliding mode control law based on the non-singular terminal sliding mode surface, and output the control input signal; the control input signal is sent back to the motor speed control system to change the motor operating state; on the other hand, it is sent to the extended state observer as the input of the extended state observer to participate in the calculation and drive the permanent magnet synchronous motor to complete the speed control work.
2. The sliding mode speed control method for a networked PMSM event-triggered terminal according to claim 1, characterized in that, The non-singular terminal sliding surface in S4 is composed of the superposition of the linear term of the error state and the fractional power nonlinear term of the error state. The exponent of the fractional power is a rational number between 1 and 2, and the amplitude of the fractional power term is adjusted by the convergence coefficient.
3. The sliding mode speed control method for a networked PMSM event-triggered terminal according to claim 1, characterized in that, The extended state observer in S2 is a third-order observer. The rate of change of its first state estimate is jointly determined by the first state estimation error and the second state estimate. The rate of change of the second state estimate is jointly determined by the estimation error, the third state estimate, and the control input signal. The rate of change of the third state estimate is determined only by the estimation error, and each rate of change is equipped with an independent adjustable gain coefficient.
4. The sliding mode speed control method for a networked PMSM event-triggered terminal according to claim 1, characterized in that, The dynamic event triggering conditions in S3 are composed of a fixed basic threshold and a changing internal dynamic variable. When the norm of the triggering error reaches or exceeds the combined threshold, the signal transmission operation is triggered and the sampled state data cached at the input of the sliding mode controller is refreshed. Otherwise, the current control input is maintained and network data transmission is not initiated.
5. The sliding mode speed control method for a networked PMSM event-triggered terminal according to claim 1, characterized in that, Updating internal dynamic variables in S3 For internal dynamic variables, satisfying the differential equation: ;in, The rate of change of a dynamic variable over time; This is a preset adjustable constant; Define the trigger error.
6. The networked PMSM event-triggered terminal sliding mode speed control method according to claim 4, characterized in that, In any trigger range Internally, the sliding mode controller uses the state stored at the trigger moment to participate in the calculation throughout the process, keeping the control input signal constant and matching the hardware output characteristics of the zero-order hold.
7. The networked PMSM event-triggered terminal sliding mode speed control method according to claim 1, characterized in that, In S2, state estimation is performed, and the state estimation error vector is defined as follows: If a positive definite matrix exists And damping coefficient Satisfying matrix inequalities , T It is the transpose symbol. A If the complete dynamic equation of the observer is represented as the system state matrix of the observer, then all observation error exponents converge to a bounded small neighborhood, and the upper bound of the observation state estimation error can be obtained by solving the matrix eigenvalues.
8. The sliding mode speed control method for a networked PMSM event-triggered terminal according to claim 1, characterized in that, The motor speed control system model in S1 is constructed based on the electrical and mechanical dynamic balance relationship of the permanent magnet synchronous motor. It includes the q-axis current dynamic equation and the speed dynamic equation. The q-axis current dynamic involves stator resistance, inductance, speed and q-axis voltage input, while the speed dynamic involves q-axis current, speed, moment of inertia and external load torque. Each parameter includes the motor fixed structure parameters and external disturbance terms.
9. A networked PMSM event-triggered terminal sliding mode speed control system, used to implement the networked PMSM event-triggered terminal sliding mode speed control method as described in claim 1, characterized in that, Includes the following: The motor and sensor acquisition module establishes a dynamic model of a surface-mounted permanent magnet synchronous motor, defines the speed tracking error, and simplifies the higher-order dynamics of the motor to obtain a motor speed control system model. In the state equation of the motor speed control system, the error state and lumped disturbance are defined, and the motor speed and current are acquired in real time, and the system state signal is output; the error state is the state variable related to the speed tracking error. The extended state observer module expands the lumped disturbance into an extended state, and performs online estimation of the system state and lumped disturbance in the extended state observer; The extended state observer outputs state estimates and disturbance estimates; The dynamic event triggering module takes the error state and the disturbance estimate as input, updates the internal dynamic variables in the dynamic event trigger, and determines whether the dynamic event triggering condition is met. If the triggering condition is not met, the sliding mode controller keeps the sampling signal at the last triggering moment unchanged and continues to output the control input signal based on the sampling signal. When the triggering condition is met, the current sampling state and disturbance estimate information are transmitted to the sliding mode controller. The non-singular terminal sliding mode controller module receives the current sampling state and the disturbance estimate, derives the sliding mode control law based on the non-singular terminal sliding surface, and outputs a control input signal. The control input signal is sent back to the motor speed control system to change the motor operating state. On the other hand, it is sent to the extended state observer as the input of the extended state observer to participate in the calculation and drive the permanent magnet synchronous motor to complete the speed control work.
10. A networked PMSM event-triggered terminal sliding mode speed control system according to claim 9, characterized in that, The non-singular terminal sliding mode controller module includes a non-singular terminal sliding mode surface calculation module, which is composed of the superposition of linear terms of the error state and fractional power nonlinear terms of the error state. The exponent of the fractional power is a rational number between 1 and 2, and the amplitude of the fractional power term is adjusted by a convergence coefficient.
