CN110954145A - Detection device and method for incremental code channel - Google Patents

Detection device and method for incremental code channel Download PDF

Info

Publication number
CN110954145A
CN110954145A CN201911261360.6A CN201911261360A CN110954145A CN 110954145 A CN110954145 A CN 110954145A CN 201911261360 A CN201911261360 A CN 201911261360A CN 110954145 A CN110954145 A CN 110954145A
Authority
CN
China
Prior art keywords
incremental
code
increment
incremental code
ruler
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911261360.6A
Other languages
Chinese (zh)
Other versions
CN110954145B (en
Inventor
高明煜
沈娟花
吕晓冬
蒋耀峰
林辉品
孔庆鹏
吴占雄
罗强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Huiling Control Engineering Co ltd
Hangzhou Dianzi University
Original Assignee
Hangzhou Huiling Control Engineering Co ltd
Hangzhou Dianzi University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Huiling Control Engineering Co ltd, Hangzhou Dianzi University filed Critical Hangzhou Huiling Control Engineering Co ltd
Priority to CN201911261360.6A priority Critical patent/CN110954145B/en
Publication of CN110954145A publication Critical patent/CN110954145A/en
Application granted granted Critical
Publication of CN110954145B publication Critical patent/CN110954145B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D5/00Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
    • G01D5/26Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable characterised by optical transfer means, i.e. using infrared, visible, or ultraviolet light
    • G01D5/32Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable characterised by optical transfer means, i.e. using infrared, visible, or ultraviolet light with attenuation or whole or partial obturation of beams of light
    • G01D5/34Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable characterised by optical transfer means, i.e. using infrared, visible, or ultraviolet light with attenuation or whole or partial obturation of beams of light the beams of light being detected by photocells
    • G01D5/36Forming the light into pulses

Abstract

The invention discloses a device and a method for detecting an incremental code channel, wherein the device comprises a steel tape ruler and a probe head group; the detecting head group detects the incremental code channel to obtain effective incremental codes, and then changes the incremental distance value by combining the former detected effective incremental codes and the incremental code ring; the steel tape ruler is provided with an incremental code channel, the incremental code channel is composed of a plurality of equally-spaced round small holes with the radius of R, the spacing distance is L, and L is an integral multiple of R and is more than or equal to 8R; the probe group consists of N probes at equal intervals, wherein N is L/R-4, and the interval distance is L + R; the probe is divided into a transmitting tube and a receiving tube, the transmitting tube generates a light spot, and the radius of the light spot is R; under the condition of keeping the distance between the adjacent small holes unchanged, the invention can improve the measurement resolution to the light spot radius of the detecting head by increasing a small number of detecting heads, and compared with the traditional incremental code channel detection method, the measurement resolution is improved.

Description

Detection device and method for incremental code channel
Technical Field
The invention relates to the technical field of position measurement, in particular to a device and a method for detecting an incremental code channel.
Background
Incremental position detection techniques are widely used in various fields. Encoders using incremental position detection techniques are known as incremental rotary encoders and linear absolute encoders. In the incremental rotary encoder, the rotation angle value is obtained by accumulating the number of the small holes on the incremental code track. In a linear absolute encoder, the incremental code track has two purposes: 1. and obtaining a high-resolution distance value, 2, and improving the measuring range of the encoder. For example, in the case of a single-track absolute encoder, the resolution and the measurement distance are contradictory, that is, if the resolution is increased, the measurement distance is shortened, and if the measurement distance is increased, the resolution is decreased, and in this case, the contradiction can be solved by adding an incremental track to form a double track.
The traditional incremental code channel detection method is to scan the incremental code channel by a single probe head, and change the incremental distance value when a small hole is met. The resolution of the detection mode is the distance between adjacent small holes on the incremental code track, and the highest resolution is only the diameter of the light spot of the detection head, so the resolution of the detection mode is lower.
Disclosure of Invention
The invention provides a device and a method for detecting an incremental code channel, aiming at overcoming the defects of low resolution and the like in the prior art.
A detection device for incremental code channels comprises a steel tape ruler and a detection head group; the detecting head group detects the incremental code channel to obtain effective incremental codes, and then changes the incremental distance value by combining the former detected effective incremental codes and the incremental code ring;
the steel tape ruler is provided with an incremental code channel, the incremental code channel is composed of a plurality of round small holes with equal intervals and R radius, the interval distance is L, and L is an integral multiple of R and is more than or equal to 8R.
The probe group consists of N probes at equal intervals, wherein N is L/R-4, and the interval distance is L + R.
The probe is divided into a transmitting tube and a receiving tube, the transmitting tube generates light spots, the radius of each light spot is R, when the receiving tube is illuminated, a high level is output and is regarded as binary 1, and when the receiving tube is not illuminated, a low level is output and is regarded as binary 0.
Preferably, the incremental code is a binary code with the length of N, and the output of the detection head closest to the top end of the steel tape ruler in the detection head group is used as the highest bit of the binary code.
A detection method of a detection device of an incremental code channel specifically comprises the following steps:
detecting an incremental code channel by a probe head group to obtain an incremental code;
step two, judging whether the incremental code is effective or not according to the incremental code table, if the incremental code is invalid, repeating the step one, and if the incremental code is effective, performing the step three;
changing an increment distance value according to the current increment code and by combining the last detected effective increment code and the increment code ring;
the incremental coding ring is divided into N circular arcs, and then incremental codes in the incremental coding table are sequentially placed into the circular arcs in the ring one by one in the clockwise direction;
the delta encoding table is obtained as follows:
step 1, aligning any probe in the probe group to any round small hole on the incremental code channel to ensure that the light spot just passes through the round hole.
And 2, moving the probe head group to any end of the steel band ruler by R/2.
Moving the probe head group towards any end of the steel band ruler for M times, wherein M is L/R, the moving distance is R each time, and sequentially recording incremental codes before moving each time to obtain an incremental code table;
the method for changing the increment distance value comprises the following steps: if the ruler moves towards the bottom end of the ruler, the incremental distance value is increased; moving towards the top end of the ruler, and reducing the incremental distance value; and the incremental coding table is obtained under the condition of moving towards the bottom end of the ruler;
in the above case, if the currently detected valid increment code is an increment code in the increment code ring in the clockwise direction of the previous detected valid increment code, the increment distance value is added with R; if the currently detected valid incremental code is encoded in the incremental code ring for the incremental code in the counter-clockwise direction of the previously detected valid incremental code, the incremental distance value is decreased by R.
The mode for detecting whether the incremental code is effective is as follows: and if the detected increment code is in the increment code table, the increment code is considered to be effective.
The reason why the incremental code table needs to be moved by R/2 distance in the manufacturing step is as follows:
the distance between adjacent small holes is L, and the radius of the small holes is R. Any one of the detecting heads is aligned with any one of the small holes, and the incremental distance value is increased when the detecting head slides to the bottom end of the steel tape ruler, otherwise, the incremental distance value is decreased. At this time, the circle center of the aligned small hole is regarded as a scale X, and then the scale at the circle center of the adjacent small hole towards the bottom end direction of the steel tape ruler is X + L, and the following scales are provided between the two scales: x + R, X +2R, … …, X + L-2R, X + L-R. And the center of the light spot aligned with the probe head is regarded as the position of the probe head group.
When any adjacent small hole moves, the obtained incremental code has the following rule:
1. the number of detected different incremental codes is necessarily greater than or equal to L/R;
2. the number of scales between the centers of two adjacent small holes (including the centers of the two small holes) is L/R +1, namely, the distance between the two adjacent small holes is divided into L/R sections at equal intervals, each section is represented as (X, X + R), (X + R, X +2R), … …, (X + L-2R, X + L-R), (X + L-R, X + L), note that the symbol () at the position indicates that the scale is not included, and the symbol [ indicates that the scale is included, the detected incremental codes are the same when the section moves, and the incremental codes corresponding to the distances of each section are different.
For example: the incremental codes detected when the probe head group is located in the (X, X + R) section are all A, the incremental codes detected when the probe head group is located in the (X + R, X +2R) section are all B, the incremental codes detected when the probe head group is located in the (X + L-2R, X + L-R) section are all C, the incremental codes detected when the probe head group is located in the (X + L-R, X + L) section are all D, and the incremental codes A, B, C, D are different from each other.
3. For the scale, the incremental code of the position may be equal to the incremental code corresponding to the left segment, may be equal to the incremental code corresponding to the right segment, or may correspond to a unique incremental code alone.
From rule 3, since the incremental code at the scale is uncertain. If the increment codes corresponding to the scales are used to make the increment code table, some increment codes may correspond to a distance of 2R instead of R. Therefore, the corresponding increment codes in the segments are used to make the increment code table. R/2 is shifted so that the detected delta code is the corresponding delta code within the segment.
The invention has the advantages that the invention adopts a mode of jointly detecting the incremental code channels by a plurality of detecting heads to obtain higher resolution, the resolution is the radius of light spots of the detecting heads, and the number of the required detecting heads is L/R-4. By using the detection method of the invention, under the condition of keeping the distance between the adjacent small holes unchanged, the measurement resolution can be improved to the light spot radius of the detecting head by adding a small number of detecting heads, and compared with the traditional incremental code channel detection method, the measurement resolution is improved.
Drawings
The invention is further illustrated with reference to the following figures and examples.
FIG. 1 is a schematic flow diagram;
FIG. 2 is a schematic view of a portion of a steel tape rule and probe set with R of 1 mm and L of 8 mm;
FIGS. 3 to 10 are schematic diagrams illustrating the steps of making an incremental code table in the case where R is 1 mm and L is 8 mm;
FIGS. 11 to 18 are diagrams illustrating steps of creating an incremental code table for explaining the reason of R/2 shift in the case where R is 1 mm and L is 8 mm;
FIG. 19 is a schematic view of an incremental encoder ring with R at 1 mm and L at 8 mm;
FIGS. 20 to 24 are schematic views for describing the detection steps in the case where R is 1 mm, L is 8 mm;
in the figure, 1, a steel tape ruler, 2, a circular small hole with the radius of 1 mm, 3, a transmitting tube of a detecting head, 4, a receiving tube of the detecting head, T1-T4 are the detecting heads, a-h are 1 mm scale marks for auxiliary description, and the direction indicated by an arrow is the top end of the steel tape ruler.
Detailed Description
In this embodiment, the spot radius R of the probe is 1 mm, and the distance L between the circular holes is 8 mm.
As shown in fig. 2, an incremental code channel is arranged on the steel tape ruler, and the incremental code channel is composed of a plurality of round small holes with equal intervals and a radius of 1 mm, and the interval distance is 8 mm.
As shown in fig. 2, the probe head set consists of 4 probe heads equally spaced by 9 mm. The probe is divided into a transmitting tube and a receiving tube, the transmitting tube generates a light spot, the radius of the light spot is 1 mm, when the receiving tube is illuminated, the high level is output and is regarded as binary 1, and when the receiving tube is not illuminated, the low level is output and is regarded as binary 0. The delta code is a binary code of length 4 and the output of probe head T1 in the probe head set is taken as the most significant bit of the binary code.
The incremental code table is obtained by (assuming that moving towards the bottom of the ruler increases the incremental distance value and moving towards the top of the ruler decreases the incremental distance value):
1. the probes T1 in the probe cluster are aligned with any circular aperture in the track to ensure that the spot of light passes right through the circular aperture, as shown in FIG. 2.
2. The probe head set was moved 0.5 mm towards the bottom end of the steel tape rule as shown in fig. 3.
3. As shown in fig. 3 to 10, the probe head set is moved 8 times towards the bottom end of the steel tape ruler, each time the movement distance is 1 mm, and the incremental codes are recorded in sequence before each movement, so that the incremental code table is obtained as follows:
serial number Incremental coding (binary form)
1 1100
2 1000
3 0000
4 0001
5 0011
6 0111
7 1111
8 1110
The following explains why the incremental code table making step needs to be shifted by 0.5 mm by a reverse example:
the process of making the incremental code table is the same as the above, the only difference is that the operation of moving 0.5 mm is not performed, and the obtained incremental code table is as follows, and the specific operation is shown in fig. 11 to 18:
Figure BDA0002311679770000041
Figure BDA0002311679770000051
as shown in the table above, the delta codes for serial numbers 3 and 4 are both 0000, meaning that the delta code 0000 will represent a distance of 2 millimeters, which results in a reduced resolution.
The incremental encoder ring is obtained by: the incremental coding ring is divided into 8 circular arcs, and then the incremental codes in the incremental coding table are sequentially placed into the circular arcs in the ring one by one in the clockwise direction, as shown in fig. 19.
The detection step is as shown in fig. 1, and will be described by taking a process that the probing head set moves 3 mm to the bottom end of the ruler as an example, and the position of the center of the light spot of the probing head T1 is taken as the position of the probing head set;
1. as shown in fig. 20, the initial position of the probe head set is a, the effective increment code is 1100, and the increment distance value at this time is Z;
2. as shown in fig. 21, in the following distance from a to b, the incremental code is detected to be 1100, and the detection is continued without modifying the incremental distance value;
3. as shown in fig. 22, within the following distance from b to c, the detected increment codes are all 1000, and because in the increment code table, the increment codes are valid increment codes, and in combination with the previously detected valid increment code 1100 and the increment code ring, it is determined that the increment distance value should be increased by 1 mm to be Z +1 mm;
4. as shown in fig. 23, within the next distance from c to d, the detected increment codes are 0000, and are valid increment codes in the increment code table, and in combination with the previously detected valid increment code 1000 and the increment code ring, it is determined that the increment distance value should be increased by 1 mm to be Z +2 mm;
5. as shown in fig. 24, within the next distance d to e, the detected increment codes are all 0001, and are valid increment codes in the increment code table, and in combination with the previously detected valid increment code 0000 and the increment code ring, it is determined that the increment distance value should be increased by 1 mm to be Z +3 mm.

Claims (4)

1. The utility model provides a detection device of increment code track which characterized in that: comprises a steel band ruler and a probe group; the detecting head group detects the incremental code channel to obtain effective incremental codes, and then changes the incremental distance value by combining the former detected effective incremental codes and the incremental code ring;
the steel tape ruler is provided with an incremental code channel, the incremental code channel is composed of a plurality of equally-spaced round small holes with the radius of R, the spacing distance is L, and L is an integral multiple of R and is more than or equal to 8R;
the probe group consists of N probes at equal intervals, wherein N is L/R-4, and the interval distance is L + R;
the probe is divided into a transmitting tube and a receiving tube, the transmitting tube generates light spots, the radius of each light spot is R, when the receiving tube is illuminated, a high level is output and is regarded as binary 1, and when the receiving tube is not illuminated, a low level is output and is regarded as binary 0.
2. The apparatus for detecting incremental code channels as claimed in claim 1, wherein: the incremental code is a binary code with the length of N, and the output of a detection head closest to the top end of the steel tape ruler in the detection head group is used as the highest bit of the binary code.
3. The method as claimed in claim 1, wherein the method comprises the following steps:
detecting an incremental code channel by a probe head group to obtain an incremental code;
step two, judging whether the incremental code is effective or not according to the incremental code table, if the incremental code is invalid, repeating the step one, and if the incremental code is effective, performing the step three;
changing an increment distance value according to the current increment code and by combining the last detected effective increment code and the increment code ring;
the incremental coding ring is divided into N circular arcs, and then incremental codes in the incremental coding table are sequentially placed into the circular arcs in the ring one by one in the clockwise direction;
the delta encoding table is obtained as follows:
step 1, aligning any probe in the probe group to any round small hole on the incremental code channel to ensure that the light spot just passes through the round hole;
step 2, moving the probe head group to any end of the steel band ruler by R/2;
moving the probe head group towards any end of the steel band ruler for M times, wherein M is L/R, the moving distance is R each time, and sequentially recording incremental codes before moving each time to obtain an incremental code table;
the method for changing the increment distance value comprises the following steps: if the ruler moves towards the bottom end of the ruler, the incremental distance value is increased; moving towards the top end of the ruler, and reducing the incremental distance value; and the incremental coding table is obtained under the condition of moving towards the bottom end of the ruler;
in the above case, if the currently detected valid increment code is an increment code in the increment code ring in the clockwise direction of the previous detected valid increment code, the increment distance value is added with R; if the currently detected valid incremental code is encoded in the incremental code ring for the incremental code in the counter-clockwise direction of the previously detected valid incremental code, the incremental distance value is decreased by R.
4. The method as claimed in claim 1, wherein the detecting whether the incremental code is valid is performed by: and if the detected increment code is in the increment code table, the increment code is considered to be effective.
CN201911261360.6A 2019-12-10 2019-12-10 Detection device and method for incremental code channel Active CN110954145B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911261360.6A CN110954145B (en) 2019-12-10 2019-12-10 Detection device and method for incremental code channel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911261360.6A CN110954145B (en) 2019-12-10 2019-12-10 Detection device and method for incremental code channel

Publications (2)

Publication Number Publication Date
CN110954145A true CN110954145A (en) 2020-04-03
CN110954145B CN110954145B (en) 2021-08-17

Family

ID=69980776

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911261360.6A Active CN110954145B (en) 2019-12-10 2019-12-10 Detection device and method for incremental code channel

Country Status (1)

Country Link
CN (1) CN110954145B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040012793A1 (en) * 2002-07-19 2004-01-22 Pwb-Ruhlatec Industrieprodukte Gmbh Optical transmitter element and positioning device
CN1598486A (en) * 2004-09-10 2005-03-23 北京交通大学 Method for encoding absolute position
JP2009128262A (en) * 2007-11-27 2009-06-11 Iai:Kk Absolute type linear encoder and actuator
CN101769765A (en) * 2010-01-29 2010-07-07 江西蓝天学院 Code wheel with single code channel structure for incremental photoelectric encoder
CN103056726A (en) * 2012-12-26 2013-04-24 中国科学院长春光学精密机械与物理研究所 Method for reading absolute grating ruler with identification code channel by using double reading heads
US20130200886A1 (en) * 2010-04-20 2013-08-08 Hamilton Bonaduz Ag Position detecting device and method for producing a marking arrangement for a postion detecting device
CN104006833A (en) * 2013-02-25 2014-08-27 北斗导航科技有限公司 Code disc, rotary encoder, coding method and equipment with encoder

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040012793A1 (en) * 2002-07-19 2004-01-22 Pwb-Ruhlatec Industrieprodukte Gmbh Optical transmitter element and positioning device
CN1598486A (en) * 2004-09-10 2005-03-23 北京交通大学 Method for encoding absolute position
JP2009128262A (en) * 2007-11-27 2009-06-11 Iai:Kk Absolute type linear encoder and actuator
CN101769765A (en) * 2010-01-29 2010-07-07 江西蓝天学院 Code wheel with single code channel structure for incremental photoelectric encoder
US20130200886A1 (en) * 2010-04-20 2013-08-08 Hamilton Bonaduz Ag Position detecting device and method for producing a marking arrangement for a postion detecting device
CN103056726A (en) * 2012-12-26 2013-04-24 中国科学院长春光学精密机械与物理研究所 Method for reading absolute grating ruler with identification code channel by using double reading heads
CN104006833A (en) * 2013-02-25 2014-08-27 北斗导航科技有限公司 Code disc, rotary encoder, coding method and equipment with encoder

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈赟等: "高速高冲击性小型增量式光电编码器的研制", 《电子测量与仪器学报》 *

Also Published As

Publication number Publication date
CN110954145B (en) 2021-08-17

Similar Documents

Publication Publication Date Title
CN1310818C (en) Lift system comprising measuring system for determining absoluted position of cage
US9041385B2 (en) Position detecting device and method for producing a marking arrangement for a position detecting device
CN110799436B (en) Position determination system and method for determining the position of a car of an elevator car
US7679850B2 (en) Position determination using circular shift codes
TW201305764A (en) Linear position measuring system
AU2002317952B2 (en) Inductive position detector
JP2006052093A (en) Elevator installation with cage and cage position determining device as well as its operating method
CN109579711B (en) Absolute position displacement sensor grating absolute position encoding and decoding method
CN101280796B (en) Absolute type stroke detecting method and apparatus combing with ceramic cylinder rod to use
EP4109048A1 (en) Linear displacement absolute position encoder
CN110954145B (en) Detection device and method for incremental code channel
CN108775886B (en) Energy-saving position determination method
JP2022164765A (en) Magnetic encoder and manufacturing method therefor
CN110440688B (en) Absolute grating ruler reference position measuring method and system
CN103056721A (en) Method for reading absolute type steel strip grating rulers by adopting double reading heads
CN110879075B (en) High-resolution incremental code channel detection method
CN114604296B (en) Positioning system and method for magnetic levitation train
CN110879041B (en) Linear double-code-channel absolute steel tape ruler and reading method thereof
CN114608633B (en) Single code channel absolute type displacement measurement coding code disc and system
CN101672661A (en) One-dimensional absolute position coding system
CN112880571A (en) Absolute grating ruler
CN202018298U (en) Photoelectric position detecting device based on binary shift codes
CN115727747A (en) Absolute straight line position positioning device and method
CN113029002B (en) Linear displacement measuring device and method
KR20240027134A (en) Encoder system and method for determining reading head position in an encoder system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant