Time constant

In physics and engineering, the time constant, usually denoted by the Greek letter $τ$ (tau), is the parameter characterizing the response to a step input of a first-order, linear time-invariant (LTI) system. The time constant is the main characteristic unit of a first-order LTI system. It gives speed of the response.

In the time domain, the usual choice to explore the time response is through the step response to a step input, or the impulse response to a Dirac delta function input. In the frequency domain (for example, looking at the Fourier transform of the step response, or using an input that is a simple sinusoidal function of time) the time constant also determines the bandwidth of a first-order time-invariant system, that is, the frequency at which the output signal power drops to half the value it has at low frequencies.

The time constant is also used to characterize the frequency response of various signal processing systems – magnetic tapes, radio transmitters and receivers, record cutting and replay equipment, and digital filters – which can be modelled or approximated by first-order LTI systems. Other examples include time constant used in control systems for integral and derivative action controllers, which are often pneumatic, rather than electrical.

Time constants are a feature of the lumped system analysis (lumped capacity analysis method) for thermal systems, used when objects cool or warm uniformly under the influence of convective cooling or warming.

Physically, the time constant represents the elapsed time required for the system response to decay to zero if the system had continued to decay at the initial rate, because of the progressive change in the rate of decay the response will have actually decreased in value to $1&thinsp;/&thinsp;e ≈ 36.8%$ in this time (say from a step decrease). In an increasing system, the time constant is the time for the system's step response to reach $1 − 1&thinsp;/&thinsp;e ≈ 63.2%$ of its final (asymptotic) value (say from a step increase). In radioactive decay the time constant is related to the decay constant (λ), and it represents both the mean lifetime of a decaying system (such as an atom) before it decays, or the time it takes for all but 36.8% of the atoms to decay. For this reason, the time constant is longer than the half-life, which is the time for only 50% of the atoms to decay.

Differential equation
First order LTI systems are characterized by the differential equation $$ \tau \frac{dV}{dt} + V = f(t) $$

where $τ$ represents the exponential decay constant and $V$ is a function of time $t$ $$ V = V(t). $$ The right-hand side is the forcing function $f(t)$ describing an external driving function of time, which can be regarded as the system input, to which $V(t)$ is the response, or system output. Classical examples for $f(t)$ are:

The Heaviside step function, often denoted by $u(t)$: $$u(t) = \begin{cases} 0, & t < 0 \\ 1, & t \ge 0 \end{cases} $$ the impulse function, often denoted by $δ(t)$, and also the sinusoidal input function: $$ f(t) = A \sin(2 \pi f t) $$ or $$ f(t) = A e^{j \omega t }, $$ where $A$ is the amplitude of the forcing function, $f$ is the frequency in Hertz, and $ω = 2π f$ is the frequency in radians per second.

Example solution
An example solution to the differential equation with initial value $V_{0}$ and no forcing function is $$ V(t) = V_0 e^{-t / \tau} $$

where $$ V_0 = V(t=0) $$

is the initial value of $V$. Thus, the response is an exponential decay with time constant $τ$.

Discussion
Suppose $$ V(t) = V_0 e^{-t / \tau}. $$

This behavior is referred to as a "decaying" exponential function. The time $τ$ (tau) is referred to as the "time constant" and can be used (as in this case) to indicate how rapidly an exponential function decays.

Here:
 * $t$ is time (generally $t > 0$ in control engineering)
 * $V_{0}$ is the initial value (see "specific cases" below).

Specific cases
After a period of one time constant the function reaches $e^{−1}$ = approximately 37% of its initial value. In case 4, after five time constants the function reaches a value less than 1% of its original. In most cases this 1% threshold is considered sufficient to assume that the function has decayed to zero – as a rule of thumb, in control engineering a stable system is one that exhibits such an overall damped behavior.
 * 1) Let $$t=0$$; then $$V = V_0 e^0$$, and so $$V=V_0$$
 * 2) Let $$t= \tau$$; then $$V=V_0 e^{-1} \approx 0.37 V_0 $$
 * 3) Let $$V = f(t) = V_0 e^{-t / \tau}$$, and so $ \lim_{t \to \infty}f(t) = 0 $
 * 4) Let $$t=5 \tau$$; then $$V = V_0 e^{-5} \approx 0.0067V_0 $$

Relation of time constant to bandwidth
Suppose the forcing function is chosen as sinusoidal so:

$$ \tau \frac{dV}{dt} + V = f(t) = Ae^{j \omega t }. $$

(Response to a real cosine or sine wave input can be obtained by taking the real or imaginary part of the final result by virtue of Euler's formula.) The general solution to this equation for times $f_{3dB}$, assuming $t ≥ 0 s$ is:

$$\begin{align} V(t) &= V_0e^{-t/\tau} + \frac{Ae^{-t/\tau}}{\tau}\int_0^t \, dt'\ e^{t'/\tau} e^{j\omega t'} \\[1ex] &= V_0 e^{-t/\tau} + \frac{\frac 1 \tau}{j\omega + \frac 1 \tau} A\left( e^{j \omega t} - e^{-t/\tau}\right). \end{align}$$

For long times the decaying exponentials become negligible and the steady-state solution or long-time solution is:

$$ V_{\infty}(t) = \frac{1/\tau}{j\omega +1/\tau}Ae^{j \omega t}.$$

The magnitude of this response is: $$ |V_{\infty}(t)| = A\frac{1}{\tau\left(\omega^2 +(1/\tau)^2\right)^{1/2}} = A \frac{1}{\sqrt{1+(\omega \tau)^2 }}.$$ By convention, the bandwidth of this system is the frequency where $V(t = 0) = V_{0}$ drops to half-value, or where $|V_{∞}|^{2}$. This is the usual bandwidth convention, defined as the frequency range where power drops by less than half (at most &minus;3 dB). Using the frequency in hertz, rather than radians/s ($ωτ = 1$):

$$ f_\mathrm{3dB} = \frac {1}{2 \pi \tau}. $$

The notation $ω = 2πf$ stems from the expression of power in decibels and the observation that half-power corresponds to a drop in the value of $f_{3dB}$ by a factor of 1/2 or by 3 decibels.

Thus, the time constant determines the bandwidth of this system.

Step response with arbitrary initial conditions


Suppose the forcing function is chosen as a step input so:

$$ \frac{dV}{dt} + \frac{1}{\tau} V = f(t) = A u(t), $$

with $|V_{∞}|$ the unit step function. The general solution to this equation for times $u(t)$, assuming $t ≥ 0 s$ is:

$$ V(t) = V_0 e^{-t/\tau} + A \tau \left( 1 - e^{-t/\tau}\right).$$

(It may be observed that this response is the $V(t = 0) = V_{0}$ limit of the above response to a sinusoidal input.)

The long-time solution is time independent and independent of initial conditions: $$ V_{\infty} = A \tau. $$

The time constant remains the same for the same system regardless of the starting conditions. Simply stated, a system approaches its final, steady-state situation at a constant rate, regardless of how close it is to that value at any arbitrary starting point.

For example, consider an electric motor whose startup is well modelled by a first-order LTI system. Suppose that when started from rest, the motor takes $τ$ of a second to reach 63% of its nominal speed of 100 RPM, or 63 RPM&mdash;a shortfall of 37 RPM. Then it will be found that after the next $1⁄8$ of a second, the motor has sped up an additional 23 RPM, which equals 63% of that 37 RPM difference. This brings it to 86 RPM&mdash;still 14 RPM low. After a third $1⁄8$ of a second, the motor will have gained an additional 9 RPM (63% of that 14 RPM difference), putting it at 95 RPM.

In fact, given any initial speed s ≤ 100 RPM, $1⁄8$ of a second later this particular motor will have gained an additional 0.63 × (100 − s) RPM.

Time constants in electrical circuits


In an RL circuit composed of a single resistor and inductor, the time constant $$\tau$$ (in seconds) is $$ \tau = \frac{ L }{ R } $$

where R is the resistance (in ohms) and L is the inductance (in henrys).

Similarly, in an RC circuit composed of a single resistor and capacitor, the time constant $$\tau$$ (in seconds) is: $$ \tau = R C $$

where R is the resistance (in ohms) and C is the capacitance (in farads).

Electrical circuits are often more complex than these examples, and may exhibit multiple time constants (See Step response and Pole splitting for some examples.) In the case where feedback is present, a system may exhibit unstable, increasing oscillations. In addition, physical electrical circuits are seldom truly linear systems except for very low amplitude excitations; however, the approximation of linearity is widely used.

In digital electronic circuits another measure, the FO4 is often used. This can be converted to time constant units via the equation $$5\tau = \text{FO4}$$.

Thermal time constant
Time constants are a feature of the lumped system analysis (lumped capacity analysis method) for thermal systems, used when objects cool or warm uniformly under the influence of convective cooling or warming. In this case, the heat transfer from the body to the ambient at a given time is proportional to the temperature difference between the body and the ambient:

$$ F = hA_s \left( T(t) - T_a\right ), $$

where h is the heat transfer coefficient, and As is the surface area, T is the temperature function, i.e., T(t) is the body temperature at time t, and Ta is the constant ambient temperature. The positive sign indicates the convention that F is positive when heat is leaving the body because its temperature is higher than the ambient temperature (F is an outward flux). If heat is lost to the ambient, this heat transfer leads to a drop in temperature of the body given by:

$$ \rho c_p V \frac {dT}{dt} = -F, $$

where ρ = density, cp = specific heat and V is the body volume. The negative sign indicates the temperature drops when the heat transfer is outward from the body (that is, when F > 0). Equating these two expressions for the heat transfer,

$$ \rho c_p V \frac {dT}{dt} = -hA_s \left( T(t) - T_a \right). $$

Evidently, this is a first-order LTI system that can be cast in the form:

$$\frac {dT}{dt} +\frac {1}{\tau} T = \frac{1}{\tau} T_a, $$

with

$$\tau = \frac{\rho c_p V}{hA_s}.$$

In other words, larger masses ρV with higher heat capacities cp lead to slower changes in temperature (longer time constant τ), while larger surface areas As with higher heat transfer h lead to more rapid temperature change (shorter time constant τ).

Comparison with the introductory differential equation suggests the possible generalization to time-varying ambient temperatures Ta. However, retaining the simple constant ambient example, by substituting the variable ΔT ≡ (T − Ta), one finds:

$$\frac {d\Delta T}{dt} +\frac {1}{\tau} \Delta T = 0. $$

Systems for which cooling satisfies the above exponential equation are said to satisfy Newton's law of cooling. The solution to this equation suggests that, in such systems, the difference between the temperature of the system and its surroundings ΔT as a function of time t, is given by:


 * $$ \Delta T(t) = \Delta T_0 e^{-t/\tau}, $$

where ΔT0 is the initial temperature difference, at time t = 0. In words, the body assumes the same temperature as the ambient at an exponentially slow rate determined by the time constant.

Time constants in Biophysics
In an excitable cell such as a muscle or neuron, the time constant of the membrane potential $$\tau$$ is $$\tau = r_m c_m$$

where rm is the resistance across the membrane and cm is the capacitance of the membrane.

The resistance across the membrane is a function of the number of open ion channels and the capacitance is a function of the properties of the lipid bilayer.

The time constant is used to describe the rise and fall of membrane voltage, where the rise is described by $$ V(t) = V_\textrm{max} \left(1 - e^{-t /\tau}\right) $$

and the fall is described by $$ V(t) = V_\textrm{max} e^{-t /\tau} $$

where voltage is in millivolts, time is in seconds, and $$\tau$$ is in seconds.

Vmax is defined as the maximum voltage change from the resting potential, where $$ V_\textrm{max} = r_m I $$

where rm is the resistance across the membrane and I is the membrane current.

Setting for t = $$\tau$$ for the rise sets V(t) equal to 0.63Vmax. This means that the time constant is the time elapsed after 63% of Vmax has been reached

Setting for t = $$\tau$$ for the fall sets V(t) equal to 0.37Vmax, meaning that the time constant is the time elapsed after it has fallen to 37% of Vmax.

The larger a time constant is, the slower the rise or fall of the potential of a neuron. A long time constant can result in temporal summation, or the algebraic summation of repeated potentials. A short time constant rather produces a coincidence detector through spatial summation.

Exponential decay
In exponential decay, such as of a radioactive isotope, the time constant can be interpreted as the mean lifetime. The half-life THL or T1/2 is related to the exponential decay constant $$\tau$$ by $$ T_{1/2} = T_\text{HL} = \tau \ln 2. $$ The reciprocal of the time constant is called the decay constant, and is denoted $\lambda = 1/\tau$.

Meteorological sensors
A time constant is the amount of time it takes for a meteorological sensor to respond to a rapid change in a measure, and until it is measuring values within the accuracy tolerance usually expected of the sensor.

This most often applies to measurements of temperature, dew-point temperature, humidity and air pressure. Radiosondes are especially affected due to their rapid increase in altitude.