Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Roman Jonetzko , Matthias Detzler , Klaus-Uwe Gollmer , Achim Guldner , Marcel Huber ,
Rainer Michels , Stefan Naumann and Martin Ney
Trier
University of Applied Sciences, Environmental Campus Birkenfeld
Institute for Software Systems, Birkenfeld, Germany
Email: {r.jonetzko, s10b30, k.gollmer, a.guldner, m.huber, r.michels, s.naumann, m.ney}@umwelt-campus.de
AbstractCurrent studies about electrical energy efficiency analyzed, which is influenced by harmonics (integer multiples
potentials bring out that to make the most part of the saving of the fundamental frequency). These harmonics, which are
potentials achievable, a feedback about the instantaneous con- produced by electronic components because of a nonlinear
sumed electrical energy is necessary. More detailed, an allocation current-voltage behavior, can be calculated by applying Fast
of the electrical load to the particular device can enable a greater Fourier Transform (FFT) to the measured signal. Using har-
level of sensitivity in energy consumption of electrical appliances.
monics as features for disaggregation algorithms considerably
Therefore, we pursued the aim of developing a low cost smart
meter hardware, which fits the requirements for the detection of increases the number of detectable appliance types (up to 40
several devices and states via disaggregation algorithms. This appliance types [1]). Hence, a high sampling rate (in kHz
is implemented by applying Fast Fourier Transformation to range) for FFT calculation and a fast processor for real-time
the measured data and sending the Fourier coefficients to the signal processing are necessary.
appliance disaggregation modul. In this paper, we describe the Because the market lacks those smart meters, we developed
developed hardware in detail and show a visualization approach a smart meter for our application case, which is described in
of the disaggregation results for providing the user with detailed chapter III. Thereafter, we focus on our prototypic visualization
information about device states. system in chapter IV.
47
Copyright: If not stated otherwise, all rights are reserved by the authors. ISBN: 978-87-7903-712-0
Adjunct Proceedings of the 29th EnviroInfo and 3rd ICT4S Conference 2015 Copenhagen, Denmark September 7-9, 2015
B. Metering Board
The purpose of the smart meter in our case is not to use it
for utility billing but rather for perfoming load monitoring.
Therefore no exact active power calculation is necessary, so
we were enabled to use low cost measurement hardware
components. On the other hand, a real-time transfer of data,
measured at a sampling rate in kHz range, is required. Figure 2
depicts the system structure, which includes the following
parts:
Low-cost measurement instruments: We chose current
transformers and voltage transformers, which make
direct access to the power lines unnecessary (direct
connection to the power lines can be used for voltage
measurement, too).
Poly phase measurement chip: A measurement chip
reads current and voltage signals of up to three phases
at a sampling rate in kHz range, so because of the
Fig. 1. The upper board represents the developed metering board, which Nyquist-Shannon sampling theorem frequencies in the
contains the Teensy board, connected via USB to the Raspberry Pi (lower signals up to the half of the sampling rate (Nyquist
board). frequency) can be analyzed. After a market analysis
of available analog front ends (cf. table I) we chose the
ATMEL 90E36A smart meter chip, which is able to
A. Requirements read current and voltage signals of up to three phases.
To transfer measurement data of three phases (current and Real-time processing of measured data: To match
voltage) in real-time and use them for load disaggregation algo- the requirement of real-time processing, we use
rithms, we calculated the following requirements for the smart a Teensy 3.1 microcontroller development system
meter, which we had to take into account for the selection of that features a MK20DX256 ARM Cortex-M4 with
hardware components (discussed in the next subchapter): 72 MHz, 64 kB RAM memory, a SPI and an USB
Port. This board is able to calculate the FFT fast
For load disaggregation, a sample frequency in kHz enough and can send the Fourier coefficients via USB
range is necessary: Because we apply a Radix-4 FFT e.g. to a Raspberry Pi.
algorithm for Fourier coefficient calculation, we need
a number of complete signal periods fitting into 1,024 Wireless data transfer to a server: A Raspberry Pi is
measurement data (maximum number of available used in our current setup to run the pattern recog-
field elements needs to be a power of 4) to achieve nition algorithm and to display the active devices
a good approximation for the harmonics. To fulfill on a website. In the future setup it will be used
this we chose a quartz oscillator, which provides a to transfer the measured data via wi-fi to a server,
sampling rate of 7.324 kHz. Thus, 7 signal periods which provides galvanic isolation between potentially
fit except for one value within 1,024 at a power expensive server hardware and the measured power
line frequency of 50 Hz, what is a good sampling lines of up to 400 volts (in case of direct connection
frequency for capturing integer multiples of 50 Hz in to the power lines).
48
Copyright: If not stated otherwise, all rights are reserved by the authors. ISBN: 978-87-7903-712-0
Adjunct Proceedings of the 29th EnviroInfo and 3rd ICT4S Conference 2015 Copenhagen, Denmark September 7-9, 2015
Fig. 2. Data acquisition and processing in the devised smart meter board.
49
Copyright: If not stated otherwise, all rights are reserved by the authors. ISBN: 978-87-7903-712-0
Adjunct Proceedings of the 29th EnviroInfo and 3rd ICT4S Conference 2015 Copenhagen, Denmark September 7-9, 2015
50
Copyright: If not stated otherwise, all rights are reserved by the authors. ISBN: 978-87-7903-712-0
Adjunct Proceedings of the 29th EnviroInfo and 3rd ICT4S Conference 2015 Copenhagen, Denmark September 7-9, 2015
!
Z T /2
1 X
f (t)g(t) dt = fb0 gb0 + 2 Re fbk gbk , (1)
T T /2 k=1
| {z }
=
k=1 Re(fk g k)
P cc
because of fd k = fk and g
b dk = gbk . In our case, we use
f as the voltage, in expression f (t) = u(t) and g as the
current, g(t) = i(t). In stationary case, the current has a
fundamental frequency of 50 Hz, given by the power line
frequency (Germany). Because the voltage is purely sinusoidal
(harmonic), also with fundamental frequency of 50 Hz, we
observe uck = 0 for k 6= 1, and formula (1) for active power
calculation reduces to
Z T /2
1
P = pb0 = u(t) i(t) dt = 2 Re uc1 ib1 , (2)
T T /2
where T = 0.02s.
Another observation is, that formula (1) allows us to calculate
the effective value (root-mean-square) of a T -periodic real-
valued function f by using g := f , so that, in the case that the
current is in stationary state, the effective value Ieff of current
Fig. 5. Current developement status of visual feedback system. can be calculated as
s
B. Analysis of Power
Z T /2
1 2
Ieff := i(t) dt (3)
T T /2
Additionally, the power demand of the connected devices shall v
be calculated. Usually smart meters integrate the product of u
u
X
instantaneous measured current and voltage over the time to = t|ib0 |2 + 2 |ibk |2 .
calculate the active power. In our case, we do not transfer the k=1
raw measurement values, but only Fourier coefficients. With
these, power values can also be calculated approximatively by Because of the limitation given by the Nyquist-Shannon sam-
the formulars developed in the following: pling theorem, if fsam is the sampling rate, the maximal number
By using a simple transform, Parsevals theorem [11] can be M of Fourier coefficients can be calculated as
formulated for complex-valued functions on R with period
T > 0 as
fsam /2
M = .
50 Hz
1
Z T /2
X In the following formulars, the summation operator has the
f (t)g(t) dt = fbk gbk . upper limit , which can be replaced in practical cases with
T the summation
P operator withPMthe upper limit M , in expression:
T /2 k=
replace k=... . . . with k=... . . .
E.g. (3) goes to
P
There we haveP = 2 T , f (x) = k= fbk exp(j k x) v
u M
and g(x) = k= gbk exp(j k x), which are square inte- u
Ieff = t|ib0 |2 + 2
X
|ibk |2 . (4)
grable functions with fbk and gbk as the Fourier coefficients of k=1
f and g, for illustration calculated as
The reactive power Q, caused by phase shift, can be calcu-
lated as
Z T /2
1
fbk = f (t) exp( j t)dt.
T T /2
X
!
Q = 2 Im u
ck ik ,
b (5)
k=1
If f and g are real valued functions on R, this can be |
{z
}
=
P
formulated as k=1 Im uck ik
b
51
Copyright: If not stated otherwise, all rights are reserved by the authors. ISBN: 978-87-7903-712-0
Adjunct Proceedings of the 29th EnviroInfo and 3rd ICT4S Conference 2015 Copenhagen, Denmark September 7-9, 2015
and in our case it reduces to Further algorithm developement can improve appliance state
analysis, which includes the detection and allocation of un-
known and known device errors. Also a disaggregation and
Q = 2 Im uc1 ib1 . (6) allocation of the calculated power values to the detected
devices has to be implemented.
The visualization platform can be extended at the point of
The apparent power S is defined as visual preparation of results and error messages and options
S = Ueff Ieff . (7) for displaying power curve, signal shape (by reconstruction
from Fourier coefficients) or spectral envelopes in cases of
Using formula (3) and the observation that u ck = 0 for k 6= 1, transient signal events. This can provide important information
it follows that about the operation states of machines, technical workplaces
v or residential buildings, where the smart meter can be applied.
The focus of further research will be on these aspects.
u
u X
S = u1 | t|ib0 |2 + 2
2 |c |ibk |2 . (8)
| {z }
k=1 ACKNOWLEDGMENT
=Ueff
R EFERENCES
where the active power pb0 is given by formula (2).
[1] K. C. Armel, A. Gupta, G. Shrimali and A. Albert, Is Disaggregation
The deformed power, which is caused by the harmonic the holy Grail of Energe Efficiency? The Case of Electricity. Energy
components in the signal, is given by the following formula Policy vol. 52, 2013.
[2] A. Zoha, A. Gluhak, M. A. Imrani and S. Rajasegarar, Non-intrusive
q load monitoring approaches for disaggregated energy sensing: A survey.
Sensors - Open Access Journal, 12 , 2012.
Qd = Qtotal 2 Q2 . (10)
[3] A. Diaz and S. Tomek, Energy Efficient Smart Metering Infrastructure.
Bundesministerium fr Verkehr, Innovation und Technologie: Berichte aus
These overall power values in combination with the detected Energie- und Umweltforschung, 16/2013.
device states can provide a feedback about energy savings of [4] M. E. Berges, E. Goldman, H. S. Matthews and L. Soibelman, Enhanc-
implemented energy efficiency measures. ing Electricity Audits in Residential Buildings with Nonintrusive Load
Monitoring. Journal of Industrial Ecology, 2010.
For an accurate power measurement, the measurement instru-
ments property to provoke a phase shift in the measured signal [5] S. R. Shaw, S. B. Leeb, L. K. Norford and R. W. Cox, Nonintrusive
Load Monitoring and Diagnostics in Power Systems. Transactions on
had to be considered, which is not there in original state of Instrumentation and Measurement vol. 57, No. 7, IEEE, 2008.
the signal. Therefore, we compared the signal output of the [6] (2015, Apr.) The Smappee Website. [Online]. Available:
current transformer, measuring an ohmic resistance, to the http://http://www.smappee.com/
measured signal of an smart meter, which uses a shunt resistor [7] (2015, Apr.) The Neurio Website. [Online]. Available:
for current measurement. Furthermore, the output signal of the http://http://www.neurio.io/
voltage transformer has been evaluated by comparing to the [8] (2015, Mar.) Implementation of a Three-Phase Electronic Watt-
grid voltage signal. As a result, the positive phase shift of Hour Meter Using the MSP430F677x. [Online]. Available:
both the current transformer and the voltage transformer has http://www.ti.com/lit/an/slaa577f/slaa577f.pdf
to be corrected through the metering software. [9] (2015, Mar.) Low-Power, Multifunction, Polyphase AFE,
with Harmonics and Tamper Detect. [Online]. Available:
By this means, we were able to calculate active and reactive http://media.digikey.com/pdf/Data%20Sheets/Maxim%20PDFs/
power values, which corresponds to the output values of a MAXQ3183.pdf
commercially available wattmeter. [10] (2015, Mar.) Enhanced Poly-Phase High-Performance
Wide-Span Energy Metering IC. [Online]. Available:
V. C ONCLUSION AND O UTLOOK http://www.atmel.com/Images/Atmel-46004-SE-M90E36A-
Datasheet.pdf
With the developed smart meter we met our requirements [11] B. Klingen, Fouriertransformation fur Ingenieur- und Naturwis-
for appliance disaggregation, which we run at this time with senschaften. p. 244, 8.42, Springer-Verlag Berlin Heidelberg, 2001.
different types of lights (LED, compact fluorescent light, light [12] R. Jonetzko, M. Detzler, K. Gollmer, A. Guldner, M. Huber, R. Michels
bulb), fans and a mobile air conditioner. Such a smart meter, and S. Naumann, High Frequency Non-Intrusive Electric Device Detec-
tion and Diagnosis. In Markus Helfert, Karl-Heinz Krempels, Brian
which provides centralized data acquisition and appliance Donnellan and Cornel Klein (Ed.): SMARTGREENS 2015. Proceedings
disaggregation via pattern recognition algorithms, also avoids of the 4th International Conference on Smart Cities and Green ICT
to equip every single electrical device with an electricity meter. Systems, pp. 209-216, SCITEPRESS, 2015.
Installed e.g. in the distribution box, this represents a cost-
efficient method for load monitoring.
52
Copyright: If not stated otherwise, all rights are reserved by the authors. ISBN: 978-87-7903-712-0