Logic board bar code automatic identification device

Through the automatic logic barcode recognition device, the microcontroller module, optocoupler relay module and industrial camera, combined with OCR technology, the problems of low efficiency and large error of manual scanning code recognition are solved, and efficient and accurate logic barcode recognition is achieved, supporting multi-spec size recognition and model verification.

CN223078696UActive Publication Date: 2025-07-08威海天力电源科技有限公司 +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202422217347.3
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-09-10
Publication Date
2025-07-08
Estimated Expiration
2034-09-10

AI Technical Summary

Technical Problem

The existing logical barcode recognition mainly relies on manual scanning and identification, which is inefficient and prone to problems such as mistaken scanning and multiple scanning, which increases labor costs and affects product quality management.

Method used

The automatic recognition device of logic barcode is adopted, and the microcontroller module, optocoupling relay module, industrial camera and OCR barcode recognition system are used to realize automatic scanning and recognition. Combined with multi-camera photography and image processing technology, the recognition accuracy and accuracy are improved, and mistaken scanning and multiple scanning are avoided.

Benefits of technology

It improves the efficiency of logic barcode recognition, reduces labor costs, ensures the accuracy and consistency of recognition, reduces product quality problems, supports logic board recognition of different specifications and sizes, and avoids model confusion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223078696U_ABST
    Figure CN223078696U_ABST
Patent Text Reader

Abstract

The utility model provides a logic board bar code automatic identification device comprising a serial port relay module which is provided with a single-chip microcomputer module, a first optocoupler relay module, a second optocoupler relay module and a DC 24V-5V voltage reduction module. The single-chip microcomputer module is in electrical signal connection with the input end of the first optocoupler relay module, the input end of the second optocoupler relay module and DC5V positive and negative electrode interfaces of the DC24V-5V voltage reduction module, and DC24V positive and negative electrode interfaces of the DC24V-5V voltage reduction module are in electrical signal connection with power supply positive and negative electrode interfaces on the serial port relay module. And the other end of the power supply positive and negative electrode interface is connected with a DC24V power supply module. According to the logic board bar code automatic identification device, system automatic code scanning identification is adopted, the identification efficiency is high, the labor cost is reduced, and the technical problems of mistaken scanning, excessive scanning and the like caused by manual operation can be avoided. The method can be widely applied to automatic identification and registration of logic board bar codes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a bar code recognition device, in particular to a logic board bar code automatic recognition device. Background Art

[0002] The logic board, also known as the control board, plays a crucial role in liquid crystal TVs. Its main function is to process the LVDS or TTL image data signals and clock signals sent by the digital board, and then convert them into control signals that the screen can recognize, so as to control the twist degree of liquid crystal molecules and realize image display.

[0003] Each logic board is correspondingly provided with a bar code, which has extremely important functions. It assigns a unique identifier to each logic board through a unique code, which helps to track and manage it throughout the life cycle of the product. Moreover, the bar code system helps to ensure product quality. Through the bar code, enterprises can track all aspects such as the production, transportation, warehousing, and sales of products, so as to ensure the quality and consistency of products.

[0004] Currently, in the production and processing process of logic boards, for the identification and registration work of logic board bar codes, most of them are to manually hold a barcode scanner to scan and identify the logic boards after production is completed, and then upload the system record information.

[0005] However, this identification method, due to manual barcode scanning and identification, has low scanning efficiency and increases labor costs. More importantly, through manual barcode scanning and identification, problems such as mis-scanning and over-scanning are extremely likely to occur. Summary of the Invention

[0006] The present invention aims at the above technical problems and provides a logic board bar code automatic recognition device. This logic board bar code automatic recognition device uses system automatic barcode scanning and recognition, has high recognition efficiency, reduces labor costs, and can avoid problems such as mis-scanning and over-scanning.

[0007] To this end, the technical solution of the present invention is a logic board bar code automatic recognition device, including a serial port relay module. The serial port relay module is provided with a single-chip microcomputer module, a first opto-coupled relay module, a second opto-coupled relay module, and a DC24V-5V step-down module. The DC24V-5V step-down module is located at the power input end of the serial port relay module, and the first opto-coupled relay module and the second opto-coupled relay module are located at the output end of the serial port relay module;

[0008] The single-chip microcomputer module is electrically connected to the input ends of the first opto-coupler relay module, the input end of the second opto-coupler relay module, and the DC5V positive and negative interfaces of the DC24V-5V buck module respectively. The DC24V positive and negative interfaces of the DC24V-5V buck module are electrically connected to the power positive and negative interfaces on the serial relay module respectively. The other ends of the power positive and negative interfaces are connected to a DC24V power supply module;

[0009] The other end of the single-chip microcomputer module is provided with a photoelectric sensor. The single-chip microcomputer module is electrically connected to the photoelectric sensor, and the other end of the photoelectric sensor is electrically connected to the DC24V power supply module;

[0010] The other end of the single-chip microcomputer module is provided with a host computer. The single-chip microcomputer module is electrically connected to the host computer, and the other end of the host computer is provided with a camera. The host computer is electrically connected to the camera;

[0011] A solenoid valve is connected to the normally open interface NO of the first opto-coupler relay module. The normally open interface NO of the first opto-coupler relay module is electrically connected to the solenoid valve. The other end of the solenoid valve is electrically connected to the DC24V terminal on the DC24V power supply module. The common interface COM0 of the first opto-coupler relay module is electrically connected to the DC0V terminal on the DC24V power supply module;

[0012] The other end of the solenoid valve is provided with a cylinder. The solenoid valve is electrically connected to the cylinder;

[0013] An alarm lamp is connected to the normally open interface NO of the second opto-coupler relay module. The normally open interface NO of the second opto-coupler relay module is electrically connected to the alarm lamp. The other end of the alarm lamp is electrically connected to the DC24V terminal on the DC24V power supply module. The common interface COM1 of the second opto-coupler relay module is electrically connected to the DC0V terminal on the DC24V power supply module.

[0014] Preferably, the 23rd pin of the single-chip microcomputer module is connected to a resistor R55. The other end of the resistor R55 is electrically connected to the signal interface BK of the photoelectric sensor through the XO interface at the input end on the serial relay module. The positive interface BN and the negative interface BU of the photoelectric sensor are electrically connected to the DC24V terminal and the DC0V terminal of the DC24V power supply module respectively;

[0015] The 22nd pin of the single-chip microcomputer module is connected to a resistor R56. The other end of the resistor R56 is electrically connected to the DC24V terminal of the DC24V power supply module through the COM interface at the input end on the serial relay module;

[0016] The 29th pin of the single-chip microcomputer module is electrically connected to the DC5V positive interface of the DC24V-5V buck module. The 16th pin of the single-chip microcomputer module is electrically connected to the DC5V negative interface of the DC24V-5V buck module;

[0017] The 36th pin of the single-chip microcomputer module is electrically connected to the positive interface of the input end of the first opto-coupler relay module, and the negative interface of the input end of the first opto-coupler relay module is connected to the positive terminal of DC5V;

[0018] The 35th pin of the single-chip microcomputer module is electrically connected to the positive interface of the input end of the second opto-coupler relay module, and the negative interface of the input end of the second opto-coupler relay module is connected to the positive terminal of DC5V.

[0019] Preferably, the single-chip microcomputer module and the host computer are electrically connected through a 485 communication module. The 7th pin of the single-chip microcomputer module is electrically connected to the 4th pin of the 485 communication module, and the 5th pin of the single-chip microcomputer module is electrically connected to the 1st pin of the 485 communication module;

[0020] The 6th and 7th pins of the 485 communication module are electrically connected to the host computer.

[0021] Preferably, the number of cameras is three, and the host computer is electrically connected to the three cameras simultaneously.

[0022] The beneficial effects of the present invention are:

[0023] For this barcode recognition device, by setting three cameras to take pictures, with two cameras as the main ones and one camera as the backup, since the specifications and sizes of different logic boards are different, when the fields of view of the two cameras cannot fully cover the product to be recognized, the third camera can be enabled to supplement the recognition, so as to realize the recognition of products with different specifications and sizes without changing the camera perspective, with a wide application range and little limitation;

[0024] Moreover, when taking pictures, by taking ten pictures of the barcodes on each logic board, the recognition accuracy and accuracy can be increased, avoiding the situation that due to a small amount of dirt, creases, or damage on the barcode not being detected in time and flowing into the market, causing a bad impact;

[0025] More importantly, when there is a situation where two barcodes of similar models are pasted in confusion, it can be detected and processed in time to avoid the problem of product model confusion. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 is the overall logic block diagram of the present invention;

[0027] Figure 2 is the logic circuit diagram of the partial connection relationship of the single-chip microcomputer module in the present invention;

[0028] Figure 3 is the internal circuit diagram of the first opto-coupler relay module of the present invention;

[0029] Figure 4 is the internal circuit diagram of the second opto-coupler relay module of the present invention;

[0030] Figure 5 is the logic block diagram of the automatic recognition method of the present invention.

[0031] Explanation of symbols in the figure:

[0032] 1. Serial port relay module; 2. Single-chip microcomputer module; 3. First optocoupler relay module; 4. Second optocoupler relay module; 5. 485 communication module; 6. Host computer; 7. Camera; 8. Photoelectric sensor; 9. DC24V-5V step-down module; 10. DC24V power supply module; 11. Solenoid valve; 12. Alarm lamp; 13. Optocoupler module; 14. Relay module. Specific embodiments

[0033] The present invention will be further described below in conjunction with embodiments.

[0034] Through Figures 1 - 5 It can be seen that the barcode automatic recognition device of this logic board includes a serial port relay module 1, on which there are a single-chip microcomputer module 2, a first optocoupler relay module 3, a second optocoupler relay module 4, and a DC24V-5V step-down module 9. The DC24V-5V step-down module 9 is located at the power input end of the serial port relay module 1, and the first optocoupler relay module 3 and the second optocoupler relay module 4 are located at the output end of the serial port relay module 1.

[0035] The single-chip microcomputer module 2 is electrically connected to the input end of the first optocoupler relay module 3, the input end of the second optocoupler relay module 4, and the DC5V positive and negative interfaces of the DC24V-5V step-down module 9 respectively. The DC24V positive and negative interfaces of the DC24V-5V step-down module 9 are electrically connected to the power positive and negative interfaces on the serial port relay module 1 respectively, and the other end of the power positive and negative interfaces is connected to a DC24V power supply module 10.

[0036] The other end of the single-chip microcomputer module 2 is provided with a photoelectric sensor 8. The single-chip microcomputer module 2 is electrically connected to the photoelectric sensor 8, and the other end of the photoelectric sensor 8 is electrically connected to the DC24V power supply module 10.

[0037] The other end of the single-chip microcomputer module 2 is provided with a host computer 6. The single-chip microcomputer module 2 is electrically connected to the host computer 6, and the other end of the host computer 6 is provided with a camera 7. The host computer 6 is electrically connected to the camera 7.

[0038] The camera 7 uses an industrial camera with 16 million pixels. The industrial camera is designed specifically for industrial vision inspection and automation applications. Compared with ordinary consumer cameras, it has a series of unique and high-performance characteristics, ensuring stable and efficient operation in various industrial environments.

[0039] The main advantages of the industrial camera are:

[0040] 1. High resolution and high definition: Provide fine image details, which helps in the precise detection and measurement of barcodes on the logic board.

[0041] 2. High frame rate: Capable of rapidly capturing images continuously, enabling the timely capture of barcode details on the logic board, suitable for dynamic detection scenarios.

[0042] 3. Global shutter: Different from the rolling shutter of some CMOS cameras, the global shutter can expose all pixels simultaneously, avoiding distortion when the logic board moves.

[0043] 4. High sensitivity and wide dynamic range: Can capture high-quality images in low-light environments or high-contrast conditions, improving the imaging effect and submitting the accuracy of barcode recognition.

[0044] 5. High stability and durability: Designed for continuous operation, resistant to high temperatures and vibrations, ensuring reliable long-term operation in harsh industrial environments.

[0045] 6. Flexible customizability: Whether it is hardware or software, industrial cameras usually offer a high degree of customization services to adapt to diverse application requirements. The software development kit (SDK) allows users to control camera parameters programmatically, such as exposure time, trigger mode, region of interest (ROI), etc., thus enabling the industrial camera to better adapt to barcode recognition shooting on the logic board.

[0046] 7. Precise clock and trigger function: Support external triggering and multi-camera synchronization, ensuring the precise timing and sequence of image acquisition.

[0047] 8. Low noise: Optimized image processing technology reduces image noise, enhances image quality, and facilitates subsequent image analysis and processing.

[0048] The normally open interface NO of the first opto-coupler relay module 3 is connected to the solenoid valve 11. The normally open interface NO of the first opto-coupler relay module 3 and the solenoid valve 11 are electrically connected. The other end of the solenoid valve 11 is electrically connected to the DC24V terminal on the DC24V power module 10. The common interface COM0 of the first opto-coupler relay module 3 is electrically connected to the DC0V terminal on the DC24V power module 10.

[0049] The other end of the solenoid valve 11 is provided with a cylinder, and the solenoid valve 11 and the cylinder are electrically connected.

[0050] An alarm lamp 12 is connected to the normally open interface NO of the second opto-coupler relay module 4. The normally open interface NO of the second opto-coupler relay module 4 is electrically connected to the alarm lamp 12. The other end of the alarm lamp 12 is electrically connected to the DC24V terminal on the DC24V power supply module 10. The common interface COM1 of the second opto-coupler relay module 4 is electrically connected to the DC0V terminal on the DC24V power supply module 10.

[0051] Pin 23 of the single-chip microcomputer module 2 is connected to a resistor R55. The other end of the resistor R55 is electrically connected to the signal interface BK of the photoelectric sensor 8 through the XO interface at the input end of the serial port relay module 1. The positive interface BN and the negative interface BU of the photoelectric sensor 8 are respectively electrically connected to the DC24V terminal and the DC0V terminal of the DC24V power supply module 10.

[0052] Pin 22 of the single-chip microcomputer module 2 is connected to a resistor R56. The other end of the resistor R56 is electrically connected to the DC24V terminal of the DC24V power supply module 10 through the COM interface at the input end of the serial port relay module 1.

[0053] Pin 29 of the single-chip microcomputer module 2 is electrically connected to the DC5V positive interface of the DC24V-5V buck module 9. Pin 16 of the single-chip microcomputer module 2 is electrically connected to the DC5V negative interface of the DC24V-5V buck module 9.

[0054] Pin 36 of the single-chip microcomputer module 2 is electrically connected to the positive interface at the input end of the first opto-coupler relay module 3. The negative interface at the input end of the first opto-coupler relay module 3 is connected to the DC5V positive terminal.

[0055] Pin 35 of the single-chip microcomputer module 2 is electrically connected to the positive interface at the input end of the second opto-coupler relay module 4. The negative interface at the input end of the second opto-coupler relay module 4 is connected to the DC5V positive terminal.

[0056] The single-chip microcomputer module 2 is electrically connected to the host computer 6 through the 485 communication module 5. Pin 7 of the single-chip microcomputer module 2 is electrically connected to pin 4 of the 485 communication module 5. Pin 5 of the single-chip microcomputer module 2 is electrically connected to pin 1 of the 485 communication module 5.

[0057] Pins 6 and 7 of the 485 communication module 5 are electrically connected to the host computer 6.

[0058] The 485 communication module uses differential signal transmission technology, which has the characteristics of high anti-interference ability and long-distance transmission. It is mainly used to realize serial data communication. In this system, the host computer 6 and the serial port relay module 1 perform data interaction through the 485 communication module to realize the linkage of the entire system.

[0059] The host computer 6 and the camera 7 are electrically connected through Ethernet.

[0060] The second opto - relay module 4 includes an opto - coupler module 13 and a relay module 14. The anode terminal of the opto - coupler module 13 is connected to a resistor R21, and the other end of the resistor R21 is connected to the positive terminal of DC5V. The cathode terminal of the opto - coupler module 13 is connected to a resistor R22, and the other end of the resistor R22 is electrically connected to the 35th pin of the single - chip microcomputer module 2.

[0061] The emitter of the opto - coupler module 13 is respectively connected to a triode Q1 and a resistor R25. The collector of the opto - coupler module 13 is electrically connected to the base of the triode Q1. The emitter of the triode Q1 is electrically connected to the other end of the resistor R25, and the emitter of the triode Q1 is grounded at the same time.

[0062] The collector of the opto - coupler module 13 is connected to a resistor R23. The other end of the resistor R23 is connected to the positive terminal of DC12V. One end of the resistor R23 close to the positive terminal of DC12V is simultaneously connected to a resistor R24. The other end of the resistor R24 is connected to a light - emitting diode, and the other end of the light - emitting diode is electrically connected to the collector of the triode Q1.

[0063] One end of the resistor R24 far from the light - emitting diode is connected to a diode D2. The other end of the diode D2 is electrically connected to the collector of the triode Q1. The collector of the triode Q1 and the end of the diode D2 far from the collector of the triode Q1 are respectively electrically connected to the relay module 14.

[0064] The opto - coupler module 13 plays an isolation and protection role in the circuit. In this system, the opto - coupling module 13 can isolate the input signals of each product to avoid interference with each other.

[0065] The relay module 14 provides isolation between the control signal and the controlled circuit through electromagnetic principles, which plays an important role in improving the reliability and safety of the system. In this system, the relay module 14 realizes the switching action of the control circuit through electromagnetic attraction, controlling the lifting of the cylinder and the switching of the status of the alarm light.

[0066] A method for automatic identification of logic board barcodes includes the following steps:

[0067] Step (1): Run the host computer program. Click to open the camera 7 on the host computer program interface, click to select the logic board model to be identified, and then click the start button in the host computer program to start the automatic identification and operation.

[0068] The host computer program uses the LabVIEW programming language. The LabVIEW programming language has obvious core advantages as follows:

[0069] 1. Adopt graphical programming: Facilitate understanding and maintenance.

[0070] 2. Integrated Development Environment: It provides rich library support, covering all functions from basic mathematical operations to advanced signal processing.

[0071] 3. Strong scalability: Users can create custom VIs (virtual instruments) and libraries, and can also call code written in other programming languages.

[0072] Step (2): The host computer program sends instructions to the serial relay module 1 through the 485 communication module 5. After the single-chip microcomputer module 2 parses the instructions, the first opto-coupled relay module 3 is used to control the solenoid valve 11 to close. After the solenoid valve 11 closes, the cylinder is controlled to rise, blocking the logic board to be recognized within the shooting angle of the camera 7.

[0073] Step (3): The host computer program sends instructions to the single-chip microcomputer module 2 in a loop, repeatedly detecting the voltage change of the photoelectric sensor 8. When the host computer program receives the feedback instruction from the single-chip microcomputer module, it indicates that the logic board has been blocked in place.

[0074] Step (4): After the logic board is blocked in place, the host computer program delays for 2S, then controls the camera 7 to take multiple photos of the barcode on the logic board to be recognized. Then, the host computer program processes the barcode image obtained after photo acquisition, that is, removes the useless colors in the barcode image and changes the barcode image to a black-and-white image, and then stores the processed barcode image in the register.

[0075] The barcode image stored in the register is compared with keywords and image-recognized by the recognition system. The standard barcode image to be recognized and the model keywords on the corresponding barcode are set. When all the barcode images are recognized correctly and the keyword comparison is correct, the barcode image is determined to be a good product, otherwise it is determined to be a defective product.

[0076] Step (5): When the barcode image is determined to be a good product, the host computer program sends instructions to the serial relay module 1. After the single-chip microcomputer module 2 parses the instructions, the second opto-coupled relay module 4 is used to control the green light of the alarm lamp 12 to turn on. The host computer program sequentially transmits the good product barcodes recognized by the camera 7 to the traceability system. After the transmission is completed, the host computer program sends instructions to the serial relay module 1. After the single-chip microcomputer module 2 parses the instructions, the first opto-coupled relay module 3 is used to control the solenoid valve 11 to disconnect, realizing the cylinder to descend, and the recognized logic board enters the next process.

[0077] Step (6): When the barcode image is determined to be a defective product, such as problems like the barcode being pasted on the logic board, incomplete barcode, damaged barcode, or duplicate barcode information, the host computer program sends an instruction to the serial port relay module 1. After the single-chip microcomputer module 2 analyzes the instruction, it controls the red light of the alarm lamp 12 to turn on through the second opto-coupled relay module 4, and the buzzer gives an alarm. The host computer program displays the defective information. The operator makes corresponding corrections according to the cause of the defect of the barcode image. After the correction is completed, manual barcode scanning is confirmed. Then, by clicking the confirmation button on the host computer program interface, the host computer program transmits the good product barcode identified by manual barcode scanning to the traceability system. After the transmission is completed, the host computer program sends an instruction to the serial port relay module 1. After the single-chip microcomputer module 2 analyzes the instruction, it controls the green light of the alarm lamp 12 to turn on through the second opto-coupled relay module 4. The host computer program sends an instruction to the serial port relay module 1. After the single-chip microcomputer module 2 analyzes the instruction, it controls the solenoid valve 11 to disconnect through the first opto-coupled relay module 3, realizing the descent of the cylinder, and the identified logic board enters the next process.

[0078] Step (7): By looping through steps (2)-(6), the automatic identification operation of the logic board barcodes can be carried out on multiple groups of logic boards in sequence.

[0079] In step (2), the number of cameras 7 is three, with two cameras as the main units and one camera as a backup. Since the specifications and sizes of different logic boards are different, when the fields of view of the two cameras cannot fully cover the products to be identified, the third camera can be enabled to supplement the identification, so that products of different specifications and sizes can be identified without changing the camera perspective, with a wide application range and little limitation.

[0080] In step (4), the number of times the camera 7 takes multiple photos for collection is ten times. When taking photos, by taking ten photos of the barcode on each logic board, the recognition accuracy and accuracy can be increased, and it can be avoided that due to a small amount of dirt, creases, or damage on the barcode not being detected in time and flowing into the market, causing a bad impact;

[0081] More importantly, when there is a situation where two barcodes of similar models are confused, it can be detected and processed in time to avoid the problem of product model confusion.

[0082] In step (4), the recognition system adopts an OCR barcode recognition system. The OCR barcode recognition system is based on high-quality algorithms related to vision in the Labview system. By adopting the OCR barcode recognition system, during the barcode recognition process, high accuracy, high stability, and high speed of recognition can be guaranteed.

[0083] Specifically, the OCR technology can accurately extract text from images, reduce manual input errors, and improve the accuracy of data processing.

[0084] Moreover, the OCR technology provides a flexible SDK development kit and call interfaces, which are easy to use, highly compatible, and convenient to integrate into different applications. At the same time, the OCR technology can quickly identify and process a large amount of text and picture information, greatly improving the speed and efficiency of information input.

[0085] Furthermore, the OCR barcode recognition system supports multiple languages and has few application limitations. More importantly, the OCR technology can perfectly achieve automated operations, increasing work efficiency.

[0086] The automatic barcode recognition device for the logic board is powered by a DC24V switching power supply as a whole and consists of one input signal and two output signals.

[0087] The input signal is the product triggering the optoelectronic sensor. In the assembly line, when the product flows past the optoelectronic sensor 8, it triggers an optoelectronic signal. The optoelectronic sensor 8 outputs a low-level signal to the serial relay module 1, forming a loop with the high-level signal at the COM terminal. When the host computer 6 queries the input status, the slave computer will feedback the status of this input signal to the host computer 6. When the host computer 6 receives the input status, it will stop querying the input signal status of the slave computer and instead send an instruction to the slave computer to close the Y0 output signal. The 0v at the COM terminal is closed with the normally open terminal, and the 24v of the solenoid valve 11 coil is connected to 0v to form a loop. The solenoid valve 11 is energized to change the air pressure direction, and then the cylinder rises. When the product flows through this position, the product is blocked at this position. When the camera recognizes the MARK point on the product, it will continuously take 10 photos. When it recognizes that all ten photos are defective, it will send a signal to the slave computer to turn on the alarm light, prompting the operator to perform manual correction. After the manual processing is completed, click the OK button to cancel the alarm signal and disconnect the signal of the solenoid valve 11. The cylinder descends, and the product flows to the next process. When the program recognizes that one of the photos is a good product, it will stop taking the remaining photos and use this photo as the final processing standard.

[0088] However, the above are only specific embodiments of the present invention and should not be used to limit the scope of implementation of the present invention. Therefore, the replacement of equivalent components or equivalent changes and modifications made in accordance with the scope of protection of the present invention patent should still fall within the scope covered by the claims of the present invention.

Claims

1. An automatic barcode recognition device for a logic board, characterized in that: It includes a serial port relay module, on which there are a single-chip microcomputer module, a first opto-coupler relay module, a second opto-coupler relay module, and a DC24V-5V step-down module. The DC24V-5V step-down module is located at the power input end of the serial port relay module, and the first opto-coupler relay module and the second opto-coupler relay module are located at the output end of the serial port relay module; The single-chip microcomputer module is electrically connected to the input end of the first opto-coupler relay module, the input end of the second opto-coupler relay module, and the DC5V positive and negative interfaces of the DC24V-5V step-down module. The DC24V positive and negative interfaces of the DC24V-5V step-down module are electrically connected to the power positive and negative interfaces on the serial port relay module respectively, and the other ends of the power positive and negative interfaces are connected to a DC24V power module; On the other end of the single-chip microcomputer module, there is an optoelectronic sensor. The single-chip microcomputer module is electrically connected to the optoelectronic sensor, and the other end of the optoelectronic sensor is electrically connected to the DC24V power module; On the other end of the single-chip microcomputer module, there is a host computer. The single-chip microcomputer module is electrically connected to the host computer, and on the other end of the host computer, there is a camera. The host computer is electrically connected to the camera; A solenoid valve is connected to the normally open interface NO of the first opto-coupler relay module. The normally open interface NO of the first opto-coupler relay module is electrically connected to the solenoid valve, and the other end of the solenoid valve is electrically connected to the DC24V terminal on the DC24V power module. The common interface COM0 of the first opto-coupler relay module is electrically connected to the DC0V terminal on the DC24V power module; On the other end of the solenoid valve, there is a cylinder. The solenoid valve is electrically connected to the cylinder; An alarm lamp is connected to the normally open interface NO of the second opto-coupler relay module. The normally open interface NO of the second opto-coupler relay module is electrically connected to the alarm lamp, and the other end of the alarm lamp is electrically connected to the DC24V terminal on the DC24V power module. The common interface COM1 of the second opto-coupler relay module is electrically connected to the DC0V terminal on the DC24V power module.

2. The automatic logic board barcode recognition device according to claim 1, characterized in that: Pin 23 of the single-chip microcomputer module is connected to a resistor R55. The other end of the resistor R55 is electrically connected to the signal interface BK of the optoelectronic sensor through the XO interface at the input end on the serial port relay module. The positive interface BN and the negative interface BU of the optoelectronic sensor are electrically connected to the DC24V terminal and the DC0V terminal of the DC24V power module respectively; Pin 22 of the single-chip microcomputer module is connected to a resistor R56. The other end of the resistor R56 is electrically connected to the DC24V terminal of the DC24V power module through the COM interface at the input end on the serial port relay module; Pin 29 of the single-chip microcomputer module is electrically connected to the DC5V positive interface of the DC24V-5V step-down module, and pin 16 of the single-chip microcomputer module is electrically connected to the DC5V negative interface of the DC24V-5V step-down module; The 36th pin of the single-chip microcomputer module is electrically connected to the positive interface of the input end of the first opto-coupler relay module, and the negative interface of the input end of the first opto-coupler relay module is connected to the positive terminal of DC5V; The 35th pin of the single-chip microcomputer module is electrically connected to the positive interface of the input end of the second opto-coupler relay module, and the negative interface of the input end of the second opto-coupler relay module is connected to the positive terminal of DC5V.

3. The automatic barcode recognition device for a logic board according to claim 1, characterized in that: The single-chip microcomputer module is electrically connected to the upper computer through the 485 communication module. The 7th pin of the single-chip microcomputer module is electrically connected to the 4th pin of the 485 communication module, and the 5th pin of the single-chip microcomputer module is electrically connected to the 1st pin of the 485 communication module; The 6th and 7th pins of the 485 communication module are electrically connected to the upper computer.

4. The automatic barcode recognition device for a logic board according to claim 1, characterized in that: The number of cameras is three, and the upper computer is electrically connected to the three cameras simultaneously.