JP2022020189A - Net list generator - Google Patents

Net list generator Download PDF

Info

Publication number
JP2022020189A
JP2022020189A JP2020123550A JP2020123550A JP2022020189A JP 2022020189 A JP2022020189 A JP 2022020189A JP 2020123550 A JP2020123550 A JP 2020123550A JP 2020123550 A JP2020123550 A JP 2020123550A JP 2022020189 A JP2022020189 A JP 2022020189A
Authority
JP
Japan
Prior art keywords
circuit
wiring
netlist
processing unit
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2020123550A
Other languages
Japanese (ja)
Inventor
智行 河野
Tomoyuki Kono
賢佑 伊藤
Kensuke Ito
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
KYB Corp
Original Assignee
KYB Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by KYB Corp filed Critical KYB Corp
Priority to JP2020123550A priority Critical patent/JP2022020189A/en
Publication of JP2022020189A publication Critical patent/JP2022020189A/en
Pending legal-status Critical Current

Links

Images

Abstract

To evaluate a circuit with a few burden on a worker, and design the circuit with a high degree of accuracy.SOLUTION: A net list generator includes: a circuit processing unit which extracts wiring connected to electronic components from first circuit data including information on the electronic components and the wiring which connects the electronic components, and creates second circuit data to which a resistor or a capacitor having a value set in the extracted extraction wiring is added; and a net list creation unit which creates a net list for simulating the flow of electricity of the circuit, based on the second circuit data.SELECTED DRAWING: Figure 1

Description

本発明は、ネットリスト生成装置に関する。 The present invention relates to a netlist generator.

回路は、例えば、物理的なレイアウトを示す回路図面を作成し、回路図面から電気的な接続関係を示すネットリストを作成することで設計される。特許文献1には、データの少ないネットリストを作成する装置として、繰り返し構成を備える回路のネットリスト生成装置が記載されている。 A circuit is designed, for example, by creating a circuit drawing showing a physical layout and creating a netlist showing an electrical connection relationship from the circuit drawing. Patent Document 1 describes a netlist generation device for a circuit having a repeating configuration as a device for creating a netlist with a small amount of data.

特開2006-235920号公報Japanese Unexamined Patent Publication No. 2006-235920

ここで、回路は、設計した後、適切に動くかを評価するために、ネットリストについて電気的なシミュレーションを実行し、電気信号が適切に流れる回路か、回路に不具合がないかを評価する。ネットリストを用いて実行するシミュレーションする場合、ネットリストで表現される回路構成で解が出ない部分があるとシミュレーションが実行できない。シミュレーションが実行できない場合、ネットリストや回路図面を確認して、不具合が生じる部分を発見し、シミュレーションに影響が出ない範囲で回路を加工する必要が生じ、作業員の負担となる。 Here, after designing the circuit, in order to evaluate whether it works properly, an electrical simulation is performed on the netlist to evaluate whether the circuit allows an electric signal to flow properly or whether there is a defect in the circuit. When simulating using a netlist, the simulation cannot be executed if there is a part of the circuit configuration expressed by the netlist that does not have a solution. If the simulation cannot be executed, it is necessary to check the netlist and the circuit drawing to find the part where the defect occurs, and to process the circuit within the range that does not affect the simulation, which is a burden on the worker.

本発明は、上記に鑑みてなされたものであって、少ない作業者への負担で、回路の評価を行うことができ、回路を高い精度で設計することができるネットリスト生成装置を提供することを目的とする。 The present invention has been made in view of the above, and provides a netlist generator capable of evaluating a circuit with a small burden on an operator and designing the circuit with high accuracy. With the goal.

上述した課題を解決し、目的を達成するために、本開示に係るネットリスト生成装置は、電子部品と前記電子部品を接続する配線の情報を含む第1の回路データから前記電子部品に接続される配線を抽出し、抽出した抽出配線に設定された値の抵抗またはコンデンサが追加された第2の回路データを作成する回路加工部と、前記第2の回路データに基づいて、回路の電気の流れをシミュレーションするためのネットリストを作成するネットリスト作成部と、を含む。 In order to solve the above-mentioned problems and achieve the object, the netlist generator according to the present disclosure is connected to the electronic component from the first circuit data including information on the wiring connecting the electronic component and the electronic component. The circuit processing unit that extracts the wiring and creates the second circuit data to which the resistor or capacitor of the value set in the extracted wiring is added, and the electric of the circuit based on the second circuit data. Includes a netlist creation unit, which creates a netlist for simulating the flow.

前記回路加工部は、ループを形成し、かつ、ループを形成する経路に何も部品が配置されていない配線に前記抵抗を直列に追加することが好ましい。 It is preferable that the circuit processing section adds the resistance in series to the wiring in which the loop is formed and no component is arranged in the path forming the loop.

前記抵抗は、前記第1の回路データに含まれる電子部品の抵抗値よりも小さい抵抗値であることが好ましい。 The resistance is preferably a resistance value smaller than the resistance value of the electronic component included in the first circuit data.

前記回路加工部は、前記電子部品の内部に配置され、両端が外部と接続し、かつ、内部で他の電子部品が接続されていない配線に、接地しているコンデンサを追加することが好ましい。 It is preferable to add a grounded capacitor to the wiring which is arranged inside the electronic component, has both ends connected to the outside, and is not connected to other electronic components inside.

本発明によれば、少ない作業者への負担で、回路の評価を行うことができ、回路を高い精度で設計することができる。 According to the present invention, the circuit can be evaluated with a small burden on the operator, and the circuit can be designed with high accuracy.

図1は、本実施形態に係る回路設計装置の断面図である。FIG. 1 is a cross-sectional view of the circuit design device according to the present embodiment. 図2は、回路設計装置を用いた回路設計方法の一例を示すフローチャートである。FIG. 2 is a flowchart showing an example of a circuit design method using a circuit design device. 図3は、ネットリスト作成方法の一例を示すフローチャートである。FIG. 3 is a flowchart showing an example of a netlist creation method. 図4は、ネットリスト作成方法の他の例を示すフローチャートである。FIG. 4 is a flowchart showing another example of the netlist creation method. 図5は、ネットリスト作成方法を説明するための説明図である。FIG. 5 is an explanatory diagram for explaining a method of creating a netlist. 図6は、ネットリスト作成方法を説明するための説明図である。FIG. 6 is an explanatory diagram for explaining a method of creating a netlist. 図7は、ネットリスト作成方法を説明するための説明図である。FIG. 7 is an explanatory diagram for explaining a method of creating a netlist.

以下に、本発明の好適な実施形態を図面に基づいて詳細に説明する。なお、以下に説明する実施形態により本発明が限定されるものではない。 Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings. The present invention is not limited to the embodiments described below.

図1は、本実施形態に係る回路設計装置の断面図である。図1に示すように、回路設計装置10は、回路図面の作成、シミュレーションに用いることができるネットリストの作成、シミュレーション、を実行する。本実施形態の回路設計装置10は、1つの装置で、回路図面の作成、シミュレーションに用いることができるネットリストの作成、シミュレーション、を実行する場合として説明するが、それぞれを別の装置で実行してもよい。つまり、回路設計装置10は、回路図面を作成する回路図面作成装置と、シミュレーションに用いることができるネットリストを作成するネットリスト作成装置と、シミュレーションを実行するシミュレーション装置の機能を備えるが、それぞれを別の装置としてもよい。 FIG. 1 is a cross-sectional view of the circuit design device according to the present embodiment. As shown in FIG. 1, the circuit design device 10 executes a circuit drawing, a netlist that can be used for simulation, and a simulation. The circuit design device 10 of the present embodiment will be described as a case where a circuit drawing is created, a netlist that can be used for simulation is created, and a simulation is executed by one device, but each is executed by another device. You may. That is, the circuit design device 10 has the functions of a circuit drawing creating device for creating a circuit drawing, a netlist creating device for creating a netlist that can be used for simulation, and a simulation device for executing simulation. It may be another device.

回路設計装置10は、入力部12と、出力部14と、通信部16と、処理部18と、記憶部20と、を備える。回路設計装置10は、入力出力手段が作業者の手元にあり、入力に基づいて各種演算処理を実行する装置であり、例えば、パーソナルコンピュータ、タブレット、クラウドコンピュータ等である。回路設計装置10は、入力部12と、出力部14と、通信部16と、処理部18と、記憶部20と、を備える。 The circuit design device 10 includes an input unit 12, an output unit 14, a communication unit 16, a processing unit 18, and a storage unit 20. The circuit design device 10 is a device in which an input / output means is in the hands of an operator and executes various arithmetic processes based on the input, and is, for example, a personal computer, a tablet, a cloud computer, or the like. The circuit design device 10 includes an input unit 12, an output unit 14, a communication unit 16, a processing unit 18, and a storage unit 20.

入力部12は、作業者の入力を検出する機器である、入力部12としては、キーボード、マウス、タッチパネル、マイク(音声検出機器)、カメラ(ジェスチャ検出機器)等を用いることができる。出力部14は、作業者に各種情報を出力する機器であり、モニター等の表示装置、スピーカ等の音声出力装置である。通信部16は、他の電子機器と通信を行い、データの送受信を行う。通信部16は、優先、無線で通信を行う。また、回路設計装置10は、記録媒体とデータの授受を行うUSB端子等を備えていてもよい。 The input unit 12 is a device that detects the input of the operator. As the input unit 12, a keyboard, a mouse, a touch panel, a microphone (voice detection device), a camera (gesture detection device), and the like can be used. The output unit 14 is a device that outputs various information to the operator, and is a display device such as a monitor and an audio output device such as a speaker. The communication unit 16 communicates with other electronic devices and transmits / receives data. The communication unit 16 preferentially communicates wirelessly. Further, the circuit design device 10 may include a USB terminal or the like for exchanging data with a recording medium.

処理部18は、CPU(Central Processing Unit)等の演算装置を備える。処理部18は、記憶部20に記憶されているプログラムを実行することで処理を実行する。処理部18は、回路図面作成部32と、モデル作成部34と、回路加工部35と、シミュレーション実行部36と、を含む。 The processing unit 18 includes an arithmetic unit such as a CPU (Central Processing Unit). The processing unit 18 executes processing by executing a program stored in the storage unit 20. The processing unit 18 includes a circuit drawing creation unit 32, a model creation unit 34, a circuit processing unit 35, and a simulation execution unit 36.

回路図面作成部32は、作業者の入力に基づいて、回路図面(第1の図面データ)を作成する。回路図面作成部32は、記憶部20に記憶される回路図面を作成するソフトウェアを実行し、作業者の入力に基づいて情報を取得することで、回路図面の作成処理を実行する。回路図面は、電子部品と配線の物理配置の情報が対応付けられたデータである。 The circuit drawing creation unit 32 creates a circuit drawing (first drawing data) based on the input of the operator. The circuit drawing creation unit 32 executes software for creating a circuit drawing stored in the storage unit 20, and executes a circuit drawing creation process by acquiring information based on an operator's input. The circuit drawing is data in which information on the physical arrangement of electronic components and wiring is associated with each other.

モデル作成部(ネットリスト作成部)34は、回路図面のデータに基づいてネットリストを作成する。つまり、モデル作成部34は、回路図面をネットリストに変換する。ネットリストは、シミュレーションで処理する対象である、設計した回路のモデルとなる。 The model creation unit (netlist creation unit) 34 creates a netlist based on the data of the circuit drawing. That is, the model creation unit 34 converts the circuit drawing into a netlist. The netlist is a model of the designed circuit to be processed by the simulation.

回路加工部35は、回路図面またはネットリストに対して部品を付加する加工を行う。回路加工部35は、シミュレーション実行時に、計算でき条件を満たす配線に対して、抵抗及びコンデンサの少なくとも一方を付加する。回路加工部35で加工した回路図面、ネットリストが、第2の図面データとなる。 The circuit processing unit 35 performs processing for adding parts to the circuit drawing or the netlist. At the time of executing the simulation, the circuit processing unit 35 adds at least one of a resistance and a capacitor to the wiring that can be calculated and satisfies the conditions. The circuit drawing and netlist processed by the circuit processing unit 35 become the second drawing data.

シミュレーション実行部36は、モデル作成部34で作成し、回路加工部35で加工されたネットリストのシミュレーションを行い、ネットリストの回路が作動するかの判定処理を実行する。シミュレーション実行部36が実行するシミュレーションは特に限定されず、回路を動作させる種々のシミュレーションを用いることができる。 The simulation execution unit 36 is created by the model creation unit 34, simulates the netlist processed by the circuit processing unit 35, and executes a determination process of whether or not the circuit of the netlist operates. The simulation executed by the simulation execution unit 36 is not particularly limited, and various simulations for operating the circuit can be used.

記憶部20は、RAM(Random Access Memory)、ROM(Read only memory)等のデータを記憶する装置である。記憶部20は、部品データベース42と、変換用データベース44と、加工条件データベース46と、を含む。 The storage unit 20 is a device that stores data such as a RAM (Random Access Memory) and a ROM (Read only memory). The storage unit 20 includes a component database 42, a conversion database 44, and a processing condition database 46.

部品データベース42は、回路図面に搭載する電子部品、配線の情報を蓄積している。電子部品の情報としては、名称、大きさ、形状、端子の数、位置、各端子の内部での接続状態、内部で各端子に接続される電子部品の機能(抵抗、容量等)が記憶される。部品データベース42は、電子部品、配線毎のネットリストの情報も記憶している。 The component database 42 stores information on electronic components and wiring to be mounted on the circuit drawing. As the information of the electronic component, the name, size, shape, number of terminals, position, connection state inside each terminal, and the function (resistance, capacity, etc.) of the electronic component connected to each terminal internally are stored. To. The component database 42 also stores information on the netlist for each electronic component and wiring.

変換用データベース44は、回路図面の情報をネットリストに変換するデータである変換リストを蓄積している。変換データベース44は、回路図面上で回路部品をネットリストの情報に変換する場合の変換規則や、回路図面上で電子部品を接続している配線をネットリストの情報に変換する場合の変換規則が記憶される。 The conversion database 44 stores a conversion list, which is data for converting circuit drawing information into a netlist. The conversion database 44 has conversion rules for converting circuit components into netlist information on a circuit drawing and conversion rules for converting wiring connecting electronic components on a circuit drawing to netlist information. It will be remembered.

加工条件データベース46は、回路加工部35で部品を付加する条件を蓄積している。ここで、追加する電子部品としては、抵抗、コンデンサが例示される。また、追加する電子部品は、ネットリストのシミュレーションの結果に実質的な影響を与えない程度の特性、配置位置が設定される。加工条件データベース46は、回路図面及びネットリストの少なくとも一方の情報に基づいて、配線に抵抗またはコンデンサを追加する条件を含む。具体的な条件としては、コネクタと外部の部品との接続部の配線に抵抗またはインピーダンス素子(抵抗器、コイル、コンデンサ)を設置する、ループを形成し、かつ、ループを形成する経路に何も部品が配置されていない配線に抵抗を配置する、電子部品の内部に配置され、両端が外部と接続し、かつ、内部で他の電子部品が接続されていない配線に、接地しているコンデンサまたはインピーダンス素子(抵抗器、コイル、コンデンサ)を追加する等である。 The processing condition database 46 stores conditions for adding parts in the circuit processing unit 35. Here, as the electronic component to be added, a resistance and a capacitor are exemplified. In addition, the characteristics and placement positions of the electronic components to be added are set so as not to substantially affect the result of the netlist simulation. The machining condition database 46 includes conditions for adding resistors or capacitors to the wiring based on at least one of the information in the schematic and netlist. Specific conditions include installing a resistor or impedance element (resistor, coil, capacitor) in the wiring at the connection between the connector and external components, forming a loop, and nothing in the path that forms the loop. Place a resistor in the wiring where the component is not placed, a capacitor or a capacitor that is placed inside the electronic component and is grounded to the wiring where both ends are connected to the outside and no other electronic component is connected inside. Add impedance elements (resistors, coils, capacitors), etc.

図2は、回路設計装置を用いた回路設計方法の一例を示すフローチャートである。回路設計装置10は、作業者の操作を検出して、各種処理を実行し、作業者が設計する回路を作成し、作成した回路が適切に稼働するかの確認処理を行う。 FIG. 2 is a flowchart showing an example of a circuit design method using a circuit design device. The circuit design device 10 detects an operator's operation, executes various processes, creates a circuit designed by the operator, and performs a confirmation process of confirming whether the created circuit operates properly.

次に、図2から図7を用いて、回路設計装置10で実行する処理動作を説明する。まず、図2を用いて、回路設計装置10で実行する回路作成方法について、説明する。図2に示す処理は、回路設計装置10が、作業者の入力を検出して各種処理を実行する。 Next, the processing operation executed by the circuit design device 10 will be described with reference to FIGS. 2 to 7. First, a circuit creating method executed by the circuit design device 10 will be described with reference to FIG. In the process shown in FIG. 2, the circuit design device 10 detects the input of the operator and executes various processes.

回路設計装置10は、回路図面を作成する(ステップS12)。具体的には、回路設計装置10は、入力部12で検出した入力に基づいて、回路図面作成部32で電子部品及び配線の物理的な配置の情報を含む回路図面を作成する。回路図面作成部32は、回路図面を作成するソフトウェアを実行し、部品データベース42の選択画面を表示して、回路図面を作成する。回路図面作成部32は、選択された部品に対するドロップアンドドラック操作で部品を指定された位置に配置する。また、回路図面作成部32は、マウスのポインタで電子部品同士を接続する操作に基づいて、配線を配置する。 The circuit design device 10 creates a circuit drawing (step S12). Specifically, the circuit design device 10 creates a circuit drawing including information on the physical arrangement of electronic components and wiring in the circuit drawing creation unit 32 based on the input detected by the input unit 12. The circuit drawing creation unit 32 executes software for creating a circuit drawing, displays a selection screen of the component database 42, and creates a circuit drawing. The circuit drawing creation unit 32 arranges the component at a designated position by a drop-and-drag operation on the selected component. Further, the circuit drawing creation unit 32 arranges the wiring based on the operation of connecting the electronic components with the pointer of the mouse.

回路設計装置10は、ネットリストを作成する(ステップS14)。回路設計装置10は、モデル作成部34により、回路図面のデータをネットリストに変換する。また、回路設計装置10は、回路加工部35で、加工条件データベース46の条件を満たす位置に電子部品を追加する。この点については、後述する。 The circuit design device 10 creates a netlist (step S14). The circuit design device 10 converts the data of the circuit drawing into a netlist by the model creation unit 34. Further, the circuit design device 10 adds electronic components at positions satisfying the conditions of the processing condition database 46 in the circuit processing unit 35. This point will be described later.

回路設計装置10は、シミュレーショを実行する(ステップS16)。回路設計装置10は、シミュレーション実行部36でネットリストを解析する。シミュレーション実行部36は、ネットリストの回路が適切に動作するかを判定する。シミュレーション実行部36は、ネットリストの回路の不具合がある位置を検出した場合、その位置を示す情報、例えば、エラーログの情報を生成する。回路設計装置10は、シミュレーション結果を出力する(ステップS18)。回路設計装置10は、出力部14にシミュレーション結果を出力する。シミュレーション結果としては、回路が適切に動作するか、しないかの判断結果、回路のシミュレーションを実行して出力される信号の情報、不具合を検出した場合不具合がある位置等がある。 The circuit design device 10 executes the simulation (step S16). The circuit design device 10 analyzes the netlist by the simulation execution unit 36. The simulation execution unit 36 determines whether the netlist circuit operates properly. When the simulation execution unit 36 detects a defective position in the netlist circuit, it generates information indicating the position, for example, error log information. The circuit design device 10 outputs a simulation result (step S18). The circuit design device 10 outputs the simulation result to the output unit 14. The simulation results include the judgment result of whether or not the circuit operates properly, the information of the signal output by executing the simulation of the circuit, the position where the defect is detected when the defect is detected, and the like.

次に、回路設計方法のステップS14の処理、つまり、回路図面からネットリストを作成する処理について、具体的に説明する。図3は、ネットリスト作成方法の一例を示すフローチャートである。図3に示す処理は、回路図面をネットリストに変換する処理の具体的な一例である。図3に示す処理は、モデル作成部34及び回路加工部35で実行する。 Next, the process of step S14 of the circuit design method, that is, the process of creating a netlist from the circuit drawing will be specifically described. FIG. 3 is a flowchart showing an example of a netlist creation method. The process shown in FIG. 3 is a specific example of the process of converting a circuit drawing into a netlist. The process shown in FIG. 3 is executed by the model creation unit 34 and the circuit processing unit 35.

モデル作成部34は、回路図面のデータを取得する(ステップS22)。つまり、モデル作成部34は、回路図面作成部32で作成した電子部品の物理配置を示す情報である回路図面の情報を取得する。モデル作成部34は、変換リストを取得する(ステップS24)。つまり、モデル作成部34は、変換用データベース44から変換リストの情報を取得する。モデル作成部34は、変換リストに基づいて、回路図面データをネットリストに変換する(ステップS26)。モデル作成部34は、以上の処理を実行して、作成された回路図面に対応するネットリストを作成する。 The model creation unit 34 acquires the data of the circuit drawing (step S22). That is, the model creation unit 34 acquires the information of the circuit drawing, which is the information indicating the physical arrangement of the electronic components created by the circuit drawing creation unit 32. The model creation unit 34 acquires the conversion list (step S24). That is, the model creation unit 34 acquires the information of the conversion list from the conversion database 44. The model creation unit 34 converts the circuit drawing data into a netlist based on the conversion list (step S26). The model creation unit 34 executes the above processing to create a netlist corresponding to the created circuit drawing.

回路加工部35は、変換したネットリストの情報に基づいて、回路に対して部品の追加の処理を実行する。回路加工部35は、加工条件データベースを取得する(ステップS28)。次に、回路加工部35は、判断対象を抽出する(ステップS30)。つまり、回路加工部35は、ネットリストに含まれる情報から、判断対象として一部分の情報、具体的には、ネットリストの1つの電子部品や1つの配線に関する情報を取得する。 The circuit processing unit 35 executes additional processing of components for the circuit based on the converted netlist information. The circuit processing unit 35 acquires a processing condition database (step S28). Next, the circuit processing unit 35 extracts the determination target (step S30). That is, the circuit processing unit 35 acquires a part of information as a judgment target, specifically, information about one electronic component and one wiring of the netlist from the information included in the netlist.

回路加工部35は、加工を行う対象かを判定する(ステップS32)。回路加工部35は、判断対象が部品を追加する条件を満たしているかを判定する。回路加工部35は、加工を行う対象ではない(ステップS32でNo)と判定した場合、ステップS36に進む。回路加工部35は、加工を行う対象ではある(ステップS32でYes)と判定した場合、判定対象に部品を追加し(ステップS34)、ステップS36に進む。つまり、回路加工部35は、抵抗を追加すると判定した位置に抵抗を追加し、コンデンサを追加すると判定した位置にはコンデンサを追加する。 The circuit processing unit 35 determines whether or not it is an object to be processed (step S32). The circuit processing unit 35 determines whether or not the determination target satisfies the condition for adding a component. When the circuit processing unit 35 determines that the processing target is not (No in step S32), the circuit processing unit 35 proceeds to step S36. When the circuit processing unit 35 determines that the processing target is (Yes in step S32), the circuit processing unit 35 adds a component to the determination target (step S34) and proceeds to step S36. That is, the circuit processing unit 35 adds the resistance at the position where it is determined to add the resistor, and adds the capacitor at the position where it is determined to add the capacitor.

回路加工部35は、全対象の判定が完了したかを判定する(ステップS36)。回路加工部35は、全ての判定対象について部品を追加するかの判定を行ったかを判定する。回路加工部35は、全対象の判定が完了していない(ステップS36でNo)と判定した場合、ステップS30に進む。回路加工部35は、全対象の判定が完了した(ステップS36でYes)と判定した場合、本処理を終了する。 The circuit processing unit 35 determines whether or not the determination of all objects has been completed (step S36). The circuit processing unit 35 determines whether or not it has been determined whether or not to add a component for all the determination targets. When the circuit processing unit 35 determines that the determination of all objects has not been completed (No in step S36), the circuit processing unit 35 proceeds to step S30. When it is determined that the determination of all the objects is completed (Yes in step S36), the circuit processing unit 35 ends this process.

回路設計装置10は、このように、回路加工部35で、ネットリストの判定対象のそれぞれについて部品を追加するかを判定し、必要と判定した位置に部品を追加する。 In this way, the circuit design device 10 determines whether to add a component for each of the determination targets of the netlist in the circuit processing unit 35, and adds the component at the position determined to be necessary.

図4は、ネットリスト作成方法の他の例を示すフローチャートである。図3に示す処理では、回路加工部35が、ネットリストに対して、判定処理を実行したが、回路図面の情報に対して、部品の追加の処理を実行してもよい。 FIG. 4 is a flowchart showing another example of the netlist creation method. In the process shown in FIG. 3, the circuit processing unit 35 executes the determination process for the netlist, but may execute an additional process for the component with respect to the information in the circuit drawing.

モデル作成部34は、回路図面のデータを取得する(ステップS22)。つまり、モデル作成部34は、回路図面作成部32で作成した電子部品の物理配置を示す情報である回路図面の情報を取得する。 The model creation unit 34 acquires the data of the circuit drawing (step S22). That is, the model creation unit 34 acquires the information of the circuit drawing, which is the information indicating the physical arrangement of the electronic components created by the circuit drawing creation unit 32.

回路加工部35は、回路図面の情報に基づいて、回路に対して部品の追加の処理を実行する。回路加工部35は、部品データベースを取得する(ステップS54)。回路加工部35は、回路図面に含まれる電子部品を判定するために部品データベースの情報を取得する。次に、回路加工部35は、加工条件データベースを取得する(ステップS56)。次に、回路加工部35は、判断対象を抽出する(ステップS58)。つまり、回路加工部35は、回路図面に含まれる電子部品、配線の情報から、判断対象として一部分の情報、具体的には、回路図面の1つの電子部品や1つの配線に関する情報を取得する。 The circuit processing unit 35 executes additional processing of components for the circuit based on the information in the circuit drawing. The circuit processing unit 35 acquires a parts database (step S54). The circuit processing unit 35 acquires information in the component database in order to determine the electronic components included in the circuit drawing. Next, the circuit processing unit 35 acquires a processing condition database (step S56). Next, the circuit processing unit 35 extracts the determination target (step S58). That is, the circuit processing unit 35 acquires a part of information as a judgment target, specifically, information about one electronic component and one wiring of the circuit drawing from the information of the electronic component and the wiring included in the circuit drawing.

回路加工部35は、加工を行う対象かを判定する(ステップS60)。回路加工部35は、判断対象が部品を追加する条件を満たしているかを判定する。回路加工部35は、加工を行う対象ではない(ステップS60でNo)と判定した場合、ステップS64に進む。回路加工部35は、加工を行う対象ではある(ステップS60でYes)と判定した場合、判定対象に部品を追加し(ステップS62)、ステップS64に進む。つまり、回路加工部35は、抵抗を追加すると判定した位置に抵抗を追加し、コンデンサを追加すると判定した位置にはコンデンサを追加する。 The circuit processing unit 35 determines whether or not the processing target is to be processed (step S60). The circuit processing unit 35 determines whether or not the determination target satisfies the condition for adding a component. When the circuit processing unit 35 determines that the processing target is not (No in step S60), the circuit processing unit 35 proceeds to step S64. When the circuit processing unit 35 determines that the processing target is (Yes in step S60), the circuit processing unit 35 adds a component to the determination target (step S62) and proceeds to step S64. That is, the circuit processing unit 35 adds the resistance at the position where it is determined to add the resistor, and adds the capacitor at the position where it is determined to add the capacitor.

回路加工部35は、全対象の判定が完了したかを判定する(ステップS64)。回路加工部35は、全ての判定対象について部品を追加するかの判定を行ったかを判定する。回路加工部35は、全対象の判定が完了していない(ステップS64でNo)と判定した場合、ステップS58に進む。回路加工部35は、全対象の判定が完了した(ステップS64でYes)と判定した場合、ステップS68に進む。 The circuit processing unit 35 determines whether or not the determination of all objects has been completed (step S64). The circuit processing unit 35 determines whether or not it has been determined whether or not to add a component for all the determination targets. When the circuit processing unit 35 determines that the determination of all objects has not been completed (No in step S64), the circuit processing unit 35 proceeds to step S58. When the circuit processing unit 35 determines that the determination of all objects is completed (Yes in step S64), the circuit processing unit 35 proceeds to step S68.

モデル作成部34は、変換リストを取得する(ステップS68)。つまり、モデル作成部34は、変換用データベース44から変換リストの情報を取得する。モデル作成部34は、変換リストに基づいて、回路図面データをネットリストに変換する(ステップS70)。モデル作成部34は、以上の処理を実行して、作成され、かつ、回路加工部35で不品を追加する処理を実行した回路図面に対応するネットリストを作成する。 The model creation unit 34 acquires the conversion list (step S68). That is, the model creation unit 34 acquires the information of the conversion list from the conversion database 44. The model creation unit 34 converts the circuit drawing data into a netlist based on the conversion list (step S70). The model creation unit 34 executes the above processing to create a netlist corresponding to the circuit drawing created and the circuit processing unit 35 has executed the processing of adding a non-defective item.

回路設計装置10は、このように、回路加工部35で、回路図面の判定対象のそれぞれについて部品を追加するかを判定し、必要と判定した位置に部品を追加する。 In this way, the circuit design device 10 determines whether to add a component for each of the determination targets of the circuit drawing by the circuit processing unit 35, and adds the component at the position determined to be necessary.

図5から図7は、それぞれネットリスト作成方法を説明するための説明図である。図5から図7は、本実施形態の回路加工部35で実行する電子部品の追加の処理の一例を、回路図面で示している。図5は、加工前の回路図面であり、図6、図7は、それぞれ加工後の回路図面である。 5 to 7 are explanatory diagrams for explaining a method of creating a netlist, respectively. 5 to 7 show in a circuit diagram an example of additional processing of electronic components performed by the circuit processing unit 35 of the present embodiment. FIG. 5 is a circuit diagram before processing, and FIGS. 6 and 7 are circuit drawings after processing, respectively.

図5に示す回路モデル100は、電源110と、電源110から電力が供給されるECU(Electronic Control Unit)112と、を含む。なお、回路モデル100は、一例であり、対象は、ECU112に限定されない。電源110は、直流12Vの電圧を供給する直流電源である。 The circuit model 100 shown in FIG. 5 includes a power supply 110 and an ECU (Electronic Control Unit) 112 to which power is supplied from the power supply 110. The circuit model 100 is an example, and the target is not limited to the ECU 112. The power supply 110 is a DC power supply that supplies a voltage of DC 12V.

ECU112は、モータ等のアクチュエータに供給する電力を制御し、アクチュエータの動作を制御する。ECU112は、コネクタ114と、電源回路116と、アクチュエータ駆動回路118と、CANトランシーバ(controller area network トランシーバ)120と、MPU(Micro-processing unit)122と、を含む。 The ECU 112 controls the electric power supplied to the actuator such as a motor, and controls the operation of the actuator. The ECU 112 includes a connector 114, a power supply circuit 116, an actuator drive circuit 118, a CAN transceiver (controller area network transceiver) 120, and an MPU (Micro-processing unit) 122.

コネクタ114は、接続端子であり、電源110とECU112の内部の各部と、を接続する。コネクタ114は、配線130、132、134、136、138、140、142を介して、電源110と接続している。それぞれの配線は、制御信号を伝送する配線や、電力を伝送する電力線となる配線である。コネクタ114は、電源110と電源回路116とを接続し、電源110のCANトランシーバ120とを接続する。 The connector 114 is a connection terminal and connects the power supply 110 and each part inside the ECU 112. The connector 114 is connected to the power supply 110 via wirings 130, 132, 134, 136, 138, 140, 142. Each wiring is a wiring that transmits a control signal and a wiring that is a power line that transmits electric power. The connector 114 connects the power supply 110 and the power supply circuit 116, and connects the CAN transceiver 120 of the power supply 110.

電源回路116は、コネクタ114を介して電源110の電力線と接続し、アクチュエータ駆動回路118と接続する。電源回路116は、電源110から供給される電力をアクチュエータ駆動回路118に供給できる電力に変換する回路である。例えば、電源回路116は、直流を交流に変換する回路や、電圧値を変換する回路である。アクチュエータ駆動回路118は、アクチュエータを駆動する回路である。アクチュエータがモータである場合、モータのコイルに接続している回路である。 The power supply circuit 116 is connected to the power line of the power supply 110 via the connector 114, and is connected to the actuator drive circuit 118. The power supply circuit 116 is a circuit that converts the electric power supplied from the power supply 110 into electric power that can be supplied to the actuator drive circuit 118. For example, the power supply circuit 116 is a circuit that converts direct current into alternating current and a circuit that converts voltage value. The actuator drive circuit 118 is a circuit for driving the actuator. When the actuator is a motor, it is a circuit connected to the coil of the motor.

CANトランシーバ120は、電源110から供給される制御信号を受信する。MPC122は、CANトランシーバ120で受信した信号に基づいて、各部の動作を制御する。回路モデル100は、以上のように各部が接続されている。 The CAN transceiver 120 receives a control signal supplied from the power supply 110. The MPC 122 controls the operation of each unit based on the signal received by the CAN transceiver 120. Each part of the circuit model 100 is connected as described above.

本実施形態の回路設計装置10は、回路加工部35で対象とする位置を特定し、特定した箇所に電子部品を追加する。図6は、加工条件データベース46で、コネクタと外部の部品との接続部の配線に抵抗を設置する設定が有効になっている場合の一例である。この場合、図6に示す回路モデル100aは、コネクタ114と電源110とを接続する配線130、132、134、136、138、140、142に、それぞれ1つの抵抗150a、150b、150c、150d、150e、150f、150gを追加する。これにより、コネクタ114と外部とを接続する配線に抵抗が形成される。また、本実施形態の場合、配線132と配線134とで形成されるループにも抵抗150b、150cが配置され、配線136と配線138とで形成されるループにも抵抗150c、150eが配置される。 In the circuit design device 10 of the present embodiment, the circuit processing unit 35 specifies a target position, and an electronic component is added to the specified position. FIG. 6 is an example of the case where the setting for installing a resistor in the wiring of the connection portion between the connector and the external component is enabled in the machining condition database 46. In this case, the circuit model 100a shown in FIG. 6 has one resistance 150a, 150b, 150c, 150d, 150e for each of the wirings 130, 132, 134, 136, 138, 140, 142 connecting the connector 114 and the power supply 110, respectively. , 150f, 150g are added. As a result, resistance is formed in the wiring connecting the connector 114 and the outside. Further, in the case of the present embodiment, the resistors 150b and 150c are also arranged in the loop formed by the wiring 132 and the wiring 134, and the resistances 150c and 150e are also arranged in the loop formed by the wiring 136 and the wiring 138. ..

図7は、加工条件データベース46で、コネクタと外部の部品との接続部の配線に抵抗を設置する設定と、電子部品の内部に配置され、両端が外部と接続し、かつ、内部で他の電子部品が接続されていない配線に、接地しているコンデンサを追加する設定が有効となっている場合の一例である。この場合、図7に示す回路モデル100bは、コネクタ114と電源110とを接続する配線130、132、134、136、138、140、142に、それぞれ1つの抵抗150a、150b、150c、150d、150e、150f、150gを追加する。これにより、コネクタ114と外部とを接続する配線に抵抗が形成される。抵抗は、配線に対して直列に配置される。また、回路モデル100bは、コネクタ114で接続する配線130と配線131との間にコンデンサ160aが配置される。回路モデル100bは、コネクタ114で接続する配線132と配線133との間にコンデンサ160bが配置される。回路モデル100bは、コネクタ114で接続する配線134と配線135との間にコンデンサ160cが配置される。回路モデル100bは、コネクタ114で接続する配線136と配線137との間にコンデンサ160dが配置される。回路モデル100bは、コネクタ114で接続する配線138と配線139との間にコンデンサ160eが配置される。回路モデル100bは、コネクタ114で接続する配線140と配線141との間にコンデンサ160fが配置される。回路モデル100bは、コネクタ114で接続する配線142と配線143との間にコンデンサ160gが配置される。 FIG. 7 shows the machining condition database 46, in which a resistor is installed in the wiring of the connection portion between the connector and the external component, and the capacitor is arranged inside the electronic component, both ends are connected to the outside, and the other components are internally formed. This is an example of the case where the setting to add a grounded capacitor to the wiring to which electronic components are not connected is enabled. In this case, the circuit model 100b shown in FIG. 7 has one resistance 150a, 150b, 150c, 150d, 150e for each of the wirings 130, 132, 134, 136, 138, 140, 142 connecting the connector 114 and the power supply 110, respectively. , 150f, 150g are added. As a result, resistance is formed in the wiring connecting the connector 114 and the outside. The resistors are placed in series with the wiring. Further, in the circuit model 100b, a capacitor 160a is arranged between the wiring 130 and the wiring 131 connected by the connector 114. In the circuit model 100b, the capacitor 160b is arranged between the wiring 132 and the wiring 133 connected by the connector 114. In the circuit model 100b, the capacitor 160c is arranged between the wiring 134 and the wiring 135 connected by the connector 114. In the circuit model 100b, the capacitor 160d is arranged between the wiring 136 and the wiring 137 connected by the connector 114. In the circuit model 100b, the capacitor 160e is arranged between the wiring 138 and the wiring 139 connected by the connector 114. In the circuit model 100b, the capacitor 160f is arranged between the wiring 140 and the wiring 141 connected by the connector 114. In the circuit model 100b, a capacitor 160 g is arranged between the wiring 142 and the wiring 143 connected by the connector 114.

コンデンサ160a、160b、160c、160d、160e、160f、160gは、コネクタ114の内部に配置され、一方の端部がそれぞれの配線に接続され、他方の端部が設置される。 Capacitors 160a, 160b, 160c, 160d, 160e, 160f, 160g are arranged inside the connector 114, one end connected to each wiring and the other end installed.

以上説明したように、本実施形態に係る回路設計装置10は、シミュレーションに用いる回路モデルの作成時に、回路加工部35で回路図面またはネットリストの各部に対して判定処理を実行し、加工条件データベース46に一致する位置に、電子部品を追加することで、シミュレーションが実行できる回路モデルを作成することができる。つまり、回路毛設計装置10は、回路加工部35で部品を追加することで、シミュレーション実行部36でシミュレーションを実行する際に回路モデルの各部に回路図面の構成に対して影響が出ない範囲で値を付与することができ、シミュレーション時に解が出ない構成となることを抑制することができる。 As described above, in the circuit design device 10 according to the present embodiment, when the circuit model used for the simulation is created, the circuit processing unit 35 executes a determination process for each part of the circuit drawing or the netlist, and the processing condition database. By adding electronic components at positions that match 46, it is possible to create a circuit model in which simulation can be executed. That is, in the circuit hair design device 10, by adding parts in the circuit processing unit 35, when the simulation is executed by the simulation execution unit 36, each part of the circuit model is not affected in the configuration of the circuit drawing. A value can be given, and it is possible to suppress the configuration in which no solution is obtained during simulation.

具体的には、ループを形成し、かつ、ループを形成する経路に何も部品が配置されていない配線に抵抗を配置することで、計算が実行可能なモデルとすることができる。また、本実施形態のように、コネクタと外部の部品との接続物の配線に抵抗を設置することで、ループが形成されることを抑制できる。また、本実施形態ではコネクタとしたが、コネクタ以外でも、部品と部品とを接続し、他の部品が配置されていない配線に抵抗を設けてもよい。 Specifically, by forming a loop and arranging a resistor in a wiring in which no component is arranged in the path forming the loop, a model in which calculation can be performed can be made. Further, as in the present embodiment, by installing a resistor in the wiring of the connection between the connector and the external component, it is possible to suppress the formation of a loop. Further, although the connector is used in the present embodiment, other than the connector, the component may be connected to the component and a resistor may be provided in the wiring in which the other component is not arranged.

また、本実施形態のように内部に抵抗、コンデンサ、コイル等の部品が配置されておらず、配線のみが設定されている電子部品の配線に、接地したコンデンサを配置することで、計算が実行可能なモデルとすることができる。また、接地したコンデンサを配置することで、抵抗を設けるよりもシミュレーションに与える影響を小さくすることができる。 Further, the calculation is executed by arranging the grounded capacitor in the wiring of the electronic component in which the components such as the resistor, the capacitor, and the coil are not arranged inside as in the present embodiment and only the wiring is set. It can be a possible model. Further, by arranging a grounded capacitor, the influence on the simulation can be made smaller than that of providing a resistance.

ここで、回路加工部35で追加する抵抗(追加抵抗)は、ネットリストで設定される抵抗(例えば、電子部品としてICが設けられた場合の当該ICの入力抵抗)の1/100以下とすることが好ましい。また、回路加工部35で追加する抵抗(追加抵抗)は、ネットリストで設定される最小の抵抗値とすることも好ましい。また、回路加工部35で追加する抵抗(追加抵抗)は、電流の桁数を考慮して、12桁の中に入り、かつ、0.01mΩ以上100mΩ以下とすることも好ましい。追加抵抗を上記範囲のいずれかを満たすようにすることで、追加抵抗がシミュレーションに与える影響を確実に小さくすることができ、追加抵抗を設けることでシミュレーション結果に実質的な変化が生じることを抑制できる。 Here, the resistance (additional resistance) added by the circuit processing unit 35 is set to 1/100 or less of the resistance set in the netlist (for example, the input resistance of the IC when the IC is provided as an electronic component). Is preferable. Further, it is also preferable that the resistance (additional resistance) added by the circuit processing unit 35 is the minimum resistance value set in the netlist. Further, it is also preferable that the resistance (additional resistance) added by the circuit processing unit 35 is within 12 digits and is 0.01 mΩ or more and 100 mΩ or less in consideration of the number of digits of the current. By satisfying any of the above ranges for the additional resistance, the influence of the additional resistance on the simulation can be surely reduced, and the provision of the additional resistance suppresses a substantial change in the simulation result. can.

また、回路加工部35で追加するコンデンサは、配線に接続しない端部を接地させることが好ましい。また、コンデンサの容量は、無限大の設定とすることが好ましい。これにより、追加したコンデンサがシミュレーショに与える影響を小さくすることができ、追加のコンデンサを設けることでシミュレーション結果に実質的な変化が生じることを抑制できる。 Further, it is preferable that the capacitor added by the circuit processing unit 35 is grounded at an end portion that is not connected to the wiring. Further, it is preferable that the capacity of the capacitor is set to infinity. As a result, the influence of the added capacitor on the simulation can be reduced, and it is possible to suppress a substantial change in the simulation result by providing the additional capacitor.

以上、本発明の実施形態を説明したが、これら実施形態等の内容により実施形態が限定されるものではない。また、前述した構成要素には、当業者が容易に想定できるもの、実質的に同一のもの、いわゆる均等の範囲のものが含まれる。さらに、前述した構成要素は適宜組み合わせることが可能である。さらに、前述した実施形態等の要旨を逸脱しない範囲で構成要素の種々の省略、置換又は変更を行うことができる。 Although the embodiments of the present invention have been described above, the embodiments are not limited by the contents of these embodiments and the like. Further, the above-mentioned components include those that can be easily assumed by those skilled in the art, those that are substantially the same, that is, those in a so-called equal range. Furthermore, the components described above can be combined as appropriate. Further, various omissions, replacements or changes of the components can be made without departing from the gist of the above-described embodiments.

10 回路設計装置
12 入力部
14 出力部
16 通信部
18 処理部
20 記憶部
32 回路図面制作部
34 ネットリスト作成部
35 回路加工部
36 シミュレーション実行部
42 部品データベース
44 変換用データベース
46 加工条件データベース
100、100a、100b 回路モデル
110 電源
112 ECU
114 コネクタ
116 電源回路
118 アクチュエータ駆動回路
122 MPU
124 CANトランシーバ
130、131、132、133、134、135、136、137、138、139、140、141、142、143 配線
150a、150b、150c、150d、150e、150f、150g 抵抗、
160a、160b、160c、160d、160e、160f、160g コンデンサ
10 Circuit design device 12 Input unit 14 Output unit 16 Communication unit 18 Processing unit 20 Storage unit 32 Circuit drawing production unit 34 Netlist creation unit 35 Circuit processing unit 36 Simulation execution unit 42 Parts database 44 Conversion database 46 Processing condition database 100, 100a, 100b Circuit model 110 Power supply 112 ECU
114 Connector 116 Power supply circuit 118 Actuator drive circuit 122 MPU
124 CAN Transceiver 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143 Wiring 150a, 150b, 150c, 150d, 150e, 150f, 150g Resistance,
160a, 160b, 160c, 160d, 160e, 160f, 160g capacitors

Claims (4)

電子部品と前記電子部品を接続する配線の情報を含む第1の回路データから前記電子部品に接続される配線を抽出し、抽出した抽出配線に設定された値の抵抗またはコンデンサが追加された第2の回路データを作成する回路加工部と、
前記第2の回路データに基づいて、回路の電気の流れをシミュレーションするためのネットリストを作成するネットリスト作成部と、を含むネットリスト生成装置。
The wiring connected to the electronic component is extracted from the first circuit data including the information of the wiring connecting the electronic component and the electronic component, and the resistance or the capacitor of the value set to the extracted wiring is added. The circuit processing unit that creates the circuit data of 2 and
A netlist generator including a netlist creation unit that creates a netlist for simulating the flow of electricity in a circuit based on the second circuit data.
前記回路加工部は、ループを形成し、かつ、ループを形成する経路に何も部品が配置されていない配線に前記抵抗を直列に追加する請求項1に記載のネットリスト生成装置。 The netlist generator according to claim 1, wherein the circuit processing unit adds the resistance in series to a wiring in which a loop is formed and no component is arranged in the path forming the loop. 前記抵抗は、前記第1の回路データに含まれる電子部品の抵抗値よりも小さい抵抗値である請求項1または請求項2に記載のネットリスト生成装置。 The netlist generator according to claim 1 or 2, wherein the resistance is a resistance value smaller than the resistance value of the electronic component included in the first circuit data. 前記回路加工部は、前記電子部品の内部に配置され、両端が外部と接続し、かつ、内部で他の電子部品が接続されていない配線に、接地しているコンデンサを追加する請求項1から請求項3のいずれか一項に記載のネットリスト生成装置。 From claim 1, the circuit processing unit is arranged inside the electronic component, and a grounded capacitor is added to the wiring in which both ends are connected to the outside and other electronic components are not connected internally. The netlist generator according to any one of claims 3.
JP2020123550A 2020-07-20 2020-07-20 Net list generator Pending JP2022020189A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020123550A JP2022020189A (en) 2020-07-20 2020-07-20 Net list generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020123550A JP2022020189A (en) 2020-07-20 2020-07-20 Net list generator

Publications (1)

Publication Number Publication Date
JP2022020189A true JP2022020189A (en) 2022-02-01

Family

ID=80215973

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020123550A Pending JP2022020189A (en) 2020-07-20 2020-07-20 Net list generator

Country Status (1)

Country Link
JP (1) JP2022020189A (en)

Similar Documents

Publication Publication Date Title
CN111695265B (en) Equipment model construction method, device, equipment and readable storage medium
JP6592605B2 (en) ECU simulation device
CN105425180A (en) Magnetic Resonance Apparatus And Method For The Operation Thereof
CN113056742A (en) Design support device, design support method, and machine learning device
EP2151774A1 (en) Library for electric circuit simulation, recording medium storing it, and library generation system
JP2022020189A (en) Net list generator
JP6300833B2 (en) Simulation method and apparatus
JP2023519139A (en) Electrical circuit design inspection system and method
WO2023236722A1 (en) Cable length verification method and electronic device
US10922459B2 (en) Methods for converting circuits in circuit simulation programs
US20080244484A1 (en) Circuit design verification system, method and medium
CN111695319A (en) Method and equipment for compensating inductance of series loop of connector in real time
JP2007207168A (en) Emi simulation model, emi simulation system and method
KR20170133788A (en) Method for verifying error of digital circuit
JP6823987B2 (en) Control panel design support system and method
US20140039867A1 (en) Information processing apparatus and method thereof
JP4417084B2 (en) Fault detection simulation system for analog circuits
JP4841672B2 (en) Drawer wiring method, drawer wiring program, and drawer wiring apparatus
JP6878992B2 (en) Part position detection program, part position detection method and information processing device
JP2007299268A (en) Board layout check system and method
WO2020008244A1 (en) Printed circuit board layout assessment tool
JP4080464B2 (en) Verification vector generation method and electronic circuit verification method using the same
JP7233611B2 (en) Manufacturing system design verification device
JP2010218052A (en) Design support device, design support program and recording medium
JP5104267B2 (en) Voltage distribution detection device and voltage distribution detection method