Industrial automatic control system

By using a combination of multi-pair magnetoelectric encoders and Hall elements in the servo control system, and using a toothed structure to increase the number of pole pairs, the problem that the measurement accuracy in the servo control system cannot be improved is solved, and high-precision absolute angle output is achieved. and precision control.

CN117348612BActive Publication Date: 2024-08-27SHANXI MECHANICAL & ELECTRICAL DESIGN & RES INST CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202311303110.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-10
Publication Date
2024-08-27
Estimated Expiration
2043-10-10

AI Technical Summary

Technical Problem

In the existing servo control system, the magnetoelectric encoder is difficult to manufacture and bond after increasing the number of pole pairs. As a result, the measurement accuracy cannot be improved, and the detection signals completely overlap within a certain angle range, making it impossible to achieve precise control.

Method used

A multi-pair magnetoelectric encoder is used, including a coaxially arranged second multi-pair magnet, a first multi-pair magnet and a single-pair magnet assembly. The detection signal is collected through the Hall element and the toothed structure is used. Increase the number of pole pairs to improve measurement accuracy, and process the signal through the Hall element on the circuit board to achieve high-precision output of absolute angles.

Benefits of technology

It effectively overcomes the manufacturing difficulties caused by the increase in the number of pole pairs, improves the measurement accuracy of the magnetoelectric encoder and the positioning accuracy of the servo motor, and achieves precise control of the servo control system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117348612B
    Figure CN117348612B
Patent Text Reader

Abstract

The present invention relates to the field of servo control technology, and in particular to an industrial-grade automatic control system. The industrial-grade automatic control system includes a servo motor, a multi-pole magnetoelectric encoder, a servo controller, a servo driver and an actuator; the multi-pole magnetoelectric encoder includes a second multi-pole magnet, a first multi-pole magnet, a single-pole magnet assembly and a first group of Hall elements, a second group of Hall elements and a third group of Hall elements, the single-pole magnet assembly has a first tooth-shaped portion and a second tooth-shaped portion, the third group of Hall elements is arranged between the first tooth-shaped portion and the second tooth-shaped portion, and the three groups of Hall elements output corresponding detection signals according to the magnetic pole signals of the corresponding magnets. The multi-pole magnetoelectric encoder in the present invention calibrates the rotation angle of the magnetoelectric encoder by obtaining a mechanical angle with a certain accuracy, thereby greatly improving the measurement accuracy. The present invention is particularly suitable for the working conditions of angle detection and position detection of large and medium-sized servo systems.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of servo control, and in particular to an industrial-grade automatic control system. Background Art

[0002] The servo control system is an automatic control system, usually used to control motors and other actuators. It detects changes in physical quantities through sensors, and then calculates and controls them so that the output signal and input signal reach the expected value, thereby achieving precise control of the motion state of the actuator. Servo control systems can be divided into position control, speed control, and torque control according to different control methods. Position control refers to the process in which the control system controls the actuator to reach the target position; speed control refers to the control system controlling the actuator to achieve precise control of the motion speed; torque control refers to the control system controlling the size and direction of the actuator output torque. With the upgrading of the manufacturing industry, the demand for lean manufacturing equipment in various downstream industries is increasing. Lean equipment requires precise control of motion elements such as displacement, speed, and torque, all of which need to be achieved through industrial-grade automatic control systems.

[0003] In the servo control system, the accuracy of the encoder directly affects the speed control and positioning accuracy of the system. At present, the photoelectric encoder is widely used. It is installed on the rotating shaft and the angle information can be transmitted to the controller through the cable. However, the photoelectric encoder still has some shortcomings that are difficult to overcome. For example, the code disk of the photoelectric encoder is made of glass, and very thin lines are deposited on the glass. Although its thermal stability and accuracy can meet the measurement requirements, the photoelectric encoder has low vibration and impact resistance, and is not suitable for harsh environments such as dust and condensation. In addition, its structure and positioning assembly are complex. In production, it is also necessary to ensure high assembly accuracy, which directly affects production efficiency and ultimately affects the cost of the product.

[0004] In order to overcome the shortcomings of the above encoders, a single-pole or two-ring multi-pole magnetoelectric encoder for servo control systems has emerged. This encoder includes a magnet, a magnetic sensing element, and a signal processing circuit. The magnet generates a changing magnetic field as the servo motor shaft rotates. The magnetic sensing element senses the changing magnetic field and converts the magnetic signal into an electrical signal and outputs it to the signal processing circuit. The signal processing circuit processes the electrical signal into an angle signal for output.

[0005] With the improvement of lean equipment control accuracy, the resolution requirements for magnetoelectric encoders are getting higher and higher. In order to increase the resolution of the encoder, the number of magnetic pole pairs is usually increased. However, in actual application, when the number of magnetic pole pairs of a two-ring multi-pole magnetoelectric encoder increases to a certain number, on the one hand, the thickness of a single magnetic pole pair processed will be sharply reduced to less than 1mm, which is not only not conducive to the bonding of the magnetic pole pairs, but also causes the problem of multi-pole magnets being fragile and easy to break during the bonding process; on the other hand, due to the influence of errors and noise, the detection signals collected by the magnetic sensitive element will completely overlap within a certain angle range, which will make it impossible to obtain the absolute angle of the magnetoelectric encoder, and it will be impossible to achieve the precision control requirements of the servo control system. Summary of the invention

[0006] In view of this, the purpose of the present invention is to provide an industrial-grade automatic control system, aiming to overcome the defect that the production of multi-pole magnets is difficult due to the increase in the number of pole pairs, and at the same time solve the problem that the detection signals collected by the magnetic sensitive elements completely overlap within a certain interval due to the increase in the number of pole pairs, resulting in the inability to improve the accuracy of the servo control system.

[0007] In order to achieve the above-mentioned object of the invention, the technical solution adopted by the present invention is as follows:

[0008] The industrial-grade automatic control system provided by the present invention includes a servo motor;

[0009] A multi-pole magnetoelectric encoder is coaxially arranged with the servo motor and outputs a high-precision and / or ultra-high-precision absolute angle corresponding to the speed range of the servo motor according to the speed range of the servo motor, wherein the multi-pole magnetoelectric encoder includes a second multi-pole magnet coaxially arranged, a first multi-pole magnet, a single-pole magnet assembly and a circuit board, wherein the first multi-pole magnet includes m pairs of poles and 3≤m<23, the second multi-pole magnet includes n pairs of poles and 3≤n<23, m is greater than n and is a natural number that is mutually prime, and the single-pole magnet assembly includes a first annular magnet, a single-pole annular magnet and a second annular magnet that are coaxially and axially installed in sequence and tightly fit, and the first ... coaxially and axially installed in sequence and tightly fit, and the first multi-pole magnet includes n pairs of poles and 3≤n<23, m is greater than n and is a natural number that is coaxially and axially installed, and the first multi-pole magnet assembly includes n pairs of poles and 3≤n<23, m is greater than n and is a natural The outer ring diameters of the first annular magnetizer and the second annular magnetizer are larger than the outer ring diameter of the single-pole annular magnet, wherein the first annular magnetizer is provided with a first tooth-shaped portion on one axial end face thereof, and the second annular magnetizer is provided with a second tooth-shaped portion which is completely opposite to the first tooth-shaped portion, and the first tooth-shaped portion and the second tooth-shaped portion form an annular opening area. Under this structure, the single-pole magnetizer assembly realizes that the overall shape tends to be closed on its radial cross section, wherein the opening direction of the opening area is consistent with the radial direction of the single-pole annular magnet, and P teeth are correspondingly provided on the first tooth-shaped portion and the second tooth-shaped portion, and p≥100; in addition, the circuit board includes:

[0010] A first group of Hall elements, including a first linear Hall sensor and a second linear Hall sensor, are disposed adjacent to the first multi-pole magnet and output a first group of detection signals according to magnetic pole signals of the first multi-pole magnet;

[0011] A second group of Hall elements, including a third linear Hall sensor and a fourth linear Hall sensor, is disposed adjacent to the second multi-pole magnet and outputs a second group of detection signals according to magnetic pole signals of the second multi-pole magnet;

[0012] A third set of Hall elements, including a fifth linear Hall sensor, a sixth linear Hall sensor and a seventh linear Hall sensor, and disposed between the second tooth-shaped portion and the first tooth-shaped portion, and outputting a modified third set of detection signals according to the magnetic pole signal of the single-pole magnetic conductive assembly;

[0013] The servo controller includes a control unit and a current sensor. The control unit receives the servo motor shaft angle information fed back by the multi-pole magnetoelectric encoder and the current signal collected by the current sensor. After processing, the servo controller issues a working instruction to control the servo motor.

[0014] A servo driver receives the control instruction from the servo controller and outputs a drive signal of the servo motor according to the load requirement of the servo motor;

[0015] The actuator is connected to the servo motor, and the servo motor drives the actuator to achieve precise control of its motion state.

[0016] Furthermore, the multi-pole magnetoelectric encoder selects the high-precision and / or ultra-high-precision absolute angle within the output servo motor speed range through the following formula:

[0017]

[0018]

[0019]

[0020] Wherein, θ3 is the final absolute angle output by the multi-pole magnetoelectric encoder; θ1 is the high-precision absolute angle determined by the first multi-pole magnet and the second multi-pole magnet; θ2 is the ultra-high-precision absolute angle determined by combining the obtained high-precision absolute angle θ1 with the single-pole magnet assembly; ω is the current speed of the servo motor; ω0 is 0.8 times the maximum speed allowed when the multi-pole magnetoelectric encoder outputs an ultra-high-precision absolute angle; ω1 is 1.2 times the maximum speed allowed when the multi-pole magnetoelectric encoder outputs an ultra-high-precision absolute angle; T represents the control period of the control instruction, and k represents the kth control period.

[0021] Furthermore, the servo motor is a permanent magnet synchronous servo motor.

[0022] Furthermore, m and n are prime numbers and mn<23×19.

[0023] Furthermore, the first group of detection signals includes: a first detection signal and a second detection signal output by the first linear Hall sensor and the second linear Hall sensor according to the magnetic pole signal of the first multi-pole magnet; the first detection signal and the second detection signal have a phase difference of 90 degrees;

[0024] The second group of detection signals includes: a third detection signal and a fourth detection signal output by the third linear Hall sensor and the fourth linear Hall sensor according to the magnetic pole signal of the second multi-pole magnet; the phase difference between the third detection signal and the fourth detection signal is 90 degrees.

[0025] Furthermore, the corrected third group of detection signals includes: d-axis and q-axis detection signals output by the fifth linear Hall sensor, the sixth linear Hall sensor and the seventh linear Hall sensor according to the magnetic pole signal of the single-pole magnetic conductive assembly; wherein, after the fifth linear Hall sensor, the sixth linear Hall sensor and the seventh linear Hall sensor collect the magnetic pole signal of the single-pole magnetic conductive assembly, they obtain original three-phase Hall signals with a phase difference of 120 degrees, and the original three-phase Hall signals are the fifth detection signal, the sixth detection signal and the seventh detection signal; and then, after the obtained original three-phase Hall signals are processed by zero-point drift, the d-axis and q-axis detection signals with a phase difference of 90 degrees are output.

[0026] Preferably, the first linear Hall sensor is aligned with the third linear Hall sensor and the fifth linear Hall sensor at one end.

[0027] Preferably, the first multi-pole magnet is located between the single-pole magnet assembly and the second multi-pole magnet, and there is an angle difference between the initial magnetic pole installation positions of the first multi-pole magnet and the second multi-pole magnet.

[0028] Preferably, the magnetization direction of the first multi-pole magnet and the second multi-pole magnet is consistent with the radial or axial direction of the servo motor shaft; the magnetization direction of the single-pole magnetic conductor assembly is consistent with the radial or axial direction of the servo motor shaft.

[0029] Preferably, the actuator is any one of a screw rod, a guide rail, a reducer, a two-dimensional turntable, and a CNC operating platform.

[0030] Beneficial effects of the present invention: The present invention sets an axial end face of the first annular magnet in the single-pole magnet assembly as a first tooth-shaped portion, sets a second tooth-shaped portion on the second annular magnet that is completely opposite to the first tooth-shaped portion, and keeps an opening between the two. When the single-pole magnet assembly rotates coaxially for one circle, the number of cycles in the detection signal collected by the Hall element corresponds to the number of teeth of the first tooth-shaped portion or the second tooth-shaped portion, that is, the first tooth-shaped portion and the second tooth-shaped portion both have P teeth, and a detection signal containing P cycles will be obtained, which is exactly consistent with the detection signal collected by the Hall element of a multi-pole magnet with P pole pairs. At this time, the single-pole magnet assembly can be regarded as a multi-pole magnet with a pole pair number of P.

[0031] In addition, the multi-pole magnetoelectric encoder used in the industrial-grade automatic control system provided by the present invention is a magnet with a multi-pole pair whose number of magnetic pole pairs is much larger than that of the two-pole magnets, which is axially added on the basis of the original two-ring multi-pole magnet. Due to the increase in the number of pole pairs, the magnetic pole pairs in the multi-pole magnet are difficult to manufacture and difficult to bond. The present invention uses a single-pole magnet assembly to perfectly avoid this defect, that is, a first tooth-shaped portion with P teeth can be easily machined on the first annular magnet, and a second tooth-shaped portion with P teeth can be machined on the second annular magnet, and the teeth on the first tooth-shaped portion are matched one by one with the teeth on the second tooth-shaped portion, so that a substantial increase in the number of pole pairs of the added multi-pole magnet is achieved, and the actual rotation angle of the added multi-pole magnet is calibrated by using the mechanical angle with a certain accuracy obtained by the original two-ring multi-pole magnet, thereby greatly improving the measurement accuracy of the magnetoelectric encoder, and correspondingly greatly improving the positioning accuracy and angle control accuracy of the motor. The industrial-grade automatic control system provided by the present invention is particularly suitable for working scenarios of angle detection and position detection of large and medium-sized servo systems. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0033] Figure 1 The following is a structural block diagram of the industrial automatic control system according to an embodiment of the present application;

[0034] Figure 2 A cross-sectional view of a multi-pole magnetoelectric encoder according to an embodiment of the present application is shown;

[0035] Figure 3A three-dimensional diagram showing a multi-pole magnetoelectric encoder according to an embodiment of the present application;

[0036] Figure 4 A flow chart of an absolute angle detection method of a multi-pole magnetoelectric encoder according to an embodiment of the present application is shown;

[0037] Figure 5 The signal detection principle diagram of two linear Hall sensors in the embodiment of the present application is shown;

[0038] Figure 6 A schematic diagram of detection signals of two linear Hall elements in an embodiment of the present application is shown;

[0039] Figure 7 The following are schematic diagrams of signal detection of three linear Hall sensors in the embodiment of the present application;

[0040] Figure 8 A schematic diagram of detection signals of three linear Hall sensors in an embodiment of the present application is shown;

[0041] Fig. 9 A schematic diagram showing the use of three Hall signals to eliminate zero drift in an embodiment of the present application is shown;

[0042] Fig.10 The schematic diagram of synthesizing two-phase Hall signals in an embodiment of the present application is shown;

[0043] Fig.11 out Figure 2-3 There is an angle difference θ between the installation positions of the starting magnetic poles of the second multi-pole magnet and the first multi-pole magnet x Schematic diagram of

[0044] Fig.12 A schematic diagram showing the number of characteristic values ​​of the magnetic pole position according to an embodiment of the present application;

[0045] Fig.13 A linear schematic diagram showing the angle switching selection output relationship of the absolute angle of the multi-pole magnetoelectric encoder in an embodiment of the present application;

[0046] Fig.14 A flow chart of the control method of the industrial-grade automatic control system in the embodiment of the present application is shown;

[0047] Fig.15 The first sub-flow chart of the control method of the industrial-grade automatic control system in the embodiment of the present application is shown;

[0048] Fig.16 The second sub-flow chart of the industrial-grade automatic control system control method in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0049] The exemplary embodiments will be described more fully below with reference to the accompanying drawings. However, the exemplary embodiments can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. These embodiments are provided to make the present invention more comprehensive and complete and to fully convey the concepts of the exemplary embodiments to those skilled in the art. The same reference numerals in the figures represent the same or similar parts, and thus their repeated description will be omitted.

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

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

[0052] Those skilled in the art will appreciate that the drawings are only schematic diagrams of exemplary embodiments, and the modules or processes in the drawings are not necessarily necessary for implementing the present invention, and therefore cannot be used to limit the protection scope of the present invention.

[0053] With the improvement of lean equipment control accuracy, the resolution requirements for magnetoelectric encoders are getting higher and higher. In order to increase the resolution of the encoder, the number of magnetic pole pairs is usually increased. However, in actual application, when the number of magnetic pole pairs of a two-ring multi-pole magnetoelectric encoder increases to a certain number, on the one hand, the thickness of a single magnetic pole pair processed will be sharply reduced to less than 1mm, which is not only not conducive to the bonding of the magnetic pole pairs, but also causes the problem of multi-pole magnets being fragile and easy to break during the bonding process; on the other hand, due to the influence of errors and noise, the detection signals collected by the magnetic sensitive element will completely overlap within a certain angle range, which will make it impossible to obtain the absolute angle of the magnetoelectric encoder, and it will be impossible to achieve the precision control requirements of the servo control system.

[0054] In order to solve the above problems, the present application provides a multi-pole magnetoelectric encoder, which includes a single-pole magnetoelectric assembly. The present invention sets an axial end face of the first annular magnet in the single-pole magnetoelectric assembly as a first tooth-shaped portion, and sets a second tooth-shaped portion on the second annular magnetoelectric assembly that is completely opposite to the first tooth-shaped portion, and maintains an opening between the two. When the single-pole magnetoelectric assembly rotates coaxially for one circle, the number of cycles in the detection signal collected by the Hall element corresponds to the number of teeth of the first tooth-shaped portion or the second tooth-shaped portion, that is, the first tooth-shaped portion and the second tooth-shaped portion both correspond to P teeth and will obtain a detection signal containing P cycles, which is exactly consistent with the detection signal collected by the Hall element of a multi-pole magnet with P pole pairs. At this time, the single-pole magnetoelectric assembly can be regarded as a multi-pole magnet with a pole pair number of P.

[0055] On this basis, the present application provides an industrial-grade automatic control system. The multi-pole magnetoelectric encoder in the industrial-grade automatic control system adopts three groups of multi-pole magnets arranged axially coaxially, wherein the additional multi-pole magnets are the above-mentioned single-pole magnet conductor assembly. The core of the present invention is to axially add a multi-pole magnet whose number of magnetic pole pairs is much larger than that of the two-ring magnetic pole pairs on the basis of the original two-ring multi-pole magnet, and use the mechanical angle with a certain accuracy obtained by the original two-ring multi-pole magnet to calibrate the actual rotation angle of the additional multi-pole magnet, thereby greatly improving the measurement accuracy of the magnetoelectric encoder, and correspondingly greatly improving the positioning accuracy and angle control accuracy of the servo control system. The industrial-grade automatic control system provided by the present invention is particularly suitable for working scenarios of angle detection and position detection of large and medium-sized servo systems. The technical solution of the present application will be described in detail below in conjunction with the accompanying drawings.

[0056] Figure 1 The following is a structural block diagram of the industrial-grade automatic control system according to an embodiment of the present application.

[0057] like Figure 1 As shown, the industrial-grade automatic control system includes: a servo controller, a servo driver, a multi-pole magnetoelectric encoder, a servo motor, an actuator and a host computer.

[0058] Among them, a multi-pole magnetoelectric encoder is coaxially arranged with the servo motor and outputs a high-precision and / or ultra-high-precision absolute angle corresponding to the speed range of the servo motor according to the speed range of the servo motor; a servo controller includes a control unit and a current sensor, and the control unit in this example is an MCU control chip; the control unit receives the servo motor shaft angle information fed back by the multi-pole magnetoelectric encoder and the current signal collected by the current sensor, and after processing, the servo controller issues a working instruction to control the servo motor; a servo driver receives the control instruction issued by the servo controller and outputs a driving signal of the servo motor according to the load requirement of the servo motor; an actuator is connected to the servo motor, and the servo motor drives the actuator to achieve precise control of its motion state; a host computer communicates with the controller and sends an angle instruction of the servo motor to the servo controller.

[0059] According to an exemplary embodiment of the present application, the multi-pole magnetoelectric encoder includes an encoder magnet structure 100 and a circuit board. The encoder magnet structure 100 includes a second multi-pole magnet 120, a first multi-pole magnet 110, and a single-pole magnet assembly 130 coaxially arranged. A first group of Hall elements, a second group of Hall elements, and a third group of Hall elements are arranged on the circuit board. In this example, the circuit board is not shown in the figure.

[0060] According to an exemplary embodiment of the present application, the servo motor is a permanent magnet synchronous servo motor, comprising a stator, a rotor, a rotating shaft, a magnetic steel, a winding, and a series of connecting parts. The first multi-pole magnet 110, the second multi-pole magnet 120, the single-pole magnet assembly 130, and the circuit board work simultaneously. The first multi-pole magnet 110, the second multi-pole magnet 120, and the single-pole magnet assembly 130 rotate together with the rotating shaft of the servo motor. The three sets of Hall elements on the circuit board remain stationary.

[0061] Figure 2 A cross-sectional view of a multi-pole magnetoelectric encoder according to an embodiment of the present application is shown.

[0062] Figure 3 A three-dimensional diagram of a multi-pole magnetoelectric encoder according to an embodiment of the present application is shown.

[0063] like Figure 2 , Figure 3As shown, a multi-pole magnetoelectric encoder comprises: a second multi-pole magnet 120, a first multi-pole magnet 110 and a single-pole magnet assembly 130 coaxially arranged in a first spatial plane, the single-pole magnet assembly 130 comprising a first annular magnet 135, a single-pole annular magnet 134 and a second annular magnet 136 coaxially and axially installed in sequence, and the outer ring diameters of the first annular magnet 135 and the second annular magnet 136 are larger than the outer ring diameter of the single-pole annular magnet 134, wherein the first annular magnet The body 135 is provided with a first tooth-shaped portion on one axial end face thereof, and the second annular magnet 136 has a second tooth-shaped portion which is completely opposite to the first tooth-shaped portion, and the first tooth-shaped portion and the second tooth-shaped portion form an annular opening area. Under this structure, the single-pole magnet assembly 130 realizes that the overall shape tends to be closed in its radial cross section, wherein the opening direction of the opening area is consistent with the radial direction of the single-pole annular magnet 134, and P teeth are correspondingly provided on the first tooth-shaped portion and the second tooth-shaped portion, and p≥100.

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

[0065] According to an exemplary embodiment of the present application, the first multi-pole magnet 110 is disposed between the single-pole magnet assembly 130 and the 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 greater than the diameter of the second multi-pole magnet 120. In order to make the magnet size uniform, the number of magnetic pole pairs of the first multi-pole magnet 110 is greater than the number of magnetic pole pairs of the second multi-pole magnet 120.

[0066] In the present application, 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 are limited in order to obtain effective detection signals and avoid overlap of detection signals within a certain angle range in actual application.

[0067] According to some embodiments of the present application, the magnetization direction of the first multi-pole magnet 110 may be consistent with the radial direction or the axial direction of the servo motor shaft. Figure 2, 3 In the illustrated embodiment, the magnetization direction of the first multi-pole magnet 110 is set to be axial. The magnetization direction of the second multi-pole magnet 120 can also be consistent with the radial direction or axial direction of the servo motor shaft. Figure 2 , 3 In the embodiment shown, the magnetization direction of the second multi-pole magnet 120 is set to be axial. Similarly, the magnetization direction of the single-pole magnetic conductive assembly 130 can also be consistent with the radial direction or axial direction of the servo motor shaft. Figure 2 , 3 In the illustrated embodiment, the magnetization direction of the single-pole magnetic conductor assembly 130 is set to be axial. The present application does not impose any limitation on the magnetization direction.

[0068] The first multi-pole magnet 110 and the second multi-pole magnet 120 can be formed by bonding multiple magnetic poles, but are not limited thereto. According to an embodiment of the present application, the magnet can be made of a neodymium iron boron permanent magnet material, directly attached to the rotating shaft, or fixed to the rotating shaft, and when installed and fixed, there is an installation angle difference between the starting magnetic poles of the first multi-pole magnet 110 and the second multi-pole magnet 120.

[0069] like Figure 2 , 3 As shown, the encoder magnet structure 100 also includes a first group of Hall elements, a second group of Hall elements and a third group of Hall elements, which are used to detect magnetic signals generated by a multi-pole magnet.

[0070] The first group of Hall elements, including the first linear Hall sensor 111 and the second linear Hall sensor 112, are disposed adjacent to the first multi-pole magnet 110 and output a first group of detection signals according to the magnetic pole signals of the first multi-pole magnet 110. The output signals of the first linear Hall sensor 111 and the second linear Hall sensor 112 differ in phase by 90 degrees.

[0071] The second group of Hall elements, including the third linear Hall sensor 121 and the fourth linear Hall sensor 122, are disposed adjacent to the second multi-pole magnet 120 and output a second group of detection signals according to the magnetic pole signals of the second multi-pole magnet 120. The output signals of the third linear Hall sensor 121 and the fourth linear Hall sensor 122 differ in phase by 90 degrees.

[0072] The third group of Hall elements includes a fifth linear Hall sensor 131, a sixth linear Hall sensor 132 and a seventh linear Hall sensor 133, and is disposed between the second tooth-shaped portion and the first tooth-shaped portion, and outputs a modified third group of detection signals according to the magnetic pole signal of the single-pole magnetic conductive 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 differ in phase by 120 degrees.

[0073] It should be noted here that after the single-pole magnet assembly 130 rotates around the axis for one circle, the third group of Hall elements will collect three kinds of original detection signals, and the number of cycles in each original detection signal is exactly the same as the number of teeth of the first tooth-shaped portion in the first annular magnet 135 or the second tooth-shaped portion in the second annular magnet 136. That is, the number of teeth P of the first tooth-shaped portion or the second tooth-shaped portion coincides with the number of cycles in the detection signal, so the single-pole magnet assembly 130 with P teeth in both the first annular magnet 135 and the second annular magnet 136 can be regarded as a multi-pole magnet with a pole pair number of P.

[0074] According to the tooth-shaped structure, it can be known that each tooth contains a tooth top and a tooth recess. The distance between the tooth top and the tooth recess of the tooth on the first tooth-shaped portion and the tooth top and the tooth recess of the tooth on the corresponding second tooth-shaped portion 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 tops is significantly smaller than the distance between the two tooth recesses, the magnetic field strength between the two tooth tops is significantly greater than the magnetic field strength between the two tooth recesses.

[0075] According to some embodiments, in the above encoder structure, the first linear Hall sensor 111 , the third linear Hall sensor 121 , and the fifth linear Hall sensor 131 are aligned at one end.

[0076] Figure 4 A flow chart of an absolute angle detection method of a multi-pole magnetoelectric encoder according to an embodiment of the present application is shown.

[0077] The present application also provides a method for detecting the absolute angle of the multi-pole magnetoelectric encoder. Figure 4 As shown, including:

[0078] In step S410, a first group of detection signals, a second group of detection signals and a modified 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.

[0079] The multi-pole magnetoelectric encoder provided by the present application comprises a second multi-pole magnet 120, a first multi-pole magnet 110, and a single-pole magnet assembly 130 coaxially and axially mounted on a rotating shaft, wherein the magnetic pole pairs of the second multi-pole magnet 120 and the first multi-pole magnet 110 are mutually prime, and the three groups of magnets are isolated by isolation means to prevent magnetic field coupling. The magnetic field around the three groups of multi-pole magnets presents a sinusoidal distribution in the circumferential direction.

[0080] The two linear Hall sensors in the first group of Hall elements and the second group of Hall elements respectively corresponding to the first multi-pole magnet 110 and the second multi-pole magnet 120 are arranged at an angle of 90° in electrical angle. Figure 5 , 6 The principle of using two linear Hall sensors to detect the magnetic signal of the second multi-pole magnet 120 or the first multi-pole magnet 110 is introduced.

[0081] Figure 5 The signal detection principle diagram of two linear Hall sensors in an embodiment of the present application is shown.

[0082] Figure 6 A schematic diagram of detection signals of two linear Hall elements in an embodiment of the present application is shown.

[0083] As the magnet rotates one circle with the shaft, the magnetic field at any point in the space where it is located changes regularly. This change can be converted into sine and cosine electrical signals using two linear Hall sensors with an electrical angle difference of 90°, and the frequency of the electrical signal change is the same as the frequency of the magnetic pole rotation. Figure 5 , 6 As shown, for the second multi-pole magnet 120 with three pairs of poles, when the magnet rotates one circle, the third linear Hall sensor 121 and the fourth linear Hall sensor 122 detect three cycles of positive and cosine signals, i.e., a set of detection signals. The first set of detection signals can be obtained by the first set of Hall elements provided by the first multi-pole magnet 110. The second set of detection signals can be obtained by the second set of Hall elements provided by the second multi-pole magnet 120.

[0084] In actual practice, the two-Hall arrangement is often arranged at an angle of 90° in electrical angle. However, it is difficult to eliminate errors caused by processing or assembly with the two-Hall method, and it is also difficult to suppress harmonic errors in the magnetic field. Increasing the number of Halls or arranging them symmetrically has the main effect of using symmetrical cancellation to reduce mechanical errors and offset harmonic components. For this reason, the present application sets a three-Hall arrangement on the single-pole magnetic conductor assembly 130, and a higher calculation accuracy can be obtained when the three Hall electrical angles are 120°.

[0085] The third group of Hall elements is arranged adjacent to the single-pole magnetic conductive assembly 130, and the three linear Hall sensors are arranged at intervals with an angle of 120° electrical angle. Figure 7-10 The principle of three linear Hall sensors detecting the magnetic signal of the single-pole magnetic conductive assembly 130 is introduced.

[0086] Figure 7 The signal detection principle diagram of three linear Hall sensors in the embodiment of the present application is shown.

[0087] Figure 8 A schematic diagram of detection signals of three linear Hall sensors in an embodiment of the present application is shown.

[0088] Fig. 9A schematic diagram showing the principle of eliminating zero drift using three Hall signals in an embodiment of the present application.

[0089] Fig.10 A schematic diagram of synthesizing two-phase Hall signals in an embodiment of the present application is shown.

[0090] According to the above principle, it is easy to know that the magnetic field change can also be converted into sine and cosine electrical signals by using three linear Hall sensors with electrical angles of 120° apart. Figure 7 , 8 As shown, for a single-pole magnet assembly 130 with 6 pairs of poles, when the magnet rotates one circle, the fifth linear Hall sensor 131, the sixth linear Hall sensor 132 and the seventh linear Hall sensor 133 respectively detect six cycles of sine and cosine signals, i.e., the original three-phase Hall signals. Fig. 9 U1, U2, and U3 are used to represent them respectively, and U1 corresponds to the detection signal of the fifth linear Hall sensor 131; U2 corresponds to the detection signal of the sixth linear Hall sensor 132; and U3 corresponds to the detection signal of the seventh linear Hall sensor 133.

[0091] Due to the problems of Hall arrangement and mechanical assembly, some error signals are superimposed on the original three-phase Hall signals U1, U2, and U3. d , U q There is a high probability that the zero point will drift.

[0092] Therefore, it is necessary to process the zero drift of the collected original three-phase Hall signal, such as Fig. 9 As shown, the calculation is performed according to the following formula:

[0093]

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

[0095] Then, the three-phase Hall voltage signal with zero drift removed is synthesized into two-phase U d , U q Signals, such as Fig.10 As shown, the following formula is used for conversion:

[0096]

[0097] Where α 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, U d , U qThe output two-phase Hall voltage signal is the modified third set of detection signals.

[0098] At this time, the third group of detection signals with a corrected two-phase phase difference of 90° can be approximately regarded as sine and cosine detection signals collected by two linear Hall sensors. In order to facilitate the subsequent text description, this application approximately regards the third group of Hall elements as two linear Hall sensors arranged at an angle of 90° in electrical angle.

[0099] Of course, the second multi-pole magnet 120 and the first multi-pole magnet 110 of the present application can also adopt the form of three Hall sensors to improve the measurement accuracy, and then use the above formula to convert the collected detection signal into a two-phase detection signal with a phase difference of 90°.

[0100] In step S420, 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 a first electrical angle value, a second electrical angle value, and a third electrical angle value, respectively.

[0101] After obtaining the sine and cosine signals by using the linear Hall sensor, a certain number of digital voltage values ​​can be obtained through the A / D conversion circuit. That is, the first group of voltage values, the second group of voltage values, or the third group of voltage values ​​are obtained after A / D conversion of the first group of detection signals, the second group of detection signals, or the modified third group of detection signals. Although the digital voltage value at this time has a certain relationship with the measured angle value of the encoder, it is not the measured angle value of the encoder, and angle resolution is still required.

[0102] For the signals of each set of magnetic poles, the spatial positions of the two linear Hall sensors differ by 90°, so that the sine and cosine signals output by the two linear Hall sensors differ by 90° in phase. At this time, the signal with phase advance can be considered as a sine signal, and the signal with phase lag can be considered as a cosine signal. The tangent value of the signal at that point can be obtained by dividing the sine signal by the cosine signal, and then the tangent value is processed by inverse tangent to obtain the electrical angle value of the position of that point.

[0103] Since the interval of the tangent function is [-90°, 90°], directly performing angle calculation according to the above process will result in interval errors in the angle calculation. Therefore, it is necessary to solve the interval error problem by dividing the intervals, that is, according to the positive and negative values ​​and numerical values ​​of the voltage values ​​in the first group of voltage values, the second group of voltage values, or the third group of voltage values, obtain the electrical angle interval in which the first group of detection signals, the second group of detection signals, or the modified third group of detection signals are located.

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

[0105] Table 1 Division of angle intervals

[0106]

[0107] Through the above angle interval division, the conversion of the signal collected by the Hall element into an angle signal can be realized, and the range of the converted electrical angle interval is [0°, 360°].

[0108] For the multi-pole magnetoelectric encoder of the present application, the angle intervals where the first group of detection signals, the second group of detection signals and the modified third group of detection signals are located can be obtained according to the positive and negative values ​​and numerical values ​​of the voltage values ​​in the first group of voltage values, the second group of voltage values ​​and the third group of voltage values. According to the angle intervals, the first electrical angle value, the second electrical angle value and the third electrical angle value can be obtained by using the inverse tangent algorithm for the first group of voltage values, the second group of voltage values ​​or the third group of voltage values ​​according to Table 1. The electrical angle value here refers to the electrical angle value of a single pair of magnetic poles period, referred to as a single period electrical angle value.

[0109] During the angle measurement process, the three groups of multi-pole magnets rotate with the shaft at the same time, and the linear Hall element remains stationary to receive the changing magnetic field signal generated by the magnetic poles during the rotation process. The induction signal of the linear Hall is processed by the above-mentioned inverse tangent table lookup method to obtain the electrical angle value of the single-pair magnetic pole period of the measured magnet. After determining the electrical angle value of a single cycle, the magnetic pole interval where the electrical angle value of the single cycle is located is determined, and finally the tooth number interval is determined on the single-pole magnetic conductive assembly 130, so as to finally obtain the absolute angle value detected by the multi-pole magnetic electric encoder.

[0110] In the multi-pole magnetoelectric encoder absolute angle detection method provided in the present application, firstly, an initial mechanical angle with a certain accuracy is determined based on the two sets of detection signals of the second multi-pole magnet 120 and the first multi-pole magnet 110, and then the initial mechanical angle is used to calibrate the single-cycle electrical angle value of the single-pole magnet assembly 130 in which specific tooth number interval of the single-pole magnet assembly 130 tooth number interval is currently located, and finally the mechanical angle of the multi-pole magnetoelectric encoder is calculated using the calculation formula of the mechanical angle value. The mechanical angle mentioned in the present application is also called the absolute angle.

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

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

[0113] θ _single =N m ×360° / m+θ m / m Formula (3) Where, N m ∈[0, m-1] or

[0114] θ _single =(N m -1)×360° / m+θ m / m Formula (4) Where, N m ∈[1,m]

[0115] In the formula, θ _single is the initial mechanical angle, θ m is the single-cycle electrical angle value measured by the linear Hall sensor on the first multi-pole magnet 110, N m is θ m m is the number of magnetic pole pairs of the first multi-pole magnet 110. Here, θ m Also called the first electrical angle value.

[0116] for Figure 2-3 In the encoder shown in FIG. 1 , there is an angle difference θ between the installation positions of the starting magnetic poles of the second multi-pole magnet 120 and the first multi-pole magnet 110. x ,like Fig.11 As shown, the initial mechanical angle can also be expressed as:

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

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

[0119] In the formula, θ _single is the initial mechanical angle, θ n is the single-cycle electrical angle value measured by the linear Hall sensor on the second multi-pole magnet 120, N n is θ n The second magnetic pole interval where n is located; n is the number of magnetic pole pairs of the second multi-pole magnet 120. θ nAlso called the second electrical angle value.

[0120] Therefore, on the basis of having obtained the first electrical angle value or the second electrical angle value, as long as the corresponding magnetic pole interval is determined, the initial mechanical angle value can be calculated according to the above formula (3) to formula (6).

[0121] In step S430, a first magnetic pole interval corresponding to the first electrical angle value is determined according to the number m of magnetic pole pairs of the first multi-pole magnet 110, the number n of magnetic pole pairs of the second multi-pole magnet 120, the first electrical angle value, and the second electrical angle value.

[0122] When the linear Hall sensor on the first multi-pole pair magnet 110 measures two identical single-cycle electrical angle values, the corresponding two single-cycle electrical angle values ​​measured by the linear Hall sensor on the second multi-pole pair magnet 120 are different, thereby distinguishing the magnetic pole pair number, i.e., the magnetic pole interval, in which the single-cycle electrical angle of the first multi-pole pair magnet 110 is currently located.

[0123] For the encoder magnet structure 100 provided in the present application, when the greatest common divisor of the magnetic pole pairs m and n of the first multi-pole magnet 110 and the second multi-pole magnet 120 is 1, i.e., mutually prime, each pole pair of the first multi-pole magnet 110 has a corresponding non-repeating magnetic pole portion of the second multi-pole magnet 120. This is proved by contradiction below.

[0124] Assume there is a positive integer N m1 , N m2 , N n1 , N n2 , N m1 ≠N m2 , so that the following equation holds:

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

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

[0127] Among them, θ m is the single-cycle electrical angle value measured by the linear Hall sensor on the first multi-pole magnet 110, N m1 , N m2 ∈[1, m], is the twice measured θm The corresponding first magnetic pole interval; θ n is the single-cycle electrical angle value measured by the linear Hall sensor on the second multi-pole magnet 120, N n1 , N n2 ∈[1, n], is the twice measured θ n The corresponding second magnetic pole interval; θ x It is the installation angle difference of the starting point of a pair of magnetic poles in the two groups of magnets.

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

[0129]

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

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

[0132]

[0133] Formula (9) for any different N m and its corresponding N n , are not true. 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 true. It can be proved 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 electrical 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.

[0134] Combining formula (3) and formula (5), we can get:

[0135]

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

[0137] set up And it is defined as the magnetic pole position characteristic value. It can be seen from formula (10) that when the number of magnetic pole pairs of the first multi-pole magnet 110 and the second multi-pole magnet 120 remains unchanged, the magnetic pole position characteristic value remains unchanged. When at least one of them changes, the magnetic pole position characteristic value will also change, otherwise equation (9) holds, which contradicts the premise that the number of magnetic pole pairs is mutually prime. Therefore, the magnetic pole interval where the current electrical angle is located can be determined by calculating the magnetic pole position characteristic value.

[0138] When θ x ≠0, that is, the starting points of a pair of magnetic poles of the second multi-pole magnet 120 and the first multi-pole magnet 110 do not overlap, and cannot be made to overlap by changing the coordinate starting point, the magnetic pole position characteristic value λ has m+n different values. Fig.12 shown.

[0139] Fig.12 A schematic diagram showing the number of characteristic values ​​of the magnetic pole position according to an embodiment of the present application.

[0140] Fig.12 , the first multi-pole magnet 110 has m pairs of poles, m is 5, so 5 boxes are used to represent the planar expansion of 5 pairs of poles. The second multi-pole magnet 120 has n pairs of poles, n is 3, and after it is planarly expanded, it is equivalent to introducing 3 vertical lines in the 5 boxes. Since θx≠0, a total of m+n+1 lines will be divided into m+n parts. That is, for an encoder with a 5-pole magnet and a 3-pole magnet, the position characteristic value has 8 different values. Similarly, for an encoder with a 23-pole magnet and a 19-pole magnet, the pole position characteristic value has 42 different values.

[0141] After the second multi-pole magnet 120 and the first multi-pole magnet 110 are installed, θ x The value of has been determined, then the m+n different values ​​are already constant. According to the number of magnetic pole pairs m of the first multi-pole magnet 110 and the number of magnetic pole pairs n of the second multi-pole magnet 120 and the first electrical angle value and the second electrical angle value, the magnetic pole position characteristic value corresponding to the first multi-pole magnet 110 can be determined. Fig.11 As an example, the multi-pole magnetoelectric encoder structure shown in x =40°, when the rotation direction of the magnet is clockwise, the magnetic pole position characteristic values ​​obtained by calibration and the corresponding magnetic pole intervals on the first multi-pole magnet 110 are shown in Table 2.

[0142] Table 2 Corresponding relationship between λ value and magnetic pole interval of the first multi-pole magnet

[0143]

[0144] The corresponding relationship between λ and the magnetic pole interval in Table 2 can be used to identify the magnetic pole position, that is, the first magnetic pole interval where the first electrical angle value currently resides can be calculated based on the magnetic pole position characteristic value.

[0145] In step S440, an initial mechanical angle θ formed by the first multi-pole magnet 110 and the second multi-pole magnet 120 is determined according to the first magnetic pole interval, the number of magnetic pole pairs m of the first multi-pole magnet 110, and the first electrical angle value. _single .

[0146] After the first electrical angle value and the first magnetic pole interval where the electrical angle value is located are determined, 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).

[0147] In step S450, the tooth number interval in which the third electrical angle value currently resides is calibrated according to the initial mechanical angle.

[0148] On the premise of obtaining the initial mechanical angle, the initial mechanical angle can be used to calibrate the tooth number interval in which the third electrical angle value of the single-pole magnetic conductive assembly 130 currently lies.

[0149] In this application, the tooth number interval N p The corresponding relationship with the initial mechanical angle is as follows:

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

[0151] Therefore, an index table is established for the correspondence between the initial mechanical angle and the tooth number interval. The first column of the index table is the value of the initial mechanical angle, and the second column is the interval number of the tooth number interval corresponding to the initial mechanical angle. Since the initial mechanical angle is an absolute angle, its value range is [0°, 360°], so the first line of the first column is the number 0, and the last line of the first column is the number 360.

[0152] Exemplarily, assuming that the number of teeth P of the single-pole magnetic conductive assembly 130 is 5, the initial mechanical angle and the corresponding tooth number range obtained by calibration are shown in Table 3.

[0153] Table 3 Index table of the relationship between the initial mechanical angle and the number of teeth in the single-pole magnetic assembly

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

[0155] Therefore, it is only necessary to determine the initial mechanical angle and then look up the table to obtain the value of the tooth number interval. However, it should be noted that when tabulating, the number of rows of the initial mechanical angle column needs to be set to be much larger than the number of magnetic pole pairs, i.e., the number of teeth P, of the single-pole magnetic conductive assembly 130, so as to greatly improve the accuracy of the magnetoelectric encoder.

[0156] For example, in Table 3, the number of rows in the column of initial mechanical angle is 360, while the number of teeth P of the single-pole magnetic conductive assembly 130 is only 5, which meets the requirement of being much larger than the number of teeth P of the single-pole magnetic conductive assembly 130 .

[0157] Assuming that the number of teeth P of the single-pole magnet assembly 130 is 360, the number of rows in the initial mechanical angle column can be set to 360 rows, that is, each degree of the initial mechanical angle corresponds to a tooth number interval of the single-pole magnet assembly 130; similarly, the number of rows in the initial mechanical angle column can be set to 3600 rows, so that each 0.1 degree of the initial mechanical angle corresponds to a tooth number interval of the single-pole magnet assembly 130, and the accuracy of the magnetoelectric encoder is improved by 10 times. Correspondingly, the accuracy can also be improved to 20 times, 30 times, or even 100 times or more, which is the significance of the number of rows being much larger than the number of magnetic pole pairs.

[0158] In step S460, the absolute angle of the multi-pole magneto-electric encoder is determined according to the following formula using the determined tooth number interval, the number of magnetic poles p of the single-pole magnet conductive assembly 130, and the third electrical angle value:

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

[0160] Where θ is the absolute angle output by the multi-pole magnetoelectric encoder, N p is the third electrical angle value θ p The current magnetic pole segment number, N p ∈[0,p-1].

[0161] Based on the above content, it can be known that the multi-pole magnetoelectric encoder can output two absolute angles of precision, namely θ1 and θ2, wherein θ1 is a high-precision absolute angle θ determined by the first multi-pole magnet 110 and the second multi-pole magnet 120. _single , at this time θ1=θ _single; θ2 is the ultra-high precision absolute angle θ determined by combining the obtained high-precision absolute angle θ1 with the single-pair-pole magnetic conductive assembly 130, and at this time θ2=θ; and in the actual combined application of the multi-pair-pole magnetoelectric encoder and the servo motor, the detection accuracy of the multi-pair-pole magnetoelectric encoder will be limited by the maximum speed of the servo motor, that is: taking the maximum speed allowed by the multi-pair-pole magnetoelectric encoder as 8000rpm as an example, when the maximum speed of the servo motor is 6400rpm, the multi-pair-pole magnetoelectric encoder can maintain its ultra-high precision absolute angle output capability, that is, output θ2; when the maximum speed of the servo motor is greater than 9600rpm, the electrical signal frequency of the multi-pair-pole magnetoelectric encoder will not be able to keep up with the maximum speed of the servo motor, so the output θ2 will be invalid.

[0162] In view of this, due to the existence of the maximum speed limit of the servo motor, the absolute angle finally output by the multi-pole magnetoelectric encoder will have the following angle switching output relationship between θ1 and θ2:

[0163]

[0164] Where θ3 is the absolute angle finally output by the multi-pole magnetoelectric encoder;

[0165] ω is the current maximum speed of the servo motor;

[0166] ω0 is 0.8 times the maximum speed allowed by the ultra-high precision absolute angle output by the multi-pole magnetoelectric encoder, that is: Where T represents the control cycle of the control instruction, and k represents the kth control cycle;

[0167] ω1 is 1.2 times the maximum speed allowed by the ultra-high precision absolute angle output by the multi-pole magnetoelectric encoder, that is: Where T represents the control cycle of the control instruction, and k represents the kth control cycle;

[0168] In addition, in order to understand the above absolute angle angle switching selection output relationship, the present application also provides the following Fig.13 The linear schematic diagram shown in Figure 1 combines formula (11) with Fig.13 It can be seen that:

[0169] When ω is less than or equal to ω0, the absolute angle θ3=θ2 finally output by the multi-pole magnetoelectric encoder;

[0170] When ω is greater than ω0 and less than ω1, the absolute angle θ3 finally output by the multi-pole magnetoelectric encoder will be combined with θ2 and θ1 to obtain the value at the same time;

[0171] When ω is greater than or equal to ω1, the absolute angle θ3 = θ1 finally output by the multi-pole magnetoelectric encoder.

[0172] Therefore, based on the above content, the final absolute angle output by the multi-pole magnetoelectric encoder can be obtained, and then combined with the working principle of the servo system, precise control of the servo system can be achieved.

[0173] Figure 1 The following is a structural block diagram of the industrial-grade automatic control system according to an embodiment of the present application.

[0174] like Figure 1 As shown, during the operation of the industrial automatic control system, a multi-pole magnetoelectric encoder detects the motor shaft angle of the servo motor to obtain the angle or position of the motor shaft rotation; and transmits the current signal collected by the current sensor to the control unit, which processes and calculates six PWM signals to drive the IPM inverter circuit, so that the controller outputs a three-phase voltage signal that drives the servo motor to work, that is, a working instruction. After receiving the working instruction, the servo driver outputs a driving signal that matches the servo motor load according to the load requirements of the servo motor. After receiving the driving signal, the servo motor drives the actuator to achieve its precise control. In this example, the actuator can be any one of a screw rod, a guide rail, a reducer, a two-dimensional turntable, and a CNC operation platform.

[0175] Fig.14 A flow chart of the control method of an industrial-grade automatic control system in an embodiment of the present application is shown.

[0176] like Fig.14 As shown, the control method of the industrial automatic control system includes:

[0177] S1: The current sensor collects the input current signal of the servo motor;

[0178] S2: A multi-pole magnetoelectric encoder detects and outputs the angle information of the servo motor;

[0179] S3: The controller receives data, processes the data, and then outputs a voltage signal for the servo motor to work;

[0180] S4: The servo driver receives the working voltage signal of the servo controller and outputs the driving signal of the servo motor according to the load requirement of the servo motor;

[0181] S5: The servo motor receives the driving signal and drives the actuator to move to achieve precise control of its motion state.

[0182] Fig.15 The first sub-flow chart of the control method of the industrial-grade automatic control system in an embodiment of the present application is shown.

[0183] like Fig.15 As shown, the multi-pole magnetoelectric encoder detects and outputs the angle information S2 of the servo motor, including:

[0184] S21: Collect the rotating magnetic field information generated by the magnet driven by the servo motor when it rotates through three sets of linear Hall elements;

[0185] S22: amplifying and converting the signal through an amplifier and an A / D converter;

[0186] S23: Output the actual angle information of the servo motor rotation through table lookup and calculation program.

[0187] Fig.16 The second sub-flow chart of the industrial-grade automatic control system control method in an embodiment of the present application is shown.

[0188] like Fig.16 As shown, the controller receives data, processes the data and then outputs a voltage signal S3 for the servo motor to work, including:

[0189] S31: receiving the current signal detected by the current sensor, and outputting the digital current signal after A / D sampling;

[0190] S32: receiving and outputting the actual angle information of the servo motor rotation output by the multi-pole magnetoelectric encoder;

[0191] S33: receiving the command signal from the host computer and the rotation angle information of the servo motor shaft, calculating and outputting the current command;

[0192] S34: receiving the current command and the digital current signal, calculating and outputting the duty cycle control signal of the three-phase voltage;

[0193] S35: receiving a three-phase voltage duty cycle control signal, generating a six-channel PWM signal, driving the IPM inverter circuit to work, so that the controller outputs a work instruction to drive the servo motor to work.

[0194] Finally, it should be noted that the above 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 aforementioned embodiments, it is still possible for those skilled in the art to modify the technical solutions described in the aforementioned embodiments or to make equivalent substitutions for some of the technical features therein. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. Industrial-grade automatic control system, characterized by: Including servo motor; A multi-pole magnetoelectric encoder is coaxially arranged with the servo motor and outputs a high-precision and / or ultra-high-precision absolute angle corresponding to the speed range of the servo motor according to the speed range of the servo motor, wherein the multi-pole magnetoelectric encoder includes a second multi-pole magnet coaxially arranged, a first multi-pole magnet, a single-pole magnet assembly and a circuit board, wherein the first multi-pole magnet includes m pairs of poles and 3≤m<23, the second multi-pole magnet includes n pairs of poles and 3≤n<23, m is greater than n and is a natural number that is mutually prime, and the single-pole magnet assembly includes a first annular magnet, a first multi-pole magnet, a second multi-pole magnet, a first multi-pole magnet, a second multi-pole magnet assembly, and a circuit board. A single-pole annular magnet and a second annular magnetizer, and the outer ring diameters of the first annular magnetizer and the second annular magnetizer are larger than the outer ring diameter of the single-pole annular magnet, wherein the first annular magnetizer is provided with a first tooth-shaped portion on one axial end face thereof, and the second annular magnetizer has a second tooth-shaped portion which is completely opposite to the first tooth-shaped portion, and the first tooth-shaped portion and the second tooth-shaped portion form an annular opening area, wherein the opening direction of the opening area is consistent with the radial direction of the single-pole annular magnet, and P teeth are correspondingly provided on the first tooth-shaped portion and the second tooth-shaped portion, and p≥100; in addition, the circuit board includes: A first group of Hall elements, including a first linear Hall sensor and a second linear Hall sensor, are disposed adjacent to the first multi-pole magnet and output a first group of detection signals according to magnetic pole signals of the first multi-pole magnet; A second group of Hall elements, including a third linear Hall sensor and a fourth linear Hall sensor, is disposed adjacent to the second multi-pole magnet and outputs a second group of detection signals according to magnetic pole signals of the second multi-pole magnet; A third set of Hall elements, including a fifth linear Hall sensor, a sixth linear Hall sensor and a seventh linear Hall sensor, and disposed between the second tooth-shaped portion and the first tooth-shaped portion, and outputting a modified third set of detection signals according to the magnetic pole signal of the single-pole magnetic conductive assembly; The servo controller includes a control unit and a current sensor. The control unit receives the servo motor shaft angle information fed back by the multi-pole magnetoelectric encoder and the current signal collected by the current sensor. After processing, the servo controller issues a working instruction to control the servo motor. A servo driver receives the control instruction from the servo controller and outputs a drive signal of the servo motor according to the load requirement of the servo motor; The actuator is connected to the servo motor, and the servo motor drives the actuator to achieve precise control of its motion state.

2. The high-precision servo control system according to claim 1, characterized in that: The multi-pole magnetoelectric encoder selects a high-precision and / or ultra-high-precision absolute angle within the output servo motor speed range by the following formula: Wherein, θ3 is the final absolute angle output by the multi-pole magnetoelectric encoder; θ1 is the high-precision absolute angle determined by the first multi-pole magnet and the second multi-pole magnet; θ2 is the ultra-high-precision absolute angle determined by combining the obtained high-precision absolute angle θ1 with the single-pole magnet assembly; ω is the current speed of the servo motor; ω0 is 0.8 times the maximum speed allowed when the multi-pole magnetoelectric encoder outputs an ultra-high-precision absolute angle; ω1 is 1.2 times the maximum speed allowed when the multi-pole magnetoelectric encoder outputs an ultra-high-precision absolute angle; T represents the control period of the control instruction, and k represents the kth control period.

3. The industrial-grade automatic control system according to claim 1, characterized in that: The servo motor is a permanent magnet synchronous servo motor.

4. The industrial-grade automatic control system according to claim 1, characterized in that: m and n are prime numbers and mn<23×19.

5. The industrial-grade automatic control system according to claim 1, characterized in that: The first group of detection signals includes: a first detection signal and a second detection signal output by the first linear Hall sensor and the second linear Hall sensor according to the magnetic pole signal of the first multi-pole magnet; the first detection signal and the second detection signal differ in phase by 90 degrees; The second group of detection signals includes: a third detection signal and a fourth detection signal output by the third linear Hall sensor and the fourth linear Hall sensor according to the magnetic pole signal of the second multi-pole magnet; the phase difference between the third detection signal and the fourth detection signal is 90 degrees.

6. The industrial-grade automatic control system according to claim 1, characterized in that: The modified third group of detection signals includes: d-axis and q-axis detection signals output by the fifth linear Hall sensor, the sixth linear Hall sensor and the seventh linear Hall sensor according to the magnetic pole signal of the single-pole magnetic conductive assembly; wherein, after the fifth linear Hall sensor, the sixth linear Hall sensor and the seventh linear Hall sensor collect the magnetic pole signal of the single-pole magnetic conductive assembly, they obtain original three-phase Hall signals with a phase difference of 120 degrees, and the original three-phase Hall signals are the fifth detection signal, the sixth detection signal and the seventh detection signal; and then, after the obtained original three-phase Hall signals are processed by zero point drift, the d-axis and q-axis detection signals with a phase difference of 90 degrees are output.

7. The industrial-grade automatic control system according to claim 1, characterized in that: The first linear Hall sensor is aligned with the third linear Hall sensor and the fifth linear Hall sensor at one end.

8. The industrial-grade automatic control system according to claim 1, characterized in that: The first multi-pole magnet is located between the single-pole magnet assembly and the second multi-pole magnet, and there is an angle difference between the initial magnetic pole installation positions of the first multi-pole magnet and the second multi-pole magnet.

9. The industrial-grade automatic control system according to claim 1, characterized in that: The magnetization direction of the first multi-pole magnet and the second multi-pole magnet is consistent with the radial or axial direction of the servo motor shaft; the magnetization direction of the single-pole magnetic conductor assembly is consistent with the radial or axial direction of the servo motor shaft.

10. The industrial-grade automatic control system according to claim 1, characterized in that: The actuator is any one of a screw rod, a guide rail, a reducer, a two-dimensional turntable, and a numerical control operating platform.

Citation Information

Patent Citations

  • Domain angle magnetoelectric encoder and signal logic extension fine division method thereof

    CN111854807A

  • Double-Hall magnetoelectric encoder based on double-wheel structure and angle resolving method thereof

    CN114858192A

  • Magnetic sensor chip, preparation method thereof and magnetic encoder

    CN115394761A

  • Magnetoelectric encoder angle value jump point suppression method and device based on ant colony algorithm

    CN115979312A

  • Signal compensation method of magnetic encoder, magnetic encoder and calibration system

    CN116772904A