Magnetic position sensor system, device, magnet and method

11796305 · 2023-10-24

Assignee

Inventors

Cpc classification

International classification

Abstract

A position sensor system for determining a position of a sensor device relative to a magnetic structure, the system comprising: said magnetic structure comprising a plurality of non-equidistant poles; said sensor device comprising at least three magnetic sensors spaced apart over predefined distances; and the sensor device being adapted for: a) measuring at least three in-plane magnetic field components, and for calculating two in-plane field gradients therefrom; b) measuring at least three out-of-plane magnetic field components, and for calculating two out-of-plane field gradients therefrom; c) calculating a coarse signal based on these gradients; d) calculating a fine signal based on these gradients; e) determining said position based on the coarse signal and the fine signal.

Claims

1. A magnetic structure comprising a plurality of poles; and a plurality of distances between centres of two adjacent poles; wherein the magnetic structure forms an elongated shape having a longitudinal axis or a curved shape having a curved axis; wherein a ratio of any two adjacent distances of the plurality of distances is a value in a range of 105% to 800%.

2. The magnetic structure according to claim 1, wherein the magnetic structure is an assembly of a plurality of discrete permanent magnets; or wherein the magnetic structure comprises a monolithic magnetic material which is magnetized such that the plurality of poles comprises a plurality of alternating poles oriented in opposite directions.

3. The magnetic structure according to claim 1, wherein the magnetic structure has a remanent magnetic field oriented substantially perpendicular to the longitudinal axis; or wherein the magnetic structure has a remanent magnetic field oriented substantially perpendicular to the curved axis.

4. The magnetic structure according to claim 1, wherein the magnetic structure comprises a ring magnet or a disk magnet.

5. The magnetic structure according to claim 1, wherein a number of the plurality of poles is in a range of 3 to 50.

6. The magnetic structure according to claim 1, wherein the magnetic structure has an asymmetric shape.

7. The magnetic structure of claim 1, wherein the plurality of distances between centres of two adjacent poles vary strictly monotonically in a first direction along said longitudinal axis or said curved axis.

8. The magnetic structure of claim 7, wherein the distance varies linearly with a pole number or quadratically with the pole number.

9. A magnetic structure comprising a plurality of poles; wherein a distance between centres of any combination of two adjacent poles of the plurality of poles is different from distances between centres of any other combination of two adjacent poles of the plurality of poles; wherein a ratio between a maximum distance between two adjacent poles of the plurality of poles and a minimum distance between two adjacent poles of the plurality of poles is in a range of 105% to 800%.

10. The magnetic structure according to claim 9, wherein the ratio between the maximum distance between two adjacent poles of the plurality of poles and the minimum distance between two adjacent poles of the plurality of poles is in a range of 110% to 200%.

11. The magnetic structure according to claim 9, wherein the magnetic structure has an asymmetric shape.

12. The magnetic structure according to claim 9, wherein the magnetic structure is an assembly of a plurality of discrete permanent magnets; or wherein the magnetic structure comprises a monolithic magnetic material which is magnetized such that the plurality of poles comprises a plurality of alternating poles oriented in opposite directions.

13. The magnetic structure according to claim 9, wherein the magnetic structure has an elongated shape having a longitudinal axis and a remanent magnetic field oriented substantially perpendicular to the longitudinal axis; or wherein the magnetic structure has a curved shape having a curved axis and a remanent magnetic field oriented substantially perpendicular to the curved axis.

14. The magnetic structure according to claim 9, wherein the magnetic structure forms an elongated shape having a longitudinal axis or a curved shape having a curved axis; wherein the distance between the centres of two adjacent poles of the plurality of poles varies along the longitudinal axis or the curved axis by a first predetermined factor or a second predetermined factor.

15. A magnetic structure comprising a plurality of poles forming a ring magnet or a disk magnet; wherein a distance between centres of any combination of two adjacent poles of the plurality of poles is different from distances between centres of any other combination of two adjacent poles of the plurality of poles; wherein each of the plurality of poles comprises a wedge-shaped segment of the magnetic structure spanning different arc segments of a periphery of the ring magnet or the disk magnet, the magnetic structure comprising exactly four wedge-shaped segments, with each of the four wedge-shaped segments having a different size; or exactly six wedge-shaped segments, with each of the six wedge-shaped segments having a different size.

16. The magnetic structure according to claim 15, wherein the magnetic structure is an assembly of a plurality of discrete permanent magnets; or wherein the magnetic structure comprises a monolithic magnetic material which is magnetized such that the plurality of poles comprises a plurality of alternating poles oriented in opposite directions.

17. The magnetic structure according to claim 15, wherein the magnetic structure has a curved shape having a curved axis and a remanent magnetic field oriented substantially perpendicular to the curved axis.

18. The magnetic structure according to claim 15, wherein the magnetic structure forms a curved shape having a curved axis; wherein the distance between the centres of two adjacent poles of the plurality of poles varies along the curved axis by a first predetermined factor or a second predetermined factor.

19. The magnetic structure according to claim 15, wherein the wedge-shaped segments of the magnetic structure have straight, radially oriented sides extending from the respective arc segment of the periphery.

20. The magnetic structure according to claim 15, wherein the magnetic structure is axially or radially magnetized.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) FIG. 1 is a schematic block-diagram of an exemplary linear position sensor system according to an embodiment of the present invention.

(2) FIGS. 2(a) and 2(b) are a schematic block-diagram of an exemplary angular position sensor system according to an embodiment of the present invention. FIG. 2(a) shows the sensor system in top view, and FIG. 2(b) shows the sensor system in perspective view. As can be seen, the sensor device is mounted off-axis (i.e. offset from the rotation axis, at a non-zero distance from the magnet axis).

(3) FIG. 3(a) to FIG. 3(h) show signals related to the exemplary linear position system of FIG. 1, illustrating some of the principles of the present invention.

(4) FIGS. 4(a) and 4(b) are a schematic block-diagram showing exemplary arrangements of sensor elements as can be used in a sensor device according to an embodiment of the present invention, which sensor device can be used in the linear position sensor system of FIG. 1 and/or in the angular position sensor system of FIGS. 2(a) and 2(b). The sensor device of FIG. 4(a) contains three collinear sensors, the sensor device of FIG. 4(b) contains four collinear sensors. Each of these sensors contains a pair of horizontal Hall elements arranged on opposite sides of an IMC element.

(5) FIGS. 5(a) and 5(b) are a schematic block-diagram showing another exemplary arrangement of sensor elements as can be used in a sensor device according to an embodiment of the present invention, which sensor device can be used in the linear position sensor system of FIG. 1 and/or in the angular position sensor system of FIGS. 2(a) and 2(b). The sensor device of FIG. 5(a) contains three collinear sensors, the sensor device of FIG. 5(b) contains four collinear sensors. Each of these sensors contains a horizontal Hall element and a vertical Hall element.

(6) FIG. 6 shows a schematic block diagram of sensor devices according to embodiments of the present invention, as can be used in the position sensor system of FIG. 1 or FIGS. 2(a) and 2(b).

(7) FIG. 7 illustrates a first method of producing a magnetic structure as may be used in the linear position sensor system of FIG. 1, based on magnetising a magnetic material using a (strong) current flowing through a conductor.

(8) FIG. 8 illustrates a second method of producing a magnetic structure as may be used in the linear position sensor system of FIG. 1.

(9) FIG. 9 illustrates a method of producing a magnetic structure as may be used in the angular position sensor system of FIGS. 2(a) and 2(b), based on magnetising a magnetic material using a (strong) current flowing through a conductor.

(10) FIG. 10 illustrates yet another magnetic structure as may be used in the linear position sensor system of FIG. 1.

(11) FIG. 11 illustrates a method of determining a position of a sensor device relative to a magnetic structure, according to embodiments of the present invention.

(12) FIG. 12(a) shows a schematic block-diagram of another linear position sensor system according to an embodiment of the present invention, wherein the distances between adjacent poles of the magnetic structure increase in a first portion and decrease in a second portion of the magnetic structure, which can be seen as a variant of FIG. 1.

(13) FIG. 12(b) shows a schematic block-diagram of another linear position sensor system according to an embodiment of the present invention, comprising two magnets as described in FIG. 12(a), positioned adjacent each other.

(14) FIG. 13(a) to FIG. 13(c) show signals obtainable by the position sensor of FIG. 12(a), which can be seen as variants of the signals of FIG. 3(e) to FIG. 3(g).

(15) FIG. 14(a) and FIG. 14(b) show an axially magnetized ring magnet according to an embodiment of the present invention, in top view and perspective view respectively, which can be seen as a variant of the ring magnet shown in FIGS. 2(a) and 2(b). The distances between adjacent poles of the ring magnet increase in a first portion and decrease in a second portion of the ring magnet.

(16) FIG. 15 shows an angular position sensor system according to an embodiment of the present invention, comprising an axially magnetized magnet like the one shown in FIGS. 14(a) and 14(b), and a position sensor device located offset from the rotation axis, facing an circular or annular bottom surface of the magnet.

(17) FIG. 16(a) to FIG. 16(c) show signals obtainable by the position sensor of FIG. 15(a), which can be seen as variants of the signals of FIG. 3(e) to FIG. 3(g).

(18) FIG. 17(a) and FIG. 17(b) show a radially magnetized ring magnet according to an embodiment of the present invention, in top view and perspective view respectively, which can be seen as a variant of the ring magnet shown in FIGS. 2(a) and 2(b) and in FIGS. 14(a) and 14(b). The distances between adjacent poles of the ring magnet increase in a first portion and decrease in a second portion of the ring magnet.

(19) FIG. 18 shows an angular position sensor system according to an embodiment of the present invention, comprising a radially magnetized magnet like the one shown in FIGS. 17(a) and 17(b), and a position sensor device located outside of the magnet, facing a cylindrical side surface of the ring magnet.

(20) 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

(21) 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.

(22) 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.

(23) 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.

(24) 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.

(25) 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.

(26) 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.

(27) 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.

(28) 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.

(29) In this document, unless explicitly mentioned otherwise, the term “magnetic sensor device” or “sensor device” refers to a device comprising at least one magnetic “sensor element”. The sensor device may be comprised in a package, also called “chip”, although that is not absolutely required. The sensor device typically comprises a semiconductor substrate.

(30) In this document, the term “sensor plane”, or “plane defined by the substrate of the sensor device” mean the same. They refer to a plane parallel to the semiconductor substrate.

(31) In this document, the term “sensor element” or “magnetic sensor element” or “sensor” can refer to a component or a group of components or a sub-circuit or a structure capable of measuring a magnetic quantity, such as for example a magneto-resistive element, an XMR element, a horizontal Hall plate, a vertical Hall plate, a Wheatstone-bridge containing at least one (but preferably four) magneto-resistive elements, etc. or combinations hereof.

(32) In this document, the expression “in-plane component of a vector” and “projection of the magnetic field component in the sensor plane” mean the same. If the sensor device is implemented in a semiconductor substrate, this also means “magnetic field components parallel to the semiconductor plane”. The in-plane components may be further specified as a Bx-component and in a By-component. As used herein, the Bx-component typically refers to the in-plane component in a direction parallel to the movement direction in case of a linear position sensor, or tangential to the movement trajectory in case of a curved trajectory, and the By-component refers to the component perpendicular to the Bx-component (e.g. directed radially in case of an angular position sensor).

(33) In this document, the expression “out-of-plane component of a vector” and “Z component of the vector” and “projection of the field component on an axis perpendicular to the sensor plane” mean the same.

(34) In this document, the expression “spatial derivative” or “derivative” or “spatial gradient” or “gradient” are used as synonyms, unless clear from the context that something else was meant. In the context of the present invention. the gradient is determined as a difference between two values measured at two locations spaced apart in the X-direction, where the X-direction means “parallel to the direction of movement” in case of a linear position sensor”, or “tangential to the movement trajectory” in case of a curved movement trajectory, e.g. an angular position sensor.

(35) It is an object of the present invention, to provide a position sensor system, e.g. an absolute position sensor system, and a method of determining a position of a sensor device relative to a magnetic structure.

(36) The present invention provides a position sensor device for use in a position sensing system wherein the position sensor device is movable relative to a magnetic structure having a plurality of poles, the position sensor device comprising: a semiconductor substrate; at least three sensors (e.g. S1, S2, S3) for measuring at least three first magnetic field components (e.g. Bx1, Bx2, Bx3), also referred to herein as “in-plane magnetic field components”, oriented in a first direction (e.g. X) substantially parallel to the substrate on at least three different locations (e.g. X1, X2, X3) spaced apart over predefined distances (e.g. Δx12 between S1 and S2, e.g. Δx23 between S2 and S3) along the first direction, and for measuring at least three second magnetic field components (e.g. Bz1, Bz2, Bz3), also referred to herein as “out-of-plane magnetic field components”, oriented in a second direction (e.g. Z) oriented substantially perpendicular to the substrate on said at least three different locations (e.g. X1, X2, X3); a processing unit adapted for: a) calculating two first gradients (e.g. ΔBx12/Δx12, ΔBx23/Δx23) of the first magnetic field components (e.g. Bx1, Bx2, Bx3) along the first direction (also referred to herein as “in-plane gradients”); b) calculating two second gradients (e.g. ΔBz12/Δx12, ΔBz23/Δx23) of the second magnetic field components (e.g. Bz1, Bz2, Bz3) along the first direction, (also referred to herein as “out-of-plane gradients”); c) calculating a coarse signal (Sc) based on at least some or all of the first and second gradients; d) calculating a fine signal (Sf) based on at least some of the first and second gradients; e) determining a position (e.g. X, α) based on the coarse signal (Sc) and the fine signal (Sf).

(37) The present invention also provides: a position sensor system comprising such a position sensor device and a magnetic structure having a plurality of poles, wherein the position sensor device is movable relative to the magnetic structure, or vice versa.

(38) The sensor system of the present invention makes use of a specific magnetic structure, where a distance between the poles is not constant, but varies. This magnetic structure generates a specific magnetic field, having specific properties. As far as is known to the inventors, such a magnetic structure and its properties are not known in the art.

(39) The present invention is at least partly based on the following insights (see e.g. FIGS. 3(a) to 3(h)): (1) that the in-plane magnetic field component (Bx) and the out-of-plane magnetic field component (Bz) are substantially phase shifted over 90° (as shown in FIG. 3(a)), and (2) that the magnitude |Bx| and |Bz| of these magnetic field components (Bx, Bz) increases as the distance between adjacent pole pairs increases, (as shown in FIG. 3(b)), (thus the sum of the squares of the two field components measured at a predefined distance from the magnet is not constant), and (3) that the in-plane derivatives (i.e. d/dx) of these magnetic field components turns out to be substantially constant (see FIG. 3(c)), despite that the magnitude of the field components themselves increases (e.g. substantially linearly), because the distance between centres of the poles also increases and hence the spatial derivative remains largely constant, and (4) that the ratio of the in-plane derivative (dBx/dx) and the out-of-plane derivative (dBz/dx) is substantially independent of the actual magnetic field strength, thus the fine signal (Sf) is substantially insensitive to demagnetization effects, and (5) the fine signal is substantially independent of an external disturbance field, (in particular a constant disturbance field), because the fine signal is based on magnetic field gradients, and (6) that it is possible to also derive a coarse signal Sc from the gradient signals, hence both the fine signal “Sf” as well as the coarse signal “Sc” are substantially independent of an external disturbance field.

(40) The combination of these features provides unique properties to the position sensor system of being highly accurate (fine positioning), having a large measurement range (despite the high accuracy), being robust against an external disturbance field, and being robust against demagnetization.

(41) In existing solutions, often a trade-off needs to be made between accuracy and range (for example as described in WO2014029885A1, where the maximum range of some embodiments is reduced to 360°/N).

(42) FIG. 1 is a schematic block-diagram of an exemplary linear position sensor system 100 according to an embodiment of the present invention.

(43) It is a linear position sensor system, comprising a sensor device 102 in the form of an integrated chip, which is movable relative to a magnetic structure 101, meaning that the magnetic structure 101 may be fixed while the sensor device 102 is movable, or that the sensor device 102 is fixed while the magnetic structure 101 is movable, or both the sensor device 102 and the magnetic structure 101 are movable.

(44) The invention will be further described assuming that the magnetic structure 101 is fixed, and the sensor device 102 is movable to simplify the discussion, but the present invention is not limited thereto.

(45) The sensor device 102 of FIG. 1 is arranged at a substantially constant distance H from the magnetic structure 101 in the Z-direction, perpendicular to the sensor plane, for example in the order of about 0.5 to about 5.0 mm, and can be moved in the X-direction, substantially parallel to a surface of the magnetic structure, hence maintaining a constant distance “H” from the magnetic structure 101.

(46) The magnetic structure 101 comprises a magnetic material which is magnetised in a particular manner. What is shown is a vertical cross-section of the magnetic structure, and the arrows show that the remanent magnetic field inside the magnetic material is oriented either in the positive Z-direction, or the negative Z-direction, hence perpendicular to the direction of movement X.

(47) One of the underlying ideas of the present invention is that the magnetic structure 101 has a plurality of magnetic poles P1, P2, P3, etc. which are not located equidistantly, but the distances between centers of adjacent poles vary. Preferably the distances vary strict monotonically, implying inter alia that all distances are different.

(48) In the example of FIG. 1, the magnetic structure 101 has 10 magnetic poles P1 . . . P10, but of course the present invention is not limited thereto, and a larger or smaller number of poles can also be used, for example any number in the range from 3 to 50, or from 4 to 50, or from 5 to 50, or any number in the range from 3 to 30, or any number in the range from 4 to 20.

(49) In the example of FIG. 1, the distance d1 between the first pole P1 and the second pole P2 is smaller than the distance d2 between the second pole P2 and the third pole P3, etc. In the example of FIG. 1, the distance monotonically increases from the left of FIG. 1 to the right of FIG. 1, meaning that d1<d2<d3< . . . <d9. The inventors found that based on the signals which can be measured by the sensor device 102, the position of the sensor device 102 on the X-axis can be uniquely determined, and with high accuracy (e.g. with a higher accuracy than would be possible if the magnetic structure 101 would contain only two or only three or only four equidistant poles), as will be explained further, when discussing FIGS. 3(a) to 3(h). In addition, the sensor device of the present invention has a reduced sensitivity to an external disturbance field (if present), or stated in other words, has an improved robustness to an external disturbance field (if present).

(50) Without limiting the invention thereto, in preferred embodiments the distance d[i+1] may be chosen to be substantially equal to the distance d[i] multiplied by a factor F chosen in the range from about 103% to 200%, depending on the application. The factor F may be constant over the entire length of the magnetic structure 101, but that is not absolutely required.

(51) In other embodiments, the factor F may vary for each pair, or for some of the pairs.

(52) In the specific example shown in FIG. 1, the factor F is constant and about equal to 111%, but other values could also be used, for example approximately 103% or approximately 104% or approximately 105% or approximately 106% or approximately 107% or approximately 108% or approximately 109% or approximately 110% or approximately 111% or approximately 112% or approximately 114% or approximately 116% or approximately 118% or approximately 120% or approximately 125% or approximately 130% or approximately 135% or approximately 140% or approximately 145% or approximately 150% or approximately 160% or approximately 170% or approximately 180% or approximately 190% or approximately 200%. The impact hereof will become clear when discussing FIGS. 3(a) to 3(h).

(53) While the distance d9 of the magnetic structure shown in FIG. 1 is about 2.3 times larger than the distance d1, this is only an example, and another ratio dmax/dmin between the maximum distance “dmax” and minimum distance “dmin” can also be chosen, for example but without limiting the present invention thereto, any ratio in the range from about 110% to about 800%, or a ratio in the range from about 150% to about 400%.

(54) In other embodiments, the distances d[i] vary linearly with the pole number or vary quadratically with the pole number.

(55) In a variant of FIG. 1, the magnetic material is magnetised substantially in the movement direction (e.g. in the direction of the longitudinal axis X), e.g. the positive X-axis or the negative X-axis.

(56) FIGS. 2(a) and 2(b) are a schematic block-diagram of an exemplary angular position sensor system 200 according to an embodiment of the present invention.

(57) The same principles as described above are also applicable here, mutatis mutandis, meaning inter alia that “linear distance” needs to be converted into “angular distance”, and “shift over the linear X-axis” needs to be converted into “rotation about the Z axis”, etc.

(58) One of the underlying ideas of the present invention applied to this embodiment is that the magnetic structure 201 has a plurality of magnetic poles P1, P2, . . . P10, which poles P1, P2, . . . are not located equidistantly, but the angular distances α1, α2, . . . between centres of adjacent poles vary, such that α12< . . . <α9 (see also FIG. 9). The structure may be axially magnetized, or the magnetization may be in-plane (e.g. oriented radially, or oriented tangentially), or the structure may be isotropically magnetized in the Z-direction.

(59) The inventors found that based on the magnetic signals which can be measured by the sensor device 202, the angular position α of the sensor device 202 with respect to a reference position of the magnetic structure 201 can be uniquely determined, and with high accuracy (e.g. larger than would be possible if the magnetic structure would contain only three or only four poles), and in a manner which is highly robust against an external disturbance field.

(60) The same or similar remarks with respect to the multiplication factor F (e.g. being a value in the range from about 103% to about 200%) and to the ratio dmax/dmin (representing an angular distance in this example) are also applicable here.

(61) But the distances between centers of the magnetic poles may also vary in another monotonically increasing manner, for example, linearly or quadratically (with the pole number).

(62) In FIGS. 2(a) and 2(b), the coordinate system with the three orthogonal X, Y, Z axes is attached to the sensor device, and the Z-axis is oriented parallel to the rotation axis of the magnet, and the X-axis is oriented tangential to the imaginary circle shown in dotted line, which is the direction of movement. The X-Y plane is parallel to the substrate of the sensor device. The Z-axis is orthogonal to said substrate. This is the case in all embodiments of the present invention, unless explicitly mentioned otherwise.

(63) FIG. 3(a) to FIG. 3(h) show signals related to the exemplary linear position system of FIG. 1, illustrating some of the principles of the present invention.

(64) FIG. 3(a) shows the remanent magnetic field Brx, Brz inside the magnetic material. It is noted that the remanent magnetization can be along Brz and Brx, or along Brz only, or along Brx only.

(65) FIG. 3(b) shows the magnetic field components Bx (indicated by a black square), Bz (indicated by a black circle) at a predefined distance “H” outside of the magnetic material, as can be measured by the sensor device 102. The drawing also shows (in dotted line) the value |B| which is calculated here as:
|B|=sqrt(Bx*Bx+Bz*Bz)  [1]

(66) As can be seen, the value |B| is a relatively smooth signal which (at least over a portion of the measurement range) monotonically increases with X (although that is not absolutely required for the present invention to work). It was found that if the centres of the poles are located further apart, the magnetic field strength measured by the sensor device (at a relatively small constant distance H) increases.

(67) The inventors came to the idea of determining the spatial gradients of these signals in the X-direction. FIG. 3(c) shows the spatial derivative dBx/dx of the in-plane field component Bx (indicated by a black square) and shows the spatial derivative dBz/dx of the out-of-plane magnetic field component Bz (indicated by a black circle).

(68) While not required for the present invention, FIG. 3(c) also shows (in dotted line) the value |dB| which is calculated here as:
|dB|=sqrt(dBx/dx*dBx/x+dBz/dx*dBz/dx)  [2]

(69) As can be seen, the value |dB| is also a relatively smooth signal which (at least over a portion of the measurement range) is substantially constant (although that is not absolutely required for the present invention to work).

(70) The inventors came to the idea of calculating a signal “Sf” as a function of the field gradients dBx/dx and dBz/dx, more particularly, as the function:
Sf=Arctan2(dBx/dx,dBz/dx)  [3]
(the function arctan 2 is also known as the atan2-function. The reader not familiar with this function can find more information, for example on “https://en.wikipedia.org/wiki/Atan2”)

(71) As can be appreciated from FIG. 3(d), the signal Sf looks like a “sawtooth-function”, but with non-constant teeth. This signal can be used as a fine indicator (within each tooth) for the position X of the sensor device 102, but as can be seen, the range of each tooth is only a subrange of the total range.

(72) As illustrated in FIGS. 4(a) and 4(b) and FIGS. 5(a) and 5(b), the signal “Sf” can be generated based on the signals Bx1 and Bz1 obtained from a first sensor S1 located at position X1, and from the signals Bx2 and Bz2 obtained from a second sensor S2 located at a position X2.

(73) The inventors came to the idea of adding a third sensor S3 at position X3, and of determining a second gradient from the signals obtained from the second sensor S2 and the signals obtained from the third sensor S3. When calculating the formula [3] again, but now based on the signals from the second and third sensor, another saw-tooth function Sf2 is obtained, which can be expressed mathematically as:
Sf2=Arctan2(ΔBx23/Δx23,ΔBz23/Δx23)  [4]
where ΔBx23=(Bx3−Bx2), and ΔBz23=(Bz3−Bz2),
where Bx2, Bx3 is the in-plane field component obtained from the 2nd and 3rd sensor respectively, and Bz2, Bz3 is the out-of-plane field component obtained from the 2nd and 3rd sensor respectively.

(74) FIG. 3(e) shows the two saw-tooth function Sf and Sf2 in a single plot. As can be appreciated, the waveform of Sf2 very much resembles the waveform of Sf, but is slightly shifted over the X-axis.

(75) The inventors further came to the idea of subtracting Sf and Sf2, yielding the waveform shown in FIG. 3(f). Or more precisely, FIG. 3(f) shows a function referred to herein as “delta(Sf,Sf2)” defined as:
delta(Sf,Sf2)=Sf−Sf2+n*360°  [5]
where n is an integer chosen such that delta lies in the range from 0° to 360° (including 0°, but excluding 360°). As can be seen, this function substantially monotonically decreases in the range of interest from about 10 to about 40 mm, and the inventors came to the idea of using this function as the coarse signal Sc.

(76) FIG. 3(f) shows the inverse of this function 1/delta(Sf,Sf2), which substantially monotonically increases in the range of interest, and the inventors realised that this function can also be used as the coarse signal Sc. The inverse signal is slightly more linear and may provide slightly better results. The skilled person having the benefit of the present disclosure will understand that other signals derived from the delta-function can also be used, for example Sc=A*delta, or Sc=A/delta, where A is a predefined constant.

(77) By combining the coarse signal Sc and the fine signal Sf, a unique position X of the sensor device 102 can be defined on the X-axis, with large accuracy. Moreover, since the signals Sf and Sc are both based on gradient signals, the (e.g. linear or angular) position thus determined is highly insensitive to an external disturbance field (if present).

(78) The following example will explain how the unique position may be determined, without limiting the present invention to this example, or even to this method, as other methods may also be used. Referring to FIG. 3(h), suppose that the value Sf yields the value 50°, and suppose that the function Sc yields the value 0.017. As indicated in FIG. 3(h), there are multiple possible positions (one on each sawtooth) having the value Sf=50°. Consider for example three candidates xA, xB, xC associated with the point “A” (white circle) and point “B” (white triangle) and the point “C” (white square). The function Sc=0.017 can then be used to determine which of these candidates is the most likely candidate. In the example shown, the point “a” (black circle) corresponds to Sc=0.012, point “b” (black triangle) corresponds to 0.017, and point “c” (black square) corresponds to Sc=0.020. In this example, the point B is thus the most likely one, because the Sc-value of point “b” deviates the least.

(79) The values of Sc for a plurality of positions may be determined during calibration, and may for example be stored in a non-volatile memory, or may be stored as a piecewise linear function, or in any other suitable way.

(80) Since the signal Sc is based on magnetic field gradients, it should (ideally) be completely insensitive to a constant external magnetic disturbance field, because the gradient cancels out a constant field. It can be appreciated however, that this sensor system also has a reduced sensitivity to a non-constant external disturbance field, because after cancellation of the constant portion of the external disturbance field, only second order effects remain.

(81) Thus, in practice, the value Sc (determined during actual use of the device) may slightly differ from the stored (or interpolated) value Sc (determined during calibration), but it can be appreciated that the external disturbances need to be quite high before the algorithm described above “selects the wrong tooth”. Hence, the algorithm described above is highly robust against an external disturbance field. The tolerance margin can be appreciated to be equal to about half the step ε. Thus, the larger the step ε, the more tolerant the sensor system is against an external disturbance field. As long as the actual external disturbance is smaller than this tolerance margin, the sensor device provides a correct and highly accurate unique position over a relatively large range (in the example spanning multiple poles).

(82) As can be appreciated from FIG. 3(h), the signals on the left end of the magnetic structure and on the right end of the magnetic structure cannot be used, but in practice the skilled person can make the magnetic structure slightly larger than the range to be measured.

(83) It is noted that, in the example above, the coarse signal Sc was chosen equal to the inverse delta function shown in FIG. 3(g), but the present invention is not limited thereto, and for example the delta-function itself, shown in FIG. 3(f) can also be used as the coarse signal Sc.

(84) For completeness, it is noted that the invention will still work, even if the coarse signal Sc (see FIG. 3(f) or FIG. 3(g) in the range from about 10 to about 40 mm) does not monotonically increase or monotonically decrease, but e.g. has a constant portion, or even has a local dip, as long as the combination of the two signals Sf and Sc is unique for each position on the X-axis.

(85) The inventors also found that, if the amplitude of the first and second gradient signal is not the same, one of the gradients is preferably multiplied by a factor K before determining the arctangent function. The factor K can thus be a predefined constant equal to 1.0, or can be a predefined constant different from 1.0, e.g. smaller than 0.95 or larger than 1.05. In some embodiments, the factor K can also be determined using a predefined function K(T) of temperature. The value of K, or values or parameters of the predefined function K(T) can be stored in a non-volatile memory.

(86) The inventors also found that the fine signal “Sf” can be calculated based on a second order gradient, which can be calculated as a difference between first order gradients, for example as follows, assuming the sensors S1, S2, S3 are spaced equidistantly:
Δ.sup.2Bx/Δx.sup.2=(ΔBx23/Δx)−(ΔBx12/Δx)  [8a]
Δ.sup.2Bz/Δx.sup.2=(ΔBz23/Δx)−(ΔBz12/Δx)  [8b]
Sf=arctan 2(Δ.sup.2Bx/Δx.sup.2,Δ.sup.2Bz/Δx.sup.2)  [8c]

(87) FIGS. 4(a) and 4(b) are a schematic block-diagram showing exemplary arrangements of sensor elements as can be used in a sensor device according to an embodiment of the present invention, which sensor device can be used in the linear position sensor system of FIG. 1 and/or in the angular position sensor system of FIGS. 2(a) and 2(b). The sensor device of FIG. 4(a) contains three collinear sensors S1, S2, S3. The sensor device of FIG. 4(b) contains four collinear sensors S1, S2, S3, S4.

(88) Each sensor contains a pair of horizontal Hall elements (indicated by black squares) arranged on opposite sides of an integrated magnetic concentrator (IMC) element (indicated by gray circles). As is known in the art (e.g. from WO2014029885A1), such structures can be used to determine (e.g. measure and/or calculate) an in-plane magnetic field component Bx in the X-direction, (i.e. the direction of an imaginary line passing through the Horizontal Hall elements), and an out-of-plane magnetic field component Bz (in a direction perpendicular to the sensor plane).

(89) In FIG. 4(a), the distance between the first and second sensor S1, S2 is ΔX12, and the distance between S2 and S3 is ΔX23. Preferably the distance between S1 and S2 is equal to the distance between S2 and S3, but that is not absolutely required, because a gradient can be calculated as (or proportional to) ΔB/Δx. If the distances are identical, the gradient can be calculated as (or proportional to) ΔB. If the distances are not equal, appropriate scaling can be used.

(90) More in particular, if the signal provided by the first, second, third, fourth Hall element is HP1, HP2, HP3 and HP4 respectively,

(91) the value of Bx at position X1 can be calculated as:
Bx1=HP1−HP2  [6.1],
and the value Bz at position X1 can be calculated as:
Bz1=HP1+HP2  [6.2],
and the value of Bx at position X2=X1+ΔX12 can be calculated as:
Bx2=HP3−HP4  [6.3],
and the value of Bz at position X2=X1+ΔX12 can be calculated as:
Bz2=HP3+HP4  [6.4]
From these magnetic field values Bx1, Bz1, Bx2, Bz2, which are measured directly or indirectly, other values can be calculated, for example one or more of the following:
an in-plane field gradient at X1:
dBx(X1)=(Bx2−Bx1)/ΔX12=HP1−HP2+HP4−HP3  [6.5]
an out-of-plane field gradient at X1 (where the division by/ΔX is omitted, assuming ΔX12=ΔX23):
dBz(X1)=(Bz2−Bz1)/ΔX12=HP1+HP2−HP3−HP4  [6.6]
a fine signal at X1:
Sf=Arctan2(dBx(X1),dBz(X1))  [6.7]

(92) Similar formulas can be written for the calculation of the gradient at X2, based on the signals obtained from sensor S2 and S3:
Bx2=HP3−HP4  [6.8],
Bz2=HP3+HP4  [6.9],
Bx3=HP5−HP6  [6.10],
Bz3=HP5+HP6  [6.11]
in-plane field gradient at X2:
dBx(X2)=(Bx3−Bx2)/ΔX23=HP3−HP4+HP6−HP5  [6.12]
out-of-plane field gradient at X2:
dBz(X2)=(Bz3−Bz2)/ΔX23=HP3+HP4−HP5−HP6  [6.13]
a fine signal at X2:
Sf2=Arctan2(dBx(X2),dBz(X2))  [6.14]
According to an aspect of the present invention, the coarse signal Sc can then be calculated, based on a difference between Sf and Sf2, for example based on the following formulas:
delta=Sf−Sf2+n*360°  [6.15]
where n is an integer chosen such that delta lies in the range from (and including) 0° to (but excluding) 360°,
Sc=delta  [6.16a]
or Sc=1/delta  [6.16b]

(93) The combination of Sc and Sf then yield a single value for X or α, as explained above.

(94) It is noted that if ΔX12 is not equal to ΔX23, slightly different formulas may need to be used, but such details need not be explained in more detail here, and are well within the scope of the person skilled in the art of magnetic position sensors having the benefit of the present disclosure.

(95) In FIG. 4(b), the distance between the first and second sensor S1, S2 is ΔX12, the distance between S2 and S3 is ΔX23, and the distance between S3 and S4 is ΔX34. Preferably the distance between S1 and S2 is equal to the distance between S3 and S4, but that is not absolutely required, for the same reason as mentioned above. The four sensors S1, S2, S3, S4 may be located equidistantly, but that is not required. The distance ΔX23 may be larger or smaller than ΔX12. In fact, sensor S3 may even be located between sensor S1 and sensor S2.

(96) A similar set of formulas can be derived for this sensor device, mutatis mutandis. More specifically, formulas [6.1] to [6.7] are also applicable, but formulas [6.8 to 6.16] would be calculated based on the signals of sensor S3 and S4 rather than sensor S2 and sensor S3.

(97) The same remarks about the factor K mentioned in FIGS. 3(a) to 3(h) are also applicable in FIGS. 4(a) and 4(b).

(98) In the case of four sensors, the fine signal “Sf” can also be calculated based on a second order gradient, which can be calculated again as a difference between first order gradients. In this case the distance Δx12 between the sensors S1 and S2 is preferably the same as the distance Δx34 between the sensors S3 and S4. The distance Δx23 between S2 and S3 may also be the same as Δx12, but that is not absolutely required. The following formulas can be used in this case:
Δ.sup.2Bx/Δx.sup.2=(ΔBx34/Δx)−(ΔBx12/Δx)  [9a]
Δ.sup.2Bz/Δx.sup.2=(ΔBz34/Δx)−(ΔBz12/Δx)  [9b]
Sf=arctan 2(Δ.sup.2Bx/Δx.sup.2,Δ.sup.2Bz/Δx.sup.2)  [9c]

(99) FIGS. 5(a) and 5(b) are a schematic block-diagram showing other exemplary arrangements of sensor elements as can be used in a sensor device according to an embodiment of the present invention, which sensor device can be used in the linear position sensor system 100 of FIG. 1 and/or in the angular position sensor system 200 of FIGS. 2(a) and 2(b). The sensor device of FIG. 5(a) contains three collinear sensors, the sensor device of FIG. 5(b) contains four collinear sensors. Each sensor contains a horizontal Hall element (indicated by a square) without IMC, and a vertical Hall element (indicated by a rectangle).

(100) The horizontal Hall elements are adapted for measuring a magnetic field component Bz in the Z-direction, perpendicular to the sensor plane (e.g. semiconductor substrate). The vertical Hall elements are oriented so as to measure the Bx-component of the magnetic field, oriented in the X-direction, being the direction of movement, or a direction tangential to the movement trajectory (e.g. tangential to a circle in case of an angular position sensor).

(101) In FIG. 5(a), the distance between the first and second sensor S1, S2 is ΔX12, and the distance between S2 and S3 is ΔX23. Preferably the distance between S1 and S2 is equal to the distance between S2 and S3, but that is not absolutely required, because a gradient can be calculated as (or proportional to) ΔB/Δx. If the distances are identical, the gradient can be calculated as (or proportional to) ΔB. In fact, the distance between the horizontal Hall elements does not need to be equal to the distance between the vertical Hall elements.

(102) The sensor device shown in FIG. 5(a) can measure an in-plane field component Bx and an out-of-plane field component Bz at three different locations. More in particular, sensor S1 can measure Bx1 and Bz1 at position X1, sensor S2 can measure Bx2 and Bz2 at position X2, and sensor S3 can measure Bx3 and Bz3 at position X3.

(103) More in particular, if the signal provided by the first, second and third horizontal Hall element is HH1, HH2, HH3 respectively, and the signal provided by the first, second and third vertical Hall element is VH1, VH2, VH3 respectively,

(104) the out-of plane magnetic field component at a first location X1 can be determined as:
Bz1=HH1  [7.1]
The out-of plane magnetic field component at a second location X2 can be determined as:
Bz2=HH2  [7.2]
From these values, an out-of-plane magnetic field gradient dBz at X1 can be calculated as:
dBz(X1)=HH1−HH2  [7.3]
The in-plane magnetic field component at a first location X1 can be determined as:
Bx1=VH1  [7.4]
The in-plane magnetic field component at a second location X2 can be determined as:
Bx2=VH2  [7.5]
From these magnetic field values, an in-plane magnetic field gradient dBx at X1 can be calculated as:
dBx(X1)=VH1−VH2  [7.6]
Similar as for FIGS. 4(a) and 4(b), based on these values, a fine signal Sf at X1, can be determined based on:
Sf=Arctan2(dBx(X1),dBz(X1))  [7.7]
In a similar manner, a fine signal Sf2 can be calculated at X2, based on the signals obtained from S2 and S3, as follows:
Sf2=Arctan2(dBx(X2),dBz(X2))  [7.8]
and a coarse signal can be defined, based on a difference between Sf and Sf2, for example based on:
delta=Sf−Sf2+n*360°  [7.9]
where n is an integer chosen such that delta lies in the range from (and including) 0° to (but excluding) 360°,
Sc=delta  [7.10a]
or Sc=1/delta  [7.10b]
The combination of Sc and Sf then yield a single value for X or α, as explained above.

(105) It is noted that if ΔX12 is not equal to ΔX23, slightly different formulas may need to be used, but such details need not be explained in more detail here, and are well within the scope of the person skilled in the art of magnetic position sensors having the benefit of the present disclosure.

(106) In FIG. 5(b), the distance between the first and second sensor S1, S2 is ΔX12, the distance between S2 and S3 is ΔX23, and the distance between S3 and S4 is ΔX34. Preferably the distance between S1 and S2 is equal to the distance between S3 and S4, but that is not absolutely required, for the same reason as mentioned above. The four sensors S1, S2, S3, S4 may be located equidistantly, but that is not required. The distance ΔX23 may be larger or smaller than ΔX12. In fact, sensor S3 may even be located between sensor S1 and sensor S2.

(107) A similar set of formulas can be derived for this sensor device, mutatis mutandis. More specifically, formulas [7.1] to [7.7] are also applicable, but formulas [7.8 to 7.10] would be calculated based on the signals of sensor S3 and S4 rather than sensor S2 and sensor S3.

(108) FIG. 6 shows a schematic block diagram of a sensor device 600, as can be used in the linear position sensor system 100 of FIG. 1, or the angular position sensor system 200 of FIGS. 2(a) and 2(b).

(109) The position sensor device 600 comprises: a plurality of sensor elements 611-618 (e.g. Horizontal Hall elements and/or vertical Hall elements) allowing to determine at least three in-plane magnetic field components Bx1, Bx2 Bx3 and at least three out-of-plane magnetic field components Bz1, Bz2, Bz3 on at least three different locations X1, X2, X3 spaced apart over predefined distances, as shown for example in FIGS. 4(a) and 4(b) and FIGS. 5(a) and 5(b).

(110) The position sensor device 600 further comprises a processing unit 620 adapted for calculating an in-plane field gradient dBx/dx (also denoted as dBx) and an out-of-plane field gradient dBz/dx (also denoted as dBz) at two different locations (X1 and X2 in FIG. 4(a) and FIG. 5(b); or at X1 and X3 in FIG. 4(b) and FIG. 5(b)), and for calculating a fine signal “Sf” and a coarse signal “Sc” based on these gradient signals, for example using one or more of the formulas [6.1] to [6.16], and [7.1] to [7.10].

(111) The processing unit 620 is further adapted for determining said linear position X or said angular position α based on both the coarse signal Sc and on the fine signal Sf, for example as explained in FIG. 3(h), for example using a look-up table and interpolation, or in any other suitable way.

(112) The processing unit 620 may comprise a programmable device, adapted for performing a method of determining said linear or angular position, as described above, or as will be described in FIG. 11.

(113) In some embodiments, the position sensor device may further comprise a temperature sensor (not shown), connected to the processing unit 620, which can be used for calculating the value of K in embodiments where K is a function of temperature.

(114) FIG. 7 illustrates a first method of producing a magnetic structure 701 as may be used in the linear position sensor system of FIG. 1. This method is based on magnetising a magnetic material using a relatively strong current (a technique known per sé in the art, but not for this particular topology). What is shown is a top view of a surface of a structure comprising magnetic material. At a small distance above the surface, an electrical conductor is positioned as shown, forming a zig-zag, and a relatively large current is injected through the conductor, inducing a large magnetic field, which enters the page of the drawing (indicated by x), and which comes out of the page of the drawing (indicated by •), only a few vectors are shown.

(115) FIG. 8 illustrates a second method of producing a magnetic structure as may be used in the linear position sensor system of FIG. 1. Such a magnet structure can be produced for example by a technique for making bonded magnets. This technique is known per sé, albeit for equidistant magnet poles. Typically, a mixture known as “feed stock” containing magnetic particles is injected in a cavity of a mold, and one or more permanent magnets are located in close vicinity of, but outside the cavity during molding.

(116) FIG. 9 illustrates a method of producing a magnetic structure as may be used in the angular position sensor system of FIGS. 2(a) and 2(b), based on magnetising a magnetic material. A similar technique as described in FIG. 7 is used here, mutatis mutandis. It is noted that in this drawing it is clearly shown that α123< . . . <α9. In this particular example, the number of poles (which can be seen by a sensor device facing one of the ring shaped surfaces, as illustrated in FIGS. 2(a) and 2(b)) is 10, and the ratio of α91=about 2.63, and the multiplication factor F=α3221=about 1.13, but as described above, the present invention is not limited thereto, and a different number of poles and/or a different ratio between the first and second angular distance, and/or a different multiplication factor F may be used, or the angular distances may vary monotonically as a linear function of the pole number, or quadratically, or in any other suitable way.

(117) FIG. 10 illustrates yet another magnetic structure 1001 as may be used in the angular position sensor system of FIG. 1. The magnetic structure comprises a non-magnetic structure functioning as a holder, with a plurality of openings, and in each opening a permanent magnet is inserted. The magnets 1003a, 1003b, etc. can be axially magnetized, or the magnetization can also be in-plane or isotropic.

(118) The same principles as explained above are also applicable here, mutatis mutandis. The magnets may be cylindrical magnets, but that is not absolutely required. The cylindrical magnets may have a single diameter (as shown), or may have different diameters (not shown). What is important is that the distance between the centers of the magnets varies.

(119) FIG. 11 illustrates a method 1100 of determining a position of a sensor device (see for example FIG. 6 with a sensor configuration of FIG. 4(a) or FIG. 4(b) or FIG. 5(a) or FIG. 5(b)) relative to a magnetic structure (see for example the magnetic structure of FIG. 1 or FIGS. 2(a) and 2(b) or FIG. 10) having a plurality of poles, and said sensor device comprising a plurality of magnetic sensors or sensor elements, and wherein the magnetic structure is movable (e.g. linearly or rotationally) relative to the sensor device or vice versa, and wherein a distance (Xpp, αpp) between centres of adjacent poles varies along a movement direction or along the movement trajectory.

(120) The method comprises the steps of: a) measuring 1101 at least three in-plane magnetic field components (Bx1, Bx2, Bx3), and calculating two in-plane magnetic field gradients (e.g. ΔBx12/Δx, ΔBx23/Δx) of these in-plane magnetic field components; b) measuring 1102 at least three out-of-plane magnetic field components (Bz1, Bz2, Bz3), and calculating two out-of-plane magnetic field gradients (e.g. ΔBz12/Δx, ΔBz23/Δx); c) calculating 1103 a coarse signal “Sc” based on these gradients; d) calculating 1104 a fine signal “Sf” based on these gradients; e) determining 1105 said position X, α based on the coarse signal “Sc” and the fine signal “Sf”, for example using a look-up table and interpolation.

(121) FIG. 12(a) shows a schematic block-diagram of another linear position sensor system 1200, which can be seen as a variant of FIG. 1. As can be seen in FIG. 12(a), the pole distances between centers of adjacent poles vary along the movement direction X of the sensor device, but in contrast to FIG. 1, the distances between the poles of the magnetic structure of FIGS. 12(a) and 12(b) do not increase or decrease monotonically from one end of the magnetic structure 1201 to the other end, but the distances increase over a first portion of the magnetic structure, and decrease over a second portion of the magnetic structure. In the particular example of FIG. 12(a), when considering the distances from the left end to the right end of the drawing, the distances first increase from d1 to d5, and then decrease from d6 to d9.

(122) The magnetic field created by the magnetic structure 1201 of FIG. 12(a) will be different from that created by the magnetic structure 101 of FIG. 1, and the sensor device 1202 is adapted accordingly (e.g. by using a non-volatile memory holding different values or different coefficients of polynomials), as will be explained in more detail in FIG. 13(a) to FIG. 13(c). The main principles, however, remain the same, since the linear position is still calculated based on a coarse signal Sc and a fine signal Sf, and since the coarse signal Sc and the fine signal Sf are still derived from one or more gradient signals, for example from the gradient dBx/dx of the magnetic field component Bx along the X-direction and/or from the gradient dBz/dx of the magnetic field component Bz along the X-direction, the X-direction being the direction of relative movement, the Z-direction being perpendicular to X.

(123) FIG. 13(a) to FIG. 13(c) show signals similar to those of FIG. 3(e) to FIG. 3(g), but for the magnet structure of FIG. 12(a). While the coarse signal of FIG. 3(g) may be preferred over the coarse signal of FIG. 3(f) because it results in a better defined intersection (more perpendicular) with respect to the fine signal curve, the slope of the coarse signal Sc1 of FIG. 13(b) and of the coarse signal Sc2 of FIG. 13(c) varies. Depending on the implementation, one or both of the coarse signals Sc1, Sc2 can be used.

(124) In an embodiment, the signal Sc1 of FIG. 13(b) is used as the coarse signal, and the linear position is calculated based on one of the fine signals Sf1, Sf2 of FIG. 13(a) in combination with Sc1.

(125) In another embodiment, the signal Sc2 of FIG. 13(c) is used as the coarse signal, and the linear position is calculated based on one of the fine signals Sf1, Sf2 of FIG. 13(a) in combination with Sc2.

(126) Referring back to FIG. 12(a), the distances d1-d5 may increase according to a first factor F1 over said first portion and may decrease in accordance with a second factor F2, different from the first factor F1, over said second portion. As can be appreciated from FIG. 13(b) and FIG. 13(c), the effect hereof is that the coarse signals Sc1, Sc2 will have a different “slope” over the first and second portion, which may help to increase the probability that the combination of the Sc and Sf values are unique over the entire range. As already indicated above (when discussing FIG. 1), many values of Factor1 and Factor2 can be used, for example in the range from about 111% to about 800%, or from 111% to 400%. In fact, it is not required that the distances vary in a multiplicative way, although this is convenient for the understanding and the description. It suffices that the distances are different.

(127) Preferably, the magnetic structure 1201 is asymmetric.

(128) FIG. 12(b) shows a system 1250 comprising at least two magnetic structures 1201a, 1201b as shown in FIG. 12(a), each structure having different factors (e.g. F1, F2, F3, F4). Again, factors are only used here for easy of explanation, but they are not absolutely required. It suffices that the distances are different. In the specific example shown, the system comprises: (i) a first magnetic structure 1201a identical to that of FIG. 12(a) having a first portion in which the distances increase by a factor F1, and a second portion in which the distances decrease by a factor F2 different from F1, and (ii) a second magnetic structure 1201b having a first portion in which the distances increase by a factor F3 different from F1 and F2, and a second portion in which the distances decrease by a factor F4 different from any of F1 to F3.

(129) While the system of FIG. 12(b) contains only two different magnetic structures 1201a, 1201b, of course the present invention is not limited thereto, and in other embodiments, the system 1250 may have 3 different magnets, or 4 different magnets, or even more, allowing to determine a unique position over an even larger range, with high accuracy, and in a manner which is highly robust against an external disturbance field, and against magnetic degradation and temperature variations.

(130) An advantage of using magnetic structures having a first portion with increasing pole distances and a second portion with decreasing pole distances, mounted adjacent each other, is that the magnetic signals will vary more smoothly near the transitions between the different magnetic structures, rather than abruptly. This offers the further advantage that the coarse signal(s) Sc and the fine signal(s) Sf derived therefrom may be less erratic, and that the linear position derived therefrom may be more accurate. Indeed, although not explicitly shown, a combined magnetic structure as shown in FIG. 12(b) will have a coarse signal with four zones: a first zone related to factor F1, a second zone related to factor F2, a third zone related to factor F3 and a fourth zone related to factor F4, but in contrast to the left end and the right end of the signals shown in FIG. 13(a) to FIG. 13(c), advantageously, the signals of the combined structure will vary smoothly not only between the first and second zone, and between the third and fourth zone, but also between the second and third zone. Since the slope of each of these four zones is different, the probability that a particular value of the fine signal corresponds to only one coarse signal is very high, which can easily be verified by performing a simulation using specific dimensions and factors.

(131) The sensor device 1252 can find the unique position relative to the combined magnetic structure 1251 in the same or a similar manner as described above (see e.g. FIG. 3(h)), by first determining a set of candidate positions based on the fine signal only, and then selecting the best of these candidate positions, by looking also at the coarse signal (or coarse signals). In this way, the unique position can be determined with respect to the total length formed by the two (or more) magnetic structures.

(132) In an alternative embodiment, the position sensor system (not shown) comprises four different magnetic structures, e.g. each magnetic structure (as shown in FIG. 1) having monotonically increasing distances with a different predefined factor F1 to F4: i) a first magnetic structure with factor F1 for the first zone, ii) a second magnetic structure with factor F2 for the second zone, but turned by 180° such that the transition between the end of the first magnetic structure and the beginning of the second magnetic structure is less abrupt, iii) a third magnetic structure with factor F3 for the third zone, iv) a fourth magnetic structure with factor F4 for the fourth zone, but turned by 180° such that the transition between the end of the third magnetic structure and the beginning of the fourth magnetic structure is less abrupt.

(133) By choosing four different factors F1 to F4, a magnetic structure identical or very similar to the one shown in FIG. 12(b) will be obtained. The magnetic field generated by such a structure can be simulated, in a similar manner as described above, and curves similar to those shown in FIG. 13(a) to FIG. 13(c) but with two increasing portions and two decreasing portions can be generated, and the sensor device can be configured to find a unique position along this combined magnetic structure, in a manner similar as described above.

(134) FIG. 14(a) and FIG. 14(b) show an axially magnetized ring magnet 1401, in top view and perspective view respectively. This magnet can be seen as a variant of the ring magnet shown in FIGS. 2(a) and 2(b). The magnet 1401 comprises a plurality of poles (in the example: 10 poles can be seen at the top surface). The angular distances α1, α2, α3, α4, α5, α6 between centres of adjacent poles (measured at the periphery of the ring magnet) increases over a first portion of the ring magnet (from α1 to α6), and the angular distances α6, α7, α8, α9, α10, α1 decrease over a second portion of the ring magnet (from α6 to α10), e.g. when “walking” at the periphery in clockwise direction. (the same is true in counterclockwise direction). Or expressed in mathematical terms, in the example shown in FIG. 14(a), α1 is the smallest angular distance and α6 is the largest angular distance, and α123456, and α678910. As can be seen, by choosing α10 only slightly different from α1, the transition from α10 to α1, or vice versa, will be very smooth.

(135) Or stated in simple terms, FIG. 14(a) and FIG. 14(b) show a ring magnet, which is axially magnetized, and has a plurality of “pie segments” of different sizes. The sizes vary in such a way, that, when starting from the pie having the smallest size, and turning in clockwise direction, the size of the pie segments encountered first increase, and then decrease.

(136) Said angular distances may increase with a first predefined factor F1 in said first angular portion, and may decrease with a second predefined factor F2, different from the first predefined factor F1, over said second angular portion. But as already mentioned above, a constant factor for each portion is not required, but helps to explain the invention in a simple manner. It suffices that the distances are different. The number of pies in the first angular portion (wherein the distances increase) may be the same as the number of pies in the second angular portion (wherein the distances decrease), or may be different from the number of pies in the second angular portion.

(137) Preferably the magnet is asymmetric.

(138) In an embodiment, the smallest circle segment defined by α1 is not located diametrically opposite the largest circle segment defined by α6.

(139) In an embodiment, the smallest circle segment defined by α1 is located diametrically opposite the largest circle segment defined by α6.

(140) Some specific examples will be given further (when discussing FIG. 18).

(141) In the example of FIG. 14(a) and FIG. 14(b), the angular distances are preferably chosen such that α10 is only slightly larger than α1, which is not the case in FIG. 9, where the angular distance changes abruptly from segment P10 to segment P1.

(142) The main advantage of the increasing and decreasing angular distances can be appreciated from FIG. 16(a) to FIG. 16(c), showing that the fine signals Sf1, Sf2 and the coarse signals Sc1, Sc2 are continuous (near 0° and 360°) and vary more smoothly, and are less erratic. This offers the further advantage that the angular position derived from these signals is more accurate over the entire 360° range.

(143) FIG. 15 shows an angular position sensor system 1500 comprising an axially magnetized magnet 1501 like the one shown in FIGS. 14(a) and 14(b), and a position sensor device 1502 located offset (distance Rs) from the rotation axis, facing a bottom surface of the magnet 1501. This sensor system 1500 can be seen as a variant of the sensor system of FIGS. 2(a) and 2(b), and the same principles and formulas apply, but the specific data, which is e.g. stored in the non-volatile memory of the sensor device, is based on fine and coarse signals as shown in FIG. 16(a) to FIG. 16(c). As mentioned above, this data can be determined by simulation and/or by calibration, or in any other suitable way.

(144) FIG. 16(a) to FIG. 16(c) is already discussed in relation with FIG. 14(a) and FIG. 14(b).

(145) FIG. 17(a) and FIG. 17(b) show a radially magnetized ring magnet 1701, in top view and in perspective view respectively. This magnet 1701 can be seen as a variant of the magnet of FIGS. 14(a) and 14(b), except that this magnet is radially magnetized rather than axially magnetized. Everything else described above for the axially magnetized magnet 1401 of FIGS. 14(a) and 14(b), is also applicable for the radially magnetized magnet 1701 of FIGS. 17(a) and 17(b), in particular related to the angular distances α1 to α10, the first portion in which the distances increase, and the second portion in which the distances decrease.

(146) FIG. 18 shows an angular position sensor system 1800 comprising a radially magnetized magnet 1801 like the one shown in FIGS. 17(a) and 17(b), and a position sensor device 1802 located outside of the magnet, at a radial distance Rs from the rotation axis larger than the outer radius of the ring magnet. The sensor device 1802 is facing a cylindrical side surface of the magnet. The sensor device contains a semiconductor substrate. A coordinate system with three orthogonal axes X,Y,Z is attached to the sensor device such that the X and Y axis are parallel to the semiconductor plane, and the Z-axis is orthogonal to the semiconductor plane.

(147) The sensor device 1802 is configured for measuring an “in-plane” gradient dBx/dx of a magnetic field component Bx along the X-direction (parallel to the semiconductor substrate), and an “out-of-plane” gradient dBz/dx of a magnetic field component Bz oriented in the Z-direction (perpendicular to the semiconductor substrate) along the X-direction. The sensor device 1802 is oriented such that the X-axis is oriented in a circumferential direction of the magnet, i.e. tangential to an imaginary circle having a center on the rotation axis of the magnet 1801, and such that the Z-axis is oriented in a radial direction of the magnet. As a consequence, the Y-axis is parallel to the rotation axis of the magnet, Bx is oriented in a circumferential direction of the magnet, and Bz is oriented in a radial direction of the magnet.

(148) This sensor device 1802 of FIG. 18 will measure signals Bx and Bz which are very similar to the signals measured by the sensor device of FIG. 15, and hence also the gradient signals dBx/dx and dBz/dx are very similar, and from these gradient signals, a fine signal Sf and a coarse signal Sc can be derived, similar to what is shown in FIG. 16(a) to FIG. 16(c).

(149) In a variant (not shown) of the magnet of FIGS. 14(a) and 14(b) and FIGS. 17(a) and 17(b), the ring magnet has exactly four pie segments, with four different pie sizes, namely size1, size2, size3, size4, wherein size1 is the smallest size, and size3 is the largest size, and wherein: a) size1<size4<size2<size3, or b) size1<size2<size4<size3

(150) In a particular example of (a), the sizes are: size1=70°, size2=95°, size3=110°, and size4=85°.

(151) In a particular of (b), the sizes are: size1=70°, size2=85°, size3=110°, and size4=95°.

(152) But of course the present invention is not limited to these particular examples, and the skilled person having the benefit of the present disclosure can easily find other suitable values.

(153) In another variant (not shown) of the magnet of FIGS. 14(a) and 14(b) and FIGS. 17(a) and 17(b), the ring magnet has exactly six pie segments, with six different pie sizes, namely size1, size2, size3, size4, size5, size6, wherein size1 is the smallest size, and size4 is the largest size, and wherein: a) size1<size6<size2<size5<size3<size4, or b) size1<size6<size2<size3<size5<size4, or c) size1<size2<size6<size5<size3<size4, or d) size1<size2<size6<size3<size5<size4.

(154) In a particular example of (a), the sizes are: size1=30°, size6=42°, size2=55°, and size5=65°, size3=78° and size4=90°. But of course the present invention is not limited to this particular example, and the skilled person having the benefit of the present disclosure can easily other find suitable values.