Method and device for removing overlapped silk screen, electronic equipment and storage medium

By automatically processing the vector outlines of the objects to be retained and removed on the printed circuit board, calculating the overlapping areas and performing the corresponding silk screen removal, the problems of low operating efficiency and accidental deletion in the existing technology are solved, and efficient and accurate overlapping silk screen removal is achieved to ensure the quality of the printed circuit board.

CN120676552AActive Publication Date: 2025-09-19INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202511178407.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-21
Publication Date
2025-09-19
Estimated Expiration
2045-08-21

AI Technical Summary

Technical Problem

In the prior art, the operation efficiency of clearing overlapping silk screens is low, and omissions and accidental deletions are prone to occur, which affects the quality of printed circuit boards.

Method used

By obtaining the vector outlines of the retained objects and objects to be cleared on the printed circuit board, calculating the overlapping areas and marking the objects to be processed, matching the processing actions based on the silk screen type, automatically clearing the overlapping silk screens and reconstructing the graphics to ensure that the design conditions are met.

Benefits of technology

The efficiency of clearing overlapping silk screens is improved, the probability of omissions and accidental deletions is reduced, and the quality of printed circuit boards is guaranteed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120676552A_ABST
    Figure CN120676552A_ABST
Patent Text Reader

Abstract

The invention discloses a method and a device for eliminating overlapped silk-screen, electronic equipment and a storage medium, relates to the technical field of electric digital data processing, and can determine a reserved object and a to-be-eliminated object of a target printed circuit board according to a silk-screen eliminating task. Determining an overlapping region based on the first vector contour of the reserved object and the second vector contour of the to-be-cleared object, marking the to-be-processed object, further completing silk-screen clearing in the to-be-processed object by a corresponding processing action according to the silk-screen type of the to-be-cleared object, and performing graph reconstruction of the target printed circuit board after clearing. The technical problems that in the prior art, much manual operation is needed, the operation efficiency is low, omission and mistaken deletion are prone to occurring, silk-screen printing of non-overlapping parts is damaged, and application and popularization are not facilitated are solved, and the purposes that batch processing is carried out to improve the operation efficiency, the mistaken deletion and missing deletion probability is reduced, and the product quality is improved are achieved. And the quality of the printed circuit board is effectively guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electronic digital data processing, and in particular to a method, a device, an electronic device and a storage medium for removing overlapping silk screens. Background Art

[0002] Printed circuit boards (PCBs) are flat electronic components supported by an insulating substrate and electrically connected using metal conductors (copper foil). To ensure the manufacturability of PCBs, silkscreen design must adhere to certain principles. For densely populated PCBs, design margin is often compromised between design margin and space efficiency, leading to inevitable silkscreen overlap. Therefore, removing overlapping silkscreen is essential to ensure PCB quality.

[0003] Related technologies only support manual selection or interrupting the target silk screen according to a specified shape, and multiple selections are required. When there are many silk screens to be cut, manual segment-by-segment operation is inefficient, and there are also cases of omission, accidental deletion, and damage to non-overlapping silk screens, which urgently needs to be improved. Summary of the Invention

[0004] The present invention provides a method, device, electronic device and storage medium for removing overlapping silk screen printing, so as to at least solve the technical problems in the related technology that a large number of manual operations are required, the operation efficiency is low, and the non-overlapping silk screen printing is prone to omission, accidental deletion and damage, which is not conducive to promotion and application.

[0005] The present invention provides a method for removing overlapping silk screens, comprising: obtaining a silk screen removal task, and determining at least one retained object and at least one to-be-removed object of a target printed circuit board based on the silk screen removal task; extracting a first vector outline of the at least one retained object and a second vector outline of the at least one to-be-removed object; calculating an overlapping area of ​​the first vector outline and the second vector outline, and marking a portion of the second vector outline located in the overlapping area as an object to be processed; matching a corresponding processing action based on the silk screen type of each object to be removed to process the object to be processed, obtaining a processing result, and performing graphic reconstruction of the target printed circuit board based on the processing result to obtain an actual printed circuit board that meets preset design conditions.

[0006] The present invention also provides a device for removing overlapping silk screens, comprising: an acquisition module for obtaining a silk screen removal task, and determining at least one retained object and at least one object to be removed of a target printed circuit board based on the silk screen removal task; an extraction module for extracting a first vector outline of at least one retained object and a second vector outline of at least one object to be removed; a marking module for calculating an overlapping area of ​​the first vector outline and the second vector outline, and marking the portion of the second vector outline located in the overlapping area as an object to be processed; a removal module for matching corresponding processing actions based on the silk screen type of each object to be removed to process the object to be processed, obtain a processing result, and perform graphic reconstruction of the target printed circuit board based on the processing result to obtain an actual printed circuit board that meets preset design conditions.

[0007] The present invention also provides an electronic device, comprising: a memory for storing a computer program; and a processor for implementing the steps of any one of the above methods for clearing overlapping silk screens when executing the computer program.

[0008] The present invention also provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the steps of any one of the above methods for clearing overlapping silk screens are implemented.

[0009] The present invention also provides a computer program product, comprising a computer program, which implements the steps of any of the above methods for clearing overlapping silk screens when executed by a processor.

[0010] Through the present invention, the retained objects and the objects to be cleared of the target printed circuit board can be determined according to the silk screen clearing task, and the overlapping area can be determined based on the first vector outline of the retained object and the second vector outline of the object to be cleared, and the object to be processed can be marked, and then the silk screen clearing in the object to be processed is completed with the corresponding processing action according to the silk screen type of the object to be cleared, and the graphics of the target printed circuit board are reconstructed after clearing to obtain an actual printed circuit board that meets the design requirements. The technical problems in the related technology that more manual operations are required, the operating efficiency is low, and the non-overlapping part of the silk screen is easily missed, deleted by mistake, and damaged, which is not conducive to promotion and application, are solved, and the technical effects of batch processing to improve operating efficiency, reduce the probability of mistaken deletion and omission, and effectively ensure the quality of the printed circuit board are achieved. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] In order to more clearly illustrate the embodiments of the present invention, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0012] Figure 1 A flowchart of a method for removing overlapping silk screens provided by an embodiment of the present invention; Figure 2 A flowchart of a method for removing overlapping silk screens provided by one embodiment of the present invention; Figure 3 A schematic structural diagram of a device for removing overlapping silk screens provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0013] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making any creative efforts shall fall within the scope of protection of the present invention.

[0014] It should be noted that, in the description of the present invention, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. The terms "first," "second," etc., in the present invention are used to distinguish similar objects, and are not used to describe a particular order or precedence.

[0015] In order to enable those skilled in the art to better understand the solutions of the present invention, the present invention is further described in detail below with reference to the accompanying drawings and specific implementation methods.

[0016] As you can understand, a printed circuit board (PCB) is a flat electronic component supported by an insulating substrate and electrically connected using metal conductors (copper foil). It is used to secure electronic components and connect circuits. It is a key component of electronic products and is widely used in computers, communications, consumer electronics, and other fields.

[0017] Cadence Allegro PCB Designer is a professional-grade printed circuit board design tool. With powerful physical and electrical rule-driven functionality, the software allows precise filtering and selection of different design objects using the Find bar for operations such as moving, editing, and viewing properties, enabling precise control of layout and routing.

[0018] Packaging is a critical step in electronic design, from chip to system-level applications. It is the physical layout and connection method of electronic components on the PCB, including structures such as pads, silk screen, and solder mask. The silk screen layer is usually used to identify the outline of the component, pin number, and polarity identification. Silk screen is an important basis for component layout.

[0019] To ensure the tolerance for manufacturing and assembly and the readability of the markings, the silk screen is usually 0-1mm larger than the physical outline of the component. To ensure sufficient operating space, the silk screen of connector packages is generally 2-3mm larger than the physical outline.

[0020] To ensure the manufacturability of printed circuit boards, silk screen printing has the following design principles: the silk screen must maintain a safe distance (≥0.2mm) from the pad and non-solder mask vias to prevent ink from contaminating the soldering surface; silk screen printing is not recommended within a range of ≥1.0mm around the plug-in hole (THD) to avoid scratching the ink during plug-in; silk screens in the PCB cannot overlap to prevent design rule check errors; silk screen printing cannot press on high-speed lines to prevent the impedance value of the high-speed line from being changed by silk screen printing, causing discontinuity in the high-speed line impedance and affecting signal integrity.

[0021] For high-density printed circuit boards, the trade-off between design margin and space efficiency often leads to a compromise in design margin, which inevitably results in overlapping screen printing. To improve board utilization, a V-cut panelization method can be used. This method closely connects the individual boards, and any screen printing protruding from one board can overlap adjacent boards, interfering with the pads, screen printing, and other parts of the adjacent boards, affecting the manufacturability of the printed circuit board.

[0022] In order to solve the above problems, the embodiment of the present invention provides a method for removing overlapping silk screens, such as Figure 1 As shown, the method for removing overlapping silk screen includes the following steps: In step S101, a silk screen cleaning task is acquired, and at least one retained object and at least one to-be-cleaned object of a target printed circuit board are determined based on the silk screen cleaning task.

[0023] Among them, the reserved objects refer to the objects that cannot be covered by silk screen in the printed circuit board design specifications. The reserved objects are diverse, including all object types that can be operated in printed circuit board drawing, including non-solder mask vias (VIA), pads (PIN), high-speed lines (cline), important silk screen lines (line), important silk screen characters (text), components (symbol), graphic fills (shape), text (text), etc.

[0024] The objects to be cleared are silk screen lines and silk screen fills. The single object to be cleared avoids accidental deletion of other objects.

[0025] According to the silk screen clearing task, the retaining objects and clearing objects selected by the user during the operation are obtained.

[0026] Among them, users can click on a single retained object (such as a pin), or select multiple retained objects (which can be a collection of a single object, such as a group of component position numbers, or a combination of multiple objects, such as a combination of VIA, pin, cline, etc.), or select retained objects by object type (such as all vias), and the system will highlight the outline of the selected retained object in real time; users can also select objects to be cleared (silk screen lines or silk screen shapes); objects to be cleared can be selected by clicking on a single object to be cleared (such as a single silk screen line), or by selecting multiple objects to be cleared (such as multiple silk screen lines), or by selecting retained objects by object type (such as all silk screen shapes); the outline of the selected object to be cleared is highlighted in real time.

[0027] In the embodiment of the present invention, the user can single-select or box-select multiple retained objects and multiple objects to be cleared, thereby achieving batch clearing of silk screens, reducing operation frequency, and improving clearing efficiency.

[0028] In step S102 , a first vector outline of at least one retained object and a second vector outline of at least one to-be-cleared object are extracted.

[0029] Identify and extract the first vector outline of the union graphics of the selected retained objects, and identify and extract the second vector outline of the union graphics of the objects to be cleared, so as to subsequently determine the overlapping area and clear the overlapping silk screen.

[0030] Optionally, in one embodiment of the present invention, extracting the first vector outline of at least one retained object includes: obtaining the object type of each retained object; when the object type is a point object type, constructing a point vector outline of the retained object based on the pad center and a preset geometric safe area; when the object type is a line object type, constructing a first rectangular vector outline of the retained object based on the line width of the retained object and a preset line width safe area; when the object type is a surface object type, constructing a first polygonal vector outline of the retained object based on the boundary of the retained object.

[0031] In some embodiments, the type of retained object can be identified first, such as through objects such as pads, vias, high-speed signal lines, power traces, copper fills, and key attributes such as center coordinates, path point sequences, line width values, geometric shapes, boundary point lists, and internal voids. According to the design rules of the printed circuit board, the minimum silk screen avoidance distance is calculated as a preset geometric safety zone, and the dynamic safety distance is calculated as a preset line width safety zone.

[0032] For example, for a point-shaped object, the embodiment of the present invention can generate a safety zone polygon with an outward expansion of 0.2 mm using the pad center + geometric shape parameters.

[0033] For a linear object, the embodiment of the present invention can expand it into a rectangular outline according to the line width.

[0034] For planar objects, embodiments of the present invention can directly extract boundary polygons.

[0035] On the basis of complying with the design principles, the embodiment of the present invention can perform effective contour recognition, thereby ensuring the quality of the printed circuit board after the silk screen is removed.

[0036] Optionally, in one embodiment of the present invention, extracting a second vector outline of at least one object to be cleared includes: obtaining the silk screen type of each object to be cleared; when the silk screen type is a silk screen line type, constructing a second rectangular vector outline of the object to be cleared based on the graphics of the object to be cleared; when the silk screen type is a silk screen fill type, constructing a second polygonal vector outline of the object to be cleared based on the boundary of the object to be cleared.

[0037] In other embodiments, the silk screen type of the object to be cleared can be identified, such as through key attributes such as component outlines, identification lines, component entity fills, text backgrounds, start / end point coordinates, line width values, boundary point sequences, internal voids, etc., to determine the corresponding vector outline.

[0038] For example, for the silk-screen line type, an embodiment of the present invention can merge segmented rectangles into polygons, retain the original path direction, and obtain a second rectangular vector outline; for the silk-screen fill type, an embodiment of the present invention can perform vertex simplification, curve discretization, self-intersection correction, etc. to construct the boundary of the object to be cleared, and then obtain a second polygonal vector outline.

[0039] The embodiments of the present invention can geometricize the silk screen printing and improve the reliability of silk screen printing removal.

[0040] In step S103 , the overlapping area of ​​the first vector outline and the second vector outline is calculated, and the portion of the second vector outline located in the overlapping area is marked as an object to be processed.

[0041] As a possible implementation method, an embodiment of the present invention can traverse the vector outline of the selected object to be cleared, calculate its intersection with the vector outline of the retained object, and mark the part belonging to the second vector outline in the overlapping area as the object to be cleared, so that when clearing, only the overlapping part of the overlapping objects to be cleared is cleared.

[0042] In step S104, a corresponding processing action is matched based on the silk screen type of each object to be cleared to process the object to be processed, obtain a processing result, and based on the processing result, the graphics of the target printed circuit board are reconstructed to obtain an actual printed circuit board that meets the preset design conditions.

[0043] Furthermore, embodiments of the present invention can perform a "graphic-level clearing" (non-line cutting) operation on the overlapping areas on the graphic vector outlines of the objects to be cleared, completely retaining the retained objects and automatically retaining the non-overlapping parts of the objects to be cleared. After clearing, the target printed circuit board is graphically reconstructed so that the actual printed circuit board obtained can meet the design standards to ensure the quality of the actual printed circuit board.

[0044] Optionally, in one embodiment of the present invention, corresponding processing actions are matched based on the silk screen type of each object to be cleared to process the object to be processed, including: when the silk screen type is a silk screen line type, subtracting the overlapping area from the object to be cleared; when the silk screen type is a silk screen fill type, creating a blank window in the overlapping area to generate a negative image in the overlapping area, and processing the overlapping pixels based on the negative image.

[0045] In the embodiment of the present invention, when the silk screen type is a silk screen line type, the silk screen in the overlapping area can be removed to perform geometric difference without residue removal, and the retained objects in the overlapping area can be retained.

[0046] In the embodiment of the present invention, when the silk screen printing type is a silk screen filling type, the embodiment of the present invention can generate a negative image in the overlapping area, generate a clearing template through negative thinking, and then process the object to be processed to achieve the clearing of overlapping silk screens.

[0047] The embodiments of the present invention can reduce the cleaning of residual debris and improve processing efficiency.

[0048] Optionally, in one embodiment of the present invention, a blank window is created in the overlapping area to generate a negative image in the overlapping area, and the overlapping pixels are processed based on the negative image, including: under the negative image, calculating the difference between the object to be cleared of the silk screen fill type and the corresponding overlapping area; obtaining the number of sub-regions in the difference to obtain multiple connected domains; filtering all micro-fragments that meet the preset area conditions based on the multiple connected domains, and merging adjacent connected domains after filtering to obtain an optimized domain, so as to reconstruct the overlapping area using the optimized domain.

[0049] During actual execution, embodiments of the present invention may first verify the overlapping portion of the objects to be processed, such as determining whether the overlapping area belongs to the object to be cleared.

[0050] After verification, embodiments of the present invention can perform corresponding geometric operations, subtracting the overlapping areas from the original fill to generate a preliminary processing result. The number of subregions generated in the preliminary processing result is detected to construct a connected domain, and the area of ​​each connected domain is obtained. Areas smaller than a certain area are classified as micro-fragments. After filtering out the micro-fragments, embodiments of the present invention can merge adjacent regions to obtain an optimized domain, which is then used to reconstruct the overlapping areas.

[0051] The embodiment of the present invention can effectively identify the silk screen in the overlapping area and remove the silk screen in the overlapping area, thereby ensuring the quality of the actual circuit printed board.

[0052] Optionally, in one embodiment of the present invention, after calculating the overlapping area of ​​the first vector contour and the second vector contour, it also includes: judging the overlapping mode between the first vector contour and the second vector contour based on the overlapping area; when the overlapping mode is complete overlap, completely clearing the corresponding object to be cleared; when the overlapping mode is partial overlap, clearing the object to be cleared corresponding to the overlapping area.

[0053] In some embodiments, corresponding processing may be performed based on the spatial inclusion relationship (overlapping manner) between the retained objects and the objects to be cleared.

[0054] For example, when the spatial containment relationship is completely overlapping, the object to be cleared can be completely cleared; when the spatial containment relationship is partially overlapping, only the part overlapping with the retained object can be cleared; when the spatial containment relationship is tangential contact, the embodiment of the present invention can ignore the object to be cleared, or expand the vector outline of the retained object by a certain distance, and then clear the object to be cleared in the expanded area.

[0055] The embodiment of the present invention can achieve complete consistency between clearing boundaries and retaining object contours, avoid line incompleteness caused by traditional cutting, and avoid accidental deletion of non-overlapping areas.

[0056] Optionally, in one embodiment of the present invention, the graphics of the target printed circuit board are reconstructed based on the processing results, including: clearing at least one object to be cleared based on the processing results; writing at least one new silk screen that matches the at least one object to be cleared, and inheriting the attributes of the at least one object to be cleared to the corresponding new silk screen to reconstruct the target printed circuit board.

[0057] Furthermore, the embodiment of the present invention can clear the silk screen in the overlapping area and, on this basis, plan a new silk screen position. For the reconstruction of line segment objects, the embodiment of the present invention can convert polygons into line segments and perform continuity optimization to smooth the lines. For the reconstruction of filled objects, the embodiment of the present invention can sort the fixed points in a certain order and fill within the boundary to obtain a new silk screen.

[0058] For the new silk screen, the embodiment of the present invention can inherit the silk screen attributes, labels and other contents corresponding to the object to be cleared into the new silk screen to rebuild the target printed circuit board, thereby optimizing the printed circuit board with a higher level of intelligence and automation.

[0059] Optionally, in one embodiment of the present invention, it also includes: extracting a new vector outline of at least one retained object in the actual printed circuit board; judging whether each new vector outline meets a preset overlapping condition; if there is no new vector outline that meets the preset overlapping condition, outputting the actual printed circuit board; otherwise, marking the new vector outline that meets the preset overlapping condition, and generating a corresponding clearing abnormality reminder.

[0060] During actual execution, the embodiment of the present invention can extract the vector outline of the retained object corresponding to the silk screen removal task in the actual printed circuit board, and determine whether the vector outline overlaps with other patterns or whether the vector outline overlaps with the incompletely removed object to be removed.

[0061] If there is no overlap, it is determined that the actual printed circuit board has completed the overlapping silk screen clearing. If there is overlap, a corresponding clearing abnormality reminder is generated, and the overlapping area is highlighted to remind the user that there is still an overlapping area and a second clearing is required.

[0062] The embodiment of the present invention can verify the printed circuit board after each cleaning to ensure the cleaning effect.

[0063] Optionally, in one embodiment of the present invention, after extracting a new vector outline of at least one retained object from an actual printed circuit board, it also includes: judging whether each new vector outline meets a preset integrity condition based on the first vector outline; if the preset integrity condition is met, generating a clearing completion reminder, otherwise, locating the erroneously deleted area, and completing the erroneously deleted area based on the first vector outline and at least one retained object until the preset integrity condition is met.

[0064] During the actual execution process, the embodiment of the present invention can determine the completed outline of the retained object based on the first vector outline, and then confirm whether there is a difference between the new vector outline and the first vector outline after the clearing is completed. If there is no difference, it can be confirmed that this clearing only cleared the object to be cleared. If there is a difference, it can be confirmed that this clearing cleared not only the object to be cleared, but also part of the retained object. At this time, the missing part of the retained object needs to be completed.

[0065] By verifying the shape of the new vector outline, the embodiment of the present invention can further ensure the accuracy of the cleaning and avoid affecting the quality of the printed circuit board due to cleaning errors.

[0066] Combine Figure 2 As shown, the working principle of the method for removing overlapping silk screens according to an embodiment of the present invention is described in detail with an embodiment.

[0067] like Figure 2 As shown, the embodiment of the present invention includes the following steps: Step S201: Select objects to retain. Click a single retained object (e.g., a pin), select multiple retained objects (this can be a collection of a single type of object, such as a group of component designators, or a combination of multiple objects, such as vias, pins, and clines), or select retained objects by object type (e.g., all vias). The system highlights the outline of the selected retained object in real time.

[0068] Step S202: Identify and extract the graphic vector outline of the retained object.

[0069] Step S203: Select the first object to be cleared (silk screen line or shape). You can click on a single object to be cleared (e.g., a single silk screen line), select multiple objects to be cleared (e.g., multiple silk screen lines), or select objects to be kept by object type (e.g., all silk screen shapes). The outline of the selected object to be cleared is highlighted in real time.

[0070] Step S204: Identify and extract the vector outline of the object union graph to be cleared.

[0071] Step S205: Generate the object to be processed. Soft traverse the vector outline of the selected object to be cleared, calculate its intersection with the vector outline of the retained object, and mark the area on the vector outline of the object to be cleared that overlaps with the vector outline of the retained object as the object to be processed.

[0072] Step S206: Clear the objects to be processed. Perform a "graphic level deletion" (non-line cutting) operation on the overlapping areas of the graphic vector outlines of the objects to be cleared, completely retaining the remaining objects and automatically retaining the non-overlapping parts of the objects to be cleared.

[0073] Step S207, select the next object to be cleared; execute steps S204-S206.

[0074] Step S208, determining whether the processing of all objects to be cleared is completed, if completed, proceeding to step S209, otherwise, returning to step S207.

[0075] Step S209, ending the command. The overlapping silk screens on the object to be cleared and the retained object are cleared according to the graphic outline of the retained object.

[0076] In summary, the embodiments of the present invention can incorporate retained objects into the silkscreen removal process and incorporate graphic recognition capabilities, generating removal strategies based on "graphic semantics" rather than traditional line-level operations. The software identifies overlapping areas and ensures that the removal boundary perfectly aligns with the retained object outline, avoiding the incomplete lines caused by traditional cutting and the accidental deletion of non-overlapping areas. The diversity of retained objects and their single-click selection, box selection, and type-based filtering operations enable batch recognition and removal, improving operational efficiency.

[0077] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method.

[0078] like Figure 3 As shown, an embodiment of the present invention further provides a device 10 for removing overlapping silk screen printing, comprising: an acquisition module 100 , a first extraction module 200 , a first marking module 300 and a first removal module 400 .

[0079] Specifically, the acquisition module 100 is configured to acquire a silk screen removal task, and determine at least one retained object and at least one to-be-removed object of a target printed circuit board based on the silk screen removal task.

[0080] The first extraction module 200 is configured to extract a first vector outline of at least one retained object and a second vector outline of at least one to-be-cleared object.

[0081] The first marking module 300 is configured to calculate an overlapping area between the first vector outline and the second vector outline, and mark a portion of the second vector outline located in the overlapping area as an object to be processed.

[0082] The first clearing module 400 is used to match the corresponding processing action based on the silk screen type of each object to be cleared to process the object to be processed, obtain a processing result, and reconstruct the graphics of the target printed circuit board based on the processing result to obtain an actual printed circuit board that meets the preset design conditions.

[0083] Optionally, in one embodiment of the present invention, the first extraction module 200 includes: a first acquisition unit, a first construction unit, a second construction unit and a third construction unit.

[0084] The first acquiring unit is configured to acquire the object type of each retained object.

[0085] The first construction unit is configured to construct a point vector outline of the retained object based on the pad center and a preset geometric safety zone when the object type is a point object type.

[0086] The second construction unit is configured to construct a first rectangular vector outline of the reserved object based on a line width of the reserved object and a preset line width safety zone when the object type is a linear object type.

[0087] The third construction unit is configured to construct a first polygonal vector outline of the retained object based on a boundary of the retained object when the object type is a planar object type.

[0088] Optionally, in one embodiment of the present invention, the extraction module 200 includes: a second acquisition unit, a fourth construction unit and a fifth construction unit.

[0089] The second acquiring unit is used to acquire the silk screen type of each object to be cleared.

[0090] The fourth constructing unit is configured to construct a second rectangular vector outline of the object to be cleared based on the graphic of the object to be cleared when the silk screen printing type is a silk screen line type.

[0091] The fifth constructing unit is configured to construct a second polygonal vector outline of the object to be cleared based on a boundary of the object to be cleared when the silk screen printing type is a silk screen filling type.

[0092] Optionally, in one embodiment of the present invention, the first clearing module 400 includes: a first clearing unit and a second clearing unit.

[0093] The first clearing unit is configured to subtract the overlapping area from the object to be cleared when the silk screen type is a silk screen line type.

[0094] The second clearing unit is used to create a blank window in the overlapping area when the silk screen type is a silk screen filling type, so as to generate a negative image in the overlapping area and process the overlapping pixels based on the negative image.

[0095] Optionally, in one embodiment of the present invention, the second clearing unit includes: a calculation unit, a third acquisition unit and a filtering unit.

[0096] The calculation unit is used to calculate the difference between the object to be cleared of the silk screen filling type and the corresponding overlapping area under the negative image.

[0097] The third obtaining unit is used to obtain the number of sub-regions in the difference set to obtain multiple connected domains.

[0098] The filtering unit is used to filter all micro-fragments that meet the preset area conditions based on multiple connected domains, and merge adjacent connected domains after filtering to obtain an optimized domain, so as to reconstruct the overlapping area using the optimized domain.

[0099] Optionally, in one embodiment of the present invention, the device 10 for removing overlapping silk screen printing further includes: a second judgment module, a second removal module and a third removal module.

[0100] The second judgment module is configured to judge the overlapping manner between the first vector outline and the second vector outline based on the overlapping area.

[0101] The second clearing module is configured to completely clear the corresponding object to be cleared when the overlapping mode is complete overlap.

[0102] The third clearing module is configured to clear the objects to be cleared corresponding to the overlapping area when the overlapping mode is partial overlap.

[0103] Optionally, in one embodiment of the present invention, the first clearing module 400 includes: a clearing unit and an inheritance unit.

[0104] The clearing unit is configured to clear at least one object to be cleared based on the processing result.

[0105] The inheritance unit is used to write at least one new silk screen that matches at least one object to be cleared, and inherit the attributes of the at least one object to be cleared into the corresponding new silk screen to rebuild the target printed circuit board.

[0106] Optionally, in one embodiment of the present invention, the device 10 for removing overlapping silk screens further comprises: The second extraction module is used to extract a new vector outline of at least one retained object in the actual printed circuit board.

[0107] The third judgment module is used to judge whether each new vector contour meets the preset overlapping condition.

[0108] The output module is used to output the actual printed circuit board when there is no new vector outline that meets the preset overlapping condition; otherwise, it marks the new vector outline that meets the preset overlapping condition and generates a corresponding clearing abnormality reminder.

[0109] Optionally, in one embodiment of the present invention, the device 10 for removing overlapping silk screen printing further includes: a fourth judgment module and a completion module.

[0110] The fourth judgment module is configured to judge whether each new vector outline meets a preset integrity condition based on the first vector outline.

[0111] The completion module is used to generate a clearing completion reminder when a preset integrity condition is met, otherwise, locate the mistakenly deleted area, and complete the mistakenly deleted area based on the first vector outline and at least one retained object until the preset integrity condition is met.

[0112] For the description of the features in the embodiment corresponding to the device for removing overlapping silk screen printing, reference can be made to the relevant description of the embodiment corresponding to the method for removing overlapping silk screen printing, which will not be repeated here.

[0113] An embodiment of the present invention further provides an electronic device including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any of the above-mentioned embodiments of the method for clearing overlapping silk screens.

[0114] An embodiment of the present invention further provides a computer-readable storage medium storing a computer program, wherein the computer program is configured to execute the steps of any of the above-mentioned methods for clearing overlapping silk screens when running.

[0115] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.

[0116] An embodiment of the present invention further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps of any of the above-mentioned methods for clearing overlapping silk screens are implemented.

[0117] An embodiment of the present invention also provides another computer program product, including a non-volatile computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the steps of any of the above-mentioned method embodiments for clearing overlapping silk screens.

[0118] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present invention.

[0119] The above is a detailed introduction to the method, device, electronic device and storage medium for removing overlapping silk screens provided by the present invention. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only intended to help understand the method and core ideas of the present invention. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present invention, the present invention can also be improved and modified in a number of ways, and these improvements and modifications also fall within the scope of protection of the claims of the present invention.

Claims

1. A method for removing overlapping silk screen printing, characterized in that: include: Acquire a silk screen removal task, and determine at least one retained object and at least one to-be-removed object of a target printed circuit board based on the silk screen removal task; extracting a first vector outline of at least one of the retained objects and a second vector outline of at least one of the objects to be removed; Calculating an overlapping area between the first vector outline and the second vector outline, and marking a portion of the second vector outline located in the overlapping area as an object to be processed; Based on the silk screen type of each object to be cleared, a corresponding processing action is matched to process the object to be processed, obtain a processing result, and based on the processing result, the graphic of the target printed circuit board is reconstructed to obtain an actual printed circuit board that meets the preset design conditions.

2. The method for removing overlapping screen printing according to claim 1, characterized in that: The extracting a first vector outline of at least one of the retained objects comprises: Get the object type of each of the retained objects; In the case where the object type is a point object type, constructing a point vector outline of the retained object based on the center of the pad or non-solder mask via and a preset geometric safety zone; In a case where the object type is a linear object type, constructing a first rectangular vector outline of the reserved object based on the line width of the reserved object and a preset line width safety zone; In a case where the object type is a planar object type, a first polygonal vector outline of the retained object is constructed based on a boundary of the retained object.

3. The method for removing overlapping screen printing according to claim 1, characterized in that: The extracting of a second vector outline of at least one of the objects to be cleared comprises: Obtain the silk screen type of each object to be cleared; In a case where the silk screen type is a silk screen line type, constructing a second rectangular vector outline of the object to be cleared based on the graphic of the object to be cleared; In a case where the silk screen type is a silk screen filling type, a second polygonal vector outline of the object to be cleared is constructed based on the boundary of the object to be cleared.

4. The method for removing overlapping screen printing according to claim 3, characterized in that: The matching of corresponding processing actions based on the silk screen type of each object to be cleared to process the object to be processed includes: In a case where the silk screen type is the silk screen line type, subtracting the overlapping area from the object to be cleared; In a case where the silk-screen type is the silk-screen fill type, a blank window is created in the overlapping area to generate a negative image in the overlapping area, and overlapping pixels are processed based on the negative image.

5. The method for removing overlapping screen printing according to claim 4, characterized in that: The step of creating a blank window in the overlapping area to generate a negative image in the overlapping area, and processing overlapping pixels based on the negative image, comprises: Under the negative image, calculating the difference between the to-be-cleared object of the silk-screen fill type and the corresponding overlapping area; Obtaining the number of subregions in the difference set to obtain multiple connected domains; All micro-fragments meeting a preset area condition are filtered based on the multiple connected domains, and adjacent connected domains are merged after filtering to obtain an optimized domain, so as to reconstruct the overlapping area using the optimized domain.

6. The method for removing overlapping screen printing according to claim 1, characterized in that: After calculating the overlapping area of ​​the first vector outline and the second vector outline, the method further includes: determining, based on the overlapping area, an overlapping manner between the first vector outline and the second vector outline; When the overlapping mode is complete overlapping, the corresponding object to be cleared is completely cleared; In the case where the overlapping manner is partial overlap, the objects to be cleared corresponding to the overlapping area are cleared.

7. The method for removing overlapping screen printing according to claim 1, characterized in that: The graphic reconstruction of the target printed circuit board based on the processing result includes: Based on the processing result, clearing at least one of the objects to be cleared; At least one new silk screen that matches at least one of the objects to be cleared is written, and attributes of at least one of the objects to be cleared are inherited to the corresponding new silk screen to rebuild the target printed circuit board.

8. The method for removing overlapping silk screen printing according to claim 1, characterized in that: Also includes: extracting a new vector outline of at least one of the retained objects from the actual printed circuit board; Determining whether each of the new vector contours satisfies a preset overlapping condition; If there is no new vector outline that meets the preset overlapping condition, the actual printed circuit board is output; otherwise, the new vector outline that meets the preset overlapping condition is marked, and a corresponding clearing abnormality reminder is generated.

9. The method for removing overlapping screen printing according to claim 8, characterized in that: After extracting a new vector outline of at least one of the reserved objects from the actual printed circuit board, the method further includes: Determining whether each of the new vector profiles meets a preset integrity condition based on the first vector profile; If the preset integrity condition is met, a clearing completion reminder is generated; otherwise, the mistakenly deleted area is located, and the mistakenly deleted area is completed based on the first vector outline and at least one of the retained objects until the preset integrity condition is met.

10. An electronic device, characterized in that: include: memory for storing computer programs; A processor, configured to implement the steps of the method for clearing overlapping silk screens as claimed in any one of claims 1 to 9 when executing the computer program.

Citation Information

Patent Citations

  • Jet printing data generation method and system, electronic equipment and storage medium

    CN113242649A

  • Method and system for checking overlapping of silk-screen texts, storage medium and equipment

    CN113642287A

  • PCB screen printing configuration method and device and computer equipment

    CN119767547A

  • Circuit board ink screen printing method based on accurate positioning and positioning device

    CN120152169A

  • Silk-screen pattern dislocation identification and processing method for injection molding product

    CN120431014A