Next Article in Journal
Robust 3D Hand Detection from a Single RGB-D Image in Unconstrained Environments
Next Article in Special Issue
Stray Current Protection and Monitoring Systems: Characteristic Quantities, Assessment of Performance and Verification
Previous Article in Journal
Fluorometric Detection of Thiamine Based on Hemoglobin–Cu3(PO4)2 Nanoflowers (NFs) with Peroxidase Mimetic Activity
Previous Article in Special Issue
Laboratory Calibration of Energy Measurement Systems (EMS) under AC Distorted Waveforms
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

PQ and Harmonic Assessment Issues on Low-Cost Smart Metering Platforms: A Case Study

1
Department of Engineering, Università degli Studi di Palermo, 90128 Palermo, Italy
2
Institute of Marine Engineering (INM), National Research Council (CNR), 90146 Palermo, Italy
3
STMicroelectronics S.r.l., 95121 Catania, Italy
*
Authors to whom correspondence should be addressed.
Sensors 2020, 20(21), 6361; https://doi.org/10.3390/s20216361
Submission received: 30 September 2020 / Revised: 1 November 2020 / Accepted: 4 November 2020 / Published: 7 November 2020
(This article belongs to the Special Issue Advanced Transducers and Systems for Voltage and Current Measurement)

Abstract

:
This paper presents a feasibility study on how to implement power quality (PQ) metrics in a low-cost smart metering platform. The study is aimed at verifying the possibility of implementing PQ monitoring in distribution networks without replacing existing smart metering devices or adding new modules for PQ measurements, thus zeroing the installation costs. To this aim, an electronic board, currently used for remote energy metering, was chosen as a case study, specifically the STCOMET platform. Starting from the specifications of this device, the possibility of implementing power quality metrics is investigated in order to verify if compliance with standard requirements for PQ instruments can be obtained. Issues related to device features constraints are discussed; possible solutions and correction algorithms are presented and experimentally verified for different PQ metrics with a particular focus on harmonic analysis. The feasibility study takes into account both the use of on-board voltage and current transducers for low voltage applications and also the impact of external instrument transformers on measurement results.

1. Introduction

Nowadays smart metering devices have widespread use in many countries around the world to enable automatic meter reading (AMR) and other smart grid functionalities. Typical features include the measurement of different quantities, such as energy consumptions, supply voltages, frequency, absorbed currents and powers, as well as communication functionalities for enabling meter interaction with the grid and information exchange between customers and utilities. In this framework, several studies and proposals can be found in literature concerning both AMR, enhanced smart grid applications, and related measurement and communication issues. For example, in [1] and [2] main smart metering and communications technologies are surveyed, in the viewpoint of their integration in smart grid and industrial contexts; main features of metering and communication equipment and methods are analyzed, putting in evidence the advantages and open issues concerning advanced measurement and communication features. In [3], an overview is given of the enabling technologies and standards for communication, sensing, and monitoring purposes, also from the viewpoint of the full integration of distributed generation and storage systems at the customer level. In [4], a study is made on the possible integration of AMR with further sensing and IoT functionalities. In [5,6], some power line communication solutions for AMR applications are presented; refs. [7,8] wireless communication solutions for smart grid applications are addressed instead. Security issues and a possible privacy-preserving solution based on blockchain technology are investigated in [9]. The problem of real-time monitoring of low voltage distribution grids with distributed energy resources is addressed in [10,11], where proposed Information and Communication Technologies (ICT) architectures can integrate metering equipment at both users, prosumers, and distribution system operator level, to enable energy management and real-time grid monitoring. In [12], a metering and communication solution is proposed for the remote monitoring and control of distributed energy resources connected to low-voltage grids.
At the grid level, measurement instruments, such as power quality analyzers (PQAs) or phasor measurement units (PMUs), can be installed in different grid nodes (typically in transmission and distribution substations), for grid monitoring and management purposes, including PQ assessment [13]. This allows for the achievement of some data about the occurrence of PQ disturbances. In this framework, from the viewpoint of metering features, measurement reliability, and data availability, several issues have been investigated in the literature concerning this kind of instrumentation. For example, in [14] a solution is proposed to enhance distributed PMU availability during wired network failures. In [15,16], PMU new solutions are presented, aimed at reaching a good tradeoff between low cost and proper accuracy requirements. In [17], a study is carried out concerning the accuracy of signal processing algorithms for PMU measurements in the presence of disturbances in power system operating conditions. In [18], an enhanced solution for distribution system state estimation is presented, based on PMUs measurements and the cloud-based Internet of Things (IoT) paradigm. In [19,20,21], PQAs exploitation for power flows analysis at the distribution level is investigated, proposing properly distributed measurement systems and related power flows estimation algorithms able to also deal with partial data availability. In [22], PQ meters are integrated into a heterogeneous communication infrastructure to allow for the analysis of voltage dips in distribution networks.
However, more complete information about PQ levels across the grid could be reached by also including in the distributed measurement infrastructure PQ meters at the user level. For example, this could allow the implementation of billing strategies based not only on energy consumption but also on supply quality. In this framework, in [23] the study of a cost-effective microcontroller-based power quality meter is presented, which can be exploited at the user level for real-time monitoring of some PQ parameters. In [24], a prototype of an electronic power meter is developed, to integrate the measurement of typical power quality parameters and additional power terms for load characterization. In [25], a smart sensor network is proposed for non-intrusive load and power quality monitoring in both residential and industrial contexts. Among PQ disturbances, harmonic distortion is of great importance, especially in distribution grids, where the increasing presence of non-linear loads and power electronics in distributed generation and storage systems can strongly deteriorate the quality of supplied power and several electronic appliances and loads (at the home, commercial, and industrial level) are very sensitive to supply quality, especially in terms of harmonic distortion [26].
To enable diffused PQ measurements, it is important to introduce new technologies that can provide both end-users and distribution system operators with suitable information about the quality of the power supply at reasonable costs. In this framework, some studies and proposals can be found in research papers concerning the use of new energy meters, specifically developed for PQ measurement applications [27,28,29,30,31,32,33]. For example, in [27,28], an open-source energy and power quality meter is developed for low voltage applications at the user level. Further solutions for PQ measurements have been proposed in [29,30,31], which are based on microcontrollers and Raspberry-Pi. In [32], a multipurpose platform is developed for power system monitoring and analysis, which combines several measurement functionalities, i.e., power quality (PQ) analyzer, PMU, event logger, etc. A solution for a home area network application is proposed in [33], where the meter unit can be installed even on single loads and measured data are transmitted through a Radio-Frequency (RF) link to a wireless terminal unit, which works as a data logger and as a human–machine interface. In [34], a prototype is presented of a device and related metering algorithms for PQ monitoring, based on the Arduino NANO V3 ATmega328 microprocessor; the proposed device is integrated into a system for power supply reliability and power quality monitoring at both sides of switching devices.
It should be noticed that, in the viewpoint of widespread diffusion of PQ measurements at the user level, the installation of sophisticated and expensive instrumentation is not economically feasible. On the other hand, low-cost devices have been proposed to implement PQ measurement tasks; in this case, such additional instrumentation should be installed alongside the currently employed energy meters or new integrated platforms should replace those already used in distribution networks. In [35], the authors have investigated an alternative approach to the problem, i.e., the possibility of implementing PQ metrics on existing smart metering platforms; thus, exploiting current installed instrumentation and hardware architectures, by only modifying firmware and implemented metrics. This allows for the zeroing of the installation costs. The integration of PQ metrics into existing smart meters could open new market opportunities for both energy traders and manufacturers; moreover, this can allow users to easily monitor the quality of supplied power, without the need to handle different metering devices.
PQ phenomena measurements and limits are covered by specific standards [36,37,38,39,40]. The main reference is the IEC 61000-4-30, which defines the methods for PQ parameter measurement and the related accuracy requirements; as regards, harmonics (and interharmonics) measurements, it refers to IEC 61000-4-7. The instrument’s compliance with such standards is crucial to enable their use for monitoring or even billing purposes. In more detail, IEC 61000-4-30 defines two classes of measurements, i.e., classes A and S (correspondent to classes I and II of IEC 61000-4-7, respectively). Class A instruments are meant to be used for contractual applications or compliance verification with allowed disturbances limits; class S instruments are allowed for statistical applications such as surveys or power quality assessment and they obviously entail processing requirements lower than those of class A.
When dealing with PQ and harmonics measurements, another important issue to be considered is the influence of measurement transducers on the metrological accuracy of the whole measurement chain (i.e., transducers plus instrument) [41,42,43,44,45,46,47]. In fact, it is known that transducers can introduce relevant uncertainty contributions, especially when measured signals are not purely sinusoidal, because of transducer nonlinearities, frequency response, and bandwidth. In this viewpoint, PQ standards do not cover the presence of measurement transducers external to the instrument, and accuracy requirements do not include the transducers contribution. This problem is considered in the technical report IEC TR 61869-103 [38], which specifically deals with the use of instrument transformers (both inductive and electronic) for power quality measurements.
Starting from the aforesaid standard requirements for PQ and harmonic measurements, this paper investigates the issues related to the integration of PQ metrics on commercial platforms for smart metering. The device used as a case study is the STCOMET by STMicroelectronics [48], which is currently used in different countries for energy meter deployment. In detail, this paper is an extension of a previous author’s work [35], where a first implementation of some PQ metrics was presented. STCOMET already implements some PQ parameter metrics, such as frequency, RMS, dips, and swells. In [35], the compliance of on-board metrics with IEC 61000-4-30 was evaluated and some correction metrics were implemented and experimentally tested. In this way, the STCOMET measurement performances of the above-mentioned PQ parameters were found compatible with the accuracy class S requirements (in some cases even class A requirements were met). This paper investigates the possibility of implementing further metrics for harmonics measurement. Taking into account the constraints due to STCOMET technical specifications, a harmonic analysis algorithm was designed and implemented. Experimental tests were performed using the reference calibrator Fluke 6100A [49], in order to evaluate the compatibility between measurement errors and standard limits, according to IEC 61000-4-7. Furthermore, the impact of external measurement transducers on the whole measurement system accuracy is also analyzed; harmonics amplitude and phase errors were evaluated with and without external current transducers, to distinguish their contribution to measurement accuracy.
The paper is organized as follows. In Section 2, STCOMET specifications are analyzed from the viewpoint of obtaining measurement compliance with standard prescriptions, highlighting the main measurement issues to be considered for each accuracy class. Section 3 describes the implementation of the different PQ metric on STCOMET, the required correction algorithms, with a special focus on harmonic analysis. Section 4 reports the experimental characterization results for voltage and current measurements, both in sinusoidal and distorted conditions; tests were carried out both with and without an external current transformer, to evaluate its influence on the final measurement accuracy.

2. STCOMET Specifications and Standards Requirements

The evaluation kit for the STCOMET platform, named EVLKSTCOMET10-1 [48], was used as a case study to demonstrate the feasibility of the PQ measurement capability of an electronic board currently used for remote energy metering. EVLKSTCOMET10-1 includes a Cortex ™ -M4 microcontroller, a metrology section, and a power line communication (PLC) transceiver in a single device. The embedded PLC coupling circuit allows the STCOMET device to transmit and receive communication signals on the low voltage mains. More in detail, single carriers or OFDM (orthogonal frequency-division multiplexing) multi-carrier signals up to 500 kHz can be selected, enabling automatic meter reading (AMR) applications. The device functional block diagram is shown in Figure 1.
As regards the measurement transducers, a resistive divider is used as a voltage sensor (Figure 2), while a shunt and a current transformer are available for current measurements (the shunt was used in experimental tests).
The metrology section includes a three-channel analog front end (AFE) with 24-bit sigma-delta converters and a dedicated digital signal processor (DSP). Available memories are: 640 kB or 1 MB of embedded Flash; 128 kB of embedded SRAM (static RAM); 8 kB of embedded shared RAM. EVLKSTCOMET10-1 metrological specifications are summarized in Table 1.
As mentioned in the introduction, IEC 61000-4-30 and IEC 61000-4-7 are the reference standards for PQ and harmonic measurements: IEC 61000-4-30 covers PQ measurement methods [36], referring to IEC 61000-4-7 for harmonics measurements [37]. Among the PQ parameters covered by the aforesaid standards, STCOMET base firmware already embeds metrics for power system frequency, voltage and current rms, and dips and swells. For those metrics, compatibility with standard requirements was analyzed in the paper, eventually suggesting correcting algorithms. The harmonic measurement metric is not available in the original firmware, thus it was developed, implemented, and tested.
According to IEC 61000-4-30, two possible classes are defined for measuring instruments: named A and S (corresponding to class I and II of IEC 61000-4-7, respectively). Class A is used when precise measurements are required (for example, in the case of billing applications that may require the resolution of disputes, detection of possible fraud, attribution of economical penalties for exceeding the standard limits, etc.) and class S is used for statistical applications (such as investigations of the origin of power quality disturbances, even with a limited subset of parameters PQ). For both classes, the base time interval (t.i.) for many measurements (voltage and current rms, harmonics, interharmonics, and unbalance) is 10/12 cycles for 50/60 Hz systems (i.e., 200 ms in the 50 Hz case). The 10/12 cycle values are then aggregated over three additional time intervals: 150/180 cycles, 10 min, and two hours.
As regards harmonic measurements, the IEC 61000-4-7 standard defines measurement requirements for harmonic distortion assessment both in terms of single harmonic component amplitudes and global parameters, such as the total harmonic distortion (THD) factor. The standard also provides indications regarding the general structure of measurement instruments, which is preferably based on the use of the discrete Fourier transform (DFT) and implemented by means of the fast Fourier transform (FFT) algorithm for shorter computation time (see Figure 3).
According to IEC 61000-4-7, the base time interval window must be synchronized to the fundamental power system frequency; the time between the leading edges of the first and the (N + 1)th sampling pulses (where N is the number of samples acquired in the observation window) shall be equal to the duration of the specified number of cycles, with a maximum allowable error of ±0.03% for class A instruments. Phase-locked loop or other synchronization systems are needed to properly generate the sampling frequency, in order to meet the aforesaid synchronization requirements. Hanning weighting is allowed only in the case of the loss of synchronization, even if in such occurrence the data shall be flagged and not used for the purpose of determining compliance with standard PQ limits.
On STCOMET, the input signal period is obtained by means of a zero-crossing method. Frequency is obtained from the period measurement. Using this method, it is necessary to filter harmonics and inter-harmonics, in order to minimize the effects of multiple zero crossings. This is in accordance with IEC 61000-4-30, which requires attenuating harmonics and inter-harmonics before measuring frequency. The STCOMET DSP calculates the period using the zero-crossing signal (ZRC) of the fundamental harmonic voltage, which is measured through a low-pass filter connected at the voltage channel. The resolution of the zero-crossing signal is 8 μs (given by the internal clock at 125 MHz); period measurement is updated every eight cycles of the input signal.
Even if the period is continuously measured, STCOMET sampling frequency cannot be synchronized to input signal frequency. In fact, as typically happens for many low-cost commercial platforms, STCOMET has a fixed sampling frequency. Thus, the synchronous sampling condition can be obtained only by properly choosing the number of acquired samples (N) in order to acquire an integer number of cycles of the input signal (10/12 cycles for the base time interval for power quality and harmonic measurements). In more detail, the STCOMET board has a fixed frequency sampling equal to fs = 7812.5 Hz (see Table 1), corresponding to a sampling period Ts = 128 µs. Considering a power system frequency of 50 Hz and the 10 cycles observation window Tw = 200 ms, the number of acquired samples is:
N = Tw × fs = 1562.5 ≈ 1563
FFT spectral resolution is:
ΔF = fs/N = 4.9984 Hz
The synchronization error, corresponding to 0.5 samples, is of E = 0.5 × Ts = 64 µs, which in percentage terms can be calculated as follows:
e% = (E/Tw) × 100 = 0.032% > 0.03% (class A limit)
Therefore, the instrument based on STCOMET cannot be classified in class A; thus, in the performed feasibility study class S requirements have been considered as a target for the implementation and verification of PQ and harmonics measurement metrics.
As regards the data aggregation over additional intervals, class S requirements are depicted in Figure 4 and Figure 5. In more detail, the data for the 150/180-cycles (i.e., 3 s) time interval shall be aggregated from fifteen contiguous 10/12-cycles (200 ms) base time intervals (see Figure 4). The aggregated data are calculated as the square root of the arithmetic mean of the squared input values measured in the base time intervals. For example, this is the case of RMS measurements. On the other hand, gaps are permitted for harmonics, inter-harmonics, mains signaling voltage, and unbalance (see Figure 5); in this case, a minimum of three 10/12-cycles values shall be used every 150/180-cycle time interval, i.e., at least one 10/12-cycles value shall be used every 50/60 cycles (1 s). This allows for the exploiting of the permitted gaps to reduce both the number of data to be aggregated (a minimum of one 10/12 cycles t.i. of every 50/60 cycles, for a total of three to mediate) and the computational time requirements. Slightly different aggregation intervals are defined in [38]; for example, 1 min aggregation intervals are considered for the assessment of voltage variations. In this framework, in [50] some comparative analyses have been made on the application of 1 and 10 min aggregation t.i., showing how the different t.i. and the requirements to have 100% of the measured data in the permissible range can pose some issues for the event assessment sensitivity, i.e., a single 1 min value can cause a negative assessment of voltage variation.
IEC 61000-4-7 accuracy requirements are reported in Table 2 for class I and class II instruments; the maximum allowable errors refer to single-frequency and steady-state signals, in the operating frequency range and under rated operating conditions indicated by the manufacturer (temperature and/or humidity ranges, rated supply voltage, etc.). No specific accuracy requirements are given for phase angle measurement.
Another important aspect to be addressed when dealing with power quality and harmonic measurements is the impact of measurement transducers. In fact, it is known that they are a key component of the measurement chain, which has a great impact on the overall measurement accuracy. In IEC 61000-4-30 the effect of transducers is acknowledged but not addressed in detail and external transducers and their associated uncertainty is not included in the accuracy requirements. The nature of this problem is better addressed in IEC TR 61869-103 [38], which specifically deals with the use of instrument transformers (both inductive and electronic) for power quality measurements. As detailed in [38], to evaluate transducer influence on the overall uncertainty on the measurement of a given power quality parameters, it is necessary to simultaneously consider the behavior of the transducer for a given disturbance and the related measurement method. Typically, the nonlinearity of the transducer can determine a worsening of the measurement uncertainty when the input signal (voltage or current) is not sinusoidal. The transducer impact on the overall uncertainty can be quantified as an added uncertainty that combines with the uncertainty of the measuring system. In this viewpoint, harmonic measurements can be negatively affected by the transducer presence, because of its frequency response (and bandwidth).
In this framework, the issues related to the implementation of harmonic analysis on STCOMET are analyzed in Section 3.2 with the aim of investigating the possibility of developing an instrument for harmonic measurements compliant with IEC 61000-4-7 accuracy requirements (class II). For phase angles measurements, quality metering specifications of IEC TR 61869-103 have [38] been used for reference; according to quality metering requirements of [38], phase errors at harmonics should be below 1° for 1st and 2nd harmonic and below 5° for other harmonics.

3. PQ Metrics Implementation on STCOMET

3.1. On-Board Metrics Compliance Verification and Correction Algorithms

As mentioned in the previous section, STCOMET already implements the measurement of: power system frequency; voltage and current RMS; and voltage dips and swells. The comparison between the IEC 61000-4-30 requirements for class S instruments and the STCOMET on-board metrics is reported in Table 3. To meet IEC 61000-4-30 requirements for on-board metrics, some correction algorithms have been implemented, as described in [35]. In brief:
For frequency measurement, the main difference between IEC 61000-4-30 requirements and STCOMET on-board metric is the measurement time (10 s vs. 8 μs, i.e., STCOMET measurements are updated every 8 μs); thus the measurement over 10 s has been obtained as the mean of the frequency values (updated at every 8 μs) over the time interval of 10 s.
For voltage/current RMS measurement, the main difference between the IEC 61000-4-30 requirements and STCOMET on-board metric is the observation window in subsequent measurements. In fact, IEC 61000-4-30 requires that the measurements shall be obtained over the base time interval (e.g., 10 cycles at 50 Hz); subsequent time intervals shall be contiguous, and not overlapping. STCOMET calculates RMS over the aforesaid base time interval; however, the RMS measurement is updated every 128 μs, i.e., once a new signal sample is available from the analog to digital converter (ADC). Thus, in the correction algorithm, the measurement reading update has been modified in order to obtain one RMS reading every 10 cycles.
Main on-board metrics modifications were made for swells, dips, and interruptions. In fact, for swells and dips, IEC 61000-4-30 requires the measurement of a pair of data, i.e., the maximum/residual/voltage (i.e., the maximum/minimum voltage value recorded during the swell/dip) and the event duration, which is the difference between start and end times of the swell/dip (i.e., the time when the voltage RMS rises above/falls below the swell/dip threshold, and the time when the voltage RMS equals or goes back below/above the threshold); in this case, the RMS shall be measured over half a cycle or one cycle (Urms(1/2) or Urms(1), respectively). For interruptions, only event duration shall be measured. The STCOMET on-board metric was very different from the IEC 61000-4-30 one. Thus, a new algorithm was implemented, based on the measurement of Urms(1), as summarized in Table 3.
The aforesaid metrics were experimentally validated in [35]. In the following, further results are reported for frequency and RMS measurements, in both sinusoidal and distorted conditions which confirm the class S requirements compliance.
As regards the metrics not already on-board on STCOMET, in this study, voltage and current harmonics measurements have been implemented and tested, as described in the next sections.

3.2. Harmonics Analysis Implementation on STCOMET

As already mentioned, the EVLKSTCOMET10-1 uses a zero-crossing method for measuring the signal period/frequency, therefore this value can be used for the synchronization of the observation window Tw of 10/12 cycles of the 50/60 Hz input signal, i.e., 200 ms. If the frequency is not 50 Hz, the window would be greater or less than 200 ms. In accordance with [37], DFT/FFT algorithms have been evaluated for harmonic analysis. DFT can be performed with any number of samples N, but it has a higher computational cost (O(N2)); on the other hand, the FFT has a much lower computational cost (O(NlogN)), however, it needs a number of samples equal to a power of two to be performed (i.e., N = 1024, 2048, etc). An analysis of the computational time required for the algorithm executions with STCOMET leads to choose FFT (DFT execution time was not compatible with timing requirements for harmonic analysis even considering gaps).
To use the FFT, the closest values for N should be 2048. On the other hand, the STCOMET has a fixed sampling frequency of 7812.5 Hz, then the acquisition of 2048 samples would lead to a not synchronous observation window (i.e., Tw = 2048 × 128 µs ≈ 262 ms ≠ 200 ms). Thus, a time-domain interpolation algorithm has been implemented to obtain N = 2048 samples over the time interval of 10 cycles.
Figure 6 shows a flow chart representing the operations of the algorithm implemented on STCOMET.
  • Starting from the measurement of the signal period Tsignal (carried out by STCOMET via zero-crossing, ZRC), an observation window equal to Tw = 10 Tsignal is set (for example, in the case of a 50 Hz signal, Tsignal = 20 ms, Tw = 200 ms).
  • The number of samples to be acquired and used for the algorithm is set: N = Tw × fs, where fs = 7812.5 Hz is the STCOMET sampling frequency (M = 1562.5 samples, rounding to the upper integer, i.e., 1563).
  • The time-domain interpolation of the acquired N samples is carried out to obtain 2048 samples for the FFT algorithm (a simple linear interpolation algorithm was used in the implementation, to minimize the computational cost). A virtual sampling frequency is determined, fs_virtual, which, in the same observation window Tw, would lead to the acquisition of the aforesaid 2048 samples:
fs_virtual = 2048/Tw
In the case of Tw = 200 ms, fs_virtual = 10,240 Hz.
4.
The FFT is calculated on the 2048 samples.
As regards the memory requirements, in the case of f = 50 Hz, Tw = 200 ms, and fs = 7812.5 Hz, the number of samples acquired is M = Tw/fs = 1563, so the number of bytes allocated in the STCOMET memory for samples storage is:
K = 1563 × 32 = 6.252 kB
Considering that for the FFT calculation it is necessary to store 2048 samples (with both real and imaginary part), memory occupation is equal to 2048 × 32 × 2 = 16 kB. Furthermore, to allow the acquisition of samples of the subsequent observation window while performing the FFT calculation, it is necessary to instantiate a second register of 16 kB size. This was made in order to investigate the possibility of harmonic measurements without gaps between the observation windows. In summary, 32 kB are needed for samples storage and the FFT calculation algorithm; this requirement is compliant with STCOMET features, since the device has a RAM of 128 kB.
In this way, whatever the input signal period is, the algorithm is able to virtually synchronize the observation window, in order to minimize the synchronization error. In addition, the “virtual re-sampling” of the signal allows for the calculation of the FFT on 2048 samples in the observation window of 10 signal periods, thus minimizing leakage and scallop loss errors. The adoption of a simple linear interpolation algorithm allows for the limiting of the computational cost of the harmonic calculation (FFT + interpolation). To demonstrate this, the FFT computation time was experimentally measured, both with and without the interpolation; as shown in Figure 7, the overall time needed for FFT with interpolation is 11.4 ms (a time of 9.6 ms was measured in the case of FFT calculation without interpolation). It should be noted that while executing the interpolation and FFT algorithms, the device continues acquiring the samples of the subsequent observation window, which are stored in memory for the next FFT calculation.
Figure 8 shows the plots of the FFT calculated by STCOMET without interpolation (a) and with interpolation (b) (test with sinusoidal voltage, f = 50 Hz, Vrms = 230 V); as expected, the use of interpolation drastically reduces leakage and scallop loss errors.

4. Experimental Results

4.1. Test System

A measuring test bench was been set up as shown in Figure 9. To evaluate the PQ measurement performances, a calibrator was used as a reference for both voltage and current. The calibrator model used for experimental tests was the Fluke 6100A. Full accuracy specifications of the calibrator for PQ parameters are reported in the instrument manual [48]. Main accuracy specifications for the tests herein presented are the following: 50 ppm for frequency (setting the resolution to 0.1 Hz); up to ± (190 ppm of output + 33 mV) for fundamental and harmonic voltage amplitudes in the range from 70 to 1008 V for frequencies from 16 to 850 Hz and ± (524 ppm of output + 33 mV) for frequencies from 850 Hz to 6 kHz; up to ± (267 ppm of output + 720 μA) for fundamental and harmonic current amplitudes in the range from 2 to 21 A for frequencies from 16 to 850 Hz; up to 0.080° for current to voltage phase shift, for frequencies from 16 to 850 Hz and amplitudes from 0.5% to 40% of range. For the feasibility study presented in this work, the calibrator was assumed as a reference for the STCOMET characterization; for each measured quantity, the measurement system error was calculated as the difference between the value set on the calibrator and that measured with STCOMET.
Voltage measurements were directly acquired by STCOMET. To investigate the impact of external measurement transducers, current measurements were carried out with and without an external current transformer (CT); in both cases, the STCOMET current channel with internal shunt was used. The external current transformer is an open window CT used by Italian utilities to connect energy meters to low voltage distribution networks. The CT-rated data are summarized in Table 4. The window diameter is 3 cm. The EVLKSTCOMET10-1 has been connected to a PC via USB JTAG J-linkOB. STCOMET firmware was updated with both the corrected on-board metrics and the harmonic analysis algorithm using the IAR Embedded Workbench.
Tests were carried out reproducing different PQ phenomena (harmonics, dips, and swell interruptions) and for different frequencies of the test signal (in the range of 42.5 ÷ 57.5 Hz). Some results for dips, swells, and interruptions can be found in [35]. In the following sections, some results for frequency and voltage/current RMS and harmonics measurements are presented. For current measurements, both amplitudes and phase errors are shown.

4.2. Voltage Measurements

Tests have been made in both sinusoidal and distorted conditions.
Results obtained with the FFT algorithm are shown, together with RMS and frequency measurements; as already mentioned, errors between values generated by the calibrator and those measured by STCOMET are calculated and compared with IEC 61000-4-30 and IEC 61000-4-7 accuracy requirements. In more detail, calculated errors are listed in Table 5.
where:
  • f_FFT e V_FFT are frequency and amplitude (in RMS) measured by STCOMET (fundamental and harmonics);
  • f_gen e V_gen are frequency and amplitude (in RMS) generated by the calibrator (fundamental and harmonics).
Some results of tests with sinusoidal voltage are reported in Table 6, for different frequency values (50, 42.5, and 57.5 Hz). Figure 10, Figure 11 and Figure 12 show the spectra obtained at the three frequencies 50, 42.5, and 57.5 Hz, respectively. The obtained errors are compatible with the limits set by IEC 61000-4-30 for class S instruments (equal to ±50 mHz and ±0.5% for frequency and RMS measurements, respectively).
Further tests were performed with distorted voltage signals, with 25 harmonics, choosing the harmonic amplitudes equal to the limit values for electrical networks reported in CEI EN 50160 [40] and shown in Table 7. The voltage of the fundamental harmonic generated by the calibrator was V1 = 230 V and the RMS voltage was V = 231.47 V. The tests were carried out for different frequency values.
In Table 8, the results of the first test performed at a fundamental frequency f1 = 50 Hz are reported. As can be seen, the measurement results are within the class S requirements (for frequency also class A requirements are met).
The measured errors for each harmonic are reported in Table 9. Comparing these values with that of the limits reported in Table 2, it is possible to observe that the measuring system is compatible with the class II requirements (in some cases measurement results comply also with class I limits).
  • f_gen is the frequency generated by the calibrator;
  • V_gen is the voltage generated by the calibrator;
  • f_FFT is the frequency measured using the FFT algorithm;
  • E is the absolute error between f_FFT and f_gen expressed in mHz;
  • V_FFT is the measured voltage;
  • Em is the error on the measured value calculated (see Table 2);
  • En is the error on the nominal value (see Table 2).
The same test with 25 harmonics was repeated for different signal frequencies. Some results are reported in the following tables for 42.5 Hz (see Table 10 and Table 11) and 57.5 Hz (see Table 12 and Table 13). Even in these cases, measurement results are within the class S maximum allowable errors for RMS and frequency and they are compatible with the class II requirements for harmonic measurements (for frequency also class A requirements are met and in many cases errors on harmonics are within class I limits).
Further tests were carried out by changing the phase shift between harmonic and fundamental components of the voltage test signal. This allowed for the investigation of the influence of harmonic phase shift, which can negatively affect the measurement accuracy, especially in the presence of measurement transducers. Tests herein presented were performed with a distorted voltage with fundamental frequency f1 = 50 Hz, fundamental amplitude V1 = 230 V, and four harmonics, i.e., the II, III, VI, and XI order harmonics. Each harmonic has an amplitude equal to 10% of the fundamental. For each harmonic, phase shift with respect to the fundamental harmonic was changed from −180° to +180°, with steps of 30°. Table 14 and Table 15 show amplitude and phase errors in harmonic voltage measurements, respectively. It can be seen that the proposed measurement system complies with class I requirements.

4.3. Current Measurements

The tests made for voltage were repeated also for currents. As regards RMS and FFT measurements, the results obtained were similar to those obtained for voltage measurements.
The tests with harmonics at different phase-shifts were carried out with and without the external CT, in order to investigate not only the STCOMET behavior in current measurements but also the external CT influence on the measurement results. Tests herein presented were carried out at 50 Hz, with fundamental current amplitude I1 = 5A; II, III, VI, and XI order harmonics have been considered, with an amplitude equal to the 10% of fundamental current and variable phase shift from −180° to +180°, with steps of 30°.
Table 16 and Table 17 show amplitude and phase errors in harmonic current measurements, respectively, for the tests without the external CT. Also, in this case, the proposed measurement system complies with class I requirements.
The aforesaid tests were repeated with the external CT, whose secondary winding was connected to the on-board shunt (see test bench of Figure 9). To obtain the rated current (125 A), a 10-turns primary winding was set up. Each turn had a very large diameter compared to the CT window diameter. Moreover, the 10 loops of the winding were wound in a compact group, with a small section compared to the CT window area. In this way, the current generated by the calibrator was 12.5 A and it had the same magnetic effects as a 125 A equivalent current flowing in a single cable.
Table 18 and Table 19 show amplitude and phase errors in current measurements, respectively. It can be seen that the measured errors are higher in comparison to those of Table 16 and Table 17 because they are strongly influenced by the CT behavior. Moreover, they have a large variability with the harmonic phase shift with respect to fundamental. This behavior is in agreement with what was found in previous works on the CT metrological performances in distorted conditions [47].

5. Conclusions

The paper has verified the possibility to implement PQ metrics into smart meters used for remote energy metering purposes. The aim of this feasibility study was to demonstrate that PQ distributed monitoring can be performed in a distribution network without replacing already installed smart meters or adding new PQ modules. In fact, the proposed solution entails a firmware upgrade, which implements the power quality metrics using the available calculation capabilities. Moreover, using the metering infrastructure already installed and the power line communication capabilities of the smart meters, PQ measurements can be collected, and statistical analysis can be performed all over distribution networks.
The feasibility of PQ metrics implementation in smart meters was demonstrated by choosing the real case study of STCOMET, an electronic board widely used for remote energy metering purposes in different countries. Starting from an analysis of the electronic board specifications, it was verified that the fixed sampling frequency value results in a synchronization error outside class A requirements. Thus, class S instrument prescriptions were considered as a reference both for PQ metrics and for data aggregation over additional intervals. Different correction algorithms of on-board metrics were implemented in order to comply with standard requirements for each parameter to be measured, i.e., frequency, voltage, and current RMS; voltage dips and swells. As regards harmonic measurements, the considered board has no predefined metrics. Thus, different solutions were considered for harmonic analysis implementation. The analysis led to the choice of the FFT algorithm with interpolation. In this way, the signal is “virtually re-sampled” minimizing leakage and scallop loss errors. The adoption of a simple linear interpolation algorithm allows for the limiting of the computational cost of the harmonic calculation (FFT + interpolation), which is compatible with the board capabilities. Moreover, the calculation times were measured and found to be compatible with standard requirements, thus confirming the feasibility of the proposed solution. The compliance with accuracy standard requirements was then verified with experimental tests. Different distorted conditions were tested, varying the frequency of the signal and the harmonic content, in terms of both harmonic component amplitudes and phase shifts. Summarizing the results of all the tested cases, the study has shown that correction algorithms applied to on-board metrics allowed for the meeting of IEC 61000-4-30 requirements for class S instruments for the following measurement quantities: frequency; voltage and current, RMS; interruptions, voltage dips, and swells. Moreover, thanks to the developed harmonic measurement algorithm, the smart meter fulfills the class II requirements for harmonic measurements according to IEC 61000-4-7. In many cases, errors on harmonics were even found within class I limits. However, the compatibility with class S and class II requirements grants that smart meters enhanced with the developed firmware can be correctly used for statistical applications, such as surveys or power quality assessment all over an LV network. In this viewpoint, future work will be focused on using these new measurement capabilities in a distributed measurement architecture, developing and testing new algorithms for fault detection and fault diagnosis, extensive power quality surveys, and harmonic distortion assessment.
Finally, some tests were performed to study the effect on harmonic measurements of additional external transducers, specifically a current transformer used to couple energy meters to LV networks. As expected, larger errors were found which have a larger variability with harmonic phase shift with respect to fundamental. Future work will be focused on implementing on-board correction techniques of CT errors in distorted condition, thus reducing the total uncertainty associated with the whole measurement chain.

Author Contributions

Conceptualization, A.C., V.C., D.D.C., N.D., and G.T.; data curation, G.A., S.G., N.P., and G.C.; investigation, A.C., V.C., D.D.C., and G.T.; methodology, A.C., V.C., D.D.C., N.P., N.D., and G.T.; software, G.A., S.G., N.P., and G.C.; supervision, A.C., V.C., D.D.C., M.G.S., and G.T.; validation, G.A., A.C., V.C., D.D.C., S.G., N.P., G.C., M.G.S., and G.T.; writing—original draft, G.A., S.G., N.P., and G.C.; writing—review and editing, A.C., V.C., D.D.C., N.D., M.G.S., and G.T. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the following grant: PO FESR Sicilia 2014–2020, Action 1.1.5, Project n. 08000PA90246, Project acronym: I-Sole, Project title: “Smart grids per le isole minori (Smart grids for small islands)”, CUP: G99J18000540007.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Kabalci, Y. A survey on smart metering and smart grid communication. Renew. Sustain. Energy Rev. 2016, 57, 302–318. [Google Scholar] [CrossRef]
  2. O’Driscoll, E.; O’Donnell, G.E. Industrial power and energy metering—A state-of-the-art review. J. Clean. Prod. 2013, 41, 53–64. [Google Scholar] [CrossRef]
  3. Bayram, I.S.; Ustun, T.S. A survey on behind the meter energy management systems in smart grid. Renew. Sustain. Energy Rev. 2017, 72, 1208–1232. [Google Scholar] [CrossRef]
  4. Mlakić, D.; Baghaee, H.R.; Nikolovski, S.; Vukobratović, M.; Balkić, Z. Conceptual design of iot-based amr systems based on iec 61850 microgrid communication configuration using open-source hardware/software ied. Energies 2019, 12, 4281. [Google Scholar] [CrossRef] [Green Version]
  5. Elgenedy, M.; Papadopoulos, T.A.; Galli, S.; Chrysochos, A.I.; Papagiannis, G.K.; Al-Dhahir, N. MIMO-OFDM NB-PLC designs in underground medium-voltage networks. IEEE Syst. J. 2019, 13, 3759–3769. [Google Scholar] [CrossRef]
  6. Bali, M.C.; Rebai, C. Improved maximum likelihood S-FSK receiver for PLC modem in AMR. J. Electr. Comput. Eng. 2012, 2012, 452402. [Google Scholar] [CrossRef] [Green Version]
  7. Kim, K.; Jin, S.-I. Branch-Based centralized data collection for smart grids using wireless sensor networks. Sensors 2015, 15, 11854–11872. [Google Scholar] [CrossRef] [Green Version]
  8. Martinez-Sandoval, R.; Garcia-Sanchez, A.-J.; Garcia-Sanchez, F.; Garcia-Haro, J.; Flynn, D. A comprehensive wsn-based approach to efficiently manage a smart grid. Sensors 2014, 14, 18748–18783. [Google Scholar] [CrossRef] [Green Version]
  9. Fan, H.; Liu, Y.; Zeng, Z. Decentralized privacy-preserving data aggregation scheme for smart grid based on blockchain. Sensors 2020, 20, 5282. [Google Scholar] [CrossRef]
  10. Lu, S.; Repo, D.G.; Della, F.A.; Figuerola, A.L.; Pikkarainen, M. Real-time low voltage network monitoring-ICT architecture and field test experience. IEEE Trans. Smart Grid 2015, 6, 2002–2012. [Google Scholar] [CrossRef]
  11. Pereira, R.; Figueiredo, J.; Melicio, R.; Mendes, V.M.F.; Martins, J.; Quadrado, J.C. Consumer energy management system with integration of smart meters. Energy Rep. 2015, 1, 22–29. [Google Scholar] [CrossRef] [Green Version]
  12. Cataliotti, A.; Cosentino, V.; di Cara, D.; Guaiana, S.; Panzavecchia, N.; Tine, G. A new solution for low-voltage distributed generation interface protection system. IEEE Trans. Instrum. Meas. 2015, 64, 2086–2095. [Google Scholar] [CrossRef]
  13. Artale, G.; Caravello, G.; Cataliotti, A.; Cosentino, V.; Di Cara, D.; Guaiana, S.; Nguyen Quang, N.; Palmeri, M.; Panzavecchia, N.; Tinè, G. A virtual tool for load flow analysis in a micro-grid. Energies 2020, 13, 3173. [Google Scholar] [CrossRef]
  14. Castello, P.; Ferrari, P.; Flammini, A.; Muscas, C.; Pegoraro, P.A.; Rinaldi, S. A distributed pmu for electrical substations with wireless redundant process bus. IEEE Trans. Instrum. Meas. 2015, 64, 1149–1157. [Google Scholar] [CrossRef]
  15. Delle Femine, A.; Gallo, D.; Landi, C.; Luiso, M. The design of a low cost phasor measurement unit. Energies 2019, 12, 2648. [Google Scholar] [CrossRef] [Green Version]
  16. Tosato, P.; Macii, D.; Luiso, M.; Davide, B.; Daniele, G.; Carmine, L. A tuned lightweight estimation algorithm for low-cost phasor measurement units. IEEE Trans. Instrum. Meas. 2018, 67, 1047–1057. [Google Scholar] [CrossRef]
  17. Castello, P.; Ferrero, R.; Pegoraro, P.A.; Toscani, S. Effect of unbalance on positive-sequence synchrophasor, frequency, and rocof estimations. IEEE Trans. Instrum. Meas. 2018, 67, 1036–1046. [Google Scholar] [CrossRef] [Green Version]
  18. Pegoraro, P.A.; Meloni, A.; Atzori, L.; Castello, P.; Sulis, S. PMU-Based distribution system state estimation with adaptive accuracy exploiting local decision metrics and iot paradigm. IEEE Trans. Instrum. Meas. 2017, 66, 704–714. [Google Scholar] [CrossRef] [Green Version]
  19. Cataliotti, A.; Cervellera, C.; Cosentino, V.; Di Cara, D.; Gaggero, M.; Maccio, D.; Marsala, G.; Ragusa, A.; Tine, G. An improved load flow method for MV networks based on LV load measurements and estimations. IEEE Trans. Instrum. Meas. 2018, 68, 430–438. [Google Scholar] [CrossRef]
  20. Cataliotti, A.; Cosentino, V.; Di Cara, D.; Tinè, G. LV Measurement device placement for load flow analysis in mv smart grids. IEEE Trans. Instrum. Meas. 2016, 65, 999–1006. [Google Scholar] [CrossRef]
  21. Artale, G.; Cataliotti, A.; Cosentino, V.; Di Cara, D.; Guaiana, S.; Telaretti, E.; Panzavecchia, N.; Tinè, G. Incremental heuristic approach for meter placement in radial distribution systems. Energies 2019, 12, 3917. [Google Scholar] [CrossRef] [Green Version]
  22. Rinaldi, S.; Della Giustina, D.; Ferrari, P.; Flammini, A. Distributed monitoring system for voltage dip classification over distribution grid. Sustain. Energy Grids Netw. 2016, 6, 70–80. [Google Scholar] [CrossRef]
  23. Bucci, G.; Ciancetta, F.; D’Innocenzo, F.; Fiorucci, E.; Ometto, A. Development of a low cost power meter based on a digital signal controller. Int. J. Emerg. Electr. Power Syst. 2018, 19. [Google Scholar] [CrossRef]
  24. De Souza, W.A.; Marafao, F.P.; Liberado, E.V.; Diniz, I.S.; Serni, P.J.A. Power quality, smart meters and additional information from different power terms. IEEE Latin America Trans. 2015, 13, 158–165. [Google Scholar] [CrossRef] [Green Version]
  25. Morales-Velazquez, L.; de Jesus Romero-Troncoso, R.; Herrera-Ruiz, G.; Morinigo-Sotelo, D.; Osornio-Rios, R.A. Smart sensor network for power quality monitoring in electrical installations. Measurement 2017, 103, 133–142. [Google Scholar] [CrossRef]
  26. Caramia, P.; Carpinelli, G.; Verde, P. Power Quality Indices in Liberalized Markets; John Wiley & Sons, Ltd.: Chichester, UK, 2009. [Google Scholar]
  27. Viciana, E.; Alcayde, A.; Montoya, F.G.; Baños, R.; Arrabal-Campos, F.M.; Zapata-Sierra, A.; Manzano-Agugliaro, F. OpenZmeter: An efficient low-cost energy smart meter and power quality analyzer. Sustainability 2018, 10, 4038. [Google Scholar] [CrossRef] [Green Version]
  28. Viciana, E.; Alcayde, A.; Montoya, F.G.; Baños, R.; Arrabal-Campos, F.M.; Manzano-Agugliaro, F. An open hardware design for internet of things power quality and energy saving solutions. Sensors 2019, 19, 627. [Google Scholar] [CrossRef] [Green Version]
  29. Tomesc, L.; Dobra, P.; Abrudean, M. Low-cost power quality analyzer. IFAC Proc. 2007, 40, 157–162. [Google Scholar] [CrossRef]
  30. Leccese, F.; Cagnetti, M.; Di Pasquale, S.; Giarnetti, S.; Caciotta, M. A new power quality instrument based on raspberry-pi. Electronics 2016, 5, 64. [Google Scholar] [CrossRef] [Green Version]
  31. Castello, P.; Muscas, C.; Pegoraro, P.A.; Sulis, S. Low-cost energy meter with power quality functionalities. In Proceedings of the 24th Imeko TC 4 International Symposium and 22nd International Workshop on ADC and DAC Modelling and Testing, IMEKO TC-4, Palermo, Italy, 14–16 September 2020. [Google Scholar]
  32. Atalik, T.; Cadirci, I.; Demirci, T.; Ermis, M.; Inan, T.; Kalaycioglu, A.S.; Salor, Ö. Multipurpose platform for power system monitoring and analysis with sample grid applications. IEEE Trans. Instrum. Meas. 2014, 63, 566–582. [Google Scholar] [CrossRef]
  33. Rodrigues, E.M.G.; Godina, R.; Shafie-Khah, M.; Catalão, J.P.S. Experimental results on a wireless wattmeter device for the integration in home energy management systems. Energies 2017, 10, 398. [Google Scholar] [CrossRef] [Green Version]
  34. Bolshev, V.; Vinogradov, A.; Jasiński, M.; Sikorski, T.; Leonowicz, Z.; Gono, R. Monitoring the number and duration of power outages and voltage deviations at both sides of switching devices. IEEE Access 2020, 8, 137174–137184. [Google Scholar] [CrossRef]
  35. Artale, G.; Cataliotti, A.; Cosentino, V.; Guaiana, S.; Di Cara, D.; Panzavecchia, N.; Tine, G.; Dipaola, N.; Sambataro, M.G. PQ Metrics Implementation on Low Cost Smart Metering Platforms. A Case Study Analysis. In Proceedings of the 9th IEEE International Workshop on Applied Measurements for Power Systems, Bologna, Italy, 26–28 September 2018. [Google Scholar]
  36. IEC 61000-4-30, 2015. Electromagnetic Compatibility (EMC)—Part 4-30: Testing and Measurement Techniques—Power Quality Measurement Methods; IEC: Geneva, Switzerland, 2015. [Google Scholar]
  37. IEC 61000-4-7, 2002. Electromagnetic Compatibility (EMC)—Part 4-7: Testing and Measurement Techniques—General Guide on Harmonics and Interharmonics Measurements and Instrumentation, for Power Supply Systems and Equipment Connected Thereto; IEC: Geneva, Switzerland, 2002. [Google Scholar]
  38. IEC/TR 61869-103:2012. Instrument Transformers—The Use of Instrument Transformers for Power Quality Measurements; IEC: Geneva, Switzerland, 2012. [Google Scholar]
  39. IEEE Standard 1459, 2010. IEEE Standard Definitions for the Measurement of Electric Power Quantities under Sinusoidal, Nonsinusoidal, Balanced, or Unbalanced Conditions; IEEE: New York, NY, USA, 2010. [Google Scholar]
  40. European Standard EN 50160: 2015. Voltage Characteristics of Electricity Supplied by Public Electricity Networks; CENELEC: Brussels, Belgium, 2015. [Google Scholar]
  41. Crotti, G.; Gallo, D.; Giordano, D.; Landi, C.; Luiso, M. A characterized method for the real-time compensation of power system measurement transducers. IEEE Trans. Instrum. Meas. 2015, 64, 1398–1404. [Google Scholar] [CrossRef]
  42. Delle Femine, A.; Gallo, D.; Landi, C.; Lo Schiavo, A.; Luiso, M. Low Power Contactless Voltage Sensor for Low Voltage Power Systems. Sensors 2019, 19, 3513. [Google Scholar] [CrossRef] [Green Version]
  43. Faifer, M.; Laurano, C.; Ottoboni, R.; Toscani, S.; Zanoni, M. Harmonic distortion compensation in voltage transformers for improved power quality measurements. IEEE Trans. Instrum. Meas. 2019, 68, 3823–3830. [Google Scholar] [CrossRef]
  44. Collin, A.J.; Femine, A.D.; Gallo, D.; Langella, R.; Luiso, M. Compensation of current transformers’ nonlinearities by tensor linearization. IEEE Trans. Instrum. Meas. 2019, 68, 3841–3849. [Google Scholar] [CrossRef]
  45. Faifer, M.; Laurano, C.; Ottoboni, R.; Toscani, S.; Zanoni, M.; Crotti, G.; Giordano, D.; Barbieri, L.; Gondola, M.; Mazza, P. Overcoming frequency response measurements of voltage transformers: An approach based on quasi-sinusoidal volterra models. IEEE Trans. Instrum. Meas. 2018, 68, 2800–2807. [Google Scholar] [CrossRef]
  46. Mingotti, A.; Peretto, L.; Tinarelli, R. A smart frequency domain-based modeling procedure of rogowski coil for power systems applications. IEEE Trans. Instrum. Meas. 2020, 69, 6748–6755. [Google Scholar] [CrossRef]
  47. Cataliotti, A.; Cosentino, V.; Crotti, G.; Delle Femine, A.; Di Cara, D.; Gallo, D.; Giordano, D.; Landi, C.; Luiso, M.; Modarres, M. Compensation of nonlinearity of voltage and current instrument transformers. IEEE Trans. Instrum. Meas. 2019, 68, 1322–1332. [Google Scholar] [CrossRef]
  48. AN4732, Application Note. STCOMET Smart Meter and Power Line Communication System-on-Chip Development Kit; STMIcroelectronics: Geneva, Switzerland, September 2017. [Google Scholar]
  49. Fluke 6100A Electrical Power Standard, Users Manual, Version 6.0; Fluke Corporation: Everett, WA, USA, December 2008.
  50. Jasiński, M.; Sikorski, T.; Kostyła, P.; Kaczorowska, D.; Leonowicz, Z.; Rezmer, J.; Szymańda, J.; Janik, P.; Bejmert, D.; Rybiański, M.; et al. Influence of measurement aggregation algorithms on power quality assessment and correlation analysis in electrical power network with PV power plant. Energies 2019, 12, 3547. [Google Scholar] [CrossRef] [Green Version]
Figure 1. EVLKSTCOMET10-1 functional block diagram.
Figure 1. EVLKSTCOMET10-1 functional block diagram.
Sensors 20 06361 g001
Figure 2. EVLKSTCOMET10-1 metrology reference application schematics.
Figure 2. EVLKSTCOMET10-1 metrology reference application schematics.
Sensors 20 06361 g002
Figure 3. General structure of the IEC 61000-4-7 instrument.
Figure 3. General structure of the IEC 61000-4-7 instrument.
Sensors 20 06361 g003
Figure 4. Aggregation intervals for Class S: parameters for which gaps are not permitted.
Figure 4. Aggregation intervals for Class S: parameters for which gaps are not permitted.
Sensors 20 06361 g004
Figure 5. Aggregation intervals for class S: parameters for which gaps are permitted.
Figure 5. Aggregation intervals for class S: parameters for which gaps are permitted.
Sensors 20 06361 g005
Figure 6. Flow operations performed by STCOMET.
Figure 6. Flow operations performed by STCOMET.
Sensors 20 06361 g006
Figure 7. Time measured for the FFT calculation FFT.
Figure 7. Time measured for the FFT calculation FFT.
Sensors 20 06361 g007
Figure 8. (a) FFT without interpolation; (b) FFT with interpolation.
Figure 8. (a) FFT without interpolation; (b) FFT with interpolation.
Sensors 20 06361 g008
Figure 9. Test bench.
Figure 9. Test bench.
Sensors 20 06361 g009
Figure 10. FFT plot values obtained with STCOMET using interpolation (V = 230 V, f = 50 Hz).
Figure 10. FFT plot values obtained with STCOMET using interpolation (V = 230 V, f = 50 Hz).
Sensors 20 06361 g010
Figure 11. FFT plot values obtained with STCOMET using interpolation (V = 230 V, f = 42.5 Hz).
Figure 11. FFT plot values obtained with STCOMET using interpolation (V = 230 V, f = 42.5 Hz).
Sensors 20 06361 g011
Figure 12. FFT plot values obtained with STCOMET using interpolation (V = 230 V, f = 57.5 Hz).
Figure 12. FFT plot values obtained with STCOMET using interpolation (V = 230 V, f = 57.5 Hz).
Sensors 20 06361 g012
Table 1. EVLKSTCOMET10-1 metrological main specifications.
Table 1. EVLKSTCOMET10-1 metrological main specifications.
ParameterValue
Nominal input voltage230 V
Nominal line current5 A
Nominal input frequency50/60 Hz
Sampling frequency (Fs)7.8125 kHz
Bandwidth (–3 dB)0–3.6 kHz
Voltage/current RMS accuracy0.5%
Table 2. Maximum errors of voltage and current according to IEC 61000-4-7.
Table 2. Maximum errors of voltage and current according to IEC 61000-4-7.
ClassMeasurementConditionsMaximum Error
IVoltage U m 1 %   U n o m
U m < 1 %   U n o m
± 5 %   U m
± 0.05 %   U n o m
Current I m 3 %   I n o m
I m < 3 %   I n o m
± 5 %   I m
± 0.15 %   I n o m
Power P m 150 W
P m < 150 W
± 1 %   P m
± 1.5 W
IIVoltage U m 3 %   U n o m
U m < 3 %   U n o m
± 5 %   U m
± 0.15 %   U n o m
Current I m 10 %   I n o m
I m < 10 %   I n o m
± 5 %   I m
± 0.5 %   I n o m
Table 3. STCOMET on-board metrics vs. IEC 61000-4-30 requirements (class S) [33].
Table 3. STCOMET on-board metrics vs. IEC 61000-4-30 requirements (class S) [33].
ParameterIEC 61000-4-30STCOMET Metric Main FeaturesCorrection Algorithms
Measurement RangeTime Interval (t.i.)Maximum Error
Frequency
Period
42.5 ÷ 57.5 Hz
(for 50 Hz syst.)
10 s
(not overlapping)
Number of integer cycles during the 10-s t.i. divided by their cumulative duration
Harmonics and interharmonics are attenuated
Measurement from zero-crossing (voltage channel, with a low pass filter).
Frequency range between 32.55 and 81.38 Hz
Resolution of 8 μs
Period is calculated as the mean of the last eight measured periods
Single frequency value is obtained as period reciprocal (on-board metric)
Frequency measurement is calculated as the mean of the single frequency values over 10 s
RMS20 ÷ 120% Udin200 ms
(10 cycles for 50 Hz)
no gaps
The r.m.s. value includes, by definition, harmonics, interharmonics, etc.
Every 10/12-cycle interval shall be contiguous and not overlapping
Not used for dips, swells, voltage interruptions, and transients
RMS measurement is obtained from voltage/current samples
Voltage/current are not filtered
Integration time is 10 cycles
RMS value is updated every 128 μs
No modifications of on-board metric
Measurement reading is updated every 10 cycles, in order to have not overlapping t.i.
Dips
Swells
Interruptions
------
The basic measurement shall be the RMS over a half cycle or full cycle (Urms(1/2) or Urms(1))
Measured data are maximum/residual voltage (i.e., the max./min. voltage value during the event) and duration (i.e., the difference between start and end times of the event)
For interruptions only duration is measured
The fundamental component of voltage (RMS) is compared to a 10-bit threshold
An internal time counter is incremented until the momentary voltage value is below/above the threshold
Maximum/residual voltage is not calculated
Interruptions measurement is not on-board
(Urms(1)) has been implemented
Urms(1) is compared with the event threshold to obtain event start, end, and duration
An internal counter is incremented until Urms(1) value is below/above the threshold
Urms(1) measurement is used to store the residual/max. voltage
Harmonics10 ÷ 100% of harmonic limits, up to 40th order200 ms (gaps allowed)
± 0.03%
max. synchr. error
(optional)
DFT/FFT
t.i. synchronized to the power system frequency
Rectangular window (Hanning in case of loss of synchronization
Not on-board
New algorithm (see Section 3.2)
Table 4. External current transformer rated data.
Table 4. External current transformer rated data.
CT
Transformer ratio125/5 A/A
Standard burden2.5 VA
Class0.5
Rated frequency50 Hz
Rated voltage400 V
Table 5. Error definitions.
Table 5. Error definitions.
ParameterDescription
E = |f_FFT − f_gen|Error, in mHz, on the frequency measurements both for fundamental and harmonics obtained via FFT
e% = 100 × |V_FFT − V_gen|/V_genPercentage error on amplitude measurements obtained via FFT (fundamental and harmonics of amplitude greater than 3% of the rated voltage, V_nom, i.e., 230 V)
e% = 100 × |V_FFT − V_gen|/V_nomPercentage error on amplitude measurements obtained through FFT (harmonics of amplitude less than 3% of the nominal voltage V_nom)
Table 6. Voltage measurements in sinusoidal tests at different frequencies.
Table 6. Voltage measurements in sinusoidal tests at different frequencies.
Calibrator SettingsSTCOMET Measurements and Related Errors
Output FFT
f_gen
(Hz)
V_gen
(V)
f1_FFT
(Hz)
E
(mHz)
V1_FFT
(V)
e%
50.023050.00000.0229.260.32
42.523042.50252.5229.280.31
57.523057.52424229.270.31
Table 7. CEI EN 50160—harmonic voltages amplitudes at the power supply terminals (% of the fundamental voltage).
Table 7. CEI EN 50160—harmonic voltages amplitudes at the power supply terminals (% of the fundamental voltage).
Odd HarmonicsEven Harmonics
Non-Multiple of 3Multiple of 3
Harmonic Order hRelative Amplitude UhHarmonic Order hRelative Amplitude UhHarmonic Order hRelative Amplitude Uh
56.0%35.0%22.0%
75.0%91.5%41.0%
113.5%150.5%6…240.5%
133.0%210.5%
172.0%
191.5%
231.5%
251.5%
Table 8. RMS and frequency measurement results. Distorted voltage signal with 25 harmonics, f1 = 50 Hz.
Table 8. RMS and frequency measurement results. Distorted voltage signal with 25 harmonics, f1 = 50 Hz.
Supply ValuesMeasured ValueError Maximum Error IEC 61000-4-30Class A/S
RMS231.47 (V)230.70 (V)0.33%±0.5% U d i n 1S
Frequency50.0 (Hz)50.0000 [Hz]0.0 (mHz)±10 mHzA
1 U d i n is the declared supply voltage.
Table 9. FFT results. Distorted voltage signal with 25 harmonics; f1 = 50 Hz.
Table 9. FFT results. Distorted voltage signal with 25 harmonics; f1 = 50 Hz.
f_genV_genV_genf_FFTEV_FFTEmEnClass IClass IIClass
(Hz)(V)(%)(Hz)(mHz)(V)(%)(%)LimitsLimitsLimits
150230100%50.00000.0229.250.33%0.32%TrueTrueI
21004.62.0%100.0000.04.5860.30%0.006%TrueTrueI
315011.55.0%150.0000.011.4600.35%0.017%TrueTrueI
42002.31.0%200.0000.02.2890.48%0.005%TrueTrueI
525013.86.0%250.0000.013.7050.69%0.041%TrueTrueI
63001.150.5%300.0000.01.1390.98%0.005%TrueTrueI
735011.55.0%350.0000.011.381.0%0.051%TrueTrueI
84001.150.5%400.0000.01.1361.3%0.006%TrueTrueI
94503.451.5%450.0000.03.4021.4%0.021%TrueTrueI
105001.150.5%500.0000.01.1301.8%0.009%TrueTrueI
115508.053.5%550.0000.07.8902.0%0.070%TrueTrueI
126001.150.5%600.0000.01.1242.2%0.011%TrueTrueI
136506.93.0%650.0000.06.7202.6%0.079%TrueTrueI
147001.150.5%700.0000.01.1153.1%0.015%TrueTrueI
157501.150.5%750.0000.01.1133.2%0.016%TrueTrueI
168001.150.5%800.0000.01.1063.8%0.019%TrueTrueI
178504.62.0%850.0000.04.404.3%0.086%TrueTrueI
189001.150.5%900.0000.01.0964.7%0.023%TrueTrueI
199503.451.5%950.0000.03.275.2%0.079%FalseTrueII
2010001.150.5%1000.000.01.0835.8%0.029%TrueTrueI
2110501.150.5%1050.000.01.0786.2%0.031%TrueTrueI
2211001.150.5%1100.000.01.0707.0%0.035%TrueTrueI
2311503.451.5%1150.000.03.197.6%0.11%FalseTrueII
2412001.150.5%1200.000.01.0588.0%0.040%TrueTrueI
2512503.451.5%1250.000.03.158.8%0.13%FalseTrueII
Table 10. RMS and frequency measurement results. Distorted voltage signal with 25 harmonics, f1 = 42.5 Hz.
Table 10. RMS and frequency measurement results. Distorted voltage signal with 25 harmonics, f1 = 42.5 Hz.
Supply ValuesMeasured ValueError with Respect to the CalibratorMaximum Error IEC 61000-4-30Class A/S
RMS231.47 (V)230.66 (V)0.35%±0.5% U d i n S
Frequency42.5 (Hz)42.5025 (Hz)2.5 mHz±10 mHzA
Table 11. FFT results. Distorted voltage signal with 25 harmonics, f1 = 42.5 Hz.
Table 11. FFT results. Distorted voltage signal with 25 harmonics, f1 = 42.5 Hz.
Harmf_genV_genV_genf_FFTEV_FFTEmEnClass IClass IIClass
(Hz)(V)(%)(Hz)(mHz)(V)(%)(%)LimitsLimitsLimits
142.5230100%42.50262.6229.330.29%0.289%TrueTrueI
2854.62.0%85.00515.14.5880.26%0.005%TrueTrueI
3127.511.55.0%127.5087.711.4620.33%0.016%TrueTrueI
41702.31.0%170.010102.2900.46%0.005%TrueTrueI
5212.513.86.0%212.5131313.7260.53%0.032%TrueTrueI
62551.150.5%255.015151.14350.56%0.003%TrueTrueI
7297.511.55.0%297.5181811.4080.80%0.040%TrueTrueI
83401.150.5%340.020201.14230.67%0.003%TrueTrueI
9382.53.451.5%382.523233.4151.0%0.015%TrueTrueI
104251.150.5%425.026261.1381.1%0.005%TrueTrueI
11467.58.053.5%467.528287.931.5%0.051%TrueTrueI
125101.150.5%510.031311.1311.7%0.008%TrueTrueI
13552.56.93.0%552.533336.762.0%0.061%TrueTrueI
145951.150.5%595.036361.1262.1%0.010%TrueTrueI
15637.51.150.5%637.538381.1222.4%0.012%TrueTrueI
166801.150.5%680.041411.1182.8%0.014%TrueTrueI
17722.54.62.0%722.543434.472.9%0.058%TrueTrueI
187651.150.5%765.046461.1143.1%0.016%TrueTrueI
19807.53.451.5%807.548483.323.7%0.055%TrueTrueI
208501.150.5%850.051511.1034.0%0.020%TrueTrueI
21892.51.150.5%892.554541.1014.3%0.021%TrueTrueI
229351.150.5%935.056561.0944.9%0.024%TrueTrueI
23977.53.451.5%977.559593.275.2%0.079%FalseTrueII
2410201.150.5%1020.061611.0835.9%0.029%TrueTrueI
2510633.451.5%1062.564643.236.4%0.095%FalseTrueII
Table 12. RMS and frequency measurement results. Distorted voltage signal with 25 harmonics, f1 = 57.5 Hz.
Table 12. RMS and frequency measurement results. Distorted voltage signal with 25 harmonics, f1 = 57.5 Hz.
Supply ValuesMeasured ValueError with Respect to the CalibratorMaximum Error IEC 61000-4-30Class A/S
RMS231.47 (V)230.70 (V)0.33%±0.5% U d i n S
Frequency57.5 (Hz)57.4977 (Hz)2.3 mHz±10 mHzA
Table 13. FFT results. Distorted voltage signal with 25 harmonics, f1 = 57.5 Hz.
Table 13. FFT results. Distorted voltage signal with 25 harmonics, f1 = 57.5 Hz.
Harmf_genV_gen V_genf_FFTEV_FFTEmEnClass IClass IIClass
(Hz)(V)(%)(Hz)(mHz)(V)(%)(%)LimitsLimitsLimits
157.5230100%57.49772.3229.310.30%0.300%TrueTrueI
21154.62.0%114.99544.64.5850.32%0.006%TrueTrueI
3172.511.55.0%172.49316.911.4540.40%0.020%TrueTrueI
42302.31.0%229.99089.22.2880.52%0.005%TrueTrueI
5287.513.86.0%287.4891213.690.81%0.049%TrueTrueI
63451.150.5%344.986141.1390.93%0.005%TrueTrueI
7402.511.55.0%402.4841611.361.2%0.062%TrueTrueI
84601.150.5%459.982181.1321.6%0.008%TrueTrueI
9517.53.451.5%517.479213.3841.9%0.029%TrueTrueI
105751.150.5%574.977231.1242.2%0.011%TrueTrueI
11632.58.053.5%632.475257.842.6%0.091%TrueTrueI
126901.150.5%689.972281.1163.0%0.015%TrueTrueI
13747.56.93.0%747.470306.663.4%0.10%TrueTrueI
148051.150.5%804.968321.104.1%0.021%TrueTrueI
15862.51.150.5%862.466351.095.2%0.026%TrueTrueI
169201.150.5%919.963371.095.1%0.025%TrueTrueI
17977.54.62.0%977.461394.345.7%0.11%FalseTrueII
1810351.150.5%1034.959411.076.5%0.032%TrueTrueI
1910933.451.5%1092.456443.216.9%0.10%FalseTrueII
2011501.150.5%1149.954461.067.8%0.039%TrueTrueI
2112081.150.5%1207.452481.059.0%0.045%TrueTrueI
2212651.150.5%1264.949511.049.3%0.046%TrueTrueI
2313233.451.5%1322.447533.1010%0.15%FalseTrueII
2413801.150.5%1379.945551.0310%0.053%TrueTrueI
2514383.451.5%1437.443583.0511%0.17%FalseTrueII
Table 14. Voltage module error for II, IV, VI, and XI order harmonics.
Table 14. Voltage module error for II, IV, VI, and XI order harmonics.
Amplitude Error
Harmonic OrderMinMaxAverage
II0.013%0.13%0.071%
III0.001%0.12%0.047%
VI0.084%0.12%0.11%
XI0.12%0.32%0.27%
Table 15. Voltage phase error for II, IV, VI, and XI order harmonics.
Table 15. Voltage phase error for II, IV, VI, and XI order harmonics.
Phase Error (deg)
Harmonic OrderMinMaxAverage
II0.0890.150.12
III0.0280.0880.043
VI0.0650.110.086
XI0.0890.140.12
Table 16. Current amplitude error for II, IV, VI, and XI order harmonics.
Table 16. Current amplitude error for II, IV, VI, and XI order harmonics.
Amplitude Error
Harmonic OrderMinMaxAverage
II0.087%0.31%0.21%
III0.073%0.53%0.28%
VI0.020%0.5%0.32%
XI0.039%1.12%0.27%
Table 17. Current phase error for II, IV, VI, XI order harmonics.
Table 17. Current phase error for II, IV, VI, XI order harmonics.
Phase Error (deg)
Harmonic OrderMinMaxAverage
II0.0500.310.18
III0.0150.250.096
VI0.0010.130.062
XI0.0240.240.11
Table 18. Current amplitude error with externa CT.
Table 18. Current amplitude error with externa CT.
Amplitude Error
Harmonic OrderMinMaxAverage
II0.57%1.6%1.1%
III0.49%1.7%0.96%
VI0.29%2.0%1.0%
XI0.16%1.4%0.73%
Table 19. Current phase error with externa CT.
Table 19. Current phase error with externa CT.
Current Phase Error
Harmonic OrderMinMaxAverage
II0.0170.380.25
III0.0190.440.29
VI0.0651.80.96
XI0.982.41.8
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Artale, G.; Caravello, G.; Cataliotti, A.; Cosentino, V.; Di Cara, D.; Dipaola, N.; Guaiana, S.; Panzavecchia, N.; Sambataro, M.G.; Tinè, G. PQ and Harmonic Assessment Issues on Low-Cost Smart Metering Platforms: A Case Study. Sensors 2020, 20, 6361. https://doi.org/10.3390/s20216361

AMA Style

Artale G, Caravello G, Cataliotti A, Cosentino V, Di Cara D, Dipaola N, Guaiana S, Panzavecchia N, Sambataro MG, Tinè G. PQ and Harmonic Assessment Issues on Low-Cost Smart Metering Platforms: A Case Study. Sensors. 2020; 20(21):6361. https://doi.org/10.3390/s20216361

Chicago/Turabian Style

Artale, Giovanni, Giuseppe Caravello, Antonio Cataliotti, Valentina Cosentino, Dario Di Cara, Nunzio Dipaola, Salvatore Guaiana, Nicola Panzavecchia, Marilena G. Sambataro, and Giovanni Tinè. 2020. "PQ and Harmonic Assessment Issues on Low-Cost Smart Metering Platforms: A Case Study" Sensors 20, no. 21: 6361. https://doi.org/10.3390/s20216361

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop