MAGNETIC ROTATION SENSOR

Abstract: The rotation position of a rotor (2) rotatable around a rotation axis (1) is determined by mounting a magnetic source (2.1) on the rotor, by providing on a stator (3) at least three sensors (4, 5, 6, 7) for measuring the magnetic field of the magnetic source and being arranged in at least two pairs (4/5, 6/7), calculating the difference of quantities measured by the two sensors of each sensor pair, calculating the ratio of the difference values of two pairs and comparing the ratio with a predetermined function of said ratio versus the rotation position. This rotation position determination is very robust against offset and sensitivity variations common to all sensors (4, 5, 6, 7) and against external magnetic fields and can easily be made robust against mechanical tolerances between rotating and stationary parts also. In a preferred embodiment, there are four sensors (4, 5, 6, 7) arranged at the corners of a square perpendicular to and symmetrical relative to the rotation axis (1). The sensors (4, 5, 6, 7) are advantageously Hall sensors integrated together with readout and calculation electronics in one die.

Description: MAGNETIC ROTATION SENSOR Field of the invention The invention is in the field of contactless angle measurement. It concerns a method and an arrangement according to the generic parts of the corresponding independent claims which method and arrangement serve for detecting the rotation position of a rotor with the aid of a magnetic source connected to the rotor and of stationary sensor means for measuring the magnetic field of the magnetic source. The method and arrangement according to the invention are applicable e.g. for rotary switches or for rotary position detection. Background of the invention The measurement of rotation angle is required in various applications, such as manual electrical switches or position detection of a motor. Depending on cost and accuracy constraints, this task can be accomplished by various methods, such as mechanical contacts, optical encoders, or magnetic encoders. Modern integrated circuit technology offers the possibility to integrate magnetic sensors and their readout and angle calculation electronics on one die. This allows embodiments of detectors of mechanical rotation which consist of a permanent magnet attached to the rotor and monolithically integrated sensor means attached to a stator, at competitive cost, yet good performance. The absence of mechanical contact between the rotor with the magnet and the stator with the sensor means allows for hermetic encapsulation of the sensor means. This permits wear free angle measurements under harsh environmental conditions. The robustness of the angle measurement against mechanical tolerances, against device variation, and against external electromagnetic fields, while keeping fabrication cost low, is a major performance criterion. The object of the invention is to show a method and to create an arrangement for detecting the rotation position of a rotor using a magnetic source connected to the rotor and stationary magnetic field sensor means for measuring the magnetic field of the magnetic source, which method and arrangement allow, compared to known such methods and arrangements, increased robustness against sensitivity and offset variations of the sensor means, against external magnetic fields and furthermore against mechanical tolerances regarding the relative positions of the sensor means and the magnetic source. This object is achieved by the method and the arrangement as defined by the claims. Summary of the invention The inventive arrangement for contactless angle measurement comprises a magnetic source mounted to the rotating part (rotor) rotatable around a rotation axis and an array of magnetic sensors mounted on the non-rotating part (stator). The magnetic source is arranged such that the magnetic field has no rotational symmetry relative to the rotation axis. The sensor means consists of at least three sensors arranged in at least two sensor pairs, whereby each sensor may be replaced by a cluster of sensors (plurality of sensors arranged very close to each other). The sensors, e.g. Hall sensors, are arranged in such a way that at least the two sensors of each sensor pair are sensitive to parallel components of the magnetic field. Furthermore, the sensors are such arranged that connecting lines each connecting two sensors of one sensor pair have projections in a plane perpendicular to the rotation axis which are angled relative to each other. Advantageously, the sensors of each pair are positioned in one plane perpendicular to the rotation axis, e.g. all pairs in the same plane. According to the inventive method, the mechanical angle (rotation position of the rotor) is determined by calculating at least one ratio of two differential signals of one sensor pair each (the differential signal of a sensor pair being the difference between the signals of the two sensors of the pair) and by comparing the calculated ratio with a predetermined (calculated or experimentally determined) function of said ratio versus the rotation angle. If instead of single sensors clusters of sensors are used it is the mean value of the sensor signals of the cluster which is used for calculating the differential signals. This method yields an angle determination which is insensitive to variations common to the two sensors of each pair (e.g. offset) and to sensitivity variations common to all sensors contributing to one ratio, as well as to external magnetic fields. For reducing or even suppressing the influence of mechamcal misahgnment of the rotating magnetic source and the sensor array with respect to each other and to the rotation axis, the magnetic source and the sensor array are such designed and such arranged that the magnetic field component to be measured at any possible sensor location is described by the product of a first order polynomial within a planar surface substantially perpendicular to the rotation axis (magnetic field changing linearly within such a planar surface, i.e. having no curvature), and a function perpendicular to said planar surface, which function is essentially the same for all sensor locations and is advantageously well approximated by a linear function. In addition to providing information about the angle of mechanical rotation, the field of the magnetic source can be used to hold the rotor in place by adding a ferromagnetic yoke to the stator. Said yoke, shaping the magnetic field of the rotor, further enhances the insensitivity of the device against mechanical misalignment. Short description of the drawings The invention is described in more detail referring to the following Figures, wherein: Figure 1 shows a diagrammatic cross-sectional view of an exemplary embodiment of the inventive arrangement for determining the rotation position of a rotor 2 rotatable around a rotation axis 1, the arrangement comprising a rotor 2 containing a magnetic source 2.1, and a stator 3 with a planar array of Hall devices 4 to 7, e.g. monolithically integrated with signal conditioning and angle calculation electronics on an integrated circuit; Figure 2 shows an exemplary array of two sensor pairs 4/5 and 6/7 as seen along the axis of rotation 1, wherein each sensor pair is essentially located within a plane perpendicular to the axis of rotation 1 and wherein both pairs may but need not share the same plane; Figure 3 shows the magnetic field component parallel to the axis of rotation (lines of equal field strength in square of 2x2mm centered between north and south pole), as generated by a bar magnet, at a distance of some 0.5mm from the surface of the magnet, whereby the region enclosed in the circle 30 ' (area of ca. 120μm diameter) complies to the requirements as given for robustness against mechanical tolerances; Figure 4 shows a cross section of a further exemplary embodiment of the inventive arrangement for measuring the angle of mechanical rotation about an axis 1, the arrangement comprising a rotor 2 with two bar magnets 8 and 9 and a ferromagnetic yoke 10 and a stator 3 with an array of Hall sensors 4, 5, 6 and a ferromagnetic yoke 11, whereby the ferromagnetic yoke 11 serves for holding the rotor 2 in place and for shaping the magnetic field in the vicinity of the sensors. Description of the preferred embodiments A preferred embodiment of the inventive arrangement is illustrated in Figure 1 (section along rotation axis 1). The arrangement comprises a magnetic source 2.1 attached to a rotor 2 rotating about an axis 1 and an array of e.g four magnetic field sensors of which three 4, 5 and 6 are visible. The sensors are located within the field of the magnetic source. The field sensors are sensitive to the magnetic field or to a particular component thereof, to be denoted as B±. The field sensors are e.g. Hall sensors being sensitive to the component of the magnetic field perpendicular to their sensor plane and they are integrated in one die preferably together with readout and angle calculation electronics. As shown in Figure 2 (top view), the exemplary sensor array comprises two pairs of sensors 4/5 and 6/7, preferably located within one plane, which plane is oriented substantially perpendicular to the rotation axis 1 of the rotor 2. The connecting lines between the two sensors of each pair must not all be parallel. It is possible that different sensor pairs share one common sensor (e.g in an array with three sensors only). The signal measured by each sensor is proportional to B ± at the sensor location. For each pair of sensors, the difference of the two sensor signals is generated. The angle of rotation, to be denoted as Φ, is calculated as a function of a ratio of difference signals. This method is insensitive to multiplication of the sensor signals with a factor common to all sensors whose measured signals are utilized for calculating one ratio of differences, as well as to the addition of a signal common to a pair of sensors, for instance due to sensor offset or external magnetic fields. An ambiguity of angle Φ of ± 180° introduced by using said method to determine the angle is eliminated by utilizing a plurality of ratios of differences to determine the angle, or by evaluating the sign of the difference signals of at least one of the sensor pairs, i.e. evaluating the difference signal as a positive or a negative value. One preferred embodiment of a sensor array for an inventive arrangement comprises two pairs of sensors, the sensors of each pair being located at opposing corners of a square which square is arranged perpendicular to and symmetrical with respect to the rotation axis 1 of the rotor 2, whereby all sensors measure parallel components of the field, e.g. components perpendicular to the plane of the square. In this particular case, the mechanical angle Φ is given by: Φ = arc tan{(S 7 - S 6 )/(S 5 - S 4 )} = arc cot{(S 5 - S 4 )/(S 7 - S 6 )>. More sensor pairs can be added for improved accuracy. Low cross-sensitivity of the measured rotation angle Φ determined by the inventive method to mechanical translation of the magnetic source and/or the sensor array with respect to each other and to the axis of rotation is achieved by designing the inventive arrangement such that in the vicinity of each possible sensor location, the magnetic field is linear within the plane in which the sensors are arranged, and such that at each possible sensor location the change of the magnetic field parallel to the rotation axis is governed by substantially the same function. The measures as indicated above for substantially suppressing the effect of translation are explained as follows: Let N ; denote the volume in a rotating coordinate frame attached to the magnetic source which encloses the position of both field sensors of one sensor pair, labeled by i, for any rotational angle φ and any mechanical displacement that may occur under permitted operating conditions of the angle detector. Let x and y denote rectilinear coordinates perpendicular to the axis of rotation, z the linear coordinate parallel to the axis of rotation. The field component of the magnetic source measured by the sensors within the volume V ; is essentially described by a function B±(x,y,z) = B j ° + a j -x ' f^z), with constants B ; ° and a ; and function f ; (z) independent of x and y. The functions f ; (z) and f-(z), associated to sensor pairs i and j whereof the ratio of differences is calculated to determine the angle Φ are essentially equal. Mechanical translation of the sensor array or the magnetic source perpendicular to the axis of rotation results in a common mode signal of sensor pairs, which is substantially cancelled by utilizing difference signals. Mechanical translation of the sensor array or the magnetic source parallel to the axis of rotation (i. e. a change in distance between magnetic source and sensor array) does not influence the measured angle Φ as the ratio of two differential signals remains essentially unchanged with z due to the condition on the set of f;(z) functions stated above. For achieving low sensitivity or even insensitivity against tilt, i.e. mechanical rotation of the magnetic source and/or the sensor array about an axis (axis of tilt) perpendicular to the rotation axis, the inventive arrangement is designed such that in the vicinity of each possible sensor location, the change of the magnetic field parallel to the rotation axis is governed by substantially the same linear function and the sensors of each pair are arranged such that the connecting lines connecting two sensors of one pair are perpendicular to the rotation axis and are intersected by the rotation axis in their middle. The measures as indicated above for substantially suppressing the effect of tilt are explained as follows: To first order in mechanical displacement, tilt of the sensor array or the permanent magnet with respect to the predetermined axis of rotation results in a common mode signal of sensor pairs if the sensors forming a pair are essentially located on the intersection of a plane perpendicular to the axis of rotation and the surface of a cylinder centered at the axis of tilt. For practical occurrences of tilt, namely play of the rotor about some bearing point or tilted mounting of the sensor array or of the magnetic source with respect to the axis of rotation, the axis of tilt and the axis of rotation can be assumed to intersect each other in a point. Consequently, influence of tilt on the measured angle is largely rejected by using difference signals of sensor pairs if the sensors forming a pair are substantially located within a plane perpendicular to the axis of rotation, such that the axis of rotation intersects said plane in the center of each line connecting two sensors of one pair. The better the functions f ; (z) are approximated by their first order Taylor expansion around the nominal positions of the sensors, the better is the rejection of tilt on the measured angle. In an exemplified embodiment, a homogeneously magnetized bar magnet, which has the shape of a cuboid of 2πurj_x3mmx3mm, the first dimension being the distance between the two pole faces, produces a field component which substantially fulfills the conditions as named above for optimum rejection of sensor offset and sensitivity variations as well as for mechanical tolerances in a volume of (0.6mm) 3 , located some 0.5mm from one of the rectangular surfaces of the magnet. Figure 3 shows the lines of equal magnetic strength of the magnetic field created by the magnet as described above at a distance of 0.5mm from one of the rectangular surfaces of the magnet. The area shown in the Figure is a square of 2mm (2xl000μm) in the center of the rectangular surface, the north/south axis being oriented top/bottom in the Figure. The middle region of this area enclosed by the circle 30 fulfills the conditions as given above. In the exemplified embodiment of the inventive arrangement the cuboid magnet is mounted on the rotor such that the rotation axis is parallel to the pole faces of the magnet and runs through the center points of two opposite rectangular surfaces of the magnet and the sensors are arranged e.g. in a square which is oriented perpendicular to the rotation axis, which is distanced from the rectangular surface of the magnet by approximately 0.5mm and in which the sensors of one pair are distanced from each other by not more than approximately 1mm (positioned within the circle 30 indicated in Figure 3). Figure 4 shows a further exemplified embodiment of the inventive arrangement. In this embodiment, the stator 3 comprises in addition to the sensor array with visible sensors 4, 5 and 6, a ferromagnetic yoke 11 having the form of a ring within which the sensors are positioned. The yoke 11 fulfills the dual purpose of holding the rotor 2 in place and of shaping the magnetic field of the rotating magnetic source to attain a volume V for locating the sensors in which volume the measured magnetic field component Bi complies to the conditions stated above. Being rigidly connected to the sensor array, the yoke 11 reduces changes of the field component B± within N due to movement of the rotor 2 other than rotation about the rotation axis 1. The magnetic source according to the embodiment of Figure 4 consists of two cuboid or cylindrical magnets 8 and 9 and of a further ferromagnetic yoke 10 or of a U-shaped permanent magnet, whereby this magnetic source has a north and a south face arranged in substantially the same plane perpendicular to the rotation axis and substantially symmetrical to the rotation axis.

Claims: C L A I M S 1. Method for determining the rotation position of a rotor (2) being rotatable around a rotation axis (1) and carrying a magnetic source (2.1, 8/9) creating a magnetic field without a rotational symmetry relative to the rotation axis (1), the method comprising the steps of measuring local components of the magnetic field using stationary sensor means and determining the rotational position of the rotor (2) by comparing quantities measured by the sensor means with a predetermined function of said field component versus the rotation position of the rotor (2), characterized in that for reducing the influence of external magnetic fields and of sensitivity and offset variations of the sensor means on the accuracy of the determination of the rotation position, the sensor means are designed as at least three sensors (4, 5, 6, 7) constituting at least two sensor pairs (4/5, 6/7) wherein the sensors of each sensor pair are sensitive to substantially parallel components of the magnetic field and wherein connecting lines each connecting two sensors of one sensor pair have projections in a plane perpendicular to the rotation axis (1) which are angled relative to each other, and differences of the quantities measured by the two sensors of each sensor pair (4/5, 6/7) and at least one ratio of the differences of two pairs are calculated and the at least one ratio of differences is compared with a corresponding predetermined function. 2. Method according to claim 1, characterized in that for reducing the influence of mechanical translation of the stationary sensor means and/or the magnetic source (2.1, 8/9) relative to each other or relative to the rotation axis (1), the magnetic source (2.1, 8/9) is designed such that the magnetic field comprises a volume (V) in which the component to be measured by the sensors (4, 5, 6, 7) varies substantially linearly in a plane perpendicular to the rotation axis (1) and according to a function parallel to the rotation axis (1) which function is substantially the same in all locations within said volume (V) and the sensors (4, 5, 6, 7) are positioned in said volume (V) such that each line connecting the two sensors of one sensor pair (4/5, 6/7) is substantially perpendicular to the rotation axis (1). 3. Method according to claim 2, characterized in that for reducing the influence of mechanical tilt of the magnetic source (2.1, 8/9) and/or the sensor means relative to the rotation axis (1), the magnetic source is such designed that within said volume (N) the magnetic field varies substantially linearly in a direction parallel to the rotation axis (1) and the sensors (4, 5, 6, 7) are arranged such that each line connecting the two sensors of one sensor pair (4/5, 6/7) is intersected by the rotation axis (1) and divided into two equal halves. 4. Method according to one of claims 1 to 3, characterized in that for preventing ambiguity between rotational positions of the rotor (2) differing by an angle of 180°, a plurality of ratios of differences for different couples of sensor pairs is calculated. Method according to one of claims 1 to 3, characterized in that for preventing ambiguity between rotational positions of the rotor (2) differing by an angle of 180°, the step of determining the rotation position includes calculating the differences of the measuring signals and the corresponding ratios with a positive or a negative sign. 6. Arrangement for determining the rotational position of a rotor (2) rotatable around a rotation axis (1) with the method according to claim 1, the arrangement comprising a magnetic source (2.1, 8/9) mounted on the rotor (2), a stator (3) with sensor means for measuring the magnetic field created by the magnetic source and means for calculating from the measuring signals of the sensor means the rotation position of the rotor (2), characterized in that the sensor means comprises at least three sensors (4, 5, 6, 7) arranged in at least two sensor pairs (4/5, 6/7) wherein the sensors of each sensor pair are sensitive to substantially parallel components of the magnetic field and wherein connecting lines each connecting two sensors of one sensor pair (4/5, 6/7) have projections in a plane perpendicular to the rotation axis (1) which are angled relative to each other, and in that the means for calculating the rotation position comprises means for calculating the differences of the signals of the two sensors of each sensor pair (4/5, 5/6) and means for calculating for the at least two sensor pairs a ratio of the differences. 7. Arrangement according to claim 6, characterized in that at least part of the sensors (4, 5, 6, 7) are replaced by a sensor cluster consisting of a plurality of sensors arranged close to each other and in that the means for calculating comprises means for calculating a mean value of the measuring signals of the sensors of each sensor cluster. 8. Arrangement according to claim 6 or 7, characterized in that the two sensors of each sensor pair (4/5, 6/7) or the sensors of all sensor pairs (4/5, 6/7) are arranged in the same plane perpendicular to the rotation axis (1). Arrangement according to claim 8, characterized in that the two sensors of each sensor pair (4/5, 6/7) are arranged such that the line connecting the two sensors intersects the rotation axis (1) and is cut into two equal halves by the rotation axis. 10. Arrangement according to claim 6 or 7, characterized in that the sensor means comprises four sensors (4, 5, 6, 7) arranged in the corners of a square, which square is oriented perpendicular and symmetrical to the rotation axis (1). 11. Arrangement according to one of claims 6 to 10, characterized in that the sensors (4, 5, 6, 7) are Hall sensors. 12. Arrangement according to one of claims 6 to 11, characterized in that the sensors (4, 5, 6, 7) are integrated together with readout and calculating electronics in one die (3). 13. Arrangement according to one of claims 6 to 12, characterized in that the magnetic source is a permanent magnet (10) having two opposite pole faces and that the magnet is arranged on the rotor (2) such that the rotation axis (1) goes through the center of the magnet and is parallel to the two pole faces. 14. Arrangement according to one of claims 6 to 12, characterized, in that the magnetic source comprises permanent magnet means (8, 9) with two pole faces positioned substantially in one plane and that the permanent magnet means is arranged on the rotor (2) such that the pole faces are substantially perpendicular and substantially symmetrical to the rotation axis (1). 15. Arrangement according to one of claims 6 to 14, characterized in that the stator (3) further comprises a stationary, ring-shaped ferromagnetic yoke (11) and in that the sensors (4, 5, 6, 7) are arranged within the ring- shaped yoke (11).

Inventors: HAEBERLI ANDREAS, MAIER CHRISTOPH, METZ MATTHIAS, HAEBERLI, ANDREAS, MAIER, CHRISTOPH, METZ, MATTHIAS
Applicants: HAEBERLI ANDREAS, LAB FUER PHYSIKALISCHE ELEKTRO, MAIER CHRISTOPH, METZ MATTHIAS, HAEBERLI, ANDREAS, LABORATORIUM FUER PHYSIKALISCHE ELEKTRONIK, MAIER, CHRISTOPH, METZ, MATTHIAS
Application year: 1998
Main classification: G01D5
IPC codes: A61K48, C12N15, G01B7, G01D5