Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7632938B2 - Circuit diagram reader, printed circuit board design device, and circuit diagram reader program - Google Patents
[go: Go Back, main page]

JP7632938B2 - Circuit diagram reader, printed circuit board design device, and circuit diagram reader program - Google Patents

Circuit diagram reader, printed circuit board design device, and circuit diagram reader program Download PDF

Info

Publication number
JP7632938B2
JP7632938B2 JP2024558547A JP2024558547A JP7632938B2 JP 7632938 B2 JP7632938 B2 JP 7632938B2 JP 2024558547 A JP2024558547 A JP 2024558547A JP 2024558547 A JP2024558547 A JP 2024558547A JP 7632938 B2 JP7632938 B2 JP 7632938B2
Authority
JP
Japan
Prior art keywords
component
circuit diagram
components
detected
detection 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.)
Active
Application number
JP2024558547A
Other languages
Japanese (ja)
Other versions
JPWO2024105789A1 (en
Inventor
律雄 山岡
正一郎 徳
省吾 田中
一樹 香西
寛稀 米倉
貴大 藤木
富夫 越後
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.)
ONTEC CO., LTD.
Original Assignee
ONTEC CO., LTD.
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 ONTEC CO., LTD. filed Critical ONTEC CO., LTD.
Publication of JPWO2024105789A1 publication Critical patent/JPWO2024105789A1/ja
Application granted granted Critical
Publication of JP7632938B2 publication Critical patent/JP7632938B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/31Design entry, e.g. editors specifically adapted for circuit design
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/40Document-oriented image-based pattern recognition
    • G06V30/42Document-oriented image-based pattern recognition based on the type of document
    • G06V30/422Technical drawings; Geographical maps

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • General Engineering & Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Multimedia (AREA)
  • Design And Manufacture Of Integrated Circuits (AREA)

Description

本開示は、回路図読取り装置、プリント基板設計装置および回路図読取りプログラムに関する。 The present disclosure relates to a circuit diagram reading device, a printed circuit board design device, and a circuit diagram reading program.

従来から、電子回路としての性能または特性が十分に発揮することができるように、互いに接近して配置したい部品をプリント基板上に配置できる設計装置が知られている。たとえば、特許文献1に記載の設計装置は、プリント基板上で接近して配置したい部品の条件を知識パターンとして記憶する知識パターン記憶部と、プリント基板上に配置すべき部品と、部品間の配線情報を記憶するプリント基板設計情報記憶部と、プリント基板設計情報記憶部に記憶されている各部品について、その配線情報もとに知識パターン記憶部の記憶する知識パターンを満たすかどうか判定し、知識パターンを満たす部品の集まりを1グループとして分類するグループ分類手段と、1つのグループに分類された部品群を1つの配置要素とし、プリント基板上での配置を決定する配置決定手段とを備える。グループ以外の部品の配置は、プリント基板設計情報記憶部の接続情報をもとに配置される。Conventionally, there has been known a design device that can place components that are to be placed close to each other on a printed circuit board so that the performance or characteristics of the electronic circuit can be fully exhibited. For example, the design device described in Patent Document 1 includes a knowledge pattern storage unit that stores the conditions for components that are to be placed close to each other on the printed circuit board as a knowledge pattern, a printed circuit board design information storage unit that stores components to be placed on the printed circuit board and wiring information between the components, a group classification means that determines whether each component stored in the printed circuit board design information storage unit satisfies the knowledge pattern stored in the knowledge pattern storage unit based on the wiring information, and classifies a collection of components that satisfy the knowledge pattern as one group, and a placement determination means that determines the placement on the printed circuit board by treating a group of components classified into one group as one placement element. The placement of components other than the group is based on the connection information in the printed circuit board design information storage unit.

特開平7-200655号公報Japanese Patent Application Publication No. 7-200655

しかしながら、特許文献1に記載のプリント基板設計装置は、プリント基板上に部品をどのように配置するかについて記載されていない。However, the printed circuit board design device described in Patent Document 1 does not describe how to place components on a printed circuit board.

一方、設計者は、回路図において部品がどのように配置されるかを参照することによって、部品の配置を決定することができる。回路図は、電子回路としての性能または特性が発揮できるように作成されているからである。回路図の情報を自動で適切に読み取ることができれば、有用である。On the other hand, designers can determine the placement of components by referring to how the components are placed in a circuit diagram. This is because circuit diagrams are created so that the performance or characteristics of an electronic circuit can be demonstrated. It would be useful if the information in a circuit diagram could be read automatically and appropriately.

それゆえに、本開示の目的は、回路図の情報を適切に読取ることができる回路図読取り装置、プリント基板設計装置および回路図読取りプログラムを提供することである。Therefore, the object of the present disclosure is to provide a circuit diagram reading device, a printed circuit board design device, and a circuit diagram reading program that can properly read circuit diagram information.

本開示の回路図読取り装置は、回路図の画像に含まれる文字列、および文字列の位置を検出することによって、部品名および部品名の位置、またはピン番号およびピン番号の位置を検出する部品名検出部と、回路図の画像に含まれる部品を検出し、部品の部品種類、および部品領域を検出部品リストに登録する部品検出部と、回路図の画像に含まれる直線を検出する直線検出部と、検出された直線に基づいて、配線を検出する配線検出部と、検出部品リストに登録された部品の部品領域の位置と、部品名の位置とに基づいて、部品と部品名とをペアリングするペアリング部と、回路図の画像において、検出部品リストに登録された部品と配線との接続を検出し、1個以上の配線によって接続される2つの部品を特定し、特定された2つの部品がネットリストにおいても接続されている場合に、特定された2つの部品が接続されていることを表わす接続情報を作成する接続検出部と、を備える。The circuit diagram reading device disclosed herein includes a component name detection unit that detects component names and their positions, or pin numbers and their positions, by detecting character strings and their positions included in an image of the circuit diagram; a component detection unit that detects components included in the image of the circuit diagram and registers the component types and component areas of the components in a detected components list; a line detection unit that detects lines included in the image of the circuit diagram; a wiring detection unit that detects wiring based on the detected lines; a pairing unit that pairs components and component names based on the positions of the component areas and the positions of the component names of the components registered in the detected components list; and a connection detection unit that detects connections between components registered in the detected components list and wiring in the image of the circuit diagram, identifies two components connected by one or more wiring, and, if the two identified components are also connected in the netlist, creates connection information indicating that the two identified components are connected.

本開示によれば、回路図の情報を適切に読取ることができる。 This disclosure allows the circuit diagram information to be properly read.

図1は、実施の形態のプリント基板設計装置1の構成を表わす図である。FIG. 1 is a diagram showing the configuration of a printed circuit board design device 1 according to an embodiment. 部品名の検出結果の例を表わす図である。11 is a diagram showing an example of a detection result of a part name. FIG. YOLOによる部品の検出結果の例を表わす図である。FIG. 13 is a diagram showing an example of a part detection result by YOLO. 部品の統合の例を表わす図である。FIG. 13 is a diagram showing an example of component integration. (a)は、部品領域に内含される直線の例を表わす図である。(b)は、配線の検出結果を表わす図である。1A is a diagram showing an example of a straight line included in a component region, and FIG. 1B is a diagram showing a result of detecting wiring; (a)は、部品領域に内合される直線の別の例を表わす図である。(b)は、配線の検出結果を表わす図である。13A is a diagram showing another example of a straight line that is fitted inside a component region, and FIG. 13B is a diagram showing a result of detecting wiring; (a)は、部品領域を貫く直線の例を表わす図である。(b)は、配線の検出結果を表わす図である。1A is a diagram showing an example of a straight line passing through a component region, and FIG. 1B is a diagram showing a result of detecting wiring; 2つの直線が途切れて検出されたときに、2つの直線を接続する直線の追加の例を表わす図である。FIG. 13 is a diagram showing an example of adding a line connecting two lines when a discontinuity is detected between the two lines. (a)は、回路図を表わす図である。(b)は、(a)の回路図における配線の検出結果を表わす図である。1A is a diagram showing a circuit diagram, and FIG. 1B is a diagram showing a result of wiring detection in the circuit diagram of FIG. (a)は、同一の部品種類の複数の部品に1つの部品名がペアリングされた例を表わす図である。(b)は、(a)の部品が統合された部品を表わす図である。1A is a diagram showing an example in which one component name is paired with a plurality of components of the same component type, and FIG. 1B is a diagram showing a component obtained by integrating the components in FIG. (a)は、同一の部品種類の複数の部品に1つの部品名がペアリングされた別の例を表わす図である。(b)は、(a)の部品が統合された部品を表わす図である。1A is a diagram showing another example in which one part name is paired with a plurality of parts of the same part type, and FIG. 1B is a diagram showing a part obtained by integrating the parts in FIG. 部品領域の拡張の例を表わす図である。FIG. 13 is a diagram showing an example of expanding a part region. (a)は、2ピンかつネット属性が電源のみの部品の例を表わす図である。(b)は、ネットリストの例を表わす図である。1A is a diagram showing an example of a component with two pins and a net attribute of only power supply, and FIG. 回路図グループ内に2ピンかつネット属性が電源のみの部品が複数個存在する例を表わす図である。FIG. 13 is a diagram illustrating an example in which a circuit diagram group includes a plurality of components each having two pins and a net attribute of only power supply. ペアリングおよび子部品の配置の例を説明するための図である。11A and 11B are diagrams for explaining examples of pairing and arrangement of child components; ペアリングおよび子部品の配置の別の例を説明するための図である。FIG. 13 is a diagram for explaining another example of pairing and arrangement of child components. 回路図を表わす図である。FIG. 図17の回路図に基づく配置例を表わす図である。FIG. 18 is a diagram showing an example of a layout based on the circuit diagram of FIG. 17. 実施の形態のプリント基板設計装置1の処理手順を表わすフローチャートである。2 is a flowchart showing a processing procedure of the printed circuit board design device 1 according to the embodiment. プリント基板設計装置1のハードウエア構成を表わす図である。1 is a diagram showing a hardware configuration of a printed circuit board design device 1.

以下、実施の形態について図面を参照して説明する。
図1は、実施の形態のプリント基板設計装置1の構成を表わす図である。
Hereinafter, an embodiment will be described with reference to the drawings.
FIG. 1 is a diagram showing the configuration of a printed circuit board design device 1 according to an embodiment.

プリント基板設計装置1は、データ入力部2と、ユーザI/F4と、CAD(Computer Aided Design)部3と、配置設計部21とを備える。 The printed circuit board design device 1 comprises a data input unit 2, a user I/F 4, a CAD (Computer Aided Design) unit 3, and a layout design unit 21.

CAD部3および配置設計部21の機能は、コンピュータがメモリに記憶されたプリント基板設計プログラムを実行することによって実現されるものとしてもよい。プリント基板設計プログラムは、外部からネットワークを通じてメモリにインストールされるものとしてもよい。あるいは、プリント基板設計プログラムは、可搬性の記録媒体を通じてメモリにインストールされるものとしてもよい。The functions of the CAD unit 3 and the layout design unit 21 may be realized by the computer executing a printed circuit board design program stored in memory. The printed circuit board design program may be installed in the memory from an external source via a network. Alternatively, the printed circuit board design program may be installed in the memory via a portable recording medium.

データ入力部2は、外部から、回路図およびネットリストなどのデータを入力する。回路図は、PDF形式のデータ、画像データまたはCADデータで表される。The data input unit 2 inputs data such as circuit diagrams and netlists from the outside. The circuit diagrams are represented as PDF data, image data or CAD data.

ユーザI/F4は、設計者の操作を受け付けるとともに、画面を表示する。
CAD部3は、設計者の操作に従って、データ入力部2から入力されたデータを用いてバイナリ形式のCADデータを作成する。CADデータは、部品名リスト、およびピン番号リストなどを含む。
The user I/F 4 accepts operations by the designer and displays the screen.
The CAD unit 3 creates CAD data in binary format according to the designer's operation using the data input from the data input unit 2. The CAD data includes a part name list, a pin number list, and the like.

配置設計部21は、変換部5と、分割部6と、ネット属性設定部20と、回路図グループ配置設計部31と、全体配置設計部18とを備える。回路図グループ配置設計部31は、直線検出部7と、部品名検出部8と、部品検出部9と、部品サイズ分布算出部10と、単位距離算出部11と、配線検出部12と、交点検出部19と、部品-部品名ペアリング部13と、接続検出部14と、部品分類部15と、近接ブロック生成部16と、近接ブロック内部品配置設計部17とを備える。The layout design unit 21 includes a conversion unit 5, a division unit 6, a net attribute setting unit 20, a circuit diagram group layout design unit 31, and an overall layout design unit 18. The circuit diagram group layout design unit 31 includes a straight line detection unit 7, a component name detection unit 8, a component detection unit 9, a component size distribution calculation unit 10, a unit distance calculation unit 11, a wiring detection unit 12, an intersection detection unit 19, a component-component name pairing unit 13, a connection detection unit 14, a component classification unit 15, a proximity block generation unit 16, and an in-proximity block component layout design unit 17.

変換部5は、回路図がPDF形式のデータまたはCADデータの場合に、画像データに変換する。変換部5は、回路図に基づいて作成されたバイナリ形式のCADデータをテキストデータに変換して、テキストデータの部品名リストを作成する。The conversion unit 5 converts the circuit diagram into image data when the circuit diagram is in PDF format or CAD data. The conversion unit 5 converts the binary CAD data created based on the circuit diagram into text data, and creates a part name list in text data.

ネット属性設定部20は、回路図に含まれる複数の部品間を接続するネットの属性を設定する。たとえば、ネット属性設定部20は、ネットリストに含まれるネットの名前に基づいて、ネットの属性を設定する。The net attribute setting unit 20 sets the attributes of a net that connects multiple components included in a circuit diagram. For example, the net attribute setting unit 20 sets the attributes of a net based on the name of the net included in the netlist.

分割部6は、回路図を任意の処理単位に分割する。分割部6は、回路図が複数ページに渡る場合には、回路図を1ページ毎に分割する。分割部6は、回路図が1枚の大きな回路図の場合には、意味のある単位(ブロック)毎に分割する。意味のある単位は、設計者によって設定することができる。回路図において意味のある単位を規定するルールを定めることによって、分割部6が、回路図を意味のある単位に自動で分割することもできる。以下の処理は、分割された単位ごとに実行される。分割された単位を回路図グループと称する。The division unit 6 divides the circuit diagram into any processing units. If the circuit diagram spans multiple pages, the division unit 6 divides the circuit diagram into pages. If the circuit diagram is a large single page diagram, the division unit 6 divides it into meaningful units (blocks). The meaningful units can be set by the designer. By defining rules that stipulate meaningful units in the circuit diagram, the division unit 6 can also automatically divide the circuit diagram into meaningful units. The following processing is performed for each divided unit. The divided units are called circuit diagram groups.

回路図グループ配置設計部31は、回路図グループ内の部品の配置設計を行なう。
直線検出部7は、各回路図グループにおいて、回路図内の直線を検出する。直線検出アルゴリズムとして、たとえばハフ変換を用いることができる。ハフ変換において、検出を行なう直線の角度を所定の範囲に絞ることによって、無駄な計算を省くことができる。一般的な回路図では、配線は、垂直、または水平の線で表されることが多いためである。特殊な回路図において、選択した任意の角度の直線を検出することとしてもよい。
The circuit diagram group layout design unit 31 performs layout design of components within a circuit diagram group.
The line detector 7 detects lines in each circuit diagram group. For example, a Hough transform can be used as the line detection algorithm. In the Hough transform, unnecessary calculations can be eliminated by narrowing down the angle of the line to be detected to a predetermined range. This is because in general circuit diagrams, wiring is often represented by vertical or horizontal lines. In special circuit diagrams, lines of any selected angle may be detected.

部品名検出部8は、回路図がPDF形式のデータまたはCADデータの場合には、データ内に埋め込まれた文字列と、その位置を検出する。部品名検出部8は、回路図が画像データの場合には、既知の文字認識アルゴリズムを用いることによって、回路図の画像に含まれる文字列、およびその位置を検出する。If the circuit diagram is PDF data or CAD data, the component name detection unit 8 detects the character string embedded in the data and its position. If the circuit diagram is image data, the component name detection unit 8 detects the character string included in the image of the circuit diagram and its position by using a known character recognition algorithm.

部品名検出部8は、検出された文字列が部品名リストに登録されている場合には、検出された文字列を部品名として特定し、その文字列の位置を部品名の位置として特定する。部品名検出部8は、検出された文字列がピン番号リストに登録されている場合には、検出された文字列をピン番号として特定し、その文字列の位置をピン番号の位置として特定する。部品名検出部8は、検出した文字列がICの部品領域に存在し、かつ検出された文字列がピン番号リストに登録されている場合に、検出された文字列をピン番号として特定し、その文字列の位置をピン番号の位置として特定するものとしてもよい。If the detected character string is registered in the component name list, the component name detection unit 8 identifies the detected character string as a component name and identifies the position of the character string as the position of the component name. If the detected character string is registered in the pin number list, the component name detection unit 8 identifies the detected character string as a pin number and identifies the position of the character string as the position of the pin number. If the detected character string exists in the component area of the IC and is registered in the pin number list, the component name detection unit 8 may identify the detected character string as a pin number and identify the position of the character string as the position of the pin number.

部品名検出部8は、純粋な一致検索を実行するのではなく、表記ゆれに対応できるものとしてもよい。たとえば、部品名検出部8は、検出された文字列が、部品の物性を表わす文字列を含む場合には、その文字列を除外した文字列と部品名リストまたはピン番号リストとを照合することとしてもよい。部品の物性を表わす文字列とは、たとえば、抵抗値、静電容量、電圧、インダクタンスなどである。たとえば、部品名検出部8は、検出された文字列「R1 10k」の場合には、「R1」と部品名リストとを照合する。The part name detection unit 8 may be able to deal with variations in spelling rather than performing a pure match search. For example, if the detected character string includes a character string that represents the physical properties of the part, the part name detection unit 8 may compare the character string excluding the character string with the part name list or the pin number list. Character strings that represent the physical properties of the part include, for example, resistance, capacitance, voltage, and inductance. For example, in the case of the detected character string "R1 10k", the part name detection unit 8 compares "R1" with the part name list.

部品名検出部8は、1つの部品が複数のシートに含まれており、各シートにその部品に対応する類似する文字列が存在する場合には、各シートの文字列の共通部分を部品名として特定してもよい。部品名検出部8は、分割された第1シートの回路図に「IC1-1」が記載され、第2シートの回路図に「IC1-2」と記載されている場合には、部品名を「IC1」と特定する。When one component is included on multiple sheets and similar character strings corresponding to the component exist on each sheet, the component name detection unit 8 may identify the common part of the character strings on each sheet as the component name. When "IC1-1" is written on the circuit diagram on the first divided sheet and "IC1-2" is written on the circuit diagram on the second divided sheet, the component name detection unit 8 identifies the component name as "IC1."

部品名検出部8は、検出された文字列が、部品名リストまたはピン番号リストに登録されていない場合には、検出された文字列を部品名またはピン番号として特定しない。これによって、コメント、作者、および日付などの回路に関係のない文字列が部品名またはピン番号として検出されない。If the detected character string is not registered in the component name list or pin number list, the component name detection unit 8 does not identify the detected character string as a component name or pin number. This prevents character strings unrelated to the circuit, such as comments, authors, and dates, from being detected as component names or pin numbers.

図2は、部品名の検出結果の例を表わす図である。
IC52、R95、R98、R72、R74、R46、C24、C25の部品名が検出されている。
FIG. 2 shows an example of the result of detecting part names.
The part names detected are IC52, R95, R98, R72, R74, R46, C24, and C25.

部品検出部9は、回路図の画像に含まれる部品を検出し、部品の部品種類、および部品領域を検出部品リストに登録する。The component detection unit 9 detects components contained in the circuit diagram image and registers the component type and component area of the components in a detected component list.

部品検出部9は、CNN(Convolutional Neural Network)、またはYOLO(You-Only-Look-Once)などの深層学習アルゴリズムを用いて、回路図に含まれる部品を検出する。部品の検出ととともに、部品の部品種類、および回路図上の部品の部品領域が検出される。部品は、回路図において、部品種類を表わす回路図記号として記載されている。検出された部品は、検出部品リストに登録される。部品領域は、たとえば、矩形の領域である。検出部品リストは、検出された部品の「部品種類」および「部品領域」を定める。「部品種類」は、複数個の候補と、各候補の確度を含むものとしてもよい。The component detection unit 9 detects components included in the circuit diagram using a deep learning algorithm such as CNN (Convolutional Neural Network) or YOLO (You-Only-Look-Once). Along with the detection of the components, the component type of the component and the component area of the component on the circuit diagram are detected. The components are described in the circuit diagram as circuit diagram symbols representing the component type. The detected components are registered in a detected components list. The component area is, for example, a rectangular area. The detected components list defines the "component type" and "component area" of the detected components. The "component type" may include multiple candidates and the accuracy of each candidate.

「ICおよびコネクタ等」と「抵抗およびコンデンサ等」では回路図上で描かれる大きさが極端に異なることがあるため、部品検出部9は、回路図の画像と、回路図の画像を拡大して指定の領域に分割した画像とを用いることによって、検出精度を高めることとしてもよい。部品検出部9は、回路図の画像と、回路図の画像の左右を反転した画像と、上下に反転した画像とを用いて、それらの検出結果の総和または多数決(アンサンブル)によって、検出精度をさらに高めることとしてもよい。 Because the sizes of "ICs and connectors, etc." and "resistors and capacitors, etc." depicted on the circuit diagram can be extremely different, the component detection unit 9 may improve detection accuracy by using an image of the circuit diagram and an image obtained by enlarging the image of the circuit diagram and dividing it into specified regions. The component detection unit 9 may further improve detection accuracy by using an image of the circuit diagram, an image obtained by flipping the image of the circuit diagram horizontally, and an image obtained by flipping the image vertically, and by summing or majority voting (ensemble) of the detection results.

図3は、YOLOによる部品の検出結果の例を表わす図である。
5個の抵抗R、1個のIC、および2個のコンデンサが検出されている。図中の数字は、確度を表わす。
FIG. 3 shows an example of a part detection result by YOLO.
Five resistors R, one IC, and two capacitors are detected. The numbers in the figure indicate the accuracy.

部品検出部9は、検出された部品の部品領域が直線検出部7によって検出された直線と接触しない場合に、検出された部品の部品種類および部品領域を検出部品リストに登録しないものとしてもよい。部品検出部9は、検出された部品の「部品領域」から所定距離内に部品名が回路図の画像内に存在しない場合に、検出された部品の部品種類および部品領域を検出部品リストに登録しないものとしてもよい。誤検出の可能性が高いからである。The part detection unit 9 may not register the part type and part area of the detected part in the detected part list if the part area of the detected part does not contact the straight line detected by the straight line detection unit 7. The part detection unit 9 may not register the part type and part area of the detected part in the detected part list if the part name does not exist within a predetermined distance from the "part area" of the detected part in the image of the circuit diagram. This is because there is a high possibility of erroneous detection.

部品検出部9は、検出された部品の部品種類として複数の候補を推定し、複数の候補の中から部品領域の中心位置に最も近い部品名に基づいて、1つの部品種類を選択するものとしてもよい。部品検出部9は、検出された部品の「部品種類」が「IC」または「C」の場合に、回路図の画像において、検出された部品の「部品領域」に最も近い部品名が「IC**」の場合に、「IC」を検出された部品の「部品種類」として決定してもよい。The component detection unit 9 may estimate multiple candidates as the component type of the detected component, and select one component type from the multiple candidates based on the component name closest to the center position of the component area. When the "component type" of the detected component is "IC" or "C", and the component name closest to the "component area" of the detected component in the image of the circuit diagram is "IC**", the component detection unit 9 may determine "IC" as the "component type" of the detected component.

部品検出部9は、検出された部品の「部品種類」が複数の候補を含む場合に、確度が最大のものを「部品種類」として決定してもよい。たとえば、部品検出部9は、候補「IC」の確度が90%、候補「C」の確度が10%の場合に、「IC」を部品種類として決定する。When the "part type" of a detected part includes multiple candidates, the part detection unit 9 may determine the one with the highest degree of certainty as the "part type." For example, when the degree of certainty of the candidate "IC" is 90% and the degree of certainty of the candidate "C" is 10%, the part detection unit 9 determines "IC" as the part type.

部品サイズ分布算出部10は、回路図の一部(たとえば、複数のシートのうちの最初の数シート)において、検出した部品の種類ごとに、部品のサイズ分布を求め、サイズの中央値を算出する。回路図が異なれば、部品の大きさおよび縮尺が異なるが、1つ回路図内で同じ部品が極端に異なった大きさで書かれることは少ない。回路図における部品ごとのサイズ分布を求めることによって、回路図では、この部品は「A×B画素」前後で書かれることが多いといった大まかな縮尺を求めることができる。たとえば、コンデンサのサイズの中央値は5×5画素、ICのサイズの中央値は100×100画素のように求めることができる。The component size distribution calculation unit 10 obtains the size distribution of components for each type of component detected in a portion of the circuit diagram (for example, the first few sheets out of multiple sheets) and calculates the median size. Different circuit diagrams have different component sizes and scales, but the same component is rarely drawn at extremely different sizes within a single circuit diagram. By obtaining the size distribution of each component in the circuit diagram, it is possible to obtain a rough scale, such as the fact that this component is often drawn at around "A x B pixels" in the circuit diagram. For example, the median size of a capacitor can be obtained as 5 x 5 pixels, and the median size of an IC can be obtained as 100 x 100 pixels.

部品検出部9は、回路図の他の部分(とえば、複数のシートのうちの最初の数シートを除くシート)において、検出された部品の「部品種類」が複数の候補を含む場合に、部品の種類別のサイズ分布に基づいて、検出された部品の「部品種類」を決定してもよい。たとえば、部品検出部9は、5×5の部品領域において、候補「IC」の確度50%、候補「C」の確度10%、「IC」のサイズ分布の中央値が「10×10」、「C」のサイズ分布の中央値が「5×5」の場合に、「C」を「部品種類」として決定してもよい。When the "part type" of a detected part includes multiple candidates in other parts of the circuit diagram (e.g., sheets other than the first few sheets of the multiple sheets), the part detection unit 9 may determine the "part type" of the detected part based on the size distribution by part type. For example, in a 5x5 part area, when the probability of the candidate "IC" is 50%, the probability of the candidate "C" is 10%, the median of the size distribution of "IC" is "10x10", and the median of the size distribution of "C" is "5x5", the part detection unit 9 may determine "C" as the "part type".

図4は、部品の統合の例を表わす図である。
部品検出部9は、部品種類が「X」で、部品領域が「RA1」の部品Aを検出し、部品種類が「X」で、部品領域が「RA2」の部品Bを検出し、部品領域RA1の一部と部品領域RA2の一部とが重なっている場合に、1つの部品Cが検出されたものとみなす。部品検出部9は、部品Cの「部品種類」をX、「部品領域」を部品領域RA1と部品領域RA2とをカバーする領域RA3とする。
FIG. 4 is a diagram showing an example of component integration.
The part detection unit 9 detects part A with part type "X" and part area "RA1", detects part B with part type "X" and part area "RA2", and when part of part area RA1 overlaps part of part area RA2, it considers one part C to have been detected. The part detection unit 9 sets the "part type" of part C to X, and the "part area" to area RA3 covering part area RA1 and part area RA2.

単位距離算出部11は、検出部品リストに登録された1個以上のR(抵抗)、L(コイル)、C(コンデンサ)の部品領域のサイズ分布の中央値を単位距離として算出する。回路図によって縮尺が相違するため、様々な処理判断のための基準値が単位距離に基づいて設定される。R、L、Cを距離の単位として用いるのは、R、L、Cは、能動素子に比べて、回路図に多く含まれるからである。また、R、L、Cの回路図記号は、能動素子の回路図記号と比較して、大きさのばらつき少ないとともに、小さく記載されることが多いためである。たとえば、単位距離を基準として、親部品に対して、子部品を近くに配置するか否かが決められる。The unit distance calculation unit 11 calculates the median of the size distribution of one or more R (resistor), L (coil), and C (capacitor) component areas registered in the detection component list as the unit distance. Since the scale differs depending on the circuit diagram, the reference value for various processing decisions is set based on the unit distance. R, L, and C are used as units of distance because R, L, and C are included more frequently in circuit diagrams than active elements. In addition, the circuit diagram symbols for R, L, and C have less variation in size and are often written smaller than the circuit diagram symbols for active elements. For example, the unit distance is used as a criterion to determine whether or not to place a child component close to a parent component.

交点検出部19は、回路図上の黒丸で表される配線の接続箇所(交点)を検出する。
配線検出部12は、直線検出部7が検出した直線に基づいて、配線を検出する。配線検出部12は、直線検出部7が検出した直線のうち、部品検出部9が検出した部品の部品領域に内包されている直線を配線としない。検出した部品領域に内包されている直線は、部品を構成する直線であるからである。
The intersection detection unit 19 detects connection points (intersections) of wiring lines represented by black circles on the circuit diagram.
The wiring detection unit 12 detects wiring based on the straight lines detected by the straight line detection unit 7. The wiring detection unit 12 does not regard as wiring, among the straight lines detected by the straight line detection unit 7, those straight lines included in the component area of the component detected by the component detection unit 9. This is because the straight lines included in the detected component area are straight lines that constitute the component.

図5(a)は、部品領域に内含される直線の例を表わす図である。図5(b)は、配線の検出結果を表わす図である。 Figure 5(a) shows an example of a straight line included in a component area. Figure 5(b) shows the results of wiring detection.

直線検出部7によって直線L1、L2、L3、L4が検出される。配線検出部12は、部品領域RAに内含される直線L3、L4は、配線としない。配線検出部12は、直線L1、L2のうち、部品領域RAに内合される部分を配線としない。The straight lines L1, L2, L3, and L4 are detected by the straight line detection unit 7. The wiring detection unit 12 does not consider the straight lines L3 and L4 contained within the component area RA to be wiring. The wiring detection unit 12 does not consider the parts of the straight lines L1 and L2 that are internally aligned with the component area RA to be wiring.

図6(a)は、部品領域に内合される直線の別の例を表わす図である。図6(b)は、配線の検出結果を表わす図である。 Figure 6(a) shows another example of a straight line that is internally aligned with a component area. Figure 6(b) shows the results of wiring detection.

直線検出部7によって直線L1、L2、L3、L4が検出される。配線検出部12は、部品領域RBに内含される直線L1は、配線としない。配線検出部12は、直線L2、L3、L4のうち、部品領域RBに内合される部分を配線としない。 Lines L1, L2, L3, and L4 are detected by the line detection unit 7. The wiring detection unit 12 does not consider the line L1 contained within the component region RB to be wiring. The wiring detection unit 12 does not consider the parts of the lines L2, L3, and L4 that are internally aligned with the component region RB to be wiring.

コイル等の部品は、「部品左右から伸びる配線」と「部品内の直線」(部品に内包されている直線)とが連続して記載されていることがある。これらの直線を1本の配線とすると、左右の端子がショートしているものとして扱われる。配線検出部12は、直線検出部7が検出した直線が部品領域を貫く場合は、部品領域を中心として、直線を分割し、部品領域の外部の一方の直線を1つの配線とし、部品領域の外部の他方の直線を別の配線とする。 Components such as coils may have "wiring extending from the left and right sides of the component" and "straight lines within the component" (straight lines contained within the component) written in succession. If these straight lines are treated as one wiring, the left and right terminals are treated as being shorted. If a straight line detected by the straight line detection unit 7 passes through a component area, the wiring detection unit 12 divides the line with the component area as the center, and treats one straight line outside the component area as one wiring, and the other straight line outside the component area as a different wiring.

図7(a)は、部品領域を貫く直線の例を表わす図である。図7(b)は、配線の検出結果を表わす図である。 Figure 7(a) shows an example of a straight line passing through a component area. Figure 7(b) shows the results of wiring detection.

直線検出部7によって、部品領域RCを貫く直線L1が検出される。配線検出部12は、部品領域RCを中心として直線L1を分割し、部品領域RCの外側の一方の直線L1Aを1つの配線とし、部品領域RCの外側の他方の直線L1Bを別の配線とする。The straight line detection unit 7 detects a straight line L1 that passes through the component area RC. The wiring detection unit 12 divides the straight line L1 with the component area RC as the center, and treats one straight line L1A outside the component area RC as one wiring, and the other straight line L1B outside the component area RC as another wiring.

配線検出部12は、直線検出部7が検出した直線のうち、交点、部品、および飛び信号記号のいずれとも交差しない直線を配線としない。配線は、交点、部品、および飛び信号記号のいずれかと交差して書かれるためである。飛び信号記号とは、回路図の他の箇所との接続を表わす記号である。回路図の位置Xに飛び信号記号Sが記載され、回路図の位置Yに同じ飛び信号記号Sが記載されている場合には、回路図に記載されていないが、回路図の位置Xと位置Yとを接続する配線が存在することを表わす。 The wiring detection unit 12 does not consider as wiring any straight line detected by the line detection unit 7 that does not intersect with any of the intersections, components, or skip signal symbols. This is because wiring is written by intersecting with either an intersection, component, or skip signal symbol. A skip signal symbol is a symbol that represents a connection to another location on the circuit diagram. If a skip signal symbol S is written at position X on the circuit diagram and the same skip signal symbol S is written at position Y on the circuit diagram, this represents the presence of a wiring that is not written on the circuit diagram but connects position X and position Y on the circuit diagram.

配線検出部12は、直線検出部7によって検出された第1の直線の端点を中心として、単位距離の所定倍数の半径の円内に第2の直線が存在する場合に、配線検出のため、第1の直線の端点と第2の直線とを接続する最短の直線を追加する。ハフ変換では短い直線の検出精度が落ち、回路図上で実際に接続されている2つの直線が途切れているように検出されることがあるためである。When a second line is present within a circle with a radius that is a predetermined multiple of the unit distance and centered on the end point of a first line detected by the line detection unit 7, the wiring detection unit 12 adds the shortest line connecting the end point of the first line and the second line for wiring detection. This is because the detection accuracy of short lines decreases with the Hough transform, and two lines that are actually connected on the circuit diagram may be detected as if they are disconnected.

図8は、2つの直線が途切れて検出されたときに、2つの直線を接続する直線の追加の例を表わす図である。 Figure 8 shows an example of adding a line connecting two lines when the two lines are detected as being disconnected.

直線L1の端点EN1を中心として、単位距離の所定倍数の半径の円CR1内に別の直線L2が存在するので、端点EN1と直線L2とを接続する最短の直線L3が追加される。これによって、直線L1、L3、L2がそれぞれ配線として検出される。 Since another straight line L2 exists within a circle CR1 whose center is the end point EN1 of the straight line L1 and whose radius is a specified multiple of the unit distance, the shortest straight line L3 that connects the end point EN1 and the straight line L2 is added. As a result, the straight lines L1, L3, and L2 are each detected as wiring.

図9(a)は、回路図を表わす図である。図9(b)は、図9(a)の回路図における配線の検出結果を表わす図である。図9(b)において太線で記載されている線が検出された配線である。 Figure 9(a) is a diagram showing a circuit diagram. Figure 9(b) is a diagram showing the results of wiring detection in the circuit diagram of Figure 9(a). The lines written in bold in Figure 9(b) are the detected wiring.

部品-部品名ペアリング部13は、検出部品リストに登録された部品と、部品名とをペアリングする。部品-部品名ペアリング部13は、部品領域の中心の位置と部品名の中心位置とに基づいて、部品と部品名とをペアリングする。具体的には、部品-部品名ペアリング部13は、部品と、その部品の部品領域の中心の位置に最も近い中心位置を有する部品名とをペアリングする。 The part-part name pairing unit 13 pairs a part registered in the detected parts list with a part name. The part-part name pairing unit 13 pairs a part with a part name based on the center position of the part area and the center position of the part name. Specifically, the part-part name pairing unit 13 pairs a part with the part name having a center position closest to the center position of the part's part area.

部品-部品名ペアリング部13は、部品の部品領域の中心の位置から所定距離内に複数の部品名が存在する場合には、部品と、複数の部品名のうち、部品の部品種類と同じ種類の部品名とをペアリングする。When multiple part names exist within a specified distance from the center position of the part's part area, the part-part name pairing unit 13 pairs the part with one of the multiple part names that is of the same type as the part type of the part.

部品-部品名ペアリング部13は、同一の部品種類の複数の部品に1つの部品名がペアリングされた場合には、複数の部品を1つの部品に統合する。部品-部品名ペアリング部13は、複数の部品の部品領域を含む最小の矩形を統合した部品の部品領域とする。 When one part name is paired with multiple parts of the same part type, the part-part name pairing unit 13 merges the multiple parts into one part. The part-part name pairing unit 13 determines the smallest rectangle that includes the part areas of the multiple parts as the part area of the merged part.

図10(a)は、同一の部品種類の複数の部品に1つの部品名がペアリングされた例を表わす図である。図10(b)は、図10(a)の部品が統合された部品を表わす図である。同一の部品種類の2つの部品A、Bに1つの部品名「IC1」がペアリングされている。2つの部品A、Bが1つの部品Cに統合され、部品Aの部品領域R1と部品Bの部品領域R2とが統合される。統合された1つの部品Cの部品領域がRCである。 Figure 10(a) is a diagram showing an example in which one component name is paired with multiple components of the same component type. Figure 10(b) is a diagram showing a component in which the components in Figure 10(a) are integrated. One component name "IC1" is paired with two components A and B of the same component type. The two components A and B are integrated into one component C, and component area R1 of component A and component area R2 of component B are integrated. The component area of the integrated one component C is RC.

図11(a)は、同一の部品種類の複数の部品に1つの部品名がペアリングされた別の例を表わす図である。図11(b)は、図11(a)の部品が統合された部品を表わす図である。同一の部品種類の3つの部品A、B、Cに1つの部品名「IC2」がペアリングされている。3つの部品A、B、Cが1つの部品Dに統合され、部品Aの部品領域R1と部品Bの部品領域R2と部品Cの部品領域R3とが統合される。統合された1つの部品Dの部品領域がRCである。 Figure 11(a) is a diagram showing another example in which one part name is paired with multiple parts of the same part type. Figure 11(b) is a diagram showing parts obtained by integrating the parts in Figure 11(a). One part name "IC2" is paired with three parts A, B, and C of the same part type. The three parts A, B, and C are integrated into one part D, and part region R1 of part A, part region R2 of part B, and part region R3 of part C are integrated. The part region of the integrated part D is RC.

接続検出部14は、回路図の画像において、検出部品リストに登録された部品と、配線との接続を検出する。接続検出部14は、部品の部品領域と配線とが接続されているときに、部品と配線とが接続されていることを検出する。回路図上で、トランジスタの斜めの短い引出線のように、部品から伸びる短い引出線は、直線検出から漏れることが多い。配線検出の結果を用いて、回路図上での部品の繋がりを辿っても、引出線の部分で途切れる。このような問題を解決するために、接続検出部14は、検出部品リストに登録された全ての部品の部品領域を上下および左右方向に単位距離の所定倍数だけ拡張する。これによって、引出線の領域までを囲うように部品領域が拡張される。接続検出部14は、拡張された部品領域と配線とが接続されているときに、部品と配線とが接続されていることを検出するものとしてもよい。The connection detection unit 14 detects the connection between the parts registered in the detection parts list and the wiring in the image of the circuit diagram. The connection detection unit 14 detects that the parts and wiring are connected when the part area of the parts and the wiring are connected. On the circuit diagram, short leader lines extending from the parts, such as the short diagonal leader lines of the transistor, are often missed by the straight line detection. Even if the connection of the parts on the circuit diagram is traced using the results of the wiring detection, it is interrupted at the leader line. In order to solve such a problem, the connection detection unit 14 expands the part areas of all the parts registered in the detection parts list by a predetermined multiple of the unit distance in the vertical and horizontal directions. As a result, the part area is expanded so as to surround the area of the leader line. The connection detection unit 14 may detect that the parts and wiring are connected when the expanded part area and the wiring are connected.

図12は、部品領域の拡張の例を表わす図である。
部品領域R1が拡張されて拡張部品領域R1Aが生成される。拡張部品領域R1Aと、配線W1、W2、W3との接続が検出される。拡張部品領域R2Aと、配線W3、W4、W5、W6との接続が検出される。
FIG. 12 is a diagram showing an example of expanding a part region.
The component region R1 is expanded to generate an extended component region R1A. The connections between the extended component region R1A and the wires W1, W2, and W3 are detected. The connections between the extended component region R2A and the wires W3, W4, W5, and W6 are detected.

接続検出部14は、1個以上の配線によって接続される2つの部品(第1の部品および第2の部品)を特定する。接続検出部14は、特定された2つの部品がネットリストにおいても接続されているか否かを確かめる。このようにネットリストを参照するのは、回路図上において2つの線が交差している場合に、2つの配線が接続されている場合と、2つの配線が接続されていない場合とがあることを考慮したものである。2つの配線が接続されている場合には、交点が存在する。接続検出部14は、特定された2つの部品がネットリストにおいても接続されている場合に、この2つの部品(第1の部品および第2の部品)が接続されていることを表わす接続情報を作成する。The connection detection unit 14 identifies two components (a first component and a second component) that are connected by one or more wirings. The connection detection unit 14 checks whether the two identified components are also connected in the netlist. The reason for referencing the netlist in this way is that when two lines intersect on a circuit diagram, there are cases where the two wirings are connected and cases where the two wirings are not connected. When the two wirings are connected, an intersection exists. When the two identified components are also connected in the netlist, the connection detection unit 14 creates connection information indicating that the two components (a first component and a second component) are connected.

接続検出部14は、1個以上の配線によって、第1の部品のXピンと、第2の部品とが接続されている場合に、第1の部品のXピンと、第2の部品とが接続されていることを表わす接続情報を作成する。When the X pin of a first component is connected to a second component by one or more wires, the connection detection unit 14 creates connection information indicating that the X pin of the first component is connected to the second component.

部品分類部15は、検出部品リストに登録された複数の部品を、その部品種類に基づいて、親部品と、子部品と、その他の部品とに分類する。親部品は、たとえば、ICなどである。子部品は、たとえば、発振子、バイパスコンデンサ、ダンピング抵抗、電解コンデンサ、および終端抵抗などである。The component classification unit 15 classifies the multiple components registered in the detection component list into parent components, child components, and other components based on the component type. Parent components are, for example, ICs. Child components are, for example, oscillators, bypass capacitors, damping resistors, electrolytic capacitors, and termination resistors.

部品分類部15は、1つの回路図グループにおいて、検出部品リストに登録された複数の部品の中に、親部品として指定された部品種類の部品が存在しない場合に、以下のルールで親部品を設定する。When there is no part of the component type specified as a parent part among the multiple components registered in the detected component list in one circuit diagram group, the component classification unit 15 sets the parent part according to the following rules.

部品分類部15は、ネットリストを参照して、検出部品リストに登録された複数の部品の中で2ピンかつネット属性が電源のみの部品を親部品に分類する。The component classification unit 15 refers to the netlist and classifies, among the multiple components registered in the detection component list, those components that have two pins and whose net attribute is only power supply, as parent components.

図13(a)は、2ピンかつネット属性が電源のみの部品の例を表わす図である。図13(b)は、ネットリストの例を表わす図である。L1は、2ピンを有し、ネット属性が電源5V、5VAのみである。よって、L1は、親部品に設定され、C1、C2は、親部品と直接接続されるので、L1の子部品に設定される。 Figure 13(a) is a diagram showing an example of a component with two pins and a net attribute of power supply only. Figure 13(b) is a diagram showing an example of a netlist. L1 has two pins and a net attribute of power supply 5V, 5VA only. Therefore, L1 is set as the parent component, and C1 and C2 are directly connected to the parent component, and are therefore set as child components of L1.

部品分類部15は、検出部品リストに登録された複数の部品の中に、2ピンかつネット属性が電源のみの部品が複数個存在する場合には、それらの部品を親部品に設定する。部品分類部15は、親部品に直接または間接的に接続される部品を、その親部品の子部品に設定する。部品分類部15は、複数の親部品に直接または間接的に接続される部品を、接続される親部品のうちその部品から最も近い距離にある親部品の子部品に設定する。 When there are multiple two-pin components with only power as a net attribute among the multiple components registered in the detected components list, the component classification unit 15 sets those components as parent components. The component classification unit 15 sets a component that is directly or indirectly connected to a parent component as a child component of that parent component. The component classification unit 15 sets a part that is directly or indirectly connected to multiple parent components as a child component of the parent part that is closest to that part among the connected parent parts.

図14は、回路図グループ内に2ピンかつネット属性が電源のみの部品が複数個存在する例を表わす図である。 Figure 14 shows an example where there are multiple components with two pins and only power net attributes within a circuit diagram group.

L1は、2ピンを有し、ネット属性が電源5V、5VAのみである。よって、L1は、親部品に設定される。C1は、L1に直接接続されるので、C1は、L1の子部品に設定される。L2は、2ピンを有し、ネット属性が電源5V、5VBのみである。よって、L2は、親部品に設定される。C2は、L2に直接接続されるので、C2は、L2の子部品に設定される。C3は、L1およびL2に接続されるが、C3とL2との距離がC3とL1との距離よりも短いので、C3はL2の子部品に設定される。 L1 has two pins and its net attributes are only power supply 5V, 5VA. Therefore, L1 is set as a parent component. C1 is directly connected to L1, so C1 is set as a child component of L1. L2 has two pins and its net attributes are only power supply 5V, 5VB. Therefore, L2 is set as a parent component. C2 is directly connected to L2, so C2 is set as a child component of L2. C3 is connected to L1 and L2, but the distance between C3 and L2 is shorter than the distance between C3 and L1, so C3 is set as a child component of L2.

近接ブロック生成部16は、接続情報に基づいて、親部品と、親部品に直接または間接的に接続される1個以上の子部品とを含む近接ブロックを生成する。The proximity block generation unit 16 generates a proximity block including a parent part and one or more child parts that are directly or indirectly connected to the parent part based on the connection information.

近接ブロック内部品配置設計部17は、接続情報に基づいて、親部品のピンと、親部品のピンと接続する子部品とをペアリング、または子部品のピンと、子部品のピンと接続する別の子部品とをペアリングする。Based on the connection information, the adjacent block component placement design unit 17 pairs a pin of a parent component with a child component that connects to the pin of the parent component, or pairs a pin of a child component with another child component that connects to the pin of the child component.

近接ブロック内部品配置設計部17は、親部品のピンと複数個の子部品とがペアリングされた場合には、回路図における親部品のピンの位置と、複数個の子部品の位置とに基づいて、複数個の子部品の位置を決定する。近接ブロック内部品配置設計部17は、回路図において親部品のピンに近い子部品ほど、親部品のピンの近くに配置する。When a pin of a parent component is paired with multiple child components, the adjacent block component placement design unit 17 determines the positions of the multiple child components based on the position of the pin of the parent component in the circuit diagram and the positions of the multiple child components. The adjacent block component placement design unit 17 places a child component closer to the pin of the parent component in the circuit diagram, the closer the child component is to the pin of the parent component.

図15は、ペアリングおよび子部品の配置の例を説明するための図である。
IC1のピンP4と、子部品C3と、子部品C4とが接続されている。親部品IC1のピンP4と、子部品C3およびC4とがペアリングされる。回路図から子部品C4は、子部品C3よりも親部品IC1のピンP4に近いと検出されているので、子部品C4は、子部品C3よりも親部品IC1のピンP4の近くに配置される。
FIG. 15 is a diagram for explaining an example of pairing and arrangement of child components.
Pin P4 of IC1 is connected to child component C3 and child component C4. Pin P4 of parent component IC1 is paired with child components C3 and C4. Child component C4 is detected from the circuit diagram as being closer to pin P4 of parent component IC1 than child component C3, so child component C4 is placed closer to pin P4 of parent component IC1 than child component C3.

親部品IC1のピンP2と、子部品XのピンP7と、子部品C1とが接続されている。親部品IC1のピンP3と、子部品XのピンP6と、子部品C2とが接続されている。子部品XのピンP8と、子部品C1と、子部品C2とが接続されている。子部品XのピンP5と、子部品C1と、子部品C2とが接続されている。 Pin P2 of parent component IC1 is connected to pin P7 of child component X and child component C1. Pin P3 of parent component IC1 is connected to pin P6 of child component X and child component C2. Pin P8 of child component X is connected to child component C1 and child component C2. Pin P5 of child component X is connected to child component C1 and child component C2.

親部品IC1のピンP2と子部品Xとがペアリングされ、親部品IC1のピンP3と子部品Xとがペアリングされる。回路図から、子部品Xと親部品IC1のピンP2との距離と、子部品Xと親部品IC1のピンP3との距離がほぼ同じなので、子部品Xは、親部品IC1のピンP2およびP3の近くに配置される。Pin P2 of parent component IC1 is paired with child component X, and pin P3 of parent component IC1 is paired with child component X. From the circuit diagram, the distance between child component X and pin P2 of parent component IC1 and the distance between child component X and pin P3 of parent component IC1 are approximately the same, so child component X is placed near pins P2 and P3 of parent component IC1.

子部品XのピンP7と子部品C1とがペアリングされ、子部品XのピンP8と子部品C1とがペアリングされる。回路図から、子部品C1と子部品XのピンP7との距離と、子部品C1と子部品XのピンP8との距離がほぼ同じなので、子部品C1は、子部品XのピンP7およびP8の近くに配置される。Pin P7 of child component X is paired with child component C1, and pin P8 of child component X is paired with child component C1. From the circuit diagram, the distance between child component C1 and pin P7 of child component X is approximately the same as the distance between child component C1 and pin P8 of child component X, so child component C1 is placed near pins P7 and P8 of child component X.

子部品XのピンP5と子部品C2とがペアリングされ、子部品XのピンP6と子部品C2とがペアリングされる。回路図から、子部品C2と子部品XのピンP5との距離と、子部品C2と子部品XのピンP6との距離がほぼ同じなので、子部品C2は、子部品XのピンP5およびP6の近くに配置される。Pin P5 of child component X is paired with child component C2, and pin P6 of child component X is paired with child component C2. From the circuit diagram, the distance between child component C2 and pin P5 of child component X is approximately the same as the distance between child component C2 and pin P6 of child component X, so child component C2 is placed near pins P5 and P6 of child component X.

近接ブロック内部品配置設計部17は、親部品の複数のピンと子部品とがペアリングされた場合には、回路図における検出した親部品の複数のピンの位置と、子部品の位置とに基づいて、子部品の位置を決定する。近接ブロック内部品配置設計部17は、回路図において、親部品の複数のピンのうち子部品に近いピンの近くに子部品を配置する。When multiple pins of a parent component are paired with a child component, the adjacent block component placement design unit 17 determines the position of the child component based on the positions of the multiple pins of the parent component detected in the circuit diagram and the position of the child component. The adjacent block component placement design unit 17 places the child component near the pin of the parent component that is closest to the child component in the circuit diagram.

図16は、ペアリングおよび子部品の配置の別の例を説明するための図である。
親部品IC1のピンP1と、子部品C1とがペアリングされ、親部品IC1のピンP2と、子部品C1とがペアリングされる。回路図から、子部品C1は、親部品IC1のピンP1よりも親部品IC1のピンP2に近いと検出されているので、子部品C1は、親部品IC1のピンP2に近い位置に配置される。
FIG. 16 is a diagram for explaining another example of pairing and arrangement of child components.
A pin P1 of the parent component IC1 is paired with a child component C1, and a pin P2 of the parent component IC1 is paired with a child component C1. Since it is detected from the circuit diagram that the child component C1 is closer to the pin P2 of the parent component IC1 than to the pin P1 of the parent component IC1, the child component C1 is placed at a position closer to the pin P2 of the parent component IC1.

図17は、回路図を表わす図である。図18は、図17の回路図に基づく配置例を表わす図である。 Figure 17 is a diagram showing a circuit diagram. Figure 18 is a diagram showing an example of layout based on the circuit diagram of Figure 17.

C79は、接続されるIC15の第12ピンの近くに配置され、C80は、接続されるIC15の第13ピンの近くに配置され、C81は、接続されるIC15の第16ピンの近くに配置され、C82は、接続されるIC15の第17ピンの近くに配置される。 C79 is placed near the 12th pin of the connected IC15, C80 is placed near the 13th pin of the connected IC15, C81 is placed near the 16th pin of the connected IC15, and C82 is placed near the 17th pin of the connected IC15.

C90は、接続されるIC15の第35ピンの近くに配置され、C91は、接続されるIC15の第34ピンの近くに配置され、C92は、接続されるIC15の第29ピンの近くに配置され、C93は、接続されるIC15の第28ピンの近くに配置される。 C90 is placed near the 35th pin of the connected IC15, C91 is placed near the 34th pin of the connected IC15, C92 is placed near the 29th pin of the connected IC15, and C93 is placed near the 28th pin of the connected IC15.

X4は、接続されるIC15の第6ピンおよび第7ピンの近くに配置される。C18は、接続されるX4の第1ピンの近くに配置され、C19は、接続されるX4の第3ピンの近くに配置される。 X4 is placed near the sixth and seventh pins of the connected IC 15. C18 is placed near the first pin of the connected X4, and C19 is placed near the third pin of the connected X4.

C83、C84、C85は、接続されるIC15の第5ピン、第10ピン、第32ピンのいずれかの近くに配置される。 C83, C84, and C85 are placed near either pin 5, pin 10, or pin 32 of the connected IC15.

R33が、接続されるIC15の第36ピンの近く(基板の裏面)に配置され、R34が、接続されるIC15の第26ピンの近く(基板の裏面)に配置され、R35が、接続されるIC15の第25ピンの近く(基板の裏面)に配置され、R36が、接続されるIC15の第24ピンの近く(基板の裏面)に配置され、R37が、接続されるIC15の第21ピンの近く(基板の裏面)に配置される。 R33 is placed near pin 36 of IC 15 to be connected (back side of the board), R34 is placed near pin 26 of IC 15 to be connected (back side of the board), R35 is placed near pin 25 of IC 15 to be connected (back side of the board), R36 is placed near pin 24 of IC 15 to be connected (back side of the board), and R37 is placed near pin 21 of IC 15 to be connected (back side of the board).

C78が、接続されるC84の近くに配置される。FL6が、接続されるC78の近くに配置される。 C78 is placed near the C84 to which it is connected. FL6 is placed near the C78 to which it is connected.

全体配置設計部18は、回路図グループに含まれる1個以上の近接ブロックの回路図グループ内における配置を決定し、基板上における回路図グループの領域を取得し、取得した回路図グループの領域に回路図グループに含まれる1個以上の近接ブロックを配置する。The overall layout design unit 18 determines the layout of one or more adjacent blocks included in the circuit diagram group within the circuit diagram group, obtains the area of the circuit diagram group on the board, and places one or more adjacent blocks included in the circuit diagram group in the obtained area of the circuit diagram group.

図19は、実施の形態のプリント基板設計装置1の処理手順を表わすフローチャートである。 Figure 19 is a flowchart showing the processing procedure of the printed circuit board design device 1 of the embodiment.

ステップS101において、データ入力部2は、外部から、回路図およびネットリストなどのデータを入力する。In step S101, the data input unit 2 inputs data such as a circuit diagram and a netlist from the outside.

ステップS102において、CAD部3は、設計者の操作に従って、データ入力部2から入力されたデータを用いて、部品名リスト、およびピン番号リストを含むバイナリ形式のCADデータを作成する。In step S102, the CAD unit 3 creates binary format CAD data including a component name list and a pin number list using the data input from the data input unit 2 in accordance with the designer's operations.

ステップS103において、変換部5は、回路図がPDF形式のデータまたはCADデータの場合に、画像データに変換する。変換部5は、回路図に基づいて作成されたバイナリ形式のCADデータをテキストデータに変換して、テキストデータの部品名リストおよびピン番号リストを作成する。In step S103, if the circuit diagram is PDF format data or CAD data, the conversion unit 5 converts it into image data. The conversion unit 5 converts the binary format CAD data created based on the circuit diagram into text data, and creates a part name list and a pin number list in text data.

ステップS104において、分割部6は、回路図を任意の処理単位に分割して、複数の回路図グループを作成する。In step S104, the division unit 6 divides the circuit diagram into arbitrary processing units and creates multiple circuit diagram groups.

ステップS105において、直線検出部7は、各回路図グループにおいて、回路図内の直線を検出する。In step S105, the line detection unit 7 detects lines in the circuit diagram for each circuit diagram group.

ステップS106において、部品名検出部8は、各回路図グループにおいて、回路図の画像に含まれる文字列、およびその文字列の位置を検出することによって、部品名および部品名の位置、またはピン番号およびピン番号の位置を検出する。In step S106, the component name detection unit 8 detects the component name and its position, or the pin number and its position, by detecting the character string contained in the circuit diagram image and the position of that character string in each circuit diagram group.

ステップS107において、部品検出部9は、各回路図グループにおいて、回路図の画像に含まれる部品を検出し、部品の部品種類、および部品領域を検出部品リストに登録する。部品サイズ分布算出部10は、回路図の一部において検出された部品の部品領域のサイズの中央値を部品の種類ごとに算出する。In step S107, the component detection unit 9 detects components included in the circuit diagram image in each circuit diagram group, and registers the component types and component areas of the components in a detected component list. The component size distribution calculation unit 10 calculates the median size of the component areas of the components detected in the part of the circuit diagram for each component type.

ステップS108において、単位距離算出部11は、検出部品リストに登録された1個以上の抵抗、コイル、およびコンデンサの大きさの中央値を単位距離として算出する。In step S108, the unit distance calculation unit 11 calculates the median of the sizes of one or more resistors, coils, and capacitors registered in the detection component list as the unit distance.

ステップS109において、部品-部品名ペアリング部13は、各回路図グループにおいて、検出部品リストに登録された部品の部品領域の位置と、部品名の位置とに基づいて、部品と部品名とをペアリングする。In step S109, the component-component name pairing unit 13 pairs a component with a component name in each circuit diagram group based on the position of the component area of the component registered in the detected component list and the position of the component name.

ステップS110において、配線検出部12は、各回路図グループにおいて、検出された直線に基づいて、配線を検出する。In step S110, the wiring detection unit 12 detects wiring in each circuit diagram group based on the detected straight lines.

ステップS111において、交点検出部19は、各回路図グループにおいて、回路図上の黒丸で表される配線の接続箇所(交点)を検出する。In step S111, the intersection detection unit 19 detects wiring connection points (intersections) represented by black circles on the circuit diagram in each circuit diagram group.

ステップS112において、接続検出部14は、各回路図グループにおいて、回路図の画像で検出部品リストに登録された部品と配線との接続を検出し、1個以上の配線によって接続される2つの部品を特定し、特定された2つの部品がネットリストにおいても接続されている場合に、特定された2つの部品が接続されていることを表わす接続情報を作成する。In step S112, the connection detection unit 14 detects connections between components registered in the detected components list in the circuit diagram image and wiring in each circuit diagram group, identifies two components connected by one or more wiring, and, if the two identified components are also connected in the netlist, creates connection information indicating that the two identified components are connected.

ステップS113において、部品分類部15は、各回路図グループにおいて、検出部品リストに登録された部品を、親部品と、子部品と、その他の部品とに分類する。In step S113, the component classification unit 15 classifies the components registered in the detected components list in each circuit diagram group into parent components, child components, and other components.

ステップS114において、近接ブロック生成部16は、各回路図グループにおいて、接続情報に基づいて、親部品と、親部品に直接または間接的に接続される1個以上の子部品とを含む近接ブロックを生成する。In step S114, the proximity block generation unit 16 generates a proximity block for each circuit diagram group based on the connection information, the proximity block including a parent component and one or more child components that are directly or indirectly connected to the parent component.

ステップS115において、近接ブロック内部品配置設計部17は、各回路図グループにおいて、近接ブロック内の部品を配置する。In step S115, the adjacent block component placement design unit 17 places components within adjacent blocks in each circuit diagram group.

ステップS116において、全体配置設計部18は、回路図グループに含まれる1個以上の近接ブロックの回路図グループ内における配置を決定し、基板上における回路図グループの領域を取得し、取得した回路図グループの領域に回路図グループに含まれる1個以上の近接ブロックを配置する。In step S116, the overall layout design unit 18 determines the placement of one or more adjacent blocks included in the circuit diagram group within the circuit diagram group, obtains the area of the circuit diagram group on the board, and places one or more adjacent blocks included in the circuit diagram group in the obtained area of the circuit diagram group.

図20は、プリント基板設計装置1のハードウエア構成を表わす図である。プリント基板設計装置1は、公知のパーソナルコンピュータなどで実現することができる。プリント基板設計装置1は、プロセッサ100と、液晶ディスプレイなどの表示装置200と、キーボードおよびマウスなどの入力装置300と、メモリなどの内部記憶装置400と、ハードディスクまたは可搬性の記録媒体などの外部記憶装置500と、通信装置600とを備える。 Figure 20 is a diagram showing the hardware configuration of the printed circuit board design device 1. The printed circuit board design device 1 can be realized by a known personal computer or the like. The printed circuit board design device 1 includes a processor 100, a display device 200 such as an LCD display, an input device 300 such as a keyboard and a mouse, an internal storage device 400 such as a memory, an external storage device 500 such as a hard disk or a portable recording medium, and a communication device 600.

入力装置300は、設計者からの入力を受け付ける。通信装置600は、外部からインターネットなどを通じて、プリント基板設計プログラム、およびデータを受信することができる。外部記憶装置500は、プリント基板設計プログラム、およびデータを記憶することができる。内部記憶装置400は、通信装置600または外部記憶装置500から転送されるプリント基板設計プログラム、およびデータを記憶する。プロセッサ100は、回路図、近接ブロック、検出部品リスト、ネットリストなどを表示装置200に表示する。プロセッサ100は、内部記憶装置400に記憶されたプリント基板設計プログラムを実行する。これによって、図19のフローチャートに従って、処理が実行される。 The input device 300 accepts input from a designer. The communication device 600 can receive a printed circuit board design program and data from the outside via the Internet, etc. The external storage device 500 can store the printed circuit board design program and data. The internal storage device 400 stores the printed circuit board design program and data transferred from the communication device 600 or the external storage device 500. The processor 100 displays a circuit diagram, proximity blocks, a detected parts list, a netlist, etc. on the display device 200. The processor 100 executes the printed circuit board design program stored in the internal storage device 400. This causes processing to be performed according to the flowchart of FIG. 19.

変形例.
本開示は、上記の実施形態に限定されない。たとえば、以下のような変形例も含まれる。
Variant examples.
The present disclosure is not limited to the above-described embodiment, and includes, for example, the following modifications.

(1)回路図グループ
上記の実施形態では、分割部6によって、回路図が分割された単位を配置設計の単位となる回路図グループとしたが、これに限定されるものではない。たとえば、回路図が分割された単位を複数個有するものを回路図グループとしてもよい。
(1) Circuit Diagram Group In the above embodiment, the units into which the circuit diagram is divided by the dividing unit 6 are regarded as circuit diagram groups that serve as units of layout design, but this is not limiting. For example, a circuit diagram having a plurality of units into which the circuit diagram is divided may be regarded as a circuit diagram group.

(2)プリント基板設計装置
上記の実施形態では、プリント基板設計装置が、図1の配置設計部21の構成要素をすべて備えるものとしたが、これに限定されるものではない。たとえば、プリント基板設計装置が、変換部5と、分割部6と、ネット属性設定部20と、回路図グループ配置設計部31に含まれる直線検出部7、部品名検出部8、部品検出部9、配線検出部12、部品-部品名ペアリング部13、接続検出部14、交点検出部19、部品サイズ分布算出部10、および単位距離算出部11のみを備えるものとしてもよい。この場合、プリント基板設計装置は、回路図読取り装置として機能する。
(2) Printed Circuit Board Design Device In the above embodiment, the printed circuit board design device includes all of the components of the layout design unit 21 in Fig. 1, but is not limited to this. For example, the printed circuit board design device may include only the conversion unit 5, the division unit 6, the net attribute setting unit 20, and the line detection unit 7, the component name detection unit 8, the component detection unit 9, the wiring detection unit 12, the component-component name pairing unit 13, the connection detection unit 14, the intersection detection unit 19, the component size distribution calculation unit 10, and the unit distance calculation unit 11 included in the circuit diagram group layout design unit 31. In this case, the printed circuit board design device functions as a circuit diagram reading device.

今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本開示の範囲は上記した説明ではなくて請求の範囲によって示され、請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。The embodiments disclosed herein should be considered to be illustrative and not restrictive in all respects. The scope of the present disclosure is indicated by the claims, not the above description, and is intended to include all modifications within the meaning and scope of the claims.

1 プリント基板設計装置、2 データ入力部、3 CAD部、4 ユーザI/F、5 変換部、6 分割部、7 直線検出部、8 部品名検出部、9 部品検出部、10 部品サイズ分布算出部、11 単位距離算出部、12 配線検出部、13 部品名ペアリング部、14 接続検出部、15 部品分類部、16 近接ブロック生成部、17 近接ブロック内部品配置設計部、18 全体配置設計部、19 交点検出部、20 ネット属性設定部、21 配置設計部、31 回路図グループ配置設計部、100 プロセッサ、200 表示装置、300 入力装置、400 内部記憶装置、500 外部記憶装置、600 通信装置。 1 Printed circuit board design device, 2 Data input unit, 3 CAD unit, 4 User I/F, 5 Conversion unit, 6 Division unit, 7 Line detection unit, 8 Component name detection unit, 9 Component detection unit, 10 Component size distribution calculation unit, 11 Unit distance calculation unit, 12 Wiring detection unit, 13 Component name pairing unit, 14 Connection detection unit, 15 Component classification unit, 16 Proximal block generation unit, 17 Proximal block component layout design unit, 18 Overall layout design unit, 19 Intersection detection unit, 20 Net attribute setting unit, 21 Layout design unit, 31 Circuit diagram group layout design unit, 100 Processor, 200 Display unit, 300 Input unit, 400 Internal storage unit, 500 External storage unit, 600 Communication unit.

Claims (21)

回路図の画像に含まれる文字列、および前記文字列の位置を検出することによって、部品名および前記部品名の位置、またはピン番号およびピン番号の位置を検出する部品名検出部と、
前記回路図の画像に含まれる部品を検出し、前記部品の部品種類、および部品領域を検出部品リストに登録する部品検出部と、
前記回路図の画像に含まれる直線を検出する直線検出部と、
前記検出された直線に基づいて、配線を検出する配線検出部と、
前記検出部品リストに登録された前記部品の部品領域の位置と、前記部品名の位置とに基づいて、前記部品と前記部品名とをペアリングするペアリング部と、
回路図の画像において、前記検出部品リストに登録された前記部品と前記配線との接続を検出し、1個以上の配線によって接続される2つの部品を特定し、特定された2つの部品がネットリストにおいても接続されている場合に、前記特定された2つの部品が接続されていることを表わす接続情報を作成する接続検出部と、を備えた回路図読取り装置。
a component name detection unit that detects a character string included in an image of a circuit diagram and a position of the character string to thereby detect a component name and a position of the component name, or a pin number and a position of the pin number;
a component detection unit that detects components included in the image of the circuit diagram and registers the component types and component areas of the components in a detected components list;
a straight line detection unit that detects straight lines included in the image of the circuit diagram;
a wiring detection unit that detects wiring based on the detected straight lines;
a pairing unit that pairs the component and the component name based on a position of the component area of the component registered in the detected component list and a position of the component name;
a connection detection unit that detects connections between the components registered in the detected components list and the wiring in an image of the circuit diagram, identifies two components connected by one or more wiring, and, if the two identified components are also connected in a netlist, creates connection information indicating that the two identified components are connected.
前記部品名検出部は、検出された文字列が部品名リストに登録されている場合には、検出された文字列を部品名として特定し、その文字列の位置を部品名の位置として特定し、検出された文字列がピン番号リストに登録されている場合には、検出された文字列をピン番号として特定し、その文字列の位置をピン番号の位置として特定する、請求項1記載の回路図読取り装置。 The circuit diagram reading device of claim 1, wherein the part name detection unit, if the detected character string is registered in a part name list, identifies the detected character string as a part name and identifies the position of the character string as the position of the part name, and, if the detected character string is registered in a pin number list, identifies the detected character string as a pin number and identifies the position of the character string as the position of the pin number. 前記部品名検出部は、検出された文字列から前記部品の物性を表わす文字列を削除し、削除後の文字列と前記部品名リストまたは前記ピン番号リストとを照合する、請求項2記載の回路図読取り装置。 The circuit diagram reading device of claim 2, wherein the part name detection unit deletes a character string representing the physical properties of the part from the detected character string, and compares the deleted character string with the part name list or the pin number list. 前記部品検出部は、深層学習アルゴリズムに基づいて、部品種類、および部品領域を検出する、請求項1記載の回路図読取り装置。 The circuit diagram reading device of claim 1, wherein the component detection unit detects component types and component areas based on a deep learning algorithm. 前記部品検出部は、検出された部品の部品種類として複数の候補を推定し、前記複数の候補の中から前記部品領域の中心位置に最も近い部品名に基づいて、1つの部品種類を選択する、請求項4記載の回路図読取り装置。 The circuit diagram reading device of claim 4, wherein the component detection unit estimates multiple candidates as the component type of the detected component, and selects one component type from the multiple candidates based on the component name closest to the center position of the component area. 回路図の一部において検出された部品の部品領域のサイズの中央値を部品の種類ごとに算出する部品サイズ分布算出部を備え、
前記部品検出部は、回路図の他の部分において検出された部品の部品種類として複数の候補を推定し、前記複数の候補の中から、部品の種類ごとの部品領域のサイズの中央値に基づいて、1つの部品種類を選択する、請求項4記載の回路図読取り装置。
a component size distribution calculation unit that calculates a median value of the size of component areas of components detected in a portion of the circuit diagram for each type of component;
5. The circuit diagram reading device according to claim 4, wherein the component detection unit estimates a plurality of candidates as the component types of the components detected in the other portion of the circuit diagram, and selects one component type from the plurality of candidates based on a median value of the size of the component area for each type of component.
前記部品検出部は、検出された部品の部品領域が前記直線検出部によって検出された直線と接触しない場合に、検出された部品の部品種類および部品領域を前記検出部品リストに登録しない、請求項4記載の回路図読取り装置。 A circuit diagram reading device as described in claim 4, wherein the component detection unit does not register the component type and component area of the detected component in the detected component list if the component area of the detected component does not contact the straight line detected by the straight line detection unit. 前記部品検出部は、検出された部品の部品領域から所定距離内に部品名が回路図の画像に存在しない場合に、検出された部品の部品種類および部品領域を前記検出部品リストに登録しない、請求項4記載の回路図読取り装置。 A circuit diagram reading device as described in claim 4, wherein the component detection unit does not register the component type and component area of a detected component in the detected component list if the component name is not present in the circuit diagram image within a predetermined distance from the component area of the detected component. 前記配線検出部は、前記直線検出部によって検出された直線のうち、検出した部品の部品領域に内包されている直線を前記配線としない、請求項1記載の回路図読取り装置。 The circuit diagram reading device of claim 1, wherein the wiring detection unit does not consider, as wiring, straight lines detected by the straight line detection unit that are contained within the component area of the detected component. 前記配線検出部は、前記直線検出部によって検出された直線のうち、交点、部品領域、および回路図の他の箇所との接続を表わす記号のいずれとも交差しない直線を前記配線としない、請求項1記載の回路図読取り装置。 The circuit diagram reading device of claim 1, wherein the wiring detection unit does not regard as wiring any straight line detected by the straight line detection unit that does not intersect with any of the symbols representing intersections, component areas, or connections to other parts of the circuit diagram. 前記検出部品リストに登録された1個以上の抵抗、コイル、およびコンデンサの大きさの中央値を単位距離として算出する単位距離算出部を備えた、請求項1記載の回路図読取り装置。 A circuit diagram reading device as described in claim 1, further comprising a unit distance calculation unit that calculates the median value of the size of one or more resistors, coils, and capacitors registered in the detection component list as a unit distance. 前記配線検出部は、前記直線検出部によって検出された第1の直線の端点を中心として、前記単位距離の所定倍数の半径の円内に第2の直線が存在する場合に、配線検出のため、前記第1の直線の端点と前記第2の直線とを接続する最短の直線を追加する、請求項11記載の回路図読取り装置。 The circuit diagram reading device of claim 11, wherein the wiring detection unit adds the shortest straight line connecting the end point of the first straight line and the second straight line for wiring detection when a second straight line is present within a circle having a radius that is a predetermined multiple of the unit distance and centered on the end point of the first straight line detected by the straight line detection unit. 前記ペアリング部は、前記部品と、前記部品の部品領域の中心の位置に最も近い中心位置を有する部品名とをペアリングする、請求項1記載の回路図読取り装置。 The circuit diagram reading device of claim 1, wherein the pairing unit pairs the component with a component name having a center position closest to the center position of the component area of the component. 前記ペアリング部は、前記部品の部品領域の中心の位置から所定距離内に複数の部品名が存在する場合には、前記部品と、前記複数の部品名のうち、前記部品の部品種類と同じ種類の部品名とをペアリングする、請求項1記載の回路図読取り装置。 The circuit diagram reading device of claim 1, wherein, when multiple component names are present within a predetermined distance from the center position of the component area of the component, the pairing unit pairs the component with one of the multiple component names that is of the same type as the component type of the component. 前記ペアリング部は、同一の部品種類の複数の部品に1つの部品名がペアリングされた場合には、複数の部品を1つの部品に統合する、請求項13記載の回路図読取り装置。 The circuit diagram reading device of claim 13, wherein the pairing unit merges multiple components into one component when one component name is paired with multiple components of the same component type. 前記接続検出部は、前記検出部品リストに登録されている全ての部品の部品領域を上下および左右方向に単位距離の所定倍数だけ拡張し、拡張された部品領域と配線とが接続されているときに、部品と配線とが接続されていることを検出する、請求項11記載の回路図読取り装置。 The circuit diagram reading device of claim 11, wherein the connection detection unit expands the component areas of all components registered in the detection component list by a predetermined multiple of a unit distance in the vertical and horizontal directions, and detects that the components and wiring are connected when the expanded component areas are connected to wiring. 請求項1~16のいずれか1項に記載の回路図読取り装置と、
前記検出部品リストに登録された部品を、親部品と、子部品と、その他の部品とに分類する部品分類部と、
前記接続情報に基づいて、親部品と、前記親部品に直接または間接的に接続される1個以上の子部品とを含む近接ブロックを生成する近接ブロック生成部と、
前記近接ブロック内の部品を配置する近接ブロック内部品配置設計部と、を備えた、プリント基板設計装置。
A circuit diagram reader according to any one of claims 1 to 16,
a parts classification unit that classifies the parts registered in the detected parts list into parent parts, child parts, and other parts;
a proximity block generator that generates a proximity block including a parent part and one or more child parts directly or indirectly connected to the parent part based on the connection information;
and a proximity block in-component layout design unit that arranges components in the proximity block.
前記部品分類部は、前記検出部品リストに登録された部品を、前記部品の部品種類に基づいて、前記親部品と、前記子部品と、前記その他の部品とに分類する、請求項17記載のプリント基板設計装置。The printed circuit board design device of claim 17, wherein the component classification unit classifies the components registered in the detected components list into the parent components, the child components, and the other components based on the component type of the components. 前記部品分類部は、前記検出部品リストに登録された複数の部品の中に、親部品として指定された部品種類の部品が存在しない場合に、ネットリストを参照して、前記複数の部品の中で2ピンかつネット属性が電源のみの部品を親部品に分類する、請求項18記載のプリント基板設計装置。 The printed circuit board design device of claim 18, wherein, when there is no component of a component type designated as a parent component among the multiple components registered in the detected components list, the component classification unit refers to a netlist and classifies a component among the multiple components that has two pins and a net attribute of only power supply as a parent component. 前記部品分類部は、前記検出部品リストに登録された複数の部品の中に、2ピンかつネット属性が電源のみの部品が存在しない場合に、前記複数の部品の中で最もピン数の多い部品を親部品に分類する、請求項19記載のプリント基板設計装置。 The printed circuit board design device of claim 19, wherein the component classification unit classifies the component with the greatest number of pins among the multiple components registered in the detected component list as a parent component when there is no component with two pins and a net attribute of power only among the multiple components registered in the detected component list. コンピュータに、
回路図の画像に含まれる文字列、および前記文字列の位置を検出することによって、部品名および前記部品名の位置、またはピン番号およびピン番号の位置を検出するステップと、
前記回路図の画像に含まれる部品を検出し、前記部品の部品種類、および部品領域を検出部品リストに登録するステップと、
前記回路図の画像に含まれる直線を検出するステップと、
前記検出された直線に基づいて、配線を検出するステップと、
前記検出部品リストに登録された前記部品の部品領域の位置と、前記部品名の位置とに基づいて、前記部品と前記部品名とをペアリングするステップと、
回路図の画像において、前記検出部品リストに登録された前記部品と前記配線との接続を検出し、1個以上の配線によって接続される2つの部品を特定し、特定された2つの部品がネットリストにおいても接続されている場合に、前記特定された2つの部品が接続されていることを表わす接続情報を作成するステップと、を実行させる回路図読取りプログラム。
On the computer,
A step of detecting a character string included in an image of a circuit diagram and a position of the character string, thereby detecting a component name and a position of the component name, or a pin number and a position of the pin number;
detecting components included in the image of the circuit diagram, and registering the component types and component areas of the components in a detected components list;
detecting straight lines included in the image of the circuit diagram;
detecting wiring based on the detected straight lines;
pairing the component with the component name based on a position of the component area of the component registered in the detected component list and a position of the component name;
a step of detecting connections between the components registered in the detected components list and the wiring in an image of a circuit diagram, identifying two components connected by one or more wiring, and, if the two identified components are also connected in a netlist, creating connection information indicating that the two identified components are connected.
JP2024558547A 2022-11-15 2022-11-15 Circuit diagram reader, printed circuit board design device, and circuit diagram reader program Active JP7632938B2 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2022/042435 WO2024105789A1 (en) 2022-11-15 2022-11-15 Circuit diagram reading device, printed board design device, and circuit diagram reading program

Publications (2)

Publication Number Publication Date
JPWO2024105789A1 JPWO2024105789A1 (en) 2024-05-23
JP7632938B2 true JP7632938B2 (en) 2025-02-19

Family

ID=91084040

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2024558547A Active JP7632938B2 (en) 2022-11-15 2022-11-15 Circuit diagram reader, printed circuit board design device, and circuit diagram reader program

Country Status (2)

Country Link
JP (1) JP7632938B2 (en)
WO (1) WO2024105789A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021177274A (en) 2020-05-07 2021-11-11 株式会社オンテック Printed board designing device and printed board designing program
JP2022063599A (en) 2020-10-12 2022-04-22 株式会社東芝 Drawing structuring system and drawing structuring method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1027251A (en) * 1996-07-11 1998-01-27 Chubu Electric Power Co Inc Circuit drawing recognition method, circuit drawing recognition device using the same, and circuit simulation device using the same

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021177274A (en) 2020-05-07 2021-11-11 株式会社オンテック Printed board designing device and printed board designing program
JP2022063599A (en) 2020-10-12 2022-04-22 株式会社東芝 Drawing structuring system and drawing structuring method

Also Published As

Publication number Publication date
WO2024105789A1 (en) 2024-05-23
JPWO2024105789A1 (en) 2024-05-23

Similar Documents

Publication Publication Date Title
WO2023108649A1 (en) Method and apparatus for layout mapping, and device, medium and program product
EP1930825A2 (en) Circuit-design supporting apparatus, circuit-design supporting method, computer product, and printed-circuit-board manufacturing method
US8347253B2 (en) Designing supply wirings in semiconductor integrated circuit by detecting power supply wiring of specific wiring layer in projection area
CN116682130B (en) Method, device, equipment and readable storage medium for extracting image label information
US10268792B2 (en) Designing a density driven integrated circuit
US9304981B1 (en) System and method for providing an inter-application overlay to communicate information between users and tools in the EDA design flow
CN101533400B (en) Relative document representing system, relative document representing method
CN120106007B (en) Clock tree synthesis method and system based on clustering
US20070234258A1 (en) Method for post-routing redundant via insertion in integrated circuit layout
CN111340020A (en) Formula identification method, device, equipment and storage medium
JP7632938B2 (en) Circuit diagram reader, printed circuit board design device, and circuit diagram reader program
US8555232B2 (en) Wire routing using virtual landing pads
JP6390085B2 (en) Program, information processing apparatus, and information processing method
US7984394B2 (en) Design structure for a redundant micro-loop structure for use in an integrated circuit physical design process and method of forming the same
US7962877B2 (en) Port assignment in hierarchical designs by abstracting macro logic
CN104238842B (en) Method for identifying non-common-ground object
CN119206754A (en) UI (user interface) semantic recognition method, device, equipment and storage medium
JP7525213B2 (en) Printed circuit board design device and printed circuit board design program
JP2011076154A (en) Design support program, design support apparatus, design support method, semiconductor element, and macro
CN115438606A (en) Apparatus, method and non-transitory computer readable medium for verifying tilted layout elements
JP7766784B2 (en) Design support device and design support method for printed circuit boards, and program for causing a computer to execute the design support method
JP7638187B2 (en) How to identify computer and document types
KR102734464B1 (en) Electronic apparatus for detecting current flow bottleneck areas in printed circuit board design and detection method therefor
CN117648893B (en) Integrated circuit performance inspection method, device, computer equipment and storage medium
US7818708B2 (en) Method and system for developing post-layout electronic data automation (EDA) applications

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240718

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20250121

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20250130

R150 Certificate of patent or registration of utility model

Ref document number: 7632938

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150