Functional description, 1 analog inputs, 1 voltage channel – Cirrus Logic CS5461A User Manual

Page 15: 2 current channel, 2 high-pass filters, 3 performing measurements, 1 voltage channel 5.1.2 current channel, 2 high-pass filters 5.3 performing measurements, Table 1. current channel pga configuration, Cs5461a

Advertising
background image

CS5461A

DS661F3

15

5. FUNCTIONAL DESCRIPTION

5.1 Analog Inputs

The CS5461A is equipped with two fully differential in-
put channels. The inputs VIN

 and IIN are designated

as the voltage and current channel inputs, respectively.
The full-scale differential input voltage for the current
and voltage channel is

250 mV

P

.

5.1.1 Voltage Channel

The output of the line-voltage resistive divider or trans-
former is connected to the VIN+ and VIN- input pins of
the CS5461A. The voltage channel is equipped with a
10x, fixed-gain amplifier. The full-scale signal level that
can be applied to the voltage channel is

250 mV. If the

input signal is a sine wave the maximum RMS voltage
at a gain 10x is:

which is approximately 70.7% of maximum peak volt-
age. The voltage channel is also equipped with a Volt-
age Gain Register
, allowing for an additional
programmable gain of up to 4x.

5.1.2 Current Channel

The output of the current-sense resistor or transformer
is connected to the IIN+ and IIN- input pins of the
CS5461A. To accommodate different current-sensing
elements, the current channel incorporates a Program-
mable Gain Amplifier (PGA) with two programmable in-
put gains. Configuration Register bit Igain (See Table 1)
defines the two gain selections and corresponding max-
imum input-signal level.

For example, if Igain=0, the current channel’s PGA gain
is set to 10x. If the input signals are pure sinusoids with
zero phase shift, the maximum peak differential signal
on the current or voltage channel is

250 mV

P

. The in-

put-signal levels are approximately 70.7% of maximum
peak voltage producing a full-scale energy pulse regis-
tration equal to 50% of absolute maximum energy pulse
registration. This will be discussed further in

Section 5.4

Energy Pulse Output

on page 16.

The Current Gain Register also allows for an additional
programmable gain of up to 4x. If an additional gain is

applied to the voltage and/or current channel, the maxi-
mum input range should be adjusted accordingly.

5.2 High-pass Filters

By removing the offset from either channel, no error
component will be generated at DC when computing the
active power. By removing the offset from both chan-
nels, no error component will be generated at DC when
computing V

RMS

, I

RMS

, and apparent power. Configura-

tion Register bits VHPF and IHPF activate the HPF in
the voltage and current channel respectively.

5.3 Performing Measurements

The CS5461A performs measurements of instanta-
neous voltage (V

n

) and current (I

n

), and calculates in-

stantaneous power (P

n

) at an Output Word Rate (OWR)

of

where K is the clock divider setting in the Configuration
Register
.

The RMS voltage (V

RMS

), RMS current (I

RMS

), and ac-

tive power (P

Active

) are computed using N instanta-

neous samples of V

n

, I

n

and P

n

respectively, where N is

the value in the Cycle Count Register (N) and is referred
to as a “computation cycle”. The apparent power (S) is
the product of V

RMS

and I

RMS

. A computation cycle is

derived from the master clock (MCLK), with frequency:

Under default conditions & with K = 1, N = 4000, and
MCLK = 4.096 MHz – the OWR = 4000 Hz and the
Computation Cycle = 1 Hz.

All measurements are available as a percentage of full
scale. The format for signed registers is a two’s comple-
ment, normalized value between -1 and +1. The format
for unsigned registers is a normalized value between 0
and 1. A register value of

represents the maximum possible value.

At each instantaneous measurement, the CRDY bit will
be set (logic 1) in the Status Register, and the INT pin
will become active if the CRDY bit is unmasked in the
Mask Register. At the end of each computation cycle,
the DRDY bit will be set in the Status Register, and the

Igain

Maximum Input Range

0

±250 mV

10x

1

±50 mV

50x

Table 1. Current Channel PGA Configuration

250mV

P

2

---------------------

176.78mV

RMS

OWR

MCLK K

1024

-----------------------------

=

Computation Cycle

OWR

N

---------------

=

2

23

1

2

23

------------------------

0.99999988

=

Advertising