A PCB information import method, device, equipment and storage medium

Through the identification tool to extract the stacking information of the PCB board from the impedance table, and automatically import or adjust the stacking information, the problems of low manual input efficiency and high error rate in Allegro software are solved, and a more efficient PCB board design is achieved.

CN116070568BActive Publication Date: 2024-11-26NETTRIX INFORMATION IND CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310143781.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-21
Publication Date
2024-11-26
Estimated Expiration
2043-02-21

AI Technical Summary

Technical Problem

Allegro software requires manual input to constraints on stacking and other information in PCB design, which is inefficient and prone to errors.

Method used

By calling the recognition tool to extract the target stacking information from the impedance table, we will determine whether the current PCB board is a new board card, if so, import it directly. If otherwise, determine the stacking that needs to be retained or added through the selection window, sort and import it, and improve Efficiency and reduce errors.

Benefits of technology

Save basic setup time, improve efficiency, reduce error rates, and ensure signal integrity and design accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116070568B_ABST
    Figure CN116070568B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention provides a method, device, equipment and storage medium for importing information of a PCB board, wherein the method includes: calling an identification tool to extract target stacking information from an impedance table; obtaining stacking information of a current PCB board, and judging whether the current PCB board is a new board based on the stacking information of the current PCB board; if so, importing the target stacking information into the current PCB board through a stacking adding function; if not, selecting the stacking that needs to be retained in the current PCB board in a selection window, and determining the stacking that needs to be increased or decreased, sorting all the stacking, and importing the target stacking information into the current PCB board. The technical solution provided by the embodiment of the present invention can save basic setting time, improve efficiency, and reduce error rate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the technical field of PCB design, and in particular to a method, device, equipment and storage medium for importing information of a PCB. Background Art

[0002] The free software library (Allegro) is an advanced printed circuit board (PCB) design and wiring tool. Allegro software provides a relatively complete solution for the current high-speed, high-density, multi-layer complex PCB design and wiring.

[0003] However, Allegro software requires manual input of constraints on stacking information, which is not only inefficient but also prone to errors. Summary of the invention

[0004] The embodiments of the present invention provide a method, device, equipment and storage medium for importing information of a PCB board, which can save time for basic settings, improve efficiency and reduce error rate.

[0005] In a first aspect, an embodiment of the present invention provides a method for importing information of a PCB board, comprising:

[0006] Call the identification tool to extract the target stacking information from the impedance table;

[0007] Acquire stacking information of the current PCB board, and determine whether the current PCB board is a new board based on the stacking information of the current PCB board;

[0008] If so, the target stacking information is imported into the current PCB board through a stacking adding function;

[0009] If not, select the stacking layers that need to be retained in the current PCB board in the selection window, determine the stacking layers that need to be increased or decreased, sort all the stacking layers, and import the target stacking layer information into the current PCB board.

[0010] Optionally, the method further includes:

[0011] Invoking an identification tool to extract target physical constraints from the impedance table;

[0012] The impedance values ​​in the impedance table are used as names of corresponding target physical constraint conditions respectively;

[0013] If the current PCB board already has physical constraints, the existing physical constraints are deleted, and all named target physical constraints are imported into the rule manager to add target physical constraints to the current PCB board;

[0014] If the current PCB board has no physical constraints, import all named target physical constraints into the rule manager to add target physical constraints to the current PCB board;

[0015] Grouping signals based on impedance values;

[0016] Each group is matched to the corresponding target physical constraint condition named in the rule manager through a matching function.

[0017] The above technical solution, by importing the target physical constraint conditions, grouping the signals on the current PCB board according to the impedance value, and matching each group with the corresponding target physical constraint conditions, can make all the signals on the PCB board match the physical constraint conditions, thereby improving the efficiency of adding physical constraint conditions.

[0018] Optionally, the method further includes:

[0019] Selecting a type of spacing constraint condition through a human-computer interaction page, and calculating a target spacing constraint condition corresponding to the type based on the target physical constraint condition;

[0020] If the current PCB board already has a spacing constraint condition, delete the existing spacing constraint condition, and import the target spacing constraint condition into the rule manager to add the target spacing constraint condition to the current PCB board;

[0021] If the current PCB board has no spacing constraint condition, import the target spacing constraint condition into the rule manager to add the target spacing constraint condition to the current PCB board;

[0022] Group signals with different spacing requirements;

[0023] Matching each group to a corresponding target spacing constraint in the rule manager;

[0024] The groups are matched with the corresponding target spacing constraints in the rule manager.

[0025] The above technical solution can improve the import efficiency, reduce the error rate, and add spacing constraints more comprehensively by importing the target spacing constraints, grouping the signals on the current PCB board, matching each group with the corresponding target spacing constraints, and matching the corresponding target spacing constraints between groups.

[0026] Optionally, the method further includes:

[0027] Select the required target same-name spacing constraint condition through the human-computer interaction page;

[0028] If the current PCB board already has a spacing constraint condition with the same name, delete the existing spacing constraint condition with the same name, and import the target spacing constraint condition with the same name into the rule manager to add the target spacing constraint condition to the current PCB board;

[0029] If the current PCB board does not have a spacing constraint condition with the same name, import the target spacing constraint condition with the same name into the rule manager to add the target spacing constraint condition to the current PCB board;

[0030] The special region will be set to match the corresponding target homonymous spacing constraints.

[0031] Therefore, by importing the target same-name spacing constraint conditions and setting the special areas to match the corresponding target same-name spacing constraint conditions, the import efficiency can be improved and the error rate can be reduced.

[0032] Optionally, the method further includes:

[0033] If a trigger operation of setting import is received, the built-in target analysis model constraint condition is imported into the rule manager to open the target analysis model constraint condition in the current PCB board;

[0034] All existing analysis model constraints of the current PCB board are closed.

[0035] Therefore, by embedding the target analysis model constraints in the auxiliary tool and importing the embedded target analysis model constraints into the rule manager, the import efficiency can be improved and the error rate can be reduced.

[0036] Optionally, select the type of spacing constraint through the human-computer interaction page, including:

[0037] Select the type of PCB board through the human-computer exchange page, and import the corresponding spacing constraint type based on the PCB type; or,

[0038] Select the type of spacing constraint based on the needs of the PCB board through the human-machine exchange page; or,

[0039] The type identifier of the spacing constraint condition inputted is obtained in the input field displayed on the human-machine exchange page, and the type of the corresponding spacing constraint condition is imported based on the type identifier.

[0040] The above technical solution selects the type of PCB board through the human-machine exchange page, and imports the corresponding type of spacing constraint conditions based on the type of PCB; or, selects the corresponding type of spacing constraint conditions based on the needs of the PCB board through the human-machine exchange page; or, obtains the type identifier of the input spacing constraint conditions in the input bar displayed on the human-machine exchange page, and imports the corresponding type of spacing constraint conditions based on the type identifier, and can import the type of spacing preset conditions as needed, so that the imported type of spacing constraint conditions can be more comprehensive.

[0041] Optionally, the determining of the stacking layers that need to be increased or decreased, sorting all the stacking layers, and importing the target stacking layer information into the current PCB board includes:

[0042] Determine the stacks that need to be added or reduced based on the stacks that need to be retained and the number of stacks in the target stack information, and sort all the stacks;

[0043] Add the stack name, stack thickness, and stack spacing in the target stack information to the current PCB board.

[0044] The above technical solution determines the stacking layers that need to be increased or decreased based on the stacking layers that need to be retained and the number of stacking layers in the target stacking information, sorts all the stacking layers, and adds the stacking name, stacking thickness, and stacking spacing in the target stacking information to the current PCB board. It can be set on the original stacking information of the PCB board, which can save basic setting time.

[0045] In a second aspect, an embodiment of the present invention provides a PCB information import device, comprising:

[0046] A calling module, used for calling the identification tool to extract target stacking information from the impedance table;

[0047] A judgment module, used for obtaining the stacking information of the current PCB board, and judging whether the current PCB board is a new board based on the stacking information of the current PCB board;

[0048] A first import module, used for, if yes, importing the target stacking information into the current PCB board through a stacking adding function;

[0049] The second import module is used to select the stacking layers that need to be retained in the current PCB board through the selection window, determine the stacking layers that need to be increased or reduced, sort all the stacking layers, and import the target stacking layer information into the current PCB board.

[0050] In a third aspect, an embodiment of the present invention provides an electronic device, the electronic device comprising:

[0051] at least one processor; and

[0052] a memory communicatively connected to the at least one processor; wherein,

[0053] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the method provided by the embodiment of the present invention.

[0054] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method provided by the embodiment of the present invention when executed.

[0055] The technical solution provided by the embodiment of the present invention extracts target stacking information from an impedance table through an identification tool. If it is determined that the current PCB board is a new board, the target stacking information is imported into the current PCB board through a stacking adding function. If it is determined that the current PCB board is not a new board, the stacking that needs to be retained in the current PCB board is selected through a selection window, and the stacking that needs to be increased or reduced is determined, all the stackings are sorted, and the target stacking information is imported into the current PCB board, which can improve efficiency and reduce error rate. In addition, the embodiment of the present invention determines whether the current PCB board is a new board. If it is not a new board, the original stacking information is modified to complete the setting of the PCB board, which can save basic setting time and improve setting efficiency.

[0056] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of 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 creative work.

[0058] Figure 1 is a flow chart of a method for importing information of a PCB board provided in an embodiment of the present invention;

[0059] Figure 2 is a flow chart of a method for introducing physical constraints provided by an embodiment of the present invention;

[0060] Figure 3is a flow chart of a method for introducing spacing constraint conditions provided by an embodiment of the present invention;

[0061] Figure 4 It is a flow chart of a method for importing same-name spacing constraint conditions provided by an embodiment of the present invention;

[0062] Figure 5 It is a flow chart of a method for importing analysis model constraint conditions provided by an embodiment of the present invention;

[0063] Figure 6 This is a structural block diagram of a PCB information import device provided by the present invention;

[0064] Figure 7 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0065] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0066] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0067] Figure 1 The present invention provides a flow chart of a method for importing information of a PCB board, which can be executed by an information import device for a PCB board, which can be implemented by software and / or hardware, and which can be configured in an auxiliary tool, which is embedded in the design software of the PCB board, for example, Allegro software, wherein the auxiliary tool can be written through an editing window in the PCB board design software. The method can be applied to the scene of designing a PCB board.

[0068] like Figure 1 As shown, the technical solution provided by the embodiment of the present invention includes:

[0069] S110: calling an identification tool to extract target stacking information from the impedance table.

[0070] In the embodiment of the present invention, the recognition tool can be a tool of a Python program, and the impedance table can be in an Excel format provided by a simulation engineer. The Allegro software cannot directly perform recognition, and it is necessary to call the recognition tool to extract the target stacking information from the impedance table. Optionally, the target stacking information can be written into a target file, wherein the target file can be a txt file. The target stacking information includes the number of stacking layers, stacking thickness, stacking spacing, and stacking naming.

[0071] S120: Obtain the stacking information of the current PCB board.

[0072] In the embodiment of the present invention, the stacking information of the current PCB board is the stacking information of the default PCB board, or the stacking information of the PCB board designed last time.

[0073] S130: Determine whether the current PCB board is a new board based on the stacking information of the current PCB board.

[0074] If yes, execute S140; if no, execute S150.

[0075] In the embodiment of the present invention, it can be determined whether the current PCB board is a new board based on the number of stacking layers in the stacking information of the current PCB board.

[0076] In an embodiment of the present invention, if the number of stacked layers of the current PCB board is less than or equal to 2, it is judged to be a new board. If the number of stacked layers of the current PCB board is greater than 2, it is judged that the current PCB board is not a new board but a modified board.

[0077] S140: Importing the target stacking information into the current PCB board through a stacking adding function.

[0078] In the embodiment of the present invention, if the current PCB board is a newly opened board, it is not necessary to change the board, and the target stacking information is imported into the current PCB board through the stacking adding function.

[0079] Specifically, the target stacking information can be imported into the stacking manager through the axlLayerCreateCrossSection function in the allegro software to add the target stacking information to the current PCB board.

[0080] S150: Select the stacking layers that need to be retained in the current PCB board through the selection window, determine the stacking layers that need to be increased or decreased, sort all the stacking layers, and import the target stacking layer information into the current PCB board.

[0081] In an embodiment of the present invention, there may be invalid stacks in the current PCB board, and the invalid stacks can be deleted as needed to retain the required stacks. Specifically, by displaying a selection window, the selection window can display the stacks of the current PCB board, and the user can select the stacks to be retained as needed, and the auxiliary tool can obtain the stacks to be retained, or the auxiliary tool can directly select the stacks to be retained in the PCB board according to the pre-configuration. Optionally, the target stack information can be added to the PCB board through the axlChange-Layer function and the axlLayerCreateCrossSection function.

[0082] In one implementation of an embodiment of the present invention, optionally, determining the stacking layers that need to be added or reduced, sorting all the stacking layers, and importing the target stacking layer information into the current PCB board includes: determining the stacking layers that need to be added or reduced based on the stacking layers that need to be retained and the number of stacking layers in the target stacking layer information, and sorting all the stacking layers; adding the stacking layer name, stacking layer thickness, and stacking layer spacing in the target stacking layer information to the current PCB board.

[0083] Specifically, the axlLayerCreateCrossSection function can be used to add or reduce stacks, and the axlChangeLayer function can be used to transform the retained stack to the target layer and sort all the stacks. After the sorting is completed, the stack name, stack thickness, and stack spacing in the target stack information are added to the current PCB board, thereby completing the import of stack information when the PCB board is changed.

[0084] In the related art, during the design process of the PCB board, some high-speed lines need to be back-drilled to reduce stubs (the remaining part when the high-speed line changes layers). Whether back-drilling is needed mainly depends on the stacking information. If the stacking information filled in is wrong, the signal that needs back-drilling cannot add the back-drilling information, affecting the integrity of the signal. In the case of voltage drop simulation of the PCB board, it is necessary to simulate according to the stacking thickness. If the stacking information is wrong, it will affect the final voltage drop simulation result. In severe cases, the simulation cannot pass and the stacking needs to be increased, increasing the design cost. The technical solution provided by the embodiment of the present invention can reduce the error rate of stacking information, reduce design costs and ensure signal integrity by automatically importing stacking information through auxiliary tools.

[0085] In the related art, stacking information is imported through batch processing and recorded .SCR. This method cannot adapt to the data import after the structure changes caused by the update of the PCB design software itself, and the applicable versions are limited. This method cannot import stacking information based on the modified board. The technical solution provided by the embodiment of the present invention determines whether the current PCB board is a new board. If it is not a new board (it is a modified board), the original stacking information is modified to complete the setting of the PCB board, which can save basic setting time and improve setting efficiency.

[0086] The technical solution provided by the embodiment of the present invention extracts target stacking information from an impedance table through an identification tool. If it is determined that the current PCB board is a new board, the target stacking information is imported into the current PCB board through a stacking adding function. If it is determined that the current PCB board is not a new board, the stacking that needs to be retained in the current PCB board is selected through a selection window, and the stacking that needs to be increased or reduced is determined, all the stackings are sorted, and the target stacking information is imported into the current PCB board, which can improve efficiency and reduce error rate. In addition, the embodiment of the present invention determines whether the current PCB board is a new board. If it is not a new board, the original stacking information is modified to complete the setting of the PCB board, which can save basic setting time and improve setting efficiency.

[0087] On the basis of the above-mentioned embodiments, the technical solution provided by the embodiments of the present invention may further include the import of physical constraints, the import of spacing constraints, the import of spacing constraints with the same name, and the import of analysis model constraints.

[0088] in, Figure 2 is a flow chart of a method for introducing physical constraints provided by an embodiment of the present invention, such as Figure 2 As shown, the method includes:

[0089] S210: Calling an identification tool to extract target physical constraint conditions from the impedance table.

[0090] In the embodiment of the present invention, the target physical constraint condition may include restriction conditions such as line width and line spacing, and there may be multiple target physical constraint conditions.

[0091] S220: Name each target physical constraint condition based on the impedance value in the impedance table.

[0092] In the embodiment of the present invention, the impedance values ​​in the impedance table may include 45ohm, 85ohm, 90ohm and power, etc. The impedance values ​​of different line widths and line spacings in the impedance table may be named as target physical constraints, which may facilitate the subsequent matching and addition of target physical constraints.

[0093] S230: Determine whether the current PCB board has physical constraints.

[0094] If so, execute S240; if not, execute S250.

[0095] In the embodiment of the present invention, the physical constraint conditions on the current PCB board may be default physical constraint conditions, or physical constraint conditions of a PCB board designed last time.

[0096] S240: Delete the existing physical constraints, and import all named target physical constraints into the rule manager to add target physical constraints to the current PCB board.

[0097] In an embodiment of the present invention, if the current PCB board already has physical constraints, the existing physical constraints are deleted, and all named physical constraints are imported into the rule manager, which can improve the import efficiency.

[0098] S250: Import all named target physical constraints into the rule manager to add target physical constraints to the current PCB board.

[0099] In an embodiment of the present invention, if the current PCB board has no physical constraints, all named target physical constraints are directly imported into the rule manager, thereby realizing the addition of target physical constraints to the current PCB board. When the target physical constraints are imported into the rule manager, the target physical constraints can be displayed on the current PCB board.

[0100] S260: Group the signals based on the impedance values.

[0101] In an embodiment of the present invention, the signals on the PCB board can be grouped according to the impedance value, wherein the impedance value corresponds to the group. Optionally, a signal group corresponding to a special impedance value can be added through a human-machine exchange page by user operation, or a missing signal group can be added.

[0102] S270: Match each group with the corresponding target physical constraint condition named in the rule manager through a matching function.

[0103] In the embodiment of the present invention, since each group corresponds to an impedance value, each group can be matched with the target physical constraint condition named with the corresponding impedance value, thereby completing the matching of the group with the target physical constraint condition, so that all signals in the PCB board can match the physical constraint condition.

[0104] Therefore, by importing the target physical constraint conditions, grouping the signals on the current PCB board according to the impedance value, and matching each group with the corresponding target physical constraint conditions, all signals on the PCB board can be matched with the physical constraint conditions, thereby improving the efficiency of adding physical constraint conditions.

[0105] Figure 3 is a flow chart of a method for introducing spacing constraints provided by an embodiment of the present invention, such as Figure 3 As shown, the method includes:

[0106] S310: Selecting a type of spacing constraint condition through a human-computer interaction page, and calculating a target spacing constraint condition corresponding to the type based on the target physical constraint condition.

[0107] In one implementation of an embodiment of the present invention, optionally, the type of PCB board is selected through the human-machine exchange page, and the type of corresponding spacing constraint condition is imported based on the type of PCB; or, the type of corresponding spacing constraint condition is selected based on the needs of the PCB board through the human-machine exchange page; or, the type identifier of the input spacing constraint condition is obtained in the input bar displayed on the human-machine exchange page, and the type of corresponding spacing constraint condition is imported based on the type identifier.

[0108] Specifically, you can select the type of spacing constraint you need through the human-machine exchange page, which can be divided into three forms: (1) You can import by board type. Generally, board types include: motherboard, riser card, switch card, io card, hard disk backplane, and power board. For example, if you select a riser card, 15H / 9H, 15H\5H, 4W, 2W, and default will be checked by default for import (H refers to the dielectric thickness in the stack, and W refers to the line width in the current PCB physical constraint). (2) Check the corresponding spacing constraint type to import according to the needs of the board. (3) Directly enter the name of the spacing constraint type you want to add in the input bar. Among them, under a spacing constraint type, the corresponding specific values ​​of H, W, etc. can be determined as needed. Under a spacing constraint type, multiple spacing constraints can be included.

[0109] S320: If the current PCB board already has a spacing constraint condition, delete the existing spacing constraint condition, and import the target spacing constraint condition into the rule manager to add the target spacing constraint condition to the current PCB board.

[0110] S330: If the current PCB board has no spacing constraint condition, the target spacing constraint condition is imported into the rule manager to add the target spacing constraint condition to the current PCB board.

[0111] S340: Group signals with different spacing requirements.

[0112] In an embodiment of the present invention, spacing information can be obtained through a human-computer interaction page, and signals with different spacing requirements can be grouped based on the spacing information. For example, high-speed lines in a PCB board and some signals with large interference can be added to corresponding class groups as required, or signals with special spacing requirements can be added to corresponding class groups.

[0113] S350: Match each group with the corresponding target distance constraint in the rule manager.

[0114] In the embodiment of the present invention, each group is matched with the corresponding target spacing constraint condition, so that the spacing requirement between signals in the group can be met, that is, the spacing requirement between signals in the class group can be met.

[0115] S360: Match the groups with the corresponding target spacing constraints in the rule manager.

[0116] In the embodiment of the present invention, by matching the corresponding target spacing constraints between groups, the spacing requirement between the signal within the group and the signal outside the group can be met, that is, the spacing requirement between the signal of the class group and the signal outside the class group can be met.

[0117] In the related art, the import of spacing constraints is only to import the values ​​of the constraints, which has a single function, and cannot classify and match special spacing signals, and cannot import specific constraints according to the board type. The technical solution provided by the embodiment of the present invention can improve the import efficiency, reduce the error rate, and add spacing constraints more comprehensively by importing the target spacing constraints, and by grouping the signals on the PCB board according to different spacing requirements, matching each group with the corresponding target spacing constraints, and matching the corresponding target spacing constraints between groups. In addition, the embodiment of the present invention imports the spacing constraint type by board type, thereby determining the corresponding spacing constraint according to the type, and can obtain the spacing constraint faster by board type, so that the special spacing constraint can be imported as required.

[0118] Figure 4 is a flow chart of a method for importing same-name spacing constraints provided by an embodiment of the present invention, such as Figure 4 As shown, the method includes:

[0119] S410: Select the required target same-name spacing constraint condition through the human-computer interaction page.

[0120] In an embodiment of the present invention, a plurality of same-name spacing constraints can be displayed through a human-computer interaction page, and the required target same-name spacing constraints can be selected as needed, the required target same-name spacing constraints can be selected according to a pre-set setting, or the required target same-name spacing constraints can be selected based on user operations. Among them, the same-name spacing constraints can be understood as constraints on the signal spacing of the same signal name.

[0121] S420: If the current PCB board already has a spacing constraint with the same name, delete the existing spacing constraint with the same name, and import the target spacing constraint with the same name into the rule manager to add the target spacing constraint to the current PCB board.

[0122] In the embodiment of the present invention, by deleting the existing same-name spacing constraint condition and importing the target same-name spacing constraint condition into the rule manager, the import efficiency can be improved.

[0123] S430: If the current PCB board does not have a spacing constraint with the same name, the target spacing constraint with the same name is imported into a rule manager to add the target spacing constraint to the current PCB board.

[0124] S440: Setting the special area to match the corresponding target same-name spacing constraint condition.

[0125] In the embodiment of the present invention, the set special area may be an area with a smaller spacing. In this area, the spacing may be adjusted as needed. Therefore, the set special area may be matched with the corresponding target same-name spacing constraint condition to adjust the spacing as needed.

[0126] Therefore, by importing the target same-name spacing constraint conditions and setting the special areas to match the corresponding target same-name spacing constraint conditions, the import efficiency can be improved and the error rate can be reduced.

[0127] Figure 5 is a flow chart of a method for importing analysis model constraint conditions provided by an embodiment of the present invention, such as Figure 5 As shown, the method includes:

[0128] S510: If a trigger operation of setting import is received, the built-in target analysis model constraint condition is imported into the rule manager to open the target analysis model constraint condition in the current PCB board.

[0129] In the embodiment of the present invention, the writing of the target analysis model (analysis modes) constraint conditions can be completed in the skii program (the program of the auxiliary tool), and the constraint conditions are built into the auxiliary tool. The user can trigger the setting import button to trigger the import. If the trigger operation of setting import is received, the built-in analysis modes constraint conditions are imported into the rule manager to open the analysis modes constraint conditions in the current PCB board. Among them, the analysis modes constraint conditions are some basic settings for the current PCB board.

[0130] S520: All existing analysis model constraints of the current PCB board are closed.

[0131] In the embodiment of the present invention, if the built-in analysis modes constraint condition is imported into the rule manager, all the existing analysis modes constraint conditions in the current PCB board are closed, so that the current PCB board is configured with the analysis modes constraint condition.

[0132] Therefore, by embedding the target analysis modes constraints in the auxiliary tool and importing the built-in analysis modes constraints into the rule manager, the import efficiency can be improved and the error rate can be reduced.

[0133] Figure 6 This is a structural block diagram of a PCB information import device provided by the present invention. Figure 6 As shown, the device includes: a calling module 610, a judging module 620, a first importing module 630 and a second importing module 640.

[0134] The calling module 610 is used to call the identification tool to extract the target stacking information from the impedance table;

[0135] The judging module 620 is used to obtain the stacking information of the current PCB board, and judge whether the current PCB board is a new board based on the stacking information of the current PCB board;

[0136] A first import module 630, for importing the target stacking information into the current PCB board through a stacking adding function;

[0137] The second import module 640 is used to, if not, select the stacking layers that need to be retained in the current PCB board through the selection window, determine the stacking layers that need to be increased or reduced, sort all the stacking layers, and import the target stacking layer information into the current PCB board.

[0138] Optionally, the device further comprises a physical constraint condition importing module, which is used to:

[0139] Invoking an identification tool to extract target physical constraints from the impedance table;

[0140] The impedance values ​​in the impedance table are used as names of corresponding target physical constraint conditions respectively;

[0141] If the current PCB board already has physical constraints, the existing physical constraints are deleted, and all named target physical constraints are imported into the rule manager to add target physical constraints to the current PCB board;

[0142] If the current PCB board has no physical constraints, import all named target physical constraints into the rule manager to add target physical constraints to the current PCB board;

[0143] Grouping signals based on impedance values;

[0144] Each group is matched to the corresponding target physical constraint condition named in the rule manager through a matching function.

[0145] Optionally, the device further comprises a spacing constraint condition importing module, which is used to:

[0146] Selecting a type of spacing constraint condition through a human-computer interaction page, and calculating a target spacing constraint condition corresponding to the type based on the target physical constraint condition;

[0147] If the current PCB board already has a spacing constraint condition, the existing spacing constraint condition is deleted, and the target spacing constraint condition is imported into the rule manager to add the target spacing constraint condition to the current PCB board;

[0148] If the current PCB board has no spacing constraint condition, import the target spacing constraint condition into the rule manager to add the target spacing constraint condition to the current PCB board;

[0149] Group signals with different spacing requirements;

[0150] Matching each group to a corresponding target spacing constraint in the rule manager;

[0151] The groups are matched with the corresponding target spacing constraints in the rule manager.

[0152] Optionally, the device further comprises a same-name spacing constraint condition import module, which is used to:

[0153] Select the required target same-name spacing constraint condition through the human-computer interaction page;

[0154] If the current PCB board already has a spacing constraint condition with the same name, delete the existing spacing constraint condition with the same name, and import the target spacing constraint condition with the same name into the rule manager to add the target spacing constraint condition to the current PCB board;

[0155] If the current PCB board does not have a spacing constraint condition with the same name, import the target spacing constraint condition with the same name into the rule manager to add the target spacing constraint condition to the current PCB board;

[0156] The special region will be set to match the corresponding target homonymous spacing constraints.

[0157] Optionally, the device further comprises an analysis model constraint condition importing module, which is used to:

[0158] If a trigger operation of setting import is received, the built-in target analysis model constraint condition is imported into the rule manager to open the target analysis model constraint condition in the current PCB board;

[0159] All existing analysis model constraints of the current PCB board are closed.

[0160] Optionally, select the type of spacing constraint through the human-computer interaction page, including:

[0161] Select the type of PCB board through the human-machine exchange page, and import the type of corresponding spacing constraint condition based on the type of PCB; or,

[0162] Select the type of the corresponding spacing constraint condition based on the needs of the PCB board through the human-machine exchange page; or,

[0163] The type identifier of the spacing constraint condition inputted is obtained in the input field displayed on the human-machine exchange page, and the type of the corresponding spacing constraint condition is imported based on the type identifier.

[0164] Optionally, the determining of the stacking layers that need to be increased or decreased, sorting all the stacking layers, and importing the target stacking layer information into the current PCB board includes:

[0165] Determine the stacks that need to be added or reduced based on the stacks that need to be retained and the number of stacks in the target stack information, and sort all the stacks;

[0166] Add the stack name, stack thickness, and stack spacing in the target stack information to the current PCB board.

[0167] The device provided by the embodiment of the present invention can execute the method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0168] Example 7

[0169] Figure 7 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0170] like Figure 7 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0171] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0172] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a method for importing information of a PCB board.

[0173] In some embodiments, the information import method of the PCB board can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the information import method of the PCB board described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the information import method of the PCB board by any other appropriate means (for example, by means of firmware).

[0174] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0175] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0176] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0177] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0178] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0179] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0180] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0181] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for importing information of a PCB board, characterized in that: include: Call the identification tool to extract the target stacking information from the impedance table; Acquire stacking information of the current PCB board, and determine whether the current PCB board is a new board based on the stacking information of the current PCB board; If so, the target stacking information is imported into the current PCB board through a stacking adding function; If not, select the stacking layers that need to be retained in the current PCB board through the selection window, determine the stacking layers that need to be increased or decreased, sort all the stacking layers, and import the target stacking layer information into the current PCB board; Invoking an identification tool to extract target physical constraints from the impedance table; The impedance values ​​in the impedance table are used as names of corresponding target physical constraint conditions respectively; If the current PCB board already has physical constraints, the existing physical constraints are deleted, and all named target physical constraints are imported into the rule manager to add target physical constraints to the current PCB board; If the current PCB board has no physical constraints, import all named target physical constraints into the rule manager to add target physical constraints to the current PCB board; Grouping signals based on impedance values; Each group is matched to the corresponding target physical constraint condition named in the rule manager through a matching function.

2. The method according to claim 1, characterized in that Also includes: Selecting a type of spacing constraint condition through a human-computer interaction page, and calculating a target spacing constraint condition corresponding to the type based on the target physical constraint condition; If the current PCB board already has a spacing constraint condition, delete the existing spacing constraint condition, and import the target spacing constraint condition into the rule manager to add the target spacing constraint condition to the current PCB board; If the current PCB board has no spacing constraint condition, import the target spacing constraint condition into the rule manager to add the target spacing constraint condition to the current PCB board; Group signals with different spacing requirements; Matching each group to a corresponding target spacing constraint in the rule manager; The groups are matched with the corresponding target spacing constraints in the rule manager.

3. The method according to claim 1, characterized in that Also includes: Select the required target same-name spacing constraint condition through the human-computer interaction page; If the current PCB board already has a spacing constraint condition with the same name, delete the existing spacing constraint condition with the same name, and import the target spacing constraint condition with the same name into the rule manager to add the target spacing constraint condition to the current PCB board; If the current PCB board does not have a spacing constraint condition with the same name, import the target spacing constraint condition with the same name into the rule manager to add the target spacing constraint condition to the current PCB board; The special region will be set to match the corresponding target homonymous spacing constraints.

4. The method according to claim 1, characterized in that Also includes: If a trigger operation of setting import is received, the built-in target analysis model constraint condition is imported into the rule manager to open the target analysis model constraint condition in the current PCB board; All existing analysis model constraints of the current PCB board are closed.

5. The method according to claim 2, characterized in that: Select the type of spacing constraint through the human-computer interaction page, including: Select the type of PCB board through the human-machine exchange page, and import the type of corresponding spacing constraint condition based on the type of PCB; or, Select the type of the corresponding spacing constraint condition based on the needs of the PCB board through the human-machine exchange page; or, The type identifier of the spacing constraint condition inputted is obtained in the input field displayed on the human-machine exchange page, and the type of the corresponding spacing constraint condition is imported based on the type identifier.

6. The method according to claim 1, characterized in that The determining of the stacking layers that need to be increased or decreased, sorting all the stacking layers, and importing the target stacking layer information into the current PCB board includes: Determine the stacks that need to be added or reduced based on the stacks that need to be retained and the number of stacks in the target stack information, and sort all the stacks; Add the stack name, stack thickness, and stack spacing in the target stack information to the current PCB board.

7. A PCB information import device, characterized in that: include: A calling module, used for calling the identification tool to extract target stacking information from the impedance table; A judgment module, used for obtaining the stacking information of the current PCB board, and judging whether the current PCB board is a new board based on the stacking information of the current PCB board; A first import module, used for, if yes, importing the target stacking information into the current PCB board through a stacking adding function; The second import module is used for, if not, selecting the stacking layers to be retained in the current PCB board through the selection window, determining the stacking layers to be increased or decreased, sorting all the stacking layers, and importing the target stacking layer information into the current PCB board; The physical constraint import module is used to call the identification tool to extract the target physical constraint from the impedance table; use the impedance values ​​in the impedance table as names of the corresponding target physical constraint; if the current PCB board already has physical constraints, delete the existing physical constraints, import all the named target physical constraints into the rule manager to add the target physical constraints to the current PCB; if the current PCB board has no physical constraints, import all the named target physical constraints into the rule manager to add the target physical constraints to the current PCB; group the signals based on the impedance values; and match each group with the corresponding named target physical constraint in the rule manager through a matching function.

8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the method according to any one of claims 1 to 6.

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