CYRUSTEK ES51963

ES51963
4 1/2 DMM
Features
General Description
•
•
22000 counts, adjustable
PEAK Hold function with calibration
mode
•
Input signal full scale = 220 mV
(sensitivity = 10 uV/count)
•
•
•
X10 function (sensitivity = 1 uV/count)
Conversion rate selectable
On chip buzzer driving, frequency
selectable
•
•
Low battery detection
Zero calibration for eliminating offset
error
•
•
•
•
Using 5V or 3V microprocessor
I/O port with microprocessor (3 pins)
Two formats for data acquisition
single 5V or 6V DC power supply
(V+ to V-)
•
28 pin SOP package
ES51963 is a 22000 counts dual-slope
analog-to-digital converter (ADC) with X10
and PEAK Hold functions. The conversion
rate and buzzer frequency can be selected or
decided by an external microprocessor. The
conversion rate can vary from 2 times/sec to
100 times/sec under 4 MHz operating clock.
The buzzer frequency can be chosen to be
audible among operating clock frequency
range from 400 KHz to 6 MHz. In addition,
other functions for low battery detection, on
chip buzzer driving, and I/O port with microprocessor are also provided.
Absolute Maximum Ratings
Characteristic
Positive Supply Voltage
(V+ to AGND)
Negative Supply Voltage
(V- to AGND)
Analog I/O Voltage
Digital I/O Voltage
Power Dissipation
Operating Temperature
Storage Temperature
Lead Temperature
(soldering, 10sec)
TAIWAN PATENT NO. 476418
U.S. PATENT NO. 6,429,696
Rating
3.5V
-3.5V
((V-) - 0.5V) to ((V+) + 0.5V)
((V-) - 0.5V) to ((V+) + 0.5V)
800mW
0°C to 70°C
-25°C to 125°C
270°C
1
2003/9/1
ES51963
4 1/2 DMM
Electrical Characteristics
TA=25°C, DGND=AGND=0V, operating clock = 4 MHz.
Symbol Parameter
Test Condition
V+
Positive Power Supply
VNegative Power Supply
I(V+) Operation
Normal power on (V+ to V-)
Supply Current
I(GND) Supply Current of
∆V between DGND and VDGND to Vis -0.2V
Zero
Zero Input Reading
1 MΩ input resistor, null to
zero by uP.
NLV1 Nonlinearity (Voltage x1) Best case straight line
conversion rate = 10 times/s
REV1 Rollover Error
1 MΩ input resistor
(Voltage x1)
conversion rate = 10 times/s
NLV10 Nonlinearity
Best case straight line
(Voltage x10)
conversion rate = 10 times/s
REV10 Rollover Error
1 MΩ input resistor
(Voltage x10)
conversion rate = 10 times/s
V12
Band Gap Voltage
100 kΩ between V12 and
Reference
AGND
LBATT Low Battery Detection LBATT to V12
PEAK Hold value
使用 10nF 聚㆚酯薄膜電容
accuracy (10us)
(polyester, Mylar)
TCRF Reference Voltage (V12) 100 kΩ between V12 and
Temperature Coefficient AGND (0°C to 70°C)
2
Min.
2.3
-2.3
-
Typ.
2.5
-2.5
1.0
Max.
3.3
-3.3
1.7
Unit
V
V
mA
5
10
-
mA
-0
0
+0
count
-0.02
-
0.02
%F.S.
-0.02
-
0.02
%F.S.
-0.04
-
0.04
%F.S.
-0.04
-
0.04
%F.S.
-1.31
-1.23
-1.10
V
-60
-1.2
-25
-
0
-
60
+1.2
+25
-
mV
%F.S.
±count
ppm/°C
50
2003/9/1
ES51963
4 1/2 DMM
Pin Configuration
SOP 28pin package:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
ES51963
LBATT
V12
AGND
AGND
Cref+
CrefRef+
RefCaz
Cint
Buf
BufX10
VinVin+
3
28
27
26
25
24
23
22
21
20
19
18
17
16
15
V+
VDGND
BUZout
BUZin
OSC1
OSC2
EOC
SCLK
STATUS
Vcc(uP)
CPCP+
PHin
2003/9/1
ES51963
4 1/2 DMM
Pin Description
Pin No.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Symbol
LBATT
V12
AGND
AGND
Cref+
CrefRef+
RefCaz
Cint
Buf
BufX10
VinVin+
PHin
CPCP+
Vcc(uP)
Type
A, I
A, O
G
G
A, I/O
A, I/O
A, I
A, I
A, O
A, O
A, O
A, O
A, I
A, I
A, I
A, I/O
A, I/O
D, I
Description
Low battery voltage detection.
Reference voltage output.
Analog ground, as the voltage reference 0V.
Analog ground, as the voltage reference 0V.
Positive connection for reference capacitor.
Negative connection for reference capacitor.
Differential reference high voltage input.
Differential reference low voltage input.
Auto-zero capacitor connection. (0.47uF)
Integration capacitor connection. (33nF)
Integration resistor connection output. (100kΩ)
Integration resistor connection output. (10kΩ)
Analog differential low signal input.
Analog differential high signal input.
PEAK Hold signal input which is reference to AGND.
Minimum PEAK Hold output. (10nF)
Maximum PEAK Hold output. (10nF)
The high level of digital I/O signals, which is connected to Vcc
pin of microprocessor.
STATUS D, I/O ES51963 sends current status to microprocessor or receives
controlled status from microprocessor.
SCLK D, I Clock input from microprocessor.
EOC
D, O An indicator for integration and de-integration time (format 1) or
conversion end (format 2).
OSC2 D, O Crystal oscillator (output) connection.
OSC1
D, I Crystal oscillator (input) connection.
BUZin D, I Buzzer control input. When connected to DGND, turns the buzzer
on. (default state is pull low to V-)
BUZout D, O Buzzer output. Audio frequency output which drives a
piezoelecric buzzer swing between V+ and V-.
DGND
G Digital ground.
VP Negative supply voltage, connected to cathode of battery typically.
V+
P Positive supply voltage, V+ to V- is 5.0V typically.
A : Analog , D : Digital , P : Power , G : Ground , I : Input , O : Output
4
2003/9/1
ES51963
4 1/2 DMM
Operation Mode
(1) Operation of ES51963 and the external microprocessor
ES51963 is a microprocessor based data acquisition ADC. ES51963 performs A-to-D
conversion and the microprocessor acquires the results via interface pins: SCLK, EOC and
STATUS. There are two formats for data acquisition. In format 1, ES51963 raises the logic
level of EOC to high during the integration phase (INT) and de-integration phase (DINT).
The microprocessor can acquire the conversion result by counting the time period as EOC is
high. And the microprocessor can obtain the operation status of ES51963 such as conversion
rate, buzzer frequency, sign bit, etc. from pin STATUS. The value of STATUS is read in
serial with clock pin, SCLK which is controlled by microprocessor.
In addition to counting the time period of EOC, ES51963 provides another way, the
format 2 to obtain the conversion result. In format 2 the conversion result is computed by
ES51963 itself and the microprocessor can obtain the output count from pin STATUS.
The decision to choose format 1 or format 2 depends on application. Format 2 is
simple for general application. On the other hand, a microprocessor must set up a timer to
estimate the duration of EOC in format 1. Thus the maximum count or resolution could be
changed by choosing the counting frequency of the timer. For example the maximum counts
of ES51963 operating in format 2 with 4 MHz operating clock is 22,000. The same
resolution is obtained in format 1 with timer counting period, 2 us/count. A higher
resolution, say 44,000 counts, could be achieved by speeding up the counting frequency
twice.
In addition to change operation format, ES51963 allow a user to change the
conversion rate, buzzer frequency on the fly. Their changing methods will be described in
following sections.
(2) Buzzer frequency
ES51963 provides buzzer output at pin BUZout. The pin BUZin (active high) is used
to control whether BUZout should output buzzer wave or not. The default buzzer frequency
is 2 KHz with 4 MHz operating frequency (crystal oscillator frequency at pins OSC1 and
OSC2).
ES51963 provides eight buzzer frequency selection options and the external microprocessor can choose one frequency that is audible by setting the values of bits, B2, B1 and
B0 in the STATUS word used in communication between ES51963 and the external
microprocessor. The communication protocol will be described in detail in section (6). The
5
2003/9/1
ES51963
4 1/2 DMM
buzzer frequency is determined by the following formula:
fosc1
fbuz =
( Hz )
40 × F1 ( B 2, B1, B 0)
where,
fosc1 : ES51963 operating frequency.
fbuz : the frequency of BUZout.
B2, B1, B0 : control bits provided by external microprocessor.
F1( . ) : the fbuz's ratio which is defined in the following table.
According to the formula, a user can select a favorite buzzer frequency among the
audible frequency range. The values of B2, B1 and B0 are 0, 1 and 0 respectively in default.
The buzzer frequencies and the ratios determined by B2, B1 and B0 with various operating
frequencies are shown in the following table.
fbuz
B2 B1 B0
1
1
1
1
0
0
0
0
1
1
0
0
1
1
0
0
fosc1
6M
4M
2M
1.2M
1M
800k
600k
400k
F1( . )
1
0
1
0
1
0
1
0
3
5
9
15
30
50
90
150
50.00 33.33 16.67 10.00 8.33 6.67 5.00 3.33
30.00 20.00 10.00 6.00 5.00 4.00 3.00 2.00
16.67 11.11 5.56 3.33 2.78 2.22 1.67 1.11
10.00 6.67 3.33 2.00 1.67 1.33 1.00 0.67
5.00 3.33 1.67 1.00 0.83 0.67 0.50 0.33
3.00 2.00 1.00 0.60 0.50 0.40 0.30 0.20
1.67 1.11 0.56 0.33 0.28 0.22 0.17 0.11
1.00 0.67 0.33 0.20 0.17 0.13 0.10 0.07
Unit : fosc1 : Hz , fbuz : kHz
In this table the data with gray blocks are recommended frequency values. A user thus
can easily choose a buzzer frequency based on the table.
(3) Conversion Rate
The ES51963 provided several conversion rates (CRs) that can be selected by external
microprocessor. The way to change conversion rate is similar to that of buzzer frequency
selection. and the CRs follow the below formula:
fosc1 × F2 (C 2, C1, C 0)
(times / sec)
4 × 10 6
where,
fosc1 : ES51963 operating frequency.
CR : conversion rate.
C2, C1, C0 : provided by external microprocessor.
F2( . ) : the CR's ratio defined in the following table.
According to the formula, a user can select a conformable and reasonable conversion rate.
The values of C2, C1 and C0 are 0, 1 and 1 respectively in default. Thus the default
conversion rate is 10 times/sec with 4 MHz operating frequency. The following table lists
CR =
6
2003/9/1
ES51963
4 1/2 DMM
the CRs and the ratios determined by C2, C1 and C0 with various operating frequencies. An
user can decide the value of C2, C1 and C0 based on operating frequency and CR.
CRs
C2 C1 C0
1
1
1
1
0
0
0
0
1
1
0
0
1
1
0
0
fosc1
6M
4M
2M
1.2M
1M
800k
600k
400k
150
120
60
30
15
12!
6!
3!
100
80
40
20
10*
8
4!
2!*
50
40
20
10*
5*
4!
2!*
1!*
30
25
20
15
10*
24
20
16
12!
8
12!
10*
8
6!
4
6!
5*
4!
3!
2!*
3!
2.5*
2!*
1.5!
1!*
2.4!
2!*
1.6
1.2!
0.8!
1.2!
1!*
0.8!
0.6! 0.4!*
0.6! 0.5!* 0.4!* 0.3! 0.2!*
Unit : fosc1 : Hz , CR : times/sec
F2 ( . )
1
0
1
0
1
0
1
0
100
80
40
20
10
8
4
2
Note: About the index at the back of CR's numbers:
(1) " * " denotes that 50 Hz line noise will be rejected.
(2) " ! " denotes that 60 Hz line noise will be rejected.
(4) Dual Slope A/D—four phases timing
ES51963 is a dual-slope analog-to-digital converter (ADC). Figure 1 is a structure of
dual-slope integrator. Its measurement cycle has two distinct phases: input signal integration
(INT) phase and reference voltage integration (DINT) phase.
In INT phase, the input signal is integrated for a fixed time period, then A/D enters
DINT phase in which an opposite polarity constant reference voltage is integrated until the
integrator output voltage becomes to zero. Since both the time period for input signal
integration and the amount of reference voltage are fixed, thus the de-integration time is
proportional to the input signal. Hence, we can define the mathematical equation about input
signal, reference voltage integration (see Figure 1.):
TINT
1
1
V IN (t )dt =
× V REF × TDINT
∫
0
Buf × C int
Buf × C int
where, V IN (t ) = input signal
V REF = reference voltage
T INT = integration time (fixed)
TDINT = de-integration time (proportional to V IN (t ) )
7
2003/9/1
ES51963
4 1/2 DMM
Cint
input
signal
Buf
reference
voltage
integrator
output
BufX10
integrator output
integrator output
input signal > 0
integration
time
different
input
input signal < 0
different
input
fixed slope
fixed slope
Fixed
Variable
integration deintegration
time
time
Fixed
Variable
integration deintegration
time
time
integration
time
Figure 1. the structure of dual-slope integrator and its output waveform.
If V IN (t ) is a constant, we can rewrite above equation:
TDINT =
T INT
× V IN
V REF
Besides the INT phase and DINT phase, ES51963 exploits auto zero (AZ) phase and zero
integration (ZI) phase to achieve accurate measurement. In AZ phase, the system offset is
stored. The offset error will be eliminated in DINT phase. Thus a higher accuracy could be
obtained. In ZI phase, the internal status will be recovered quickly to that of zero input.
Thus the succeeding measurements won’t be disturbed by current measurement especially in
case of overload.
As mentioned above, the measurement cycle of ES51963 contains four phases:
(1) auto zero phase (AZ)
(2) input signal integration phase (INT)
(3) reference voltage integration phase (DINT)
(4) zero integration phase (ZI)
The time ratios of these four phases, AZ, INT, DINT and ZI to the entire measurement
cycle are 20%, 20%, 44% and 16% respectively. However the actual duration of each phase
depends on conversion rate. Some examples are shown in the table below. A user can easily
deduce other cases based on the table.
8
2003/9/1
ES51963
4 1/2 DMM
Voltage:
CR (times/sec)
5
ZI (ms)
32
AZ (ms) INT (ms) DINT (ms)
40
40
88
10
16
20
20
44
12
20
13.33
8
16.67
10
16.67
10
36.67
22
Note: reference voltage = -100 mV.
Voltge+PEAK:
ZI (ms)
32
AZ (ms) INT (ms) DINT (ms)
40
40
128
conversion time (ms)
240
16
20
20
64
120
13.33
8
16.66
10
16.66
10
53.32
32
99.97
60
Note: reference voltage = -100 mV.
(5) Component Value Selection for ADC
For various application requirements on conversion rate and input full range, we suggest
nominal values for external components of ADC in Figure 1 to obtain better performance.
Under default condition with operating clock = 4 MHz:
(1) conversion rate = 10 times/sec
(2) reference voltage = -100 mV
(3) input signal full scale = 220 mV (sensitivity = 10 uV)
we suggest that Cint = 33 nF, Buf = 100 kΩ, BufX10 = 10 kΩ.
If a user selects a different conversion rate rather than default, the integration capacitor
Cint value must be changed according to the following rule for better performance:
Cint × (conversion rate) = (33 nF) × (10 times/sec).
It is important that the actual Cint value should be no less than the nominal value. A smaller
Cint reduces the input full range. However a larger Cint might have weaker noise immunity
than the suggested one.
A user could enlarge the input full range by changing reference voltage (Vref) and the
amount of integration resistor (Buf and BufX10). For example, if Vref, Buf and BufX10 are
enlarged as twice than the default values then the input full range becomes 440 mV. The input
full range can be enlarged up to 1.1 V (5 times than the default case). We list general rules in
below which might be helpful in determining component values.
Buf / (reference voltage) = 100 kΩ / (-100 mV)
9
2003/9/1
ES51963
4 1/2 DMM
BufX10 / (reference voltage) = 10 kΩ / (-100 mV)
(6) Digital Interface between ES51963 and Microprocessor
The pins, EOC, SCLK and STATUS of ES51963 are digital communicating interface
between ES51963 and microprocessor. The STATUS is bi-directional, and the others are
unilateral: EOC is from ES51963 to microprocessor and SCLK is from microprocessor to
ES51963. There are two formats for data acquisition. In format 1, ES51963 raise the logic
level of EOC to high at the duration of INT phase and DINT phase. The duration as EOC is
high represents the A-to-D conversion result. As the conversion completes and EOC become
logic low, the microprocessor may send 16 clock pulses to pin SCLK and read out the serial
data (status) on pin STATUS at the falling edge of the clock pulse. The received status
represents the polarity of conversion result and the operation mode of ES51963. The meaning
of each bit of the status received from STAUS is shown in the following table. The
sending/receiving order is S0, S1, … S15.
S15 S14 S13 S12 S11 S10 S9 S8 S7 S6 S5 S4 S3 S2 S1 S0
Sign
Pmax
Pmin
LBATT
X10
PEAK
Pcal
ZERO
C0
C1
C2
B0
B1
B2
Format
TEST
Sign : "H" is negative, "L" is positive.
Pmax : "H" is maximum peak value. The default is "L".
Pmin : "H" is minimum peak value. The default is "L".
LBATT : low battery detection, "H" is smaller than V12 and "L" is greater than V12
typically. The default is "L".
X10 : "H" is X10 function on. The default is "L".
PEAK : "H" is PEAK Hold function on. The default is "L".
Pcal : "H" is PEAK Hold function in calibration mode. The default is "L".
ZERO : "H" is zero calibration on. The default is "L".
C0~C2 : conversion rate selection. The default is (1, 1, 0).
B0~B2 : buzzer frequency selection. The default is (0, 1, 0).
Format : "L" is format 1, and "H" is format 2. The default is "L".
TEST : "H" is testing mode on. The default is "L".
The communication way between ES51963 and the microprocessor in format 2 is
similar to that of format 1. However in format 2, ES51963 provides the A-to-D conversion
result by a 16-bits output count instead of the duration of EOC. ES51963 raises the logic level
of EOC high at the duration of ZI phase. As the conversion completes and EOC becomes low,
the microprocessor sends 32 clock pulses to pin SCLK and read the values of output count and
10
2003/9/1
ES51963
4 1/2 DMM
status from STAUS pin at the falling edge of clock pulse. The content of output count is read
in order of D0, D1, ... D15 and it is read in front of the status.
Both format 1 and format 2 have two operation mode: mode 1 and mode 2. The
communication ways described above are in mode 1 at which ES51963 sends data to the
microprocessor. Mode 2 is used in the cases of the microprocessor sends control status to
ES51963 to change format, conversion rate, zero calibration, etc. The difference between
mode 1 and mode 2 is that there are a start bit and a end bit on the clock sequence for SCLK.
As ES51963 detects the start bit it enters mode 2 and receives status from STATUS. ES51963
will go back to mode 1 as it detects the end bit. There are timing restricts on the width of clock
pulse, start bit and the end bit. The communication might malfunction if the restrictions are
violated.
The communication ways and associated timing restrictions are described in detail as
follows.
Format 1:
mode 1: ES51963 sends conversed data ( INT, DINT ) and status to uP.
nth conversed data
(INT, DINT)
(n+1)th conversed data
ZI+AZ
EOC (O)
T=(32~512)Tosc1
>=2Tosc1
SCLK (I)
1A
>=128Tosc1
(V-)+2.1V
(V-)+0.8V
(V-)+2.1V
1B
nth status
STATUS (O)
(V-)+2.1V
(V-)+0.8V
(V-)+0.8V
O: output to microprocessor
I: input into IC
Note: 1. The INT phase begins at 1A, and DINT phase ends at 1B.
2. The microprocessor will sample the status at the falling edge of SCLK and the
detail timing between SCLK and STATUS is as follow:
(32~512)Tosc1 with 40~60 % duty cycle
(V-) + 2.1V
(V-) + 0.8V
SCLK
STATUS
S0
S1
S2
S14
S15
(V-) + 2.1V
(V-) + 0.8V
3. There is a strict limitation that the sending of status information must be completed
in front of 128Tosc1 of next conversion data at least.
4. When the conversion completes, the INT and DINT phases timings are sent to
microprocessor by EOC. And the resolution depends on the clock provided by uP.
11
2003/9/1
ES51963
4 1/2 DMM
For example, if the CR is 10 times/sec, the maximum DINT time is 44 ms, and the
resolution will be 22000 (11000) counts based on a 500 (250) kHz clock.
mode 2: ES51963 receives controlled status from microprocessor.
force A/D entering into AZ phase
(V-)+2.1V
EOC (O)
(V-)+0.8V
(1040~4096)Tosc1
SCLK (I)
>4Tosc1
START
512Tosc1
STATUS (I/O)
(V-)+2.1V
(V-)+0.8V
END
(2~1024)Tosc1
2C
uP
A/D
(520~1020)Tosc1
T=(32~512)Tosc1
(0~256)Tosc1
(2~1024)Tosc1
2E
status
uP
520Tosc1
(4~256)Tosc1
2D
2A 2B
A/D
(V-)+2.1V
(V-)+0.8V
O: output to microprocessor
2F I: input into IC
I/O: exchange between I and O
Note: 1. The START bit:
After time 2A, the EOC's state is forced to low (V-) and ES51963 enter
into AZ phase. And at the same time, STATUS is changed from output pin to
input pin with a 3 uA pull low current provided by ES51963 internally. Then
microprocessor can send control status to STATUS. It is suggested that microprocessor begins to drive STATUS between 2B and 2C.
2. The END bit:
The microprocessor stopped driving STATUS between 2D and 2E, and
ES51963 will begin to drive STATUS after 2F.
3. Serial Data Format (STATUS):
In mode 2, only the status bits X10, PEAK, PCAL, ZERO, C0, C1, C2, B0,
B1, B2, FORMAT and TEST are meaningful. However the microprocessor still
needs to send the complete word of status (16 bits) although ES51963 will
discard the other bits.
4. The detail timing between SCLK and STATUS is as follow:
(32~512)Tosc1 with 40~60 % duty cycle
(V-) + 2.1V
(V-) + 0.8V
SCLK
STATUS
S0
S1
S2
12
S14
S15
(V-) + 2.1V
(V-) + 0.8V
2003/9/1
ES51963
4 1/2 DMM
Format 2:
mode 1: ES51963 sends the status and counts ( counter from DINT ) to uP.
16/100 conversion time
16/100 conversion time
(V-)+2.1V
(V-)+0.8V
EOC (O)
T=(32~512)Tosc1
SCLK (I)
44/100
conversion time
status & counts
STATUS (O)
(V-)+2.1V
(V-)+0.8V
(V-)+2.1V
(V-)+0.8V
O: output to microprocessor
I: input into IC
Note: 1. Serial Data Format (STATUS):
The serial data includes output count (D0~D15, unsigned 16 bits) and
status (S0~S15, 16 bits). The definition of status' format is as same as format 1
and the order of sent/received sequence is D0, D1, … , D15, S0, S1, … , S15.
Note that the maximum output count depends on the conversion rate defined by
(C2, C1, C0). The maximum counts with various conversion rate are listed as
follow:
C2 C1 C0
Fcount
Maximum count
1 1 1
fosc1 / 2
8800
1 1 0
fosc1 / 2
11000
1 0 1
fosc1 / 2
22000
1 0 0
fosc1 / 4
22000
0 1 1
fosc1 / 8
22000
0 1 0
fosc1 / 10
22000
0 0 1
fosc1 / 20
22000
0 0 0
fosc1 / 40
22000
Note: (1) Fcount : the frequency of counter.
(2) In above bold letters, because the fastest frequency of counter is
restricted, the resolution will be proportional decreased as
conversion rates increased.
2. The detail timing between SCLK and STATUS is as follow:
(32~512)Tosc1 with 40~60 % duty cycle
SCLK
(V-) + 2.1V
(V-) + 0.8V
STATUS
(V-) + 2.1V
(V-) + 0.8V
D0
D1
D15
S0
S15
mode 2: The communication protocol is the same as mode 2 of format 1.
13
2003/9/1
ES51963
4 1/2 DMM
(7) Zero Calibration
For ES51963 the A-to-D output might have an offset value due to internal delay. The
amount of offset depends on conversion rate and external components: Vref, Rint and Cint.
However as external components in application board are fixed. The offset will be constant. To
eliminate this offset error ES51963 provides zero calibration. To perform zero calibration, the
microprocessor should send a status word with ZERO bit as high with mode 1 communication.
As ES51963 receives the status word it will short the Vin+ and Vin- (zero input) internally and
sends eight measured values to microprocessor. The ZERO bit of the status associated with these
zero input count will be high. It is recommended to let the microprocessor remember the last zero
input count (Zero8) among the eight data. The offset error can be eliminated by subtracting the
zero input count from the subsequent measurements. Hence zero calibration should be executed
before normal conversion measurement.
It is worthy to note that ES51963 will leave zero calibration mode as it completes eight
zero input measurements which means that the microprocessor need not to send another status to
cancel calibration mode. In addition, as the offset value depends on conversion rate, zero
calibration should be performed as long as the conversion rate changes.
Operation on Format 1:
SCLK
(V-)+2.1V
(V-)+0.8V
END
START
set ZERO (S7) to H
(V-)+2.1V
ZERO
(V-)+0.8V
EOC
Zero1
MODE 2 (uP to A/D)
Zero2
Zero8
MODE 1 (A/D to uP)
(V-)+2.1V
(V-)+0.8V
Operation on Format 2:
(V-)+2.1V
(V-)+0.8V
EOC
MODE 2 (uP to A/D)
SCLK
START
MODE 1 (A/D to uP)
(V-)+2.1V
(V-)+0.8V
END
set ZERO (S7) to H
ZERO
(Zero2)
(Zero8)
D0~D15 D0~D15
S0~S15 S0~S15
D0~D15
S0~S15
(Zero1)
STATUS
(V-)+2.1V
(V-)+0.8V
(V-)+2.1V
(V-)+0.8V
Note: After changing X10 mode at format 1 or format 2, we must active zero calibration again.
14
2003/9/1
ES51963
4 1/2 DMM
(8) PEAK Hold
During PEAK hold mode, ES51963 will charge the two external capacitors, PMAX and
PMIN, to follow the maximum and minimum input voltages. ES51963 performs A-to-D with
input from PMAX and PMIN alternately and outputs the result to the microprocessor. It is
important that the microprocessor must keep the maximum and minimum values by itself since
ES51963 does not keep the peak value. In addition, as the internal OPs have offset the user must
enter peak hold calibration mode to catch the offset values. As similar to zero calibration, the
offset error can be eliminated by subtracting the stored valued from subsequent measurements.
The detail timing for peak hold operation is as follow:
Operation on Format 1:
PEAK Hold calibration at format 1:
In calibration mode, the Pmax and Pmin are measured two times alternately, then the
microprocessor can catch the last offset voltage (Vos) of Pmax and Pmin.
SCLK
(V-)+2.1V
(V-)+0.8V
END
START
set Pcal (S6) to H
(V-)+2.1V
(V-)+0.8V
calibration
EOC
Pmax
Vos
MODE 2 (uP to A/D)
Pmin
Pmax
Vos
Vos
MODE 1 (A/D to uP)
Pmin
Vos
(V-)+2.1V
(V-)+0.8V
Note: it is not necessary to set PEAK (S5) to H at the same time.
To active PEAK Hold after calibration at format 1:
SCLK
(V-)+2.1V
(V-)+0.8V
END
START
set PEAK (S5) to H
(V-)+2.1V
PEAK Hold
(V-)+0.8V
EOC
Pmax
MODE 2 (uP to A/D)
Pmin
Pmax
MODE 1 (A/D to uP)
Pmin
(V-)+2.1V
(V-)+0.8V
To cancel PEAK Hold function at format 1:
15
2003/9/1
ES51963
4 1/2 DMM
SCLK
(V-)+2.1V
(V-)+0.8V
END
START
set PEAK (S5) to L
(V-)+2.1V
PEAK Hold
EOC
(V-)+0.8V
Pmax
(V-)+2.1V
(V-)+0.8V
Pmin
MODE 2
MODE 1
MODE 1
Operation on Format 2:
PEAK Hold calibration at format 2:
In calibration mode, the offset voltages (Vos) of Pmax and Pmin are measured two times
alternately, and ES51963 will count them at the same time. Then ES51963 sends the counts to
microprocessor, and microprocessor must remember them.
(V-)+2.1V
(V-)+0.8V
EOC
MODE 2 (uP to A/D)
SCLK
MODE 1 (A/D to uP)
(V-)+2.1V
(V-)+0.8V
END
START
set Pcal (S6) to H
(V-)+2.1V
D0~D15 D0~D15 D0~D15 D0~D15 (V-)+0.8V
S0~S15 S0~S15 S0~S15 S0~S15
(V-)+2.1V
(V-)+0.8V
Pmax
Pmin
Pmax
Pmin
Vos
Vos
Vos
Vos
calibration
STATUS
Note: it is not necessary to set PEAK (S5) to H at the same time.
To active PEAK Hold after calibration at format 2:
(V-)+2.1V
(V-)+0.8V
EOC
MODE 2 (uP to A/D)
SCLK
START
MODE 1 (A/D to uP)
(V-)+2.1V
(V-)+0.8V
END
set PEAK (S5) to H
PEAK Hold
(Pmax)
(Pmin)
(Pmax)
(Pmin)
STATUS
D0~D15 D0~D15 D0~D15 D0~D15
S0~S15 S0~S15 S0~S15 S0~S15
16
(V-)+2.1V
(V-)+0.8V
(V-)+2.1V
(V-)+0.8V
2003/9/1
ES51963
4 1/2 DMM
To cancel PEAK Hold function at format 2:
(V-)+2.1V
(V-)+0.8V
EOC
MODE 1 (A/D to uP)
MODE 1 (A/D to uP)
MODE 2 (uP to A/D)
SCLK
START
(V-)+2.1V
(V-)+0.8V
END
set PEAK (S5) to L
PEAK Hold
(Pmax)
(Pmin)
STATUS
D0~D15
S0~S15
D0~D15 D0~D15
S0~S15 S0~S15
(V-)+2.1V
(V-)+0.8V
(V-)+2.1V
(V-)+0.8V
Note: After changing X10 mode at format 1 or format 2, if we want to active PEAK Hold
function, we must active calibration again.
(9) Digital Signals Rising and Falling times
The timings for rising/falling of digital signals of EOC, SCLK, and STATUS are defined
as follows:
EOC and STATUS are output to microprocessor:
V+
(V-)+2.1V
(V-)+0.8V
V-
tfo
tro
SCLK and STATUS are input from microprocessor:
Vcc
Vss
(V-)+2.1V
(V-)+0.8V
tfi
tri
Note: Vss = V-
Symbol
tro
tfo
tri
tfi
Condition
A/D to uP
A/D to uP
uP to A/D
uP to A/D
Min
-
Max
20
20
20
20
17
Units
ns
ns
ns
ns
2003/9/1
ES51963
4 1/2 DMM
Testing Circuit
820k
9V
0.1u
+
5~6V
Regulator
180k
(-2.5V~-3V)
4.7u
LBATT (2.5V)V+
91k
10k
V12(-1.23V) (-2.5V)VAGND (0V) DGND
AGND BUZout
Cref+
BUZin
0.22u/0.47u
CrefOSC1
Ref+
OSC2
RefEOC
0.47u
Caz
SCLK
33n
Cint
STATUS
100k
Buf
Vcc(uP)
Rx
10k
BufX10
CPCP+
0.1u VinV in
1M
+
Vin+
PHin
-
+
ES51963
0.1u
0.1u
+
10u
4.7u
+
(0V)
(-3V)
C1
(+2.5V~+3V)
-
+
4.7u
Vss Vcc
8051
serial
C2
10n
10n
100
Signal
1n
Note: 1. Vin+, Vin- are differential inputs.
2. PHin is always reference to AGND.
3. Let the leakage current of CP+ and CP- as small as possible.
4. LBATT : (2.5-1.23) ×
180k + 820k
= 7.06 V
180k
5. Rx = 20~100Ω , which is used to compensate the internal resistor.
6. When external crystal is <800 kHz, we wuggest the C1 (6pF) and C2 (8~22pF) to
make it work.
18
2003/9/1
ES51963
4 1/2 DMM
Application Circuit
9V battery and 5V microprocessor:
820k
9V
0.1u
5~6V
Regulator
180k
+
(-2.5V~-3V)
4.7u
LBATT (2.5V)V+
91k
10k
V12(-1.23V) (-2.5V)VAGND (0V) DGND
AGND BUZout
Cref+
BUZin
0.22u/0.47u
CrefOSC1
Ref+
OSC2
RefEOC
0.47u
Caz
SCLK
33n
Cint
STATUS
100k
Buf
Vcc(uP)
Rx
10k
BufX10
CPVinCP+
0.1u
V in
1M
+
Vin+
PHin
(+2.5V~+3V)
+
10u
4.7u
+
0.1u
0.1u
-
(0V)
(-3V)
C1
+
4.7u
Vss Vcc
8051
serial
C2
10n
10n
100
Signal
1n
-
+
ES51963
9V battery and 3.3V/3.0V microprocessor:
820k
9V
0.1u
+
LBATT
V+
V12(-1.23V)
VAGND (0V) DGND
AGND BUZout
Cref+
BUZin
0.22u/0.47u
CrefOSC1
4.7u
Ref+
OSC2
RefEOC
0.47u
Caz
SCLK
33n
Cint
STATUS
100k
Buf
Vcc(uP)
Rx
10k
BufX10
CPVinCP+
0.1u
V in
1M
+
Vin+
PHin
10k
6V/6.6V
Regulator
180k
91k
(3V/3.3V)
0.1u
0.1u
(-3.0V/-3.3V)
(0V)
(-3V)
C1
-
+
ES51963
+
10u
4.7u
+
+
4.7u
Vss Vcc
(0V)
8051
serial
C2
10n
10n
100
Signal
1n
Note: Please see the notes of testing circuit.
19
2003/9/1
ES51963
4 1/2 DMM
Package
28 pins SOP package size:
20
2003/9/1