Encoder and position detection method thereof

文档序号:1404491 发布日期:2020-03-06 浏览:25次 中文

阅读说明:本技术 编码器及其位置检测方法 (Encoder and position detection method thereof ) 是由 王宏洲 林正平 于 2018-08-27 设计创作,主要内容包括:一种编码器,包括磁石、光学码盘、磁感测组件、光学感测组件及信号处理单元。光学码盘具有第一增量图纹轨道及第二增量图纹轨道,磁石及光学码盘为共轴设置并可旋转。磁感测组件感测磁石旋转以获得绝对位置信号,光学感测组件感测光学码盘旋转以获得第一增量位置信号及第二增量位置信号。信号处理单元整合信号以获得高精细绝对位置信息。(An encoder comprises a magnet, an optical code disc, a magnetic sensing assembly, an optical sensing assembly and a signal processing unit. The optical code disc is provided with a first increment pattern track and a second increment pattern track, and the magnet and the optical code disc are coaxially arranged and can rotate. The magnetic sensing assembly senses the rotation of the magnet to obtain an absolute position signal, and the optical sensing assembly senses the rotation of the optical code disc to obtain a first incremental position signal and a second incremental position signal. The signal processing unit integrates the signals to obtain high-definition absolute position information.)

1. An encoder, comprising:

a carrying tray;

a magnet arranged on the bearing disc;

the optical code disc is arranged on the bearing disc and surrounds the magnet, the optical code disc is provided with a first increment pattern track and a second increment pattern track, the first increment pattern track and the second increment pattern track are respectively arranged along the circumferential direction of the optical code disc, and the bearing disc, the magnet and the optical code disc are coaxially arranged by taking a rotating shaft as an axis and can rotate;

a shell, which is arranged corresponding to the bearing disc, and the bearing disc, the magnet and the optical code disc can generate the motion corresponding to the shell;

a circuit board disposed on the housing;

a magnetic sensing component, which is arranged on the circuit board and corresponds to the magnet so as to carry out magnetic sensing and obtain an absolute position signal when the magnet moves relative to the shell;

the optical sensing assembly is arranged on the circuit board and corresponds to the first incremental pattern track and the second incremental pattern track of the optical code disc so as to perform optical sensing and obtain a first incremental position signal and a second incremental position signal when the optical code disc moves relative to the shell; and

and the signal processing unit is arranged on the circuit board and used for receiving and integrating the absolute position signal, the first incremental position signal and the second incremental position signal so as to obtain absolute position information.

2. The encoder of claim 1, wherein the center of the magnetic sensing element is located on the rotational axis.

3. The encoder of claim 1, wherein the center of the magnetic sensing assembly is disposed off the axis of rotation.

4. The encoder of claim 1, wherein the magnetic sensing element comprises a magnetoresistive element, the magnetoresistive element being a hall element, an anisotropic magnetoresistive element, a giant magnetoresistive element or a tunneling magnetoresistive element.

5. The encoder of claim 1 wherein the first incremental pattern track has M first incremental patterns per revolution in the circumferential direction of the optical code disk, the second incremental pattern track has N second incremental patterns per revolution in the circumferential direction of the optical code disk, where M and N are integers and N is greater than M, and each of the first incremental patterns and each of the second incremental patterns has a low reflectance region and a high reflectance region.

6. The encoder of claim 5, wherein the optical sensor assembly comprises a light-emitting element and at least one light-receiving element, the light-receiving element has a first incremental light-receiving area and a second incremental light-receiving area, and the first incremental light-receiving area and the second incremental light-receiving area are respectively located at two sides of the light-emitting element;

the light-emitting element emits a light to the first incremental pattern track and the second incremental pattern track, the first incremental light-receiving area receives the light reflected by the first incremental pattern track and obtains a first incremental position signal, and the second incremental light-receiving area receives the light reflected by the second incremental pattern track and obtains a second incremental position signal.

7. The encoder of claim 6, wherein the light emitting element has a light emitting area, wherein the light emitting area has a width in a circumferential tangential direction of the optical code disc, the second incremental pattern has a pitch in the circumferential tangential direction, and the width is 0.5 to 1.5 times the pitch.

8. The encoder of claim 6, wherein the optical sensing assembly further comprises a substrate disposed on the circuit board, the light-receiving element disposed on the substrate, and the light-emitting element disposed on the light-receiving element.

9. The encoder of claim 6, wherein the optical sensor assembly further comprises a substrate and two light-receiving elements, the substrate is disposed on the circuit board, and the light-emitting element and the two light-receiving elements are disposed on the substrate, wherein the two light-receiving elements are respectively disposed at two sides of the light-emitting element and respectively have the first incremental light-receiving area and the second incremental light-receiving area.

10. The encoder of claim 9, wherein the light emitting element is flush with the height of the two light receiving elements.

11. The encoder of claim 6, wherein the first incremental light-receiving section and the second incremental light-receiving section have a plurality of first sensing patterns and a plurality of second sensing patterns, respectively, and the plurality of first sensing patterns and the plurality of second sensing patterns are arranged in a phased array manner, respectively.

12. A position detection method of an encoder, comprising the steps of:

(a) providing an encoder, wherein the encoder comprises a magnet, an optical code disc, a magnetic sensing component and an optical sensing component, the optical code disc surrounds the magnet and is provided with a first increment pattern track and a second increment pattern track which are arranged along a circumferential direction of the optical code disc, the magnetic sensing component corresponds to the magnet, and the optical sensing component corresponds to the first increment pattern track and the second increment pattern track of the optical code disc;

(b) performing magnetic sensing by the magnetic sensing assembly when the magnet moves relatively and obtaining an absolute position signal with one period per rotation of the magnet;

(c) the optical sensing component is used for carrying out optical sensing when the optical code disc relatively moves, and obtaining a first increment position signal with an integral number of M periods per rotation of the optical code disc and a second increment position signal with an integral number of N periods per rotation of the optical code disc;

(d) analyzing the absolute position signal, the first incremental position signal and the second incremental position signal, and respectively obtaining primary absolute position information, first incremental position information and second incremental position information;

(e) analyzing a first position according to the preliminary absolute position information;

(f) the first position corresponds to the first incremental position information, and a second position is obtained through analysis; and

(g) and corresponding the second position to the second incremental position information, and analyzing to obtain a third position, wherein the third position is an absolute position.

13. The position detecting method of an encoder according to claim 12, wherein the step (d), the step (e), the step (f) and the step (g) are implemented by a signal processing unit, M is 16, 32, 64 or 128, and N is 256, 512, 1024, 2048, 4096 or 8192.

14. A position detection method of an encoder, comprising the steps of:

(a) providing an encoder, wherein the encoder comprises a magnet, an optical code disc, a magnetic sensing component and an optical sensing component, the optical code disc surrounds the magnet and is provided with a first increment pattern track and a second increment pattern track which are arranged along a circumferential direction of the optical code disc, the magnetic sensing component corresponds to the magnet, and the optical sensing component corresponds to the first increment pattern track and the second increment pattern track of the optical code disc;

(b) performing magnetic sensing by the magnetic sensing assembly when the magnet moves relatively and obtaining an absolute position signal with one period per rotation of the magnet;

(c) the optical sensing component is used for carrying out optical sensing when the optical code disc relatively moves, and obtaining a first increment position signal with an integral number of M periods per rotation of the optical code disc and a second increment position signal with an integral number of N periods per rotation of the optical code disc, wherein N is larger than M;

(d) analyzing the absolute position signal, the first incremental position signal and the second incremental position signal, and respectively obtaining primary absolute position information, first incremental position information and second incremental position information;

(e) analyzing the first incremental position information and the second incremental position information, and obtaining third incremental position information with (N-M) periods for each rotation of the optical code disc;

(f) analyzing a first position according to the preliminary absolute position information;

(g) the first position corresponds to the third incremental position information, and a second position is obtained through analysis; and

(h) and corresponding the second position to the second incremental position information, and analyzing to obtain a third position, wherein the third position is an absolute position.

15. The position detecting method of an encoder according to claim 14, wherein the step (d), the step (e), the step (f), the step (g) and the step (h) are implemented by a signal processing unit, N is 256, 512, 1024, 2048, 4096 or 8192, and (N-M) is 16, 32, 64 or 128.

Technical Field

The present invention relates to an encoder and a position detecting method thereof, and more particularly, to an encoder and a position detecting method thereof, which can obtain an absolute position signal and an incremental position signal through a magnetic sensing device and an optical sensing device and integrate the signals to obtain high-precision absolute position information.

Background

With the development of science and technology, encoder technology is widely applied to the field of control of precision instruments such as motor rotation speed measurement and position detection, for example, absolute encoders can be used for detecting the rotation number, rotation direction and rotation position of a motor.

Disclosure of Invention

It is therefore an object of the present invention to provide an encoder and a position detecting method thereof, which solve and improve the problems and disadvantages of the prior art.

Another object of the present invention is to provide an encoder and a position detecting method thereof, which can obtain an absolute position signal, a first incremental position signal and a second incremental position signal by a magnetic sensing element and an optical sensing element, and integrate the signals by a signal processing unit, thereby achieving high-precision absolute position sensing and obtaining high-precision absolute position information.

Another objective of the present invention is to provide an encoder and a position detecting method thereof, wherein the encoder can be thinned by arranging a magnetic sensing element and a magnet through an optical reflective structure in which a light emitting element and a light receiving element of an optical sensing element are arranged corresponding to one side of an optical code disc.

Another objective of the present invention is to provide an encoder and a position detecting method thereof, which obtain an absolute position signal through a magnetic sensing device, so that the encoder has a higher tolerance to environmental pollution. Moreover, the optical sensing assembly is provided with an incremental light receiving area and sensing patterns arranged in a phase array mode, so that the stability of the encoder can be improved.

Another object of the present invention is to provide an encoder and a position detecting method thereof, wherein the center of the magnetic sensing assembly can be located on the rotating shaft or off-axis, so that the encoder has a larger production assembly margin and is easier to assemble.

To achieve the above object, a preferred embodiment of the present invention provides an encoder, comprising: a carrying tray; a magnet arranged on the bearing disc; the optical code disc is arranged on the bearing disc and surrounds the magnet, the optical code disc is provided with a first incremental pattern track and a second incremental pattern track, the first incremental pattern track and the second incremental pattern track are respectively arranged along the circumferential direction of the optical code disc, and the bearing disc, the magnet and the optical code disc are coaxially arranged by taking a rotating shaft as an axis and can rotate; the shell is arranged corresponding to the bearing disc, and the bearing disc, the magnet and the optical code disc can move corresponding to the shell; a circuit board arranged on the shell; the magnetic sensing assembly is arranged on the circuit board and corresponds to the magnet, so that magnetic sensing is carried out when the magnet moves corresponding to the shell, and an absolute position signal is obtained; the optical sensing assembly is arranged on the circuit board and corresponds to the first incremental pattern track and the second incremental pattern track of the optical code disc so as to perform optical sensing and obtain a first incremental position signal and a second incremental position signal when the optical code disc moves corresponding to the shell; and the signal processing unit is arranged on the circuit board and used for receiving and integrating the absolute position signal, the first incremental position signal and the second incremental position signal so as to obtain high-precision absolute position information.

To achieve the above object, another preferred embodiment of the present invention provides a position detecting method for an encoder, comprising: (a) an encoder is provided, which includes a magnet, an optical encoder, a magnetic sensing element, and an optical sensing element. The optical code disc surrounds the magnet and is provided with a first increment pattern track and a second increment pattern track which are arranged along the circumferential direction of the optical code disc, the magnetic sensing assembly corresponds to the magnet, and the optical sensing assembly corresponds to the first increment pattern track and the second increment pattern track of the optical code disc; (b) the magnetic sensing assembly performs magnetic sensing when the magnet moves relatively and obtains an absolute position signal with one period when the magnet rotates for one circle; (c) the optical sensing assembly performs optical sensing when the optical code disc relatively moves and obtains a first increment position signal with an integral number of M periods per rotation of the optical code disc and a second increment position signal with an integral number of N periods per rotation of the optical code disc; (d) analyzing the absolute position signal, the first incremental position signal and the second incremental position signal, and respectively obtaining primary absolute position information, first incremental position information and second incremental position information; (e) analyzing a first position according to the preliminary absolute position information; (f) the first position corresponds to the first incremental position information, and a second position is obtained through analysis; and (g) corresponding the second position to second incremental position information, and analyzing to obtain a third position, wherein the third position is a high-precision absolute position.

To achieve the above object, another preferred embodiment of the present invention provides a position detecting method for an encoder, comprising: (a) an encoder is provided, which includes a magnet, an optical encoder, a magnetic sensing element, and an optical sensing element. The optical code disc surrounds the magnet and is provided with a first increment pattern track and a second increment pattern track which are arranged along the circumferential direction of the optical code disc, the magnetic sensing assembly corresponds to the magnet, and the optical sensing assembly corresponds to the first increment pattern track and the second increment pattern track of the optical code disc; (b) the magnetic sensing assembly performs magnetic sensing when the magnet moves relatively and obtains an absolute position signal with one period when the magnet rotates for one circle; (c) the optical sensing assembly performs optical sensing when the optical code disc relatively moves and obtains a first increment position signal with an integral number of M periods per rotation of the optical code disc and a second increment position signal with an integral number of N periods per rotation of the optical code disc, wherein N is larger than M; (d) analyzing the absolute position signal, the first incremental position signal and the second incremental position signal, and respectively obtaining primary absolute position information, first incremental position information and second incremental position information; (e) analyzing the first incremental position information and the second incremental position information, and obtaining third incremental position information with (N-M) periods every time the optical code disc rotates one circle; (f) analyzing a first position according to the preliminary absolute position information; (g) the first position corresponds to third incremental position information, and a second position is obtained through analysis; and (h) corresponding the second position to second incremental position information, and analyzing to obtain a third position, wherein the third position is a high-precision absolute position.

Drawings

FIG. 1 is a schematic cross-sectional view of an encoder according to a preferred embodiment of the present invention.

FIG. 2 is a schematic diagram showing a part of the structure of an encoder according to a preferred embodiment of the present invention.

FIG. 3A is a schematic diagram showing the structure of an optical code wheel of an encoder according to a preferred embodiment of the present invention.

FIG. 3B is a partially enlarged schematic view showing the optical code wheel shown in FIG. 3A.

FIG. 4A is a top view of a magnet and a magnetic sensing element of an encoder according to a preferred embodiment of the invention.

FIG. 4B is a sectional side view of the magnet and magnetic sensing assembly of the encoder of the preferred embodiment of the present invention.

FIG. 5A is a top view of a magnet and a magnetic sensing element of an encoder according to another preferred embodiment of the invention.

FIG. 5B is a sectional side view of a magnet and a magnetic sensing element of an encoder according to another preferred embodiment of the invention.

FIG. 6A is a schematic view of an optical sensor assembly of an encoder according to a preferred embodiment of the invention.

Fig. 6B is a partially enlarged schematic view illustrating the optical sensing assembly shown in fig. 6A.

FIG. 7A is a schematic view showing the structure of the light-emitting element of the optical sensing device of the encoder according to the preferred embodiment of the invention.

FIG. 7B is a schematic diagram showing the structure of the light-emitting element of the optical sensing assembly of the encoder according to another preferred embodiment of the present invention.

FIG. 8A is a schematic diagram showing the structure of the optical code wheel and the optical sensing assembly of the encoder according to the preferred embodiment of the invention.

FIG. 8B is a schematic diagram showing the structure of the optical code disc and the optical sensing assembly of the encoder according to another preferred embodiment of the present invention.

FIG. 9 is a flow chart showing a position detecting method of an encoder according to a preferred embodiment of the invention.

FIG. 10 is a schematic diagram illustrating position information obtained by the position detecting method of the encoder according to the preferred embodiment of the invention.

FIG. 11 is a flow chart showing a position detecting method of an encoder according to another preferred embodiment of the present invention.

FIG. 12 is a schematic diagram illustrating position information obtained by a position detecting method of an encoder according to another preferred embodiment of the invention.

Description of reference numerals:

1: encoder for encoding a video signal

2: bearing plate

3: magnet

4: optical code disc

41: first incremental pattern track

410: first incremental pattern

410a, 420 a: low reflection coefficient region

410b, 420 b: high reflection coefficient region

42: second incremental patterned track

420: second incremental pattern

5: shell body

6: circuit board

7: magnetic sensing assembly

8: optical sensing assembly

80: base material

81: light emitting element

810: light emitting area

811: electrode for electrochemical cell

82: light collecting element

821: first incremental light-receiving region

8210: first sensing pattern

822: second incremental light-receiving region

8220: second sensing pattern

9: signal processing unit

10: locking screw

A: rotating shaft

D: in the circumferential direction

d: direction of circumferential tangent

L: light ray

P: pitch of

R: in the radial direction

W: width of

a: first position

b. b': second position

c: third position

S1, S2, S3, S4, S5, S6, S7, S11, S12, S13, S14, S15, S16, S17, S18: step (ii) of

Detailed Description

Some exemplary embodiments that embody features and advantages of the invention will be described in detail in the description that follows. As will be realized, the invention is capable of other and different modifications and its several details are capable of modifications in various obvious respects, all without departing from the invention, and the description and drawings are to be regarded as illustrative in nature and not as restrictive.

Referring to fig. 1, fig. 2, fig. 3A and fig. 3B, wherein fig. 1 is a schematic cross-sectional structure diagram of an encoder according to a preferred embodiment of the present invention, fig. 2 is a schematic partial structure diagram of the encoder according to the preferred embodiment of the present invention, fig. 3A is a schematic structural diagram of an optical code disc of the encoder according to the preferred embodiment of the present invention, and fig. 3B is a schematic partial enlarged view of the optical code disc shown in fig. 3A. As shown in fig. 1, 2, 3A and 3B, an encoder 1 of the present invention includes a carrier plate 2, a magnet 3, an optical encoding disk 4, a housing 5, a circuit board 6, a magnetic sensing assembly 7, an optical sensing assembly 8 and a signal processing unit 9. The magnet 3 is arranged on the bearing disc 2, and the optical code disc 4 is arranged on the bearing disc 2 and surrounds the magnet 3. The optical code disk 4 has a first incremental pattern track 41 and a second incremental pattern track 42, and the first incremental pattern track 41 and the second incremental pattern track 42 are respectively arranged adjacently along the circumferential direction D of the optical code disk 4. The bearing disc 2, the magnet 3 and the optical code disc 4 are coaxially arranged by taking the rotating shaft A as an axis and can rotate.

The shell 5 is arranged corresponding to the bearing disc 2, and the bearing disc 2, the magnet 3 and the optical code disc 4 can generate movement corresponding to the shell 5. The circuit board 6 is provided in the housing 5, and is disposed to face the magnet 3 and the optical encoder 4. The magnetic sensing element 7 is disposed on the circuit board 6 and configured corresponding to the magnet 3, so as to perform magnetic sensing and obtain an absolute position signal when the magnet 3 moves relative to the housing 5, i.e., when the magnet 3 moves relative to the magnetic sensing element 7. The optical sensing assembly 8 is disposed on the circuit board 6, and is configured to correspond to the first incremental patterned track 41 and the second incremental patterned track 42 on one side of the optical encoder 4, respectively, so as to perform optical sensing and obtain a first incremental position signal and a second incremental position signal when the optical encoder 4 moves relative to the housing 5, that is, when the optical encoder 4 moves relative to the optical sensing assembly 8. The signal processing unit 9 is disposed on the circuit board 6, for example, but not limited to, disposed on another side different from the magnetic sensing element 7 and the optical sensing element 8. The signal processing unit 9 receives the absolute position signal, the first incremental position signal and the second incremental position signal, and integrates and processes the signals to obtain high-precision absolute position information.

In other words, the encoder of the present invention obtains the absolute position signal, the first incremental position signal and the second incremental position signal through the magnetic sensing element and the optical sensing element, respectively, and the signal processing unit performs integration and processing, thereby achieving high-precision absolute position sensing and obtaining high-precision absolute position information.

Referring to fig. 1, 4A and 4B, fig. 4A is a top view of a magnet and a magnetic sensing element of an encoder according to a preferred embodiment of the invention, and fig. 4B is a cross-sectional side view of the magnet and the magnetic sensing element of the encoder according to the preferred embodiment of the invention. As shown in fig. 1, 4A and 4B, in some embodiments, the center of the magnetic sensing element 7 is located on the rotation axis a (on-axis), when the magnet 3 rotates one turn around the rotation axis a, a periodic magnetic characteristic change is generated in the position of the magnetic sensing element 7, such as but not limited to, a strong or weak magnetic flux density change, and the magnetic sensing element 7 detects the periodic magnetic characteristic change and converts the periodic magnetic characteristic change into an electrical signal, so as to generate and define an absolute position signal for one complete turn to be provided to the signal processing unit 9. In some embodiments, the magnet 3 may be a ring magnet, and the locking screw 10 is disposed through the magnet 3 and the carrier plate 2 for fixing, but the invention is not limited thereto.

Referring to fig. 1, 5A and 5B, fig. 5A is a top view of a magnet and a magnetic sensing element of an encoder according to another preferred embodiment of the present invention, and fig. 5B is a cross-sectional side view of the magnet and the magnetic sensing element of the encoder according to another preferred embodiment of the present invention. As shown in fig. 1, 5A and 5B, in some embodiments, the center of the magnetic sensing element 7 is offset from the rotation axis a (off-axis) to detect the change in magnetic properties to generate and define an absolute position signal for one complete rotation. In some embodiments, the magnet 3 may be a ring magnet, and when the magnetic sensing element 7 is disposed off-axis, a hollow ring encoder structure may be implemented, but not limited thereto. In some embodiments, the magnet 3 may be a hollow ring magnet, a circular plate magnet, a square plate magnet, or any magnet that can generate a periodic variation of magnetic characteristics by one rotation, but not limited thereto. In some embodiments, the magnetic sensing component 7 includes a magnetoresistive element (not shown), such as, but not limited to, a Hall effect (Hall effect) element, an Anisotropic Magnetoresistive (AMR) element, a Giant Magnetoresistive (GMR) element, a Tunneling Magnetoresistive (TMR) element, or an integrated circuit element using the above elements.

In other words, according to the encoder and the position detecting method thereof of the present invention, the center of the magnetic sensing assembly can be located on the rotating shaft or off-axis, so that the encoder has a larger production assembly margin and is easier to design and assemble.

Please refer to fig. 1, fig. 2, fig. 3A, fig. 3B, fig. 6A, fig. 6B, fig. 7A, fig. 7B, fig. 8A and fig. 8B, wherein fig. 6A is a schematic structural diagram illustrating an optical sensing assembly of an encoder according to a preferred embodiment of the present invention, fig. 6B is a schematic partial enlarged view illustrating the optical sensing assembly shown in fig. 6A, fig. 7A is a schematic structural diagram illustrating a light emitting element of the optical sensing assembly of the encoder according to the preferred embodiment of the present invention, fig. 7B is a schematic structural diagram illustrating a light emitting element of the optical sensing assembly of an encoder according to another preferred embodiment of the present invention, fig. 8A is a schematic structural diagram illustrating an optical code wheel and an optical sensing assembly of the encoder according to a preferred embodiment of the present invention, and fig. 8B is a schematic structural diagram illustrating an optical code wheel and an optical sensing assembly of the encoder according to another preferred. As shown in FIGS. 1, 2, 3A, 3B, 6A, 6B, 7A, 7B, 8A and 8B, in some embodiments, the first incremental pattern track 41 is arranged around the circumference D of the optical code disk 4 by one turn (i.e. the mechanical angle is 0-360 degrees) and has M first incremental patterns 410; the second incremental pattern track 42 is arranged around the optical code disk 4 in the circumferential direction D, and has N second incremental patterns 420, where N and M are positive integers, and N is greater than M. Each of the first incremental patterns 410 has a low-reflectance region 410a and a high-reflectance region 410b, and each of the second incremental patterns 420 has a low-reflectance region 420a and a high-reflectance region 420 b. In some embodiments, the optical encoder 4 may be made of glass, metal, plastic, or any material capable of generating a period of the staggered pattern of the low reflectance and the high reflectance, but not limited thereto.

In some embodiments, the optical sensing assembly 8 includes a light emitting element 81 and at least one light receiving element 82, wherein the light emitting element 81 can be, for example but not limited to, a Light Emitting Diode (LED), a vertical-cavity surface-emitting laser (VCSEL), or a Laser Diode (LD). The light-receiving element 82 has a first incremental light-receiving area 821 and a second incremental light-receiving area 822, and the first incremental light-receiving area 821 and the second incremental light-receiving area 822 are arranged along the radial direction R of the optical code wheel 4 and are located on both sides of the light-emitting element 81. The light emitting element 81 emits a light L to the first incremental pattern track 41 and the second incremental pattern track 42, and the first incremental light receiving area 821 receives the light L reflected by the high reflection coefficient area 410b of the first incremental pattern track 41 and obtains a first incremental position signal; the second incremental light-receiving region 822 receives the light L reflected by the high-reflectance region 420b of the second incremental patterned track 42 and obtains a second incremental position signal. That is, the light L emitted from the light emitting element 81 is reflected by the corresponding first incremental pattern track 41 and the second incremental pattern track 42, and the intensity distribution of the light energy is formed on the plane of the light receiving element 82, and the light receiving element 82 detects the variation of the intensity distribution of the light energy and converts the variation into an electrical signal to generate a first incremental position signal and a second incremental position signal, respectively, so as to provide the first incremental position signal and the second incremental position signal to the signal processing unit 9 for signal integration and processing.

For example, the light emitting element 81 and the light receiving element 82 are disposed on the same side with respect to the optical encoder 4, and the light receiving element 82 has a first incremental light receiving area 821 and a second incremental light receiving area 822 on both sides of the light emitting element 81 in the radial direction R of the optical encoder 4. The first incremental light-receiving region 821 continuously detects reflected light from the first incremental pattern track 41 of the optical code wheel 4 having the M first incremental patterns 410 and converts a change in the distribution of light energy intensity into an electrical signal, which is a first incremental position signal having M periods for one rotation of the optical code wheel 4. Similarly, the second incremental light-receiving region 822 continuously detects reflected light from the second incremental pattern track 42 of the optical code wheel 4 having N second incremental patterns 420 and converts the change in the distribution of light energy intensity into an electrical signal, which is a second incremental position signal having N periods for one revolution of the optical code wheel 4.

In some embodiments, the light-emitting element 81 has a light-emitting region 810 and an electrode 811, wherein the shape of the light-emitting region 810 can be, for example, but not limited to, circular, rectangular, or elliptical. The light emitting area 810 has a width W in a circumferential tangential direction d of the optical disc 4, the second incremental pattern 420 has a pitch P in the circumferential tangential direction d, and the width W is 0.5 to 1.5 times (0.5P is less than or equal to W is less than or equal to 1.5P) of the pitch P, so as to obtain a second incremental position signal with good signal quality.

In some embodiments, the light emitting device 81 and the light receiving device 82 may be (for example, but not limited to) directly disposed on the circuit board 6. In some embodiments, as shown in fig. 8A, the optical sensing assembly 8 includes a substrate 80, a light emitting device 81 and a light receiving device 82, the substrate 80 is disposed on the circuit board 6, the light receiving device 82 is disposed on the substrate 80, and the light emitting device 81 is disposed on the light receiving device 82, that is, the substrate 80, the light receiving device 82 and the light emitting device 81 are sequentially stacked, but not limited thereto. In some embodiments, as shown in fig. 8B, the optical sensing assembly 8 includes a substrate 80, a light emitting device 81 and two light receiving devices 82, the light emitting device 81 and the two light receiving devices 82 are disposed on the substrate 80, wherein the two light receiving devices 82 are respectively located at two sides of the light emitting device 81, and one of the light receiving devices 82 has a first incremental light receiving area 821, the other light receiving device 82 has a second incremental light receiving area 822, and the assembly heights of the light emitting device 81 and the two light receiving devices 82 are flush, but not limited thereto.

In some embodiments, the first incremental light-receiving area 821 and the second incremental light-receiving area 822 have a plurality of first sensing patterns 8210 and a plurality of second sensing patterns 8220, respectively, and the plurality of first sensing patterns 8210 and the plurality of second sensing patterns 8220 are arranged in a phased-array arrangement manner, respectively. For example, the sensing patterns may be arranged in an alternating sequence of A +, B +, A-, and B-repeating cycles, wherein the generated B +, A-, and B-signals are separated by 90, 180, and 270 electrical degrees with respect to the A + signal, respectively. The arrangement mode of the phase array has higher oil stain resistance and dirt bearing capacity and a homogenization effect when the distribution of the received light energy is uneven, so that the robustness of the encoder 1 provided by the invention is improved.

In other words, the encoder and the position detection method thereof of the present invention can realize the thinning of the encoder by the arrangement of the magnetic sensing component and the magnet through the optical reflection type framework that the light emitting component and the light receiving component of the optical sensing component are arranged corresponding to one side of the optical code disc. And, obtain the absolute position signal through the magnetic sensing subassembly for the encoder has higher environmental pollution resistance bearing capacity, and the optical sensing subassembly has increment light-receiving area and adopts the sensing pattern that the phase array mode was arranged, can make the stability of encoder promote.

Referring to fig. 1, fig. 2, fig. 3A, fig. 9 and fig. 10, in which fig. 9 is a flowchart illustrating a position detecting method of an encoder according to a preferred embodiment of the present invention, and fig. 10 is a schematic diagram illustrating position information obtained by the position detecting method of the encoder according to the preferred embodiment of the present invention. As shown in fig. 1, fig. 2, fig. 3A, fig. 9 and fig. 10, the position detecting method of the encoder according to the preferred embodiment of the present invention includes the following steps: first, as shown in step S1, an encoder 1 is provided, wherein the encoder 1 comprises a magnet 3, an optical code wheel 4, a magnetic sensing assembly 7 and an optical sensing assembly 8. The optical code disc 4 surrounds the magnet 3 and has a first incremental pattern track 41 and a second incremental pattern track 42 arranged along the circumferential direction D of the optical code disc 4, the magnetic sensing component 7 is arranged corresponding to the magnet 3, and the optical sensing component 8 is arranged corresponding to the first incremental pattern track 41 and the second incremental pattern track 42 on one side of the optical code disc 4. Next, as shown in step S2, the magnetic sensing element 7 performs magnetic sensing when the magnet 3 moves relative to the magnet and obtains an absolute position signal having one period for each rotation of the magnet 3. Next, as shown in step S3, the optical sensing assembly 8 optically senses and obtains a first incremental position signal with an integer M cycles per rotation of the optical code wheel 4 and a second incremental position signal with an integer N cycles per rotation of the optical code wheel 4, where M may be 16, 32, 64 or 128, and N may be 256, 512, 1024, 2048, 4096 or 8192, but not limited thereto.

Then, in step S4, the absolute position signal, the first incremental position signal and the second incremental position signal are analyzed to obtain preliminary absolute position information, first incremental position information and second incremental position information, respectively. The absolute position signal variation of one cycle generated by one rotation provided by the magnetic sensing component 7 is converted or defined as preliminary absolute position information through the processing of the signal processing unit 9, and in the range of the mechanical angle of 0 degree to 360 degrees, the electrical angle of 0 degree to 360 degrees of the electrical signal of one cycle is corresponded, that is, the mechanical angle of one cycle is corresponded to the electrical angle output of one cycle. The first incremental position signal of one circle of M periods provided by the optical sensing assembly 8 is converted into first incremental position information through the processing of the signal processing unit 9, and in the range of the mechanical angle from 0 degree to 360 degrees, the first incremental position information corresponds to the electrical angle of the electrical signal of M periods from 0 degree to 360 degrees, that is, the mechanical angle of one circle corresponds to the electrical angle of M periods for output. Similarly, the second incremental position signal of one turn of N cycles provided by the optical sensing element 8 is converted into second incremental position information through the processing of the signal processing unit 9, and in the range of the mechanical angle 0 degree to 360 degrees, the second incremental position information corresponds to the electrical angle of 0 degree to 360 degrees of the electrical signal of N cycles, that is, the mechanical angle of one turn corresponds to the electrical angle output of N cycles.

Next, as shown in step S5, a first position a is analyzed from the preliminary absolute position information, please refer to fig. 10. Then, as shown in step S6, the first position a is mapped to the cycle position of the first incremental position information, which is shown as the 2 nd cycle position, and the second position b is obtained through analysis. Next, as shown in step S7, the second position b is corresponding to the cycle position of the second incremental position information, which is shown as the 5 th cycle position, and a third position c is obtained by parsing, where the third position c is a high-resolution absolute position. Wherein, the step S4, the step S5, the step S6 and the step S7 are realized by the signal processing unit 9. In the progressive position analyzing step, the initial absolute position with lower precision corresponds to the increment position with medium precision, the increment position with medium precision corresponds to the increment position with high precision, and the analyzed position information is the high-precision absolute position.

Referring to fig. 1, fig. 2, fig. 3A, fig. 11 and fig. 12, wherein fig. 11 is a flowchart illustrating a position detecting method of an encoder according to another preferred embodiment of the present invention, and fig. 12 is a schematic diagram illustrating position information obtained by the position detecting method of the encoder according to another preferred embodiment of the present invention. As shown in fig. 1, fig. 2, fig. 3A, fig. 11 and fig. 12, a position detecting method of an encoder according to another preferred embodiment of the present invention includes the following steps: first, as shown in step S11, an encoder 1 is provided, wherein the encoder 1 comprises a magnet 3, an optical code wheel 4, a magnetic sensing assembly 7 and an optical sensing assembly 8. The optical code disc 4 surrounds the magnet 3 and has a first incremental pattern track 41 and a second incremental pattern track 42 arranged along the circumferential direction D of the optical code disc 4, the magnetic sensing component 7 is arranged corresponding to the magnet 3, and the optical sensing component 8 is arranged corresponding to the first incremental pattern track 41 and the second incremental pattern track 42 on one side of the optical code disc 4. Next, as shown in step S12, the magnetic sensing element 7 performs magnetic sensing when the magnet 3 moves relative to the magnet and obtains an absolute position signal having one period for each rotation of the magnet 3. Then, as shown in step S13, the optical sensing assembly 8 performs optical sensing when the optical code wheel 4 moves relative to the optical code wheel 4, and obtains a first incremental position signal with an integer M cycles per rotation of the optical code wheel 4, and a second incremental position signal with an integer N cycles per rotation of the optical code wheel 4, where N is greater than M, where N is 256, 512, 1024, 2048, 4096, or 8192, and (N-M) is 16, 32, 64, or 128, but not limited thereto.

Then, in step S14, the absolute position signal, the first incremental position signal and the second incremental position signal are analyzed to obtain preliminary absolute position information, first incremental position information and second incremental position information, respectively. Next, as shown in step S15, the first incremental positional information and the second incremental positional information are analyzed, and third incremental positional information having (N-M) cycles per one rotation of the optical code wheel 4 is obtained.

Next, as shown in step S16, a first position a is analyzed from the preliminary absolute position information, please refer to fig. 12. Then, as shown in step S17, the first position a is mapped to the cycle position of the third incremental position information, which is shown as the 2 nd cycle position, and the second position b' is obtained through analysis. Next, as shown in step S18, the second position b' is corresponding to the cycle position of the second incremental position information, which is shown as the 5 th cycle position, and a third position c is obtained by parsing, where the third position c is a high-definition absolute position. Wherein, the step S14, the step S15, the step S16, the step S17 and the step S18 are realized by the signal processing unit 9.

Therefore, the approaching of the pattern characteristic sizes of the first incremental pattern track 41 and the second incremental pattern track 42 of the optical code disk 4, that is, the approaching of the optical characteristic sizes of the two signal tracks, is helpful to reduce the difficulty of optical design and improve the precision of the encoder 1.

In summary, the present invention provides an encoder and a position detecting method thereof, in which an absolute position signal, a first incremental position signal and a second incremental position signal are obtained by a magnetic sensing element and an optical sensing element respectively, and signal integration and processing are performed by a signal processing unit, so that high-precision absolute position sensing can be achieved and high-precision absolute position information can be obtained. And, through the optical reflection type framework that the luminous element and the light receiving element of the optical sensing component are arranged corresponding to one side of the optical code disc, the magnetic sensing component and the magnet are arranged, and the encoder can be thinned. And the absolute position signal is obtained through the magnetic sensing assembly, so that the encoder has higher environmental pollution resistance bearing capacity, and the optical sensing assembly has an incremental light receiving area and sensing patterns arranged in a phase array mode, so that the stability of the encoder can be improved. Meanwhile, the center of the magnetic sensing assembly can be positioned on the rotating shaft or arranged off-axis, so that the encoder can have larger production and assembly margin and is easier to design and assemble.

Although the invention has been described in detail with reference to the above embodiments, various modifications can be made by those skilled in the art without departing from the scope of the appended claims.

25页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:编码器及其适用的马达

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类