JPH0357349A - Line speed detection system - Google Patents

Line speed detection system

Info

Publication number
JPH0357349A
JPH0357349A JP1191542A JP19154289A JPH0357349A JP H0357349 A JPH0357349 A JP H0357349A JP 1191542 A JP1191542 A JP 1191542A JP 19154289 A JP19154289 A JP 19154289A JP H0357349 A JPH0357349 A JP H0357349A
Authority
JP
Japan
Prior art keywords
line speed
speed
character
speed detection
rising
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
JP1191542A
Other languages
Japanese (ja)
Inventor
Yukio Sone
曽根 幸男
Tatsuo Sato
健生 佐藤
Yoichi Nishiyama
西山 洋一
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.)
Fujitsu Ltd
KDDI Corp
Original Assignee
Fujitsu Ltd
Kokusai Denshin Denwa KK
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 Fujitsu Ltd, Kokusai Denshin Denwa KK filed Critical Fujitsu Ltd
Priority to JP1191542A priority Critical patent/JPH0357349A/en
Publication of JPH0357349A publication Critical patent/JPH0357349A/en
Pending legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PURPOSE:To discriminate a normal character data speed in succession to a speed detection character by allowing a line speed detection means to calculate the line speed when a detection means detects a prescribed number of rising or falling. CONSTITUTION:A rising or falling detection circuit 10 detects the rising or falling of a speed detection character sent from a reception signal line. A clock circuit 40 gives a clock signal of a prescribed period to the circuit 10 in this case to calculate the rising or falling time. The rising or falling and time information is stored in a rising or falling storage circuit 50 and used to reproduce the speed detection character as a normal character. When a speed calculation circuit 20 based on a prescribed logic designated by the line offer company detects a prescribed number such as 2 of rising or falling, the circuit 20 calculates immediately the line speed by using the time information from the circuit 40.

Description

【発明の詳細な説明】 〔概要〕 調歩回線インタフェースにおける端末回線速度の検出方
式に関し、 速度検出用文字のビット列の中途時点で回線速度の検出
を可能にすることにより、速度検出用文字に後続するデ
ータの連続的受信を可能にすることを目的とし、 調歩回線インタフェースにおける端末回線速度の検出方
式において、速度検出用文字のビットパターンの立ち上
がり又は立ち下がりを検出する立ち上がり又は立ち下が
り検出手段、立ち上がり又は立ち下がり検出手段により
検出されたビットパターンの所定ビット間の二つの立ち
上がり又は立ち下がりの間の時間を計数して回線速度を
検出する回線速度検出手段、及び回線速度検出手段で決
定した速度によりデータを受信するデータ受信手段を具
備するように構或する。
[Detailed Description of the Invention] [Summary] Regarding a method for detecting the terminal line speed in a start-stop line interface, by making it possible to detect the line speed at a point in the middle of the bit string of the speed detection character, The purpose is to enable continuous reception of data, and in the terminal line speed detection method in the start-stop line interface, there is a rising or falling detection means for detecting the rising or falling bit pattern of the bit pattern of the speed detection character. A line speed detection means detects the line speed by counting the time between two rising or falling edges of a predetermined bit of the bit pattern detected by the falling edge detection means, and a line speed detection means detects the line speed by counting the time between two rising or falling bits of the bit pattern detected by the falling edge detection means, and detects the data according to the speed determined by the line speed detection means. The apparatus is configured to include data receiving means for receiving the data.

〔産業上の利用分野〕[Industrial application field]

本発明は回線速度検出方式に関し、調歩回線特にX.2
8インタフェースにおける端末回線速度の検出方式に関
する。
The present invention relates to a line speed detection method, particularly for start-stop lines, and especially for X. 2
This invention relates to a terminal line speed detection method in an 8 interface.

パケット交換システムにおける調歩同期式端末を収容す
るときの手順として、CCTTTで勧告されているX.
28端末制御技術による回線速度の自動検出方弐がある
。これは、端末からバケノhm立/分解部(PAD)に
入力される回線速度検出のための特定文字(以下、速度
検出用文字と称する)のビットパターンの特徴を用いて
、「ビット数とその受信時間jとの関係により、回線速
度の検出を行うものである。
As a procedure for accommodating asynchronous terminals in a packet switching system, the X.
There is a method for automatically detecting line speed using 28 terminal control technology. This method uses the characteristics of the bit pattern of specific characters for line speed detection (hereinafter referred to as speed detection characters) that are input from the terminal to the Bakenohm display/decomposition unit (PAD) to calculate the number of bits and their The line speed is detected based on the relationship with the reception time j.

この回線速度の検出の後にその検出速度に同期して通常
の文字等のデータを受信解読するので、回線速度の検出
はできるだけ短時間に行う必要がある。
After detecting the line speed, normal data such as characters is received and decoded in synchronization with the detected speed, so the line speed must be detected in as short a time as possible.

(従来の技術) 第8図はX.28インタフェースにおける従来の回線速
度検出方式の説明図である。同図(a)に示されるよう
に、スタートビットとストップビットとの間の速度検出
用文字を表す一定の“0゜と゜1゛の繰り返しパターン
は、通常の文字の受信前に受信される。この速度検出用
文字パターンの受信前はマークホールドされており、ス
トップビットとこれに後続する通常の文字パターンとの
間もマークホールドされている。したがって、通常の文
字の受信解読が可能になるのは、速度検出用文字の後の
マークホールドの後の最初の立ち下がりからである。
(Prior art) FIG. 8 shows the X. FIG. 2 is an explanatory diagram of a conventional line speed detection method in the H.28 interface. As shown in FIG. 3A, a constant repeating pattern of "0° and 1°" representing the speed detection character between the start bit and the stop bit is received before the normal character is received. A mark is held before receiving this speed detection character pattern, and a mark is held between the stop bit and the normal character pattern that follows it.Therefore, it is possible to receive and decode normal characters. starts from the first falling edge after the mark hold after the speed detection character.

従来はこの速度検出用文字の受信開始時点から一定の時
間Tの間、受信線を監視して速度検出用文字のパターン
を高速にサンプリングし、゜O゜又は゜1゛の情報列を
後から解析することにより、1ビットの受信時間を計算
してデータ速度即ち回線速度を算出していた。例えば、
同図■)に示すように、゛0゛又は゜1′の各1ビット
を4点サンプリングし、同図(C)に示すように、その
サンプリング値を後から解析し、例えば2回目の゜1゜
から゛0゛への立ち下がりが何個目のサンプリング値の
時に起こっているかをサーチし、そのサンプリング数と
サンプリング周期から上記2回目の立ち下がりまでの時
間を計算し、上記2回目の立ち下がりまでのビット数を
上記時間で割ることにより、回線速度を計算していた。
Conventionally, the pattern of speed detection characters is sampled at high speed by monitoring the reception line for a certain period of time T from the start of reception of speed detection characters, and the information string of ゜O゜ or ゜1゛ is later recorded. Through analysis, the reception time of one bit was calculated to calculate the data rate, that is, the line speed. for example,
As shown in (■) in the same figure, each bit of ゛0゛ or ゛1' is sampled at four points, and as shown in (C) of the same figure, the sampled values are analyzed later. Search for the number of sampling values at which the fall from 1° to 0° occurs, calculate the time until the second falling from the sampling number and the sampling period, and calculate the time until the second falling from the above. The line speed was calculated by dividing the number of bits until the falling edge by the above time.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

速度検出用文字以外の通常の文字は、従来は回線速度を
検出した後にその回線速度に同期して解読されるので、
回線速度の検出に要する時間だけ通常の文字の受信が遅
れる。上記従来方式において、一定の時間Tは、受信す
る可能性のある回線の回線速度の中の最低の回線速度に
合わせて余裕をもって定める必要がある。このため、従
来は通常の文字の受信解読が遅れるという問題があった
.例えば第8図(a)において、回線速度検出が時刻t
で終了する場合、T−tの時間の後に通常の文字が受信
解読可能となるので、このT−tの時間が無駄となる。
Conventionally, normal characters other than speed detection characters are decoded in synchronization with the line speed after the line speed is detected.
The reception of normal characters is delayed by the time required to detect the line speed. In the above-mentioned conventional system, it is necessary to set the certain time T with a margin according to the lowest line speed among the line speeds of the lines that may receive the signal. For this reason, there was a problem in the past in that the reception and deciphering of normal characters was delayed. For example, in FIG. 8(a), the line speed is detected at time t.
If the process ends at , the time Tt is wasted because normal characters can be received and decoded after the time Tt.

本発明の目的は、上記従来技術における問題に鑑み、回
線速度検出方式において、上記一定の時間Tの間を速度
検出にあてることに代えて、受信信号の立ち上がり/立
ち下がり監視モードを用意し、回線速度の如何にかかわ
らず所定ビットの間で回線速度を検出し、その後直ちに
文字受信モードに移行することにより、速度検出用文字
に後続する通常の文字の受信解読を可能とし、それによ
り、速度検出用文字の受信開始時点と通常の文字の受信
解読開始時点との間の時間を短縮することにある。
In view of the problems in the prior art described above, an object of the present invention is to provide a rising/falling monitoring mode of the received signal in the line speed detection method, instead of devoting the fixed time T to speed detection, Regardless of the line speed, by detecting the line speed between predetermined bits and then immediately transitioning to character reception mode, it is possible to receive and decipher the normal characters that follow the speed detection character, thereby increasing the speed. The purpose is to shorten the time between the start of reception of detection characters and the start of reception and decoding of normal characters.

本発明の更に他の目的は、通常の文字パターンを速度検
出用文字としても利用することにより、速度検出用文字
の受信開始時点と通常の文字の受信解読開始時点との間
の時間差を零とすることにある。
Still another object of the present invention is to reduce the time difference between the start point of receiving the speed detecting character and the start point of receiving and decoding the normal character to zero by using the normal character pattern as the speed detecting character. It's about doing.

更に、もうひとつの本発明の目的は、速度検出用文字を
誤投入しても、これにより誤動作をしない信頼性の向上
にある。
Furthermore, another object of the present invention is to improve the reliability of preventing malfunctions even if a speed detection character is erroneously input.

(課題を解決するための手段〕 第1図は本発明の原理ブロック図である。同図において
、X.2日インタフェースにおける端末回線速度の検出
方式が示されており、lは速度検出用文字のピントパタ
ーンの立ち上がり又は立ち下がりを検出する立ち上がり
又は立ち下がり検出手段、2は立ち上がり又は立ち下が
り検出手段1により検出されたビットパターンの所定ビ
ット間、例えば最初の立ち下がりから2回目の立ち上が
りの間等の二つの立ち上がり又は立ち下がりの間の時間
を計数して回線速度を検出する回線速度検出手段、3は
回線速度検出手段2で決定した速度によりデータを受信
するデータ受信手段3である。
(Means for Solving the Problems) Figure 1 is a block diagram of the principle of the present invention. In the figure, a terminal line speed detection method in the X.2 interface is shown, and l is a speed detection character. rising or falling detection means for detecting the rising or falling of the focus pattern; 2 is between predetermined bits of the bit pattern detected by the rising or falling detecting means 1; for example, between the first falling and the second rising; A line speed detecting means 3 detects the line speed by counting the time between two rising or falling edges, and 3 is a data receiving means 3 that receives data at the speed determined by the line speed detecting means 2.

4は回線速度検出手段2による回線速度の決定後、速度
検出用文字のストップビットまでの時間を算出するタイ
ミング手段である。データ受信手段3はストップビット
に後続する文字からデータを受信する。
Reference numeral 4 denotes timing means for calculating the time from the determination of the line speed by the line speed detecting means 2 to the stop bit of the speed detection character. The data receiving means 3 receives data from the character following the stop bit.

5は立ち上がり又は立ち下がり検出手段1により検出さ
れたビットパターンの立ち上がり又は立ち下がりと、前
記回線速度決定手段2により検出された回線速度とを記
憶し、前記速度検出用文字を文字パターンとして再生す
る記憶再生手段である。
5 stores the rise or fall of the bit pattern detected by the rise or fall detection means 1 and the line speed detected by the line speed determination means 2, and reproduces the speed detection character as a character pattern. It is a memory reproducing means.

更に、回線速度検出手段2において、回線速度を算出す
べき二つの立ち上がり又は立ち下がりのビット間隔を5
ビット巾ないし7ビット巾とする。
Furthermore, in the line speed detection means 2, the bit interval between two rising or falling bits for which the line speed should be calculated is set to 5.
Bit width to 7 bits width.

5ビット巾ないし7ビット巾とする事の有意性について
は、次の通りである。該ビット巾をnとして、n一偶数
(2m〉とするとmビット巾の文字を誤って使用された
場合の2倍の速度として誤動作する。
The significance of setting the width to 5 bits or 7 bits is as follows. If the bit width is n, and if n is an even number (2m>), then the speed will be twice as fast as when a m-bit width character is mistakenly used, resulting in a malfunction.

また、n=3ビットとすると、n=6ビット巾1 の文字を誤って使用された場合は逆に   の速2 度として誤動作する。Also, if n = 3 bits, n = 6 bits width 1 If the character is used incorrectly, the speed 2 of It malfunctions frequently.

一方使用速度の分布は通常300bpsと600bps
、1 1200bpsと2400bpsに見られる様に2倍又
は2 の関係のものが多く、上記の如く速度の誤検出を防止す
る上で5乃至7ビットのビント巾の適用が有効となる。
On the other hand, the usage speed distribution is usually 300bps and 600bps
, 1 1200 bps and 2400 bps, there are many cases in which the relationship is double or 2, and application of a 5 to 7 bit bin width is effective in preventing erroneous speed detection as described above.

〔作用〕[Effect]

立ち上がり又は立ち下がり検出手段1により、入力信号
の立ち上がり又は立ち下がりを検出し、所定の数の立ち
上がり又は立ち下がりを検出すると直ちに回線速度検出
手段2により口線の速度算出を行う。速度算出が終わる
と、速度検出用文字に後続する通常の文字のデータ速度
がわかるので、文字の受信が速度検出用文字のビットパ
ターンの直後から直ちに可能となる。
The rise or fall detection means 1 detects the rise or fall of the input signal, and immediately upon detecting a predetermined number of rises or falls, the line speed detection means 2 calculates the line speed. When the speed calculation is completed, the data speed of the normal character following the speed detection character is known, so that characters can be received immediately after the bit pattern of the speed detection character.

より具体的には、速度算出の終了記憶再生手段、速度検
出用文字のストップビントまでの時間経過記憶再生手段
に通常の文字の受信解読を開始すればよい。
More specifically, it is sufficient to start receiving and decoding normal characters in the speed calculation end storage/reproduction means and the time elapsed storage/reproduction means up to the stop bin of speed detection characters.

又、速度検出用文字に通常の文字を用い、その速度検出
用文字を記憶再生するようにすれば、速度検出用文字も
通常の文字パターンとして利用することができるので、
従来のように回線の最低速度に合わせた回線速度検出時
間Tを確保する必要がなくなる。
In addition, if normal characters are used as speed detection characters and the speed detection characters are memorized and reproduced, the speed detection characters can also be used as a normal character pattern.
It is no longer necessary to secure a line speed detection time T that matches the minimum speed of the line as in the past.

〔実施例〕〔Example〕

以下本発明の実施例を説明する。 Examples of the present invention will be described below.

第2図は本発明の概略的な説明図である。同図において
、回線からの信号vA(データ受信線)を制御するモー
ドとして、従来からの信号線確立モード及び通常の文字
受信モードに加えて、本発明により、以下に示す立ち上
がり又は立ち下がりモードが追加される。そして、立ち
上がり又は立ち下がりモードにおいて、速度算出のため
に必要な数の立ち上がり又は立ち下がりが検出されると
直ちに回線の速度算出を行う. この速度算出は、回線提供者によって予め定められた所
定の論理に従って行われ、次いで上記速度算出により決
定された速度情報により受信回路を初期設定して通常の
文字受信モードに移行する。
FIG. 2 is a schematic illustration of the present invention. In the figure, in addition to the conventional signal line establishment mode and normal character reception mode, the following rising or falling modes are available as modes for controlling the signal vA (data receiving line) from the line. will be added. Then, in the rising or falling mode, the speed of the line is calculated as soon as the required number of risings or fallings are detected for speed calculation. This speed calculation is performed according to a predetermined logic predetermined by the line provider, and then the receiving circuit is initialized based on the speed information determined by the speed calculation and shifts to a normal character reception mode.

第3図は第2図に示した方式の実現手段としての本発明
の実施例による回線速度自動検出装置を示す機能ブロッ
ク図である。
FIG. 3 is a functional block diagram showing an automatic line speed detection device according to an embodiment of the present invention as a means for realizing the system shown in FIG.

同図において、立ち上がり又は立ち下がり検出回路10
は受信信号回線から送られてくる速度検出用文字の立ち
上がり又は立ち下がりを検出する。
In the figure, a rising or falling detection circuit 10
detects the rising or falling edge of the speed detection character sent from the receiving signal line.

この時、時計回路40は所定周期のクロック信号を立ち
上がり又は立ち下がり検出回路10に与え、それにより
、立ち上がり又は立ち下がりの時間が算出される。
At this time, the clock circuit 40 supplies a clock signal with a predetermined period to the rise or fall detection circuit 10, thereby calculating the rise or fall time.

この立ち上がり又は立ち下がり及びその時間情報は、立
ち上がり又は立ち下がり記憶回路50に記憶され、速度
検出用文字を通常の文字として再生するために利用され
る。
This rise or fall and its time information are stored in the rise or fall memory circuit 50, and are used to reproduce the speed detection characters as normal characters.

速度算出回路20は、回f!提供者により指定された所
定の論理に基づき、一定数、例えば2個、の立ち上がり
又は立ち下がりを検出すると、時計回路40からの時間
情報を用いて直ちに回線速度を算出する。この回線速度
の算出法を第4図によって説明する. 第4図において、速度検出用文字のビットパターンは、
本例では最初の立ち下がりから次の立ち下がりまでが5
ビットであり、そのビットパターンの゛1”はマーク状
態,゛0゜はスペース状態である。
The speed calculation circuit 20 calculates times f! Based on a predetermined logic specified by the provider, when a certain number, for example two, of rising or falling edges are detected, the line speed is immediately calculated using time information from the clock circuit 40. The method for calculating this line speed will be explained using Figure 4. In Figure 4, the bit pattern of the speed detection character is
In this example, the time from the first falling edge to the next falling edge is 5.
It is a bit, and "1" in the bit pattern is a mark state, and "0" is a space state.

そして、速度検出用文字の前は■に示すようにマークホ
ールド状態である。マークホールド状態の次の最初の立
ち下がり■は、速度検出用文字のスタートビットとtW
mされる。2回目の立ち下がりが検出されると、速度算
出回路20は、速度検出用文字のその後のビットパター
ンがいかなるものであるかにかかわらず直ちに回線速度
を算出する。
The mark in front of the speed detection character is in a mark hold state as shown by ■. The first falling edge after the mark hold state is the start bit of the speed detection character and tW.
m is done. When the second falling edge is detected, the speed calculation circuit 20 immediately calculates the line speed regardless of the subsequent bit pattern of the speed detection character.

このとき、最初の立ち下がり■から次の立ち下がり■ま
での計数時間■は、時計回路40からの時間情報により
知ることができるので、回線速度は次の式で計算される
At this time, since the counting time (2) from the first falling edge (2) to the next falling edge (2) can be known from the time information from the clock circuit 40, the line speed is calculated using the following formula.

尚、速度検出用文字のストップビットの後は再びマーク
ホールドとなる。
Note that after the stop bit of the speed detection character, the mark is held again.

このように回線速度を計算すれば、第5図に示すように
、提供回線の速度が高速になるほど、5ビット文字の受
信時間は短いので、回線速度検出時間も短くなる。例え
ば、提供回線速度が2400 bpsであれば検出時間
は2.08ms,提供回線速度が5Qbpsであれば検
出時間は!.00msとなる。従来は提供回線速度の中
の最低の回線速度に合わせて検出時間を確保していたの
で、第5図の例では50bpsより高速の回線について
も回線速度検出時間とし て40Imsを用意していたのに対し、本発明では10
0bps回線では50ms, 300bpsの回線では
16.7ms,1200bpsの回線では4.17ms
、2400bpsの回線では2.08網Sの時間で済乙
If the line speed is calculated in this manner, as shown in FIG. 5, the faster the provided line speed is, the shorter the time it takes to receive a 5-bit character, and therefore the shorter the line speed detection time. For example, if the provided line speed is 2400 bps, the detection time is 2.08ms, and if the provided line speed is 5Qbps, the detection time is ! .. 00ms. Conventionally, the detection time was set according to the lowest line speed among the provided line speeds, so in the example in Figure 5, 40Ims was set as the line speed detection time even for lines faster than 50 bps. On the other hand, in the present invention, 10
50ms for 0bps line, 16.7ms for 300bps line, 4.17ms for 1200bps line
, with a 2400 bps line, it takes 2.08 network S time.

再び第3図に戻り、上記のようにして回線速度が検出さ
れると,,直ちにデータ受信回路30により通常の文字
の受信態勢に入る。これにより、速度検出用文字の後の
マークホ・−・ルド後の通常の填字が直ちに受信解読で
きる。データ受信回路30に寄り受{8されたデータは
受信データバッファ回路60に格納され、プリントアウ
ト等に用いられる.この文字受信モードー・の切換の一
例を第6VIに示す. 第6図において、速度検出用文字の2回目力立ち下がり
ので回線速度が検出され、その後ストップビットまでの
速度検出用文字のビットパターンでタイミングをとりな
がら、ストップビットの受信時間の途中を割り出してお
き、その時間■で受信モードに切り替える.尚、この切
り替えを速度検出用文字のピントパターンの立ち下がり
前で行うことは、後続文字のスタートピントと誤認する
ので誤動作してしまう。
Returning to FIG. 3 again, when the line speed is detected as described above, the data receiving circuit 30 immediately enters the normal character receiving mode. As a result, the normal filler after the mark hold after the speed detection character can be immediately received and deciphered. The data received by the data receiving circuit 30 is stored in the received data buffer circuit 60 and used for printing out, etc. An example of switching between this character reception mode is shown in VI. In Figure 6, the line speed is detected as the speed detection character falls for the second time, and then the middle of the reception time of the stop bit is determined while taking the timing based on the bit pattern of the speed detection character up to the stop bit. and switch to reception mode at that time ■. Note that if this switching is performed before the focus pattern of the speed detection character falls, it will be mistaken as the start focus of the subsequent character, resulting in a malfunction.

一方、第3図において、立ち上がり又は立ち下がり記憶
回路50に格納された速度検出用文字の立ち上がり又は
立ち下がりの変化も受信データバソファ回路60に送ら
れ、通常の文字として再生される。これにより、回線速
度検出動作と平行して速度検出用文字が通常の文字とし
て受信されるので、実質的に回線速度検出時間は零とな
る。
On the other hand, in FIG. 3, changes in the rise or fall of the speed detection characters stored in the rise or fall storage circuit 50 are also sent to the received data basso circuit 60 and reproduced as normal characters. As a result, the speed detection characters are received as normal characters in parallel with the line speed detection operation, so the line speed detection time becomes substantially zero.

第7図は本発明の実施例による第3図の装置のより具体
的なブロック回路図である。同図において、第3図の各
部と同一部分には同一参照番号を付してある.第7図に
おいて、レシーバ回路70はデータ受信線を引き込むも
の、立ち上がり又は立ち下がり検出回路10はデータ受
信線の立ち上がり又は立ち下がり動作を監視し、その検
出と同時に速度算出回路20に動作を引き継ぐもの、速
度算出回路20は、指定された論理に基づき、立ち下が
り信号間の時間計数を行い、その間に受信するビット数
との計算により速度の割り出しを行うもの、時計回路4
0は立ち上がり又は立ち下がり間の時間を算出するため
の時刻情報を計数するもの、タイξング回路80は回線
速度の検出モードから通常の文字受信モードへの切り替
えタイミングを計数するもの、記憶回路50は回線しよ
うの立ち上がり又は立ち下がりの変化を時間情報と共に
記憶し、検出した速度情報により文字として再生するも
の、受信データバッファ回路60は再生された速度検出
文字及びそれ以降の連続受信文字を格納するものである
FIG. 7 is a more specific block circuit diagram of the apparatus of FIG. 3 according to an embodiment of the present invention. In this figure, parts that are the same as those in Figure 3 are given the same reference numbers. In FIG. 7, a receiver circuit 70 draws in the data reception line, and a rise or fall detection circuit 10 monitors the rise or fall operation of the data reception line, and upon detection, the operation is handed over to the speed calculation circuit 20. , the speed calculation circuit 20 counts the time between falling signals based on specified logic, and calculates the speed by calculating the number of bits received during that time.The clock circuit 4
0 counts time information for calculating the time between rising or falling edges, the timing circuit 80 counts the timing of switching from the line speed detection mode to the normal character reception mode, and the memory circuit 50 The circuit 60 stores changes in the rise or fall of the line along with time information and reproduces them as characters based on the detected speed information.The reception data buffer circuit 60 stores the reproduced speed detection characters and subsequent continuously received characters. It is something.

第7図の装置の動作は第3図についての説明から容易に
類推できるので説明を省略する。
The operation of the device shown in FIG. 7 can be easily inferred from the description of FIG. 3, so a description thereof will be omitted.

〔発明の効果〕〔Effect of the invention〕

以上の説明から明らかなように、本発明によれば、回線
速度自動検出方式において、提供回線速度の遺憾にかか
わらず速度検出用文字により回線速度を検出後直ちに通
常の文字の受信解読が可能となり、更に、速度検出用文
字をも通常の文字として受信できるので、速度検出用文
字の受信開始時点と通常の文字の受信解読開始時点との
間の時間が大幅に短縮される。
As is clear from the above explanation, according to the present invention, in the line speed automatic detection method, it becomes possible to receive and decode normal characters immediately after detecting the line speed using the speed detection characters, regardless of the problem with the provided line speed. Furthermore, since the speed detection characters can also be received as normal characters, the time between the time when receiving the speed detection characters starts and the time when receiving and decoding the normal characters starts is greatly shortened.

更に、本発明により、通常の文字パターンを速度検出用
文字としても利用する場合は、速度検出用文字の受信開
始時点と通常の文字の受信解読開始時点との間の時間差
が実質的に零となる。
Furthermore, according to the present invention, when a normal character pattern is also used as a speed detection character, the time difference between the time when the speed detection character starts receiving and the time when the normal character starts receiving and decoding becomes substantially zero. Become.

最近急速に利用が拡大している誤り訂正モデムを使用し
た場合、ユーザ端末から送信する文字列の文字時間間隔
は、受信側では保証されない。即ち、誤り訂正モデムは
、複数の文字をバンファリングし、ブロック化して一括
転送するので、受信側での文字受信はブロック分につい
ては連続(文字間隔なし)で受信されることになる。
When using error correction modems, which have recently become increasingly popular, the character time intervals of character strings transmitted from user terminals cannot be guaranteed on the receiving side. That is, since the error correction modem banfers a plurality of characters, blocks them, and transfers them all at once, the receiving side receives the characters in blocks continuously (without character intervals).

本発明による回線速度自動検出方式は、連続文字受信が
特徴であり、上記のような誤り訂正モデムによる通信等
において今後の有用性が極めて高い。
The line speed automatic detection method according to the present invention is characterized by continuous character reception, and will be extremely useful in the future in communications using error correction modems as described above.

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

第1図は本発明の原理ブロック図、 第2図本発明の概略的説明図、 第3図は本発明の実施例による第2図の方式の実現手段
を示す機能ブロック図、 第4図は本発明の実施例における回線速度算出の説明図
、 第5図は本発明の実施例による回線速度検出時間と提供
回線速度との関係を示す図、 第6図は本発明の実施例による速度検出モードから文字
受信モードへの切り替えの説明図、第7図は本発明の実
施例による第3図の装置のより具体的なブロック回路図
、 第8図は従来の回線速度検出方式の説明図である。 図において、 1・・・立ち上がり又は立ち下がり検出手段、2・・・
回線速度検出手段、 3・・・データ受信手段、 4・・・タイミング手段、 5・・・記憶再生手段である。 本発明の概略的説明図 $2図 +一 速度検出用文字一一一一一 第2図の方式の実現手段 第3図 ■ 本発明の実施例!こ517る回線速度算出の説明図$4
!21 提供回線速度との関係を示す図 速度検出用文字 後続文字 ■ ■ ■ 〜 −0 −−  0 ○ O
FIG. 1 is a principle block diagram of the present invention; FIG. 2 is a schematic explanatory diagram of the present invention; FIG. 3 is a functional block diagram showing means for realizing the system of FIG. 2 according to an embodiment of the present invention; An explanatory diagram of line speed calculation according to an embodiment of the present invention. Fig. 5 is a diagram showing the relationship between line speed detection time and provided line speed according to an embodiment of the present invention. Fig. 6 is a diagram showing speed detection according to an embodiment of the present invention. FIG. 7 is a more specific block circuit diagram of the device of FIG. 3 according to the embodiment of the present invention, and FIG. 8 is an explanatory diagram of the conventional line speed detection method. be. In the figure, 1...rise or fall detection means, 2...
Line speed detection means; 3. Data reception means; 4. Timing means; 5. Storage and reproduction means. Schematic explanatory diagram of the present invention $ 2 Figure + 1 Characters for speed detection 1 1 1 1 Means for realizing the method of Figure 2 Figure 3 ■ Embodiment of the present invention! Explanatory diagram of line speed calculation $4
! 21 Diagram showing the relationship with the provided line speed Characters for speed detection Subsequent characters ■ ■ ■ ~ -0 -- 0 ○ O

Claims (1)

【特許請求の範囲】 1、調歩回線インタフェースにおける端末回線速度の検
出方式において、 速度検出用文字のビットパターンの立ち上がりまたは立
ち下がりを検出する立ち上がり又は立ち下がり検出手段
(1)、 該立ち上がり又は立ち下がり検出手段(1)により検出
されたビットパターンの所定ビット間の二つの立ち上が
り又は立ち下がりの間の時間を計数して回線速度を検出
する回線速度検出手段(2)、及び該回線速度検出手段
(2)で決定した速度によりデータを受信するデータ受
信手段(3)を具備することを特徴とする回線速度検出
方式。 2、前記回線速度検出手段(2)による回線速度の決定
後、前記速度検出用文字のストップビットまでの時間を
算出するタイミング手段(4)を更に具備し、前記デー
タ受信手段(3)は該ストップビットに後続する文字か
らデータを受信することを特徴とする請求項の1に記載
の回線速度検出方式。 3、前記立ち上がり又は立ち下がり検出手段(1)によ
り検出されたビットパターンの立ち上がり又は立ち下が
りと、前記回線速度決定手段(2)により検出された回
線速度とを記憶し、前記速度検出用文字を文字パターン
として再生する記憶再生手段(5)をさらに具備する請
求項の1に記載の回線速度検出方式。 4、前記立ち上がり又は立ち下がり検出手段(1)によ
り検出するビットパターンの指定方式として、二つのビ
ット間隔を5ビットまたは7ビット幅とする事を特徴と
する回線速度検出方式。
[Claims] 1. In a terminal line speed detection method in a start-stop line interface, there is provided a rising or falling detection means (1) for detecting a rising or falling bit pattern of a speed detection character; A line speed detecting means (2) for detecting the line speed by counting the time between two rising or falling edges between predetermined bits of the bit pattern detected by the detecting means (1), and the line speed detecting means ( A line speed detection method characterized by comprising data receiving means (3) for receiving data at the speed determined in step 2). 2. The data receiving means (3) further comprises a timing means (4) for calculating the time until the stop bit of the speed detection character after the line speed is determined by the line speed detecting means (2), and the data receiving means (3) 2. The line speed detection method according to claim 1, wherein data is received from a character following a stop bit. 3. Memorize the rising or falling edge of the bit pattern detected by the rising or falling detection means (1) and the line speed detected by the line speed determining means (2), and write the speed detection character. 2. The line speed detection method according to claim 1, further comprising storage/reproduction means (5) for reproducing the character pattern. 4. A line speed detection method characterized in that, as a designation method for the bit pattern detected by the rise or fall detection means (1), the interval between two bits is set to a width of 5 bits or 7 bits.
JP1191542A 1989-07-26 1989-07-26 Line speed detection system Pending JPH0357349A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1191542A JPH0357349A (en) 1989-07-26 1989-07-26 Line speed detection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1191542A JPH0357349A (en) 1989-07-26 1989-07-26 Line speed detection system

Publications (1)

Publication Number Publication Date
JPH0357349A true JPH0357349A (en) 1991-03-12

Family

ID=16276407

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1191542A Pending JPH0357349A (en) 1989-07-26 1989-07-26 Line speed detection system

Country Status (1)

Country Link
JP (1) JPH0357349A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009017361A (en) * 2007-07-06 2009-01-22 Renesas Technology Corp Interface
JP2010109860A (en) * 2008-10-31 2010-05-13 Mitsubishi Electric Corp Communication velocity detecting device, and communication apparatus
JP2010124268A (en) * 2008-11-20 2010-06-03 Sony Corp Data communication device, communication control method, and program
JP2014511068A (en) * 2011-03-07 2014-05-01 マイクロチップ テクノロジー インコーポレイテッド Microcontroller with CAN bus module and automatic speed detection
JP2018046418A (en) * 2016-09-14 2018-03-22 株式会社フジクラ Clock regeneration circuit

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5624844A (en) * 1979-08-08 1981-03-10 Nec Corp Detecting system for communication velocity
JPS63228844A (en) * 1987-03-02 1988-09-22 アメリカン テレフォン アンド テレグラフ カムパニー Method of data coupling between asynchronous interface, data module and asynchronous peripherals

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5624844A (en) * 1979-08-08 1981-03-10 Nec Corp Detecting system for communication velocity
JPS63228844A (en) * 1987-03-02 1988-09-22 アメリカン テレフォン アンド テレグラフ カムパニー Method of data coupling between asynchronous interface, data module and asynchronous peripherals

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009017361A (en) * 2007-07-06 2009-01-22 Renesas Technology Corp Interface
JP2010109860A (en) * 2008-10-31 2010-05-13 Mitsubishi Electric Corp Communication velocity detecting device, and communication apparatus
JP2010124268A (en) * 2008-11-20 2010-06-03 Sony Corp Data communication device, communication control method, and program
US8654377B2 (en) 2008-11-20 2014-02-18 Sony Corporation Data communication device, communication control method, and program
JP2014511068A (en) * 2011-03-07 2014-05-01 マイクロチップ テクノロジー インコーポレイテッド Microcontroller with CAN bus module and automatic speed detection
JP2018046418A (en) * 2016-09-14 2018-03-22 株式会社フジクラ Clock regeneration circuit

Similar Documents

Publication Publication Date Title
US7079528B2 (en) Data communication method
US5654983A (en) Method and apparatus of operating data communications equipment in command mode and autobauding
JPS6226103B2 (en)
JP2641999B2 (en) Data format detection circuit
US6157689A (en) Automatic speed detection for asynchronous serial communications
US4462051A (en) Demodulator for an asynchronous binary signal
US4443883A (en) Data synchronization apparatus
JPH0357349A (en) Line speed detection system
JP3814470B2 (en) Data transfer method and data transfer apparatus
US5625505A (en) Method of and apparatus for regenerating partial-response record signal
US6332010B1 (en) Synchronizing signal detecting circuit
KR100249171B1 (en) Method for detecting error in non-syncronus type data transmit and receive device
KR100386558B1 (en) fast detection method for data rate
CN100334645C (en) Disc encoder and method for correcting headline position
JP2596357B2 (en) Burst data transmission method and apparatus
JP3697809B2 (en) Signal detection circuit
JPH10294772A (en) At command reception system
JP2667302B2 (en) Cell synchronization method and packet communication device
JPH01292927A (en) Data transmitting system
JPH0588017B2 (en)
JPH04215350A (en) Reception data buffer control circuit
JP2894297B2 (en) Clock switching method, clock switching method, and clock selection unit for line switching device
JPH11205396A (en) Serial communication equipment
JPH07226778A (en) Data reception system
JP2001069438A (en) Time code signal reader