ADM1030
http://onsemi.com
16
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 0x00 Configuration Register 1
<7> Logic 1 selects Automatic Fan Speed
Control, Logic 0 selects software control
(Default = 1).
<6:5> 00 = Remote Temperature controls Fan
11 = Fastest Calculated Speed controls the
fan when Bit 7 = Logic 1.
Register 0x20 Fan Characteristics Register 1
<2:0> Fan 1 Spin-up Time
000 = 200 ms
001 = 400 ms
010 = 600 ms
011 = 800 ms
100 = 1 sec
101 = 2 secs (Default)
110 = 4 secs
111 = 8 secs
<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 0x22 Fan Speed Configuration Register
<3:0> Min Speed: This nibble contains the speed at
which the fan will run when the temperature
is at T
MIN
. The default is 0x05, meaning that
the fan will run at 33% duty cycle when the
temperature is at T
MIN
.
Register 0x24 Local Temp T
MIN
/T
RANGE
<7:3> Local Temp T
MIN
. These bits set the
temperature at which the fan will turn on
when under Auto Fan Speed Control. T
MIN
can be programmed in 4C increments.
00000 = 0C
00001 = 4C
00010 = 8
C
00011 = 12
C
|
|
01000 = 32C (Default)
|
|
11110 = 120
C
11111 = 124C
<2:0> Local Temperature T
RANGE
. This nibble sets
the temperature range over which Automatic
Fan Speed Control takes place.
000 = 5
C
001 = 10
C
010 = 20C
011 = 40
C
100 = 80C
Register 0x25 Remote Temperature T
MIN
/T
RANGE
<7:3> Remote Temperature T
MIN
. Sets the
temperature at which the fan will switch on
based on Remote Temperature Readings.
00000 = 0
C
00001 = 4C
00010 = 8C
00011 = 12
C
|
|
01100 = 48
C
|
|
11110 = 120
C
11111 = 124
C
<2:0> Remote Temperature T
RANGE
. This nibble
sets the temperature range over which the fan
will be controlled based on Remote
Temperature readings.
000 = 5
C
001 = 10C
010 = 20
C
011 = 40C
100 = 80
C
ADM1030
http://onsemi.com
17
Filtered Control Mode
The Automatic Fan Speed Control Loop reacts
instantaneously to changes in temperature, i.e., the PWM
duty cycle will respond immediately to temperature change.
In certain circumstances, we may not want the PWM output
to react instantaneously to temperature changes. If
significant variations in temperature were found in a system,
it would have the effect of changing the fan speed, 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 will
effectively be ignored, and the fan’s operation will be
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 ADM1030 is invoked by setting
Bit 0 of the Fan Filter Register (Register 0x23). Once the Fan
Filter Register has been written to, and all other control loop
parameters (T
MIN
, T
RANGE
, etc.) have been programmed,
the device may be placed into Automatic Fan Speed Control
Mode by setting Bit 7 of Configuration Register 1 (Register
0x00) 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 will have 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 into 240 equal time slots. One
time slot corresponds to the smallest possible increment in
PWM duty cycle. A PWM signal of 33% duty cycle will thus
be high for 1/3 240 time slots and low for 2/3 240 time
slots. Therefore, 33% PWM duty cycle corresponds to a
signal which 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 will
be 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.
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.
So 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 9, 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
ADM1030
http://onsemi.com
18
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. It can be seen
that 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. Since 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.
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 Figures 29 through 32, the rate at
which the fan will react to temperature change is dependent
on the ramp rate selected in the Fan Filter Register. The
higher the ramp rate, the faster the fan will reach the newly
calculated fan speed.
Figure 33 shows the behavior of the PWM output as
temperature varies. As the temperature is rising, the fan
speed will ramp up. Small drops in temperature will not
affect the ramp-up function since the newly calculated fan
speed will still be higher than the previous PWM value. The

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