Instrumentation (Chapter 1,0)
Instrumentation (Chapter 1,0)
Instrumentation (Chapter 1,0)
Example:
Measurement systems are set up for one or more of the following functions:
October, 2011 AAiT, Department of Electrical and Computer Engineering Andinet Negash
Chapter 1 Introduction to Instrumentation (ECEG-4201) Page |2
Output(controlled variable)
Energy/material Input
System or Process
Control signal
Measurement
Control elements
System
Comparator/
Error detector
Error Signal Output Signal
Reference Signal
Reference
Signal
Example: Coulomb postulated that the friction between two dry surfaces is
proportional to the normal reaction and is independent of the area of contact.
His hypothesis has since been verified experimentally and is known as
Coulomb‟s law of dry friction.
Others: whether exploring Mars, measuring the brain‟s electrical signals for
diagnostic purposes or setting up robots on an assembly line, measurement is
everywhere. It allows us to understand the phenomena we observe in our
environment by means of experimental deduction and verification and helps us
keep records of results of these observations.
October, 2011 AAiT, Department of Electrical and Computer Engineering Andinet Negash
Chapter 1 Introduction to Instrumentation (ECEG-4201) Page |3
Observer
measurand Sensing
Signal Signal Signal Data
conditioning processing transmission presentation
element
element element element element
Although in a given measurement system on type of element may be missing or may occur
more than once, it is possible to identify the following functional elements.
Sensing element: this is an element which comes first in contact with the process and gives an
output which depends in some way on the variable to be measured.
Example:
October, 2011 AAiT, Department of Electrical and Computer Engineering Andinet Negash
Chapter 1 Introduction to Instrumentation (ECEG-4201) Page |4
If there is more than one sensing element in a system, the element in contact with the process
is termed the primary sensing element, the others secondary sensing elements.
All sensors extract some energy from the measurand medium which implies that the
measurand is always disturbed by the measurement system. Nonetheless, we shall always
assume that a measurement system has an input of the true value of the variable being
measured and an output of the measured value.
Example: insertion of a cold thermometer into a hot liquid lowers the temperature of a liquid
and so altering the temperature being measured.
N.B. The term transducer is often used in relation to measurement systems. Transducers are
defined as elements that convert a change in some physical variable into a related change in
some other physical variable. It is generally used for an element that converts a change in
some physical variable into an electrical signal change. Thus sensors can be transducers.
However, a measurement system may use transducers, in addition to sensors, in other parts of
the system to convert signals from one form to another.
Signal conditioning element: This takes the output of the sensing element and converts it into
a form more suitable for further processing, usually a d.c. voltage, d.c. current or frequency
signal.
Example:
Signal processing element: This takes the output of the conditioning element and converts it
into a form more suitable for presentation.
Example:
Analogue-to-digital converter (ADC) which converts a voltage into a digital form for
input to a computer
Computer which calculates the measured value of the variable from the incoming digital
data.
Computation of total mass of product gas from flow rate and density data
October, 2011 AAiT, Department of Electrical and Computer Engineering Andinet Negash
Chapter 1 Introduction to Instrumentation (ECEG-4201) Page |5
Signal transmission element: when the elements of the system are physically separated, it is
necessary to transmit the data from one stage to other. Note that this element is not a subject
of discussion in this course; enthusiastic students are encouraged to read on this subject
elsewhere.
Data presentation element: communicates the information about the measurand to the human
observer or presents it in an intelligible form. The presented data may be used by the system
for monitoring, controlling, or analyzing purposes.
Example:
Monitoring- VDU
Recording-magnetic tapes
Exercise1: Fig. 1.4 represents a moving coil mechanism for current measurement. The basic
elements are shown in the figure. Identify the functional elements of the of measurement
system.
Exercise: a bourdon tube pressure gage is shown in Figure 1.5. When pressure is applied to
the hollow oval-shaped bent tube, known as the Bourdon tube, it deforms the cross-section of
the tube as well as causing a relative motion, proportional to the applied pressure, of the free
1
Solutions to exercises are not presented in this handout; exercises are meant to be provided and discussed as
part of class room activities.
October, 2011 AAiT, Department of Electrical and Computer Engineering Andinet Negash
Chapter 1 Introduction to Instrumentation (ECEG-4201) Page |6
end of the tube with respect to its fixed end. Identify the functional elements of Bourdon tube
pressure gage.
Standards of Measurement:
Secondary standards: are the basic reference standards employed by industrial measurement
laboratories. These are freely available to the ordinary user of the instruments for checking
and calibration of working standards.
Working standards: are devices that are commercially available and are duly checked and
certified against either the primary or secondary standards. Working standards are very
October, 2011 AAiT, Department of Electrical and Computer Engineering Andinet Negash
Chapter 1 Introduction to Instrumentation (ECEG-4201) Page |7
widely used for calibrating general laboratory instruments, for carrying out comparison of
measurements or for checking the range of accuracy of industrial products.
Exercise: Describe the fundamental units of measurement and the standards defined to
maintain them.
Exercise: Based on the fundamental units, obtain the SI units for the following derived
quantities:
(a) (b)
Figure 1.6 (a) deflection (b) null type instruments
Null type instrument: provided with either a manually operated or automatic
balancing device that generates an equivalent opposing effect to nullify the physical
effect caused by the quantity to be measured.
Exercise: compare the two instruments based on:
i. Dynamic response
ii. Loading effect
2. Manually operated Vs. Automatic types
Any instrument that requires the service of human operator is a manual type of
instrument. The instrument becomes automatic if the manual operation is replaced by
an auxiliary device incorporated in the instrument. An automatic instrument is usually
preferred because the dynamic response of such an instrument is fast and also its
October, 2011 AAiT, Department of Electrical and Computer Engineering Andinet Negash
Chapter 1 Introduction to Instrumentation (ECEG-4201) Page |8
October, 2011 AAiT, Department of Electrical and Computer Engineering Andinet Negash
Chapter 1 Introduction to Instrumentation (ECEG-4201) Page |9
October, 2011 AAiT, Department of Electrical and Computer Engineering Andinet Negash
Chapter 1 Introduction to Instrumentation (ECEG-4201) P a g e | 10
October, 2011 AAiT, Department of Electrical and Computer Engineering Andinet Negash
Chapter 1 Introduction to Instrumentation (ECEG-4201) P a g e | 11
1 𝑥−𝑥 2
−
𝑝 𝑥 = 𝑒 2𝜍 2
2𝜋𝜍 2
𝑦 = 𝑓 𝑥1 , 𝑥2 , 𝑥3 , ⋯ 𝑥𝑖 , ⋯ 𝑥𝑛
However, the probability of such an occurrence is very small. Therefore, the more
realistic way is to square both sides of the above equation which would ensure equal
weightage to positive as well as negative value of uncertainties. Therefore, squaring:
2 2 2 2
𝜕𝑦 2 𝜕𝑦 2 𝜕𝑦 2 𝜕𝑦 2
𝑈2 𝑦 = 𝑈𝑥 1 + 𝑈𝑥 1 + 𝑈𝑥 1 +⋯+ 𝑈𝑥 1 +⋯
𝜕𝑥1 𝜕𝑥1 𝜕𝑥1 𝜕𝑥1
𝜕𝑦 2 2
+ 𝑈𝑥 1
𝜕𝑥1
𝜕𝑦 𝜕𝑦 𝜕𝑦 𝜕𝑦
+ 𝑈𝑥 1 𝑈𝑥 2 + ⋯ + 𝑈𝑥 𝑖 𝑈𝑥 𝑗 + ⋯
𝜕𝑥1 𝜕𝑥2 𝜕𝑥𝑖 𝜕𝑥𝑗
October, 2011 AAiT, Department of Electrical and Computer Engineering Andinet Negash
Chapter 1 Introduction to Instrumentation (ECEG-4201) P a g e | 12
2 2 2 2
𝜕𝑦 2 𝜕𝑦 2 𝜕𝑦 2 𝜕𝑦 2
𝑈𝑦 = ± 𝑈𝑥 1 + 𝑈𝑥 1 + 𝑈𝑥 1 + ⋯+ 𝑈𝑥 1 +⋯
𝜕𝑥1 𝜕𝑥1 𝜕𝑥1 𝜕𝑥1
1
2 2
𝜕𝑦 2
+ 𝑈𝑥 1
𝜕𝑥1
Exercise:
It is required to determine the mass of the body, composed of cylindrical and hemispherical
portions, shown in the following figure, Fig. 1.7. The various dimensions and densities are as
estimated as follows:
𝐿 = 10.0 ± 0.1 𝑐𝑚
𝑅 = 4.00 ± 0.05 𝑐𝑚
r1 R
2R
r2
1 4 3
= 𝜋𝑅 2 𝑙𝜌1 + 𝜋𝑅 𝜌2
2 3
Using the mean value 𝑅, 𝑙, 𝜌1 , and 𝜌2
2
1 4 3
𝑀𝑇 𝑎𝑣 =𝜋 4 10 3.5 + 𝜋4 2.5
2 3
= 1759.29 + 335.10 =2094.33g
October, 2011 AAiT, Department of Electrical and Computer Engineering Andinet Negash
Chapter 1 Introduction to Instrumentation (ECEG-4201) P a g e | 13
𝜕𝑀𝑇
= 2𝜋𝑅𝑙𝜌1 + 2𝜋𝑅𝑙𝜌2
𝜕𝑅
𝜕𝑀𝑇
= 𝜋𝑅 2 𝜌1
𝜕𝑙
𝜕𝑀𝑇
= 𝜋𝑅 2 𝑙
𝜕𝜌1
𝜕𝑀𝑇 2 3
= 𝜋𝑅
𝜕𝜌2 3
2 2 2 2 2 2
𝑈𝑀𝑇 = 2𝜋 4 10 3.5 + 4 2.5 0.05 + 𝜋 4 3.5 0.1
2
2 2 2
2 3 2
+ 𝜋 4 10 0.1 + 𝜋 4 0.05 = 3080.91𝑔2
3
𝑈𝑀𝑇 = 55.51𝑔
Thus, the total mass of the composite body can be expressed as:
𝑀𝑇 = 2094.91 ± 55.51𝑔
Accuracy:
It is the closness of the instrument output to the true value of the measured quantity (as per
standards).
The accuracy of the instrument mainly depends on the inherent limitations of the instrument as
well as on the shortcomings in the measurement process.
October, 2011 AAiT, Department of Electrical and Computer Engineering Andinet Negash
Chapter 1 Introduction to Instrumentation (ECEG-4201) P a g e | 14
The smallest increment in the measured value that can be determined with certainity by the
instrument.
Range:
The input range of an element is specified by the minimum and maximum values of the input, I,
i.e. 𝐼𝑚𝑖𝑛 to 𝐼𝑚𝑎𝑥 .
Span:
Static sensitivity:
October, 2011 AAiT, Department of Electrical and Computer Engineering Andinet Negash
Chapter 1 Introduction to Instrumentation (ECEG-4201) P a g e | 15
The ratio of the magnitude of response (output signal) to the magnitude of the quantity being
measured (input signal), i.e.
Nonlinearity:
𝑂 = 𝐾𝐼 + 𝑎
However, often this ideal relationship is not obeyed and a result we have:
𝑂 𝐼 = 𝐾𝐼 + 𝑎 + 𝑁(𝐼)
OMAX
N(I)
I
IMIN,OMIN IMAX
𝑁
𝑀𝑎𝑥. 𝑛𝑜𝑛𝑙𝑖𝑛𝑒𝑎𝑟𝑖𝑡𝑦 𝑎𝑠 𝑎 𝑝𝑒𝑟𝑐𝑒𝑛𝑡𝑎𝑔𝑒 𝑜𝑓 𝑓. 𝑠. 𝑑. = 𝑥100%
𝑂𝑚𝑎𝑥 − 𝑂𝑚𝑖𝑛
In general, the output 𝑂 depends not only on the signal 𝐼 but on environmental inputs such as
ambient temperature, atmospheric pressure, relative humidity, supply voltage, etc. there are two
aspects of environmental inputs. A modifying input causes the linear sensitivity of the element to
change from 𝐾 𝑡𝑜 𝐾 + 𝐾𝑀 𝐼𝑀 where 𝐼𝑀 is the change in a modifying input from the „standard‟
value. An interfering input causes the intercept or zero bias of the element to change from
𝑎 𝑡𝑜 𝑎 + 𝐾𝐼 𝐼𝐼 where 𝐼𝐼 is the change in the interfering input from the „standard‟ value.
October, 2011 AAiT, Department of Electrical and Computer Engineering Andinet Negash
Chapter 1 Introduction to Instrumentation (ECEG-4201) P a g e | 16
M
I M
+K
=K
=0
pe
M
I
o
Sl
I
0
I I=
II I
+K
=a
b ias
r o- a
Ze s=
bia I
r o-
Ze
Thus, we have
𝑂 𝐼 = 𝐾 + 𝐾𝑀 𝐼𝑀 𝐼 + 𝑎 + 𝐾𝐼 𝐼𝐼 + 𝑁 𝐼
Exercise: Draw the block diagram representation of the generalized model representing the static
characteristics of an element.
October, 2011 AAiT, Department of Electrical and Computer Engineering Andinet Negash
Chapter 1 Introduction to Instrumentation (ECEG-4201) P a g e | 17
Figure: 1.12.
Exercise:
A potentiometer is used for displacement measurement. It consists of a wire-wound resistance
provided with a sliding contact. Assuming that the resistance is distributed linearly along its
length , characterize the change in the supply voltage as modifying/interfering input.
Vs + Vs
x Vout
Hysteresis
It is defined as the magnitude of error caused in the output for a given value of input, when this
value is approached from opposite directions, i.e. from ascending order and then descending
order. This is caused by backslash, elastic deformations, magnetic characterstics, but is mainly
caused due to frictional effects.
October, 2011 AAiT, Department of Electrical and Computer Engineering Andinet Negash
Chapter 1 Introduction to Instrumentation (ECEG-4201) P a g e | 18
O2
ut
p
In
g
si n
ea
cr
de
Omean
ut
p
In
g
in
as
re
c
In
O1
I
Threshold
Ii
Dead band
O
ut
O2
p
In
g
si n
ea
cr
de
Omean
put
In
g
in
as
c re
In
O1
I
Ii
Hysteresis effects are best eliminated by taking the observation both for ascending and
descending values of input and then taking the arithmetic mean.
Dead band:
The largest change of the measurand to which the instrument does not respond.
Backlash:
The maximum distance or angle through which any part of the mechanical system may be moved
in one direction without causing motion of the next part.
Drift:
October, 2011 AAiT, Department of Electrical and Computer Engineering Andinet Negash
Chapter 1 Introduction to Instrumentation (ECEG-4201) P a g e | 19
The variation of the input for a given input caused due to change in the sensitivity of the
instrument due to certain interfering inputs like temperature change, component instabilities, etc.
IM II
Standard Instrument Standard Instrument
Standard Instrument
Elements or system to be
calibrated
1. 𝑶 versus 𝑰 with 𝑰𝑴 = 𝑰𝑰 = 𝟎
If 𝑑𝑖 is the deviation of the polynomial value 𝑂(𝐼𝑖 ) from the data value 𝑂𝑖 , then 𝑑𝑖 =
𝑂 𝐼𝑖 − 𝑂𝑖 . We find a set of coefficients 𝑎0 , 𝑎1 , 𝑎2 , ⋯ , 𝑎𝑞 such that the sum of the
squares of the deviations 𝑑1 2 + 𝑑2 2 + 𝑑3 2 + ⋯ + 𝑑𝑞 2 is a minimum. This involves
solving a set of linear equations. In order to detect any hysteresis separate curve fitting
should be performed on the „up‟ and „down‟ data sets.
𝐻 𝐼 = 𝑂(𝐼)𝑢𝑝 − 𝑂(𝐼)𝑑𝑜𝑤𝑛
If the hysteresis is not significant, the two sets of data can be combined to give a single
polynomial𝑂(𝐼). The slope 𝐾 and zero-bias 𝑎 of the ideal straight line joining
October, 2011 AAiT, Department of Electrical and Computer Engineering Andinet Negash
Chapter 1 Introduction to Instrumentation (ECEG-4201) P a g e | 20
𝐼𝑀𝑖𝑛 , 𝑂𝑀𝑖𝑛 and 𝐼𝑀𝑎𝑥 , 𝑂𝑀𝑎𝑥 can be determined. The non-linear function 𝑁(𝐼) can then
be found as:
𝑁 𝐼 = 𝑂 𝐼 − (𝐾𝐼 + 𝑎)
2. 𝑶 𝒗𝒆𝒔𝒓𝒖𝒔 𝑰𝑴 , 𝑰𝑰 𝒂𝒕 𝒄𝒐𝒏𝒔𝒕𝒂𝒏𝒕 𝑰
We first need to find when environment inputs are interfering, which affect the zero-bias
𝑎. The input I is held constant at 𝐼 = 𝐼𝑀𝑖𝑛 , and one environmental input is changed by a
known amount, the rest being kept at standard values. If there is a resulting change ΔO in
O, then the input II is interfering and the value of the corresponding coefficient 𝐾𝐼 is
𝛥𝑂
given by 𝐾𝐼 = . If there is no change in O, then the input is not interfering; the
𝛥𝐼 𝐼
process is repeated until all interfering inputs are identified and the corresponding 𝐾𝐼
values found.
We now need to identify modifying inputs, i.e. those which affect the sensitivity of the
1
element. The input I is held constant at the mid-range value 2 (𝐼𝑀𝑖𝑛 + 𝐼𝑀𝑎𝑥 ) and each
environmental input is varied in turn by a known amount. If a change in input produces a
change ΔO in O and is not an interfering input, then it must be a modifying input IM and
the value of the corresponding coefficient KM is given by
1 ∆𝑂 2 ∆𝑂
𝐾𝑀 = =
𝐼 ∆𝐼𝑀 𝐼𝑀𝑖𝑛 + 𝐼𝑀𝑎𝑥 ∆𝐼𝑀
Suppose a change in input produces a change ΔO in O and it has already been identified
as an interfering input with a known value of KI. Then we must calculate a non-zero
value of KM before we can be sure that the input is also modifying. Since
𝐼𝑀𝑖𝑛 + 𝐼𝑀𝑎𝑥
∆𝑂 = 𝐾𝐼 ∆𝐼𝐼,𝑀 + 𝐾𝑀 ∆𝐼𝐼,𝑀
2
October, 2011 AAiT, Department of Electrical and Computer Engineering Andinet Negash
Chapter 1 Introduction to Instrumentation (ECEG-4201) P a g e | 21
Then,
2 ∆𝑂
𝐾𝑀 = − 𝐾𝐼
𝐼𝑀𝑖𝑛 + 𝐼𝑀𝑎𝑥 ∆𝐼𝐼,𝑀
𝑏 𝑥𝑖 + 𝑎 𝑥𝑖 2 = 𝑥𝑖 𝑦𝑖
Solving we get:
𝑛 𝑥𝑖 𝑦𝑖 − 𝑥𝑖 𝑦𝑖
𝑎= 2 2
𝑛 𝑥𝑖 − 𝑥𝑖
𝑦𝑖 𝑥𝑖 2 − 𝑥𝑖 𝑦𝑖 𝑥𝑖
𝑏=
𝑛 𝑥𝑖 2 − 𝑥𝑖 2
Exercise:
Obtain the best linear relation in accordance with a least square analysis
Loading effects:
The ideal situation in a measurement system is that when an element used for any
purpose is introduced into the system, the original signal should remain undistorted.
However, under practical conditions the introduction of any element in a system results in
the extraction of energy from the system thereby distorting the original signal.
October, 2011 AAiT, Department of Electrical and Computer Engineering Andinet Negash
Chapter 1 Introduction to Instrumentation (ECEG-4201) P a g e | 22
This distortion may take the form of attenuation (reduction in magnitude), waveform
distortion, phase shift and may be all of these.
The incapability of the system to faithfully measure, record, or control the input signal
(measurand) in undistorted form is called the loading effect.
Eo Load (
Eo Instrument) ZL
When the load is connected across terminals 𝐴 𝑎𝑛𝑑 𝐵, the output voltage 𝐸𝐿 would
be:
𝐸𝑜
𝐸𝐿 =
𝑍
1 + 𝑍𝑜
𝐿
Thus the voltage which is measured is modified both in phase and magnitude. In
order that the original signal 𝐸𝑜 should remain undistorted the value of the input
impedance of the instrument, 𝑍𝐿 , should be infinite (or the value of output impedance
of the source, 𝑍𝑜 , should be equal to zero which is not attained in practice).
2. Loading effect due to a series connected instrument
Consider a network represented by a voltage source having a voltage 𝐸𝑜 and an
output impedance 𝑍𝑜
October, 2011 AAiT, Department of Electrical and Computer Engineering Andinet Negash
Chapter 1 Introduction to Instrumentation (ECEG-4201) P a g e | 23
A
Zo
Io
Eo Load (
Eo Instrument) ZL
The value of current flowing between terminals 𝐴 𝑎𝑛𝑑 𝐵 under ideal conditions is 𝐼𝑂 .
It is the current that flows when the terminals 𝐴 𝑎𝑛𝑑 𝐵 are shorted.
𝐸𝑜
𝐼𝑜 =
𝑍𝑜
When an ammeter is placed between the terminals, the measured value of current will
be
𝐸𝑜 𝐼𝑜 𝑍𝑜 𝐼𝑜
𝐼𝐿 = = =
𝑍𝑜 + 𝑍𝐿 𝑍𝑜 + 𝑍𝐿 1 + 𝑍𝐿
𝑍𝑜
In order that the measured value of current, be equal to the actual value of the current,
𝐼𝑜 , the value of 𝑍𝑜 ≫ 𝑍𝐿 . This means that the input impedance of the ammeter should
be very small as compared to the output impedance of the source.
Exercise:
A 50𝑣 range voltmeter is connected across the terminals 𝐴 𝑎𝑛𝑑 𝐵 of the circuit
shown below. Find the accuracy and the loading error. The voltmeter has a resistance
of 1000𝑘𝛺.
200k
A
100v 200k
October, 2011 AAiT, Department of Electrical and Computer Engineering Andinet Negash
Chapter 1 Introduction to Instrumentation (ECEG-4201) P a g e | 24
i. Time domain
October, 2011 AAiT, Department of Electrical and Computer Engineering Andinet Negash
Chapter 1 Introduction to Instrumentation (ECEG-4201) P a g e | 25
∞
𝐴
𝑅 𝑠 = 𝐴𝑡𝑒 −𝑠𝑡 𝑑𝑡 =
0 𝑠2
Impulse input: or a delta (δ) function is defined as:
𝛿 𝑡 = 0; 𝑡 ≠ 0
𝜖
𝛿 𝑡 𝑑 𝑡 = 1, 𝑤𝑒𝑟𝑒 𝜖 → 0
−𝜖
The Laplace transform of a unit impulse function is 1.Note that a perfect impulse
function is not practically realizable.
The frequency domain analysis of a system pertains to the steady state response of the
system to a sinusoidal input. In this analysis, the system is subjected to a sinusoidal
input and the system response is studied with frequency as the independent variable.
The sinusoid is a unique input signal, and the resulting output signal for a linear
system is sinusoidal in the steady state. However, the output signal differs from the
input waveform in amplitude and phase.
The importance of frequency domain analysis is evident in such cases of a system
subjected to a complex time varying waveforms. According to Fourier analysis,
complex waveforms can be thought of as being composed of sinusoidal signals of
different frequencies.
When a system is subjected to a sinusoidal input,
𝑟 𝑡 = 𝐴𝑖 sin 𝜔𝑡
The output is,
𝑐 𝑡 = 𝐴𝑜 sin(𝜔𝑡 + 𝜑)
where 𝐴𝑖 , 𝐴𝑜 are respectively the amplitudes of input and output and 𝜑 is the phase
difference between the input and the output.
Mathematical models of measurement systems:
A measurement system is a physical system. Therefore, before one can analyze the
system, one must be able to determine the mathematical model of the system.
The input-output relations which define the dynamics of an instrument can be written
in a differential equation. Consider a linear time-invariant system which is defined by
an 𝑛𝑡 order differential equation of the form
𝑑𝑛 𝑐 𝑡 𝑑 𝑛−1 𝑐 𝑡 𝑑𝑐 𝑡
𝑎𝑛 + 𝑎 𝑛−1 + ⋯ + 𝑎 1 + 𝑎0 𝑐 𝑡
𝑑𝑡 𝑛 𝑑𝑡 𝑛 −1 𝑑𝑡
𝑑 𝑚 𝑟(𝑡) 𝑑 𝑚 −1 𝑟(𝑡) 𝑑𝑟(𝑡)
= 𝑏𝑚 + 𝑏𝑚 −1 + ⋯ + 𝑏1 + 𝑏0 𝑟 𝑡
𝑑𝑡 𝑚 𝑑𝑡 𝑚 −1 𝑑𝑡
where, 𝑐 𝑡 𝑎𝑛𝑑 𝑟(𝑡) are the output and input variables, the 𝑎𝑖 ′𝑠, 𝑏𝑖 ′𝑠 are
combimations of system parameters with 𝑛 ≥ 𝑚.
October, 2011 AAiT, Department of Electrical and Computer Engineering Andinet Negash
Chapter 1 Introduction to Instrumentation (ECEG-4201) P a g e | 26
An easy and convenient way of describing of linear systems is the use of transfer
function. The transfer function of a linear time invariant system is defined as the ratio
of the Laplace transform of the output to the Laplace transform of the input variable
with all initial conditions equal to zero. Hence,
𝑎𝑛 𝑠 𝑛 + 𝑎𝑛−1 𝑠 𝑛−1 + ⋯ + 𝑎1 𝑠 + 𝑎0 𝐶 𝑠
= 𝑏𝑚 𝑠 𝑚 + 𝑏𝑚 −1 𝑠 𝑚 −1 + ⋯ + 𝑏1 𝑠 + 𝑏0 𝑅(𝑠)
Therefore, the transfer function of the system is,
𝐶(𝑠) 𝑏𝑚 𝑠 𝑚 + 𝑏𝑚 −1 𝑠 𝑚 −1 + ⋯ + 𝑏1 𝑠 + 𝑏0
𝐺 𝑠 = =
𝑅(𝑠) 𝑎𝑛 𝑠 𝑛 + 𝑎𝑛−1 𝑠 𝑛−1 + ⋯ + 𝑎1 𝑠 + 𝑎0
𝑛≥𝑚
When the transfer function of a physical system is determined; the system can be
represented by a block diagram. Thus,
R(S) C(S)
G(S)
Transfer Function
October, 2011 AAiT, Department of Electrical and Computer Engineering Andinet Negash
Chapter 1 Introduction to Instrumentation (ECEG-4201) P a g e | 27
i
Ei
C eo
𝐸𝑖 1
= 𝑅𝐼 𝑠 + 𝐼(𝑠)
𝑠 𝐶𝑠
𝐸𝑖 1
𝐼 𝑠 =
𝑅 𝑠 + 1/𝑅𝐶
Taking the inverse Laplace transforms,
𝐸𝑖 𝑡
𝑖 𝑡 = 𝑒 −𝑅𝐶
𝑅
October, 2011 AAiT, Department of Electrical and Computer Engineering Andinet Negash
Chapter 1 Introduction to Instrumentation (ECEG-4201) P a g e | 28
Q+qi
Control valve
Load valve
H+h
Q+qo
Therefore,
𝑑
𝐶 = 𝑞𝑖 − 𝑞𝑜
𝑑𝑡
Where 𝑞𝑖 and 𝑞𝑜 are, respectively, change in the inflow and outflow rate from the
steady state value and 𝐶 is the capacitance of the tank defined as:
𝑐𝑎𝑛𝑔𝑒 𝑖𝑛 𝑞𝑢𝑎𝑛𝑡𝑖𝑡𝑦 𝑜𝑓 𝑙𝑖𝑞𝑢𝑖𝑑 𝑠𝑡𝑜𝑟𝑒𝑑
𝐶=
𝑐𝑎𝑛𝑔𝑒 𝑖𝑛 𝑒𝑎𝑑
Since for laminar flow, the resistance 𝑅 = 𝑞 , we get:
𝑜
𝑑
𝑅𝐶 + = 𝑅𝑞𝑖
𝑑𝑡
Taking Laplace transform, we see that
𝑅𝑄𝑖 (𝑠)
𝐻 𝑠 = ; 𝜏 = 𝑅𝐶
1 + 𝜏𝑠
3. Revise your previous lesson in mathematical modeling to extend the discussion to
Mechanical, Thermal and Pneumatic systems. In the process observe analogous
quantities between these systems.
Step response:
Let a unit step input be applied to a first order system, then from previous discussions
in various physical systems:
1 1 𝜏
𝐶 𝑠 =𝐺 𝑠 𝑅 𝑠 = = −
𝑠(1 + 𝜏𝑠) 𝑠 1 + 𝜏𝑠
Plot and the response to see that the response rises exponentially from zero value to
the final value of unity. In fact, the initial slope of the curve is given by:
𝑑𝑐 1 −𝑡 1
= 𝑒 𝜏 =
𝑑𝑡 𝑡=0 𝜏 𝑡=0 𝜏
October, 2011 AAiT, Department of Electrical and Computer Engineering Andinet Negash
Chapter 1 Introduction to Instrumentation (ECEG-4201) P a g e | 29
Thus if the initial rate of change is maintained, the system will reach its final value in
time 𝜏. The output at 𝑡 = 𝜏 is,
𝜏
𝑐 𝑡 = 1 − 𝑒 −𝜏 = 0.632
Thus for a rising exponential function the time constant 𝜏 is the given by the time to
reach 63.2% of its final value.
𝑒𝑠𝑠 = lim 𝑒 𝑡 = 0
𝑡→∞
Thus a first order system tracks step input with zero static error. Furthermore, it could
be noted that assuming a tolerance band of 5%, the system will be able to reach and
stay within the band in just 𝑡𝑠 = 3𝜏. This time, termed settling time, is an important
dynamic characteristic to describe the speed of response of any system. Note also that
the time constant is indicative of how fast the system tends to reach the final value.
Ramp response:
1 1 𝜏 𝜏2
𝐶 𝑠 =𝐺 𝑠 𝑅 𝑠 = 2 = 2− +
𝑠 1 + 𝜏𝑠 𝑠 𝑠 1+𝑠
𝑒𝑠𝑠 = lim 𝑒 𝑡 = 𝐴𝜏
𝑡→∞
Thus the first order system will track the unit ramp input with a steady state error of
𝐴𝜏.
October, 2011 AAiT, Department of Electrical and Computer Engineering Andinet Negash
Chapter 1 Introduction to Instrumentation (ECEG-4201) P a g e | 30
Impulse response:
𝐴
𝐶 𝑠 =𝐺 𝑠 𝑅 𝑠 =
1 + 𝜏𝑠
𝐴 −𝑡
𝑐 𝑡 = 𝑒 𝜏
𝜏
𝑑2 𝑐 𝑡 𝑑𝑐 𝑡
𝑎2 + 𝑎1 + 𝑎0 𝑐 𝑡 = 𝑏0 𝑟 𝑡
𝑑𝑡 2 𝑑𝑡
Which gives,
1 𝑑2 𝑐 𝑡 2𝜉 𝑑𝑐 𝑡
2 2
+ + 𝑐 𝑡 = 𝐾𝑟 𝑡
𝜔 𝑛 𝑑𝑡 𝜔𝑛 𝑑𝑡
𝑏 𝑎0 𝑎1
Where, 𝐾 = 𝑎0 =static senstivity, 𝜔𝑛 = =natural frequency, 𝜉 = .
0 𝑎2 2 𝑎0 𝑎2
Taking the Laplace transform, we obtain the transfer function:
𝐾𝜔2 𝑛
𝐺 𝑠 = 2
𝑠 + 2𝜉𝜔𝑛 𝑠 + 𝜔 2 𝑛
Exercise: Write a differential equation for the mass-spring-damper system and obtain
𝜉 and 𝜔𝑛
fk
M fD
fD
f
October, 2011 AAiT, Department of Electrical and Computer Engineering Andinet Negash
Chapter 1 Introduction to Instrumentation (ECEG-4201) P a g e | 31
𝜉− 𝜉2 − 1 𝜉 2 −1 𝜔 𝑛 𝑡
+ 𝑒 −𝜉−
2 𝜉2 − 1
case ii. Critically damped system
In this case:
𝑐 𝑡 = 1 − 1 + 𝜔𝑛 𝑡 𝑒 −𝜔 𝑛 𝑡
case iii. Under damped system
Come up with the following time domain response:
𝑐 𝑡 𝑒 −𝜉𝜔 𝑛 𝑡
=1− sin 𝜔𝑛 𝜉 2 − 1 𝑡 + cos −1 𝜉
𝐾 1−𝜉 2
October, 2011 AAiT, Department of Electrical and Computer Engineering Andinet Negash
Chapter 1 Introduction to Instrumentation (ECEG-4201) P a g e | 32
Ramp response:
Considering the case of an under damped second order system for 𝑟 𝑡 = 𝑡:
1 𝐾𝜔2 𝑛
𝐶 𝑠 = 2 2
𝑠 𝑠 + 2𝜉𝜔𝑛 𝑠 + 𝜔 2 𝑛
Taking partial fractions and applying inverse Laplace transform:
𝑐 𝑡 2𝜉 𝑒 −𝜉𝜔 𝑛 𝑡
=𝑡− + sin 1 − 𝜉 2 𝜔𝑛 𝑡 + cos −1 𝜉
𝐾 𝜔𝑛 𝜔𝑛 1 − 𝜉 2
The dynamic and the steady state error are given next:
𝑐 𝑡 2𝜉 𝑒 −𝜉𝜔 𝑛 𝑡
𝑒 𝑡 =𝑟 𝑡 − = − sin 1 − 𝜉 2 𝜔𝑛 𝑡 + cos −1 𝜉
𝐾 𝜔𝑛 𝜔𝑛 1 − 𝜉 2
2𝜉
𝑒𝑠𝑠 (𝑡) =
𝜔𝑛
Impulse response:
Let a second order system be subjected to an impulse of strength A.
Here we will consider critically damped and under damped systems, which are of
importance to us.
For a critically damped system,
𝑐 𝑡 = 𝐴𝜔𝑛 2 𝑡 𝑒 −𝜉𝜔 𝑛 𝑡
For under damped system,
𝑒 −𝜉𝜔 𝑛 𝑡
𝑐 𝑡 = 𝐴𝜔𝑛 sin 1 − 𝜉 2 𝜔𝑛 𝑡
1−𝜉 2
October, 2011 AAiT, Department of Electrical and Computer Engineering Andinet Negash
Chapter 1 Introduction to Instrumentation (ECEG-4201) P a g e | 33
Measurement systems are designed with 𝜉 < 1 with the result they exhibit an
oscillatory response. When we use an under damped system, there are certain
properties of interest.
Exercise: obtain time domain specifications in quantitative form:
[1] Rise time, 𝑡𝑟
[2] Peak time, 𝑡𝑝
[3] Peak overshoot, 𝑀𝑝
[4] Settling time, 𝑡𝑠
Frequency response of a first order system:
The transfer function of a first order system is:
1
𝐺 𝑠 =
1 + 𝜏𝑠
The sinusoidal transfer function is then,
1
𝐺 𝑗𝜔 =
1 + 𝑗𝜔𝜏
Suppose the system is subjected to a sinusoidal input:
𝑅 𝑗𝜔 = 𝐴𝑖 sin 𝜔𝑡
1
∴ The output 𝐶 𝑗𝜔 = 𝐺 𝑗𝜔 𝑅 𝑗𝜔 = 1+𝑗𝜔𝜏 𝐴𝑖 sin 𝜔𝑡
The ratio of the output to the input is,
𝐴𝑜 1 1
𝑀= = =
𝐴𝑖 1 + 𝑗𝜔𝜏 1 + 𝜔𝜏 2
Exercise: Plot the magnitude response and the phase angle versus frequency.
Note that the higher the frequency is the higher will be the attenuation of the output and
the greater will be the angle of lag between the output and input.
There is another factor which affects the frequency response of the system and that is the
time constant 𝜏. The greater the time constant, greater is the attenuation of the output and
also the greater is the phase shift between the output and the input.
Frequency response of a second order system:
Let a second order system be subjected to a sinusoidal input
𝑟 𝑡 = 𝐴𝑖 sin 𝜔𝑡
October, 2011 AAiT, Department of Electrical and Computer Engineering Andinet Negash
Chapter 1 Introduction to Instrumentation (ECEG-4201) P a g e | 34
We studied the dynamic response of measurement systems to step, ramp, impulse and sine
wave input signals. These signals are examples of deterministic signals: a deterministic
signal is one whose value at any future time can be exactly predicted.
October, 2011 AAiT, Department of Electrical and Computer Engineering Andinet Negash
Chapter 1 Introduction to Instrumentation (ECEG-4201) P a g e | 35
However, in real measurement applications the input signal to the measurement system is not
deterministic but random.
Five statistical quantities – mean, standard deviation, probability density function, power
spectral density and autocorrelation function –are used to estimate the behavior of random
signals.
However, unwanted electrical signals may also be present in the measurement circuit. The
unwanted signal then may be either random, e.g. signals caused by the random motion of
electrons, or deterministic, e.g. sinusoidal signals at 50 Hz caused by power cables.
Unwanted random signals are usually referred to as noise signals and unwanted deterministic
signals as interference signals.
Internal noise sources
The random, temperature-induced motion of electrons and other charge carriers in resistors
and semiconductors gives rise to a corresponding random voltage which is called thermal or
Johnson noise.
A similar type of noise is called shot noise; this occurs in transistors and is due to random
fluctuations in the rate at which carriers diffuse across a junction. These are characterized by
a uniform power spectral density over a wide range of frequencies.
External noise and interference sources
The most common sources of external interference are nearby a.c. power circuits. These can
produce corresponding sinusoidal interference signals in the measurement circuit, referred to
as mains pick-up or hum. Power distribution lines and heavy rotating machines such as
turbines and generators can cause serious interference.
D.C. power circuits are less likely to cause interference because d.c. voltages are not
coupled capacitively and inductively to the measurement circuit.
However, switching often occurs in both a.c. and d.c. power circuits when equipment such as
motors and turbines is being taken off line or brought back on line. This causes sudden large
changes in power, i.e. steps and pulses, which can produce corresponding transients in the
measurement circuit.
The air in the vicinity of high voltage power circuits can become ionised and a
Corona discharge results. Corona discharge from d.c. circuits can result in random noise in
the measurement circuit and that from a.c. circuits results in sinusoidal interference at the
power frequency or its second harmonic.
Fluorescent lighting is another common interference source; arcing occurs twice per cycle
so that most of the interference is at twice the power frequency.
Radio-frequency transmitters, welding equipment and electric arc furnaces can produce r.f.
interference at frequencies of several MHz.
October, 2011 AAiT, Department of Electrical and Computer Engineering Andinet Negash