Intelligent layout method and device for PCB components and medium

By obtaining the circuit schematic diagram in the PCB design, dividing functional modules and matching them with the template, extracting the layout rules of multiplexable components, and using AI technology to realize the intelligent layout of components, solving the low efficiency of component layout in the existing technology The problem has improved layout efficiency and accuracy.

CN119047406APending Publication Date: 2024-11-29BEIJING TIANDI YIGE TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411136316.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-19
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

In existing PCB designs, the component layout efficiency is low, and it relies on manual operation, which is prone to omissions and errors, and the intelligent automatic layout of components cannot be achieved.

Method used

By obtaining the circuit schematic, dividing functional modules and matching them with preset functional templates, extracting the layout rules of multiplexable components, using AI technology to realize the intelligent layout of components, distinguishing between reusable and non-reusable components, and reducing labor Find and modify work.

Benefits of technology

Improve the efficiency of component layout, reduce the frequency of errors and rework, and gradually improve the functional templates by recording the layout process and results to achieve self-improvement of intelligent layout.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119047406A_ABST
    Figure CN119047406A_ABST
Patent Text Reader

Abstract

The invention discloses an intelligent layout method and device for PCB components and a medium, and relates to the technical field of integrated circuits. The intelligent layout method comprises the following steps: acquiring a schematic circuit diagram to be arranged and dividing the schematic circuit diagram into at least one functional module, matching the functional module with a preset functional template to obtain a reusable functional template, and extracting the same components in the functional template and the reusable template to perform reuse of a layout rule. Therefore, checking and modifying work after overall multiplexing is avoided, and the overall layout efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of integrated circuits, and in particular to an intelligent layout method, device and medium for PCB components. Background Art

[0002] In the field of PCB design, rule design, layout, wiring and other tasks are currently mainly completed manually. Manual modules need to be grabbed according to the schematic diagram, and the modules that can be grabbed only stay at the level of gathering components together. The components need to be further placed, and intelligent layout cannot be achieved. In addition, each layout requires repeated execution of module grabbing according to the schematic diagram, and manual search and reuse are still required after grabbing. Although the overall grabbing of reused modules can improve the efficiency of layout to a certain extent, the layout after grabbing the module still requires a lot of manual work, which is prone to omissions and errors of components, and the layout efficiency still needs to be further improved. Summary of the invention

[0003] The present invention provides a method, a device and a medium for intelligent layout of PCB components to solve the problems of low intelligence level and low layout efficiency of existing PCB layout.

[0004] The present invention is achieved through the following technical solutions:

[0005] A first aspect of the present invention provides an intelligent layout method for PCB components, comprising:

[0006] Acquire a circuit schematic diagram to be laid out, and divide the circuit schematic diagram into at least one functional module;

[0007] Matching the functional module with a preset functional template to obtain a reuse module in the functional module and a reuse template in the functional template that matches the reuse module;

[0008] Extract the first component in the multiplexing module, obtain the layout rule of the first component in the multiplexing template, and layout the first component on the PCB board according to the layout rule; wherein the first component is the same component in the multiplexing module as that in the multiplexing template.

[0009] The present invention relies on AI intelligent technology, and by presetting functional templates, matches the functional modules that can be reused in the circuit schematic diagram to be laid out, and can quickly call the layout of components in the functional template for reuse. In view of the situation that the prior art can only perform module capture but not automatic layout, by extracting the same components in the reused module to be laid out as in the reused template, the layout of the same components is reused, thereby avoiding the search and modification work after overall reuse. And the reused template obtained by matching is highly similar to the reused module to be laid out, so the components that can be directly reused account for the majority, and the number of components that cannot be directly reused is small, which further improves the overall layout efficiency. By distinguishing between reusable components and non-reusable components, it can also help to quickly find leaks, reduce the frequency of layout errors, and reduce modification and rework work.

[0010] In some implementations, the method further includes: extracting a second component in the multiplexing module, the second component being a component in the multiplexing module that is different from the multiplexing template;

[0011] Obtaining a layout rule of the second component;

[0012] The second components are arranged on the PCB board according to the layout rule of the second components.

[0013] In some implementations, acquiring the layout rule of the second component includes: searching for a guide manual of the second component on an open network, and acquiring the layout rule of the second component according to the guide manual.

[0014] In some implementations, the acquiring the layout rule of the second component includes: acquiring the layout rule of the second component input by a user.

[0015] In some implementations, the placing of the second component on the PCB board according to the placement rule of the second component includes: acquiring a network name of the second component according to a netlist of the circuit schematic;

[0016] According to the layout rule of the second component, the second component is placed next to the pin of the first component having the same net name.

[0017] In some implementations, matching the functional module with a preset functional template to obtain a reuse module in the functional module and a reuse template in the functional template that matches the reuse module includes:

[0018] The similarity between the function module and the function template is calculated, and the function module having a similarity with any function template greater than a preset value is used as a reuse module, and the function template having the greatest similarity with the reuse module is used as a reuse template.

[0019] In some embodiments, before laying out the first component on the PCB board according to the layout rule, the method further includes: determining a height limit area and a corresponding height limit of the PCB board, comparing the height of the components to be laid out in the circuit schematic with the height limit, and issuing a prompt message if the height of any of the components is greater than the height limit.

[0020] In some implementations, the method further includes: recording the layout process and layout results of each functional module on the PCB board to form a new functional template.

[0021] A second aspect of the present invention provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the intelligent layout method for PCB components described in any one of the embodiments of the first aspect of the present invention is implemented.

[0022] A third aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the intelligent layout method for PCB components described in any one of the embodiments of the first aspect of the present invention.

[0023] Compared with the prior art, the present invention has the following advantages and beneficial effects: by presetting the functional template and matching the reusable functional modules in the circuit schematic to be laid out, the component layout in the functional template can be quickly called for reuse, thus solving the problem of automatic layout and improving layout efficiency.

[0024] By extracting the same components in the reused module to be laid out as in the reused template, the layout of the same components can be reused, avoiding the search and modification work after overall reuse, further improving the overall layout efficiency. By distinguishing between reusable components and non-reusable components, it can also help quickly find leaks, reduce the frequency of layout errors, and reduce modification and rework.

[0025] For a small number of components that cannot be directly reused in the reused module, we provide methods for obtaining layout rules such as search guides and user settings, and then perform layout based on the reused components according to the layout rules, which improves the layout efficiency of components that cannot be directly reused and reduces manual workload.

[0026] By recording the layout process and layout results and continuously improving the functional template, the intelligent layout method is made to have growth potential and to improve itself as it is used.

[0027] Before placing components, height limit prompts are given to avoid placing components that do not meet the height requirements in the height limit area, which will cause the PCB layout to not meet the requirements of the height limit area. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. It should be understood that the following drawings only illustrate certain embodiments of the present invention and should not be regarded as limiting the scope. For those of ordinary skill in the art, other relevant drawings can be obtained based on these drawings without creative work. In the drawings:

[0029] Figure 1 It is a flow chart of an intelligent layout method of PCB components according to an embodiment of the present invention;

[0030] Figure 2 It is a schematic block diagram of an intelligent layout process of a multiplexing module according to an embodiment of the present invention;

[0031] Figure 3 It is a structural schematic diagram of an intelligent layout device for PCB components according to an embodiment of the present invention;

[0032] Figure 4 It is a structural schematic diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0033] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with embodiments and drawings. The exemplary embodiments of the present invention and their description are only used to explain the present invention and are not intended to limit the present invention.

[0034] It should be noted that the terms "including" and "having" and any variations thereof in the specification and claims of the present invention and the above-mentioned drawings 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 or inherent to other steps or units of the device.

[0035] The terms used in the various embodiments of the application are only used to describe the purpose of specific embodiments and are not intended to limit the various embodiments of the application. As used herein, the singular form is intended to also include the plural form, unless the context clearly indicates otherwise. Unless otherwise limited, all terms used here (including technical terms and scientific terms) have the same meaning as the meanings commonly understood by ordinary technicians in the field of the various embodiments of the application. The terms (such as the terms defined in the dictionary generally used) will be interpreted as having the same meaning as the contextual meaning in the relevant technical field and will not be interpreted as having an idealized meaning or an overly formal meaning, unless clearly defined in the various embodiments of the application.

[0036] The embodiments of the present invention provide a method, device, equipment and medium for intelligent layout of PCB components, which are suitable for intelligent layout of components of PCB boards, and are conducive to improving the intelligence level of layout and improving the efficiency of module reuse.

[0037] Most of the existing PCB layouts are still based on manually grabbing module layouts, but some of the module layouts that can be grabbed are only at the level of gathering the same module components together, and still need to be placed manually according to the layout rules of each component, and cannot automatically extract the layout of the same or similar modules as before and directly apply them to this design. It is necessary to manually search for the same or similar modules and then reuse them. Even if similar modules can be grabbed from the system, they cannot be directly reused due to the gap between the actual layout and the reuse template, which greatly reduces the layout efficiency. In view of these situations, the present invention proposes a more intelligent layout method that can reduce manual operations and realize automatic identification and efficient reuse of the same or similar modules.

[0038] See also Figure 1 As shown, Figure 1 It is a flow chart of a method for intelligent layout of PCB components provided by an embodiment of the present invention, including steps S1-S3.

[0039] S1, obtaining a circuit schematic diagram to be laid out, and dividing the circuit schematic diagram into at least one functional module.

[0040] At present, the design of printed circuit boards (PCBs) of electronic products generally involves first designing a circuit schematic in a circuit schematic design software, and then arranging components in a PCB layout software according to the circuit schematic. The method of this embodiment relies on hardware equipment to realize intelligent PCB component layout according to the circuit schematic, and provides a method for directly obtaining the circuit schematic from the outside. The circuit schematic can generally be divided into multiple functional modules, such as a communication module, a clock module, a memory module, etc. Each functional module in the circuit schematic is composed of multiple circuit components connected to each other to realize the different functions of each functional module.

[0041] Each circuit schematic has a corresponding netlist, and the netlist corresponding to the circuit schematic includes the device parameters of each circuit component in the circuit schematic and the electrical connection relationship between each circuit component. The components in the same functional module have a close connection. Therefore, the circuit schematic can be divided into at least one functional module by the parameters of each circuit component in the netlist corresponding to the circuit schematic and the connection relationship between them.

[0042] The division step of functional modules can be performed by AI, and AI models are not limited to neural network models, probability models, large language models, etc. The AI ​​model is trained by manually annotating circuit schematic samples of functional modules, so that it has the ability to output functional module division results based on the input circuit schematic and the corresponding netlist. The functional module division results are output in terms of component parameters, quantity, and electrical connection relationships, thereby dividing a circuit schematic into multiple functional modules.

[0043] S2, matching the function module with a preset function template to obtain a reuse module in the function module and a reuse template in the function template that matches the reuse module.

[0044] There are often the same or similar functional modules in different circuit schematics. Therefore, the functional module A of the already laid out PCB board can be reused on the same functional module A of the PCB board to be laid out. There is no need to re-layout the functional module A, which greatly simplifies the layout process.

[0045] Before executing this step, it is necessary to save the layout of commonly used functional modules in advance as functional templates. There can be multiple functional templates, which can be classified and stored according to the types of functional templates. When matching each functional module to be laid out with a preset functional template, first find the corresponding classification according to the type of the functional module, match the functional module with the functional template under the classification first, and find the most similar functional template. For example, the types of functional modules are divided into BGA, DDR, HDMI, network port, etc. according to their implemented functions. If the current functional module A is identified as a network port type, the functional templates under the stored network port type are found and matched one by one with the functional module A. The functional template B that is most similar to the functional module A under this classification is used as a reuse template, and the currently matched functional module A is used as a reuse module, then the layout of the functional template B can be directly reused in the functional module A.

[0046] The functional template can be obtained by collecting completed PCB layout pictures, or obtaining layout reference pictures from the public network. At the same time, auxiliary information such as layout rules, component parameters, and electrical connection relationships corresponding to the PCB layout are stored together to form a mapping relationship with the functional template. Relevant information can be directly retrieved according to the functional template.

[0047] In some implementations, by calculating the similarity between the function module and the function template, it is determined whether the two match. In the specific calculation, if there is a function template B and the currently calculated function module A has a similarity greater than a preset value, then the function template B and the function module A form a matching pair, the function module A can be used as a reuse module, and the function template B can be used as a reuse template, that is, the function module A is reused by the function template B.

[0048] In some implementations, there may be multiple function templates B whose similarity to function module A is greater than a preset value, in which case function module A can be used as a reuse module and the function template with the highest similarity to function module A can be used as a reuse template.

[0049] When matching, first calculate the similarity with the function template in the corresponding category according to the type of function module A. When no function template that meets the similarity requirements with function module A is found in the corresponding category, function module A is matched with function templates in other categories. If no match is found, function module A is not used as a reused module, and there is no reused template corresponding to it. The next function module C is extracted to match with the preset function template. Or when no function template that meets the similarity requirements with function module A is found in the corresponding category, the matching is stopped, function module A is not used as a reused module, and the next function module C is directly extracted for matching. Therefore, not all function modules can be reused. Only when there is a function template that meets the similarity requirements, can the function module and the function template form a pair of reused modules and reused templates.

[0050] Calculate the similarity between function module A and function template B, that is, determine whether the layout parameters such as component parameters, quantity, and electrical connection relationship are similar between the two. Therefore, to calculate the similarity between the function module and the function template, the components in the function module can be compared with the components in the function template. For example, compare the differences in the parameters and quantity of the components, use the difference in the number of components and the proportion of the number of components with the same parameters as similarity indicators for weighted calculation to obtain the similarity between the two.

[0051] For example, if you want to reuse the device layout of functional module B on the F board to the H board, first automatically scan and identify the components of functional module B, determine the shape and size of the device based on the measured silk screen size of the component, and measure the size and number of pads of the device. For example, if the size of a chip U on the F board is measured to be 5MM, there are 40 pins, and the pin spacing is 0.5MM, then measure other components connected to chip U by analogy. Then compare the components in the H board with those in the F board. If there is a component D that corresponds to chip U in the F board, then continue to extract the devices around chip U and compare them with the devices around component D. If the devices around chip U are mostly the same as those around component D, it can be roughly determined that the devices in functional module B on the F board can be reused in functional module A on the H board.

[0052] S3, extracting the first component in the reuse module, obtaining the layout rule of the first component in the reuse template, and laying out the first component on the PCB board according to the layout rule.

[0053] In this step, the first component is the same component that the reuse module and the reuse template have. Even if the function module A and the function template B are matched through step S2, the layout of the function module A and the layout of the function template B may not be exactly the same. For example, there are several more components in the reuse template than in the reuse module. If the entire layout of the function template B is directly reused, manual search and modification are required later, which increases the work after reuse. Therefore, this embodiment extracts the same first component that the function module A and the function template B have, and only reuses the layout of the same components.

[0054] In the case where there are more components in the reuse template than in the reuse module, the layout of the reuse module is completed by reusing the first component, and there is no need to modify the reuse module. However, if there are fewer components in the reuse template than in the reuse module, the layout of the reuse module is not completed after the first component is reused.

[0055] See also Figure 2 As shown, Figure 2This is a schematic diagram of the intelligent layout process of the reuse module. On the basis of steps S1-S3, the second component in the reuse module is also extracted, and the second component is laid out on the new PCB board according to the layout rule of the second component. The second component is a different component in the reuse module and the reuse template. In this way, the layout of the entire reuse module is completed by the reuse of the first component and the layout of the second component. The layout rules of the components can be collected in advance for query during layout.

[0056] In some implementations, the layout position of the second component can be based on the network name queried in the netlist, and the second component can be placed next to the pin of the reused device according to the same network name. For example, if pin 1 of component A is connected to pin 1 of a resistor, then the network name of pin 1 of component A and pin 1 of the resistor are the same, indicating that they need to be connected together. After selecting the resistor, determine which pin of component A the resistor is connected to based on the network name, and place the resistor next to the same pin of component A based on the layout rules of the included resistors. For another example, if a chip with 6 pins is selected, first determine which device in the included device is the same or similar to this device, then perform the layout based on the layout rules of this device, and then determine which pin of component A it should be placed next to based on the same network name.

[0057] In some implementations, it may not be possible to include layout rules for all components. Therefore, for newly emerging components that do not have reuse modules to refer to, AI can be used to automatically search on the public network or on the website provided by the manufacturer for a guidebook for such components. The guidebook generally includes a schematic design reference and a layout reference for components in the PCB.

[0058] When searching, first identify whether the schematic design in the instruction manual is consistent with the current schematic design. If they are consistent, directly find the reference PCB layout page recommended in the instruction manual, automatically AI identify the component layout of the layout page, and then correspond the PCB component package of this schematic module to the corresponding area of ​​the PCB according to the reference PCB layout in the manual.

[0059] If the schematic design in the manual is inconsistent with the current schematic design, the same network layout will be used to place the components according to the usual device layout habits recorded by AI. For example, the usual layout process is recorded in the AI ​​system, and when a new PCB is laid out, AI will automatically layout by imitating the manual layout process. For example, when AI selects a component A in the schematic, the corresponding package of component A in the PCB is also captured, and after judging its height and placing it in the corresponding height-restricted area, it continues to capture the components connected to the same network as component A, and places the newly captured components next to the corresponding pins of component A according to the network name.

[0060] In addition to the reused layout of the same or similar modules, layout rules can be manually set for other components, and an interactive interface for setting layout rules can be provided to the user to obtain the layout rules of the second component input by the user, and the second component is arranged according to the layout rules. For example, the placement spacing between components is set, and the components with the same network name in the same page schematic are laid out together according to the network name. Other fixed-placed components determined on the board frame are placed in the corresponding area after comparing the appearance of the functional module, the appearance of the components, the number of pins, the spacing, etc.

[0061] In some implementations, not all functional modules can find the same or similar reuse modules for reuse. For the layout of components in the non-reused functional modules, manual layout can be used, and the layout for the second component can be referred to. After completing the layout of the functional modules, whether it is a reused functional module or a non-reused functional module, record its layout on the PCB board, form a new functional template, and store it. It is also possible to only record or store the layout of the non-reused functional modules.

[0062] When recording the layout, the circuit schematic is recorded synchronously. When the circuit schematic is synchronized with the PCB, that is, a functional module A on the schematic is selected, the corresponding component package in this functional module on the PCB will be selected accordingly. Then, in the case of manual layout, AI automatically records the layout process and the final layout results of module A on the PCB. At the same time, the component attributes, quantity, and corresponding PCB package and layout in module A in the schematic are recorded and saved in the file library. When there is a new PCB board layout in the future, AI first captures the functional module in the schematic and compares it with the functional template in the file library. If a similar module is found, the layout of the functional template is directly retrieved and placed on the PCB board.

[0063] In some implementations, the number of times a functional module or component is reused is recorded, and the layout with a high reuse frequency is formed into a layout habit and saved. When there are multiple reuse templates to choose from or no reuse template is found, the layout can be preferentially performed according to the recorded layout habit.

[0064] In some implementations, before components are laid out on a PCB according to the layout rules of components, the height-limited area of ​​the PCB and the corresponding height-limited height are determined, and the height of the components to be laid out in the circuit schematic is compared with the height of the height-limited area. If the height of any component exceeds the height of the height-limited area, a prompt is issued, and the prompt information includes the components exceeding the height of the height-limited area and the corresponding height-limited area. This is to avoid placing components that do not meet the height requirements in the height-limited area, causing the PCB layout to not meet the requirements of the height-limited area.

[0065] Furthermore, among the components that meet the height limit area, the area of ​​the components that meet each height limit is compared with the area of ​​each height limit area. If the area exceeds the height limit area, a prompt is issued. The prompt information includes the components that exceed the height limit area and the corresponding height limit area, so as to avoid the PCB layout not meeting the layout requirements of the height limit area.

[0066] To determine the area of ​​the height-limited area of ​​the PCB board, the PCB board can be divided into the size coordinates of each height-limited area according to the unit grid length, and the position and area of ​​the height-limited area can be determined by calculating the occupied grid coordinates and area. For example, there are four height-limited areas ABCD. First, the entire PCB board is divided into unit-size grids starting from the coordinate origin with the lower left corner as the coordinate origin, and then the coordinates of each height-limited area ABCD and the area of ​​the grid occupied are counted. According to the netlist of the schematic diagram, the components in the PCB package library are automatically retrieved, and the area occupied by the components that meet each height limit is calculated, and compared with the area of ​​each height-limited area of ​​the PCB board. If it exceeds, a prompt message is issued, such as: "XX component area exceeds the limit, and the height-limited area that exceeds the limit is X". For example, a component with a height of 1mm is retrieved, and its area is x. If x exceeds the area of ​​the height-limited area with a height limit of 1mm, a prompt is issued. If neither the height nor the area exceeds, the layout is started according to the layout rules of the components (such as the spacing between components).

[0067] The embodiment of the present invention also provides an intelligent layout device for PCB components, such as Figure 3 The figure shows a structural schematic diagram of an intelligent layout device for PCB components, which includes the following modules.

[0068] An acquisition module 101 is used to acquire a circuit schematic diagram to be laid out;

[0069] A division module 102, used to divide the circuit schematic into at least one functional module;

[0070] A matching module 103 is used to match the function module with a preset function template to obtain a reuse module in the function module and a reuse template in the function template that matches the reuse module;

[0071] The layout module 104 is used to extract the first component in the reuse module, obtain the layout rule of the first component in the reuse template, and layout the first component on the PCB board according to the layout rule.

[0072] The first component is the same component in the multiplexing module as that in the multiplexing template.

[0073] In some embodiments, the acquisition module 101 is also used to obtain a netlist of a circuit schematic, which may be obtained from an external source, or a netlist corresponding to the circuit schematic may be automatically generated based on the obtained circuit schematic. The division module 102 divides the functional modules according to the parameters of each circuit component in the netlist and the connection relationship between them. The division module 102 may be a step of performing division based on a trained AI model.

[0074] In some embodiments, the matching module 103 matches the functional module with a preset functional template to obtain a reuse module in the functional module and a reuse template in the functional template that matches the reuse module. The similarity between the functional module and the functional template can be calculated to obtain a matching pair of the functional module and the functional template whose similarity is greater than a preset value, thereby obtaining the reuse module and the reuse template.

[0075] Furthermore, the intelligent layout device for PCB components also includes a storage module 105 for storing functional templates, and also stores information such as component parameters, layout rules, and electrical connection relationships corresponding to the functional templates, as well as mapping relationships between these relationships and the functional templates.

[0076] In some embodiments, the layout module 104 includes an extraction submodule, a rule submodule and a layout submodule, wherein the extraction submodule is used to extract the first component in the reuse module, the rule submodule is used to obtain the layout rule of the first component in the reuse template, and the layout submodule is used to layout the first component on the PCB board according to the layout rule of the first component.

[0077] In some embodiments, the extraction submodule is also used to extract a second component, which is a component in the multiplexing module that is different from the multiplexing template. The rule submodule is also used to obtain the layout rules of the second component. The layout submodule is also used to layout the second component on the PCB board according to the layout rules of the second component.

[0078] Furthermore, when the layout submodule layouts the second component according to the layout rule of the second component, it searches the network name of the second component according to the netlist and places the second component next to the pin of the reused device according to the same network name.

[0079] In some embodiments, the intelligent layout device for PCB components also includes a search module for searching an instruction manual for a second component on a public network, obtaining layout rules for the second component based on the instruction manual, and sending the layout rules for the second component to a rule submodule or directly to a layout submodule for use by the layout submodule when laying out the second component.

[0080] In some implementations, the rule submodule further receives layout rules input by a user.

[0081] In some implementations, the intelligent layout device for PCB components further includes a setting module 106 for allowing a user to set layout rules and a height-limited area of ​​a PCB board, etc.

[0082] In some implementations, the intelligent layout device for PCB components further includes a recording module 107 for recording the layout process and layout results of the PCB board, and storing the layout results as a reuse template in the storage module.

[0083] In some implementations, the recording module is further used to record the number of times the functional modules or components are reused, count the reuse frequency, form a layout habit for the layout with a high reuse frequency, and save it in the storage module.

[0084] In some embodiments, the intelligent layout device for PCB components also includes a prompt module 108, which is used to calculate the comparison results of the height and / or area of ​​the components to be laid out and the height-limited area of ​​the PCB board, and issue prompt information based on the comparison results of the height and / or area.

[0085] An embodiment of the present invention further provides an electronic device, such as Figure 4 As shown, Figure 4 FIG. 4 is a schematic diagram of the structure of an electronic device of the present invention, wherein the electronic device comprises a processor 40, a memory 41, an input device 42, an output device 43 and a communication device 44; the number of processors 40 in the computer device can be one or more. Figure 4 The processor 40, the memory 41, the input device 42 and the output device 43 in the electronic device can be connected by a bus or other means. Figure 4 The example of connecting through bus is taken in the following.

[0086] The memory 41 is a computer-readable storage medium that can be used to store software programs, computer executable programs, and modules. The processor 40 executes various functional applications and data processing of the electronic device by running the software programs, instructions, and modules stored in the memory 41 to implement the intelligent layout method of PCB components of any of the above embodiments of the present invention.

[0087] The memory 41 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the terminal, etc. In addition, the memory 41 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 41 may further include a memory remotely arranged relative to the processor 40, and these remote memories may be connected to the electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0088] The input device 42 may be used to receive external data such as user ID, instructions, multi-view data, etc., and the output device 43 may be used to output intermediate data, solution results, clustering results, network configuration pages, etc.

[0089] The embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the intelligent layout method of PCB components of any embodiment of the present invention is implemented. The storage medium can be ROM / RAM, a magnetic disk, an optical disk, etc.

[0090] An embodiment of the present invention further provides a computer program product. When the computer program product is run on a computer, the computer executes the intelligent layout method of PCB components of any of the above-mentioned embodiments of the present invention.

[0091] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. An intelligent layout method for PCB components, characterized in that: include: Acquire a circuit schematic diagram to be laid out, and divide the circuit schematic diagram into at least one functional module; Matching the functional module with a preset functional template to obtain a reuse module in the functional module and a reuse template in the functional template that matches the reuse module; Extract the first component in the multiplexing module, obtain the layout rule of the first component in the multiplexing template, and layout the first component on the PCB board according to the layout rule; wherein the first component is the same component in the multiplexing module as that in the multiplexing template.

2. The intelligent layout method of PCB components according to claim 1, characterized in that: The method further comprises: Extracting a second component in the multiplexing module, where the second component is a component in the multiplexing module that is different from the multiplexing template; Obtaining a layout rule of the second component; The second components are arranged on the PCB board according to the layout rule of the second components.

3. The intelligent layout method of PCB components according to claim 2, characterized in that: The obtaining the layout rule of the second component includes: Search the instruction manual of the second component on the open network, and obtain the layout rule of the second component according to the instruction manual.

4. The intelligent layout method of PCB components according to claim 2, characterized in that: The acquiring the layout rule of the second component includes: acquiring the layout rule of the second component input by a user.

5. The intelligent layout method of PCB components according to claim 2, characterized in that: The step of arranging the second components on the PCB board according to the layout rule of the second components includes: Acquire a network name of the second component according to a netlist of the circuit schematic; According to the layout rule of the second component, the second component is placed next to the pin of the first component having the same net name.

6. The intelligent layout method of PCB components according to claim 1, characterized in that: The matching of the functional module with a preset functional template to obtain a reuse module in the functional module and a reuse template in the functional template that matches the reuse module includes: The similarity between the function module and the function template is calculated, and the function module having a similarity with any function template greater than a preset value is used as a reuse module, and the function template having the greatest similarity with the reuse module is used as a reuse template.

7. The intelligent layout method of PCB components according to claim 1, characterized in that: Before laying out the first component on the PCB board according to the layout rule, the method further includes: Determine the height limit area and the corresponding height limit of the PCB board, compare the height of the components to be laid out in the circuit schematic with the height limit, and issue a prompt message if the height of any of the components is greater than the height limit.

8. The intelligent layout method of PCB components according to claim 1, characterized in that: The method further comprises: recording the layout process and layout results of each functional module on the PCB board to form a new functional template.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the intelligent layout method of PCB components described in any one of claims 1-8 is implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the intelligent layout method of PCB components described in any one of claims 1 to 8 is implemented.

Citation Information

Cited By

  • Layout method and device for logic system design and storage medium

    CN120893382A