ADM1031
http://onsemi.com
16
Calculate T
MAX
(eq. 3)
T
MAX
+ T
MIN
) ((Max DC * Min DC) T
RANGE
ń10)
T
MAX
+ 0 ) ((100% DC * 53% DC) 40ń10)
T
MAX
+ 0 ) ((15 * 8) 4) + 28
T
MAX
=285C (As seen on Slope 2 of Figure 26)
Example 2:
T
MIN
= 0C, T
RANGE
= 40C
Min DC = 73% = 11 decimal (Table 11)
Calculate T
MAX
(eq. 4)
T
MAX
+ T
MIN
) ((Max DC * Min DC) T
RANGE
ń10)
T
MAX
+ 0 ) ((100% DC * 73% DC) 40ń10)
T
MAX
+ 0 ) ((15 * 11) 4) + 16
T
MAX
=165C (As seen on Slope 3 of Figure 26)
Example 3:
T
MIN
= 0C, T
RANGE
= 40C
Min DC = 33% = 5 decimal (Table 11)
Calculate T
MAX
(eq. 5)
T
MAX
+ T
MIN
) ((Max DC * Min DC) T
RANGE
ń10)
T
MAX
+ 0 ) ((100% DC * 33% DC) 40ń10)
T
MAX
+ 0 ) ((15 * 5) 4) + 40
T
MAX
=405C (As seen on Slope 1 of Figure 26)
In this case, since the Minimum Duty Cycle is the default
33%, the equation for T
MAX
reduces to:
(eq. 6)
T
MAX
+ T
MIN
) ((Max DC * Min DC) T
RANGE
ń10)
T
MAX
+ T
MIN
) ((15 * 5) T
RANGE
ń10)
T
MAX
+ T
MIN
) (10 T
RANGE
ń10)
T
MAX
+ T
MIN
) T
RAN
G
E
Relevant Registers for Automatic Fan Speed
Control Mode
Register 000 Configuration Register 1
<7> Logic 1 selects automatic fan speed control,
Logic 0 selects software control
(Default = 1).
<6:5> 01 = Remote Temp 1 controls Fan 1 and
Fan 2
10 = Remote Temp 2 controls Fan 1 and
Fan 2
11 = Fastest Calculated Speed controls
Fan 1 and 2
Register 020, 021 Fan Characteristics Registers 1, 2
<2:0> Fan X Spin-Up Time.
000 = 200 ms
001 = 400 ms
010 = 600 ms
011 = 800 ms
100 = 1 sec
101 = 2 sec (Default)
110 = 4 sec
111 = 8 sec
<5:3> PWM Frequency Driving the Fan.
000 = 11.7 Hz
001 = 15.6 Hz
010 = 23.4 Hz
011 = 31.25 Hz (Default)
100 = 37.5 Hz
101 = 46.9 Hz
110 = 62.5 Hz
111 = 93.5 Hz
<7:6> Speed Range N; defines the lowest fan speed
that can be measured by the device.
00 = 1: Lowest Speed = 2647 RPM
01 = 2: Lowest Speed = 1324 RPM
10 = 4: Lowest Speed = 662 RPM
11 = 8: Lowest Speed = 331 RPM
Register 022 Fan Speed Configuration Register
<3:0> Min Speed: This nibble contains the speed at
which the fan runs when the temperature is at
T
MIN
. The default is 005, meaning that the
fan runs at 33% duty cycle when the
temperature is at T
MIN
.
<7:4> Min Speed: Determines the minimum PWM
cycle for Fan 2 in automatic fan speed
control mode.
ADM1031
http://onsemi.com
17
Register 024 Local Temperature T
MIN
/T
RANGE
<7:3> Local Temperature T
MIN
. These bits set the
temperature at which the fan turns on when
under auto fan speed control. T
MIN
can be
programmed in 4C increments.
00000 = 0C
00001 = 4C
00010 = 8C
00011 = 12C
|
|
01000 = 32C (Default)
|
|
11110 = 120C
11111 = 124C
<2:0> Local Temperature T
RANGE
. This nibble sets
the temperature range over which automatic
fan speed control takes place.
000 = 5C
001 = 10C
010 = 20C
011 = 40C
100 = 80C
Register 025, 026 Remote 1, 2 Temperature
T
MIN
/T
RANGE
<7:3> Remote Temperature T
MIN
. Sets the
temperature at which the fan switches on
based on Remote X Temperature Readings.
00000 = 0C
00001 = 4C
00010 = 8C
00011 = 12C
|
|
01100 = 48C
|
|
11110 = 120C
11111 = 124C
<2:0> Remote Temperature T
RANGE
. This nibble
sets the temperature range over which the fan
is controlled based on remote temperature
readings.
000 = 5C
001 = 10C
010 = 20C
011 = 40C
100 = 80C
Filtered Control Mode
The automatic fan speed control loop reacts
instantaneously to changes in temperature, that is, the PWM
duty cycle responds immediately to temperature change. In
certain circumstances, we do not want the PWM output to
react instantaneously to temperature changes. If significant
variations in temperature are found in a system, the fan
speed changes, which could be obvious to someone in close
proximity. One way to improve the system’s acoustics
would be to slow down the loop so that the fan ramps slowly
to its newly calculated fan speed. This also ensures that
temperature transients are effectively ignored, and the fan’s
operation is smooth.
There are two means by which to apply filtering to the
automatic fan speed control loop. The first method is to ramp
the fan speed at a predetermined rate, to its newly calculated
value instead of jumping directly to the new fan speed. The
second approach involves changing the on-chip ADC
sample rate, to change the number of temperature readings
taken per second.
The filtered mode on the ADM1031 is invoked by setting
Bit 0 of the fan filter register (Register 023) for Fan 1 and
Bit 1 for Fan 2. Once the fan filter register has been written
to, and all other control loop parameters (such as T
MIN
,
T
RANGE
) have been programmed, the device can be placed
into automatic fan speed control mode by setting Bit 7 of
Configuration Register 1 (Register 000) to 1.
Effect of Ramp Rate on Filtered Mode
Bits <6:5> of the fan filter register determine the ramp
rate in filtered mode. The PWM_OUT signal driving the fan
has a period, T, given by the PWM_OUT drive frequency,
f, since T = 1/f. For a given PWM period, T, the PWM period
is subdivided in to 240 equal time slots. One time slot
corresponds to the smallest possible increment in PWM duty
cycle. A PWM signal of 33% duty cycle is thus high for
1/3 240 time slots and low for 2/3 240 time slots.
Therefore, 33% PWM duty cycle corresponds to a signal
that is high for 80 time slots and low for 160 time slots.
Figure 27. 33% PWM Duty Cycle Represented
in Time Slots
80 TIME
SLOTS
160 TIME
SLOTS
PWM_OUT
33% DUTY
CYCLE
PWM OUTPUT
(ONE PERIOD) =
240 TIME SLOTS
The ramp rates in filtered mode are selectable between 1,
2, 4, and 8. The ramp rates are actually discrete time slots.
For example, if the ramp rate = 8, then eight time slots are
added to the PWM_OUT high duty cycle each time the
PWM_OUT duty cycle needs to be increased. Figure 28
shows how the filtered mode algorithm operates.
ADM1031
http://onsemi.com
18
Figure 28. Filtered Mode Algorithm
READ
TEMPERATURE
CALCULATE
NEW PWM
DUTY CYCLE
INCREMENT
PREVIOUS PWM
VALUE BY RAMP
RATE
DECREMENT
PREVIOUS
PWM VALUE
BY RAMP RATE
IS NEW
PWM VALUE >
PREVIOUS
VAULE?
NO
YES
The filtered mode algorithm calculates a new PWM duty
cycle based on the temperature measured. If the new PWM
duty cycle value is greater than the previous PWM value, the
previous PWM duty cycle value is incremented by either 1,
2, 4, or 8 time slots (depending on the setting of bits <6:5>
of the fan filter register). If the new PWM duty cycle value
is less than the previous PWM value, the previous PWM
duty cycle is decremented by 1, 2, 4, or 8 time slots. Each
time the PWM duty cycle is incremented or decremented, it
is stored as the previous PWM duty cycle for the next
comparison.
What does an increase of 1, 2, 4, or 8 time slots
actually mean in terms of PWM duty cycle?
A ramp rate of 1 corresponds to one time slot, which is
1/240 of the PWM period. In filtered auto fan speed control
mode, incrementing or decrementing by 1 changes the PWM
output duty cycle by 0.416%.
Table 12. EFFECT OF RAMP RATES ON PWM_OUT
Ramp Rate PWM Duty Cycle Change
1 0.416%
2 0.833%
4 1.66%
8 3.33%
So programming a ramp rate of 1, 2, 4, or 8 simply
increases or decreases the PWM duty cycle by the amounts
shown in Table 12, depending on whether the temperature
is increasing or decreasing.
Figure 29 shows remote temperature plotted against
PWM duty cycle for filtered mode. The ADC sample rate is
the highest sample rate; 11.25 kHz. The ramp rate is set to
8, which would correspond to the fastest ramp rate. With
these settings, it took approximately 12 seconds to go from
0% duty cycle to 100% duty cycle (full-speed). The T
MIN
value = 32C and the T
RANGE
=80C. Even though the
temperature increased very rapidly, the fan gradually ramps
up to full speed.
Figure 29. Filtered Mode with Ramp Rate = 8
TIME (s)
R
TEMP
(C)
0
PWM DUTY CYCLE
(
%
)
12
0
20
40
60
80
100
120
0
20
40
60
80
100
120
140
PWM DUTY CYCLE
R
TEMP
Figure 30 shows how changing the ramp rate from 8 to 4
affects the control loop. The overall response of the fan is
slower. Because the ramp rate is reduced, it takes longer for
the fan to achieve full running speed. In this case, it took
approximately 22 seconds for the fan to reach full speed.
Figure 30. Filtered Mode with Ramp Rate = 4
TIME (s)
R
TEMP
(C)
0
PWM DUTY CYCLE (%)
22
0
20
40
60
80
100
140
0
20
40
60
80
100
120
PWM DUTY CYCLE
R
TEMP
120
Figure 31 shows the PWM output response for a ramp rate
of 2. In this instance the fan took about 54 seconds to reach
full running speed.

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