# Nonlinearities of Darlington airflow sensor and VFC compensate each other

Self-heated thermal airflow sensors are simple, cheap, rugged, and sensitive. However, they exhibit an airspeed to sensor temperature response (King’s Law) that is very nonlinear, as shown in Figure 1

Figure 1 The TO-92 junction temperature delta versus air speed at 320mW showing the nonlinear relationship between airflow and sensor temperature.

Wow the engineering world with your unique design: Design Ideas Submission Guide

The Figure 1 curve conforms to the empirical formula below, relating junction temperature to power dissipation and airspeed for a self-heated transistor in TO-92:

Tj = Pd(Zj + 1/(Cs + K√Sa))

where:
Tj = junction temperature rise above ambient (oC)
Pd = junction power dissipation (W)
Zj = junction-to-case thermal impedance = 44°C/W
Cs = still-air case-to-ambient conductivity = 6.4 mW/°C
K = “King’s Law” thermal diffusion constant = 0.75 mW/°C/√fpm
Sa = air speed in fpm

Figure 2 shows a practical thermal sensor circuit organized around a Darlington transistor pair: Q1 and Q2.

Figure 2 The self-heated Darlington thermal airflow sensor.

Q1 plays the role of self-heated sensor. Its Vbe tempco converts temperature into voltage at -1.5mV/oC. LM10 200mV reference A1 regulates Q1 current to 0.2V/R3 = 67 mA, thereby forcing Q1’s power dissipation to a constant 67 mA * 4.8 V = 320 mW. The resulting ambient versus junction temperature differential provides an airspeed readout as it cools from 64oC at 0 fpm, to 22oC at 2000 fpm, with a corresponding 63 mV rise in Vbe from 654 mV at 0 fpm to 717 mV at 2000 fpm.

Meanwhile, Q2 provides airspeed-independent ambient temperature compensation.

Feedback through R4 and the accompanying resistor network set a 0-2000 fpm = 0-5 V scale factor with R6 providing zero-flow adjustment. But if meaningful conversion and acquisition of the flow signal are to happen, something will have to be done about that hideous nonlinearity.

Figure 3 is that something.

Figure 3 The nonlinear VFC is shown, with U1 configured in a 555 astable topology and a Vin resistor network, providing a solution for the previous nonlinearity.

U1 is configured in a fairly typical 555 astable topology, except that the Vin resistor network acts to offset Vthr proportionately to Vin. Thus, as Vin moves from 0 to 5 V, corresponding to an airspeed excursion from 0 to 2000 fpm, the maxima of the Vthr timing ramp begin moving from just barely above the 2/3V+ threshold (corresponding to ~0 Hz), while the minima approach that limit (corresponding to ~2000 Hz). So, as Vin increases in response to increasing airspeed, the timing ramp at pin 6 has a steadily decreasing amplitude. This increases the rate of Hz versus fpm to cancel the opposite behavior of King’s Law (Figure 4’s red curve).

The resultant strongly nonlinear V to F conversion curve provides reasonable linearity compensation of Figure 2’s sensor strongly nonlinear response, as shown in Figure 4’s blue curve to yield a net 1 Hz = 1 fpm calibration.

Figure 4 The linearized VFC airflow response (blue) where the increasing rate of Hz versus fpm cancels the nonlinear effects of King’s Law to yield a 1 Hz = 1 fpm calibration.

Finally, Figure 3’s Q1 PNP current source probably needs a word of explanation. Its ~-2mV/ oC Vbe temperature dependence, in combination with the surrounding Rs, causes its collector current to have an ~+0.3%/oC tempco, which would seem to be a bad thing for conversion accuracy. But it’s just the opposite, Q1’s tempco improves the accuracy of the air speed measurement by compensating for the variation of air density with temperature.

According to ol’ Jacques Clapeyron’s 1834 Ideal Gas Law (PV = nRT), air density (molecules per unit volume = n/V), and therefore heat capacity per unit volume, is inversely proportional to absolute temperature (n/V = P/R/T). Therefore, an accurate measurement of air speed, which is proportional to air volume, implies a direct relationship to absolute temperature, equaling about +0.3%/oC at “room” temperature. Rising ambient temperature causes Q1’s rising collector current to speed up U1’s oscillation frequency by just that factor.

So. Kudos to Q1.

Stephen Woodward’s relationship with EDN’s DI column goes back quite a ways. In all, a total of 64 submissions have been accepted since his first contribution was published in 1974.

Related Content

<!–