Jig inspection method based on PCB layout, electronic equipment and storage medium

Through the automated inspection method based on PCB layout, the position of plug-in devices and graphic constraint rules are used to achieve efficient and accurate inspection of wave soldering fixtures, which solves the problem of low efficiency and accuracy of manual inspection and improves the yield rate of PCB production.

CN118566255APending Publication Date: 2024-08-30SUZHOU YUANKONG ELECTRONIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310140436.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-21
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

The efficiency, accuracy and comprehensiveness of manual inspection of existing wave soldering fixtures are low, making it difficult to improve the yield rate of PCB production.

Method used

The automated inspection method based on the PCB layout obtains the position of the plug-in device and determines the defect points in the slotted welding area according to the preset area function and graphic constraint rules, thereby achieving efficient, accurate and comprehensive inspection of wave soldering fixtures.

Benefits of technology

It improves the efficiency, accuracy and comprehensiveness of wave soldering fixture inspection, reduces the time investment and cost of manual inspection by designers, and ensures the quality of the welding process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118566255A
    Figure CN118566255A
Patent Text Reader

Abstract

The embodiment of the invention discloses a PCB inspection method, electronic equipment and a storage medium. In the embodiment of the invention, a first inspection instruction is received, and the first inspection instruction is used for indicating defect inspection of an initial wave soldering jig corresponding to a target PCB layout; in response to the first inspection instruction, obtaining a material insertion device on the target PCB layout; the position of the material inserting device is used as a reference, a slotting welding area is determined according to a preset first area function, and the slotting welding area corresponds to a slotting area of the initial wave soldering jig; and according to a preset pattern constraint rule, performing defect judgment on the shape of the slotting welding area and the relative position relationship between the slotting welding area and the pattern elements in the target PCB layout to obtain defect points exceeding the pattern constraint rule, and taking the defect points as the defect points of the initial wave-soldering jig. According to the embodiment of the invention, efficient, accurate and comprehensive inspection of the wave-soldering jig is realized in a data automatic processing mode.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the technical field of PCB design, and in particular to a fixture inspection method, electronic equipment and storage medium based on PCB layout. Background Art

[0002] PCB (Printed Circuit Board) design is based on the circuit schematic diagram to achieve the functions required by the circuit designer. The output of PCB design is the PCB layout. PCB production is based on the PCB layout in the factory, turning the drawings into actual usable PCB products.

[0003] PCB production mainly includes the steps of making a PCB blank board, mounting components on the PCB blank board through SMT (Surface Mounted Technology), and inserting components through DIP (dual in-line package). The process of implementing the above process steps depends on the type of electronic devices designed in the PCB layout. PCBs designed with SMD devices and plug-in devices need to first go through the soldering process of reflow soldering (the specific process of SMT) to install the SMD devices, and then go through the soldering process of wave soldering (the specific process of DIP) to install the plug-in devices.

[0004] During the wave soldering process, the semi-finished PCB needs to be soldered with a wave soldering jig through the high-temperature liquid tin that flows out of the wave crest. The wave soldering jig generally has three functions: 1. Carrying the PCB and exposing the insert pad for soldering; 2. Fixing the PCB to prevent liquid tin from overflowing onto the PCB surface and contaminating it; 3. Protecting the soldered SMD devices on the wave soldering surface. The wave soldering jig is not a universal device, but is highly related to the design of the PCB to be produced. It can be considered that the wave soldering jig corresponding to each different PCB is different. The slotted area of ​​the wave soldering jig is actually made according to the layout of the devices in the PCB, and whether the wave soldering jig can play the expected role in the soldering process is directly affected by the rationality of the slotted area. In the prior art, in order to improve the yield rate of PCB production, engineers will manually inspect the wave soldering jig, but this manual inspection method has low inspection efficiency, inspection accuracy and inspection comprehensiveness. Summary of the invention

[0005] The present invention provides a jig inspection method, electronic equipment and storage medium based on PCB layout, so as to solve the technical problems that the inspection efficiency, inspection accuracy and inspection comprehensiveness of the existing wave soldering jig manual inspection method are all low.

[0006] In a first aspect, an embodiment of the present invention provides a fixture inspection method based on a PCB layout, comprising:

[0007] Receive a first inspection instruction, where the first inspection instruction is used to instruct to perform a defect inspection on an initial wave soldering fixture corresponding to a target PCB layout;

[0008] In response to the first inspection instruction, obtaining the inserted components on the target PCB layout;

[0009] Taking the position of the insert device as a reference, confirming the slotted soldering area according to a preset first area function, the slotted soldering area corresponds to the slotted area of ​​the initial wave soldering fixture;

[0010] According to the preset graphic constraint rules, the shape of the slotted soldering area and the relative position relationship between the slotted soldering area and the graphic elements in the target PCB layout are judged for defects, and the defect points that exceed the graphic constraint rules are obtained as the defect points of the initial wave soldering fixture.

[0011] In a second aspect, an embodiment of the present invention further provides an electronic device, including:

[0012] one or more processors;

[0013] a memory for storing one or more computer programs;

[0014] When one or more computer programs are executed by one or more processors, the electronic device implements the fixture inspection method of the first aspect.

[0015] In a third aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the fixture inspection method of the first aspect.

[0016] In the jig inspection method, electronic device and storage medium based on PCB layout, a first inspection instruction is received, and the first inspection instruction is used to instruct to perform defect inspection on the initial wave soldering jig corresponding to the target PCB layout; in response to the first inspection instruction, the plug-in device on the target PCB layout is obtained; with the position of the plug-in device as a reference, the slotted soldering area is confirmed according to the preset first area function, and the slotted soldering area corresponds to the slotted area of ​​the initial wave soldering jig; according to the preset graphic constraint rules, the shape of the slotted soldering area and the relative position relationship between the slotted soldering area and the graphic elements in the target PCB layout are judged for defects, and the defect points exceeding the graphic constraint rules are obtained as the defect points of the initial wave soldering jig. By dividing the area corresponding to the initial wave soldering jig according to the general generation rules of the wave soldering jig in the target PCB layout corresponding to the PCB to be produced, confirming the sizes of various graphic elements including the area division in the PCB layout, and whether the relative position relationship between the graphic elements meets the general parameter requirements of wave soldering, the efficient, accurate and comprehensive inspection of the wave soldering jig is achieved in the form of data automation and data processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 A method flow chart of a PCB layout-based fixture inspection method provided by an embodiment of the present invention.

[0018] Figure 2 This is a partial schematic diagram of the PCB layout.

[0019] Figure 3 Schematic diagram of the slotted soldering area of ​​a single interposer component.

[0020] Figure 4 for Figure 2 Schematic diagram of the PCB layout confirming the slotted soldering area.

[0021] Figure 5 Schematic diagram of the annular grooved welding area.

[0022] Figure 6 for Figure 5 Schematic diagram of the revised slotted weld area shown.

[0023] Figure 7 for Figure 4 Schematic diagram of the initial wave soldering fixture corresponding to the PCB layout shown.

[0024] Figure 8 Schematic diagram of SMD devices and plug-in devices and their corresponding impact areas.

[0025] Fig. 9 A schematic diagram showing information of defect points.

[0026] Fig.10 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0027] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only the parts related to the present invention, rather than all structures, are shown in the accompanying drawings.

[0028] It should be noted that the present application specification does not enumerate all optional implementation modes. After reading the present application specification, those skilled in the art should be able to understand that as long as the technical features do not contradict each other, any combination of the technical features can constitute an optional implementation mode.

[0029] The following is a detailed description of the various embodiments of the present invention.

[0030] Figure 1A method flow chart of a PCB layout-based fixture inspection method provided by an embodiment of the present invention, wherein the PCB layout-based fixture inspection method is implemented by an electronic device. Figure 1 The PCB layout-based fixture inspection method includes steps S110 to S140:

[0031] Step S110: receiving a first inspection instruction, where the first inspection instruction is used to instruct to perform defect inspection on an initial wave soldering fixture corresponding to a target PCB layout.

[0032] In PCB design, the design of PCB is realized based on various PCB design software, and a PCB layout that can be directly used for comparison in physical PCB production is obtained. The PCB layout that is visualized in real time in the PCB design software is the target PCB layout. A complete PCB layout may include various electronic devices and the connection relationship of electronic devices. PCB can be composed of multiple layers of stacked sub-boards. The connection relationship is manifested as various circuits. Various circuits can be regarded as plane structures. Therefore, they can be laid out on sub-boards of different layers, showing the effect of the circuit being set between two layers of sub-boards. It is accordingly regarded as not being affected by the stacking combination relationship and does not affect the overall structure of the stacking of multiple layers of PCB sub-boards. The circuit design of each layer of sub-boards should also be reflected in the PCB layout. Because the electronic devices in the PCB have a clear three-dimensional structure, they cannot be set between the two layers of sub-boards. They can only be set on the two board surfaces after the overall stacking of multiple sub-boards in an SMT or DIP installation method according to the type of electronic devices.

[0033] Figure 2 An example PCB board is shown. Fig.10 A partial schematic diagram of the PCB board Fig.10 In the embodiment, the electronic device includes a plurality of plug-in devices 11.

[0034] During the production process of a PCB, different installation processes are usually carried out in sequence because different types of electronic devices need to be installed. When installing the plug-in device on the DIP plug-in, in order to protect the installed electronic devices, the PCB is usually carried by a wave soldering fixture. The wave soldering fixture can be generally regarded as a slotted plate-like structure or a slot-like structure, and the slot runs through the plate surface of the plate-like structure or the bottom surface of the slot-like structure. When installing the DIP plug-in, the plug-in device to be installed is first placed on the PCB, and the pins of the plug-in device to be installed extend to the other side through the reserved holes on the PCB. After the plug-in device is placed, the circuit board is fixed to the wave soldering fixture. During welding, the side with the pins extending downward passes through the slots and is welded toward the liquid tin during wave soldering, thereby isolating the side where the plug-in device is placed and the rest of the soldering surface from the high-temperature liquid tin when the PCB is wave soldered. The slots of the wave soldering fixture are actually opened according to the layout of the electronic devices on the PCB, that is, the slot setting on the wave soldering fixture corresponds to the layout design of the electronic devices in the PCB layout. Although the wave soldering jig actually used is generated based on the PCB layout, it is not entirely obtained by simply opening holes corresponding to the layout of electronic devices on the PCB layout. Instead, it is based on the layout of electronic devices in the PCB layout. First, the electronic device that needs to be protected is used as the center and a certain range is expanded outward to obtain the corresponding slotted welding area. If a wave soldering jig is made in this design state for DIP plug-in installation, the electronic device that needs to be protected can theoretically get the minimum protection when passing through the slotted area when the DIP plug-in is installed. However, the hole opening method of this initially generated wave soldering jig may have defects in actual use, and it is necessary to gradually check and optimize to obtain a wave soldering jig that can eventually be used in the actual production process. In this solution, the wave soldering jig initially designed according to the PCB layout is defined as the initial wave soldering jig, and it is inspected for defects.

[0035] On the basis of displaying the PCB layout, the wave soldering jig inspection function can be triggered through the shortcut key or menu bar, and a menu for confirming the wave soldering inspection will pop up. When the menu receives the confirmation operation, it confirms that the first inspection instruction has been received, and starts to perform defect inspection on the initial wave soldering jig corresponding to the currently displayed target PCB layout.

[0036] Step S120: In response to the first inspection instruction, obtaining the inserted components on the target PCB layout.

[0037] After receiving the first check instruction, the Skill program embedded in the PCB design software traverses all devices on the currently displayed target PCB layout according to the pre-set screening conditions. Because the plug-in device is a device that only has plug-in pads, it is judged as an plug-in device based on this condition, and the plug-in device on the target PCB layout is obtained accordingly.

[0038] Step S130: using the position of the insert component as a reference, confirming the slotted soldering area according to a preset first area function, wherein the slotted soldering area corresponds to the slotted soldering area of ​​the initial wave soldering fixture.

[0039] The slotted welding area corresponding to the plug-in device on the initial wave soldering fixture is generally obtained by expanding a certain range outward based on the preset spatial relationship with a reference to the position of the plug-in device. This spatial relationship is characterized by a function, that is, the position information of the plug-in device can be converted into the slotted welding area through the first area function.

[0040] An exemplary method for confirming the slot welding area is as follows: Figure 3 As shown, the size and coordinates of the insert pad are recorded according to the installation position of the insert device 11a. The outer contour of the insert pad is used as a reference. The corresponding slotted welding area can be obtained by expanding outward by a certain distance. From the geometric relationship description, the slotted welding area is the area within the outer contour composed of a circle drawn with a point on the outer contour of the insert pad as the center and a preset length as the radius, for example Figure 3 A circle can be drawn with point A as the center and a preset length as the radius. Another circle can be drawn with the point on the diagonal as the center and a preset length as the radius. The points on the outer contour of the insert device 11a are processed in this way to obtain the outer contour, which is Figure 3 The outermost rounded rectangle in the Figure 3 The figure is only an exemplary method for confirming the slot welding area, and other first area function designs may be used in the specific implementation process.

[0041] like Figure 4 Shown is Figure 2 The slotted soldering area is confirmed based on the PCB layout shown in the figure, and the part beyond the PCB layout can be ignored. The insert device 11 and another adjacent one jointly confirm a slotted soldering area 12. When confirming the slotted soldering area based on the insert device, it may appear that the slotted soldering area is as follows due to the layout of the insert device. Figure 5 The annular slotted soldering area 12a shown in the figure is used as a mapping of the slotted soldering area on the actual wave soldering fixture. The island 14 in the middle of the annular ring cannot exist in the wave soldering fixture without any attachment conditions. The corresponding clearing and correction is performed to obtain the following Figure 6 The slotted weld area 12a shown, obviously, Figure 5 and Figure 6 The electronic device 11e in FIG. 1 is not an interposer device. Figure 7 Shows Figure 4 The schematic diagram of the initial wave soldering fixture corresponding to the PCB layout shown is shown, in which the part beyond the PCB layout is ignored and a border is added.

[0042] Step S140: According to the preset graphic constraint rules, the shape of the slotted soldering area and the relative position relationship between the slotted soldering area and the graphic elements in the target PCB layout are judged for defects, and defect points exceeding the graphic constraint rules are obtained as defect points of the initial wave soldering fixture.

[0043] In PCB design, after the layout of the slotted area of ​​the initial wave soldering fixture is completed based on the PCB layout, it is necessary to check whether the relevant layout is reasonable according to the function of the wave soldering fixture. For example, confirm whether the wave soldering surface SMD devices around each plug pad are sufficiently far away; at the same time, the distance requirements for taller devices are higher. At this time, it is necessary to first confirm the height of the SMD device and then confirm whether it meets the corresponding distance requirements. In addition to confirming the distance, it is also necessary to confirm that the SMD devices on the wave soldering surface are not surrounded by plug pads, otherwise it is impossible to make ribs to extend in to protect the SMD devices. In addition, it is necessary to confirm the spacing between the plug pads. It is necessary to reserve a certain width of space for the rib position on the fixed side length width to have enough support to carry the PCB and prevent large hollowing out and tin overflow. For the entire PCB, it is also necessary to confirm the size. When the size exceeds a certain proportion, it is also necessary to reserve holes in the center area for the PCB board to lock with the wave soldering fixture to avoid poor welding results due to deformation of the PCB board due to excessive size. The above inspection requirements for the wave soldering fixture are used as preset graphic constraint rules in the Skill program, and the inspection and confirmation are completed when the program is running. For the above complicated inspections, due to the large number of plug-in components on the PCB board and the large number of SMD components on the wave soldering surface, which are also very dense, this solution can effectively reduce the high time investment of designers in manual inspection, improve the comprehensiveness of the inspection, and make the inspection parameters more accurate. Moreover, the above inspections are completed on the PCB layout before the wave soldering fixture is actually made, which can effectively reduce the cost of inspections, and can be quickly inspected again after the PCB layout is modified according to the inspection results each time.

[0044] In the specific implementation process, graphic constraint rules are preset corresponding to different defect types. The graphic constraint rules include any plug-in device outside the forbidden plug-in area; accordingly, after receiving the first inspection instruction, in response to the first inspection instruction, the patch device on the target PCB layout is also obtained; based on the size relationship between the height value of the patch device and the preset reference height value, the forbidden plug-in area on the target PCB layout is confirmed according to the preset second area function; accordingly, according to the preset graphic constraint rules, the shape of the slotted welding area and the relative position relationship between the slotted welding area and the graphic elements in the target PCB layout are judged for defects, and defect points exceeding the graphic constraint rules are obtained, including: confirming whether there is an intersection between the plug-in device and the forbidden plug-in area on the target PCB layout; and determining the plug-in device that has an intersection with the forbidden plug-in area on the target PCB layout as a defect point.

[0045] After the wave soldering surface is determined according to the board surface where the plug-in device is located, the Skill program obtains the position of all SMD devices on the wave soldering surface by screening the devices containing SMD pads, confirms the height by the properties of the SMD devices, and compares it with the preset height value. If it exceeds the value, a prohibited plug-in area is generated according to the second area function. According to the position of the plug-in device obtained in the previous text, the coordinates of the plug-in pad can also be obtained. By judging whether the coordinates of the plug-in pad are included in the prohibited plug-in area, it is determined whether a defect report needs to be recorded. That is, if the coordinates of the plug-in pad are included in the prohibited plug-in area, it needs to be determined as a defect point and recorded in the defect report.

[0046] In an optional implementation, the graphic constraint rule includes any patch device being outside the slotted welding area; accordingly, according to the preset graphic constraint rule, a defect judgment is performed on the shape of the slotted welding area and the relative position relationship between the slotted welding area and the graphic elements in the target PCB layout to obtain defect points that exceed the graphic constraint rule, including: confirming whether there is an intersection between the patch device and the slotted welding area; and determining the patch device that has an intersection with the slotted welding area as a defect point.

[0047] In the constraint rules for different types of electronic devices, in addition to the fact that the insertion pads cannot intersect with the forbidden insertion area, the surface mount devices cannot intersect with the slotted welding area. Figure 8 In the figure, there is an insert device 11c in the slotted welding area 12b, and a patch device 11d in the forbidden insert area 13. The intersection of the insert device 11c and the forbidden insert area 13 can confirm a defect point; the intersection of the patch device 11d and the slotted welding area 12b can also confirm a defect point.

[0048] In view of the general size requirements of the slotted soldering area, the graphic constraint rules include that the length and width of any slotted soldering area are within the corresponding reference range; accordingly, according to the preset graphic constraint rules, the shape of the slotted soldering area and the relative position relationship between the slotted soldering area and the graphic elements in the target PCB layout are judged for defects, and defect points exceeding the graphic constraint rules are obtained, including: confirming the relationship between the length and width of each slotted soldering area and the corresponding reference range; determining the slotted soldering area with a length or width outside the corresponding reference range as a defect point. If there is indeed a slotted soldering area that is too large, ribs need to be set to prevent tin overflow.

[0049] For the initial wave soldering fixture, in order to ensure that the PCB will not be deformed due to its own weight during the welding process, the graphic constraint rules include that the number of screw holes in the corresponding central area of ​​the PCB layout is within the corresponding number range according to the size; accordingly, according to the preset graphic constraint rules, the shape of the slotted welding area and the relative position relationship between the slotted welding area and the graphic elements in the target PCB layout are judged for defects, and defect points exceeding the graphic constraint rules are obtained, including: confirming the actual size of the target PCB layout, confirming the central area corresponding to the actual size according to the graphic constraint rules; counting the number of screw holes in the central area; when the number of screw holes is outside the number range corresponding to the actual size, the central area is determined as a defect point.

[0050] The PCB size is obtained by identifying the frame area of ​​the PCB frame layer, and the number of screw holes required within the range of the PCB center corresponding to the size is calculated through the formula. The coordinates of the PCB center point can be determined by the PCB size. The program traverses all devices within a certain range of values ​​around the center point coordinates to determine whether there are holes with the corresponding board size ratio that meet the size requirements. When there are not enough holes, a defect report is recorded, the center area is taken as a defect point, and the actual number of holes and the number of required holes are recorded accordingly.

[0051] The initial wave soldering jig also confirms whether the PCB can be effectively fixed on the wave soldering jig through the size and distance of the pressing block area. The graphic constraint rules include that the size of the pressing block area is within the preset area reference range, and the distance between two adjacent pressing block areas is within the preset distance reference range; accordingly, after receiving the first inspection instruction, it also includes: confirming the device position, silk screen position and pressing block position on the wave soldering opposite surface of the target PCB layout; confirming the forbidden pressing block area according to the device position, silk screen position and pressing block position; accordingly, according to the preset graphic constraint rules, the shape of the slotted welding area and the relative position relationship between the slotted welding area and the graphic elements in the target PCB layout are judged for defects, and defect points exceeding the graphic constraint rules are obtained, including: confirming the size of the pressing block area in the target PCB layout and the distance between two adjacent pressing block areas, the pressing block area is the part outside the forbidden pressing block area in the target PCB layout; the pressing block area whose size exceeds the area reference range and the pressing block area whose distance exceeds the distance reference range are determined as defect points. By judging the pressing block area, it is ensured that the initial shape of the PCB is maintained during the insertion welding, and the production quality is improved.

[0052] After confirming the defect point, the information of the defect point can be displayed directly or according to the received viewing instruction. After the information of the defect point is displayed, when a selection operation for the information of any defect point is received, the graphic element or area corresponding to the defect point is highlighted in the PCB layout. After adjusting the PCB layout or the slotted welding area, it can be used as the target PCB layout and re-executed until the overall design meets the graphic constraint rules and is delivered for the production of the wave soldering fixture or handed over to manual for final confirmation.

[0053] In this scheme, Fig. 9 As shown, a new floating window 20 is created to display defect points, and the defect point information is displayed in a list in the floating window 20. By presenting specific information, the designer can quickly confirm the location where the wave soldering fixture may be abnormal in the subsequent production process. On the basis of displaying the defect point information through the floating window 20, the user's trigger operation on the defect point information can be further received to realize the viewing of specific defect points.

[0054] The solution of fixture inspection based on PCB layout in this solution is implemented through the Skill program for printed circuit board design software. As for the use process of the Skill program in this solution, after creating a Skill program that can be used for fixture inspection, the created Skill program is stored in the target directory, and then a drop-down toolbar is added to the menu bar of the printed circuit board design software by configuring the menu bar configuration file, and the target command menu corresponding to the Skill program is added to the drop-down toolbar by configuring the loading file, and then the execution file is stored in the same target directory as the Skill program. In this way, when the user triggers the target command menu in the drop-down toolbar, the Skill program can be run to screen the printed circuit board design software. If the initial wave soldering fixture is directly generated according to the opened printed circuit board design drawing (i.e., PCB layout), the physical defects that may be generated when the initial wave soldering fixture is actually used in production are the root design defects of the PCB layout, and the design defects detected are displayed. Based on the above overall design ideas, in the face of a large number of tin-linking risk screening processes with monotonous calculation processes and high calculation accuracy requirements, users no longer need to screen manually, thereby improving the inspection efficiency, inspection accuracy and inspection comprehensiveness of wave soldering fixtures.

[0055] In the above-mentioned jig inspection method based on PCB layout, a first inspection instruction is received, and the first inspection instruction is used to instruct to perform defect inspection on the initial wave soldering jig corresponding to the target PCB layout; in response to the first inspection instruction, the plug-in device on the target PCB layout is obtained; with the position of the plug-in device as a reference, the slotted soldering area is confirmed according to the preset first area function, and the slotted soldering area corresponds to the slotted area of ​​the initial wave soldering jig; according to the preset graphic constraint rules, the shape of the slotted soldering area and the relative position relationship between the slotted soldering area and the graphic elements in the target PCB layout are judged for defects, and the defect points exceeding the graphic constraint rules are obtained as the defect points of the initial wave soldering jig. By dividing the area corresponding to the initial wave soldering jig according to the general generation rules of the wave soldering jig in the target PCB layout corresponding to the PCB to be produced, confirming the sizes of various graphic elements including the area division in the PCB layout, and whether the relative position relationship between the graphic elements meets the general parameter requirements of wave soldering, the efficient, accurate and comprehensive inspection of the wave soldering jig is achieved in the form of data automation and data processing.

[0056] Fig.10 FIG. 1 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. Fig.10 As shown, the electronic device includes a processor 310 and a memory 320, and may also include an input device 330, an output device 340 and a communication device 350; the number of the processor 310 in the electronic device may be one or more, Figure 3 A processor 310 is taken as an example; the processor 310, the memory 320, the input device 330, the output device 340 and the communication device 350 in the electronic device can be connected via a bus or other means. Fig.10 The example of connecting through bus is taken in the following.

[0057] The memory 320, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the PCB layout-based fixture inspection method in the embodiment of the present invention. The processor 310 executes various functional applications and data processing of the electronic device by running the software programs, instructions and modules stored in the memory 320, that is, realizes the above-mentioned PCB layout-based fixture inspection method.

[0058] The memory 320 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 320 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 320 may further include a memory remotely arranged relative to the processor 310, and these remote memories may be connected to the electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0059] The input device 330 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the electronic device. The output device 340 may include a display device such as a display screen.

[0060] An embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, it is used to perform relevant operations in the PCB layout-based fixture inspection method provided in any embodiment of the present application, and has corresponding functions and beneficial effects.

[0061] Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems, or computer program products.

[0062] Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code. The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the functions in the process. Figure 1 A process or multiple processes and / or boxes Figure 1These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific way, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the functions specified in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide for implementing the process in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0063] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory. The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0064] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0065] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0066] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. Fixture inspection method based on PCB layout, It is characterized in that include: Receive a first inspection instruction, where the first inspection instruction is used to instruct to perform a defect inspection on an initial wave soldering fixture corresponding to a target PCB layout; In response to the first inspection instruction, obtaining the inserted components on the target PCB layout; Taking the position of the insert device as a reference, confirming a slotted soldering area according to a preset first area function, wherein the slotted soldering area corresponds to the slotted area of ​​the initial wave soldering fixture; According to the preset graphic constraint rules, defect judgment is performed on the shape of the slotted welding area and the relative position relationship between the slotted welding area and the graphic elements in the target PCB layout, and defect points exceeding the graphic constraint rules are obtained as the defect points of the initial wave soldering fixture.

2. The jig inspection method according to claim 1, It is characterized in that The graphic constraint rule includes that any inserted material device is outside the prohibited insertion area; Correspondingly, after receiving the first inspection instruction, the method further includes: In response to the first inspection instruction, obtaining the SMD components on the target PCB layout; Based on the size relationship between the height value of the patch device and the preset reference height value, confirming the prohibited insertion area on the target PCB layout according to a preset second area function; Correspondingly, according to the preset graphic constraint rules, the shape of the slotted welding area and the relative position relationship between the slotted welding area and the graphic elements in the target PCB layout are judged for defects, and defect points exceeding the graphic constraint rules are obtained, including: Confirm whether the insert device intersects with the insert prohibited area on the target PCB layout; The inserted component that intersects with the prohibited insertion area on the target PCB layout is determined as the defect point.

3. The jig inspection method according to claim 1, It is characterized in that The graphic constraint rule includes that any patch device is outside the slotted welding area; Correspondingly, according to the preset graphic constraint rules, the shape of the slotted welding area and the relative position relationship between the slotted welding area and the graphic elements in the target PCB layout are judged for defects, and defect points exceeding the graphic constraint rules are obtained, including: Confirm whether the patch device and the slotted welding area intersect; The patch device that intersects with the slotted welding area is determined as the defect point.

4. The jig inspection method according to claim 1, It is characterized in that The graphic constraint rule includes that the length and width of any slotted welding area are within a corresponding reference range; Correspondingly, according to the preset graphic constraint rules, the shape of the slotted welding area and the relative position relationship between the slotted welding area and the graphic elements in the target PCB layout are judged for defects, and defect points exceeding the graphic constraint rules are obtained, including: Confirming the relationship between the length and width of each of the slotted welding areas and the corresponding reference range; A slotted welding area whose length or width is outside the corresponding reference range is determined as the defective point.

5. The jig inspection method according to claim 1, It is characterized in that The graphic constraint rule includes that the number of screw holes in the corresponding central area of ​​the PCB layout is within a corresponding number range according to the size; Correspondingly, according to the preset graphic constraint rules, the shape of the slotted welding area and the relative position relationship between the slotted welding area and the graphic elements in the target PCB layout are judged for defects, and defect points exceeding the graphic constraint rules are obtained, including: Confirming the actual size of the target PCB layout, and confirming the central area corresponding to the actual size according to the graphic constraint rule; Counting the number of screw holes in the central area; When the number of the screw holes is outside the number range corresponding to the actual size, the central area is determined as the defect point.

6. The jig inspection method according to claim 1, It is characterized in that The graphic constraint rules include that the size of the pressing block area is within a preset area reference range, and the distance between two adjacent pressing block areas is within a preset distance reference range; Correspondingly, after receiving the first inspection instruction, the method further includes: Confirm the device position, silk screen position and pressing block position on the surface opposite to the wave soldering of the target PCB layout; Determine the prohibited pressing block area according to the device position, silk screen position and pressing block position; Correspondingly, according to the preset graphic constraint rules, the shape of the slotted welding area and the relative position relationship between the slotted welding area and the graphic elements in the target PCB layout are judged for defects, and defect points exceeding the graphic constraint rules are obtained, including: Confirm the size of the pressing block area in the target PCB layout and the distance between two adjacent pressing block areas, wherein the pressing block area is a portion outside the forbidden pressing block area in the target PCB layout; A compact region whose size exceeds an area reference range and a compact region whose distance exceeds a distance reference range are determined as the defect point.

7. The jig inspection method according to any one of claims 1 to 6, It is characterized in that After confirming the slotted welding area according to the preset first area function with reference to the position of the insert device, before performing defect judgment on the shape of the slotted welding area and the relative position relationship between the slotted welding area and the graphic elements in the target PCB layout according to the preset graphic constraint rules, the method further includes: The shape of the slotted welding area is recognized, and when the slotted welding area is an annular area, the slotted welding area is corrected to the entire area within the outer ring contour of the slotted welding area.

8. The jig inspection method according to any one of claims 1 to 6, It is characterized in that According to the preset graphic constraint rules, the shape of the slotted soldering area and the relative position relationship between the slotted soldering area and the graphic elements in the target PCB layout are judged for defects, and the defect points exceeding the graphic constraint rules are obtained as the defect points of the initial wave soldering fixture, and the method further includes: Displays information about the defect point.

9. The jig inspection method according to claim 8, It is characterized in that After displaying the information of the defect point, the method further includes: When a selection operation for information on any of the defect points is received, a graphic element or area corresponding to the defect point is highlighted on the PCB layout.

10. An electronic device, It is characterized in that include: one or more processors; a memory for storing one or more computer programs; When the one or more computer programs are executed by the one or more processors, the electronic device implements the fixture inspection method as described in any one of claims 1-9.

11. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the fixture inspection method as described in any one of claims 1 to 9 is implemented.