Non-hollow encoder based on phase difference and encoding method
By adopting a combination design of the blank sector and infrared receiving lamp sector in the encoder, combined with virtual infrared lamp technology, the problem of high production and maintenance costs of existing glass code disk encoder is solved, achieving high precision and low cost The encoder design improves the reliability and stability of the system.
Patent Information
- Application Number
- CN202411122262.5
- 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
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.
Using a non-hollow 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, virtual infrared lights improve position detection coverage and reduce the actual number of lamps.
It realizes an encoder with simple structure, low cost and easy maintenance, improves reading accuracy and stability, reduces errors, and reduces production and maintenance costs.
Smart Images

Figure CN118960795A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of encoder design, and in particular to a non-hollow encoder and 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 a non-hollow encoder and 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 a non-hollow encoder based on phase difference, comprising: N baffle sectors, N-1 or N+1 infrared receiving lamp sectors, baffles, infrared receiving lamp groups and infrared transmitting lamps;
[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; the infrared receiving lamp group is provided along the periphery of the arc of any infrared receiving lamp sector; the infrared receiving lamp group is provided with a plurality of infrared receiving lamps arranged at equal intervals;
[0007] An infrared emitting lamp is provided at the rotating shaft position of the encoder code disc corresponding to any of the infrared receiving lamp sectors; and the baffle is located between the infrared receiving lamp and the infrared emitting lamp.
[0008] 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.
[0009] Furthermore, the spacing distance between the two blocking pieces is greater than the width of the light emitted by the infrared emitting lamp.
[0010] Furthermore, the arc length of the baffle is less than or equal to half of the arc length of the baffle sector.
[0011] Furthermore, the number of the infrared receiving lamps arranged in any of the infrared receiving lamp sectors is greater than or equal to 3.
[0012] 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)°.
[0013] Furthermore, a virtual infrared lamp is arranged between the two infrared receiving lamps.
[0014] Furthermore, the virtual infrared light is set by at least one algorithm tool including simulation software, algorithm library, and embedded system.
[0015] Furthermore, the minimum angle change that the encoder can distinguish is (360 / N-360 / (N-1)°) / w, or (360 / N-360 / (N+1)°) / w;
[0016] Wherein, w is the variation range of each virtual infrared lamp in the analog-to-digital signal.
[0017] The present invention also provides an encoding method of a non-hollow encoder based on phase difference, which adopts the above-mentioned encoder based on phase difference.
[0018] Compared with the prior art, the present invention has at least the following technical effects:
[0019] The present invention combines an infrared emitting lamp, 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.
[0020] 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
[0021] Figure 1 Schematic diagram of the structure of an encoder based on phase difference in one embodiment of the present invention;
[0022] Figure 2 FIG. 4 is another structural diagram of an encoder based on phase difference in one embodiment of the present invention. DETAILED DESCRIPTION
[0023] The following is a description of a non-hollow encoder and encoding method based on phase difference 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.
[0024] 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.
[0025] This embodiment provides a non-hollow encoder based on phase difference, including: N baffle sectors, N-1 infrared receiving light sectors, baffles, infrared receiving light groups and infrared transmitting lights.
[0026] The encoder code disc is evenly divided into N baffle sectors and N-1 or N+1 infrared receiving lamp sectors.
[0027] 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 arranged at equal intervals are provided in the infrared receiving lamp group; the infrared transmitting lamp is provided at the rotating shaft position of the encoder code disk corresponding to any infrared receiving lamp sector; the baffle is located between the infrared receiving lamp and the infrared generating lamp.
[0028] The present invention adopts a combined design of an infrared emitting lamp, an infrared receiving lamp and a baffle plate, and does not require laser preparation of a horse track 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 plate 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 plate sectors, which helps to reduce errors and improve reading stability.
[0029] Furthermore, the working principle of the encoder disclosed in this embodiment is as follows: when the code disk rotates, the infrared emitting lamp continuously emits infrared light, and the baffle will alternately block and expose the light source, so that the light intensity detected by the infrared receiving lamp changes, 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 infrared receiving lamps passing 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.
[0030] 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.
[0031] In a specific embodiment, the number of the baffle sectors is 16, and the number of the infrared receiving light sectors is 15, or may be 17.
[0032] In another specific embodiment, the number of the baffle sectors is 14, and the number of the infrared receiving lamp sectors is 16.
[0033] 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.
[0034] 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.
[0035] 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.
[0036] In a specific embodiment, three infrared receiving lamps are provided in an infrared receiving lamp group.
[0037] The function of the baffle in the code disk is to modulate the light beam emitted by the infrared transmitter. By setting the baffle in the beam path, a specific light pulse pattern can be created.
[0038] 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.
[0039] 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.
[0040] In addition, the arc lengths of all baffles in the code disk are generally set to be equal, so that each baffle modulates the light beam uniformly, which helps to generate consistent and predictable pulse signals. Furthermore, the spacing between the baffles needs to be greater than the width of the light emitted by the infrared emitter. If the spacing between the baffles is less than the beam width of the infrared emitter, the light beam may overlap between adjacent baffles, resulting in unclear signals received by the receiving end, affecting the accuracy and resolution of the signal.
[0041] Furthermore, in this embodiment, the infrared emitting lamps are arranged around the rotation axis of the code disk to emit infrared light.
[0042] In this embodiment, the number of the infrared transmitting lamps is equal to the number of the infrared lamp receiving sectors, and an infrared receiving lamp is arranged in one infrared lamp receiving sector, so that each infrared receiving lamp area on the code disk can receive infrared light, thereby improving the reading accuracy.
[0043] In a specific embodiment, the number of the infrared light receiving sectors is 16, and the number of the infrared transmitting lamps is also 16.
[0044] Furthermore, in this embodiment, the distances between any two of the infrared emitting lamps are equal, and the distance between the infrared emitting lamps refers to the center distance between the two infrared emitting lamps.
[0045] 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 lamp and the infrared receiving lamp within 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.
[0046] By utilizing the existence of the empty sector and the scanning signal between infrared emission 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.
[0047] 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-360 / (N+1)° or 360 / (N-1)°-360 / N°. 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.
[0048] In a specific embodiment, when the baffle sectors are 16 and the infrared receiving lamp sectors are 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 1.5 angle.
[0049] 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.
[0050] 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.
[0051] 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.
[0052] 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 lamp 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:
[0053] 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 lamp is provided at the position of the code disk shaft corresponding to any infrared receiving lamp sector, 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°.
[0054] Please refer to Figure 2 The following will take N=14, 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 lamp 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:
[0055] 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, wherein 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, 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 lamp is provided at the position of the code disk shaft corresponding to any infrared receiving lamp sector, 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 variation 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°.
[0056] 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 non-hollow encoder based on phase difference, characterized in that: include: N baffle sectors, N-1 or N+1 infrared receiving light sectors, baffles, infrared receiving light groups and infrared transmitting lights; 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 provided along the periphery of the arc of any infrared receiving lamp sector; the infrared receiving lamp group is provided with a plurality of infrared receiving lamps arranged at equal intervals; An infrared emitting lamp is provided at the rotating shaft position of the encoder code disc corresponding to any of the infrared receiving lamp sectors; and the baffle is located between the infrared receiving lamp and the infrared emitting lamp.
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 pieces is greater than the width of the light emitted by the infrared emitting lamp.
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-360 / (N-1)°) / 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 of a non-hollow encoder based on phase difference, 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
Photoelectric encoder for detecting rotation speed and rotation angle of rotating objects
CN201780116U
Sine and cosine encoder and servo system
CN219064541U
Optical encoder
WO2017161905A1
Encoder based on dual excitation of orthogonal trigonometric function, and method for operating same
WO2023082799A1
