JPH0816207A - Method for adjusting electronic circuit package and automatic adjusting device - Google Patents

Method for adjusting electronic circuit package and automatic adjusting device

Info

Publication number
JPH0816207A
JPH0816207A JP6144449A JP14444994A JPH0816207A JP H0816207 A JPH0816207 A JP H0816207A JP 6144449 A JP6144449 A JP 6144449A JP 14444994 A JP14444994 A JP 14444994A JP H0816207 A JPH0816207 A JP H0816207A
Authority
JP
Japan
Prior art keywords
electronic circuit
output value
circuit package
adjustment
neural network
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
JP6144449A
Other languages
Japanese (ja)
Inventor
Junichi Miyamoto
潤一 宮本
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP6144449A priority Critical patent/JPH0816207A/en
Publication of JPH0816207A publication Critical patent/JPH0816207A/en
Pending legal-status Critical Current

Links

Landscapes

  • Feedback Control In General (AREA)

Abstract

PURPOSE:To provide a method capable of being applied to the adjustment of various electronic circuit pacakges, being used by everybody independently of skillness, shortening manhour and time and facilitating automation. CONSTITUTION:A normal signal is supplied to an electronic circuit package to be adjusted, the output value Xs of (n) outputs at the time of fixing (m) adjusting trimmers on an initializing position (setting of a beta sort) is applied to a GA operation part 1 for executing genetic algorithm and the rotational variable of each adjusting trimmer for adjusting the output of the package to a reference output value Xo is found out and used as a teacher signal Zs to allow a neural network 2 to learn it. The learning operation is executed for the initializing position of the beta sort. At the time of adjustment, the output value X of the package to be practically adjusted is inputted to the learned neural network 2 and the trimmer is rotated in accordance with the outputted rotational variable Y. If the output of the package is not adjusted to the reference output value Xo by one rotation adjustment, the output value after rotation is inputted and similar operation is repeated.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、電子回路パッケージ調
整方法および自動調整装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic circuit package adjusting method and an automatic adjusting apparatus.

【0002】[0002]

【従来の技術】可変抵抗や可変コンデンサなどの調整用
トリマを有する電子回路パッケージの調整は、電子回路
パッケージを製造する際などに、製品に望ましい出力特
性を与えるための最終工程としてしばしば必要となる。
従来、このような電子回路パッケージの調整は、図6に
示すように、作業者10が、電子回路パッケージ6から
の出力値を測定器11で観測しながら、ビット12を用
いて調整用トリマ7を回転することにより行っている。
2. Description of the Related Art Adjustment of an electronic circuit package having an adjusting trimmer such as a variable resistor or a variable capacitor is often necessary as a final step for giving a desired output characteristic to a product when manufacturing the electronic circuit package. .
Conventionally, such adjustment of an electronic circuit package is performed by an operator 10 using an adjustment trimmer 7 using a bit 12 while observing an output value from the electronic circuit package 6 with a measuring device 11, as shown in FIG. It is done by rotating.

【0003】一方、このような電子回路パッケージの調
整作業を、作業者の技能に頼らずに自動化しようとする
従来の技術としては、例えば、特開平2―92004号
公報記載の電子回路の調整装置がある。この電気回路の
調整装置は、規定の振幅の正弦波入力を与えたときの電
子回路の出力の交流成分と直流成分とから、ファジィ推
論によって電子回路のゲイン及びオフセット調整用の二
つの可変抵抗の調整量(トリマ回転量)を求め、モータ
駆動の抵抗値調整器によりその分量だけ各可変抵抗の調
整用トリマを回転させる動作を、各調整量が“0”に収
束するまで繰り返し行うものである。
On the other hand, as a conventional technique for automating the adjustment work of such an electronic circuit package without depending on the skill of the operator, for example, an electronic circuit adjustment device described in Japanese Patent Laid-Open No. 2-92004. There is. This electric circuit adjusting device uses two variable resistors for gain and offset adjustment of an electronic circuit by fuzzy reasoning from the AC component and the DC component of the output of the electronic circuit when a sine wave input having a specified amplitude is applied. The adjustment amount (trimmer rotation amount) is obtained, and the operation of rotating the adjustment trimmer of each variable resistor by that amount by the resistance value adjuster of the motor drive is repeated until each adjustment amount converges to "0". .

【0004】[0004]

【発明が解決しようとする課題】上述した従来の作業者
による電子回路パッケージの調整方法は、作業者が測定
器で観測しながら調整用トリマを回転して調整を行うた
め、調整に要する時間は作業者の熟練の度合いに大きく
依存する。特に、電子回路パッケージの規模が大きくな
り調整用トリマの数が増えて相互の干渉が起こる場合に
は、調整時間が長くなり熟練度への依存の度合いが高ま
るばかりか、熟練の度合いが十分でない作業者には調整
できない事態も発生するという問題点がある。
In the above-mentioned conventional method for adjusting an electronic circuit package by an operator, the operator rotates the adjusting trimmer while performing observation while observing with a measuring instrument, and therefore the time required for the adjustment is reduced. It depends largely on the degree of skill of the operator. Especially, when the scale of the electronic circuit package becomes large and the number of trimmers for adjustment increases and mutual interference occurs, not only the adjustment time becomes longer and the degree of dependence on the skill increases, but also the degree of skill is insufficient. There is a problem that the operator may not be able to make adjustments.

【0005】一方、上述のファジィ推論を利用した調整
装置は、作業者の熟練度には影響されないが、ファジィ
推論によるため一般に何回かの繰り返し調整(調整用ト
リマの回転操作)が必要となり調整時間が長くなるほ
か、ファジィ推論を行うためのルールであるメンバーシ
ップ関数をあらかじめ決定して置かなければならないと
いう問題点がある。すなわち、調整対象である電子回路
パッケージの構成および動作を十分熟知した技術者が、
あらかじめメンバーシップ関数を設定しなければならな
い上に、調整用トリマの数が増えるに伴ってこのメンバ
ーシップ関数の設定は煩雑で困難な作業となる欠点があ
る。
On the other hand, the adjusting device using the above-mentioned fuzzy inference is not affected by the skill level of the operator, but since it is based on the fuzzy inference, it is generally necessary to make some repeated adjustments (rotating operation of the adjusting trimmer). In addition to increasing the time, there is the problem that the membership function, which is the rule for performing fuzzy inference, must be determined and set in advance. In other words, an engineer who is fully familiar with the configuration and operation of the electronic circuit package that is the target of adjustment,
In addition to the fact that the membership function must be set in advance, the setting of this membership function becomes complicated and difficult as the number of trimmers for adjustment increases.

【0006】本発明の目的は、近年注目されている学習
機能を有するニューラルネットワークと、膨大な探索空
間の効率的かつ実用的な探索手法である遺伝的アルゴリ
ズムの手法とを用いることにより、上述の欠点が除去さ
れた汎用的に使用可能な電子回路パッケージ調整方法お
よび自動調整装置を提供することにある。
An object of the present invention is to use a neural network having a learning function, which has been attracting attention in recent years, and a genetic algorithm method which is an efficient and practical search method for a huge search space. It is an object of the present invention to provide a universally usable electronic circuit package adjusting method and an automatic adjusting device in which the drawbacks are eliminated.

【0007】[0007]

【課題を解決するための手段】請求項1の電子回路パッ
ケージ調整方法は、規定の入力信号を与えたときの出力
値を基準出力値に対して所定の許容範囲内とするための
電子回路パッケージの調整用トリマの回転量を、前記調
整用トリマの複数の初期設定状態に対して遺伝的アルゴ
リズムの手法により求め、これらを教師信号として中間
層を有する階層型のニューラルネットワークに学習させ
た後、調整しようとする個々の電子回路パッケージに前
記規定の入力信号を与えたときの出力値に基づいて前記
ニューラルネットワークから前記調整用トリマの回転量
を求め、求められた回転量に従って前記調整用トリマを
回転して出力値が前記基準出力値に対して所定の許容範
囲内となるように調整することを特徴としている。
According to another aspect of the present invention, there is provided an electronic circuit package adjusting method, wherein an output value when a specified input signal is applied is within a predetermined allowable range with respect to a reference output value. The amount of rotation of the trimming trimmer of is determined by a method of a genetic algorithm for a plurality of initial setting states of the trimming trimmer, and after learning these in a hierarchical neural network having an intermediate layer as a teacher signal, The rotation amount of the adjustment trimmer is obtained from the neural network based on the output value when the specified input signal is applied to each electronic circuit package to be adjusted, and the adjustment trimmer is set according to the obtained rotation amount. It is characterized by rotating so that the output value is adjusted to fall within a predetermined allowable range with respect to the reference output value.

【0008】請求項2の電子回路パッケージ自動調整装
置は、調整対象となる電子回路パッケージに規定の入力
信号を与えて出力値を測定する測定部と、制御情報に従
って前記電子回路パッケージの調整用トリマの回転を行
う機構部と、中間層を有する階層型のニューラルネット
ワークを含み前記測定部から前記電子回路パッケージの
出力値を入力して学習済みの前記ニューラルネットワー
クにより前記調整用トリマの回転量を求めて前記機構部
に前記制御情報を出力する調整手段を有する制御部とを
備えて構成されている。
According to another aspect of the present invention, there is provided an electronic circuit package automatic adjusting apparatus, wherein a measuring section for applying a specified input signal to an electronic circuit package to be adjusted to measure an output value, and an adjusting trimmer for the electronic circuit package according to control information. The rotation amount of the adjusting trimmer is obtained by the learned neural network by inputting the output value of the electronic circuit package from the measuring unit including a hierarchical neural network having an intermediate layer And a control section having an adjusting means for outputting the control information to the mechanical section.

【0009】請求項3の電子回路パッケージ自動調整装
置は、請求項2の電子回路パッケージ自動調整装置にお
いて、前記制御部が、前記調整用トリマの複数の初期設
定状態に対して規定の入力信号を与えたときの出力値を
基準出力値に対して所定の許容範囲内とするための電子
回路パッケージの調整用トリマの回転量を遺伝的アルゴ
リズムの手法に基づいて求め、これらを教師信号として
前記ニューラルネットワークの学習を行う学習手段を含
むことを特徴としている。
An electronic circuit package automatic adjusting apparatus according to a third aspect is the electronic circuit package automatic adjusting apparatus according to the second aspect, wherein the control section outputs a prescribed input signal to a plurality of initial setting states of the adjusting trimmer. The rotation amount of the trimmer for adjustment of the electronic circuit package for keeping the output value when given within the predetermined allowable range with respect to the reference output value is obtained based on the method of the genetic algorithm, and these are used as teacher signals for the neural network. It is characterized by including a learning means for learning the network.

【0010】[0010]

【作用】ここで、本発明を構成する基本的な技術思想に
ついて説明する。前述したように、本発明の目的は、作
業者の熟練度に依存することなく、しかも各種の電子回
路パッケージに汎用的に適用できる調整方法および自動
調整装置の提供であり、この目的を達成するために、学
習機能を有するニューラルネットワークと遺伝的アルゴ
リズムの手法とを用いたことを特徴とするものである。
更に詳しく説明すると、本発明の基本的な技術思想の内
容は、図1(a)に示す遺伝的アルゴリズムの手法によ
るニューラルネットワークの学習と、図1(b)に示す
学習済みのニューラルネットワークによる調整の実行と
の2段階に分けられる。
The basic technical idea of the present invention will be described. As described above, the object of the present invention is to provide an adjusting method and an automatic adjusting device which can be universally applied to various electronic circuit packages without depending on the skill of an operator, and achieve this object. In order to do so, a neural network having a learning function and a method of a genetic algorithm are used.
More specifically, the basic technical idea of the present invention is as follows: learning of a neural network by the method of the genetic algorithm shown in FIG. 1 (a) and adjustment by a learned neural network shown in FIG. 1 (b). It is divided into two stages:

【0011】ニューラルネットワークは、人間の脳神経
細胞構造をモデルに形成された情報処理システムであ
り、可変重み付け機能を有するリンクによって相互に接
続された多数の非線形処理ユニットから成る大規模な並
列ネットワークである。入力パターンが供給される処理
ユニットから成る入力層と、出力パターンを発生する処
理ユニットから成る出力層との間に、中間層を構成する
隠れユニットを有する階層型ネットワークでは、既知の
入出力関係を教師信号として学習させることにより、リ
ンクの可変重み付けが修正されてネットワークの内部状
態が変化し、学習した以外の類似の入力パターンに対し
ても適切な出力パターンを出力することができるように
なる学習機能を持つことが知られている。
The neural network is an information processing system formed by modeling the human brain nerve cell structure, and is a large-scale parallel network composed of a large number of nonlinear processing units interconnected by links having a variable weighting function. . In a hierarchical network having a hidden unit forming an intermediate layer between an input layer composed of a processing unit to which an input pattern is supplied and an output layer composed of a processing unit generating an output pattern, a known input / output relationship is established. By learning as a teacher signal, the variable weighting of links is modified and the internal state of the network changes, so that an appropriate output pattern can be output even for similar input patterns other than those learned. It is known to have a function.

【0012】本発明が対象とする電子回路パッケージ
は、一般的にk個の入力とn個の出力とm個の調整用ト
リマ(k,n,mはいずれも正の整数)とを備えた電子
回路であり、k個の入力に規定の入力信号を与えた状態
で、n個の出力値がそれぞれの基準出力値に対して所定
の許容範囲内となるように、m個の調整用トリマを用い
て調整できるように設計されているものとする。前述し
た特開平2―92004号公報記載のファジィ推論によ
る電子回路のゲイン及びオフセット調整の例は、対象と
なる電子回路が、k=1,m=n=2の場合に該当す
る。
The electronic circuit package targeted by the present invention generally has k inputs, n outputs, and m adjusting trimmers (k, n, and m are all positive integers). It is an electronic circuit, and in a state where a specified input signal is applied to k inputs, m adjustment trimmers are set so that n output values are within a predetermined allowable range with respect to each reference output value. Shall be designed to be adjustable using. The example of the gain and offset adjustment of the electronic circuit by the fuzzy inference described in the above-mentioned Japanese Patent Application Laid-Open No. 2-92004 corresponds to the case where the target electronic circuit is k = 1, m = n = 2.

【0013】学習時には、調整対象の回路と同等な1個
又は少数の電子回路パッケージを使用する。電子回路パ
ッケージのk個の入力にそれぞれ規定の入力信号を供給
し、m個の調整用トリマを複数設定した初期状態(調整
用トリマの初期位置の組み合わせ)の一つに固定し、そ
のときのn個の出力の出力値Xsを、図1(a)に示す
ように、遺伝的アルゴリズムの手法を実行するGA操作
部1とニューラルネットワーク2とに入力する。まず、
GA操作部1により、電子回路パッケージの出力値Xs
を基準出力値Xoに調整するために必要なm個の調整用
トリマの回転量を求め、これを教師信号Zsとしてニュ
ーラルネットワーク2に学習させる。この学習動作は、
ニューラルネットワーク2から出力される回転量Ysと
教師信号Zsとの誤差を入力層側に送り返すバックプロ
パゲーションにより、ニューラルネットワーク2の内部
で実行される。ここで、出力値Xs,基準出力値Xo,
回転量Ys及び教師信号Zsは、図1(a)に示すよう
に、それぞれn個およびm個の要素から成る1列のマト
リクスであり、ニューラルネットワーク2の入出力の関
係をYs=F(Xs)で表すと、Fはm×n次の複雑な
関数となる。
At the time of learning, one or a few electronic circuit packages equivalent to the circuit to be adjusted are used. A specified input signal is supplied to each of the k inputs of the electronic circuit package, and the m adjustment trimmers are fixed to one of the set initial states (combination of the initial positions of the adjustment trimmers). The output values Xs of n outputs are input to the GA operation unit 1 and the neural network 2 which execute the method of the genetic algorithm, as shown in FIG. First,
Output value Xs of the electronic circuit package by the GA operation unit 1
The amount of rotation of the m trimming trimmers necessary for adjusting to the reference output value Xo is obtained, and the neural network 2 is made to learn this amount as the teacher signal Zs. This learning operation is
This is executed inside the neural network 2 by back propagation that returns the error between the rotation amount Ys output from the neural network 2 and the teacher signal Zs to the input layer side. Here, the output value Xs, the reference output value Xo,
The rotation amount Ys and the teacher signal Zs are, as shown in FIG. 1A, a matrix of one column consisting of n and m elements, respectively, and the relation of input and output of the neural network 2 is Ys = F (Xs ), F is a complex function of m × n order.

【0014】以上の操作を電子回路パッケージの初期状
態を変えてβ回繰り返し行うことにより、ニューラルネ
ットワーク2は内部状態を変化させて学習を完了し、学
習した以外の類似の入力パターンに対しても適切な出力
パターンが得られるようになる。この学習は、特定の1
個の電子回路パッケージのみで行ってもよいが、何個か
の電子回路パッケージを取り替えて行ってもよい。
By repeating the above operation β times by changing the initial state of the electronic circuit package, the neural network 2 changes the internal state and completes learning, and also for similar input patterns other than those learned. A proper output pattern can be obtained. This learning is a specific one
Although it may be performed with only one electronic circuit package, some electronic circuit packages may be replaced.

【0015】遺伝的アルゴリズムの手法は、膨大な領域
の探索問題を効率的に解決する方法として生物の進化の
過程にヒントを得て開発されたものであり、多ビットの
情報を表す遺伝子の集団を想定し、この集団に対して淘
汰,増殖,遺伝子型の交差,突然変異などの一連の操作
を加えて世代交代シミュレーションを繰り返すことによ
り、条件に一致した最適解を求めるものである。具体的
には電子回路パッケージのm個の調整用トリマの回転量
を一つの遺伝子にコーディングし、適応度として遺伝子
情報に基づき調整用トリマの回転を行った場合の出力値
と調整目標である基準出力値との誤差を用いて最適解
(教師信号)を求める。ランダムに選択した遺伝子情報
を持つ遺伝子の集団から出発し、単純な基本操作を繰り
返し実行することにより目的とする進化した遺伝子を得
ることができるため、対象とする電子回路パッケージの
構成や特性などの技術的内容を知らなくても、誰にでも
容易に教師信号を作成することができる。
The method of the genetic algorithm is developed as a method for efficiently solving the search problem of a huge area, inspired by the process of evolution of living organisms, and it is a group of genes expressing multi-bit information. Assuming that, the generation alternation simulation is repeated by adding a series of operations such as selection, proliferation, genotype crossover, and mutation to this population, and an optimal solution that matches the conditions is obtained. Specifically, the rotation amount of the m trimming trimmers of the electronic circuit package is coded into one gene, and the output value and the reference that is the regulation target when the trimming trimmer is rotated based on the gene information as the fitness. The optimum solution (teaching signal) is obtained using the error from the output value. Starting from a group of genes with randomly selected gene information, it is possible to obtain the evolved gene of interest by repeatedly executing simple basic operations. Anyone can easily create a teacher signal without knowing the technical contents.

【0016】次に、調整時においては、図1(b)に示
すように、学習後のニューラルネットワーク2を用い、
実際に調整対象となる電子回路パッケージの出力値Xを
入力し、その入力に対応する調整用トリマの回転量Yを
算出し、算出された回転量Yに従って調整用トリマの回
転を行い調整を実行する。1回の調整で目的とする基準
出力値とならない場合は、同様な操作を繰り返し行う。
Next, at the time of adjustment, as shown in FIG. 1 (b), the neural network 2 after learning is used,
The output value X of the electronic circuit package to be actually adjusted is input, the rotation amount Y of the adjustment trimmer corresponding to the input is calculated, and the adjustment trimmer is rotated according to the calculated rotation amount Y to execute the adjustment. To do. If the desired reference output value is not reached with one adjustment, repeat the same operation.

【0017】なお、ニューラルネットワーク、特に階層
型ネットワークとバックプロパゲーションについては、
例えば、「PDPモデル―認知科学とニューロン回路網
の探索―(初版)」(D.E.ラメルハートらPDPリ
サーチグループ著、甘利俊一監訳、産業図書、1989
年2月27日発行)の第8章(P322〜P333)に
詳細な記述がある。更に、遺伝的アルゴリズムについて
は、例えば、「ジェネティックアルゴリズム(初版)」
(安居院猛,長尾智晴共著、照光堂、1993年9月2
2日発行)の第1章(P1〜P15)に概括的に説明さ
れている。
For neural networks, especially for hierarchical networks and backpropagation,
For example, "PDP Model-Cognitive Science and Search for Neuron Networks- (First Edition)" (DE Lamelhardt et al., PDP Research Group, translated by Shunichi Amari, Sangyo Tosho, 1989).
Detailed description is given in Chapter 8 (published February 27, 2012) (P322 to P333). Furthermore, regarding genetic algorithms, for example, "Genetic Algorithm (First Edition)"
(Takeshi Yasuiin and Tomoharu Nagao, Shokodo, September 1993 2
It is generally described in Chapter 1 (P1-P15) of the 2nd issue).

【0018】[0018]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0019】図2は本発明による電子回路パッケージ自
動調整装置の一実施例の構成を示すブロック図である。
FIG. 2 is a block diagram showing the configuration of an embodiment of the electronic circuit package automatic adjusting apparatus according to the present invention.

【0020】本実施例の電子回路パッケージ自動調整装
置は、図2に示すように、調整対象となる電子回路パッ
ケージ6に測定器から規定の入力信号を与えて出力値を
測定しディジタル情報として出力する測定部3と、調整
用ヘッド9を備えたロボット機構8により制御情報に従
って電子回路パッケージ6の調整用トリマ7の回転を行
う機構部4と、測定部3及び機構部4を制御し電子回路
パッケージ6の調整を行う制御部5とで構成されてい
る。制御部5は、例えばワークステーションやパソコン
などの情報処理装置で構成され、ソフトウェアシミュレ
ーションにより学習能力を有するニューラルネットワー
クを実現する機能と、遺伝的アルゴリズムの手法に基づ
いて情報の更新を行う機能と、測定部3及び機構部4を
制御し電子回路パッケージ6を用いて遺伝的アルゴリズ
ムの手法で教師信号を作成しニューラルネットワークに
学習させる機能と、学習済みのニューラルネットワーク
を用いて調整対象の電子回路パッケージ6の調整を実行
する機能とを備えている。
The electronic circuit package automatic adjusting apparatus of this embodiment, as shown in FIG. 2, applies a specified input signal from the measuring instrument to the electronic circuit package 6 to be adjusted, measures the output value, and outputs it as digital information. The measuring unit 3 and the mechanical unit 4 that rotates the adjusting trimmer 7 of the electronic circuit package 6 according to the control information by the robot mechanism 8 including the adjusting head 9, and the electronic unit that controls the measuring unit 3 and the mechanical unit 4. It is composed of a control unit 5 for adjusting the package 6. The control unit 5 is composed of, for example, an information processing device such as a workstation or a personal computer, has a function of realizing a neural network having a learning ability by software simulation, and a function of updating information based on a genetic algorithm method. A function of controlling the measuring unit 3 and the mechanism unit 4 to create a teacher signal by the method of the genetic algorithm using the electronic circuit package 6 and allowing the neural network to learn, and an electronic circuit package to be adjusted using the learned neural network. 6 and the function of executing the adjustment.

【0021】学習の場合、制御部5は、測定部3を制御
して電子回路パッケージ6からの出力値をディジタル情
報として受け取り、機構部4を制御しながら遺伝的アル
ゴリズムの手法で教師信号を作成し、ニューラルネット
ワークに学習させる動作を規定の手順に従って繰り返
す。調整を実施する場合には、測定部3から受けた電子
回路パッケージ出力値のディジタル情報をニューラルネ
ットワークに入力し、得られた結果で機構部4を制御
し、電子回路パッケージ6の調整用トリマ7を回転す
る。その結果、測定部3からのディジタル情報が基準出
力値と一致すれば調整は終了する。一致しない場合に
は、同様にして再調整を行う。
In the case of learning, the control unit 5 controls the measuring unit 3 to receive the output value from the electronic circuit package 6 as digital information, and while controlling the mechanism unit 4, creates a teacher signal by the method of the genetic algorithm. Then, the operation of making the neural network learn is repeated according to the prescribed procedure. When the adjustment is performed, the digital information of the output value of the electronic circuit package received from the measuring unit 3 is input to the neural network, the mechanism unit 4 is controlled by the obtained result, and the adjusting trimmer 7 of the electronic circuit package 6 is controlled. To rotate. As a result, if the digital information from the measuring unit 3 matches the reference output value, the adjustment ends. If they do not match, readjustment is performed in the same manner.

【0022】図3は、学習時の詳細な動作を示すフロー
チャートである。以下、図2及び図1(a)を参照しな
がら学習時の動作について説明するまず、学習に使用す
る教師信号の数(β個とする)を決定し、その数だけの
異なる初期設定条件(m個の調整用トリマ7の初期位置
の組み合わせ)を設定する(ステップS1)。続いて、
m個の調整用トリマ7の回転量情報を格納する複数(α
個とする)の遺伝子を設定し、すべての遺伝子をランダ
ムに初期化する(ステップS2)。調整用トリマ7の回
転量を8ビットのディジタル情報で表すと、一つの遺伝
子は8mビットの情報量を持つことになる。次に、ステ
ップS1で先に設定した初期設定条件のどれを使用する
かを決定する(ステップS3)。
FIG. 3 is a flow chart showing the detailed operation at the time of learning. Hereinafter, the operation at the time of learning will be described with reference to FIGS. 2 and 1A. First, the number of teacher signals to be used for learning (β) is determined, and only the number of different initial setting conditions ( A combination of the initial positions of m trimming trimmers 7 is set (step S1). continue,
A plurality (α that stores the rotation amount information of the m adjustment trimmers 7)
Individual genes) are set, and all genes are randomly initialized (step S2). When the amount of rotation of the adjusting trimmer 7 is represented by 8-bit digital information, one gene has an information amount of 8 m bits. Next, it is determined which of the initial setting conditions previously set in step S1 is used (step S3).

【0023】制御部5は、機構部4を制御して電子回路
パッケージ6の調整用トリマ7の位置を指定した初期設
定条件の状態に調整した後(ステップS4)、測定部3
から電子回路パッケージ6に規定の入力信号を供給し
(ステップS5)、出力値を測定しその初期設定条件に
対する出力値Xsとして記憶する(ステップS6)。そ
して、ステップS2で設定したα個の遺伝子の1個を選
択し(ステップS7)、その遺伝子にコーディングされ
た回転量情報に基づいて各調整用トリマ7の回転を行っ
た後(ステップS8)、電子回路パッケージ6からの出
力値を再び測定し記憶する(ステップS9)。以上のス
テップS4からステップS9までの処理を設定したα個
のすべての遺伝子に対して実行した後(ステップS1
0)、ステップS9で記憶した出力値を調整目標の基準
出力値Xoと比較して適応度を算出する(ステップS1
1)。適応度はn個の出力ごとに対応する基準値との誤
差を評価すると共に、それらを基に総合的な適応度の数
量評価も行う。この評価結果に基づいて、すべての出力
に対する適応度が所定の条件を満足する遺伝子があるか
否の判定を行う(ステップS12)。条件を満足する遺
伝子がなければ、遺伝的アルゴリズムの手法による遺伝
子操作を行い(ステップS13)、ステップS4に戻り
上述の処理を継続する。一方、条件を満足する遺伝子が
あれば、総合評価の最もよい遺伝子を選択し、先にステ
ップS6で記憶した出力値Xsと対応させて教師信号Z
sとして登録する(ステップS14)。次に、登録され
た教師信号の数を判定し(ステップS15)、ステップ
S1で設定したβ個に達していない場合は、ステップS
2に戻り、未処理の初期設定条件を選択して同様な処理
を繰り返す。すべての初期設定条件に対する処理が終了
し、β個の教師信号が登録されると、ニューラルネット
ワーク2の学習に移る。
The control section 5 controls the mechanical section 4 to adjust the position of the adjusting trimmer 7 of the electronic circuit package 6 to the designated initial setting condition (step S4), and then the measuring section 3
Supplies a prescribed input signal to the electronic circuit package 6 (step S5), measures the output value, and stores it as the output value Xs for the initial setting condition (step S6). Then, one of the α genes set in step S2 is selected (step S7), and each adjusting trimmer 7 is rotated based on the rotation amount information coded in the gene (step S8). The output value from the electronic circuit package 6 is measured again and stored (step S9). After the processing from step S4 to step S9 is executed for all the set α genes (step S1
0), the output value stored in step S9 is compared with the reference output value Xo of the adjustment target to calculate the fitness (step S1).
1). For the fitness, the error with respect to the reference value corresponding to each of the n outputs is evaluated, and based on them, the comprehensive quantitative evaluation of the fitness is also performed. Based on this evaluation result, it is determined whether or not there is a gene whose fitness for all outputs satisfies a predetermined condition (step S12). If there is no gene that satisfies the condition, gene manipulation is performed by the method of the genetic algorithm (step S13), the process returns to step S4 and the above-described processing is continued. On the other hand, if there is a gene that satisfies the condition, the gene with the best overall evaluation is selected, and the teacher signal Z is made to correspond to the output value Xs previously stored in step S6.
It is registered as s (step S14). Next, the number of registered teacher signals is determined (step S15), and if β has not been set in step S1, step S15 is performed.
Returning to step 2, the unprocessed initial setting condition is selected and the same process is repeated. When the processing for all the initial setting conditions is completed and β teacher signals are registered, the learning of the neural network 2 is started.

【0024】ニューラルネットワーク2は、電子回路パ
ッケージ6のn個の出力の出力値を入力して、m個の調
整用トリマ7の回転量を出力するための階層型ネットワ
ークであり、出力値および回転量をそれぞれ8ビットの
ディジタル情報で表す場合には、少なくとも入力層には
8n個の2値入力端子を、出力層には8m個の2値出力
端子を備えている。ニューラルネットワーク2の入力端
子に出力値Xsを、出力端子に教師信号Zsを与えて順
次学習動作を行わせ(ステップS16)、登録されたす
べての教師信号に対する学習が終われば(ステップS1
7)、学習過程のすべての動作が終了する。
The neural network 2 is a hierarchical network for inputting the output values of the n outputs of the electronic circuit package 6 and outputting the rotation amount of the m adjustment trimmers 7, and the output values and the rotations. When each quantity is represented by 8-bit digital information, at least 8n binary input terminals are provided in the input layer and 8m binary output terminals are provided in the output layer. The output value Xs is applied to the input terminal of the neural network 2 and the teacher signal Zs is applied to the output terminal to sequentially perform the learning operation (step S16). When learning for all registered teacher signals is completed (step S1).
7), all the operations of the learning process are completed.

【0025】図4は、学習時における他の動作例を示す
フローチャートである。図4において、ステップS21
からステップS33までの各ステップの動作は、図3に
示したステップS1からステップS13までの各ステッ
プの動作と同じである。図4の場合は、ステップS33
における遺伝子操作を繰り返し、ステップS32の適応
度判定の結果、条件を満足する遺伝子があれば総合評価
の最もよい遺伝子を選択し、それを教師信号Zsとして
ステップS34において直ちにニューラルネットワーク
2の学習を実行する。学習後、ステップS21で設定し
た学習条件(教師信号の数および初期設定条件)のすべ
ての学習が終了したかを判定し(ステップS35)、終
了していなければステップS22に戻り同様な処理を繰
り返し、設定した個数の学習をすべて実行すると学習過
程が終了する。
FIG. 4 is a flowchart showing another operation example during learning. In FIG. 4, step S21
The operation of each step from step S33 to step S33 is the same as the operation of each step from step S1 to step S13 shown in FIG. In the case of FIG. 4, step S33.
Repeating the gene operation in step S32, if there is a gene that satisfies the condition as a result of the fitness determination in step S32, the gene with the best overall evaluation is selected, and it is used as the teacher signal Zs to immediately learn the neural network 2 in step S34. To do. After learning, it is determined whether or not all learning of the learning conditions (the number of teacher signals and the initial setting condition) set in step S21 is completed (step S35), and if not completed, the process returns to step S22 and the same processing is repeated. , The learning process is completed when the set number of learnings are all performed.

【0026】図5は、図2の実施例の調整時の動作を示
すフローチャートである。まず、調整対象となる電子回
路パッケージ6に測定部3から入力信号を供給し(ステ
ップS41)、n個の出力の出力値Xを測定する(ステ
ップS42)。制御部5はこれをディジタル情報として
受け取り、学習済みのニューラルネットワーク2に入力
して対応する回転量Yを決定する(ステップS43)。
そして、決定した回転量Yに基づいて機構部4を制御
し、電子回路パッケージ6のm個の調整用トリマ7の回
転を行う(ステップS44)。回転後、再び電子回路パ
ッケージ6の出力値を測定し(ステップS45)、この
回転後の出力値(Xaとする)を目標とする基準出力値
Xoと比較し、n個の出力の差がすべて調整の目標条件
を満足しているか否かの判定を行い(ステップS4
6)、条件を満足していなければステップS43に戻
り、回転後の出力値Xaをニューラルネットワーク2に
入力して同様な処理を継続し、条件を満足すれば調整を
終了する。
FIG. 5 is a flow chart showing the operation at the time of adjustment in the embodiment of FIG. First, an input signal is supplied from the measuring unit 3 to the electronic circuit package 6 to be adjusted (step S41), and the output value X of n outputs is measured (step S42). The control unit 5 receives this as digital information and inputs it to the learned neural network 2 to determine the corresponding rotation amount Y (step S43).
Then, the mechanical section 4 is controlled based on the determined rotation amount Y, and the m adjustment trimmers 7 of the electronic circuit package 6 are rotated (step S44). After the rotation, the output value of the electronic circuit package 6 is measured again (step S45), and the output value after this rotation (denoted as Xa) is compared with the target reference output value Xo. It is determined whether or not the adjustment target condition is satisfied (step S4
6) If the condition is not satisfied, the process returns to step S43, the output value Xa after rotation is input to the neural network 2 and the same process is continued, and if the condition is satisfied, the adjustment ends.

【0027】上述の実施例では、制御部には遺伝的アル
ゴリズムの手法で教師信号を作成しニューラルネットワ
ークの学習を行う学習機能と、学習済みのニューラルネ
ットワークで実際の調整を行う調整機能の双方を備える
ものとした。しかしながら、これまでの説明で明らかな
ように、ニューラルネットワークの学習と調整の実行と
は独立に実行され得るものであるから、自動調整装置と
しては遺伝的アルゴリズムによる教師信号の作成機能を
含まなくてもよい。又、ニューラルネットワークは、コ
ンピュータによるソフトウェアシミュレーションで実現
されるものとしたが、ハードウェアとの併用またはハー
ドウェアのみにより実現することもできる。
In the above-described embodiment, the control unit has both a learning function of creating a teacher signal by the method of the genetic algorithm to learn the neural network and an adjusting function of actually adjusting the learned neural network. I was prepared. However, as is clear from the above description, the learning of the neural network and the execution of the adjustment can be executed independently, so the automatic adjustment device does not include the function of creating the teacher signal by the genetic algorithm. Good. Further, although the neural network is realized by software simulation by a computer, it may be realized together with hardware or by hardware alone.

【0028】[0028]

【発明の効果】以上説明したように、本発明の電子回路
パッケージ調整方法および自動調整装置は、あらかじめ
調整対象となる電子回路パッケージからの出力値に対応
する調整用トリマの回転量を遺伝的アルゴリズムの手法
により求めてニューラルネットワークに学習させ、調整
実行時には学習済みのニューラルネットワークを用いて
必要な調整用トリマの回転量を決定し調整を行うため、
熟練した作業者でなくても容易に調整でき、調整工数の
削減および時間短縮ができる効果がある。
As described above, the electronic circuit package adjusting method and the automatic adjusting apparatus of the present invention use the genetic algorithm to determine the rotation amount of the adjusting trimmer corresponding to the output value from the electronic circuit package to be adjusted in advance. In order to perform adjustment by determining the required rotation amount of the trimmer for adjustment by using the learned neural network at the time of adjustment,
Even an unskilled operator can easily make adjustments, which has the effect of reducing adjustment man-hours and time.

【0029】又、ニューラルネットワークの学習に必要
な教師信号を遺伝的アルゴリズムの手法により求めるた
め、機械的な操作手順のみを知っていれば対象となる電
子回路パッケージの構成や特性を知らなくてもニューラ
ルネットワークの学習が可能であり、特に利用者を限定
することなく広く一般的な電子回路パッケージの調整に
適用できるという効果がある。
Further, since the teacher signal necessary for learning the neural network is obtained by the method of the genetic algorithm, if only the mechanical operation procedure is known, the configuration and characteristics of the target electronic circuit package need not be known. The learning of the neural network is possible, and there is an effect that it can be applied to the adjustment of a wide variety of general electronic circuit packages without particularly limiting the users.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の基本的な技術思想を説明するためのブ
ロック図である。
FIG. 1 is a block diagram for explaining a basic technical idea of the present invention.

【図2】本発明の一実施例の構成を示すブロック図であ
る。
FIG. 2 is a block diagram showing a configuration of an exemplary embodiment of the present invention.

【図3】図2の実施例における学習時の動作の一例を示
すフローチャートである。
FIG. 3 is a flowchart showing an example of an operation at the time of learning in the embodiment of FIG.

【図4】図2の実施例における学習時の動作の他の例を
示すフローチャートである。
FIG. 4 is a flowchart showing another example of the operation at the time of learning in the embodiment of FIG.

【図5】図2の実施例における調整時の動作の一例を示
すフローチャートである。
5 is a flowchart showing an example of an operation at the time of adjustment in the embodiment of FIG.

【図6】従来の一般的な電子回路パッケージの調整方法
の説明図である。
FIG. 6 is an explanatory diagram of a conventional general electronic circuit package adjusting method.

【符号の説明】[Explanation of symbols]

1 GA操作部 2 ニューラルネットワーク 3 測定部 4 機構部 5 制御部 6 電子回路パッケージ 7 調整用トリマ 8 ロボット 9 調整用ヘッド 10 作業者 11 測定器 12 ビット X,Xs 出力値 Xo 基準出力値 Y,Ys 回転量 Zs 教師信号 1 GA operation part 2 Neural network 3 Measuring part 4 Mechanism part 5 Control part 6 Electronic circuit package 7 Adjustment trimmer 8 Robot 9 Adjustment head 10 Worker 11 Measuring instrument 12 Bit X, Xs Output value Xo Reference output value Y, Ys Rotation amount Zs Teacher signal

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 規定の入力信号を与えたときの出力値を
基準出力値に対して所定の許容範囲内とするための電子
回路パッケージの調整用トリマの回転量を、前記調整用
トリマの複数の初期設定状態に対して遺伝的アルゴリズ
ムの手法により求め、これらを教師信号として中間層を
有する階層型のニューラルネットワークに学習させた
後、調整しようとする個々の電子回路パッケージに前記
規定の入力信号を与えたときの出力値に基づいて前記ニ
ューラルネットワークから前記調整用トリマの回転量を
求め、求められた回転量に従って前記調整用トリマを回
転して出力値が前記基準出力値に対して所定の許容範囲
内となるように調整することを特徴とする電子回路パッ
ケージ調整方法。
1. A rotation amount of an adjusting trimmer of an electronic circuit package for keeping an output value when a specified input signal is given within a predetermined allowable range with respect to a reference output value. Are obtained by a genetic algorithm method with respect to the initial setting state of, and learned by a hierarchical neural network having an intermediate layer as a teacher signal, and then the specified input signal is applied to each electronic circuit package to be adjusted. The rotation amount of the adjustment trimmer is obtained from the neural network based on the output value when the value is given, and the adjustment trimmer is rotated according to the obtained rotation amount so that the output value is a predetermined value with respect to the reference output value. A method of adjusting an electronic circuit package, which is characterized in that adjustment is performed within an allowable range.
【請求項2】 調整対象となる電子回路パッケージに規
定の入力信号を与えて出力値を測定する測定部と、制御
情報に従って前記電子回路パッケージの調整用トリマの
回転を行う機構部と、中間層を有する階層型のニューラ
ルネットワークを含み前記測定部から前記電子回路パッ
ケージの出力値を入力して学習済みの前記ニューラルネ
ットワークにより前記調整用トリマの回転量を求めて前
記機構部に前記制御情報を出力する調整手段を有する制
御部とを備えたことを特徴とする電子回路パッケージ自
動調整装置。
2. A measuring unit for applying a specified input signal to an electronic circuit package to be adjusted to measure an output value, a mechanism unit for rotating an adjusting trimmer of the electronic circuit package according to control information, and an intermediate layer. The output value of the electronic circuit package is input from the measuring unit including the hierarchical neural network having the above, and the rotation amount of the adjustment trimmer is obtained by the learned neural network, and the control information is output to the mechanism unit. An electronic circuit package automatic adjusting device, comprising:
【請求項3】 前記制御部が、前記調整用トリマの複数
の初期設定状態に対して規定の入力信号を与えたときの
出力値を基準出力値に対して所定の許容範囲内とするた
めの電子回路パッケージの調整用トリマの回転量を遺伝
的アルゴリズムの手法に基づいて求め、これらを教師信
号として前記ニューラルネットワークの学習を行う学習
手段を含むことを特徴とする請求項2記載の電子回路パ
ッケージ自動調整装置。
3. The control unit sets an output value when a specified input signal is applied to a plurality of initial setting states of the adjustment trimmer within a predetermined allowable range with respect to a reference output value. 3. The electronic circuit package according to claim 2, further comprising: learning means for obtaining a rotation amount of the trimmer for adjustment of the electronic circuit package based on a method of a genetic algorithm, and using these as a teacher signal to learn the neural network. Automatic adjustment device.
JP6144449A 1994-06-27 1994-06-27 Method for adjusting electronic circuit package and automatic adjusting device Pending JPH0816207A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6144449A JPH0816207A (en) 1994-06-27 1994-06-27 Method for adjusting electronic circuit package and automatic adjusting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6144449A JPH0816207A (en) 1994-06-27 1994-06-27 Method for adjusting electronic circuit package and automatic adjusting device

Publications (1)

Publication Number Publication Date
JPH0816207A true JPH0816207A (en) 1996-01-19

Family

ID=15362499

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6144449A Pending JPH0816207A (en) 1994-06-27 1994-06-27 Method for adjusting electronic circuit package and automatic adjusting device

Country Status (1)

Country Link
JP (1) JPH0816207A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6781682B1 (en) 2000-01-17 2004-08-24 Agency Of Industrial Science And Technology, Ministry Of International Trade & Industry Optical apparatus, optical apparatus adjustment method, and storage medium recorded with a processing program that executes said adjustment method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04155503A (en) * 1990-10-19 1992-05-28 Matsushita Electric Ind Co Ltd Neuro controller

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04155503A (en) * 1990-10-19 1992-05-28 Matsushita Electric Ind Co Ltd Neuro controller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6781682B1 (en) 2000-01-17 2004-08-24 Agency Of Industrial Science And Technology, Ministry Of International Trade & Industry Optical apparatus, optical apparatus adjustment method, and storage medium recorded with a processing program that executes said adjustment method
US6879388B2 (en) 2000-01-17 2005-04-12 Agency Of Industrial Science & Technology, Ministry Of International Trade & Industry Optical apparatus, optical apparatus adjustment method, and storage medium recorded with a processing program that executes said adjustment method

Similar Documents

Publication Publication Date Title
Böhm et al. Quantitative analysis of protein far UV circular dichroism spectra by neural networks
Pham et al. Training Elman and Jordan networks for system identification using genetic algorithms
Anh et al. Hybrid control of a pneumatic artificial muscle (PAM) robot arm using an inverse NARX fuzzy model
JP3743247B2 (en) Prediction device using neural network
Bos et al. Comparison of the training of neural networks for quantitative X-ray fluorescence spectrometry by a genetic algorithm and backward error propagation
US4914603A (en) Training neural networks
WO2002003152A2 (en) Computer method and apparatus for constraining a non-linear approximator of an empirical process
JPH06348359A (en) Device and method for generating approximate function
Khan et al. Neufuz: Neural network based fuzzy logic design algorithms
JPH04266153A (en) Neural network
CN113138555A (en) GRNN electric spindle thermal error modeling method based on genetic algorithm optimization
Shamsollahi et al. On-line identification of synchronous generator using neural networks
CN100470427C (en) Industrial soft measuring instrument based on bionic intelligence and soft measuring method therefor
US6922712B2 (en) Apparatus, methods, and computer program products for accurately determining the coefficients of a function
JP3214876B2 (en) Neural network configuration method and neural network construction support system
Srivastava et al. Exploring neuro-genetic processing of electronic nose data
JPH0816207A (en) Method for adjusting electronic circuit package and automatic adjusting device
Pham et al. Self-tuning fuzzy controller design using genetic optimisation and neural network modelling
JP7010541B2 (en) Pattern recognition device, learning method and learning program
US20020198853A1 (en) Controlling the self learning behavior of an autonomous agent
Greene Simulated Evolution and Adaptive Search in Engineering Design—Experiences at the University of Cape Town
Pham et al. Design of an adaptive fuzzy logic controller
JP3260538B2 (en) Control device
CN112015083B (en) Parameter self-tuning method of SISO (SISO) compact-format model-free controller based on ensemble learning
Margaris et al. Development of neural models for the logistic equation and study of the neural based trajectories in the convergence, periodic, and chaotic regions

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19970415