Rotary magnetic ring encoder and method for detecting absolute angle of magnetic ring encoder

By introducing a single pair of pole conductor magnets and multiple sets of Hall element detection signals into the magnetic ring encoder, the problem of difficulty in increasing the number of magnetic pole pairs is solved, and a high-precision magnetic ring encoder is realized, which is suitable for angle detection of large-diameter shaft parts.

CN117367469BActive Publication Date: 2026-01-27SHANXI MECHANICAL & ELECTRICAL DESIGN & RES INST CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311268851.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-28
Publication Date
2026-01-27
Estimated Expiration
2043-09-28

AI Technical Summary

Technical Problem

When increasing the number of magnetic pole pairs to improve accuracy, existing magnetic ring encoders face difficulties in manufacturing and bonding the magnetic pole pairs, resulting in limited measurement accuracy. This makes them particularly unsuitable for the effective inspection of large-diameter shaft parts.

Method used

A combination of a second multi-pole magnet, a first multi-pole magnet, and a single-pole magnetic conductor arranged coaxially is used. By machining toothed portions on the magnetic conductor to increase the number of pole pairs, and combining multiple sets of Hall element detection signals, high-precision angle measurement is achieved.

Benefits of technology

This technology significantly increases the number of pole pairs in multi-pole magnets, improving the encoder's measurement accuracy. It is suitable for angle detection of large-diameter shaft parts and avoids machining and bonding problems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117367469B_ABST
    Figure CN117367469B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of encoders, in particular to a rotary magnetic ring encoder and a method for detecting the absolute angle of the magnetic ring encoder. The rotary magnetic ring encoder comprises a second plurality of pairs of pole magnets, a first plurality of pairs of pole magnets, a single pair of pole magnet conductor assembly and a first group of Hall elements, a second group of Hall elements and a third group of Hall elements; the single pair of pole magnet conductor assembly has a first tooth-shaped part and a second tooth-shaped part, the first group of Hall elements and the second group of Hall elements are arranged adjacent to the first plurality of pairs of pole magnets and the second plurality of pairs of pole magnets respectively, the third group of Hall elements is arranged between the first tooth-shaped part and the second tooth-shaped part, and the three groups of Hall elements output corresponding detection signals according to the magnetic pole signals of the corresponding magnets. The rotary angle of the outermost ring magnet is calibrated by acquiring a mechanical angle with certain precision, so that the measurement precision is greatly improved, and the application is especially suitable for meeting the actual needs of angle detection of large-diameter shaft parts.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of encoder technology, specifically to a rotary magnetic ring encoder and a method for detecting the absolute angle of the magnetic ring encoder. Background Technology

[0002] Magnetic ring encoders have advantages such as simple structure, high temperature resistance, oil resistance, impact resistance, small size, and low cost, and have unique advantages in applications requiring miniaturization and in harsh environments.

[0003] A magnetic ring encoder mainly consists of two parts: a magnetic signal generation structure and a signal processing circuit. The source of the magnetic signal generation is called the magnet. Based on the number of magnetic poles, magnetic ring encoders can be divided into single-pole magnetic ring encoders and multi-pole magnetic ring encoders. Currently, commonly used multi-pole magnetic ring encoders employ a dual multi-pole permanent magnet with coprime inner and outer ring pole pairs. The inner ring multi-pole permanent magnet serves as the reference pole, and the outer ring multi-pole permanent magnet serves as the measuring pole. By using four linear Hall elements to collect the original magnetic field signal through the coaxially rotating reference and measuring poles, the current pole interval of the measuring pole is determined by the positional relationship between the measuring and reference poles, i.e., the pole position characteristic value. Then, the absolute angle of the magnetic ring encoder can be obtained using the absolute angle calculation formula.

[0004] In practical applications, when higher precision magnetic ring encoders are required, such as for use on large-diameter motor shafts or large-diameter hollow shafts, the number of pole pairs of the magnet needs to be increased. A higher number of pole pairs generally results in higher precision. However, bonding hundreds of pole pairs together to form a multi-pole magnet not only makes the pole pairs difficult to manufacture and bond, but also drastically reduces their thickness to less than 1mm. This makes the multi-pole magnet fragile and prone to breakage during the bonding process, thus preventing a significant increase in the number of pole pairs and limiting measurement accuracy. Summary of the Invention

[0005] Therefore, the purpose of this invention is to provide a rotary magnetic ring encoder, which aims to overcome the defects of magnetic ring encoders, such as the difficulty in manufacturing magnetic pole pairs and the difficulty in bonding them to form magnets, due to the increase in the number of magnetic pole pairs as the accuracy of magnetic ring encoders increases.

[0006] Another objective of this invention is to provide a method for detecting the absolute angle of a rotary magnetic ring encoder, which aims to solve the problem that the accuracy of the magnetic ring encoder cannot be improved despite a significant increase in the number of magnetic pole pairs of multi-pole magnets.

[0007] To achieve the above-mentioned objectives, the technical solution adopted by the present invention is as follows:

[0008] The rotary magnetic ring encoder provided by the present invention includes:

[0009] The system comprises a second multi-pole magnet, a first multi-pole magnet, and a single-pole magnetic conductor assembly arranged coaxially and sequentially. The first multi-pole magnet comprises m pairs of magnetic poles, where 3 ≤ m < 23. The second multi-pole magnet comprises n pairs of magnetic poles, where 3 ≤ n < 23, and m is greater than n and is a coprime natural number. The single-pole magnetic conductor assembly comprises a first annular magnetic conductor, a single-pole annular magnet, and a second annular magnetic conductor, all coaxially and tightly fitted together. The outer diameters of the first and second annular magnetic conductors are larger than the outer diameter of the single-pole annular magnet. The first annular magnetic conductor has a first toothed portion on one of its axial end faces, and the second annular magnetic conductor has a second toothed portion that is completely opposite to the first toothed portion. The first toothed portion and the second toothed portion form an annular opening area. Under this structure, the single-pole magnetic conductor assembly achieves an overall shape that tends to be closed in its radial cross section. The opening direction of the opening area is consistent with the radial direction of the single-pole annular magnet, and P teeth are correspondingly opened on both its first toothed portion and the second toothed portion, where p ≥ 100.

[0010] The first group of Hall elements, including a first linear Hall sensor and a second linear Hall sensor, is arranged adjacent to the first multiple pairs of pole magnets and outputs a first group of detection signals based on the magnetic pole signals of the first multiple pairs of pole magnets.

[0011] The second group of Hall elements, including the third linear Hall sensor and the fourth linear Hall sensor, is arranged adjacent to the second multiple pairs of pole magnets and outputs the second group of detection signals according to the magnetic pole signals of the second multiple pairs of pole magnets.

[0012] The third group of Hall elements includes a fifth linear Hall sensor, a sixth linear Hall sensor, and a seventh linear Hall sensor, and is disposed between the first toothed portion and the second toothed portion, and outputs a corrected third group of detection signals based on the magnetic pole signals of the single-pair magnetic conductor assembly.

[0013] Furthermore, the output signals of the first and second linear Hall sensors are 90 degrees out of phase; the output signals of the third and fourth linear Hall sensors are 90 degrees out of phase; and the output signals of the fifth, sixth, and seventh linear Hall sensors are 120 degrees out of phase.

[0014] Furthermore, the first linear Hall sensor, the third linear Hall sensor, and the fifth linear Hall sensor are aligned at one end.

[0015] Furthermore, the first multiple pairs of pole magnets are positioned between the single pair of pole conductor assembly and the second multiple pairs of pole magnets.

[0016] Preferably, m and n are prime numbers and mn < 23 × 19.

[0017] More preferably, the magnetization directions of the first and second pairs of magnetic poles are radial or axial, and there is an angular difference between the initial magnetic pole installation positions of the first and second pairs of magnetic poles.

[0018] Even more preferably, the magnetization direction of the single-pole annular magnet in the single-pole magnetic conductor assembly is radial or axial.

[0019] Furthermore, the present invention also provides a method for detecting the absolute angle of a magnetic ring encoder, applied to the above-mentioned three-ring rotary magnetic ring encoder, the detection method comprising:

[0020] The first group of detection signals, the second group of detection signals, and the corrected third group of detection signals are obtained by the first group of Hall elements, the second group of Hall elements, and the third group of Hall elements, respectively.

[0021] Angle calculations are performed on the first group of detection signals, the second group of detection signals, and the corrected third group of detection signals to obtain the first electrical angle value, the second electrical angle value, and the third electrical angle value, respectively.

[0022] Based on the number of magnetic pole pairs m of the first multi-pole magnet, the number of magnetic pole pairs n of the second multi-pole magnet, the first electrical angle value, and the second electrical angle value, obtain the magnetic pole position characteristic value corresponding to the first multi-pole magnet;

[0023] Based on the magnetic pole position characteristic value, the first magnetic pole interval where the first electrical angle value is currently located is determined;

[0024] The initial mechanical angle θ formed by the first and second pairs of pole magnets is determined based on the first magnetic pole region, the number of pole pairs m of the first multi-pole magnet, and the first electrical angle value. _single ;

[0025] Based on the initial mechanical angle, the tooth count range in which the third electrical angle value currently falls is calibrated;

[0026] The absolute angle of the magnetic ring encoder is determined by using the defined tooth count range, the number of teeth p of the single pair of pole conductor magnet assembly, and the third electrical angle value.

[0027] Furthermore, the first set of detection signals includes: a first detection signal and a second detection signal output by a first linear Hall sensor and a second linear Hall sensor based on the magnetic pole signals of the first multiple pairs of pole magnets;

[0028] The second set of detection signals includes: a third detection signal and a fourth detection signal output by a third linear Hall sensor and a fourth linear Hall sensor based on the magnetic pole signals of the second multi-pair magnet;

[0029] The modified third set of detection signals includes: d-axis and q-axis detection signals output by the fifth, sixth, and seventh linear Hall sensors based on the magnetic pole signals of the single-pair magnetic conductor assembly.

[0030] Furthermore, the d-axis and q-axis detection signals output by the fifth, sixth, and seventh linear Hall sensors based on the magnetic pole signals of the single-pair magnetic conductor assembly specifically include:

[0031] The fifth, sixth, and seventh linear Hall sensors acquire the magnetic pole signals of the single-pair magnetic conductor assembly to obtain the original three-phase Hall signals, which are the fifth detection signal, the sixth detection signal, and the seventh detection signal.

[0032] After zero-point drift processing of the obtained raw three-phase Hall signals, the detection signals of the d-axis and q-axis are output.

[0033] Furthermore, after zero-point drift processing of the obtained raw three-phase Hall signals, the d-axis and q-axis detection signals are output, specifically including:

[0034] The original three-phase Hall signal is processed for zero-point drift according to the following formula (1);

[0035] The third set of detection signals for the d-axis and q-axis is output according to the following formula (2):

[0036]

[0037]

[0038] In the formula, U1, U2, and U3 are the original three-phase Hall signals; U shift U'1, U'2, and U'3 are the three-phase Hall voltage signals after removing the drift; α is the angle between the electrical angle of the detection signal of any linear Hall sensor in the third group of Hall elements and the horizontal direction. d U q The output is the two-phase Hall voltage signal.

[0039] Furthermore, angle calculations are performed on the first set of detection signals, the second set of detection signals, and the corrected third set of detection signals to obtain the first electrical angle value, the second electrical angle value, and the third electrical angle value, specifically including:

[0040] The first group of detection signals, the second group of detection signals, and the corrected third group of detection signals are converted by A / D to obtain the first group of voltage values, the second group of voltage values, and the third group of voltage values;

[0041] Based on the sign and magnitude of the voltage values ​​in the first, second, and third sets of voltage values, the angle ranges of the first, second, and corrected third sets of detection signals are obtained.

[0042] Based on the angle range, the first electrical angle value, the second electrical angle value, and the third electrical angle value are obtained by using the arctangent algorithm on the first group of voltage values, the second group of voltage values, and the third group of voltage values.

[0043] Furthermore, based on the number of pole pairs m of the first multi-pole magnet, the number of pole pairs n of the second multi-pole magnet, the first electrical angle value, and the second electrical angle value, magnetic pole position characteristic values ​​corresponding to the first multi-pole magnet are obtained, specifically including:

[0044] The magnetic pole position characteristic value λ is calculated using the following formula:

[0045]

[0046] In the formula, θ m To obtain the first electrical angle value, θ n This is the second electrical angle value obtained.

[0047] Furthermore, based on the first magnetic pole interval, the number of magnetic pole pairs m of the first multi-pole magnet, and the first electrical angle value, the initial mechanical angle θ formed by the first multi-pole magnet and the second multi-pole magnet is determined. _single Specifically, it includes:

[0048] Calculate the initial mechanical angle θ using the following formula. _single :

[0049] θ _single =N m ×360° / m+θ m / m

[0050] In the formula, N m The first electrical angle value θ m The current magnetic pole zone number, N m ∈[0, m-1].

[0051] Furthermore, based on the initial mechanical angle, the tooth count range in which the third electrical angle value currently lies is calibrated; then, using the determined tooth count range, the tooth count p of the single-pair magnetic conductor assembly, and the third electrical angle value, the absolute angle of the magnetic ring encoder is determined, specifically including:

[0052] Based on the initial mechanical angle obtained, the tooth count range where the third electrical angle value currently falls can be determined by referring to the table index;

[0053] The absolute angle of the magnetic ring encoder is determined using the defined tooth count range, the tooth count p of the single-pole magnetic conductor assembly, and the third electrical angle value, according to the following formula:

[0054] θ=N p ×360° / p+θ p / p

[0055] In the formula, θ is the absolute angle output by the magnetic ring encoder, and N p The third electrical angle value θ p The current tooth count range number, N p ∈[0, p-1].

[0056] The beneficial effects of this invention are as follows: In this invention, the axial end face of the first annular magnetic conductor in the single-pole magnetic conductor assembly is configured as a first toothed portion, and a second annular magnetic conductor is configured with a second toothed portion completely opposite to the first toothed portion, while maintaining an opening between them. When the single-pole magnetic conductor assembly rotates coaxially for one revolution, the number of cycles in the detection signal collected by the Hall element corresponds one-to-one with the number of teeth in the first or second toothed portion. That is, both the first and second toothed portions, each corresponding to having P teeth, will obtain a detection signal containing P cycles. This perfectly matches the detection signal collected by the Hall element of a multi-pole magnetic conductor with P pole pairs. At this time, the single-pole magnetic conductor assembly can be equivalent to a multi-pole magnetic conductor with P pole pairs.

[0057] Building upon this foundation, an additional multi-pole magnet with P pole pairs is axially added to the existing two-ring multi-pole magnet system. However, the increased number of pole pairs presents challenges in fabricating and bonding the pole pairs within the multi-pole magnet system. This invention, employing a single-pole magnetic conductor assembly, perfectly avoids this drawback. Machining easily creates a first toothed portion with P teeth on the first annular magnetic conductor and a second toothed portion with P teeth on the second annular magnetic conductor. By ensuring a one-to-one correspondence between the teeth on the first and second toothed portions, a significant increase in the number of pole pairs is achieved, thereby substantially improving the encoder's measurement accuracy. This also makes it suitable for meeting the practical needs of angle detection for large-diameter shaft parts. Attached Figure Description

[0058] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0059] Figure 1A cross-sectional view of the rotary magnetic ring encoder structure according to an embodiment of this application is shown;

[0060] Figure 2 A perspective view of the rotary magnetic ring encoder structure according to an embodiment of this application is shown;

[0061] Figure 3 This diagram illustrates a flowchart of an absolute angle detection method for a magnetic ring encoder according to an embodiment of this application.

[0062] Figure 4 This invention illustrates the signal detection principle of two linear Hall sensors in an embodiment of this application.

[0063] Figure 5 This illustration shows a schematic diagram of two linear Hall elements detecting signals in an embodiment of this application.

[0064] Figure 6 This invention illustrates the signal detection principle of three linear Hall sensors in an embodiment of this application.

[0065] Figure 7 This illustration shows a schematic diagram of the signals detected by three linear Hall sensors in an embodiment of this application.

[0066] Figure 8 This diagram illustrates the principle of eliminating zero-point drift using three Hall signals in an embodiment of this application.

[0067] Figure 9 A schematic diagram illustrating the principle of synthesizing two-phase Hall signals in an embodiment of this application is shown;

[0068] Figure 10 Show Figure 1-2 There is an angular difference θ between the initial magnetic pole installation positions of the second multi-pole magnet and the first multi-pole magnet. x A schematic diagram;

[0069] Figure 11 This diagram illustrates the number of magnetic pole position feature values ​​in an embodiment of this application. Detailed Implementation

[0070] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, these exemplary embodiments can be implemented in many forms and should not be construed as limited to the embodiments set forth herein. These embodiments are provided to make the invention more comprehensive and complete, and to fully convey the concept of the exemplary embodiments to those skilled in the art. The same reference numerals in the drawings denote the same or similar parts, and therefore repeated descriptions of them will be omitted.

[0071] Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. Numerous specific details are provided in the following description to give a thorough understanding of embodiments of the invention.

[0072] It should be understood that while the terms first, second, third, etc., may be used in this document to describe various components, these components should not be limited by these terms. These terms are used only for distinction. As used herein, the term "and / or" includes any and all combinations of any one or more of the listed items.

[0073] Those skilled in the art will understand that the accompanying drawings are merely schematic diagrams illustrating exemplary embodiments. The modules or processes shown in the drawings are not necessarily essential for implementing the present invention and therefore should not be used to limit the scope of protection of the present invention.

[0074] In practical applications, multi-pole magnetic ring encoders with two coprime pole pairs inevitably encounter situations involving large-diameter shafts. In such cases, the number of pole pairs of the two-ring multi-pole magnets mounted on the large-diameter shaft must be increased accordingly. Ideally, assuming no installation errors and no noise interference from the two-ring multi-pole magnets, the encoder can accurately measure the rotation angle of large-diameter shaft parts. However, those skilled in the art have discovered that in practical applications, when the number of pole pairs of the two-ring multi-pole magnets increases to a certain extent, the detection signal obtained by the Hall element becomes completely consistent within a certain angle range. This causes the encoder to fail to measure the rotation angle of large-diameter shaft parts, resulting in a loss of measurement accuracy.

[0075] In theory, by adding a large number of pole pairs of a multi-pole magnet along the axis of an existing two-ring multi-pole magnet, the actual rotation angle of the encoder can be obtained, thereby meeting the detection requirements of large-diameter shaft workpieces.

[0076] However, a significant increase in the number of magnet pole pairs would result in a sharp reduction in the thickness of the pole pairs to within 1 mm. Furthermore, it would require bonding hundreds of pole pairs together to form a magnet. Firstly, the process of manufacturing the pole pairs would be difficult to achieve, and the bonding process would also be extremely challenging. In the end, the resulting multi-pole magnet would be fragile and easily broken, making it impossible to achieve a significant increase in the number of pole pairs of the multi-pole magnet, thus limiting the measurement accuracy.

[0077] To address the aforementioned problems, this invention provides a rotary magnetic ring encoder comprising a single-pole magnetic conductor assembly. In this invention, an axial end face of the first annular magnetic conductor in the single-pole magnetic conductor assembly is configured as a first toothed portion, and a second annular magnetic conductor has a second toothed portion completely opposite to the first toothed portion, with an opening between them. When the single-pole magnetic conductor assembly rotates coaxially for one revolution, the number of cycles in the detection signal acquired by the Hall element corresponds one-to-one with the number of teeth in the first or second toothed portion. That is, if both the first and second toothed portions have P teeth, a detection signal containing P cycles will be obtained, which perfectly matches the detection signal acquired by a multi-pole magnet with P pole pairs using a Hall element. Therefore, the single-pole magnetic conductor assembly can be considered equivalent to a multi-pole magnet with P pole pairs.

[0078] Furthermore, the single-pole magnetic conductor assembly of this invention perfectly avoids the defects of difficult processing and bonding. By using machining, a first toothed portion with P teeth can be easily machined on the first annular magnetic conductor, and a second toothed portion with P teeth can be machined on the second annular magnetic conductor. The teeth on the first toothed portion and the teeth on the second toothed portion are matched one-to-one, thus significantly increasing the number of pole pairs of the multi-pole magnetic conductors. This greatly improves the measurement accuracy of the encoder and also meets the practical needs of angle detection for large-diameter shaft parts.

[0079] The technical solution of this application will be described in detail below with reference to the accompanying drawings.

[0080] Figure 1 A cross-sectional view of the rotary magnetic ring encoder structure according to an embodiment of this application is shown.

[0081] Figure 2 A perspective view of the rotary magnetic ring encoder structure according to an embodiment of this application is shown.

[0082] like Figure 1 , Figure 2As shown, this application provides a rotary magnetic ring encoder 100, including: a second multi-pole magnet 120, a first multi-pole magnet 110, and a single-pole magnetic conductor assembly 130, all coaxially arranged in a first spatial plane. The single-pole magnetic conductor assembly 130 includes a first annular magnetic conductor 135, a single-pole annular magnet 134, and a second annular magnetic conductor 136, all coaxially arranged in close contact with each other. The outer ring diameters of the first annular magnetic conductor 135 and the second annular magnetic conductor 136 are larger than the outer ring diameter of the single-pole annular magnet 134. The annular magnetic conductor 135 has a first toothed portion on one of its axial end faces, and the second annular magnetic conductor 136 has a second toothed portion that is completely opposite to the first toothed portion. The first toothed portion and the second toothed portion form an annular opening region. Under this structure, the single-pole magnetic conductor assembly 130 achieves an overall shape that tends to be closed in its radial cross section. The opening direction of the opening region is consistent with the radial direction of the single-pole annular magnet 134, and P teeth are correspondingly opened on both its first toothed portion and its second toothed portion, where p ≥ 100.

[0083] The first multi-pole magnet 110 includes m pairs of magnetic poles, where 3 ≤ m < 23. The second multi-pole magnet 120 includes n pairs of magnetic poles, where 3 ≤ n < 23, m is greater than n and mn < 23 × 19. The number of teeth p of the single-pole magnetic conductor assembly 130 can be 100, 200, 300, 400, 500, 600, 700, 800, or even more. The more p there are, the higher the accuracy of the final magnetic ring encoder. For example, according to some embodiments, m and n are prime numbers and coprime to each other. Figure 1 , 2 As shown in this embodiment, m is 5, n is 3, and p is 100, but this application is not limited to this.

[0084] According to an example embodiment of this application, a first multi-pole magnet 110 is positioned between a single-pole magnetic conductor assembly 130 and a second multi-pole magnet 120. The number of pole pairs m of the first multi-pole magnet 110 is greater than the number of pole pairs n of the second multi-pole magnet 120. This is because the diameter of the first multi-pole magnet 110 is larger than the diameter of the second multi-pole magnet 120, and to ensure uniform magnet size, the number of pole pairs in the first multi-pole magnet 110 is greater than the number of pole pairs in the second multi-pole magnet 120.

[0085] This application defines the number of pole pairs m of the first multi-pole magnet 110 and the number of pole pairs n of the second multi-pole magnet 120 in order to obtain an effective detection signal in practical applications and avoid the detection signals from overlapping within a certain angle range.

[0086] According to some embodiments of this application, the magnetization direction of the first multi-pole magnet 110 can be radial or axial. Figure 1 ,2 In the illustrated embodiment, the magnetization direction of the first pair of pole magnets 110 is set to axial. The magnetization direction of the second pair of pole magnets 120 can also be radial or axial. Figure 1 , 2 In the illustrated embodiment, the magnetization direction of the second multi-pole magnet 120 is set to axial. Similarly, the magnetization direction of the single-pole magnet assembly 130 can also be radial or axial. Figure 1 , 2 In the illustrated embodiment, the magnetization direction of the single-pole toroidal magnet 134 is set to the axial direction. This application does not impose any limitation on the magnetization direction.

[0087] Both the first multi-pole magnet 110 and the second multi-pole magnet 120 can be formed by bonding multiple magnetic pole pairs, but are not limited thereto. According to the embodiments of this application, the magnets can be made of neodymium iron boron permanent magnet material and can be directly attached to the rotating shaft or fixed to the rotating shaft. When installing and fixing, there is an angle difference between the initial magnetic poles of the first multi-pole magnet 110 and the second multi-pole magnet 120.

[0088] like Figure 1 , 2 As shown, the rotary magnetic ring encoder 100 also includes a first set of Hall elements, a second set of Hall elements and a third set of Hall elements, used to detect magnetic signals generated by multiple pairs of pole magnets.

[0089] The first set of Hall elements, including a first linear Hall sensor 111 and a second linear Hall sensor 112, is disposed adjacent to the first plurality of pole magnets 110 and outputs a first set of detection signals based on the magnetic pole signals of the first plurality of pole magnets 110. The output signals of the first linear Hall sensor 111 and the second linear Hall sensor 112 are 90 degrees out of phase.

[0090] The second set of Hall elements, including a third linear Hall sensor 121 and a fourth linear Hall sensor 122, is arranged adjacent to the second multi-pair magnet 120 and outputs a second set of detection signals based on the magnetic pole signals of the second multi-pair magnet 120. The output signals of the third linear Hall sensor 121 and the fourth linear Hall sensor 122 are 90 degrees out of phase.

[0091] The third group of Hall elements, including a fifth linear Hall sensor 131, a sixth linear Hall sensor 132, and a seventh linear Hall sensor 133, is disposed between the first toothed portion and the second toothed portion, and outputs a corrected third group of detection signals based on the magnetic pole signals of the single-pair magnetic conductor assembly 130. The output signals of the fifth linear Hall sensor 131, the sixth linear Hall sensor 132, and the seventh linear Hall sensor 133 are 120 degrees out of phase.

[0092] It is important to note here that after the third set of Hall elements rotates once around the axis of the single-pole magnetic conductor assembly 130, it will collect three types of raw detection signals. The number of cycles in each raw detection signal is exactly the same as the number of teeth in the first toothed portion of the first annular magnetic conductor 135 or the second toothed portion of the second annular magnetic conductor 136. That is, the number of teeth P in the first toothed portion or the second toothed portion matches the number of cycles in the detection signal. Therefore, the single-pole magnetic conductor assembly 130, which has P teeth in both the first annular magnetic conductor 135 and the second annular magnetic conductor 136, can be considered as a multi-pole magnetic conductor with P pole pairs.

[0093] Based on the tooth structure, we know that each tooth has a tooth tip and a tooth recess. The distance between the tooth tip and tooth recess of the first tooth section and the corresponding tooth tip and tooth recess of the second tooth section can reflect the change in magnetic field strength. That is, according to the characteristics of the magnetic field, when the distance between the two tooth tips is significantly smaller than the distance between the two tooth recesses, the magnetic field strength between the two tooth tips is significantly greater than the magnetic field strength between the two tooth recesses.

[0094] According to some embodiments, in the encoder structure described above, the first linear Hall sensor 111, the third linear Hall sensor 121, and the fifth linear Hall sensor 131 are aligned at one end; and when the encoder is in operation, the first multi-pole magnet 110, the second multi-pole magnet 120, and the single-pole magnetic conductor assembly 130 rotate together with the shaft, while the three sets of Hall elements remain stationary.

[0095] Figure 3 A flowchart of an absolute angle detection method for a magnetic ring encoder according to an embodiment of this application is shown.

[0096] This application also provides a method for detecting the absolute angle of the above-mentioned magnetic ring encoder, such as... Figure 3 As shown, it includes:

[0097] In step S310, the first group of detection signals, the second group of detection signals, and the corrected third group of detection signals are obtained through the first group of Hall elements, the second group of Hall elements, and the third group of Hall elements, respectively.

[0098] The magnetic ring encoder provided in this application includes three sets of multi-pole magnets: a second multi-pole magnet 120, a first multi-pole magnet 110, and a single-pole magnetic conductor assembly 130. The second multi-pole magnet 120 and the first multi-pole magnet 110 have coprime pole pairs. The three sets of magnets are isolated to prevent magnetic field coupling. The magnetic field around the three sets of multi-pole magnets exhibits a sinusoidal distribution in the circumferential direction.

[0099] The first group of Hall elements and the two linear Hall sensors in the second group of Hall elements, which are respectively arranged corresponding to the first multi-pair magnet 110 and the second multi-pair magnet 120, are arranged at an angle of 90° electrical angle. The following is in conjunction with... Figure 4 , 5 This paper introduces the principle of using two linear Hall sensors to detect the magnetic signals of the second multi-pole magnet 120 or the first multi-pole magnet 110.

[0100] Figure 4 The diagram illustrates the signal detection principle of two linear Hall sensors in an embodiment of this application.

[0101] Figure 5 This diagram illustrates the detection signals of two linear Hall elements in an embodiment of this application.

[0102] As a magnet rotates one revolution along its axis, the magnetic field at any point in space changes systematically. This change can be converted into sine and cosine electrical signals using two linear Hall sensors with an electrical angle difference of 90°. The frequency of these signals is the same as the frequency of the magnetic pole rotation. For example... Figure 4 , 5 As shown, for the second multi-pole magnet 120 with three pole pairs, when the magnet rotates one revolution, the third linear Hall sensor 121 and the fourth linear Hall sensor 122 detect three cycles of sine and cosine signals, i.e., a set of detection signals. The first set of detection signals can be obtained through the first set of Hall elements set in the first multi-pole magnet 110. The second set of detection signals can be obtained through the second set of Hall elements set in the second multi-pole magnet 120.

[0103] In practice, two Hall effect sensors are often arranged at an electrical angle of 90°. However, this method struggles to eliminate errors caused by machining or assembly, and it also fails to suppress harmonic errors present in the magnetic field. Increasing the number of Hall effect sensors or symmetrically arranging them primarily reduces mechanical errors through symmetrical cancellation, while also offsetting harmonic components. Therefore, this application employs a three-Hall effect sensor arrangement between the first and second toothed portions of the single-pole magnetic assembly 130, achieving high calculation accuracy when the electrical angle of the three Hall effect sensors is 120°.

[0104] The third group of Hall elements is placed between the first and second toothed portions, and the three linear Hall sensors are arranged at intervals of 120° electrical angle. The following section combines... Figure 6-9 This paper introduces the principle of detecting magnetic signals of a single-pair magnetic conductor assembly 130 using three linear Hall sensors.

[0105] Figure 6 The diagram illustrates the signal detection principle of three linear Hall sensors in an embodiment of this application.

[0106] Figure 7 This diagram illustrates the signal detection of three linear Hall sensors in an embodiment of this application.

[0107] Figure 8 This diagram illustrates the principle of eliminating zero-point drift using three Hall signals in an embodiment of this application.

[0108] Figure 9 The schematic diagram of synthesizing two-phase Hall signals in the embodiments of this application is shown.

[0109] Based on the above principle, it is easy to see that this magnetic field change can also be converted into sine and cosine electrical signals using three linear Hall sensors with electrical angles differing by 120°. For example... Figure 6 , 7 As shown, for a single-pole magnetic conductor assembly 130, which is a group of multi-pole magnets with six pole pairs, when the magnet rotates one revolution, the fifth linear Hall sensor 131, the sixth linear Hall sensor 132, and the seventh linear Hall sensor 133 detect six cycles of sine and cosine signals, i.e., the original three-phase Hall signals. The original three-phase Hall signals here... Figure 8 The signals are represented by U1, U2, and U3 respectively, with U1 corresponding to the detection signal of the fifth linear Hall sensor 131; U2 corresponding to the detection signal of the sixth linear Hall sensor 132; and U3 corresponding to the detection signal of the seventh linear Hall sensor 133.

[0110] Due to issues with Hall effect placement and mechanical assembly, the original three-phase Hall signals U1, U2, and U3 are superimposed with some error signals, affecting the component U of the synthesized two-phase 90° phase difference. d U q At that time, there is a high probability that the zero point will drift.

[0111] Therefore, it is necessary to perform zero-point drift processing on the acquired raw three-phase Hall signals, such as... Figure 8 As shown, the specific calculation is performed according to the following formula:

[0112]

[0113] In the formula, U1, U2, and U3 are the original three-phase Hall signals; U shift U′1, U′2, and U′3 are the signal drift amounts; U′1, U′2, and U′3 are the three-phase Hall voltage signals after removing the drift amounts.

[0114] Then, the three-phase Hall voltage signals, after removing zero-point drift, are synthesized into a two-phase U with a 90° phase difference. d U q Signals, such as Figure 9 As shown, the conversion is performed using the following formula:

[0115]

[0116] In the formula, α is the angle between the electrical angle of the detection signal of any linear Hall sensor in the third group of Hall elements and the horizontal direction, and U d U q The output two-phase Hall voltage signals are the corrected third set of detection signals.

[0117] At this point, the third set of detection signals with a corrected two-phase phase difference of 90° can be approximated as sine and cosine detection signals acquired by two linear Hall sensors. For the convenience of subsequent textual explanation, this application approximates the third set of Hall elements as two linear Hall sensors arranged at an electrical angle of 90°.

[0118] Of course, the second multi-pair magnet 120 and the first multi-pair magnet 110 of this application can also be arranged in the form of a three-Hall sensor to improve the measurement accuracy, and then the above formula can be used to convert the acquired detection signal into a detection signal with a two-phase phase difference of 90°.

[0119] In step S320, angle calculations are performed on the first group of detection signals, the second group of detection signals, and the corrected third group of detection signals to obtain the first electrical angle value, the second electrical angle value, and the third electrical angle value, respectively.

[0120] After obtaining sine and cosine signals using a linear Hall sensor, a digital voltage value with a certain number of bits can be obtained through an A / D conversion circuit. That is, the first, second, or corrected third set of detection signals are converted to digital values ​​using an A / D converter to obtain the first, second, or third set of voltage values. While the digital voltage value at this point is related to the encoder's measured angle, it is not the encoder's measured angle value and requires angle calculation.

[0121] For each pair of magnetic poles, the two linear Hall sensors are spatially 90° apart, causing their output sine and cosine signals to be 90° out of phase. The signal with the leading phase can be considered a sine signal, and the signal with the lagging phase a cosine signal. Dividing the sine signal by the cosine signal yields the tangent of the signal at that point. Then, performing an arctangent operation on this tangent yields the electrical angle value at that point.

[0122] Since the tangent function's interval is [-90°, 90°], directly calculating the angle using the above process will lead to an error in the angle calculation interval. Therefore, it is necessary to solve the interval error problem by dividing the intervals, that is, obtaining the electrical angle interval of the first group of detection signals, the second group of detection signals, or the corrected third group of detection signals based on the sign and magnitude of the voltage values ​​in the first group of voltage values, the second group of voltage values, or the corrected third group of voltage values.

[0123] Taking the angle calculation of a set of magnetic poles as an example, the 360° of this set of magnetic poles can be divided into 8 equal-length intervals at 45° intervals. By judging the magnitude and sign of the voltage values ​​detected by the two linear Hall elements, the position of the Hall signal at this time can be determined. The implementation principle of the interval arctangent algorithm is shown in Table 1 below. VA and VB are linear Hall detection signals with a 90° phase difference.

[0124] Table 1. Division of Angle Intervals

[0125]

[0126] By dividing the angle range as described above, the signal acquired by the Hall element can be converted into an angle signal, and the converted electrical angle range is [0°, 360°].

[0127] For the magnetic ring encoder of this application, the angle range of the first, second, and corrected third detection signals can be obtained based on the sign and magnitude of the voltage values ​​in the first, second, and third sets of voltage values. According to this angle range, the first, second, and third electrical angle values ​​can be obtained by applying the arctangent algorithm to the first, second, or third sets of voltage values ​​as shown in Table 1. Here, the electrical angle value refers to the electrical angle value of a single pair of magnetic poles in a single cycle, or simply the single-cycle electrical angle value.

[0128] During angle measurement, three sets of multi-pole magnets rotate simultaneously with the shaft, while the linear Hall element remains stationary to receive the changing magnetic field signal generated by the rotating poles. The induced signal from the linear Hall element is processed using the arctangent lookup table method described above to obtain the electrical angle value of a single pair of magnetic poles of the measured magnet. After determining the electrical angle value of a single cycle, the magnetic pole range in which the electrical angle value of that single cycle is located is determined, and finally, the tooth count range on the single pair of pole magnetic conductor assembly 130 is determined to finally obtain the absolute angle value detected by the magnetic ring encoder.

[0129] In the absolute angle detection method for the magnetic ring encoder provided in this application, firstly, an initial mechanical angle with a certain accuracy is determined based on two sets of detection signals from the second multi-pole magnet 120 and the first multi-pole magnet 110. Then, this initial mechanical angle is used to calibrate which specific tooth count interval of the single-pole magnet assembly 130 is currently located within the single-cycle electrical angle value of the single-pole magnet assembly 130. Finally, the mechanical angle of the magnetic ring encoder is calculated using the formula for calculating the mechanical angle value. The mechanical angle mentioned in this application is also referred to as the absolute angle.

[0130] Next, this application will describe in detail how to obtain an initial mechanical angle with a certain accuracy.

[0131] In this application, the initial mechanical angle can be calculated according to the following formula:

[0132] θ _single =N m ×360° / m+θ m / m formula (3) where, N m ∈[0, m-1] or

[0133] θ _single =(N m -1)×360° / m+θ m / m formula (4) where, N m ∈[1, m]

[0134] In the formula, θ _single Let θ be the initial mechanical angle. m N is the single-cycle electrical angle value measured by the linear Hall sensor on the first multi-pole magnet 110. m For θ m The first magnetic pole region in which it is located; m is the number of magnetic pole pairs of the first multi-pole magnet 110. Here, θ m It is also known as the first electrical angle value.

[0135] for Figure 1-2 The encoder shown has an angular difference θ between the initial pole mounting positions of the second multi-pole magnet 120 and the first multi-pole magnet 110. x ,like Figure 10 As shown, the initial mechanical angle can also be expressed as:

[0136] θ _single =N n ×360° / n+θ n / n+θ x Formula (5) where N n ∈[0, n-1] or

[0137] θ _single =(N n -1)×360° / n+θ n / n+θ x Formula (6) where N n ∈[1, n]

[0138] In the formula, θ _single Let θ be the initial mechanical angle. n N is the single-cycle electrical angle value measured by the linear Hall sensor on the second multi-pole magnet 120. n For θ nThe second magnetic pole region in which it is located; n is the number of pole pairs of the second multi-pole magnet 120. θ n It is also known as the second electrical angle value.

[0139] Therefore, once the first or second electrical angle value has been obtained, as long as the corresponding magnetic pole range is determined, the initial mechanical angle value can be calculated according to the above formulas (3) to (6).

[0140] In step S330, the first magnetic pole interval corresponding to the first electrical angle value is determined based on the number of magnetic pole pairs m of the first multi-pole magnet 110, the number of magnetic pole pairs n of the second multi-pole magnet 120, the first electrical angle value, and the second electrical angle value.

[0141] When the linear Hall sensor on the first multi-pole magnet 110 measures the same single-cycle electrical angle value twice, the corresponding single-cycle electrical angle values ​​measured by the linear Hall sensor on the second multi-pole magnet 120 are different. Thus, it is possible to distinguish the number of magnetic pole pairs, i.e., the magnetic pole interval, where the single-cycle electrical angle of the first multi-pole magnet 110 is currently located.

[0142] Regarding the magnetic ring encoder magnet structure provided in this application, when the greatest common divisor of the number of pole pairs m and n of the first multi-pole magnet 110 and the second multi-pole magnet 120 is 1, i.e., coprime, each pole pair of the first multi-pole magnet 110 has a corresponding non-repeating pole portion of the second multi-pole magnet 120. This will be proven by contradiction below.

[0143] Suppose there exists a positive integer N m1 N m2 N n1 N n2 N m1 ≠N m2 This makes the following equation true:

[0144] (N m1 -1)×360° / m+θ m / m=(N n1 -1)×360° / n+θ n / n+θ x

[0145] (N m2 -1)×360° / m+θ m / m=(N n2 -1)×360° / n+θ n / n+θ x Formula (7)

[0146] Where, θ m N is the single-cycle electrical angle value measured by the linear Hall sensor on the first multi-pole magnet 110.m1 N m2 ∈[1, m], where θ is measured twice. m The corresponding first magnetic pole region; θ n N is the single-cycle electrical angle value measured by the linear Hall sensor on the second multi-pole magnet 120. n1 N n2 ∈[1, n], where θ is measured twice. n The corresponding second magnetic pole region; θ x This represents the difference in installation angle between the starting points of a pair of magnetic poles in the two sets of magnets.

[0147] Subtracting the two equations in formula (7), we get:

[0148]

[0149] Since m and n are coprime, and N m1 -N m2 Since ∈[1, m-1], formula (8) is never true, that is, formula (7) is never true.

[0150] From formula (8), we can further obtain:

[0151]

[0152] Formula (9) for any distinct N m and its corresponding N n The following statements are incorrect. That is, for different magnetic pole pairs in the first multi-pole magnet 110 and the corresponding magnetic pole pairs in the second multi-pole magnet 120, formula (9) is not valid. It can be proven that when the linear Hall sensor on the first multi-pole magnet 110 measures the same single-cycle electrical angle value, the two single-cycle electrical angle values ​​measured by the linear Hall sensor on the corresponding second multi-pole magnet 120 are different. In this way, the magnetic pole interval where the first angle value is currently located can be distinguished by the positional relationship between the first multi-pole magnet 110 and the second multi-pole magnet 120.

[0153] By combining equations (3) and (5), we can obtain:

[0154]

[0155] As can be seen, the value on the right side of the expression is a single-cycle electrical angle value that does not contain the current sampling point. Its magnitude depends only on the magnetic pole interval numbers of the second multi-pole magnet 120 and the first multi-pole magnet 110, within the magnetic pole interval number group (N). m N n When the value is fixed, its value is a constant, which is the characteristic value of the mapped interval number group.

[0156] set up This is defined as the characteristic value of the magnetic pole position. As can be seen from formula (10), the characteristic value of the magnetic pole position remains unchanged when the number of pole pairs of the first multi-pole magnet 110 and the second multi-pole magnet 120 remains constant. When at least one of them changes, the characteristic value of the magnetic pole position will also change; otherwise, equation (9) holds, contradicting the premise that the number of pole pairs is coprime. Therefore, the magnetic pole range of the current electrical angle can be determined by calculating the characteristic value of the magnetic pole position.

[0157] When θ x When ≠0, meaning that the starting points of a certain pair of magnetic poles of the second multi-pole magnet 120 and the first multi-pole magnet 110 do not coincide, and cannot be made to coincide by changing the starting points of the coordinates, the characteristic value λ of the magnetic pole position has m+n different values. For example... Figure 11 As shown.

[0158] Figure 11 This diagram illustrates the number of magnetic pole position feature values ​​in an embodiment of this application.

[0159] Figure 11 In the diagram, the first multi-pole magnet 110 has m pole pairs, where m is 5. Therefore, 5 boxes are used to represent the planar unfolded diagram of the 5 pairs of magnetic poles. The second multi-pole magnet 120 has n pole pairs, where n is 3. After unfolding it in planar shape, it is equivalent to introducing 3 vertical lines into the 5 boxes. Since θx≠0, a total of m+n+1 lines will be divided into m+n parts. That is, for encoders with 5 pairs of magnetic poles and encoders with 3 pairs of magnetic poles, there are 8 different values ​​for the position feature value. Similarly, for encoders with 23 pairs of magnetic poles and encoders with 19 pairs of magnetic poles, there are 42 different values ​​for the magnetic pole position feature value.

[0160] After the second pair of multiple pole magnets 120 and the first pair of multiple pole magnets 110 are installed, θ x The value of is already determined, so the m+n different values ​​are fixed. Based on the number of pole pairs m of the first multi-pole magnet 110 and the number of pole pairs n of the second multi-pole magnet 120, as well as the first electrical angle value and the second electrical angle value, the characteristic values ​​of the magnetic pole positions corresponding to the first multi-pole magnet 110 can be determined. Figure 10 Taking the magnetic ring encoder structure shown as an example, θ x When the angle is 40° and the rotation direction of the magnet is clockwise, the characteristic values ​​of the magnetic pole positions obtained by calibration and the corresponding magnetic pole intervals on the first multi-pole magnet 110 are shown in Table 2.

[0161] Table 2 shows the correspondence between λ values ​​and the magnetic pole regions of the first multi-pole magnet.

[0162]

[0163] By using the correspondence between λ and magnetic pole intervals in Table 2, the magnetic pole position can be identified. That is, based on the magnetic pole position characteristic value, the first magnetic pole interval where the first electrical angle value is currently located can be calculated.

[0164] In step S340, the initial mechanical angle θ formed by the first multiple pole magnets 110 and the second multiple pole magnets 120 is determined based on the first magnetic pole interval, the number of pole pairs m of the first multiple pole magnets 110, and the first electrical angle value. _single .

[0165] After determining the first electrical angle value and the first magnetic pole range in which the electrical angle value is located, the initial mechanical angle formed by the first multi-pole magnet 110 and the second multi-pole magnet 120 can be obtained according to formula (3).

[0166] In step S350, the tooth count range in which the third electrical angle value is currently located is calibrated based on the initial mechanical angle.

[0167] Once the initial mechanical angle is obtained, it can be used to calibrate the tooth count range where the third electrical angle value of the single-pole magnetic conductor assembly 130 is currently located.

[0168] In this application, the tooth number interval N p The following correspondence exists between the initial mechanical angle and the initial mechanical angle:

[0169] N p =INT(θ) _single ×p / 360), N p ∈[0, p-1]

[0170] Therefore, an index table is established to correspond to the initial machine angle and the tooth count interval. The first column of the index table is the value of the initial machine angle, and the second column is the interval number of the tooth count interval corresponding to the initial machine angle. Since the initial machine angle is an absolute angle with a value range of [0°, 360°], the first row of the first column is the number 0, and the last row of the first column is the number 360.

[0171] For example, assuming the number of teeth P of the single-pole magnetic assembly 130 is 5, the initial mechanical angles and corresponding tooth number ranges obtained through calibration are shown in Table 3.

[0172] Table 3. Index of the Relationship between Initial Mechanical Angle and Tooth Number Range in Single-Pole Magnet Assembly

[0173] <![CDATA[Initial mechanical angle θ _single > Tooth count interval P 0 0 1 0 2 0 3 … … 3 358 3 359 4 360 4

[0174] Therefore, once the initial mechanical angle is determined, the range of tooth counts can be obtained by looking up the table. However, it is important to note that when creating the table, the row number of the column for the initial mechanical angle should be set to be much larger than the number of pole pairs (i.e., the number of teeth P) of the single-pole magnetic conductor assembly 130. This will significantly improve the accuracy of the magnetic ring encoder.

[0175] For example, in Table 3, the column for initial mechanical angle has 360 rows, while the number of teeth P of the single-pole magnetic assembly 130 is only 5, which is much greater than the requirement of the number of teeth P of the single-pole magnetic assembly 130.

[0176] Assuming the number of teeth P of the single-pole magnetic assembly 130 is 360, the number of rows in the column for the initial mechanical angle can be set to 360, meaning each degree of the initial mechanical angle corresponds to a range of teeth in the single-pole magnetic assembly 130. Similarly, the number of rows in the column for the initial mechanical angle can be set to 3600, so every 0.1 degree of the initial mechanical angle corresponds to a range of teeth in the single-pole magnetic assembly 130. This improves the accuracy of the magnetic ring encoder by 10 times. Correspondingly, the accuracy can also be improved by 20 times, 30 times, or even 100 times or more. This is the significance of having a number of rows much greater than the number of magnetic pole pairs.

[0177] In step S360, the absolute angle of the magnetic ring encoder is determined using the determined tooth count range, the tooth count p of the single-pole magnetic conductor assembly 130, and the third electrical angle value according to the following formula:

[0178] θ=N p ×360° / p+θ p / p

[0179] In the formula, θ is the absolute angle output by the magnetic ring encoder, and N p The third electrical angle value θ p The current tooth count range number, N p ∈[0, p-1].

[0180] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or make equivalent substitutions for some of the technical features. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A rotary magnetic ring encoder, characterized in that, include: A second multi-pole magnet, a first multi-pole magnet, and a single-pole magnetic conductor assembly are arranged coaxially and sequentially. The first multi-pole magnet includes m pairs of magnetic poles, where 3 ≤ m < 23. The second multi-pole magnet includes n pairs of magnetic poles, where 3 ≤ n < 23. m is greater than n and is a natural number that is coprime to each other. The single-pole magnetic conductor assembly includes a first annular magnetic conductor, a single-pole annular magnet, and a second annular magnetic conductor that are coaxially and sequentially tightly fitted together. The outer ring diameters of the first and second annular magnetic conductors are larger than the outer ring diameter of the single-pole annular magnet. The first annular magnetic conductor has a first toothed portion on one of its axial end faces. The second annular magnetic conductor has a second toothed portion that is completely opposite to the first toothed portion. The first and second toothed portions form an annular opening region. The opening direction of the opening region is consistent with the radial direction of the single-pole annular magnet. P teeth are correspondingly opened on both the first and second toothed portions, where p ≥ 100. The first group of Hall elements, including a first linear Hall sensor and a second linear Hall sensor, is arranged adjacent to the first multiple pairs of pole magnets and outputs a first group of detection signals based on the magnetic pole signals of the first multiple pairs of pole magnets. The second group of Hall elements, including the third linear Hall sensor and the fourth linear Hall sensor, is arranged adjacent to the second multiple pairs of pole magnets and outputs the second group of detection signals according to the magnetic pole signals of the second multiple pairs of pole magnets. The third group of Hall elements includes a fifth linear Hall sensor, a sixth linear Hall sensor, and a seventh linear Hall sensor, and is disposed between the first toothed portion and the second toothed portion, and outputs a corrected third group of detection signals based on the magnetic pole signals of the single-pair magnetic conductor assembly.

2. The rotary magnetic ring encoder according to claim 1, characterized in that: The output signals of the first and second linear Hall sensors are 90 degrees out of phase; the output signals of the third and fourth linear Hall sensors are 90 degrees out of phase; and the output signals of the fifth, sixth, and seventh linear Hall sensors are 120 degrees out of phase.

3. The rotary magnetic ring encoder according to claim 1, characterized in that: The first linear Hall sensor, the third linear Hall sensor, and the fifth linear Hall sensor are aligned at one end.

4. The rotary magnetic ring encoder according to claim 1, characterized in that: The first multiple pairs of pole magnets are located between the single pair of pole conductor assembly and the second multiple pairs of pole magnets.

5. The rotary magnetic ring encoder according to claim 1, characterized in that: m and n are prime numbers and mn < 23 × 19.

6. The rotary magnetic ring encoder according to claim 1, characterized in that: The magnetization directions of the first and second pairs of pole magnets are radial or axial, and there is an angular difference between the initial pole installation positions of the first and second pairs of pole magnets.

7. The rotary magnetic ring encoder according to claim 1, characterized in that: The magnetization direction of the single-pole annular magnet in the single-pole magnetic conductor assembly is radial or axial.

8. A method for detecting the absolute angle of a magnetic ring encoder, characterized in that, The detection method, applied in any one of claims 1-7, comprises: The first group of detection signals, the second group of detection signals, and the corrected third group of detection signals are obtained by the first group of Hall elements, the second group of Hall elements, and the third group of Hall elements, respectively. Angle calculations are performed on the first group of detection signals, the second group of detection signals, and the corrected third group of detection signals to obtain the first electrical angle value, the second electrical angle value, and the third electrical angle value, respectively. Based on the number of magnetic pole pairs m of the first multi-pole magnet, the number of magnetic pole pairs n of the second multi-pole magnet, the first electrical angle value, and the second electrical angle value, obtain the magnetic pole position characteristic value corresponding to the first multi-pole magnet; Based on the magnetic pole position characteristic value, the first magnetic pole interval where the first electrical angle value is currently located is determined; The initial mechanical angle θ formed by the first and second pairs of pole magnets is determined based on the first magnetic pole region, the number of pole pairs m of the first multi-pole magnet, and the first electrical angle value. _single ; Based on the initial mechanical angle, the tooth count range in which the third electrical angle value currently falls is calibrated; The absolute angle of the magnetic ring encoder is determined by using the defined tooth count range, the number of teeth p of the single pair of pole conductor magnet assembly, and the third electrical angle value.

9. The method for detecting the absolute angle of a magnetic ring encoder according to claim 8, characterized in that: The first set of detection signals includes: a first detection signal and a second detection signal output by a first linear Hall sensor and a second linear Hall sensor based on the magnetic pole signals of the first multi-pair magnet; The second set of detection signals includes: a third detection signal and a fourth detection signal output by a third linear Hall sensor and a fourth linear Hall sensor based on the magnetic pole signals of the second multi-pair magnet; The modified third set of detection signals includes: d-axis and q-axis detection signals output by the fifth, sixth, and seventh linear Hall sensors based on the magnetic pole signals of the single-pair magnetic conductor assembly.

10. The method for detecting the absolute angle of a magnetic ring encoder according to claim 9, characterized in that: The fifth, sixth, and seventh linear Hall sensors output d-axis and q-axis detection signals based on the magnetic pole signals of the single-pair magnetic conductor assembly, specifically including: The fifth, sixth, and seventh linear Hall sensors acquire the magnetic pole signals of the single-pair magnetic conductor assembly to obtain the original three-phase Hall signals, which are the fifth detection signal, the sixth detection signal, and the seventh detection signal. After zero-point drift processing of the obtained raw three-phase Hall signals, the detection signals of the d-axis and q-axis are output.

11. The method for detecting the absolute angle of a magnetic ring encoder according to claim 10, characterized in that: After zero-point drift processing of the obtained raw three-phase Hall signals, the d-axis and q-axis detection signals are output, specifically including: The original three-phase Hall signal is processed for zero-point drift according to the following formula (1); The third set of detection signals for the d-axis and q-axis is output according to the following formula (2): In the formula, U1, U2, and U3 are the original three-phase Hall signals; U shift U'1, U'2, and U'3 are the three-phase Hall voltage signals after removing the drift; α is the angle between the electrical angle of the detection signal of any linear Hall sensor in the third group of Hall elements and the horizontal direction. d U q The output is the two-phase Hall voltage signal.

12. The method for detecting the absolute angle of a magnetic ring encoder according to claim 11, characterized in that: Angle calculations are performed on the first group of detection signals, the second group of detection signals, and the corrected third group of detection signals to obtain the first electrical angle value, the second electrical angle value, and the third electrical angle value, specifically including: The first group of detection signals, the second group of detection signals, and the corrected third group of detection signals are converted by A / D to obtain the first group of voltage values, the second group of voltage values, and the third group of voltage values; Based on the sign and magnitude of the voltage values ​​in the first, second, and third sets of voltage values, the angle ranges of the first, second, and corrected third sets of detection signals are obtained. Based on the angle range, the first electrical angle value, the second electrical angle value, and the third electrical angle value are obtained by using the arctangent algorithm on the first group of voltage values, the second group of voltage values, and the third group of voltage values.

13. The method for detecting the absolute angle of a magnetic ring encoder according to claim 12, characterized in that: Based on the number of pole pairs m of the first multi-pole magnet, the number of pole pairs n of the second multi-pole magnet, the first electrical angle value, and the second electrical angle value, the magnetic pole position characteristic value corresponding to the first multi-pole magnet is obtained, specifically including: The magnetic pole position characteristic value λ is calculated using the following formula: In the formula, θ m To obtain the first electrical angle value, θ n This is the second electrical angle value obtained.

14. The method for detecting the absolute angle of a magnetic ring encoder according to claim 13, characterized in that: The initial mechanical angle θ formed by the first and second pairs of pole magnets is determined based on the first magnetic pole region, the number of pole pairs m of the first multi-pole magnet, and the first electrical angle value. __ingle Specifically, it includes: Calculate the initial mechanical angle θ using the following formula. _single : i _single =N m ×360° / m+θ m / m In the formula, N m The first electrical angle value θ m The current magnetic pole zone number, N m ∈[0, m-1].

15. The method for detecting the absolute angle of a magnetic ring encoder according to claim 14, characterized in that: Based on the initial mechanical angle, the tooth count range in which the third electrical angle value currently falls is calibrated; Then, using the determined tooth count range, the tooth count p of the single-pole magnetic assembly, and the third electrical angle value, the absolute angle of the magnetic ring encoder is determined, specifically including: Based on the obtained initial mechanical angle, the tooth count range where the third electrical angle value currently falls can be determined by referring to the index table; The absolute angle of the magnetic ring encoder is determined using the defined tooth count range, the tooth count p of the single-pole magnetic conductor assembly, and the third electrical angle value, according to the following formula: θ=N p ×360° / p+θ p / p In the formula, θ is the absolute angle output by the magnetic ring encoder, and N p The third electrical angle value θ p The current tooth count range number, N p ∈[θ,p-1].

Citation Information

Patent Citations

  • Encoder and encoder absolute angle detection method

    CN112113585A

  • Encoder magnet structure, encoder, motor, electrical device, and vehicle

    CN112117079A