You are on page 1of 5

Proceedings of 3d IFAC Symposium on Intelligent Components and Instruments for Control Applications,

9-11 June, 1997, Annecy, FRANCE, pp.321-325.

TOWARDS INTEGRATION OF INTELLIGENT SENSORS


AND VIRTUAL INSTRUMENTS FOR MEASURING
AND CONTROL APPLICATIONS

Sergey Y. Yurish

290013, Lviv, UKRAINE, S. Bandera str., 12


State University Lviv Polytechnic, CAD Department
Phone: (380 0322 ) 27 16 74, Fax: (380 0322 )27 16 41 or 744 300
e-mail: syurish@polynet.lviv.ua

Abstract .The paper reviews the main research results and objectives of future
developments from the point of view of microsystem integration for measuring and
control applications,. The particular solutions for its Hardware/Software (HW/SW)
codesign are discussed. The intelligent sensors with frequency output are offered to
be used in such microsystems. The examples of such sensor are given. The offered
approach permits to simplify the architecture of microsystems considerably due to
easy interface between its components, as well as SW realisation of A/D conversion.

Keywords: control applications, frequency measurements, integration,


microprocessors, microsystems, rotation, sensors, square waves, system integration,
tachometers.

1.INTRODUCTION the metrological performances (accuracy, measuring


time and range). Thus, if the HW module design
Today, the future measuring and control applications practically does not undergo the changes at
of microtechniques are very numerous. Modern realisations of the measuring microsystems, the
hardware/software codesign is now moving from a strategy of SW design should be concretised
rather broad overall view of the issues towards a essentially. The SW unit, namely, determines the
more detailed view of the particular solutions functional opportunities of such microsystems.
(ED&T Conference, 1996). It is necessary to take
into account the technological advances and the The design SW unit must be implemented in
trends in the market for any particular applications: microcode adapted for a microcontrollers.
it is more to one-chip system integration, the need Depending on the requirements concerning
for simpler architecture, low power consumption, accuracy, speed and reliability of measurements and
high reliability, the wish to avoid redesign through control, one may choose a measuring system
portability, and the need for easy upgrading (CMP processor from among the general-purpose means
Information, 1996). (microcontrollers, microprocessors) or apply VLSI
specialised processors (Barwich, 1996).
The known approach (Valderrama et al., 1995;
Ismail and Jerraya, 1995) addresses the modelling of The design technique mentioned above starts from a
communication between the hardware (HW) and modular description for a set of SW components as
software (SW) modules at different abstraction le- C programs for virtual software processors.
vels and for different design tools. It is based on the However, as the recent researches (Thawiey, 1989)
main contribution to use a multi-view library show, a certain advantage of Assembler for
concept in order to hide specific HW/SW realisation critical by time execution of tasks is
implementation details. It is a good formalised available. The measuring algorithms, especially for
common approach to designing of various mixed measurement of frequency-time and phase
HW/SW systems. However, Holmer et al. (1995) parameters of electrical signals, contain the plenty of
discovered that too much generalised concept brings time dependent critical fragments.
problems in the practical applications.
These and some other aspects of microsystems
In case of designing microsystems for use in the design and system integration require the solution in
measurements and control applications, it is frameworks of the particular applications.
necessary to take into account the features, affecting
Proceedings of 3d IFAC Symposium on Intelligent Components and Instruments for Control Applications,
9-11 June, 1997, Annecy, FRANCE, pp.321-325.

Any measuring microsystem includes mixed of


2. THE MAIN CONCEPTUAL BASIS FOR digital and analog conversions with the accounts
SYSTEM INTEGRATION physical phenomena. The concept as embedding
intelligent sensors in the measurement loop
The advent of silicon micromachining enables the (Huijsing et al., 1993) is taken into account at its
construction of sensors and actuators with intelligent design and, as it was mentioned in (Degrauwe et al.,
interfaces and signal conditioning based on 1995), the new concepts need, however, to be
compatible microelectronic circuits on a common developed to take into account the specificity of
substrate. Solid state sensors that combine integrated microsystems.
circuits and micromachining technologies as well as
new materials open an avenue that can lead to For reduction of transformations, executed in the
custom integrated sensors to meet the new demands analog form, as well as the reduction of
in performance, size and cost (Glesner and Hofman, technological compatibility problems, expediently to
1995). use the specialised sensors oriented to single-chip
implementation, with transformation electrical or
Advanced technologies have matured to form a basis non electrical quantities to frequency, the advantages
for the fabrication of reliable and accurate sensors of which are well known. Today, there is a large set
and actuators, often compatible to one-chip of the frequency sensors for almost all physical
microcontrollers or microprocessors This is the quantities and suitable for measurements.
economical basis for the broad introduction of
intelligent sensors and actuators in the cost-sensitive The general architecture of a microsystem is shown
domains as control and measuring applications. in Figure. 1. This architecture includes also microco-

with the help of the T/C. The PMM are realised like
the SW modules, written in Assembler.

The PMM, required for given realisations, is chosen


according to the integral index of quality Kij
according to Yurish et al., (1995b). So far as
derivation of the mathematical model, which
describes the correlation between the indexes of
quality, in common case is absent, then it is possible
using the weight mean of the geometrical indexes for
forming the integral index of quality as:
 i
  i min   T xi min   iT
 V ROMi
(1)
min 
 iROM

K    
  T    
ji

 ij  ij  ROMij 
V 
where gimin , Txi min , VROMimin , VRAMi min are the
minimal values of the corresponding indexes of
controller-based module for control and measuring quality according to all allowable PMM; n ij are the
functions. Due to the use of the designed program weight coefficients of priority of the indexes; T xi is
methods of measurements (PMM) for frequency- period of the measured frequency. For this
time parameters of electrical signals (Yurish et al.,


1995a), functions of the analog-digital conversion
0 
(2)
are executed by the program way only. It has allowed
to simplify considerably the common architecture of i
measuring microsystem in comparison with the
known decisions, for example, described by Gano et and
al.,(1992) or Meijer et al., (1996b)

For PMM realisation, it is necessary the parallel


 ij
 1. (3)

execution of the 4-th elementary procedures: the Depending on these weight coefficients of the
forming of the first T 01 and second T02 reference time indexes of quality that are included in the integral
intervals; the count of pulses of the reference criterion Kij, it is possible to design the PMM, with
frequency f0 and measuring frequency fx. The their optimisation according to one of the aforesaid
forming of the T 01 is possible with the help of the parameters.
timer/counter (T/C) or program time delay. The
forming of the T 02 is executed, as a rule, by the The memory size, necessary for realisation of the
program polling. The count of the pulses fx and f0 microsystems, can be reduced in 2 twice due to the
can be realised by one of the 3 possible ways: by the use of the suggested by Dudykevich and Yurish,
program asynchronous polling; by the interrupts and (1994) modified methods of algorithm merging This
Proceedings of 3d IFAC Symposium on Intelligent Components and Instruments for Control Applications,
9-11 June, 1997, Annecy, FRANCE, pp.321-325.

method based on the partial matrix scheme and take rotating speed. If the metal tooth of the actuator
into account the multilevel structure of interrupts. comes near to the active element (generator coil), the
logic level “1” (+Ucc) is formed on the sensor
Hardware modules, which will change in output. When the active sensor part appears between
dependence on the particular purpose of the the teeth, the logic level “0” is formed on the output.
microsystem are sensor devices. The software Thus, the active sensor forms the pulsing sequence,
module - it is the PMM, are realised like program frequency of which is proportional or equal to the
library cells. Such modular architecture makes rotating speed.
possible the quick development of an intelligent
sensor microsystems for a specific application, The sensor is made according to integrated
without high development costs since part of the HW technology. Its function diagram consists of: the high
design cost is transferred to SW development for frequency generator (f = 1 MHz), sensing element
control, calculation and measuring functions. (generator coil); amplifier, voltage stabiliser and
output forming transistor with the opened collector.

3. INTELLIGENT MICROSENSOR WITH The expansion of the specified measuring range to


FREQUENCY OUTPUT the area of the low frequencies is one more
advantage of the active sensor.
As a sensor for such microsystems, for example, can
be used the active sensor of rotating speed (ASRS) Such proposed approach permits considerably to
developed by Deynega et al., (1995) together with simplify the creation of virtual instruments. The
AUTOELECTRONIC company (Kaluga, Russia). Its microcontroller, which is built in to the intelligent
function circuit diagram is shown in Figure. 2. It is sensors, realises the secondary information
high-reliable, small-sized smart sensor, based on processing and the interface with computer with
integrated technology. It was designed in order to the help of the common serial or parallel
receipt an authentic tachometric information about interfaces, for example RS-232. But first of all, the
motion object in wide range of speed, which works microcontroller realised the measuring loop on
under harsh condition of operation: increased virtual level.
vibrations, hostile environments, fouling, operating
temperature range -20 - +100 0C. The comparative features of the modern non-contact
sensors of different principles of function are
The sequence of square waves with constant adduced in Table 1.
amplitude is formed on its output. This sensor does
not require any additional buffer devices for tie-in
measuring system and has very easy interface to be
integrated in the microsystem. Besides, the sensor
meets to requirements of technological compatibility Table 1 Comparative features of non-contact sensors
with other components of the microsystem. of rotating speed

Sensors Freq. Supply Current Type


Range, Voltage, Consu-
kHz V mption,
mA
ASRS 0-200 4.5-24 7-15 active
DZ375 0-200 4.5-16 20-50 magn.
DZH450 0-200 4.5-30 20 hall-ef.
DZR450 0-200 4.5-16 50 hall-ef.
VT1855 0.24-160 27 3 induct.
OO 020 0.24-720 27 100 photo
4TUC 0.3-2 10-30 200 mag/in
4TUN 0.3-2 6.2-12 3 mag/in
45515 0.002-30 25 20 hall-ef.
LMPC max 10 9-17 25 mag/in

In the Table 1 the sensors DZXXXX are made by


Electro Corporation (USA); VT1855, OO020 - by
The principle of action of the ASRS is based on the NIIFI (Penza, Russia); 4XXXX- by Trumeter (UK);
effect of continuos suppression of oscillations of high LMPC- by Red LION CONTROLS (USA).
frequency generator by passing of each metal plate
of actuator in front of the active sensor element and The essential reduction of hardware and increase of
subsequent its resumption. Due to that, the reliability in comparison with the usage of the
rectangular pulses with constant amplitude (+Ucc) standard Plug-In Data Acquisition Boards for the
are continuous formed on the sensor output. The computer (Table 2), proposed by Instrumentation
frequency of these pulses is proportional to the Refe-
Proceedings of 3d IFAC Symposium on Intelligent Components and Instruments for Control Applications,
9-11 June, 1997, Annecy, FRANCE, pp.321-325.

Table 2 Performances of the Data Acquisition Boards Except non-contact rotating speed measurements,
the ASRS can be used like angular position sensor,
sensor of vicinity, parts counter and end-switch. The
Type Maximum source Base clock additional the same smart sensor in the microsystem
frequency, accuracy, allows to realise the measurements of acceleration
MHz % for rotating objects.
Enhanced Multifunction I/O Boards for the IBM PC
AT-MIO-16E-2 20 0.01 The research of some features of measuring and
64E-3 20 0.01 control microsystems, in order to single-chip
16E-10 20 0.01
implementation, has allowed to make the following
16SDE-10 20 0.01
16XE-50 20 0.01 conclusions:
High-Resolution I/O Board for the IBM PC
AT-MIO-16X 6.897 0.01 · Design technique of such microsystems will start
Low-Cost I/O Board for the IBM PC from a modular description for a set of SW
PC-LPM-16 8 0.01 components as Assembler programs.
Timing I/O Board for the IBM PC
PC-TIO-10 7 0.01 · An SW unit design must be implemented in
Multifunctional I/O Board for PCMCIA
microcode adapted for a microcontrollers or
DAQ Card-700 10 0.01
Data Acquisition and Control for Parallel Port embedded microprocessors.
DAQPad-1200 8 0.001
SCXI 12-Bit Data Acquisition and Control · Wide use in measuring microsystems could find
SCXI-1200 8 0.005 the microsensors with the frequency output
for various physical quantities.
rence (1995) is thus reached. Due to the usage of the
novel PMM, the accuracy of measurement is · The functional opportunities and metrological
increased up to 0.00002 %, at 0.25 measuring time performances will be determined by the
interval, 20 MHz clock frequency and 2,7 - 3,6 V PMM, realised like the microprocessor
supply. supercells' library. Thus, the analog part of
the microsystems is considerably reduced.
Meijer, et al. (1996a) discovered that one of the
more convenient microcontroller, which can be used · The rate of the data acquisition or the accuracy of
as microcontroller core in the microsystem design is the A/D conversion is increased because of
Intel D87C51FA. It performances are: microcontroller considers it opportune; in
measuring microsystem the measurement
· 3 x 16 bits Timer/Counters; time and resolution are interchangeable.
· Clock-frequency 12, 16, 20, 24 MHz*;
· Programmable frequency output; · The proposed approach permits to lower the
· Programmable Counter Array; duration and considerably to simplify the design
· EPROM 8K x 8; process.
· RAM 256 x 8;
Large chip areas enable manufacturing of sensors
· 7 interrupt vectors;
that together with novel PMM principles
· Power saving modes: Idle and Power Down; implemented in the chip can create the basis for new
· CHMOS-technology; powerful microsystems because of easy sensor’s
· Ucc = 2.7/3.6 V. interface, where the signal processing is mostly
digital.
*
- at Ucc = 5 V.
The given approach allows to provide technical
bridge between European and non European
4. REALISATION AND CONCLUSIONS technology, as well as between existing architectures
and future generations.
As a result of such approach was practical
realisation the multifunctional measuring instrument
of rotating parameters of turbine’s rotor for tuning ACKNOWLEDGEMENTS
and testing of the circuit-breaker. The specified
measuring range of the rotation rate for this The author would like to acknowledge the French
tachometer is 12-9999 rpm, a relative error is not Circuits Multi-Project ( CMP ) Service for essential
worse, than 0.07 %, the measuring time is 0.25 s. information support, as well as
This error remains constant in all specified AUTOELECTRONIC company (Kaluga, Russia) for
measuring range. The tachometers can be used in collaboration.
monitoring, control and robotics systems for
turbogenerators on nuclear and thermal electric
power station and others branches of industry. REFERENCES
Proceedings of 3d IFAC Symposium on Intelligent Components and Instruments for Control Applications,
9-11 June, 1997, Annecy, FRANCE, pp.321-325.

Smart Sensors. In: Transducers 93, pp.320-326.


Barwich A.(1996). Towards Integration of Measur- Information CMP (1996). In: N41, February, p.14.
ing Measuring Systems: review of the research Ismail T. B. and A. A. Jerraya. A. A. (1995). Syn-
program at UQTR. In: Preprint of International thesis Steps and Design Models for Codesign. In:
IMECO Workshop on ADC Modelling, May 7-9, IEEE Computer, pp. 44 - 52.
Smolenice, Slovak Republic, pp.69-78. Meijer G., Herwaarden S. V., Jong G. L., Toth F., Li
Degrauwe M., Chevroulet M., Bergqvist J. Bardyn X. (1996a). Intelligent sensor systems and smart
J. P.. (1995). Microsystems: A Challenge for IC sensor applications. In: Low-Power HF microe-
Designers. In: Proceedings of ESSCIRC'95, 19- lectronics. A unified approach (A. S. Machado,
21 September, Lille, FRANCE, pp.30 - 33. Ed.), pp.977-1018. IEEE.
Deynega V. P., Kirianaki N. V. and Yurish S. Y. Meijer G., Frank G., Toth F., Herwaarden S., Santos
Microcontrollers Compatible Smart Sensor of J.P. (1996b). Intelligent sensor systems and smart
Rotation Parameters with Frequency Output. In: sensors: concepts, focus points and technology.
Proceedings of ESSCIRC'95, 19 - 21 September, In: Low-Power HF microelectronics. A unified
Lille, FRANCE, pp. 346 - 349. approach (A. S. Machado, Ed.), pp.959 - 976.
Dudykevich V. B. and Yurish S. Y. (1994). A modi- IEEE.
fied Method of Algorithm Merging. In: Pattern Thawiey R. E. (1989). Assembly language supplies
Recognition and Image Analysis, USA, 3, vol.2, the speed for critical processes, In: Instruments
pp. 230 - 232. and Control Systems, 5, pp. 67-68.
European Design & Test Conference and Exhibition Valderrama C. A., Changuel P. V., Raghavan M.
(1996). In: Press Release, Paris. Abid, Ismail T. B. and Jerraya A. A. (1995). A
Gano A. J., Epifano da Franca J., and Temudo de Unified Model for Co-simulation and Co-synthe-
Castro J. (1992). Modular Architecture for Desi- sis of Mixed Hardware / Software Systems. In:
gning and Fast Prototyping of Smart Sensor Mic- IEEE Computer, pp. 180-184.
rosystems Combining Integrated Monolithic and Yurish S. Y., Dudykevych V. B. and Mokrenko P.V.
Hybrid Technologies. In: Proceedings of IEEE (1995a).Program-simulated methods of frequen-
International Symposium on Circuits and Syst- cy-time measurements for virtual measuring sys-
ems, May 10 - 13, San Diego, USA, vol. 4, tems. In: Proceedings of 6-th International Con-
pp.1832 - 1835. ference on Industrial Metrology (CIMI' 95),
Glesner M. and Hofman K. (1995). Modelling of Oct. 25-27, Zaragoza, SPAIN, pp. 249-256.
Sensors and Actuators - A System Approach. In: Yurish S. Y. and Kirianaki N. V. (1995b). Hard
Proceedings of 2nd Advanced Training Course: ware / Software Co-synthesis Methodology for
MIXED DESIGN OF VLSI CIRCUITS, Kra- Single-chip Microcomputer Based
kow, Poland, 29-31 May, pp.335-342. Converters
Holmer R., Horn M., Ullmann R. and Trankler H. R. In: Proceedings of International Conference
(1995). A microsystem design process. In: Mic- Programmable Devices and Systems PDS'95,
crosystem Technologies, vol.1, 2, March, pp.68 - 9-10 November, Gliwice, POLAND, pp.153-157.
70. Instrumentation Reference and Catalogue (1995).
Huijsing J, et al. (1993). Developments in Integrated National Instruments.

You might also like