2 dc offset calibration sequence, 3 ac gain calibration sequence, 4 dc gain calibration sequence – Cirrus Logic CS5460A User Manual

Page 31: 8 duration of calibration sequence, 9 phase compensation, Figure 19. example of ac gain calibration, Cs5460a

Advertising
background image

CS5460A

DS487F5

31

3.8.7.2 DC Offset Calibration Sequence

The Voltage Channel DC Offset Register holds the
negative of the simple average of N samples taken
while the DC voltage offset calibration was execut-
ed. The inputs should be grounded during DC off-
set calibration. The DC offset value is added to the
signal path to nullify the DC offset in the system.

3.8.7.3 AC Gain Calibration Sequence

The AC voltage gain calibration algorithm attempts
to adjust the Voltage Channel Gain Register value
such that the calibration reference signal level pre-
sented at the voltage inputs will result in a value of
0.6 in the RMS Voltage Register. The AC calibra-
tion signal is applied to the “+” and “-” input pins of
the channel under calibration. During AC voltage
gain calibration, the value in the RMS Voltage Reg-
ister is divided into 0.6. This result is the AC gain
calibration value stored in the Voltage Channel
Gain Register.

3.8.7.4 DC Gain Calibration Sequence

Based on the level of the positive DC calibration
voltage that should be applied across the “+” and
“-” inputs, the CS5460A determines the Voltage
Channel Gain Register value by averaging the In-
stantaneous Voltage Register’s output signal val-

ues over one computation cycle (N samples) and
then dividing this average into 1. Therefore, after
the DC voltage gain calibration has been executed,
the Instantaneous Voltage Register will read
full-scale whenever the DC level of the input signal
is equal to the level of the DC calibration signal that
was applied to the voltage channel inputs during
the DC gain calibration. For example, if a +230 mV
DC signal is applied to the voltage channel inputs
during the DC gain calibration for the current chan-
nel, then the Instantaneous Voltage Register will
measure unity whenever a 230 mV DC level is ap-
plied to the voltage channel inputs.

3.8.8 Duration of Calibration Sequence

The value of the Cycle Count Register (N) deter-
mines the number of conversions that will be per-
formed by the CS5460A during a given calibration
sequence. For DC offset/gain calibrations, the cal-
ibration sequence always takes at least N + 30
conversion cycles to complete. For AC offset/gain
calibrations, the calibration sequence takes at
least 6N + 30 A/D conversion cycles to complete,
(about 6 computation cycles). If N is increased, the
accuracy of calibration results will increase.

For more information on Calibration, see AN227,
“CALIBRATING THE CS5460A”.

3.9 Phase Compensation

The values of bits 23 to 17 in the Configuration
Register can be altered to adjust the amount of
time delay that is imposed on the digitally sampled
voltage channel signal. This time delay is applied
to the voltage channel signal in order to compen-
sate for the relative phase delay (with respect to
the fundamental frequency) between the sensed
voltage and current signals. Voltage and current
transformers, as well as other sensor/filter/protec-
tion devices deployed at the front-end of the volt-
age/current sensor networks can often introduce a
phase-delay in the system that distorts/corrupts
the phase relationship between the line-voltage
and line-current signals that are to be measured.
The phase compensation bits PC[6:0] in the Con-
figuration Register can be set to nullify this undesir-
able phase distortion between the digitally
sampled signals in the two channels. The value in
the 7-bit phase compensation word indicates the
amount of time delay that is imposed on the volt-

V

RMS

Register =

230

/

250

x

1

/

2

0.65054

250 mV

230 mV

0 V

-230 mV

-250 mV

0.9999...

0.92

-0.92

-1.0000...

V

RMS

Register =

0.6000...

250 mV

230 mV

0 V

-230 mV

-250 mV

0.84853

-0.84853

Before AC Gain Calibration (Vgain Register = 1)

After AC Gain Calibration (Vgain Register changed to ~0.9223)

Instantaneous Voltage

Register Values

Instantaneous Voltage

Register Values

Sinewave

Sinewave

0.92231

-0.92231

INPUT

SIGNAL

INPUT

SIGNAL

Figure 19. Example of AC Gain Calibration

Advertising