Photodiode PD array recombination design of absolute code channel of grating ruler / photoelectric encoder
By designing a photodiode PD array reorganization system in a grating scale/photoencoder, using control identification circuits and switching unit arrays for code error correction, the error problem in traditional grating scales and photoelectronic encoder is solved, and the measurement accuracy and stability are improved , achieving efficient position and motion measurement.
Patent Information
- Application Number
- CN202411188381.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-28
- Publication Date
- 2024-11-29
AI Technical Summary
Traditional absolute code channel grating scales and photoelectric encoders often face 0/1 error problems during application, resulting in reduced measurement accuracy and stability. The existing calibration methods are complex and cannot be monitored and compensated in real time.
A photodiode PD array reorganization design consisting of an absolute code channel photodiode PD array, a transimpedance amplifier TIA array, a switching unit array, a control identification circuit and a digital encoding circuit are designed to determine error codes through the control identification circuit and control the switching unit. Reorganization is carried out to realize error correction and encoding output of photodiode PD array.
It effectively avoids the coding error problem of grating scale/photoelectric encoder during application, improves measurement accuracy and stability, enhances the chip's usage efficiency and working efficiency, and achieves high-precision position and motion measurement.
Smart Images

Figure CN119043384A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a photodiode PD array reorganization design of a grating ruler / photoelectric encoder absolute code, which has a wide range of applications, including industrial automation, CNC machine tools, medical equipment, printing and packaging, aerospace, scientific laboratories, robotics, automotive industry, and shipbuilding and marine engineering, and provides key technical support for accurate measurement of position and motion in these fields. Background Art
[0002] The absolute code photodiode PD array design traditionally used in grating rulers and photoelectric encoders is a key design widely used to measure position and motion. Its principle is based on optical sensing technology and can determine the absolute position of the target object by detecting the reflected light signal. In the fields of industrial automation, robotics and automotive industry,
[0003] In the application process of absolute grating ruler and photoelectric encoder, the light emitted by the sensor is irradiated to the surface of the target object, and then the reflected light signal is received by the receiver and converted into an electrical signal, and then encoded and looked up in the table to measure the absolute position of the target object. However, in practical applications, the detection of absolute code channels often faces some challenges, including the 0 / 1 error problem encountered in normal operation.
[0004] In the application process of absolute grating rulers and photoelectric encoders, factors such as light source power fluctuations, the relative position of the chip and the encoder disk, ambient light interference, and the unevenness of the target surface may cause bit errors. These bit error problems will not only reduce the measurement accuracy and stability of the photoelectric encoder, but may also have a negative impact on the overall performance of the system. At present, the solutions to the bit error problems of absolute grating rulers and photoelectric encoders still have certain limitations. Traditional calibration methods often require complex hardware equipment and cannot monitor and compensate for bit errors in real time. Therefore, it is necessary to propose a new and more effective method to solve the bit error problems encountered by grating rulers and photoelectric encoders during the initial operation and normal working state, so as to improve their accuracy and stability.
[0005] In order to solve the above problems, the present invention aims to overcome the limitations of the error code problems encountered by grating scales and photoelectric encoders during the application process, and provides a photodiode PD array reconstruction design applied to the absolute code channel of the grating scale / photoelectric encoder. Through the combined application design of the absolute code channel photodiode PD array, the transimpedance amplifier TIA array, the switch unit array, the control identification circuit and the digital encoding circuit, the error code situation occurring during the application process can be effectively identified, and the switch unit can be turned on and off by the control identification circuit to realize the absolute code channel photodiode PD array reconstruction and coding output, which can effectively solve the error code state problem and realize high-precision position and motion measurement. Summary of the invention
[0006] The purpose of the present invention is to provide a photodiode PD array reorganization design for an absolute code channel of a grating ruler / photoelectric encoder. The design is characterized in that: the design is composed of an absolute code channel photodiode PD array (1), a transimpedance amplifier TIA array (2), a switch unit array (3), a control identification circuit (4), and a digital encoding circuit (5).
[0007] The object of the present invention is achieved in that:
[0008] The absolute code channel photodiode PD array (1) is composed of a plurality of PDs. If every three PDs detect an absolute position coding signal, the absolute code channel photodiode PD array (1) detects the absolute code channel spot signal of the grating scale or the coding disk to generate a changing photocurrent signal, and outputs the signal to the transimpedance amplifier TIA array (2). A single PD in the absolute code channel photodiode PD array (1) is connected to a single transimpedance amplifier TIA in the transimpedance amplifier TIA array (2). The transimpedance amplifier TIA array (2) processes and amplifies the photocurrent signal generated by the absolute code channel photodiode PD array (1), outputs a voltage signal, and outputs the signal to the control identification circuit (4) through the switch unit array (3). The control identification circuit (4) determines whether the absolute code channel photodiode PD array has a photocurrent signal. Whether the output of each PD in column (1) generates a bit error problem, that is, the three PDs detecting the light spot signal are at the edge of the light spot signal alternating between light and dark, which will cause a 0 / 1 signal bit error problem. The photodiode PD array is reorganized by controlling the switch unit array (3). For example, the coding output composed of PD1, PD2, and PD3 is reorganized into the coding output composed of PD2, PD3 and PD4, and the reorganized photodiode PD array is output to the digital coding circuit (5), and finally the correct coding result of the absolute position is output. The photodiode PD array reorganization design applied to the absolute code channel of the grating ruler / photoelectric encoder can effectively avoid the bit error problem encountered by the chip during work, greatly improve the use efficiency and work efficiency of the chip, and is widely used in precise position measurement.
[0009] The number, size and distribution of PDs in the absolute code channel photodiode PD array (1) in the design need to match the absolute position code of the grating scale / photoelectric encoder in the application system. When the maximum number of absolute position codes is code n, three, four or five PDs can be used as a group to detect and output a coding signal; for example, the absolute code channel output code is 10 bits, and every five PDs detect and output one bit of code. The number of PDs in the absolute code channel photodiode PD array (1) can be designed to be 54, and the remaining PDs are used as PD array reorganization applications; the photodiode structure in the absolute code channel photodiode PD array (1) can be any one of a PN type photodiode, a PIN type photodiode, etc., and its function is to receive the light spot signal reflected by the coding disk and convert it into a photocurrent signal; the shape of a single photodiode (PD) can be a rectangle, a square, etc., and in the application process, it outputs a photocurrent signal in the form of an approximate square wave through photosensitivity.
[0010] The transimpedance amplifier TIA in the transimpedance amplifier TIA array (2) in the design may be any one of a basic feedback transimpedance amplifier (TIA), a dual-input transimpedance amplifier (TIA), a differential transimpedance amplifier (TIA) and a variable gain transimpedance amplifier (TIA), and its function is to convert the photocurrent signal generated by the photodiode (PD) array into a voltage signal and output it; each TIA in the transimpedance amplifier TIA array (2) is connected to a PD in the absolute code channel photodiode PD array in a single connection.
[0011] The switch unit array (3) in the design can be any one of a digital switch unit, an analog switch unit, a field effect transistor switch unit, a CMOS switch unit and an electronic switch unit, and its main function is to complete the connection between the output of the absolute code channel photodiode PD array (1) and the digital encoding circuit (5) under the control of the control identification circuit (4).
[0012] The control identification circuit (4) in the design can be any one of a digital logic circuit, a microcontroller, an analog electronic switch circuit, etc. Its function is to control the switch unit (3) to reorganize the connection between the photodiode PD array (1) and the digital coding circuit when it is identified that there is an abnormal PD output in the absolute code channel photodiode PD array (1) and is in a 0 / 1 error state. For example, the original connection between PD1, PD2, PD3 and code 1 is reorganized into a connection between PD2, PD3, PD4 and code 1, thereby solving the 0 / 1 error problem that occurs in the detection process of the absolute code channel photodiode PD array (1) and ensuring the high measurement accuracy of the subsequent system. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1The invention discloses a schematic diagram of a photodiode PD array reorganization design of an absolute code channel of a grating ruler / photoelectric encoder. The design comprises an absolute code channel photodiode PD array (1), a transimpedance amplifier TIA array (2), a switch unit array (3), a control identification circuit (4), and a digital encoding circuit (5).
[0014] Figure 2 The present invention is a schematic diagram of an embodiment of the photodiode PD array reorganization design of the absolute code channel of a grating ruler / photoelectric encoder, which is composed of a spot signal 1, an absolute code channel photodiode PD array 2, a transimpedance amplifier TIA array 3, a switch unit array 4, a control identification circuit 5, a photodiode PD array control reorganization state 6, and a digital encoder circuit 7. The spot signal 1 is a random absolute code channel change spot signal, and the absolute code channel photodiode PD array 2 is composed of 34 PDs. Every three PDs detect and identify the absolute code spot signal and output the absolute position coding information through the back-end digital coding circuit. The transimpedance amplifier TIA array 3 is composed of 34 transimpedance amplifiers TIA, and the switch unit array 4 is composed of 34 separate CMOS switch units, each of which is connected to a single transimpedance amplifier TIA and PD; the control identification circuit 5 controls the reorganization control of the photodiode PD array by the switch unit by identifying the output state of a single PD in the photodiode PD array, such as the photodiode PD array control reorganization state 6, the output of every three PDs is connected to a code to distinguish the output, and there are a total of 10-bit code outputs to determine the absolute position information. If PD1 has a bit error, the connection between PD1, PD2, PD3 and code 1 can be reorganized into a connection between PD2, PD3, PD4 and code 1. The photodiode PD array reorganization control method can effectively avoid the bit error information generated by the absolute code channel during the application process. DETAILED DESCRIPTION The present invention will be further described below in conjunction with specific embodiments. Embodiment 1: Figure 2A schematic diagram of an embodiment of the photodiode PD array reorganization design of the absolute code channel of a grating ruler / photoelectric encoder is given, and the embodiment consists of a spot signal 1, an absolute code channel photodiode PD array 2, a transimpedance amplifier TIA array 3, a switch unit array 4, a control identification circuit 5, a photodiode PD array control reorganization state 6, and a digital encoder circuit 7. The spot signal is a random absolute code channel change spot signal, and the absolute code channel photodiode PD array 2 is composed of 34 PDs arranged, and each group of three PDs detects the spot signal of the absolute code channel and performs a back-end digital encoding circuit to output one bit of absolute position encoding information. A group of three PDs will convert the detected light spot signal into a photocurrent signal and output it to the transimpedance amplifier TIA array 3. The transimpedance amplifier TIA array 3 includes 34 transimpedance amplifiers TIA, each of which is connected to only one PD. The transimpedance amplifier TIA array converts the photocurrent signal generated by the PD into a voltage signal and outputs it to the switch unit array 4; the switch unit 4 is composed of 34 CMOS switch units, each of which is also connected to the output of a transimpedance amplifier TIA; the control identification circuit 5 realizes the reorganized output of the photodiode PD array by controlling the switch unit in the switch unit array 4 to turn on and off, and can identify whether the output of each group of three PDs is in an error state, and then reorganizes the photodiode PD array to output it to the correct output state, and outputs it to the digital encoding circuit 7. The digital encoding circuit 7 combines the signals of each group of photodiode PD arrays into a 10-bit code to obtain accurate position information. When in Figure 2 In the working state in , PD1 detects a full-bright spot signal, PD2 detects a spot signal that alternates between light and dark, and PD3 detects a full-dark spot signal. At this time, the output states of PD1, PD2, and PD3 are in a state where the spot signal alternates between light and dark. At this time, the code 1 obtained by the outputs of PD1, PD2, and PD3 will be in a bit error state of a 0 / 1 signal. At this time, when the control identification circuit 4 identifies that the outputs of PD1, PD2, and PD3 are in a bit error state, the control identification circuit 4 disconnects PD1 connected to the code 1, connects the code 1 to PD2, and PD3 to PD4, to achieve control recombination of the photodiode PD array. At this time, PD2 is in a spot signal that alternates between light and dark, and PD3 and PD4 are in a full-dark spot signal. At this time, the output of code 1 is 0, and no bit error state occurs, and the output is normal, as shown in the photodiode PD array control recombination state 6. By controlling the error judgment of the photodiode PD array output signal by the identification circuit and the reorganization control of the photodiode PD array, the error problem encountered by the grating ruler / photoelectric encoder during the application process can be accurately avoided, and real-time adjustment can be made to solve the error problem, ensuring the correctness and stability of digital code output and absolute position identification.
Claims
1. A photodiode PD array reorganization design for the absolute code channel of a grating ruler / photoelectric encoder. Its characteristics are: The design is composed of an absolute code channel photodiode PD array (1), a transimpedance amplifier TIA array (2), a switch unit array (3), a control identification circuit (4), a digital encoding circuit (5) and a PD array control reorganization state 6. In the design: the absolute code channel photodiode PD array (1) detects the absolute code channel spot signal of the grating scale or the encoding disk to generate a changing photocurrent signal, and outputs it to the transimpedance amplifier TIA array (2); a single PD in the absolute code channel photodiode PD array (1) is connected to a single transimpedance amplifier TIA in the transimpedance amplifier TIA array (2); the transimpedance amplifier TIA array (2) processes and amplifies the photocurrent signal generated by the absolute code channel photodiode PD array (1), outputs a voltage signal, and outputs it to the control identification circuit (4) through the switch unit array (3). ), the control identification circuit (4) determines whether the output of each PD in the absolute code channel photodiode PD array (1) has a bit error problem, controls the switch unit array (3) to reorganize the photodiode PD array, and reorganizes the combined outputs of PDn, PDn+1, PDn+2, PDn+3, and PDn+4 in the bit error state into a combined output of PDn+1, PDn+2, PDn+3, PDn+4, and PDn+5 to code n; outputs the reorganized photodiode PD array to the digital encoding circuit (5) for encoding, and finally outputs the encoding result of the absolute position; The reorganization design of the photodiode PD array used in the absolute code channel of the grating ruler / photoelectric encoder can avoid the error code problem encountered by the chip during work, greatly improve the use efficiency and work efficiency of the chip, and is widely used in precise position measurement.
2. A photodiode PD array reorganization design of a grating ruler / photoelectric encoder absolute code channel according to claim 1; Its characteristics are: The number, size and distribution of PDs in the absolute code channel photodiode PD array (1) in the design need to match the absolute position code of the grating ruler / photoelectric encoder in the application system. When the maximum number of absolute position codes is code n, three, four or five PDs can be used as a group to detect and output a coding signal; for example, if the absolute code channel output code is 10 bits, every five PDs detect and output one bit of code, the number of PDs in the absolute code channel photodiode PD array (1) can be designed to be 54, and the remaining PDs can be used as PD array reorganization applications; The photodiode structure in the absolute code channel photodiode PD array (1) can be any one of a PN type photodiode, a PIN type photodiode, etc., and its function is to receive the light spot signal reflected by the encoding disk and convert it into a photocurrent signal; the shape of a single photodiode (PD) can be a rectangle, a square, etc., and in the application process, it outputs a photocurrent signal in the form of an approximate square wave through light sensing.
3. The photodiode PD array reorganization design of the absolute code channel of a grating ruler / photoelectric encoder according to claim 1; Its characteristics are: The transimpedance amplifier TIA in the transimpedance amplifier TIA array (2) in the design may be any one of a basic feedback transimpedance amplifier (TIA), a dual-input transimpedance amplifier (TIA), a differential transimpedance amplifier (TIA) and a variable gain transimpedance amplifier (TIA), and its function is to convert the photocurrent signal generated by the photodiode (PD) array into a voltage signal and output it; each TIA in the transimpedance amplifier TIA array (2) is connected to a PD in the absolute code channel photodiode PD array in a single connection.
4. The photodiode PD array reorganization design of the absolute code channel of a grating ruler / photoelectric encoder according to claim 1; Its characteristics are: The switch unit array (3) in the design can be any one of a digital switch unit, an analog switch unit, a field effect transistor switch unit, a CMOS switch unit and an electronic switch unit, and its main function is to complete the connection of the output of the absolute code channel photodiode PD array (1) to the digital encoding circuit (5) under the control of the control identification circuit (4).
5. The photodiode PD array reorganization design of the absolute code channel of a grating ruler / photoelectric encoder according to claim 1; Its characteristics are: The control identification circuit (4) can be any one of a digital logic circuit, a microcontroller, an analog electronic switch circuit, etc., and its function is to control the switch unit (3) to reorganize the connection between the photodiode PD array (1) and the digital coding circuit when it identifies that there is an abnormal PD output in the absolute code channel photodiode PD array (1) and is in a 0 / 1 error state. For example, the original connection between PD1, PD2, PD3, PD4, PD5 and code 1 is reorganized into a connection between PD2, PD3, PD4, PD5, PD6 and code 1, thereby solving the 0 / 1 error problem that occurs in the detection process of the absolute code channel photodiode PD array (1), and ensuring the high measurement accuracy of the subsequent system.
Citation Information
Cited By
Zero-searching phase switchable photoelectric encoder chip design
CN119779365A
A zero-searching phase switchable photoelectric encoder chip device
CN119779365B
