19-2337; Rev 0; 1/02
Remote Temperature-Controlled Fan-Speed
Regulator with SPI-Compatible Interface
Features
♦ Integrated Thermal Measurement and Fan
Regulation
♦ Programmable Fan Threshold Temperature
♦ Programmable Temperature Range for Full-Scale
Fan Speed
♦ Accurate Closed-Loop Fan-Speed Regulation
♦ On-Chip Power Device Drives Fans Rated
Up to 250mA
♦ Programmable Under/Overtemperature Alarms
♦ SPI-Compatible Serial Interface
♦ ±1°C (+60°C to +100°C) Thermal-Sensing
Accuracy
Ordering Information
PART
TEMP RANGE
MAX6661AEE
PIN-PACKAGE
-40°C to +125°C
16 QSOP
Typical Operating Circuit
12V
Applications
3V TO 5.5V
0.1µF
50Ω
Telecom Systems
10kΩ
EACH
Servers
VFAN
Workstations
Electronic Instruments
VCC
5kΩ
1µF
TACH IN
FAN
FAN
OVERT
TO SYSTEM
SHUTDOWN
SC
2200pF
DXN
Pin Configuration appears at end of data sheet.
INTERRUPT
TO µP
MAX6661
DXP
PENTIUM
ALERT
SPI CLOCK
SDIN
SPI DATA IN
DOUT
SPI DATA OUT
CS
SPI CHIP SELECT
AGND
SPI is a trademark of Motorola, Inc.
PGND
________________________________________________________________ Maxim Integrated Products
For pricing, delivery, and ordering information, please contact Maxim/Dallas Direct! at
1-888-629-4642, or visit Maxim’s website at www.maxim-ic.com.
1
MAX6661
General Description
The MAX6661 is a remote temperature sensor and fanspeed regulator that provides complete closed-loop fan
control. The remote temperature sensor is typically a
common-collector PNP, such as a substrate PNP of a
microprocessor, or a diode-connected transistor, typically a low-cost, easily mounted 2N3904 NPN type or
2N3906 PNP type.
The device also incorporates a closed-loop fan controller that regulates fan speed with tachometer feedback. The MAX6661 compares temperature data to a
fan threshold temperature and gain setting, both programmed over the SPI™ bus by the user. The result is
automatic fan control that is proportional to the remotejunction temperature. The temperature feedback loop
can be broken at any time for system control over the
speed of the fan.
Fan speed is voltage controlled as opposed to PWM
controlled, greatly reducing acoustic noise and maximizing fan reliability. An on-chip power device drives
fans rated up to 250mA.
Temperature data is updated every 500ms and is readable at any time over the SPI interface. The MAX6661 is
accurate to 1°C (max) when the remote junction is
between +60°C to +100°C. Data is formatted as a 10bit + sign word with 0.125°C resolution.
The MAX6661 is specified between -40°C to +125°C
and is available in a 16-pin QSOP package.
MAX6661
Remote Temperature-Controlled Fan-Speed
Regulator with SPI-Compatible Interface
ABSOLUTE MAXIMUM RATINGS
VCC, ALERT, OVERT ...............................................-0.3V to +6V
VFAN, TACH IN, FAN .............................................-0.3V to +16V
DXP, CS, SDOUT, GAIN, SCL, SDIN..........-0.3V to (VCC + 0.3V)
DXN ..........................................................................-0.3V to +1V
SDOUT Current ...................................................-1mA to +50mA
DXN Current ......................................................................±1mA
FAN Out Current ..............................................................500mA
Continuous Power Dissipation (TA = +70°C)
16-Pin QSOP (derate 8.3mW/°C above +70°C)...........667mW
Operating Temperature Range ........................ -40°C to +125°C
Junction Temperature .....................................................+150°C
Storage Temperature Range .............................-65°C to +150°C
Lead Temperature (soldering, 10s) ................................+300°C
Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. These are stress ratings only, and functional
operation of the device at these or any other conditions beyond those indicated in the operational sections of the specifications is not implied. Exposure to
absolute maximum rating conditions for extended periods may affect device reliability.
ELECTRICAL CHARACTERISTICS
(VCC = 3V to 5.5V, VFAN = 12V, TA = -40°C to +125°C, unless otherwise specified. Typical values are at VCC = 3.3V and TA =
+25°C.) (Notes 1 and 2)
PARAMETER
SYMBOL
CONDITIONS
MIN
TYP
MAX
UNITS
ADC AND POWER SUPPLY
0.125
Temperature Resolution
(Note 3)
Remote-Junction Temperature
Measurement Error (Note 4)
°C
11
TE
TA = +85°C,
VCC = 3.3V
Bits
TRJ = +60°C to +100°C
-1
+1
°C
TRJ = +25°C to +125°C
-3
+3
°C
TRJ = -40°C to +125°C
-5
+5
°C
Fan-Speed Measurement
Accuracy
±25
%
VCC Supply Voltage Range
VCC
3.0
5.5
V
VFAN Supply Voltage Range
VFAN
4.5
13.5
V
+25
%
2.95
V
Conversion Time
0.25
Conversion Rate Timing Error
-25
Undervoltage Lockout (UVLO)
Threshold
VUVLO
UVLO Threshold Hysteresis
VHYST
POR Threshold (VCC)
VCC falling
2.50
2.80
VCC rising
1.4
2.0
90
POR Threshold Hysteresis
Standby Supply Current
s
mV
2.5
90
20
µA
Fan off
450
700
µA
TACH Input Transition Level
VFAN = 12V
10.5
V
TACH Input Hysteresis
VFAN = 12V
190
mV
DXN Source Voltage
ICC
Shutdown, configuration bit 6 = 1
mV
3
Operating Supply Current
ISHDN
V
VDXN
0.7
TACH Input Resistance
250
Fan Output Current
IF
Fan Output Current Limit
IL
Fan Output On-Resistance
2
V
RONF
kΩ
250
(Note 5)
250mA load
mA
320
4
_______________________________________________________________________________________
410
mA
Ω
Remote Temperature-Controlled Fan-Speed
Regulator with SPI-Compatible Interface
(VCC = 3V to 5.5V, VFAN = 12V, TA = -40°C to +125°C, unless otherwise specified. Typical values are at VCC = 3.3V and TA =
+25°C.) (Notes 1 and 2)
PARAMETER
SYMBOL
CONDITIONS
MIN
TYP
MAX
UNITS
2.5
MHz
INTERFACE PINS (SDIN, SC, CS, DOUT, ALERT, OVERT)
Serial Bus Maximum Clock
Frequency (Note 5)
SC
Logic Input High Voltage
Logic Input Low Voltage
VCC = 3V
2.2
VCC = 5.5V
2.4
V
VCC = 3V to 5V
0.8
VCC 0.4V
V
Logic Output High-Voltage
DOUT
VCC = 3V, ISOURCE = 6mA (Note 5)
Logic Output Low-Voltage DOUT
VCC = 3V, ISINK = 6mA (Note 5)
0.4
V
Logic Output Low-Voltage
ALERT, OVERT
VCC = 3V, ISINK = 6mA (Note 5)
0.4
V
ALERT, OVERT Output
High Leakage Current
ALERT, OVERT forced to 5.5V
1
µA
Logic Input Current
Logic inputs forced to VCC or GND
2
µA
200
ns
V
-2
SPI AC TIMING (Figure 5)
CS High to DOUT Three-State
tTR
CLOAD = 100pF, RGS = 10kΩ (Note 5)
CS to SC Setup Time
tCSS
(Note 5)
SC Fall to DOUT Valid
tDO
CLOAD = 100pF
DIN to SC Setup Time
tDS
DIN to SC Hold Time
tDH
(Note 5)
200
ns
200
ns
200
ns
200
ns
SC Period
tCP
400
ns
SC High Time
tCH
200
ns
SC Low Time
tCL
200
ns
CS High Pulse Width
Output Rise Time
Output Fall Time
SC Falling Edge to CS Rising
tCSW
(Note 5)
tR
CLOAD = 100pF
tF
CLOAD = 100pF
tSCS
(Note 5)
400
200
ns
10
ns
10
ns
ns
Note 1: TA = TJ. This implies zero dissipation in pass transistor (no load, or fan turned off).
Note 2: All parameters are 100% production tested at a single temperature, unless otherwise indicated. Parameter values through
temperature are guaranteed by design.
Note 3: The fan control section of the MAX6661 and temperature comparisons use only 9 bits of the 11-bit temperature measurement with a 0.5°C LSB.
Note 4: Wide-range accuracy is guaranteed by design, not production tested.
Note 5: Guaranteed by design.
_______________________________________________________________________________________
3
MAX6661
ELECTRICAL CHARACTERISTICS (continued)
Typical Operating Characteristics
(TA = +25°C, unless otherwise noted.)
TEMPERATURE ERROR
vs. REMOTE-DIODE TEMPERATURE
0
-5
-10
PATH = DXP TO VCC (5V)
-15
3
2
1
0
-1
-2
-20
-3
-25
-4
-30
10
5
VIN = 250mVP-P
0
-5
-10
-15
VIN = 100mVP-P
-20
-30
-50
100
10
-25
-5
1
VIN = SQUARE WAVE APPLIED TO VCC
WITH NO 0.1µF VCC CAPACITOR
15
TEMPERATURE ERROR (°C)
PATH = DXP TO GND
5
20
MAX6661 toc02
10
4
TEMPERATURE ERROR (°C)
15
0
50
100
150
1
10
100 1k
10k 100k 1M 10M 100M
LEAKAGE RESISTANCE (MΩ)
TEMPERATURE (°C)
FREQUENCY (Hz)
TEMPERATURE ERROR
vs. COMMON-MODE NOISE FREQUENCY
TEMPERATURE ERROR
vs. DXP-DXN CAPACITANCE
STANDBY SUPPLY CURRENT
vs. SUPPLY VOLTAGE
2.5
VIN = 100mVP-P
2.0
1.5
1.0
0.5
VIN = 50mVP-P
0
-0.5
-1.0
-1
-2
-3
-4
-5
-6
100
1k
MAX6661 toc06
3
2
CONFIG BIT 6 = 1
1
0
-8
10
4
-7
VIN = 25mVP-P
-1.5
1
5
STANDBY SUPPLY CURRENT (µA)
3.0
1
0
TEMPERATURE ERROR (°C)
VIN = SQUARE WAVE
AC-COUPLED TO DXN
3.5
MAX6661 toc04
4.0
MAX6661 toc05
TEMPERATURE ERROR (°C)
5
MAX6661 toc01
20
TEMPERATURE ERROR
vs. POWER-SUPPLY NOISE FREQUENCY
3.0
0 10 20 30 40 50 60 70 80 90 100
10k 100k 1M 10M 100M
FREQUENCY (Hz)
3.5
4.0
MAX6661 toc07
AVERAGE SUPPLY CURRENT (µA)
450
3.0
3.3
3.6
3.9
4.2
4.5
4.8
4.5
SUPPLY VOLTAGE (V)
DXP-DXN CAPACITANCE (nF)
AVERAGE SUPPLY CURRENT
vs. SUPPLY VOLTAGE
5.1
5.4
SUPPLY VOLTAGE (V)
4
MAX6661 toc03
TEMPERATURE ERROR
vs. PC BOARD RESISTANCE
TEMPERATURE ERROR (°C)
MAX6661
Remote Temperature-Controlled Fan-Speed
Regulator with SPI-Compatible Interface
_______________________________________________________________________________________
5.0
5.5
Remote Temperature-Controlled Fan-Speed
Regulator with SPI-Compatible Interface
PIN
NAME
FUNCTION
1
VFAN
Power Supply for Fan Drive: 4.5V to 13.5V
2
VCC
Power Supply: 3V to 5.5V. Bypass with a 0.1µF capacitor to GND.
3
DXP
Input: Remote-Junction Anode. Place a 2200pF capacitor between DXP and DXN for noise filtering.
4
DXN
Input: Remote-Junction Cathode. DXN is internally biased to a diode voltage above ground.
5
FAN
Output to Fan Low Side
6
N.C.
No External Connection. Must be left floating.
7
PGND
8
AGND
Power Ground
Analog Ground
9
OVERT
Output to System Shutdown. Active-low output, programmable for active high, if desired. Open drain.
10
CS
11
ALERT
12
DOUT
SPI Data Output. High-Z when not being read.
GAIN
Leave open if tachometer feedback is being used. Connect an external resistor to VCC to reduce the
gain of the current sense.
14
SCL
SPI Clock
15
SDIN
SPI Data In
16
TACH IN
13
SPI Chip Select. Active low.
Open-Drain Active-Low Output
Fan Tachometer Input. 13.5V tolerant, pullup from VCC to 13.5V is allowed on this line.
Detailed Description
The MAX6661 is a remote temperature sensor and fan
controller with an SPI interface. The MAX6661 converts
the temperature of a remote PN junction to a 10-bit +
sign digital word. The remote PN junction can be a
diode-connected transistor, such as a 2N3906, or the
type normally found on the substrate of many processors’ ICs. The temperature information is provided to the
fan-speed regulator and is read over the SPI interface.
The temperature data, through the SPI interface, can be
read as a 10-bit + sign two’s complement word with a
0.125°C resolution (LSB) and is updated every 0.5s.
The MAX6661 incorporates a closed-loop fan controller
that regulates the fan speed with tachometer feedback.
The temperature information is compared to a threshold
and range setting, which enables the MAX6661 to automatically set fan speed proportional to temperature.
Full control of the fan is available by being able to open
either the thermal control loop or the fan control loop.
Figure 1 shows a simplified block diagram.
ADC
The ADC is an averaging type that integrates the signal
input over a 125ms period with excellent noise rejection. A bias current is steered through the remote
diode, where the forward voltage is measured, and the
temperature is computed. The DXN pin is the cathode
of the remote diode and is biased at 0.7V above
ground by an internal diode to set up the ADC inputs
for a differential measurement. The worst-case DXPDXN differential input voltage range is 0.25V to 0.95V.
Excess resistance in series with the remote diode causes about 1/2°C error per ohm. Likewise, 200mV of offset voltage forced on DXP-DXN causes approximately
1°C error.
A/D Conversion Sequence
A temperature-conversion sequence is initiated every
500ms in the free-running autoconvert mode (bit 6 = 0
in the configuration register) or immediately by writing a
one-shot command. The result of the new measurement
is available after the end of conversion. The results of
the previous conversion sequence are still available
when the ADC is converting.
Remote-Diode Selection
Temperature accuracy depends on having a goodquality, diode-connected, small-signal transistor.
Accuracy has been experimentally verified for all
devices listed in Table 1. The MAX6661 can also directly measure the die temperature of CPUs and other ICs
that have on-board temperature-sensing diodes.
_______________________________________________________________________________________
5
MAX6661
Pin Description
MAX6661
Remote Temperature-Controlled Fan-Speed
Regulator with SPI-Compatible Interface
VFAN
TACH IN
FAN-SPEED
REGULATOR
FAN
FAN
N
REGISTERS
TMAX
DXP
MUX
ADC
THYST
COMPARAT0R
OVERT
DXN
REMOTE
TEMPERATURE
DATA
CONTROL
LOGIC
ALERT
THIGH
SC
SDIN
DOUT
SPI
INTERFACE
TLOW
CS
CONFIGURATION
FAN TACHOMETER
DIVISOR (FTD)
TFAN (FT)
THERMAL OPEN/
CLOSE LOOP
FAN OPEN/
CLOSE LOOP
FAN
CONTROL
CIRCUIT
FAN GAIN (FG)
FULL SCALE
(FS)
FAN TACHOMETER
PERIOD LIMIT (FTPL)
MODE (M)
FAN-CONVERSION
RATE (FCR)
FAN-SPEED CONTROL
(FSC)
STATUS
FAN TACHOMETER
PERIOD (FTP)
Figure 1. MAX6661 Block Diagram
6
_______________________________________________________________________________________
Remote Temperature-Controlled Fan-Speed
Regulator with SPI-Compatible Interface
MANUFACTURER
MODEL NO.
Central Semiconductor (USA)
2N3904, 2N3906
Fairchild Semiconductor (USA)
2N3904, 2N3906
Rohm Semiconductor (Japan)
Samsung (Korea)
SST3904
KST3904-TF
Siemens (Germany)
SMBT3904
Zetex (England)
FMMT3904CT-ND
Note: Transistors must be diode connected (base shorted to
collector).
The transistor must be a small-signal type with a relatively high forward voltage. Otherwise, the A/D input
range could be violated. The forward voltage must be
greater than 0.25V at 10µA. Check to ensure this is true
at the highest expected temperature. The forward voltage must be less than 0.95V at 100µA. Check to ensure
that this is true at the lowest expected temperature.
Large power transistors, power diodes, or small-signal
diodes must not be used. Also, ensure that the base
resistance is less than 100Ω. Tight specifications for
forward-current gain (50 < ß +150°C) and is in thermal shutdown. The fan driver
remains disabled until temperature falls below +140°C.
6
ALERT
0
When high, indicates ALERT has been activated (pulled low), regardless of
cause (internal or external).
5
Fan Driver Full
Scale
0
When high, indicates the fan driver is at full scale. Only valid in fan
closed-loop mode.
4
Remote High
0
When high, the remote-junction temperature exceeds the temperature in the
remote high register.
3
Remote Low
0
When low, the remote-junction temperature is lower than the temperature in the
remote low register.
2
Diode Open
0
When high, the remote-junction diode is open.
1
OVERT
0
When active, indicates that OVERT has been activated, regardless of cause
(internal or external).
0
Fan Failure
0
When high, indicates the count in the fan tachometer period register is higher
than the limit set in the fan tachometer period limit register.
present. Bits 2 through 6 of the status register are
cleared by any successful read of the status register,
unless the fault persists. The ALERT output follows the
status flag bit. Both are cleared when successfully
read, but if the condition still exists, the ALERT and the
12
corresponding status bit are reasserted at the end of
the next conversion.
When autoconverting, if the THIGH and TLOW limits are
close together, it is possible for both high-temperature
and low-temperature status bits to be set, depending
______________________________________________________________________________________
Remote Temperature-Controlled Fan-Speed
Regulator with SPI-Compatible Interface
Manufacturer and Device ID Codes
Two ROM registers provide manufacturer and device
ID codes. Reading the manufacturer ID returns 4D,
which is the ASCII code M (for Maxim). Reading the
device ID returns 09h, indicating the MAX6661 device.
POR and UVLO
The MAX6661 has a volatile memory. To prevent unreliable power-supply conditions from corrupting the data
in memory and causing erratic behavior, a POR voltage
detector monitors VCC and clears the memory if VCC
falls below 1.91V (see Electrical Characteristics). When
power is first applied and VCC rises above 2.0V (typ),
the logic blocks begin operating, although reads and
writes at VCC levels below 3.0V are not recommended.
A second VCC comparator, the ADC UVLO comparator
prevents the ADC from converting until there is sufficient headroom (VCC = 2.89V typ).
The software POR (SPOR) command can force a
power-on reset of the MAX6661 registers through the
serial interface. This can be done by writing F8h to the
MAX6661.
Power-up defaults include:
• Interrupt latch is cleared.
• ADC begins autoconverting.
• Command register is set to 00h to facilitate quickinternal Receive Byte queries.
• THIGH and TLOW registers are set to +127°C and
-55°C, respectively.
• T HYST and T MAX are set to +95°C and +100°C,
respectively.
Fan Control
The fan-control function can be divided into the thermal
loop, the fan-speed-regulation loop (fan loop), and the
fan-failure sensor. The thermal loop sets the desired fan
speed based on temperature while the fan-speed-regulation loop uses an internally divided down reference
oscillator to regulate the fan speed. The fan-speed-regulation loop includes the fan driver and the tachometer
sensor. The fan-failure sensor provides a FAN FAIL
alarm that signals when the value in the fan tachometer
period register is greater than the fan tachometer period limit register value, which corresponds to a fan
going slower than the limit. The fan driver is an N-channel, 4Ω MOSFET with a 13.5V maximum VDS whose
drain terminal connects to the low side of the fan. The
tachometer sensor (TACH IN) of the MAX6661 is driven
from the tachometer output of the fan and provides the
feedback signal to the fan-speed regulation loop for
controlling the fan speed. For fans without tachometer
outputs, the MAX6661 can generate its own tachometer
pulses by monitoring the commutating current pulses
(see the Commutating Current Pulses section).
Thermal Loop
Thermal Closed Loop
The MAX6661 can be operated in a complete closedloop mode, with both the thermal and fan loops closed,
where the remote-diode sensor temperature directly
controls fan speed. Setting bit 3 of the configuration
register to zero places the MAX6661 in thermal closed
loop (Figure 6). The remote-diode temperature sensor
is updated every 500ms. The value is stored in a temporary register (TEMPDATA) and compared to the programmed temperature values in the T HIGH , T LOW ,
THYST, TMAX, and TFAN registers to produce the error
outputs OVERT and ALERT.
The fan conversion rate (FCR) register (Table 6) can be
programmed to update the TEMPDATA register every
0.5s to 32s. This enables control over timing of the thermal feedback loop to optimize stability.
The fan threshold (TFAN) register value is subtracted
from the UPDATE register value. If UPDATE exceeds
TFAN temperature, then the fan-speed control (FSC)
register (Table 7), stores the excess temperature in the
form of a 7-bit word with an LSB of 0.5°C. If the difference between the TFAN and UPDATE registers is higher than 32°C, then bits 6-0 are set to 1. In thermal
closed loop, the FSC register is READ ONLY.
The fan gain (FG) register (Table 8) determines the
number of bits used in the fan-speed control register.
This gain can be set to 4, 5, or 6. If bits 6 and 5 are set
to 10, all 6 bits of TEMPDATA are used directly to program the speed of the fan so that the thermal loop has
a control range of 32°C with 64 temperature steps from
fan off to full fan speed. If bits 6 and 5 are set to 01, the
thermal control loop has a control range of 16°C with 32
temperature steps from fan off to full fan speed. If bits 6
and 5 are set to 00, the thermal control loop has a control range of 8°C with 16 temperature steps from fan off
to full fan speed.
Thermal Open Loop
Setting bit 3 of the configuration register (Table 4) to 1
places the MAX6661 in thermal open loop. In thermal
open-loop mode, the FSC register is read/write.
______________________________________________________________________________________
13
MAX6661
on the amount of time between status read operations.
In these circumstances, it is best not to rely on the status bits to indicate reversals in long-term temperature
changes. Instead, use a current temperature reading to
establish the trend direction.
MAX6661
Remote Temperature-Controlled Fan-Speed
Regulator with SPI-Compatible Interface
Table 6. Fan Conversion Update Rate
REMOTE
SENSOR
TEMPERATURE
CONVERTER
TEMP DATA
UPDATE
FAN
CONVERSION
RATE
FCR
0.25s TO 16s
FAN
THRESHOLD
TEMPERATURE
(TFAN)
FAN-SPEED
CONTROL
(FSC)
Figure 6. MAX6661 Thermal Loop
In thermal open-loop mode, the fan loop can operate in
open or closed mode. In fan open loop, the FSC register programs fan voltage directly, accepting values
from 0 to 64 (40h). For example, in fan open-loop
mode, zero corresponds to no voltage across the fan
and 40h corresponds to full fan voltage. Proportional
control is available over the 0 to 63 (3Fh) range with 64
(40h) forcing unconditional full speed.
In fan closed-loop mode, zero corresponds to zero fan
speed. When the FG register is set to 4 bits, 10h corresponds to 100% fan speed; 100% fan speed is 20h at 5
bits, and 3Fh at 6 bits.
Fan Loop
The fan loop (Figure 7) is based on an up/down counter
where a reference clock representing the desired fan
speed drives the count up, while tachometer pulses
drive it down. The reference clock frequency is divided
down from the MAX6661 internal clock to a frequency
of 8415Hz. This clock frequency is further divided by
14
BINARY
FAN UPDATE
RATE (Hz)
SECONDS
BETWEEN
UPDATES
00h
00000000
0.0625
16
01h
00000001
0.125
8
02h
00000010
0.25
4 (POR)
03h
00000011
0.5
2
04h
00000100
1
1
05h
00000101
2
0.5
06h
00000110
4
0.25
the fan full-scale (FS) register (Table 9), which is limited
to values between 127 to 255, for a range of reference
clock full-scale frequencies from 33Hz to 66Hz. A further division is performed to set the actual desired fan
speed. This value appears in the fan-speed control register in thermal closed-loop mode. If the thermal loop is
open, but the fan-speed control loop is closed, this
value is programmable in the FSC. When in fan openloop mode (which forces the thermal loop to open), the
FSC register becomes a true DAC, programming the
voltage across the fan from zero to nearly VFAN. The
tachometer input (TACH IN) includes a programmable
(1/2/4/8) prescaler. The divider ratio for the (1/2/4/8)
prescaler is stored in the fan tachometer divisor (FTD)
register (Table 10). In general, the values in FTD should
be set such that the full-speed fan frequency divided
by the prescaler fall in the 33Hz to 66Hz range.
UPDATE
TACH IN
DATA
The UP/DN counter has six stages that form the input of
a 6-bit resistive ladder DAC whose voltage is divided
down from V FAN . This DAC determines the voltage
applied to the fan. Internal coding is structured such
that when in fan closed-loop mode (which includes
thermal closed loop), higher values in the 0 to 32 range
correspond to higher fan speeds and greater voltage
across the fan. In fan open-loop mode (which forces
thermal open loop), acceptable values range from 0 to
63 (3Fh) for proportional control; a value of 64 (40h)
commands unconditional full speed.
Fan closed-loop mode is selected by setting bit 0 of the
FG to zero; open-loop mode is selected by setting bit 0
to 1. In open-loop mode, the gain block is bypassed
and the FSC register is used to program the fan voltage
rather than the fan speed. When in fan open-loop
mode, both the temperature feedback loop and fanspeed control loop are broken, which result in the
TACH IN input becoming disabled. A direct voltage
can be applied to the fan after reading the temperature,
______________________________________________________________________________________
Remote Temperature-Controlled Fan-Speed
Regulator with SPI-Compatible Interface
MAX6661
Table 7. Fan Speed Control Register (RFSC/WFSC)
REGISTER/ADDRESS
FSC (ABH = READ, B4H = WRITE)
COMMAND
READ/WRITE FAN DAC REGISTER
7
Not Used
Label
POR State
0
6
Overflow Bit
5
(MSB)
4
Data
3
Data
2
Data
1
Data
0
Data
0
0
0
0
0
0
0
Table 8. Fan Gain Register (RFG/WFG)
REGISTER/ADDRESS
FG (ADH = READ, B6H = WRITE)
COMMAND
READ/WRITE FAN GAIN REGISTER
7
Always
Write
a1
Label
POR State
1
6
Fan
Gain
0
5
Fan Gain
4
Always
Write
a0
3
Always
Write
a0
2
Always
Write
a0
1
Fan
Driver
Mode Bit
0
Fan
Feedback
Mode
0
0
0
0
0
0
Notes: Bit 0: Fan driver mode. When bit 0 is set to 1, the fan driver is in fan open-loop mode. In this mode, the fan DAC programs the
fan voltage rather than the fan speed. Tachometer feedback is ignored, and the user must consider minimum fan drive and startup
issues. Thermal open loop is automatically set to 1 (see configuration register). Fan Fail (bit 0 of the status register) is set to 1 in this
mode and should be ignored.
Bit 1: Fan feedback mode. When bit 1 is set to 1, the fan loop uses driver current sense rather than tachometer feedback.
Bits 6, 5: Fan gain of the fan loop, where 00 = 8°C with resolution = 4 bits. This means that the fan reaches its full-scale (maximum)
speed when there is an 8°C difference between the remote-diode temperature and the value stored in TFAN, 01 = +16°C, with a 5-bit
resolution and 10 = +32°C with a 6-bit resolution.
Bit 7: Writing a zero to bit 7 forces bits 6 and 5 to their POR values.
Table 9. Fan Full-Scale Register (RFS/WFS)
REGISTER/ADDRESS
FS (BFH = READ, C0H = WRITE)
COMMAND
READ/WRITE MAXIMUM TEMPERATURE LIMIT BYTE
Label
7
MSB
6
Data Bit
5
Data Bit
4
Data Bit
3
Data Bit
2
Data Bit
1
Data Bit
0
Data Bit
POR State
1
1
1
1
1
1
1
1
Note: This register determines the maximum reference frequency at the input of the up/down counter. It controls a programmable
divider that can be set anywhere between 127 and 255. The value in this register must be set in accordance with the procedure
described in the TACH IN section (equivalent 8415/(Max Tachometer Frequency ✕ Fan Tachometer Divisor)). Programmed value
below 127 defaults to 127. POR value is 255.
Table 10. Fan Tachometer Divisor Register (RFTD/WFTD)
REGISTER/ADDRESS
FTD (BBH = READ, BCH = WRITE)
COMMAND
READ LIMIT/FAILURE REGISTER
Label
POR State
7
Not Used
0
6
Not Used
5
Not Used
4
Not Used
3
Not Used
2
Not Used
0
0
0
0
0
1
Divisor
Bit 1
0
0
Divisor
Bit 0
1
Note: This byte sets the prescalar division ratio for tachometer or current-sense feedback. (This register does not apply to the tach
signal used in the fan-speed register.) Select this value such that the fan frequency (rpm / 60s x number of poles) divided by the
FCD falls in the 33Hz to 66Hz range. See TACH IN section:
Bits 1, 0: 00 = divide by 1, 01 = divide by 2, 10 = divide by 4, 11 = divide by 8.
______________________________________________________________________________________
15
MAX6661
Remote Temperature-Controlled Fan-Speed
Regulator with SPI-Compatible Interface
using the FSC register. By selecting fan open-loop
mode, the MAX6661 automatically invokes thermal
open-loop mode.
value in FTPL, a failure is indicated. In fan closed loop,
a flag is activated when the fan is at full speed.
Set the fan tachometer period limit byte to:
Fan Conversion Rate Register
fTACH = 8415 / [N ✕ f]
where N = fan-fail ratio and fTACH = maximum frequency of the fan tachometer. The factor N is less than 1
and produces a fan-failure indication when the fan
should be running at full speed, but is only reaching a
factor of N of its expected frequency. The factor N is
typically set to 0.75 for all fan speeds except at very
low speeds where a fan failure is indicated by an overflow of the fan-speed counter. The overflow flag cannot
be viewed separately in the status byte but is ORed
with bit 0, the fan-fail bit.
The FCR register (Table 6) programs the fan’s update
time interval in free-running autonomous mode
(RUN/STOP = 0). The conversion rate byte’s POR state
is 02h (0.25Hz). The MAX6661 uses only the 3LSBs of
this register. The 5MSBs are don’t cares. The update
rate tolerance is ±25% (max) at any rate setting.
Fan Driver
The fan driver consists of an amplifier and low-side
NMOS power device whose drain is connected to FAN
and is the connection for the low side of the fan. There
is an internal connection from the fan to the input of the
amplifier. The FET has 4Ω on-resistance with 320mA
(typ) current limit. The driver has a thermal shutdown
sensor that senses the driver’s temperature. It shuts
down the driver if the temperature exceeds +150°C.
The driver is reactivated once the temperature has
dropped below +140°C.
TACH IN
The TACH IN input connects directly to the tachometer
output of a fan. Most commercially available fans have
two tachometer pulses per revolution. The tachometer
input is fully compatible with tachometer signals, which
are pulled up to VFAN.
Commutating Current Pulses
When a fan does not come equipped with a tachometer
output, the MAX6661 uses commutating generated current pulses for speed detection. This mode is entered
by setting the FG register’s bit 1 to 1. An internal pulse
is generated whenever a step increase occurs in the
fan current. Connecting an external resistor between
the GAIN pin and VCC can reduce the sensitivity of
pulses to changes in fan current. In general, the lower
the resistor value, the lower the sensitivity, and the fan
is easier to turn ON and can use a smaller external
capacitor across its terminals. A suitable resistor range
is 1kΩ to 5kΩ.
Fan-Failure Detection
The MAX6661 detects fan failure by comparing the
value in the fan tachometer period (FTP) register, a
READ ONLY register, with a limit stored in the fan
tachometer period limit (FTPL) register (Table 11). A
counter counts the number of on-chip oscillator pulses
between successive tachometer pulses and loads its
value into the FTP register every time a tachometer
pulse arrives. If the value in FTP is greater than the
16
Applications Information
Mode Register
Resistance in series with the remote-sensing junction
causes conversion errors on the order of 0.5°C per
ohm.
The MAX6661 mode register gives the ability to eliminate the effects of external series resistance of up to
several hundred ohms on the remote temperature measurement and to adjust the temperature-measuring
ADC to suit different types of remote-diode sensor. For
systems using external switches or long cables to connect to the remote sensor, a parasitic resistance cancellation mode can be entered by setting mode register
bit 7 = 1. This mode requires a longer conversion time
and so can only be used for fan conversion rates of
1Hz or slower. Bits 6, 1, and 0 of the mode register are
not used. Use bits 5–2 to adjust the ADC gain to
achieve accurate temperature measurements with
diodes not included in the recommended list or to individually calibrate the MAX6661 for use in specific control systems. These bits adjust gain to set the
temperature reading at +25°C, using two’s complement
format reading. Bit 5 is the sign (1 = increase, 0 =
decrease), bit 4 = 2°C shift, bit 3 = 1°C shift, bit 2 =
1/2°C shift. Origin of gain curve is referred to 0°K. To
use this feature, the sensor must be calibrated by the
user.
General Programming Techniques
The full-scale range of the fan-regulation loop is
designed to accommodate fans operating between the
1000rpm to 8000rpm range of different fans. An onchip 8415Hz oscillator is used to generate the 33Hz to
66Hz reference frequency. Choose the FTD value such
that the fan full-speed frequency divided by this value
falls in the 33Hz to 66Hz range. The full-scale reference
frequency is further divided by the value in the FSC
______________________________________________________________________________________
Remote Temperature-Controlled Fan-Speed
Regulator with SPI-Compatible Interface
MAX6661
TEMP DATA
REF FREQ
8415Hz
TACH IN
FAN GAIN (FG)
8°C, 16°C, 32°C
RANGE
FAN
TACHOMETER
PERIOD (FTP)
FAN
TACHOMETER
PERIOD LIMIT (FTPL)
FAN-SPEED
CONTROL
1 TO 63
COUNTER
COMPARATOR
FAN FULL
SCALE (FS)
127 TO 255
FAN TACHOMETER
DIVISOR (FTD)
1, 2, 4, 8
FAN OPEN/CLOSED
LOOP
FAN FAIL
UP/DOWN
VFAN
TACH
FAN
DAC
DRIVER
N
Figure 7. MAX6661 Fan Loop Functional Diagram
Table 11. Fan Tachometer Period Limit (RFTCL/WWFTCL)
REGISTER/ADDRESS
FL (B1H = READ, B8H = WRITE)
COMMAND
Label
POR State
READ LIMIT/FAILURE REGISTER
7
(MSB)
1
6
Data Bit
5
Data Bit
4
Data Bit
3
Data Bit
2
Data Bit
1
Data Bit
0
Data Bit
1
1
1
1
1
1
1
Note: The fan tachometer period limit register is programmed with the maximum speed that is compared against the value in the FS
register to produce an error output to the status register.
register to the desired fan frequency [read: speed]. The
8415Hz is divided down from the MAX6661 internal
clock, and has a ±25°C tolerance.
1) Determine the fan’s maximum tachometer frequency:
f(TACH) Hz = (rpm/60s / min) ✕ number of poles
Where poles = number of pulses per revolution.
Most fans are two poles; therefore, they have two
pulses per revolution.
2) Set the programmable FTD so that the frequency of
the fan tachometer divided by the prescaler value in
the FCD register falls in the 33Hz to 66Hz range.
3) Determine the value required for the fan FS register:
FS = 8415 / (fTACH ✕ P)
Where P is the prescaler division ratio of the FCD
register.
Example: Fan A has a 2500rpm rating and 2 poles:
fTACH = 2500 / 60 ✕ 2 = 83.4Hz
______________________________________________________________________________________
17
MAX6661
Remote Temperature-Controlled Fan-Speed
Regulator with SPI-Compatible Interface
The 83.4Hz value is out of the 33Hz to 66Hz decrement/increment range.
Set bits in the FTD register to divide the signal down
within the 33Hz to 66Hz range. Bits 1, 0 = 10 (divide
by 2: P = 2). The result is 83.4Hz/2 = 41.7Hz.
4) Set the FS register to yield approximately 42Hz:
42Hz = 8415Hz / FS (value)
FS (value) ≈ 200
FS register = 11001000
5) In current-sense feedback, a pulse is generated
whenever there is a step increase in fan current. The
frequency of pulses is then not only determined by
the fan rpms and the number of poles, but also by
the update rate at which the fan driver forces an
increase in voltage across the fan.
The maximum pulse frequency is then given by:
fC Hz = fTACH ✕ P / (P-1)
Where f = (rpm/60) ✕ poles and P is the value in
FTD.
The value required for the fan FS register is:
FS = 8415Hz / (fTACH / (P-1))
The fan speed limit in FTPL should be set to:
fL = 8415Hz / (N ✕ fTACH)
A value of P = 1 cannot be used in current-sense
mode.
Fan Selection
For closed-loop operation and fan monitoring, the
MAX6661 requires fans with tachometer outputs. A
tachometer output is typically specified as an option on
many fan models from a variety of manufacturers. Verify
the nature of the tachometer output (open collector,
totem pole) and the resultant levels and configure the
connection to the MAX6661. For a fan with an opendrain/collector output, a pullup resistor of typically 5kΩ
must be connected between TACH IN and VFAN. Note
how many pulses per revolution are generated by the
tachometer output (this varies from model to model and
among manufacturers, though two pulses per revolution are the most common). Table 12 lists the representative fan manufacturers and the model they make
available with tachometer outputs.
Table 12. Fan Manufacturers
MANUFACTURER
FAN MODEL OPTION
Comair Roton
All DC brushless models can be
ordered with optional tachometer
output.
EBM-Papst
Tachometer output optional on
some models.
JMC
Tachometer output optional.
NMB
All DC brushless models can be
ordered with optional tachometer
output.
Panasonic
Panaflo and flat unidirectional
miniature fans can be ordered
with tachometer output.
Sunon
Tachometer output optional on
some models.
electronics. If the voltage supplied to the fan is lowered
too far, the internal electronics may no longer function
properly. Some of the following symptoms are possible:
• The fan may stop spinning.
• The tachometer output may stop generating a signal.
• The tachometer output may generate more than two
pulses per revolution.
The problems that occur and the supply voltages at
which they occur depend on which fan is used. As a
rule of thumb, 12V fans can be expected to experience
problems somewhere around 1/4 and 1/2 their rated
speed.
Chip Information
TRANSISTOR COUNT: 6479
PROCESS: BiCMOS
Low-Speed Operation
Brushless DC fans increase reliability by replacing
mechanical commutation with electronic commutation.
By lowering the voltage across the fan to reduce its
speed, the MAX6661 is also lowering the supply voltage for the electronic commutation and tachometer
18
______________________________________________________________________________________
Remote Temperature-Controlled Fan-Speed
Regulator with SPI-Compatible Interface
TOP VIEW
16 TACH IN
VFAN 1
VCC 2
15 SDIN
DXP 3
14 SCL
DXN 4
MAX6661
13 GAIN
FAN 5
12 DOUT
N.C. 6
11 ALERT
PGND 7
10 CS
AGND 8
9
OVERT
QSOP
QSOP.EPS
Package Information
Maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim product. No circuit patent licenses are
implied. Maxim reserves the right to change the circuitry and specifications without notice at any time.
Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600 ____________________ 19
© 2002 Maxim Integrated Products
Printed USA
is a registered trademark of Maxim Integrated Products.
MAX6661
Pin Configuration