[0001] This invention relates to apparatus for measuring displacement using a sensor in
association with processing means for calibration, linearisation and digital conversion.
[0002] There are many types of conventional displacement sensor, most of which produce an
analogue output, for example, linear differential transducers. However, some sensors
can give a digital output using Moiré fringe techniques or interferometry, but these
are more suited to measuring large displacements, for example in machine tools.
[0003] Conventional analogue sensors produce very small signals requiring considerable amplification
before it is possible to digitise and process the signal. In such systems, it is often
necessary to provide a plug-in calibration unit special to the individual sensor,
to enable standardised electronics to be used. When using a linear variable differential
transformer in which an A.C. reference signal is applied to one coil and the amplitude
and phase of the output from the other coil provide a measure of the amount and direction
of movement of the core, a network of variable or select-on-test resistors is provided
in the output circuit to enable the output amplitude to be standardised.
[0004] According to the invention there is provided apparatus for measuring displacement
comprising a sensor head for varying the frequency of an oscillator in response to
the displacement to be measured, means for measuring the frequency change, and a micro-processor
for converting the measured frequency change to a digital output representing the
displacement by reference to stored calibration coefficients specific to the sensor
head, wherein the frequency measuring means, and micro-processor are mounted in a
connector for connection to similar connectors of other sensor heads, and the microprocessor
contains a unique I.D. for that sensor head, allowing a host computer to identify
each sensor head.
[0005] The calibration coefficients form a look-up table which is conveniently stored in
a ROM.
[0006] A displacement sensor embodying the invention may have a number of advantages, most
notably, by converting the mechanical displacement into a shift in frequency, the
sensor is able to produce a digital output without the need for high gain amplifiers
or a/d converters. Also, the electronics to operate the sensor, are mounted in a connector
providing a compact unit which requires no further processing electronics and which
can be directly coupled to a number of other similar sensors.
[0007] According to the invention in a second aspect there is provided apparatus for measuring
displacement comprising a sensor head for varying the frequency of an oscillator in
response to the displacement to be measured, means for measuring the frequency change,
and a microprocessor for converting the measured frequency change to a digital output
representing the displacement by reference to stored calibration coefficients specific
to the sensor head, wherein the sensor head comprises a core displaceable between
at least two coils which are alternately connected to the oscillator, the frequency
change between the two coils providing a measure of the displacement, and the displacement
measuring apparatus further comprises a first counter coupled to the output of the
oscillator and arranged to switch the connection between the coils and the oscillator
after a time interval comprising at least n cycles of the oscillator.
[0008] Embodiments of the invention will now be described by way of example, and with reference
to the accompanying drawings, in which:
Figure 1 is a schematic diagram of the sensor head;
Figure 2 is a block schematic diagram of the sensor embodying the invention, including
the sensor head shown in Figure 1; and
Figure 3 is a typical installation including the sensor of Figure 2.
[0009] The sensor head 1 of Figure 1 measures displacement by converting it into a variation
in the frequency of an oscillator 2. The displacement to be measured causes movement
of a core of ferromagnetic material 4, such as radiometal alloy, within a pair of
inductor coils 6A and 6B, thus causing a variation in the inductance thereof. Each
of the coils 6A and 6B can form part of the tuned circuit of an oscillator 2, and
thus the frequency of oscillation varies in accordance with the displacement to be
measured. The variation of frequency with displacement is not linear, but this non-linearity
may be corrected within the processing circuitry. Although the oscillator 2, the two
switches 7A and 7B which switch between the two coils 6A and 6B and the first counter8
which counts the output cycles of the oscillator 2 are shown in Figure 1 to be outside
the sensor head 1, in another embodiment these items may be incorporated into the
sensor head.
[0010] The two coil system of Figure 1 is a differential system in which the magnetic material
4 moves out of one coil 6A into a similar coil 6B mounted coaxially such that as the
inductance of one inductor is reduced, the inductance of the other is increased, and
the difference in frequencies is calculated subsequently in a micro-processor.
[0011] The output cycles of the oscillator 2, in Figure 1, are counted in a first counter
8. After n cycles of the oscillation have been counted, the counter 8 produces an
output pulse 9. The pulse 9 operates the two switches 7A and 7B which switch between
the two coils 6A and 6B of the tuned circuit of the oscillator 2, to disconnect one
of the coils 6A and 6B and connect the other coil to the tuned circuit. The output
pulse 9 from the first counter 8 also resets the counter 8 to zero and inhibits the
counter's operation for a period of time sufficient to allow the frequency of the
oscillator 2 to stabilize, after which the counter 8 proceeds to count n cycles of
the frequency due to the connected coil 6A or 6B.
[0012] The time between the trailing edge of one output pulse from the first counter 8,
and the leading edge of the subsequent output pulse defines the period of n cycles
of the oscillator for each coil 6A and 6B, and thus the frequencies of oscillation
corresponding to each coil. The difference between the periods of n cycles corresponding
to each coil is a function of the displacement to be measured.
[0013] To measure the period of n cycles of the oscillator 2, the output pulse 9 from the
first counter 8 is applied to a second counter 12 of Figure 2, which is driven from
a high frequency crystal clock 10. At the trailing edge of the pulse 9, the second
counter 12 is allowed to count cycles from the high frequency clock 10 until the leading
edge of the subsequent output pulse from the first counter 8 is received. The count
from the second counter 12, which represents the period of n cycles of the oscillator
2, and thus the frequency of oscillation, is loaded into the microprocessor 14 and
the second counter 12 is reset to zero.
[0014] At the trailing edge of the output pulse 9 from the first counter 8, the above process
is repeated for the other of the two coils 6A and 6B.
[0015] The difference between the counts obtained corresponding to each coil 6A and 6B,
which is representative of the displacement to be measured, is taken by the microprocessor
14 and this is compared with a look-up table 16 stored in the memory during initial
calibration. The micro-processor 14 thus converts the counts of the counter 12 into
a positional reading, corrected for non-linearity of the frequency change with displacement
and for the individual characteristics of the sensor head, and interpolates between
stored values in the memory.
[0016] The output from the micro-processor is connected to a bi-directional interface/bus
18 via drivers 20, for example the RS485 or RS232 system. It is possible to process
some of the data obtained, in the micro-processor, for example to determine maximum,
minimum and mean results over a period, or to take measurements at predetermined times,
thus reducing the amount of data needed to be transmitted over the bus system.
[0017] For each sensor of the kind shown in Figure 2 the measuring or sensor head 1 is attached
by a long lead to a connector containing the processing circuitry, i.e. the elements
10, 12, 14, 16 and 20. This connector is designed to be plugged directly to other
connectors of other sensors to build up the bi-directional bus 18 connecting the sensors
to a host computer/data logger 22 as shown in Figure 3. The connector comprises a
plastics housing for the electronics, including a lead connected to the sensor head.
Alternatively a metal housing can be used for protection against radio-frequency interference.
A D-type input socket and a D-type output socket provide for the plug connection of
successive units.
[0018] In a further embodiment, the connector comprises a metal housing which is sealed
to at least IP60 standard. The connector may be connected directly to other similar
connectors without the need for lead linkage with complementary connectors at each
end, to form a single assembly mountable on the apparatus over which the individual
sensor heads are distributed.
[0019] Each of the sensors is provided with a unique ID programmed into it at the factory
so that the host computer can identify which sensor is in which position on the bus.
[0020] In another embodiment of the invention, the memory (16) of Figure 2 in which the
sensor calibration coefficients are stored, and the unique ID allocated to each sensor,
are contained in a separate unit, which may be plugged into the connector housing
the processing circuitry. As such, any damage occurring to the associated sensor head
or lead would not automatically require the entire unit to be replaced. Also, the
memory (16) may be physically implemented in, for example, the form of a key and need
not be re-programmable.
[0021] Various alternatives to the embodiments described are possible and will occur to
those skilled in the art. For example, alternative magnetic materials such as ferrite
may be used for the moveable core. Also, whilst the two coil system has the advantage
that being a differential measurement it is much less sensitive to temperature variation,
a single coil system could be used.
[0022] For the two coil system, once the frequencies corresponding to each coil have been
obtained, it is possible to take either the ratio or difference of the two frequencies
to calculate the displacement measured by the sensor. In the case of the ratio of
frequencies, the counts corresponding to the two frequencies are separately transferred
from the counter 12 to the microprocessor 14, which then calculates the ratio and
compares this with the stored values in ROM 16.
[0023] Furthermore, if desired, the timing of the operation of the switches 7A and 7B, and
the timing of the commencement of the counting of n cycles of the oscillator 2 for
each coil 6A and 6B, can be controlled by the microprocessor 14.
1. Apparatus for measuring displacement comprising a sensor head for varying the frequency
of an oscillator in response to the displacement to be measured, means for measuring
the frequency change, and a micro-processor for converting the measured frequency
change to a digital output representing the displacement by reference to stored calibration
coefficients specific to the sensor head, wherein the frequency measuring means, and
micro-processor are mounted in a connector for connection to similar connectors of
other sensor heads, and the microprocessor contains a unique I.D. for that sensor
head, allowing a host computer to identify each sensor head.
2. Apparatus as claimed in claim 1 in which the sensor head comprises a core displaceable
within a coil of the oscillator to vary the frequency.
3. Apparatus as claimed in claim 2 in which the core is displaceable between two coils
which are alternately connected to the oscillator and the frequency change between
the two coils provides a measure of the displacement.
4. Apparatus as claimed in claim 3 comprising a first counter coupled to the output of
the oscillator and arranged to switch the connection between the coils and the oscillator
after a time interval comprising at least n cycles of the oscillator.
5. Apparatus for measuring displacement comprising a sensor head for varying the frequency
of an oscillator in response to the displacement to be measured, means for measuring
the frequency change, and a microprocessor for converting the measured frequency change
to a digital output representing the displacement by reference to stored calibration
coefficients specific to the sensor head, wherein the sensor head comprises a core
displaceable between at least two coils which are alternately connected to the oscillator,
the frequency change between the two coils providing a measure of the displacement,
and the displacement measuring apparatus further comprises a first counter coupled
to the output of the oscillator and arranged to switch the connection between the
coils and the oscillator after a time interval comprising at least n cycles of the
oscillator.
6. Apparatus as claimed in claim 4 or 5 in which the means for measuring the frequency
change comprises a second counter gated by the output of the first counter to count
clock pulses, and means for generating a difference count corresponding to the difference
of oscillator frequency between the two coils.
7. Apparatus as claimed in claim 4, 5 or 6 in which the means for measuring the frequency
change comprises a counter arranged to supply counts to the microprocessor corresponding
to the two frequencies of the oscillator, the microprocessor being designed to calculate
the difference in the frequencies for comparison with the stored calibration coefficients.
8. Apparatus as claimed in claim 4, 5 or 6 in which the means for measuring the frequency
change comprises a counter arranged to supply counts to the microprocessor corresponding
to the two frequencies of the oscillator, the microprocessor being designed to calculate
the ratio of the frequencies for comparison with the stored calibration coefficients.