JPS6081919A - Programmable digital window comparator - Google Patents

Programmable digital window comparator

Info

Publication number
JPS6081919A
JPS6081919A JP18917683A JP18917683A JPS6081919A JP S6081919 A JPS6081919 A JP S6081919A JP 18917683 A JP18917683 A JP 18917683A JP 18917683 A JP18917683 A JP 18917683A JP S6081919 A JPS6081919 A JP S6081919A
Authority
JP
Japan
Prior art keywords
data
limit
lower limit
measured
circuits
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
JP18917683A
Other languages
Japanese (ja)
Inventor
Takeshi Sakata
武司 坂田
Noriya Shirohige
白髭 憲也
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.)
Hanshin Electric Co Ltd
Original Assignee
Hanshin Electric 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 Hanshin Electric Co Ltd filed Critical Hanshin Electric Co Ltd
Priority to JP18917683A priority Critical patent/JPS6081919A/en
Publication of JPS6081919A publication Critical patent/JPS6081919A/en
Pending legal-status Critical Current

Links

Landscapes

  • Manipulation Of Pulses (AREA)

Abstract

PURPOSE:To decide on data excellently with simple circuit constitution by updating plural measured data sent to an upper-limit and a lower-limit comparing circuit in order, and comparing them with corresponding upper-limit and lower-limit threshold value data. CONSTITUTION:Plural kinds of measured input data 1 are updated and sent to one-side input terminals of the upper-limit and lower-limit comparing circuits 10a and 10b successively. Further, upper-limit and lower-limit threshold value data 4a and 4b are supplied from upper-limit and lower-limit storage circuits 12a and 12b to the other-side input terminals of those circuits 10a and 10b, which compare the data 1 with the threshold value data respectively. When the data 1 is updated, a counter-up signal 2 is generated synchronously and an output count value signal 3 obtained by adding ''1'' to the current value is sent from a counter 11 to the circuits 12a and 12b to supply corresponding threshold value data 4a and 4b to the circuits 10a and 10b, so that the corresponding data 1 are compared with the threshold value data 4a and 4b.

Description

【発明の詳細な説明】 本発明は、プログラマブル・デジタル・ウィンド・コン
パレータに関し、殊に、夫々に−L Tの基準データ乃
至−L下閾値データが異なる、即ち、夫々に設定範囲が
異なる複数の被測定入力データの各々に対して、一つの
カウンタと二つの記憶回路及び二つの比較回路で当該被
測定入力データが対応する設定範囲内にあるか否かの判
別が行°なえるプログラマブル・デジタル−ウィンド・
コンパレータに関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a programmable digital window comparator, and in particular, to a programmable digital window comparator that has a plurality of A programmable digital device that can determine whether or not each input data to be measured is within the corresponding setting range using one counter, two memory circuits, and two comparison circuits. Wind
Concerning comparators.

一般に入力データが設定範囲内に入っているか否かを弁
別する方法としては二通り考えられ、その一つは当該設
定範囲の上限値と」二記入力データ、下限値と上記入力
データとを夫々個別に比較するAにつのデジタル比較回
路を用いる方法で、もう一つはマイクロコンピュータに
取込み、プロダラムで演算を行なう方法である。
Generally, there are two ways to determine whether or not input data is within the set range. One method is to use two digital comparison circuits for A, which is compared individually, and the other method is to import the data into a microcomputer and perform calculations on a programmer.

然し、被11111定入力データが複数あって、その各
々により設定範囲も様々に異なっているというような場
合、前者の方法では当該被測定入力データの数の二倍分
だけ比較回路を用意するか、或いは当該被測定入力デー
タが切換わる毎にマイクロコンピュータ等により対応す
る上限、下限閾値データを夫々対応する一L限、下限の
各比較回路に入力させねばならず、また後者の方法では
、被測定人力データが更新される度に−L限、下限の各
間(+riデータを更新して演算を行なわなければなら
ない。こうした場合、特に前者の方法では被測定入力デ
ータの数の倍だけ比較回路を要するということが極めて
不合理であるし、後者の方法もマイクロコンピュータを
使用することそのものが高価複雑になる要因となってい
た。
However, in the case where there is a plurality of 11111 constant input data and the setting range varies depending on each of them, in the former method, it is necessary to prepare twice as many comparison circuits as the number of the input data to be measured. Alternatively, each time the input data to be measured changes, the corresponding upper limit and lower limit threshold data must be input to the corresponding one L limit and lower limit comparison circuits, respectively, using a microcomputer, and in the latter method, the Every time the measured human input data is updated, it is necessary to update the data between the -L limit and the lower limit (+ri) and perform calculations. It is extremely unreasonable that the latter method requires a microcomputer, and the use of a microcomputer itself becomes expensive and complicated.

本発明はこのような従来技術の欠点に鑑みて成されたも
ので、−・絹の−に限、下限比較回路と簡単な周辺回路
で複数の被測定入力データ群に対応できるプログラマブ
ル・デジタル・ウィンド・コンパレータを提供せんとす
るものである。
The present invention has been made in view of the shortcomings of the prior art, and is a programmable digital computer that can handle multiple groups of input data to be measured using a lower limit comparison circuit and simple peripheral circuits. It is intended to provide a window comparator.

以下、添付図面に示す本発明の一実施例に即して本発明
の構成及び作用、効果に就き説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The structure, operation, and effects of the present invention will be described below with reference to an embodiment of the present invention shown in the accompanying drawings.

被測定入力データlは複数の種類から成り、順次更新さ
れて−1−限、下限比較回路10a 、 lObの各−
人力にl−えられる。」二限、下限比較回路10a、j
obの各他人力には、夫々、上限、下限記憶回路+2a
 。
The input data l to be measured consists of a plurality of types, and is sequentially updated to each of the -1- limit and lower limit comparison circuits 10a and lOb.
It can be achieved by human power. "Second limit, lower limit comparison circuit 10a, j
Each person's power of ob has an upper limit memory circuit and a lower limit memory circuit +2a, respectively.
.

12bからの上限、下限閾値データ4a、4bが与えら
れ、当該上限、下限比較回路10a、IObにて上記被
測定入力データlとの比較処理が行なわれる。
The upper limit and lower limit threshold data 4a and 4b are given from the upper limit and lower limit comparison circuits 10a and IOb, and comparison processing with the input data to be measured l is performed in the upper limit and lower limit comparison circuits 10a and IOb.

然して、上記−上限、下限記憶回路12a、+2bには
、各被A1一定入カデータlの各々に応じて予め定めら
れている上限、下限閾値データ4a、4bが当該被測定
入力データlの各入力順位に応じて連番のアドレス中に
記憶されている。
Therefore, upper limit and lower limit threshold data 4a and 4b predetermined in accordance with each of the constant input data l to be measured are stored in the above-mentioned - upper limit and lower limit storage circuits 12a and +2b for each input of the input data to be measured l. They are stored in sequentially numbered addresses according to their ranking.

ここで、被測定入力データ1を更新すると、これに同期
してカウント・アップ信号2が発せられ、この信号を受
けたカウンタ11では出力カウント値信号3をそれまで
の値にl゛°だけインクリメントして上限、下限記憶回
路12a 、 12bに入力する。この出力カウント(
+N信号3はに限、下限記憶回路+2a、+2b中のア
ドレス指示信号3となっており、従ってに限、ド限記憶
回路12a、+2bでは更新されたアドレス指示信号3
を受けたことになり、それまでのアドレスから゛lパだ
け多い番地数値のアドレス内容の上限、下限閾値データ
4a、4bを1−限、下限比較回路10a 、 1ob
に送り込む。既述のように、この時の」二限、下限閾値
データ4a、4bは、回し時にに限、下限比較回路10
a 、 lObの=−人力に与えられている被測定入力
データlに対応する1−限、下限閾値データである。
Here, when the input data under test 1 is updated, a count up signal 2 is generated in synchronization with this, and the counter 11 that receives this signal increments the output count value signal 3 by l゛° from the previous value. and input them to the upper and lower limit storage circuits 12a and 12b. This output count (
The +N signal 3 is the address instruction signal 3 in the lower limit memory circuits +2a and +2b, and therefore the updated address instruction signal 3 is in the lower limit memory circuits 12a and +2b.
Therefore, the upper and lower limit threshold data 4a and 4b of the address content of the address value that is 100% larger than the previous address are set to 1-limit, and the lower limit comparison circuits 10a and 1ob
send to. As mentioned above, the second limit and lower limit threshold data 4a and 4b at this time are the limit and lower limit comparison circuit 10 when turning.
a, lOb=-1-limit, lower limit threshold data corresponding to input data to be measured l given to human power.

に限比較回路10aでは、比較結果としての゛被A1)
1定入カデータlく(または≦)上限閾値データ4a゛
°乃至“−に限閑仙データ4a≦(またはく)被測定入
力データ1゛の情報を担った上限比較結果信号弁を出力
し、一方、下限比較回路lObでは“被1111定力デ
ータl≦(<)下限閾値データ4b゛°乃′Iト“下限
閾値データ4b<(≦)被測定入力データ1 ”の情報
を担った下限比較結果信号5bを出力する。
In the comparator circuit 10a, the comparison result is ゛A1).
1 output an upper limit comparison result signal valve carrying the information of input data to be measured 1゛ limited to constant input data 1 (or ≦) upper limit threshold data 4a゛° to "-, On the other hand, the lower limit comparison circuit lOb carries the information of "1111 constant force data l≦(<) lower limit threshold data 4b゛°no'I to "lower limit threshold data 4b<(≦) input data to be measured 1''. A result signal 5b is output.

このようにして得られたl二限、下限の各比較結果信号
に基き、判別回路14では“下限閾値データ4b≦(<
)被1111定入力データl≦(<)に限閾値データ4
a′′であるか否かの判別を為し、゛1′1別信号6を
出力する。この判別回路自体の構成は公知技術を援用し
た簡単な論理回路構成等で組むことができる。
Based on the comparison result signals of the l2 limit and the lower limit obtained in this way, the discrimination circuit 14 determines that “lower limit threshold data 4b≦(<
) Threshold data 4 limited to 1111 constant input data l≦(<)
It is determined whether or not it is a'', and a signal 6 according to ``1''1 is output. The configuration of this discrimination circuit itself can be constructed using a simple logic circuit configuration using known technology.

被1!lll 疋入カデータlが更に更新されれば、同
様わ動作により、これに対応した」二限、下限閾イ1テ
゛−夕を格納した両記憶回路中の一番地上のアドレスが
カウンタIIの発するアドレス指示信号3の” l“だ
けのインクリメンI・により更に更新指示され、当該更
新指示された各アドレスから対応する上限、ド限閾値デ
ータ4a、4bが上限、下限比較回路10a 、 jo
bに送り出され、被1111定入力データlとの間で比
較処理される。このような動作が繰返されていくことに
より、二つの比較回路と簡単な周辺回路、即ち一つのカ
ウンタ乃至アドレス走査回路と二つの記憶回路で複数の
被測定入力データ群に対処することができる。処理可能
な被測定入カデータlの数は上限、下限記憶回路12a
 、 +2bの最大記憶容置により定まり、一般にこれ
はかなり大きいため、本発明の回路は被測定入力データ
lの数が増す程、有効であるということもできる。
Covered 1! If the input data l is further updated, the uppermost address of both memory circuits storing the corresponding '2 limit and lower limit threshold data 1 will be updated by the counter II by the same operation. An update is further instructed by the increment I of the address instruction signal 3 by "l", and the corresponding upper and lower limit threshold data 4a and 4b from each address for which the update is instructed are the upper and lower limit comparison circuits 10a and 10a, jo.
b, and is compared with constant input data l to be processed 1111. By repeating such operations, it is possible to handle a plurality of input data groups to be measured using two comparison circuits and simple peripheral circuits, that is, one counter or address scanning circuit and two memory circuits. The number of input data to be measured l that can be processed is an upper limit and a lower limit storage circuit 12a.
, +2b, which is generally quite large, so it can be said that the circuit of the present invention is more effective as the number of input data l to be measured increases.

また、−1−記では簡単のため、連番のアドレスに各被
測定人力データの入力順に応じて対応するに限、下限閾
値データを格納していくように示したか、勿論、アドレ
スの指示順を定めて置けば、必すしも連番である必要は
なく、上限値設定用記憶回路と下限値設定用記憶回路と
で異なっていても良い。
In addition, for the sake of simplicity in section -1-, it is indicated that the lower limit threshold data is stored in sequentially numbered addresses according to the input order of each human power data to be measured. If it is determined, it does not necessarily have to be a consecutive number, and the upper limit value setting memory circuit and the lower limit value setting memory circuit may be different.

史に、図示の場合は被測定人力データlの入力ラインが
一本だけであるが、複数の場合には入力側に周知のマル
チ・プレクサを介在させること笠により、これに対応す
ることができる。
In the case shown, there is only one input line for the human power data to be measured, but in the case of multiple input lines, this can be handled by interposing a well-known multiplexer on the input side. .

以1−1要するに、本発明では、順番に1−限、下限比
較回路に送られる複数の被測定人力データの更新に伴い
、−I−限値、ド限値各設定用記憶回路中のアドレスを
同期的に更新指示し、当該更新指示されたアドレス中か
ら、−に記更新された被測定入力データに対応するl二
限、下限閾値データを読出し、−に限、ド限比較回路に
同期的に送り出すことにより、複数の被測定入力データ
とその各々に対応する上限、下限閾値データとの比較結
果を逐次fI1.これに基いて設定範囲内に対する各被
測定人力データの判別処理をするようにしたので、従来
のように被All定人力データの数の倍数分の比較回路
を要する不合理もなく、簡単な回路構成で目的を達成す
ることができる。
1-1 In short, in the present invention, with the update of a plurality of pieces of human power data to be measured that are sequentially sent to the 1-limit and lower limit comparison circuits, the addresses in the storage circuit for setting the -I-limit value and the D-limit value are updated. is instructed to update synchronously, reads the l2 limit and lower limit threshold data corresponding to the input data under test updated in - from the address for which the update was instructed, and synchronizes with the - limit and do limit comparison circuit. By sending fI1. Based on this, the discrimination processing for each measured human force data within the set range is performed, so there is no unreasonable need for comparison circuits for multiples of the number of all constant human force data as in the past, and the circuit is simple. You can achieve your goals through configuration.

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

図面は本発明の一実施例の概略構成図である。 図中、■は被測定入力データ、2はカウント−アンプ信
号、3はアドレス指示信号、4a、4bは1;限、下限
の各閾値データ、5a、5bは上限、F限の各比較結果
信号、 lOa、lobは上限、下限の各比較回路、 
11はカウンタ、 +2a、+2bは」二限、下限の各
記憶回路、 +4は判別回路、である。
The drawing is a schematic diagram of an embodiment of the present invention. In the figure, ■ is the input data to be measured, 2 is the count-amplifier signal, 3 is the address instruction signal, 4a and 4b are 1; each threshold value data of limit and lower limit, 5a and 5b are each comparison result signal of upper limit and F limit , lOa and lob are upper and lower limit comparison circuits,
11 is a counter; +2a and +2b are memory circuits for the second and lower limits; and +4 is a discrimination circuit.

Claims (1)

【特許請求の範囲】[Claims] 複数の被測定人力データの各々を、夫々が固有のに限閾
値と下限閾値とで規定される設定範囲内に入っているか
否かを判別するプログラマブル・デジタル・ライイド・
コンパレータであって、」−限比較用、下限比較用の両
比較回路に順番に送られる上記複数の被測定入力データ
の更新に伴い、上限閾値データを記憶している上限値設
定用記憶回路及び下限閾値データを記憶している下限(
(i設定用記憶回路中の各アドレスを同期的に更新指示
し、当該更新指示されたアドレス中から、上記更新され
た被測定入力データに対応する上限、ド限の各閾値デー
タを読出し、−上記上限、下限の比較回路に同期的に送
り出すことにより、上記複数の被測定入力データとその
各々に対応する上限 下限の閾値データとの汁旬鈷讐を
得、このト限、下限の各比較結果信号に基き、該被測定
入力データが上記設定範囲内にあるか否かの判別信号を
出力することを特徴とするプログラマブル・デジタル・
ウィンド・コンパレータ。
A programmable digital RAIID system that determines whether or not each of a plurality of pieces of measured human power data falls within a set range defined by a unique limit threshold and a lower limit threshold.
A comparator, comprising: an upper limit value setting storage circuit which stores upper limit threshold data in accordance with the update of the plurality of input data to be measured which are sequentially sent to both the limit comparison and lower limit comparison comparison circuits; The lower limit where the lower limit threshold data is stored (
(Instructs to update each address in the i setting memory circuit synchronously, reads each threshold value data of upper limit and de limit corresponding to the updated input data to be measured from among the addresses for which update is instructed, - By synchronously sending the data to the upper and lower limit comparison circuits, a comparison between the plurality of input data to be measured and the corresponding upper and lower limit threshold data is obtained, and each of the upper and lower limits is compared. A programmable digital device characterized in that it outputs a determination signal based on the result signal to determine whether the input data to be measured is within the above-mentioned setting range.
Wind comparator.
JP18917683A 1983-10-12 1983-10-12 Programmable digital window comparator Pending JPS6081919A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18917683A JPS6081919A (en) 1983-10-12 1983-10-12 Programmable digital window comparator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18917683A JPS6081919A (en) 1983-10-12 1983-10-12 Programmable digital window comparator

Publications (1)

Publication Number Publication Date
JPS6081919A true JPS6081919A (en) 1985-05-10

Family

ID=16236755

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18917683A Pending JPS6081919A (en) 1983-10-12 1983-10-12 Programmable digital window comparator

Country Status (1)

Country Link
JP (1) JPS6081919A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53144641A (en) * 1977-05-23 1978-12-16 Nec Corp Window comparator

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53144641A (en) * 1977-05-23 1978-12-16 Nec Corp Window comparator

Similar Documents

Publication Publication Date Title
EP0360527A3 (en) Parallel computer system using a simd method
ES2024299A6 (en) Communication switching element for transferring cells divided into subcells.
EP0370543A3 (en) Digital neural network
EP0333346A3 (en) Hard-wired circuit for sorting data
JPS6081919A (en) Programmable digital window comparator
JPH0989999A (en) Semiconductor testing device
EP1475716A3 (en) A data processing unit, a data processing structure unit, and a data processing structure
JPS6081918A (en) Programmable digital comparator
JPH04180124A (en) Sort processor
JPS62182857A (en) Input and output controller
EP2157734A3 (en) Method and apparatus for identifying components of a network having high importance for network integrity
ES2002300A6 (en) Data processing system for processing units having different throughputs.
JPS62151028A (en) Data converting device
JPS63240648A (en) Data compressing/storing system
JPS6429952A (en) Memory access controller
DE68926838D1 (en) Data processing system, suitable for storing firmware data in control memories from an input / output processor with reduced hardware
JPS62114185A (en) Memory lsi constituting system
JPH01151854A (en) Line scanning system
JPH02110758A (en) Dma transfer system
JPH0766032B2 (en) Test system
JPS63296151A (en) Memory device with paging function
JPS62256139A (en) Data processor
JPH0651813A (en) A/d conversion unit
JPS6242235A (en) Virtual stack system
JPS6030220A (en) Data compression system of parallel-serial converter