Basic Bioinstrumentation Systems
Basic Bioinstrumentation Systems
Basic Bioinstrumentation Systems
SENSORS are generally able to convert physical measurands into electrical outputs.
These outputs are usually analogue which must be processed (converted) to digital
signals, and also amplified, filtered, conditioned and converted to a digitally readable form
(output0
OUTPUT display devices are either visual or audio formats and may display numerical,
graphical, discrete, continuous, permanent or temporary signals. The signals (data) may
need to be stored or transmitted in/to another device or from one place to another e.g. from
patient to hospital to enable diagnostic feedback.
A CALIBRATION SIGNAL (of known amplitude and frequency) is usually applied to the
sensor unit. This allows the components of the bioinstrumentation system to be adjusted
so that the output and input have a known measured relationship.
FEEDBACK ELEMENT may be included in some systems. They function to collect data
from the measured signals and stimulate a response when needed (bio-feedback system).
CLOSED PATH: a path that starts and ends with one node.
MESH: a closed path without any other closed path within itself.
ELECTRICAL PRINCIPLES
A. CHARGE. May be positive or negative (carried by protons and electrons respectively).
It is measured in Coulombs (C) and defined as the smallest charge qe carried by an
electron. qe = -1.602 x 10-19. A proton carried the exact opposite of the charge of an
electron.
B. CURRENT: i(t) is defined as the change in amount of charge that passed through a
given point or area in a specified time period. It is measured in Amperes (A) which is
defined as equal to one Coulomb/second (C/s). Current depends on direction of flow. It
is positive if a positive charge is moving in the direction of the arrow (fig 3) or negative
if it is moving in the opposite direction.
∑ in (t) = 0 and this applies to all current whether entering or leaving a node.
C. VOLTAGE: this represents the work per unit charge associated with moving a charge
between point A and B.
It is given as v = dw/dq.
Mathematically, ∑ vn (t) = 0
Generally, Kirchhoff’s laws are applied in electric circuit analysis to determine unknown
voltages and currents.
P = dw/dt = dw/dt * dq/dt = VI (recall that energy in electricity is also refers to voltage).
Power is measured in watts while Energy is measured in joules (J).
Hence, P = V * I.
A positive value for P indicates that power is being delivered to a circuit element while a
negative value indicates that power is extracted from or generated by the circuit element
e.g. a battery.
There are 4 possible current-voltage configuration for any given circuit as shown below:
If i and v are positive (as shown by the arrow and polarity), the energy is
absorbed (either lost or conserved).
If either the current arrow and voltage polarity is reversed (B and C), energy
is supplied to the circuit.
If both current direction and voltage polarity are reversed together (D), energy
is absorbed.
Figure 4: Polarity references for four cases of current and voltage. Cases A and D result
in positive power being consumed by the circuit element. Cases B and C result in negative
power being extracted from the circuit element
Passive circuit element is one whose power is always positive or zero, which may be
dispelled as heat (resistance), stored in an electric field (capacitor) or stored in a magnetic
field (inductor).
Active circuit element is one whose power is negative and capable of generating energy.
E. SOURCES. There are two terminal devices that provide energy to a circuit. An ideal
voltage source is one that generates a prescribed voltage at its terminal regardless of
the current flow. In the same way, an ideal current source provides the prescribed
current to the attached circuit. Ideal current and voltage sources are known as
independent sources.
Dependent voltage and current sources take on values equalling a known function of some
other voltage or current value in the circuit.
Dependent sources are important in electronics since they allow for operational
amplification (e.g. when using a controlled voltage source).
RESISTANCE
A resistor is a circuit element that limits the flow of current through it. It is denoted by
ꟿ (Figure 7).
Different materials are used for resistors and their ability to impede current is given with
a value of resistance R which is measured in ohms (ꭥ).
Theoretically a bare wire connected to a circuit has zero resistance and a gap between
circuit elements has a resistance of infinity.
Ideal resistors obey Ohms law which describes a linear relationship between voltage and
current, with the slope equal to the resistance
V = iR or V = -iR
Ohms law does not apply at very high voltages and currents. With physiological models,
it is easier to apply the law because linearity is observed at certain range of values.
Equivalent Resistance: this is the resistance of two or more identical circuits (in terms of
voltage and current measurements). This applies when complex circuits have been
simplified.
Resistors in series: here the same current flows from one resistor to another i.e. the same
current flows through n number of resistors.
Req = R1 + R2 + R3 …. + Rn
Voltage Divider Rule: in the diagram below, applying this rule enables the easy
calculation of voltage across the resistors.
For N number of resistors in series, the voltage divider rule gives the voltage across any
one of the resistors, Ri, as
Vi = VS (Ri/R1 + R2 + … RN)
I2 = VS/R2
VS = I (R1R2/[R1 + R2]
After substituting VS
For N number of resistors in parallel, the current divider rule gives the current through
one of the resistors, Ri, as
INDUCTORS
An inductor is a passive element that is able to store energy in a magnetic field and is
made by winding a coil of wire around an insulating or ferromagnetic core. A magnetic
field is created when current flows through the coil. The unit of measure for inductance is
the henry or henries (H) where 1H = 1V – s/A.
For an inductor, the relationship between current and voltage is given by:
v = L* di/dt
Where L is the inductance in henries (H), v is the instantaneous voltage and di/dt is the
rate of change of current.
An inductor.
Inductors are used AC powered electronic devices to allow DC and AC to pass through to
downstream components. They are also used for separating signals according to
frequencies (as electronic filters).
CAPACITORS
A capacitor is a device that stores energy in an electric field by charge separation when
appropriately polarised by voltage. A capacitor is made of parallel plates of conducting
materials separated by a gap filled with dielectric material (e.g. air, mica, Teflon – these
materials usually have high resistance). Dielectric materials contain large number of
electric dipoles which become polarised when electricity is passed.
Capacitors are used as temporary charge stores. They find application in time dependent
circuits where charging and discharging is needed. They are also used to smooth out AC
currents into DC by discharging at the peak of the AC cycle. They can block DC and allow
AC in some configurations and can be used for tuning frequencies.
BIOINSTRUMENTATION DESIGN
The elements described above (and indeed many more complex ones) are needed in a
biomedical instrumentation system. The main idea behind these kinds of instruments is
the ability to monitor the output of a sensor(s) and to extract relevant information from
signals produced by the sensors.
Noise
Interference noise occurs when unwanted signals introduced to the system by outside
sources e.g. power lines, radio and TV EM waves. Filters are used to reduce the noise and
to maximise the signal-to-noise (S/N) ratio at the A/D converter input. Low frequency
noise (e.g. amplifier DC offsets, sensor drifts, temp fluctuations etc.) can be eliminated by
a high pass filter with the cut off frequency set above the noise frequencies and below the
biological signal frequencies.
Inherent noise arise from random processes fundamental to the operating circuit and this
can easily be reduced by good circuit design practice. Inherent noise can only be reduced
but not eliminated. Low pass filters can be used to reduce high frequency components.
This will not work if the frequency of the biosignal is within the range of the noise signals.
Signal processing
The objective of signal processing is to remove the effects of noise and enhance signal
quality. Filters are mathematical functions which are applied to the signals (post
acquisition) contained within the spectra. These mathematical functions can be simple or
very complex. Examples include moving average, Savitzky-Golay functions for smoothing
signals, derivatives, Fourier transform, Kalman filter, wavelets, maximum entropy.
CPU directs the function of all other units and controls the flow of information among the
units. This CPU is controlled by program instructions.
The ALU performs arithmetic calculations (+, -, x, /) and logical operations (AND, OR,
NOT) that compare sets of information.
Computer memory consists of ROM (permanently programmed into the IC that forms the
basis of the CPU and cannot be changed) and RAM (which stores information temporarily
and can be changed by the user; user generated programs, input data and processed data
are stored here).
Computers are binary devices – the presence of electrical signal denotes 1 while the
absence denotes 0. Signals are combined in groups of 8 bit, a byte, to code information.
Programming languages relate instructions and data to a fixed array of binary bits so that
specific arrangements has only one meaning. Letters of the alphabet and other symbols
(e.g., punctuation marks) are represented by special codes. ASCII stands for the American
Standard Code for Information Exchange. ASCII provides a common standard that allows
different types of computers to exchange information
The lowest level of computer languages is machine language, which consists of the 0s and
1s that the computer interprets. Machine language represents the natural language of a
particular computer.
Assembly languages is the next level and use English-like abbreviations for binary
equivalents. Programs written in assembly language can manipulate memory locations
directly. These programs run very quickly and are often used in data acquisition systems
that must rapidly acquire a large number of samples, perhaps from an array of sensors,
at a very high sampling rate.
Higher-level languages (e.g. FORTRAN, PERL, and C++) contain statements that
accomplish tasks that require many machine or assembly language statements.
Instructions in these languages often resemble English and contain commonly used
mathematical notations. They are easier to learn.
Programs instruct the computers on when and how to use various hardware components
to solve specific problems. These instructions must be delivered to the CPU in the correct
sequence. In acquiring physiological data for instance, programming instructions tell the
computer when data acquisition should begin, how often samples should be taken from
how many sensors, how long data acquisition should continue, and where the digitized
data should be stored. The speed of the computers clock (in Hz) and the number of
instructions per sampling step determine the rate of sampling by a system.