Encoders, motors and automation equipment

By combining the encoder of the photosensitive module and multiple magnetic induction modules, integrating the optical coded signal and magnetic coded signal, the problem that the photoelectric encoder and magnetoelectric encoder in the prior art cannot be high-precision and anti-interference at the same time is realized. High precision and high stability encoder design.

CN113720362BActive Publication Date: 2024-11-19SHENZHEN LINGXI AUTOMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111123125.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-24
Publication Date
2024-11-19
Estimated Expiration
2041-09-24

AI Technical Summary

Technical Problem

Existing photoelectric encoders and magnetoelectric encoders cannot achieve the requirements of high precision and anti-interference at the same time.

Method used

An encoder is designed, combining the photosensitive module and multiple magnetic induction modules, and integrating the photo-encoded signal and the magnetic-encoded signal through the signal processing unit to generate high-precision position information to meet the needs of high precision and high stability.

Benefits of technology

It realizes the high-precision measurement and shock-resistant, corrosion-resistant and pollution-resistant properties of the encoder, and solves the problem that the photoelectric encoder and magnetoelectric encoder cannot meet the high-precision and anti-interference at the same time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113720362B_ABST
    Figure CN113720362B_ABST
Patent Text Reader

Abstract

The present invention provides an encoder, a motor and automation equipment. The encoder includes a circuit board and a magnetic component movable relative to the circuit board. The circuit board includes: at least three magnetic sensing modules, which are used to sense the change of the magnetic signal of the magnetic component to generate two magnetic coding signals, so as to obtain the running direction, circle value and absolute position of the encoder at the current moment according to the two magnetic coding signals; at least one light sensing module, which is used to sense the change of the light signal of the encoder to generate a light coding signal, so as to obtain the relative position of the encoder at the current moment; a signal processing unit, which is connected to each module to determine the position information of the encoder at the current moment according to the running direction, circle value, absolute position and relative position of the encoder at the current moment, so as to solve the problem that the photoelectric encoder or magnetoelectric encoder in the prior art cannot meet the requirements of high precision and anti-interference at the same time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of encoders, and in particular to an encoder, a motor and automation equipment. Background Art

[0002] The photoelectric encoder includes a photoelectric code disk, the center of which is set on the rotating shaft, and the photoelectric code disk is provided with annular light and dark lines. The photoelectric encoder also includes a light emitting device and a light receiving device, so that the light signal emitted by the light emitting device is read by the light receiving device and converted into an electrical signal. It is mainly used to measure displacement or angle. It has a simple structure and high precision, but weak anti-interference ability. In addition, since the photoelectric encoder calculates the accuracy through the lines on the code disk, the higher the accuracy, the larger the code disk will be, and the larger the total volume of the encoder will be.

[0003] The magnetoelectric encoder adopts a magnetoelectric design, using magnetic devices instead of code disks, and setting up magnetic induction devices, using changes in the magnetic field to generate and provide the absolute position of the rotor, making up for the above-mentioned defects of the photoelectric encoder. It has the advantages of shock resistance, corrosion resistance, pollution resistance, high reliable performance and simple structure, but the accuracy is poor.

[0004] In order to meet the requirements of high precision and anti-interference in the use of encoders, it is necessary to set up an optical-magnetic hybrid encoder, including an optical encoding component and a magnetic encoding component. By combining the signals sensed by the magnetic sensing chip and the optical sensing chip, more accurate absolute position information can be calculated, thereby improving the measurement accuracy of the encoder and meeting the requirements of high precision and high stability of the hybrid encoder. Summary of the invention

[0005] The main purpose of the present invention is to provide an encoder, a motor and an automation device to solve the problem that the photoelectric encoder or the magnetoelectric encoder in the prior art cannot meet the requirements of high precision and anti-interference at the same time.

[0006] In order to achieve the above-mentioned purpose, according to one aspect of the present invention, there is provided an encoder, comprising a circuit board and a magnetic component movable relative to the circuit board, wherein the circuit board comprises: at least one optical sensing module, used to sense the change of the optical signal of the encoder to generate an optical coding signal, so as to obtain the relative position of the encoder at the current moment; wherein the circuit board further comprises: at least two first magnetic sensing modules, used to sense the change of the magnetic signal of the magnetic component to generate a first magnetic coding signal, so as to obtain the first running direction of the encoder, and determine the first circle value of the magnetic signal of the encoder at the current moment through the level change of the first magnetic sensing module; at least one second magnetic sensing module, used to sense the change of the magnetic signal of the magnetic component to generate a second magnetic coding signal, so as to obtain the first absolute position of the encoder at the current moment; or, at least two third magnetic sensing modules, used to sense the change of the magnetic signal of the magnetic component to generate a third magnetic coding signal, so as to obtain the second circle value of the magnetic signal of the encoder at the current moment; at least one fourth magnetic sensing module, used to sense the change of the magnetic signal of the magnetic component to generate a fourth magnetic coding signal, and determine the first circle value of the magnetic signal of the encoder at the current moment through the level change of the first magnetic sensing module and fourth magnetic encoding signals to obtain the second absolute position and second running direction of the encoder at the current moment; or, at least two fifth magnetic sensing modules, used to sense the change of the magnetic signal of the magnetic component to generate a fifth magnetic encoding signal, to obtain the third running direction of the encoder, and determine the third circle value of the magnetic signal of the encoder at the current moment through the level change of the fifth magnetic sensing module; at least one sixth magnetic sensing module, used to sense the change of the magnetic signal of the magnetic component to generate a sixth magnetic encoding signal, and obtain the third absolute position of the encoder at the current moment through the fifth magnetic encoding signal and the sixth magnetic encoding signal; the circuit board also includes a signal processing unit connected to the first magnetic sensing module and the second magnetic sensing module, or the third magnetic sensing module and the fourth magnetic sensing module, or the fifth magnetic sensing module and the sixth magnetic sensing module, and the optical sensing module, the signal processing unit determines the position information of the encoder at the current moment according to the relative position of the encoder at the current moment, and the first running direction, the first circle value and the first absolute position, or the second running direction, the second circle value and the second absolute position, or the third running direction, the third circle value and the third absolute position.

[0007] Furthermore, at least two first magnetic induction modules or at least two third magnetic induction modules or at least two fifth magnetic induction modules output at least one first square wave signal group. Within one mechanical cycle, the first square wave signal group includes N cycles of first square wave signals and N cycles of second square wave signals, where N≥1 and N is an integer.

[0008] Furthermore, the phase difference between the first square wave signal and the second square wave signal of each first square wave signal group at the same time is 90 degrees.

[0009] Further, the second magnetic encoding signal or the fourth magnetic encoding signal or the sixth magnetic encoding signal includes at least one first sine-cosine signal group, and within one mechanical cycle, the first sine-cosine signal group includes one period of the first sine signal and one period of the first cosine signal, or, the second magnetic encoding signal or the fourth magnetic encoding signal or the sixth magnetic encoding signal includes at least one second sine-cosine signal group, and within one mechanical cycle, the second sine-cosine signal group includes two periods of the second sine signal and two periods of the second cosine signal, or, the second magnetic encoding signal or the fourth magnetic encoding signal or the sixth magnetic encoding signal includes at least one third sine-cosine signal group, and within one mechanical cycle , the third sine-cosine signal group includes M periods of the third sine signal and M periods of the third cosine signal, where M≥3 and M is an integer; or, the second magnetic encoding signal or the fourth magnetic encoding signal or the sixth magnetic encoding signal includes at least one period of digital signal; or, the second magnetic encoding signal or the fourth magnetic encoding signal or the sixth magnetic encoding signal includes at least one PWM signal that changes periodically with the angular position; or, the second magnetic encoding signal or the fourth magnetic encoding signal or the sixth magnetic encoding signal includes at least one period of triangular wave signal; or, the second magnetic encoding signal or the fourth magnetic encoding signal or the sixth magnetic encoding signal includes at least four periods of trapezoidal wave signal.

[0010] Further, the optically coded signal includes at least one second square wave signal group, and within one mechanical cycle, the second square wave signal group includes H cycles of the third square wave signal and H cycles of the fourth square wave signal, wherein H≥1 and H is an integer; or, the optically coded signal includes at least one fourth sine-cosine signal group, and within one mechanical cycle, the fourth sine-cosine signal group includes K cycles of the sine signal and K cycles of the cosine signal, wherein K≥1 and K is an integer.

[0011] Furthermore, the phase difference between the third square wave signal and the fourth square wave signal of each second square wave signal group at the same time is 90 degrees.

[0012] Further, the encoder includes a code disk provided with a code channel, and the photosensitive module is used to sense the change of the light signal of the code disk to generate a light coding signal; and / or, the encoder includes an annular grating provided with a code channel, and the photosensitive module is used to sense the change of the light signal of the annular grating to generate a light coding signal; and / or, the encoder includes a drum grating provided with a code channel, and the photosensitive module is used to sense the change of the light signal of the drum grating to generate a light coding signal; or, the encoder includes a grating scale provided with a code channel, and the photosensitive module is used to sense the change of the light signal of the grating scale to generate a light coding signal.

[0013] Furthermore, the light emitted by the light sensing module is reflected by the code channel and then received by the light sensing module again; or, the encoder further includes a light source for emitting light, and the light emitted by the light source is reflected or transmitted by the code channel and then received by the light sensing module.

[0014] Furthermore, the magnetic component includes at least one of a magnetic steel, a magnetic ring, a magnetic drum and a magnetic scale.

[0015] Further, the first magnetic sensing module or the second magnetic sensing module or the third magnetic sensing module or the fourth magnetic sensing module or the fifth magnetic sensing module or the sixth magnetic sensing module includes at least one of a Hall switch or a magnetic sensing chip, and the magnetic sensing chip includes at least one of TMR, GMR and AMR.

[0016] Furthermore, the optical coding signal also includes at least one Z pulse signal, and the signal processing unit receives and processes the Z pulse signal to obtain the optical signal circle value of the encoder at a current moment.

[0017] Further, the number of first magnetic induction modules or third magnetic induction modules or fifth magnetic induction modules is two, and the angle between the center lines of the two first magnetic induction modules or third magnetic induction modules or fifth magnetic induction modules is 90 degrees or 270 degrees in mechanical angle; or, the number of first magnetic induction modules or third magnetic induction modules or fifth magnetic induction modules is H, where H≥3, H is an integer, and the H first magnetic induction modules or third magnetic induction modules or fifth magnetic induction modules are equally spaced around the rotation axis of the encoder, and the angle between any two adjacent first magnetic induction modules or third magnetic induction modules or fifth magnetic induction modules is 180 degrees / H or 360 degrees / H in mechanical angle.

[0018] Further, the code channel is any one of a Vernier code channel, a Gray code channel, an M-sequence code channel and a single-turn code channel.

[0019] According to a second aspect of the present invention, a motor is provided, comprising an encoder, wherein the encoder is the above-mentioned encoder.

[0020] According to a third aspect of the present invention, there is provided an automation device, comprising a motor, wherein the motor is the motor described above.

[0021] According to the technical solution of the present invention, there is provided an encoder, comprising a circuit board and a magnetic component movable relative to the circuit board, wherein the circuit board comprises: at least one optical sensing module, for sensing the change of the optical signal of the encoder to generate an optical coding signal, so as to obtain the relative position of the encoder at the current moment; wherein the circuit board further comprises: at least two first magnetic sensing modules, for sensing the change of the magnetic signal of the magnetic component to generate a first magnetic coding signal, so as to obtain the first running direction of the encoder, and determine the first circle value of the magnetic signal of the encoder at the current moment through the level change of the first magnetic sensing module; at least one second magnetic sensing module, for sensing the change of the magnetic signal of the magnetic component to generate a second magnetic coding signal, so as to obtain the first absolute position of the encoder at the current moment; or, at least two third magnetic sensing modules, for sensing the change of the magnetic signal of the magnetic component to generate a third magnetic coding signal, so as to obtain the second circle value of the magnetic signal of the encoder at the current moment; and at least one fourth magnetic sensing module, for sensing the change of the magnetic signal of the magnetic component to generate a fourth magnetic coding signal, and determining the first circle value of the magnetic signal of the encoder at the current moment through the level change of the third magnetic coding signal and the fourth The circuit board further comprises a signal processing unit connected to the first magnetic sensing module and the second magnetic sensing module, or the third magnetic sensing module and the fourth magnetic sensing module, or the fifth magnetic sensing module and the sixth magnetic sensing module, and the optical sensing module. The signal processing unit determines the position information of the encoder at the current moment according to the relative position of the encoder at the current moment, and the first running direction, the first circle value and the first absolute position, or the second running direction, the second circle value and the second absolute position, or the third running direction, the third circle value and the third absolute position. The encoder of the present invention has the advantages of high precision of photoelectric encoders and the advantages of earthquake resistance, corrosion resistance, pollution resistance, and high reliable performance of magnetoelectric encoders. It meets the requirements of high precision and high stability of encoders and solves the problem that photoelectric encoders or magnetoelectric encoders in the prior art cannot meet the requirements of high precision and anti-interference at the same time. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The drawings constituting a part of the present application are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0023] Figure 1shows a half-section view of an embodiment of an encoder according to the present invention;

[0024] Figure 2 Shows Figure 1 A schematic diagram of the positions of the first magnetic induction module and the second magnetic induction module of the encoder relative to the magnetic component is shown;

[0025] Figure 3 Shows Figure 1 The schematic diagram of the structure of the encoder shown;

[0026] Figure 4 Shows Figure 1 An exploded view of the encoder is shown;

[0027] Figure 5 Shows Figure 1 A schematic diagram of the position of a first embodiment of a first magnetic sensing module of an encoder shown;

[0028] Figure 6 Shows Figure 1 A schematic diagram of the position of a second embodiment of the first magnetic sensing module of the encoder shown;

[0029] Figure 7 Shows Figure 1 A schematic diagram of the position of the first magnetic sensing module of the encoder according to a third embodiment; and

[0030] Figure 8 Shows Figure 1 The schematic diagram of the position of the fourth embodiment of the first magnetic sensing module of the encoder is shown.

[0031] The above drawings include the following reference numerals:

[0032] 1. Circuit board; 2. Optical component; 3. Magnetic component; 4. First magnetic induction module; 5. Second magnetic induction module; 6. Optical induction module; 7. Code disc support; 8. Bracket. DETAILED DESCRIPTION

[0033] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0034] like Figures 1 to 4As shown, the present invention provides an encoder, including a circuit board 1 and a magnetic component 3 movable relative to the circuit board 1, wherein the circuit board 1 includes: at least one optical sensing module 6, used to sense the change of the optical signal of the encoder to generate an optical coding signal to obtain the relative position of the encoder at the current moment; wherein the circuit board 1 also includes: at least two first magnetic sensing modules 4, used to sense the change of the magnetic signal of the magnetic component 3 to generate a first magnetic coding signal to obtain the first running direction of the encoder, and determine the first circle value of the magnetic signal of the encoder at the current moment through the level change of the first magnetic sensing module; at least one second magnetic sensing module 5, used to sense the change of the magnetic signal of the magnetic component 3 to generate a second magnetic coding signal to obtain the first absolute position of the encoder at the current moment; or, at least two third magnetic sensing modules, used to sense the change of the magnetic signal of the magnetic component 3 to generate a third magnetic coding signal to obtain the second circle value of the magnetic signal of the encoder at the current moment; at least one fourth magnetic sensing module, used to sense the change of the magnetic signal of the magnetic component 3 to generate a fourth magnetic coding signal, and through the third magnetic coding signal and the fourth A magnetic encoding signal is used to obtain the second absolute position and the second running direction of the encoder at the current moment; or, at least two fifth magnetic sensing modules are used to sense the change of the magnetic signal of the magnetic component 3 to generate a fifth magnetic encoding signal to obtain the third running direction of the encoder, and determine the third circle value of the magnetic signal of the encoder at the current moment through the level change of the fifth magnetic sensing module; at least one sixth magnetic sensing module is used to sense the change of the magnetic signal of the magnetic component 3 to generate a sixth magnetic encoding signal, and obtain the third absolute position of the encoder at the current moment through the fifth magnetic encoding signal and the sixth magnetic encoding signal; the circuit board 1 also includes a signal processing unit connected to the first magnetic sensing module and the second magnetic sensing module, or the third magnetic sensing module and the fourth magnetic sensing module, or the fifth magnetic sensing module and the sixth magnetic sensing module, and the optical sensing module 6, the signal processing unit determines the position information of the encoder at the current moment according to the relative position of the encoder at the current moment, and the first running direction, the first circle value and the first absolute position, or the second running direction, the second circle value and the second absolute position, or the third running direction, the third circle value and the third absolute position.

[0035] The present invention provides an encoder, comprising a circuit board 1 and a magnetic component 3 movable relative to the circuit board 1, wherein the circuit board 1 comprises: at least one optical sensing module 6, used to sense the change of the optical signal of the encoder to generate an optical coding signal, so as to obtain the relative position of the encoder at the current moment; wherein the circuit board 1 further comprises: at least two first magnetic sensing modules 4, used to sense the change of the magnetic signal of the magnetic component 3 to generate a first magnetic coding signal, so as to obtain the first running direction of the encoder, and determine the first circle value of the magnetic signal of the encoder at the current moment through the level change of the first magnetic sensing module; at least one second magnetic sensing module 5, used to sense the change of the magnetic signal of the magnetic component 3 to generate a second magnetic coding signal, so as to obtain the first absolute position of the encoder at the current moment; or, at least two third magnetic sensing modules, used to sense the change of the magnetic signal of the magnetic component 3 to generate a third magnetic coding signal, so as to obtain the second circle value of the magnetic signal of the encoder at the current moment; at least one fourth magnetic sensing module, used to sense the change of the magnetic signal of the magnetic component 3 to generate a fourth magnetic coding signal, and determine the first running direction of the encoder through the level change of the first magnetic sensing module; The circuit board 1 further comprises a signal processing unit connected to the first magnetic sensing module and the second magnetic sensing module, or the third magnetic sensing module and the fourth magnetic sensing module, or the fifth magnetic sensing module and the sixth magnetic sensing module, and the optical sensing module 6. The signal processing unit determines the position information of the encoder at the current moment according to the relative position of the encoder at the current moment, and the first running direction, the first circle value and the first absolute position, or the second running direction, the second circle value and the second absolute position, or the third running direction, the third circle value and the third absolute position. The encoder of the present invention has the advantages of high precision of photoelectric encoders and the advantages of earthquake resistance, corrosion resistance, pollution resistance, and high reliable performance of magnetoelectric encoders. It meets the requirements of high precision and high stability of encoders and solves the problem that photoelectric encoders or magnetoelectric encoders in the prior art cannot meet the requirements of high precision and anti-interference at the same time.

[0036] Wherein, the circuit board 1 is a PCB circuit board.

[0037] exist Figure 1In one embodiment of the present invention shown, the encoder is used to be installed on a rotating motor, the encoder includes a circuit board 1, a bracket 8, and a first magnetic induction module 4, a second magnetic induction module 5, a light sensing module 6, etc. arranged on the circuit board 1, the rotating motor includes an optical component 2 (i.e., a code disk), a magnetic component 3 (i.e., a magnetic steel or a magnetic ring) and a code disk support 7, the optical component 2 and the magnetic component 3 are installed on the rotating shaft of the rotating motor through the code disk support 7 to rotate with the rotating shaft, the circuit board 1 is installed on the rotating motor through the bracket 8, the first magnetic induction module 4, the second magnetic induction module 5 and the light sensing module 6 are all arranged on the circuit board 1, the first magnetic induction module 4 and the second magnetic induction module 5 are both arranged opposite to the magnetic component 3, and the light sensing module 6 is arranged opposite to the optical component 2.

[0038] The specific embodiments of the encoder of the present invention are as follows:

[0039] Embodiment 1

[0040] In this embodiment, the present invention provides an encoder, including a circuit board 1 and a magnetic component 3 movable relative to the circuit board 1, the circuit board 1 including: at least one light sensing module 6, used to sense the change of the light signal of the encoder to generate a light coding signal to obtain the relative position of the encoder at the current moment; wherein the circuit board 1 also includes: at least two first magnetic sensing modules 4, used to sense the change of the magnetic signal of the magnetic component 3 to generate a first magnetic coding signal to obtain the first running direction of the encoder, and determine the first circle value of the magnetic signal of the encoder at the current moment through the level change of the first magnetic sensing module; at least one second magnetic sensing module 5, used to sense the change of the magnetic signal of the magnetic component 3 to generate a second magnetic coding signal to obtain the first absolute position of the encoder at the current moment; the circuit board 1 also includes a signal processing unit connected to the first magnetic sensing module, the second magnetic sensing module and the light sensing module 6, the signal processing unit determines the position information of the encoder at the current moment according to the relative position of the encoder at the current moment, the first running direction, the first circle value and the first absolute position.

[0041] Embodiment 2

[0042] The difference between this embodiment and the first embodiment lies in the different ways of obtaining the running direction, circle value and absolute position of the encoder at the current moment. In this embodiment, the present invention provides an encoder, including a circuit board 1 and a magnetic component 3 movable relative to the circuit board 1, the circuit board 1 including: at least one light sensing module 6, used to sense the change of the optical signal of the encoder to generate a light coding signal to obtain the relative position of the encoder at the current moment; wherein the circuit board 1 also includes: at least two third magnetic sensing modules, used to sense the change of the magnetic signal of the magnetic component 3 to generate a third magnetic coding signal to obtain the second circle value of the magnetic signal of the encoder at the current moment; at least one fourth magnetic sensing module, used to sense the change of the magnetic signal of the magnetic component 3 to generate a fourth magnetic coding signal, and the second absolute position and the second running direction of the encoder at the current moment are obtained through the third magnetic coding signal and the fourth magnetic coding signal; the circuit board 1 also includes a signal processing unit connected to the third magnetic sensing module, the fourth magnetic sensing module and the light sensing module 6, the signal processing unit determines the position information of the encoder at the current moment according to the relative position of the encoder at the current moment and the second running direction, the second circle value and the second absolute position.

[0043] Embodiment 3

[0044] The difference between this embodiment and the first and second embodiments lies in the different ways of obtaining the running direction, the circle value and the absolute position of the encoder at the current moment. In this embodiment, the present invention provides an encoder, including a circuit board 1 and a magnetic component 3 movable relative to the circuit board 1, the circuit board 1 including: at least one light sensing module 6, used to sense the change of the optical signal of the encoder to generate a light coding signal to obtain the relative position of the encoder at the current moment; wherein the circuit board 1 also includes: at least two fifth magnetic sensing modules, used to sense the change of the magnetic signal of the magnetic component 3 to generate a fifth magnetic coding signal to obtain the third running direction of the encoder, and determine the third circle value of the magnetic signal of the encoder at the current moment through the level change of the fifth magnetic sensing module; at least one sixth magnetic sensing module, used to sense the change of the magnetic signal of the magnetic component 3 to generate a sixth magnetic coding signal, and obtain the third absolute position of the encoder at the current moment through the fifth magnetic coding signal and the sixth magnetic coding signal; the circuit board 1 also includes a signal processing unit connected to the fifth magnetic sensing module, the sixth magnetic sensing module and the light sensing module 6, the signal processing unit determines the position information of the encoder at the current moment according to the relative position, the third running direction, the third circle value and the third absolute position of the encoder at the current moment.

[0045] Embodiment 4

[0046] This embodiment is a further limitation of one of the embodiments one to three. In this embodiment, at least two first magnetic induction modules 4 or at least two third magnetic induction modules or at least two fifth magnetic induction modules output at least one first square wave signal group. Within one mechanical cycle, the first square wave signal group includes N cycles of the first square wave signal and N cycles of the second square wave signal, where N≥1 and N is an integer.

[0047] In this way, within one mechanical cycle, the first and second square wave signals output by the two first magnetic induction modules 4 or at least two third magnetic induction modules or at least two fifth magnetic induction modules correspond one to one with the circle value of the magnetic signal of the encoder at the current moment and the running direction of the encoder. Therefore, by calculating the first and second square wave signals of the two first magnetic induction modules 4 or at least two third magnetic induction modules or at least two fifth magnetic induction modules, the circle value of the magnetic signal of the encoder at the current moment and the running direction of the encoder can be directly obtained.

[0048] When the encoder is installed in a rotating motor, within one mechanical cycle, the first square wave signal group includes N cycles of first square wave signals and N cycles of second square wave signals, which means that every time the magnetic component 3 rotates one circle (i.e. 360 degrees) with the rotor of the rotating motor, two first magnetic induction modules 4 or at least two third magnetic induction modules or at least two fifth magnetic induction modules output N cycles of first square wave signals and N cycles of second square wave signals.

[0049] When the encoder is installed in the drum motor, within one mechanical cycle, the first square wave signal group includes N cycles of first square wave signals and N cycles of second square wave signals, which means that every time the magnetic component 3 rotates one circle (i.e. 360 degrees) with the mover of the drum motor, two first magnetic induction modules 4 or at least two third magnetic induction modules or at least two fifth magnetic induction modules output N cycles of first square wave signals and N cycles of second square wave signals.

[0050] When the encoder is installed in the linear motor, within one mechanical cycle, the first square wave signal group includes N cycles of first square wave signals and N cycles of second square wave signals, which means that every time the circuit board 1 moves a stroke with the rotor of the linear motor, two first magnetic induction modules 4 or at least two third magnetic induction modules or at least two fifth magnetic induction modules output N cycles of first square wave signals and N cycles of second square wave signals.

[0051] Embodiment 5

[0052] This embodiment is a further limitation of the fourth embodiment. In this embodiment, the phase difference between the first square wave signal and the second square wave signal of each first square wave signal group at the same time is 90 degrees.

[0053] Embodiment 6

[0054] This embodiment is a further limitation of one of the first to third embodiments. In this embodiment, the second magnetically encoded signal or the fourth magnetically encoded signal or the sixth magnetically encoded signal includes at least one first sine-cosine signal group. Within one mechanical cycle, the first sine-cosine signal group includes one period of first sine signal and one period of first cosine signal.

[0055] In this way, within one mechanical cycle, the first sine and cosine signals output by the second magnetic sensing module 5 or the fourth magnetic sensing module or the sixth magnetic sensing module correspond one-to-one to the absolute position of the encoder at the current moment. Therefore, the absolute position of the encoder at the current moment can be directly obtained by calculating the sine and cosine signals of the second magnetic sensing module 5 or the fourth magnetic sensing module or the sixth magnetic sensing module.

[0056] When the encoder is installed in a rotating motor, within one mechanical cycle, the first sine-cosine signal group includes one period of the first sine signal and one period of the first cosine signal, which means that every time the magnetic component 3 rotates one circle (i.e. 360 degrees) with the rotor of the rotating motor, the second magnetic induction module 5 or the fourth magnetic induction module or the sixth magnetic induction module outputs one period of the first sine signal and one period of the first cosine signal.

[0057] When the encoder is installed in the drum motor, within one mechanical cycle, the first sine-cosine signal group includes one cycle of the first sine signal and one cycle of the first cosine signal, which means that every time the magnetic component 3 rotates one circle (i.e. 360 degrees) with the mover of the drum motor, the second magnetic induction module 5 or the fourth magnetic induction module or the sixth magnetic induction module outputs one cycle of the first sine signal and one cycle of the first cosine signal.

[0058] When the encoder is installed in the linear motor, within one mechanical cycle, the first sine-cosine signal group includes one cycle of the first sine signal and one cycle of the first cosine signal, which means that every time the circuit board 1 moves a stroke with the rotor of the linear motor, the second magnetic induction module 5 or the fourth magnetic induction module or the sixth magnetic induction module outputs one cycle of the first sine signal and one cycle of the first cosine signal.

[0059] Embodiment 7

[0060] This embodiment is a further limitation of one of the embodiments one to three. The difference between this embodiment and embodiment six lies in the difference in the specific waveform of the second magnetic encoding signal or the fourth magnetic encoding signal or the sixth magnetic encoding signal. In this embodiment, the second magnetic encoding signal or the fourth magnetic encoding signal or the sixth magnetic encoding signal includes at least one second sine-cosine signal group. Within one mechanical cycle, the second sine-cosine signal group includes two cycles of second sine signals and two cycles of second cosine signals.

[0061] In this way, within one mechanical cycle, the second sine and cosine signals output by the second magnetic sensing module 5 or the fourth magnetic sensing module or the sixth magnetic sensing module correspond one-to-one to the absolute position of the encoder at the current moment. Therefore, the absolute position of the encoder at the current moment can be directly obtained by calculating the sine and cosine signals of the second magnetic sensing module 5 or the fourth magnetic sensing module or the sixth magnetic sensing module.

[0062] When the encoder is installed in a rotating motor, within one mechanical cycle, the second sine-cosine signal group includes two cycles of second sine signals and two cycles of second cosine signals, which means that every time the magnetic component 3 rotates one circle (i.e. 360 degrees) with the rotor of the rotating motor, the second magnetic induction module 5 or the fourth magnetic induction module or the sixth magnetic induction module outputs two cycles of second sine signals and two cycles of second cosine signals.

[0063] When the encoder is installed in the drum motor, within one mechanical cycle, the second sine-cosine signal group includes two cycles of second sine signals and two cycles of second cosine signals, which means that every time the magnetic component 3 rotates one circle (i.e. 360 degrees) with the mover of the drum motor, the second magnetic induction module 5 or the fourth magnetic induction module or the sixth magnetic induction module outputs two cycles of second sine signals and two cycles of second cosine signals.

[0064] When the encoder is installed in the linear motor, within one mechanical cycle, the second sine-cosine signal group includes two cycles of second sine signals and two cycles of second cosine signals, which means that every time the circuit board 1 moves a stroke with the rotor of the linear motor, the second magnetic induction module 5 or the fourth magnetic induction module or the sixth magnetic induction module outputs two cycles of second sine signals and two cycles of second cosine signals.

[0065] Embodiment 8

[0066] This embodiment is a further limitation of one of the embodiments one to three. The difference between this embodiment and embodiments six and seven lies in the difference in the specific waveforms of the second magnetically encoded signal or the fourth magnetically encoded signal or the sixth magnetically encoded signal. In this embodiment, the second magnetically encoded signal includes at least one third sine-cosine signal group. Within one mechanical cycle, the third sine-cosine signal group includes M cycles of a third sine signal and M cycles of a third cosine signal, where M≥3 and M is an integer.

[0067] In this way, within one mechanical cycle, the first sine and cosine signals output by the second magnetic sensing module 5 or the fourth magnetic sensing module or the sixth magnetic sensing module correspond one-to-one to the absolute position of the encoder at the current moment. Therefore, the absolute position of the encoder at the current moment can be directly obtained by calculating the sine and cosine signals of the second magnetic sensing module 5 or the fourth magnetic sensing module or the sixth magnetic sensing module.

[0068] When the encoder is installed in a rotating motor, within one mechanical cycle, the third sine-cosine signal group includes M cycles of the third sine signal and M cycles of the third cosine signal, which means that every time the magnetic component 3 rotates one circle (i.e. 360 degrees) with the rotor of the rotating motor, the second magnetic induction module 5 or the fourth magnetic induction module or the sixth magnetic induction module outputs M cycles of the third sine signal and M cycles of the third cosine signal.

[0069] When the encoder is installed in the drum motor, within one mechanical cycle, the third sine-cosine signal group includes M cycles of the third sine signal and M cycles of the third cosine signal, which means that every time the magnetic component 3 rotates one circle (i.e. 360 degrees) with the mover of the drum motor, the second magnetic induction module 5 or the fourth magnetic induction module or the sixth magnetic induction module outputs M cycles of the third sine signal and M cycles of the third cosine signal.

[0070] When the encoder is installed in the linear motor, within one mechanical cycle, the third sine-cosine signal group includes M cycles of the third sine signal and M cycles of the third cosine signal, which means that every time the circuit board 1 moves a stroke with the rotor of the linear motor, the second magnetic induction module 5 or the fourth magnetic induction module or the sixth magnetic induction module outputs M cycles of the third sine signal and M cycles of the third cosine signal.

[0071] Embodiment 9

[0072] This embodiment is a further limitation of one of Embodiments 1 to 3. The difference between this embodiment and Embodiments 6 to 8 lies in the specific waveform of the second magnetic encoding signal, the fourth magnetic encoding signal, or the sixth magnetic encoding signal. In this embodiment, the second magnetic encoding signal, the fourth magnetic encoding signal, or the sixth magnetic encoding signal includes at least one periodic digital signal.

[0073] Embodiment 10

[0074] This embodiment is a further limitation of one of Embodiments 1 to 3. The difference between this embodiment and Embodiments 6 to 9 lies in the difference in the specific waveform of the second magnetic encoding signal or the fourth magnetic encoding signal or the sixth magnetic encoding signal. In this embodiment, the second magnetic encoding signal or the fourth magnetic encoding signal or the sixth magnetic encoding signal includes at least one PWM signal that changes periodically with the angular position.

[0075] Embodiment 11

[0076] This embodiment is a further limitation of one of Embodiments 1 to 3. The difference between this embodiment and Embodiments 6 to 10 lies in the specific waveform of the second magnetic encoding signal, the fourth magnetic encoding signal, or the sixth magnetic encoding signal. In this embodiment, the second magnetic encoding signal, the fourth magnetic encoding signal, or the sixth magnetic encoding signal includes at least one period of a triangular wave signal.

[0077] Embodiment 12

[0078] This embodiment is a further limitation of one of Embodiments 1 to 3. The difference between this embodiment and Embodiments 6 to 11 lies in the difference in the specific waveform of the second magnetic encoding signal, the fourth magnetic encoding signal, or the sixth magnetic encoding signal. In this embodiment, the second magnetic encoding signal, the fourth magnetic encoding signal, or the sixth magnetic encoding signal includes a trapezoidal wave signal of at least four cycles.

[0079] Embodiment 13

[0080] This embodiment is a further limitation of any one of Embodiments 1 to 3. In this embodiment, the optically coded signal includes at least one second square wave signal group, wherein the second square wave signal group includes H cycles of a third square wave signal and H cycles of a fourth square wave signal, wherein H≥1 and H is an integer.

[0081] Thus, within one mechanical cycle, the third and fourth square wave signals output by the photosensitive module 6 correspond to the relative positions one by one. Therefore, the relative position of the circuit board 1 relative to the optical component 2 can be directly obtained by calculating the third and fourth square wave signals of the photosensitive module 6 .

[0082] When the encoder is installed in a rotating motor, within one mechanical cycle, the second square wave signal group includes H cycles of the third square wave signal and H cycles of the fourth square wave signal, which means that every time the optical component 2 rotates one circle (i.e. 360 degrees) with the rotor of the rotating motor, the photosensitive module 6 outputs H cycles of the third square wave signal and H cycles of the fourth square wave signal.

[0083] When the encoder is installed in the drum motor, within one mechanical cycle, the second square wave signal group includes H cycles of the third square wave signal and H cycles of the fourth square wave signal, which means that every time the optical component 2 rotates one circle (i.e. 360 degrees) with the mover of the drum motor, the photosensitive module 6 outputs H cycles of the third square wave signal and H cycles of the fourth square wave signal.

[0084] When the encoder is installed in the linear motor, within one mechanical cycle, the second square wave signal group includes H cycles of the third square wave signal and H cycles of the fourth square wave signal, which means that every time the circuit board 1 moves a stroke with the rotor of the linear motor, the photosensitive module 6 outputs H cycles of the third square wave signal and H cycles of the fourth square wave signal.

[0085] Embodiment 14

[0086] This embodiment is a further limitation of any one of Embodiments 1 to 3. The difference between this embodiment and Embodiment 13 lies in the specific waveform of the optical coding signal. In this embodiment, the optical coding signal includes at least one fourth sine-cosine signal group. In one mechanical cycle, the fourth sine-cosine signal group includes K cycles of sine signals and K cycles of cosine signals, where K≥1 and K is an integer.

[0087] Thus, within one mechanical cycle, the fourth sine and cosine signals output by the light sensing module 6 correspond to the relative positions one by one. Therefore, the relative position of the circuit board 1 relative to the optical component 2 can be directly obtained by calculating the sine and cosine signals of the light sensing module 6 .

[0088] When the encoder is installed in a rotating motor, within one mechanical cycle, the fourth sine-cosine signal group includes K cycles of fourth sine signals and K cycles of fourth cosine signals, which means that every time the optical component 2 rotates one circle (i.e. 360 degrees) with the rotor of the rotating motor, the photosensitive module 6 outputs K cycles of fourth sine signals and K cycles of fourth cosine signals.

[0089] When the encoder is installed in the drum motor, within one mechanical cycle, the fourth sine-cosine signal group includes K cycles of the fourth sine signal and K cycles of the fourth cosine signal, which means that every time the optical component 2 rotates one circle (i.e. 360 degrees) with the mover of the drum motor, the photosensitive module 6 outputs K cycles of the fourth sine signal and K cycles of the fourth cosine signal.

[0090] When the encoder is installed in the linear motor, within one mechanical cycle, the fourth sine-cosine signal group includes K cycles of fourth sine signals and K cycles of fourth cosine signals, which means that every time the circuit board 1 moves a stroke with the rotor of the linear motor, the photosensitive module 6 outputs K cycles of fourth sine signals and K cycles of fourth cosine signals.

[0091] Embodiment 15

[0092] This embodiment is a further limitation of the thirteenth embodiment. In this embodiment, the phase difference between the third square wave signal and the fourth square wave signal of each second square wave signal group at the same time is 90 degrees.

[0093] Embodiment 16

[0094] This embodiment is a further limitation of any one of Embodiments 1 to 15. In this embodiment, the encoder includes a code disk provided with a code channel, and the photosensitive module 6 is used to sense the change of the light signal of the code disk to generate a light coding signal, wherein the code channel is annular and includes grating lines formed by multiple reflective metal sheets.

[0095] Embodiment 17

[0096] This embodiment is a further limitation of any one of Embodiments 1 to 15. The difference between this embodiment and Embodiment 16 lies in the types of optical components that reflect or transmit light signals. In this embodiment, the encoder includes an annular grating provided with a code channel, and the photosensitive module 6 is used to sense changes in the light signal of the annular grating to generate a light coding signal.

[0097] Embodiment 18

[0098] This embodiment is a further limitation of Embodiments 1 to 15. The difference between this embodiment and Embodiments 16 and 17 lies in the types of optical components that reflect or transmit light signals. In this embodiment, the encoder includes a drum grating provided with a code channel, and the photosensitive module 6 is used to sense changes in the light signal of the drum grating to generate a light coding signal.

[0099] Embodiment 19

[0100] This embodiment is a further limitation of any one of Embodiments 1 to 15. The difference between this embodiment and Embodiments 16 to 18 lies in the types of optical components that reflect or transmit light signals. In this embodiment, the encoder includes a code disk provided with code channels and an annular grating provided with code channels. The photosensitive module 6 is used to sense changes in light signals of the code disk and the annular grating to generate light coding signals.

[0101] Embodiment 20

[0102] This embodiment is a further limitation of any one of Embodiments 1 to 15. The difference between this embodiment and Embodiments 16 to 19 lies in the types of optical components that reflect or transmit light signals. In this embodiment, the encoder includes a code disk with code channels, an annular grating with code channels, and a drum grating with code channels. The photosensitive module 6 is used to sense changes in light signals of the code disk, the annular grating, and the drum grating to generate light coding signals.

[0103] Embodiment 21

[0104] This embodiment is a further limitation of any one of Embodiments 1 to 15. The difference between this embodiment and Embodiments 16 to 20 lies in the types of optical components that reflect or transmit light signals. In this embodiment, the encoder includes a code disk provided with code channels and a drum grating provided with code channels. The photosensitive module 6 is used to sense changes in light signals of the code disk and the drum grating to generate light coding signals.

[0105] Embodiment 22

[0106] This embodiment is a further limitation of any one of Embodiments 1 to 15. The difference between this embodiment and Embodiments 16 to 21 lies in the types of optical components that reflect or transmit light signals. In this embodiment, the encoder includes an annular grating provided with a code channel and a drum grating provided with a code channel. The photosensitive module 6 is used to sense changes in light signals of the annular grating and the drum grating to generate light coding signals.

[0107] Embodiment 23

[0108] This embodiment is a further limitation of any one of Embodiments 1 to 15. The difference between this embodiment and Embodiments 16 to 22 lies in the types of optical components that reflect or transmit light signals. In this embodiment, the encoder includes a grating scale with code tracks, and the photosensitive module 6 is used to sense changes in the light signal of the grating scale to generate a light coding signal.

[0109] Embodiment 24

[0110] This embodiment is a further limitation of any one of Embodiments 16 to 23. In this embodiment, the light emitted by the light sensing module 6 is reflected by the code channel and then received again by the light sensing module 6.

[0111] Embodiment 25

[0112] This embodiment is a further limitation of any one of Embodiments 14 to 20. The difference between this embodiment and Embodiment 24 is that the optical components feedback light information in different ways. In this embodiment, the encoder also includes a light source for emitting light. The light emitted by the light source is received by the light sensing module 6 after being reflected or transmitted through the code channel.

[0113] Embodiment 26

[0114] This embodiment is a further limitation of one of the first to third embodiments. In this embodiment, the encoder includes a magnet, a first magnetic sensing module 4 or a third magnetic sensing module or a fifth magnetic sensing module is used to sense the magnetic field change of the magnet to generate a first magnetic encoding signal or a third magnetic encoding signal or a fifth magnetic encoding signal, and a second magnetic sensing module 5 or a fourth magnetic sensing module or a sixth magnetic sensing module is used to sense the magnetic field change of the magnet to generate a second magnetic encoding signal or a fourth magnetic encoding signal or a sixth magnetic encoding signal.

[0115] like Figure 2 As shown, the magnetic steel is a disc-shaped structure for being arranged at the center position of the end of the rotating main shaft, wherein the magnetic steel includes a semicircular N pole and a semicircular S pole.

[0116] Embodiment 27

[0117] This embodiment is a further limitation of one of the embodiments one to three. The difference between this embodiment and embodiment twenty-six lies in the type of magnetic components that generate magnetic signals. In this embodiment, the encoder includes a magnetic ring, and the first magnetic sensing module 4 or the third magnetic sensing module or the fifth magnetic sensing module is used to sense the magnetic field changes of the magnetic ring to generate a first magnetic encoding signal or a third magnetic encoding signal or a fifth magnetic encoding signal. The second magnetic sensing module 5 or the fourth magnetic sensing module or the sixth magnetic sensing module is used to sense the magnetic field changes of the magnetic ring to generate a second magnetic encoding signal or a fourth magnetic encoding signal or a sixth magnetic encoding signal.

[0118] Embodiment 28

[0119] This embodiment is a further limitation of one of the embodiments one to three. The difference between this embodiment and embodiments twenty-six and twenty-seven lies in the type of magnetic components that generate magnetic signals. In this embodiment, the encoder includes a magnetic drum, a first magnetic sensing module 4 or a third magnetic sensing module or a fifth magnetic sensing module is used to sense the magnetic field changes of the magnetic drum to generate a first magnetic encoding signal or a third magnetic encoding signal or a fifth magnetic encoding signal, and a second magnetic sensing module 5 or a fourth magnetic sensing module or a sixth magnetic sensing module is used to sense the magnetic field changes of the magnetic drum to generate a second magnetic encoding signal or a fourth magnetic encoding signal or a sixth magnetic encoding signal.

[0120] Embodiment 29

[0121] This embodiment is a further limitation of one of the embodiments one to three. The difference between this embodiment and embodiments twenty-six to twenty-eight lies in the type of magnetic components that generate magnetic signals. In this embodiment, the encoder includes a magnet and a magnetic ring. The first magnetic sensing module 4 or the third magnetic sensing module or the fifth magnetic sensing module is used to sense the magnetic field changes of the magnet and the magnetic ring to generate a first magnetic encoding signal or a third magnetic encoding signal or a fifth magnetic encoding signal. The second magnetic sensing module 5 or the fourth magnetic sensing module or the sixth magnetic sensing module is used to sense the magnetic field changes of the magnet and the magnetic ring to generate a second magnetic encoding signal or a fourth magnetic encoding signal or a sixth magnetic encoding signal.

[0122] Embodiment 30

[0123] This embodiment is a further limitation of one of the embodiments one to three. The difference between this embodiment and embodiments twenty-six to twenty-nine lies in the type of magnetic components that generate magnetic signals. In this embodiment, the encoder includes a magnet and a magnetic drum. The first magnetic sensing module 4 or the third magnetic sensing module or the fifth magnetic sensing module is used to sense the magnetic field changes of the magnet and the magnetic drum to generate a first magnetic encoding signal or a third magnetic encoding signal or a fifth magnetic encoding signal. The second magnetic sensing module 5 or the fourth magnetic sensing module or the sixth magnetic sensing module is used to sense the magnetic field changes of the magnet and the magnetic drum to generate a second magnetic encoding signal or a fourth magnetic encoding signal or a sixth magnetic encoding signal.

[0124] Embodiment 31

[0125] This embodiment is a further limitation of one of the embodiments one to three. The difference between this embodiment and embodiments twenty-six to thirty lies in the type of magnetic components that generate magnetic signals. In this embodiment, the encoder includes a magnetic ring and a magnetic drum. The first magnetic sensing module 4 or the third magnetic sensing module or the fifth magnetic sensing module is used to sense the magnetic field changes of the magnetic ring and the magnetic drum to generate a first magnetic encoding signal or a third magnetic encoding signal or a fifth magnetic encoding signal. The second magnetic sensing module 5 or the fourth magnetic sensing module or the sixth magnetic sensing module is used to sense the magnetic field changes of the magnetic ring and the magnetic drum to generate a second magnetic encoding signal or a fourth magnetic encoding signal or a sixth magnetic encoding signal.

[0126] Embodiment 32

[0127] This embodiment is a further limitation of any one of Embodiments 1 to 3. The difference between this embodiment and Embodiments 26 to 31 lies in the type of magnetic components that generate magnetic signals. In this embodiment, the encoder includes a magnet, a magnetic ring and a magnetic drum. The first magnetic sensing module 4 or the third magnetic sensing module or the fifth magnetic sensing module is used to sense the magnetic field changes of the magnet, the magnetic ring and the magnetic drum to generate a first magnetic encoding signal or a third magnetic encoding signal or a fifth magnetic encoding signal. The second magnetic sensing module 5 or the fourth magnetic sensing module or the sixth magnetic sensing module is used to sense the magnetic field changes of the magnet, the magnetic ring and the magnetic drum to generate a second magnetic encoding signal or a fourth magnetic encoding signal or a sixth magnetic encoding signal.

[0128] Embodiment 33

[0129] This embodiment is a further limitation of one of the embodiments one to three. The difference between this embodiment and embodiments twenty-six to thirty-two lies in the type of magnetic components that generate magnetic signals. In this embodiment, the encoder includes a magnetic scale, a first magnetic sensing module 4 or a third magnetic sensing module or a fifth magnetic sensing module for sensing changes in the magnetic field of the magnetic scale to generate a first magnetic encoding signal or a third magnetic encoding signal or a fifth magnetic encoding signal, and a second magnetic sensing module 5 or a fourth magnetic sensing module or a sixth magnetic sensing module for sensing changes in the magnetic field of the magnetic scale to generate a second magnetic encoding signal or a fourth magnetic encoding signal or a sixth magnetic encoding signal.

[0130] Embodiment 34

[0131] This embodiment is a further limitation of one of the first to third embodiments. In this embodiment, the first magnetic induction module 4 or the second magnetic induction module 5 or the third magnetic induction module or the fourth magnetic induction module or the fifth magnetic induction module or the sixth magnetic induction module includes a Hall switch.

[0132] Embodiment 35

[0133] This embodiment is a further limitation of one of the embodiments one to three. The difference between this embodiment and embodiment thirty-four lies in the specific types of the first magnetic induction module 4 or the second magnetic induction module 5 or the third magnetic induction module or the fourth magnetic induction module or the fifth magnetic induction module or the sixth magnetic induction module. In this embodiment, the first magnetic induction module 4 or the second magnetic induction module 5 or the third magnetic induction module or the fourth magnetic induction module or the fifth magnetic induction module or the sixth magnetic induction module includes a magnetic induction chip, and the magnetic induction chip includes at least one of TMR, GMR and AMR.

[0134] Embodiment 36

[0135] This embodiment is a further limitation of one of the embodiments one to three. The difference between this embodiment and embodiments thirty-four and thirty-five lies in the specific types of the first magnetic induction module 4 or the second magnetic induction module 5 or the third magnetic induction module or the fourth magnetic induction module or the fifth magnetic induction module or the sixth magnetic induction module. In this embodiment, the first magnetic induction module 4 or the second magnetic induction module 5 or the third magnetic induction module or the fourth magnetic induction module or the fifth magnetic induction module or the sixth magnetic induction module includes a Hall switch and a magnetic induction chip, and the magnetic induction chip includes at least one of TMR, GMR and AMR.

[0136] Embodiment 37

[0137] This embodiment is a further limitation of one of the first to third embodiments. In this embodiment, the optical coding signal also includes at least one Z pulse signal. The signal processing unit receives and processes the Z pulse signal to obtain the optical signal circle value of the encoder at the current moment.

[0138] Embodiment 38

[0139] This embodiment is a further limitation of one of the first to third embodiments. In this embodiment, the number of the first magnetic induction module 4 or the third magnetic induction module or the fifth magnetic induction module is two, and the angle between the center lines of the two first magnetic induction modules 4 or the third magnetic induction modules or the fifth magnetic induction modules is a mechanical angle of 90 degrees.

[0140] Specifically, for example Figure 5 As shown, on the plane P perpendicular to the rotation axis L of the magnetic component 3, the center line of the first first magnetic induction module 4 is the connecting line OO1 between the projection point O1 of the center of the first first magnetic induction module 4 on the plane P and the projection point O of the rotation axis L of the magnetic component 3 on the plane P, and the center line of the second first magnetic induction module 4 is the connecting line OO2 between the projection point O2 of the center of the first first magnetic induction module 4 on the plane P and the projection point O of the rotation axis L of the magnetic component 3 on the plane P, and the angle between the center line of the first magnetic induction module 4 and the center line of the first magnetic induction module 4 is the angle α between OO1 and OO2.

[0141] Embodiment 39

[0142] This embodiment is a further limitation of one of the embodiments one to three. The difference between this embodiment and embodiment thirty-eight lies in the relative positions of the two first magnetic induction modules or the third magnetic induction modules or the fifth magnetic induction modules. In this embodiment, the number of the first magnetic induction modules 4 or the third magnetic induction modules or the fifth magnetic induction modules is two, and the angle between the center lines of the two first magnetic induction modules 4 or the third magnetic induction modules or the fifth magnetic induction modules is a mechanical angle of 270 degrees.

[0143] Specifically, for example Figure 6 As shown, on the plane P perpendicular to the rotation axis L of the magnetic component 3, the center line of the first first magnetic induction module 4 is the center line OO3 between the projection point O3 of the center of the first first magnetic induction module 4 on the plane P and the projection point O of the rotation axis L of the magnetic component 3 on the plane P, and the center line of the second first magnetic induction module 4 is the center line OO4 between the projection point O4 of the center of the first first magnetic induction module 4 on the plane P and the projection point O of the rotation axis L of the magnetic component 3 on the plane P, and the angle between the center line of the first magnetic induction module 4 and the center line of the first magnetic induction module 4 is the angle β between OO3 and OO4.

[0144] Embodiment 40

[0145] This embodiment is a further limitation of one of the embodiments one to three. The difference between this embodiment and embodiment thirty-eight lies in the number of first magnetic induction modules 4 or third magnetic induction modules or fifth magnetic induction modules. In this embodiment, the number of first magnetic induction modules 4 or third magnetic induction modules or fifth magnetic induction modules is H, where H≥3, H is an integer, and the H first magnetic induction modules 4 or third magnetic induction modules or fifth magnetic induction modules are arranged at equal intervals around the rotation axis of the encoder, and the angle between the center lines of any two adjacent first magnetic induction modules 4 or third magnetic induction modules or fifth magnetic induction modules is a mechanical angle of 180 degrees / H.

[0146] Specifically, for example Figure 7 As shown, on the plane P perpendicular to the rotation axis L of the magnetic component 3, the center line of the first first magnetic induction module 4 of any two adjacent first magnetic induction modules 4 is the connecting line OO5 between the projection point O5 of the center of the first first magnetic induction module 4 on the plane P and the projection point O of the rotation axis L of the magnetic component 3 on the plane P; the center line of the second first magnetic induction module 4 of any two adjacent first magnetic induction modules 4 is the connecting line OO6 between the projection point O6 of the center of the first first magnetic induction module 4 on the plane P and the projection point O of the rotation axis L of the magnetic component 3 on the plane P; the angle between the center lines of any two adjacent first magnetic induction modules 4 is the angle γ between OO5 and OO6.

[0147] Embodiment 41

[0148] This embodiment is a further limitation of one of the embodiments one to three. The difference between this embodiment and embodiment forty lies in the relative positions of H first magnetic induction modules 4 or third magnetic induction modules or fifth magnetic induction modules. In this embodiment, the number of first magnetic induction modules 4 or third magnetic induction modules or fifth magnetic induction modules is H, where H≥3, H is an integer, and the H first magnetic induction modules 4 or third magnetic induction modules or fifth magnetic induction modules are arranged at equal intervals around the rotation axis of the encoder, and the angle between the center lines of any two adjacent first magnetic induction modules 4 or third magnetic induction modules or fifth magnetic induction modules is a mechanical angle of 360 degrees / H.

[0149] Specifically, for example Figure 8 As shown, on the plane P perpendicular to the rotation axis L of the magnetic component 3, the center line of the first first magnetic induction module 4 of any two adjacent first magnetic induction modules 4 is the connecting line OO7 between the projection point O7 of the center of the first first magnetic induction module 4 on the plane P and the projection point O of the rotation axis L of the magnetic component 3 on the plane P; the center line of the second first magnetic induction module 4 of any two adjacent first magnetic induction modules 4 is the connecting line OO8 between the projection point O8 of the center of the first first magnetic induction module 4 on the plane P and the projection point O of the rotation axis L of the magnetic component 3 on the plane P; the angle between the center lines of any two adjacent first magnetic induction modules 4 is the angle θ between OO7 and OO8.

[0150] Embodiment 42

[0151] This embodiment is a further limitation of any one of Embodiments 16 to 22. In this embodiment, the code channel is a vernier code channel.

[0152] Embodiment 43

[0153] This embodiment is a further limitation of any one of Embodiments 16 to 22. The difference between this embodiment and Embodiment 42 lies in the type of code channel. In this embodiment, the code channel is a Gray code channel.

[0154] Embodiment 44

[0155] This embodiment is a further limitation of any one of Embodiments 16 to 22. The difference between this embodiment and Embodiments 42 and 43 lies in the type of code channel. In this embodiment, the code channel is an M-sequence code channel.

[0156] Embodiment 45

[0157] This embodiment is a further limitation of any one of Embodiments 16 to 22. The difference between this embodiment and Embodiments 42 to 44 lies in the type of code channel. In this embodiment, the code channel is a single-circle code channel.

[0158] The present invention provides a motor, comprising an encoder, and the encoder is the above-mentioned encoder.

[0159] The present invention also provides an automation device, comprising a motor, and the motor is the above-mentioned motor.

[0160] From the above description, it can be seen that the above embodiments of the present invention achieve the following technical effects:

[0161] The present invention provides an encoder, comprising a circuit board 1 and a magnetic component 3 movable relative to the circuit board 1, wherein the circuit board 1 comprises: at least one optical sensing module 6, used to sense the change of the optical signal of the encoder to generate an optical coding signal, so as to obtain the relative position of the encoder at the current moment; wherein the circuit board 1 further comprises: at least two first magnetic sensing modules 4, used to sense the change of the magnetic signal of the magnetic component 3 to generate a first magnetic coding signal, so as to obtain the first running direction of the encoder, and determine the first circle value of the magnetic signal of the encoder at the current moment through the level change of the first magnetic sensing module; at least one second magnetic sensing module 5, used to sense the change of the magnetic signal of the magnetic component 3 to generate a second magnetic coding signal, so as to obtain the first absolute position of the encoder at the current moment; or, at least two third magnetic sensing modules, used to sense the change of the magnetic signal of the magnetic component 3 to generate a third magnetic coding signal, so as to obtain the second circle value of the magnetic signal of the encoder at the current moment; at least one fourth magnetic sensing module, used to sense the change of the magnetic signal of the magnetic component 3 to generate a fourth magnetic coding signal, and determine the first running direction of the encoder through the level change of the first magnetic sensing module; The circuit board 1 further comprises a signal processing unit connected to the first magnetic sensing module and the second magnetic sensing module, or the third magnetic sensing module and the fourth magnetic sensing module, or the fifth magnetic sensing module and the sixth magnetic sensing module, and the optical sensing module 6. The signal processing unit determines the position information of the encoder at the current moment according to the relative position of the encoder at the current moment, and the first running direction, the first circle value and the first absolute position, or the second running direction, the second circle value and the second absolute position, or the third running direction, the third circle value and the third absolute position. The encoder of the present invention has the advantages of high precision of photoelectric encoders and the advantages of earthquake resistance, corrosion resistance, pollution resistance, and high reliable performance of magnetoelectric encoders. It meets the requirements of high precision and high stability of encoders and solves the problem that photoelectric encoders or magnetoelectric encoders in the prior art cannot meet the requirements of high precision and anti-interference at the same time.

[0162] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present application. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprise" and / or "include" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0163] Unless otherwise specifically stated, the relative arrangement, numerical expressions and numerical values ​​of the parts and steps set forth in these embodiments do not limit the scope of the present application. At the same time, it should be understood that, for ease of description, the sizes of the various parts shown in the accompanying drawings are not drawn according to the actual proportional relationship. The technology, method and equipment known to those of ordinary skill in the relevant field may not be discussed in detail, but in appropriate cases, the technology, method and equipment should be considered as a part of the authorization specification. In all examples shown and discussed here, any specific value should be interpreted as being merely exemplary, rather than as a limitation. Therefore, other examples of exemplary embodiments may have different values. It should be noted that similar reference numerals and letters represent similar items in the following drawings, so that once a certain item is defined in an accompanying drawing, it does not need to be further discussed in subsequent drawings.

[0164] In the description of the present application, it should be understood that the directions or positional relationships indicated by directional words such as "front, back, up, down, left, right", "lateral, vertical, perpendicular, horizontal" and "top, bottom" are usually based on the directions or positional relationships shown in the drawings, and are only for the convenience of describing the present application and simplifying the description. Unless otherwise specified, these directional words do not indicate or imply that the device or element referred to must have a specific direction or be constructed and operated in a specific direction, and therefore cannot be understood as limiting the scope of protection of the present application; the directional words "inside and outside" refer to the inside and outside relative to the contours of each component itself.

[0165] For ease of description, spatially relative terms such as "above", "above", "on the upper surface of", "above", etc. may be used here to describe the spatial positional relationship between a device or feature and other devices or features as shown in the figure. It should be understood that spatially relative terms are intended to include different orientations of the device in use or operation in addition to the orientation described in the figure. For example, if the device in the accompanying drawings is inverted, the device described as "above other devices or structures" or "above other devices or structures" will be positioned as "below other devices or structures" or "below other devices or structures". Thus, the exemplary term "above" can include both "above" and "below". The device can also be positioned in other different ways (rotated 90 degrees or in other orientations), and the spatially relative descriptions used here are interpreted accordingly.

[0166] In addition, it should be noted that the use of terms such as "first" and "second" to limit components is only for the convenience of distinguishing the corresponding components. Unless otherwise stated, the above terms have no special meaning and therefore cannot be understood as limiting the scope of protection of this application.

[0167] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. An encoder, comprising a circuit board (1) and a magnetic component (3) movable relative to the circuit board (1), characterized in that: The circuit board (1) comprises: At least one light sensing module (6) is used to sense the change of the light signal of the encoder to generate a light coding signal, so as to obtain the relative position of the encoder at a current moment; Wherein, the circuit board (1) further comprises: At least two first magnetic sensing modules (4) are used to sense the change of the magnetic signal of the magnetic component (3) to generate a first magnetic encoding signal to obtain a first running direction of the encoder, and determine a first circle value of the magnetic signal of the encoder at a current moment through the level change of the first magnetic sensing modules; at least one second magnetic sensing module (5) is used to sense the change of the magnetic signal of the magnetic component (3) to generate a second magnetic encoding signal to obtain a first absolute position of the encoder at a current moment; or, At least two third magnetic sensing modules, used for sensing the change of the magnetic signal of the magnetic component (3) to generate a third magnetic encoding signal, so as to obtain a second circle value of the magnetic signal of the encoder at a current moment; at least one fourth magnetic sensing module, used for sensing the change of the magnetic signal of the magnetic component (3) to generate a fourth magnetic encoding signal, and obtaining the second absolute position and the second running direction of the encoder at the current moment through the third magnetic encoding signal and the fourth magnetic encoding signal; or, at least two fifth magnetic sensing modules, used for sensing the change of the magnetic signal of the magnetic component (3) to generate a fifth magnetic encoding signal, so as to obtain a third running direction of the encoder, and determine a third circle value of the magnetic signal of the encoder at a current moment through the level change of the fifth magnetic sensing module; at least one sixth magnetic sensing module, used for sensing the change of the magnetic signal of the magnetic component (3) to generate a sixth magnetic encoding signal, and obtaining a third absolute position of the encoder at a current moment through the fifth magnetic encoding signal and the sixth magnetic encoding signal; The circuit board (1) further comprises a signal processing unit connected to the first magnetic induction module and the second magnetic induction module, or the third magnetic induction module and the fourth magnetic induction module, or the fifth magnetic induction module and the sixth magnetic induction module, and the optical sensing module (6), wherein the signal processing unit determines the position information of the encoder at a current moment according to the relative position of the encoder at a current moment, and the first running direction, the first circle value and the first absolute position, or the second running direction, the second circle value and the second absolute position, or the third running direction, the third circle value and the third absolute position.

2. The encoder according to claim 1, characterized in that The at least two first magnetic induction modules (4) or the at least two third magnetic induction modules or the at least two fifth magnetic induction modules output at least one first square wave signal group, and within one mechanical cycle, the first square wave signal group includes N cycles of first square wave signals and N cycles of second square wave signals, wherein N≥1 and N is an integer.

3. The encoder according to claim 2, characterized in that The phase difference between the first square wave signal and the second square wave signal of each of the first square wave signal groups at the same time is 90 degrees.

4. The encoder according to claim 1, characterized in that The second magnetic encoding signal, the fourth magnetic encoding signal, or the sixth magnetic encoding signal includes at least one first sine-cosine signal group, and within one mechanical cycle, the first sine-cosine signal group includes one cycle of the first sine signal and one cycle of the first cosine signal, or, The second magnetic encoding signal, the fourth magnetic encoding signal, or the sixth magnetic encoding signal includes at least one second sine-cosine signal group, and within one mechanical cycle, the second sine-cosine signal group includes two cycles of second sine signals and two cycles of second cosine signals, or, The second magnetic encoding signal, the fourth magnetic encoding signal, or the sixth magnetic encoding signal includes at least one third sine-cosine signal group, and within one mechanical cycle, the third sine-cosine signal group includes M cycles of third sine signals and M cycles of third cosine signals, wherein M≥3 and M is an integer; or The second magnetically encoded signal, the fourth magnetically encoded signal, or the sixth magnetically encoded signal includes at least one period of a digital signal; or, The second magnetic encoding signal, the fourth magnetic encoding signal, or the sixth magnetic encoding signal includes at least one PWM signal that changes periodically with an angular position; or, The second magnetic encoding signal, the fourth magnetic encoding signal, or the sixth magnetic encoding signal includes at least one period of a triangular wave signal; or, The second magnetic encoding signal, the fourth magnetic encoding signal, or the sixth magnetic encoding signal includes a trapezoidal wave signal of at least four cycles.

5. The encoder according to claim 1, characterized in that The optically coded signal includes at least one second square wave signal group, wherein within one mechanical cycle, the second square wave signal group includes H cycles of a third square wave signal and H cycles of a fourth square wave signal, wherein H≥1 and H is an integer; or The optically coded signal includes at least one fourth sine-cosine signal group. In one mechanical period, the fourth sine-cosine signal group includes K periods of sine signals and K periods of cosine signals, wherein K≥1 and K is an integer.

6. The encoder according to claim 5, characterized in that The phase difference between the third square wave signal and the fourth square wave signal of each of the second square wave signal groups at the same time is 90 degrees.

7. The encoder according to any one of claims 1 to 6, characterized in that The encoder comprises a code disk provided with a code track, and the light sensing module (6) is used to sense the change of the light signal of the code disk to generate a light coding signal; and / or, the encoder comprises an annular grating provided with a code track, and the light sensing module (6) is used to sense the change of the light signal of the annular grating to generate a light coding signal; and / or, the encoder comprises a drum grating provided with a code track, and the light sensing module (6) is used to sense the change of the light signal of the drum grating to generate a light coding signal; or, The encoder comprises a grating ruler provided with code tracks, and the light sensing module (6) is used to sense changes in the light signal of the grating ruler to generate a light coding signal.

8. The encoder according to claim 7, characterized in that The light emitted by the light sensing module (6) is reflected by the code channel and then received again by the light sensing module (6); or, The encoder further comprises a light source for emitting light, and the light emitted by the light source is received by the light sensing module (6) after being reflected or transmitted through the code channel.

9. The encoder according to claim 1, characterized in that The magnetic component (3) comprises at least one of a magnetic steel, a magnetic ring, a magnetic drum and a magnetic scale.

10. The encoder according to claim 1, characterized in that The first magnetic sensing module (4) or the second magnetic sensing module (5) or the third magnetic sensing module or the fourth magnetic sensing module or the fifth magnetic sensing module or the sixth magnetic sensing module comprises at least one of a Hall switch or a magnetic sensing chip, and the magnetic sensing chip comprises at least one of TMR, GMR and AMR.

11. The encoder according to claim 1, characterized in that The optical coding signal further includes at least one Z pulse signal, and the signal processing unit receives and processes the Z pulse signal to obtain the optical signal circle value of the encoder at a current moment.

12. The encoder according to claim 9, characterized in that The number of the first magnetic induction modules (4) or the third magnetic induction modules or the fifth magnetic induction modules is two, and the angle between the center lines of the two first magnetic induction modules (4) or the third magnetic induction modules or the fifth magnetic induction modules is 90 degrees or 270 degrees in mechanical angle; or, The number of the first magnetic induction modules (4) or the third magnetic induction modules or the fifth magnetic induction modules is H, wherein H≥3, H is an integer, the H first magnetic induction modules (4) or the third magnetic induction modules or the fifth magnetic induction modules are arranged at equal intervals around the rotation axis of the encoder, and the angle between any two adjacent first magnetic induction modules (4) or the third magnetic induction modules or the fifth magnetic induction modules is a mechanical angle of 180 degrees / H or 360 degrees / H.

13. The encoder according to claim 7, characterized in that The code channel is any one of a Vernier code channel, a Gray code channel, an M-sequence code channel and a single-turn code channel.

14. A motor, comprising an encoder, characterized in that: The encoder is the encoder according to any one of claims 1 to 13.

15. An automation device, comprising a motor, characterized in that: The motor is the motor according to claim 14.