APPARATUS FOR MAGNETICALLY DETECTING POSITION OR SPEED OF MOVING BODY

Abstract: Magnetic poles are provided continuously with a pitch λ on the peripheral portion of a drum rotated in accordance with a movement of a moving body. A magnetic sensor is provided in opposition to these poles. The sensor is formed of two magnetoresistive element pairs which are spaced from each other at λ/6, and the two elements in each pair are arranged in positions spaced from each other at λ/2. The two elements in each pair are connected in series to form a bridge circuit. The signals obtained from the nodes of the series-connected elements in the two element pairs are differtially amplified. Owing to this structure, the third harmonic wave compo­ nents are eliminated, and a signal having no distortion and representative of the position or speed of the moving body can be obtained.

Description: BACKGROUND OF THE INVENTION Field of the Invention: This invention relates to an apparatus for magnetically detecting the position or speed of a moving body by using a magnetoresistive element, and more particularly to an apparatus for obtaining a sine wave output signal for detecting the position or speed of a moving body. This invention can be applied to even a rotationally moving body, a linearly moving body and a sinuously moving body. Namely, this invention is directed to an apparatus for detecting the angle of rotation of various types of rotary shafts, to say nothing of the angle of rotation and speed of, for example, a motor. The apparatuses, to which the present invention can be applied to detect the position or speed of a linearly moving body, include a position detector in a printing head of a printer and a head of a magnetic disc drive. Generally speaking, the present invention can be utilized widely for a speed controlling apparatus or various types of positioning apparatus. Description of the Related Art: An apparatus for detecting the position and angle of a moving body by using a magnetoresistive element (which will hereinafter be referred to as an MR element) which is adapted to sense magnetism and cause variation in the internal electric resistance thereof is known well. The invention disclosed in USP No. 4,319,188 is also an example of an apparatus for detecting the angle of a moving body by using an MR element. The internal electric resistance of an MR element varies depending upon the intensity of a magnetic field working thereon. Therefore, when the air gap between an MR element and a magnetic medium having a plurality of magnetic poles and moving as it is opposed to the MR element varies, an output signal of the MR element also varies based on the variation of the internal electric resistance . For example, the true circularity of a rotary magnetic medium cannot be obtained even if the magnetic medium is manufactured with the highest possible accuracy. The magnetic medium also has unbalanced mass and causes the rotary system to have play and eccentricity. Consequently, when the magnetic medium is rotated, the air gap varies in each turn thereof to cause an output signal from the MR element to be distorted. In order to obtain a high-level output signal from an MR element, the air gap mentioned above must be reduced. However, if the air gap is reduced excessively, the MR element is magnetically saturated to cause its output waveform to be largely distorted, so that the output waveform becomes dissimilar to a sine waveform. Namely, in general, a magnetic sensor utilizing an MR element has the following characteristics. When the originally narrow air gap varies slightly the output amplitude does not vary but the output waveform is distorted due to the magnetic saturation. Conversely, when the air gap is originally wide the waveform of an output from the senor is not distorted but the output amplitude varies when the air gap varies. Thus, when an attempt in obtaining a high-level output from a known angle detector utilizing the MR element is made, an output, the waveform of which is distorted, is obtained and an output of a sine waveform is not. When an attempt in obtaining an output signal of a sine waveform having no distortion is made, a high-level output signal cannot be obtained. SUMMARY OF THE INVENTION An object of the present invention is to provide an apparatus for magnetically detecting the position or speed of a moving body, which is capable of obtaining an output signal of a sine waveform containing no major higher harmonics and having no distortion even when the air gap between a magnetic medium and a magnetic sensor is reduced. The object of the present invention is achieved with an apparatus as defined in the claims. A feature of the present invention resides in the arrangement of MR elements constituting a magnetic sensor, which is capable of eliminating the major higher harmonics by which the waveform of an output signal is distorted. Namely, the feature of the present invention resides in an apparatus for magnetically detecting the relative position or speed of moving and stationary bodies, consisting of a magnetic medium provided in either a moving body or a stationary body, a plurality of magnetic poles arranged successively with a predetermined pitch on the magnetic medium, a plurality of MR elements which are provided on the other of the moving body and stationary body so as to be opposed to the magnetic medium, and are adapted to sense a magnetic field generated by the magnetic poles and thereby cause the electric resistance thereof to vary, and an output circuit connected electrically to the MR elements and adapted to convert the variations in the electric resistance of each MR element into an electric signal which is outputted as a signal representative of the relative position or speed of the moving and stationary bodies, the MR elements forming a plurality of MR element pairs each of which consists of two MR elements, the distance between the two MR elements in each MR element pair and the distance between adjacent MR element pairs being determined so that the electric signals based on the variations of electric resistance of the MR elements are generated so as to offset third harmonics as a major higher harmonic component each other, which are contained in the electric signals, by synthesizing the same electric signals. According to the present invention, even when the air gap between the magnetic medium and magnetic sensor varies to such a small range that causes magnetic saturation to occur in the magnetic sensor, the distortion of an output signal waveform due to the magnetic saturation can be eliminated. Since the distortion of an output signal waveform due to the magnetic saturation can be eliminated, it is possible to increase the amplitude of an output signal by reducing the air gap between the magnetic medium and magnetic sensor in advance. The present invention capable of obtaining an output signal of a large amplitude having no distortion in the waveform thereof enables an apparatus, which has high accuracy and resolution, for magnetically detecting the position or speed, of a moving body to be provided. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a schematic diagram of an embodiment of the apparatus for magnetically detecting the position or speed of a moving body according to the present invention; Fig. 2 is an expansion plan of an example of the arrangement of MR elements (two MR element pairs are used in this example) which constitute a magnetic sensor in the apparatus of Fig. 1; Fig. 3 illustrates an example of the connection of MR elements constituting the magnetic sensor Fig. 2; Fig. 4 is a graph illustrating the characteristics of an MR element; Fig. 5 illustrates the operations of and the waveforms of outputs from various parts of the magnetic sensor of Figs. 2 and 3, for making the operation of the sensor as a whole understood; Fig. 6 is a graph showing the relation between an air gap in the apparatus and the amplitude of an output signal; Fig. 7. illustrates another example of the connection of MR elements constituting the magnetic sensor of Fig. 2; Fig. 8 illustrates still another example of the connection of MR elements constituting the magnetic sensor of Fig. 2; Fig. 9 illustrates the operations of and the waveforms of outputs from various parts of the magnetic sensor of Fig. 8, for making the operation of the sensor as a whole understood; Figs. 10 to 12 show some modified examples of the connection of MR elements constituting the magnetic sensor of Fig. 2; Fig. 13 shows a further example of the arrangement of MR elements (three MR element pairs are used in this example) which constitute the magnetic sensor of Fig. 2; Fig. 14 illustrates an example of the connection of MR elements constituting the magnetic sensor of Fig. 13; and Fig. 15 illustrates the operations of and the waveforms of outputs from various parts of the magnetic sensor of Figs. 13 and 14, for making the operation of the sensor as a whole understood. DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will now be described with reference to Figs. 1 to 5. Fig. 1 shows the construction of an embodiment of the detecting apparatus according to the present invention, in which a rotary drum 2 is mounted fixedly on a rotary shaft 1 which is rotated by a movement of a moving body with a magnetic medium 3, which has magnetic signals recorded with magnetic poles N and S of a pitch λ provided at the outer circumferential portion of the rotary drum 2. The magnetic medium 3 in this embodiment consists usually of magnetic powder solidified with a resin, and magnetic poles 31 fixed magnetically to the solidified body. This magnetic medium 3 may consist of a plurality of permanent magnets arranged in order. A magnetic sensor 4, in which MR elements are arranged at predetermined intervals, is fixed in opposition to the magnetic medium 3 with a clearance ℓ g provided therebetween. Reference numeral 41 denotes a substrate, on which the MR elements are fixed, of the sensor. The concrete relation between the magnetic medium 3 and magnetic sensor 4 in Fig. 1 is shown in expansion plan in Fig. 2. The magnetic poles 31 are recorded with a recording pitch λ on the recording medium 3. The magnetic sensor 4 consists of two MR element pairs, a first pair of which is composed of elements R₁₁, R₁₂, and a second pair of which is composed of elements R₂₁, R₂₂. The elements R₁₁, R₂₁ are spaced at λ /₆, the elements R₁₁, R₁₂ at λ /₂, and the elements R₁₂, R₂₂ at λ /₆. Accordingly, the distance between the elements R₂₁, R₂₂ is also λ /₂. These MR elements are bridge-connected as shown in Fig. 3. The MR elements R₁₁, R₁₂, and the MR elements R₂₂, R₂₁, which are series-connected, respectively, are connected in parallel with each other to a power source, to which MR element pairs a voltage V is applied. The output terminals O₁, O₂ of the bridge are connected to the positive and negative input terminals of a differential amplifier OPA through resistors R i1 , R i2 . A resistor R f is a feedback resistor. Accordingly, the outputs obtained from the output terminals O₁, O₂ of the bridge are amplified differentially by the differential amplifier OPA, and an output representative of a detected position appears at an output terminal O₀. The electric resistance of each MR element on the magnetic sensor 4 varies with respect to the intensity of a magnetic field, the MR element being made by forming a film of a ferromagnetic material, such as NiFe and NiCo on the surface of glass by vapor deposition. The electric resistance of the MR element varies in proportion to the intensity of a magnetic field irrespective of the direction thereof as shown in Fig. 4 but this variation becomes saturated at a certain level. When the rotary drum 2 is rotated to cause the magnetic medium 3 to be moved, a magnetic field, which varies along a sine curve as the input magnetic field of Fig. 4, is applied to the magnetic sensor 4 on the basis of the magnetic fields of the magnetic poles 31. As a result, the resistances of the MR elements R₁₁, R₂₁, R₁₂, R₂₂ vary as shown in Figs. 5a to 5d. In this case, the air gap between the magnetic medium 3 and magnetic sensor 4 is comparatively small. In the portion in which the intensity of the magnetic field is small, the resistance of the MR element decreases in proportion to the intensity of the magnetic field. However, when a magnetic field of a high intensity is applied to the magnetic sensor, the resistances of the MR elements becomes saturated and the variation thereof decrease. As a result, the resistances of the MR elements R₁₁, R₂₁, R₁₂, R₂₂ vary as shown in Figs. 5a to 5d. As apparent from the figures, the waveforms of the resistance variations of the MR elements have short flat portions corresponding to the minimum portions of the resistance. Accordingly, the output voltages v01, v02 from the output terminals O₁, O₂ of the bridge circuit have distorted signal waveforms as shown by solid lines in Figs. 5e and 5f. In this embodiment, one pitch (λ) of the magnetic poles 31 corresponds to one cycle of these voltages v01, v02. An analysis of this waveform shows that each of these waveforms can be decomposed into a fundamental wave v011, v021 shown by broken lines, and a third harmonic v012, v022 as a major harmonic component, the frequency of which is three times as large as that of the fundamental wave, shown by broken lines as well. The phase difference between the fundamental waves v011, v021 is 2π/3, while the phase difference between the third harmonics v012, v022 is zero. When the these two waves are added differentially by the differential amplifier, the third harmonic components are offset to become zero, and the fundamental wave components alone are added to each other, so that a sine wave output v0 shown in Fig. 5g is obtained at the output terminal of the differential amplifier. As is clear from the above statement, if the first and second MR element pairs R₁₁, R₁₂; R₂₁, R₂₂ are arranged with λ /₆ with the distances between the first and second elements R₁₁, R₂₁; R₁₂, R₂₂ in these MR element pairs kept at λ /₂, the distortion of an output voltage, which occurs due to the saturation of the MR elements, from the magnetic sensor can be offset. The variation of fundamental wave components with respect to that of the air gap is as shown by a broken line in Fig. 6. Accordingly, if the MR elements are used within the range C, in which the output variation is very small, the output variation with respect to the air gap also becomes very small. Fig. 7 shows an example of the connection of MR elements, in which the MR elements R₂₁, R₂₂ are connected in the contrary manner as compared with the corresponding MR elements shown in Fig. 3, whereby the phase of the voltage v02 at the output terminal O₂ becomes opposite to that of the voltage v01. In this example, the two outputs v01, v02 are added simply to each other by the differential amplifier OPA to thereby offset the third harmonic components. Reference letters V R denote an offset compensation voltage, which may be added by dividing a power source voltage V by resistances. Fig. 8 shows an example of three-terminal connection of MR elements, in which the MR elements R₁₁, R₂₁; R₁₂, R₂₂, which are connected in series, respectively, are further connected in series to a power source V with an output terminal O₀ connected to an intermediate node as shown in the drawing. The resistance variations of the MR elements are as shown in Figs. 5a to 5d. Accordingly, the resistance of the elements R₁₁+R₂₁ on the upper side of the three terminal connection varies as shown in Fig. 9a, and the resistance of R₁₂+R₂₂ on the lower side thereof as shown in Fig. 9b, so that an output voltage obtained from the output terminal O₀ is a sine wave output as shown by a reference letter v0 in Fig. 9c. An amplifier, which is not used in this example, may be used in a subsequent stage, whereby DC components can be removed. Figs. 10 to 12 show some examples of arrangement of MR elements, which examples are obtained by further modifying the arrangement of MR elements of Fig. 2. The methods shown in any of Figs. 3, 7 and 8 of connecting MR elements to form an output circuit may be employed in these examples. Fig. 10 shows an example, in which the distance between the elements R₁₁, R₁₂ in the first MR element pair and the distance between the elements R₂₁, R₂₂ in the second MR element pair are set to (1+ ¹/₂)λ, the relation between the first elements R₁₁, R₂₁ and between the second elements R₁₂, R₂₂ in these MR element pairs being identical with that in the example of Fig. 2. The phase of variations of the resistances of the elements R₁₁, R₁₂; R₂₁, R₂₂ are shifted by 2π from those of the variations of the resistances of the corresponding elements in the example of Fig. 2. However, since the magnetic signals continue with the recording pitch λ, the waveforms of the elements R₁₂, R₂₂ with respect to those of the corresponding elements shown in Fig. 5, and these elements operate in the same way as the MR elements arranged as shown in Fig. 2. Generally speaking, even if the distance between the MR elements R₁₁, R₂₁; R₁₂, R₂₂ is set to (m+1/2)λ, wherein m is an integer, the elements operate in the same manner. Fig. 11 shows an example, in which the distances between the first element R₁₁, R₂₁ and between the second elements R₁₂, R₂₂ in the MR element pairs are set to (1+ ¹/₆)λ, the distances between the elements R₁₁, R₁₂ and between the elements R₂₁, R₂₂ being equal to those λ /₂ between the corresponding elements of Fig. 2. The phase of variation of resistances of the elements R₁₁, R₂₁ and the phase of variation of resistances of the elements R₁₂, R₂₂ are shifted by 2π from those of variation of resistances of the corresponding elements of Fig. 2. However, since the magnetic signals continue with the recording pitch λ, the waveforms of the elements R₂₁, R₂₂ with respect to those of the elements R₁₁, R₁₂ are identical with those of the corresponding elements shown in Figs. 5a to 5d, and these elements operate in the same way as the MR elements arranged as shown in Fig. 2. Fig. 12 shows an example, in which the distances between the first elements R₁₁, R₂₁ and between the second elements R₁₂, R₂₂ in the MR element pairs are set to (1- ¹/₆)λ, the distances between the elements R₁₁, R₁₂ and between the elements R₂₁, R₂₂ being λ /₂ which is equal to the level shown in Fig. 2. The phase of variation of the resistances of the elements R₁₁, R₂₁ and that of variation of the resistances of the elements R₁₂, R₂₂ in this example is 5π /3 , while those of variation of the resistances of the corresponding elements of the example of Fig. 2 is π /₃. However, since the magnetic signals continue with the recording pitch λ, the phase differences between the elements R₁₁, R₂₁; R₁₂, R₂₂ are ² π /3 . This means that, with reference to the element R₁₂, the phase of the element R₁₁ is shifted by π /₃, and the relation between the elements R₂₂, R₂₁ is also considered identical. Therefore, the difference between the phases of the voltages v01, v02 at the output terminals O₁, O₂ in Fig. 3 becomes identical with that between the phases of the voltages v01, v02 in mutually substituted state, the waveforms of which are shown in Fig. 5, so that the level of an output v0 are representative of a detected position becomes equal to that of an output from the example of Fig. 2. Generally speaking, even if the distances between the MR elements R₁₁, R₂₁ and between the MR elements R₁₂, R₂₂ in the examples of Figs. 11 and 12 are set to (n±¹/₆)λ, wherein n is an integer, the MR elements operate in the same manner. The above examples can be summarized as follows. The MR element pairs R₁₁, R₂₁; R₁₂, R₂₂ each of which pairs consists of two MR elements are provided in opposition to a magnetic medium 3 having magnetic poles provided successively with a predetermined pitch λ. The two elements in each MR element pairs are arranged with a distance therebetween set to (m+1/2)λ, wherein m is an integer, and the two MR element pairs have a distance therebetween of (n±1/6)λ, wherein n is an integer. These MR elements are connected in the following manner to form an output circuit. Namely, when a power source voltage is applied to this output circuit, two pairs of voltages are generated so that the third harmonic components therein have the same or opposite phases, on the basis of the resistance variation in each MR element, which occurs in accordance with the movement of the magnetic medium 3, and these two pairs of voltages are synthesized so as to offset the third harmonic components each other. Consequently, a sine output containing no third harmonic wave components is obtained from the output circuit formed in this manner. In the above mentioned embodiments, there was used a method, in which two MR element pairs are spaced at a distance that third harmonic components included in the output voltages thereof are of the opposite phase to each other and the output voltages are synthesized to offset the third harmonic components. The following is an example of a method of arranging three MR elements so that the phases of the third harmonic components are shifted by ² π /3 from one another, and synthesizing the output therefrom to set the third harmonic components to zero. Fig. 13 is an expansion plan of an example of a structure having magnetic medium 3 and a magnetic sensor 4, for practicing this method. In this example, six magnetic resistance elements R₁₁, R₁₂, R₂₁, R₂₂, R₃₁, R₃₂ are arranged at such intervals that are shown in the drawing in opposition to the magnetic signals spaced with the recording pitch λ. Namely, the element R₂₁ is set in a position λ /₉ away from the element R₁₁. The elements R₂₁, R₃₁; R₁₂, R₂₂; R₂₂, R₃₂ are also set in positions λ /₉ away from each other. The elements R₁₁, R₁₂; R₂₁, R₂₂; R₃₁, R₃₂ are away from each other by λ /₂. The MR elements thus arranged are connected as shown in Fig. 14. Namely, the elements R₁₁, R₁₂; R₂₁, R₂₂; R₃₁, R₃₂ are connected in series. They are further connected to a power source V, and outputs are obtained from the respective nodes O₁, O₂, O₃. These three outputs are synthesized and amplified in an amplifier OPA, and an output representative of a detected position is obtained from an output terminal O₀. Reference symbols R i1 , R i2 , R i3 denote input resistors for the amplifier, R f a feedback resistor, and V R a voltage for removing a DC bias voltage of an input. When a rotary drum 2 is rotated to turn the magnetic medium 3, the resistances of the MR elements vary. The variations of the resistances of these MR elements are as shown in Figs. 15a to 15f. Accordingly, the voltages v01 to v03 obtained from the output terminals O₁ to O₃ vary as shown by solid lines v01 to v03 in Figs. 15g to 15i. If these output voltage signals v01 to v03 are decomposed into fundamental waves and higher harmonics, the waves shown by broken lines in the drawings are obtained, which are fundamental waves v011, v021, v031 and third harmonic waves v012, v022, v032. The difference between the phases of the fundamental waves is 2π /₉ . The difference between the phases of the third harmonic waves v012 to v032 is 2π /3 in terms of electric angle thereof. Accordingly, when the voltages v01 to v03 obtained from the output terminals O₁ to O₂ are added, the third harmonic components becomes zero, and the remainder consists of synthesized fundamental components, a sine wave v0 which is shown in Fig. 15j being obtained from the output terminal O₀ of the amplifier OPA. In this example, three pairs of MR elements are used. It is possible to remove third harmonic waves in the same manner by using k pairs of MR elements which are spaced from each other by λ /3k. Generally speaking, if k pairs of MR elements are arranged in positions spaced by (n±1/3k)λ, wherein n is an integer, these elements operate in the same manner as previously mentioned. All of the above examples can be summarized as follows. k pairs (k is an integer larger than one) of MR elements, each of which pairs consists of two MR elements, are provided in opposition to a magnetic medium having magnetic poles arranged continuously with the predetermined recording pitch λ. The two MR elements in each pair are arranged in positions spaced at (m+1/2)λ, wherein m is an integer, and these MR element pairs are spaced from each other at (n±1/3k)λ, wherein n is an integer. These MR elements are connected in the following manner to form an output circuit. When a power source voltage is applied to this output circuit, the k pairs of voltages are generated so that the third harmonic components therein have a 2π/k phase, on the basis of the resistance variation in each MR element, which occurs in accordance with the movement, of the magnetic medium, and these k pairs of voltages are synthesized so as to offset the third harmonic components one another. According to the present invention described above, the distortion of an output waveform due to the saturation of the magnetic resistance elements can be eliminated, so that an output representative of a detected position can be obtained as a signal of a sine waveform. This enables the air gap to be minimized, and the level of an output to thereby increase. Moreover, since the amplitude variation of an output of a fundamental wave can be minimized, a highly accurate position detecting apparatus can be obtained.

Claims: An apparatus for magnetically detecting the relative position or speed of moving and stationary bodies, having a magnetic medium (3) provided in either a moving body or a stationary body, a plurality of magnetic poles (31) arranged continuously with a predetermined pitch λ on said magnetic medium (3), a plurality of magnetoresistive (MR) elements (R₁₁, R₁₂, R₂₁, R₂₂; R₁₁, R₁₂, R₂₁, R₂₂, R₃₁, R₃₂) which are provided on the other of said moving body and stationary body so as to be opposed to said magnetic medium (3), and which is adapted to sense a magnetic field generated by said magnetic poles (31) and thereby cause the electric resistance thereof to vary, and an output circuit R i1 , R i2 , R F , OPA; V R , R i1 , R i2 , R F , OPA; R i1 ...R i3 , R F , OPA, V R ) connected electrically to said MR elements and adapted to convert the variations of the electric resistance of each MR element into an electric signal which is outputted as a signal representative of the relative position or speed of said moving and stationary bodies, characterized in that said MR elements constitute k sets of MR element pairs (R₁₁, R₁₂; R₂₁, R₂₂; and R₃₁, R₃₂) (k being an integer larger than one), two MR elements in each pair being arranged in positions spaced at (m +1/2)λ, wherein m is an integer, said MR elements pairs being spaced from each other at (n±1/3k)λ, wherein n is an integer, said output circuit generating k sets of electric signals, respectively, so that third harmonics (V₀₁₂, V₀₂₂; V₀₁₂, V₀₂₂, V₀₃₂) therein have a 2π/k phase difference, and synthesizing said k sets of electric signals (V₀₁, V₀₂; V₀₁, V₀₂, V₀₃) so as to mutually offset the third harmonic components, which are contained in said electric signals, An apparatus for magnetically detecting the position or speed of a moving body according to Claim 1, wherein said MR elements constitute two MR element pairs (R₁₁, R₁₂ and R₂₁, R₂₂) two MR elements in each pair being arranged in positions spaced at λ /2, said MR element pairs (R₁₁, R₁₂ and R₂₁, R₂₂) being spaced from each other at λ /6. An apparatus for magnetically detecting the position or speed of a moving body according to Claim 1, wherein said MR elements constitute two MR element pairs (R₁₁, R₁₂ and R₂₁, R₂₂), two MR elements in each pair being arranged in positions spaced at 3 λ/2, said MR element pairs (R₁₁, R₁₂ and R₂₁, R₂₂) being spaced from each other at λ /6. An apparatus for magnetically detecting the position or speed of a moving body according to Claim 1, wherein said MR elements constitute two MR element pairs (R₁₁, R₁₂ and R₂₁, R₂₂), two MR elements in each pair being arranged in positions spaced at λ/2, said MR element pairs (R₁₁, R₁₂ and R₂₁, R₂₂) being spaced from each other at 7λ/6. An apparatus for magnetically detecting the position or speed of a moving body according to Claim 1, wherein said MR elements constitute two MR elements pairs (R₁₁, R₁₂ and R₂₁, R₂₂), two MR elements in each pair being arranged in positions spaced at λ/2, said MR element pairs (R₁₁, R₁₂, and R₂₁, R₂₂) being spaced from each other at 5λ/6. An apparatus for magnetically detecting the position or speed of a moving body according to Claim 1, wherein said MR elements constitute three MR element pairs (R₁₁, R₁₂ and R₂₁, R₂₂ and R₃₁, R₃₂), two MR elements in each pair being arranged in positions spaced from each other at λ/2, said MR element pairs (R₁₁, R₁₂ and R₂₁, R₂₂ and R₃₁, R₃₂) being spaced from each other at λ/9. An apparatus for magnetically detecting the position or speed of a moving body according to Claim 1, wherein said MR elements constitute two MR element pairs (R₁₁, R₁₂ and R₂₁, R₂₂), and said output circuit (V R , R i1 , R i2 , OPA, R F ) consists of bridge-connected MR element pairs. An apparatus for magnetically detecting the position or speed of a moving body according to Claim 7, wherein two MR elements in each MR element pair (R₁₁, R₁₂ and R₂₁, R₂₂) are connected in series, said two pairs of series-connected MR elements are parallel-connected to a power source (V R ), an electric signal obtained from a node of each of said two pairs of series-connected MR elements is inputted into a differential amplifier (OPA), and an output (O₀) is derived from said differential amplifier (OPA) as a signal representative of the position or speed of said moving body. An apparatus for magnetically detecting the position or speed of a moving body according to Claim 8, wherein said MR elements in said two pairs of series-connected MR elements are connected so that the phases of the third harmonic components contained in the electric signals obtained from the nodes thereof becomes opposite to each other, and said electric signals are added to each other. An apparatus for magnetically detecting the position or speed of a moving body according to Claim 9, wherein said added electric signals are inputted into one terminal of said amplifier (OPA) with an offsetting voltage (V R ) applied to the other terminal thereof. An apparatus for magnetically detecting the position or speed of a moving body according to Claim 1, wherein said MR elements constitute two MR element pairs (R₁₁, R₁₂ and R₂₁, R₂₂), id said output circuit (V R , OPA, R i1 , R i2 , R F ) has a first connection formed by electrically connecting first elements in first and second MR element pairs together so that the third harmonic components contained in the electric signals appearing in the respective elements offset each other and a second connection formed by electrically connecting second elements in said first and second MR element pairs together so that the third harmonic components contained in the electric signals appearing in the respective elements offset each other, and said two connections are series-connected together and further to said power source to obtain said signal representative of the position or speed of said moving body from a node of said two series-connected connections.

Inventors: KAWAMATA, SYOOICHI, MIYASHITA, KUNIO, TAKAHASHI, TADASHI, YAMASHITA, SEIZI
Applicants: HITACHI, LTD.
Application year: 1987
Main classification: G01P3
IPC codes: G01D5, G01P3, G01B7