CN116317752A - A speed smooth switching control method for permanent magnet in-wheel motors in a wide speed range - Google Patents
A speed smooth switching control method for permanent magnet in-wheel motors in a wide speed range Download PDFInfo
- Publication number
- CN116317752A CN116317752A CN202310246115.8A CN202310246115A CN116317752A CN 116317752 A CN116317752 A CN 116317752A CN 202310246115 A CN202310246115 A CN 202310246115A CN 116317752 A CN116317752 A CN 116317752A
- Authority
- CN
- China
- Prior art keywords
- observer
- speed
- torque
- gain
- permanent magnet
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 230000001629 suppression Effects 0.000 claims abstract description 13
- 230000008569 process Effects 0.000 claims abstract description 11
- 230000001360 synchronised effect Effects 0.000 claims abstract description 9
- 230000003044 adaptive effect Effects 0.000 claims description 6
- 238000004458 analytical method Methods 0.000 claims description 5
- 238000005259 measurement Methods 0.000 claims description 4
- 230000000630 rising effect Effects 0.000 claims 1
- 229920006395 saturated elastomer Polymers 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 14
- 101710163391 ADP-ribosyl cyclase/cyclic ADP-ribose hydrolase Proteins 0.000 description 9
- 238000004088 simulation Methods 0.000 description 5
- 238000011217 control strategy Methods 0.000 description 3
- 230000009466 transformation Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000033228 biological regulation Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000009795 derivation Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000004907 flux Effects 0.000 description 1
- 238000009499 grossing Methods 0.000 description 1
- 230000005764 inhibitory process Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P21/00—Arrangements or methods for the control of electric machines by vector control, e.g. by control of field orientation
- H02P21/0003—Control strategies in general, e.g. linear type, e.g. P, PI, PID, using robust control
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P21/00—Arrangements or methods for the control of electric machines by vector control, e.g. by control of field orientation
- H02P21/13—Observer control, e.g. using Luenberger observers or Kalman filters
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P21/00—Arrangements or methods for the control of electric machines by vector control, e.g. by control of field orientation
- H02P21/22—Current control, e.g. using a current control loop
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P25/00—Arrangements or methods for the control of AC motors characterised by the kind of AC motor or by structural details
- H02P25/02—Arrangements or methods for the control of AC motors characterised by the kind of AC motor or by structural details characterised by the kind of motor
- H02P25/022—Synchronous motors
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P25/00—Arrangements or methods for the control of AC motors characterised by the kind of AC motor or by structural details
- H02P25/02—Arrangements or methods for the control of AC motors characterised by the kind of AC motor or by structural details characterised by the kind of motor
- H02P25/022—Synchronous motors
- H02P25/024—Synchronous motors controlled by supply frequency
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P27/00—Arrangements or methods for the control of AC motors characterised by the kind of supply voltage
- H02P27/04—Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage
- H02P27/06—Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage using DC to AC converters or inverters
- H02P27/08—Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage using DC to AC converters or inverters with pulse width modulation
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P29/00—Arrangements for regulating or controlling electric motors, appropriate for both AC and DC motors
- H02P29/50—Reduction of harmonics
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02P—CONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
- H02P2207/00—Indexing scheme relating to controlling arrangements characterised by the type of motor
- H02P2207/05—Synchronous machines, e.g. with permanent magnets or DC excitation
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Control Of Electric Motors In General (AREA)
Abstract
本发明公开了一种宽转速范围内的永磁轮毂电机速度平滑切换控制方法,步骤1,建立永磁同步电机的一阶机械运动方程;步骤2,根据永磁同步电机的一阶机械运动方程建立线性扩张状态观测器LESO,为实现完整的线性自抗扰控制器LADRC设计,建立跟踪微分器和反馈控制规律;步骤3,对LESO的结构进行改进,采用的谐振积分扩张状态观测器RI‑ESO,使其能够同时观测电机控制过程中出现的正弦扰动和常值扰动;步骤4,采用切换RI‑ESO输入的方法来保证系统在宽转速范围内的稳定运行,同时也保证具有谐波扰动的抑制能力;步骤5,在切换Te作为观测器输入时可以适当增加谐振增益的取值,随着转速的升高提升对谐波的抑制能力,可以根据实际情况进行调整。
The invention discloses a speed smooth switching control method of a permanent magnet hub motor within a wide speed range. Step 1 is to establish the first-order mechanical motion equation of the permanent magnet synchronous motor; step 2 is to establish the first-order mechanical motion equation of the permanent magnet synchronous motor. Establish the linear extended state observer LESO, in order to realize the complete linear active disturbance rejection controller LADRC design, establish the tracking differentiator and feedback control law; step 3, improve the structure of LESO, using the resonance integral extended state observer RI‑ ESO, so that it can simultaneously observe the sinusoidal disturbance and constant disturbance in the motor control process; step 4, use the method of switching RI-ESO input to ensure the stable operation of the system in a wide speed range, and also ensure that there are harmonic disturbances In step 5, when switching T e as the observer input, the value of the resonance gain can be appropriately increased, and the harmonic suppression ability can be improved with the increase of the speed, which can be adjusted according to the actual situation.
Description
技术领域technical field
本发明涉及永磁轮毂电机的控制技术领域,具体涉及一种宽转速范围内的永磁轮毂电机速度平滑切换控制策略。The invention relates to the technical field of control of permanent magnet hub motors, in particular to a speed smooth switching control strategy for permanent magnet hub motors within a wide speed range.
背景技术Background technique
近年来,永磁轮毂电机(PMSHM)以其结构简单、可靠性高、控制精度高等优点被广泛应用于直接驱动领域,如电动汽车、电力推进、机器人等。In recent years, permanent magnet in-wheel motors (PMSHMs) have been widely used in direct drive fields, such as electric vehicles, electric propulsion, and robotics, due to their simple structure, high reliability, and high control precision.
然而,在永磁轮毂电机的实际使用中,转矩脉动仍然不可避免地存在。产生转矩脉动的原因有很多,如电机本体结构引起的齿槽转矩和磁通谐波、逆变器死区效应和电流测量误差引起的电压和电流谐波等因素。转矩脉动会直接引起转速波动,位置波动,尤其是对于较大的低阶转矩脉动。严重情况下,甚至会导致系统运行不稳定。因此,为了保证速度的平滑调控以及系统的安全可靠运行,必须采用一定的方法来抑制转矩脉动。However, in the actual use of permanent magnet hub motors, torque ripple still inevitably exists. There are many reasons for torque ripple, such as cogging torque and flux harmonics caused by the structure of the motor body, voltage and current harmonics caused by inverter dead zone effects and current measurement errors. Torque ripple will directly cause speed fluctuation, position fluctuation, especially for larger low-order torque ripple. In severe cases, it may even lead to unstable operation of the system. Therefore, in order to ensure the smooth regulation of the speed and the safe and reliable operation of the system, certain methods must be used to suppress the torque ripple.
针对电磁转矩脉动的抑制,当前所采取的技术方案大体可以划分为两类:一是从电机本体结构设计和优化角度来降低电磁转矩的脉动,二是通过控制算法设计实现转矩脉动的抑制。从电机本体设计上抑制转矩脉动方案,不仅会增加电机设计、制造复杂性,增加制造成本,而且会影响电机的功率密度。另外,电机本体的优化设计无法克服由于驱动控制器谐波所引发的转矩脉动。而从控制的角度主动进行转矩脉动抑制,尽管受制于转矩脉动信息检测、控制误差等因素难以完全消除,但相比而言具有较强的灵活性和适用性。For the suppression of electromagnetic torque ripple, the current technical solutions can be roughly divided into two categories: one is to reduce the electromagnetic torque ripple from the perspective of motor body structure design and optimization, and the other is to achieve torque ripple through control algorithm design. inhibition. The scheme of suppressing torque ripple from the design of the motor body will not only increase the design and manufacturing complexity of the motor, increase the manufacturing cost, but also affect the power density of the motor. In addition, the optimal design of the motor body cannot overcome the torque ripple caused by the harmonics of the drive controller. From the point of view of control, active torque ripple suppression has strong flexibility and applicability, although it is difficult to completely eliminate factors such as torque ripple information detection and control errors.
综上所述,针对PMSHM在实际应用中,由于转矩脉动引起的转速波动甚至是系统不稳定运行问题,有必要提出一种速度平滑控制策略来满足电机运行要求。To sum up, in the practical application of PMSHM, it is necessary to propose a speed smoothing control strategy to meet the motor operation requirements due to the speed fluctuation caused by the torque ripple and even the unstable operation of the system.
发明内容Contents of the invention
基于以上现有技术的不足本发明提出了一种宽转速范围内的永磁轮毂电机速度平滑切换控制策略,本发明的技术方案为:Based on the above deficiencies in the prior art, the present invention proposes a smooth switching control strategy for the speed of permanent magnet in-wheel motors within a wide speed range. The technical solution of the present invention is:
一种宽转速范围内的永磁轮毂电机速度平滑切换控制方法,包括以下步骤:A speed smooth switching control method for a permanent magnet hub motor within a wide speed range, comprising the following steps:
步骤1,建立永磁同步电机的一阶机械运动方程;
步骤2,根据永磁同步电机的一阶机械运动方程建立线性扩张状态观测器LESO,为实现完整的线性自抗扰控制器LADRC设计,建立跟踪微分器和反馈控制规律;Step 2. Establish the linear extended state observer LESO according to the first-order mechanical motion equation of the permanent magnet synchronous motor. In order to realize the complete design of the linear active disturbance rejection controller LADRC, establish the tracking differentiator and the feedback control law;
步骤3,对LESO的结构进行改进,采用的谐振积分扩张状态观测器RI-ESO(Resonance-integral Extended State Observer),使其能够同时观测电机控制过程中出现的正弦扰动和常值扰动;
步骤4,采用切换RI-ESO输入的方法来保证系统在宽转速范围内的稳定运行,同时也保证具有谐波扰动的抑制能力;
步骤5,在切换Te作为观测器输入时可以适当增加谐振增益kr的取值,随着转速的升高提升对谐波的抑制能力,可以根据实际情况进行调整。
进一步,步骤1具体过程为:Further, the specific process of
首先建立永磁同步电机的一阶机械运动方程如下:Firstly, the first-order mechanical motion equation of the permanent magnet synchronous motor is established as follows:
式中ω为电机转子机械角速度,rad/s;Te,TL分别为电磁转矩,负载转矩,N·m;Tr为脉动转矩主要包括了由电机本体原因造成的齿槽转矩,以及由逆变器死区时间造成的六阶谐波转矩等,Te *为电磁转矩给定值,B为粘滞摩擦系数,J为转动惯量,控制增益b=1/J,总扰动不考虑转矩跟踪误差的总扰动fn=-(Bω+Tr+TL)/J。Where ω is the mechanical angular velocity of the motor rotor, rad/s; T e , T L are the electromagnetic torque and load torque, N m; T r is the pulsating torque, which mainly includes the cogging caused by the motor body. torque, and the sixth-order harmonic torque caused by the dead time of the inverter, etc., T e * is the electromagnetic torque given value, B is the viscous friction coefficient, J is the moment of inertia, and the control gain b=1/J , the total disturbance The total disturbance f n =-(Bω+T r +T L )/J without considering the torque tracking error.
进一步,步骤2具体过程为:Further, the specific process of step 2 is:
建立线性扩张状态观测器LESO如下:The linear extended state observer LESO is established as follows:
式中,为测量速度与观测速度之间的误差,δn为测速噪声,b=1/J为控制增益。带有^的变量为估计值,h1,h2为观测器的增益,根据带宽法整定策略,可以确定观测器参数为h1=2ωo,/>ωo为观测器带宽;In the formula, It is the error between the measured speed and the observed speed, δ n is the speed measurement noise, and b=1/J is the control gain. The variable with ^ is the estimated value, h 1 and h 2 are the gain of the observer, according to the tuning strategy of the bandwidth method, the observer parameter can be determined as h 1 =2ω o ,/> ω o is the observer bandwidth;
为实现完整的线性自抗扰控制器LADRC设计还需要跟踪微分器和反馈控制规律,为简化控制器设计并使得参数整定方便,忽略线性跟踪微分器并采用线性反馈控制规律,线性反馈控制规律设计为:In order to realize the design of a complete linear active disturbance rejection controller (LADRC), tracking differentiators and feedback control laws are also required. In order to simplify the controller design and make parameter tuning convenient, the linear tracking differentiator is ignored and the linear feedback control law is used. The linear feedback control law design for:
式中机械角速度ω和总扰动fto通常是未知的,一般可以用它们的观测值进行代替,因此式所示的线性控制规律可以进一步表示为:In the formula, the mechanical angular velocity ω and the total disturbance f to are usually unknown, and generally can be replaced by their observed values. Therefore, the linear control law shown in the formula can be further expressed as:
式中ω*为速度环参考输入,取自扩张状态观测器的观测速度,/>取自扩张状态观测器的观测扰动,kps为控制器的比例增益;Where ω * is the speed loop reference input, The observed velocity from the extended state observer, /> The observed disturbance from the extended state observer, k ps is the proportional gain of the controller;
考虑到实际的系统不可能产生无限的输出,还需要对输出转矩进行限幅处理,采用的限幅函数为Considering that it is impossible for the actual system to produce infinite output, the output torque needs to be limited, and the limiting function adopted is
式中为最大转矩参考,/>为饱和转矩参考。In the formula is the maximum torque reference, /> is the saturation torque reference.
进一步,步骤3中,采用的谐振积分扩张状态观测器RI-ESO在s域下表达式如下:Further, in
式中为测量速度与观测速度之间的误差,/>为速度观测值,δn为测速噪声,kr1,kr2…krn为谐振增益,都大于0,b=1/J为控制增益,ωh1,ωh2…ωhn为谐振频率;式中/>为对常值扰动或者低频扰动的观测值,/>为对谐波扰动的观测值,k1,k2为观测器的增益,采用带宽整定策略,观测器参数k1=2ωo,/>ωo为观测器带宽;In the formula is the error between the measured velocity and the observed velocity, /> is the speed observation value, δ n is the speed measurement noise, k r1 , k r2 ... k rn are the resonance gains, all of which are greater than 0, b=1/J is the control gain, ω h1 , ω h2 ... ω hn are the resonance frequencies; where /> is the observed value of constant disturbance or low frequency disturbance, /> is the observed value of the harmonic disturbance, k 1 and k 2 are the gain of the observer, adopt the bandwidth tuning strategy, the observer parameter k 1 =2ω o ,/> ω o is the observer bandwidth;
观测器对常值扰动采用积分器形式,而对谐波扰动的观测采用谐振控制器形式。The observer adopts the form of an integrator for constant disturbances, and the form of a resonant controller for the observation of harmonic disturbances.
进一步,步骤4的具体过程为:Further, the specific process of
采用Te作为观测器的输入时,有When T e is used as the input of the observer, there is
根据分析可得,系统的闭环传递函数Δcl为According to the analysis, the closed-loop transfer function Δcl of the system is
式中Tci为转矩环时间常数,Δ2=s2+k1s+k2为LADRC的特征多项式,kps为控制器的比例增益,ωh为谐振频率,kr为谐振增益In the formula, T ci is the time constant of the torque loop, Δ 2 =s 2 +k 1 s+k 2 is the characteristic polynomial of LADRC, k ps is the proportional gain of the controller, ω h is the resonant frequency, k r is the resonant gain
根据赫尔维茨稳定判据,在转矩环存在延时的情况下,采用Te作为观测器的输入,系统是恒稳定的,但相比于采用Te *作为观测器输入的情况,采用切换输入的策略来保证系统的稳定运行同时也保证具有谐波扰动的抑制能力,如式(16)所示According to the Hurwitz stability criterion, when there is a delay in the torque loop, using T e as the input of the observer, the system is constant stable, but compared with the case of using T e * as the input of the observer, The strategy of switching input is used to ensure the stable operation of the system and also to ensure the ability to suppress harmonic disturbances, as shown in equation (16)
式中u代表观测器输入,ωhmax为谐振频率最大值,ωh_lim为谐振频率极限值可通过计算稳定性条件离线求得In the formula, u represents the observer input, ω hmax is the maximum value of the resonance frequency, and ω h_lim is the limit value of the resonance frequency, which can be obtained offline by calculating the stability condition
式中C1,B1,A1是为了简化表达式而设置的参数,具体表达式见式(11)In the formula, C 1 , B 1 , and A 1 are parameters set to simplify the expression, and the specific expression is shown in formula (11)
式(11)中x,y,A,B,C,K,a21,a31,b,c,d同样是为了简化表达式而设立的参数,具体为In formula (11), x, y, A, B, C, K, a 21 , a 31 , b, c, d are also parameters set up to simplify the expression, specifically
其中in
式中kps为控制器的比例增益,Tci为转矩环时间常数,k1,k2为观测器的增益,kr为谐振增益;where k ps is the proportional gain of the controller, T ci is the time constant of the torque loop, k 1 and k 2 are the gain of the observer, and k r is the resonance gain;
式中ωh_lim为谐振频率极限值可通过计算稳定性条件离线求得,ωhmax为谐振频率最大值,如在同时抑制1阶,2阶和6阶转矩脉动时:In the formula, ω h_lim is the limit value of resonance frequency, which can be obtained offline by calculating the stability condition, and ω hmax is the maximum value of resonance frequency. For example, when suppressing the 1st order, 2nd order and 6th order torque ripple at the same time:
ωhmax=6pnω (29)ω hmax = 6p n ω (29)
式中pn为极对数。In the formula, p n is the pole logarithm.
进一步,步骤5中,设置的自适应增益kr为Further, in
kr1=kr(1+aωe)=kr(1+apnπn/30) (30)k r1 =k r (1+aω e )=k r (1+ap n πn/30) (30)
ωe为电角速度,n为机械转子角速度,rpm;a为自适应增益为大于0的常数。ω e is the electrical angular velocity, n is the mechanical rotor angular velocity, rpm; a is a constant greater than 0 for the adaptive gain.
有益效果:相比于传统线性自抗扰控制(LADRC),基于RI-ESO自抗扰能够很好的抑制正弦脉动转矩,转速波动由原来17.5rpm下降到4.5rpm。在切换Te作为观测器输入时可以适当增加谐振增益kr的取值,随着转速的升高提升对谐波的抑制能力,可以根据实际情况进行调整,该步骤中采用基于MRI-ESO(改进型谐振积分扩张状态观测器)的自抗扰控制在高速时进行切换控制,能实现较好的脉动转矩抑制效果,且能在宽转速范围内保证系统的稳定性能。Beneficial effects: Compared with the traditional linear active disturbance rejection control (LADRC), the RI-ESO-based ADRC can well suppress the sinusoidal pulsating torque, and the speed fluctuation is reduced from 17.5rpm to 4.5rpm. When switching T e as the input of the observer, the value of the resonance gain k r can be appropriately increased, and the ability to suppress harmonics can be improved with the increase of the rotational speed, which can be adjusted according to the actual situation. In this step, the method based on MRI-ESO ( The active disturbance rejection control of the improved resonance integral extended state observer) switches control at high speed, which can achieve better ripple torque suppression effect and ensure the stability of the system in a wide speed range.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍。显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the embodiments of the present invention or the technical solutions in the prior art more clearly, the following will briefly introduce the drawings required in the embodiments. Apparently, the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to these drawings without any creative work.
图1为本发明实施例基于MRI-ESO自抗扰控制的系统整体控制结构框图;1 is a block diagram of the overall control structure of the system based on MRI-ESO ADRC according to an embodiment of the present invention;
图2为本发明实施例基于LESO的传统LADRC的控制结构框图;Fig. 2 is the control structure block diagram of the traditional LADRC based on LESO according to the embodiment of the present invention;
图3为本发明实施例基于LESO的传统LADRC的抗扰性能伯德图Fig. 3 is the Bode diagram of the anti-interference performance of the traditional LADRC based on LESO according to the embodiment of the present invention
图4为本发明实施例基于RI-ESO的RI-ADRC的抗扰性能伯德图Figure 4 is a Bode diagram of the anti-interference performance of RI-ADRC based on RI-ESO according to the embodiment of the present invention
图5为本发明实施例谐振频率ωh随比例增益kps和带宽ωo变化的三维曲线Fig. 5 is the three-dimensional curve that the resonant frequency ω h changes with the proportional gain k ps and the bandwidth ω o of the embodiment of the present invention
图6为本发明实施例基于RI-ESO的RI-ADRC结构框图;FIG. 6 is a structural block diagram of RI-ADRC based on RI-ESO according to an embodiment of the present invention;
图7为本发明实施例MRI-ESO的结构图Fig. 7 is the structural diagram of MRI-ESO of the embodiment of the present invention
图8为本发明实施例模拟的转矩脉动仿真波形Fig. 8 is the simulated torque ripple simulation waveform of the embodiment of the present invention
图9为本发明实施例基于LESO和RI-ESO的自抗扰控制仿真对比波形Fig. 9 is the comparison waveform of ADRC simulation based on LESO and RI-ESO according to the embodiment of the present invention
图10为本发明实施例100-400rpm给定阶跃下基于RI-ESO的自抗扰控制仿真波形图Fig. 10 is a simulation waveform diagram of active disturbance rejection control based on RI-ESO at a given step of 100-400rpm according to the embodiment of the present invention
图11为本发明实施例100-500rpm给定阶跃下基于MRI-ESO自抗扰控制仿真波形图Fig. 11 is a simulation waveform diagram of active disturbance rejection control based on MRI-ESO under a given step of 100-500rpm according to the embodiment of the present invention
具体实施方式Detailed ways
为了使本发明的目的,技术方案以及优点更加清晰,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。In order to make the purpose of the present invention, technical solutions and advantages clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only Some, but not all, embodiments of the invention.
步骤一:本发明以基于线性扩张状态观测器(LESO)的传统线性自抗扰控制器(LADRC)为基础,对LESO的结构进行改进以及对整定参数进行优化,提高传统LADRC抗谐波扰动性能以及系统稳定性能,具体是:Step 1: The present invention is based on the traditional linear active disturbance rejection controller (LADRC) based on the linear extended state observer (LESO), improves the structure of the LESO and optimizes the setting parameters, and improves the anti-harmonic disturbance performance of the traditional LADRC And system stability performance, specifically:
首先建立永磁同步电机的一阶机械运动方程如下:Firstly, the first-order mechanical motion equation of the permanent magnet synchronous motor is established as follows:
式中ω为电机转子机械角速度,rad/s;Te,TL分别为电磁转矩,负载转矩,N·m;Tr为脉动转矩主要包括了由电机本体原因造成的齿槽转矩,以及由逆变器死区时间造成的六阶谐波转矩等,Te *为电磁转矩给定值,B为粘滞摩擦系数,J为转动惯量,控制增益b=1/J,总扰动不考虑转矩跟踪误差的总扰动fn=-(BQ+Tr+TL)/J。Where ω is the mechanical angular velocity of the motor rotor, rad/s; T e , T L are the electromagnetic torque and load torque, N m; T r is the pulsating torque, which mainly includes the cogging caused by the motor body. torque, and the sixth-order harmonic torque caused by the dead time of the inverter, etc., T e * is the electromagnetic torque given value, B is the viscous friction coefficient, J is the moment of inertia, and the control gain b=1/J , the total disturbance The total disturbance f n =-(BQ+T r +T L )/J without considering the torque tracking error.
步骤二:根据式(1)建立传统LESO如下:Step 2: According to formula (1), the traditional LESO is established as follows:
式中,为测量速度与观测速度之间的误差,带有^的变量为估计值,h1,h2为观测器的增益。根据带宽法整定策略,可以确定观测器参数为h1=2ωo,/>ωo为观测器带宽。In the formula, For the error between the measured speed and the observed speed, the variable with ^ is the estimated value, h 1 and h 2 are the gain of the observer. According to the tuning strategy of the bandwidth method, the observer parameters can be determined as h 1 =2ω o ,/> ω o is the observer bandwidth.
为实现完整的线性自抗扰控制器(LADRC)设计还需要跟踪微分器和反馈控制规律,为简化控制器设计并使得参数整定方便,忽略线性跟踪微分器并采用线性反馈控制规律In order to realize a complete linear active disturbance rejection controller (LADRC) design, a tracking differentiator and a feedback control law are required. In order to simplify the controller design and facilitate parameter tuning, the linear tracking differentiator is ignored and the linear feedback control law is used
线性反馈控制规律设计为:The linear feedback control law is designed as:
式中机械角速度ω和总扰动fto通常是未知的,一般可以用它们的观测值进行代替,因此式所示的线性控制规律可以进一步表示为:In the formula, the mechanical angular velocity ω and the total disturbance f to are usually unknown, and generally can be replaced by their observed values. Therefore, the linear control law shown in the formula can be further expressed as:
式中ω*为速度环参考输入,取自扩张状态观测器的观测速度,/>取自扩张状态观测器的观测扰动,kps为控制器的比例增益Where ω * is the speed loop reference input, The observed velocity from the extended state observer, /> The observed perturbation from the extended state observer, k ps is the proportional gain of the controller
考虑到实际的系统不可能产生无限的输出,还需要对输出转矩进行限幅处理,采用的限幅函数为Considering that it is impossible for the actual system to produce infinite output, the output torque needs to be limited, and the limiting function adopted is
式中为最大转矩参考,/>为饱和转矩参考。In the formula is the maximum torque reference, /> is the saturation torque reference.
基于LESO的传统LADRC控制框图如图2所示The traditional LADRC control block diagram based on LESO is shown in Figure 2
作出伯德图分析可以发现基于传统LESO的LADRC控制器对常值扰动和低频扰动具有较好的抑制能力,但对于特定阶次的谐波扰动抑制能力差甚至没有抑制能力,这是因为传统的LESO采用直流内模原理,能够完全的观测出常值扰动并且基本观测出低频扰动,同时将观测值反馈补偿至控制率。The Bode diagram analysis shows that the traditional LESO-based LADRC controller has a good ability to suppress constant disturbances and low-frequency disturbances, but it has poor or even no ability to suppress harmonic disturbances of a specific order. This is because the traditional LESO adopts the principle of DC internal model, which can completely observe constant value disturbance and basically observe low frequency disturbance, and at the same time, feedback and compensate the observed value to the control rate.
步骤三:为了能实现对于常值扰动以及谐波扰动的共同抑制,需要对传统LESO的结构进行改进,传统的LESO未进行扰动的区分,将其看为整体,而在实际的电机控制应用中,存在转矩脉动这样的正弦扰动,因此需要改进LESO的结构,使其能够同时观测正弦扰动和常值扰动。本发明采用的RI-ESO表达式如下Step 3: In order to achieve common suppression of constant disturbances and harmonic disturbances, it is necessary to improve the structure of the traditional LESO. The traditional LESO does not distinguish the disturbance and regard it as a whole. In the actual motor control application , there are sinusoidal disturbances such as torque ripple, so it is necessary to improve the structure of LESO so that it can observe sinusoidal disturbances and constant disturbances at the same time. The RI-ESO expression that the present invention adopts is as follows
式中kr1,kr2…,为谐振增益,ωh1,ωh2…为谐振频率。In the formula, k r1 , k r2 ... are the resonance gain, ω h1 , ω h2 ... are the resonance frequency.
基于RI-ESO的LADRC控制框图如图6所示The control block diagram of LADRC based on RI-ESO is shown in Figure 6
式中为对常值扰动或者低频扰动的观测,/>为对谐波扰动的观测,观测器对常值扰动采用积分器形式,而对谐波扰动的观测采用谐振控制器形式。In the formula For the observation of constant disturbance or low frequency disturbance, /> For the observation of harmonic disturbances, the observer adopts the form of an integrator for constant disturbances, and the form of a resonant controller for the observation of harmonic disturbances.
根据带宽法可确定系统参数为:k1=2ωo,同时设定谐振增益kr=λk2,λ>0。According to the bandwidth method, the system parameters can be determined as: k 1 =2ω o , At the same time, set the resonance gain k r =λk 2 , where λ>0.
作出伯德图分析,可以发现系统对特定频率的谐波扰动具有较好的抑制能力,同时对于常值扰动和低频扰动的抑制性能与传统LESO相近,如图3.By analyzing the Bode diagram, it can be found that the system has a good ability to suppress harmonic disturbances of specific frequencies, and the suppression performance for constant value disturbances and low-frequency disturbances is similar to that of traditional LESO, as shown in Figure 3.
由于上述分析是建立在不考虑转矩环延时的基础上的,而在系统控制过程中转矩环不可避免的会存在延时,即使是转矩环采用具有快速响应性质的无差拍控制依然会造成控制系统2步延时,通常转矩环可以建模为一个一阶惯性环节即Since the above analysis is based on the fact that the torque loop delay is not considered, there will inevitably be a delay in the torque loop during the system control process, even if the torque loop adopts deadbeat control with fast response It will still cause a 2-step delay in the control system, and usually the torque loop can be modeled as a first-order inertial link, namely
当考虑转矩环带宽时,转矩给定和扰动之间的关系变为了When considering the torque loop bandwidth, the relationship between torque reference and disturbance becomes
如图4.根据推导可得,考虑到转矩环带宽时,基于RI-ESO的自抗扰控制闭环传递函数为As shown in Figure 4. According to the derivation, when considering the bandwidth of the torque loop, the closed-loop transfer function of ADRC based on RI-ESO is
取kps=300,ωo=500rad/s,λ=1,电流环采用无差拍控制,采样周期取0.1ms,则Tci=2Ts=0.2ms,以10对极永磁轮毂电机为例,当抑制6阶转矩谐波(以电角度为基频)时,系统转速稳定极限为338r/min,谐振频率极限ωiim=338hz,因此采用基于RI-ESO的RI-ADRC进行谐波抑制时会出现系统不稳定的情况。Take k ps = 300, ω o = 500rad/s, λ = 1, the current loop adopts dead-beat control, and the sampling period is 0.1ms, then T ci = 2T s = 0.2ms, and the permanent magnet wheel hub motor with 10 pairs of poles is used as For example, when suppressing the sixth-order torque harmonic (with the electrical angle as the fundamental frequency), the system speed stability limit is 338r/min, and the resonance frequency limit ω iim =338hz, so the RI-ADRC based on RI-ESO is used for harmonic System instability occurs when suppressed.
步骤四:为此本发明采用切换RI-ESO输入的方法来保证系统在宽转速范围内的稳定运行,采用Te作为观测器的输入时,有Step 4: For this reason, the present invention adopts the method of switching RI-ESO input to ensure the stable operation of the system in a wide speed range. When T e is used as the input of the observer, there is
根据分析可得,系统的闭环传递函数为According to the analysis, the closed-loop transfer function of the system is
根据赫尔维茨稳定判据,在转矩环存在延时的情况下,采用Te作为观测器的输入,系统是恒稳定的,但相比于采用Te *作为观测器输入的情况,采用Te作为观测器输入由于缺少对这部分扰动的观测,观测效果要差一些,为此可以采用切换输入的策略来保证系统的稳定运行同时也保证具有谐波扰动的抑制能力,如式(16)所示According to the Hurwitz stability criterion, when there is a delay in the torque loop, using T e as the input of the observer, the system is constant stable, but compared with the case of using T e * as the input of the observer, Using T e as the observer input due to the lack of The observation effect of this part of the disturbance is poorer. Therefore, the strategy of switching input can be adopted to ensure the stable operation of the system and also ensure the ability to suppress harmonic disturbances, as shown in formula (16)
式中ωh_lim为谐振频率极限值可通过计算稳定性条件离线求得,ωhmax为谐振频率最大值,如在同时抑制1阶,2阶和6阶转矩脉动时:In the formula, ω h_lim is the limit value of resonance frequency, which can be obtained offline by calculating the stability condition, and ω hmax is the maximum value of resonance frequency. For example, when suppressing the 1st order, 2nd order and 6th order torque ripple at the same time:
ωhmax=6pnω (45)ω hmax = 6p n ω (45)
式中pn为极对数where p n is the number of pole pairs
步骤五:同时为提高对于谐波的抑制能力,在切换Te作为观测器输入时可以适当增加谐振增益kr的取值,即在转速超过规定转速时成比例增加kr取值,设置的自适应增益kr为Step 5: At the same time, in order to improve the ability to suppress harmonics, the value of resonance gain k r can be appropriately increased when switching T e as the input of the observer, that is, the value of k r is proportionally increased when the speed exceeds the specified speed, and the set The adaptive gain k r is
kr1=kr(1+aωe)=kr(1+apnπn/30) (46)k r1 =k r (1+aω e )=k r (1+ap n πn/30) (46)
ωe为电角速度,n为机械转子角速度,rpm;a为自适应增益为大于0的常数,随着转速的升高提升对谐波的抑制能力,可以根据实际情况进行调整ω e is the electrical angular velocity, n is the mechanical rotor angular velocity, rpm; a is a constant whose adaptive gain is greater than 0, and the ability to suppress harmonics is improved with the increase of the rotational speed, which can be adjusted according to the actual situation
根据稳定性判据离线设定切换条件,构建基于MRI-ESO的MRI-ADRC,在电机高速运行并且谐波抑制频率达到极限值时切换Te为观测器输入在保证对谐波抑制能力的前提下,同时保证系统的稳定性,MRI-ESO的结构框图如图7所示。According to the stability criterion, the switching conditions are set offline, and the MRI-ADRC based on MRI-ESO is constructed. When the motor is running at high speed and the harmonic suppression frequency reaches the limit value, switching T e as the observer input is the premise to ensure the ability of harmonic suppression. , while ensuring the stability of the system, the structural block diagram of MRI-ESO is shown in Figure 7.
所提发明方法的整体控制流程图如图1所示,转速环采用基于MRI-ESO的自抗扰控制器,电流环采用具有快速响应特性的无差拍控制器,首先将电机给定转速ω*与电机实际转速ωm作差经过MRI-ADRC控制得到电磁转矩给定值转矩环采用无差拍控制器,输出为交直轴的电压ud和uq。电压经过坐标变换后,采用空间矢量脉宽调制(SVPWM)技术来控制三相逆变器功率器件的通断,由此来控制逆变器输出电压的幅值与相位;电流传感器采集得到三相电流经坐标变换后得到电流反馈量和;坐标变换所需的转子位置角由位置传感器采集得到;转速反馈由采集得到的位置信号计算得到。The overall control flow chart of the proposed inventive method is shown in Figure 1. The speed loop adopts an active disturbance rejection controller based on MRI-ESO, and the current loop adopts a dead-beat controller with fast response characteristics. First, the given motor speed ω * Make a difference with the actual speed ω m of the motor to obtain the electromagnetic torque given value through MRI-ADRC control The torque loop adopts the deadbeat controller, and the output is the voltage u d and u q of the direct axis. After the coordinate transformation of the voltage, the space vector pulse width modulation (SVPWM) technology is used to control the on-off of the three-phase inverter power device, thereby controlling the amplitude and phase of the inverter output voltage; the current sensor collects the three-phase The current feedback amount is obtained after the coordinate transformation; the rotor position angle required by the coordinate transformation is collected by the position sensor; the speed feedback is calculated by the collected position signal.
MRI-ESO的系统框图如图2所示,观测器的输入为Te *或Te,输出为转速和扰动观测值,首先根据切换条件判断观测器的输入为Te *还是Te,接着观测出转速,以及常值扰动和谐波扰动,输出并反馈至线性控制率,经过线性反馈控制率得到参考转矩Te *。The system block diagram of MRI-ESO is shown in Fig. 2. The input of the observer is T e * or T e , and the output is the observed value of the rotational speed and disturbance. Observe the rotational speed, as well as the constant value disturbance and harmonic disturbance, output and feed back to the linear control rate, and obtain the reference torque T e * through the linear feedback control rate.
为验证理论的正确性和有效性,建立了基于永磁轮毂电机的改进自抗扰控制器的仿真平台。如图8所示,通过在负载端(Torque)施加不同频率的周期性负载干扰,来模拟实际中的转矩脉动,施加的负载转矩表达式为TL=2sin(Ωet)+1sin(2Ωet)+0.5sin(6Ωet)。图9展示在给定100rpm阶跃的情况下,在t=0.5s时基于RI-ESO的自抗扰控制,相比于传统线性自抗扰控制(LADRC),基于RI-ESO自抗扰能够很好的抑制正弦脉动转矩,转速波动由原来17.5rpm下降到4.5rpm。图10展示了在转速(speed)为100rpm-400rpm时,基于RI-ESO自抗扰控制会产生不稳定现象,这是由于转矩环带宽导致的,图11展示了在转速为100rpm-500rpm时,采用基于MRI-ESO的自抗扰控制在高速时进行切换控制,能实现较好的脉动转矩抑制效果,且能在宽转速范围内保证系统的稳定性能。In order to verify the correctness and validity of the theory, a simulation platform of the improved ADRC based on the permanent magnet in-wheel motor is established. As shown in Figure 8, the actual torque ripple is simulated by imposing periodic load disturbances of different frequencies on the load end (Torque). The expression of the applied load torque is T L =2sin(Ω e t)+1sin (2Ω e t)+0.5sin(6Ω e t). Figure 9 shows the ADRC based on RI-ESO at t=0.5s for a given 100rpm step. Compared with the traditional linear ADRC (LADRC), the ADRC based on RI-ESO can The sinusoidal pulsating torque is well suppressed, and the speed fluctuation is reduced from 17.5rpm to 4.5rpm. Figure 10 shows that when the speed is 100rpm-400rpm, the ADRC based on RI-ESO will produce instability, which is caused by the bandwidth of the torque loop. Figure 11 shows that when the speed is 100rpm-500rpm , using MRI-ESO-based active disturbance rejection control to switch control at high speeds can achieve a better ripple torque suppression effect and ensure system stability in a wide range of speeds.
以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,根据本发明的技术方案及其发明构思加以等同替换或改变,都应涵盖在本发明的保护范围之内。The above is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto, any person familiar with the technical field within the technical scope disclosed in the present invention, according to the technical solution of the present invention Any equivalent replacement or change of the inventive concepts thereof shall fall within the protection scope of the present invention.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310246115.8A CN116317752A (en) | 2023-03-14 | 2023-03-14 | A speed smooth switching control method for permanent magnet in-wheel motors in a wide speed range |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310246115.8A CN116317752A (en) | 2023-03-14 | 2023-03-14 | A speed smooth switching control method for permanent magnet in-wheel motors in a wide speed range |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116317752A true CN116317752A (en) | 2023-06-23 |
Family
ID=86790003
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310246115.8A Pending CN116317752A (en) | 2023-03-14 | 2023-03-14 | A speed smooth switching control method for permanent magnet in-wheel motors in a wide speed range |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116317752A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118157527A (en) * | 2024-03-04 | 2024-06-07 | 中国科学院长春光学精密机械与物理研究所 | A method for suppressing disturbances in the speed loop of a permanent magnet synchronous motor system |
CN119154736A (en) * | 2024-11-18 | 2024-12-17 | 西南交通大学 | Electromechanical coupling resonance suppression method, controller and motor driving system |
-
2023
- 2023-03-14 CN CN202310246115.8A patent/CN116317752A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118157527A (en) * | 2024-03-04 | 2024-06-07 | 中国科学院长春光学精密机械与物理研究所 | A method for suppressing disturbances in the speed loop of a permanent magnet synchronous motor system |
CN118157527B (en) * | 2024-03-04 | 2025-02-11 | 中国科学院长春光学精密机械与物理研究所 | A method for suppressing disturbances in the speed loop of a permanent magnet synchronous motor system |
CN119154736A (en) * | 2024-11-18 | 2024-12-17 | 西南交通大学 | Electromechanical coupling resonance suppression method, controller and motor driving system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111431460B (en) | Permanent magnet synchronous motor sensorless model prediction flux linkage control method | |
Yang et al. | Fast integral terminal sliding mode control with a novel disturbance observer based on iterative learning for speed control of PMSM | |
CN102969968B (en) | A method for controlling a permanent magnet synchronous motor | |
CN110022105A (en) | Permanent magnet synchronous motor predictive-current control method and system based on FOSMC | |
CN116317752A (en) | A speed smooth switching control method for permanent magnet in-wheel motors in a wide speed range | |
CN110784140A (en) | A control strategy for a five-phase asynchronous motor oriented according to the stator magnetic field | |
CN108459497B (en) | A Control Method of Steady Pointing Servo System Based on ADRC and NLPID | |
CN105827168A (en) | PMSM control method and system based on sliding mode observation | |
CN108377117B (en) | Compound current control system and method for permanent magnet synchronous motor based on predictive control | |
CN112953328B (en) | Active-disturbance-rejection control method for permanent magnet synchronous motor of electric vehicle | |
CN110855204A (en) | A kind of permanent magnet synchronous motor torque periodic ripple suppression control device and method | |
CN112039386A (en) | A torque ripple suppression method for permanent magnet synchronous motor based on fuzzy quasi-proportional resonance | |
CN109617482B (en) | L2 sliding mode control method of permanent magnet synchronous motor | |
CN113346810A (en) | Speed and current double closed-loop fuzzy control PMSM sensorless control method | |
CN116032170B (en) | A motor speed control method for suppressing disturbance, storage medium and processor | |
CN117439463A (en) | Active disturbance rejection rotating speed current single loop control method and system for permanent magnet synchronous motor | |
Kaifei et al. | Fast Integral Terminal Sliding Mode Control of PMSM Based on New Sliding Mode Reaching Law | |
CN111181463B (en) | A built-in permanent magnet synchronous motor controller and its control method | |
Sun et al. | Research on control of permanent magnet synchronous motor based on second-order sliding mode | |
CN109687788B (en) | A speed sensorless control method for a doubly-fed wind power generation system | |
CN113783478B (en) | Cascaded deadbeat control method and system for permanent magnet synchronous motor | |
CN117134662B (en) | Permanent magnet synchronous motor control system with speed fluctuation suppression speed loop regulator | |
CN118123812B (en) | A multi-modal active vibration suppression method based on a robotic arm joint servo system | |
Luo et al. | Research on Sliding Mode Direct Torque Control of Asynchronous Motor for Electric Vehicles | |
Xu et al. | Online inductance identification based-robust model predictive current control for pmsm drives |
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 |