Apparatus for measuring small displacements

Abstract: Apparatus for measuring small displacements, either linear or angular, employ a pair of spaced "barber pole" or other magnetic field sensitive elements (BP1, BP2) and a movable magnet (22, 31, 33...), in which the exact position of the movable magnet is determined from the voltages sensed at the two elements. The voltages are evaluated in a circuit which produces a rectangular voltage or equivalent, in which the mark space ratio equates to the position of the magnet between the two sensors.

Description: This invention relates to apparatus for measuring small displacements. Proposals have already been made to measure small displacements accurately using sensors sensitive to magnetic fields and changes in magnetic fields. The effect referred to is not of voltage generation due to a conductor cutting magnetic lines, but is a static effect of a magnetic field on a sensor which is affected thereby. Among sensors useful for this are so-called 'barber pole' elements, and Hall pressure sensors. Relative movement between a sensor and a magnet can effect a change in electrical output, and an array of sensors in line or in two dimensions gives accurate data concerning the position of the movable element. The most practical arrangement uses an array of barber pole elements at discrete spacings, with a magnet movable relative thereto. A practical use is with a pressure sensor having a deflectable membrane, a permanent magnet being mounted on the latter and a row of elements mounted on the casing. Apparatus of this general type has the disadvantage that since the voltage output of each barber pole element is at a discrete level, in the general case when the magnet lies between two elements, an interpolation must be carried out to decide the exact location of the magnet. Only if the magnet were directly above a barber pole element would this give a zero output, with consequent certainty as to the position of the magnet. In the past, the interpolation has been made using separate microcomputer facilities, which is expensive, and is even then only an approximation. An arrangement, which uses such an array of sensors sensitive to magnetic fields, for example barberpole elements and a magnet, whose position should be detected is known from the EP-A1 0 240 707. For detecting the position of the magnet, the signals of adjacent sensors are evaluated and an interpolation of the aggregate signal allows to determine the zero crossing and therewith the position of the magnet. In the DE-OS 36 34 245 a circuit, comprising a capacitor and a comparator for evaluating the signals of differential resistors is described. In this circuit the capacitor is reciprocal charged up to a reference voltage via the one or the other of the resistors by a pulse-wide-modulated rectangular voltage. The output voltage of the circuit is proportional to the values of the resistors respectively to the measured value. The invention aims to provide an apparatus for measuring displacements, or the static position of a member, which is cheaper to implement and which is insensitive to temperature. In addition arrangements are possible which are also insensitive to the spacing between the magnet and the sensor array. According to the invetion, there is provided apparatus for measuring small displacements comprising a fixed linear array of magnetic field sensitive elements and magnetic member movable relative to the array, whereby the position of the magnetic member between two adjacent elements can be determined from the respective sensed values from the two elements, characterised by an evalution circuit which receives said two sensed values and in response produces a rectangular voltage or its equivalent in which the mark/space ratio equates to the position of the magnet between the two elements. The magnetic member may be a permanent magnet; alternatively, the magnetic member may be a soft magnetic piece which by its movement varies the magnetic field provided by a separate, fixed permanent magnet. The magnetic member may move linearly or an an arc. In all these cases, the form of evaluation circuit chosen provides a measurement device which in particular is insensitive to temperature, and which provides an output which does not need further processing in a computer for the purpose of interpolation. In order that the invention shall be clearly understood, exemplary embodiments will now be described with reference to the accompanying drawings in which: Fig.1 shows the principle of apparatus for measuring small displacements and illustrate its output signal; Fig.2 shows to an enlarged scale the relationship of only two sensors; Fig.3 shows the voltage outputs produced by movement of the magnetic member; Fig.4 shows the conversion to analogue output; Fig.5 shows a first circuit for providing such an output; Fig.6 shows a circuit modification; Fig.7 shows an alternative circuit; Figs 8 and 9 show two further physical arrangements; Fig.10 shows an arrangement for measuring angular movement; Figs 11 and 12 shows two practical applications for an apparatus according to the invention. Fig. 13 shows a different system of measuring angular displacement which is unaffected by a background magnetic field; Fig. 14 shows a practical embodiment of a similar system; Fig. 15 shows an evaluation circuit for the latter; and Fig. 16 shows a schematic of the device shown in Fig. 14 for measuring angular displacement using only two sensors. In Fig.1, a series of 'barber pole' sensors 20 are spaced at equal intervals along a fixed board 21. A permanent magnet 22 is attached to a movable member (not shown), the diplacement or position of which in the direction of the arrow 23 is to be measured. The effect of the magnet on each barber pole sensor 20 is to vary its resistance, and a voltage is applied across each sensor by a voltage source 24. The value of U a is Ov when the magnet 22 is directly above a sensor, and has a positive value for each sensor 20 to the left of the magnet 22 and a negative value for each sensor 20 to the right. The graph drawn above the apparatus shows an example of the values of U a for each sensor 20, and has a step-like form with a discrete value of U a for each sensor. There is no sensor with a value of Ov because the magnet 22 does not stand directly above a sensor. To identify its position a crude linear interpolation can be made by drawing line 25 between equivalent points of the adjacent steps on the graph. The zero crossing point 26 can thus be calculated as a distance s along the horizontal axis. However, this interpolation is relatively crude, since the line should theoretically be a curve. Moreover, the values measured vary depending on external factors which as temperature and the spacing of the path of the magnet 22 from the sensors; only at the true zero crossing i.e. directly below the magnet, do these factors not play a part. The true curve (the static curve) which it is desired to approximate by the straight line is in fact the precise inverse of a curve (the motion curve) which is obtained by moving a magnet steadily past a single barber pole sensor and measuring its output voltge at its centre. This curve is shown as dashed line 27. Figure 2 shows diagramatically and two sensors 20 marked BP1 and BP2 movable magnet 22, with the parameters marked. The magnet is assumed to lie between the two sensors at a point s such that S₁ + S₂ = d . The electrical outputs of BP1 and BP2 are illustrated in Fig.3 in the form of the two curves U s1 , U s2 which are the inverse of the motion curves. At the precise point s, the two voltages are Y₁ and y₂, y₁ in the case shown being negative. By appropriate processing of these two values, the exact position of S can be determined. According to the invention, a circuit is provided to process the values automatically using the principles illustrated in Fig.4. The circuit is set to receive the values U s1 and U s2 and to generate a saw-tooth waveform U SZ1 which oscillates between the limits of the two voltages y₁ and y₂ either side of a datum voltage U o /2. The voltage U sz = Uo τ t and the times are calculated as follows: Both the amplitude and the frequency are dependent on the spacing between the magnetic member and the sensors, and on temperature, as is illustrated by the dotted waveform U sz2 for a larger spacing; the amplitude decreases and the frequency increases. In fact, the slopes of the waveform are the same. This sawtooth waveform then converts to a pulse width modulated square waveform U K (t) in which t₁, t₂ are proportional to s₁, s₂. The value U k (t) is Thus The mean value of U k thus varies between O and U k , proportional to s, the position of the magnetic member,and independent of its spacing above the sensors. Consequently,the value of the mark/space ratio remains the same, thus freeing the measuring apparatus of its spacing and temperature dependence. The circuit required to perform this evaluation is illustrated in Fig.5. This is a known self-oscillating circuit for generating sawtooth and square waveforms, and consists of an inverting Schmitt trigger OP1 and an RC integrator OP2 with a time constant τ = RC in series. The sawtooth output is fed back to trigger OP1, and to a comparator K which also receives the value U o /2. A low pass filter TP provides an output voltage U k proportional to distance s from the square waveform U k (t) at the output of the comparator. The input to the Schmitt trigger OP1 consists of the amplified values of the barber pole voltages U s1 and U s2 used alternately. They are selected by an electronic switch S at the output of operational amplifiers OP3 and OP4. The switch is controlled by a feed back from the output of trigger OP1. In a slight modification of this circuit, the circuitry within dashed line 30 in Fig.5 is replaced by the block shown in Fig.6. The switch S is placed ahead of the amplifier OP5, thus reducing the whole circuit requirement to four operational amplifiers, which are commercially available on a single chip. An alternative and simpler evaluation circuit is shown in Fig.7, together with its output waveform. The basis is again the series connection of an inverting Schmitt trigger OP1 and an integrator OP2. However, the voltage U s1 and U s2 serve as a switchable integration voltage for trigger OP1, while the threshold voltage is constant. The outputs U₁ and U₂, have the form illustrated, and again t₁ and t₂ are dependent on s₁ and s₂, although T = t₁ + t₂ in this case increases with an increase in the spacing. Figs 8 and 9 show alternative arrangements of magnetic member and sensors. In Fig.8, a soft iron member 31 is used in place of a permanent magnet, and the field is provided by a magnetic strip 32 upon which the sensors 20 are mounted. The strip is poled transversely, as shown. Movement of member 31 causes modification of the field surrounding the sensors and production of essentially the same voltage curves. The strip 32 may also be used in addition in the Fig.1 embodiment. In Fig. 9, the magnetic axis of two adjacent cylindrical permanent magnets 33 lies parallel with the direction of motion, and like poles abut. In Fig.10, a soft magnetic member 34 has the form of a toothed wheel, with teeth 35 rotating so as to pass adjacent to the sensors 20. This operates well so long as at least one tooth 35 lies in the magnetic field. For this embodiment, the fact that the calculated output is independent of the spacing of magnetic member and sensors is of crucial importance. Fig.11 illustrates the use of the invention in a pressure sensor. Fluid pressure acts on a membrane 43, causing corresponding deflection of a rod 36 carrying permanent magnets 37 in a configuration similar to Fig. 9. The rod 36 lies within a housing 38, in the wall of which is a sensor unit 39 consisting of two barber pole elements. The outputs are fed to a circuit as described above. The very small membrane displacements sensed are an accurate measure of the fluid pressure P applied. Fig.12 shows a different application. Here, the permanent magnet 40 is attached to a mass 41 on the end of a spring 42. The mass deflects under acceleration and deceleration of the body 44 to which the spring is fixed. The sensor outputs can thus give a measure of the acceleration and deceleration. Two further embodiments illustrate a rather different system for measuring angular displacements. In these cases, the plane of movement of the magnetic member is parallel with the plane of the sensors, rather than normal to it as in Fig. 10. Fig. 13 illustrates in schematic plan view a sensor array with four barber pole sensors. The moving magnetic member 45 swings about a centre point 46 directly above the two barber polse sensors BP1, BP2 thus varying its position between them. The sensors in this case are popsitioned, not side-by-side as in previous embodiments, but at an angle to each other. It will be realised that this arrangement is similar to but covers a larger angle than the embodiment in Fig. 12. The arcuate swing of the magnetic member 45 between the angled sensors BP1, BP2 can be considered as simply a variation of the spacing between them. Two further improvements are introduced to increase the accuracy of measurement of angle α ,derived from the values of s₁ and s₂ (or t₁ and t₂ ) output by the circuitry. In order to compensate for background magnetic fields H st (e.g. that of the earth) which cause distortion of the results when motion is not in a straight line, two further complementary sensors BP3 and BP4 can be introduced symetrically about the point 46. Further, a second symetrical moving magnet 47 may be introduced. By combination and averaging of the outputs of BP1 and BP3 and of BP2 and BP4, the distortions and errors can be compensated and eliminated. Figs. 14 and 15 illustrate a practical embodiment of the principles just discussed. Fig. 14 shows a side view of a rotary shaft 50 which carries two transverse arms 51. On the arms 51 are two pairs 52, 53 of permanent magnets, each pair with like poles facing. Between the magnet poles is a fixed support for two barber pole sensors 54, 54, positioned in line symetrically of the shaft 50. The latter is attached for example to a flap valve member of a carburettor so as to measure its angular position, within a limit of about 50-60 o . The apparatus operates in principle similarly to Fig. 13. However, it is also subject to severe external magnetic fields, for example if built into the engine of a large vehicle. A bias ring magnet 59, preferably of plastoferrite is attached behind the sensors. This helps to provide more stable magnetic field and reduces the sensitivity to external fields. The second magnet of each magnet pair has the effect of reducing again the sensitivity to the spacing of the magnet plane and the sensor plane, and also to construction tolerances. The signals derived from this device are used in the evaluation circuit in Fig. 15. A virtual second sensor pair at 90 o to the line of the first is simulated. The output signals U₁, U₂ of the two sensors define the reference voltage position, and thus the magnitude of the measurement range , as well as the linearity. These signals are first averaged before application with U₁ to an operational amplifier OP6. By this means, the influence of external distoring magnetic fields is compensated. The output voltage at point 57 is then applied with voltage U₂ via a non-inverting amplifier OP7 to the other pole of switch S. This form of circuit has the considerable advantage that exactly the same characteristic curve is used as for analogue interpolation, ensuring an improvement in linearity and temperature performance. Figure 16 illustrates schematically the device of Fig. 14, using only two magnets 52, 53 and a single pair of barber pole elements 54, 55 arranged in line at 180 o to each other.

Claims: Apparatus 1. Apparatus for measuring small displacements comprising a fixed array (20; 54, 55) of magnetic field sensitive elements and a magnetic member (22; 31; 33; 35; 37; 40; 45; 47; 52; 53) movable relative to the array, whereby the position of the magnetic member between two adjacent elements (BP1, BP2) can be determined from the respective sensed values (U s1 , U s2 ) from the two elements, characterised by an evaluation circuit (30, OP1, OP2) which receives said two sensed values said evaluation circuit comprises in series an inverting Schmitt trigger (OP1) and a RC integrator (OP2) with feedback, which provides a sawtooth voltage output, where the sawtooth voltage output is supplied to a comparator (k) which provides a cyclical voltge (U k , (t)), having rectangular waveform and having a high lever during times (t₁) and a low level during times (t₂) and a ratio (t₁:t₂) which equates to the position of the magnetic member between the two elements. Apparatus as claimed in claim 1, characterised in that the array of sensitive elements (20) lie in a single plane and the magnetic member (22) moves in a different substantially parallel plane. Apparatus as claimed in claim 2, characterised in that the elements (20) lie in a first line side by side and the magnetic member (22) moves in a straight line parallel to said first line. Apparatus as claimed in claim 3, characterised in that the elements (20) are disposed in an arcuate array and the magnetic member (45, 52) moves in a corresponding arc, for measurement of angular displacement. Apparatus as claimed in claim 3 or 4, characterised in that additional elements (BP3, BP4) are provided in mirror image positions and their sensed values are used in the evalution circuit so as to compensate for external magnetic fields. Apparatus as claimed in claim 6, characterised in that a second magnetic member moves in relation to said additional elements. Apparatus as claimed in any preceding claim, characterised in that a bias field acts on the sensitive elements. Apparatus as claimed in any preceding claim, characterised in that a further magnetiv member (52) is associated with the first and the two members move on opposite sides of the array. Apparatus as claimed in claims 1 or 2, characterised in that the array of sensitive elements (20) lie in a single plane, and the magnetic member (35) moves in an arc in a different plane, at right angles to the single plane and which includes the sensitive elements. Apparatus as claimed in any preceding claim, characterised in that the magnetic member is a soft iron piece and the sensitive are mounted in a static magnetic field which is modified according to the position of the magnetic member. Apparatus as claimed in claim 2, chracterised in that two elements (20) are aligned end-to-end and one rotated 180° reltiv to the other, and the magnetic member (52, 53) moves in an arc for measurement of angular displacement.

Inventors: ANTONI WALTER DIPL-ING, GERLACH GUENTER, RIEDEL GEORG, ZABLER ERICH DIPL-ING, ANTONI, WALTER, DIPL.-ING., GERLACH, GUENTER, RIEDEL, GEORG, ZABLER, ERICH, DIPL.-ING., Gerlach, Günter
Applicants: BOSCH GMBH ROBERT, ROBERT BOSCH GMBH
Application year: 1989
Main classification: G01D5
IPC codes: G01D5