The present application is based on Japanese patent application No. 2004-305872, the entire contents of which are incorporated herein by reference.
1. Field of the Invention
The invention relates to a pattern extraction computational algorithm that develops a certain pattern, in a limited size, for a structure based on a topology composed of plural components with attributes.
2. Description of the Related Art
An example of the structure based on a topology composed of plural components with attributes is a transmission line.
The transmission line is a component of an electrical circuit, which is formed on a printed circuit board (hereinafter referred collectively to as circuit board) with a single-layer or multilayer structure. Various electrical appliances operate with the circuit board installed therein. However, according as recent electrical appliances are downsized and low-profiled, it is required to reduce the area or volume of the circuit board installed therein. Thus, the arrangement on the circuit board of the transmission line is more complex such as placed in three dimensions. Because of this, there may be caused problems such as increase in manufacturing cost and prolonged design cycle.
One of factors to cause the above problems is that, when the arrangement of a transmission line is rendered in a limited size and space, the arrangement is personally determined by a designer. Namely, due to empirical knowledge of the designer, it takes a large amount of time and effort in the arrangement since a number of methods for the arrangement actually exist. As a result, it may be required to redesign the arrangement more than once.
Also, structures based on the other topology such as indoor electrical wiring, LAN cable wiring, cable wiring in a casing, arrangement of buildings or water channels are rendered in a limited region. However, theses wirings and arrangements are also often determined by empirical knowledge of the designer. Therefore, the same problems as described earlier will be caused therein.
Japanese patent No. 3251686 and JP-A-2004-199161 disclose representative methods for rendering automatically the arrangement of the structure based on a topology. These methods suggest that an optimum arrangement and design method is offered according to each use. However, in these methods, dependent on conditions used in optimization, information about the other candidates eliminated apriori cannot be obtained. Therefore, a comprehensive good answer obtainable in taking account of the other evaluation criterion such as a cost may be overlooked. Furthermore, since they need a number of storage areas in computation, there may be caused a problem that the cost of a computer to be used increases.
It is an object of the invention to provide a pattern extraction computational algorithm that, for an issue that a structure based on a topology is to be arranged in a limited size and space, all arrangement patterns allocable actually can be extracted by a computer with a smaller storage area.
According to one aspect of the invention, a pattern extraction computational algorithm comprises:
using a bus, a CPU, a storage area, an input and an output of a computer to conduct the pattern extraction computational algorithm;
storing a size of a limited area, a size of a minute area, a starting point from which the minute area is arranged, a matrix with information on an attribute of an element, and an matrix with information on the minute area in the storage area; and
patterning a structure based on a topology composed of a plurality of elements with attributes by using a rule in the size of the limited area to extract all patterns to accord to the topology.
In the invention described above, the next modifications or changes may be made.
(i) The rule comprises to divide the size of the limited area into minute areas and to arrange sequentially the minute area into each of the minute areas.
(ii) The storage area comprises a matrix with information on a attribute of the plurality of elements, a storage area with information on the size of the limited area, a storage area with information on the size of the minute area, and a storage area with information on the starting point from which the minute area is arranged in the size of the limited area.
(iii) The storage area further includes a matrix with information on the minute area.
(iv) The matrix with information on the attribute is used to determine the number of times to sequentially arrange the minute segment.
(v) The matrix with information on the attribute and the matrix with information on the minute segment are used to determine the direction of minute segment to be sequentially arranged.
(vi) The matrix with information on the attribute and the matrix with information on the minute segment are used to determine the number of the minute segment to be sequentially arranged.
(vii) The matrix with information on the minute area is updated in every arrangement of the minute segment.
(viii) The number of times to sequentially arrange the minute segment is determined by standardizing the attribute of the element by dimensions of the minute segment.
(ix) The direction of minute segment to be sequentially arranged is determined by using a random function.
(x) The direction of minute segment to be sequentially arranged is determined by using the number of other minute segments adjacent to the minute segment.
(xi) The update of the matrix with information on the minute area in every arrangement of the minute segment is conduced by using an identifier comprising a numerical number, a character and a bit.
(xii) The update of the matrix with information on the minute area in every arrangement of the minute segment is conducted by the existence of the minute segment sequentially arranged.
(xiii) Information on the arrangement of the minute segment is written into the matrix with information on the minute area in the update for every arrangement of the minute segment.
(xiv) The inputting to the corresponding storage area of the size of the limited area, the size of the minute area, and the starting point from which the minute area is arranged is conducted by the reading of an electronic file or a dedicated user interface.
(xv) Writing into the matrix with information on the attribute of the element is conducted by the reading of an electronic file or a dedicated user interface.
(xvi) All the patterns to accord to the topology are stored in an electronic file.
(xvii) An arrangement pattern that comprises a numerical number, a character and a bit is output as a result of the algorithm.
(xviii) A coordinate value of an arrangement pattern is output as a result of the algorithm.
(xix) The attribute of the element is composed in two dimensional structure of a length and a width thereof.
(xx) The attribute of the element is composed in three dimensional structure of a length, a width and a height or thickness thereof.
(xxi) The attribute of the element comprises an electrical characteristic such as a potential and a magnetism.
(xxii) The attribute of the element comprises a fluid characteristic such a quantity of heat or water.
According to another aspect of the invention, a design program for automatically arranging a structure based on a topology comprises:
the pattern extraction computational algorithm as described above.
According to another aspect of the invention, a simulator for the design or characteristic analysis of an electrical circuit comprises:
the pattern extraction computational algorithm as described above.
According to another aspect of the invention, a simulator for an electromagnetic characteristic analysis comprises:
the pattern extraction computational algorithm as described above.
According to another aspect of the invention, a simulator for a fluid characteristic analysis comprises:
the pattern extraction computational algorithm as described above.
The preferred embodiments according to the invention will be explained below referring to the drawings, wherein:
A computational algorithm of the invention is conducted such that a limited size and space to arrange a structure based on a topology is divided into minute areas with an arbitrary shape, a starting point of the arrangement is determined within the minute area, the structure is patterned by sequentially arranging a neighboring minute area from the starting point while using the attribute of plural elements composing the topology, all arrangement patterns according to the topology which can be placed in the limited size and space are finally computed.
When a characteristic analysis is conducted by using the shape for the limited size and space to arrange the structure based on the topology and using further the computed arrangement pattern, the shape of the segment may be optionally triangle or square depending on segmentation of a computation region based on its method.
The computational algorithm of the invention to sequentially arrange the structure based on the topology by using the minute area is rendered to a computation processing that uses information such as an attribute of an element composing the topology, the number of branch points, and the number of elements to be branched from the branch point. Meanwhile, this information means an attribute of an element, dimensions of a limited size, and dimensions of a minute area used in the pattern extraction computational algorithm of the invention. These can be defined, when the computational algorithm of the invention is conducted, by using a numerical value or a character to be inputted by a user such as a designer through an electronic file read in conducting the pattern extraction computational algorithm of the invention or a graphical user interface.
The pattern extraction computational algorithm of the invention allows the arrangement of the structure based on the topology to be conducted optionally in a plane (in two dimensions) or stericaly (in three dimensions). Thus, the computation processing is conducted by using information such as a limited size and space and a composition for the arrangement.
The pattern extraction computational algorithm of the invention is conducted such that the number of sequential arrangements of minute area is determined by standardizing an attribute about a direction to sequentially arrange each element by dimensions of the minute area.
The pattern extraction computational algorithm of the invention is conducted such that a direction to sequentially arrange each element is determined by using information about the limited size and space to conduct the arrangement.
The pattern extraction computational algorithm of the invention is conducted such that, when reaching a branch point of topology in the process of sequentially arranging the minute area, the number of directions to sequentially arrange from the minute area as the branch point is determined by using information about the attribute of an element.
The pattern extraction computational algorithm of the invention may be conducted such that, by previously setting a region not to arrange the structure within the limited size and space to conduct the arrangement of the structure based on the topology or by controlling information about the limited size and space in each arrangement of minute area, the arrangement of minute area is not conducted in the region.
Further, the pattern extraction computational algorithm of the invention may be conducted such that, after completing the computation of the arrangement of the structure based on the topology, the characteristic of an unused region or preset not-to-arrange region is changed according to the object.
A preferred embodiment of the invention will be explained below referring to the attached drawings.
The pattern extraction computational algorithm 1001 of the invention comprises, as items of input 1002, a size 1003 of limited area to sequentially arrange a minute area, a size 1004 of the minute area, a starting point 1005 to arrange the minute area, and an attribute 1006 of an element. Output 1007 comprises an arrangement pattern 1008 of the minute area.
As shown in
Next, the features of the pattern extraction computational algorithm in an embodiment of the invention will be explained by using a process that a structure based on a topology 1 composed of elements 211 to 233, a starting point 3 and branch points 31, 32 as shown in
At first, a read file is produced which describes information such as a length and a width as attributes of the elements 211 to 233 to be used by the pattern extraction computational algorithm of the invention. Meanwhile, the attributes maybe electric, magnetic, thermal, pressure, stress etc. For example, the electric attributes include electric field strength, the magnetic attributes include magnetic repulsive force, the thermal attributes include thermal conduction quantity, the pressure attributes include expansion quantity, and the stress attributes include allowance in bending.
The electronic file as shown in
Meanwhile, instead of producing the above electronic file, a graphical user interface may be used.
By using the attribute of an element, dimensions of a limited size and dimensions of a minute area as shown in
The computation process is conducted such that, after reading the abovementioned information, a matrix with information of the minute area used in arrangement is initialized and a matrix with the attributes information is produced. Then, quadruple computation loops for conducting the sequential arrangement are executed to search all patterns to accord to the topology, and the computation results are output. The algorithm process will be detailed below.
In executing the pattern extraction computational algorithm as shown in
In Step II, a size of the limited area to arrange the structure based on the topology is specified from information in the first to second lines as shown in
Then, in Step III, a matrix with the attribute information of each element sequentially positioned-is established.
The matrixes (a) to (c) are established based on descriptions about the attribute of elements in the computation parameter file as shown in
The method of determining the numerical values described in the matrixes in
As shown in
Then, as shown in
Since the matrix with the attribute information of each element is established as described above, the maximum value of step N in BL(M,N), BW(M,N) and BS(M,N) used for the pattern extraction computational algorithm of the invention is got by dividing the sum of the longest elements in each stage of the topology by the size of the minute area. In this embodiment, the sum of 3 mm in the element #11, 5 mm in the element #21, and 6 mm in the element #31 is divided by 1 mm×1 mm, the size of the square minute area. As a result, the maximum value of step N in
After the matrix with the attribute information of each element is thus established, the pattern extraction computational algorithm of the invention proceeds to the quadruple loop algorithm.
At first, Loop 1 is repeated the number of the maximum value of step number to compute all conditions of each step. Then, Loop 2 is repeated the number of arrangement pattern candidates computed by Loop 3 and Loop 4 when Loop 1 is I=1. Then, Loop 3 is repeated the number of each element present in step number I. Then, Loop 4 is repeated the number of neighboring minute area where, for a minute area arranged, the other neighboring minute area is ready adjacent to each side of the arranged minute area. Meanwhile, in this embodiment, the number of this repetition is 4 (L=1-4) since the square minute area is used. The processing of the quadruple loop will be explained in sequence below.
In the first processing of the quadruple loop, Loop 1 uses I=1 and Loop 2 uses J=1. When I=1, no processing is conducted in Step IV of Loop 1 and in Step V of Loop 2. Then, in Loop 3, Step VI is satisfied by the matrix BL (1,1) with the attribute information of element when K=1, proceeding to Loop 4. However, due to the matrix BL (2-6,1)=0 with the attribute information of element, Loop 4 is executed only when K=1 in Loop 3. In Loop 4, when I=1, identifier 11 is, as initialization of the computation, inputted which is as shown in
Then, by using the matrixes BW (1,1) and BS (1,1) with the attribute information of element, the identifier 11 for the width and element space is inputted. In this case, because of the matrix BW(1,1)=1 with the attribute information of element in
Returning to Loop 1, I=2 is taken. Based on I=2, Step IV transfers the processing to Step IX. Step IX conducts the definition of the repeat number of Loop 2 and the initialization of J1. In Step IX, Loop 1 transfers 4 as the repeat number of Loop 2, J1=0, and I=2 to Loop 2. In Loop 2, based on I=2, Step V transfers the processing to Step X. Step X, when I=1, replaces the storage matrix B(J,x,y) stored in Loop 4 into the matrix A(x,y) with information of minute area according to the change of J, and transfers it to Loop 3. In Loop 3, when K=1, the matrix BL(1,2)=1 with the attribute information of element is got, then proceeding to Loop 4. In Loop 4, the processing of Step VIII is repeated four times by using the matrix BW(1,1) and BS(1,1) with the attribute information of element. 18.
The matrix A(x,y) with information of the minute area as shown at the center in
Meanwhile, the results as shown in
Alternatively, a random function may be used for the selection of a direction to extend the structure arrangement with the segment connected continuously.
Next, an example of transition state of the structure arrangement computed based on the computation algorithm as shown in
In detail, the sequence of the two identifiers ▪ 11 in Step 2 represents up to the second step of the element #11 (211), where the element #11 (211) has a width of BW(1,1-3)=1 mm and a space of BS(1,1-3)=1 mm from the other element. In Step 2, since the arrangement is extended to the +y direction, the identifiers X 13 are inputted around there in the ±x and −y directions of the identifier ▪ 11 (with the coordinate (5,5)) one step before by using the BS(1,1-3) so as to prioritize the holding of a space from the other element.
In the pattern extraction computational algorithm of the invention, the structure arrangement based on the topology proceeds by using these identifiers. Step 3 is the result of when I=3 in
In Step 4, the arrangement is conducted for the elements #21 (221) and #22 (222). Step 4 is the result that, from the identifier ▪ 11 with a coordinate (5,7) in Step 3, the #21 (221) is extended to the +x direction and the #22 (222) is extended to the +y direction. An identifier ● 14 indicates that the #21 and #22 will contact each other when either of the #21 and #22 is extended in arrangement on the next step, and that the arrangement thereof is not allowed like the identifier X 13. As a result, on the next step, it is determined that the # 21 (221) can be extended to −x and +y directions, and the # 22 (222) can be extended only to +x direction.
Step 5 is the result that, like one step before, the #21 (221) is extended to the +x direction and the #22 (222) is extended to the +y direction. In Step 5, the arrangement of the element #22 (222) ends, and the identifiers X 13 are inputted to segments around the #22 (222) based on the matrix BS with the attribute information of element since the other element is not connected to the end of the #22 (222).
Step 6 is the result that the #21 (221) is further extended to the +x direction. The identifiers ● 12 and the identifiers X 13 are also inputted based on the arrangement.
As described above, the structure arrangement proceeds while updating the matrix A(x,y) with information of the minute area, as well as using the identifiers.
In the actual arrangement, one candidate in the arrangement direction of the structure may exceed the region for the matrix A(x,y) with information of the minute area. In this case, it is determined that the other direction is selected without selecting the candidate exceeding the region.
On the other hand, the advance direction of the arrangement may be blocked by the identifier X 13.
As described above, the structure based on the topology is sequentially arranged by using the identifiers inputted to the matrix A(x,y) with information of the minute area and the matrix with the attribute information of element. Finally, when all steps are completed, all the arrangement patters to accord to the topology are outputted. Thus, the computation algorithm of the invention as shown in
Accordingly, the pattern extraction computational algorithm of the invention can compute all arrangement patters allocable in arranging a structure based on a topology in a limited size and space.
Moreover, the pattern extraction computational algorithm of the invention can be conducted using a storage area about one fourth of the conventional algorithm. Thus, it can extract completely all patterns allocable while reducing the cost of computer. Therefore, the design cost can be reduced and the design period can be shortened.
The above method that a region to not arrange the structure is predetermined in the arrangement region in computing the arrangement pattern for the structure based on the topology is useful in the case that, as shown in
The method that a region to not arrange the structure is predetermined in the arrangement region is useful in considering the arrangement while taking account of the property of the attribute. For example, when the attribute is electrical, the arrangement can be considered taking account of the influence of electric field strength and the prevention of interference between elements. When the attribute is magnetic, the arrangement can be considered taking account of the prevention of electrostatic damage and the reduction of magnetic repulsion between elements. When the attribute is thermal, the arrangement can be considered taking account of the prevention of element failure caused by heat conduction or radiant heat. When the attribute is pressure, the arrangement can be considered taking account of the influence of a defective element to the other element and the expansion of element. When the attribute is stress, the arrangement can be considered taking account of expected bending or vibration of element.
The above method that a region 8 to not arrange the structure is predetermined all at the edges of the arrangement region in computing the arrangement pattern for the structure based on the topology is useful in the case that, as shown in
The above method that a region 81 not to arrange the structure is predetermined all at the edges, except a part thereof, of the arrangement region in computing the arrangement pattern for the structure based on the topology is useful in the case that, as shown in
In conducting the steric arrangement, the direction to arrange the minute area is different from the planar arrangement (two-dimensional arrangement).
The above method that the arrangement pattern of a structure based on a topology is computed in three-dimensional structure is useful in the case that the steric arrangement of a transmission line is considered for a multilayer circuit board while using a through-hole or pin.
Even for such a case, the pattern extraction computational algorithm of the invention can be flexibly applied.
First, as shown in
Even for the structure in this embodiment, the pattern extraction computational algorithm of the invention can be flexibly applied.
First, the feeding point 16 is defined in the arrangement region as shown in
Even for the arrangement in this embodiment, the pattern extraction computational algorithm of the invention can be flexibly applied.
Such a method that the shape of the minute area is changed to compute the arrangement pattern of the structure based on the topology is useful in the case that the computation result is applied to the other analysis method. In case of using the triangle segment, it can be applied to an analysis structure for the finite element method (FEM) etc. In case of using the square segment, it can be applied to an analysis structure for the finite-difference time-domain method (FD-TD) etc.
The FEM is an analysis method used in the field of electromagnetism, fluid mechanics, and electrical engineering. The FD-TD is an analysis method used in the field of electromagnetism and electrical engineering.
In the invention, all the arrangement patterns can be extracted faster and more completely than the human work while reducing the cost of computer. Therefore, the design cost can be reduced and the design period can be shortened.
Although the invention has been described with respect to the specific embodiments for complete and clear disclosure, the appended claims are not to be thus limited but are to be construed as embodying all modifications and alternative constructions that may occur to one skilled in the art which fairly fall within the basic teaching herein set forth.
Number | Date | Country | Kind |
---|---|---|---|
2004-305872 | Oct 2004 | JP | national |