Filtering capacitor configuration position determination method and device and electronic equipment
By identifying the target network and associated devices of the power network in the schematic diagram, and automatically determining the location of the filter capacitor using the network visualization matching attributes, the inefficiency and error problems caused by manual configuration in the prior art are solved, and a fast and accurate layout is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- ZHEJIANG UNIVIEW TECH CO LTD
- Filing Date
- 2024-12-04
- Publication Date
- 2026-06-05
AI Technical Summary
In existing technologies, the connection relationship between the power network and the devices cannot distinguish the placement location of the filter capacitor, resulting in low layout speed and easy errors, requiring manual configuration.
By identifying target networks whose network labels are the same as those of power networks in the schematic diagram, the devices associated with the target network are determined. The configuration positions of filter capacitors are automatically identified using network visualization matching attributes and connection attributes, and then added to the DRAWINGNO attribute and imported into PCB software for layout.
It enables automatic identification of the filter capacitor placement location, reducing manual workload and improving layout speed and accuracy.
Smart Images

Figure CN122154622A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power electronics technology, and in particular to a method, apparatus, and electronic device for determining the placement of filter capacitors. Background Technology
[0002] In schematic software development, network connectivity is crucial in schematic design. Before being defined, all objects on the canvas are unordered and without rules. Clarifying the network connection states and logic is essential for real-time updates of network connections, rapid location of device networks, and ultimately, the generation of a complete network and device topology.
[0003] When there are numerous power network topologies, existing PCB (Printed Circuit Board) software only displays the connection relationships between power networks and corresponding components during layout, and cannot distinguish the placement of filter capacitors based on these connections. Furthermore, due to the characteristics of filter capacitors, they cannot be used interchangeably. Therefore, in current technologies, layout must be done manually, referring to the placement positions of filter capacitors in the schematic diagram. This process is time-consuming, error-prone, and results in low layout speed. Summary of the Invention
[0004] This invention provides a method, apparatus, and electronic device for determining the placement of filter capacitors, which solves the problem that in the prior art, the placement of filter capacitors cannot be distinguished based on the connection relationship between the power network and the corresponding device. The placement can only be done manually by referring to the placement position of the filter capacitors in the schematic diagram, which is time-consuming, error-prone, and results in low placement speed. This invention achieves automatic identification and placement of filter capacitors, reduces manual workload, and improves placement speed.
[0005] This invention provides a method for determining the placement of a filter capacitor, comprising: Identify at least one target network from the schematic diagram whose network label is the same as that of the first power network; the first power network is any power network in the schematic diagram. For each target network, all first target devices associated with the target network are determined from the schematic diagram; if all first target devices include filter capacitors, the configuration position of the filter capacitors is determined based on second target devices other than the filter capacitors among all first target devices.
[0006] According to the method for determining the configuration location of filter capacitors provided by the present invention, determining all first target devices associated with the target network from the schematic diagram includes: Traverse all devices in the schematic diagram and identify all third target devices, including those with connection attributes; the connection attributes are used to characterize the association between the third target devices and the power network. Based on the aforementioned connection attributes, all first target devices associated with the target network are determined from all third target devices.
[0007] According to the method for determining the configuration location of the filter capacitor provided by the present invention, determining all first target devices associated with the target network from all third target devices based on each of the connection attributes includes: Based on the network visualization matching attributes corresponding to the target network, the target network identifier corresponding to the target network is determined; For each of the aforementioned connection attributes, the third target device corresponding to the connection attribute including the target network identifier is determined as the first target device.
[0008] According to the method for determining the configuration location of a filter capacitor provided by the present invention, determining the configuration location of the filter capacitor based on a second target device other than the filter capacitor among all first target devices includes: Based on the connection attributes of each second target device, the target connection pins of each second target device are determined. The target connection pins are determined as the configuration positions of the filter capacitors.
[0009] According to the method for determining the configuration location of the filter capacitor provided by the present invention, the filter capacitor is determined based on the following steps: Determine the device reference number corresponding to each of the first target devices from the device attributes of each of the first target devices; The first target device corresponding to the device number containing the preset character is determined as the filter capacitor.
[0010] According to the method for determining the location of the filter capacitor provided by the present invention, the method further includes: Add the configuration location of the filter capacitor to the DRAWINGNO attribute of the filter capacitor to obtain the updated schematic netlist; The schematic netlist is imported into PCB software, which is used for placement and routing based on the schematic netlist.
[0011] The present invention also provides a device for determining the placement position of a filter capacitor, comprising: The identification module is used to identify at least one target network from the schematic diagram whose network label is the same as the first network label of the first power network; the first power network is any power network in the schematic diagram. A determination module is configured to, for each target network, determine all first target devices associated with the target network from the schematic diagram; and, if all the first target devices include a filter capacitor, determine the configuration position of the filter capacitor based on second target devices other than the filter capacitor among all the first target devices.
[0012] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method for determining the configuration position of the filter capacitor as described above.
[0013] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for determining the configuration position of the filter capacitor as described above.
[0014] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the method for determining the configuration position of the filter capacitor as described above.
[0015] The present invention provides a method, apparatus, and electronic device for determining the configuration position of filter capacitors. For each power network in the schematic diagram, based on the network topology corresponding to the schematic diagram, at least one target network in the schematic diagram whose network label is the same as the first network label of the currently traversed first power network is identified. For each target network, all first target devices connected to the same target network are located in the schematic diagram. The filter capacitors connected to the target network in the first target devices are quickly identified. Based on the second target devices other than the filter capacitors in all the first target devices, the configuration position of the filter capacitors is automatically identified. This eliminates the need for manual one-to-one correspondence according to the schematic diagram, reduces manual workload, and thus improves layout speed and accuracy. Attached Figure Description
[0016] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0017] Figure 1 This is an example schematic diagram of a schematic provided by existing technology.
[0018] Figure 2 This is a schematic diagram of the connection relationship between power networks and devices in PCB software provided by existing technology.
[0019] Figure 3This is a flowchart illustrating the method for determining the configuration location of the filter capacitor provided in an embodiment of the present invention.
[0020] Figure 4 This is one of the example schematic diagrams of network visualization matching attributes provided in the embodiments of the present invention.
[0021] Figure 5 This is the second example schematic diagram of network visualization matching attributes provided in the embodiments of the present invention.
[0022] Figure 6 This is provided by the embodiments of the present invention. Figure 4 or Figure 5 A graphical visualization diagram of the corresponding network visualization matching attributes.
[0023] Figure 7 This is a schematic diagram of the device properties provided in the embodiments of the present invention.
[0024] Figure 8 This is an example schematic diagram of the DRAWINGNO attribute provided in an embodiment of the present invention.
[0025] Figure 9 This is one of the schematic diagrams showing the configuration position of the filter capacitor provided in the embodiment of the present invention.
[0026] Figure 10 This is the second schematic diagram showing the configuration position of the filter capacitor provided in this embodiment of the invention.
[0027] Figure 11 This is a schematic diagram of the structure of the device for determining the configuration position of the filter capacitor provided in an embodiment of the present invention.
[0028] Figure 12 This is a schematic diagram of the structure of the electronic device provided in an embodiment of the present invention. Detailed Implementation
[0029] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0030] A complete schematic contains numerous power networks, each with multiple power terminals and a specific number of filter capacitors. After exporting the schematic as a netlist and importing it into PCB (Printed Circuit Board) software, placement and routing are performed. Current PCB software can only display the connections between power networks and corresponding components, but it cannot distinguish the placement of filter capacitors based on these connections. For example, consider a power network named VDD3V3. Figure 1 This is an example schematic diagram of the schematic provided by existing technology, in such Figure 1 In the schematic diagram shown, the power supply network named VDD3V3 connects to different power terminals of IC chips U3, U4, and U5, and each IC chip has a corresponding external filter capacitor. Figure 1 The schematic diagram is shown. Output the netlist and import it into the PCB software for placement and routing. Figure 2 This is a schematic diagram illustrating the connection relationship between power networks and components in existing PCB software, such as... Figure 2 As shown, after importing the schematic into the PCB software, Figure 1 The filter capacitors C17, C16, C71, C13, C41, and C7 are only shown as being connected in series with the power network VDD3V3, but the placement of each filter capacitor is unclear, making it impossible to determine their relationship with the IC chip. Due to the characteristics of filter capacitors, they cannot be used interchangeably, especially when there are many filter capacitors in the schematic. In such cases, manual configuration is necessary, requiring each capacitor to be manually matched to its corresponding position in the schematic. This process is time-consuming, error-prone, and results in slow layout speed.
[0031] To address the aforementioned problems in the prior art, embodiments of the present invention provide a method for determining the placement of filter capacitors. Figure 3 This is a flowchart illustrating the method for determining the configuration location of the filter capacitor provided in an embodiment of the present invention, as shown below. Figure 3 As shown, the method includes steps 310 and 320.
[0032] Step 310: Identify at least one target network from the schematic diagram whose network label is the same as the first network label of the first power network; the first power network is any power network in the schematic diagram.
[0033] A schematic diagram is used to represent the physical connections between components on a circuit board and the electrical characteristics of each component. In other words, through the schematic diagram, the interactions and network topology between components on the circuit board can be clearly understood, thus providing a better understanding of the circuit's operating principle. Schematic diagrams can be converted into PCB layout diagrams, thereby guiding PCB production and manufacturing, ensuring the rationality and accuracy of the PCB layout.
[0034] After obtaining the schematic diagram, the Network Visualization Matching Attribute (NJSL) corresponding to each network in the schematic diagram can be obtained. The Network Visualization Matching Attribute (NJSL) includes the N attribute, J attribute, S attribute, and L attribute.
[0035] The N attribute represents the network identifier (ID) of the network, and this network identifier is unique.
[0036] The J attribute represents the network node corresponding to the network, and the character at the end of the J attribute indicates the node style. For example, Figure 4 This is one of the example diagrams illustrating network visualization matching attributes provided in this embodiment of the invention, such as... Figure 4 As shown, the characters at the end of the J attribute can include 1, 2, 3, and 5. The node style corresponding to 1 is a square, 2 is no style, 3 is a corner style, and 5 is a dot style. Each network node in this network is sorted according to a specific rule: to obtain the coordinates of each network node, first sort them in ascending order of their ordinates, then in ascending order of their abscissas, thus obtaining a sequence of all network nodes, and assigning a number to each node. For example, Figure 5 This is the second example diagram illustrating the network visualization matching attributes provided in this embodiment of the invention. After sorting all network nodes in the network according to specific rules, the result is as follows: Figure 5 The network nodes are numbered and sorted, and this sorting is added to the keyword of the J attribute.
[0037] The 'S' attribute represents the connections between all network nodes. By traversing the network segments, we obtain the two network nodes at both ends of each segment. The connection relationship between each segment can be represented as "node x - node y". For example, let's take... Figure 5Taking the network nodes shown as an example, the connection relationships of all network nodes in this network can include: "Node 1-Node 2", "Node 3-Node 4", "Node 2-Node 3", "Node 5-Node 6", "Node 3-Node 6", and "Node 6-Node 7". Through these connection relationships, the network topology of the entire network can be drawn. The network is generated in real-time when drawn on the canvas; therefore, the encoding order of the network nodes is also updated in real-time. Each update requires re-acquiring network nodes and network segments to determine new connection relationships, thus avoiding duplication of network connection relationships.
[0038] The L attribute represents the network label. The L attribute can include the network name, the coordinate position of the network label, the font size, the rotation angle, and the reference direction angle, etc. This embodiment of the invention does not limit these.
[0039] After obtaining the Network Visualization Matching Attribute (NJSL) corresponding to each network in the schematic diagram, the network name in the L attribute corresponding to each network can be obtained. If the network name includes a preset network character, the network corresponding to that network name is a power network. After traversing each network in the schematic diagram, all power networks in the schematic diagram can be determined. Each power network has multiple power terminals, and each power terminal is connected to a corresponding device, and each device is equipped with a certain number of filter capacitors. Due to the uniqueness of each power network, even if multiple devices are connected to different power terminals of the same power network, the network identifier of the power network connected to each device is different. That is, power networks with different network identifiers identified in the schematic diagram may be the same power network. Therefore, in this embodiment of the invention, each power network is traversed, and at least one target network with the same first network label as the current first power network is determined according to the network label corresponding to each power network. That is, although the network identifier of at least one target network is different from the network identifier of the first power network, since the network labels of each target network are the same as the first network label of the first power network, each target network and the first power network belong to the same power network.
[0040] It should be noted that the preset network character is a common network name of the power network, and the preset network character may include VDD or VSS, etc., but the embodiments of the present invention do not limit this.
[0041] Step 320: For each target network, determine all first target devices associated with the target network from the schematic diagram; if all first target devices include filter capacitors, determine the configuration position of the filter capacitors based on second target devices other than the filter capacitors among all first target devices.
[0042] Specifically, after determining each target network, each target network is traversed, and all first target devices connected to the current target network are identified from the schematic diagram. The types of first target devices can include IC chips, connectors, or filter capacitors, etc. If no filter capacitor is found among all first target devices, the process continues to the next target network. If a filter capacitor is found among all first target devices, the number of devices in all first target devices is at least two. When the number of devices in all first target devices is two, the connection method between the network nodes of the current target network, the filter capacitor, and the second target devices (excluding the filter capacitor) in all first target devices is fixed. This means that the configuration position of the filter capacitor is fixed; that is, the pins of the filter capacitor are directly connected to the pins of the second target device through the network nodes of the current target network. The configuration position of the filter capacitor can be determined by the connection relationship displayed after importing the schematic diagram into the PCB software. When the number of devices in all first target devices is greater than two, it is necessary to configure the filter capacitors at the connection points of the current target network according to the second target devices, i.e., determine the configuration position of the filter capacitors.
[0043] Before identifying all the primary target devices, it's important to note that establishing a connection between the power network and the devices is achieved once the power network is connected to the devices. Since each device has a unique identifier, its pins are also unique, meaning there's a unique association between the device's pins and the connected power network. When a power network connects multiple devices, all devices connected to the same power network form a relationship with that network. Due to the real-time interactivity of data and graphics, a "C" attribute is written into the device's properties when a power network connects to a device. This "C" attribute represents the connection between the power network and the device. The "C" attribute can include the power network's network identifier, the network node in the power network connected to the device, and the device's pin identifier. Based on this "C" attribute, the connection between the network nodes in the power network and the device's pins is clearly defined.
[0044] For example, Figure 6 This is provided by the embodiments of the present invention. Figure 4 or Figure 5 A graphical visualization of the corresponding network visualization matching attributes. Figure 7 This is a schematic diagram of the device properties provided in the embodiments of the present invention, such as... Figure 7 As shown, the C attribute of the connecting device U5 is "C 388 4 1", where "388" in the C attribute indicates... Figure 6The power network shown has network identifier 388 and network name VDD3V3. The "4" in the C attribute indicates network node ④ of this power network, and the "1" in the C attribute indicates pin 1 in the connecting device U5. This C attribute indicates that network node ④ of the power network with network identifier 388 and network name VDD3V3 is connected to pin 1 in the connecting device U5. The C attribute of the connecting device C7 is "C 3881 6", where "388" indicates... Figure 6 The power network shown is identified as network 388 and named VDD3V3. The "1" in the C attribute indicates network node ① of the power network, and the "6" in the C attribute indicates pin 6 in the connecting device C7. The C attribute indicates that network node ① of the power network with network identifier 388 and name VDD3V3 is connected to pin 6 in the connecting device C7.
[0045] Further, determining all first target devices associated with the target network from the schematic diagram includes: Traverse all devices in the schematic diagram and identify all third target devices, including those with connection attributes; the connection attributes are used to characterize the association between the third target devices and the power network. Based on the aforementioned connection attributes, all first target devices associated with the target network are determined from all third target devices.
[0046] Specifically, for the current target network, all devices in the schematic can be traversed, and it can be determined whether the device attributes of each device include the C attribute. If the C attribute is not included, it indicates that the device is not connected to the current target network. If the C attribute is included, it indicates that the device is connected to the power network. In this case, the device can be identified as the third target device. After identifying all third target devices, the power network connected to the third target device can be further determined based on the C attribute of the third target device to determine whether it is the current target network.
[0047] Further, determining all first target devices associated with the target network from all third target devices based on each of the aforementioned connection attributes includes: Based on the network visualization matching attributes corresponding to the target network, the target network identifier corresponding to the target network is determined; For each of the aforementioned connection attributes, the third target device corresponding to the connection attribute including the target network identifier is determined as the first target device.
[0048] Specifically, after identifying all third target devices, the target network identifier can be determined based on the N attribute in the NJSL corresponding to the target network. Then, the existence of this target network identifier is checked in each connection attribute. If it does not exist, it indicates that the power network connected to the third target device is different from the target network. If it exists, it indicates that the power network connected to the third target device is the target network. In this case, the third target device can be identified as the first target device connected to the target network. The identified first target devices are stored in the same list for subsequent processing.
[0049] Furthermore, the filter capacitor is determined based on the following steps: Determine the device reference number corresponding to each of the first target devices from the device attributes of each of the first target devices; The first target device corresponding to the device number containing the preset character is determined as the filter capacitor.
[0050] It should be noted that in addition to the C attribute, the device attributes can also include the A attribute. The A attribute can include device information such as the device reference number and code. For example, ... Figure 7 As shown, in the device attributes of connecting device U5, "REFDES=U5" in attribute A indicates that the device with device reference number U5 is the connecting device. In the device attributes of connecting device C7, "REFDES=C7" in attribute A indicates that the device with device reference number C7 is the connecting device.
[0051] After identifying each first target device, the device reference number of each first target device can be determined from the A attribute in the device attributes of each first target device. If the device reference number of the first target device includes the preset character "C", it indicates that the first target device is a filter capacitor. Furthermore, if the device reference number of the first target device includes the character "U", it indicates that the first target device is an IC chip. If the device reference number of the first target device includes the character "J", it indicates that the first target device is a connector. This embodiment of the invention does not impose limitations on these aspects.
[0052] Further, determining the placement of the filter capacitor based on the second target devices (excluding the filter capacitor) among all the first target devices includes: Based on the connection attributes of each second target device, the target connection pins of each second target device are determined. The target connection pins are determined as the configuration positions of the filter capacitors.
[0053] Specifically, when there are more than two first target devices connected to the same target network stored in the same list, and all first target devices include filter capacitors, the filter capacitors at the connection points of the target network need to be configured. In this case, the target connection pins of each second target device determined from the C attribute of each second target device can be used as the configuration locations of the filter capacitors.
[0054] Furthermore, the method also includes: Add the configuration location of the filter capacitor to the DRAWINGNO attribute of the filter capacitor to obtain the updated schematic netlist; The schematic netlist is imported into PCB software, which is used for placement and routing based on the schematic netlist.
[0055] Specifically, after determining the placement of the filter capacitor, this placement can be added to the DRAWINGNO attribute of the filter capacitor. For example, Figure 8 This is an example diagram illustrating the DRAWINGNO attribute provided in an embodiment of the present invention, such as... Figure 8 As shown, in Figure 1 Adding "connect to U5.1" to the DRAWINGNO attribute of the filter capacitor C7 shown in the diagram indicates that the filter capacitor C7 is connected to pin 1 of IC chip U5. After associating the schematic with this DRAWINGNO attribute, the schematic can be exported as a netlist, resulting in an updated schematic netlist. Importing the schematic netlist into the PCB software will then display the connection relationships and configuration locations of the filter capacitor C7. Repeating the above steps, after traversing all other target nets and other first power nets, will yield the connection relationships and configuration locations of all filter capacitors in the schematic. Figure 9 This is one of the schematic diagrams showing the configuration position of the filter capacitor provided in the embodiment of the present invention, such as... Figure 9 As shown, the filter capacitors on the green network fly-wire paths are all filter capacitors connected to the target network named VDD3V3. The added DRAWINGNO attribute indicates which components these filter capacitors should be placed near in the PCB software. This allows for batch operation of placing filter capacitors next to the corresponding components without the need for manual matching according to the schematic, reducing manual workload and significantly improving layout speed.
[0056] Furthermore, after the configuration location of the filter capacitor is associated in the DRAWINGNO attribute, when the filter capacitor is selected for layout in the PCB software, the target connection pin of the second target device associated with the filter capacitor will be highlighted simultaneously. Figure 10 This is a second schematic diagram showing the configuration position of the filter capacitor provided in this embodiment of the invention, as shown below. Figure 10As shown, after selecting the filter capacitor C7, pin 1 of the IC chip U5, which is connected to the pin of the filter capacitor C7, will be highlighted simultaneously.
[0057] The method for determining the configuration position of filter capacitors provided in this invention identifies at least one target network in the schematic diagram that has the same network label as the first network label of the first power network being traversed, based on the network topology corresponding to each power network in the schematic diagram. For each target network, all first target devices connected to the same target network are located in the schematic diagram. The filter capacitors connected to the target network in the first target devices are quickly identified. Based on the second target devices other than the filter capacitors in all the first target devices, the configuration position of the filter capacitors is automatically identified. This eliminates the need for manual matching according to the schematic diagram, reducing manual workload and improving layout speed and accuracy.
[0058] The apparatus for determining the configuration position of the filter capacitor provided by the present invention will be described below. The apparatus for determining the configuration position of the filter capacitor described below can be referred to in correspondence with the method for determining the configuration position of the filter capacitor described above.
[0059] This invention also provides a device for determining the location of a filter capacitor. Figure 11 This is a schematic diagram of the structure of the device for determining the configuration position of the filter capacitor provided in an embodiment of the present invention, as shown below. Figure 11 The device 1100 for determining the location of the filter capacitor includes an identification module 1110 and a determination module 1120.
[0060] The identification module 1110 is used to identify at least one target network from the schematic diagram whose network label is the same as the first network label of the first power network; the first power network is any power network in the schematic diagram.
[0061] The determining module 1120 is configured to determine, for each target network, all first target devices associated with the target network from the schematic diagram; and, if all the first target devices include a filter capacitor, determine the configuration position of the filter capacitor based on second target devices other than the filter capacitor among all the first target devices.
[0062] The filter capacitor configuration location determination device provided in this embodiment of the invention identifies at least one target network in the schematic diagram that has the same network label as the first network label of the first power network being traversed, based on the network topology corresponding to each power network in the schematic diagram. For each target network, it locates all first target devices connected to the same target network in the schematic diagram, quickly identifies the filter capacitors connected to the target network in the first target devices, and automatically identifies the filter capacitor configuration location based on the second target devices other than the filter capacitors in all the first target devices. This eliminates the need for manual one-to-one matching according to the schematic diagram, reducing manual workload and thus improving layout speed and accuracy.
[0063] Optionally, module 1120 is specifically used for: Traverse all devices in the schematic diagram and identify all third target devices, including those with connection attributes; the connection attributes are used to characterize the association between the third target devices and the power network. Based on the aforementioned connection attributes, all first target devices associated with the target network are determined from all third target devices.
[0064] Optionally, module 1120 is specifically used for: Based on the network visualization matching attributes corresponding to the target network, the target network identifier corresponding to the target network is determined; For each of the aforementioned connection attributes, the third target device corresponding to the connection attribute including the target network identifier is determined as the first target device.
[0065] Optionally, module 1120 is specifically used for: Based on the connection attributes of each second target device, the target connection pins of each second target device are determined. The target connection pins are determined as the configuration positions of the filter capacitors.
[0066] Optionally, the filter capacitor is determined based on the following steps: Determine the device reference number corresponding to each of the first target devices from the device attributes of each of the first target devices; The first target device corresponding to the device number containing the preset character is determined as the filter capacitor.
[0067] Optionally, the device 1100 for determining the location of the filter capacitor further includes an update module, which is specifically used for: Add the configuration location of the filter capacitor to the DRAWINGNO attribute of the filter capacitor to obtain the updated schematic netlist; The schematic netlist is imported into PCB software, which is used for placement and routing based on the schematic netlist.
[0068] Figure 12 This is a schematic diagram of the structure of the electronic device provided in the embodiment of the present invention, such as... Figure 12 As shown, the electronic device may include: a processor 1210, a communications interface 1220, a memory 1230, and a communication bus 1240, wherein the processor 1210, the communications interface 1220, and the memory 1230 communicate with each other via the communication bus 1240. The processor 1210 can call logic instructions in the memory 1230 to execute a method for determining the location of the filter capacitor, the method including: Identify at least one target network from the schematic diagram whose network label is the same as that of the first power network; the first power network is any power network in the schematic diagram. For each target network, all first target devices associated with the target network are determined from the schematic diagram; if all first target devices include filter capacitors, the configuration position of the filter capacitors is determined based on second target devices other than the filter capacitors among all first target devices.
[0069] Furthermore, the logical instructions in the aforementioned memory 1230 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, essentially, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0070] On the other hand, the present invention also provides a computer program product, the computer program product comprising a computer program that can be stored on a non-transitory computer-readable storage medium, wherein when the computer program is executed by a processor, the computer is capable of executing the method for determining the location of the filter capacitor provided by the above methods, the method comprising: Identify at least one target network from the schematic diagram whose network label is the same as that of the first power network; the first power network is any power network in the schematic diagram. For each target network, all first target devices associated with the target network are determined from the schematic diagram; if all first target devices include filter capacitors, the configuration position of the filter capacitors is determined based on second target devices other than the filter capacitors among all first target devices.
[0071] In another aspect, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a method for determining the location of the filter capacitor provided by the methods described above, the method comprising: Identify at least one target network from the schematic diagram whose network label is the same as that of the first power network; the first power network is any power network in the schematic diagram. For each target network, all first target devices associated with the target network are determined from the schematic diagram; if all first target devices include filter capacitors, the configuration position of the filter capacitors is determined based on second target devices other than the filter capacitors among all first target devices.
[0072] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0073] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0074] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for determining the placement location of a filter capacitor, characterized in that, include: Identify at least one target network in the schematic diagram whose network label is the same as the first network label of the first power network; The first power network is any one of the power networks in the schematic diagram; For each target network, all first target devices associated with the target network are determined from the schematic diagram; if all first target devices include filter capacitors, the configuration position of the filter capacitors is determined based on second target devices other than the filter capacitors among all first target devices.
2. The method for determining the location of the filter capacitor according to claim 1, characterized in that, The step of determining all first target devices associated with the target network from the schematic diagram includes: Traverse all devices in the schematic diagram and identify all third target devices, including those with connection attributes; the connection attributes are used to characterize the association between the third target devices and the power network. Based on the aforementioned connection attributes, all first target devices associated with the target network are determined from all third target devices.
3. The method for determining the location of the filter capacitor according to claim 2, characterized in that, The step of determining all first target devices associated with the target network from all third target devices based on each of the aforementioned connection attributes includes: Based on the network visualization matching attributes corresponding to the target network, the target network identifier corresponding to the target network is determined; For each of the aforementioned connection attributes, the third target device corresponding to the connection attribute including the target network identifier is determined as the first target device.
4. The method for determining the placement of the filter capacitor according to any one of claims 1-3, characterized in that, The step of determining the placement of the filter capacitor based on the second target device (excluding the filter capacitor) among all the first target devices includes: Based on the connection attributes of each second target device, the target connection pins of each second target device are determined. The target connection pins are determined as the configuration positions of the filter capacitors.
5. The method for determining the placement of the filter capacitor according to any one of claims 1-3, characterized in that, The filter capacitor is determined based on the following steps: Determine the device reference number corresponding to each of the first target devices from the device attributes of each of the first target devices; The first target device corresponding to the device number containing the preset character is determined as the filter capacitor.
6. The method for determining the location of the filter capacitor according to claim 4, characterized in that, The method further includes: Add the configuration location of the filter capacitor to the DRAWINGNO attribute of the filter capacitor to obtain the updated schematic netlist; The schematic netlist is imported into PCB software, which is used for placement and routing based on the schematic netlist.
7. A device for determining the placement position of a filter capacitor, characterized in that, include: An identification module is used to identify, from the schematic diagram, at least one target network whose network label is the same as the first network label of the first power network; The first power network is any one of the power networks in the schematic diagram; A determination module is configured to, for each target network, determine all first target devices associated with the target network from the schematic diagram; and, if all the first target devices include a filter capacitor, determine the configuration position of the filter capacitor based on second target devices other than the filter capacitor among all the first target devices.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method for determining the configuration position of the filter capacitor as described in any one of claims 1 to 6.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the method for determining the configuration position of the filter capacitor as described in any one of claims 1 to 6.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the method for determining the configuration position of the filter capacitor as described in any one of claims 1 to 6.