JPH02149153A - Multi-code detecting circuit - Google Patents
Multi-code detecting circuitInfo
- Publication number
- JPH02149153A JPH02149153A JP63303209A JP30320988A JPH02149153A JP H02149153 A JPH02149153 A JP H02149153A JP 63303209 A JP63303209 A JP 63303209A JP 30320988 A JP30320988 A JP 30320988A JP H02149153 A JPH02149153 A JP H02149153A
- Authority
- JP
- Japan
- Prior art keywords
- code
- detected
- circuit
- detection
- codes
- 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
Links
Landscapes
- Detection And Prevention Of Errors In Transmission (AREA)
- Communication Control (AREA)
Abstract
Description
【発明の詳細な説明】
〔目 次〕
概要
産業上の利用分野
従来の技術
発明が解決しようとする課題
課題を解決するための手段
作用
実施例
1、実施例と第1図との対応関係
■、実施例の構成
■、実施例の動作
■、実施例のまとめ
■0発明の変形態様
発明の効果
〔概 要〕
伝達されたコードから次処理を決定するための制御を行
う多種コード検出回路に関し、回路の規模を小さくする
ことを目的とし、共通に導入されるコードに対してそれ
ぞれ特定のコードを複号化する複数のデコーダと、複数
のデコーダによって検出されたコードに同一コードが連
続して存在するか否かを検出する連続検出手段と、同一
コードが連続して検出された場合にその検出コードに対
応する情報を次処理部に伝達する保護手段とを具えるよ
うに構成する。[Detailed Description of the Invention] [Table of Contents] Overview Industrial Field of Application Conventional Technology Problems to be Solved by the Invention Means for Solving the Problems Action Example 1 Correspondence between the Example and FIG. 1■ , Structure of the embodiment ■, Operation of the embodiment ■, Summary of the embodiment ■ 0 Modifications of the invention Effects of the invention [Summary] Concerning a multi-code detection circuit that performs control to determine the next process from a transmitted code , with the aim of reducing the size of the circuit, is to use multiple decoders that each decode a specific code for a commonly introduced code, and a system in which the same code is consecutively detected by multiple decoders. The apparatus is configured to include a continuous detection means for detecting whether or not the same code exists, and a protection means for transmitting information corresponding to the detected code to the next processing section when the same code is detected continuously.
本発明は、多種コード検出回路に関し、例えば加入者系
伝送路において伝達されるコードを基に次処理制御を行
なう多種コート検出回路に関するものである。The present invention relates to a multi-code detection circuit, and more particularly, to a multi-code detection circuit that performs subsequent processing control based on a code transmitted through a subscriber transmission line.
(従来の技術〕
第4図に従来例を示す。図において、各種のコードを表
すシリアルデータはクロックパルスに応じてシフトレジ
スタで成る直−並列変換回路411でパラレルデータに
変換された後、例えば3個のデコーダ4131〜413
.に共通に導入される。(Prior Art) A conventional example is shown in Fig. 4. In the figure, serial data representing various codes is converted into parallel data in a serial-to-parallel conversion circuit 411 consisting of a shift register according to a clock pulse, and then, for example, 3 decoders 4131-413
.. commonly introduced in
いま、1つのデコーダ4131は例えば“アラームパの
コードであるAを複号化するものであるとすると、導入
されたコードがAであれば当8亥テ゛コーダ413Iは
複号化したアラーム情報を出力する。また、他のデコー
ダ413□、4133のそれぞれも独自のコードB、C
を複号化するものである。Now, suppose that one decoder 4131 decodes, for example, "A" which is the code of "alarm pad". If the introduced code is A, the decoder 413I outputs the decoded alarm information. .Furthermore, each of the other decoders 413□ and 4133 also has its own code B and C.
It decodes the .
各デコーダ413に対応する保護回路415(保護回路
415..415□及び4153)は、その連続検出処
理及び連続して検出された場合の伝達回数計算処理を行
なう。The protection circuit 415 (protection circuit 415..415□ and 4153) corresponding to each decoder 413 performs continuous detection processing and calculation processing for the number of transmissions when consecutive detections are made.
例えば、データにて示されるコードの中にコードA(ア
ラーム)が連続すればその都度デコーダ413、がコー
ドAの複号化情報を保護回路415Iに伝え、保護回路
415Iが所定回数を計数したとき、保護回路4151
の次段に接続されている検出回路部(図示せず)に出力
信号を供給し当該検出回路部はコードへの到達を知る。For example, each time code A (alarm) continues among the codes indicated by the data, the decoder 413 transmits the decoding information of code A to the protection circuit 415I, and when the protection circuit 415I counts a predetermined number of times, , protection circuit 4151
An output signal is supplied to a detection circuit unit (not shown) connected to the next stage of the code, and the detection circuit unit knows that the code has been reached.
他のデコーダ413□、413:+に接続されている保
護回路415□、4153についても同様である。The same applies to the protection circuits 415□ and 4153 connected to the other decoders 413□ and 413:+.
〔発明が解決しようとする課題]
ところで、上述した従来回路にあっては、デコーダ41
3に対応して保護回路415を設け、検出対象コード毎
にコードの連続検出及び計数を行うようにしているため
、回路構成が?J[9fffiとなっていた。特に検出
対象コードが多数となるに従って回路規模が更に大きく
なるという問題点があった。[Problems to be Solved by the Invention] By the way, in the conventional circuit described above, the decoder 41
3, a protection circuit 415 is provided to perform continuous code detection and counting for each code to be detected. J [It was 9fffi. In particular, there is a problem in that the circuit scale becomes larger as the number of codes to be detected increases.
本発明は、このような点にかんがみて創作されたもので
あり、回路規模の小さい多種コード検出回路を提供する
ことを目的としている。The present invention was created in view of these points, and an object of the present invention is to provide a multi-code detection circuit with a small circuit scale.
第1図は、本発明の多種コード検出回路の原理゛ブロッ
ク図である。FIG. 1 is a block diagram showing the principle of a multi-code detection circuit according to the present invention.
図において、複数のデコーダ111は、共通に導入され
るコードに対してそれぞれ特定のコードを複号化する。In the figure, a plurality of decoders 111 each decode a specific code for commonly introduced codes.
連続検出手段113は、複数のデコーダ111によって
検出されたコードに同一コードが連続して存在するか否
かを判断する。Continuity detection means 113 determines whether or not the same code exists consecutively among the codes detected by the plurality of decoders 111.
保護手段115は、同一コードが連続して検出された場
合に、その検出コードに対応する情報を次処理部に伝達
することを決定する。When the same code is detected consecutively, the protection means 115 determines to transmit information corresponding to the detected code to the next processing unit.
従って、全体として、同一コードが連続して検出された
場合にのみその検出情報が出力されるように構成されて
いる。Therefore, the overall configuration is such that detection information is output only when the same code is detected consecutively.
データによって表されるコードは複数のデコーダ111
に共通に供給され、そのいずれかにおいて複号化される
。The code represented by the data is sent to multiple decoders 111.
and decoded in either of them.
複号化されたコードは連続検出手段113において、連
続して出現しているコードが存在するか否かを検出し、
その結果から保護手段115は、前回に検出されたコー
ドと同一のコードが検出されている場合には検出コード
に対応する情報を当該次処理部に供給する。The decoded code is detected by a continuous detection means 113 to detect whether or not there is a code that appears continuously,
Based on the result, if the same code as the previously detected code is detected, the protection means 115 supplies information corresponding to the detected code to the next processing unit.
本発明にあっては、保護部を共用するために回路が小規
模となる。In the present invention, since the protection section is shared, the circuit becomes small-scale.
〔実施例〕
以下、図面に基づいて本発明の実施例について詳細に説
明する。[Example] Hereinafter, an example of the present invention will be described in detail based on the drawings.
第2図は、本発明の一実施例における多種コード検出回
路の構成を示す。FIG. 2 shows the configuration of a multi-code detection circuit in one embodiment of the present invention.
の
ここで、本発明の実施例と第1図との対応関係を示して
おく。Here, the correspondence relationship between the embodiment of the present invention and FIG. 1 will be shown.
デコーダ111は、デコーダ2211〜221、に相当
する。Decoder 111 corresponds to decoders 2211 to 221.
連続検出手段113は、連続検出部231に相当する。The continuity detection means 113 corresponds to the continuity detection section 231.
保護手段115は、保護回路241.アンドゲート24
3I〜2433に相当する。The protection means 115 includes a protection circuit 241. and gate 24
Corresponds to 3I-2433.
以上のような対応関係があるものとして、以下本発明の
実施例について説明する。Examples of the present invention will be described below assuming that the correspondence relationship as described above exists.
J−」1柵例m衣
第2図に示す多種コード検出回路は3種類のコードa、
b、cの連続伝達を検出するものである。The multi-code detection circuit shown in Figure 2 detects three types of codes a,
This detects the continuous transmission of b and c.
図において、実施例による多種コード検出回路は送信さ
れたコードを表すシリアルデータをパラレルデータに変
換するシフトレジスタの直−並列変換回路211と、コ
ードを複号化する3つのデコーダ2211〜221コと
、同一のコードが連続して伝達されたか否かを検出する
連続検出部231と、連続して検出されたニードの保護
を行う保護回路241と、保護回路241の出力をどの
検出回路部(図示せず)に伝達するかを決定するアンド
ゲート243I〜243.から構成されている。In the figure, the multi-code detection circuit according to the embodiment includes a shift register serial-to-parallel conversion circuit 211 that converts serial data representing transmitted codes into parallel data, and three decoders 2211 to 221 that decode the codes. , a continuous detection section 231 that detects whether the same code is transmitted continuously, a protection circuit 241 that protects continuously detected needs, and which detection circuit section (Fig. AND gates 243I-243. It consists of
連続検出部231は、検出対象コード単位に連続して伝
達されているかを検出する連続検出回路233I〜23
3.と、対応する検出対象コードが検出されたか否かを
保持する検出伝達回路235、〜2353と、連続検出
回路2331〜233、及び検出伝達回路2351〜2
353の出力を基に検出対象コード中に連続して検出さ
れているコードがあるかを判断する保護対象検出回路2
37とで構成されている。The continuity detection unit 231 includes continuity detection circuits 233I to 23 that detect whether or not each detection target code is continuously transmitted.
3. , detection transmission circuits 235 to 2353 that hold whether or not the corresponding detection target code has been detected, continuous detection circuits 2331 to 233, and detection transmission circuits 2351 to 2.
Protection target detection circuit 2 determines whether there is a code that is continuously detected in the detection target codes based on the output of 353.
It consists of 37.
連続検出回路233.〜233.のそれぞれは、1つの
Dフリップフロップ(D−FF)と1つのアンドゲート
とで構成されており、D=FFのD入力端子は対応する
デコーダ221の出力端子に接続されている。アンドゲ
ートの一方の入力端子は対応するデコーダ221の出力
端子に、他方の入力端子はD−FFの出力端子Qに接続
されている。Continuous detection circuit 233. ~233. Each of them is composed of one D flip-flop (D-FF) and one AND gate, and the D input terminal of D=FF is connected to the output terminal of the corresponding decoder 221. One input terminal of the AND gate is connected to the output terminal of the corresponding decoder 221, and the other input terminal is connected to the output terminal Q of the D-FF.
検出伝達回路2351〜2353のそれぞれは1つのオ
アゲートと1つのJKフリップフロップ(JK−FF)
とで構成されている。オアゲートの2つの入力端子のそ
れぞれは対応しない2つのデコーダ221の各出力端子
に接続されている。Each of the detection transfer circuits 2351 to 2353 has one OR gate and one JK flip-flop (JK-FF).
It is made up of. Each of the two input terminals of the OR gate is connected to each output terminal of two non-corresponding decoders 221.
また、JK−FFのJ入力端子は対応するデコーダ22
1の出力端子に、K入力端子はオアゲートの出力端子に
それぞれ接続されている。ここでは、検出伝達回路23
51のオアゲートの入力端子はデコーダ221□とデコ
ーダ221.の出力端子に、JK−FFのJ入力端子は
デコーダ2211の出力端子に接続されている。In addition, the J input terminal of JK-FF is connected to the corresponding decoder 22.
1 and the K input terminal are respectively connected to the output terminal of the OR gate. Here, the detection transmission circuit 23
The input terminals of the OR gate 51 are connected to the decoder 221□ and the decoder 221. The J input terminal of the JK-FF is connected to the output terminal of the decoder 2211.
保護対象検出回路237は4つのナントゲートから構成
されている。3つのナントゲート238、〜238.の
それぞれにおいて、一方の入力端子は対応する連続検出
回路233に、他方の入力端子は検出伝達回路235の
出力端子に接続されている。他のナントゲート239に
は、3つのナントゲート238.〜2383の出力が供
給されるようになっている。また、ナントゲート239
の出力端子は保護回路241の入力端子に接続されてい
る。The protection target detection circuit 237 is composed of four Nant gates. Three Nantes Gates 238, ~238. In each, one input terminal is connected to the corresponding continuous detection circuit 233, and the other input terminal is connected to the output terminal of the detection transfer circuit 235. The other Nantes gates 239 include three Nantes gates 238 . ~2383 outputs are supplied. Also, Nantes Gate 239
The output terminal of is connected to the input terminal of the protection circuit 241.
アントゲ−)2431〜2433のそれぞれは2つの入
力端子を有し、その一方は保護回路241の出力端子に
共通に接続され、他方は対応する検出伝達回路235の
出力端子に接続されている。Each of the controllers 2431 to 2433 has two input terminals, one of which is commonly connected to the output terminal of the protection circuit 241, and the other to the output terminal of the corresponding detection transfer circuit 235.
直−並列変換回路211にはクロックパルスが導入され
、全てのD−FFとJK−FFのクロック入力端子T及
び保護回路241のクロック入力端子Tには1バイトを
取り込むタイミングを計るパルスとしてバイトタイミン
グ信号が導入されている。A clock pulse is introduced into the serial-to-parallel conversion circuit 211, and the clock input terminal T of all D-FF and JK-FF and the clock input terminal T of the protection circuit 241 receives a byte timing pulse as a pulse to measure the timing to take in one byte. Signals have been introduced.
1[−(螺阪作
本発明実施例の多種コード検出回路の動作は、■複号化
処理、■連続検出処理、■保護処理からなる。第3図に
、コードがa→a→a→C→C→1)4 aと伝達され
た場合の各回路の出力値を示す。1[-(by Rasaka) The operation of the multi-code detection circuit according to the embodiment of the present invention consists of (1) decoding processing, (2) continuous detection processing, and (2) protection processing. The output values of each circuit are shown when the signal is transmitted as C→C→1)4a.
尚、コードaはデコーダ221.、 コードbはデコー
ダ221g、 コードCはデコーダ221.によりそれ
ぞれ複号化されるものとする。以下、第2図及び第3図
を参照する。但し、当初全てのフリップフロップはリセ
ット状態にあるものとする。Note that the code a is sent to the decoder 221. , code b is sent to the decoder 221g, code C is sent to the decoder 221. Assume that each is decoded by Hereinafter, reference will be made to FIGS. 2 and 3. However, it is assumed that all flip-flops are initially in a reset state.
■複号化処理
まず、コードを表すデータはクロックパルスに従って直
−並列変換回路211よりシリアル状態からパラレル状
態に変換された後、デコーダ2211〜2213に導入
されて複号化される。コード検出を行ったデコーダ22
1からは論理状態“1″が出力され、それ以外のデコー
ダ221からは論理状態″“0”が出力される。ここで
a−+a→a→(−+ (→b→aのコードに対して、
デコーダ2211の出力状態は、1°°→″1”→u
I II→“°0″→“0°°→“0″→“1”となる
。また、デコーダ221□は“0”→“−〇”→“0″
→“0″→“0”→″“1”→“0′”、デコーダ22
1、は0″→″0″→゛0″→°°1″→“1′→゛°
0”→“0”となる(第3図該当欄参照)。(2) Decoding Process First, data representing a code is converted from a serial state to a parallel state by a serial-to-parallel conversion circuit 211 in accordance with a clock pulse, and then introduced into decoders 2211 to 2213 and decoded. Decoder 22 that performed code detection
1 outputs the logic state "1", and the other decoders 221 output the logic state "0".Here, for the code of a-+a→a→(-+(→b→a) hand,
The output state of the decoder 2211 is 1°°→″1″→u
I II → "°0" → "0°° → "0" → "1". Also, the decoder 221□ changes from "0" → "-〇" → "0"
→“0”→“0”→”“1”→“0′”, decoder 22
1 is 0″→″0″→゛0″→°°1″→“1′→゛°
0” → “0” (see the relevant column in Figure 3).
■連続検出処理
次に、全検出対象コードから連続して検出されているコ
ードの存在を調べる。■Continuous Detection Process Next, the existence of codes that are continuously detected is checked from among all the codes to be detected.
まず、各検出対象コード毎に連続検出回路2331〜2
333においてコードが連続して検出されたかを調べ、
検出伝達回路2351〜235゜においてコードの検出
有無を調べる。連続してコードが検出された連続検出回
路233からは論理状態“1”が出力され、それ以外の
検出伝達回路235からは論理状態“0”が出力される
。コードが検出された検出伝達回路235からは論理状
態“°1”が出力され、それ以外の検出伝達回路235
からは論理状態°“0″が出力される。First, continuous detection circuits 2331 to 2 for each detection target code
Check whether the code is detected consecutively in 333,
The detection transmission circuits 2351 to 235° check whether or not a code is detected. A logic state "1" is output from the successive detection circuit 233 in which codes are detected continuously, and a logic state "0" is output from the other detection transmission circuits 235. A logic state "°1" is output from the detection transmission circuit 235 in which the code is detected, and the other detection transmission circuits 235
The logic state °“0” is outputted from.
次に、連続検出回路233.と検出伝達回路2352.
連続検出回路233□と検出伝達回路235□、連続検
出回路233.と検出伝達回路2353のそれぞれ2つ
の出力をナントゲート238、.23B□及び2383
に入力し、更にナントゲート23EL〜2383の出力
をナントゲート239に入力することにより、全検出対
象コード中に連続して同一のコードが伝達されたものが
存在するか否かを調べる。連続してコードが検出された
ナントゲート238からは論理状態II O11が出力
され、それ以外のナントゲート238からは論理状態°
°1”′が出力される。ナントゲート239からは、連
続して検出されたコードがある場合には論理状態゛1“
が出力され、連続して検出されたコードがない場合には
論理状態“0゛が出力される。Next, the continuous detection circuit 233. and detection transfer circuit 2352.
Continuous detection circuit 233□, detection transmission circuit 235□, continuous detection circuit 233. and the two outputs of the detection transfer circuit 2353 respectively to the Nant gates 238, . 23B□ and 2383
By further inputting the outputs of the Nant gates 23EL to 2383 to the Nant gate 239, it is checked whether or not there is one in which the same code is continuously transmitted among all the codes to be detected. Logic state II O11 is output from the Nantes gate 238 where the code is detected continuously, and the logic state ° is output from the other Nantes gates 238.
°1"' is output. If there are consecutively detected codes, the Nant gate 239 outputs the logic state "1".
is output, and if there are no consecutively detected codes, a logic state "0" is output.
第3図に示すように、1回目はコードaである。As shown in FIG. 3, the first time is code a.
このときコードaの連続検出を行う連続検出回路233
1の出力は、Dフリップフロップの状態が0”であるた
め′0”となる。他の2つの連続検出回路233□及び
2333の出力も、各Dフリップフロップの値がu O
!1でありまたデコーダ221□及び2213の出力が
0”であるため0°゛である。このとき検出伝達回路2
35.は“1”を出力し、検出伝達回路235□及び検
出伝達回路235.は“0″を出力する。このときナン
トゲート238.、’23B□及び2383の状態はい
ずれも“1″であり、ナントゲート239の状態は°“
0″となる。これは連続して伝達されたコードが存在し
ていないことを示す。At this time, a continuous detection circuit 233 performs continuous detection of code a.
The output of 1 becomes '0' because the state of the D flip-flop is 0'. The outputs of the other two continuous detection circuits 233□ and 2333 also have the values of each D flip-flop u O
! 1, and the outputs of the decoders 221□ and 2213 are 0'', so it is 0°''.
35. outputs "1", and the detection transfer circuit 235□ and the detection transfer circuit 235. outputs “0”. At this time, Nantes Gate 238. , '23B□ and 2383 are all "1", and the state of Nant Gate 239 is °"
0''. This indicates that there are no consecutively transmitted codes.
2回目もコードaであるので、コードaの連続検出を行
う連続検出回路233.のDフリップフロップの状態が
°“1″であり且つデコーダ2211の出力状態が1′
であるため、連続検出回路2331の出力状態は“1″
°となる。他の連続検出回路233□及び2333の各
Dフリップフロップの値は0゛であり且つデコーダ22
12及び2213の出力は”0パであるため他の連続検
出回路233□及び233.の出力状態は′°0°。Since the second code is also code a, the continuous detection circuit 233. which continuously detects code a. The state of the D flip-flop is "1" and the output state of the decoder 2211 is 1'
Therefore, the output state of the continuous detection circuit 2331 is “1”
°. The value of each D flip-flop of the other continuity detection circuits 233□ and 2333 is 0゛, and the decoder 22
Since the outputs of 12 and 2213 are "0", the output states of the other continuous detection circuits 233□ and 233. are '0°.
である。このとき検出伝達回路235.は論理状態“1
”を出力し、検出伝達回路235!及び235.は論理
状態゛′0”を出力する。またナントゲート23B、は
論理状態“0”を出力し、他の2つのナントゲート23
8□及び238.はいずれも論理状態“°I”を出力す
る。そのため、ナントゲート239は論理状態“1“°
となり、連続して検出されたコードが存在していること
を表す。It is. At this time, the detection transmission circuit 235. is the logical state “1”
", and the detection transfer circuits 235! and 235. output a logic state "0". In addition, the Nant gate 23B outputs the logic state "0", and the other two Nant gates 23B output the logic state "0".
8□ and 238. Both output the logic state "°I". Therefore, the Nant gate 239 is in the logic state “1”°
, indicating that there are consecutively detected codes.
このようにして第3図に示すようにコードがa→a−+
a→C→C→b→aと伝達されるとき、コードaに関連
する回路の出力は、連続検出回路2331が“0“°→
“l′→“1”→″0゛°→“°0″→“0パ→“0゛
°、検出伝達回路235.が“1”→“I II→II
I II→“O”→610”→“0”→“0”、ナン
トゲート2381が“°1″→″OII→“°0°°→
“1″→“l”→°“1゛°→°“1nとなる。In this way, the code changes from a to a-+ as shown in Figure 3.
When the signal is transmitted as a→C→C→b→a, the output of the circuit related to code a is determined by the continuity detection circuit 2331 as “0”→
"l'→"1"→"0゛°→"°0"→"0pa→"0゛°, detection transmission circuit 235. is “1” → “I II → II
I II→“O”→610”→“0”→“0”, Nantes Gate 2381 is “°1”→”OII→“°0°°→
"1"→"l"→°"1゛°→°"1n.
コードbに関連する回路の出力は、連続検出回路233
゜が0”→″0”→“0”→“0”→II OII→“
0°′→“0”、検出伝達回路235゜が“0″→°゛
0″→°“0”→″0″→“0”→1″→゛0”、ナン
トゲート2382が“1“→″1″→″I II→″l
″→”l”→″1”→“1”となる。The output of the circuit related to code b is the continuity detection circuit 233
゜ is 0” → “0” → “0” → “0” → II OII → “
0°'→“0”, detection transfer circuit 235° is “0”→°゛0″→°“0”→″0″→“0”→1″→“0”, Nant gate 2382 is “1” →″1″→″I II→″l
"→"l"→"1"→"1".
コードCに関連する回路の出力は、連続検出回路233
3が“0”→“0”→、“0”→″0″→111”→“
0”→″0″°、検出伝達回路235゜がII OH→
II O”→“0”→″11′→II 1”→0°°→
“0″、ナントゲート238.が“1″→″1”→“1
′→“+1+1→“0”→“1″→“1″となる。The output of the circuit related to code C is the continuity detection circuit 233.
3 is “0” → “0” →, “0” → “0” → 111” → “
0"→"0"°, detection transfer circuit 235° is II OH→
II O”→“0”→″11′→II 1”→0°°→
“0”, Nantes Gate 238. is “1” → “1” → “1”
′→“+1+1→“0”→“1”→“1”.
この結果ナントゲート239の状態は、0°゛→″1″
→″1”→″0”→II 1”→II O”→0″とな
る。As a result, the state of the Nant gate 239 is 0°゛→″1″
→"1"→"0"→II 1"→II O"→0".
■保護処理
連続して検出されたコードがある場合(ナントゲート2
39の出力が論理状態゛1°゛であるとき)には、保護
回路241の出力論理状態は“1”となる、また、コー
ドが連続して検出されない場合(ナントゲート239の
出力が論理状態゛0”であるとき)には、保護回路24
1の出力論理状態は“0”となる。この保護回路241
の出力はアンドゲート243.〜243.に共通に供給
されるので、どのアンドゲート243を通るかで連続検
出コードが特定される。つまり、保護回路241の論理
状態が“1”であるとき、コードを検出したデコーダに
対応するアンドゲート243からは論理状態が1°”が
出力され、それ以外のアンドゲート243からは0”が
出力される。■Protection processing If there are codes detected continuously (Nantes Gate 2
When the output of the Nant gate 239 is in the logic state "1"), the output logic state of the protection circuit 241 is "1". 0”), the protection circuit 24
The output logic state of 1 becomes "0". This protection circuit 241
The output of AND gate 243. ~243. Since the continuous detection code is supplied in common to both, the continuous detection code is specified depending on which AND gate 243 is passed through. In other words, when the logic state of the protection circuit 241 is "1", the AND gate 243 corresponding to the decoder that detected the code outputs the logic state "1°", and the other AND gates 243 output "0". Output.
第3図に示すようにコードが、a−4a→a→C→c−
+b−+aと伝達された場合の保護回路241の出力状
態は′0゛→“′1°′→゛1”→“0゛→°“l I
I→゛0°゛→II OIIであり、このときアントゲ
−)243.は”°0″→II I H→”1゛°→”
0″→“0°′→“0”→″“0”を出力する。またア
ンドゲート243□の状態は、“0゛°→°“0゛→“
0゛°→uO”→″0”→″0″→“0″で、コードb
は連続して送信されなかったことが表される。As shown in Figure 3, the code is a-4a→a→C→c-
When +b-+a is transmitted, the output state of the protection circuit 241 is '0゛→“'1°”→゛1”→“0゛→°“l I
I→゛0°゛→II OII, in which case Antogame)243. is “°0”→II I H→”1゛°→”
0''→“0°'→“0”→”Outputs “0”. Also, the state of the AND gate 243□ is “0゛°→°“0゛→“
0゛° → uO” → “0” → “0” → “0”, code b
indicates that they were not transmitted consecutively.
アントゲ−)243+の状態は、°“0”→“0″→“
0″→“0゛°→“1″→°′0“→′°0′”となる
。The state of Antogame) 243+ is °“0”→“0”→“
0''→“0゛°→“1”→°′0”→′°0′”.
アンドゲート2431〜243.の出力結果はそれぞれ
の検出回路部に伝達され、アンドゲート2431〜24
3.の出力結果における“1′′に応じて次処理が決定
される。ANDGATE 2431-243. The output results are transmitted to the respective detection circuit sections, and the AND gates 2431 to 24
3. The next process is determined according to "1'' in the output result of .
■ tIの とめ
このように、入力されるコードは2以上同時に生起しな
いという点に着目して、多種の検出対象コードから同一
のコードが連続して伝達されたか否かを検出する保護部
分が共用できるため、小規模の回路が実現できる。■ Focusing on the point that two or more input codes do not occur at the same time, the protection part that detects whether or not the same code is continuously transmitted from a variety of detection target codes is shared. Therefore, small-scale circuits can be realized.
■ の・1
なお、上述した本発明の実施例にあっては、後方保護を
取り上げたが、前方保護の場合にはJK−FFのJ入力
端子をマスクし、他のコードが伝達されてもJK−FF
の結果が変わらないようにする。■ No. 1 In the embodiment of the present invention described above, rear protection was taken up, but in the case of forward protection, the J input terminal of the JK-FF is masked so that even if other codes are transmitted, JK-FF
so that the results do not change.
また、検出対象コードは4種類以上でもよい。Furthermore, there may be four or more types of codes to be detected.
この場合には、対象コード毎にデコーダ221連続検出
回路233.検出伝達回路235.ナントゲ−)238
.アンドゲート243を設ければよい。In this case, the decoder 221 continuity detection circuit 233 . Detection transfer circuit 235. Nanto Game) 238
.. An AND gate 243 may be provided.
更に、「1.実施例と第1図との対応関係」において、
・本発明と実施例との対応関係を説明しておいたが、本
発明はこれに限られることはなく、各種の変形態様があ
ることは当業者であれば容易に推考できるであろう。Furthermore, in "1. Correspondence between Examples and FIG. 1",
- Although the correspondence between the present invention and the embodiments has been explained, those skilled in the art will easily guess that the present invention is not limited to this and that there are various modifications.
〔発明の効果ゴ
上述したように、本発明によれば、コード伝達の連続検
出部分が共用されるため、回路規模が小さくなり実用的
には極めて有用である。[Effects of the Invention] As described above, according to the present invention, since the continuous detection portion of code transmission is shared, the circuit scale is reduced and it is extremely useful in practice.
第1図は本発明の多種コード検出回路の原理ブロック図
、
第2図は本発明の一実施例による多種コード検出回路の
構成ブロック図、
第3図は各回路の出力値の説明図、
第4図は従来技術の説明図である。
図において、
111はデコーダ、
113は連続検出手段、
115は保護手段、
211.411は直−並列変換回路、
221.413はデコーダ、
231は連続検出部、
233は連続検出回路、
235は検出伝達回路、
237は保護対象検出回路、
238.239はナントゲート、
241.415は保護回路、
243はアンドゲートである。
胚東釈歌(
、才5・〔至コ烙ζへ上L−ブブイ、1.y!−〇月a
第3図FIG. 1 is a principle block diagram of a multi-code detection circuit according to the present invention; FIG. 2 is a block diagram of the configuration of a multi-code detection circuit according to an embodiment of the present invention; FIG. 3 is an explanatory diagram of output values of each circuit; FIG. 4 is an explanatory diagram of the prior art. In the figure, 111 is a decoder, 113 is a continuity detection means, 115 is a protection means, 211.411 is a serial-to-parallel conversion circuit, 221.413 is a decoder, 231 is a continuity detection section, 233 is a continuity detection circuit, 235 is a detection transmission 237 is a protection target detection circuit, 238.239 is a Nant gate, 241.415 is a protection circuit, and 243 is an AND gate. Embryo East Shake ( , Sai 5.
Figure 3
Claims (1)
コードを複号化する複数のデコーダ(111)と、 前記複数のデコーダ(111)によって検出されたコー
ドに同一コードが連続して存在するか否かを検出する連
続検出手段(113)と、 同一コードが連続して検出された場合にその検出コード
に対応する情報を次処理部に伝達することを決める保護
手段(115)と、 を具えるように構成したことを特徴とする多種コード検
出回路。(1) A plurality of decoders (111) each decoding a specific code for a commonly introduced code, and the same code exists consecutively among the codes detected by the plurality of decoders (111). continuous detection means (113) for detecting whether the same code is detected consecutively; and protection means (115) for determining to transmit information corresponding to the detected code to the next processing unit when the same code is detected continuously. What is claimed is: 1. A multi-code detection circuit comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63303209A JPH02149153A (en) | 1988-11-30 | 1988-11-30 | Multi-code detecting circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63303209A JPH02149153A (en) | 1988-11-30 | 1988-11-30 | Multi-code detecting circuit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH02149153A true JPH02149153A (en) | 1990-06-07 |
Family
ID=17918194
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63303209A Pending JPH02149153A (en) | 1988-11-30 | 1988-11-30 | Multi-code detecting circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02149153A (en) |
-
1988
- 1988-11-30 JP JP63303209A patent/JPH02149153A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4498174A (en) | Parallel cyclic redundancy checking circuit | |
| FR2386865B1 (en) | ||
| JPH02149153A (en) | Multi-code detecting circuit | |
| US3522587A (en) | Line switching apparatus | |
| JPH011375A (en) | Video processing device and video processing method | |
| JPH1131084A (en) | Parity check circuit | |
| SU1249505A1 (en) | Device for comparing binary numbers | |
| SU1683179A1 (en) | Device for code compressing | |
| SU1262473A1 (en) | Information input device | |
| EP0294614B1 (en) | m bit to n bit code converting circuit | |
| SU949557A1 (en) | Device for checking electronic circuit electric parameters | |
| KR890000228Y1 (en) | Encoder for Teletext Information Transmission | |
| SU995086A1 (en) | Device for number comparison | |
| SU1104518A1 (en) | Device for processing interruptions | |
| SU746491A1 (en) | Interface | |
| SU964642A1 (en) | Priority device | |
| SU1591027A2 (en) | DEVICE FOR COUPLING A CENTRAL PROCESSOR WITH A GROUP OF PERIPHERAL PROCESSORS | |
| SU1642526A1 (en) | Data shifting and conversion device | |
| SU1283743A1 (en) | Device for checking conversion of information | |
| SU1462283A1 (en) | Information input device | |
| SU1005033A1 (en) | Number sorting device | |
| SU1431075A2 (en) | Device for decoding binary sequence | |
| JP3245622B2 (en) | Pattern comparison method | |
| SU1188783A2 (en) | Information shifting device | |
| SU687446A1 (en) | Device for interfacing computor with communication channels |