1. Introduction
Measurement with voltage probes for the continuous monitoring and measurement of network nodes is important in today’s power system, as it helps to detect potential faults, improving system maintenance and performance.
The need for such metering systems will increase day by day, as the current trend is to establish smart grids, where renewable energies are gaining importance. In addition, the emergence of new electrical loads such as electric vehicles and various energy storage devices (batteries with solar panels) is a novelty for electricity distribution systems that can have an impact on the system. To have a smart grid, it is necessary to monitor the grid voltage, and given the changes in the loads of the current electricity system, the continuous monitoring of this voltage is necessary. The correct management of these measures requires cyber–physical systems (CPS) made up of computer systems for data processing, communication networks, and sensors that allow interaction with the physical world and the virtual or computer world [
1].
This work encompasses two lines of the state of the art: the development of voltage probes with galvanic isolation and the development of Internet of Things (IoT) measurement systems in the field of energy and the measurement of electrical network magnitudes. For this reason, this study is carried out from both aspects. Probes for measuring high voltages can be classified as high-voltage differential probes (non-isolated), and isolated high-voltage probes, which in turn can be analogue or digital probes.
Traditionally, high voltages are measured with differential probes without galvanic isolation, such as the probes used for the comparison of the results in this work (Chauvin Arnoux DP25, Barcelona, Spain and a Tektronix P5205, Madrid, Spain). This gives the probes the ability to measure high differential voltages with high bandwidths, between tens and hundreds of megahertz.
In the classification of analogue isolated high-voltage probes, two types can be distinguished according to the location of the isolation: those using a non-intrusive sensor/measuring coupling system [
1,
2] and those using an intrusive one [
3,
4], that connect a circuit to the system and then use a coupling method, either optical, capacitive, inductive, or through the power supply, to achieve the isolation. In [
1], the authors present a non-intrusive probe for the non-contact measurement of voltages of 10 kV and a bandwidth of 4.5 MHz, based on the electric field coupling principle using the dual-pin-type probe method. Also based on non-intrusive capacitive coupling, the development of a probe for voltage measurements up to 1000 V, for the direct proportional measurement of the true RMS value containing a 50–60 Hz waveform with a cut-off frequency of 6 kHz, is presented in [
2]. These systems [
1,
2] are coupling systems designed to clamp the cable to be measured, making them difficult to use when the cables are thin, as the development of mechanical coupling becomes more complex.
Other proposals develop solutions based on optical isolation, achieving measurement ranges down to 2 kV with bandwidths from DC to 5 MHz [
3], aiming at detecting fast voltage changes. These types of probes require a LED driver and a photodetector as a receiver, which transforms the input voltage into a light signal and the information in the form of lux, back to a voltage value.
On the other hand, the high-bandwidth isolated voltage probe presented in [
4] is intended for the measurement of source gate voltages of floating transistors in bridge rectifier and inverter configurations. Its input voltage range is ±75 V and it has a bandwidth of 130 MHz. Isolation is achieved either by using floating power supplies isolated from each other or through the use of a battery-powered system. The data are acquired with an 8-bit ADC and sent via Bluetooth to a device that displays them graphically. An FPGA interfaces between the ADC and the Bluetooth module. The power supply system, together with no need for connection to a conventional oscilloscope, provides the galvanic isolation of the system.
Finally, there are high-voltage isolated digital probes such as the one presented in [
5]. This work presents a similar line to the previous one by applying isolation in the digital part of the system. Their target application is focused on electric cars and even the photovoltaic generation system. The specifications of the probe developed by these authors are ±1500 V and a bandwidth of 1 MHz.
To achieve these specifications, the probe uses an attenuation and conditioning stage at the input to match the voltage levels to an 18-bit ADC. It is at this point, in the communication between the ADC and the FPGA that acts as the data acquisition, control, and processing device, where the galvanic isolation is found. Finally, the data are sent via Bluetooth for their remote analysis and representation. As in the previous case, this device is not designed for connection to an oscilloscope or a conventional instrument.
These developments show the increasing need for voltage measurements with isolated probes. Some of the developments already integrate Bluetooth connectivity to obtain such isolation and a remote connection to the probe. The growing need of specific instrumentation for its application in smart city environments, smart grids, etc., shows the need for continuous, remote, and unsupervised voltage monitoring, thus motivating the development of this work, that combines high-voltage monitoring devices and the IoT paradigm, requiring the proper management of network communication and computation, taking the CPS to the IoT path.
The emergence of the Internet of Things is driven by the rapid expansion of the internet in the late 20th century, which continued into the early 21st century, leading now to a digitisation of the physical world around us and giving rise to the IoT. The term Internet of Things was introduced in 1999 by Kevin Ashton to denote the need to increase the number of microprocessors that interact with our surrounding physical world.
IoT basically consists of a remote data exchange system that aims to provide new services in all areas of daily life [
6]. The IoT can be found in many applications including agriculture, energy, industrial automation, transportation, smart cities, and power electronics converters [
7,
8,
9,
10,
11].
Increasing advances in communications and sensor technology have encouraged the growth of the IoT, as well as a specialisation in its use for each type of application. This has led to the appearance of new terms such as Internet of Medical Things (IoMT) [
12], Industrial Internet of Things (IIoT) related to Industry 4.0 [
13], Internet of Energy (IoE) [
8,
14], and others that could be found in the state of the art.
The term IoE was coined for the first time in 2011 [
15]. This gives an idea of the youth of the specialisation of the IoT paradigm in this type of applications, where it can be included topics such as smart grids and the quality of the electricity network measurement systems. More specifically, some of the applications where we can find IoE systems are the production of renewable energies, such as solar energy, in which in addition to measuring the grid, it is important to measure the environmental conditions [
16]; the remote management and control of distributed microgrids [
16,
17,
18,
19], allowing the generation processes to be controlled and monitored independently, but collaboratively; and energy management in smart buildings [
20,
21], where in addition to measuring energy consumption, it is necessary to measure other distributed parameters of the building.
In the primary structure of any IoT (and, hence, IoE) system, three different layers can be found: (i) the physical or sensor layer, (ii) the software control layer, and (iii) the application layer. The sensor layer includes the physical components that allow information to be transmitted between the different nodes that conform the IoT network or to the central system where the information is processed and displayed to the user. The software layer contains the communication control. Finally, the application layer enables centralised decision making and the processing of the collected data set. Within this last layer, we can find different fields of study, such as solutions based on data collection and cloud computing in a distributed data network [
22,
23], machine learning, data analytics [
24], and state estimation algorithms for energy management tasks [
25]. This last layer can also include a web page, dashboard, or any other interface that allows easy interaction with the user.
This work presents the development of a high voltage isolated probe for remote monitoring applications, i.e., it is an IoT or IoE device. As a development intended for unattended remote monitoring, galvanic isolation is an important element to ensure the integrity of the data acquisition and communication devices. Similarly, as is the case in wireless sensor networks (WSN) that perform multipoint measurements, the cost per node, in our case per probe, must be contained, since the price per device increases the cost in the deployment of the IoE multipoint measurement system. All this needs to happen while complying with the minimum measurement specifications of the probe to verify compliance with the European standard EN 50160 [
26] low voltage standard, also serving for voltage monitoring for other types of applications such as measurement in smart homes and industries [
20,
21].
The main objective is to be able to measure line voltages in a three-phase network whose voltage level is 400 V RMS, 567 V peak. For this reason, the voltage measurement range of the probe is set at ±600 V amplitude. The bandwidth requirements are set by the need to measure up to the 25th harmonic of the mains, according to the European standard EN 50160; for 50 Hz mains, this implies the need to reach a frequency of 1250 Hz, although the design is made for a cut-off frequency of 50 kHz. The remote probe is designed to measure the voltage between any two points in an electrical or electronic circuit safely, with galvanic isolation, which provides isolation between the high voltages and the processing system, the microcontroller. The microcontroller will allow wireless communication between the probe and the data collection device.
The article is organised as follows.
Section 2 describes the software of the developed remote isolated voltage probe.
Section 3 shows the experimental validation tests of the proposed remote probe, both with a direct connection to an oscilloscope and with remote data collection.
Section 4 presents a discussion of the results and a comparison with another remote probes in the state of the art. Finally,
Section 5 shows the conclusions.
2. Hardware Description
As presented in the introduction, there are different techniques to obtain galvanic isolation for the measurement of high voltages. Since for remote measurement in multipoint systems such as IoT sensor nodes, keeping the cost under control is an important factor, as the price greatly affects the multipoint measurement systems such as IoE systems, a low-cost isolation system is chosen.
Figure 1 shows the block diagram of the proposed design.
To design a low-cost differential remote probe, the main element to be selected is an isolation amplifier (IA), capable of handling high voltage values at its input, without affecting the electronics connected to its output. In order to achieve a low-cost remote voltage probe, a Texas Instruments (Dallas, TX, USA) (TI) ISO122 (pin compatible with the Texas ISO124 and with similar characteristics) has been selected. This selection is due to its low price, although it can be replaced in the design with an AD215 from Analog Devices, which has similar power ranges and input and output voltage values and an improved bandwidth, but at a quite significant cost increase.
Both isolation amplifiers present a bandwidth value enough to allow the processing of the harmonics established in the EN 50160 standard for the measurement of the quality of the mains network. This establishes that such a system meter must be able to measure up to voltage harmonic number 25. Thus, for a network frequency of 50 Hz, this corresponds to a maximum harmonic frequency of 1250 Hz.
An additional important component in building a low-cost differential remote probe is the microcontroller (µC) and its wireless connectivity capabilities. For this purpose, in this work, an Arduino Nano 33 IoT has been used. This µC and its development board include both Bluetooth Low Energy (BLE) and Wi-Fi modules. This processor has been specially designed for IoT and IoE applications.
As
Figure 1 shows, the remote differential probe has two different outputs. The first one (V
µC-GND) is connected to the microcontroller ADC (analog-to-digital converter). The secondary output (V
osc-GND) allows a direct connection to an oscilloscope through a BNC connector for those cases where remote monitoring is not required. In addition, the probe can be energized through two different modes, depending on availability: through the mains network and by means of 18.5 V batteries.
The design of the different blocks that make up the proposed low-cost differential remote probe are described below.
2.1. Isolation Stage
The characteristics of the IA determine the design requirements of the rest of the system. In this work, the selected TI ISO122P IA allows input ranges up to 100 V without breakage, being capable of working with signals in a linear input range of up to 10 V and unitary gain. On the other hand, it requires two properly isolated power supplies with bipolar voltages with typical ranges of ±15 V.
Figure 2 shows the configuration requirements of the selected isolation amplifier.
2.2. Power Supply
The use of two bipolar power supplies to separately power the input and output stages of the IA allows its operation within its specifications, reaching the maximum input range. A block diagram of the power supply module is shown in
Figure 3.
As
Figure 1 and
Figure 3 show, the isolation amplifier has two selectable primary energy sources: the mains and a lithium polymer battery. In the first case, the direct connection to the mains requires a single 230 V/15 V transformer and rectification and filtering modules for stabilization. This is achieved with a 1N4007 diode bridge that allows bipolar rectification and filtering with a 3000 µF capacitor, that provides a low-ripple 20 V voltage.
The power supply in the high voltage input of the ISO122 has been implemented with an isolated Traco Power TDN 1-2423WI DC/DC converter. The input of this converter can be connected to both primary energy sources: that provided by the mains, and the batteries when no electric network is available. Therefore, the required ±15 V for the input IA stage are isolated from its output stage.
To obtain stable biases for the output stage of the isolation amplifier, both the transformed and filtered mains voltage and the battery voltage are stabilized using two low-dropout regulators (LDO regulators). In this work, a 7815 and a 7915 LDO have been selected, providing stable output voltages of +15 V and −15 V, respectively.
The conditioning and filtering electronics of the proposed probe are managed by a microcontroller (
Figure 1), that adjusts the circuit behaviour according to the input requirements. Both the electronics and microcontroller are powered at 3.3 V provided by an additional TPS7B8833Q linear voltage regulator whose input voltage is provided by the 7815 LDO (
Figure 3).
2.3. Input Preconditioning: Attenuation, Input Protection, and Isolation
To prevent the isolation amplifier from breaking due to overvoltage, probe damage due to component deterioration, misuse, or improper probe connection, the proposed design includes a 2 A Fuse and an ISOMOV 5 KA 510 VRMS Varistor (
Figure 4). In addition, the input voltage is attenuated by a fixed factor 10 (attenuation resistor network,
Figure 4), so that the maximum voltage on the IA input is limited to 60 V, for a maximum measurement voltage of 600 V of peak amplitude.
Finally, to ensure that the input voltage probe remains into the IA working range, a second selectable voltage divider is included in the attenuation resistor network shown in
Figure 4. These characteristics allows the user to manually select between the measurement ranges shown in
Table 1.
Table 1 presents the relationship between the input of the differential remote probe, the attenuation factor, the isolation amplifier input, and the isolation amplifier output.
Considering that the gain of the isolation amplifier is 1, the IA voltage to it is 6 V using the attenuation factor proposed. For example, with a 600 V peak signal, the input to the isolation amplifier using ×100 attenuation will be 6 V. This allows a direct relationship with the reading voltage of an oscilloscope and, in addition, allows the use of the options of configuration of ×10 and ×100 attenuator probes at their inputs, so that these instruments display the real values of the signals on their screens.
The circuit scheme described in the block diagram of
Figure 4 is shown in
Figure 5.
2.4. Output Conditioning and Filtering Module in Oscilloscope Probe Configuration
The configuration of the proposed voltage probe for its application as an oscilloscope probe (
Figure 1, bottom right, brown box), includes three consecutive stages at the output of the IA (
Figure 6). Firstly, an offset compensation circuit cancels DC offsets in the IA output signal by means of a summing stage with a settable DC voltage supplied by a potentiometer, which provides a voltage in the range of ±15 V. Next, a configurable ×1–×10 inverting amplifier circuit allows setting the probe gain, thus allowing the measurement of low-value voltages with electrical isolation. Finally, a second order Sallen–Key filter with a 50 kHz cut-off frequency, in the frequency range of the ISO122P IA, filters frequencies above the range of interest.
The three stages described above use TLV9352, a dual low-power Operational Amplifier (OA). This operational amplifier in a SOIC 8 package is pin compatible with the TL082 OA, so it can be easily replaced in case of lack of availability, price increase, etc. without the need of printed circuit board redesign.
The different circuit stage schemes that correspond with the block diagram shown in
Figure 6 are shown in
Figure 7.
2.5. Output Conditioning and Filtering Module for Microcontroller Interfacing
A second output interface allows the designed probe to be used as an autonomous instrument managed by an Arduino Nano 33 IoT low-cost microcontroller (μC). For this, an additional three-stage conditioning circuit was developed, following a similar philosophy to the oscilloscope interface described above. The block diagram is shown in
Figure 8. The first stage performs a signal attenuation, limiting the signal values into the input voltage span of the 12-bit analog-to-digital converter (ADC) available on the μC. A second stage adds a DC offset to the signal from the first stage, in order to centre its range to that of the ADC, from 0 to the 3.3 V μC supply voltage. Before the signal is fed to the converter, a 50 kHz cut-off frequency Sallen–Key filter filters frequencies above the range of interest.
The circuit diagrams corresponding to the attenuation and offset addition stages are shown in
Figure 9. The filtering stage is the same as shown in
Figure 7c.
Figure 10 shows a photograph of the proposed isolated voltage probe.
4. Discussion
Following the tests carried out and the obtained results, the following issues can be analysed. The measurements show a mismatch produced by the gain error of the isolation amplifier itself and by the deviations existing in the rest of the amplifier stages constituting the measurement circuit. This error is easily correctable, either by performing a previous hardware calibration though a potentiometer, or by making a compensation via software in the microcontroller, or by developing a protocol and a self-calibration system, leaving the latter case as a future improvement of the system.
On the other hand, the use of batteries for a device that relies on Wi-Fi as a communication system may be questionable due to the high-power consumption of this protocol, which shortens battery life. It should be noted that the use of batteries is intended for one-off measurements or for short periods of time. For continuous measurements or longer periods of time, the mains connection is available. In the case of needing to measure over long periods of time with a battery-powered system, it would be necessary to resort to another communication technology such as LoRa, which presents a much lower power consumption than a Wi-Fi network. On the other hand, it will be necessary to deploy the LoRa network if it does not exist, as this communication protocol is less common, while the use of Wi-Fi networks is more common and can result in savings in terms of communication network deployment. Therefore, this issue should be carefully analysed before making a decision.
The main characteristics of the commercial probes and the proposed probe are listed in
Table 3. The commercial probes have wider input voltage ranges as well as wider bandwidths. The input range, in our case, could be adjusted by modifying the values of the attenuation stage used. However, the selected values allow us to properly deal with the values of a three-phase distribution system, both in line and phase voltage.
Regarding bandwidth, the EN 50160 standard requires measuring up to the 25th harmonic of the mains voltage, with a frequency of 1250 Hz for a 50 Hz network. Therefore, the proposed probe has a sufficient bandwidth to meet the requirements.
The advantage of the proposed development is that it is cheaper than commercial probes and includes isolation. The isolation limits the bandwidth and increases the price, as the ISO122 is an expensive device (between EUR 15 and 20). Despite this, the price is much lower than the other options, which is important for a device that can be part of an IoT network where different devices are simultaneously measuring at different points in the installation. Moreover, isolation is important to safeguard the integrity of the measurement and the communication microcontroller.
In the field of intelligent energy management within intelligent buildings, there are several proposals for the measurement of energy consumption, such as those in [
28,
29,
30]. In [
28], the researchers use an Arduino Pro Micro as microcontroller with an IEEE 802.15.4 communication protocol using an XBee Pro as transceiver, which requires the use of a custom IoT gateway. In [
29], the authors use an Arduino One for data acquisition, but do not detail which communication protocol is established for the IoT device, while in [
30], they use an Arduino MKR WAN with LoRa integrated and already specifically designed for IoT applications, also following the philosophy proposed in the present work. In the case of needing a LoRa communication to increase the monitoring time by feeding the proposed IoT probe with batteries, it could be interesting to replace the Arduino Nano 33 IoT with the Arduino MKR WAN, as both devices are based on the SAMD21 microcontroller, so the programming should require few modifications.
Table 4 gives a summary of these features.
The probe proposed in this work can be used for this same purpose without adding a current sensor. In this way, the consumption measurement would be instantaneous and real, not assuming that the mains voltage is 230 Vrms at all times as proposed by the aforementioned authors, but this proposal is outside the scope of this work.
5. Conclusions
An IoE isolated voltage probe for the remote monitoring of mains voltage quality according to EN 50160 has been successfully designed, implemented, and validated by performing a complete set of performance tests. The performance of the hardware part has been tested under different operating conditions (
Section 3.1), comparing the results with different commercial probes under the same operating conditions, such as Chauvin Arnoux DP25 and Tektronix P5205. The results obtained show that for voltage measurements up to 600 V within the necessary bandwidth for the verification of the European standard EN 50160, the proposed design meets the established requirements. Being isolated and differential, the proposed probe provides protection to the digitising and communications system, unlike the high-voltage differential probes Chauvin Arnoux DP25 and Tektronix P5205 which lack isolation.
Once the isolation and conditioning circuit was validated, the probe was provided with an acquisition and communication system providing it with features for its application in the Internet of Energy. For the validation, a Wi-Fi-based IoE network was deployed with a MQTT protocol with single-point and multipoint measurements, allowing to verify the performance in both situations. The results are presented in
Section 3.2.
After performing the measurements and the transmission through the communication protocol, the harmonic analysis of the acquired signals was carried out, comparing the remote measurements with the maximum theoretical harmonic values established in the European standard EN 50160, for which the FFT of both signals was performed. This shows that the developed probes allow the detection and localisation of disturbances at different points in a line or generation system.
A low-cost isolated probe was developed with analogue galvanic isolation of the capacitive type, which is suitable for use in IoT and IoE applications without the need for device supervision and allows continuous and remote monitoring as it has connectivity through the MQTT protocol. It should be noted that the MQTT protocol is free to use and there are open-source implementations that do not increase the cost of the system; what really jeopardizes the cost is the hardware needed to operate with it. In this sense, the selection of all probe components was carefully carried out, taking into account the low-cost requirement, both in the instrumentation part with the IA with galvanic isolation, and in the communication devices, the Arduino Nano used for the publisher, as well as the Raspberry Pi used for the broker. The Pubsub library used on the Arduino is published under an MIT license, while the Paho library used on the PC and the Mosquitto broker software are licensed under Eclipse Public License 1.0 and Eclipse Distribution License 1.0 (BSD), and are free to use.