ADM1031
http://onsemi.com
13
How Does the Control Loop Work?
The automatic fan speed control loop is shown in
Figure 21.
Figure 21. Automatic Fan Speed Control Loop
TEMPERATURE
FAN SPEED
T
MIN
MIN
MAX
T
MAX
= T
MIN
+ T
RANGE
SPIN-UP FOR 2 SECONDS
T
MIN
is the temperature at which the fan should switch on
and run at minimum speed. The fan only turns on once the
temperature being measured rises above the T
MIN
value
programmed. The fan spins up for a predetermined time
(default = 2 seconds). See the Fan Spin-Up section for more
details.
T
RANGE
is the temperature range over which the
ADM1031 automatically adjusts the fan speed. As the
temperature increases beyond T
MIN
, the PWM_OUT duty
cycle increases accordingly. The T
RANGE
parameter
actually defines the fan speed vs. temperature slope of the
control loop.
T
MAX
is the temperature at which the fan is at its
maximum speed. At this temperature, the PWM duty cycle
driving the fan is 100%. T
MAX
is given by T
MIN
+ T
RANGE
.
Since this parameter is the sum of the T
MIN
and T
RANGE
parameters, it does not need to be programmed into a register
on-chip.
A hysteresis value of 5C is included in the control loop
to prevent the fan continuously switching on and off if the
temperature is close to T
MIN
. The fan continues to run until
the temperature drops 5C below T
MIN
.
Figure 22 shows the different control slopes determined
by the T
RANGE
value chosen, and programmed into the
ADM1031. T
MIN
is set to 0C to start all slopes from the
same point. The figure shows how changing the T
RANGE
value affects the PWM duty cycle vs. temperature slope.
Figure 22. PWM Duty Cycle vs. Temperature Slope
(T
RANGE
)
33
40
47
53
60
66
73
80
87
93
100
TEMPERATURE (C)
PWM DUTY CYCLE (%)
T
MAX
= T
MIN
+ T
RANGE
T
MIN
0 5 10 20 40 60 80
T
RANGE
= 5C
T
RANGE
= 10C
T
RANGE
= 20C
T
RANGE
= 40C
T
RANGE
= 80C
Figure 23 shows how, for a given T
RANGE
, changing the
T
MIN
value affects the loop. Increasing the T
MIN
value
increases the T
MAX
(temperature at which the fan runs full
speed) value, since T
MAX
= T
MIN
+ T
RANGE
. Note, however,
that the PWM duty cycle vs. temperature slope remains
exactly the same. Changing the T
MIN
value merely shifts the
control slope. The T
MIN
can be changed in increments of 4C.
Figure 23. Effect of Increasing T
MIN
Value on
Control Loop
°
33
40
47
53
60
66
73
80
87
93
100
TEMPERATURE (C)
PWM DUTY CYCLE (%)
T
MAX
= T
MIN
+ T
RANGE
T
MIN
020406080
T
RANGE
= 40C
ADM1031
http://onsemi.com
14
Fan Spin-Up
As mentioned in the How Does the Control Loop Work?
section, once the temperature being measured exceeds the
T
MIN
value programmed, the fan turns on at minimum speed
(default = 33% duty cycle). However, the problem with fans
being driven by PWM is that 33% duty cycle is not enough
to reliably start the fan spinning. The solution is to spin the
fan up for a predetermined time, and once the fan has spun
up, its running speed can be reduced in line with the
temperature being measured.
The ADM1031 allows fan spin-up times between 200 ms
and 8 seconds. Bits <2:0> of Fan Characteristics Register 1
(Register 020) and Fan Characteristic Register 2 (Register
021) program the fan spin-up times.
Table 9. FAN SPIN-UP TIMES
Bits 2:0
Spin-Up Time
(Fan Characteristics Registers 1, 2)
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
Once the automatic fan speed control loop parameters
have been chosen, the ADM1031 device can be
programmed. The ADM1031 is placed into automatic fan
speed control mode by setting Bit 7 of Configuration
Register 1 (Register 000). The device powers up in
automatic fan speed control mode by default. The control
mode offers further flexibility in that the user can decide
which temperature channel/channels control each fan.
Table 10. AUTO MODE FAN BEHAVIOR
Bits 6, 5 Control Operation (Configuration Register 1)
00 Remote Temperature 1 Controls Fan 1
Remote Temperature 2 Controls Fan 2
01 Remote Temperature 1 Controls Fan 1 and 2
10 Remote Temperature 2 Controls Fan 1 and 2
11 Maximum Speed Calculated by Local and Remote
Temperature Channels Controls Fans 1 and 2
When Bit 5 and Bit 6 of Configuration Register 1 are both
set to 1, increased flexibility is offered. The local and remote
temperature channels can have independently programmed
control loops with different control parameters. Whichever
control loop calculates the fastest fan speed based on the
temperature being measured, drives the fans.
Figures 24 and 25 show how the fan’s PWM duty cycle is
determined by two independent control loops. This is the
type of auto mode fan behavior seen when Bit 5 and Bit 6 of
Configuration Register 1 are set to 11. Figure 24 shows the
control loop for the local temperature channel. Its T
MIN
value has been programmed to 20C, and its T
RANGE
value
is 40C. The local temperature’s T
MAX
is thus 60C.
Figure 25 shows the control loop for the remote temperature
channel. Its T
MIN
value has been set to 0C, while its
T
RANGE
=80C. Therefore, the remote temperature’s
T
MAX
value is 80C.
Consider if both temperature channels measure 40C.
Both control loops calculate a PWM duty cycle of 66%.
Therefore, the fan is driven at 66% duty cycle. If both
temperature channels measure 20C, the local channel
calculates 33% PWM duty cycle, while the Remote 1
channel calculates 50% PWM duty cycle. Thus, the fans are
driven at 50% PWM duty cycle. Consider the local
temperature measuring 60C while the Remote 1
temperature is measuring 70C. The PWM duty cycle
calculated by the local temperature control loop is 100%
(because the temperature = T
MAX
). The PWM duty cycle
calculated by the Remote 1 temperature control loop at 70C
is approximately 90%. Therefore, the fan runs full-speed
(100% duty cycle). Remember, that the fan speed is based on
the fastest speed calculated, and is not necessarily based on
the highest temperature measured. Depending on the control
loop parameters programmed, a lower temperature on one
channel, can actually calculate a faster speed than a higher
temperature on the other channel.
33
40
47
53
60
66
73
80
87
93
100
Figure 24. Max Speed Calculated by Local
Temperature Control Loop Drives Fan
LOCAL TEMPERATURE (C)
PWM DUTY CYCLE (%)
T
MAX
= T
MIN
+ T
RANGE
T
MIN
02040 60
T
RANGE
= 40C
ADM1031
http://onsemi.com
15
Figure 25. Max Speed Calculated by Remote
Temperature Control Loop Drives Fan
33
40
47
53
60
66
73
80
87
93
100
PWM DUTY CYCLE (%)
REMOTE TEMPERATURE (C)
T
MAX
= T
MIN
+ T
RANGE
T
MIN
02040 7080
T
RANGE
= 80C
Programming the 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. Select automatic fan speed control mode by setting
Bit 7 of Configuration Register 1.
Other Control Loop Parameters
It should be noted that changing the minimum PWM duty
cycle affects the control loop behavior.
Slope 1 of Figure 26 shows T
MIN
set to 0C and the
T
RANGE
chosen is 40C. In this case, the fan’s PWM duty
cycle varies over the range 33% to 100%. The fan runs
full-speed at 40C. If the minimum PWM duty cycle at
which the fan runs at T
MIN
is changed, its effect can be seen
on Slope 2 and Slope 3. Take Case 2, where the minimum
PWM duty cycle is reprogrammed from 33% (default) to
53%.
33
40
53
60
73
80
87
93
100
Figure 26. Effect of Changing Minimum Duty Cycle
on Control Loop with Fixed T
MIN
and T
RANGE
Values
TEMPERATURE (C)
T
MIN
01628 60
1
2
3
40
47
66
PWM DUTY CYCLE (%)
T
RANGE
= 40C
The fan actually reaches full speed at a much lower
temperature, 28C. Case 3 shows that when the minimum
PWM duty cycle is increased to 73%, the temperature at
which the fan runs full speed is 16C. Therefore, the effect
of increasing the minimum PWM duty cycle, with a fixed
T
MIN
and fixed T
RANGE
, is that the fan actually reaches full
speed (T
MAX
) at a lower temperature than T
MIN
+T
RANGE
.
How can T
MAX
be calculated?
In automatic fan speed control mode, the register that
holds the minimum PWM duty cycle at T
MIN
, is the fan
speed configuration register (Register 022). Table 11
shows the relationship between the decimal values written
to the fan speed configuration register and PWM duty cycle
obtained.
Table 11. Programming PWM Duty Cycle
Decimal Value PWM Duty Cycle
00 0%
01 7%
02 14%
03 20%
04 27%
05 33% (Default)
06 40%
07 47%
08 53%
09 60%
10 (00A) 67%
11 (00B) 73%
12 (00C) 80%
13 (00D) 87%
14 (00E) 93%
15 (00F) 100%
The temperature at which the fan runs full-speed (100%
duty cycle) is given by:
(eq. 2)
T
MAX
+ T
MIN
) ((Max DC * Min DC) T
RAN
G
E
ń10)
where:
T
MAX
= Temperature at which fan runs full-speed
T
MIN
= Temperature at which fan will turn on
Max DC = Maximum Duty Cycle (100%) = 15 decimal
Min DC = Duty Cycle at T
MIN
, programmed into
Fan Speed Config Register
(default = 33% = 5 decimal)
T
RANGE
= PWM Duty Cycle vs. Temperature Slope
Example 1:
T
MIN
= 0C, T
RANGE
= 40C
Min DC = 53% = 8 decimal (Table 11)

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