[go: up one dir, main page]

CN110620534A - Method for controlling rotating speed stability of permanent magnet synchronous motor by nonlinear flexible and variable structure sliding mode - Google Patents

Method for controlling rotating speed stability of permanent magnet synchronous motor by nonlinear flexible and variable structure sliding mode Download PDF

Info

Publication number
CN110620534A
CN110620534A CN201910986991.8A CN201910986991A CN110620534A CN 110620534 A CN110620534 A CN 110620534A CN 201910986991 A CN201910986991 A CN 201910986991A CN 110620534 A CN110620534 A CN 110620534A
Authority
CN
China
Prior art keywords
signal
variable structure
sliding mode
current
speed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910986991.8A
Other languages
Chinese (zh)
Other versions
CN110620534B (en
Inventor
王新宇
孙卫明
杨咏东
雷军委
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yantai University
Original Assignee
Yantai University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yantai University filed Critical Yantai University
Priority to CN201910986991.8A priority Critical patent/CN110620534B/en
Publication of CN110620534A publication Critical patent/CN110620534A/en
Application granted granted Critical
Publication of CN110620534B publication Critical patent/CN110620534B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P21/00Arrangements or methods for the control of electric machines by vector control, e.g. by control of field orientation
    • H02P21/0003Control strategies in general, e.g. linear type, e.g. P, PI, PID, using robust control
    • H02P21/0007Control strategies in general, e.g. linear type, e.g. P, PI, PID, using robust control using sliding mode control
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P21/00Arrangements or methods for the control of electric machines by vector control, e.g. by control of field orientation
    • H02P21/05Arrangements or methods for the control of electric machines by vector control, e.g. by control of field orientation specially adapted for damping motor oscillations, e.g. for reducing hunting
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P2207/00Indexing scheme relating to controlling arrangements characterised by the type of motor
    • H02P2207/05Synchronous machines, e.g. with permanent magnets or DC excitation

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Control Of Ac Motors In General (AREA)
  • Control Of Motors That Do Not Use Commutators (AREA)

Abstract

本发明公开非线性柔化与变结构滑模控制永磁同步电机转速稳定的方法。该方法测量电机转速与期望转速进行比较得到的转速误差,引入转速误差积分构成变结构滑模面信息,并与非线性柔化函数组合生成定子电流期望值;测量三相电流中的两相电流,坐标变换得到两相旋转坐标系下的定子电流,并与定子电流期望值比较获得电子电流误差信号,生成定子电流误差积分信号形成变结构滑模面信息,再叠加非线性柔化函数,构成两轴电流的跟踪控制器;最终通过电流跟踪实现电机的转速稳定控制。本发明的优点在于具有很强的抗干扰能力,能够消除负载与模型参数变化对控制性能的不良影响,同时柔化函数的引入消除了颤震影响,而且变结构滑模方法具有很好的快速性。The invention discloses a method for stabilizing the rotation speed of a permanent magnet synchronous motor controlled by nonlinear softening and variable structure sliding mode. This method measures the speed error obtained by comparing the motor speed with the expected speed, introduces the integral of the speed error to form the variable structure sliding mode surface information, and combines it with the nonlinear softening function to generate the expected value of the stator current; measures the two-phase current in the three-phase current, The stator current in the two-phase rotating coordinate system is obtained by coordinate transformation, and compared with the expected value of the stator current to obtain the electronic current error signal, the integral signal of the stator current error is generated to form the variable structure sliding mode surface information, and then the nonlinear softening function is superimposed to form a two-axis Current tracking controller; finally realize the stable control of the motor speed through current tracking. The invention has the advantages of strong anti-interference ability, can eliminate the adverse effects of load and model parameter changes on the control performance, and at the same time, the introduction of the softening function eliminates the influence of chatter, and the variable structure sliding mode method has a good fast sex.

Description

非线性柔化与变结构滑模控制永磁同步电机转速稳定的方法Nonlinear Softening and Variable Structure Sliding Mode Control Method for Speed Stabilization of Permanent Magnet Synchronous Motor

技术领域technical field

本发明涉及永磁同步电机领域,具体而言,涉及一种采用非线性柔化与变结构滑模实现永磁同步电机转速稳定控制的方法。The invention relates to the field of permanent magnet synchronous motors, in particular to a method for realizing stable control of the rotational speed of permanent magnet synchronous motors by using nonlinear softening and variable structure sliding mode.

背景技术Background technique

由于稀土永磁材料工业的发展,永磁同步电机得到了快速发展。而且由于永磁同步电机可以省去普通电机的机械换向器和电刷,因此可靠性高,而且又比异步电机重量轻,控制性能好,因此广泛应用于中小功率的运动控制领域。但永磁同步电机模型的参数难以准确测量,或者存在时变的问题,因此依赖精确模型的方法往往控制效果不理想。主要问题是当电机负载参数或其它参数变化时,控制性能就将大大下降。也有研究者对电机模型进行专门的参数在线辨识,但该方法又会大大的增加设计难度,而且辨识的结果仍然可能存在较大误差。而滑模变结构控制具有良好的快速性与鲁棒性,也不需要模型的精确参数,但其往往会引起颤震问题。Due to the development of the rare earth permanent magnet material industry, the permanent magnet synchronous motor has developed rapidly. And because the permanent magnet synchronous motor can save the mechanical commutator and brush of the ordinary motor, it has high reliability, is lighter than the asynchronous motor, and has better control performance, so it is widely used in the field of motion control of small and medium power. However, the parameters of the permanent magnet synchronous motor model are difficult to measure accurately, or there are time-varying problems, so methods that rely on accurate models often have unsatisfactory control effects. The main problem is that when the motor load parameters or other parameters change, the control performance will be greatly reduced. Some researchers also conduct special parameter online identification of motor models, but this method will greatly increase the difficulty of design, and there may still be large errors in the identification results. The sliding mode variable structure control has good rapidity and robustness, and does not require precise parameters of the model, but it often causes chatter problems.

即由于永磁电机负载变化情况无法预测,而且电机模型参数也无法准确测量,因此一般依赖模型精确参数的控制方法无法达到理想的控制性能。That is, because the load change of the permanent magnet motor cannot be predicted, and the parameters of the motor model cannot be accurately measured, the control method that generally relies on the precise parameters of the model cannot achieve ideal control performance.

需要说明的是,在上述背景技术部分发明的信息仅用于加强对本发明的背景的理解,因此可以包括不构成对本领域普通技术人员已知的现有技术的信息。It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present invention, and therefore may include information that does not constitute prior art known to those of ordinary skill in the art.

发明内容Contents of the invention

本发明的目的在于提供一种采用非线性柔化与变结构滑模实现永磁同步电机转速稳定控制的方法,进而克服由于相关技术的限制和缺陷而导致的系统动态响应慢或响应受电机负载变化影响较大的问题。The purpose of the present invention is to provide a method of using nonlinear softening and variable structure sliding mode to realize the stable control of the permanent magnet synchronous motor speed, and then overcome the slow dynamic response of the system or the response to the motor load caused by the limitations and defects of the related technology Issues with large impacts of change.

根据本发明的一个方面,提供一种采用非线性柔化与变结构滑模实现永磁同步电机转速稳定控制的方法,包括以下步骤:According to one aspect of the present invention, there is provided a method for realizing stable control of the speed of a permanent magnet synchronous motor by using nonlinear softening and variable structure sliding mode, comprising the following steps:

步骤S10,测量永磁同步电机的转子的位置、转速与三相电流中两相电流,并对两相电流进行坐标变换;Step S10, measuring the position and speed of the rotor of the permanent magnet synchronous motor and the two-phase current in the three-phase current, and performing coordinate transformation on the two-phase current;

步骤S20,设定d轴定子电流的期望为0,针对定子电流误差信号,设计第一个与第二个变结构滑模信号;Step S20, setting the expectation of the d-axis stator current as 0, and designing the first and second variable structure sliding mode signals for the stator current error signal;

步骤S30,针对上述第二个变结构滑模信号,设计基于柔化函数与非线性变结构方法的q轴定子电压uqStep S30, aiming at the above-mentioned second variable structure sliding mode signal, design the q-axis stator voltage u q based on softening function and nonlinear variable structure method;

步骤S40,根据测量转速信号与期望转速信号的比较误差,设计基于柔化函数与非线性变结构方法的q轴定子电流的期望值为iqcStep S40, according to the comparison error between the measured speed signal and the expected speed signal, design the expected value of the q-axis stator current i qc based on the softening function and the nonlinear variable structure method;

步骤S50,根据上述Park变换后得到的iq值与q轴定子电流的期望值iqc进行比较,得到q轴定子电流误差信号,并构建变结构滑模信号;Step S50, comparing the iq value obtained after the above-mentioned Park transformation with the expected value iqc of the q-axis stator current to obtain the q-axis stator current error signal, and construct a variable structure sliding mode signal;

步骤S60,根据上述第六个变结构滑模信号s6,设计基于柔化函数与非线性变结构方法的d轴定子电压ud,并通过变换送给电机,实现转速稳定控制。Step S60, according to the sixth variable structure sliding mode signal s 6 , design the d-axis stator voltage u d based on the softening function and nonlinear variable structure method, and send it to the motor through transformation to realize the stable speed control.

在本发明的一种示例实施例中,根据所述电机的转子的位置、转速与三相电流中两相进行测量,并对电流进行坐标变换包括:In an example embodiment of the present invention, measuring according to the position and rotational speed of the rotor of the motor and two phases of the three-phase current, and performing coordinate transformation on the current includes:

测量永磁同步电机转子的位置与转速信号,其中转子位置记为θm,转速记为ωm;其次,通过霍尔电流传感器检测永磁同步电机三相电流信号,分别记作ia、ib、icMeasure the position and speed signals of the permanent magnet synchronous motor rotor, where the rotor position is recorded as θ m , and the rotational speed is recorded as ω m ; secondly, the three-phase current signals of the permanent magnet synchronous motor are detected by the Hall current sensor, which are respectively recorded as i a , i b , i c .

其次对三相电流中的ia、ib进行Clarke变换,得到两相静止坐标系中的定子电流iα、iβ。其中Clarke变换定义如下:Secondly, the Clarke transformation is performed on ia and ib in the three-phase current to obtain the stator current i α and i β in the two-phase stationary coordinate system. The Clarke transform is defined as follows:

再次进行如下的Prak变换,得到两相旋转坐标系d、q轴的定子电流iq与id。其中Park变换的定义如下:Perform the following Prak transformation again to obtain the stator currents i q and id of the two-phase rotating coordinate system d and q axes. The Park transformation is defined as follows:

其中θe由转子位置的测量值θm进行变换得到。即θe=pnθm,其中pn为电机极对数。Among them, θ e is obtained by transforming the measured value θ m of the rotor position. That is, θ e =p n θ m , where p n is the number of pole pairs of the motor.

在本发明的一种示例实施例中,根据所述d轴电流误差信号设计第一个与第二个变结构滑模信号s1与s2包括:In an example embodiment of the present invention, designing the first and second variable structure sliding mode signals s1 and s2 according to the d - axis current error signal includes:

s1=eid+k1seid,s2=s1+k2ss1 s 1 =e id +k 1 s eid , s 2 =s 1 +k 2 s s1

其中k1、k2为控制参数,可自由调节,一般选取为正值。其中eid为d轴电流误差信号,其计算如下:Among them, k 1 and k 2 are control parameters, which can be adjusted freely, and are generally selected as positive values. Where e id is the d-axis current error signal, which is calculated as follows:

eid=id-0=id e id = i d -0 = i d

其中0为d轴定子电流的期望值,id为上述Park变换后得到的d轴的定子电流。其中seid为d轴电流误差积分信号,其计算如下:Among them, 0 is the expected value of the stator current of the d-axis, and i d is the stator current of the d-axis obtained after the above-mentioned Park transformation. Among them, s eid is the d-axis current error integral signal, which is calculated as follows:

seid=∫eiddts eid = ∫e id dt

其中dt表示对时间信号积分。其中ss1为所述第一个变结构滑模信号的积分信号,其计算如下:where dt represents the integration of the time signal. Wherein s s1 is the integral signal of described first variable structure sliding mode signal, and its calculation is as follows:

ss1=∫s1dts s1 = ∫s 1 dt

其中dt表示对时间信号积分。where dt represents the integration of the time signal.

在本发明的一种示例实施例中,根据所述第一、二个变结构滑模信号s1与s2,设计基于柔化函数与非线性变结构方法的q轴定子电压uq包括:In an exemplary embodiment of the present invention, according to the first and second variable structure sliding mode signals s 1 and s 2 , designing the q-axis stator voltage u q based on the softening function and nonlinear variable structure method includes:

其中k3、k4、k5、ε3、ε4为控制参数,可自由调节,一般选取为正值。其中f1为柔化函数信号,ε1、ε2为柔化系数,可自由调节,一般选取为正值,主要用于调节系统响应的颤振。Among them, k 3 , k 4 , k 5 , ε 3 , and ε 4 are control parameters, which can be adjusted freely, and are generally selected as positive values. Among them, f 1 is the softening function signal, ε 1 and ε 2 are the softening coefficients, which can be adjusted freely, and generally selected as positive values, which are mainly used to adjust the flutter of the system response.

在本发明的一种示例实施例中,根据所述的测量转速信号与期望转速信号的比较误差,设计基于柔化函数与非线性变结构方法的q轴定子电流的期望值为iqc包括:In an exemplary embodiment of the present invention, according to the comparison error between the measured rotational speed signal and the expected rotational speed signal, designing the expected value of the q-axis stator current iqc based on the softening function and the nonlinear variable structure method includes:

iqc=-k10s4-f2 i qc =-k 10 s 4 -f 2

其中k10是控制参数,可以自由调节,一般选取为正值。而Among them, k 10 is a control parameter, which can be adjusted freely, and is generally selected as a positive value. and

其中k8、k9为控制参数,可自由调节,一般选取为正值。ε6、ε7为柔化系数,可自由调节,一般选取为正值,主要用于调节系统响应的颤振。上式中s4的计算如下:Among them, k 8 and k 9 are control parameters, which can be adjusted freely, and are generally selected as positive values. ε 6 and ε 7 are softening coefficients, which can be adjusted freely. Generally, they are selected as positive values, and are mainly used to adjust the flutter of the system response. The calculation of s4 in the above formula is as follows:

其中k7为控制参数,可自由调节,一般选取为正值。ε5为柔化系数,可自由调节,一般选取为正值,主要用于调节系统响应的颤振。上式中s3与ss3的计算如下:Among them, k 7 is a control parameter, which can be adjusted freely, and is generally selected as a positive value. ε 5 is the softening coefficient, which can be adjusted freely. Generally, it is selected as a positive value, which is mainly used to adjust the flutter of the system response. The calculation of s 3 and s s3 in the above formula is as follows:

s3=eω+k6s,ss3=∫s3dts 3 =e ω +k 6 s , s s3 =∫s 3 dt

其中k6为控制参数,可自由调节,一般选取为正值。ss3为s3的积分信号,其中dt表示对时间信号积分。上式中Among them, k 6 is a control parameter, which can be adjusted freely, and is generally selected as a positive value. s s3 is the integral signal of s 3 , where dt represents the time signal integration. In the above formula

eω=ωmmc,s=∫eωdte ωmmc , s =∫e ω dt

其中ωm为上述电机转速的测量值,ωmc为电机的期望转速。eω为电机的转速误差信号,s为电机转速误差积分信号。Among them, ω m is the measured value of the motor speed, and ω mc is the expected speed of the motor. e ω is the speed error signal of the motor, and s is the integral signal of the motor speed error.

在本发明的一种示例实施例中,根据所述的Park变换后得到的iq值与q轴定子电流的期望值iqc进行比较,得到q轴定子电流误差信号,并构建变结构滑模信号s5与s6包括;In an exemplary embodiment of the present invention, the i q value obtained after the Park transformation is compared with the expected value i qc of the q-axis stator current to obtain the q-axis stator current error signal, and construct the variable structure sliding mode signal s 5 and s 6 include;

s5=eiq+k11seiq s 5 =e iq +k 11 s eiq

其中k11为控制参数,可自由调节,一般选取为正值。eiq为上述Park变换后得到的iq值与q轴定子电流的期望值为iqc,进行比较后得到的q轴电流误差信号,其计算方式为eiq=iq-iqc。seiq为q轴电流误差信号的积分,其计算如下:Among them, k 11 is a control parameter, which can be adjusted freely, and is generally selected as a positive value. e iq is the q-axis current error signal obtained by comparing the i q value obtained after the above Park transformation with the expected value of the q-axis stator current i qc , and its calculation method is e iq =i q -i qc . s eiq is the integral of the q-axis current error signal, which is calculated as follows:

seiq=∫eiqdts eiq =∫e iq dt

dt表示对时间信号积分。dt means integrating the time signal.

s6为第六个变结构滑模面信号,其计算如下:s 6 is the sixth variable structure sliding mode surface signal, which is calculated as follows:

s6=s5+k12ss5 s 6 =s 5 +k 12 s s5

其中k12为控制参数,可自由调节,一般选取为正值。其中ss5为第五个变结构滑模信号s5的积分信号,其计算如下:Among them, k 12 is a control parameter, which can be adjusted freely, and is generally selected as a positive value. Where s s5 is the integral signal of the fifth variable structure sliding mode signal s 5 , which is calculated as follows:

ss5=∫s5dts s5 = ∫s 5 dt

其中dt表示对时间信号积分。where dt represents the integration of the time signal.

在本发明的一种示例实施例中,根据所述的六个变结构滑模信号,设计基于柔化函数与非线性变结构方法的d轴定子电压ud包括In an exemplary embodiment of the present invention, according to the six variable structure sliding mode signals, the design of the d-axis stator voltage u d based on the softening function and the nonlinear variable structure method includes

其中k15、ε10、ε11为控制参数,可自由调节,一般选取为正值。其中f3为柔化函数信号,其计算如下:Among them, k 15 , ε 10 , and ε 11 are control parameters, which can be adjusted freely, and are generally selected as positive values. Where f 3 is the softening function signal, which is calculated as follows:

其中k13、k14为控制参数,可自由调节,一般选取为正值。ε8、ε9为柔化系数,可自由调节,一般选取为正值,主要用于调节系统响应的颤振。Among them, k 13 and k 14 are control parameters, which can be adjusted freely, and are generally selected as positive values. ε 8 and ε 9 are softening coefficients, which can be adjusted freely. Generally, they are selected as positive values, and are mainly used to adjust the flutter of the system response.

针对所述设计的q轴定子电压uq与d轴定子电压ud,进行Park逆变换如下For the designed q-axis stator voltage u q and d-axis stator voltage u d , the inverse Park transformation is performed as follows

其中uα、uβ为两相静止坐标系中的α、β轴定子电压,最后将uα、uβ输出给空间矢量脉宽调制与三相逆变器,最终输出给永磁同步电机,控制电机转速达到给得的速度ωmcAmong them, u α and u β are the α and β axis stator voltages in the two-phase stationary coordinate system. Finally, u α and u β are output to the space vector pulse width modulation and three-phase inverter, and finally output to the permanent magnet synchronous motor. Control the motor speed to a given speed ω mc .

最后,根据系统的响应情况,进行全部参数k1至k15以及ε1至ε11的调试,选取合适的控制参数,最终完成电机转速控制。Finally, according to the response of the system, debug all the parameters k1 to k15 and ε1 to ε11 , select the appropriate control parameters, and finally complete the motor speed control.

本发明的非线性柔化与变结构滑模控制永磁同步电机转速稳定的方法的关键在于通过测量电机转速与期望转速进行比较得到的转速误差,引入转速误差积分构成变结构滑模面信息并与非线性柔化函数组合生成定子电流期望值,同时,测量三相电流中的两相电流,坐标变换得到两相旋转坐标系下的定子电流并与定子电流期望值比较获得电子电流误差信号,生成定子电流误差积分信号形成变结构滑模面信息,再叠加非线性柔化函数,构成两轴电流的跟踪控制器,最终通过电流跟踪实现电机的转速稳定控制。进一步的,该方法无需精确知道电机的电感参数、转动惯量参数、负载情况等,通过误差反馈控制、非线性柔化函数以及三层六个变结构滑模的设计即能实现永磁同步电机的转速稳定跟踪控制,具有很强的抗干扰能力,而且能够有效消除负载与模型参数变化对控制性能的不良影响。The key to the non-linear softening and variable structure sliding mode control method for permanent magnet synchronous motor speed stability of the present invention is to measure the speed error obtained by comparing the motor speed with the expected speed, introduce the integral of the speed error to form the variable structure sliding mode surface information and Combined with the nonlinear softening function to generate the stator current expected value, at the same time, measure the two-phase current in the three-phase current, coordinate transformation to obtain the stator current in the two-phase rotating coordinate system and compare it with the stator current expected value to obtain the electronic current error signal, and generate the stator current The current error integral signal forms the variable structure sliding mode surface information, and then superimposes the nonlinear softening function to form a two-axis current tracking controller, and finally realizes the stable control of the motor speed through current tracking. Furthermore, this method does not need to accurately know the inductance parameters, moment of inertia parameters, load conditions, etc. of the motor, and can realize the permanent magnet synchronous motor through the design of error feedback control, nonlinear softening function and three-layer six variable structure sliding mode. Speed stable tracking control has strong anti-interference ability, and can effectively eliminate the adverse effects of load and model parameter changes on control performance.

有益效果:Beneficial effect:

本发明一种采用非线性柔化与变结构滑模实现永磁同步电机转速稳定控制的方法,仅测量永磁同步电机的角速度、角位置与三相电流中的两相,通过误差反馈控制、非线性柔化函数以及三层六个变结构滑模的设计,较好地实现了永磁同步电机的转速稳定跟踪控制。该方法无需精确知道电机的电感参数、转动惯量参数、负载情况等,由于其采用了变结构滑模方法,因此该方法具有很好的鲁棒性与快速性。而又由于其非线性柔化函数的使用,是的其稳态情况下运行平稳,颤振较小,也能够适应电机负载的不同变化,因此具有很高的工程实用价值。The present invention adopts nonlinear softening and variable structure sliding mode to realize the stable control method of the permanent magnet synchronous motor speed, only measures the angular velocity, angular position and two phases of the three-phase current of the permanent magnet synchronous motor, through error feedback control, The nonlinear softening function and the design of three-layer and six variable-structure sliding modes can better realize the stable speed tracking control of permanent magnet synchronous motor. This method does not need to accurately know the inductance parameters, moment of inertia parameters, load conditions, etc. of the motor. Because it uses a variable structure sliding mode method, this method has good robustness and rapidity. And because of the use of its non-linear softening function, it runs smoothly under steady state conditions, has less flutter, and can also adapt to different changes in motor loads, so it has high engineering practical value.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本发明。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description serve to explain the principles of the invention. Apparently, the drawings in the following description are only some embodiments of the present invention, and those skilled in the art can obtain other drawings according to these drawings without creative efforts.

图1是本发明提供的一种采用非线性柔化与变结构滑模实现永磁同步电机转速稳定控制的方法流程图。Fig. 1 is a flow chart of a method for realizing stable speed control of a permanent magnet synchronous motor by using nonlinear softening and variable structure sliding mode provided by the present invention.

图2是本发明实施例所提供方法的第一个变结构滑模面曲线。Fig. 2 is the first variable structure sliding mode surface curve of the method provided by the embodiment of the present invention.

图3是本发明实施例所提供方法的第二个变结构滑模面曲线。Fig. 3 is the second variable structure sliding mode surface curve of the method provided by the embodiment of the present invention.

图4是本发明实施例所提供方法的同步电机d轴定子电流跟踪期望值0的曲线。Fig. 4 is a curve of the d-axis stator current tracking expected value 0 of the synchronous motor according to the method provided by the embodiment of the present invention.

图5是本发明实施例所提供方法的第三个变结构滑模面曲线。Fig. 5 is the third variable structure sliding mode surface curve of the method provided by the embodiment of the present invention.

图6是本发明实施例所提供方法的第四个变结构滑模面曲线。Fig. 6 is the fourth variable structure sliding mode surface curve of the method provided by the embodiment of the present invention.

图7是本发明实施例所提供方法的q轴定子电流的期望值iqc曲线。Fig. 7 is a curve of the expected value i qc of the q-axis stator current according to the method provided by the embodiment of the present invention.

图8是本发明实施例所提供方法的第五个变结构滑模面曲线。Fig. 8 is the fifth variable structure sliding mode surface curve of the method provided by the embodiment of the present invention.

图9是本发明实施例所提供方法的第六个变结构滑模面曲线。Fig. 9 is the sixth variable structure sliding mode surface curve of the method provided by the embodiment of the present invention.

图10是本发明实施例所提供方法的q轴定子电流iq的的实际值跟踪期望值iqc曲线。Fig. 10 is a curve of the actual value tracking the expected value i qc of the q-axis stator current i q according to the method provided by the embodiment of the present invention.

图11是本发明实施例所提供方法的永磁同步电机的转速跟踪期望值曲线。Fig. 11 is a rotation speed tracking expectation value curve of a permanent magnet synchronous motor according to the method provided by the embodiment of the present invention.

具体实施方式Detailed ways

现在将参考附图基础上更全面地描述示例实施方式。然而,示例实施方式能够以多种形式实施,且不应被理解为限于在此阐述的范例;相反,提供这些实施方式使得本发明将更加全面和完整,并将示例实施方式的构思全面地传达给本领域的技术人员。所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施方式中。在下面的描述中,提供许多具体细节从而给出对本发明的实施方式的充分理解。然而,本领域技术人员将意识到,可以实践本发明的技术方案而省略所述特定细节中的一个或更多,或者可以采用其它的方法、组元、装置、步骤等。在其它情况下,不详细示出或描述公知技术方案以避免喧宾夺主而使得本发明的各方面变得模糊。Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete and fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of embodiments of the invention. However, those skilled in the art will appreciate that the technical solution of the present invention may be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other instances, well-known technical solutions have not been shown or described in detail to avoid obscuring aspects of the invention.

本发明提供了一种通过测量转子位置与角速度信息,以及定子两相电流信息,通过采用变结构滑模与非线性柔化函数相结合的方法,实行了永磁同步电机的转速稳定控制,由于其不依赖模型的精确参数,因此动态响应对电机负载不敏感,具有很好的鲁棒性。同时由于其采用了变结构滑模控制方法,因此具有较好的抗干扰能力与快速型,也具有很高的工程应用价值。The invention provides a method of combining variable structure sliding mode and nonlinear softening function by measuring rotor position and angular velocity information, and stator two-phase current information, and realizes the stable control of the speed of permanent magnet synchronous motor. It does not depend on the precise parameters of the model, so the dynamic response is not sensitive to the motor load and has good robustness. At the same time, because it adopts the variable structure sliding mode control method, it has good anti-interference ability and fast type, and also has high engineering application value.

下面,将结合附图对本发明的非线性柔化与变结构滑模实现永磁同步电机转速稳定控制的方法,进行进一步的解释以及说明。参考图1所示,该非线性柔化与变结构滑模实现永磁同步电机转速稳定控制的方法,可以包括以下步骤:Next, the method for realizing the stable control of the speed of the permanent magnet synchronous motor by nonlinear softening and variable structure sliding mode of the present invention will be further explained and described in conjunction with the accompanying drawings. Referring to Fig. 1, the method for realizing the stable control of the speed of permanent magnet synchronous motor by nonlinear softening and variable structure sliding mode may include the following steps:

步骤S10,测量永磁同步电机的转子的位置、转速与三相电流中两相电流,并对两相电流进行坐标变换;Step S10, measuring the position and speed of the rotor of the permanent magnet synchronous motor and the two-phase current in the three-phase current, and performing coordinate transformation on the two-phase current;

具体的,首先,通过位置/速度检测传感单元,测量永磁同步电机转子的位置与转速信号,其中转子位置记为θm,转速记为ωm;其次,通过霍尔电流传感器检测永磁同步电机三相电流信号,分别记作ia、ib、icSpecifically, first, the position and speed signals of the permanent magnet synchronous motor rotor are measured through the position/speed detection sensor unit, where the rotor position is recorded as θ m and the speed is recorded as ω m ; secondly, the permanent magnet synchronous motor is detected by the Hall current sensor The three-phase current signals of the synchronous motor are denoted as ia , ib and ic respectively.

其次对三相电流中的ia、ib进行Clarke变换,得到两相静止坐标系中的定子电流iα、iβ。其中Clarke变换定义如下:Secondly, the Clarke transformation is performed on ia and i b in the three-phase current to obtain the stator current i α and i β in the two-phase stationary coordinate system. The Clarke transform is defined as follows:

再次进行如下的Prak变换,得到两相旋转坐标系d、q轴的定子电流iq与id。其中Park变换的定义如下:Perform the following Prak transformation again to obtain the stator currents i q and id of the two-phase rotating coordinate system d and q axes. The Park transformation is defined as follows:

其中θe由转子位置的测量值θm进行变换得到。即θe=pnθm,其中pn为电机极对数。Among them, θ e is obtained by transforming the measured value θ m of the rotor position. That is, θ e =p n θ m , where p n is the number of pole pairs of the motor.

步骤S20,设定d轴定子电流的期望为0,针对定子电流误差信号,设计第一个与第二个变结构滑模信号Step S20, set the expectation of the d-axis stator current as 0, and design the first and second variable structure sliding mode signals for the stator current error signal

具体的,首先设定d轴定子电流的期望值为0,根据上述Park变换后得到的id值,进行比较得到d轴电流误差信号,定义为eid=id-0=idSpecifically, firstly, the expected value of the d-axis stator current is set to 0, and the d-axis current error signal is obtained by comparison according to the i d value obtained after the above Park transformation, which is defined as e id =i d -0=i d .

其次根据上述d轴电流误差信号eid,设计d轴电流误差积分信号seid,其计算如下:Secondly, according to the above d-axis current error signal e id , design the d-axis current error integral signal s eid , which is calculated as follows:

seid=∫eiddts eid = ∫e id dt

其中dt表示对时间信号积分。where dt represents the integration of the time signal.

再次,由上述d轴电流误差信号eid与d轴电流误差积分信号seid组成第一个变结构滑模面信号,记作s1,其计算如下:Again, the first variable structure sliding mode surface signal is composed of the d-axis current error signal e id and the d-axis current error integral signal s eid , denoted as s 1 , and its calculation is as follows:

s1=eid+k1seid s 1 =e id +k 1 s eid

其中k1为控制参数,可自由调节,一般选取为正值。Among them, k 1 is a control parameter, which can be adjusted freely, and is generally selected as a positive value.

然后根据上述第一个变结构滑模信号s1,构造其积分信号,记作ss1,其计算如下:Then, according to the above-mentioned first variable structure sliding mode signal s 1 , construct its integral signal, denoted as s s1 , and its calculation is as follows:

ss1=∫s1dts s1 = ∫s 1 dt

其中dt表示对时间信号积分。where dt represents the integration of the time signal.

最后根据上述第一个变结构滑模信号s1与积分信号构造第二个变结构滑模面信号,记作s2,其计算如下:Finally, according to the above-mentioned first variable structure sliding mode signal s 1 and integral signal, the second variable structure sliding mode surface signal is constructed, denoted as s 2 , and its calculation is as follows:

s2=s1+k2ss1 s 2 =s 1 +k 2 s s1

其中k2为控制参数,可自由调节,一般选取为正值。Among them, k 2 is a control parameter, which can be adjusted freely, and is generally selected as a positive value.

步骤S30,针对上述第二个变结构滑模信号,设计基于柔化函数与非线性变结构方法的q轴定子电压uq Step S30, for the above second variable structure sliding mode signal, design the q-axis stator voltage u q based on the softening function and nonlinear variable structure method

首先针对上述第一个与第二个变结构滑模面信号,构建如下柔化函数信号f1,其计算如下:Firstly, for the above first and second variable structure sliding mode surface signals, the following softening function signal f 1 is constructed, and its calculation is as follows:

其中k3、k4为控制参数,可自由调节,一般选取为正值。ε1、ε2为柔化系数,可自由调节,一般选取为正值,主要用于调节系统响应的颤振。Among them, k 3 and k 4 are control parameters, which can be adjusted freely, and are generally selected as positive values. ε 1 and ε 2 are softening coefficients, which can be adjusted freely. Generally, they are selected as positive values, and are mainly used to adjust the flutter of the system response.

其次,针对上述柔化函数信号f1与变结构信号进行组合s2,形成如下q轴定子电压uq,其计算方式如下:Secondly, the above softening function signal f 1 and the variable structure signal are combined s 2 to form the following q-axis stator voltage u q , which is calculated as follows:

其中k5、ε3、ε4为控制参数,可自由调节,一般选取为正值。Among them, k 5 , ε 3 , and ε 4 are control parameters, which can be adjusted freely and generally selected as positive values.

步骤S40,根据测量转速信号与期望转速信号的比较误差,设计基于柔化函数与非线性变结构方法的q轴定子电流的期望值为iqcStep S40 , according to the comparison error between the measured rotational speed signal and the expected rotational speed signal, the expected value of the q-axis stator current i qc based on the softening function and nonlinear variable structure method is designed.

具体的,首先设定电机的期望转速为ωmc,根据上述电机转速的测量值ωm(步骤S10测量),进行比较得到电机转速误差信号,记为eω,其计算方式如下:eω=ωmmcConcretely, first set the expected rotational speed of the motor as ω mc , and compare it with the measured value ω m of the motor rotational speed (measured in step S10) to obtain the motor rotational speed error signal, denoted as e ω , and its calculation method is as follows: e ω = ω m −ω mc .

其次,根据电机的转速误差信号eω,构造转速误差积分信号,记为s,其计算方式如下:s=∫eωdt,dt表示对时间信号积分。根据上述电机转速误差信号eω与转速误差积分信号s,构造第三个变结构滑模信号s3,其计算如下:Secondly, according to the motor speed error signal e ω , construct the speed error integral signal, denoted as s , and its calculation method is as follows: s =∫e ω dt, where dt represents the time signal integration. According to the above motor speed error signal and speed error integral signal s , construct the third variable structure sliding mode signal s 3 , which is calculated as follows:

s3=eω+k6s s 3 =e ω +k 6 s

其中k6为控制参数,可自由调节,一般选取为正值。Among them, k 6 is a control parameter, which can be adjusted freely, and is generally selected as a positive value.

再次,根据第三个变结构滑模信号s3构造其积分信号,记作ss3,其计算如下:Again, according to the third variable structure sliding mode signal s 3 to construct its integral signal, denoted as s s3 , its calculation is as follows:

ss3=∫s3dts s3 = ∫s 3 dt

其中dt表示对时间信号积分。where dt represents the integration of the time signal.

然后根据上述第三个变结构滑模信号s3与积分信号构造第四个变结构滑模面信号,记作s4,其计算如下:Then construct the fourth variable structure sliding mode surface signal based on the above third variable structure sliding mode signal s 3 and integral signal, denoted as s 4 , and its calculation is as follows:

其中k7为控制参数,可自由调节,一般选取为正值。ε5为柔化系数,可自由调节,一般选取为正值,主要用于调节系统响应的颤振。Among them, k 7 is a control parameter, which can be adjusted freely, and is generally selected as a positive value. ε 5 is the softening coefficient, which can be adjusted freely. Generally, it is selected as a positive value, which is mainly used to adjust the flutter of the system response.

此后根据上述第三个变结构滑模信号s4构造非线性柔化函数信号f2,其计算如下:Afterwards, the nonlinear softening function signal f 2 is constructed according to the above-mentioned third variable structure sliding mode signal s 4 , and its calculation is as follows:

其中k8、k9为控制参数,可自由调节,一般选取为正值。ε6、ε7为柔化系数,可自由调节,一般选取为正值,主要用于调节系统响应的颤振。Among them, k 8 and k 9 are control parameters, which can be adjusted freely, and are generally selected as positive values. ε 6 and ε 7 are softening coefficients, which can be adjusted freely. Generally, they are selected as positive values, and are mainly used to adjust the flutter of the system response.

最后按照如下式设计q轴定子电流的期望值为iqc,其计算方式如下:Finally, the expected value of the q-axis stator current i qc is designed according to the following formula, and its calculation method is as follows:

iqc=-k10s4-f2 i qc =-k 10 s 4 -f 2

其中k10是控制参数,可以自由调节,一般选取为正值。Among them, k 10 is a control parameter, which can be adjusted freely, and is generally selected as a positive value.

步骤S50,根据上述Park变换后得到的iq值与q轴定子电流的期望值iqc进行比较,得到q轴定子电流误差信号,并构建变结构滑模信号Step S50, compare the i q value obtained after the above-mentioned Park transformation with the expected value i qc of the q-axis stator current, obtain the q-axis stator current error signal, and construct the variable structure sliding mode signal

具体的,首先根据上述Park变换后得到的iq值,进行比较得到q轴电流误差信号,记作eiq,其比较方式为eiq=iq-iqc。根据上述q轴电流误差信号,设计q轴电流误差信号seiq,其计算如下:Specifically, firstly, according to the value of i q obtained after the above-mentioned Park transformation, the q-axis current error signal is obtained by comparison, denoted as e iq , and the comparison method is e iq =i q -i qc . According to the above q-axis current error signal, the q-axis current error signal s eiq is designed, and its calculation is as follows:

seiq=∫eiqdts eiq =∫e iq dt

dt表示对时间信号积分。dt means integrating the time signal.

其次,根据上述q轴电流误差信号eiq与q轴电流误差积分信号seiq组成第五个变结构滑模面信号,记作s5,其计算如下:Secondly, according to the q-axis current error signal e iq and the q-axis current error integral signal s eiq to form the fifth variable structure sliding mode surface signal, denoted as s 5 , its calculation is as follows:

s5=eiq+k11seiq s 5 =e iq +k 11 s eiq

其中k11为控制参数,可自由调节,一般选取为正值。Among them, k 11 is a control parameter, which can be adjusted freely, and is generally selected as a positive value.

然后根据上述第五个变结构滑模信号s5,构造其积分信号,记作ss5,其计算如下:Then, according to the above-mentioned fifth variable structure sliding mode signal s 5 , construct its integral signal, denoted as s s5 , and its calculation is as follows:

ss5=∫s5dts s5 = ∫s 5 dt

其中dt表示对时间信号积分。where dt represents the integration of the time signal.

最后根据上述第五个变结构滑模信号s5与积分信号ss5构造第六个变结构滑模面信号,记作s6,其计算如下:Finally, according to the fifth variable structure sliding mode signal s 5 and the integral signal s s5 , the sixth variable structure sliding mode surface signal is constructed, denoted as s 6 , and its calculation is as follows:

s6=s5+k12ss5 s 6 =s 5 +k 12 s s5

其中k12为控制参数,可自由调节,一般选取为正值。Among them, k 12 is a control parameter, which can be adjusted freely, and is generally selected as a positive value.

步骤S60,根据上述第六个变结构滑模信号s6,设计基于柔化函数与非线性变结构方法的d轴定子电压ud,并通过变换送给电机,实现转速稳定控制Step S60, according to the sixth variable structure sliding mode signal s 6 above, design the d-axis stator voltage u d based on the softening function and the nonlinear variable structure method, and send it to the motor through transformation to realize the stable speed control

首先,针对上述第一至第六个变结构滑模面信号,构建如下柔化函数信号f3,其计算如下:First, for the first to sixth variable-structure sliding mode surface signals above, the following softening function signal f 3 is constructed, and its calculation is as follows:

其中k13、k14为控制参数,可自由调节,一般选取为正值。ε8、ε9为柔化系数,可自由调节,一般选取为正值,主要用于调节系统响应的颤振。Among them, k 13 and k 14 are control parameters, which can be adjusted freely, and are generally selected as positive values. ε 8 and ε 9 are softening coefficients, which can be adjusted freely. Generally, they are selected as positive values, and are mainly used to adjust the flutter of the system response.

其次,针对上述柔化函数信号f3与变结构信号进行组合s6,形成如下d轴定子电压ud,其计算方式如下:Secondly, the above softening function signal f 3 and the variable structure signal are combined s 6 to form the following d-axis stator voltage u d , which is calculated as follows:

其中k15、ε10、ε11为控制参数,可自由调节,一般选取为正值。Among them, k 15 , ε 10 , and ε 11 are control parameters, which can be adjusted freely, and are generally selected as positive values.

再次,针对所述设计的q轴定子电压uq(步骤S30获得)与d轴定子电压ud(步骤S60获得),进行Park逆变换如下Again, for the designed q-axis stator voltage u q (obtained in step S30) and d-axis stator voltage u d (obtained in step S60), the inverse Park transformation is performed as follows

其中uα、uβ为两相静止坐标系中的α、β轴定子电压,最后将uα、uβ输出给空间矢量脉宽调制与三相逆变器,最终输出给永磁同步电机,控制电机转速达到给得的速度ωmc。有关空间矢量脉宽调制与三相逆变器为本专业成熟技术,非本发明保护内容,故在此不详细展开说明。Among them, u α and u β are the α and β axis stator voltages in the two-phase stationary coordinate system. Finally, u α and u β are output to the space vector pulse width modulation and three-phase inverter, and finally output to the permanent magnet synchronous motor. Control the motor speed to a given speed ω mc . The space vector pulse width modulation and the three-phase inverter are mature technologies in this field and are not protected by the present invention, so they will not be described in detail here.

最后,根据系统的响应情况,进行全部参数k1至k15以及ε1至ε11的调试,选取合适的控制参数,最终完成电机转速控制。Finally, according to the response of the system, debug all the parameters k1 to k15 and ε1 to ε11 , select the appropriate control parameters, and finally complete the motor speed control.

案例实施与计算机仿真模拟结果分析:Case implementation and analysis of computer simulation results:

本案例是在选取电机负载转矩Tl为Tl=1N·m的情况,电机极对数选取pn=2情况进行的。This case is carried out under the condition that the load torque T l of the motor is selected as T l =1N·m, and the number of pole pairs of the motor is selected as p n =2.

步骤S10的测量过程与坐标变换过程与前文描述相同,在此不再重复。The measurement process and coordinate transformation process of step S10 are the same as those described above and will not be repeated here.

步骤S20中设定k1=1,k2=0.1,得到第一、二个变结构滑模面曲线如图2、3所示。In step S20, k 1 =1 and k 2 =0.1 are set, and the first and second variable structure sliding mode surface curves are obtained as shown in FIGS. 2 and 3 .

步骤S30,设定k3=100,k4=100,ε1=2、ε2=2、k5=200、ε3=0.4、ε4=0.5。最终d轴定子电流跟踪期望值0的情况见附图4所示。可见d轴定子电流大约在4s后跟踪至期望值0,跟踪情况良好,而且震荡较小。Step S30, set k 3 =100, k 4 =100, ε 1 =2, ε 2 =2, k 5 =200, ε 3 =0.4, ε 4 =0.5. The situation that the final d-axis stator current tracks the expected value 0 is shown in Fig. 4 . It can be seen that the d-axis stator current tracks to the expected value 0 after about 4s, and the tracking is good, and the oscillation is small.

步骤S40,设定k6=1、k7=0.1、ε5=3、k8=50、k9=50、ε6=1.5、ε7=2.5,k10=200,得到第三、四个变结构滑模面曲线如图5、6所示。q轴定子电流的期望值曲线为iqc如图7所示。Step S40, set k 6 =1, k 7 =0.1, ε 5 =3, k 8 =50, k 9 =50, ε 6 =1.5, ε 7 =2.5, k 10 =200, get the third and fourth The sliding mode surface curves of a variable structure are shown in Fig. 5 and Fig. 6. The expected value curve of the q-axis stator current is i qc as shown in Figure 7.

步骤S50,设定k11=1、k12=0.1,得到第三、四个变结构滑模面曲线如图8、9所示。In step S50, k 11 =1 and k 12 =0.1 are set, and the third and fourth variable structure sliding mode surface curves are obtained as shown in FIGS. 8 and 9 .

步骤S60,设定k13=2、k14=2、k15=20、ε8=5、ε9=4.5、ε10=3.5、ε12=3.5。Step S60, set k 13 =2, k 14 =2, k 15 =20, ε 8 =5, ε 9 =4.5, ε 10 =3.5, ε 12 =3.5.

最终q轴定子电流iq的实际值跟踪期望值iqc的情况如图10所示,可见稳态情况下,两者能够基本跟踪,有部分静差,但不影响最终的转速控制。最终永磁同步电机的转速跟踪期望值情况如图11所示。可见最终永磁同步电机的转速能够准确地跟踪期望转速ωmc=12.6rad/s。因此本发明所提供方法是合理与有效的。The actual value of the final q-axis stator current i q tracks the expected value i qc as shown in Figure 10. It can be seen that in the steady state, the two can basically track, and there is some static difference, but it does not affect the final speed control. The final rotational speed tracking expectation value of the permanent magnet synchronous motor is shown in Figure 11. It can be seen that the final rotational speed of the permanent magnet synchronous motor can accurately track the desired rotational speed ω mc =12.6rad/s. Therefore, the method provided by the present invention is reasonable and effective.

在上述基础上,考虑具体不同永磁同步电机负载大小的变化、永磁体基本激励磁场链过定子绕组的磁链大小变化、定子绕组电感大小变化,可以对上述参数进行微调,最终确定永磁同步电机的全套参数,从而完成过采用非线性柔化与变结构滑模实现永磁同步电机转速稳定控制的方法设计。On the basis of the above, considering the change of the load of different permanent magnet synchronous motors, the change of the flux linkage of the basic excitation magnetic field chain of the permanent magnet through the stator winding, and the change of the inductance of the stator winding, the above parameters can be fine-tuned to finally determine the permanent magnet synchronous The complete set of parameters of the motor has been completed, so as to complete the design of the method for the stable control of the permanent magnet synchronous motor speed by using nonlinear softening and variable structure sliding mode.

本发明采用柔化函数与滑模变结构相结合的方法来实现永磁同步电机的转速控制,通过构建多个变结构滑模来保证系统的稳定性与准确性,而同时引入柔化函数来减弱系统的颤震问题,而且案例实施与计算机仿真模拟结果分析的实验表明该方法的鲁棒性比较好,如图10、11所示能够适应负载的变化,对q轴定子电流iq的实际值跟踪期望值iqc稳定跟踪,控制永磁同步电机的转速准确地跟踪期望转速。The present invention adopts the method of combining the softening function and the sliding mode variable structure to realize the speed control of the permanent magnet synchronous motor, and ensures the stability and accuracy of the system by constructing multiple variable structure sliding modes, and at the same time introduces the softening function to The chattering problem of the system can be weakened, and the experiment of case implementation and computer simulation simulation results analysis shows that the robustness of this method is relatively good, as shown in Figure 10 and 11, it can adapt to the change of load, and the actual value of the q-axis stator current i q The value tracks the expected value i qc to track stably, and the rotational speed of the permanent magnet synchronous motor is controlled to accurately track the expected rotational speed.

本发明的优点在于具有很强的抗干扰能力,能够消除负载与模型参数变化对控制性能的不良影响,同时柔化函数的引入消除了颤震影响,而且变结构滑模方法具有很好的快速性。The invention has the advantages of strong anti-interference ability, can eliminate the adverse effects of load and model parameter changes on the control performance, and at the same time, the introduction of the softening function eliminates the influence of chatter, and the variable structure sliding mode method has a good fast sex.

本领域技术人员在考虑说明书及实践这类的发明后,将容易想到本发明的其他实施例。本申请旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本发明未指明的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由权利要求指出。Other embodiments of the invention will be readily apparent to those skilled in the art from consideration of the specification and practice of such an invention. This application is intended to cover any modification, use or adaptation of the present invention. These modifications, uses or adaptations follow the general principles of the present invention and include common knowledge or conventional technical means in the technical field not specified in the present invention . The specification and examples are to be considered exemplary only, with the true scope and spirit of the invention indicated by the appended claims.

Claims (3)

1.非线性柔化与变结构滑模控制永磁同步电机转速稳定的方法,其特征在于,包括以下步骤:1. The method for nonlinear softening and variable structure sliding mode control permanent magnet synchronous motor rotating speed stability, is characterized in that, comprises the following steps: 步骤S10,测量永磁同步电机的转子的位置、转速与三相电流中两相电流,并对两相电流进行坐标变换;Step S10, measuring the position and speed of the rotor of the permanent magnet synchronous motor and the two-phase current in the three-phase current, and performing coordinate transformation on the two-phase current; 步骤S20,设定d轴定子电流的期望为0,针对定子电流误差信号,设计第一个与第二个变结构滑模信号s1与s2Step S20, setting the expectation of the d-axis stator current as 0, and designing the first and second variable structure sliding mode signals s 1 and s 2 for the stator current error signal; 步骤S30,针对上述第二个变结构滑模信号s2,设计基于柔化函数与非线性变结构方法的q轴定子电压uqStep S30, for the above-mentioned second variable structure sliding mode signal s 2 , design the q-axis stator voltage u q based on the softening function and nonlinear variable structure method; 步骤S40,根据测量转速信号与期望转速信号的比较误差,设计基于柔化函数与非线性变结构方法的q轴定子电流的期望值为iqcStep S40, according to the comparison error between the measured speed signal and the expected speed signal, design the expected value of the q-axis stator current i qc based on the softening function and the nonlinear variable structure method; 步骤S50,根据上述Park变换后得到的iq值与q轴定子电流的期望值iqc进行比较,得到q轴定子电流误差信号,并构建变结构滑模信号;Step S50, comparing the iq value obtained after the above-mentioned Park transformation with the expected value iqc of the q-axis stator current to obtain the q-axis stator current error signal, and construct a variable structure sliding mode signal; 步骤S60,根据上述第六个变结构滑模信号s6,设计基于柔化函数与非线性变结构方法的d轴定子电压ud,并通过变换送给电机,实现转速稳定控制;Step S60, according to the sixth variable structure sliding mode signal s 6 , design the d-axis stator voltage u d based on the softening function and nonlinear variable structure method, and send it to the motor through transformation to realize the stable control of the speed; 其中,对于步骤S20针对定子电流误差信号,设计第一个与第二个变结构滑模信号s1与s2,步骤包括:Wherein, for the step S20, aiming at the stator current error signal, designing the first and second variable structure sliding mode signals s 1 and s 2 , the steps include: s1=eid+k1seid,s2=s1+k2ss1 s 1 =e id +k 1 s eid , s 2 =s 1 +k 2 s s1 其中k1、k2为控制参数,可自由调节,选取为正值,Among them, k 1 and k 2 are control parameters, which can be adjusted freely and are selected as positive values, 其中eid为d轴电流误差信号,其计算如下:Where e id is the d-axis current error signal, which is calculated as follows: eid=id-0=id e id = i d -0 = i d 其中0为d轴定子电流的期望值,id为Park变换后得到的d轴的定子电流,其中seid为d轴电流误差积分信号,其计算如下:Where 0 is the expected value of the d-axis stator current, id is the d-axis stator current obtained after Park transformation, and seid is the d -axis current error integral signal, which is calculated as follows: seid=∫eiddts eid = ∫e id dt 其中dt表示对时间信号积分,where dt represents the integration of the time signal, 其中ss1为所述第一个变结构滑模信号的积分信号,其计算如下:Wherein s s1 is the integral signal of described first variable structure sliding mode signal, and its calculation is as follows: ss1=∫s1dts s1 = ∫s 1 dt 其中dt表示对时间信号积分;where dt represents the integration of the time signal; 其中,对于步骤S30针对所述第一、二个变结构滑模信号s1与s2,设计基于柔化函数与非线性变结构方法的q轴定子电压uq,步骤包括:Wherein, for step S30, for the first and second variable structure sliding mode signals s 1 and s 2 , designing the q-axis stator voltage u q based on the softening function and nonlinear variable structure method, the steps include: 其中k3、k4、k5、ε3、ε4为控制参数,可自由调节,选取为正值,其中f1为柔化函数信号,ε1、ε2为柔化系数,可自由调节,选取为正值,用于调节系统响应的颤振;Among them, k 3 , k 4 , k 5 , ε 3 , and ε 4 are control parameters, which can be adjusted freely and are selected as positive values. Among them, f 1 is the softening function signal, and ε 1 and ε 2 are softening coefficients, which can be adjusted freely , selected as a positive value, is used to adjust the flutter of the system response; 其中,对于步骤S40根据所述的测量转速信号与期望转速信号的比较误差,设计基于柔化函数与非线性变结构方法的q轴定子电流的期望值为iqc,步骤包括:Wherein, for step S40, according to the comparison error between the measured rotational speed signal and the expected rotational speed signal, the design of the expected value of the q-axis stator current i qc based on the softening function and the nonlinear variable structure method includes: iqc=-k10s4-f2 i qc =-k 10 s 4 -f 2 其中k10是控制参数,可以自由调节,选取为正值,而Among them, k 10 is the control parameter, which can be adjusted freely and is selected as a positive value, while s3、s4为第三个和第四个变结构滑模信号,其中k8、k9为控制参数,可自由调节,选取为正值,ε6、ε7为柔化系数,可自由调节,选取为正值,用于调节系统响应的颤振,s 3 and s 4 are the third and fourth variable structure sliding mode signals, among which k 8 and k 9 are control parameters, which can be adjusted freely, and they are selected as positive values, and ε 6 and ε 7 are softening coefficients, which can be freely adjusted. Adjustment, selected as a positive value, used to adjust the flutter of the system response, 上式中s4的计算如下:The calculation of s4 in the above formula is as follows: 其中k7为控制参数,可自由调节,选取为正值,ε5为柔化系数,可自由调节,选取为正值,用于调节系统响应的颤振,Among them, k 7 is a control parameter, which can be adjusted freely, and is selected as a positive value; ε 5 is a softening coefficient, which can be adjusted freely, and is selected as a positive value, which is used to adjust the flutter of the system response. 上式中s3与ss3的计算如下:The calculation of s 3 and s s3 in the above formula is as follows: s3=eω+k6s,ss3=∫s3dts 3 =e ω +k 6 s , s s3 =∫s 3 dt 其中k6为控制参数,可自由调节,选取为正值,ss3为s3的积分信号,其中dt表示对时间信号积分,Among them, k 6 is the control parameter, which can be adjusted freely, and is selected as a positive value, s s3 is the integral signal of s 3 , where dt represents the integration of the time signal, 上式中eω=ωmmc,s=∫eωdtIn the above formula, e ω =ω mmc , s =∫e ω dt 其中ωm为上述电机转速的测量值,ωmc为电机的期望转速,eω为电机的转速误差信号,s为电机转速误差积分信号,dt表示对时间信号积分;Among them, ω m is the measured value of the above-mentioned motor speed, ω mc is the expected speed of the motor, e ω is the speed error signal of the motor, s is the integral signal of the motor speed error, and dt represents the integration of the time signal; 其中,对于步骤S50针对所述q轴定子电流的期望值iqc与q轴定子电流的实际值进行比较得到电流误差信号,构建变结构滑模信号s5与s6,步骤包括;Wherein, for step S50, comparing the expected value i qc of the q-axis stator current with the actual value of the q-axis stator current to obtain a current error signal, and constructing variable structure sliding mode signals s 5 and s 6 , the steps include; s5=eiq+k11seiq s 5 =e iq +k 11 s eiq s5为第五个变结构滑模信号,其中k11为控制参数,可自由调节,选取为正值,eiq为Park变换后得到的iq值与q轴定子电流的期望值iqc进行比较后得到的q轴电流误差信号,其计算方式为eiq=iq-iqc,seiq为q轴电流误差信号的积分,其计算如下:s 5 is the fifth variable structure sliding mode signal, in which k 11 is the control parameter, which can be adjusted freely and is selected as a positive value. e iq is the value of i q obtained after Park transformation and compared with the expected value i qc of the q-axis stator current The q-axis current error signal obtained later is calculated as e iq =i q -i qc , s eiq is the integral of the q-axis current error signal, and its calculation is as follows: seiq=∫eiqdts eiq =∫e iq dt dt表示对时间信号积分,dt means integrating the time signal, s6为第六个变结构滑模面信号,其计算如下:s 6 is the sixth variable structure sliding mode surface signal, which is calculated as follows: s6=s5+k12ss5 s 6 =s 5 +k 12 s s5 其中k12为控制参数,可自由调节,选取为正值,Among them, k 12 is a control parameter, which can be adjusted freely, and is selected as a positive value, 其中ss5为第五个变结构滑模信号s5的积分信号,其计算如下:Where s s5 is the integral signal of the fifth variable structure sliding mode signal s 5 , which is calculated as follows: ss5=∫s5dts s5 = ∫s 5 dt 其中dt表示对时间信号积分;where dt represents the integration of the time signal; 其中,对于步骤S60针对第六个变结构滑模信号,设计基于柔化函数与非线性变结构方法的d轴定子电压ud,步骤包括Wherein, for the sixth variable structure sliding mode signal in step S60, design the d-axis stator voltage u d based on the softening function and nonlinear variable structure method, the steps include 其中k15、ε10、ε11为控制参数,可自由调节,选取为正值,Among them, k 15 , ε 10 , and ε 11 are control parameters, which can be adjusted freely and are selected as positive values. 其中f3为柔化函数信号,其计算如下:Where f 3 is the softening function signal, which is calculated as follows: 其中k13、k14为控制参数,可自由调节,选取为正值,ε8、ε9为柔化系数,可自由调节,选取为正值,用于调节系统响应的颤振。Among them, k 13 and k 14 are control parameters, which can be adjusted freely, and are selected as positive values. ε 8 , ε 9 are softening coefficients, which can be adjusted freely, and are selected as positive values, which are used to adjust the flutter of the system response. 2.根据权利要求1所述的方法,其特征在于,对于步骤S10测量所述永磁同步电机的转子的位置、转速与三相电流中两相进行测量,并对电流进行坐标变换,步骤包括:2. The method according to claim 1, characterized in that, for step S10 measuring the position of the rotor of the permanent magnet synchronous motor, the rotating speed and two phases in the three-phase current are measured, and the coordinate transformation is carried out to the current, the steps include : 测量永磁同步电机转子的位置与转速信号,其中转子位置记为θm,转速记为ωm;通过霍尔电流传感器检测永磁同步电机三相电流信号,分别记作ia、ib、icMeasure the position and speed signals of the rotor of the permanent magnet synchronous motor, where the rotor position is recorded as θ m , and the speed is recorded as ω m ; the three-phase current signals of the permanent magnet synchronous motor are detected by the Hall current sensor, which are respectively recorded as ia , ib , i c , 对三相电流中的ia、ib进行Clarke变换,得到两相静止坐标系中的定子电流iα、iβ,其中Clarke变换定义如下:Perform Clarke transformation on i a and i b in the three-phase current to obtain the stator current i α and i β in the two-phase stationary coordinate system, where the Clarke transformation is defined as follows: 进行如下的Prak变换,得到两相旋转坐标系d、q轴的定子电流iq与id,其中Park变换的定义如下:Carry out the following Prak transformation to obtain the stator current i q and i d of the two-phase rotating coordinate system d, q axis, where the Park transformation is defined as follows: 其中θe由转子位置的测量值θm进行变换得到,where θ e is obtained by transforming the measured value θ m of the rotor position, 即θe=pnθm,其中pn为电机极对数。That is, θ e =p n θ m , where p n is the number of pole pairs of the motor. 3.根据权利要求1所述的方法,其特征在于,对于步骤S60针对所述设计的q轴定子电压uq与d轴定子电压ud进行Park逆变换如下3. The method according to claim 1, characterized in that, for the designed q-axis stator voltage u q and d-axis stator voltage u d for step S60, carry out Park inverse transformation as follows 其中uα、uβ为两相静止坐标系中的α、β轴定子电压,然后,将uα、uβ输出给空间矢量脉宽调制与三相逆变器通过永磁同步电机控制电机转速达到给得的速度ωmcwhere u α and u β are the α and β axis stator voltages in the two-phase stationary coordinate system, and then output u α and u β to the space vector pulse width modulation and three-phase inverter to control the motor speed through the permanent magnet synchronous motor The given speed ω mc is reached.
CN201910986991.8A 2019-10-15 2019-10-15 Nonlinear Softening and Variable Structure Sliding Mode Control of Permanent Magnet Synchronous Motors for Speed Stabilization Active CN110620534B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910986991.8A CN110620534B (en) 2019-10-15 2019-10-15 Nonlinear Softening and Variable Structure Sliding Mode Control of Permanent Magnet Synchronous Motors for Speed Stabilization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910986991.8A CN110620534B (en) 2019-10-15 2019-10-15 Nonlinear Softening and Variable Structure Sliding Mode Control of Permanent Magnet Synchronous Motors for Speed Stabilization

Publications (2)

Publication Number Publication Date
CN110620534A true CN110620534A (en) 2019-12-27
CN110620534B CN110620534B (en) 2020-11-20

Family

ID=68925873

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910986991.8A Active CN110620534B (en) 2019-10-15 2019-10-15 Nonlinear Softening and Variable Structure Sliding Mode Control of Permanent Magnet Synchronous Motors for Speed Stabilization

Country Status (1)

Country Link
CN (1) CN110620534B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112886888A (en) * 2021-01-12 2021-06-01 烟台大学 Fuzzy error feedback permanent magnet synchronous motor rotating speed control method
CN113179071A (en) * 2021-05-11 2021-07-27 烟台大学 Two-axis secondary distribution nonlinear decoupling permanent magnet motor rotating speed control method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040189234A1 (en) * 2003-03-26 2004-09-30 Tokyo Seimitsu Co., Ltd. Uniaxial drive unit
CN110212837A (en) * 2019-06-13 2019-09-06 中国矿业大学 Synchronous motor control method and system based on composite nonlinear feedback Integral Sliding Mode

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040189234A1 (en) * 2003-03-26 2004-09-30 Tokyo Seimitsu Co., Ltd. Uniaxial drive unit
CN110212837A (en) * 2019-06-13 2019-09-06 中国矿业大学 Synchronous motor control method and system based on composite nonlinear feedback Integral Sliding Mode

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112886888A (en) * 2021-01-12 2021-06-01 烟台大学 Fuzzy error feedback permanent magnet synchronous motor rotating speed control method
CN113179071A (en) * 2021-05-11 2021-07-27 烟台大学 Two-axis secondary distribution nonlinear decoupling permanent magnet motor rotating speed control method
CN113179071B (en) * 2021-05-11 2022-05-10 烟台大学 Two-axis secondary distribution nonlinear decoupling permanent magnet motor rotating speed control method

Also Published As

Publication number Publication date
CN110620534B (en) 2020-11-20

Similar Documents

Publication Publication Date Title
CN107317532B (en) Predictive current control method and system for permanent magnet synchronous motor based on sliding mode
CN104360171B (en) Method for measuring inductance parameter of permanent magnet synchronous motor
CN109495048A (en) Permanent magnet synchronous motor Speed Sensorless Control Method based on MRAC observer
CN114465543B (en) Permanent magnet synchronous motor sensorless control method
CN104518714A (en) Resolver calibration for permanent magnet synchronous motor
CN105871281B (en) A kind of improved permagnetic synchronous motor Model Predictive Control Algorithm
CN102545740A (en) Low-speed position sensorless control method for surface mounted permanent magnet synchronous motor
CN106026803A (en) Speed sensorless control method based on sliding-mode observer
CN110112974B (en) Motor control method, controller, storage medium, and motor drive system
CN102647134A (en) An efficiency optimization control method for permanent magnet synchronous motor without angle sensor
CN106059424A (en) Improved Kalman observer based control method free of speed sensor
CN104767445B (en) A kind of mounted permasyn morot method for controlling torque in face of no current feedback
CN106788049A (en) Speedless sensor moment controlling system and method based on cascade sliding mode observer
CN108964527A (en) PMSM method for suppressing torque ripple under Stator current vector orientation
CN110620534B (en) Nonlinear Softening and Variable Structure Sliding Mode Control of Permanent Magnet Synchronous Motors for Speed Stabilization
US7774148B2 (en) Torque estimator for IPM motors
CN108418491B (en) Three-phase Four-switch converter permanent magnet synchronous motor system flux linkage control method based on simplified model prediction
CN114726273A (en) A non-inductive control system and method for PCB disc permanent magnet synchronous motor based on improved sliding mode observer
TW202023175A (en) Device and method for controlling rotary electric machine
CN111327243B (en) Rotating electrical machine control device and control method thereof
JP2008219982A (en) Synchronous motor position estimation method and program thereof
CN110518855A (en) Using the adaptive method controlled with straight feedback compensation permanent magnet synchronous motor angular speed
TW202118218A (en) Method for estimating d-q axis inductance of permanent magnet synchronous motor
CN111049457A (en) Current mode control using motor inverse decoupling in electric power steering system
CN108270373A (en) A kind of permanent magnet synchronous motor rotor position detection method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Nonlinear flexibility and variable structure sliding mode control method for speed stability of permanent magnet synchronous motor

Effective date of registration: 20211214

Granted publication date: 20201120

Pledgee: Yantai financing guarantee Group Co.,Ltd.

Pledgor: Yantai University

Registration number: Y2021980014841

PE01 Entry into force of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20220317

Granted publication date: 20201120

Pledgee: Yantai financing guarantee Group Co.,Ltd.

Pledgor: Yantai University

Registration number: Y2021980014841

PC01 Cancellation of the registration of the contract for pledge of patent right