Detection method of copper-exposed area, computer equipment and storage medium

By scanning the top and bottom layers of the printed circuit board, the wiring errors in the exposed copper area are automatically detected, which solves the problem of manual inspection that takes a long time and is easy to miss, improves the accuracy and efficiency of the inspection, and improves the design quality of the printed circuit board.

CN119849420APending Publication Date: 2025-04-18SHANGHAI ANQINZHIXING AUTOMOTIVE ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411749209.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-02
Publication Date
2025-04-18

AI Technical Summary

Technical Problem

In the prior art, manual inspection of the wiring problem of exposed copper areas of printed circuit boards takes a long time and is prone to missing, resulting in low detection accuracy and efficiency.

Method used

Provide a detection method for exposed copper areas. By scanning the top and bottom layers of printed circuit boards in the design page, selecting candidate lines intersecting the exposed copper areas, filtering out target lines other than ground lines, and making error prompts in the design page.

Benefits of technology

It realizes automatic detection of wiring errors in exposed copper areas during the printed circuit board design stage, improves detection accuracy and efficiency, avoids possible errors in the designed printed circuit board, and improves the design quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119849420A_ABST
    Figure CN119849420A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a copper exposure area detection method, computer equipment and a storage medium. The method comprises the following steps: in response to a detection instruction, scanning a top layer and a bottom layer of a printed circuit board in a design page to obtain a copper exposure area; selecting candidate lines intersected with the copper exposed area from the lines of the top layer and the bottom layer; screening target lines except the ground line in the candidate lines; and according to the target circuit and the copper exposure area, carrying out error prompting in the design page. The method is used for achieving the effect of improving the accuracy and efficiency of wiring detection in the copper-exposed area.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of printed circuit boards, and in particular to a method for detecting exposed copper areas, a computer device, and a storage medium. Background Art

[0002] The printed circuit board includes an exposed copper area, which is the area on the printed circuit board that is not covered by the solder mask layer. During the design process of the printed circuit board, there may be a problem of incorrectly wiring non-ground wires in the exposed copper area, which will cause a short circuit in the printed circuit board and bring safety hazards.

[0003] In the related art, after the printed circuit board is designed, wiring problems in the exposed copper area are manually checked, but manual inspection is time-consuming and prone to omissions, resulting in low accuracy and efficiency in wiring detection in the exposed copper area. Summary of the invention

[0004] The embodiments of the present application provide a method for detecting exposed copper areas, a computer device, and a storage medium, so as to improve the accuracy and efficiency of wiring detection in exposed copper areas.

[0005] In a first aspect, an embodiment of the present application provides a method for detecting a copper exposed area, comprising:

[0006] In response to the detection instruction, the top layer and the bottom layer of the printed circuit board in the design page are scanned to obtain the exposed copper area; among the circuits in the top layer and the bottom layer, the candidate circuits intersecting with the exposed copper area are selected; among the candidate circuits, the target circuits except the ground line are screened; and according to the target circuits and the exposed copper area, an error prompt is given in the design page.

[0007] In a possible implementation, selecting candidate circuits intersecting with the exposed copper area from among the circuits at the top layer and the bottom layer includes: obtaining the coordinates of the boundary points of the exposed copper area; obtaining the position coordinates of the circuits at the top layer and the bottom layer; and selecting candidate circuits intersecting with the exposed copper area from among the circuits at the top layer and the bottom layer based on the coordinates of the boundary points and the position coordinates.

[0008] In a possible implementation, in the circuits of the top layer and the bottom layer, a candidate circuit intersecting with the exposed copper area is selected according to the boundary point coordinates and the position coordinates, including: traversing the circuits of the top layer and the bottom layer to obtain the circuit to be processed; determining whether the circuit to be processed meets the intersection condition according to the boundary point coordinates and the position coordinates of the circuit to be processed; and when the circuit to be processed meets the intersection condition, taking the circuit to be processed as a candidate circuit intersecting with the exposed copper area.

[0009] In a possible implementation, screening target lines other than ground lines from candidate lines includes: obtaining network names of candidate lines; and selecting target lines whose network names are not ground line names from candidate lines.

[0010] In a possible implementation, an error prompt is provided in a design page according to a target circuit and an exposed copper area, including: determining an intersection point between the target circuit and the exposed copper area; and displaying an error mark in the design page according to the intersection point.

[0011] In a possible implementation, in response to a detection instruction, a top layer and a bottom layer of a printed circuit board in a design page are scanned to obtain a copper exposed area, including: in response to the detection instruction, using the property of the copper exposed area as a parameter of a copper exposed area detection program; running the copper exposed area detection program to scan the top layer and the bottom layer of the printed circuit board in the design page to obtain the copper exposed area.

[0012] In a second aspect, an embodiment of the present application provides a detection device for a copper exposed area, comprising:

[0013] A scanning module, for scanning the top layer and the bottom layer of the printed circuit board in the design page in response to the detection instruction, to obtain the exposed copper area;

[0014] A first selection module is used to select candidate circuits intersecting with the exposed copper area from the circuits of the top layer and the bottom layer;

[0015] The second selection module is used to select target lines other than the ground line from the candidate lines;

[0016] The prompt module is used to provide error prompts in the design page based on the target circuit and exposed copper area.

[0017] In a third aspect, an embodiment of the present application provides a computer device, comprising: a memory, a processor; the memory stores computer execution instructions; the processor executes the computer execution instructions stored in the memory, so that the processor executes the first aspect above and / or various possible implementations of the first aspect.

[0018] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the first aspect above and / or various possible implementations of the first aspect.

[0019] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the above first aspect and / or various possible implementation methods of the first aspect.

[0020] The copper exposed area detection method, computer device and storage medium provided in the embodiments of the present application respond to the detection instruction, scan the top layer and the bottom layer of the printed circuit board in the design page to obtain the copper exposed area, select the candidate circuits intersecting with the copper exposed area from the circuits of the top layer and the bottom layer, and then eliminate the ground wires from the candidate circuits to obtain the target circuit, which is the circuit that is incorrectly wired to the copper exposed area, and an error prompt is given for the target circuit in the design page; in the design stage of the printed circuit board, the wiring errors in the copper exposed area are automatically detected, and this process does not require manual participation. Compared with manual detection of wiring errors in the copper exposed area, the accuracy and efficiency are improved, and the situation where errors exist in the copper exposed area of ​​the designed printed circuit board is avoided, thereby improving the design quality of the printed circuit board. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0022] Figure 1 A schematic diagram of a scene of a method for detecting exposed copper areas provided in the present application;

[0023] Figure 2 Schematic diagram of the process of the copper exposed area detection method provided in this application Figure 1 ;

[0024] Figure 3 This is a schematic diagram of the related art that does not indicate that there is a wiring error in the exposed copper area Figure 1 ;

[0025] Figure 4 The schematic diagram provided for this application indicates that there is a wiring error in the exposed copper area Figure 1 ;

[0026] Figure 5 This is a schematic diagram of the related art that does not indicate that there is a wiring error in the exposed copper area Figure 2 ;

[0027] Figure 6 The schematic diagram provided for this application indicates that there is a wiring error in the exposed copper area Figure 2 ;

[0028] Figure 7 Schematic diagram of the process of the copper exposed area detection method provided in this application Figure 2 ;

[0029] Figure 8 Schematic diagram of the process of the copper exposed area detection method provided in this application Figure 3 ;

[0030] Fig. 9A schematic diagram of the structure of a detection device for exposed copper areas provided in this application;

[0031] Fig.10 A schematic diagram of the structure of the computer device provided for this application.

[0032] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0033] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0034] In the description of this application, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0035] The copper exposed area detection method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown, the terminal 102 communicates with the server 104 through a network. The data storage system can store data that the server 104 needs to process. The data storage system can be integrated on the server 104, or placed on the cloud or other network servers.

[0036] The terminal 102 may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, IoT devices, and portable wearable devices. The IoT devices may be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. The portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc. The server 104 may be implemented as an independent server or a server cluster consisting of multiple servers.

[0037] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0038] Figure 2 Schematic diagram of the process of the copper exposed area detection method provided in this application Figure 1 , the detection method of the exposed copper area can be applied to computer equipment, and the computer equipment can be a terminal; Figure 2 As shown, the method includes:

[0039] S201. In response to a detection instruction, a top layer and a bottom layer of a printed circuit board in a design page are scanned to obtain a copper exposed area.

[0040] The detection instruction is used to detect the circuits in the exposed copper area, and to give an error prompt when there are circuits other than the ground wire in the exposed copper area.

[0041] The design page is a page used to draw printed circuit boards in the Printed Circuit Board (PCB) design application. Component layout and wiring can be performed on the design page.

[0042] A printed circuit board includes multiple layers; in actual applications, the multiple printed circuit board layers included in a printed circuit board may include a top layer, a bottom layer, a solder mask layer, a memory layer, a solder paste layer, etc.; usually the top layer is also called the TOP layer, and the bottom layer is also called the BOTTOM layer.

[0043] The exposed copper area is the area on the printed circuit board where the copper layer is not covered by the solder mask layer. The exposed copper area is drawn on the top and bottom layers of the printed circuit board. The exposed copper area can provide a conductive surface in contact with the hardware shell to ensure the electrical connection between the shell and the printed circuit board. It can also provide a shorter return path for ground return. It can also serve as a discharge point for EMC (Electromagnetic Compatibility) and ESD (Electro-Static discharge), which can quickly release the accumulated static charge.

[0044] Specifically, after completing the wiring of the printed circuit board and drawing the exposed copper area in the design page, the exposed copper area detection is performed on the designed printed circuit board; the computer device displays the exposed copper area detection control in the design page, triggers the detection instruction through the exposed copper area detection control, and runs the exposed copper area detection program in response to the detection instruction. The top and bottom layers of the printed circuit board in the design page are scanned by the exposed copper area detection program to obtain the exposed copper area.

[0045] In some embodiments, in response to a detection instruction, a top layer and a bottom layer of a printed circuit board in a design page are scanned to obtain a copper exposed area, including: in response to the detection instruction, using the properties of the copper exposed area as parameters of a copper exposed area detection program; running the copper exposed area detection program to scan the top layer and the bottom layer of the printed circuit board in the design page to obtain a copper exposed area.

[0046] The property of the exposed copper area is used to mark the exposed copper area. In some printed circuit board design applications, the property of the exposed copper area is a shape property. The exposed copper area detection program is a custom script file, that is, a custom-written script text for detecting the exposed copper area.

[0047] Specifically, the computer device responds to the detection instruction, obtains the properties of the exposed copper area (such as shape properties), uses the shape properties as parameters of the scanning instruction in the exposed copper area detection program, and scans the top and bottom layers of the printed circuit board through the scanning instruction to obtain the exposed copper area.

[0048] Exemplarily, the printed circuit board design application is a Cadence application as an example for explanation. The Cadence application is an electronic design automation tool. After the printed circuit board is designed by the Cadence application, a detection instruction is triggered through the design page of the Cadence application to obtain the properties of the exposed copper area, and a scanning instruction (such as axlSingleSelectBox) is used to scan the exposed copper area of ​​the shape attribute on the top and bottom layers.

[0049] In the above embodiment, the exposed copper area is obtained by scanning the exposed copper area according to the properties of the exposed copper area through a customized exposed copper area detection program, so that the exposed copper area can be identified quickly and accurately, thereby improving the efficiency of determining the exposed copper area.

[0050] S202 . Select candidate circuits intersecting with the exposed copper area from among the circuits on the top layer and the bottom layer.

[0051] The intersection of the candidate line and the exposed copper area means that the candidate line passes through the exposed copper area, that is, part of the candidate line is in the exposed copper area.

[0052] Specifically, the computer device obtains the circuits of the top layer and the bottom layer, and obtains the regional position of the exposed copper area; for each circuit of the top layer and the bottom layer, obtains the position point through which the circuit passes, and if the position point through which the circuit passes belongs to the regional position, the circuit is selected as a candidate circuit.

[0053] S203. Filter target lines except the ground line from the candidate lines.

[0054] In an optional manner, there may be multiple candidate routes. For each candidate route, the computer device obtains the name of the candidate route and determines whether the candidate route is a ground line based on the name. If the candidate route is not a ground line, the candidate route is used as the target route.

[0055] In an optional manner, an image of the exposed copper area is obtained, and coordinates of candidate lines in the image are identified to obtain coordinate information of the candidate lines. If the coordinate information indicates that the candidate line passes through the exposed copper area, the candidate line is determined to be a target line.

[0056] In an optional manner, when wiring a printed circuit board, the line color is determined, an image of the exposed copper area can be obtained, and the color of the candidate line in the image can be identified to obtain the color of the candidate line. If the color of the candidate line is not the preset ground wire color, the candidate line is determined to be the target line.

[0057] In some embodiments, screening target lines other than ground lines from candidate lines includes: obtaining network names of the candidate lines; and selecting target lines whose network names are not ground line names from the candidate lines.

[0058] The network name may indicate the type of the candidate line.

[0059] Specifically, the exposed copper area detection program includes an object selection instruction. For each candidate line, the computer device obtains the network name (NET NAME) of the candidate line through the object selection instruction, and determines whether the network name is a ground line name (GND NET NAME). If not, the candidate line is used as the target line.

[0060] Exemplarily, the printed circuit board design application is a Cadence application as an example for explanation. The exposed copper area detection program is run through the Cadence application, and the network name of the candidate line is obtained through the object selection instruction (such as axlGetSelSet) of the exposed copper area detection program.

[0061] In the above embodiment, by selecting target lines other than ground lines from the candidate lines through the network names of the candidate lines, the non-ground lines in the copper exposed area can be quickly determined, thereby improving the efficiency of determining the target lines.

[0062] S204. An error prompt is given in the design page according to the target circuit and the exposed copper area.

[0063] Among them, the error prompt is used to prompt that there is a non-ground wire in the exposed copper area.

[0064] In one possible manner, the target line is highlighted in the design page and an error prompt text is displayed. The target line can be highlighted by changing the color of the target line to a preset prompt color, so that the line with the wiring error can be intuitively determined; the error prompt text can indicate that the target line is not a ground line, but is arranged in an exposed copper area.

[0065] In a possible manner, an error prompt is provided in a design page according to a target circuit and an exposed copper area, including: determining an intersection point between the target circuit and the exposed copper area; and displaying an error mark in the design page according to the intersection point.

[0066] The intersection point of the target line and the exposed copper area is the intersection point of the boundary between the target line and the exposed copper area. In practical applications, the target line is not a ground line, so the target line may run through the exposed copper area. Then, there may be at least two intersection points between the target line and the exposed copper area, and the intersection point may be at least two intersection points or any one of the at least two intersection points.

[0067] The error mark includes an error prompt icon and an error prompt text.

[0068] Specifically, the computer device obtains the line point on the target line, obtains the boundary point of the exposed copper area, and compares the line point and the boundary point through the exposed copper area detection program. When the coordinates of the line point and the boundary point are the same, the line point is used as the intersection point, and an error prompt icon is displayed in the design page with the intersection point as the center, and the error prompt text is displayed in the error prompt icon.

[0069] In the above embodiment, an error mark is displayed at the intersection point of the target circuit and the exposed copper area. The intersection point is determined in the previous process and does not need to be additionally determined, which improves the efficiency of error prompts. The error mark is displayed at the intersection point, and the incorrectly wired circuit in the exposed copper area can also be clearly shown, making the error prompt more intuitive.

[0070] For example, Figure 3 As shown, the exposed copper area is the shell contact area of ​​the conductive metal (the rectangular area in the lower right corner). In the related art, the line VCAMD_DVDD_1.2V intersects with the exposed copper area. This error cannot be automatically detected, so there will be no error prompt for the line VCAMD_DVDD_1.2V; Figure 4 As shown, in the embodiment of the present application, the detection method of the exposed copper area detects that the line VCAMD_DVDD_1.2V is incorrectly wired to the exposed copper area, and an error mark is displayed at the intersection of the line VCAMD_DVDD_1.2V and the exposed copper area.

[0071] For example, Figure 5As shown, the exposed copper area is the exposed copper pad area of ​​the shield. In the related art, the line VERG_L9A_1P8 and the line VERG_L7A_1P8 pass through the exposed copper area. This error cannot be automatically detected, so there will be no error prompt for the line VERG_L9A_1P8 and the line VERG_L7A_1P8; Figure 6 As shown, in the embodiment of the present application, the detection method of the exposed copper area detects that the line VERG_L9A_1P8 and the line VERG_L7A_1P8 are incorrectly routed to the exposed copper area, and an error mark is displayed at the intersection of the line VERG_L9A_1P8 and the exposed copper area, and at the intersection of the line VERG_L7A_1P8 and the exposed copper area.

[0072] The above-mentioned method for detecting exposed copper areas responds to a detection instruction, scans the top and bottom layers of a printed circuit board in a design page, obtains exposed copper areas, selects candidate lines intersecting with the exposed copper areas from the lines on the top and bottom layers, and then removes ground lines from the candidate lines to obtain target lines, the target lines are lines that are incorrectly wired to the exposed copper areas, and an error prompt is given for the target lines in the design page; in the design stage of the printed circuit board, wiring errors in the exposed copper areas are automatically detected, and this process does not require manual participation. Compared with manual detection of wiring errors in the exposed copper areas, the accuracy and efficiency are improved, and the situation where errors exist in the exposed copper areas of the designed printed circuit boards is avoided, thereby improving the design quality of the printed circuit boards.

[0073] In some embodiments, the method for detecting exposed copper areas further includes: saving an exposed copper area detection program to a configuration file path of a printed circuit board design application; adding a detection command to a menu file of the printed circuit board design application, and establishing a calling relationship between the detection command and the exposed copper area detection program.

[0074] Among them, the exposed copper area detection program is a custom script file, specifically a script file used to detect wiring errors in the exposed copper area; the menu file defines the menu structure of the printed circuit board design application. In actual applications, the menu structure includes file operations, editing functions, view operations, wiring functions, etc.

[0075] Specifically, the computer device obtains the written exposed copper area detection program, and saves the exposed copper area detection program in the configuration file path of the printed circuit board design application to integrate the exposed copper area detection program into the printed circuit board design application, so that the printed circuit board design application can execute the customized exposed copper area detection program, thereby expanding the function of the printed circuit board design application through the customized exposed copper area detection program.

[0076] Add a detection command to the menu file of the printed circuit board design application, that is, add the customized detection command to the menu structure of the printed circuit board design application by modifying the menu file; establish a calling relationship between the detection command and the exposed copper area detection program, so that the exposed copper area detection program can be called through the detection command added in the menu structure, and then the exposed copper area detection is started.

[0077] Exemplarily, the printed circuit board design application is taken as an example of the Cadence application. The Cadence application is an electronic design automation tool. The computer device obtains a customized exposed copper area detection program. Since the scripting language used by the Cadence application is Skill, the customized exposed copper area detection program can be written in the Skill scripting language; the exposed copper area detection program is installed to the pcbenv path of the Cadence application (which is the path of the Cadence application for storing environment variable settings and customized Skill scripts), so that the Cadence application can recognize the exposed copper area detection program; the detection command is added to the MANUFACTURE menu, and it is set to start the exposed copper area detection program through the detection command.

[0078] It should be noted that the above-mentioned Cadence application is only used as an example and is not used to limit the scope of protection of the present application; the embodiments of the present application can also be applied to other printed circuit board design applications to expand the exposed copper area detection program of other printed circuit board design applications.

[0079] In the above embodiment, the functionality of the printed circuit board design application is expanded through the exposed copper area detection program, and the exposed copper area detection can be conveniently performed through the printed circuit board design application, thereby realizing automatic detection of the exposed copper area and improving the accuracy and efficiency of the exposed copper area detection.

[0080] In some embodiments, among the circuits of the top layer and the bottom layer, a candidate circuit intersecting with the exposed copper area is selected, including: obtaining the boundary point coordinates of the exposed copper area; obtaining the position coordinates of the circuits of the top layer and the bottom layer; and among the circuits of the top layer and the bottom layer, a candidate circuit intersecting with the exposed copper area is selected based on the boundary point coordinates and the position coordinates.

[0081] The boundary point coordinates are the coordinates of the boundary points of the copper exposed area. The boundary points may be points on the boundary line of the copper exposed area. For example, if the copper exposed area is a rectangular area, the boundary points are points on the boundary line of the rectangular area. It is understandable that there may be multiple boundary points.

[0082] The position coordinates are the coordinates of the route points. The route points are points on the routes at the top and bottom layers. Similarly, there may be multiple route points.

[0083] Specifically, the exposed copper area detection program includes an object selection instruction, through which the boundary point coordinates of the exposed copper area and the position coordinates of the lines on the top and bottom layers are obtained. For each line on the top and bottom layers, it is determined whether the line intersects with the exposed copper area based on the boundary point coordinates and the position coordinates of the line. If so, the line is used as a candidate line.

[0084] In the above embodiment, candidate lines intersecting with the exposed copper area are determined according to the boundary point coordinates and position coordinates of the exposed copper area. This process does not require manual participation and the candidate lines can be automatically detected, thereby improving the detection efficiency of the exposed copper area.

[0085] In some embodiments, in the circuits of the top layer and the bottom layer, candidate circuits intersecting with the exposed copper area are selected based on the boundary point coordinates and the position coordinates, including: traversing the circuits of the top layer and the bottom layer to obtain the circuits to be processed; determining whether the circuits to be processed meet the intersection condition based on the boundary point coordinates and the position coordinates of the circuits to be processed; if the circuits to be processed meet the intersection condition, taking the circuits to be processed as candidate circuits intersecting with the exposed copper area.

[0086] Specifically, for all the lines on the top layer and the bottom layer, the computer device traverses the lines that have not been traversed among all the lines to obtain the lines to be processed; the computer device determines the coordinates of the regional points in the exposed copper area according to the coordinates of the boundary points, and compares the coordinates of the regional points with the position coordinates of the lines to be processed; if some of the regional point coordinates are the same as some of the position coordinates, it is determined that the line to be processed meets the intersection condition, and the line to be processed is used as a candidate line; if the regional point coordinates are not the same as the position coordinates, it is determined that the line to be processed does not meet the intersection condition, and the line is not a candidate line; after completing the determination of whether the line to be processed meets the intersection condition, the line to be processed is marked as a traversed line, and the step of traversing the lines that have not been traversed is continued.

[0087] In one possible manner, when the copper exposed area is a regular area (such as a rectangle, a circle, etc.), the computer device determines the minimum horizontal coordinate, the maximum horizontal coordinate, the minimum vertical coordinate and the maximum vertical coordinate according to the coordinates of the boundary points. If there are some position coordinates in the position coordinates of the line to be processed, whose horizontal coordinates are between the minimum horizontal coordinate and the maximum horizontal coordinate, and whose vertical coordinates are between the minimum vertical coordinate and the maximum vertical coordinate, then the line to be processed meets the intersection condition, otherwise the line to be processed does not meet the intersection condition.

[0088] In one possible manner, based on the coordinates of the boundary points of the exposed copper area, a scanning instruction in the exposed copper detection program may be used to capture the candidate circuits intersecting the exposed copper area; illustratively, taking the printed circuit board design application as a Cadence application as an example, the Cadence application may use a scanning instruction (such as axlSingleSelectBox) to obtain the candidate circuits intersecting the exposed copper area based on the coordinates of the boundary points of the exposed copper area.

[0089] In the above embodiment, whether the top and bottom layers of the circuit meet the intersection condition is determined based on the boundary point coordinates and position coordinates of the exposed copper area, and the candidate circuits can be quickly determined in the top and bottom layers of the circuits, thereby improving the detection efficiency of the exposed copper area.

[0090] In some embodiments, when no target line other than the ground line is screened out from the candidate lines, that is, when all the candidate lines are ground lines, no misalignment information is output, for example: there is no wiring error in the exposed copper area.

[0091] Figure 7 Schematic diagram of the process of the copper exposed area detection method provided in this application Figure 2 In this embodiment, Figure 2 Based on the embodiment, a method for detecting the exposed copper area is described in detail, and the method includes:

[0092] S701, in response to the detection instruction, taking the property of the exposed copper area as a parameter of the exposed copper area detection program, and running the exposed copper area detection program to scan the top layer and the bottom layer of the printed circuit board in the design page to obtain the exposed copper area;

[0093] S702, obtaining the coordinates of the boundary points of the exposed copper area; obtaining the position coordinates of the circuits on the top layer and the bottom layer;

[0094] S707, traversing the top and bottom layers of the circuits to obtain the circuit to be processed; determining whether the circuit to be processed meets the intersection condition according to the boundary point coordinates and the position coordinates of the circuit to be processed; if the circuit to be processed meets the intersection condition, taking the circuit to be processed as a candidate circuit intersecting with the exposed copper area;

[0095] S704, obtaining the network name of the candidate lines; selecting a target line whose network name is not a ground line name from the candidate lines;

[0096] S705, determining the intersection point between the target circuit and the exposed copper area; and displaying an error mark in the design page according to the intersection point.

[0097] In a specific example, Figure 8As shown, the printed circuit board design application is a Cadence application as an example for explanation. The printed circuit board layer is designed in the Cadence application, and the detection command is triggered through the menu of the Cadence application to obtain the properties (shape) of the exposed copper area. Through the scanning command (such as axlSingleSelectBox) of the exposed copper area detection program, the top layer and the bottom layer are scanned according to the properties of the exposed copper area to obtain the exposed copper area;

[0098] The object selection instruction (such as axlGetSelSet) of the exposed copper area detection program is used to obtain the boundary point coordinates of the exposed copper area. Based on the boundary point coordinates, the candidate circuits intersecting the exposed copper area are obtained according to the scanning instruction (such as axlSingleSelectBox). The network name of the candidate circuit is obtained through the object selection instruction, and it is determined whether the network name is a ground wire name. If not, the candidate circuit is used as the target circuit, and an error prompt icon is displayed at the intersection of the target circuit and the exposed copper area. If the network name is a ground wire name, the candidate circuit is a ground wire. If all the candidate circuits are ground wires, the information that there is no wiring error in the exposed copper area is output.

[0099] The above-mentioned method for detecting exposed copper areas responds to a detection instruction, scans the top and bottom layers of a printed circuit board in a design page, obtains exposed copper areas, selects candidate lines intersecting with the exposed copper areas from the lines on the top and bottom layers, and then removes ground lines from the candidate lines to obtain target lines, the target lines are lines that are incorrectly wired to the exposed copper areas, and an error prompt is given for the target lines in the design page; in the design stage of the printed circuit board, wiring errors in the exposed copper areas are automatically detected, and this process does not require manual participation. Compared with manual detection of wiring errors in the exposed copper areas, the accuracy and efficiency are improved, and the situation where errors exist in the exposed copper areas of the designed printed circuit boards is avoided, thereby improving the design quality of the printed circuit boards.

[0100] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0101] Based on the same inventive concept, an embodiment of the present application further provides a device for detecting exposed copper areas for implementing the above-mentioned method for detecting exposed copper areas. Fig. 9 The schematic diagram of the structure of the detection device for the exposed copper area provided in this application is as follows: Fig. 9 As shown, the copper exposed area detection device 90 provided in this embodiment includes:

[0102] The scanning module 901 is used to scan the top layer and the bottom layer of the printed circuit board in the design page in response to the detection instruction to obtain the exposed copper area;

[0103] A first selection module 902 is used to select candidate circuits intersecting with the copper exposed area from the circuits of the top layer and the bottom layer;

[0104] The second selection module 903 is used to select target lines except the ground line from the candidate lines;

[0105] The prompt module 904 is used to provide error prompts in the design page according to the target circuit and the exposed copper area.

[0106] In a possible implementation, the first selection module 902 is further used to obtain the boundary point coordinates of the exposed copper area; obtain the position coordinates of the top and bottom layers of the circuit; and select the candidate circuits that intersect with the exposed copper area in the top and bottom layers of the circuits based on the boundary point coordinates and the position coordinates.

[0107] In a possible implementation, the first selection module 902 is further used to traverse the top and bottom layers of the circuits to obtain the circuit to be processed; determine whether the circuit to be processed meets the intersection condition based on the boundary point coordinates and the position coordinates of the circuit to be processed; if the circuit to be processed meets the intersection condition, use the circuit to be processed as a candidate circuit that intersects with the exposed copper area.

[0108] In a possible implementation, the second selection module 903 is used to obtain the network name of the candidate lines; and select a target line whose network name is not a ground line name from the candidate lines.

[0109] In a possible implementation, the prompt module 904 is used to determine the intersection point between the target circuit and the exposed copper area; and display an error mark in the design page according to the intersection point.

[0110] In one possible implementation, the scanning module 901 is used to respond to the detection instruction and use the properties of the exposed copper area as parameters of the exposed copper area detection program; run the exposed copper area detection program to scan the top layer and the bottom layer of the printed circuit board in the design page to obtain the exposed copper area.

[0111] The detection device for exposed copper areas provided in this embodiment can execute the method provided in the above method embodiment, and its implementation principle and technical effect are similar, which will not be described in detail in this embodiment.

[0112] Fig.10 This is a schematic diagram of the structure of the computer device provided in this application. Fig.10 As shown, the computer device 100 provided in this embodiment includes: at least one processor 1001 and a memory 1002. Optionally, the device 100 further includes a communication component 1003. The processor 1001, the memory 1002 and the communication component 1003 are connected via a bus 1004.

[0113] In a specific implementation process, at least one processor 1001 executes the computer-executable instructions stored in the memory 1002, so that at least one processor 1001 executes the above method.

[0114] The specific implementation process of the processor 1001 can be found in the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.

[0115] In the above embodiments, it should be understood that the processor can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the invention can be directly implemented as a hardware processor, or can be implemented by a combination of hardware and software modules in the processor.

[0116] The memory may include a high-speed memory (Random Access Memory, RAM), and may also include a non-volatile memory (NVM), such as at least one disk storage.

[0117] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of this application is not limited to only one bus or one type of bus.

[0118] The present application also provides a computer program product, including a computer program, which implements the above method when executed by a processor.

[0119] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the above method is implemented.

[0120] The above-mentioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special-purpose computer.

[0121] An exemplary readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC). Of course, the processor and the readable storage medium can also exist in the device as discrete components.

[0122] The division of units is only a logical function division, and there may be other divisions 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 interface, device or unit, which can be electrical, mechanical or other forms.

[0123] 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.

[0124] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0125] If the function 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 technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0126] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.

[0127] Finally, it should be noted that those skilled in the art will readily conceive of other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. The present invention is intended to cover any variations, uses or adaptations of the present invention, which follow the general principles of the present invention and include common knowledge or customary technical means in the art not disclosed by the present invention, are not limited to the precise structure described above and shown in the drawings, and may be modified and changed in various ways without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

Claims

1. A method for detecting exposed copper areas, characterized in that: include: In response to the detection instruction, the top layer and the bottom layer of the printed circuit board in the design page are scanned to obtain the exposed copper area; Selecting candidate circuits intersecting with the copper exposed area from among the circuits of the top layer and the bottom layer; Screening target lines other than ground lines from the candidate lines; An error prompt is given in the design page according to the target circuit and the exposed copper area.

2. The method according to claim 1, characterized in that The step of selecting a candidate circuit intersecting the copper exposed area from the circuits of the top layer and the bottom layer comprises: Obtaining the coordinates of the boundary points of the copper exposed area; Obtaining the position coordinates of the lines at the top layer and the bottom layer; Among the circuits of the top layer and the bottom layer, candidate circuits intersecting with the copper exposed area are selected according to the boundary point coordinates and the position coordinates.

3. The method according to claim 2, characterized in that The selecting, from the circuits of the top layer and the bottom layer, candidate circuits intersecting with the copper exposed area according to the boundary point coordinates and the position coordinates comprises: Traversing the circuits of the top layer and the bottom layer to obtain the circuit to be processed; Determining whether the line to be processed meets an intersection condition according to the coordinates of the boundary point and the position coordinates of the line to be processed; When the circuit to be processed meets the intersection condition, the circuit to be processed is used as a candidate circuit intersecting with the copper exposed area.

4. The method according to any one of claims 1 to 3, characterized in that The step of screening target lines other than ground lines from the candidate lines comprises: Obtaining the network name of the candidate line; A target line whose network name is not a ground line name is selected from the candidate lines.

5. The method according to any one of claims 1 to 3, characterized in that The providing an error prompt in the design page according to the target circuit and the exposed copper area includes: Determine an intersection point between the target line and the copper exposed area; An error mark is displayed in the design page according to the intersection point.

6. The method according to any one of claims 1 to 3, characterized in that The method of scanning the top layer and the bottom layer of the printed circuit board in the design page in response to the detection instruction to obtain the copper exposed area includes: In response to the detection instruction, using the property of the exposed copper area as a parameter of the exposed copper area detection procedure; The copper exposed area detection program is run to scan the top layer and the bottom layer of the printed circuit board in the design page to obtain the copper exposed area.

7. A detection device for exposed copper areas, characterized in that: The device comprises: A scanning module, for scanning the top layer and the bottom layer of the printed circuit board in the design page in response to the detection instruction, to obtain the exposed copper area; A first selection module is used to select candidate circuits intersecting with the copper exposed area from the circuits of the top layer and the bottom layer; A second selection module, used for screening target lines other than ground lines from the candidate lines; The prompt module is used to provide an error prompt in the design page according to the target circuit and the exposed copper area.

8. A computer device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 6 when executed by a processor.

10. A computer program product, characterized in that The method comprises computer-executable instructions, which implement the method according to any one of claims 1 to 6 when executed by a processor.