High-precision incremental photoelectric encoder for adding multiple analog quantities
Through multi-head analog summation and subdivision processing, combined with coarse grating disk and spatial filtering, the problem that the incremental encoder output in the existing technology does not meet industrial standards is solved, and high-precision and high-stability incremental ABZ normalization is achieved. The output of alternating square wave signal meets the requirements of industrial standards.
Patent Information
- Application Number
- CN202311408666.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-27
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2043-10-27
AI Technical Summary
The existing technology is difficult to meet the incremental ABZ orthogonal square wave signal output required by most users of incremental encoders according to industrial technical standards, and it is difficult to guarantee real-time requirements.
It adopts a high-precision incremental photoelectric encoder with multi-head analog addition. Through the analog addition circuit and subdivision processing module, combined with the coarse grating disk and spatial filtering, it can achieve high precision and high-magnification subdivision, and eliminate the eccentricity and eccentricity of the grating disk. The influence of shaft system shaking relaxes the requirements for readhead alignment and outputs ABZ orthogonal square wave signals that comply with industry standards.
It achieves high precision, high stability and high reliability, meets industrial standard incremental ABZ orthogonal square wave signal output, improves angle measurement accuracy and real-time performance, expands alignment tolerance, and ensures that the encoder operates in the environment in which it is used. of normal operation.
Smart Images

Figure CN117346825B
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of photoelectric encoders, in particular to a high-precision incremental photoelectric encoder for adding multi-head analog quantities. Background Art
[0002] Photoelectric encoders are photoelectric sensors that measure angular displacement. According to the different ways in which the angle code is formed, they are divided into incremental and absolute types. The output industrial standard for incremental signals is TTL (or HTL) square wave signals. Usually represented by A, B, and Z, A and B represent the incremental displacement signals of angular displacement, with a difference of T / 4, called orthogonal signals (T is the grating pitch); Z is the zero reference signal, and the grating disk generates one rotation.
[0003] ˉˉˉ
[0004] Square wave. If an inverted signal is required, A, B, and Z should be added to convert the three-phase signal into a six-phase signal output. The incremental encoder obtains the position value by calculating (accumulating) the number of incremental square wave signals from the reference point. When the angle measurement accuracy is required to be high, two (or more) reading heads need to be installed, and each reading head outputs four sinusoidal signals with a phase difference of 90°. When two reading heads are used, the two heads are installed opposite to the grating disk, and the influence of the eccentricity of the grating disk and the shaking of the shaft system on the angle measurement accuracy is eliminated by adding the output signals of the two reading heads. The addition processing is divided into analog addition and digital addition. In the high-precision and high-resolution encoders with analog addition, in order to obtain high-quality photoelectric signals (good sinusoidality), the grating disk is usually engraved with a fine grating (such as 50 pairs of lines / mm) to avoid the photoelectric signal obtained by the coarse grating to appear approximately triangular. This waveform contains more high-order harmonic components and cannot achieve high interpolation coefficient subdivision. The addition of analog quantities requires that the phase difference between the in-phase signals of the two reading heads is less than T / 4 of the grating period, otherwise the code will be wrong and the encoder will not work properly, which is strict for the installation of the fine grating system.
[0005] As can be seen from the publication number CN1641316A, a full digital quantity addition processing circuit of an incremental photoelectric shaft angle encoder is disclosed, which is the prior art closest to the present invention. This patent proposes a full digital quantity addition method, which relaxes the restrictions on the installation and alignment of the two reading heads, ensures the accuracy and reliability of the encoder, and is also convenient for debugging. However, the two reading heads need to sample the four-way orthogonal analog signals respectively, A / D conversion, subdivision and addition processing by the single-chip microcomputer, all in the form of digital quantity code, and the final angle value is also output in the form of code, which cannot meet the incremental ABZ orthogonal square wave signal output required by most users of incremental encoders according to industrial technical standards. Because calculation and processing are required, it is difficult to ensure real-time requirements.
[0006] Aiming at the above problems, the existing device was improved and a high-precision incremental photoelectric encoder with multi-head analog quantity addition was proposed. Summary of the invention
[0007] The purpose of the present invention is to provide a high-precision incremental photoelectric encoder for adding multiple analog quantities, which solves the problem that the incremental ABZ orthogonal square wave signal output required by most users of incremental encoders according to industrial technical standards cannot be met in the background technology, and it is difficult to ensure real-time requirements.
[0008] To achieve the above-mentioned purpose, the present invention provides the following technical solutions: a high-precision incremental photoelectric encoder for multi-head analog quantity addition, comprising a main shaft and a bearing installed on the periphery of the main shaft, and also comprising an analog quantity addition circuit for circuit addition operation and a subdivision processing module for processing circuit signals, a main body is installed on the outside of the bearing, and two reading heads are arranged on the upper end of the main body, and the two reading heads have the same structure and are positioned relative to each other, one of the reading heads comprises a head pad arranged on the upper end of the main body and a head indicating grating installed on the upper end of the head pad, a head photosensitive element array PDA is arranged on one side of the head indicating grating, and the head indicating grating The head photosensitive element array PDA is combined in one component, and the other reading head includes a head pad arranged at the upper end of the main body and a head indication grating installed at the upper end of the head pad. A head photosensitive element array PDA is arranged on one side of the head indication grating. The head indication grating and the head photosensitive element array PDA are combined in one component, and a grating disk is arranged on the periphery of the main shaft, and the grating disk is located at the upper end of the main body. A first LED and a second LED are arranged at the upper end of the grating disk, and the first LED and the second LED are positioned relative to each other. Through spatial filtering and waveform conditioning, high-precision and high-magnification subdivision can be achieved by using a coarse grating.
[0009] Furthermore, the grating disk is rotationally connected to the main shaft through a colloid.
[0010] Furthermore, the first LED emits parallel light through a built-in collimator to vertically illuminate the grating disk and the first LED. The formed Moire fringe light signal is finally incident on the first photosensitive element array PDA, and after conversion, four photoelectric signals are output, namely sinθ1(S1), -sinθ1(-S1), cosθ1(C1), and cosθ1(-C1).
[0011] Furthermore, the second photosensor array PDA outputs four signals: sinθ2(S2), -sinθ2(-S2), cosθ2(C2) and cosθ2(-C2).
[0012] Furthermore, the four signals output by the first photosensor array PDA and the second photosensor array PDA respectively enter the analog adding circuit for addition operation, and the four signals output after addition are sinθ(S), -sinθ(-S), cosθ(C) and cosθ(-C), and are sent to the subdivision processing module 14.
[0013] Furthermore, the subdivision processing module includes a conditioning element for conditioning the waveform, a subdivision element for subdividing the signal, and an E 2 PROM elements and driver elements for driving the circuit outputs.
[0014] Furthermore, the conditioning element normalizes the four-phase signals As in, -As in, Acos and -Acos.
[0015] Furthermore, the four signals sinθ(S), -sinθ(-S), cosθ(C) and cosθ(-C) are output as four orthogonal square wave incremental signals of A, -A, B and -B through a conditioning element, a subdivision element and a driving element.
[0016] Furthermore, the zero reference signals Z2 (square wave) and -Z2 (square wave) output by the second indicator grating and the second photosensor array PDA bypass the analog adding circuit and are directly added to the subdivision processing module, and new zero reference signals Z and -Z are formed through the subdivision processing module.
[0017] Furthermore, the subdivision parameters of the subdivision processing module are up to 16 bits (2 16 ) segmentation.
[0018] Compared with the prior art, the present invention has the following beneficial effects:
[0019] 1. The high-precision incremental photoelectric encoder with multi-head analog quantity addition proposed in the present invention eliminates the angle measurement error caused by the eccentricity of the grating disk and the shaking of the shaft system; at the same time, it greatly relaxes the stringent requirement for the phase alignment of the output in-phase signals between the reading heads, ensures that there is no error in the use environment and outputs ABZ orthogonal square wave signals (three-way or six-way) that meet the industrial standards, meets the needs of most users, and greatly improves the angle measurement accuracy, working reliability and real-time performance.
[0020] 2. The high-precision incremental photoelectric encoder for multi-head analog addition proposed in the present invention eliminates the influence of grating disk eccentricity and shaft system shaking on angular measurement accuracy; due to the use of a coarse grating system, the tolerance for alignment of in-phase signals during multi-head addition is expanded by an order of magnitude, and the grating is changed from 50 pairs of lines / mm and T / 4=0.005mm to 5 pairs of lines / mm and T / 4=0.05mm, so that the operation is completely within a safe range and will not exceed the coarse grating ±T / 4; through spatial filtering and waveform conditioning, high-precision and high-magnification subdivision can be achieved by using a coarse grating; the purpose of real-time output of incremental ABZ orthogonal square wave signals that meet industrial standards is achieved, and the high precision, high stability, high reliability and easy installation and adjustment of the encoder have been verified in products. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 It is a schematic diagram of the overall structure of the present invention;
[0022] Figure 2 It is a schematic diagram of the structural module of the present invention;
[0023] Figure 3 It is the principle diagram of the analog quantity adding circuit of the present invention;
[0024] Figure 4 It is a waveform generation schematic diagram of the present invention.
[0025] In the figure: 1, main shaft; 2, bearing; 3, main body; 4, first cushion block; 5, first indicator grating; 6, first photosensor array PDA; 7, grating disk; 8, first LED; 9, second cushion block; 10, second indicator grating; 11, second photosensor array PDA; 12, second LED; 13, analog quantity adding circuit; 14, subdivision processing module; 141, conditioning element; 142, subdivision element; 143, E2PROM element; 144, driving element. DETAILED DESCRIPTION
[0026] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0027] See also Figure 1-Figure 4 In order to solve the technical problem that the incremental ABZ orthogonal square wave signal output cannot meet the requirements of most users of incremental encoders according to industrial technical standards, and it is difficult to ensure the real-time requirements, the following preferred technical solutions are provided:
[0028] A high-precision incremental photoelectric encoder for multi-head analog quantity addition includes a spindle 1 and a bearing 2 installed on the periphery of the spindle 1, and also includes an analog quantity addition circuit 13 for circuit addition operation and a subdivision processing module 14 for processing circuit signals. A main body 3 is installed on the outer side of the bearing 2, and two reading heads are arranged on the upper end of the main body 3. The two reading heads have the same structure and are located opposite to each other. One of the reading heads includes a first cushion block 4 arranged on the upper end of the main body 3 and a first indicating grating 5 installed on the upper end of the first cushion block 4. A first photosensitive element array PDA6 is arranged on one side of the first indicating grating 5. The first indicating grating 5 and the first photosensitive element array PDA6 are combined in one component. A reading head includes a second pad 9 arranged at the upper end of a main body 3 and a second indicating grating 10 installed at the upper end of the second pad 9. A second photosensitive element array PDA11 is arranged on one side of the second indicating grating 10. The second indicating grating 10 and the second photosensitive element array PDA11 are combined in one component. A grating disk 7 is arranged on the periphery of the main shaft 1. The grating disk 7 is located at the upper end of the main body 3. A first LED 8 and a second LED 12 are arranged on the upper end of the grating disk 7. The first LED 8 and the second LED 12 are positioned relative to each other. Through spatial filtering and waveform conditioning, high-precision and high-magnification subdivision can be achieved by using a coarse grating. The grating disk 7 is rotatably connected to the main shaft 1 through a colloid.
[0029] The first LED8 emits parallel light through a built-in collimator to vertically illuminate the grating disk 7 and the first LED8. The formed moiré fringe light signal is finally incident on the first photosensitive element array PDA6, and after conversion, four photoelectric signals are output, namely sinθ1(S1), -sinθ1(-S1), cosθ1(C1), and cosθ1(-C1). The second photosensitive element array PDA11 outputs four signals, namely sinθ2(S2), -sinθ2(-S2), cosθ2(C2), and cosθ2(-C2).
[0030] The four signals output by the first photosensitive element array PDA6 and the second photosensitive element array PDA11 are respectively input into the analog adding circuit 13 for addition operation. The four signals output after addition are sinθ(S), -sinθ(-S), cosθ(C) and cosθ(-C), and are sent to the subdivision processing module 14 to eliminate the angle measurement error caused by the eccentricity of the grating disk and the shaking of the axis system. At the same time, the stringent requirements on the phase alignment of the output in-phase signals between the reading heads are greatly relaxed, ensuring that there is no error in the use environment and the output of ABZ orthogonal square wave signals (three or six channels) that meet the industrial standards, meeting the needs of most users and greatly improving the angle measurement accuracy, working reliability and real-time performance.
[0031] In this embodiment, the grating disk 7 is fixed to the main shaft 1 by glue and rotates with it. The first and second reading heads installed on the same diameter are completely identical. Take one of the reading heads as an example:
[0032] Specifically, the first LED 8 emits parallel light through a built-in collimator to vertically illuminate the grating disk 7 and the indicator grating 5. The formed moiré fringe light signal is finally incident on the first photosensitive element array PDA 6, and is converted to output four photoelectric signals sinθ1(S1), -sinθ1(-S1), cosθ1(C1) and cosθ1(-C1).
[0033] Similarly, the second photosensitive element array synchronously outputs four signals of sinθ2(S2), -sinθ2(-S2), cosθ2(C2) and cosθ2(-C2). The four signals output by the first and second sensors respectively enter the analog adding circuit 13 for addition operation to eliminate the influence of grating disk eccentricity and shaft system shaking on the accuracy. The adding circuit is as follows: Figure 3 shown.
[0034] The subdivision processing module 14 includes a conditioning element 141 for conditioning the waveform, a subdivision element 142 for subdividing the signal, and an E 2 The PROM element 143 and the driving element 144 for driving the circuit output, the conditioning element 141 normalizes the four-phase signals As in, -As in, Acos and -Acos, and the waveform is first conditioned by conditioning (software and hardware) before subdivision, that is, the DC offset, amplitude inequality and orthogonality error are eliminated, and the four-phase signals As in, -Asi n, Acos, -Acos are normalized to be in an ideal state, and then high-precision, high-multiplier subdivision is performed. The compensation parameters in the conditioning process are stored in the E2PROM, and are read from it for compensation calculation during correction. The driving circuit amplifies the incremental signals A, B, Z (`A, `B, `Z) and outputs them.
[0035] The four signals sinθ(S), −sinθ(−S), cosθ(C) and cosθ(−C) pass through the conditioning element 141 , the subdivision element 142 and the driving element 144 to output four orthogonal square wave incremental signals A, −A, B and −B.
[0036] The zero reference signals Z2 (square wave) and -Z2 (square wave) output by the second indicator grating 10 and the second photosensitive element array PDA11 are directly added to the subdivision processing module 14 over the analog quantity adding circuit 13, and new zero reference signals Z and -Z are formed by the subdivision processing module 14. The subdivision parameters of the subdivision processing module 14 are up to 16 bits (2 16) subdivision eliminates the influence of grating disk eccentricity and shaft shaking on angular measurement accuracy; due to the use of coarse grating system, the tolerance of in-phase signal alignment during multi-head addition is expanded by an order of magnitude, and the grating is changed from 50 pairs of lines / mm and T / 4=0.005mm to 5 pairs of lines / mm and T / 4=0.05mm, so that the operation is completely within the safe range and will not exceed the coarse grating ±T / 4; through spatial filtering and waveform conditioning, high-precision and high-magnification subdivision can be achieved by using coarse grating; the purpose of real-time output of incremental ABZ orthogonal square wave signals that meet industrial standards is achieved. The high precision, high stability, high reliability and easy installation and adjustment of the encoder have been verified in the product.
[0037] Specifically, in the present invention, the grating disk 7 and the first indicator grating 5 and the second indicator grating 10 adopt a coarse grating system (5 pairs of lines / mm). In order to overcome the non-sinusoidality (approximately triangular wave) of the photoelectric signal of the coarse grating system, the first indicator grating 5 and the second indicator grating 10 are designed according to the spatial filtering pattern, and the optical signal output from the grating is tuned to a specific spatial frequency, thereby eliminating the high-order harmonic components in the photoelectric displacement signal and increasing the purity of the sine wave. In high-power electronic subdivision, in addition to the sinusoidality of the waveform, there are also DC offset, unequal amplitude and orthogonality errors, etc. that affect the subdivision accuracy. In the present invention, after the in-phase analog signals are added, they are sent to the subdivision processing module 14. Before subdivision, the waveform is first conditioned, that is, the DC offset, unequal amplitude and orthogonality errors are eliminated, and the four-phase signals As in, -As in, Acos, -Acos are normalized to make them in an ideal state, and then high-precision and high-power subdivision is performed.
[0038] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A high-precision incremental photoelectric encoder for adding multiple analog quantities, comprising a main shaft (1) and a bearing (2) mounted on the periphery of the main shaft (1), characterized in that: The invention also includes an analog quantity adding circuit (13) for circuit addition operation and a subdivision processing module (14) for processing circuit signals. A main body (3) is installed on the outer side of the bearing (2). Two reading heads are arranged on the upper end of the main body (3). The two reading heads have the same structure and are located opposite to each other. One of the reading heads includes a first cushion block (4) arranged on the upper end of the main body (3) and a first indicating grating (5) installed on the upper end of the first cushion block (4). A first photosensitive element array PDA (6) is arranged on one side of the first indicating grating (5). The first indicating grating (5) and the first photosensitive element array PDA (6) are combined in one component. The other reading head includes a first photosensitive element array PDA (6) arranged on the main body (3). A second cushion block (9) at the upper end and a second indicator grating (10) mounted on the upper end of the second cushion block (9); a second photosensitive element array PDA (11) is arranged on one side of the second indicator grating (10); the second indicator grating (10) and the second photosensitive element array PDA (11) are combined in one component; a grating disk (7) is arranged on the periphery of the main shaft (1); the grating disk (7) is located at the upper end of the main body (3); a first LED (8) and a second LED (12) are arranged on the upper end of the grating disk (7); the first LED (8) and the second LED (12) are positioned oppositely; and a coarse grating is used to achieve high-precision and high-magnification subdivision through spatial filtering and waveform conditioning; The grating disk (7) is rotationally connected to the main shaft (1) via a colloid; The first LED (8) emits parallel light through a built-in collimator to vertically illuminate the grating disk (7) and the indicator grating (5), and the resulting moiré fringe light signal is finally incident on the first photosensitive element array PDA (6), and is converted to output four photoelectric signals, which are sinθ1 (S1), -sinθ1 (-S1), cosθ1 (C1), and cosθ1 (-C1); The second photosensor array PDA (11) outputs four signals of sinθ2 (S2), -sinθ2 (-S2), cosθ2 (C2) and cosθ2 (-C2); The four signals outputted by the first photosensitive element array PDA (6) and the second photosensitive element array PDA (11) are respectively inputted into the analog quantity adding circuit (13) for addition operation. The four signals outputted after addition are sinθ(S), -sinθ(-S), cosθ(C) and cosθ(-C) respectively and sent to the subdivision processing module (14); The subdivision processing module (14) includes a conditioning element (141) for conditioning the waveform, a subdivision element (142) for subdividing the signal, and an E 2 A PROM element (143) and a driver element (144) for driving the circuit output; The four signals sinθ(S), -sinθ(-S), cosθ(C) and cosθ(-C) are output as four orthogonal square wave incremental signals A, -A, B and -B through a conditioning element (141), a subdivision element (142) and a driving element (144); The zero-position reference square wave signals Z2 and -Z2 output by the second indicating grating (10) and the second photosensor array PDA (11) are directly added to the subdivision processing module (14) bypassing the analog quantity adding circuit (13), and new zero-position reference signals Z and -Z are formed through the subdivision processing module (14).
2. The high-precision incremental photoelectric encoder for adding multiple analog quantities as claimed in claim 1, characterized in that: The conditioning element (141) performs normalization processing on the four-phase signals Asin, -Asin, Acos and -Acos.
3. The high-precision incremental photoelectric encoder for adding multiple analog quantities as claimed in claim 2, characterized in that: The subdivision parameters of the subdivision processing module (14) are up to 16 bits 2 16 of segmentation.
