Training data generation program, training data generation method, and information processing device
By generating training data that accounts for return currents through virtual wiring adjustments in adjacent layers, the accuracy of electromagnetic radiation estimation is improved, addressing the limitations of existing machine learning models in predicting electromagnetic interference.
Patent Information
- Application Number
- JP2020181670
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-10-29
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2040-10-29
AI Technical Summary
The accuracy of electromagnetic radiation estimation using machine learning models is compromised due to the lack of consideration for return currents flowing through adjacent conductor regions, particularly in layers with wide conductor areas such as solid ground (GND) layers, which affect the emitted electromagnetic waves.
A training data generation process that identifies patterns in adjacent layers, modifies circuit data to include virtual wiring that bypasses slits in conductor regions, and generates training data for machine learning models to account for return currents, thereby improving the accuracy of electromagnetic radiation estimation.
Enhances the precision of electromagnetic radiation estimation by accurately representing return current paths, reducing the need for physical simulations and enabling quicker assessment of electromagnetic wave intensity without requiring actual circuit implementation or extensive calculations.
Smart Images

Figure 0007557135000002 
Figure 0007557135000007 
Figure 0007557135000008
Abstract
Description
[Technical field]
[0001] The present invention relates to a training data generation program, a training data generation method, and an information processing device. [Background technology]
[0002] When a current flows through an electronic circuit, the electronic circuit emits electromagnetic waves. Products that have electronic circuits are sometimes subject to regulations that require the strength of the electromagnetic waves emitted to be below a threshold. For this reason, electronic circuits are designed not to violate the electromagnetic wave regulations. For example, EMI (Electromagnetic Interference) is used as an indicator of the strength of electromagnetic waves.
[0003] As a method for estimating the strength of electromagnetic waves during design, a computer may perform a physical simulation to analyze the radiation behavior of electromagnetic waves. However, physical simulations have a problem in that they are computationally intensive and can take a long time. As such, as another method, a computer may estimate the strength of electromagnetic waves from circuit data using a model generated by machine learning. The model is, for example, a neural network generated by deep learning (DL). Estimation using a model has a lower computational load than physical simulations, and estimate results can be obtained in a short time.
[0004] A return path check system has been proposed that detects the path through which the return current corresponding to the wiring flows when designing a printed circuit board. Also, a board design device has been proposed that detects a current loop path from printed circuit board data and estimates the electromagnetic noise radiated from the printed circuit board based on the area of the current loop path. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2007-11629 A [Patent Document 2] JP 2009-151363 A [Patent Document 3] JP 2020-60877 A Summary of the Invention [Problem to be solved by the invention]
[0006] Models for estimating electromagnetic radiation are generated by machine learning using training data. The accuracy of the model depends on the type of data used as input to the model. Therefore, in machine learning, it is important to consider what kind of data is used as training data.
[0007] Here, an electronic circuit may include multiple layers. A certain layer may be a wiring layer that includes wiring through which current flows. A layer adjacent to the wiring layer may be a layer that includes a wide conductor area. An example of a layer that includes a wide conductor area is a solid ground (GND) layer. When a current flows through a wire in a wiring layer, a return current flows in a part of the conductor area of an adjacent layer. The return current affects the electromagnetic waves emitted by the electronic circuit. Therefore, if the training data does not include information about the return current, the accuracy of the model may decrease.
[0008] In one aspect, the present invention aims to improve the accuracy of estimation of electromagnetic radiation. [Means for solving the problem]
[0009] In one aspect, a training data generation program is provided that causes a computer to execute a process of identifying a first pattern indicating a first layer included in a first circuit data, generating second circuit data in which the first pattern is changed to a third pattern including a second wiring corresponding to the first wiring based on a first wiring included in a second pattern indicating a second layer adjacent to the first layer and a slit included in the first pattern, and generating training data for machine learning based on the second circuit data. In another aspect, a training data generation method is provided. In another aspect, an information processing device is provided that has a storage unit and a control unit. Effect of the Invention
[0010] In one aspect, the accuracy of the estimation of electromagnetic radiation is improved. [Brief description of the drawings]
[0011] [Figure 1] FIG. 1 is a diagram illustrating an information processing device according to a first embodiment. [Diagram 2] FIG. 11 illustrates an example of hardware of an information processing apparatus according to a second embodiment. [Diagram 3] FIG. 13 is a diagram showing an example of estimating electromagnetic wave intensity using machine learning. [Figure 4] FIG. 11 is a diagram showing a first example of a return current occurring in the GND layer. [Diagram 5] FIG. 11 is a diagram showing a second example of occurrence of a return current in the GND layer. [Figure 6] FIG. 13 is a diagram illustrating an example of calculation of a return path. [Figure 7] FIG. 13 is a diagram illustrating an example of input / output data of a neural network. [Figure 8] FIG. 11 is a block diagram illustrating an example of functions of an information processing apparatus according to a second embodiment. [Figure 9] 13 is a flowchart illustrating an example of a procedure for generating a model. [Figure 10] 13 is a flowchart showing an example of a procedure for estimating electromagnetic waves. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] Hereinafter, the present embodiment will be described with reference to the drawings. First, the first embodiment will be described. FIG. 1 is a diagram for explaining an information processing device of the first embodiment. An information processing device 10 of the first embodiment generates training data used for machine learning. The information processing device 10 may execute machine learning using the generated training data. In addition, the information processing device 10 may cause another information processing device to execute machine learning. The information processing device 10 may be a client device or a server device. The information processing device 10 may be called a computer, a training data generating device, or a machine learning device.
[0013] The information processing device 10 has a storage unit 11 and a control unit 12. The storage unit 11 may be a volatile semiconductor memory such as a random access memory (RAM). The storage unit 11 may also be a non-volatile storage such as a hard disk drive (HDD) or a flash memory. The control unit 12 may be a processor such as a central processing unit (CPU), a graphics processing unit (GPU), or a digital signal processor (DSP). The control unit 12 may also include an electronic circuit such as an application specific integrated circuit (ASIC) or a field programmable gate array (FPGA). The processor executes a program stored in a memory (for example, the storage unit 11). A set of processors may be called a multiprocessor or simply a "processor."
[0014] The memory unit 11 stores circuit data 13 that indicates the physical design of an electronic circuit. The circuit data 13 includes patterns for each of a plurality of layers. The patterns indicate surface structures such as wiring, vias, slits, conductive areas, and non-conductive areas. The set of layers may include a wiring layer, a ground layer (GND layer), and a power layer. The wiring layer includes wiring formed of a conductor. Electric current can flow through the wiring. Free areas in the wiring layer are covered with a non-conductor. Free areas in the GND layer and the power layer are covered with a conductor. A GND layer with a large conductive area is sometimes called a solid GND layer. The GND layer and the power layer may include slits. The slits are not covered with a conductor. A rectangular slit contacts a conductor on three or four sides.
[0015] As an example, the circuit data 13 includes patterns 15 and 16. Pattern 15 has a wide conductor area. Pattern 15 indicates, for example, a solid GND layer. Pattern 15 includes slit 15a. Slit 15a is in contact with conductors on three sides. Pattern 16 indicates a wiring layer adjacent to the layer indicated by pattern 15. For example, pattern 16 indicates the first layer, and pattern 15 indicates the second layer. Pattern 16 includes wiring 16a. Here, when a current flows through wiring 16a of pattern 16, a return current flows through a part of the conductor area of pattern 15. In principle, the return path through which the return current flows is formed at a position corresponding to wiring 16a. However, slit 15a may obstruct the return current. In that case, the return path takes a detour that bypasses slit 15a.
[0016] The control unit 12 generates training data 18 for machine learning based on the circuit data 13. The training data 18 includes feature data corresponding to the input to the model and teacher data corresponding to the correct answer of the output of the model. The feature data may be called explanatory variables, and the teacher data may be called objective variables. The model generated from the training data 18 is an electromagnetic wave estimation model that estimates the electromagnetic waves emitted by the electronic circuit from the characteristics of the circuit structure. The model may be a neural network. The machine learning may be deep learning. The output of the model is, for example, the intensity of the electromagnetic waves at a position a predetermined distance away from the electronic circuit. The correct electromagnetic wave intensity may be measured using an electronic circuit implemented based on the circuit data 13. The correct electromagnetic wave intensity may also be calculated by physical simulation.
[0017] In generating the training data 18, the control unit 12 identifies a pattern 15 indicating one layer included in the circuit data 13. For example, the control unit 12 identifies a pattern of a layer in which an empty area is covered with a conductor, such as a solid GND layer. The control unit 12 also identifies a pattern 16 indicating another layer adjacent to the one layer. The control unit 12 generates the circuit data 14 in which the pattern 15 is changed to a pattern 17 based on the wiring 16a included in the pattern 16 and the slit 15a included in the pattern 15. The circuit data 14 includes, for example, the pattern 16 corresponding to the first layer and the pattern 17 corresponding to the second layer.
[0018] The pattern 17 includes a wiring 17a corresponding to the wiring 16a. The wiring 17a may indicate a return path of a return current generated by a current flowing through the wiring 16a. The position of the wiring 17a in the pattern 17 may be the same as the position of the wiring 16a in the pattern 16. However, when the same wiring as the wiring 16a crosses the slit 15a, the wiring 17a bypasses the slit 15a. The electrical characteristics (e.g., resistance value) of the conductor region of the pattern 15 are often uniform. On the other hand, the return current often flows through a path with the smallest electrical resistance. Therefore, the section bypassing the slit 15a may take the shortest path.
[0019] For example, the control unit 12 draws a line on the pattern 15 with the same shape and position as the wiring 16a. If a portion of the drawn line overlaps with the slit 15a, the control unit 12 detects two end points corresponding to the intersections of the drawn line and the sides of the slit 15a. The control unit 12 searches for a detour route that connects the two end points and bypasses the slit 15a. The detour route searched for by the control unit 12 here is the shortest route with the smallest distance. The wiring 17a is formed from the line of the section that does not overlap with the slit 15a and the line indicating the detour route.
[0020] The control unit 12 generates training data 18 based on the circuit data 14. For example, the control unit 12 converts each of the patterns 16 and 17 into a two-dimensional bitmap image. For example, the control unit 12 generates a two-dimensional bitmap image corresponding to the pattern 16 such that the element at the position where the wiring 16a passes is "1" and the other elements are "0". Also, for example, the control unit 12 generates a two-dimensional bitmap image corresponding to the pattern 17 such that the element at the position where the wiring 17a passes is "1" and the other elements are "0".
[0021] The image corresponding to each pattern has a size of, for example, 100 vertical x 100 horizontal. The input data included in the training data 18 may be a tensor having a number of channels corresponding to the number of layers. Thus, the input data included in the training data 18 is, for example, a tensor of 100 vertical x 100 horizontal x 2 channels. Note that the control unit 12 may edit the image corresponding to each pattern so as to improve the accuracy of the model.
[0022] For example, the control unit 12 may change the element at the position where the wiring 16a passes to a numerical value representing the length of the wiring 16a. Similarly, the control unit 12 may change the element at the position where the wiring 17a passes to a numerical value representing the length of the wiring 17a. The image processed in this way reflects the physical characteristic that the longer the wiring 16a, the stronger the electromagnetic wave in the vicinity. Furthermore, the control unit 12 may change the elements around the wiring 16a to numerical values that attenuate stepwise as they move away from the wiring 16a. Similarly, the control unit 12 may change the elements around the wiring 17a to numerical values that attenuate stepwise as they move away from the wiring 17a. The image processed in this way reflects the radiation mode of the electromagnetic wave in the vicinity of the wiring 16a.
[0023] In this way, the information processing device 10 generates training data 18 for generating a model for estimating electromagnetic radiation from the characteristics of a circuit structure. This allows the information processing system to estimate the electromagnetic radiation of an electronic circuit under design using a model generated by machine learning. At this time, the electronic circuit designer does not need to implement the electronic circuit under design and measure the electromagnetic wave intensity. In addition, the information processing system does not need to execute an electromagnetic wave simulation that requires a large amount of calculation. Therefore, the designer can quickly obtain information on electromagnetic radiation.
[0024] Moreover, the training data 18 includes information on a return current flowing in a layer (e.g., a GND layer or a power layer) adjacent to the wiring layer. In order to represent the return current, the information processing device 10 adds a virtual wiring to the circuit data 13. This improves the accuracy of the model generated from the training data 18. Furthermore, if the adjacent layer includes a slit, the information processing device 10 determines a virtual wiring to bypass the slit. This allows the virtual wiring to accurately represent the actual return path.
[0025] Next, a second embodiment will be described. Fig. 2 is a diagram showing an example of hardware of an information processing device of the second embodiment. The information processing device 100 has a CPU 101, a RAM 102, a HDD 103, an image interface 104, an input interface 105, a medium reader 106, and a communication interface 107. The information processing device 100 corresponds to the information processing device 10 of the first embodiment. The CPU 101 corresponds to the control unit 12 of the first embodiment. The RAM 102 or the HDD 103 corresponds to the storage unit 11 of the first embodiment.
[0026] The CPU 101 is a processor that executes instructions of a program. The CPU 101 loads at least a part of the program and data stored in the HDD 103 into the RAM 102 and executes the program. The information processing device 100 may have multiple processors. A collection of processors may be called a multiprocessor or simply a "processor."
[0027] The RAM 102 is a volatile semiconductor memory that temporarily stores programs executed by the CPU 101 and data used in calculations by the CPU 101. The information processing device 100 may have a type of memory other than a RAM, or may have multiple memories.
[0028] The HDD 103 is a non-volatile storage that stores software programs such as an OS (Operating System), middleware, and application software, and data. The information processing device 100 may have other types of storage such as a flash memory or an SSD (Solid State Drive), or may have multiple storages.
[0029] The image interface 104 outputs an image to a display device 111 connected to the information processing device 100 in accordance with an instruction from the CPU 101. The display device 111 is, for example, a CRT (Cathode Ray Tube) display, a liquid crystal display (LCD: Liquid Crystal Display), an organic EL (Electro-Luminescence) display, or a projector. Other types of output devices such as a printer may be connected to the information processing device 100.
[0030] The input interface 105 receives an input signal from an input device 112 connected to the information processing device 100. The input device 112 is, for example, a mouse, a touch panel, or a keyboard. A plurality of input devices may be connected to the information processing device 100.
[0031] The medium reader 106 is a reading device that reads the program and data recorded on the recording medium 113. The recording medium 113 is, for example, a magnetic disk, an optical disk, or a semiconductor memory. The magnetic disk includes a flexible disk (FD) and a HDD. The optical disk includes a compact disc (CD) and a digital versatile disc (DVD). The medium reader 106 copies the program and data read from the recording medium 113 to another recording medium such as the RAM 102 or the HDD 103. The read program may be executed by the CPU 101.
[0032] The recording medium 113 may be a portable recording medium, and may be used to distribute programs and data. The recording medium 113 and the HDD 103 may be called computer-readable recording media.
[0033] The communication interface 107 is connected to a network 114. The communication interface 107 communicates with other information processing devices via the network 114. The communication interface 107 may be a wired communication interface connected to a wired communication device such as a switch or a router. The communication interface 107 may also be a wireless communication interface connected to a wireless communication device such as a base station or an access point.
[0034] The information processing device 100 assists in the design of an electronic circuit. The information processing device 100 may be a client device or a server device. The information processing device 100 generates a model by machine learning. The model estimates the intensity of electromagnetic waves at a position a predetermined distance (e.g., 10 meters) away from the electronic circuit from the circuit data of the electronic circuit. The distance is set, for example, according to each country's regulations regarding electromagnetic wave radiation. The information processing device 100 uses the model to estimate the intensity of electromagnetic waves emitted by the electronic circuit under design.
[0035] In the second embodiment, the information processing device 100 performs all three operations of generating training data, generating models, and estimating electromagnetic wave intensity. However, multiple information processing devices may perform the generation of training data, the generation of models, and the estimation of electromagnetic wave intensity in a distributed manner. The flow of estimating electromagnetic wave intensity using machine learning will be described below.
[0036] FIG. 3 is a diagram showing an example of estimating electromagnetic wave intensity using machine learning. The information processing device 100 generates circuit data 131 for machine learning. The circuit data 131 includes a pattern indicating the position and shape of wiring. The wiring indicated by the circuit data 131 may be relatively simple wiring. The information processing device 100 executes an electromagnetic wave simulation 132 on the circuit data 131 to generate electromagnetic wave data 133. The electromagnetic wave simulation 132 is a physical simulation that calculates the intensity of electromagnetic waves radiated from an electronic circuit when a current flows through the electronic circuit indicated by the circuit data 131. The amount of calculation of the electromagnetic wave simulation 132 is large, and the execution time may be long.
[0037] The electromagnetic wave simulation 132 may be a three-dimensional finite element method simulation. For example, the information processing device 100 subdivides a space in which an electronic circuit is arranged into elements, which are three-dimensional small regions, and assigns variables to the nodes of the elements. The information processing device 100 generates a coefficient matrix indicating the relationship between the variables based on a fundamental equation indicating the physical laws of electromagnetic waves. The information processing device 100 obtains a solution for the variables by repeating a matrix operation using the coefficient matrix.
[0038] The electromagnetic wave data 133 indicates the electromagnetic wave intensity at a position a predetermined distance away from the electronic circuit. The electromagnetic wave data 133 indicates the electromagnetic wave intensity for different frequencies. For example, 100 frequencies are extracted at intervals of 0.01 GHz from the frequency range from 0 GHz to 1 GHz. The electromagnetic wave data 133 is, for example, vector data that lists 100 numerical values of the electromagnetic wave intensity corresponding to 100 frequencies.
[0039] The information processing device 100 generates training data including input data corresponding to the circuit data 131 and teacher data corresponding to the electromagnetic wave data 133. The input data corresponds to explanatory variables of the model, and the teacher data corresponds to objective variables of the model. The input data is feature data that represents characteristics of the wiring of the electronic circuit. The information processing device 100 generates multiple pairs of the circuit data 131 and the electromagnetic wave data 133 by changing the wiring of the electronic circuit. In this way, the information processing device 100 generates training data including a sufficient amount of records.
[0040] The information processing device 100 executes machine learning 134 using the generated training data. The machine learning 134 is deep learning that generates a model 135. The model 135 is a neural network, for example, a convolutional neural network including a convolution operation. The machine learning 134 includes a backpropagation method.
[0041] For example, the information processing device 100 selects a record from the training data, inputs the input data included in the record to the model 135, and calculates the error between the output of the model 135 and the teacher data included in the record. The error is, for example, the mean square error between two vectors each listing 100 electromagnetic wave intensities. The information processing device 100 updates the parameters included in the model 135 so as to reduce the error. The parameters include edge weights of the neural network. The information processing device 100 calculates the error gradient of the edge weights in order from the output layer to the input layer of the model 135, and updates the weights based on the error gradient. In this way, the model 135 is generated.
[0042] The information processing device 100 receives circuit data 136 indicating an electronic circuit under design from a user. The circuit data 136 includes a pattern indicating the position and shape of wiring. The wiring indicated by the circuit data 136 may be more complicated than the wiring indicated by the circuit data 131. The information processing device 100 generates input data according to the circuit data 136, and inputs the generated input data to a model 135 to generate electromagnetic wave data 137.
[0043] The input data corresponding to the circuit data 136 is characteristic data that represents the characteristics of the wiring of the electronic circuit under design. The electromagnetic wave data 137 represents electromagnetic waves emitted by the electronic circuit under design, and indicates an estimated value of the intensity of the electromagnetic waves at a position a predetermined distance away from the electronic circuit. The electromagnetic wave data 137 is, for example, vector data that lists 100 numerical values of electromagnetic wave intensity corresponding to 100 frequencies between 0 GHz and 1 GHz.
[0044] This eliminates the need for an electronic circuit designer to implement an electronic circuit based on the circuit data 136 just to measure the electromagnetic wave intensity. Also, the information processing device 100 does not need to execute the electromagnetic wave simulation 132, which requires a large amount of calculation, on the circuit data 136. This allows the designer to quickly obtain electromagnetic wave data for various design candidates. Next, processing of training data to improve the accuracy of the model 135 will be described.
[0045] FIG. 4 is a diagram showing a first example of the occurrence of a return current in a GND layer. The physical structure of an electronic circuit may include multiple layers. A layer adjacent to a wiring layer including wiring may be a solid GND layer, which is a GND layer whose free space is covered with a conductor. For example, the first layer may be a wiring layer and the second layer may be a solid GND layer.
[0046] Pattern 141 indicates a wiring layer. Pattern 141 includes wiring 142. Pattern 143 indicates a solid GND layer adjacent to the wiring layer. Pattern 143 does not include wiring. When a current flows through wiring 142, a return current flows through the solid GND layer adjacent to the wiring layer. Thus, a return path 144 is formed above pattern 143. In principle, the position and shape of return path 144 are the same as those of wiring 142. That is, in principle, a return current flows directly below or directly above wiring 142.
[0047] 5 is a diagram showing a second example of occurrence of a return current in the GND layer. Here, instead of the solid GND layer of the pattern 143, a solid GND layer of the pattern 145 is adjacent to the wiring layer of the pattern 141. The pattern 145 includes a slit 146. The slit 146 is an area that is not covered with a conductor. When the slit 146 is rectangular, typically three or four sides of the slit 146 are in contact with a conductor area.
[0048] When a current flows through the wiring 142, a return path 147 is formed on the pattern 145. As described above, the position and shape of the return path are, in principle, the same as those of the wiring 142. However, in the pattern 145, the same line as that of the wiring 142 crosses the slit 146. Since no current flows through the slit 146, the return path 147 bypasses the slit 146. In this way, the position and shape of the return path may not be the same as those of the wiring 142.
[0049] When detouring an obstacle, the return current tends to flow through a path with a small resistance. In contrast, the periphery of the slit 146 in the pattern 145 is covered with a conductor with uniform electrical characteristics such as resistance. Therefore, the return path 147 detouring the slit 146 over the minimum distance. Specifically, the detouring path is formed so as to connect, over the minimum distance, two end points where the same line as the wiring 142 intersects with the sides of the slit 146. In the example of FIG. 5, there are a detouring path that passes through the north side of the slit 146 and a detouring path that passes through the south side of the slit 146. Of these two detouring paths, the latter detouring path, which is shorter in distance, is selected.
[0050] Here, the information processing device 100 may generate image data showing wiring for each layer of the electronic circuit, and define a set of image data as input data to the model. However, the return path is a dynamic current path that appears when a current flows through the wiring of an adjacent wiring layer, and is not described as wiring in the circuit data. In addition, the position and shape of the return path are not necessarily the same as the wiring of the adjacent wiring layer. For this reason, information on the return current is missing from only the set of image data showing the wiring. On the other hand, the return current affects the intensity of the electromagnetic waves emitted from the electronic circuit. As a result, the accuracy of the model may decrease. Therefore, the information processing device 100 edits the image data of the solid GND layer.
[0051] FIG. 6 is a diagram showing an example of calculation of a return path. Image data 151 is generated from a pattern of a wiring layer including wiring. Image data 152 is generated from a pattern of a solid GND layer adjacent to the wiring layer. The information processing device 100 divides the pattern into small regions in an orthogonal lattice shape. For example, the information processing device 100 divides the pattern into small regions of 100 vertical x 100 horizontal. The information processing device 100 assigns a value indicating a conductor as an element to a small region including a conductor. Also, the information processing device 100 assigns a value indicating a non-conductor as an element to a small region not including a conductor.
[0052] Image data 151 and 152 are matrix data in which the elements assigned in this way are arranged on a two-dimensional plane. In image data 151, elements at positions where wiring exists indicate conductors, and other elements indicate non-conductors. In image data 152, elements at positions where slits exist indicate non-conductors, and other elements indicate conductors.
[0053] Next, the information processing device 100 processes image data 152 corresponding to the solid GND layer. The information processing device 100 detects an element indicating a conductor from the image data 151, and extracts an element at the same position from the image data 152. If the extracted element indicates a conductor, the information processing device 100 rewrites the value of the extracted element to a value indicating a return path. If the extracted element indicates a non-conductor, the information processing device 100 does not rewrite the value of the extracted element. In addition, the information processing device 100 rewrites the value of an element adjacent to an element indicating a non-conductor among the elements indicating the return path to a value indicating an end point. As a result, the image data 152 is converted into image data 153. The image data 153 includes an element indicating a return path and an element indicating an end point in addition to an element indicating a conductor and an element indicating a non-conductor.
[0054] Next, the information processing device 100 searches for a detour route that is the shortest route connecting two elements indicating end points in the image data 153 and passes through only elements indicating conductors. For example, a route search algorithm such as Dijkstra's algorithm is used to search for the shortest route. The information processing device 100 rewrites the values of elements belonging to the searched shortest route to values indicating a return route. In this way, the image data 153 is converted into image data 154. The image data 154 includes an element indicating a conductor, an element indicating a non-conductor, and an element indicating a return route.
[0055] Then, the information processing device 100 rewrites the values of elements indicating a conductor included in the image data 154 to values indicating a non-conductor. The information processing device 100 also rewrites the values of elements indicating a return path included in the image data 154 to values indicating a conductor. This converts the image data 154 into image data 155. The image data 155 includes elements indicating a conductor and elements indicating a non-conductor. The elements indicating a conductor indicate a small area through which a current can flow, and form a return path. The elements indicating a non-conductor indicate a small area through which a current does not flow. In this respect, the meanings of the elements of the image data 155 are consistent with those of the image data 151.
[0056] For example, the information processing device 100 expresses an element indicating a conductor with "1" and an element indicating a non-conductor with "0." The information processing device 100 generates input data including image data 151, 155. For example, the information processing device 100 generates a tensor of 100 vertical x 100 horizontal x 2 channels as input data to the model.
[0057] FIG. 7 is a diagram showing an example of input / output data of a neural network. The neural network 160 is an example of the model 135 described above. The neural network 160 is a multi-layered neural network including an input layer, an output layer, and one or more hidden layers. Each layer includes a plurality of nodes. The nodes of the input layer have edges with the nodes of the hidden layer one layer behind. The nodes of the output layer have edges with the nodes of the hidden layer one layer before. The hidden layers have edges with the nodes of the previous and next layers. A parameter indicating a weight is assigned to the edge. The weight is determined through machine learning. The neural network 160 is also a convolutional neural network that implements a convolution operation. The convolution operation repeats a product-sum operation while sliding a filter matrix called a kernel on an input tensor, and generates a tensor called a feature map.
[0058] A tensor 161 is input to the neural network 160. The size of the tensor 161 is 100 vertical × 100 horizontal × 2 channels. The tensor 161 includes the above-mentioned image data 151, 155. Furthermore, a tensor 162 is output from the neural network 160. The size of the tensor 162 is 100 vertical × 1 horizontal × 1 channel. Thus, the tensor 162 corresponds to a column vector. The tensor 162 includes numerical values indicating 100 electromagnetic wave intensities corresponding to 100 frequencies.
[0059] Machine learning to determine edge weights of the neural network 160 is performed by the backpropagation method. The backpropagation method includes a forward phase, a backward phase, and an update phase. In the forward phase, input data included in the training data is input to the input layer, and a calculation is performed in the forward direction from the input layer to the output layer to calculate an output value by multiplying the input value by a weight, thereby generating output data. In the backward phase, an error between the output data and teacher data included in the training data is calculated, and the error information is propagated in the backward direction from the output layer to the input layer to calculate an error gradient of the weight of each edge. In the update phase, the weights are updated based on the error gradient and a predetermined learning rate. The forward phase, backward phase, and update phase are repeatedly executed.
[0060] The information processing device 100 may further edit the binary image data in which the element value is 0 or 1. For example, the information processing device 100 may replace a value indicating a wiring or return path with a numerical value indicating the length of the wiring or return path. The information processing device 100 may also convert the values of elements in the vicinity of the wiring or return path into numerical values that gradually attenuate the farther away from the wiring or return path. The image data processed in this manner approximates the electromagnetic wave intensity in the vicinity of the wiring or return path.
[0061] Next, functions and processing procedures of the information processing device 100 will be described. FIG. 8 is a block diagram showing an example of functions of the information processing device of the second embodiment. The information processing device 100 has a circuit data storage unit 121, an electromagnetic wave data storage unit 122, a training data storage unit 123, and a model storage unit 124. The above storage units are implemented, for example, using the storage areas of the RAM 102 or the HDD 103. The information processing device 100 also has a circuit data generation unit 125, a simulation unit 126, a training data generation unit 127, a model generation unit 128, and an electromagnetic wave estimation unit 129. The above processing units are implemented, for example, using a program.
[0062] The circuit data storage unit 121 stores samples of circuit data used in machine learning. The circuit data storage unit 121 also stores circuit data of an electronic circuit under design. The electromagnetic wave data storage unit 122 stores electromagnetic wave data indicating electromagnetic wave intensity at a position a predetermined distance away from the electronic circuit, in association with the samples of circuit data stored in the circuit data storage unit 121. This electromagnetic wave data corresponds to teacher data.
[0063] The training data storage unit 123 stores training data used in machine learning. The training data includes a plurality of records in which input data indicating a circuit structure is associated with teacher data indicating electromagnetic wave intensity. The model storage unit 124 stores a model generated from the training data by machine learning. The model is a neural network.
[0064] The circuit data generating unit 125 generates samples of circuit data and stores them in the circuit data storage unit 121. The circuit data generating unit 125 generates circuit data including a wiring layer including wiring and a solid GND layer including slits based on a predetermined rule. The circuit data generating unit 125 generates various circuit data by changing the position and shape of the wiring and the position and size of the slits. The position of the wiring, the shape of the wiring, the position of the slits, and the size of the slits are each selected from a plurality of candidates prepared in advance.
[0065] The simulation unit 126 executes an electromagnetic wave simulation for each sample of the circuit data stored in the circuit data storage unit 121. The electromagnetic wave simulation is, for example, a three-dimensional finite element method simulation that calculates the electromagnetic wave intensity around the electronic circuit. The simulation unit 126 generates electromagnetic wave data indicating the electromagnetic wave intensity at a position a predetermined distance away from the electronic circuit, and stores the data in the electromagnetic wave data storage unit 122.
[0066] The training data generation unit 127 generates an input tensor including image data of each layer from the circuit data samples stored in the circuit data storage unit 121. The training data generation unit 127 also generates an output tensor that lists a plurality of electromagnetic wave intensities corresponding to a plurality of frequencies from the electromagnetic wave data stored in the electromagnetic wave data storage unit 122. The training data generation unit 127 generates training data including a plurality of records that respectively associate the input tensors with the output tensors, and stores the training data in the training data storage unit 123.
[0067] The model generation unit 128 generates a model by machine learning using the training data stored in the training data storage unit 123, and stores the generated model in the model storage unit 124. The model is a neural network, and the machine learning is deep learning. In the machine learning, the weights included in the neural network are determined by the backpropagation method.
[0068] The electromagnetic wave estimation unit 129 reads out circuit data of the electronic circuit under design from the circuit data storage unit 121. The electromagnetic wave estimation unit 129 generates an input tensor from the circuit data in a similar manner to the training data generation unit 127. The electromagnetic wave estimation unit 129 inputs the input tensor to a model stored in the model storage unit 124, and obtains an output tensor indicating electromagnetic wave intensity. The electromagnetic wave estimation unit 129 outputs electromagnetic wave data indicating the estimated electromagnetic wave intensity. The electromagnetic wave estimation unit 129 may display the estimated electromagnetic wave data on the display device 111. In addition, the electromagnetic wave estimation unit 129 may store the estimated electromagnetic wave data in the electromagnetic wave data storage unit 122. In addition, the electromagnetic wave estimation unit 129 may transmit the estimated electromagnetic wave data to another information processing device.
[0069] 9 is a flowchart showing an example of a procedure for generating a model. The circuit data generating unit 125 generates multiple sets of circuit data including a wiring layer and a solid GND layer while changing the wiring and slits (S10). The simulation unit 126 executes an electromagnetic wave simulation by a three-dimensional finite element method for each of the circuit data generated in step S10. As a result, the simulation unit 126 generates electromagnetic wave data indicating the electromagnetic wave intensity at a position a predetermined distance away from the electronic circuit for each of the circuit data (S11).
[0070] The training data generating unit 127 selects one of the circuit data generated in step S10. The training data generating unit 127 converts the patterns of each of the layers indicated by the selected circuit data into image data indicating a conductor region. The training data generating unit 127 draws a line on the image data of the solid GND layer at the same position as the wiring of the adjacent wiring layer (S12).
[0071] The training data generating unit 127 detects the end points of the lines divided by the slits in step S12 on the image data of the solid GND layer (S13). The training data generating unit 127 searches for the shortest path that bypasses the slit between two end points that sandwich the same slit. As a result, the training data generating unit 127 determines, on the image data of the solid GND layer, a return path through which a return current flows when a current flows in the wiring of the wiring layer (S14).
[0072] The training data generation unit 127 converts the image data so that the image data of the solid GND layer indicates a return path. The training data generation unit 127 generates a tensor including the image data of the wiring layer and the image data of the solid GND layer. The training data generation unit 127 associates the tensor of the circuit image with the electromagnetic wave data generated in step S11 from the selected circuit data and adds them to the training data (S15). The training data generation unit 127 determines whether all the circuit data has been selected in step S12. If all the circuit data has been selected, the process proceeds to step S17, and if there is unselected circuit data, the process returns to step S12 (S16).
[0073] The model generation unit 128 extracts pairs of tensors of circuit images and electromagnetic wave data from the training data. The model generation unit 128 inputs the tensors of the circuit images into a model, and obtains an estimated electromagnetic wave intensity output by the model. The model generation unit 128 calculates an error between the correct electromagnetic wave intensity indicated by the electromagnetic wave data extracted from the training data and the estimated electromagnetic wave intensity (S17). The model generation unit 128 updates the parameters of the model so as to reduce the error (S18).
[0074] The model generation unit 128 judges whether the iterations of steps S17 and S18 have reached a predetermined number. If the iterations have reached the predetermined number, the model generation unit 128 saves the model and ends the machine learning. If the iterations have not reached the predetermined number, the process returns to step S17 (S19). Note that a stopping condition other than the number of iterations may be set. For example, the stopping condition may be that the error has fallen below a threshold value.
[0075] 10 is a flowchart showing an example of a procedure for estimating electromagnetic waves. The electromagnetic wave estimation unit 129 acquires circuit data of an electronic circuit under design, including a wiring layer and a solid GND layer (S20). The electromagnetic wave estimation unit 129 converts the patterns of each of the multiple layers indicated by the acquired circuit data into image data indicating a conductor region. The electromagnetic wave estimation unit 129 draws a line on the image data of the solid GND layer at the same position as the wiring of the adjacent wiring layer (S21).
[0076] The electromagnetic wave estimation unit 129 detects the end points of the line divided by the slit in step S21 on the image data of the solid GND layer (S22). The electromagnetic wave estimation unit 129 searches for the shortest path that bypasses the slit between the two end points that sandwich the same slit. As a result, the electromagnetic wave estimation unit 129 determines the return path through which the return current flows when a current flows in the wiring of the wiring layer on the image data of the solid GND layer (S23).
[0077] The electromagnetic wave estimation unit 129 converts the image data so that the image data of the solid GND layer indicates a return path. The electromagnetic wave estimation unit 129 generates a tensor including the image data of the wiring layer and the image data of the solid GND layer (S24). The electromagnetic wave estimation unit 129 inputs the tensor of the circuit image into a model to estimate the electromagnetic wave intensity (S25). The electromagnetic wave estimation unit 129 generates and outputs estimated electromagnetic wave data indicating the estimated electromagnetic wave intensity. For example, the electromagnetic wave estimation unit 129 displays the estimated electromagnetic wave data on the display device 111 (S26).
[0078] In this way, the information processing device 100 of the second embodiment generates a model for estimating electromagnetic wave intensity from image data showing a pattern of an electronic circuit by machine learning. Then, the information processing device 100 estimates the electromagnetic wave intensity of the electronic circuit under design using the generated model. This eliminates the need for the electronic circuit designer to implement the electronic circuit under design and measure the electromagnetic wave intensity. In addition, the information processing device 100 does not need to execute electromagnetic wave simulation, which requires a large amount of calculation, for the electronic circuit under design. Therefore, the designer can quickly obtain information on the electromagnetic wave intensity for various designs of electromagnetic circuits.
[0079] Moreover, the image data corresponding to the solid GND layer among the inputs to the model includes a virtual wiring showing a return path through which the return current flows. Therefore, the model can take into account the effect of the return current on the electromagnetic wave intensity, and the estimation accuracy of the electromagnetic wave intensity is improved. Furthermore, when the solid GND layer includes a slit, the information processing device 100 searches the image data for the shortest path that bypasses the slit to determine the virtual wiring. Therefore, the image data of the solid GND layer can accurately represent the return path, and the accuracy of the model is improved. [Explanation of symbols]
[0080] 10. Information processing device 11 Storage section 12 Control section 13,14 Circuit data 15,16,17 Pattern 15a Slit 16a, 17a Wiring 18 Training Data
Claims
1. Identifying a first pattern indicative of a first layer included in the first circuit data; generating second circuit data in which the first pattern is changed to a third pattern including a second wiring corresponding to the first wiring, based on a first wiring included in a second pattern indicating a second layer adjacent to the first layer and a slit included in the first pattern; generating training data to be used in machine learning for training a machine learning model for estimating electromagnetic radiation of an electronic circuit based on the second circuit data; A training data generation program that causes a computer to execute a process.
2. the process of generating the second circuit data includes a process of determining a path of a return current flowing in the first layer when a current flows in the first wiring, and determining the second wiring so as to indicate the path of the return current; 2. The training data generating program according to claim 1 .
3. the process of generating the second circuit data includes a process of detecting an intersection between a line at a position corresponding to the first wiring in the first pattern and the slit, and determining the second wiring so as to indicate a detour route that detours around the slit and connects points on both sides of the intersection, 2. The training data generating program according to claim 1 .
4. The first layer is a ground layer in which an empty area outside the slit is covered with a conductor.
2. The training data generating program according to claim 1 .
5. Identifying a first pattern indicative of a first layer included in the first circuit data; generating second circuit data in which the first pattern is changed to a third pattern including a second wiring corresponding to the first wiring, based on a first wiring included in a second pattern indicating a second layer adjacent to the first layer and a slit included in the first pattern; generating training data to be used in machine learning for training a machine learning model for estimating electromagnetic radiation of an electronic circuit based on the second circuit data; A training data generation method, the processing of which is executed by a computer.
6. a storage unit that stores first circuit data including a first pattern indicating a first layer and a second pattern indicating a second layer adjacent to the first layer; a control unit that generates second circuit data in which the first pattern is changed to a third pattern including a second wiring corresponding to the first wiring, based on a first wiring included in the second pattern and a slit included in the first pattern, and generates training data to be used in machine learning for training a machine learning model for estimating electromagnetic radiation of an electronic circuit, based on the second circuit data; 13. An information processing device comprising:
Citation Information
Patent Citations
System for checking return path of printed wiring board
JP2007011629A
Substrate evaluating device, substrate evaluation method, substrate evaluation program, and recording medium with the substrate evaluation program stored
JP2009146271A
Board design device
JP2009151363A
Design support device and information processing method for the same
JP2012155489A
Estimation program, estimation device and estimation method
JP2020060877A
