JPS628225A - State detecting device for digital signal - Google Patents

State detecting device for digital signal

Info

Publication number
JPS628225A
JPS628225A JP14717785A JP14717785A JPS628225A JP S628225 A JPS628225 A JP S628225A JP 14717785 A JP14717785 A JP 14717785A JP 14717785 A JP14717785 A JP 14717785A JP S628225 A JPS628225 A JP S628225A
Authority
JP
Japan
Prior art keywords
memory
data
state detection
output
address
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
JP14717785A
Other languages
Japanese (ja)
Inventor
Katsuyuki Takeuchi
克行 竹内
Hiroshi Higashida
廣 東田
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.)
Kikusui Electronics Corp
Original Assignee
Kikusui Electronics 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 Kikusui Electronics Corp filed Critical Kikusui Electronics Corp
Priority to JP14717785A priority Critical patent/JPS628225A/en
Publication of JPS628225A publication Critical patent/JPS628225A/en
Pending legal-status Critical Current

Links

Landscapes

  • Testing And Monitoring For Control Systems (AREA)

Abstract

PURPOSE:To set a state to be detected optionally and to detect many states by using a memory stored previously with states to be detected corresponding to digital data supplied to an address input. CONSTITUTION:Two selectors 12 and 14 are switched to the sides of a memory setting address 13 and data corresponding to state detection is supplied as a set data 16 to an address corresponding to digital data 11, thereby writing the data in the memory 15. Then, the selector 12 is switched to the side of the digital data 11 and the selector 14 is switched to a feedback signal 21. Then a state detection output 17 is obtained from variation in the address of the memory corresponding to the digital data 11 and the feedback signal 21 corresponding to the contents of the last state detection output 17. A control output generating circuit 18 outputs a control output 20 corresponding to the state detection output 17.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明はデジタルメモリを用いたデジタル比較器を利用
したデジタル信号の状態検出装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a digital signal state detection device using a digital comparator using a digital memory.

〔発明の技術的背景〕[Technical background of the invention]

従来、デジタル信号の状態に応じた制御を行なう装置で
は、たとえば第3図に示すようなものが知られている。
2. Description of the Related Art Conventionally, a device shown in FIG. 3, for example, is known as a device that performs control according to the state of a digital signal.

この装置はn個の状態の検出を行なうものである。すな
わち、複数ビットのデジタルデータ1は第1乃至第nの
各状態検出器x−1,2−2,・・・、2−nに並列に
入力される。そして各状態検出器2−1.2−2゜・・
・、2−nにはそれぞれ異なる状態が予め設定されてい
る。したがって、デジタルデータ1に内容が一致した状
態検出器2から出力でれる状態検出出力3が制御出力発
生回路4へ入力される。制御出力発生回路4は入力され
た状態検出出力3の内容に対応した制御出力5を出力す
るとともに制御出力発生回路4自体へ帰還する。
This device detects n states. That is, multiple bits of digital data 1 are input in parallel to each of the first to n-th state detectors x-1, 2-2, . . . , 2-n. And each state detector 2-1.2-2°...
. , 2-n have different states set in advance. Therefore, the state detection output 3 output from the state detector 2 whose contents match the digital data 1 is input to the control output generation circuit 4. The control output generation circuit 4 outputs a control output 5 corresponding to the contents of the input state detection output 3, and also feeds back to the control output generation circuit 4 itself.

したがって、図示しない制御対象をデジタルデ。Therefore, the control target (not shown) is a digital device.

−タ1および制御出力5の内容に応じて制御することか
できる。
- It can be controlled according to the contents of the data 1 and the control output 5.

〔背景技術の問題点〕[Problems with background technology]

しかしながらこのようなものではデジタルデータ1の相
異なるn種の状態を検出するためにはn個の状態検出器
を必要とする。さらに制御出力発生回路4へ制御出力5
を帰還させるために、制御出力発生回路4の構成が複雑
になシ、制御出力を帰還する構成を変更する。ためには
ハードウェアを変更する必要があり極めて面倒であった
However, such a device requires n state detectors in order to detect n different states of the digital data 1. Furthermore, the control output 5 is sent to the control output generation circuit 4.
In order to feed back the control output, the configuration of the control output generation circuit 4 becomes complicated, and the configuration for feeding back the control output is changed. This required changing the hardware, which was extremely troublesome.

〔発明の目的〕[Purpose of the invention]

本発明は上記の事情に鑑みてなされたもので検出すべき
状態を設定データに応じて任意に設定可能で、しかも簡
単な構成で多数の状態の検出が可能なデジタル信号の状
態検出装置を提供することを目的とするものである。
The present invention has been made in view of the above circumstances, and provides a digital signal state detection device that can arbitrarily set the state to be detected according to setting data and can detect a large number of states with a simple configuration. The purpose is to

〔発明の概要〕[Summary of the invention]

すなわち本発明は、デジタルデータをアドレス入力へ与
えられ、当該デジタルデータに対応して検出すべき状態
を当該アドレスのデータとして予め記憶したメモリを用
い、このメモリのデータ出力を制御出力発生回路へ与え
て制御出力を得るとともに上記データ出力をメモリのア
ドレス入力へ帰還することを特徴とするものである。
That is, the present invention uses a memory in which digital data is applied to an address input, a state to be detected corresponding to the digital data is stored in advance as data at the address, and a data output of this memory is applied to a control output generation circuit. The device is characterized in that it obtains a control output and also feeds back the data output to the address input of the memory.

〔発明の実施例〕[Embodiments of the invention]

以下本発明の一実施例を第1図に示すブロック図を参照
して詳細に説明する。図中11はデジタルデータで第1
のセレクタ12の一方つ入力へ与える。そして1・3は
メモリ設定アドレスで第1.第2のセレクタ12.14
の各他方の入力へ与える。そして第1.第2のセレクタ
12.14で選択した信号をメモリ15のアドレス入力
へ与える。一方メモリ15のデータ入力へは設定データ
16を入力する。
Hereinafter, one embodiment of the present invention will be described in detail with reference to the block diagram shown in FIG. Number 11 in the figure is digital data.
is applied to one input of the selector 12. 1 and 3 are the memory setting addresses and the first. Second selector 12.14
to each other input. And the first. The signal selected by the second selector 12.14 is applied to the address input of the memory 15. On the other hand, setting data 16 is input to the data input of the memory 15.

そして上記アドレス入力に応じてメモリJ5から出力さ
れたデータをレジスタ16に一旦記憶し、このレジスタ
16から出力する状態検出出力17を、制御出力発生回
路18および変換回路19へ与える。そして制御出力発
生回路18から状態検出出力の内容に応じた制御出力2
0を出力して図示しない制御対象を制御する。
The data output from the memory J5 in response to the address input is temporarily stored in the register 16, and the state detection output 17 output from the register 16 is provided to the control output generation circuit 18 and the conversion circuit 19. Then, the control output generation circuit 18 outputs a control output 2 according to the content of the state detection output.
0 is output to control a control target (not shown).

一方、レジスタ16から出力される状態検出出力17は
変換回路19で所定のコード変換を行ない帰還信号2ノ
として第2のセレクタ14の一方の入力へ与える。
On the other hand, the state detection output 17 output from the register 16 undergoes predetermined code conversion in a conversion circuit 19 and is applied to one input of the second selector 14 as a feedback signal 2.

このような構成であれば、先ず第1.第2のセレクタ1
2.14をメモリ設定アドレス13側へ切替えてデジタ
ルデータ11の内容に対応するアドレスに状、態検出に
対応するデータを設定データ16として与え、メモリ1
5にデータの書込みを行なう。
With such a configuration, first. second selector 1
2. Switch 14 to the memory setting address 13 side and give the data corresponding to the status detection as the setting data 16 to the address corresponding to the content of the digital data 11.
Data is written to 5.

そして第1のセレクタ12をデジタルデータ11側へ切
換え、第2のセレクタ14を帰還信号2ノへ切換える。
Then, the first selector 12 is switched to the digital data 11 side, and the second selector 14 is switched to the feedback signal 2 side.

そしてデジタルデータ1ノと前回の状態検出出力17の
内容に対応した帰還信号21に応じたメモリのアドレス
の変化によシ状態検出出力12を得る。そしてこの状態
検出出力17に応じて制御出力発生回路18から制御出
力2Qが出力される・ なおレジスタ16はクロック信号に同期してメモリ15
のデータ出力を取り込み、保持するようにしているので
、上記データ出力の有効期間中に読み込みを行なうこと
によ)グリッジ等を除去し、正確なデータの取込みが可
能となる。
Then, a state detection output 12 is obtained by changing the address of the memory according to the digital data 1 and the feedback signal 21 corresponding to the contents of the previous state detection output 17. Then, in response to this state detection output 17, the control output generation circuit 18 outputs the control output 2Q.The register 16 is connected to the memory 15 in synchronization with the clock signal.
Since the data output is captured and held, it is possible to remove glitches and the like (by reading during the valid period of the data output) and to capture accurate data.

なお変換回路19は必らずしも設けなくともよいが、こ
の変換回路19によシ、たとえば状態検出出力17をエ
ンコードし、たとえば8ビツトの信号から8−3エンコ
ーダによる3本のアドレス信号を得て、帰還信号21と
してメモ    □す15に与えるとかこの変換回路1
9によシ、たとえば状態検出出力17をデコードし、た
とえば3ビツトの信号から3−8デコーダによ98種類
のテッゾセレクト信号を得て、帰還信号21としてメモ
リ15へ与え、並列に設けた8個のメモリ15の1個を
選択することもできる。
Although the conversion circuit 19 is not necessarily provided, the conversion circuit 19 encodes, for example, the state detection output 17, and converts, for example, an 8-bit signal into three address signals by an 8-3 encoder. Take a note of this as the feedback signal 21 and give it to □S 15.
For example, the state detection output 17 is decoded by the 9, and 98 types of Tezzo select signals are obtained from the 3-bit signal by a 3-8 decoder, and the signals are applied as a feedback signal 21 to the memory 15, and the 8 signals provided in parallel are It is also possible to select one of the memories 15.

なお第1図に示す実施例では、デジタルデータ11のビ
ット数が大きくなると必要なメモリ15の容量は著るし
く増大する。このような場合、たとえば第2図に示すよ
うに複数のメモリを並列に設けて、さらにこの複数のメ
モリの出力をアドレス入力へ与えられるメモリを縦続に
設ければ所要のメモリの容量の増加を著るしく少なくで
きる。
In the embodiment shown in FIG. 1, as the number of bits of the digital data 11 increases, the required capacity of the memory 15 increases significantly. In such a case, for example, as shown in Figure 2, it is possible to increase the required memory capacity by providing multiple memories in parallel and then providing cascaded memories whose outputs are given to the address input. It can be significantly reduced.

すなわち第2図において21−1 、21−2゜・・・
、21−nは第1乃至第nのメモリである。
That is, in Fig. 2, 21-1, 21-2°...
, 21-n are first to nth memories.

各メモリ21−1 、21−2 、− 、2 J −n
はそれぞれ第1のセレクタ22−1.22−2゜・・・
、22−nを介して第1乃至第nのデジタルデータ2 
J −1、23−2)= 、 23− nまたは第1乃
至第nのメモリ設定アドレス24−1゜24−2 、・
・・、24−nの一方をアドレス入力へ与えられる。さ
らに各メモリ21−1.21−2.・・・、21−nの
アドレス入力には各第2のセレクタ25−1.25−2
.・・・、25−nを介して各メモリ設定アドレス24
−1.24−2.・・・、24−nの一部ま念は後述す
る帰還信号25が入力される。さらに各メモリ21−1
.21−2.・・・、21−nのデータ入力には第1乃
至第nの設定データ26−1.26−2゜・・・、26
−nを与えて所定のデータを設定する。
Each memory 21-1, 21-2, -, 2 J-n
are the first selectors 22-1, 22-2°...
, 22-n, the first to nth digital data 2
J-1, 23-2) = , 23-n or first to nth memory setting addresses 24-1゜24-2, .
. . , 24-n is given to the address input. Furthermore, each memory 21-1.21-2. . . ., the second selector 25-1, 25-2 is connected to the address input of 21-n.
.. ..., each memory setting address 24 via 25-n.
-1.24-2. . . , a feedback signal 25, which will be described later, is input to a portion of 24-n. Furthermore, each memory 21-1
.. 21-2. ..., 21-n data input includes the first to nth setting data 26-1.26-2°..., 26
-n to set predetermined data.

なお各デジタルデータ23−1.23−2.・・・。Note that each digital data 23-1.23-2. ....

23−nは状態を検出すべきデジタルデータを複数ブロ
ックに分割した各別の1ブロツクである。そして各メモ
リ21−1.21−2.・・・。
Numerals 23-n and 23-n are separate blocks in which the digital data whose state is to be detected are divided into a plurality of blocks. And each memory 21-1.21-2. ....

21−nの各データ出力またはメモリ設定アドレス27
をセレクタ28を介してメモリ29のアドレス入力へ与
える。そしてこのメモリ29のデータ入力には予め設定
データ30を与え、−メモリ設定アドレス27によって
指定されたアドレスに所定のデータを書込んでおく。そ
して、セレクタ28を介して与えられるデータによって
指定されたアドレスから読み出されたメモリ29のデー
タはレジスタ3ノに一旦、記憶し、制御出力発生回路3
2および変換回路33へ状態検出出力34として与える
。そして制御出力発生回路32は状態検出出力34の内
容に応じて制御出力35を出力し、図示しない制御対象
を制御する。また変換回路33の出力は帰還信号として
各第2のセレクタ25−1.25−2゜・・・、25−
nの他方の入力へ帰還し、前回に出力された状態検出出
力の内容および第1乃至第nのデジタルデータ23−7
 、23−2)−。
21-n each data output or memory setting address 27
is applied to the address input of the memory 29 via the selector 28. Setting data 30 is given in advance to the data input of this memory 29, and predetermined data is written to the address designated by -memory setting address 27. The data in the memory 29 read from the address specified by the data given via the selector 28 is temporarily stored in the register 3, and the control output generation circuit 3
2 and the conversion circuit 33 as a state detection output 34. The control output generation circuit 32 then outputs a control output 35 according to the content of the state detection output 34 to control a control target (not shown). Further, the output of the conversion circuit 33 is used as a feedback signal to each second selector 25-1.25-2°..., 25-
The contents of the previously output state detection output and the first to nth digital data 23-7 are fed back to the other input of n.
, 23-2)-.

23−nの内容に応じた制御出力35を得る。A control output 35 corresponding to the contents of 23-n is obtained.

このようにすればデジタルデータのビット数が増加した
場合も必要とするメモリ容量の増加を少なくてき構成お
よびコストの増加を最少にできる。
In this way, even if the number of bits of digital data increases, the increase in required memory capacity can be minimized, and increases in configuration and cost can be minimized.

〔発明の効果〕〔Effect of the invention〕

以上のように本発明によれば検出する状態の内容は設定
デ〜りに応じて任意に設定可能であシ、しかも多数ビッ
トの組合せからなる状態を簡単な構成で検出することが
できるデジタル信号の状態検出装置を提供することがで
きる。
As described above, according to the present invention, the content of the state to be detected can be arbitrarily set according to the setting data, and moreover, the digital signal allows detection of a state consisting of a combination of multiple bits with a simple configuration. A state detection device can be provided.

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

第1図は本発明の一実施例を示すブロック図、第2図は
本発明の他の実施例を示すブロック図、 第3図は従来の状態検出装置の一例を示すブロック図で
ある。 15.21−1〜21−n、29・・・メモリ、18.
32・・・制御出力発生回路、19.33・・・変換回
路。
FIG. 1 is a block diagram showing one embodiment of the present invention, FIG. 2 is a block diagram showing another embodiment of the present invention, and FIG. 3 is a block diagram showing an example of a conventional state detection device. 15.21-1 to 21-n, 29...memory, 18.
32... Control output generation circuit, 19.33... Conversion circuit.

Claims (3)

【特許請求の範囲】[Claims] (1)検出すべきデジタル信号の内容に対応するアドレ
スに検出結果に対応するデータを記憶し、アドレス入力
に上記検出すべきデジタル信号を与えられるメモリと、
このメモリのデータ出力を与えられ制御出力を制御対象
へ与える制御出力発生回路とを具備するデジタル信号の
状態検出装置。
(1) A memory that stores data corresponding to the detection result at an address corresponding to the content of the digital signal to be detected, and receives the digital signal to be detected at the address input;
A digital signal state detection device comprising a control output generation circuit which is supplied with the data output of the memory and supplies a control output to a controlled object.
(2)特許請求の範囲第1項記載のものにおいて、メモ
リは複数個が縦続に接続されたデジタル信号の状態検出
装置。
(2) The digital signal state detection device according to claim 1, wherein a plurality of memories are connected in series.
(3)特許請求の範囲第1項記載のものにおいて、メモ
リの出力データを次回の読出し時に帰還信号としてアド
レス入力へ帰還するデジタル信号の状態検出装置。
(3) The digital signal state detection device according to claim 1, which feeds back output data of the memory to the address input as a feedback signal at the next readout.
JP14717785A 1985-07-04 1985-07-04 State detecting device for digital signal Pending JPS628225A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14717785A JPS628225A (en) 1985-07-04 1985-07-04 State detecting device for digital signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14717785A JPS628225A (en) 1985-07-04 1985-07-04 State detecting device for digital signal

Publications (1)

Publication Number Publication Date
JPS628225A true JPS628225A (en) 1987-01-16

Family

ID=15424321

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14717785A Pending JPS628225A (en) 1985-07-04 1985-07-04 State detecting device for digital signal

Country Status (1)

Country Link
JP (1) JPS628225A (en)

Similar Documents

Publication Publication Date Title
KR880009521A (en) Digital memory systems
US4903240A (en) Readout circuit and method for multiphase memory array
KR930006722A (en) Semiconductor memory and its output control method
JPS628225A (en) State detecting device for digital signal
GB2228813A (en) Data array conversion
JPS585476B2 (en) Kiokusouchi
JPS6386630A (en) Frame synchronization system in parallel transmission line
JPS6310447B2 (en)
KR950001477A (en) Memory circuit
JP2588042B2 (en) Data processing circuit
RU2081459C1 (en) Stack memory unit
JPH079280Y2 (en) Stack circuit
SU643973A1 (en) Device for control of storage element-based accumulator with non-destructive reading-out of information
SU1037246A1 (en) Number sorting device
SU1298803A1 (en) Semiconductor storage
JPS57169866A (en) Picture magnification varying device
JPH04360425A (en) Semiconductor storage device
SU670958A2 (en) Telemetry information processing device
JPS588357A (en) Control storage device
JPH0522432B2 (en)
JPH0758950B2 (en) Frame aligner circuit
JPS6244802A (en) Control device
JPH02125349A (en) Memory access system
JPS6193740A (en) Multiplex circuit
JPH113207A (en) Memory controller