JPH03139049A - Serial parallel conversion circuit - Google Patents

Serial parallel conversion circuit

Info

Publication number
JPH03139049A
JPH03139049A JP27494889A JP27494889A JPH03139049A JP H03139049 A JPH03139049 A JP H03139049A JP 27494889 A JP27494889 A JP 27494889A JP 27494889 A JP27494889 A JP 27494889A JP H03139049 A JPH03139049 A JP H03139049A
Authority
JP
Japan
Prior art keywords
circuit
signal
data
serial
parity
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
JP27494889A
Other languages
Japanese (ja)
Inventor
Koichi Matsuda
松田 宏一
Masatoshi Nishihara
西原 正敏
Masaki Kato
聖樹 加藤
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.)
Mitsubishi Heavy Industries Ltd
Original Assignee
Mitsubishi Heavy Industries 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 Mitsubishi Heavy Industries Ltd filed Critical Mitsubishi Heavy Industries Ltd
Priority to JP27494889A priority Critical patent/JPH03139049A/en
Publication of JPH03139049A publication Critical patent/JPH03139049A/en
Pending legal-status Critical Current

Links

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)
  • Dc Digital Transmission (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE:To increase a reference for discriminating truth of a parallel data at transmission error by providing a counter circuit counting bit number of parallel signal of one frame reproduced from a serial signal of a sent frame. CONSTITUTION:When a counter circuit 12 inputs, e.g. a serial signal 1, the circuit 12 receives a 9-bit data comprising data 0-7 and a parity bit. In this case, 9 pulses are outputted as an output signal 7 of a gate circuit 2. The signal drives the circuit 12, and when the pulse number reaches 9, a timing pulse 14 being a counter output signal is outputted to an AND circuit 13, and when the parity is correct, a data output enable signal 11 is outputted from an AND circuit 13. Through the constitution above, not only the parity but also transmission bits are detected to improve the reference for discriminating the truth of the parallel data at a transmission error thereby applying transmission with high reliability.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、通信製品に適用される直列・並列変換回路に
関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a serial/parallel conversion circuit applied to communication products.

[従来の技術] 通常直列のデータ伝送の場合、位相変調方式がよく用い
られている。これは、第3図に示すように直列信号1に
おいて2ビツトを用いて1ビツトのデータを送る方式で
“10゛であればデータは0であり、”01’であれば
データは1になる。
[Prior Art] In the case of normal serial data transmission, a phase modulation method is often used. As shown in Figure 3, this is a method of sending 1 bit of data using 2 bits in serial signal 1. If it is "10", the data is 0, and if it is "01", the data is 1. .

従来の直列・並列変換回路は、第2図のように直列信号
1を微分回路2を通すことにより、直列信号1の立ち上
がりまたは立ち下がりを検知して、第3図に示すような
微分回路出力信号3を出力して、タイマ回路4により、
微分回路出力信号の最初のパルス5から(N+1)番目
のパルスを通過させるようにゲート回路6を開けさせ、
ゲート回路の出力信号7を得、この信号“1″のタイミ
ング8でシフトレジスタ9に入力されるデータを順番に
ラッチして並列データを再生していた。同時に伝送デー
タにパリティビットを付加し再生側のパリティ回路10
でパリティチェックを行った上でデータ出力許可信号1
1を出力するように構成されていた。
The conventional serial/parallel conversion circuit detects the rise or fall of the serial signal 1 by passing the serial signal 1 through the differentiating circuit 2 as shown in Fig. 2, and outputs the differentiating circuit output as shown in Fig. 3. Outputting signal 3, timer circuit 4
Open the gate circuit 6 so as to pass the first pulse 5 to the (N+1)th pulse of the differential circuit output signal,
The output signal 7 of the gate circuit was obtained, and the data input to the shift register 9 was sequentially latched at timing 8 of this signal "1" to reproduce parallel data. At the same time, a parity bit is added to the transmitted data, and the parity circuit 10 on the playback side
After performing a parity check, data output permission signal 1 is sent.
It was configured to output 1.

[発明が解決しようとする課題] 上記従来の直列・並列変換回路では、直列信号1の伝送
が途中で中断してしまった場合や、タイマ回路4と微分
回路出力信号3のタイミングずれによって、ゲート回路
出力信号7が正常に出力されなくなり、誤ったタイミン
グでシストレジスタ9に人力されてくる直列信号をラッ
チし、データ出力許可信号11の出力タイミングにおい
て送信されたフレームのビット数と再生したフレームの
ビット数が異なり、複数のビットエラーが生じても、偶
然にパリティが正しければ、そのまま出力許可−号11
が出力されていた。その結果、誤った並列データが正常
データとして出力されることがあった。
[Problems to be Solved by the Invention] In the conventional serial-to-parallel conversion circuit described above, when the transmission of the serial signal 1 is interrupted midway, or due to a timing difference between the timer circuit 4 and the differential circuit output signal 3, the gate When the circuit output signal 7 is no longer output normally, the serial signal that is manually input to the system register 9 at the wrong timing is latched, and the number of bits of the transmitted frame and the number of reproduced frames are determined at the output timing of the data output permission signal 11. Even if the number of bits is different and multiple bit errors occur, if the parity happens to be correct, output is allowed as is.
was being output. As a result, erroneous parallel data may be output as normal data.

本発明の:II!題は、上記従来の問題点を解消するこ
とができる直列・並列変換回路を提供することである。
Of the present invention: II! The problem is to provide a serial/parallel conversion circuit that can solve the above conventional problems.

[課題を解決するための手段] 本発明による直列・並列変換回路は、直列信号を入力す
る微分回路と、それぞれこの微分回路とタイマ回路とに
接続されたゲート回路と、前記直列信号および前記ゲー
トlff1路の出力信号をそれぞれ人力するシフトレジ
スタと、このシフトレジスタから出力されるデータをパ
リティチェックしデータ出力許可16号を出力するパリ
ティ回路とを具備−する直列・並列変換回路において、
並列・直列変換したデータのビット数を数えるためにカ
ウンタ回路を設けたことを特徴とする。、 即ち、本発明においては、従来の直列・並列変換回路に
、伝送されてくるフレームの直列信号から再生した1フ
レームの並列信号のビット数を数えるために、カウンタ
回路を設けてなるものである。
[Means for Solving the Problems] A serial/parallel conversion circuit according to the present invention includes a differentiating circuit into which a serial signal is input, a gate circuit connected to the differentiating circuit and the timer circuit, respectively, the serial signal and the gate. In a serial/parallel conversion circuit comprising a shift register for manually inputting the output signals of the lff1 path, and a parity circuit for checking the parity of the data output from the shift register and outputting data output permission No. 16,
A feature is that a counter circuit is provided to count the number of bits of data that has been converted into parallel and serial data. That is, in the present invention, a counter circuit is provided in the conventional serial/parallel conversion circuit in order to count the number of bits of one frame of parallel signal reproduced from the transmitted frame serial signal. .

[作用] 本発明の直列・並列変換回路は前記のように構成されて
いるので、ゲート回路出力信号はシフトレジスタ9へ入
力されると八にカウンタ回路に入力され、カウンタ回路
によって得られる伝送ビット数とパリティが正常であれ
ばデータ出力許可信号が出力されることになる。これに
より、直列並列変換中に、直列信号の伝送が、途中で中
断してしまった場合や、タイマ回路と微分回路出力信号
のタイミングずれ等により、ゲート回路出力に異常が生
じすることにより、データ出力許可信号の出力タイミン
グにおいて、送信された1フレームのビット数と再生し
た1フレームのビット数が異なり、伝送エラーを生じた
ことを検知できる。この種のエラーでは、複数ビットの
エラーが生じする為、パリティビット付加によるパリテ
ィチェックでは検知てきないため、本発明の手法は有効
である。
[Function] Since the serial/parallel conversion circuit of the present invention is configured as described above, when the gate circuit output signal is input to the shift register 9, it is input to the counter circuit, and the transmission bit obtained by the counter circuit is If the number and parity are normal, a data output permission signal will be output. As a result, if the transmission of the serial signal is interrupted during serial/parallel conversion, or if an error occurs in the gate circuit output due to a timing difference between the timer circuit and the differential circuit output signal, the data At the output timing of the output permission signal, it is possible to detect that the number of bits in one transmitted frame and the number of bits in one reproduced frame are different, and a transmission error has occurred. This type of error involves multiple bit errors and cannot be detected by a parity check by adding a parity bit, so the method of the present invention is effective.

また、余分な検査ビットをフレームに加える必要がなく
検査ビット送受信の為に、フレーム伝送時間が長くなる
こともなく、信頼性の高い、高速シリアル通信の実現に
有効である。また、検査回路はカウンタとNANDゲー
トのみで構成できるため、ハードウェアも簡単に構成で
きる。
Further, since there is no need to add extra check bits to the frame and the frame transmission time is not increased due to the transmission and reception of the check bits, it is effective in realizing highly reliable and high-speed serial communication. Further, since the test circuit can be configured only with a counter and a NAND gate, the hardware can be configured easily.

[実施例コ 第1図は、本発明の一実施例の構成を示すブロック図で
あり、第1図において、1は直列信号、2は微分回路、
3は微分回路出力信号、4はタイマ回路、5は最初のパ
ルス、6はゲート回路、7はゲート回路出力信号、8は
タイミング点、9はシフトレジスタ、10はパリティ回
路、11はデータ出力許l■信号、12はカウンタ回路
、13はアンド回路、14はタイミングパルスを示す。
[Example 1] FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. In FIG. 1, 1 is a serial signal, 2 is a differential circuit,
3 is the differential circuit output signal, 4 is the timer circuit, 5 is the first pulse, 6 is the gate circuit, 7 is the gate circuit output signal, 8 is the timing point, 9 is the shift register, 10 is the parity circuit, 11 is the data output permission 12 is a counter circuit, 13 is an AND circuit, and 14 is a timing pulse.

第1図において、例えば、カウンタ回路12は、第3図
のような直列信号1を入力した場合、データ0〜データ
7とパリティで9ビツトのデータとする。この時のゲー
ト回路出力信号7は9つのパルスが出力されることにな
る。この信号によりカウンタ回路12を駆動してパルス
数が9つになったらカウンタ出力信号であるタイミング
パルス14が出力されアンド回路13に入力され、同時
にパリティが正しければデータ出力許可信号11が出力
されるようになる。
In FIG. 1, for example, when the counter circuit 12 receives a serial signal 1 as shown in FIG. 3, the counter circuit 12 converts data 0 to data 7 and parity into 9-bit data. At this time, nine pulses are outputted as the gate circuit output signal 7. When the counter circuit 12 is driven by this signal and the number of pulses reaches 9, a timing pulse 14, which is a counter output signal, is outputted and inputted to the AND circuit 13, and at the same time, if the parity is correct, a data output permission signal 11 is outputted. It becomes like this.

[発明の効果] 以上説明したように、本発明によれば、パリティだけで
なく、伝送ビットも検知することにより、伝送エラー時
の並列データの真偽の判断の基準が上がり、信頼性の高
い伝送を行なうことができる。
[Effects of the Invention] As explained above, according to the present invention, by detecting not only parity but also transmission bits, the standard for determining the authenticity of parallel data in the event of a transmission error is raised, and highly reliable transmission can be performed.

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

第1図は本発明の一実施例の構成を示すブロック図、第
2図は従来例の構成を示すブロック図、第3図は直列・
並列変換回路のタイミング波形図である。 1・・・直列信号、2・・・微分回路、4・・・タイマ
回路、6・・・ゲート回路、9・・・シフトレジスタ、
10・・・パリティ回路、12・・・カウンタ回路、1
3・・・アンド回路。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, FIG. 2 is a block diagram showing the configuration of a conventional example, and FIG. 3 is a block diagram showing the configuration of a conventional example.
FIG. 3 is a timing waveform diagram of a parallel conversion circuit. 1...Series signal, 2...Differential circuit, 4...Timer circuit, 6...Gate circuit, 9...Shift register,
10... Parity circuit, 12... Counter circuit, 1
3...AND circuit.

Claims (1)

【特許請求の範囲】[Claims] 直列信号を入力する微分回路と、それぞれこの微分回路
とタイマ回路とに接続されたゲート回路と、前記直列信
号および前記ゲート回路の出力信号をそれぞれ入力する
シフトレジスタと、このシフトレジスタから出力される
データをパリテイチェックしデータ出力許可信号を出力
するパリテイ回路とを具備する直列・並列変換回路にお
いて、並列・直列変換したデータのビット数を数えるた
めにカウンタ回路を設けたことを特徴とする直列・並列
変換回路。
A differentiating circuit into which the serial signal is input, a gate circuit connected to the differentiating circuit and the timer circuit, a shift register into which the serial signal and the output signal of the gate circuit are respectively input, and an output signal from the shift register. A serial/parallel conversion circuit comprising a parity circuit for checking the parity of data and outputting a data output permission signal, the serial/parallel conversion circuit comprising a counter circuit for counting the number of bits of parallel/serial converted data.・Parallel conversion circuit.
JP27494889A 1989-10-24 1989-10-24 Serial parallel conversion circuit Pending JPH03139049A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27494889A JPH03139049A (en) 1989-10-24 1989-10-24 Serial parallel conversion circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27494889A JPH03139049A (en) 1989-10-24 1989-10-24 Serial parallel conversion circuit

Publications (1)

Publication Number Publication Date
JPH03139049A true JPH03139049A (en) 1991-06-13

Family

ID=17548787

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27494889A Pending JPH03139049A (en) 1989-10-24 1989-10-24 Serial parallel conversion circuit

Country Status (1)

Country Link
JP (1) JPH03139049A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59214322A (en) * 1983-05-20 1984-12-04 Nec Corp Serial-parallel converting circuit

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59214322A (en) * 1983-05-20 1984-12-04 Nec Corp Serial-parallel converting circuit

Similar Documents

Publication Publication Date Title
GB1469465A (en) Detection of errors in digital information transmission systems
JPH03139049A (en) Serial parallel conversion circuit
US6027243A (en) Parity check circuit
JPH0348720Y2 (en)
JP2863068B2 (en) Data transmission method
JPH0347613B2 (en)
JPH0635733A (en) Stack detection system
JPS5918897B2 (en) Transmission result determination device at transmitting station
JPS60236532A (en) Error detection system
JPS63312754A (en) Error generation circuit
JPS62150945A (en) Transmission line supervisory system
JPH04417B2 (en)
SU381102A1 (en) BIBLISTGPD I
JPS6221426B2 (en)
JPH04267631A (en) Parity bit addition system
SU1591019A1 (en) Device for checking and restoring data by modulo two
JPH02260728A (en) Ais detecting system
JPH01135239A (en) Synchronizing signal detecting device
JPH02117231A (en) Signal transmitter/receiver
JPS61154336A (en) N-train pulse detecting circuit
JPH0198033A (en) Detecting circuit for data error
JPS6386936A (en) Unique pattern detecting circuit
JPS62192982A (en) Burst error detection circuit for compact disk
JPS63269838A (en) Information processing system
JPH04354421A (en) Error parity recovery circuit