CS5480
DS893F1 63
RMS measurements in subsequent conversions,
removing the AC offset on the associated current
channel.
The AC offset register for the channel being calibrated
should first be cleared prior to performing the
calibration. The high-pass filter should be enabled if AC
offset calibration is used. It is recommended that
TSETTLE be set to 2000ms before performing an AC
offset calibration. Note that the AC offset register holds
the square of RMS value measured during calibration.
Therefore, it can hold a maximum RMS noise
of . This is the maximum RMS noise that AC
offset correction can remove.
7.1.2 Gain Calibration
Prior to executing the gain calibration command, gain
registers for any path to be calibrated (VxGAIN, IxGAIN)
should be set to 1.0, and TSETTLE should be set to
2000 ms. For gain calibration, a reference signal must
be applied to the meter. During gain calibration, the
voltage RMS result register (VxRMS) is divided into 0.6,
and the current RMS result register (IxRMS) is divided
into the Scale register. The quotient is put into the
associated gain register. The gain calibration algorithm
attempts to adjust the gain register (VxGAIN, IxGAIN)
such that the voltage RMS result register (VxRMS)
equals 0.6, and the current RMS result register (IxRMS)
equal the Scale register.
Note that for the gain calibration, there are some
limitations on choosing the reference level and the
Scale register value. Using a reference or a scale that is
too large or too small can cause register overflow during
calibration or later during normal operation. Either
condition can set Status register bits I1OR (I2OR), or
VOR. The maximum value that the gain register can
attain is four. Using inappropriate reference levels or
scale values may also cause the CS5480 to attempt to
set the gain register higher than four, therefore the gain
calibration result will be invalid.
The Scale register is 0.6 by default. The maximum
voltage (UMAX Volts) and current (IMAX Amps) of the
meter should be used as the reference signal level if the
Scale register is 0.6. After gain calibration, 0.6 of the
VxRMS (IxRMS) register represents UMAX Volts (IMAX
Amps) for the line voltage (load current); 0.36 of the
PAVG, QAVG, or Sx register represents UMAX×IMAX
Watts, Vars, or VAs for the active, reactive, or apparent
power.
If the calibration is performed with UMAX Volts and ICAL
Amps and ICAL<IMAX, the Scale register needs to be
scaled down to 0.6×ICAL /IMAX before performing gain
calibration. After gain calibration, 0.6 of the VxRMS
register represents UMAX Volts, 0.6 x ICAL /IMAX of the
IxRMS register represents ICAL Amps, and
0.36 × ICAL/IMAX of the PxAVG, QxAVG, or Sx register
represents UMAX xI
CAL Watts, Vars, or VAs.
7.1.3 Calibration Order
1) If the HPF option is enabled, then any DC compo-
nent that may be present in the selected signal chan-
nel will be removed, and a DC offset calibration is not
required. However, if the HPF option is disabled, the
DC offset calibration should be performed.
When using high-pass filters, it is recommended that
the DC offset register for the corresponding channel
be set to 0. Before performing DC offset calibration,
the DC offset register should be set to zero, and the
corresponding gain register should be set to one.
2) If there is an AC offset in the IxRMS calculation, the
AC offset calibration should be performed on the cur-
rent channel. Before performing AC offset calibra-
tion, the AC offset register should be set to zero. It is
recommended that TSETTLE be set to 2000ms before
performing an AC offset calibration.
3) Perform the gain calibration.
4) If an AC offset calibration was performed (step 2),
then the AC offset may need to be adjusted to com-
pensate for the change in gain (step 3). This can be
accomplished by restoring zero to the AC offset reg-
ister and then perform an AC offset calibration. The
adjustment could also be done by multiplying the AC
offset register value that was calculated in step 2 by
the gain calculated in step 3 and updating the AC off-
set register with the product.
7.2 Phase Compensation
A phase compensation mechanism is provided to adjust
for meter-to-meter variation in signal path delays.
Phase offset between a voltage channel and its
corresponding current channel can be calculated by
using the power factor (PF1, PF2) register after a
conversion.
1) Apply a reference voltage and current with a lagging
power factor to the meter. The reference current
waveform should lag the voltage with a 60° phase
shift.
2) Start continuous conversion.
3) Accumulate multiple readings of the PF1 or PF2
register.
4) Calculate the average power factor, PFavg.
5) Calculate phase offset = arccos(PFavg) - 60°.