design and implementation of a high‐fidelity ac metering ...€¦ · – acme – a – ac –...

29
Fakultät Informatik – Institut für Systemarchitektur – Professur Rechnernetze Design and Implementation of a High‐Fidelity AC Metering Network Presenter: Marco Zulkowski Supervisor: Dr.-Ing. habil. Waltenegus Dargie TU Dresden Chair of Computer Networks

Upload: others

Post on 29-Sep-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Design and Implementation of a High‐Fidelity AC Metering ...€¦ · – ACme – A – AC – Control – Epic Core • Network – Architecture – Routing – Edge Router •

Fakultät Informatik – Institut für Systemarchitektur – Professur Rechnernetze

Design and Implementation of aHigh‐Fidelity AC Metering Network

Presenter: Marco ZulkowskiSupervisor: Dr.-Ing. habil. Waltenegus DargieTU DresdenChair of Computer Networks

Page 2: Design and Implementation of a High‐Fidelity AC Metering ...€¦ · – ACme – A – AC – Control – Epic Core • Network – Architecture – Routing – Edge Router •

Outline • Motivation• Energy Metering

– Software– Hardware– I-To-V Conversion

• Shunt Resistor• Current Transformer• Hall-Effect Sensor

• Hardware Design– ACme – A– AC – Control– Epic Core

• Network– Architecture– Routing– Edge Router

• Application TierFolie 2

Page 3: Design and Implementation of a High‐Fidelity AC Metering ...€¦ · – ACme – A – AC – Control – Epic Core • Network – Architecture – Routing – Edge Router •

Folie 3

Motivation

• Enable interactive, near real-time monitoring of small and large loads in an office environment

• Understanding the electricity usage patterns and alter the behavior to reduce the energy footprint of occupants

• Quick deployment

Page 4: Design and Implementation of a High‐Fidelity AC Metering ...€¦ · – ACme – A – AC – Control – Epic Core • Network – Architecture – Routing – Edge Router •

Outline • Motivation• Energy Metering

– Software– Hardware– I-To-V Conversion

• Shunt Resistor• Current Transformer• Hall-Effect Sensor

• Hardware Design– ACme – A– AC – Control– Epic Core

• Network– Architecture– Routing– Edge Router

• Application TierFolie 4

Page 5: Design and Implementation of a High‐Fidelity AC Metering ...€¦ · – ACme – A – AC – Control – Epic Core • Network – Architecture – Routing – Edge Router •

Folie 5

Energy Metering

• Process of calculating the power and energy from the current and voltage

• Current needs to be converted into a voltage (I-To-V Conversion)• Calculation can be done in either software or hardware

Page 6: Design and Implementation of a High‐Fidelity AC Metering ...€¦ · – ACme – A – AC – Control – Epic Core • Network – Architecture – Routing – Edge Router •

Folie 6

Energy Metering in Software

• No dedicated IC is needed• Only a single wire connects the output of I-To-V Conversion to

the ADC of the µC• µC must sample the signal, multiply and accumulate in software• Keeps the µC busy performing the sampling• Results are less precise due to lower sampling rates• Assumes constant RMS Voltage

[4]

Page 7: Design and Implementation of a High‐Fidelity AC Metering ...€¦ · – ACme – A – AC – Control – Epic Core • Network – Architecture – Routing – Edge Router •

Folie 7

Energy Metering in Hardware

• Dedicated IC is used, here ADE7753• Two 16 bit ADC's• Internally integrates power to produce energy• Provides extensive filtering and includes temperature sensors• Stores power and energy measurement in registers• Communicates with the µC via SPI Bus

– Simplifies data aquisition process– Allows µC to easily configure parameters in the IC

Page 8: Design and Implementation of a High‐Fidelity AC Metering ...€¦ · – ACme – A – AC – Control – Epic Core • Network – Architecture – Routing – Edge Router •

Folie 8

Energy MeteringI–To–V Conversion: Shunt Resistor

• Resistor (very small resistance) in series with the Load• Voltage drop (very small) is propotional to the current• Inexpensive and precise• Voltage drop may effect the AC device's with high power draw• Heating of the resistor :

– Thermal design concerns– Measurement issues, resistance is propotional to temperature

Page 9: Design and Implementation of a High‐Fidelity AC Metering ...€¦ · – ACme – A – AC – Control – Epic Core • Network – Architecture – Routing – Edge Router •

Folie 9

Energy MeteringI–To–V Conversion: Current Transformer

• In-Line Single Phase Current Transformer• Voltage drop across Burden Resistor is propotional to the current• Large in size and weight• expensive

Page 10: Design and Implementation of a High‐Fidelity AC Metering ...€¦ · – ACme – A – AC – Control – Epic Core • Network – Architecture – Routing – Edge Router •

Folie 10

Energy MeteringI–To–V Conversion: Hall Effect Sensor

• Hall Effect :– A conductor in a magnetic field

produces a voltage depending on the current flow and the strength of the magnetic field

[1]

Page 11: Design and Implementation of a High‐Fidelity AC Metering ...€¦ · – ACme – A – AC – Control – Epic Core • Network – Architecture – Routing – Edge Router •

Folie 11

Energy MeteringI–To–V Conversion: Hall Effect Sensor

• A magnetic field created by the current is measured with a Hall Effect Sensor

• The magnetic field from a coil is directly proportional to the product of the number of turns in the coil and the current flowing through the coil

[2]

Page 12: Design and Implementation of a High‐Fidelity AC Metering ...€¦ · – ACme – A – AC – Control – Epic Core • Network – Architecture – Routing – Edge Router •

Outline • Motivation• Energy Metering

– Software– Hardware– I-To-V Conversion

• Shunt Resistor• Current Transformer• Hall-Effect Sensor

• Hardware Design– ACme – A– AC – Control– Epic Core

• Network– Architecture– Routing– Edge Router

• Application TierFolie 12

Page 13: Design and Implementation of a High‐Fidelity AC Metering ...€¦ · – ACme – A – AC – Control – Epic Core • Network – Architecture – Routing – Edge Router •

Hardware DesignACme - A

Folie 13

Page 14: Design and Implementation of a High‐Fidelity AC Metering ...€¦ · – ACme – A – AC – Control – Epic Core • Network – Architecture – Routing – Edge Router •

Folie 14

Hardware DesignACme - A

Page 15: Design and Implementation of a High‐Fidelity AC Metering ...€¦ · – ACme – A – AC – Control – Epic Core • Network – Architecture – Routing – Edge Router •

Folie 15

Hardware DesignACme – A Board

Page 16: Design and Implementation of a High‐Fidelity AC Metering ...€¦ · – ACme – A – AC – Control – Epic Core • Network – Architecture – Routing – Edge Router •

Folie 16

Hardware DesignAC - Control

• Solid State Relay, no electromagnetic relay• Maximum switchable current :15A (1.8kW @ 120V)• Near infinity switching lifetime• High switching speed• Small in size

Page 17: Design and Implementation of a High‐Fidelity AC Metering ...€¦ · – ACme – A – AC – Control – Epic Core • Network – Architecture – Routing – Edge Router •

Folie 17

Hardware DesignEpic Core

• Full-featured mote in a compact form factor• Fully-supported platform under TinyOS• Including a low-power microcontroller, IEEE 802.15.4-compatible

radio, 16-Mbit flash memory

Page 18: Design and Implementation of a High‐Fidelity AC Metering ...€¦ · – ACme – A – AC – Control – Epic Core • Network – Architecture – Routing – Edge Router •

Folie 18

Hardware DesignEpic Core

• Microcontroller MSP 430– 8 12 bit ADC– Flash 48 KB, RAM 10 KB

• Radio CC2420– 2.4 GHz IEEE 802.15.4 compatible– Effective data rate of 250 kbps – Connected via SPI to the µC– PCB PIFA

• Atmel 16 Mbit Flash– Shares SPI with Radio

Page 19: Design and Implementation of a High‐Fidelity AC Metering ...€¦ · – ACme – A – AC – Control – Epic Core • Network – Architecture – Routing – Edge Router •

Folie 19

Hardware DesignSummary

Page 20: Design and Implementation of a High‐Fidelity AC Metering ...€¦ · – ACme – A – AC – Control – Epic Core • Network – Architecture – Routing – Edge Router •

Outline • Motivation• Energy Metering

– Software– Hardware– I-To-V Conversion

• Shunt Resistor• Current Transformer• Hall-Effect Sensor

• Hardware Design– ACme – A– AC – Control– Epic Core

• Network– Architecture– Routing– Edge Router

• Application TierFolie 20

Page 21: Design and Implementation of a High‐Fidelity AC Metering ...€¦ · – ACme – A – AC – Control – Epic Core • Network – Architecture – Routing – Edge Router •

Folie 21

NetworkArchitecture

• Developed an implementation of IPv6 for TinyOS called „blip“• ACme nodes create an IPv6 subnet• The network consists of edge routers and sensor nodes• Edge routers are nodes with external connectivity

Page 22: Design and Implementation of a High‐Fidelity AC Metering ...€¦ · – ACme – A – AC – Control – Epic Core • Network – Architecture – Routing – Edge Router •

Folie 22

NetworkRouting

• Reliable multihop communication within the subnet• Packets can be routed between endpoints in the same subnet,

or be delivered to a gateway• Each sensor node functions as an IProuter

– chooses a set of default routes based on router advertisement– Link-layer retransmission– edge routers advertises a cost of zero

• The sensor nodes observe the subnet to enable communication with individual devices

– This is reported to an edge router (topology update message)– The edge routers form paths back into the network

• Packets into the network are source routed from the edge router to a particular node

Page 23: Design and Implementation of a High‐Fidelity AC Metering ...€¦ · – ACme – A – AC – Control – Epic Core • Network – Architecture – Routing – Edge Router •

Folie 23

NetworkEdge Router

• Using two existing linux-class devices– The Meraki Mini, and– The Open Mesh Mini Router

• Both export internally a single serial portwhich is used to add an 802.15.4 radio

• All edge routers join an IPv6 multicast group– to forward topology updates to the group

Meraki Mini with Epic Open Mesh with Epic

Page 24: Design and Implementation of a High‐Fidelity AC Metering ...€¦ · – ACme – A – AC – Control – Epic Core • Network – Architecture – Routing – Edge Router •

Folie 24

NetworkTopology Snapshot

Page 25: Design and Implementation of a High‐Fidelity AC Metering ...€¦ · – ACme – A – AC – Control – Epic Core • Network – Architecture – Routing – Edge Router •

Outline • Motivation• Energy Metering

– Software– Hardware– I-To-V Conversion

• Shunt Resistor• Current Transformer• Hall-Effect Sensor

• Hardware Design– ACme – A– AC – Control– Epic Core

• Network– Architecture– Routing– Edge Router

• Application TierFolie 25

Page 26: Design and Implementation of a High‐Fidelity AC Metering ...€¦ · – ACme – A – AC – Control – Epic Core • Network – Architecture – Routing – Edge Router •

Folie 26

Application TierTopology

Page 27: Design and Implementation of a High‐Fidelity AC Metering ...€¦ · – ACme – A – AC – Control – Epic Core • Network – Architecture – Routing – Edge Router •

Folie 27

Application TierTopology

• Consists of:– Web front – end – Database back – end

• Built atop the network of nodes and is logically distinct from the nodes and the network

– Allows distinct applications to use the underlying network concurrently

• Applications perspective:– Each ACme exposes operations to configure and report its

measurements over UDP using a simple binary format

Page 28: Design and Implementation of a High‐Fidelity AC Metering ...€¦ · – ACme – A – AC – Control – Epic Core • Network – Architecture – Routing – Edge Router •

Folie 28

Application TierWebinterface

Page 29: Design and Implementation of a High‐Fidelity AC Metering ...€¦ · – ACme – A – AC – Control – Epic Core • Network – Architecture – Routing – Edge Router •

Folie 29

References

[0] Jiang, X., Dawson Haggerty, S., Dutta, P., and Culler, D. 2009. Design ‐and implementation of a high fidelity AC metering network. In ‐Proceedings of the 2009 international Conference on information Processing in Sensor Networks (April 13 16, 2009). Information ‐Processing In Sensor Networks. IEEE Computer Society, Washington, DC, 253 264.‐

[1] Honeywell - HALL EFFECT SENSING AND APPLICATIONFigure 2-2 Hall effect principle, magnetic field present

[2] Honeywell - HALL EFFECT SENSING AND APPLICATIONFigure 5-16 Current sensor with pole pieces

[3] http://www.moteware.com/pub-docs/datasheet-epic.pdf[4] M. João Sepúlveda Freitas, João L. Afonso, Júlio S. Martins, „A SINGLE-PHASE POWER SERIES COMPENSATOR FOR VOLTAGE

DISTORTION“, Department of Industrial Electronics, University of Minho, Portugal, Figure 1