CN109474222B - Variable load servo system vibration suppression method and system based on notch filter - Google Patents

Variable load servo system vibration suppression method and system based on notch filter Download PDF

Info

Publication number
CN109474222B
CN109474222B CN201811624386.8A CN201811624386A CN109474222B CN 109474222 B CN109474222 B CN 109474222B CN 201811624386 A CN201811624386 A CN 201811624386A CN 109474222 B CN109474222 B CN 109474222B
Authority
CN
China
Prior art keywords
servo system
center frequency
vibration
notch
adjusted
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.)
Active
Application number
CN201811624386.8A
Other languages
Chinese (zh)
Other versions
CN109474222A (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.)
China University of Geosciences
Original Assignee
China University of Geosciences
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 China University of Geosciences filed Critical China University of Geosciences
Priority to CN201811624386.8A priority Critical patent/CN109474222B/en
Publication of CN109474222A publication Critical patent/CN109474222A/en
Application granted granted Critical
Publication of CN109474222B publication Critical patent/CN109474222B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • H02P23/00Arrangements or methods for the control of AC motors characterised by a control method other than vector control
    • H02P23/04Arrangements or methods for the control of AC motors characterised by a control method other than vector control specially adapted for damping motor oscillations, e.g. for reducing hunting

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Control Of Electric Motors In General (AREA)
  • Feedback Control In General (AREA)

Abstract

本发明提供了一种基于陷波滤波器的变负载伺服系统振动抑制方法及系统,其方法包括:直接从伺服系统的时域模型出发,通过位置传感器传回的实时位置数据进行分析,优先使用残余振动起振时最近两个极值点的时间差来分析振动中心频率,配置陷波滤波器,然后通过振动后相邻极大值点的时间差进行中心频率的修正。本发明的有益效果是:本发明所提出的技术方案所采用的时域分析的方法可以快速检测中心频率的变化,在负载变化产生振动之后一个周期便可得到中心频率,实时性强,并且根据后续振动情况进行滤波器参数和中心频率的实时修正,可以得到优良的滤波效果,在变负载的情况下,是一种简便高实时性的振动抑制方法。

Figure 201811624386

The invention provides a vibration suppression method and system for a variable load servo system based on a notch filter. The method includes: directly starting from the time domain model of the servo system, analyzing the real-time position data returned by the position sensor, and preferentially using The time difference between the last two extreme points when the residual vibration starts to vibrate is used to analyze the center frequency of the vibration, and a notch filter is configured, and then the center frequency is corrected by the time difference between the adjacent maximum points after the vibration. The beneficial effects of the present invention are: the time domain analysis method adopted by the technical solution of the present invention can quickly detect the change of the center frequency, and the center frequency can be obtained in one cycle after the vibration is generated by the load change, the real-time performance is strong, and according to the Real-time correction of filter parameters and center frequency for subsequent vibration conditions can obtain excellent filtering effects. In the case of variable loads, it is a simple and real-time vibration suppression method.

Figure 201811624386

Description

基于陷波滤波器的变负载伺服系统振动抑制方法及系统Vibration suppression method and system for variable load servo system based on notch filter

技术领域technical field

本发明涉及电机控制技术领域,尤其涉及一种基于陷波滤波器的变负载伺服系统振动抑制方法及系统。The invention relates to the technical field of motor control, in particular to a vibration suppression method and system for a variable load servo system based on a notch filter.

背景技术Background technique

伺服系统是工业自动化的重要组成部分,是自动化行业中实现精确定位、精准运动必要途径。伺服系统可以使系统终端执行机构的位置、速度、转矩等输出参数准确地跟随输入量变化。Servo system is an important part of industrial automation and a necessary way to achieve precise positioning and precise movement in the automation industry. The servo system can make the position, speed, torque and other output parameters of the terminal actuator of the system accurately follow the change of the input quantity.

近些年来,交流伺服技术发展迅速,性能优异,逐渐成为伺服的主要超产品。然而在实际使用中,系统的快速性和定位精度往往不能同时兼顾,在要求快速性较高的系统中通常会牺牲一些系统的稳态精度,系统出现较大超调甚至是抖振现象。比如伺服机械臂系统中的末端机械手,若抖振现象严重,机械臂的末端机械手根本无法工作。In recent years, AC servo technology has developed rapidly and has excellent performance, and has gradually become the main super product of servo. However, in practical use, the rapidity and positioning accuracy of the system often cannot be taken into account at the same time. In systems that require high rapidity, the steady-state accuracy of some systems is usually sacrificed, and the system has large overshoot or even chattering. For example, the end manipulator in the servo manipulator system, if the chattering phenomenon is serious, the end manipulator of the manipulator cannot work at all.

定位抖振现象造成伺服系统的带宽变窄,定位稳定性下降,迫使设计人员不得不降低伺服增益,从而导致伺服系统的刚度变低,响应时间变长,影响伺服系统的轨迹跟踪和高速定位的性能。高精度机床上的定位末端抖振会严重影响被加工工件的表面质量,损坏机床等。长期作用还会造成机械联接装置的磨损,严重时会酿成生产事故。因此,伺服系统定位抖动的抑制是电机驱动领域的关键共性技术,对于提高伺服系统系统稳定性、提升系统动态响应品质具有十分重要的意义。The phenomenon of positioning chattering causes the bandwidth of the servo system to be narrowed and the positioning stability to decrease, forcing the designer to reduce the servo gain, resulting in a lower stiffness of the servo system and a longer response time, which affects the trajectory tracking and high-speed positioning of the servo system. performance. The chattering of the positioning end on the high-precision machine tool will seriously affect the surface quality of the workpiece and damage the machine tool. Long-term action will also cause wear and tear of the mechanical coupling device, which will lead to production accidents in severe cases. Therefore, the suppression of servo system positioning jitter is a key common technology in the field of motor drive, which is of great significance for improving the stability of the servo system and improving the dynamic response quality of the system.

现有类似已公开的专利有一种电机振动抑制的控制方法(CN105375850B)该专利的方法是:首先对电机转动进行全程采样,将采样结果先保存在缓冲区,然后对保存的采样结果做快速傅里叶变换,转到频域,方便分析;然后以电机转速振动频率平均值ω0为基础,并且同时分析周围的频率,对不同的情况根据其幅值进行大小,根据中心频率设计符合实际工程需要的滤波器参数,以达到振动末端抑制的目的;最后分析滤波器设计之后的幅频特性,判断振动抑制情况是否满足实际需求。若满足要求,则结束滤波器配置;若不满足需求,分析其中原因,最大可能是由于滤波器参数取值不当造成振动中心频率出没有完全衰减,此时返回重新采样并且配置滤波器。There is a control method for motor vibration suppression (CN105375850B) similar to the published patent. The method of the patent is: firstly, the whole process of the motor rotation is sampled, the sampling results are first stored in the buffer, and then the stored sampling results are performed. Lie transform, transfer to the frequency domain, easy to analyze; then based on the average value of the vibration frequency of the motor speed ω 0 , and analyze the surrounding frequencies at the same time, according to the amplitude of different situations, the design according to the center frequency is in line with the actual engineering The required filter parameters are used to achieve the purpose of suppressing the vibration end. Finally, the amplitude-frequency characteristics after the filter design are analyzed to determine whether the vibration suppression situation meets the actual needs. If it meets the requirements, end the filter configuration; if it does not meet the requirements, analyze the reasons. The most likely reason is that the vibration center frequency is not completely attenuated due to improper filter parameters. At this time, return to resampling and configure the filter.

现有方法是针对负载不变的情况,在负载发生变化时,振动中心频率会发生改变,需要重新配置滤波器,然而实际中过程中配置滤波器是离线的,具体配置过程是在振动之后才进行,这种方法在变负载情况下不能使用。The existing method is aimed at the situation where the load is unchanged. When the load changes, the vibration center frequency will change, and the filter needs to be reconfigured. However, in the actual process, the filter is configured offline, and the specific configuration process is performed after the vibration. carried out, this method cannot be used under variable load conditions.

快速傅里叶变换技术将信号从时域转换到频域,其结果非常直观,便于分析频率,但是傅里叶变换需要一定数量基础的数据,才能得到准确的频谱,而在实际过程中,机械臂伺服系统中电机高速的状态变换,实时性要求较高,如果先采样分析,结束之后再将前段时间的数据带入后段时间的中,由于负载的实时变化,不足以支撑傅里叶变换需要的足量数据,因此采用傅里叶变换分析参数设计陷波滤波器的方法在变负载的情况下不可行。The fast Fourier transform technology converts the signal from the time domain to the frequency domain. The result is very intuitive and easy to analyze the frequency. However, the Fourier transform requires a certain amount of basic data to obtain an accurate spectrum. In the actual process, the mechanical The high-speed state transformation of the motor in the arm servo system requires high real-time performance. If you sample and analyze first, and then bring the data of the previous period into the later period of time, due to the real-time change of the load, it is not enough to support the Fourier transform. A sufficient amount of data is required, so the method of designing a notch filter using Fourier transform analysis parameters is not feasible in the case of variable loads.

发明内容SUMMARY OF THE INVENTION

为了解决上述问题,本发明提供了一种基于陷波滤波器的变负载伺服系统振动抑制方法及系统,一种基于陷波滤波器的变负载伺服系统振动抑制方法,主要包括以下步骤:In order to solve the above problems, the present invention provides a vibration suppression method and system for a variable load servo system based on a notch filter, and a vibration suppression method for a variable load servo system based on a notch filter, which mainly includes the following steps:

S101:对需要抑制振动的伺服系统的弹性连接装置建模,得到伺服系统模型;所述伺服系统中安装有测量系统振幅的位置传感器;S101: Modeling an elastic connection device of a servo system that needs to suppress vibration to obtain a servo system model; a position sensor for measuring the amplitude of the system is installed in the servo system;

S102:获取伺服系统中的位置传感器的振幅数据;S102: Acquire the amplitude data of the position sensor in the servo system;

S103:根据振幅数据判断系统是否存在残余振动?若是,则到步骤S104;否则,返回步骤S102;S103: Determine whether the system has residual vibration according to the amplitude data? If yes, go to step S104; otherwise, go back to step S102;

S104:根据伺服系统模型,设计陷波滤波器,并利用设计好的陷波滤波器对伺服系统的残余振动进行抑制;所述伺服系统的残余振动的初始中心频率为ω0,根据所述振幅数据计算获得;S104: Design a notch filter according to the servo system model, and use the designed notch filter to suppress the residual vibration of the servo system; the initial center frequency of the residual vibration of the servo system is ω 0 , according to the amplitude data calculation;

S105:利用位置传感器获取残余振动抑制后的伺服系统的振幅数据;并根据振动抑制后的伺服系统的振幅数据判断当前伺服系统是否存在残余振动?若是,则到步骤S106;否则,返回步骤S102;S105: Use the position sensor to obtain the amplitude data of the servo system after the residual vibration is suppressed; and judge whether there is residual vibration in the current servo system according to the amplitude data of the servo system after the vibration suppression? If yes, go to step S106; otherwise, go back to step S102;

S106:根据振动抑制后的伺服系统的振幅数据,计算得到振动抑制后的伺服系统残余振动的第一中心频率ω'0S106: According to the amplitude data of the servo system after the vibration suppression, calculate the first center frequency ω' 0 of the residual vibration of the servo system after the vibration suppression;

S107:根据ω'0和ω0的关系,对所述陷波滤波器在线进行参数更新;S107: According to the relationship between ω' 0 and ω 0 , update the parameters of the notch filter online;

S108:判断伺服系统是否停止?若是,则到步骤S109;否则,利用更新后的陷波滤波器对系统残余振动进行再次抑制,并返回步骤S107;S108: Determine whether the servo system is stopped? If so, go to step S109; otherwise, use the updated notch filter to suppress the residual vibration of the system again, and return to step S107;

S109:结束残余振动抑制程序。S109: End the residual vibration suppression program.

进一步地,步骤S101中,伺服系统模型的电机的负载转速间的传递函数如公式(1)所示:Further, in step S101, the transfer function between the load speeds of the motors of the servo system model is shown in formula (1):

Figure GDA0002623161920000031
Figure GDA0002623161920000031

上式中,J2为负载转动惯量;θ1为电机转轴转角;θ2为负载转角;K为传动轴扭转弹性系数。In the above formula, J 2 is the moment of inertia of the load; θ 1 is the rotation angle of the motor shaft; θ 2 is the load rotation angle; K is the torsional elasticity coefficient of the transmission shaft.

进一步地,步骤S103中,根据振幅数据判断系统是否存在残余振动的方法为:获取所述振幅数据中的最大振幅Hmax;判断条件Hmax≥x是否成立?若是,则判断为存在残余振动;否则,判断为不存在残余振动;其中,x大于0,为振动阈值,且为预设值。Further, in step S103, the method of judging whether the system has residual vibration according to the amplitude data is: obtaining the maximum amplitude Hmax in the amplitude data; whether the judgment condition Hmax≥x is established? If yes, it is determined that there is residual vibration; otherwise, it is determined that there is no residual vibration; wherein, x is greater than 0, which is the vibration threshold, and is a preset value.

进一步地,步骤S104中,设计的陷波滤波器的传递函数如公式(2)所示:Further, in step S104, the transfer function of the designed notch filter is shown in formula (2):

Figure GDA0002623161920000032
Figure GDA0002623161920000032

上式中,

Figure GDA0002623161920000033
k1为陷波宽度,k2为陷波深度,
Figure GDA0002623161920000034
k1=5k2,ω0为伺服系统残余振动的初始中心频率,根据所述振幅数据计算获得;ω1和ω2分别为陷波滤波器的起始抑制频率和终止抑制频率,ω1和ω2关于ω0左右对称,其中初始的陷波宽度k1
Figure GDA0002623161920000035
初始的陷波深度k2
Figure GDA0002623161920000036
初始的ω2和ω1根据初始k1和k2求得。In the above formula,
Figure GDA0002623161920000033
k 1 is the notch width, k 2 is the notch depth,
Figure GDA0002623161920000034
k 1 =5k 2 , ω 0 is the initial center frequency of the residual vibration of the servo system, calculated according to the amplitude data; ω 1 and ω 2 are the start and end suppression frequencies of the notch filter, respectively, ω 1 and ω 2 is symmetrical about ω 0 , where the initial notch width k 1 is
Figure GDA0002623161920000035
The initial notch depth k 2 is
Figure GDA0002623161920000036
The initial ω 2 and ω 1 are obtained from the initial k 1 and k 2 .

进一步地,根据所述振幅数据计算获得伺服系统残余振动的中心频率的方法如下:Further, the method for calculating and obtaining the center frequency of the residual vibration of the servo system according to the amplitude data is as follows:

S201:根据位置传感器的振幅数据,得到伺服系统振动的位移时间关系图;并根据位移时间关系图得到振幅的最大波峰出现时刻t1和次大波峰出现时刻t2S201: obtain a displacement-time relationship diagram of the vibration of the servo system according to the amplitude data of the position sensor; and obtain the maximum wave peak occurrence time t 1 and the second largest wave peak appearance time t 2 of the amplitude according to the displacement time relationship diagram;

S202:根据t1和t2,采用频率计算公式,计算得到伺服系统的振动中心频率ω0;计算公式如公式(3)所示:S202: According to t 1 and t 2 , the frequency calculation formula is used to obtain the vibration center frequency ω 0 of the servo system; the calculation formula is shown in formula (3):

Figure GDA0002623161920000041
Figure GDA0002623161920000041

进一步地,步骤S105中,根据振动抑制后的伺服系统的振幅数据判断当前伺服系统是否存在残余振动的方法为:Further, in step S105, the method for judging whether the current servo system has residual vibration according to the amplitude data of the servo system after the vibration suppression is:

获取振动抑制后的伺服系统的振幅数据中的最大振幅Hmax1;判断条件Hmax1≥x是否成立?若是,则判断为存在残余振动;否则,则判断为不存在残余振动;其中,x大于0,为振动阈值,且为预设值。Obtain the maximum amplitude Hmax1 in the amplitude data of the servo system after vibration suppression; whether the judgment condition Hmax1≥x is satisfied? If so, it is determined that there is residual vibration; otherwise, it is determined that there is no residual vibration; where x is greater than 0, which is the vibration threshold and is a preset value.

进一步地,步骤S107中,根据第一中心频率ω'0和初始中心频率ω0的关系,对所述陷波滤波器在线进行参数更新的方法为:Further, in step S107, according to the relationship between the first center frequency ω' 0 and the initial center frequency ω 0 , the method for online parameter updating of the notch filter is:

若ω'0<ω0;则将初始中心频率ω0调整为和第一中心频率ω'0相等,将第一中心频率ω'0调整为

Figure GDA0002623161920000042
陷波宽度调整为:
Figure GDA0002623161920000043
陷波深度调整为:
Figure GDA0002623161920000044
其中,
Figure GDA0002623161920000045
ω′1=2ω′0-ω′2;If ω' 00 ; then the initial center frequency ω 0 is adjusted to be equal to the first center frequency ω' 0 , and the first center frequency ω' 0 is adjusted to
Figure GDA0002623161920000042
The notch width is adjusted to:
Figure GDA0002623161920000043
The notch depth is adjusted to:
Figure GDA0002623161920000044
in,
Figure GDA0002623161920000045
ω′ 1 =2ω′ 0 −ω′ 2 ;

若ω′0=ω0;ω0和ω'0均不变,陷波宽度调整为原来的陷波宽度的

Figure GDA0002623161920000046
陷波深度调整为调整后的陷波宽度的1/5;If ω′ 00 ; both ω 0 and ω′ 0 remain unchanged, the notch width is adjusted to the original notch width
Figure GDA0002623161920000046
The notch depth is adjusted to 1/5 of the adjusted notch width;

若ω′0>ω0,则将初始中心频率ω0调整为和第一中心频率ω'0相等,将第一中心频率ω'0调整为

Figure GDA0002623161920000047
陷波宽度调整为:
Figure GDA0002623161920000048
陷波深度调整为:
Figure GDA0002623161920000049
If ω′ 00 , adjust the initial center frequency ω 0 to be equal to the first center frequency ω′ 0 , and adjust the first center frequency ω′ 0 to be
Figure GDA0002623161920000047
The notch width is adjusted to:
Figure GDA0002623161920000048
The notch depth is adjusted to:
Figure GDA0002623161920000049

进一步地,一种基于陷波滤波器的变负载伺服系统振动抑制系统,其特征在于:包括以下模块:Further, a kind of variable load servo system vibration suppression system based on notch filter is characterized in that: comprise the following modules:

模型建立模块,用于对需要抑制振动的伺服系统的弹性连接装置建模,得到伺服系统模型;所述伺服系统中安装有测量系统振幅的位置传感器;A model building module is used to model the elastic connection device of the servo system that needs to suppress vibration to obtain a servo system model; a position sensor for measuring the amplitude of the system is installed in the servo system;

第一数据获取模块,用于获取伺服系统中的位置传感器的振幅数据;a first data acquisition module, used for acquiring the amplitude data of the position sensor in the servo system;

第一判断模块,用于根据振幅数据判断系统是否存在残余振动?若是,则到滤波器设计模块;否则,返回第一数据获取模块;The first judgment module is used to judge whether there is residual vibration in the system according to the amplitude data? If so, go to the filter design module; otherwise, return to the first data acquisition module;

滤波器设计模块,用于根据伺服系统模型,设计陷波滤波器,并利用设计好的陷波滤波器对伺服系统的残余振动进行抑制;所述伺服系统的残余振动的初始中心频率为ω0,根据所述振幅数据计算获得;The filter design module is used to design a notch filter according to the servo system model, and use the designed notch filter to suppress the residual vibration of the servo system; the initial center frequency of the residual vibration of the servo system is ω 0 , calculated according to the amplitude data;

第二判断模块,用于利用位置传感器获取残余振动抑制后的伺服系统的振幅数据;并根据振动抑制后的伺服系统的振幅数据判断当前伺服系统是否存在残余振动?若是,则到计算模块;否则,返回第一数据获取模块;The second judgment module is used to obtain the amplitude data of the servo system after the residual vibration is suppressed by using the position sensor; and judge whether the current servo system has residual vibration according to the amplitude data of the servo system after the vibration suppression? If so, go to the calculation module; otherwise, return to the first data acquisition module;

计算模块,用于根据振动抑制后的伺服系统的振幅数据,计算得到振动抑制后的伺服系统残余振动的第一中心频率ω′0a calculation module, used for calculating the first center frequency ω′ 0 of the residual vibration of the servo system after the vibration suppression according to the amplitude data of the servo system after the vibration suppression;

参数更新模块,用于根据ω′0和ω0的关系,对所述陷波滤波器在线进行参数更新;a parameter updating module, used for online parameter updating of the notch filter according to the relationship between ω′ 0 and ω 0 ;

第三判断模块,用于判断系统是否停止?若是,则到终止模块;否则,利用更新后的陷波滤波器对系统残余振动进行再次抑制,并返回参数更新模块;The third judgment module is used to judge whether the system is stopped? If so, go to the termination module; otherwise, use the updated notch filter to suppress the residual vibration of the system again, and return to the parameter update module;

终止模块,用于结束残余振动抑制程序。Termination module to end the residual vibration suppression procedure.

本发明提供的技术方案带来的有益效果是:本发明所提出的技术方案所采用的时域分析的方法可以快速检测中心频率的变化,在负载变化产生振动之后一个周期便可得到中心频率,实时性强,并且根据后续振动情况进行滤波器参数和中心频率的实时修正,可以得到优良的滤波效果,在变负载的情况下,是一种简便高实时性的振动抑制方法。The beneficial effects brought by the technical solution provided by the present invention are: the time domain analysis method adopted by the technical solution provided by the present invention can quickly detect the change of the center frequency, and the center frequency can be obtained one cycle after the load change produces vibration, It has strong real-time performance, and real-time correction of filter parameters and center frequency according to subsequent vibration conditions can obtain excellent filtering effect. In the case of variable load, it is a simple and real-time vibration suppression method.

附图说明Description of drawings

下面将结合附图及实施例对本发明作进一步说明,附图中:The present invention will be further described below in conjunction with the accompanying drawings and embodiments, in which:

图1是本发明实施例中一种基于陷波滤波器的变负载伺服系统振动抑制方法的流程图;1 is a flowchart of a vibration suppression method for a variable load servo system based on a notch filter in an embodiment of the present invention;

图2是本发明实施例中带弹性装置的位置环系统模型框图;2 is a block diagram of a position loop system model with an elastic device in an embodiment of the present invention;

图3是本发明实施例中加入陷波滤波器的系统结构图;3 is a system structure diagram of adding a notch filter in an embodiment of the present invention;

图4是本发明实施例中伺服系统振动的位移时间关系图;Fig. 4 is the displacement time relation diagram of servo system vibration in the embodiment of the present invention;

图5是本发明实施例中陷波滤波器参数调节前后对比图;5 is a comparison diagram before and after adjustment of the notch filter parameters in the embodiment of the present invention;

图6是本发明实施例中一种基于陷波滤波器的变负载伺服系统振动抑制系统的模块组成示意图。FIG. 6 is a schematic diagram of the module composition of a vibration suppression system of a variable load servo system based on a notch filter in an embodiment of the present invention.

具体实施方式Detailed ways

为了对本发明的技术特征、目的和效果有更加清楚的理解,现对照附图详细说明本发明的具体实施方式。In order to have a clearer understanding of the technical features, objects and effects of the present invention, the specific embodiments of the present invention will now be described in detail with reference to the accompanying drawings.

本发明的实施例提供了一种基于陷波滤波器的变负载伺服系统振动抑制方法及系统。Embodiments of the present invention provide a method and system for suppressing vibration of a variable load servo system based on a notch filter.

请参考图1,图1是本发明实施例中一种基于陷波滤波器的变负载伺服系统振动抑制方法的流程图,具体包括如下步骤:Please refer to FIG. 1. FIG. 1 is a flowchart of a method for suppressing vibration of a variable load servo system based on a notch filter in an embodiment of the present invention, which specifically includes the following steps:

S101:对需要抑制振动的伺服系统的弹性连接装置建模,得到伺服系统模型;所述伺服系统中安装有测量系统振幅的位置传感器;S101: Modeling an elastic connection device of a servo system that needs to suppress vibration to obtain a servo system model; a position sensor for measuring the amplitude of the system is installed in the servo system;

S102:获取伺服系统中的位置传感器的振幅数据;S102: Acquire the amplitude data of the position sensor in the servo system;

S103:根据振幅数据判断系统是否存在残余振动?若是,则到步骤S104;否则,返回步骤S102;S103: Determine whether the system has residual vibration according to the amplitude data? If yes, go to step S104; otherwise, go back to step S102;

S104:根据伺服系统模型,设计陷波滤波器,并利用设计好的陷波滤波器对伺服系统的残余振动进行抑制;所述伺服系统的残余振动的初始中心频率为ω0,根据所述振幅数据计算获得;S104: Design a notch filter according to the servo system model, and use the designed notch filter to suppress the residual vibration of the servo system; the initial center frequency of the residual vibration of the servo system is ω 0 , according to the amplitude data calculation;

S105:利用位置传感器获取残余振动抑制后的伺服系统的振幅数据;并根据振动抑制后的伺服系统的振幅数据判断当前伺服系统是否存在残余振动?若是,则到步骤S106;否则,返回步骤S102;S105: Use the position sensor to obtain the amplitude data of the servo system after the residual vibration is suppressed; and judge whether there is residual vibration in the current servo system according to the amplitude data of the servo system after the vibration suppression? If yes, go to step S106; otherwise, go back to step S102;

S106:根据振动抑制后的伺服系统的振幅数据,计算得到振动抑制后的伺服系统残余振动的第一中心频率ω'0S106: According to the amplitude data of the servo system after the vibration suppression, calculate the first center frequency ω' 0 of the residual vibration of the servo system after the vibration suppression;

S107:根据ω'0和ω0的关系,对所述陷波滤波器进行参数进行在线更新配置,并判断系统是否停止?若是,则到步骤S108;否则,利用更新后的陷波滤波器对系统残余振动进行再次抑制,并返回步骤S105;S107: According to the relationship between ω' 0 and ω 0 , perform online update configuration on the parameters of the notch filter, and determine whether the system is stopped? If so, go to step S108; otherwise, use the updated notch filter to suppress the residual vibration of the system again, and return to step S105;

S108:结束残余振动抑制程序。S108: End the residual vibration suppression program.

步骤S101中,伺服系统模型的电机的负载转速间的传递函数的时域表示形式和频域表示形式如公式(1)和公式(2)所示:In step S101, the time-domain representation and frequency-domain representation of the transfer function between the motor loads and rotational speeds of the servo system model are shown in formula (1) and formula (2):

Figure GDA0002623161920000071
Figure GDA0002623161920000071

Figure GDA0002623161920000072
Figure GDA0002623161920000072

公式(1)和公式(2)中,C1为电机转轴阻尼系数;C2为负载阻尼系数;Cw为传动轴阻尼系数;J1为电机转轴转动惯量(kg·m2);J2为负载转动惯量(kg·m2);ω1为电机转轴转速(rad/s);ω2为负载转速(rad/s);θ1为电机转轴转角(rad);θ2为负载转角(rad);Te为电机电磁转矩(N·m);Tl为电机电磁转矩(N·m);Tw为传动轴系转矩(N·m);K为传动轴扭转弹性系数(N·m/rad)。In formula (1) and formula (2), C 1 is the damping coefficient of the motor shaft; C 2 is the load damping coefficient; C w is the damping coefficient of the transmission shaft; J 1 is the moment of inertia of the motor shaft (kg·m 2 ); J 2 is the moment of inertia of the load (kg·m 2 ); ω 1 is the rotation speed of the motor shaft (rad/s); ω 2 is the rotation speed of the load (rad/s); θ 1 is the rotation angle of the motor shaft (rad); θ 2 is the rotation angle of the load ( rad); T e is the electromagnetic torque of the motor (N m); T l is the electromagnetic torque of the motor (N m); Tw is the torque of the transmission shaft (N m); K is the torsional elasticity coefficient of the transmission shaft (N·m/rad).

伺服系统的位置环系统模型框图如图2所示,加入陷波滤波器的伺服系统结构如图3所示。The block diagram of the position loop system model of the servo system is shown in Figure 2, and the structure of the servo system with a notch filter is shown in Figure 3.

步骤S103中,根据振幅数据判断系统是否存在残余振动的方法为:获取所述振幅数据中的最大振幅Hmax;判断条件Hmax≥x是否成立?若是,则判断为存在残余振动;否则,判断为不存在残余振动;其中,x大于0,为振动阈值,且为预设值。In step S103, the method for judging whether the system has residual vibration according to the amplitude data is: obtaining the maximum amplitude Hmax in the amplitude data; whether the judgment condition Hmax≥x is established? If yes, it is determined that there is residual vibration; otherwise, it is determined that there is no residual vibration; wherein, x is greater than 0, which is the vibration threshold, and is a preset value.

步骤S104中,设计的陷波滤波器的传递函数如公式(3)所示:In step S104, the transfer function of the designed notch filter is shown in formula (3):

Figure GDA0002623161920000073
Figure GDA0002623161920000073

上式中,

Figure GDA0002623161920000074
k1为陷波宽度,k2为陷波深度,
Figure GDA0002623161920000075
k1=5k2,ω0为伺服系统残余振动的初始中心频率,根据所述振幅数据计算获得;ω1和ω2分别为陷波滤波器的起始抑制频率和终止抑制频率,其中初始的陷波宽度k1
Figure GDA0002623161920000081
初始的陷波深度k2
Figure GDA0002623161920000082
初始的ω2和ω1根据初始k1和k2求得。In the above formula,
Figure GDA0002623161920000074
k 1 is the notch width, k 2 is the notch depth,
Figure GDA0002623161920000075
k 1 =5k 2 , ω 0 is the initial center frequency of the residual vibration of the servo system, calculated according to the amplitude data; ω 1 and ω 2 are the start and end suppression frequencies of the notch filter, respectively, where the initial The notch width k1 is
Figure GDA0002623161920000081
The initial notch depth k 2 is
Figure GDA0002623161920000082
The initial ω 2 and ω 1 are obtained from the initial k 1 and k 2 .

根据所述振幅数据计算获得伺服系统残余振动的中心频率的方法如下:The method for calculating and obtaining the center frequency of the residual vibration of the servo system according to the amplitude data is as follows:

S201:根据位置传感器的振幅数据,得到伺服系统振动的位移时间关系图(如图4所示);并根据位移时间关系图得到振幅的最大波峰出现时刻t1和次大波峰出现时刻t2S201: according to the amplitude data of the position sensor, obtain the displacement-time relationship diagram of the vibration of the servo system (as shown in Figure 4); and obtain the maximum wave peak appearance time t1 and the second largest wave peak appearance time t2 of the amplitude according to the displacement time relationship diagram;

S202:根据t1和t2,采用频率计算公式,计算得到伺服系统的振动中心频率ω0;计算公式如公式(4)所示:S202: According to t 1 and t 2 , the frequency calculation formula is used to obtain the vibration center frequency ω 0 of the servo system; the calculation formula is shown in formula (4):

Figure GDA0002623161920000083
Figure GDA0002623161920000083

步骤S105中,根据振动抑制后的伺服系统的振幅数据判断当前伺服系统是否存在残余振动的方法为:In step S105, the method for judging whether there is residual vibration in the current servo system according to the amplitude data of the servo system after the vibration suppression is:

获取振动抑制后的伺服系统的振幅数据中的最大振幅Hmax1;判断条件Hmax1≥x是否成立?若是,则判断为存在残余振动;否则,则判断为不存在残余振动;其中,x为振动阈值大于0,为预设值。Obtain the maximum amplitude Hmax1 in the amplitude data of the servo system after vibration suppression; whether the judgment condition Hmax1≥x is satisfied? If so, it is determined that there is residual vibration; otherwise, it is determined that there is no residual vibration; wherein, x is a vibration threshold greater than 0, which is a preset value.

步骤S106中,计算振动抑制后的伺服系统的振动中心频率ω’0的步骤如下:In step S106, the steps of calculating the vibration center frequency ω'0 of the servo system after vibration suppression are as follows:

S301:根据振动抑制后的伺服系统的振幅数据,得到振动抑制后的伺服系统振动的第一位移时间关系图;并根据第一位移时间关系图得到振幅的最大波峰出现时刻t1′和次大波峰出现时刻t2′;S301: According to the amplitude data of the servo system after the vibration suppression, obtain a first displacement time relationship diagram of the vibration of the servo system after the vibration suppression; The time t 2 ′ when the wave peak appears;

S302:根据t1′和t2′,采用频率计算公式,计算得到振动抑制后的伺服系统的振动中心频率ω'0;计算公式如公式(5)所示:S302: According to t 1 ' and t 2 ', the frequency calculation formula is used to calculate the vibration center frequency ω' 0 of the servo system after vibration suppression; the calculation formula is shown in formula (5):

Figure GDA0002623161920000084
Figure GDA0002623161920000084

步骤S107中,根据ω'0和ω0的关系,对所述陷波滤波器在线进行参数更新配置的方法为:In step S107, according to the relationship between ω' 0 and ω 0 , the method for online parameter update configuration of the notch filter is:

滤波器参数在线更新前后对比图如图5所示,图中虚线为更新后的陷波滤波器,实线为更新前的陷波滤波器。可以看到,后续的参数ω′0在初始中心频率ω0的左侧,因此调整后的第一中心频率调整为ω″0也应向左偏移,同时陷波宽度进行相应的缩减,具体分如下三种情况对陷波滤波器的参数进行更新:The comparison diagram of filter parameters before and after online update is shown in Figure 5. The dotted line in the figure is the notch filter after updating, and the solid line is the notch filter before updating. It can be seen that the subsequent parameter ω′ 0 is on the left side of the initial center frequency ω 0 , so the adjusted first center frequency adjusted to ω″ 0 should also be shifted to the left, and the notch width should be reduced accordingly. The parameters of the notch filter are updated in the following three cases:

情况一:ω'0<ω0,此时将初始中心频率ω0调整为和第一中心频率ω'0相等,将第一中心频率ω'0调整为

Figure GDA0002623161920000091
中心频率向左偏移,陷波宽度调整策略为:
Figure GDA0002623161920000092
为保证幅频特性对称性,取ω′1=2ω′0-ω′2。经过调整,陷波带宽逐步变窄,对周围频率的响应影响变小。Case 1: ω' 00 , at this time, the initial center frequency ω 0 is adjusted to be equal to the first center frequency ω' 0 , and the first center frequency ω' 0 is adjusted as
Figure GDA0002623161920000091
The center frequency is shifted to the left, and the notch width adjustment strategy is:
Figure GDA0002623161920000092
In order to ensure the symmetry of the amplitude-frequency characteristic, take ω′ 1 =2ω′ 0 -ω′ 2 . After adjustment, the notch bandwidth is gradually narrowed, and the effect on the response of surrounding frequencies is reduced.

情况二:ω′0=ω0,此时的滤波器中心频率相对较准,不需要改动,但是陷波宽度相应缩窄,方法与情况一类似,不同的是此时直接将带宽缩减到原来的

Figure GDA0002623161920000093
然后继续分析后续振动情况。Case 2: ω′ 00 , the center frequency of the filter is relatively accurate at this time and does not need to be changed, but the notch width is correspondingly narrowed, the method is similar to the case 1, the difference is that the bandwidth is directly reduced to the original of
Figure GDA0002623161920000093
Then continue to analyze subsequent vibrations.

情况三:ω′0>ω0,则将初始中心频率ω0调整为和第一中心频率ω'0相等,将第一中心频率ω'0调整为

Figure GDA0002623161920000094
但与情况一相反,中心频率向右偏移。此时中心频率,左右陷波宽度调整与情况一相同,左边频率调整为
Figure GDA0002623161920000095
右边频率调整为ω′2=2ω0-ω′1。Case 3: ω′ 00 , then adjust the initial center frequency ω 0 to be equal to the first center frequency ω′ 0 , and adjust the first center frequency ω′ 0 to be
Figure GDA0002623161920000094
But contrary to case 1, the center frequency is shifted to the right. At this time, the center frequency, the left and right notch width adjustment are the same as in case 1, and the left frequency adjustment is
Figure GDA0002623161920000095
The right frequency is adjusted to ω' 2 =2ω 0 -ω' 1 .

由ω′1和ω′2确定带宽,由此确定陷波滤波器的参数k1和k2,再通过中心频率ω'0确定参数a,b和c,完成对滤波器的配置。The bandwidth is determined by ω′ 1 and ω′ 2 , thereby the parameters k 1 and k 2 of the notch filter are determined, and then the parameters a, b and c are determined by the center frequency ω′ 0 to complete the configuration of the filter.

请参阅图6,为本发明实施例中一种基于陷波滤波器的变负载伺服系统振动抑制系统的模块组成示意图,其特征在于:包括顺次连接的:模型建立模块11、第一数据获取模块12、第一判断模块13、滤波器设计模块14、第二判断模块15、计算模块16、参数更新模块17、第三判断模块18和终止模块19;Please refer to FIG. 6 , which is a schematic diagram of the module composition of a vibration suppression system of a variable load servo system based on a notch filter according to an embodiment of the present invention. module 12, first judgment module 13, filter design module 14, second judgment module 15, calculation module 16, parameter update module 17, third judgment module 18 and termination module 19;

模型建立模块11,用于对需要抑制振动的伺服系统的弹性连接装置建模,得到伺服系统模型;所述伺服系统中安装有测量系统振幅的位置传感器;The model building module 11 is used to model the elastic connection device of the servo system that needs to suppress vibration to obtain a servo system model; a position sensor for measuring the amplitude of the system is installed in the servo system;

第一数据获取模块12,用于获取伺服系统中的位置传感器的振幅数据;The first data acquisition module 12 is used to acquire the amplitude data of the position sensor in the servo system;

第一判断模块13,用于根据振幅数据判断系统是否存在残余振动?若是,则到滤波器设计模块14;否则,返回第一数据获取模块12;The first judgment module 13 is used to judge whether there is residual vibration in the system according to the amplitude data? If so, go to the filter design module 14; otherwise, return to the first data acquisition module 12;

滤波器设计模块14,用于根据伺服系统模型,设计陷波滤波器,并利用设计好的陷波滤波器对伺服系统的残余振动进行抑制;所述伺服系统的残余振动的初始中心频率为ω0,根据所述振幅数据计算获得;The filter design module 14 is used to design a notch filter according to the servo system model, and use the designed notch filter to suppress the residual vibration of the servo system; the initial center frequency of the residual vibration of the servo system is ω 0 , calculated according to the amplitude data;

第二判断模块15,用于利用位置传感器获取残余振动抑制后的伺服系统的振幅数据;并根据振动抑制后的伺服系统的振幅数据判断当前伺服系统是否存在残余振动?若是,则到计算模块16;否则,返回第一数据获取模块12;The second judgment module 15 is used to obtain the amplitude data of the servo system after the residual vibration is suppressed by using the position sensor; and judge whether the current servo system has residual vibration according to the amplitude data of the servo system after the vibration suppression? If so, go to the calculation module 16; otherwise, return to the first data acquisition module 12;

计算模块16,用于根据振动抑制后的伺服系统的振幅数据,计算得到振动抑制后的伺服系统残余振动的第一中心频率ω'0The calculation module 16 is used for calculating the first center frequency ω' 0 of the residual vibration of the servo system after the vibration suppression according to the amplitude data of the servo system after the vibration suppression;

参数更新模块17,用于根据ω′0和ω0的关系,对所述陷波滤波器在线进行参数更新;The parameter updating module 17 is used to update the parameters of the notch filter online according to the relationship between ω′ 0 and ω 0 ;

第三判断模块18,用于判断系统是否停止?若是,则到终止模块;否则,利用更新后的陷波滤波器对系统残余振动进行再次抑制,并返回参数更新模块;The third judging module 18 is used to judge whether the system is stopped? If so, go to the termination module; otherwise, use the updated notch filter to suppress the residual vibration of the system again, and return to the parameter update module;

终止模块19,用于结束残余振动抑制程序。The termination module 19 is used to end the residual vibration suppression procedure.

本发明的有益效果是:本发明所提出的技术方案所采用的时域分析的方法可以快速检测中心频率的变化,在负载变化产生振动之后一个周期便可得到中心频率,实时性强,并且根据后续振动情况进行滤波器参数和中心频率的实时修正,可以得到优良的滤波效果,在变负载的情况下,是一种简便高实时性的振动抑制方法。The beneficial effects of the present invention are as follows: the time domain analysis method adopted by the technical solution of the present invention can quickly detect the change of the center frequency, and the center frequency can be obtained in one cycle after the vibration is generated by the load change, and the real-time performance is strong, and according to the Real-time correction of filter parameters and center frequency for subsequent vibration conditions can obtain excellent filtering effects. In the case of variable loads, it is a simple and real-time vibration suppression method.

以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the protection of the present invention. within the range.

Claims (7)

1.一种基于陷波滤波器的变负载伺服系统振动抑制方法,其特征在于:包括以下步骤:1. a variable load servo system vibration suppression method based on a notch filter, is characterized in that: comprise the following steps: S101:对需要抑制振动的伺服系统的弹性连接装置建模,得到伺服系统模型;所述伺服系统中安装有测量系统振幅的位置传感器;S101: Modeling an elastic connection device of a servo system that needs to suppress vibration to obtain a servo system model; a position sensor for measuring the amplitude of the system is installed in the servo system; S102:获取伺服系统中的位置传感器的振幅数据;S102: Acquire the amplitude data of the position sensor in the servo system; S103:根据振幅数据判断系统是否存在残余振动?若是,则到步骤S104;否则,返回步骤S102;S103: Determine whether the system has residual vibration according to the amplitude data? If yes, go to step S104; otherwise, go back to step S102; S104:根据伺服系统模型,设计陷波滤波器,并利用设计好的陷波滤波器对伺服系统的残余振动进行抑制;所述伺服系统的残余振动的初始中心频率为ω0,根据所述振幅数据计算获得;S104: Design a notch filter according to the servo system model, and use the designed notch filter to suppress the residual vibration of the servo system; the initial center frequency of the residual vibration of the servo system is ω 0 , according to the amplitude data calculation; S105:利用位置传感器获取残余振动抑制后的伺服系统的振幅数据;并根据振动抑制后的伺服系统的振幅数据判断当前伺服系统是否存在残余振动?若是,则到步骤S106;否则,返回步骤S102;S105: Use the position sensor to obtain the amplitude data of the servo system after the residual vibration is suppressed; and judge whether there is residual vibration in the current servo system according to the amplitude data of the servo system after the vibration suppression? If yes, go to step S106; otherwise, go back to step S102; S106:根据振动抑制后的伺服系统的振幅数据,计算得到振动抑制后的伺服系统残余振动的第一中心频率ω′0S106: According to the amplitude data of the servo system after the vibration suppression, calculate and obtain the first center frequency ω′ 0 of the residual vibration of the servo system after the vibration suppression; S107:根据ω′0和ω0的关系,对所述陷波滤波器在线进行参数更新;S107: According to the relationship between ω′ 0 and ω 0 , update the parameters of the notch filter online; S108:判断伺服系统是否停止?若是,则到步骤S109;否则,利用更新后的陷波滤波器对系统残余振动进行再次抑制,并返回步骤S107;S108: Determine whether the servo system is stopped? If so, go to step S109; otherwise, use the updated notch filter to suppress the residual vibration of the system again, and return to step S107; S109:结束残余振动抑制程序;S109: End the residual vibration suppression program; 步骤S107中,根据第一中心频率ω′0和初始中心频率ω0的关系,对所述陷波滤波器在线进行参数更新的方法为:In step S107, according to the relationship between the first center frequency ω' 0 and the initial center frequency ω 0 , the method for online parameter updating of the notch filter is: 若ω′0<ω0;则将初始中心频率ω0调整为和第一中心频率ω′0相等,将第一中心频率ω′0调整为
Figure FDA0002623161910000011
陷波宽度调整为:
Figure FDA0002623161910000012
陷波深度调整为:
Figure FDA0002623161910000013
其中,
Figure FDA0002623161910000014
ω′1=2ω′0-ω′2
If ω′ 00 ; then the initial center frequency ω 0 is adjusted to be equal to the first center frequency ω′ 0 , and the first center frequency ω′ 0 is adjusted to
Figure FDA0002623161910000011
The notch width is adjusted to:
Figure FDA0002623161910000012
The notch depth is adjusted to:
Figure FDA0002623161910000013
in,
Figure FDA0002623161910000014
ω′ 1 =2ω′ 0 −ω′ 2 ;
若ω′0=ω0;ω0和ω′0均不变,陷波宽度k1调整为原来的陷波宽度的
Figure FDA0002623161910000015
陷波深度k2调整为调整后的陷波宽度的1/5;
If ω′ 00 ; both ω 0 and ω′ 0 remain unchanged, the notch width k 1 is adjusted to the original notch width
Figure FDA0002623161910000015
The notch depth k 2 is adjusted to 1/5 of the adjusted notch width;
若ω′0>ω0,则将初始中心频率ω0调整为和第一中心频率ω′0相等,将第一中心频率ω′0调整为
Figure FDA0002623161910000021
陷波宽度k1调整为:
Figure FDA0002623161910000022
陷波深度k2调整为:
Figure FDA0002623161910000023
If ω′ 00 , the initial center frequency ω 0 is adjusted to be equal to the first center frequency ω′ 0 , and the first center frequency ω′ 0 is adjusted to
Figure FDA0002623161910000021
The notch width k 1 is adjusted to:
Figure FDA0002623161910000022
The notch depth k 2 is adjusted to:
Figure FDA0002623161910000023
ω1和ω2分别为陷波滤波器的起始抑制频率和终止抑制频率。ω 1 and ω 2 are the start and end rejection frequencies of the notch filter, respectively.
2.如权利要求1所述的一种基于陷波滤波器的变负载伺服系统振动抑制方法,其特征在于:步骤S101中,伺服系统模型的电机的负载转速间的传递函数如公式(1)所示:2. a kind of variable load servo system vibration suppression method based on notch filter as claimed in claim 1, is characterized in that: in step S101, the transfer function between the load speed of the motor of the servo system model is such as formula (1) shown:
Figure FDA0002623161910000027
Figure FDA0002623161910000027
上式中,J2为负载转动惯量;θ1为电机转轴转角;θ2为负载转角;K为传动轴扭转弹性系数。In the above formula, J 2 is the moment of inertia of the load; θ 1 is the rotation angle of the motor shaft; θ 2 is the load rotation angle; K is the torsional elasticity coefficient of the transmission shaft.
3.如权利要求1所述的一种基于陷波滤波器的变负载伺服系统振动抑制方法,其特征在于:步骤S103中,根据振幅数据判断系统是否存在残余振动的方法为:获取所述振幅数据中的最大振幅Hmax;判断条件Hmax≥x是否成立?若是,则判断为存在残余振动;否则,判断为不存在残余振动;其中,x大于0,为振动阈值,且为预设值。3. a kind of variable load servo system vibration suppression method based on notch filter as claimed in claim 1 is characterized in that: in step S103, the method for judging whether there is residual vibration in the system according to amplitude data is: obtaining the amplitude The maximum amplitude Hmax in the data; is the judgment condition Hmax≥x true? If yes, it is determined that there is residual vibration; otherwise, it is determined that there is no residual vibration; wherein, x is greater than 0, which is the vibration threshold, and is a preset value. 4.如权利要求1所述的一种基于陷波滤波器的变负载伺服系统振动抑制方法,其特征在于:步骤S104中,设计的陷波滤波器的传递函数如公式(2)所示:4. a kind of variable load servo system vibration suppression method based on notch filter as claimed in claim 1, is characterized in that: in step S104, the transfer function of the notch filter of design is as shown in formula (2):
Figure FDA0002623161910000024
Figure FDA0002623161910000024
上式中,
Figure FDA0002623161910000025
k1为陷波宽度,k2为陷波深度,
Figure FDA0002623161910000026
k1=5k2,ω0为伺服系统残余振动的初始中心频率,根据所述振幅数据计算获得;ω1和ω2分别为陷波滤波器的起始抑制频率和终止抑制频率,ω1和ω2关于ω0左右对称,其中初始的陷波宽度k1
Figure FDA0002623161910000031
初始的陷波深度k2
Figure FDA0002623161910000032
初始的ω2和ω1根据初始k1和k2求得。
In the above formula,
Figure FDA0002623161910000025
k 1 is the notch width, k 2 is the notch depth,
Figure FDA0002623161910000026
k 1 =5k 2 , ω 0 is the initial center frequency of the residual vibration of the servo system, calculated according to the amplitude data; ω 1 and ω 2 are the start and end suppression frequencies of the notch filter, respectively, ω 1 and ω 2 ω 2 is symmetrical about ω 0 , where the initial notch width k 1 is
Figure FDA0002623161910000031
The initial notch depth k 2 is
Figure FDA0002623161910000032
The initial ω 2 and ω 1 are obtained from the initial k 1 and k 2 .
5.如权利要求4所述的一种基于陷波滤波器的变负载伺服系统振动抑制方法,其特征在于:步骤S104中,根据所述振幅数据计算获得伺服系统残余振动的中心频率的方法如下:5. a kind of variable load servo system vibration suppression method based on notch filter as claimed in claim 4, is characterized in that: in step S104, the method that obtains the center frequency of servo system residual vibration according to described amplitude data calculation is as follows : S201:根据位置传感器的振幅数据,得到伺服系统振动的位移时间关系图;并根据位移时间关系图得到振幅的最大波峰出现时刻t1和次大波峰出现时刻t2S201: obtain a displacement-time relationship diagram of the vibration of the servo system according to the amplitude data of the position sensor; and obtain the maximum wave peak occurrence time t 1 and the second largest wave peak appearance time t 2 of the amplitude according to the displacement time relationship diagram; S202:根据t1和t2,采用频率计算公式,计算得到伺服系统残余振动的初始中心频率ω0;计算公式如公式(3)所示:S202: According to t 1 and t 2 , the initial center frequency ω 0 of the residual vibration of the servo system is obtained by using the frequency calculation formula; the calculation formula is shown in formula (3):
Figure FDA0002623161910000033
Figure FDA0002623161910000033
6.如权利要求1所述的一种基于陷波滤波器的变负载伺服系统振动抑制方法,其特征在于:步骤S105中,根据振动抑制后的伺服系统的振幅数据判断当前伺服系统是否存在残余振动的方法为:6. a kind of variable load servo system vibration suppression method based on notch filter as claimed in claim 1 is characterized in that: in step S105, according to the amplitude data of the servo system after vibration suppression, judge whether the current servo system has residual The way to vibrate is: 获取振动抑制后的伺服系统的振幅数据中的最大振幅Hmax1;判断条件Hmax1≥x是否成立?若是,则判断为存在残余振动;否则,则判断为不存在残余振动;其中,x大于0,为振动阈值,且为预设值。Obtain the maximum amplitude Hmax1 in the amplitude data of the servo system after vibration suppression; whether the judgment condition Hmax1≥x is satisfied? If so, it is determined that there is residual vibration; otherwise, it is determined that there is no residual vibration; where x is greater than 0, which is the vibration threshold and is a preset value. 7.一种基于陷波滤波器的变负载伺服系统振动抑制系统,其特征在于:包括以下模块:7. A variable load servo system vibration suppression system based on a notch filter, characterized in that: comprising the following modules: 模型建立模块,用于对需要抑制振动的伺服系统的弹性连接装置建模,得到伺服系统模型;所述伺服系统中安装有测量系统振幅的位置传感器;A model building module is used to model the elastic connection device of the servo system that needs to suppress vibration to obtain a servo system model; a position sensor for measuring the amplitude of the system is installed in the servo system; 第一数据获取模块,用于获取伺服系统中的位置传感器的振幅数据;a first data acquisition module, used for acquiring the amplitude data of the position sensor in the servo system; 第一判断模块,用于根据振幅数据判断系统是否存在残余振动?若是,则到滤波器设计模块;否则,返回第一数据获取模块;The first judgment module is used to judge whether there is residual vibration in the system according to the amplitude data? If so, go to the filter design module; otherwise, return to the first data acquisition module; 滤波器设计模块,用于根据伺服系统模型,设计陷波滤波器,并利用设计好的陷波滤波器对伺服系统的残余振动进行抑制;所述伺服系统的残余振动的初始中心频率为ω0,根据所述振幅数据计算获得;The filter design module is used to design a notch filter according to the servo system model, and use the designed notch filter to suppress the residual vibration of the servo system; the initial center frequency of the residual vibration of the servo system is ω 0 , calculated according to the amplitude data; 第二判断模块,用于利用位置传感器获取残余振动抑制后的伺服系统的振幅数据;并根据振动抑制后的伺服系统的振幅数据判断当前伺服系统是否存在残余振动?若是,则到计算模块;否则,返回第一数据获取模块;The second judgment module is used to obtain the amplitude data of the servo system after the residual vibration is suppressed by using the position sensor; and judge whether the current servo system has residual vibration according to the amplitude data of the servo system after the vibration suppression? If so, go to the calculation module; otherwise, return to the first data acquisition module; 计算模块,用于根据振动抑制后的伺服系统的振幅数据,计算得到振动抑制后的伺服系统残余振动的第一中心频率ω′0a calculation module, used for calculating the first center frequency ω′ 0 of the residual vibration of the servo system after the vibration suppression according to the amplitude data of the servo system after the vibration suppression; 参数更新模块,用于根据ω′0和ω0的关系,对所述陷波滤波器在线进行参数更新;a parameter updating module, used for online parameter updating of the notch filter according to the relationship between ω′ 0 and ω 0 ; 第三判断模块,用于判断系统是否停止?若是,则到终止模块;否则,利用更新后的陷波滤波器对系统残余振动进行再次抑制,并返回参数更新模块;The third judgment module is used to judge whether the system is stopped? If so, go to the termination module; otherwise, use the updated notch filter to suppress the residual vibration of the system again, and return to the parameter update module; 终止模块,用于结束残余振动抑制程序;Termination module for ending the residual vibration suppression procedure; 参数更新模块中,根据第一中心频率ω′0和初始中心频率ω0的关系,对所述陷波滤波器在线进行参数更新的方法为:In the parameter update module, according to the relationship between the first center frequency ω′ 0 and the initial center frequency ω 0 , the method for online parameter update of the notch filter is as follows: 若ω′0<ω0;则将初始中心频率ω0调整为和第一中心频率ω′0相等,将第一中心频率ω′0调整为
Figure FDA0002623161910000041
陷波宽度k1调整为:
Figure FDA0002623161910000042
陷波深度k2调整为:
Figure FDA0002623161910000043
其中,
Figure FDA0002623161910000044
ω′1=2ω′0-ω′2
If ω′ 00 ; then the initial center frequency ω 0 is adjusted to be equal to the first center frequency ω′ 0 , and the first center frequency ω′ 0 is adjusted to
Figure FDA0002623161910000041
The notch width k 1 is adjusted to:
Figure FDA0002623161910000042
The notch depth k 2 is adjusted to:
Figure FDA0002623161910000043
in,
Figure FDA0002623161910000044
ω′ 1 =2ω′ 0 −ω′ 2 ;
若ω′0=ω0;ω0和ω′0均不变,陷波宽度调整为原来的陷波宽度的
Figure FDA0002623161910000045
陷波深度调整为调整后的陷波宽度的1/5;
If ω′ 00 ; both ω 0 and ω′ 0 are unchanged, the notch width is adjusted to the original notch width
Figure FDA0002623161910000045
The notch depth is adjusted to 1/5 of the adjusted notch width;
若ω′0>ω0,则将初始中心频率ω0调整为和第一中心频率ω′0相等,将第一中心频率ω′0调整为
Figure FDA0002623161910000046
陷波宽度k1调整为:
Figure FDA0002623161910000047
陷波深度k2调整为:
Figure FDA0002623161910000048
If ω′ 00 , the initial center frequency ω 0 is adjusted to be equal to the first center frequency ω′ 0 , and the first center frequency ω′ 0 is adjusted to
Figure FDA0002623161910000046
The notch width k 1 is adjusted to:
Figure FDA0002623161910000047
The notch depth k 2 is adjusted to:
Figure FDA0002623161910000048
ω1和ω2分别为陷波滤波器的起始抑制频率和终止抑制频率。ω 1 and ω 2 are the start and end rejection frequencies of the notch filter, respectively.
CN201811624386.8A 2018-12-28 2018-12-28 Variable load servo system vibration suppression method and system based on notch filter Active CN109474222B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811624386.8A CN109474222B (en) 2018-12-28 2018-12-28 Variable load servo system vibration suppression method and system based on notch filter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811624386.8A CN109474222B (en) 2018-12-28 2018-12-28 Variable load servo system vibration suppression method and system based on notch filter

Publications (2)

Publication Number Publication Date
CN109474222A CN109474222A (en) 2019-03-15
CN109474222B true CN109474222B (en) 2020-10-30

Family

ID=65678124

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811624386.8A Active CN109474222B (en) 2018-12-28 2018-12-28 Variable load servo system vibration suppression method and system based on notch filter

Country Status (1)

Country Link
CN (1) CN109474222B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109995300B (en) * 2019-04-23 2021-01-26 深圳市海浦蒙特科技有限公司 Method, system and medium for resonance suppression and notch parameter optimization of servo system
CN110187723B (en) * 2019-06-04 2021-05-25 南京航空航天大学 Vibration control method of rigid-flexible coupling electromechanical servo system
CN111590558B (en) * 2020-02-05 2022-06-14 季华实验室 Robot vibration suppression method, device, terminal and storage medium
CN111347425B (en) * 2020-03-04 2021-08-10 深圳易能电气技术股份有限公司 Mechanical vibration suppression method, system and computer readable storage medium
CN111650889A (en) * 2020-06-23 2020-09-11 佛山市普拉迪数控科技有限公司 Intelligent control method for cutting chatter suppression of five-axis gantry numerical control machining center
CN111913506A (en) * 2020-07-23 2020-11-10 中国地质大学(武汉) Terminal Vibration Suppression Method Based on Equivalent Input Disturbance and Input Shaper

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008312339A (en) * 2007-06-14 2008-12-25 Panasonic Corp Electric motor control device
JPWO2014155559A1 (en) * 2013-03-27 2017-02-16 株式会社安川電機 Notch filter, external force estimator, motor controller and robot system
TWI527359B (en) * 2013-11-01 2016-03-21 光寶科技股份有限公司 Method of vibration suppression and control system thereof
CN105305920B (en) * 2015-11-19 2018-01-19 上海无线电设备研究所 A kind of system and method for suppressing AC servo twisting vibration
JP7065452B2 (en) * 2017-06-15 2022-05-12 パナソニックIpマネジメント株式会社 Motor control device and motor control method
CN107748577A (en) * 2017-10-19 2018-03-02 哈尔滨工业大学 The mechanical resonant suppressing method of electromechanical servo system based on extremum seeking algorithm
CN108638056A (en) * 2018-04-13 2018-10-12 华南理工大学 Joint of robot vibration analysis based on kinetics of deformable bodies model and suppressing method
CN108845510B (en) * 2018-05-28 2020-05-19 珠海格力电器股份有限公司 Vibration control method and device for flexible connecting piece, storage medium and execution system

Also Published As

Publication number Publication date
CN109474222A (en) 2019-03-15

Similar Documents

Publication Publication Date Title
CN109474222B (en) Variable load servo system vibration suppression method and system based on notch filter
CN108638056A (en) Joint of robot vibration analysis based on kinetics of deformable bodies model and suppressing method
CN107394784B (en) Online resonance suppression parameter optimization method for notch filter
CN103792888B (en) Vibration suppression controller based on feed system positions feedback signal
WO2014167852A1 (en) Motor drive device
CN111251900A (en) An anti-shake method that can reduce torque loss
CN110955176B (en) A Method for Residual Vibration Suppression at the End of Servo System Based on Model Tracking Control
CN118331075B (en) Flexible mechanism model parameter estimation method based on self-adaptive extended state observer
CN203720602U (en) Vibration elimination controller based on position feedback signals of feeding system
CN106341065B (en) Supersonic motor servo-control system speed dead area compensation control device and method
US11913512B2 (en) Vibration suppression method for servo motor and load multistage drive system
CN113572394A (en) A method for online calibration and compensation of torque fluctuation of synchronous motor servo system
CN109995286B (en) PI parameter optimization design method for speed loop of asynchronous motor
CN111046510A (en) Vibration suppression method of flexible mechanical arm based on track segmentation optimization
CN110350886A (en) A kind of resonance frequency detection method, system and the device of permanent magnetic servo system
CN113386565A (en) Method, device and equipment for detecting zero deviation of permanent magnet synchronous motor and automobile
CN116442223A (en) A Design Method of Nonlinear Dynamic Controller for Trajectory Tracking of Manipulator System
CN117318555A (en) Linear motor self-adaptive control method based on disturbance compensation
CN116125138A (en) Method and device for rapidly estimating frequency of sinusoidal signal based on rotation adjustment
CN116443100A (en) Angle control method, device, equipment and medium based on linear active disturbance rejection
WO2023082539A1 (en) Method and apparatus for determining load inertia of motor, motor assembly, and storage medium
CN115714554A (en) Mechanical resonance suppression method of millimeter wave radar high-precision servo tracking system
CN106768260A (en) The vibration signal maximum power frequency component real time detection algorithm of direct current disturbance can be suppressed
CN111482850A (en) A kind of blade automatic grinding and polishing method, device, electronic equipment and readable storage medium
Ito et al. Fast and precise positioning of rotary table systems by feedforward disturbance compensation considering interference force

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