CN116540530A - A Self-tuning Method of Incremental PID Parameter Single-phase Relay Feedback for Self-decaying System - Google Patents

A Self-tuning Method of Incremental PID Parameter Single-phase Relay Feedback for Self-decaying System Download PDF

Info

Publication number
CN116540530A
CN116540530A CN202310767169.9A CN202310767169A CN116540530A CN 116540530 A CN116540530 A CN 116540530A CN 202310767169 A CN202310767169 A CN 202310767169A CN 116540530 A CN116540530 A CN 116540530A
Authority
CN
China
Prior art keywords
self
value
oscillation
controller
phase relay
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
Application number
CN202310767169.9A
Other languages
Chinese (zh)
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.)
Hunan Shibo Testing Technology Co ltd
Hunan University
Original Assignee
Hunan Shibo Testing Technology Co ltd
Hunan University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hunan Shibo Testing Technology Co ltd, Hunan University filed Critical Hunan Shibo Testing Technology Co ltd
Priority to CN202310767169.9A priority Critical patent/CN116540530A/en
Publication of CN116540530A publication Critical patent/CN116540530A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B11/00Automatic controllers
    • G05B11/01Automatic controllers electric
    • G05B11/36Automatic controllers electric with provision for obtaining particular characteristics, e.g. proportional, integral, differential
    • G05B11/42Automatic controllers electric with provision for obtaining particular characteristics, e.g. proportional, integral, differential for obtaining a characteristic which is both proportional and time-dependent, e.g. P. I., P. I. D.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Feedback Control In General (AREA)

Abstract

The invention provides a self-tuning method for single sequential electric feedback of an incremental PID parameter of a self-attenuation system, which is different from the traditional relay feedback self-tuning method, and provides a new solution for self-tuning of the incremental PID control parameter of a self-attenuation electric drive control system which can only be controlled unidirectionally in a mobile bearing platform, thereby greatly improving the design efficiency of the control parameter and the accuracy and precision of the control. The method comprises the following steps: the system enters a single-phase sequential electric feedback self-tuning method, and the controller is switched to a single-phase relay feedback controller; the single-sequential electric feedback controller controls the system to continuously oscillate in a preset interval according to the measured value; the register records waveform data after the system generates usable waveforms; the solver calculates the optimal control quantity according to the waveform result of the register; and finally, inputting the calculated optimal control quantity into an incremental PID controller to verify whether the result meets the requirement.

Description

一种自衰减系统增量式PID参数单相继电反馈自整定方法A Self-tuning Method of Incremental PID Parameter Single-phase Relay Feedback for Self-decaying System

技术领域technical field

本发明涉及驱动控制技术领域,特别涉及一种自衰减系统增量式PID参数单相继电反馈自整定方法。The invention relates to the technical field of drive control, in particular to an incremental PID parameter single-phase relay feedback self-tuning method for a self-attenuation system.

背景技术Background technique

移动承载平台中存在许多不同的电驱动控制系统,要将这些大量的电驱动系统控制参数均调节出来,需要技术人员拥有非常丰富的理论知识且对调参过程非常熟悉。这无疑是一件工作量巨大且几乎无法准确完成的任务。由于移动承载平台的工作环境的不同,如在不同摩擦系数的路面上行驶、在不同环境温度下制动、装载不同目标物等复杂工况下,同一个控制参数不可能适应如此复杂多变的工况。因此一种能够适应多种驱动控制系统的控制参数自适应整定方法的设计有着重要的意义。There are many different electric drive control systems in the mobile carrier platform. To adjust all these control parameters of a large number of electric drive systems, technicians need to have very rich theoretical knowledge and be very familiar with the parameter adjustment process. This is undoubtedly a huge amount of work and almost impossible to complete the task accurately. Due to the different working environments of the mobile load-carrying platform, such as driving on roads with different friction coefficients, braking at different ambient temperatures, and loading different targets, it is impossible for the same control parameter to adapt to such complex and changeable conditions. working conditions. Therefore, it is of great significance to design a control parameter adaptive tuning method that can adapt to various drive control systems.

单向控制的自衰减系统指在控制过程中只能输入正值控制量且当没有控制量输入时系统状态会自衰减的系统。传统的继电反馈法一般多用于能够正反向控制的普通系统,而对只能单向控制的自衰减系统,传统的继电反馈法几乎无法得到正确的解算结果。而移动承载平台与传统继电反馈法不同,移动承载平台中只能采用单向控制的自衰减电驱动控制系统,移动承载平台中的纵向控制中,油门加速与制动减速互相独立控制,均为只能单向控制的自衰减电驱动控制系统,其油门只能加,整定过程中减速靠行驶阻力自衰减,使系统产生震荡,制动整定时给定一个固定的速度行驶,减速靠制动控制,加速靠固定速度,使系统产生震荡。The self-decaying system of one-way control refers to the system that can only input positive value control quantity in the control process and the system state will self-decay when there is no control quantity input. The traditional relay feedback method is generally used in ordinary systems that can be controlled in both forward and reverse directions, but for self-attenuating systems that can only be controlled in one direction, the traditional relay feedback method can hardly obtain correct solution results. However, the mobile carrying platform is different from the traditional relay feedback method. The mobile carrying platform can only use a self-attenuating electric drive control system with one-way control. It is a self-attenuating electric drive control system that can only be controlled in one direction. Its accelerator can only be increased. During the setting process, the deceleration depends on the self-attenuation of the driving resistance, which makes the system oscillate. Dynamic control, acceleration depends on a fixed speed, causing the system to oscillate.

发明内容Contents of the invention

本发明针对移动承载平台中只能单向控制的自衰减电驱动控制系统增量式PID控制参数自整定提出了一种提高控制参数的设计效率、提高控制的精确性与准确性的方案。The invention proposes a scheme for improving the design efficiency of control parameters and improving the precision and accuracy of control for the incremental PID control parameter self-tuning of a self-attenuating electric drive control system that can only be controlled in one direction in a mobile load-carrying platform.

本发明提供一种自衰减系统增量式PID参数单相继电反馈自整定方法,所述自衰减系统增量式PID参数单相继电反馈自整定方法包括以下步骤:The present invention provides a self-tuning method for self-attenuating system incremental PID parameter single-phase relay feedback. The self-tuning method for self-attenuating system incremental PID parameter single-phase relay feedback includes the following steps:

步骤1,控制器转换为单相继电反馈控制器,并初始化系统参数;Step 1, the controller is transformed into a single-phase relay feedback controller, and the system parameters are initialized;

步骤2,控制器依据反馈的测量值控制系统在预设区间内连续震荡,并通过对比测量值与震荡上下限值控制继电器通断使系统连续震荡;Step 2, the controller controls the system to continuously oscillate within the preset interval according to the feedback measurement value, and controls the relay on and off by comparing the measurement value with the upper and lower limits of the oscillation to make the system continuously oscillate;

步骤3,将系统采集的震荡波形转换为对称继电特性震荡;Step 3, converting the oscillation waveform collected by the system into a symmetrical relay characteristic oscillation;

步骤4,待采集器得到可用波形数据后控制器断开使系统停止,解算器根据波形数据计算出理想Kp、Ki、Kd值。Step 4, after the collector obtains the available waveform data, the controller is disconnected to stop the system, and the solver calculates the ideal K p , K i , and K d values according to the waveform data.

更近一步地,在步骤1中,所述系统参数包括震荡上限值、震荡下限值、采样周期、控制量的最大值。Furthermore, in step 1, the system parameters include the upper limit value of the oscillation, the lower limit value of the oscillation, the sampling period, and the maximum value of the control quantity.

更近一步地,在步骤2中,所述使系统连续震荡还包括以下步骤:Further, in step 2, the continuous oscillation of the system also includes the following steps:

步骤21,当系统的状态量小于预设区间最大值时,单相继电反馈控制器输入值x为预设上限与测量值的差值,根据单相继电器特性,控制器输出的控制量y为H,自衰减系统收到正向激励,系统状态量上升;Step 21, when the state quantity of the system is less than the maximum value of the preset interval, the input value x of the single-phase relay feedback controller is the difference between the preset upper limit and the measured value. According to the characteristics of the single-phase relay, the control quantity y output by the controller is is H, the self-decaying system receives positive excitation, and the system state quantity increases;

步骤22,当系统状态量大于预设区间最大值时,单相继电反馈控制器输入值x为预设下限与测量值的差值,根据单相继电器特性,控制器输出的控制量y为0,自衰减系统根据自身自衰减速率衰减;Step 22, when the system state quantity is greater than the maximum value of the preset interval, the input value x of the single-phase relay feedback controller is the difference between the preset lower limit and the measured value. According to the characteristics of the single-phase relay, the control quantity y output by the controller is 0, the self-attenuation system attenuates according to its own self-attenuation rate;

步骤23,当系统状态量低于预设区间最小值时,重复步骤21、22,采集器在系统产生稳定震荡后采集系统上升沿所需时间t1、下降沿所需时间t2、系统实际最大震荡值Hmax、系统实际最小震荡值HminStep 23, when the system state quantity is lower than the minimum value of the preset interval, repeat steps 21 and 22, and the collector collects the time required for the rising edge of the system t 1 , the time required for the falling edge t 2 , and the actual system The maximum oscillation value H max and the actual minimum oscillation value H min of the system.

更近一步地,在步骤3中,获取所述震荡波形上升沿数据作为解算,加入ΔH修正幅值以消除自衰减效应对控制量计算的影响,下降沿为消除自衰减效应后的模拟反向继电控制数据,转换后的震荡周期为2t1;修正幅值为:Furthermore, in step 3, the rising edge data of the oscillating waveform is obtained as a solution, and the ΔH correction amplitude is added to eliminate the influence of the self-attenuation effect on the calculation of the control variable, and the falling edge is the analog reaction after the self-attenuation effect is eliminated. To the relay control data, the oscillation period after conversion is 2t 1 ; the correction amplitude is:

t1为上升沿所需时间,t2为下降沿所需时间,Hmax为系统实际最大震荡值,Hmin为系统实际最小震荡值。t 1 is the time required for the rising edge, t 2 is the time required for the falling edge, H max is the actual maximum oscillation value of the system, and H min is the actual minimum oscillation value of the system.

更近一步地,在步骤4中,对输出信号进行傅里叶级数展开,进行谐波分析:Further, in step 4, Fourier series expansion is performed on the output signal for harmonic analysis:

a0表示傅里叶系数中常值分量,an表示傅里叶系数中n倍频余弦分量幅值,bn表示傅里叶系数中n倍频正弦分量幅值,ω0表示基频,t表示时间,n表示傅里叶级数项序号, a 0 represents the constant value component in the Fourier coefficient, a n represents the amplitude of the n-fold frequency cosine component in the Fourier coefficient, b n represents the amplitude of the n-fold frequency sine component in the Fourier coefficient, ω 0 represents the fundamental frequency, t Indicates time, n indicates the number of Fourier series items,

当定义正弦输入信号时,非线性环节的稳态输出中一次谐波分量和输入信号的复数比为非线性环节的描述函数,用N(x)表示:When defining a sinusoidal input signal, the complex ratio of the first harmonic component in the steady-state output of the nonlinear link to the input signal is the description function of the nonlinear link, expressed by N(x):

x表示输入值,a1表示傅里叶级数一次余弦分量,b1表示傅里叶级数一次正弦分量。x represents the input value, a 1 represents the first-order cosine component of the Fourier series, and b 1 represents the first-order sine component of the Fourier series.

更近一步地,在步骤4中,标准继电反馈法自整定中的控制器继电特性为:Furthermore, in step 4, the relay characteristics of the controller in the self-tuning of the standard relay feedback method are:

当继电器以固定频率转换时,可看为输入信号视为正弦信号:When the relay switches at a fixed frequency, it can be seen that the input signal is regarded as a sinusoidal signal:

其中,A为输出信号的幅值。Among them, A is the amplitude of the output signal.

更近一步地,在步骤4中,在频域中,当频率等于穿越频率时,系统处于临界状态,临界增益的理论值为:Furthermore, in step 4, in the frequency domain, when the frequency is equal to the crossover frequency, the system is in a critical state, and the theoretical value of the critical gain is:

Gp表示系统传递函数,ωc表示临界震荡频率。G p represents the system transfer function, ω c represents the critical oscillation frequency.

当系统处于临界稳定时,由奈奎斯特稳定判据得:When the system is critically stable, according to the Nyquist stability criterion:

Gp(jωc)N(x)=-1G p (jω c )N(x)=-1

故系统的临界增益与临界周期为:Therefore, the critical gain and critical period of the system are:

Tu表示临界周期。T u represents the critical period.

根据得到的系统的临界增益与临界周期,由Z-N法可得系统控制器的控制量为:According to the obtained critical gain and critical period of the system, the control quantity of the system controller can be obtained by the Z-N method as:

Kp=0.6Ku Kp = 0.6Ku

T表示采样周期。T represents the sampling period.

本发明达到的有益效果是:The beneficial effects that the present invention reaches are:

本发明提供的自衰减系统增量式PID参数单相继电反馈自整定方法实现了对自衰减系统的PID参数自整定,解决了传统继电反馈PID自整定方法适用范围小的局限性,使复杂系统(如移动承载平台)中各个被控环节特别是仅能单向控制的自衰减系统均能自适应整定,大大提高了复杂系统配置调试的效率,提高了控制系统参数的设计效率及控制的精准性。The incremental PID parameter single-phase relay feedback self-tuning method for the self-attenuating system provided by the present invention realizes the self-tuning of the PID parameters of the self-attenuating system, solves the limitation of the small application range of the traditional relay feedback PID self-tuning method, and enables Each controlled link in a complex system (such as a mobile bearing platform), especially the self-attenuation system that can only be controlled in one direction, can be adaptively tuned, which greatly improves the efficiency of complex system configuration and debugging, and improves the design efficiency and control of control system parameters. of precision.

附图说明Description of drawings

图1为本发明单相继电反馈自整定方法的整定过程流程图。Fig. 1 is a flow chart of the tuning process of the single-phase relay feedback self-tuning method of the present invention.

图2为本发明单相继电反馈自整定方法的系统控制器切换示意图。Fig. 2 is a schematic diagram of system controller switching of the single-phase relay feedback self-tuning method of the present invention.

图3为本发明单相继电反馈自整定方法的单相继电反馈控制示意图。Fig. 3 is a schematic diagram of the single-phase relay feedback control of the single-phase relay feedback self-tuning method of the present invention.

图4为本发明单相继电反馈自整定方法的波形转化示意图。Fig. 4 is a schematic diagram of waveform transformation of the single-phase relay feedback self-tuning method of the present invention.

图5为本发明单相继电反馈自整定方法中自衰减系统单相继电反馈结果转换为标准继电反馈结果示意图。Fig. 5 is a schematic diagram of converting the single-phase relay feedback result of the self-attenuation system into the standard relay feedback result in the single-phase relay feedback self-tuning method of the present invention.

具体实施方式Detailed ways

下面结合附图对本发明的技术方案进行更详细的说明,本发明包括但不仅限于下述实施例。The technical solutions of the present invention will be described in more detail below in conjunction with the accompanying drawings, and the present invention includes but not limited to the following embodiments.

如附图1所示,本发明提供一种自衰减系统增量式PID参数单相继电反馈自整定方法,包括以下步骤:As shown in accompanying drawing 1, the present invention provides a kind of incremental PID parameter single-phase relay feedback self-tuning method of self-decaying system, comprising the following steps:

步骤1,系统控制器转换为单相继电反馈控制器,并初始化系统参数定义;Step 1, the system controller is transformed into a single-phase relay feedback controller, and the definition of system parameters is initialized;

系统参数包括震荡上限值、震荡下限值、采样周期、控制量的最大值。The system parameters include the upper limit of oscillation, the lower limit of oscillation, the sampling period, and the maximum value of the control quantity.

由于移动承载平台工程实际中控制参数自整定需要在特定的场地范围内进行,考虑到场地的大小和整定过程的安全性,震荡的上下限不能超出移动承载平台划定的电子围栏范围,本方案可通过设定震荡上下限控制系统在安全范围内震荡。震荡范围选在电子围栏范围中心向外80%的安全区域,改进了传统的继电反馈法由于无法估计震荡幅度而引起的安全问题。Since the self-tuning of the control parameters in the actual mobile bearing platform project needs to be carried out within a specific site range, considering the size of the site and the safety of the setting process, the upper and lower limits of the vibration cannot exceed the electronic fence range defined by the mobile bearing platform. The system can be controlled to oscillate within a safe range by setting the upper and lower limits of oscillation. The vibration range is selected in the 80% safe area outside the center of the electronic fence range, which improves the safety problems caused by the inability to estimate the vibration amplitude in the traditional relay feedback method.

步骤2,控制器依据传感器反馈的测量值控制系统在预设区间内连续震荡,并通过对比测量值与震荡上下限值控制继电器通断使系统连续震荡;Step 2, the controller controls the system to continuously oscillate within the preset interval according to the measured value fed back by the sensor, and controls the relay on and off by comparing the measured value with the upper and lower limits of the oscillation to make the system continuously oscillate;

对于移动承载平台中控制系统的控制输入量能够为正和负,且没有较大的自衰减趋势的标准系统,自适应整定过程直接采用步骤4中记载的步骤进行计算。For the standard system in which the control input of the control system in the mobile bearing platform can be positive or negative, and has no large self-attenuation tendency, the self-adaptive tuning process is directly calculated using the steps recorded in step 4.

如附图2-3所示,对于移动承载平台中对于仅能单向输入自衰减系统,自衰减控制系统为控制输入量只能为正值,且当系统控制量输入为0时系统状态自衰减,在移动承载平台上表现为油门系统;As shown in Figure 2-3, for the self-attenuation system that can only input one-way in the mobile bearing platform, the self-attenuation control system can only be a positive value for the control input, and when the system control input is 0, the system state automatically Attenuation, manifested as a throttle system on a mobile carrying platform;

由于此时系统控制量输入只能为正,即为单相继电特性如下:Since the control quantity input of the system can only be positive at this time, the characteristics of the single-phase relay are as follows:

x表示继电器输入量,y表示继电器输出量,H表示系统控制量输入。x represents the input quantity of the relay, y represents the output quantity of the relay, and H represents the input of the system control quantity.

如附图4所示,与标准继电过程特性不同,其描述函数也因此发生改变,无法使用标准过程的推导计算出系统的临界增益与临界周期。在此类系统中,继电器在x<0时输出为0,系统没有控制量输入并产生自衰减。因自衰减速度较为缓慢,系统在一个震荡周期中上升沿与下降沿时间不同,对系统进行谐波分析时系统无法化为单谐波系统。As shown in Figure 4, different from the characteristics of the standard relay process, its description function is changed accordingly, and the critical gain and critical period of the system cannot be calculated using the derivation of the standard process. In this type of system, the output of the relay is 0 when x<0, and the system has no control input and produces self-attenuation. Because the self-attenuation speed is relatively slow, the time of the rising edge and the falling edge of the system in an oscillation cycle are different, and the system cannot be converted into a single harmonic system when performing harmonic analysis on the system.

本发明提供的自整定方法中包括数据采集器和解算器;数据采集器会分析系统波形数据,记录有控制器输入时的波形数据,即系统上升部分的时间长度,并在震荡结束时对称补齐缺失的半个周期长度,得到近似的标准继电反馈特性波形曲线。The self-tuning method provided by the present invention includes a data collector and a solver; the data collector can analyze the system waveform data, record the waveform data when the controller is input, that is, the time length of the rising part of the system, and symmetrically compensate The missing half-period length is corrected to obtain an approximate standard relay feedback characteristic waveform curve.

解算器根据转化后的波形数据计算控制参数结果,得到最优位置式PID控制参数。The solver calculates the control parameter results according to the converted waveform data, and obtains the optimal positional PID control parameters.

连续震荡产生控制过程包括以下步骤:The continuous oscillation generation control process includes the following steps:

步骤21,当系统的状态量小于预设区间最大值时,单相继电反馈控制器输入值x为预设上限与测量值的差值,根据单相继电器特性,控制器输出的控制量y为H,自衰减系统收到正向激励,系统状态量上升;Step 21, when the state quantity of the system is less than the maximum value of the preset interval, the input value x of the single-phase relay feedback controller is the difference between the preset upper limit and the measured value. According to the characteristics of the single-phase relay, the control quantity y output by the controller is is H, the self-decaying system receives positive excitation, and the system state quantity increases;

步骤22,当系统状态量大于预设区间最大值时,单相继电反馈控制器输入值x为预设下限与测量值的差值,根据单相继电器特性,控制器输出的控制量y为0,自衰减系统根据自身自衰减速率衰减;Step 22, when the system state quantity is greater than the maximum value of the preset interval, the input value x of the single-phase relay feedback controller is the difference between the preset lower limit and the measured value. According to the characteristics of the single-phase relay, the control quantity y output by the controller is 0, the self-attenuation system attenuates according to its own self-attenuation rate;

步骤23,当系统状态量低于预设区间最小值时,重复步骤21、22,采集器在系统产生稳定震荡后采集系统上升沿所需时间t1、下降沿所需时间t2、系统实际最大震荡值Hmax、系统实际最小震荡值HminStep 23, when the system state quantity is lower than the minimum value of the preset interval, repeat steps 21 and 22, and the collector collects the time required for the rising edge of the system t 1 , the time required for the falling edge t 2 , and the actual system The maximum oscillation value H max and the actual minimum oscillation value H min of the system.

由于自衰减系统存在明显的自衰减效应,采集器采集的实际结果为非标准继电反馈控制结果,不利于解算器计算,故需要对数据进行处理,转换为标准继电反馈控制结果波形数据。Due to the obvious self-attenuation effect of the self-attenuation system, the actual results collected by the collector are non-standard relay feedback control results, which are not conducive to the calculation of the solver, so the data needs to be processed and converted into standard relay feedback control result waveform data .

步骤3,将系统采集的震荡波形转换为对称继电特性震荡;Step 3, converting the oscillation waveform collected by the system into a symmetrical relay characteristic oscillation;

如图5所示,系统采集的震荡波形为非对称继电器特性控制下的波形,不利于解算PID控制参数,因实际PID控制中控制量主要为上升沿作用,故本发明主要取上升沿数据作为解算,加入ΔH修正幅值以消除自衰减效应对控制量计算的影响,下降沿为消除自衰减效应后的模拟反向继电控制数据,转换后的震荡周期为2t1。其中:As shown in Figure 5, the oscillating waveform collected by the system is a waveform under the control of asymmetric relay characteristics, which is not conducive to solving the PID control parameters. Because the control amount in the actual PID control is mainly the effect of the rising edge, so the present invention mainly takes the rising edge data As a solution, ΔH is added to correct the amplitude to eliminate the influence of the self-attenuation effect on the calculation of the control quantity. The falling edge is the simulated reverse relay control data after the self-attenuation effect is eliminated, and the converted oscillation period is 2t 1 . in:

将非对称继电特性震荡转换为对称继电特性震荡后进入PID控制参数计算环节。After converting the asymmetrical relay characteristic oscillation into symmetrical relay characteristic oscillation, it enters the PID control parameter calculation link.

步骤4,待采集器得到可用波形数据后控制器断开使系统停止,解算器根据波形数据计算出理想Kp、Ki、Kd值;其中,可用波形是系统在继电器控制下连续至少产生了两个完整周期的周期信号。Step 4: After the collector obtains the available waveform data, the controller is disconnected to stop the system, and the solver calculates the ideal K p , K i , and K d values according to the waveform data; among them, the available waveform is the continuous at least A periodic signal of two full cycles is produced.

自适应整定环节输入输出描述为:The input and output of the adaptive tuning link are described as:

y=f(x)y=f(x)

对输出信号进行傅里叶级数展开,进行谐波分析:Perform Fourier series expansion on the output signal for harmonic analysis:

a0表示傅里叶系数中常值分量,an表示傅里叶系数中n倍频余弦分量幅值,bn表示傅里叶系数中n倍频正弦分量幅值,ω0表示基频,t表示时间,n表示傅里叶级数项序号, a 0 represents the constant value component in the Fourier coefficient, a n represents the amplitude of the n-fold frequency cosine component in the Fourier coefficient, b n represents the amplitude of the n-fold frequency sine component in the Fourier coefficient, ω 0 represents the fundamental frequency, t Indicates time, n indicates the number of Fourier series items,

其中,常值分量:where the constant component:

T0表示周期;T 0 means period;

余弦分量幅值:Cosine component magnitude:

正弦分量幅值:Sine component magnitude:

第n次谐波分量为:The nth harmonic component is:

其中, in,

若常值分量等于0且n>1时Yn均很小,则可近似认为非线性环节的正弦相应仅有一次谐波分量:If the constant value component is equal to 0 and Y n is very small when n>1, it can be approximately considered that the sinusoidal response of the nonlinear link has only the first harmonic component:

其中,x表示输入值,a1表示傅里叶级数一次余弦分量,b1表示傅里叶级数一次正弦分量。Among them, x represents the input value, a 1 represents the first-order cosine component of the Fourier series, and b 1 represents the first-order sine component of the Fourier series.

由上述推导可知,当定义正弦输入信号时,非线性环节的稳态输出中一次谐波分量和输入信号的复数比为非线性环节的描述函数,用N(a)表示:It can be seen from the above derivation that when defining a sinusoidal input signal, the complex ratio of the first harmonic component in the steady-state output of the nonlinear link to the input signal is the description function of the nonlinear link, expressed by N(a):

其中,x表示输入值。Among them, x represents the input value.

标准继电反馈法自整定中的控制器继电特性为:The relay characteristics of the controller in the self-tuning of the standard relay feedback method are:

当继电器以固定频率转换时,可看为输入信号视为正弦信号:When the relay switches at a fixed frequency, it can be seen that the input signal is regarded as a sinusoidal signal:

代入描述函数可得:Substitute into the description function to get:

其中,A为输出信号的幅值。Among them, A is the amplitude of the output signal.

在频域中,当频率等于穿越频率时,系统处于临界状态,因为在自适应整定过程中系统的阶跃响应曲线输出等幅振荡,且继电器的描述函数与实轴负实部重合,所以临界频率等于穿越频率,即被控对象的奈奎斯特曲线和描述函数负倒数交点处频率与穿越频率重合。故临界增益的理论值为:In the frequency domain, when the frequency is equal to the crossover frequency, the system is in a critical state, because the step response curve of the system outputs equal-amplitude oscillations during the adaptive tuning process, and the description function of the relay coincides with the negative real part of the real axis, so the critical The frequency is equal to the crossover frequency, that is, the frequency at the intersection of the Nyquist curve of the controlled object and the negative reciprocal of the description function coincides with the crossover frequency. Therefore, the theoretical value of the critical gain is:

Gp表示系统传递函数,ωc表示临界震荡频率。G p represents the system transfer function, ω c represents the critical oscillation frequency.

当系统处于临界稳定时,由奈奎斯特稳定判据得:When the system is critically stable, according to the Nyquist stability criterion:

Gp(jωc)N(a)=-1G p (jω c )N(a)=-1

故系统的临界增益与临界周期为:Therefore, the critical gain and critical period of the system are:

Tu表示临界周期。T u represents the critical period.

根据得到的系统的临界增益与临界周期,由Z-N法可得系统控制器的控制量为:According to the obtained critical gain and critical period of the system, the control quantity of the system controller can be obtained by the Z-N method as:

Kp=0.6Ku Kp = 0.6Ku

T表示采样周期。T represents the sampling period.

最后,将整定结果Kp、Ki、Kd输入位置式PID控制器中并用不同工况验证整定结果能否精确控制系统。Finally, input the setting results K p , K i , K d into the positional PID controller and use different working conditions to verify whether the setting results can accurately control the system.

本发明不仅局限于上述具体实施方式,本领域一般技术人员根据实施例和附图公开内容,可以采用其它多种具体实施方式实施本发明,因此,凡是采用本发明的设计结构和思路,做一些简单的变换或更改的设计,都落入本发明保护的范围。The present invention is not limited to the specific embodiments described above, and those skilled in the art can implement the present invention in various other specific embodiments according to the embodiments and the disclosure content of the accompanying drawings. Simple transformations or modified designs all fall within the protection scope of the present invention.

Claims (7)

1.一种自衰减系统增量式PID参数单相继电反馈自整定方法,其特征在于,所述自衰减系统增量式PID参数单相继电反馈自整定方法包括以下步骤:1. a self-tuning method for self-attenuating system incremental PID parameter single-phase relay feedback, it is characterized in that, described self-attenuating system incremental PID parameter single-phase relay feedback self-tuning method comprises the following steps: 步骤1,控制器转换为单相继电反馈控制器,并初始化系统参数;Step 1, the controller is transformed into a single-phase relay feedback controller, and the system parameters are initialized; 步骤2,控制器依据反馈的测量值控制系统在预设区间内连续震荡,并通过对比测量值与震荡上下限值控制继电器通断使系统连续震荡;Step 2, the controller controls the system to continuously oscillate within the preset interval according to the feedback measurement value, and controls the relay on and off by comparing the measurement value with the upper and lower limits of the oscillation to make the system continuously oscillate; 步骤3,将系统采集的震荡波形转换为对称继电特性震荡;Step 3, converting the oscillation waveform collected by the system into a symmetrical relay characteristic oscillation; 步骤4,待采集器得到可用波形数据后控制器断开使系统停止,解算器根据波形数据计算出理想Kp、Ki、Kd值。Step 4, after the collector obtains the available waveform data, the controller is disconnected to stop the system, and the solver calculates the ideal K p , K i , and K d values according to the waveform data. 2.根据权利要求1所述自衰减系统增量式PID参数单相继电反馈自整定方法,其特征在于,在步骤1中,所述系统参数包括震荡上限值、震荡下限值、采样周期、控制量的最大值。2. according to the self-tuning method of self-attenuation system incremental PID parameter single-phase relay feedback of claim 1, it is characterized in that, in step 1, described system parameter comprises oscillation upper limit value, oscillation lower limit value, sampling The maximum value of period and control quantity. 3.根据权利要求1所述自衰减系统增量式PID参数单相继电反馈自整定方法,其特征在于,在步骤2中,所述使系统连续震荡还包括以下步骤:3. according to the described self-attenuation system incremental PID parameter single-phase relay feedback self-tuning method of claim 1, it is characterized in that, in step 2, described making system continuous oscillation also comprises the following steps: 步骤21,当系统的状态量小于预设区间最大值时,单相继电反馈控制器输入值x为预设上限与测量值的差值,根据单相继电器特性,控制器输出的控制量y为H,自衰减系统收到正向激励,系统状态量上升;Step 21, when the state quantity of the system is less than the maximum value of the preset interval, the input value x of the single-phase relay feedback controller is the difference between the preset upper limit and the measured value. According to the characteristics of the single-phase relay, the control quantity y output by the controller is is H, the self-decaying system receives positive excitation, and the system state quantity increases; 步骤22,当系统状态量大于预设区间最大值时,单相继电反馈控制器输入值x为预设下限与测量值的差值,根据单相继电器特性,控制器输出的控制量y为0,自衰减系统根据自身自衰减速率衰减;Step 22, when the system state quantity is greater than the maximum value of the preset interval, the input value x of the single-phase relay feedback controller is the difference between the preset lower limit and the measured value. According to the characteristics of the single-phase relay, the control quantity y output by the controller is 0, the self-attenuation system attenuates according to its own self-attenuation rate; 步骤23,当系统状态量低于预设区间最小值时,重复步骤21、22,采集器在系统产生稳定震荡后采集系统上升沿所需时间t1、下降沿所需时间t2、系统实际最大震荡值Hmax、系统实际最小震荡值HminStep 23, when the system state quantity is lower than the minimum value of the preset interval, repeat steps 21 and 22, and the collector collects the time required for the rising edge of the system t 1 , the time required for the falling edge t 2 , and the actual system The maximum oscillation value H max and the actual minimum oscillation value H min of the system. 4.根据权利要求1所述自衰减系统增量式PID参数单相继电反馈自整定方法,其特征在于,在步骤3中,获取所述震荡波形上升沿数据作为解算,加入ΔH修正幅值以消除自衰减效应对控制量计算的影响,下降沿为消除自衰减效应后的模拟反向继电控制数据,转换后的震荡周期为2t1;修正幅值为:4. according to the self-tuning method of self-attenuation system incremental PID parameter single-phase relay feedback self-tuning method of claim 1, it is characterized in that, in step 3, obtain described oscillating waveform rising edge data as solution, add ΔH correction amplitude value to eliminate the influence of the self-attenuation effect on the calculation of the control quantity, the falling edge is the simulated reverse relay control data after the self-attenuation effect is eliminated, and the converted oscillation period is 2t 1 ; the correction amplitude is: t1为上升沿所需时间,t2为下降沿所需时间,Hmax为系统实际最大震荡值,Hmin为系统实际最小震荡值。t 1 is the time required for the rising edge, t 2 is the time required for the falling edge, H max is the actual maximum oscillation value of the system, and H min is the actual minimum oscillation value of the system. 5.根据权利要求1所述自衰减系统增量式PID参数单相继电反馈自整定方法,其特征在于,在步骤4中,对输出信号进行傅里叶级数展开,进行谐波分析:5. according to the described self-attenuation system incremental PID parameter single-phase relay feedback self-tuning method of claim 1, it is characterized in that, in step 4, carry out Fourier series expansion to output signal, carry out harmonic analysis: a0表示傅里叶系数中常值分量,an表示傅里叶系数中n倍频余弦分量幅值,bn表示傅里叶系数中n倍频正弦分量幅值,ω0表示基频,t表示时间,n表示傅里叶级数项序号, a 0 represents the constant value component in the Fourier coefficient, a n represents the amplitude of the n-fold frequency cosine component in the Fourier coefficient, b n represents the amplitude of the n-fold frequency sine component in the Fourier coefficient, ω 0 represents the fundamental frequency, t Indicates time, n indicates the number of Fourier series items, 当定义正弦输入信号时,非线性环节的稳态输出中一次谐波分量和输入信号的复数比为非线性环节的描述函数,用N(x)表示:When defining a sinusoidal input signal, the complex ratio of the first harmonic component in the steady-state output of the nonlinear link to the input signal is the description function of the nonlinear link, expressed by N(x): x表示输入值,a1表示傅里叶级数一次余弦分量,b1表示傅里叶级数一次正弦分量。x represents the input value, a 1 represents the first-order cosine component of the Fourier series, and b 1 represents the first-order sine component of the Fourier series. 6.根据权利要求5所述自衰减系统增量式PID参数单相继电反馈自整定方法,其特征在于,在步骤4中,标准继电反馈法自整定中的控制器继电特性为:6. according to the described auto-attenuation system incremental PID parameter single-phase relay feedback self-tuning method of claim 5, it is characterized in that, in step 4, the controller relay characteristic in the standard relay feedback method self-tuning is: 当继电器以固定频率转换时,可看为输入信号视为正弦信号:When the relay switches at a fixed frequency, it can be seen that the input signal is regarded as a sinusoidal signal: 其中,A为输出信号的幅值。Among them, A is the amplitude of the output signal. 7.根据权利要求6所述自衰减系统增量式PID参数单相继电反馈自整定方法,其特征在于,在步骤4中,在频域中,当频率等于穿越频率时,系统处于临界状态,临界增益的理论值为:7. according to the self-tuning method of self-attenuating system incremental PID parameter single-phase relay feedback of claim 6, it is characterized in that, in step 4, in frequency domain, when frequency equals crossing frequency, system is in critical state , the theoretical value of the critical gain is: Gp表示系统传递函数,ωc表示临界震荡频率;G p represents the system transfer function, ωc represents the critical oscillation frequency; 当系统处于临界稳定时,由奈奎斯特稳定判据得:When the system is critically stable, according to the Nyquist stability criterion: Gp(jωc)N(x)=-1G p (jω c )N(x)=-1 故系统的临界增益与临界周期为:Therefore, the critical gain and critical period of the system are: Tu表示临界周期;T u represents the critical period; 根据得到的系统的临界增益与临界周期,由Z-N法可得系统控制器的控制量为:According to the obtained critical gain and critical period of the system, the control quantity of the system controller can be obtained by the Z-N method as: Kp=0.6Ku Kp = 0.6Ku T表示采样周期。T represents the sampling period.
CN202310767169.9A 2023-06-27 2023-06-27 A Self-tuning Method of Incremental PID Parameter Single-phase Relay Feedback for Self-decaying System Pending CN116540530A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310767169.9A CN116540530A (en) 2023-06-27 2023-06-27 A Self-tuning Method of Incremental PID Parameter Single-phase Relay Feedback for Self-decaying System

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310767169.9A CN116540530A (en) 2023-06-27 2023-06-27 A Self-tuning Method of Incremental PID Parameter Single-phase Relay Feedback for Self-decaying System

Publications (1)

Publication Number Publication Date
CN116540530A true CN116540530A (en) 2023-08-04

Family

ID=87443933

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310767169.9A Pending CN116540530A (en) 2023-06-27 2023-06-27 A Self-tuning Method of Incremental PID Parameter Single-phase Relay Feedback for Self-decaying System

Country Status (1)

Country Link
CN (1) CN116540530A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117193430A (en) * 2023-10-11 2023-12-08 深圳市顾美科技有限公司 PID temperature control method, equipment and storage medium based on PLC

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117193430A (en) * 2023-10-11 2023-12-08 深圳市顾美科技有限公司 PID temperature control method, equipment and storage medium based on PLC
CN117193430B (en) * 2023-10-11 2024-05-24 深圳市顾美科技有限公司 PID temperature control method, equipment and storage medium based on PLC

Similar Documents

Publication Publication Date Title
Jiang et al. A modified prandtl-ishlinskii model for modeling asymmetric hysteresis of piezoelectric actuators
Zhong et al. Adaptive robust precision motion control of a piezoelectric positioning stage
CN103472730B (en) Double-frame control moment gyro high-precision frame rate servo system based on harmonic reducer torsional rigidity hysteresis model
CN110661449B (en) Hysteresis error compensation control system and control method of vibration-assisted cutting device
CN116540530A (en) A Self-tuning Method of Incremental PID Parameter Single-phase Relay Feedback for Self-decaying System
CN110635735A (en) Control Method of Current Loop in PMSM Servo System
Silva et al. Controller design via Padé approximation can lead to instability
CN113517832A (en) A Low-Voltage Servo Discrete Linear Active Disturbance Rejection Control Method
CN102270007B (en) Feed-forward open-loop linear controlling method of delay characteristics of piezoelectric ceramic actuator and implementing circuit thereof
CN101505110A (en) Inverter for instant voltage PID current PI digital control
CN110336484B (en) A Polynomial Fitting Correction Method for Hysteresis Nonlinearity of Piezoelectric Ceramics
CN109184925B (en) Electronic throttle control method based on adaptive integral terminal sliding mode technology
CN113315413B (en) Design method of filter type second-order terminal discrete sliding mode controller of piezoelectric linear motor
CN109856959A (en) A kind of linear motor control method and system based on PID
CN110138270A (en) A kind of multi-modal Driven by Ultrasonic Motors control system
CN101505109A (en) Inverter electric power with instant voltage and current dual loop digital control
CN114690642B (en) Coupling control method of piezoelectric driving system
CN107422640B (en) A Combined Integral System Identification Method Based on Relay Feedback
CN114253138B (en) Nanometer positioning platform compensation control method and system based on dynamic delay PI model
CN110412876A (en) A Repeated Control Method of Inverter Based on Law of Attraction
CN109217716B (en) Contour controller of ultrasonic motor based on pre-sliding friction model
CN116667691A (en) A converter voltage and current loop control system and method considering dead time
CN1658485A (en) Inverse Control Current Tracking Control Method Based on Average Current Compensation
Hassani et al. Integrated Rate and Inertial dependent Prandtl-Ishlinskii model for piezoelectric actuator
CN110297426B (en) Parallel Half-Cycle Repeated Control Method Using Periodic Disturbance Differential Suppression Strategy

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