Application Protocol for Veris E30 Panel-board Monitoring System Jaein Jeong UC Berkeley LoCal Workshop Oct 5 th, 2009.

Slides:



Advertisements
Similar presentations
Configuring APACS & AAN Controllers
Advertisements

TOP Server: Understanding Modbus for Device Connectivity
Arctic IEC-104 Gateway Jari Lahti, CTO.
Why to learn OSI reference Model? The answer is too simple that It tells us that how communication takes place between computers on internet but how??
TCP-IP Primer David Cozens. Targets Have a basic understanding of Ethernet network technology Be aware of how this technology is applied on the 5000 series.
ATiM Spécialiste en étude et développement de produits de radiocommunication
1 Data Link Protocols Relates to Lab 2. This module covers data link layer issues, such as local area networks (LANs) and point-to-point links, Ethernet,
Modbus Slave & Modbus Master in S7
Supervisory Control & Data Acquisition Communication Technology Modbus Protocol.
Introduction System Schematic ~ LON-FO NC EC200 LOOPS 2-4 FIBRE OPTIC
Ethernet: CSMA/CD (Carrier Sense Multiple Access with Collision Detection) Access method: method of controlling how network nodes access communications.
Review on Networking Technologies Linda Wu (CMPT )
January 2015 SlimLine XR ITS 2.
Applying Wireless in Legacy Systems
Make the most of your energy Make the most of your energy SM Add application photo in this area PowerLogic ® Branch Circuit Power Meter for data center.
 The Open Systems Interconnection model (OSI model) is a product of the Open Systems Interconnection effort at the International Organization for Standardization.
The Interface Solution Experts Intrinsically Safe Design, TCM installs in: Class I, II, & III Div 1 and 2 (Zones 0/1 & 2) Up to 32 Channels.
Slide 1 / 20 Industrial Automation - Custumer View - Services PhW - Modbus_en 06/ 2002 Modbus training.
UNIVERSITY OF BERGEN DEPARTMENT OF PHYSICS 1 UiB DR 2003 High Level API for the TPC-FEE control and configuration.
SLAC asyn class, Day 1, August 26, 2010 Example asyn driver Modbus Mark Rivers, Marty Kraimer, Eric Norum University of Chicago Advanced Photon Source.
P.1 Examples of Applications for the tDS-700 Dec.22, 2010.
P.1 Examples of Applications for the tGW-700 Dec.22, 2010.
TM SM Maximum Value for OEMs SM From Rockwell Automation Using Modbus Protocol with OEMax Products Feb 26 ~ Mar 2, 2007 K.J Kim RAK OBB Strategic Marketing.
USART Communication using the RS standard ETEC6416.
Computerized Train Control System by: Shawn Lord Christian Thompson.
Bluetooth based home automation system N.Sriskanthan, F.Tan, K. Karande Microprocessors and Microsystems 26(2002) Presenter: Bui Phuong Nhung.
Network Protocols UNIT IV – NETWORK MANAGEMENT FUNDAMENTALS.
EMBEDDED WEB SERVER. CONTENT: 1.ABSTRACT 2.INTRODUCTION TO EMBEDDED SYSTEMS 3.INTRODUCTION TO EMBEDDED WEB SERVER 4.BLOCK DIAGRAM 5.POER SUPPLY 6.COMPONENT.
Arctic RS-485 / RS-422. RS- 485 Also known as RS-485 Half Duplex, RS wire same pair is used to transmit and receive data only one device can transmit.
The University of New Hampshire InterOperability Laboratory Introduction To PCIe Express © 2011 University of New Hampshire.
ACM 511 Chapter 2. Communication Communicating the Messages The best approach is to divide the data into smaller, more manageable pieces to send over.
CPS Today’s topics Computer Applications Computer Communications Upcoming Computer Security ( Great Ideas, Chapter 11) Reading Great Ideas, Chapter.
Software Framework for Teleoperated Vehicles Team Eye-Create ECE 4007 L01 Karishma Jiva Ali Benquassmi Safayet Ahmed Armaghan Mahmud Khin Lay Nwe.
© McLean HIGHER COMPUTER NETWORKING Lesson 1 – Protocols and OSI What is a network protocol Description of the OSI model.
1 Microprocessor-based Systems Course 9 Design of the input/output interfaces (continue)
I/O Example: Disk Drives To access data: — seek: position head over the proper track (8 to 20 ms. avg.) — rotational latency: wait for desired sector (.5.
DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK
Internet SecurityInternet Security Dr. ClincyLecture1 CS 4491 Internet Security Dr. Clincy Networking Fundamentals Note: I am still “tweaking” your syllabus.
I/O Computer Organization II 1 Interconnecting Components Need interconnections between – CPU, memory, I/O controllers Bus: shared communication channel.
William Stallings Data and Computer Communications
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 9 Virtual Trunking Protocol.
CIP Modbus Object Read Example
Section 6 - Slide 1 / 27 P&T - GPS - Training PhW - 06_TECH_Modbus_en 06/ 2004 Modbus training Part 1 :Reference documents - WEB sites Part 2 :Definitions.
BASIC NETWORK PROTOCOLS AND THEIR FUNCTIONS Created by: Ghadeer H. Abosaeed June 23,2012.
GPRS functionality overview in Horner OCS. GPRS functionality – Peer to Peer communication over GPRS – CSCAPE connectivity over GPRS – Data exchange using.
نظام المحاضرات الالكترونينظام المحاضرات الالكتروني.
1 Syllabus at a glance – CMCN 6103 Introduction Introduction to Networking Network Fundamentals Number Systems Ethernet IP Addressing Subnetting ARP DNS.
Dr. ClincyLecture1 Chapter 2 (handout 1– only sections 2.1, 2.2 and 2.3) 1 of 10 Dr. Clincy Professor of CS Exam #3 Monday (3/14/16): Opened Book, No Computer,
11111 Apollo Internet Monitoring Tutorial Apollo Solar, Inc. 23 F. J. Clarke Circle Bethel, CT (203)
Computer networks. Topologies Point to point Bus (rail) Ring Tree, star, etc.
Rohde & Schwarz Topex TOPEX IP Radio Gateway July 2011.
Do-more Technical Training Communications (Modbus TCP)
Serial / Ethernet Converter - IE-CS-2TX-XRS232/485
Networks by Topology and Protocols
Team Members: ECE- Wes Williams, Will Steiden, Josh Howard, Alan Jimenez Sponsor: Brad Luyster Honeywell Network Traffic Generator.
Communication.
Do-more Technical Training
Computer Communications
Do-more Technical Training
Fundamentals of WEB Programming
Modbus RTU CP1L with V1000 and Celciux.
Computer networks.
DT80 range Modbus capability
Semester 1 Cisco Discovery JEOPADY Chapter 3.
Modbus with the AKD Using Modbus Poll and Wireshark Rev. F Dec
DEEP SEA ELECTRONICS PLC
Chapter 6 Transmission of Digital Data Interfaces and Modems
EEC4113 Data Communication & Multimedia System Chapter 1: Introduction by Muhazam Mustapha, July 2010.
LEARNING COMPUTER NETWORKS OSI Model (layers). Why a layered model?  Easier to teach communication process.  Speeds development, changes in one layer.
Presentation transcript:

Application Protocol for Veris E30 Panel-board Monitoring System Jaein Jeong UC Berkeley LoCal Workshop Oct 5 th, 2009

2 Motivation Power monitoring for individual AC devices –Receptacle-level instruments are available. –Fine-grained measurement at receptacle / power-strip level. However, they are hard to scale. –Should support non-intrusive measurement. –Should support higher current. –Large number of instrument points. Source: Kill-a-Watt Source: ACME Receptacle Power Strip Circuit Breaker Floor Building

3 Requirements and solutions for panel-level monitoring Non-intrusive measurement Support higher current Large number of measurement points A centralized control point Current transformers (CT) Array of CTs TCP/IP & Web-based networking and software interface Requirements: Solutions:

4 Veris E30 - Platform for panel-level monitoring Current Transducers (CT) for mains Current Transducers (CT) for branches Veris E30 Panel RS485 serial Interface PC or Other RS485 Master Non-intrusive Current Monitoring Higher Current Monitoring Large Number of Measurement Points Still Needed! TCP/IP & Web-based networking and software interface

5 Current Status and Organization Working configuration with Veris E30 Provided a TCP/IP application interface to Veris E30. Sensing Interface Communication : Physical and Link Level Interface Communication : Application Level Interface Current Status: Organization

6 Sensing Interface Veris E30 provides sensing interfaces –Branch-CT board (branch-level current) –Mains-CT (mains-level current) –Voltage terminal (voltage) Before they are used, they need to be configured for correct operation –Installation Mode –CT Scale –Alarms –Demand –Register Map

7 Sensing Interface (Installation Mode: Layout of CT arrays) Panel 1Panel 2 A B A B Four different modes –Top feed : reg6 = 0 (default) –Bottom feed : reg6 = 1 –Single row (sequential) : reg6 = 2 –Single row (Odd/even) : reg6 = A B A B

8 Sensing Interface (Installation Mode: Layout of CT arrays) Four different modes –Top feed : reg6 = 0 (default) –Bottom feed : reg6 = 1 –Single row (sequential) : reg6 = 2 –Single row (Odd/even) : reg6 = A B A B Panel 1Panel 2 A B A B

9 Sensing Interface (Installation Mode: Layout of CT arrays) Four different modes –Top feed : reg6 = 0 (default) –Bottom feed : reg6 = 1 –Single row (sequential) : reg6 = 2 –Single row (Odd/even) : reg6 = A B A B Panel 1Panel 2 A B A B

10 Sensing Interface (Installation Mode: Layout of CT arrays) Four different modes –Top feed : reg6 = 0 (default) –Bottom feed : reg6 = 1 –Single row (sequential) : reg6 = 2 –Single row (Odd/even) : reg6 = 3 Panel 1Panel 2 A B A B A B A B

11 Sensing Interface (CT Scale) CT Scale: Sets the scaling factor for Mains CT CTs for mains CTs for branches This is fixed to 20A (Registers 73 – 114 for branches 1 – 42).

12 Sensing Interface (Alarms) Alarm is used to trigger interrupt on the change of current of each CT or voltage of mains voltage.

13 Sensing Interface (Demand) Demand is an electrical characteristic averaged over recent history. –Present / Max KW Demand –Present / Max Current Demand Parameters –# sub-intervals per demand interval (register 71) Range: 1 – 6, Default: 1 –Sub-interval length in seconds (register 72) Range: 10 – sec, Default: 900 sec

14 Sensing Interface (Register Map) A user accesses Veris E30 by issuing register reads or writes. NOTE –Register address in E30 point map 1-based. –But, a MODBUS command expects 0-based address. –Address in a MODBUS command = Address in the point map – 1 Example : Register for installation mode –Point-map address: 6 –MODBUS address: 5

15 Physical and Link Level Interface RS485 Slave RS485 Master RS485 Serial Interface RS485 Wiring

16 Physical and Link Level Interface RS485 Slave –On receiving a request, it sends a reply message. –Allows multiple RS485 slaves : 8-bit address (1 to 246) –Connectivity: direct or daisy-chained over RS485.

17 Physical and Link Level Interface RS485 Master –Sends a request and receives a reply message. –Does not have an address. –Only a single RS485 master in a network.

18 Physical and Link Level Interface RS485 Serial Interface –Converts to a more widely available interface (e.g. RS232, Ethernet). –We used an RS485-to-Ethernet interface (GW215 node).

19 Physical and Link Level Interface RS485 Wiring –Cable Modbus recommendation: 2-wire or 4-wire twisted pair cable. We have used three wires of a CAT-5 cable (Data+, Data-, GND). –Line Termination 150 Ohm resistor used on RS485 slave, not on RS485 serial interface.

20 Application Interface - Modbus RTU A Modbus client (PC) requests read / write of a register to a Modbus server (Veris E30). General Modbus Frame Modbus transaction (error free)Modbus transaction (exception response)

21 Application Interface - Veris E30 Modbus Address –Unique address for each Modbus Slave –Set by a DIP switch (1-254) General Modbus Frame Modbus RTU Frame

22 Application Interface - Veris E30 Veris E30 supports subset of Modbus function codes –03h: read a holding register (16-bit register) –06h: write a single register –10h: write multiple registers –11h: report slave id Modbus RTU Frame

23 Application Interface - Read a holding register (03h) Modbus RTU Frame Reads configuration or data

24 Application Interface - Writes single register (06h) Modbus RTU Frame Writes configuration

25 Application Interface - Report slave ID (11h) Modbus RTU Frame Reads description ID for the device –This will include the following info in the "Additional Data" area: –"Veris Model Exxx Branch Circuit Monitor, S/N=0x , Location=" ""

26 Reference Implementation TCPModbusClient: E30 Modbus Client –TCP client program that sends a request and receives a reply from E30. –Supported function codes: register read (0x03), single register write (0x06), multiple register write (0x10), and query ID (0x11) TCPModbusServer: E30 Modbus Server –TCP server program that emulates the operation of Veris E30. –Supported function codes: register read (0x03) and query ID (0x11)

27 Reference Implementation (TCPModbusClient: Register Read) Example: how TCPModbusClient program is used to get the CT scales and current measurements for CT arrays. r E30 TCP Modbus Client Usage:./TCPModbusClient read [ ]

28 Reference Implementation (TCPModbusClient: Register Read) Example: how TCPModbusClient program is used to get the CT scales and current measurements for CT arrays. –This example first issues a register-read command to read current scale of CTs (register address ). r Number of transmitting bytes: E7 00 2A Number of received bytes: FF FE FF FE FF FE FF FE FF FE FF FE FF FE FF FE FF FE FF FE FF FE FF FE FF FE FF FE FF FE FF FE FF FE FF FE FF FE FF FE FF FE FF FE FF FE FF FE FF FE FF FE FF FE FF FE FF FE FF FE FF FE FF FE FF FE FF FE FF FE FF FE FF FE FF FE FF FE FF FE FF FE FF FE Response received: Modbus addr: 1 Modbus function: 3 Modbus value bytes: 84 registers (signed dec): CRC (hex): 1495

29 Reference Implementation (TCPModbusClient: Register Read) Example: how TCPModbusClient program is used to get the CT scales and current measurements for CT arrays. –Then, it issues another register-read command to read current of CTs (register address ). r Number of transmitting bytes: A Number of received bytes: FC 93 Response received: Modbus addr: 1 Modbus function: 3 Modbus value bytes: 84 registers (signed dec): CRC (hex): 93FC

30 Reference Implementation (TCPModbusClient: Register Read) Example: how TCPModbusClient program is used to get the CT scales and current measurements for CT arrays. –We can see that all the CTs have scale factor of -2 for the current, and channel 2 has current reading of 24 while all other channels have current reading of 0. –This gives 0.24A (= 24 * 10^-2) for channel 2 and 0A for all other channels. registers (signed dec): registers (signed dec): CT Reading: CT Scale:

31 Reference Implementation (TCPModbusClient: Single register write) Example: how to set the installation mode by using a write command. w E30 TCP Modbus Client Usage:./TCPModbusClient write

32 Reference Implementation (TCPModbusClient: Single register write) Example: how to set the installation mode by using a write command. –We can see that the E30 node is configured for top feed (register 6 with value 0). r Number of transmitting bytes: B Number of received bytes: B8 44 Response received: Modbus addr: 1 Modbus function: 3 Modbus value bytes: 2 registers (signed dec): 0 CRC (hex): 44B8 0

33 Reference Implementation (TCPModbusClient: Single register write) Example: how to set the installation mode by using a write command. –We set the register 6 with value 1 to configure the E30 node for bottom feed. w Number of transmitting bytes: B Number of received bytes: B Response received: Modbus addr: 1 Modbus function: 6 Modbus register address: 5 Modbus register value (signed dec): 1 CRC (hex): B58

34 Reference Implementation (TCPModbusClient: Single register write) Example: how to set the installation mode by using a write command. –We can see that the E30 node is now configured for bottom feed (register 6 with value 1). r Number of transmitting bytes: B Number of received bytes: Response received: Modbus addr: 1 Modbus function: 3 Modbus value bytes: 2 registers (signed dec): 1 CRC (hex): 8479

35 Reference Implementation (TCPModbusClient: Multiple register write) Example: how to set the CT scales by using a mwrite command m E30 TCP Modbus Client Usage:./TCPModbusClient writem...

36 Reference Implementation (TCPModbusClient: Multiple register write) Example: how to set the CT scales by using a mwrite command –We can see that initially four mains CTs of the E30 node is configured for 200A (register ). r Number of transmitting bytes: E4 12 Number of received bytes: C8 00 C8 00 C8 00 C8 BD A3 Response received: Modbus addr: 1 Modbus function: 3 Modbus value bytes: 8 registers (signed dec): CRC (hex): A3BD

37 Reference Implementation (TCPModbusClient: Multiple register write) Example: how to set the CT scales by using a mwrite command –We set these registers to 300A so that these values match the properties of CTs we use. m Number of transmitting bytes: C 01 2C 01 2C 01 2C 72 A3 Number of received bytes: D1 Response received: Modbus addr: 1 Modbus function: 16 Modbus register address: 114 Modbus register quantity: 4 CRC (hex): D161

38 Reference Implementation (TCPModbusClient: Multiple register write) Example: how to set the CT scales by using a mwrite command –We can now see that four mains CTs are configured for 300A (register ). r Number of transmitting bytes: E4 12 Number of received bytes: C 01 2C 01 2C 01 2C E9 B6 Response received: Modbus addr: 1 Modbus function: 3 Modbus value bytes: 8 registers (signed dec): CRC (hex): B6E9

39 Future Work To provide a higher-level (e.g. Web) network interface. To provide a unified application interface that abstracts variations in hardware capabilities and deployments –Variations of hardware capabilities E.g. : Types of sensors, number of sensors, sampling rate –Variations of deployments

40 Conclusion A working configuration with Veris E30 panel monitoring system. Provided application interface to Veris E30 at TCP/IP level.