170 likes | 326 Views
Industrial Automation Automation Industrielle Industrielle Automation. Device Management Protocols Protocoles de gestion des appareils Gerätezugangsprotokolle. The HART Protocol. 4. 4.1.1. Prof. Dr. H. Kirrmann. ABB Research Center, Baden, Switzerland. 2005 April HK. 4.1.1 Current Loop.
E N D
Industrial Automation Automation IndustrielleIndustrielle Automation Device Management ProtocolsProtocoles de gestion des appareilsGerätezugangsprotokolle The HART Protocol 4. 4.1.1 Prof. Dr. H. Kirrmann ABB Research Center, Baden, Switzerland 2005 April HK
4.1.1 Current Loop The classical solution for analog values
Field device: example differential pressure transducer 4..20 mA current loop fluid The device transmits its value by means of a current loop
4-20 mA loop - the conventional, analog standard (recall) The 4-20 mA is the most common analog transmission standard in industry sensor transducer reader reader reader voltagesource 10V..24V 1 2 3 i(t) = f(v) v R1 R2 R3 RL1 RL2 RL3 RL4 RL4 conductor resistance i(t) = 0, 4..20 mA The transducer limits the current to a value between 4 mA and 20 mA, proportional to the measured value, while 0 mA signals an error (wire break) The voltage drop along the cable and the number of readers induces no error. Simple devices are powered directly by the residual current (4mA) allowing to transmit signal and power through a single pair of wires.
4.1.2 HART Data over 4..20 mA loops
HART - Principle HART (Highway Addressable Remote Transducer) was developed by Fisher-Rosemount to retrofit 4-to-20mA current loop transducers with digital data communication. HART modulates the 4-20mA current with a low-level frequency-shift-keyed (FSK) sine-wave signal, without affecting the average analogue signal. HART uses low frequencies (1200Hz and 2200 Hz) to deal with poor cabling, its rate is 1200 Bd - but sufficient. HART uses Bell 202 modem technology, ADSL technology was not available in 1989, at the time HART was designed
Installation point-to-point multidrop universal hand-help terminal taken from: www.hartcomm.org
The Round card http://www.fint.no/ha-i4012.pdf The round card is a standardized printed circuit board that can be mounted in an instrument, containing the modem, a processor, RAM, EPROM and all the logic and software necessary to execute the HART protocol. It is round because most hydraulic instruments have a round case.
HART - Protocol Hart communicates point-to-point, under the control of a master, e.g. a hand-held device Master Slave command Indication Request time-out response Response Confirmation Hart frame format (character-oriented): preamble start address command bytecount [status] data data checksum 5..20(xFF) 1 1..5 1 1 [2](slave response) 0..25(recommended) 1
HART - Commands Universal commands (mandatory):identification (each manufactured device is identified by a 38-bit unique identifier),primary measured variable and unit (floating point format)loop current value (%) = same info as current loop read current and up to four predefined process variables write short polling addresssensor serial numberinstrument manufacturer, model, tag, serial number, descriptor, range limits, … Common practice (optional)time constants, range,EEPROM control, diagnostics,… total 44 standard commands Transducer-specific (user-defined)calibration data,trimming,…
HART - Importance Practically all 4..20mA devices come equipped with HART today About 15 Mio devices are installed worldwide. http://www.hartcomm.org/ more info: http://www.thehartbook.com/default.htm
Device Description Also known as Device Description Language (DDL) or eDDL (electronic Device Description Language), “electronic frontplate” (Elektronisches Typenschild, plaque électronique))
network adapter Device access device volumetric flow rate type FlowPro manufacturer ABB volumetric flow rate field device SCADA 3 cm2 cross sectional area: 2 cm pipe inside diameter velocity 13.32 m2/s diff. pressure 9.8 Pa density 0.8 kg/l hand-held device network modem adapter 4-20 mA loop for HART 13.32 9.8 0.8 transmission system (HART or field bus)
Device Description Language Device Description Language DDL allows a field device (slave) product developer to create a description of his instrument and all relevant characteristics, such that it can be represented in any host (master) device. The objective is common “look-and-feel”, independent of the hand-help or SCADA, similar to HTML for a web server. Why not use HTML ? special instructions needed ! (C-language is used)
Specifications DDL Source Language Specification DDL Binary Encoding Specification Device Description usage DDL Device Source Specification File DDL Compiler "tokenizer" DDL Binary binary file DDL Service Library Host Device A binary form of the source is stored in the hand-help device (not in the field device)
Assessment What is the purpose of the HART protocol ? Which communication is used between a hand-help and a field device ? Which categories of commands do exist ? What is the purpose of the Device Description Language ?