Professional Documents
Culture Documents
Some applications for historical reasons (where the cost and effort of changing to a
digital instrument is not justified).
Permanent magnet
Pointer
N
S
Moving coil
Iron core
Spring
The meter consists of a rectangular coil wound round a soft iron core that
is suspended in the field of a permanent magnet. The signal being measured
is applied to the coil, and this produces a radial magnetic field. Interaction
between this induced field and the field produced by the permanent magnet
causes a torque, which results in rotation of the coil. The amount of
rotation of the coil is measured by attaching a pointer to it that moves
past a graduated scale. The theoretical torque produced is given by:
T ¼ BIhwN
where B is the flux density of the radial field, I is the current flowing in
the coil, h is the height of the coil, w is the width of the coil, and N is
the number of turns in the coil. If the iron core is cylindrical and the air
gap between the coil and pole faces of the permanent magnet is uniform,
then the flux density B is constant, and the above equation can be
rewritten as:
T ¼ KI
i.e., the torque is proportional to the coil current and the instrument scale is
linear.
The torque due to the coil current is opposed by the reaction torque of a
torsional spring such that the final rotational displacement of the coil is propor-
tional to the measured current.
4 Chapter 9
p=2 2 p !
10 ut2 ut 2p
¼ ut þ ½cosðut pÞp
p p 0 p p=2
10 p
¼ þ 2 ¼ þ1:366 amps
p 2
For an excitation current I, the torque produced that causes the vane to turn
is given by:
I 2 dM
T¼
2dq
where M is the mutual inductance and q is the angular deflection. Rotation is
opposed by a spring that produces a backwards torque given by:
TS ¼ Kq
At equilibrium, T ¼ TS, and q is therefore given by:
I 2 dM
q¼
2Kdq
The instrument thus has a square-law response where the deflection is propor-
tional to the square of the signal being measured, i.e., the output reading is a
root-mean-squared (rms) quantity.
(b) A moving-iron meter measures rms current.
0 p=2 1
Z Zp 2 Z2p
1 @ 400ut 2
400ðut p=2Þ
2
Irms ¼ 2
dut þ dut þ 400 sin2 ðut pÞdutA
2p ðp=2Þ ðp=2Þ2
0 p=2 p
0
Zp=2 Zp h i
400 @
¼ ut dut þ
2
ut2 put þ ðp=2Þ2 dut
2pðp=2Þ2
0 p=2
1
p2 Z2p ½1 cos 2ðut pÞ
þ dutA
2 2
p
p=2 3 p !
800 ut3 ut put2 p2 ut p2 ut sin 2ðut pÞ2p
¼ 3 þ þ þ
p 3 0 3 2 4 p=2 2 2 4 p
800 p3 p3
¼ 166:66
p3 3 8
Thus,
qffiffiffiffiffiffiffiffiffiffiffiffi pffiffiffiffiffiffiffiffiffiffiffiffiffiffi
Irms ¼ I 2rms ¼ 166:66 ¼ 12:90 amp
6 Chapter 9
1
¼ ð10 þ 10 5pÞ ¼ þ0:683 amps
2p
(b) A moving-iron meter measures rms current.
0 p 1
Z Z2p 2
1 @ 100 sin2 ðutÞdut þ 100ðut pÞ
2
Irms ¼ dutA
2p p2
0 p
0 1
Zp Z2p
100 @ ð1 cos 2utÞ ut2 2put þ p2
¼ dut þ dutA
2p 2 p2
0 p
0 1
p " #2p
100 B 3
B ut sin 2ut þ ðutÞ put þ p ut C
2 2 C
¼ @ A
2p 2 4 0 3p 2 p2 p 2
p
100 p p
¼ þ ¼ 41:67
2p 2 3
Thus,
qffiffiffiffiffiffiffiffiffiffiffiffi
Irms ¼ I 2rms ¼ 6:45 amp
9.7 The bandwidth is defined as the range of frequencies over which the oscilloscope
amplifier gain is within 3 dB of its peak value. This could be illustrated by a sketch
similar to Figure 9.9 in the book.
It is reasonable to expect the student to define the decibel: The dB expresses the ratio
between two quantities. For two voltage levels V1 and V2, the difference between the
two levels is expressed in decibels as 20 log10(V1/V2).
It follows from this that the 3 dB point is where the gain is 0.707 times its
maximum value. The derivation of this should be given as:
20 log10 ð0:7071Þ ¼ 3 dB
Solutions for Chapter 9 7
9.9 The student should draw a block diagram similar to that in Figure 9.12 of the book.
The explanation of the mode of operation should cover the following points:
The first component is an amplifier/attenuator unit that allows the magnitude of the
input voltage signal to be adjusted to an appropriate level.
The next component is an analog-to-digital converter, which samples the input signal
at discrete points in time.
The next component is the acquisition memory unit, which stores the sampled signal
values.
The next component is a microprocessor, which receives the signal samples from the
acquisition memory unit. This carries out signal processing functions, manages the
front panel control settings, and prepares the output display.
The next component is the display memory module, which stores the output signal.
The final unit is the oscilloscope display unit, which received the output signal from
the display memory module.
The display unit consists of either a monochrome or multicolor liquid crystal display.
The signal displayed is actually a sequence of individual dots rather than a contin-
uous line as displayed by an analog oscilloscope. However, as the density of dots
increases, the display becomes closer and closer to a continuous line.
The density of the dots is entirely dependent upon the sampling rate at which the
analog signal is digitized and the rate at which the memory contents are read to
reconstruct the original signal.
As the speed of sampling and signal processing are a function of instrument cost,
more expensive instruments give better performance in terms of dot density and the
accuracy with which the analog signal is recorded and represented. Nevertheless, the
cost of computing power is now sufficiently low to mean that all, but the very
cheapest, instruments now have a display that looks very much like a continuous
trace.
Besides their ability to display the magnitude of voltage signals and other parameters
such as signal phase and frequency, most digital oscilloscopes can also carry out
analysis of the measured waveform and compute signal parameters such as maximum
Solutions for Chapter 9 9
and minimum signal levels, peakepeak values, mean values, rms values, rise time,
and fall time.
These additional functions are controlled by extra knobs and push buttons on the
front panel. They are also ideally suited to capturing transient signals when set to
single-sweep mode. This avoids the problem of the very careful synchronization that
is necessary to capture such signals on an analog oscilloscope.
In addition, digital oscilloscopes often have facilities to output analog signals to
devices like chart recorders and output digital signals in a form that is compatible
with standard interfaces like IEEE488 and RS232.
Besides their ability to display the magnitude of voltage signals and other parameters
such as signal phase and frequency, most digital oscilloscopes can also carry out
analysis of the measured waveform and compute signal parameters such as maximum
and minimum signal levels, peakepeak values, mean values, rms values, rise time,
and fall time.
These additional functions are controlled by extra knobs and push buttons on the
front panel. They are also ideally suited to capturing transient signals when set to
single-sweep mode. This avoids the problem of the very careful synchronization that
is necessary to capture such signals on an analog oscilloscope.
In addition, digital oscilloscopes often have facilities to output analog signals to
devices like chart recorders and output digital signals in a form that is compatible
with standard interfaces like IEEE488 and RS232.
Advantages over digital storage oscilloscope:
The principal limitation of a digital storage oscilloscope is that the only signal infor-
mation captured is the status of the signal at each sampling instant. Thereafter, no
new signal information is captured during the time that the previous sample is being
processed. This means that any signal changes occurring between sampling instants,
such as fast transients, are not detected.
To overcome this, the digital phosphor oscilloscope has a parallel-processing archi-
tecture rather than the serial-processing architecture found in digital storage
oscilloscopes.
This enhanced processing capability enables the instrument to have a higher wave-
form capture rate.
It can detect very fast signal transients that are missed by digital storage
oscilloscopes.
9.11 Diagram and mode of operation:
The student should draw a block diagram similar to that in Figure 9.14 of the book.
The explanation of the mode of operation should cover the following points:
The first component is an analog-to-digital converter, which samples the input signal
at discrete points in time.
The next component is a low-bandwidth amplifier unit that allows the magnitude of
the input voltage signal to be adjusted to an appropriate level.
The next component is the acquisition memory unit, which stores the sampled signal
values.
The next component is a microprocessor, which receives the signal samples from the
acquisition memory unit. This carries out signal processing functions, manages the
front panel control settings, and prepares the output display.
The next component is the display memory module, which stores the output
signal.
Solutions for Chapter 9 11
The final unit is the oscilloscope display unit, which received the output signal from
the display memory module.
The display unit consists of either a monochrome or multicolor liquid crystal display.
The signal displayed is actually a sequence of individual dots rather than a contin-
uous line as displayed by an analog oscilloscope. However, as the density of dots
increases, the display becomes closer and closer to a continuous line.
The density of the dots is entirely dependent upon the sampling rate at which the
analog signal is digitized, and the rate at which the memory contents are read to
reconstruct the original signal.
As the speed of sampling and signal processing are a function of instrument cost,
more expensive instruments give better performance in terms of dot density and the
accuracy with which the analog signal is recorded and represented. Nevertheless, the
cost of computing power is now sufficiently low to mean that all, but the very
cheapest instruments now have a display that looks very much like a continuous trace.
Besides their ability to display the magnitude of voltage signals and other parameters
such as signal phase and frequency, most digital oscilloscopes can also carry out
analysis of the measured waveform and compute signal parameters such as maximum
and minimum signal levels, peakepeak values, mean values, rms values, rise time,
and fall time.
These additional functions are controlled by extra knobs and push buttons on the
front panel. They are also ideally suited to capturing transient signals when set to
single-sweep mode. This avoids the problem of the very careful synchronization that
is necessary to capture such signals on an analog oscilloscope.
In addition, digital oscilloscopes often have facilities to output analog signals to
devices like chart recorders and output digital signals in a form that is compatible
with standard interfaces like IEEE488 and RS232.
Advantages and disadvantages:
The reversal of the positions of the analog-to-digital converter and the amplifier
compared with a digital storage oscilloscope means that the sampled signal applied to
the amplifier has a much lower frequency than the original signal. This allows the use
of a low-bandwidth amplifier.
The low bandwidth amplifier allows a digital sampling oscilloscope to have a band-
width of up to 25 GHz, which is about 10 times better than that achieved by other
types of oscilloscope.
However, the fact that the input signal is applied directly to the analog-to-digital con-
verter without any scaling means that the instrument can only be used to measure
signals whose peak magnitude is within a relatively small range of typically 1 V
peakepeak. By contrast, both digital storage and digital phosphor oscilloscopes can
typically deal with inputs up to 500 V.
12 Chapter 9
Because the measured signal is converted to digital form before amplification in the
digital sampling oscilloscope, the sampled signal applied to the amplifier has a much
lower frequency compared to that of the original signal. This means that a low-
bandwidth amplifier can be used and allows relatively high-frequency signals to be
measured, typically up to 25 GHz. This is about 10 times better than the other types
of oscilloscope. Thus the main application of a digital sampling oscilloscope is in
measuring high-frequency signals.
In a digital sampling oscilloscope, the input signal is applied directly to the analog-
to-digital converter without any scaling. This means that the digital sampling
oscilloscope can only be used to measure signals whose peak magnitude is within a
relatively small range of typically 1 V peakepeak.
By contrast, both digital storage and digital phosphor oscilloscopes can typically deal
with inputs up to 500 V.
9.14 Discussion should cover at least the following points about electronic displays and
computer monitor displays:
Electronic displays:
These enable a parameter value to be read immediately, thus allowing for any neces-
sary response to be made immediately.
The main requirement for displays is that they should be clear and unambiguous.
The two common types of character format used in displays are seven-segment and
7 5 dot matrix.
(Depending on time allowed, students may be expected to illustrate the form of these
by diagrams similar to those given in Figure 9.15 of the book.)
Both types of display have the advantage of being able to display alphabetic as well
as numeric information, although the 7-segment format can only display a limited
9-letter subset of the full 26-letter alphabet. This allows added meaning to be given
to the number displayed by including a word or letter code. It also allows a single
display unit to send information about several parameter values, cycling through each
in turn and including alphabetic information to indicate the nature of the variable
currently displayed.
Electronic output units usually consist of a number of side-by-side cells, where each
cell displays one character. Generally, these accept either serial or parallel digital
input signals, and the input format can be either binary-coded decimal (BCD) or
ACSII.
Technologies used for the individual elements in the display are either light emitting
diodes (LEDs) or liquid-crystal elements.
Computer monitor displays:
Computers provide an excellent mechanism for both displaying and storing informa-
tion, particularly in locations where a suitable computer is already available.
14 Chapter 9
The resultant trace on the chart paper showed the variations with time in the magni-
tude of the measured signal. Commonly, such recorders had two or more pens of
different colors so that several measured parameters could be recorded simultaneously.
More recent chart recorders are controlled by a microprocessor and use a servo
system to move the pens instead of the galvanometric mechanism, in which the pen
is driven by a brushless servomotor, and a sensor on the pen feeds back a signal pro-
portional to pen position. In this form, the instrument is known as a potentiometric
recorder. The position signal is measured by a potentiometer in cheaper models, but
more expensive models achieve better performance and reliability by using a noncon-
tacting ultrasonic sensor to provide feedback on the pen position.
The difference between the pen position and the measured signal is applied as an
error signal that drives the motor. One consequence of this electromechanical
balancing mechanism is that the instrument has a slow response time in the range of
0.2e2.0 s, which means that electromechanical potentiometric recorders are only
suitable for measuring DC and slowly time-varying signals.
The microprocessor in a typical modern chart recorder provides functions like selec-
tion of range and chart speed, and also specification of alarm modes and levels to
detect when measured variables go outside acceptable limits.
Basic recorders currently available can record up to three different signals using three
different colored pens. However, multipoint recorders can have 24 or more inputs and
plot 6 or more different colored traces simultaneously.
As an alternative to pens, which can run out of ink at inconvenient times, recorders
using a heated stylus recording signals on heat-sensitive chart paper are available.
The multipoint strip chart recorder is a modification of the pen strip chart recorder
that uses a dot matrix print head striking against an ink ribbon instead of pens. A
typical model might allow up to 24 different signal inputs to be recorded simulta-
neously, using a 6-color ink ribbon.
As well as recording signals as a continuous trace, many models also allow for the
printing of alphanumeric data on the chart to record date, time, and other process
information. Some models also have a digital numeric display to provide information
on the current values of recorded variables.
A circular form of chart recorder is also available, in which the chart paper is circular
in shape and is rotated rather than moving translationally. The rotational speed of the
chart can be typically adjusted between one revolution in 1 h and one revolution in
31 days. Recorded charts are replaced and stored after each revolution, which means
replacement intervals that vary between hourly and monthly according to the chart
speed. The major advantage of the circular chart recorder over other forms is
compactness. Some models have up to four different colored pen assemblies,
allowing up to four different parameters to be recorded simultaneously.
16 Chapter 9
All these alternative forms of chart recorders are still limited to recording either
DC signals or very low frequency ones.
Finally, paperless forms of recorder exist where the output display is generated
entirely electronically. These have names such as virtual chart recorder and digital
chart recorder and display the time history of measured signals electronically, using
a color-matrix liquid crystal display. This avoids the chore of periodically replacing
chart paper and ink cartridges associated with other forms of chart recorder. Reli-
ability is also enhanced compared with electromechanical recorders. As well as
displaying the most recent time history of measured signals on its screen, the instru-
ment also stores a much larger past history.
Some models of paperless recorder can record 100 samples per second, allowing the
recording of frequencies up to about 20 Hz.
A Videographic recorder is an enhanced form of paperless chart recorder that has
additional display modes such as bar graphs (histograms) and digital numbers.
Digital oscilloscope:
Many digital oscilloscopes have facilities to output analog signals to devices like
chart recorders and output digital signals in a form that is compatible with standard
interfaces like IEEE488 and RS232.
Digital oscilloscopes come in three forms: digital storage oscilloscope, digital phos-
phor oscilloscope, and digital sampling oscilloscope.
If the question is used as the basis for an extended assignment, the student might
be expected to cover the mode of operation of each of these (see solutions to
questions 9.9, 9.10 and 9.11 for suggested details).
The digital storage oscilloscope and digital phosphor oscilloscope can typically
record signals of up to 2.5 GHz.
The digital sampling oscilloscope can typically record signals of up to 25 GHz.
Digital data recorder:
Digital data recorders, also known as data loggers, provide a further alternative way
of recording measurement data in digital format.
Data so recorded can then be transferred at a future time either to a computer for
further analysis or to one of the hard-copy output devices described earlier.
Most recorders have facilities to handle measurements in the form of both analog and
digital signals. Common analog input signals allowed include DC voltages, DC cur-
rents, AC voltages, and AC currents. Digital inputs can usually be either in the form
of data from digital measuring instruments or discrete data representing events such
as switch closures or relay operations.
Some models provide alarm facilities to alert operators to abnormal conditions during
data recording operations.
Typical maximum frequency for recorded signals is 10 kHz.
Solutions for Chapter 9 17
Tabular presentation:
Allows data values to be recorded in a precise way that exactly maintains the accu-
racy to which the data values were measured. In other words, the data values are
written down exactly as measured.
With tabular presentation, it is easy to add further values calculated from the raw data.
Graphical presentation:
Presentation of data in graphical form involves some compromise in the accuracy to
which the data are recorded, as the exact values of measurements are lost.
Graphs provide a pictorial representation of results that is more readily compre-
hended than a set of tabular results.
Graphs are particularly useful for expressing the quantitative significance of results
and showing whether a linear relationship exists between two variables.
Graphs can sometimes show up a data point that is clearly outside the straight line or
curve that seems to fit the rest of the data points. Such a data point is probably either
due to a human mistake in reading an instrument or else to a momentary malfunction
in the measuring instrument itself. Spotting such erroneous data is less easy with
tabular presentation.
The next step is to draw some line through these data points that best represents the
relationship between the two variables. This line will normally be either a straight
one or a smooth curve. The data points will not usually lie exactly on this line but
instead will lie on either side of it. The magnitude of the excursions of the data
points from the line drawn will depend on the magnitude of the random measurement
errors associated with the data.
Graphs can sometimes show up a data point that is clearly outside the straight line or
curve that seems to fit the rest of the data points. Such a data point is probably either
due to a human mistake in reading an instrument or else to a momentary malfunction
in the measuring instrument itself. If the graph shows such a data point where a
human mistake or instrument malfunction is suspected, the proper course of action is
to repeat that particular measurement, and then discard the original data point if the
mistake or malfunction is confirmed.
9.19 Discussion should cover at least the following points.
The graph should have a title or caption that explains what data are being presented
in the graph.
Both axes of the graph should be labeled to express clearly what variable is associ-
ated with each axis and to define the units in which the variables are expressed.
The number of points marked along each axis should be kept reasonably smalld
about five divisions is often a suitable number.
No attempt should be made to draw the graph outside the boundaries corresponding
to the maximum and minimum data values measured.
Solutions for Chapter 9 21
Great care should be taken in drawing either a straight line or curve through the
data points.
Background theory relating to the relationship between the data being drawn on the
graph often indicates the required form of line (linear, first order, second order etc.).
The line or curve drawn through the data points should be a smooth one, rather than
joining the data points by a jagged line that passes exactly through each data point.
This is justified on account of the random errors that are known to affect measure-
ments, which means that the line or curve is not expected to pass exactly through
each data point.
Sometimes, it is possible to draw the best line through data points using human judg-
ment and using the “by eye” technique of judging the best line to draw with the data
points on either side of the line.
The optimal way to establish the best-fit line is to use the mathematical technique of
least-squares regression.
This calculate the optimum line where the sum of negative errors in data points on
one side of the line is balanced by the sum of positive errors in data points on the
other side of the line.
9.20 Discussion should cover at least the following points.
The table should have a title that explains what data are being presented within
the table.
Each column of figures in the table should refer to the measurements or calculations
associated with one quantity only.
Each column of figures should be headed by a title that identifies the data values
contained in the column.
The units in which quantities in each column are measured should be stated at the
top of the column.
All headings and columns should be separated by bold horizontal (and sometimes
vertical) lines.
The errors associated with each data value quoted in the table should be given. If the
error level is the same for all data values in a particular column, it is appropriate to
specify the error level in the heading at the top of the column. However, if the error
levels vary, then it is preferable to write the error boundaries alongside each entry in
the table.
The values of the coefficients a and b at the minimum point can be represented by a^
^ which are known as the least-squares estimates of a and b. These can be
and b,
calculated as follows:
From Eqn (1),
X X X X P P
y ^ xi
b
a^ þ b^ a þ b^
i
yi ¼ xi ¼ n^ xi and thus; a^ ¼ (3)
n
From Eqn (2),
X X X
ðxi yi Þ ¼ a^ xi þ b^ x2i (4)
Solutions for Chapter 9 23
Rearranging gives:
hX nX . o2 i X X X
b^ x2i n xi n ¼ ðxi yi Þ n ðxi =nÞ ðyi =nÞ:
9.22 (a) Let the deviation of each point (xi,yi) from the line be expressed as di, where
di ¼ yi (a þ bxi). The best-fit line is obtained when the sum of the squared
P P
deviations, S, is a minimum, i.e., when S ¼ ni¼1 ðdi2 Þ ¼ ni¼1 ðyi a bxi Þ2 is
a minimum.
The minimum can be found by setting the partial derivatives vS/va and vS/vb to
zero and solving the resulting two simultaneous (normal) equations:
X
vS=va ¼ 2ðyi a bxi Þð1Þ ¼ 0 (1)
X
vS=vb ¼ 2ðyi a bxi Þðxi Þ ¼ 0 (2)
24 Chapter 9
The values of the coefficients a and b at the minimum point can be represented
^ which are known as the least-squares estimates of a and b. These
by a^ and b,
can be calculated as follows:
From Eqn (1),
X X X X P P
^ ^ yi b^ xi
yi ¼ a^ þ b xi ¼ n^aþb xi and thus; a^ ¼ (3)
n
From Eqn (2),
X X X
ðxi yi Þ ¼ a^ xi þ b^ x2i (4)
Rearranging gives:
hX nX . o2 i X X X
b^ x2i n xi n ¼ ðxi yi Þ n ðxi =nÞ ðyi =nÞ:
9.23 (a) Linear least-squares regression estimates the optimal values for the constant
coefficients a and b of a linear relationship y ¼ a þ bx for a set of n measure-
ments y1/yn, x1/xn, such the relationship gives the best fit to the measurement
data. Linear regression is useful for fitting a line to data whenever the relation-
ship between two sets of measurement variables is either known to be linear or
is suspected to be so.
(b) Let the deviation of each point (xi,yi) from the line be expressed as di, where
di ¼ yi (a þ bxi). The best-fit line is obtained when the sum of the squared
P P
deviations, S, is a minimum, i.e., when S ¼ ni¼1 ðdi2 Þ ¼ ni¼1 ðyi a bxi Þ2 is
a minimum.
The minimum can be found by setting the partial derivatives vS/va and vS/vb to
zero and solving the resulting two simultaneous (normal) equations:
X
vS=va ¼ 2ðyi a bxi Þð1Þ ¼ 0 (1)
X
vS=vb ¼ 2ðyi a bxi Þðxi Þ ¼ 0 (2)
The values of the coefficients a and b at the minimum point can be represented
^ which are known as the least-squares estimates of a and b. These
by a^ and b,
can be calculated as follows:
From Eqn (1),
X X X X P P
^ ^ yi b^ xi
yi ¼ a^ þ b xi ¼ n^aþb xi and thus; a^ ¼ (3)
n
From Eqn (2),
X X X
ðxi yi Þ ¼ a^ xi þ b^ x2i (4)
26 Chapter 9
Rearranging gives:
hX nX . o2 i X X X
b^ x2i n xi n ¼ ðxi yi Þ n ðxi =nÞ ðyi =nÞ:
di ¼ yi a0 þ a1 xi þ a2 x2i þ / þ ap xpi
The best-fit line is obtained when the sum of the squared deviations given by
P
S ¼ ni¼1 ðdi2 Þ is a minimum.
The minimum can be found as before by setting the p partial derivatives vS/va0/vS/
vap to zero and solving the resulting simultaneous equations.
28 Chapter 9
Again, students would not be expected to be able to write out the relevant equations
by hand.
However, they would be expected to say that standard computer packages to estimate
the parameters a0/ap by numerical methods are widely available (for example,
Labview and Matlab).
Choice between:
A simple test to determine whether a particular relationship (e.g., linear, quadratic or
polynomial) fits the data best is to calculate the sum of squared deviations S for the
chosen y/x relationship and compare it with the value of S calculated for the next
higher-order regression curve that could be fitted to the data.
Thus if a straight-line relationship is chosen, the value of S calculated should be of a
similar magnitude or less than that obtained by fitting a quadratic relationship. If the
value of S were substantially lower for a quadratic relationship, this would indicate
that a quadratic relationship was a better fit to the data than a straight-line one and
further tests would be needed to examine whether a cubic or higher-order relationship
was a better fit still.
The stages of this simple confidence test can be summarized as follows:
P
1. Calculate S ¼ ðdi Þ2 for the relationship fitted (for example, a linear
relationship).
P
2. Calculate S0 ¼ ðdi Þ2 for the next higher-order relationship, for example, a
quadratic relationship.
If S0 is significantly less than S, then the first relationship fitted (in this example
the linear relationship) is incorrect.
3. Repeat steps (1) and (2) until S0 is greater than or equal to S.
Student should mention that curve fitting programs within packages such as
Labview and Matlab are able to assist this procedure by calculating the value of
S for each order of regression fit tried.
Student might also be reasonable expected to know that more sophisticated
confidence tests exist such as the F-ratio test.
9.25 Data given:
Resistance (U) 212.8 218.6 225.3 233.6 240.8 246.6
Temperature ( C) 300 320 340 360 380 400
9.26 Let the deviation of each point (xi,yi) from the line be expressed as di, where di ¼ yi
(axi þ b). The best-fit line is obtained when the sum of the squared deviations, S, is a
P P
minimum, i.e., when S ¼ ni¼1 ðdi2 Þ ¼ ni¼1 ðyi axi bÞ2 is a minimum.
The minimum can be found by setting the partial derivatives vS/va and vS/vb to zero
and solving the resulting two simultaneous (normal) equations:
X
vS=va ¼ 2ðyi axi bÞðxi Þ ¼ 0 (1)
X
vS=vb ¼ 2ðyi axi bÞð1Þ ¼ 0 (2)
The values of the coefficients a and b at the minimum point can be represented by a^
^ which are known as the least-squares estimates of a and b. These can be
and b,
calculated as follows:
From Eqn (1),
X X X X P P
^ ^ ^ yi a^ xi
yi ¼ b þ a^ xi ¼ nb þ a^ xi and thus; b ¼ (3)
n
Rearranging gives:
hX nX . o2 i X X X
a^ x2i n xi n ¼ ðxi yi Þ n ðxi =nÞ ðyi =nÞ:
Hence
P
ðxi xm Þðyi ym Þ 178:14
b^ ¼ P 2
¼ ¼ 12:45;
ðxi xm Þ 1430:67
^ m ¼ 550:0 ð12:45 41:06Þ ¼ 38:70
a^ ¼ ym bx
Thus, the best estimate of measurement sensitivity is 12.45 C/mV.
Hence
P
ðxi xm Þðyi ym Þ 189:94
b^ ¼ P ¼ ¼ 9:9968;
ðxi xm Þ2 19
^ m ¼ 30:48 9:9968 3:0 ¼ 0:48947
a^ ¼ ym bx
Since R¼V/I, the best estimate of the resistance is the ratio of y/x. This is the
^ Thus, the resistance value
gradient of the straight line fitted to the data, i.e., b.
is 10.0 U.
Hence
P
ðzi zm Þðyi ym Þ 3800:32
b^ ¼ P 2
¼ ¼ 8:003475;
ðzi zm Þ 474:8333
^ m ¼ 74:48 8:003475 9:166667 ¼ 1:118147
a^ ¼ ym bz
(a) The relationship MTTF ¼ CexpT0/T can be written as. loge(MTTF) ¼ loge(C) þ
T0/T
This can be represented by a relationship of the form y ¼ a þ bx (Eqn 1) where
y ¼ loge(MTTF), a ¼ loge(C), b ¼ T0 and x ¼ 1/T
See solution to question 8.11, which shows how linear least-squares regression
can be applied to a table of x and y values to find the values of a and b that fit
the data best. These are a^ and b^ given by:
P
ðxi xm Þðyi ym Þ
b^ ¼ P ^m
; a^ ¼ ym bx
ðxi xm Þ2
Hence
P
ðxi xm Þðyi ym Þ 8:570 104
b^ ¼ P ¼ ¼ 11021;
ðxi xm Þ2 7:777 108
^ m ¼ 5:751 11020 0:001825 ¼ 14:36346
a^ ¼ ym bx
T0 ¼ b^ ¼ 11021; loge ðCÞ ¼ a^ ¼ 14:36346;
9.31
The optimal values for the constant coefficients a and b of a linear relationship
y ¼ a þ bx for a set of n measurements y1/yn, x1/xn, such the relationship
gives the best fit to the measurement data can be calculated by linear least-squares
regression as follows:
The deviation of each point (xi,yi) from the line can be expressed as di, where
di ¼ yi (a þ bxi).
36 Chapter 9
The best-fit line is obtained when the sum of the squared deviations, S, is a
minimum.
P P
i.e., when S ¼ ni¼1 ðdi 2 Þ ¼ ni¼1 ðyi a bxi Þ2 is a minimum.
The minimum can be found by setting the partial derivatives vS/va and vS/vb to zero
and solving the resulting two simultaneous (normal) equations:
X
vS=va ¼ 2ðyi a bxi Þð1Þ ¼ 0 (1)
X
vS=vb ¼ 2ðyi a bxi Þðxi Þ ¼ 0 (2)
The values of the coefficients a and b at the minimum point can be represented by
^ which are known as the least-squares estimates of a and b. These can be
a^ and b,
calculated as follows:
From Eqn (1),
X X X X P P
^ ^ yi b^ xi
yi ¼ a^ þ b xi ¼ n^
aþb xi and thus; a^ ¼ (3)
n
Rearranging gives:
hX nX . o2 i X X X
b^ x2i n xi n ¼ ðxi yi Þ n ðxi =nÞ ðyi =nÞ:
Thus:
P
ðxi yi Þ nxm ym
b^ ¼ P 2 (5)
xi nx2m
And, from Eqn (7):
P P
yi b^ xi ^m
a^ ¼ ¼ ym bx (6)
n
Similar expressions for estimating the optimal values of c and d for a relationship
x ¼ c þ dy between the data can be found by an identical procedure of minimizing
the sum of squared deviations as used earlier for calculating a and b. However, these
expressions are found most simply by just interchanging x and y in Eqns (5) and (6):
P
ðxi yi Þ nxm ym
d^ ¼ P 2 (7)
yi ny2m
and
P P
xi d^ xi ^m
c^ ¼ ¼ xm dy (8)
n
The given height/weight data is as follows (y ¼ weight in kg and x ¼ height in
meters):
y 70.3 76.1 73.5 88.1 72.8 66.5 75.5 80.7 88.7 76.6 79.7 75.3 68.5 69.4 78.8
x 1.69 1.79 1.73 1.82 1.81 1.68 1.76 1.76 1.84 1.74 1.71 1.74 1.72 1.75 1.78
and
x ¼ 1:361 þ 0:005175y (10)
Data points for these two best-fit lines can be calculated as follows:
Using Eqn (9), for x ¼ 1.68, y ¼ 68.57 and for x ¼ 1.84, y ¼ 84.58.
Using Eqn (10), for y ¼ 66, x ¼ 1.703 and for y ¼ 89, x ¼ 1.822.
38 Chapter 9
90
88
86
ine
84
idl
dy
m
fit-
c+
st
x=
Be
82
bx
+
a
=
80
78 y
76
74
72
70
68
66
1.68 1.70 1.72 1.74 1.76 1.78 1.80 1.82 1.84 x
Solutions for Chapter 9 39
A line that bisects these two relationships can then be estimated by eye as shown by
the dashed line drawn on the graph. This represents the best straight-line fit to the
height/weight data given. The gradient of this line can be calculated by selecting two
data points on it:
At y ¼ 68.0, x ¼ 1.695; at y ¼ 85.0, x ¼ 1.82.
Hence, the gradient of the line is y/x ¼ (85.0 68.0)/(1.82 1.695) ¼ 136.0 kg/m.
For two sets of measurements y1/yn, x1/xn with means xm and ym, the correlation
coefficient F is given by:
P
ðxi xm Þðyi ym Þ
F ¼ rffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi
hP ih P iffi
2 2
ðxi xm Þ ðyi ym Þ
9.32
The optimal values for the constant coefficients a and b of a linear relationship
y ¼ a þ bx for a set of n measurements y1/yn, x1/xn, such the relationship gives
the best fit to the measurement data can be calculated by linear least-squares
regression as follows:
The deviation of each point (xi,yi) from the line can be expressed as di, where
di ¼ yi (a þ bxi).
The best-fit line is obtained when the sum of the squared deviations, S, is a
minimum.
P P
i.e., when S ¼ ni¼1 ðdi2 Þ ¼ ni¼1 ðyi a bxi Þ2 is a minimum.
The minimum can be found by setting the partial derivatives vS/va and vS/vb to zero
and solving the resulting two simultaneous (normal) equations:
X
vS=va ¼ 2ðyi a bxi Þð1Þ ¼ 0 (1)
X
vS=vb ¼ 2ðyi a bxi Þðxi Þ ¼ 0 (2)
40 Chapter 9
The values of the coefficients a and b at the minimum point can be represented by
^ which are known as the least-squares estimates of a and b. These can be
a^ and b,
calculated as follows:
From Eqn (1),
X X X X P P
^ ^ yi b^ xi
yi ¼ a^ þ b xi ¼ n^
aþb xi and thus; a^ ¼ (3)
n
From Eqn (2),
X X X
ðxi yi Þ ¼ a^ xi þ b^ x2i (4)
Rearranging gives:
hX nX . o2 i X X X
b^ x2i n xi n ¼ ðxi yi Þ n ðxi =nÞ ðyi =nÞ:
Similar expressions for estimating the optimal values of c and d for a relationship
x ¼ c þ dy between the data can be found by an identical procedure of minimizing
the sum of squared deviations as used earlier for calculating a and b. However, these
expressions are found most simply by just interchanging x and y in Eqns (5) and (6):
P
^ ðxi yi Þ nxm ym
d¼ P 2 (7)
yi ny2m
and
P P
xi d^ xi ^m
c^ ¼ ¼ xm dy (8)
n
The given height/weight data is as follows (y ¼ weight in lbs and x ¼ height in
inches):
x 68.0 69.5 68.5 72.5 69.0 70.5 67.5 70.0 68.0 71.5 66.0 70.0 71.5 66.5 69.5
y 151 166 172 198 153 168 180 174 162 181 147 178 161 155 176
and
x ¼ 54:0 þ 0:090673y (10)
Data points for these two best-fit lines can be calculated as follows:
Using Eqn (9), for x ¼ 66, y ¼ 152.9 and for x ¼ 72, y ¼ 181.1.
Using Eqn (10), for y ¼ 152, x ¼ 67.8 and for y ¼ 198, x ¼ 72.0.
42 Chapter 9
y
200
195
190
185
ne
- li
dy
d
c+
mi
fit
x=
st
180
Be
175
bx
+
a
=
y
170
165
160
155
150
65 66 67 68 69 70 71 72 x
Solutions for Chapter 9 43
A line that bisects these two relationships can then be estimated by eye as shown by
the dashed line drawn on the graph. This represents the best straight-line fit to the
height/weight data given. The gradient of this line can be calculated by selecting two
data points on it:
At; x ¼ 67.0, y ¼ 152.6 at x ¼ 71.5, y ¼ 183.6.
Hence, the gradient of the line is y/x ¼ (183.6 152.6)/(71.5 67.0) ¼ 6.89 lbs/in.
For two sets of measurements y1/yn, x1/xn with means xm and ym, the correlation
coefficient F is given by:
P
ðxi xm Þðyi ym Þ
F ¼ rffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffiffi
hP ih P iffi
2 2
ðxi xm Þ ðyi ym Þ
Fig. 9.
Fig. 10.
To gage the line, take the tool in the right hand, three fingers
grasping the beam, first encircling the head for narrow work, and the
thumb back, or nearly back, of the spur. Fig. 14. The head should be
kept against one or the other of the face sides. Begin at the end of
the piece which is towards you, hold the block firmly against the
piece, roll the beam forward until the spur barely touches the surface
and make a very light line. Fig. 15 illustrates the manner of raising
the spur from the wood by raising the wrist during the backward
stroke. It will be found convenient to hold the piece against the
bench stop. This steadies the piece and permits the worker to see
how deep the spur is cutting and whether the head is against the
face properly. Avoid deep lines. They are inaccurate even if straight
and always cause trouble in the making unless the grain of the wood
is perfectly straight.
Fig. 15.
Fig. 16.
Fig. 17 illustrates a method frequently used by carpenters. The
fingers act as a gage head.
7. Slitting Gage.—A slitting gage is one in which the spur is sharp
and strong, and will cut thru soft lumber as thick
as one-quarter of an inch. The boards are cut from each side and
considerable pressure is required. Sometimes a handle like that of
the plane is fastened to the beam near the knife or spur. Fig. 18.
Fig. 17.
Slitting Gage
Mortise Gage
Panel Gage For wide boards
Fig. 18.
11. Saws.—Saws which are used in cutting across the grain are
called crosscut; those which are used in cutting parallel
to the grain are called ripsaws. Fig. 24. Upon the blade of a saw,
near the handle, will be found a number. This represents the number
of points to the inch. Points should not be confused with teeth, for
there is always one more point per inch than there are teeth.
Fig. 24.
To prevent the sides of a cut or kerf from binding the saw, the teeth
are bent alternately from side to side, that the opening may be wider
than the blade is thick. The saw teeth are then said to have “set.” To
do good work, a saw should have no more set than is necessary to
allow a free movement. Fig. 25. Damp, spongy lumber will require
considerable set, while well seasoned lumber necessitates but little.