PCBA first piece detection method and system, electronic equipment and storage medium
By generating a component list and dynamically allocating inspection tasks, the first article inspection of PCBA can be carried out by multiple people in parallel and cross-inspection, which solves the problems of long inspection time and high error rate in traditional inspection and improves inspection efficiency and accuracy.
Patent Information
- Application Number
- CN202210602772.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-30
- Publication Date
- 2026-02-13
- Estimated Expiration
- 2042-05-30
AI Technical Summary
Traditional PCBA first article inspection is time-consuming and prone to high error rates, especially when there are many components. Manual inspection is harmful to the eyes and inefficient.
By acquiring virtual assembly drawings of the entire board and physical images of the PCBA, a component list is generated. Using the multi-inspection settings and task allocation module, inspection tasks are dynamically allocated to multiple user terminals, supporting multi-person parallel inspection and cross-inspection, and generating a final report.
It achieves efficient and low-error-rate first-article inspection of PCBA. Through multi-person parallel inspection and cross-inspection, it saves time and reduces the error rate of manual inspection.
Smart Images

Figure CN114936656B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the technical field of electronic manufacturing, and particularly relates to a PCBA first piece detection method and system, an electronic device and a storage medium. BACKGROUND
[0002] PCBA (Printed Circuit Board Assembly) first inspection: PCBA board first inspection is to check the first or first few products produced in each batch in the production process. This operation is necessarily a sample extracted before mass production, so it is also called first inspection. The number of first inspection varies according to the requirements of enterprises or customers, and the product will be put into mass production only after the first inspection is qualified. The first piece inspection in the production process is mainly to prevent batch over-difference, repair, scrap and other problems of products, and it is a means of pre-controlling product production process, an important method of product process quality control, and an effective and essential method for enterprises to ensure product quality and improve economic efficiency. Long-term practice has proved that the first inspection system is an effective measure to find problems as soon as possible and prevent batch scrap.
[0003] Through the first piece inspection, it can be found whether the product has component missing, position deviation or reverse, component polarity error or loss, material or formula error and other problems, so that corrective or improvement measures are taken to prevent batch unqualified products. The first piece inspection and confirmation are needed for the first batch production of new products and the semi-finished products and finished products generated after the change of materials and specifications. The first piece record should be completed in time during the first piece inspection, and the first piece confirmation form should be filled out.
[0004] In the traditional way, PCBA first piece detection is generally performed by one person using a magnifying glass to visually inspect the physical PCBA. When the number of components of the PCBA is large, one person's inspection is time-consuming, which can easily injure the eyes of the worker, and the inspection error rate is increased due to the long-time online work of the worker. SUMMARY
[0005] In order to solve the above problems in the prior art, the application provides a PCBA first piece detection method, system, electronic device and storage medium. The technical problem to be solved by the application is solved by the following technical scheme:
[0006] The application provides a PCBA first piece detection method, comprising:
[0007] obtaining a whole board virtual assembly diagram, a PCBA physical image and a first CAD component list;
[0008] extracting a component list L4 from the first CAD component list, the component list L4 comprising all components for first piece detection;
[0009] On the server side, the first CAD component list is updated based on the number of checks of components in the multiple check settings, a second CAD component list is obtained, a task list is generated based on the component list L4, a check list is generated based on the second CAD component list and the component list L4, and the current task number in the task list is assigned to at least n1 users without the current task;
[0010] On the user side, the current task number is obtained based on the task list, and the state of the current task number is obtained, and when the state of the current task number is incomplete or complete, the updated check list based on the state and the check result in the check list is obtained;
[0011] On the server side, after the results in the check list are all updated, the task list after the state is closed and the current task number is cleared is obtained, and a report of the current task number is generated and output.
[0012] The application provides a PCBA first-piece detection system, comprising:
[0013] An acquisition module is configured to acquire an integral board virtual assembly drawing, a PCBA physical image, and a first CAD component list;
[0014] A component list generation module is configured to extract a component list L4 from the first CAD component list, wherein the component list L4 comprises all components for first-piece detection;
[0015] An assignment module is configured to be arranged on a server side and is configured to update the first CAD component list based on the number of checks of components in multiple check settings, obtain a second CAD component list, generate a task list based on the component list L4, generate a check list based on the second CAD component list and the component list L4, and assign a current task number in the task list to at least n1 users without the current task;
[0016] A check list update module is configured to be arranged on a user side and is configured to obtain the current task number based on the task list, obtain the state of the current task number, and when the state of the current task number is incomplete or complete, obtain an updated check list based on the state and the check result in the check list;
[0017] A report generation module is configured to be arranged on a server side and is configured to obtain a task list after the state is closed and the current task number is cleared, and generate and output a report of the current task number after the results in the check list are all updated.
[0018] The application provides an electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus; the memory is used for storing a computer program; and the processor is used for executing the computer program to realize the PCBA first piece detection method steps of any one of the above.
[0019] The application provides a storage medium, wherein the storage medium stores a computer program, and the computer program is executed by a processor to realize the PCBA first piece detection method steps of any one of the above.
[0020] The application has the following beneficial effects:
[0021] The application generates the component list L4 comprising all components of the first piece detection, and generates the task list and the inspection list on the server, so that the current task to be performed can be distributed to the user end of the user who needs to perform the task. Then, on the user end, the user can perform the task of the current task number in the completed or incomplete state to obtain the inspection list with the inspection result, and finally output the corresponding report. Therefore, the application can dynamically distribute the detection task, can perform the first piece detection in parallel by multiple persons, can set multiple re-inspections or cross inspections, saves time and reduces the error rate of inspection.
[0022] The application will be further described in detail below with reference to the drawings and embodiments. BRIEF DESCRIPTION OF DRAWINGS
[0023] Figure 1 is a flowchart of a PCBA first piece detection method provided by the embodiment of the application;
[0024] Figure 2 is a schematic diagram of a component image provided by the embodiment of the application;
[0025] Figure 3 is a schematic diagram of a virtual assembly diagram single frame provided by the embodiment of the application;
[0026] Figure 4 is a schematic diagram of a PCBA real image single frame provided by the embodiment of the application;
[0027] Figure 5 is a schematic diagram of a virtual assembly diagram single frame with an angle of 90° and an angle of 0° provided by the embodiment of the application;
[0028] Figure 6 is a schematic diagram of a zero reset interface provided by the embodiment of the application;
[0029] Figure 7 is a schematic diagram of a non-zero reset interface provided by the embodiment of the application;
[0030] Figure 8 is a schematic diagram of a display interface provided by an embodiment of the present application;
[0031] Figure 9 is a schematic diagram of a PCBA first piece detection system provided by an embodiment of the present application;
[0032] Figure 10 is a structural schematic diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0033] The present application will be further described in detail below in conjunction with specific embodiments, but the embodiments of the present application are not limited thereto.
[0034] Embodiment One
[0035] Please refer to Figure 1 , Figure 1 is a flowchart of a PCBA first piece detection method provided by an embodiment of the present application, and the embodiment provides a PCBA first piece detection method, which can include the following steps.
[0036] Step 1, obtaining a whole-board virtual assembly diagram, a PCBA physical image, and a first CAD component list.
[0037] The whole-board virtual assembly diagram is an image of a simulated assembly of all components in a designed file, the PCBA physical image is a corresponding image of a PCBA board, and the first CAD component list includes all components in the designed file. The first CAD component list includes the position number, material number (i.e., material code), polarity, front and back, and inspection times of the components.
[0038] In addition, the embodiment also pre-sets a component library, which saves the material code, component physical image (also referred to as component image, for example, as shown in Figure 2 ), and inspection frame size of all existing components. The inspection frame size corresponds to the size of the components.
[0039] In one specific embodiment, step 1 can specifically include steps 1.1-1.3, in which:
[0040] Step 1.1, forming a whole-board virtual assembly diagram in combination with a BOM (Bill of Material) and a CAD design file.
[0041] Specifically, the CAD design file includes component name, position number, material code, component polarity, front and back, position coordinates, angle, and setting component virtual inspection frame size. After reading in the BOM and combining with the CAD design file, a whole-board virtual assembly diagram (silk screen, solder pad) is formed.
[0042] Step 1.2, obtaining a PCBA physical image corresponding to the PCBA board.
[0043] Specifically, by scanning the PCBA board through AOI (Automated Optical Inspection) or taking a photo, a PCBA physical image can be obtained by setting the physical size of the PCBA picture, wherein the PCBA physical image has the same size as the whole-board virtual assembly diagram.
[0044] Step 1.3, forming a first CAD component list including all components based on the CAD design file.
[0045] Specifically, the CAD design file is used to call the position number, material number, polarity, front and back of the required components in the first CAD component list, and the number of checks in the first CAD component list is defaulted to 1.
[0046] In addition, a virtual first-piece detection diagram can also be generated, specifically by overlapping the whole-board virtual assembly diagram and the PCBA physical image 1:1 (i.e. overlapping the front and front, and the back and back in the direction of the board), to obtain the virtual first-piece detection diagram.
[0047] Step 2, multiple check setting and check condition.
[0048] (1) If the component on the whole-board virtual assembly diagram has polarity, set the number of multiple checks n, wherein n≥2, for example, double check: manual check twice by different personnel.
[0049] (2) If the component on the whole-board virtual assembly diagram has no polarity, set single check.
[0050] (3) Check condition: take the whole-board virtual assembly diagram as the reference to judge whether the component on the PCBA physical image is missing, reversed, or offset, and take the physical component image as the reference to judge whether the component on the PCBA physical image is wrong material / damaged, i.e. check whether the component in the PCBA physical image is missing, reversed, offset, or wrong material / damaged.
[0051] Step 3, extract component list L4 from the first CAD component list, wherein the component list L4 includes all components for first-piece detection.
[0052] Specifically, select the components for first-piece detection from the first CAD component list to generate the component list L4, and the components for first-piece detection are pre-set, such as the front and / or back in the first CAD component list, or the front+back, or manually select the components.
[0053] Step 4, set the number of checkers and distribution condition setting.
[0054] a, set the number of checks:
[0055] (1) Set the PCBA first piece inspection time t.
[0056] (2) Get the total number of component inspection times Q on component list L4.
[0057] (3) The estimated time for one person to handle one component is t1, which can be an empirically set value at the beginning, and can be continuously updated according to the average time of single component inspection in the report. The updating method is to average all the average times of single component inspection in the report.
[0058] (4) Task number: n1 = Q * t1 / t.
[0059] b, allocation condition setting:
[0060] (1) Recommend a single group quantity g, which is the number of components displayed on the interface at a time when the current task number is executed.
[0061] (2) The same material code is divided into the same group.
[0062] (3) Whether to zero (i.e. whether to display the virtual assembly diagram single frame and the PCBA real object image single frame at 0°, rotate to zero according to the angle of the CAD design file), generate zero data, for example, Figure 5 The component angle of the virtual assembly diagram single frame on the left side of the middle is 90°, Figure 5 The component angle of the virtual assembly diagram single frame on the right side of the middle is 0°.
[0063] Step 5, in the service end, update the first CAD component list based on the component inspection times in the multiple inspection settings, get the second CAD component list, generate the task list based on the component list L4, generate the inspection list based on the second CAD component list and the component list L4, and distribute the current task number in the task list to n1 users without the current task (in actual application, preferentially: distribute the task number to each user relatively evenly).
[0064] In one specific embodiment, updating the first CAD component list based on the component inspection times in the multiple inspection settings to get the second CAD component list includes:
[0065] When the component has polarity, update the inspection times in the first CAD component list to n according to the number n in the multiple inspection settings, and when the component has no polarity, keep the inspection times in the first CAD component list as 1, to generate the second CAD component list according to the first CAD component list after setting the inspection times.
[0066] It should be noted that the bit number of the element can also be set alone.
[0067] In addition, the server generates a task list, which includes a task number, a state, and a result. The result is empty by default at the beginning. The state is divided into: completed, uncompleted, void, and closed, and the default is uncompleted at the beginning.
[0068] The task number is generated according to the selected element list L4 in the first CAD element list. The selection method is as follows: the task number is generated according to the front and / or back in the first CAD element list. The front is task 1, the back is task 2, or the front + back is task 1. The element can also be selected manually to generate the corresponding task number. The selection method is not limited.
[0069] In one specific embodiment, an inspection list is generated based on the second CAD element list and the element list L4, including:
[0070] The inspection list is generated according to the inspection times in the second CAD element list and the element list L4. The total number of elements to be inspected in the inspection list is the sum of the inspection times of the element list L4. The inspection list includes a bit number, an inspection result, a user, a state, and a task number. The state indicates whether it is occupied, such as FALSE indicating unoccupied and TRUE indicating occupied.
[0071] In one specific embodiment, the current task number in the task list is assigned to at least n1 users who do not have the current task, including:
[0072] A user task list is generated.
[0073] The current task number in the task list is assigned to at least n1 users who do not have the current task in the user task list.
[0074] Specifically, the user task list is generated according to the users who can assign tasks. When assigning tasks, the user is selected to be no less than n1 in number. The task number is assigned to the user who does not have the current task, i.e., the user end corresponding to the user. The user is the personnel who performs the task.
[0075] Then, the server starts a timing instruction: start timing T.
[0076] Step 6, in the user end, the current task number is obtained based on the task list, and the state of the current task number is obtained. When the state of the current task number is uncompleted or completed, the updated inspection list according to the state and the inspection result in the inspection list is obtained.
[0077] Specifically, the current task number is acquired based on the task list, if not, the process is ended, if yes, the state of the current task number is acquired, if the state of the current task number is invalid or closed, the user is prompted with the state and the process is ended, if the state of the current task number is unfinished or completed, the check list after the state and the check result in the check list are acquired.
[0078] That is, the user logs in the request service, the user acquires the current task number in the user task list, if not, the process is ended, if yes, the state is inquired in the task list, if invalid or closed, the user is directly prompted with the state and the process is ended, if unfinished or completed, the next step is performed.
[0079] In one embodiment, the check list after the state and the check result in the check list are acquired, including:
[0080] S1, the list L1 is acquired, the list L1 is the element with the state of unoccupied in the check list and the check result of empty in the check list.
[0081] S2, when the list L1 is empty and the check result in the check list is empty, the current user is reminded that there is another user to perform the task, at this time, the other user continues to perform the task, when the list L1 is empty and the check result in the check list is not empty, the process is ended and the current user is prompted with the completion of the check, and the element of failure is displayed again to make the user check the correctness of the check result of the element and end the timing T1.
[0082] S3, when the list L1 is not empty, the element of multiple checks that has been checked by the current user is excluded to generate the list L2.
[0083] Specifically, if the element of multiple checks has been checked by the current user, the element checked by the current user is removed from the list L1 to generate the list L2.
[0084] S4, when the list L2 is empty and the element with the check result of empty in the check list, the current user is reminded that there is another user to perform the task, at this time, the other user continues to perform the task, when the list L2 is empty and the element with the check result of not empty in the check list, the process is ended and the current user is prompted with the completion of the check, and the element of failure is displayed again to make the user check the correctness of the check result of the element and end the timing T1.
[0085] S5, when the list L2 is not empty, the list L2 is updated based on the grouping of the same material code to generate the list L3.
[0086] Specifically, if there are components with the same material code and the components with the same material code have been classified into the same group, the number of components classified into the same group is greater than or equal to the single group number g, and the components are prioritized, the list L2 is updated to generate the list L3 through the updated list L2; if there are no components with the same material code, the query sorting in the list L2 is defaulted, and the list L3 is generated, that is, the list L2 is the list L3.
[0087] It should be noted that the list L1, the list L2 and the list L3 are dynamic and are constantly updated as the task is performed.
[0088] S6, whether to zero according to the setting of the distribution condition, if zero, display through the zero interface, the zero interface is as shown in Figure 6 , if not zero, display through the non-zero interface, the non-zero interface is as shown in Figure 7 , the distribution condition setting is whether to display the virtual assembly diagram single frame and the PCBA real object image single frame at 0°, if yes, zero, if no, not zero.
[0089] S7, according to the single group number g, the element information corresponding to the position number of the list L3 is displayed in order, and the element information includes the virtual assembly diagram single frame, the PCBA real object image single frame and the element image.
[0090] Specifically, according to the g value set by the single group number, the first g number of element information in the list L3 is pushed to the user interface, and then g element information is displayed in order each time, and when the last g is not enough, all the remaining ones are displayed.
[0091] The interface display content includes: virtual assembly diagram single frame (display single frame according to check box size), PCBA real object image single frame, element image, selection box OK / NG, button previous group, next group, all pass, for example as shown in Figure 8 ; in addition, if it is a plug-in, the PCBA real object image single frame and the welding surface also need to be displayed.
[0092] In the check box on the interface as shown in Figure 8 , the virtual assembly diagram single frame (the virtual assembly diagram is rotated to zero according to the angle of the CAD design file, and is displayed at 0°), the PCBA real object image single frame (the PCBA real object image is rotated to zero according to the angle of the CAD design file, and is displayed at 0°), and the element image are displayed in the check box.
[0093] S8, update the state and username corresponding to the position number in the inspection list, and obtain the inspection result of the inspection list corresponding to the position number based on the element information, until the inspection result in the inspection list is not empty.
[0094] Specifically, the state corresponding to the bit number in the check list is changed to TRUE, indicating occupation, and the user is changed to the requested username.
[0095] After that, the user checks to determine whether the check result corresponding to the bit number is OK or NG, OK representing a normal result, i.e., passing, and NG representing an abnormal result, i.e., not passing. It should be noted that the present embodiment does not limit OK and NG, and they can also be pass and fail, or other relative phrases.
[0096] Therefore, after completing a group, the cycle according to step 6 is performed until the task check assigned to the current user is completed.
[0097] Step 7, on the server, after the results in the check list are all updated, the task list with the state closed and the current task number cleared is obtained, and a report of the current task number is generated and output.
[0098] In one specific embodiment, step 7 can specifically include steps 7.1-7.2, in which:
[0099] Step 7.1, if the check results of the bit numbers corresponding to the current task number in the check list are all not empty, then the task list with the state all updated to complete is obtained, and the overall test result is assigned to the result in the task list.
[0100] Specifically, the system administrator logs in to the server and checks whether the current task number in the task list is complete. It is checked whether the check results of the bit numbers corresponding to the current task number in the check list are empty. If yes, it is not complete, i.e., the client user continues to complete it; if not, it is complete, the state in the task list is changed from not complete to complete, and the timing T1 is ended; and the overall test result is assigned to the result in the task list, wherein as long as one element appears NG, the conclusion is overall NG.
[0101] Step 7.2, the task list with the state closed and the current task number cleared is obtained, and a report of the current task number is generated and output.
[0102] Specifically, the system administrator closes the task, finds the task number in the task list, changes the state to closed, and clears the task number in the user task list. The report of the task number is output.
[0103] Preferably, the report includes the final check result of the current task number, and / or the passing rate, and / or the average time for single element check, and / or the bit number, and / or the overall result of the bit number, and / or the inspector, and / or the result of single bit number, and / or the number of times.
[0104] Further, the report content of the output report (at least including the following 4 parts of content) is:
[0105] (1), the final check result of this task number is NG or OK (as long as one element appears NG, the conclusion is overall NG, that is, the result is NG).
[0106] (2), the passing ratio is calculated by the following proportion method:
[0107] The first kind: the passing ratio is calculated according to the elements, and the passing ratio = (the total number of element list L4-the number of NG in element list L4) / the total number of element list L4.
[0108] The second kind: the passing ratio is calculated according to the number of inspections, and the passing ratio = (the total number of element inspections-the number of NG) / the total number of element inspections.
[0109] (3), the calculation method of the average time of single element inspection is as follows:
[0110] The average time of single element inspection = (T1-T) / the total number of element inspections, T1-T is the total time, and the unit is second.
[0111] (4), the specific report is shown in Table 1 (the NG is arranged in the front), and the report contains the signatures of inspectors, supervisors, QA and other related personnel. Whether the bit number is OK / NG as a whole: for example, if this bit number is checked by two users, and both users check OK, then the bit number is OK as a whole; if one of the two users checks NG, then the bit number is NG as a whole.
[0112] Table 1
[0113]
[0114] The present application generates an element list L4 including all elements of the first piece detection, and generates a task list and an inspection list on the server, so as to distribute the current task to be executed to the user end of the user who needs to execute the task. Then, on the user end, the user can execute the task of the current task number which is in the state of completion or incompleteness, so as to obtain an inspection list with inspection results, and finally output the corresponding report. Therefore, the present application can dynamically distribute detection tasks, can perform first piece detection in parallel by multiple people, can set multiple re-inspections or cross inspections, save time and reduce the error rate of inspection.
[0115] Embodiment two
[0116] The embodiment further provides a PCBA first piece detection method based on the above-mentioned embodiment, and the method comprises:
[0117] 1, after reading in BOM and combining CAD design files, a virtual assembly drawing of the whole board is formed;
[0118] 2. Find the corresponding material code, component image and inspection box size in the component library according to the BOM;
[0119] 3. Get the PCBA physical picture by AOI scanning, set the size of the picture, and get the PCBA physical image;
[0120] 4. Overlap the whole board virtual assembly drawing and the PCBA physical image 1:1 to get the virtual first piece detection drawing; generate the first CAD component list, at this time the inspection times in the first CAD component list are defaulted to 1, and the first CAD component list is shown in Table 2.
[0121] Table 2
[0122]
[0123]
[0124] 5. Multiple inspection settings and inspection conditions:
[0125] Double check for components with polarity, single check for components without polarity; form the second CAD component list, as shown in Table 3.
[0126] Table 3
[0127]
[0128]
[0129] 6. Select the components that need first piece detection to generate the component list L4, as shown in Table 4.
[0130] Table 4
[0131]
[0132]
[0133] 7. Set the number of inspectors and distribution condition settings
[0134] a: Set the number of inspectors:
[0135] Set the PCBA first piece inspection time t = 180s;
[0136] Get the total number of component inspection times on the whole board virtual assembly drawing Q = 34;
[0137] The estimated time for one person to handle one component is t1 = 6s;
[0138] The number of task persons n1 = Q * t1 / t = 34 * 6 / 180 = 1.13 ≈ 2;
[0139] b: Distribution condition settings:
[0140] Recommended single group quantity g = 10;
[0141] The same material code is divided into the same group, that is, the same material code number is divided into the same group = TRUE;
[0142] The virtual assembly drawing single frame of the element and the PCBA real object image single frame are rotated to zero according to the angle of the CAD design file, that is, whether to zero = TRUE.
[0143] 8, dynamic allocation
[0144] I. Server
[0145] (1) The server generates a task list, the state is default as not completed, the result is default as empty, generates task 1 according to the selected element list L4, and the task list is as shown in Table 5.
[0146] Table 5
[0147]
[0148] (2) The server generates an inspection list according to the number of inspections in the second CAD element list and the selected element list L4 in the first CAD element list, the total number is the sum of the number of inspections of the element list L4, and the inspection list is as shown in Table 6.
[0149] Table 6
[0150]
[0151]
[0152] (3) According to the user, a user task list is generated, when assigning tasks, the user selected is not less than n1 = 2, the task number is assigned to the user without the current task, and the user task list is as shown in Table 7.
[0153] Table 7
[0154]
[0155] II. User side:
[0156] (1) Start timing T = 0
[0157] (2) User User1 logs in to request the server, obtains the current task number = task 1 in the user task list, and then checks the state corresponding to task 1 in the task list as not completed, and proceeds to the next step.
[0158] (3) Query the element in the inspection list that is not occupied and the
inspection result
[0159] Table 8
[0160]
[0161]
[0162] (4), remove the double-checked elements that have been checked by the user Userl from the list Ll, and generate a list L2, which is shown in Table 9.
[0163] Table 9
[0164]
[0165]
[0166] (5), same material code grouping = TURE, and the priority is sorted according to the number greater than or equal to the single group number g = 10, to generate a list L3, which is shown in Table 10.
[0167] Table 10
[0168]
[0169]
[0170] (6), whether to zero in the allocation condition = TURE;
[0171] (7), according to the single group number g = 10, the first 10 number of element information in the list L3 is pushed to the user interface, and the state corresponding to the position number of the element in the check list is changed to occupied TURE, and the user in the check list is changed to Userl, and the check list is shown in Table 11.
[0172] Table 11
[0173]
[0174]
[0175] (8), the user checks and determines the check result corresponding to the position number as OK / NG, and the updated check list is shown in Table 12.
[0176] Table 12
[0177]
[0178]
[0179] (9) Complete a set, and again cycle steps (2) to (8) in step two until the task assigned to the current user is checked, User1, User2 task is checked, the final check list as shown in Table 13.
[0180] Table 13
[0181]
[0182]
[0183] (10) System administrator login server, check task list task 1 is complete. Check the check list task 1 corresponding to the bit number of the check result is not empty, then complete the first piece of detection, and change the status of the task list from not complete to complete, and end the timing T1 = 180s; and the overall test result is assigned to the task list results, the updated task list as shown in Table 14.
[0184] Table 14
[0185]
[0186] (11) System administrator closes the task, find task list task 1, change the status to close, and remove task 1 in the user task list. Output this task 1 report. The updated task list and user task list as shown in Table 15 and Table 16.
[0187] Table 15
[0188]
[0189] Table 16
[0190]
[0191] 9, output report:
[0192] (1) The final check result of task 1 is NG.
[0193] (2) Through the proportion of the process as follows:
[0194] The first: according to the element, the pass rate = (22-3) / 22 = 86.36%;
[0195] The second: according to the number of checks, the pass rate = (34-3) / 34 = 91.17%;
[0196] (3) Single element inspection average time calculation process as follows:
[0197] Single element inspection average time = (180-0) / 34 = 5.29;
[0198] (4), the report contains the inspector, the supervisor signature, QA and other relevant personnel signature, the report is shown as Table 17.
[0199] Table 17
[0200]
[0201] Example three
[0202] Please refer to Figure 9 , Figure 9 is a schematic diagram of a PCBA first piece detection system provided by an embodiment of the application. The PCBA first piece detection system comprises:
[0203] The acquisition module is configured to acquire a whole-board virtual assembly drawing, a PCBA physical image and a first CAD component list.
[0204] The component list generation module is configured to extract a component list L4 from the first CAD component list, the component list L4 comprising all components for first piece detection.
[0205] The allocation module is disposed on a server and is configured to update the first CAD component list based on the number of checks of components in a multi-check setting to obtain a second CAD component list, generate a task list based on the component list L4, generate a check list based on the second CAD component list and the component list L4, and allocate a current task number in the task list to at least n1 users who do not have a current task.
[0206] The check list update module is disposed on a user end and is configured to acquire the current task number based on the task list and acquire a state of the current task number, and when the state of the current task number is incomplete or complete, acquire a check list updated according to a state and a check result in the check list.
[0207] The report generation module is disposed on a server and is configured to acquire a task list after the state of the current task number is closed and the current task number is cleared, and generate and output a report of the current task number after the results in the check list are all updated.
[0208] The PCBA first piece detection system provided by the embodiment can execute the method embodiment, and has similar implementation principles and technical effects, which will not be described here.
[0209] Example four
[0210] Please refer to Figure 10 , Figure 10Figure 1 is a structural schematic diagram of an electronic device provided by the embodiment. The electronic device 1100 comprises a processor 1101, a communication interface 1102, a memory 1103 and a communication bus 1104, wherein the processor 1101, the communication interface 1102 and the memory 1103 complete communication with each other through the communication bus 1104.
[0211] The memory 1103 is configured to store a computer program.
[0212] The processor 1101 is configured to, when executing the computer program, implement all or part of the steps in the above method embodiments for detecting the first PCBA, and the specific implementation principles and technical effects are similar, and will not be described here.
[0213] Embodiment five
[0214] The embodiment provides a computer readable storage medium, and the computer readable storage medium stores a computer program. The computer program is executed by a processor to implement all or part of the steps in the above method embodiments for detecting the first PCBA, and the specific implementation principles and technical effects are similar, and will not be described here.
[0215] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, device (apparatus) or computer program product. Therefore, the present application can adopt a completely hardware embodiment, a completely software embodiment or an embodiment combining software and hardware aspects, which are all collectively referred to as "module" or "system" here. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer readable storage media (including but not limited to disk memory, CD-ROM, optical memory, etc.) containing computer usable program codes. The computer program is stored / distributed in a suitable medium together with other hardware or as part of the hardware, and can also adopt other distribution forms, such as through the Internet or other wired or wireless telecommunication systems.
[0216] In the description of the present application, it should be understood that the terms "first", "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. In the description of the present application, the meaning of "multiple" is two or more, unless otherwise explicitly and specifically limited.
[0217] In the description of the specification, the description of the terms "one embodiment", "some embodiments", "an example", "a specific example", or "some examples" etc. means that the specific features, structures or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present application. In the description of the specification, the illustrative description of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures or characteristics described can be combined in any appropriate way in one or more embodiments or examples.
[0218] The above is a further detailed description of the present application in combination with specific preferred embodiments, and cannot be deemed to limit the specific implementation of the present application to these descriptions. For ordinary skilled persons in the technical field of the present application, several simple deductions or replacements can be made without departing from the concept of the present application, and all should be regarded as falling within the protection scope of the present application.
Claims
1. A method for first article inspection of PCBA, characterized in that, include: Obtain the virtual assembly drawing of the entire board, the physical image of the PCBA, and the first CAD component list; Extract component list L4 from the first CAD component list, wherein component list L4 includes all components inspected in the first article inspection; On the server side, the first CAD component list is updated based on the number of checks of the components in the multi-check settings to obtain the second CAD component list. A task list is generated based on the component list L4, and a check list is generated based on the second CAD component list and the component list L4, so as to assign the current task number in the task list to at least n1 users who do not have a current task. On the user side, the current task number is obtained based on the task list, and the status of the current task number is obtained. When the status of the current task number is incomplete or completed, the updated checklist is obtained based on the status and check results in the checklist. On the server side, after all the results in the checklist have been updated, the task list with the status of "closed" and the current task number cleared is obtained, and a report for the current task number is generated and output. This includes acquiring the virtual assembly drawing of the entire board, the physical image of the PCBA, and the first CAD component list, including: The entire board virtual assembly drawing is formed by combining the BOM and CAD design files. The CAD design files include: component name, tag number, material code, whether the component has polarity, front and back sides, position coordinates, angle, and size of the component virtual check box. Obtain the physical image of the corresponding PCBA board; Based on the CAD design documents, a first CAD component list including all components is generated; Specifically, the first CAD component list is updated based on the number of checks performed on components in the multi-check settings to obtain the second CAD component list, which includes: The polarity of the components is determined based on the complete virtual assembly drawing. When the components have polarity, the number of checks in the first CAD component list is updated to n according to the number of checks set. When the components have no polarity, the number of checks in the first CAD component list is kept at 1. The second CAD component list is generated based on the first CAD component list after the number of checks is set, where n≥2.
2. The PCBA first article inspection method according to claim 1, characterized in that, A checklist is generated based on the second CAD component list and the component list L4, including: A checklist is generated based on the number of checks in the second CAD component list and the component list L4.
3. The PCBA first article inspection method according to claim 1, characterized in that, The number of participants, n1, is: Where t is the first inspection time, t1 is the processing time for each component, and Q is the total number of component inspections on component list L4.
4. The PCBA first article inspection method according to claim 1, characterized in that, Assigning the current task number from the task list to at least n1 users who do not have a current task, including: Generate a user task list; Assign the current task number from the task list to at least n1 users in the user task list who do not have a current task.
5. The PCBA first article inspection method according to claim 1, characterized in that, Based on the task list, obtain the current task number and its status. When the current task number's status is incomplete or completed, obtain an updated checklist based on the status and inspection results in the checklist, including: The current task number is obtained based on the task list. If there is no task number, the process ends. If there is a task number, the status of the current task number is obtained. If the status of the current task number is invalid or closed, the user is prompted with the status and the process ends. If the status of the current task number is incomplete or completed, the updated checklist is obtained based on the status and check results in the checklist.
6. The PCBA first article inspection method according to claim 5, characterized in that, Obtaining the updated checklist based on the status and inspection results in the checklist includes: Obtain list L1, where list L1 consists of components in the checklist that are in an unoccupied state and whose check results are empty; When list L1 is empty and the check results in the checklist are empty, the current user is reminded that there are other users performing tasks; when list L1 is empty and the check results in the checklist are not empty, the process ends and the current user is prompted that the check is complete, and the failed components are displayed again. When list L1 is not empty, exclude the elements in list L1 that have been checked multiple times by the current user, and generate list L2. When list L2 is not empty, update list L2 based on the grouping of materials with the same code and generate list L3; The component information corresponding to the tag number of the list L3 is displayed in order according to the single group quantity g. The component information includes a virtual assembly drawing frame, a PCBA physical image frame, and a component image. Update the status and username of the corresponding tag in the checklist, and obtain the check result of the corresponding tag in the checklist based on the component information, until all check results in the checklist are not empty.
7. The PCBA first article inspection method according to claim 6, characterized in that, After generating list L2, the following is also included: If an element in list L2 is empty and the check result in the check list is empty, the current user is reminded that other users are performing tasks; if an element in list L2 is empty and the check result in the check list is not empty, the process ends and the current user is prompted that the check is complete, and the failed elements are displayed again.
8. The PCBA first article inspection method according to claim 6, characterized in that, The list L2 is updated based on the grouping of items with the same material code to generate list L3, including: If there are components with the same material code and these components are already grouped together, then the list L2 is updated with priority sorting based on the number of components in the same group that is greater than or equal to the number of components in a single group g, so that the list L3 is generated from the updated list L2; if there are no components with the same material code, then the query sorting in the list L2 is used as the default, and the list L3 is generated.
9. The PCBA first article inspection method according to claim 6, characterized in that, Before displaying the component information corresponding to the tag number of the list L3 in sequence according to the single group quantity g, the method further includes: The zeroing value is determined based on the allocation conditions. If it is zeroed, it is displayed through the zeroing interface; if it is not zeroed, it is displayed through the non-zeroing interface. The allocation conditions are set to whether to display the virtual assembly drawing frame and the PCBA physical image frame at 0°. If yes, it is zeroed; if no, it is not zeroed.
10. The PCBA first article inspection method according to claim 6, characterized in that, Retrieve the task list after the current task number is cleared and its status is "closed," and output the report for the current task number, including: If the check results of the bit corresponding to the current task number in the checklist are not empty, then the checklist with the status updated to complete will be obtained, and the overall check result will be assigned to the result in the checklist. Obtain the task list after the current task number is cleared and the status is closed, and generate and output the report for the current task number.
11. The PCBA first article inspection method according to any one of claims 1 to 10, characterized in that, The report includes the final inspection result for the current task number, and / or the pass rate, and / or the average time taken to inspect a single component, and / or the tag number, and / or the overall tag number result, and / or the inspector, and / or the single tag number result, and / or the number of times.
12. A PCBA first article inspection system, characterized in that, include: The acquisition module is used to acquire the virtual assembly drawing of the entire board, the physical image of the PCBA, and the first CAD component list; A component list generation module is used to extract a component list L4 from the first CAD component list, wherein the component list L4 includes all components detected in the first article inspection; The allocation module, set on the server, is used to update the first CAD component list based on the number of checks of components in the multi-check settings to obtain the second CAD component list, and generate a task list based on the component list L4, and generate a check list based on the second CAD component list and the component list L4, so as to allocate the current task number in the task list to at least n1 users who do not have a current task. The checklist update module is set on the user end and is used to obtain the current task number based on the task list and obtain the status of the current task number. When the status of the current task number is incomplete or completed, the module obtains the updated checklist based on the status and inspection results in the checklist. The report generation module, set on the server, is used to obtain the task list with the status closed and the current task number cleared after all the results in the checklist have been updated, and to generate and output the report for the current task number. Specifically, the acquisition module is used for: The entire board virtual assembly drawing is formed by combining the BOM and CAD design files. The CAD design files include: component name, tag number, material code, whether the component has polarity, front and back sides, position coordinates, angle, and size of the component virtual check box. Obtain the physical image of the corresponding PCBA board; Based on the CAD design documents, a first CAD component list including all components is generated; Specifically, the allocation module is used for: The polarity of the components is determined based on the complete virtual assembly drawing. When the components have polarity, the number of checks in the first CAD component list is updated to n according to the number of checks set. When the components have no polarity, the number of checks in the first CAD component list is kept at 1. The second CAD component list is generated based on the first CAD component list after the number of checks is set, where n≥2.
13. An electronic device, characterized in that, It includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, when executing the computer program, implements the steps of the method according to any one of claims 1-11.
14. A storage medium, characterized in that, The storage medium stores a computer program, which, when executed by a processor, implements the steps of the method described in any one of claims 1-11.
Citation Information
Patent Citations
Method and device for distributing tasks to task groups in sequence, equipment and medium
CN108510213A
Test task allocation method and device, computer equipment and storage medium
CN110083528A
Method, device and equipment for quickly generating inspection data of printed circuit board, and medium
CN114528800A
First part tester wireless projection method, electronic equipment, storage medium and program product
CN114554621A