An optimization method for industrial graphics computer-aided manufacturing filleting
By automatically identifying and optimizing sharp corners in PCB design data using the vector cross product sign method, and using positive and negative polarity graphic elements for copper surface rounding, the problem of low efficiency and reliance on experience in existing technologies for manual processing is solved, achieving efficient and accurate copper surface rounding optimization.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- YUEPU SOFTWARE (SHENZHEN) CO LTD
- Filing Date
- 2026-05-08
- Publication Date
- 2026-07-31
AI Technical Summary
In the current PCB manufacturing process, manually identifying and processing sharp corners in design data is inefficient, relies on personal experience, has poor consistency, lacks systematic rules, and has weak traceability, resulting in uneven etching and unstable electrical performance.
Potential manufacturing risks and sharp corners are automatically identified using the vector cross product sign method. Based on configurable process rules, positive and negative polarity graphic elements are used to optimize the rounding of copper surfaces, including polygon contouring, parameter analysis, and arc cover cutting, generating a detailed report.
It enables automatic, accurate, and efficient identification and optimization of sharp corners in PCB design data, improving processing quality, efficiency, and standardization, and avoiding the shortcomings of manual processing.
Smart Images

Figure CN122491192A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the technical field of the PCB manufacturing industry, and in particular to an optimization method for rounded corners in industrial computer-aided manufacturing. Background Technology
[0002] In the field of computer-aided manufacturing (CAM) for printed circuit boards (PCBs), engineers need to convert design data (such as Gerber or ODB++ formats) into manufacturing data that meets the specific production process requirements. One of the key aspects of manufacturing designability (DFM) optimization is the "copper corner rounding" process.
[0003] This is primarily due to the characteristics of the chemical etching process in PCB manufacturing: when the etching solution acts on the copper foil, it can cause "over-etching" or "under-etching" of sharp inner corners (concave corners) or outer corners (convex corners) in the design. Specifically, at sharp corners, the etching rate is uneven, causing the copper surface corners of the actual manufactured circuit to fail to maintain the designed sharp shape, instead becoming rounded corners or producing notches and burrs. This can lead to impedance discontinuities, current concentration (affecting electrical performance and reliability), or interference with subsequently assembled components.
[0004] The current common practice in the industry is for CAM engineers to manually identify areas that need rounded corners in CAM software based on experience, and then make local corrections by adding positive (copper filling) or negative (copper removal) graphic elements (such as arcs). This method has significant problems:
[0005] 1. Inefficient and error-prone: For complex high-density PCB designs containing thousands of corners, manual inspection and processing of each one is extremely time-consuming and prone to omissions or misjudgments.
[0006] 2. Poor consistency: The processing results heavily depend on the engineer's personal experience and skill level, making it difficult to guarantee the standardization of processing results across different boards or by different engineers.
[0007] 3. Lack of systematic rules: Manual operation makes it difficult to accurately implement a complete set of rounded corner rules. For example, it is not convenient to set the angle threshold to be ignored globally, to differentiate the processing of different element types (such as trace, pad, copper surface), and to automatically ensure that the added compensation graphics do not short-circuit or open-circuit with other adjacent graphics.
[0008] 4. Weak traceability: After manual modification, it is difficult to automatically generate detailed modification reports that record the location, reason and method of each modification, which is not conducive to quality review and process review. Summary of the Invention
[0009] The main technical problem solved by this invention is to provide a method that can automatically, accurately, and efficiently identify potential manufacturing risk sharp corners in PCB design data and automatically optimize the rounding of copper surfaces according to configurable process rules, so as to replace the traditional inefficient and unreliable manual operation and improve the quality, efficiency and standardization of CAM processing.
[0010] To solve the above-mentioned technical problems, one technical solution adopted by the present invention is: an optimization method for rounded corners in industrial computer-aided manufacturing, comprising the following steps:
[0011] S1: Obtain all objects to be processed and perform polygon contouring. Integrate all obtained polygon contours and analyze all internal and external angles to determine the direction of polygon rotation. Determine the internal and external angles based on the direction of rotation. Internal angles need to be shaved with negative polarity, and external angles need to be filled with positive polarity.
[0012] S2: Analyze the relationship between each object according to the preset parameters, and perform a second screening analysis on the inner and outer corners that need to be repaired obtained in S1 to determine whether a smoothing and repairing operation of sharp corners is required.
[0013] S3: Calculate the shape of the curved cover plate based on the results obtained in S1, analyze it in relation to surrounding objects, and cut and correct the curved cover plate;
[0014] S4: Output results and reports, accurately reporting the position and size of the added arc, and also outputting whether the radius and line width have been increased or decreased.
[0015] In a preferred embodiment of the present invention, the method for determining interior and exterior angles in S1 uses the vector cross product sign method: such as point For example,
[0016] Constructing vectors ;
[0017] Then calculate the cross product. If the cross product is greater than 0, it is a convex angle, which is determined to be an interior angle and requires a trimming operation.
[0018] If the cross product is less than 0, it is a concave angle, which is determined to be an external angle and requires additional operation.
[0019] In a preferred embodiment of the present invention, the preset parameters in S2 include: the angle of the sharp corner to be ignored, the radius of the repair arc, and the object that does not need to be repaired.
[0020] In a preferred embodiment of the present invention, if the parameters obtained in S2 are for objects that do not require repair, then there is no need to perform a trimming operation on the generated corners.
[0021] In a preferred embodiment of the present invention, in S3, when cutting and correcting the arc-shaped cover plate, the trimming operation requires adding an arc-shaped graphic with a positive or negative polarity and a line width. The calculation of the arc requires parameter information such as the center, radius, starting point, and line width. The starting point is determined by the two sides of the angle, the center is on the bisector of the angle, and the line width and radius are controlled by user parameters and the angle.
[0022] The beneficial effects of this invention are: This invention provides a method that can automatically, accurately, and efficiently identify potential manufacturing risk sharp corners in PCB design data and automatically optimize copper surface rounding according to configurable process rules, thereby replacing traditional inefficient and unreliable manual operations and improving the quality, efficiency, and standardization of CAM processing. Attached Figure Description
[0023] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention:
[0024] Figure 1 This is a flowchart illustrating the optimization method for rounded corners in industrial computer-aided manufacturing based on the present invention.
[0025] Figure 2 A schematic diagram illustrating the order in which image contours are defined. Detailed Implementation
[0026] The technical solutions in the embodiments of the present invention will be clearly and completely described below. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0027] Please see Figure 1 This invention discloses an optimization method for rounding corners in industrial computer-aided manufacturing. This algorithm addresses the problem of not being able to produce sharp corners in actual production by adding positive and negative polarity Arc (an arc of a certain line width) or Surface (polygon) to round the sharp corners of the copper surface. Corners are generally composed of lines, pads, and surfaces (lines with width, polygons of various regular shapes, and polygons of various irregular shapes). Based on various requirements, this invention defines the following parameters:
[0028] 1. Angles that need to be ignored (greater than one value [0 - 360 degrees]);
[0029] 2. Repair the radius of the arc;
[0030] 3. Objects that do not require repair (trace, pad, surface, surface and pad, surface and trace, pad and line).
[0031] The optimization method for rounded corners in industrial computer-aided manufacturing based on graphics of the present invention includes the following steps:
[0032] S1: Obtain all objects to be processed and perform polygon contouring. Integrate all obtained polygon contours, analyze all interior and exterior angles to determine the polygon rotation direction, and determine the interior and exterior angles based on the rotation direction. Interior angles need to be clipped with negative polarity, and exterior angles need to be padded with positive polarity. The smoothness of defining the image contour is as follows... Figure 2 As shown;
[0033] The method for determining interior and exterior angles uses the cross product sign method: such as a point For example,
[0034] Constructing vectors ;
[0035] Then calculate the cross product. If the cross product is greater than 0, it is a convex angle, which is determined to be an interior angle and requires a trimming operation.
[0036] If the cross product is less than 0, it is a concave angle, which is determined to be an external angle and requires additional operation.
[0037] S2: Analyze the relationship between each object based on preset parameters, and perform a secondary screening analysis on the internal and external angles that need to be repaired obtained in S1 to determine whether a smoothing operation is needed for sharp corners. Based on the user-set parameters, the preset parameters include: the angle of sharp corners to be ignored, the radius of the repair arc, and objects that do not need to be repaired (including trace, pad, surface, surface and pad, surface and trace, pad and line). First, analyze which objects generated the angle. If the analysis results in objects that do not need to be repaired, such as angles generated by trace and pad, then no repair operation is needed for the generated angle.
[0038] S3: Calculate the shape of the arc-shaped cover plate based on the results obtained in S1. Analyze it in relation to surrounding objects, and cut and correct the arc-shaped cover plate. When cutting and correcting the arc-shaped cover plate, the trimming operation requires adding an arc-shaped graphic with a positive or negative polarity and a line width. The calculation of the arc requires parameter information such as the center, radius, starting point, and line width. The center and starting point are determined by the two sides of the angle, and the center lies on the angle bisector. The line width and radius are controlled by user parameters and the angle.
[0039] S4: Output results and reports, accurately reporting the position and size of the added arc, and also outputting whether the radius and line width have been increased or decreased.
[0040] In summary, this invention provides a method that can automatically, accurately, and efficiently identify potential manufacturing risk sharp corners in PCB design data and automatically optimize copper surface rounding according to configurable process rules, thereby replacing traditional inefficient and unreliable manual operations and improving the quality, efficiency, and standardization of CAM processing.
[0041] The above description is merely an embodiment of the present invention and does not limit the patent scope of the present invention. Any equivalent structural or procedural transformations made based on the content of the present invention specification, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of the present invention.
Claims
1. An optimization method for industrial graphics computer-aided manufacturing filleting, characterized in that, Includes the following steps: S1: Obtain all objects to be processed and perform polygon contouring. Integrate all obtained polygon contours and analyze all internal and external angles to determine the direction of polygon rotation. Determine the internal and external angles based on the direction of rotation. Internal angles need to be shaved with negative polarity, and external angles need to be filled with positive polarity. S2: Analyze the relationship between each object according to the preset parameters, and perform a second screening analysis on the inner and outer corners that need to be repaired obtained in S1 to determine whether a smoothing and repairing operation of sharp corners is required. S3: Calculate the shape of the curved cover plate based on the results obtained in S1, analyze it in relation to surrounding objects, and cut and correct the curved cover plate; S4: Output results and reports, accurately reporting the position and size of the added arc, and also outputting whether the radius and line width have been increased or decreased.
2. The optimization method for rounded corners in industrial graphic computer-aided manufacturing according to claim 1, characterized in that, In S1, the inside and outside angle method uses the vector cross product sign method: such as point For example, Constructing vectors ; Then calculate the cross product. If the cross product is greater than 0, it is a convex angle, which is determined to be an interior angle and requires a trimming operation. If the cross product is less than 0, it is a concave angle, which is determined to be an external angle and requires additional operation.
3. The optimization method for rounded corners in industrial graphic computer-aided manufacturing according to claim 1, characterized in that, The preset parameters in S2 include: the angle to ignore sharp corners, the radius of the repaired arc, and the objects that do not need to be repaired.
4. The optimization method for rounded corners in industrial graphic computer-aided manufacturing according to claim 3, characterized in that, If the parameters obtained from the analysis in S2 are for objects that do not need to be repaired, then there is no need to perform a trimming operation on the generated corners.
5. The optimization method for rounded corners in industrial graphic computer-aided manufacturing according to claim 4, characterized in that, In S3, when cutting and correcting an arc-shaped cover plate, the trimming operation requires adding an arc-shaped graphic with a positive or negative polarity and a line width. The calculation of the arc requires parameter information such as the center, radius, starting point, and line width. The center and starting point are determined by the two sides of the angle, and the center lies on the bisector of the angle. The line width and radius are controlled by user parameters and the angle.