JPS63132575A - Circuit for detecting variable point of binary data - Google Patents

Circuit for detecting variable point of binary data

Info

Publication number
JPS63132575A
JPS63132575A JP27930286A JP27930286A JPS63132575A JP S63132575 A JPS63132575 A JP S63132575A JP 27930286 A JP27930286 A JP 27930286A JP 27930286 A JP27930286 A JP 27930286A JP S63132575 A JPS63132575 A JP S63132575A
Authority
JP
Japan
Prior art keywords
circuit
data
output
outputs
bit
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
JP27930286A
Other languages
Japanese (ja)
Inventor
Noboru Sonehara
曽根原 昇
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP27930286A priority Critical patent/JPS63132575A/en
Publication of JPS63132575A publication Critical patent/JPS63132575A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To speed up a detecting operation by providing a serial/parallel converting circuit, first-n-th latching circuits for inputting simultaneously the data of one unit being its output at every bit, the (n+1)-th latching circuit to which the output of the n-th latching circuit is inputted, and an EXOR circuit for setting the outputs of these adjacent latching circuits, as two inputs, respectively. CONSTITUTION:A serials/parallel converting circuit 2 inputs a serial binary data and outputs simultaneously a data consisting of (n) bits of one unit at every prescribed timing. To latching circuits (D flip flop) A1-An, the output of the converting circuit 2 is inputted, and to a circuit An+1, the output of the circuit An is inputted. Also, EXOR circuits C1-Cn set the outputs of each adjacent circuit of the circuits A1-An as two inputs, respectively, and a BXOR circuit Cn+1 sets each outputs of the (n+1)-th and the first latching circuit An+1, A1, as two inputs. According to such a constitution, with regard to a data of one unit, and also, with regard to the final bit of the data immediately before and the first data of the data concerned, whether a variation point exists or not can be detected immediately. By detecting the existence of this variation point, and counting the number of data until the variation point is generated, the code data of an MU system based on the result of its counting can be selected.

Description

【発明の詳細な説明】 (イt 産業上の利用分野 本発明は画像情報を高速に符号化して伝送するファクシ
ミリ装置、イメージスキャナ(画像読み取り装置)、光
デイスクファイル装置などに利用できる2値データの変
化点検出回路に関する。
DETAILED DESCRIPTION OF THE INVENTION (It) Field of Industrial Application The present invention relates to binary data that can be used in facsimile machines, image scanners (image reading devices), optical disk file devices, etc. that encode and transmit image information at high speed. This invention relates to a change point detection circuit.

(ロ)従来の技術 画像情報は、文字情報などコード化された情報に比ベデ
ータ量Cピット数)が多いため符号データに変換し、デ
ータ圧縮した形で伝送する方法がとられている。その一
つの方法として00 ITT(国際電信電話諮問委員会
)の勧告T4ではファクシミリ装置用に一次元符号方式
としてMH(Modi/ad Hu//man)方式を
勧告している。
(B) Conventional technology Since image information has a large amount of data (C pit count) compared to coded information such as character information, a method is used in which it is converted into coded data and transmitted in a compressed form. As one method, Recommendation T4 of 00 ITT (International Telegraph and Telephone Advisory Committee) recommends the MH (Modi/ad Hu//man) system as a one-dimensional encoding system for facsimile machines.

この方式は、連続した黒色i!j素C素工以下2値デー
タと記述)、または白色画素(以下2値データのOと記
述)を計数して、その数に応じた符号データを発生する
ことによってデータ圧縮を行う方法である。
This method uses continuous black i! This is a method of data compression by counting the number of white pixels (hereinafter referred to as binary data) or white pixels (hereinafter referred to as O for binary data) and generating code data according to that number. .

この方式の実現方法として、従来第4図に示すように、
マイクロ;ンピヱータ(財)の入力ボートに画像情報信
号からの連続した画像情報信号を直並列変換回路−によ
って並列変換(例えば1バイト(8ビツト)単位)して
入力し、プログラムにより連続したOまたは1のデータ
量(画素)を計数してその値に応じた符号データを符号
化ROM(続出し専用メモリ)@4から読み出してマイ
クロコンピュータ(財)の出力ポートよシ出す方法が用
いられていた。また、その他に、alE5図に示すよう
に、画像情報源のDからの画像情報信号をシフトレジス
タ□□□に入れ、クロック源脅からのシフトクロックと
同じ速度のクロックをビットカウンターの計数クロック
としてビットカウンター−に入れ、更にビットカウンタ
ーはデータがOから1あるいは1からOに変化する変化
点を検出する変化点検出回路−出力が得られるまで連続
しfcO1九は1のデータを計数していた。その後、こ
のビットカウンター(ロ)の値に応じた符号データを符
号化ROMf4から読み出し、並直変換回路−により直
列データとしてデータ圧縮した符号データを取り出す方
法が採用されていた。
Conventionally, as a method for realizing this method, as shown in Fig. 4,
Continuous image information signals are input into the input port of a microcomputer (incorporated) after being converted into parallel signals (in units of 1 byte (8 bits), for example) by a serial/parallel conversion circuit, and then converted into continuous O or The method used was to count the amount of data (pixels) of 1, read code data corresponding to that value from the encoded ROM (memory for continuous reading) @4, and output it to the output port of the microcomputer (incorporated). . In addition, as shown in Figure alE5, the image information signal from the image information source D is put into the shift register □□□, and the clock with the same speed as the shift clock from the clock source is used as the counting clock of the bit counter. The bit counter is then used as a change point detection circuit to detect the change point where the data changes from O to 1 or from 1 to O.FcO19 continues to count the data of 1 until the output is obtained. . Thereafter, a method has been adopted in which coded data corresponding to the value of the bit counter (b) is read out from the encoding ROM f4, and the coded data compressed as serial data by a parallel-to-serial conversion circuit is taken out.

(ハ)発明が解決しようとする問題点 このような従来の方法は符号イヒ速度がマイクロコンピ
ュータの命令実行速度、あるいはシフトレジスタのシフ
トクロックの速度などに依存する丸めに高速に符号化す
ることができにくい欠点があった。
(c) Problems to be Solved by the Invention These conventional methods cannot perform high-speed encoding due to rounding, where the code speed depends on the instruction execution speed of the microcomputer or the speed of the shift clock of the shift register. There was a drawback that it was difficult to do.

本発明は2値データの変化点の検出を迅速に行なうこと
ができる変化点検出回路を提供しようとするものである
The present invention aims to provide a change point detection circuit that can quickly detect a change point in binary data.

四 問題点を解決するための手段 本発明は、イメージスキャナ、光デイスクファイルなど
の画像情報をホストコンピュータなどに伝送する場合、
MH方式の符号化を高速に行なつて伝送時間を短縮する
丸めに、シリアルな2値データを入力し一定タイミング
毎に一単位nビットからなるデータを同時に出力するシ
リアルパラレル変換回路と、該シリアルパラレル変換回
路から同時に出力された一単位のデータをビット毎に同
時に入力する第1ないし第nラッチ回路(nは第 2以上の正の整数)と、1lanラッチ回路出力が入力
される第(n−1−+)ラッチ回路と、第1と第2ラッ
チ回路出力、第2と第3ラッチ回路出力、・・・、第(
n−1)と第nラッチ回路出力、及び第nと第(n+1
)ラッチ回路出力をそれぞれ2入力とする第1ないし第
(n−H)!!1XOR回路と、を備えることを特徴と
するものである。
4. Means for Solving the Problems The present invention provides methods for transmitting image information from an image scanner, optical disk file, etc. to a host computer, etc.
A serial-to-parallel conversion circuit that inputs serial binary data and simultaneously outputs data consisting of n bits per unit at fixed timings is used to reduce transmission time by performing MH encoding at high speed. The first to nth latch circuits (n is a positive integer greater than or equal to the second) into which one unit of data simultaneously output from the parallel conversion circuit is input bit by bit, and the (nth) latch circuit into which the 1LAN latch circuit output is inputted. -1-+) latch circuit, first and second latch circuit outputs, second and third latch circuit outputs, ..., the (
n-1) and the n-th latch circuit output, and the n-th and (n+1)-th
) first to (n-H) with two latch circuit outputs each! ! 1XOR circuit.

(ホ)作 用 本発明は上述の如く構成しているので一単位のデータに
付いて、並びに直前のデータの最終ビットと当該データ
の最初のデータとに付いて変化点が存在するかどうかを
即座に検出することができる。この変化点の有無を検出
し、変化点発生までのデータ数を計数し、その計数結果
に基づくMH方式の符号データの選定を可能にする。
(E) Operation Since the present invention is configured as described above, it is possible to determine whether or not there is a change point in one unit of data, as well as between the last bit of the immediately preceding data and the first data of the data. Can be detected instantly. The presence or absence of this change point is detected, the number of data until the change point occurs is counted, and code data of the MH system can be selected based on the counting result.

(へ)実施例 第1図は本発明回路を備える画像情報伝送装置の概略構
成図、第2図は本発明回路の1実施例の要部回路図、第
3図は同回路の動作説明のためのタイムチャート図であ
る。
(f) Embodiment FIG. 1 is a schematic configuration diagram of an image information transmission device equipped with the circuit of the present invention, FIG. 2 is a circuit diagram of a main part of an embodiment of the circuit of the present invention, and FIG. FIG.

第1図において、〔1)は符号化データ発生源であシ、
例えば文書原稿上の画像情報を読み取り、この画像情報
に基づくディジタルデータをシリアルに出力するもので
ある。
In FIG. 1, [1] is the encoded data source;
For example, it reads image information on a document and serially outputs digital data based on this image information.

(2)はこの符号化データ発生源(11からのシリアル
な2値データを入力するシリアルパラレル変換回路であ
シ、これは一定タイミング毎に一単位nビット(実施例
ではn−1)からなるデータをn個の出力端子に同時に
出力する。
(2) is a serial-to-parallel conversion circuit that inputs the serial binary data from this encoded data generation source (11), which consists of one unit of n bits (n-1 in the example) at each fixed timing. Data is simultaneously output to n output terminals.

(3)はシリアルパラレル変換回路(2)からの8ビツ
トのパラレルデータを入力する変化点°検出回路で、上
記一定タイξング毎に入力さnる8ビツトのデータ中の
変化点の有無、及び変化点がある場合その位置を示すデ
ータを出力する変化点検出部(4)(この検出部の詳細
は第2図及び第5図を参考にして後述する)と、該変化
点検出部(4)からのデータ数を画素数に変換する画素
数変換回路(5)と、該変換回路(5)出力を入力する
加算回路(6)とを備える。
(3) is a change point detection circuit which inputs the 8-bit parallel data from the serial-to-parallel conversion circuit (2), and detects whether or not there is a change point in the 8-bit data input at each specified timing. and a change point detection unit (4) that outputs data indicating the position of a change point (details of this detection unit will be described later with reference to FIGS. 2 and 5); It includes a pixel number conversion circuit (5) that converts the data number from 4) into the number of pixels, and an addition circuit (6) that inputs the output of the conversion circuit (5).

この加算回路(6)出力は上記符号化データ発生源(1
1から出力されるシリアルな2値データの変化点から次
の変化点までの間のビット数に関係する情報を呈するも
のであり、変化点の発生の都匿出力されるものである。
The output of this adder circuit (6) is the encoded data generation source (1
It represents information related to the number of bits from one change point to the next change point in serial binary data output from 1, and is output regardless of the occurrence of a change point.

この加算回路(6)の出力発生時、後述の第2クロツク
信号形成回路に第2クロツク信号形成のためのトリガが
入力される。(7)は変化点検出回路(31の出力を受
ける符号化ROMであわ、これはMH方式の符号データ
を保有しておシ、入力される加算回路(6)出力に応じ
た符号データC00ITTの勧告T4で示されているも
の)を出力する。(8)はこの符号化ROM(71から
の符号データをシリアルに変換するパラレルシリアル変
換回路、(9)はシリアルな符号データを伝送処理する
ための伝送処理手段、a〔は上述の各回路を制御する制
御回路である。
When the adder circuit (6) generates an output, a trigger for forming a second clock signal is input to a second clock signal forming circuit, which will be described later. (7) is an encoding ROM that receives the output of the change point detection circuit (31), which holds the code data of the MH system, and the code data C00ITT corresponding to the input adder circuit (6) output. (as indicated by recommendation T4). (8) is a parallel-to-serial conversion circuit that converts code data from this encoding ROM (71) into serial data, (9) is a transmission processing means for transmitting serial code data, and a [a] represents each of the above circuits. This is a control circuit that controls the

このような画像情報伝送装置において、符号化データ発
生源口)からの画像情報に基づく符号化データはその変
化点間の距離が計数され、その距離に基ず<MH符号に
圧縮、変換され伝送処理手段(9)に伝送される。従っ
て、画像情報の高速伝送が可能になる。
In such an image information transmission device, the distance between the change points of encoded data based on image information from the encoded data source (source) is counted, and based on the distance, the encoded data is compressed and converted into MH code and transmitted. It is transmitted to processing means (9). Therefore, high-speed transmission of image information becomes possible.

次に、変化点検出部について、第2図及び第3図を参照
して説明する。(Atl〜(AIl)は第1ないし第n
ラッチ回路であり、各ラッチ回路はそれぞれDフリップ
フロップで構成されている。
Next, the change point detection section will be explained with reference to FIGS. 2 and 3. (Atl~(AIl) is the first to nth
This is a latch circuit, and each latch circuit is composed of a D flip-flop.

第1ラッチ回路(A1)のD入力端子(B+ )にはシ
リアルパラレル変換回路(2)の第1出力端子が、また
!2ラッチ回路(A2)のD入力端子(B2)には変換
回路(2)の第2出力端子が、同様に、第5ないし第n
ラッチ回路(A5)〜(An)の第3ないし第1出力端
子CBS)〜(Bn)には変換回路(2)の第5ないし
第n出力端子が接続される。
The first output terminal of the serial-to-parallel conversion circuit (2) is connected to the D input terminal (B+) of the first latch circuit (A1). Similarly, the second output terminal of the conversion circuit (2) is connected to the D input terminal (B2) of the second latch circuit (A2).
The fifth to nth output terminals of the conversion circuit (2) are connected to the third to first output terminals CBS) to (Bn) of the latch circuits (A5) to (An).

(A111(1)は第(n+1)ラッチ回路であり、こ
のラッチ回路を構成するDフリップフロップのD入力端
子(Bn+1) には第nラッチ回路(An)の出力が
付与されている。
(A111(1) is the (n+1)th latch circuit, and the output of the nth latch circuit (An) is given to the D input terminal (Bn+1) of the D flip-flop that constitutes this latch circuit.

第1ないし第(n+1)ラッチ回路〔A1)〜(An+
1 )の各入力端子には第3図に示すりaツク信号(O
P)が付与され、一定周期C時間T)毎に、シリアルパ
ラレル変換回路(2)からのnビットのデータと第nラ
ッチ回路出力データとを同時に取シ込み、同時にそのと
きのD入力端子のデータ(1ま九はO)をQ出力端子に
出力する。
First to (n+1) latch circuits [A1] to (An+
1) is connected to each input terminal as shown in Figure 3.
P) is given, and the n-bit data from the serial-to-parallel converter circuit (2) and the n-th latch circuit output data are simultaneously taken in every fixed period C time T), and at the same time, the data of the D input terminal at that time is Data (1 or 9 is O) is output to the Q output terminal.

(Of)〜(○n+1)は第1なし1し第〔n+1)E
XOR回路であシ、第1 EXOR回路(c+)は第1
と第2ラッチ回路(AI )(入2)の各出力を2入力
とし、また第2BXOR回路(02)は第2と第3ラッ
チ回路(At )rA3 )の各出力を2入力とし、以
下同様に、第n1XOR回路(On)は第(n−1)と
第nラッチ回路(An−1)(An)の各出力を2入力
とし、更に、第(n+1)EXOR回路(On+1)は
第(n+1)と第1ラッチ回路(An+L、>t(−A
軸)の各出力を2入力とする。従つて、第1ないし第n
1XOR回路(01) 〜(On)の各出力端(DI)
 〜(Dn)には第1ないし第nラッチ回路(A1)〜
(An)に入力される各ビットデータのうち、隣接する
データ間に変化が存在するときハイジベルの出力を呈す
る。また、第(n+1)HXOR回路c(n+1)の出
力端(Dtx+1)には直前のnビットデータの最終ビ
ットと、現在のnビットデータの最初のビットとの間に
変化が存在する場合にハイジベルの出力を呈する。
(Of) ~ (○n+1) is the first without the first [n+1]E
The first EXOR circuit (c+) is the first
and the outputs of the second latch circuit (AI) (input 2) are 2 inputs, and the second BXOR circuit (02) is 2 inputs each of the outputs of the second and third latch circuits (At)rA3), and so on. In addition, the n1-th n+1) and the first latch circuit (An+L, >t(-A
Each output of the axis) is assumed to be two inputs. Therefore, the first to nth
1XOR circuit (01) ~ (On) each output terminal (DI)
~(Dn) has the first to nth latch circuits (A1)~
Among the bit data input to (An), when there is a change between adjacent data, a high level output is produced. In addition, the output terminal (Dtx+1) of the (n+1)th HXOR circuit c(n+1) has a high level when there is a change between the last bit of the previous n-bit data and the first bit of the current n-bit data. The output is as follows.

(B 1 ) 〜CBrx−1) と(Iiin+1 
)は第1ないし第(n−1)及び第(n+1)BXOR
回路(01)〜(On−1)、(On+1)の各出力を
入力とするインバータで、各インバータ(El)〜(E
n−1)と(Kn+1)は後述のDフリップフロップの
Q出力がa9レベルのときインバータとしての有意な動
作を実行し、一方当該Q出力がハイレベルのときインバ
ータとしての動作が不能にされ常時ハイレベルの出力を
呈するものである。
(B 1 ) ~CBrx-1) and (Iiin+1
) are the first to (n-1)th and (n+1)th BXOR
An inverter that receives each output of circuits (01) to (On-1) and (On+1) as input, and each inverter (El) to (E
n-1) and (Kn+1) perform a significant operation as an inverter when the Q output of the D flip-flop, which will be described later, is at the a9 level, and on the other hand, when the Q output is at a high level, the operation as an inverter is disabled and always It exhibits a high level output.

(Fl)〜(Fn)は第1ないし第nアンドゲートであ
り、第1ないし第1EXOR回路(01)〜(On)出
力に優先順位を決めるためのものである。第1アントゲ
−)(Fl )は第(n−H)BXOR回路(On+1
)に連かれているインバータ(En+1)出力と第1E
XOR回路(01)出力を2入力とし、第2アントゲ−
)(F2 )は上記インバータ(En−H)出力と第2
EXOR回路(01)に連かれているインバータ(El
)出力と第2EXOR回路(02)出力を5入力とし、
以降同様に、第nアンドゲート(Fl11)は第1ない
し第(n−1)EXOR回路(011〜C(n−1)出
力に連がnているインバータ(El)〜(En−1)出
力と第1EXOR(回路(On)出力を入力とするもの
である。
(Fl) to (Fn) are first to n-th AND gates, which are used to determine priorities for the outputs of the first to first EXOR circuits (01) to (On). The first ant game) (Fl) is the (n-H) BXOR circuit (On+1
) connected to the inverter (En+1) output and the 1st E
The output of the XOR circuit (01) is used as 2 inputs, and the second ant game is
) (F2) is the inverter (En-H) output and the second
The inverter (El) connected to the EXOR circuit (01)
) output and the second EXOR circuit (02) output as 5 inputs,
Similarly, the n-th AND gate (Fl11) is connected to the first to (n-1) EXOR circuit (011 to C(n-1) outputs) and the inverter (El) to (En-1) outputs and the first EXOR (circuit (On) output) are input.

(G 1) 〜(Gn−+ )は第1ないし第(n−t
)DフリップフロップC以下フリツプフaツブiFFと
示す)であシ、(Gn+1)は第(n+t ) p F
Fである。第1DFF’(G1)は第1アンドゲート(
Ft )の出力をD入力端子に受け、T入力端子に第2
クロツク信号形成回路tillからの第2クロツク信号
を受けたときQ出力端子にD入力端子のデータを出力し
、Q出力端子にその反転データを出力する。Q出力端子
出力はインバータ(El)の制御端子(Hl)に付与さ
れ、る出力端子出力は第1アントゲ−)(Ft )出力
を一方の入力とするアンドゲートCJ1)の他方の入力
に付与さnる。同様に、第2DFF (G2 )ないし
第(n−1)D F F (Gn−+ )はそれぞれ第
2ないし第(n−1)DFFの出力iD入力端子に受け
、T入力端子に第2りaツク信号形成回路C11lから
の第2クロツク信号を受けたときQ出力端子にQ入力端
子のデータを出力し、石出力端子にその反転データを出
力する。各Q端子出力は第2ないし第(n−1インバー
タ(E 2 、)〜(En−1)の各制御端子(H2)
〜(Hn−1)に付与され、万出力端子出力は第2ない
し第(n−1)アンドグー)(Fz)〜(Pn−1出力
を一方の入力とするアンドゲート(Jり〜(Jn−1)
の各他方の入力に付与される。第(n−H) D P 
F (Gn+1 )は第(n+1)EXOR回路(On
−N)の出力をD入力端子に受け、T入力端子に第2ク
ロツク信号形成回路αυからの第2クロツク信号を受は
念ときQ出力端子にD入力端子のデータを出力し、石出
力端子にその反転データを出力する。Q出力端子出力は
第(n+1)EXOF1回路(On+1)の出力が付与
されているインバータ(En+t)の制御端子(Hn+
1)に付与され、互出力端子出力は上記第(n+1)g
X。
(G1) to (Gn-+) are the first to (n-t
)D flip-flop C is denoted as flip-flop iFF), and (Gn+1) is the (n+t)th pF
It is F. The first DFF' (G1) is the first AND gate (
Ft) is received at the D input terminal, and the second output is received at the T input terminal.
When receiving the second clock signal from the clock signal forming circuit TILL, it outputs the data at the D input terminal to the Q output terminal, and outputs its inverted data to the Q output terminal. The Q output terminal output is given to the control terminal (Hl) of the inverter (El), and the output terminal output is given to the other input of the AND gate CJ1) which has the first ant gate (Ft) output as one input. nru. Similarly, the second DFF (G2) to the (n-1)th DFF (Gn-+) receive the output iD input terminal of the second to (n-1)th DFF, respectively, and the second DFF (G2) to the T input terminal. When receiving the second clock signal from the a-clock signal forming circuit C11l, it outputs the data at the Q input terminal to the Q output terminal, and outputs its inverted data to the stone output terminal. Each Q terminal output is connected to each control terminal (H2) of the second to (n-1) inverters (E 2 , ) to (En-1).
〜(Hn-1), and the output from the 2nd to (n-1)th output terminal is an AND gate (Jri〜(Jn- 1)
is attached to each other input. No. (n-H) D P
F (Gn+1) is the (n+1)th EXOR circuit (On
-N) is received at the D input terminal, and the T input terminal receives the second clock signal from the second clock signal forming circuit αυ. Just in case, the data at the D input terminal is output to the Q output terminal, and Output the inverted data to . The Q output terminal output is the control terminal (Hn+) of the inverter (En+t) to which the output of the (n+1)th EXOF1 circuit (On+1) is applied.
1), and the mutual output terminal output is the (n+1)th g
X.

8回路(On+t)出力を一方の入力とするアントゲ−
) (Jn−N )の他方の入力に付与される。上記各
DFFはりaツク信号(OP)の発生直前にリセットさ
れるがその構成については図示省略している。第1ない
し第(n+1 )出力端子(K1)〜(Kn+1 )は
上記アンドゲート(Jl)ないしくJn+1)の出力を
受けるもので、各出力端子は変化点検出部(4)に入力
されるnビットのデータ中に変化点がなく、かつこのn
ビットの最初のビットが直前のnビットの最終ビットと
一致している場合にはロウレベルの出力を呈する。入力
されたデータ中に変化点が存在すると、優先順位の高い
変化点に対応する出力端子にハイレベルの出力を呈し、
このハイレベルの出力に基ずく信号処理を後段の加算回
路(6)で実行する。この信号処理後に発生さnるトリ
ガを、第2クロツク信号形成回路α11は受は第1なt
rNL@cn−1) OFF’ (G 1 ) 〜(G
n−1)及びgg(n+1 ) D F F (Gn+
1 )のT入力端子にトリガを付与して、次位の優先順
位に対応中る出力端子をハイレベルに反転−させかつ従
前のハイレベルの出力端子の出力をロウレベルに反転さ
せる。
Ant game with 8 circuit (On+t) output as one input
) (Jn-N) is applied to the other input. Each of the above DFFs is reset immediately before the generation of the a-check signal (OP), but its configuration is not shown. The first to (n+1)th output terminals (K1) to (Kn+1) receive the output of the AND gate (Jl) to Jn+1), and each output terminal receives the n input to the change point detection section (4). There is no change point in the bit data, and this n
If the first bit of the bits matches the last bit of the previous n bits, a low level output is provided. If there is a change point in the input data, a high level output is output to the output terminal corresponding to the change point with a high priority.
Signal processing based on this high-level output is executed by the adder circuit (6) at the subsequent stage. The second clock signal forming circuit α11 receives the trigger generated after this signal processing.
rNL@cn-1) OFF' (G 1 ) ~(G
n-1) and gg(n+1) D F F (Gn+
1) A trigger is applied to the T input terminal to invert the output terminal corresponding to the next priority level to high level and invert the output of the previous high level output terminal to low level.

次に、この変化点検出部(4)の動作を今少し詳しく説
明する。第1ないし第nラッチ回路(A1)〜(An)
の各入力端子にはクロック信号(OP)の発生の都度、
入力データの第1、第2、第3・・・のnビットデータ
が入力される。即ち、nm8として、第3図に示す如く
、クロック信号の発生都度に、順次1バイト目、2バイ
ト目、−・のデータ(Mz)(M2)(Ms)−が付与
サレル、 説明のため、1バイト目のデータが(000
00000)であり、2バイト目のデータが(1111
1100)であり、更に3バイト目のデータが(111
11101)であるとする。
Next, the operation of this change point detection section (4) will be explained in a little more detail. First to nth latch circuits (A1) to (An)
Each time a clock signal (OP) is generated, each input terminal of
First, second, third, . . . n-bit data of input data are input. That is, as shown in FIG. 3, as nm8, data (Mz) (M2) (Ms) - is given to the first byte, second byte, and so on every time a clock signal is generated.For explanation, The first byte of data is (000
00000), and the second byte data is (1111
1100), and the third byte of data is (111
11101).

第1ないし第nラッチ回路(A1)〜(An)は第1番
目のクロック(CPI)Q受け、各ラッチ回路のD端子
に10#のデータをとり込み同時にQ出力端子に10#
を出力する。このとき隣接するデータ間に変化点がない
から各EXOR回路(01)〜(On)の出力は何れも
10#であり、又、出力端子(K1)〜(Kn)も10
#ヲ出力する。加算回路(6)は10#が8ビット分継
続したことを計数して保有している。
The first to n-th latch circuits (A1) to (An) receive the first clock (CPI) Q, take in 10# data to the D terminal of each latch circuit, and simultaneously output 10# data to the Q output terminal.
Output. At this time, since there is no change point between adjacent data, the outputs of each EXOR circuit (01) to (On) are all 10#, and the output terminals (K1) to (Kn) are also 10#.
#Output wo. The adder circuit (6) counts and holds that 10# continues for 8 bits.

次に、第2のクロック(OP2)を受け、第1ないし第
nラッチ回路(A1)〜(An)のD入力端子に上記2
バイト目のデータをとり込む。その結果、第1、第2ラ
ッチ回路(At)(A2)のQ出力端子に10#を、そ
して第3ないし第n(すなわち第8)ラッチ回路(As
)〜(An )のQ出力端子にl111#を出力する。
Next, the second clock (OP2) is received and the second clock is applied to the D input terminals of the first to n-th latch circuits (A1) to (An).
Import byte data. As a result, 10# is applied to the Q output terminals of the first and second latch circuits (At) (A2), and the third to nth (i.e., eighth) latch circuits (As
) to (An) outputs l111# to the Q output terminals.

尚、第(n+1)ラッチ回路(An+1)には1バイト
目の最上位ビットが1101であるのでそのQ出力端子
に0#を出力する。第2ラッチ回路(A2)のQ出力が
%011で、第3ラッチ回路(AI)のQ出力が111
′であるノで、第2EXOR回路(02)(7)出力の
みが911′となる。その結果、第2アントゲ−)(F
’?)出力がJ#となり、第2DFF’(G2)のD入
力端子に′1#を付与すると共にアンドゲート(J2)
に11#ヲ付与し、該アンドゲートの出力即ち出力端子
(F2)に111を呈する(第3図(Nt )参照)。
Note that since the most significant bit of the first byte of the (n+1)th latch circuit (An+1) is 1101, 0# is output to its Q output terminal. The Q output of the second latch circuit (A2) is %011, and the Q output of the third latch circuit (AI) is 111.
', only the output of the second EXOR circuit (02) (7) becomes 911'. As a result, the second Antogame) (F
'? ) The output becomes J#, and '1# is given to the D input terminal of the second DFF' (G2), and the AND gate (J2)
11# is given to the output terminal (F2) of the AND gate (see FIG. 3 (Nt)).

加算回路(6)はこの出力端子(F2)が111#を呈
するのを見て、2バイト目の第2位ビットまで10′が
継続され之ことを認識し、符号化ROM(71に該符号
化ROMから10#が1Dピツト連続するデータに対応
するコードを抽出するための信4+ヲ付与する。これと
同時に、この加算回路(6)が1回の変化点検出処理を
完了したことを示すトリガを第2クロツク信号形成回路
任υに付与する。この第2クロツク信号形成回路αυは
このトリガを受けて第1ないし第(n−1)DFF(G
l )〜(Gn−t)及び第(n+1)DFF(Gn−
N)の各T入力端子ニドリカ(tl)t−付与する。各
DFFはこのトリガ入力時のD入力データを各Q出力端
子に付与する結果、インバーI CHt )ノ制御11
m子(H2HC’J’が付与すれ核インバータのインバ
ータ動作が不能にさnる。その結果、このインバータ(
F2)による第5ないし第nアントゲ−)(Fs)〜(
F2バイト目には変化点が第2位ビットと第3ビットと
の間に存在するだけであるので、第2番目のクロック期
間(T2 )には上記1回の変化点検出処理が行なわれ
るだけで、加算回路(61[2バイト目の第3位ビット
からI!f8位ビットまで6ビツトの期間てわたって“
1#が継続したことを計数して保有している。第3番目
のクロック(CF2)の入力前に、第1ないし第(n−
t)DF’F(G1)〜(Gn−%)及び第(n+t 
) DF F (Gn+t )はリセットされる。
When the adder circuit (6) sees that this output terminal (F2) exhibits 111#, it recognizes that 10' continues up to the second-order bit of the second byte, and stores the code in the encoding ROM (71). 10# gives a signal 4+ for extracting a code corresponding to 1D pit continuous data from the conversion ROM.At the same time, it indicates that this adder circuit (6) has completed one change point detection process. A trigger is applied to the second clock signal forming circuit αυ. Upon receiving this trigger, the second clock signal forming circuit αυ converts the first to (n-1)th DFFs (G
l ) to (Gn-t) and the (n+1)th DFF (Gn-
N) to each T input terminal Nidorica (tl) t-. Each DFF applies the D input data to each Q output terminal at the time of this trigger input, and as a result, the inverter I CHt ) control 11
The inverter operation of the nuclear inverter becomes impossible when m child (H2HC'J' is applied. As a result, this inverter (
5th to nth anime games) (Fs) to (F2) by (F2)
Since there is only a change point between the 2nd bit and the 3rd bit in the F2th byte, only one change point detection process is performed in the second clock period (T2). Then, the adder circuit (61 [from the 3rd bit of the 2nd byte to the 8th bit of I!f)
Continuation of 1# is counted and held. Before inputting the third clock (CF2), the first to (n-th
t) DF'F (G1) ~ (Gn-%) and (n+t
) DF F (Gn+t) is reset.

引続いて、第3のクロック(OPI)1に受けて第1な
いし第nラッテ回路(A1)〜(An)は3バイト目の
データ(第1 )t−受は各Q出力端子に該データに従
がう111又は%011の出力を呈する。第1RXOR
回路【01)はその2入力がwAll−cあシ出力は1
0#、第21eXOR回M(02)は11“と%ol 
t−入力するので出力はゝ1“、同様に第3RXOR回
路(Os)は10“と11#を入力するので出力は11
1′となる。更に、第4ないし第(n−H)EXOR回
路(04)〜(On(1)は何れも11′を2入力とす
るから各出力は10“となる。
Subsequently, in response to the third clock (OPI) 1, the first to nth latte circuits (A1) to (An) output the third byte of data (first) to each Q output terminal. It exhibits an output of 111 or %011 according to . 1st RXOR
Circuit 01) has 2 inputs wAll-c and an output of 1
0#, 21st eXOR time M(02) is 11" and %ol
Since the t- input is input, the output is "1". Similarly, the third RXOR circuit (Os) inputs 10" and 11#, so the output is 11.
1'. Furthermore, since the fourth to (n-H) EXOR circuits (04) to (On (1) each have two inputs of 11', each output becomes 10".

第1 HXOR回路〔01)出力が101であるから出
力端子(K1)は%(311となり、第2gXOR回路
(C2)出力が111であるから出力端子(F2)は1
1′となる。第3EXOR回路(Os)出力は°′1“
であるが、インバータ(F2)が有効である期間(第2
DFF(()2 )のQ出力が101である期間)は第
3アンドグー)(F5)を閉じているので、出力端子(
Kl )は′0“となる。他の出力端子は何れも対応す
るEXOR回路出力が10#であるので10#となって
いる。
Since the output of the first HXOR circuit [01] is 101, the output terminal (K1) is %(311), and since the output of the second gXOR circuit (C2) is 111, the output terminal (F2) is 1.
1'. The third EXOR circuit (Os) output is °'1"
However, the period during which the inverter (F2) is effective (second
DFF (period in which the Q output of ()2) is 101) closes the third ANDG (F5), so the output terminal (
Kl) becomes '0''.The other output terminals are all 10# because the corresponding EXOR circuit output is 10#.

出力端子(F2)の出力が111であることによる動作
は先の説明と実質的に同じである。ただ、加算回路(6
)は2バイト目のデータ11“のビット数6と、3バイ
ト目の最下位ビットの11#のビット数1との和である
7を計数し、符号化ROM(7)から11#が7ビツト
連続するデータに相当するコードを出力する。この加算
処理動作終了後に、第2クロツク信号形成回路qvにト
リガを付与し、第2クロツク徊号(t2)を第1ないし
第(n−1)DF’F及び第(n−H)DFFのT入力
端子に付与する。その結果、第2OFF(Gz )のQ
出力端子が11“とされこれが付与されるインバータ(
F2)のインバータ動作を無効にさせる。その結果、第
3アンドゲート(FB)のインバータ(F21出力によ
る閉状態が解除され、出力端子(KM)を10“から1
1“に反転させる。加算回路(6)はこの出力端子(K
3)からのデータJlを受は符号化ROM(71から1
01が1個に相当するコードをとり出すように処理する
信号を出力する。この加算処理後第2クロツク信号(t
3)を発生させ以降のラッチ回路出力の状態を見る。以
降の出力端子出力が何れも10#であることから第5位
ビットから第8位ビットまでの6ビツトが11“である
ことを認識し保有する。
The operation due to the output of the output terminal (F2) being 111 is substantially the same as described above. However, the addition circuit (6
) counts 7, which is the sum of the bit number 6 of the second byte data 11" and the bit number 1 of the third byte least significant bit 11#, and 11# from the encoded ROM (7) is 7. A code corresponding to data of consecutive bits is output. After this addition processing operation is completed, a trigger is given to the second clock signal forming circuit qv, and the second clock signal (t2) is outputted from the first to (n-1) clock signals. DF'F and the T input terminal of the (n-H) DFF.As a result, the Q of the second OFF (Gz)
An inverter with an output terminal of 11" (
F2) inverter operation is disabled. As a result, the closed state of the inverter (F21 output) of the third AND gate (FB) is released, and the output terminal (KM) is changed from 10" to 1".
1".The adder circuit (6) outputs this output terminal (K
3) receives the data Jl from the encoded ROM (71 to 1
A signal is output to be processed so as to extract a code corresponding to one 01. After this addition process, the second clock signal (t
3) and check the state of the latch circuit output after that. Since all subsequent output terminal outputs are 10#, it is recognized that the 6 bits from the 5th bit to the 8th bit are 11'' and held.

(ト;  発明の効果 本発明はシリアルな2値データを入力し一定タイξング
毎に一単位nビットからなるデータを同時に出力するシ
リアルパラレル変換回路と、このシリアルパラレル変換
回路から同時に出力された一単位のデータをビット毎に
同時に入力する第1ないし第nラッチ回路と、第nラッ
チ回路出力が入力される第(n−N)ラッチ回路と、第
1と第2ラッチ回路出力、第2と第3ラッチ回路出力、
・・・、第(n−1)と第nラッチ回路出力、及び第n
と第(n+1 )ラッチ回路出力をそれぞれ2入力とす
る第1ないし第(n+1 ) ’BX OR回路とを備
えているので、一定タイミング毎に入力される一単位n
ビットのデータの変化点(0から1、或いは1から0へ
の変化点)を瞬時に見付は出すことができ、この変化点
の発見に要する時間を節約できる。
(G) Effects of the Invention The present invention provides a serial-to-parallel conversion circuit that inputs serial binary data and simultaneously outputs data consisting of one unit of n bits at every fixed timing, and a system that converts data that is simultaneously output from the serial-to-parallel conversion circuit to First to n-th latch circuits into which one unit of data is simultaneously input bit by bit; an (n-N)-th latch circuit into which the n-th latch circuit output is input; first and second latch circuit outputs; and third latch circuit output,
..., the (n-1)th and nth latch circuit outputs, and the nth
and the first to (n+1)th BX OR circuits each having two inputs of the output of the (n+1)th latch circuit.
The point of change in bit data (the point of change from 0 to 1 or from 1 to 0) can be instantly found, and the time required to discover this point of change can be saved.

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

第1図は本発明回路を備える画像情報伝送装置の概略構
成図、第2図は本発明回路の1実施例の要部回路図、第
3図は同回路の動作説明のためのタイムチャート図、第
4図及び第5図はそれぞれ異なる従来例の構成図である
。 (2)・・・シリアルパラレル変換回路、  (AI)
〜(An)・・・第1ないし第nラッチ回路、(An+
1)−#J(n+1 )ラッチ回路、  (01)〜(
On+1 ) −・第1ないし第(nl)RXOR回路
FIG. 1 is a schematic configuration diagram of an image information transmission device equipped with the circuit of the present invention, FIG. 2 is a circuit diagram of a main part of an embodiment of the circuit of the present invention, and FIG. 3 is a time chart diagram for explaining the operation of the circuit. , FIG. 4, and FIG. 5 are configuration diagrams of different conventional examples. (2) Serial-to-parallel conversion circuit, (AI)
~(An)...first to nth latch circuits, (An+
1)-#J(n+1) latch circuit, (01)~(
On+1) -・First to (nl) RXOR circuit

Claims (1)

【特許請求の範囲】[Claims] (1)シリアルな2値データを入力し一定タイミング毎
に一単位nビットからなるデータを同時に出力するシリ
アルパラレル変換回路と、該シリアルパラレル変換回路
から同時に出力された一単位のデータをビット毎に同時
に入力する第1ないし第nラッチ回路と、第nラッチ回
路出力が入力される第(n+1)ラッチ回路と、第1と
第2ラッチ回路出力、第2と第3ラッチ回路出力、・・
・、第(n−1)と第nラッチ回路出力、及び第nと第
(n+1)ラッチ回路出力をそれぞれ2入力とする第1
ないし第(n+1)EXOR回路と、を備えてなる2値
データの変化点検出回路。
(1) A serial-to-parallel conversion circuit that inputs serial binary data and simultaneously outputs data consisting of n bits per unit at a certain timing, and converts one unit of data that is simultaneously output from the serial-to-parallel conversion circuit bit by bit. The first to n-th latch circuits input at the same time, the (n+1)th latch circuit to which the n-th latch circuit output is input, the first and second latch circuit outputs, the second and third latch circuit outputs, etc.
・A first circuit with two inputs each being the (n-1) and n-th latch circuit outputs and the n-th and (n+1)-th latch circuit outputs.
A binary data change point detection circuit comprising: or (n+1)th EXOR circuit.
JP27930286A 1986-11-21 1986-11-21 Circuit for detecting variable point of binary data Pending JPS63132575A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27930286A JPS63132575A (en) 1986-11-21 1986-11-21 Circuit for detecting variable point of binary data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27930286A JPS63132575A (en) 1986-11-21 1986-11-21 Circuit for detecting variable point of binary data

Publications (1)

Publication Number Publication Date
JPS63132575A true JPS63132575A (en) 1988-06-04

Family

ID=17609274

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27930286A Pending JPS63132575A (en) 1986-11-21 1986-11-21 Circuit for detecting variable point of binary data

Country Status (1)

Country Link
JP (1) JPS63132575A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05103215A (en) * 1991-06-14 1993-04-23 Ind Technol Res Inst Parallel processing archtecture for run-length code

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05103215A (en) * 1991-06-14 1993-04-23 Ind Technol Res Inst Parallel processing archtecture for run-length code

Similar Documents

Publication Publication Date Title
JPH0211064B2 (en)
US3502806A (en) Modified run length data reduction system
US5878079A (en) Data reception control device
US7205911B2 (en) Apparatus and method for 8B/10B code-group validity check
EP0211611B1 (en) Image signal coding apparatus
JPS59178077A (en) Method for compressing data of binary picture
US4955061A (en) Method and apparatus for processing an image signal
JPS63132575A (en) Circuit for detecting variable point of binary data
US7085415B2 (en) Image display apparatus
KR970024704A (en) Frame Sync Signal Detection Device
US5293165A (en) 5B6B coding rule inverse conversion circuit for digital transmission
JPS58173933A (en) Transmission system of code signal
US6707396B2 (en) Device and method for parallel processing implementation of bit-stuffing/unstuffing and NRZI-encoding/decoding
JP2668968B2 (en) Frame synchronization method
US4587521A (en) Code signal generator or detector for video frame code
JPH06252874A (en) Word synchronization detection circuit
JP3350348B2 (en) Change point detector
JP3225824B2 (en) N parallel continuous count discrimination circuit
JPH1098458A (en) Sync word detection circuit
JP2586143B2 (en) MH expansion circuit
JPH04354474A (en) Run length detection circuit
JPH0834545B2 (en) Image data coding device
US20080079483A1 (en) Circuit and device for processing digital data
KR19990004232A (en) Error detection device
SU1249505A1 (en) Device for comparing binary numbers