[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN113312933B - Fixed industrial code reader capable of automatically adjusting focal length and automatic focusing method - Google Patents

Fixed industrial code reader capable of automatically adjusting focal length and automatic focusing method Download PDF

Info

Publication number
CN113312933B
CN113312933B CN202110493644.9A CN202110493644A CN113312933B CN 113312933 B CN113312933 B CN 113312933B CN 202110493644 A CN202110493644 A CN 202110493644A CN 113312933 B CN113312933 B CN 113312933B
Authority
CN
China
Prior art keywords
lens
distance
code reader
distance detector
focal length
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.)
Active
Application number
CN202110493644.9A
Other languages
Chinese (zh)
Other versions
CN113312933A (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.)
Suzhou Video Printing Intelligent System Co ltd
Original Assignee
Suzhou Video Printing Intelligent System Co ltd
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 Suzhou Video Printing Intelligent System Co ltd filed Critical Suzhou Video Printing Intelligent System Co ltd
Priority to CN202110493644.9A priority Critical patent/CN113312933B/en
Publication of CN113312933A publication Critical patent/CN113312933A/en
Application granted granted Critical
Publication of CN113312933B publication Critical patent/CN113312933B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10544Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum
    • G06K7/10792Special measures in relation to the object to be scanned
    • G06K7/10801Multidistance reading
    • G06K7/10811Focalisation
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S17/00Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
    • G01S17/02Systems using the reflection of electromagnetic waves other than radio waves
    • G01S17/06Systems determining position data of a target
    • G01S17/08Systems determining position data of a target for measuring distance only
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S7/00Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
    • G01S7/48Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S17/00
    • G01S7/481Constructional features, e.g. arrangements of optical elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10544Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum
    • G06K7/10821Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum further details of bar or optical code scanning devices
    • G06K7/10831Arrangement of optical elements, e.g. lenses, mirrors, prisms

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Electromagnetism (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Theoretical Computer Science (AREA)
  • Automatic Focus Adjustment (AREA)
  • Lens Barrels (AREA)

Abstract

The invention provides a fixed industrial code reader capable of automatically adjusting focal length, which comprises a lens, a lens control unit, a first distance detector and a second distance detector, wherein the centers of the lens, the first distance detector and the second distance detector are positioned on the same straight line, and the first distance detector and the second distance detector are arranged on two sides of the lens; the lens control unit is connected with the two distance detectors and the lens and used for calculating the installation angle of the code reader and the distance between the lens and the plane to be measured according to the distance measurement values of the two distance detectors and automatically adjusting the focal length of the lens. The fixed industrial code reader has high automation degree, and can avoid the problems of low precision and low efficiency of manual focusing; the automatic early warning can be carried out when the code reader installation angle exceeds the range or the distance between the lens and the assembly line plane exceeds the range, the installation position of the code reader is prompted to be adjusted by an operator, the reliability of the code reader is guaranteed, and the success rate of subsequent code reading is improved.

Description

Fixed industrial code reader capable of automatically adjusting focal length and automatic focusing method
Technical Field
The invention relates to the field of code reading equipment, in particular to a fixed type industrial code reader capable of automatically adjusting focal length and an automatic focusing method thereof.
Background
The bar code comprises a one-dimensional code and a two-dimensional code which are arranged according to a certain coding rule and are used for expressing a group of graphic identifiers of information. The bar code on the article can mark many information such as the producing country, the manufacturer, the name of the article, the date of production, the book classification number, the starting and stopping location of the mail, the category, the date and the like, so the bar code is widely applied to many fields such as commodity circulation, book management, postal management, bank systems and the like.
With the industrial process of intelligent manufacturing gradually accelerating, factories are more and more automated. The industrial code reader is an intelligent device integrating detection, measurement and code scanning on a production line, and becomes an indispensable member in the industry 4.0. An industrial code reader is installed on the production line and aims to recognize and read the bar codes on the products transmitted by the production line. The efficiency of code scanning depends largely on whether the focal distance between the lens and the bar code under test is in the proper position. In the current production line, after the code reader is fixedly installed, the focal length of the lens needs to be manually adjusted, the adjustment precision is low, and the operation is complex.
Disclosure of Invention
The invention aims to solve the problems of low precision and complicated operation when the current code reader manually adjusts the focal length, and provides a fixed type industrial code reader capable of automatically adjusting the focal length and an automatic focusing method thereof.
In order to achieve the purpose, the invention adopts the following technical scheme:
a fixed industrial code reader capable of automatically adjusting focal length comprises a lens, a lens control unit, a first distance detector and a second distance detector, wherein the centers of the lens, the first distance detector and the second distance detector are positioned on the same straight line, and the first distance detector and the second distance detector are arranged on two sides of the lens; the lens control unit is connected with the two distance detectors and the lens and used for calculating the installation angle of the fixed industrial code reader and the distance between the lens and a plane to be measured according to the distance measurement values of the first distance detector and the second distance detector and automatically adjusting the focal length of the lens.
Preferably, the first distance detector and the second distance detector are laser range finders.
Preferably, the first distance detector and the second distance detector are symmetrically arranged on two sides of the lens.
Preferably, an illuminating LED is arranged around the lens.
Preferably, the stationary industrial code reader supports both horizontal and non-horizontal mounting.
The invention also provides an automatic focusing method of the fixed industrial code reader capable of automatically adjusting the focal length, which comprises the following steps:
s1: the fixed industrial code reader is arranged above a production line, a lens of the fixed industrial code reader, a first distance detector and a second distance detector face to a lower production line plane, and a connecting line of the first distance detector and the second distance detector is parallel to a first direction; the distance D1 between the lens and the first distance detector, the distance D2 between the lens and the second distance detector, the installation angle range of the fixed industrial code reader and the adjustable focal length range of the lens are preset in a lens control unit of the fixed industrial code reader.
S2: the first distance detector and the second distance detector respectively emit detection light rays to the assembly line plane along a second direction, measure a distance L1 from the first distance detector to the assembly line plane and a distance L2 from the second distance detector to the assembly line plane, and transmit two distance values L1 and L2 to the lens control unit; wherein the second direction is perpendicular to the first direction.
S3: the lens control unit calculates an actual installation angle alpha of the fixed industrial code reader and a distance L3 between the lens and the plane of the production line along the second direction according to the measured distance values L1 and L2 and the distance values D1 and D2; wherein, if L1= L2, α =0, L3= L1= L2; if L1 ≠ L2, then
Figure DEST_PATH_IMAGE001
Figure 735882DEST_PATH_IMAGE002
S4: if the calculated actual installation angle alpha of the fixed industrial code reader is within the preset installation angle range and the distance L3 between the lens and the assembly line plane is within the adjustable focal length range of the lens, the lens control unit automatically controls the lens to adjust to the corresponding focal length according to the distance L3 between the lens and the assembly line plane; if the calculated actual installation angle alpha of the fixed industrial code reader exceeds the preset installation angle range or the distance L3 between the lens and the assembly line plane exceeds the adjustable focal distance range of the lens, the lens control unit automatically sends out a prompt to prompt an operator to adjust the installation position of the fixed industrial code reader.
Preferably, the lens control unit has a function of saving the current focal length of the lens in real time and automatically performing dynamic adjustment.
Compared with the prior art, the invention has the beneficial effects that: the fixed industrial code reader utilizes the two distance detectors to measure the distance, utilizes the lens control unit to calculate the actual installation angle (namely the included angle between the working surface of the code reader and the assembly line plane) of the code reader and the distance between the lens and the assembly line plane, and automatically adjusts the focal length of the lens according to the calculation result, so that the fixed industrial code reader has high automation degree, and avoids the problems of low manual focusing precision and low efficiency; the automatic early warning can be carried out when the code reader installation angle exceeds the range or the distance between the lens and the assembly line plane exceeds the range, the installation position of the code reader is prompted to be adjusted by an operator, the reliability of the code reader is guaranteed, and the success rate of subsequent code reading is improved.
Drawings
FIG. 1 is a schematic structural diagram of a fixed industrial code reader with an automatically adjustable focal length according to the present invention;
FIG. 2 is a schematic structural diagram of a fixed industrial code reader with an automatically adjustable focal length according to the present invention, which is installed horizontally;
FIG. 3 is a schematic structural diagram of a fixed industrial code reader with an automatic focus adjustment function according to the present invention, which is installed in a non-horizontal manner;
FIG. 4 is a schematic view of a fixed industrial code reader with an automatically adjustable focus according to the present invention, which is installed in a non-horizontal position and the production line is tilted;
fig. 5 is a flowchart of an automatic focusing method of a fixed industrial code reader capable of automatically adjusting a focal length according to the present invention.
In the figure, 100-code reader, 10-lens, 20-lens control unit, 30-first distance detector, 40-second distance detector, 50-lighting LED.
Detailed Description
In order to further understand the objects, structures, features and functions of the present invention, the following embodiments are described in detail.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a fixed industrial code reader capable of automatically adjusting a focal length according to the present invention; the fixed industrial code reader 100 capable of automatically adjusting the focal length comprises a lens 10, a lens control unit 20, a first distance detector 30 and a second distance detector 40, wherein the centers of the lens 10, the first distance detector 30 and the second distance detector 40 are positioned on the same straight line, and the first distance detector 30 and the second distance detector 40 are arranged on two sides of the lens; the lens control unit 20 is connected to the two distance detectors and the lens 10, and is configured to calculate an installation angle of the fixed industrial code reader 100 and a distance between the lens 10 and a plane to be measured according to distance measurement values of the first distance detector 30 and the second distance detector 40, and automatically adjust a focal length of the lens 10.
In the preferred embodiment of the present invention, the first and second distance detectors 30 and 40 are laser range finders. The first and second distance detectors 30 and 40 may be configured to measure distances from the first and second distance detectors to the plane to be measured, respectively, and transmit the distance measurement values to the lens control unit 20.
In the preferred embodiment of the present invention, the first distance detector 30 and the second distance detector 40 are symmetrically disposed on two sides of the lens 20, which facilitates to reduce the calculation amount of the lens control unit 20 and improve the efficiency.
In the preferred embodiment of the present invention, an illumination LED50 is disposed around the lens 10 for illumination during reading, so as to improve the image definition.
The fixed industrial code reader 100 of the present invention supports both horizontal and non-horizontal mounting.
Referring to fig. 1 and fig. 2 in combination, fig. 2 is a schematic structural diagram of a fixed industrial code reader 100 capable of automatically adjusting a focal length according to the present invention when it is horizontally installed; when the fixed industrial code reader 100 is horizontally installed above the production line, the lens 10, the first distance detector 30 and the second distance detector 40 are located on a horizontal line, the first distance detector 30 and the second distance detector 40 are used for measuring the distance from the first distance detector 30 to the plane of the production line, and the lens control unit 20 can calculate the installation angle of the fixed industrial code reader 100 and the distance between the lens 10 and the plane to be measured according to the distance measurement values of the first distance detector 30 and the second distance detector 40 and automatically adjust the focal length of the lens 10.
Referring to fig. 1 and fig. 3 in combination, fig. 3 is a schematic structural view of a fixed industrial code reader capable of automatically adjusting focal length when the fixed industrial code reader is installed non-horizontally according to the present invention; when the fixed industrial code reader is installed in a non-horizontal mode, the lens 10, the first distance detector 30 and the second distance detector 40 are located on the same straight line, a certain included angle is formed between the straight line and the plane of the production line, interference of a light reflection phenomenon on imaging quality can be weakened when the code is read, and code reading accuracy is improved.
The present invention further provides an automatic focusing method of the fixed type industrial code reader capable of automatically adjusting the focal length, please refer to fig. 5, where fig. 5 is a flowchart of the automatic focusing method of the fixed type industrial code reader capable of automatically adjusting the focal length according to the present invention; the automatic focusing method of the fixed industrial code reader 100 comprises the following steps:
s1: the fixed industrial code reader 100 is installed above a production line, a lens 10, a first distance detector 30 and a second distance detector 40 of the fixed industrial code reader face to a lower production line plane, and a connecting line of the first distance detector 30 and the second distance detector 40 is parallel to a first direction X; the distance D1 between the lens and the first distance detector, the distance D2 between the lens and the second distance detector, the installation angle range of the fixed industrial code reader and the adjustable focal length range of the lens are preset in the lens control unit 20 of the fixed industrial code reader. Specifically, the installation angle range of the fixed industrial code reader can be 0-30 degrees, and in a certain range, the code reader is installed in a non-horizontal mode, so that the interference of a light reflection phenomenon on the imaging quality can be weakened, and the code reading accuracy is improved.
S2: the first distance detector 30 and the second distance detector 40 respectively emit detection light rays to the pipeline plane along the second direction Y, measure a distance L1 from the first distance detector 30 to the pipeline plane and a distance L2 from the second distance detector 40 to the pipeline plane, and transmit two distance values L1 and L2 to the lens control unit 20; wherein the second direction Y is perpendicular to the first direction X.
S3: the lens control unit 20 calculates an actual installation angle alpha of the fixed industrial code reader and a distance L3 between the lens and the plane of the production line along the second direction Y according to the measured distance values L1 and L2 and the distance values D1 and D2; wherein, if L1= L2, α =0, L3= L1= L2; if L1 ≠ L2, then
Figure 636711DEST_PATH_IMAGE001
Figure 682027DEST_PATH_IMAGE002
S4: if the calculated actual installation angle alpha of the fixed industrial code reader is within the preset installation angle range and the distance L3 between the lens and the assembly line plane is within the adjustable focal length range of the lens, the lens control unit automatically controls the lens to adjust to the corresponding focal length according to the distance L3 between the lens and the assembly line plane; if the calculated actual installation angle alpha of the fixed industrial code reader exceeds the preset installation angle range or the distance L3 between the lens and the assembly line plane exceeds the adjustable focal distance range of the lens, the lens control unit 20 automatically sends out a prompt to prompt an operator to adjust the installation position of the fixed industrial code reader.
Preferably, the lens control unit 20 has a function of saving the current lens focal length in real time and automatically performing dynamic adjustment.
Specifically, referring to fig. 1 and fig. 2 in combination, in an embodiment, the fixed industrial code reader is installed horizontally, and the production line is installed horizontally, then the distance L1= L2 measured by the first distance detector 30 and the second distance detector 40, the installation angle α between the fixed industrial code reader and the production line plane is 0 degree, and the distance L3= L1= L2 between the lens 10 and the production line plane, at this time, if L3 is within the adjustable focal distance range of the lens, the lens control unit 20 automatically adjusts the focal distance of the lens 10, so that the focal distance of the lens matches with the actual distance L3. If the L3 exceeds the adjustable focal length range of the lens, the lens control unit 20 sends out an early warning prompt to prompt an operator to adjust the installation position of the fixed industrial code reader.
Referring to fig. 1 and 3, in another embodiment, the fixed industrial code reader is installed non-horizontally, the first distance detector 30 and the second distance detector 40 measure the distances L1 and L2 from the first direction Y to the assembly line plane, respectively, and transmit the distances to the lens control unit 20, and since the second direction Y is perpendicular to the first direction X (the connection line direction of the first distance detector 30 and the second distance detector 40), the installation angle of the code reader can be calculated according to the structural position relationship
Figure 998608DEST_PATH_IMAGE001
And according to the triangle similarity principle, L3 satisfies
Figure DEST_PATH_IMAGE003
Thereby calculating to obtain
Figure 140876DEST_PATH_IMAGE004
. At this time, if α is within the installation angle range and L3 is within the adjustable focal length range of the lens, the lens control unit automatically adjusts the focal length of the lens according to the value of L3 so as to match it. If alpha exceeds the installation angle range or L3 exceeds the adjustable focal length range of the lens, the lens control unit automatically sends out a prompt to prompt an operator to adjust the installation position of the fixed industrial code reader until the working requirement of the code reader is met.
Preferably, if D1= D2, that is, the first distance detector 30 and the second distance detector 40 are symmetrically disposed at both sides of the lens 10, then
Figure DEST_PATH_IMAGE005
Figure 681448DEST_PATH_IMAGE006
The calculation amount of the lens control unit 20 is reduced, and the calculation efficiency is improved.
In addition, in other embodiments, the fixed industrial code reader of the present invention can also be applied to an inclined assembly line, please refer to fig. 1 and 4, fig. 4 is a schematic structural diagram of the fixed industrial code reader capable of automatically adjusting the focal length when the fixed industrial code reader is not horizontally installed and the assembly line is inclined; d1, D2, an installation angle range and an adjustable focal length range of the lens are preset in the lens control unit 20, the distances L1 and L2 from the first distance detector 30 to the assembly line plane along the second direction Y to the assembly line plane are measured by the second distance detector 40 respectively and transmitted to the lens control unit 20, and the installation angle of the code reader can be calculated by the lens control unit 20
Figure 745219DEST_PATH_IMAGE001
Figure 740857DEST_PATH_IMAGE004
. At this time, if α is within the installation angle range and L3 is within the adjustable focal length range of the lensAnd then the lens control unit 20 automatically adjusts the focal length of the lens according to the value of L3 to match it. If alpha exceeds the installation angle range or L3 exceeds the adjustable focal length range of the lens, the lens control unit 20 automatically sends out a prompt to prompt an operator to adjust the installation position of the fixed industrial code reader until the working requirement of the code reader is met. Preferably, if D1= D2, that is, the first distance detector 30 and the second distance detector 40 are symmetrically disposed at both sides of the lens 10, then
Figure 799948DEST_PATH_IMAGE005
Figure 590050DEST_PATH_IMAGE006
The calculation amount of the lens control unit 20 is reduced, and the calculation efficiency is improved.
In summary, the present invention provides a fixed industrial code reader capable of automatically adjusting focal length and an automatic focusing method thereof, wherein two distance detectors are used for distance measurement, a lens control unit is used for calculating an actual installation angle of the code reader (i.e. an included angle between a working surface of the code reader and a pipeline plane) and a distance between a lens and the pipeline plane, and the focal length of the lens is automatically adjusted according to a calculation result, so that the degree of automation is high, and the problems of low precision and low efficiency of manual focusing are avoided; the automatic early warning can be carried out when the code reader installation angle exceeds the range or the distance between the lens and the assembly line plane exceeds the range, the installation position of the code reader is prompted to be adjusted by an operator, the reliability of the code reader is guaranteed, and the success rate of subsequent code reading is improved.
The present invention has been described in relation to the above embodiments, which are only exemplary of the implementation of the present invention. It should be noted that the disclosed embodiments do not limit the scope of the invention. Rather, it is intended that all such modifications and variations be included within the spirit and scope of this invention.

Claims (7)

1. A fixed industrial code reader capable of automatically adjusting focal length is characterized in that: the device comprises a lens, a lens control unit, a first distance detector and a second distance detector, wherein the centers of the lens, the first distance detector and the second distance detector are positioned on the same straight line, and the first distance detector and the second distance detector are arranged on two sides of the lens; the lens control unit is connected with the two distance detectors and the lens, and the distance D1 between the lens and the first distance detector, the distance D2 between the lens and the second distance detector, the installation angle range of the fixed industrial code reader and the adjustable focal length range of the lens are preset in the lens control unit;
the first distance detector is used for measuring the distance L1 from the first distance detector to a plane to be measured, and the second distance detector is used for measuring the distance L2 from the second distance detector to the plane to be measured;
the lens control unit is used for calculating an actual installation angle alpha of the fixed industrial code reader and a distance L3 between the lens and a plane to be measured according to the measured distance values L1 and L2, D1 and D2; wherein, if L1 ═ L2, α ═ 0, L3 ═ L1 ═ L2; if L1 ≠ L2, then
Figure FDA0003395748680000011
When the calculated actual installation angle alpha is within a preset installation angle range and the distance L3 between the lens and the plane to be measured is within the adjustable focal length range of the lens, the lens control unit is used for automatically controlling the lens to be adjusted to the corresponding focal length according to the distance L3 between the lens and the plane to be measured; and when the calculated actual installation angle alpha exceeds a preset installation angle range or the distance L3 between the lens and the plane to be detected exceeds the adjustable focal length range of the lens, the lens control unit is used for automatically sending out a prompt.
2. The fixed industrial code reader capable of automatically adjusting focal length according to claim 1, wherein: the first distance detector and the second distance detector are laser range finders.
3. The fixed industrial code reader capable of automatically adjusting focal length according to claim 1, wherein: the first distance detector and the second distance detector are symmetrically arranged on two sides of the lens.
4. The fixed industrial code reader capable of automatically adjusting focal length according to claim 1, wherein: and illumination LEDs are arranged around the lens.
5. The fixed industrial code reader capable of automatically adjusting focal length according to claim 1, wherein: the fixed industrial code reader supports horizontal installation and non-horizontal installation.
6. An automatic focusing method of a fixed industrial code reader capable of automatically adjusting focal length is characterized in that: the method comprises the following steps:
s1: the fixed industrial code reader is arranged above a production line, a lens of the fixed industrial code reader, a first distance detector and a second distance detector face to a lower production line plane, and a connecting line of the first distance detector and the second distance detector is parallel to a first direction; the distance D1 between the lens and the first distance detector, the distance D2 between the lens and the second distance detector, the installation angle range of the fixed industrial code reader and the adjustable focal length range of the lens are preset in a lens control unit of the fixed industrial code reader;
s2: the first distance detector and the second distance detector respectively emit detection light rays to the assembly line plane along a second direction, measure a distance L1 from the first distance detector to the assembly line plane and a distance L2 from the second distance detector to the assembly line plane, and transmit two distance values L1 and L2 to the lens control unit; wherein the second direction is perpendicular to the first direction;
s3: the lens control unit calculates an actual installation angle alpha of the fixed industrial code reader and a distance L3 between the lens and the plane of the production line along the second direction according to the measured distance values L1 and L2 and the distance values D1 and D2; wherein, if L1 ═ L2, α ═ 0, L3 ═ L1 ═ L2; if L1 ≠ L2, then
Figure FDA0003395748680000021
S4: if the calculated actual installation angle alpha of the fixed industrial code reader is within the preset installation angle range and the distance L3 between the lens and the assembly line plane is within the adjustable focal length range of the lens, the lens control unit automatically controls the lens to adjust to the corresponding focal length according to the distance L3 between the lens and the assembly line plane; if the calculated actual installation angle alpha of the fixed industrial code reader exceeds the preset installation angle range or the distance L3 between the lens and the assembly line plane exceeds the adjustable focal distance range of the lens, the lens control unit automatically sends out a prompt to prompt an operator to adjust the installation position of the fixed industrial code reader.
7. The automatic focusing method of an automatically adjustable focus stationary industrial code reader of claim 6, wherein: the lens control unit has the functions of storing the current lens focal length in real time and automatically and dynamically adjusting.
CN202110493644.9A 2021-05-07 2021-05-07 Fixed industrial code reader capable of automatically adjusting focal length and automatic focusing method Active CN113312933B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110493644.9A CN113312933B (en) 2021-05-07 2021-05-07 Fixed industrial code reader capable of automatically adjusting focal length and automatic focusing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110493644.9A CN113312933B (en) 2021-05-07 2021-05-07 Fixed industrial code reader capable of automatically adjusting focal length and automatic focusing method

Publications (2)

Publication Number Publication Date
CN113312933A CN113312933A (en) 2021-08-27
CN113312933B true CN113312933B (en) 2022-05-10

Family

ID=77371676

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110493644.9A Active CN113312933B (en) 2021-05-07 2021-05-07 Fixed industrial code reader capable of automatically adjusting focal length and automatic focusing method

Country Status (1)

Country Link
CN (1) CN113312933B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11002939B2 (en) * 2016-06-30 2021-05-11 Lg Electronics Inc. Camera module and method for auto focus thereof
CN108241813A (en) * 2016-12-27 2018-07-03 福建新大陆自动识别技术有限公司 A kind of bar code decoding method and its equipment by laser ranging and automatic focusing
CN109788282B (en) * 2019-03-19 2020-07-07 深圳市同为数码科技股份有限公司 Adjusting method of automatic focusing device for camera lens
CN110954015B (en) * 2019-10-11 2021-07-20 中交第二航务工程局有限公司 Shield tail gap measuring method based on laser focusing and image recognition
CN112631064B (en) * 2020-12-30 2022-04-08 安徽地势坤光电科技有限公司 Method for adjusting installation angle of imaging lens

Also Published As

Publication number Publication date
CN113312933A (en) 2021-08-27

Similar Documents

Publication Publication Date Title
US4564765A (en) Optoelectronic method and apparatus for measuring the bending angle of materials
US6741364B2 (en) Apparatus for determining relative positioning of objects and related methods
US5488470A (en) Bending angle detector for use in a bending machine
US9322760B2 (en) Contact angle measuring instrument
CN110006361B (en) Automatic part detection method and system based on industrial robot
US20100315653A1 (en) Optical sensor for positioning tasks
CN108844466B (en) A kind of ultraprecise displacement lasers method for sensing
CN112161565A (en) High-precision laser projection vision three-dimensional measurement system
CN100501316C (en) Method and apparatus for automatically focusing of non-spherical surface inspection
CN1117264C (en) In-line real-time collinating measurer with computer visulization technique and its calibration method
CN113312933B (en) Fixed industrial code reader capable of automatically adjusting focal length and automatic focusing method
JP3294985B2 (en) Surface curvature measurement device
CN103837091A (en) Glass warping degree testing device and method
CN210603224U (en) Ultra-precise line laser corner sensor
CN110044280B (en) Laser triangulation thickness gauge adopting side focal line method and method
CN109520443B (en) Roll angle measuring method based on combined surface type reference part
CN111524126B (en) Automatic feature and morphology recognition method
CN102042990A (en) Method and device for positioning normal direction of curve of workpiece in optical system
CN114349369A (en) Optical fiber drawing coating concentricity online detection adjusting device and using method thereof
US12073284B2 (en) Calibration for scanning device decoding based on aimer pattern detection
CN221425608U (en) Scanning measuring instrument capable of online detection
JP2587765B2 (en) Method and apparatus for measuring dimensions of mechanical parts
CN219997114U (en) Automatic focusing detection system
CN218584314U (en) Detection equipment for lens flange distance
CN216208615U (en) Detection device

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