industrial systems, consumer products,
thermometers, or any thermally sensitive
system
§ Available in 8-pin SO (150mil) and mSOP
packages
PIN ASSIGNMENT
DS1631Z
7
6
T
OUT
GND
2
L
3
DS1631Z—8-pin SO (150mil)
D1631
7
6
T
OUT
GND
2
L
3
DS1631U—mSOP
PIN DESCRIPTION
SDA- Open-Drain Data I/O
SCL- Clock Input
T
GND- Ground
V
A
A
A
- Thermostat Output
OUT
- Power Supply (2.7V to 5.5V)
DD
- Address Input
0
- Address Input
1
- Address Input
2
V
DD
A
0
A
1
A
2
V
DD
A
0
A
1
A
2
DESCRIPTION
The DS1631 digital thermometer and thermostat provides 9-, 10-, 11-, or 12-bit digital temperature
readings over a range of -55°C to +125°C. The thermometer accuracy is ±0.5°C from 0°C to +70°C with
3.0V £ V
The thermostat output (T
thermostat trip point (T
£ 5.5V. The thermostat provides custom hysteresis with user-defined trip points (TH and TL).
DD
) becomes active when the temperature of the device exceeds the upper
OUT
), and remains active until the temperature drops below the lower thermostat trip
H
point (TL).
The T
and TL registers and thermometer configuration settings are stored in NV EEPROM so the
H
DS1631 can be programmed prior to installation. Communication with the DS1631 is achieved through a
standard 2-wire serial interface.
1 of 14012402
DETAILED PIN DESCRIPTION Table 1
A
A
A1A2A
0
OU
PINSYMBOLDESCRIPTION
1SDAData input/output pin for 2-wire serial communication port. Open drain.
2SCLClock input pin for 2-wire serial communication port.
3T
2 bytesEEPROMUpper alarm trip point in two’s complement
format.
Power-up/POR state: user defined.
2 bytesEEPROMLower alarm trip point in two’s
complement format.
Power-up/POR state: user defined.
1 byteSRAM and
EEPROM
Configuration and status information.
Unsigned data.
6 MSbs = SRAM
2 LSbs (POL and 1SHOT bits) = EEPROM
Power-up/POR state: 100011XX (XX =
User defined)
T
T
2 of 14
DS1631
OVERVIEW
The DS1631 measures temperature using a bandgap-based temperature sensor. A delta-sigma analog-todigital converter (ADC) converts the measured temperature to a 9-, 10-, 11-, or 12-bit (user-selectable)
digital value that is calibrated in degrees centigrade; for Fahrenheit applications a lookup table or
conversion routine must be used. The DS1631 also provides thermostat capability with userprogrammable NV trip-point registers. Communication with the DS1631 is achieved through a standard
2-wire serial interface.
Detailed DS1631 pin descriptions are provided in Table 1 and user-accessible registers are summarized in
Table 2.
Note: The DS1631 is software- and pin-compatible with DS1621. This compatibility covers all
functions/commands described in the DS1621 data sheet including access to the Count_Remain and
Count_Per_C registers for high-resolution temperature calculations based on the legacy dual-oscillator
architecture. Refer to Application Note 176 Using the DS1631 in DS1621 Applications for more
information.
OPERATION—MEASURING TEMPERATURE
The DS1631 can be programmed to take continuous temperature measurements (continuous conversion
mode) or to take single temperature measurements on command (one-shot mode). The measurement
mode is programmed through the 1SHOT bit in the configuration register: 1SHOT = 1—one-shot mode;
1SHOT = 0—continuous conversion mode. The 1SHOT bit is stored in NV EEPROM, so it can be
programmed prior to installation if desired. In continuous conversion mode, when a Start Convert T
command is issued, the DS1631 will perform consecutive temperature measurements until a Stop Convert
T command is issued. In one-shot mode, the Start Convert T command causes one temperature
measurement to be taken, then the DS1631 returns to a low-power idle state. One-shot mode is
recommended for use in power-sensitive applications.
The resolution of the DS1631 digital temperature data is user-configurable to 9, 10, 11, or 12 bits,
corresponding to temperature increments of 0.5°C, 0.25°C, 0.125°C, and 0.0625°C, respectively. The
default resolution at power-up is 12 bits, and it can be changed through the R0 and R1 bits in the
configuration register as explained in the CONFIGURATION REGISTER section of this data sheet. Note
that the conversion time doubles for each additional bit of resolution.
After each temperature measurement and analog-to-digital conversion, the DS1631 stores the temperature
as a 16-bit two’s complement number in the 2-byte temperature register (see Figure 2). The sign bit (S)
indicates if the temperature is positive or negative: for positive numbers S = 0 and for negative numbers S
= 1. The Read Temperature command provides user access to the temperature register.
Bits 3 through 0 of the temperature register are hardwired to 0. When the DS1631 is configured for 12-bit
resolution, the 12 MSbs (bits 15 through 4) of the temperature register will contain temperature data. For
11-bit resolution, the 11 MSbs (bits 15 through 5) of the temperature register will contain data, and bit 4
will read out as 0. Likewise, for 10-bit resolution, the 10 MSbs (bits 15 through 6) will contain data, and
for 9-bit the 9 MSbs (bits 15 through 7) will contain data, and all unused LSbs will contain 0s. Table 3
gives examples of 12-bit resolution digital output data and the corresponding temperatures.
The DS1631 thermostat output (T
updated value until the next conversion completes. T
defined upper and lower trip points. When the measured temperature meets or exceeds the value stored in
the upper trip-point register (TH), T
below the value stored in the lower trip-point register (TL) (see Figure 3). This allows the user to program
any amount of hysteresis into the output response. The active state of T
the polarity bit (POL) in the configuration register: POL = 1—T
active low.
) is updated after every temperature conversion, and remains at the
OUT
is activated and deactivated based on user-
OUT
will become active and stay active until the temperature falls
OUT
is user-programmable through
OUT
is active high; POL = 0—T
OUT
OUT
is
The user-defined values in the T
and TL registers (see Figure 2) must be in two’s complement format
H
with the MSb (bit 15) containing the sign bit (S). The resolution of the TH and TL values is determined by
the R0 and R1 bits in the configuration register (see Table 4), so the TH and TL resolution will match the
output temperature resolution. For example, for 10-bit resolution bits 5 through 0 of the TH and T
registers will read out as 0 (even if 1s are written to these bits), and the converted temperature will be
compared to the 10 MSbs of TH and TL.
The TH and TL registers and the POL bit are stored in EEPROM; therefore, they are NV and can be
programmed prior to installation of the DS1631. Writing to and reading from the T
, TL, and
H
configuration registers is achieved using the Access TH, Access TL, and Access Config commands.
Another thermostat feature is the temperature high and low flags (THF and TLF) in the configuration
register. These bits provide a record of whether the temperature has been greater than TH or less than T
at anytime since the DS1631 was powered up. If the temperature ever exceeds the TH register value, the
THF bit in the configuration register will be set to 1, and if the temperature ever falls below the T
value,
L
the TLF bit in the configuration register will be set to 1. Once THF and/or TLF has been set, it will
remain set until over-written with a 0 by the user or until the power is cycled.
4 of 14
L
L
THERMOSTAT OUTPUT OPERATION Figure 3
b
b
b
b
b
b
g
DS1631
Lo
ic 1
Logic 0
POL=1 (T
T
L
is active high)
OUT
T
OUT
T
H
Temp
CONFIGURATION REGISTER
The configuration register allows the user to program various DS1631 options such as conversion
resolution, T
polarity, and operating mode. It also provides information to the user about conversion
OUT
status, EEPROM activity, and thermostat activity. The configuration register is arranged as shown in
Figure 4 and detailed descriptions of each bit are provided in Table 5. This register can be read from and
written to using the Access Config command. Note that the POL and 1SHOT bits are stored in EEPROM
and all other configuration register bits are SRAM.
CONFIGURATION REGISTER Figure 4
MSb
it 6
it 5
it 4
it 3
it 2
it 1LSb
DONETHFTLFNVBR1R0POL*1SHOT*
*NV (EEPROM)
RESOLUTION CONFIGURATION Table 4
R1R0RESOLUTIONCONVERSION
009-bit93.75ms
0110-bit187.5ms
1011-bit375ms
1112-bit750ms
START, STOP, AND ACK SIGNALS Figure 5
SDA
SCL
TIME (MAX)
START
Condition
5 of 14
ACK (or NACK)
From Receiver
STOP
Condition
Loading...
+ 9 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.