Next Article in Journal
Self-Organized Aggregation Behavior Based on Virtual Expectation of Individuals with Wave-Based Communication
Next Article in Special Issue
Simultaneous Object Detection and Distance Estimation for Indoor Autonomous Vehicles
Previous Article in Journal
Recommending Words Using a Bayesian Network
Previous Article in Special Issue
Simulation Study on Heat Generation Characteristics of Lithium-Ion Battery Aging Process
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Novel Power Measurement Method Using Lock-In Amplifiers with a Frequency-Locked Loop

Department of Electrical Engineering, Soongsil University, Seoul 06978, Republic of Korea
*
Author to whom correspondence should be addressed.
Electronics 2023, 12(10), 2219; https://doi.org/10.3390/electronics12102219
Submission received: 9 March 2023 / Revised: 29 April 2023 / Accepted: 10 May 2023 / Published: 12 May 2023

Abstract

:
The extensive use of renewable energy systems with grid-connected inverters (GCIs) causes harmonic injection. Similarly, the imbalance in energy demand and supply causes frequency fluctuations. As a result of the increased harmonics and frequency fluctuations, the accuracy of power measurement using conventional methods continues to decline. Precision in power measurement is an essential factor for the billing and management of power supply and demand. Moreover, it is challenging to build a supply plan for the power demand and to manage the billing for the power consumption. To solve these problems, this paper proposes a novel method based on Lock-in Amplifier (LIA) and Lock-in Amplifier Frequency-Locked Loop (LIA-FLL) to measure the power with high precision and accuracy. The proposed method first tracks the variations in the input signal frequency using LIA-FLL and generates the updated reference signals for LIA. After that, the LIA is used to extract the accurate amplitude of each frequency component. The proposed method results in accurate and precise measurement, even with harmonics and frequency fluctuations. The validity of the proposed method is verified by comparing the power measurement results with the classical method, FFT, and ZERA COM3003 (a commercially available power measurement reference instrument).

1. Introduction

The rise in world population causes a rapid increase in energy demand and global warming. International stakeholders try to improve the environmental conditions around the world with the help of agreements and policies like the Paris Climate Agreement. In the power sector, to meet the increase in energy demand, the use of renewable systems with grid-connected inverters (GCIs) increases with every passing year [1,2,3,4,5,6,7,8]. However, the energy demand and supply imbalance and the use of GCIs cause harmonic injection and frequency fluctuations in the grid [9,10,11,12,13,14,15]. As a result, the accuracy of power measurement with conventional methods is gradually decreasing, which results in civil complaints due to wrong billing and adversely affects the prediction and management of power demand [16,17,18,19].
The conventional power measurement method is mainly divided into two types, a mechanical (induction type) power measurement method and an electronic power measurement method. First, the mechanical power measurement method offers straightforward design, efficient operation, and superior durability. However, the fixed coil overheats and affects the disk’s mechanical inertia when the voltage and current waveforms have harmonics or when the frequency is changed. As a result, the accuracy of power measurement reduces [20,21]. Consequently, the mechanical power measurement method is not preferred for the system with harmonics [21,22]. The second method is an electronic measurement, compensating for the disadvantages of the mechanical power measurement method. The electronic power measurement method is subdivided into analog and digital methods. With the development of technology, the analog method using an operational amplifier circuit is replaced by the digital method. In the digital method, the voltage and current waveforms are sampled and processed digitally in the microcontroller unit (MCU) to calculate power [16,23,24]. However, the non-sinusoidal grid conditions, harmonics, and frequency fluctuations combined to cause an error in zero-crossing detection even in the digital power measurement method. Therefore, there still be a reasonable measurement error in power [25]. Budeanu and Fryze introduced the classical definition of non-sinusoidal AC power. Budeanu concluded that there is a power distortion, causing the sum of the squares of real and active power to be less than that of the apparent power. Budeanu’s reactive power definition directly extends the definition under sinusoidal conditions. Later on, Fryze introduced his definition of reactive power based on the decomposition of supply current into active and reactive current components. Both these definitions are extended by many authors to clear the misconceptions and limitations [26,27,28]. Another digital method of measuring power is Fast Fourier Transform (FFT). This method calculates power separately for each frequency component after extracting the voltage and current for each component. If the input signal has noise or multiple harmonics, FFT can extract accurate results for each component. However, this method has limitations like spectral leakage, picket-fencing effect, and resolution. In input frequency fluctuation, these limitations cause reduced accuracy in power measurement. To solve this problem, a large amount of data is required, resulting in a problem of long computation time [24].
Lock-in Amplifier based power measurement is another method used to extract phase and amplitude information for specific frequency components from input signals having harmonics. It shows higher accuracy than that FFT. However, if the input signal frequency fluctuates, the lock-in amplifier shows an error in extracted information. To solve this problem few methods based on FFT have been proposed recently to track the frequency of lock-in amplifiers. However, the amplitude extraction results of these methods are not much accurate due to the limitation of FFT [29,30].
  • Ref. [30] implemented the digital lock-in amplifier with an FFT phase-locked loop to automatically track the input signal’s frequency change. This article claimed an accuracy of less than 1%.
  • Ref. [29] implemented a digital lock-in amplifier with a frequency-tracking algorithm based on the Discrete Fourier transform (DFT). This article claimed less than 0.1% accuracy for frequency tracking and voltage signal amplitude extraction. This accuracy is due to the limitation of the DFT, like spectral leakage and resolution.
Therefore, a better power measurement method than the traditional ones is needed for precise power measurement under harmonics and frequency fluctuations [25].
In this paper, a novel power measurement method using a Lock-in Amplifier (LIA) and Lock-in Amplifier Frequency-Locked Loop (LIA-FLL) is proposed for single-phase systems. The proposed novel LIA-FLL tracks the frequency of the input signal using LIA-FLL. It updates the frequency of LIA reference signals continuously to keep it the same as the frequency of the input signal. The LIA uses the updated reference signals to extract the voltage and current for each component, followed by the power calculation for each component individually. The proposed method exhibits superior precision in signal extraction as compared to FFT [31,32,33,34,35,36,37]. To verify the efficiency of the proposed method, power measurement is performed under the condition of 25% total harmonic distortion (THD). The results are compared with the power measured through ZERA COM 3003, a power measurement reference device.

2. Proposed Power Measurement Method Using LIAs with FLL

The proposed power measurement is based on LIA, which extracts the accurate amplitude of desired frequency component and LIA-FLL, which tracks any variation in the frequency of the input signal.

2.1. Lock-In Amplifier (LIA)

The LIA has three segments, as shown in Figure 1, Phase Sensitive Detector (PSD), Low-Pass Filter (LPF), and Amplitude and Phase Extraction.

2.1.1. Phase Sensitive Detector (PSD)

In PSD, the input signal is multiplied by the reference signals (sine and cosine), and the frequency of the reference signals is the same as the frequency component to be extracted. Equation (1) shows the input current signal of ‘n’ harmonics.
I s i g = I a m p sin ω f t + θ f + m 2 sin 2 ω f t + 2 θ f + m n sin n ω f t + n θ f ,
where ‘ I a m p ’ is the peak amplitude of the fundamental component, ‘ m n ’ is the amplitude ratio of the nth harmonic, and ‘ ω f ’ and ‘ θ f ’ is the frequency and phase information of the fundamental component, respectively.
Reference signals to be multiplied with the input signal are defined in Equation (2).
I sin _ r e f = sin k ω r e f t + k θ r e f , I cos _ r e f = cos k ω r e f t + k θ r e f ,
where ‘ k ’ defines the order of the reference signal selected according to the harmonic component to be extracted. The ‘ ω r e f ’ and ‘ θ r e f ’ is the frequency and phase of the reference signal, respectively. Both reference signals have unity amplitude, and the phase difference between them is 90°.
The PSD output is the product of the input current signal with reference signals, represented in Equation (3).
I x = I s i g × sin k ω r e f t + k θ r e f , I y = I s i g × cos k ω r e f t + k θ r e f ,
Equation (4) shows the trigonometric identity that the product of two sinusoids can be represented as the sum of two sinusoids.
sin a cos b = 1 2 sin a b + sin a + b , sin a sin b = 1 2 cos a b cos a + b ,
Equation (3) is further expanded using the trigonometric identity shown in Equation (4). The signal represented in Equations (5) and (6) contains desired frequency components shifted to zero frequency (DC), and other harmonics are shifted to non-zero frequencies.
I x = I a m p 2 n = 1 , 2 , 3 , k = 1 , 2 , 3 , m n cos k ω r e f n ω f t + k θ r e f n θ f cos k ω r e f + n ω f t + k θ r e f n θ f ,
I y = I a m p 2 n = 1 , 2 , 3 , k = 1 , 2 , 3 , m n sin k ω r e f + n ω f t + k θ r e f + n θ f + sin k ω r e f n ω f t + k θ r e f n θ f ,

2.1.2. Low-Pass Filter (LPF)

The PSD output is given to the LPF to extract phase and amplitude information of the desired component by filtering out the DC component. The transfer function of the LPF is defined in Equation (7).
H L P F s = ω c s + ω c k ,
where ‘ ω c ’ and ‘k’ is the cut-off frequency and order of the LPF, respectively. The design of LPF is based on the lowest frequency component, which is 60 Hz (f2hf1h). To extract the fundamental component, the lowest frequency component (60 Hz) should be attenuated sufficiently. As a result, other higher-frequency components are eliminated as well. In this paper, ω c   and   k is selected as 5.3 Hz and 4, respectively. Equations (8) and (9) show the output of the LPF, where the residual AC ripples are removed. Only the desired frequency component at zero frequency remains, which leads to accurate measurements.
I d = I a m p 2 cos k ω r e f n ω f t + k θ r e f n θ f ,
I q = I a m p 2 sin k ω r e f n ω f t + k θ r e f n θ f ,

2.1.3. Amplitude and Phase Extraction

In this section, the outputs of the LPF containing the DC component are used to extract the amplitude and phase of the specific frequency component.
The amplitude of the n th harmonic is calculated in Equation (10) by using Equations (8) and (9). Equation (10) is further simplified using Equation (11).
A n = I a m p n 2 2 cos k ω r e f n ω f t + k θ r e f n θ f 2 + sin k ω r e f n ω f t + k θ r e f n θ f 2 ,
sin 2 θ + cos 2 θ = 1 ,
A n = I a m p n 2 ,
The phase of n th harmonic is calculated by Equation (13), which can be further simplified by Equation (14). Thus, LIA extracts the accurate amplitude and phase information of voltage and current signals for each harmonic component.
θ n = tan 1 I a m p n 2 sin k ω r e f n ω f t + k θ r e f n θ f I a m p n 2 cos k ω r e f n ω f t + k θ r e f n θ f ,
θ n = k ω r e f n ω f t + k θ r e f n θ f ,

2.2. Lock-In Amplifier Frequency-Locked Loop (LIA-FLL)

The LIA-FLL has two segments, as shown in Figure 2, the LIA and FLL. The phase output of LIA is used by FLL to calculate the correct frequency of the input signal. The updated frequency from FLL is used to generate reference signals of LIA to extract the desired frequency component accurately. The LIA gives phase as an output. The FLL takes phase information as the input and calculates the derivative of phase (Δθ). The Δθ is amplified with a PI controller to give the change in frequency (Δf). This change in frequency is added to the desired frequency to get the accurate frequency of the input signal. The tracked frequency is used to calculate the phase shift needed to synchronize the phase of the input signal and reference signals. This new frequency is used to generate new reference signals using LIA. Figure 2 shows the block diagram of the proposed LIA-FLL.

2.3. New Power Measurement Method Using LIA and LIA-FLL

This section describes the power calculation using the input voltage and current signals. The LIA-FLL tracks the variations in the input signal frequency and updates the LIA reference signals accordingly. The tracked frequency from the LIA-FLL is used to generate the reference signals with the same frequency and phase as the input signal. These updated reference signals and the input signal (voltage and current) are used by separate lock-in amplifiers for voltage and current to extract the accurate amplitude for each frequency component. These extracted voltage and current magnitudes are multiplied to calculate the power for each frequency component. The power calculated for n-components are added to get total power (PT). Figure 3 shows the block diagram of the proposed power measurement method using LIA and LIA-FLL.

3. Experimental Results and Discussion

3.1. Experimental Setup and Configuration

This section describes the experimental setup and configuration used for power measurement. The programmable AC source (Chroma 61704) is configured with the voltage, frequency, and THD profile to supply power to the load. The supply voltage is configured as 220 V (rms single-phase), and the load used is a 1 kW (48 Ω) resistive load (single-phase). The harmonic profile of the AC source is configured for THD of 25% (Vf: 100%, Vh2: 11.1%, Vh3: 11.2%, Vh5: 11.2%, Vh7: 11.2%, and Vh11 11.2%). According to IEEE Std 519-2022, the THD limit is 8% for the system with less than 1 kV [38]. However, in these experiments, a higher THD is used to test the robustness of the proposed method. Figure 4 shows the flow chart of the experimental procedure. The voltage and current signals for the connected load are acquired using the voltage sensing circuit and the current probe, respectively. The voltage sensing circuit is implemented with an LV 25-P voltage sensor with a measurement range of 500 V DC/AC, and the current probe (Chauvin Arnoux, P011015105Z) is used with a measurement range of 10 A. The SFD-1515 (AC to DC converter) provides ±15 V biasing to the voltage sensor.
The output analog signals from the voltage sensing circuit and the current probe are converted into digital signals using NI myDAQ. The analog-to-digital converter in the NI myDAQ operates with 16 bits and a 100 kHz sampling rate. The proposed method implemented by LabVIEW detects the frequency and calculates the power for each frequency component. Figure 5 shows the block diagram of the experimental setup used for the power measurement. Red and black line represents live and neutral wire, respectively.
The ZERA COM3003, a commercially available reference power measurement instrument, is also connected to compare the measurement results with those proposed.

3.2. Frequency Tracking by Proposed LIA-FLL

This section discusses the frequency tracking results obtained using LIA-FLL with the previously explained experimental setup. The experiment is performed for three input signal frequencies (58 Hz,60 Hz, and 62 Hz) with a 100 kHz sampling rate under 25% THD condition (Vf: 100%, Vh2: 10.09%, Vh3: 10.99%, Vh5: 11.11%, Vh7: 11.14%, Vh11: 11.21%). In this experiment, the frequency shift of ±2 Hz is selected according to the standard for frequency deviation of ±1.5 Hz defined by Korean Electric Power Corporation (KEPCO) [39]. However, a higher frequency deviation value is selected to test the robustness of the proposed method.
To achieve the frequency shift for the experiment, the programmable AC supply (Chroma 61704) is configured with voltage, frequency, and THD profiles of 220 Vrms, 60 Hz, and 25% THD respectively. The power is supplied to the resistive load, and the NI myDAQ converts the sensed voltage and current signal to the digital domain. The proposed LIA-FLL implemented using LabVIEW acquires voltage and current data from NI myDAQ, tracks the correct input frequency, and updates the LIA reference signals. Next, we changed the frequency setting of the Chroma to 62 Hz and again performed the same experiment. The same procedure was followed for 58 Hz as well. The frequency tracking results show that the proposed LIA-FLL takes 500 ms to lock the frequency initially and 150 ms to follow the further variations. Figure 6 shows the results for the proposed LIA-FLL. It shows that the proposed frequency tracking algorithm works effectively at different frequencies.

3.3. Comparison of the Power Measurement by the Proposed Algorithm and ZERA Instrument

In this section, the power measurement results by the proposed method are shown, and the results will be discussed. The chroma power supply generates the system signals (voltage and current) with harmonics for defined voltage and frequency profiles of 220 V (rms single-phase) and 60 Hz, respectively. Figure 7 shows chroma’s output voltage and current signals when connected with a 48 Ω resistive load under 25% THD condition and the frequency spectrum for these voltage and current signals obtained using the oscilloscope.
As mentioned, the ZERA COM3003 is connected in parallel to compare the power measured with the proposed LIA-FLL. Figure 8, Table 1, Table 2 and Table 3 show the power and THD measurements performed by ZERA with an input signal frequency of 60 Hz and 25% THD condition, respectively.
The proposed LIA-FLL is used for power measurement with the same testing condition of THD and system signal. The LabVIEW code based on LIA-FLL acquires voltage and current data from NI myDAQ. The LIA-FLL updated the LIA reference signals and accurately measured the voltage, current, and power for the fundamental and each harmonic component. Table 4 shows the results obtained for component-specific voltage, current, and power with LIA-FLL at 60 Hz.
The same power measurement experiment is performed using LIA-FLL by changing the input signal frequency to 58 Hz and 62 Hz to analyze the performance under the frequency variations. As mentioned earlier, the ZERA COM 3003 is connected to compare the accuracy of the power measurements by the proposed LIA-FLL. The measurement error for the proposed LIA-FLL with three different input frequencies (58 Hz, 60 Hz, and 62 Hz) is calculated by comparing the component-specific voltage, current, and power measured by ZERA COM 3003. The results from Figure 9 show the percentage error in total power measured by LIA-FLL, taking those by ZERA as a reference. Results show that the percentage error in power for the proposed method is less than the standard accuracy of ±0.02% (class 0.02).

3.4. Power Measurement with FFT and Classical Method

Fast Fourier Transform (FFT) is another method used for power measurement. This method calculates power separately for each frequency component after extracting the voltage and current for each component. For power measurement with this method, the LabVIEW code based on the FFT acquires data from NI myDAQ. First, the frequency resolution of 1.5 Hz is used to observe the effect of spectral leakage. Next, the LabVIEW code extracts the voltage and current for each frequency component. Then these extracted voltage and current values are used to calculate the component-specific power. Table 5 shows the component-specific voltage, current, and power measurement results of the FFT method at 60 Hz.
To analyze the performance of the FFT method under frequency fluctuations, the same experiment is performed with two other input signal frequencies of 58 Hz and 62 Hz. The measurement error for the FFT method with three different input frequencies (58 Hz, 60 Hz, and 62 Hz) is calculated by comparing the component-specific voltage, current, and power measured by ZERA COM3003. Figure 10 shows the maximum percentage error for the FFT method is 0.115% which is higher than the proposed LIA-FLL. The FFT shows an increase in error as the frequency fluctuates due to the picket-fencing and spectral leakage effect at frequencies (58 Hz and 62 Hz).
The classical method (numerical integration) is another conventional method used for power measurement in digital electronics meters. This method multiplies discrete samples of rms voltage and rms current. This product is repeated for ‘n-samples’ where ‘n’ is the period sampling number of the digital signal. Then the summation result is divided by ‘n’. The period of the digital signal is kept fixed [16]. The testing conditions for the experiment with the classical method are the same, with 25% THD. The LabVIEW code based on the numerical integration algorithm acquires the digital signals for voltage and current from NI myDAQ and calculates the power. Table 6 shows the voltage, current, and power measured by the classical method under the 25% THD condition and the input signal frequency of 60 Hz.
To analyze the performance of the classical method under frequency fluctuations, the same experiment is performed with two other input signal frequencies of 58 Hz and 62 Hz. The measurement error for the classical method with three different input frequencies (58 Hz, 60 Hz, and 62 Hz) is calculated by comparing the component-specific voltage, current, and power measured by ZERA COM 3003. Figure 11 shows the percentage error for the classical method. The results show that the measurement error for the classical method is higher than that of the proposed LIA-FLL. The error increases as the frequency fluctuates because the digital signal ‘n’ period is fixed. In contrast, the input signal frequency is shifted, which means the digital signal does not fit into the digital window of n samples. This leads to an inaccurate measurement if the frequency of the input signal deviates.

3.5. Power Consumption Measurement with LIA-FLL and Commercial Watt-Hour Meter

The proposed LIA-FLL measures the thirty-minute power consumption under 25% THD condition. Two commercially available watt-hour meters and ZERA COM3003 are also used to measure the thirty-minute power consumption under the same testing conditions. Figure 12 shows the commercially available watt-hour meters A and B during the power consumption measurement.
The power consumption measurement results for the proposed LIA-FLL and commercially available watt-hour meters are compared with the power consumption measurement results for ZERA COM3003. Table 7 shows the percentage error in measurement performed by each method.
The results show that the power consumption measurement with both commercial watt-hour meters shows an error of 0.401% compared to the results by ZERA COM3003. However, the measurement performed by the proposed LIA-FLL method shows an error of 0.0027%. Figure 13 shows the percentage error in power consumption for the proposed method with LIA-FLL, watt-hour meter A, and watt-hour meter B.

4. Conclusions

This article proposes a novel power measurement method based on the LIA with FLL to get accurate power measurements under non-sinusoidal grid conditions. The proposed LIA-FLL tracks the input signal frequency and updates the LIA reference signals. The LIA extracts the component-specific voltage and current from the input signal having harmonics and frequency fluctuations. The component-specific voltage and current result in accurate power and watt-hour measurement.
To verify the performance of the proposed method, the experiment is performed for three different input signal frequencies of 58 Hz, 60 Hz, and 62 Hz under the 25% THD condition. In addition, the measurement results of the proposed method are compared with the results for the conventional methods and the reference device ZERA COM3003. The comparison verifies that the proposed method shows an accuracy of ±0.0027% or less, which is better than the standard accuracy class 0.02, for power and watt-hour measurement even with an input signal having harmonics and frequency fluctuations.

Author Contributions

Conceptualization, A.R., K.C. and W.C.; methodology, A.R., K.C. and W.C.; software, A.R. and K.C.; validation, A.R., K.C. and W.C.; formal analysis, A.R.; investigation, A.R.; resources, A.R.; data curation, A.R.; writing—original draft preparation, A.R.; writing—review and editing, A.R.; visualization, A.R., K.C. and W.C.; manuscript revision and supervision, W.C.; project administration, A.R.; funding acquisition, W.C. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by Korea Electric Power Corporation (Grant number: R21XO01-35).

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Chen, X.; Qu, G.; Tang, Y.; Low, S.; Li, N. Reinforcement Learning for Selective Key Applications in Power Systems: Recent Advances and Future Challenges. IEEE Trans. Smart Grid 2022, 13, 2935–2958. [Google Scholar] [CrossRef]
  2. Fattaheian-Dehkordi, S.; Abbaspour, A.; Fotuhi-Firuzabad, M.; Lehtonen, M. A Distributed Framework for Intense Ramping Management in Distribution Networks. IEEE Trans. Smart Grid 2023, 14, 315–327. [Google Scholar] [CrossRef]
  3. Wang, Q.; Dong, Z.; Li, R.; Wang, L. Renewable energy and economic growth: New insight from country risks. Energy 2022, 238, 122018. [Google Scholar] [CrossRef]
  4. Santos, J.A.; Fraga, H.; Malheiro, A.C.; Moutinho-Pereira, J.; Dinis, L.-T.; Correia, C.; Moriondo, M.; Leolini, L.; Dibari, C.; Costafreda-Aumedes, S.; et al. A Review of the Potential Climate Change Impacts and Adaptation Options for European Viticulture. Appl. Sci. 2020, 10, 3092. [Google Scholar] [CrossRef]
  5. Natur, S.; Damri, O.; Agam, G. The Effect of Global Warming on Complex Disorders (Mental Disorders, Primary Hypertension, and Type 2 Diabetes). Int. J. Environ. Res. Public Health 2022, 19, 9398. [Google Scholar] [CrossRef] [PubMed]
  6. Hakuba, M.Z.; Stephens, G.L.; Christophe, B.; Nash, A.E.; Foulon, B.; Bettadpur, S.V.; Tapley, B.D.; Webb, F.H. Earth’s Energy Imbalance Measured from Space. IEEE Trans. Geosci. Remote Sens. 2019, 57, 32–45. [Google Scholar] [CrossRef]
  7. Khalili, S.; Breyer, C. Review on 100% Renewable Energy System Analyses—A Bibliometric Perspective. IEEE Access 2022, 10, 125792–125834. [Google Scholar] [CrossRef]
  8. Perera, F. Pollution from fossil-fuel combustion is the leading environmental threat to global pediatric health and equity: Solutions exist. Int. J. Environ. Res. Public Health 2018, 15, 16. [Google Scholar] [CrossRef]
  9. Costea, M.; Leonida, T. The Difficulty to accurately assess the Active Losses due to Harmonics. In Proceedings of the 2022 20th International Conference on Harmonics & Quality of Power (ICHQP), Naples, Italy, 29 May–1 June 2022. [Google Scholar] [CrossRef]
  10. Medina, A.; Segundo-Ramirez, J.; Ribeiro, P.; Xu, W.; Lian, K.L.; Chang, G.W.; Dinavahi, V.; Watson, N.R. Harmonic Analysis in Frequency and Time Domain. IEEE Trans. Power Deliv. 2013, 28, 1813–1821. [Google Scholar] [CrossRef]
  11. Wang, X.; Blaabjerg, F. Harmonic Stability in Power Electronic-Based Power Systems: Concept, Modeling, and Analysis. IEEE Trans. Smart Grid 2019, 10, 2858–2870. [Google Scholar] [CrossRef]
  12. Chen, C.-I.; Chen, Y.-C. Comparative Study of Harmonic and Interharmonic Estimation Methods for Stationary and Time-Varying Signals. IEEE Trans. Ind. Electron. 2014, 61, 397–404. [Google Scholar] [CrossRef]
  13. Chen, S.; Zhang, T.; Gooi, H.B.; Masiello, R.D.; Katzenstein, W. Penetration Rate and Effectiveness Studies of Aggregated BESS for Frequency Regulation. IEEE Trans. Smart Grid 2016, 7, 167–177. [Google Scholar] [CrossRef]
  14. Nguyen, N.; Mitra, J. An Analysis of the Effects and Dependency of Wind Power Penetration on System Frequency Regulation. IEEE Trans. Sustain. Energy 2016, 7, 354–363. [Google Scholar] [CrossRef]
  15. Xu, B.; Dvorkin, Y.; Kirschen, D.S.; Silva-Monroy, C.A.; Watson, J.-P. A comparison of policies on the participation of storage in U.S. frequency regulation markets. In Proceedings of the 2016 IEEE Power and Energy Society General Meeting (PESGM), Boston, MA, USA, 17–21 July 2016. [Google Scholar] [CrossRef]
  16. Wu, W.; Mu, X.; Xu, Q.; Mu, X.; Ji, F.; Bao, J.; Ouyang, Z. Effect of Frequency Offset on Power Measurement Error in Digital Input Electricity Meters. IEEE Trans. Instrum. Meas. 2018, 67, 559–568. [Google Scholar] [CrossRef]
  17. Garcia, F.D.; Marafao, F.P.; de Souza, W.A.; da Silva, L.C.P. Power Metering: History and Future Trends. In Proceedings of the 2017 Ninth Annual IEEE Green Technologies Conference (GreenTech), Denver, CO, USA, 29–31 March 2017; pp. 26–33. [Google Scholar] [CrossRef]
  18. Kwak, E.-S.; Moon, J.; Moon, C.-J. Analysis of Power System Stability by Deployment of Renewable Energy Resources. J. Korea Inst. Electron. Commun. Sci. 2021, 16, 1975–8170. [Google Scholar] [CrossRef]
  19. Barlow, H.M. Some New High-Frequency Wattmeters Operated by Forces Arising from a Rate of Change of Electromagnetic Momentum. IEEE Trans. Instrum. Meas. 1966, 15, 333–337. [Google Scholar] [CrossRef]
  20. Maisel, J.E.; Klingshirn, E.A. Low-Frequency Spectral Analysis Using a Dynamometer-Type Wattmeter. IEEE Trans. Educ. 1982, 25, 74–77. [Google Scholar] [CrossRef]
  21. Wagner, V.; Balda, J.; Griffith, D.; McEachern, A.; Barnes, T.; Hartmann, D.; Phileggi, D.; Emannuel, A.; Horton, W.; Reid, W.; et al. Effects of harmonics on equipment. IEEE Trans. Power Deliv. 1993, 8, 672–680. [Google Scholar] [CrossRef]
  22. Balci, M.; Hocaoglu, M. Comparison of power definitions for reactive power compensation in nonsinusoidal conditions. In Proceedings of the 2004 11th International Conference on Harmonics and Quality of Power (IEEE Cat. No.04EX951), Lake Placid, NY, USA, 12–15 September 2004; pp. 519–524. [Google Scholar] [CrossRef]
  23. Souza, L.R.; Godoy, R.B.; de Souza, M.A.; Junior, L.G.; de Brito, M.A.G. Sampling Rate Impact on Electrical Power Measurements Based on Conservative Power Theory. Energies 2021, 14, 6285. [Google Scholar] [CrossRef]
  24. Grinfogels, E.; Apse-Apsitis, P.; Senfelds, A.; Avotins, A.; Porins, R. Electrical Power Measurement Method Comparison Using Statistical Analysis. In Proceedings of the 2018 IEEE 59th International Scientific Conference on Power and Electrical Engineering of Riga Technical University (RTUCON), Riga, Latvia, 12–13 November 2018. [Google Scholar]
  25. Babuta, A.; Gupta, B.; Kumar, A.; Ganguli, S. Power and energy measurement devices: A review, comparison, discussion, and the future of research. Measurement 2021, 172, 108961. [Google Scholar] [CrossRef]
  26. Czarnecki, L.S. Budeanu and fryze: Two frameworks for interpreting power properties of circuits with nonsinusoidal voltages and currents. Electr. Eng. 1997, 80, 359–367. [Google Scholar] [CrossRef]
  27. Richards, G.G.; Tan, O.T.; Czarnecki, L.S. Comments on “considerations on the reactive power in nonsinusoidal situations”. IEEE Trans. Instrum. Meas. 1986, IM-35, 365–366. [Google Scholar] [CrossRef]
  28. Sołjan, Z.; Zajkowski, M. Extension and Correction of Budeanu Power Theory Based on Currents’ Physical Components (CPC) Theory for Single-Phase Systems. Energies 2022, 15, 8321. [Google Scholar] [CrossRef]
  29. Wang, Y.; Cheng, Y.; Chen, K.; Wang, L.; Wang, H. A Software Digital Lock-In Amplifier Method with Automatic Frequency Estimation for Low SNR Multi-Frequency Signal. Appl. Sci. 2022, 12, 6431. [Google Scholar] [CrossRef]
  30. Zhang, C.; Liu, H.; Ge, J.; Dong, H. FPGA-Based Digital Lock-in Amplifier with High-Precision Automatic Frequency Tracking. IEEE Access 2020, 8, 123114–123122. [Google Scholar] [CrossRef]
  31. Paz, F.; Ordonez, M. High-Performance Solar MPPT Using Switching Ripple Identification Based on a Lock-In Amplifier. IEEE Trans. Ind. Electron. 2016, 63, 3595–3604. [Google Scholar] [CrossRef]
  32. Kishore, K.; Akbar, S.A. Evolution of Lock-In Amplifier as Portable Sensor Interface Platform: A Review. IEEE Sens. J. 2020, 20, 10345–10354. [Google Scholar] [CrossRef]
  33. Maya-Hernandez, P.M.; Sanz-Pascual, M.T.; Calvo, B. Low-power analog lock-in amplifier for high-resolution portable sensing systems. In Proceedings of the 2016 IEEE International Symposium on Circuits and Systems (ISCAS), Montreal, QC, Canada, 22–25 May 2016; pp. 486–489. [Google Scholar] [CrossRef]
  34. Ferreira, J.A.; Petraglia, A. Analog integrated lock-in amplifier for optical sensors. IEEE Instrum. Meas. Mag. 2017, 20, 43–50. [Google Scholar] [CrossRef]
  35. Choudhury, B.K.; Jena, P. A Digital Lock-In Amplifier Assisted Active Islanding Detection Technique for DC Microgrids. IEEE Trans. Ind. Appl. 2023, 59, 377–391. [Google Scholar] [CrossRef]
  36. Khan, R.A.; Ashraf, M.N.; Choi, W. A Harmonic Compensation Method Using a Lock-In Amplifier under Non-Sinusoidal Grid Conditions for Single Phase Grid Connected Inverters. Energies 2021, 14, 597. [Google Scholar] [CrossRef]
  37. Ashraf, M.N.; Khan, R.A.; Choi, W. A Novel Selective Harmonic Compensation Method for Single-Phase Grid-Connected Inverters. IEEE Trans. Ind. Electron. 2021, 68, 4848–4858. [Google Scholar] [CrossRef]
  38. IEEEXplore. Available online: https://ieeexplore.ieee.org/iel7/9848438/9848439/09848440.pdf (accessed on 8 March 2023).
  39. CyberKEPCO. Available online: https://cyber.kepco.co.kr/ckepco/front/jsp/CO/H/htmlView/COHAHP00908.jsp# (accessed on 8 March 2023).
Figure 1. Block diagram of Lock-in Amplifier [37].
Figure 1. Block diagram of Lock-in Amplifier [37].
Electronics 12 02219 g001
Figure 2. Block diagram of Lock-in Amplifier Frequency-Locked Loop [37].
Figure 2. Block diagram of Lock-in Amplifier Frequency-Locked Loop [37].
Electronics 12 02219 g002
Figure 3. Block diagram of proposed power measurement method using LIA and LIA-FLL.
Figure 3. Block diagram of proposed power measurement method using LIA and LIA-FLL.
Electronics 12 02219 g003
Figure 4. Flow chart of the experimental procedure used for the power measurement by the proposed method.
Figure 4. Flow chart of the experimental procedure used for the power measurement by the proposed method.
Electronics 12 02219 g004
Figure 5. Block diagram of the experimental setup used for the power measurement.
Figure 5. Block diagram of the experimental setup used for the power measurement.
Electronics 12 02219 g005
Figure 6. LabVIEW results for frequency tracking with LIA-FLL: (a) fundamental component (58 Hz, 60 Hz, and 62 Hz); (b) 2nd harmonic (116 Hz, 120 Hz, and 124 Hz); (c) 3rd harmonic (174 Hz, 180 Hz,186 Hz); (d) 5th harmonic (290 Hz, 300 Hz, and 310 Hz); (e) 7th harmonic (406 Hz, 420 Hz, and 434 Hz); (f) 11th harmonic (638 Hz, 660 Hz, and 682 Hz).
Figure 6. LabVIEW results for frequency tracking with LIA-FLL: (a) fundamental component (58 Hz, 60 Hz, and 62 Hz); (b) 2nd harmonic (116 Hz, 120 Hz, and 124 Hz); (c) 3rd harmonic (174 Hz, 180 Hz,186 Hz); (d) 5th harmonic (290 Hz, 300 Hz, and 310 Hz); (e) 7th harmonic (406 Hz, 420 Hz, and 434 Hz); (f) 11th harmonic (638 Hz, 660 Hz, and 682 Hz).
Electronics 12 02219 g006
Figure 7. Oscilloscope results for chroma power supply (60 Hz): (a) voltage signal; (b) current signal; (c) FFT of the voltage signal; (d) FFT of the current signal.
Figure 7. Oscilloscope results for chroma power supply (60 Hz): (a) voltage signal; (b) current signal; (c) FFT of the voltage signal; (d) FFT of the current signal.
Electronics 12 02219 g007
Figure 8. ZERA COM 3003 measurement results: (a) voltage THD; (b) current THD; (c) total power.
Figure 8. ZERA COM 3003 measurement results: (a) voltage THD; (b) current THD; (c) total power.
Electronics 12 02219 g008
Figure 9. Percentage error for component-specific voltage, current, and power measured by LIA-FLL, taking ZERA as reference (58 Hz, 60 Hz, and 62 Hz).
Figure 9. Percentage error for component-specific voltage, current, and power measured by LIA-FLL, taking ZERA as reference (58 Hz, 60 Hz, and 62 Hz).
Electronics 12 02219 g009
Figure 10. Percentage error for component-specific voltage, current, and power measured by FFT, taking ZERA as reference (58 Hz, 60 Hz, and 62 Hz).
Figure 10. Percentage error for component-specific voltage, current, and power measured by FFT, taking ZERA as reference (58 Hz, 60 Hz, and 62 Hz).
Electronics 12 02219 g010
Figure 11. Percentage Error for Voltage, Current, and Power Measured by classical method taking ZERA as reference (58 Hz, 60 Hz, and 62 Hz).
Figure 11. Percentage Error for Voltage, Current, and Power Measured by classical method taking ZERA as reference (58 Hz, 60 Hz, and 62 Hz).
Electronics 12 02219 g011
Figure 12. Power consumption measurement results (initial and final readings): (a) Watt-hour meter A; (b) Watt-hour meter B.
Figure 12. Power consumption measurement results (initial and final readings): (a) Watt-hour meter A; (b) Watt-hour meter B.
Electronics 12 02219 g012
Figure 13. The percentage error for power consumption was measured for the proposed method with LIA-FLL, Watt-hour meter A, and Watt-hour meter B.
Figure 13. The percentage error for power consumption was measured for the proposed method with LIA-FLL, Watt-hour meter A, and Watt-hour meter B.
Electronics 12 02219 g013
Table 1. Instantaneous voltage, current and power measurement results by ZERA instrument display.
Table 1. Instantaneous voltage, current and power measurement results by ZERA instrument display.
ParameterMeasurement
Voltage220.121
Current4.5249
Power996.03
Table 2. THD Measurements by ZERA instrument.
Table 2. THD Measurements by ZERA instrument.
ParameterVoltageCurrent
Fundamental Wave100%100%
2nd Harmonic10.09%10.08%
3rd Harmonic10.99%10.96%
5th Harmonic11.11%11.08%
7th Harmonic11.14%11.10%
11th Harmonic11.21%11.16%
THD24.41%24.33%
Table 3. Component-specific current, voltage, and power measurements by ZERA equipment.
Table 3. Component-specific current, voltage, and power measurements by ZERA equipment.
ParameterZERA
Voltage
[V]
Fundamental Wave213.8697
2nd Harmonic21.5794
3rd Harmonic23.5042
5th Harmonic23.7609
7th Harmonic23.8250
11th Harmonic23.9748
Current
[A]
Fundamental Wave4.3959
2nd Harmonic0.4431
3rd Harmonic0.4818
5th Harmonic0.4870
7th Harmonic0.4879
11th Harmonic0.4905
Power
[W]
Fundamental Wave940.1676
2nd Harmonic9.5634
3rd Harmonic11.3243
5th Harmonic11.5733
7th Harmonic11.6255
11th Harmonic11.7618
PTTotal Power996.0162
Table 4. Component-specific current, voltage, and power measurements by proposed LIA-FLL.
Table 4. Component-specific current, voltage, and power measurements by proposed LIA-FLL.
ParameterProposed LIA-FLL
Voltage
[V]
Fundamental Wave213.8611
2nd Harmonic21.5789
3rd Harmonic23.5026
5th Harmonic23.7599
7th Harmonic23.8239
11th Harmonic23.9736
Current
[A]
Fundamental Wave4.3960
2nd Harmonic0.4431
3rd Harmonic0.4818
5th Harmonic0.4870
7th Harmonic0.4879
11th Harmonic0.4906
Power
[W]
Fundamental Wave940.1430
2nd Harmonic9.5633
3rd Harmonic11.3236
5th Harmonic11.5730
7th Harmonic11.6247
11th Harmonic11.7614
PTTotal Power995.9894
Table 5. Component-specific current, voltage, and power are measured by FFT.
Table 5. Component-specific current, voltage, and power are measured by FFT.
ParameterFFT
Voltage
[V]
Fundamental Wave213.8394
2nd Harmonic21.5410
3rd Harmonic23.4410
5th Harmonic23.7023
7th Harmonic23.7186
11th Harmonic23.8180
Current
[A]
Fundamental Wave4.3948
2nd Harmonic0.4414
3rd Harmonic0.4805
5th Harmonic0.4850
7th Harmonic0.4868
11th Harmonic0.4902
Power
[W]
Fundamental Wave939.7826
2nd Harmonic9.5094
3rd Harmonic11.2650
5th Harmonic11.4961
7th Harmonic11.5481
11th Harmonic11.6771
PTTotal Power995.2785
Table 6. Voltage, current, and power are measured by the classical method.
Table 6. Voltage, current, and power are measured by the classical method.
ParameterClassical Method
Voltage
[V]
219.9010
Current
[A]
4.5204
Power
[W]
994.0581
Table 7. A comparison between LIA-FLL, Watt-hour meter A, and Watt-hour Meter B, based on measured power consumption taking ZERA COM3003 as a reference.
Table 7. A comparison between LIA-FLL, Watt-hour meter A, and Watt-hour Meter B, based on measured power consumption taking ZERA COM3003 as a reference.
MethodPower Consumption%Error
ZERA498.000 Wh-
Proposed LIA-FLL498.013 Wh0.0027%
Commercial Watt-Hour Meter A500.000 Wh0.4015%
Commercial Watt-Hour Meter B500.000 Wh0.4015%
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Rehman, A.; Cho, K.; Choi, W. A Novel Power Measurement Method Using Lock-In Amplifiers with a Frequency-Locked Loop. Electronics 2023, 12, 2219. https://doi.org/10.3390/electronics12102219

AMA Style

Rehman A, Cho K, Choi W. A Novel Power Measurement Method Using Lock-In Amplifiers with a Frequency-Locked Loop. Electronics. 2023; 12(10):2219. https://doi.org/10.3390/electronics12102219

Chicago/Turabian Style

Rehman, Abdur, Kangcheoul Cho, and Woojin Choi. 2023. "A Novel Power Measurement Method Using Lock-In Amplifiers with a Frequency-Locked Loop" Electronics 12, no. 10: 2219. https://doi.org/10.3390/electronics12102219

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