ABSOLUTE POSITION DETECTING DEVICE AND METHOD
20170254670 · 2017-09-07
Assignee
Inventors
- Cheng-Yi LIN (Taoyuan City, TW)
- Heng-Sheng Hsiao (Taipei City, TW)
- Sheng-Ching Wang (Miaoli, TW)
- Tsung-Shune Chin (Hsinchu County, TW)
- Cheng-Kuo Sung (Hsinchu City, TW)
- Jen-Yuan CHANG (Hsinchu County, TW)
Cpc classification
International classification
Abstract
An absolute position detecting device and method are provided. The absolute position detecting device utilizes the incremental magnetization on a magnetic encoding ruler with two different pole widths, such that elliptical Lissajous curves may be obtained by magnetoresistive sensors. The absolute position may be obtained by determining the region of the signals on the ellipses read by the magnetoresistive sensors.
Claims
1. An absolute encoder, comprising: a magnetic encoding ruler, comprising: a first magnetic path on which a plurality of first magnetic poles with opposite polarities are successively arranged, wherein a length of each of the plurality of first magnetic poles is a first pole width; a second magnetic path, parallel to the first magnetic path, on which a plurality of second magnetic poles with opposite polarities are successively arranged, wherein a length of each of the plurality of second magnetic poles is a second pole width, and the first pole width and the second pole width are different from each other; a first magnetoresistive sensor disposed adjacent to the first magnetic path to detect magnetic fields of the first magnetic path and to generate a first magnetoresistive signal; and a second magnetoresistive sensor disposed adjacent to the second magnetic path to detect magnetic fields of the second magnetic path and to generate a second magnetoresistive signal; wherein the absolute encoder is configured to output the first and the second magnetoresistive signals.
2. The absolute encoder of claim 1, further comprising a processor electrically connected to the first and the second magnetoresistive sensors to respectively receive the first and the second magnetoresistive signals, wherein when the magnetic encoding ruler moves relative to the first and the second magnetoresistive sensors along a longitudinal direction of the magnetic encoding ruler, the processor is configured to generate a first elliptical pattern according to the first magnetoresistive signal, and to generate a second elliptical pattern according to the second magnetoresistive signal.
3. The absolute encoder of claim 2, further comprising a database electrically connected to the processor, the database storing absolute position information, and the absolute position information respectively defining relationships between positions on the first and the second elliptical patterns and positions on the magnetic encoding ruler; wherein after the processor is configured to generate the first and the second elliptical patterns, the processor is further configured to compare the first and the second elliptical patterns with the absolute position information to obtain the absolute position on the magnetic encoding ruler.
4. The absolute encoder of claim 3, wherein the first magnetoresistive signal comprises a first A-phase signal and a first B-phase signal, the second magnetoresistive signal comprises a second A-phase signal and a second B-phase signal, and the processor is configured to generate the first elliptical pattern according to the first A-phase signal and the first B-phase signal, and to generate the second elliptical pattern according to the second A-phase signal and the second B-phase signal.
5. The absolute encoder of claim 3, wherein the plurality of first magnetic poles and the plurality of second magnetic poles are arranged along the longitudinal direction of the magnetic encoding ruler.
6. The absolute encoder of claim 1, wherein the lengths of north/south poles of the plurality of the second poles comprise second to Nth pole widths, and the lengths of the second to N.sup.th pole widths are different from each other.
7. An absolute position detecting device adapted to detect an absolute position of an object, comprising: a magnetic encoding ruler, comprising: a first magnetic path on which a plurality of first magnetic poles with opposite polarities are successively arranged, wherein a length of each of the plurality of first magnetic poles is a first pole width; a second magnetic path, parallel to the first magnetic path, on which a plurality of second magnetic poles with opposite polarities are successively arranged, wherein a length of each of the plurality of second magnetic poles is a second pole width, and the first pole width and the second pole width are different from each other; a sensor module adhered to the object, comprising: a first magnetoresistive sensor disposed adjacent to the first magnetic path to detect magnetic fields of the first magnetic path and configured to generate a first magnetoresistive signal; and a second magnetoresistive sensor disposed adjacent to the second magnetic path to detect magnetic fields of the second magnetic path and to generate a second magnetoresistive signal; a processor electrically connected to the first and the second magnetoresistive sensors to respectively receive the first and the second magnetoresistive signals, wherein when the object moves relative to the magnetic encoding ruler, the processor is configured to generate a first elliptical pattern according to the first magnetoresistive signal, and to generate a second elliptical pattern according to the second magnetoresistive signal, and to calculate the absolute position of the object according to the first and the second elliptical patterns.
8. The absolute position detecting device of claim 7, further comprising a database electrically connected to the processor, which stores absolute position information, the absolute position information respectively defining relationships between positons on the first and the second elliptical patterns and positions on the magnetic encoding ruler; and wherein after the processor is configured to generate the first elliptical pattern and the second elliptical pattern, the processor is further configured to compare the first elliptical pattern and the second elliptical pattern with the absolute position information to obtain the absolute position of the object on the magnetic encoding ruler.
9. The absolute position detecting device of claim 7, wherein the first magnetoresistive signal comprises a first A-phase signal and a first B-phase signal, the second magnetoresistive signal comprises a second A-phase signal and a second B-phase signal, and the processor is configured to generate the first elliptical pattern according to the first A-phase signal and the first B-phase signal, and to generate the second elliptical pattern according to the second A-phase signal and the second B-phase signal.
10. The absolute position detecting device of claim 7, wherein the plurality of first poles and the plurality of second poles are arranged along a longitudinal direction of the magnetic encoding ruler.
11. The absolute position detecting device of claim 7, wherein the lengths of north/south poles of the plurality of the second poles comprise a second to Nth pole widths, and the lengths of the second to Nth pole widths are different from each other.
12. A method of detecting an absolute position adapted to the absolute position detecting device of claim 7, comprising following steps of: adhering an object to the sensor module; moving the object relative to the magnetic encoding ruler, the first magnetoresistive sensor and the second magnetoresistive sensor respectively outputting the first magnetoresistive signal and the second magnetoresistive signal; receiving the first magnetoresistive signal and the second magnetoresistive signal by the processor, and generating a first elliptical pattern according to the first magnetoresistive signal and a second elliptical pattern according to the second magnetoresistive signal, respectively; and calculating the absolute position of the object on the magnetic encoding ruler according to the first and the second elliptical patterns by the processor.
13. The method of detecting an absolute position of claim 12, wherein the first magnetoresistive signal comprises a first A-phase signal and a first B-phase signal, the second magnetoresistive signal comprises a second A-phase signal and a second B-phase signal, and the processor is configured to generate the first elliptical pattern according to the first A-phase signal and the first B-phase signal, and to generate the second elliptical pattern according to the second A-phase signal and the second B-phase signal.
14. The method of detecting an absolute position of claim 12, wherein the plurality of first poles and the plurality of second poles are arranged along a longitudinal direction of the magnetic encoding ruler.
15. The method of detecting an absolute position of claim 12, wherein the plurality of first magnetic poles and the plurality of second magnetic poles are arranged in a circle arrangement.
16. The method of detecting an absolute position of claim 12, wherein lengths of north/south poles of the plurality of the second poles comprise a second to Nth pole widths, and the lengths of the second to Nth pole widths are different from each other.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings so that those skilled in the art to which the present disclosure pertains can realize the present disclosure, in which:
[0025]
[0026]
[0027]
[0028]
[0029]
[0030]
[0031]
[0032]
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0033] In the following description, specific details are presented to provide a thorough understanding of the embodiments of the present disclosure. Persons of ordinary skill in the art will recognize, however, that the present disclosure can be practiced without one or more of the specific details, or in combination with other components. Well-known implementations or operations are not shown or described in detail to avoid obscuring aspects of various embodiments of the present disclosure.
[0034] It will be understood that, although the terms ‘first’, ‘second’, ‘third’, etc., may be used herein to describe various elements, these elements should not be limited by these terms. The terms are used only for the purpose of distinguishing one component from another component. Thus, a first element discussed below could be termed a second element without departing from the teachings of embodiments. As used herein, the term “or” includes any and all combinations of one or more of the associated listed items.
[0035]
[0036] In the preferred embodiment of the present disclosure, the first magnetic path MP1 is arranged adjacent to the first magnetic path MP1 to detect magnetic fields of the first magnetic path MP1, and is configured to generate a first magnetoresistive signal. The second magnetic path MP2 is arranged adjacent to the second magnetic path MP2 to detect magnetic fields of the second magnetic path MP2, and is configured to generate a second magnetoresistive signal. An absolute encoder 1 is configured to output the first and the second magnetoresistive signals.
[0037]
[0038] Here, the first magnetoresistive signal includes a first A-phase signal and a first B-phase signal, and the second magnetoresistive signal includes a second A-phase signal and a second B-phase signal. The processor 104 generates the first elliptical pattern according to the first A-phase signal and the first B-phase signal, and generates the second elliptical pattern according to the second A-phase signal and the second B-phase signal. The elliptical pattern mentioned herein is the elliptical Lissajous curves that are known to those skilled in the present technical field, and it will be detailed in following paragraphs.
[0039] The absolute encoder shown in
[0040] In other words, in order to obtain two elliptical Lissajous curves, two tracks with different pole widths are incrementally magnetized on the absolute magnetic encoding ruler 100. By determining the signals read by the first magnetoresistive sensor MR1 and the second magnetoresistive sensor MR2 and the region on the two ellipses, the processor 104 can obtain the absolute position of the sensor module 102.
[0041]
[0042] By utilizing the arrangement mentioned above, the issue of the increasing numbers of the sensors of read heads results from the increasing numbers of bits for encoding as the length of the magnetoresistive ruler increases can be solved. The present disclosure is capable of obtaining the absolute position by using only two magnetoresistive sensors without the hall sensors correspondingly arranged to the pole widths of the magnetic encoding ruler. Hence, the present disclosure is cost-effectively feasible. Besides, whenever the magnetic encoding ruler is reset, the magnetic encoding ruler provided in the present disclosure can rapidly obtain the absolute position according to the signal associated to the magnetic encoding ruler so as to save the time for re-positioning.
[0043]
[0044] Referring to
[0045]
[0046] When the position reaches at the end of the secondary first magnetic pole in the first magnetic path, which is located at the doubled first pole widths W1. When the first elliptical pattern forms a complete circle by the incremental magnetization track with the first pole widths W1, the encoding track with the second pole widths W2 reaches the position of about 180° in the second elliptical pattern. Furthermore, when the position reaches the end of the third first magnetic pole in the first magnetic path, which is located at the triple first pole widths W1. When the first elliptical pattern forms a complete circle by the incremental magnetization track with the first pole widths W1, the encoding track with the second pole widths W2 reaches the position of about 180° in the second elliptical pattern. Similarly, the absolute positon information can be generated according to the unique relationships between the positons on the first elliptical pattern EPS1 and the second elliptical pattern EPS2 and the position at the first pole width W1 on the magnetic encoding ruler and stored in the database accordingly.
[0047] The method of detecting the absolute positon will be described in detail hereinafter according to
[0048] S101: adhering the object to the sensor module;
[0049] S102: moving the object relative to the magnetic encoding ruler, and the first magnetoresistive sensor and the second magnetoresistive sensor respectively outputting the first magnetoresistive signal and the second magnetoresistive signal;
[0050] S103: receiving the first magnetoresistive signal and the second magnetoresistive signal by the processor;
[0051] S104: respectively generating the first elliptical pattern and the second elliptical pattern according to the first magnetoresistive signal and the second magnetoresistive signal by the processor; and
[0052] S105: calculating the absolute position of the object according to the first elliptical pattern and the second elliptical pattern.
[0053] Here, the first elliptical pattern and the second elliptical pattern are generated based on the first magnetoresistive signal and the second magnetoresistive signal, and the calculation of the absolute position of the object based on the first elliptical pattern and the second elliptical pattern both have been described in the preceding paragraphs. For the avoidance of doubt, the repeated descriptions are omitted hereinafter.
[0054] Referring to
[0055] S201: receiving the first magnetoresistive signal and the second magnetoresistive signal;
[0056] S202: generating the first elliptical pattern and the second elliptical pattern according to the first magnetoresistive signal and the second magnetoresistive signal, and calculating the angles of the object in the first and the second elliptical patterns;
[0057] S203: subtracting the first magnetoresistive signal and the second magnetoresistive signal;
[0058] S204: determining whether the subtracted signal is greater than zero after the subtraction; if yes, entering S206 to output the angle of the object in the elliptical patterns; if no, entering S205 to add 360° to the angle of the object, and entering S206 to output the angle where the object is;
[0059] S207: calculating the region of angle where the object is; and
[0060] S208: calculating the absolute position according to the second magnetoresistive signal.
[0061] As mentioned previously, the issue of the increasing numbers of sensors resulted from the necessary number of bits for encoding as the length of the magnetic encoding ruler increases can be solved. The absolute position can be obtained by only two magnetoresistive sensors without arranging the plurality of hall sensors to correspond to the pole widths of the magnetic encoding ruler. Hence, the present disclosure is cost-effectively feasible. Besides, whenever the absolute encoder is reset, the absolute position can be obtained rapidly according to the signal associated to the magnetic encoding ruler provided in the present disclosure so as to save the time for the initialization and relocating.
[0062] While the means of specific embodiments in present disclosure has been described by reference drawings, numerous modifications and variations could be made thereto by those skilled in the art without departing from the scope and spirit of the disclosure set forth in the claims. The modifications and variations should in a range limited by the specification of the present disclosure.