JPH0664478B2 - Pattern recognizer - Google Patents

Pattern recognizer

Info

Publication number
JPH0664478B2
JPH0664478B2 JP4145689A JP14568992A JPH0664478B2 JP H0664478 B2 JPH0664478 B2 JP H0664478B2 JP 4145689 A JP4145689 A JP 4145689A JP 14568992 A JP14568992 A JP 14568992A JP H0664478 B2 JPH0664478 B2 JP H0664478B2
Authority
JP
Japan
Prior art keywords
candidate
data
output
input
calculation
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.)
Expired - Lifetime
Application number
JP4145689A
Other languages
Japanese (ja)
Other versions
JPH05181498A (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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP4145689A priority Critical patent/JPH0664478B2/en
Publication of JPH05181498A publication Critical patent/JPH05181498A/en
Publication of JPH0664478B2 publication Critical patent/JPH0664478B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To shorten the process time without requiring large memory capacity by detecting a target pattern from candidates obtained by setting a precedent- stage as candidate selection and a succeeding stage as high precision by DP arithmetic. CONSTITUTION:A CPU 6 controls the DP arithmetic and the output of the result of a personal computer 11 through an input/output control system 10 in addition to control over an A/D converter 4 and the storage of data. When data is inputted from the A/D converter 4, precedent-stage DP arithmetic is performed first. Namely, the distance to standard data previously stored in a RAM 9 is found. A next candidate selecting process is performed after speech data of a specific time, e.g. of one word and all inputted and arithmetic corresponding to the data is all completed. The precedent-stage arithmetic is naturally not certain, so a selecting process for performing the DP arithmetic again is carried out for standard pattern data of a distance result entering a specific range.

Description

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

【0001】[0001]

【発明の技術分野】本発明は認識装置に係り、特に動的
計画法(Dynamic Programming 以下DP法と呼ぶ)にお
いて2段階マッチングを行う認識装置の前段マッチング
結果から候補を選定するパターン認識装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a recognizing device, and more particularly to a pattern recognizing device for selecting a candidate from a pre-matching result of a recognizing device which performs two-stage matching in dynamic programming (DP method).

【0002】[0002]

【従来の技術】一般的に文字認識装置や音声認識装置等
は、入力された文字や音声の特徴パラメータを抽出し、
予め記憶されているパターンとパターンマッチングを行
い、最も類似度の高いものを選択して認識している。
2. Description of the Related Art Generally, a character recognition device, a voice recognition device, or the like extracts characteristic parameters of an input character or voice,
Pattern matching is performed with a pattern stored in advance, and the pattern with the highest similarity is selected and recognized.

【0003】前述の音声の特徴パラメータは音声の周波
数スペクトラムが多く用いられており、多数のバンドパ
スフィルターによる方法や高速フーリエ変換によってス
ペクトラムが求められている。そして、これらの方法に
よって求められた音声の周波数スペクトラムを前述した
様に予め登録されているパターンとの比較すなわち標準
パターンとの類似性を求め、入力データに一番近い標準
パターンが入力データであるとしてその結果を出力す
る。
The voice frequency spectrum is often used as the above-mentioned voice characteristic parameter, and the spectrum is obtained by a method using a large number of bandpass filters or a fast Fourier transform. Then, the frequency spectrum of the voice obtained by these methods is compared with the pattern registered in advance as described above, that is, the similarity with the standard pattern is obtained, and the standard pattern closest to the input data is the input data. And output the result.

【0004】前述の入力データを登録しているパターン
と比較するとき、これらの間には必ずしも時間軸が1対
1で対応するとは限らず、前後の言葉の関係あるいは長
音の長さ等によって変化する。この様に時間軸等が1対
1に対応しないパターン間の類似性を求める方法すなわ
ちパターンマッチング法としてDP法がある(一般的
に、二つのパターン間の類似性は距離として表され
る)。
When the above-mentioned input data is compared with the registered pattern, the time axes do not always correspond to each other on a one-to-one basis, but change depending on the relationship between the preceding and following words or the length of a long sound. To do. As described above, there is a DP method as a method for obtaining the similarity between patterns whose time axes and the like do not correspond one-to-one, that is, a pattern matching method (generally, the similarity between two patterns is represented as a distance).

【0005】このDP法は、音声認識に限らず、文字認
識装置等においても同様に応用される。このDP法はそ
れぞれの特徴点間の最小距離を全てにわたって求める為
に、特徴点の数が増加するほどその演算時間は増大する
欠点を有している。DP法による前述の欠点を補う為、
一般的には次の方法が用いられている。先ずパターン自
体を線形伸縮し、線形マッチングによる予備選択を行
い、それによって選択された標準パターンについてDP
法によって最小距離の標準パターンを求める方法であ
る。
The DP method is applied not only to voice recognition but also to character recognition devices and the like. This DP method has a drawback that the calculation time increases as the number of feature points increases, because the minimum distance between the respective feature points is obtained over the entire distance. In order to compensate the above-mentioned drawbacks of the DP method,
Generally, the following method is used. First, the pattern itself is linearly expanded / contracted, pre-selection is performed by linear matching, and the DP selected for the standard pattern is selected.
This is a method for obtaining the standard pattern with the minimum distance by the method.

【0006】[0006]

【従来技術の問題点】線形マッチング法はDP法と比べ
その処理速度が速いので、前述の方法もその処理速度は
全ての標準パターンについてDP法を行った場合と比べ
速い。しかしながらこの方法はパターンを線形圧縮して
いる為、DP法本来の時間軸の非線形圧縮の性質が薄れ
てしまう欠点を有している。さらに、予備選択に用いら
れている線形マッチングは継続時間の長い単語に対して
はDP法に比べて誤認識が多く予備選択において目的の
標準パターンを選択できない場合があるという問題を有
している。
Since the processing speed of the linear matching method is higher than that of the DP method, the processing speed of the above method is also faster than that of the case where the DP method is performed for all standard patterns. However, since this method linearly compresses the pattern, it has a drawback that the characteristic of the nonlinear nonlinear compression on the time axis, which is the characteristic of the DP method, is diminished. Further, the linear matching used for the preliminary selection has a problem that a target standard pattern may not be selected in the preliminary selection because there are many misrecognitions for a word having a long duration as compared with the DP method. .

【0007】[0007]

【発明の目的】本発明は前記問題点に鑑みなされたもの
であり、その目的は2段階DPマッチングにおける前段
のDPマッチング結果から候補を選定し、後段DPマッ
チングを行う際の候補選定を効果的に行うパターン認識
装置を提供することにある。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and an object of the present invention is to effectively select a candidate from the DP matching result of the preceding stage in the two-stage DP matching and to select the candidate when performing the latter DP matching. Another object of the present invention is to provide a pattern recognition device.

【0008】[0008]

【発明の要点】本発明の特徴とするところは入力パター
ンデータと予め格納されている標準パターンデータとの
パターンマッチングを行い認識結果を決定するパターン
認識装置において、前記入力パターンデータに対して第
1次DPマッチング処理により複数の候補標準パターン
データを選択し、更にその中より類似度が高いと判断さ
れたものから第1の候補、第2の候補とする候補選定手
段と、前記第1の候補と前記入力パターンデータとの距
離が第1の特定値以上であると判断された時は認識不能
と判断し、認識不能を報知する手段と、前記手段により
認識不能と判断されなかった場合において、前記第1の
候補と前記第2の候補との距離が第2の特定値以上であ
ると判断された時は前記第1の候補を認識結果として決
定する手段と、前記手段により認識結果が決定されなか
った場合において、前記候補選定手段により選択された
複数の候補標準パターンデータの中から、第2次DPマ
ッチング処理により認識結果を決定する手段と、を有
し、前記第1次DPマッチング処理は前記第2次マッチ
ング処理よりも粗い精度で行うことを特徴とするパター
ン認識装置にある。
A feature of the present invention resides in a pattern recognition apparatus for determining a recognition result by performing pattern matching between input pattern data and standard pattern data stored in advance. A plurality of candidate standard pattern data is selected by the next DP matching process, and a candidate selecting unit for selecting a first candidate or a second candidate from the ones that are judged to have a higher similarity than the standard pattern data, and the first candidate. When it is determined that the distance between the input pattern data and the input pattern data is equal to or greater than a first specific value, it is determined that the recognition is impossible, and means for notifying the recognition failure; A means for determining the first candidate as a recognition result when it is determined that the distance between the first candidate and the second candidate is equal to or greater than a second specific value; Means for determining a recognition result by a secondary DP matching process from among the plurality of candidate standard pattern data selected by the candidate selecting means, when the recognition result is not determined by the means. The pattern recognition apparatus is characterized in that the first-order DP matching process is performed with a coarser accuracy than the second-order matching process.

【0009】[0009]

【発明の実施例】以下、図面を用いて本発明を詳細に説
明する。図1はプロセッサを用いた本発明の第1の実施
例の構成図である。マイクロホン1はAGC回路2を介
してBPF回路3に接続されている。そしてBPF回路
3の出力はA/Dコンバータ4に加わる。プロセッサ
(CPU)6に接続しているバスライン7には前述のA
/Dコンバータ4の他にリードオンリメモリ(ROM)
8、ランダムアクセスメモリ(RAM)9、入出力コン
トロールシステム(IOCS)10が接続されている。
そして入出力コントロールシステム(IOCS)10は
他の装置例えばパーソナルコンピュータ11に接続され
ている。マイクロホン1に入った音声は音声信号すなわ
ち電気信号に変換される。この電気信号は人の話す声の
大きさあるいは話す人の口とマイクの距離によってその
レベルが異なるので、ほぼ一定のレベルとする為、AG
C回路2に入力する。AGC回路はその出力がほぼ一定
となる様に利得が変化する回路である。AGC回路2の
出力すなわち一定のレベルとなった音声信号はBPF回
路3に加わる。BPF回路3は例えば音声帯域を8分割
する様に複数のバンドパスフィルタを有し、このBPF
回路3によって特定の帯域に8分割される。帯域別に8
分割された音声信号はA/Dコンバータ4に加わり、各
帯域の音声信号の例えばパワーをデジタル量に変換す
る。A/Dコンバータ4はBPF回路3の出力の1帯域
すなわち1チャンネルに対し8bitのデータに変換す
るので合計64bitのデータが例えば8bit単位で
バスライン7に出力される。前述のA/Dコンバータ4
はバスライン7を介してプロセッサ(CPU)6によっ
て制御されており、前述の64bitのデータはチャン
ネル単位で分割されてランダムアクセスメモリ(RA
M)9に記憶される。
The present invention will be described in detail below with reference to the drawings. FIG. 1 is a block diagram of a first embodiment of the present invention using a processor. The microphone 1 is connected to the BPF circuit 3 via the AGC circuit 2. The output of the BPF circuit 3 is added to the A / D converter 4. The bus line 7 connected to the processor (CPU) 6 has the above A
Read-only memory (ROM) in addition to the / D converter 4
8, a random access memory (RAM) 9 and an input / output control system (IOCS) 10 are connected.
The input / output control system (IOCS) 10 is connected to another device such as a personal computer 11. The voice that has entered the microphone 1 is converted into a voice signal, that is, an electric signal. Since the level of this electric signal varies depending on the loudness of a person's voice or the distance between the person's mouth and the microphone, the level is almost constant.
Input to C circuit 2. The AGC circuit is a circuit whose gain changes so that its output becomes almost constant. The output of the AGC circuit 2, that is, the audio signal having a constant level is applied to the BPF circuit 3. The BPF circuit 3 has a plurality of band pass filters so that the voice band is divided into eight, for example.
The circuit 3 divides it into eight specific bands. 8 for each band
The divided audio signal is added to the A / D converter 4 to convert, for example, the power of the audio signal in each band into a digital amount. The A / D converter 4 converts one band of the output of the BPF circuit 3, that is, one channel into 8-bit data, so that a total of 64-bit data is output to the bus line 7 in 8-bit units, for example. The A / D converter 4 described above
Is controlled by a processor (CPU) 6 via a bus line 7, and the above-mentioned 64-bit data is divided in units of channels to generate a random access memory (RA).
M) 9 is stored.

【0010】プロセッサ(CPU)6は前述のA/Dコ
ンバータ4の制御とデータの格納の他にDP法における
計算処理すなわちDP演算とパーソナルコンピュータ1
1に結果を入出力コントロールシステム(IOCS)1
0を介して出力する制御を行う。これらの演算と制御は
リードオンリメモリ(ROM)8に予め格納されている
プログラムをプロセッサ(CPU)6が実行することに
よってなされる。そしてランダムアクセスメモリ(RA
M)9はその時のワークエリアとしても使用される。
The processor (CPU) 6 controls the A / D converter 4 and stores the data as well as the calculation process in the DP method, that is, the DP calculation and the personal computer 1.
Input and output control system (IOCS) 1
The output is controlled via 0. These calculations and controls are performed by the processor (CPU) 6 executing a program stored in advance in the read-only memory (ROM) 8. And random access memory (RA
M) 9 is also used as a work area at that time.

【0011】図2は前述のDP演算処理を説明するため
のフローチャート図である。A/Dコンバータ4よりデ
ータが入力するとDP演算処理がスタート12し、先
ず、前段DP演算13を行う。この前段DP演算13は
予めランダムアクセスメモリ(RAM)9に格納されて
いる標準データとの距離を求めるものである。しかしな
がらこの演算はすべての入力データに対して行うのでは
なく、特定のデータ間隔例えば、入力するデータのうち
3回に1回行う。尚1回の測定データは前述した様に全
部で64bitより成る。特定の時間例えば1単語の音
声データが全て入力し、それに対応した演算が全て終了
すると、次の候補選定処理14を実行する。先に実行し
た前段DP演算13は3回のうち1回の入力データに対
してDP演算を行ったものであり、その演算は当然なが
ら確実さを欠いている。その為に特定の範囲に入った距
離結果の標準パターンデータに対して再度DP演算を行
う為の選定処理を行う。この選定処理が候補選定処理1
4である。しかしながら前段DP演算13によって1個
の標準パターンデータのみの距離が予め定めた距離内に
入っている場合には再度DP演算を行わず、その標準パ
ターンが入力データであると決定15し、図1に示した
入出力コントロールシステム(IOCS)10を介して
パーソナルコンピュータ11に出力する。また、予め定
めた距離内に入ったものがない場合には入力したデータ
は認識できないとして無効16とする。さらに、前述の
特定の距離内に複数の標準パターンを用いた演算結果が
入りさらに第1の候補との距離の差が特定の範囲に入っ
た場合には最小距離のパターンから例えば五番目までを
候補として選定する。尚、第1の候補との距離の差が特
定範囲に五個以下しか入らなかった場合にはその数のも
のだけを候補として選定する。候補を決定すると、候補
選定処理14を終了し、次の後段DP演算17を実行す
る。前段DP演算13においては入力したデータ並びに
時間に対応して並んでいる標準パターンデータを3回に
1回用いて演算しているが、後段DP演算17は選択さ
れた標準パターンデータのそれぞれの全てのデータに対
しての最小距離を求める。そしてそれぞれの選定された
標準パターンデータに対応して最小距離の中で最も小さ
い値の標準パターンを入力したデータと一致していると
して決定15し出力する。
FIG. 2 is a flow chart for explaining the above-mentioned DP calculation processing. When data is input from the A / D converter 4, the DP calculation process starts 12, and first, the preceding stage DP calculation 13 is performed. The pre-stage DP operation 13 is to obtain the distance from the standard data stored in the random access memory (RAM) 9 in advance. However, this calculation is not performed for all input data, but is performed at a specific data interval, for example, once in three times of input data. In addition, one measurement data consists of 64 bits in total as described above. When all the voice data of one word is input for a specific time and all the calculations corresponding to the input are completed, the next candidate selection process 14 is executed. The preceding-stage DP operation 13 executed previously is one in which the DP operation is performed on the input data once in three times, and the operation naturally lacks certainty. Therefore, the selection process for performing the DP operation again is performed on the standard pattern data of the distance result that falls within the specific range. This selection process is the candidate selection process 1
It is 4. However, when the distance of only one standard pattern data is within the predetermined distance by the preceding DP calculation 13, the DP calculation is not performed again and it is determined that the standard pattern is the input data 15. It is output to the personal computer 11 via the input / output control system (IOCS) 10 shown in FIG. If there is nothing within the predetermined distance, the input data cannot be recognized and is invalidated 16. Furthermore, when the calculation result using a plurality of standard patterns is entered within the above-mentioned specific distance and the difference in distance from the first candidate falls within a specific range, the pattern from the minimum distance to, for example, the fifth pattern is selected. Select as a candidate. If the difference in distance from the first candidate is less than or equal to five within the specific range, only those numbers are selected as candidates. When the candidate is determined, the candidate selection processing 14 is ended and the subsequent second-stage DP calculation 17 is executed. In the front-stage DP operation 13, the input data and the standard pattern data lined up corresponding to the time are used once in every three operations, but the second-stage DP operation 17 performs all of the selected standard pattern data. Find the minimum distance to the data. Then, the standard pattern having the smallest value in the minimum distance corresponding to each selected standard pattern data is determined 15 as being in agreement with the input data, and is output.

【0012】図3は前述候補選定処理14を更に詳細に
示すフローチャート図である。スタート14−1の後、
先ず、標準パターンに対する最小距離D(1)を検出
し、第1の特定の値Drejと比較14−2する。すな
わちD(1)をDrejで減算し、キャリーが有るか否
かを判別するのである。キャリーなしでD(1)≧Dr
ej(Y)の場合には無効16とする。これは前段DP
演算において、距離が離れすぎた為に後段DP演算を行
っても目的の標準パターンが存在しない可能性が大であ
ることを意味するものであり、第1の特定値Drej
は、そのスレッシホールド値である。キャリー有りでD
(1)<Drej(N)の場合には、第2番目の最小距
離D(2)との差分値が第2の特定値Ddec以上であ
るか否かを判別14−3する。前段DP演算における処
理は後段DP演算における処理より誤差は大であるが、
第1の候補すなわちD(1)の距離の標準パターンと第
2の候補、すなわちD(2)の距離の標準パターンとの
差が前述の第2の特定値Ddec以上あれば、後段の演
算処理を行っても、その候補順位に変化はみられない。
これによって、第2の特定値以上の差が生じている場合
には第1の候補を一致したとして決定15する。すなわ
ち(D(2)−D(1))≧Ddecを満足(Y)する
として決定15する。
FIG. 3 is a flowchart showing the candidate selection processing 14 in more detail. After Start 14-1,
First, the minimum distance D (1) with respect to the standard pattern is detected and compared 14-2 with the first specific value Drej. That is, D (1) is subtracted by Drej to determine whether or not there is a carry. D (1) ≧ Dr without carry
In the case of ej (Y), it is invalid 16. This is the front DP
In the calculation, it means that there is a high possibility that the target standard pattern does not exist even if the latter-stage DP calculation is performed because the distance is too large, and the first specific value Drej
Is the threshold value. D with carry
When (1) <Drej (N), it is determined 14-3 whether the difference value from the second minimum distance D (2) is equal to or larger than the second specific value Ddec. Although the error in the processing in the preceding DP calculation is larger than that in the processing in the subsequent DP calculation,
If the difference between the first candidate, that is, the standard pattern of the distance of D (1) and the second candidate, that is, the standard pattern of the distance of D (2) is equal to or more than the second specific value Ddec described above, the subsequent arithmetic processing Even if you do, there is no change in the candidate ranking.
As a result, if there is a difference equal to or greater than the second specific value, the first candidate is determined to be coincident and determined 15. That is, it is determined 15 that (D (2) −D (1)) ≧ Ddec is satisfied (Y).

【0013】前述の差が少ない場合には前段処理におけ
る誤差範囲であるので、第1〜第5の候補を選択14−
4する。すなわち、第1の候補の最小距離D(1)との
差が第3の特定値DDPより小となる候補D(n)を求め
る。そして、第1の候補から5番目までの候補を選択す
る。すなわち第1の候補との差が第3の特定値DDP以下
である標準パターンのうち最小値から5番目以内を選択
する。前述の選択処理14−4が終了すると候補選定処
理14は終了14−5する。
If the above-mentioned difference is small, it is within the error range in the previous processing, so the first to fifth candidates are selected 14-
4. That is, a candidate D (n) whose difference from the minimum distance D (1) of the first candidate is smaller than the third specific value D DP is obtained. Then, the first to fifth candidates are selected. That is, the standard pattern whose difference from the first candidate is less than or equal to the third specific value D DP is selected within the fifth from the minimum value. When the selection process 14-4 described above ends, the candidate selection process 14 ends 14-5.

【0014】図2において、標準パターンの時間に対応
した全てのデータについて行うのは後段DP演算17で
あり、その時の標準パターンは最大五個であるので、こ
の演算時間は全ての標準パターンに対して行う演算と比
べはるかに速い。例えば標準パターンが64個あった場
合には最大で5/64に短縮される。また前段DP演算
は3回に1回の割合で行うので1個の標準パターンの全
てのデータに対して行うのに比べその演算処理ははるか
に少ない。
In FIG. 2, the post-stage DP operation 17 performs all the data corresponding to the time of the standard pattern. Since the maximum number of standard patterns at that time is 5, the operation time is all the standard patterns. It is much faster than the calculation. For example, when there are 64 standard patterns, the maximum is shortened to 5/64. Further, since the preceding-stage DP calculation is performed once every three times, the calculation processing is far less than that for all the data of one standard pattern.

【0015】さらに、候補選択しておいて、候補の数が
5個以下になる場合、またさらには決定してしまう場合
があり、その処理時間は全てDP演算を行った処理と比
べはるかに速い。
Further, after selecting a candidate, the number of candidates may be 5 or less, or may be further determined, and the processing time is much faster than the processing in which the DP calculation is performed. .

【0016】図4は本発明の第2の実施例の回路構成図
である。図1に示した本発明の実施例はプロセッサにお
いて演算とその制御を行っているが、図4の実施例は全
て回路によって制御され、さらに演算も回路によってな
される。A/Dコンバータ18には図1に示したBPF
回路3の出力が加わり、その出力はパラメータ正規化圧
縮部19を介してレベル検出部21、入力パターンメモ
リ20に入力する。レベル検出部21の検出出力はタイ
ミング制御部22に加わる。そしてタイミング制御部2
2の制御出力はA/Dコンバータ18、パラメータ正規
化圧縮部19、フレームカウンタ23、制御部24に入
力する。入力パターンメモリ20、標準パターンメモリ
25、ワークエリアメモリ26、最小距離メモリ27に
は制御部24より出力されるアドレス出力が加わる。
FIG. 4 is a circuit configuration diagram of the second embodiment of the present invention. In the embodiment of the present invention shown in FIG. 1, the arithmetic operation and its control are performed in the processor, but in the embodiment of FIG. 4, all are controlled by the circuit, and the arithmetic operation is also performed by the circuit. The A / D converter 18 includes the BPF shown in FIG.
The output of the circuit 3 is added, and the output is input to the level detection unit 21 and the input pattern memory 20 via the parameter normalization compression unit 19. The detection output of the level detector 21 is added to the timing controller 22. And the timing control unit 2
The control output of No. 2 is input to the A / D converter 18, the parameter normalization compression unit 19, the frame counter 23, and the control unit 24. An address output output from the control unit 24 is added to the input pattern memory 20, standard pattern memory 25, work area memory 26, and minimum distance memory 27.

【0017】距離演算部28には入力パターンメモリ2
0、標準パターンメモリ25の出力が加わり、その出力
は部分和演算部29を介してワークエリアメモリ26に
入力する。ワークエリアメモリ26の出力は部分和演算
部29と最小距離算出部30に加わる。最小距離算出部
30にはこの他に標準パターンフレーム長メモリ31の
出力、フレームカウンタ23の出力がゲート回路32を
介して、ならびにゲート回路33とフレーム数補正部3
4を介して加わる。最小距離算出部30の出力端子は最
小距離メモリ27の入力端子に接続されており、最小距
離メモリ27の出力端子は候補選択部35の入力端子に
接続される。候補選択部35の出力は候補番号メモリ3
6と制御部24に加わる。そしてさらに決定結果37と
して出力される。候補番号メモリ36は制御部24に接
続される。制御部24の制御出力は距離演算部28、部
分和演算部29、最小距離算出部30、標準パターンフ
レーム長メモリ31、候補選択部35に加わる。さら
に、制御部24からはゲート回路32の制御端子に、ま
たインバータ38を介してゲート回路33の制御端子に
制御信号が入力する。尚、図中Aは接続されていること
を示すシンボルである。
The distance calculation unit 28 includes the input pattern memory 2
0, the output of the standard pattern memory 25 is added, and the output is input to the work area memory 26 via the partial sum calculation unit 29. The output of the work area memory 26 is applied to the partial sum calculator 29 and the minimum distance calculator 30. In addition to this, the output of the standard pattern frame length memory 31, the output of the frame counter 23, and the gate circuit 33 and the frame number correction unit 3 are also output to the minimum distance calculation unit 30.
Join via 4. The output terminal of the minimum distance calculation unit 30 is connected to the input terminal of the minimum distance memory 27, and the output terminal of the minimum distance memory 27 is connected to the input terminal of the candidate selection unit 35. The output of the candidate selection unit 35 is the candidate number memory 3
6 and the controller 24. Then, the determination result 37 is further output. The candidate number memory 36 is connected to the control unit 24. The control output of the controller 24 is added to the distance calculator 28, the partial sum calculator 29, the minimum distance calculator 30, the standard pattern frame length memory 31, and the candidate selector 35. Further, a control signal is input from the control unit 24 to the control terminal of the gate circuit 32 and to the control terminal of the gate circuit 33 via the inverter 38. In the figure, A is a symbol indicating that it is connected.

【0018】A/Dコンバータ18に加わるそれぞれの
帯域分割された信号はデジタル量に変換されパラメータ
正規化圧縮部19に入力する。パラメータ正規化圧縮部
19においては最大値+1の値で入力データを正規化
し、処理に必要なビット数に変換すなわち有効ビット数
以下を切りすてる。また最大値が特定の値以下の時に
は、特定値で入力データを正規化し、前述と同様に処理
に必要なビット数に変換する。これによって特定のビッ
ト数に変換されたデータは入力パターンメモリ20に格
納される。レベル検出部21は前述のパラメータ正規化
圧縮部19によって処理されたデータが特定の値すなわ
ちスレッシホールドレベルTH以上であるか否かを検出
する。このレベル検出部21によって得られた結果によ
ってタイミング信号を切換える動作をタイミング制御部
22は行う。これはA/Dコンバータ18、パラメータ
正規化圧縮部19が動作する場合に音声区間TSのスタ
ートを早く検出する為に行うものである。これによって
入力したパラメータ、すなわちデータDaがスレッシホ
ールドレベルTH以下の時には高速のクロックTPSにお
いて、スレッシホールドレベルTH以上の時、すなわち
音声区間に入ると特定の遅いクロックでA/Dコンバー
タ18並びにパラメータ正規化圧縮部19が動作する。
前述の動作によって得られたデータは音声区間TSにお
いて入力パターンメモリ20に格納される。前述した図
1のプロセッサを用いた処理装置の処理と同様に前段D
P演算と後段DP演算とを行うが、その処理は図4の本
発明の実施例の回路においては同じ回路でなされる。そ
してその前段DP演算であるか後段DP演算であるかは
制御部24の制御によって決まる。すなわち前段DP演
算と後段DP演算は、入力パターンメモリ20、標準パ
ターンメモリ25、ワークエリアメモリ26のアクセス
が異なるのみで、DP演算に関係する距離演算部28、
部分和演算部29、最小距離算出部30は全く同じ動作
となる。図1の説明において述べたように、その異なる
点は全てのデータに対してDP演算を行うのではなく、
3個に1個の演算となることであり、これは制御部24
より発生する各メモリのアドレス値が異なるだけであ
る。
The respective band-divided signals applied to the A / D converter 18 are converted into digital amounts and input to the parameter normalization compression unit 19. In the parameter normalization compression unit 19, the input data is normalized by the value of the maximum value + 1 and converted into the number of bits required for processing, that is, the effective bit number or less is cut. When the maximum value is equal to or smaller than the specific value, the input data is normalized with the specific value and converted into the number of bits necessary for the processing as described above. The data converted into the specific number of bits by this is stored in the input pattern memory 20. The level detection unit 21 detects whether the data processed by the parameter normalization compression unit 19 has a specific value, that is, a threshold level TH or higher. The timing control unit 22 performs an operation of switching the timing signal according to the result obtained by the level detection unit 21. This is performed in order to detect the start of the voice section TS early when the A / D converter 18 and the parameter normalization compression unit 19 operate. As a result, when the input parameter, that is, the data Da is below the threshold level TH, at the high-speed clock T PS , when it is above the threshold level TH, that is, at a specific slow clock when entering the voice section, the A / D converter 18 In addition, the parameter normalization compression unit 19 operates.
The data obtained by the above operation is stored in the input pattern memory 20 in the voice section TS. Similar to the processing of the processing device using the processor of FIG.
Although the P operation and the post-stage DP operation are performed, the processing is performed by the same circuit in the circuit of the embodiment of the present invention shown in FIG. The control by the control unit 24 determines whether the preceding-stage DP calculation or the subsequent-stage DP calculation is performed. That is, the front DP calculation and the rear DP calculation are different only in access to the input pattern memory 20, the standard pattern memory 25, and the work area memory 26, and the distance calculation unit 28 related to the DP calculation,
The partial sum calculation unit 29 and the minimum distance calculation unit 30 perform exactly the same operation. As described in the description of FIG. 1, the difference is that the DP operation is not performed on all data,
This means that one out of three operations is performed, which means that the control unit 24
Only the generated address value of each memory is different.

【0019】距離演算部28、部分和演算部29、最小
距離算出部30は前述した様にDP演算に関係する回路
部である。先ずDP演算について式を用いて説明する。
入力パターン|A|、標準パターン|B|をそれぞれ |A|=|A|1 ,|A|2 ,・・・|A|j ・・・(1) |B|=|B|1 ,|B|2 ,・・・|B|i ・・・(2) とする。|A|1 〜|A|j ,|B|1 〜|B|i はあ
る時間における特徴ベクトルである。このある時間にお
ける特徴ベクトルは例えば本発明の実施例においては8
次元(音声帯域を8分割)の特徴ベクトルであり、 |A|j =(aj1,aj2,・・・aj8) ・・・(3) |B|j =(bi1,bi2,・・・bi8) ・・・(4) で表される。
The distance calculation unit 28, the partial sum calculation unit 29, and the minimum distance calculation unit 30 are circuit units related to the DP calculation as described above. First, the DP calculation will be described using equations.
Input pattern | A | and standard pattern | B | are respectively | A | = | A | 1 , | A | 2 , || A | j ... (1) | B | = | B | 1 , | Let B | 2 , ... | B | i ... (2). | A | 1 to | A | j , | B | 1 to | B | i are feature vectors at a certain time. The feature vector at this certain time is, for example, 8 in the embodiment of the present invention.
Dimensional (speech band is divided into 8) feature vectors, and | A | j = (a j1 , a j2 , ... a j8 ) ... (3) | B | j = (b i1 , b i2 , ... b i8 ) ... (4)

【0020】DP演算における部分和g(i,j)は一
般的に
The partial sum g (i, j) in the DP operation is generally

【0021】[0021]

【数1】 [Equation 1]

【0022】で表される。ここでd(i,j)は各特徴
ベクトル間の距離であり、
It is represented by Where d (i, j) is the distance between each feature vector,

【0023】[0023]

【数2】 [Equation 2]

【0024】で定義される。またdwは片側の窓幅であ
り窓幅をWとするならばW=2dW+1となる。前述の
(5)式はDP演算における部分和を表す式であり、パ
ターン間距離はg(I,J)で得られる。一方、音声認
識等の場合には入力パターンデータ並びに標準パターン
データはそれぞれ入力時間が異なる。すなわち、(1)
(2)式におけるI,Jが一定ではないので、サンプル
数で正規化しなくてはならない。本発明の実施例におい
てはこのサンプル数が入力パターンデータ、標準パター
ンデータでそれぞれ異なるので、最終パターン間距離G
(I,J)は
Is defined by Further, dw is the window width on one side, and if the window width is W, then W = 2dW + 1. The above equation (5) is an equation representing the partial sum in the DP operation, and the inter-pattern distance is obtained by g (I, J). On the other hand, in the case of voice recognition or the like, the input pattern data and the standard pattern data have different input times. That is, (1)
Since I and J in the equation (2) are not constant, they must be normalized by the number of samples. In the embodiment of the present invention, since the number of samples is different between the input pattern data and the standard pattern data, the final pattern distance G
(I, J) is

【0025】[0025]

【数3】 [Equation 3]

【0026】となる。一方、本発明の図4の実施例にお
いては変数変換して演算を行っている。すなわち、 i=m+j−dw−1 ・・・(7) ただし1≦m≦w l=j ・・・(8) l′=j−1 ・・・(9) としてm,l,l′に関係する式を用いて演算を行う。
(7)〜(9)式を(5),(6)式に代入し、変換す
ると、 e(dw+1,1)=2d(1,1) ・・・(10)
[0026] On the other hand, in the embodiment of FIG. 4 of the present invention, variable conversion is performed for the calculation. That is, i = m + j-dw-1 (7) where 1 ≦ m ≦ w l = j (8) l ′ = j−1 (9) and m, l, l ′ Calculations are performed using related formulas.
By substituting the equations (7) to (9) into the equations (5) and (6) and converting them, e (dw + 1,1) = 2d (1,1) (10)

【0027】[0027]

【数4】 [Equation 4]

【0028】となる。そして変換後の最終パターン間距
離E(M,L)は
[0028] And the final inter-pattern distance E (M, L) after conversion is

【0029】[0029]

【数5】 [Equation 5]

【0030】但し M=I−J+dw+1 ・・・(13) L=J ・・・(14) で表される。However, M = I−J + dw + 1 (13) L = J (14)

【0031】(10)′式において、m≠dw+1,1
≦m≦wではe(m,1)は無限大としている。これは
後述するが、メモリ内において(11)式の最小値を格
納する為に(10)式の演算と同時あるいはその演算の
前に最大値をメモリに格納する。
In equation (10) ', m ≠ dw + 1,1
When ≦ m ≦ w, e (m, 1) is infinite. As will be described later, in order to store the minimum value of the expression (11) in the memory, the maximum value is stored in the memory at the same time as or before the operation of the expression (10).

【0032】図4についてさらに説明を続ける。距離演
算部28は前述の特徴ベクトル間の距離d(i,j)を
求める回路である。すなわち、入力パターンメモリ20
と標準パターンメモリ25より入力する各データより
(5)′式の演算を行う。そしてその演算結果を部分和
演算部29に出力する。部分和演算部29は距離演算部
28より得られる演算結果とワークエリアメモリ26よ
り得られるデータより(10)(11)式の演算を行
う。
Further explanation of FIG. 4 will be continued. The distance calculation unit 28 is a circuit that calculates the distance d (i, j) between the above-described feature vectors. That is, the input pattern memory 20
Then, the equation (5) ′ is calculated from each data input from the standard pattern memory 25. Then, the calculation result is output to the partial sum calculation unit 29. The partial sum calculation unit 29 calculates the formulas (10) and (11) from the calculation result obtained from the distance calculation unit 28 and the data obtained from the work area memory 26.

【0033】前段DP演算は入力データすなわち前述各
特徴ベクトルのうち3個に1個の割合で演算を行ってい
る。すなわち、入力データの|A|1 ,|A|4 ・・・
|A|3P+1に関してのみ演算する。標準パターンデータ
も同様に3個に1個の割合で標準パターンメモリ25か
ら|B|1 ,|B|4 ・・・|B|3P+1が読出されて
演算に用いられている。
In the preceding DP calculation, the calculation is performed at a ratio of one in three of the input data, that is, the above-mentioned feature vectors. That is, | A | 1 , | A | 4 ...
Operate only on | A | 3P + 1 . Similarly, as for the standard pattern data, | B | 1 , | B | 4 ... | B | 3P+1 are read from the standard pattern memory 25 at a ratio of 1 in 3 and used for the calculation.

【0034】尚、後段DP演算においては全てのデータ
が用いられる。最小距離算出部30は後述する音声区間
終了後に動作する回路である。この最小距離算出部30
はワークエリア26内の距離データから各標準パターン
データの最小値を求める。すなわち、前述(12)式の
E(M,L)を求める回路である。
All the data are used in the latter DP calculation. The minimum distance calculation unit 30 is a circuit that operates after the end of a voice section described below. This minimum distance calculation unit 30
Calculates the minimum value of each standard pattern data from the distance data in the work area 26. That is, it is a circuit for obtaining E (M, L) in the above equation (12).

【0035】先ず前述(13),(14)式を満たす
M,Lに該当するe(M,L)をワークエリアメモリ2
6より求める。さらに標準パターンフレーム長メモリ3
1より出力されるIとフレームカウンタ23より出力さ
れるデータJを加算し、その結果でe(M,L)を割
る。そしてその結果を最小距離メモリ27に格納する。
ただし、前段処理の場合、入力パターン、標準パターン
のフレーム長はほぼ3分の1になっているが、I,Jは
整数であり、3で割切れるとは限らないので、これは
I,Jが3の倍数の時(I/3)+1,(J/3)+1
とし、I,Jが3の倍数プラス1の時{(I−1)/
3}+1,{(J−1)/3}+1とし、I,Jが3の
倍数プラス2の時{(I−2)/3}+1,{(J−
2)/3}+1として標準パターン長メモリ31、フレ
ーム数補正部34から出力される。
First, the work area memory 2 stores e (M, L) corresponding to M and L which satisfy the above-mentioned equations (13) and (14).
Calculated from 6. Standard pattern frame length memory 3
I output from 1 and data J output from the frame counter 23 are added, and e (M, L) is divided by the result. Then, the result is stored in the minimum distance memory 27.
However, in the case of the pre-stage processing, the frame lengths of the input pattern and the standard pattern are almost one-third, but I and J are integers and are not always divisible by 3, so I and J are the same. Is a multiple of 3 (I / 3) +1, (J / 3) +1
When I and J are multiples of 3 plus 1, {(I-1) /
3} +1, {(J-1) / 3} +1, and when I and J are multiples of 3 plus 2, {(I-2) / 3} +1, {(J-
2) / 3} +1 is output from the standard pattern length memory 31 and the frame number correction unit 34.

【0036】このように、I/3,J/3は前段処理の
場合であり、後段処理の場合には標準パターンフレーム
長メモリ31からはIが、フレームカウンタ23からゲ
ートを介してJがそれぞれ入力される。
In this way, I / 3 and J / 3 are the case of the pre-stage processing, and in the case of the post-stage processing, I is from the standard pattern frame length memory 31 and J is from the frame counter 23 via the gate. Is entered.

【0037】[0037]

【数6】 [Equation 6]

【0038】が演算される。候補選択部35は最小距離
メモリ27に格納された各標準パターンデータに対する
最小距離の中から、さらに最小値を有するものを求め、
候補番号メモリ36に標準パターンデータに対応したパ
ターンナンバー(1〜n)を格納する。候補選択部35
は前述したプロセッサを用いた2段DP演算と同様に、
条件によって候補番号メモリ36に格納する動作が異な
る。前段DP演算13によって1個の標準パターンデー
タのみの距離が予め定めた距離内に入っている場合には
決定として端子37に決定結果例えばパターンナンバー
を出力する。またこの結果は制御部24を介して入出力
制御システム(IOCS)10に出力される。この時に
は制御部24は後段DP演算処理の制御は行わず次の入
力パターンデータが入力するのを待つ。また予め定めた
距離内に入ったものがない場合には入力したデータは認
識できないとして制御部24に出力する。この場合にも
制御部24は認識不可能であることを入出力制御システ
ム(IOCS)10に出力する。さらに前述の特定距離
内に複数の標準パターンを用いた演算結果が入りさらに
第1の候補との距離の差が特定の範囲に入った場合には
最小距離のパターンから例えば五番目までを候補として
選定する。尚、特定範囲内に五個以下しか入らなかった
場合、さらには第1の候補との距離の差が特定範囲に入
らなかった場合にはその数のものだけを候補として選定
する。すなわち、この場合には候補番号メモリ36には
2〜5個の番号が格納される。尚、候補番号メモリ36
への番号の格納は前段処理を行った場合にのみ格納され
るものであり、後段演算においてはこの候補選択部は最
小値を検出後そのナンバー(1〜n)を制御部24に出
力する。
Is calculated. The candidate selecting unit 35 obtains a minimum distance from the minimum distances for the respective standard pattern data stored in the minimum distance memory 27,
The pattern number (1 to n) corresponding to the standard pattern data is stored in the candidate number memory 36. Candidate selection unit 35
Is the same as the two-stage DP operation using the processor described above,
The operation of storing in the candidate number memory 36 differs depending on the condition. When the distance of only one standard pattern data is within the predetermined distance by the preceding DP calculation 13, the determination result, for example, the pattern number is output to the terminal 37 as the determination. Further, this result is output to the input / output control system (IOCS) 10 via the control unit 24. At this time, the control unit 24 does not control the subsequent DP calculation processing and waits for the next input pattern data to be input. If there is nothing within the predetermined distance, the input data is output as the unrecognizable data to the control unit 24. In this case as well, the control unit 24 outputs to the input / output control system (IOCS) 10 that the recognition is impossible. Further, when the calculation result using a plurality of standard patterns is entered within the above-mentioned specific distance and the difference in the distance from the first candidate falls within the specific range, the pattern from the minimum distance to, for example, the fifth pattern is set as the candidate. Select. If there are only five or less in the specific range, or if the difference in distance from the first candidate does not fall within the specific range, only that number is selected as a candidate. That is, in this case, 2 to 5 numbers are stored in the candidate number memory 36. The candidate number memory 36
The number is stored only when the pre-stage processing is performed, and in the post-stage calculation, this candidate selection unit outputs the number (1 to n) to the control unit 24 after detecting the minimum value.

【0039】前述の距離演算部28、部分和演算部2
9、最小距離算出部30、候補選択部35はそれぞれ前
段DP演算、後段DP演算の場合に共通に使用されるも
のである。
The above-described distance calculation unit 28 and partial sum calculation unit 2
9. The minimum distance calculation unit 30 and the candidate selection unit 35 are commonly used in the case of the front stage DP calculation and the rear stage DP calculation, respectively.

【0040】レベル検出部21は前述した様にパラメー
タ正規化圧縮部19のレベルすなわちパラメータDaが
特定値(スレッシホールドレベルTH)以上であるか否
かを判別する回路であり、スレッシホールドレベルTH
以上の検出でクロックTPSがTS に変化してDP演算処
理を開始させるが、逆に演算処理中に検出した場合には
候補の退避を行わせる信号となる。タイミング制御部2
2はこれらのタイミングを制御する回路である。
As described above, the level detection unit 21 is a circuit which determines whether or not the level of the parameter normalization compression unit 19, that is, the parameter Da is equal to or higher than a specific value (threshold level TH). TH
With the above detection, the clock T PS is changed to T S to start the DP calculation processing. On the contrary, when it is detected during the calculation processing, it becomes a signal for saving the candidates. Timing control unit 2
Reference numeral 2 is a circuit for controlling these timings.

【0041】図5はタイミング制御部22の回路構成図
である。レベル検出部21からの検出信号はフリップフ
ロップ40のセット端子S、カウンタ51のリセット端
子Rとインバータ41を介してアンドゲート42,43
のゲートに加わる。フリップフロップ40の出力Qはア
ンドゲート44,45のゲートとインバータ46を介し
てアンドゲート47のゲートに接続される。タイミング
発生部48のクロック出力TS ,TPSはアンドゲート4
5,47を介してオアゲート49に入力する。オアゲー
ト49の出力はA/Dコンバータ4及びパラメータ正規
化圧縮部19に接続される。アンドゲート45の出力T
S ′は3進のカウンタ50の入力とアンドゲート42,
44のゲートに加わる。アンドゲート44の出力はフレ
ームカウンタ23に接続される。アンドゲート42の出
力はカウンタ51に加わり、そのカウンタ51のNO.
7出力はフリップフロップ40のリセット端子Rに加わ
るとともに終端出力として制御部24に出力される。タ
イミング発生部のクロック出力、アンドゲート43の出
力、フリップフロップ40の出力Qは制御部24に加わ
る。カウンタ50のNO.2出力はタイミング発生部4
8とアンドゲート43に接続される。
FIG. 5 is a circuit diagram of the timing controller 22. The detection signal from the level detection unit 21 is passed through the set terminal S of the flip-flop 40, the reset terminal R of the counter 51 and the inverter 41, and AND gates 42 and 43.
Join the gate. The output Q of the flip-flop 40 is connected to the gates of the AND gates 44 and 45 and the gate of the AND gate 47 via the inverter 46. The clock outputs T S and T PS of the timing generator 48 are AND gates 4.
Input to the OR gate 49 via 5, 47. The output of the OR gate 49 is connected to the A / D converter 4 and the parameter normalization compression unit 19. Output T of AND gate 45
Input AND gate 42 of the S 'are ternary counter 50,
Join the gate of 44. The output of the AND gate 44 is connected to the frame counter 23. The output of the AND gate 42 is added to the counter 51, and the NO.
The 7-output is applied to the reset terminal R of the flip-flop 40 and is output to the control unit 24 as a terminal output. The clock output of the timing generator, the output of the AND gate 43, and the output Q of the flip-flop 40 are added to the controller 24. The NO. 2 outputs are timing generator 4
8 and an AND gate 43.

【0042】図6はタイミング制御部22のタイミング
チャート図である。以下図6を用いてタイミング制御部
22の動作を説明する。フリップフロップ40がリセッ
ト状態の時にはその出力Qはローレベル(Lレベル)で
あるのでアンドゲート44,45はオフとなる。しかし
ながら、その信号はインバータ46に加わっているの
で、インバータ46の出力はハイレベル(Hレベル)と
なる。インバータ46の出力はアンドゲート47に加わ
っているので、アンドゲート47がオンとなり、タイミ
ング発生部48より発生するクロックTPSがアンドゲー
ト47、オアゲート49を介して出力される。図6にお
けるクロックTPS′はアンドゲート47の出力を示す信
号である。パラメータDaがスレッシホールドレベルT
Hより大となると、レベル検出部21の出力はHレベル
となりフリップフロップ40をセットするとともにカウ
ンタ51をリセットする。これによってフリップフロッ
プ40の出力はHレベルとなり、カウンタ51のカウン
ト値は0となる。フリップフロップ40の出力がHレベ
ルとなるとアンドゲート47はオフとなりアンドゲート
44,45がオンとなる。これによってタイミング発生
部48より発生するクロックTS がアンドゲート45、
オアゲート49を介して出力される。オアゲート49の
出力はA/Dコンバータ18並びにパラメータ正規化圧
縮部19のそれぞれのクロック端子に加わっているの
で、スレッシホールドレベル以下ではそのタイミングは
PSで行われ、以上ではTS となる。例えばTS とTPS
のクロック周波数の関係を1:3としておけば、TS
3倍のクロックで低レベルを読出し、スレッシホールド
レベル以上になるとT S のクロックでサンプリングを行
いDP演算用のデータとして取込まれる。アンドゲート
45の出力すなわちクロックTS ′はカウンタ50にも
加わっているので、カウンタ50の出力すなわち、カウ
ンタ50は3進カウンタであるので1/3分周された信
号がタイミング発生部48を介してインバートされT
FDP の信号として制御部24に加わる。TFDP 信号はそ
のタイミングで図3に示した回路がDP演算を行うクロ
ックとなる。またアンドゲート44もオンとなるので、
クロックTS ′が出力され、フレームカウンタ23に加
わる。また、フリップフロップ40の出力Qは制御部2
4の始端信号端子に加わっているので、制御部24はフ
リップフロップ40がHレベルとなった時に前段DP演
算の制御を開始する。
FIG. 6 shows the timing of the timing control unit 22.
It is a chart figure. The timing control unit will be described below with reference to FIG.
The operation of 22 will be described. Flip-flop 40 is reset
Output Q is low level (L level)
Because of this, the AND gates 44 and 45 are turned off. However
However, the signal is added to the inverter 46.
Then, the output of the inverter 46 is high level (H level)
Become. The output of the inverter 46 is added to the AND gate 47.
Since the AND gate 47 is turned on,
Clock T generated by the ring generator 48PSIs Andge
It is output via a gate 47 and an OR gate 49. In FIG.
Clock TPS'Is a signal indicating the output of the AND gate 47.
No. The parameter Da is the threshold level T
When it becomes higher than H, the output of the level detection unit 21 becomes H level.
Next, set flip-flop 40 and cow
Reset the printer 51. This makes the flip flo
The output of the counter 40 becomes H level and the counter 51
Value becomes 0. The output of the flip-flop 40 is H level.
And gate 47 turns off and gate
44 and 45 are turned on. Timing is generated by this
The clock T generated by the unit 48SAnd gate 45,
It is output via the OR gate 49. OR gate 49
Output is A / D converter 18 and parameter normalized pressure
It is added to each clock terminal of the reduction unit 19.
And, below the threshold level, the timing is
TPSDone in TSBecomes For example, TSAnd TPS
If the relationship of clock frequencies of T is set to 1: 3, TSof
Reads low level with 3 times clock and threshold
When the level is exceeded, T SSampling at the clock
It is taken in as data for the DP calculation. And gate
45 outputs or clock TS'Also on the counter 50
Since it is added, the output of the counter 50, that is, the cow
Since the input terminal 50 is a ternary counter, the signal divided by 1/3
Signal is inverted through the timing generator 48 and T
FDPSignal to the control unit 24. TFDPThe signal is
At the timing of, the circuit shown in FIG.
It will be Also, since the AND gate 44 is turned on,
Clock TS′ Is output and added to the frame counter 23.
Wow The output Q of the flip-flop 40 is the control unit 2
4 is added to the start signal terminal, the control unit 24
The first stage DP performance when the lip flop 40 becomes H level
Start arithmetic control.

【0043】一方、音声信号等は一時的にその信号レベ
ルが低下する場合がある。例えばガッコウ(学校)の様
に「ッ」の音はつまる音であり、音声としてはそのレベ
ルは低下している。しかしながら、これを終点としてし
まうと誤認識をともなうので、特定の時間レベルが低下
したことを検出して認識を行う。この特定の時間を検出
するのがカウンタ51である。フリップフロップ40が
セット状態でレベル検出部21がローレベルとなるとカ
ウンタ51はリセットが解除され、インバータ41を介
してHレベルが加わりアンドゲート42がオンとなる。
これによってアンドゲート45より発生するクロックが
アンドゲート42を介してカウンタ51に加わる。カウ
ンタ51は8進カウンタであり、リセット解除後クロッ
クが7クロック入力することによってNO.7出力がH
レベルとなる。7クロック以前で再度レベル検出部21
がHレベルとなるとカウンタ51はリセットされる。そ
して次にレベル検出部21より入力する信号がLレベル
になるとまた同様の動作をくりかえす。カウンタ51が
7クロックをカウントすると、NO.7出力がHレベル
となるので、フリップフロップ40はリセットされ、初
期状態となる。カウンタ51のNO.7出力は制御部2
4の終端決定の端子に加わっており、制御部24は後段
のDP演算を行う。一方、レベル検出部21の信号はイ
ンバータ41を介してゲート43にも加わっているの
で、レベル検出部21の信号がLレベルとなるとゲート
43にはHレベルが加わりカウンタ50の出力が待避信
号として制御部24に加わる。
On the other hand, the signal level of an audio signal may temporarily drop. For example, the sound of "tsu" like a gackou (school) is a clogged sound, and the level of the sound is lowered. However, if this is set as the end point, there is erroneous recognition, so that it is recognized by detecting that the specific time level has decreased. The counter 51 detects this specific time. When the flip-flop 40 is in the set state and the level detection unit 21 is at the low level, the reset of the counter 51 is released, the H level is added through the inverter 41, and the AND gate 42 is turned on.
As a result, the clock generated from the AND gate 45 is added to the counter 51 via the AND gate 42. The counter 51 is an octal counter, and after the reset is released, 7 clocks are input, so that the NO. 7 output is H
It becomes a level. Level detection unit 21 again before 7 clocks
The counter 51 is reset when becomes H level. Then, when the signal input from the level detector 21 next becomes L level, the same operation is repeated. When the counter 51 counts 7 clocks, NO. Since the 7th output becomes the H level, the flip-flop 40 is reset and becomes the initial state. The NO. 7 outputs are control unit 2
4 has been added to the terminal for determining the termination, and the control unit 24 performs the DP calculation in the subsequent stage. On the other hand, since the signal of the level detecting unit 21 is also applied to the gate 43 via the inverter 41, when the signal of the level detecting unit 21 becomes L level, the H level is applied to the gate 43 and the output of the counter 50 serves as a save signal. Join the control unit 24.

【0044】待避信号すなわちアンドゲート43の出力
信号はレベル検出部21がLの状態ではカウンタ50の
出力に同期して制御部24に出力される。そして制御部
24では候補の待避を行う。待避とはワークエリアメモ
リ26に格納されているDP演算における部分和演算結
果よりデータを読出し、最小距離算出部30で最終的な
演算を標準パターン数(1〜n)行い最小距離メモリ2
7に格納しさらに候補選択部35での候補決定を行い候
補番号メモリ36に格納する動作を示している。この待
避はレベル検出部21の出力がLレベルになってから7
クロック(TS ′)後に行うことも可能である。しか
し、この待避をLレベル検出期間すなわち前述の7クロ
ック期間に行うことによって終端決定がなされると同時
に後段DP演算を実行することが可能となるので、本発
明の実施例ではその全処理における時間はさらに短くな
る。
The save signal, that is, the output signal of the AND gate 43 is output to the control unit 24 in synchronization with the output of the counter 50 when the level detection unit 21 is in the L state. Then, the control unit 24 saves the candidates. Retreat means to read data from the partial sum calculation result in the DP calculation stored in the work area memory 26, and the minimum distance calculation unit 30 performs the final calculation to perform the standard pattern number (1 to n) and the minimum distance memory 2
7, the candidate selection unit 35 determines a candidate, and the candidate number memory 36 stores the candidate. This evacuation is 7 after the output of the level detection unit 21 becomes L level.
It can also be done after the clock (T S ′). However, by performing this saving during the L-level detection period, that is, the 7-clock period described above, it becomes possible to execute the latter-stage DP operation at the same time when the termination is determined. Becomes even shorter.

【0045】図6に示したタイミングチャートにおいて
は音声区域で一時的なレベル低下が検出され、待避を行
っているが、さらに続くレベルがHレベルとなるので、
再度、前段DP演算処理を実行する。そして無音区間T
Snにおいて再度候補の待避を行い7クロック目で終端
を検出し、候補が決定する。前述の音声区間TSと無音
区間TSnが前段DP演算であり、候補決定から単語決
定の間で後段DP演算がなされる。この区間の単語決定
区間TJとなる。クロックTBDP ,TFDP は前段後段D
P演算のクロックであり、制御部24はこのクロックに
同期して各演算部を制御する。図4にもどってさらに説
明する。タイミング制御部22より発生しフレームカウ
ンタ23に入力するクロックは、フレームカウンタ23
においてカウントされる。このカウンタ23によって入
力パターンデータのフレーム数が求められる。フレーム
カウンタ23の出力はゲート回路32,33に加わる。
制御部24の出力信号はゲート32の制御端子とインバ
ータ38を介してゲート33の制御端子に加わっている
のでゲート32,33は常時どちらか一方がオンとなる
構成となっている。前段DP演算の場合にはLレベルが
制御部24より出力されるのでゲート33がオンとなり
フレームカウンタ23の出力はゲート33を介してフレ
ーム数補正部34に加わる。フレーム数補正部34は前
述した様にフレームカウンタの値をほぼ1/3にする回
路であり、入力Jが3U(Uは整数)の時、(J/3)
+1を出力、入力Jが3U+1の時{(J−1)/3}
+1を出力、入力Jが3U+2の時{(J−2)/3}
+1を出力する。この出力が前段DP演算において最小
距離算出部30において使用される。一方、後段DP演
算の時にはゲート32がオン、ゲート33がオフとな
り、フレームカウンタの出力Jがそのまま最小距離算出
部30に加わる。
In the timing chart shown in FIG. 6, a temporary drop in the level is detected in the voice area, and the evacuation is being performed. However, since the subsequent level becomes the H level,
The previous DP calculation process is executed again. And the silent section T
In Sn, the candidate is saved again, the end is detected at the 7th clock, and the candidate is determined. The voice section TS and the silent section TSn are the front-stage DP calculation, and the rear-stage DP calculation is performed between the candidate determination and the word determination. This is the word determination section TJ of this section. The clocks T BDP and T FDP are the front and rear D
This is a clock for P operation, and the control unit 24 controls each operation unit in synchronization with this clock. Returning to FIG. 4, further description will be given. The clock generated by the timing control unit 22 and input to the frame counter 23 is the frame counter 23.
Is counted in. The counter 23 determines the number of frames of input pattern data. The output of the frame counter 23 is applied to the gate circuits 32 and 33.
Since the output signal of the control unit 24 is applied to the control terminal of the gate 32 and the control terminal of the gate 33 via the inverter 38, one of the gates 32 and 33 is always on. In the case of the preceding DP calculation, since the L level is output from the control unit 24, the gate 33 is turned on and the output of the frame counter 23 is added to the frame number correction unit 34 via the gate 33. The frame number correction unit 34 is a circuit that makes the value of the frame counter almost ⅓ as described above, and when the input J is 3U (U is an integer), (J / 3)
When +1 is output and the input J is 3U + 1, {(J-1) / 3}
When +1 is output and input J is 3U + 2, {(J-2) / 3}
Output +1. This output is used in the minimum distance calculation unit 30 in the preceding DP calculation. On the other hand, during the second-stage DP calculation, the gate 32 is turned on and the gate 33 is turned off, and the output J of the frame counter is directly added to the minimum distance calculation unit 30.

【0046】また、標準パターンフレーム長メモリ31
は前述した様に制御部24において前段DP演算である
か後段DP演算であるかが制御されており、最小距離算
出部30にはそれに対応した各標準パターンのフレーム
数Iに関係した値すなわち、前段DP演算の時にはIが
3U′(U′は整数)の時(I/3)+1、Iが3U′
+1の時{(I−1)/3}+1、Iが3U′+2の時
(I−2)/3+1を出力し、後段DP演算の時にはI
をそのまま出力する。尚、Iは標準パターンメモリ25
に格納された標準パターンデータ(1〜n)に対応して
変化するものである。
Further, the standard pattern frame length memory 31
As described above, the control unit 24 controls whether it is the front-stage DP calculation or the rear-stage DP calculation, and the minimum distance calculation unit 30 has a value related to the frame number I of each standard pattern corresponding thereto, that is, When I is 3U '(U' is an integer) in the previous DP calculation, (I / 3) +1, I is 3U '
When (+1), {(I-1) / 3} +1 is output, when I is 3U '+ 2, (I-2) / 3 + 1 is output.
Is output as is. Incidentally, I is the standard pattern memory 25.
It changes corresponding to the standard pattern data (1 to n) stored in.

【0047】図7は図4における候補選択部35を詳細
に示す回路構成図である。最小距離メモリ27の出力は
最小値選択部35−1に入力する。最小値選択部35−
1の第1の出力は候補メモリ35−2の入力に接続され
第2の出力は後段DP演算時の決定信号として出力35
−3される。候補メモリ35−2のアドレス入力には制
御27からの信号をカウントするアドレスカウンタ35
−4の出力が加わる。そして候補メモリ35−2の出力
はラッチ35−5と比較回路35−6の第1の入力、選
択回路35−7の第1の入力に加わる。ラッチ35−5
の出力は比較回路35−8の入力、比較回路35−6の
第2の入力、選択回路35−7の第2の入力に接続され
る。比較回路35−6の比較出力は選択回路35−7に
入力するとともに制御部24に加わる。さらに決定出力
は候補選定処理14での決定として制御部24に入力す
るとともに決定として出力35−3′される。選択回路
35−7の出力は候補番号メモリ36に入力する。比較
回路35−8、35−6、選択回路35−7には第1〜
第3特定値Drej、Ddec、DDPのデータがそれぞ
れ加わる。
FIG. 7 is a circuit diagram showing in detail the candidate selecting section 35 in FIG. The output of the minimum distance memory 27 is input to the minimum value selection unit 35-1. Minimum value selection unit 35-
The first output of No. 1 is connected to the input of the candidate memory 35-2, and the second output is output as the decision signal at the time of the post-DP calculation 35.
-3. An address counter 35 that counts a signal from the control 27 is input to the address of the candidate memory 35-2.
-4 output is added. The output of the candidate memory 35-2 is added to the first input of the latch 35-5 and the comparison circuit 35-6, and the first input of the selection circuit 35-7. Latch 35-5
Is connected to the input of the comparison circuit 35-8, the second input of the comparison circuit 35-6, and the second input of the selection circuit 35-7. The comparison output of the comparison circuit 35-6 is input to the selection circuit 35-7 and added to the control unit 24. Further, the decision output is input to the control unit 24 as a decision in the candidate selection processing 14 and is output as a decision 35-3 '. The output of the selection circuit 35-7 is input to the candidate number memory 36. The comparison circuits 35-8, 35-6 and the selection circuit 35-7 have the first to
The data of the third specific values Drej, Ddec, and D DP are added, respectively.

【0048】アドレスカウンタ35−4に加わる信号
B、最小値選択部35−1、選択回路35−7に制御信
号B′並びに前述の第1〜第3の特定値Drej、Dd
ec、DDPのデータは制御部24より加わるデータであ
る。最小値選択部35−1は最小距離メモリ27より順
次入力する最小距離データと候補メモリ35−2に格納
されているデータとの大小関係を比較する。候補メモリ
35−2は最小距離データの値の少ないものから5番目
までを記憶するメモリである。そして、この記憶されて
いるデータと入力されているデータとを最小値選択部3
5−1は小さい順に比較し、最小距離メモリ27より入
力するデータが対応する順位のデータであった場合には
対応する順位の位置にデータとその候補番号を格納し、
それ以降の順位のデータを順次シフトする。すなわち、
例えば、標準パターンの最小距離データの値が小さいも
のよりB2 、B7 、B1 、B8 、B4 と存し、最小距離
メモリ27より入力した標準パターンの最小距離データ
9 の値が小さいものより第3位であった場合にはB1
の位置にB9 を格納し、B1 、B8 をその後にシフトす
る。すなわち結果としてはB2 、B7 、B9 、B1 、B
8 となる。この様にして全ての標準パターンデータに対
する最小距離データに対して大小の比較処理を行うこと
によって、最小距離データの小さいものから5番に(D
(1)〜D(5))までの値とその番号が候補メモリ3
5−2に格納される。すなわち、無条件で第1〜第5の
候補が選択されて格納される。これらの動作の制御は制
御部24から入力する制御信号B、B′によってなされ
る。
The signal B applied to the address counter 35-4, the minimum value selection section 35-1, the control signal B'in the selection circuit 35-7 and the above-mentioned first to third specific values Drej and Dd.
The data of ec and D DP are data added by the control unit 24. The minimum value selection unit 35-1 compares the minimum distance data sequentially input from the minimum distance memory 27 with the magnitude relationship between the data stored in the candidate memory 35-2. The candidate memory 35-2 is a memory for storing the smallest value of the minimum distance data to the fifth value. Then, the stored value and the input data are set to the minimum value selection unit 3
5-1 compares in ascending order, and if the data input from the minimum distance memory 27 is the data of the corresponding rank, the data and its candidate number are stored in the position of the corresponding rank,
The data of the subsequent ranks are sequentially shifted. That is,
For example, B 2 , B 7 , B 1 , B 8 , and B 4 are smaller than the minimum distance data of the standard pattern, and the minimum distance data B 9 of the standard pattern input from the minimum distance memory 27 is B 1 if ranked third rather than smaller
Store B 9 in the position of, and shift B 1 and B 8 thereafter. That is, as a result, B 2 , B 7 , B 9 , B 1 , B
8 In this way, by performing the size comparison processing on the minimum distance data for all the standard pattern data, the smallest distance data is numbered 5 (D).
The values (1) to D (5)) and their numbers are the candidate memory 3
It is stored in 5-2. That is, the first to fifth candidates are unconditionally selected and stored. Control of these operations is performed by control signals B and B'input from the control unit 24.

【0049】次に最小値の最小距離データすなわち第1
の候補D(1)が候補メモリ35−2より出力されラッ
チ回路35−5に格納される。そして、比較回路35−
8にも加わり第1の候補が前述の第1の特定値Drej
と比較される(図3ステップ14−2)。第1の候補D
(1)が第1の特定値Drej以上であると無効信号が
制御部24に出力されて無効と判断される。また第1の
特定値より第1の候補の値が小さい場合には有効信号が
制御部24に出力されることにより図3のステップ14
−3が示すように、アドレスカウンタ35−4が制御部
24の制御信号Bによってカウントが進み第2の候補の
最小距離データD(2)が格納されている候補メモリ3
5−2をアクセスし、候補メモリ35−2より第2の候
補の最小距離データD(2)が比較回路35−6の第1
の入力に加わる。比較回路35−6は図3のステップ1
4−3に示すように第1の入力に加わるデータと第2の
入力に加わるデータとの差を求め、その差が第2の特定
値Ddecより小さいか否かを判別する回路であり、前
述の比較回路35−8の出力によって動作する。すなわ
ち比較回路35−6の第2の入力には前述のラッチ35
−5に格納された第1の候補データD(1)が加わって
いるので、その差分を求め、第2の特定値Ddecと比
較する。その結果、差分値が第2の特定値Ddec以上
の場合には第1の候補を目的とする標準パターンとして
決定信号と決定番号を制御部24に出力する(図3ステ
ップ14−3)。尚、この時には選択回路35−7は動
作しない。また、前述と逆に第2の特定値Ddecより
差分値が小さい場合には、第1の候補の他にまた他の候
補が存在する可能性を有するので、それらの選択を行う
動作信号を選択回路35−7に出力する。選択回路35
−7は図3ステップ14−4に示すような選択を行う回
路であり、第1の入力と第2の入力との差分値が第3の
特定値DDPより大きいか否かを判別し第2〜第5の候補
を選択する回路である。最小値選択部35−1において
第1の候補から第5の候補までは選択されているが、こ
の最小値選択部35−1における選択には第1の候補デ
ータからの差は求められていない。この差を求め、その
差が第3の特定値DDPより小さいか否かを判別するのが
選択回路である。すなわち、第1の入力に加わる信号D
(n)と第2の入力に加わる信号D(1)と差分を求
め、その差分値が第3の特定値DDPより小さい場合には
その候補番号を候補番号メモリ36に出力する。比較回
路35−6より選択回路35−7の動作開始信号が入力
すると選択回路は前述の動作を開始する。
Next, the minimum distance data of the minimum value, that is, the first
Candidate D (1) is output from the candidate memory 35-2 and stored in the latch circuit 35-5. Then, the comparison circuit 35-
8 and the first candidate is the first specific value Drej described above.
(Step 14-2 in FIG. 3). First candidate D
When (1) is equal to or larger than the first specific value Drej, an invalidation signal is output to the control unit 24 and is determined to be invalid. Further, when the value of the first candidate is smaller than the first specific value, a valid signal is output to the control unit 24, so that step 14 in FIG.
As indicated by -3, the address counter 35-4 is incremented by the control signal B of the control unit 24 and the candidate memory 3 in which the minimum distance data D (2) of the second candidate is stored.
5-2 is accessed, and the minimum distance data D (2) of the second candidate from the candidate memory 35-2 is stored in the first comparison circuit 35-6.
Join the input of. The comparison circuit 35-6 is step 1 in FIG.
As shown in 4-3, this is a circuit for determining the difference between the data applied to the first input and the data applied to the second input, and determining whether or not the difference is smaller than the second specific value Ddec. It operates by the output of the comparison circuit 35-8. That is, the latch 35 described above is connected to the second input of the comparison circuit 35-6.
Since the first candidate data D (1) stored in -5 is added, the difference is obtained and compared with the second specific value Ddec. As a result, when the difference value is greater than or equal to the second specific value Ddec, the determination signal and the determination number are output to the control unit 24 as a standard pattern intended for the first candidate (step 14-3 in FIG. 3). At this time, the selection circuit 35-7 does not operate. On the contrary to the above, when the difference value is smaller than the second specific value Ddec, there is a possibility that another candidate exists in addition to the first candidate, and therefore the operation signal for selecting them is selected. Output to the circuit 35-7. Selection circuit 35
-7 is a circuit for performing selection as shown in step 14-4 of FIG. 3, which determines whether or not the difference value between the first input and the second input is larger than the third specific value D DP . It is a circuit that selects the second to fifth candidates. The first to fifth candidates are selected in the minimum value selection unit 35-1, but the difference from the first candidate data is not obtained in the selection in the minimum value selection unit 35-1. . The selection circuit determines this difference and determines whether or not the difference is smaller than the third specific value D DP . That is, the signal D applied to the first input
The difference between (n) and the signal D (1) applied to the second input is obtained, and if the difference value is smaller than the third specific value D DP , the candidate number is output to the candidate number memory 36. When the operation start signal of the selection circuit 35-7 is input from the comparison circuit 35-6, the selection circuit starts the above operation.

【0050】この回路が動作を開始するのは、第1の入
力に第3の候補データが入力した時から始まるものであ
り、第1、第2の候補の候補番号はこの動作開始前に無
条件に選択回路35−7を介して候補番号メモリに順次
出力される。すなわち、比較回路35−6でD(2)−
D(1)<Ddecと判断された際に(図3ステップ1
4−3)、第1及び第2の候補番号をそれぞれ候補番号
メモリに出力し格納する。選択回路は第3の候補データ
から順次前述の判別動作をくりかえし、その差が第3の
特定値DDPより大きくなった時に候補番号メモリ36に
その候補番号を出力しなくなる。候補番号メモリ36に
は最大5個の候補番号が記憶されるが、選択回路の判別
動作によってその数は2〜5と変化する。
The operation of this circuit starts when the third candidate data is input to the first input, and the candidate numbers of the first and second candidates do not exist before the operation starts. The conditions are sequentially output to the candidate number memory via the selection circuit 35-7. That is, D (2)-in the comparison circuit 35-6.
When it is determined that D (1) <Ddec (step 1 in FIG. 3).
4-3), and outputs the first and second candidate numbers to the candidate number memory respectively. The selection circuit repeats the above-described discrimination operation sequentially from the third candidate data, and when the difference becomes larger than the third specific value D DP , the candidate number is not output to the candidate number memory 36. Up to five candidate numbers are stored in the candidate number memory 36, but the number changes from 2 to 5 depending on the discriminating operation of the selection circuit.

【0051】前述した本発明の実施例では音声認識装置
を用いるが、これに限るものではない。例えば文字認識
装置等、パターンを認識するものであれば応用可能であ
る。
Although the voice recognition device is used in the above-described embodiment of the present invention, the invention is not limited to this. For example, a character recognition device or the like can be applied as long as it recognizes a pattern.

【0052】[0052]

【発明の効果】以上述べた様に本発明は前後2段による
DP演算を行うものであり、前段は候補選択を行うため
の処理であり、後段は高精度に前段によって得られた候
補からその目的のパターンを検出する処理である。前段
は全てのデータに対して処理するのではなく例えば3測
定ポイントに対して1回の距離演算を行うのでその処理
速度は速くまた、多くのワークメモリを必要としない。
又同様に後段においては、特定数の候補に対してのみD
P演算を行うので多くのメモリを必要とせず処理時間は
短い。
As described above, according to the present invention, the DP operation is performed in two stages, the former stage is a process for selecting a candidate, and the latter stage is a process from candidates obtained by the former stage with high accuracy. This is a process of detecting a target pattern. The former stage does not process all data, but performs distance calculation once for, for example, three measurement points, so that the processing speed is fast and a large amount of work memory is not required.
Similarly, in the latter stage, D only for a specific number of candidates
Since the P operation is performed, much memory is not required and the processing time is short.

【0053】そして本発明によれば前段DPマッチング
の結果によって目的の標準パターンの決定、あるいは2
〜5個の候補を選択して後段DP演算を行っているの
で、平均的な処理時間は速くなる。
According to the present invention, the target standard pattern is determined according to the result of the preceding DP matching, or 2
Since ~ 5 candidates are selected and the post-stage DP operation is performed, the average processing time is shortened.

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

【図1】プロセッサを用いた本発明の第1の実施例の構
成図である。
FIG. 1 is a configuration diagram of a first embodiment of the present invention using a processor.

【図2】DP演算処理を説明するフローチャート図であ
る。
FIG. 2 is a flowchart illustrating a DP calculation process.

【図3】本発明の実施例の候補選定処理14をさらに詳
細に示すフローチャート図である。
FIG. 3 is a flowchart showing the candidate selection processing 14 of the embodiment of the present invention in more detail.

【図4】本発明の第2の実施例の回路構成図である。FIG. 4 is a circuit configuration diagram of a second embodiment of the present invention.

【図5】タイミング制御部の回路構成図である。FIG. 5 is a circuit configuration diagram of a timing control unit.

【図6】タイミング制御部のタイミングチャート図であ
る。
FIG. 6 is a timing chart of a timing controller.

【図7】本発明の実施例の候補選択部35の詳細な回路
図である。
FIG. 7 is a detailed circuit diagram of a candidate selection unit 35 according to the embodiment of this invention.

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

1 マイクロホン 2 AGC回路 3 BPF回路 4,18 A/Dコンバータ 6 プロセッサ 8 リードオンリメモリ 9 ランダムアクセスメモリ 10 入出力コントロールシステム 13 前段DP演算 14 候補選定処理 15 後段DP演算 19 パラメータ正規化圧縮部 20 入力パターンメモリ 21 レベル検出部 22 タイミング制御部 23 フレームカウンタ 24 制御部 25 標準パターンメモリ 26 ワークエリアメモリ 27 最小距離メモリ 28 距離演算部 29 部分和演算部 30 最小距離算出部 31 標準パターンフレーム長メモリ 32,33 ゲート回路 34 フレーム数補正部 35 候補選択部 36 候補番号メモリ 50,51 カウンタ 35−1 最小値選択部 35−2 候補メモリ 35−4 アドレスカウンタ 35−5 ラッチ 35−6,35−8 比較回路 35−7 選択回路 1 Microphone 2 AGC circuit 3 BPF circuit 4,18 A / D converter 6 Processor 8 Read only memory 9 Random access memory 10 Input / output control system 13 First stage DP calculation 14 Candidate selection process 15 Second stage DP calculation 19 Parameter normalization compression unit 20 Input Pattern memory 21 Level detection unit 22 Timing control unit 23 Frame counter 24 Control unit 25 Standard pattern memory 26 Work area memory 27 Minimum distance memory 28 Distance calculation unit 29 Partial sum calculation unit 30 Minimum distance calculation unit 31 Standard pattern frame length memory 32, 33 gate circuit 34 frame number correction unit 35 candidate selection unit 36 candidate number memory 50, 51 counter 35-1 minimum value selection unit 35-2 candidate memory 35-4 address counter 35-5 latch 35 6,35-8 comparison circuit 35-7 selection circuit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 福島 一雅 東京都西多摩郡羽村町栄町3丁目2番1号 カシオ計算機株式会社羽村技術センター 内 (72)発明者 二ノ宮 正生 東京都西多摩郡羽村町栄町3丁目2番1号 カシオ計算機株式会社羽村技術センター 内 (72)発明者 黒沢 和幸 東京都西多摩郡羽村町栄町3丁目2番1号 カシオ計算機株式会社羽村技術センター 内 (56)参考文献 特開 昭56−101199(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Kazumasa Fukushima 3-2-1 Sakaemachi, Hamura-cho, Nishitama-gun, Tokyo Casio Computer Co., Ltd. Hamura Technical Center (72) Masao Ninomiya Hamura-cho, Nishitama-gun, Tokyo 3-2-1 Sakaemachi Casio Computer Co., Ltd. in Hamura Technical Center (72) Inventor Kazuyuki Kurosawa 3-2-1 Sakaemachi Hamura-cho, Nishitama-gun, Tokyo Casio Computer Co., Ltd. within Hamura Technical Center (56) References 56-101199 (JP, A)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】入力パターンデータと予め格納されている
標準パターンデータとのパターンマッチングを行い認識
結果を決定するパターン認識装置において、 前記入力パターンデータに対して第1次DPマッチング
処理により複数の候補標準パターンデータを選択し、更
にその中より類似度が高いと判断されたものから第1の
候補、第2の候補とする候補選定手段と、 前記第1の候補と前記入力パターンデータとの距離が第
1の特定値以上であると判断された時は認識不能と判断
し、認識不能を報知する手段と、 前記手段により認識不能と判断されなかった場合におい
て、前記第1の候補と前記第2の候補との距離が第2の
特定値以上であると判断された時は前記第1の候補を認
識結果として決定する手段と、 前記手段により認識結果が決定されなかった場合におい
て、前記候補選定手段により選択された複数の候補標準
パターンデータの中から、第2次DPマッチング処理に
より認識結果を決定する手段と、を有し、前記第1次D
Pマッチング処理は前記第2次マッチング処理よりも粗
い精度で行うことを特徴とするパターン認識装置。
1. A pattern recognition device for determining a recognition result by performing pattern matching between input pattern data and standard pattern data stored in advance, wherein a plurality of candidates are subjected to a primary DP matching process for the input pattern data. Candidate selection means for selecting the standard pattern data and selecting as the first candidate or the second candidate from those judged to have higher similarity than the standard pattern data, and the distance between the first candidate and the input pattern data. Is determined to be unrecognizable when it is determined to be greater than or equal to a first specific value, and means for notifying the unrecognizable state; and in the case where it is not determined to be unrecognizable by the means, the first candidate and the first candidate Means for determining the first candidate as a recognition result when it is determined that the distance to the second candidate is equal to or greater than a second specific value, and the recognition result is determined by the means. And a means for determining a recognition result by a secondary DP matching process from among the plurality of candidate standard pattern data selected by the candidate selecting means, the primary D
A pattern recognition apparatus, wherein the P matching process is performed with a coarser accuracy than the secondary matching process.
JP4145689A 1992-06-05 1992-06-05 Pattern recognizer Expired - Lifetime JPH0664478B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4145689A JPH0664478B2 (en) 1992-06-05 1992-06-05 Pattern recognizer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4145689A JPH0664478B2 (en) 1992-06-05 1992-06-05 Pattern recognizer

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP58080437A Division JPS59204896A (en) 1983-05-09 1983-05-09 Candidate selection system for voice recognition equipment

Publications (2)

Publication Number Publication Date
JPH05181498A JPH05181498A (en) 1993-07-23
JPH0664478B2 true JPH0664478B2 (en) 1994-08-22

Family

ID=15390821

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4145689A Expired - Lifetime JPH0664478B2 (en) 1992-06-05 1992-06-05 Pattern recognizer

Country Status (1)

Country Link
JP (1) JPH0664478B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009146245A (en) * 2007-12-17 2009-07-02 Nec Corp Image collation method, image collation apparatus, and image collation program

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6574596B2 (en) * 1999-02-08 2003-06-03 Qualcomm Incorporated Voice recognition rejection scheme
JP5333329B2 (en) * 2010-04-13 2013-11-06 株式会社島津製作所 Chromatogram data processing method and apparatus
US9500629B2 (en) 2012-11-05 2016-11-22 Shimadzu Corporation Chromatogram data processing method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009146245A (en) * 2007-12-17 2009-07-02 Nec Corp Image collation method, image collation apparatus, and image collation program

Also Published As

Publication number Publication date
JPH05181498A (en) 1993-07-23

Similar Documents

Publication Publication Date Title
US4712243A (en) Speech recognition apparatus
US4852181A (en) Speech recognition for recognizing the catagory of an input speech pattern
US4535473A (en) Apparatus for detecting the duration of voice
US4881266A (en) Speech recognition system
US5819209A (en) Pitch period extracting apparatus of speech signal
US4802108A (en) Circuit for providing a select rank-order number from a plurality of numbers
KR100366057B1 (en) Efficient Speech Recognition System based on Auditory Model
JPH05181498A (en) Pattern recognizer
KR100214593B1 (en) Run-length code word detecting method and apparatus using cascade structure
JPH04218100A (en) Pattern recognizing device
JPH0354359B2 (en)
JPS59204894A (en) Stage dp matching system for voice recognition equipment
JPS59204895A (en) voice recognition device
JP3063855B2 (en) Finding the minimum value of matching distance value in speech recognition
KR960007130B1 (en) Number tone recognizing method of voice recognizing system
JP3063856B2 (en) Finding the minimum value of matching distance value in speech recognition
JPH01277899A (en) In-speech-band signal detection system
JPS6172299A (en) Voice recognition equipment
JPS6120880B2 (en)
JP3027389B2 (en) Binary pattern generation method
JPS62159195A (en) Voice pattern generation
JPS59204900A (en) Parameter normalization compression method
JPS625298A (en) Voice recognition equipment
JPS6332200B2 (en)
JPS59124388A (en) Word voice recognition processing system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19950314