Phase difference-based encoder and encoding method

By adopting a combination design of the blanking sector and infrared receiving lamp sector in the encoder, combined with virtual infrared lamp technology, the problems of complex production and high maintenance costs of existing glass code disk encoder are solved, achieving high precision and low Cost encoder design improves the stability and reliability of the system.

CN118960794AActive Publication Date: 2024-11-15HUZHOU ZAAG ELECTRIC TECH
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202411122257.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-15
Publication Date
2024-11-15
Estimated Expiration
2044-08-15

AI Technical Summary

Technical Problem

The production process of existing glass code disc encoders is complex and costly, easy to damage, and has high maintenance costs, making it difficult to achieve high-precision and low-cost encoder design.

Method used

Adopting an encoder design based on phase difference, high-precision positioning is achieved through the combination of N blank sectors and N-1 or N+1 infrared receiving lamp sectors. and detection, improve position detection coverage and system stability through virtual infrared lights.

Benefits of technology

It reduces the preparation and maintenance costs of the encoder, improves the reading accuracy and system reliability, and realizes high-precision position detection without increasing the actual number of received lamps, saving costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118960794A_ABST
    Figure CN118960794A_ABST
Patent Text Reader

Abstract

The invention provides an encoder and an encoding method based on phase difference. A coded disc of the encoder is averagely divided into N baffle sectors and N-1 or N + 1 infrared receiving lamp sectors; one separation blade is arranged in each of the (N-1) or (N + 1) separation blade sectors, and the other separation blade sector is an empty sector; a plurality of infrared receiving lamps are sequentially arranged along the arc periphery of any infrared receiving lamp sector, and an infrared light emitting source with the center of the code disc as the circle center is arranged in the center of the code disc. The blocking piece is located between the infrared receiving lamp and the infrared generating lamp. Through the method of combining the infrared emission source, the infrared receiving lamp and the blocking piece, the structure is simple, the manufacturing cost is low, and maintenance is easy. By averagely dividing the coded disc of the encoder into N baffle sectors and N-1 or N + 1 infrared receiving lamp sectors, high-precision positioning and detection can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of encoder design, and in particular to an encoder and an encoding method based on phase difference. Background Art

[0002] As a mainstream form of optical encoder, glass code discs use laser beams to identify the tracks on the glass code discs for positioning, which has high accuracy and stability. However, the tracks on such code discs (also called gratings or two-dimensional codes) need to be prepared through precision processing technology, including photolithography, etching, coating and polishing, etc. These processes must be carried out in a clean room environment to ensure that the size and surface quality of the tracks meet high-precision requirements. Therefore, the production process of such code discs is complex and the production cost is relatively high. In addition, such code discs are made of glass, which is easy to damage and has high maintenance costs. Summary of the invention

[0003] The object of the present invention is to provide an encoder and an encoding method based on phase difference, so as to reduce the preparation and maintenance costs of the encoder and improve the reading accuracy of the encoder.

[0004] The present invention provides an encoder based on phase difference, comprising: N baffle sectors, N-1 or N+1 infrared receiving lamp sectors, baffles, an infrared receiving lamp group and an infrared transmitting source;

[0005] The encoder code disk is evenly divided into N baffle sectors and N-1 or N+1 infrared receiving light sectors;

[0006] Each of the N baffle sectors is provided with a baffle, and the other baffle sector is an empty sector;

[0007] The infrared receiving lamp group is arranged along the periphery of the circular arc of any infrared receiving lamp sector, and the infrared receiving lamp group is provided with a plurality of infrared receiving lamps arranged at equal intervals;

[0008] The center of the code disk is provided with an infrared light source with the center of the code disk as the center of the circle;

[0009] The baffle is located between the infrared receiving lamp and the infrared light source.

[0010] Furthermore, one end of the baffle is located inside the baffle sector, and the other end is located on the edge of the baffle sector.

[0011] Furthermore, the spacing distance between the two baffles is greater than the width of the light emitted by the infrared emission source.

[0012] Furthermore, the arc length of the baffle is less than or equal to half of the arc length of the baffle sector.

[0013] Furthermore, the number of the infrared receiving lamps arranged in any of the infrared receiving lamp sectors is greater than or equal to 3.

[0014] Furthermore, the angle difference between one infrared receiving lamp and another infrared receiving lamp in any infrared receiving lamp group is 360 / (N-1)°-360 / N° or 360 / N-360 / (N+1)°.

[0015] Furthermore, a virtual infrared lamp is arranged between the two infrared receiving lamps.

[0016] Furthermore, the virtual infrared light is set by at least one algorithm tool including simulation software, algorithm library, and embedded system.

[0017] Furthermore, the minimum angle change that the encoder can distinguish is (360 / (N-1)°-360 / N°) / w or (360 / N-360 / (N+1)°) / w;

[0018] Wherein, w is the variation range of each virtual infrared lamp in the analog-to-digital signal.

[0019] The present invention also provides an encoding method of a phase difference-based encoder, which adopts the above-mentioned phase difference-based encoder.

[0020] Compared with the prior art, the present invention has at least the following technical effects:

[0021] The present invention combines an infrared emission source, an infrared receiving lamp and a baffle, has a simple structure, low preparation cost, and is easy to maintain. Furthermore, by evenly dividing the encoder code disk into N baffle sectors and N-1 infrared receiving lamp sectors, high-precision positioning and detection can be achieved. The N-1 infrared receiving lamp sectors provide transitions between adjacent baffle sectors, which helps to reduce errors and improve reading stability.

[0022] Furthermore, the present invention can achieve more uniform and denser position detection coverage by virtually combining infrared lamps without increasing the actual number of receiving lamps, thereby improving the reliability and stability of the system and obtaining more precise position detection, and there is no need to physically arrange the receiving lamps more densely, thereby saving costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 Schematic diagram of the structure of an encoder based on phase difference in one embodiment of the present invention;

[0024] Figure 2 FIG. 4 is another structural diagram of an encoder based on phase difference in one embodiment of the present invention. DETAILED DESCRIPTION

[0025] The following is a description of a phase difference based encoder and encoding method of the present invention in conjunction with a schematic diagram, wherein a preferred embodiment of the present invention is shown, and it should be understood that those skilled in the art can modify the present invention described herein, while still achieving the advantageous effects of the present invention. Therefore, the following description should be understood as being widely known to those skilled in the art, and not as a limitation of the present invention.

[0026] The present invention is described in more detail in the following paragraphs by way of example with reference to the accompanying drawings. The advantages and features of the present invention will become more apparent from the following description. It should be noted that the accompanying drawings are in very simplified form and in non-precise proportions, and are only used to facilitate and clearly assist in illustrating the purpose of the embodiments of the present invention.

[0027] This embodiment provides a phase difference-based encoder, including: N baffle sectors, N-1 infrared receiving light sectors, a baffle, an infrared receiving light group, and an infrared transmitting source.

[0028] The encoder code disk is evenly divided into N baffle sectors and N-1 or N+1 infrared receiving light sectors.

[0029] A baffle is provided in each of the N baffle sectors, and the other baffle sector is an empty sector; the infrared receiving lamp group is provided along the outer periphery of the arc of any infrared receiving lamp sector; a plurality of infrared receiving lamps are arranged at equal intervals in the infrared receiving lamp group; an infrared light source with the center of the code disk as the center is provided in the center of the code disk; the baffle is located between the infrared receiving lamp and the infrared generating lamp.

[0030] The present invention adopts a combined design of an infrared emission source, an infrared receiving lamp and a baffle, and does not require laser preparation of a horse path on the encoder, thereby obtaining an encoder with a simple structure, low cost and easy maintenance. Furthermore, by evenly dividing the encoder code disk into N baffle sectors and N-1 or N+1 infrared receiving lamp sectors, high-precision positioning and detection can be achieved. The N-1 or N+1 infrared receiving lamp sectors provide transitions between adjacent baffle sectors, which helps to reduce errors and improve reading stability.

[0031] Furthermore, the working principle of the encoder disclosed in this embodiment is as follows: when the code disk rotates, the infrared emission source continuously emits infrared light, and the baffle will alternately block and expose the light source, causing the light intensity detected by the infrared receiving lamp to change, thereby generating a high pulse signal and a low pulse signal (when the baffle blocks the light source that the infrared receiving lamp can receive, a low pulse signal is generated, and when the baffle is removed, a high pulse signal is generated). The pulse signal is processed using a high-precision signal processing algorithm to determine the time interval between two adjacent actual infrared receiving lamps when the baffle passes through the periphery of any infrared receiving lamp sector, thereby calculating the rotation speed of the code disk. Combining the rotation speed of the code disk and the time interval of the baffle passing, the angle of rotation of the code disk can be calculated.

[0032] In this embodiment, the number of infrared receiving lamp sectors and baffle sectors has a direct impact on the resolution and accuracy of the encoder. Theoretically, the more sectors there are, the higher the resolution. However, too many sectors will increase the complexity of the system and affect the accuracy and stability of the code disk. In addition, too many sectors may increase the production cost. Therefore, in the actual preparation process, it is necessary to select the appropriate number of sectors according to actual needs.

[0033] In a specific embodiment, the number of the baffle sectors is 16, and the number of the infrared receiving light sectors is 15.

[0034] In another specific embodiment, the number of the baffle sectors is 14, and the number of the infrared receiving lamp sectors is 16.

[0035] In this embodiment, one of the infrared receiving lamps in the infrared receiving lamp group is arranged close to the edge of the sector, and the remaining infrared receiving lamps are arranged in sequence and closely to each other, and the infrared receiving lamps are arranged equidistantly. Different infrared receiving lamp groups are also arranged equidistantly. The uniform and equidistant arrangement of the infrared receiving lamp groups, especially the arrangement of one of the receiving lamps close to the edge of the sector, provides an accurate starting reference point, thereby improving the resolution, reliability and robustness of the system and simplifying the calibration process.

[0036] In this embodiment, the infrared receiving lamp is a photodiode. Those skilled in the art can select different types of infrared receiving lamps according to actual conditions.

[0037] Furthermore, the specific number of infrared receiving lamps also has a direct impact on the resolution and accuracy of the encoder. In theory, increasing the number of infrared receiving lamps can improve measurement accuracy, because more infrared receiving lamps can provide finer angular resolution, allowing the encoder to detect smaller position changes; multiple infrared receiving lamps can also provide more light sources for detection, thereby improving the uniformity and intensity of system illumination. However, too many infrared receiving lamps will cause the infrared receiving lamps to be densely arranged, affecting signal reception. In addition, too many infrared receivers will also increase design costs. Therefore, in the actual preparation process, it is necessary to select the appropriate number of infrared receiving lamps based on external factors such as sector size and preparation cost.

[0038] In a specific embodiment, three infrared receiving lamps are provided in an infrared receiving lamp group.

[0039] The function of the baffle in the code disk is to modulate the light beam emitted by the infrared emission source. By setting the baffle in the beam path, a specific light pulse pattern can be created.

[0040] In this embodiment, one end of the baffle is located inside the baffle sector, and the other end is located on the edge of the baffle sector. The specific arc length of the baffle should match the arc length of the code disk sector, that is, the longer the arc length of the code disk sector, the longer the specific arc length of the baffle, or the arc length of the code disk sector is proportional to the arc length of the baffle, so as to improve the accuracy and resolution of the code disk. However, the baffle should not be too large. If the baffle is too large, the infrared receiving lights of the adjacent sectors may detect the baffle at the same time, thereby reducing the accuracy.

[0041] In a specific example, the arc length of the baffle is less than or equal to one-half of the arc length of any of the baffle sectors, and greater than one-third of the arc length. For example, assuming that there are 16 baffle sectors, after determining the radius of the baffle sector, the angle of each baffle sector is 22.5° (the angle refers to the angle formed by the two radii of the sector and the center point of the code disk is 22.5°), then the angle range corresponding to each baffle can also be set to 7.5°-12.25° (the angle range refers to the angle formed by the two ends of the arc length of the baffle and the center point of the code disk is 7.5°-12.25°), and the arc length of the baffle is set according to the angle of the baffle and the radius of the baffle sector.

[0042] In addition, the arc lengths of all baffles in the code wheel are generally set to be equal, so that each baffle modulates the light beam uniformly, which helps to generate consistent and predictable pulse signals.

[0043] Furthermore, the distance between the two baffles needs to be greater than the width of the light emitted by the infrared emission source. If the distance between the baffles is smaller than the beam width of the infrared emission source, the beam may overlap between adjacent baffles, resulting in unclear signals received by the receiving end, affecting the accuracy and resolution of the signal.

[0044] Furthermore, in this embodiment, the infrared emission sources are arranged around the rotation axis of the code disk to emit infrared light.

[0045] In this embodiment, the infrared emission source is a circular infrared emission source with the center point of the code disk as the center, so that each infrared receiving light area on the code disk can receive infrared light, thereby improving the accuracy of reading.

[0046] In a specific embodiment, the infrared emission source may include multiple emission sources, such as multiple infrared LEDs, which are evenly distributed along the circumference, and each LED emits a beam of infrared light. In addition, the infrared emission source may also include multiple infrared laser diodes, multiple infrared bulbs or multiple infrared quantum dots, etc., each emission source can emit a beam of infrared light, so that each infrared receiving light area can receive infrared light.

[0047] In addition, an empty sector is also set in this embodiment. Due to the existence of the empty sector, by monitoring the scanning signal generated by the infrared transmitting source and the infrared receiving lamp in one circle (i.e., a complete rotation cycle) (the scanning signal is also the change in light intensity detected by the receiving lamp when the baffle blocks and exposes the infrared light source), the position of the baffle adjacent to the empty sector can be roughly identified to improve the accuracy and reliability of angle measurement. By utilizing the existence of the empty sector and the scanning signal between infrared transmission and reception, the position of the baffle can be effectively identified and the measurement accuracy of the rotation angle of the code disk can be improved.

[0048] In this embodiment, since the number of infrared receiving lamp sectors on the code disk is one more than the number of baffle sectors, there is an angle difference x° between two adjacent infrared lamps or any infrared receiving lamp sector and its adjacent baffle sector, and the size of the angle difference x° is 360 / (N-1)°-360 / N° or 360 / N-360 / (N-1)°, that is, the angle difference between one of the infrared receiving lamps in any infrared receiving lamp group and the other infrared receiving lamp is 360 / (N-1)°-360 / N° or 360 / N-360 / (N+1)°. Due to the limitation of the actual physical space, it is impossible to place more infrared lamps in the actual device to improve the resolution. Therefore, the angle difference x° can be used to virtually increase the number of infrared receiving lamps. Specifically, virtual infrared receiving lamps are virtually placed at x° positions around each infrared lamp. For example, an actual infrared receiving lamp is set at any position outside the arc of the infrared receiving lamp sector, and a virtual infrared receiving lamp is placed at x° to the left of the infrared receiving lamp, and a virtual infrared receiving lamp is also placed at x° to the right of the infrared receiving lamp. In this way, two virtual infrared receiving lamps are placed around each actual infrared receiving lamp. It can be understood that the virtual receiving infrared lamp can be a set of virtual positions obtained by calculation methods (that is, at positions x° away from the real infrared receiving lamp). These virtual positions simulate the functions of actual infrared receiving lamps, and measurements or detections can be performed at these positions.

[0049] In a specific embodiment, when the number of baffle sectors is 16 and the number of infrared receiving lamp sectors is 15, and the angle difference between one infrared receiving lamp and another infrared receiving lamp in any infrared receiving lamp group is 1.5°, a virtual receiving infrared lamp is set at the position of the 1.5 angle.

[0050] The virtual infrared receiving light is generated by an algorithm tool, which includes but is not limited to simulation software, algorithm library and embedded system.

[0051] Furthermore, if the AD signal (the signal output by the analog-to-digital converter) of each infrared receiving lamp changes in the range of x° to w (ADC resolution, i.e., the minimum voltage change that the ADC can distinguish), then the theoretical design accuracy is x° / w (design accuracy refers to the degree of proximity between the position measurement value and the true position value). The smaller the AD signal change range w, the higher the theoretical accuracy. That is, the angle corresponding to each AD signal change unit. For example: if the AD signal change range of each infrared lamp in the range of x° is 1mV, and x° is 1°, then the theoretical design accuracy is 1° / mv.

[0052] By virtually combining infrared lamps, more uniform and denser position detection coverage can be achieved without increasing the number of actual receiving lamps, thereby improving the reliability and stability of the system and obtaining more precise position detection without the need to arrange the actual infrared receiving lamps too densely, thus saving costs.

[0053] Please refer to Figure 1 The following will take N=16, where three infrared receiving lamps are arranged in sequence on the periphery of the arc of any infrared receiving lamp sector, and one infrared transmitting source is provided at the position of the code disk shaft corresponding to any infrared receiving lamp sector as an example to introduce the possible specific structure of the encoder:

[0054] There are 16 baffle sectors, and each sector is 22.5° wide; there are 15 infrared receiving lamp sectors, and each sector is 24° wide, of which 15 of the 16 baffle sectors are provided with a baffle with an arc length of 11.25°, which is half of the arc length of the baffle sector, and an infrared receiving lamp is arranged every 6° (the angle difference formed between the midpoints of two infrared receiving lamps is 6°) in each infrared receiving lamp sector, and 3 infrared receiving lamps are arranged in sequence on the periphery of the arc of each infrared receiving lamp sector, and an infrared transmitting source is arranged around the center of the code disk, and the angle difference between two adjacent infrared receiving lamps or any infrared receiving lamp sector and the adjacent baffle sector is 1.5°. Assuming that the intensity change range of the baffle through each infrared lamp area of ​​1.5° is 8-bit 255, then the final accuracy of the scheme is 1.5° / 255, which is approximately equal to 0.0059°.

[0055] Please refer to Figure 2 The following will take N=14, 3 infrared receiving lamps are arranged in sequence on the periphery of the arc of any infrared receiving lamp sector, and 1 infrared transmitting source is provided at the position of the code disk shaft corresponding to any infrared receiving lamp sector as an example to introduce the possible specific structure of the encoder:

[0056] There are 14 baffle sectors, and each sector is 25.714° wide; there are 15 infrared receiving lamp sectors, and each sector is 24° wide. Among them, 13 of the 14 baffle sectors are provided with a baffle with an arc length of 12.875°, which is half of the arc length of the baffle sector. In each infrared receiving lamp sector, an infrared receiving lamp is arranged every 6° (the angle difference formed between the midpoints of two infrared receiving lamps is 6°), and 3 infrared receiving lamps are arranged in sequence on the outer periphery of the arc of each infrared receiving lamp sector. An infrared transmitting source is arranged around the center of the code disk, and the angle difference between two adjacent infrared receiving lamps or any infrared receiving lamp sector and the adjacent baffle sector is 1.714°. Assuming that the intensity change range of the baffle through each infrared lamp area of ​​1.714° is 8-bit 255, then the final accuracy of the scheme is 1.714° / 255, which is approximately equal to 0.0067°.

[0057] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A phase difference based encoder, characterized in that: include: N baffle sectors, N-1 or N+1 infrared receiving light sectors, baffles, infrared receiving light groups and infrared transmitting sources; The encoder code disk is evenly divided into N baffle sectors and N-1 or N+1 infrared receiving light sectors; Each of the N baffle sectors is provided with a baffle, and the other baffle sector is an empty sector; The infrared receiving lamp group is arranged along the periphery of the circular arc of any infrared receiving lamp sector, and the infrared receiving lamp group is provided with a plurality of infrared receiving lamps arranged at equal intervals; The center of the code disk is provided with an infrared light source with the center of the code disk as the center of the circle; The baffle is located between the infrared receiving lamp and the infrared light source.

2. The phase difference based encoder according to claim 1, characterized in that: One end of the baffle is located inside the baffle sector, and the other end is located on the edge of the baffle sector.

3. The phase difference based encoder according to claim 2, characterized in that: The spacing distance between the two blocking sheets is greater than the width of the light emitted by the infrared emission source.

4. The phase difference based encoder according to claim 3, characterized in that: The arc length of the baffle is less than or equal to one half of the arc length of the baffle sector.

5. The phase difference based encoder according to claim 1, characterized in that: The number of the infrared receiving lamps arranged in any of the infrared receiving lamp sectors is greater than or equal to 3.

6. The phase difference based encoder according to claim 1, characterized in that: The angle difference between one infrared receiving lamp and another infrared receiving lamp in any infrared receiving lamp group is 360 / (N-1)°-360 / N° or 360 / N-360 / (N+1)°.

7. The phase difference based encoder according to claim 1, characterized in that: A virtual infrared lamp is arranged between the infrared receiving lamps.

8. The phase difference based encoder according to claim 7, characterized in that: The virtual infrared lamp is set by at least one algorithm tool including simulation software, algorithm library, and embedded system.

9. The phase difference based encoder according to claim 8, characterized in that: The minimum angle change that the encoder can distinguish is (360 / (N-1)°-360 / N°) / w or (360 / N-360 / (N+1)°) / w; Wherein, w is the variation range of each virtual infrared lamp in the analog-to-digital signal.

10. A coding method based on a phase difference encoder, characterized in that: An encoder based on phase difference as claimed in any one of claims 1 to 9 is used.

Citation Information

Patent Citations

  • Differential photoelectric encoder and position determining method

    CN106482764A

  • High-precision encoder based on image recognition and implementation method thereof

    CN111964699A

  • Photoelectric encoder for detecting rotation speed and rotation angle of rotating objects

    CN201780116U

  • Grating encoder

    CN204101060U

  • A grating encoding ware for detecting motor rotation number

    CN206959866U