CN103197692B - A flow control method, apparatus and system for - Google Patents

A flow control method, apparatus and system for Download PDF

Info

Publication number
CN103197692B
CN103197692B CN 201310125813 CN201310125813A CN103197692B CN 103197692 B CN103197692 B CN 103197692B CN 201310125813 CN201310125813 CN 201310125813 CN 201310125813 A CN201310125813 A CN 201310125813A CN 103197692 B CN103197692 B CN 103197692B
Authority
CN
Grant status
Grant
Patent type
Prior art keywords
liquid
gas flow
control
parameter
xi
Prior art date
Application number
CN 201310125813
Other languages
Chinese (zh)
Other versions
CN103197692A (en )
Inventor
张元华
谈建功
王文为
李振刚
许文菊
王巧鸾
黄鑫
康凯
董京帅
展杰
刘文奇
Original Assignee
莱芜钢铁集团有限公司
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
Grant date

Links

Abstract

本发明公开一种流量控制方法、装置及系统,其核心思想为以液体或气体的流量和控制参数组成的数据组作为基础,利用最小二乘法进行运算得到两个参数,由所述两个参数得到液体或气体的流量和控制参数所对应的线性关系。 The present invention discloses a traffic control method, device and system, the core idea is to set the data flow and control parameters consisting of a liquid or gas as a basis for calculating the least square method to obtain two parameters, by the two parameters a linear relationship and the flow of liquid or gas control parameter corresponds. 并根据液体或气体流量的和控制参数的对应的线性关系,就可以根据液体或气体的流量获得对应的控制参数。 The linear relationship and the corresponding liquid or gas flow and control parameters, the control parameters can be obtained according to the flow rate corresponding to a liquid or gas. 从而不必采用PID控制方式或其他控制方式探索控制参数的大小,从而不会PID控制方式产生的超调现象。 Thus having to use PID control or other control methods to explore the size of the control parameters, so as not to overshoot PID control generated. 本发明可以精确控制液体或气体流量,实现稳定、实时、可靠的流量控制,符合工艺要求和企业的预期。 The present invention can accurately control the flow of liquid or gas, stable, real-time, reliable flow control and meet the technical requirements of the enterprise expected.

Description

-种流量控制方法、装置及系统 - kind of flow control method, apparatus and system for

技术领域 FIELD

[0001] 本发明属于自动化领域,特别设及一种流量控制方法、装置及系统。 [0001] The present invention belongs to the field of automation, and in particular, provided A flow control method, device and system.

背景技术 Background technique

[0002] 在冶金行业的供液体系统和供气系统中,随着工艺提升及自动化控制程度的提高,对供液体和供气流量的控制精度和实时性要求越来越严格,但是由于设备本身(如供液体变频累和阀体的死区等固有特性)及工艺管路的布置等原因,决定了供液体系统和供气系统是一个非线性及存在大滞后性的系统。 [0002] In the metallurgical industry, systems for liquid and gas supply system, along with technology improvement and increase the degree of automation, control accuracy for the flow of liquid and gas and real-time requirements more stringent, but due to the device itself (inherent characteristics such as dead donor and body fluid accumulated frequency, etc.) and the process line arrangement and other reasons, the liquid supply system and the determined air supply system is a non-linear and there is a large hysteresis of the system. 如何在运样一个大滞后、非线性的工况下,实现稳定、实时、可靠的流量控制?人们对此进行了多种控制策略的研究和实践,而较为先进的、 采用最为普遍的是比例-积分-微分(Propo;rtion Integration Differentiation,PID)控制方式。 How large a sample transport lag, nonlinear conditions, stable, real-time, reliable flow control? People have conducted various studies and practice control strategies, and more advanced, using the most common is the proportion - integral - derivative (Propo; rtion integration differentiation, PID) control.

[0003] 在实际生产应用中PID控制方式实现了快速调整,但是在运种大滞后系统中PID控制方式却无法同时满足既快速又稳定的调节,特别是在工况多变时,往往出现超调的现象, 从而产生大幅振荡,使控制效果明显降低。 [0003] In the actual production applications, PID control method to achieve a rapid adjustment, but in the kind of large transport lag PID control system can not meet the fast and stable regulation, especially in the changeable conditions, are often super tone phenomenon, resulting in substantial oscillation of the control effect is significantly reduced.

[0004] 例如:在实际应用中,采用PID控制方式控制液体或气体流量,如果此时需要流量值为X的液体或气体,则流量值X即为PID控制方式中的目标值,在采用PID控制方式控制时, 将根据当前管道中液体或气的流量值进行调节,如果比目标值流量X小,那么将增大液体或气体的输出量,即增大控制液体或气体流量的阀位开口度,或选取变频累频率;如果输出量还是比目标值流量X小,则继续增大阀位开口度,或选取变频累频率,当输出量已经满足目标值X后,才停止增大阀位开口度或选取变频累频率,然后继续采用当前的阀位开口度或变频累频率控制液体或气体的变量,但由于系统的滞后性,在当前的阀位开口度或变频累频率下,液体或气体的输出量会继续选取大,导致液体或气体流量值大于目标值出现超调的现象。 [0004] For example: In practical applications, the PID control to control liquid or gas flow, if the flow rate required at this time is X liquid or gas, the flow rate value X is the PID control target value in the PID when the control mode of the flow rate is adjusted according to the current value of the liquid or gas conduit, if less than the target flow X, then the output will increase the amount of liquid or gas, i.e., increase control valve position liquid or gas flow opening degrees, or select frequency tired frequency; if the output target value is smaller than the flow rate X, continues to increase the valve opening degree position, or select a frequency inverter tired, when the output target value of X has been met, it stops increasing valve position the degree of opening or select frequency tired frequency, and then continue to use the current valve position opening degree or the frequency variable accumulated frequency control liquid or gas, but due to the lag of the system, the current valve position opening degree or the downconverted tired frequency, liquid, or output of the gas will continue to select a large, resulting in a liquid or a gas flow rate greater than the target value overshooting phenomenon.

[000引如果比目标值大,在使用PID控制方式进行控制的过程中也会出现超调的现象。 [000 cited if larger than the target value, there will be overshoot phenomenon in the process of using the PID control approach to control.

[0006] 由于现有技术中在需要流量值为X的液体或气体时,不知晓阀位开口度,或变频累频率应该为多少才能达到所需的流量值,因此使用PID控制方式进行控制,W便使阀位开口度或变频累频率能够产生所需的流量值为X的液体或气体,但由于PID控制方式本身有一定的滞后性的缺陷,加之冶金行业的供液体系统和供气系统的反馈值也具有较大的滞后性, 因此采用PID控制方式控制液体或气体流量时,往往出现输出量超出目标值的超调现象,导致控制效果不佳,而且也造成了不必要的浪费,运与工艺要求和企业的预期不符。 [0006] Since the prior art, when a liquid or gas flow needed is X, the opening degree of the valve position is not known, or tired inverter frequency should be much to achieve the desired flow rate value, the control mode using the PID control, W will position the valve opening degree of the frequency or frequency accumulated liquid or gas capable of generating a desired flow rate value X, but since the PID control itself has a certain hysteresis defects, combined with the metallurgical industry for a liquid supply system and the system feedback value also has a large hysteresis, when the PID control so controls the flow of liquid or gas, are often overshoot beyond the target output, resulting in poor control effect, but also caused unnecessary waste, transport and process requirements and expectations of enterprises do not match.

[0007] 因此如何采用一种新的流量控制方式,在运样一个大滞后的工况下,实现稳定、实时、可靠的流量控制成为现阶段急需解决的问题。 [0007] Therefore, how to adopt a new traffic control, in a large sample transport lag conditions, stable, real-time, reliable flow control is a problem at this stage need to be resolved.

发明内容 SUMMARY

[0008] 鉴于此,本发明提出了一种流量控制方法、装置及系统,用于精确控制液体或气体流量,实现稳定、实时、可靠的流量控制,符合工艺要求和企业的预期。 [0008] In view of this, the present invention provides a traffic control method, device and system for precisely controlling liquid or gas flow, stable, real-time, reliable flow control and meet the technical requirements of the enterprise expected.

[0009] -种流量控制方法,包括: [0009] - seed flow control method, comprising:

[0010] 依据最小二乘法获得预设的N组数据化,Yi),促,Y2)……化,Yi)……(Xn,Yn)所对应的线性方程的参数a和参数b; [0010] based on the least squares method to obtain a predetermined set of data of N, Yi), promote, Y2) ...... of, Yi) ...... (Xn, Yn) and the parameter a parameter b corresponding to the linear equation;

[0011] 其中,所述预设的N组数据化,Yi),(拉,Y2)……化,Yi)……(Xn,化)中X为液体或气体流量,Y为控制所述液体或气体流量X的控制参数,其中i为自然数且2<i<N,N为自然数且N >4; [0011] wherein the preset data of N sets, Yi), (pull, Y2) of ......, Yi) ...... (Xn, of) the liquid or gas flow X, Y control of the liquid or the gas flow rate control parameter X, where i is a natural number and 2 <i <N, N is a natural number and N> 4;

[0012] 其中,最小二乘法公式中所述参数a的计算公式为: [0012] wherein, in the least squares formula is a formula to calculate:

Figure CN103197692BD00081

最小二乘法公式中所述参数b的计算公式为:6 = Ϋ-;α交,其中,交为N组数据(Χι,Υι),(X2, Υ2)……(Xi,Yi)……(Xn,Yn )中液体或气体流量X的平均值,玄为N组数据(Xi,Yi),( X2, Y2)……(Xi,Yi)……(Χν,Υν)中控制参数Y的平均值; Equation Least Squares parameter b in the formula are: 6 = Ϋ-; α cross, where the cross is the N sets of data (Χι, Υι), (X2, Υ2) ...... (Xi, Yi) ...... ( average value xn, Yn) in the liquid or gas flow X, Yuen N groups of data (Xi, Yi), (X2, Y2) ...... (Xi, Yi) ...... (Χν, Υν) for controlling the average parameter Y value;

[001引由所述参数a和所述参数b构建樂性方程Y = aX+b; [001 cited by the parameter and the parameter construct a music equations Y = aX + b b;

[0014] 获取所需的液体或气体流量XI; [0014] to obtain the required flow rate of liquid or gas XI;

[0015] 依据所述线性方程Y = aX+b,获得与所述液体或气体流量XI对应的所述液体或气体流量的控制参数Y1。 [0015] According to the linear equation Y = aX + b, and the obtained liquid or gas flow control parameters Y1 XI corresponding to the liquid or gas flow.

[0016] -种流量控制方法,包括: [0016] - seed flow control method, comprising:

[0017] 获得预设的N组数据化,Yi),(拉,Y2)......化,Yi)......(Χν,Υν),在第一区间化,¾) 中选取Μ个数值:Xn,X12……Xij……XiM,或在第一区间(Yi,Y2)中选取Μ个数值:Yn,Υΐ2…… Yij……YiM,其中j为自然数且2< j<M,M为自然数且Μ > 4; [0017] The obtained N sets of data of a predetermined, Yi), (pull, Y2) ...... of, Yi) ...... (Χν, Υν), in a first interval of, ¾) selected numerical Μ: Xn, X12 ...... Xij ...... XiM, or select the first segment (Yi, Y2) of the numerical Μ: Yn, Υΐ2 ...... Yij ...... YiM, where j is a natural number and 2 <j <M, M is a natural number and Μ> 4;

[001引依据Χιι,Χΐ2……Xlj……XlM或Υΐ1,Υΐ2……Ylj……YlM获取Μ组数据(Χΐ1,Υΐ1),(Χΐ2, Υΐ2)……(Xlj,Ylj)……(XiM,YiM),其中j为自然数且2< j<M,Μ为自然数且Μ > 4; [001 cited according Χιι, Χΐ2 ...... Xlj ...... XlM or Υΐ1, Υΐ2 ...... Ylj ...... YlM group of data acquired Μ (Χΐ1, Υΐ1), (Χΐ2, Υΐ2) ...... (Xlj, Ylj) ...... (XiM, YiM), where j is a natural number and 2 <j <M, Μ a natural number and Μ> 4;

[0019] 依据最小二乘法公式获得与Μ+2组数据(Χι,Υι),(Χιι,Υιι),(Χΐ2,Υΐ2)……(Xu, Y1O……(Χυ,Υυ),(拉,Y2)所对应的线性方程的参数ai和参数bi; [0019] The obtained data sets Μ + 2 (Χι, Υι), (Χιι, Υιι), (Χΐ2, Υΐ2) ...... (Xu, Y1O ...... (Χυ, Υυ), (pull method based on least squares formula, Y2 ) parameters ai and bi parameters corresponding to the linear equation;

[0020]其中,最小二乘法公式中所述参数ai的计算公式为: [0020] wherein, in the least squares formula parameter ai is calculated:

Figure CN103197692BD00082

最小二乘法公式中所述参数bi的计算公式为:旬=F-诏1玄,其中,亥为M+2组数据组化,Υι),(Χιι,Υιι),(Χΐ2,Υΐ 2)……(Xu, Yii)……(Xij,Yij),(X2,Y2)中液体或气体流量X的平均值,Ϋ为M+2组数据(Xi,Yi),(Xii, Υιι),(Χΐ2,Υΐ2)……(Xlj,Ylj)……(XiM,YiM),(拉,Υ2)中控制参数Υ的平均值; Bi is calculated in the parameter least squares formula is: = F- late Chao Xuan 1, wherein M + 2 is Hai group of data sets, Υι), (Χιι, Υιι), (Χΐ2, Υΐ 2) ... ... (Xu, Yii) ...... (Xij, Yij), (X2, Y2) of the liquid or gas flow average value of X, Ϋ M + 2 is a group of data (Xi, Yi), (Xii, Υιι), (Χΐ2 , Υΐ2) ...... (Xlj, Ylj) ...... (XiM, YiM), (pull, Υ2) Υ average of control parameters;

[0021 ] 依据所述参数ai和所述参数bi构建线性方程Y = aiX+bi; [0021] According to the parameters ai and bi parameters construct the linear equation Y = aiX + bi;

[0022] 按在第一区间内获取线性方程的方法,分别在第二区间(X2,X3)……第k区间(Xk, Χκ+ι)……第(Ν-1)区间(Χν-1,Xn )中获取线性方程Υ = a2X+b2……Y = akX+bk……Y = aN-iX+bw-i, 其中k为自然数且2<k<Nl,N为自然数且N > 4; [0022] The method according to obtain a linear equation in the first section, second section, respectively, (X2, X3) ...... k-th interval (Xk, Χκ + ι) ...... section (Ν-1) section (Χν-1 , Xn) acquired in the linear equation Υ = a2X + b2 ...... Y = akX + bk ...... Y = aN-iX + bw-i, where k is a natural number and 2 <k <Nl, N is a natural number and N> 4;

[0023] 获取所需的液体或气体流量X2; [0023] to obtain the required flow of liquids or gases an X2;

[0024]判定液体或气体流量X2所属的第k区间; [0024] k-th determination section of liquid or gas flow X2 belongs;

[002引依据所述第k区间得到线性方程Y = akX+bk; [002 cited according to the k-th interval obtained linear equation Y = akX + bk;

[0026] 依据所述线性方程Y = akX+bk,获得与所述液体或气体流量X2对应的所述液体或气体流量的控制参数Y2。 [0026] According to the linear equation Y = akX + bk, and the obtained liquid or gas flow control parameters X2 Y2 corresponding to the liquid or gas flow.

[0027] -种流量控制装置,包括: [0027] - seed flow control apparatus comprising:

[0028] 参数计算单元,用于依据最小二乘法获得预设的N组数据(Χι,Υι),(拉,Y2)……(沿, Yi)……(Xn,化)所对应的线性方程的参数a和参数b,其中,所述预设的N组数据(Χι,Υι),(Χ2, Υ2)……(Xi,Yi)……(Xn,化)中X为液体或气体流量,Y为控制所述液体或气体流量X的控制参数,其中i为自然数且2<i<N,N为自然数且N含4,其中,最小二乘法公式中所述参数a的计算公式为 [0028] The parameter calculation unit, N sets of data (Χι, Υι) for obtaining the least squares method based on a preset, (pull, Y2) ...... (along, Yi) ...... (Xn, of) corresponding to the linear equation a parameter and the parameter b, where the preset N sets of data (Χι, Υι), (Χ2, Υ2) ...... (Xi, Yi) ...... (Xn, based) wherein X is a liquid or gas flow, Y is a control parameter to control the liquid or gas flow X, where i is a natural number and 2 <i <N, N is a natural number and N containing 4, wherein the least squares formula in the formula is a parameter

Figure CN103197692BD00091

最小二乘法公式中所述参数b的计算公式为:6 =专-cX,: 其中,亥为N组数据(Xi,Yi),(X2,Y2)……(Xi,Yi)……(Xn,化)中液体或气体流量X的平均值, 玄为N组数据化,Yi),(枯,Y2)……(Xi,Yi)……(Xn,Yn )中控制参数Y的平均值; Equation Least Squares parameter b in the formula is: = 6 Designed -cX ,: wherein hai is N sets of data (Xi, Yi), (X2, Y2) ...... (Xi, Yi) ...... (Xn , of) the liquid or gas flow of the average value X, Yuen N groups of data, Yi), (dry, Y2) ...... (Xi, Yi) ...... (Xn, Yn) in the average value of the control parameter Y;

[0029] 第一方程获取单元,用于由所述参数a和所述参数b构建线性方程Y = aX+b; [0029] The first equation acquiring unit configured by the parameter and the parameter constructing a linear equation Y = aX + b b;

[0030] 第一获取单元,用于获取所需的液体或气体流量XI,依据所述线性方程Y = aX+b, 获得与所述液体或气体流量XI对应的所述液体或气体流量的控制参数Y1。 [0030] a first obtaining unit configured to obtain a desired liquid or gas flow XI, according to the linear equation Y = aX + b, to gain control of the flow of liquid or gas with the liquid or gas flow corresponding XI parameters Y1.

[0031] 一种流量控制装置,包括: [0031] A flow control device, comprising:

[00创选取单元,用于获得预设的N组数据化,Yi),(拉,Y2)……(Χι,Υι)……(Χν,Υν),在第一区间化,Χ2)中选取Μ个数值:Χΐ1,Χΐ2……Xlj……XlM XlM,或在第一区间(Υΐ,Υ2)中选取Μ个数值:Yii,Υΐ2……Yij……YiM,其中j为自然数且2< j<M,Μ为自然数且Μ > 4; [Year selecting unit 00, for obtaining a predetermined set of data of N, Yi), (pull, Y2) ...... (Χι, Υι) ...... (Χν, Υν), selecting a first interval of, X2) of Μ numerical: Χΐ1, Χΐ2 ...... Xlj ...... XlM XlM, or select the first segment (Υΐ, Υ2) the numerical Μ: Yii, Υΐ2 ...... Yij ...... YiM, where j is a natural number and 2 <j < M, Μ a natural number and Μ> 4;

[003引第二获取单元,用于依据Χΐ1,Χΐ2……Xlj……XlM或Υΐ1,Υΐ2……Ylj……YlM获取Μ组数据(Χη,Υη),(Χΐ2,Υΐ2)……(Xij,Yij)……(Χιμ,Υιμ),其中j为自然数且2<j<M,M为自然数且Μ >4; [Lead second acquisition unit 003, according to Χΐ1, Χΐ2 ...... Xlj ...... XlM or Υΐ1, Υΐ2 ...... Ylj ...... YlM group of data acquired Μ (Χη, Υη), (Χΐ2, Υΐ2) ...... (Xij, yij) ...... (Χιμ, Υιμ), where j is a natural number and 2 <j <M, M is a natural number and Μ> 4;

[0034]第二方程获取单元,用于依据最小二乘法公式获得与Μ+2组数据(Χι,Υι),(Χη, Υιι),(Χΐ2,Υΐ2)……化j,Yij)……(Χιμ,Υιμ),(Χ2,Υ2)所对应的线性方程的参数ai和参数bi,其中,最小二乘法公式中所述参数ai的计算公式为: [0034] The second equation acquisition unit for acquiring the least square method according to the formula Μ + 2 sets of data (Χι, Υι), (Χη, Υιι), (Χΐ2, Υΐ2) ...... of j, Yij) ...... ( Χιμ, Υιμ), (Χ2, Υ2) parameters ai and bi parameters corresponding to the linear equation, wherein the method of least squares equation parameters ai is calculated:

Figure CN103197692BD00092

I最小二乘法公式中所述参数bi的计算公式为:却二家-01玄,其中,支为M+2组数据组(Xi,Yi),(Xii,Yii),(Xl2,Υΐ2)……(Xlj, Ylj)……(XlM,YlM),(拉,Υ2)中液体或气体流量X的平均值,Ϋ为Μ+2组数据(Xi,Υι),(Xii,Υιι), (Χΐ2,Υΐ2)……化j,Yij)……(Χιμ,Υιμ),(Χ2,Υ2)中控制参数Υ的平均值,依据所述参数ai和所述参数bi构建线性方程Y = aiX+bi,按在第一区间内获取线性方程的方法,分别在第二区间(拉,X3)……第k区间(Xk,Χκ+1)……第(Ν-1)区间(Χν-1,Xn )中获取线性方程Υ = a2X+b2……Y = akX+bk……Y = BN-iX+bN-i,其中k为自然数且2<k<Nl,N为自然数且N含4; Bi formula Formula I in the least square method parameters: -01 mysterious but two, wherein M + 2 is a branched group of data sets (Xi, Yi), (Xii, Yii), (Xl2, Υΐ2) ... ... (Xlj, Ylj) ...... (XlM, YlM), (pull, Υ2) average value of the liquid or gas flow X, Ϋ is Μ + 2 sets of data (Xi, Υι), (Xii, Υιι), (Χΐ2 , Υΐ2) ...... of j, Yij) ...... (Χιμ, Υιμ), (Χ2, Υ2) Υ average of control parameters, according to the parameters ai and bi parameters construct the linear equation Y = aiX + bi, by obtaining a first linear equation in the method section, respectively, in the second section (pull, X3) ...... k-th interval (Xk, Χκ + 1) ...... section (Ν-1) section (Χν-1, Xn) obtaining a linear equation Υ = a2X + b2 ...... Y = akX + bk ...... Y = BN-iX + bN-i, where k is a natural number and 2 <k <Nl, N is a natural number and N containing 4;

[0035] 第Ξ方程获取单元,用于获取所需的液体或气体流量X2,判定液体或气体流量X2 所属的第k区间,依据所述第k区间得到线性方程Y = akX+bk; [0035] Equation Ξ first acquisition unit for acquiring a desired liquid or gas flow X2, k-determined interval X2 belongs liquid or gas flow to obtain a linear equation Y = akX + bk according to the k-th interval;

[0036] 第Ξ获取单元,用于依据所述线性方程Y = akX+bk,获得与所述液体或气体流量X2 对应的所述液体或气体流量的控制参数Y2。 [0036] Ξ first acquiring unit, according to the linear equation Y = akX + bk, Y2 obtain control parameters of the liquid or gas flow with the liquid or the gas flow rate corresponding to X2.

[0037] -种流量控制系统,包括: [0037] - seed flow control system, comprising:

[0038] 第一处理器,用于依据最小二乘法获得预设的N组数据(Χι,Υι),(Χ2,Υ2)……(Xi, Yi)……(Xn,化)所对应的线性方程的参数a和参数b,其中,所述预设的N组数据(Χι,Υι),(Χ2, Υ2)……(Xi,Yi)……(Xn,化)中X为液体或气体流量,Y为控制所述液体或气体流量X的控制参数,其中i为自然数且2<i<N,N为自然数且N含4,其中,最小二乘法公式中所述参数a的计算公式为: [0038] The first processor for N sets of data (Χι, Υι) based on the least squares method to obtain a predetermined, (Χ2, Υ2) ...... (Xi, Yi) ...... (Xn, of) the corresponding linear parameters a and b parameters of equations, wherein N sets the preset data (Χι, Υι), (Χ2, Υ2) ...... (Xi, Yi) ...... (Xn, based) wherein X is a liquid or gas flow , Y is a control parameter of the liquid or gas flow X, where i is a natural number and 2 <i <N, N is a natural number and N containing 4, wherein the method of least squares equation is a parameter calculated:

Figure CN103197692BD00101

最小二乘法公式中所述参数b的计算公式为:6 =否-al , 其中,X为N组数据(Xi,Yi),(X2,Y2)……(Xi,Yi)……(Xn,化)中液体或气体流量X的平均值, Ϋ为N组数据(Xi,Yi),(拉,Y2)……(Xi,Yi)……(Xn,Yn)中控制参数Y的平均值; B calculated in the least squares equation parameters: 6 = No -al, wherein, X is N sets of data (Xi, Yi), (X2, Y2) ...... (Xi, Yi) ...... (Xn, of) the liquid or gas flow of the average value X, Ϋ N groups of data (Xi, Yi), (pull, Y2) ...... (Xi, Yi) ...... (Xn, Yn) in the average value of the control parameter Y;

[0039] 第一控制器,用于由所述参数a和所述参数b构建线性方程Y = aX+b,获取所需的液体或气体流量XI,依据所述线性方程Y = aX+b,获得与所述液体或气体流量XI对应的所述液体或气体流量的控制参数Y1; [0039] a first controller for by the parameter and the parameter construct a linear equation Y b = aX + b, to obtain the required flow of liquid or gas XI, according to the linear equation Y = aX + b, obtaining the liquid or gas flow control parameters Y1 XI corresponding to the liquid or gas flow rate;

[0040] 第一待控设备,用于与所述第一控制器相连,接收所述液体或气体流量的控制参数Y1,并依据所述控制参数Y1执行相应操作。 [0040] a first device to be controlled, for connection to the first controller, receiving the control parameter Y1 liquid or gas flow, according to the control parameters Y1 and perform a corresponding operation.

[0041] -种流量控制系统,包括: [0041] - seed flow control system, comprising:

[004引第二处理器,用于获得预设的N组数据化,Υι),(Χ2,Υ2)……(Χι,Υι)……(Χν,Υν),在第一区间(Χι,Χ2)中选取Μ个数值:Χη,Χΐ2……Xij……XiM或在第一区间(Υι,Υ2)中选取Μ个数值:Υιι,Υΐ2……Yij……YiM,其中j为自然数且2<j<M,M为自然数且1>4,依据Xii,Xi2…… Xlj ……XlM 或Yll,Υΐ2 ……Yl j ……YlM 获取Μ 组数据(Xll,Yll ),(Xl2,Υΐ2 ) ...... (Xljjlj) ...... (XlM, YiM),其中j为自然数且2< j<M,M为自然数且M含4,依据最小二乘法公式获得与M+2组数据(Χι,Υι),(Χιι,Υιι),(Χΐ2,Υΐ2)……(Xij,Yij)……(Χιμ,Υιμ),促,Υ2)所对应的线性方程的参数ai和参数bi,其中,最小二乘法公式中所述参数ai的计算公式为: [Cited a second processor 004, for obtaining a predetermined set of data of N, Υι), (Χ2, Υ2) ...... (Χι, Υι) ...... (Χν, Υν), in a first section (Χι, Χ2 ) selected numerical Μ: Χη, Χΐ2 ...... Xij ...... XiM or select the first segment (Υι, Υ2) the numerical Μ: Υιι, Υΐ2 ...... Yij ...... YiM, where j is a natural number and 2 <j <M, M is a natural number and 1> 4, based Xii, Xi2 ...... Xlj ...... XlM or Yll, Υΐ2 ...... Yl j ...... YlM group of data acquired Μ (Xll, Yll), (Xl2, Υΐ2) ... ... (Xljjlj) ...... (XlM, YiM), where j is a natural number and 2 <j <M, M is a natural number and M containing 4, the least square method is obtained according to the formula M + 2 sets of data ( Χι, Υι), (Χιι, Υιι), (Χΐ2, Υΐ2) ...... (Xij, Yij) ...... (Χιμ, Υιμ), promote, v2 is) parameters ai and bi parameters corresponding to the linear equation, wherein the minimum multiplying the two parameter equation ai is calculated:

Figure CN103197692BD00102

,最小二乘法公式中所述参数bi 的计算公式为:种=古-«,玄,其中,X为Μ巧组数据组(Χι,Υι),(Χιι,Υιι),(Χΐ2,Υΐ2)……化j, Yij)……(XiM,YiM),他,Υ2)中液体或气体流量X的平均值,Υ为M+2组数据(Xi,Yl),(Xll, Υιι),(Χΐ2,Υΐ2)……(Xlj, Yij)……(Χιμ,Υιμ),(Χ2,Υ2)中控制参数Υ的平均值,依据所述参数ai 和所述参数bi构建线性方程Υ = aiX+bi,按在第一区间内获取线性方程的方法,分别在第二区间(X2,X3)……第k区间(Xk,XK+i)……第(N-1)区间(Xn-i,Xn)中获取线性方程Y = a2X+ b2……Υ=akX+bk……Υ = aN-iX+bN-i,其中k为自然数且2<k<Nl,N为自然数且N > 4; The calculation formula of bi least square method in the equation parameters: old = species - «, Xuan, wherein, X is a clever Μ-Group (Χι, Υι), (Χιι, Υιι), (Χΐ2, Υΐ2) ... ... of j, Yij) ...... (XiM, YiM), he average, Υ2) in the liquid or gas flow X, Υ M + 2 is a group of data (Xi, Yl), (Xll, Υιι), (Χΐ2, ) control Υΐ2) ...... (Xlj, Yij) ...... (Χιμ, Υιμ), (Χ2, Υ2 Upsilon average value of the parameter, according to the parameters ai and bi parameters construct the linear equation Υ = aiX + bi, press obtaining a linear equation in the method of the first section, second section, respectively, (X2, X3) ...... k-th interval (Xk, XK + i) ...... of (N-1) section (Xn-i, Xn) in acquiring the linear equation Y = a2X + b2 ...... Υ = akX + bk ...... Υ = aN-iX + bN-i, where k is a natural number and 2 <k <Nl, N is a natural number and N> 4;

[0043] 第二控制器,用于获取所需的液体或气体流量X2,判定液体或气体流量X2所属的第k区间,依据所述第k区间得到线性方程Y = akX+bk,依据所述线性方程Y = akX+bk,获得与所述液体或气体流量X2对应的所述液体或气体流量的控制参数Y2; [0043] The second controller, for obtaining the desired flow of liquid or gas X2, k-determined interval X2 belongs liquid or gas flow to obtain a linear equation Y k according to the first interval = akX + bk, according to the the linear equation Y = akX + bk, X2 obtaining control parameters corresponding to the liquid or gas flow rate of the liquid or gas flow Y2;

[0044] 第二待控设备,用于与所述第二控制器相连,接收所述液体或气体流量的控制参数Y2,并依据所述控制参数Y2执行相应操作。 [0044] The second device to be controlled, connected to the second controller for receiving the control parameter Y2 liquid or gas flow, according to the control parameter Y2 and perform a corresponding operation.

[0045] 本发明提供了两种流量控制方法,其核屯、思想都是W预先设定的液体或气体的流量和控制参数组成的数据组作为基础,利用最小二乘法进行运算得到两个参数,由所述两个参数得到液体或气体的流量和控制参数之间的线性关系。 [0045] The present invention provides two flow control method, its nuclear Tun data set, the flow of liquid or gas are thought W and control parameters set in advance as the base composition, calculates two parameters were obtained by least square method linear relationship between the flow parameters and the control parameters obtained by the two liquids or gases. 并根据液体或气体流量的和控制参数之间的线性关系,获得与所需的液体或气体的流量的值对应的控制参数的取值。 The relationship between the linear and the liquid or gas flow and control parameters to obtain a desired value of the flow rate of the liquid or gas control parameter corresponding to the value. 从而不必采用PID控制方式或其他控制方式去探索控制参数的大小,进而不会产生PID控制超调现象,从而实现稳定、可靠的流量控制,符合工艺要求和企业的预期。 Thus having to use PID control or other control methods to explore the size of the control parameters, and thus does not produce the expected PID control overshoot, in order to achieve stable and reliable flow control and meet the technical requirements of the enterprise.

附图说明 BRIEF DESCRIPTION

[0046] 为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可W 根据运些附图获得其他的附图。 [0046] In order to more clearly illustrate the technical solutions in the embodiments or the prior art embodiment of the present invention, briefly introduced hereinafter, embodiments are described below in the accompanying drawings or described in the prior art needed to be used in describing the embodiments the drawings are only some embodiments of the present invention, those of ordinary skill in the art is concerned, without any creative effort, these may be transported in accordance with W drawings other drawings.

[0047] 图1为本发明实施例公开的流量控制方法的流程图; [0047] FIG. 1 is a flowchart traffic control method according to the disclosed embodiment of the present invention;

[0048] 图2为本发明实施例公开的流量控制方法中化C控制器的结构示意图; [0048] Fig 2 a schematic view of the structure of the flow control method of the disclosed embodiment of the embodiment of the present invention, the controller C;

[0049] 图3为本发明实施例公开的又一流量控制方法的流程图; [0049] FIG. 3 is a flowchart of still another embodiment of the flow control method of the disclosed embodiment of the present invention;

[0050] 图4为本发明实施例公开的流量控制方法线性方程示意图; [0050] Fig 4 a schematic diagram of linear equations flow control method according to the present embodiment of the disclosed invention;

[0051] 图5为本发明实施例公开的又一流量控制方法; [0051] FIG. 5 a further embodiment of a flow control method disclosed embodiment of the invention;

[0052] 图6为本发明实施例公开的又一流量控制方法; [0052] FIG 6 discloses still another embodiment of the flow control method embodiment of the present invention;

[0053] 图7为本发明实施例公开的流量控制方法线性方程示意图; [0053] Figure 7 a schematic view of linear equations flow control method disclosed in the examples of the present invention;

[0054] 图8为本发明实施例公开的流量控制装置的结构示意图; [0054] FIG. 8 a schematic structural diagram of the flow control apparatus of the embodiment of the disclosed embodiment of the present invention;

[0055] 图9为本发明实施例公开的又一流量控制装置的结构示意图; [0055] Figure 9 a schematic structural diagram of still another embodiment of the disclosed embodiment of the flow control device of the present invention;

[0056] 图10为本发明实施例公开的流量控制系统的结构示意图; [0056] FIG 10 a schematic view of the structure of the disclosed embodiment of the flow control system according to the present invention;

[0057] 图11为本发明实施例公开的又一流量控制系统的结构示意图。 [0057] FIG. 11 is a schematic structure of still another embodiment of the disclosed flow control system of the embodiment of the present invention.

具体实施方式 detailed description

[0058] 下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。 [0058] below in conjunction with the present invention in the accompanying drawings, technical solutions of embodiments of the present invention are clearly and completely described, obviously, the described embodiments are merely part of embodiments of the present invention, but not all embodiments example. 基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。 Based on the embodiments of the present invention, all other embodiments of ordinary skill in the art without any creative effort shall fall within the scope of the present invention.

[0059] 在详细介绍本发明之前,详细介绍一下最小二乘法,W便读者能够更好的理解本发明的实现过程。 [0059] Prior to the detailed description of the invention, explain in detail the method of least squares, W readers will be able to achieve a better understanding of the process of the present invention.

[0060] 最小二乘法(又称最小平方法)是一种数学优化技术。 [0060] least squares (also known as the least squares method) is a mathematical optimization techniques. 它通过最小化误差的平方和寻找数据的最佳函数匹配。 It squares matching the data to minimize the error and find the best matching function. 利用最小二乘法可W简便地求得未知的数据,并使得运些求得的数据与实际数据之间误差的平方和为最小。 The least square method can be easily obtained W data is unknown, and so the minimum squared error between the determined data and the operation of these and the actual data is.

[0061] 在我们研究两个变量(Χ,Υ)之间的相互关系时,通常可W得到一系列成对的数据(Χΐ,Υΐ),(Χ2,Υ2)……(Xi,Yi)……(Xm,Ym);将运些数据描绘在XY直角坐标系中,若发现运些点在一条直线附近,可W令运条直线方程如(式1-1)。 [0061] When the relationship between two variables studied (Χ, Υ) between us, usually get the data series W pairs (Χΐ, Υΐ), (Χ2, Υ2) ...... (Xi, Yi) ... ... (Xm, Ym); the transport of these data is depicted in the XY orthogonal coordinate system, when a shipment some point in the vicinity of a straight line, so W can be transported straight line equation (equation 1-1).

[0062] Yj=aX+b..............................(式1-1) [0062] Yj = aX + b .............................. (Formula 1-1)

[0063] 其中:a、b是任意实数,Yj是理论计算值。 [0063] wherein: a, b are arbitrary real numbers, Yj is the theoretical value.

[0064] 为建立运直线方程就要确定参数a和参数b,应用《最小二乘法原理》,将实测值Yi 与理论值Yj的离差(Yi-Yj)的平方和[(Yi-Yj)2]最小为"优化判据"。 [0064] The operation for establishing a linear equation and the parameters necessary to determine the parameters B, application "least squares principle", from the difference (Yi-Yj) and the square of the theoretical value found Yi and Yj [(Yi-Yj) 2] minimum "optimization criterion."

[0065] 令; [0065] order;

Figure CN103197692BD00121

[0066] 把试1-1)代入试1-2)中得: [0066] The samples, 1-1) into the test 1-2) to give:

[0067] [0067]

Figure CN103197692BD00122

[006引当Σ (Yi-Yj)平方最小时,可用函数φ对a、b求偏导数,令运两个偏导数等于零。 [006 lead when Σ (Yi-Yj) squared minimum, the available functions of φ a, b partial derivative, so that two transport partial derivatives equal to zero.

Figure CN103197692BD00123

[0071 ] 得到的两个关于a、b为未知数的两个方程组,解运两个方程组得出: [0071] The two obtained on a, b are two unknowns equations, equations two SLM stars:

Figure CN103197692BD00124

[0077]运时把a、b代入试1-1)中,此时的试1-1)就是我们回归的元樂性方程。 [0077] When you run the a, b try substituting 1-1), in which case the test 1-1) is our meta-regression equations music.

[0078]本发明提供了两种流量控制方法,其核屯、思想都是W液体或气体的流量和控制参数组成的数据组作为基础,利用最小二乘法进行运算得到两个参数,由所述两个参数得到液体或气体的流量和控制参数之间的线性关系。 [0078] The present invention provides two flow control method, the data set nuclear Village, ideas are liquid or gas flow rate W and the composition of the control parameters as a basis, we calculate two parameters were obtained by least square method, by the a linear relationship between the two parameters of the flow of liquid or gas and control parameters. 并根据液体或气体流量的和控制参数之间的线性关系,就可W根据所需的液体或气体的流量的值获得与之对应的控制参数的取值。 The relationship between the linear and the liquid or gas flow and control parameters, W can obtain the control parameter value corresponding thereto in accordance with the desired value of the flow of liquid or gas. 从而不必采用PID控制方式或其他控制方式去探索控制参数的大小,从而不会PID控制方式产生的超调现象。 Thus having to use PID control or other control methods to explore the size of the control parameters, so as not to overshoot PID control generated. 在下面的实施例中,将一一进行详细描述。 In the following embodiment, eleven will be described in detail.

[0079 ]如图1所示,本发明提供了一种流量控制方法,包括: [0079] As shown in FIG 1, the present invention provides a flow control method, comprising:

[0080]步骤101:依据最小二乘法获得预设的N组数据(Xi,Yi),(X2,Y2)……(Xi,Yi)…… (Χν,Υν)所对应的线性方程的参数a和参数b;即采用最小二乘法获取参数a和参数b; [0080] Step 101: N sets of data (Xi, Yi) in accordance with the least squares method to obtain a predetermined, (X2, Y2) ...... (Xi, Yi) ...... (Χν, Υν) a parameter corresponding to the linear equation and parameter B; i.e., a method of least squares acquisition parameters and parameter B;

[0081 ]其中预设的N组数据化,Υι),(Χ2,Υ2)……(Xi,Yi)……(Χν,Υν)的获取过程包括:依据实际情况中液体或气体流量X与控制所述液体或气体流量X的控制参数Υ的大小关系,获取Ν组数据化,Yi),(拉,Υ2)……化,Yi)……(XN,YN),其中i为自然数且2<i<N,N为自然数且N >4; [0081] where N sets of data of predetermined, Υι), (Χ2, Υ2) ...... (Xi, Yi) ...... (Χν, Υν) acquisition process comprising: based on the actual situation in a liquid or gas flow control and X the control parameters Υ liquid or gas flow magnitude relationship of X, of groups of data acquired Ν, Yi), (pull, v2 is) of ......, Yi) ...... (XN, YN), where i is a natural number and 2 < i <N, N is a natural number and N> 4;

[0082] 控制参数Y包括:阀位开口度或变频累频率,阀位和变频累都是控制流量的控制器,当阀位开口度增大输出流量选取,当阀位开口度减小输出流量减小,同理,当变频累频率选取输出流量选取,当变频累频率减小输出流量减小。 [0082] Y control parameters comprises: a valve opening degree of the position or tired frequency conversion, frequency conversion, and the valve position are accumulated to control the flow controller, when the valve opening degree to increase the output bit selecting flow, when the valve opening degree position to reduce the output flow decreases, Similarly, when the inverter output flow tired selected frequency selection, frequency is decreased when the accumulated frequency output flow decreases.

[0083] 依据实际情况中液体或气体流量X与控制所述液体或气体流量X的控制参数Y的关系,即在阀位开口度确定时,实际测量的液体或气体输出量与此时的阀位开口度的关系,或者,在变频累频率确定时,实际测量的液体或气体输出量与此时的变频累频率的关系。 [0083] based on the actual situation in the liquid or gas flow control parameter X and the liquid or the gas flow controlling X Y of relationship, i.e. when the valve opening degree of the position determination, the amount of liquid or gas output at this time and the actually measured valve relationship between the opening degree position, or at an inverter frequency determination tired, liquid or gas output at this time is actually measured and the relationship between frequency conversion tired.

[0084] W阀位开口度为例:在实际测量时,根据阀位开口度的最小值和最大值的情况,通过阀位控制器控制阀位达到一个开口度Y,等待液体或气体流量稳定后,通过变送器读取当前开口度下的液体或气体流量,并记录此时变送器的读数X,进而得到该组数据(Χ,γ)。 [0084] W valve opening degree position, for example: in the actual measurement, in some cases a minimum and maximum opening degree of the valve position, the valve opening degree position reaches a position Y by the valve controller, waits for a liquid or gas flow stability after reading the liquid or gas flow through the transmitter at the current opening degree, and the reading recorded at this time transmitter X, and thus to obtain the set of data (Χ, γ).

[0085] 根据上述方法,原则上W阀位开口度递增的顺序依次增大阀位开口度Yi,并根据阀位开口度Yi依次记录变送器的读数Xi,进而得到N组数据(Χι,Υι),(拉,Y2)……(Χι,Υι)…… (Χν,化),其中i为自然数且2<i<N,N为自然数且Ν>4,可W理解的是,Ν越大本发明后续得到的线性方程越贴近实际。 [0085] According to the method, in principle, the opening degree of the valve position W of increasing order of the degree of increase in the valve opening position Yi, Xi transmitter and sequentially reading is recorded according to the opening degree of the valve position Yi, and thus obtained N sets of data (Χι, Υι), (pull, Y2) ...... (Χι, Υι) ...... (Χν, based), where i is a natural number and 2 <i <N, N is a natural number and Ν> 4, may be W is understood that, v the the closer the actual linear equation obtained subsequent Big invention.

[0086] 可W理解的是,Ν组数据中的阀位开口度可W在阀位开口度最小值和最大值中间呈平均分布,也可W根据实际需要的阀位开口度上限值和下限值,在上限值和下限值中间呈平均分布,当然可W理解的是,对阔值开口度进行平均取值是为了使得该曲线能够适用整体的液体或气体流量,并不会由于取值过于集中从而使得最终得到的曲线产生较大的误差,当然也可W根据需要对Ν组数据中的阀位开口度的进行不均匀取值。 [0086] W can be appreciated that the valve opening degree position set data Ν W can be evenly distributed in the form of valve position intermediate of the minimum and maximum opening, according to W may be an opening degree of the valve position value and the actual needs lower limit, upper limit and a lower limit value in the intermediate distribution had an average, of course, be appreciated that W, pair of openings of the width values ​​are averaged values ​​are provided so that this curve can be applied to the entire flow of liquid or gas, and not Since the value of the curve is too concentrated so that the resulting large error occurs, of course, W may be required to position the valve opening degree Ν set of data values ​​will be non-uniform. 在此不做限定。 Which is not limited.

[0087] 当控制变量是变频累频率时,所使用的方法是一样,依据变频累频率Yi和在该频率下液体或气体的Xi的流量,得到N组数据(Xi,Yi),(X2,Y2)……(Xi,Yi)……(Xn,Yn),其中i 为自然数且2<i<N,N为自然数且N > 4。 [0087] When the control variable is the frequency tired frequency, the method used is the same, based on frequency accumulated frequency Yi and flow Xi is at the frequency of liquid or gas, to give N sets of data (Xi, Yi), (an X2, Y2) ...... (Xi, Yi) ...... (Xn, Yn), where i is a natural number and 2 <i <N, N is a natural number and N> 4.

[008引其中,最小二乘法公式中所述参数a的计算公式为: [008 cited wherein said least squares formula is a formula to calculate:

Figure CN103197692BD00131

最小二乘法公式中所述参数b的计算公式为:&=Ϋ-^Χ,其中,X为N组数据(Χι,Υι),(Χ2, Υ2)……(Xi,Yi)……(Xn,Yn)中液体或气体流量X的平均值,玄为N组数据(Xi,Υι),(X2, Υ2)……(Xi,Yi)……(Χν,Υν)中控制参数Υ的平均值; Equation Least Squares parameter b in the formula is: & = Ϋ- ^ Χ, wherein, X is N sets of data (Χι, Υι), (Χ2, Υ2) ...... (Xi, Yi) ...... (Xn ) control, the average value Yn) in the liquid or gas flow X, Yuen N groups of data (Xi, Υι), (X2, Υ2) ...... (Xi, Yi) ...... (Χν, Υν average value of the parameter Υ ;

[0089] 最小二乘法的公式主要针对Y = aX+b形式的线性方程,首先根据Ν组数据(Χι,Υι), 祐,Υ2)……(Xi,Yi)……(Xn,Yn)得到液体或气体流量X的平均值X [0089] The least squares method is mainly for formula Y = aX + b in the form of a linear equation, according to the first set of data Ν (Χι, Υι), Woo, Υ2) ...... (Xi, Yi) ...... (Xn, Yn) to give a liquid or a gas flow rate of the average X X

Figure CN103197692BD00132

根据N组数据化,Yi),祐,Y2)……(Xi,Yi)……(Xn,Yn)得到控制参数Y的平均值玄, The N sets of data, Yi), Woo, Y2) ...... (Xi, Yi) ...... (Xn, Yn) to give an average of the control parameters Y Xuan,

Figure CN103197692BD00133

然后根据最小二乘法中计算参数a的公式 A parameter equation is then calculated according to the least square method

Figure CN103197692BD00134

将腺且数据液体或气体流量X和控制参数Y的取值,N组数据得到液体或气体流量X的平均值χ,Ν组数据得到控制参数Y 的平均值玄,代入计算参数a的公式中,计算得到参数a的取值。 Adeno and liquid or gas flow data values ​​X and Y of the control parameters, N sets of data to obtain an average value χ of the liquid or gas flow X, v Y set of data obtained the average of the control parameters Hyun, substituting a calculated parameter formulas , a calculated parameter values.

[0090] 根据最小二乘法公式中计算参数b的公式6 = Ϋ-妓,将参数a的取值,N组数据得到液体或气体流量X的平均值X,N组数据得到控制参数Υ的平均值γ,代入计算参数b的公式中,计算得到参数b的取值。 [0090] The least squares formula formula calculated parameter b 6 = Ϋ- prostitutes, a value of the parameter, N sets of data to obtain a liquid or a gas flow rate of the average X X, N sets of data of the obtained average control parameters Υ gamma] values, calculated parameter b is substituted into the formula, the calculated value of the parameter b.

[0091] 该参数a和参数b即为线程方程Y = aX+b中a和b。 [0091] The parameters a and b is the thread parameters equation Y = aX + b in a and b.

[0092] 步骤102:由所述参数a和所述参数b构建线性方程Y = aX+b;即由参数a和参数b构建线性方程。 [0092] Step 102: the parameters of a linear equation and the parameter construct Y = aX + b b; i.e. the parameters a and b is constructed of a linear equation parameters.

[0093] 由上述步骤中得到的参数a和参数b即可得到线性方程Y = aX+b。 [0093] obtained by the above steps to parameters a and b parameters obtained linear equation Y = aX + b. 在实际控制中,本发明采用可编程逻辑控制器(Programmable Logic Controller,化C)编程的方式由参数a 和参数b实现线性方程Y = aX+b,并实现输入量X(液体或气体流量X)至输出量Y(控制参数) 的过程。 In actual control, the present invention employs a programmable logic controller (Programmable Logic Controller, of C) b programmatically implement a linear equation by the parameter and the parameter Y = aX + b, and realizes input X (liquid or gas flow X ) to process output Y (control parameter).

[0094] 由图2所示,本发明通过化C控制器实现线性方程Y = aX+b的功能,具体的,将上述步骤得到参数a的取值输入至引脚a,将参数b的取值输入至引脚b,将液体或气体流量通过引脚X输入,然后通过引脚巧俞出控制变量Y的取值。 [0094], the present invention is implemented in Figure 2 by the controller C of the linear equation Y = aX + b function, particularly, the parameters obtained in the above step is input to a value of a pin, the parameter b is taken value is input to the pin B, the liquid or gas flow through the input pin is X, then the value of the control variable Y Yu through clever pin.

[0095] 步骤103:获取所需的液体或气体流量XI; [0095] Step 103: obtain the required flow of liquid or gas XI;

[0096] 根据实际情况所需要的液体或气体流量XI,可W理解的是若所需的液体或气体流量XI是按一定的规律变化的,则按一定的变化规律获取液体或气体流量XI,并将流量XI的值发送至化C控制器的引脚X输入端。 [0096] The actual required flow rate of liquid or gas XI, W can be appreciated that if desired liquid or gas flow XI is changed according to certain rules, press a certain variation of a liquid or gas flow rates acquired XI, XI flow rate value and the transmit pin to the X input terminal C of the controller.

[0097] 步骤104:依据所述线性方程Y = aX+b,获得与所述液体或气体流量XI对应的所述液体或气体流量的控制参数Y1;即由线性方程计算得到控制参数Y1。 [0097] Step 104: according to the linear equation Y = aX + b, and the obtained liquid or gas flow control parameters Y1 XI corresponding to the liquid or gas flow; i.e., control parameter Y1 obtained by the linear calculation equation.

[0098] 本实施例提供了流量控制方法,W预设的N组数据作为基础,利用最小二乘法进行运算得到两个参数a和b,由参数a和b构建一条线性方程,即N组数据的液体或气体的流量和控制参数之间的线性关系。 [0098] The present embodiment provides a flow control method, W N sets of preset data as a basis, calculates two parameters a and b obtained by the least square method to construct a linear equation by the parameters a and b, i.e., N sets of data linear relationship between the control parameter and the flow of liquid or gas. 依据液体或气体流量与控制参数之间的线性关系,根据所需的液体或气体的流量的值XI获得与之对应的控制参数的取值Y1。 Based on a linear relationship between the liquid or gas flow control parameter, to obtain the corresponding value of the control parameter in accordance with the desired liquid flow rate XI or gas values ​​Y1. 从而不必采用PID控制方式或其他控制方式去探索控制参数的大小,从而不会PID控制方式产生的超调现象,实现稳定、实时、可靠的流量控制,符合工艺要求和企业的预期。 Thus having to use PID control or other control methods to explore the size of the control parameters, so as not to overshoot generated by PID control, stable, real-time, reliable flow control, meet the technical requirements and business expectations.

[0099] 下面采用具体的场景实施例对上述实施例的内容进行详细描述。 [0099] The following embodiments of the contents of the above embodiments described in detail using specific scene.

[0100] 如图3所示,本发明提供了流量控制方法的场景实施例,包括: [0100] As shown, the present invention provides a flow control method 3 Example scene, comprising:

[0101] 步骤S201:获取实际情况下的八组数据组; [0101] Step S201: acquiring the group of data of eight sets of the actual situation;

[0102] 采用开环控制的方式采取实际情况下的液体或气体流量X与控制变量的取值Y,本实施例W电动调节阀和液体为例,本实施例采用N = 8组数据为例,根据一个阀位开口度Yi, 然后等液体流量变送器的读数Xi稳定后,记下运组数据,原则上,W阀位开口度递增的顺序进行测试,然后得到8 组数据(Xi,Yi),如(1.1,1.5)、(2.2,3.5)、(3.3,4.2)、(4.4,5.0)、 (5.5,5.8)、(6.6,7.5)、(7.7,8.0)和(8.8,9.0)。 [0102] The open-loop control value Y to take a liquid or gas flow and the control variable X in the actual situation, for example, W and the electric control valve of the present embodiment as an example a liquid, the present embodiment uses an example of data set of N = 8 the opening degree of a valve position Yi, and then reading the liquid flow transmitter Xi stability, note the set of data transported, in principle, W valve position opening degree increments test sequence, and then by 8 sets of data (Xi, yi), such as (1.1, 1.5), (2.2,3.5), (3.3,4.2), (4.4,5.0), (5.5,5.8), (6.6,7.5), (7.7,8.0) and (8.8,9.0 ).

[0103] 本实施例中的N组数据中的阀位开口度采用的是在阀位开口度最小值和最大值中间平均取值,使得阀位开口度与最小值和最大值呈平均分布的形式,本实施例中阀位开口度进行平均取值的优势为使该曲线能够适用整体的液体的流量,并不会由于取值过于集中从而使得最终得到的曲线产生较大的误差,对实际生产造成影响。 [0103] N sets of valve positions in the data presented in the present embodiment the opening degree of the valve opening degree is at position intermediate the minimum and maximum average value, so that the valve opening position of minimum and maximum use of the distribution had an average form, the advantages of the valve opening degree position for the average value in this embodiment is a curve that the overall flow of the liquid can be applied, and since the value is not too concentrated so that the curve finally obtained a large error occurs, the actual production affected.

[0104] 需要说明的是,阀位开口度Y与液体流量X本应该是完全一一对应关系,即Υ = Χ但由于实际情况中硬件的关系,不能做到阀位开口度和液体流量X完全一致,上述八组数据, 为依据某一台机器而得到的,可W理解的是,该数据只是一组普通数据,通过其他机器可能得到其他数据。 [0104] Incidentally, the opening degree of the valve position Y and X of the present liquid flow should be completely one relationship, i.e. Υ = Χ However because of actual hardware, the opening degree of the valve position can not be done and liquid flow X exactly the same, each of the eight sets of data, based on one of the machines is obtained, W may be appreciated that the data is only a common set of data, additional data may be obtained by other machines.

[0105] 步骤S202:采用最小二乘法计算参数a和参数b; [0105] Step S202: the least squares method to calculate a parameter and the parameter B;

[0106] 计算参数a和参数b的过程如下: [0106] a process of calculating the parameters and parameter b as follows:

[0107] ①依据 [0107] ① basis

Figure CN103197692BD00151

计算得到液体或气体流量X的平均值X ; Liquid or gas flow rate calculated average value X X;

[010 引由八组数据(1.1,1.5)、(2.2,3.5)、(3.3,4.2)、(4.4,5.0)、(5.5,5.8)、(6.6, 7.5)、(7.7,8.0)和(8.8,9.0)得到其中的液体或气体流量X的取值:1.1,2.2,3.3,4.4,5.5, 6.6,7.7,8.8,由公式得: [010 cited by the eight groups of data (1.1, 1.5), (2.2,3.5), (3.3,4.2), (4.4,5.0), (5.5,5.8), (6.6, 7.5), (7.7,8.0) and ( 8.8,9.0) to obtain a liquid or a gas flow X value therein: 1.1,2.2,3.3,4.4,5.5, 6.6,7.7,8.8, obtained by the formula:

Figure CN103197692BD00152

[0111] ②依据 [0111] ② basis

Figure CN103197692BD00153

计算得到控制参数Y的平均值Y; Calculated average value of the control parameter Y Y;

[0112] 由8组数据(1.1,1.5)、(2.2,3.5)、(3.3,4.2)、(4.4,5.0)、(5.5,5.8)、(6.6,7.5)、 (7.7,8.0)和(8.8,9.0)得到其中的液体或气体流量X的取值:1.5,3.5,4.2,5.0,5.8,7.5, 8.0,9.0,由公式得: [0112] 8 from the set of data (1.1, 1.5), (2.2,3.5), (3.3,4.2), (4.4,5.0), (5.5,5.8), (6.6,7.5), (7.7,8.0) and ( 8.8,9.0) to give a liquid or gas flow wherein X values: 1.5,3.5,4.2,5.0,5.8,7.5, 8.0, 9.0, obtained by the formula:

Figure CN103197692BD00154

[0117] [0117]

Figure CN103197692BD00161

[0118] ④将式(1)(2)(3)(4)(5)和(6)代入公式计算参数a公式中 [0118] ④ the formula (1) (2) (3) (4) (5) and (6) into equation parameters a formula

[0119] [0119]

Figure CN103197692BD00162

[0120] ⑤计算参数b,将式(1) (2)及参数a,代入公式中 [0120] ⑤ calculation parameter b, the formula (1) (2) and the parameters a, substituting formula

[0121] [0121]

Figure CN103197692BD00163

[0122] 步骤S203:即由参数a和参数b构建线性方程。 [0122] Step S203: i.e. constructed of a parameter and the parameter b of linear equations.

[0123] 上述计算得到的参数a = 0.927和参数b = 0.971得到线性方程,Υ = 0.927Χ+0.971。 [0123] The calculated parameters of the parameter a = 0.927 and b = 0.971 resulting linear equation, Υ = 0.927Χ + 0.971.

[0124] 步骤S204:获取所需的液体的流量XI。 [0124] Step S204: acquiring the desired liquid flow XI.

[01巧]步骤S205:计算得到控制参数Υ1。 [Qiao 01] Step S205: the control parameters calculated Υ1.

[0126] 将所需要的流量XI代入线性方程Υ = 0.927Χ+0.971中得到此时的阀位开口度的值。 [0126] The required flows into the linear equation XI Υ = 0.927Χ + 0.971 value obtained at this time the opening degree of the valve position.

[0127] 如图4所示,为本实施例采用软件仿真得到的线性方程,其中直线为得到线性方程,◊为八组输入的数据组。 [0127] As shown in FIG 4, obtained using software simulation of linear equations of the present embodiment in which the straight line resulting linear equation, ◊ eight groups of data sets input.

[0128] 本实施例中W电动调节阀和液体为例,详细说明了由数据组经过最小二乘法的公式计算得到参数a和参数b的计算过程,本发明线性方程的控制参数采用数学中最小二乘法的方法,由于采用最小二乘法的方法能够使得实际情况输出值更加接近理想输出值,因此最小二乘法得到控制参数能够准确的达到理想效果,使得对控制变量的控制过程符合实际要求和企业需求。 [0128] In the present embodiment, the liquid W and the electric control valve as an example, a detailed description of the data set by the least squares method through the calculation formula obtained calculation parameters a and b parameters, the control parameters of the linear equations of the present invention employs mathematical minimum squares method, since the method of least squares method so that the actual output value can be closer to the ideal output value, the control parameter thus obtained the least squares method can accurately achieve the desired effect, so that the actual requirements and business process control variable compliance control demand.

[0129] 上述实施例介绍了一种流量控制方法,W下两个实施例将介绍另外一种流量控制方法。 [0129] The embodiment describes a flow control method, the two W will be described another embodiment of the flow rate control method.

[0130] 如图5所示,本发明提供一种流量控制方法,包括: [0130] As shown in FIG 5, the present invention provides a flow control method, comprising:

[01;31]步骤S301:获取预设的N组数据化,Yi),(拉,Y2)……(Xi,Yi)……佩,化),在第一区间(Xi,X2)中选取Μ个数值:Xll,Xl2……Xlj……XlM,或在第一区间(Yi,Y2)中选取Μ个数值:Yii, Υΐ2……Yij……YiM,其中j为自然数且2< j<M,M为自然数且Μ含4,即在各个区间内选取数据占. '»、、, [01; 31] Step S301: acquiring data of a predetermined group of N, Yi), (pull, Y2) ...... (Xi, Yi) ...... wear, chemical), selecting the first segment (Xi, X2) of Μ numerical: Xll, Xl2 ...... Xlj ...... XlM, or select the first segment (Yi, Y2) of the numerical Μ: Yii, Υΐ2 ...... Yij ...... YiM, where j is a natural number and 2 <j <M , M being a natural number and Μ containing 4, i.e., selecting in each interval data accounting. ' »,,,

[0132] 在第一区间(Χι,Χ2)中选取Μ个数值:Χη,Χΐ2……Xij……XiM,其中j为自然数且2< j< M,M为自然数且1>4;或在第一区间(¥1,¥2)中选取1个数值:¥11,¥12……Yij……Yim,其中j为自然数且2<j<M,M为自然数且Μ含4; [0132] In a first selecting section (Χι, Χ2) the numerical Μ: Χη, Χΐ2 ...... Xij ...... XiM, where j is a natural number and 2 <j <M, M is a natural number and 1> 4; or the first a section (¥ 1, ¥ 2) select a value: ¥ 11, ¥ 12 ...... Yij ...... Yim, where j is a natural number and 2 <j <M, M is a natural number and Μ containing 4;

[0133] 将Ν组数据中的液体或气体流量X取值分为Ν-1个区间,分别为第一区间(Xi,Χ2),第二区间(Χ2,Χ3)……第k区间(Xk,XK+i)……第(N-1)区间(Xn-i,Xn),W第一区间为例,在第一区间内部选取Μ个数值,Xll,Xi2……Xij……XiM,Μ为自然数。 [0133] v set of data to a liquid or gas flow into the value X Ν-1 intervals, respectively a first segment (Xi, X2), a second section (X2, x3) ...... k-th interval (Xk , XK + i) ...... of (N-1) section (Xn-i, Xn), W a first interval, for example, select a value [mu], Xll, Xi2 ...... Xij ...... XiM inside the first section, [mu] is a natural number.

[0134] 或者,将Ν组数据中的控制变量Υ的取值分为Ν-1个区间,分别为第一区间(Yi,Υ2), 第二区间(Υ2,Υ3)……第k区间(Xk,XK+i)……第(N-1)区间(Yn-i,Ynd)W第一区间为例,在第一区间内部选取Μ个数值,Υη,Υΐ2……Yij……YiM,Μ为自然数。 [0134] Alternatively, the v Υ set of data values ​​of control variables Ν-1 are divided into intervals, respectively a first segment (Yi, Υ2), a second section (Υ2, Υ3) ...... k-th interval ( Xk, XK + i) ...... of (N-1) section (Yn-i, Ynd) W of the first section, for example, selected within the first numerical range [mu], Υη, Υΐ2 ...... Yij ...... YiM, Μ is a natural number.

[0135] 因为本发明中的液体或气体流量在实际情况中是非线性的,因此为了更加精确的控制流量的线性方程,本发明将液体或气体流量X分为Ν-1个区间,在各个区间中使用最小二乘法各个区间内部的线性方程。 [0135] Because the liquid or gas flow in the present invention is non-linear, so a linear equation for more precise control of the flow rate, the present invention is a liquid or gas flow X into Ν-1 intervals in the actual situation, in each section linear equation using the least squares method inside each interval. 在第一区间内部选取Μ个数值,Μ为自然数,既可W在第一区间内不选取数值,也可W选取无限个数值。 Selecting the first zone inside a [mu] value, [mu] is a natural number, W can not select a value in the first section, may select an unlimited number of W values. 可W理解的是,Μ组数据中可W在第一区间内部呈平均分布,也可W成不均匀分布,在此不做限定。 W can be understood that, [mu] W set of data can be evenly distributed within the first interval in the form, it may be unevenly distributed to W, which is not defined.

[0136] 可W理解的是,Μ = 0时在第一区间内得到线性方程的精度较低,随着Μ的增大,线性方程的精度会逐渐提高,当然在实际实现过程中W所需精度为准,避免采用过大的Μ值带来的繁琐计算和执行过程。 [0136] W can be understood that, Μ = 0 when low accuracy of the linear equations obtained in the first section, with [mu] increases, the accuracy of the linear equations will gradually increase, of course, required in an actual implementation process W the precision, and avoid the use of complicated calculation process performed Μ brought too large value.

[0137] 步骤S302:依据Χιι,Χΐ2……Xij……Xim或Υιι,Υΐ2……Yij……Yim获取Μ组数据(Xn, Υιι),(Χΐ2,Υΐ2)……(Xij,Yij)……(XiM,YiM),其中j为自然数且2< j<M,M为自然数且Μ > 4,即依据数据点得到数据组; [0137] Step S302: the basis Χιι, Χΐ2 ...... Xij ...... Xim or Υιι, Υΐ2 ...... Yij ...... Yim acquired Μ set of data (Xn, Υιι), (Χΐ2, Υΐ2) ...... (Xij, Yij) ...... (XiM, YiM), where j is a natural number and 2 <j <M, M is a natural number and Μ> 4, i.e. according to the data set to obtain data points;

[0138] 即依据实际情况中液体或气体流量X与控制所述液体或气体流量X的控制参数Υ的关系,依据Χΐ1,Χΐ2……Xlj……XlM 获取Μ 组数据(Χΐ1,Υΐ1),(Χΐ2,Υΐ2)......(Xlj,Ylj)......(XlM, YiM),其中j为自然数且2< j<M,Μ为自然数且Μ含4; [0138] That is based on the actual situation in Υ control parameters X and liquid or gas flow of the liquid or the gas flow controlling relationship X according Χΐ1, Χΐ2 ...... Xlj ...... XlM group of data acquired Μ (Χΐ1, Υΐ1), ( Χΐ2, Υΐ2) ...... (Xlj, Ylj) ...... (XlM, YiM), where j is a natural number and 2 <j <M, Μ a natural number and containing 4 [mu];

[0139] W变频累频率为例:在实际测量时,依据当前的变送器的读数和需要达到的读数Xlj (液体或气体流量),调整变频累频率,等待液体或气体流量稳定后读数为Xlj,即记录下此时的变频累频率Yu,进而得到该组数据(X,Y)。 [0139] W accumulated frequency inverter for example: in the actual measurement, depending on the current reading and transmitter needed to achieve readings XLJ (liquid or gas flow rate), the frequency adjustment frequency tired, liquid or gas flow stabilization wait after reading Xlj, i.e. in this case the recording frequency conversion tired Yu, then get the set of data (X, Y).

[0140] 根据上述方法,依据需要获取的Μ组数据,原则上W液体或气体流量依次递增的顺序依次增大Xu,并根据液体或气体流量Xu依次记录变频累频率Yu,进而得到Μ组数据(Xii, Υιι),(Χΐ2,Υΐ2)……(Xlj,Yij)……(XiM,YiM),其中j为自然数且2< j <M,Μ为自然数且Μ含4。 [0140] The above-described method, based on the group of data needs to be acquired Μ, W sequentially principle of liquid or gas flow is increased incrementally Xu sequentially, and the liquid or gas flow tired frequency conversion sequentially recorded Xu Yu, and further set of data obtained Μ (Xii, Υιι), (Χΐ2, Υΐ2) ...... (Xlj, Yij) ...... (XiM, YiM), where j is a natural number and 2 <j <M, Μ a natural number and containing 4 [mu].

[0141] 或者,依据实际情况中液体或气体流量X与控制所述液体或气体流量X的控制参数Υ的关系,依据Υιι,Υΐ2……Yij……YiM获取Μ组数据(Χη,Υη),(Χΐ2,Υΐ2)……(Xij,Yij)…… (XiM,YiM),其中j为自然数且2< j<M,Μ为自然数且Μ > 4; [0141] Alternatively, the control parameters based on the actual situation in the liquid or gas flow Υ X and controlling the flow of liquid or gas the relationship X according Υιι, Υΐ2 ...... Yij ...... YiM group of data acquired Μ (Χη, Υη), (Χΐ2, Υΐ2) ...... (Xij, Yij) ...... (XiM, YiM), where j is a natural number and 2 <j <M, Μ a natural number and Μ> 4;

[0142] W变频累频率为例:在实际测量时,通过变频累设置变频累频率为Yu,等待液体或气体流量稳定后,通过变送器读取当前变频累频率下的液体或气体流量,并记录此时变送器的读数Xu,进而得到该组数据(Xu, Yu)。 [0142] W accumulated frequency inverter Example: After the time of actual measurement, frequency by frequency setting tired tired frequency Yu, waiting for liquid or gas flow stability, by reading the current transmitter frequency accumulated liquid or gas flow at a frequency, record the reading of the transmitter and Xu, then get the set of data (Xu, Yu).

[0143] 根据上述方法,依据需要获取的Μ组数据,原则上W变频累频率递增的顺序选取变频累频率Yi,并根据变频累频率Yi依次记录变送器的读数Xi,进而得到Μ组数据(Xn,Yii), (X12J12)……(Xlj, Yij)……化1«,¥11«),其中1 = 2、3……M,M为自然数且M> 2,可W理解的是, Μ越大本发明后续得到的线性方程越贴近实际。 [0143] The above-described method, based on the group of data needs to be acquired Μ, W-conversion principle, in order of increasing frequency tired tired selected frequency conversion Yi, Xi and sequentially reading is recorded according to the transmitter frequency conversion tired Yi, and thus obtained data set Μ (Xn, Yii), (X12J12) ...... (Xlj, Yij) ...... of the 1 «, ¥ 11«), where 1 = 2,3 ...... M, M is a natural number and M> 2, can be understood that W , the closer the actual linear equation obtained subsequent larger Μ present invention.

[0144] 步骤S303 :依据最小二乘法公式获得与Μ+2组数据(Xi,Yi),(Xn,Υη ),(Χΐ2, Υΐ2)……(Xlj, Yij)……(XlM,YlM),(X2,Y2)所对应的线性方程的参数ai和参数bl,即采用最小二乘法计算参数a和参数b; [0144] Step S303: obtaining the least squares method based on Formula Μ + 2 sets of data (Xi, Yi), (Xn, Υη), (Χΐ2, Υΐ2) ...... (Xlj, Yij) ...... (XlM, YlM), (X2, Y2) corresponding to the parameters and parameter ai bl linear equation, calculation parameters a and b parameters i.e. the least square method;

[0145] 其中,最小二乘法公式中所述参数ai的计算公式为: [0145] wherein, in the least squares formula parameter ai is calculated:

Figure CN103197692BD00181

,最小二乘法公式中所述参数bi的计算公式为:旬二y - "1克,其中,X为M+2组数据组(Xi,Υι),(Xii,Yii),(Xi2,Υΐ2)……(Xij, Yij)……(XiM,YiM),(拉,Υ2)中液体或气体流量X的平均值,γ为M+2组数据(Xi,Yi),(Xn,Υη), (X12J12)……(Xij,Yij)……(XlM,YlM),(拉,Υ2 )中控制参数Υ的平均值; The calculation formula of bi least square method in the equation parameters: two ten days y - "1 g, wherein, X is M + 2-Group (Xi, Υι), (Xii, Yii), (Xi2, Υΐ2) average ...... (Xij, Yij) ...... (XiM, YiM), (pull, Υ2) in the liquid or gas flow X, γ is M + 2 sets of data (Xi, Yi), (Xn, Υη), ( X12J12) ...... (Xij, Yij) ...... (XlM, YlM), (pull, Υ2) Υ average of control parameters;

[0146] 步骤S304:依据所述参数ai和所述参数bi得到线性方程Y = aiX+bi,由即参数a和参数b构建线性方程; [0146] Step S304: according to the parameters ai and bi parameters to obtain the linear equation Y = aiX + bi, i.e., the parameters and parameter constructs a linear equation B;

[0147] 步骤S305:按在第一区间内获取线性方程的方法,分别在第二区间(拉,X3)……第k 区间(Xk,Χκ+1)……第(Ν-1)区间(Χν-1,Xn)中获取线性方程Υ = a2X+b2……Y = akX+bk……Y = BN-戍+bN-i,其中k为自然数且2<k<Nl,N为自然数且N含4,即按步骤S301-S304的方法得到各区间的线性方程; [0147] Step S305: obtaining by the method of linear equations in the first section, second section respectively (pull, X3) ...... k-th interval (Xk, Χκ + 1) ...... section (Ν-1) interval ( Χν-1, Xn) acquired in the linear equation Υ = a2X + b2 ...... Y = akX + bk ...... Y = BN- Shu + bN-i, where k is a natural number and 2 <k <Nl, N is a natural number and N with 4, i.e., by the steps S301-S304 of the method of linear equations obtained in each section;

[0148] 按第一区间内选取数值并获取数据组的方法,在第二区间……第k区间(Xk, Χκ+1)……第(Ν-1)区间(Χν-ι,Χν)中分别选取数值并获取数据组,可W理解的是,可W在不同区间内选取不同数量的数值得到不同数量的数据组,或者在不同的区间选取相同数据数量的数值,得到相同的数据组。 [0148] selecting values ​​acquired by the first period and the method of data sets, the second section ...... k-th interval (Xk, Χκ + 1) ...... section (Ν-1) section (Χν-ι, Χν) in selecting values ​​respectively and acquiring data set may be W appreciated that it is possible W selected in the different sections of different numbers of values ​​and a varying number of data sets, or to select the same number of data values ​​in the various sections to obtain the same data set.

[0149] 步骤S306:获取所需的液体或气体流量Χ2; [0149] Step S306: acquiring liquid or gas flow required to X2;

[0150] 步骤S307:判定液体或气体流量Χ2所属的第k区间; [0150] Step S307: determination of a liquid or gas flow section k Χ2 belongs;

[0151] 因为在上述步骤中将液体或气体流量X2,分为不同的区间,不同的区间中线性方程是不同的,因此需要判定液体或气体流量所属的区间,根据区间得到线性方程。 [0151] Since the above-described step in a liquid or gas flow X2, divided into different sections, different sections of the different linear equations, and therefore needs to determine liquid or gas flow section belongs, according to the linear equation obtained interval.

[01划步骤S308:依据所述第k区间得到线性方程Y = akX+bk; [Step 01 designated S308: section k obtained according to the linear equation of Y = akX + bk;

[0153] 有上述步骤可知液体或气体流量所述区间为k,根据第k区间得到此时的液体或气体所属的线性方程Y = akX+bk。 [0153] found that the above steps a liquid or gas flow rate of the interval k, Y linear equations to obtain a liquid or gas at this time belongs in accordance with the k interval = akX + bk.

[0154] 步骤S309:依据所述线性方程Y = akX+bk,获得与所述液体或气体流量X2对应的所述液体或气体流量的控制参数Y2,即由线性方程计算得到控制参数。 [0154] Step S309: according to the linear equation Y = akX + bk, and the obtained liquid or gas flow control parameters X2 Y2 corresponding to the liquid or gas flow, i.e. the control parameter obtained by the linear calculation equation.

[0155] 因为本发明中的液体或气体流量在实际情况中是非线性的,因此为了更加精确的控制流量的线性方程,本发明将预设的N组数据中的液体或气体流量X或控制变量Y分为N-1 个区间,并在N-1个区间中分别选取Μ个数据组,在每个区间中依据Μ个数据利用最小二乘法进行运算得到两个参数a和b,由参数a和b构建一条线性方程,即该区间内液体或气体的流量和控制参数之间的线性关系,在N-1个区间共获得N-1条代表液体或气体的流量和控制参数之间的线性关系的线性方程,根据所需的液体或气体流量的取值X2,首先判断X2所属的区间,并根据所属区间内液体或气体的流量和控制参数之间的线性关系,获得与液体或气体的流量的值X2对应的控制参数的取值Y2。 [0155] Because the liquid or gas flow in the present invention is in reality non-linear, for more precise control of the flow of linear equations, the present invention is a preset N set of data or a liquid or gas flow control variables X Y N-1 are divided into intervals, and select Μ data groups, respectively, the N-1 interval, in each section based on the least square method Μ operational data obtained two parameters a and b, from a parameter Construction of a linear equation and b, i.e. linear relationship between the flow rate of the liquid or gas range and control parameters, in the N-1 interval were obtained and the linearity between the flow control parameter bars represent N-1 of liquids or gases linear relationship equation based on the value X2 desired liquid or gas flow, first determines the interval X2 belongs, and the linear relationship between the flow rate range relevant to liquid or gas and control parameters, obtained with a liquid or a gas the value Y2 flow control parameter value corresponding to X2. 本实施例在不同的区间内都有与之对应的线性关系,使得线性关系液体或气体的流量和控制参数之间的线性关系更加符合实际情况,使得液体或气体的流量输出更加符合实际情况。 In the present embodiment has a different interval corresponding to a linear relationship thereto, such that the linear relationship between the control parameter and linear flow of liquid or gas is more realistic, so that the liquid or gas flow output is more realistic.

[0156] 本实施例中流量控制方法与第一实施例的流量控制方法的核屯、构思是一致的,都是W预先设定的液体或气体的流量和控制参数组成的数据组作为基础,利用最小二乘法进行运算得到两个参数,由所述两个参数得到液体或气体的流量和控制参数之间的线性关系。 Nuclear Tun flow control method according to the first embodiment of the flow control method of Example [0156] present, the concept is the same, W is a group of data and control flow of liquid or gas parameters set in advance as the base composition, for calculating the least square method to obtain two parameters, a linear relationship between the flow rate of liquid or gas and control parameters of the two parameters. 只是在实施方式上第一种流量控制方法根据预设的N组数据得到一条线性方程,本发明依据预设的N组数据得到N-1条线性方程,与第一种流量控制方法相比,本实施例中得到的N-1条线性方程更加准确的反应了液体或气体的流量和控制参数之间的线性关系,使得流量控制过程更加准确,更加符合企业要求。 In the first embodiment except A flow control method of a linear equation obtained N sets of data according to preset, according to a preset set of data obtained according to the present invention N N-1 linear equations Article, compared to the first method of flow control, more accurately reflects the linear relationship between the flow rate of liquid or gas and control parameters Article N-1 linear equations obtained in the present embodiment, the flow control process so that more accurate, more in line with business requirements.

[0157] 由图6所示,本发明提供了流量控制方法的场景实施例,包括: Scene [0157] shown in FIG. 6, the present invention provides a flow control method of the embodiment, comprising:

[0158] 步骤S401:获取实际情况下的4组数据组。 [0158] Step S401: acquiring the group of four sets of data the actual situation.

[0159] 采用开环控制的方式采取实际情况下的液体或气体流量X与控制变量的取值Y,本实施例W电动调节阀和液体为例,原则上,W阀位开口度递增的顺序进行测试,然后得到4 组数据(Xi,Yi),如(1.1,1.5)、(2.2,3.5)、(3.3,4.2)和(4.4,5.0)。 [0159] The open-loop control taking the value Y in the actual liquid or gas and the flow rate control variables X, W of the present embodiment as an example the electric control valve and a liquid, in principle, the opening degree of the valve position W in order of increasing test, and then obtain four sets of data (Xi, Yi), as (1.1, 1.5), (2.2,3.5), (3.3,4.2) and (4.4,5.0). ^ 液体或气体流量X 为例:通过数据组的中X值将液体或气体流量X分为Ξ个区间:第一区间为(1.1,2.2),第二区间为(2.2,3.3),第Ξ 区间为(3.3,4.4)。 Liquid or gas flow X ^ Example: the value of X by the data set into a liquid or gas flow X Ξ intervals: a first interval (1.1,2.2), a second interval (2.2,3.3), the first Ξ interval (3.3,4.4).

[0160] 步骤S402:在各区间中选取数据组。 [0160] Step S402: Select data set in each interval.

[0161] 本实施例W在第一区间(Xi,X2)中选取2个数值:Xn,Xi2……Xij……Xim为例,依据实际情况中液体或气体流量X与控制所述液体或气体流量X的控制参数Y的关系,依据XII, Xl2……Xlj……XlM 获取Μ 组数据(Χΐ1,Υΐ1),(Χΐ2,Υΐ2)......(Xljjlj)......^邮¥^),其中占'为自然数且2<j<M,M为自然数且Μ含4; [0161] The present two values ​​selected in the first segment (Xi, X2) in Embodiment Example W: Xn, Xi2 ...... Xij ...... Xim an example, based on the actual situation in a liquid or gas flow control X and the liquid or gas flow control parameters the relationship X Y, according XII, Xl2 ...... Xlj ...... XlM group of data acquired Μ (Χΐ1, Υΐ1), (Χΐ2, Υΐ2) ...... (Xljjlj) ...... ^ Post ¥ ^), which accounted 'is a natural number and 2 <j <M, M is a natural number and Μ containing 4;

[0162] 本实施例WM = 2为例,在各个区间内选取两个数据组。 [0162] Example embodiment of the present WM = 2 as an example, two selected data sets in each interval. 例如在(1.1,1.5)、(2.2, 3.5)运两个数据组之间,选取两个数据组(1.4,1.9)、(1.8,2.5);在(2.2,3.5)、(3.3,4.2) 运两个数据组之间再取两个数据组(2.6,3.8)、(3.0,4.0),在(3.3,4.2)、(4.4,5.0)运两个数据组之间再取两个数据组(3.6,4.5)、(4.0,4.7)。 In the example (1.1, 1.5), between (2.2, 3.5) run two data sets, two selected data sets (1.4,1.9), (1.8, 2.5); at (2.2,3.5), (3.3,4.2) then take two data sets (2.6,3.8) operation between two data sets, (3.0, 4.0), at (3.3,4.2), (4.4,5.0) then take the two sets of data transport between two data sets (3.6,4.5), (4.0,4.7).

[0163] 步骤S403:计算各个区间内部的线性方程。 [0163] Step S403: calculating the internal section of each linear equation.

[0164] W第一区间为例: [0164] W of the first section, for example:

[016引①由4组数据(1.1,1.5)、(1.4,1.9)、(1.8,2.5)和(2.2,3.5)计算液体或气体流量X的平均值亥 [016 ① cited by the four sets of data (1.1, 1.5), (1.4,1.9), (1.8, 2.5) a liquid or a gas flow rate calculation X and (2.2,3.5) average Hai

Figure CN103197692BD00191

Figure CN103197692BD00201

[0174] ④将式(1)(2)(3)(4)(5)和(6)代入公式计算参数al公式中 And (6) into equation al parameters formula [0174] ④ the formula (1) (2) (3) (4) (5)

[0175] [0175]

Figure CN103197692BD00202

[0176] ⑤计算参数bl,将式(1)(2)及参数al,代入公式中 [0176] ⑤ calculation parameters bl, formula (1) (2) and the parameters al, is substituted into the formula

[0177] Μ = Ϋ-"Χ=-α 統9 [0177] Μ = Ϋ- "Χ = -α system 9

[017引得到参数al和参数bl构建第一区间的线性方程Υ = 1.796Χ-0.569。 [017 primer having parameters al and bl parameters construct a first linear interval equation Υ = 1.796Χ-0.569.

[0179] 按上述步骤分别计算得到第二区间,第Ξ区间的线性方程为: [0179] were calculated as described in step a second section, the first linear equation Ξ interval is:

[0180] Υ = 〇.622X2.149eY = 0.698Xl.929。 [0180] Υ = 〇.622X2.149eY = 0.698Xl.929.

[0181] 如图7所示,为本实施例采用软件仿真得到的线性方程。 [0181] As shown in FIG 7, the present embodiment employs a linear equation obtained by simulation software.

[0182] 步骤S404:依据所需的液体或气体流量X2得到控制变量。 [0182] Step S404: the liquid or gas depending on the desired flow rate controlled variable X2.

[0183] 假设所需的流量为X = 2.0,则根据该流量X = 2.0判定流量在第一区间,根据第一区间内的线性方程Υ = 1.796X-0.569,将X = 2.0代入线性方程中得Υ = 3.023,此时控制变量Υ的值即为阀位控制器或变频累频率的取值,采用控制变量Υ的值控制阀位控制器和变频累使之达到此时Υ的取值即可。 [0183] Suppose the desired flow rate is X = 2.0, then X = 2.0 based on the determined traffic flow in a first section, the linear equation for the first section Υ = 1.796X-0.569, X = 2.0 is substituted into the linear equation have Υ ​​= 3.023, this case is the value of the control variable Upsilon valve controller or the accumulated value of the frequency conversion, using the control value of the control variable Upsilon valve controller and accumulated frequency so as to reach the value at this time Upsilon i.e. can.

[0184] 因为在上述步骤中将液体或气体流量Χ2,分为不同的区间,不同的区间中线性方程是不同的,因此需要判定液体或气体流量所属的区间,根据区间得到线性方程。 [0184] Since the above-described step in a liquid or gas flow X2, divided into different sections, different sections of the different linear equations, and therefore needs to determine liquid or gas flow section belongs, according to the linear equation obtained interval.

[0185] 步骤S406:依据所述第k区间得到线性方程Y = akX+bk; [0185] Step S406: obtain a linear equation Y = akX + bk according to the k-th interval;

[0186] 有上述步骤可知液体或气体流量所述区间为k,根据第k区间得到此时的液体或气体所属的线性方程Y = akX+bk。 [0186] found that the above steps a liquid or gas flow rate of the interval k, Y linear equations to obtain a liquid or gas at this time belongs in accordance with the k interval = akX + bk.

[0187] 步骤S407:依据所述线性方程Y = akX+bk,获得与所述液体或气体流量X2对应的所述液体或气体流量的控制参数Y2。 [0187] Step S407: according to the linear equation Y = akX + bk, and the obtained liquid or gas flow control parameters X2 Y2 corresponding to the liquid or gas flow. ,即由线性方程计算得到控制参数。 , That is calculated from the linear equation control parameters.

[0188] 本实施例详细介绍了在划分区间及在区间中选取数据,W及由数据得到线性方程的过程,通过判定液体或气体流量所属的区间,根据区间得到此时的流量所应该使用的线性方程,使得对控制变量的控制更加准确,更加贴近实际情况,达到理想效果。 [0188] The present embodiment describes in detail the data selection section and the division, W, and process the data obtained by the linear equations in the interval, is determined by a liquid or gas flow section belongs, the flow rate obtained at this time interval should be used in accordance with linear equations, so that the control of the control variable more accurately, more realistic situation, to achieve the desired results. 本发明可W 精确控制液体或气体流量,实现稳定、实时、可靠的流量控制,符合工艺要求和企业的预期。 The present invention W may be accurately controlled flow of liquid or gas, stable, real-time, reliable flow control and meet the technical requirements of the enterprise expected. [0189 ]如图8所示,本发明提供了一种流量控制装置,包括: [0189] As shown, the present invention provides a flow control device 8, comprising:

[0190]参数计算单元100,用于依据最小二乘法获得预设的N组数据(Χι,Υι),(拉,Y2)…… (Χι,Υι)……(Χν,化)所对应的线性方程的参数a和参数b,其中,所述预设的Ν组数据(Χι,Υι), (拉,Υ2)……(Xi,Yi)……(Xn,化)中X为液体或气体流量,Y为控制所述液体或气体流量X的控制参数,其中i为自然数且2<i<N,N为自然数且N含4,其中,最小二乘法公式中所述参数a的计算公式为: [0190] parameter calculation unit 100, a set of N data (Χι, Υι) is obtained based on a predetermined method of least squares (pull, Y2) ...... (Χι, Υι) ...... (Χν, of) the corresponding linear parameters a and b parameters of equation, wherein the predetermined set of data Ν (Χι, Υι), (pull, Υ2) ...... (Xi, Yi) ...... (Xn, based) wherein X is a liquid or gas flow , Y is a control parameter of the liquid or gas flow X, where i is a natural number and 2 <i <N, N is a natural number and N containing 4, wherein the method of least squares equation is a parameter calculated:

Figure CN103197692BD00211

最小二乘法公式中所述参数b的计算公式为: 6 =否-0交,其中,交为N组数据(Χι,Υι),(枯,Y2)……化,Yi)……(Xn,化)中液体或气体流量X的平均值,否为N组数据(Xi,Yi),(拉,Y2)……(Xi,Yi)……(Xn,Yn)中控制参数Y的平均值; B calculated in the least squares equation parameters: 6 = -0 No cross, where the cross is the N sets of data (Χι, Υι), (dry, Y2) of ......, Yi) ...... (Xn, of) the liquid or gas flow of the average value X, N N groups of data (Xi, Yi), (pull, Y2) ...... (Xi, Yi) ...... (Xn, Yn) in the average value of the control parameter Y;

[0191 ]第一方程获取单元200,用于由所述参数a和所述参数b构建线性方程Y = aX+b; [0192]第一获取单元300,用于获取所需的液体或气体流量XI,依据所述线性方程Y = aX+ b,获得与所述液体或气体流量XI对应的所述液体或气体流量的控制参数Y1。 [0191] The first equation acquiring unit 200, by the parameter for the parameter and constructs a linear equation Y = aX + b b; [0192] a first obtaining unit 300 for obtaining the desired flow rate of liquid or gas XI, according to the linear equation Y = aX + b, and the obtained liquid or gas flow control parameters Y1 XI corresponding to the liquid or gas flow.

[019引如图9所示,本发明提供了一种流量控制装置,包括: [9 primer 019, the present invention provides a flow control device, comprising:

[0194]选取单元400,用于获得预设的N组数据(Χι,Υι),(Χ2,Υ2)……(Xi,Yi)……(Χν,Υν), 在第一区间(Χΐ,Χ2)中选取Μ个数值:Χΐ1,Χΐ2……Xlj……XlM XlM,或在第一区间(Υΐ,Υ2)中选取Μ个数值:Yii,Υΐ2……Yij……YiM,其中j为自然数且2< j<M,Μ为自然数且Μ > 4; [0194] a selecting unit 400 for obtaining the predetermined set of N data (Χι, Υι), (Χ2, Υ2) ...... (Xi, Yi) ...... (Χν, Υν), in a first section (Χΐ, Χ2 ) selected numerical Μ: Χΐ1, Χΐ2 ...... Xlj ...... XlM XlM, or select the first segment (Υΐ, Υ2) the numerical Μ: Yii, Υΐ2 ...... Yij ...... YiM, where j is a natural number and 2 <j <M, Μ a natural number and Μ> 4;

[019引第二获取单元500,用于依据Χιι,Χΐ2……Xij……Xim或Υιι,Υΐ2……Yij……Yim获取Μ 组数据(Xii,Yii),(Χΐ2,Υΐ2)……(Xij,Yij)……(XiM,YiM),其中j为自然数且2<j<M,M为自然数且M>4; [019 lead second acquisition unit 500, according to Χιι, Χΐ2 ...... Xij ...... Xim or Υιι, Υΐ2 ...... Yij ...... Yim group of data acquired Μ (Xii, Yii), (Χΐ2, Υΐ2) ...... (Xij , Yij) ...... (XiM, YiM), where j is a natural number and 2 <j <M, M is a natural number and M> 4;

[0196] 第二方程获取单元600,用于依据最小二乘法公式获得与M+2组数据(Χι,Υι),(Χιι, Υιι),(Χΐ2,Υΐ2)……化j,Yij)……(XiM,YiM),(X2,Y2)所对应的线性方程的参数ai和参数bi,其中,最小二乘法公式中所述参数ai的计算公式为: [0196] The second equation acquisition unit 600, M + 2 and for obtaining a set of data (Χι, Υι), (Χιι, Υιι), (Χΐ2, Υΐ2) ...... of j, Yij) based on least squares formula ...... (XiM, YiM), (X2, Y2) parameters ai and bi parameters corresponding to the linear equation, wherein the method of least squares equation parameters ai is calculated:

Figure CN103197692BD00212

最小二乘法公式中所述参数bi的计算公式为:砖=,F-抹1玄,其中,X为M+2组数据组(Χι,Υι),(Χιι,Υιι),(Χΐ2,Υΐ 2)……(Xij, Yij)……(XiM,YlM),(拉,Y2)中液体或气体流量X的平均值,Ϋ为M+2组数据(Xi,Yi),(Xii,Yii), (X12J12)……化j,Yij)……(XiM,YiM),化,Υ2)控制参数Υ的平均值,依据所述参数ai和所述参数bi构建线性方程Y = aiX+bi,按在第一区间内获取线性方程的方法,分别在第二区间(拉,X3)……第k区间(Xk,Χκ+1)……第(Ν-1)区间(Χν-1,Xn )中获取线性方程Υ = a2X+b2……Y = akX+bk……Y = BN-iX+bN-i,其中k为自然数且2<k<Nl,N为自然数且N含4; Least squares formula in the formula bi parameters: Brick =, F- wipe Xuan 1, wherein, X is M + 2-Group (Χι, Υι), (Χιι, Υιι), (Χΐ2, Υΐ 2 ) ...... (Xij, Yij) ...... (XiM, YlM), (pull, Y2) of the liquid or gas flow average value of X, Ϋ M + 2 is a group of data (Xi, Yi), (Xii, Yii), (X12J12) ...... of j, Yij) ...... (XiM, YiM), of, v2 is) Υ average of the control parameters, according to the parameters ai and bi parameters construct the linear equation Y = aiX + bi, in press obtaining a first linear equations in the method section, respectively, in the second section (pull, X3) ...... k-th interval (Xk, Χκ + 1) ...... section (Ν-1) section (Χν-1, Xn) acquired linear equation Υ = a2X + b2 ...... Y = akX + bk ...... Y = BN-iX + bN-i, where k is a natural number and 2 <k <Nl, N is a natural number and N containing 4;

[0197] 第Ξ方程获取单元700,用于获取所需的液体或气体流量X2,判定液体或气体流量X2所属的第k区间,依据所述第k区间得到线性方程Y = akX+bk; [0197] Equation Ξ first acquiring unit 700, for obtaining the desired flow of liquid or gas X2, k-determined interval X2 belongs liquid or gas flow to obtain a linear equation Y = akX + bk according to the k-th interval;

[0198] 第Ξ获取单元800,用于依据所述线性方程Y = akX+bk,获得与所述液体或气体流量X2对应的所述液体或气体流量的控制参数Y2。 [0198] The first Ξ acquisition unit 800, according to the linear equation Y = akX + bk, and the obtained liquid or gas flow control parameters X2 Y2 corresponding to the liquid or gas flow. .

[0199] 如图10所示,本发明提供了一种流量控制系统,包括: [0199] 10, the present invention provides a flow control system, comprising:

[0200] 第一处理器900,用于依据最小二乘法获得预设的N组数据(Χι,Υι),(Χ2,Υ2)…… (Χι,Υι)……(Χν,化)所对应的线性方程的参数a和参数b,其中,所述预设的Ν组数据(Χι,Υι), (拉,Υ2)……(Xi,Yi)……(Xn,化)中X为液体或气体流量,Y为控制所述液体或气体流量X的控制参数,其中i为自然数且2<i<N,N为自然数且N含4,其中,最小二乘法公式中所述参数a的计算公式为: [0200] First processor 900, based on least square method for the obtained N sets of preset data (Χι, Υι), (Χ2, Υ2) ...... (Χι, Υι) ...... (Χν, of) corresponding parameters a and b parameters of linear equations, wherein the predetermined set of data Ν (Χι, Υι), (pull, Υ2) ...... (Xi, Yi) ...... (Xn, based) in which X is a liquid or a gas flow, Y is to control the liquid or gas flow control parameter X, where i is a natural number and 2 <i <N, N is a natural number and N containing 4, wherein the least squares formula in the formula is a parameter :

Figure CN103197692BD00221

,最小二乘法公式中所述参数b的计算公式为: /,= ¥-.< 反,其中,X为N组数据化,Υι),(Χ2,Υ2)……化,Yi)……佩,化)中液体或气体流量X的平均值,Y为腺且数据(Χι,Υι),(拉,Y2)……(Χι,Υι)……(Χν,Υν)中控制参数Υ的平均值; , Least squares formula parameter b in the formula is:. /, = ¥ - <trans, wherein, X is N sets of data, Υι), (Χ2, Υ2) ...... of, Yi) ...... Pei average, of) the liquid or gas flow rate of X, Y and glandular data (Χι, Υι), (pull, Y2) ...... (Χι, Υι) ...... (Χν, Υν) the average value of the control parameter Υ ;

[0201] 第一控制器1000,用于由所述参数a和所述参数b构建线性方程Y = aX+b,获取所需的液体或气体流量XI,依据所述线性方程Y = aX+b,获得与所述液体或气体流量XI对应的所述液体或气体流量的控制参数Y1; [0201] The first controller 1000, and used by the parameter a parameter construct the linear equation Y b = aX + b, to obtain the required flow of liquid or gas XI, according to the linear equation Y = aX + b obtained with the liquid or gas flow control parameters Y1 XI corresponding to the liquid or gas flow rate;

[0202] 第一待控设备1100,用于与所述第一控制器相连,接收所述液体或气体流量的控制参数Y1,并依据所述控制参数Y1执行相应操作。 [0202] The first controlled device 1100 to be configured with the first controller is connected to receive the control parameters Y1 liquid or gas flow, according to the control parameters Y1 and perform a corresponding operation.

[0203] 所述第一处理器或所述第二处理器为运行Matlab程序计算机。 [0203] The first processor or the second processor running a computer program Matlab.

[0204] 所述第一控制器或所述第二控制器包括:可编程逻辑控制器化C。 [0204] The first controller or the second controller comprises: a programmable logic controller of C.

[020引所述第一待控设备或所述第二待控设备包括:变频累或阀位控制器。 [020 the first primer or the second device to be controlled to be control device comprising: a valve controller or inverter tired.

[0206] 在实际情况中,第一处理器和第一控制器可W有连接关系也无连接关系,第一处理器可W离线计算参数a和参数b,第一控制器只需要在人为编程时使用该参数a和参数b即可,或者第一处理器和第一控制器由连接关系,直接将第一处理器计算参数a和参数b,并将得到的计算参数a和参数b传输至第一控制器,由控制器根据参数进行进一步的处理。 [0206] In practical applications, the first processor and a first controller may be no connection relationship W have connection relationship, the first processor may be computed off-line parameters W and a parameter B, a first controller need only artificially programming when using the parameters a and b can be the parameter, or by the first processor and a first control connection relationship, a first processor to calculate directly the parameters a and b parameters, the parameter calculation parameters a and b to transmission and the resulting a first controller for further processing by the controller based on the parameters.

[0207] 如图11所示,本发明提供一种流量控制系统,包括: [0207] 11, the present invention provides a flow control system, comprising:

[020引第二处理器1200,用于获得预设的N组数据(Χι,Υι),(Χ2,Υ2)……(Χι,Υ0……(Χν, 化),在第一区间(Xi,拉)中选取Μ个数值:Χη,Χΐ2……Xij……XiM或在第一区间(Υι,Υ2)中选取Μ个数值:Υιι,Υΐ2……Yij……YiM,其中j为自然数且2<j<M,M为自然数且1>4,依据Xii, Xl2……Xlj……XlM 或Υΐ1,Υΐ2……Ylj……YlM 获取Μ 组数据(Χΐ1,Υΐ1),(Χΐ2,Υΐ2)……(Xlj, Yu)……(XlM,YlM),其中j为自然数且2<j<M,M为自然数且M^4,依据最小二乘法公式获得与Μ巧组数据(Xi,Yi),(Xii,Yii),(Xi2,Υ12)……(Xij,Yij)……(Xim,Yim),(拉,Ys)所对应的线性方程的参数ai和参数bi,其中,最小二乘法公式中所述参数ai的计算公式为: [020 cited second processor 1200, a set of N data (Χι, Υι), (Χ2, Υ2) ...... (Χι achieve desired, Υ0 ...... (Χν, based), in the first segment (Xi, pull) selected numerical Μ: Χη, Χΐ2 ...... Xij ...... XiM or select the first segment (Υι, Υ2) the numerical Μ: Υιι, Υΐ2 ...... Yij ...... YiM, where j is a natural number and 2 < j <M, M is a natural number and 1> 4, based Xii, Xl2 ...... Xlj ...... XlM or Υΐ1, Υΐ2 ...... Ylj ...... YlM group of data acquired Μ (Χΐ1, Υΐ1), (Χΐ2, Υΐ2) ...... ( Xlj, Yu) ...... (XlM, YlM), where j is a natural number and 2 <j <M, M is a natural number and M ^ 4, obtained Μ clever set of data (Xi, Yi), (Xii based on least squares formula , Yii), (Xi2, Υ12) ...... (Xij, Yij) ...... (Xim, Yim), (tensile, Ys) parameters ai and bi parameters corresponding to the linear equation, wherein the method of least squares equation ai parameters are calculated:

Figure CN103197692BD00222

最小二乘法公式中所述参数bi的计算公式为:砖=7-好1.玄,:其中,玄为1+2组数据组^1,¥1),(乂11,¥11),(乂12,¥12)……(Xij, Ylj)……(XiM,YlM),促,Y2)中液体或气体流量X的平均值,Ϋ为M+2组数据(Xi,Yi),(Xii,Yii), (X12J12)……化j,Ylj)……(XiM,YlM),化,Υ2)控制参数Υ的平均值,依据所述参数ai和所述参数bi构建线性方程Y = aiX+bi,按在第一区间内获取线性方程的方法,分别在第二区间(拉,X3)……第k区间(Xk,Χκ+1)……第(Ν-1)区间(Χν-1,Χν )中获取线性方程Υ = a2X+b2……Y = akX+bk……Υ = BN-iX+bN-i,其中k为自然数且2<k<Nl,N为自然数且N含4; Bi is calculated in the least squares equation parameters are: 1. Good bricks = 7- Xuan,: wherein, Xuan 1 + ^ 2-Group 1, ¥ 1), (qe 11, ¥ 11), ( qe 12, ¥ 12) ...... (Xij, Ylj) ...... (XiM, YlM), promote, Y2) of a liquid or gas flow average value of X, Ϋ M + 2 is a group of data (Xi, Yi), (Xii , Yii), (X12J12) ...... of j, Ylj) ...... (XiM, YlM), of, v2 is) Υ average of the control parameters, according to the parameters ai and bi parameters construct the linear equation Y = aiX + bi, acquired by the method of linear equations in the first section, second section respectively (pull, X3) ...... k-th interval (Xk, Χκ + 1) ...... section (Ν-1) section (Χν-1, Χν) acquired in the linear equation Υ = a2X + b2 ...... Y = akX + bk ...... Υ = BN-iX + bN-i, where k is a natural number and 2 <k <Nl, N is a natural number and N containing 4;

[0209] 第二控制器1300,用于获取所需的液体或气体流量X2,判定液体或气体流量X2所属的第k区间,依据所述第k区间得到线性方程Y = akX+bk,依据所述线性方程Y = akX+bk,获得与所述液体或气体流量X2对应的所述液体或气体流量的控制参数Y2; [0209] The second controller 1300, configured to obtain desired liquid or gas flow X2, k-determined interval X2 belongs liquid or gas flow to obtain a linear equation Y k according to the first interval = akX + bk, according to the said linear equation Y = akX + bk, Y2 obtained with the liquid or gas flow control parameter X2 corresponds to the flow of liquid or gas;

[0210] 第二待控设备1400,用于与所述第二控制器相连,接收所述液体或气体流量的控制参数Y2,并依据所述控制参数Y2执行相应操作。 [0210] The second device 1400 to be controlled, and the second controller coupled to receive the control parameter Y2 liquid or gas flow, according to the control parameter Y2 and perform a corresponding operation.

[0211] 所述第一处理器或所述第二处理器为运行Mat lab程序计算机。 [0211] The first processor or the second processor running a computer program Mat lab.

[0212] 所述第一控制器或所述第二控制器包括:可编程逻辑控制器化C。 [0212] The first controller or the second controller comprises: a programmable logic controller of C.

[0213] 所述第一待控设备或所述第二待控设备包括:变频累或阀位控制器。 [0213] The first device to be controlled or to be the second control device comprising: a valve controller or inverter tired.

[0214] 本实施例方法所述的功能如果W软件功能单元的形式实现并作为独立的产品销售或使用时,可W存储在一个计算设备可读取存储介质中。 [0214] Example of the present embodiment function if the functional unit in the form of software implementation of W and sold as an independent product or, W may be stored in a computing device readable storage medium. 基于运样的理解,本发明实施例对现有技术做出贡献的部分或者该技术方案的部分可软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用W使得一台计算设备(可W是个人计算机, 服务器,移动计算设备或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。 Based on the sample transport understood that the form of software product portion contributing to the embodiment of the prior art or part of the technical solutions of the present invention is embodied embodiment, the software product is stored in a storage medium and includes several instructions that enable a with W computing devices (W may be a personal computer, a server, mobile computing device or a network device) all of the various embodiments of the method of the present invention or part of the steps performed. 而前述的存储介质包括:U盘、移动硬盘、只读存储器(R0M,ReacK)nly Memo巧)、随机存取存储器(RXM,Random Xccess Memory)、磁碟或者光盘等各种可W存储程序代码的介质。 The storage medium includes: U disk, mobile hard disk, a read-only memory (R0M, ReacK) nly Memo clever), a random access memory (RXM, Random Xccess Memory), a magnetic disk or optical disk, etc. W can be stored in various program codes media.

[0215] 本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其它实施例的不同之处,各个实施例之间相同或相似部分互相参见即可。 [0215] In the present specification, the various embodiments described in a progressive manner, differences from the embodiment described with other embodiments focus each embodiment, the same or similar parts referred to each other between the respective embodiments.

[0216] 对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。 [0216] The above description of the disclosed embodiments enables those skilled in the art to make or use the present invention. 对运些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可W在不脱离本发明的精神或范围的情况下,在其它实施例中实现。 These various modifications op professional skill in the art of the present embodiment will be apparent, and the generic principles defined herein may be W without departing from the spirit or scope of the present invention, be implemented in other embodiments . 因此,本发明将不会被限制于本文所示的运些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。 Accordingly, the present invention will not be limited to the embodiments shown herein shipped some embodiments, but is to be accorded herein consistent with the principles and novel features disclosed widest scope.

Claims (8)

  1. 1. 一种流量控制方法,其特征在于,包括: 依据最小二乘法获得预设的N组数据化,Υΐ),(Χ2,Υ2)……(Χι,Υι)……(Χν,化)所对应的线性方程的参数a和参数b; 其中,所述预设的N组数据(Χι,Υι),(拉,Y2)……(Χι,Υι)……(Χν,化)中X为液体或气体流量,Υ为控制所述液体或气体流量X的控制参数,控制参数Υ包括阀位开口度或变频累频率, 其中i为自然数且2<i<N,N为自然数且Ν> 4; 其中,最小二乘法公式中所述参数a的计算公式为: 1. A flow control method, comprising: obtaining a predetermined set of data based on the least squares method of N, Υΐ), (Χ2, Υ2) ...... (Χι, Υι) ...... (Χν, of) the parameters corresponding to parameters a and b of the linear equation; wherein N sets the preset data (Χι, Υι), (pull, Y2) ...... (Χι, Υι) ...... (Χν, of) wherein X is a liquid or the gas flow rate, the control parameter Υ to control the liquid or gas flow X, the control parameters Υ comprising a valve position opening degree or frequency tired frequency, where i is a natural number and 2 <i <N, N is a natural number and Ν> 4; wherein, in the least squares formula is a formula to calculate:
    Figure CN103197692BC00021
    ,最小二乘法公式中所述参数b的计算公式为:Α = Υ-ίϊΧ,其中,亥为N组数据(Χι,Υι),(Χ2,Υ2)...... (Xi,Yi)……(Xn,Yn)中液体或气体流量X的平均值,玄为N组数据(Xi,Yi),(X2,Y2)……(Xi, Yi)……(Xn,化)中控制参数Υ的平均值; 其中,预设的Ν组数据(Xi,Yi),(Χ2,Υ2)……(Xi,Yi)……(Xn,化)的获取过程包括:依据实际情况中液体或气体流量X与控制所述液体或气体流量X的控制参数Y的大小关系,获取N组数据(Χι,Υι),(Χ2,Υ2)……(Xi,Yi)……(Xn,化),其中i为自然数且2<i<N,N为自然数且N>4; 依据实际情况中液体或气体流量X与控制所述液体或气体流量X的控制参数Y的关系,即在阀位开口度确定时,实际测量的液体或气体输出量与此时的阀位开口度的关系,或者,在变频累频率确定时,实际测量的液体或气体输出量与此时的变频累频率的关系 , Least squares equation is calculated for the parameter b: Α = Υ-ίϊΧ, wherein hai is N sets of data (Χι, Υι), (Χ2, Υ2) ...... (Xi, Yi) ...... (Xn, Yn) of the average value X of a liquid or gas flow, Hyun N groups of data (Xi, Yi), (X2, Y2) ...... (Xi, Yi) ...... (Xn, based) control parameters the average Υ; wherein Ν predetermined set of data (Xi, Yi), (Χ2, Υ2) ...... (Xi, Yi) ...... (Xn, of) the acquisition process comprises: a liquid or gas in the actual situation according to controlling the flow control parameter X and the liquid or gas flow magnitude relationship of X Y, N sets of acquired data (Χι, Υι), (Χ2, Υ2) ...... (Xi, Yi) ...... (Xn, based), wherein i is a natural number and 2 <i <N, N is a natural number and N> 4; based on the actual situation in the control parameters of liquid or gas flow X and control the fluid or gas flow X, Y relationship, i.e., determine the position opening degree of the valve when, liquid or gas output actually measured the relationship between the opening degree of the valve position at that time, or, at an inverter frequency determination tired, liquid or gas and the actually measured output frequency at that time accumulated frequency relation 由所述参数a和所述参数b构建线性方程Y = aX+b; 其中,采用可编程逻辑控制器PLC编程的方式由参数a和参数b实现线性方程Y = aX+b, 并实现输入量至输出量的过程,输入量为液体或气体流量X,输出量为控制参数; 获取所需的液体或气体流量XI; 依据所述线性方程Y = aX+b,获得与所述液体或气体流量XI对应的所述液体或气体流量的控制参数Y1。 By the parameter and the parameter constructing a linear equation Y b = aX + b; wherein the programmable logic controller (PLC) programming mode b to achieve a linear equation by the parameter and the parameter Y = aX + b, and achieve input process to output, the input amount of liquid or gas flow X, output of the control parameter; obtaining desired liquid or gas flow XI; according to the linear equation Y = aX + b, to obtain a liquid or gas flow and XI Y1 control parameters corresponding to the liquid or gas flow.
  2. 2. -种流量控制方法,其特征在于,包括: 获得预设的N组数据化,Υι),(Χ2,Υ2)……(Xi,Yi)……(Χν,Υν),在第一区间化,拉)中选取Μ个数值:Χη,Χΐ2……Xij……XiM,或在第一区间(Υι,Υ2)中选取Μ个数值:Υη,Υΐ2…… Yij……YiM,其中j为自然数且2< j<M,M为自然数且Μ > 4; 依据Χΐ1,Χΐ2……Xlj……XlM 或Υΐ1,Υΐ2……Ylj……YlM 获取Μ 组数据(Χΐ1,Υΐ1),(Χΐ2, Υΐ2)……(Xlj,Ylj)……(XiM,YiM),其中j为自然数且2< j<M,Μ为自然数且Μ > 4; 依据最小二乘法公式获得与Μ+2组数据化,Υι),(Χιι,Υιι),(Χΐ2,Υΐ2)……(Xij,Yij)…… (ΧίΜ,ΥΐΜ),(拉,Y2)所对应的线性方程的参数ai和参数bl; 其中,最小二乘法公式中所述参数ai的计算公式为: 2. - Species flow control method, characterized by comprising: obtaining a set of data of predetermined N, Υι), (Χ2, Υ2) ...... (Xi, Yi) ...... (Χν, Υν), in a first section of pull) selected numerical Μ: Χη, Χΐ2 ...... Xij ...... XiM, or select the first segment (Υι, Υ2) the numerical Μ: Υη, Υΐ2 ...... Yij ...... YiM, where j is a natural number and 2 <j <M, M is a natural number and Μ> 4; basis Χΐ1, Χΐ2 ...... Xlj ...... XlM or Υΐ1, Υΐ2 ...... Ylj ...... YlM [mu] acquired data set (Χΐ1, Υΐ1), (Χΐ2, Υΐ2) ...... (Xlj, Ylj) ...... (XiM, YiM), where j is a natural number and 2 <j <M, Μ a natural number and Μ> 4; obtained Μ + 2 sets of data, Υι accordance with equation Least Squares) , (Χιι, Υιι), (Χΐ2, Υΐ2) ...... (Xij, Yij) ...... (ΧίΜ, ΥΐΜ), (pull, Y2) parameters ai and bl parameter corresponding to the linear equation; wherein the least squares equation the parameters ai are calculated as:
    Figure CN103197692BC00022
    最小二乘法公式中所述参数bi的计算公式为:A| =rU|X,其中,文为M+2组数据组(Χΐ,Υΐ),(Χΐ1,Υΐ1),(Χΐ2,Υΐ2)……(Xlj, Yij)……(ΧίΜ,ΥΐΜ),(拉,Y2)中液体或气体流量X的平均值,Ϋ为M+2组数据(Χι,Υι),(Χη,Υη), (Χΐ2,Υΐ2)……(Xij,Yij)……(XlM,YlM),(拉,Υ2 )中控制参数Υ的平均值,控制参数Υ包括阀位开口度或变频累频率; 其中,预设的Ν组数据(Χΐ,Υΐ),(Χ2,Υ2)……(Χι,Υι)……(Χν,化)的获取过程包括:依据实际情况中液体或气体流量X与控制所述液体或气体流量X的控制参数Υ的大小关系,获取Ν组数据(Χι,Υι),(Χ2,Υ2)……(Xi,Yi)……(Xn,化),其中i为自然数且2<i<N,N为自然数且N>4; 依据实际情况中液体或气体流量X与控制所述液体或气体流量X的控制参数Y的关系,即在阀位开口度确定时,实际测量的液体或气体输出 Bi is calculated in the parameter least squares formula is: A | = rU | X, wherein M + 2 is the set of text data group (Χΐ, Υΐ), (Χΐ1, Υΐ1), (Χΐ2, Υΐ2) ...... average liquid (Xlj, Yij) ...... (ΧίΜ, ΥΐΜ), (pull, Y2) or a gas flow rate of X, Ϋ sets of data for the M + 2 (Χι, Υι), (Χη, Υη), (Χΐ2, ) control Υΐ2) ...... (Xij, Yij) ...... (XlM, YlM), (pull, v2 is the average value of the parameter Υ, Υ control parameter includes a valve opening degree of the position or frequency tired frequency; wherein the predetermined set of Ν data (Χΐ, Υΐ), (Χ2, Υ2) ...... (Χι, Υι) ...... (Χν, of) the acquisition process comprising: based on the actual situation in a liquid or gas flow control X and the liquid or gas flow rate of X Υ control parameter magnitude relation, the group of data acquired Ν (Χι, Υι), (Χ2, Υ2) ...... (Xi, Yi) ...... (Xn, based), where i is a natural number and 2 <i <N, N is natural number and N> 4; the control parameters based on the actual situation in the liquid or gas flow control of the liquid X and X or Y of gas flow relationship, that is, when the opening degree of the valve position is determined, the actual measurement of a liquid or gas output 量与此时的阀位开口度的关系,或者,在变频累频率确定时,实际测量的液体或气体输出量与此时的变频累频率的关系; 依据所述参数m和所述参数bi构建线性方程Y=aiX+bi; 其中,采用可编程逻辑控制器化C编程的方式由参数ai和参数bi实现线性方程Y = aiX+ bi,并实现输入量至输出量的过程,输入量为液体或气体流量X,输出量为控制参数; 按在第一区间内获取线性方程的方法,分别在第二区间(X2,X3)……第k区间(Xk, Χκ+ι)……第(Ν-1)区间(Χν-1,Χν )中获取线性方程Υ = a2X+b2……Y = akX+bk……Y = aN-iX+bw-i, 其中k为自然数且2<k<Nl,N为自然数且N > 4; 获取所需的液体或气体流量X2; 判定液体或气体流量X2所属的第k区间; 依据所述第k区间得到线性方程Y = akX+bk; 依据所述线性方程Y = akX+bk,获得与所述液体或气体流量X2对应的所述液体或气体流量的控制参数Y2。 Relationship between the amount of opening of the valve position at that time, or, at an inverter frequency determination tired, liquid or gas and the actually measured output frequency at that time accumulated frequency relation; BI constructed according to the parameter and the parameter m the linear equation Y = aiX + bi; wherein the programmable logic controller of the C programming way to achieve bi Y linear equations and parameters by the parameters ai = aiX + bi, and input to the process to achieve the output, input or liquid gas flow X, output control parameters; acquired by the method of linear equations in the first section, second section, respectively, (X2, X3) ...... k-th interval (Xk, Χκ + ι) ...... section (Ν- 1) interval (Χν-1, Χν) acquired in the linear equation Υ = a2X + b2 ...... Y = akX + bk ...... Y = aN-iX + bw-i, where k is a natural number and 2 <k <Nl, N is a natural number and N> 4; obtain the required liquid or gas flow X2; k-th determination section of liquid or gas flow X2 belongs; obtained according to the linear equation Y k-th interval = akX + bk; according to the linear equation Y = akX + bk, and the obtained liquid or gas flow control parameters X2 Y2 corresponding to the liquid or gas flow.
  3. 3. -种流量控制装置,其特征在于,包括: 参数计算单元,用于依据最小二乘法获得预设的N组数据(Χΐ,Υΐ),(Χ2,Υ2)……(Xi, Yi)……(Xn,化)所对应的线性方程的参数a和参数b,其中,所述预设的N组数据(Χι,Υι),(Χ2, Υ2)……(Xi,Yi)……(Xn,化)中X为液体或气体流量,Y为控制所述液体或气体流量X的控制参数,控制参数Y包括阀位开口度或变频累频率,其中i为自然数且2<i<N,N为自然数且N>4, 其中,最小二乘法公式中所述参数a的计算公式为 3 - Species flow control device, comprising: parameter calculating means, for N groups of data (Χΐ, Υΐ) based on the least squares method to obtain a predetermined, (Χ2, Υ2) ...... (Xi, Yi) ... ... (Xn, of) a parameter and the parameter b corresponding to the linear equation, wherein the predetermined set of N data (Χι, Υι), (Χ2, Υ2) ...... (Xi, Yi) ...... (Xn , of) wherein X is a liquid or gas flow, Y control of the liquid or the control parameters of the gas flow X, the control parameter Y includes a valve position opening degree or frequency tired frequency, where i is a natural number and 2 <i <N, N is a natural number and N> 4, wherein the least squares formula in the formula is a parameter
    Figure CN103197692BC00031
    ,最小二乘法公式中所述参数b的计算公式为:6 = Ϋ -α交,其中,X为N组数据(Χι,Υι),(Χ2,Υ2)......(Xi, Yi)……(Χν,Yn)中液体或气体流量X的平均值,y为Ν组数据(Xi,Yi),(X2,Υ2)……(Xi, Yi)……(XN,YN)中控制参数Y的平均值;其中,预设的N组数据(Xl,Yl),(X2,Y2)……(Xi, Yi)……(Χν,化)的获取过程包括:依据实际情况中液体或气体流量X与控制所述液体或气体流量X的控制参数Υ的大小关系,获取Ν组数据(Xi,Yi),(Χ2,Υ2)……(Xi,Yi)……(Χν,化),i为自然数且2<i<N,N为自然数且4;依据实际情况中液体或气体流量X与控制所述液体或气体流量X的控制参数Y的关系,即在阀位开口度确定时,实际测量的液体或气体输出量与此时的阀位开口度的关系,或者,在变频累频率确定时,实际测量的液体或气体输出量与此时的变频累频率的关系; , Least squares formula parameter b in the formula are: 6 = Ϋ -α post, wherein, X is N sets of data (Χι, Υι), (Χ2, Υ2) ...... (Xi, Yi ) ...... (Χν, average value Yn) of a liquid or gas flow X, y is an Ν set of data (Xi, Yi), (X2, Υ2) ...... (Xi, Yi) ...... (XN, YN) of control the average value of a parameter Y; wherein the predetermined set of N data (Xl, Yl), (X2, Y2) ...... (Xi, Yi) ...... (Χν, of) the acquisition process comprising: based on the actual situation in a liquid or Υ gas flow control parameter X and the liquid or gas flow control magnitude relationship X, Ν acquired sets of data (Xi, Yi), (Χ2, Υ2) ...... (Xi, Yi) ...... (Χν, based), when based on the actual situation in relation control parameter Y of a liquid or a gas flow X and control the fluid or gas flow X, i.e. to determine position opening degree of the valve,; I is a natural number and 2 <i <N, N is a natural number, and 4 relationship between the amount of liquid or gas output at that time of the actually measured valve opening position, or when the inverter frequency is determined tired, liquid or gas and the actually measured output frequency at that time accumulated frequency relationship; 第一方程获取单元,用于由所述参数a和所述参数b构建线性方程Y = aX+b;其中,采用可编程逻辑控制器化C编程的方式由参数a和参数b实现线性方程Y = aX+b,并实现输入量至输出量的过程,输入量为液体或气体流量X,输出量为控制参数;第一获取单元,用于获取所需的液体或气体流量XI,依据所述线性方程Y = aX+b,获得与所述液体或气体流量XI对应的所述液体或气体流量的控制参数Y1。 The first equation acquiring unit configured by the parameter and the parameter constructing a linear equation Y b = aX + b; wherein the programmable logic controller of the C programming mode b to achieve a linear equation by the parameter and the parameter Y = aX + b, to process and to achieve input output, the input amount of liquid or gas flow X, output control parameters; a first obtaining unit configured to obtain the desired flow of liquid or gas XI, according to the the linear equation Y = aX + b, and the obtained liquid or gas flow control parameters Y1 XI corresponding to the liquid or gas flow.
  4. 4. 一种流量控制装置,其特征在于,包括: 选取单元,用于获得预设的N组数据(Χΐ,Υΐ),(Χ2,Υ2)……(Χι,Υι)……(Χν,化),在第一区间(Xi,Χ2 )中选取Μ个数值:Xll,Χΐ2……Xlj……XlM XlM,或在第一区间(Yi,Y2 )中选取Μ个数值: Υιι,Υΐ2……Yij……YiM,其中j为自然数且2<j<M,Μ为自然数且Μ > 4; 第二获取单元,用于依据Xll,Χΐ2……Xlj……XlM或Υιι,Υΐ2……Ylj……YiM获取Μ组数据(Χιι,Υιι),(Χΐ2,Υΐ2)……化j,Yij)……化1«,¥11«),其中^'为自然数且2。 4. A flow control device comprising: selecting means, for obtaining a predetermined set of data N (Χΐ, Υΐ), (Χ2, Υ2) ...... (Χι, Υι) ...... (Χν, of ), selecting the first segment (Xi, X2) in the numerical Μ: Xll, Χΐ2 ...... Xlj ...... XlM XlM, or select the first segment (Yi, Y2) of the numerical Μ: Υιι, Υΐ2 ...... Yij ...... Yim, where j is a natural number and 2 <j <M, Μ a natural number and Μ> 4; a second acquisition unit configured according Xll, Χΐ2 ...... Xlj ...... XlM or Υιι, Υΐ2 ...... Ylj ...... YiM Get Μ set of data (Χιι, Υιι), (Χΐ2, Υΐ2) ...... of j, Yij) ...... of the 1 «, ¥ 11«), wherein ^ 'is a natural number and 2. '<1,1为自然数且1> 4; 第二方程获取单元,用于依据最小二乘法公式获得与M+2组数据(Χι,Υι),(Χη,Υη), (Χΐ2,Υΐ2)……(Xlj,Ylj)……化1«,¥11«),化,¥2)所对应的线性方程的参数曰1和参数131,其中, 最小二乘法公式中所述参数ai的计算公式为: '<1, 1 is a natural number and 1> 4; a second equation acquisition unit for acquiring the least square method according to the formula M + 2 sets of data (Χι, Υι), (Χη, Υη), (Χΐ2, Υΐ2) ... ... (Xlj, Ylj) ...... of 1 «,. 11 ¥«), Parameterlizing ¥ 2) linear equations corresponding to said parameters 131 and 1, wherein, in the formula least squares parameter ai is calculated :
    Figure CN103197692BC00041
    '最小二乘法公式中所述参数bi的计算公式为:句=F - X,其中,亥为M+2组数据组(Xi,Yi),(Xll,Yii),化2,Yu)……(Xij, Ylj)……(XlM,YlM),化,Υ2)中液体或气体流量X的平均值,否为Μ巧组数据化,Yi),(Xll,Υιι), (Χΐ2,Υΐ2)……(Xlj,Ylj)……(XlM,YlM),化,Y2)中控制参数Y的平均值,控制参数Y包括阀位开口度或变频累频率,依据所述参数ai和所述参数bi构建线性方程Y = aiX+bi,按在第一区间内获取线性方程的方法,分别在第二区间(X2,X3)……第k区间(Xk,XK+i)……第(N-1)区间(Xn-1,Xn )中获取线性方程Y=a2X+b2……Y = akX+bk……Y = aw-戍+bN-i,其中k为自然数且2<k< N-1,N为自然数且N > 4;其中,预设的N组数据(Xl,Yi),(X2,Y2)……(Xi,Yi)……(Xn,Yn)的获取过程包括:依据实际情况中液体或气体流量X与控制所述液体或气体流量X的控制参数Υ 的大小关系,获取Ν组数 'Least squares formula is calculated in the parameter bi is: sentence = F - X, wherein M + 2 is Hai-Group (Xi, Yi), (Xll, Yii), of 2, Yu) ...... (Xij, Ylj) ...... (XlM, YlM), of,) in liquid or gas flow X Υ2 average value, whether the data of the group of Μ Qiao, Yi), (Xll, Υιι), (Χΐ2, Υΐ2) ... ... (Xlj, Ylj) ...... (XlM, YlM), of, Y2) of the average value of the control parameter Y, Y control parameter includes a valve opening degree of the position or tired frequency conversion, according to the parameters of the parameters ai and bi Construction the linear equation Y = aiX + bi, acquired by the method of linear equations in the first section, respectively, (X2, X3) ...... k-th interval (Xk, XK + i) ...... of (N-1) in the second section interval (Xn-1, Xn) acquired in the linear equation Y = a2X + b2 ...... Y = akX + bk ...... Y = aw- Shu + bN-i, where k is a natural number and 2 <k <N-1, N is a natural number and N> 4; wherein the predetermined set of N data (Xl, Yi), (X2, Y2) ...... (Xi, Yi) ...... (Xn, Yn) of the acquisition process comprising: based on the actual situation in the liquid Υ the control parameter or control of the gas flow X and X a liquid or gas flow magnitude relation, obtaining the group number Ν 据(Xl,Yi),(Χ2,Υ2)……(Xi,Yi)……(Xn,化),其中i为自然数且2<i< N,N为自然数且N含4;依据实际情况中液体或气体流量X与控制所述液体或气体流量X的控制参数Y的关系,即在阀位开口度确定时,实际测量的液体或气体输出量与此时的阀位开口度的关系,在变频累频率确定时,实际测量液体或气体输出量及此时的变频累频率的关系; 第Ξ方程获取单元,用于获取所需的液体或气体流量X2,判定液体或气体流量X2所属的第k区间,依据所述第k区间得到线性方程Y = akX+bk;其中,采用可编程逻辑控制器PLC编程的方式由参数ai和参数bi实现线性方程Y = aiX+bi,并实现输入量至输出量的过程,输入量为液体或气体流量X2,输出量为控制参数;第Ξ获取单元,用于依据所述线性方程Y = akX +bk,获得与所述液体或气体流量X2对应的所述液体或气体流量的控制参数Y2。 According to (Xl, Yi), (Χ2, Υ2) ...... (Xi, Yi) ...... (Xn, based), where i is a natural number and 2 <i <N, N is a natural number and N containing 4; according to the actual situation liquid or gas flow control parameter X and the liquid or the gas flow controlling X Y of relationship, i.e. when the valve opening degree of the position determination, the amount of liquid or gas output at this time and the actually measured valve opening degree position relationships, in when determining the frequency conversion tired, liquid or gas actually measured output frequency and the frequency at this time is accumulated relationship; Ξ second equation acquisition unit for acquiring a desired liquid or gas flow X2, the determination of liquid or gas flow belongs X2 interval k, k obtained according to the section of the linear equation Y = akX + bk; wherein the programmable logic controller (PLC) programmed manner to achieve bi Y linear equations and parameters by the parameters ai = aiX + bi, and input to achieve output process, an amount of liquid or gas input flow X2, output control parameters; Ξ first obtaining unit, configured according to the linear equation Y = akX + bk, and the obtained liquid or gas flow rate corresponding to the X2 said control parameter Y2 liquid or gas flow.
  5. 5. -种流量控制系统,其特征在于,包括: 第一处理器,用于依据最小二乘法获得预设的N组数据(Χΐ,Υΐ),(Χ2,Υ2)……(Xi, Yi)……(Xn,化)所对应的线性方程的参数a和参数b,其中,所述预设的N组数据(Χι,Υι),(Χ2, Υ2)……(Xi,Yi)……(Xn,化)中X为液体或气体流量,Y为控制所述液体或气体流量X的控制参数,控制参数Y包括阀位开口度或变频累频率,其中i为自然数且2<i<N,N为自然数且N > 4, 其中,最小二乘法公式中所述参数a的计算公式为 5. - kind of flow control system, characterized by comprising: a first processor, based on a set of N data (Χΐ, Υΐ) least squares method to obtain a predetermined, (Χ2, Υ2) ...... (Xi, Yi) ...... (Xn, of) a parameter and the parameter b corresponding to the linear equation, wherein the predetermined set of N data (Χι, Υι), (Χ2, Υ2) ...... (Xi, Yi) ...... ( xn, of) wherein X is a liquid or gas flow, Y control of the liquid or the control parameters of the gas flow X, the control parameter Y includes a valve position opening degree or frequency tired frequency, where i is a natural number and 2 <i <N, N is a natural number and N> 4, wherein the least squares formula in the formula is a parameter
    Figure CN103197692BC00051
    最小二乘法公式中所述参数b的计算公式为:&二不-应,其中,交为N组数据(Xi,Yi),(X2,Y2)......(Xi, Yi)……(Xn,Yn)中液体或气体流量X的平均值,Ϋ为N组数据(Xi,Yi),(X2,Υ2)……(Xi, Yi)……(Xn,Yn)中控制参数Υ的平均值;其中,预设的N组数据(Xi,Yi),(X2,Υ2)……(Xi, Yi)……(Xn,化)的获取过程包括:依据实际情况中液体或气体流量X与控制所述液体或气体流量X的控制参数Y的大小关系,获取N组数据(Xi,Yi),(拉,Y2)……(Xi,Yi)……(Xn,化),其中i为自然数且2<i<N,N为自然数且N ^ 4;依据实际情况中液体或气体流量X与控制所述液体或气体流量X的控制参数Y的关系,即在阀位开口度确定时,实际测量的液体或气体输出量与此时的阀位开口度的关系,或者,在变频累频率确定时,实际测量的液体或气体输出量与此时的变频累频率的关系; 第一 Equation Least Squares parameter b in the formula is: & no two - should, wherein the cross-N groups of data (Xi, Yi), (X2, Y2) ...... (Xi, Yi) ... ... (Xn, Yn) of a liquid or a gas flow rate of an average value X, Ϋ N groups of data (Xi, Yi), (X2, Υ2) ...... (Xi, Yi) ...... (Xn, Yn) control parameters Υ the average value; wherein the predetermined set of N data (Xi, Yi), (X2, Υ2) ...... (Xi, Yi) ...... (Xn, of) the acquisition process comprising: based on the actual situation in a liquid or gas flow controlling the control parameter X and a liquid or gas flow magnitude relationship of X Y acquired N sets of data (Xi, Yi), (pull, Y2) ...... (Xi, Yi) ...... (Xn, based), where i when, i.e., determining at position valve opening degree based on the actual situation in the control parameters of liquid or gas flow X and control the fluid or gas flow X, Y relationship; is a natural number and 2 <i <N, N is a natural number and N ^ 4 , liquid or gas output actually measured the relationship between the opening degree of the valve position at that time, or, at an inverter frequency determination tired, liquid or gas and the actually measured output frequency at that time accumulated frequency relation; first 制器,用于由所述参数a和所述参数b构建线性方程Y = aX+b,获取所需的液体或气体流量XI,依据所述线性方程Y = aX+b,获得与所述液体或气体流量XI对应的所述液体或气体流量的控制参数Y1;其中,采用可编程逻辑控制器化C编程的方式由参数a和参数b实现线性方程Y = aX+b,并实现输入量至输出量的过程,输入量为液体或气体流量XI,输出量为控制参数;第一待控设备,用于与所述第一控制器相连,接收所述液体或气体流量的控制参数Y1,并依据所述控制参数Y1执行相应操作。 System is configured by the parameter and the parameter constructing a linear equation Y b = aX + b, to obtain the required flow of liquid or gas XI, according to the linear equation Y = aX + b, obtained with the liquid XI or a gas flow rate corresponding to the control parameters Y1 liquid or gas flow rate; wherein the programmable logic controller of the C programming mode b to achieve a linear equation by the parameter and the parameter Y = aX + b, and input to achieve output process, an amount of liquid or gas input flow XI, output control parameters; a first device to be controlled, for connection to the first controller, receiving the control parameter Y1 liquid or gas flow, and according to the control parameters Y1 perform a corresponding operation.
  6. 6. -种流量控制系统,其特征在于,包括: 第二处理器,用于获得预设的N组数据(Χι,Υι),(Χ2,Υ2)……(Χι,Υι)……(Xn,化),在第一区间(Xi,X2)中选取Μ个数值:Xn,Xi2……Xij……XiM或在第一区间(Yi,Υ2)中选取Μ个数值: Υη,Υΐ2……Yij……YiM,其中j为自然数且2<j<M,M为自然数且M>4,依据Xii,Xi2……Xij…… XlM 或Υΐ1,Υΐ2……Ylj……YlM 获取Μ 组数据(Χΐ1,Υΐ1),(Χΐ2,Υΐ2)......(Xljjlj)......(ΧίΜ,ΥΐΜ),其中j为自然数且2< j<M,M为自然数且Μ > 4,依据最小二乘法公式获得与Μ+2组数据(Xi,Yi), (Χιι,Υιι),(Χΐ2,Υΐ2)……(Xij,Yij)……(ΧίΜ,ΥΐΜ),(拉,Υ2)所对应的线性方程的参数ai和参数bi,其中,最小二乘法公式中所述参数ai的计算公式为: 6. - kind of flow control system, characterized by comprising: a second processor for obtaining a predetermined set of data N (Χι, Υι), (Χ2, Υ2) ...... (Χι, Υι) ...... (Xn , based), a first selecting section (Xi, X2) in the numerical Μ: Xn, Xi2 ...... Xij ...... XiM or select the first segment (Yi, Υ2) the numerical Μ: Υη, Υΐ2 ...... Yij ...... YiM, where j is a natural number and 2 <j <M, M is a natural number and M> 4, based Xii, Xi2 ...... Xij ...... XlM or Υΐ1, Υΐ2 ...... Ylj ...... YlM group of data acquired Μ (Χΐ1, Υΐ1), (Χΐ2, Υΐ2) ...... (Xljjlj) ...... (ΧίΜ, ΥΐΜ), where j is a natural number and 2 <j <M, M is a natural number and Μ> 4, based on the minimum obtain two multiplication formula Μ + 2 sets of data (Xi, Yi), (Χιι, Υιι), (Χΐ2, Υΐ2) ...... (Xij, Yij) ...... (ΧίΜ, ΥΐΜ), (pull, Υ2) corresponding parameters ai and bi parameters of linear equations, wherein in the formula least squares parameter ai is calculated:
    Figure CN103197692BC00052
    ,最小二乘法公式中所述参数bi的计算公式为:旬=Τ-抹,J,其中,交为M+2组数据组(Χι,Υι),(Χιι,Υιι),(Χΐ2,Υΐ 2)……(Xij, Ylj)……(XlM,YlM),(X2,Y2)中液体或气体流量X的平均值,Ϋ为M+2组数据(Xl,Yl),(Xll, Υΐΐ),(Χΐ2,Υΐ2)……化j,Ylj)……(XlM,YlM),(X2,Y2)中控制参数Y的平均值,控制参数Y包括阀位开口度或变频累频率,依据所述参数ai和所述参数bi构建线性方程Y = aiX+bi,按在第一区间内获取线性方程的方法,分别在第二区间(拉,X3)……第k区间(Xk,化+1)……第(N-1) 区间(Xn-1,Xn )中获取线性方程Y = a2X+b2……Y=akX+bk……Y=βν-ιΧ+6ν-ι,其中k为自然数且2<k<Nl,N为自然数且N > 4;其中,预设的N组数据(Xi,Yi),(拉,Y2)……化,Yi)……(Xn,Yn) 的获取过程包括:依据实际情况中液体或气体流量X与控制所述液体或气体流量X的控制参数Y的大 The calculation formula of bi least square method in the equation is a parameter: = Τ- late wipe, J, where M + 2 is a cross-Group (Χι, Υι), (Χιι, Υιι), (Χΐ2, Υΐ 2 ) ...... (Xij, Ylj) ...... (XlM, YlM), (X2, Y2) of the liquid or gas flow average value of X, Ϋ M + 2 is a group of data (Xl, Yl), (Xll, Υΐΐ), ) the average value of the control parameter Y (Χΐ2, Υΐ2) ...... of j, Ylj) ...... (XlM, YlM), (X2, Y2, the control parameter Y includes a valve opening degree of the position or tired frequency conversion, according to the parameter Construction of the parameters ai and bi linear equation Y = aiX + bi, acquired by the method of linear equations in the first section, second section respectively (pull, X3) ...... k-th interval (Xk is, of + 1) ... ... of (N-1) section (Xn-1, Xn) acquired in the linear equation Y = a2X + b2 ...... Y = akX + bk ...... Y = βν-ιΧ + 6ν-ι, where k is a natural number and 2 < k <Nl, N is a natural number and N> 4; wherein the predetermined set of N data (Xi, Yi), (pull, Y2) of ......, Yi) ...... (Xn, Yn) of the acquisition process comprises: based on X practical situations controlling liquid or gas flow X and the liquid or gas flow control large parameter Y 关系,获取N组数据(Xi,Yi),促,Y2)……(Xi,Yi)……(Xn,化),其中i为自然数且2< i<N,N为自然数且N含4;依据实际情况中液体或气体流量X与控制所述液体或气体流量X的控制参数Y的关系,即在阀位开口度确定时,实际测量的液体或气体输出量与此时的阀位开口度的关系,在变频累频率确定时,实际测量的液体或气体输出量及此时的变频累频率的关系; 第二控制器,用于获取所需的液体或气体流量X2,判定液体或气体流量X2所属的第k区间,依据所述第k区间得到线性方程Y = akX+bk,依据所述线性方程Y = akX+bk,获得与所述液体或气体流量X2对应的所述液体或气体流量的控制参数Y2;其中,采用可编程逻辑控制器PLC编程的方式由参数ai和参数bi实现线性方程Y = aiX+bi,并实现输入量至输出量的过程, 输入量为液体或气体流量X2,输出量为控制参数;第二待控设备, Relationships, acquired N sets of data (Xi, Yi), promote, Y2) ...... (Xi, Yi) ...... (Xn, based), where i is a natural number and 2 <i <N, N is a natural number and N containing 4; actual control parameters based on liquid or gas flow control of the liquid X and X or Y of gas flow relationship, i.e. when the valve opening degree of the position determination, the amount of liquid or gas output at this time is actually measured and the opening degree of the valve position relationship, at an inverter frequency tired determined, the actual measurement of liquid or gas and the output frequency at that time accumulated frequency relationship; a second controller configured to obtain desired liquid or gas flow X2, liquid or gas flow is determined X2 belongs to the k-th interval to obtain interval k according to the first linear equation Y = akX + bk, according to the linear equation Y = akX + bk, to obtain a liquid or a gas flow rate of the liquid or gas flow rate corresponding to X2 Y2 control parameter; wherein the programmable logic controller (PLC) programmed manner to achieve bi Y linear equations and parameters by the parameters ai = aiX + bi, and implement input to the output process, an amount of liquid or gas input flow X2 , an amount of output control parameter; the second device to be controlled, 于与所述第二控制器相连,接收所述液体或气体流量的控制参数Y2,并依据所述控制参数Y2执行相应操作。 And the second controller coupled to receive the control parameter Y2 liquid or gas flow, according to the control parameter Y2 and perform a corresponding operation.
  7. 7. 如权利要求5或6所述的系统,其特征在于,所述第一处理器或所述第二处理器为: 运行Mat 1 ab程序的计算机。 7. The system of claim 5 or claim 6, wherein said first processor or said second processor: Mat 1 ab computer running the program.
  8. 8. 如权利要求5或6所述的系统,其特征在于,所述第一待控设备或所述第二待控设备包括: 变频累或阀位控制器。 8. The system of claim 5 or claim 6, wherein said first or said second device to be controlled to be control device comprising: a valve controller or inverter tired.
CN 201310125813 2013-04-12 2013-04-12 A flow control method, apparatus and system for CN103197692B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201310125813 CN103197692B (en) 2013-04-12 2013-04-12 A flow control method, apparatus and system for

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201310125813 CN103197692B (en) 2013-04-12 2013-04-12 A flow control method, apparatus and system for

Publications (2)

Publication Number Publication Date
CN103197692A true CN103197692A (en) 2013-07-10
CN103197692B true CN103197692B (en) 2016-04-06

Family

ID=48720355

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201310125813 CN103197692B (en) 2013-04-12 2013-04-12 A flow control method, apparatus and system for

Country Status (1)

Country Link
CN (1) CN103197692B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3875955A (en) * 1974-01-10 1975-04-08 Process Systems Digital fluid flow rate measurement or control system
CN1862423A (en) * 2005-04-19 2006-11-15 通用汽车环球科技运作公司 Application of linear splines to internal combustion engine control
CN101105687A (en) * 2007-08-03 2008-01-16 西北工业大学 Design method for control system
CN101201365A (en) * 2007-07-13 2008-06-18 北京工业大学 System and method for measuring and analyzing voltage frequency
CN101661620A (en) * 2009-09-18 2010-03-03 北京航空航天大学 Camera response curve calibration method based on single image
CN101770445A (en) * 2008-12-31 2010-07-07 上海申瑞电力科技股份有限公司 Multiple linear regression calculating method of reactive compensation capacity of substation
CN102279163A (en) * 2011-07-06 2011-12-14 湖南利尔康生物有限公司 Vitro method of assessing the quality of the liquid feed enzyme
CN102564661A (en) * 2011-12-27 2012-07-11 北京工业大学 Computer calculation method for maximum stress and stress gradient of surface of titanium alloy
CN102915406A (en) * 2012-10-26 2013-02-06 中国石油大学(华东) Calculation method for relative permeability curve of oil and water in radial flow condition

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3875955A (en) * 1974-01-10 1975-04-08 Process Systems Digital fluid flow rate measurement or control system
CN1862423A (en) * 2005-04-19 2006-11-15 通用汽车环球科技运作公司 Application of linear splines to internal combustion engine control
CN101201365A (en) * 2007-07-13 2008-06-18 北京工业大学 System and method for measuring and analyzing voltage frequency
CN101105687A (en) * 2007-08-03 2008-01-16 西北工业大学 Design method for control system
CN101770445A (en) * 2008-12-31 2010-07-07 上海申瑞电力科技股份有限公司 Multiple linear regression calculating method of reactive compensation capacity of substation
CN101661620A (en) * 2009-09-18 2010-03-03 北京航空航天大学 Camera response curve calibration method based on single image
CN102279163A (en) * 2011-07-06 2011-12-14 湖南利尔康生物有限公司 Vitro method of assessing the quality of the liquid feed enzyme
CN102564661A (en) * 2011-12-27 2012-07-11 北京工业大学 Computer calculation method for maximum stress and stress gradient of surface of titanium alloy
CN102915406A (en) * 2012-10-26 2013-02-06 中国石油大学(华东) Calculation method for relative permeability curve of oil and water in radial flow condition

Also Published As

Publication number Publication date Type
CN103197692A (en) 2013-07-10 application

Similar Documents

Publication Publication Date Title
Janocha et al. Real-time compensation of hysteresis and creep in piezoelectric actuators
Kiviet et al. Stochasticity of metabolism and growth at the single-cell level
Tian et al. High-order consensus of heterogeneous multi-agent systems with unknown communication delays
Witrant et al. A control-oriented model of the current profile in tokamak plasma
Judd et al. Asymptotic methods for aggregate growth models
Yang et al. Network-based feedback control for systems with mixed delays based on quantization and dropout compensation
Camacho et al. Some long time delay sliding mode control approaches
Ruszkowski et al. Passivity based control of transport reaction systems
Al-Gherwi et al. A robust distributed model predictive control algorithm
Lamnii et al. Sextic spline solution of fifth-order boundary value problems
Shen et al. L∞-gain analysis for positive systems with distributed delays
Yu et al. Design of non-fragile state estimators for discrete time-delayed neural networks with parameter uncertainties
Trierweiler et al. RPN tuning strategy for model predictive control
Khasawneh et al. A spectral element approach for the stability of delay systems
Armaou et al. Finite-dimensional control of nonlinear parabolic PDE systems with time-dependent spatial domains using empirical eigenfunctions
Camacho et al. The best approaches in the on-line monitoring of batch processes based on PCA: Does the modelling structure matter?
De Caigny et al. Gain‐scheduled dynamic output feedback control for discrete‐time LPV systems
Panda Synthesis of PID tuning rule using the desired closed-loop response
CN101587328A (en) Device for identifying non-linear process dynamic model
Lee et al. Analytical method of PID controller design for parallel cascade control
Polyakov et al. Robust stabilization of MIMO systems in finite/fixed time
Venkatesh et al. Multiple feedback loops are key to a robust dynamic performance of tryptophan regulation in Escherichia coli
Keshavarz et al. Piecewise affine modeling and control of a boiler–turbine unit
Grossmann et al. ‘Cycle to cycle’optimizing control of simulated moving beds
Nikolaou et al. Linear control of nonlinear processes: recent developments and future directions

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C14 Grant of patent or utility model