ADM1031
http://onsemi.com
22
display the correct fan speed, and also to program the correct
count value in RPM feedback mode.
Fan Speed Measurement Equations
For a 4-pole fan (2 tach pulses/rev):
(eq. 14)
Fan RPM + (f 60)ńCount N
For a 6-pole fan (3 tach pulses/rev):
(eq. 15)
Fan RPM + (f 60)ń(Count N 1.5)
For an 8-pole fan (4 tach pulses/rev):
(eq. 16)
Fan RPM + (f 60)ń(Count N 2)
If in doubt as to the number of poles the fans used have,
or the number of tach output pulses/rev, consult the fan
manufacturers data sheet, or contact the fan vendor for
more information.
Fan Drive Using PWM Control
The external circuitry required to drive a fan using PWM
control is extremely simple. A single NMOS FET is the only
drive transistor required. The specifications of the MOSFET
depend on the maximum current required by the fan being
driven. Typical notebook fans draw a nominal 170 mA, and
so SOT devices can be used where board space is a
constraint. If driving several fans in parallel from a single
PWM output, or driving larger server fans, the MOSFET
needs to handle the higher current requirements. The only
other stipulation is that the MOSFET should have a gate
voltage drive, V
GS
< 3.3 V, for direct interfacing to the
PWM_OUT pin. The MOSFET should also have a low
on-resistance to ensure that there is not significant voltage
drop across the FET. This would reduce the maximum
operating speed of the fan.
Figure 34 shows how a 3-wire fan can be driven using
PWM control.
Figure 34. Interfacing the ADM1031 to a 3-wire Fan
ADM1031
5 V OR 12 V
FAN
10 kW
TYPICAL
TACH/AIN
TACH
3.3 V
PWM_OUT
10 kW
TYPICAL
3.3 V
+V
Q1
NDT3055L
The NDT3055L n-type MOSFET was chosen since it has
3.3 V gate drive, low on-resistance, and can handle 3.5 A of
current. Other MOSFETs can be substituted based on the
system’s fan drive requirements.
Figure 35 shows how a 2-wire fan can be connected to the
ADM1031. This circuit allows the speed of the 2-wire fan to
be measured even though the fan has no dedicated Tach
signal. A series R
SENSE
resistor in the fan circuit converts
the fan commutation pulses into a voltage. This is accoupled
into the ADM1031 through the 0.01 mF capacitor. On-chip
signal conditioning allows accurate monitoring of fan speed.
For typical notebook fans drawing approximately 170 mA,
a 2 W R
SENSE
value is suitable. For fans such as desktop or
server fans that draw more current, R
SENSE
can be reduced.
The smaller R
SENSE
is, the better, since more voltage is
developed across the fan, and the fan then spins faster.
Figure 35. Interfacing the ADM1031 to a 2-wire Fan
5 V OR 12 V
FAN
TACH/AIN
TACH
PWM_OUT
10 kW
TYPICAL
3.3 V
+V
Q1
NDT3055L
0.01 mF
R
SENSE
2 W TYPICAL
ADM1031
Figure 36 shows a typical plot of the sensing waveform at
the TACH/AIN pin. The most important thing is that the
negative-going spikes are more than 250 mV in amplitude.
This is the case for most fans when R
SENSE
=2W. The value
of R
SENSE
can be reduced as long as the voltage spikes at the
TACH/AIN pin are greater than 250 mV. This allows fan
speed to be reliably determined.
CH1 100mV
CH3 50.0mV
CH2 5.00mV
CH4 50.0mV
M 4.00ms A CH1 –2.00mV
CH1
1
4
T
T
Tek PreVu
D: 250m
@: –258
Figure 36. Fan Speed Sensing Waveform at
TACH/AIN Pin
Fan Speed Measurement
The fan counter does not count the fan tach output pulses
directly, because the fan speed can be less than 1000 RPM
and it would take several seconds to accumulate a
reasonably large and accurate count. Instead, the period of
the fan revolution is measured by gating an on-chip
11.25 kHz oscillator into the input of an 8-bit counter. The
fan speed measuring circuit is initialized on the rising edge
ADM1031
http://onsemi.com
23
of a PWM high output if fan speed measurement is enabled
(Bit 2 and Bit 3 of Configuration Register 2 = 1). It then
starts counting on the rising edge of the second tach pulse
and counts for two fan tach periods, until the rising edge of
the fourth tach pulse, or until the counter overranges if the
fan tach period is too long. The measurement cycle repeats
until monitoring is disabled. The fan speed measurement is
stored in the fan speed reading register at address 008,
009. The fan speed count is given by:
(eq. 17)
Count + (f 60)ńR N
where:
f = 11.25 kHz
R = Fan Speed in RPM
N = Speed Range (either 1, 2, 4, or 8)
The frequency of the oscillator can be adjusted to suit the
expected running speed of the fan by varying N, the speed
range. The oscillator frequency is set by Bit 7 and Bit 6 of
Fan Characteristics Register 1 (020) and Fan
Characteristics Register 2 (021) as shown in Table 15.
Figure 37 shows how the fan measurements relate to the
PWM_OUT pulse trains.
Table 15. OSCILLATOR FREQUENCIES
Bit 7 Bit 6 N Oscillator Frequency (kHz)
0 0 1 11.25
0 1 2 5.625
1 0 4 2.812
1 1 8 1.406
Figure 37. Fan Speed Measurement
CLOCK
CONFIG 2
REG. BIT 2
FAN
INPUT
START OF
MONITORING
CYCLE
FAN
MEASUREMENT
PERIOD
In situations where different output drive circuits are used
for fan drive, it can be desirable to invert the PWM drive
signal. Setting Bit 3 of Configuration Register 1 (000) to 1,
inverts the PWM_OUT signal. This makes the PWM_OUT
pin high for 100% duty cycle. Bit 3 of Configuration
Register 1 should generally be set to 1 when using an n-MOS
device to drive the fan.
If using a p-MOS device, Bit 3 of Configuration
Register 1 should be cleared to 0.
FAN_FAULTs
The FAN_FAULT output (Pin 8) is an active-low,
open-drain output used to signal fan failure to the system
processor. Writing a Logic 1 to Bit 4 of Configuration
Register 1 (000) enables the FAN_FAULT
output pin. The
FAN_FAULT
output is enabled by default. The
FAN_FAULT
output asserts low only when five consecutive
interrupts are generated by the ADM1031 device due to the
fan running underspeed, or if the fan is completely stalled.
Note that the Fan Tach High Limit must be exceeded by at
least one before a FAN_FAULT
can be generated. For
example, if we are only interested in getting a FAN_FAULT
if the fan stalls, then the fan speed value is 0FF for a failed
fan. Therefore, we should make the Fan Tach High
Limit = 0FE to allow FAN_FAULT
to be asserted after five
consecutive fan tach failures.
Figure 38 shows the relationship between INT
,
FAN_FAULT
, and the PWM drive channel. The
PWM_OUT channel is driving a fan at some PWM duty
cycle, 50% for example, and the fan’s tach signal (or fan
current for a 2-wire fan) is being monitored at the
TACH/AIN pin. Tach pulses are being generated by the fan,
during the high time of the PWM duty cycle train. The tach
is pulled high during the off time of the PWM train because
the fan is connected high-side to the n-MOS device.
Suppose the fan has twice previously failed its fan speed
measurement. Looking at Figure 38, PWM_OUT is brought
high for two seconds, to restart the fan if it has stalled.
Sometime later a third tach failure occurs. This is evident by
the tach signal being low during the high time of the PWM
pulse, causing the fan speed reading register to reach its
maximum count of 255. Since the tach limit has been
exceeded, an interrupt is generated on the INT
pin. The fan
fault bit (Bit 1) of Interrupt Status Register 1
(Register 002) is also asserted. Once the processor has
acknowledged the INT
by reading the status register, the
INT
is cleared. PWM_OUT is then brought high for another
two seconds to restart the fan. Subsequent fan failures cause
INT
to be reasserted and the PWM_OUT signal is brought
high for two seconds (fan spin-up default) each time to
restart the fan. Once the fifth tach failure occurs, the failure
is deemed to be catastrophic and the FAN_FAULT
pin is
asserted low. PWM_OUT is brought high to attempt to
restart the fan. The INT
pin continues to generate interrupts
after the assertion of FAN_FAULT
since tach measurement
continues even after fan failure. Should the fan recover from
its failure condition, the FAN_FAULT
signal is negated, and
the fan returns to its normal operating speed.
Figure 39 shows a typical application circuit for the
ADM1031. Temperature monitoring can be based around a
CPU diode or discrete transistor measuring thermal
hotspots. Either 2- or 3-wire fans can be monitored by the
ADM1031, as shown.
ADM1031
http://onsemi.com
24
Figure 38. Operation of FAN_FAULT and Interrupt Pins
PWM_OUT
TACH/AIN
INT
FAN_FAULT
STATUS REG READ TO
CLEAR INTERRUPT
FULL SPEED
2 SECS
2 SECS
2 SECS
3RD TACH
FAILURE
4TH TACH
FAILURE
5TH TACH
FAILURE
CONTINUING
TACH FAILURE
Figure 39. Typical Application Circuit
SDA
SCL
GND
V
CC
1
2
3
4
16
15
14
13
ADM1031
5
12
6
7
8
9
10
11
INT (SMBALERT)
TACH1/AIN1
D1+
D1–/NTI
ADD
THERM
FAN_FAULT
PWM_OUT2
TACH2/AIN2
FAN_FAULT
TO SIGNAL
FAN FAILURE
CONDITION
CPU INTERRUPT
SDA
SCL
2N3904 OR PENTIUM III
CPU THERMAL DIODE
3.3 V
3.3 V
5.0 V
TACH
FAN1
1
3WIRE
FAN
PWM_OUT1
D2+
D2–
NDT3055L
(NMOS)
10 kV
TYP
3.3 V
10 kV
TYP
3.3 V
10 kV
TYP
2.2 kV
3.3 V
2.2 kV
3.3 V
10 kV
TYP
3.3 V
10 kV
TYP
3.3 V
5.0 V
FAN2
NDT3055L
(NMOS)
R
SENSE
0.01mF
2N3904 OR PENTIUM III
CPU THERMAL DIODE
1
IN ACTUAL APPLICATION, BOTH FANS MUST BE 2WIRE OR 3WIRE TYPE. A SINGLE BIT
CONTROLS WHETHER TACH1/AIN1 AND TACH2/AIN2 ARE ANALOG OR DIGITAL INPUTS.
5.0 V MAX
(DO NOT CONNECT
TO 12 V)
2WIRE
FAN
THERM
SIGNAL TO
THROTTLE
CPU CLOCK
10 kV
TYP

ADM1031ARQZ-REEL

Mfr. #:
Manufacturer:
ON Semiconductor
Description:
IC SENSOR 2TEMP/FAN CTRL 16QSOP
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union