MAX6641
SMBus-Compatible Temperature Monitor with
Automatic PWM Fan-Speed Controller
______________________________________________________________________________________ 13
The frequency-select register controls the frequency of
the PWM signal. When the PWM signal modulates the
power supply of the fan, a low PWM frequency (usually
33Hz) should be used to ensure the circuitry of the
brushless DC motor has enough time to operate. When
driving a fan with a PWM-to-DC circuit, as in Figure 6,
the highest available frequency (35kHz) should be
used to minimize the size of the filter capacitors. When
using a fan with a PWM control input, the frequency
should normally be high as well, although some fans
have PWM inputs that accept low-frequency drive.
The duty cycle of the PWM can be controlled in two ways:
1) Manual PWM control by setting the duty cycle of
the fan directly through the fan-target duty-cycle
register (09h).
2) Automatic PWM control by setting the duty cycle
based on temperature.
Manual PWM Duty-Cycle Control
Setting bits D5 and D4 to zero in the fan-configuration
register (0Dh) enables manual PWMOUT control. In this
mode, the duty cycle written to the fan-target duty-
cycle register controls the PWMOUT duty cycle. The
value is clipped to a maximum of 240, which corre-
sponds to a 100% duty cycle. Any value above that is
limited to the maximum duty cycle. In manual control
mode, the value of the maximum duty-cycle register is
ignored and does not affect the duty cycle.
Automatic PWM Duty-Cycle Control
In the automatic control mode, the duty cycle is con-
trolled by the local or remote temperature, according to
the settings in the control registers. Below the value of
the fan-start temperature threshold (set by registers 03h
and 04h), the duty cycle is equal to the fan-start duty
cycle. Above the fan-start temperature, the duty cycle
increases by one duty-cycle step each time the tempera-
ture increases by one temperature step. Below the fan-
start temperature, the duty cycle is either 0% or it is
equal to the fan-start duty cycle, depending on the value
of bit D3 in the configuration byte register. See Figure 8.
The target duty cycle is calculated based on the follow-
ing formula:
For temperature > fan-start temperature:
where:
DC = DutyCycle
FSDC = FanStartDutyCycle
T = Temperature
FST = FanStartTemperature
DCSS = DutyCycleStepSize
TS = TempStep
Duty cycle is recalculated after each temperature con-
version if temperature is increasing. If the temperature
begins to decrease, the duty cycle is not recalculated
until the temperature drops by 5°C from the last peak
temperature. The duty cycle remains the same until the
temperature drops 5°C from the last peak temperature
or the temperature rises above the last peak tempera-
ture. For example, if temperature goes up to +85°C and
starts decreasing, duty cycle is not recalculated until
the temperature reaches +80°C or the temperature
rises above +85°C. If temperature decreases further,
the duty cycle is not updated until it reaches +75°C.
For temperature < fan-start temperature and bit D3 of
the configuration byte register = 0:
DutyCycle = 0
For temperature < fan-start temperature and bit D3 of
the configuration byte register = 1:
Dutycycle = FanStartDutyCycle
Once the temperature crosses the fan-start tempera-
ture threshold, the temperature has to drop below the
fan-start temperature threshold minus the hysteresis
before the duty cycle returns to either 0% or fan-start
duty cycle. The value of the hysteresis is set by D7 of
the fan-configuration register.
DC FSDC T FST
DCSS
TS
=+ × ( ) -
FAN START
DUTY CYCLE
TEMPERATURE
DUTY CYCLE
REGISTER 02H,
BIT D3 = 1
DUTY CYCLE
STEP SIZE
FAN START
TEMPERATURE
TEMP
STEP
REGISTER 02H,
BIT D3 = 0
Figure 8. Automatic PWM Duty Control
MAX6641
SMBus-Compatible Temperature Monitor with
Automatic PWM Fan-Speed Controller
14 ______________________________________________________________________________________
The duty cycle is limited to the value in the fan maxi-
mum duty-cycle register. If the duty-cycle value is larg-
er than the maximum fan duty cycle, it can be set to the
maximum fan duty cycle as in the fan maximum duty-
cycle register. The temp step is bit D6 of the fan-config-
uration register (0Dh).
If duty cycle is an odd number, the MAX6641 automati-
cally rounds down to the nearest even number.
Duty-Cycle Rate-of-Change Control
To reduce the audibility of changes in fan speed, the
rate of change of the duty cycle is limited by the values
set in the duty-cycle rate-of-change register. Whenever
the target duty cycle is different from the instantaneous
duty cycle, the duty cycle increases or decreases at
the rate determined by the duty-cycle rate-of-change
byte until it reaches the target duty cycle. By setting the
rate of change to the appropriate value, the thermal
requirements of the system can be balanced against
good acoustic performance. Slower rates of change
are less noticeable to the user, while faster rates of
change can help minimize temperature variations.
Remember that the fan controller is part of a complex
control system. Because several of the parameters are
generally not known, some experimentation may be
necessary to arrive at the best settings.
Power-Up Defaults
At power-up, the MAX6641 has the default settings
indicated in Table 1. Some of these settings are sum-
marized below:
Temperature conversions are active.
Remote OT limit = +110°C.
Local OT limit = +80°C.
Manual fan mode.
Fan duty cycle = 0.
PWM Invert bit = 0.
PWMOUT is high.
When using an nMOS or npn transistor, the fan starts at
full speed on power-up.
Applications Information
Remote-Diode Selection
The MAX6641 can directly measure the die tempera-
ture of CPUs and other ICs that have on-board temper-
ature-sensing diodes (see the Typical Application
Circuit), or they can measure the temperature of a dis-
crete diode-connected transistor.
Effect of Ideality Factor
The accuracy of the remote temperature measurements
depends on the ideality factor (n) of the remote diode
(actually a transistor). The MAX6641 is optimized for n =
1.008, which is the typical value for the Intel Pentium
®
III
and the AMD Athlon™ MP model 6. If a sense transistor
with a different ideality factor is used, the output data is
different. Fortunately, the difference is predictable.
Assume a remote-diode sensor designed for a nominal
ideality factor n
NOMINAL
is used to measure the tem-
perature of a diode with a different ideality factor, n
1
.
The measured temperature T
M
can be corrected using:
where temperature is measured in Kelvin.
As mentioned above, the nominal ideality factor of the
MAX6641 is 1.008. As an example, assume the MAX6641
is configured with a CPU that has an ideality factor of
1.002. If the diode has no series resistance, the mea-
sured data is related to the real temperature as follows:
For a real temperature of +85°C (358.15K), the mea-
sured temperature is +82.87°C (356.02K), which is an
error of -2.13°C.
Effect of Series Resistance
Series resistance in a sense diode contributes addition-
al errors. For nominal diode currents of 10µA and
100µA, change in the measured voltage is:
V
M
= R
S
(100µA - 10µA) = 90µA x R
S
Since 1°C corresponds to 198.6µV, series resistance
contributes a temperature offset of:
Assume that the diode being measured has a series
resistance of 3. The series resistance contributes an
offset of:
:
30453 1 36Ω×
°
=+ °..
C
C
90
198 6
0 453
µ
µ
°
=
°
V
V
C
C
.
.
TT
n
n
TT
ACTUAL M M M
NOMINAL
=
==
()
1
1 008
1 002
1 00599
.
.
.
TT
n
n
M ACTUAL
NOMINAL
=
1
Pentium is a registered trademark of Intel Corp.
Athlon is a trademark of AMD.
MAX6641
SMBus-Compatible Temperature Monitor with
Automatic PWM Fan-Speed Controller
______________________________________________________________________________________ 15
The effects of the ideality factor and series resistance
are additive. If the diode has an ideality factor of 1.002
and series resistance of 3, the total offset can be cal-
culated by adding error due to series resistance with
error due to ideality factor:
1.36°C - 2.13°C = -0.1477°C
for a diode temperature of +85°C.
In this example, the effect of the series resistance and
the ideality factor partially cancel each other.
For best accuracy, the discrete transistor should be a
small-signal device with its collector connected to GND
and base connected to DXN. Table 6 lists examples of
discrete transistors that are appropriate for use with
the MAX6641.
The transistor must be a small-signal type with a rela-
tively high forward voltage; otherwise, the A/D input
voltage range can be violated. The forward voltage at
the highest expected temperature must be greater than
0.25V at 10µA, and at the lowest expected tempera-
ture, the forward voltage must be less than 0.95V at
100µA. Large power transistors must not be used. Also,
ensure that the base resistance is less than 100. Tight
specifications for forward-current gain (50 < ß <150, for
example) indicate that the manufacturer has good
process controls and that the devices have consistent
VBE characteristics.
ADC Noise Filtering
The integrating ADC used has good noise rejection for
low-frequency signals such as 60Hz/120Hz power-sup-
ply hum. In noisy environments, high-frequency noise
reduction is needed for high-accuracy remote measure-
ments. The noise can be reduced with careful PC board
layout and proper external noise filtering.
High-frequency EMI is best filtered at DXP and DXN with
an external 2200pF capacitor. Larger capacitor values
can be used for added filtering, but do not exceed
3300pF because larger values can introduce errors due
to the rise time of the switched current source.
PC Board Layout
Follow these guidelines to reduce the measurement
error of the temperature sensors:
1) Place the MAX6641 as close as is practical to the
remote diode. In noisy environments, such as a
computer motherboard, this distance can be 4in to
8in typically. This length can be increased if the
worst noise sources are avoided. Noise sources
include CRTs, clock generators, memory buses,
and ISA/PCI buses.
2) Do not route the DXP-DXN lines next to the deflec-
tion coils of a CRT. Also, do not route the traces
across fast digital signals, which can easily intro-
duce 30°C error, even with good filtering.
3) Route the DXP and DXN traces in parallel and in
close proximity to each other, away from any higher
voltage traces, such as 12VDC. Leakage currents
from PC board contamination must be dealt with
carefully since a 20M leakage path from DXP to
ground causes about 1°C error. If high-voltage traces
are unavoidable, connect guard traces to GND on
either side of the DXP-DXN traces (Figure 9).
4) Route through as few vias and crossunders as pos-
sible to minimize copper/solder thermocouple
effects.
5) When introducing a thermocouple, make sure that
both the DXP and the DXN paths have matching
thermocouples. A copper-solder thermocouple
exhibits 3µV/°C, and takes about 200µV of voltage
error at DXP-DXN to cause a 1°C measurement
error. Adding a few thermocouples causes a negli-
gible error.
6) Use wide traces. Narrow traces are more inductive
and tend to pick up radiated noise. The 10-mil
widths and spacing recommended in Figure 9 are
not absolutely necessary, as they offer only a minor
improvement in leakage and noise over narrow
traces. Use wider traces when practical.
7) Add a 200 resistor in series with V
CC
for best
noise filtering (see the Typical Application Circuit).
8) Copper cannot be used as an EMI shield; only fer-
rous materials such as steel work well. Placing a
copper ground plane between the DXP-DXN traces
and traces carrying high-frequency noise signals
does not help reduce EMI.
MANUFACTURER MODEL NO.
Central Semiconductor (USA) CMPT3906
Rohm Semiconductor (USA) SST3906
Samsung (Korea) KST3906-TF
Siemens (Germany) SMBT3906
Table 6. Remote-Sensor Transistor
Manufacturers

MAX6641AUB94+T

Mfr. #:
Manufacturer:
Maxim Integrated
Description:
Board Mount Temperature Sensors SMBus-Compatible Temperature Monito
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union