An integral sliding mode control system for permanent magnet synchronous motor

By adopting an integral sliding mode control system in mining traction motors, combined with automatic feedback gain adjustment of the sliding mode speed controller and load torque observer, the motor vibration problems caused by large load torque changes and wide speed regulation range are solved. Improves observation response speed and control accuracy, achieving more stable motor operation.

CN114844405BActive Publication Date: 2024-12-20SHANXI TIANDI COAL MINING MACHINERY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210291754.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-04
Publication Date
2024-12-20
Estimated Expiration
2040-09-04

AI Technical Summary

Technical Problem

When the load torque changes of the mine traction motors are large and the speed regulation range is wide, the vector control method of permanent magnet synchronous motors based on PI controllers is insufficient, and the sliding mode control method is in the case of load disturbance or internal parameters perturbation. It will cause motor speed to vibrate.

Method used

Adopt integral sliding mode control system, including sliding mode speed controller, load torque observer, q-axis current controller, d-axis current controller, Clarke conversion module, Park conversion module, Park inverse conversion module, SVPWM module and three-phase The inverter uses the integrated sliding mode control method of the sliding mode speed controller and the feedback gain of the load torque observer to automatically adjust, which improves the load torque observation response speed and reduces the torque observation volatility.

Benefits of technology

It effectively weakens the system vibration, improves the accuracy of load torque observation and the speed and accuracy of motor speed control, reduces load torque observation errors, and improves the robustness and immunity of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114844405B_ABST
    Figure CN114844405B_ABST
Patent Text Reader

Abstract

The invention discloses an integral sliding mode control system of a permanent magnet synchronous motor. A load torque observer adjusts a feedback gain according to a change of a load torque given value output by a sliding mode speed controller, observes the load torque according to a rotor angular velocity and a current, obtains a load torque observation value and sends it to a sliding mode speed controller. When the load torque observation value has not changed significantly, but a given sub-item part in the load torque given value changes due to a change in a rotor angular velocity given value or / and a change in an actual value of the rotor angular velocity, or a given sub-item part in the load torque given value changes due to a change in a system model parameter, which will cause a large fluctuation in the load torque observation value, the feedback gain can be adjusted in advance. When the load torque observation value actually generates an observation error, the response speed of the observer is accelerated, the observation error of the load torque observation value is quickly reduced, and the rapidity and accuracy of the motor speed control are further improved.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This invention patent application is a divisional application. The original application number is 202010918598.8. The application date is September 4, 2020. The name of the invention is "Drive Control Method for Mining Traction Permanent Magnet Synchronous Motor". Technical Field

[0002] The present invention relates to the technical field of permanent magnet synchronous motors, and more specifically, to an integral sliding mode control system of a permanent magnet synchronous motor. Background Art

[0003] Permanent magnet synchronous motors have the advantages of high efficiency, high torque, and good speed performance, and are widely used in manufacturing, electric vehicles, industrial production, etc. The working environment of mining traction motors is complex and changeable, the load torque varies greatly, the speed regulation range is wide, and it is required to be able to start with high torque. The robustness of the permanent magnet synchronous motor vector control method based on the PI controller is not as good as the sliding mode control method, but the sliding mode control method will cause obvious jitter in the motor speed when load disturbances or internal parameter perturbations occur. Summary of the invention

[0004] The purpose of the present invention is to provide a permanent magnet synchronous motor integral sliding mode control system for improving the load torque observation response speed and reducing the torque observation volatility in view of the situation where the load torque changes greatly and the speed regulation range is wide, including a sliding mode speed controller, a load torque observer, a q-axis current controller, a d-axis current controller, a Clarke transformation module, a position and speed detection module, a Park transformation module, a Park inverse transformation module, an SVPWM module and a three-phase inverter.

[0005] The sliding mode speed controller adopts an integral sliding mode control method; the load torque observer adjusts the feedback gain according to the change of the load torque given value output by the sliding mode speed controller, and adjusts the feedback gain according to the rotor angular velocity ω and the current i q Observe the load torque and obtain the load torque observation value Load torque observation value output by the load torque observer is sent to the sliding mode speed controller.

[0006] Define the state variables of the sliding mode speed controller as

[0007]

[0008] Where ω is the rotor angular velocity, ω * is the given rotor angular velocity; the sliding surface of the sliding mode speed controller is s y =c y y1+y2, where c y is the sliding surface parameter, and c y> 0. Load torque given value output by sliding mode speed controller and q-axis torque current given value for

[0009]

[0010] Where J is the moment of inertia, p is the number of motor pole pairs, ψ f is the permanent magnet flux, B is the friction coefficient; coefficient μ1, coefficient μ2, coefficient μ3, coefficient μ4 are the exponential approach rate coefficients of speed sliding mode control, and μ1>0, μ2>0, μ4>0, 0<μ3<1.

[0011] The load torque observer is

[0012]

[0013] in, k W is the proportional gain of the load torque observer and requires k w <0; is the estimated value of the rotor angular velocity, g is the feedback gain of the load torque observer and g<0.

[0014] The load torque observer is based on the load torque given value output by the sliding mode speed controller. The method to adjust the feedback gain g is:

[0015] Step 1: Calculation

[0016] Step 2: Judgement Is it greater than ε2? When it is greater than ε2, the feedback gain g is equal to g min And proceed to step ㈤; when ΔT is less than or equal to ε2, proceed to step ㈢;

[0017] Step 3: Judgement Is it less than ε1? When it is less than ε1, the feedback gain g is equal to g max And go to step 5; when When it is greater than or equal to ε1, go to step (IV);

[0018] Step (IV): Feedback gain g is calculated according to

[0019]

[0020] After the calculation, proceed to step 5;

[0021] Step 5: The load torque observer observes the load torque according to the value of the feedback gain g to obtain the load torque observation value. The sliding mode speed controller performs control calculations to obtain the load torque given value

[0022] Among them, ε1 is the torque change lower limit comparison threshold, ε2 is the torque change upper limit comparison threshold, and 0<ε1<ε2; g max is the high value of feedback gain, g min is the low value of feedback gain, and g min <g max <0.

[0023] Select g min , g max , ε1, ε2 values ​​are:

[0024] Step 1), the load torque observer and the sliding mode speed controller are both in steady state and keep the given rotor angular velocity and load torque constant;

[0025] Step 2), let the feedback gain g gradually decrease from a larger value, for example, let the feedback gain g gradually decrease from -0.01. When the steady-state error of the load torque observation reaches the steady-state error limit of the load torque observation, determine the feedback gain g value at this time as g max ;

[0026] Step 3), keep the given rotor angular velocity and load torque constant and set the feedback gain g equal to g max , and repeat this process n times The value is measured and n times Maximum m in the measurement The average value of the measured values ​​is used as the torque change comparison threshold ε;

[0027] Step 4), fine-tuning the feedback gain g, when the load torque observer and the sliding mode speed controller are both in steady state, keeping the given rotor angular velocity unchanged and making the load torque suddenly change, under the premise of ensuring that the torque observation tracking overshoot of the load torque observer output observation value is within the torque observation tracking overshoot limit, measuring the tracking adjustment time of the load torque observer;

[0028] Step 5), repeat step 4), select the feedback gain g with the shortest tracking adjustment time as g min value;

[0029] Step 6), again keep the given rotor angular velocity constant and the load torque constant and set the feedback gain .g equal to g min , and repeat this process n times The value is measured, and the maximum m values ​​among the n measurements are The average value of the sum of the values ​​is used as the torque change upper limit comparison threshold ε2.

[0030] The n is an integer greater than or equal to 20, and m is an integer greater than or equal to 5 and less than or equal to 0.5n.

[0031] Proportional gain k W according to

[0032]

[0033] Make a selection; among them, T N is the rated torque of the motor, β>0; further, it is required that 1≤β≤20.

[0034] The beneficial effect of the present invention is that the output item of the sliding mode speed controller includes the compensation sub-item load torque observation value, which is equivalent to feeding the load torque observation value forward to the given value of the current regulator. Without the need for a large adjustment of the given current part of the sliding mode speed controller output, it can offset the relevant influence caused by the load disturbance or the change of system parameters, and effectively weaken the system jitter. The algorithm that automatically adjusts the feedback gain according to the change of the load torque given value avoids the problem that the load torque observer selects a fixed small feedback gain to cause large torque observation fluctuations and selects a fixed large feedback gain to cause a long convergence time. When the control parameters, model parameters, etc. of the system change or the load is disturbed, resulting in a change in the given sub-item part of the load torque given value or / and a change in the load torque observation value part, the observation error of the load torque can be quickly reduced, and the observation effect and the rapidity and accuracy of the motor speed control are improved. The feedback gain is automatically adjusted when the load torque given value changes. When the load torque observation value has not changed significantly, but the given sub-item part of the load torque given value changes due to the change of the rotor angular velocity given value and / or the change of the actual value of the rotor angular velocity, or the given sub-item part of the load torque given value changes due to the change of the system model parameters, which will cause the load torque observation value to fluctuate greatly, the feedback gain can be adjusted in advance. When the load torque observation value actually produces an observation error, the response speed of the observer is accelerated, the observation error of the load torque observation value is quickly reduced, and the speed and accuracy of the motor speed control are further improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 This is a block diagram of a permanent magnet synchronous motor speed control system embodiment 1;

[0036] Figure 2 This is a flow chart of Embodiment 1 of the feedback gain automatic adjustment method;

[0037] Figure 3 This is a block diagram of a permanent magnet synchronous motor speed control system embodiment 2;

[0038] Figure 4 This is a flow chart of Example 2 of the feedback gain automatic adjustment method. DETAILED DESCRIPTION

[0039] The present invention is further described in detail below in conjunction with the accompanying drawings and embodiments.

[0040] Figure 1 It is a block diagram of Example 1 of a permanent magnet synchronous motor speed control system. Figure 1 In the Clarke transformation module, the three-phase current i of the permanent magnet synchronous motor (PMSM) is input a 、i b and i c , output the current i in the two-phase stationary α-β axis coordinate system α 、i β ; The position sensor in the position and speed detection module detects the rotor position θ of the permanent magnet synchronous motor and converts it into the rotor angular velocity ω output; the Park conversion module inputs the current i α 、i β and the rotor position θ, the output current i in the rotating dq axis coordinate system d 、i q ;Sliding mode speed controller SMC input rotor given angular velocity ω * and rotor angular velocity ω, output load torque given value T L * and torque current given component i′ q ; Load torque observer inputs load torque given value T L * , rotor angular velocity ω and current i q , output torque current compensation component i″ q ; Torque current given component i′ q and torque current compensation component i″ q After adding, it is used as the q-axis torque current given value i* q ; q-axis current PI controller input q-axis torque current given value i* q and current i d , output control voltage U in q-axis coordinate system q ; d-axis current PI controller input q-axis torque current given value i* d and current i d , output control voltage U in d-axis coordinate system d , d-axis torque current given value i* d =0; the control voltage U in the dq axis coordinate system is input to the Park inverse transformation module d , U q , output the control voltage U in the α-β axis coordinate system α , U β SVPWM module (i.e. space vector pulse width modulation module) input control voltage Uα , U β , output pulse signal to the three-phase inverter, the three-phase inverter converts the DC voltage U dc Convert to three-phase AC power supply U a , U b , U c , thereby driving the permanent magnet synchronous motor to operate.

[0041] Ignoring the influence of core eddy current and hysteresis loss, the i d =0, the PMSM rotor magnetic field oriented control is established, and the mathematical model of PMSM in the dq axis rotating coordinate system is established. The voltage equation is:

[0042]

[0043] For the use of i d =0 control mode of salient pole PMSM vector control system, the electromagnetic torque equation is:

[0044]

[0045] The PMSM motion equation is:

[0046]

[0047] In formula (1), (2), and (3), u d 、u q are the voltages of the dq axes respectively; i d 、i q are the currents of d and q axes respectively; L d , L q are the inductance of d and q axes respectively; T e is the electromagnetic torque; T L is the load torque; R is the stator resistance; p is the number of motor poles; ω e is the rotor electrical angular velocity, i.e. angular frequency; ω is the rotor angular velocity, i.e. the motor rotor mechanical angular velocity; ψ f is the permanent magnet flux; J is the moment of inertia; B is the friction coefficient; t is time.

[0048] Let the motor's rotor angular velocity error e = ω * -ω,ω * is the given rotor angular velocity of the motor. The state variables of the permanent magnet synchronous motor speed control system embodiment 1 are defined as:

[0049]

[0050] From equations (2), (3) and (4), we can get:

[0051]

[0052] Simplify equation (5) and let D = 1.5pψ f / J,u=i q , the state space equation of the system in Example 1 can be obtained as follows:

[0053]

[0054] Select the sliding surface function as:

[0055] s=cx1+x2 (7)

[0056] In formula (7), s is the sliding surface, c is the sliding surface parameter, and c>0. In formula (7), c is the coefficient of the rotor angular velocity error term. Its influence on the control effect is similar to the proportional coefficient in PID control. The value of c also takes into account the balance of the rotor angular velocity error and the rotor angular velocity error change rate. Usually, it is selected within the range of greater than 0 and less than 1000. For example, c=60. Derivative of formula (7) yields:

[0057]

[0058] The expression of the traditional exponential reaching law is:

[0059]

[0060] In formula (9), sgn() is a sign function, -k1sgn(s) is a constant speed approach term, -k2s is an exponential approach term, and the two coefficients k1 and k2 respectively determine the chattering and the motion quality of the approach process of the sliding surface, and k1 and k2 are both greater than 0. In order to improve the response speed of the system, the constant speed approach term is changed to a variable speed approach term based on the traditional exponential approach rate, and the improved approach law is:

[0061]

[0062] Among them, k1>0, k2>0, 1<k3<2, k4>0. When |s| is large, The variable speed approaching term has a larger approaching speed, which can accelerate the sliding mode approaching motion speed; when |s| is smaller, The speed approaching term has a low approaching speed, which can reduce vibration. The value of k4 can be selected by referring to the rotor angular velocity change rate of the permanent magnet synchronous motor when it is started at rated load, and selected near the rotor angular velocity change rate. Further, the value can be selected within the range of 80% to 120% of the rotor angular velocity change rate; for example, assuming that the time taken for a permanent magnet synchronous motor to start at rated load to a rated speed of 1500r / min is 0.21s, and the average rotor angular velocity change rate is 750rad / s 2, it is recommended that k4 be in the range of 600 to 900. The larger the k3, the greater the speed change, and k3 is generally in the range of 1.05 to 1.3. Generally, the values ​​of coefficients k1 and k2 are both less than 2000; the larger the coefficient k2, the faster the system state can approach the sliding mode; the coefficient k1 determines the speed of reaching the switching surface, and the smaller the k1, the smaller the distance and jitter of crossing the switching surface. k1 and k2 are the speed change approach term coefficient and the exponential approach term coefficient, respectively. The value of changes around 1, therefore, the speed approach term coefficient k1 and the exponential approach term coefficient k2 in formula (10) can be adjusted according to the method of adjusting the medium speed approach term coefficient and the exponential approach term coefficient in the traditional exponential approach rate. k3 is the speed coefficient, and its size changes the speed of speed change; k4 is the migration coefficient, and its size changes the critical point of speed change.

[0063] Combining equations (8) and (10), the calculated q-axis given current is used as the torque current given component i′ q , we can get the load torque given value T output by the sliding mode speed controller L * and torque current given component i′ q for:

[0064]

[0065] Permanent magnet synchronous motor speed control system embodiment 1 The output of the sliding mode speed controller contains an integral term, which filters the control quantity, can weaken the system chattering and reduce the steady-state error of the system. The Lyapunov function is defined as:

[0066]

[0067] From formula (10) and formula (12), we can get:

[0068]

[0069] In formula (13), k1>0, k2>0, s·sgn(s)≥0, Therefore It shows that the system tracking error can converge to zero in a finite time and the system can operate stably.

[0070] The method of setting parameters c, k1, k2, k3, k4 when designing a sliding mode speed controller is to first determine the values ​​of k3 and k4; let the q-axis torque current given value i * q Only includes the input torque current given component i' q(that is, no load torque compensation control is performed), and then the sliding mode surface parameter c and the speed approach term coefficient k1 are adjusted from small to large in the sliding mode of the system until obvious jittering occurs in the system. On this basis, taking into account both the suppression of jittering and the system state convergence speed, the values ​​of the sliding mode surface parameter c and the speed approach term coefficient k1 are appropriately reduced; finally, while taking into account the suppression of sliding mode jittering, the value of the exponential approach term coefficient k2 is adjusted mainly based on the rapidity of the system arrival segment (for example, the motor start-up stage of the step response), and other parameter values ​​of the sliding mode speed controller are appropriately fine-tuned.

[0071] According to the PMSM electromagnetic torque and motion equation, for a constant step load, it can be considered as a constant value within the change cycle, that is, The motor rotor angular velocity and load torque are used as state variables to form the PMSM state equation:

[0072]

[0073] Based on formula (14), taking load torque and motor rotor angular velocity as observation objects, load torque observer embodiment 1 is established as:

[0074]

[0075] In formula (15), is the observed value of the load torque, is the estimated value of the rotor angular velocity, g is the feedback gain of the load torque observer, k g is the sliding mode gain of the load torque observer embodiment 1, and the load torque observer embodiment 1 is a sliding mode observer. Compared with the load torque, the motor friction accounts for a small proportion, so let B = 0, ignoring the influence of friction, then the load torque observer embodiment 1 of formula (15) becomes:

[0076]

[0077] According to (14) and (16) when B=0, the error equation of the load torque observer embodiment 1 is obtained as follows:

[0078]

[0079] In formula (17), is the rotor angular velocity estimation error, is the load torque observation error, and the observer sliding surface is defined as According to the sliding mode reachability condition, the stability condition of the observer system in equation (16) is k g ≤-|e2 / J|, and g<0.

[0080] Based on formula (14), with load torque and motor rotor angular velocity as observation objects, load torque observer embodiment 2 can also be established as:

[0081]

[0082] Compared with the load torque, the motor friction accounts for a small proportion. Let B = 0 and ignore the influence of friction. Then the load torque observer embodiment 2 of equation (18) becomes:

[0083]

[0084] In formula (18) and (19), is the observed value of the load torque, is the estimated value of the rotor angular velocity, g is the feedback gain of the load torque observer, k W is the proportional gain of the load torque observer embodiment 2, and the load torque observer embodiment 2 is a state observer. According to equation (14) and equation (19) when B=0, the error equation of the load torque observer embodiment 2 is obtained as follows:

[0085]

[0086] In formula (20), is the rotor angular velocity estimation error, is the load torque observation error. The state observer of equation (19) is an autonomous linear system. W <0, and g<0, the observer is asymptotically stable. Equation (15) of the load torque observer embodiment 1 and equation (18) of the load torque observer embodiment 2 both take into account the friction factor of the motor. The addition of small friction damping will have an adverse effect on the rapidity of the system response, but can increase the stability based on equations (16) and (19), respectively.

[0087] When the observer embodiment 1 of equations (15) and (16) is selected, the sliding mode gain k g The setting method is to follow

[0088]

[0089] In formula (21), α≥1; generally, the value of α is selected in the range of 1 to 5, for example, α is selected to be equal to 1.5. Load torque observer embodiment 1 In the process of observing the load torque, k g The absolute value of |e2| is too small. When |e2| is large, the observer cannot enter the sliding mode state. B The absolute value of is large enough to ensure that the observer enters the sliding mode state, but the steady-state observation fluctuation of the load torque becomes larger; k gThe value of changes with the load torque observation error, which can simultaneously increase the stability of the observer and reduce the steady-state observation fluctuation of the load torque.

[0090] When the observer embodiment 2 of equations (18) and (19) is selected, the proportional gain k W The setting method is to follow

[0091]

[0092] In formula (22), T N is the rated torque of the motor, β>0; generally, the β value is selected in the range of 1 to 20, for example, β=10. When β is selected to increase, the steady-state fluctuation of the load torque observation becomes larger, but the torque observation tracking overshoot becomes smaller; when β is selected to decrease, the steady-state fluctuation of the load torque observation becomes smaller, but the torque observation tracking overshoot becomes larger.

[0093] In the observers represented by equations (15), (16) or equations (18), (19), the value of the feedback gain g has a great influence on the load torque observation result. The larger the feedback gain g, the smaller the observed torque fluctuation, but the slower the observed torque identification speed; the smaller the feedback gain g, the faster the observed torque speed, but the greater the observed torque fluctuation. In consideration of this problem, in the traditional load torque observer, the observation speed and fluctuation of the load torque are comprehensively considered, and the feedback gain g is taken as a compromise value, but this will abandon the advantages of small fluctuation when the feedback gain is large and fast observation speed when the feedback gain is small.

[0094] The motor sliding mode speed control mainly suppresses the influence of parameter changes and external load disturbances on the system by increasing the amplitude of the discontinuous term in the controller, but the increase in amplitude will cause the inherent jitter of the sliding mode. In order to solve the contradiction between the jitter and anti-disturbance of the sliding mode control system, the observer is used to observe the load disturbance changes in real time, and the load torque observation value is feed-forward compensated to the current regulator to reduce the amplitude of the discontinuous term in the sliding mode control, weaken the given torque change caused by parameter changes, or the system jitter caused by load disturbances. In order to make full use of the advantages of the feedback gain g at high and low values, according to the load torque observation value and the load torque given value change at two adjacent moments, when the load torque given value changes little and the load torque observation value changes little, a larger feedback gain g is given to make the observation result less volatile and more stable; when the load torque given value changes greatly or the load torque observation value changes greatly, a smaller feedback gain g is given to speed up the observation speed. Finally, by adjusting the feedback gain g, a comprehensive result of fast observation speed, small fluctuation and stronger stability is obtained.

[0095] Load torque observer embodiment 1, or load torque observer embodiment 2 is used for Figure 1In the permanent magnet synchronous motor speed control system embodiment 1, the load torque observer is based on the load torque given value and load torque observation The feedback gain g is adjusted according to the change of the rotor angular velocity ω and the current i q Observe the load torque and obtain a new load torque observation value

[0096] Figure 2 The flow chart of the feedback gain automatic adjustment method embodiment 1 is used in the load torque observer embodiment 1 or the load torque observer embodiment 2. Figure 1 In the permanent magnet synchronous motor speed control system embodiment 1, the feedback gain is automatically adjusted. In a periodic control process of the motor speed, Figure 2 The feedback gain g shown in (b) is adjusted later than the load torque observation and the output calculation of the sliding mode speed controller, and is:

[0097] Step ①: The load torque observer calculates the load torque T according to the value of the existing feedback gain g. L Observe and obtain the load torque observation value The sliding mode speed controller performs control calculation to obtain the load torque given value At this time for for Until the next feedback gain g adjustment, the becomes becomes

[0098] Step 2: Calculation

[0099] Step 3: Determine whether ΔT is greater than ε2; ​​when ΔT is greater than ε2, set the feedback gain g equal to g min And exit; when ΔT is less than or equal to ε2, enter step ④;

[0100] Step ④: Determine whether ΔT is less than ε1; when ΔT is less than ε1, set the feedback gain g equal to g max And exit; when ΔT is greater than or equal to ε1, enter step ⑤;

[0101] Step ⑤: Feedback gain g is calculated according to

[0102]

[0103] Perform calculations.

[0104] Among them, ε1 is the torque change lower limit comparison threshold, ε2 is the torque change upper limit comparison threshold, and 0<ε1<ε2; g max is the high value of feedback gain, g min is the low value of feedback gain, and g min <g max <0.

[0105] In the process of periodic control of motor speed, Figure 2 The feedback gain g shown in (a) is adjusted before the load torque observation and the output calculation of the sliding mode speed controller. The feedback gain g adjustment method changes the above step ① into step ⑤, steps ②-⑤ into steps ①-④, and the exit in each step is changed to enter step ⑤, and

[0106] Figure 2 The sum of the changes in the load torque given value and the load torque observed value in the last two times ΔT L * is the difference between the two most recent load torque given values, is the difference between the two most recent load torque observations. When ΔT is greater than ε2, it indicates that the load torque observation fluctuates greatly, or the load torque setting value changes greatly due to changes in system model parameters, rotor angular velocity set values, and actual rotor angular velocity values, which will cause the load torque observation value to fluctuate greatly. The feedback gain g is selected to be equal to g min Rapid identification and observation of load torque; when ΔT is less than ε1, it indicates that the load torque set value changes little and the state load torque observation value fluctuates little, and the feedback gain g is selected to be equal to g max Load torque identification and observation with stability as the main focus are performed; when ΔT is greater than or equal to ε1 and less than or equal to ε2, the feedback gain g is calculated according to formula (23), so that the feedback gain g decreases with the increase of ΔT in this interval, avoiding the adverse effect on the working stability of the torque observer caused by the drastic change of the feedback gain g due to a small change of ΔT. Figure 2 The specific values ​​of ε1 and ε2 are related to the sampling control period (cycle time) of the sliding mode speed controller, the permanent magnet synchronous motor and its load conditions. ε2 is generally within the range of less than 5% of the rated torque. For example, if the rated torque is 22N·m, ε1=0.1N·m and ε2=0.6N·m. The value of the feedback gain g satisfies g min <g max <0, generally, g min ≥-5000. g minThe value should be selected so that when the load torque changes suddenly, the torque observation tracking overshoot of the load torque observer is within the torque observation tracking overshoot limit; g max The value should be selected when the load torque is constant, the load torque observer and the sliding mode speed controller are both in steady state, and the sum of the change of the load torque given value and the change of the load torque observation value in the last two times ΔT is less than ε1; for example, select the feedback gain g max =-0.5, g min =-10. Select g min , g max The specific method of , ε1, ε2 values ​​is:

[0107] Step (1), the load torque observer and the sliding mode speed controller are both in steady state and keep the given rotor angular velocity and load torque constant;

[0108] Step (2), let the feedback gain g gradually decrease from a larger value, for example, let the feedback gain g gradually decrease from -0.01. When the steady-state error of the load torque observation reaches the steady-state error limit of the load torque observation, the feedback gain g value at this time is determined to be g max ;

[0109] Step (3), keep the given rotor angular velocity and load torque constant and set the feedback gain g equal to g max , continuously measure the ΔT value n times, and take the average value of the sum of the maximum m ΔT values ​​in the n measurements as the torque change lower limit comparison threshold ε1;

[0110] Step (4), fine-tuning the feedback gain g, when the load torque observer and the sliding mode speed controller are both in a steady state, keeping the given rotor angular velocity unchanged and making the load torque suddenly change, and measuring the tracking adjustment time of the load torque observer under the premise of ensuring that the torque observation tracking overshoot of the load torque observer output observation value is within the torque observation tracking overshoot limit;

[0111] Step (5), repeat step (4) and select the feedback gain g with the shortest tracking adjustment time as g min value; usually, when the torque observation tracking overshoot is close to the torque observation tracking overshoot limit, the tracking adjustment time of the load torque observer is short;

[0112] Step (6), again keep the given rotor angular velocity and load torque constant and set the feedback gain g equal to g min , continuously measure the ΔT value n times, and take the average value of the sum of the maximum m ΔT values ​​in the n measurements as the torque change upper limit comparison threshold ε2.

[0113] Observe the load torque observation value Then, the observed value of the load torque Converted into torque current compensation component i″ q Feedforward compensation to the input of the q-axis current PI controller, the torque current given component i′ output by the sliding mode speed controller q The q-axis torque current given value i of the q-axis current PI controller is * q for:

[0114]

[0115] In formula (24), k q =1 / (1.5pψ f ) is the torque observation compensation coefficient. Comparing formula (11) with formula (24), it can be obtained that when the load is disturbed or the system parameters change, the load torque compensation is not added in formula (11), and it is necessary to select larger k1 and k2 values ​​to provide a sufficiently large given current change to offset the relevant influence of the load disturbance or the change of system parameters, so as to ensure that the motor speed can be quickly constant; while formula (24) feeds forward the load torque observation value to the current regulator, and can provide a sufficiently large given current change to offset the relevant influence of the load disturbance or the change of system parameters when the load is disturbed or the system parameters change without the need for larger k1 and k2 values, thereby reducing the output pressure of the sliding mode speed controller and the amplitude of the discontinuous term, and effectively weakening the system jitter.

[0116] When the feedback gain value is fixed, the smaller the feedback gain g, the larger the oscillation amplitude of the load torque observation and the stronger the volatility; the larger the feedback gain g, the smaller the oscillation amplitude of the load torque observation and the higher the observation accuracy. The automatic gain adjustment algorithm solves the problem of large torque observation fluctuation caused by small feedback gain in the load torque observer and the problem of long convergence time of large feedback gain. The convergence time and fluctuation amplitude indicators are better than the compromise gain algorithm. It can quickly track the change value of the load torque and quickly reduce the observation error caused by the given change or parameter change. It has a small oscillation amplitude and high observation accuracy, achieving a good observation effect.

[0117] When the given speed is changed under the rated load torque, although the actual load torque does not change, it can be seen from the load torque observer constructed by equations (15), (16) or (18), (19) that when the rotor angular velocity ω changes, even if the load torque does not change, the observed torque observation value will change, resulting in observation error. When the given speed is changed under the rated load torque, the control and adjustment process of the sliding mode control system of the permanent magnet synchronous motor is that the sliding mode speed controller first changes the output load torque given value T according to the given speed. L * Change the torque current given value i* q changes, thus making the electromagnetic torque T of the permanent magnet synchronous motor e The feedback gain g is only based on the change of the load torque observation value. Automatic adjustment is performed. At this time, only when the rotor angular velocity ω changes, the load torque observation value After the change occurs, the feedback gain g is adjusted; the feedback gain g is adjusted according to the change ΔT of the load torque given value. L * and the change in the observed value of load torque The absolute value of the load torque is automatically adjusted when the given speed changes. L * Change, load torque observation value If the load torque has not changed, adjust the feedback gain g in advance. When an observation error actually occurs, the observer response speed can be accelerated to eliminate (reduce) the load torque observation value as quickly as possible. The observation error is reduced, thereby improving the rapidity and accuracy of motor speed control. Similarly, when the system model parameters change, the load torque given value T L * Prior to load torque observation When the load torque is changed, the feedback gain g is also based on the change in the load torque given value ΔT L * and the change in the observed value of load torque Automatic adjustment can be performed to adjust the feedback gain g in advance, speed up the observer response speed, and eliminate (reduce) the load torque observation value as soon as possible The observation error can be reduced and the speed control of the motor can be further improved. Of course, if the load is disturbed and the observation value is When changes occur, When a major change occurs, Figure 2 It can be seen that the feedback gain g can also be automatically adjusted to eliminate (reduce) the load torque observation value as quickly as possible. The observation error makes the load torque observation value Keep up with the load torque T as soon as possible L changes.

[0118] In the periodic control process of the permanent magnet synchronous motor speed control system embodiment 1, the load torque given value T calculated at the kth time (or the kth step) is L * T L * (k), load torque observation value Recorded as The k-1 moment is the moment of the periodic control process before the k moment, and the load torque given value T L * T L * (k-1), load torque observation value Recorded as The k-2 moment is the moment of the periodic control process before the k-1 moment, and the load torque given value T L * T L * (k-2), load torque observation value Recorded as Figure 2 (b) in the figure firstly observes the load torque and controls the speed, and then automatically adjusts the feedback gain. At this time, the periodic control process of the motor speed is as follows:

[0119] Step 1: Detect the rotor position θ, rotor angular velocity ω and three-phase current i of the permanent magnet synchronous motor a 、i b and i c ;

[0120] Step 2: Based on the three-phase current i a 、i b and i c Clark transformation is performed on the permanent magnet synchronous motor to obtain the current i in the α-β axis coordinate system: α 、i β , according to the current i α 、i β Perform Park transformation on the rotor position θ to obtain the current i in the dq axis coordinate system d 、i q ;

[0121] Step 3: Load torque observer is based on rotor angular velocity ω and current i q Observe the load torque and obtain the load torque observation value and torque current compensation component i″ q ;

[0122] Step 4: The sliding mode speed controller is based on the input rotor given angular velocity ω * And the rotor angular velocity ω is used for control calculation to obtain the load torque given value and torque current given component i′ q ;

[0123] Step 5: The feedback gain g of the load torque observer is based on the load torque given value T L *and load torque observation to adjust for changes in

[0124] Step 6: Given component i' based on torque current q and torque current compensation component i″ q Calculate the q-axis torque current given value i q * ; The d-axis current controller is based on the d-axis torque current given value i d * and the current i in the d-axis coordinate system d The difference between them is used for PI control operation to obtain the control voltage U in the d-axis coordinate system d ; The q-axis current controller is based on the q-axis torque current given value i q * and the current i in the q-axis coordinate system q The difference between them is used for PI control operation to obtain the control voltage U in the q-axis coordinate system q ; Based on the control voltage U in the dq axis coordinate system d , U q Perform Park inverse transformation to obtain the control voltage U in the α-β axis coordinate system α , U β ; d-axis torque current given value i d * is equal to 0;

[0125] Step 7: Set the control voltage U in the α-β axis coordinate system α , U β As the input of the SVPWM module, the SVPWM module controls the three-phase inverter to generate a three-phase AC power supply U a , U b , U c , thereby driving the permanent magnet synchronous motor to operate.

[0126] Figure 2 (a) in the figure first performs automatic adjustment of feedback gain, and then performs load torque observation and speed control. In the above steps, the order of step 5 and steps 3 and 4 should be interchanged, that is, step 5 should be performed first, and then steps 3 and 4.

[0127] Figure 3 It is a block diagram of Example 2 of a permanent magnet synchronous motor speed control system, specifically a permanent magnet synchronous motor integral sliding mode control system. Figure 3 Example 2 and Figure 1 The difference of Example 1 is that the sliding mode speed controller adopts an integral sliding mode control method, and the observation value of the load torque observer Sent to the sliding mode speed controller, the q-axis given current (torque current given component) output by the sliding mode speed controller already includes the load torque observation value Therefore, the q-axis given current (torque current given component) output by the sliding mode speed controller in Example 2 is directly used as the q-axis torque current given value, which can also play the role of load torque compensation; the load torque given value T output by the sliding mode speed controller L Δ The load torque observation value is also included in The load torque observer directly calculates the load torque given value T L Δ The feedback gain is automatically adjusted based on the change in the load torque given value and the change in the load torque observed value, which has the same effect as the feedback gain automatically adjusted based on the sum ΔT of the change in the load torque given value and the change in the load torque observed value in the aforementioned embodiment 1 of the automatic feedback gain adjustment method;

[0128] The state variables of the permanent magnet synchronous motor speed control system embodiment 2 are defined as:

[0129]

[0130] Select the sliding surface function as:

[0131] s y =c y y1+y2 (26)

[0132] In formula (26), c y is the sliding surface parameter, and c y >0. In formula (26), c y is the coefficient of the integral term of the rotor angular velocity error. Its influence on the control effect is similar to the proportional coefficient in PID control. y The value of also takes into account the balance of the rotor angular velocity error integral term and the rotor angular velocity error term. Usually, c y Select in the range greater than 0 and less than 100. Derivative of formula (26) yields:

[0133]

[0134] On the basis of the traditional exponential reaching law, a new reaching law is adopted:

[0135]

[0136] μ1, μ2, μ3, and μ4 are the exponential approach rate coefficients of the speed sliding mode control, where μ1>0, μ2>0, 0<μ3<1, and μ4>0. y | When it is larger, The variable speed approaching term has a larger approaching speed, which can speed up the approaching motion speed of the sliding mode; when |s y |When it is smaller, The speed approaching term has a low approaching speed, which can reduce jitter. The value of μ4 can refer to the allowable steady-state error of the rotor angular velocity when the permanent magnet synchronous motor is running stably. The value of μ4 is not greater than the inverse value of the allowable steady-state error. Further, it is within the range of 50% to 100% of the inverse value. For example, assuming that the allowable steady-state error of the permanent magnet synchronous motor rotor angular velocity is 5 rad / s (radians / second), it is recommended that μ4 be no greater than 0.2. Further, μ4 is within the range of 0.1 to 0.2. μ3 is generally taken around 0.5. Further, μ3 is generally taken within the range of 0.4 to 0.6. Generally, the values ​​of coefficient μ1 and coefficient μ2 are both less than 5000. μ1 and μ2 are the speed approaching term coefficient and the exponential approaching term coefficient, respectively. The value of changes around 1, therefore, the speed approach term coefficient μ1 and the exponential approach term coefficient μ2 in formula (28) can be adjusted according to the method of adjusting the medium speed approach term coefficient and the exponential approach term coefficient in the traditional exponential approach rate. μ3 is the migration coefficient, whose size changes the speed critical point; μ4 is the speed coefficient, whose size changes the speed of speed change. e in formula (28) is the natural exponent, that is, the base of the natural logarithm.

[0137] Combining equations (2), (3) and (27), we get:

[0138]

[0139] Combining equations (28) and (29), the calculated q-axis given current is directly used as the q-axis torque current given value i Δ q , the q-axis torque current given value i output by the controller can be obtained Δ q and load torque given value T L Δ for:

[0140]

[0141] In formula (30), the load torque value T L Use the output value of the load torque observer Instead, define the Lyapunov function as:

[0142]

[0143] From equation (26) and equation (28), we can get:

[0144]

[0145] In formula (32), μ1>0, μ2>0, s y ·sgn(s y )≥0, so It shows that the tracking error of the observer can converge to zero in a finite time and the system can operate stably.

[0146] When designing a sliding mode speed controller, the tuning parameter c y , μ1, μ2, μ3, and μ4 are determined by first determining the values ​​of μ3 and μ4; then the output value of the load torque observer in equation (30) is (i.e., no load torque compensation control is performed), and then the sliding surface parameter c is adjusted from small to large in the sliding mode of the system. y , the value of the speed approach term coefficient μ1, until the system shows obvious chattering. On this basis, taking into account both the suppression of chattering and the convergence speed of the system state, the sliding surface parameter c is appropriately reduced. y and the value of the speed approach term coefficient μ1; finally, while taking into account the suppression of sliding mode chattering, the value of the exponential approach term coefficient μ2 is adjusted mainly according to the rapidity of the system arrival segment (for example, the motor startup phase of the step response), and other parameter values ​​of the sliding mode speed controller are appropriately fine-tuned.

[0147] Figure 3 The load torque observer in the permanent magnet synchronous motor speed control system embodiment 2 still adopts the aforementioned load torque observer embodiment 1, or adopts the aforementioned load torque observer embodiment 2; at this time, the load torque observer is based on the load torque given value output by the sliding mode speed controller The feedback gain g is adjusted according to the change of the rotor angular velocity ω and the current i q Load torque T L Observe and obtain the load torque observation value

[0148] Figure 4 The flow chart of the feedback gain automatic adjustment method embodiment 2 is shown in the load torque observer embodiment 1 or the load torque observer embodiment 2. Figure 3 In the permanent magnet synchronous motor speed control system embodiment 2, the feedback gain is automatically adjusted. Figure 4 In the equation, ε1 is the torque change lower limit comparison threshold, ε2 is the torque change upper limit comparison threshold, and 0<ε1<ε2; g max is the high value of feedback gain, g min is the low value of feedback gain, and g min <g max <0;ΔT L Δ is the difference between the last two load torque given values. In a periodic control process of the motor speed, Figure 4 The feedback gain g shown in (a) is adjusted prior to the load torque observation and the output calculation of the sliding mode speed controller. The specific method is:

[0149] Step 1: Calculation

[0150] Step 2: Judgement Is it greater than ε2? When it is greater than ε2, the feedback gain g is equal to g min And proceed to step ㈤; when ΔT is less than or equal to ε2, proceed to step ㈢;

[0151] Step 3: Judgment Is it less than ε1? When it is less than ε1, the feedback gain g is equal to g max And go to step 5; when When it is greater than or equal to ε1, go to step (IV);

[0152] Step (IV): Feedback gain g is calculated according to

[0153]

[0154] After the calculation, proceed to step 5;

[0155] Step 5: Load torque observer measures load torque T L Observe and obtain the load torque observation value The sliding mode speed controller performs control calculation to obtain At this time for During the next periodic control of the motor speed,

[0156] In the process of periodic control of motor speed, Figure 4 The feedback gain g shown in (b) is adjusted later than the load torque observation and the output calculation of the sliding mode speed controller. The specific method is:

[0157] Step A: Load torque observer measures load torque T L Observe and obtain the load torque observation value The sliding mode speed controller performs control calculation to obtain At this time for During the next periodic control of the motor speed,

[0158] Step B: Calculation

[0159] Step C: Judgment Is it greater than ε2? When it is greater than ε2, the feedback gain g is equal to g min And exit; when ΔT is less than or equal to ε2, enter step D;

[0160] Step D: Judgment Is it less than ε1? When it is less than ε1, the feedback gain g is equal to g max and exit; when When it is greater than or equal to ε1, go to step E;

[0161] Step E: Calculate the feedback gain g according to formula (33) and then exit.

[0162] T L Δ The output items include the given sub-items that are in a changing state due to changes in system parameters, changes in the rotor angular velocity given value, or changes in the actual value of the rotor angular velocity. Also includes the compensation sub-item load torque observation value When |ΔT L Δ When | is greater than ε2, it indicates that the load torque observation value fluctuates greatly, or the system model parameters change, the rotor angular velocity set value change, and the rotor angular velocity actual value change, which makes T L Δ The given sub-item in the equation changes greatly and will cause the load torque observation value to fluctuate greatly. The feedback gain g is selected to be equal to g min Rapid identification and observation of load torque; when |ΔT L Δ When | is less than ε1, it indicates that the load torque observation value fluctuates little and the factors that will cause the load torque observation value to fluctuate greatly (i.e., T L Δ The given sub-item in the formula (g) changes little, and the feedback gain g is selected to be equal to g max Carry out load torque identification and observation mainly based on stability; when |ΔT L Δ When | is greater than or equal to ε1 and less than or equal to ε2, the feedback gain g is calculated according to formula (33), so that the feedback gain g increases with |ΔT in this interval. L Δ | decreases with the increase of |ΔT L Δ |A small change in the feedback gain g will cause a drastic change, which will have an adverse effect on the working stability of the torque observer. Figure 4The specific values ​​of ε1 and ε2 are related to the sampling control period (cycle time) of the sliding mode speed controller, the permanent magnet synchronous motor and its load conditions. ε2 is generally within the range of less than 5% of the rated torque. For example, if the rated torque is 22N·m, ε1=0.1N·m and ε2=0.6N·m. The value of the feedback gain g satisfies g min <g max <0, generally, g min ≥-5000. g min The value should be selected so that when the load torque changes suddenly, the torque observation tracking overshoot of the load torque observer output observation value is within the torque observation tracking overshoot limit; g max The value should be the difference between the last two load torque given values ​​|ΔT when the load torque remains unchanged and the load torque observer and sliding mode speed controller are both in steady state. L Δ | is less than ε1; for example, the feedback gain g is selected max =-0.5, g min =-10.

[0163] Select g min , g max The specific method of , ε1, ε2 values ​​is:

[0164] Step 1), the load torque observer and the sliding mode speed controller are both in steady state and keep the given rotor angular velocity and load torque constant;

[0165] Step 2), let the feedback gain g gradually decrease from a larger value, for example, let the feedback gain g gradually decrease from -0.01. When the steady-state error of the load torque observation reaches the steady-state error limit of the load torque observation, determine the feedback gain g value at this time as g max ;

[0166] Step 3), keep the given rotor angular velocity and load torque constant and set the feedback gain g equal to g max , and repeat this process n times The value is measured and n times Maximum m in the measurement The average value of the measured values ​​is used as the torque change comparison threshold ε;

[0167] Step 4), fine-tuning the feedback gain g, when the load torque observer and the sliding mode speed controller are both in steady state, keeping the given rotor angular velocity unchanged and making the load torque suddenly change, under the premise of ensuring that the torque observation tracking overshoot of the load torque observer output observation value is within the torque observation tracking overshoot limit, measuring the tracking adjustment time of the load torque observer;

[0168] Step 5), repeat step 4), select the feedback gain g with the shortest tracking adjustment time as g min value; usually, when the torque observation tracking overshoot is close to the torque observation tracking overshoot limit, the tracking adjustment time of the load torque observer is short;

[0169] Step 6), again keep the given rotor angular velocity and load torque constant and set the feedback gain g equal to g min , and repeat this process n times The value is measured, and the maximum m values ​​among the n measurements are The average value of the sum of the values ​​is used as the torque change upper limit comparison threshold ε2.

[0170] In each of the above, select g min , g max In the specific method of adjusting the value and comparing the threshold values ​​ε1 and ε2, the parameters in the sliding mode speed controller have been adjusted and are implemented under the condition of load torque compensation control; it is recommended that n is an integer greater than or equal to 20, and m is an integer greater than or equal to 5 and less than or equal to 0.5n.

[0171] The output term of the sliding mode speed controller in formula (30) includes the compensation sub-item load torque observation value This is equivalent to feeding the load torque observation value forward to the given value of the current regulator in equation (24). Without the need for a large adjustment of the given current part of the sliding mode speed controller output, it can offset the related effects caused by load disturbances or changes in system parameters, effectively weakening the system jitter. The feedback gain g is based on the change in the load torque given value ΔT L Δ The automatic adjustment algorithm avoids the problem that the load torque observer selects a fixed small feedback gain, which causes a large torque observation fluctuation, and selects a fixed large feedback gain, which causes a long convergence time. It can quickly reduce the observation error of the load torque when the control parameters, model parameters, etc. of the system change or the load is disturbed, resulting in a change in the given sub-item part of the load torque given value or / and a change in the load torque observation value, thereby improving the observation effect and the rapidity and accuracy of the motor speed control. The feedback gain g is automatically adjusted when the load torque given value changes. When the load torque observation value has not changed significantly, but the given sub-item part of the load torque given value changes due to the change of the rotor angular velocity given value or / and the change of the actual value of the rotor angular velocity, or the given sub-item part of the load torque given value changes due to the change of the system model parameters, which will cause the load torque observation value to fluctuate significantly, the feedback gain g can be adjusted in advance. When the load torque observation value actually generates an observation error, the response speed of the observer is accelerated, the observation error of the load torque observation value is quickly reduced, and the rapidity and accuracy of the motor speed control are further improved.

[0172] The sliding mode speed controller adopts the permanent magnet synchronous motor speed control system embodiment 2 of the integral sliding mode control method, and its feedback gain is based on the load torque given value T L Δ The algorithm for automatically adjusting the change in the amount of load torque is used in the permanent magnet synchronous motor speed control system embodiment 1. The feedback gain is based on the sum of the change in the load torque given value and the change in the load torque observation value for the last two times. The same algorithm is used for automatic adjustment, which avoids the problem that the load torque observer selects a fixed small feedback gain, which leads to large torque observation fluctuations, and selects a fixed large feedback gain, which leads to a long convergence time. It can be used when the control parameters, model parameters, etc. of the system change or the load is disturbed, resulting in the load torque given value T L Δ When the load torque changes (including the given item changes and / or the compensation item changes), the observation error of the load torque is quickly reduced, which improves the observation effect and the speed and accuracy of the motor speed control. The feedback gain g changes according to the load torque given value T L Δ Automatic adjustment can be performed at the load torque observation value If there is no significant change, but the given sub-item of the load torque given value changes due to the change of the rotor angular velocity given value or / and the actual value of the rotor angular velocity, or the given sub-item of the load torque given value changes due to the change of the system model parameters, which will cause the load torque observation value to fluctuate greatly, adjust the feedback gain g in advance. When the load torque observation value When an observation error actually occurs, speed up the observer's response speed and quickly reduce the load torque observation value. The observation error can be reduced and the speed and accuracy of motor speed control can be further improved.

[0173] In the periodic control process of the permanent magnet synchronous motor speed control system embodiment 2, the load torque given value calculated at the kth time (or the kth step) is Recorded as Load torque observation value Recorded as The k-1 moment is the moment of the periodic control process before the k moment, and the load torque is given by Recorded as Load torque observation value Recorded as The k-2 moment is the moment of the periodic control process before the k-1 moment, and the load torque given value Recorded as Load torque observation value Recorded as according to Figure 4When the feedback gain g is adjusted in (a), the control process includes the following steps:

[0174] Step 1: Detect the rotor position θ, rotor angular velocity ω and three-phase current i of the permanent magnet synchronous motor a 、i b and i c ;

[0175] Step 2: Based on the three-phase current i a 、i b and i c Clark transformation is performed on the permanent magnet synchronous motor to obtain the current i in the α-β axis coordinate system: α 、i β , according to the current i α 、i β Perform Park transformation on the rotor position θ to obtain the current i in the dq axis coordinate system d 、i q ;

[0176] Step 3: The feedback gain g of the load torque observer is based on the load torque given value. to adjust for changes in

[0177] Step 4: Load torque observer is based on rotor angular velocity ω and current i q Observe the load torque and obtain the load torque observation value

[0178] Step 5: The sliding mode speed controller is based on the input rotor given angular velocity ω * , rotor angular velocity ω and load torque observations Perform control calculation to obtain the load torque given value and q-axis torque current given value

[0179] Step 6: The d-axis current controller is based on the d-axis torque current given value i d * and the current i in the d-axis coordinate system d The difference between them is used for PI control operation to obtain the control voltage U in the d-axis coordinate system d ; The q-axis current controller is based on the q-axis torque current given value and the current i in the q-axis coordinate system q The difference between them is used for PI control operation to obtain the control voltage U in the q-axis coordinate system q ; Based on the control voltage U in the dq axis coordinate system d , U q Perform Park inverse transformation to obtain the control voltage U in the α-β axis coordinate system α , Uβ ;

[0180] Step 7: Set the control voltage U in the α-β axis coordinate system α , U β As the input of the SVPWM module, the SVPWM module controls the three-phase inverter to generate a three-phase AC power supply U a , U b , U c , thereby driving the permanent magnet synchronous motor to operate.

[0181] according to Figure 4 When the feedback gain g is adjusted in (b), in the steps of the above control process, the contents of steps 4 and 5 are performed first, and the contents of step 3 are performed later.

[0182] In the above embodiments, the torque observation tracking overshoot limit is usually 1% to 10% of the rated torque of the motor. Specifically, the torque observation tracking overshoot limit is 2% of the rated torque, or 5% of the rated torque, or 10% of the rated torque, and so on. The load torque changes suddenly from one fixed value to another fixed value. The time from the start of the sudden change to the time when the load torque observer outputs the observed value and stably enters the load torque observation steady-state error limit range is the torque observation transition process. The tracking adjustment time refers to the transition process time. The load torque observation steady-state error refers to the error between the instantaneous value of the observed torque and the load torque when the load torque is constant and the load torque observer is in a steady state. This error includes the observation error caused by the sliding mode observer's own jitter and the observation error caused by interference reasons other than load fluctuations, or the observation error caused by the state observer due to the rotor angular velocity jitter and the observation error caused by interference reasons other than load fluctuations. The load torque observation steady-state error limit is the maximum absolute value of the load torque observation steady-state error allowed by the load torque observer. The load torque observation steady-state error limit is usually 1% to 5% of the rated torque of the motor. Specifically, the load torque observation steady-state error limit is 1% of the rated torque, or 2% of the rated torque, or 5% of the rated torque, etc. The torque observation tracking overshoot refers to the load torque suddenly changing from one fixed value to another fixed value, and the observed value output by the load torque observer exceeds the maximum deviation value of the load torque after the sudden change. When the steady-state error of the load torque observation is within the vicinity of the steady-state error limit of the load torque observation, for example, within the range of 95% to 105%, or within the range of 98% to 102%, it is considered that the steady-state error of the load torque observation increases to the steady-state error limit of the load torque observation. The sliding mode speed controller is in steady state, which means that the sliding mode speed controller is stably in sliding mode; the rotor angular velocity steady-state error refers to the difference between the instantaneous value and the steady-state value of the motor rotor angular velocity in steady state, and the rotor angular velocity steady-state error limit is the maximum absolute value of the rotor angular velocity steady-state error allowed by the system. In the load torque observer, the sliding mode observer of Example 1 is in steady state, which means that the sliding mode observer is stably in sliding mode; the state observer of Example 2 is in steady state, which means that the state observer is in the working state after the torque observation transition process. The rotor angular velocity steady-state error refers to the difference between the instantaneous value and the steady-state value of the motor rotor angular velocity in steady state, and the rotor angular velocity steady-state error limit is the maximum absolute value of the rotor angular velocity steady-state error allowed by the system.

[0183] The permanent magnet synchronous motor speed control system including the permanent magnet synchronous motor integral sliding mode control system of the present invention can be used for other permanent magnet synchronous motor application occasions in addition to being used for controlling mining traction motors.

[0184] In addition to the technical features described in the specification, other technologies involved in the present invention are conventional technologies mastered by those skilled in the art. For example, the q-axis current controller and the d-axis current controller use PI controllers for control and controller parameter selection, the sliding mode speed controller control parameter selection, the position and speed detection module uses a rotary transformer or a photoelectric encoder to detect the rotation angle and rotation speed of the permanent magnet synchronous motor rotor, and the Clarke transformation module, Park transformation module, Park inverse transformation module and SVPWM module, three-phase inverter transformation method and application method, etc., are all conventional technologies mastered by those skilled in the art.

Claims

1. A permanent magnet synchronous motor integral sliding mode control system, comprising a sliding mode speed controller and a load torque observer, characterized in that: The sliding mode speed controller adopts integral sliding mode control method; The load torque observer adjusts the feedback gain according to the change of the load torque given value output by the sliding mode speed controller, and adjusts the feedback gain according to the rotor angular velocity ω and current i q Observe the load torque and obtain the load torque observation value Load torque observation value output by the load torque observer is sent to the sliding mode speed controller; Define the state variables of the sliding mode speed controller as Where ω is the rotor angular velocity, ω * is the given rotor angular velocity; the sliding surface of the sliding mode speed controller is s y =c y y1+y2, where c y is the sliding surface parameter, and c y >0; Load torque given value output by sliding mode speed controller and q-axis torque current given value for Where J is the moment of inertia, p is the number of motor pole pairs, ψ f is the permanent magnet flux, B is the friction coefficient; coefficient μ1, coefficient μ2, coefficient μ3, coefficient μ4 are the exponential approach rate coefficients of speed sliding mode control, and μ1>0, μ2>0, μ4>0, 0<μ3<1; The load torque observer is in, k W is the proportional gain of the load torque observer and requires k W <0; is the estimated value of the rotor angular velocity, g is the feedback gain of the load torque observer and g<0; The load torque observer is based on the load torque given value output by the sliding mode speed controller. The method to adjust the feedback gain g is: Step 1: Calculation Step 2: Judgement Is it greater than ε2? When it is greater than ε2, the feedback gain g is equal to g min And proceed to step ㈤; when ΔT is less than or equal to ε2, proceed to step ㈢; Step 3: Judgment Is it less than ε1? When it is less than ε1, the feedback gain g is equal to g max And go to step 5; when When it is greater than or equal to ε1, go to step 4; Step 4: Feedback gain g is calculated according to After the calculation, proceed to step 5; Step 5: The load torque observer observes the load torque according to the value of the feedback gain g to obtain the load torque observation value. The sliding mode speed controller performs control calculations to obtain the load torque given value Among them, ε1 is the torque change lower limit comparison threshold, ε2 is the torque change upper limit comparison threshold, and 0<ε1<ε2; g max is the high value of feedback gain, g min is the low value of feedback gain, and g min <g max <0.

2. The permanent magnet synchronous motor integral sliding mode control system according to claim 1, characterized in that: Select g min , g max , ε1, ε2 values ​​are: Step 1), the load torque observer and the sliding mode speed controller are both in steady state and keep the given rotor angular velocity and load torque constant; Step 2), let the feedback gain g gradually decrease from a larger value, for example, let the feedback gain g gradually decrease from -0.

01. When the steady-state error of the load torque observation reaches the steady-state error limit of the load torque observation, determine the feedback gain g value at this time as g max ; Step 3), keep the given rotor angular velocity and load torque constant and set the feedback gain g equal to g max , and repeat this process n times The value is measured and n times Maximum m in the measurement The average value of the measured values ​​is used as the torque change comparison threshold ε; Step 4), fine-tuning the feedback gain g, when the load torque observer and the sliding mode speed controller are both in steady state, keeping the given rotor angular velocity unchanged and making the load torque suddenly change, under the premise of ensuring that the torque observation tracking overshoot of the load torque observer output observation value is within the torque observation tracking overshoot limit, measuring the tracking adjustment time of the load torque observer; Step 5), repeat step 4), select the feedback gain g with the shortest tracking adjustment time as g min value; Step 6), again keep the given rotor angular velocity constant and the load torque constant and set the feedback gain g equal to g min , and repeat this process n times The value is measured, and the maximum m values ​​among the n measurements are The average value of the sum of the values ​​is used as the torque change upper limit comparison threshold ε2; The n is an integer greater than or equal to 20, and m is an integer greater than or equal to 5 and less than or equal to 0.5n.

3. The permanent magnet synchronous motor integral sliding mode control system according to claim 1, characterized in that: Proportional gain k W according to Make a selection; where T N is the rated torque of the motor, β>0.

4. The permanent magnet synchronous motor integral sliding mode control system according to claim 3, characterized in that: 1≤β≤20。 5. The permanent magnet synchronous motor integral sliding mode control system according to claim 1, characterized in that: It also includes a q-axis current controller, a d-axis current controller, a Clarke transformation module, a position and speed detection module, a Park transformation module, a Park inverse transformation module, a SVPWM module and a three-phase inverter.