Absolute photoelectric encoder signal processing method

By using the reference light-receiving device of the incremental code channel in the absolute photoelectric encoder to output the amplified photocurrent as the reference level of the absolute signal, the error problem of the absolute code channel signal when the temperature and light intensity changes is solved, and the More accurate and low bit error rate absolute code output.

CN118565531AActive Publication Date: 2024-08-30TIANJIN UNIV

Patent Information

Application Number
CN202410259981.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-12
Publication Date
2024-08-30
Estimated Expiration
2044-06-12

AI Technical Summary

Technical Problem

When the temperature and light intensity of the absolute photoelectric encoder change, the duty cycle of the absolute code channel signal is prone to change, resulting in bit errors.

Method used

By setting the reference light-receiving device in the light-receiving device array corresponding to the incremental code channel, the output photocurrent is amplified by a certain proportion and used as the reference level of the absolute signal, so that it changes synchronously with the absolute signal and adapts to environmental changes.

Benefits of technology

It achieves more accurate absolute code output, reduces the bit error rate, and adapts to environmental changes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118565531A
    Figure CN118565531A
Patent Text Reader

Abstract

The invention relates to an absolute photoelectric encoder signal processing method, which comprises the following steps that: light emitted by a light source irradiates on an incremental code channel and an absolute code channel of an encoding medium, the incremental code channel is composed of dark staggered periodic scribed lines, and the absolute code channel is composed of specific scribed lines containing absolute position information; optical signals transmitted or reflected by the two bar code tracks contain position information; the light receiving device array corresponding to the incremental code channel comprises an incremental light receiving device array and a reference light receiving device array, the incremental light receiving device array converts optical signals into sine incremental current signals with the same amplitude and the phase difference of 90 degrees, and the reference light receiving device array converts the optical signals into reference light current approximate to direct current; a reference level is obtained after amplification in a certain proportion; obtaining a group of absolute codes; and further subdividing on the basis of the absolute code by combining the width relationship between the incremental code channel scribed line and the absolute code channel scribed line, and determining position information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of photoelectric encoders and relates to a signal processing method of an absolute photoelectric encoder. Background Art

[0002] Optical encoders are precision optical instruments that convert mechanical geometric displacement into electrical signals through photoelectric conversion technology. According to the working principle and encoding method, photoelectric encoders can be divided into incremental and absolute types. Incremental encoders use output signals to obtain relative position information, while absolute encoders obtain absolute position information through digital encoding. The code disk of an absolute encoder can have both incremental and absolute code channels. The absolute code channel signal is amplified and compared with the reference level to output a square wave to provide absolute position information. The incremental code channel signal is amplified and outputs a sine wave, and the angle is subsequently subdivided through analog-to-digital conversion (ADC). Absolute photoelectric encoders can achieve high resolution while being miniaturized. However, this design has the following disadvantages: when conditions such as temperature and light intensity change, the photocurrent changes. When the reference level is constant, the signal duty cycle of the absolute code channel will change, which is prone to bit errors. Summary of the invention

[0003] In order to solve the above problems, the present invention provides a signal processing method for an absolute photoelectric encoder, which obtains the reference level of the absolute signal by processing the reference signal from the incremental code channel, and has the effects of low cost, wider application environment and lower bit error rate. The technical solution is as follows:

[0004] A method for processing an absolute photoelectric encoder signal, characterized in that it comprises the following steps:

[0005] 1) The light emitted by the light source shines on the incremental code channel and absolute code channel of the coding medium. The incremental code channel is composed of dark interlaced periodic lines, and the absolute code channel is composed of specific lines containing absolute position information. The code of each position is uniquely determined, and the light signals transmitted or reflected by the two code channels contain the position information;

[0006] 2) The light receiving device array corresponding to the incremental code channel includes an incremental light receiving device array and a reference light receiving device array. The incremental light receiving device array converts the optical signal into four sinusoidal incremental current signals with the same amplitude and a phase difference of 90°. The reference light receiving device array converts the optical signal into a reference photocurrent that is approximately direct current. The N light receiving devices in the reference light receiving device array are arranged in an even number of periods with the width of the optical signal corresponding to one incremental code channel scribed line as a period.

[0007] 3) The reference photocurrent is amplified by a certain ratio to obtain a reference level;

[0008] 4) The n light-receiving devices corresponding to the absolute code channel convert the optical signal into a set of current signals respectively. After the current signals are amplified, they are compared with the reference level to obtain a set of absolute codes. The absolute codes uniquely correspond to the position of the coding medium and are used for rough position classification.

[0009] 5) The four-channel sinusoidal incremental current signal is amplified by the circuit and converted into analog to digital form to obtain the specific position represented within the period of a pair of light and dark lines in the incremental code channel, that is, the relative position information based on the absolute code. Combined with the relationship between the width of the incremental code channel lines and the absolute code channel lines, the absolute code is further subdivided to determine the position information.

[0010] Furthermore, let the reference photocurrent be I D0 , four-way sinusoidal incremental current signal I D1 ,I D2 ,I D3 and I D4 , then I D0 =NI0+I A sin(2πft+α1)+I A sin(2πft+α2)+…+I A sin(2πft+α N )=NI0, where I0 is the common mode current of a single light receiving device, I A is the current amplitude, and f is the optical signal frequency.

[0011] Furthermore, the amplification factor of the reference photocurrent is:

[0012]

[0013] Among them, A M is the amplification factor of the current signal corresponding to the absolute code channel, P M is the incident light power received by a single light-receiving device corresponding to the absolute code channel, P D0 is the total incident light power received by the N light-receiving devices that generate the reference photocurrent.

[0014] Furthermore, the signal processing is implemented by using an absolute photoelectric encoder, which includes a coding medium, a detection element, a light source and a lens, wherein the coding medium contains an incremental code channel and an absolute code channel; the incremental code channel is composed of periodic lines that alternate between light and dark, and the absolute code channel is composed of specific lines that contain absolute position information; the detection element includes an incremental light receiving device array, a reference light receiving device array, an absolute light receiving device array, an incremental signal readout circuit, an absolute signal readout circuit and a reference level generating circuit.

[0015] Furthermore, the detection element and the light source are arranged on both sides of the code disk; the lens is arranged between the light source and the coding medium to convert the light emitted by the light source into parallel light; the incremental light receiving device array and the reference light receiving device array are both arranged on one side of the detection element to detect the light signal of the incremental code track from the code disk;

[0016] The absolute light receiving device array is arranged on one side of the detection element, and is used to detect the light signal of the absolute code track from the code disk;

[0017] The incremental signal readout circuit is used to process the photocurrent signal of the incremental signal light receiving device;

[0018] The absolute signal readout circuit is used to process the photocurrent signal generated by the absolute light receiving device array;

[0019] The reference level generating circuit is a DC amplifier circuit used for processing the photocurrent signal of the reference light receiving device.

[0020] Compared with the prior art, the technical solution of the embodiment of the present invention has the following beneficial effects:

[0021] The present invention proposes a method for generating a reference level that is adaptable to environmental changes. In the array of light-receiving devices corresponding to the incremental code channel, a part of the light-receiving devices is used as reference light-receiving devices, and their outputs are amplified by a certain proportion and used as reference levels in the absolute signal processing process, so that they can change synchronously with the absolute signal with conditions such as temperature and light intensity, thereby achieving more accurate absolute code output. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 is a cross-sectional view of an absolute photoelectric encoder according to a first embodiment of the present invention;

[0023] Figure 2 is a cross-sectional view of an absolute photoelectric encoder according to a second embodiment of the present invention;

[0024] Figure 3 is a partial schematic diagram of the coding medium of the present invention;

[0025] Figure 4 The corresponding relationship between the incremental code channel and the light receiving device and the arrangement mode of the light receiving device of the present invention;

[0026] Figure 5 It is a schematic diagram of the detection element scheme of the present invention;

[0027] Description of Reference Numerals

[0028] 100, 200 Absolute Photoelectric Encoder

[0029] 11, 21 Detection element

[0030] 111, 24 Light Source

[0031] 112, 211 incremental code channel corresponding to the light receiving device array

[0032] 113, 212 Absolute light receiving device array

[0033] 12.22 Encoded Media

[0034] 121, 221 incremental code channel

[0035] 122, 222 absolute code

[0036] 23 Lens

[0037] I D1 ,I D2 ,I D3 ,I D4 Incremental photocurrent

[0038] I D0 Reference photocurrent

[0039] V ref_TIA Transimpedance Amplifier Reference Levels

[0040] V ref Reference level DETAILED DESCRIPTION

[0041] In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.

[0042] The absolute photoelectric encoder of the embodiment of the present invention can work within a certain range of light intensity and temperature and has a low bit error rate.

[0043] Please refer to Figure 1 , which is a cross-sectional view of a photoelectric encoder according to a first embodiment of the present invention. The optical encoder 100 comprises a coding medium 12 and a detection element 11. The coding medium 12 is, for example, a code disk or a code strip, which rotates or moves linearly relative to the detection element, depending on different applications.

[0044] The coding medium 12 includes an incremental code channel 121 and an absolute code channel 122. The absolute code channel 122 is used to generate a specific reflection pattern that can determine the absolute position to determine the current position or angle of the coding medium 12. The incremental code channel 121 is used to generate a periodic reflection pattern of light and dark alternations to facilitate the subdivision of the position or angle and provide a reference level. In this embodiment, one light and dark cycle of the incremental code channel corresponds to twelve light-receiving devices in the detection element. In the present invention, there is no specific restriction on the number and shape of the slits or reflective strips included in the incremental code channel and the absolute code channel, and there is no specific restriction on the number of light-receiving devices in the detection element corresponding to one light and dark cycle of the incremental code channel.

[0045] Figure 1 In the embodiment, the detection element 11 refers to a package or chip located below the coding medium 12. The detection element includes a light source 111, a light receiving device array 112 corresponding to the incremental code channel, an absolute light receiving device array 113, an incremental signal readout circuit, an absolute signal readout circuit and a reference level generating circuit.

[0046] Please refer to Figure 2 As shown, it is a cross-sectional view of the photoelectric encoder of the second embodiment of the present invention. The optical encoder 200 includes a detection element 21, a coding medium 22, a lens 23 and a light source 24. The coding medium 22 is, for example, a coding disk or a coding belt, which rotates or moves linearly relative to the detection element, depending on different applications. The detection element includes a light receiving device array 211 corresponding to the incremental code channel, an absolute light receiving device array 212, an incremental signal readout circuit, an absolute signal readout circuit and a reference level generating circuit. The light emitted by the light source 24 is converted into parallel light after passing through the lens 23 and passes through the code channel slit of the coding medium 22 to reach the light receiving device array of the detection element 21, and is output after being processed by the incremental signal readout circuit, the absolute signal readout circuit and the reference level generating circuit. In this embodiment, one cycle of the incremental code channel corresponds to twelve light receiving devices in the detection element.

[0047] Figure 3 In the embodiment, a circular coding medium including one incremental code track and one absolute code track is used as an example to illustrate the structure of the incremental code track and the absolute code track in any of the above embodiments. In the present invention, there is no specific limitation on the shape of the coding medium and the number of code tracks included. Figure 3 As shown, the incremental code channel is composed of periodic lines that alternate between light and dark, and the absolute code channel is composed of specific lines that contain absolute position information.

[0048] Figure 4In the figure, a linear code disk and a rectangular light receiving device are used as examples to illustrate the arrangement of the light receiving device array corresponding to the incremental code channel in any of the aforementioned embodiments. In the present invention, there is no specific restriction on the shape of the light receiving device. In any of the aforementioned embodiments, each pair of light and dark lines of the incremental code channel corresponds to twelve light receiving devices after imaging. The light receiving device array corresponding to the incremental code channel has five outputs according to the connection method in the figure. The four incremental signal light receiving devices respectively output sinusoidal signals with a phase difference of 90°. The reference light receiving device D0 finally outputs a signal with less phase correlation and approximate direct current. In order to obtain a larger signal output, multiple interlaced light receiving devices are connected in parallel to provide one signal output. I0 represents the common-mode current of a single light receiving device, and I A represents the current amplitude, f represents the output signal frequency, then the five output signals of the incremental light receiving device corresponding to a pair of bright and dark engraved lines can be expressed as

[0049]

[0050]

[0051]

[0052]

[0053]

[0054] The total output of the reference light receiving device is an approximate direct current that is independent of the phase. In the present invention, there is no absolute limit on the number of light receiving devices in the detection element corresponding to one cycle of the incremental code channel, and there is no absolute limit on the position of the reference light receiving device in the incremental light receiving device array. The total output of the reference light receiving device is only limited to an approximate direct current.

[0055] There is a certain proportional relationship between the common mode current of the reference light receiving device in the light receiving device array corresponding to the incremental code channel and the common mode current of the absolute light receiving device, which is related to the area of ​​the light receiving device and the light distribution of the light source. This proportional relationship can be determined by theoretical analysis combined with test results. Therefore, the photocurrent of the reference light receiving device can be amplified by a certain ratio as the reference level of the absolute signal. The amplification factor of the reference photocurrent is:

[0056]

[0057] Among them, A M is the amplification factor of the current signal corresponding to the absolute code channel, P M is the incident light power received by a single light-receiving device corresponding to the absolute code channel, P D0 is the total incident light power received by the N light-receiving devices that generate the reference photocurrent.

[0058] like Figure 5As shown, the photocurrent of the reference light receiving device is used as the reference level of the absolute signal after DC amplification. The photocurrent of the absolute code first passes through a TIA to convert the current into a voltage and performs a first-stage amplification, and then enters the comparator to compare with the above reference level, converting the analog signal into a square wave signal corresponding to the absolute code element, and obtaining the position information determined by the absolute code. The photocurrent of the incremental code first passes through a transimpedance amplifier (TIA) to convert the current into a voltage and performs a first-stage amplification, and then passes through an operational amplifier (OPA) to convert the single-ended signal into a differential signal, and performs a second-stage amplification at the same time. The relative position information based on the absolute code is obtained through analog-to-digital conversion. Combined with the relationship between the incremental code track line width and the absolute code track line width, it can be further subdivided on the basis of the absolute code to obtain the final position information.

[0059] In summary, the reference level of the absolute signal of the traditional absolute photoelectric encoder is fixed. When the light intensity and temperature and other conditions change, the common mode level of the absolute signal changes accordingly. For a fixed reference level, the duty cycle of the square wave output by the comparator will change, which can easily lead to misjudgment. Therefore, the present invention provides a method for generating a reference level, which sets a reference light receiving device at a certain position corresponding to the incremental code channel so that the output photocurrent of the reference light receiving device is direct current, and after amplification by a certain proportion, it is used as the reference level of the absolute signal. Because the reference level and the absolute signal are derived from the same light receiving device, it changes synchronously with the light intensity and temperature and other conditions, that is, it adapts to the environment, thereby stabilizing the duty cycle of the square wave output by the absolute signal and reducing the bit error rate of the square wave output by the absolute signal.

[0060] Although the present invention has been disclosed through the above examples, it is not intended to limit the present invention. Any person skilled in the art with ordinary knowledge in the art to which the present invention belongs can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the scope defined by the appended claims.

Claims

1. A method for processing absolute photoelectric encoder signals, characterized in that: The following steps are involved: 1) The light emitted by the light source shines on the incremental code channel and absolute code channel of the coding medium. The incremental code channel is composed of dark interlaced periodic lines, and the absolute code channel is composed of specific lines containing absolute position information. The code of each position is uniquely determined, and the light signals transmitted or reflected by the two code channels contain the position information; 2) The light receiving device array corresponding to the incremental code channel includes an incremental light receiving device array and a reference light receiving device array. The incremental light receiving device array converts the optical signal into four sinusoidal incremental current signals with the same amplitude and a phase difference of 90°. The reference light receiving device array converts the optical signal into a reference photocurrent that is approximately direct current. The N light receiving devices in the reference light receiving device array are arranged in an even number of periods with the width of the optical signal corresponding to one incremental code channel scribed line as a period. 3) The reference photocurrent is amplified by a certain ratio to obtain a reference level; 4) The n light-receiving devices corresponding to the absolute code channel convert the optical signal into a set of current signals respectively. After the current signals are amplified, they are compared with the reference level to obtain a set of absolute codes. The absolute codes uniquely correspond to the position of the coding medium and are used for rough position classification. 5) The four-channel sinusoidal incremental current signal is amplified by the circuit and converted into analog to digital form to obtain the specific position represented within the period of a pair of light and dark lines in the incremental code channel, that is, the relative position information based on the absolute code. Combined with the relationship between the width of the incremental code channel lines and the absolute code channel lines, the absolute code is further subdivided to determine the position information.

2. The absolute photoelectric encoder signal processing method according to claim 1 is characterized in that: The reference photocurrent is I D0 , four-way sinusoidal incremental current signal I D1 ,I D2 ,I D3 and I D4 , then I D0 =NI0+I A sin(2πft+α1)+I A sin(2πft+α2)+…+I A sin(2πft+α N )=NI0, where I0 is the common mode current of a single light receiving device, I A is the current amplitude, and f is the optical signal frequency.

3. The absolute photoelectric encoder signal processing method according to claim 2, characterized in that: The amplification factor of the reference photocurrent is: Among them, A M is the amplification factor of the current signal corresponding to the absolute code channel, P M is the incident light power received by a single light-receiving device corresponding to the absolute code channel, P D0 is the total incident light power received by the N light-receiving devices that generate the reference photocurrent.

4. The absolute photoelectric encoder signal processing method according to any one of claims 1 to 3, characterized in that: The signal processing is realized by using an absolute photoelectric encoder, which includes a coding medium, a detection element, a light source and a lens. The coding medium contains an incremental code channel and an absolute code channel. The incremental code channel is composed of periodic lines that alternate between light and dark, and the absolute code channel is composed of specific lines that contain absolute position information. The detection element includes an incremental light receiving device array, a reference light receiving device array, an absolute light receiving device array, an incremental signal readout circuit, an absolute signal readout circuit and a reference level generating circuit.

5. The absolute photoelectric encoder signal processing method according to claim 4, characterized in that: The detection element and the light source are arranged on both sides of the code disk; the lens is arranged between the light source and the coding medium to convert the light emitted by the light source into parallel light; the incremental light receiving device array and the reference light receiving device array are both arranged on one side of the detection element to detect the light signal of the incremental code track from the code disk; The absolute light receiving device array is arranged on one side of the detection element, and is used to detect the light signal of the absolute code track from the code disk; The incremental signal readout circuit is used to process the photocurrent signal of the incremental signal light receiving device; The absolute signal readout circuit is used to process the photocurrent signal generated by the absolute light receiving device array; The reference level generating circuit is a DC amplifier circuit used for processing the photocurrent signal of the reference light receiving device.

Citation Information

Patent Citations

  • Absolute grating scale

    CN102095379A

  • Absolute displacement measuring device

    CN102645167A

  • Absolute encoder subdivision acquisition system and measurement method thereof

    CN105627921A

  • Absolute linear displacement sensor based on decimal shift coding

    CN109724519A

  • Pseudo-random code channel grating ruler and reading method therefor

    WO2019192196A1

Cited By

  • Absolute encoder

    CN118730180A

  • Single-code-channel absolute photoelectric coding and decoding system

    CN119687975A