03第三章 Delta V控制模块
- 格式:ppt
- 大小:2.07 MB
- 文档页数:48


PID功能块此主题包括PID功能块将所有必要的逻辑联合起来,以实现模拟量输入通道处理,为非线性控制(包含平方误差和锯齿增益)的比例-积分-微分(PID)控制,还有模拟量输出通道处理。
PID功能块支持模式控制,信号缩放和限制,前馈控制,超驰跟踪,报警检测,还有信号状态传播。
您可以使能仿真来支持测试。
这允许测量值和状态以手动或另一个功能块经由SIMULATE_IN输入来提供。
串级(Cas)模式下,设定值(SP)由主控制器调整。
自动(Auto)模式下,SP可以由操作员调整。
在这两种模式下,输出是由标准或者级数PID方程形式来计算的。
手动(Man)模式下,功能块输出由操作员设置。
PID功能块也有两种远程模式,远程串级和远程输出。
这些模式和串级还有手动模式相似,只是SP和OUT由远程监督程序提供。
PID功能块可以直接连接到过程I/O(在DeltaV里面,不过不适合现场总线设备)。
它也可以通过IN和OUT参数连接到其它功能块来实现串级或其它复杂控制策略。
把BKCAL_IN和下游功能块的BKCAL_OUT连接起来可以防止积分饱和并提供无扰动传递。
连接跟踪输入(TRK_VAL)来实现外部控制输出跟踪。
PID功能块BKCAL_IN是来自下游功能块的BKCAL_OUT作为一个功能块无扰动传递的输出的值和状态。
如果PID在串级里是另一个控制器的主回路,这个连接很重要。
没有这个连接,副回路控制器不转换到CAS并且主PID不会激活。
CAS_IN是来自另一个功能块的远程SP值。
FF_VAL是前馈控制输入值和状态。
IN是到来自另一个功能块过程变量(PV)的连接。
SIMULATE_IN是功能块用来在仿真使能时替代模拟测量值的输入值和状态。
TRK_IN_D初始化外部跟踪功能。
TRK_VAL是缩放后应用到OUT的值。
BKCAL_OUT是送到上游功能块来防止积分饱和,提供闭环控制无扰动传递的值和状态。
OUT是功能块输出的值和状态。
原理图-PID功能块下图显示了PID功能块的内部结构。
设置DeltaV控制网络DeltaV控制网络中提供了DeltaV控制网络的总览。
标准控制网络是单独的以太局域网络(LAN),能为控制器和工作站之间提供通讯。
它使用一个或多个以太网集线器或交换机进行通讯连接。
控制网络专门用于DeltaV系统,不能连接其它设备。
单独的以太网接口通过DeltaV应用站或ProfessionalPLUS站将DeltaV系统连接到工厂LAN。
要将工厂LAN的通讯量减到最小,请组态路由器以过滤IP地址。
请查阅DeltaV在线文档(BOL)以获得组态路由器的更多信息。
请查阅获取帮助以获得访问DeltaV在线参考的相关信息。
本节提供了基本集线器安装的例子,并包括指定电缆信息以及安装控制网络的要求。
请查阅附录G以获得集线器和交换机安装的详细要求以及电缆规格。
附录G提供了电缆屏蔽定位的详细信息,并且包括一些图表,显示了以级联和星形拓扑连接的交换机、光纤和双绞线电缆连接以及交换机组态。
要设置控制网络,请在节点(控制器和工作站)之间安装集线器并连接网络通讯电缆。
集线器可以是独立的或连接到其它集线器上。
每个集线器都相当于一个单独的IEEE 802.3转发器(一个跳点)。
允许的跳点数和跳点之间的最大距离取决于集线器类型和连接为10兆位还是100兆位。
10兆位连接允许四个跳点,100兆位连接允许两个跳点。
如果您的DeltaV系统只包括一个工作站和一个控制器,可以不使用集线器连接DeltaV网络。
电缆必须从工作站直接连接到控制器上。
图 2-21所示为没有集线器的系统的例子。
图2-21 没有集线器的系统举例注意无集线器电缆,也叫做交叉电缆,用于没有控制网络集线器的系统。
其布线与DeltaV控制网络集线器使用的直通以太网电缆不同。
控制网络安装要求控制网络的安装人员必须保证满足下列要求:∙所有5类双绞线(TP)和光纤电缆都必须由有相关经验的LAN安装人员制作、安装和测试。
∙DeltaV系统在控制网络上最多可以有4个中继器跳点(最多可以有四个集线器连接在一起)。
逻辑与(AND)功能块此主题包括逻辑与(AND)功能块根据二到十六个离散输入的逻辑与(AND)关系生成一个离散输出值。
功能块支持信号状态传播。
逻辑与功能块里没有模式或者报警检测。
逻辑与(AND)功能块IN_D1 到IN_D[n]是离散输入值和状态(多达16个输入)。
OUT_D是离散输出值和状态。
原理图-逻辑与功能块下图显示了逻辑与功能块的内部结构逻辑与功能块原理图功能块执行-逻辑与功能块逻辑与功能块的输入数是个可扩展参数。
功能块缺省有两个输入。
您可以选择功能块原理图,右击并选择扩展参数(Extensible Parameters),然后修改输入的数量。
这为功能块创建额外的输入连接器。
逻辑与功能块检查您定义的输入,并应用逻辑与到输入中。
当所有的输入是真(1),输出为真。
当一个或多个输入为假(0),输出为假。
状态处理-逻辑与功能块输出状态设为所选输入的最坏状态,除非至少一个输入是假并且其状态为非坏,输出状态设为GoodNonCascade。
参数-逻辑与功能块下表列出了逻辑与功能块的系统参数:逻辑与功能块系统参数注意参数的缺省值和数据类型信息可以通过展开参数视图来获得。
应用信息-逻辑与功能块逻辑与功能块用于确定是否所有的离散输入都为真。
您可以使用逻辑与功能块在一个或者多个紧急停止条件满足时紧急停止一个过程。
您也可以在联锁条件里使用逻辑与功能块,保证只有在进料阀打开并且储罐的液位在最小值之上时泵运行。
阀和液位变送器值可以作为逻辑与功能块的输入。
只有在两个条件都满足时,逻辑与功能块才会发送一个信号来启动泵。
结果信号将送到离散输出功能块作额外处理,像下面的例子一样。
逻辑与功能块应用举例逻辑或(Or)功能块此主题包括逻辑或(Or)功能块根据二到十六个离散输入的逻辑或关系生成一个离散输出值。
当一个或多个输入值为真(1)的时候,输出设为真。
功能块支持信号状态传播。
逻辑或功能块没有模式或者报警检测。
逻辑或(Or)功能块IN_D1到IN_D[n]是离散输入值和状态(多达16个输入)。
………………………………………………………………… ENGLISH …………………………………………………………………Thank you for choosing the Delta DVP series PLC. Four channels on DVP04DA-H3 are able to receive four pieces of 16-bit digital data from a CPU module, and convert them into analog signals (voltages or currents). Users can read data from the module or write data into the module by means of the instruction FROM/TO in a DVP-EH2 series PLC. There are 49 control registers in the module, and they are 16-bit registers. Whether the output signals are voltage outputs or current outputs depends on the wiring. The voltage output range is ±10VDC. (The resolution is 312.5μV.) The current output range is 0~20 mA. (The resolution is 0.625μA).a Please read this instruction sheet carefully before using the product.a Switch off the power supply before wiring. Please do not touch the internal circuit untilthe power supply has been switched off for one minute.a DVP04DA-H3 is an OPEN-TYPE device. It should be installed in a control cabinetfree of airborne dust, humidity, electric shock and vibration. To prevent thenon-maintenance staff from operating the product, or to prevent an accident from damaging the product, the control cabinet should be equipped with a safeguard. For example, the control cabinet is unlocked with a special tool or key.a DO NOT connect the input AC power supply to any of I/O terminals; otherwiseserious damage may occur. Check all the wiring again before switching on the power supply. Do NOT touch any terminals when the power supply is switched on.a Make sure that the ground terminal is correctly grounded in order to preventelectromagnetic interference.Product Profile & DimensionsUnit: mm1. Groove (35 mm) 6.Terminals2. Connector 7.Mounting hole3. Model name 8.Arrangement of I/O terminals4. POWER, ERROR, and D/A LED indicators9.Connector5. Mounting holeI/O Terminal LayoutExternal Wiringa reIt is*1. Please isolate the analog output from other power cables.*2. If the ripple is large for the input terminal of the load and results in the noise interference with the wiring, please connect the module to the capacitor having a capacitance within the range between 0.1μF and 0.47μF with a working voltage of 25V.*3. Please connect the terminal on a CPU module and the terminal on DVP04DA-H3 toa system ground, and then ground the system ground, or connect it to a distribution box.SpecificationsDigital-to-analog module Voltage output Current outputSupply voltage 24VDC (20.4VDC~28.8VDC) (-15%~+20%)Number of channels 4 channelsAnalog output range -10V~+10V 0~20mA Digital data range -32,000~+32,000 0~32,000 Resolution 16 bits (312.5μV) 15 bits (0.625μA)Input impedance 0.5 Ω or belowOverall accuracy 25°C/77°F: ±0.5% of the input within the range0~55°C/32~131°F: ±1% of the input within the rangeResponse time 1msMaximum outputcurrent10mA -Permissible loadimpedance-0~500ΩData format Two’s complement (16-bit data)Isolation The internal circuit is isolated from the analog outputs by an optocoupler, and the analog channels are not isolated from one another.Protection The voltage output is equipped with the short circuit protection. However, users must notice that a long-term short circuit will damage the internal circuit. The current output can be an open circuit.Digital-to-analog module Voltage output Current outputCommunication mode (RS-485) ASCII/RTU modeCommunication speed: 4,800/9,600/19,200/38,400/57,600/115,200 bpsASCII data: 7-bit, even bit, 1 stop bit (7, E, 1)RTU data: 8-bit, even bit, 1 stop bit (8, E, 1)When DVP04DA-H3 is connected to a CPU module, the RS-485 communication can not be used.Connection with a DVP-PLC CPU The modules are numbered according to their distances from the CPU module. The numbers start from 0 to 7. Eight modules at most can be connected, and they do not occupy digital inputs/outputs.Other SpecificationsPower specificationsRated maximum power consumption 24VDC (20.4VDC~28.8VDC) (-15% ~ +20%); 4.5W An external power supply supplies the DC voltage.Environment specificationsOperation/Storage Operation: 0°C~55°C (temperature); 50~95% (humidity); pollution degree 2Storage: -25°C~ 70°C (temperature), 5~95% (humidity)Vibration/Shock resistance International standards IEC 61131-2, IEC 68-2-6 (TEST Fc)/IEC 61131-2 & IEC 68-2-27 (TEST Ea)Control RegisterCR# ParameteraddressAttribute Register name Description#0 H’5032 O R Model The model is defined by the system. The modelof DVP04DA-H3 is H’6408.Users can read the model from the register by means of the program.b15 ~ b12b11 ~ b8B7 ~ b4 b3 ~ b0 CH4 CH3 CH2 CH1#1 H’5033 O R/W Output modes Mode 0000: Voltage output (-10 V~+10V) Mode 0001: Voltage output (-5 V~+5 V) Mode 0010: Voltage output (1 V~+5 V) Mode 0011: Current output (4 mA~+20 mA) Mode 0100: Current output (0 mA~+20 mA) Mode 1111: The channel is disabled.CR#1: The value in the register represents the working modes of the four channels. If CH1 is in mode 0 (b3~b0=0000), CH2 is in mode 1 (b7~b4=0001), CH3 is in mode 2 (b11~b8=0010), and CH4 is in mode 3 (b15~b12=0011), the value in CR#1 is H’3210. The default value in the register is H’0000.#2 H’5038 X R/W Value sent by CH1#3 H’5039 X R/W Value sent by CH2#4 H’503A X R/W Value sent by CH3#5 H’503B X R/W Value sent byCH4Values sent by CH1~CH4 are stored in theseregisters.Range: K-32000~K32000Default: K0Unit: LSB#6 H’5044 O R/W Offset used for calibrating the signal sent by CH1#7 H’5045 O R/W Offset used for calibrating the signal sent by CH2#8 H’5046 O R/W Offset used for calibrating the signal sent by CH3#9 H’5047 O R/W Offset used forcalibrating thesignal sent byCH4Users can store the offsets in these registers.Default: K0Unit: LSB#12 H’504A O R/W Gain used for calibrating the signal sent by CH1#13 H’504B O R/W Gain used for calibrating the signal sent by CH2#14 H’504C O R/W Gain used for calibrating the signal sent by CH3#15 H’504D O R/W Gain used forcalibrating thesignal sent byCH4Users can store the gains in these registers.Default: K16,000Unit: LSB#30 H’5050 X R Errorstate The error state is stored in this register. Please refer to error message table below.#31 H’5051 O R/W CommunicationaddressThe RS-485 communication address is stored inthis register. The setting range is 01 ~ 254. Thedefault value is K1.#32 H’5052 O R/W CommunicationspeedCommunication speed:4,800/9,600/19,200/38,400/57,600/115,200 bpsASCII data: 7-bit, even bit, 1 stop bit (7, E, 1)RTU data: 8-bit, even bit, 1 stop bit (8, E, 1)Default: H’0002b0: 4,800 bps; b1: 9,600 bps (default)b2: 19,200 bps; b3: 38,400 bpsb4: 57,600 bps; b5: 115,200 bps (bits/second)b6~b13: Reservedb14: The high byte of the CRC checksum isinterchanged with the low byte of the CRCchecksum. (Only the RTU mode supportsthe interchange.)b15: Switch between the ASCII mode and theRTU mode (0: ASCII mode (default))b15 ~ b12b11~b9b8~b6 b5~b3 b2~b0Reserved CH4 CH3 CH2 CH1#33 H’5053 O R/W Restoring allthe settingvalues to thefactory settingThe default value is H’0000. Take CH1 forexample. If the value of b2 is 1, all the settingvalues are restored to the factory setting.#34 H’5054 O R FirmwareversionThe current version of the firmware isrepresented by a hexadecimal number. Forexample, if the current version of the firmware is1.0A, it is represented by H’010A.#35 ~ #48 For system use onlyThe definitions of the symbols:O indicates that the register is a latched register. (Data needs to be written into the register through the RS-485 communication.) X indicates that the register is a non-latched register. R indicates that the data can be read from the register by means of the instruction FROM or through the RS-485 communication.W indicates that the data can be written into the register by means of the instruction TO or through the RS-485 communication.Least significant bit (LSB): 1. Voltage output: 1LSB=10 V/32,000=0.3125 mV2. Current output: 1 LSB=20 mA/32,000=0.625 μA※ Error state tableError state Value b15 ~ b8 b7b6b5b4 b3 b2 b1 b0The power supply is abnormal. K1(H’1) 0000 0 0 0 1Hardware failure (GPIO) K2(H’2) 0000 0 0 1 0Offset/Gain error K8 (H’8) Reserved0000 1 0 0 0Note: Every error state depends on the value of a corresponding bit. There may more than two error states at the same time. If the value of a bit is 0, there is no error. If the value of a bit is 1, there is an error.CR#0~CR#34: Their corresponding parameter addresses are H’5032~H’5054. Users can read/write data through the RS-485 communication. When users use the RS-485 communication, they must separate the module from the CPU module.1. They support the communication speed 4,800/9,600/19,200/38,400/57,600/115,200bps.2. Users can use the Modbus ASCII/RTU mode.ASCII data: 7-bit, even bit, 1 stop bit (7, E, 1)RTU data: 8-bit, even bit, 1 stop bit (8, E, 1)3. Function code:H’03: Reading the data from the registerH’06: Writing the data into the registerH’10: Writing the data into several registers.4. If the register is a latched register, users need to write the data into the registerthrough the RS-485 communication. If users write the data into the latched register by means of the instruction TO/DTO, the data is not retained when there is power failure.Adjust Conversion CurveUsers can adjust the conversion curves according to the practical application by changing the offset values (stored in CR#6~CR#9) and the gain values (stored inCR#12~CR#15).Gain: The corresponding voltage/current input value when the digital output value = 16,000.Offset: The corresponding voltage/current input value when the digital output value = 0.y Equation for voltage output Mode0: 0.3125mV = 20V/64,000()()⎟⎠⎞⎜⎝⎛×⎥⎦⎤⎢⎣⎡+−×=32000)(1016000V Offset Offset Gain X V YY=Voltage output, X=Digital inputy Equation for current output Mode1: 0.625μA = 20mA/32,000()()⎟⎠⎞⎜⎝⎛×⎥⎦⎤⎢⎣⎡+−×=32000)(2016000mA Offset Offset Gain X mA YY=Current output, X=Digital inputy Equation for current output Mode2: 0.5μA = 16mA/32,000Adopt the equation of current output mode 1, substitute Gain for 19,200(12mA) andOffset for 6,400(4mA)()()⎟⎠⎞⎜⎝⎛×⎥⎦⎤⎢⎣⎡+−×=32000)(20640016000640019200mA X mA YY=Current output, X=Digital inputy Mode 0:y Mode 1:Mode 0 (CR#1) -10V~+10V; Gain=5V (16,000),Offset = 0V (0) Mode 1 (CR#1) -5V~+5V; Gain=2.5V (16,000),Offset = 0V (0) Range of digital values-32,000~+32,000y Mode 2:y Mode 3:Volt ag e ou tp utC urren t ou tp uty Mode 4:Mode 2 (CR#1) 1V~+5V; Gain=3V; Offset=1VMode 3 (CR#1) +4mA~+20mA; Gain=12mA (19,200); Offset=4mA (6,400) Mode 4 (CR#1) 0mA~+20mA; Gain=10mA (16,000); Offset=0V (0) Range of digital values 0~+32,000……………………………………………………………… 繁體中文 …………………………………………………………………………感謝您採用台達DVP系列產品。