An Active Suppression Method for Synchronous Motor Load Oscillation Based on Extended State Observer
By constructing a second-order linear extended state observer to estimate generalized disturbances and generate disturbance feedforward compensation currents, the shortcomings of passive vibration suppression methods are solved, and active suppression of load oscillations of synchronous motors is achieved, reducing speed fluctuations and component stress. This method is suitable for large synchronous motors used in petrochemical and natural gas storage and transportation.
Patent Information
- Application Number
- CN202611534146.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-30
- Publication Date
- 2026-11-17
AI Technical Summary
In the existing technology, passive vibration suppression methods cannot effectively counteract pulsating disturbances, feedback regulation is slow to respond to periodic rapid disturbances, load torque is difficult to measure and back-calculation amplifies noise, and disturbance compensation amplifies pulsation due to phase lag.
An active suppression method for synchronous motor load oscillation based on an extended state observer is adopted. By constructing a second-order linear extended state observer, the generalized disturbance is estimated and a disturbance feedforward compensation current is generated to cancel the periodic pulsating disturbance in real time, thus overcoming the shortcomings of passive vibration suppression methods.
It achieves real-time estimation and active cancellation of load torque, reduces speed fluctuations and electromagnetic torque pulsation, and lowers the alternating stress on components, making it suitable for large synchronous motors in the petrochemical and natural gas storage and transportation fields.
Smart Images

Figure CN123122346A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of synchronous motor disturbance observation and feedforward compensation control technology, specifically involving active suppression technology for synchronous motor load oscillation based on an extended state observer. Background Technology
[0002] Large reciprocating compressors in industries such as petrochemicals and natural gas storage and transportation are generally driven by large synchronous motors. Due to the alternating intake, compression, and exhaust processes of the cylinders, the compressor load torque exhibits strong periodic pulsations with the crankshaft angle, with the peak-to-valley difference approaching or even exceeding the average load torque. This periodic pulsating load induces continuous electromechanical coupling oscillations in the synchronous motor shaft system, manifesting as speed fluctuations, stator current oscillations, power angle swings, and shaft torsional vibration. Alternating impact loads act on components such as magnetic pole fastening bolts, damping strips, damping rings, and couplings over long periods, easily leading to structural failures such as fatigue fracture. Traditionally, passive vibration suppression methods such as adding flywheels are used to smooth speed fluctuations by increasing the system's rotational inertia and adjusting the shaft system's natural frequency to avoid the excitation frequency band.
[0003] With the development of variable frequency speed regulation and vector control technologies, large synchronous motors are gradually adopting frequency converter power supply and implementing speed-current dual closed-loop control within a rotor field-oriented vector control framework. The speed loop generates the q-axis current command based on the speed deviation, while the current loop performs closed-loop regulation of the stator current, enabling the electromagnetic torque of the synchronous motor to actively adjust according to the operating conditions. Compared to passive methods that simply rely on increasing rotational inertia, this type of control can exert an active effect on the unit from the electromagnetic torque side.
[0004] However, passive vibration suppression methods can only smooth out but not eliminate pulsating disturbances. Furthermore, the increase in rotational inertia is constrained by starting capability, critical speed layout, and manufacturing cost, resulting in limited vibration suppression depth in scenarios with strong pulsation under varying operating conditions. Conventional speed-current dual closed-loop PI feedback regulation is a mechanism that adjusts only after a deviation occurs, exhibiting an inherent response lag to periodic rapid disturbances. It is difficult to eliminate pulsating disturbances caused by low-order dominant harmonics in real time, while increasing the speed loop bandwidth is limited by speed measurement noise and current loop bandwidth.
[0005] Furthermore, the instantaneous load torque of the crankshaft in a reciprocating compressor is difficult to measure economically and reliably online using sensors. Disturbance information can only be obtained indirectly. If the load torque is directly calculated using the rotor motion equation, numerical differentiation of the speed signal is required, which not only amplifies speed measurement noise but also heavily depends on the accuracy of the calculation of rotational inertia and electromagnetic torque. Even if a disturbance estimation stage is introduced to compensate for load disturbances, if the dynamics of the estimation stage do not match the harmonic spectrum of the load pulsation, the estimated value will have a large phase lag relative to the actual disturbance. In this case, the compensation effect may amplify the pulsation at the corresponding frequency, and there is a lack of basis for judging the effectiveness of the compensation. Summary of the Invention
[0006] To address the problems in existing technologies, such as the inability of passive vibration suppression methods to offset pulsating disturbances, the lag in feedback regulation response to periodic rapid disturbances, the difficulty in measuring load torque and the amplification of noise through inverse calculation, and the amplification of pulsation due to phase lag in disturbance compensation, this invention proposes the following solutions: A method for actively suppressing load oscillations of a synchronous motor based on an extended state observer, wherein the synchronous motor drives a reciprocating compressor, and the method is executed in the vector control system of the synchronous motor, comprising the following steps: S1. Collect the mechanical angular velocity measurement value, stator d-axis current measurement value, and stator q-axis current measurement value of the synchronous motor. Based on the stator d-axis current measurement value and the stator q-axis current measurement value, calculate the electromagnetic torque value according to the electromagnetic torque equation in the dq rotating coordinate system. S2. Construct a second-order linear extended state observer with mechanical angular velocity as the first state and generalized disturbance as the second state. The generalized disturbance is a disturbance that is uniformly expressed by the equivalent mechanical damping term and the load torque according to the total moment of inertia. The equivalent mechanical damping term is the product of the equivalent mechanical damping coefficient and the mechanical angular velocity. The total moment of inertia is the moment of inertia of the unit composed of the synchronous motor and the reciprocating compressor converted to the shaft of the synchronous motor. S3. All poles of the characteristic polynomial of the second-order linear extended state observer are arranged at the same position on the negative real axis. The modulus of the pole is the observer bandwidth. The observer bandwidth is not less than 5 times the highest significant harmonic angular frequency. The highest significant harmonic angular frequency is determined based on the dominant harmonic order obtained by Fourier decomposition of the load torque-crankshaft angle waveform of the reciprocating compressor and the operating speed of the synchronous motor. S4. Based on the measured mechanical angular velocity and the calculated electromagnetic torque, the first state and the second state are estimated online using the second-order linear extended state observer configured with the poles, to obtain the generalized disturbance estimate. S5. Based on the generalized disturbance estimate, the total moment of inertia, the equivalent mechanical damping coefficient, and the measured mechanical angular velocity, the load torque estimate is calculated. S6. Based on the estimated load torque, generate a disturbance feedforward compensation current according to the correspondence between electromagnetic torque and q-axis current. Superimpose the disturbance feedforward compensation current with the q-axis current given by the speed loop PI controller based on the given speed and the measured mechanical angular velocity to obtain a composite q-axis current given value. S7. The composite q-axis current setpoint is sent to the current loop for closed-loop regulation, and the electromagnetic torque output by the synchronous motor is regulated by the current loop.
[0007] Furthermore, in S1, the calculated value of the electromagnetic torque is:
[0008] in, For electromagnetic torque, This represents the number of pole pairs of the synchronous motor. For d-axis synchronous inductance, For q-axis synchronous inductance, This is the measured value of the stator d-axis current. This is the measured value of the stator q-axis current.
[0009] Furthermore, the synchronous motor is directly connected to the reciprocating compressor, and the crankshaft angle in the load torque-crankshaft angle waveform is consistent with the rotor position angle of the synchronous motor; the load torque-crankshaft angle waveform is obtained from the comprehensive torque calculation report of the reciprocating compressor or from on-site measurement; the dominant harmonic order is the order of the first finite number of harmonics retained after the load torque-crankshaft angle waveform is Fourier decomposed, and the retained harmonic order is the truncated order. The truncated order is determined according to the fact that the relative error between the reconstructed waveform and the load torque-crankshaft angle waveform meets the preset accuracy requirements. The reconstructed waveform is the sum of the average load torque and the harmonic torques corresponding to the first finite number of harmonics.
[0010] Furthermore, the observer bandwidth is not less than 10 times the speed loop bandwidth, and the speed loop bandwidth is the expected bandwidth used by the speed loop PI controller for bandwidth tuning.
[0011] Further, in S4, the rate of change of the first state estimate in the second-order linear extended state observer is the sum of the ratio of the generalized disturbance estimate, the calculated electromagnetic torque to the total moment of inertia, and the product of the first observer gain and the estimation deviation. The rate of change of the generalized disturbance estimate is the product of the second observer gain and the estimation deviation, where the estimation deviation is the difference between the measured mechanical angular velocity and the first state estimate. The first observer gain is twice the observer bandwidth, and the second observer gain is the square of the observer bandwidth. The generalized disturbance is the ratio of the negative of the sum of the equivalent mechanical damping term and the load torque to the total moment of inertia.
[0012] Further, in S5, the estimated load torque value is:
[0013] in, This is the estimated load torque value. Indicates torque, Represents state variables, The total moment of inertia, This is the estimate of the generalized disturbance. This is the equivalent mechanical damping coefficient. This is a measurement of the mechanical angular velocity.
[0014] Furthermore, the current loop adopts a control method where the d-axis current setpoint is zero; in S6, the disturbance feedforward compensation current is:
[0015] in, To compensate for the disturbance feedforward current. This is the estimated load torque value. Represents current. Indicates torque, This represents the number of pole pairs of the synchronous motor. For excitation flux linkage.
[0016] Based on the same inventive concept, the present invention also proposes an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the above-described method.
[0017] Based on the same inventive concept, the present invention also proposes a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the above-described method.
[0018] Based on the same inventive concept, the present invention also proposes a computer program product, including a computer program that, when executed by a processor, implements the above-described method.
[0019] Compared with the prior art, the present invention has the following beneficial effects: The generalized disturbance is estimated by a second-order linear extended state observer and the estimated load torque is recovered. The disturbance feedforward compensation current is generated according to the correspondence between electromagnetic torque and q-axis current and superimposed on the speed loop output, so that the electromagnetic torque tracks the load pulsating torque in real time, thereby actively canceling the periodic pulsating disturbance and overcoming the problem that passive vibration suppression methods cannot cancel the pulsating disturbance.
[0020] By superimposing the disturbance feedforward compensation current with the q-axis current given by the speed loop PI controller, a composite q-axis current given value is formed, so that the periodic load disturbance is directly compensated by the feedforward channel, and the steady-state speed regulation accuracy is guaranteed by the speed loop PI controller. This avoids the inherent response lag of feedback regulation to periodic rapid disturbances and suppresses speed fluctuations and shaft impact torque caused by steady-state periodic pulsations.
[0021] By converting the equivalent mechanical damping term and the load torque into a generalized disturbance based on the total moment of inertia and expanding it into a second state, and using only the measured mechanical angular velocity and the calculated electromagnetic torque as the observer input, the load torque can be obtained without a load torque sensor or numerical differentiation of the speed signal, thus avoiding speed measurement noise amplification and strong dependence on model parameters.
[0022] By placing the poles of the observer characteristic polynomial at the same location on the negative real axis and ensuring that the observer bandwidth is no less than 5 times the highest significant harmonic angular frequency determined by the dominant harmonic order and the operating speed, the dynamics of the disturbance estimation are matched with the harmonic spectrum of the load pulsation. This avoids the compensation effect from amplifying the pulsation due to phase lag and provides a clear basis for judging the effectiveness of the compensation.
[0023] This invention features the advantages of requiring no load torque sensor, being implemented simply by adding software processing to an existing vector control system, and requiring only one parameter for observer tuning. It can estimate and offset the periodic pulsating load torque of reciprocating compressors in real time, reduce speed fluctuations, electromagnetic torque pulsations and power angle swings, and alleviate the alternating stress on components such as magnetic pole fastening bolts, damping strips and damping rings. It is applicable to reciprocating compressor units in the petrochemical industry, natural gas storage and transportation compressor units, large synchronous motor direct-drive units, and active-passive coordinated vibration damping units. Attached Figure Description
[0024] The accompanying drawings, which form part of this invention, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an undue limitation of the invention. In the drawings: Figure 1 This is a flowchart of the active suppression method for synchronous motor load oscillation based on an extended state observer as described in this invention; Figure 2 This is a block diagram of the disturbance feedforward compensation control structure based on the extended state observer described in this invention. Detailed Implementation
[0025] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. It should be noted that, unless otherwise specified, the embodiments and features in the embodiments of the present invention can be combined with each other, and the described embodiments are only some embodiments of the present invention, not all embodiments.
[0026] Implementation Method 1: This implementation method proposes an active suppression method for synchronous motor load oscillation based on an extended state observer. The synchronous motor drives a reciprocating compressor, and the method is executed in the vector control system of the synchronous motor, including the following steps: S1. Collect the mechanical angular velocity measurement value, stator d-axis current measurement value, and stator q-axis current measurement value of the synchronous motor. Based on the stator d-axis current measurement value and the stator q-axis current measurement value, calculate the electromagnetic torque value according to the electromagnetic torque equation in the dq rotating coordinate system. S2. Construct a second-order linear extended state observer with mechanical angular velocity as the first state and generalized disturbance as the second state. The generalized disturbance is a disturbance that is uniformly expressed by the equivalent mechanical damping term and the load torque according to the total moment of inertia. The equivalent mechanical damping term is the product of the equivalent mechanical damping coefficient and the mechanical angular velocity. The total moment of inertia is the moment of inertia of the unit composed of the synchronous motor and the reciprocating compressor converted to the shaft of the synchronous motor. S3. All poles of the characteristic polynomial of the second-order linear extended state observer are arranged at the same position on the negative real axis. The modulus of the pole is the observer bandwidth. The observer bandwidth is not less than 5 times the highest significant harmonic angular frequency. The highest significant harmonic angular frequency is determined based on the dominant harmonic order obtained by Fourier decomposition of the load torque-crankshaft angle waveform of the reciprocating compressor and the operating speed of the synchronous motor. S4. Based on the measured mechanical angular velocity and the calculated electromagnetic torque, the first state and the second state are estimated online using the second-order linear extended state observer configured with the poles, to obtain the generalized disturbance estimate. S5. Based on the generalized disturbance estimate, the total moment of inertia, the equivalent mechanical damping coefficient, and the measured mechanical angular velocity, the load torque estimate is calculated. S6. Based on the estimated load torque, generate a disturbance feedforward compensation current according to the correspondence between electromagnetic torque and q-axis current. Superimpose the disturbance feedforward compensation current with the q-axis current given by the speed loop PI controller based on the given speed and the measured mechanical angular velocity to obtain a composite q-axis current given value. S7. The composite q-axis current setpoint is sent to the current loop for closed-loop regulation, and the electromagnetic torque output by the synchronous motor is regulated by the current loop.
[0027] Preferably, the observer bandwidth can also be verified by the frequency domain residual ratio of the perturbation estimation channel. The residual ratio is the residual ratio of the harmonic perturbation after feedforward compensation. During verification, the residual ratio at each dominant harmonic frequency is required to be less than 1, and the residual ratio at the highest significant harmonic frequency is not greater than 0.4.
[0028] Preferably, the shaft system of the synchronous motor can also be equipped with passive vibration suppression means such as a flywheel. The passive vibration suppression means shift the natural frequency of the shaft system torsional vibration out of the excitation frequency band and reduce the rotational unevenness. The residual periodic pulsation disturbance is compensated in real time by the above method, forming a combined active and passive load oscillation suppression.
[0029] Using the above method, a second-order linear extended state observer is driven by the mechanical angular velocity measurement and electromagnetic torque calculation to estimate the generalized disturbance. The estimated load torque is recovered under the observer bandwidth that matches the load harmonic spectrum, thereby offsetting the load pulsating torque in real time with the disturbance feedforward compensation current.
[0030] Furthermore, in S1, the calculated value of the electromagnetic torque is:
[0031] in, For electromagnetic torque, This represents the number of pole pairs of the synchronous motor. For d-axis synchronous inductance, For q-axis synchronous inductance, This is the measured value of the stator d-axis current. This is the measured value of the stator q-axis current.
[0032] By simultaneously incorporating the product term formed by the difference in synchronous inductance between the two shafts and the product term formed by excitation flux linkage into the electromagnetic torque calculation value, the electromagnetic torque calculation value can simultaneously reflect the effects of the difference in inductance between the two shafts and the excitation flux linkage, thereby providing accurate input for the observer and reducing disturbance estimation error.
[0033] Furthermore, the synchronous motor is directly connected to the reciprocating compressor, and the crankshaft angle in the load torque-crankshaft angle waveform is consistent with the rotor position angle of the synchronous motor; the load torque-crankshaft angle waveform is obtained from the comprehensive torque calculation report of the reciprocating compressor or from on-site measurement; the dominant harmonic order is the order of the first finite number of harmonics retained after the load torque-crankshaft angle waveform is Fourier decomposed, and the retained harmonic order is the truncated order. The truncated order is determined according to the fact that the relative error between the reconstructed waveform and the load torque-crankshaft angle waveform meets the preset accuracy requirements. The reconstructed waveform is the sum of the average load torque and the harmonic torques corresponding to the first finite number of harmonics.
[0034] The dominant harmonic order is determined by Fourier decomposition and relative error truncation of the waveform from the comprehensive torque calculation or on-site measured waveform, and the crankshaft angle is made consistent with the rotor position angle so that the highest significant harmonic angular frequency matches the actual load spectrum of the unit, thus providing a basis for determining the lower limit of the observer bandwidth.
[0035] Furthermore, the observer bandwidth is not less than 10 times the speed loop bandwidth, and the speed loop bandwidth is the expected bandwidth used by the speed loop PI controller for bandwidth tuning.
[0036] Preferably, when determining the bandwidth of the observer, the constraints of the control system sampling frequency and the speed measurement noise amplification effect can also be taken into account.
[0037] By ensuring that the observer bandwidth is not less than 10 times the speed loop bandwidth, the disturbance estimation dynamics are made faster than the speed regulation dynamics, and the two are separated in the frequency band, thereby avoiding dynamic coupling between the disturbance estimation channel and the speed loop, and ensuring that feedforward compensation and feedback regulation work together.
[0038] Further, in S4, the rate of change of the first state estimate in the second-order linear extended state observer is the sum of the ratio of the generalized disturbance estimate, the calculated electromagnetic torque to the total moment of inertia, and the product of the first observer gain and the estimation deviation. The rate of change of the generalized disturbance estimate is the product of the second observer gain and the estimation deviation, where the estimation deviation is the difference between the measured mechanical angular velocity and the first state estimate. The first observer gain is twice the observer bandwidth, and the second observer gain is the square of the observer bandwidth. The generalized disturbance is the ratio of the negative of the sum of the equivalent mechanical damping term and the load torque to the total moment of inertia.
[0039] By correcting the two state estimates with two gains of twice the observer bandwidth and the square of the estimation bias, the poles of the observer characteristic polynomial are all located on the negative real axis. Tuning requires only one parameter, thus obtaining the generalized disturbance estimate without differentiating the speed signal.
[0040] Further, in S5, the estimated load torque value is:
[0041] in, This is the estimated load torque value. Indicates torque, Represents state variables, The total moment of inertia, This is the estimate of the generalized disturbance. This is the equivalent mechanical damping coefficient. This is a measurement of the mechanical angular velocity.
[0042] By subtracting the product of the equivalent mechanical damping coefficient and the measured mechanical angular velocity from the product of the total moment of inertia and the generalized disturbance estimate, the equivalent mechanical damping term is separated from the load torque, thereby obtaining a load torque estimate that can be directly used for feedforward compensation.
[0043] Furthermore, the current loop adopts a control method where the d-axis current setpoint is zero; in S6, the disturbance feedforward compensation current is:
[0044] in, To compensate for the disturbance feedforward current. This is the estimated load torque value. Represents current. Indicates torque, This represents the number of pole pairs of the synchronous motor. For excitation flux linkage.
[0045] Preferably, the current loop can also use PI regulation for the d-axis current and q-axis current respectively, and introduce cross-decoupling feedforward compensation to eliminate dq-axis cross-coupling. The bandwidth of the current loop can be much higher than that of the speed loop.
[0046] By adopting a control method with a zero d-axis current setpoint, the electromagnetic torque is generated entirely by the q-axis current. A definite conversion relationship is formed between the estimated load torque and the disturbance feedforward compensation current, so that the superimposed disturbance feedforward compensation current is directly converted into electromagnetic torque to offset the load pulsating torque.
[0047] The method described in this embodiment can be executed by a processor calling a computer program, which can be stored in a computer storage medium. When the computer program is executed by the processor, the above-described active suppression method for synchronous motor load oscillation based on an extended state observer can be implemented.
[0048] Implementation Method Two: This implementation method uses a large synchronous motor directly driven reciprocating compressor unit powered by a frequency converter and employing a rotor field-oriented vector control framework as a specific example, combined with... Figure 1 and Figure 2 The first implementation method will be further explained below.
[0049] like Figure 1 As shown, the method described in this embodiment is executed in the following order: acquiring and calculating electromagnetic torque, constructing a second-order linear extended state observer, configuring poles and observer bandwidth, estimating generalized disturbances online, recovering the estimated load torque value, generating a composite q-axis current setpoint, and adjusting the current loop in closed loop. The acquisition, estimation, recovery, compensation, and adjustment stages are executed online in a preset control cycle in the digital controller of the vector control system.
[0050] In S1, a rotating coordinate system dq oriented by the rotor magnetic field is used for modeling. The d-axis coincides with the rotor magnetic pole axis, and the q-axis leads the d-axis by 90° electrical angle. Magnetic circuit saturation, core losses, and spatial harmonics are ignored. The excitation system maintains a basically constant excitation flux linkage. The stator voltage equation of the synchronous motor is:
[0051] in, , These are the stator d-axis voltage and the stator q-axis voltage, respectively. , These are the stator d-axis current and the stator q-axis current, respectively. For stator resistance, , These are the d-axis synchronous inductor and the q-axis synchronous inductor, respectively. Electric angular velocity, For excitation flux, , These are the time derivatives of the stator d-axis current and the stator q-axis current, respectively.
[0052] The relationship between electric angular velocity and mechanical angular velocity is as follows:
[0053] in, Electric angular velocity, This represents the number of pole pairs of the synchronous motor. This refers to the mechanical angular velocity.
[0054] Within each control cycle, the mechanical angular velocity measurement value of the synchronous motor, as well as the stator d-axis current measurement value and stator q-axis current measurement value are collected. The electromagnetic torque is calculated in real time from the current measurement values according to the electromagnetic torque equation in the dq rotating coordinate system. The electromagnetic torque equation is as follows:
[0055] in, For electromagnetic torque, This represents the number of pole pairs of the synchronous motor. , These are the d-axis synchronous inductor and the q-axis synchronous inductor, respectively. , These are the measured values of the stator d-axis current and the stator q-axis current, respectively. The result calculated from this equation is the calculated value of the electromagnetic torque. .
[0056] In S2, the load torque is difficult to measure directly, but its dynamic information can be reflected through the response of speed and current. The rotor motion equation of the synchronous motor is:
[0057] in, This refers to the total moment of inertia of the unit consisting of a synchronous motor and a reciprocating compressor, referred to the synchronous motor shaft. For mechanical angular velocity, For electromagnetic torque, For load torque, This is the equivalent mechanical damping coefficient. It represents angular velocity.
[0058] The rotational speed subsystem is extracted from the rotor motion equations. The equivalent mechanical damping term and the load torque are converted into a generalized disturbance by adjusting for the total moment of inertia. The rotational speed subsystem is expressed as follows:
[0059] in, Let be the derivative of the mechanical angular velocity with respect to time. Indicates angular velocity, For mechanical angular velocity, The total moment of inertia, For electromagnetic torque, This refers to a generalized disturbance.
[0060] The generalized disturbance is:
[0061] in, For generalized disturbances, This is the equivalent mechanical damping coefficient. The total moment of inertia, For mechanical angular velocity, This represents the load torque.
[0062] If the generalized disturbance is calculated directly based on the rotational speed subsystem, numerical differentiation of the rotational speed signal is required. This not only amplifies the speed measurement noise but also becomes highly dependent on the accuracy of the calculation of the total moment of inertia and electromagnetic torque. Therefore, the generalized disturbance is extended to the system states, with the mechanical angular velocity as the first state and the generalized disturbance as the second state, resulting in a second-order extended system:
[0063] in, As the first state, let be the mechanical angular velocity. Represents the state variables of the extended system. This represents a generalized disturbance. For the second state, we take it as a generalized perturbation. , are the derivatives of the first and second states with respect to time, respectively. Let be the derivative of the generalized perturbation with respect to time. The total moment of inertia, It is electromagnetic torque.
[0064] The second-order linear extended state observer is constructed under the condition that the generalized perturbation rate of change is bounded. The bounded condition is:
[0065] in, Let be the derivative of the generalized perturbation with respect to time. It is the upper bound of the generalized rate of change of the disturbance and is a positive constant. This indicates taking the absolute value.
[0066] In S3, a bandwidth parameterization method is used to place the poles of the characteristic polynomial of the second-order linear extended state observer at the same position on the negative real axis, and the modulus of the poles is the observer bandwidth. Observer bandwidth For a positive real number, the observer gain of the second-order linear extended state observer is taken as:
[0067] in, For the first observer gain, For the second observer gain, This is the observer bandwidth. Therefore, the observer tuning only requires one parameter: the observer bandwidth.
[0068] The observer bandwidth is tuned based on the harmonic spectrum of the reciprocating compressor load. The load torque of the reciprocating compressor is expressed as the sum of the average load torque and the finite-order harmonic torque that varies periodically with the crankshaft angle. This is obtained by Fourier decomposition of the load torque-crankshaft angle waveform and taking the first... The reconstructed load torque obtained from the first dominant harmonic reconstruction is:
[0069] in, To reconstruct the load torque, The average load torque, For the first The amplitude of the first harmonic. For the first Phase of the first harmonic, For harmonic orders, For crankshaft rotation angle, To truncate the order, Indicates to from to Summation, This represents the cosine function.
[0070] The load torque-crankshaft angle waveform is obtained from the comprehensive torque calculation report of the reciprocating compressor or from on-site measurements. In direct-drive units, the crankshaft angle coincides with the rotor position angle of the synchronous motor. Cutoff order. The accuracy is determined based on the relative error between the reconstructed waveform and the load torque-crankshaft angle waveform meeting the preset accuracy requirements. The energy of the load torque is generally concentrated in the low-order harmonics. The dominant harmonic order is related to the unit cylinder configuration and load level. Under low-load conditions, the proportion of high-order harmonics usually increases, and the disturbance spectrum is broadened accordingly, which places higher demands on the observer bandwidth.
[0071] The transfer function of the perturbation estimation channel is obtained from the second-order extended system and the second-order linear extended state observer:
[0072] in, Let be the channel transfer function for perturbation estimation, which takes generalized perturbation as input and outputs the generalized perturbation estimate. Represents the transfer function. Represents state variables, This represents a generalized disturbance. The Laplace transform of the generalized perturbation estimate. For the Laplace transform of the generalized perturbation, For the Laplace operator, This represents the observer bandwidth.
[0073] Frequency is The residual ratio of the harmonic disturbance after feedforward compensation is:
[0074] in, For residual ratio, Represents the residual ratio function. This represents the channel transfer function for perturbation estimation. The angular frequency of the harmonic disturbance. To estimate the channel transfer function under the Laplace operator for perturbation estimation Frequency response at time The imaginary unit, For the observer bandwidth, Indicates modulo, Represents the arithmetic square root.
[0075] The residual ratio characterizes the frequency-domain tracking capability of the disturbance estimation channel for periodic disturbances, representing the theoretical upper limit of feedforward compensation at different disturbance frequencies. When the observer bandwidth is lower than the disturbance angular frequency, the residual ratio is greater than 1, and feedforward compensation will amplify the pulsation at that frequency due to phase lag. Therefore, the observer bandwidth should be no less than 5 times the highest significant harmonic angular frequency, which is determined jointly by the dominant harmonic order obtained from the Fourier decomposition of the load torque-crankshaft angle waveform and the operating speed of the synchronous motor. When the observer bandwidth is 5 times the highest significant harmonic angular frequency, the residual ratio at that frequency is no greater than 0.4, and the dominant harmonic disturbance can be effectively compensated. Optionally, the observer bandwidth can be no less than 10 times the speed loop bandwidth, so that the disturbance estimation dynamic is faster than the speed regulation dynamic. When determining the observer bandwidth, the constraints of the control system sampling frequency and the speed measurement noise amplification effect can also be taken into account. The residual ratio is used for verification so that the residual ratio at each dominant harmonic frequency is less than 1 and the residual ratio at the highest significant harmonic frequency is no greater than 0.4.
[0076] In S4, the measured mechanical angular velocity and calculated electromagnetic torque are used as inputs. A second-order linear extended state observer with poles configured is employed to estimate the first and second states online. The second-order linear extended state observer is as follows:
[0077] in, This is the estimate of the first state. Represents state variables, Indicates torque, This is the estimate of the generalized disturbance. , These are the derivatives of the first-state estimate and the generalized perturbation estimate with respect to time, respectively. This is the calculated value of the electromagnetic torque. This is a measurement of the mechanical angular velocity. The total moment of inertia, For the first observer gain, For the second observer gain, To estimate the deviation.
[0078] According to active disturbance rejection control theory, under the condition that the rate of change of the generalized disturbance is bounded, the estimation error of the second-order linear extended state observer with bandwidth parameterization eventually becomes uniformly bounded. The steady-state upper bounds of the estimation errors of the mechanical angular velocity and the generalized disturbance are respectively:
[0079] in, The estimation error of the mechanical angular velocity, The estimation error of the generalized disturbance, i.e. , These are the mechanical angular velocity estimation error and the generalized disturbance estimation error, respectively. For time, This is the upper bound of the generalized rate of change of the disturbance. For the observer bandwidth, This indicates that the limit is taken as time approaches infinity. This indicates taking the absolute value.
[0080] The above steady-state upper bound indicates that the upper bound of the estimation error is directly proportional to the upper bound of the generalized perturbation rate of change and inversely proportional to the observer bandwidth. Appropriately increasing the observer bandwidth can reduce the perturbation estimation error.
[0081] In S5, based on the definition of generalized disturbance, the estimated value of the generalized disturbance is obtained, and then the estimated value of the load torque is recovered:
[0082] in, This is the estimated load torque value. Indicates torque, Represents state variables, The total moment of inertia, This is the estimate of the generalized disturbance. This is the equivalent mechanical damping coefficient. This is a measurement of the mechanical angular velocity.
[0083] The load torque estimate is obtained by converting the generalized disturbance into the total moment of inertia and calculating the electromagnetic torque from the current measurement. It has strong robustness to model parameter perturbations, and the vibration suppression performance is basically unaffected when the model parameters change within the engineering range.
[0084] In S6, the speed loop uses a PI controller to generate the q-axis current feed based on the deviation between the given speed and the measured mechanical angular velocity.
[0085] in, The q-axis current is given by the output of the speed loop PI controller. Represents current. This indicates the speed loop control parameters. This is the proportional parameter for the speed ring. For the integral parameters of the speed loop, For a given rotational speed, This is a measurement of the mechanical angular velocity. For time, For integration variables, Indicates from to Integrating over the integral variable, This represents a differential operator.
[0086] The current loop employs a control method where the d-axis current setpoint is zero, and the electromagnetic torque is entirely generated by the q-axis current. Based on this, and according to the estimated load torque, a disturbance feedforward compensation current is generated according to the correspondence between the electromagnetic torque and the q-axis current.
[0087] in, To compensate for the disturbance feedforward current. This is the estimated load torque value. Represents current. Indicates torque, This represents the number of pole pairs of the synchronous motor. For excitation flux linkage.
[0088] The disturbance feedforward compensation current is superimposed with the q-axis current setpoint output by the speed loop PI controller to obtain the composite q-axis current setpoint.
[0089] The speed loop PI controller ensures steady-state speed regulation performance and low-frequency disturbance suppression capability. The feedforward compensation channel where the disturbance feedforward compensation current is located enables rapid compensation for periodic disturbances in the load. The two work together to achieve active vibration suppression.
[0090] In S7, the composite q-axis current setpoint is fed into the current loop for closed-loop regulation. Optionally, the current loop can use PI regulation for the d-axis and q-axis currents separately, and introduce cross-decoupling feedforward compensation to eliminate dq-axis cross-coupling. The voltage setpoint output from the current loop can be applied to the synchronous motor via a space vector pulse width modulation inverter, or other power converters capable of achieving the same function can be used. This regulates the electromagnetic torque output by the synchronous motor, enabling the electromagnetic torque to track and cancel load pulsating torque in real time. The speed loop and current loop can be configured with PI parameters using the bandwidth method according to their respective desired bandwidths. The current loop bandwidth is much higher than the speed loop bandwidth, giving the inner current loop and outer speed loop good frequency band separation characteristics. Each desired bandwidth is determined according to the unit's dynamic response requirements. Under the condition that both the observer estimation error and the current tracking error are bounded, based on the input-state stability theory, a Lyapunov function containing the speed tracking error and the integral state is constructed and differentiated along the closed-loop trajectory. When the speed controller gain satisfies the corresponding stability condition, the speed tracking error eventually converges to a bounded neighborhood related to the disturbance estimation error and the current tracking error, and the closed-loop system is stable. The reduction in speed fluctuation and electromagnetic torque pulsation reduces the power angle oscillation and alternating impact load of the synchronous motor, alleviates the alternating stress on components such as magnetic pole fastening bolts, damping bars and damping rings, and improves the fatigue life and long-term operational reliability of the rotor shaft system.
[0091] In implementing the method described in this embodiment, only an extended state observer module and a disturbance feedforward compensation module need to be added to the software of the existing vector control system; no new hardware equipment is required. Optionally, the method described in this embodiment can also be used in conjunction with passive vibration suppression methods such as flywheel inertia matching. Passive vibration suppression methods shift the natural frequency of shaft torsional vibration out of the excitation frequency band and reduce rotational non-uniformity. The method described in this embodiment compensates for residual periodic pulsating disturbances in real time, forming a load oscillation suppression system that combines active and passive vibration suppression.
[0092] The specific embodiments of the present invention disclosed above are merely illustrative of the invention. These embodiments do not exhaustively describe all details, nor do they limit the invention to the specific embodiments described. Many modifications and variations can be made based on the content of this specification. This specification selects and specifically describes these embodiments to better explain the principles and practical applications of the invention, thereby enabling those skilled in the art to better understand and utilize the invention.
Claims
1. A method for actively suppressing load oscillations of a synchronous motor based on an extended state observer, wherein the synchronous motor drives a reciprocating compressor, characterized in that, The method is executed in the vector control system of the synchronous motor, and includes the following steps: S1. Collect the mechanical angular velocity measurement value, stator d-axis current measurement value, and stator q-axis current measurement value of the synchronous motor. Based on the stator d-axis current measurement value and the stator q-axis current measurement value, calculate the electromagnetic torque value according to the electromagnetic torque equation in the dq rotating coordinate system. S2. Construct a second-order linear extended state observer with mechanical angular velocity as the first state and generalized disturbance as the second state. The generalized disturbance is a disturbance that is uniformly expressed by the equivalent mechanical damping term and the load torque according to the total moment of inertia. The equivalent mechanical damping term is the product of the equivalent mechanical damping coefficient and the mechanical angular velocity. The total moment of inertia is the moment of inertia of the unit composed of the synchronous motor and the reciprocating compressor converted to the shaft of the synchronous motor. S3. All poles of the characteristic polynomial of the second-order linear extended state observer are arranged at the same position on the negative real axis. The modulus of the pole is the observer bandwidth. The observer bandwidth is not less than 5 times the highest significant harmonic angular frequency. The highest significant harmonic angular frequency is determined based on the dominant harmonic order obtained by Fourier decomposition of the load torque-crankshaft angle waveform of the reciprocating compressor and the operating speed of the synchronous motor. S4. Based on the measured mechanical angular velocity and the calculated electromagnetic torque, the first state and the second state are estimated online using the second-order linear extended state observer configured with the poles, to obtain the generalized disturbance estimate. S5. Based on the generalized disturbance estimate, the total moment of inertia, the equivalent mechanical damping coefficient, and the measured mechanical angular velocity, the load torque estimate is calculated. S6. Based on the estimated load torque, generate a disturbance feedforward compensation current according to the correspondence between electromagnetic torque and q-axis current. Superimpose the disturbance feedforward compensation current with the q-axis current given by the speed loop PI controller based on the given speed and the measured mechanical angular velocity to obtain a composite q-axis current given value. S7. The composite q-axis current setpoint is sent to the current loop for closed-loop regulation, and the electromagnetic torque output by the synchronous motor is regulated by the current loop.
2. The method according to claim 1, characterized in that, In S1, the calculated value of the electromagnetic torque is: in, For electromagnetic torque, This represents the number of pole pairs of the synchronous motor. For d-axis synchronous inductance, For q-axis synchronous inductance, This is the measured value of the stator d-axis current. This is the measured value of the stator q-axis current.
3. The method according to claim 1, characterized in that, The synchronous motor is directly connected to the reciprocating compressor, and the crankshaft angle in the load torque-crankshaft angle waveform is consistent with the rotor position angle of the synchronous motor. The load torque-crankshaft angle waveform is obtained from the comprehensive torque calculation report of the reciprocating compressor or from on-site measurement. The dominant harmonic order is the order of the first finite number of harmonics retained after Fourier decomposition of the load torque-crankshaft angle waveform. The retained harmonic order is the truncated order, which is determined according to the fact that the relative error between the reconstructed waveform and the load torque-crankshaft angle waveform meets the preset accuracy requirements. The reconstructed waveform is the sum of the average load torque and the harmonic torques corresponding to the first finite number of harmonics.
4. The method according to claim 1, characterized in that, The observer bandwidth is not less than 10 times the speed loop bandwidth, and the speed loop bandwidth is the expected bandwidth used by the speed loop PI controller for bandwidth tuning.
5. The method according to claim 1, characterized in that, In S4, the rate of change of the first state estimate in the second-order linear extended state observer is the sum of the ratio of the generalized disturbance estimate, the calculated electromagnetic torque, and the total moment of inertia, and the product of the first observer gain and the estimation deviation. The rate of change of the generalized disturbance estimate is the product of the second observer gain and the estimation deviation, where the estimation deviation is the difference between the measured mechanical angular velocity and the first state estimate. The first observer gain is twice the observer bandwidth, and the second observer gain is the square of the observer bandwidth. The generalized disturbance is the ratio of the negative of the sum of the equivalent mechanical damping term and the load torque to the total moment of inertia.
6. The method according to claim 5, characterized in that, In S5, the estimated load torque value is: in, This is the estimated load torque value. Indicates torque, Represents state variables, The total moment of inertia, This is the estimate of the generalized disturbance. This is the equivalent mechanical damping coefficient. This is a measurement of the mechanical angular velocity.
7. The method according to claim 1, characterized in that, The current loop adopts a control method with a zero d-axis current setpoint; in S6, the disturbance feedforward compensation current is: in, To compensate for the disturbance feedforward current. This is the estimated load torque value. Represents current. Indicates torque, This represents the number of pole pairs of the synchronous motor. For excitation flux linkage.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the method of any one of claims 1 to 7.
9. A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method of any one of claims 1 to 7.
10. A computer program product comprising a computer program that, when executed by a processor, implements the method of any one of claims 1 to 7.
