Abstract
The article is focused on the fiber optic current meter with FPGA-based data processing. The sensor element operation is based on the Faraday effect which occurs in the Spun optical fiber twisted around electric wire. The demodulation method used to process the sensor signal is the joint measuring of the first and second harmonics of the modulation signal and the processing of their ratio. It is widely known for fiber optic gyroscopes and traditionally is performed in the analog form, fully or partially. This leads to errors related to instability of the analog elements, limited operating range of the device etc. We managed to combine the optical sensor circuit with NI technologies to develop and implement digital data processing algorithms, exclude sources of errors from the optical device circuit. We used a scalable NI RIO architecture, LabVIEW FPGA and LabVIEW Real-Time to implement every step in optical sensing of electric current: modulation forming, response measuring, inline processing and analog/IEC 61850 output providing, comparing performance of high-end and low-cost RIO devices.
Access provided by CONRICYT-eBooks. Download conference paper PDF
Similar content being viewed by others
Keywords
1 Introduction
There is a century-old approach to measure high current values (from hundreds of amperes to hundreds of thousands of amperes) by transforming it to the appropriate for metrology equipment levels using inductive coupling. The devices traditionally used for this purpose are called measuring (or primary) transformers. This solution worked just fine for pre-digital era, but even then, it had some well-known significant limitations in measuring transient currents, especially in emergency shortage or significant overload, which caused protection malfunction or false triggering. After moving the power grid automation and protection systems to all-digital base, it appeared that a use of secondary transducers is needed to convert an output of measuring transformers to ADC input levels.
It was an industry demand to build a solution that performs electrical measurements using a physical process other than inductive transformation. In early 2000s, the pioneer in this field NXT Phase delivered the first commercial optical current transformer. Later there were several enhancements of this technology made by market players, bringing the optical current sensing to its modern look. Nowadays these are complex devices, ready to work in both analog environment and such-called digital substations, operating in IEC 61850 standard.
Despite a couple of decades of evolution, the technology is not flawless. One of the main challenges here is cost reduction for the product. One of the most expensive components of the optical current transformer is an optical delay line, which is a long (several hundreds of meters) polarization maintaining (PM) optic fiber. The exclusion of this delay line could make optical sensing far more competitive, but requires deep changes in physical approach, optical scheme and digital processing algorithms.
Another important challenge that we must solve is to improve the algorithm of data processing. Traditionally, signal processing is performed fully or partially in the analog form, but this leads to errors related to instability of analog elements, limitation of the operating range of the device etc. Therefore, in order to eliminate undesirable effects and improve the accuracy of the sensor, we realized the demodulation method completely in digital form.
We at Peter the Great Polytechnic University have made a theoretical study of the design of such solution and have used National Instruments (NI) technologies to implement it in the hardware.
2 Current Meter Optical Scheme
2.1 Description
The scheme of the current sensor is shown in Fig. 1.
The main components of the optical scheme of the meter are:
-
light source;
-
phase modulator made of a PM optical fiber coiled on a PZT cylinder;
-
fiber delay line;
-
fiber quarter wave plate;
-
sensing element made of the Spun optical fiber;
-
mirror;
-
polarizer;
-
photodiode;
-
data processing unit.
The meter uses additional harmonic phase modulation:
where the modulation frequency fM = 40.1 kHz corresponds to the piezoceramics resonant frequency. In addition, the meter uses digital phase detection, constructed according to the scheme of analysis of the ratio of harmonics of the modulation frequency [1].
2.2 Circuit Operation Principle
The optical wave passes through the fiber optic coupler, the polarizer and goes to the phase modulator. The polarizer axis is at 45° to the own polarization axes of the PM fiber of the modulator. Optical radiation propagates through the modulator in the form of two light waves with orthogonal linear polarizations. Then the light passes through the delay line whose length is determined by the frequency of the modulation signal. It provides such a lag between the light waves propagating in the forward and backward directions so that during the propagation of the wave from the phase modulator to the mirror and back, the phase of the modulating voltage changes by 180°. The phase plate, whose axes are oriented at the angle of 45° to the own axes of the supply path, converts linearly polarized modes to the circularly polarized modes. They propagate at different speeds in the sensitive Spun fiber, which is coiled around the wire with the current to be measured. In this case, a phase shift proportional to the current in the wire arises between them:
where V is the Verde constant for the fiber, N is the number of fiber turns around the conductor with current I [2].
The light wave, reflected from the mirror, propagates in the opposite direction. With a repeated pass of the phase plate, the circularly polarized modes are again transformed into linearly polarized modes. As a result, only the Faraday phase shift, connected with the measured electric current, is conserved. Linearly polarized modes, passing through the polarizer, interfere, and then the interference signal through the splitter goes to the photodiode.
3 Signal Demodulation Method
The optical power of the signal at the input of the photodiode is the sum of the harmonics of the modulation frequency:
Using expansion in terms of Bessel functions gives
wherein \( {\text{J}}_{\text{k}} \left( {\uppsi_{\text{m}} } \right) \) are Bessel functions of the first kind of the k-th order.
It can be seen from Eq. (4) that the amplitudes of the harmonics depend on the optical power \( P_{0} \) and on the values of the Bessel functions. Even harmonics are proportional to \( \cos \left( {\Delta\uppsi_{\text{F}} } \right) \), and odd ones are proportional to \( \sin \left( {\Delta\uppsi_{\text{F}} } \right) \). In the state of rest, the detected signal consists of even harmonics of the modulation frequency, and in the presence of a magnetic field created by an electric current, odd harmonics of the modulation frequency also appear.
The demodulation method used to process the sensor signal and is widely known in fiber optic gyroscopes is the joint recording of the first and second harmonics of the modulation frequency and the analysis of their ratio (see Fig. 2).
We used synchronous detection of the photodiode’s output voltage at frequencies fM and 2fM to obtain two quadrature signals:
where \( \Delta \,{\upvarphi }_{1} \) and \( \Delta \,{\upvarphi }_{2} \) – phase shifts between the corresponding reference signals and the detected frequency components. We achieved \( \cos \left( {\Delta \,{\upvarphi }_{1} } \right) = \cos \left( {\Delta \,{\upvarphi }_{2} } \right) = 1 \) by adjusting the phase shifters. The amplitude of the phase modulation should be chosen so that Bessel functions \( {\text{J}}_{1} \left( {\uppsi_{\text{m}} } \right) \) and \( {\text{J}}_{2} \left( {\uppsi_{\text{m}} } \right) \) are equal and maximum at the same time.
As a result, the output signal of the fiber optic current sensor is given by the following formula:
4 Compensation of the Result Dependence on the Modulation Amplitude
It is clear from the Eq. (7) that the amplitude of the phase modulation affects the result of the demodulation. Therefore, it is necessary (a) to select optimal phase modulation amplitude and (b) to compensate demodulation errors occurring due uncontrolled amplitude variation.
Optimal amplitude was chosen based on the following two criteria:
-
the first U1 and second U2 harmonics of the modulation frequency must be maximal and equal;
-
optimal amplitude should correspond to minimum errors arising due amplitude variation.
We choose optimal amplitude \( \uppsi_{{{\text{m}}0}} = \, 2.629874 \) radians that corresponds to the minimum amplitude value giving \( {\text{J}}_{1} \left( {\uppsi_{{{\text{m}}0}} } \right) = {\text{J}}_{2} \left( {\uppsi_{{{\text{m}}0}} } \right) \).
If the modulation amplitude deviates from the optimal operating value, the ratio of the Bessel functions in Eq. (7) becomes different from 1. Hence, an error arises when calculating the arctangent. Therefore, we introduced compensation, thanks to which Bessel functions ratio in Eq. (7) is maintained equal to one in a certain range of amplitudes. In order to take into account the effect of the deviation of the modulation amplitude, it is convenient to use the ratio of the second and fourth harmonics of the photodiode’s output signal
The Eq. (7) with compensation has the following form
where
is the error correction function and \( \frac{{J_{2} \left( {\uppsi_{{{\text{m}}0}} } \right)}}{{J_{4} \left( {\uppsi_{{{\text{m}}0}} } \right)}} = 5.30176 \) for optimal phase modulation amplitude.
Modified block diagram of signal demodulation looks like in Fig. 3.
5 Implementation
There were three major cycles of development of our solution: PC-based modeling, first prototype and industrial prototype. From the very beginning our team started modeling the processing using LabVIEW graphical tools. First step model was developed in floating-point math with both calculated and measured signal waveforms. It showed the predicted results of basic demodulation and demodulation with compensation.
The modeling code was built with consideration of future conversion to FPGA-applicable integer and fixed-point math. Thus, there was no need to write completely new code for implementation in a prototype (as shown in Fig. 4).
When modeling in the LabVIEW program environment, the coefficients k1, k2 and k3 were chosen so that the function \( g\left( {\uppsi_{\text{m}} } \right) \) in Eq. (9) was as close as possible to one in the neighborhood of optimal amplitude \( \uppsi_{{{\text{m}}0}} \). Figure 6 presents simulation results without compensation, floating-point compensation model, fixed-point FPGA implementation, as well as experimental data. Thus, as a result of compensation, within the range of amplitudes of ±6% from the optimal amplitude \( \uppsi_{{{\text{m}}0}} \) the error was within the limits of ±0.1% with the coefficients chosen in the program. Less variations of \( \uppsi_{\text{m}} \) gives smaller values of errors up to ±0.0001%.
Before starting the experiments, we calibrated phase modulator used in the sensor. Calibration was carried out in absence of any measured signal by measuring modulation amplitudes corresponding to zero values of Bessel functions of the first kind of even orders. As a result, a calibration curve was obtained for a modulator fed at resonance frequency (see Fig. 5). From this curve follows that the optimal modulation voltage corresponding to \( \uppsi_{{{\text{m}}0}} = \, 2.629874 \) is \( U_{{\uppsi0}} = 0.9163 \, \,{\text{V}} \).
The first prototype was implemented on entry-level hardware unit of National Instruments RIO platform named myRIO [3]. It’s a low-cost device designed for educational purposes with limited IO lines and FPGA resources. With all these limitations this hardware allowed our team to build a functional prototype with fully synchronous inline FPGA processing, Real-Time OS supervision and control and desktop GUI. We managed to run verification tests on our theoretical research and selected system architecture.
NI myRIO is equipped with 4 analog inputs and 2 analog outputs, which allowed us to generate a modulating signal, register the signal of the photodetector and generate an analog signal for feeding the comparison instrument. However, an inexpensive, compact controller designed primarily for educational purposes can generate an output signal with a sampling frequency of a maximum of 345 kHz and a resolution of 12 bits, that is, 8 points for a modulation cycle of 40 kHz and 4 points for a second harmonic of the modulation frequency. In this regard, the maximum accuracy that was achieved by the comparison instrument was about 1% in amplitude and half degree in phase. To increase the sampling frequency and bit capacity, external ADCs and DACs were used together with myRIO, which also increased the accuracy of the sensor analog output readings.
The front panel of the signal-processing program is shown in Fig. 7. The graphs at the upper part of the panel show the first (blue) and second (red) harmonics of the modulation frequency, as well as the photodiode’s signal (green). On the bottom of the panel left graph indicates the error correction function \( g\left( {\uppsi_{\text{m}} } \right) - 1 \), zero value corresponding to phase modulation amplitude equal to \( \uppsi_{{{\text{m}}0}} \) and \( g\left( {\uppsi_{\text{m}} } \right) = 1 \). The analog signal used for measuring comparator instrument feeding is shown at the bottom right side of the panel.
It was an easiest transition between alpha prototype and industrial prototype because of keeping NI RIO platform. The NI System-On-Module (SOM) sbRIO-9651 was selected. NI SOM is an example of the same FPGA-based RIO architecture [4]. This allowed us to migrate code completely from alpha prototype, changing only IO numbers. The bigger FPGA and larger number of DIO lines opened the possibilities to achieve a faster timing, finer tuning and wider process control. The front panel of the signal-processing program using NI SOM are presented in Fig. 8.
In electrical metrology only specially designed high precision analog measuring comparator instruments are certified to calibrate sensors. So we used output digit to analog converter (DAC) to feed this comparator instrument and NI ready to use Toolkit to obtain standard IEC 61850 signal for future applications.
6 Conclusions
In our paper we had shown that digital processing can be applied to fiber optic current sensing replacing traditional analog demodulation methods with benefits of inline error correction. It allowed us to eliminate errors induced by instability of the analog elements, limited operating range of the device, modulation amplitude deviations within the range of ±2% from the optimum value. The proposed method of error correction demonstrated potential accuracy of such devices of about 0.0001% that is compliant to the modern metrology certification demands to the power grid devices. The results of PC-based modeling showed a good level of correlation with experimental data acquired using NI RIO hardware with fully synchronous onboard FPGA control and processing.
References
Berg, R.A., Lefevre, H.C., Shaw, H.J.: An overview of fiber-optic gyroscopes. J. Lightwave Technol. 2, 91–107 (1984)
Bohnert, K., Gabus, P., Nehring, J., Brandle, H.: Temperature and vibration insensitive fiber-optic current sensor. J. Lightwave Technol. 20, 267 (2002)
NI myRIO. http://www.ni.com/myrio/. Accessed 29 May 2018
CompactRIO System on Module. http://www.ni.com/en-us/shop/select/compactrio-system-on-module. Accessed 29 May 2018
Acknowledgments
The work was done under financial support of Ministry of Education and Science of the Russian Federation in terms of FTP “Research and development on priority trends of Russian scientific-technological complex evolvement in 2014–2020 years” (agreement # 14.578.21.0211, agreement unique identifier RFMEFI57816X0211).
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2018 Springer Nature Switzerland AG
About this paper
Cite this paper
Temkina, V., Medvedev, A., Mayzel, A., Mokeev, A. (2018). Fiber Optic Current Meter for IIoT in Power Grid. In: Galinina, O., Andreev, S., Balandin, S., Koucheryavy, Y. (eds) Internet of Things, Smart Spaces, and Next Generation Networks and Systems. NEW2AN ruSMART 2018 2018. Lecture Notes in Computer Science(), vol 11118. Springer, Cham. https://doi.org/10.1007/978-3-030-01168-0_57
Download citation
DOI: https://doi.org/10.1007/978-3-030-01168-0_57
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-01167-3
Online ISBN: 978-3-030-01168-0
eBook Packages: Computer ScienceComputer Science (R0)