A method and device for optimizing the connection relationship of a power switch unit
By dividing the power switch unit into multiple arrays and optimizing the connection sequence, the problems of long line connections and complex designs in irregular arrays are solved, achieving the shortest connection and effective power-on time control.
Patent Information
- Application Number
- CN202111476364.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-06
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2041-12-06
AI Technical Summary
In irregular array power switch cell connections, existing technologies result in long connections and increased design complexity, making it impossible to effectively control power-on time.
By dividing the power switch unit into multiple arrays, determining the input and output units, and optimizing the connection sequence, the connection relationship of the power switch unit is optimized by adopting Manhattan distance and preset unit spacing strategies.
It achieves the shortest connection, avoids the insertion of always-on buffer, effectively controls power-on time, and simplifies design complexity.
Smart Images

Figure CN114239451B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of low-power design of integrated circuits, and in particular to a method and device for optimizing the connection relationship of a power switch unit. Background Art
[0002] With the development of integrated circuit technology, power consumption has become an important factor affecting chip applications. Power consumption is inevitable during chip operation. Only by turning off the power supply can power consumption be completely stopped. Therefore, during chip design, the chip is generally divided into multiple power domains, and the power supply of each power domain can be controlled independently. Some modules or IPs can be turned off when not in use, and can be powered on again when needed, which can effectively reduce chip power consumption. The key component to achieve the above functions is the power switch unit, namely the Power Switch cell.
[0003] The power switch cell is equivalent to a switch in a general circuit. The difference is that the power switch cell is not connected and disconnected by a contact switch in a high-voltage circuit, but is still realized by a CMOS circuit structure. When one or more modules need to be turned off, a larger current value is required. However, the current that a MOS tube can pass is extremely limited. Therefore, a large number of power switch cells are required to work together during the use stage.
[0004] In order to reduce the power supply noise (IR drop) generated when the module or IP is powered on and prevent the current (rush current) from being too large when powered on, all standard units inside the module or IP can usually be powered on sequentially instead of simultaneously. A common method is to use a daisy chain structure to connect the power switches, that is, when the previous power switch is turned on, an output signal is generated, and the output signal is connected to the control input of the next power switch, and so on, all switches are connected in series to form a unidirectional link. Figure 1 FIG. 1 is a schematic diagram showing a daisy chain connecting power switch cells used by traditional electronic design automation (EDA) tools.
[0005] In some special scenarios, such as Figure 2 As shown in the figure, since the power switch cell array is not a regular array, the lengths of different rows or columns may be inconsistent. When the EDA tool connects the power switch cells in series, it will automatically connect them in sequence based on the principle of proximity. However, the automatic connection result of the EDA tool may result in a situation where the distance between the front and rear cells is far and a long line must be used to connect them, for example Figure 2Long connecting lines 1, 2 and 3. In order to meet the transition requirements, it is necessary to insert an always on buffer to ensure the signal quality of the adjacent power switch cell, which inevitably increases the complexity of the design, especially the complexity of the pg (power network), and it is impossible to control the power-on time. Summary of the invention
[0006] In view of this, the present invention provides a method and device for optimizing the connection relationship of power switch cells, aiming to solve the connection problem between power switch cells in an irregular array.
[0007] In one aspect, the present invention provides a method for optimizing the connection relationship of a power switch unit, comprising:
[0008] Step S101, dividing the power switch units into a plurality of power switch arrays according to the distances between the power switch units on the chip;
[0009] Step S102, determining the input and output order of the plurality of power switch arrays, and determining an input unit and an output unit from the power switch units of each power switch array according to the distance between each power switch unit between adjacent power switch arrays;
[0010] Step S103, connecting the output unit of each predecessor array with the input unit of the successor array as a connection line between adjacent arrays;
[0011] Step S104, determining, inside each power switch array, a connection sequence of other power switch units except the input unit and the output unit as connection lines inside the array;
[0012] Step S105 , determining the connection sequence of all power switch units according to the determined connection lines of adjacent arrays and the connection lines inside the array.
[0013] Preferably, the method of dividing the power switch units into a plurality of power switch arrays according to the distances between the power switch units on the chip further comprises:
[0014] Acquire a plurality of power switch units whose Manhattan distances from the input signal of the starting point are less than a preset threshold as a first power switch array;
[0015] Acquire, from the remaining power switch units, a plurality of power switch units whose Manhattan distances from the first power switch array are less than a preset threshold as a second power switch array;
[0016] Repeat the above steps to sequentially obtain multiple power switch units whose Manhattan distances from the predecessor array are less than a preset threshold from the remaining power switch units as the Nth power switch array, until all the power switch units are divided into power switch arrays, where N is an integer and N>2.
[0017] Preferably, the step of determining the input unit and the output unit from the power switch units of each power switch array further comprises:
[0018] In adjacent power switch arrays, the Manhattan distance between each power switch unit in a predecessor array and each power switch unit in a successor array is calculated, and the first power switch unit in the predecessor array and the second power switch unit in the successor array corresponding to the minimum value of the Manhattan distance are determined, and the first power switch unit is determined as the output unit, and the second power switch unit is determined as the input unit.
[0019] Preferably, the first power switch unit and the second power switch unit having the same ordinate value are respectively determined as the output unit and the input unit.
[0020] Preferably, determining the connection sequence of other power switch units except the input unit and the output unit within each power switch array further comprises:
[0021] The input unit, other power switch units in the power switch array, and the output unit are connected with a first preset unit interval, and the number of the first preset unit intervals is not greater than one.
[0022] Preferably, determining the connection sequence of other power switch units except the input unit and the output unit within each power switch array further comprises:
[0023] When the power switch units corresponding to the starting point and the end point are located in the same power switch array, the input unit, other power switch units in the power switch array and the output unit are connected with a second preset unit interval, and the number of the second preset unit intervals is greater than 1.
[0024] Another aspect of the present invention provides a device for optimizing the connection relationship of a power switch unit, characterized in that it comprises:
[0025] An array division module (201), used for dividing the power switch units into a plurality of power switch arrays according to the distances between the power switch units;
[0026] An input-output unit determination module (202) is used to determine the input-output sequence of the plurality of power switch arrays, and to determine the input unit and the output unit from the power switch units of each power switch array according to the distance between each power switch unit between adjacent power switch arrays;
[0027] An inter-array connection module (203) is used to connect the output unit of each predecessor array with the input unit of the successor array, serving as a connection line between adjacent arrays;
[0028] An array internal connection module (204), used to determine the connection sequence of other power switch units except the input unit and the output unit in each power switch array as connection lines within the array; and
[0029] The connection relationship determination module (205) is used to determine the connection sequence of all power switch units according to the determined connection lines of adjacent arrays and the connection lines inside the arrays.
[0030] Preferably, the array partitioning module is further configured to:
[0031] Acquire a plurality of power switch units whose Manhattan distances from the input signal of the starting point are less than a preset threshold as a first power switch array;
[0032] Acquire, from the remaining power switch units, a plurality of power switch units whose Manhattan distances from the first power switch array are less than a preset threshold as a second power switch array;
[0033] Repeat the above steps to sequentially obtain multiple power switch units whose Manhattan distances from the predecessor array are less than a preset threshold from the remaining power switch units as the Nth power switch array, until all the power switch units are divided into power switch arrays, where N is an integer and N>2.
[0034] Preferably, the input-output unit determination module is further configured to:
[0035] In adjacent power switch arrays, the Manhattan distance between each power switch unit in a predecessor array and each power switch unit in a successor array is calculated, and the first power switch unit in the predecessor array and the second power switch unit in the successor array corresponding to the minimum value of the Manhattan distance are determined, and the first power switch unit is determined as the output unit, and the second power switch unit is determined as the input unit.
[0036] Preferably, the input-output unit determination module is further configured to:
[0037] The first power switch unit and the second power switch unit having the same ordinate value are respectively determined as the output unit and the input unit.
[0038] Preferably, the array internal connection module is further configured as follows:
[0039] The input unit, other power switch units in the power switch array, and the output unit are connected with a first preset unit interval, and the number of the first preset unit intervals is not greater than one.
[0040] Preferably, the array internal connection module is further configured as follows:
[0041] When the power switch units corresponding to the starting point and the end point are located in the same power switch array, the input unit, other power switch units in the power switch array and the output unit are connected with a second preset unit interval, and the number of the second preset unit intervals is greater than 1.
[0042] It can be seen that the technical solution of the present invention ensures that the connection distance of the power switch cells between the arrays is minimized, avoids the insertion of the always on buffer for repairing the transition to the greatest extent, and can effectively control the power-on time. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0044] Figure 1 FIG. 1 is a schematic diagram of a daisy chain connecting a power switch cell used by an EDA tool according to the prior art.
[0045] Figure 2 FIG. 1 is a schematic diagram of the connection effect of a daisy chain connecting a power switch cell under special conditions according to the prior art. FIG.
[0046] Figure 3 The figure is a flow chart of the method for optimizing the connection relationship of the power switch unit according to the present invention.
[0047] Figure 4 According to the present invention, Figure 3 Schematic diagram of the power switch cell connection effect of the method.
[0048] Figure 5FIG. 4 is a schematic diagram of a connection effect of a Power switch cell according to another connection relationship of the present invention.
[0049] Figure 6 This is a module diagram of the device for optimizing the connection relationship of the power switch unit described in the present invention. DETAILED DESCRIPTION
[0050] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0051] It should be clear that the described embodiments are only some embodiments of the present invention, rather than all embodiments. In order to more clearly illustrate the present invention, many technical details are described in the following specific embodiments. Those skilled in the art should understand that the present invention can also be implemented without some of the details. In addition, in order to highlight the main purpose of the present invention, some methods, means, components and their applications well known to those skilled in the art are not described in detail, but this does not affect the implementation of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work belong to the scope of protection of the present invention.
[0052] Embodiment 1
[0053] In one aspect, the present invention provides a method for optimizing the connection relationship of a power switch unit. Figure 3 The method flow chart includes the following specific steps:
[0054] Step S101 , dividing the power switch units into a plurality of power switch arrays according to the distances between the power switch units on the chip.
[0055] by Figure 4 Taking the layout of the power switch cell of as an example, a breadth-first traversal strategy is adopted. First, multiple power switch cells whose Manhattan distance from the input signal of the starting point is less than a preset threshold are obtained to form a first power switch array. Figure 4Marked as array 1, and obtain the lower left corner coordinates and upper right corner coordinates of array 1. Then, obtain the next group of power switch cells whose Manhattan distance from array 1 is less than the preset threshold as the second power switch array, recorded as array 2. Repeat the above steps, each time obtaining multiple power switch cells whose Manhattan distance from the N-1th power switch array is less than the preset threshold from the remaining power switch cells, as the Nth power switch array, until all power switch cells are divided into power switch arrays. Wherein N is an integer and N>2. Sequentially, obtain the next group of arrays except array 1 whose Manhattan distance from array 2 is less than the preset threshold, recorded as array 3…. Continue to traverse the remaining power switch cells until the last array is obtained, recorded as array n.
[0056] Optionally, the area where all power switch cells are located can be expanded with a preset Manhattan distance as the step length to obtain a virtual expansion area corresponding to each power switch cell. Then, virtual expansion areas with overlapping positions are determined, and the overlapping power switch cells are divided into the same power switch array. In other words, within a power switch array, for each power switch cell, there is at least another power switch cell, so that the virtual expansion areas of the two overlap. In this way, each switch unit array is obtained.
[0057] Step S102 , determining the input and output sequence of the plurality of power switch arrays, and determining input units and output units from the power switch units of each power switch array according to the distance between each power switch unit between adjacent power switch arrays.
[0058] After obtaining multiple power switch arrays, the first thing to do is to determine the order of the power switch arrays. Obviously, the array where the power switch cell connected to the starting point is located is the first array. Figure 4 Array 1 is shown in the figure. Then, the array with the smallest Manhattan distance from array 1 is calculated as the successor array, i.e., array 2. The Manhattan distance between arrays is defined as the minimum Manhattan distance between each power switch unit in the predecessor array and each power switch unit in the successor array. Similarly, the array with the smallest Manhattan distance from array 2, except array 1, is calculated as the successor array 3. ... The remaining arrays are traversed until all arrays are connected end to end.
[0059] That is, in each pair of adjacent power switch arrays, the Manhattan distance between each power switch unit in the predecessor array and each power switch unit in the successor array is calculated, and the first power switch unit in the predecessor array and the second power switch unit in the successor array corresponding to the minimum value of the Manhattan distance are determined, and the first power switch unit is determined as the output unit, and the second power switch unit is determined as the input unit.
[0060] From another perspective, in order to minimize the connection line between adjacent power switch arrays, two power switch units in adjacent power switch arrays that are the same or close in height may be respectively determined as output units and input units. Figure 4 For example, after obtaining multiple power switch arrays, the adjacent arrays include array 1 and array 2. Assuming that the relative position relationship between array 1 and array 2 is as shown in the figure, according to the relationship between each power switch cell in array 1 and array 2, a power switch cell is determined from array 1 and array 2 respectively, so that the heights of the two power switch cells are closest, that is, the distance between the two is the shortest, wherein the height of the power switch cell can be represented by the ordinate of the power switch cell. The power switch cell determined in array 1 is Figure 4 The power switch cell determined in array 2 is marked as cell 1-2. Figure 4 Since array 1 and array 2 must be connected in sequence through connecting lines, cell 1-2 is called the output unit of array 1, and cell 2-1 is called the input unit of array 2.
[0061] Similarly, a power switch cell is determined from array 2 and array 3 respectively, so that the distance between the two power switch cells is the shortest. The power switch cell determined in array 2 can be marked as cell 2-3, and the power switch cell determined in array 3 can be marked as cell 3-2. Cell 2-3 is called the output cell of array 2, and cell 3-2 is called the input cell of array 3.
[0062] According to the above method, the output units and input units of all power switch arrays, i.e., the output units and input units of arrays 1 to n, are determined. It should be understood by those skilled in the art that, for the power switch array at the head of the chain, only the output unit needs to be determined, because the input of the array comes directly from the input signal. Similarly, for the last power switch array at the end of the chain, only the input unit needs to be determined.
[0063] Optionally, when there are multiple pairs of power switch units with the shortest distance between adjacent arrays, any pair of power switch units can be determined as the input unit and the output unit. For example, the first pair of power switch units with the shortest distance found during the traversal process can be determined as the input unit and the output unit respectively.
[0064] Furthermore, for any power switch array, the input unit and output unit of the array itself are set to different units, so that the input unit is connected to the predecessor array and the output unit is connected to the successor array, ensuring that no connection error occurs. Figure 4 For example, after selecting cell 2 as the input unit relative to array 1, output units relative to array 3 are selected in other power switch cells except cell 2, thereby ensuring that no power switch cell is repeatedly connected.
[0065] Step S103 , connecting the output units of each predecessor array to the input units of the successor array as connection lines between adjacent arrays.
[0066] As described in the previous step, for two adjacent arrays, the output unit selected from the predecessor array and the input unit selected from the successor array have the shortest Manhattan distance. In order to achieve the shortest connection line between the two arrays, the connection from the output unit to the input unit must be the shortest distance between the two power switch arrays. For example, Figure 4 In the example, the connection line between cell 1-2 of array 1 and cell 2-1 of array 2 is used as the connection line between array 1 and array 2, so that there is no long line connection between the two arrays. The connection line between cell 2-3 of array 2 and cell 3-2 of array 3 is used as the connection line between array 2 and array 3. And so on, all arrays are connected in sequence through the connection lines of multiple adjacent arrays.
[0067] Step S104 , determining, inside each power switch array, a connection sequence of other power switch units except the input unit and the output unit as connection lines inside the array.
[0068] Each unit in each power switch array is traversed. The input unit of the array is the first unit to be connected, and the output unit is the last unit to be connected. For other power switch units, they are connected in sequence according to predefined rules. The first predefined rule in the predefined rules may be that the number of unit intervals between the connection lines of other power switch cells in the power switch array except the output unit and the input unit is not greater than 1. Figure 4As shown in the figure, when connecting the power switch cells in array 1, before traversing to cell 1-2, connect them in order from low to high according to the vertical coordinate, that is, the number of cell intervals is 0. When traversing to cell 1-2, skip cell 1-2 first, and then connect each power switch cell. After connecting to the highest point, return to connect downward until finally reaching cell 1-2, that is, completing the internal connection of array 1, and jumping to cell 2-1 of array 2 through cell 1-2.
[0069] In another predefined rule, the connection order can be determined according to the range of the ordinates of adjacent arrays. If the ordinate of the predecessor array is completely within the range of the ordinate of the successor array, the input unit, other power switch units, and the output unit can be connected with a first preset unit interval, and the number of the first preset unit intervals is not greater than 1. That is, if the ordinate of the predecessor array is completely within the range of the ordinate of the successor array, the output unit of the predecessor array is re-determined. Specifically, first set the number of unit intervals of the connecting line to be no greater than 1, starting from the input unit of the successor array, traverse the other power switch cells of the array one by one in a preset direction, and connect each power switch cell in the traversal order. When traversing to the last power switch cell, the last power switch cell is determined as the output unit.
[0070] like Figure 4 As shown in the figure, by judging the relative positions of array 2 and array 3, it is found that the vertical coordinate of array 2 is within the range of array 3, so array 2 first connects downwards with one cell interval, and after reaching the cell at the lowest point, it returns to connect upwards. When the last cell of the array is reached, it is used as the output unit of array 2, recorded as cell 2-3, and jumps to array 3 through cell 2-3.
[0071] If the ordinate of the predecessor array is completely within the ordinate range of the successor array, it is still necessary to determine the connection lines within the array according to the input unit and the output unit determined in step 102 and the first predefined rule in step 102. Figure 4 The relative positions of arrays 3 and 4 are found, and the vertical coordinate of the cell of array 4 is within the range of array 3, that is, array 4 does not completely cover the vertical coordinate of array 3, and it can be connected with reference to the connection relationship between arrays 1 and 2. That is, after determining the input unit and output unit of array 3, the other power switch cells between the input unit and the output unit are sequentially connected according to the rule that the number of unit intervals is not greater than 1.
[0072] In an optional embodiment, when the power switch cells corresponding to the starting point and the end point are located in the same power switch array, the input unit, other power switch cells, and the output unit are connected with a second preset cell interval, and the second preset cell interval number is greater than 1. That is, the second predefined rule in the predefined rules may be that, during the connection process, the cell interval number is not greater than a second preset value. Depending on the scale of the chip, the second preset value may be set to be greater than 1, for example, to 2 or a greater value. Under the premise that the chip scale or the actual distance of the power switch cell permits, appropriately extending the cell interval can allow the connection to go back and forth multiple times, which can increase the power-on time. By controlling the number of round trips, the power-on time can be effectively controlled. In particular, see Figure 5 For the case where the starting point and the end point need to be close enough, such as a ring connection, the number of unit intervals can be set to a third preset value, such as 3. By appropriately extending the unit interval, blank cells can be left around adjacent power switch cells, which can increase the possibility of multiple round trips, so that the last power switch cell in the last array, i.e., the end point cell, has a chance to be closer to the starting point.
[0073] Step S105 , determining the connection sequence of all power switch units according to the determined connection lines of adjacent arrays and the connection lines inside the array.
[0074] All power switch cells can be connected by connecting lines between arrays determined in step S103 and connecting lines within the array determined in step S104. Figure 2 Compared with the connection method shown in the figure, it can be seen that in the above connection method of the present invention, no long connection occurs in either the connection lines of adjacent arrays or the connection lines within the array. This method ensures that the connection distance of the power switch cells between each array is the shortest, avoids the insertion of the always on buffer to repair the transition to the greatest extent, and can effectively control the power-on time.
[0075] Embodiment 2
[0076] See also Figure 6 Another aspect of the present invention also includes a functional module architecture that is completely consistent with the above-mentioned power switch unit connection relationship optimization method process, that is, the embodiment of the present invention also provides a power switch unit connection relationship optimization device, including:
[0077] An array division module (201), used for dividing the power switch units into a plurality of power switch arrays according to the distances between the power switch units on the chip;
[0078] An input-output unit determination module (202) is used to determine the input-output sequence of the plurality of power switch arrays, and to determine the input unit and the output unit from the power switch units of each power switch array according to the distance between each power switch unit between adjacent power switch arrays;
[0079] An inter-array connection module (203) is used to connect the output unit of each predecessor array with the input unit of the successor array, serving as a connection line between adjacent arrays;
[0080] An array internal connection module (204), used to determine the connection sequence of other power switch units except the input unit and the output unit in each power switch array as connection lines within the array; and
[0081] The connection relationship determination module (205) is used to determine the connection sequence of all power switch units according to the determined connection lines of adjacent arrays and the connection lines inside the arrays.
[0082] The device can be implemented by the connection relationship optimization method of the power switch unit provided in the above embodiment 1. The specific functions implemented by each module can be found in the description of embodiment 1, and will not be repeated here.
[0083] Those skilled in the art will appreciate that the implementation details of each step or module of the above-mentioned method and device for optimizing the connection relationship of the power switch unit do not constitute a limitation on the overall solution of the present invention. Those skilled in the art can make easy-to-think adjustments to the sequence, parameters or algorithms involved in the above-mentioned method and device according to the actual scale, position or state of the chip or power switch.
[0084] The above describes multiple embodiments provided by the embodiments of the present invention. The various optional methods introduced in each embodiment can be combined and cross-referenced with each other without conflict, thereby extending a variety of possible embodiments, which can all be considered as embodiments disclosed and open to the public by the embodiments of the present invention.
[0085] Although the embodiments of the present invention are disclosed above, the present invention is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the scope defined by the claims.
Claims
1. A method for optimizing the connection relationship of a power switch unit, characterized in that: include: Step S101, dividing the power switch units into a plurality of power switch arrays according to the distances between the power switch units on the chip; Step S102, determining the input and output order of the plurality of power switch arrays, and determining an input unit and an output unit from the power switch units of each power switch array according to the distance between each power switch unit between adjacent power switch arrays; Step S103, connecting the output unit of each predecessor array with the input unit of the successor array as a connection line between adjacent arrays; Step S104, determining, inside each power switch array, a connection sequence of other power switch units except the input unit and the output unit as connection lines inside the array; Step S105 , determining the connection sequence of all power switch units according to the determined connection lines of adjacent arrays and the connection lines inside the array.
2. The method for optimizing the connection relationship of the power switch unit according to claim 1, characterized in that: The method further comprises dividing the power switch units into a plurality of power switch arrays according to the distances between the power switch units on the chip: Acquire a plurality of power switch units whose Manhattan distances from the input signal of the starting point are less than a preset threshold as a first power switch array; Acquire, from the remaining power switch units, a plurality of power switch units whose Manhattan distances from the first power switch array are less than a preset threshold as a second power switch array; Repeat the above steps to sequentially obtain multiple power switch units whose Manhattan distances from the predecessor array are less than a preset threshold from the remaining power switch units as the Nth power switch array, until all the power switch units are divided into power switch arrays, where N is an integer and N>2.
3. The method for optimizing the connection relationship of the power switch unit according to claim 1, characterized in that: The step of determining an input unit and an output unit from the power switch units of each power switch array further comprises: In adjacent power switch arrays, the Manhattan distance between each power switch unit in a predecessor array and each power switch unit in a successor array is calculated, and the first power switch unit in the predecessor array and the second power switch unit in the successor array corresponding to the minimum value of the Manhattan distance are determined, and the first power switch unit is determined as the output unit, and the second power switch unit is determined as the input unit.
4. The method for optimizing the connection relationship of the power switch unit according to claim 3, characterized in that: The first power switch unit and the second power switch unit having the same ordinate value are respectively determined as the output unit and the input unit.
5. The method for optimizing the connection relationship of the power switch unit according to claim 1, characterized in that: The step of determining the connection sequence of other power switch units except the input unit and the output unit within each power switch array further comprises: The input unit, other power switch units in the power switch array, and the output unit are connected with a first preset unit interval, and the number of the first preset unit intervals is not greater than one.
6. The method for optimizing the connection relationship of the power switch unit according to claim 1, characterized in that: The step of determining the connection sequence of other power switch units except the input unit and the output unit within each power switch array further comprises: When the power switch units corresponding to the starting point and the end point are located in the same power switch array, the input unit, other power switch units in the power switch array and the output unit are connected with a second preset unit interval, and the number of the second preset unit intervals is greater than 1.
7. A device for optimizing the connection relationship of a power switch unit, characterized in that: include: An array division module (201), used for dividing the power switch units into a plurality of power switch arrays according to the distances between the power switch units; An input-output unit determination module (202) is used to determine the input-output sequence of the plurality of power switch arrays, and determine an input unit and an output unit from the power switch units of each power switch array according to the distance between each power switch unit between adjacent power switch arrays; An inter-array connection module (203) is used to connect the output unit of each predecessor array with the input unit of the successor array, serving as a connection line between adjacent arrays; An array internal connection module (204), used to determine the connection sequence of other power switch units except the input unit and the output unit in each power switch array as connection lines within the array; as well as The connection relationship determination module (205) is used to determine the connection sequence of all power switch units according to the determined connection lines of adjacent arrays and the connection lines inside the arrays.
8. The device for optimizing the connection relationship of the power switch unit according to claim 7, characterized in that: The array partitioning module is further configured to: Acquire a plurality of power switch units whose Manhattan distances from the input signal of the starting point are less than a preset threshold as a first power switch array; Acquire, from the remaining power switch units, a plurality of power switch units whose Manhattan distances from the first power switch array are less than a preset threshold as a second power switch array; Repeat the above steps to sequentially obtain multiple power switch units whose Manhattan distances from the predecessor array are less than a preset threshold from the remaining power switch units as the Nth power switch array, until all the power switch units are divided into power switch arrays, where N is an integer and N>2.
9. The device for optimizing the connection relationship of power switch units according to claim 7, characterized in that: The input-output unit determination module is further configured to: In adjacent power switch arrays, the Manhattan distance between each power switch unit in a predecessor array and each power switch unit in a successor array is calculated, and the first power switch unit in the predecessor array and the second power switch unit in the successor array corresponding to the minimum value of the Manhattan distance are determined, and the first power switch unit is determined as the output unit, and the second power switch unit is determined as the input unit.
10. The device for optimizing the connection relationship of the power switch unit according to claim 9, characterized in that: The input-output unit determination module is further configured to: The first power switch unit and the second power switch unit having the same ordinate value are respectively determined as the output unit and the input unit.
11. The device for optimizing the connection relationship of power switch units according to claim 7, characterized in that: The array internal connection module is further configured as follows: The input unit, other power switch units in the power switch array, and the output unit are connected with a first preset unit interval, and the number of the first preset unit intervals is not greater than one.
12. The device for optimizing the connection relationship of power switch units according to claim 7, characterized in that: The array internal connection module is further configured as follows: When the power switch units corresponding to the starting point and the end point are located in the same power switch array, the input unit, other power switch units in the power switch array and the output unit are connected with a second preset unit interval, and the number of the second preset unit intervals is greater than 1.
Citation Information
Patent Citations
Photoelectric detector array and system for multi-core optical fiber light splitting coupling
CN111982166A
Design support device to support design of printed circuit board suited to noise reduction
JP2001282882A
