7 pulse output width (pulsewidth) – address: 14, 8 pulse output rate (pulserate) – address: 15, 9 cycle count (n) – address: 19 – Cirrus Logic CS5467 User Manual

Page 36: 10 wideband reactive power (q1wb , q2wb ), Cs5467, 6 line to sample frequency ratio (epsilon), Address: 17, 7 pulse output width (pulsewidth), Address: 14, 8 pulse output rate (pulserate)

Advertising
background image

CS5467

36

DS714F3

8.3.6 Line to Sample Frequency Ratio (Epsilon)

Address: 17

Default = 0.0125 (4.0 kHz x 0.0125 or 50 Hz)

Epsilon

is the ratio of the input line frequency to the output word rate (OWR). It can either be written by the ap-

plication program or calculated automatically from the line frequency (from the voltage input) using the AFC bit
in the Modes register. It is a two's complement value in the range of -1.0

 value  1.0, with the binary point to

the right of the MSB. Negative values are not used.

8.3.7 Pulse Output Width (PulseWidth)

Address: 14

Default = 1 (250 uS at OWR = 4 kHz)

PulseWidth

sets the duration of energy pulses. The actual pulse duration is the contents of PulseWidth divided

by the output word rate (OWR). PulseWidth is an integer in the range of 1 to 8,388,607.

8.3.8 Pulse Output Rate (PulseRate)

Address: 15

Default= -1

PulseRate

sets the full-scale frequency for E1, E2, E3 pulse outputs. For a 4 kHz sample rate, the maximum

pulse rate is 2 kHz. This is a two's complement value in the range of -1

 value  1, with the binary point to the

left of the MSB.

Refer to

6.10 Energy Pulse Rate

on page 21 for more information.

8.3.9 Cycle Count (N)

Address: 19

Default = 4000

Determines the number of output word rate (OWR) samples to use in calculating low-rate results. Cycle Count
(N) is an integer in the range of 10 to 8,388,607. Values less than 10 should not be used.

8.3.10 Wideband Reactive Power (Q1

WB

, Q2

WB

)

Address: 20 (Q1

WB

), 21 (Q2

WB

)

Wideband reactive power is calculated using vector subtraction. (See

Section 4.8 Power and Energy Results

on page 16). The value is signed, but has a range of 0

 value  1.0. The binary point is to the right of the MSB.

MSB

LSB

-(2

0

)

2

-1

2

-2

2

-3

2

-4

2

-5

2

-6

2

-7

.....

2

-17

2

-18

2

-19

2

-20

2

-21

2

-22

2

-23

MSB

LSB

0

2

22

2

21

2

20

2

19

2

18

2

17

2

16

.....

2

6

2

5

2

4

2

3

2

2

2

1

2

0

MSB

LSB

-(2

0

)

2

-1

2

-2

2

-3

2

-4

2

-5

2

-6

2

-7

.....

2

-17

2

-18

2

-19

2

-20

2

-21

2

-22

2

-23

MSB

LSB

0

2

22

2

21

2

20

2

19

2

18

2

17

2

16

.....

2

6

2

5

2

4

2

3

2

2

2

1

2

0

MSB

LSB

-(2

0

)

2

-1

2

-2

2

-3

2

-4

2

-5

2

-6

2

-7

.....

2

-17

2

-18

2

-19

2

-20

2

-21

2

-22

2

-23

Advertising