DS2740 [MAXIM]

High-Precision Coulomb Counter;
DS2740
型号: DS2740
厂家: MAXIM INTEGRATED PRODUCTS    MAXIM INTEGRATED PRODUCTS
描述:

High-Precision Coulomb Counter

文件: 总16页 (文件大小:311K)
中文:  中文翻译
下载:  下载PDF数据表文档文件
DS2740  
High-Precision Coulomb Counter  
www.maxim-ic.com  
PIN CONFIGURATION  
FEATURES  
ƒ 15-Bit Bidirectional Current Measurement  
(DS2740U)  
8
7
6
5
1
2
3
VDD  
DQ  
VSS  
IS1  
OVD  
ƒ 1.56μV LSB and ±51.2mV Dynamic  
Range  
PIO  
SNS  
ƒ 78μA LSB and ±2.56A Dynamic  
Range with External 20mΩ Sense  
4
IS2  
μMAX  
(DS2740U, DS2740BU)  
Resistor (RSNS  
)
ƒ 156μA LSB and ±5.12A Dynamic  
Range with External 10mΩ Sense  
Resistor (RSNS  
)
See Table 1 for Ordering Information.  
ƒ 13-Bit Bidirectional Current Measurement  
(DS2740BU)  
See Table 2 for Detailed Pin Descriptions.  
ƒ 6.25μV LSB and ±51.2mV Dynamic  
Range  
PIN DESCRIPTION  
OVD- 1-Wire Bus Speed Select  
PIO - Programmable I/O Pin  
SNS - Sense Resistor Input  
IS2 - Current-Sense Input  
IS1 - Current-Sense Input  
VSS - Device Ground, Current-Sense Resistor  
Return  
ƒ 312μA LSB and ±2.56A Dynamic  
Range with External 20mΩ Sense  
Resistor (RSNS  
)
ƒ 625μA LSB and ±5.12A Dynamic  
Range with External 10mΩ Sense  
Resistor (RSNS  
)
ƒ Analog Input Filter (IS1, IS2) Extends  
Dynamic Range for Pulse-Load  
Applications  
DQ - Data Input/Output  
VDD - Power-Supply Input (2.7V to 5.5V)  
ƒ Current Accumulation Register  
Resolution  
ƒ 6.25μVhr (Both DS2740U and  
DS2740BU)  
ƒ 0.3125mAhr with External 20mΩ  
RSNS  
ƒ 0.6250mAhr with External 10mΩ  
RSNS  
ƒ Dallas 1-Wire® Interface  
ƒ Unique 64-Bit Device Address  
ƒ Standard and Overdrive Timings  
(OVD)  
ƒ Low Power Consumption:  
ƒ Active Current: 65μA max  
ƒ Sleep Current: 1μA max  
1-Wire is a registered trademark of Dallas Semiconductor.  
1 of 16  
051805  
DS2740  
Table 1. ORDERING INFORMATION  
PART  
DS2740U  
DS2740U+  
MARKING  
D2740  
D2740 (see note)  
D2740  
DESCRIPTION  
15-Bit Current Resolution, 8-Pin μMAX  
15-Bit Current Resolution, Lead-Free 8-Pin μMAX  
15-Bit Current Resolution, 8-Pin μMAX, Tape-and-Reel  
15-Bit Current Resolution, Lead-Free 8-Pin μMAX, Tape-  
and-Reel  
DS2740U/T&R  
DS2740U+T&R  
D2740 (see note)  
DS2740BU  
DS2740BU+  
DS2740BU/T&R  
2740B  
2740B (see note)  
2740B  
13-Bit Current Resolution, 8-Pin μMAX  
13-Bit Current Resolution, Lead-Free 8-Pin μMAX  
13-Bit Current Resolution, 8-Pin μMAX, Tape-and-Reel  
13-Bit Current Resolution, Lead-Free 8-Pin μMAX, Tape-  
and-Reel  
DS2740BU+T&R  
2740B (see note)  
Note: A “+” will also be marked on the package next to the pin 1 indicator.  
DESCRIPTION  
The DS2740 provides high-precision current-flow measurement data to support battery-capacity  
monitoring in cost-sensitive applications. Current is measured bidirectionally over a dynamic range of 15  
bits (DS2740U) or 13 bits (DS2740BU), with the net flow accumulated in a separate 16-bit register.  
Through its 1-Wire interface, the DS2740 allows the host system read/write access to status and current  
measurement registers. Each device has a unique factory-programmed 64-bit net address that allows it to  
be individually addressed by the host system, supporting multibattery slot operation. The interface can be  
operated with standard or overdrive timing.  
Although the DS2740 is primarily intended for location on the host system, it is also suited for mounting  
in the battery pack. The DS2740 and FuelPack™ algorithms, along with host measurements of  
temperature and voltage, form a complete and accurate solution for estimating remaining capacity.  
FuelPack is a trademark of Dallas Semiconductor.  
2 of 16  
DS2740  
Figure 1. BLOCK DIAGRAM  
VDD  
PIO  
STATUS/CONTROL  
1-WIRE  
INTERFACE  
AND  
ACCUMULATED  
CURRENT  
DQ  
TIMEBASE  
ADDRESS  
CURRENT  
15-Bit + Sign  
ADC  
CHIP  
GROUND  
R
10 k  
R
10 k  
ISΩ  
ISΩ  
CF  
SNS  
IS2  
IS1  
VSS  
RSNS  
3 of 16  
DS2740  
Table 2. DETAILED PIN DESCRIPTIONS  
PIN  
SYMBOL  
DESCRIPTION  
1-Wire Bus Speed Control. Input logic level selects the speed of the 1-  
Wire bus. Logic 1 selects overdrive (OVD) and Logic 0 selects standard  
timing (STD). On a multidrop bus, all devices must operate at same  
speed.  
OVD  
1
Programmable I/O Pin. Programmed as input or output through internal  
registers. Open-drain output sufficient for LED or vibrator activation.  
PIO  
2
SNS  
IS2  
3
4
Current-Sense Resistor Input  
Current-Sense Input. Connected to SNS through a 10kresistor to  
allow filtering of the current waveform by an external capacitor.  
Current-Sense Input. Connected to VSS through a 10kresistor to allow  
filtering of the current waveform through an external capacitor.  
IS1  
VSS  
5
6
Device Ground, Current-Sense Resistor Return. Connect directly to  
the negative terminal of the battery cell.  
Data I/O Pin. Operates bidirectionally with open-drain output driver.  
Internal 1µA pulldown aids in sensing pack removal and Sleep-mode  
activation.  
DQ  
7
8
Power-Supply Input. Connects to system voltage supply or positive  
terminal of battery cell.  
VDD  
Figure 2. APPLICATION EXAMPLE  
2.7V to 5.5V  
System Supply or  
Battery Pack Positive  
150  
VDD  
OVD  
150  
DATA  
DQ  
104  
DS2740  
330  
PIO  
PIO  
SNS  
IS2  
VSS  
IS1  
*
*
Connection  
To  
System  
GND  
Battery  
Negative  
104  
R
SNS  
* 5.6V zener recommended for ESD protection when DATA or PIO  
contacts exposed, such as a removable battery pack application  
4 of 16  
DS2740  
POWER MODES  
The DS2740 has two power modes: Active and Sleep. While in Active mode, the DS2740 operates as a  
high-precision coulomb counter with current and accumulated current measurement blocks operating  
continuously and the resulting values updated in the measurement registers. Read and write access is  
allowed to all registers. PIO pin is active. In Sleep mode, the DS2740 operates in a low-power mode with  
no current measurement activity. Serial access to current, accumulated current, and status/control  
registers is allowed if VDD > 2V.  
The DS2740 operating mode transitions from SLEEP to ACTIVE when:  
1)  
2)  
DQ > VIH, and VDD > UV threshold, or  
DD rises from below UV threshold to above UV threshold.  
V
The DS2740 operating mode transitions from ACTIVE to SLEEP when:  
1)  
2)  
V
DD falls to UV threshold, or  
SMOD = 1 and DQ < VIL for 2s.  
CURRENT MEASUREMENT  
In the Active mode of operation, the DS2740 continually measures the current flow into and out of the  
battery by measuring the voltage drop across a low-value current-sense resistor, RSNS. To extend the input  
range for pulse-type load currents, the voltage signal can be filtered by adding a capacitor between the  
IS1 and IS2 pins. The external capacitor and two internal resistors form a lowpass filter at the input of the  
ADC. The voltage-sense range at IS1 and IS2 is ±51.2mV. The input converts peak signal amplitudes up  
to 102mV as long as the continuous or average signal level (post filter) does not exceed ±51.2mV over  
the conversion cycle period. The ADC samples the input differentially at IS1 and IS2 with an 18.6kHz  
sample clock and updates the current register at the completion of each conversion cycle. Conversion  
times for each resolution option are listed in the tables below. Two resolution options are available.  
Figure 3 describes the current measurement register format and resolution for each option. “S” indicates  
the sign bit(s).  
Figure 3. CURRENT REGISTER FORMAT  
DS2740U: Units: 1.5625μV/RSNS, 15-bit + sign resolution, 3.5s conversion period.  
DS2740BU: Units: 6.250μV/RSNS, 13-bit + sign resolution, 0.875s conversion period.  
MSB—Address 0Eh  
LSB—Address 0Fh  
S
214 213 212 211 210 29 28  
LSb  
27 26 25 24 23 22 21 20  
MSb  
MSb  
LSb  
Full-scale magnitude: ±51.2mV  
5 of 16  
DS2740  
CURRENT RESOLUTION (1 LSB)  
CONVERSION  
TIME  
PART  
RSNS  
VIS1 - VIS2  
20mΩ  
1.5625μV 78.13μA 104.2μA 156.3μA  
6.250μV 312.5μA 416.7μA 625μA  
15mΩ  
10mΩ  
5mΩ  
312.5μA  
1.250mA  
DS2740U  
DS2740BU  
3.515s  
0.878s  
Every 1024th conversion, the ADC measures its input offset to facilitate offset correction. Offset  
correction occurs approximately once per hour in the DS2740U and four times per hour in the  
DS2740BU. The resulting correction factor is applied to the subsequent 1023 measurements. During the  
offset correction conversion, the ADC does not measure the IS1 to IS2 signal. A maximum error of  
1/1024 in the accumulated current register (ACR) is possible, however, to reduce the error, the current  
measurement just prior to the offset conversion is displayed in the current register and is substituted for  
the dropped current measurement in the current accumulation process. The typical error due to offset  
correction is much less than 1/1024.  
CURRENT ACCUMULATOR  
Current measurements are internally summed, or accumulated, at the completion of each conversion  
period with the results displayed in the ACR. The accuracy of the ACR is dependent on both the current  
measurement and the conversion timebase. The ACR has a range of ±204.8mVh with a LSb of  
6.25μVh. Additional registers hold fractional results of each accumulation, however, these bits are not  
user accessible.  
Read and write access is allowed to the ACR. Whenever the ACR is written, fractional accumulation  
results are cleared. Also, a write forces the ADC to measure its offset and update the offset correction  
factor. The current measurement and accumulation begin with the second conversion following a write to  
the ACR. Figure 4 describes the ACR address, format, and resolution.  
Figure 4. CURRENT ACCUMULATOR FORMAT  
MSB—Address 10h  
LSB—Address 11h  
S
214 213 212 211 210 29 28  
27 26 25 24 23 22 21 20  
MSb  
LSb  
MSb  
LSb  
Units: 6.25μVh/RSNS  
ACR LSB  
RSNS  
UPDATE  
INTERVAL  
PART  
VIS1 - VIS2  
20mΩ  
15mΩ  
10mΩ  
5mΩ  
DS2740U  
DS2740BU  
3.515s  
0.878s  
1.250mAh  
6.25μVh  
312.5μAh 416.7μAh 625μAh  
6 of 16  
DS2740  
ACR RANGE  
RSNS  
PART  
VIS1 - VIS2  
20mΩ  
15mΩ  
10mΩ  
5mΩ  
DS2740U  
DS2740BU  
±204.8mVh  
±10.24Ah  
±13.65Ah  
±20.48Ah  
±40.96Ah  
MEMORY  
The DS2740 has memory space with registers for instrumentation, status, and control. When the MSB of  
a two-byte register is read, both the MSB and LSB are latched and held for the duration of the Read Data  
command to prevent updates during the read and ensure synchronization between the two register bytes.  
For consistent results, always read the MSB and the LSB of a two-byte register during the same Read  
Data command sequence.  
Table 3. MEMORY MAP  
ADDRESS (HEX)  
DESCRIPTION  
READ/WRITE  
00  
01  
02 to 07  
08  
09 to 0D  
0E  
Reserved  
Status Register  
Reserved  
Special Feature Register  
Reserved  
Current Register MSB  
Current Register LSB  
Accumulated Current Register MSB  
Accumulated Current Register LSB  
Reserved  
R/W  
R/W  
R
R
R/W  
R/W  
0F  
10  
11  
12 to FF  
STATUS REGISTER  
The format of the status register is shown in Figure 5. The function of each bit is described in detail in the  
following paragraphs.  
Figure 5. STATUS REGISTER FORMAT  
ADDRESS 01h  
BIT 7  
X
BIT 6  
SMOD  
BIT 5  
X
BIT 4  
RNAOP  
BIT 3  
X
BIT 2  
X
BIT 1  
X
BIT 0  
X
SMOD—SLEEP Mode Enable. A value of 1 allows the DS2740 to enter Sleep mode when DQ is low for  
2s. A value of 0 disables DQ related transitions to Sleep mode. The power-up default of SMOD = 0.  
RNAOP—Read Net Address Opcode. A value of 0 in this bit sets the opcode for the Read Net Address  
command to 33h, while a 1 sets the opcode to 39h. The power-up default of RNAOP = 0.  
X—Reserved bits.  
7 of 16  
DS2740  
SPECIAL FEATURE REGISTER  
The format of the special feature register is shown in Figure 6. The function of each bit is described in  
detail in the following paragraphs.  
Figure 6. SPECIAL FEATURE REGISTER FORMAT  
ADDRESS 08h  
BIT 7  
X
BIT 6  
PIO  
BIT 5  
X
BIT 4  
X
BIT 3  
X
BIT 2  
X
BIT 1  
X
BIT 0  
X
PIO—PIO Pin Sense and Control. This bit is read and write enabled. Writing a 0 to the PIO bit enables  
the PIO open-drain output driver, forcing the PIO pin low. Writing a 1 to the PIO bit disables the output  
driver, allowing the PIO pin to be pulled high or used as an input. Reading the PIO bit returns the logic  
level forced on the PIO pin. Note that if PIO is left floating, the weak pulldown brings the pin low. PIO  
resets to a 1 at initial power up, when the DS2740 enters Sleep mode, or DQ low > tSLEEP (independent of  
the SMOD pin).  
X—Reserved Bits.  
1-Wire BUS SYSTEM  
The 1-Wire bus is a system that has a single bus master and one or more slaves. A multidrop bus is a  
1-Wire bus with multiple slaves. A single-drop bus has only one slave device. In all instances, the  
DS2740 is a slave device. The bus master is typically a microprocessor in the host system. The discussion  
of this bus system consists of four topics: 64-bit net address, hardware configuration, transaction  
sequence, and 1-Wire signaling.  
64-BIT NET ADDRESS  
Each DS2740 has a unique, factory-programmed 1-Wire net address that is 64 bits in length. The first  
eight bits are the 1-Wire family code (36h for DS2740). The next 48 bits are a unique serial number. The  
last eight bits are a cyclic redundancy check (CRC) of the first 56 bits (see Figure 7). The 64-bit net  
address and the 1-Wire I/O circuitry built into the device enable the DS2740 to communicate through the  
1-Wire protocol detailed in the 1-Wire Bus System section of this data sheet.  
Figure 7. 1-Wire NET ADDRESS FORMAT  
8-BIT FAMILY  
CODE (36h)  
8-BIT CRC  
MSb  
48-BIT SERIAL NUMBER  
LSb  
CRC GENERATION  
The DS2740 has an 8-bit CRC stored in the most significant byte of its 1-Wire net address. To ensure  
error-free transmission of the address, the host system can compute a CRC value from the first 56 bits of  
the address and compare it to the CRC from the DS2740. The host system is responsible for verifying the  
CRC value and taking action as a result. The DS2740 does not compare CRC values and does not prevent  
a command sequence from proceeding as a result of a CRC mismatch. Proper use of the CRC can result  
in a communication channel with a very high level of integrity.  
8 of 16  
DS2740  
The CRC can be generated by the host using a circuit consisting of a shift register and XOR gates as  
shown in Figure 8, or it can be generated in software. Additional information about the Dallas 1-Wire  
CRC is available in Application Note 27, Understanding and Using Cyclic Redundancy Checks with  
Dallas Semiconductor iButton Products. (This application note can be found on the Maxim/Dallas  
Semiconductor website at www.maxim-ic.com.)  
In the circuit in Figure 8, the shift register bits are initialized to 0. Then, starting with the least significant  
bit of the family code, one bit at a time is shifted in. After the 8th bit of the family code has been entered,  
then the serial number is entered. After the 48th bit of the serial number has been entered, the shift  
register contains the CRC value.  
Figure 8. 1-Wire CRC GENERATION BLOCK DIAGRAM  
INPUT  
MSb  
LSb  
XOR  
XOR  
XOR  
HARDWARE CONFIGURATION  
Because the 1-Wire bus has only a single line, it is important that each device on the bus be able to drive  
it at the appropriate time. To facilitate this, each device attached to the 1-Wire bus must connect to the  
bus with open-drain or tri-state output drivers. The DS2740 uses an open-drain output driver as part of the  
bidirectional interface circuitry shown in Figure 9. If a bidirectional pin is not available on the bus master,  
separate output and input pins can be connected together.  
The 1-Wire bus must have a pullup resistor at the bus-master end of the bus. For short line lengths, the  
value of this resistor should be approximately 5kΩ. The idle state for the 1-Wire bus is high. If, for any  
reason, a bus transaction must be suspended, the bus must be left in the idle state to properly resume the  
transaction later. If the bus is left low for more than 120μs (16μs for overdrive speed), slave devices on  
the bus begin to interpret the low period as a reset pulse, effectively terminating the transaction.  
The DS2740 can operate in two communication speed modes, standard and overdrive. The speed mode is  
determined by the input logic level of the OVD pin with a logic 0 selecting standard Speed and a logic 1  
selecting overdrive speed. The OVD pin must be at a stable logic level of 0 or 1 before initializing a  
transaction with a reset pulse. All 1-Wire devices on a multinode bus must operate at the same  
communication speed for proper operation. 1-Wire timing for both standard and overdrive speeds are  
listed in the Electrical Characteristics: 1-Wire Interface tables.  
9 of 16  
DS2740  
Figure 9. 1-Wire BUS INTERFACE CIRCUITRY  
VPULLUP  
(2.0V to 5.5V)  
BUS MASTER  
DS2740 1-Wire PORT  
4.7kΩ  
Rx  
Rx  
Tx  
1μA  
(typ)  
Tx  
Rx = RECEIVE  
Tx = TRANSMIT  
100Ω  
MOSFET  
TRANSACTION SEQUENCE  
The protocol for accessing the DS2740 through the 1-Wire port is as follows:  
ƒ Initialization  
ƒ Net Address Command  
ƒ Function Command  
ƒ Transaction/Data  
The sections that follow describe each of these steps in detail.  
All transactions of the 1-Wire bus begin with an initialization sequence consisting of a reset pulse  
transmitted by the bus master followed by a presence pulse simultaneously transmitted by the DS2740  
and any other slaves on the bus. The presence pulse tells the bus master that one or more devices are on  
the bus and ready to operate. For more details, see the 1-Wire Signaling section.  
NET ADDRESS COMMANDS  
Once the bus master has detected the presence of one or more slaves, it can issue one of the net address  
commands described in the following paragraphs. The name of each net address command is followed by  
the 8-bit opcode for that command in square brackets. Figure 10 presents a transaction flowchart of the  
net address commands.  
Read Net Address [33h or 39h]. This command allows the bus master to read the DS2740’s 1-Wire net  
address. This command can only be used if there is a single slave on the bus. If more than one slave is  
present, a data collision occurs when all slaves try to transmit at the same time (open drain produces a  
wired-AND result). The RNAOP bit in the status register selects the opcode for this command, with  
RNAOP = 0 indicating 33h, and RNAOP = 1 indicating 39h.  
Match Net Address [55h]. This command allows the bus master to specifically address one DS2740 on  
the 1-Wire bus. Only the addressed DS2740 responds to any subsequent function command. All other  
slave devices ignore the function command and wait for a reset pulse. This command can be used with  
one or more slave devices on the bus.  
10 of 16  
DS2740  
Skip Net Address [CCh]. This command saves time when there is only one DS2740 on the bus by  
allowing the bus master to issue a function command without specifying the address of the slave. If more  
than one slave device is present on the bus, a subsequent function command can cause a data collision  
when all slaves transmit data at the same time.  
Search Net Address [F0h]. This command allows the bus master to use a process of elimination to  
identify the 1-Wire net addresses of all slave devices on the bus. The search process involves the  
repetition of a simple three-step routine: read a bit, read the complement of the bit, then write the desired  
value of that bit. The bus master performs this simple three-step routine on each bit location of the net  
address. After one complete pass through all 64 bits, the bus master knows the address of one device. The  
remaining devices can then be identified on additional iterations of the process. See Chapter 5 of the Book  
of DS19xx iButton® Standards for a comprehensive discussion of a net address search, including an actual  
example. (This publication can be found on the Maxim/Dallas Semiconductor website at www.maxim-  
ic.com.)  
Resume [A5h]. This command increases data throughput in multidrop environments where the DS2740  
needs to be accessed several times. Resume is similar to the Skip Net Address command in that the 64-  
bit net address does not have to be transmitted each time the DS2740 is accessed. After successfully  
executing a Match Net Address command or Search Net Address command, an internal flag is set in the  
DS2740. When the flag is set, the DS2740 can be repeatedly accessed through the Resume command  
function. Accessing another device on the bus clears the flag, thus preventing two or more devices from  
simultaneously responding to the Resume command function.  
FUNCTION COMMANDS  
After successfully completing one of the net address commands, the bus master can access the features of  
the DS2740 with any of the function commands described in the following paragraphs and summarized in  
Table 4. The name of each function is followed by the 8-bit opcode for that command in square brackets.  
Read Data [69h, XX]. This command reads data from the DS2740 starting at memory address XX. The  
LSb of the data in address XX is available to be read immediately after the MSb of the address has been  
entered. Because the address is automatically incremented after the MSb of each byte is received, the LSb  
of the data at address XX + 1 is available to be read immediately after the MSb of the data at address XX.  
If the bus master continues to read beyond address FFh, the DS2740 starts over at address 00h.  
Addresses labeled “Reserved” in the memory map contain undefined data. The Read Data command can  
be terminated by the bus master with a reset pulse at any bit boundary.  
Write Data [6Ch, XX]. This command writes data to the DS2740 starting at memory address XX. The  
LSb of the data to be stored at address XX can be written immediately after the MSb of address has been  
entered. Because the address is automatically incremented after the MSb of each byte is written, the LSb  
to be stored at address XX + 1 can be written immediately after the MSb to be stored at address XX. If  
the bus master continues to write beyond address FFh, the DS2740 starts over writing at address 00h.  
Writes to read-only addresses and reserved addresses are ignored. Incomplete bytes are not written. See  
the Memory section for more details.  
iButton is a registered trademark of Dallas Semiconductor.  
11 of 16  
DS2740  
Figure 10. NET ADDRESS COMMAND FLOW CHART  
MASTER Tx  
RESET PULSE  
DS2740 Tx  
PRESENCE PULSE  
MASTER Tx NET  
ADDRESS  
COMMAND  
33h / 39h  
READ  
NO  
55h  
MATCH  
NO  
F0h  
SEARCH  
NO  
CCh  
SKIP  
NO  
A5h  
RESUME  
NO  
NO  
YES  
YES  
YES  
YES  
YES  
MASTER Tx  
BIT 0  
MASTER Tx  
FUNCTION  
COMMAND  
DS2740 Tx  
FAMILY CODE  
1 BYTE  
DS2740 Tx BIT 0  
DS2740 Tx BIT 0  
MASTER Tx BIT 0  
RESUME  
FLAG SET ?  
DS2740 Tx  
SERIAL NUMBER  
6 BYTES  
YES  
MASTER Tx  
FUNCTION  
COMMAND  
BIT 0  
MATCH ?  
NO  
NO  
BIT 0  
MATCH ?  
DS2740 Tx  
CRC  
1 BYTE  
YES  
YES  
MASTER Tx  
BIT 1  
DS2740 Tx BIT 1  
DS2740 Tx BIT 1  
MASTER Tx BIT 1  
BIT 1  
NO  
NO  
BIT 1  
MATCH ?  
MATCH ?  
YES  
YES  
MASTER Tx  
BIT 63  
DS2740 Tx BIT 63  
DS2740 Tx BIT 63  
MASTER Tx BIT 63  
MASTER Tx  
FUNCTION  
COMMAND  
SET  
RESUME  
FLAG  
YES  
BIT 63  
MATCH ?  
NO  
12 of 16  
DS2740  
Table 4. FUNCTION COMMANDS  
BUS STATE  
AFTER COMMAND  
PROTOCOL  
COMMAND  
PROTOCOL  
COMMAND  
DESCRIPTION  
BUS DATA  
Reads data from  
memory starting at  
address XX  
Writes data to memory  
starting at address XX  
Up to 256 bytes  
of data  
Read Data  
Write Data  
69h, XX  
6Ch, XX  
Master Rx  
Master Tx  
Up to 256 bytes  
of data  
1-Wire SIGNALING  
The 1-Wire bus requires strict signaling protocols to ensure data integrity. The four protocols used by the  
DS2740 are as follows: the initialization sequence (reset pulse followed by presence pulse), write 0, write  
1, and read data. All of these types of signaling except the presence pulse are initiated by the bus master.  
The initialization sequence required to begin any communication with the DS2740 is shown in Figure 11.  
A presence pulse following a reset pulse indicates that the DS2740 is ready to accept a net address  
command. The bus master transmits (Tx) a reset pulse for tRSTL. The bus master then releases the line and  
goes into Receive mode (Rx). The 1-Wire bus line is then pulled high by the pullup resistor. After  
detecting the rising edge on the DQ pin, the DS2740 waits for tPDH and then transmits the presence pulse  
for tPDL  
.
Figure 11. 1-Wire INITIALIZATION SEQUENCE  
tRSTL  
tRSTH  
tPDH  
tPDL  
PACK+  
PACK-  
DQ  
LINE TYPE LEGEND:  
BUS MASTER ACTIVE LOW  
DS2740 ACTIVE LOW  
RESISTOR PULLUP  
BOTH BUS MASTER AND  
DS2740 ACTIVE LOW  
WRITE-TIME SLOTS  
A write-time slot is initiated when the bus master pulls the 1-Wire bus from a logic-high (inactive) level  
to a logic-low level. There are two types of write-time slots: write 1 and write 0. All write-time slots must  
be tSLOT in duration with a 1μs minimum recovery time, tREC, between cycles. The DS2740 samples the  
1-Wire bus line between 15μs and 60μs (between 2μs and 6μs for overdrive speed) after the line falls. If  
the line is high when sampled, a write 1 occurs. If the line is low when sampled, a write 0 occurs (see  
Figure 12). For the bus master to generate a write 1 time slot, the bus line must be pulled low and then  
released, allowing the line to be pulled high within 15μs (2μs for overdrive speed) after the start of the  
write-time slot. For the host to generate a write 0 time slot, the bus line must be pulled low and held low  
for the duration of the write-time slot.  
13 of 16  
DS2740  
READ-TIME SLOTS  
A read-time slot is initiated when the bus master pulls the 1-Wire bus line from a logic-high level to a  
logic-low level. The bus master must keep the bus line low for at least 1μs and then release it to allow the  
DS2740 to present valid data. The bus master can then sample the data tRDV from the start of the read-  
time slot. By the end of the read-time slot, the DS2740 releases the bus line and allows it to be pulled  
high by the external pullup resistor. All read-time slots must be tSLOT in duration with a 1μs minimum  
recovery time, tREC, between cycles. See Figure 12 for more information.  
Figure 12. 1-Wire WRITE- AND READ-TIME SLOTS  
14 of 16  
DS2740  
ABSOLUTE MAXIMUM RATINGS*  
Voltage on VDD, DQ, IS1, IS2, PIO, Relative to VSS  
Voltage on SNS, Relative to VSS  
Operating Temperature Range  
-0.3V to +6V  
-0.3V to +6V  
-40°C to +85°C  
Storage Temperature Range  
Soldering Temperature  
-55°C to +125°C  
See IPC/JEDECJ-STD-020A  
* This is a stress rating only and functional operation of the device at these or any other conditions above  
those indicated in the operation sections of this specification is not implied. Exposure to absolute  
maximum rating conditions for extended periods of time may affect reliability.  
RECOMMENDED DC OPERATING CONDITIONS  
(2.7V VDD 5.5V; TA = 0°C to +70°C.)  
PARAMETER  
Supply Voltage  
Data Pin  
SYMBOL  
VDD  
CONDITIONS  
(Note 1)  
(Note 1)  
MIN  
2.7  
-0.3  
TYP  
MAX  
5.5  
+5.5  
UNITS  
V
V
DQ  
DC ELECTRICAL CHARACTERISTICS  
(2.7V VDD 4.2V; TA = 0°C to +70°C.)  
PARAMETER  
SYMBOL  
CONDITIONS  
MIN  
TYP  
50  
MAX  
65  
85  
UNITS  
Active Current  
IACTIVE  
μA  
VDD = 5.5V  
VDD = 2.0V,  
DQ = PIO = VSS  
VDD = 4.2V,  
0.6  
0.9  
2.5  
1.0  
1.25  
2.7  
Sleep-Mode Current  
ISLEEP  
μA  
DQ = PIO = VSS  
Undervoltage Sleep  
Threshold  
VUV  
ILSB  
IFS  
2.3  
V
DS2740U  
DS2740BU  
1.5625  
6.25  
Current Resolution  
μV/RSNS  
mV/RSNS  
Current Full-Scale  
Magnitude  
Current Measurement  
Offset (Auto  
51.2  
+1  
0
DS2740U (Note 2)  
DS2740BU (Note 2)  
-3  
-2  
+5  
+2  
IOERR  
LSb  
Calibrated)  
% of  
reading  
Current Gain Error  
IGERR  
qCA  
-1  
+1  
Accumulated Current  
Resolution  
Current Sample Clock  
Frequency  
6.25  
18.6  
μVh  
kHz  
%
fSAMP  
VDD = 3.5V at +25°C  
-1  
-4  
VDD -  
+1  
+4  
Timebase Accuracy  
tERR  
VIH  
VIH  
VIL  
Input Logic High:  
OVD  
Input Logic High: DQ,  
PIO  
Input Logic Low:  
OVD  
(Note 1)  
(Note 1)  
V
0.2V  
1.5  
V
VSS +  
0.2  
(Note 1)  
V
15 of 16  
DS2740  
Input Logic Low: DQ,  
PIO  
Output Logic Low:  
DQ, PIO  
VIL  
VOL  
IPD  
(Note 1)  
0.6  
0.4  
V
IOL = 4mA (Note 1)  
VDD = 4.2V,  
VDQ = 0.4V  
PIO bit = 1  
V
DQ, PIO Input  
0.5  
μA  
Pulldown Current  
OVD Input Leakage  
DQ Capacitance  
DQ Low to Sleep Time  
ILOVD  
CDQ  
tSLEEP  
-1  
1
50  
2.4  
μA  
pF  
s
(Note 3)  
2.0  
ELECTRICAL CHARACTERISTICS: 1-Wire INTERFACE—STANDARD SPEED  
(2.7V VDD 5.5V; TA = -20°C to +70°C.)  
PARAMETER  
SYMBOL  
tSLOT  
tREC  
MIN  
60  
1
TYP  
MAX  
120  
UNITS  
μs  
Time Slot  
Recovery Time  
μs  
Write 0 Low Time  
Write 1 Low Time  
Read Data Valid  
Reset Time High  
Reset Time Low  
Presence Detect High  
Presence Detect Low  
tLOW0  
tLOW1  
tRDV  
tRSTH  
tRSTL  
tPDH  
60  
1
120  
15  
15  
μs  
μs  
μs  
μs  
μs  
μs  
μs  
480  
480  
15  
960  
60  
240  
tPDL  
60  
ELECTRICAL CHARACTERISTICS: 1-Wire INTERFACE—OVERDRIVE SPEED  
(2.7V VDD 5.5V; TA = -20°C to +70°C.)  
PARAMETER  
SYMBOL  
tSLOT  
tREC  
MIN  
TYP  
MAX  
16  
UNITS  
μs  
Time Slot  
Recovery Time  
6
1
6
1
μs  
μs  
μs  
μs  
μs  
μs  
μs  
μs  
Write 0 Low Time  
Write 1 Low Time  
Read Data Valid  
Reset Time High  
Reset Time Low  
Presence Detect High  
Presence Detect Low  
tLOW0  
tLOW1  
tRDV  
tRSTH  
tRSTL  
tPDH  
16  
2
2
48  
48  
2
80  
6
24  
tPDL  
8
Note 1:  
Note 2:  
Note 3:  
All voltages are referenced to VSS.  
Offset performance requires proper circuit layout design free of surface contaminants.  
The DS2740 enters the Sleep mode 2.0s to 2.4s after DQ goes low.  
16 of 16  

相关型号:

DS2740B

High-Precision Coulomb Counter
DALLAS

DS2740BU

High-Precision Coulomb Counter
DALLAS

DS2740BU

High-Precision Coulomb Counter
MAXIM

DS2740BU+

Power Management Circuit,
DALLAS

DS2740BU+

Power Supply Support Circuit, Fixed, 1 Channel, PDSO8, LEAD FREE, MICRO, MAX-8
MAXIM

DS2740BU+TR

Power Management Circuit,
DALLAS

DS2740BU/R

High-Precision Coulomb Counter
DALLAS

DS2740BU/T

High-Precision Coulomb Counter
DALLAS

DS2740BU/T&R

Power Supply Support Circuit, Fixed, 1 Channel, PDSO8, MICRO, MAX-8
MAXIM

DS2740BU/T&R

High-Precision Coulomb Counter
DALLAS

DS2740BU/TR

Power Management Circuit,
DALLAS

DS2740BUTR

High-Precision Coulomb Counter
MAXIM