Data Acquisition and Signal Processing for Smart Sensors Nikolay V. Kirianaki pdf download
Data Acquisition and Signal Processing for Smart Sensors Nikolay V. Kirianaki pdf download
https://ebookgate.com/product/data-acquisition-and-signal-
processing-for-smart-sensors-nikolay-v-kirianaki/
https://ebookgate.com/product/multimedia-signal-processing-saeed-v-
vaseghi/
ebookgate.com
https://ebookgate.com/product/advanced-digital-signal-processing-and-
noise-reduction-3rd-ed-edition-saeed-v-vaseghi/
ebookgate.com
https://ebookgate.com/product/information-fusion-in-signal-and-image-
processing-digital-signal-and-image-processing-1st-edition-isabelle-
bloch/
ebookgate.com
https://ebookgate.com/product/the-digital-signal-processing-handbook-
video-speech-and-audio-signal-processing-2nd-edition-vijay-k-
madisetti/
ebookgate.com
https://ebookgate.com/product/signal-processing-for-radiation-
detectors-1st-edition-mohammad-nakhostin/
ebookgate.com
https://ebookgate.com/product/optical-sensors-and-switches-1st-
edition-v-ramamurthy/
ebookgate.com
Data Acquisition and Signal Processing for Smart Sensors
Nikolay Kirianaki, Sergey Yurish, Nestor Shpak, Vadim Deynega
Copyright 2002 John Wiley & Sons Ltd
ISBNs: 0-470-84317-9 (Hardback); 0-470-84610-0 (Electronic)
Nestor O. Shpak
Institute of Computer Technologies, Lviv, Ukraine
Vadim P. Deynega
State University Lviv Polytechnic, Ukraine
Copyright 2002 by John Wiley & Sons, Ltd
Baffins Lane, Chichester,
West Sussex, PO19 1UD, England
All Rights Reserved. No part of this publication may be reproduced, stored in a retrieval system, or
transmitted, in any form or by any means, electronic, mechanical, photocopying, recording,
scanning or otherwise, except under the terms of the Copyright, Designs and Patents Act 1988 or
under the terms of a licence issued by the Copyright Licensing Agency Ltd, 90 Tottenham Court
Road, London, UK W1P 0LP, without the permission in writing of the Publisher.
Neither the authors nor Jon Wiley & Sons Ltd accept any responsibility or liability for loss or
damage occasioned to any person or property through using the material, instructions, methods or
ideas contained herein, or acting or refraining from acting as a result of such use. The authors and
Publisher expressly disclaim all implied warranties, including merchantability of fitness for any
particular purpose.
Designations used by companies to distinguish their products are often claimed as trademarks. In
all instances where John Wiley & Sons is aware of a claim, the product names appear in initial
capital or capital letters. Readers, however, should contact the appropriate companies for more
complete information regarding trademarks and registration.
Data acquisition and signal processing for smart sensors / Nikolay V. Kirianaki . . . [et al.].
p. cm.
Includes bibliographical references and index.
ISBN 0-470-84317-9 (alk. paper)
1. Detectors. 2. Microprocessors. 3. Signal processing. 4. Automatic data collection
systems. I. Kirianaki, Nikolai Vladimirovich.
A catalogue record for this book is available from the British Library
Preface ix
Introduction xv
References 257
Glossary 269
Index 275
PREFACE
Smart sensors are of great interest in many fields of industry, control systems, biomed-
ical applications, etc. Most books about sensor instrumentation focus on the classical
approach to data acquisition, that is the information is in the amplitude of a voltage or a
current signal. Only a few book chapters, articles and papers consider data acquisition
from digital and quasi-digital sensors. Smart sensors and microsensors increasingly rely
on resonant phenomena and variable oscillators, where the information is embedded not
in the amplitude but in the frequency or time parameter of the output signal. As a rule,
the majority of scientific publications dedicated to smart sensors reflect only the tech-
nological achievements of microelectronics. However, modern advanced microsensor
technologies require novel advanced measuring techniques.
Because data acquisition and signal processing for smart sensors have not been
adequately covered in the literature before, this book aims to fill a significant gap.
This book is based on 40 years of the authors’ practical experience in the design and
creation of sensor instrumentation as well as the development of novel methods and
algorithms for frequency–time-domain measurement, conversion and signal processing.
Digital and quasi-digital (frequency, period, duty-cycle, time interval and pulse number
output) sensors are covered in this book.
Research results, described in this book, are relevant to the authors’ international
research in the frame of different R&D projects and International Frequency Sensor
Association (IFSA) activity.
This book is aimed at PhD students, engineers, scientists and researchers in both
academia and industry. It is especially suited for professionals working in the field
of measuring instruments and sensor instrumentation as well as anyone facing new
challenges in measuring, and those involved in the design and creation of new digital
smart physical or chemical sensors and sensor systems. It should also be useful for
students wishing to gain an insight into this rapidly expanding area. Our goal is to
provide the reader with enough background to understand the novel concepts, principles
and systems associated with data acquisition, signal processing and measurement so
that they can decide how to optimize their sensor systems in order to achieve the best
technical performances at low cost.
x PREFACE
of frequency multiplication and scaling with the aim of frequency signal unification.
Different wave shapes (sine wave, sawtooth, triangular and rectangular) of a sensor’s
output are considered. It is also shown how the weight function averaging can be used
for noise and quantization error reduction.
Chapter 7, Digital output smart sensors with software-controlled performances and
functional capabilities, discusses program-oriented methods for frequency-, period-,
duty-cycle-, time-interval-, phase-shift- and pulse-number-to-code conversion and
digital smart sensors. The design methodology for optimal program-oriented conversion
methods, correction of systematic errors and the modified method of algorithms
merging are considered. Examples are given. This chapter also describes specific errors
and features.
Chapter 8, Multichannel intelligent and virtual sensor systems, describes smart
sensor systems with time- and space-division frequency channelling. Both are based
on the method of dependent count. Comparative analysis is given. Performances and
features are illustrated by an ABS smart sensor microsystem example. Multiparame-
ters sensors are also considered. The chapter includes information about virtual sensor
instrumentation and how to estimate the total error of arranged system. Definitions and
examples (temperature, pressure, rotation speed virtual instruments) are given.
Chapter 9, Smart Sensor Design at Software level, deals with embedded microcon-
troller set instruction minimization for metering applications (to save chip area) and
low-power design techniques–optimal low-power programming (for power consump-
tion reduction). Many practical ‘hints’ (e.g. instruction selection and ordering, jump,
call and cycle optimization, etc.), recommendations and examples are given.
Chapter 10, Smart sensor buses and interface circuits, describes sensor buses and
network protocols from the smart sensor point of view. Modern sensor interface circuits
are discussed. Particular attention has been given to the Universal Transducer Inter-
face (UTI) and Time-to-Digital Converter (TDC), which allow low-cost interfacing
with different analog sensors elements such as Pt resistors, thermistors, potentiometer
resistors, capacitors, resistive bridges, etc. and convert analog sensor signals to the
quasi-digital domain (duty-cycle or time interval).
Finally, we discuss what the future might bring.
References. Apart from books, articles and papers, this section includes a large
collection of appropriate Internet links, collected from the Sensors Web Portal launched
by the authors.
LIST OF ABBREVIATIONS AND
SYMBOLS
Rapid advances in IC technologies have brought new challenges to the physical design
of integrated sensors and micro-electrical-mechanical systems (MEMS). Microsystem
technology (MST) offers new ways of combining sensing, signal processing and actu-
ation on a microscopic scale and allows both traditional and new sensors to be realized
for a wide range of applications and operational environments. The term ‘MEMS’ is
used in different ways: for some, it is equivalent to ‘MST’, for others, it comprises
only surface-micromechanical products. MEMS in the latter sense are seen as an
extension to IC technology: ‘an IC chip that provides sensing and/or actuation func-
tions in addition to the electronic ones’ [1]. The latter definition is used in this
book.
The definition of a smart sensor is based on [2] and can be formulated as: ‘a smart
sensor is one chip, without external components, including the sensing, interfacing,
signal processing and intelligence (self-testing, self-identification or self-adaptation)
functions’.
The main task of designing measuring instruments, sensors and transducers has
always been to reach high metrology performances. At different stages of measurement
technology development, this task was solved in different ways. There were technolog-
ical methods, consisting of technology perfection, as well as structural and structural-
algorithmic methods. Historically, technological methods have received prevalence
in the USA, Japan and Western Europe. The structural and structural-algorithmic
methods have received a broad development in the former USSR and continue devel-
oping in NIS countries. The improvement of metrology performances and extension
of functional capabilities are being achieved through the implementation of particular
structures designed in most cases in heuristic ways using advanced calculations and
signal processing. Digital and quasi-digital smart sensors and transducers are not the
exception.
During measurement different kinds of measurands are converted into a limited
number of output parameters. Mechanical displacement was the first historical type
of such (unified) parameters. The mercury thermometer, metal pressure gauge, pointer
voltmeter, etc. are based on such principles [3]. The amplitude of an electric current or
voltage is another type of unified parameter. Today almost all properties of substances
and energy can be converted into current or voltage with the help of different sensors.
All these sensors are based on the use of an amplitude modulation of electromagnetic
processes. They are so-called analog sensors.
Digital sensors appeared from a necessity to input results of measurement into
a computer. First, the design task of such sensors was solved by transforming an
xvi INTRODUCTION
Time Interval
6% Pulse Number
2%
Duty-Cycle
12%
Digital
45%
Frequency
35%
Figure I Classification of sensors from discrete group in terms of output signals (IFSA, 2001)
INTRODUCTION xvii
• The lack of awareness of the innovation potential of modern methods for frequency-
time conversion in many companies, as processing techniques have mainly been
developed in the former Soviet Union.
• The tendency of companies to return, first of all, major expenditures, invested in
the development of conventional ADCs.
• The lack of emphasis placed on business and market benefits, which such measuring
technologies can bring to companies etc.
INDEX
absolute quantization error 73, 79, 100, 107 Base Clock Accuracy 60
absolute temperature 12 base
absorption coefficient 23 energy cost 229–33, 241, 243
acceleration-to-frequency circuits 18 estimation 230
Accelerometers 14, 18 binary position sensors 7
Accuracy 4, 5, 91, 112 biomedical applications 8
acoustic gas sensor 26 biosensors 7
active sensor 19, 21 block codes 62
Active Sensor of Rotation Speed (ASRS) 20 boundary scan architecture 10
ActiveX 204 bulk micromachined piezoresistive 18
Adaptability 19 bus
Adaptive PCM 161–65 architecture 59, 229,
Adding 129 CAN 183, 246–47
Advanced Configuration and Power Interface controller 247
(ACPI) 14 D2 B 246–47
Advanced Methods 89, 120, 122, 126, 153 I2 C 2, 13, 14, 246–47
amplifier hysteresis 78 IS2 23, 246–47
amplitude-frequency characteristic 138 Hart 246
analog-to-digital converter (ADC) 6, 12, 14, SPI 13, 14
41
angle encoders 6 CAD tools 6, 225
angular caesium frequency standards 115
position sensor 21 calculating error 61, 105, 112, 114, 171–72
speed 19 calibration algorithm 15
anti-lock braking system (ABS) 185–90, CANOpen 247
192 capacitance-to-period converter 49
Application-Specific Instruction Processor Capacitive
(ASIP) 227 cell 24
approximating error 116 spring mass accelerometers 18
architectural-level power estimation 229 carbon steel 26
ASIC 2, 49, 225 central processing unit (CPU) 225
atomic frequency standard 115 centralized architecture 192
automated software development tools 228, charge balance technique 42
241 Chemical
automobile sensors network 185 sensor 7, 24
automotive applications 15, 183, 245 signal domain 8
automotive-network interface 245 chemisorbing polymer films 24
averaging windows 136 chrominance 23
Dirichlet, see Weight Functions, Dirichlet circuit state effect 232, 234
276 INDEX
1
SMART SENSORS FOR
ELECTRICAL AND
NON-ELECTRICAL, PHYSICAL
AND CHEMICAL VARIABLES:
TENDENCIES AND
PERSPECTIVES
The processing and interpretation of information arriving from the outside are the main
tasks of data acquisition systems and measuring instruments based on computers. Data
acquisition and control systems need to get real-world signals into the computer. These
signals come from a diverse range of transducers and sensors. According to [7] ‘Data
Acquisition (DAQ) is collecting and measuring electrical signals from sensors and
transducers and inputting them to a computer for processing.’ Further processing can
include the sensors’ characteristic transformation, joint processing for many parame-
ters as well as statistical calculation of results and presenting them in a user-friendly
manner.
According to the output signal, sensors and transducers can be divided into potential
(amplitude), current, frequency, pulse-time and code. As a result, the task of adequate
sensor interfacing with PCs arises before the developers and users of any data acqui-
sition systems. Therefore special attention must be paid to the problems of output
conversion into a digital format as well as to high accuracy and speed conversion
methods.
In general, a sensor is a device, which is designed to acquire information from an
object and transform it into an electrical signal. A classical integrated sensor can be
divided into four parts as shown in Figure 1.1. The first block is a sensing element
(for example, resistor, capacitor, transistor, piezo-electric material, photodiode, resistive
bridge, etc.). The signal produced from the sensing element itself is often influenced by
noise or interference. Therefore, signal-conditioning and signal-processing techniques
such as amplification, linearization, compensation and filtering are necessary (second
block) to reduce sensor non-idealities.
2 1 SMART SENSORS: TENDENCIES AND PERSPECTIVES
Signal
Sensing A/D Sensor-bus
conditioning
element converter interface
and processing
Sometimes if certain sensing elements are used on the same chip, a multiplexer is
necessary. In cases of data acquisition, the signal from the sensor must be in a serial
or parallel digital format. This function can be realized by the analog-to-digital or
frequency-to-digital converter. The last (but not least) block is a sensor-bus interface. A
data acquisition system can have a star configuration in which each sensor is connected
to a digital multiplexer. When using a large number of sensors, the total cable length
and the number of connections at the multiplexer can become very high. For this reason
it is much more acceptable to have a bus-organized system, which connects all data
sources and receivers. This bus system handles all data transports and is connected to
a suitable interface that sends accumulated data to the computer [8].
A smart sensor block diagram is shown in Figure 1.2. A microcontroller is typically
used for digital signal processing (for example, digital filtering), analog-to-digital or
frequency-to-code conversions, calculations and interfacing functions. Microcontrollers
can be combined or equipped with standard interface circuits. Many microcontrollers
include the two-wire I2 C bus interface, which is suited for communication over short
distances (several metres) [9] or the serial interface RS-232/485 for communication
over relatively long distances.
However, the essential difference of the smart sensor from the integrated sensor with
embedded data-processing circuitry is its intelligence capabilities (self-diagnostics, self-
identification or self-adaptation (decision-making)) functions. As a rule, these functions
are implemented due to a built-in microcontroller (microcontroller core (‘microcon-
troller like’ ASIC) or application-specific instruction processor (ASIP)) or DSP. New
functions and the potential to modify its performance are the main advantages of smart
sensors. Due to smart sensor adaptability the measuring process can be optimized for
maximum accuracy, speed and power consumption. Sometimes ‘smart sensors’ are
called ‘intelligent transducers’.
At present, many different types of sensors are available. Rapid advancement of
the standard process for VLSI design, silicon micromachining and fabrication provide
the technological basis for the realization of smart sensors, and opens an avenue that
Sensing Signal
element conditioning µK
can lead to custom-integrated sensors to meet the new demands in performance, size
and cost. This suggests a smooth merging of the sensor and electronics and the fabri-
cation of complete data acquisition systems on a single silicon chip. The essential
issue is the fabrication compatibility of the sensor, sensor-related analogue micro-
electronic circuits and digital interface circuits [10]. In fact, for any type of silicon
sensing element and read-out circuitry, a process can be developed to merge them onto
a single chip. However, process development is very expensive and therefore only a
huge production volume will pay off the development cost. Successful integrated-sensor
processes must have an acceptable complexity and/or applicability for a wide range of
sensors [11]. MEMS technologies allow the miniaturization of sensors and, at the same
time, integration of sensor elements with microelectronic functions in minimal space.
Only MEMS technologies make it possible to mass-produce sensors with increasing
cost-effectiveness while improving their functionality and miniaturizing them.
Of course, the implementation of the microcontroller in one chip together with the
sensing element and signal-conditioning circuitry is an elegant and preferable engi-
neering solution. However, the combination of monolithic and hybrid integration with
advanced processing and conversional methods in many cases achieves magnificent
technical and metrological performances for the shorter time-to-market period without
additional expenditures for expensive CAD tools and the lengthy smart sensor design
process. For implementation of smart sensors with hybrid-integrated processing elec-
tronics, hardware minimization is a necessary condition to achieve a reasonable price
and high reliability. In this case, we have the so-called ‘hybrid smart sensor’ in which
a sensing element and an electronic circuit are placed in the same housing.
Frequency–time-domain sensors are interesting from a technological and fabrication
compatibility point of view: the simplifications of the signal-conditioning circuitry and
measurand-to-code converter, as well as metrology performances and the hardware for
realization. The latter essentially influences the chip area. Such sensors are based on
resonant phenomena and variable oscillators, whose information is embedded not in
the amplitude but in the frequency or the time parameter of the output signal. These
sensors have frequency (fx ), period (Tx = 1/fx ), pulse width (tp ), spacing interval
(ts ), the duty cycle (tp /Tx ), online time ratio or off-duty factor (Tx /tp ), pulse number
(N ), phase shift (ϕ) or single-time interval (τ ) outputs. These informative parame-
ters are shown in Figure 1.3. Because these informative parameters have analog and
digital signal properties simultaneously, these sensors have been called ‘quasi-digital’.
Frequency output sensors are the most numerous group among all quasi-digital sensors
(see Figure I, Introduction). Let us consider the main advantages of frequency as the
sensor’s output signal.
Tx = 1/fx
1 2 N
...
ts tp
...
requiring any synchronization. A frequency signal is ideal for high noise industrial
environments.
• High output signal power. The sensor’s signal can be grouped into six energy
domains: electrical, thermal, mechanical, chemical, radiant and magnetic. Electrical
signals are currently the most preferred signal form. Therefore, sensor design is
focused on developing transducers that convert the signal from one or other energy
domain into a quantity in the electrical domain. From the power point of view,
the section from a sensor output up to an amplifier input is the heaviest section
in a measuring channel for transmitting signals. Here the signal is transmitted by
a very small level of energy. The losses, originating in this section, cannot be
filled any more by signal processing. Output powers of frequency sensors are, as a
rule, considerably higher. In this case, the power affecting the generated frequency
stability is the oscillation (reactive) power of the oscillating loop circuit and due
to the higher quality factor of the oscillating loop its power is higher.
• Wide dynamic range. Because the signal is in the form of the frequency, the dynamic
range is not limited by the supply voltage and noise. A dynamic range of over
100 dB may be easily obtained.
• High accuracy of frequency standards. The frequency reference, for example, crystal
oscillators, can be made more stable than the voltage reference. This can be
explained in the same way as information properties of amplitude-modulated and
frequency-modulated signals.
• Simplicity of commutation and interfacing. Parasitic emf, transient resistances and
cross-feed of channels in analog multiplexers by analog sensors are reduced to
the occurrence of complementary errors. The frequency-modulated signal is not
sensitive to all the above listed factors. Multiplexers for frequency sensors and
transducers are simple enough and do not introduce any errors into observed results.
• Simplicity of integration and coding. The precise integration in time of frequency
sensors’ output signals can be realized simply enough. The adding pulse counter is
an ideal integrator with an unlimited measurement time. The frequency signal can
be processed by microcontrollers without any additional interface circuitry.
1 SMART SENSORS: TENDENCIES AND PERSPECTIVES 5
All this makes the design and usage of different frequency–time-domain smart sensors
very efficient.
The most important properties of smart sensors have been well described in [9]. Here
we will briefly describe only the basic focus points for an intelligent frequency–time-
domain smart sensor design.
1. Sensors with x(t) → F (t) conversion. These are sensors that generate a frequency
output. Electronic circuitry might be needed for the amplification of the impedance
matching, but it is not needed for the frequency conversion step itself. Measuring
information like the frequency or the frequency-pulse form is most simply obtained
in inductive, photoimpulse, string, acoustic and scintillation sensors, since the
principle of operation allows the direct conversion x(t) → F (t). One group of
Quasi-digital
sensors
Figure 1.4 Quasi-digital smart sensor classification (x(t) — measurand; F (t) — frequency;
V (t) — voltage, proportional to the measurand; P (t) — parameter)
6 1 SMART SENSORS: TENDENCIES AND PERSPECTIVES
Parametric (modulating) sensors are devices that produce the primary information
by way of respective alterations of any electrical parameter of some electrical circuit
(inductance, capacity, resistance, etc.), for which it is necessary to have an external
auxiliary power supply. Examples of such types of sensors are pressure sensors based
on the piezoresistive effect and photodetectors based on the photoelectric effect.
In turn, self-generating sensors are devices that receive a signal immediately by way
of a current i(t) or voltage V (t) and do not require any source of power other than the
signal being measured. Examples of such types of sensors are Seebeck effect based
thermocouples and photoeffect based solar cells. Self-generating sensors are also called
‘active’ sensors, while modulating sensors are called ‘passive’ sensors.
The signal power of modulating sensors is the largest and, therefore, from the noise-
reduction point of view their usage is recommended.
The distinctiveness of these three sensor groups (Figure 1.4) is the absence of
conventional ADCs. In order to design digital output smart sensors, it is expedient
to use a microcontroller for the frequency-to-code conversion. The production of such
smart sensors does not require extra technological steps. Moreover, modern CAD tools
contain microcontroller cores and peripheral devices as well as voltage-to-frequency
converters (VFC) in the library of standard cells. So, for example, the Mentor Graphic
CAD tool includes different kinds of VFCs like AD537/650/652, the CAD tool from
Protel includes many library cells of different Burr–Brown VFCs.
In comparison with the data-capturing method using traditional analog-to-digital
converters (ADC), the data-capturing method using VFC has the following advan-
tages [12]:
Radiant
Chemical Mechanical
Signal
domains
Magnetic Thermal
Electrical
sensors and their principles of operation. For readers wishing to learn more about
smart sensor development history we would like to recommend the article [6].
This review aims to illustrate state-of-the-art frequency–time-domain IC sensors
with high metrology performances, and also to formulate the basic requirements for
such an important smart sensor’s unit, as the frequency-to-code converter.
Frequency–time domain-sensors can be grouped in several different ways. We will
group them according to the measurand domains of the desired information. There are
six signal domains with the most important physical parameters shown in Figure 1.5.
Electrical parameters usually represent a signal from one of the non-electrical signal
domains.
frequency ratio, or the fully digital code that is sent to the processor in a serial way
through the digital bus [13]. Some important restraints, caused by the integration of
sensing and digital-processing function on the same chip are [14] (a) the limited chip
area, (b) the tolerances of the device parameters and (c) the digital interference. Perfor-
mances of some integrated temperature sensors are shown in Table 1.1.
Since CMOS is still the most extensively used technology the integration of temper-
ature sensors in high-performance, low-cost digital CMOS technologies is preferred in
order to allow signal conditioning and digital processing on the same chip [13].
In the framework of the COPERNICUS EC project CP0922, 1995–1998, THER-
MINIC (THermal INvestigations of ICs and Microstructures), the research group from
Technical University of Budapest has dealt for several years with the design problem
of small-size temperature sensors that must be built into the chip for thermal moni-
toring [18–21]. One such sensor is based on a current-to-frequency converter [18,19].
The analog signal of the current output CMOS sensor is converted into a quasi-digital
one using a current-to-frequency converter. The block diagram of the frequency output
sensor is shown in Figure 1.6. The Iout output current and its ‘copy’ generated by a
current mirror the charge and discharge the capacitor Cx . The signal of the capacitor
is led to a differential comparator the reference voltage of which is switched between
the levels VC and VD [19]. The resulting frequency is
Iout
f = . (1.1)
2 · Cx (VC − CD )
The sensitivity is −0.808%/◦ C. The output frequency 0.5–1.3 MHz is in a conve-
nient range. The complete circuit requires only an area of 0.018 mm2 using the ECPD
1 µm CMOS process. The low sensitivity on the supply voltage is a remarkable feature:
±0.25 V charge in VDD results in only ±0.28% charge in the frequency. The latter
corresponds to the ±0.35 ◦ C error. The total power consumption of this sensor is about
200 µW [20].
The characteristic of this sensor is quite linear and the output frequency of these
sensors can be approximately written as
◦
fout = f20Cels exp(γ (TCels − 20 C)), (1.2)
Temperature-to-current Current-to-frequency
converter converter
in the −50 · · · +120 ◦ C temperature range, where γ is the sensitivity, f20Cels is the
nominal frequency related to T = 20 ◦ C. Using the AMS 0.8 µm process, the area
consumption is 0.005 mm2 [21]. The THSENS-F [22] sensor characteristic and sensor
layout based on these researches are shown in Figure 1.7 and 1.8 respectively. This
sensor can be inserted into CMOS designs, which can be transferred and re-used as cell
(layout level) entities or as circuit netlists with transistor sizes. The sensor’s sensitivity
is ≈ −0.8%/◦ C; the temperature range is −50 · · · +150 ◦ C; the accuracy is ≈ ±2 ◦ C
for (0 . . . 120 ◦ C). The two latter parameters depend on the process.
If the temperature sensors described above are inserted into a chip design, additional
circuitry must be implemented in order to provide access to such sensors [21]. Built-in
temperature sensors can be combined with other built-in test circuitry. The boundary
scan architecture [23] is suitable for monitoring temperature sensors. This architecture
has led to the standard IEEE 1149.1 and is suitable for incorporating frequency output
temperature sensors.
2000
1800
1600
1400
Frequency [kHz]
1200
1000
800
600
400
Figure 1.7 Sensor characteristic (output frequency vs. temperature) (Reproduced by permission
of MicReD)
A further interesting fully CMOS temperature sensor designed by this research team
is based on the temperature dependence of internal thermal diffusion constant of silicon.
In order to measure this diffusion constant an oscillating circuit is used in which the
frequency-determining element is realized by a thermal delay line. The temperature
difference sensors used in this delay line are Si-Al thermopiles. This circuit is the
Thermal-Feedback Oscillator (TFO). The frequency of this oscillator is directly related
to the thermal diffusion constant and thus to the temperature. This constant can be
defined as
Dth = λ/c, (1.3)
where λ is the thermal conductivity and c is the unit-volume heat capacitance. This
diffusion constant shows a reasonably large (−0.57%/◦ C) temperature dependence on
the silicon. In order to measure this diffusion constant, oscillating circuits were used
in which the frequency-determining feedback element is realized by a thermal time-
delay line. If the feedback element is a thermal two-port (thermal delay line) then the
frequency of the oscillator is directly related to the thermal diffusion constant and thus
shows similar temperature dependence as the thermal diffusion constant [18].
The thermal delay line requires, however, a significant power input. Because of this
disadvantage, the circuit is not really suitable for online monitoring purposes [19].
However, these sensors and the sensor principle can probably be used for other appli-
cations.
It is also necessary to note the low-power consumption smart temperature sensor
SMT 160-30 from Smartec (Holland) [24]. It is a sophisticated full silicon sensor with
a duty-cycle modulated square-wave output. The duty-cycle of the output signal is
linearly related to the temperature according to the equation:
tp
DC = = tp · fx = 0.320 + 0.00470 · t, (1.4)
Tx
where tp is the pulse duration; Tx is the period; fx is the frequency; t is the temperature
in ◦ C. This sensor is calibrated during the test and burn-in of the chip. The sensor
characteristic is shown in Figure 1.9.
One wire output can be directly connected to all kinds of microcontrollers without
the A/D conversion. The temperature range is −45 ◦ C–+150 ◦ C, the best absolute
140
120
Temperature [°C]
100
80
60
40
20
0
−20
−40
0 0.2 0.4 0.6 0.8 1
Duty cycle
accuracy, including all errors is ±0.7 ◦ C, the relative error is 0.47%, the frequency range
is 1–4 kHz. The CMOS output of the sensor can handle cable length up to 20 metres.
This makes the SMT 160-30 very useful for remote sensing and control applications.
This smart temperature sensor represents a significant totally new development in
transducer technology. Its novel on-chip interface meets the progressively stringent
demands of both the consumer and industrial electronics sectors for a temperature
sensor directly connectable to the microprocessor input and thus capable of direct and
reliable communication with microprocessors.
In applications where more sensors are used, easy multiplexing can be obtained
by using more microprocessor inputs or by using simple and cheap digital multi-
plexers.
The next specialized temperature sensor is interesting due to the high metrology
performances (high accuracy). It is the SBE 3F temperature sensor with an initial
accuracy of 0.001 ◦ C and typically stable to 0.002 ◦ C per year [25]. It is used
for custom-built oceanographic profiling systems or for high-accuracy industrial
and environmental temperature-monitoring applications. Depth ratings to 6800
and 10 500 metres (22 300 and 34 400 ft) are offered to suit different application
requirements.
The sensing element is a glass-coated thermistor bead, pressure-protected in a thin-
walled 0.8 mm diameter stainless steel tube. Exponentially related to the temperature,
the thermistor resistance is the controlling element in the optimized Wien bridge oscil-
lator circuit. The resulting sensor frequency is inversely proportional to the square root
of the thermistor resistance and ranges from approximately 2 to 6 kHz, corresponding
to temperatures from −5 to +35 ◦ C.
In speaking about digital output IC and smart temperature sensors it is necessary
to mention interesting developments of companies such as Analog Devices, Dallas
Semiconductor and National Semiconductor.
The TMP03/TMP04 are monolithic temperature detectors from Analog Devices
[26,27] that generate a modulated serial digital output that varies in direct propor-
tion to the temperature of the device. The onboard sensor generates a voltage precisely
proportional to the absolute temperature, which is compared with the internal voltage
reference and the input to a precision digital modulator. The ratiometric encoding
format of the serial digital output is independent from the clock drift errors common to
most serial modulation techniques such as voltage-to-frequency converters. The overall
accuracy is ±1.5 ◦ C (typical) from −25 ◦ C to +100 ◦ C, with good transducer linearity.
The digital output of the TMP04 is CMOS/TTL compatible, and is easily interfaced to
the serial inputs of the most popular microprocessors. The open-collector output of the
TMP03 is capable of sinking 5 mA. The TMP03 is best suited for systems requiring
isolated circuits, utilizing optocouplers or isolation transformers.
The TMP03/TMP04 are powerful, complete temperature measurement systems on a
single chip. The onboard temperature sensor follows the footsteps of the TMP01 low-
power programmable temperature controller, offering excellent accuracy and linearity
over the entire rated temperature range without correction or calibration by the user.
The sensor output is digitized by the first-order sigma-delta modulator, also known
as the ‘charge balance’ type analog-to-digital converter. This type of converter utilizes
the time-domain oversampling and a high accuracy comparator to deliver 12 bits of
effective accuracy in the extremely compact circuit.
1.1 TEMPERATURE IC AND SMART SENSORS 13
EEPROM arrays, real-time clocks and CPU monitoring. One more interesting feature
of Dallas Semiconductor’s temperature sensors is that they are expandable from 9 to
13 bits or user configurable to 9, 10, 11 or 12 bits resolution.
Dallas Semiconductor’s DS1616 Temperature Data Recorder with the 3-Input Analog
to Digital Converter adds the potential for three powerful external sensors to the
base design of the DS1615 Temperature Data Recorder. It permits logging of not
only the temperature, but also the humidity, the pressure, the system voltage, external
temperature sensors, or any other sensor with the analog voltage output. The DS1616
provides all of the elements of a multi-channel data acquisition system on one chip.
It measures the selected channels at user-programmable intervals, then stores the data
and a time/date stamp in the nonvolatile memory for later downloading through one
of the serial interfaces.
National Semiconductor also proposes some digital temperature sensors [32] with
different temperature ranges from −55 ◦ C up to +150 ◦ C: SPI/MICROWIRE plus the
sign digital temperature sensor LM70 (10-bit) and LM74 (12-bit); the digital temper-
ature sensor and the thermal watchdog with the two-wire (I2 CTM Serial Bus) interface
LM75 (±3 ◦ C); digital temperature sensors and the thermal window comparator with
the two-wire interface LM76 (±1 ◦ C), LM77 (±1.5 ◦ C) and LM92 (±0.33 ◦ C). The
sensors LM70, LM74 and LM75 include the delta-sigma ADC.
The window-comparator architecture of the sensors eases the design of the temper-
ature control systems conforming to the ACPI (advanced configuration and power
interface) specification for personal computers.
Another example of a digital output sensor is +GF+ SIGNET 2350 [33] with
a temperature range from −10 to +100 ◦ C and accuracy ±0.5 ◦ C. The temperature
sensor’s digital output signal allows for wiring distances between sensor and temper-
ature transmitter of up to 61 m. An integral adapter allows for the integration of the
sensor and the transmitter into a compact assembly.
• high sensitivity
• good linearity
• minor hysteresis phenomenon
• small response time.
The output parameters of the diffused piezoresistors are temperature dependent and
require the device to be compensated if it is to be used over a wide temperature range.
However, with occurrence smart sensors and MEMS, the temperature error can be
compensated using built-in temperature sensors.
Most of today’s MEMS pressure transducers produced for the automotive market
consist of the four-resistor Wheatstone bridge, fabricated on a single monolithic die
using bulk etch micromachining technology. The piezoresistive elements integrated
into the sensor die are located along the periphery of the pressure-sensing diaphragm,
at points appropriate for strain measurement [36].
Now designers can choose between two architectures for sensor compensation: the
conventional analog sensor signal processing or digital sensor signal processing. The
latter is characterized by full digital compensation and an error-correction scheme. With
a very fine geometry, mixed-signal CMOS IC technologies have enabled the incorpo-
ration of the sophisticated digital signal processor (DSP) into the sensor compensator
IC. The DSP was designed specifically to calculate the sensor compensation, enabling
the sensor output to realize all the precision inherent in the transducer.
As considered in [37] ‘as the CMOS process and the microcontroller/DSP tech-
nology have become more advanced and highly integrated, this approach may become
increasingly popular. The debate continues as to whether the chip area and the circuit
overhead of standard microprocessor designs used for this purpose will be competi-
tive with less flexible (but smaller and less costly) dedicated DSP designs that can be
customized to perform the specific sensor calibration function’.
The integrated pressure sensor shown in Figure 1.10 uses a custom digital signal
processor and nonvolatile memory to calibrate and temperature-compensate a family
of pressure sensor elements for a wide range of automotive applications.
This programmable signal conditioning engine operates in the digital domain using
a calibration algorithm that accounts for higher order effects beyond the realm of
most analog signal conditioning approaches. The monolithic sensor provides enhanced
features that typically were implemented off the chip (or not at all) with traditional
analog signal conditioning solutions that use either laser or electronic trimming. A
specially developed digital communication interface permits the calibration of the indi-
vidual sensor module via connector pins after the module has been fully assembled
and encapsulated. The post-trim processing is eliminated, and the calibration and the
module customization can be performed as an integral part of the end-of-line testing
by completion of the manufacturing flow. The IC contains a pressure sensor element
that is coprocessed in a submicron, mixed-signal CMOS wafer fabrication step and
can be scaled to a variety of automotive pressure-sensing applications [37].
Now, let us give some state-of-the-art and industrial examples of modern pressure
sensors and transducers. Major attention has been given to the creation of pressure
sensors with frequency output in the USSR [38,39]. The first of them was based on
the usage of VFC and had an accuracy up to 1%, the effective range of measuring
16 1 SMART SENSORS: TENDENCIES AND PERSPECTIVES
frequencies 0–2 kHz in the pressure range 0–40 MPa. The second was founded on
the usage of the piezoresonator. The connection of this device into a self-oscillator
circuit receives a frequency signal, proportional to the force. The relation between the
measured pressure p and the output frequency signal f is expressed by the following
equation:
p = (f − f0 )/Kp ; Kp = KF · Seff , (1.5)
The model SP550 from Patriot [41] is a rugged pressure transducer which provides
full-scale output of 1–11 kHz. The output frequency can be offset to provide the output
of any span between 1 kHz to 150 kHz. In this transducer the strain–guage signal is
converted into the frequency via the precision monolithic VFC and the operational
amplifier.
Geophysical Research Corporation has announced the Amerada Quartz Pressure
Transducer [42]. The transducer employs a rugged crystalline quartz sensor that res-
ponds to the stress created by the pressure. This response is in the form of a change
in the resonant frequency created by the applied pressure. The pressure dependence of
the sensor is slightly non-linear but is easily corrected during the calibration using a
third-order polynomial function. In addition, the crystalline quartz is considered to be
perfectly elastic which contributes to the excellent repeatability that is characteristic of
this technology. Two additional quartz sensors are employed, one to measure temper-
ature, the second acting as a stable reference signal. The temperature measurement is
used for the dynamic temperature compensation of the pressure crystal while the refer-
ence signal is used as a stable timing base for the frequency counting. The pressure
range is up to 10 000 psia, the accuracy up to ±0.02% FS [42]. The output pressure
and temperature frequencies range between 10 kHz and 60 kHz.
The high-accuracy (0.01%) fibre-optic pressure transducers have been developed by
ALTHEN GmbH by applying optical technology to resonator-based sensors [43].
Further development of microelectronic technologies and smart sensors has declined
in the rise of high-precision (up to 0.01%) digital output pressure sensors and trans-
ducers. Some of which are described below.
The Paroscientific, Inc. Digiquartz Intelligent Transmitter [44] consists of a unique
vibrating quartz crystal pressure transducer and a digital interface board in the integral
package. Commands and data requests are sent via the RS-232 channel and the trans-
mitter returns data via the same two-way bus. Digital outputs are provided directly in
engineering units with typical accuracy of 0.01% over a wide temperature range. The
use of a frequency output quartz temperature sensor for the temperature compensation
yields the achievable full-scale accuracy of 0.01% over the entire operating temperature
range. The output pressure is fully thermally compensated using the internally mounted
quartz crystal specifically designed to provide a temperature signal. All transmitters
are programmed with calibration coefficients for full plug-in interchangeability. The
Intelligent Transmitter can be operated either as a stand-alone standard output pressure
sensor with the display, or as a fully integrated addressable computer-controlled system
component. Transducers use crystalline quartz as the key sensing elements for both
the pressure and the temperature because of its inherent stability and precision char-
acteristics. The pressure-sensing element is a quartz beam, which changes frequency
under the axial load. The transferred force acts on the quartz beam to give a controlled,
repeatable and stable change in the resonator’s natural frequency, which is measured
as the transducer output. The load-dependent frequency characteristic of the quartz
crystal beam can be characterized by a simple mathematical model to yield highly
precise measurements of the pressure and pressure-related parameters. The output is a
square wave frequency [44].
Other examples are intelligent pressure standards (series 960 and 970) [45]. In
the 960 series, the pressure is measured via the change in the resonant frequency
of the oscillating quartz beam by the pressure-induced stress. QuartzonixTM pressure
18 1 SMART SENSORS: TENDENCIES AND PERSPECTIVES
standards produce the output frequency between 30 and 45 kHz and can achieve accu-
racy of ±0.01% FS. The precise thermal compensation is provided via the integrated
quartz temperature sensor used to measure the operating temperature of the transducer.
The 970 series uses a multi-drop, 9600 baud ASCII character RS-485 type interface,
allowing a network of up to 31 transducers on the same bus. The output pressure
measurement is user programmable for both the pressure units and update rate.
The resonant pressure transducer RPT 200 (frequency, RS-232/485 outputs) and the
digital output pressure sensor RPT 301 (selectable output RS-232 or RS-485) series
with ±0.01% FS accuracy are produced by Druck Pressure Measurement [46].
Another very popular silicon sensor from the mechanical signal domain is the
accelerometer. The measurement of acceleration or one of its derivative properties
such as vibration, shock, or tilt has become very commonplace in a wide range of
products. The types of sensor used to measure the acceleration, shock, or tilt include
the piezo film, the electromechanical servo, the piezoelectric, the liquid tilt, the bulk
micromachined piezoresistive, the capacitive, and the surface micromachined capaci-
tive. Each has distinct characteristics in the output signal, the development cost, and
the type of the operating environment in which it best functions [47]. The piezoelectric
has been used for many years and the surface micromachined capacitive is relatively
new. To provide useful data, the first type of accelerometers require the proper signal-
conditioning circuitry. Over the last few years, the working range of these devices has
been broadened to include frequencies from 0.1 Hz to above 30 kHz.
Capacitive spring mass accelerometers with integrated electronics that do not require
external amplifiers are proposed by Rieker Inc. These accelerometers of the Sieka series
are available with analog DC output, digital pulse-width modulated, or frequency-
modulated outputs [48].
The surface micromachined products provide the sensor and the signal-conditioning
circuitry on the chip, and require only a few external components. Some manufacturers
have taken this approach one step further by converting the analog output of the analog
signal conditioning into a digital format such as a duty-cycle. This method not only
lifts the burden of designing the fairly complex analog circuitry for the sensor, but also
reduces the cost and the board area [47].
A very simple circuit can be used to measure the acceleration on the basis of
ADXL202/210 accelerometers from Analog Devices. Both have direct interface to
popular microprocessors and the duty-cycle output with 1 ms acquisition time [49].
For interfacing of the accelerometer’s analog output (for example, ADXL05) with
microcontrollers, Analog Devices proposes acceleration-to-frequency circuits based on
AD654 VFC to provide a circuit with a variable frequency output. A microcontroller
can then be programmed to measure the frequency and compute the applied accelera-
tion [50].
is proportional to the measured parameter. In such sensors the flow mesh is connected
with the angle of rotation by the following equation:
= m · cos θ, (1.8)
then the induced emf in the sensor sensitive element is
dϕ dθ
e=− = ψm · sin θ = Em sin θ (1.9)
dt dt
and can be determined by the instantaneous frequency in any moment of time
1 dθ
f = · (1.10)
2π dt
which is proportional to the instantaneous angular speed
dθ
ω= (1.11)
dt
The current averaging of the angular speed ω on the interval h, measured in the units
2π represents the frequency of rotation and is determined by Steklov’s function [51]:
t+0.5h
1
n(t) = ω(τ )dτ (1.12)
2πh
t−0.5h
This equation reflects only a common idea of the current average of some function
on its argument. Using the frequency measurement of the rotational speed the choice
of mathematical expression should agree with experiment. In this case, the rotational
speed and the angular velocity should be interlinked with the expression relevant to
the physics of the observable process and the requirements of their measurement in
a concrete system. For the description of rotational speed, it is expedient to use the
expression of the flowing average:
t h
1 1
n(t) = ω(τ )dτ = ω(t − τ )dτ (1.13)
2πh 2πh
t−h 0
example [52,53]. It was developed on the basis of the crankshaft position sensor. Its
principle of action is based on the effect of the continuous suppression of oscillations
of the high frequency generator by passing each metal plate of the modulating rotor
in front of the active sensor element and its subsequent resumption. Due to that,
rectangular pulses with constant amplitude (+Vcc ) are continuously formed on the
sensor output. The frequency of these pulses is proportional to the rotating speed. If
the metal tooth of the rotor-modulator comes nearer to the active element (generator
coil), the logic level ‘1’ (+Vcc ) is formed as the sensor output. When the active sensor
part appears between the teeth, the logic level ‘0’ is formed as the output. Thus, the
active sensor forms the pulsing sequence, the frequency of which is proportional or
equal to the rotating speed. This sensor does not require any additional buffer devices
for the tie-in measuring system and has a very easy interface to the microsystem.
Moreover, the sensor meets the requirements of the technological compatibility with
other components of the microsystem.
The circuit diagram of the Active Sensor of Rotation Speed (ASRS) is shown in
Figure 1.11. It consists of a high frequency generator (f = 1 MHz), a sensing element
(the generator coil), an amplifier, a voltage stabilizer and an output forming transistor
with an opened collector [54]. The “chip & wire” technology was used in the sensor
design, which combines the advantages of both monolithic and hybrid integrated tech-
nologies. All electronics was realized in a single chip, only the inductance, two resistors
and the stabilitron were implemented in accordance with hybrid technology.
The ASRS is shown in Figure 1.12 and the sensor’s output waveforms in Figure 1.13.
The amplitude of the signal is constant and does not depend on temperatures and the
direction of the rotation. The online time ratio Q = 2 (50% duty-cycle independent of
the distance). But in a frequency range of more than 50 000 rpm, the pulse width will
be increased.
The comparative features of modern non-contact sensors of different principles of
function are shown in Table 1.3. Here sensors A5S07/08/09 are made by BR Braun
(Germany), DZXXXX by Electro Corporation (USA); VT1855, OO020 by NIIFI
(Penza, Russia); 4XXXX by Trumeter (UK); LMPC by Red Lion Controls (USA).
R5
Vcc
R1 R6
T1 T2
C2
R7
R2
L1
C1 R3
T3
R4
External
components
Figure 1.11 Circuit diagram of the Active Sensor of Rotation Speed (ASRS)
1.3 ROTATION SPEED SENSORS 21
Figure 1.13 Waveforms of sensor’s output horizontal scale 2.0 ms/div; vertical scale 5V/div
Active, magnetic and Hall-effect sensors are more suitable for the determination of
the object status ‘Stop’ (a shaft is stopping). The advantage of active semiconductor
sensors is the possibility of operation with the non-magnetic modulating rotor’s teeth
(steel, copper, brass, aluminium, nickel, iron). Therefore, the modulating rotor can
be made of plastic and its teeth — of the metallized coating. It essentially raises the
manufacturability and decreases the cost value. With the exception of the non-contact
rotation speed sensing, such sensors can be used like an angular position sensor, a
position sensor, a metallic targets counter and an end-switch. In addition, a smart
sensor on this basis allows the measurement of the rotation acceleration.
22 1 SMART SENSORS: TENDENCIES AND PERSPECTIVES
Active semiconductor sensors are not influenced by run-out and external magnetic
fields in comparison with Hall-effect sensors. With Hall-effect sensors, it is necessary
to take into account the availability of the initial level of the output signal between
electrodes of the Hall’s element by absence of the magnetic field and its drift. It is
especially characteristic for a broad temperature range. A Hall-effect rotation speed
sensor needs encoders with magnetic pole teeth.
Another good example of a smart sensor for rotation speed is the inductive posi-
tion, speed and direction active microsensor MS1200 from CSEM (Switzerland) [55].
The output can switch up to 1 mA and is compatible with CMOS digital circuits,
in particular with microprocessors. The frequency range is 0–40 kHz, the air-gap is
0–3 mm. The core is a sensor chip with one generator coil and two sets of detection
coils (Figure 1.14).
The detection coils are connected in a differential arrangement, to reject the common
mode signal. The sensor also includes an electronic interface, which is composed of
Demod.
Logic Direction
4x
Demod.
Detection micro-coils B
Metallic target
Figure 1.14 MS1200 functional block diagram (Reproduced by permission of POSIC S.A.,
Neuchatel, Switzerland)
1.4 INTELLIGENT OPTO SENSORS 23
a high frequency excitation for the generator coil and two read-out channels for the
two sets of detection coils (channels A and B). The read-out electronics extract the
amplitude variation of the high frequency signal due to the presence of a metallic target.
The output stage is a first-order low-pass filter and a comparator. For a nominal target
period of 2 mm, the outputs are two channels in quadrature (A quad B) as well as a
direction signal and a speed signal (4X interpolation). It is composed of two silicon
chips, one for the integrated microcoil and the other for the integrated interface circuit.
The sensor produces a two-channel digital output, as well as a direction signal.
6. Let the Jews seek the glory which one man receives from
another: I will seek that which is from God alone.
Chap. XLI.
Of the contempt of all temporal honour.
For, because I have often and grievously sinned against thee, all
creatures have reason to take up arms against me.
1. Son, if thou placest thy peace with any person, for the sake of
thy contentment in his company, thou shall be unsettled and
entangled:
By so much the more does a man draw nigh to God, by how much
the farther he withdraws himself from all earthly comfort.
So much the higher he ascends into God, by how much the lower
he descends into himself, and by how much the meaner he
esteems himself.
If thou couldst perfectly annihilate thyself, and cast out from thyself
all created love, then should I flow into thee with abundance of
grace.
When thou lookest towards creatures, the sight of the Creator is
withdrawn from thee.
Learn for the Creator's sake, to overcome thyself in all things; and
then thou shalt be able to attain to the knowledge of God.
Chap. XLIII.
Against vain and worldly learning.
1. Son, be not moved with the fine and quaint sayings of men: For
the kingdom of God consists not in talk, but in virtue.
Never read any thing that thou may appear more learned or more
wise.
Study therefore to mortify thy vices, for this will avail thee more
than the knowledge of many hard questions.
2. When thou shalt have read, and shalt know many things, thou
must always return to one beginning.
The time will come, when Christ, the Master of masters, the Lord of
angels, shall appeal, to hear the lessons of all men; that is, to
examine the consciences of every one.
And then he will search Jerusalem with candles, and the hidden
things of darkness shall be brought to light, and the arguments of
tongues shall be silent.
The voice of the books is the same, but it teacheth not all men
alike; because I within am the teacher of truth, the searcher of
hearts, the understander of thoughts, the promoter of actions;
distributing to every one as I judge fitting.
Chap. XLIV.
Of not drawing to ourselves exterior things.
Many things also must you pass by with a deaf ear, and think
rather of those things that appertain to thy peace.
If thou standeth well with God, and lookest at his judgment, thou
wilt more easily bear to see thyself overcome.
Chap. XLV.
That credit is not to be given to all men;
and that men are prone to offend in words.
And how often have I found it where I did not expect it?
Vain therefore is all hope in men; but the safety of the Just is in
thee, O Lord.
2. Who is the man that is able to keep himself so warily, and with
so much circumspection in all things, as not to fall sometimes into
some deceit or perplexity?
But he that trusts in thee, O Lord, and seeks thee with a simple
heart, does not so easily fall;
Thou, O Lord, thou alone art most faithful in all things, and besides
thee there is no other such.
3. Oh! how wise was that holy soul that said, My mind is
strongly settled and grounded upon Christ. St. Agatha.
If it were so with me, the fear of man would not so easily give me
trouble, nor flying words move me.
Who can foresee all things, or who is able to provide against all
future evils?
If things foreseen do yet often hurt us, how can things unlooked
for fail of wounding us grievously?
But why did I not provide better for myself, miserable wretch as I
am? Why also have I so easily given credit to others?
But we are men, and are but frail men, though by many we are
reputed and called angels.
To whom shall I give credit, O Lord? to whom but thee? Thou art
the truth, which neither canst deceive nor be deceived.
And on the other side, Every man is a liar, (Psalms cxi.) infirm,
unstable, and subject to fail, especially in words; so that we ought
not readily to believe even that which in appearance seems to
sound well.
Be wary, saith one, be wary, keep in thyself what I tell thee: and
whilst I hold my peace, and believe the matter to be secret, he
himself cannot keep the secret which he desired me to keep, but
presently discovers both me and himself, and goes his way.
From such tales and such unwary people defend me, O Lord, that I
may not fall into their hands, nor ever commit the like.
How secure it is for the keeping of heavenly grace, to fly the sight
of men, and not to seek those things that seem to cause
admiration abroad; but with all diligence to follow that which brings
amendment of life and fervour!
To how many hath it been hurtful to have their virtue known, and
over-hastily praised? How profitable indeed hath grace been kept
with silence in this frail life, which is all but a temptation and a
warfare?
Chap. XLVI.
Of having confidence in God,
when words arise against us.
1. Son, stand firm, and trust in me; for what are words but words?
they fly through the air, but hurt not a stone.
If thou art guilty, think that thou wilt willingly amend thyself.
If thy conscience accuse thee not, think that thou wilt willingly
suffer this for God's sake.
And why do such small things go to thy heart; but because thou
art yet carnal, and regardest man more than thou oughtest?
For because thou art afraid of being despised, thou art not willing
to be reprehended for thy faults, and seekest to shelter thyself in
excuses.
2. But look better into thyself, and thou shalt find that the world is
still living in thee, and a vain desire of pleasing men:
For when thou art unwilling to be humbled and confounded for thy
defects, it is plain indeed that thou art not truly humble, nor truly
dead to the world, nor the world crucified to thee.
But give ear to my word, and thou shalt not value ten thousand
words of men.
Behold, if all should be said against thee, which the malice of men
can invent, what hurt could it do thee, if thou wouldst let it pass,
and make no reckoning of it? Could it even so much as pluck one
hair away from thee?
3. But he who has not his heart within, nor God before his eyes,
is easily moved with a word of dispraise:
Whereas he that trusts in me, and desires not to stand by his own
judgment, will be free from the fear of men.
For I am the judge and discerner of all secrets; I know how the
matter passed; I know both him that offers the injury, and him that
suffers it.
I shall judge the guilty and the innocent; but by a secret judgment
I would beforehand try them both.
5. O Lord God, the best judge, strong and patient, who knowest
the frailty and perverseness of men, be thou my strength, and all
my confidence, for my own conscience sufficeth me not.
Chap. XLVII.
That all grievious things
are to be endured for life everlasting.
Thou shalt not labour here long, nor shalt thou be always
oppressed with sorrows.
Wait a little while, and thou shalt see a speedy end of all thy evils.
The hour will come when labour and trouble shall be no more.
Write, read, sing, sigh, keep silence, pray, bear thy crosses
manfully: eternal life is worthy of all these, and greater combats.
Peace shall come in one day, which is known to the Lord: and it
shall not be day, nor night, viz. such as is at present, but
everlasting light, infinite brightness, steadfast peace, and secure
rest.
Thou shalt not then say, Who shall deliver me from the body
of this death, (Romans vii.) nor shalt thou cry out, Wo to me for
that my sojourning is prolonged. (Psalms cxix.) For death shall
be no more; but never failing health, no anxiety, but blessed
delight, and a society sweet and lovely.
Neither wouldst thou covet the pleasant days of this life, but
wouldst rather be glad to suffer tribulation for God's sake, and
esteem it thy greatest gain to be reputed as nothing amongst men.
4. Ah! if thou didst but relish these things, and didst suffer them to
penetrate deeply thy heart, how wouldst thou dare so much as
once to complain!
Chap. XLVIII.
Of the day of eternity,
and of the miseries of this life.
1. O Most happy mansion of the city above! O most bright day of
eternity, which knows no night, but is always enlightened by the
Sovereign Truth; a day always joyful, always secure, and never
changing its state for the contrary!
Oh! that this day would shine upon us, and all these temporal
things would come to an end!
2. The citizens of heaven know how joyful that day is; but the
banished children of Eve lament that this our day is bitter and
tedious.
The days of this life are short and evil, full of sorrows and miseries:
where man is defiled with many sins, is ensnared with many
passions, attacked with many fears, disquieted with many cares,
distracted with many curiosities, entangled with many vanities,
encompassed with many errors, broken with many labours, troubled
with temptations, weakened with delights, tormented with want.
I desire to cleave to heavenly things, but the things of this life and
my unmortified passions bear me down. I am willing in mind to be
above all things, but by the flesh am obliged against my will to be
subject to them.
Thus, unhappy man that I am, I fight with myself, and am become
burthensome to myself, whilst the spirit seeks to tend upwards, and
the flesh downwards.
Come, heavenly sweetness, and let all impurity fly before thy face.
Pardon me also, and mercifully forgive me the times that I have
thought of any thing else in prayer besides thee.
6. For this reason thou, who art the truth, hast plainly said,
Where thy treasure is, there also is thy heart. Matthew vi.
But blessed is the man, who for thee, O Lord, lets go all things
created: who offers violence to his nature; and through fervour of
spirit crucifies the lusts of the flesh: that so his conscience being
cleared up, he may offer to thee pure prayer, and may be worthy
to be admitted, among the choirs of angels, having shut out all
things of the earth both from without and within.
Chap. XLIX.
Of the desire of eternal life: and how great things are
promised to them that fight.
2. Son, the fire often burns, but the flame ascends not without
smoke:
So also some people's desires are on fire after heavenly things, and
yet they are not free from temptation of fleshly affection:
And therefore it is not altogether purely for God's honour that they
do what they so earnestly request of him.
For that is not pure and perfect, which is infected with self-interest.
4. Ask not what is delightful and commodious for thee, but what is
pleasing and honourable to me: for if thou judgest rightly, thou
oughtest to follow my appointment rather than thy own desire, and
to prefer it before all that thou desirest.
I am [that Sovereign Good] wait for me, saith the Lord, till the
kingdom of God comes.
Thou must put on the new man, and be changed into another man.
Others shall ask, and shall receive; thou shalt ask, and not obtain.
In these and many such like things, the faithful servant of the Lord
is used to be tried, how far he can renounce himself, and break
himself in all things.
And because being under authority thou darest not resist the
higher power, therefore thou art apt to think it hard to walk at the
beck of another, and wholly to give up thy own sentiment.
6. But consider, Son, the fruit of these labours, how quickly they
will end, and their exceeding great reward; and thou wilt not be
troubled at them, but strongly comforted in thy sufferings.
For in regard of the little of thy will, which thou now willingly
forsakest, thou shalt for ever have thy will in heaven.
For there thou shalt find all that thou willest, all that thou canst
desire.
There thou shalt enjoy all good without fear of ever losing it.
There thy will being always one with mine, shall desire nothing
foreign or private.
There I will give thee glory for the affronts which thou hast
suffered; a garment of praise for thy sorrow; and for thy having
been seated here in the lowest place, a royal throne for all eternity.
There will the fruit of obedience appear, there will the labour of
penance rejoice, and humble subjection shall be gloriously crowned.
7. Bow down thyself then humbly at present under the hands of all;
and heed not who it was that has said or commanded this;
But let it be thy great care, that whether thy superior or inferior, or
equal, desire any thing of thee, or hint at any thing, thou take all in
good part, and labour with a sincere will to perform it.
Let one man seek this, another that; let this man glory in this
thing, another in that, and be praised a thousand thousand times:
but thou, for thy part, rejoice neither in this nor in that, but in the
contempt of thyself, and in my good pleasure and honour alone.
Chap. L.
How a desolate person
ought to offer himself into the hands of God.
1. O Lord God, O Holy Father, be thou now and for ever blessed,
for as thou wilt, so it has happened; and what thou dost is always
good.
Let thy servant rejoice in thee, not in himself, nor in any other; for
thou alone art true joy, thou my hope, and my crown; thou my
gladness, and my honour, O Lord.
What hath thy servant but what he hath received from thee, and
this without any merit on his side? All things are thine which thou
hast given, and which thou hast made.
2. I long for the joy of peace, I beg for the peace of thy children,
who are fed by thee in the light of thy consolation.
If thou givest peace, if thou infusest holy joy, the soul of thy
servant shall be full of melody, and devout in thy praise.
O holy Father, thou hast so appointed, and such is thy will; and
that has come to pass which thou hast ordered.
It is good for me, O Lord, that thou hast humbled me, that
I may learn thy justifications, (Psalms cxviii.) and cast away
from me all pride of heart and presumption.
And of all things under heaven, there is none can comfort me but
thou, O Lord my God, the heavenly physician of souls, who
woundest and healest, bringest down to hell, and leadest
back again.
Thou knowest all and every thing, and there is nothing in man's
conscience hidden from thee.
Thou knowest things to come, before they are done; and thou hast
no need to be taught or admonished by any one of these things
that pass upon earth.
One deceitful man deceives another; the vain deceives the vain, the
blind deceives the blind, the weak the weak, whilst he extols him;
Chap. LI.
That we must practise ourselves in humble works, when we
cannot attain to high things.
1. Son, thou must not always continue in the most fervent desire of
virtues, nor stand in the highest degree of contemplation; but it
must needs be that thou sometimes descend to lower things, by
reason of original corruption; and that thou bear the burden of this
corruptible life, even against thy will, and with irksomeness.
As long as thou carriest about with thee thy mortal body, thou shalt
feel trouble and heaviness of heart.
For I will make thee forget thy pains, and enjoy eternal rest.
I will lay open before thee the pleasant fields of the scriptures, that
thy heart being dilated, thou mayest begin to run the way of my
commandments.
And that thou shalt say, the sufferings of this time have no
proportion with the future glory, which shall be revealed in
us. Romans viii.
Chap. LII.
That a man ought not to esteem himself worthy of
consolation; but rather guilty of stripes.
For if I could shed tears like a sea, yet should I not be worthy of
thy comfort;
Therefore according to all just reason I have not deserved the least
of thy comforts.
But thou, who art a good and merciful God, who wilt not have thy
works perish, to shew the riches of thy goodness towards the
vessels of mercy, vouchsafest beyond all his deserts to comfort thy
servant above human measure; for thy consolations are not like the
consolations of men.
I can remember nothing of good that ever I have done; but that I
was always prone to vice, and sluggish to amendment.
It is the truth, and I cannot deny it. If I should say otherwise, thou
wouldst stand against me, and there would be none to defend me.
What have I deserved for my sins but hell and everlasting fire?
I have not the face to say any thing but this one word, I have
sinned, O Lord, I have sinned; have mercy on me, and pardon me.
What dost thou chiefly require of a guilty and wretched sinner, but
that he should heartily repent, and humble himself for his sins.
Here is a sure place of refuge from the face of the wrath of the
enemy: here whatever has been elsewhere contracted of
uncleanness is amended and washed away.
Chap. LIII.
That the grace of God
is not communicated to the earthly minded.
ebookgate.com