Suvarna Garge (Editor)

Transfer function

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

In engineering, a transfer function (also known as system function or network function and, when plotted as a graph, transfer curve) is a mathematical representation for fit or to describe inputs and outputs of black box models.

Contents

Typically it is a representation in terms of spatial or temporal frequency, of the relation between the input and output of a linear time-invariant (LTI) system with zero initial conditions and zero-point equilibrium. For optical imaging devices, for example, the optical transfer function is the Fourier transform of the point spread function (hence a function of spatial frequency) i.e., the intensity distribution caused by a point object in the field of view. A number of sources however use "transfer function" to mean some input-output characteristic in direct physical measures (e.g., output voltage as a function of input voltage of a two-port network) rather than its transform to the s-plane.

Linear time-invariant systems

Transfer functions are commonly used in the analysis of systems such as single-input single-output filters, typically within the fields of signal processing, communication theory, and control theory. The term is often used exclusively to refer to linear time-invariant (LTI) systems, as covered in this article. Most real systems have non-linear input/output characteristics, but many systems, when operated within nominal parameters (not "over-driven") have behavior that is close enough to linear that LTI system theory is an acceptable representation of the input/output behavior.

The descriptions below are given in terms of a complex variable, s = σ + j ω , which bears a brief explanation. In many applications, it is sufficient to define σ = 0 (and s = j ω ), which reduces the Laplace transforms with complex arguments to Fourier transforms with real argument ω. The applications where this is common are ones where there is interest only in the steady-state response of an LTI system, not the fleeting turn-on and turn-off behaviors or stability issues. That is usually the case for signal processing and communication theory.

Thus, for continuous-time input signal x ( t ) and output y ( t ) , the transfer function H ( s ) is the linear mapping of the Laplace transform of the input, X ( s ) = L { x ( t ) } , to the Laplace transform of the output Y ( s ) = L { y ( t ) } :

Y ( s ) = H ( s ) X ( s )

or

H ( s ) = Y ( s ) X ( s ) = L { y ( t ) } L { x ( t ) } .

In discrete-time systems, the relation between an input signal x ( t ) and output y ( t ) is dealt with using the z-transform, and then the transfer function is similarly written as H ( z ) = Y ( z ) X ( z ) and this is often referred to as the pulse-transfer function.

Direct derivation from differential equations

Consider a linear differential equation with constant coefficients

L [ u ] = d n u d t n + a 1 d n 1 u d t n 1 + + a n 1 d u d t + a n u = r ( t )

where u and r are suitably smooth functions of t, and L is the operator defined on the relevant function space, that transforms u into r. That kind of equation can be used to constrain the output function u in terms of the forcing function r. The transfer function can be used to define an operator F [ r ] = u that serves as a right inverse of L, meaning that L [ F [ r ] ] = r .

Solutions of the homogeneous, constant-coefficient differential equation L [ u ] = 0 can be found by trying u = e λ t . That substitution yields the characteristic polynomial

p L ( λ ) = λ n + a 1 λ n 1 + + a n 1 λ + a n

The inhomogeneous case can be easily solved if the input function r is also of the form r ( t ) = e s t . In that case, by substituting u = H ( s ) e s t one finds that L [ H ( s ) e s t ] = e s t if we define

H ( s ) = 1 p L ( s ) wherever  p L ( s ) 0.

Taking that as the definition of the transfer function requires careful disambiguation between complex vs. real values, which is traditionally influenced by the interpretation of abs(H(s)) as the gain and -atan(H(s)) as the phase lag. Other definitions of the transfer function are used: for example 1 / p L ( i k ) .

Gain, transient behavior and stability

A general sinusoidal input to a system may be written exp ( j ω i t ) . The response of a system to a sinusoidal input beginning at time t = 0 will consist of the sum of the steady-state response and a transient response. The steady-state response is the output of the system in the limit of infinite time, and the transient response is the difference between the response and the steady state response (It corresponds to the homogeneous solution of the above differential equation.) The transfer function for an LTI system may be written as the product:

H ( s ) = i = 1 N 1 s s P i

where sPi are the N roots of the characteristic polynomial and will therefore be the poles of the transfer function. Consider the case of a transfer function with a single pole H ( s ) = 1 s s P where s P = σ P + j ω P . The Laplace transform of a general sinusoid of unit amplitude will be 1 s j ω i . The Laplace transform of the output will be H ( s ) ( s j ω i ) and the temporal output will be the inverse Laplace transform of that function:

g ( t ) = e j ω i t e ( σ P + j ω P ) t σ P + j ( ω i ω P )

The second term in the numerator is the transient response, and in the limit of infinite time it will diverge to infinity if σP is positive. In order for a system to be stable, its transfer function must have no poles whose real parts are positive. If the transfer function is strictly stable, the real parts of all poles will be negative, and the transient behavior will tend to zero in the limit of infinite time. The steady-state output will be:

g ( ) = e j ω i t σ P + j ( ω i ω P )

The frequency response (or "gain") G of the system is defined as the absolute value of the ratio of the input amplitude to the steady-state output amplitude:

G ( ω i ) = | 1 σ P + j ( ω i ω P ) | = 1 σ P 2 + ( ω P ω i ) 2

which is just the absolute value of the transfer function H ( s ) evaluated at j ω i . This result can be shown to be valid for any number of transfer function poles.

Signal processing

Let x ( t )   be the input to a general linear time-invariant system, and y ( t )   be the output, and the bilateral Laplace transform of x ( t )   and y ( t )   be

X ( s ) = L { x ( t ) }   = d e f   x ( t ) e s t d t , Y ( s ) = L { y ( t ) }   = d e f   y ( t ) e s t d t .

Then the output is related to the input by the transfer function H ( s ) as

Y ( s ) = H ( s ) X ( s )

and the transfer function itself is therefore

H ( s ) = Y ( s ) X ( s ) .

In particular, if a complex harmonic signal with a sinusoidal component with amplitude | X |   , angular frequency ω   and phase arg ( X )   , where arg is the argument

x ( t ) = X e j ω t = | X | e j ( ω t + arg ( X ) ) where X = | X | e j arg ( X )

is input to a linear time-invariant system, then the corresponding component in the output is:

y ( t ) = Y e j ω t = | Y | e j ( ω t + arg ( Y ) ) , Y = | Y | e j arg ( Y ) .

Note that, in a linear time-invariant system, the input frequency ω   has not changed, only the amplitude and the phase angle of the sinusoid has been changed by the system. The frequency response H ( j ω )   describes this change for every frequency ω   in terms of gain:

G ( ω ) = | Y | | X | = | H ( j ω ) |  

and phase shift:

ϕ ( ω ) = arg ( Y ) arg ( X ) = arg ( H ( j ω ) ) .

The phase delay (i.e., the frequency-dependent amount of delay introduced to the sinusoid by the transfer function) is:

τ ϕ ( ω ) = ϕ ( ω ) ω .

The group delay (i.e., the frequency-dependent amount of delay introduced to the envelope of the sinusoid by the transfer function) is found by computing the derivative of the phase shift with respect to angular frequency ω   ,

τ g ( ω ) = d ϕ ( ω ) d ω .

The transfer function can also be shown using the Fourier transform which is only a special case of the bilateral Laplace transform for the case where s = j ω .

Common transfer function families

While any LTI system can be described by some transfer function or another, there are certain "families" of special transfer functions that are commonly used. Typical infinite impulse response filters are designed to implement one of these special transfer functions.

Some common transfer function families and their particular characteristics are:

  • Butterworth filter – maximally flat in passband and stopband for the given order
  • Chebyshev filter (Type I) – maximally flat in stopband, sharper cutoff than a Butterworth filter of the same order
  • Chebyshev filter (Type II) – maximally flat in passband, sharper cutoff than a Butterworth filter of the same order
  • Bessel filter – best pulse response for a given order because it has no group delay ripple
  • Elliptic filter – sharpest cutoff (narrowest transition between pass band and stop band) for the given order
  • Optimum "L" filter
  • Gaussian filter – minimum group delay; gives no overshoot to a step function
  • Hourglass filter
  • Raised-cosine filter
  • Control engineering

    In control engineering and control theory the transfer function is derived using the Laplace transform.

    The transfer function was the primary tool used in classical control engineering. However, it has proven to be unwieldy for the analysis of multiple-input multiple-output (MIMO) systems, and has been largely supplanted by state space representations for such systems. In spite of this, a transfer matrix can be always obtained for any linear system, in order to analyze its dynamics and other properties: each element of a transfer matrix is a transfer function relating a particular input variable to an output variable.

    A useful representation bridging state space and transfer function methods was proposed by Howard H. Rosenbrock and is referred to as Rosenbrock system matrix.

    Optics

    In optics, modulation transfer function indicates the capability of optical contrast transmission.

    For example, when observing a series of black-white-light fringes drawn with a specific spatial frequency, the image quality may decay. White fringes fade while black ones turn brighter.

    The modulation transfer function in a specific spatial frequency is defined by:

    M T F ( f ) = M ( i m a g e ) M ( s o u r c e )

    Where modulation (M) is computed from the following image or light brightness:

    M = L max L min L max + L min .

    Non-linear systems

    Transfer functions do not properly exist for many non-linear systems. For example, they do not exist for relaxation oscillators; however, describing functions can sometimes be used to approximate such nonlinear time-invariant systems.

    References

    Transfer function Wikipedia