A method, system and medium for preventing errors in off-line material preparation in SMT workshops

By implementing multi-layer error prevention inspections in the SMT workshop, which are programmed to prevent errors, loading and first-piece error prevention, the problems of material errors and inaccuracies in traditional material preparation methods are solved, and the accurate and intelligent error prevention of offline material preparation is achieved, and production efficiency and product quality are improved.

CN119967800BActive Publication Date: 2025-06-06SHENZHEN ANSHI NEW ENERGY TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510437212.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-04-09
Publication Date
2025-06-06
Estimated Expiration
2045-04-09

AI Technical Summary

Technical Problem

In the SMT production process, the traditional material preparation method relies on manual operation, which is prone to problems such as mis-handling, missed and inaccurate quantity, resulting in product quality defects or batch scrapping of production lines, causing economic losses and time costs to the enterprise.

Method used

Through programming error prevention, feeding and error prevention, and first-piece error prevention multi-layer error prevention inspection, we can achieve accurate and intelligent error prevention of offline material preparation. The specific steps include obtaining material preparation requirements instructions, performing program error prevention inspections, performing feed prevention inspections, binding materials and feeders, and conducting first-piece inspections.

Benefits of technology

The accuracy and efficiency of offline material preparation are achieved, the errors or leakage of materials are avoided, the product quality and production efficiency of the production line are improved, and economic losses and time costs are reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119967800B_ABST
    Figure CN119967800B_ABST
Patent Text Reader

Abstract

The present application discloses an offline material preparation error prevention method, system and medium for SMT workshop. The method includes obtaining offline material preparation time, offline material preparation work order and placement machine program through material preparation demand instruction, obtaining R&D data information according to offline material preparation work order, obtaining corresponding program station table according to placement machine program, and performing programming error prevention check. If passed, the program station table is sent to PDA for display, and material loading error prevention check is performed. If passed, the working status of the feeder is obtained and bound to the feeder, the material preparation completion status is determined, the feeder station code and feeder code are obtained, and material coding matching processing is performed to obtain the loading completion status, and finally the first piece detection is performed, the test data of the first piece detector is obtained, and the test data is processed to obtain the first piece detection pass status; thus, accurate and intelligent error prevention of offline material preparation is realized through programming error prevention, material loading error prevention and first piece error prevention multi-layer and multiple error prevention checks.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of surface mount technology, and in particular to a method, system and medium for preventing errors in off-line material preparation in an SMT workshop. Background Art

[0002] In the SMT production process, that is, surface mount technology production, the material preparation link is crucial. The traditional material preparation method often relies on manual operation, which is prone to problems such as wrong material taking, missing materials and inaccurate quantity. These errors may cause quality defects in products on the production line, or even cause the entire batch of products to be scrapped, bringing huge economic losses and time costs to the company. With the refinement and complexity of electronic product manufacturing, higher requirements are placed on the accuracy and efficiency of SMT workshop material preparation. Therefore, it is urgent to develop an accurate and intelligent offline material preparation error prevention method.

[0003] In view of the above problems, effective technical solutions are urgently needed. Summary of the invention

[0004] The purpose of this application is to provide a method, system and medium for offline material preparation error prevention in SMT workshops, which can realize accurate and intelligent error prevention in offline material preparation through multiple layers of error prevention checks such as programming error prevention, material loading error prevention and first-piece error prevention.

[0005] The present application also provides an offline material preparation error prevention method for an SMT workshop, comprising the following steps:

[0006] Obtain material preparation demand instructions, and obtain offline material preparation time, offline material preparation work order and placement machine program according to the material preparation demand instructions;

[0007] Acquire R&D data information according to the offline material preparation work order, acquire the corresponding program station table according to the placement machine program, perform programming error prevention check, and obtain programming error prevention check status;

[0008] If the programming error prevention check status is programming error prevention passed, the program station table is sent to the PDA for display, and a material loading error prevention check is performed to obtain the material loading error prevention check status;

[0009] If the feeding error prevention check status is feeding error prevention passed, the working status of the feeder is obtained, the material is bound to the feeder according to the working status, and the material preparation completion status is determined;

[0010] Get the feeder station code and feeder code, perform material coding matching according to the feeder station code and feeder code, and obtain the loading completion status;

[0011] Perform first piece inspection according to the loading completion status, obtain test data of the first piece detector, process according to the test data, and obtain a first piece inspection pass status.

[0012] Optionally, in the offline material preparation error prevention method applied to an SMT workshop described in the present application, the R&D data information is obtained according to the offline material preparation work order, the corresponding program station table is obtained according to the placement machine program, and a programming error prevention check is performed to obtain a programming error prevention check status, including:

[0013] Acquire R&D data information from a preset PLM system according to the offline material preparation work order, including a BOM table and a material coordinate table;

[0014] Obtaining a corresponding program station table from a preset SMT program management database according to the SMT program, including a material requirement list and corresponding material size data, printed circuit board position number and mounting surface information;

[0015] Matching the material requirement list and the corresponding printed circuit board number and material size data with the BOM table to obtain a list matching status, a number matching status and a size matching status;

[0016] Matching and detecting the printed circuit board position number and mounting surface information with the material coordinate table respectively to obtain a coordinate matching state and a mounting surface matching state;

[0017] The bit number matching state, list matching state, size matching state, coordinate matching state and mounting surface matching state are ANDed to obtain a programming error prevention check state, including programming error prevention passed or programming error prevention failed.

[0018] Optionally, in the offline material preparation error prevention method for SMT workshops described in the present application, if the programming error prevention check status is programming error prevention passed, the program station table is sent to the PDA end for display, and a material loading error prevention check is performed to obtain the material loading error prevention check status, including:

[0019] If the programming error prevention check status is programming error prevention passed, the program station table is sent to the PDA terminal for display via a preset communication interface;

[0020] Obtain the scanning code instruction of the material tray, obtain the material category characteristic data, shelf life data and actual material size data corresponding to the material tray according to the scanning code instruction, and perform a loading error prevention check to obtain the loading error prevention check status, including whether the loading error prevention is passed or not;

[0021] Performing a matching test on the material category feature data and the program station table to obtain a matching test status, including a match or a mismatch;

[0022] If the matching detection status is mismatched, the wrong material warning response is output, and the feeding error prevention check status is feeding error prevention failed;

[0023] If the matching detection status is a match, a shelf life detection is performed according to the offline material preparation time and the shelf life data;

[0024] If the offline material preparation time is not within the shelf life data, an overdue warning response is output, and the material loading error prevention check status is material loading error prevention failure;

[0025] If the offline material preparation time is within the shelf life data, a matching test is performed based on the material size data and the actual material size data to obtain a material size matching test result;

[0026] Get the material collection status, including whether it has been collected or not;

[0027] If the material size matching detection result is size matching, and the picking status is picked up, the material loading error prevention inspection status is material loading error prevention passed, otherwise, the material loading error prevention inspection status is material loading error prevention failed.

[0028] Optionally, in the offline material preparation error prevention method applied to an SMT workshop described in the present application, if the material feeding error prevention inspection status is material feeding error prevention passed, the working status of the feeder is obtained, the material is bound to the feeder according to the working status, and the material preparation completion status is determined, including:

[0029] If the feeding error prevention check status is feeding error prevention passed, the working status of the feeder is obtained, including occupied status or idle status;

[0030] If it is in occupied state, output occupancy warning response;

[0031] If it is in idle state, the spatial dimension data of the feeder is obtained and compared with the actual dimension data of the material;

[0032] If it is smaller than the actual size data of the material, an alarm response of mismatch of size is output;

[0033] If it is greater than or equal to the actual size data of the material, the material is bound to the feeder. If the material requirement list in the program station table has been bound, the material preparation completion status is determined to be completed, otherwise, the material preparation completion status is incomplete.

[0034] Optionally, in the offline material preparation error prevention method for an SMT workshop described in the present application, obtaining the feeder station code and the feeder code, performing material coding matching processing according to the feeder station code and the feeder code, and obtaining the material loading completion status includes:

[0035] Obtain the feeder station code and feeder code, query the station table according to the feeder station code to obtain the first material coding information to be loaded, query the bound material tray code according to the feeder code, and obtain the second material coding information actually loaded according to the material tray code;

[0036] Compare the first material coding information with the second material coding information to obtain a loading completion status;

[0037] If the first material coding information is the same as the second material coding information, the loading completion status is determined to be loading completion;

[0038] If the first material coding information is different from the second material coding information, the loading completion status is determined to be incomplete, and a material error warning is output.

[0039] Optionally, in the offline material preparation error prevention method for SMT workshops described in the present application, the first-article inspection is performed according to the loading completion status, the test data of the first-article detector is obtained, and the test data is processed according to the test data to obtain the first-article inspection pass status, including:

[0040] If the loading completion status is loading completion, obtaining test data of the first article detector, including parameter data, coordinate data, alignment accuracy data and electrical performance test data of the component;

[0041] Processing the parameter data, coordinate data, alignment accuracy data and electrical performance test data to obtain first-article quality evaluation data;

[0042] The first-article quality evaluation data is compared with a preset quality evaluation threshold, and the first-article inspection pass status is determined according to the threshold comparison result.

[0043] Optionally, in the method for preventing errors in offline material preparation in an SMT workshop described in the present application, performing a threshold comparison between the first-article quality evaluation data and a preset quality evaluation threshold, and determining the first-article inspection pass status according to the threshold comparison result, includes:

[0044] Comparing the first-article quality evaluation data with the preset quality benchmark data to obtain a first-article quality relative value;

[0045] Comparing the first-article quality relative value with a preset quality assessment threshold to obtain a first-article inspection pass status, including first-article inspection pass or first-article inspection fail;

[0046] If the first-article quality relative value is less than or equal to the preset quality assessment threshold, the first-article inspection is determined to have failed, and the machine is locked and warned;

[0047] If the first-article quality relative value is greater than a preset quality assessment threshold, it is determined that the first-article inspection has passed.

[0048] In a second aspect, the present application provides an offline material preparation error prevention system for an SMT workshop, the system comprising: a memory and a processor, the memory comprising a program for an offline material preparation error prevention method for an SMT workshop, the program for an offline material preparation error prevention method for an SMT workshop being executed by the processor to implement the following steps:

[0049] Obtain material preparation demand instructions, and obtain offline material preparation time, offline material preparation work order and placement machine program according to the material preparation demand instructions;

[0050] Acquire R&D data information according to the offline material preparation work order, acquire the corresponding program station table according to the placement machine program, perform programming error prevention check, and obtain programming error prevention check status;

[0051] If the programming error prevention check status is programming error prevention passed, the program station table is sent to the PDA for display, and a material loading error prevention check is performed to obtain the material loading error prevention check status;

[0052] If the feeding error prevention check status is feeding error prevention passed, the working status of the feeder is obtained, the material is bound to the feeder according to the working status, and the material preparation completion status is determined;

[0053] Get the feeder station code and feeder code, perform material coding matching according to the feeder station code and feeder code, and obtain the loading completion status;

[0054] Perform first piece inspection according to the loading completion status, obtain test data of the first piece detector, process according to the test data, and obtain a first piece inspection pass status.

[0055] Optionally, in the offline material preparation error prevention system for SMT workshops described in the present application, the R&D data information is obtained according to the offline material preparation work order, the corresponding program station table is obtained according to the placement machine program, and a programming error prevention check is performed to obtain the programming error prevention check status, including:

[0056] Acquire R&D data information from a preset PLM system according to the offline material preparation work order, including a BOM table and a material coordinate table;

[0057] Obtaining a corresponding program station table from a preset SMT program management database according to the SMT program, including a material requirement list and corresponding material size data, printed circuit board position number and mounting surface information;

[0058] Matching the material requirement list and the corresponding printed circuit board number and material size data with the BOM table to obtain a list matching status, a number matching status and a size matching status;

[0059] Matching and detecting the printed circuit board position number and mounting surface information with the material coordinate table respectively to obtain a coordinate matching state and a mounting surface matching state;

[0060] The bit number matching state, list matching state, size matching state, coordinate matching state and mounting surface matching state are ANDed to obtain a programming error prevention check state, including programming error prevention passed or programming error prevention failed.

[0061] In a third aspect, the present application also provides a computer-readable storage medium, which stores a program for a method for preventing errors in offline material preparation in an SMT workshop. When the program for a method for preventing errors in offline material preparation in an SMT workshop is executed by a processor, the steps of a method for preventing errors in offline material preparation in an SMT workshop as described in any one of the above items are implemented.

[0062] From the above, it can be seen that the present application provides a method, system and medium for preventing errors in offline material preparation in SMT workshops, which realizes accurate and intelligent error prevention in offline material preparation through multiple layers of error prevention checks such as programming error prevention, material loading error prevention and first-piece error prevention.

[0063] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or understood by practicing the embodiments of the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0065] Figure 1 A flowchart of an offline material preparation error prevention method for SMT workshops provided in an embodiment of the present application;

[0066] Figure 2 A flowchart of obtaining a programming error prevention check state for an offline material preparation error prevention method for an SMT workshop provided in an embodiment of the present application;

[0067] Figure 3 A flowchart of obtaining the first piece inspection pass status for an offline material preparation error prevention method for an SMT workshop provided in an embodiment of the present application. DETAILED DESCRIPTION

[0068] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0069] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0070] Please refer to Figure 1 , Figure 1 This is a flow chart of a method for preventing errors in offline material preparation in an SMT workshop in some embodiments of the present application. The method for preventing errors in offline material preparation in an SMT workshop is used in a terminal device, such as a computer, a mobile phone terminal, etc. The method for preventing errors in offline material preparation in an SMT workshop comprises the following steps:

[0071] S11, obtaining a material preparation requirement instruction, and obtaining an offline material preparation time, an offline material preparation work order, and a placement machine program according to the material preparation requirement instruction;

[0072] S12, acquiring R&D data information according to the offline material preparation work order, acquiring the corresponding program station table according to the placement machine program, and performing programming error prevention check to obtain programming error prevention check status;

[0073] S13. If the programming error prevention check status is programming error prevention passed, the program station table is sent to the PDA for display, and a material loading error prevention check is performed to obtain a material loading error prevention check status;

[0074] S14. If the feeding error prevention check status is that the feeding error prevention check status is passed, the working status of the feeder is obtained, the material is bound to the feeder according to the working status, and the material preparation completion status is determined;

[0075] S15. Obtain the feeder station code and feeder code, perform material coding matching processing according to the feeder station code and feeder code, and obtain the loading completion status;

[0076] S16, performing first-article inspection according to the loading completion status, acquiring test data of the first-article inspection instrument, and performing processing according to the test data to obtain a first-article inspection pass status.

[0077] It should be noted that in order to achieve accurate and intelligent error prevention for offline material preparation, the material preparation demand instructions are first obtained, and then the offline material preparation time, offline material preparation work order and placement machine program are further obtained. Then, programming error prevention checks are performed between the placement machine program and the R&D data respectively. When loading offline materials, a loading error prevention check is performed according to the station table of the placement machine program. Finally, the first inspection instrument data is associated to perform the first-piece error prevention check. Through multi-layer and multiple error prevention checks, it is ensured that offline material preparation is accurate and there is no wrong or missing material.

[0078] Please refer to Figure 2 , Figure 2 The present invention is a flowchart of obtaining a programming error prevention check status in a method for offline material preparation error prevention in an SMT workshop in some embodiments of the present application. According to an embodiment of the present invention, the R&D data information is obtained according to the offline material preparation work order, the corresponding program station table is obtained according to the placement machine program, and a programming error prevention check is performed to obtain the programming error prevention check status, including:

[0079] S21. Acquire R&D data information from a preset PLM system according to the offline material preparation work order, including a BOM table and a material coordinate table;

[0080] S22, according to the placement machine program, obtain the corresponding program station table from the preset placement machine program management database, including the material requirement list and the corresponding material size data, printed circuit board position number and placement surface information;

[0081] S23, matching the material requirement list and the corresponding printed circuit board number and material size data with the BOM table to obtain a list matching status, a number matching status and a size matching status;

[0082] S24, matching and detecting the printed circuit board bit number and mounting surface information with the material coordinate table respectively to obtain a coordinate matching state and a mounting surface matching state;

[0083] S25, performing an AND operation on the bit number matching status, the list matching status, the size matching status, the coordinate matching status and the mounting surface matching status to obtain a programming error prevention check status, including programming error prevention passed or programming error prevention failed.

[0084] It should be noted that before programming error prevention, first obtain the R&D data information including BOM table and material coordinate table from the preset PLM system according to the offline material preparation work order. BOM table is the bill of materials table. Then, according to the placement machine program, obtain the corresponding program position table including material requirement list and corresponding material size data, printed circuit board position number and placement surface information from the preset placement machine program management database. Among them, PLM system refers to product life cycle management system. The preset PLM system and preset placement machine program management database are obtained by querying the preset SMT workshop offline material preparation error prevention platform. Then, the material requirement list and the corresponding printed circuit board position number and material size data are respectively compared with BOM. The table is matched and detected to obtain the list matching status, the bit number matching status and the size matching status. The printed circuit board bit number and the mounting surface information are matched and detected with the material coordinate table respectively to obtain the coordinate matching status and the mounting surface matching status. The matching status includes pass or fail, pass is recorded as 1, and fail is 0. Finally, the obtained bit number matching status, list matching status, size matching status, coordinate matching status and mounting surface matching status are ANDed. If the result of the AND operation is 1, it means that the programming error prevention check status is programming error prevention passed, and the next step of material loading error prevention check is allowed. If the result of the AND operation is 0, it means that the programming error prevention check status is programming error prevention failed, and the machine is directly locked to stop production.

[0085] According to an embodiment of the present invention, if the programming error prevention check status is programming error prevention passed, the program station table is sent to the PDA end for display, and a material loading error prevention check is performed to obtain the material loading error prevention check status, including:

[0086] If the programming error prevention check status is programming error prevention passed, the program station table is sent to the PDA terminal for display via a preset communication interface;

[0087] Obtain the scanning code instruction of the material tray, obtain the material category characteristic data, shelf life data and actual material size data corresponding to the material tray according to the scanning code instruction, and perform a loading error prevention check to obtain the loading error prevention check status, including whether the loading error prevention is passed or not;

[0088] Performing a matching test on the material category feature data and the program station table to obtain a matching test status, including a match or a mismatch;

[0089] If the matching detection status is mismatched, the wrong material warning response is output, and the feeding error prevention check status is feeding error prevention failed;

[0090] If the matching detection status is a match, a shelf life detection is performed according to the offline material preparation time and the shelf life data;

[0091] If the offline material preparation time is not within the shelf life data, an overdue warning response is output, and the material loading error prevention check status is material loading error prevention failure;

[0092] If the offline material preparation time is within the shelf life data, a matching test is performed based on the material size data and the actual material size data to obtain a material size matching test result;

[0093] Get the material collection status, including whether it has been collected or not;

[0094] If the material size matching detection result is size matching, and the picking status is picked up, the material loading error prevention inspection status is material loading error prevention passed, otherwise, the material loading error prevention inspection status is material loading error prevention failed.

[0095] It should be noted that before performing the loading error prevention check, the program position table is first sent to the PDA for display through a preset communication interface method. The preset communication interface method is such as Bluetooth or wired transmission. PDA is a handheld device used to scan a QR code to obtain information, and then use the PDA to scan the material tray to obtain the material category feature data, shelf life data and actual material size data corresponding to the material tray. Match the material category feature data with the program position table to determine whether the material in the material tray exists in the program position table. If so, perform a shelf life check. If it is within the shelf life, perform a further size matching check. Finally, confirm whether the material has been received. If all the loading error prevention checks are passed, it means that the loading error prevention check status is loading error prevention passed, and the next step of inspection is allowed. If any item fails, it means that the loading error prevention check status is loading error failure, and the machine is locked and production is not allowed.

[0096] According to an embodiment of the present invention, if the feeding error prevention check status is feeding error prevention passed, the working status of the feeder is obtained, the material is bound to the feeder according to the working status, and the material preparation completion status is determined, including:

[0097] If the feeding error prevention check status is feeding error prevention passed, the working status of the feeder is obtained, including occupied status or idle status;

[0098] If it is in occupied state, output occupancy warning response;

[0099] If it is in idle state, the spatial dimension data of the feeder is obtained and compared with the actual dimension data of the material;

[0100] If it is smaller than the actual size data of the material, an alarm response of mismatch of size is output;

[0101] If it is greater than or equal to the actual size data of the material, the material is bound to the feeder. If the material requirement list in the program station table has been bound, the material preparation completion status is determined to be completed, otherwise, the material preparation completion status is incomplete.

[0102] It should be noted that after the material loading prevention error check is passed, the material needs to be placed in the feeder, that is, the material feeder. First, determine whether the feeder is occupied or idle. If it is occupied, output an occupied warning response. If it is idle, further detect whether the space size of the feeder can store the material. If the space size of the feeder is smaller than the actual size data of the material, output a size mismatch warning response. If the space size of the feeder is greater than or equal to the actual size data of the material, it means that the feeder can carry the material. In this case, bind the material to the feeder. After the material requirement list in the program station table is bound, the material preparation completion status is determined to be completed. Otherwise, the material preparation completion status is incomplete.

[0103] According to an embodiment of the present invention, the step of obtaining the feeder station code and the feeder code, performing material code matching processing according to the feeder station code and the feeder code, and obtaining the loading completion status includes:

[0104] Obtain the feeder station code and feeder code, query the station table according to the feeder station code to obtain the first material coding information to be loaded, query the bound material tray code according to the feeder code, and obtain the second material coding information actually loaded according to the material tray code;

[0105] Compare the first material coding information with the second material coding information to obtain a loading completion status;

[0106] If the first material coding information is the same as the second material coding information, the loading completion status is determined to be loading completion;

[0107] If the first material coding information is different from the second material coding information, the loading completion status is determined to be incomplete, and a material error warning is output.

[0108] It should be noted that after the offline material preparation is completed, the material tray is placed in the feeder and inserted into the material preparation cart. When the material preparation cart is placed in the placement machine, the system will trigger a feeder insertion event each time the feeder is inserted, and obtain the feeder station code and feeder code. The feeder station code refers to the code used to identify the specific position of the feeder on the workbench of the production equipment in the SMT production line. The feeder code refers to the code used to uniquely identify each individual feeder. According to the feeder station code, the station table is queried to obtain the first material coding information to be loaded, and the bound material tray code is obtained according to the feeder code query. According to the material tray code, the second material coding information of the actual material is obtained, and the first material coding information is compared with the second material coding information. If they are the same, it means that the material is accurate, and the loading completion status is determined to be loading completed. If they are not the same, it means that the material preparation is wrong, then the loading completion status is determined to be loading incomplete, and a material error warning is output.

[0109] Please refer to Figure 3 , Figure 3 The present invention is a flowchart of obtaining the first-article inspection pass status of a method for preventing errors in offline material preparation in an SMT workshop in some embodiments of the present application. According to an embodiment of the present invention, the first-article inspection is performed according to the material loading completion status, the test data of the first-article inspection instrument is obtained, and the test data is processed according to the test data to obtain the first-article inspection pass status, including:

[0110] S31, if the loading completion status is loading completion, obtaining test data of the first article detector, including parameter data, coordinate data, alignment accuracy data and electrical performance test data of the component;

[0111] S32, processing the parameter data, coordinate data, alignment accuracy data and electrical performance test data to obtain first-article quality evaluation data;

[0112] S33, performing a threshold comparison between the first-article quality evaluation data and a preset quality evaluation threshold, and determining whether the first-article inspection has passed according to the threshold comparison result.

[0113] It should be noted that after the programming error prevention check and the material loading error prevention check are passed and the material loading is completed, the placement machine is started to start production, and the test data of the first-article detector including the component parameter data, coordinate data, alignment accuracy data and electrical performance test data are obtained through the first-article detector associated with the system, and further processed to obtain the first-article quality evaluation data, and finally a threshold comparison is performed to determine whether the first-article inspection has passed based on the threshold comparison result.

[0114] According to an embodiment of the present invention, the first-article quality evaluation data is threshold-compared with a preset quality evaluation threshold, and the first-article inspection pass status is determined according to the threshold comparison result, including:

[0115] Comparing the first-article quality evaluation data with the preset quality benchmark data to obtain a first-article quality relative value;

[0116] Comparing the first-article quality relative value with a preset quality assessment threshold to obtain a first-article inspection pass status, including first-article inspection pass or first-article inspection fail;

[0117] If the first-article quality relative value is less than or equal to the preset quality assessment threshold, the first-article inspection is determined to have failed, and the machine is locked and warned;

[0118] If the first-article quality relative value is greater than a preset quality assessment threshold, it is determined that the first-article inspection has passed.

[0119] It should be noted that the first-article quality evaluation data obtained is compared with the preset quality benchmark data to obtain the first-article quality relative value. For example, the first-article quality evaluation data is 8.5, the preset quality benchmark data is 10, and 8.5 / 10=0.85 is the first-article quality relative value. The first-article quality relative value obtained is then compared with the preset quality evaluation threshold to obtain the first-article inspection pass status. In this embodiment, the preset quality evaluation threshold is set to (0, 0.9], (0.9, 1], corresponding to the first-article inspection failure and the first-article inspection pass, respectively. For example, if the first-article quality relative value obtained is 0.85, which is less than the preset quality evaluation threshold, it is determined that the first-article inspection fails, and the machine is locked and warned. If the first-article quality relative value obtained is 0.95, which is greater than the preset quality evaluation threshold, it is determined that the first-article inspection passes, and the placement machine production work starts.

[0120] It is worth mentioning that, according to an embodiment of the present invention, the processing of the parameter data, coordinate data, alignment accuracy data and electrical performance test data to obtain first article quality evaluation data includes:

[0121] The parameter data, coordinate data and alignment accuracy data are respectively compared with preset nominal values ​​to obtain parameter deviation rate, coordinate deviation rate and alignment accuracy deviation rate, wherein the parameter deviation rate includes inductance deviation rate, capacitance deviation rate and resistance deviation rate;

[0122] Processing is performed according to the inductance deviation rate, capacitance deviation rate, resistance deviation rate, coordinate deviation rate and alignment accuracy deviation rate to obtain compliance data of the component;

[0123] The electrical performance test data includes power supply voltage, signal amplitude mean, signal frequency mean, rising edge time mean and falling edge time mean;

[0124] The power supply voltage, signal amplitude mean, signal frequency mean, rising edge time mean and falling edge time mean are respectively compared with preset electrical performance nominal values ​​to obtain power supply voltage deviation rate, signal amplitude deviation rate, signal frequency deviation rate, rising edge time deviation rate and falling edge time deviation rate;

[0125] Processing is performed according to the power supply voltage deviation rate, signal amplitude deviation rate, signal frequency deviation rate, rising edge time deviation rate and falling edge time deviation rate to obtain electrical performance data of the component;

[0126] The compliance data and the electrical performance data are processed to obtain first article quality evaluation data.

[0127] It should be noted that the obtained parameter data, coordinate data and alignment accuracy data are respectively compared with the preset nominal values ​​to obtain the parameter deviation rate, coordinate deviation rate and alignment accuracy deviation rate. The parameter deviation rate includes the inductance deviation rate, capacitance deviation rate and resistance deviation rate. Among them, the preset nominal value is obtained by querying the preset SMT workshop offline material preparation error prevention platform. The inductance deviation rate refers to the ratio of the absolute value of the difference between the inductance data and the preset inductance nominal value to the preset inductance nominal value. Similarly, the capacitance deviation rate, resistance deviation rate, coordinate deviation rate and alignment accuracy deviation rate can be obtained. According to the obtained inductance deviation rate, capacitance deviation rate, resistance deviation rate, coordinate deviation rate and alignment accuracy deviation rate, the compliance data of the component is obtained.

[0128] The compliance data calculation formula is:

[0129] ;

[0130] in, For compliance data, , , , , They are inductance deviation rate, capacitance deviation rate, resistance deviation rate, coordinate deviation rate and alignment accuracy deviation rate, , , is a preset weight value, wherein the preset weight value is preset by a person skilled in the art according to a specific application and can be adjusted dynamically;

[0131] The electrical performance test data includes power supply voltage, signal amplitude mean, signal frequency mean, rising edge time mean and falling edge time mean, wherein the signal amplitude mean refers to the mean value obtained by averaging multiple amplitudes within a preset time period. Similarly, the signal frequency mean, rising edge time mean and falling edge time mean can be obtained, and then compared with the preset electrical performance nominal values, respectively, to obtain the power supply voltage deviation rate, signal amplitude deviation rate, signal frequency deviation rate, rising edge time deviation rate and falling edge time deviation rate. The preset electrical performance nominal value is obtained by querying the preset SMT workshop offline material preparation and error prevention platform. The power supply voltage deviation rate refers to the ratio of the absolute value of the difference between the power supply voltage and the preset voltage nominal value to the preset voltage nominal value. Similarly, the signal amplitude deviation rate, signal frequency deviation rate, rising edge time deviation rate and falling edge time deviation rate can be obtained, and further processed to obtain the electrical performance data of the component;

[0132] The electrical performance data calculation formula is:

[0133] ;

[0134] in, For electrical performance data, , , , , They are the power supply voltage deviation rate, signal amplitude deviation rate, signal frequency deviation rate, rising edge time deviation rate and falling edge time deviation rate. , is a preset weight value, wherein the preset weight value is preset by a person skilled in the art according to a specific application and can be adjusted dynamically;

[0135] Finally, the obtained compliance data and electrical performance data are processed to obtain the first-article quality evaluation data;

[0136] The calculation formula for the first piece quality evaluation data is:

[0137] ;

[0138] in, It is the first piece quality evaluation data. , They are compliance data and electrical performance data respectively. , It is a preset weight value, wherein the preset weight value is pre-set by a person skilled in the art according to a specific application and can be dynamically adjusted.

[0139] It is worth mentioning that according to an embodiment of the present invention, it also includes:

[0140] Obtain the mean material preparation time, material preparation error rate and material preparation path efficiency within a preset time period;

[0141] Processing is performed according to the material preparation time mean, material preparation inaccuracy rate and material preparation path efficiency to obtain material preparation efficiency data;

[0142] Compare the material preparation efficiency data with the pre-equipment material efficiency accuracy threshold to obtain the material preparation system operation status;

[0143] If the material preparation efficiency data is less than or equal to the pre-equipment material efficiency accuracy threshold, it is determined that the operation state of the material preparation system is abnormal;

[0144] If the material preparation efficiency data is greater than the pre-equipment material efficiency accuracy threshold, it is determined that the operation status of the material preparation system is normal.

[0145] It should be noted that the accurate and efficient operation of the offline material preparation system helps to improve the overall operational efficiency of the SMT workshop. Therefore, monitoring and analysis are required. First, the mean material preparation time, material preparation inaccuracy rate and material preparation path efficiency within the preset time period are obtained. Among them, the mean material preparation time is obtained by averaging the material preparation times taken multiple times within the preset time period. The material preparation inaccuracy rate refers to the ratio of the number of material preparation errors to the total number of material preparation times within the preset time period. The material preparation path efficiency is obtained by analyzing the static information of the warehouse layout and the actual material picking trajectory. The material preparation efficiency data is obtained by processing the mean material preparation time, the material preparation inaccuracy rate and the material preparation path efficiency.

[0146] The calculation formula for the material preparation efficiency data is:

[0147] ;

[0148] in, To prepare the data for material efficiency, , , They are the mean material preparation time, material preparation error rate and material preparation path efficiency, , is a preset weight value, wherein the preset weight value is preset by a person skilled in the art according to a specific application and can be adjusted dynamically;

[0149] The obtained material preparation efficiency data is then compared with the pre-equipment material efficiency accuracy threshold to obtain the operation status of the material preparation system. In this embodiment, the pre-equipment material efficiency accuracy threshold is set to (0, 0.75] and (0.75, 1], which correspond to abnormal operation and normal operation, respectively. For example, if the obtained material preparation efficiency data is 0.7, which is less than the pre-equipment material efficiency accuracy threshold, then the operation status of the material preparation system is determined to be abnormal operation. If the obtained material preparation efficiency data is 0.8, which is greater than the pre-equipment material efficiency accuracy threshold, then the operation status of the material preparation system is determined to be normal operation.

[0150] The present invention also discloses an offline material preparation error prevention system for SMT workshops, comprising a memory and a processor, wherein the memory comprises an offline material preparation error prevention method program for SMT workshops, and the offline material preparation error prevention method program for SMT workshops is executed by the processor to implement the following steps:

[0151] Obtain material preparation demand instructions, and obtain offline material preparation time, offline material preparation work order and placement machine program according to the material preparation demand instructions;

[0152] Acquire R&D data information according to the offline material preparation work order, acquire the corresponding program station table according to the placement machine program, perform programming error prevention check, and obtain programming error prevention check status;

[0153] If the programming error prevention check status is programming error prevention passed, the program station table is sent to the PDA for display, and a material loading error prevention check is performed to obtain the material loading error prevention check status;

[0154] If the feeding error prevention check status is feeding error prevention passed, the working status of the feeder is obtained, the material is bound to the feeder according to the working status, and the material preparation completion status is determined;

[0155] Get the feeder station code and feeder code, perform material coding matching according to the feeder station code and feeder code, and obtain the loading completion status;

[0156] Perform first piece inspection according to the loading completion status, obtain test data of the first piece detector, process according to the test data, and obtain a first piece inspection pass status.

[0157] It should be noted that in order to achieve accurate and intelligent error prevention for offline material preparation, the material preparation demand instructions are first obtained, and then the offline material preparation time, offline material preparation work order and placement machine program are further obtained. Then, programming error prevention checks are performed between the placement machine program and the R&D data respectively. When loading offline materials, a loading error prevention check is performed according to the station table of the placement machine program. Finally, the first inspection instrument data is associated to perform the first-piece error prevention check. Through multi-layer and multiple error prevention checks, it is ensured that offline material preparation is accurate and there is no wrong or missing material.

[0158] According to an embodiment of the present invention, the step of acquiring R&D data information according to the offline material preparation work order, acquiring a corresponding program station table according to the placement machine program, and performing a programming error prevention check to obtain a programming error prevention check status includes:

[0159] Acquire R&D data information from a preset PLM system according to the offline material preparation work order, including a BOM table and a material coordinate table;

[0160] Obtaining a corresponding program station table from a preset SMT program management database according to the SMT program, including a material requirement list and corresponding material size data, printed circuit board position number and mounting surface information;

[0161] Matching the material requirement list and the corresponding printed circuit board number and material size data with the BOM table to obtain a list matching status, a number matching status and a size matching status;

[0162] Matching and detecting the printed circuit board position number and mounting surface information with the material coordinate table respectively to obtain a coordinate matching state and a mounting surface matching state;

[0163] The bit number matching state, list matching state, size matching state, coordinate matching state and mounting surface matching state are ANDed to obtain a programming error prevention check state, including programming error prevention passed or programming error prevention failed.

[0164] It should be noted that before programming error prevention, first obtain the R&D data information including BOM table and material coordinate table from the preset PLM system according to the offline material preparation work order. BOM table is the bill of materials table. Then, according to the placement machine program, obtain the corresponding program position table including material requirement list and corresponding material size data, printed circuit board position number and placement surface information from the preset placement machine program management database. Among them, PLM system refers to product life cycle management system. The preset PLM system and preset placement machine program management database are obtained by querying the preset SMT workshop offline material preparation error prevention platform. Then, the material requirement list and the corresponding printed circuit board position number and material size data are respectively compared with BOM. The table is matched and detected to obtain the list matching status, the bit number matching status and the size matching status. The printed circuit board bit number and the mounting surface information are matched and detected with the material coordinate table respectively to obtain the coordinate matching status and the mounting surface matching status. The matching status includes pass or fail, pass is recorded as 1, and fail is 0. Finally, the obtained bit number matching status, list matching status, size matching status, coordinate matching status and mounting surface matching status are ANDed. If the result of the AND operation is 1, it means that the programming error prevention check status is programming error prevention passed, and the next step of material loading error prevention check is allowed. If the result of the AND operation is 0, it means that the programming error prevention check status is programming error prevention failed, and the machine is directly locked to stop production.

[0165] According to an embodiment of the present invention, if the programming error prevention check status is programming error prevention passed, the program station table is sent to the PDA end for display, and a material loading error prevention check is performed to obtain the material loading error prevention check status, including:

[0166] If the programming error prevention check status is programming error prevention passed, the program station table is sent to the PDA terminal for display via a preset communication interface;

[0167] Obtain the scanning code instruction of the material tray, obtain the material category characteristic data, shelf life data and actual material size data corresponding to the material tray according to the scanning code instruction, and perform a loading error prevention check to obtain the loading error prevention check status, including whether the loading error prevention is passed or not;

[0168] Performing a matching test on the material category feature data and the program station table to obtain a matching test status, including a match or a mismatch;

[0169] If the matching detection status is mismatched, the wrong material warning response is output, and the feeding error prevention check status is feeding error prevention failed;

[0170] If the matching detection status is a match, a shelf life detection is performed according to the offline material preparation time and the shelf life data;

[0171] If the offline material preparation time is not within the shelf life data, an overdue warning response is output, and the material loading error prevention check status is material loading error prevention failure;

[0172] If the offline material preparation time is within the shelf life data, a matching test is performed based on the material size data and the actual material size data to obtain a material size matching test result;

[0173] Get the material collection status, including whether it has been collected or not;

[0174] If the material size matching detection result is size matching, and the picking status is picked up, the material loading error prevention inspection status is material loading error prevention passed, otherwise, the material loading error prevention inspection status is material loading error prevention failed.

[0175] It should be noted that before performing the loading error prevention check, the program position table is first sent to the PDA for display through a preset communication interface method. The preset communication interface method is such as Bluetooth or wired transmission. PDA is a handheld device used to scan a QR code to obtain information, and then use the PDA to scan the material tray to obtain the material category feature data, shelf life data and actual material size data corresponding to the material tray. Match the material category feature data with the program position table to determine whether the material in the material tray exists in the program position table. If so, perform a shelf life check. If it is within the shelf life, perform a further size matching check. Finally, confirm whether the material has been received. If all the loading error prevention checks are passed, it means that the loading error prevention check status is loading error prevention passed, and the next step of inspection is allowed. If any item fails, it means that the loading error prevention check status is loading error failure, and the machine is locked and production is not allowed.

[0176] According to an embodiment of the present invention, if the feeding error prevention check status is feeding error prevention passed, the working status of the feeder is obtained, the material is bound to the feeder according to the working status, and the material preparation completion status is determined, including:

[0177] If the feeding error prevention check status is feeding error prevention passed, the working status of the feeder is obtained, including occupied status or idle status;

[0178] If it is in occupied state, output occupancy warning response;

[0179] If it is in idle state, the spatial dimension data of the feeder is obtained and compared with the actual dimension data of the material;

[0180] If it is smaller than the actual size data of the material, an alarm response of mismatch of size is output;

[0181] If it is greater than or equal to the actual size data of the material, the material is bound to the feeder. If the material requirement list in the program station table has been bound, the material preparation completion status is determined to be completed, otherwise, the material preparation completion status is incomplete.

[0182] It should be noted that after the material loading prevention error check is passed, the material needs to be placed in the feeder, that is, the material feeder. First, determine whether the feeder is occupied or idle. If it is occupied, output an occupied warning response. If it is idle, further detect whether the space size of the feeder can store the material. If the space size of the feeder is smaller than the actual size data of the material, output a size mismatch warning response. If the space size of the feeder is greater than or equal to the actual size data of the material, it means that the feeder can carry the material. In this case, bind the material to the feeder. After the material requirement list in the program station table is bound, the material preparation completion status is determined to be completed. Otherwise, the material preparation completion status is incomplete.

[0183] According to an embodiment of the present invention, the step of obtaining the feeder station code and the feeder code, performing material code matching processing according to the feeder station code and the feeder code, and obtaining the loading completion status includes:

[0184] Obtain the feeder station code and feeder code, query the station table according to the feeder station code to obtain the first material coding information to be loaded, query the bound material tray code according to the feeder code, and obtain the second material coding information actually loaded according to the material tray code;

[0185] Compare the first material coding information with the second material coding information to obtain a loading completion status;

[0186] If the first material coding information is the same as the second material coding information, the loading completion status is determined to be loading completion;

[0187] If the first material coding information is different from the second material coding information, the loading completion status is determined to be incomplete, and a material error warning is output.

[0188] It should be noted that after the offline material preparation is completed, the material tray is placed in the feeder and inserted into the material preparation cart. When the material preparation cart is placed in the placement machine, the system will trigger a feeder insertion event each time the feeder is inserted, and obtain the feeder station code and feeder code. The feeder station code refers to the code used to identify the specific position of the feeder on the workbench of the production equipment in the SMT production line. The feeder code refers to the code used to uniquely identify each individual feeder. According to the feeder station code, the station table is queried to obtain the first material coding information to be loaded, and the bound material tray code is obtained according to the feeder code query. According to the material tray code, the second material coding information of the actual material is obtained, and the first material coding information is compared with the second material coding information. If they are the same, it means that the material is accurate, and the loading completion status is determined to be loading completed. If they are not the same, it means that the material preparation is wrong, then the loading completion status is determined to be loading incomplete, and a material error warning is output.

[0189] According to an embodiment of the present invention, performing first-article inspection according to the loading completion status, acquiring test data of the first-article detector, and processing according to the test data to obtain the first-article inspection pass status include:

[0190] If the loading completion status is loading completion, obtaining test data of the first article detector, including parameter data, coordinate data, alignment accuracy data and electrical performance test data of the component;

[0191] Processing the parameter data, coordinate data, alignment accuracy data and electrical performance test data to obtain first-article quality evaluation data;

[0192] The first-article quality evaluation data is compared with a preset quality evaluation threshold, and the first-article inspection pass status is determined according to the threshold comparison result.

[0193] It should be noted that after the programming error prevention check and the material loading error prevention check are passed and the material loading is completed, the placement machine is started to start production, and the test data of the first-article detector including the component parameter data, coordinate data, alignment accuracy data and electrical performance test data are obtained through the first-article detector associated with the system, and further processed to obtain the first-article quality evaluation data, and finally a threshold comparison is performed to determine whether the first-article inspection has passed based on the threshold comparison result.

[0194] According to an embodiment of the present invention, the first-article quality evaluation data is threshold-compared with a preset quality evaluation threshold, and the first-article inspection pass status is determined according to the threshold comparison result, including:

[0195] Comparing the first-article quality evaluation data with the preset quality benchmark data to obtain a first-article quality relative value;

[0196] Comparing the first-article quality relative value with a preset quality assessment threshold to obtain a first-article inspection pass status, including first-article inspection pass or first-article inspection fail;

[0197] If the first-article quality relative value is less than or equal to the preset quality assessment threshold, the first-article inspection is determined to have failed, and the machine is locked and warned;

[0198] If the first-article quality relative value is greater than a preset quality assessment threshold, it is determined that the first-article inspection has passed.

[0199] It should be noted that the first-article quality evaluation data obtained is compared with the preset quality benchmark data to obtain the first-article quality relative value. For example, the first-article quality evaluation data is 8.5, the preset quality benchmark data is 10, and 8.5 / 10=0.85 is the first-article quality relative value. The first-article quality relative value obtained is then compared with the preset quality evaluation threshold to obtain the first-article inspection pass status. In this embodiment, the preset quality evaluation threshold is set to (0, 0.9], (0.9, 1], corresponding to the first-article inspection failure and the first-article inspection pass, respectively. For example, if the first-article quality relative value obtained is 0.85, which is less than the preset quality evaluation threshold, it is determined that the first-article inspection fails, and the machine is locked and warned. If the first-article quality relative value obtained is 0.95, which is greater than the preset quality evaluation threshold, it is determined that the first-article inspection passes, and the placement machine production work starts.

[0200] It is worth mentioning that, according to an embodiment of the present invention, the processing of the parameter data, coordinate data, alignment accuracy data and electrical performance test data to obtain first article quality evaluation data includes:

[0201] The parameter data, coordinate data and alignment accuracy data are respectively compared with preset nominal values ​​to obtain parameter deviation rate, coordinate deviation rate and alignment accuracy deviation rate, wherein the parameter deviation rate includes inductance deviation rate, capacitance deviation rate and resistance deviation rate;

[0202] Processing is performed according to the inductance deviation rate, capacitance deviation rate, resistance deviation rate, coordinate deviation rate and alignment accuracy deviation rate to obtain compliance data of the component;

[0203] The electrical performance test data includes power supply voltage, signal amplitude mean, signal frequency mean, rising edge time mean and falling edge time mean;

[0204] The power supply voltage, signal amplitude mean, signal frequency mean, rising edge time mean and falling edge time mean are respectively compared with preset electrical performance nominal values ​​to obtain power supply voltage deviation rate, signal amplitude deviation rate, signal frequency deviation rate, rising edge time deviation rate and falling edge time deviation rate;

[0205] Processing is performed according to the power supply voltage deviation rate, signal amplitude deviation rate, signal frequency deviation rate, rising edge time deviation rate and falling edge time deviation rate to obtain electrical performance data of the component;

[0206] The compliance data and the electrical performance data are processed to obtain first article quality evaluation data.

[0207] It should be noted that the obtained parameter data, coordinate data and alignment accuracy data are respectively compared with the preset nominal values ​​to obtain the parameter deviation rate, coordinate deviation rate and alignment accuracy deviation rate. The parameter deviation rate includes the inductance deviation rate, capacitance deviation rate and resistance deviation rate. Among them, the preset nominal value is obtained by querying the preset SMT workshop offline material preparation error prevention platform. The inductance deviation rate refers to the ratio of the absolute value of the difference between the inductance data and the preset inductance nominal value to the preset inductance nominal value. Similarly, the capacitance deviation rate, resistance deviation rate, coordinate deviation rate and alignment accuracy deviation rate can be obtained. According to the obtained inductance deviation rate, capacitance deviation rate, resistance deviation rate, coordinate deviation rate and alignment accuracy deviation rate, the compliance data of the component is obtained.

[0208] The compliance data calculation formula is:

[0209] ;

[0210] in, For compliance data, , , , , They are inductance deviation rate, capacitance deviation rate, resistance deviation rate, coordinate deviation rate and alignment accuracy deviation rate, , , is a preset weight value, wherein the preset weight value is preset by a person skilled in the art according to a specific application and can be adjusted dynamically;

[0211] The electrical performance test data includes power supply voltage, signal amplitude mean, signal frequency mean, rising edge time mean and falling edge time mean, wherein the signal amplitude mean refers to the mean value obtained by averaging multiple amplitudes within a preset time period. Similarly, the signal frequency mean, rising edge time mean and falling edge time mean can be obtained, and then compared with the preset electrical performance nominal values, respectively, to obtain the power supply voltage deviation rate, signal amplitude deviation rate, signal frequency deviation rate, rising edge time deviation rate and falling edge time deviation rate. The preset electrical performance nominal value is obtained by querying the preset SMT workshop offline material preparation and error prevention platform. The power supply voltage deviation rate refers to the ratio of the absolute value of the difference between the power supply voltage and the preset voltage nominal value to the preset voltage nominal value. Similarly, the signal amplitude deviation rate, signal frequency deviation rate, rising edge time deviation rate and falling edge time deviation rate can be obtained, and further processed to obtain the electrical performance data of the component;

[0212] The electrical performance data calculation formula is:

[0213] ;

[0214] in, For electrical performance data, , , , , They are the power supply voltage deviation rate, signal amplitude deviation rate, signal frequency deviation rate, rising edge time deviation rate and falling edge time deviation rate. , is a preset weight value, wherein the preset weight value is preset by a person skilled in the art according to a specific application and can be adjusted dynamically;

[0215] Finally, the obtained compliance data and electrical performance data are processed to obtain the first-article quality evaluation data;

[0216] The calculation formula for the first piece quality evaluation data is:

[0217] ;

[0218] in, It is the first piece quality evaluation data. , They are compliance data and electrical performance data respectively. , It is a preset weight value, wherein the preset weight value is pre-set by a person skilled in the art according to a specific application and can be dynamically adjusted.

[0219] It is worth mentioning that according to an embodiment of the present invention, it also includes:

[0220] Obtain the mean material preparation time, material preparation error rate and material preparation path efficiency within a preset time period;

[0221] Processing is performed according to the material preparation time mean, material preparation inaccuracy rate and material preparation path efficiency to obtain material preparation efficiency data;

[0222] Compare the material preparation efficiency data with the pre-equipment material efficiency accuracy threshold to obtain the material preparation system operation status;

[0223] If the material preparation efficiency data is less than or equal to the pre-equipment material efficiency accuracy threshold, it is determined that the operation state of the material preparation system is abnormal;

[0224] If the material preparation efficiency data is greater than the pre-equipment material efficiency accuracy threshold, it is determined that the operation status of the material preparation system is normal.

[0225] It should be noted that the accurate and efficient operation of the offline material preparation system helps to improve the overall operational efficiency of the SMT workshop. Therefore, monitoring and analysis are required. First, the mean material preparation time, material preparation inaccuracy rate and material preparation path efficiency within the preset time period are obtained. Among them, the mean material preparation time is obtained by averaging the material preparation times taken multiple times within the preset time period. The material preparation inaccuracy rate refers to the ratio of the number of material preparation errors to the total number of material preparation times within the preset time period. The material preparation path efficiency is obtained by analyzing the static information of the warehouse layout and the actual material picking trajectory. The material preparation efficiency data is obtained by processing the mean material preparation time, the material preparation inaccuracy rate and the material preparation path efficiency.

[0226] The calculation formula for the material preparation efficiency data is:

[0227] ;

[0228] in, To prepare the data for material efficiency, , , They are the mean material preparation time, material preparation error rate and material preparation path efficiency, , is a preset weight value, wherein the preset weight value is preset by a person skilled in the art according to a specific application and can be adjusted dynamically;

[0229] The obtained material preparation efficiency data is then compared with the pre-equipment material efficiency accuracy threshold to obtain the operation status of the material preparation system. In this embodiment, the pre-equipment material efficiency accuracy threshold is set to (0, 0.75] and (0.75, 1], which correspond to abnormal operation and normal operation, respectively. For example, if the obtained material preparation efficiency data is 0.7, which is less than the pre-equipment material efficiency accuracy threshold, then the operation status of the material preparation system is determined to be abnormal operation. If the obtained material preparation efficiency data is 0.8, which is greater than the pre-equipment material efficiency accuracy threshold, then the operation status of the material preparation system is determined to be normal operation.

[0230] The present invention discloses a method, system and medium for preventing errors in offline material preparation in an SMT workshop, which realizes accurate and intelligent error prevention in offline material preparation through multi-layer and multiple error prevention checks on programming error prevention, material loading error prevention and first-piece error prevention.

[0231] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored, or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interface methods, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0232] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0233] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0234] Those skilled in the art can understand that: all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions, the aforementioned program can be stored in a readable storage medium, and when the program is executed, it executes the steps of the above method embodiments; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), disks or optical disks, and other media that can store program codes.

[0235] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the prior art. The software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.

Claims

1. A method for preventing errors in off-line material preparation in an SMT workshop, characterized in that: The following steps are involved: Obtain material preparation demand instructions, and obtain offline material preparation time, offline material preparation work order and placement machine program according to the material preparation demand instructions; Acquire R&D data information according to the offline material preparation work order, acquire the corresponding program station table according to the placement machine program, perform programming error prevention check, and obtain programming error prevention check status; If the programming error prevention check status is programming error prevention passed, the program station table is sent to the PDA for display, and a material loading error prevention check is performed to obtain the material loading error prevention check status; If the feeding error prevention check status is feeding error prevention passed, the working status of the feeder is obtained, the material is bound to the feeder according to the working status, and the material preparation completion status is determined; Get the feeder station code and feeder code, perform material coding matching according to the feeder station code and feeder code, and obtain the loading completion status; Perform first piece inspection according to the loading completion status, obtain test data of the first piece detector, process according to the test data, and obtain a first piece inspection pass status.

2. The method for preventing errors in off-line material preparation in SMT workshops according to claim 1 is characterized in that: The step of acquiring R&D data information according to the offline material preparation work order, acquiring a corresponding program station table according to the placement machine program, and performing a programming error prevention check to obtain a programming error prevention check status includes: Acquire R&D data information from a preset PLM system according to the offline material preparation work order, including a BOM table and a material coordinate table; Obtaining a corresponding program station table from a preset SMT program management database according to the SMT program, including a material requirement list and corresponding material size data, printed circuit board position number and mounting surface information; Matching the material requirement list and the corresponding printed circuit board number and material size data with the BOM table to obtain a list matching status, a number matching status and a size matching status; Matching and detecting the printed circuit board position number and mounting surface information with the material coordinate table respectively to obtain a coordinate matching state and a mounting surface matching state; The bit number matching state, list matching state, size matching state, coordinate matching state and mounting surface matching state are ANDed to obtain a programming error prevention check state, including programming error prevention passed or programming error prevention failed.

3. The method for preventing errors in off-line material preparation in SMT workshops according to claim 2 is characterized in that: If the programming error prevention check status is programming error prevention passed, the program station table is sent to the PDA end for display, and a material loading error prevention check is performed to obtain the material loading error prevention check status, including: If the programming error prevention check status is programming error prevention passed, the program station table is sent to the PDA terminal for display via a preset communication interface; Obtain the scanning code instruction of the material tray, obtain the material category characteristic data, shelf life data and actual material size data corresponding to the material tray according to the scanning code instruction, and perform a loading error prevention check to obtain the loading error prevention check status, including whether the loading error prevention is passed or not; Performing a matching test on the material category feature data and the program station table to obtain a matching test status, including a match or a mismatch; If the matching detection status is mismatched, the wrong material warning response is output, and the feeding error prevention check status is feeding error prevention failed; If the matching detection status is a match, a shelf life detection is performed according to the offline material preparation time and the shelf life data; If the offline material preparation time is not within the shelf life data, an overdue warning response is output, and the material loading error prevention check status is material loading error prevention failure; If the offline material preparation time is within the shelf life data, a matching test is performed based on the material size data and the actual material size data to obtain a material size matching test result; Get the material collection status, including whether it has been collected or not; If the material size matching detection result is size matching, and the picking status is picked up, the material loading error prevention inspection status is material loading error prevention passed, otherwise, the material loading error prevention inspection status is material loading error prevention failed.

4. The method for preventing errors in off-line material preparation in SMT workshops according to claim 3 is characterized in that: If the feeding error prevention check status is feeding error prevention passed, the working status of the feeder is obtained, the material is bound to the feeder according to the working status, and the material preparation completion status is determined, including: If the feeding error prevention check status is feeding error prevention passed, the working status of the feeder is obtained, including occupied status or idle status; If it is in occupied state, output occupancy warning response; If it is in idle state, the spatial dimension data of the feeder is obtained and compared with the actual dimension data of the material; If it is smaller than the actual size data of the material, an alarm response of mismatch of size is output; If it is greater than or equal to the actual size data of the material, the material is bound to the feeder. If the material requirement list in the program station table has been bound, the material preparation completion status is determined to be completed, otherwise, the material preparation completion status is incomplete.

5. The method for preventing errors in off-line material preparation in SMT workshops according to claim 4 is characterized in that: The step of obtaining the feeder station code and the feeder code, performing material code matching processing according to the feeder station code and the feeder code, and obtaining the loading completion status includes: Obtain the feeder station code and feeder code, query the station table according to the feeder station code to obtain the first material coding information to be loaded, query the bound material tray code according to the feeder code, and obtain the second material coding information of the actual material according to the material tray code; Compare the first material coding information with the second material coding information to obtain a loading completion status; If the first material coding information is the same as the second material coding information, the loading completion status is determined to be loading completion; If the first material coding information is different from the second material coding information, the loading completion status is determined to be incomplete, and a material error warning is output.

6. The method for preventing errors in off-line material preparation in SMT workshops according to claim 5 is characterized in that: The first piece inspection is performed according to the loading completion status, the test data of the first piece detector is obtained, and the test data is processed according to the test data to obtain the first piece inspection pass status, including: If the loading completion status is loading completion, obtaining test data of the first article detector, including parameter data, coordinate data, alignment accuracy data and electrical performance test data of the component; Processing the parameter data, coordinate data, alignment accuracy data and electrical performance test data to obtain first-article quality evaluation data; The first-article quality evaluation data is compared with a preset quality evaluation threshold, and the first-article inspection pass status is determined according to the threshold comparison result.

7. The method for preventing errors in off-line material preparation in SMT workshops according to claim 6 is characterized in that: The step of comparing the first-article quality evaluation data with a preset quality evaluation threshold, and determining the first-article inspection pass status according to the threshold comparison result, includes: Comparing the first-article quality evaluation data with the preset quality benchmark data to obtain a first-article quality relative value; Comparing the first-article quality relative value with a preset quality assessment threshold to obtain a first-article inspection pass status, including first-article inspection pass or first-article inspection fail; If the first-article quality relative value is less than or equal to the preset quality assessment threshold, the first-article inspection is determined to have failed, and the machine is locked and warned; If the first-article quality relative value is greater than a preset quality assessment threshold, it is determined that the first-article inspection has passed.

8. An offline material preparation error prevention system for SMT workshops, characterized in that: The invention comprises a memory and a processor, wherein the memory comprises a program applied to an offline material preparation error prevention method in an SMT workshop, and the program applied to an offline material preparation error prevention method in an SMT workshop is executed by the processor to implement the following steps: Obtain material preparation demand instructions, and obtain offline material preparation time, offline material preparation work order and placement machine program according to the material preparation demand instructions; Acquire R&D data information according to the offline material preparation work order, acquire the corresponding program station table according to the placement machine program, perform programming error prevention check, and obtain programming error prevention check status; If the programming error prevention check status is programming error prevention passed, the program station table is sent to the PDA for display, and a material loading error prevention check is performed to obtain the material loading error prevention check status; If the feeding error prevention check status is feeding error prevention passed, the working status of the feeder is obtained, the material is bound to the feeder according to the working status, and the material preparation completion status is determined; Get the feeder station code and feeder code, perform material coding matching according to the feeder station code and feeder code, and obtain the loading completion status; Perform first piece inspection according to the loading completion status, obtain test data of the first piece detector, process according to the test data, and obtain a first piece inspection pass status.

9. The offline material preparation error prevention system for SMT workshop according to claim 8 is characterized in that: The step of acquiring R&D data information according to the offline material preparation work order, acquiring a corresponding program station table according to the placement machine program, and performing a programming error prevention check to obtain a programming error prevention check status includes: Acquire R&D data information from a preset PLM system according to the offline material preparation work order, including a BOM table and a material coordinate table; Obtaining a corresponding program station table from a preset placement machine program management database according to the placement machine program, including a material requirement list and corresponding material size data, printed circuit board position number and placement surface information; Matching the material requirement list and the corresponding printed circuit board number and material size data with the BOM table to obtain a list matching status, a number matching status and a size matching status; Matching and detecting the printed circuit board position number and mounting surface information with the material coordinate table respectively to obtain a coordinate matching state and a mounting surface matching state; The bit number matching state, list matching state, size matching state, coordinate matching state and mounting surface matching state are ANDed to obtain a programming error prevention check state, including programming error prevention passed or programming error prevention failed.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program for an offline material preparation error prevention method applied to an SMT workshop. When the program for an offline material preparation error prevention method applied to an SMT workshop is executed by a processor, the steps of a method for offline material preparation error prevention applied to an SMT workshop as claimed in any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • SMT (Surface Mount Technology) anti-false material detection system and method

    CN103049770A

  • Feeding indication and error proofing system and feeding indication and error proofing method of SMT chip mounter

    CN106061132A