3.1.19 Apparent Power Offset Register

The parameter POWER_OFFSET_S represents the total squared current (Amp²-hour/cycle) offset per full cycle (20 ms for 50 Hz, 16.667 ms for 60 Hz). This offset is subtracted from the current value used to calculate the apparent power: S = Vrms x (Irms – POWER_OFFSET_S).

Usage example (two alternatives):

  1. To achieve the most accurate result, measure an apparent power load curve with the apparent power offset disabled. Follow this procedure:
    1. Mathematically calculate the current offset causing the measured errors, in mA.
    2. Convert this value to the units of POWER_OFFSET_S.
    3. Example:
      1. The current RMS causing the errors is 21 mA.
      2. K_I = 617.284.
      3. Frequency is 50 Hz, resulting in 80 samples per cycle.
      4. POWER_OFFSET_S = 80 x 240 x (0.021 /617.284)2 = 101802.
  2. For a faster computation, use the accumulators I_A, I_B, and I_C, following this procedure:
    1. Apply the nominal voltage to the meter and set the current to zero.
    2. Read the I_A, I_B, and I_C accumulators and compute the average. For improved accuracy, take multiple measurements or increase the integration period.
    3. Calculate the corresponding value for a single cycle.
    4. Example:
      1. I_A = 52687391, I_B=39070069, I_C = 47225301.
      2. I_Average = 46327587.
      3. Samples accumulated = 40000 (approximately 10 seconds).
      4. Samples in 1 cycle = 80 (50 Hz).
      5. POWER_OFFSET_S = 46327587 x 80 / 40000 = 105375.

This register can be used with pulse types 6 (S) and 7 (S_F), but it must not be used with pulse type 8. For pulse type 8 the per-phase active and reactive power offsets must be used.

POWER_OFFSET_S is stored in sQ1.30 format and it is applied each full cycle.

POWER_OFFSET_S affects only S and S_F pulse generation and ACC_Tx pulse accumulators.

Refer to “PIC32CXMTx Metrology User Guide” (DS50003460) for a more detailed description.

Name: POWER_OFFSET_S
Property: Read-Write

This value affects the apparent power offset of appointed pulse.

Bit 3130292827262524 
 POWER_OFFSET_S[31:24] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 2322212019181716 
 POWER_OFFSET_S[23:16] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 15141312111098 
 POWER_OFFSET_S[15:8] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 76543210 
 POWER_OFFSET_S[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 

Bits 31:0 – POWER_OFFSET_S[31:0] (sQ1.30)