METHOD FOR OPTIMIZING A MAGNETIC ANGULAR POSITION SENSOR

The method optimizes magnetic encoders by adjusting polar pitch and correcting sinusoidal curves to enhance accuracy and reliability, addressing performance limitations and enabling broader application in precision-demanding fields.

FR3146349A1Active Publication Date: 2024-09-06CODECHAMP
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
FR2023001949
Authority / Receiving Office
FR · FR
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-02
Publication Date
2024-09-06
Estimated Expiration
2043-03-02

AI Technical Summary

Technical Problem

Magnetic encoders face limitations in performance due to structural constraints and the inability to achieve high precision and reliability, limiting their use in applications requiring high accuracy, despite their advantages of being less sensitive to pollutants, less fragile, and having lower costs compared to optical encoders.

Method used

A method for optimizing magnetic encoders by adjusting the polar pitch and applying corrections to sinusoidal curves using offset, amplitude, and phase adjustments, without structural modifications, through techniques like Fast Fourier Transform (FFT) or iterative methods, to achieve optimal performance.

Benefits of technology

Enhances the performance of magnetic encoders by improving accuracy and reliability, allowing their use in applications that require high precision and reliability, such as land, rail, maritime transport, wind power, and aeronautics, without increasing manufacturing costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000
    Figure 00000000_0000
Patent Text Reader

Abstract

The invention relates to a method for a magnetic encoder (1) comprising at least the following steps: - a) assessing the following characteristics: origin or offset, amplitude and relative phase of the sinusoidal curves, representative of the performance of the magnetic encoder (1), by examining the characteristics one by one, - b) determining at least one characteristic to be obtained to achieve a desired performance of the magnetic encoder (1), with determined characteristics, - c) performing at least one correction of a characteristic, choosing the type of correction to be performed from offset adjustment, amplitude correction and phase correction, - d) verifying the characteristics of the magnetic encoder (1) after correction by assessing the characteristics, - e) comparing the characteristics obtained in step d) with the determined characteristics.- f) Repeat steps c) to e) until the determined characteristics are obtained. Figure to be published with the abbreviation: Fig. 1,
Need to check novelty before this filing date? Find Prior Art

Description

Description Title of the invention: METHOD FOR OPTIMIZING A MAGNETIC ANGULAR POSITION SENSOR

[0001] = The invention relates to a method for optimizing an angular position sensor magnetic or magnetic encoder.

[0002] = Hereafter, for greater readability, the expressions "angular position sensor" and The term "magnetic encoder" will preferably be replaced by the term "encoder". which is the term commonly used by those in the trade.

[0003] There are various types of encoders for determining an angular position of an object: optical encoders, magnetic encoders, encoders of other types such as capacitive or inductive encoders. An angular position sensor ma- A magnetic encoder, or encoder, is a device that allows, without contact, the decoding of... to determine the angular position of an object by tracking the variation of a field magnetic depending on the object's position. In the case of a magnetic encoder, a magnet permanent, at least bipolar, is fixed to a rotating shaft and generates a ma- field magnetic. This magnetic field varies depending on the movement of the magnet, therefore depending on its rotation. The magnetic field is detected by a sensor configured as a disk, which allows for the production of two sinusoidal curves 90° out of phase. and corresponding to a sine for one and a cosine for the other. By calculating the arc tangent, we obtain the measure of an angle. We note that we determine, by measurement with the encoder, four positions phased by 90° at each complete rotation of the magnet on 360°, the positions allowing the generation of two sinusoidal curves out of phase with each other compared to the other. The use of electronic processing of measurements, therefore of The values ​​read by the encoder, from the different positions, allow, overall, for fine-tuning by a factor of 100 the value obtained from the angular position. Thus, as the period of Each curve is given by the relationship 360° / number of magnetic pole pairs, We gain in measurement precision when using multipolar magnets, by example with a number of poles, south and north, generally included but not excluded- sively between 16 and 64. Typically, one can obtain a precision of measurement, therefore a detection of a variation in angular position, on the order of 1.2 arcseconds with a magnetic encoder.

[0004] Compared to an optical encoder, a magnetic encoder is not sensitive to pollutants such as dust. It is less fragile than an optical encoder due to the absence of any glass parts. A magnetic encoder consumes little energy because there is no It has no light source and a long lifespan due to the small number of mechanical wear parts. Magnetic encoders therefore have a cost price lower than optical encoders. Moreover, while in the case of an optical encoder we note an average form factor, that is to say a significant discrepancy between the values ​​of the sine and cosine obtained from the measurements and the values ​​of the theoretical so-called perfect sine and cosine, this is not the case with a magnetic encoder, bipolar or multipolar, which has an excellent form factor, the measurements allowing to obtain almost perfect values ​​of the sine and cosine. Nevertheless, the use of magnetic encoders remains limited because, overall, they offer lower measurement performance than optical encoders. This is due, among other things, to the impossibility of obtaining a polar pitch as fine as that of an optical disc engraving and, for some magnetoresistive encoders, to magnetic hysteresis, that is, the fact that the curves observed during the increase and decrease of the magnetic field are not perfectly superimposable. The term "measurement performance" refers to a set of parameters that can affect a measurement in one way or another. These include, among others, the accuracy (i.e., the truthfulness of the measurements provided), the resolution (i.e., the smallest possible variation in angular position), the encoder's precision (illustrated by the degree of measurement repeatability), and the linearity (assessed by the difference between the measurement and the actual angular position). The electronic component of a magnetic encoder, or ASIC (Application-Specific Integrated Circuit), is an integrated circuit that combines all the functions necessary for the encoder's operation onto a single electronic chip. However, since the ASIC is integrated into the silicon of the electronic chip and positioned at the magnets, the polar pitch of the magnets does not correspond to the silicon pitch. This is because the ASIC is fixed and does not move, unlike the magnets, which, by definition, rotate in a plane parallel to the main plane of the electronic chip. It is important to note that the silicon pitch has a fixed value and is the same for all ASICs. As a reminder, the silicon pitch is the minimum distance separating two sensors integrated onto the same electronic chip.In other words, by its very nature, any electronic chip with an ASIC induces a constant and known offset between the curves corresponding to the sine and cosine measurements. To remedy this, one can either vary the diameter of the circular track on which the magnets are located, or increase or decrease the number of poles. Thus, the pole pitch is adjusted to twice the silicon pitch, which represents the optimal ratio. Such a modification, while effective and simple, is nevertheless limited because it only applies within certain size constraints for magnetic encoders. Indeed, the use and location of the encoder impose constraints in terms of its dimensions. Therefore, while the use of magnetic encoders is possible in... In many fields, such as land, rail, and sea transport, wind power, space and aeronautics, the performance of magnetic encoders limits their use to applications where high precision and / or reliability are not required. To improve the performance and / or usability of magnetic encoders, several solutions have been considered. For example, FR-A-2 893 410 describes a magnetic angular position sensor in which the magnetosensitive elements are located at the same point and provide sinusoidal signals phase-shifted by 90°. FR-A-2 952 430 discloses a bidirectional magnetic field rotation encoder. FR-A-2 965 347 relates to a magnetic encoder incorporating a relative motion probe with respect to the magnet to provide a position value calculated as a function of the arc tangent with a correction factor that minimizes measurement variations. EP-A-3 667 346 describes an encoder with several magnetic elements oriented to minimize magnetic field deflection within a given range.EP-A-1 014 039 describes a magnetic encoder with an arrangement of its constituent elements that allows for a simple structure and high resolution. US-B-6 326 781 discloses a magnetic encoder suitable for determining the angular position of a rotating shaft through 360°. Most of the solutions considered modify the encoder structure and / or only address some of the factors affecting the magnetic encoder's performance. Therefore, there is a need for optimization of magnetic encoders to improve their performance and expand their applications to numerous fields. The invention aims to provide a method for optimizing the performance of a magnetic encoder, without structural modifications and without affecting the manufacturing costs of a magnetic encoder. To this end, the invention relates to a method for optimizing a magnetic encoder comprising a multipolar magnet consisting of two tracks, each formed of a plurality of pairs of bipolar magnets, the south and north poles being alternated between neighboring magnets located on the same track, characterized in that it comprises at least the following steps: - a) to perform an initial measurement of the following characteristics of the two sinusoidal curves: origin along the y-axis or offset, one for a sine and one for a cosine, amplitude and relative phase, representative of the performance of the magnetic encoder, by taking the characteristics one by one, - b) determine a correction of at least one characteristic to be applied to obtain optimal performance of the magnetic encoder defined by a phase shift between the sinusoidal curves equal to one quarter of a period, - c) perform at least one correction of one characteristic for each sinusoidal curve ristique, by choosing the type of correction to perform from among offset adjustment, amplitude correction and phase correction, -d) perform a second measurement of the following characteristics of the two sinusoidal curves: origin along the y-axis or offset, one for a sine and one for a cosine, amplitude and relative phase, representative of the performance of the magnetic encoder, taking the characteristics one by one, - €) compare the characteristics obtained in step d) with the characteristics determined in step b), - f) repeat steps c) to e) for each of the uncorrected characteristics choosing the type of correction to be performed from offset adjustment, amplitude correction and phase correction until the encoder performance as defined in step b is obtained. Thanks to the invention, without structural modification of the encoder, simple and quick corrections can be made, allowing for optimization of the encoder and improved performance. Depending on advantageous but not mandatory aspects, such a process may include one or more of the following steps: Offset correction is performed first. The encoder error corrections are performed by Fast Fourier Transform (FFT). The encoder error corrections are performed iteratively. In the case of a magnetic encoder having two concentric tracks of bipolar magnets, the correction of the inner track is only carried out if the initial errors are greater than one quarter of the period of the sine and cosine signals of the outer track. The external track correction is performed first. The invention will be better understood and other advantages thereof will become more apparent upon reading the following description, given solely by way of non-limiting example and made with reference to the accompanying drawings in which: [Fig.1] is a simplified perspective view of a magnetic angular position sensor according to an embodiment of the invention and [Fig. 2] is an illustration, at a different scale, of two sinusoidal curves out of phase by 90°, one for a sine and one for a cosine, obtained during the measurement of angular positions by the magnetic encoder of [Fig. 1], illustrating one type of error, namely the offset of the origin on the ordinates and [Fig.3] is a similar illustration to [Fig.2], illustrating other types of errors, the offset of the origin on the ordinates having been corrected. Figure 1 illustrates one embodiment of the invention. Here, a magnetic angular position sensor 1, hereafter referred to as the magnetic encoder, is shown. The magnetic field is schematically illustrated. It is configured as a disk 2 freely rotating in a plane, here horizontal, around a central vertical axis represented by the reference AA. On one face, the disk 2 includes a multipolar magnet 3. The magnet 3 is formed by two concentric tracks 4 and 5. Each track 4, 5 is composed of a regular alternation of bipolar magnets with their south poles (S) and north poles (N) alternating. As a reminder, the polar pitch Pp is defined as the distance between two consecutive poles (N or S) of two neighboring magnets located on the same track 4 or 5. The alternation of the N and S poles concerns the bipolar magnets located on the same track 4 or 5, for each track 4, 5.Since the number of pole pairs differs between tracks 4 and 5, there is an angular region where the S and N poles alternate between tracks 4 and 5, and an angular region where poles of the same type, south S or north N, located on tracks 4 and 5 are opposite each other. Thus, each track 4, 5 defines a multipole magnet formed by a plurality, denoted n, of pairs Pa of magnets located on two tracks 4, 5 with alternating south S and north N magnetic poles. The period of a pair Pa, during a complete rotation of the encoder around the AA axis, is 360° / n, with a value of n, the number of magnet pairs, different between tracks 4 and 5, because the latter have a different number of magnets. Such a period corresponds to twice the pole pitch. Each pair Pa, due to its construction with two alternating-pole magnets, provides a magnetic field whose spatial evolution is sinusoidal. The sensors located in the ASIC provide at least two signals per track 4, 5. During one complete rotation, each pair Pa produces an oscillation, which allows the generation, for each signal, from all the pairs, of a sinusoidal curve with n periods. Each track 4, 5 thus provides at least two sinusoidal curves. These sinusoidal curves are offset, as shown in [Fig.2], with one curve corresponding to a sine, denoted Si, and the other to a cosine, denoted Co. A cell 6 comprising the electronic elements for measuring the magnetic field, i.e. the ASIC, is positioned above the magnet 3, in a position where it detects the south poles S and north poles N of the magnets constituting the two tracks 4 and 5 when the latter pass under the cell 6 during the rotation of the encoder 1.By electronic signal processing, the sharpness of the resulting signal can be reduced by a factor of 100, with the understanding that factors corresponding to powers of 2 are often preferred. As a reminder, the sharpness of an encoder is also called its resolution. The resolution of an encoder is the smallest variation in the signal that produces a perceptible, and therefore measurable, variation by the encoder. For example, a number n of magnet pairs Pa is generally between 16 and 64, which corresponds roughly to what is technically feasible given the common dimensions of encoders. For example, with 32 magnet pairs Pa, the period T is: T = (360 / 32) / 100. electronic processing, instead of: T=360 / 32. In other words, the higher the number n of Pa pairs and the greater the fineness of the encoder 1, therefore de facto the smaller the variation of the detectable angular position will be, after electronic processing. The electronic component, i.e., the ASIC, is integrated into the electronic cell 6, more precisely into the silicon constituting the electronic cell, in order to obtain maximum protection of the electronics in a minimum of space. It is known that such an ASIC construction induces a specific offset between the Si and Co sinusoidal curves. This offset corresponds to the ratio between the pole pitch Pp and the silicon pitch as defined previously. It is this ratio that determines the phase shift between the Si and Co curves. The silicon pitch is known and invariable for all ASICs. It is therefore necessary to adjust the pole pitch Pp between the two magnet tracks 4, 5 according to the value of the silicon pitch, in order to obtain the correct desired phase shift. The correct phase shift is equal to one quarter period, denoted: r / 2 - a sine or a cosine with a period of 2π - when the pole pitch Pp is twice the silicon pitch.Indeed, the polar pitch Pp represents half a period and the silicon pitch represents a quarter of a period. One known solution is to vary the diameter of the multipolar magnet by varying the diameter of tracks 4 and 5. However, this solution quickly reaches its limits due to the size constraints that the encoder must respect. To overcome the encoder's size constraints and optimize the polar pitch (Pp) relative to the silicon pitch, the applicant has considered several solutions. These solutions are described in no particular order, reflecting neither their relative importance nor their relative effectiveness. The order presented is simply the one used by the applicant to validate the solutions. Initially, a phase correction was considered between the Si curves of the sine wave and the Co curve of the cosine wave to eliminate the differences between the polar pitches Pp and silicon pitches. Indeed, if the measured phase shift between the two sinusoidal curves does not correspond to an offset of exactly 90°, a phase correction is applied between the Si and Co curves to compensate for the differences between the polar pitches Pp and silicon pitches. The offset will be electronically adjusted to 90° to obtain the correct arctangent and therefore the correct angle. Another solution considered by the applicant is the use of a Hall effect sensor. In a Hall effect sensor, the measurement of magnetic field variation is combined with electronics that ensure excellent signal linearity before transmission. Thus, the smaller the distance between the magnet and the sensor, the stronger the Hall effect will be, because the distance between the magnet and the sensor influences the amplitude of the received signal. This allows for correction of the signal's amplitude Am, Bm, it being understood that the Si and Co curves must have the same amplitude Am, as illustrated in [Fig. 2]. correction is carried out by electronic signal processing or gain which results in a variation of the amplitude Am. Another solution for optimizing a magnetic encoder considered by the applicant concerns the offset Of. This term, in a well-known way, refers to the shift of the origin of the curves Si and Co on the y-axis when they have the same gain, and therefore the same amplitude Am. In this case, the shift of the curves Si and Co is oriented upwards or downwards, as shown in [Fig. 2]. The invention modifies this offset Of so that the shift of the origin between the curves Si and Co is zero, and therefore the curves Si and Co have the same origin on the y-axis. The method of the invention combines three types of corrections: offset adjustment (Of), gain correction, and phase correction, in order to optimize the use of a magnetic encoder. In practice, the first step of the method of the invention is to take stock of the following characteristics: origin along the y-axis (offset Of), amplitude, and relative phase of the sinuoidal curves (Si and Co) of the magnetic encoder, by taking each characteristic individually. These characteristics are representative of the encoder's performance. Next, values ​​for these characteristics are determined to optimize the encoder's performance, thus achieving a correct phase shift of the Si and Co curves equal to one-quarter of a period. These values ​​are determined for each characteristic individually.In other words, a set of specifications is defined according to the needs, which the previously mentioned characteristics must satisfy for a given magnetic encoder. The next step involves performing a correction, choosing the type of correction from among the three types relevant to each of the defined characteristics: offset adjustment (Of), gain or amplitude correction, and phase correction. Once the first correction has been performed for each curve (Si and Co), the other two encoder characteristics are rechecked for each curve (Si and Co). If another correction is necessary because the previously determined characteristics have not yet been achieved, this subsequent correction is performed by selecting it from the corrections not yet applied, for the relevant characteristics and for each curve (Si and Co).These steps are repeated as many times as necessary, until the determined values ​​of the determined characteristics are obtained, namely offset, amplitude and relative phase of the Si and Co curves, therefore until the desired optimization of the encoder is achieved, i.e. until the correct phase shift equal to a quarter of a period. It should be noted that, when corrections are performed using a Fast Fourier Transform (FFT) method, the order of correction The characteristics themselves are of little importance. However, when corrections are made iteratively, the applicant noted that the order is important and it is the characteristic concerning the origin or offset Of that should be corrected first. The corrections are independent of each other and, in principle, all must be performed to optimize the encoder. Advantageously, but not necessarily, the correction of the offset Of is performed first, depending on the chosen correction method. It is known that phase correction shifts the offset Of, but not the other way around. Indeed, during phase correction, the signals Si and Co are a linear combination of the initial signals Si and Co. This results in their respective offsets being modified, following the same linear combination of the initial offsets. It is therefore preferable to begin the corrections with the offset. To perform this encoder error correction, the Fast Fourier Transform (FFT) method is used, the acronym being preferred. It is possible to use FFT correction because each error at the offset Of level has a unique signature, as do combinations of errors.Thus, using FFT, a constant is determined, in the vector sense of the term. The second coordinate of this vector is a complex constant. It is the real part of this constant that will be added to or subtracted from the curve Co and the imaginary part of this constant that will be added to or subtracted from the offset Of of the curve Si to cancel the offsets of the curves. An FFT performed using 2' error measurements evenly distributed over one revolution results in a vector with 2' complex coordinates. The first coordinate is purely real and corresponds to the average of the 2' measurements. As such, it is irrelevant for signal correction. A second coordinate is the complex constant used to correct offsets. A third coordinate is a complex number whose real part is the phase correction factor and whose imaginary part is the differential amplitude. We also obtain a constant that will serve as a multiplier for amplitude correction. This constant differs from the previously mentioned constant because it is real and not a vector. It is, for example, the factor by which the signal Si must be multiplied so that its amplitude is identical to that of the signal Co.The advantage of using the so-called FFT method is that the correction is directly deduced from the result of the FFT, whereas with the iterative method, one must first have measured the amplitude of the two curves, Si or Co, in order to perform the correction. As can be seen in [Fig. 3], the amplitude Am of the curve Co is different from the amplitude Bm of the curve Si; that is, in the example illustrated in [Fig. 3], the amplitude Bm is greater than the amplitude Am. Alternatively, the reverse is true. There is a phase shift, denoted Dr, between the two curves, a phase shift that differs from the expected theoretical phase shift. During phase correction, a multi-factor is obtained. A single factor is used to multiply the Si curve before adding it to the Co curve to obtain a corrected Co curve. To obtain a corrected Si curve, the procedure is identical: the Co curve is multiplied by the same single factor before being added to the Si curve. To obtain an angle that is correct after phase correction, a portion of the value of the sine of Si is "reinjected" into the cosine of Co and vice versa in order to shift the phase without altering the relative amplitude of the Si and Co curves. The reinjected value is modulated by a phase correction factor calculated from the tangent of half the phase shift error of the cosine with respect to the sine, this error being the difference between the observed phase shift and the expected phase shift. The advantage of FFT correction over iteration is that the correction constants and factors can be obtained in a single step. Once the corrections are made, they are validated by a check consisting of measuring the encoder error, which must remain below the defined maximum value, with the understanding that it is preferable to have an optimal signal amplitude for performing the corrections. The correction process, in the case of a magnetic encoder with two magnet pair tracks, is applied first to the outer track 4, called the master track, which generates the encoder's weak points. This term refers to the bits that are beyond the position corresponding to the number of poles, with the weight increasing by powers of two. For example, for a 20-bit encoder with 32 pole pairs (n=6), the least significant bits range from position 7 to position 20. The second, inner track 5, in combination with the master track, generates the encoder's strong points. Therefore, according to the terminology mentioned above, the bits that are below the position corresponding to the number of poles—that is, in the example above, the bits ranging from position 1 to position 6—are the most significant bits.If the error measured on the internal track 5 is sufficiently small, typically less than half a period in absolute value with an optimized algorithm and without signal drift, then the error is acceptable and no correction is needed on the second track 5 because such an error does not affect the accuracy of encoder 1. Performing corrections in the following order—offset, phase, amplitude—implies the need for a final iteration. If corrections are performed in this order, they are applied first to the external track 4, which is the master track. If this correction is sufficient, there is no need to correct the internal track 5, provided the error on track 5 does not exceed half a period, as mentioned above. An optimized algorithm can reconstruct the most significant bits (for example, bits 1 through 6 for 64 points), as long as the error on track 5 before correction is acceptable, as described above.

Claims

Claims

1. Method for optimizing a magnetic encoder (1) comprising a multipolar magnet (3) consisting of two tracks (4, 5) each formed of a plurality of pairs of bipolar magnets, the south (S) and north poles (N) being alternated between neighboring magnets located on the same track (4, 5), characterized in that it comprises at least the following steps: - a) carry out an initial survey of the characteristic values following of the two sinusoidal curves (Si, Co): origin along the axis of ordinates or offset (of), one for a sine and one for a cosine, amplitude (Am, Bm) and relative phase, representative of performance of the magnetic encoder (1), this by taking the characteristics one by a, - b) determine a correction of at least one characteristic to be carried out to obtain optimal performance of the magnetic encoder (1) defined by a phase shift between the sinusoidal curves (Si, Co) equal to a quarter of a period, - c) perform for each sinusoidal curve (Si, Co) at least one correction of a characteristic, by choosing the type of correction to perform among the offset adjustment (Of), the amplitude correction (Am, Bm) and phase correction, -d) carry out a second survey of the characteristics values following of the two sinusoidal curves (Si, CO): origin along the axis ordinates or offset (Of), one for a sine and one for a cosine, amplitude (Am, Bm) and relative phase, representative of performance of the magnetic encoder (1), this by taking the characteristics one by a, - €) compare the characteristics obtained in step d) with the charac- characteristics determined in step b), - f) repeat steps c) to e) for each of the non-characteristics corrected by choosing the type of correction to be made from the offset adjustment (Of), amplitude correction (Am, Bm) and phase correction until encoder performance is achieved (1) as defined in step b).

2. Method according to claim |, characterized in that the correction of the offset (Of) is done first.

3. Method according to claim !, characterized in that the corrections of encoder error (1) is performed by Fast Fourier Transform called FFT (Fast Fourier Transform).

4. Method according to claim !, characterized in that the corrections of the encoder error (1) are performed by iteration.

5. Method according to claim 1, characterized in that in the case of a magnetic encoder (1) having two concentric tracks (4, 5) of magnets bipolar, the correction of the internal track (5) is only carried out if the initial errors are greater than a quarter of the signal period sine and cosine of the external track (4).

6. Method according to claim 5, characterized in that the correction of the outer track (4) is made first.

Citation Information

Patent Citations

  • Magnetic encoder

    EP1014039A1

  • Magnetic angular sensor device for sensing high magnetic fields with low angular error

    EP3667346A1

  • MAGNETIC ANGULAR POSITION SENSOR FOR UP TO 360 STROKE

    FR2893410A1

  • BIDIRECTIONAL MAGNETIC POSITION SENSOR HAVING FIELD ROTATION

    FR2952430A1

  • IMPROVED POSITION SENSOR

    FR2965347A1