JPS6285535A - Serial transmission system for binary data - Google Patents
Serial transmission system for binary dataInfo
- Publication number
- JPS6285535A JPS6285535A JP60226097A JP22609785A JPS6285535A JP S6285535 A JPS6285535 A JP S6285535A JP 60226097 A JP60226097 A JP 60226097A JP 22609785 A JP22609785 A JP 22609785A JP S6285535 A JPS6285535 A JP S6285535A
- Authority
- JP
- Japan
- Prior art keywords
- data
- signal
- bit
- frame
- period
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F02—COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
- F02B—INTERNAL-COMBUSTION PISTON ENGINES; COMBUSTION ENGINES IN GENERAL
- F02B75/00—Other engines
- F02B75/02—Engines characterised by their cycles, e.g. six-stroke
- F02B2075/022—Engines characterised by their cycles, e.g. six-stroke having less than six strokes per cycle
- F02B2075/025—Engines characterised by their cycles, e.g. six-stroke having less than six strokes per cycle two
Landscapes
- Dc Digital Transmission (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
Description
【発明の詳細な説明】
「産業上の利用分野」
この発明は非同期式の2値データの直列伝送において、
フレーム同期をとりやすくした2値データ直列伝送方式
に関する。[Detailed Description of the Invention] "Industrial Application Field" This invention applies to asynchronous serial transmission of binary data.
This invention relates to a binary data serial transmission system that facilitates frame synchronization.
「従来の技術」
第7図は従来の非同期式シリアルデータ伝送方式の例を
示す説明図である。"Prior Art" FIG. 7 is an explanatory diagram showing an example of a conventional asynchronous serial data transmission system.
例えば、8ビツトに区切られるH、Lレベルの信号値を
とる2値データを伝送する場合、非同期式シリアルデー
タ伝送方式では、無信号時NDの伝送路のレベル、例え
ばHレベルとは異なるしレベルの1ビツトのスタートビ
ットSTBを8つのデータビットDo、D+、・・・・
・・、D?の前に先導させ、その8ビツトデータ及びパ
リティビットPRの後にスタートビットSTBのレベル
とは異なるレベル、つまり無信号時NDのレベルと同し
I(レベルのストップビットSPBを付加したフレーム
構成をとって伝送する。For example, when transmitting binary data that takes H and L level signal values divided into 8 bits, in the asynchronous serial data transmission method, the level of the ND transmission line when there is no signal, for example, the H level, is different from the level. The 1-bit start bit STB is converted into 8 data bits Do, D+,...
..., D? After the 8-bit data and parity bit PR, a stop bit SPB of a level different from the start bit STB level, that is, the same level as the ND level when there is no signal, is added. and transmit it.
受信側では、伝送路上の信号を検出し、その信号が無信
号時NDのHレベルからスタートビットSTBのLレベ
ルになったのを検出すると、その後ろに続く8ビツトの
データDo+D++・・・・・・、D、及びパリティビ
ットPRを取り込む。パリティピノ)PRの後にはHレ
ベルのストップビットSPBがあり、そのHレベルに、
そのま\無信号時NDの1ルベルが続く。次のフレーム
の8ビツトのデータにもLレベルのスタートピッ) S
TBが伝送されてくるので、同し手順で8ビツトのデー
タの取り込みが行われる。On the receiving side, the signal on the transmission path is detected, and when it detects that the signal changes from the H level of ND when there is no signal to the L level of the start bit STB, the following 8-bit data Do+D++... ..., D, and parity bit PR. Parity Pino) There is a stop bit SPB at H level after PR, and at that H level,
Just like that, 1 level of ND continues when there is no signal. The 8-bit data of the next frame also has an L level start pitch) S
Since TB is transmitted, 8-bit data is fetched using the same procedure.
「発明が解決しようとする問題点」
第7図に示す方式では各フレームが不連続的に伝送され
る場合には、HレベルのストップビットSPB と次の
フレームのスタートビットSTB との間に無信号期間
NOのHレベルが挿入され、従ってフレームと次ぎのフ
レームとの間に充分に長い[Iレベルの信号期間が保持
される。しかし、データの伝送が連続的に行われた場合
、無信号期間NDは無くなる。従って、Hレベルのスト
ップビットSPBの後ろに直ぐ次のフレームのLレベル
のスタートビットSTBが送られてくる。この場合、第
8図に示すように、1ビツトのH−期間■の後に直ぐに
L−期間■がくることになる。``Problems to be Solved by the Invention'' In the method shown in FIG. 7, when each frame is transmitted discontinuously, there is no gap between the H level stop bit SPB and the start bit STB of the next frame. The H level signal period NO is inserted, so that a sufficiently long [I level signal period is maintained between one frame and the next frame. However, if data transmission is performed continuously, the no-signal period ND disappears. Therefore, immediately after the H level stop bit SPB, the L level start bit STB of the next frame is sent. In this case, as shown in FIG. 8, the L-period (2) immediately follows the 1-bit H-period (2).
ところで、データが送られ始める前に、いつも受信側が
伝送路上の信号を検出し、受信処理ができる即応体制に
なっているとは限らない、つまり、受信側の何等かの事
情で伝送路上の信号検出の開始が遅れ、最初のフレーム
のスタートビットSTB■の検出をすることができない
ことがある。しかも、最初のフレームに続いて次ぎのフ
レームが連続して送られてくる場合、スター)・ビット
ST[1は1ビツトの長さであり、第8図に示すように
、H−期間■からl、 −jlJJ間■に変化する次の
フレームのスタートビットSTB■を他のデータビット
D。。By the way, the receiving side does not always have a ready response system that can detect the signal on the transmission path and process the reception before data starts to be sent.In other words, due to some reason on the receiving side, the signal on the transmission path The start of detection may be delayed and the start bit STB■ of the first frame may not be detected. Moreover, when the next frame is sent consecutively following the first frame, the star) bit ST[1 is the length of 1 bit, and as shown in FIG. The start bit STB of the next frame which changes between l, -jlJJ and other data bits D. .
Dr、・・・・・・、D?などと区別することはできな
い。Dr...D? It is not possible to distinguish between.
従って、従来のフレーム同期方式では、連続して伝送さ
れてくるフレームの最初のフレームのスタートビットS
TB■でフレーム同期を取り損なうと、それ以降に伝送
されて(る信号のフレーム同期をとることはできない、
このため、シリアルデータの連続性が途切れ、無信号期
間NDが生ずるようになるまでフレーム同期がとれず、
それまでに送られてきたデータは失われてしまうことに
なる。Therefore, in the conventional frame synchronization method, the start bit S of the first frame of consecutively transmitted frames is
If frame synchronization is lost in TB, it will not be possible to synchronize the frames of the signals transmitted thereafter.
For this reason, the continuity of serial data is interrupted and frame synchronization cannot be achieved until a no-signal period ND occurs.
Any data sent up to that point will be lost.
「問題点を解決するための手段」
この発明では、信号が連続的に伝送されてきても、各フ
レームごとにフレーム同期をとることができるようなフ
レーム構成とした。従って、データが連続的に送られて
きている場合でも、モニタを開始した次のフレームから
即座にフレーム同期をとることができ、従って失われる
データを最小限に止められる。"Means for Solving the Problems" In the present invention, the frame structure is such that even if signals are transmitted continuously, frame synchronization can be achieved for each frame. Therefore, even if data is being sent continuously, frame synchronization can be achieved immediately from the next frame when monitoring is started, and therefore lost data can be minimized.
即ち、この発明では、各データビットを2つの時間単位
、つまり第1周期t1及び第2周期t2で構成し、入力
2値データの各フレームの始めに、同一値の3周期より
なるフレーム信号FMS と、これに続き、そのフレー
ム信号FMSを反転した1周期のスタート信号STとを
先導させ、その後に2値データを、その各1ビツトごと
に、第1周期t1をそのデータ値(又はそのデータ値を
反転した値)、第2周期ttをそのデータ値を反転した
値(又はそのデータ値)とする2周期データに変換して
送受信する。That is, in the present invention, each data bit is composed of two time units, that is, a first period t1 and a second period t2, and at the beginning of each frame of input binary data, a frame signal FMS consisting of three periods of the same value is generated. This is followed by a one-cycle start signal ST obtained by inverting the frame signal FMS, and then binary data is generated for each bit of the first cycle t1 of that data value (or that data). The second period tt is converted into two-period data in which the data value is inverted (or the data value), and the data is transmitted and received.
「作用」
この発明の伝送方式では、各データビットは2つの周f
’J]t+、tzで構成され、然も、その2つの周期で
信号レベルを反転させた(3号に変換して伝送する。つ
まり、データ値が1のデータビットは第1、第2周期1
..1.で例えば(H,L)の信号に変換して伝送され
るとすれば、データ値がOのデータビットは(L、H)
の信号に変換して伝送される。従って、連続した2ビア
) Di、 Dial のデータ1.1は第1図に示
すように、4周期のHlL、H,Lの信号に変換され、
連続した2ビツトD J−07+ 1 の1.0の信号
は第2図に示すようにH,L、L、Hの信号に変換され
る。このように、1ビツトの信号を2周期で構成し、そ
の2周期の信号レベルが互いに反転するように構成する
と、連続した3周期の間、信号レベルが同一のレベルに
保持されることはない、従って、24fiデータの伝送
に当たり、送信側から3周期のL (又はH)−レベル
のフレーム信号FMSをフレームの始めに送ることによ
り、受信側はフレームの始まりを検知することができる
。さらに、送信側からフレームデータの取り込みタイミ
ングを示すフレーム信号FMS とは反転した1周期の
H(又はL)−レベルのスタート信号STを送ることに
より、受信側はフレームデータの取り込みのタイミング
を知ることができる。"Operation" In the transmission method of this invention, each data bit has two frequencies f.
'J]t+, tz, but the signal level is inverted in the two periods (converted to No. 3 and transmitted. In other words, the data bit with a data value of 1 is transmitted in the first and second periods. 1
.. .. 1. For example, if it is converted into a (H, L) signal and transmitted, the data bit with a data value of O is (L, H)
It is converted into a signal and transmitted. Therefore, the data 1.1 of two consecutive vias ) Di, Dial is converted into four periods of HlL, H, L signals, as shown in Figure 1.
The continuous 2-bit DJ-07+1 1.0 signal is converted into H, L, L, H signals as shown in FIG. In this way, if a 1-bit signal is composed of two periods and the signal levels of the two periods are inverted, the signal level will not be held at the same level for three consecutive periods. Therefore, when transmitting 24fi data, the receiving side can detect the beginning of a frame by sending a three-cycle L (or H)-level frame signal FMS at the beginning of the frame. Furthermore, by sending a one-cycle H (or L)-level start signal ST, which is inverted from the frame signal FMS indicating frame data capture timing, from the transmitting side, the receiving side can know the frame data capture timing. I can do it.
「実施例」
第3図はこの発明の2値データ直列伝送方式によるフレ
ーム構成を示す図である。この発明では送信又は受信の
ための信号処理時間の単位を1周期」で表し、この例で
は、1フレームで伝送するデータが8ビツトの場合であ
る。Embodiment FIG. 3 is a diagram showing a frame structure according to the binary data serial transmission system of the present invention. In the present invention, the unit of signal processing time for transmission or reception is expressed as one cycle, and in this example, the data transmitted in one frame is 8 bits.
即ち、この発明では、各フレームの始まりを識別するた
めに3周期の一定レベルのフレーム信号FMSがフレー
ムを先導する。第3図では3周期のフレーム信号FMS
がL−レベルに保持されている場合である。That is, in the present invention, a frame signal FMS having a constant level of three cycles leads each frame in order to identify the start of each frame. In Figure 3, the frame signal FMS with three periods
is held at L-level.
このL−レベルのフレーム信号FMSに続いて、フレー
ム信号FMSとは反転したH−レベルのスタート信号S
Tが1周期続く。Following this L-level frame signal FMS, an H-level start signal S which is inverted from the frame signal FMS
T continues for one period.
この実施例は3周期のフレーム信号FMSと1周期のス
タート信号STの後に、8ビツトのデータビットD o
、 D +、 D z、・・・、Dyが伝送され、更に
1ビツトのパリティビットPRが付加されている例であ
る。各データビットD a、、D +、 D t、・・
・、Dt及びパリティビットPRはいずれも第1周期t
1と第2周期【2とで13号のレベルが反転している。In this embodiment, after three periods of frame signal FMS and one period of start signal ST, 8-bit data bit D o
, D+, Dz, . . . , Dy are transmitted, and one parity bit PR is further added. Each data bit D a,, D +, D t,...
・, Dt and parity bit PR are all in the first period t
The level of No. 13 is reversed between 1 and the second period [2.
従って、第1図及び第2図に示したように、フレーム信
号FMS期間を除いてI(及びLレベルの信号が3周期
以上続くことはない。Therefore, as shown in FIGS. 1 and 2, except for the frame signal FMS period, I (and L level signals) never last for more than three periods.
第4図はこの発明による伝送方式における送信側の回路
構成の例を示す図である。FIG. 4 is a diagram showing an example of a circuit configuration on the transmitting side in the transmission system according to the present invention.
タイミング生成カウンタ11は伝送制御信号CTLと、
発振器12からの発振信号P、a hが与えられ、第1
.第2パルスPI、P2及びシリアル伝送フラグSDF
を発生する。レジスタ13には並列データ入力線ch+
+et+z+ctls+・・・・・・+chsを通して
8ビツトのデータD o、 D +、 D z、・・・
、D7と、クロック入力端Cにに第1パルスP、が供給
され、第1パルスP、の立上りのタイミングで8ビツト
の送信用データD0゜Dt、Dz、・・・、D、を入力
端から読込んで、出力端から出力する。レジスタ13の
これ等の出力Do、D+。The timing generation counter 11 receives a transmission control signal CTL,
The oscillation signal P, a h from the oscillator 12 is given, and the first
.. Second pulse PI, P2 and serial transmission flag SDF
occurs. The register 13 has a parallel data input line ch+
8-bit data D o, D +, D z, ... through +et+z+ctls+...+chs
, D7, and the clock input terminal C are supplied with the first pulse P, and at the timing of the rise of the first pulse P, the 8-bit transmission data D0゜Dt, Dz, . . . , D is input to the input terminal. Read from and output from the output terminal. These outputs Do, D+ of register 13.
Dt、・・・、Dt はパリティジェネレイタ14に供
給され、パリティジェネレイタ14は8ビツトのデータ
D o、 D I、 D z、・・・、Dtについて所
定のパリティビットPRを出力する。Dt, . . . , Dt are supplied to a parity generator 14, and the parity generator 14 outputs predetermined parity bits PR for the 8-bit data Do, DI, Dz, .
一方、並列−直列変換回路15の第1・・・第3並列デ
ータ入力端I5.・・・+FにはLレベルの信号、第4
並列データ入力端■4には■(レベルの信号が与えられ
、また、レジスタ13から出力された各データビットD
o、D+、Dz、・・・ 、Dq とパリティビット
Pl?はそれぞれ直接及びインバータ16を介して並列
−直列変換回路15に与えられる。即ち、第5,7.・
・・。On the other hand, the first...third parallel data input terminals I5. of the parallel-to-serial conversion circuit 15. ...+F has L level signal, 4th
The parallel data input terminal ■4 is given a signal of level ■(), and each data bit D output from the register 13 is
o, D+, Dz,..., Dq and parity bit Pl? are applied to the parallel-to-serial conversion circuit 15 directly and via an inverter 16, respectively. That is, 5th, 7th.・
....
19の奇数番号並列データ入力端Is+ Iff+・・
・、■8.には8ビツトのデータD e、 D I+
D z、・・・、Dtがそれぞれの第1周期1.の13
号として与えられ、第6,8゜・・・、20の偶数番号
の並列データ入力端!6.I8.・・・。19 odd number parallel data input terminals Is+ If+...
・,■8. contains 8-bit data D e, D I+
Dz, . . . , Dt are each in the first period 1. 13 of
Parallel data input terminals of even numbers of 6th, 8°..., 20! 6. I8. ....
■2゜にはデータD o、 D I+ D t、・・・
、D〕の反転信号D o/、 D I7. D t
/、・・・、D7/がそれぞれの第2周期t2の信号と
して与えられ、第21.22並列データ入力端ix+、
I!! にはパリティビットpH及びその反転信号P
R/がそれぞれ第1周期1.及び第2周期t2の信号と
して与えられる。これらのデータは第2パルスP2のタ
イミングで並列−直列変換回路15に読み込まれる。続
いて、タイミング生成回路11からのシリアル伝送フラ
グSDFがHになる。このHのシリアル伝送フラグSD
Fを受け、並列−直列変換回路15は読込んだデータを
送出端SXP側へ、第2パルスP2のIパルスにつき1
つづつシフトして、送出端SXPから順次出力する。従
って、送出端SXPからは、始めにり、L、L、Hの信
号が出力され、続いて第1ビツトDoの第1周期t、の
信号D0.第1ビットD0の第2周Mttの信号として
Doの反転信号DO/、第2ビフ)Dt の第j周期t
1の信号DI、その第2周!’Jltzの信号として反
転信号D1/、・・・・・・の順に出力され、最後にパ
リティビットの第1.第2周朋tl、L□信号Pit、
PI?/が出力され1フレームの信号の伝送が終了す
る。さらに、伝送用のデータがあれば、データがレジス
タ13に供給され、また伝送制御信号CT 1.がタイ
ミング生成カウンタIIに与えられ、次のフレームの伝
送が行われる。■At 2°, data D o, D I + D t,...
, D] inverted signal D o/, D I7. Dt
/, ..., D7/ are given as the respective second period t2 signals, and the 21.22nd parallel data input terminal ix+,
I! ! is the parity bit pH and its inverted signal P
R/ is the first period 1. and is given as a signal with a second period t2. These data are read into the parallel-to-serial conversion circuit 15 at the timing of the second pulse P2. Subsequently, the serial transmission flag SDF from the timing generation circuit 11 becomes H. This H serial transmission flag SD
In response to F, the parallel-to-serial conversion circuit 15 transfers the read data to the sending end SXP side, one pulse per I pulse of the second pulse P2.
The signals are shifted one by one and outputted sequentially from the sending end SXP. Therefore, the sending end SXP initially outputs L, L, and H signals, and then the signal D0. of the first period t of the first bit Do. As the signal of the second cycle Mtt of the first bit D0, the inverted signal DO/ of Do, the j-th cycle t of the second bit Dt
1 signal DI, its second round! 'Jltz signals are output in the order of inverted signals D1/, . . . , and finally the first parity bit. 2nd round tl, L□ signal Pit,
PI? / is output and transmission of one frame of signals is completed. Further, if there is data for transmission, the data is supplied to the register 13, and the transmission control signal CT1. is given to the timing generation counter II, and the next frame is transmitted.
第5図はこの発明による伝送方式における受信側の信号
処理動作を説明するための回路構成例を示す図、第6図
は第5図の回路の動作タイミングを示す図である。FIG. 5 is a diagram showing an example of a circuit configuration for explaining the signal processing operation on the receiving side in the transmission system according to the present invention, and FIG. 6 is a diagram showing the operation timing of the circuit in FIG. 5.
次に、この回路の主要動作を説明する。発振器21は1
周期の178の周期をもつ発振信号CK、を出力し、サ
ンプルタイミング生成回路22及びフレーム検出回路2
3に供給する。サンプルタイミング生成回路22はこの
発振信号CK、を分周し、8倍の周期をもつ受信信号サ
ンプリングクロックCKい及び読込みクロックCLを出
力し、直列−並列変換回路25及びレジスタ26のクロ
ック端子CKへ供給する。Next, the main operation of this circuit will be explained. The oscillator 21 is 1
The sample timing generation circuit 22 and the frame detection circuit 2 output an oscillation signal CK having a period of 178.
Supply to 3. The sample timing generation circuit 22 divides the frequency of this oscillation signal CK and outputs a received signal sampling clock CK and a read clock CL having eight times the period, and sends them to the serial-parallel conversion circuit 25 and the clock terminal CK of the register 26. supply
一方、送信側から送られてきた受信信号11Xはフレー
ム検出回路23.フリップフロップ24及び直列−並列
変換回路25に供給される。フレーム検出回路23は3
周期のフレーム信号FMSが続くことを検出する回路で
ある。このフレーム検出回路23は受信信号RXがノア
ゲートGIを介してクリア端子CLに与えられ、クリア
端子CLがHに保持されている間だけ発振信号Cに。を
カウントする動作をし、8クロンク×2.5周期=20
クロックをカウントすると出力端Qから正信号を出力す
る。この正信号はオアゲートG2に供給され、その出力
S1はアンドゲートG3及びオアゲー]・G4を介して
クリア信号S、としてフリップフロップ24のクリア端
子C1゜に与えられフリップフロップ24をクリアする
。つまりフリップフロップ24はフレーム信号FMS
の3周期口がきたことを記憶する。また、オアゲートG
2の出力S1はノアゲートG、を通してフレーム検出回
路23自身をクリアする。On the other hand, the received signal 11X sent from the transmitting side is received by the frame detection circuit 23. It is supplied to a flip-flop 24 and a serial-parallel conversion circuit 25. The frame detection circuit 23 is 3
This circuit detects that the periodic frame signal FMS continues. This frame detection circuit 23 receives the received signal RX via the NOR gate GI to the clear terminal CL, and outputs the oscillation signal C only while the clear terminal CL is held at H. 8 clocks x 2.5 cycles = 20
When the clock is counted, a positive signal is output from the output terminal Q. This positive signal is supplied to the OR gate G2, and its output S1 is supplied to the clear terminal C1 of the flip-flop 24 as a clear signal S via the AND gate G3 and the OR gate G4 to clear the flip-flop 24. In other words, the flip-flop 24 receives the frame signal FMS.
I remember that the mouth came three times. Also, or gate G
The output S1 of 2 clears the frame detection circuit 23 itself through the NOR gate G.
フリップフロップ24のクロック端子CKには受信信号
RXが与えられており、その信号のなかのスタート信号
STの立上りでデータ端子りのH(、を号を取込んで出
力端QからスタートフラグS、として出力する。A reception signal RX is given to the clock terminal CK of the flip-flop 24, and at the rising edge of the start signal ST in the signal, the signal H(,) of the data terminal is taken in and the start flag S, Output as .
このスタートフラグS、はサンプルタイミング生成回路
22&び直列−並列変換回路25のイネイブル端子Eな
どに与えられ、この13号S、によりサンプルタイミン
グ生成回路22及び直列−並列変換回路25は動作状態
になり、直列−並列変換回路25はサンプルタイミング
生成回路22からのタイミングクロックCK+ により
、その直列データ入力端I。This start flag S is given to the enable terminal E of the sample timing generation circuit 22 and the serial-to-parallel conversion circuit 25, and the sample timing generation circuit 22 and the series-to-parallel conversion circuit 25 are put into an operating state by this No. 13 S. , the serial-to-parallel conversion circuit 25 receives the timing clock CK+ from the sample timing generation circuit 22, and outputs its serial data input terminal I.
に供給される受信信号RXをlll1次取込んでゆく、
第6図の例では、第1ビツトD0のデータ値が1であり
、その第1、第2周期1..1.の信号H,Lを読込み
、続いて第2ピツ)Dr のデータ値Oの信号を読込み
、最後にパリティピノ1−PR(=O)を読込む例であ
る。The received signal RX supplied to the
In the example of FIG. 6, the data value of the first bit D0 is 1, and the first and second periods 1. .. 1. This is an example in which the signals H and L of the second pit (Dr) are read, then the signal of the data value O of the second pit (Dr) is read, and finally the parity pin 1-PR (=O) is read.
直列−並列変換回路25に取込まれた受信信号はその1
8木のパラレル出力端IPから出力されレジスタ26へ
供給されていている。直列−並列変換回路25が8ビツ
トのデータD1.D、、D!、・・・、D、及びパリテ
ィビットr’l?のそれぞれ第1.第2周期t、t工の
信号DO,D、/、Dl、1)+/、Dz、Dz八 ・
・・、D、。The received signal taken into the serial-parallel conversion circuit 25 is part 1.
It is output from the 8-tree parallel output terminal IP and supplied to the register 26. The serial-parallel conversion circuit 25 converts the 8-bit data D1. D,,D! , ..., D, and parity bit r'l? Each of the first. Second period t, signal DO, D, /, Dl, 1) +/, Dz, Dz8 ・
...,D.
D7八pH,PII/の取込みを終了すると、サンプル
タイミング生成回路22はクロックCK、をレジスタ2
6に供給し、それらのデータDo、Do/、Dl、D+
八へZ、D、八 =’ 、 Dy+ Dt/、 PR,
PR/ はレジスタ26に読込まれる。また、クロック
CK、はオアゲートG4を関してクリア信号S2として
フリップフロップ24をクリアする。これによりスター
ト信号S、はなくなり(L)、直列−並列変換回路25
は直列データ入力端I、からの受信信号RXの読込を停
止する。After completing the acquisition of D78 pH and PII/, the sample timing generation circuit 22 transfers the clock CK to the register 2.
6 and their data Do, Do/, Dl, D+
To eight Z, D, eight =', Dy+ Dt/, PR,
PR/ is read into register 26. Further, the clock CK clears the flip-flop 24 as a clear signal S2 with respect to the OR gate G4. As a result, the start signal S disappears (L), and the serial-parallel conversion circuit 25
stops reading the received signal RX from the serial data input terminal I.
レジスタ26の出力信号はデータ検査回路27に与えら
れ、パリティエラーの有無などがチェ、りされる、この
データ検査回路27では所定のパリティチェックと共に
、奇数番目のデータD t i −lと次の偶数番目の
データD ti、 つまり各ビットの第1周期し、と
第2周期仁2の値を比較し、それらの値が異なっている
ことをもチェックする。これらの検査が正しいとデータ
検査回路27から続込み許可信号Sが出力され、アンド
ゲートG、に供給される。The output signal of the register 26 is given to a data check circuit 27, and the presence or absence of a parity error is checked.This data check circuit 27 performs a predetermined parity check and compares the odd-numbered data D t i -l with the next even-numbered data. The values of the th data Dti, that is, the first period and the second period of each bit, are compared, and it is also checked that these values are different. If these tests are correct, a continuation permission signal S is output from the data test circuit 27 and supplied to the AND gate G.
この読込み許可信号S4があるとき、クロックCK。When this read permission signal S4 is present, the clock CK.
によりフリップフロップ24がクリアされるタイミング
でアンドゲートG sから出力レジスタ28にデータ読
込みクロックCK、が供給される。この読込みクロック
CKj のタイミングで出力レジスタ28はレジスタ2
6の出力信号D o、 D +、 D t、・・・、D
、を読込む。The data read clock CK is supplied from the AND gate Gs to the output register 28 at the timing when the flip-flop 24 is cleared. At the timing of this read clock CKj, the output register 28 is transferred to register 2.
6 output signals D o, D +, D t, ..., D
, read.
「発明の効果」
従来の非同期式シリアルデータ伝送方式によるフレーム
同期の方法では、最低3ビツト長のフレーム同期検出信
号が必要であり、連続的にデータが送られてきた場合に
は、そのフレーム同期検出信号はlビット長となって、
フレーム同期をとることができず、伝送されてくるデー
タが失われてしまっていた。しかし、この発明によれば
、1ビツト長のデータを第1.第2周期で構成し、その
第1周期を真のデータ期間または擬データ期間としたら
、第1周期の信号を反転した信号を第2周期の信号とす
る擬データ期間または真のデータ期間とし、各フレーム
の先頭には3周期期間のフレーム信号とフレーム信号を
反転した1周期期間のスタート信号を設けてフレームを
構成した。このようなフレーム構成とすることにより、
連続的に伝送されてくるデータの、次ぎのどのフレーム
からでもフレーム同期をとることができるようにした。``Effects of the Invention'' The frame synchronization method using the conventional asynchronous serial data transmission method requires a frame synchronization detection signal with a minimum length of 3 bits, and when data is sent continuously, the frame synchronization The detection signal has a length of l bits,
Frame synchronization could not be achieved and the transmitted data was lost. However, according to the present invention, data of 1 bit length is stored in the first . If the first period is a true data period or a pseudo data period, the signal obtained by inverting the first period signal is a pseudo data period or a true data period, and At the beginning of each frame, a frame signal for three periods and a start signal for one period obtained by inverting the frame signal were provided to constitute a frame. By having such a frame configuration,
Frame synchronization can be established from any next frame of continuously transmitted data.
従って、伝送されてくるデータがフレーム同期をとるこ
とができずに失われてしまうのを最小限に止めることが
できる。しかも、このために必要とする信号処理回路は
簡単なもので済み、また従来方式と比較して、フレーム
構成をとるために冗長信号期間が増えることもなく、伝
送効率が落ちることもない。Therefore, it is possible to minimize the loss of transmitted data due to failure to achieve frame synchronization. Furthermore, the signal processing circuit required for this purpose is simple, and compared to conventional systems, there is no increase in redundant signal periods due to the frame configuration, and there is no drop in transmission efficiency.
尚、この例では各ビットの第1.第2周期の両方の値を
直列−並列変換回路25に読込むようにしであるが、ど
ちらか一方の周期の値だけを読込むように構成しても良
い。In this example, the first . Although both values of the second period are read into the serial-parallel conversion circuit 25, it may be configured such that only the value of one of the periods is read.
第1図はこの発明のデータ変換の例を示す図で、2つの
連続したデータ1、lを変換した場合を示す図、第2図
は同じく1.0のデータを変換した場合を示す図、第3
図はこの発明のソリアルデータ伝送方式のフレーム構成
を示す図、第4図はこの発明のデータ送信回路の例を示
す図、第5図はこの発明のデータ受信回路の例を示す図
、第6図は第5図に示す受信回路のタイミングチャート
を示す図、第7図は従来のフレーム構成を示す図、第8
図は第7図のフレーム構成で、連続的にデータが送られ
る場合の伝送路上のデータ列を示す図である。
11:タイミング生成回路、12:発振器、13:入力
レジスタ、14:バリティジLネレ″イタ、15:8列
−直列変換回路、16:インバータ、2■:発振器、2
2:サンプルタイミング生成回路、23:フレーム検出
回路、24:フリアブフロップ、25:直列−並列変換
回路、26:レジスタ、27:データ検査回路、28:
出力レジスタ、G+、・・・、G、:ゲート回路。
特許出願人 日本航空電子工業株式会社代 理
人 草 野 草木
1図
生2図
半3図FIG. 1 is a diagram showing an example of data conversion according to the present invention, and FIG. 2 is a diagram showing a case where two consecutive data 1 and l are converted, and FIG. 2 is a diagram showing a case where data 1.0 is converted. Third
4 is a diagram showing an example of a data transmitting circuit of this invention. FIG. 5 is a diagram showing an example of a data receiving circuit of this invention. 6 is a diagram showing a timing chart of the receiving circuit shown in FIG. 5, FIG. 7 is a diagram showing a conventional frame structure, and FIG.
The figure is a diagram showing a data string on a transmission path when data is continuously sent using the frame structure shown in FIG. 7. 11: Timing generation circuit, 12: Oscillator, 13: Input register, 14: Verity generator, 15: 8-column-to-serial conversion circuit, 16: Inverter, 2■: Oscillator, 2
2: Sample timing generation circuit, 23: Frame detection circuit, 24: Friab flop, 25: Serial-to-parallel conversion circuit, 26: Register, 27: Data inspection circuit, 28:
Output register, G+,..., G,: Gate circuit. Patent applicant Japan Aviation Electronics Industry, Ltd. Representative
people grass fields plants
1 drawing 2 drawings and a half 3 drawings
Claims (1)
3周期よりなるフレーム信号と、これに続き、そのフレ
ーム信号を反転した1周期のスタート信号とを送信し、 これに続く入力2値データを、その各1ビットごとに、
1半部をそのデータ値、他半部をそのデータを反転した
値の2周期データに変換して送信する2値データ直列伝
送方式。(1) At the beginning of each frame of input binary data, a frame signal consisting of three periods of the same value is transmitted, followed by a start signal of one period which is an inversion of the frame signal, and the following input 2 Value data, for each bit,
A binary data serial transmission method that converts one half of the data into two-cycle data, the other half of which is the inverted value, and transmits the data.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60226097A JPS6285535A (en) | 1985-10-11 | 1985-10-11 | Serial transmission system for binary data |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60226097A JPS6285535A (en) | 1985-10-11 | 1985-10-11 | Serial transmission system for binary data |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS6285535A true JPS6285535A (en) | 1987-04-20 |
Family
ID=16839775
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP60226097A Pending JPS6285535A (en) | 1985-10-11 | 1985-10-11 | Serial transmission system for binary data |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6285535A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0214648A (en) * | 1988-06-30 | 1990-01-18 | Sharp Corp | Data transmission circuit |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS564073A (en) * | 1979-06-25 | 1981-01-16 | Toshiba Corp | Sound source detector |
-
1985
- 1985-10-11 JP JP60226097A patent/JPS6285535A/en active Pending
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS564073A (en) * | 1979-06-25 | 1981-01-16 | Toshiba Corp | Sound source detector |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0214648A (en) * | 1988-06-30 | 1990-01-18 | Sharp Corp | Data transmission circuit |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US3309463A (en) | System for locating the end of a sync period by using the sync pulse center as a reference | |
| US3789303A (en) | Method and apparatus for synchronizing split-phase pcm signals | |
| JPH02223245A (en) | Data communication system | |
| JPS5813056B2 (en) | How to maintain accurate framing in multiplexed pulse transmission systems | |
| GB1507093A (en) | Arrangements for correcting slip errors in pulse-code transmission systems | |
| JPS6285535A (en) | Serial transmission system for binary data | |
| US3993954A (en) | Electric communication system | |
| JP3021855B2 (en) | Serial data transfer device | |
| KR200229125Y1 (en) | A device of byte clock generator for i/o board | |
| RU2214044C1 (en) | Data coding/decoding device | |
| JPS6021648A (en) | Optical signal generator | |
| SU1562922A2 (en) | Device for damping information to telegraph apparatus | |
| SU1615769A1 (en) | Device for receiving data | |
| SU1234990A1 (en) | Device for transmission and reception of digital information | |
| JPS60235548A (en) | Transmission system of signal frame | |
| SU1332540A1 (en) | Bipulse=signal receiver with detection of errors | |
| SU987836A1 (en) | Cyclic synchronization device | |
| JPH0548657A (en) | Serial transmission system | |
| SU1444752A1 (en) | Adding device | |
| EP0355137A1 (en) | Dynamic speed shifter for fiber optic data transmission | |
| KR930002893Y1 (en) | Synchronous detection circuit | |
| SU1020848A1 (en) | Device for transmitting unit-counting coded telemetry | |
| JPH1198200A (en) | Asynchronous serial data transmission / reception method, transmission device, reception device, and transmission / reception device | |
| SU1348885A1 (en) | Device for transmitting and receiving information | |
| SU1242960A1 (en) | Device for checking received information |