The MAX6620 controls the speeds of up to four fans
using four independent linear voltage outputs. The
drive voltages for the fans are controlled directly over
the I
2
C interface. Each output drives the base of an
external bipolar transistor or the gate of a FET in highside drive configuration. Voltage feedback at the fan’s
power-supply terminal is used to force the correct output voltage.
The MAX6620 offers two methods for fan control. In
RPM mode, the MAX6620 monitors four fan tachometer
logic outputs for precise (±1%) control of fan RPM and
detection of fan failure. In DAC mode, each fan is driven with a voltage resolution of 9 bits and the tachometer outputs of the fans are monitored for failure.
The DAC_START input selects the fan power-supply
voltage at startup to ensure appropriate fan drive when
power is first applied. A watchdog feature turns the
fans fully on to protect the system if there are no valid
I
2
C communications within a preset timeout period.
The MAX6620 operates from a 3.0V to 5.5V power supply with low 250µA supply current, and the I
2
C-compatible interface makes it ideal for fan control in a wide
range of cooling applications. The MAX6620 is available in a 28-pin TQFN package and operates over the
-40°C to +125°C automotive temperature range.
Applications
Consumer Products
Servers
Communications Equipment
Storage Equipment
Features
♦ Controls Up to Four Independent Fans With
Linear (DC) Drive
♦ Uses Four External Low-Cost Pass Transistors
♦ 1% Accuracy Precision RPM Control
♦ Controlled Voltage Rate-Of-Change for Best
Acoustics
♦ I
2
C Bus Interface
♦ 3.0V to 5.5V Supply Voltage Range
♦ 250µA (typ) Operating Supply Current
♦ 3µA (typ) Shutdown Supply Current
♦ Small 5mm x 5mm Footprint
(TA= -40°C to +125°C, VCC= 3.0V to 5.5V, unless otherwise noted. Typical values are at TA= +25°C, VCC= 3.3V.) (Note 3)
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.
VCC to GND ..........................................................-0.3V to +6.0V
FAN_FAIL, SDA, SCL to GND ...............................-0.3V to +6.0V
ADDR, SPINUP_START, DAC_START, WD_START,
X1, X2 to GND ........................................-0.3V to (V
CC
+ 0.3V)
All Other Pins to GND..........................................-0.3V to +13.5V
Input Current at DACOUT_ Pins (Note 1) ...............+5mA/-50mA
Input Current at Any Pin (Note 1)..........................................5mA
ESD Protection (all pins, Human Body Model) (Note 2) ...±2000V
(TA= -40°C to +125°C, VCC= 3.0V to 5.5V, unless otherwise noted. Typical values are at TA= +25°C, VCC= 3.3V.) (Note 3)
Note 3: All parts will operate properly over the VCCsupply voltage range of 3.0V to 5.5V.
Note 4: Guaranteed by design and characterization.
Note 5: All timing specifications are guaranteed by design.
Note 6: A master device must provide a hold time of at least 300ns for the SDA signal to bridge the undefined region of SCL’s falling edge.
Note 7: C
B
= total capacitance of one bus line in pF. Tested with CB= 400pF.
Note 8: Input filters on SDA and SCL suppress noise spikes less than 50ns.
Note 9: Holding the SDA line low for a time greater than t
TIMEOUT
will cause the devices to reset SDA to the idle state of the serial
1SCLI2C Serial-Clock Input. Can be pulled up to 5.5V regardless of VCC. Open circuit when VCC = 0V.
2SDA
3WD_START
4, 10, 11, 18,
25
5ADDR
6DAC_START
7S P IN U P _S TART
8, 9X1, X2
12, 17, 19, 24
13, 16, 20, 23
14, 15, 21, 22 TACH4–TACH1 Fan Tachometer Logic Inputs. These inputs accept input voltages up to V
26FAN
27VCCPower-Supply Input. 3.3V nominal. Bypass VCC to GND with a 0.1µF capacitor.
28FAN_FAIL
—EP
GNDGround
DACOUT4–
DACOUT1
DACFB4–
DACFB1
Open-Drain, I
circuit when V
Startup Watchdog Set Input. This input is sampled when power is first applied and sets the initial
2
C watchdog behavior. When connected to GND, the watchdog function is disabled. When
I
connected to V
fan drive goes to 100%.
2
C Address Set Input. This input is sampled when power is first applied and sets the I2C slave
I
address. When connected to GND, the slave address will be 0x50. When unconnected, the slave
address will be 0x52. When connected to V
Startup Fan Drive DAC Set Input. This input is sampled when power is first applied and sets the
power-up value for the fan drive voltage. When connected to GND, the fan drive voltage will be
0%. When unconnected, the fan drive voltage will be 75%. When connected to V
voltage will be 100%.
Startup Spin-Up Set Input. This input is sampled when power is first applied and sets the initial
spin-up behavior. When connected to GND, spin-up is disabled. When connected to V
power-up, the fan is driven with a full-scale drive voltage until two tachometer pulses have been
detected, or 1s has elapsed. When unconnected, the fan is driven with a full-scale drive voltage
until two tachometer pulses have been detected, or 0.5s has elapsed. Spin-up behavior may be
modified by writing appropriate settings to the MAX6620’s registers.
Crystal Oscillator Inputs. Connections for a standard 32.768kHz quartz crystal. The internal
oscillator circuitry is designed for operation with a crystal having a specified load capacitance
(CL) of 12pF. Connect an external 32.768kHz oscillator across X1 and X2 for operation with the
external oscillator. If no crystal or external oscillator is connected, the MAX6620 will use its
internal oscillator.
Fan Drive DAC Outputs. Connect to the gate of a p-channel MOSFET or base of a PNP bipolar
transistor.
D AC Feed b ack Inp uts. C onnect a 0.1µF cap aci tor b etw een these p i ns and GN D . C onnect to the
sup p l y p i n of the fan and to the d r ai n of a p - channel M O S FE T or col l ector of a P N P b i p ol ar tr ansi stor .
Fan Power-Supply Voltage Input. Connect to the fan power supply (V
capacitor to GND.
Active-Low, Open-Drain Fan Failure Output. Active only when fault is present; open-circuit when
= 0V. This pin can be pulled up to 5.5V regardless of VCC.
V
CC
Exposed Paddle. Internally connected to GND. Connect to a large ground plane to maximize
thermal performance. Not intended as an electrical connection point.
2
C Serial-Data Input/Output. Can be pulled up to 5.5V regardless of VCC. Open
= 0V.
CC
, the MAX6620 monitors SDA. If 10s elapse without a valid I2C transaction, the
Slave Address: equivalent to chip-select line of
a 3-wire interface
Command Byte: selects which
register you are writing to
Data Byte: data goes into the register
set by the command byte (to set
thresholds, configuration masks, and
sampling rate)
Slave Address: equivalent to chip-select line
Command Byte: selects
which register you are
reading from
Slave Address: repeated
due to change in dataflow direction
Data Byte: reads from
the register set by the
command byte
Command Byte: sends command with no data, usually
used for one-shot command
Data Byte: reads data from
the register commanded
by the last read byte or
write byte transmission;
also used for SMBus alert
response return address
S = START CONDITIONSHADED = SLAVE TRANSMISSION
P = STOP CONDITIONA = NOT ACKNOWLEDGED
Figure 2. I2C Protocols
SADDRESSRDADATA
A
P
7 bits8 bits
WRSACOMMANDAP
8 bits
ADDRESS
7 bits
P
1
ADATA
8 bits
ACOMMAND
8 bits
AWRADDRESS
7 bits
S
SADDRESSWRACOMMANDASADDRESS
7 bits8 bits7 bits
RDADATA
8 bits
A
P
Detailed Description
The MAX6620 controls the speeds of up to four fans
using four independent linear voltage outputs. The
drive voltages for the fans are controlled directly over
the I
2
C interface. Each of the outputs (DACOUT1–
DACOUT4) drive the base of an external PNP or the
gate of a p-channel MOSFET. Voltage feedback at the
fan’s power-supply terminal is used to force the output
voltage.
The MAX6620 monitors fan tachometer logic outputs for
precise (1%) control of fan RPM and detection of fan
failure. When the MAX6620 is used with 2-wire fans,
these inputs are not used, and the fans can be driven
to the desired voltage without using tachometer feedback.
Three inputs set the fan drive status on application of
power. The DAC_START input selects the fan-supply
voltage (100%, 75%, or 0%) at startup to ensure appropriate fan drive when power is first applied. The
SPIN_START input selects whether spin-up will be
applied to the fans at power-up. WD_START selects
whether lack of I
2
C activity will force the fans to full
speed. When the watchdog function is enabled, the
fans will be driven to full speed if there is no I2C activity
for a period of 2s, 6s, or 10s.
Digital Interface
The MAX6620 features an I2C-compatible, 2-wire serial
interface consisting of a bidirectional serial data line
(SDA) and a serial clock line (SCL). SDA and SCL facilitate bidirectional communication between the MAX6620
and the master at rates up to 400kHz. The master (typically a microcontroller) initiates data transfer on the bus
and generates SCL. SDA and SCL require 4.7kΩ (typ)
pullup resistors.
Bit Transfer
One data bit is transferred during each SCL clock
cycle. Nine clock cycles are required to transfer the
data into or out of the MAX6620. The data on SDA must
remain stable during the high period of the SCL clock
pulse, as changes in SDA while SCL is high are control
signals (see the
The master initiates a transmission with a START condition (S), a high-to-low transition on SDA with SCL high.
The master terminates a transmission with a STOP condition (P), a low-to-high transition on SDA while SCL is high
(Figure 3). The STOP condition frees the bus and places
all devices in F/S mode (Figure 1). Use a repeated
START condition (Sr) in place of a STOP condition to
leave the bus active and in its current timing mode.
Acknowledge Bits
Successful data transfers are acknowledged with an
acknowledge bit (A) or a not-acknowledge bit (A). Both
the master and the MAX6620 (slave) generate acknowl-
edge bits. To generate an acknowledge, the receiving
device must pull SDA low before the rising edge of the
acknowledge-related clock pulse (9th pulse), and keep it
low during the high period of the clock pulse (Figure 4).
To generate a not acknowledge, the receiver allows
SDA to be pulled high before the rising edge of the
acknowledge-related clock pulse, and leaves it high
during the high period of the clock pulse. Monitoring
the acknowledge bits allows for detection of unsuccessful data transfers. An unsuccessful data transfer
happens if a receiving device is busy or if a system
fault has occurred. In the event of an unsuccessful data
transfer, the master should reattempt communication at
a later time.
A = START CONDITION
B = MSB OF ADDRESS CLOCKED INTO SLAVE
C = LSB OF ADDRESS CLOCKED INTO SLAVE
D = R/W BIT CLOCKED INTO SLAVE
E = SLAVE PULLS SMBDATA LINE LOW
F = ACKNOWLEDGE BIT CLOCKED INTO MASTER
G = MSB OF DATA CLOCKED INTO SLAVE
H = LSB OF DATA CLOCKED INTO SLAVE
I = MASTER PULLS DATA LINE LOW
J = ACKNOWLEDGE CLOCKED INTO SLAVE
K = ACKNOWLEDGE CLOCK PULSE
L = STOP CONDITION
M = NEW START CONDITION
SCL
AB CDEFG HIJ
K
SDA
t
SU:STA
t
HD:STA
t
LOWtHIGH
t
SU:DAT
t
HD:DAT
t
SU:STO
t
BUF
L
M
Figure 3. I2C Write Timing Diagram
A = START CONDITION
B = MSB OF ADDRESS CLOCKED INTO SLAVE
C = LSB OF ADDRESS CLOCKED INTO SLAVE
D = R/W BIT CLOCKED INTO SLAVE
E = SLAVE PULLS SMBDATA LINE LOW
F = ACKNOWLEDGE BIT CLOCKED INTO MASTER
G = MSB OF DATA CLOCKED INTO MASTER
H = LSB OF DATA CLOCKED INTO MASTER
I = MASTER PULLS DATA LINE LOW
J = ACKNOWLEDGE CLOCKED INTO SLAVE
K = ACKNOWLEDGE CLOCK PULSE
L = STOP CONDITION
M = NEW START CONDITION
SCL
ABCDEFG
HIJ
SDA
t
SU:STAtHD:STA
t
LOW
t
HIGH
t
SU:DAT
t
SU:STOtBUF
LMK
Figure 4. I2C Read Timing Diagram
MAX6620
Slave Address
A master initiates communication with a slave device by
issuing a START condition followed by a slave address
byte. As shown in Figure 5, the slave address byte consists of 7 address bits and a read/write bit (R/W). When
idle, the MAX6620 continuously waits for a START condition followed by its slave address. The first four bits
(MSBs) of the slave address have been factory programmed and are always 0101 and the seventh bit is 0.
Connect ADDR to GND or V
CC
, or leave it unconnected
to program D2 and D1 of the slave address according
to Table 1.
After receiving the address, the MAX6620 (slave)
issues an acknowledgement by pulling SDA low for one
clock cycle.
Data Byte (Read and Write)
Single Read and Burst Read. A single read begins
with the bus master issuing a START condition followed
by the seven slave ID address bits and a zero (WR,
Figure 2), which is followed by an acknowledge bit (A)
from the slave corresponding to the slave ID. Next, the
master sends out an 8-bit register address, which is
also followed by an acknowledge bit from the slave.
The bus master issues another START condition and
the same seven slave ID address bits followed by a one
(RD, Figure 2), with the slave producing an acknowledge bit. The slave then sends out the 8-bit data corresponding to the register address previously written by
the master. The bus master sends back a not-acknowledge bit (A). This completes the single read process
and a STOP condition is issued by the bus master.
In a burst read, the process is the same as a single
read except that the bus master issues an acknowledge bit after each byte transmitted by the slave. After
each acknowledge bit, the register address increments
by one, and the data from the next register is transmitted by the slave. The process continues, with data
reads followed by acknowledges. After the register with
the highest address is read, the register pointer rolls
over to point to the first register. To terminate a burst
read, the bus master issues a STOP condition.
Single Write and Burst Write. A single write begins
with the bus master issuing a START condition followed
by the seven slave ID address bits and a zero (WR,
Figure 2), which is followed by an acknowledge bit (A)
from the slave corresponding to the slave ID. Next, the
master sends out an 8-bit register address, which is
also followed by an acknowledge bit from the slave.
After the acknowledge bit, 8-bit data is written to the
register, and the slave issues a third acknowledgement.
A STOP condition is issued by the bus master to complete the single write process.
In a burst write, the process is similar to a single write
except that the master does not issue a STOP condition
immediately after the first byte has been written. After
the first write is completed, the slave issues an
acknowledge bit, the register address increments by
one, and the data to be written to the next register is
transmitted by the master. The process continues, with
data writes followed by acknowledges. After the register with the highest available address is written, the register pointer rolls over to point to the first register. To
terminate a burst write, the bus master issues a STOP
condition.
Fan Drive
The MAX6620 uses external pass transistors to power
the fans. DACOUT1–DACOUT4 adjust the powersupply voltage for each fan by driving the base of a
PNP bipolar transistor, or the gate of a p-MOSFET. The
resulting fan-supply voltage is fed back to DACFB_.
This closes the voltage feedback loop. The system
power supply for the output devices is V
BIT 7………….…………BIT 0 ACK BITBIT 7…………….……………BIT 0 ACK BIT
BIT 7……….…………………BIT 0 ACK BIT
LAST 8-BIT DATAASPS
BIT 7…………….…………BIT 0 ACK BIT
AS7-BIT SLAVE ID0AS
AM
LAST 8-BIT DATA
BIT 7……….……………BIT 0 ACK BIT
FIRST 8-BIT DATA
AS
8-BIT REGISTER ADDRESS
8-BIT REGISTER ADDRESS
BIT 7…………….………BIT 0 ACK BIT BIT 7…………….……………BIT 0 ACK BIT
0ASASS7-BIT SLAVE ID
7-BIT SLAVE ID0ASASSP
BIT 7…………….……………… BIT 0 ACK BIT BIT 7…………….…………………BIT ACK BIT
7-BIT SLAVE ID
SINGLE WRITE
BIT 7…………….……….BIT 0 ACK BIT
SINGLE READ
BURST WRITE
BIT 7…………….…………BIT 0 ACK BIT
S
8-BIT REGISTER ADDRESS
BIT 7…………….…………… BIT 0 ACK BIT
0ASAS7-BIT SLAVE ID1ASFIRST 8-BIT DATAAM
7-BIT SLAVE ID
BIT 7…………….………… BIT 0 ACK BIT
BURST READ
S
S: 2-WIRE BUS START CONDITION BY MASTER
P: 2-WIRE BUS STOP CONDITION BY MASTER
AS: ACKNOWLEDGE BY SLAVE
AM: ACKNOWLEDGE BY MASTER
AM: NO ACKNOWLEDGE BY MASTER
MAX6620
nominally 12V or 5V. The drive to the fans is proportional to V
FAN
. See the
Fan_ Target Drive Voltage Registers
and the
Applications Information
sections for more
details.
Fan-Speed Control
DAC (Voltage) Mode. In DAC mode, the MAX6620 sim-
ply sets the voltage that powers the fan. The fan’s
speed is related, but not precisely proportional to, the
drive voltage. The drive voltage is set by the Fan_
Target Drive Voltage registers and may be read from
the Fan_ Drive Voltage registers. Because the output
voltage can ramp to new values at a controlled rate, the
values in the two registers may be different. See the
Register Descriptions
and
Applications Information
sec-
tions for details.
RPM Mode. In RPM mode, the MAX6620 monitors
tachometer output pulses from the fan and adjusts the
fan drive voltage to force the fan’s speed to the desired
value. Fan speed is measured by counting the number
of internal 8192Hz clock cycles that take place during a
selectable number of tachometer periods. The number
of clock cycles counted (11-bit value) is stored in the
Fan_ TACH Count registers, and the desired number of
cycles is stored in the Fan_ Target TACH Count registers. See the
Register Descriptions
and
Applications
Information
sections for details.
Rate-of-Change Control. Sudden changes in fan
speed can be easily heard by users. The MAX6620
helps reduce the audibility of fan-speed changes by
controlling the rate at which the drive to the fan is incremented. Four bits in the Fan_ Dynamics registers set
the rate at which the fan drive voltage is incremented.
This allows the time required for a change in fan speed
to be varied from 0 (in DAC mode only) to several minutes. See the
Register Descriptions
and
Applications
Information
sections for details.
Monitoring Tachometer Signals. The TACH_ inputs
accept tachometer or “locked-rotor” output signals from
3- or 4-wire fans. When measuring fan speed, the
MAX6620 counts the number of internal 8192Hz clock
cycles that occur during 1, 2, 4, 8, 16, or 32 tachometer
periods. The number of tachometer periods is selectable for each fan by using the appropriate Fan_
Dynamics register. Tachometer pulses <25µs in duration are ignored to minimize the effect of noise on the
tachometer lines.
The TACH count for a given RPM can be obtained from
the following equation:
where:
NP = number of tachometer pulses per revolution. Most
general-purpose brushless DC fans produce two
tachometer pulses per revolution.
SR = 1, 2, 4, 8, 16, or 32. See the Fan_ Speed Range
information in the
Fan_ Dynamics Registers(06h, 07h,
08h, 09h)—POR = 0100 1100
section.
The tachometer count consists of 11 bits in the Fan_
TACH Count registers and is available in RPM and DAC
modes. In RPM mode, the desired fan count is written
to the Fan_ Target TACH Count registers.
Fan Failure Detection
When enabled, the MAX6620 monitors the TACH_
inputs to determine when a fan has failed. For fans with
tachometer outputs, failure is detected in various ways
depending on the fan control mode. In every case, four
consecutive fault detections are required to decide
whether the fan has failed. In DAC mode, the Fan_
Target TACH Count registers hold the upper limit for
tachometer count values; a fault condition is identified
when a TACH count exceeds the value written to the
Fan_ Target TACH Count registers for more than 1s. In
RPM mode, a fault condition is identified when any of
the following three conditions occur for more than 1s: 1)
the TACH count exceeds the value of the Fan_ Target
TACH Count registers while the fan drive voltage is at
full-scale, 2) the TACH count exceeds two times the
Fan_ Target TACH Count value, or 3) the TACH count
reaches its full count of 7FF.
Some fans have locked rotor outputs that produce a
logic-level output to indicate that the fan has stopped
spinning. These signals can be monitored by setting
D2:D1 in the Fan_ Configuration registers. D2 selects
locked rotor or tachometer monitoring and D1 selects the
polarity of the locked rotor signal. A fan fault has occurred
when a locked rotor signal has been present for 1s.
Fan failure is indicated in the Fan Fault register and
also with the open-drain FAN_FAIL output. The
FAN_FAIL output may be masked using the mask bits
in the Fan Fault register. When a fan failure is detected,
drive to the affected fan is removed. Drive may be
restored by writing a new DAC or fan count target to the
fan’s control registers. The global configuration regis-
ter’s bit D4 can be used to cause a fan failure to force
the remaining fan speeds to 100%.
Watchdog
The MAX6620 includes an optional I2C watchdog function that monitors the I2C bus for transactions. When the
watchdog function is enabled, all fans will be forced to
full speed if no I2C transactions occur within a selected
period (2s, 6s, or 10s).
Spin-Up
When a fan is not spinning, and a voltage less than the
nominal fan-supply voltage is applied to its powersupply terminals, it may fail to start spinning. To overcome this, the full nominal supply voltage may be
applied to the fan terminals for a short time before a
lower voltage is applied. This “spin-up” period allows
the fan to overcome inertia and begin operating. Spinup is controlled using the Fan_ Configuration registers.
Spin-up can be disabled, or it can cause the fan to be
driven with the full supply voltage until it produces two
tachometer pulses, up to a maximum of 0.5s, 1s, or 2s
when the fan is started.
POR Options
Three inputs allow set up of the MAX6620’s behavior at
power-up. These inputs are sampled when power is
first applied to the MAX6620:
• WD_START. Connect WD_START to VCCto enable,
or to ground to disable, the watchdog function. When
enabled using WD_START, the timeout period is 10s.
After power is applied, the watchdog function may be
enabled or disabled through the global configuration
register.
• SPINUP_START. At power-up, spin-up operation is
controlled by the SPINUP_START pin, which can be
connected to ground (spin-up disabled), VCC(spinup for a maximum of 1s), or unconnected (spin-up for
a maximum of 0.5s).
• DAC_START. This input controls the fan drive volt-
age (for all four fans) at power-up. When connected
to ground, the initial fan drive voltage will be 0V.
When connected to V
CC
, the initial fan drive voltage
will be full scale. When unconnected, the initial fan
drive voltage will be 75% of V
Global Configuration Register (00h)—POR = 0000 0XXX
Register Descriptions
BITR/WFUNCTION
Run:
7 R/W
0 = run
1 = standby
6 R/W
5 R/W
4 R/W
3 R/W
POR:
0 = norma l operation
1 = reset all registers to POR values
Thi s bit automatically re sets itself and will always return a 0 when read.
2
C Bus Timeout:
I
0 = enabled
1 = disabled
2
C interface will reset if SDA is low for more than 35ms.
The I
Fans to 100% on failure:
0 = if a fan fai lure is detected, all other fan channels immediately go to full-scale drive vo ltage to
ensure adequate coo ling
1 = disabled
Oscillator Selection:
Selects on-chip oscillator or 32.768kHz crystal/ceramic resonator. Use crystal if 1% RPM accuracy is
required.
0 = internal oscillator (default at power-on)
1 = external 32.768kHz crystal
When switching from the internal osci llator to an external crystal, the MAX6620 operates from the internal
oscillator until the crystal oscillator has started up. If the crystal is damaged or the oscillator fails to start,
the MAX6620 will continue to operate from the internal oscillator.
Global Configuration Register (00h)—POR = 0000 0XXX (continued)
BITR/WFUNCTION
I
When active, the watchdog monitors SDA and SCL for va lid I
transactions between the ma ster and the MAX6620 within the watchdog period, all fan output vo ltages
2
R/W
1
0 R
will go to full-scale drive voltage.
If the watchdog times out and va lid I
previous DAC va lue. The master can then program the output vo ltages, target TACH counts, or other
functions in the normal manner.
When the w atchdog function is active, ensure that the master communicates to the MAX6620
periodically, for example reading a status register.
The POR state is set by the state of the WD_START pin at power-up.
I
This bit is cleared by I
2
C Watchdog:
2
C transactions begin to occur again, operation will resume with the
Indicates which fans have had faults detected. When a fan fault is detected, the drive to the fan is disabled and
the corresponding fault bit is set. The fault bits latch until they are cleared by reading, thus allowing short-term
faults to be identified. After a fault status bit is cleared by reading, the corresponding output voltage will remain zero until a Fan_ Target Drive Voltage register or Fan_ Target TACH Register is written. Writing a
new target drive voltage or target TACH count will cause drive to be applied to the fan again, at which time a
new failure-detection cycle will begin.
Fault Conditions Are:
MODE
DAC Any
RPM
FAN_FAIL will be asserted when four consecutive faults are detected.
Fan 4 Fault Mask:
Masks faults on selected fans from asserting the FAN_FAIL output. Faults will still be indicated by the fault
status bits:
0 = not masked
1 = masked
FAN_ DRIVE
VOLTAGE REGISTER
1FF (full)
<1FF
CONDITION
TACH count exceeds value of Fan_ Target
TACH count
Locked rotor asserts
TACH count exceeds value of Fan_ Target
TACH Count
TACH count exceeds two times of Fan_ Target
TACH Count value
0 = DAC mode. The fan drive voltage is set by the value in the Fan_ Target Drive Voltage register.
1 = RPM mode. The fan drive voltage is adjusted to produce the TACH count value in the Fan_ Target
7 R/W
6 R/W
5 R/W
TACH Count regi ster.
When chang ing from DAC to RPM mode, if the current RPM value is different from the value selected in
the Fan_ Target TACH Count register, the drive voltage will start from the current va lue and increment/
decrement toward the desired value at the se lected DAC rate-of-change.
Spin-Up:
When the fan drive voltage increa se s from 0V to a value less than the ful l-s cale drive vo ltage, it may be
necess ary to drive the fan with the full-sca le drive voltage for a brief period to ensure that the fan is
spinning before reducing the drive to the selected va lue.
When spin-up is selected, the fan i s driven at the full-scale drive vo ltage until two tachometer pulses
have been detected or loc ked rotor has been cleared. A maxi mum spin-up time is a lso selectable to
ensure that the spin-up time is not excess i ve. After two tachometer pulses have been detected, or locked
rotor has been cleared or the spin-up has timed out, the drive voltage goes to the value in the Fan_ Target
Drive Voltage register.
The POR state is set by the state of the SPINUP_START pin at power-up.
D6:D5FUNCTIONPOR CONDITION
00 No spin-up SPIN_START pin = ground
01
10
11
Spin-up until two tachometer pul se s or
clearing of locked rotor, or 0.5s (ma x)
Spin-up until two tachometer pul se s or
clearing of locked rotor, or 1s (max)
Spin-up until two tachometer pul se s or
clearing of locked rotor, or 2s (max)
SPIN_START pin = open
SPIN_START pin = V
—
CC
4Reserved
TACH Input Enable:
3 R/W
2 R/W
1 R/W
0 — Reserved
Enables TACH input function and fan fault detection (automatically enabled in RPM mode).
0 = disabled. When disabled and TACH input is not used, bit 1 and bit 2 are ignored.
1 = enabled
TACH/Locked Rotor:
Selects TACH input function as TACH count or locked rotor. In locked rotor mode, the TACH count stops
and assertion of the TACH input indicates that the fan ha s stopped.
0 = TACH count
1 = locked rotor
Locked Rotor Polarity:
0 = low locked rotor. TACH input low in locked rotor mode indicates fan is stopped.
1 = high locked rotor. TACH input high in locked rotor mode indicates fan is stopped.
The MAX6620 determines fan speed by counting the number of internal 8192Hz clock cycles (using an 11bit counter) during one or more fan tachometer periods. Three bits set the nominal RPM range for the fan, as
shown in the table below. As an example, a setting of 010 causes the MAX6620 to count the number of
8192Hz clock cycles that occur during four complete tachometer periods. If the fan has a nominal speed of
2000RPM and two tachometer pulses per revolution, one tachometer period will be nominally 15ms, and four
tachometer periods will be 60ms. With an 8192Hz clock, the TACH count will therefore be equal to 491. With
a fan speed of 1/3 the nominal value, the count will be 1474. If the fan’s nominal speed is 1000RPM, the fullspeed TACH count will be 983. At 1/3 the nominal speed, there will be 2948 clock cycles in four tachometer
periods. This is greater than the maximum 11-bit count of 2047, so four tachometer periods is too many for
this fan; a setting of 001 (two clock cycles) is recommended instead.
The table below shows the full-speed tachometer counts for several combinations of nominal fan speeds
and D7:D5 settings. The shaded combinations will provide the best results. When setting D7:D5, the goal is
to obtain the highest tachometer count without exceeding the maximum count of 2047 when the fan is at the
minimum speed of interest. For example, if the minimum speed of interest is 1/3 of full speed, the maximum
tachometer count will be three times the value shown in the table below:
The fan drive voltage (at the DACFB_ inputs) varies from 0 to full scale in 512 increments. The rate-ofchange bits determine the time interval between output voltage increments/decrements. In RPM mode, a
setting of 0 would result in an unstable feedback loop, so a default value of 0.0625 is in effect when 0 is
selected.
4 R/W
3 R/W
2 R/W
Regardless of the settings, there are a few cases for which the rate-of-change is always 0:
•
When a target TACH count of 2047 (7FF) is selected, the fan drive voltage immediately goes to 0V. A
full-scale target count is assumed to mean that the intent is to shut down the fan, and going directly to 0
drive avoids the possibility of loss of control-loop feedback at high TACH counts. If a slow- speed
decrease toward 0 is desired, a target TACH count at the slowest practical value for the fan should be
chosen. Once that count has been reached, selecting a count of 2047 (7FF) will then take the drive
immediately to 0V.
•When a target fan drive voltage of 0V is selected, the drive voltage immediately goes to 0V. Again, it is
assumed that the intent is to shut down the fan. If a slow-speed decrease toward 0 is desired, a target
fan drive voltage of the slowest practical value for the fan in question should be chosen. Once that drive
voltage has been reached, selecting a target value of 0 will then take the drive immediately to 0V.
•When the current drive level is 0 in DAC mode, selecting a new target fan drive voltage will immediately
take the voltage to that value. The fan will spin-up first if spin-up is enabled.
• When the current drive level is 0 in RPM mode, selecting a new target TACH count that is less than 2047
(7FF) will immediately take the drive voltage to the value in the Fan_ Target Drive Voltage register. From
this value, the drive voltage will increment as needed to achieve the desired TACH count. The fan will
spin-up first if spin-up is enabled.
The Fan_ Target TACH Count consists of 11 bits contained in two bytes. The two bytes must be written in
order in one or two I
2
C transactions, with no other I2C
writes in between. These target registers are updated
internally at the same time when a second byte (LSB) is
written.
BITR/WFUNCTION
7
6
5
4
R/W
3
2
1
0
Fan_ Target TACH Count D10:D3:
In RPM mode, write the desired tachometer count to this register. The MAX6620 will then adjust the fan drive
voltage to achieve this tachometer count.
In DAC mode, this register has no effect.
When changing from DAC mode to RPM mode, best results are obtained by loading this register with the
desired TACH count before changing to RPM mode. The target TACH count for a given RPM will be obtained
by the following equation:
TargetTACH
where:
NP = number of TACH pulses per revolution
SR = 1, 2, 4, 8, 16, or 32 (see the fan_ speed range information in the Fan_ Dynamics Registers (06h, 07h, 08h,09h)—POR = 0100 1100 section)
This is a 9-bit value that ranges from 0 to 511 and is contained in two bytes. In DAC mode, write the
desired fan drive voltage to these two registers. The MAX6620 will then ramp the fan drive voltage to
this va lue at a rate determined by the DAC rate-of-change bit s.
In RPM mode, the value contained in this register will be the vo ltage applied to the fan immed iately after
spin-up or after changing the Fan_ Target TACH Count from 2047 (7FF) to a value lower than 2047 (7FF).
For example, if the fan is currently stopped with spin-up disab led, and a new Fan_ Target TACH Count
corresponding to 60% of the full-sca le fan speed is to be selected, the fan voltage can be programmed
to immediately go to 60% of the full-scale drive voltage when the new Fan_ Target TACH Count is
selected from 2047 (7FF), and then clo se the RPM control loop starting from that voltage.
The register value is converted to the drive vo ltage at the fan (or voltage at DACFB _) as fol lows:
D8:D0 FAN_ DRIVE VOLTAGE (V)
DECIMAL HEX 5V RANGE 12V RANGE
0000h0.0000.000
2000C8h1.7644.486
30012Ch2.6466.729
400190h3.5278.972
4801E0h4.23210.766
5111FFh4.50611.462
The value of the Fan_ Target Drive Voltage at POR depends on state of the DAC_START pin, as show n
Match external pass transistors to the fans being used.
Ensure that the pass transistor is capable of handling
the maximum fan current. For best results, the pass
transistor’s maximum current rating should be at least
50% greater than the fan’s nominal supply current.
The transistor should also be capable of dissipating the
worst-case power, which usually occurs when the fan is
being driven to approximately 50% of the nominal supply voltage. The maximum power dissipation will
depend on the thermal resistance of the transistor, its
case, and the printed-circuit board (PCB) to which it is
soldered. For example, if the worst-case transistor
power dissipation occurs when the fan current is
100mA, and the voltage across the fan is 6.5V, the
maximum power dissipation will be 650mW. A
BCP69T1-D in a SOT223-4 package is rated at 1.5W at
25°C (about 1W at 70°C) when soldered to a 0.93in
2
(6cm2) copper PCB pad, and can easily handle this
power dissipation. Larger copper pads, packages with
lower thermal resistance, or different transistors can
give significantly different results.
The MAX6620 uses an advanced output driver design
that eliminates the large external capacitors often connected across the fan’s power-supply terminals. For
stability with a variety of fans, connect a 0.1µF capacitor from DACFB_ to ground.
Using a Low-Dropout Voltage Regulator
(LDO) as the Pass Device
Voltage regulators can be used instead of discrete transistors to drive the fans (Figure 7). The voltage feedback loop is closed around the regulator to provide the
desired output voltage. When using a voltage regulator,
note the following:
• Most regulators require relatively large capacitors at
their inputs and outputs for stability.
• Most regulators have a lower output voltage limit that
is >0V. If removing the drive from the fan is necessary when using a regulator, choose a regulator that
has an on/off control input and drive that input from
the system microcontroller.
Fan-Speed Control (DAC and RPM Modes)
The MAX6620 has two main modes for controlling fan
speeds. In DAC mode, the MAX6620 produces an output voltage that drives the fan. This voltage is proportional to the main fan power-supply voltage (V
FAN
).
Write the 9-bit desired voltage value in the Fan_ Target
Drive Voltage register.
In RPM mode, the MAX6620 monitors the tachometer
signals from the fans through the TACH_ inputs and
adjusts the drive voltage to yield the desire tachometer
count. The tachometer count is the number of internal
8192 clock cycles that are counted during the selected
number of tachometer pulses.
Controlling 2-Wire Fans (DAC Mode)
In DAC mode, the MAX6620 sets the fan’s supply voltage to the value selected in the Fan_ Target Drive
Voltage register. Tachometer monitoring is never done
when controlling a 2-wire fan, so the TACH input enable
bit in the Fan_ Configuration register should be set to 0.
Enabling the TACH input when using a 2-wire fan will
result in an erroneous fan failure detection.
Initial Settings:
• Begin with the POR settings. The POR value of the
fan_ DAC rate-of-change bits (4:2 of the Fan_
Dynamics Register) can yield slower fan speed
changes than desired. If this is the case, choose a
faster value, such as 001.
Starting the Fan:
• Write the desired drive voltage value to the Fan_
Target Drive Voltage register.
Changing Speeds:
• Write the new desired drive voltage value to the Fan_
Target Drive Voltage register.
Stopping the Fan:
• Write a voltage value of 0 to the Fan_ Target Drive
Voltage register.
Controlling 3-Wire Fans (DAC Mode)
In DAC mode, the MAX6620 sets the fan’s supply voltage to the value selected in the Fan_ Target Drive
Voltage register. 3-wire fans with tachometer outputs
allow monitoring of the fan’s speed to detect fan failure.
To monitor a fan’s speed, the TACH input should be
enabled.
• Begin with the POR settings. The POR value of the
fan_ DAC rate-of-change bits (4:2 of the Fan_
Dynamics register) can yield slower fan speed
changes than desired. If this is the case, choose a
faster value, such as 001.
• Write the desired number of tachometer periods to
be counted in the speed range bits (7:5 of the Fan_
Dynamics register).
• Write the maximum allowable tachometer count to the
Fan_ Target TACH Count registers. Tachometer
counts greater than this value will result in a fan fault
detection. Choose a value that will not be encountered during normal operation, accounting for normal
fan speed tolerances.
Note: Setting a full-scale target count (2047) will
result in the fan drive going to 0V.
• Set the TACH input enable bit in the Fan_
Configuration register to 1.
Note: This bit can be set after the fan has been started, if desired. If the bit is set before writing a target
fan drive voltage, the target drive voltage should be
set immediately after enabling the TACH input to
avoid failure detection before the fan has started
spinning.
Starting the Fan:
• Write the desired drive voltage value to the Fan_
Target Drive Voltage register.
Changing Speeds:
• Write the new desired drive voltage value to the Fan_
Target Drive Voltage register.
Stopping the Fan:
• Write a 0 to the TACH input enable bit in the Fan_
Configuration register. This prevents the MAX6620
from deciding that the fan has failed after it has
stopped.
• Write a voltage value of 0V to the Fan_ Target Drive
Voltage register.
• If a gradual decrease in fan speed is desired, write
the lowest drive voltage at which the fan will reliably
operate. When the drive voltage reaches that value,
write 0V to the Fan_ Target Drive Voltage register.
Controlling 3-Wire Fans (RPM Mode)
Begin as in DAC mode and start the fan.
Changing from DAC Mode to RPM Mode:
• Write the desired tachometer count to the Fan_ TACH
Count registers.
• Set bit 7 of the Fan_ Configuration register to 1. This
selects RPM mode. The fan will go to the selected
speed.
Note: When the DAC rate-of-change is set to one of
the faster values, the fan drive voltage can, depending on the fan’s characteristics, undergo a slow oscillation. While this rarely has an audible impact, it can
be reduced or eliminated by selecting a slower rateof-change once the fan’s speed has reached or
approached its target value.
Changing Speeds:
• Write the desired tachometer count to the Fan_
Target TACH Count registers.
Stopping the Fan:
• Write the current drive voltage into the Fan_ Target
Drive Voltage register.
• Write a value greater than the current tachometer
count into the Fan_ Target TACH Count register.
• Write a 0 to bit 7 of the Fan_ Configuration register.
This selects DAC mode.
• Write a 0 to the TACH input enable bit in the Fan_
Configuration register. This prevents the MAX6620
from detecting a high TACH count and determining
that the fan has failed.
• Write a voltage value of 0V to the Fan_ Target Drive
Voltage register.
• If a gradual decrease in fan speed is desired, write
the lowest drive voltage at which the fan will reliably
operate. When the drive voltage reaches that value,
write 0 to the Fan_ Target Drive Voltage register.
(The package drawing(s) in this data sheet may not reflect the most current specifications. For the latest package outline information
go to www.maxim-ic.com/packages
.)
QFN THIN.EPS
Package Information (continued)
(The package drawing(s) in this data sheet may not reflect the most current specifications. For the latest package outline information
go to www.maxim-ic.com/packages
.)
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.
30
____________________Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600