Lens focusing test device
The lens focusing test device enables automatic adjustment and parameter recording of the lens focusing process, solving the problem of lens inconsistency in fixed industrial barcode readers and improving the testing efficiency and parameter consistency of the barcode readers.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- SHENZHEN YANXIANG JINMA TECH CO LTD
- Filing Date
- 2025-04-25
- Publication Date
- 2026-04-24
AI Technical Summary
The inconsistent focusing process of lenses in existing fixed industrial barcode readers makes it difficult to copy parameters between barcode readers of the same model, increasing on-site installation and testing time.
Design a lens focusing test device that uses a barcode reader and the automatic focusing adjustment of the test lens to identify a clear image on a calibration component, record focusing parameters, achieve mechanical error compensation of the lens, and ensure the consistency of the lens application on the barcode reader.
It improves the overall testing efficiency of the barcode reader, reduces on-site debugging time, ensures the consistency of lens parameters, and simplifies the mass production process.
Smart Images

Figure CN224163334U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of industrial barcode reader technology, and in particular to a lens focusing test device. Background Technology
[0002] One component in a fixed industrial barcode reader is a mechanical autofocus lens. Due to manufacturing errors, inconsistencies may occur in the focusing process. This can lead to different focusing distances when using the same type of lens on the same model of industrial barcode reader at a fixed working distance to achieve a clear image. Consequently, when performing parameter copying between multiple industrial barcode readers of the same model, the parameters cannot be adapted, requiring operators to readjust and increasing on-site installation and testing time. Utility Model Content
[0003] The main purpose of this invention is to provide a lens focusing test device, which is designed to detect the focusing process of a lens, thereby confirming the mechanical error of the lens and making corresponding compensation methods based on the test results, so as to increase the consistency of lens components in the application of barcode readers.
[0004] To achieve the above objectives, this utility model proposes a lens focusing test device, comprising:
[0005] Base;
[0006] A support assembly, disposed on the base, includes a support for mounting a test lens;
[0007] A calibration element, disposed on the base and located on one side of the support in the horizontal direction; and,
[0008] The reading component includes a barcode reader disposed on the base, the barcode reader being located on the side of the support facing away from the calibration element;
[0009] At least one of the barcode reader and the carrier is movable toward the other so that the barcode reader engages with the test lens located on the carrier at its horizontal end. The barcode reader is used to control the test lens to autofocus in order to identify a clear image on the calibration piece and to record the focus parameters of the test lens.
[0010] In one embodiment, the support assembly further includes a movable seat, which is movably disposed on the base along a first horizontal direction;
[0011] The support seat is movably mounted on the movable seat along the second horizontal direction;
[0012] The calibration component and the barcode reader are located on opposite sides of the support base along the first horizontal direction.
[0013] In one embodiment, the carrier component further includes:
[0014] A bracket is disposed on the support; and,
[0015] A turntable is rotatably mounted on the bracket along a horizontally extending axis. The turntable is used to mount multiple test lenses so that, during the rotation of the turntable, the multiple test lenses sequentially correspond to the docking end of the barcode reader.
[0016] In one embodiment, the turntable has a plurality of mounting holes on the side facing the barcode reader. The plurality of mounting holes are arranged at intervals along the circumference of the turntable and are used for mounting a plurality of test lenses.
[0017] In one embodiment, the reading component further includes a first support, which is movably disposed on the base and can move toward or away from the support.
[0018] The barcode reader is fixedly installed on the first support.
[0019] In one embodiment, the lens focusing test device further includes a visual inspection device fixed to the base. The detection area of the visual inspection device covers the barcode reader and the test lens, so as to detect the docking status of the docking end of the barcode reader and the test lens.
[0020] In one embodiment, the reading component further includes a first support, which is movably disposed on the base and can move toward or away from the support.
[0021] The barcode reader is fixedly installed on the first support;
[0022] The visual inspection device includes a camera, which is fixedly mounted on the first support and is horizontally offset from the barcode reader.
[0023] In one embodiment, the calibration element is movably disposed on the base and can move toward or away from the support.
[0024] In one embodiment, the calibration element includes:
[0025] A second support is movably mounted on the base; and,
[0026] The card can be detachably installed onto the second support.
[0027] In one embodiment, the lens focusing test device further includes a display screen fixed to the base, the display screen being electrically connected to the barcode reader.
[0028] In the technical solution of this utility model, the calibration component, the carrier, and the code reader are arranged sequentially in the horizontal direction. The calibration component serves as a calibration plate, and the test lens is mounted on the carrier. Initially, there is a gap between the carrier and the code reader in the horizontal direction, which facilitates the installation and removal of the test lens. When testing is required, since at least one of the code reader and the carrier can move towards the other, the code reader and / or the carrier can move, reducing the gap between them until the code reader can dock with the end of the test lens in the horizontal direction, thereby achieving signal docking.
[0029] Alternatively, the carrier can be fixed in place while the barcode reader moves toward the carrier, gradually approaching the test lens until it contacts the horizontal end of the test lens. Or, the barcode reader can be fixed in place while the carrier moves toward the reader, gradually approaching the test lens until the end of the test lens facing the reader can mate with it. Another option is to move both the carrier and the barcode reader simultaneously, allowing the test lens and reader to approach each other and ultimately mate.
[0030] Based on this signal-connecting barcode reader, the currently connected lens can be controlled to automatically adjust its focus until a clear image on the calibration piece can be recognized. At this point, by acquiring information or uploading data from the barcode reader, the operator can record the focusing parameters of the currently connected lens, such as the number of focusing rotations and the movement distance. This allows the operator to obtain the error values of different lenses under a fixed working distance when the image is clear. Corresponding compensation can be performed at the software level, thus avoiding repeated adjustments when assembling different barcode readers of the same model. Attached Figure Description
[0031] To more clearly illustrate the technical solutions in the embodiments of this utility model or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this utility model. For those skilled in the art, other drawings can be obtained based on the structures shown in these drawings without creative effort.
[0032] Figure 1 A schematic diagram of the structure of an embodiment (an angle) of the lens focusing test device provided by this utility model;
[0033] Figure 2 for Figure 1 A schematic diagram of the lens focusing test device (from another angle);
[0034] Figure 3 for Figure 1 A magnified schematic diagram of part A in the middle.
[0035] Explanation of icon numbers:
[0036] 100. Lens focusing test device; 1. Base; 2. Support component; 21. Support seat; 22. Movable seat; 23. Bracket; 24. Turntable; 3. Calibration component; 31. Second support; 32. Chart; 4. Reading component; 41. Code reader; 42. First support; 5. Camera; 6. Display screen; a. Test lens.
[0037] The realization of the purpose, functional features and advantages of this utility model will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0038] The technical solutions of the present utility model will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of the present utility model, and not all embodiments. Based on the embodiments of the present utility model, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the protection scope of the present utility model.
[0039] It should be noted that if the embodiments of this utility model involve directional indication, the directional indication is only used to explain the relative positional relationship and movement of each component in a specific posture. If the specific posture changes, the directional indication will also change accordingly.
[0040] Furthermore, if the embodiments of this utility model involve descriptions such as "first" or "second," these descriptions are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of indicated technical features. Therefore, features defined with "first" or "second" may explicitly or implicitly include at least one of those features. Additionally, the technical solutions of the various embodiments can be combined with each other, but this must be based on the ability of those skilled in the art to implement them. If the combination of technical solutions is contradictory or impossible to implement, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection claimed by this utility model.
[0041] Please refer to Figures 1 to 3The lens focusing test device 100 includes a base 1, a support component 2, a calibration component 3, and a reading component 4. The support component 2 is disposed on the base 1 and includes a support seat 21 for mounting the test lens a. The calibration component 3 is disposed on the base 1 and is located on the horizontal side of the support seat 21. The reading component 4 includes a barcode reader 41 disposed on the base 1 and is located on the side of the support seat 21 facing away from the calibration component 3. At least one of the barcode reader 41 and the support seat 21 can move toward the other so that the barcode reader 41 engages with the horizontal end of the test lens a on the support seat 21. The barcode reader 41 is used to control the test lens a to automatically focus in order to identify a clear image on the calibration component 3 and to record the focusing parameters of the test lens a.
[0042] In the technical solution of this utility model, the calibration component 3, the carrier 21, and the code reader 41 are arranged sequentially in the horizontal direction. The calibration component 3 serves as a calibration plate, and the test lens a is mounted on the carrier 21. Initially, there is a gap between the carrier 21 and the code reader 41 in the horizontal direction, which facilitates the installation and removal of the test lens a. When testing is required, since at least one of the code reader 41 and the carrier 21 can move towards the other, the code reader 41 and / or the carrier 21 are driven to move, thereby reducing the gap between them until the code reader 41 can dock with the end of the test lens a in the horizontal direction, thereby achieving signal docking.
[0043] Alternatively, the carrier 21 can be fixed, while the reader 41 is driven to move towards the carrier 21, causing the reader 41 to gradually approach the test lens a until it contacts the horizontal end of the test lens a. Or, the reader 41 can be fixed, while the carrier 21 is driven to move towards the reader 41, causing the test lens a to gradually approach the reader 41 until the end of the test lens a facing the reader 41 can mate with the reader 41. Alternatively, both the carrier 21 and the reader 41 can be driven to move simultaneously, allowing the test lens a and the reader 41 to approach each other and ultimately mate.
[0044] Based on this signal docking, the barcode reader 41 can control the docked lens to perform automatic focus adjustment until a clear image on the calibration piece 3 can be recognized. At this point, by acquiring information from or uploading data from the barcode reader 41, the operator can record the focusing parameters of the docked lens, such as the number of focusing rotations and the movement distance. This allows the operator to obtain the error values of different lenses under a fixed working distance when the image is clear. Corresponding compensation can be performed at the software level, thereby avoiding repeated debugging when assembling different barcode readers of the same model.
[0045] The focusing parameters of different lenses obtained during testing can be recorded into the identification code on the inspected lens. During subsequent assembly, only the corresponding information needs to be identified to adjust the parameters according to the program, thus ensuring consistency. This avoids manual adjustments by technicians on each machine at the assembly site, which is beneficial for mass production. It solves the problem of poor consistency of autofocus parameters caused by batch copying parameters using the barcode reader 41, reduces the debugging time of the barcode reader 41 in field applications, and improves the overall testing efficiency of the barcode reader 41.
[0046] In applications such as machine vision, image measurement, photogrammetry, and 3D reconstruction, a geometric model of the image formed by camera 5 is needed to correct lens distortion, determine the conversion relationship between physical dimensions and pixels, and determine the relationship between the 3D geometric position of a point on the surface of a spatial object and its corresponding point in the image. A flat plate with a fixed-spacing pattern array serves as a calibration plate. In this embodiment, during testing, calibration component 3 is used as the calibration plate. The position of calibration component 3 should remain fixed, ensuring a fixed distance between it and different test lenses a after docking with the code reader 41.
[0047] It should be understood that the carrier 21 can be configured to move in the horizontal direction, the barcode reader 41 can be configured to move in the horizontal direction, or both the carrier 21 and the barcode reader 41 can be configured to move in the horizontal direction.
[0048] In this embodiment, the support assembly 2 further includes a movable seat 22, which is movably disposed on the base 1 along a first horizontal direction; a support seat 21 is movably disposed on the movable seat 22 along a second horizontal direction; the calibration component 3 and the code reader 41 are respectively located on both sides of the support seat 21 along the first horizontal direction. At this time, the position of the support seat 21 can be adjusted in the first and second horizontal directions. Specifically, the first and second horizontal directions correspond to the X-axis and Y-axis, respectively, with the first horizontal direction corresponding to the X-axis and the second horizontal direction corresponding to the Y-axis, and the X-axis and Y-axis being perpendicular to each other. The calibration component 3, test lens a, and barcode reader 41 are arranged sequentially along the X-axis. Test lens a is movably mounted on the receiving seat 21, and through the cooperation of the movable seat 22 and the bearing seat 21, test lens a can be adjusted in both the Y-axis and X-axis directions. This allows test lens a to be adjusted in the Y-axis direction, ensuring that the mating ends of test lens a and barcode reader 41 are concentric, guaranteeing accurate signal connection between test lens a and barcode reader 41. Adjustment in the X-axis direction can accommodate different models and specifications of barcode reader 41 and lens, while also enabling contact between test lens a and barcode reader 41 to achieve lens focusing signal communication.
[0049] It should be noted that this utility model does not limit the movement mode of the support seat 21 and the movable seat 22. In this embodiment, the movable seat 22 is slidably installed through the cooperation of a motor, a lead screw, and a rail, and the support seat 21 is slidably installed through the cooperation of a motor, a lead screw, and a rail. In other embodiments, it can also be achieved through the cooperation of a cylinder, a motor sprocket, or other structures.
[0050] It should be understood that only one test lens a can be placed on the carrier 21 at a time, and it can be replaced after each test. In order to improve the detection efficiency, in some embodiments, the carrier component 2 also includes a bracket 23 and a turntable 24. The bracket 23 is vertically arranged on the carrier 21. The turntable 24 is rotatably mounted on the bracket 23 along the axis extending along the X-axis. The turntable 24 is used to install multiple test lenses a. The multiple test lenses a are evenly arranged along the circumference of the turntable 24. When the turntable 24 rotates along the axis extending along the X-axis, it drives the multiple test lenses a to rotate synchronously, so that the positions of the multiple test lenses a change. Thus, by controlling the rotation angle, the test lens a switched to the top of the turntable 24 can be controlled. When the turntable 24 stops after rotating a certain angle each time, the test lens a located at the top can correspond to the docking end of the barcode reader 41. Thus, by controlling the rotation rhythm of the turntable 24, multiple test lenses a can be switched to the top of the turntable 24 in sequence. The rotation of the turntable 24 is controlled to switch the test lens a that is docked with the barcode reader 41, and the docking positions of the barcode reader 41 and multiple test lenses a can be fine-tuned. It should be understood that the rotation axis of the turntable 24 is determined by the arrangement of the test lenses a on the turntable 24. In other embodiments, multiple test lenses a are arranged on the end face of the turntable 24 on one side of the Y-axis. In this case, the multiple test lenses a need to be staggered in the Y-axis direction to avoid obstructing each other. Each time the turntable 24 rotates, the test lens a closest to the barcode reader 41 becomes the target detection lens, and docking is achieved through fine-tuning in both the Y and X axes.
[0051] In this embodiment, the turntable 24 has multiple mounting holes on the side facing the barcode reader 41. These mounting holes are arranged at intervals along the circumference of the turntable 24 and are used for mounting multiple test lenses a. Specifically, the turntable 24 has multiple mounting holes on the side facing the barcode reader 41, and each test lens a extends along the X-axis. After installation, both ends of each test lens a along the X-axis are exposed externally. The end facing the barcode reader 41 is the mechanical docking end, and the end facing the calibration component 3 is the imaging end. The turntable 24 rotates along the X-axis, and the test lens a at the top is the target detection lens.
[0052] The turntable 24 is mounted on the bracket 23 via a rotating shaft, which is driven to rotate by a motor and a timing belt. In other embodiments, the turntable 24 may also be driven to rotate by a motor and gears; this invention does not impose any limitations on this method.
[0053] It should be understood that each test lens a should be detachably installed in each mounting hole. In order to prevent the test lens a from coming off during the test, a limiting structure or fastening structure can be added at the mounting hole to ensure the position of the test lens a.
[0054] Please refer to Figure 2 The reading component 4 also includes a first support 42, which is vertically mounted on the base 1 and can move towards or away from the support 21 along the X-axis. The barcode reader 41 is fixedly mounted on the first support 42. Specifically, in order to ensure the high-precision fit between the barcode reader 41 and the test lens a, the barcode reader 41 can be fixed on the first support 42 by a corresponding barcode reader 41 mounting bracket. By adjusting the movement of the first support 42, the position of the barcode reader 41 in the X-axis direction can be adjusted, thereby facilitating test docking and product adaptation.
[0055] This utility model does not limit the movement mode of the first support 42. In this embodiment, the first support 42 is slidably installed by the cooperation of a motor, a lead screw and a track. Specifically, the first support 42 and the bearing seat 21 can be located on the same track.
[0056] Furthermore, please refer to [the website / platform] again. Figure 1 The lens focusing test device 100 also includes a visual inspection device. The detection area of the visual inspection device covers both the barcode reader 41 and the test lens a, enabling it to detect the docking status of the docking end of the barcode reader 41 and the test lens a. This is to determine the docking position and status of the test lens a and the barcode reader 41 through the detection results of the visual inspection device during the test, thereby correcting deviations in a timely manner and ensuring accurate signal docking between the test lens a and the barcode reader 41.
[0057] The specific structure of the visual inspection device is not limited. Visual inspection can be performed by camera 5, or by proximity switch, infrared sensor switch, etc.
[0058] In this embodiment, the visual inspection device includes a camera 5, which is fixedly mounted on a first support 42 and offset from the barcode reader 41 in the X-axis direction. That is, both the camera 5 and the barcode reader 41 move synchronously through the first support 42, maintaining the relative fixed position of the camera 5 and the barcode reader 41. Specifically, the shooting side of the camera 5 should face the barcode reader 41. When the barcode reader 41 is aligned with the test lens a along the X-axis, the shooting side of the camera 5 can be set along the Y-axis or in the vertical direction.
[0059] It should be understood that the barcode reader 41 is fixed by the barcode reader 41 mounting bracket, and the camera 5 is fixed by the camera 5 mounting bracket.
[0060] Furthermore, the calibration component 3 is movably mounted on the base 1, allowing it to move closer to or further away from the support 21. This means the position of the calibration component 3 is adjustable. This design allows for reasonable adjustment of the test distance between the calibration component 3 and the test lens a according to different lens models, thus providing better versatility.
[0061] Specifically, the calibration component 3 includes a second support 31 and a pattern card 32. The second support 31 is movably mounted on the base 1; the pattern card 32 is detachably mounted on the second support 31. In this embodiment, during the mechanical autofocus process, the sharpness of the test lens a is determined by the coordinates of the image on the contour detection pattern card 32. Correspondingly, it can also be replaced by visual algorithms such as edge finding, circle finding, or template matching.
[0062] It should be understood that the first support 42, the second support 31 and the movable seat 22 are all on the same track and can be set to electric or manual adjustment according to actual needs.
[0063] For ease of control and adjustment, the lens focusing test device 100 also includes a display screen 6 fixed to the base 1. The display screen 6 is electrically connected to the barcode reader 41, and should also be electrically connected to the drive and control terminals of the corresponding structure, so that parameters can be adjusted on the display screen 6. For example, when changing to different types of lenses, different mechanical parameters can be changed.
[0064] It should be understood that the display screen 6 can be mounted on the reader 41 mounting bracket or the camera 5 mounting bracket, or it can be placed separately on the base 1.
[0065] In addition, a corresponding lifting and adjusting structure can be set so that the position of the barcode reader 41 and / or the camera 5 is adjustable in the vertical direction.
[0066] The barcode reader 41 and the test lens a are connected mechanically. Please refer to [the relevant documentation]. Figure 3 The reader 41 has a ring structure at its docking end, with three elastic pins inside the ring structure. When the test lens a docks with the reader 41, the elastic pins contact the mechanical parts inside the test lens a, thus establishing a circuit connection. After signal docking, the reader 41 can drive the test lens a to complete the image focus adjustment.
[0067] Based on the above embodiments, the testing principle of the lens focusing testing device 100 is as follows:
[0068] The distance between test lens a and calibration component 3 is determined according to the lens specifications. This allows adjustment of the positions of calibration component 3 and code reader 41 to establish a fixed working distance. After displacement adjustment, the first test lens a is connected to the code reader 41. At this working distance, it requires 1000 rotations to achieve clear focus. After recording the information, the position of turntable 24 is controlled to change. The above steps are repeated to obtain the second test lens a, which requires 990 rotations to achieve clear focus at the same working distance. The third test lens a requires 1010 rotations to achieve clear focus at the same working distance, and so on. Based on the factory information of test lens a, the basic parameter of test lens a can be determined as a. By comparing the obtained rotation step information with a, the error value of the lens in a clear state at a fixed working distance can be obtained. The error is compensated at the software level, i.e., the recorded information is a-10, a+10, etc., to ensure the imaging quality of the lens in actual use.
[0069] Furthermore, it should be noted that while there is a certain degree of linearity between the number of rotation steps of the test lens and sharpness, this linearity may be affected in practical applications due to the inherent optical characteristics of the lens and the complexity of environmental factors. Therefore, although theoretically calibration at one working distance is applicable to all working distances for lenses from the same batch, appropriate verification and adjustments are also performed at other working distances to ensure accuracy.
[0070] The above are merely preferred embodiments of this utility model and do not limit the patent scope of this utility model. Any equivalent structural transformations made based on the contents of this utility model specification and drawings under the utility model concept, or direct / indirect applications in other related technical fields, are included within the patent protection scope of this utility model.
Claims
1. A lens focusing test device, characterized in that, include: Base; A support assembly, disposed on the base, includes a support for mounting a test lens; A calibration element, disposed on the base and located on one side of the support in the horizontal direction; and, The reading component includes a barcode reader disposed on the base, the barcode reader being located on the side of the support facing away from the calibration element; At least one of the barcode reader and the carrier is movable toward the other so that the barcode reader engages with the test lens located on the carrier at its horizontal end. The barcode reader is used to control the test lens to autofocus in order to identify a clear image on the calibration piece and to record the focus parameters of the test lens.
2. The lens focusing test device as described in claim 1, characterized in that, The supporting component further includes a movable seat, which is movably disposed on the base along a first horizontal direction; The support seat is movably mounted on the movable seat along the second horizontal direction; The calibration component and the barcode reader are located on opposite sides of the support base along the first horizontal direction.
3. The lens focusing test device as described in claim 1 or 2, characterized in that, The carrier component also includes: A bracket is disposed on the support; and, A turntable is rotatably mounted on the bracket along a horizontally extending axis. The turntable is used to mount multiple test lenses so that, during the rotation of the turntable, the multiple test lenses sequentially correspond to the docking end of the barcode reader.
4. The lens focusing test device as described in claim 3, characterized in that, The turntable has multiple mounting holes on the side facing the barcode reader. These mounting holes are arranged at intervals along the circumference of the turntable and are used for mounting the test lens.
5. The lens focusing test device as described in claim 1, characterized in that, The reading component also includes a first support, which is movably disposed on the base and can move toward or away from the support. The barcode reader is fixedly installed on the first support.
6. The lens focusing test device as described in claim 1, characterized in that, The lens focusing test device also includes a visual inspection device fixed to the base. The detection area of the visual inspection device covers the barcode reader and the test lens, so as to detect the docking status of the docking end of the barcode reader and the test lens.
7. The lens focusing test apparatus as described in claim 6, characterized in that, The reading component also includes a first support, which is movably disposed on the base and can move toward or away from the support. The barcode reader is fixedly installed on the first support; The visual inspection device includes a camera, which is fixedly mounted on the first support and is horizontally offset from the barcode reader.
8. The lens focusing test apparatus as described in claim 1, characterized in that, The calibration component is movably mounted on the base and can move towards or away from the support.
9. The lens focusing test apparatus as described in claim 8, characterized in that, The calibration components include: A second support is movably mounted on the base; and, The card can be detachably installed onto the second support.
10. The lens focusing test apparatus as described in claim 1, characterized in that, The lens focusing test device also includes a display screen fixed to the base, and the display screen is electrically connected to the barcode reader.