ADM1031
http://onsemi.com
19
Figure 31. Filtered Mode with Ramp Rate = 2
TIME (s)
R
TEMP
(C)
0
PWM DUTY CYCLE
(
%
)
54
0
20
40
60
80
100
120
0
20
40
60
80
100
120
140
PWM DUTY CYCLE
R
TEMP
Finally, Figure 32 shows how the control loop reacts to
temperature with the slowest ramp rate. The ramp rate is set
to 1, while all other control parameters remain the same.
With the slowest ramp rate selected, it took 112 seconds for
the fan to reach full speed.
Figure 32. Filtered Mode with Ramp Rate = 1
TIME (s)
R
TEMP
(C)
0
PWM DUTY CYCLE (%)
112
0
20
40
60
80
100
140
0
20
40
60
80
100
120
PWM DUTY CYCLE
R
TEMP
120
As can be seen from Figure 29 through Figure 32, the rate
at which the fan reacts to temperature change is dependent
on the ramp rate selected in the fan filter register. The higher
the ramp rate, the faster the fan reaches the newly calculated
fan speed.
Figure 33 shows the behavior of the PWM output as
temperature varies. As the temperature rises, the fan speed
ramps up. Small drops in temperature do not affect the
ramp-up function because the newly calculated fan speed is
still higher than the previous PWM value. The filtered mode
allows the PWM output to be made less sensitive to
temperature variations. This is 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 way 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 is effectively reduced. If the number
of temperature measurements per second is reduced, how
often the PWM_OUT signal controlling the fan is updated
is also reduced.
Bits <4:2> of the fan filter register (Register 023) 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 kHz 0.5
1.4 kHz 1 (Default)
2.8 kHz 2
5.6 kHz 4
11.2 kHz 8
ADM1031
http://onsemi.com
20
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 023 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> Fan 2 Filter Enable: When this bit is set to 1,
it enables filtering on Fan 2. 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, that is, 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 Fan 1.
9. Set Bit 1 to enable the fan filtered mode for Fan 2.
10. Select automatic fan speed control mode by setting
Bit 7 of Configuration Register 1.
PWM Duty Cycle Select Mode
The ADM1031 can operate under software control by
clearing Bit 7 of Configuration Register 1 (Register 000).
This allows the user to directly control PWM duty cycle for
each fan.
Clearing Bit 5 and Bit 6 of Configuration Register 1
allows fan control by varying PWM duty cycle. Values of
duty cycle between 0% and 100% can be written to the fan
speed configuration register (022) to control the speed of
each 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%
Bits <3:0> set the PWM duty cycle for Fan 1; Bits <7:4>
set the PWM duty cycle for Fan 2.
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 can be necessary to specify fans with
a nominal fan speed of 6250 RPM. However, many of these
fans 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 allows all of these fans to be
programmed to run at the desired RPM value.
Clearing Bit 7 of Configuration Register 1 (Register
000) to 0 places the ADM1031 under software control.
Once under software control, the device can be placed into
RPM feedback mode by writing to Bit 5 and Bit 6 of
Configuration Register 1. Writing a 1 to Bit 5 and Bit 6
selects RPM feedback mode for each fan.
Once RPM feedback mode has been selected, the required
fan RPM can be written to the fan tach high limit registers
(010, 011). The RPM feedback mode function allows a fan
RPM value to be programmed into the device, and the
ADM1031 maintains 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
ADM1031
http://onsemi.com
21
speed up due to aging, the RPM feedback slows 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 is measured when the count value
reaches 255.
Since 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,
the count to be programmed is:
(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,
the count to be programmed is:
(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).
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 indicates a fan failure condition is whenever the count
reaches 255. Since the speed range N = 2, the fan fails 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 the count equation to
calculate the count value.
4. Clear Bit 7 of Configuration Register 1
(Register 000) to place the ADM1031 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 (Register 010). The fan speed
now goes to the desired RPM value and maintains
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 does
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 Bit 5 and Bit 7 of Configuration
Register 1 (Register 000) to enter PWM duty
cycle mode. Write 008 to the fan speed
configuration register (Register 022) to set the
PWM output to 53% duty cycle.
2. Measure the fan RPM. This represents the fan
RPM below which the RPM mode fails 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.
Fan Drive and Speed Measurement
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 ADM1031 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

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