ADM1030
http://onsemi.com
19
Filtered Mode allows the PWM output to be made less
sensitive to temperature variations. This will be dependent
on the ramp rate selected and the ADC sample rate
programmed into the Fan Filter Register.
Figure 33. How Fan Reacts to Temperature Variation
in Filtered Mode
TIME (s)
R
TEMP
(C)
PWM DUTY CYCLE
(
%
)
0
10
20
30
40
50
70
0
10
20
30
40
50
60
PWM DUTY CYCLE
R
TEMP
60
80
90
70
80
90
Effect of ADC Sample Rate on Filtered Mode
The second means by which to change the Filtered Mode
characteristics is to adjust the ADC sample rate. The faster
the ADC sample rate, the more temperature samples are
obtained per second. One way to apply filtering to the
control loop is to slow down the ADC sampling rate. This
means that the number of iterations of the Filtered Mode
algorithm per second are effectively reduced. If the number
of temperature measurements per second are reduced, how
often the PWM_OUT signal controlling the fan is updated
is also reduced.
Bits <4:2> of the Fan Filter Register (Reg 0x23) set the
ADC sample rate. The default ADC sample rate is 1.4 kHz.
The ADC sample rate is selectable from 87.5 Hz to
11.2 kHz. Table 13 shows how many temperature samples
are obtained per second, for each of the ADC sample rates.
Table 13. TEMPERATURE UPDATES PER SECOND
ADC Sample Rate Temperature Updates/Sec
87.5 Hz 0.0625
175 Hz 0.125
350 Hz 0.25
700 Hz 0.5
1.4 kHz 1 (Default)
2.8 kHz 2
5.6 kHz 4
11.2 kHz 8
Relevant Registers for Filtered Automatic Fan
Speed Control Mode
In addition to the registers used to program the normal
Automatic Fan Speed Control Mode, the following register
needs to be programmed.
Register 0x23 Fan Filter Register
<7> Spin-up Disable: when this bit is set to 1, fan
spin-up is disabled. (Default = 0)
<6:5> Ramp Rate: these bits set the ramp rate for
filtered mode.
00 = 1 (0.416% Duty Cycle Change)
01 = 2 (0.833% Duty Cycle Change)
10 = 4 (1.66% Duty Cycle Change)
11 = 8 (3.33% Duty Cycle Change)
<4:2> ADC Sample Rate
000 = 87.5 Hz
001 = 175 Hz
010 = 350 Hz
011 = 700 Hz
100 = 1.4 kHz (Default)
101 = 2.8 kHz
110 = 5.6 kHz
111 = 11.2 kHz
<1> Unused. Default = 0
<0> Fan 1 Filter Enable: when this bit is set to 1,
it enables filtering on Fan 1. Default = 0.
Programming the Filtered Automatic Fan Speed
Control Loop
1. Program a value for T
MIN
.
2. Program a value for the slope T
RANGE
.
3. T
MAX
= T
MIN
+ T
RANGE
.
4. Program a value for Fan Spin-up Time.
5. Program the desired Automatic Fan Speed Control
Mode Behavior, i.e., which temperature channel
controls the fan.
6. Program a ramp rate for the filtered mode.
7. Program the ADC sample rate in the Fan Filter
Register.
8. Set Bit 0 to enable fan filtered mode for the fan.
9. Select Automatic Fan Speed Control Mode by
setting Bit 7 of Configuration Register 1.
PWM Duty Cycle Select Mode
The ADM1030 may be operated under software control
by clearing Bit 7 of Configuration Register 1 (Register
0x00). This allows the user to directly control PWM Duty
Cycle.
ADM1030
http://onsemi.com
20
Clearing Bit 5 of Configuration Register 1 allows fan
control by varying PWM duty cycle. Values of duty cycle
between 0% to 100% may be written to the Fan Speed
Config Register (0x22) to control the speed of the fan.
Table 14 shows the relationship between hex values written
to the Fan Speed Configuration Register and PWM duty
cycle obtained.
Table 14. PWM DUTY CYCLE SELECT MODE
Hex Value PWM Duty Cycle
00 0%
01 7%
02 14%
03 20%
04 27%
05 33%
06 40%
07 47%
08 53%
09 60%
0A 67%
0B 73%
0C 80%
0D 87%
0E 93%
0F 100%
RPM Feedback Mode
The second method of fan speed control under software is
RPM Feedback Mode. This involves programming the
desired fan RPM value to the device to set fan speed. The
advantages include a very tightly maintained fan RPM over
the fan’s life, and virtually no acoustic pollution due to fan
speed variation.
Fans typically have manufacturing tolerances of 20%,
meaning a wide variation in speed for a typical batch of
identical fan models. If it is required that all fans run at
exactly 5000 RPM, it may be necessary to specify fans with
a nominal fan speed of 6250 RPM. However, many of these
fans will run too fast and make excess noise. A fan with
nominal speed of 6250 RPM could run as fast as 7000 RPM
at 100% PWM duty cycle. RPM Mode will allow all of these
fans to be programmed to run at the desired RPM value.
Clearing Bit 7 of Configuration Register 1 (Reg 0x00)
to 0 places the ADM1030 under software control. Once
under software control, the device may be placed in to RPM
Feedback Mode by writing to Bit 5 of Configuration
Register 1. Writing a 1 to Bit 5 selects RPM Feedback Mode
for the fan. Once RPM Feedback Mode has been selected,
the required fan RPM may be written to the Fan Tach High
Limit Register (0x10). The RPM Feedback Mode function
allows a fan RPM value to be programmed into the device,
and the ADM1030 will maintain the selected RPM value by
monitoring the fan tach and speeding up the fan as necessary,
should the fan start to slow down. Conversely, should the fan
start to speed up due to aging, the RPM feedback will slow
the fan down to maintain the correct RPM speed. The value
to be programmed into each Fan Tach High Limit Register
is given by:
(eq. 7)
Count + (f 60)ńR N
where:
f = 11.25 kHz
R = desired RPM value
N = Speed Range; MUST be set to 2
The speed range, N, really determines what the slowest
fan speed measured can be before generating an interrupt.
The slowest fan speed will be measured when the count
value reaches 255.
Since speed range, N, = 2,
(eq. 8)
Count + (f 60)ńR N
R + (f 60)ńCount N
R + (11250 60)ń255 2
R + (675000)ń510
R + 1324 RPM, fan fail detect speed.
Programming RPM Values in RPM Feedback Mode
Rather than writing a value such as 5000 to a 16-bit
register, an 8-bit count value is programmed instead. The
count to be programmed is given by:
(eq. 9)
Count + (f 60)ńR N
where:
f = 11.25 kHz
R = desired RPM value
N = Speed Range = 2
Example 1:
If the desired value for RPM Feedback Mode is 5000 RPM,
what value needs to be programmed for Count?
(eq. 10)
Count + (f 60)ńR N
Since the desired RPM value, R is 5000 RPM, the value
for Count is:
N = 2:
(eq. 11)
Count + (11250 60)ń5000 2
Count + 675000ń10000
Count + 67 (assumes 2 tach pulsesńrev).
Example 2:
If the desired value for RPM Feedback Mode is 3650 RPM,
what value needs to be programmed for Count?
(eq. 12)
Count + (f 60)ńR N
Since the desired RPM value, R is 3650 RPM, the value
for Count is:
N = 2:
(eq. 13)
Count + (11250 60)ń3650 2
Count + 675000ń7300
Count + 92 (assumes 2 tach pulsesńrev).
ADM1030
http://onsemi.com
21
Once the count value has been calculated, it should be
written to the Fan Tach High Limit Register. It should be
noted that in RPM Feedback Mode, there is no high limit
register for underspeed detection that can be programmed as
there are in the other fan speed control modes. The only time
each fan will indicate a fan failure condition is whenever the
count reaches 255. Since the speed range N = 2, the fan will
fail if its speed drops below 1324 RPM.
Programming RPM Values
1. Choose the RPM value to be programmed.
2. Set speed range value, N = 2.
3. Calculate count value based on RPM and speed
range values chosen. Use Count Equation to
calculate Count Value.
4. Clear Bit 7 of Configuration Register 1
(Reg. 0x00) to place the ADM1030 under software
control.
5. Write a 1 to Bit 5 of Configuration Register 1 to
place the device in RPM Feedback Mode.
6. Write the calculated Count value to the Fan Tach
High Limit Register (Reg. 0x10). The fan speed
will now go to the desired RPM value and
maintain that fan speed.
RPM Feedback Mode Limitations
RPM feedback mode only controls Fan RPM over a
limited fan speed range of about 75% to 100%. However,
this should be enough range to overcome fan manufacturing
tolerance. In practice, however, the program must not
function at too low an RPM value for the fan to run at, or the
RPM Mode will not operate.
To find the lowest RPM value allowed for a given fan, do
the following:
1. Run the fan at 53% PWM duty cycle in Software
Mode. Clear Bits 5 and 7 of Configuration
Register 1 (Reg 0x00) to enter PWM duty cycle
mode. Write 0x08 to the Fan Speed Config
Register (Reg 0x22) to set the PWM output to
53% duty cycle.
2. Measure the fan RPM. This represents the fan
RPM below which the RPM mode will fail to
operate. Do NOT program a lower RPM than this
value when using RPM Feedback mode.
3. Ensure that Speed Range, N = 2 when using RPM
Feedback mode.
Fans come in a variety of different options. One
distinguishing feature of fans is the number of poles that a
fan has internally. The most common fans available have
four, six, or eight poles. The number of poles the fan has
generally affects the number of pulses per revolution the fan
outputs.
If the ADM1030 is used to drive fans other than 4-pole
fans that output 2 tach pulses/revolution, then the fan speed
measurement equation needs to be adjusted to calculate and
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 a 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
will need 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 may be driven using
PWM control.
Figure 34. Interfacing the ADM1030 to a 3-wire Fan
ADM1030
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 may be substituted based on the
system’s fan drive requirements.

ADM1030ARQZ

Mfr. #:
Manufacturer:
ON Semiconductor
Description:
Motor / Motion / Ignition Controllers & Drivers TDM & PWM FAN CNTRLRS IC
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union