PCB design method and PCB design interaction system

Through the database and automatic layout function of the PCB design interactive system, the problem of manual operation cumbersome when designing complex PCB boards in the existing technology is solved, efficient component layout and circuit connection are achieved, and design efficiency and accuracy are improved.

CN119272698APending Publication Date: 2025-01-07GUANGZHOU SHIYUAN ELECTRONICS CO LTD +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310833121.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-07
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

When designing complex PCB boards, existing PCB design software requires designers to manually complete a large number of repetitive tasks, such as component layout and circuit connection, resulting in inefficient design and high error rates.

Method used

It provides a PCB design interactive system, which stores components and functional attribute data of different models through the database, realizes functional modularization of schematic diagrams, automatic layout and automatic routing, and reduces designer manual operations.

Benefits of technology

It improves designer design efficiency, reduces design errors, simplifies the layout and wiring process of PCB boards, and improves design speed and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119272698A_ABST
    Figure CN119272698A_ABST
Patent Text Reader

Abstract

The invention relates to the field of PCB design, in particular to a PCB design method and a PCB design interaction system. The PCB design method is applied to the PCB design interaction system, the system comprises a database, components of different models and functional attribute data of all the components are stored in the database, module schematic diagrams capable of achieving some specific functions are stored in the database, and the database comprises a schematic diagram database for storing schematic diagrams and a PCB database applied to PCB design. And the logic framework of the schematic diagram database and the logic framework of the PCB database are in a corresponding interconnection relationship. According to the method, the schematic diagram corresponding to the product is acquired, the module schematic diagram corresponding to the schematic diagram is acquired in combination with the database, a designer is helped to design the layout of each module according to the layout of the module schematic diagram pre-stored in the database, and the automatic layout of the PCB is designed by adjusting the layout of the modules, so that the design efficiency is improved on the premise of ensuring the functions of the product. And the PCB design efficiency of a designer is greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of PCB design, and in particular to a PCB design method and a PCB design interactive system. Background Art

[0002] PCB design software is a must-have software for PCB layout engineers. With the popularization of large-scale integrated circuits, the products designed by engineers are becoming more and more complex. From small-scale double-sided PCB boards to large-scale and complex boards with more than 10 layers, PCB design software is indispensable.

[0003] Existing PCB design software can usually provide functions such as schematic design, PCB layout and wiring, simulation, etc., but it also has some shortcomings. For example, there is a lack of automated tools, and some repetitive tasks need to be completed manually, including wiring and placing component numbers. In addition, the functions are single and cannot achieve high-speed and high-density PCB interconnection design. It is very inconvenient to use, which slows down the process of electronic research and development and design. It is easy to make mistakes when designing PCB boards using existing software systems, which greatly reduces work efficiency. Summary of the invention

[0004] The implementation method of the present application mainly solves the technical problem that when using existing PCB design software, designers need to manually plan each component to perform PCB layout, which results in a huge amount of engineering work.

[0005] In order to solve the above technical problems, a technical solution adopted in the embodiment of the present application is: to provide a PCB design method, which is applied to a PCB design interactive system, wherein the system includes a database, in which components of different models and functional attribute data of each component are stored, and module schematics that can realize some specific functions are stored, including:

[0006] Acquire a schematic diagram, wherein the schematic diagram includes a plurality of module schematic diagrams divided according to functions;

[0007] Setting the corresponding module layout according to the module schematic diagram;

[0008] The module layout is adjusted based on the PCB layout to achieve automatic PCB layout corresponding to the schematic diagram.

[0009] In order to solve the above technical problems, another technical solution adopted in the embodiment of the present application is: to provide a PCB design interactive system, the system comprising:

[0010] A database storing components of different models and functional attribute data of each component, and storing schematic diagrams of modules that can realize certain specific functions;

[0011] A schematic diagram acquisition module, used to acquire a schematic diagram, wherein the schematic diagram includes a plurality of module schematic diagrams divided according to functions;

[0012] The PCB automatic layout module is used to set the corresponding module layout according to the module schematic diagram, and is also used to adjust the module layout based on the PCB version to achieve the PCB automatic layout corresponding to the schematic diagram.

[0013] In order to solve the above technical problems, another technical solution adopted in the embodiment of the present application is: to provide an electronic device, the electronic device comprising:

[0014] at least one processor, and;

[0015] A memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the PCB design method described above.

[0016] In order to solve the above technical problems, another technical solution adopted in the implementation mode of the present application is: providing a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the above-mentioned PCB design method.

[0017] Different from the related art, the embodiment of the present application provides a PCB design method and a PCB design interactive system, the PCB design method is applied to the PCB design interactive system, the system includes a database, the database stores components of different models and functional attribute data of each component, and stores module schematics that can realize some specific functions, wherein the database includes a schematic database storing schematics, and a PCB database applied to PCB design, and the logical framework of the schematic database is in a corresponding interconnected relationship with the logical framework of the PCB database. The method obtains the schematic corresponding to the product, and obtains the module schematic corresponding to the schematic in combination with the database, and helps the designer design the layout of each module according to the layout of the module schematic pre-stored in the database, and completes the design of the PCB automatic layout by adjusting the module layout, which greatly improves the designer's PCB design efficiency while ensuring the product function. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] One or more embodiments are exemplarily described by corresponding drawings, which do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and the figures in the drawings do not constitute proportional limitations unless otherwise stated.

[0019] Figure 1a and Figure 1b It is a schematic diagram of the correspondence between the logical framework of the schematic database and the logical framework of the PCB database provided in the embodiment of the present application;

[0020] Figure 2 It is a flow chart of a PCB design method provided in an embodiment of the present application;

[0021] Figure 3 It is a schematic diagram of a method for obtaining a schematic diagram provided in an embodiment of the present application;

[0022] Figure 4 This is an example of a product design requirement selection window provided in an embodiment of the present application;

[0023] Figure 5a is an example of a database file provided in an embodiment of the present application;

[0024] Figure 5b This is an example of a product folder provided in an embodiment of the present application;

[0025] Figure 6 This is an example of an exception handling logic framework diagram provided in an embodiment of the present application;

[0026] Figure 7 This is an example of regional placement of components corresponding to a functional module provided in an embodiment of the present application;

[0027] Figure 8 It is a schematic flow chart of another method for obtaining a schematic diagram provided in an embodiment of the present application;

[0028] Fig. 9 It is a split logic schematic diagram of a principle diagram provided in an embodiment of the present application;

[0029] Fig.10 It is a schematic flow chart of a method for planning PCB layout provided in an embodiment of the present application;

[0030] Fig.11 It is a schematic diagram of a logical framework of automatic module layout provided in an embodiment of the present application;

[0031] Fig.12a It is an example of a display window of a general module and a special module provided in an embodiment of the present application;

[0032] Figure 12b It is a window example of a placement model of a general module provided in an embodiment of the present application;

[0033] Fig.12c It is a window example of a placement model of a special module provided in an embodiment of the present application;

[0034] Fig.13This is an example of a logic block diagram for automatically adjusting the layout of a PCB layout provided in an embodiment of the present application;

[0035] Fig.14a It is an example of an interactive window for obtaining signal classification provided in an embodiment of the present application;

[0036] Figure 14b-Figure 14d They are respectively examples of routing properties corresponding to sensitive signals, power signals and common signals provided in the embodiments of the present application;

[0037] Fig.15 This is an example of a module automatic routing logic framework diagram provided in an embodiment of the present application;

[0038] Fig.16a This is an example of an automatic routing process interaction window provided in an embodiment of the present application;

[0039] Fig.16b It is an example of an interactive window for signal classification provided in an embodiment of the present application;

[0040] Fig.16c This is an example of an interactive window for sorting signal classes provided in an embodiment of the present application;

[0041] Fig.16d This is an example of an interactive window for automatic routing provided in an embodiment of the present application;

[0042] Fig.16e It is an example of an interactive window for electrical performance inspection provided in an embodiment of the present application;

[0043] Fig.17 It is an interactive window example of a silk screen setting provided in an embodiment of the present application;

[0044] Fig.18 It is a structural schematic diagram of a PCB design interactive system provided in an embodiment of the present application;

[0045] Fig.19 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0046] The present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0047] It should be noted that, if there is no conflict, the various features in the embodiments of the present application can be combined with each other, all within the scope of protection of the present application. In addition, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flow chart, in some cases, the steps shown or described can be performed in a different order than the module division in the device schematic diagram or the order in the flow chart.

[0048] The terms used in the specification of this application are only for the purpose of describing specific implementations and are not used to limit this application. The term "and / or" used in this specification includes any and all combinations of one or more related listed items.

[0049] PCB design software is a must-have software for PCB layout engineers. In order to reduce some repetitive manual tasks of designers in the design process and improve the user experience of engineers, we try to design an interactive system that meets the actual needs of designers. However, the following technical problems are found:

[0050] First, the schematic design process is analyzed. When a designer needs to design a PCB product, he needs to draw a circuit schematic first. The schematic is the basis of PCB design. It describes the function and connection method of the entire circuit. The pins and connection methods of each component need to be marked in the schematic to facilitate subsequent PCB layout and wiring.

[0051] Current PCB design software usually supports designers to design schematics independently. However, in actual use, designers are required to manually add various components and circuit connection relationships, mark the pins and connection methods of the components, and finally generate schematics. Based on this, for some large-scale PCB board designs, designing schematics is a very large workload and the design process is relatively cumbersome.

[0052] In view of the above problems, this application creatively proposes a technical solution to design a PCB design interactive system. By designing a database, the functional modularization of the schematic diagram is realized. Under the premise of ensuring the product function, it helps designers improve the design efficiency of the schematic diagram. The details are as follows:

[0053] First, prepare the database that comes with the PCB design interactive system. The database stores as many components of different models and the functional attribute data of each component as possible, and stores common module schematics that can realize some specific functions, such as the schematics of some common power modules. The database includes a schematic database that stores schematics and a PCB database used for PCB design. In order to make the database adaptable to PCB design, the logical framework of the schematic database and the logical framework of the PCB database are interconnected in a corresponding manner, such as Figure 1a and Figure 1b As shown, in this way, when the functional module data selected by the designer is received, the PCB design framework corresponding to the schematic diagram can be quickly found according to the schematic diagram corresponding to the functional module, and directly called for use, without the need for the designer to design the schematic diagram from scratch.

[0054] After the designer logs in to the PCB design interactive system, a product design requirement selection window is provided to the designer. The designer can select the product type, function type and module type in the requirement selection window. Selecting one or more function types means selecting the functional effects that the product needs to achieve, and selecting one or more module types means selecting the functional modules that the designed product should include. The selection of function type and module type are both made to obtain the target product and need to correspond to the functions of the target product.

[0055] After receiving the designer's selection result data, the relevant chips, modules and module schematics corresponding to the customer's special needs are extracted from the database according to the selection result data, and then a new PCB project file is created based on these module schematics. According to the circuit connection between the modules, these module schematics are integrated into the schematics corresponding to the product, and the schematics corresponding to the product are imported into the PCB file.

[0056] This embodiment can quickly locate the type, function and functional modules of a product through the above scheme. After the designer selects the product type, function type and module type, the system directly retrieves the corresponding module schematic from the database, and then integrates it into the product schematic. After checking that it is correct, it is determined as the schematic corresponding to the product, so as to help the designer design the schematic. The designer does not need to draw the schematic from scratch, manually add various components and connection relationships, mark the pins and connection methods of the components, etc., which greatly improves the designer's schematic design efficiency while ensuring the product function.

[0057] It should be noted that when designers design products, there may be a situation where a certain functional module is needed but this functional module is not stored in the database, that is, there is no pre-stored functional module and corresponding schematic diagram. In this case, the designer can set the schematic diagram of the functional module by himself, and upload it to the PCB design interactive system after design. After verification by the background staff, the functional module and the corresponding module schematic diagram and other data can be added to the database, and the content of the database can be updated and expanded, so that subsequent designers can directly retrieve the functional module from the database when they have the same needs.

[0058] Secondly, the layout process of the PCB board is analyzed. After the schematic design is completed, the schematic needs to be converted into a PCB layout. PCB layout is to place circuit components on the PCB board according to certain rules and layout methods to meet the performance requirements of the circuit and the manufacturing requirements of the PCB board. In the PCB layout, factors such as the position, direction, signal transmission path, and power line of the components need to be considered. This process also requires designers to spend a lot of time and energy.

[0059] It is understandable that when the designer determines the schematic diagram, the software can obtain the corresponding netlist (also called network table) according to the schematic diagram. In the PCB design process, the netlist is the bridge between the electrical schematic diagram and the PCB board. The netlist is generally composed of the component table and the connection network table. The component table describes the three major properties of each component in the schematic diagram, including component number, component packaging form and component model. The connection network table contains all electrical connection networks in the schematic diagram, including network name, node information in the network, network connection description, etc. Subsequent PCB layout or wiring processes will be designed based on the information of the schematic diagram and the netlist.

[0060] In existing PCB design software, subsequent PCB layout based on the schematic diagram is usually completed manually by the designer. When the scale of the PCB board is large, it is also a huge workload for the designer to manually layout the PCB: the connections on the PCB board can be roughly regarded as connections on a two-dimensional plane. The connections between the components to be set on the PCB board need to be as non-overlapping and non-crossing as possible. The designer needs to consider the specifications of the PCB board and determine the positions of the components on the PCB board. At the same time, it is also necessary to consider the impact of the electrical connection relationship between modules or components on the layout position, which is a large workload for the designer.

[0061] In view of the above technical problems, this embodiment also proposes an improved method, which is as follows:

[0062] After the schematic diagram is imported into the PCB design interactive system, the components contained in the schematic diagram are automatically classified according to their functions, and divided into multiple functional modules according to their functions in the PCB drawing, and the components corresponding to each functional module are placed in a regional manner.

[0063] Usually, each functional module and the connection relationship between them correspond to the circuit relationship in the schematic diagram, and the circuit connection problem also needs to be taken into account when placing these functional modules on the PCB. Some designers may not have a specific placement habit for the position of chips or modules, and will arrange the PCB placement at will; some designers may have their own preferences for the placement of certain chips or modules based on their own habits, for example, they may prefer to place the power module at the edge of the PCB such as the lower left corner or lower right corner of the PCB; or they may prefer to place the control chip in the middle of the PCB; or other placement preferences based on personal habits.

[0064] Based on this, according to the circuit connection relationship of the schematic diagram, the present application provides a PCB automatic layout method. Combined with the schematic diagram, after the components corresponding to each functional module are divided according to the function, the components corresponding to each functional module are regionalized and placed, and at least three possible placement example templates are provided for each functional module according to the PCB layout for the designer to choose. The example templates are divided with corresponding input and output ends. The designer can directly select the desired template in the interactive window and retrieve the corresponding model from the database. After determining the placement model of all functional modules, the system automatically displays the layout of each functional module on the PCB display interface according to the circuit connection relationship in the schematic diagram.

[0065] After setting the layout of each functional module, adjust the layout according to the PCB layout to obtain a complete PCB layout, so that the PCB layout adapts to the PCB layout required by the current product, and then perform automatic routing according to the complete PCB layout. Specifically, you can first detect whether there are large gaps or open spaces around each functional module. If not, it means that the arrangement around the functional module is relatively compact, and there is no need to readjust the position of the nearby functional modules. If yes, it means that there is a large open space around the module, which may cause a waste of PCB board layout space. At this time, based on the PCB layout, you can appropriately adjust the position of each functional module so that the arrangement between the functional modules is relatively compact, and make the best use of the gaps / open spaces between the functional modules.

[0066] After setting up the complete PCB layout, first perform automatic routing for each functional module according to the divided functional modules. After completing the routing of all functional modules, perform automatic routing for the entire PCB. The system can automatically obtain the block schematic corresponding to the entire circuit, and perform automatic module routing or automatic routing of the entire board based on various signals in the module schematic. Designers do not need to manually complete various wiring settings in the circuit, saving a lot of time and helping designers improve design efficiency.

[0067] Based on the above-mentioned design concept of this embodiment, this embodiment is further explained in combination with specific scenarios.

[0068] Figure 2 A PCB design method is provided in an embodiment of the present application. The method is applied to a PCB design interactive system. The system includes a database. The database stores components of different models and functional attribute data of each component, and stores module schematics that can realize some specific functions. The database includes a schematic database for storing schematics and a PCB database for PCB design. In order to make the database adaptable to PCB design, the logical framework of the schematic database and the logical framework of the PCB database are in a corresponding interconnected relationship, such as Figure 1a and Figure 1b As shown, in this way, after determining one or some functional modules, you can quickly find the PCB design framework corresponding to the schematic diagram of the functional module and directly call it for use.

[0069] like Figure 2 As shown, the method includes:

[0070] S11, obtaining a schematic diagram corresponding to the product, wherein the schematic diagram includes a plurality of module schematic diagrams divided according to functions. Figure 3 , the obtaining of the schematic diagram corresponding to the product includes:

[0071] S111. Provide at least one product type option and at least one functional module option for user selection, and determine the product demand data based on the user's selection result.

[0072] Among them, product demand data includes product type data and functional demand data. For example, after the designer logs in to the PCB design interactive system, a product design demand selection window is provided to the designer, such as Figure 4As shown, the designer can select the product type, function type (shown as function selection in the figure) and module type in the demand selection window. Taking product type as an example, it can be divided according to different fields, such as aerospace, home appliances, industrial machinery, etc.; it can also belong to the same field and be divided according to different types, such as televisions, refrigerators, washing machines, etc.; it can also be divided according to the same type and different application conditions, such as central air conditioners, cabinet air conditioners, hanging air conditioners, etc. It can be understood that these selection windows can be designed according to specific application scenarios in different situations, and are not limited here. During the selection process, the user can click the triangle mark to bring out the drop-down option and select from the multiple function examples shown, or search for keywords in the search box on the right to quickly find the target function. For example, when the user selects TV in the product type, the function selection will include TV-related function types for the user to choose, such as HDMI, antenna, USB, etc. Assuming that the user selects antenna in the function type, the module type selection will include multiple antenna types for the user to choose.

[0073] S113, extracting relevant chips, modules and module schematics corresponding to the customer's special requirements from the database based on the product requirement data.

[0074] Furthermore, the database can also be divided into a chip database, which is used to store the functions corresponding to each chip, and the corresponding schematic diagram when the chip implements a certain (or certain) function (including the chip and the peripheral circuits corresponding to the function, such as crystal oscillator, reset, power supply, etc.); a functional module database, which is used to store modules that implement different functions and the corresponding schematic diagrams; and a customer special needs database, which is used to store customer special needs and functional module design examples corresponding to special needs, wherein the customer special needs database can be updated and expanded as different customers have different product needs.

[0075] Figure 5a and Figure 5b An example of a process of extracting relevant chips, modules and module schematics corresponding to customer special requirements from the database and storing them in product folders is presented. Figure 5a As shown, Figure 5aThis is an example of a chip database, a function module database, and a customer special needs database. Assume that the chip database includes schematics (PCB versions) corresponding to three chip modules, named chip A, chip B, and chip C respectively; the customer special needs database includes three customer special needs, named customer A, customer B, and customer C respectively; the function module database includes schematics (PCB versions) corresponding to five function modules, named function 1 to function 5 respectively. Then, according to the product demand data obtained in the above steps, the corresponding files are obtained from it. Assuming that the product is an air-conditioning product, the corresponding PCB design needs to use the schematics corresponding to chip B, function 1, function 3, and function 4, and needs to meet the customer special needs corresponding to customer B. Then the integrated product folder example is as follows: Figure 5b shown.

[0076] Among them, in order to facilitate users to find files, product folders can be based on Figure 4 The product type selected in the example is automatically named in combination with the suffix (e.g. "_A0") used as the version number. Figure 5b Named as "Air Conditioning Product_A0".

[0077] S115. Create a new PCB project file according to the module schematic diagram, generate a product schematic diagram, and check the circuit in the schematic diagram.

[0078] Import the module schematics into the PCB design software in the system, create a new PCB project file, and synchronize the project file to the product folder. After the software is running, these module schematics are integrated into the corresponding schematics of the product according to the circuit connections between the modules, and the circuits in the schematics are checked, including checking whether the line connections are complete one by one, whether the component position numbers are repeated, etc. If there are problems, an error report is output, and the error content is obtained and classified in combination with the error report. Then, the error position in the schematic is located according to the error content, and corresponding processing suggestions are given to facilitate designers to adjust / modify the schematic to obtain the correct schematic.

[0079] According to the components and line connections in the schematic diagram, verify whether the PCB package corresponding to each component is correct in the PCB interface, and import the components to the PCB (this process can also be called importing the netlist to the PCB). During the process of importing the netlist from the schematic diagram to the PCB, if there is an exception, the execution process is suspended, and an exception report is output, listing the exception items and the reasons for the exception one by one. Among them, the exception handling logic framework diagram is as follows Figure 6 As shown, after an abnormality is detected, an error is reported, the abnormal position is located and the problem points where the abnormality occurs are summarized, the problem points are sorted out and analyzed, the cause of the error and the recommended processing method are found, the problem points are classified according to the cause of the error, and a processing window pops up so that the user can adjust or modify the schematic diagram according to the processing suggestions.

[0080] S117, based on the schematic diagram, the components are classified according to their functions, and divided into multiple functional modules according to their functions in the PCB drawing, and the components corresponding to each functional module are regionally arranged to determine the module schematic diagram. Figure 7 It should be noted that although the above step S117 is distinguished from step S115, in the actual process, the regional placement of the classified components according to their functions and the importation of the schematic diagram into the netlist to the PCB can be performed simultaneously.

[0081] In some embodiments, in some cases, the designer may already have a complete schematic diagram, and the designer wants to design the PCB according to his own schematic diagram without obtaining the schematic diagram through the above steps S111-S117. In this case, Figure 8 , the method for obtaining a schematic diagram may further include:

[0082] S112, obtaining the initial schematic diagram provided by the user. The schematic diagram is split into a logic block diagram such as Fig. 9 shown.

[0083] S114, summarizing the initial schematic diagrams, and classifying the information of the summarized initial schematic diagrams.

[0084] It is understandable that the initial schematic provided by the designer may be a complete schematic or a summary of multiple schematics. After obtaining the initial schematic, it is first analyzed. Based on the circuit connection relationship in the schematic, the marked components, device pins and connection methods, the relevant attribute information of each component in the schematic is statistically calculated.

[0085] It is understandable that after summarizing the initial schematic diagram, the circuit in the schematic diagram can also be checked. If an error is reported during the check, the designer can also modify the schematic diagram according to the error report, which is similar to the process of checking the circuit in the schematic diagram in the above step S115, and will not be repeated here.

[0086] S116. Decompose the initial schematic diagram into functional modules according to the classified information to obtain at least one module functional module corresponding to the initial schematic diagram and a module schematic diagram corresponding to the functional module.

[0087] like Fig. 9As shown in the figure, the components are classified according to the chip information, package pin information, network name and other remarks information, and the schematic pages of different functional modules are established through the split processing window. The schematics are split according to the functions through the classification module to obtain multiple functional module schematics, and the components of each functional module are classified accordingly, such as the power module, chip module, terminal functional module and other unknown named modules shown in the figure, and finally the split report is output. Among them, the example of the split report can be found in Fig. 9 , the components are divided into module 1 and module 2 (and possible module 3, module 4, etc. not shown in the figure) according to their functions, and the initial schematic diagram is correspondingly split into a functional module 1 schematic diagram and a functional module 2 schematic diagram (and possible functional module 3 schematic diagram, functional module 4 schematic diagram, etc. not shown in the figure).

[0088] S12. Plan the PCB layout according to the divided functional modules.

[0089] Specific, combined Fig.10 , the PCB layout planning according to the divided functional modules includes:

[0090] S121, setting the corresponding module layout according to the module schematic diagram. Figure 8 As shown, according to the package pin information or network name and other data of each component in the schematic diagram and the netlist, the components are classified into power components, signal filtering components and signal matching resistor components, and the layout condition ranges are set respectively.

[0091] like Fig.11 As shown, examples of layout condition ranges are as follows: for power components, layout condition range 1 can be set, for example, the power pin filter capacitor can be set to be close to the chip and within a distance range of 0.8mm-2mm from the chip pin; for signal filter components, layout condition range 2 can be set, for example, the signal filter capacitor can be set to be close to the chip and within a distance range of 0.8mm-2mm from the chip pin; for signal matching resistor components, it can be set as follows: under the premise of layout condition range 1 and layout condition range 2, matching resistor components are laid out according to the remaining space around the chip and the principle of proximity.

[0092] It can be understood that the above layout condition range example only provides a preferred component layout setting, and is not limited to arranging components only according to the above layout condition range 1 or layout condition range 2. In some embodiments, the layout of components can be set according to settings different from the above layout condition ranges.

[0093] Based on this, one or more example placement templates can be displayed for each functional module for the designer to choose, and the designer can select the desired model for each functional module. Fig.12a , 12b As shown in FIG. 12c, specifically, the functional modules are divided into general modules and special modules. Fig.12a The window shown in the figure shows that the general modules include the more common functional modules in PCB design, which usually do not have major changes when they are called and used, such as Figure 12b As shown in the figure, five models of placement examples of components corresponding to a functional module are shown. These models stored in the database are retrieved and displayed in the window for designers to choose. Special modules include some modules that can be modified by designers according to customer requirements, such as Fig.12c As shown, similarly, several models corresponding to these modules stored in the database are retrieved and displayed in the window for designers to choose. If in some cases, the designer is not satisfied with the models shown, he can also click the Add button in the figure to set the placement model himself, and edit the component arrangement, connection relationship and input and output terminals of the functional module. Without violating the logic of the basic circuit principles, the designer can adjust the position model corresponding to each component in the functional module.

[0094] In some embodiments, the platform can also provide an appropriate reward mechanism, such as giving the user a certain number of points after the placement template of the functional module uploaded by the user is reviewed and approved, so as to motivate the user's creative confidence. In addition, the reviewer can also authorize the placement template that has passed the review to be developed into the database, expand the content of the database, so that the designer can directly call the template next time, or open it to other designers for use.

[0095] S122, adjusting the module layout based on the PCB layout to achieve automatic PCB layout corresponding to the schematic diagram. Fig.13 As shown, it is possible to detect whether there is a large open space around the functional module, that is, whether there is a large area where no components are set, such as Fig.13 In the example, check whether there is an open space larger than 200mil*200mil around the functional module. If not, it means that the layout around the functional module is relatively compact, and the current functional module can be skipped to continue detecting the next functional module. If so, it means that there is a large open space around the module, and the positions of the surrounding functional modules can be appropriately moved to make the arrangement between the functional modules relatively compact.

[0096] It should be noted that the setting of 200mil*200mil in the above-mentioned open space detection process is only used as an example value for convenience of explanation, and is not limited to being set according to this numerical example. In actual usage, the range judgment value can be set according to the usage scenario.

[0097] In some embodiments, the position of the functional module or the surrounding functional modules can be adjusted by setting a movement rule to obtain an overall circuit layout that fits the PCB version. Among them, the movement rule can be set to: determine the reference point, for example, the center of the lower right corner module or the lower left corner functional module of the PCB board range frame can be used as the reference point, and the functional modules around the functional module are moved as a whole, that is, while keeping the layout of the components in the functional module unchanged, the entire functional module is moved up and down, left and right to the position of the open space, and each functional module near the reference point is moved in sequence from near to far according to this rule. For example, still using the above example numerical values ​​for explanation, assuming that there is an open space range greater than 200mil*200mil around a functional module on the leftmost side of the PCB board range, then, taking the center of the functional module as the reference point, assuming that there are 3 functional modules arranged in sequence on its right, then starting from the leftmost functional module among the three functional modules, move to the left (or to the upper left or lower left) in sequence to make the open space range be utilized.

[0098] It should be noted that in the embodiment of the present application, the setting method of the movement rule is only an example. The layout of each functional module can be adjusted based on the PCB version and product requirements. For example, for some products with small PCB boards and low requirements for circuit accuracy, the layout of each functional module can be set more compactly; for some products with high requirements for circuit accuracy, in order to reduce some electromagnetic interference or noise factors during signal transmission, some space can be appropriately reserved around components, connecting lines or functional modules that may cause influence.

[0099] S13, performing automatic PCB routing based on the PCB layout. After the PCB layout is determined, automatic routing simulation is performed on each functional module until the routing simulation of all functional modules in the schematic diagram is completed. Specifically, performing PCB routing based on the PCB layout includes:

[0100] S131, performing corresponding module routing according to the module layout.

[0101] When the system determines that the above PCB layout process has been completed, the system can display the following Fig.14aThe window shown in the figure is used to enter the process of automatic routing simulation. Specifically, after the designer selects a functional module, the system automatically obtains the module schematic corresponding to the functional module, identifies the network symbols in the module schematic, screens out common signals, power signals and sensitive signals, and then adjusts the corresponding signal properties and routing requirements respectively. It should be noted that the module schematic stored in the database is a defined schematic. All signals corresponding to the functional module can be obtained according to the schematic. Here, these signals are summarized and classified to facilitate the subsequent routing simulation design of different constraints for these signals according to different products and signal types.

[0102] Combination Fig.15 , get the signal classification according to the module schematic. If all the corresponding signal classifications cannot be obtained according to the module schematic, for example, the schematic is incomplete and the network symbols are lost, or the designer wants to add additional signals by himself, Fig.14a , designers can manually add signal types based on the Add button in the diagram window and classify them as sensitive signals, power signals, or normal signals. Fig.15 As shown, according to the routing priority, sensitive signals are usually the first priority, power signals are the second priority, and common signals are the last priority. After setting the corresponding constraints, signal routing is performed according to the routing priority.

[0103] Specifically, Figure 14b-Figure 14d The following table shows examples of signal routing attributes or routing requirements that can be selected for three signal classification types. Based on this, designers can set and adjust various attributes, that is, the constraints corresponding to this type of signal, including setting the layer where the signal is prioritized, the number of vias required when changing layers, etc. For example, for sensitive signals, you can set which networks need to be kept away from during routing, the distance range from interference sources and interference signals, etc.; for power signals and ordinary signals, you can set the line width, the distance from other network routing, etc.

[0104] Understandably, Figure 14b-Figure 14d The "Network Name, Width, Line Width, Priority Layer, and Number of Vias" shown in the example are only examples of common general settings. If the designer needs to define other settings, he can add the properties that need to be adjusted or changed in the Add button. In addition, if there are special function modules, there are other special signals involved that are different from the three signal classification types in the above examples, such as Fig.14a The window shown may also provide designers with an add button to facilitate them to adjust the routing of special signals. If the designer is not satisfied with certain routing results automatically completed by the system, the designer may also manually optimize the signal routing.

[0105] S132: When the module routing is successful, the entire board performs automatic routing.

[0106] Specifically, after the internal wiring of each functional module is simulated, the automatic wiring process is entered, and the following is shown: Fig.16a The window interface shown in the figure is used to perform automatic routing for the entire board. First, according to the network names in the schematic diagram, each signal is classified in a more detailed manner (different from the classification of sensitive signals, power signals and ordinary signals in the above steps). After the designer clicks the net classify button, the following window is displayed: Fig.16b The window diagram shown is shown, where each class represents a signal, for example, class1 can be an HDMI signal, class2 can be a USB signal, and so on.

[0107] After completing the signal classification, the designer can directly click the next button on the current interface to enter the subsequent signal classification process; or click the exit button to exit the current interface and return to Fig.16a Click the priorities button to continue the subsequent signal sorting process: automatically sort all signal types according to the circuit connection relationship and signal type in the schematic diagram. After the designer clicks the next button or the priorities button, the following screen is displayed according to the sorting results: Fig.16c Schematic diagram of the sorting panel shown, where the designer can make adjustments to an unsatisfactory sorting, such as manually entering the priority of the signal class using the num button.

[0108] After setting the signal sequence, the designer can directly click the next button on the current interface to enter the interface corresponding to the subsequent automatic routing process; or click the exit button to exit the current interface and return to Fig.16a After the designer clicks the Next button or the Auto Rout button, the following interface is displayed: Fig.16d In the window interface shown, the system automatically routes each class signal in turn, and displays the routing progress of the class signal on the window panel for the designer to view: if the routing of the class is completed successfully, the OK button corresponding to the class will light up; if the routing fails, the NG button corresponding to the class will light up. At this time, if the designer clicks the NG button, the circuit network (or circuit structure) where the routing fails corresponding to the class will be displayed to facilitate the designer to adjust the signal routing.

[0109] When the signal routing of the entire board is completed, the designer can click the exit button to exit the interface and return to Fig.16aThe interface shown in the figure indicates that the classified signal routing is completed. If there are still a few unclassified signals that have not been routed, the designer can be prompted to manually process them; if the designer is not satisfied with the automatic routing results, he can also manually optimize the unsatisfactory routing parts. Then the electrical performance DRC check (Design Rule Check, Design Rule Check, DRC check can check and find designs that do not meet the predetermined design specifications in real time during the PCB Layout process) is performed on the signal routing of the entire board. After the designer clicks the electrical check button, the following screen is displayed: Fig.16e The window interface shown automatically checks the electrical performance of each type of signal, and displays the inspection progress of the class signal on the window panel for the designer to view: if there is no modification item after the class inspection, the corresponding OK button will light up; if there is a modification item, the corresponding NG button will light up. At this time, if the designer clicks the NG button, the details of the modification item will be displayed to facilitate the designer to make adjustments.

[0110] After the PCB automatic routing is completed, the method also includes automatically placing the component position number on the screen. After determining that the PCB automatic routing is completed, the system can prompt the user to enter the screen printing setting interface, and the user can choose which components to operate, for example, the front component can be screen printed on the back, the front component can be screen printed on the front, the back component can be screen printed on the front, or the back component can be screen printed on the back, and then enter the screen printing setting interface. Fig.17 An example of an interactive window for silkscreen settings is shown in Fig.17 As shown, users can check the corresponding functions according to different products and customer needs. For example, you can set the single-panel silk screen font to Arial, with a font size of 2mm; the multi-layer silk screen font to Arial, with a font size of 1.27mm, etc. After the user selects and confirms in the graphic interface, the system automatically adjusts the component position number silk screen according to the user's selection. If the silk screen setting is abnormal, the system will report an error and output an abnormal report. For example, if the silk screen font is set to be within 2mm of the device body, if it exceeds the range, an error will be reported and an abnormal report will be output, which is convenient for designers to manually adjust the position number silk screen according to the abnormal report. It should be noted that Fig.17 This is just an example of an interactive window for users to set silk screen printing for the convenience of explanation, and is not used to limit the form and display content of the silk screen printing setting interactive window.

[0111] S14, outputting the production file, and saving the production file to the product folder.

[0112] Specifically, after the whole PCB layout and routing are determined, the PCB design result files are output according to different products and customer requirements, and the corresponding production files are output to the product folder, where the production files include gerber files, steel mesh files, material BOM tables, production silk screens, and repair PCB files. After completing the entire PCB design process, the system can also be set to automatically publish the design results to notify relevant staff, for example, a notification email about matters related to this PCB design can be sent to the mailbox of relevant personnel.

[0113] The PCB design method provided in the embodiment of the present application is applied to a PCB design interactive system. By collecting the design requirements of the target product, the corresponding functional modules and schematic diagrams are directly extracted from the database, replacing the repeated operations of obtaining components and designing connections in the designer's design schematic diagram, thereby helping the designer to design the schematic diagram corresponding to the product. The components can also be classified according to their functions according to the schematic diagram, and the components can be regionalized according to the functional modules to complete the PCB layout. Under the premise of ensuring the product function, the designer's PCB design efficiency is greatly improved.

[0114] The present application also provides a PCB design interactive system. Fig.18 As shown, the PCB design interactive system 100 includes: a database 101, a schematic diagram acquisition module 102, a PCB automatic layout module 103, a PCB automatic routing module 104 and a file output module 105.

[0115] Specifically, the database 101 stores components of different models and functional attribute data of each component, and stores module schematics that can realize some specific functions. The schematic acquisition module 102 can obtain the schematic, wherein the schematic includes multiple module schematics divided according to functions. The PCB automatic layout module 103 can set the corresponding module layout according to the module schematic, and can also adjust the module layout based on the PCB version to realize the PCB automatic layout corresponding to the schematic. The PCB automatic routing module 104 can perform PCB automatic routing based on the PCB layout. The file output module 105 can output production files and save the production files to the product folder.

[0116] The PCB design interactive system can execute the above PCB design method, and has the functional modules and beneficial effects corresponding to the execution method. For technical details not described in detail in the PCB design interactive system embodiment, please refer to the PCB design method provided in the embodiment of this application.

[0117] The present application embodiment provides an electronic device, see Fig.19 , Fig.191 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device 200 includes at least one processor 201 and a memory 202 that is communicatively connected to the at least one processor 201, wherein the memory 202 stores instructions that can be executed by the at least one processor 201, and the instructions are executed by the at least one processor 201 so that the at least one processor 201 can execute the PCB design method in the above method embodiment. The processor 201 and the memory 202 can be connected via a bus or other means. Fig.19 The example of connecting through bus is taken in the following.

[0118] The processor 201 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), a hardware chip or any combination thereof; it may also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The above-mentioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.

[0119] The memory 202 is a non-transitory computer-readable storage medium that can be used to store non-transitory software programs, non-transitory computer executable programs and modules. The processor 201 can implement the PCB design method in any of the above method embodiments by running the non-transitory software programs, instructions and modules stored in the memory 202, that is, it can implement Figure 2 the whole process.

[0120] The electronic devices of the embodiments of the present application exist in various forms, including but not limited to: a. Ultra-mobile personal computer devices, which belong to the category of personal computers, have computing and processing functions, and generally also have mobile Internet access features. Such devices include: PDA, MID and UMPC devices, such as laptop computers. b. Server: A device that provides computing services. The server consists of a processor, hard disk, memory, system bus, etc. The server is similar to a general computer architecture, but because it needs to provide highly reliable services, it has higher requirements in terms of processing power, stability, reliability, security, scalability, manageability, etc. c. Other electronic devices with data interaction functions.

[0121] Through the description of the above implementation methods, ordinary technicians in this field can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, it can also be implemented by hardware. Ordinary technicians in this field can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0122] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Under the concept of the present application, the technical features in the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other changes in different aspects of the present application as described above, which are not provided in detail for the sake of simplicity. Although the present application has been described in detail with reference to the aforementioned embodiments, a person of ordinary skill in the art should understand that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features can be replaced by equivalents. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A PCB design method, applied to a PCB design interactive system, characterized in that: The system includes a database, in which components of different models and functional attribute data of each component are stored, and module schematics capable of realizing certain specific functions are stored, including: Obtaining a schematic diagram corresponding to the product, wherein the schematic diagram includes a plurality of module schematic diagrams divided according to functions; Setting the corresponding module layout according to the module schematic diagram; The module layout is adjusted based on the PCB layout to achieve automatic PCB layout corresponding to the schematic diagram.

2. The method according to claim 1, characterized in that The setting of the corresponding module layout according to the module schematic diagram comprises: Obtaining components included in the schematic diagram; According to the module schematic, the components are divided to obtain components corresponding to each functional module; The components corresponding to each functional module are placed according to the layout condition range to determine the module layout corresponding to the functional module.

3. The method according to claim 2, characterized in that Placing components corresponding to each functional module according to the layout condition range to determine the module layout corresponding to the functional module includes: Based on the module schematic, the components are classified according to their functions, wherein the classification of the components at least includes power supply components, signal filter components and signal matching resistor components, and each classification is correspondingly provided with a layout condition range; The components are placed according to the corresponding layout condition range to determine the module layout corresponding to the functional module.

4. The method according to claim 3, characterized in that The setting rules of the layout condition range include: The layout condition range corresponding to the power supply components is the optimal layout condition range; The layout condition range corresponding to the signal filtering components is a suboptimal layout condition range; The layout conditions corresponding to the signal matching resistor components are the final layout condition range.

5. The method according to claim 1, characterized in that The adjusting the module layout based on the PCB layout to realize the automatic PCB layout corresponding to the schematic diagram includes: Determine the functional module at the inner corner of the PCB layout as a reference point; Detecting whether there is an open space range greater than a preset threshold around the functional module serving as a reference point; If so, adjusting the position of the adjacent functional module in the direction of the functional module corresponding to the open space so that the range of the open space is smaller than the preset threshold; If it does not exist, the next functional module adjacent to the reference point is selected in sequence as the next reference point, and the above-mentioned open space range detection step is repeated.

6. The method according to claim 1, characterized in that The obtaining schematic diagram comprises: Providing at least one product type option and at least one functional module option for the user to select, and determining the product demand data based on the user's selection result; Extracting relevant chips, modules and module schematics corresponding to special customer requirements from the database based on the product requirement data; Create a new PCB project file based on the module schematic, generate the product schematic, and check the circuit in the schematic.

7. The method according to claim 1, characterized in that The obtaining schematic diagram comprises: Get the initial schematic provided by the user; Classifying information of the initial schematic diagram; The initial schematic diagram is split into functional modules according to the classified information to obtain at least one module functional module corresponding to the initial schematic diagram and a module schematic diagram corresponding to the functional module.

8. The method according to claim 1, characterized in that The method further includes performing PCB routing based on the PCB layout, wherein performing PCB routing based on the PCB layout includes: Execute corresponding module routing according to the module layout; When the module routing is successful, the entire board performs automatic routing.

9. The method according to claim 8, characterized in that Executing corresponding module routing according to the module layout includes: Identify network symbols in the module schematic and filter out common signals, power signals and sensitive signals; respectively adjusting the signal properties and routing requirements corresponding to the common signal, the power signal and the sensitive signal; Signal routing is performed according to the signal attributes and the routing requirements.

10. The method according to claim 9, characterized in that The automatic routing of the whole board includes: Classify each signal according to the network naming in the schematic diagram; Automatically sort all signal classes according to the circuit connection relationship and signal type in the schematic diagram; Automatically route each signal class according to the order of the signal classes until all signal classes have completed routing.

11. The method according to claim 1, characterized in that: The method further comprises: Collect and review the layout templates of functional modules uploaded by users; After the placement template is reviewed and approved, the placement template is authorized and developed into the database.

12. The method according to claim 1, characterized in that The method further includes automatically printing the position number of the swing component, and the automatically printing the position number of the swing component includes: Present an interactive window for users to set up silk screen printing, so that users can confirm the silk screen printing setting information; The silk screen setting information is obtained, and the component position number silk screen is automatically arranged according to the silk screen setting information.

13. The method according to claim 1, characterized in that The method further comprises: Output the production file and save the production file to the product folder.

14. A PCB design interactive system, used to execute the PCB design method according to claims 1-13, characterized in that: The system comprises: A database storing components of different models and functional attribute data of each component, and storing schematic diagrams of modules that can realize certain specific functions; A schematic diagram acquisition module, used to acquire a schematic diagram, wherein the schematic diagram includes a plurality of module schematic diagrams divided according to functions; The PCB automatic layout module is used to set the corresponding module layout according to the module schematic diagram, and is also used to adjust the module layout based on the PCB version to achieve the PCB automatic layout corresponding to the schematic diagram.

15. The PCB design interactive system according to claim 14, characterized in that: The system further comprises: A PCB automatic routing module, used for performing PCB routing based on the PCB layout; The file output module is used to output the production file and save the production file to the product folder.

16. 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 instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the PCB design method as described in claims 1-13.

17. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the PCB design method according to any one of claims 1 to 13.

Citation Information

Cited By

  • PCBA processing component layout optimization method and system

    CN120257931A