JPH01309448A - Communication control method in optical communication - Google Patents
Communication control method in optical communicationInfo
- Publication number
- JPH01309448A JPH01309448A JP63140835A JP14083588A JPH01309448A JP H01309448 A JPH01309448 A JP H01309448A JP 63140835 A JP63140835 A JP 63140835A JP 14083588 A JP14083588 A JP 14083588A JP H01309448 A JPH01309448 A JP H01309448A
- Authority
- JP
- Japan
- Prior art keywords
- pulse
- signal
- reference pulse
- interval
- control method
- 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
Links
- 238000004891 communication Methods 0.000 title claims abstract description 33
- 238000000034 method Methods 0.000 title claims description 21
- 230000003287 optical effect Effects 0.000 title claims description 14
- 239000006185 dispersion Substances 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 230000010355 oscillation Effects 0.000 description 3
- 238000012795 verification Methods 0.000 description 1
Landscapes
- Dc Digital Transmission (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
- Selective Calling Equipment (AREA)
- Optical Communication System (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は光通信、特に光素子を具備する光リモートコン
トロール装置の光通信における通信制御方法に関するも
のである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to optical communication, and particularly to a communication control method in optical communication of an optical remote control device equipped with an optical element.
従来、任意の周期で発生ずる基準パルス信号と次回の基
準パルス信号との間に信号があるか無い(b)に示すよ
うに、前記信号をフリーラン・カウンタを用いて基準パ
ルスSPと信号パルスP及び基準パルスSPと基準パル
スSPとの各々の時間間隔を測定し、その測定値と規定
値とを比較して大きいか小さいかにより、信号“1″及
び“0”の定義を行なっている。Conventionally, as shown in (b), there is a signal between the reference pulse signal generated at an arbitrary period and the next reference pulse signal. The signal "1" and "0" are defined by measuring the time interval between P and reference pulse SP, comparing the measured value with a specified value, and determining whether it is larger or smaller. .
しかしながら、上記従来のシリアル通信制御における信
号“1゛′及び“0”′の定義方法では、送信側の原振
が部品特性のばらつき、電源電圧の変動、温度特性によ
るばらつき等により、基準パルスSPのパルス間隔が場
合により設定値より広くなったり、狭くなったりする。However, in the above-mentioned method of defining the signals "1" and "0"' in the conventional serial communication control, the original oscillation on the transmitting side is caused by variations in component characteristics, variations in power supply voltage, variations in temperature characteristics, etc. The pulse interval may become wider or narrower than the set value depending on the case.
これにより受信制御側のフリー・ラン・カウンタのカウ
ント値にばらつきが生し、該カウント値を規格値と比較
しても信号“1”及び“0゛′を判断できない場合が生
じ、通信が不能になるという問題点があった。This causes variations in the count value of the free run counter on the reception control side, and even if you compare the count value with the standard value, it may not be possible to determine whether the signal is "1" or "0'," making communication impossible. There was a problem with becoming.
本発明は上述の点に鑑みてなされたもので、送信側の原
振のばらつきによって通信不能状態が生じるという問題
点を除去し、送信側の原振のばらつきに対応できる光通
信における通信制御方法を提供することにある。The present invention has been made in view of the above-mentioned points, and is a communication control method in optical communication that eliminates the problem of communication failure caused by variations in the original oscillation on the transmitting side and can cope with variations in the original oscillation on the transmitting side. Our goal is to provide the following.
上記課題を解決するため本発明は、任意の周期で発生す
る基準パルス信号と次回の基準パルス信号との間に信号
が有るか無いかで信号“1”及び“θ”を定義する光素
子を用いたシリアル通信制御方法において、信号の無い
スタートビットを先頭に設け、該スタートビットを基に
基準時間を設定し、基準パルスと信号パルス及び基準パ
ルスと基準パルスの各々の時間間隔を該基準時間と比較
し、信号“1″及び“0″を判定することを特徴とする
。In order to solve the above problems, the present invention provides an optical element that defines signals "1" and "θ" depending on whether there is a signal between a reference pulse signal generated at an arbitrary period and the next reference pulse signal. In the serial communication control method used, a start bit with no signal is provided at the beginning, a reference time is set based on the start bit, and the time intervals between the reference pulse and the signal pulse and between the reference pulse and the reference pulse are set at the reference time. It is characterized in that the signals are compared to determine whether the signals are "1" or "0".
上記の如く本発明の光通信における通信制御方法は、受
信信号のスタートビットの間隔により、信号“1゛′及
び“0″を判断するための基準時間を設定するようにし
たので、送信側の原振のばらつきにより、基準パルス間
隔のバラツキが起きても基準時間が基準パルス間隔のば
らつきに合わせて変化するので、従来の通信制御方法の
ように信号“1″及び“0″の判断ができず通信不能と
なることはない。As described above, in the communication control method in optical communication of the present invention, the reference time for determining the signals "1" and "0" is set based on the interval between the start bits of the received signal. Even if variations in the reference pulse interval occur due to variations in the source vibration, the reference time changes in accordance with the variation in the reference pulse interval, so it is not possible to judge signals “1” and “0” as in conventional communication control methods. Communication will never become impossible.
以下、本発明の一実施例を図面に基づいて説明する。 Hereinafter, one embodiment of the present invention will be described based on the drawings.
第1図は本発明の光通信における通信制御方法を実行す
るために用いる信号波形図、第2図は本発明の光通信に
おける通信制御方法の信号“1”及び“0”の判断方法
を説明するための図である。なお、第1図において、基
準パルスSPは本実施例において、例えば周期を4ms
e cとし、パルス幅を50μとしたパルス信号であ
る。Fig. 1 is a signal waveform diagram used to execute the communication control method in optical communication of the present invention, and Fig. 2 explains a method for determining signals “1” and “0” in the communication control method in optical communication of the present invention. This is a diagram for In FIG. 1, the reference pulse SP has a period of 4 ms, for example, in this embodiment.
This is a pulse signal with e c and a pulse width of 50 μ.
本通信制御方法におけるパルス信号“1”は第1図の基
準パルスSPと次の基準パルスSPの中央付近において
、パルス信号がある状態を示し、反対にパルス信号がな
い状態をパルス信号“O11と定義する。パルス信号“
1″のパルス幅は前記基準パルスSPのパルス幅に準処
するものとする。また、第3図においては、時間tをか
けて左から右へパルス信号を発生している様子を示して
いる。最初の基準パルスSP、と2番目パルスSP、の
間にはパルス信号が無い状態を作り、これをスタートビ
ットSBとする。In this communication control method, the pulse signal "1" indicates a state in which a pulse signal is present near the center between the reference pulse SP and the next reference pulse SP in FIG. Define.Pulse signal“
It is assumed that the pulse width of 1'' corresponds to the pulse width of the reference pulse SP. In addition, FIG. 3 shows that a pulse signal is generated from left to right over time t. A state is created in which there is no pulse signal between the first reference pulse SP and the second pulse SP, and this is defined as a start bit SB.
第3図は本通信制御方法の受信処理の流れを記すフロー
チャートである。同図において、ステップ101におい
て、最初の基準パルスSP、かどうかを判断し、最初の
基準パルスSP、であれば、次にステップ102におい
てパルス間隔を測定するタイマカウンタをスタートさせ
る。このタイマカウンタは通信制御を実行する中央処理
ユニット(CPU)(図示せず)が任意の設定時間毎に
同期して実行する処理であり、例えば、本実施例におい
ては16μsec毎に前記中央処理ユニット内のカウン
タを加算していくものである。FIG. 3 is a flowchart showing the flow of reception processing in this communication control method. In the figure, in step 101 it is determined whether it is the first reference pulse SP, and if it is the first reference pulse SP, then in step 102 a timer counter for measuring the pulse interval is started. This timer counter is a process that is executed by a central processing unit (CPU) (not shown) that executes communication control in synchronization with each arbitrary set time.For example, in this embodiment, the central processing unit (CPU) (not shown) The counter inside is incremented.
次にステップ103において2番目の基準パルスSP、
かどうかを判断し、2番目の基準パルスSP、であれば
、次にステップ104において2番目の基準パルスSP
を受信したときのタイマカウンタのカウント値によりス
タートビットSHの間隔を判断する。続いてステップ1
05において信号“1”及び“0”を判断するための基
準時間TSをスタートビットSBの間隔を基準に設定す
る。例えば本実施例においては、スタートビットSBの
間隔の75%の時間を基準時間TSとした。続いてステ
ップ106位おいて受信されるパルスのパルス間隔をタ
イマカウンタで計測し、第2図に示すように基準時間T
Sと比較し、信号“1”及び“0”の判断を実行する。Next, in step 103, the second reference pulse SP,
If it is the second reference pulse SP, then in step 104 the second reference pulse SP is determined.
The interval between start bits SH is determined based on the count value of the timer counter when SH is received. Next step 1
In step 05, a reference time TS for determining signals "1" and "0" is set based on the interval between start bits SB. For example, in this embodiment, a time corresponding to 75% of the interval between start bits SB is set as the reference time TS. Subsequently, in step 106, the pulse interval of the received pulses is measured with a timer counter, and the reference time T is determined as shown in FIG.
Compare it with S and determine whether the signal is "1" or "0".
このステップ106の処理を最終の基準パルスSPまで
行ない、ステップ108でコード照合を行ない正規の入
力かどうかを判断する。その入力が正しければステップ
109において正規処理を行ない、間違っていればステ
ップ110でエラー処理を行なう。The processing in step 106 is carried out up to the final reference pulse SP, and in step 108 code verification is performed to determine whether the input is normal. If the input is correct, normal processing is performed in step 109; if it is incorrect, error processing is performed in step 110.
以上説明したように本発明によれば、受信信号のスター
トビットの間隔により、信号“1゛′及び“0”を判断
するための基準時間を設定するようにしたので、送信側
の原振のばらつきにより、基準パルス間隔のバラツキが
起きても基準時間が基準パルス間隔のばらつきに合わせ
て変化するので、通信不能となることはないという優れ
た効果が得られる。As explained above, according to the present invention, the reference time for determining the signal "1" and "0" is set based on the interval between the start bits of the received signal. Even if variations occur in the reference pulse intervals due to variations, the reference time changes in accordance with the variations in the reference pulse intervals, so an excellent effect can be obtained that communication will not become impossible.
第1図は本発明の光通信における通信制御方法を実行す
るために用いる信号波形図、第2図は本発明の光通信に
おける通信制御方法の信号“1”及び“0゛の判断方法
を説明するための図、第3図は本通信制御方法の受信処
理の流れを記すフローチャートを示す図、第4図は従来
通信制御方法の信号“1″及び“0″を定義する方法を
説明するための図である。Fig. 1 is a signal waveform diagram used to execute the communication control method in optical communication of the present invention, and Fig. 2 explains a method for determining signals “1” and “0゛” in the communication control method in optical communication of the present invention. 3 is a flowchart showing the flow of reception processing in the present communication control method, and FIG. 4 is for explaining a method for defining signals "1" and "0" in the conventional communication control method. This is a diagram.
Claims (1)
ス信号との間に信号が有るか無いかで信号“1”及び“
0”を定義する光素子を用いたシリアル通信制御方法に
おいて、前記基準パルス信号と次回の基準パルス信号の
間に信号の無い基準パルス信号をスタートビットとして
先頭に設け、該スタートビットの間隔を基に基準時間を
設定し、基準パルスと信号パルス及び基準パルスと基準
パルスとの各々の時間間隔を前記基準時間と比較し、信
号“1”及び“0”を判断することを特徴とする光通信
における通信制御方法。The signal “1” and “
In a serial communication control method using an optical element that defines "0", a reference pulse signal with no signal between the reference pulse signal and the next reference pulse signal is provided at the beginning as a start bit, and the interval between the start bits is based on the start bit. Optical communication characterized in that a reference time is set at , and the time intervals between the reference pulse and the signal pulse and between the reference pulse and the reference pulse are compared with the reference time to determine whether the signal is "1" or "0". communication control method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63140835A JPH0683274B2 (en) | 1988-06-07 | 1988-06-07 | Communication control method in optical communication |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63140835A JPH0683274B2 (en) | 1988-06-07 | 1988-06-07 | Communication control method in optical communication |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH01309448A true JPH01309448A (en) | 1989-12-13 |
JPH0683274B2 JPH0683274B2 (en) | 1994-10-19 |
Family
ID=15277821
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP63140835A Expired - Fee Related JPH0683274B2 (en) | 1988-06-07 | 1988-06-07 | Communication control method in optical communication |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0683274B2 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2004093377A1 (en) * | 2003-04-17 | 2004-10-28 | Ricoh Company, Ltd. | Signal transmitting apparatus, power supplying system, and serial communication apparatus |
JP2008028986A (en) * | 2006-06-21 | 2008-02-07 | Matsushita Electric Ind Co Ltd | Transmission apparatus, reception apparatus, transmission method, reception method, and integrated circuit |
JP2008141790A (en) * | 2008-02-01 | 2008-06-19 | Ricoh Co Ltd | Serial communication system |
-
1988
- 1988-06-07 JP JP63140835A patent/JPH0683274B2/en not_active Expired - Fee Related
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2004093377A1 (en) * | 2003-04-17 | 2004-10-28 | Ricoh Company, Ltd. | Signal transmitting apparatus, power supplying system, and serial communication apparatus |
KR100847505B1 (en) * | 2003-04-17 | 2008-07-22 | 가부시키가이샤 리코 | Power supplying system, and serial communication apparatus |
US7859991B2 (en) | 2003-04-17 | 2010-12-28 | Ricoh Company, Ltd. | Signal transmitting apparatus, power supplying system, and serial communication apparatus |
JP2008028986A (en) * | 2006-06-21 | 2008-02-07 | Matsushita Electric Ind Co Ltd | Transmission apparatus, reception apparatus, transmission method, reception method, and integrated circuit |
JP2008141790A (en) * | 2008-02-01 | 2008-06-19 | Ricoh Co Ltd | Serial communication system |
JP4672032B2 (en) * | 2008-02-01 | 2011-04-20 | 株式会社リコー | Serial communication device |
Also Published As
Publication number | Publication date |
---|---|
JPH0683274B2 (en) | 1994-10-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH01309448A (en) | Communication control method in optical communication | |
JPH08125674A (en) | Communication controller | |
CA1108247A (en) | Methods and apparatus for enhancing resolution in pulse analysis | |
JPS63316962A (en) | Data communication optical equipment | |
JPH05292042A (en) | Pwm signal c0mmunication equipment | |
CN111903096B (en) | Communication system, receiving apparatus, transmission interval changing method, and computer program | |
JPH08115300A (en) | Data communication equipment | |
JPH08163653A (en) | Serial communication switching method | |
JP3031555B2 (en) | Signal level state identification method and its circuit | |
JP2520849B2 (en) | Inter-communication device for automobile controller | |
JP2896478B2 (en) | Remote control pulse receiving circuit | |
SU1157544A1 (en) | Device for functional-parametric checking of logic elements | |
JPH0211049A (en) | Serial data transmission speed detecting circuit | |
JPS6324793A (en) | Remote supervising control device | |
JPS59205813A (en) | Frequency comparator circuit | |
JPH0383409A (en) | Pulse signal recognition circuit | |
JPH0120393B2 (en) | ||
JP2003058245A (en) | Monitoring and controlling device | |
JPH0413337A (en) | Baud rate discrimination method for serial data | |
JP2001021676A (en) | Standard time-setting method and device therefor | |
JPH05151140A (en) | Microcomputer | |
JPH02149146A (en) | Clock synchronous circuit | |
JPH06252770A (en) | Data transmission system | |
JPH0244181B2 (en) | ||
JPS62250886A (en) | Speed controller for motor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
LAPS | Cancellation because of no payment of annual fees |