PCB rotation method, device and equipment for PADS software and storage medium

By adding SO reset origin and cross mark in PADS software, generating and rotating structure sets, the problem of PCB board frame not being able to rotate 45 degrees was solved, realizing safe and efficient board frame rotation operation.

CN120850899APending Publication Date: 2025-10-28HIKEEN TECH SHENZHEN CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510975662.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-15
Publication Date
2025-10-28

AI Technical Summary

Technical Problem

When designing PCBs using PADS software, it is impossible to rotate components and board outlines by 45 degrees. Furthermore, using other software for rotation is unsafe and inefficient, failing to meet design requirements for cost savings or structural constraints.

Method used

By adding SO reset origin and cross mark to the PCB frame, the plane frame is determined, multiple structure sets are generated and rotated, and the rotation feature of PADS software is used to realize the overall rotation of the PCB frame and output the Gerber file.

Benefits of technology

It enables the entire PCB board frame to rotate 45 degrees, improving operational efficiency, ensuring that structural components are not lost, and making operation safe and fast.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120850899A_ABST
    Figure CN120850899A_ABST
Patent Text Reader

Abstract

The invention provides a PCB rotation method, device and equipment for PADS software and a storage medium, and the method comprises the steps: adding an SO reset original point and a cross mark to each structural member in a PCB frame, and determining a first plane frame according to the PCB frame and the cross mark; setting all the structural members as one or more structural sets, and determining a reference structural member corresponding to each structural set; generating a second surface plate frame according to the PCB plate frame, and rotating the second surface plate frame by a preset angle to obtain a third surface plate frame; rotating the first surface plate frame by a preset angle to obtain a fourth surface plate frame, and adjusting the fourth surface plate frame to coincide with the third surface plate frame to obtain a fifth surface plate frame; determining a rotation coordinate origin according to the SO coincidence origin of the reference structural member, and rotating the structure set by a preset angle according to the rotation coordinate origin to obtain a rotated structure set; and outputting a Gerber file according to the rotated structure set and the fifth plane plate frame.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of PCB technology, and in particular to a PCB rotation method, apparatus, device and storage medium for PADS software. Background Technology

[0002] Currently, when designing PCBs using PADS software, it is impossible to rotate components and traces by 45 degrees without using other software, nor can the board frame be rotated by 45 degrees. Furthermore, it cannot be guaranteed that after using other software to rotate the board by 45 degrees, the rotation will be effective, safe, and fast. In some designs, such as those aimed at saving costs, or due to structural limitations or chip-related reasons, a 45-degree rotation is necessary. Summary of the Invention

[0003] This application provides a PCB rotation method, apparatus, device, and storage medium for PADS software, used to rotate the entire PCB board frame by a preset angle.

[0004] In a first aspect, embodiments of this application provide a PCB rotation method for PADS software, the method comprising: Add SO reset origin and cross mark to each structural component in the PCB board frame respectively, and determine the first planar board frame according to the PCB board frame and the cross mark; All the structural components are set as one or more structural sets, and a reference structural component is determined for each structural set; A second planar board frame is generated based on the PCB board frame, and the second planar board frame is rotated by a preset angle to obtain a third planar board frame; The first planar frame is rotated by the preset angle to obtain the fourth planar frame, and the fourth planar frame is adjusted to coincide with the third planar frame to obtain the fifth planar frame; The origin of the rotation coordinate is determined based on the SO coincident origin of the reference structural component. The structural assembly is rotated by the preset angle based on the origin of the rotation coordinate to obtain the rotated structural assembly. Gerber files are output based on the rotated structure set and the fifth planar plate frame.

[0005] Secondly, embodiments of this application provide a PCB rotation device for PADS software. The PCB rotation device for PADS software is used to execute any of the PCB rotation methods for PADS software described in the embodiments of this application. The device includes: The calibration generation module is used to add SO reset origin and cross mark to each structural component in the PCB board frame, and determine the first planar board frame according to the PCB board frame and the cross mark. A structural combination module is used to set all the structural components into one or more structural sets, and to determine the reference structural component corresponding to each structural set; The board frame rotation module is used to generate a second planar board frame based on the PCB board frame, and rotate the second planar board frame by a preset angle to obtain a third planar board frame; The plate frame alignment module is used to rotate the first planar plate frame by the preset angle to obtain the fourth planar plate frame, and adjust the fourth planar plate frame to coincide with the third planar plate frame to obtain the fifth planar plate frame; The structural alignment module is used to determine the origin of rotation coordinates based on the SO coincident origin of the reference structural component, and rotate the structural assembly by the preset angle based on the origin of rotation coordinates to obtain the rotated structural assembly. The file generation module is used to output Gerber files based on the rotated structure set and the fifth planar plate frame.

[0006] Thirdly, embodiments of this application provide an electronic device, which includes a memory and a processor; The memory is used to store computer programs; The processor is configured to execute the computer program and, in executing the computer program, implement the PCB rotation method for PADS software as described in any of the embodiments of this application.

[0007] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, causes the processor to implement the PCB rotation method for PADS software as described in any of the embodiments of this application.

[0008] This application provides a PCB rotation method for PADS software. The method includes: adding an SO reset origin and a crosshair to each structural component within the PCB board frame; determining a first planar board frame based on the PCB board frame and the crosshair; setting all structural components as one or more structural sets and determining a reference structural component for each structural set; generating a second planar board frame based on the PCB board frame; rotating the second planar board frame by a preset angle to obtain a third planar board frame; rotating the first planar board frame by a preset angle to obtain a fourth planar board frame; adjusting the fourth planar board frame to coincide with the third planar board frame to obtain a fifth planar board frame; determining the origin of rotation coordinates based on the SO coincidence origin of the reference structural component; rotating the structural set by a preset angle based on the origin of rotation coordinates to obtain a rotated structural set; and outputting a Gerber file based on the rotated structural set and the fifth planar board frame. In this method, by calibrating the outer frame and structural components and utilizing the rotatable feature of the outer frame in PADS software, the structural components are rotated synchronously, thereby achieving a preset angle rotation of the entire PCB board frame, improving operational efficiency, and preventing the loss of structural components. Attached Figure Description

[0009] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0010] Figure 1 A schematic flowchart of a PCB rotation method for PADS software provided in an embodiment of this application; Figure 2 This is a schematic block diagram of a PCB rotation device for PADS software provided in an embodiment of this application. Detailed Implementation

[0011] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. 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.

[0012] The flowchart shown in the attached diagram is for illustrative purposes only and does not necessarily include all content and operations / steps, nor does it necessarily have to be performed in the order described. For example, some operations / steps can be broken down, combined, or partially merged, so the actual execution order may change depending on the actual situation.

[0013] It should also be understood that the terms used in this specification are for the purpose of describing specific embodiments only and are not intended to limit the present application. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms unless the context clearly indicates otherwise.

[0014] It should also be further understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0015] Please see Figure 1 , Figure 1 This is a schematic flowchart illustrating a PCB rotation method for PADS software provided in an embodiment of this application. Figure 1 As shown, the specific steps of the PCB rotation method for PADS software include: S101-S106.

[0016] S101. Add SO reset origin and cross mark to each structural component in the PCB board frame, and determine the first plane board frame according to the PCB board frame and cross mark.

[0017] For example, the PCB board outline includes: structural components, copper foil, copper-plated borders, and silkscreen printing, etc. Each structural component has an internal SO reset origin. By specifying a position through the SO reset origin, the PCB board outline and structural components can be positioned using the origin positioning method.

[0018] S102. Set all structural components as one or more structural sets, and determine the base structural component corresponding to each structural set.

[0019] For example, by setting a reference structural component and resetting the origin with the SO of the reference structural component, the overall rotation of the structural assembly is performed, which solves the problem that after a 45-degree rotation, the relative coordinates of the structural components all become the square root of 2, making it impossible to accurately calculate the relative coordinates of the structural components or important components.

[0020] S103. Generate a second planar board frame based on the PCB board frame, and rotate the second planar board frame by a preset angle to obtain a third planar board frame.

[0021] For example, the feature of PADS software that allows the rotation of planar graphics (planar frames and structural components) is utilized to obtain a reference frame (third planar frame) for alignment, without the need for external software such as AutoCAD.

[0022] Specifically, select the PCB board outline, copy the planar outline of the PCB board outline to obtain the second planar board outline, then delete the original planar outline, select the second planar board outline, right-click and select Properties, enter 45 or 135 / 225 / 315 in the Angle field, and then click OK to obtain the third planar board outline. Then delete the second planar board outline to obtain a 45-degree board outline.

[0023] S104. Rotate the first planar frame by a preset angle to obtain the fourth planar frame. Adjust the fourth planar frame to coincide with the third planar frame to obtain the fifth planar frame.

[0024] For example, the rotated fourth planar frame has crosshairs, enabling structural component alignment. The fifth planar frame is obtained by moving and aligning the fourth planar frame; specifically, the fourth planar frame is moved and aligned with the reference frame (the third planar frame).

[0025] S105. Determine the origin of the rotation coordinate system based on the SO coincident origin of the reference structural component. Rotate the structural assembly by a preset angle based on the origin of the rotation coordinate system to obtain the rotated structural assembly.

[0026] For example, select "Group", right-click "Properties", enter 0 / 0 for the X / Y coordinates of the SO coincident origin of the reference structural member, and enter a multiple of 45 degrees for the angle to obtain the rotated structural assembly.

[0027] S106. Output Gerber file based on the rotated structure set and the fifth plane plate frame.

[0028] For example, the Gerber file is output directly while the plate is rotated 45 degrees and sent to the plate washing plant for cleaning. This application provides a PCB rotation method for PADS software. The method includes: adding an SO reset origin and a crosshair to each structural component within the PCB board frame; determining a first planar board frame based on the PCB board frame and the crosshair; setting all structural components as one or more structural sets and determining a reference structural component for each structural set; generating a second planar board frame based on the PCB board frame; rotating the second planar board frame by a preset angle to obtain a third planar board frame; rotating the first planar board frame by a preset angle to obtain a fourth planar board frame; adjusting the fourth planar board frame to coincide with the third planar board frame to obtain a fifth planar board frame; determining the origin of rotation coordinates based on the SO coincidence origin of the reference structural component; rotating the structural set by a preset angle based on the origin of rotation coordinates to obtain a rotated structural set; and outputting a Gerber file based on the rotated structural set and the fifth planar board frame. In this method, by calibrating the outer frame and structural components and utilizing the rotatable feature of the outer frame in PADS software, the structural components are rotated synchronously, thereby achieving a preset angle rotation of the entire PCB board frame, improving operational efficiency, and preventing the loss of structural components.

[0029] To more clearly illustrate the technical solution of this application, the technical solution of this application will be described below through specific embodiments. It should be noted that the specific embodiments are used to expand the description of the technical solution of this application, and are not intended to limit this application.

[0030] In some embodiments, SO reset origin and cross mark are added to each structural component in the PCB board frame respectively, and the first planar board frame is determined according to the PCB board frame and the cross mark, including: S1011-S1014.

[0031] S1011. Copy the planar outline of the PCB board to obtain the copied outline.

[0032] S1012, Input SO to reset the origin for each structural component.

[0033] S1013. Add a cross mark at each SO reset origin, with the SO reset origin coinciding with the intersection of the cross mark.

[0034] S1014. Bind the cross mark and the copied outer frame to generate the first planar plate frame.

[0035] In some embodiments, the number of structural components included in the structural set is less than 500.

[0036] For example, note that the number of structural components in a structural set cannot exceed 500. Multiple structural sets can be created and positioned multiple times (other 2D lines, copper foil, copper-plated borders, silkscreen, etc. can also be rotated and positioned at 45 degrees for reuse).

[0037] In some embodiments, a second planar board frame is generated based on the PCB board frame, and the second planar board frame is rotated by a preset angle to obtain a third planar board frame, including: S1031-S1032.

[0038] S1031. Copy the planar outline of the PCB board to obtain the second planar board outline.

[0039] S1032. Rotate the second planar frame by a preset angle to obtain the third planar frame.

[0040] In some embodiments, after outputting the Gerber file based on the rotated structure set and the fifth plane plate frame, the method further includes: The rotated structure set is then rotated in the opposite direction by a preset angle to restore it to its original state.

[0041] Rotate the fifth plane frame in reverse by a preset angle to restore it to the fourth plane frame.

[0042] A steel mesh file is generated based on the SO coincident origin of the reference structural member, the structural assembly, and the fourth plane plate frame.

[0043] Please see Figure 2 , Figure 2 This is a schematic block diagram of a PCB rotation device for PADS software provided in an embodiment of this application. The PCB rotation device 200 for PADS software is used to execute the aforementioned PCB rotation method for PADS software. The PCB rotation device 200 for PADS software can be configured in a server.

[0044] The server can be a standalone server, a server cluster, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms.

[0045] like Figure 2 As shown, the PCB rotation device 200 for PADS software includes: a calibration generation module 201, a structure combination module 202, a board frame rotation module 203, a board frame alignment module 204, a structure alignment module 205, and a file generation module 206.

[0046] The calibration generation module 201 is used to add SO reset origin and cross mark to each structural component in the PCB board frame, and determine the first planar board frame based on the PCB board frame and the cross mark.

[0047] The structural combination module 202 is used to set all structural components into one or more structural sets and to determine the reference structural component corresponding to each structural set.

[0048] The board frame rotation module 203 is used to generate a second planar board frame based on the PCB board frame, and rotate the second planar board frame by a preset angle to obtain a third planar board frame.

[0049] The plate frame alignment module 204 is used to rotate the first planar plate frame by a preset angle to obtain the fourth planar plate frame, and adjust the fourth planar plate frame to coincide with the third planar plate frame to obtain the fifth planar plate frame.

[0050] The structure alignment module 205 is used to determine the origin of the rotation coordinate based on the SO coincident origin of the reference structure, and rotate the structure set by a preset angle according to the origin of the rotation coordinate to obtain the rotated structure set.

[0051] The file generation module 206 is used to output Gerber files based on the rotated structure set and the fifth plane plate frame.

[0052] This application provides an electronic device, which includes a memory and a processor; the memory is used to store a computer program; the processor is used to execute the computer program and, when executing the computer program, implement a PCB rotation method for PADS software as described in any of the embodiments of this application.

[0053] This application provides a computer-readable storage medium storing a computer program that, when executed by a processor, causes the processor to implement a PCB rotation method for PADS software as described in any of the embodiments of this application.

[0054] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A PCB rotation method for PADS software, characterized in that, The method includes: Add SO reset origin and cross mark to each structural component in the PCB board frame respectively, and determine the first planar board frame according to the PCB board frame and the cross mark; All the structural components are set as one or more structural sets, and a reference structural component is determined for each structural set; A second planar board frame is generated based on the PCB board frame, and the second planar board frame is rotated by a preset angle to obtain a third planar board frame; The first planar frame is rotated by the preset angle to obtain the fourth planar frame, and the fourth planar frame is adjusted to coincide with the third planar frame to obtain the fifth planar frame; The origin of the rotation coordinate is determined based on the SO reset origin of the reference structural component. The structural assembly is then rotated by the preset angle based on the origin of the rotation coordinate to obtain the rotated structural assembly. Gerber files are output based on the rotated structure set and the fifth planar plate frame.

2. The PCB rotation method for PADS software as described in claim 1, characterized in that, The process of adding an SO reset origin and a cross mark to each structural component in the PCB board frame, and determining the first planar board frame based on the PCB board frame and the cross mark, includes: Copy the planar outline of the PCB board to obtain the copied outline; Input SO to reset the origin for each of the structural components; Add the cross mark at each of the SO reset origins, wherein the SO reset origins coincide with the intersection of the cross marks; The cross mark and the copied outer frame are bound together to generate the first planar plate frame.

3. The PCB rotation method for PADS software as described in claim 1, characterized in that, The number of structural components included in the structural set is less than 500.

4. The PCB rotation method for PADS software as described in claim 1, characterized in that, The step of generating a second planar board frame based on the PCB board frame, and rotating the second planar board frame by a preset angle to obtain a third planar board frame includes: Copy the planar outline of the PCB board frame to obtain a second planar board frame; The second planar frame is rotated by the preset angle to obtain the third planar frame.

5. The PCB rotation method for PADS software as described in claim 1, characterized in that, After outputting the Gerber file based on the rotated structure set and the fifth planar plate frame, the method further includes: The rotated structure set is then rotated in the opposite direction by the preset angle to restore it to the original structure set. Rotate the fifth planar frame in reverse by the preset angle to restore it to the fourth planar frame; A steel mesh file is generated based on the SO coincident origin of the reference structural member, the structural set, and the fourth planar plate frame.

6. A PCB rotation device for PADS software, characterized in that, The PCB rotation device for PADS software is used to perform the PCB rotation method for PADS software as described in any one of claims 1-5, wherein the PCB rotation device for PADS software comprises: The calibration generation module is used to add SO reset origin and cross mark to each structural component in the PCB board frame, and determine the first planar board frame according to the PCB board frame and the cross mark. A structural combination module is used to set all the structural components into one or more structural sets, and to determine the reference structural component corresponding to each structural set; The board frame rotation module is used to generate a second planar board frame based on the PCB board frame, and rotate the second planar board frame by a preset angle to obtain a third planar board frame; The plate frame alignment module is used to rotate the first planar plate frame by the preset angle to obtain the fourth planar plate frame, and adjust the fourth planar plate frame to coincide with the third planar plate frame to obtain the fifth planar plate frame; The structural alignment module is used to determine the origin of rotation coordinates based on the SO coincident origin of the reference structural component, and rotate the structural assembly by the preset angle based on the origin of rotation coordinates to obtain the rotated structural assembly. The file generation module is used to output Gerber files based on the rotated structure set and the fifth planar plate frame.

7. An electronic device, characterized in that, The electronic device includes a memory and a processor; The memory is used to store computer programs; The processor is configured to execute the computer program and, in executing the computer program, implement the PCB rotation method for PADS software as described in any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, causes the processor to implement the PCB rotation method for PADS software as described in any one of claims 1 to 5.