Code reader detection system

By using a combination of a carrier plate and a reflector in the barcode reader inspection system, the barcode reader itself identifies and photographs functional lights and housing defects, solving the high cost problem caused by multi-angle shooting and achieving efficient and low-cost inspection.

CN120597902APending Publication Date: 2025-09-05SHENZHEN YANXIANG JINMA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510567333.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-30
Publication Date
2025-09-05

AI Technical Summary

Technical Problem

The existing code reader detection process requires multiple camera lenses to shoot from multiple angles, resulting in high detection costs.

Method used

A combination of a carrier plate, a reflector, and a code reader is used. The code reader recognizes the identification code reflected by the reflector, turns on the function light, and takes a test image to detect defects in the function light and the housing.

Benefits of technology

No additional shooting equipment is required, which reduces detection costs and improves detection efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120597902A_ABST
    Figure CN120597902A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of code readers, and discloses a code reader detection system, and the system comprises a bearing plate which is used for setting an identification code; the first reflecting mirror is arranged above the bearing plate, and the first reflecting mirror is used for reflecting the identification code; the code reader is arranged on the bearing plate, the code reader is provided with a function lamp, and the code reader is used for turning on the function lamp after identifying the identification code reflected by the first reflector; the first reflecting mirror is also used for reflecting and turning on a code reader of the functional lamp; the code reader is further used for shooting the code reader which is reflected by the first reflector and turns on the function lamp to obtain a detection image, and the detection image is used for detecting defects of the function lamp and the shell of the code reader. In this way, the detection cost of the code reader is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the technical field of code readers, and more particularly to a code reader detection system. Background Art

[0002] A barcode reader is an electronic device that can quickly and accurately read and interpret barcodes, QR codes, or other types of coded information. Existing barcode readers are typically equipped with functional lights, such as an illumination lamp, a positioning lamp, and an indicator lamp. During the manufacturing process, barcode readers are often inspected for functional lights and cosmetic defects. This involves checking each reader's functional lights for proper operation and for scratches, stains, and other defects.

[0003] Currently, multiple cameras are typically used to capture images of barcode readers from multiple angles. The captured images are then used to inspect the barcode reader's functional lights and appearance defects. However, this approach typically requires multiple camera lenses to be installed at various angles to capture images of the barcode reader housing, significantly increasing the cost of barcode reader inspection. Summary of the Invention

[0004] In view of the above problems, an embodiment of the present application provides a code reader detection system, which reduces the detection cost of the code reader.

[0005] According to one aspect of an embodiment of the present application, a code reader detection system is provided, which includes: a carrier plate for setting an identification code; a first reflector, arranged above the carrier plate, the first reflector being used to reflect the identification code; a code reader, arranged on the carrier plate, the code reader being provided with a function light, the code reader being used to turn on the function light after identifying the identification code reflected by the first reflector; the first reflector being further used to reflect the code reader with the function light turned on; the code reader being further used to photograph the code reader with the function light turned on reflected by the first reflector to obtain a detection image, and the detection image being used to detect defects in the function light and casing of the code reader.

[0006] In an optional manner, the code reader is further configured to detect functional lights and housing defects of the code reader based on the detection image.

[0007] In an optional embodiment, the code reader includes a lens, the functional light includes a code reading light, the lens and the code reading light are arranged in a housing and face the top of the housing, the top of the housing faces the first reflector, and the top of the housing is made of a light-transmitting material; the code reader is used to turn on the code reading light after identifying the identification code reflected by the first reflector; the first reflector is used to reflect the top of the housing to the lens, so that the lens captures a detection image including the code reading light.

[0008] In an optional embodiment, the functional light also includes an indicator light, which is arranged on the first side of the shell; the code reader is used to turn on the indicator light after identifying the identification code; a second reflector is provided on the supporting plate facing the first side, and the second reflector is used to reflect the first side to the first reflector; the first reflector is used to reflect the first side reflected by the second reflector to the lens, so that the lens can capture a detection image including the indicator light.

[0009] In an optional embodiment, a driving mechanism is further provided in the housing and connected to the lens; the code reader is used to capture the identification code reflected by the first reflector through the lens and identify the identification code; the driving mechanism is used to gradually adjust the distance between the lens and the first reflector to adjust the focal length of the code reader until the code reader recognizes the identification code and the code reader focuses on the code reflected by the first reflector.

[0010] In an optional embodiment, an identification code is provided on the second side of the housing; a third reflector is provided on the supporting plate facing the second side, and the third reflector is used to reflect the second side to the first reflector; the first reflector is used to reflect the second side reflected by the third reflector to the lens, so that the lens captures a detection image including the identification code, and the identification code is used to identify the code reader when the code reader is detected to be unqualified through the detection image.

[0011] In an optional embodiment, a fourth reflector is provided on the supporting plate facing the third side of the shell, and the fourth reflector is used to reflect the third side to the first reflector; the first reflector is used to reflect the third side reflected by the fourth reflector to the lens, so that the lens can capture a detection image including the third side.

[0012] In an optional embodiment, the code reader detection system also includes a transmission track, on which a carrier plate is provided, and the transmission track is used to drive the carrier plate to move along the transmission track; a female connector end is provided on the carrier plate, and the female connector end is communicatively connected with the code reader; a male connector end is provided on one side of the transmission track, and the male connector end is used to communicate with an external device, and the male connector end is also used to electrically connect with the female connector end when aligned with the female connector end, so that the code reader is communicatively connected with the external device.

[0013] In an optional embodiment, a limit switch is provided on the transmission track, which is used to generate a trigger signal when the carrier plate moves to the point where the male end of the connector is aligned with the female end of the connector, and send the trigger signal to the transmission track to stop the movement of the carrier plate.

[0014] In an optional embodiment, an ejection device is also provided on one side of the transmission track, and a male end of the connector is provided on the ejection device; the ejection device is electrically connected to the limit switch, and the limit switch is also used to send a trigger signal to the ejection device; the ejection device is used to eject the male end of the connector after receiving the trigger signal, so that the male end of the connector is electrically connected to the female end of the connector.

[0015] In the code reader inspection system provided by the embodiments of the present application, an identification code and a code reader are disposed on a carrier plate, and a first reflector is disposed above the carrier plate so that the first reflector can reflect the identification code toward the code reader, allowing the code reader to recognize the identification code. After recognizing the identification code, the code reader turns on the function light of the code reader, allowing the code reader to focus on the code reader with the function light turned on, as reflected by the first reflector, so that the code reader can capture a detection image of the code reader with the function light turned on. Defects in the function light and housing of the code reader can then be detected based on the detection image. In this manner, the code reader inspection system eliminates the need for other camera equipment or for capturing images of the code reader housing from various angles. Instead, the system utilizes the code reader's camera and code reading functions to detect its own function light and housing, significantly reducing the cost of code reader inspection.

[0016] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Various other advantages and benefits will become apparent to those skilled in the art upon reading the detailed description of the preferred embodiment below. The accompanying drawings are for illustration purposes only and are not to be considered as limiting the present application. The same reference symbols are used throughout the drawings to represent the same components. In the drawings:

[0018] Figure 1 A schematic diagram of the structure of a code reader detection system provided in an embodiment of the present application;

[0019] Figure 2 A three-dimensional diagram of a code reader provided in an embodiment of the present application;

[0020] Figure 3 An exploded diagram of the drive structure and lens provided in an embodiment of the present application;

[0021] Figure 4 A cross-sectional view of a code reader provided in an embodiment of the present application;

[0022] Figure 5A schematic structural diagram of a code reader detection system provided in an embodiment of the present application is shown.

[0023] The accompanying drawings in the specific implementation manner are as follows:

[0024] 10. Code reader detection system;

[0025] 100, carrier plate; 110, identification code; 120, female end of connector; 200, first reflector; 300, code reader; 311, code reading light; 3111, lighting lamp; 3112, positioning light; 312, indicator light; 320, housing; 321, top; 322, first side; 323, drive mechanism; 324, second side; 3241, identification code; 330, lens; 400, second reflector; 500, third reflector; 600, fourth reflector; 700, transmission track; 710, male end of connector; 720, limit switch; 730, ejection device. DETAILED DESCRIPTION

[0026] The following embodiments of the technical solution of the present application will be described in detail with reference to the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present application and are therefore only examples and are not intended to limit the scope of protection of the present application.

[0027] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" and any variations thereof in the specification and claims of this application and the above-mentioned figure descriptions are intended to cover non-exclusive inclusions.

[0028] In the description of the embodiments of this application, the technical terms "first" and "second" are used only to distinguish different objects and should not be understood to indicate or imply relative importance or implicitly specify the quantity, specific order, or primary and secondary relationship of the indicated technical features. In the description of the embodiments of this application, the meaning of "plurality" is more than two, unless otherwise clearly and specifically defined.

[0029] References herein to "embodiments" mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0030] In the description of the embodiments of this application, the term "and / or" is simply a description of the association relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent the following three situations: A exists, A and B exist at the same time, and B exists. In addition, the character " / " in this document generally indicates that the associated objects are in an "or" relationship.

[0031] In the description of the embodiments of the present application, the term "multiple" refers to more than two (including two). Similarly, "multiple groups" refers to more than two groups (including two groups), and "multiple pieces" refers to more than two pieces (including two pieces).

[0032] In the description of the embodiments of the present application, the technical terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc., indicating the orientation or position relationship, are based on the orientation or position relationship shown in the accompanying drawings, and are only for the convenience of describing the embodiments of the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the embodiments of the present application.

[0033] In the description of the embodiments of the present application, unless otherwise expressly specified or limited, technical terms such as "installed," "connected," "connected," and "fixed" should be understood in a broad sense. For example, they can refer to fixed connections, detachable connections, or integration; mechanical connections or electrical connections; direct connections or indirect connections through an intermediate medium; internal connections between two components or interactions between two components. Those skilled in the art can understand the specific meanings of the above terms in the embodiments of the present application based on specific circumstances.

[0034] Barcode readers typically use optical sensors or cameras to capture images and convert coded information into recognizable data using built-in decoding algorithms. In automated product inspection, industrial barcode readers can automatically read the different states of product barcodes or QR codes to control the start and stop of production lines, enabling automated inspection and quality control, reducing manual intervention and lowering production costs.

[0035] Existing industrial code readers are typically equipped with functional lights such as lighting, positioning, and indicator lights. The lighting illuminates the barcode or QR code of the target object being read during code reading, ensuring that the code reader can clearly capture the image of the barcode or QR code, thereby improving the success rate and accuracy of code reading. The positioning light is used to locate the field of view of the target object, helping the operator accurately place the barcode or QR code to be read within the effective reading range of the code reader, which can improve code reading efficiency. The indicator light is used to indicate the working status of the code reader, such as power status, code reading success or failure, and whether the device is operating normally, making it easier for the operator to understand the operating status of the code reader in a timely manner. In summary, the above-mentioned functional lights ensure that the code reader can operate efficiently and stably in various complex environments by providing sufficient light, assisting positioning, and providing real-time feedback on device status. Their normal operation is an important guarantee for industrial code readers to read barcodes or QR codes quickly and accurately.

[0036] During the manufacturing process of barcode readers, it is usually necessary to inspect the functional lights and appearance defects of the barcode readers to check whether the functional lights of each barcode reader are working properly and whether there are scratches, stains, etc. on the appearance of the barcode reader to ensure the performance of the barcode reader.

[0037] Specifically, the functional lights and appearance of each barcode reader can be manually inspected to determine if there are any defects. Unqualified barcode readers can then be refurbished. However, prolonged observation of the functional lights by testers can easily damage the eyes and increase the risk of missed inspections.

[0038] To address this issue, multiple cameras can be used to capture images of the barcode reader from multiple angles. These images are then transmitted to a processor in an industrial computer or other device. Machine vision can then be used to compare and determine whether the barcode reader's functional lights are on and whether there are any defects on the exterior, ultimately completing the inspection of the barcode reader's functional lights and exterior. Compared to manual inspection, this method not only reduces the risk of missed detections but also improves inspection efficiency. However, this method requires multiple camera lenses, mounted at various angles, to capture images of the barcode reader housing, significantly increasing the cost of barcode reader inspection.

[0039] Based on this, the present application provides a code reader inspection system, comprising a carrier plate, a code reader disposed on the carrier plate, and a first reflector disposed above the carrier plate. Upon recognizing an identification code disposed on the carrier plate and reflected by the first reflector, the code reader of the system activates a function light and photographs the image of the code reader with the function light activated, which is reflected by the first reflector, to obtain a detection image. This allows the code reader inspection system to detect defects in the function light and housing of the code reader based on the detection image captured by the code reader. Because the code reader inspection system eliminates the need for other camera equipment to capture images of the code reader housing from various angles, and instead utilizes the code reader's photographic and code reading functions to inspect the function light and housing, the code reader inspection cost can be reduced.

[0040] See also Figure 1 , Figure 1 The schematic diagram of the structure of the code reader detection system provided in the embodiment of the present application is shown as follows: Figure 1 As shown, the code reader inspection system 10 includes a carrier plate 100, a first reflector 200, and a code reader 300. The carrier plate 100 is used to set an identification code 110. The first reflector 200 is disposed above the carrier plate 100 and is used to reflect the identification code 110. The code reader 300 is disposed on the carrier plate 100 and is provided with a function light. The code reader 300 is used to turn on the function light after recognizing the identification code 110 reflected by the first reflector 200. The first reflector 200 is also used to reflect the code reader 300 with the function light turned on. The code reader 300 is also used to capture the code reader 300 with the function light turned on reflected by the first reflector 200 to obtain a detection image. The detection image is used to detect defects in the function light and the housing 320 of the code reader 300.

[0041] The identification code 110 can be a barcode or a QR code. Specifically, the identification code 110 can be attached to a rectangular object, and then the rectangular object can be fixed on the carrier plate 100 to fix the identification code 110 on the carrier plate 100.

[0042] In the embodiment of the present application, the carrier plate 100 can be fixed on an operating platform. In this way, under the premise of ensuring that the first reflector 200 is fixedly arranged above the carrier plate 100, the first reflector 200 is fixed on the carrier plate 100, or the first reflector 200 is fixedly arranged above the carrier plate 100; the carrier plate 100 can also be as Figure 5 As shown, it is set on the transfer track 700 and stops when it moves along the transfer track 700 to a preset position. In this way, the first reflector 200 can be fixed at the preset position of the transfer track 700, so that when the supporting plate 100 stops at the preset position of the transfer track 700, the first reflector 200 is located above the supporting plate 100.

[0043] The area of ​​the first reflector 200 can enable the identification code 110 and the code reader 300 to be imaged on the first reflector 200 and reflect the identification code 110 and the code reader 300 to the code reader 300 .

[0044] like Figure 1 As shown, the code reader 300 includes a lens 330 . The code reader 300 is disposed on the carrier plate 100 so that the first reflector 200 reflects the code reader 300 and reflects the code reader 300 to the lens 330 of the code reader 300 .

[0045] The code reader 300 can be an intelligent code reader with automatic focus adjustment and barcode or QR code recognition capabilities. Specifically, the field of view of the code reader 300 can cover the first reflector 200, allowing the code reader 300 to capture all objects reflected by the first reflector 200. For example, the code reader 300 can capture the identification code 110 reflected by the first reflector 200 and recognize the identification code 110 from the captured image.

[0046] The process of the code reader 300 recognizing the identification code 110 reflected by the first reflector 200 is also the focusing process of the code reader 300. When the code reader 300 recognizes the identification code 110 reflected by the first reflector 200, it indicates that the code reader 300 has successfully focused on all objects reflected by the first reflector 200.

[0047] The function lights of the code reader 300 may include a code reading light 311 and an indicator light 312 (such as Figure 2 As shown), wherein the code reading light 311 includes an illumination light 3111 and a positioning light 3112. The illumination light 3111 and the positioning light 3112 can be provided in plurality, for example, Figure 1 The lighting lamps 3111 are shown as 14 and the positioning lamps 3112 are shown as 2. The indicator lamps 312 can be provided with only one, or more, for example, Figure 2 As shown, five are provided to indicate different working states of the code reader 300 .

[0048] Typically, after the code reader 300 recognizes the identification code 110, the code reader 300 may simultaneously turn on the illumination light 3111, the positioning light 3112, and the indicator light 312 to perform a functional test on the illumination light 3111, the positioning light 3112, and the indicator light 312. Of course, the code reader 300 may also turn on only one or two of the illumination light 3111, the positioning light 3112, and the indicator light 312, which is not specifically limited in this embodiment of the present application.

[0049] After the code reader 300 turns on the function light, the first reflector 200 can reflect the code reader 300 with the function light turned on to the lens 330 of the code reader 300, and the code reader 300 can capture a detection image. The detection image shows the function light of the code reader 300 and the housing 320.

[0050] Specifically, a preset image can be captured in advance. In the preset image, all the functional lights of the code reader are turned on normally, and the outer shell of the code reader has no defects such as scratches or stains. In this way, by comparing the test image with the preset image, it can be determined whether the functional lights of the code reader 300 can work normally, and whether the outer shell 320 of the code reader 300 has defects such as scratches or stains.

[0051] If the brightness of the area where the function lights are located in the detection image is high and the difference between the brightness of the area where the function lights are located in the preset image is within a preset range, it can be determined that the function lights of the code reader 300 are all properly turned on, and thus the function lights of the code reader 300 can be determined to be normal. If the brightness of the area where the function lights of the code reader 300, such as the illumination lamp 3111, are located in the detection image is low and the difference between the brightness of the area where the function lights are located in the preset image is outside the preset range, it can be determined that the illumination lamp 3111 cannot be turned on normally, and thus the illumination lamp 3111 can be determined to be abnormal.

[0052] When inspecting the housing 320 of the code reader 300 for defects, the inspection image can be divided into multiple regions. Each region in the inspection image is compared with a corresponding region in the preset image to determine whether each region of the code reader 300 has a defect. This improves the reliability of the inspection results for the housing 320. For example, if the difference between the brightness of a first region of the housing 320 in the inspection image and the brightness of a region of the code reader housing corresponding to the first region in the preset image is within a preset range, it can be determined that the housing 320 of the code reader 300 does not have defects such as scratches or stains. If the difference between the brightness of the first region of the housing 320 in the inspection image and the brightness of a region of the code reader housing corresponding to the first region in the preset image is outside the preset range, it can be determined that the first region of the housing 320 of the code reader 300 has a scratch defect or a stain defect.

[0053] When the function light of the code reader 300 is normal and the housing 320 has no defects, the code reader 300 can be determined to be qualified; when the function light of the code reader 300 is abnormal or the housing 320 has defects, the code reader 300 can be determined to be unqualified.

[0054] Preferably, the preset image can be pre-stored in the code reader 300. Thus, after the code reader 300 captures the inspection image, it can directly detect defects in the functional lamp and housing 320 of the code reader 300 based on the inspection image. Without the need for additional equipment, the code reader 300 can perform the inspection of the functional lamp and housing 320 independently, reducing the inspection cost and improving the inspection efficiency of the code reader 300.

[0055] In other embodiments, the preset images may also be pre-stored in a computer, such as an industrial computer. After capturing the inspection image, the barcode reader 300 may send the inspection image to the computer, which then detects defects in the functional light of the barcode reader 300 and the housing 320 based on the inspection image. This method, in which the computer compares the inspection images captured by all barcode readers 300, eliminates the need to store the preset images in each barcode reader 300. Different inspection requirements can be met by adjusting the preset images in the computer, providing greater flexibility.

[0056] In the code reader inspection system 10 provided in the embodiment of the present application, the identification code 110 and the code reader 300 are disposed on the carrier plate 100, and the first reflector 200 is disposed above the carrier plate 100, so that the first reflector 200 can reflect the identification code 110 toward the code reader 300, allowing the code reader 300 to recognize the identification code 110. After recognizing the identification code 110, the function light of the code reader 300 is turned on, so that the code reader 300 can focus on the code reader 300 with the function light turned on, as reflected by the first reflector 200. The code reader 300 can then capture an inspection image of the code reader 300 with the function light turned on, thereby enabling the code reader 300 to detect defects in the function light and the housing 320 of the code reader 300 based on the inspection image. In the above manner, the code reader detection system 10 does not need to use other shooting equipment to capture images of the housing of the code reader 300 from various angles. Instead, it utilizes the shooting function and code reading function of the code reader 300 to realize the detection of its own functional lights and housing 320, thereby greatly reducing the detection cost of the code reader 300.

[0057] In order to detect the code reading light 311 of the code reader 300, this application further proposes an implementation method, please continue to refer to Figure 1 As shown in the figure, the lens 330 and the code reading light 311 are disposed within the housing 320 and face the top 321 of the housing 320. The top 321 of the housing 320 faces the first reflector 200. The top 321 of the housing 320 is made of a light-transmitting material. The code reader 300 is configured to activate the code reading light 311 after recognizing the identification code 110 reflected by the first reflector 200. The first reflector 200 is configured to reflect the top 321 of the housing 320 toward the lens 330, allowing the lens 330 to capture an inspection image including the code reading light 311.

[0058] The lens 330 and the code reading light 311 are oriented toward the top 321 of the housing 320, that is, the lens 330 and the code reading light 311 are oriented toward the first reflector 200. At this time, when the first reflector 200 reflects the top 321 of the code reader 300 to the lens 330, the lens 330 and the code reading light 311 can be reflected to the lens 330, so that the lens 330 can capture a detection image showing the code reading light 311.

[0059] After the code reader 300 recognizes the identification code 110, it turns on the code reading light 311. The first reflector 200 reflects the top 321 of the housing 320 toward the lens 330. The lens 330 can then capture a detection image of the code reader 300 with the code reading light 311 turned on. This detection image can be used to determine whether the code reading light 311 is functioning properly, thereby enabling detection of the code reading light 311 of the code reader 300.

[0060] In order to detect the indicator light 312 of the code reader 300, the present application further proposes an implementation method, please continue to refer to Figure 1 , and combined with Figure 2 , Figure 2 A perspective view of a code reader provided in an embodiment of the present application is shown. As shown in the figure, an indicator light 312 is disposed on a first side portion 322 of a housing 320. The code reader 300 is configured to turn on the indicator light 312 after recognizing the identification code 110. A second reflector 400 is disposed on the carrier plate 100, facing the first side portion 322. The second reflector 400 is configured to reflect the first side portion 322 toward the first reflector 200. The first reflector 200 is configured to reflect the first side portion 322 reflected by the second reflector 400 toward the lens 330, so that the lens 330 captures a detection image including the indicator light 312.

[0061] The second reflector 400 may be as follows Figure 1 As shown, the second reflector 400 is disposed on the carrier plate 100, with the reflective surface of the second reflector 400 forming an angle with the carrier plate 100, while the reflective surface of the first reflector 200 is parallel to the carrier plate 100. This creates an angle between the second reflector 400 and the first reflector 200, thereby enabling the second reflector 400 to reflect the first side portion 322 to the first reflector 200. In the embodiment of the present application, the shape and area of ​​the second reflector 400 are not limited, provided that the second reflector 400 can reflect the first side portion 322 of the code reader 300 to the first reflector 200. It should be noted that the first side portion 322 reflected by the second reflector 400 to the first reflector 200 does not overlap with the top portion 321 of the code reader 300 in the first reflector 200.

[0062] The indicator light 312 can be Figure 2As shown, the first side portion 322 provided on the housing 320 enables the second reflector 400 to reflect the indicator light 312 to the first reflector 200 when reflecting the first side portion 322 to the first reflector 200. Thus, when the first reflector 200 reflects the first side portion 322 to the lens 330, it can also reflect the indicator light 312 to the lens 330, so that the lens 330 can capture a detection image showing the indicator light 312.

[0063] After recognizing the identification code 110, the code reader 300 turns on the indicator light 312. Specifically, when the second reflector 400 reflects the first side portion 322 toward the first reflector 200, the turned-on indicator light 312 is also reflected toward the first reflector 200. Thus, when the first reflector 200 reflects the first side portion 322 toward the lens 330, the turned-on indicator light 312 is reflected toward the lens 330. The lens 330 can then capture a detection image of the code reader 300 with the indicator light 312 turned on. Finally, the detection image can be used to determine whether the indicator light 312 is functioning properly, thereby enabling detection of the indicator light 312 of the code reader 300.

[0064] Preferably, defect detection can also be performed on the surface of the first side portion 322 by detecting the image, so as to detect whether there are defects such as scratches or stains on the first side portion 322 .

[0065] By reflecting the first side portion 322 through the second reflector 400, not only can the indicator light 312 be detected to determine whether it is working properly by detecting the image, but the first side portion 322 can also be detected for defects such as scratches or stains. There is no need for manual inspection or additional equipment to photograph the first side portion 322 for inspection. The first side portion 322 can be inspected by utilizing the function of the code reader 300 itself, thereby saving the inspection cost of the code reader 300.

[0066] In order to realize the automation of focusing of the code reader 300, this application further proposes an implementation method, please continue to refer to Figure 1 and Figure 2 , and continue to combine Figure 3 and Figure 4 , Figure 3 An exploded view of the drive structure and lens provided in an embodiment of the present application is shown. Figure 4A cross-sectional view of a code reader provided by an embodiment of the present application is shown. As shown in the figure, a drive mechanism 323 is further disposed within a housing 320 and is connected to a lens 330. The code reader 300 is configured to capture the identification code 110 reflected by the first reflector 200 through the lens 330 and recognize the identification code 110. The drive mechanism 323 is configured to adjust the distance between the lens 330 and the first reflector 200 to adjust the focal length of the code reader 300 until the code reader 300 recognizes the identification code 110 and focuses on the code code reflected by the first reflector 200.

[0067] The driving mechanism 323 can be an electric push rod structure or a gear rack drive structure. Figure 3 and Figure 4 As shown, the driving mechanism 323 can drive the lens 330 to move along the direction of the optical axis. In this way, the driving mechanism 323 can adjust the distance between the lens 330 and the top 321 of the code reader 300, that is, the distance between the lens 330 and the first reflector 200, thereby adjusting the focal length of the code reader 300.

[0068] The drive mechanism 323 may include a stepper motor. By controlling the rotation of the stepper motor, the drive mechanism 323 can drive the lens 330 to move along the optical axis. In this way, the code reader 300 can gradually adjust the stepper motor according to a preset number of steps, thereby adjusting the distance between the lens 330 and the first reflector 200, until the code reader 300 recognizes the identification code 110. For example, when the preset number of steps is that the stepper motor rotates one circle and the code reader 300 reads the code once, the stepper motor rotates one circle, the lens 330 captures the identification code 110 reflected by the first reflector 200 once, and the code reader 300 recognizes the identification code 110 once. After the identification code 110 is not recognized, the stepper motor rotates one circle again, the lens 330 captures the identification code 110 reflected by the first reflector 200 once again, and the code reader 300 recognizes the identification code 110 once again... until the code reader 300 recognizes the identification code 110, the stepper motor stops rotating. At this time, the code reader 300 successfully focuses on the identification code 110 reflected by the first reflector 200, and the code reader 300 also successfully focuses on the code reader 300 reflected by the first reflector 200.

[0069] By adjusting the distance between the lens 330 and the first reflector 200 through the drive mechanism 323, automated focusing of the code reader 300 can be achieved. Furthermore, focusing of the code reader 300 is determined by whether the code reader 300 recognizes the identification code 110. This eliminates the need for the code reader 300 to analyze the contrast of each pixel in the image captured by the lens 330 to achieve focus. This significantly reduces the amount of data analysis and improves the detection efficiency of the code reader 300.

[0070] In order to improve the detection efficiency of the code reader 300, this application further proposes an implementation method, please continue to refer to Figure 1 As shown in the figure, the second side portion 324 of the housing 320 is provided with an identification code 3241. A third reflector 500 is provided on the carrier plate 100, facing the second side portion 324. The third reflector 500 is used to reflect the second side portion 324 toward the first reflector 200. The first reflector 200 is used to reflect the second side portion 324 reflected by the third reflector 500 toward the lens 330, so that the lens 330 captures a detection image including the identification code 3241. The identification code 3241 is used to identify the code reader 300 when the detection image detects that the code reader 300 is unqualified.

[0071] The structure of the third reflector 500 may be the same as that of the second reflector 400. Figure 1 As shown, the third reflector 500 is disposed on the supporting plate 100, with the reflective surface of the third reflector 500 forming an angle with the supporting plate 100, while the reflective surface of the first reflector 200 is parallel to the supporting plate 100. This forms an angle between the third reflector 500 and the first reflector 200, so that the third reflector 500 can reflect the second side portion 324 to the first reflector 200. It should be noted that the second side portion 324 of the first reflector 200 reflected by the third reflector 500 does not overlap with the first side portion 322 of the first reflector 200 and the top portion 321 of the code reader 300.

[0072] The identification code 3241 is a certificate attached to the code reader 300 to uniquely identify the code reader 300. The identification code 3241 can be as follows Figure 1 As shown, it is pasted on the second side portion 324 of the outer shell 320, so that when the third reflector 500 reflects the second side portion 324 to the first reflector 200, it can reflect the identification code 3241 to the first reflector 200. Therefore, when the first reflector 200 reflects the second side portion 324 to the lens 330, it can reflect the identification code 3241 to the lens 330, so that the lens 330 can capture a detection image showing the identification code 3241.

[0073] Preferably, in the embodiment of the present application, defect detection can also be performed on the surface of the second side portion 324 by detecting the image to detect whether there are defects such as scratches or stains on the second side portion 324.

[0074] In an embodiment in which the code reader 300 detects defects in the functional lamp and the housing 320 by detecting an image, when the code reader 300 determines that it is unqualified, the code reader 300 can recognize the identification code 3241 from the detection image and identify itself by the recognized identification code 3241. After that, the code reader 300 will also send the identification code 3241 to an external device (such as a computer).

[0075] In an embodiment in which a computer detects defects of the functional lamp and the housing 320 by detecting an image, when the code reader 300 is determined to be unqualified, the computer can recognize the identification code 3241 from the detection image and identify the code reader 300 by the recognized identification code 3241.

[0076] In this way, unqualified code readers 300 can be quickly found through the identification code 3241 and quickly processed, thereby improving the detection efficiency of the code readers 300.

[0077] In order to detect defects in the housing 320 of the code reader 300, this application further proposes an implementation method, please continue to refer to Figure 1 and Figure 2 As shown in the figure, a fourth reflector 600 is provided on the carrier plate 100, facing the third side portion 324 of the housing 320. The fourth reflector 600 is used to reflect the third side portion 324 to the first reflector 200. The first reflector 200 is used to reflect the third side portion 324 reflected by the fourth reflector 600 to the lens 330, so that the lens 330 captures a detection image including the third side portion 324.

[0078] The structure of the fourth reflector 600 may be the same as that of the third reflector 500 and the second reflector 400. Figure 1 As shown, the fourth reflector 600 is disposed on the supporting plate 100, with the reflective surface of the fourth reflector 600 forming an angle with the supporting plate 100, while the reflective surface of the first reflector 200 is parallel to the supporting plate 100. This creates an angle between the fourth reflector 600 and the first reflector 200, thereby enabling the fourth reflector 600 to reflect the third side portion 324 to the first reflector 200. It should be noted that the third side portion 324 reflected by the fourth reflector 600 to the first reflector 200 does not overlap with the first side portion 322, the second side portion 324 of the first reflector 200, and the top portion 321 of the code reader 300. In this way, the lens 330 can simultaneously capture the first side portion 322, the second side portion 324, and the top portion 321 of the code reader 300, thereby improving the detection efficiency of the code reader 300.

[0079] After the lens 330 captures the inspection image, it compares the third side portion 324 of the inspection image with the third side portion of the barcode reader in the preset image to determine whether the third side portion 324 of the barcode reader 300 has a scratch or stain defect. For example, if the difference in brightness between the second region of the third side portion 324 of the inspection image and the brightness of the corresponding region of the second region in the preset image is not within a preset range, the second region of the third side portion 324 can be determined to have a scratch or stain defect.

[0080] In this way, there is no need for manual inspection or using additional equipment to photograph the third side portion 324 for inspection. The function of the code reader 300 itself can be used to detect defects on the surface of the third side portion 324, saving the inspection cost of the code reader 300.

[0081] In order to improve the detection efficiency of the code reader 300, this application further proposes an implementation method, please continue to refer to Figure 1 , and combined with Figure 5 , Figure 5 A schematic diagram of the structure of a code reader detection system provided in an embodiment of the present application is shown. As shown in the figure, the code reader detection system 10 also includes a transmission track 700, on which a carrier plate 100 is disposed. The transmission track 700 is used to drive the carrier plate 100 to move along the transmission track 700. The carrier plate 100 is provided with a female connector 120, which is communicatively connected to the code reader 300. A male connector 710 is provided on one side of the transmission track 700. The male connector 710 is used to communicate with an external device (not shown in the figure). The male connector 710 is also used to electrically connect with the female connector 120 when aligned with the female connector 120, thereby enabling the code reader 300 to communicate with the external device.

[0082] like Figure 1 As shown, the code reader detection system 10 may include two transmission rails 700 , and both sides of the carrier plate 100 are slidably connected to the two transmission rails 700 , so that the carrier plate 100 can move along the transmission rails 700 .

[0083] Alternatively, as Figure 5 As shown, a limit switch 720 can be provided at a preset position of the transport track 700. When the carrier plate 100 moves to the preset position, the limit switch 720 is triggered to generate a trigger signal, and the limit switch 720 transmits the trigger signal to the transport track 700. Upon receiving the trigger signal, the transport track 700 stops moving, causing the carrier plate 100 to stop moving, thereby aligning the male connector end 710 with the female connector end 120 and electrically connecting to the female connector end 120.

[0084] The female connector 120 is connected to the network cable and power cable of the code reader 300. Therefore, once the female connector 120 is electrically connected to the male connector 710, the external device can provide power to the code reader 300 via the power cable and establish communication with the code reader 300 via the network cable. Once the external device is connected to the code reader 300, the code reader 300 automatically starts and begins testing the functional lights and the housing 320, thereby achieving automated testing of the code reader 300.

[0085] The external device may be a computer, on which an MES (Manufacturing Execution System) may be installed. The MES can communicate with each barcode reader 300. For example, when a barcode reader 300 is determined to be unqualified, the barcode reader 300 can send the test result and identification code 3241 to the MES, so that testers can quickly identify the unqualified barcode reader 300 through the MES.

[0086] Optionally, referring to Section 5, an ejection device 730 may be provided on one side of the transport track 700, with a connector male end 710 disposed on the ejection device 730. The ejection device 730 is electrically connected to a limit switch 720. The limit switch 720 transmits a trigger signal to the transport track 700 and also transmits a trigger signal to the ejection device 730. Upon receiving the trigger signal, the ejection device 730 ejects the connector male end 710 thereon, allowing the connector male end 710 to be electrically connected to the connector female end 120. In this manner, when the carrier plate 100 moves to a preset position, the connector male end 710 can automatically connect to the connector female end 120, allowing the code reader 300 on the carrier plate 100 to operate normally and communicate with external devices.

[0087] Through the above-mentioned method, the automation of the detection of the code reader 300 can be achieved, thereby improving the detection efficiency of the code reader 300.

[0088] It should be noted that in this application, the light reflected by the object (including the identification code 110, the code reader 300, the housing 320 of the code reader 300, the top 321 of the housing 320, the first side 322 of the housing 320, and the second side 324 of the housing 320) is imaged in the first reflector 200, the second reflector 400, the third reflector 500, and the fourth reflector 600. The object reflected by the first reflector 200, the second reflector 400, the third reflector 500, and the fourth reflector 600 refers to the light reflected by the reflecting object.

[0089] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some or all of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application, and they should all be included in the scope of the claims and specification of the present application. In particular, as long as there is no structural conflict, the various technical features mentioned in the various embodiments can be combined in any way. The present application is not limited to the specific embodiments disclosed herein, but includes all technical solutions that fall within the scope of the claims.

Claims

1. A code reader detection system, characterized in that: The code reader detection system includes: A carrier plate for setting an identification code; a first reflector, disposed above the carrying plate, and configured to reflect the identification code; a code reader, disposed on the carrying plate, the code reader being provided with a function light, the code reader being configured to turn on the function light after recognizing the identification code reflected by the first reflector; The first reflector is also used to reflect the code reader that turns on the functional light; The code reader is further used to capture the code reader with the functional light turned on, which is reflected by the first reflector, to obtain a detection image, and the detection image is used to detect defects in the functional light and housing of the code reader.

2. The code reader detection system according to claim 1, characterized in that: The code reader is further configured to detect functional lights and housing defects of the code reader based on the detection image.

3. The code reader detection system according to claim 1, characterized in that: The code reader includes a lens, and the functional light includes a code reading light. The lens and the code reading light are arranged in the housing and face the top of the housing. The top of the housing faces the first reflector, and the top of the housing is made of a light-transmitting material. The code reader is used to turn on the code reading light after identifying the identification code reflected by the first reflector; The first reflector is used to reflect the top of the housing to the lens, so that the lens can capture a detection image including the code reading light.

4. The code reader detection system according to claim 3, characterized in that: The functional lamp further includes an indicator light, which is arranged on the first side portion of the housing; The code reader is used to turn on the indicator light after recognizing the identification code; A second reflector is provided on the carrying plate facing the first side portion, and the second reflector is used to reflect the first side portion to the first reflector; The first reflector is used to reflect the first side portion reflected by the second reflector to the lens, so that the lens captures a detection image including the indicator light.

5. The code reader detection system according to claim 3, characterized in that: A driving mechanism is also provided in the housing, and the driving mechanism is connected to the lens; The code reader is used to capture the identification code reflected by the first reflector through the lens and identify the identification code; The driving mechanism is used to gradually adjust the distance between the lens and the first reflector to adjust the focus of the code reader until the code reader recognizes the identification code and focuses on the code reader reflected by the first reflector.

6. The code reader detection system according to claim 4, characterized in that: The second side portion of the housing is provided with an identification code; A third reflector is provided on the supporting plate facing the second side portion, and the third reflector is used to reflect the second side portion to the first reflector; The first reflector is used to reflect the second side portion reflected by the third reflector to the lens, so that the lens captures a detection image including the identification code, and the identification code is used to identify the code reader when the code reader is detected to be unqualified through the detection image.

7. The code reader detection system according to claim 6, characterized in that: A fourth reflector is provided on the carrying plate facing the third side portion of the housing, and the fourth reflector is used to reflect the third side portion to the first reflector; The first reflector is used to reflect the third side portion reflected by the fourth reflector to the lens, so that the lens captures a detection image including the third side portion.

8. The code reader detection system according to claim 1, characterized in that: The code reader detection system further includes a transmission track, on which the carrier plate is disposed, and the transmission track is used to drive the carrier plate to move along the transmission track; The carrier board is provided with a female connector end, and the female connector end is communicatively connected with the code reader; A connector male end is provided on one side of the transmission track, and the connector male end is used to communicate with an external device. The connector male end is also used to electrically connect with the connector female end when aligned with the connector female end, so that the code reader can communicate with the external device.

9. The code reader detection system according to claim 8, characterized in that: A travel switch is provided on the transmission track, and the travel switch is used to generate a trigger signal when the carrier plate moves to the point where the male end of the connector is aligned with the female end of the connector, and send the trigger signal to the transmission track to cause the transmission track to stop the movement of the carrier plate.

10. The code reader detection system according to claim 9, characterized in that: An ejection device is also provided on one side of the transmission track, and the male end of the connector is provided on the ejection device; The ejection device is electrically connected to the travel switch, and the travel switch is further used to send the trigger signal to the ejection device; The ejection device is used to eject the male end of the connector after receiving the trigger signal, so that the male end of the connector is electrically connected to the female end of the connector.