應用 - 應用程序為ZAScontroller.exe。該程序從調度程序和其他參數中讀取每個控制器的I / O進程,.CON,.TUN參數和時間信息。并且為每個基于項目定義的控制器運行。應用的詳細執行如下。
應用級還包含數據庫訪問,消息處理,調度程序等。
Database access(訪問數據庫)提供了對實時數據庫讀/寫數據的功能。該數據庫是應用級、DCS和Exasmoc操作員站數據流的中樞。它包含了必要的DCS I/O,MV,DV,POV,CV,EF,壓實點,.CON&.TUN參數,消息等。該實時數據庫實際上屬于OPC服務器。
Message Processing(消息處理) - 由Shell /內核和應用級生成的操作和錯誤消息將發送到Exasmoc操作員站,以使操作員/工程師注意,并為他們確認并采取糾正措施。消息記錄在Exasmoc操作員站上。
Scheduler(調度程序) - 調度程序定期調用每個Exasmoc控制器,詳細描述在B3章節。在啟動前必須將每個Exasmoc控制器注冊到調度程序。
Trend Data Gathering(趨勢數據采集)- 應用程序可通過數據采集功能獲取歷史數據,且能夠通過OPC歷史數據服務器參考。
Shell - 此級別包含為內核輸入準備以及處理內核輸出以傳回應用級的例程。如下所述,Shell具有以下三個重要功能。
Execute Control(執行控制) - 處理應用和內核之間的數據傳輸。為Kernel準備內核輸入參數。
MV Check (檢查MV) -檢查操作變量以確定MV是否可用于接收設定值,并檢查MV設定值是否等于預期值。它也可以根據MV硬約束以及閥位限制來計算有效的MV限制。
QMI Check(QMI檢查)- POV和DV的測量值可以通過采樣保持型QMI來提供,該類型在給定的時間間隔更新測量值。然而,Exasmoc可能會在更短的時間間隔運行,并且需要知道每個步驟的QMI值是否是最新的。如果Exasmoc執行時沒有給定新值可用,則Exasmoc控制器將根據其對POV的內部預測繼續操作。
**Kernel **—用于控制優化和觀察的實際核心算法位于此級別。它還具有這些算法的I / O(去/來自Shell)處理功能。
原文:
**Application **- The Application program called as ZAScontroller.exe. This program reads every controller’s process I/O, .CON, .TUN parameters, and timing information from the scheduler and other parameters. Eventually it runs for each controller defined by project base. Application program’s execution is detailed below.
Application level also contains Database access, Message Processing, Scheduler, etc.
Database access provides function to read/write data on Real Time database, which is a Hub for data flow to and from Application level, DCS and Exasmoc operator station. It contains necessary DCS I/O, MV, DV, POV, CV, EF,Compaction Points, .CON & .TUN parameters, messages, etc. This Real Time database actually belongs to OPC server.
Message Processing - Operation and error messages generated by Shell/Kernel and Application level are sent to Exasmoc operator station for operator/engineer attention and for them to acknowledge and take corrective actions. Messages are logged on Exasmoc operator station.
Scheduler- A scheduler calls every Exasmoc controllers periodically, described in details in chapter B3. It is necessary to register every Exasmoc controller to the scheduler before starting.
Trend Data Gathering - Acquired data on data acquiring function is maintained as historical data and application program is able to refer to them via OPC Historical Data server.
Shell -This level contains the routine to prepare the input for the kernel and to process the output from the kernel to be passed back to the Application level. Shell has following three important functions described below.
Execute Control - handles the data transfer between the application program and the kernel. Prepare the formal input parameters for the Kernel.
MV Check- Manipulated Variable Check determines whether the MVs are available to receive setpoint value and checks whether the MV setpoint is equal to the expected value. It also calculates the active MV limits from the more limiting of the hard MV limits, and the approach to valve position limits.
QMI Check- The measured values of POVs and DVs can be provided by a sample hold type QMI which updates its measurement at some given time interval. However Exasmoc may well be running at a shorter time interval and needs to know at each step whether or not the QMI value is up to date. If no new value is available at a given Exasmoc execution the Exasmoc controller will continue operation based on its internal prediction of the POV.
**Kernel **—The actual core algorithms for control optimize and observer resides at this level. It also has I/O (to/from Shell) processing function for these algorithms.
2017.3.30