Circuit board manufacturing process optimization method and equipment
By acquiring and analyzing circuit board defect data, using prediction models and defect optimization models, we can automatically locate and optimize the circuit board manufacturing process, solving quality problems caused by manual operations in traditional processes and improving product quality and manufacturing efficiency.
Patent Information
- Application Number
- CN202410932499.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-07-12
AI Technical Summary
The traditional circuit board manufacturing process relies on manual operations, resulting in subjective judgments in the layout and welding of small lines and high-density components, which affects product quality.
By acquiring the defect data on the circuit board and inputting it into the prediction model for analysis, the circuit board prediction image and the defect area image are generated, the area to be optimized is automatically located, and the manufacturing process is optimized based on the analysis and processing based on the defect optimization model.
It achieves automated and precise process optimization, improves product quality and manufacturing efficiency, reduces manual intervention, and improves the efficiency and accuracy of the optimization process.
Smart Images

Figure CN118468614B
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of circuit board manufacturing, and in particular, relates to a method and equipment for optimizing the manufacturing process of a circuit board. Background Art
[0002] A circuit board is a substrate used for mechanical support and electrical connection, usually made of insulating material, covered with lines formed by conductive materials. It is one of the core components of electronic products, used to support and connect electronic components to realize the functions of the circuit.
[0003] In the traditional circuit board manufacturing process, many steps require manual operation (for example, layout design, component installation, and welding). Operators may make subjective judgments on the layout and welding of small circuits and high-density components. For example, they may observe with the naked eye or manually measure what problems exist in the circuit boards manufactured under the current manufacturing process, which in turn affects the quality of the subsequent circuit boards. Summary of the invention
[0004] The embodiments of the present application provide a method and device for optimizing the circuit board manufacturing process, which can solve the problem that many steps in the circuit board manufacturing process need to rely on manual operation, and the operators may have subjective judgments on the layout and welding of small circuits and high-density components, which may lead to misjudgment and fail to improve or optimize the process, thereby affecting the quality of the subsequently manufactured circuit boards.
[0005] In a first aspect, an embodiment of the present application provides a method for optimizing a circuit board manufacturing process, comprising:
[0006] Acquire circuit board data; wherein the circuit board data includes defect data for reflecting defect conditions on the circuit board;
[0007] Input the circuit board data into a prediction model so that the prediction model analyzes the circuit board data and outputs a circuit board prediction image and a defect area image; wherein the circuit board prediction image includes a circuit board image after optimizing defects predicted by the prediction model for the defect data in the circuit board data, and the defect area image includes a defect image determined by the prediction model for the defect data in the circuit board data;
[0008] According to the circuit board prediction image and the defect area image, the data of the area to be optimized are obtained; wherein the data of the area to be optimized includes weld shape optimization data reflecting that the weld shape of the defect area corresponding to the defect area in the defect image does not match the weld shape of the area corresponding to the defect area in the circuit board prediction image, and welding position optimization data reflecting that the position of the defect area corresponding to the defect area in the defect image does not correspond to the position of the area corresponding to the defect area in the circuit board prediction image;
[0009] The data of the area to be optimized is analyzed and processed based on the defect optimization model to obtain circuit board manufacturing process optimization data.
[0010] The above technical solutions in the embodiments of the present application have at least the following technical effects:
[0011] The circuit board manufacturing process optimization method provided by the present application, first, by obtaining the circuit board data including the defect data of the defect situation on the circuit board, the problems and defects in the manufacturing process can be discovered in time, so as to provide data support for the subsequent targeted measures to solve them, which is helpful to optimize the manufacturing process and thus improve the product quality. Secondly, the circuit board data is input into the prediction model, and the circuit board data is analyzed by the prediction model, and the circuit board prediction image and the defect area image are output, which can deeply understand the problems or bottlenecks in the circuit board manufacturing process, and provide data support for optimizing the manufacturing process to improve the product quality. Then, according to the circuit board data, the circuit board prediction image and the defect area image, the data of the area to be optimized is obtained, and the area to be optimized can be accurately located automatically and efficiently, and the shape and position of the weld that needs to be optimized can be determined without manual intervention, and the process improvement can be carried out in a targeted manner, which is helpful to improve the product quality. Finally, based on the defect optimization model, the data of the area to be optimized is analyzed and processed to obtain the circuit board manufacturing process optimization data, which can realize the automatic analysis and processing of the data of the area to be optimized, without manual intervention, and improve the efficiency and accuracy of the optimization process, thereby improving the quality of subsequent products.
[0012] In a second aspect, an embodiment of the present application provides a circuit board manufacturing process optimization system, which is applied to a circuit board manufacturing device. The circuit board manufacturing process optimization system includes:
[0013] An acquisition unit, used for acquiring circuit board data; wherein the circuit board data includes defect data for reflecting defect conditions on the circuit board;
[0014] An analysis unit, configured to input the circuit board data into a prediction model, so that the prediction model analyzes the circuit board data, and outputs a circuit board prediction image and a defect area image; wherein the circuit board prediction image includes a circuit board image after defect optimization predicted based on the prediction model for the defect data in the circuit board data, and the defect area image includes a defect image determined based on the prediction model for the defect data in the circuit board data;
[0015] A processing unit, configured to obtain data of an area to be optimized according to the circuit board prediction image and the defect area image; wherein the data of the area to be optimized includes weld shape optimization data reflecting that a weld shape of a defect area corresponding to the defect image does not match a weld shape of an area corresponding to the defect area in the circuit board prediction image, and welding position optimization data reflecting that a position of the defect area corresponding to the defect image does not correspond to a position of an area corresponding to the defect area in the circuit board prediction image;
[0016] The optimization unit is used to analyze and process the data of the area to be optimized based on the defect optimization model to obtain circuit board manufacturing process optimization data.
[0017] In a third aspect, an embodiment of the present application provides a circuit board manufacturing device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the circuit board manufacturing process optimization method described in any one of the first aspects above is implemented.
[0018] It can be understood that the beneficial effects of the second to third aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0020] Figure 1 It is a flow chart of a method for optimizing a circuit board manufacturing process provided by an embodiment of the present application;
[0021] Figure 2 It is a flow chart of a circuit board manufacturing process optimization method provided by another embodiment of the present application;
[0022] Figure 3is a flow chart of a circuit board manufacturing process optimization method provided by another embodiment of the present application;
[0023] Figure 4 It is a schematic diagram of the implementation process of step S300 in the circuit board manufacturing process optimization method provided in an embodiment of the application;
[0024] Figure 5 1 is a schematic diagram of the implementation process of step S300 in the circuit board manufacturing process optimization method provided by another embodiment of the present application;
[0025] Figure 6 It is a schematic diagram of the implementation process after step S400 in the circuit board manufacturing process optimization method provided in one embodiment of the present application;
[0026] Figure 7 It is a schematic diagram of the implementation process in step S420 of the circuit board manufacturing process optimization method provided in one embodiment of the present application;
[0027] Figure 8 is a flow chart of a circuit board manufacturing process optimization method provided by yet another embodiment of the present application;
[0028] Fig. 9 It is a structural schematic diagram of a circuit board manufacturing process optimization system provided in an embodiment of the present application;
[0029] Fig.10 It is a structural schematic diagram of a control device for circuit board manufacturing equipment provided in an embodiment of the present application. DETAILED DESCRIPTION
[0030] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0031] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0032] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0033] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0034] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0035] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0036] A circuit board is a substrate used for mechanical support and electrical connection, usually made of insulating material, covered with lines formed by conductive materials. It is one of the core components of electronic products, used to support and connect electronic components to realize the functions of the circuit.
[0037] In the traditional circuit board manufacturing process, many steps require manual operation (for example, layout design, component installation, and welding). Operators may make subjective judgments on the layout and welding of small circuits and high-density components, which in turn affects the quality of the subsequently manufactured circuit boards.
[0038] To solve the above problems, the embodiments of the present application provide a method and device for optimizing the circuit board manufacturing process.
[0039] In the method, first, by obtaining the circuit board data including the defect data of the defect situation on the circuit board, the problems and defects in the manufacturing process can be discovered in time, so as to provide data support for the subsequent targeted measures to solve them, which is helpful to optimize the manufacturing process and thus improve the product quality. Secondly, the circuit board data is input into the prediction model, and the circuit board data is analyzed by the prediction model, and the circuit board prediction image and the defect area image are output, which can deeply understand the problems or bottlenecks in the circuit board manufacturing process, and provide data support for optimizing the manufacturing process to improve the product quality. Then, according to the circuit board data, the circuit board prediction image and the defect area image, the data of the area to be optimized is obtained, and the area to be optimized can be accurately located automatically and efficiently, and the shape and position of the weld that needs to be optimized can be determined without manual intervention, and the process improvement can be carried out in a targeted manner, which is helpful to improve the product quality. Finally, based on the defect optimization model, the data of the area to be optimized is analyzed and processed to obtain the circuit board manufacturing process optimization data, which can realize the automatic analysis and processing of the data of the area to be optimized, without manual intervention, and improve the efficiency and accuracy of the optimization process, thereby improving the subsequent product quality.
[0040] The circuit board manufacturing process optimization method provided in the embodiment of the present application can be applied to circuit board manufacturing equipment. In this case, the circuit board manufacturing equipment is the executor of the circuit board manufacturing process optimization method provided in the embodiment of the present application. The embodiment of the present application does not impose any restrictions on the specific type of circuit board manufacturing equipment.
[0041] For example, the circuit board manufacturing equipment may include a circuit board manufacturing device and a control device electrically connected to the circuit board manufacturing device. The circuit board manufacturing device may include a printing device, a welding device, a drying device, etc. For example, the printing device is used to print conductive ink, solder paste or other coating materials on the circuit board. The welding device is used to weld components to connect them to the circuit board. The drying device is used to bake the circuit board to ensure that the surface of the circuit board is dry and the treated materials are firmly fixed. For example, the printing device may include a printing press and a screen printer, wherein the printing press is used to print coating materials or other necessary patterns with low precision requirements on the circuit board. The screen printer is used to print etchants, solder mask paints or other materials that require high-precision screen printing on the circuit board. Therefore, the first manufacturing device can be a drying device, the second manufacturing device can be a printing machine, and the third manufacturing device can be a screen printing machine. The first manufacturing device is electrically connected to the second manufacturing device and the third manufacturing device respectively. The second manufacturing device and the third manufacturing device are different types of printing devices, which are used to print different types of printing patterns, coating materials or printing requirements of different precisions. Therefore, the products manufactured by the manufacturing line composed of the second manufacturing device and the first manufacturing device are different from the products manufactured by the manufacturing line composed of the third manufacturing device and the first manufacturing device. After the printing device completes printing, the printed primary product is transported to the drying device to fix the printed material firmly. For another example, the soldering device may include a surface mount technology soldering device and a wave soldering device, wherein the surface mount technology soldering device is used to directly solder components on the surface of the circuit board, and the wave soldering device connects plug-in components by immersing the entire circuit board in a wave of molten solder. Therefore, the first manufacturing device may be a drying device, the second manufacturing device may be a surface mount technology soldering device, and the third manufacturing device may be a wave soldering device. The first manufacturing device is electrically connected to the second manufacturing device and the third manufacturing device, respectively. The second manufacturing device and the third manufacturing device are different types of soldering devices, which are used to adapt to different types of soldering processes. Therefore, the product manufactured by the manufacturing line composed of the second manufacturing device and the first manufacturing device is different from the product manufactured by the manufacturing line composed of the third manufacturing device and the first manufacturing device. After the soldering device completes the soldering, the soldered initial product is transported to the drying device to dry the surface of the circuit board.
[0042] For example, the control device can be a single chip microcomputer, a mobile phone, a tablet computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a desktop computer, a computing device or a computer connected to a wireless modem, a laptop computer, a handheld communication device, a handheld computing device, etc.
[0043] In order to better understand the circuit board manufacturing process optimization method provided in the embodiment of the present application, the specific implementation process of the circuit board manufacturing process optimization method provided in the embodiment of the present application is exemplarily introduced below.
[0044] Figure 1 A schematic flow chart of a circuit board manufacturing process optimization method provided in an embodiment of the present application is shown, and the circuit board manufacturing process optimization method includes:
[0045] S100, obtaining circuit board data, wherein the circuit board data includes defect data for reflecting defect conditions on the circuit board.
[0046] For example, the circuit board may be a circuit board manufactured by a default manufacturing process or a preset manufacturing process of a circuit board manufacturing device. A high-resolution camera and an image processing algorithm are used to comprehensively analyze the circuit board to obtain detailed circuit board data. For example, the circuit board data may be an image of the circuit board. The circuit board data may include defect data of defects on the circuit board. For example, the defect condition may be the location, type, quantity, and component position offset of the defect.
[0047] With this setting, by obtaining circuit board data, problems and defects in the manufacturing process can be discovered in a timely manner, thereby providing data support for subsequent targeted measures to solve them, helping to optimize the manufacturing process and thus improve product quality.
[0048] S200, inputting the circuit board data into the prediction model, so that the prediction model analyzes the circuit board data, and outputs a circuit board prediction image and a defect area image. The circuit board prediction image includes a circuit board image after optimizing defects predicted by the prediction model based on the defect data in the circuit board data, and the defect area image includes a defect image determined by the prediction model based on the defect data in the circuit board data.
[0049] It can be understood that a training data set can be established, and the training data set includes normal circuit board images and defective circuit board images, which can be obtained through a camera, a scanner or an existing image database. Marking image data, that is, marking defective circuit board images, marking the location and type of defects, can be achieved using an automated algorithm. Select an appropriate model, such as a convolutional neural network, for image classification and target detection tasks. Use the training data set to train the model to obtain a prediction model. Input the circuit board data into the prediction model, so that the prediction model analyzes the circuit board data and outputs the prediction results. According to the prediction results, the circuit board image is defect repaired or marked to generate an optimized circuit board prediction image. For example, the circuit board prediction image can be the circuit board image predicted by the model after the defect is optimized. Generate a defect area image based on the defect area information output by the model, mark it on the circuit board image, and generate a defect area image.
[0050] With this setting, the circuit board data is input into the prediction model, which analyzes the circuit board data and outputs the circuit board prediction image and defect area image, which can provide in-depth understanding of the problems or bottlenecks in the circuit board manufacturing process, provide data support for optimizing the manufacturing process, and improve product quality.
[0051] S300, obtaining data of the area to be optimized based on the circuit board prediction image and the defect area image, wherein the data of the area to be optimized includes weld shape optimization data reflecting that the weld shape of the area to be optimized of the circuit board does not match the weld shape of the corresponding defect area in the defect image, and welding position optimization data reflecting that the position of the area to be optimized of the circuit board does not correspond to the position of the corresponding defect area in the defect image.
[0052] It can be understood that the circuit board prediction image can be used as a standard line, and this image represents the expected manufacturing situation of the circuit board. The circuit board prediction image and the defect area image are compared to detect mismatches, for example, including comparison of weld shape and position. If the weld shape or position is found to be mismatched, the optimized area data can be obtained. For example, the required weld position, angle, shape, curvature, etc. can be determined by comparing the predicted shape on the standard line with the actual defect shape in the defect area image (for example, the offset and direction of the welding position to be adjusted are calculated based on the actual position in the defect area image and the position on the standard line), so that the circuit board manufactured by the subsequent manufacturing process is closer to the expected standard line.
[0053] With this setting, the data of the area to be optimized can be obtained based on the predicted image of the circuit board and the image of the defective area, which can realize automatic and efficient precise positioning of the area to be optimized. The shape and position of the weld that needs to be optimized can be determined without human intervention, and targeted process improvements can be made, which helps to improve product quality.
[0054] S400, analyzing and processing the data of the area to be optimized based on the defect optimization model to obtain circuit board manufacturing process optimization data.
[0055] Exemplarily, a training set may be established, and the training set may include first sample data and first process sample data without defects on the circuit board, and second sample data and second process sample data with defects on the circuit board. A suitable model, such as a neural network, is selected, and the model is trained using the training set so that it can accurately learn the relationship between the data of the area to be optimized and the process parameters. The data of the area to be optimized is analyzed and processed based on the defect optimization model to obtain the corresponding circuit board manufacturing process optimization data. The circuit board manufacturing process optimization data may include weld shape adjustment parameters, welding position adjustment parameters, etc. For example, assuming that the weld shape is an important optimization parameter, the neural network model finds through learning data that when the weld shape presents a certain curve shape, the incidence of defects will decrease. Therefore, based on the analysis results of the model, a set of optimization strategies for adjusting the weld shape is formulated to reduce the occurrence of defects. In addition, assuming that the welding position is also an important optimization parameter, the neural network model finds that when the welding position deviates from a certain range, it is easy to cause welding defects. Therefore, according to the suggestions of the model, the parameters of the welding position are adjusted to be within a more suitable range to reduce the occurrence of defects.
[0056] With such a setting, the data of the area to be optimized is analyzed and processed based on the defect optimization model to obtain the circuit board manufacturing process optimization data, which can realize the automatic analysis and processing of the data of the area to be optimized without human intervention, thereby improving the efficiency and accuracy of the optimization process and further improving the quality of subsequent products.
[0057] Figure 2 A schematic flow chart of a circuit board manufacturing process optimization method provided in an embodiment of the present application is shown, and the circuit board manufacturing process optimization method further includes:
[0058] S501, obtaining non-defective circuit board sample data and defective circuit board sample data, wherein the non-defective circuit board sample data includes first sample data reflecting that the circuit board has no defects, and the defective circuit board sample data includes second sample data reflecting that the circuit board has defects.
[0059] For example, a circuit board library may be established, and the circuit board library may include sample data of non-defective circuit boards and sample data of defective circuit boards.
[0060] In this way, the sample data of defect-free circuit boards and defective circuit boards can be obtained, which can provide a basis for subsequent training models and evaluating model performance. With this data, a model can be built to accurately identify defects on circuit boards, thereby improving the efficiency and accuracy of quality control.
[0061] S502, performing intersection analysis on the first sample data and the second sample data to obtain defect sample data.
[0062] It is understandable that the first sample data and the second sample data can be merged into one data set for subsequent processing. In the merged data set, the defective circuit board sample data is marked as "defective", and the non-defective circuit board sample data is marked as "non-defective". Use data analysis tools or programming languages (such as Python's pandas library) to perform intersection analysis, and filter out data that contains both "defective" and "non-defective" labels, which is the defective sample data.
[0063] In this way, the first sample data and the second sample data are subjected to intersection analysis and processing to obtain defective sample data, which can provide data support for subsequent faster location of problems on the circuit board, help to better understand the existing defects, and then make targeted process improvements, which helps to improve product quality.
[0064] S503: Train a first learning model based on the defect sample data to obtain a prediction model.
[0065] It can be understood that an appropriate model, such as a convolutional neural network, is selected for image classification and target detection tasks. The model is trained using defect sample data to obtain a prediction model. The prediction model is analyzed based on the input circuit board data and outputs a prediction result. Based on the prediction result, the circuit board image is defect-repaired or marked to generate an optimized circuit board prediction image. For example, the circuit board prediction image can be a circuit board image predicted by the model after the defect is optimized. Based on the defect area information output by the model, a defect area image is generated, which is marked on the circuit board image to generate a defect area image.
[0066] With this arrangement, the first learning model is trained based on defect sample data to obtain a prediction model, which can be used to identify defects in products, help improve process and product design, and improve product quality and reliability.
[0067] Figure 3 A schematic flow chart of a circuit board manufacturing process optimization method provided in an embodiment of the present application is shown, and the circuit board manufacturing process optimization method further includes:
[0068] S601, obtaining non-defective circuit board sample data and defective circuit board sample data, wherein the non-defective circuit board sample data includes first sample data reflecting that the circuit board has no defects and first process sample data, and the defective circuit board sample data includes second sample data reflecting that the circuit board has defects and second process sample data.
[0069] It can be understood that in the process of manufacturing circuit boards, image data and process parameter data of circuit boards can be collected in real time through sensors, cameras and other equipment, so defective circuit boards and their corresponding manufacturing processes, as well as non-defective circuit boards and their corresponding manufacturing processes can be determined. Based on these parameter data, a database is established, and the database can include first sample data without defects on the circuit board and first process sample data corresponding to the first sample data without defects on the circuit board, as well as second sample data with defects on the circuit board and second process sample data corresponding to the second sample data with defects on the circuit board.
[0070] This setup provides a basis for subsequent model training and model performance evaluation by obtaining sample data of defect-free and defective circuit boards. With this data, a model can be built to accurately identify defects on circuit boards and process deficiencies, which helps improve the process and thus improve the efficiency and accuracy of quality control.
[0071] S602 , performing data reorganization and analysis processing on the first sample data, the first process sample data, the second sample data and the second process sample data to obtain defect optimization data.
[0072] It can be understood that the first sample data and the first process sample data corresponding to the first sample data (for example, process data such as welding temperature, welding pressure and welding time in the manufacturing process) can be integrated into one data set, and the second sample data and the second process sample data corresponding to the second sample data can be integrated into another data set, namely, defect optimization data, to ensure that each sample data and each process sample data has a corresponding label indicating whether the process of the sample is defective.
[0073] In this way, the first sample data, the first process sample data, the second sample data and the second process sample data are reorganized and analyzed to obtain defect optimization data, so that a more comprehensive and richer data set can be obtained, which improves the availability and completeness of the data, and helps to subsequently extract features that have a key impact on defect identification and optimization, thereby helping to improve the performance of the model.
[0074] S603: Train a second learning model based on the defect optimization data to obtain a defect optimization model.
[0075] It can be understood that by selecting a suitable model, such as a neural network, and using defect optimization data to train the model, during the training process, the model will learn the relationship between process parameters and circuit board defects. After the training is completed, the model can be tuned, such as adjusting regularization parameters, trying different feature engineering methods, etc., to obtain a defect optimization model.
[0076] With such a setting, the second learning model is trained based on the defect optimization data to obtain a defect optimization model, which helps to better understand the relationship between process parameters and product defects, so as to provide optimization suggestions, thereby optimizing the manufacturing process and improving manufacturing efficiency and quality.
[0077] In one possible implementation, see Figure 4 , S300, obtaining data of the area to be optimized according to the circuit board prediction image and the defect area image, including:
[0078] S310, obtaining first weld shape data of a defective circuit board in the defect area image.
[0079] It can be understood that the defect area image can be processed using image processing technology (such as image segmentation, feature extraction, etc.), from which the circuit board weld area is extracted to obtain image data of the weld area. Computer vision technology and machine learning algorithms are used to detect defects in the weld area in the image to determine which weld areas have defects. For defective weld areas, the first weld shape data is obtained in the image, including the length, width, shape parameters, etc. of the weld.
[0080] In this way, by obtaining the first defective weld shape data of the circuit board in the defect area image, the length, width, shape parameters, etc. of the weld can be quantitatively analyzed, providing objective indicators for the type and degree of defects, which is helpful for subsequent analysis of the impact of different process parameters on weld quality and providing a basis for optimizing the processing technology. Optimizing process parameters can reduce the occurrence of defects and improve manufacturing efficiency and product quality.
[0081] S320, obtaining second weld shape data of an area corresponding to the first weld shape data in the circuit board prediction image.
[0082] It can be understood that the predicted image of the circuit board is processed using image segmentation technology, and the position and contour of the second weld in the area corresponding to the first weld shape data is detected in the segmented circuit board image, and the weld detection can be performed using edge detection, feature matching and other methods. Data is extracted from the detected second weld area to obtain the second weld shape data, such as length, width, shape parameters, etc., and the weld can be analyzed and measured using image processing technology and mathematical methods.
[0083] In this way, by obtaining the second weld shape data of the area corresponding to the first weld shape data in the circuit board prediction image, the length, width, shape parameters, etc. of the weld can be quantitatively analyzed, providing objective indicators for the type and degree of defects, which is helpful for subsequent analysis of the impact of different process parameters on weld quality and providing a basis for optimizing the processing technology. Optimizing process parameters can reduce the occurrence of defects and improve manufacturing efficiency and product quality.
[0084] S330, performing shape deviation comparison processing on the first weld shape data and the second weld shape data to obtain weld shape optimization data in the area data to be optimized.
[0085] It can be understood that the first weld shape data and the second weld shape data are compared using a comparison algorithm to calculate the shape deviation between them. Various comparison methods, such as Euclidean distance, Manhattan distance, shape matching algorithm, etc., can be used to quantitatively describe the similarity or difference between the two. According to the result of the shape comparison, the area data to be optimized is determined, that is, the area where there is a shape deviation between the first weld and the second weld. Shape optimization is performed in these areas to make them closer to the target shape. Select a suitable shape optimization method according to the actual situation, for example, adjust welding parameters, improve manufacturing processes, optimize welding equipment, etc.
[0086] For example, the shape optimization data can also be analyzed to evaluate the optimization effect and provide feedback. The optimized shape data can be compared with the target shape data (i.e., the expected shape data), and the influencing factors in the optimization process can be analyzed. Based on the data analysis and feedback results, the shape optimization method and process are continuously improved. This can be an iterative process, and the shape quality and manufacturing efficiency of the weld can be gradually improved through continuous optimization and improvement.
[0087] In this way, the first weld shape data and the second weld shape data are compared and processed for shape deviation to obtain weld shape optimization data in the area to be optimized. The shape deviation between the first weld and the second weld can be accurately identified, so as to perform shape optimization in a targeted manner, which helps to improve the quality of the weld and optimize the manufacturing process.
[0088] In one possible implementation, see Figure 5 , S300, obtaining data of the area to be optimized according to the circuit board prediction image and the defect area image, including:
[0089] S340, obtaining first position data of a defective circuit board in the defective area image.
[0090] It can be understood that the detection and location of the defective area in the defective area image using computer vision technology and image processing algorithms can be achieved through methods such as target detection, edge detection, and shape recognition to ensure that the location of the defect is accurately captured. In the detected defective area, the first defect location data is extracted, which may include information such as the coordinates of the defect, the size of the area, and the location information relative to the circuit board.
[0091] With such a setting, by obtaining the first position data of the defective circuit board in the defective area image, the defect position on the circuit board can be quickly and accurately located, which helps to discover problems in time and take corresponding measures, and helps to subsequently analyze the impact of different process parameters on the manufacturing quality of the circuit board, providing a basis for optimizing the processing technology.
[0092] S350, obtaining second position data of an area corresponding to the first position data in the circuit board prediction image.
[0093] It is understood that computer vision technology and image processing algorithms can be used to detect and locate the area corresponding to the first position data in the circuit board prediction image, which can be an adjacent area, a surrounding area or a specific area, to confirm the range in which the second position data needs to be found. In the determined corresponding area, the image processing algorithm and related technologies are used to detect and extract the second position data in the circuit board prediction image. This can be achieved through feature matching, shape recognition and other methods. It can include information such as the coordinates of the welding position, the size of the area, and the position information relative to the circuit board.
[0094] With this arrangement, by acquiring the second position data of the area corresponding to the first position data in the predicted image of the circuit board, the welding position can be quantitatively analyzed, providing objective indicators for the type and degree of defects, which helps to provide a basis for optimizing the processing technology.
[0095] S360, performing position accuracy analysis on the first position data and the second position data to obtain welding position optimization data in the area data to be optimized.
[0096] It can be understood that the first position data and the second position data can be matched and compared to confirm the corresponding relationship between them. It can include the conversion of coordinate system, the unification of data format and other processing. By calculating the difference and deviation between the two position data, the position accuracy is analyzed. Indicators such as Euclidean distance, correlation coefficient, root mean square error and the like can be used for analysis to evaluate the consistency and accuracy between the two position data. According to the results of the position accuracy analysis, the target for welding position optimization in the area data to be optimized, that is, the welding position optimization data, is determined, for example, the welding parameters are adjusted to reduce the deviation, improve the welding position accuracy, etc. Select an appropriate optimization algorithm, and design a corresponding optimization scheme according to the characteristics of the position data and the optimization target. Commonly used optimization algorithms include genetic algorithm, simulated annealing algorithm, particle swarm algorithm and the like. The welding position data in the area data to be optimized is input into the optimization algorithm for processing, and the welding position data is continuously adjusted according to the iterative process of the algorithm to optimize the target and gradually approach the optimal solution.
[0097] With such a setting, the first position data and the second position data are analyzed for position accuracy to obtain welding position optimization data in the area data to be optimized, which can reduce the deviation and error of the welding position, improve the accuracy of the welding position, and thus improve the welding quality and reduce the welding defect rate.
[0098] In one possible implementation, see Figure 6 The circuit board manufacturing equipment includes a first manufacturing device, a second manufacturing device and a third manufacturing device. The first manufacturing device is electrically connected to the second manufacturing device and the third manufacturing device respectively. The first manufacturing device is provided with a process mark in the manufacturing state. The process mark is used to indicate whether the circuit board manufacturing data currently executed by the first manufacturing device is the circuit board manufacturing process optimization data. In step S400, after analyzing and processing the data of the area to be optimized based on the defect optimization model and obtaining the circuit board manufacturing process optimization data, the circuit board manufacturing process optimization method includes:
[0099] S410, the first manufacturing device receives the first circuit board manufacturing data from the second manufacturing device and executes the first circuit board manufacturing data. The second manufacturing device can receive the circuit board manufacturing process optimization data, and the second manufacturing device can also send the received circuit board manufacturing process optimization data to the first manufacturing device.
[0100] It can be understood that the data interaction protocol between the first manufacturing device and the second manufacturing device is established, including data format, communication method, interface specification, etc., so that the two systems can correctly exchange data. After the second manufacturing device receives the first circuit board manufacturing data (for example, the operator can input data to the second manufacturing device), the second manufacturing device can send the first circuit board manufacturing data to the first manufacturing device. According to the received first circuit board manufacturing data, the first manufacturing device executes the manufacturing process corresponding to the first circuit board manufacturing data. For example, process parameter setting, manufacturing plan adjustment and other operations.
[0101] With such an arrangement, the first manufacturing device receives the first circuit board manufacturing data from the second manufacturing device and executes the first circuit board manufacturing data, which helps to achieve optimization and coordination of the manufacturing process.
[0102] S420, when the first manufacturing device is executing the first circuit board manufacturing data, if it is determined that the first circuit board manufacturing data is not the circuit board manufacturing process optimization data, the first manufacturing device sets the process mark to the first mark, wherein the first mark is used to indicate that the first circuit board manufacturing data is not the circuit board manufacturing process optimization data.
[0103] It can be understood that when receiving the first circuit board manufacturing data, the first manufacturing device needs to identify and classify the first circuit board manufacturing data, and can judge by the characteristics, format, identifier, etc. of the data to determine whether the first circuit board manufacturing data is or is not the circuit board manufacturing process optimization data. For example, a set of judgment conditions can be formulated to determine whether the data is the circuit board manufacturing process optimization data. These conditions may include information such as the format, source, label of the data, or whether the data has been modified or optimized. When the data does not meet these conditions, it can be marked as a first mark. When the first manufacturing device determines that the received first circuit board manufacturing data is not the circuit board manufacturing process optimization data, the process mark is set to the first mark, which can be a specific identifier or mark used to indicate the nature of the first circuit board manufacturing data.
[0104] With such a configuration, when the first manufacturing device is executing the first circuit board manufacturing data, if it is determined that the first circuit board manufacturing data is not the circuit board manufacturing process optimization data, the first manufacturing device sets the process mark to the first mark, which can clearly distinguish the first circuit board manufacturing data from the circuit board manufacturing process optimization data, thereby avoiding confusion and misunderstanding, and avoiding mistaking non-optimized data for optimized data to cause erroneous operations or adjustments, which helps to improve manufacturing quality.
[0105] S430, the first manufacturing device receives a first manufacturing signal from the third manufacturing device, wherein the first manufacturing signal is used to instruct the first manufacturing device to execute the circuit board manufacturing data from the third manufacturing device.
[0106] It can be understood that the data format, communication method and transmission path of the first manufacturing signal are defined to ensure that the first manufacturing device and the third manufacturing device can correctly exchange signals and data. The third manufacturing device can send the first manufacturing signal to the first manufacturing device, and the first manufacturing signal can be a specific identifier, code or signal. After receiving the first manufacturing signal, the first manufacturing device parses and processes the signal to determine the first manufacturing signal, and then instructs the first manufacturing device to execute the circuit board manufacturing data from the third manufacturing device.
[0107] With this arrangement, the first manufacturing device is currently in a manufacturing state, but since the data currently executed by the first manufacturing device is not circuit board manufacturing process optimization data, the first manufacturing device can still receive and execute circuit board manufacturing data from the third manufacturing device, thereby reducing the waste of manufacturing resources.
[0108] For example, the first manufacturing device can correctly process the circuit board manufacturing data sent from the second manufacturing device and the third manufacturing device. When the circuit board manufacturing data of the second manufacturing device is not circuit board manufacturing process optimization data, and the circuit board manufacturing data of the third manufacturing device is circuit board manufacturing process optimization data, the first manufacturing device can directly use the circuit board manufacturing data of the third manufacturing device.
[0109] When the circuit board manufacturing data of the second manufacturing device is not the circuit board manufacturing process optimization data, and the circuit board manufacturing data of the third manufacturing device is not the circuit board manufacturing process optimization data, the first manufacturing device can issue a warning to the operator to remind the operator that the second manufacturing device and the third manufacturing device are both executing the circuit board manufacturing process optimization data.
[0110] When the circuit board manufacturing data of the second manufacturing device is circuit board manufacturing process optimization data, and the circuit board manufacturing data of the third manufacturing device is circuit board manufacturing process optimization data, the products can be sorted according to their priority (for example, the difficulty of the product, the product manufacturing cycle, etc.) to obtain a manufacturing plan. For example, it is determined that the first manufacturing device is to perform collaborative manufacturing with the second manufacturing device in priority according to the circuit board manufacturing process optimization data, and after the manufacturing is completed, the first manufacturing device is to perform collaborative manufacturing with the third manufacturing device in priority according to the circuit board manufacturing process optimization data.
[0111] When the circuit board manufacturing data of the second manufacturing device is circuit board manufacturing process optimization data, and the circuit board manufacturing data of the third manufacturing device is not circuit board manufacturing process optimization data, the first manufacturing device can directly use the circuit board manufacturing data of the second manufacturing device.
[0112] S440 , in response to the first manufacturing signal, the first manufacturing device analyzes the process mark when it is determined that the first manufacturing device is in a manufacturing state.
[0113] It is understood that it is possible to check whether the first manufacturing device is in a manufacturing state, and to ensure that the manufacturing task can be executed by checking the device state, manufacturing plan and other information. The first manufacturing device responds to the first manufacturing signal, and parses the process mark when it is determined that the first manufacturing device is in a manufacturing state. If the first manufacturing device determines that the first manufacturing device is in an idle state or a ready-to-manufacture state when receiving the first manufacturing signal, the first manufacturing device can directly receive and execute the circuit board manufacturing data from the third manufacturing device.
[0114] In this way, the first manufacturing device responds to the first manufacturing signal, and when it is determined that the first manufacturing device is in a manufacturing state, it analyzes the process mark, which helps the first manufacturing device to quickly make correct decisions and operations, reduce the time for adjusting and processing erroneous data, and thus improve the quality of manufacturing.
[0115] S450, when the process mark is the first mark, the first manufacturing device receives and executes the second circuit board manufacturing data from the third manufacturing device.
[0116] It can be understood that the first manufacturing device needs to analyze the process symbol to confirm what kind of symbol the process symbol is. In the case where the process symbol is the first symbol, the first manufacturing device receives and executes the second circuit board manufacturing data from the third manufacturing device.
[0117] With such arrangement, when the process mark is the first mark, the first manufacturing device receives and executes the second circuit board manufacturing data from the third manufacturing device, and can perform corresponding manufacturing operations according to specific circumstances, thereby improving the flexibility of the manufacturing process.
[0118] In a possible implementation, the circuit board manufacturing process optimization method further includes:
[0119] When the first manufacturing device is executing the first circuit board manufacturing data, if it is determined that the first circuit board manufacturing data is circuit board manufacturing process optimization data, the first manufacturing device sets the process mark to a second mark, wherein the second mark is used to indicate that the first circuit board manufacturing data is circuit board manufacturing process optimization data.
[0120] It can be understood that when receiving the first circuit board manufacturing data, the first manufacturing device needs to identify and classify the first circuit board manufacturing data, and can judge by the characteristics, format, identifier, etc. of the data to determine whether the first circuit board manufacturing data is or is not the circuit board manufacturing process optimization data. For example, a set of judgment conditions can be formulated to determine whether the data is the circuit board manufacturing process optimization data. These conditions may include information such as the format, source, label of the data, or whether the data has been modified or optimized. When the data meets these conditions, it can be marked as a second mark. When the first manufacturing device determines that the received first circuit board manufacturing data is the circuit board manufacturing process optimization data, the process mark is set to the second mark, which can be a specific identifier or mark used to indicate the nature of the first circuit board manufacturing data.
[0121] With such a configuration, when the first manufacturing device is executing the first circuit board manufacturing data, if it is determined that the first circuit board manufacturing data is circuit board manufacturing process optimization data, the first manufacturing device sets the process mark to the second mark, which can clearly distinguish the first circuit board manufacturing data from the circuit board manufacturing process optimization data, thereby avoiding confusion and misunderstanding, and avoiding mistaking non-optimized data for optimized data to cause erroneous operations or adjustments, which helps to improve manufacturing quality.
[0122] In a possible implementation, in step S440, the first manufacturing device responds to the first manufacturing signal, and when it is determined that the first manufacturing device is in a manufacturing state, after parsing the process mark, the circuit board manufacturing process optimization method further includes:
[0123] When the process symbol is the second symbol, the first manufacturing device sends a first manufacturing response to the third manufacturing device, wherein the first manufacturing response is used to indicate that the first manufacturing device rejects the circuit board manufacturing data from the third manufacturing device.
[0124] It can be understood that the process mark needs to be parsed first. When the process mark is the second mark, the first manufacturing device generates a first manufacturing response to instruct the first manufacturing device to reject the circuit board manufacturing data from the third manufacturing device. The first manufacturing device can send the first manufacturing response information to the third manufacturing device through a suitable communication method to ensure that the information can be conveyed to the third manufacturing device in a timely and accurate manner.
[0125] With such an arrangement, when the process mark is the second mark, the first manufacturing device sends the first manufacturing response to the third manufacturing device, which can reduce manufacturing delays and repeated work caused by erroneous data, improve manufacturing efficiency, reduce unnecessary debugging time, and accelerate the manufacturing process.
[0126] In a possible implementation, the circuit board manufacturing process optimization method further includes:
[0127] When the process mark is the first mark, the first manufacturing device abandons the execution of the first circuit board manufacturing data and sends a first manufacturing stop signal to the second manufacturing device, wherein the first manufacturing stop signal is used to instruct the second manufacturing device to stop executing the circuit board manufacturing data.
[0128] It can be understood that the process mark can be parsed, and when the process mark is the first mark, the first manufacturing device generates a first manufacturing suspension signal to instruct the second manufacturing device to suspend the execution of the circuit board manufacturing data. The signal may include a clear reason for the suspension and a processing suggestion. The first manufacturing device sends the first manufacturing suspension signal information to the second manufacturing device through an appropriate communication method to ensure that the information can be conveyed to the second manufacturing device in a timely and accurate manner. The first manufacturing device records the first manufacturing suspension signal information sent, including the signal content, sending time and other related information, for subsequent traceability and recording. After receiving the first manufacturing suspension signal, the second manufacturing device immediately suspends the execution of the corresponding circuit board manufacturing data, and takes further operations or adjustments according to the signal content. And a warning is issued to the operator to inform the operator that the second manufacturing device is not using the circuit board manufacturing process optimization data for manufacturing, and the second manufacturing device is still using outdated manufacturing data for manufacturing.
[0129] With such a configuration, when the process mark is the first mark, the first manufacturing device abandons executing the first circuit board manufacturing data and sends a first termination manufacturing signal to the second manufacturing device, thereby terminating the execution of the problematic manufacturing data, ensuring that the product quality meets the standards and customer requirements, and improving the product qualification rate and reliability.
[0130] In one possible implementation, see Figure 7 In step S420, determining that the first circuit board manufacturing data is not circuit board manufacturing process optimization data includes:
[0131] S421, the first manufacturing device obtains the boundary value of the weld shape of the first circuit board manufacturing data currently being executed.
[0132] It is understood that the first manufacturing device can parse the first circuit board manufacturing data currently being executed to obtain relevant weld shape information. The data file can be parsed or real-time data can be obtained from the interface of the circuit board manufacturing device. Based on the parsed data, the first manufacturing device needs to identify parameters or features related to the weld shape, such as the length, width, depth, etc. of the weld. Based on the identified weld shape parameters, the first manufacturing device can calculate the boundary value of the weld shape. The boundary value can include statistical indicators such as minimum value, maximum value, average value, standard deviation, etc., to describe the range of variation, distribution or shape of the weld shape, such as square, rectangle, circle or irregular shape.
[0133] With such a setting, the first manufacturing device obtains the boundary value of the weld shape of the first circuit board manufacturing data currently being executed, which can help the first manufacturing device to timely identify and prevent weld quality problems, such as defects such as welds being too wide, too narrow, too deep or uneven, and reduce product defective rates and rework rates.
[0134] S422: When the boundary value acquired in the first preset area is greater than the first threshold, the first manufacturing device determines that the first circuit board manufacturing data is not circuit board manufacturing process optimization data.
[0135] It can be understood that the boundary value of the weld shape in the first preset area is obtained and compared with the preset first threshold. It is analyzed whether the obtained boundary value is greater than the first threshold. If so, it is determined that the first circuit board manufacturing data is not the circuit board manufacturing process optimization data.) For example, assuming that the preset weld width threshold is 0.1mm, that is, the first threshold, but the boundary value obtained in the first preset area is 0.15mm, then the first manufacturing device can determine that the first circuit board manufacturing data does not meet the process optimization requirements. If the preset weld length threshold is 10mm, but the boundary value obtained in the first preset area is 15mm, then the first manufacturing device can determine that the first circuit board manufacturing data is not the circuit board manufacturing process optimization data.
[0136] With such a configuration, when the boundary value obtained within the first preset area is greater than the first threshold value, the first manufacturing device determines that the first circuit board manufacturing data is not circuit board manufacturing process optimization data, and can clearly distinguish between the first circuit board manufacturing data and the circuit board manufacturing process optimization data, thereby avoiding confusion and misunderstanding, and avoiding mistaking non-optimized data for optimized data to cause erroneous operations or adjustments, which helps to improve manufacturing quality.
[0137] In one possible implementation, see Figure 8 , the circuit board manufacturing process optimization method also includes:
[0138] S423, the first manufacturing device obtains the boundary value of the weld shape of the first circuit board manufacturing data currently being executed.
[0139] It can be understood that the first manufacturing device can parse the first circuit board manufacturing data currently being executed to obtain relevant weld shape information. The data file can be parsed or real-time data can be obtained from the interface of the manufacturing device. Based on the parsed data, the first manufacturing device needs to identify parameters or features related to the weld shape, such as the length, width, depth, etc. of the weld. Based on the identified weld shape parameters, the first manufacturing device can calculate the boundary value of the weld shape. The boundary value can include statistical indicators such as minimum value, maximum value, average value, standard deviation, etc., to describe the range of variation, distribution or shape of the weld shape, such as square, rectangle, circle or irregular shape.
[0140] With such a setting, the first manufacturing device obtains the boundary value of the weld shape of the first circuit board manufacturing data currently being executed, which can help the first manufacturing device to timely identify and prevent weld quality problems, such as defects such as welds being too wide, too narrow, too deep or uneven, and reduce product defective rates and rework rates.
[0141] S424: When the boundary value obtained in the second preset area is greater than the first threshold, the first manufacturing device sends a second manufacturing stop signal to the second manufacturing device, wherein the second manufacturing stop signal is used to instruct the second manufacturing device to stop executing the circuit board manufacturing data.
[0142] It can be understood that the boundary value obtained in the second preset area is compared with the preset first threshold value. When it is determined that the boundary value is greater than the first threshold value, the first manufacturing device will generate a second termination manufacturing signal. This signal can be a digital or analog signal, instructing the second manufacturing device to immediately terminate the execution of the current circuit board manufacturing data. The first manufacturing device can send the second termination manufacturing signal to the second manufacturing device through a communication channel or a circuit connection. After receiving the second termination manufacturing signal, the second manufacturing device immediately stops executing the current circuit board manufacturing data. It can execute the corresponding program to safely stop the manufacturing process and avoid the production of defective products.
[0143] With such a configuration, when the boundary value obtained in the second preset area is greater than the first threshold, the first manufacturing device sends a second manufacturing termination signal to the second manufacturing device, which can avoid the production of defective products, reduce subsequent rework and repair work, and thus improve the manufacturing quality.
[0144] In a possible implementation, in step S450, when the process mark is the first mark, before the first manufacturing device receives and executes the second circuit board manufacturing data from the third manufacturing device, the circuit board manufacturing process optimization method further includes:
[0145] The first manufacturing device sends a second manufacturing response to the third manufacturing device, wherein the second manufacturing response is used to indicate to the third manufacturing device that the first manufacturing device can execute the circuit board manufacturing data from the third manufacturing device.
[0146] It can be understood that the first manufacturing device and the third manufacturing device need to agree on a unified communication protocol to ensure that they can communicate effectively, and can determine the communication interface, data format, communication frequency, etc. The first manufacturing device can receive a circuit board manufacturing data execution request from the third manufacturing device. Before the first manufacturing device receives and executes the second circuit board manufacturing data from the third manufacturing device, the first manufacturing device sends a second manufacturing response to the third manufacturing device to indicate to the third manufacturing device that the first manufacturing device can execute the circuit board manufacturing data from the third manufacturing device.
[0147] With such a configuration, by sending a second manufacturing response from the first manufacturing device to the third manufacturing device, manufacturing data and instructions can be effectively shared. When the first manufacturing device is able to execute the circuit board manufacturing data from the third manufacturing device, it immediately starts executing the circuit board manufacturing data from the third manufacturing device. This can reduce waiting time and manufacturing delays and improve manufacturing efficiency.
[0148] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0149] Corresponding to the circuit board manufacturing process optimization method described in the above embodiment, the embodiment of the present application also provides a circuit board manufacturing process optimization system, and each unit of the system can implement each step of the circuit board manufacturing process optimization method. Fig. 9 A structural block diagram of a circuit board manufacturing process optimization system provided in an embodiment of the present application is shown. For ease of explanation, only the parts related to the embodiment of the present application are shown.
[0150] Reference Fig. 9 , the circuit board manufacturing process optimization system includes:
[0151] The acquisition unit is used to acquire circuit board data, wherein the circuit board data includes defect data used to reflect defect conditions on the circuit board.
[0152] The analysis unit is used to input the circuit board data into the prediction model so that the prediction model analyzes the circuit board data and outputs a circuit board prediction image and a defect area image. The circuit board prediction image includes a circuit board image after optimizing defects predicted by the prediction model based on the defect data in the circuit board data, and the defect area image includes a defect image determined by the prediction model based on the defect data in the circuit board data.
[0153] The processing unit is used to obtain the data of the area to be optimized according to the circuit board prediction image and the defect area image. The data of the area to be optimized includes the weld shape optimization data reflecting that the weld shape of the defect area corresponding to the defect area in the defect image does not match the weld shape of the area corresponding to the defect area in the circuit board prediction image, and the welding position optimization data reflecting that the position of the defect area corresponding to the defect area in the defect image does not correspond to the position of the area corresponding to the defect area in the circuit board prediction image.
[0154] The optimization unit is used to analyze and process the data of the area to be optimized based on the defect optimization model to obtain the circuit board manufacturing process optimization data.
[0155] It should be noted that the information interaction, execution process, etc. between the above-mentioned systems / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0156] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the division of the above-mentioned functional units is used as an example for illustration. In practical applications, the above-mentioned functions can be assigned to different functional units as needed, that is, the internal structure of the system can be divided into different functional units to complete all or part of the functions described above. The functional units in the embodiment can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0157] The present application also provides a circuit board manufacturing device. Fig.10 This is a schematic diagram of the structure of a control device for a circuit board manufacturing device provided in one embodiment of the present application. Fig.10 As shown, the control device 6 of this embodiment includes: at least one processor 60 ( Fig.10 Only one is shown), at least one memory 61 ( Fig.10 Only one is shown in the figure) and a computer program 62 stored in the at least one memory 61 and executable on the at least one processor 60. When the processor 60 executes the computer program 62, the control device 6 implements the steps in any of the above-mentioned circuit board manufacturing process optimization method embodiments, or implements the functions of the various units in the above-mentioned device embodiments.
[0158] Exemplarily, the computer program 62 may be divided into one or more units, which are stored in the memory 61 and executed by the processor 60 to complete the present application. The one or more units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 62 in the control device 6.
[0159] For example, the circuit board manufacturing equipment may include a circuit board manufacturing device and a control device 6 electrically connected to the circuit board manufacturing device. The control device 6 may include, but is not limited to, a processor 60 and a memory 61. Those skilled in the art will understand that Fig.10 It is only an example of the control device 6 and does not constitute a limitation on the control device 6. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, it may also include input and output devices, network access devices, buses, etc.
[0160] The processor 60 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0161] In some embodiments, the memory 61 may be an internal storage unit of the control device 6, such as a hard disk or memory of the control device 6. In other embodiments, the memory 61 may also be an external storage device of the control device 6, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the control device 6. Further, the memory 61 may also include both an internal storage unit and an external storage device of the control device 6. The memory 61 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program. The memory 61 may also be used to temporarily store data that has been output or is to be output.
[0162] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in any of the above method embodiments are implemented.
[0163] An embodiment of the present application provides a computer program product. When the computer program product is run on a circuit board manufacturing device, the circuit board manufacturing device implements the steps in any of the above-mentioned method embodiments.
[0164] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the circuit board manufacturing equipment, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.
[0165] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0166] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0167] In the embodiments provided in the present application, it should be understood that the disclosed circuit board manufacturing process optimization system, circuit board manufacturing equipment and circuit board manufacturing process optimization method can be implemented in other ways. For example, the circuit board manufacturing process optimization system and circuit board manufacturing equipment embodiments described above are merely 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 integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0168] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, 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 solution of this embodiment.
[0169] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A method for optimizing a circuit board manufacturing process, characterized in that: The method is applied to circuit board manufacturing equipment, and the method comprises: Acquire circuit board data; wherein the circuit board data includes defect data for reflecting defect conditions on the circuit board; Input the circuit board data into a prediction model so that the prediction model analyzes the circuit board data and outputs a circuit board prediction image and a defect area image; wherein the circuit board prediction image includes a circuit board image after optimizing defects predicted by the prediction model for the defect data in the circuit board data, and the defect area image includes a defect image determined by the prediction model for the defect data in the circuit board data; According to the circuit board prediction image and the defect area image, the data of the area to be optimized are obtained; wherein the data of the area to be optimized includes weld shape optimization data reflecting that the weld shape of the defect area corresponding to the defect area in the defect image does not match the weld shape of the area corresponding to the defect area in the circuit board prediction image, and welding position optimization data reflecting that the position of the defect area corresponding to the defect area in the defect image does not correspond to the position of the area corresponding to the defect area in the circuit board prediction image; Analyze and process the data of the area to be optimized based on the defect optimization model to obtain circuit board manufacturing process optimization data; The circuit board manufacturing equipment includes a first manufacturing device, a second manufacturing device and a third manufacturing device, the first manufacturing device is electrically connected to the second manufacturing device and the third manufacturing device respectively, the first manufacturing device is provided with a process mark in the manufacturing state, and the process mark is used to indicate whether the circuit board manufacturing data currently executed by the first manufacturing device is the circuit board manufacturing process optimization data; after the defect optimization network is used to analyze and process the data of the area to be optimized to obtain the circuit board manufacturing process optimization data, the method includes: The first manufacturing device receives the first circuit board manufacturing data from the second manufacturing device and executes the first circuit board manufacturing data; wherein the second manufacturing device is capable of receiving the circuit board manufacturing process optimization data, and the second manufacturing device is also capable of sending the received circuit board manufacturing process optimization data to the first manufacturing device; In the process of executing the first circuit board manufacturing data, when the first manufacturing device determines that the first circuit board manufacturing data is not the circuit board manufacturing process optimization data, the first manufacturing device sets the process mark to a first mark; wherein the first mark is used to indicate that the first circuit board manufacturing data is not the circuit board manufacturing process optimization data; The first manufacturing device receives a first manufacturing signal from the third manufacturing device; wherein the first manufacturing signal is used to instruct the first manufacturing device to execute the circuit board manufacturing data from the third manufacturing device; The first manufacturing device, in response to the first manufacturing signal, analyzes the process mark when determining that the first manufacturing device is in a manufacturing state; When the process symbol is the first symbol, the first manufacturing device receives and executes the second wiring board manufacturing data from the third manufacturing device.
2. The circuit board manufacturing process optimization method according to claim 1, characterized in that: The circuit board manufacturing process optimization method further includes: Acquire non-defective circuit board sample data and defective circuit board sample data; wherein the non-defective circuit board sample data includes first sample data reflecting that the circuit board has no defects, and the defective circuit board sample data includes second sample data reflecting that the circuit board has defects; Performing intersection analysis on the first sample data and the second sample data to obtain defect sample data; A first learning model is trained based on the defect sample data to obtain the prediction model.
3. The circuit board manufacturing process optimization method according to claim 1, characterized in that: The circuit board manufacturing process optimization method further includes: Acquire non-defective circuit board sample data and defective circuit board sample data; wherein the non-defective circuit board sample data includes first sample data and first process sample data reflecting that the circuit board has no defects, and the defective circuit board sample data includes second sample data and second process sample data reflecting that the circuit board has defects; Performing data reorganization and analysis on the first sample data, the first process sample data, the second sample data and the second process sample data to obtain defect optimization data; A second learning model is trained based on the defect optimization data to obtain the defect optimization model.
4. The circuit board manufacturing process optimization method according to any one of claims 1 to 3, characterized in that: The step of obtaining the data of the area to be optimized according to the circuit board prediction image and the defective area image comprises: Acquire the first defective weld shape data of the circuit board in the defective area image; Acquire second weld shape data of an area corresponding to the first weld shape data in the circuit board prediction image; The first weld shape data and the second weld shape data are compared and processed for shape deviation to obtain the weld shape optimization data in the area data to be optimized.
5. The circuit board manufacturing process optimization method according to any one of claims 1 to 3, characterized in that: The step of obtaining the data of the area to be optimized according to the circuit board prediction image and the defective area image comprises: Acquire first position data of a defective circuit board in the defective area image; Acquire second position data corresponding to the first position data in the circuit board prediction image; The first position data and the second position data are subjected to position accuracy analysis to obtain the welding position optimization data in the area data to be optimized.
6. The circuit board manufacturing process optimization method according to claim 1, characterized in that: The circuit board manufacturing process optimization method further includes: During the process of executing the first circuit board manufacturing data, when the first manufacturing device determines that the first circuit board manufacturing data is the circuit board manufacturing process optimization data, the first manufacturing device sets the process mark to a second mark; wherein the second mark is used to indicate that the first circuit board manufacturing data is the circuit board manufacturing process optimization data.
7. The circuit board manufacturing process optimization method according to claim 6, characterized in that: After the first manufacturing device, in response to the first manufacturing signal, determines that the first manufacturing device is in a waiting state, and analyzes the process mark, the method further includes: When the process mark is the second mark, the first manufacturing device sends a first manufacturing response to the third manufacturing device; wherein the first manufacturing response is used to indicate that the first manufacturing device rejects the circuit board manufacturing data from the third manufacturing device; Wherein, the circuit board manufacturing process optimization method further includes: When the process mark is the first mark, the first manufacturing device abandons executing the first circuit board manufacturing data and sends a first manufacturing termination signal to the second manufacturing device; wherein the first manufacturing termination signal is used to instruct the second manufacturing device to terminate the execution of the circuit board manufacturing data.
8. The method for optimizing the circuit board manufacturing process according to claim 1, wherein: The determining that the first circuit board manufacturing data is not the circuit board manufacturing process optimization data includes: The first manufacturing device acquires a boundary value of a weld shape of the first circuit board manufacturing data currently being executed; When the boundary value acquired in the first preset area is greater than a first threshold value, the first manufacturing device determines that the first circuit board manufacturing data is not the circuit board manufacturing process optimization data; Wherein, the circuit board manufacturing process optimization method further includes: The first manufacturing device acquires a boundary value of a weld shape of the first circuit board manufacturing data currently being executed; When the boundary value obtained in the second preset area is greater than the first threshold, the first manufacturing device sends a second manufacturing termination signal to the second manufacturing device; wherein the second manufacturing termination signal is used to instruct the second manufacturing device to terminate the execution of circuit board manufacturing data.
9. A circuit board manufacturing device, characterized in that: The method comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 8 when executing the computer program.
