PCBA board code scanning and number writing test method, device, system and equipment

By using a PCBA panel whole-board writing method and data stream conversion technology, the problem of complex operation of multiple sets of equipment in electronic product manufacturing has been solved, enabling efficient writing tests of multiple PCBA boards, improving production efficiency and reducing error rate.

CN115062736BActive Publication Date: 2026-04-07SHENZHEN WATER WORLD INFORMATION CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-31
Publication Date
2026-04-07

AI Technical Summary

Technical Problem

In the production process of electronic products, employees need to operate multiple sets of equipment at the same time, which leads to complex wiring between the equipment, increases the difficulty of operation and error rate, and reduces production capacity.

Method used

The method of writing to the entire PCBA panel is adopted. By obtaining the identification code information in the PCBA panel and numbering it, an identification code information set is generated and mapped to the PCBA board number. This enables the one-time scanning and writing of the identification code information of multiple PCBA boards. The data stream is converted into a TTL communication interface through a serial port server and a converter box, enabling the simultaneous writing of multiple PCBA boards.

Benefits of technology

It simplifies the operation process for employees, reduces the error rate, improves production efficiency, and enables simultaneous writing and testing of multiple PCBA boards.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115062736B_ABST
    Figure CN115062736B_ABST
Patent Text Reader

Abstract

The PCBA board code scanning and number writing test method, device, system and equipment provided by the application adopt a PCBA board writing mode, can scan all the identification code information that needs to be written on the PCBA single board at one time, and correspond the PCBA single board with the identification code information carried on the identification code, so that one computer can be connected with one or more PCBA boards, the writing data of multiple PCBA single boards can be transmitted at one time for number writing test, and multiple groups of data can be written into the corresponding PCBA single boards one by one, so that the problem that the staff needs to repeat the operation multiple times, and needs to replace the connection relationship and matching relationship between multiple sets of equipment and the PCBA for production and manufacturing at the same time each time, which increases the operation difficulty of the staff, increases the error rate of the operation of the staff, and leads to the problem of low production capacity is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic product manufacturing equipment, specifically to a PCBA board scanning and coding test method, apparatus, system, and equipment. Background Technology

[0002] In the mass production line of electronic products, various small functional PCBA modules are produced. The production of these modules requires a computer to be connected to the PCBA module via a USB to TTL serial cable. At the same time, a barcode scanner is used to scan the QR code information on the module, and then this information is entered into the computer software tool. The computer software then sends instructions to write the QR code information of the module into the PCBA module.

[0003] The current method for barcode scanning and writing testing involves placing each PCBA individually onto a dedicated fixture for individual barcode scanning and writing tests. As a result, employees need to repeat the operation multiple times, and each time they need to change the connection and matching relationship between multiple sets of equipment and PCBAs for production. This increases the difficulty of operation for employees, increases the error rate of employees, and leads to low production capacity. Summary of the Invention

[0004] This application provides a PCBA board scanning and writing test method, device, system and equipment, which aims to solve the problem that in the production process of electronic products, employees need to operate multiple sets of equipment at the same time, which makes the wiring between the equipment complicated, increases the difficulty of operation for employees, increases the error rate of operation, and leads to low production capacity.

[0005] Firstly, this application provides a PCBA board barcode scanning and writing test method, including:

[0006] The information on the identification codes corresponding to several PCBA single boards in the PCBA panel is obtained and numbered to generate an identification code information set, wherein the identification code information set includes identification code information and identification code information number matching the identification code information;

[0007] Map the identifier information number in the identifier information set to the PCBA board number of each PCBA board in the PCBA panel to generate a PCBA board sequence set;

[0008] Obtain the PCBA board whose serial number matches the identification code information number in the PCBA board sequence set, and record it as the PCBA board to be written;

[0009] Write the identification code information that matches the identification code information number into the PCBA board to be written and perform a write test.

[0010] Preferably, the step of mapping the identifier information number in the identifier information set to the PCBA board number of each PCBA board in the PCBA panel to generate a PCBA board sequence set includes:

[0011] The identification code information number in the identification code information set is mapped one-to-one to the PCBA board number of each PCBA board in the PCBA panel;

[0012] A PCBA board sequence set is generated based on the one-to-one mapping relationship between the identification code information number and the PCBA board number.

[0013] Preferably, after the step of writing the identification code information matching the identification code information number into the PCBA board to be written and performing the write test, the method further includes:

[0014] Obtain the write completion signal of all PCBA boards in the PCBA panel that have been written with the identification code information, and generate a complete write number set;

[0015] The completed write number set is compared with the identification code information set in the preset database. Identification code information in the identification code information set that does not match the completed write number set is marked as not written to the identification code information set. The identification code information set in the preset database includes all identification code information used in this write test.

[0016] Obtain the number corresponding to the identifier information not written into the identifier information set, and generate an unwritten number set.

[0017] Preferably, before the step of writing the identification code information matching the identification code information number into the PCBA board to be written and performing the write test, the method further includes:

[0018] The identification code information in the identification code information set and the identification code information number matching the identification code information are converted into data to generate data stream information, wherein the data stream information contains the identification code information and the identification code information number.

[0019] Preferably, the step of converting the identifier information in the identifier information set into data includes:

[0020] The identification code information in the identification code information set is converted into a first data stream, wherein the first data stream is an RS232 data stream;

[0021] The first data stream is converted into a second data stream, which is TTL data.

[0022] Secondly, this application also provides a PCBA board barcode scanning and writing test device, the device comprising:

[0023] The identification code information set generation module is used to obtain the information on the identification codes corresponding to several PCBA single boards in the PCBA panel and assign them numbers to generate an identification code information set. The identification code information set includes identification code information and identification code information numbers that match the identification code information.

[0024] The PCBA board sequence set generation module is used to map the identification code information number in the identification code information set to the PCBA board number of each PCBA board in the PCBA panel, and generate a PCBA board sequence set.

[0025] The PCBA board to be written module is used to obtain the PCBA board whose number in the PCBA board sequence set matches the identification code information number, and is recorded as the PCBA board to be written.

[0026] The write test module is used to write the identification code information that matches the identification code information number into the PCBA board to be written and perform a write test.

[0027] Thirdly, this application also provides a PCBA board barcode scanning and writing test system, including: a main control unit, a switch unit, a visual barcode scanning unit, a serial port server unit, a conversion box unit, and a module fixture unit. The main control unit is connected to the switch unit, the switch unit is connected to the visual barcode scanning unit and the serial port server unit respectively, the serial port server unit is linked to the conversion box unit, and the conversion box unit is connected to the module fixture unit. The visual barcode scanning unit is used to scan the identification code information in the PCBA panel and send the identification code information to the main control unit. The main control unit is also used to number the identification code information and transmit the identification code information to the module fixture unit based on the switch unit, the serial port server unit, and the conversion box unit. The serial port server unit is used to implement interface conversion between the switch unit and the conversion box unit. The conversion box unit is used to implement interface conversion and data format conversion between the serial port server unit and the module fixture unit. The module fixture unit is used to write the identification code information into the PCBA panel.

[0028] Preferably, the PCBA board barcode scanning and writing test system further includes a factory server unit, which is connected to the switch unit and is used to store the work order number and production status of the module.

[0029] Preferably, the module fixture unit is provided with a PCBA board scanning and writing test circuit, which includes: a power supply circuit, a state switching circuit, serial port J1, serial port J2, serial port J3 and several writing circuits.

[0030] The power supply circuit includes capacitors C67 and C68, resistor R162, and chip U33. The first end of capacitor C68 and the power input pin VIN of chip U33 are connected to an external power supply. The second end of capacitor C68 is grounded. The power input pin VIN of chip U33 is also connected to the chip select pin CE of chip U33 and the first end of resistor R162. The second end of resistor R162 is connected to the power output pin VOUT of chip U33, the first end of capacitor C67, and the first interface of serial port J1. The second end of capacitor C67 is grounded, and the power ground pin of chip U33 is grounded.

[0031] The state switching circuit includes a serial port J4, a Schottky diode D1, a bidirectional breakdown diode T1, a resistor R1, a capacitor C1, a capacitor C2, and a light-emitting diode LED1. The first interface of the serial port J4 is connected to the first terminal of the resistor R1 and the positive terminal of the Schottky diode D1. The second interface of the fifth serial port J4 is grounded. The second terminal of the resistor R1 is connected to the positive terminal of the light-emitting diode LED1. The negative terminal of the light-emitting diode LED1 is grounded. The negative terminal of the Schottky diode D1 is connected to the first terminal of the bidirectional breakdown diode T1, the first terminal of the capacitor C1, the first terminal of the capacitor C2, and an external power supply. The second terminals of the bidirectional breakdown diode T1, the second terminals of the capacitor C1, and the second terminals of the capacitor C2 are grounded.

[0032] The first interface of serial port J1 is connected to the second end of resistor R162, the power output pin VOUT of chip U33, and the first end of capacitor C67. The second interface of serial port J1 is connected to the plurality of write circuits. The write circuit includes resistors R2, R5, R11, and R74, chip U1, capacitors C3 and C4, and LED2. The first end of resistor R74 is connected to the second interface of serial port J1, and the second end of resistor R74 is connected to the general purpose input / output pin GPIO13 of chip U1. The general purpose input / output pin GPIO36 of chip U1 is connected to the first interface of serial port J3. The first end of resistor R2 is connected to an external power supply. The second end of resistor R2 is connected to the first end of resistor R5, the first end of capacitor C3, the first end of capacitor C4, and the power input pin VDD33 of chip U1. The second end of resistor R5 is connected to the positive terminal of LED2, and the negative terminal of LED2 is grounded. The second ends of capacitors C3 and C4 are grounded. The power ground pin of chip U1 is connected to the first end of resistor R11, and the first end of resistor R11 is grounded. The general purpose input / output pin GPIO00 of chip U1 is connected to the data input interface RXD1 of serial port J2, and the general purpose input / output pin GPIO01 of chip U1 is connected to the data output interface TXD1 of serial port J2.

[0033] Fourthly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the PCBA board scanning and writing test method as described in any of the preceding claims.

[0034] Fifthly, this application also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the PCBA board barcode scanning and writing test method as described in any of the preceding claims.

[0035] The PCBA board barcode scanning and writing test method, device, system, and equipment provided in this application adopt a whole-board writing method for PCBA panels. It can scan all the identification code information that needs to be written to each PCBA board at once, and assign corresponding numbers to the PCBA boards and the identification code information carried on the identification codes. Therefore, it is possible to use a computer to connect to one or more PCBA panels and transmit the writing data of multiple PCBA boards at once for writing tests. Multiple sets of data are written one-to-one to the corresponding PCBA boards. This solves the problem that employees need to perform multiple repetitive operations, and each operation requires changing the connection and matching relationship between multiple sets of equipment and PCBAs for production, which increases the difficulty of operation for employees, increases the error rate of operation, and leads to low production capacity. Attached Figure Description

[0036] Figure 1 A flowchart of a PCBA board barcode scanning and writing test method according to one embodiment;

[0037] Figure 2 This is a schematic diagram of a PCBA board barcode scanning and writing test device according to an embodiment;

[0038] Figure 3 This is a schematic diagram of a PCBA board barcode scanning and writing test system according to one embodiment;

[0039] Figure 4 This is a schematic diagram of a PCBA board barcode scanning and writing test system according to one embodiment;

[0040] Figure 5 A circuit diagram of the power supply circuit of a PCBA board barcode scanning and writing test system according to one embodiment;

[0041] Figure 6 A circuit diagram of the state switching circuit of a PCBA board barcode scanning and writing test system according to an embodiment;

[0042] Figure 7 A circuit diagram of the writing circuit of a PCBA board barcode scanning and writing test system according to an embodiment;

[0043] Figure 8 The circuit diagram of serial port J2 of a PCBA board barcode scanning and writing test system is shown in one embodiment.

[0044] Figure 9 The circuit diagram of serial port J3 of a PCBA board barcode scanning and writing test system is shown in one embodiment.

[0045] Figure 10 This is a schematic diagram of a PCBA board barcode scanning and writing test device according to an embodiment.

[0046] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0047] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

[0048] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present invention.

[0049] Firstly, refer to the appendix Figure 1 This application provides a PCBA board barcode scanning and writing test method, including:

[0050] S1: Obtain the information on the identification codes corresponding to several PCBA single boards in the PCBA panel and assign them numbers to generate an identification code information set, wherein the identification code information set includes identification code information and identification code information numbers that match the identification code information;

[0051] S2: Map the identifier information number in the identifier information set to the PCBA board number of each PCBA board in the PCBA panel, and generate a PCBA board sequence set;

[0052] S3: Obtain the PCBA board whose number in the PCBA board sequence set matches the identification code information number, and record it as the PCBA board to be written;

[0053] S4: Write the identification code information that matches the identification code information number into the PCBA board to be written and perform a write test.

[0054] As described in step S1 above, the PCBA panel in this embodiment is formed by splicing together several PCBA single boards. In the actual PCBA board writing test process, employees can control the software platform or software tools of the computer terminal to send scanning instructions to the visual barcode scanner. The visual barcode scanner will then photograph and scan the identification codes affixed to each PCBA single board in the PCBA panel in the fixture according to the instructions. The identification code information carried in the identification code that needs to be written to the corresponding PCBA single board (the writing data that needs to be written to the corresponding coded PCBA single board for testing) will be numbered 12345... and a dataset will be generated.

[0055] As described in step S2 above, if the visual scanner identifies the identification code at position 1 and assigns it the code "1", then both the corresponding identification code information number and the PCBA board number are "1". Preferably, the identification code can be affixed to a specific location on the PCBA panel. When the identification code is a full-page document, the visual scanner will sequentially identify the identification code information from a predetermined direction along a predetermined order, generating a number containing the identification code information and its corresponding identifier. For example, it might perform a bow-shaped scan from the top left corner of the entire identification code to the right, sequentially assigning each identification code information number 12345... Then, the identification code information number is used to assign the PCBA board number... During the numbering process, a bow-shaped scan is performed starting from the top left corner of the PCBA panel and moving to the right. Each PCBA board on the panel is then assigned a number corresponding to the identification code information at the corresponding position on the overall identification code. For example, if the identification code information of the first identification code identified from the top left corner of the overall identification code is 1, then the number of the first PCBA board numbered from the top left corner of the corresponding PCBA panel is 'a'. If the identification code information of the second identification code identified from the top left corner of the overall identification code is 2, then the number of the second PCBA board numbered from the top left corner of the corresponding PCBA panel is 'b', and so on, to generate a PCBA board sequence set.

[0056] As described in steps S3-S4 above, after the PCBA board sequence set is generated, the identification code information needs to be written into the corresponding numbered PCBA board. Therefore, the cloud server can filter out the PCBA board sequence set whose number matches the identification code information number and write the corresponding identification code information into this PCBA board. Thus, it is possible to perform number writing tests on multiple PCBA boards in one operation, which can greatly improve testing efficiency.

[0057] In one embodiment, the step of mapping the identifier information number in the identifier information set to the PCBA board number of each PCBA board in the PCBA panel to generate a PCBA board sequence set includes:

[0058] The identification code information number in the identification code information set is mapped one-to-one to the PCBA board number of each PCBA board in the PCBA panel;

[0059] A PCBA board sequence set is generated based on the one-to-one mapping relationship between the identification code information number and the PCBA board number.

[0060] As described above, after generating the identification code information set, the cloud server will assign a one-to-one number to each PCBA board in the PCBA panel according to the encoding order of the identification codes in the identification code information set. The identification code information number is then matched with the PCBA board number of each PCBA board in the PCBA panel. That is, if the identification code information number of position 1 is "1", then the corresponding PCBA board number at position 1 will also be assigned "1". In this way, all PCBA boards are scanned and the information in each PCBA board is matched with the corresponding number to generate a PCBA board sequence set. This ensures that the identification code information number and the PCBA board in the PCBA board sequence set are in a one-to-one correspondence, preventing confusion.

[0061] In one embodiment, after the step of writing the identification code information to the PCBA board corresponding to the identification code number and performing a write test, the method further includes:

[0062] Obtain the write completion signal of all PCBA boards in the PCBA panel that have been written with the identification code information, and generate a complete write number set;

[0063] The completed write number set is compared with the identification code information set in the preset database. Identification code information in the identification code information set that does not match the completed write number set is marked as not written to the identification code information set. The identification code information set in the preset database includes all identification code information used in this write test.

[0064] Obtain the number corresponding to the identifier information not written into the identifier information set, and generate an unwritten number set.

[0065] As described above, after the identification code information is written to the PCBA board corresponding to the identification code number, the PCBA board will send a signal to the computer terminal. The computer terminal will then determine whether the identification code information has been written to the corresponding PCBA board based on the feedback signal. The test computer terminal can obtain all feedback signals and generate a write number set. The write number set contains all the identification code information and its corresponding code. The write number set is then compared with the identification code information set in the preset database. The preset database contains all the identification code information that needs to be written in this test. Identification code information that is not in the identification code information set in the preset database and its corresponding number are included to generate an unwritten number set, which is displayed in the software platform or software tool. Therefore, it is possible to intuitively observe which PCBA boards have been written and which have not.

[0066] In one embodiment, before the step of writing the identification code information matching the identification code information number into the PCBA board to be written and performing the write test, the method further includes:

[0067] The identification code information in the identification code information set and the identification code information number matching the identification code information are converted into data to generate data stream information, wherein the data stream information contains the identification code information and the identification code information number.

[0068] As mentioned above, given that most existing PC / computer terminals and module fixtures connect via single-board operation and word writing, while this application allows for writing to multiple PCBA boards at once, data conversion is required between the PC / computer terminal and the module fixture. The computer sends identification code information data to the module fixture via a TCP connection. The converted data stream still contains the write data to be written to the corresponding numbered PCBA board and the identification code information number corresponding to the PCBA board number. Therefore, a serial port server and conversion box can be added between the PC / computer terminal and the module fixture to convert the computer terminal's TCP into a TTL communication interface that the module fixture can receive. This allows the computer to transmit write data for multiple PCBA boards to the module fixture at once. By using a multi-pin connector on the TTL communication interface, multiple sets of identification code information can be transmitted simultaneously to the programming circuit in the module fixture, writing the multiple sets of identification code information to the corresponding numbered PCBA boards.

[0069] In one embodiment, the step of converting the identifier information in the identifier information set into data includes:

[0070] The identification code information in the identification code information set is converted into a first data stream, wherein the first data stream is an RS232 data stream;

[0071] The first data stream is converted into a second data stream, which is TTL data.

[0072] As described above, in the specific scenario of this embodiment, two conversions can be performed between the computer and the module fixture. The first conversion is that the computer terminal connects to a serial port server via TCP. Therefore, the serial port server can convert the TCP protocol data stream into an SR232 data interface for routing. Then, the conversion box converts the data stream output from the SR232 data interface into the output data stream of the TTL communication interface. By connecting to the programming circuit of the module fixture through a multi-pin connector, it is possible to perform writing tests on multiple PCBA boards simultaneously.

[0073] Secondly, referring to Figure 2This application also provides a PCBA board barcode scanning and writing test device, the device comprising:

[0074] The identification code information set generation module 100 is used to obtain the information on the identification codes corresponding to several PCBA single boards in the PCBA panel and number them to generate an identification code information set, wherein the identification code information set includes identification code information and identification code information number matching the identification code information.

[0075] PCBA board sequence set generation module 200 is used to map the identification code information number in the identification code information set to the PCBA board number of each PCBA board in the PCBA panel, and generate a PCBA board sequence set.

[0076] The PCBA board to be written generation module 300 is used to obtain the PCBA board whose number in the PCBA board sequence set matches the identification code information number, and denot it as the PCBA board to be written.

[0077] The write test module 400 is used to write the identification code information that matches the identification code information number into the PCBA board to be written and perform a write test.

[0078] In one embodiment, the PCBA single-board sequence set generation module 200 is further configured to:

[0079] The identification code information number in the identification code information set is mapped one-to-one to the PCBA board number of each PCBA board in the PCBA panel;

[0080] A PCBA board sequence set is generated based on the one-to-one mapping relationship between the identification code information number and the PCBA board number.

[0081] In one embodiment, the PCBA board barcode scanning and writing test device further includes a comparison module, which is used for:

[0082] Obtain the write completion signal of all PCBA boards in the PCBA panel that have been written with the identification code information, and generate a complete write number set;

[0083] The completed write number set is compared with the identification code information set in the preset database. Identification code information in the identification code information set that does not match the completed write number set is marked as not written to the identification code information set. The identification code information set in the preset database includes all identification code information used in this write test.

[0084] Obtain the number corresponding to the identifier information not written into the identifier information set, and generate an unwritten number set.

[0085] In one embodiment, the PCBA board barcode scanning and writing test device further includes a data conversion module, which is used for:

[0086] The identification code information in the identification code information set and the identification code information number matching the identification code information are converted into data to generate data stream information, wherein the data stream information contains the identification code information and the identification code information number.

[0087] In one embodiment, the data transformation module includes:

[0088] The first conversion module is used to convert the identification code information in the identification code information set into a first data stream, wherein the first data stream is an RS232 data stream;

[0089] The second conversion module is used to convert the first data stream into a second data stream, wherein the second data stream is TTL data.

[0090] Thirdly, referring to Figure 3 This application also provides a PCBA board barcode scanning and marking test system, including: a main control unit 10, a switch unit 20, a visual barcode scanning unit 30, a serial port server unit 40, a conversion box unit 50, and a module fixture unit 60. The main control unit 10 is connected to the switch unit 20, the switch unit 20 is connected to the visual barcode scanning unit 30 and the serial port server unit 40 respectively, the serial port server unit 40 is connected to the conversion box unit 50, and the conversion box unit 50 is connected to the module fixture unit 60; wherein, the visual barcode scanning unit 30 is used to scan the markings in the PCBA board. The identification code information is identified and sent to the main control unit 10. The main control unit 10 is also used to number the identification code information and transmit the identification code information to the module fixture unit 60 based on the switch unit 20, serial port server unit 40, and conversion box unit 50. The serial port server unit 40 is used to realize the interface conversion between the switch unit 20 and the conversion box unit 50. The conversion box unit 50 is used to realize the interface conversion between the serial port server unit 40 and the module fixture unit 60. The module fixture unit 60 is used to write the identification code information into the PCBA panel.

[0091] In one embodiment, the PCBA board barcode scanning and writing test system further includes a factory server unit 70, which is connected to the switch unit 20 and is used to store the work order number and production status of the module.

[0092] As described above, the PCBA board barcode scanning and coding test system provided in this embodiment includes: a main control unit 10, a switch unit 20, a vision scanning unit 30, a serial server unit 40, a conversion box unit 50, a module fixture unit 60, and a factory server unit 70. The main control unit 10 includes a computer, a microcomputer, etc., and is equipped with software tools and a platform for controlling PCBA board module production. The switch unit 20 can provide a dedicated electrical signal path for any two network nodes connected to the switch unit 20. That is, during the production process, when an employee operates the software in the main control unit 10 to generate a command, it can be transmitted through the switch unit 20 to other devices connected to the switch unit 20. In this embodiment, both the visual scanning unit 30 and the serial server unit 40 are connected to the switch unit 20. Therefore, the serial server unit 40 is a 32-interface serial server. The serial server provides a serial-to-network function, converting RS-232 / 485 / 422 serial ports into TCP / IP protocol network interfaces, enabling bidirectional transparent data transmission between the RS-232 / 485 / 422 serial ports and the TCP / IP protocol network interface. That is, the data stream from the main control unit 10, after passing through the serial server unit 40, can output 32 SR232 data interfaces, which are then connected to the 32-interface conversion box unit 50 via 32 RJ45 adapter cables. The conversion box unit 50 is a communication interface signal conversion device. The device converts RS232 communication interface signals into TTL communication interface output data, which is then connected to the module fixture unit 60 via a 100-pin adapter cable. The module fixture unit 60 is equipped with multiple sets of fixtures for connecting and fixing multiple PCBA boards for testing and writing. During production, employees operate the main control unit 10, which sends operation commands to the vision scanning unit 30 via a TCP network connection to scan the QR codes on multiple PCBA boards installed in the module fixture unit 60. The scanned QR code information is numbered, arranged, and uploaded to the software within the main control unit 10. The software tool platform in the main control unit 10 receives the corresponding QR code information and then... The QR code information data is sent to the serial port server unit 40 with a 32-interface via a TCP connection. The serial port server unit 40 outputs 32 SR232 data interfaces, which are connected to the 32-interface conversion box unit 50 via 32 RJ45 adapter cables. The conversion box unit 50 converts the RS232 communication interface signal to the TTL communication interface output data, and then connects to the module fixture unit 60 via a 100-pin adapter cable. The module fixture unit 60 writes the QR code information data to the corresponding numbered PCBA board for testing. Therefore, 32 groups of PCBA boards can be set up at the same time in the module fixture unit 60, and the writing test of 32 groups of PCBA boards can be achieved in one operation, which can improve the productivity of employees.

[0093] It should be noted that the serial server unit 40 and the conversion box unit 50 used in this embodiment both have 32 interfaces. This is not a limitation. In actual use, the serial server unit 40 and the conversion box unit 50 with more or fewer interfaces can be selected according to actual production needs.

[0094] A factory server unit 70 is set up in the PCBA board barcode scanning and writing test device. The factory server unit 70 is equipped with a storage medium. During the production process, the steps performed by the main control unit 10, the vision scanning unit 30, the serial port server unit 40, the conversion box unit 50 and the module fixture unit 60, as well as the corresponding production status or test data such as work order number, production time and all identification code information, can be transmitted to the factory server unit 70 through the switch unit 20 for recording and storage, so as to facilitate future inspection.

[0095] Reference Figures 4 to 9 In one embodiment, the module fixture unit 60 is provided with a PCBA board scanning and writing test circuit, which includes: a power supply circuit 1, a state switching circuit 2, a serial port J1, a serial port J2, a serial port J3, and several writing circuits 3.

[0096] The power supply circuit 1 includes capacitor C67, capacitor C68, resistor R162, and chip U33. The first end of capacitor C68 and the power input pin VIN of chip U33 are connected to an external power supply. The second end of capacitor C68 is grounded. The power input pin VIN of chip U33 is also connected to the chip select pin CE of chip U33 and the first end of resistor R162. The second end of resistor R162 is connected to the power output pin VOUT of chip U33, the first end of capacitor C67, and the first interface of serial port J1. The second end of capacitor C67 is grounded, and the power ground pin of chip U33 is grounded.

[0097] The state switching circuit 2 includes a serial port J4, a Schottky diode D1, a bidirectional breakdown diode T1, a resistor R1, a capacitor C1, a capacitor C2, and a light-emitting diode LED1. The first interface of the serial port J4 is connected to the first end of the resistor R1 and the positive terminal of the Schottky diode D1. The second interface of the fifth serial port J4 is grounded. The second end of the resistor R1 is connected to the positive terminal of the light-emitting diode LED1. The negative terminal of the light-emitting diode LED1 is grounded. The negative terminal of the Schottky diode D1 is connected to the first end of the bidirectional breakdown diode T1, the first end of the capacitor C1, the first end of the capacitor C2, and an external power supply. The second ends of the bidirectional breakdown diode T1, the second ends of the capacitor C1, and the second ends of the capacitor C2 are grounded.

[0098] The first interface of serial port J1 is connected to the second end of resistor R162, the power output pin VOUT of chip U33, and the first end of capacitor C67. The second interface of serial port J1 is connected to the plurality of write circuits 3. The write circuit 3 includes resistors R2, R5, R11, and R74, chip U1, capacitors C3 and C4, and LED2. The first end of resistor R74 is connected to the second interface of serial port J1, and the second end of resistor R74 is connected to the general purpose input / output pin GPIO13 of chip U1. The general purpose input / output pin GPIO36 of chip U1 is connected to the first interface of serial port J3. The first end of resistor R2 is connected to an external power supply. The power supply is connected as follows: the second end of resistor R2 is connected to the first end of resistor R5, the first end of capacitor C3, the first end of capacitor C4, and the power input pin VDD33 of chip U1; the second end of resistor R5 is connected to the positive terminal of LED2; the negative terminal of LED2 is grounded; the second ends of capacitors C3 and C4 are grounded; the power ground pin of chip U1 is connected to the first end of resistor R11; the first end of resistor R11 is grounded; the general purpose input / output pin GPIO00 of chip U1 is connected to the data input interface RXD1 of serial port J2; and the general purpose input / output pin GPIO01 of chip U1 is connected to the data output interface TXD1 of serial port J2.

[0099] As described above, the PCBA board barcode scanning and writing test circuit includes: a power supply circuit 1, a state switching circuit 2, serial ports J1, J2, and J3, and several writing circuits 3. The power supply circuit 1 provides operating power to the entire test circuit. The state switching circuit 2 acts as a switch in the module fixture unit 60, providing a 3.3V power supply mode switching (on / off state switching) for the entire circuit. Serial port J1 is a two-interface serial connector. The first interface of serial port J1 is connected to the second terminal of resistor R162, the power output pin VOUT of chip U33, and the first terminal of capacitor C67. The second interface of serial port J1 is connected to the several writing circuits 3. The circuit components and their internal connections in the several writing circuits 3 are identical; the only difference is the general-purpose input / output pins GPIO36 and G... PIO13 will be connected to the same set of data input interface RXD and data output interface TXD of serial port J2. Serial port J2 has multiple sets of data input / output interfaces, each set including a data input interface RXD and a data output interface TXD. Each set of data input / output interfaces will be connected one-to-one to the general-purpose input / output pins GPIO00 and GPIO01 of a chip in writing circuit 3 (GPIO00 is connected to the data input interface RXD, and GPIO01 is connected to the data output interface TXD). The chip's general-purpose input / output pin GPIO13 will be connected to the second interface of serial port J1 through a resistor of the same value. Each chip's general-purpose input / output pin GPIO36 will be connected one-to-one to a pin of serial port J3. Serial port J3 is used to plug in a PCBA board to realize data writing test.

[0100] Furthermore, there can be one or multiple serial ports J3, but it should be noted that each pin of each serial port J3 can only be connected to one PCBA board.

[0101] Furthermore, the model number of the chip U33 includes LP3987H-33B5F;

[0102] Furthermore, the model number of the chip U1 includes RE742-T1.

[0103] In summary, the PCBA board barcode scanning and writing test method, apparatus, system, and equipment provided in this application embodiment adopt a key carrier design of module-connected circuit board fixtures, which can accommodate multiple PCBA panels at one time and simultaneously connect multiple PCBA panels for writing tests. With the help of a serial port server, a single computer can transmit writing data from multiple PCBA boards at one time, writing multiple sets of data one-to-one into the corresponding PCBA modules. This solves the problem that in the existing electronic product manufacturing process, employees need to operate multiple sets of equipment simultaneously, which complicates the wiring between the equipment, increases the difficulty of operation for employees, increases the error rate of employee operation, and leads to low production capacity.

[0104] Reference Figure 10 This disclosure also provides a computer device, which may be a server, and its internal structure may be as follows: Figure 10 As shown. The computer device includes a processor, memory, network interface, and database connected via a system bus. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system, computer programs, and database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The database stores data marked or stored during the operation of the sweeper. The network interface communicates with external terminals via a network connection. When the computer program is executed by the processor, it implements the PCBA board barcode scanning and writing test method in any of the above embodiments.

[0105] Those skilled in the art will understand that Figure 10 The structure shown is merely a block diagram of a portion of the structure related to the present disclosure and does not constitute a limitation on the computer equipment on which the present disclosure is applied.

[0106] This disclosure also provides a computer-readable storage medium storing a computer program thereon. When the computer program is executed by a processor, it implements the PCBA board barcode scanning and writing test method in any of the above embodiments. It is understood that the computer-readable storage medium in this embodiment can be a volatile readable storage medium or a non-volatile readable storage medium.

[0107] It should be noted that all directional indicators (such as up, down, left, right, front, and back) in the embodiments of the present invention are only used to explain the relative positional relationship and movement of each component in a certain specific posture (as shown in the figure). If the specific posture changes, the directional indicator will also change accordingly. The connection can be a direct connection or an indirect connection.

[0108] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the methods described above. Any references to memory, storage, databases, or other media provided in this disclosure and used in the embodiments can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual-rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.

[0109] Furthermore, in this invention, descriptions involving "first," "second," etc., are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first" or "second" may explicitly or implicitly include at least one of that feature. Additionally, the technical solutions of the various embodiments can be combined with each other, but only on the basis of being achievable by those skilled in the art. When the combination of technical solutions is contradictory or impossible to implement, such a combination of technical solutions should be considered non-existent and not within the scope of protection claimed by this invention.

[0110] The above description is merely a preferred embodiment of the present invention and does not limit the patent scope of the present invention. Any equivalent structural or procedural transformations made based on the content of the present invention's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of the present invention.

Claims

1. A method for testing the scanning and writing of codes on a PCBA board, characterized in that, include: The information on the identification codes corresponding to several PCBA single boards in the PCBA panel is obtained and numbered to generate an identification code information set, wherein the identification code information set includes identification code information and identification code information number matching the identification code information; Map the identifier information number in the identifier information set to the PCBA board number of each PCBA board in the PCBA panel to generate a PCBA board sequence set; Obtain the PCBA board whose serial number matches the identification code information number in the PCBA board sequence set, and record it as the PCBA board to be written; Write the identification code information that matches the identification code information number into the PCBA board to be written and perform a write test; The step of mapping the identifier information number in the identifier information set to the PCBA board number of each PCBA board in the PCBA panel to generate a PCBA board sequence set includes: The identification code information number in the identification code information set is mapped one-to-one to the PCBA board number of each PCBA board in the PCBA panel; A PCBA board sequence set is generated based on the one-to-one mapping relationship between the identification code information number and the PCBA board number of the PCBA board. When the identification code is a whole board, when the visual scanner recognizes the information on the identification code, it performs an arc-shaped scan from the upper left corner of the whole board identification code to the right, and assigns a number to the identification code information on each identification code in sequence. When using the identification code information number to number the PCBA board, it also follows the same procedure of performing an arc-shaped scan from the upper left corner of the PCBA panel to the right, and assigning a number to each PCBA board on the PCBA panel that corresponds to the identification code information number at the corresponding position on the whole board identification code. After the step of writing the identification code information matching the identification code information number into the PCBA board to be written and performing the write test, the method further includes: Obtain the write completion signal of all PCBA boards in the PCBA panel that have been written with the identification code information, and generate a write completion number set, wherein the write number set contains all the identification code information and its corresponding code; The completed write number set is compared with the identification code information set in the preset database. Identification code information in the identification code information set that does not match the completed write number set is marked as not written to the identification code information set. The identification code information set in the preset database includes all identification code information used in this write test. Obtain the number corresponding to the identifier information in the unwritten identifier information set, generate the unwritten number set, and display the unwritten identifier information in the software platform or software tool.

2. The PCBA board scanning and coding test method as described in claim 1, characterized in that, Before the step of writing the identification code information matching the identification code information number into the PCBA board to be written and performing the write test, the following steps are also included: The identification code information in the identification code information set and the identification code information number matching the identification code information are converted into data to generate data stream information, wherein the data stream information contains the identification code information and the identification code information number.

3. The PCBA board barcode scanning and writing test method as described in claim 2, characterized in that, The step of converting the identifier information in the identifier information set into data includes: The identification code information in the identification code information set is converted into a first data stream, wherein the first data stream is an RS232 data stream; The first data stream is converted into a second data stream, which is TTL data.

4. A PCBA board barcode scanning and writing test device, used to implement the method described in any one of claims 1-3, characterized in that, The device includes: The identification code information set generation module is used to obtain the information on the identification codes corresponding to several PCBA single boards in the PCBA panel and assign them numbers to generate an identification code information set. The identification code information set includes identification code information and identification code information numbers that match the identification code information. The PCBA board sequence set generation module is used to map the identification code information number in the identification code information set to the PCBA board number of each PCBA board in the PCBA panel, and generate a PCBA board sequence set. The PCBA board to be written module is used to obtain the PCBA board whose number in the PCBA board sequence set matches the identification code information number, and is recorded as the PCBA board to be written. The write test module is used to write the identification code information that matches the identification code information number into the PCBA board to be written and perform a write test.

5. A PCBA board barcode scanning and writing test system, used to implement the method described in any one of claims 1-3, characterized in that, include: The system comprises a main control unit, a switch unit, a visual barcode scanning unit, a serial port server unit, a conversion box unit, and a module fixture unit. The main control unit is connected to the switch unit, the switch unit is connected to both the visual barcode scanning unit and the serial port server unit, the serial port server unit is connected to the conversion box unit, and the conversion box unit is connected to the module fixture unit. The visual barcode scanning unit scans identification code information in the PCBA panel and sends the identification code information to the main control unit. The main control unit also assigns a number to the identification code information and transmits it to the module fixture unit based on the connection between the switch unit, the serial port server unit, and the conversion box unit. The serial port server unit is used to realize the interface conversion between the switch unit and the conversion box unit; the conversion box unit is used to realize the interface conversion and data format conversion between the serial port server unit and the module fixture unit; and the module fixture unit is used to write the identification code information into the PCBA panel.

6. The PCBA board barcode scanning and writing test system as described in claim 5, characterized in that, It also includes a factory server unit, which is connected to the switch unit and is used to store the work order number and production status of the module.

7. The PCBA board barcode scanning and writing test system as described in claim 5, characterized in that, The module fixture unit is equipped with a PCBA board scanning and writing test circuit, which includes: a power supply circuit, a state switching circuit, serial port J1, serial port J2, serial port J3, and several writing circuits. The power supply circuit includes capacitors C67 and C68, resistor R162, and chip U33. The first end of capacitor C68 and the power input pin VIN of chip U33 are connected to an external power supply. The second end of capacitor C68 is grounded. The power input pin VIN of chip U33 is also connected to the chip select pin CE of chip U33 and the first end of resistor R162. The second end of resistor R162 is connected to the power output pin VOUT of chip U33, the first end of capacitor C67, and the first interface of serial port J1. The second end of capacitor C67 is grounded, and the power ground pin of chip U33 is grounded. The state switching circuit includes a serial port J4, a Schottky diode D1, a bidirectional breakdown diode T1, a resistor R1, a capacitor C1, a capacitor C2, and a light-emitting diode LED1. The first interface of the serial port J4 is connected to the first terminal of the resistor R1 and the positive terminal of the Schottky diode D1. The second interface of the serial port J4 is grounded. The second terminal of the resistor R1 is connected to the positive terminal of the light-emitting diode LED1. The negative terminal of the light-emitting diode LED1 is grounded. The negative terminal of the Schottky diode D1 is connected to the first terminal of the bidirectional breakdown diode T1, the first terminal of the capacitor C1, the first terminal of the capacitor C2, and an external power supply. The second terminals of the bidirectional breakdown diode T1, the second terminals of the capacitor C1, and the second terminals of the capacitor C2 are grounded. The first interface of serial port J1 is connected to the second end of resistor R162, the power output pin VOUT of chip U33, and the first end of capacitor C67. The second interface of serial port J1 is connected to the plurality of write circuits. The write circuit includes resistors R2, R5, R11, and R74, chip U1, capacitors C3 and C4, and LED2. The first end of resistor R74 is connected to the second interface of serial port J1, and the second end of resistor R74 is connected to the general purpose input / output pin GPIO13 of chip U1. The general purpose input / output pin GPIO36 of chip U1 is connected to the first interface of serial port J3. The first end of resistor R2 is connected to an external power supply. The second end of resistor R2 is connected to the first end of resistor R5, the first end of capacitor C3, the first end of capacitor C4, and the power input pin VDD33 of chip U1. The second end of resistor R5 is connected to the positive terminal of LED2, and the negative terminal of LED2 is grounded. The second ends of capacitors C3 and C4 are grounded. The power ground pin of chip U1 is connected to the first end of resistor R11, and the first end of resistor R11 is grounded. The general purpose input / output pin GPIO00 of chip U1 is connected to the data input interface RXD1 of serial port J2, and the general purpose input / output pin GPIO01 of chip U1 is connected to the data output interface TXD1 of serial port J2.

8. A computer device, characterized in that, It includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the PCBA board scanning and writing test method as described in any one of claims 1-3.

Citation Information

Patent Citations

  • Jointed PCB dividing method and jointed PCB dividing structure

    CN106028660A

  • Articulated Naturality Web terminal programming method and device

    CN108632075A

  • PCBA board testing method and system

    CN112083311A