Would you like to make this site your homepage? It's fast and easy...
Yes, Please make this my home page!
F
PRECISE MEASUREMENT Precise measurement
ô
ô
Sign In Sign-Up
PRECISE MEASUREMENT BY NON-LINEAR SENSOR
WITH STAIRCASE REFERENCE SIGNAL
Sergey Sibeykin
Abstract. We use a staircase reference signal for measurement of electrical and non-electrical values by a nonlinear sensor. A sensor with a frequency output signal is preferable. We can measure the input signal itself (e.g. acceleration) or integral from it (e.g. velocity). Signals are considered as random variables. The result was found that the error of measurement is minimum if reference signal has the same duration and raw moments as the input signal. The reference signal can cover only a part of the input signal. A concept of negative probability was introduced to describe the composition of signal and the method of its transformation. The physical interpretation of the positive and negative probabilities is subsequent direct or inverse integration of signal.
Index Terms: Measurement; Measurement errors; Acceletation measurement; Velocity measurement; Voltmeters; Probability.
I. Introduction
This method of measurement can be applied in various fields (in trains, missiles, aviation, automobiles, submarines, and robotics) to measure acceleration, velocity, vibrations, direct/alternating voltage, etc.
A task is to measure physical values by a n
onlinear sensor with minimal error. The output signal of sensor is a frequency which permits to calculate parameters of signal, including moments. This sensor may be piezo-element, since its frequency depends on the pressure of inertial mass. Measured values may be: pressure, acceleration, vibration, etc. We can measure also direct or alternating voltage that applies to varicap. The piezo-element (or varicap) is part of the oscillation circuit. A measured value may also be an integral from the input signal (velocity, if the input signal is acceleration).
Let's consider the measurement of velocity (Fig. 1). Our input signal is acceleration x(t) that is measured by a piezo-accelerometer. Counter of impulses measures its output signal (frequency). The code of Counter is proportional the reading W(t) of a measured velocity V(t).
In the simplest case we find the measured velocity V(t) that has got some value Vr. This task may be solved as follows:
We put the reading Wr of the value Vr in Register by integration of a constant reference signal. This acceleration is due to Earth’s gravity g = 9.81m/sec2. Therefore, time of integration Tr = Vr/g. In the process of measuring, the Digital Comparator compares the codes of Counter and Register. When W (t) = Wr, Comparator gives the signal that the velocity V(t) has a value Vr. Lets denote this moment of time by T. However, since the sensor may not be a perfect machine, the real velocity V(T) may be different from Vr by a value of DV. Error of measurement DV = V(T) - Vr .
We can decrease the error DV by replacing the constant reference signal g by the staircase reference signal Xr, which approximates the input signal x(t) (Fig. 2a, here the input signal x(t) is linear). Then we have the mutual compensation of errors for W(T) from the input signal x(t) and Wr from the reference signal Xr [1]. Therefore, when W(T) = Wr, V(T) » Vr, the error DV is at a minimum. The staircase reference signal is preferable because it is easier to provide parameters of stairs Xi and Ti with higher accuracy.
Usually, we know approximately an acceleration that we will measure. Therefore, we know the expected velocity Ve at a time T, and can assume that Vr = Ve. We receive the values Xi from -g to +g by rotation of accelerometer relative to the local vertical line. We integrate Xi for a time Ti in order to obtain Vr = X1×T1 + X2×T2 + X3×T3+..., and put the reading Wr of a reference velocity Vr in Register.
Our task is to find the optimal reference signals, i.e. what values Xi and Ti minimize the error of measurement DV.
II. Assumptions
a) We will consider the input x(t) and the reference Xr signals as random variables. The main characteristic of random variable X is probability function p(x). It has two properties [2]:
p(x) is non-negative: p(x) ³ 0 | | | | (1) |
| ¥ |
integral of p(x) is equal to 1: | ò p(x)dx = 1 | | | (2) |
| -¥ |
For the linear input signal x(t), depicted on Fig. 2, probability function p(x) has an even distribution. Then we can derive from (2) p(x) = 1/Xmax.
The probability function p(Xr) of staircase reference signal with stairs is a composition of functions di, which is proportional to the delta-function d [3]:
| n |
p(Xr) = | å d
i | | (3) |
| i = 1 |
here di = (Ti/T)d.
Probability functions p(x) and p(Xr) are depicted on Fig. 2b.
We will also use moments for describing a random variable X. The raw moment Mi of i-th order is:
We can also define the moments Mi as an expectation for variable x(t) of degree i:
| T |
Mi = (1/T) | òx(t)idt | | (5) |
| 0 |
b) We describe the transfer function of the sensor as a Maclaurin series:
y = a0 + (1+a1)x + a2x2 + a3x3 +... =
x + a0 + a1x + a2x + a3x + ...
| | (6) |
Here a0 is the bias, a1 is the error of scale factor, and a2, a3 ... describe the nonlinear error.
An ideal sensor has the transfer function y = x.
c) We suppose the parameters of the sensor have short term stability, i.e. values a0, a1, a2 ... do not change from calibration till measurement.
d) Sensor does not have hysteresis.
III. Algorithm for an optimal reference signal
Let’s try to minimize the error of measurement. To do this, we need to find and equate the reading of velocity W(t) at a time T and a value Wr.
Taking into account (6), the reading W(T) is:
| T | T | T | T | T | T |
W(T) = | ò y(t)dt = | ò x(t)dt = | ò a0dt = |
ò a1x(t)dt = |
ò a2x2(t)dt = |
ò a3x3(t)dt + ... | | (7) |
| 0 | 0 | 0 | 0 | 0 | 0 |
Using (5), following is what we get from (7):
Wr = TM1 + a0T +
a1TM1 +TM1 +
a2TM2 +
a3TM3 + ...
| | (8) |
The reading of an integral from the reference signal Xr, i.e. the reading of a reference velocity Vr:
| t1 | t2 | t3 |
Wr = | òY1dt + | òY2dt + | òY3dt + ... |
| 0 | 0 | 0 |
The values Yi of the staircase reference signal Xr are constant, therefore:
Wr = T1Y1 +
T2Y2 +
T3Y3 + ... | | (9) |
Taking into account (6), we obtain:
Wr =
T1(X1+a0+
a1X1+
a2X12+
a3X13+...) +
T2(X2+a0+
a1X2+
a2X22+
a3X23+...) +
T3(X3+a0+
a1X3+
a2X32+
a3X33+...) + ...
|
or |
Wr =
T1X1+T2X2+T3X3+...
+ a0(T1+T2+T3+...)
+ a1
(T1X1
+T2X2
+T3X3+...)
+ a2
(T1X12
+T2X22
+T3X32+...)
+ a3
(T1X13
+T2X23
+T3X33+...) + ...
| | (10) |
Equating (8) and (10), put the terms with ai to the right side of the equation:
TM1 - (T1M1+
T2M2+
T3M3+...) =
a0(T1+T2+T3 - T) +
a1(T1X12+T2X2+T3X3 + ... - TM1) +
a2(T1X12+T2X22+T3X32 + ... - TM2) +
a3(T1X13+T2X23+T3X33 + ... - TM3) + ...
Here, value TM1 is the velocity V(T), and the value T1X1+ T2X2+ T3X3+... is Vr.
Therefore, the left part of this equation is the error of measurement DV=TM1 -(T1X1 + T2X2 + T3X3 +...) = V(T) - Vr.
Then
DV =
a0(T1+T2+T3 - T) +
a1(T1X1+T2X2+T3X3 - TM1) +
a2(T1X12+T2X22+T3X32 - TM2) +
a3(T1X13+T2X23+T3X33 - TM3) + ...
|
| (11) |
Error DV is equal to zero if the terms in parentheses on the right part of (11) are zero. Let us denote the terms of order >n as insignificant, i.e ai = 0 if i > n. Then conditions for DV = 0 are:
T | = T1 | + T2 | + T3 +... | + Tn ; |
| (12) |
TM1 | = T1X1 | + T2X2 | + T3X1 +... | + TnXn ; |
TM2 | = T1X12 | + T2X22 | + T3X32 +... | + TnXn2 ; |
TM3 | = T1X13 | + T2X23 | + T3X33 +... | + TnXn3 ; |
. .
. . .
. . .
. . .
|
TMn | = T1X1n | + T2X2n | + T3X3n +... | + TnXnn . |
Let us multiply and divide the right parts of (12) by the durations of reference signal
Tr = T1 + T2 + T3 +...+ Tn. We obtain in these right parts the products of Tr and moments Mr,i of the staircase reference signal Xr. We can write (12) in short form as:
TM1 = TrMr,i,
i = 0, 1, 2, ... n-1, | | (13) |
here is the quantity of stairs of the reference signal Xr.
Therefore, the error of measurement is minimized if the durations and the moments of input and reference signals are equal.
The staircase reference signal with stairs can decrease the error DV from the first terms of transfer function (6) to zero, if we precisely evaluate the moments Mi of input signal.
To find the optimal reference signal, we have to decide on the task of moments’ problem, i.e. find the parameters of the reference signal on its moments, which are equal to moments of input signal.
For example, let the reference signal Xr has four stairs (n = 4), and the input signal x(t) be linear. In accordance with (4), or (5), the first, second, and third raw moments of this signal are:
M1 = Xmax/2, M2 = X2max/3, M3 = X3max/4.
Let the values Xi of the staircase reference signal Xr be uniformly distributed along the measurement's scale: X1 = 0; X2 = Xmax/3; X3 = 2Xmax/3; X4 = Xmax.
We know the values Mi and Xi, and therefore we can find the values Ti by solving a system of equations (12) via determinants. Then T1 = T/8; T2 = 3T/8; T3 = 3T/8; T4 = T/8.
IV. Error of measurement
| ________________ |
The resulting relative error of measurement is dmeas = Ö |
d2meth + d2res + d2r .
|
dmeth is a methodical error, because it is the error of evaluation for moments Mi of input signal x(t).
Here:
dd is a relative error of direct measurement (without application of reference signals);
de is a relative error of evaluation of the first raw moment M1.
The proof for (14) is omitted.
dres is a residual error because of (n+1)-th, (n+2)-th, ...order terms of transfer function (6).
dr is an error of the reading Wr of the reference velocity Vr.
V. Case when reference signal covers part of input signal
Our reference signal is limited by a value ±g, but we often measure much more acceleration. The new method works properly in this case as well.
Let acceleration changes itself in the range from 0 to 10g linearly, Xmax=10g. Let the values
X1 = -g; X2 = -0.5g; X3 = 0.5g; X4 = g.
Then by solving (12) we obtain the next durations of stairs:
T1 = -143.7778×T, T2 = 305.1111×T, T3 = -348.2222×T, T4 = 187.8889×T.
Values T1 and T3 are negative. This means Counter (Integrator) must subtract impulses for times T1 and T3 (Inverse integration).
We see that the reference signals may cover only a part of the input signal, or otherwise go out of its range. Then in accordance with (9), the reading Wr of reference velocity Vr is the difference of great numbers YiTi. This limits the accuracy of Wr and, therefore, the accuracy of measurement. The range of the reference signal may be only in several times less than the range of the input signal.
VI. A continuous measurement
We can introduce various values Wr at many points of the trajectory. Therefore, the measurement of velocity V(t) becomes continuous. We have the next sequence of operations:
6.1. Calibration. We find the readings Y1, Y2, Y3,…Yn for chosen values X1, X2, X3,…Xn of the reference signal and save them in Register.
6.2. Measurement.
a) Evaluation of moments M1, M2, M3, ... Mn-1 for the next point of measurement. For this we can find the expected velocity Ve by extrapolation from measured values V(t).
b) Calculation of the values T1, T2, T3, ... Tn by solving (12) and the expected reading Wr of the reference velocity Vr according to (9):
Wr = T1Y1 +
T2Y2 +
T3Y3 + ... +
TnYn.
Here, we can calculate Wr by multiplication and addition (subtraction, if Ti is negative) instead of integration. This significantly decreases the time of preparation for measurement (i.e. the time between the next and previous points of measurement is very short).
c) comparing W(t) and Wr. When W(t)=Wr, Comparator gives a signal that V(t) has got Vr.
If we find moments M1, M2, M3, ... Mn-1 in the process of measurement, the difference between expected values of these moments and their real values is minimized. According to (14), accuracy of measurement is high. A computer calculation showed that the relative error of measurement may get 10-5 if nonlinear error of sensor is a few percentage points.
VII. Measurement of voltage
We can measure the average value of input signal x(t), for example, voltage, too. The measured voltages apply to a varicap , which is part of the LC circuit. Voltage converts to a frequency:
1
f = ¾¾¾
¾
2p ÖLC
The nonlinear error is minimized by this method. The staircase reference signal Xr is created by connecting the stable sources of voltage X1, X2, ... Xn for times T1, T2, ... Tn to varicap. In comparison with the voltmeter of dual slope integration, this voltmeter has a low level of flicker noise (1/f noise). The resolution of this voltmeter can get a few microvolts by a reference signal with four stairs.
VIII. One Mathematical Consequence
The proposed method has one interesting consequence.
Let us find the probability functions p(Xr) of the staircase reference signal Xr covering only a part of the input signal that’s described in part V. Using (3), we receive the probability function p(Xr), depicted in Fig.3.
Because T1 and T3 are negative, d1 and d3 are also negative. As we can see from Fig. 3, the
| 4 | | | |
Property (1) is not satisfied, but property (2) is satisfied because | ådi = d and | | | |
| i = 4 | | | |
the integral from delta-function d is 1. How can we interpret this result?
The sign "plus" or "minus" for the value of probability function p(Xr) determines direct or inverse integrations for stairs of reference signal Xr. Therefore, the probability functions p(Xr) describe not only the random variable Xr, but also the composition of this random variable and the method of its transformation. Let us call this composition a “transformer process.” For some of its values, the probability function p(Xr) can be negative. The negative probability function may be useful for researching nonlinear systems. Here, the results of direct integration for a positive variable X and inverse integration for a negative variable -X do not coincide.
There are papers that focus on the use of negative probabilities, including works of Nobel prize-winners Paul Dirac and Richard Feynman. The best and last review of these papers is in [4]. But negative probabilities did not win recognition yet, partly because of contradictions with Kolmogorov probability theory. But let’s use a quotation from [4]: “There were no experiments where we can say that there were directly “detected negative probabilities”. In this research we found the interpretation of positive and negative probabilities as direct and inverse integration of signals considered as random variables.
IX. Conclusions
We consider the input x(t) and the reference Xr signals as random variables. This permits us to use the apparatus of probability theory and receive new results.
The error of measurement DV is minimized when the duration and the moments of input signal x(t) are the same as the duration and the moments for staircase reference signals Xr. When applying these conditions to the chosen values of stairs Xi, we find the durations Ti of these stairs by solving a system of equations (12).
If the reference signal Xr covers the most part of the input signal x(t), the probability function p(Xr) describes the reference Xr. We compare the reading Wr of the integral from the reference signal Xr to the reading W(t) of the integral from the input signal x(t) for the determination of x(t) or V(t).
If the reference signal Xr covers only a part of the input signal x(t), the probability function p(Xr) describes the composition of the reference signal and the method of its treatment, i.e. the transformer process. Then some values Ti are negative and we can obtain the reading Wr only by combining the direct and inverse integrations. The transformer process may be useful for further research of nonlinear systems.
Integration of the staircase reference signal can be substituted by operations of multiplication and addition (and subtraction, in case of inverse integration). Then the measurement may be continuous.
Error of measurement is lesser, nearer the moments of the real input signal to their expected values. The exact evaluation of the first moment is especially important. Error of measurement can be reduced to 10-5 if the moments Mi are determined at time of measurement.
References
[1]. Sergey Sibeykin. Method and device of determination of an input signal which changes in time. USA, Patent US No. 6,240,435 b1, Date of Patent May 29, 2001.
[2] Ash, Robert B. Probability and Measure theory. 2000, pp.174–176.
[3] Papoulis, A. Probability, Random Variables, and Stochastic Processes.1965, pp.88–103.
[4] Espen Gaarder Haug. Derivatives Models on Models. 2007, pp. 317-333.
На первую страницу сайта
|