JPH01317042A - Data transmission system - Google Patents

Data transmission system

Info

Publication number
JPH01317042A
JPH01317042A JP63149435A JP14943588A JPH01317042A JP H01317042 A JPH01317042 A JP H01317042A JP 63149435 A JP63149435 A JP 63149435A JP 14943588 A JP14943588 A JP 14943588A JP H01317042 A JPH01317042 A JP H01317042A
Authority
JP
Japan
Prior art keywords
data
terminal
supplied
output
signal
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.)
Granted
Application number
JP63149435A
Other languages
Japanese (ja)
Other versions
JP2712304B2 (en
Inventor
Toshiharu Kondo
近藤 利春
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.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP63149435A priority Critical patent/JP2712304B2/en
Publication of JPH01317042A publication Critical patent/JPH01317042A/en
Application granted granted Critical
Publication of JP2712304B2 publication Critical patent/JP2712304B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

PURPOSE:To detect a data error without deteriorating the transmission efficiency by adding check bits in 2-bit inverted to each other and for each word period to the end of a serial data for each word period. CONSTITUTION:Two check bits CHECK1, CHECK2 inverted mutually and for each word period are added to the end of a serial data SDATA for each word period and the result is sent. Then whether the two check bits CHECK1, CHECK2 inverted mutually and for each word period are added to the end of a serial data SDATA for each word period or not is confirmed to detect the data error. Thus, the data error is detected by a simple circuit and the data is sent without much deteriorating the transmission efficiency.

Description

【発明の詳細な説明】 以下の順序で本発明を説明する。[Detailed description of the invention] The present invention will be explained in the following order.

A 産業上の利用分野 B 発明の概要 C従来の技術 D 発明が解決しようとする課題 E 課題を解決するための手段(第1図、第2図)F 
作用 G 実施例 G1 送信側回路の説明 G2受信側回路の説明 H発明の効果 八 産業上の利用分野 この発明は、パラレルデータをシリアルデータに変換し
て伝送するデータ伝送方式に関する。
A. Field of industrial application B. Overview of the invention C. Conventional technology D. Problem to be solved by the invention E. Means for solving the problem (Figures 1 and 2) F
Effect G Embodiment G1 Description of the transmitting side circuit G2 Description of the receiving side circuit H Effect of the invention 8 Industrial application field The present invention relates to a data transmission system for converting parallel data into serial data and transmitting the same.

B 発明の概要 この発明は、パラレルデータをワード周期でシリアルデ
ータに変換して伝送するデータ伝送方式において、ワー
ド周期ごとのシリアルデータの最後に、互いに反転し、
かつそれぞれがワード周期ごとに反転する2ビットのチ
エツクビットを付加して伝送するようにしたことにより
、伝送効率をそれ程低下させずに、かつ複雑な回路を必
要とすることなく、データの誤りを検出できるようにし
たものである。
B. Summary of the Invention The present invention provides a data transmission method in which parallel data is converted into serial data in word periods and transmitted, in which serial data is inverted at the end of each word period,
Furthermore, by adding and transmitting 2 check bits, each of which is inverted every word period, it is possible to eliminate data errors without significantly reducing transmission efficiency or requiring complicated circuits. It is designed to be detectable.

C従来の技術 第5図は、マルチチャンネルPCMレコーダのシステム
コントロール系の一例を示すものである。
C. Prior Art FIG. 5 shows an example of a system control system for a multi-channel PCM recorder.

同図において、(10)はメインCP U、 (20)
はキーボードCP U、 (30)はトランスポートC
PUである。
In the same figure, (10) is the main CPU, (20)
is the keyboard CPU, (30) is the transport C
It is PU.

メインCP U(10)は本体システム全体の管理をす
るものである。また、このメインCP U(10)によ
ってエデイツト基板(ED基板)、クロック基板(CK
基板)、記録基板(RFC基板)等が制御され、どのチ
ャンネルを記録状態にするか、サンプリング周波数をい
くらにするか等の制御がされる。なお、このメインCP
 U(10)には、リモートコントロールの送信装置(
11)が端子(12)を介して接続される。また、(1
3)は通信プロトコルに対応するための端子である。
The main CPU (10) manages the entire main system. This main CPU (10) also controls the edit board (ED board) and clock board (CK
(substrate), recording substrate (RFC substrate), etc., and controls which channel to put into the recording state, what sampling frequency to set, etc. Furthermore, this main CP
U (10) has a remote control transmitter (
11) is connected via the terminal (12). Also, (1
3) is a terminal for supporting communication protocols.

また、キーボードCP U(20)によって、キーボー
ドのキー検出、発光ダイオード等による表示の制御がさ
れる。なお、(21)は、どのチャンネルを記録状態に
するかという制御データが供給される端子であり、例え
ばミキシングコンソールに[される。(22)はインタ
ーフェースである。また、(23)は、再生、記録、停
止等の制御データが供給される端子であり、例えばシス
テムコントローラに接続される。
Further, the keyboard CPU (20) detects keys on the keyboard and controls display using light emitting diodes and the like. Note that (21) is a terminal to which control data indicating which channel is to be put into a recording state is supplied, and is sent to, for example, a mixing console. (22) is an interface. Further, (23) is a terminal to which control data for playback, recording, stop, etc. is supplied, and is connected to, for example, a system controller.

また、トランスポートCP U(30)によって、再生
、記録、停止等のトランスポート(テープ駆動機構)の
コントロールがなされる。また、このトランスボー) 
CP U(30)によって、CTL基板が11NiDさ
れ、コントロールトラック(図示せず)への時、分、秒
、セクターの絶対番地の記録、再生、ある所定タイミン
グで記録あるいは再生を始めるオートパンチ等の制御が
される。また、このトランスポー) CP U(30)
によって、タイムコードTC(例えばSMPTE タイ
ムコード)の発生器、読取器の制御がされる。このタイ
ムコードTCの発生器、読取器は、ビデオ信号との関係
から設けられている。
Further, the transport CPU (30) controls the transport (tape drive mechanism) such as playback, recording, and stopping. Also, this transbo)
The CPU (30) performs 11NiD on the CTL board, and performs functions such as recording and reproducing absolute addresses of hours, minutes, seconds, and sectors on a control track (not shown), and auto-punch to start recording or reproducing at a certain predetermined timing. controlled. Also, this transport) CPU (30)
The time code TC (for example, SMPTE time code) generator and reader are controlled by the time code TC (for example, SMPTE time code) generator and reader. This time code TC generator and reader are provided in relation to the video signal.

また、メインCP U(10)およびトランスポートC
P U(30)との間では、ステータス情報の通信が行
なわれる。例えば、メインCP U(10)よりトラン
スポートCPU(30)には、システムコントローラの
キー情報が送信され、一方、トランスポートCP U(
30)よりメインCP U(10)には、再生、記録、
停止等のトランスポート情報、テープタイム情報等が送
信される。
In addition, the main CPU (10) and transport C
Status information is communicated with the PU (30). For example, system controller key information is sent from the main CPU (10) to the transport CPU (30);
30), the main CPU (10) has playback, recording,
Transport information such as stop, tape time information, etc. are transmitted.

また、メインCP U(10)およびキーボードCPU
 (20)との間でも、ステータス情報の通信が行なわ
れる。このような通信は、例えば8ビットパラレルで行
なわれる。
In addition, the main CPU (10) and keyboard CPU
Status information is also communicated with (20). Such communication is performed, for example, in 8-bit parallel.

ところで、このようなシステムコントロール系で、メイ
ンCP U(10)と記録基板とは離れて配されるため
、メインCP U(10)より記録基板へのコントロー
ルデータの伝送はケーブルをもって行なわれる。この場
合、コントロールデータが多く、パラレルデータとして
伝送すると、ケーブルの線数が多くなるので、パラレル
データはシリアルデータに変換されて伝送される。
By the way, in such a system control system, since the main CPU (10) and the recording board are arranged separately, control data is transmitted from the main CPU (10) to the recording board using a cable. In this case, there is a lot of control data, and if it is transmitted as parallel data, the number of cable lines will increase, so the parallel data is converted into serial data and transmitted.

例えば、第6図AはマスタークロックCLK。For example, FIG. 6A shows the master clock CLK.

同図Bはワード同期信号WSであり、パラレルデータは
、ワード同期信号WSの周期でシリアルデータ5DAT
^に変換されて伝送される。同図Cは、シリアルデータ
5DATAを示している。−例として、マスタークロッ
クCLKの周波数は9.216MHz 、ワード同期信
号の周波数は48kHz SNは24とされている。
B in the figure is the word synchronization signal WS, and the parallel data is serial data 5DAT at the cycle of the word synchronization signal WS.
It is converted to ^ and transmitted. C in the figure shows serial data 5DATA. - As an example, the frequency of the master clock CLK is 9.216 MHz, the frequency of the word synchronization signal is 48 kHz, and the SN is 24.

さて、上述したようにメインCP U(10)よりRE
C基板に伝送されるデータが、伝送線の断線等によって
誤ったデータになると、誤った記録がなされるなどの不
都合があることから、この誤りを検出できるように、デ
ータの伝送方式が工夫されている。例えば、データに冗
長をもたせる方式が提案されている。この方式は、ひと
つのデータを2つのスロットにのせるものであり、例え
ばデータAは、第1のスロットにはデータAとしてのせ
、第2のスロットには反転データWとしてのせる。
Now, as mentioned above, from the main CPU (10)
If the data transmitted to the C board turns out to be incorrect due to a break in the transmission line, etc., there will be problems such as incorrect recording, so data transmission methods have been devised to detect this error. ing. For example, methods have been proposed that provide redundancy to data. In this method, one piece of data is placed in two slots; for example, data A is placed in the first slot as data A, and in the second slot as inverted data W.

そして、受信側では、これら2つのスロットのデータの
排他的論理和(イクスクルーシブオア)をとり、その2
つのデータがA、Aになっていることを確認してデータ
の誤りを検出するものである。
Then, on the receiving side, the exclusive OR of the data of these two slots is performed, and the
The data error is detected by confirming that the two data are A and A.

また、例えば、データにCRCコードを付加する方式が
提案されている。
Furthermore, for example, a method of adding a CRC code to data has been proposed.

D 発明が解決しようとする課題 しかし、このような従来の方式によれば、それぞれ以下
のような不都合がある。すなわち、前者の方式によれば
、データの伝送に全スロットの半分しか使用することが
できないので、伝送効率が低い。一方、後者の方式によ
れば、検出の確立は略完全であるが、回路構成が複雑に
なると共に、CRCコードを付加する分だけ伝送効率が
低くなる。
D Problems to be Solved by the Invention However, these conventional methods have the following disadvantages. That is, according to the former method, only half of all slots can be used for data transmission, resulting in low transmission efficiency. On the other hand, according to the latter method, the detection is almost completely established, but the circuit configuration becomes complicated and the transmission efficiency decreases due to the addition of the CRC code.

そこで、この発明では1、伝送効率をそれ程低下させず
に、かつ複雑な回路を必要とすることなく、データの誤
りを検出できるようにすることを目的とするものである
Therefore, it is an object of the present invention to (1) make it possible to detect data errors without significantly reducing transmission efficiency and without requiring a complicated circuit.

E 課題を解決するための手段 この発明は、パラレルデータをワード周期でシリアルデ
ータに変換して伝送するデータ伝送方式であって、ワー
ド周期ごとのシリアルデータ5DATAの最後に、互い
に反転し、かつそれぞれがワード周期ごとに反転する2
ビットのチエツクビットCHIECK1. CHECK
2を付加して伝送するものである。
E. Means for Solving the Problems The present invention is a data transmission method that converts parallel data into serial data in a word cycle and transmits the data. is inverted every word period2
Bit check bit CHIECK1. CHECK
2 is added and transmitted.

F 作用 上述構成にふいては、リード周期ごとのシリアルデータ
5DATAの最後に付加された2ビットのチエツクビッ
トC)IEICに1. CI(εCに2が互いに反転し
、かつそれぞれがワード周期ごとに反転しているか否か
を確認してデータの誤りを検出するので、データの誤り
を簡単な回路で検出し得る。また、ワード周期ごとのシ
リアルデータ5DAT^の最後に2ビットのチエツクビ
ットCHBCに1. CHECK2が付加されるだけで
あるので、伝送効率をそれ程低下させずにデータを伝送
し得る。
F Function In the above configuration, the 2-bit check bit C) IEIC added to the end of the serial data 5DATA for each read cycle is 1. Since data errors are detected by checking whether CI (εC) and 2 are inverted with each other and each is inverted every word period, data errors can be detected with a simple circuit. Since 1.CHECK2 is only added to the 2-bit check bit CHBC at the end of the serial data 5DAT^ for each cycle, data can be transmitted without significantly reducing transmission efficiency.

G 実施例 以下、図面を参照しながらこの発明の一実施例について
説明する。
G. Embodiment Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

G1 送信側回路の説明 第1図はメインCP U(10)に配される送信側回路
を示すものである。
G1 Description of the transmitting circuit FIG. 1 shows the transmitting circuit arranged in the main CPU (10).

同図において、(41)はタイミング発生器であり、こ
のタイミング発生器(41)には、周波数が9.216
MHzのマスタークロックCLK (第3図Aに図示)
および周波数が48KHzのワード同期信号WS (同
図已に図示)が供給される。ワード同期信号WSは、マ
スタークロックCLKの1周期分だけ低レベル“0″と
なるものである。
In the figure, (41) is a timing generator, and this timing generator (41) has a frequency of 9.216.
MHz master clock CLK (illustrated in Figure 3A)
and a word synchronization signal WS (shown in the same figure) having a frequency of 48 KHz. The word synchronization signal WS is at a low level "0" for one period of the master clock CLK.

タイミング発生器(41)からは、マスタークロックC
LKおよびワード同期信号WSに基づいて、ロード信号
SLD (第3図Cに図示)および周波数が1.152
MHzのシフトクロック5CLK (同図りに図示)が
発生される。そして、ロード信号SLDは、パラレル/
シリアル変換回路を構成する24段構成のシフトレジス
タ(42)のロード端子LOADに供給される。この場
合、ロード信号SLDが高レベル“1″から低レベル“
0”となるタイミングで、パラレル入力端子PIO〜P
123にそれぞれ供給されるデータが、シフトレジスタ
(42)の各段のレジスタに取り込まれる。また、シフ
トクロック5CLKは、シフトレジスタ(42)のクロ
ッ・り端子CKに供給される。この場合、シフトクロッ
ク5CLKが低レベル“0″から高レベル“1”となる
タイミングで、シフトレジスタ(42)の各段のレジス
タのデータが順次次段にシフトされる。
From the timing generator (41), the master clock C
Based on LK and word synchronization signal WS, load signal SLD (illustrated in Figure 3C) and frequency 1.152
A MHz shift clock 5CLK (shown in the same figure) is generated. And the load signal SLD is parallel/
It is supplied to a load terminal LOAD of a 24-stage shift register (42) constituting a serial conversion circuit. In this case, the load signal SLD changes from high level “1” to low level “1”.
0”, the parallel input terminals PIO~P
123 is taken into each stage of the shift register (42). Further, the shift clock 5CLK is supplied to the clock terminal CK of the shift register (42). In this case, the data in each stage of the shift register (42) is sequentially shifted to the next stage at the timing when the shift clock 5CLK changes from a low level "0" to a high level "1".

また、シフトレジスタ(42)のパラレル入力端子pr
o〜PI21には、それぞれデータDATAO〜DAT
A21が供給される。
In addition, the parallel input terminal pr of the shift register (42)
o to PI21 have data DATAO to DAT, respectively.
A21 is supplied.

また、(43)はDフリップ70ツブであり、そのクロ
ック端子CKには、ワード同期信号WSが供給され、そ
の置端子の出力信号は、D端子に供給される。そして、
このDフリップ70ツブ(43)のQ端子および置端子
の出力信号は、それぞれシフトレジスタ(42)のパラ
レル入力端子PI22およびPI23にチエツクビット
CHECKIおよびCH1liCK2として供給される
Further, (43) is a D flip 70 tube, whose clock terminal CK is supplied with a word synchronization signal WS, and the output signal of its input terminal is supplied to its D terminal. and,
The output signals of the Q terminal and the input terminal of this D flip 70 tube (43) are supplied to the parallel input terminals PI22 and PI23 of the shift register (42) as check bits CHECKI and CH1liCK2, respectively.

以上の構成において、シフトレジスタ(42)の置端子
には、パラレル入力端子PIO〜PI21に供給される
データDATAO〜DATA21がワード周期で変換さ
れたシリアルデータ5DATAが出力される。また、D
フリップフロップ(43)のQ端子およびQ端子には、
互いに反転し、かつそれぞれがワード周期ごとに反転す
る信号が出力されるので、上述したシフトレジスタ(4
2)の置端子に出力されるシリアルデータ5DATAの
最後に、互いに反転し、かつそれぞれがワード周期ごと
に反転する2ビットのチエツクビットCHBCKIおよ
びCIIBCK2が付加される。したがって、シフトレ
ジスタ(42)の置端子には、第3図Gに示すようなシ
リアルデータ5DATAが出力され、このシリアルデー
タS口AT^は、バッファ(44)を介して受信側に伝
送される。
In the above configuration, the serial data 5DATA obtained by converting the data DATAO to DATA21 supplied to the parallel input terminals PIO to PI21 at a word cycle is output to the terminal of the shift register (42). Also, D
The Q terminal and Q terminal of the flip-flop (43) are
Since signals are output that are mutually inverted and each inverted every word period, the above-mentioned shift register (4
At the end of the serial data 5DATA output to the input terminal 2), 2-bit check bits CHBCKI and CIIBCK2, which are inverted with each other and each inverted every word period, are added. Therefore, serial data 5DATA as shown in FIG. 3G is output to the terminal of the shift register (42), and this serial data AT^ is transmitted to the receiving side via the buffer (44). .

また、マスタークロックCLKおよびワード同期信号W
Sは、それぞれバッファ(45)および(46)を介し
て受信側に伝送される。
In addition, the master clock CLK and the word synchronization signal W
S are transmitted to the receiving side via buffers (45) and (46), respectively.

G2 受信側回路の説明 つぎに、第2図はREC基板に配される受信側回路を示
すものである。
G2 Description of Receiving Side Circuit Next, FIG. 2 shows the receiving side circuit arranged on the REC board.

同図において、(51)はタイミング発生器であり、こ
のタイミング発生器(51)には、送信側より伝送され
るマスタークロックCLK (第3図Aに図示)および
ワード同期信号WS (同図已に図示)が、それぞれバ
ッファ(52)および(53)を介して供給される。こ
のタイミング発生器(51)からは、マスタークロック
CLKおよびワード同期信号WSに基づいて、シフトク
ロック5CLK’  (同図Eに図示)が発生される。
In the figure, (51) is a timing generator, and this timing generator (51) includes a master clock CLK (shown in Figure 3A) and a word synchronization signal WS (shown in Figure 3A) transmitted from the transmitting side. (shown in FIG. 1) are supplied via buffers (52) and (53), respectively. The timing generator (51) generates a shift clock 5CLK' (shown in E of the same figure) based on the master clock CLK and the word synchronization signal WS.

このシフトクロック5CLK ’ は上述したシフトク
ロック5CLK (同図りに図示)と位相反転関係にお
かれる。そして、このシフトクロック5CLK ’は、
シリアル/パラレル変換回路を構成する24段構成のシ
フトレジスタ(54)のクロック端子CKに供給される
。この場合、シフトクロック5CLK ’が低レベル“
0”から高レベル“1”となるタイミングで、シフトレ
ジスタ(54)の各段のレジスタのデータが順次次段に
シフトされると共に、シリアル入力端子SINに供給さ
れるデータが順次レジスタに取り込まれる。
This shift clock 5CLK' is placed in a phase-inverted relationship with the shift clock 5CLK (shown in the same figure) described above. And this shift clock 5CLK' is
The signal is supplied to a clock terminal CK of a 24-stage shift register (54) constituting a serial/parallel conversion circuit. In this case, shift clock 5CLK' is at low level "
At the timing when the level changes from "0" to high level "1", the data in each stage of the shift register (54) is sequentially shifted to the next stage, and the data supplied to the serial input terminal SIN is sequentially taken into the register. .

また、シフトレジスタ(54)のシリアル入力端子SI
Nには、送信側より伝送されるシリアルデータ5DAT
Aが、バッファ(55)およびインバータ(56)の直
列回路を介して供給される。インバータ(56)は負論
理で伝送されたものを正論理に戻すために配されている
Also, the serial input terminal SI of the shift register (54)
N contains serial data 5DAT transmitted from the transmitting side.
A is supplied through a series circuit of a buffer (55) and an inverter (56). The inverter (56) is arranged to return what is transmitted in negative logic to positive logic.

また、(57)はDフリップフロップであり、そのクロ
ック端子CKには、タイミング発生器(51)よりシフ
トクロックSCLに′が供給され、そのD端子にはバッ
ファ(55)の出力側よりシリアルデータ5DATAが
供給される。このD71Jツブプロップ(57)のQ端
子に出力される信号は、Dフリップフロップ(58)の
D端子に供給され、そのクロック端子CKには、タイミ
ング発生器(51)よりシフトクロック5CLK ’が
供給される。そして、Dフリップフロップ(57)のQ
端子およびDフリップ70ツブ(58)の置端子に出力
される信号は、イクスクルーシブオア回路(59)の入
力側に供給され、このイクスクルーシブオア回路(59
)の出力信号はノア回路(60)の入力側に供給される
Further, (57) is a D flip-flop whose clock terminal CK is supplied with the shift clock SCL from the timing generator (51), and whose D terminal is supplied with serial data from the output side of the buffer (55). 5DATA is supplied. The signal output to the Q terminal of this D71J tube prop (57) is supplied to the D terminal of the D flip-flop (58), and the shift clock 5CLK' is supplied from the timing generator (51) to its clock terminal CK. Ru. And the Q of the D flip-flop (57)
The signal output to the terminal and the terminal of the D flip 70 tube (58) is supplied to the input side of the exclusive OR circuit (59).
) is supplied to the input side of the NOR circuit (60).

また、(61)はDフリップフロップであり、そのクロ
ック端子CKにはバッファ(52)の出力側よりマスタ
ークロックCLKが供給され、そのD端子にはバッファ
(53)の出力側よりワード同期信号WSが供給される
。このDフリップフロップ(61)の置端子に出力され
る信号は、Dフリップフロップ(62)のクロック端子
CKに供給され、そのD端子には、Dフリップフロップ
(57)のQ端子に出力される信号が供給される。そし
て、Dフリップフロップ(57)のQ端子右よびDフリ
ップフロップ(62)の置端子に出力される信号は、イ
クスクルーシブオア回路(63)の入力側に供給され、
このイクスクルーシブオア回路(63)の出力信号はノ
ア回路(60)の入力側に供給される。
Further, (61) is a D flip-flop whose clock terminal CK is supplied with the master clock CLK from the output side of the buffer (52), and whose D terminal is supplied with the word synchronization signal WS from the output side of the buffer (53). is supplied. The signal output to the terminal of this D flip-flop (61) is supplied to the clock terminal CK of the D flip-flop (62), and the signal is output to the Q terminal of the D flip-flop (57). A signal is provided. The signals output to the right Q terminal of the D flip-flop (57) and the left terminal of the D flip-flop (62) are supplied to the input side of the exclusive OR circuit (63).
The output signal of this exclusive OR circuit (63) is supplied to the input side of the NOR circuit (60).

そして、ノア回路(60)の出力信号は、16進カウン
タ(64)のロード端子LO^0に供給される。この場
合、ロード端子1口Anに供給される信号が低レベル“
0′″となると、クロックに同期して16進カウンタ(
64)の各ピットのデータは、そのデータ入力端子A−
Dに供給されるデータとされる。なお、このデータ入力
端子A−Dは接地され、したがって、このデータ入力端
子A−Dには、それぞれ低レベル“0”の信号が供給さ
れる。
The output signal of the NOR circuit (60) is then supplied to the load terminal LO^0 of the hexadecimal counter (64). In this case, the signal supplied to one load terminal An is at a low level “
When it becomes 0'', the hexadecimal counter (
64), the data of each pit is input to its data input terminal A-
It is assumed that the data is supplied to D. Note that the data input terminals A to D are grounded, and therefore, a low level "0" signal is supplied to each of the data input terminals A to D.

また、16進カウンタ(64)のリップルキャリー出力
端子RCOに出力される信号は、インバータ(65)を
介してカウントイネーブル信号入力端子Pに供給される
。この場合、16進カウンタ(64)は、カウントイネ
ーブル信号入力端子Pに供給される信号が高レベル“1
”となるときにはカウント状態とされ、一方、低レベル
“0“となるときにはホールド状態とされる。
Further, the signal output to the ripple carry output terminal RCO of the hexadecimal counter (64) is supplied to the count enable signal input terminal P via the inverter (65). In this case, the hexadecimal counter (64) is configured such that the signal supplied to the count enable signal input terminal P is at a high level "1".
”, it is in a counting state, while when it is at a low level “0”, it is in a hold state.

また、16進カウンタ(64)のリップルキャリー出力
端子RCOに出力される信号は、シフトレジスタ(54
)のリセット端子πに供給される。この場合、リセット
端子πに低レベル“0”の信号が供給されるときには、
シフトレジスタ(54)はリセットされる。
Furthermore, the signal output to the ripple carry output terminal RCO of the hexadecimal counter (64) is
) is supplied to the reset terminal π. In this case, when a low level “0” signal is supplied to the reset terminal π,
The shift register (54) is reset.

また、Dフリップフロップ(61)のζ端子に出力され
る信号は、シフトレジスタ(54)のラッチ端子りに供
給される。この場合、ラッチ端子りに供給される信号が
低レベル“0”から高レベル“1″となるとき、シフト
レジスタ(54)の第1〜第22段のレジスタのデータ
がラッチされて出力端子Q0〜Q21に導出される。
Further, the signal output to the ζ terminal of the D flip-flop (61) is supplied to the latch terminal of the shift register (54). In this case, when the signal supplied to the latch terminal changes from a low level "0" to a high level "1", the data in the first to 22nd stage registers of the shift register (54) is latched and the output terminal Q0 - Derived from Q21.

また、(66)はワンショット回路であり、そのトリガ
端子TRGには、バッファ(52)の出力側よりマスタ
ークロックCLKが供給される。この場合、その時定数
が調整され、マスタークロックCLKがないときには、
そのQ端子より高レベル“l”の信号が出力されるよう
になされる。また、(67)もワンショット回路であり
、そのトリガ端子TRGには、バッファ(53)の出力
側よりワード同期信号WSが供給される。この場合、そ
の時定数が調整され、ワード同期信号WSがないときに
は、そのζ端子より高レベル“1”の信号が出力される
ようになされる。
Further, (66) is a one-shot circuit, and its trigger terminal TRG is supplied with the master clock CLK from the output side of the buffer (52). In this case, when the time constant is adjusted and there is no master clock CLK,
A high level "1" signal is output from the Q terminal. Further, (67) is also a one-shot circuit, and the word synchronization signal WS is supplied to the trigger terminal TRG from the output side of the buffer (53). In this case, the time constant is adjusted so that when there is no word synchronization signal WS, a high level "1" signal is output from the ζ terminal.

そして、ワンショット回路(66)および(67)のζ
端子に出力される信号は、ノア回路(68)の入力端に
供給され、このノア回路(68)の出力信号は、16進
カウンタ(64)のクリア端子CLRに供給される。
And ζ of one-shot circuits (66) and (67)
The signal output to the terminal is supplied to the input terminal of a NOR circuit (68), and the output signal of this NOR circuit (68) is supplied to the clear terminal CLR of the hexadecimal counter (64).

この場合、クリア端子CLRに低レベル“0′″の信号
が供給されるとき、16進カウンタ(64)はクリアさ
れる。
In this case, when a low level "0'" signal is supplied to the clear terminal CLR, the hexadecimal counter (64) is cleared.

なお、16進カウンタ(64)のクロック端子CKには
、Dフリップフロップ(61)のζ端子に出力される信
号が供給される。
Note that the clock terminal CK of the hexadecimal counter (64) is supplied with a signal output to the ζ terminal of the D flip-flop (61).

以上の構成において、シフトレジスタ(54)のクロッ
ク端子CKには、シフトクロック5CLK’  (第3
図Eに図示)が供給されるので、シフトレジスタ(54
)の各段のレジスタのデータが順次次段にシフトされる
と共に、シリアル入力端子SINに供給されるデータが
順次レジスタに取り込まれる。
In the above configuration, the clock terminal CK of the shift register (54) has a shift clock 5CLK' (third
(shown in Figure E) is supplied with a shift register (54
) is sequentially shifted to the next stage, and data supplied to the serial input terminal SIN is sequentially taken into the register.

ここで、Dフリップフロップ(61)のζ端子に出力さ
れる信号は、第3図Fに示すようになる。したがって、
シフトレジスタ(54)の第1〜第24段のレジスタの
データが、それぞれDAT八〇へC)IBCK2となっ
たのち、ラッチ端子りに供給される信号が低レベル“0
#から高レベル“1”となり、第1〜第22段のレジス
タのデータがラッチされるので、出力端子QO〜Q21
には、ワード周期でデータD^TAO〜DATA21が
順次取り出される。
Here, the signal output to the ζ terminal of the D flip-flop (61) is as shown in FIG. 3F. therefore,
After the data in the 1st to 24th stage registers of the shift register (54) are respectively transferred to DAT80 and C) IBCK2, the signal supplied to the latch terminal becomes low level "0".
# becomes a high level "1" and the data of the first to 22nd stage registers are latched, so the output terminals QO to Q21
, data D^TAO to DATA21 are sequentially taken out in word cycles.

また、シフトレジスタ(54)の第1〜第24段のレジ
スタのデータが、それぞれDATAO〜(:HECK2
となるとき、Dフリップフロップ(57)および(58
)のQ端子には、それぞれチエツクビットC)IBCに
2およびC11EiCK1が出力される。これらチエツ
クビットCI(ECに1およびCHBCに2が互いに反
転しているときは、イクスクルーシブオア回路(59)
の出力信号は低レベル“0”となり、その他のときは、
高レベル“l”となる。
In addition, the data of the first to 24th stage registers of the shift register (54) are respectively DATAO~(:HECK2
, the D flip-flops (57) and (58
), the check bits C)IBC2 and C11EiCK1 are output to the Q terminals of the IBC and C11EiCK1, respectively. When these check bits CI (1 in EC and 2 in CHBC are inverted, the exclusive OR circuit (59)
The output signal is low level “0”, and at other times,
It becomes a high level "l".

また、Dフリップフロップ(62)のクロック端子CK
には、Dフリップフロップ(61)のζ端子に出力され
る信号(第3図Fに図示)が供給されるので、Dフリッ
プフロップ(62)のQ端子には、1ワ一ド周期前のチ
エツクビットCHECK2が出力される。
Also, the clock terminal CK of the D flip-flop (62)
is supplied with the signal output to the ζ terminal of the D flip-flop (61) (shown in FIG. Check bit CHECK2 is output.

現在のチエツクビットCHECK2およびlワード周期
前のチエツクビットC)lEcK2が互いに反転してい
るときは、イクスクルーシブオア回路(63)の出力信
号は低レベル“0”となり、その他のときは、高レベル
“1”となる。
When the current check bit CHECK2 and the check bit C)lEcK2 from l word period ago are inverted, the output signal of the exclusive OR circuit (63) is low level "0"; otherwise, it is high. The level becomes “1”.

したがって、チエツクビットCHECK1およびCI(
ECに2が互いに反転し、かつ現在のチエツクビットC
HεCに2および1ワ一ド周期前のチエツクビットCH
ECK2が互いに反転しているとき(シリアルデータ5
DATAに誤りがないと考えられるとき)には、ノア回
路(60)の出力信号は高レベル“l”となるので、1
6進カウンタ(64)に、データ入力端子A−Dに供給
されるデータが取り込まれることはなく、リップルキャ
リー出力端子RCOには高レベル“1″の信号が出力さ
れ続ける。そのため、16進カウンタ(64)はホール
ド状態とされると共に、シフトレジスタ(54)はリセ
ットされない。
Therefore, check bits CHECK1 and CI(
2 is reversed to EC and current check bit C
Check bit CH 2 and 1 word period before HεC
When ECK2 are inverted each other (serial data 5
When it is considered that there is no error in DATA), the output signal of the NOR circuit (60) is at high level "l", so 1
The hexadecimal counter (64) does not take in the data supplied to the data input terminals AD, and a high level "1" signal continues to be output to the ripple carry output terminal RCO. Therefore, the hexadecimal counter (64) is placed in a hold state, and the shift register (54) is not reset.

一方、チエツクビットC)IBcKIおよびCHECK
2が互いに反転していないか、あるいは現在のチエツク
ビットCHEiCK2および1ワ一ド周期前のチエツク
ピッ) CHECK2が互いに反転していないとき(シ
リアルデータ5DATA に誤りがあると考えられると
き)には、ノア回路(60)の出力信号は低レベル“0
”となるので、16進カウンタ(64)に、データ入力
端子A−Dに供給される低レベル“0”のデータが取り
込まれるので、リップルキャリー出力端子RC○には低
レベル“0”の信号が出力され、そのため、シフトレジ
スタ(54)はリセットされる。
On the other hand, check bit C) IBcKI and CHECK
2 are not inverted with respect to each other, or the current check bit CHEiCK2 and the check pick of one word period ago). The output signal of the circuit (60) is low level "0"
”, the low level “0” data supplied to the data input terminals A-D is taken into the hexadecimal counter (64), so the ripple carry output terminal RC○ receives a low level “0” signal. is output, and therefore the shift register (54) is reset.

これにより、出力端子QO−Q21には、誤ったデータ
DATAO〜DATA21は出力されない。また、16
進カウンタ(64)はカウント状態とされる。そのため
、Dフリップフロップ(61)の回端子に出力される信
号が低レベル“0”から高レベル“1”となるタイミン
グで、ノア回路(60)の出力信号が高レベル″1”と
なるときには順次カウントアツプされるが、この状態が
16回連続すると、リップルキャリー出力端子RCOに
高レベル“1”の信号が出力されて、シフトレジスタ(
54)のリセット状態が解除される。
As a result, erroneous data DATAO to DATA21 are not output to the output terminal QO-Q21. Also, 16
The advance counter (64) is placed in a counting state. Therefore, when the output signal of the NOR circuit (60) becomes high level "1" at the timing when the signal output to the circuit terminal of the D flip-flop (61) changes from low level "0" to high level "1", The count is sequentially counted up, and when this state continues 16 times, a high level "1" signal is output to the ripple carry output terminal RCO, and the shift register (
54) is released from the reset state.

また、マスタークロックCLKあるいはワード同期信号
WSがないときには、ノア回路(68)の出力信号は低
レベル“0′″となり、16進カウンタ(64)はクリ
アされるので、リップルキャリー出力端子RCOには低
レベル“0″の信号が出力され、そのため、シフトレジ
スタ(54)はリセットされる。
Furthermore, when there is no master clock CLK or word synchronization signal WS, the output signal of the NOR circuit (68) becomes low level "0'" and the hexadecimal counter (64) is cleared, so the ripple carry output terminal RCO is A low level "0" signal is output, so that the shift register (54) is reset.

これにより、出力端子QO〜Q21には、誤ったデータ
DATAO〜DATA21は出力されない。
As a result, erroneous data DATAO to DATA21 are not output to the output terminals QO to Q21.

このように本例によれば、ワード周期ごとのシリアルデ
ータ5DATAの最後に付加された2ビットのチエツク
ピッ) CHECKl、 CHECK2が互いに反転し
、かつそれぞれがワード周期ごとに反転しているか否か
を確認してデータDATAO〜口^TA21の誤りを検
出するものであり、この誤りをDフリップフロップ(5
7)、 (58)、 (61)、 (62) 、イクス
クルーシブオア回路(59)、(63) 、ノア回路(
60)よりなる簡単な回路で検出することができる。な
お、チエツクピッ)CHtICKl、 CHBCK2が
ワード周期ごとのシリアルデータSO^TAの最後に付
加されるので、シリアルデータ5DAT^、の誤りが、
第4図BのE2. E3 に示すようにチェックビット
にかかるものは確実に検出できる−が、El のように
チェックビットにかからないものは検出することができ
ない。なお、同図Aはワード同期信号WSを示している
In this way, according to this example, it is checked whether the 2-bit check bits (CHECK1 and CHECK2) added to the end of the serial data 5DATA for each word period are inverted with each other and each word period is also inverted. This is used to detect errors in the data DATAO~TA21, and this error is detected by the D flip-flop (5
7), (58), (61), (62), exclusive OR circuit (59), (63), NOR circuit (
60) can be detected with a simple circuit consisting of: Note that since the check picks CHtICKl and CHBCK2 are added to the end of the serial data SO^TA for each word cycle, an error in the serial data 5DAT^ is
E2 in Figure 4B. Things that fall on the check bits, as shown in E3, can be reliably detected, but things that do not fall on the check bits, such as El, cannot be detected. Note that A in the figure shows the word synchronization signal WS.

また、ワード周期ごとのシリアルデータ5DATAの最
後に2ビットのチエ”)クビットCIIEICに1.’
 CHBCに2が付加されるだけであるので、伝送効率
を低下させずにデータを伝送することができる。
Also, at the end of the serial data 5DATA for each word period, there is a 2-bit check (1.') in the qubit CIIEIC.
Since 2 is only added to CHBC, data can be transmitted without reducing transmission efficiency.

なお、上述実施例によれば、ノア回路(60)の出力信
号が低レベル“0”となるとき、シフトレジスタ(54
)をリセットするようにしたものであるが、ラッチ端子
りに供給される信号をゲート制御して、出力端子QO〜
Q21に前と同じデータDATAO〜DATA21が出
力されるようにすることもできる。
According to the above embodiment, when the output signal of the NOR circuit (60) becomes low level "0", the shift register (54)
), the signal supplied to the latch terminal is gate-controlled, and the output terminal QO~
It is also possible to output the same data DATAO to DATA21 as before to Q21.

H発明の効果 以上述べたように、この発明によれば、ワード周期ごと
のシリアルデータの最後に付加された2ビットのチェッ
クビットが互いに反転し、かつそれぞれがワード周期ご
とに反転しているか否かを確認してデータの誤りを検出
するので、データの誤りを簡単な回路で検出することが
できる。また、ワード周期ごとのシリアルデータの最後
に2ビットのチエツクビットが付加されるだけであるの
で、伝送効率をそれ程低下させずにデータを伝送するこ
とができる。
H Effects of the Invention As described above, according to the present invention, the two check bits added at the end of the serial data in each word period are mutually inverted, and it is possible to determine whether or not each of them is inverted in each word period. Data errors can be detected with a simple circuit. Further, since only two check bits are added to the end of the serial data for each word period, data can be transmitted without significantly reducing transmission efficiency.

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

第1図および第2図はこの発明の一実施例を示す構成図
、第3図および第4図はその説明のための図、第5図は
マルチチャンネルPCMレコーダのンステムコントロー
ル系の一例を示す図、第6図は従来例の説明のための図
である。 (41)および(51)はタイミング発生器、(42)
および(54)はシフトレジスタ、(43) (57)
 (58) (61)および(62)はDフリップフロ
ップ、(56)はインバータ、(59)および(63)
はイクスクルーシブオア回路、(60)および(68)
はノア回路、(64)は16進カウンタ、(66)およ
び(67)はワンショット回路である。 代  理  人     伊  藤     真向  
      松  隈  秀  盛第1図 (WS) 第4図 第5図
1 and 2 are block diagrams showing one embodiment of the present invention, FIGS. 3 and 4 are diagrams for explaining the same, and FIG. 5 shows an example of the system control system of a multi-channel PCM recorder. 6 are diagrams for explaining a conventional example. (41) and (51) are timing generators, (42)
and (54) is a shift register, (43) (57)
(58) (61) and (62) are D flip-flops, (56) is an inverter, (59) and (63)
are exclusive OR circuits, (60) and (68)
is a NOR circuit, (64) is a hexadecimal counter, and (66) and (67) are one-shot circuits. Agent Mamukai Ito
Hidemori Matsukuma Figure 1 (WS) Figure 4 Figure 5

Claims (1)

【特許請求の範囲】[Claims] パラレルデータをワード周期でシリアルデータに変換し
て伝送するデータ伝送方式において、上記ワード周期ご
とのシリアルデータの最後に、互いに反転し、かつそれ
ぞれが上記ワード周期ごとに反転する2ビットのチェッ
クビットを付加して伝送することを特徴とするデータ伝
送方式。
In a data transmission method in which parallel data is converted into serial data in a word period and transmitted, two check bits that are mutually inverted and each inverted in each word period are inserted at the end of the serial data in each word period. A data transmission method that is characterized by the fact that data is added and transmitted.
JP63149435A 1988-06-17 1988-06-17 Data transmission method, data transmission device, data reception method, and data reception device Expired - Fee Related JP2712304B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63149435A JP2712304B2 (en) 1988-06-17 1988-06-17 Data transmission method, data transmission device, data reception method, and data reception device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63149435A JP2712304B2 (en) 1988-06-17 1988-06-17 Data transmission method, data transmission device, data reception method, and data reception device

Publications (2)

Publication Number Publication Date
JPH01317042A true JPH01317042A (en) 1989-12-21
JP2712304B2 JP2712304B2 (en) 1998-02-10

Family

ID=15475052

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63149435A Expired - Fee Related JP2712304B2 (en) 1988-06-17 1988-06-17 Data transmission method, data transmission device, data reception method, and data reception device

Country Status (1)

Country Link
JP (1) JP2712304B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013059029A (en) * 2011-09-07 2013-03-28 Toshiba Corp Signal conversion device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5825740A (en) * 1981-08-08 1983-02-16 Fujitsu Ltd Encoding system for transmission line
JPS60213150A (en) * 1984-04-06 1985-10-25 Nec Corp Code system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5825740A (en) * 1981-08-08 1983-02-16 Fujitsu Ltd Encoding system for transmission line
JPS60213150A (en) * 1984-04-06 1985-10-25 Nec Corp Code system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013059029A (en) * 2011-09-07 2013-03-28 Toshiba Corp Signal conversion device

Also Published As

Publication number Publication date
JP2712304B2 (en) 1998-02-10

Similar Documents

Publication Publication Date Title
US5077552A (en) Interface for coupling audio and video equipment to computer
US3576433A (en) Data entry verification system
US7007120B2 (en) Information transfer protocol having sync fields of different lengths
JPS58173947A (en) Binary signal decoder
EP0276445B1 (en) Method and apparatus for detecting transient errors
JPH01317042A (en) Data transmission system
JPH02170647A (en) Method and device for transmitting and receiving character by using balance weight error correction sign
JP3336673B2 (en) Data transmission equipment
KR0157296B1 (en) Method for transmitting digital signal
JP2011061525A (en) Receiver and semiconductor device based on asynchronous communication using manchester code
JPS6021648A (en) Optical signal generator
CN116614159B (en) Twisted pair isolation type communication transmission method for battery monitoring
EP0359265A2 (en) Zero string error detection circuit
JPH0526849Y2 (en)
US4351008A (en) Modulator for use in an interface between a digital signal processing apparatus and an audio tape deck
JPS6020774B2 (en) Serial parallel converter
US4626935A (en) Device for coupling cassette tape recorder to microcomputer
JPH067385Y2 (en) Interface circuit
JPS584364B2 (en) Data monitoring method
JP3334466B2 (en) Parallel / serial conversion circuit
CN117201222A (en) I2C interface system, data writing method and data reading method
JPH0546105Y2 (en)
KR100222037B1 (en) Text interfacing method in compact disk
SU1649499A1 (en) Synchronizer
JPS61260734A (en) Detection of bit synchronization

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees