Salta al contenuto
Note per Studenti Measurement Systems - Architecture and Operating Principles Report

Measurement Systems - Architecture and Operating Principles

In questa pagina 4
In questa pagina 3

What a measurement system is

Electronic measurement systems

  • In an electronic measurement system the information is contained in an electrical signal, generally a voltage.
  • Electronic systems play a leading role because electrical signals are those that can be processed by modern computation systems: an electrical signal can be digitized and then easily processed by digital components such as controllers and processors.
  • Measurement systems are divided into analog and digital, the latter being considerably more widespread today.
  • The key functions that allow an instrument to interact with the physical system are similar for all instruments and, in principle, do not depend on the internal structure of the instrument.

Analog and digital systems

Block diagrams from the slide.

ANALOG SYSTEM

 +--------+   +-------------+   +------------+   +-------------------+
 | sensor |-->|   signal    |-->| processing |-->|    comparison     |--> MEASURE
 +--------+   | conditioning|   +------------+   |   (inputs: SAMPLE)|
              +-------------+                    +-------------------+
                                                 |<- analog to digital conversion ->|
                                                   (dashed box on the slide)

DIGITAL SYSTEM

 +--------+   +-------------+   +--------------------------------+   +------------+
 | sensor |-->|   signal    |-->| sampling --> quantization      |-->| processing |--> MEASURE
 +--------+   | conditioning|   |  ^ REFERENCE    ^ SAMPLE       |   +------------+
              +-------------+   +--------------------------------+
                                 analog to digital conversion (dashed box)

System elements

Sensors

  • When the quantity to measure is not electrical, an interface element is needed between the quantity and the electronic circuits: the transducer, a device that converts a physical quantity into another, in our case into an electrical quantity.
  • In the metrological field the sensor is the sensitive element; the transducer also includes the auxiliary elements necessary to provide the electrical output signal.
  • The transducer output can be considered an electrical signal source, represented by an equivalent voltage source controlled by the input quantity. At best, measurand and electrical signal have a linear correspondence.
  • The slide shows photographs of eight sensor modules (no captions; two boards carry readable labels: a "Light Sensor" board with a photoresistor and an ultrasonic "PING" module).

Analog signal conditioning

Circuits for analog processing or sampling must operate in a well-defined operating range, so the signal must be adapted to them. Conditioning also:

  • makes the instrument robust against disturbances and electrical noise;
  • allows measurements on multiple ranges of values;
  • guarantees specific conditions of impedance matching.

Commonly used devices: amplifiers, attenuators, filters (see Signal Acquisition - Sampling, Conditioning and FilteringAcquiring a signal means conditioning it, sampling it uniformly at Fs at least twice the (filtered) bandwidth to avoid aliasing, quantizing it and, when needed, reconstructing it by interpolation.Signal Acquisition - Sampling, Conditioning and Filtering →).

Analog signal processing

  • The input signal is transformed into a measurable quantity, typically a direct voltage, a time interval or a frequency.
  • A circuit then performs the measurement: since all the operations on measurand and signal are known, the value of the measurand can be uniquely derived from the measured direct voltage, time or frequency.
  • To indicate the value attributed to the measured quantity, a comparison must take place with another quantity, homogeneous to it, whose value is known. A device that reproduces or provides this value is called a standard or, more generally, a reference.
  • Two standards are commonly used in electronic instrumentation: voltage references (obtained with ad-hoc circuits, for example stabilized Zener diodes) and time and frequency references (usually quartz oscillators).
  • These devices produce constant voltages or frequencies over time, so the measurand must not vary, at least for the time needed to complete the comparison: the signal must be, at least in the short term, stationary.

Digital signal processing

  • The analog signal must first be digitized: a discretization in time (sampling) and then a discretization in amplitude (quantization).
  • A digital signal is a sequence of amplitude measurements, each associated with the instant of time to which it refers.
  • Numerical instruments must contain internally both a standard for the amplitude measurement (generally a voltage reference) and a time reference to scan the sampling instants with adequate accuracy.
  • The parameter of the signal that carries the information on the measurand is determined later, through suitable processing and estimation algorithms.

Visualization and transmission

Operating principle: comparison

A measurement instrument provides a numerical indication that must be referable to the measurement unit of the quantity considered. It is therefore necessary to compare the measurand with a homogeneous standard of known value. In the simplest case the comparison is direct, but this is often impossible, so several techniques exist; the choice depends on the nature of the quantity, the characteristics of the devices the instrument is made of and the degree of accuracy to be achieved.

Direct comparison

Blocks (from the slide): a reference (quantity cc) and the measurand (quantity xx) enter an equivalence detector, whose output ee goes to a decision element, which outputs the result x⇐c0±UXx \Leftarrow c_0 \pm U_X.

 +-----------+
 | reference |
 +-----------+
       | c
       v
 +-------------+   e   +------------------+
 | equivalence |------>| decision element |----> x <= c0 +- U_X
 |  detector   |       +------------------+
 +-------------+
       ^ x
       |
 +-----------+
 | measurand |
 +-----------+
  • Reference quantity: homogeneous to the measurand, of variable value cc, referred to a suitable standard and directly compared with the measurand. The uncertainty of the measurement is greater than or, at the limit, equal to the uncertainty with which the reference quantity is known.
  • Equivalence detector: a device characterised by an input-output relation

e=g(x−c)e = g(x - c)

with the two quantities to compare as inputs and the detection quantity ee as output. The equivalence condition occurs when ee takes a specific, predefined value.

  • Decision element: detects when ee reaches the value corresponding to the equivalence condition.

The measure is

x=c0±UXx = c_0 \pm U_X

where c0c_0 is the value of the reference quantity for which the equivalence condition is satisfied and UXU_X is the measurement uncertainty. Here it is implicitly assumed that x=c0x = c_0: the method is unbiased. In an unbiased method, when the measurand is zero the reference quantity must also be zero.

Sources of uncertainty UXU_X in a direct comparison:

  • the intrinsic uncertainty of the measurand, of the sample and of the detector, linked to the models used to describe them;
  • the uncertainty due to imperfect knowledge of the states of the measured system, of the sample and of the detector, mainly caused by the effects of the environment;
  • the resolution limits.

The resolution threshold is the minimum variation dxdx of the value of the measurand that can be perceived around an (apparent) equivalence condition; it generally depends on the characteristics of the equivalence detector and of the decision element, and on the values of the reference quantity and of the measurand.

Examples on the slides:

Indirect comparison

Used when measurand, reference quantities and detection quantity are not all homogeneous with each other. Blocks: transducers TXT_X and TCT_C convert the measurand xx and the reference cc into homogeneous quantities TX(x)T_X(x) and TC(c)T_C(c), which enter the equivalence detector; the decision element gives x⇐f(c0)±UXx \Leftarrow f(c_0) \pm U_X.

 +-----------+  c   +------------+  T_C(c)
 | reference |----->| transducer |-----------+
 +-----------+      +------------+           v
                                      +-------------+  e  +------------------+
                                      | equivalence |---->| decision element |--> x <= f(c0) +- U_X
                                      |  detector   |     +------------------+
 +-----------+  x   +------------+      ^
 | measurand |----->| transducer |------+
 +-----------+      +------------+  T_X(x)
  • One or more transducers: they allow the comparison when measurand, reference and detection quantities are not all homogeneous, and they allow reaching the equivalence condition when the reference quantity or quantities are not variable.
  • One or more reference quantities, compared with the measurand.
  • Equivalence detector and decision element as in the direct comparison.

Given xx the measure to acquire and c‾=[c1,…,cn]\underline{\mathbf{c}} = [c_1, \dots, c_n] the representative values of the NN known quantities that satisfy the equivalence condition:

TX(x)=TC(c‾0)T_X(x) = T_C(\underline{\mathbf{c}}_0)

from which

x=f(c‾0)+UXx = f(\underline{\mathbf{c}}_0) + U_X

where f(⋅)f(\cdot) is the equivalence relation, related to the characteristics of the transducers.

Simplest version: only the measurand has a transducer, TX(x)T_X(x); the reference cc goes directly to the detector, and the result is x⇐f(c0)±UXx \Leftarrow f(c_0) \pm U_X.

Examples on the slides: a dial kitchen scale and a small ceramic disc component with two leads (neither is captioned).

Comparison by substitution

A method based on two subsequent comparisons.

 +-------------------+
 | stability standard|
 +-------------------+
          | s
          v
 +-------------+  e_x, e_c  +------------------+     if e_x = e_c
 | equivalence |----------->| decision element |---> x <= c0 +- U_X
 |  detector   |            +------------------+
 +-------------+
       ^
       | (switch)
   x --o     +-----------+      +-----------+
       +-----|measurand  |      | reference |--- c

(On the slide a switch connects the detector input either to the measurand xx or to the variable reference cc.)

  1. First comparison: the equivalence is sought between the effects produced by the measurand xx and those produced by a given quantity ss of variable value (the stability standard).
  2. Second comparison: the measured system is replaced by a variable reference, and the value of cc is chosen so as to regain the equivalence condition without changing the value of ss: if ex=ece_x = e_c, then x⇐c0±UXx \Leftarrow c_0 \pm U_X.

The time factor is essential: to avoid further uncertainties, the value of ss must remain constant for the whole time between the two comparisons.

Uncertainty sources in the substitution method:

  • the intrinsic uncertainty of the measurand and of the sample;
  • the intrinsic uncertainty due to variations in the state of the measured system, of the reference, of the detector and of the stability standard;
  • the comparison resolution limits.

Compared with the direct comparison, the intrinsic uncertainty of the equivalence detector no longer appears: knowledge of the relation between xx, cc and ee is not of interest, only the resolution of the detector. However, uncertainties from possible instabilities over time of the stability sample and of the detector are added.

The method is more interesting with indirect comparison, because then even the characteristic of the transducer becomes irrelevant for the measurement uncertainty. In that scheme the switch selects the transducer input between xx and cc, and the transducer output TX(x)T_X(x) feeds the equivalence detector.

Versione ripasso

Direct comparison

  • Blocks: a reference of variable value cc and the measurand xx enter an equivalence detector with output e=g(x−c)e=g(x-c); the decision element recognises the equivalence condition (a predefined value of ee).
  • Measure:

x=c0±UXx=c_0\pm U_X

where c0c_0 is the reference value at equivalence. The method is unbiased if x=c0x=c_0: zero measurand means zero reference.

  • Uncertainty sources: intrinsic uncertainty of the measurand, the sample and the detector; imperfect knowledge of the states (mostly environment); resolution limits.
    • the resolution threshold dxdx is the smallest variation of the measurand perceived around equivalence; it depends on the detector, the decision element and the values involved.
    • the uncertainty of the measurement is at least that of the reference.
  • Examples: analog balance; ADC (3 bits, step Q=VFS/8Q=V_{FS}/8).

Indirect comparison

  • Used when measurand, reference and detection quantity are not all homogeneous. Transducers TXT_X and TCT_C turn xx and cc into homogeneous quantities TX(x)T_X(x) and TC(c)T_C(c) that enter the detector.
  • Equivalence: TX(x)=TC(c‾0)T_X(x)=T_C(\underline{\mathbf{c}}_0), so

x=f(c‾0)+UXx=f(\underline{\mathbf{c}}_0)+U_X

where ff is the equivalence relation, which depends on the characteristics of the transducers.

  • Simplest version: only the measurand has a transducer; the reference goes straight to the detector.
  • Useful when the reference cannot be varied: a transducer makes the equivalence reachable.

Comparison by substitution

  1. First comparison: the effects of the measurand xx are balanced against those of a stability standard ss of variable value; the detector output is exe_x.
  2. Second comparison: the measurand is replaced by a variable reference cc, and cc is adjusted until the same effect is obtained, ec=exe_c=e_x, without changing ss. Then x=c0±UXx=c_0\pm U_X.
  • The time factor is essential: ss must stay constant for the whole time between the two comparisons.

  • Uncertainty sources: intrinsic uncertainty of the measurand and the sample; variations of the state of the system, reference, detector and stability standard; resolution limits.

  • Versus direct comparison, the detector's intrinsic uncertainty drops out: only its resolution and the instability of ss count.

  • Typical errors:

    • confusing sensor and transducer (the transducer includes the auxiliary electrical circuits);
    • assuming a direct comparison can be more accurate than the reference it uses;
    • forgetting the time-stability requirement of the substitution method.

Teoria collegata