Position sensor system and method, robust against disturbance field
11635310 · 2023-04-25
Assignee
Inventors
Cpc classification
G01D5/145
PHYSICS
G01D3/028
PHYSICS
International classification
Abstract
A position sensor system comprising: a magnetic field generator movable relative to two sensor devices or vice versa. The system has at least one processor adapted with a special algorithm for determining a position of the magnetic field generator in a manner which is highly robust against a disturbance field. A method for determining the position of the magnetic field generator based on a set of equations, in particular a set of linear equations which allows to completely eliminate the external disturbance field.
Claims
1. A position sensor system comprising: a magnetic field generator movable relative to a first and a second sensor device or vice versa, and being adapted for providing a first magnetic field vector to the first magnetic sensor device and for providing a second magnetic field vector different from the first magnetic field vector, to the second magnetic sensor device; the first magnetic sensor device being adapted for determining first vector data related to a combination of said first magnetic field vector and an external disturbance field, when present; the second magnetic sensor device being adapted for determining second vector data related to a combination of said second magnetic field vector and said external disturbance field, when present; the position sensor system further comprising at least one processor adapted for receiving the first vector data and the second vector data, and adapted determining a position of the magnetic field generator relative to the first and the second magnetic sensor device, based on the first vector data and the second vector data in a manner which eliminates the external disturbance field; wherein the first magnetic sensor device is configured for measuring, at a first sensor position, a first magnetic field component oriented in a first direction and a second magnetic field component oriented in a second direction; and the second magnetic sensor device is configured for measuring, at a second sensor position, a third magnetic field component oriented in said first direction and a fourth magnetic field component oriented in said second direction; and the magnetic field generator is magnetized such that, and the first magnetic sensor device is oriented relative to the magnetic field generator such that the first magnetic field component is substantially 90° phase shifted relative to the second magnetic field component, and the magnetic field generator is magnetized such that, and the second magnetic sensor device is oriented relative to the magnetic field generator such that the third magnetic field component is substantially 90° phase shifted relative to the fourth magnetic field component; and the first and the second magnetic sensor device are spaced apart such that the first magnetic field component is phase shifted relative to the third magnetic field component by a value in a range from 30° to 330°.
2. The position sensor system of claim 1, wherein the first and the second magnetic sensor device are spaced apart such that the first magnetic field component is phase shifted relative to the third magnetic field component by substantially 180°.
3. The position sensor system of claim 1, wherein the position sensor system is a linear position sensor system; and wherein the position is a linear position; and wherein the magnetic field generator is movable along a longitudinal axis, or wherein the first and the second sensor are movable along a longitudinal axis; and wherein the first and the second magnetic sensor device have a predefined first and second position and a predefined first and second orientation relative to said longitudinal axis.
4. The position sensor system of claim 1, wherein the position sensor system is an angular position sensor system; and wherein the position is an angular position; and wherein the magnetic field generator is rotatable about a longitudinal axis; and wherein the first and the second magnetic sensor device have a predefined first and second position and a predefined first and second orientation relative to said longitudinal axis.
5. The position sensor system of claim 1, wherein the first magnetic sensor device comprises a first substrate defining a first plane; and wherein the second magnetic sensor device comprises a second substrate defining a second plane; and wherein the first plane and the second plane are substantially parallel.
6. The position sensor system of claim 5, wherein the first direction is parallel to the first substrate and the second direction is perpendicular to the first substrate and the third direction is parallel to the second substrate and the fourth direction is perpendicular to the second substrate; or wherein the first direction is parallel to the first substrate and the second direction is parallel to the first substrate and the third direction is parallel to the second substrate and the fourth direction is parallel to the second substrate.
7. The position sensor system of claim 1, wherein said determining a position of the magnetic field generator relative to the first and second sensor comprises calculating the position based on the following set of formulas:
8. The position sensor system of claim 1, wherein the first magnetic sensor device comprises one Horizontal Hall element for measuring the second magnetic field component and one vertical Hall element for measuring the first magnetic field component; and wherein the second magnetic sensor device comprises one Horizontal Hall element for measuring the fourth magnetic field component and one vertical Hall element for measuring the third magnetic field component.
9. The position sensor system of claim 1, wherein the first magnetic sensor device comprises a first and a second horizontal Hall element arranged on opposite sides of a first circular integrated magnetic concentrator; wherein the second magnetic sensor device comprises a third and a fourth horizontal Hall element arranged on opposite sides of a second circular integrated magnetic concentrator; wherein the second magnetic concentrator is spaced from the first magnetic concentrator; wherein the first magnetic field component is determined by calculating a difference of signals obtained from the first and the second Hall element; wherein the second magnetic field component is determined by calculating a sum of signals obtained from the first and the second Hall element; wherein the third magnetic field component is determined by calculating a difference of signals obtained from the third and the fourth Hall element; wherein the fourth magnetic field component is determined by calculating a sum of signals obtained from the third and the fourth Hall element.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18)
(19)
(20)
(21)
(22)
(23)
(24) The drawings are only schematic and are non-limiting. In the drawings, the size of some of the elements may be exaggerated and not drawn on scale for illustrative purposes. Any reference signs in the claims shall not be construed as limiting the scope. In the different drawings, the same reference signs refer to the same or analogous elements.
DETAILED DESCRIPTION OF ILLUSTRATIVE EMBODIMENTS
(25) The present invention will be described with respect to particular embodiments and with reference to certain drawings but the invention is not limited thereto but only by the claims. The drawings described are only schematic and are non-limiting. In the drawings, the size of some of the elements may be exaggerated and not drawn on scale for illustrative purposes. The dimensions and the relative dimensions do not correspond to actual reductions to practice of the invention.
(26) Furthermore, the terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a sequence, either temporally, spatially, in ranking or in any other manner. It is to be understood that the terms so used are interchangeable under appropriate circumstances and that the embodiments of the invention described herein are capable of operation in other sequences than described or illustrated herein.
(27) Moreover, the terms top, under and the like in the description and the claims are used for descriptive purposes and not necessarily for describing relative positions. It is to be understood that the terms so used are interchangeable under appropriate circumstances and that the embodiments of the invention described herein are capable of operation in other orientations than described or illustrated herein.
(28) It is to be noticed that the term “comprising”, used in the claims, should not be interpreted as being restricted to the means listed thereafter; it does not exclude other elements or steps. It is thus to be interpreted as specifying the presence of the stated features, integers, steps or components as referred to, but does not preclude the presence or addition of one or more other features, integers, steps or components, or groups thereof. Thus, the scope of the expression “a device comprising means A and B” should not be limited to devices consisting only of components A and B. It means that with respect to the present invention, the only relevant components of the device are A and B.
(29) Reference throughout this specification to “one embodiment” or “an embodiment” means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, appearances of the phrases “in one embodiment” or “in an embodiment” in various places throughout this specification are not necessarily all referring to the same embodiment, but may. Furthermore, the particular features, structures or characteristics may be combined in any suitable manner, as would be apparent to one of ordinary skill in the art from this disclosure, in one or more embodiments.
(30) Similarly, it should be appreciated that in the description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
(31) Furthermore, while some embodiments described herein include some but not other features included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the invention, and form different embodiments, as would be understood by those in the art. For example, in the following claims, any of the claimed embodiments can be used in any combination.
(32) In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In other instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
(33) In this document, unless explicitly mentioned otherwise, the term “sensor” can refer to a magnetic sensor device, or a magnetic sensor element, depending on the context.
(34) In this document, the term “sensor element” or “magnetic sensor element” refers to a component or a sub-circuit or a structure capable of measuring a magnetic quantity, such as for example a magneto-resistive element, a horizontal Hall plate, a vertical Hall plate, a Wheatstone-bridge containing at least one (but preferably four) magneto-resistive elements, etc.
(35) In this document, the term “sensor device” or “magnetic sensor device” refers to an arrangement (e.g. on a semiconductor substrate or semiconductor die) of at least three sensor elements which are not collinear, e.g. at least four sensor elements which are located in a single plane. The sensor device may be comprised in a package, also called “chip”, but that is not absolutely required.
(36) In this document, the expression “in-plane components of a vector” and “X and Y component of a perpendicular projection of the vector in the plane” mean the same. In case of two sensor chips, each containing a semiconductor substrate, a projection of the magnetic field vectors in the planes defined by said substrates is meant.
(37) In this document, the term “two vectors being parallel or anti-parallel” means that the two vectors define an angle of 0° or 180° with respect to each other. In other words, their carriers are parallel, but the vector may point in the same or opposite directions.
(38) Unless explicitly mentioned otherwise, the expression “two vectors being parallel” means that their carriers are parallel, irrespective of their direction (same or opposite).
(39) In this document the terms “magnetic field generator” and “magnetic source” mean the same, and may refer to an arrangement comprising one or more coils, or to an arrangement comprising one or more permanent magnets, or the like. The permanent magnet may be a dipole magnet, or a multi-pole magnet having at least four poles, or at least six poles, or at least eight poles. The permanent magnet may be a bar magnet or a ring magnet or a disk magnet, etc.
(40) The present invention provides several angular position systems 300 (see
(41) The magnetic field generator 301 is adapted for providing a first magnetic field vector B1mag to a first magnetic sensor device 303, and a second magnetic field vector B2mag to a second magnetic sensor device 304. The second magnetic field vector B2mag (e.g. expressed in absolute coordinates) is different from the first magnetic field vector B1mag, in magnitude and/or orientation and/or direction, preferably for all angular positions a of the magnetic field source.
(42) In case of a linear position sensor where the magnetic source moves along a trajectory, e.g. a linear axis, the first and second magnetic sensor device preferably have a fixed distance and a fixed orientation relative to said axis.
(43) In case of an angular position sensor, where the magnetic source is rotatable about a rotation axis, the first and second magnetic sensor device 303, 304 have a first and second position which is fixed with respect to a fixed point on the rotation axis, or fixed relative to a centre of the magnetic field generator. The first and second magnetic sensor device 303, 304 have a predefined first and second orientation relative to said point or said centre, which orientations are also fixed. The first and second sensor are typically mounted on a stator.
(44) The first sensor device 303 is adapted for determining first vector data (e.g. v1x, v1y, v1z in case of a 3D sensor device, or v1x, v1y in case of a 2D sensor device) related to a combination of said first magnetic field vector B1mag and an external disturbance field Bext, if present. The first vector data may be expressed in a first local coordinate system (e.g. X1,Y1,Z1 in case of a 3D sensor, or X1,Y1 in case of a 2D sensor device).
(45) The second sensor device 304 is adapted for determining second vector data (e.g. v2x, v2y, v2z in case of a 3D sensor device, or v2x, v2y in case of a 2D sensor device) related to a combination of said second magnetic field vector B2mag and the external disturbance field Bext, if present. The second vector data may be expressed in a second local coordinate system (e.g. X2,Y2,Z2 in case of a 3D sensor, or X2,Y2 in case of a 2D sensor device).
(46) The linear or angular sensor system 300, 801 to 805, 1200, 1500, 1700, 1900, 2000, 2100, 2200, 2300 further comprises at least one processor 306, 307, 309 (see e.g.
(47) In contrast to the system described in
(48) In an embodiment one of the sensor devices (e.g. the first sensor device 303) provides its vector information to the other (e.g. the second sensor device 304), in which case a processor 307 in the second sensor device 304 will calculate the linear position x or angular position α of the magnetic source 301 based on the first vector information measured by and received from the first sensor device 303, and based on the second vector information measured by the second sensor device 304.
(49) In an embodiment, both sensor devices 303, 304 provide their vector information to the other sensor device, and a first processor 306 in the first sensor device 303 and a second processor 307 in the second sensor device 304 both calculate said linear or angular position. This can be used for redundancy reasons or for fault detection.
(50) In another or a further embodiment, both sensor devices 303, 304 provide their vector information to an external processor 309, for example to an on-board computing device, which then calculates said linear or angular position.
(51) The vector information may be provided e.g. in the form of Cartesian coordinates (e.g. an X-coordinate and a Y-coordinate, or an X and Y and Z coordinate), or in the form of an amplitude and an angle (in case of a 2D sensor device) or in the form of an amplitude and two angles (in case of a 3D sensor device), but other coordinate systems such as for example cylindrical coordinates (Radius, Angle, Height), or spherical coordinates (Radius, angle1, angle2) may also be used.
(52) Rather than relying on approximations (as is done in US2018087926A1), the inventors of the present invention found an improved algorithm for determining the angular position of the magnetic field source 301, which is based on several insights. It is a major advantage that the improved algorithm allows to determine the linear or angular position of the magnetic source 301 relative to the sensors, even if the external disturbance field is relatively large (e.g. has an amplitude as large as that of the magnetic field source), and irrespective of the orientation of the external disturbance field Bext. In other words, it is a major advantage that this method is “truly robust” to an external disturbance field.
(53) One of the underlying ideas of the present invention is based on the insight that each sensor can measure a vector relative to its own local coordinate system, but since the relative positions and orientations of the two sensors is fixed, and is known, e.g. is predetermined by design (within some tolerance margins), or is measured after mounting, e.g. during a calibration test, the vector information obtained by the first and second sensor device, are related.
(54) Another underlying idea of the present invention is based on the insight that the external disturbance field at the location of the first sensor device is substantially the same as the external disturbance field at the location of the second sensor device.
(55) Yet another underlying idea of the present invention is based on the insight that the first magnetic vector measured by the first sensor device is the vector sum of the first magnetic field vector B1mag provided by the magnetic field source and a disturbance field vector Bext, and that the second magnetic vector measured by the second sensor device is the vector sum of the second magnetic field vector B2mag provided by the magnetic field source and the same disturbance field vector Bext.
(56) Yet another underlying idea of the present invention is based on the insight that there is a relation between the first magnetic field vector B1mag created by, or originating from the magnetic field source and the second magnetic field vector B2mag created by, or originating from the magnetic field source, e.g. permanent magnet, which relation is known, e.g. is predetermined by design, or can be measured, e.g. during a calibration test. There are many arrangements possible where this relation can be expressed by means of a set of linear equations, which can first be solved to eliminate the external field, and the remaining equations can then be used to calculate the linear or angular position, e.g. using a goniometric function. It is a major advantage that the external disturbance field can be eliminated, e.g. completely eliminated by the set of linear equations.
(57) Yet another underlying idea of the present invention is based on the insight that by measuring a sufficient number of field components, and by combining all the information from only two sensor devices, the (unknown) field components of the external disturbance field, as well as the unknown linear or angular position of the magnet, can be determined by solving a set of equations.
(58) It is explicitly pointed out that the combination of all these insights is required to come to the solution provided by the present invention.
(59) In the rest of this document, the principles of the present invention will be described for several exemplary arrangements, both simple arrangements as well as more complex arrangements, and several algorithms will be described to determine the linear or angular position of the magnetic source (e.g. relative to a reference position). Each version has its merits in terms of reduced complexity of the algorithm versus less stringent mounting requirements, but all versions are robust against an external disturbance field.
(60) First (in
(61) Referring now to the Figures.
(62)
(63)
(64) The inventors of the present invention also considered the arrangement of
(65) While the present invention is not limited to a permanent magnet as the only possible magnetic field generator, for ease of description, the principles of the present invention will be explained for a permanent magnet. Likewise, while the present invention is not limited to sensor devices with Cartesian coordinate systems, the principles of the present invention will be explained assuming Cartesian coordinate systems. The skilled person having the benefit of the present disclosure can easily extend the principles provided by the present invention to other magnetic sources and/or other coordinate systems.
(66)
(67) The arrangement 300 of
(68) a permanent magnet 301, in this example having the form of a ring magnet, but the present invention is not limited thereto, and other types of magnets can also be used. In the example of
(69) two sensor devices, a first sensor device 303 and a second sensor device 304, substantially located on the rotation axis 305. The first sensor device 303 has a first substrate defining a first plane ω1, and the second sensor device 304 has a second substrate defining a second plane ω2. The first plane and the second plane are parallel to each other and are perpendicular to the rotation axis 305, and are located on opposite sides of the magnet. Or stated in other words, the magnet is located between the first and the second sensor device. The first sensor device 303 has a first local coordinate system X1,Y1,Z1 and the second sensor device 304 has a second local coordinate system X2,Y2,Z2, and the two sensor devices are aligned such that X1 and X2 are parallel, Y1 and Y2 are parallel, and Z1 and Z2 are parallel. The Z-axes may coincide with the rotation axis 305.
(70) the first magnetic sensor device 303 is capable of measuring in-plane components (i.e. components of a projection in the plane ω1) of the first (total) field vector B1total at a first location, and is optionally capable of making available (e.g. outputting) this first projected total vector information, e.g. in the form of two coordinates v1x, v1y.
(71) the second magnetic sensor device 304 of is capable of measuring in-plane components (i.e. components of a projection in the plane ω2) of the second (total) field vector B2total at a second location different from the first location, and is optionally capable of making available (e.g. outputting) this second projected total vector information, e.g. in the form of two coordinates v2x, v2y.
(72) The permanent magnet 301 is rotatable about an axis 305, to define an angle a relative to a reference position.
(73) Based on the insights mentioned above, the inventors of the present invention realised that the system 300 depicted in
(74) It is well known in the art that a set of 4 linear equations with 6 unknowns does not have a unique solution. Hence, at first sight, the problem seems unsolvable.
(75) However, after investigating the arrangement of
(76) Combining the formulas [51] and [52] of
(77) Formula [57] shows that the magnetic field B1mag created by the magnet at the location of the first sensor 303 can be obtained by determining the vector difference between the first total vector and the second total vector, divided by 2.0.
(78) This is illustrated graphically in
(79)
(80)
(81)
(82)
(83) Referring back to
(84) As can be appreciated from formula [53] to [56], the algorithm 500 described above needs the vector coordinates (v1x, v1y) of the total projected field measured by the first sensor device 303, and the vector coordinates (v2x, v2y) of the total projected field measured by the second sensor device 304. The algorithm can be executed for example by a processor 306 (see
(85) In an embodiment, both sensor devices 303, 304 have an embedded processor 306, 307, and both sensor devices are adapted for providing its vector information to the other sensor device, and both sensor devices are adapted for calculating the angular position α (which is compensated for the external disturbance field) by performing the algorithm 500 described above, and both devices are adapted for providing this angle to said on-board computer or other device. In this way, a fault condition may be detected, since both values should be identical.
(86) In yet another embodiment, the algorithm 500 is not performed by a processor 306, 307 embedded inside the sensor devices 303, 304, but is performed by a processor 309 external to the sensor devices, for example in the example above, by said on-board computer. In this case, each of the sensor devices would be adapted to provide its vector information to said board computer, for example via leads or wires 308 or cables or wireless (e.g. optical or via RF), or in any other suitable way. Of course separate leads or tracks or wires or cables may also be provided between the sensor devices and the external processor 309.
(87) But the inventors went one step further, and realized that the set of equations [41] to [44] can also be solved if the magnetic field vectors B1mag and B2mag are not parallel or anti-parallel, and/or if the orientation of the first and second sensor device 303, 304 is not perfectly aligned (e.g. if X1 is not parallel with X2 and Y1 is not parallel with Y2).
(88)
(89) For simplifying the description, it is assumed in the drawings of
(90) In
(91) In
(92) Considering the arrangement of
(93) In the example of
(94) Combining the formulas [91] and [92] with the set of equations [41] to [44] yields the set of four linear equations [93] to [96] in four unknowns (B1magx, B1magy, Bextx, Bexty), which has a unique solution, as can be appreciated from formula [97] and formula [98].
(95) Similar as above, once the vector position (B1magx, B1magy) is known, the angular position α of the magnet 301 (e.g. relative to a reference position, or e.g. relative to a stator) can be calculated, for example using the formula [99] if B1magx and B1magy vary like a cosine and sine function respectively, or using a look-up table (optionally with linear interpolation), or in any other suitable way.
(96) Compared to the special case of
(97) Considering the arrangement of
(98) It is pointed out that in some embodiments of the present invention, some of the values m, n, p, q, r and s may be equal to zero. In some embodiments of the present invention, one or both of the values “p” and “s” is non-zero, which allows to take into account further mounting anomalies and/or some non-ideal magnetization, or combinations hereof.
(99) It can be understood that the formulas [91] and [92] are a special case of the formulas [101] and [102] for the case where m=r=k and n=q=s=0.
(100) Combining the formulas [101] and [102] with the set of equations [41] to [44] yields the set of four linear equations [103] to [106] in four unknowns (B1magx, B1magy, Bextx, Bexty), which has a unique solution.
(101) Similar as above, once the vector position (B1magx, B1magy) is known, the angular position α of the magnet 301 can be calculated, for example by using the formula [109], or using a look-up table optionally with linear interpolation, or in any other suitable way.
(102) As compared to the special case of
(103) It is noted that, in all of the embodiments described in
(104)
(105) In the example shown, each of the first and second sensor 303, 304 has a processor 306, 307, e.g. in the form of a programmable microcontroller, one or both of which may be adapted for performing said algorithm 500 or 900 or 1000. The algorithm may be stored as a set of executable instructions in a memory connected to said processor.
(106) The working of magnetic sensor devices is well known in the art, and hence need not be explained in further detail. It suffices to understand the present invention that each sensor device preferably contains at least three magnetic sensitive elements, e.g. in the form of Hall plates or magneto-resistive elements, which are not collinear, and thus define a plane. Furthermore, each sensor device is capable of determining a 2D or 3D vector of a (total) magnetic field relative to the sensor device, and at least one of the sensor devices 303, 304 is adapted for providing the measured vector to the other sensor device.
(107) Alternatively, the algorithm 500, 900, 1000 of calculating the angular position α of the magnet is performed by the external processor 309, in which case the first sensor device will provide first 2D or 3D vector information to the external processor, and the second sensor device will provide second 2D or 3D vector information to the external processor 309, based on which the external processor can calculate the angular position α, for example using any of the algorithms described above.
(108) But the inventors went still further, and came to the insight that it is not absolutely required that the first and second sensor device are located on the rotation axis 305, and/or that the first and second plane ω1, ω2 defined by the sensor devices are parallel to one another and perpendicular to the rotation axis. While it is true that such arrangements can simplify the equations, and allow that two-dimensional sensor devices are used, the underlying ideas of the present invention can be broadened.
(109) In other words, the arrangements of
(110)
(111) More in particular,
(112)
(113) In formulas [1301] to [1303] the components B2magx, B2magy, B2magz of the second magnetic field vector B2mag generated by the magnetic field source at the second sensor location is expressed as a function of the components B1magx, B1magy, B1magz of the first magnetic field vector B1mag generated by the magnetic field source at the first sensor location, for a given arrangement, meaning, for a given fixed position and orientation of the sensor devices and the magnetic source.
(114) As the external disturbance field Bext is assumed to be constant, formulas [1304] to [1306] express that the external field components Bextx2, Bexty2, Bextz2 measured by the second sensor device can be calculated as a linear combination of the external field components Bextx1, Bexty1, Bextz1. This can also be written in matrix-notation using two 3×1 matrices, and a 3×3 transformation matrix. The values “a” to “i” are known floating point numbers, e.g. predetermined by design, or determined by simulation or by calibration, or in any other way.
(115) Formulas [1307] to [1309] are similar to formulas [41] to [42] extended to three dimensions.
(116) Formulas [1310] to [1312] are similar to formulas [43] to [44] extended to three dimensions, and then combined with formulas [1301] to [1306].
(117) The set of formulas [1307] to [1312] forms a set of 6 equations in 6 unknowns (B1magx, B1magy, B1magz, Bextx, Bexty, Bextz) expressed in the first coordinate system, where the functions f1, f2 and f3 and the values “a” to “i” are known, e.g. by design or by simulation or by calibration, or combinations hereof. This set of equations has a single solution for B1magx, B1magy and B1mayz, from which the angular position α can be derived, for example using a lookup-table.
(118) While the formulas of
(119)
(120) In formulas [1401] to [1403] the X, Y and Z components of the first magnetic field vector B1mag generated by the magnetic field source at the first sensor location are expressed as functions of the angular position α, and in formulas [1404] to [1406] the X, Y and Z components of the second magnetic field vector B2mag generated by the magnetic field source 301 at the second sensor location are expressed as functions of the angular position α. The functions g1 to g6 are known, e.g. by design or by simulation, or can be determined during a calibration test.
(121) The formulas [1304] to [1306] as described in
(122) The values of the functions g1 to g6 may be determined for a plurality of values of α, and then stored in a non-volatile memory 321, 322, 323 of the device (see
(123) Formulas [1407] to [1409] are similar to formulas [41] to [42] extended to three dimensions.
(124) Formulas [1410] to [1412] are similar to formulas [43] to [44] extended to three dimensions, and then combined with formulas [1401] to [1406] and formulas [1304] to [1306], resulting in a set of 6 equations with 4 unknowns α, Bextx1, Bexty1, Bextz1.
(125) This is an overspecified set of equations which has a single solution, from which the angular position α can be calculated in known manners, for example using an iterative process.
(126) In a variant of the system shown in
(127) Other variants are also contemplated, e.g. where the position and/or the orientation of one or both of the sensor devices is “special”.
(128)
(129)
(130) This is an overspecified set of equations which has a single solution, from which the angular position α can be calculated in known manners, for example using an iterative process.
(131) In a variant of the system of
(132)
(133) In the example shown in
(134)
(135) This is an overspecified set of equations which has a single solution, from which the angular position α can be calculated in known manners, for example using an iterative process.
(136) In a variant of the system of
(137) Many specific arrangements are possible, for example, in a particular embodiment, the magnet is a two pole disk magnet or a two pole ring magnet, and one of the sensors is located on the rotation axis 305, and the other sensor device is arranged in the plane of the ring or disk magnet, radially outside the ring or disk. In other embodiments, the magnet is a multi-pole disk magnet or a multi-pole ring magnet, having at least four poles, or at least six poles.
(138)
(139) The sensor devices 303, 304 are aligned such that their respective axes X1 and X2, and Z1 and Z2 are oriented parallel. The two sensor devices 303, 304 are spaced apart over “one pole distance”, hence the signals measured by the two devices are substantially 180° phase shifted (in the absence of a disturbance field). This requires an accurate positioning of the sensor devices 303, 304 relative to the magnet. It is pointed out, however, that a single printed circuit board (PCB) 1910 having particular dimensions may be used with magnets having various sizes, by a proper positioning of the PCB relative to the sensor axis 305. Indeed, the angular distance between the two sensor devices as seen from the axis 305 can be increased by mounting the PCB closer to the rotation axis, or can be decreased by mounting the PCB further away from the axis 305.
(140) In an embodiment, the first sensor device 303 measures an in-plane field component Bx1 and an out-of-plane field component Bz1, and the second sensor device measures an in-plane field component Bx2 and an out-of-plane field component Bz2, and formulas similar to those of
B2magx=−B1magx [19.1]
B2magz=−B1magz [19.2]
(141) because sensor1 and sensor2 are spaced substantially over one pole distance,
(142) SensorA will measure:
V1x=B1magx+Bextx [19.3]
V1z=B1magz+Bextz [19.4]
(143) SensorB will measure:
V2x=B2magx+Bext=−B1magx+Bextx [19.5]
V2z=B2magz+Bext=−B1magz+Bextz [19.6]
(144) Formula [19.3]-[19.5] yields: V1x−V2x=2*B1magx, thus:
B1magx=(V1x−V2x)/2 [19.7]
(145) Formula [19.4]-[19.6] yields: V1z−V2z=2*B1magz, thus:
B1magz=(V1z−V2z)/2 [19.8]
(146) The Bx and Bz field components of the magnetic field measured at the sensor locations as shown are substantially 90° phase shifted, hence:
B1magx˜cos(α)
B1magz˜sin(α)
Then: tg(α)=B1magz/B1magx
And: α=arctan(B1magz/B1magx) [19.9]
(147) Instead of an arctangent function, a look-up table, optionally with interpolation can be used to determine the angular position.
(148) Each sensor device may comprise for example one Horizontal Hall element (to measure the Bz component) and one vertical Hall element (to measure the Bx-component), but the present invention is not limited thereto, and other sensors can also be used.
(149) In another example, the sensor devices may comprise two horizontal Hall elements arranged on opposite sides of a circular integrated magnetic concentrator (IMC). The Bz component can then be determined by calculating the sum of the two signals obtained from the Hall elements, and the Bx component can be determined by calculating the difference of the two signals obtained from the Hall elements.
(150) In a variant of
(151) The inventors surprisingly found that it is actually not required that the sensors are located at one pole distance for receiving 180° phase shifted signals originating from the magnet, but the invention also works for distances in the range from about 0.1 to about 1.9 pole distances, or from about 0.17 to about 1.83 pole distances, the latter corresponding to a phase shift from about 30° to about 330°. The signal amplitude (hence the SNR) is largest for 180° phase shift, but does not dramatically decrease for other distances. Even more surprisingly, exactly the same formulas as above are applicable. This offers the advantage that the mounting tolerances of the PCB can be drastically relaxed. Depending on the distance between the sensor devices, the angular offset position relative to the “zero position” will vary. In some applications (e.g. where the angular speed is determined as the time derivate of the angular position), the this offset is irrelevant. In other applications, where the offset is important, a precise position can be obtained e.g. by accurate positioning of the PCB (without having to perform a calibration test), and/or by performing a calibration test. In the latter case, the mounting requirements can be drastically reduced.
(152)
(153) The sensor devices 303, 304 are aligned such that their respective axes X1 and X2, and Z1 and Z2 are oriented parallel. In the example shown in
(154) As in the embodiment of
(155) The inventors surprisingly found that also in this case, it is not required to position the two sensor devices at one pole distance, and the invention will also work for other distances, e.g. a distance in the range from 0.1 to 1.9 pole distances or from 0.2 to 1.8 pole distances, or from 0.5 to 1.5 pole distances. The same comments as mentioned above for
(156)
(157) The two sensor devices 303, 304 are aligned such that their respective axes X1 and X2, and Z1 and Z2 are oriented parallel. The two sensor devices 303, 304 are spaced apart over “one pole distance”, hence the signals measured by the two devices are substantially 180° phase shifted. This requires an accurate positioning of the sensor devices 303, 304 relative to the magnet.
(158) As in the embodiment of
(159) It is an advantage of the sensor system of
(160) The inventors surprisingly found that also in this case, it is not required to position the two sensor devices at one pole distance, and the invention will also work for other distances, with the same formulas. The same comments as mentioned above for
(161) While the invention has been described mainly for angular position sensors, the invention also works for linear position sensors, for example as illustrated in
(162)
(163) In the example of
(164)
(165) In the example of
(166) While not worked out in detail, it can be understood from the examples of
(167) While individual features are explained in different drawings and different embodiments of the present invention, it is contemplated that features of different embodiments can be combined, as would be obvious to the skilled person, when reading this document.