仿真
我們考慮了4個具有不同Impulse Factors(脈沖因子)的仿真情景。該過程的操作條件如下:
? 容器液位初始值在其設(shè)定值50(Setrange High設(shè)定高限 = Setrange Low設(shè)定低限= 50)余素。
? MV初始值也為50豹休,最大值為100,最小值為0桨吊,最大動作幅度為2威根。
? Inlet Flow 進(jìn)料流量(DV)起始于操作點0。
? 為了生成可重復(fù)測量噪聲视乐,我們設(shè)定“Measurement_Noise” DV的“Noise Seed = 1”和“Noise std dev = 1.0”洛搀。為了由SMOCPro將這一測量量實現(xiàn)為真實不可見噪聲,我們需要將“Measurement_Noise” DV的“Disconnected(斷開連接)”標(biāo)簽設(shè)定為“True”佑淀。
控制器在Standby (掛起)模式下開始留美,并在第5步時切換到control(控制)。在第30步時我們給inlet flow(進(jìn)料流量)引入一10個單位的斜坡干擾伸刃,在第80步時我們將inlet flow(進(jìn)料流量)設(shè)定回初始值谎砾。在第140步時我們將液位設(shè)定值由50下調(diào)到40(Setrange Low設(shè)定低限 = Setrange High 設(shè)定高限= 40)。
我們運行199步仿真捧颅,并觀察SMOCPro計算的將儲罐液位帶回設(shè)定點的動作計劃棺榔。所考慮的4個仿真場景除了液位POV的Impulse Factors(脈沖因子)不同,其余條件都相同隘道。其值分別為0,0.5,0.9和0.99症歇。
上圖顯示了具有4個不同液位POV Impulse Factors(脈沖因子)的仿真情景運行結(jié)果√饭#可以明顯地看出不同的Impulse Factors(脈沖因子)將影響控制器性能忘晤。在所有附圖中,我們可以看到頂部是傳感器噪聲(綠色)激捏,往下是可測量干擾(紫色)设塔,再往下是藍(lán)色的MV,最下面是紅色的CV远舅。需要強調(diào)的三個重要方面是:
? 左上象限為脈沖因子設(shè)定為0時的仿真結(jié)果闰蛔。如指南文件中所討論的一樣痕钢,這種情況將導(dǎo)致SMOCPro突出所有的不可測干擾,因此斜坡CV將把所有的不可測干擾整合進(jìn)未來序六。最終的結(jié)果是任连,由于移動目標(biāo)計算的緣故,SMOCPro層面將過度計算MV動作例诀。這可以通過藍(lán)色虛線所示的MV目標(biāo)值的快速變化看出随抠。
? 提高脈沖因子將使得MV動作更為平滑,但可能導(dǎo)致對一個“真正的”擾動存在響應(yīng)遲緩繁涂。
? 最后拱她,由于脈沖因子的“指數(shù)”性質(zhì),從圖的下半部分可以看出扔罪,IP=0.9和IP=0.99有明顯的不同秉沼。請注意藍(lán)色的MV目標(biāo)值在IP=0.99時是穩(wěn)定的,但在IP=0.9時依然有略微鋸齒狀矿酵。
原文:
***Simulation ***
We consider four simulation scenarios with different Impulse Factors. The operating conditions for the process are the following:
? Initially the level in the vessel is at its setpoint of 50 (Setrange High = Setrange Low = 50).
? The MV also starts at 50 with a Maximum value of 100, Minimum value of 0 and Maximum Move Size of 2.
? The Inlet Flow (DV) starts at an operating point of 0.
? To generate repeatable measurement noise we set “Noise Seed = 1” and “Noise std dev = 1.0” for the “Measurement_Noise” DV. To implement this measurement as a true unseen noise by SMOCPro we must set the “Disconnected” flag for the “Measurement_Noise” DV to “True.”
The controller starts off in Standby mode and is switched to control at step 5. At step 30 we introduce a ramp disturbance of 10 units into the inlet flow and at step 80 we bring back the Inlet Flow to its starting point. At step 140 we lower the setpoint in the level from 50 to 40 (Setrange Low = Setrange High = 40).
We run the simulation for 199 steps and observe the planned moves that SMOCPro calculates to bring the vessel level back to setpoint. The four simulation scenarios under consideration are all identical with the only difference being the different Impulse Factors on the Level POV. These values are: 0, 0.5, 0.9 and 0.99.
The figure above shows the results of running the simulation scenario with the four different Impulse Factors for the Level POV. It is clearly seen that having different Impulse Factors affects the performance of the controller. On all figures, we see the sensor noise (green) at the top, followed by the measured disturbance (purple), the MV is shown next in blue and the CV is shown at the bottom in red. Three important aspects that should be highlighted are:
? The top left quadrant shows the simulation results of setting the impulse factor of 0. As discussed in the guidelines document, this case results in SMOCPro projecting any unmeasured disturbance so that the ramp CV will assume that the unmeasured disturbance must be integrated wholly into the future. The end result is that for the case with levels SMOCPro calculates excessive MV movement due to moving target calculations. This can be seen by the quickly changing MV targets depicted by the dashed blue lines.
? Increasing impulse factor smoothes out MV movement but may result in sluggish response in the presence of a “real” disturbance.
? Lastly, due to the “exponential” nature of the impulse factor, there is a non-trivial difference between IP=0.9 and IP=0.99 as can be seen in the bottom half of the figure. Notice how the target values for the MV in blue are steady in the 0.99 case but still are slightly jagged for the 0.9 case.
2016.5.21