Optical system and method for reading discrete multi-codes using a low-resolution camera
By using mirror technology in low-resolution camera optical system, the light of multiple QR codes is focused on the camera, solving the problems of high cost and slow speed of reading multiple codes in the prior art, and achieving high efficiency and low Cost QR code reading.
Patent Information
- Application Number
- CN202011006697.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-23
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2040-09-23
AI Technical Summary
The prior art requires high-resolution cameras or mobile mechanisms when quickly reading QR codes on multiple products, resulting in high cost, slow decoding speed and complex spatial design.
Design an optical system using a low-resolution camera, focusing multiple QR code light on the camera's imaging lens through spaced mirrors, and using telephoto lenses or telecentric lenses to achieve tight arrangement within the camera's field of view. , reduce resolution requirements and calculation pressure.
Improves pixel utilization efficiency, reduces transmission bandwidth and processor computing pressure, reduces system costs, and achieves fast and economical multi-code reading.
Smart Images

Figure CN112101054B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of barcode scanning technology, and in particular to an optical system and method for reading discrete multi-codes using a low-resolution camera. Background Art
[0002] Barcodes, including one-dimensional codes and two-dimensional codes, can indicate a lot of information such as the country of origin, manufacturer, product name, production date, book classification number, mail start and end locations, category, date, etc., and are therefore widely used in many fields such as commodity circulation, library management, postal management, and banking systems.
[0003] With the increasing requirements for tracking and tracing of various components in the manufacturing process, reading high-density codes on tiny components has become a challenge. The size of a 20*20 grid QR code can be less than 1mm*1mm. Multiple products can be placed in a product tray, and the center distance between each two products is 10 times or even 100 times the size of the barcode.
[0004] In order to quickly read the QR codes on multiple products, there are currently two main ways to implement it: one is to use a high-resolution camera whose field of view covers the entire product pallet. The camera can be a two-dimensional array camera or a single-line array camera. The line array camera needs to move the relative position of the camera and the pallet to complete the scanning of the entire pallet; the second is to use a lower-resolution camera, which can read the QR code on a single product, and then move the camera to the top of each QR code, or move the pallet so that the QR code to be read is within the camera's field of view, and read the QR codes of multiple products on the pallet one by one. The first method has high requirements for camera resolution, signal transmission bandwidth, and processor computing power, and the decoding speed is slow, especially for single-line scanning cameras, and the cost is high. The second method is cheaper than the first method, but adds a moving mechanism, which has higher requirements for the spatial design of the production line and the reliability of the mechanism design, and the overall decoding speed is slower than the first method. Summary of the invention
[0005] The purpose of the present invention is to solve the shortcomings existing in the prior art, and to propose an optical system and method for reading discrete multiple codes using a low-resolution camera. Based on a relatively low-resolution camera, an optical system with a divided field of view is designed to closely arrange multiple spatially discrete two-dimensional codes within the camera's field of view, thereby improving pixel utilization efficiency, reducing transmission bandwidth requirements, reducing processor computing pressure, and reducing costs.
[0006] To achieve the above object, the present invention adopts the following technical solutions:
[0007] An optical system for reading discrete multi-codes using a low-resolution camera comprises a camera, n two-dimensional codes arranged at intervals, n first reflectors and n second reflectors, wherein the optical axis of the camera is perpendicular to an object plane and is located in the middle of the n two-dimensional codes; one two-dimensional code corresponds to one first reflector and one second reflector, and a line connecting the center of each first reflector and the center of the corresponding two-dimensional code is parallel to the optical axis of the camera; the n second reflectors are arranged in the field of view of the camera, and light from each two-dimensional code is reflected to the corresponding second reflector by the corresponding first reflector, and then reflected to the imaging lens of the camera by the corresponding second reflector, and is imaged on the image plane of the camera.
[0008] Among them, n is an even number, the position of each QR code is recorded as Ai (i=1, 2, 3...n), the distance from the optical center of the imaging lens of the camera to the object plane is recorded as object distance u; the position of each first reflector is recorded as Bi (i=1, 2, 3...n); the position of each second reflector is recorded as Ci (i=1, 2, 3...n), the position of each QR code reflected on the imaging lens of the camera is recorded as Di (i=1, 2, 3...n), u, Ai, Bi, Ci, Di satisfy the following relationship: AiBi+BiCi+CiDi=u (i=1, 2, 3...n).
[0009] Preferably, the camera adopts a telephoto lens or a telecentric lens.
[0010] According to another aspect of the present invention, there is also provided a method for reading discrete multi-codes using a low-resolution camera, comprising the following steps:
[0011] Step S1: Setting a camera so that the field of view of the camera faces n two-dimensional codes arranged at intervals, the optical axis of the camera is perpendicular to the object plane, and the optical axis of the camera is located in the middle of the n two-dimensional codes;
[0012] Step S2: n first reflectors are arranged so that the first reflectors correspond to the two-dimensional codes one by one, and a line connecting the center of each first reflector and the center of the corresponding two-dimensional code is parallel to the optical axis of the camera;
[0013] Step S3: n second reflectors are arranged within the field of view of the camera, one QR code corresponds to one first reflector and one second reflector, and the light from each QR code is reflected by the corresponding first reflector to the corresponding second reflector, and then reflected by the corresponding second reflector to the imaging lens of the camera, and imaged on the image plane of the camera.
[0014] Among them, n is an even number, the position of each QR code is recorded as Ai (i=1, 2, 3...n), the distance from the optical center of the imaging lens of the camera to the object plane is recorded as object distance u; the position of each first reflector is recorded as Bi (i=1, 2, 3...n); the position of each second reflector is recorded as Ci (i=1, 2, 3...n), the position of each QR code reflected on the imaging lens of the camera is recorded as Di (i=1, 2, 3...n), u, Ai, Bi, Ci, Di satisfy the following relationship: AiBi+BiCi+CiDi=u (i=1, 2, 3...n).
[0015] Preferably, the camera adopts a telephoto lens or a telecentric lens.
[0016] Compared with the prior art, the beneficial effects of the present invention are as follows: the present invention adopts a telephoto lens or a telecentric lens, which can maintain a smaller imaging object surface at a longer working distance; based on a lower resolution camera, a field-of-view optical system is designed to closely arrange multiple spatially discrete two-dimensional codes within the camera's field of view, thereby greatly improving the pixel utilization efficiency, reducing the transmission bandwidth requirements, reducing the processor's computing pressure, and greatly reducing costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 This is a schematic diagram of the imaging principle of a camera in an optical system for reading discrete multi-codes using a low-resolution camera according to Embodiment 1 of the present invention;
[0018] Figure 2 This is an optical principle diagram of an optical system for reading discrete multi-codes using a low-resolution camera according to Embodiment 1 of the present invention;
[0019] Figure 3 This is a schematic structural diagram of an object plane in an optical system for reading discrete multi-codes using a low-resolution camera according to Embodiment 1 of the present invention;
[0020] Figure 4 This is a schematic diagram of an image formed on an image plane in an optical system for reading discrete multi-codes using a low-resolution camera according to Embodiment 1 of the present invention.
[0021] In the figure, 1-tray, 2-object, 10-camera, 11-imaging lens, 12-image plane, 20-QR code, 30-first reflector, 40-second reflector, 50-object plane. DETAILED DESCRIPTION
[0022] In order to provide a further understanding of the purpose, structure, features, and functions of the present invention, the following detailed description is given in conjunction with the embodiments.
[0023] See also Figure 1 , Figure 1This is a schematic diagram of the imaging principle of a camera in an optical system that uses a low-resolution camera to read discrete multiple codes according to Example 1 of the present invention: after the light from the object plane 50 passes through the imaging lens 11 of the camera 10, a clear image is presented on the image plane 12 of the camera 10; preferably, the camera 10 adopts a telephoto lens or a telecentric lens, which can maintain a smaller imaging object plane at a longer working distance, and helps to arrange multiple spatially discrete two-dimensional codes closely within the camera's field of view; its requirements for camera resolution, signal transmission bandwidth, and processor computing power are not high, and the cost of use is low.
[0024] The present invention discloses an optical system for reading discrete multi-codes using a low-resolution camera, comprising a camera 10, n two-dimensional codes 20 arranged at intervals, n first reflectors 30 and n second reflectors 40, wherein the optical axis of the camera 10 is perpendicular to an object plane 50, and is located in the middle of the n two-dimensional codes 20; one two-dimensional code 20 corresponds to one first reflector 30 and one second reflector 40, and a line connecting the center of each first reflector 30 and the center of the corresponding two-dimensional code 20 is parallel to the optical axis of the camera 10; the n second reflectors 40 are arranged in the field of view of the camera 10, and light from each two-dimensional code 20 is reflected to the corresponding second reflector 40 by the corresponding first reflector 30, and then reflected to the imaging lens 11 of the camera 10 by the corresponding second reflector 40, and is imaged on the image plane 12 of the camera 10.
[0025] Among them, n is an even number, the position of each two-dimensional code 20 is recorded as Ai (i=1, 2, 3...n), the distance from the optical center of the imaging lens 11 of the camera 10 to the object plane 50 is recorded as the object distance u; the position of each first reflector 30 is recorded as Bi (i=1, 2, 3...n); the position of each second reflector 40 is recorded as Ci (i=1, 2, 3...n), the position of each two-dimensional code 20 reflected on the imaging lens 11 of the camera 10 is recorded as Di (i=1, 2, 3...n), u, Ai, Bi, Ci, Di satisfy the following relationship: AiBi+BiCi+CiDi=u (i=1, 2, 3...n), AiBi refers to the distance from Ai to Bi, BiCi refers to the distance from Bi to Ci, CiDi refers to the distance from Ci to Di, i=1, 2, 3...n.
[0026] According to another aspect of the present invention, there is also provided a method for reading discrete multi-codes using a low-resolution camera, comprising the following steps:
[0027] Step S1: Setting the camera 10 so that the field of view of the camera 10 faces the n two-dimensional codes 20 arranged at intervals, the optical axis of the camera 10 is perpendicular to the object plane 50, and the optical axis of the camera 10 is located in the middle of the n two-dimensional codes 20;
[0028] Step S2: n first reflectors 30 are arranged so that the first reflectors 30 correspond to the two-dimensional codes 20 one by one, and a line connecting the center of each first reflector 30 and the center of the corresponding two-dimensional code 20 is parallel to the optical axis of the camera 10;
[0029] Step S3: n second reflectors 40 are set within the field of view of the camera 10, one QR code 20 corresponds to one first reflector 30 and one second reflector 40, and the light from each QR code 20 is reflected by the corresponding first reflector 30 to the corresponding second reflector 40, and then reflected by the corresponding second reflector 40 to the imaging lens 11 of the camera 10, and imaged on the image plane 12 of the camera 10.
[0030] Among them, n is an even number, the position of each two-dimensional code 20 is recorded as Ai (i=1, 2, 3...n), the distance from the optical center of the imaging lens 11 of the camera 10 to the object plane 50 is recorded as the object distance u; the position of each first reflector 30 is recorded as Bi (i=1, 2, 3...n); the position of each second reflector 40 is recorded as Ci (i=1, 2, 3...n), the position of each two-dimensional code 20 reflected on the imaging lens 11 of the camera 10 is recorded as Di (i=1, 2, 3...n), u, Ai, Bi, Ci, Di satisfy the following relationship: AiBi+BiCi+CiDi=u (i=1, 2, 3...n), AiBi refers to the distance from Ai to Bi, BiCi refers to the distance from Bi to Ci, CiDi refers to the distance from Ci to Di, i=1, 2, 3...n.
[0031] For details, please refer to Figures 2 to 4 , Figure 2 This is an optical principle diagram of an optical system for reading discrete multi-codes using a low-resolution camera according to Embodiment 1 of the present invention. Figure 3 1 is a schematic diagram of the structure of an object plane in an optical system for reading discrete multi-codes using a low-resolution camera according to Embodiment 1 of the present invention. Figure 4The figure is a schematic diagram of an image formed on an image plane in an optical system that uses a low-resolution camera to read discrete multi-codes according to Embodiment 1 of the present invention. Six objects 2 are arranged at intervals on an object plane tray 1, and a two-dimensional code 20 is arranged on each object 2. The position of each two-dimensional code 20 is recorded as Ai (i=1, 2, 3, 4, 5, 6). The camera 10 adopts a telephoto lens or a telecentric lens. There is a long working distance between the camera 10 and the object plane 50. The optical axis of the camera 10 is perpendicular to the object plane 50, and the optical axis of the camera 10 is located in the middle of the six two-dimensional codes 20. The distance from the optical center of the imaging lens 11 of the camera 10 to the object plane 50 is recorded as the object distance u. One two-dimensional code 20 corresponds to one first reflector 30 and one second reflector 40. The line connecting the center of each first reflector 30 and the center of the corresponding two-dimensional code 20 is parallel to the optical axis of the camera 10. The six second reflectors 40 are arranged in the field of view of the camera 10. , and the light of each two-dimensional code 20 is reflected by the corresponding first reflector 30 to the corresponding second reflector 40, and then reflected by the corresponding second reflector 40 to the imaging lens 11 of the camera 10, and six closely arranged images are presented on the image plane 12 of the camera 11; the position of each first reflector 30 is recorded as Bi (i=1, 2, 3, 4, 5, 6); the position of each second reflector 40 is recorded as Ci (i=1, 2, 3, 4, 5, 6); the position of each two-dimensional code 20 reflected on the imaging lens 11 of the camera 10 is recorded as Di (i=1, 2, 3, 4, 5, 6); u, Ai, Bi, Ci, Di satisfy the following relationship: AiBi+BiCi+CiDi=u (i=1, 2, 3, 4, 5, 6). The present invention designs an optical system with a divided field of view (such as Figure 2 As shown in Figure 2, multiple spatially discrete QR codes (such as Figure 3 The image formed by the optical system (as shown) Figure 4 As shown in the figure, the pixels are tightly arranged into the camera's field of view, which greatly improves the pixel utilization efficiency, reduces the transmission bandwidth requirements, reduces the processor's computing pressure, and greatly reduces the cost.
[0032] In summary, the present invention provides an optical system and method for reading discrete multiple codes using a low-resolution camera. By using a telephoto lens or a telecentric lens, a smaller imaging object plane can be maintained at a longer working distance. Based on a relatively low-resolution camera, a field-of-view optical system is designed to closely arrange multiple spatially discrete two-dimensional codes within the camera's field of view, thereby greatly improving pixel utilization efficiency, reducing transmission bandwidth requirements, reducing processor computing pressure, and greatly reducing costs.
[0033] The present invention has been described by the above-mentioned relevant embodiments, however, the above-mentioned embodiments are only examples for implementing the present invention. It must be pointed out that the disclosed embodiments do not limit the scope of the present invention. On the contrary, changes and modifications made without departing from the spirit and scope of the present invention are all within the scope of patent protection of the present invention.
Claims
1. An optical system for reading discrete multi-codes using a low-resolution camera, characterized in that: The invention comprises a camera, n two-dimensional codes arranged at intervals, n first reflectors and n second reflectors, wherein the optical axis of the camera is perpendicular to the object plane and is located in the middle of the n two-dimensional codes; one two-dimensional code corresponds to one first reflector and one second reflector, and the line connecting the center of each first reflector and the center of the corresponding two-dimensional code is parallel to the optical axis of the camera; the n second reflectors are arranged in the field of view of the camera, and the light from each two-dimensional code is reflected to the corresponding second reflector by the corresponding first reflector, and then reflected to the imaging lens of the camera by the corresponding second reflector, and is imaged on the image plane of the camera; Among them, n is an even number, the position of each QR code is recorded as Ai (i=1, 2, 3...n), the distance from the optical center of the imaging lens of the camera to the object plane is recorded as object distance u; the position of each first reflector is recorded as Bi (i=1, 2, 3...n); the position of each second reflector is recorded as Ci (i=1, 2, 3...n), the position of each QR code reflected on the imaging lens of the camera is recorded as Di (i=1, 2, 3...n), u, Ai, Bi, Ci, Di satisfy the following relationship: AiBi+BiCi+CiDi=u (i=1, 2, 3...n).
2. The optical system for reading discrete multi-codes using a low-resolution camera as claimed in claim 1, characterized in that: The camera adopts a telephoto lens or a telecentric lens.
3. A method for reading discrete multi-codes using a low-resolution camera, characterized in that: The following steps are involved: Step S1: Setting a camera so that the field of view of the camera faces n two-dimensional codes arranged at intervals, the optical axis of the camera is perpendicular to the object plane, and the optical axis of the camera is located in the middle of the n two-dimensional codes; Step S2: n first reflectors are arranged so that the first reflectors correspond to the two-dimensional codes one by one, and a line connecting the center of each first reflector and the center of the corresponding two-dimensional code is parallel to the optical axis of the camera; Step S3: n second reflectors are arranged within the field of view of the camera, one QR code corresponds to one first reflector and one second reflector, and light from each QR code is reflected by the corresponding first reflector to the corresponding second reflector, and then reflected by the corresponding second reflector to the imaging lens of the camera, and imaged on the image plane of the camera; Among them, n is an even number, the position of each QR code is recorded as Ai (i=1, 2, 3...n), the distance from the optical center of the imaging lens of the camera to the object plane is recorded as object distance u; the position of each first reflector is recorded as Bi (i=1, 2, 3...n); the position of each second reflector is recorded as Ci (i=1, 2, 3...n), the position of each QR code reflected on the imaging lens of the camera is recorded as Di (i=1, 2, 3...n), u, Ai, Bi, Ci, Di satisfy the following relationship: AiBi+BiCi+CiDi=u (i=1, 2, 3...n).
4. The method for reading discrete multi-codes using a low-resolution camera as claimed in claim 3, characterized in that: The camera adopts a telephoto lens or a telecentric lens.
