JPS58188952A - Parallel serial data transmitting circuit - Google Patents

Parallel serial data transmitting circuit

Info

Publication number
JPS58188952A
JPS58188952A JP57072345A JP7234582A JPS58188952A JP S58188952 A JPS58188952 A JP S58188952A JP 57072345 A JP57072345 A JP 57072345A JP 7234582 A JP7234582 A JP 7234582A JP S58188952 A JPS58188952 A JP S58188952A
Authority
JP
Japan
Prior art keywords
clock
shift
signal
circuit
serial data
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
JP57072345A
Other languages
Japanese (ja)
Other versions
JPH0153821B2 (en
Inventor
Kenzo Ishiguro
石黒 健三
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.)
Hewlett Packard Japan Inc
Original Assignee
Yokogawa Hewlett Packard 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 Yokogawa Hewlett Packard Ltd filed Critical Yokogawa Hewlett Packard Ltd
Priority to JP57072345A priority Critical patent/JPS58188952A/en
Publication of JPS58188952A publication Critical patent/JPS58188952A/en
Publication of JPH0153821B2 publication Critical patent/JPH0153821B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L25/00Baseband systems
    • H04L25/38Synchronous or start-stop systems, e.g. for Baudot code
    • H04L25/40Transmitting circuits; Receiving circuits
    • H04L25/45Transmitting circuits; Receiving circuits using electronic distributors

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE:To secure parallel serial data transmission, by dividing the frequency of a system clock and generating a transmission reception system shift clock, and setting the speed of the system clock optionally while varying a frequency division ratio. CONSTITUTION:A frequency divider C divides the frequency of system clock (a) and supplies the frequency-divided signal (d) to a clock control circuit E. A shift register A converts parallel data into serial data (h) in response to a system clock (f) and outputs the serial data. In this case, a shift counter B counts the shift clock, and when its counted value reaches a specific value, the clock control circuit E is controlled to stop the transfer of the shift clock from the circuit C to the register A. Further, a strobe signal (g) and a stop signal (e) are generated according to the counted value of the counter B.

Description

【発明の詳細な説明】 本発明はデジタル信号をアイ・ンレータを介して伝送す
る場合のパラレル・シリアル書データ伝送回路に関する
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a parallel/serial data transmission circuit for transmitting digital signals via an eye inverter.

第1図はデジタル信号伝送の概念図である。図において
、送信系1から受信系3にデジタル信号を伝送する場合
、アイソレータ(例えばホトカプラー)2が使用される
。これは送信系と受信系シのグランドを別にし、ノイズ
の影響を除去するためである。そして信号線の数、アイ
ソレータの数を少なくしまたノイズの影響を除去するた
めに、パラレルデータをシリアルデータ忙変換して伝送
される。即ち送信系1内(1パラレル書シリアル変換回
路(シフトレジスタ)4、受信系3内忙シリアル・パラ
レル変換回路(シフトレジスタ)5を設け、シリアルデ
ータ7が伝送される。また受信系1と送信系3とを同期
させるためにシフトクロック8が伝送される。また受信
系3内にはシリアル・パラレル変換回路5の出方をメモ
リするメモリ回路6が用いられ、送信系1はデータ伝送
終了後にストローブ信号9を送信して、メモリ回路6が
データを受信できるようにする。このように一般的に、
データ7、シフトクロック8およびストローブ信号9が
アイソレータ2を介して伝送される。
FIG. 1 is a conceptual diagram of digital signal transmission. In the figure, when transmitting a digital signal from a transmitting system 1 to a receiving system 3, an isolator (for example, a photocoupler) 2 is used. This is to separate the grounds for the transmitting system and the receiving system to eliminate the influence of noise. In order to reduce the number of signal lines and isolators and to eliminate the influence of noise, parallel data is converted into serial data and transmitted. That is, a parallel to serial conversion circuit (shift register) 4 is provided in the transmission system 1 and a serial to parallel conversion circuit (shift register) 5 is provided in the reception system 3, and serial data 7 is transmitted. A shift clock 8 is transmitted in order to synchronize with the system 3. Also, a memory circuit 6 is used in the reception system 3 to memorize the output of the serial/parallel conversion circuit 5. A strobe signal 9 is transmitted to enable the memory circuit 6 to receive data.
Data 7, shift clock 8 and strobe signal 9 are transmitted via isolator 2.

しかしながら従来回路は次のような欠点を有する。However, the conventional circuit has the following drawbacks.

データ信号、システムクロックおよびスト四−プ信号を
発生ないし制御するクロック信号とし“(、送信系内の
マイクロプロセッサに用いるクロックをそのまま使用し
ている。即ちアイソレータの応答速度を何ら考罐せずに
クロック信号を定めている。よってアイソレータの応等
速度がクロックツ速度(伝送速度)に追従できず、確実
なデータ伝送ができない。近時マイクロプロセッサは高
速化されてきており、がかる問題は4IKIl著となっ
てきた。
As a clock signal that generates or controls data signals, system clocks, and strip signals, the clock used for the microprocessor in the transmission system is used as is. As a result, the equivalent speed of the isolator cannot follow the clock speed (transmission speed), and reliable data transmission cannot be performed.Recently, microprocessors have become faster, and this problem has been solved by the author of 4IKIl. It has become.

よって本発明の主たる目的は、使用するアイソレータの
応答速度に合わせた伝送速度(伝送りロック)が容易に
得られ、確実にデータ伝送を行なうことができるパラレ
ル・シリアルデータ伝送回路を提供することである。
Therefore, the main object of the present invention is to provide a parallel/serial data transmission circuit that can easily obtain a transmission speed (transmission lock) that matches the response speed of the isolator used and can perform data transmission reliably. be.

本発明の次の目的は同期式リセット−路を用い、シフト
動作をデータが送信系から受信系に確実に伝送された後
に停止Fすると共K、誤まったデータが伝送されるのを
防止し、またシフト動作停止後アイソレータの応答速度
に合ったストローブ信号を送り受信系内での確実なデー
タ転送を実現せんとするものである。以下図面を用いて
本発明を説明する。
Another object of the present invention is to use a synchronous reset path to stop the shift operation after the data has been reliably transmitted from the transmitting system to the receiving system, and to prevent erroneous data from being transmitted. Furthermore, after the shift operation is stopped, a strobe signal matching the response speed of the isolator is sent to realize reliable data transfer within the receiving system. The present invention will be explained below using the drawings.

第2図は本発明の一実施例によるパラレル・シリアル・
データ伝送回路のブロック図である。この伝送回路は送
信系を構成する。伝送回路は、パラレルデータを受信し
てシリアルデータhを送出するシフトレジスタA(本実
施例では8ビツト)と、シフトレジスタAのシフト回数
を計数し、ストローブ信号gおよびストップ信号を発生
するシフトカウンタBと、システムクロックを分周し、
分局信号dを送信系シフトクロックfとしてシフトレジ
スタAに供給すると共に受信系シフトクロックeを発生
するシステムクロック分局器Cと、分周4Cの出力信号
dおよび制御信号を受信し、送受信系シフトクロック信
号f、eの送出、停止を制御するクロック制御回路Eと
、スタート信号すおよびシフトカウンタBからのストッ
プ信号を受信し、シフトカウンタBKクリア信号(を送
ると共に、クロック制御回路Elc制御信号を送るスタ
ート・ストップ回路りとより構成される。伝送回路から
はシリアルデータh、ストローブ信号gおよび受信系シ
フトクロックeが送出され、これら信号はアイソレータ
を介して受信系に送られも即ち本発明は7.7トレジス
タ^およびシフトカウンタBで構成される従来回路に、
C,D、Eの要素を付加したものである。
FIG. 2 shows a parallel/serial system according to an embodiment of the present invention.
FIG. 2 is a block diagram of a data transmission circuit. This transmission circuit constitutes a transmission system. The transmission circuit includes a shift register A (8 bits in this embodiment) that receives parallel data and sends out serial data h, and a shift counter that counts the number of shifts in shift register A and generates a strobe signal g and a stop signal. B, divide the system clock,
A system clock divider C supplies the division signal d as the transmission system shift clock f to the shift register A and generates the reception system shift clock e, and receives the output signal d and control signal of the frequency divider 4C, and receives the transmission system shift clock f and generates the reception system shift clock e. A clock control circuit E that controls sending and stopping of signals f and e receives a start signal and a stop signal from shift counter B, sends a shift counter BK clear signal (and sends a clock control circuit Elc control signal) Serial data h, strobe signal g, and reception system shift clock e are sent from the transmission circuit, and these signals are sent to the reception system via an isolator. .7 In the conventional circuit consisting of a register and shift counter B,
The elements C, D, and E are added.

次に第2図の回路の動作を説明する。第3図は第2図の
回路の各部波形図である。aは送信系内のマイクロプロ
セッサの制御に使用される高速システムクロックである
。シフトレジスタAVCはスタート信号すに応答してパ
ラレルデータがロードされ、その後はシフトクロックf
に応答して1ピツトづつシリアルに信号を送出する。分
局器Cはシステムクロックaを分周しく実施例ではl/
4)、アイソレータの応等速度に合った分局信号dを発
生する。スタート信号すに応答して分局信号dは制御回
路Eを通過し、送受信系シフトクロックf。
Next, the operation of the circuit shown in FIG. 2 will be explained. FIG. 3 is a waveform diagram of each part of the circuit of FIG. 2. a is a high-speed system clock used to control the microprocessor in the transmission system. Parallel data is loaded into the shift register AVC in response to the start signal f, and thereafter the shift register AVC is loaded with parallel data in response to the start signal f.
In response to this, a signal is sent serially one pit at a time. The divider C divides the system clock a into l/
4) Generate a branch signal d that matches the corresponding speed of the isolator. In response to the start signal S, the branch signal d passes through the control circuit E, and the transmission/reception system shift clock f.

eが発生され、シリアルデータが1ビツトづつ伝送され
ると共に、受信系ではシフトクロックeに応答してシリ
アルデータが受信される。なおeはfより半周期遅れて
おり、受信系で確実なデータ受信が行なわれる。またシ
フトクロックの送出個数がシフトカウンタBで計数され
、シフトレジスタのビット数に対応する8個のシフトク
ロックが発生したときストローブ信号gとストップ信号
が発生される。よってスタート−ストップ回路りがリセ
ットされ、シフトクロックの送出が停止されると共にシ
フトカウンタBがリセットされる。
e is generated, serial data is transmitted bit by bit, and the receiving system receives the serial data in response to the shift clock e. Note that e lags f by half a cycle, and reliable data reception is performed in the receiving system. The number of shift clocks sent out is counted by a shift counter B, and when eight shift clocks corresponding to the number of bits of the shift register are generated, a strobe signal g and a stop signal are generated. Therefore, the start-stop circuit is reset, transmission of the shift clock is stopped, and shift counter B is reset.

以−ヒの説明より明らかなように送受信系シフトクロッ
クはシステムクロックを分周することにより発生され、
シフトクロックの速度は分局比を変えることにより任意
に設定できる。よってアイソレータの応答速度に合わせ
てシフトクロックの速度を決定でき、確実なデータ伝送
をなしうる。
As is clear from the explanation below, the transmission/reception system shift clock is generated by dividing the system clock.
The speed of the shift clock can be set arbitrarily by changing the division ratio. Therefore, the speed of the shift clock can be determined in accordance with the response speed of the isolator, and reliable data transmission can be achieved.

第4図は本発明の他の実施例によるパラレル・シリアル
・データ伝送回路のブロック図である。
FIG. 4 is a block diagram of a parallel serial data transmission circuit according to another embodiment of the present invention.

第2図と同一部分には同一符号を付しである。第4図の
回路は第2図の回路の欠点を改良したものである。再び
第2,3図において、ストローブ信号gは、シフトカウ
ンタBKよるシフトパルスの8個の計数後発生され、そ
の後すぐにスタート・ストップ回路りによりリセットさ
れる。したがってストローブ信号の幅が狭く、アイソレ
ータの特性によりストローブ信号が確実に伝送されず、
受信系においてデータ転送が確実に行なわれない。
The same parts as in FIG. 2 are given the same reference numerals. The circuit of FIG. 4 improves on the drawbacks of the circuit of FIG. 2. Referring again to FIGS. 2 and 3, the strobe signal g is generated after the count of eight shift pulses by the shift counter BK and is immediately thereafter reset by the start/stop circuit. Therefore, the width of the strobe signal is narrow, and the strobe signal is not transmitted reliably due to the characteristics of the isolator.
Data transfer is not performed reliably in the receiving system.

第4図の回路はかかる点を敗良せんとするものである。The circuit shown in FIG. 4 is intended to overcome this problem.

第4図の回路は前述したシフトレジスタA、シフトカウ
ンタB1システムクロック分周器Cの外に、システムク
ロック分局器CおよびシフトカウンタBの出力信号を受
信し、ストローブ信号mおよびシフトカウンタリセット
信号nを発生する同期式シフトカウンタリセット回路E
、シフトクロック信号およびシフトカウンタBの出力信
号を受信し、受信系用シフトクロックlを発生する受信
系シフトクロック発生回路F、ロード信号すおよび同期
式シフトカウンタリセット回路Eの出力信号nを受信し
、送受、信系のシフトクロックの送出、停止を制御する
クロック信号制御回路Gを付加して構成される。
The circuit of FIG. 4 receives the output signals of a system clock divider C and a shift counter B in addition to the shift register A, shift counter B1 and system clock divider C described above, and receives a strobe signal m and a shift counter reset signal n. Synchronous shift counter reset circuit E that generates
, a reception system shift clock generation circuit F that receives the shift clock signal and the output signal of the shift counter B and generates the reception system shift clock l, receives the load signal S and the output signal n of the synchronous shift counter reset circuit E. , transmission/reception, and a clock signal control circuit G for controlling sending and stopping of shift clocks in the transmission system.

次に第4図の回路の動作を説明する。第5図は第4図の
回路の各部波形図である。シフトレジスタAの動作は第
2図と同一である。分局器Cはシフトクロックの基とな
る分周信号Jと、Jより高速の信号iとを発生する。シ
フトカウンタBがシフトクロックを8個計数すると信号
Rは1“どなる。そして信号iの次の立上りに同期して
シフトカウンタリセット回路Eはストローブ信号mおよ
びシフトカウンタリセット信号nを発生する。その結果
クロック信号制御回路Gがリセットないし不能にされ、
シフトクロックの送出が停止される(信号Pによる)。
Next, the operation of the circuit shown in FIG. 4 will be explained. FIG. 5 is a waveform diagram of each part of the circuit of FIG. 4. The operation of shift register A is the same as in FIG. The divider C generates a frequency-divided signal J, which is the basis of the shift clock, and a signal i faster than J. When shift counter B counts eight shift clocks, signal R becomes 1". Then, in synchronization with the next rising edge of signal i, shift counter reset circuit E generates strobe signal m and shift counter reset signal n. As a result, the clock signal control circuit G is reset or disabled;
Sending of the shift clock is stopped (by signal P).

その後ストローブ信号mは分周信号iに応答してCに復
帰する。このようにシフトレジスタA内の最終データ(
ビット7)が伝送された後、ある期間遅れて(シフトク
ロックに対して半周期)シフトクロックの送出が停止さ
れ、そしてその後シフトクロックの速度に等しいパルス
幅を持つストローブ信号mが発生されろうこのように信
号伝送後、アイソレータの応答速度に合った充分に幅の
広いス)o−プ信号が発生される。
Thereafter, strobe signal m returns to C in response to frequency-divided signal i. In this way, the final data in shift register A (
After bit 7) has been transmitted, the transmission of the shift clock will be stopped after a certain period of delay (half a period relative to the shift clock), and then a strobe signal m with a pulse width equal to the speed of the shift clock will be generated. After signal transmission, a sufficiently wide sweep signal is generated to match the response speed of the isolator.

以ト説明したことより明らかなようK、本発明によれば
、アイソレータの特性に合わせて確実なデータ伝送が行
なわれると共に、受信系に対して確実にストローブ信号
を伝送することができる。
As is clear from the above description, according to the present invention, data transmission can be performed reliably in accordance with the characteristics of the isolator, and strobe signals can be reliably transmitted to the receiving system.

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

第1図はデジタル信号伝送の概念図、第2図は本発明の
一実施例によるパラレル・シリアル・データ伝送回路の
ブロック図、第3図は第2図の回路の各部波形図、第4
図は本発明の他の実施例によるパラレル・シリアル・デ
ータ伝送回路のブロック図、第5図は第4図の回路の各
部波形図である。 に送信系、2ニアイソレータ、3:受信系、4:パラレ
ル・シリアル変換回路、5ニジリアル拳パラレル変換回
路、6:メモリ回路、A:シフトレジスタ、B:シフト
カウンタ、C:分周器、Dニスタート−ストップ回路、
E:クロック制御回路、F:受信系シフトクロック発生
回路、G:クロック信号制御回路。 堅−艶一一
Fig. 1 is a conceptual diagram of digital signal transmission, Fig. 2 is a block diagram of a parallel/serial data transmission circuit according to an embodiment of the present invention, Fig. 3 is a waveform diagram of each part of the circuit in Fig. 2, and Fig. 4 is a block diagram of a parallel/serial data transmission circuit according to an embodiment of the present invention.
The figure is a block diagram of a parallel/serial data transmission circuit according to another embodiment of the present invention, and FIG. 5 is a waveform diagram of each part of the circuit of FIG. 4. Transmission system, 2 near isolator, 3: Receiving system, 4: Parallel/serial conversion circuit, 5 Nijirial parallel conversion circuit, 6: Memory circuit, A: Shift register, B: Shift counter, C: Frequency divider, D Ni start-stop circuit,
E: clock control circuit, F: reception system shift clock generation circuit, G: clock signal control circuit. Ken - Kazuichi Tsuyoshi

Claims (1)

【特許請求の範囲】[Claims] システムクロックを分局しシフトクロックを発生する分
周器と、前記シフトクロックに応答してパラレルデータ
をシリアルデータに変換して送出する変換回路と、前記
シフトクロックを計数し計数値が予定値になった後、前
記分局器から変換回路へのシフトクロックの転送を停止
すると共にストローブ信号を発生する制御回路とより成
るパラレル・シリアル・データ伝送回路。
a frequency divider that divides the system clock and generates a shift clock; a conversion circuit that converts parallel data into serial data and sends it out in response to the shift clock; and a conversion circuit that counts the shift clock and makes sure that the counted value becomes a scheduled value. a control circuit for stopping the transfer of the shift clock from the branching unit to the conversion circuit and generating a strobe signal.
JP57072345A 1982-04-28 1982-04-28 Parallel serial data transmitting circuit Granted JPS58188952A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57072345A JPS58188952A (en) 1982-04-28 1982-04-28 Parallel serial data transmitting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57072345A JPS58188952A (en) 1982-04-28 1982-04-28 Parallel serial data transmitting circuit

Publications (2)

Publication Number Publication Date
JPS58188952A true JPS58188952A (en) 1983-11-04
JPH0153821B2 JPH0153821B2 (en) 1989-11-15

Family

ID=13486619

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57072345A Granted JPS58188952A (en) 1982-04-28 1982-04-28 Parallel serial data transmitting circuit

Country Status (1)

Country Link
JP (1) JPS58188952A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61105936A (en) * 1984-10-30 1986-05-24 Sony Corp Start-stop type data transmission system
JPS6388601A (en) * 1986-10-01 1988-04-19 Mitsubishi Electric Corp Positioning unit for sequence controller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61105936A (en) * 1984-10-30 1986-05-24 Sony Corp Start-stop type data transmission system
JPS6388601A (en) * 1986-10-01 1988-04-19 Mitsubishi Electric Corp Positioning unit for sequence controller

Also Published As

Publication number Publication date
JPH0153821B2 (en) 1989-11-15

Similar Documents

Publication Publication Date Title
US3755748A (en) Digital phase shifter/synchronizer and method of shifting
US4216544A (en) Digital clock recovery circuit
US6351165B1 (en) Digital jitter attenuator using an accumulated count of phase differences
US5729550A (en) Data transmitter-receiver
US4390985A (en) Device for the synchronization of digital data transmitted in packets
US4166249A (en) Digital frequency-lock circuit
US4914325A (en) Synchronizing circuit
US5708685A (en) Frame synchronous signal detector
JPS58188952A (en) Parallel serial data transmitting circuit
GB1454531A (en) Frequency comparison circuit arrangements
JPH06507769A (en) Clock synchronization method and circuit
JPS63996B2 (en)
US4741005A (en) Counter circuit having flip-flops for synchronizing carry signals between stages
US4484142A (en) Phase detector circuit
JPS61127243A (en) Bit phase synchronizing circuit
JP3485449B2 (en) Clock division switching circuit
JPS6320051B2 (en)
JPS61140221A (en) Timing generating circuit
JPH0831850B2 (en) Frame synchronization clock generation circuit
JPS6058616B2 (en) Communication device
JPH0770996B2 (en) Method and apparatus for converting a write clock with a gear to a read clock without a gear.
SU919126A2 (en) Device for synchronizing binary signals
GB1332772A (en) Digital phase tracker
JPH0223058B2 (en)
JPS6151456B2 (en)