The invention describes a method for the measurement of amplitude relationships of an electrical signal that is composed of several signals of the same frequency with a constant time displacement between them, but where one or several of the component signals have a different amplitude or amplitudes.
The invention is primarily suitable for signal processing in capacitive measurement systems of the type that is described by the Swedish patent 7714010-1 and in applications of this patent (Swedish patents 9202005-6, 8604337-9 and 0003110-4).
The invention intends to achieve a simple signal processing unit that gives higher precision, higher resolution, more rapid updating and lower noise levels than signal processing units that have been used until now.
A capacitive measurement device of the type on which it is intended that the invention should be applied is described in the Swedish patent 7714010-1. Various applications that are based on the Swedish patent 7714010-1 are described in the Swedish patents 9202005-6, 8604337-9 and 0003110-4.
The patents listed above describe a system for the measurement of linear dimensions or angles based on the provision a first sensor part of at least three electrodes to which are fed electrical pulses that have a constant relative displacement in time, whereby the displacement in time of the output signal from a sensor electrode located on a second sensor part, hereafter referred to as the “composite signal”, depends on the magnitude of the capacitive coupling with the previously mentioned measurement electrodes, and this displacement in time is used to detect the positions of the two sensor parts, that is, their relative positions.
The Swedish patent 7714010-1 describes a signal processing method in which the value of position is extracted from the information-carrying composite signal of the detection electrode through the measurement of time in a binary counter that functions synchronously with the measurement signals. This is achieved by allowing the zeroes of the composite signal (the lowermost signal in
Signals with sine-wave form (such as those shown in
Square-wave pulses (R, S and T in
When square-wave signals are used as the input to capacitive measurement systems as described above, it is the amplitude composition of the composite signal that constitutes its positional information. According to the prior art technology described above, the positional information of the composite signal must be converted from the amplitude domain to the time domain. This takes place through the removal of all overtones from the composite signal with the aid of filtration. There are, however, several disadvantages associated with this.
Advanced and expensive bandpass filters are required in order to filter out all overtones. It is, furthermore, difficult to manufacture filters having exactly the same properties, and for this reason the filters cannot usually be exchanged with each other. This means that the measurement system must be recalibrated should it be necessary to exchange the filter unit.
The method using zeros of the wave is also sensitive for an offset in the composite signal, since the position of a zero is affected by any asymmetry present in the composite signal, relative to the zero-level potential.
The method using zeros of the wave is, furthermore, also sensitive for crosstalk, from, for example, the electronic circuits of the signal processing unit, which may give rise to transients in the filtered composite signal. If the time location of these transients lies close to the zero potential of the composite signal, an error may arise in the analysis of the zero.
A further disadvantage of the system described is that the frequency of the composite signal is not constant: it varies with the speed of relative motion between the two sensors parts as a result of the Doppler effect.
The composite signal and the reference signal have, for this reason, the same frequency only when the two electrode-bearing parts are stationary.
The change in frequency means that the period of “tsumma” for the zeroes of the composite signal when measuring during motion is either larger or smaller than that of the reference frequency, depending on the direction and speed of the motion. Since the counter frequency is constantly controlled by the frequency and the period “t” of the reference signal, a counter value that is either too low or too high is read.
A second effect of the variation with speed of the frequency of the composite signal is that the bandpass filter cannot be designed with as sharp a limit to the basic frequency of the reference signal as would be desirable—a certain bandwidth must be accepted due to the frequency variation. This means that the filtering cannot produce the perfect sine-wave form of the composite signal that is required for error-free detection of position.
It requires one complete period of the basic frequency of the reference signal in order to generate one measurement value, since the frequency of updating (the number of new measurements per second) is determined by the basic frequency of the reference signal.
The resolution of the measurement is determined by the frequency of the signal that is used in order to carry out the time determination. If it is desired to increase the measurement resolution it is therefore necessary either to reduce the basic frequency of the reference signal or to increase the frequency of the signal that is used to carry out the measurement of time.
The magnitude of the time delay is determined by the phase position of the bandpass filter and the basic frequency of the reference signal. The phase position of the bandpass filter is determined by the degree of filtering, which in turn depends on the noise conditions in the system. In order to reduce the time delay, it is possible to either reduce the degree of filtering or increase the measurement resolution through increasing the frequency of the signal that is used to carry out the measurement of time, or both.
The arguments presented above make it clear that it is difficult to achieve high precision of measurement and high frequency of updating while at the same time achieving a small delay in time.
A summary of the disadvantages of the prior art technology:
It is therefore one aim of the present invention to achieve a new method with which the disadvantages of the prior art technology described above can be eliminated.
One characteristic feature of the invention is that work is carried out in the amplitude domain of the composite signal (vo in
The limitation in the updating rate of the conventional system, due to the fact that the time counter in this case must carry out a complete loop for each new measurement value, is also avoided. Signal processing units according to the invention can be designed also such that the A/D converter is electrically insulated from the capacitive sensor unit and from other electronic circuits of the signal processing during the actual A/D conversion. This ensures a low noise level and considerable insensitivity for external electrical disturbances.
One further advantage of the invention is that the electronic construction is significantly simpler and cheaper. Thus, no bandpass filters are required. It is also possible to omit the binary counters and the locking circuits and memory circuits associated with these. These are replaced by a relatively cheap signal processor. One major advantage of omitting the bandpass filter is that it is not possible to manufacture such filters with fully identical properties, as has already been mentioned. It has not been possible, therefore, to exchange these filters during service, and this has meant that it has been necessary to retune the measurement system when the filters are changed. All units designed according to the invention, in contrast, obtain identical properties and are fully exchangeable.
In summary, this means that the invention provides a more rapid, more precise and cheaper signal processing system with full exchangeability of the signal processing electronic circuits.
The invention will now be described as a non-limiting preferred design adapted for an electrode system in which the input signals that are applied to the transmitter electrodes are constituted by four symmetrical square-wave signals, mutually displaced from each other by a time displacement of one quarter period, where the lengths of the pulse, the gaps between pulses and the amplitudes are equal, and where the electrodes are designed in such a manner that the capacitance between transmitter electrodes and the receiver electrode varies according to a sine-wave function of the position (x).
The invention will now be described in more detail with the aid of the attached drawings, where
a and 1b show drawings of existing measurement systems principally based on the above-mentioned Swedish patent 7714010-1 mentioned above.
a shows an example of an electrode arrangement in which the invention can be applied.
b shows the relationship between mechanical motion and capacitances in the sensor.
The invention is intended to retrieve digital positional information from the output signal from a capacitive sensor of known type.
In brief, such a sensor functions as follows:
When the electrode 21 in
The electrode 21 will subsequently overlap after this with electrodes S, T, and U in order, whereby the sizes of the areas of overlap are the functions S, T, and U in
Since the sensor comprises several periods of transmitter electrodes R, S, T and U, as is indicated by the dotted lines in the drawing, the surface interaction lines form continuous functions along the complete intended measurement area, as shown in
An input alternating voltage is applied to each of the transmitter electrodes R, S, T and U, which alternating voltages have a phase position (a displacement in time) that is unique for each transmitter electrode.
The intersection of the ordinate with the curves R, S, T, and U (
We shall now show in more detail the theoretical relationship between the appearance of the composite signal and the relative positions between the receiver electrode 21 (
The signals R, S, T, U will be denoted hereafter as v1, v2, v3 and v4 in order to facilitate the presentation, and the capacitance functions that correspond to the interactions of the electrodes (R, S, T and U) with the receiver electrode 21 as C1(x), C2(x), C3(x) and C4(X).
The electrodes in the capacitive sensor are represented in the diagram as condensers. The capacitance of each condenser C1(x), C2(x), C3(x) and C4(x) is variable, and it thus varies as a function of the position (x) as shown in the drawing in
where L is the mechanical length that corresponds to one period of the capacitance function (see
The input signals v1, v2, v3 and v4 that excite the capacitances may be, for example, periodic square-waves with frequency f0, amplitude {circumflex over (v)} and with 90-degree phase displacements relative to each other (
The input voltages can be written as:
The composite signal vo(x, t) is loaded with a condenser CL to earth. The output signal from the sensor is a function of both the mechanical position (x) of the sensor and of time “t”, and this signal is shown in more detail in
The output signal from the sensor can be written mathematically as:
As is made clear by
We can see in the expressions for the four DC levels that the pairs vo1/vo3 and vo2/vo4 constitute a cosine function and a sine function, respectively, of the mechanical position (x) in the sensor. This relationship is used in the preferred design of the invention.
The description above and
The invention is based upon measurement of the four amplitude levels (v1, v2, v3 and v4) in the output signal (vo) from the sensor, which levels, as we have shown above, are functions of the relative position (x) of the two electrode systems that move relative to each other.
The measurement is carried out at four different fixed times T1, T2, T3 and T4 evenly distributed throughout the period “t=1/f0” of the input signal (
The pairs vo1/vo3 and vo2/vo4 as we have previously shown, constitute a cosine function and a sine function, respectively, of the mechanical position (x) in the sensor.
The two component magnitudes of each pair, vo1/vo3 and vo2/vo4, are mirror images of each other relative to the mean value of the composite signal, which normally coincides with a potential of zero.
The result can be made independent of any zero offset present in the output signal of the sensor through digitalising the difference between vo1 and vo3, and that between vo2 and vo4.
The digitalised values are used for numerical calculation of the mechanical position of the sensor.
The output signal vo from the sensor is amplified in the operational amplifier “InAmp” and filtered at the times T1, T2, T3 and T4 with the aid of a synchronous filter to the storage condensers CR, CS, CT and CU, where the value is stored in the form of an electrical potential.
The synchronous filter consists of a resistor (R), the analogue 1-to-4 multiplexer (1:4 in
The synchronous filter controls the signal such that the DC level vo1 is filtered and stored (it is sampled) in condenser CR (around the time T1), the level vo2 in CS (around T2), the level vo3 in CT (around T3) and the level vo4 in CU (around T4).
After each filter and storage (sampling) operation of the DC levels in the storage condensers (around the times T1, T2, T3 and T4), the difference between vo1 and vo3 is digitalised (around the times T1 and T3 in the first A/D converter, ADC1), as is the difference between vo2 and vo4 (around the times T2 and T4 in the second A/D converter, ADC2).
X=v
o1(x)−vo3(x)
Y=v
o2(x)−vo4(x)
Furthermore, the filtering, storage (sampling) and the A/D conversion are controlled in such a manner that the storage condensers and ADC1 and ADC2 are electrically insulated from the input stage during the A/D conversion since the analogue 1-to-4 multiplexer (1:4 in
A large degree of immunity to disturbance and a low noise level in the digitalised measured values are achieved in this manner.
The mechanical position (x) of the sensor can then be calculated with the aid of the X and Y values. This can be carried out by, for example, applying the arctan function either to X/Y or to Y/X, depending of whether the absolute value of X is larger or smaller than the absolute value of Y.
The calculated position can be expressed as:
A new calculation of the position is carried out each time a new measured value (vo1, vo2, vo3 or vo4) is stored in CR, CS, CT or CU. Four calculations of position for each period “t=1/f0” of the frequency of the input signal are obtained in this way (
The value of (x) calculated in this manner covers an area that covers a quarter of the mechanical period L. Thus four such rounds of positional values are obtained in one mechanical period L, of magnitude from 0 to L/4 (
It is possible to determine which quadrant of the period L the measurement has been taken (the function P in
Once the value of (P) has been determined, the absolute position within the mechanical period L is obtained according to:
The A/D conversion is shown in
It is, in reality, advantageous to use instead only one A/D converter, whereby not only are cost advantages achieved but also errors are avoided that may arise from any differences between the properties of the two A/D converters “ADC1” and “ADC2”. This is made possible by the use of a further multiplexer that connects the pairs vo1/vo3 and vo2/vo4 alternately to the inputs of the A/D converter.
The description given above is only an example of a suitable design of a signal-processing arrangement according to the invention.
Capacitive systems for measuring lengths and angles of the type described can be designed in a multitude of different ways. The geometry of the electrode, for example, can be designed in such a manner that the capacitance becomes a linear function of the motion, or a sine function, as it is in the preferred design, or another trigonometric function of the motion.
One skilled in the arts will realise also that the invention can be applied with the use of a freely chosen number of input signals n, where n>2. It will be realised also that the invention can be used with other relationships between capacitance and position than a sine-form, provided that the relationship can be described with a mathematical expression. It is also possible to use other relationships for the pulse width than those used in the described preferred design.
It will finally be realised also that signal processing according to the invention with suitable modifications will function also with sine-formed input signals.
Number | Date | Country | Kind |
---|---|---|---|
0502272-8 | Oct 2005 | SE | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/SE06/50369 | 10/3/2006 | WO | 00 | 5/30/2008 |