Feb 18, 2005
page 42 of 85
REJ03B0122-0101
7512 Group
Fig. 47 Block diagram of Current integrator
XX0
001
011
101
XX0
001
011
101
Edge detect
Calibration control signal
125ms
over
flow
Charge counter latch
Discharge
counter latch
Charge counter
Discharge counter
125ms Timer
XCIN
Data Bus
Current integrate control register
XX0 : Current integrate mode
001 : Zero calibration
011 : Full calibration for discharge
101 : Full calibration for charge
b2 b1 b0
Current integrate
interrupt
ISENS0
ISENS1
Calibration current selection bit
1.75V
Integrator
V-I convertor
0.05V
0.10V
0.75V
1.00V
1.50V
Integrator coefficient selection bit
AD conversion
complete signal
Current integrate /AD converter
interrupt source bit
CURRENT INTEGRATOR
Current integrator integrates the current which flows through
sense resistor connected between ISENS0 pin and ISENS1 pin.
The current between sense resistor makes electrical potential dif-
ference between ISENS0 pin and ISENS1 pin, and it is integrated
by the built-in integrator. The output of integrator is connected to
comparator, and the integrator and comparator measures about
1mA current in case of using 10 m
sense register. And charge/
discharge counter counts how many times the integrator over-
flows.
Setting the current integrate enable bit "1", the current integrator
starts the operation.
Current Integrate Mode
Setting the current integrate mode bit "0", input of the V-I con-
verter is connected to the ISENS1 pin and ISENS0 pin, and the
current integrator measures the electrical potential difference be-
tween ISENS1 pin and ISENS0 pin. The input voltage between
ISENS1 and ISENS0 is converted to current by V-I converter, and
input to the integrator.
The output of the integrator is connected to the comparator. The
integrator integrates input voltage between ISENS1 pin and
ISENS0 pin. And when output of the integrator amounts to com-
pared voltage, output of the comparator rises "H", and
charge(discharge) counter is increased 1 count. And at the same
time, electric charge of the integrator's capacitor is discharged,
then the integrator starts next integration. Charge(Dischrage)
counter is counting the number of the times "H" output of the com-
parator during integration period(125msec), and at the end of the
period, charge (discharge)counter is latched onto
charge(discharge) counter latch. Then charge(discharge) counter
is cleared "0", and starts new count. At the end of the period, cur-
rent integrate interrupt occurs also.
The current integrator has 2 set of comparator and counter for dis-
charge and charge, and only discharge counter counts up in
discharge state, and only charge counter counts up in charge
state. The integrator and comparator are designed to sense ap-
proximate 1mA current, then 1 count of counter means
approximate 1mA. Therefore reading the value of counter latch
means measuring the total current which flows the sense resistor
during integrate period(125msec).