CN100491927C - Two-dimensional code staff gauge and identification method thereof - Google Patents
Two-dimensional code staff gauge and identification method thereof Download PDFInfo
- Publication number
- CN100491927C CN100491927C CNB2007101320308A CN200710132030A CN100491927C CN 100491927 C CN100491927 C CN 100491927C CN B2007101320308 A CNB2007101320308 A CN B2007101320308A CN 200710132030 A CN200710132030 A CN 200710132030A CN 100491927 C CN100491927 C CN 100491927C
- Authority
- CN
- China
- Prior art keywords
- code
- code element
- sign indicating
- group
- indicating number
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Length Measuring Devices By Optical Means (AREA)
- Character Discrimination (AREA)
Abstract
The invention relates to a two-dimensional code measuring scale and its reading method, belongs to mapping instrument technology field. The measuring scale was marked by the main code composed by circle arranged even basic code upper and lower on the linear direction. The basic code was composed by light and shade alternative fringe, one side of the main code was auxiliary code composed by upper and lower arranged preset code, two adjacent preset codes were took as a couple which belongs to different categories, one category is block circulated sequence code, the same group code were sequenced arranged from top to the bottom, and the other is the group code, the same group code coupled with the same group sequenced code, the group code corresponding with the sequenced code of different group increased by group from the bottom to top, the boundary of each pair of preset code was aligned with the adjacent basic code. Using this invention, the basic code and auxiliary code are of simple regular, with big amount of information, high reliability, as avoided the complex calculation so the decoding can be very fast, with high accuracy, even the long distance measurement, the result is also accurate, the manufacturing cost also decreased significantly.
Description
Technical field
The present invention relates to a kind of mapping additional device, especially a kind of scale of digital instrument of surveying and mapping improves, and also relates to its reading method simultaneously, belongs to mapping instrument technology field.
Background technology
Understand according to the applicant, the decoding principle of digital electronic spirit-leveling instrument and so on testing tool mainly contains correlation method, geometric method and phase method at present.Typical case's representative of correlation method is the Leica instrument of Switzerland, and its external feature is that scale directly carries out the light and shade coding with scale-of-two; Typical case's representative of geometric method is the Trimble instrument, and its external feature is that scale adopts the quarter-phase scale-of-two to encode; Typical case's representative of phase method is the TOPCON of Japan and the instrument of SOKKIA, and its external feature is that the scale bar code is formed by the sign indicating number preface of the Sine Modulated of different cycles by some group coding width.
In order to realize the localization process of digital electronic spirit-leveling instrument, the domestic work of also carrying out this respect.Chinese patent as number of patent application 03153286.1 discloses the wide Sine Modulated compiling method of equidistant code sign indicating number, and the Chinese patent of number of patent application 200510019465.2 discloses phase modulation (PM) and carried the code phase method, or the like.
The above-mentioned various existing bar code that is used for the digital electronic spirit-leveling instrument all has only one dimension, mainly contains respective heights information by wide the variation by predetermined rule of the sign indicating number of one dimension code element, directly obtains reading from the one dimension sign indicating number during measurement.Its result makes that not only the rule of code element is increasingly sophisticated, and decoding program is day by day loaded down with trivial details, and requires very high to the manufacturing accuracy of code element.In addition, in order to guarantee to have abundant wide variety code element in the finite length scope, minimum symbol width often has to be so small to have only 2 millimeters.When big or external interference light is strong when range finding, cause easily misreading.
Summary of the invention
The present invention wants the technical solution problem to be: at the shortcoming that above prior art exists, proposes a kind ofly to distinguish easily, decoding fast, can effectively avoid the two-dimensional encoded scale misread, provide its reading method simultaneously.
In order to solve above technical matters, two-dimensional encoded scale of the present invention comprises the chi bar, described chi pole length direction indicates the chief editor's sign indicating number that is made of cycle arrangement about the wide basic code element, described basic code element is made of the striped that light and shade replaces, its improvements are: the auxilliary coding that described chief editor's sign indicating number one side is arranged above and below and constitutes for predetermined ary codes, adjacent two predetermined ary codes are a pair of, adhere to separately different classes of, one class is a grouping round-robin sequence code, sequence code is arranged by the natural number order from the bottom to top on the same group, another kind of is the group sign indicating number, identical with the group sign indicating number of each sequence code pairing on the same group, the group sign indicating number of sequence code correspondence does not increase progressively by group from the bottom to top on the same group, the border of every pair of predetermined ary codes respectively with the boundary alignment of adjacent basic code element.
During measurement, after the height graticule made a decision in a certain basic code element of chief editor's sign indicating number, the step during recognition was:
1) the group sign indicating number in the auxilliary coding of the basic code element correspondence in recognition height graticule place obtains first highly with the product of this group sign indicating number value corresponding and the yardage of each group sequence code with the width of basic code element;
2) sequence code in the auxilliary coding of the basic code element correspondence in recognition height graticule place, the width that multiply by basic code element with this sequence code value corresponding obtains second height;
3) relative altitude position of the basic code element in recognition height graticule place, with direct-read method draw the height graticule to the distance of this basic code element lower boundary as the 3rd highly;
4) distinguish result with the 3rd altitude information sum as measuring with above-mentioned first, second.
The relative altitude position direct reading method of height graticule in the sign indicating number of basis is a lot of in the above step 3).The most frequently used is the differential direct-reading, promptly determines the light and shade edge with the single order differential method, thereby directly reads the distance of height graticule and basic symbol boundaries.Also can adopt other methods such as intermediate value direct-reading to separate code reading in addition.
Of the present invention further improving is also to be provided with cut-off rule between described chief editor's sign indicating number and the auxilliary coding.Can make the border of chief editor's sign indicating number and auxilliary coding clearly demarcated like this, the recognition of being more convenient for.And predetermined system should be selected scale-of-two.
Be not difficult to find out that the present invention compared with prior art has following remarkable advantage:
1, the combination of chief editor's sign indicating number and auxilliary coding can guarantee enough measuring accuracy;
2, chief editor's sign indicating number and auxilliary coding all can adopt simple rule layout, (" two dimension " herein is mathematical algorithm to have avoided two dimension such as correlation method, with of the present invention two-dimensional encoded irrelevant) complex calculation such as Fourier transform of relevant, phase method, decoding is quick accurate;
3, symbol width need not accurately to change by rule, so accuracy of identification is less demanding, thereby has obviously reduced the cost of digital electronic spirit-leveling instrument and so on surveying instrument;
4, chief editor's sign indicating number and auxilliary symbols encoded width are even, and width is significantly widened with respect to the minimum widith of one dimension sign indicating number, even therefore telemeasurement also can obtain result accurately.
Description of drawings
The present invention is further illustrated below in conjunction with accompanying drawing.
Fig. 1 is the structural representation of the embodiment of the invention one.
Fig. 2 is the structural representation of the embodiment of the invention two.
Fig. 3 is the structural representation of the embodiment of the invention three.
Fig. 4 is a level tacheometric survey synoptic diagram.
Among the above figure in the circle implication of sequence number be respectively: 1. basic code element black streaking; 2. basic code element informal voucher line; 3. scale-of-two group sign indicating number part; 4. binary sequence sign indicating number part; 5. cut-off rule; 6. the corresponding numerical value of scale-of-two group sign indicating number; 7. the corresponding numerical value of binary sequence sign indicating number; The height graticule; 9. bar code scaleplate; 10. spirit-leveling instrument level height graticule; 11. spirit-leveling instrument object lens; 12. spirit-leveling instrument image sensor.
Fig. 5 is the mathematical principle figure of differential direct-reading.
Fig. 6 is the mathematical principle figure of intermediate value direct-reading.
Embodiment
Embodiment one
The two-dimensional encoded scale of present embodiment as shown in Figure 1, chi pole length direction left side indicates the chief editor's sign indicating number (also being smart sign indicating number) that is made of cycle arrangement about the wide basic code element, each basic code element alternately is made of wide black streaking 1 and informal voucher line 2, the width of basic code element equals black streaking 1 and informal voucher line 2 width sums, be c=a+b, a=b.The right side of chief editor's sign indicating number is the auxilliary coding (also being thick sign indicating number) that binary code is arranged above and below and constitutes, and black represents 0, white expression 1.Adjacent two binary codes are a pair of, adhere to separately different classes of, relatively by under be the round-robin sequence code of dividing into groups, sequence code is arranged from the bottom to top according to the order of sequence on the same group, totally 14; Another kind of is the group sign indicating number, identical with the group sign indicating number of each sequence code pairing on the same group, and the group sign indicating number of sequence code correspondence does not increase progressively by group from the bottom to top on the same group, has 14, and promptly sequence code has 14 groups.The border of every pair of predetermined ary codes respectively with the boundary alignment of adjacent basic code element.
Auxilliary coding amounts to total 14*14=196.The width of fringe a=20mm of present embodiment chief editor sign indicating number, basic code element is wide to be 40mm, and shortest sighting distance can reach 2m, and the longest sighting distance can reach 140m, and full chi length overall is 196*40=7840mm.Also can be scheduled to a=13mm, the wide 26mm of basic code, shortest sighting distance can reach 1.5m, and the longest sighting distance can reach 100m, and full chi length overall is 196*26=5096mm, can satisfy the requirement of levelling pole 5000mm fully.
Between chief editor's sign indicating number and the auxilliary coding dead color or light colour cut-off rule are set, can make the border of chief editor's sign indicating number and auxilliary coding clearly demarcated like this, the recognition of being more convenient for.
Situation during actual measurement is erected at objective with said scale 9 as shown in Figure 4, and spirit-leveling instrument level height graticule 10 sees through spirit-leveling instrument object lens 11 and projects on the spirit-leveling instrument image sensor (CCD) 12.
After the height graticule made a decision in the blackstreak 1 of the basic code element of chief editor's sign indicating number shown in Figure 1, the step during spirit-leveling instrument recognition was:
1) the group sign indicating number in the auxilliary coding of basis, recognition height graticule place code element correspondence obtains the first height 2*14*40=1120mm with the product of this group sign indicating number value corresponding 2 and the yardage 14 of each group reflected code with the width 40 of basic code element;
2) sequence code in the auxilliary coding of basis, recognition height graticule place code element correspondence, the width 40 that multiply by basic code element with this sequence code value corresponding 11 obtains the second height 440mm;
3) relative altitude position of basis, recognition height graticule place code element, with the differential direct-read method draw the height graticule to the distance of this basis code element lower boundary as the 3rd height g=26mm;
4) distinguish result with the 3rd altitude information sum 1586mm as measuring with above-mentioned first, second.
Because basic symbol width is certain and known, the therefore basic imaging width of code element on the spirit-leveling instrument image sensor can be measured.And the telescopical focal length of spirit-leveling instrument is a certain value, so just can obtain sighting distance according to the proportionate relationship of similar triangles.
The principle of differential direct-reading is in the above step 3): because the optical system resolution of spirit-leveling instrument image sensor is limited, so the black and white strip border is through not obvious behind the optical system imaging, and be the bandwidth of a light and shade transition, be that boundary surface exists certain slope, can't accurately determine the position on light and shade border.Obtain the slope that Fig. 5 differential curve bottom just can be eliminated boundary surface with the single order differential, can precision determine the position on light and shade border, thereby obtain the accurate distance g of height graticule to this basis code element lower boundary.
Because after adopting the two-dimension code of present embodiment, auxilliary code width is wide more a lot of than the code element of existing one dimension sign indicating number, therefore explanation easily can be avoided misreading, and the reliability height is especially worked as telemeasurement, and superiority is clearer and more definite.Owing to edit sign indicating number, auxilliary coding separately, encoding law is simply direct, can avoid complicated algorithm simultaneously, and decoding, very speed is fast, precision is high.And the scale structure based on this coding is simple, and the requirement of respective digital formula electronic level optical system reduces, and manufacturing cost significantly descends.
Embodiment two
The basic condition of present embodiment and embodiment one roughly the same, difference is the black and white strip a in the basic code element〉b, as shown in Figure 2.In addition, the reading method of recognition step 3) adopts the intermediate value direct-reading, and promptly the point with average light and shade mid point correspondence is a separation, defines boundaries, can the accurate position of determining the light and shade border, thus obtain the height graticule to this basis code element lower boundary apart from g (referring to Fig. 6).
Embodiment three
The basic condition of present embodiment also with embodiment one roughly the same, difference is that a basic code element is made of two pairs of black and white strips, as shown in Figure 3.Be that width of fringe a, b in the basic code element also can divide again: a=a1+a2, b=b1+b2.Following various variation wherein can be arranged: a1=a2, b1=b; A1〉a2, b1=b2; A1〉a2, b1〉b2; A1<a2, b1=b2; A1=a2, b1〉b2.
In addition to the implementation, the present invention can also have other embodiments.For example, predetermined system also can adopt other system except that scale-of-two.All employings are equal to the technical scheme of replacement or equivalent transformation formation, all drop on the protection domain of requirement of the present invention.
Claims (7)
1. two-dimensional encoded scale, comprise the chi bar, described chi pole length direction indicates the chief editor's sign indicating number that is made of cycle arrangement about the wide basic code element, described basic code element is made of the striped that light and shade replaces, it is characterized in that: the auxilliary coding that described chief editor's sign indicating number one side is arranged above and below and constitutes for predetermined ary codes, adjacent two predetermined ary codes are a pair of, adhere to separately different classes of, one class is a grouping round-robin sequence code, sequence code is arranged by the natural number order from the bottom to top on the same group, another kind of is the group sign indicating number, identical with the group sign indicating number of each sequence code pairing on the same group, the group sign indicating number of sequence code correspondence does not increase progressively by group from the bottom to top on the same group, the border of every pair of predetermined ary codes respectively with the boundary alignment of adjacent basic code element.
2. according to the described two-dimensional encoded scale of claim 1, it is characterized in that: also be provided with cut-off rule between described chief editor's sign indicating number and the auxilliary coding.
3. according to the described two-dimensional encoded scale of claim 2, it is characterized in that: the light and shade width of fringe of described basic code element equates that described predetermined ary codes is a binary code.
4. according to the described two-dimensional encoded scale of claim 3, it is characterized in that: described basic code element is made of the light and shade striped more than two pairs.
5. according to the reading method of the described two-dimensional encoded scale of claim 1, it is characterized in that the step during recognition is after the height graticule makes a decision in a certain basic code element of chief editor's sign indicating number:
1) the group sign indicating number in the auxilliary coding of the basic code element correspondence in recognition height graticule place obtains first highly with the product of this group sign indicating number value corresponding and the yardage of each group sequence code with the width of basic code element;
2) sequence code in the auxilliary coding of the basic code element correspondence in recognition height graticule place, the width that multiply by basic code element with this sequence code value corresponding obtains second height;
3) relative altitude position of the basic code element in recognition height graticule place, with direct-read method draw the height graticule to the distance of this basic code element lower boundary as the 3rd highly;
4) distinguish result with the 3rd altitude information sum as measuring with above-mentioned first, second.
6. according to the reading method of the described two-dimensional encoded scale of claim 5, it is characterized in that: the direct-read method in the described step 3) is the differential direct-reading.
7. according to the reading method of the described two-dimensional encoded scale of claim 5, it is characterized in that: the direct-read method in the described step 3) is the intermediate value direct-reading.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2007101320308A CN100491927C (en) | 2007-09-10 | 2007-09-10 | Two-dimensional code staff gauge and identification method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2007101320308A CN100491927C (en) | 2007-09-10 | 2007-09-10 | Two-dimensional code staff gauge and identification method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101131331A CN101131331A (en) | 2008-02-27 |
CN100491927C true CN100491927C (en) | 2009-05-27 |
Family
ID=39128680
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2007101320308A Expired - Fee Related CN100491927C (en) | 2007-09-10 | 2007-09-10 | Two-dimensional code staff gauge and identification method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100491927C (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101871777B (en) * | 2010-05-07 | 2012-01-25 | 樊小鹏 | Bar code suitable for measurement and measuring instrument |
CN102466464B (en) * | 2010-11-03 | 2014-10-22 | 启德电子股份有限公司 | Length Measuring System Using Optical Recognition and Its Optical Recognition Image |
CN107014348B (en) * | 2017-03-31 | 2020-08-04 | 武汉理工大学 | A ruler bar code and its encoding and decoding method used for distance measuring electronic level |
CN110864666B (en) * | 2019-11-29 | 2022-02-22 | 西安理工大学 | Two-dimensional leveling staff and reading method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE4136888A1 (en) * | 1991-11-09 | 1993-05-13 | Huebner Johannes | Absolute-value encoder for angle and length measurements - employs only one or two coding tracks dimensioned for high resolution by two or more photodiodes |
EP1066497B1 (en) * | 1998-03-23 | 2002-10-02 | Leica Geosystems AG | Method for determining the spatial and rotational positions of an object |
WO2005108922A2 (en) * | 2004-05-06 | 2005-11-17 | Leica Geosystems Ag | Levelling rod, level determining apparatus for said rod, and level determining method |
-
2007
- 2007-09-10 CN CNB2007101320308A patent/CN100491927C/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE4136888A1 (en) * | 1991-11-09 | 1993-05-13 | Huebner Johannes | Absolute-value encoder for angle and length measurements - employs only one or two coding tracks dimensioned for high resolution by two or more photodiodes |
EP1066497B1 (en) * | 1998-03-23 | 2002-10-02 | Leica Geosystems AG | Method for determining the spatial and rotational positions of an object |
WO2005108922A2 (en) * | 2004-05-06 | 2005-11-17 | Leica Geosystems Ag | Levelling rod, level determining apparatus for said rod, and level determining method |
Also Published As
Publication number | Publication date |
---|---|
CN101131331A (en) | 2008-02-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102654400A (en) | Pseudorandom bar code applied to digital level bar code ruler | |
CN101975558B (en) | Rapid three-dimensional measurement method based on color grating projection | |
CN100491927C (en) | Two-dimensional code staff gauge and identification method thereof | |
CN102706373B (en) | Single-track absolute grating scale and image coding method thereof | |
CN102095379B (en) | Absolute grating scale | |
ITMI20110307A1 (en) | METHOD FOR THE OPTICAL IDENTIFICATION OF OBJECTS IN MOVEMENT | |
CN102509094A (en) | Structured-light-based embedded 3D (three dimensional) fingerprint collecting method and system | |
CN103759749A (en) | Single-code-channel absolute position encoder | |
CN103411585A (en) | Sedimentation measurement method by laser spot imaging technique | |
CN107121072B (en) | 2D Absolute Displacement Encoder | |
CN102519394A (en) | High-adaptability three-dimensional measuring method based on color structured light | |
CN105095822B (en) | A kind of Chinese letter co pattern image detection method and system | |
US20140063192A1 (en) | Three-dimensional shape measuring apparatus, three-dimensional shape measuring method, program, and storage medium | |
CN104105951A (en) | Method and apparatus for determining position | |
CN101666631A (en) | Three-dimensional measuring method based on positive and inverse code color encoding stripes | |
CN106643562A (en) | Time domain and space domain hybrid coding based structured light fringe projection method | |
CN110617770A (en) | Displacement detection system and detection method based on position coding | |
CN102261926B (en) | Coding and decoding methods of digital level bar code ruler | |
CN109579742A (en) | A kind of S type segment phase coding structural light three-dimensional measurement method | |
CN103234454A (en) | Self calibration method for image measuring instrument | |
CN111121637A (en) | Grating displacement detection method based on pixel coding | |
CN102095375B (en) | Method for measuring displacement along optical axis direction by using contrasts of three primary colors as characteristics | |
CN101871777B (en) | Bar code suitable for measurement and measuring instrument | |
CN108827915A (en) | A kind of sub-pixel location acquisition methods based on photoelectric sensing array measurement refractive index | |
CN111583191B (en) | Light field EPI Fourier transform-based refraction characteristic detection method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20090527 Termination date: 20100910 |