JP3428191B2 - Data communication method, transmitting device, and receiving device - Google Patents

Data communication method, transmitting device, and receiving device

Info

Publication number
JP3428191B2
JP3428191B2 JP32287194A JP32287194A JP3428191B2 JP 3428191 B2 JP3428191 B2 JP 3428191B2 JP 32287194 A JP32287194 A JP 32287194A JP 32287194 A JP32287194 A JP 32287194A JP 3428191 B2 JP3428191 B2 JP 3428191B2
Authority
JP
Japan
Prior art keywords
pulse signal
transmission
correction
data
clock
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.)
Expired - Fee Related
Application number
JP32287194A
Other languages
Japanese (ja)
Other versions
JPH08181686A (en
Inventor
譲治 吉見
昭伸 牧野
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.)
Denso Corp
Original Assignee
Denso Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Corp filed Critical Denso Corp
Priority to JP32287194A priority Critical patent/JP3428191B2/en
Publication of JPH08181686A publication Critical patent/JPH08181686A/en
Application granted granted Critical
Publication of JP3428191B2 publication Critical patent/JP3428191B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、データ通信方法と、こ
の通信方法を実現する送信装置、及び受信装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data communication method, a transmitter and a receiver for realizing this communication method.

【0002】[0002]

【従来の技術】近年、各種機器の制御を行なう制御装置
は、マイクロコンピュータ(以下、マイコンと呼ぶ)等
の算術論理演算処理回路を組み込み、そのインテリジェ
ント化が進められている。加えて、このような制御装置
として、単独で制御を行なうと共に、共通信号線を介し
て他の制御装置とのデータの共有化およびデータの一元
化を図るものも提案されている。例えば、車両におい
て、搭載された燃料噴射制御装置、サスペンション制御
装置、定速走行制御装置、自動変速機制御装置等を共通
信号線を介して結合し、車速データ等の共有化を図った
り、各制御装置からの異常情報(トラブルコード)等を
ダイアグノーシス制御装置に集め、これらを一括して取
り扱ったりするもの等がある。
2. Description of the Related Art In recent years, a control device for controlling various devices has a built-in arithmetic logic operation processing circuit such as a microcomputer (hereinafter, referred to as a microcomputer) and has been made intelligent. In addition, as such a control device, there has been proposed a device that performs control independently, and shares data with other control devices and centralizes data through a common signal line. For example, in a vehicle, a fuel injection control device, a suspension control device, a constant speed traveling control device, an automatic transmission control device, etc., which are mounted on the vehicle, are coupled via a common signal line to share vehicle speed data or the like. There is a system in which abnormal information (trouble code) from the control device is collected in the diagnosis control device, and these are collectively handled.

【0003】こうした複数の制御装置間或は同じ制御装
置内の複数のマイコン間では、送信データ等をやり取り
する必要があるが、これを実現する方式として、調歩同
期方式による送信データの通信方式に用いる受信機が実
開平2−1943号公報に示されている。これは通信を
行なう送受信機間で予め取り決められたクロックの整数
倍を基本として、伝送データを1ビット毎にサンプリン
グして送信するものである。しかし、この方式は送受信
に時間がかかり、また送信側と受信側のクロック周期を
一致させる必要があるため、水晶振動子やセラミック振
動子等の高精度の振動子を使用しなければならなかっ
た。
Transmission data and the like need to be exchanged between such a plurality of control devices or between a plurality of microcomputers within the same control device. As a method for realizing this, a transmission data communication method based on an asynchronous method is used. The receiver used is shown in Japanese Utility Model Laid-Open No. 2-1943. This is based on an integral multiple of a clock pre-arranged between transmitters and receivers for communication, and the transmission data is sampled and transmitted bit by bit. However, this method takes time to transmit and receive, and it is necessary to match the clock cycles of the transmitting side and the receiving side, so it was necessary to use high-precision oscillators such as crystal oscillators and ceramic oscillators. .

【0004】そこで、特開平1−194599号公報に
示されているような、所定の送信クロックを用いて、一
つの送信データ全体をその値に対応するパルス幅(以
下、単に幅ともいう)を有するパルス信号に変換して送
信し、受信側では、受信したパルス信号の幅が、所定の
受信クロックの何周期分に相当するかを測定することに
より送信データに復号化する方式が提案されている。ま
た、この方式においては、実際に送信したい送信データ
を上位ビット、補償データを下位ビットに配して送信デ
ータを構成している。従って、上記調歩同期方式に比べ
て短時間にて送受信ができ、送信データの下位ビットに
相当する部分すなわち補償データを変化させるような測
定誤差が発生しても、送信データを正確に復元できる。
Therefore, as shown in JP-A-1-194599, a predetermined transmission clock is used to determine the pulse width (hereinafter, also simply referred to as the width) of one transmission data as a whole. A method has been proposed in which the signal is converted into a pulse signal and transmitted, and the receiving side decodes it into transmission data by measuring how many cycles of a predetermined reception clock the width of the received pulse signal corresponds to. There is. Further, in this method, the transmission data to be actually transmitted is arranged in the upper bits and the compensation data is arranged in the lower bits to form the transmission data. Therefore, transmission / reception can be performed in a shorter time than the start / stop synchronization method, and the transmission data can be accurately restored even if a measurement error that changes the portion corresponding to the lower bit of the transmission data, that is, the compensation data occurs.

【0005】また、これとは異なる方式として特開平3
−154428号公報に示されているものがある。これ
も、所定のクロックを用いて一つの送信データ全体をそ
の値に対応するパルス幅を有するパルス信号に変換して
送信し、受信側ではパルス幅を測定して送信データに復
号化する方式だが、ここでは、送信側から一定周期でパ
ルス信号を送信し、受信側ではパルス幅だけでなく、送
信周期も測定して、その測定値と送信周期の基準値との
比を、復号化された送信データに乗することにより、ク
ロック誤差を補正するようにしている。この方式によれ
ば、送信クロックと受信クロックとの違い(以下、クロ
ック誤差という)を補償することができる。
Further, as a method different from this, Japanese Patent Laid-Open No.
There is one disclosed in Japanese Patent Publication No. 154428. This is also a method in which one transmission data is converted into a pulse signal having a pulse width corresponding to that value using a predetermined clock and then transmitted, and the receiving side measures the pulse width and decodes it into transmission data. , Here, the transmitting side transmits a pulse signal at a constant period, the receiving side measures not only the pulse width but also the transmitting period, and the ratio between the measured value and the reference value of the transmitting period is decoded. The clock error is corrected by multiplying the transmission data. According to this method, the difference between the transmission clock and the reception clock (hereinafter referred to as clock error) can be compensated.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上記の
ようにデータ通信を行なう場合、上記クロック誤差に依
らない誤差が発生する。これは、信号線上に存在して時
間遅れを発生させる構成が原因となって発生するもので
ある。
However, when performing data communication as described above, an error that does not depend on the clock error occurs. This is caused by the configuration existing on the signal line and causing a time delay.

【0007】これを説明するため、上記データ通信を行
なうための通信装置の構成の一例を図5に示す。通信装
置の送信側回路は、マイコン79、トランジスタ81、
ベース電流制御用抵抗83、出力保護抵抗85から構成
されており、マイコン79はタイマ出力ポート86を備
えている。受信側回路は、プルアップ抵抗87、抵抗8
9及びコンデンサ91からなるノイズフィルタ、ヒステ
リシス付き反転回路からなるバッファ93、マイコン9
4から構成されており、マイコン94はタイマ入力ポー
ト95を備えている。そして、この両回路は、出力保護
抵抗85とノイズフィルタの抵抗89とを信号線96に
て接続することにより、データ通信が可能となる。この
通信装置は次のような動作によりパルス信号の送受信を
行なう。
In order to explain this, an example of the configuration of a communication device for performing the above-mentioned data communication is shown in FIG. The transmission side circuit of the communication device includes a microcomputer 79, a transistor 81,
It is composed of a base current control resistor 83 and an output protection resistor 85, and the microcomputer 79 has a timer output port 86. The receiving side circuit has pull-up resistors 87 and 8
9, a noise filter including a capacitor 91, a buffer 93 including an inverting circuit with hysteresis, a microcomputer 9
The microcomputer 94 includes a timer input port 95. Then, in both of these circuits, data communication becomes possible by connecting the output protection resistor 85 and the noise filter resistor 89 with the signal line 96. This communication device transmits and receives pulse signals by the following operations.

【0008】すなわち、送信側のマイコン79のタイマ
出力ポート86に送信データがセットされると、ポート
の出力値が立ち上がり、ベース電流制御用抵抗83を介
して接続されたトランジスタ81がONされる。信号線
96は、受信側回路で、プルアップ抵抗87を介して電
源に接続されているため、トランジスタ81のOFF時
には、信号線96は略電源電圧に保持され、送信信号と
してはハイレベルとなるが、トランジスタ81がONさ
れると、プルアップ抵抗87、信号線96、トランジス
タ81の経路で電流が流れるため、信号線96の電圧が
グランドレベルまで低下し、送信信号としてはローレベ
ルとなる。そして、タイマ出力ポート86にセットされ
た送信データに対応する時間が経過すると、そのポート
の出力値が立ち下がり、トランジスタ81がOFFさ
れ、送信信号はハイレベルに復帰する。
That is, when transmission data is set in the timer output port 86 of the transmission side microcomputer 79, the output value of the port rises and the transistor 81 connected via the base current control resistor 83 is turned on. Since the signal line 96 is connected to the power supply via the pull-up resistor 87 in the receiving side circuit, when the transistor 81 is off, the signal line 96 is maintained at substantially the power supply voltage and becomes a high level as a transmission signal. However, when the transistor 81 is turned on, a current flows through the path of the pull-up resistor 87, the signal line 96, and the transistor 81, so that the voltage of the signal line 96 decreases to the ground level and the transmission signal becomes low level. Then, when the time corresponding to the transmission data set in the timer output port 86 has elapsed, the output value of that port falls, the transistor 81 is turned off, and the transmission signal returns to the high level.

【0009】一方、受信側では、このように変化する送
信信号が、ノイズフィルタを介してバッファ93に入力
される。バッファ93は、ヒステリシス付きの判定回路
により構成されているため、送信信号は、バッファ93
にて2値化・反転される。この結果、受信側のマイコン
94には、送信側のマイコン79がトランジスタ81を
ON・OFFするのに出力するパルス信号と同極性のパ
ルス信号が入力されることになる。受信側のマイコン9
4には、このパルス信号を受けるタイマ入力ポート95
が備えられているが、このタイマ入力ポート95は、入
力パルスの立ち上がり及び立下がりエッジを検出し、そ
のときの時刻を順次レジスタにセットする。そして、マ
イコン94においては、タイマ入力ポート95でパルス
信号(つまり送信信号)の立ち上がり及び立ち下がりが
検出されると、所謂エッジ割込処理にて、レジスタに格
納された立ち上がり時刻及び立ち下がり時刻を各々読み
取り、これら各時刻の差を求めることにより、送信信号
をデータに復元する。
On the other hand, on the receiving side, the transmission signal thus changing is input to the buffer 93 via the noise filter. Since the buffer 93 is composed of a judgment circuit with hysteresis, the transmission signal is
Is binarized and inverted at. As a result, a pulse signal having the same polarity as the pulse signal output by the transmitting microcomputer 79 for turning on / off the transistor 81 is input to the receiving microcomputer 94. Receiving side microcomputer 9
4 has a timer input port 95 for receiving this pulse signal.
The timer input port 95 detects rising and falling edges of an input pulse and sequentially sets the time at that time in a register. Then, in the microcomputer 94, when the rising edge and the falling edge of the pulse signal (that is, the transmission signal) are detected by the timer input port 95, the rising edge time and the falling edge time stored in the register are detected by so-called edge interrupt processing. The transmission signal is restored to data by reading each and obtaining the difference between these times.

【0010】しかし、こうしたデータ伝送系には、ノイ
ズフィルタ等が配せられているため、バッファ93に入
力されるパルス信号は、図6(b)のように歪む。信号
が歪むと、マイコン94に入力される信号は、図6
(c)に示すように、そのパルス幅tinが送信時のパル
ス幅tR より長くなる(以降、この長くなった分をディ
レイ誤差と呼ぶ)。
However, since a noise filter or the like is arranged in such a data transmission system, the pulse signal input to the buffer 93 is distorted as shown in FIG. 6 (b). When the signal is distorted, the signal input to the microcomputer 94 is as shown in FIG.
As shown in (c), the pulse width tin becomes longer than the pulse width tR at the time of transmission (hereinafter, this lengthened amount is called a delay error).

【0011】そしてこのディレイ誤差の大きさはパルス
信号の高さ、出力保護抵抗85、プルアップ抵抗87、
ノイズフィルタ用の抵抗89・コンデンサ91、バッフ
ァ93のスレショルドにより定まるものであって、クロ
ック誤差に応じて変動するものではないため、特開平3
−154428号公報に示された方法では補償ができな
い。また、信号線96にも浮遊容量97が存在するた
め、これも歪みの度合に影響を与える。このように、パ
ルス信号の受信に遅れをもたらす要素は、不確定なもの
が多いので、通信経路全体の時定数は特定できない。
The magnitude of this delay error depends on the height of the pulse signal, the output protection resistor 85, the pull-up resistor 87,
Since it is determined by the thresholds of the resistor 89 / capacitor 91 for the noise filter and the buffer 93, it does not fluctuate according to the clock error.
Compensation cannot be performed by the method disclosed in Japanese Patent Publication No. 154428. Further, since the signal line 96 also has the stray capacitance 97, this also affects the degree of distortion. As described above, since many factors that delay the reception of the pulse signal are uncertain, the time constant of the entire communication path cannot be specified.

【0012】また、ディレイ誤差は、上記パルス信号の
高さ、出力保護抵抗85、……、等によって定まるた
め、水晶振動子等の発信器の精度誤差によって生じるク
ロック誤差に比べ、通信装置毎のばらつきが大きい。従
い、特開平1−194599号公報に示されている方法
にて、ディレイ誤差を補償しようとすると、送信データ
の下位ビットに生成される補償データの桁数を増やさな
ければならず、伝送するデータに占める送信データの割
合が減少し、効率が悪い。また、補償データの桁数を1
つ増やすと、パルス幅全体は2倍の長さになってしま
い、送信周期の伸長、すなわち伝送スピードの低下を迫
られる虞れもある。
Further, since the delay error is determined by the height of the pulse signal, the output protection resistance 85, ..., And the like, compared with the clock error caused by the accuracy error of the oscillator such as a crystal oscillator, the delay error of each communication device is increased. The variation is large. Therefore, if the delay error is to be compensated by the method disclosed in Japanese Patent Laid-Open No. 1-194599, the number of digits of the compensation data generated in the lower bits of the transmission data must be increased, and the data to be transmitted must be increased. The ratio of transmitted data to the total is reduced, resulting in poor efficiency. In addition, the number of digits of compensation data is 1
If the number of pulses is increased, the entire pulse width becomes twice as long, and there is a possibility that the transmission cycle is extended, that is, the transmission speed is reduced.

【0013】本発明は、上記課題に鑑みなされたもの
で、異なるマイコン間で通信を行なう際に生じるクロッ
ク誤差並びにディレイ誤差を共に補償し、正確なパルス
幅通信を可能なデータ通信方法及び送・受信装置を提供
することを目的とする。
The present invention has been made in view of the above problems, and a data communication method and a transmission / reception method capable of accurately compensating for a clock error and a delay error that occur when communication is performed between different microcomputers, and performing accurate pulse width communication. An object is to provide a receiving device.

【0014】[0014]

【課題を解決するための手段】かかる課題を解決するた
めになされた請求項1に記載の発明は、送信側では、所
定の送信クロックを基準にして送信データをその値に対
応した幅を有する送信パルス信号に変換して送信し、受
信側では、所定の受信クロックを基準にして受信した送
信パルス信号の幅を測定し、該測定結果から送信データ
を復元するデータ通信方法において、送信側では、少な
くとも上記送信データの送信に先駈けて、予め設定され
た互いに異なる値である第1及び第2の補正データに対
応した第1及び第2の補正パルス信号を生成し、これら
をこの順序にて送信し、受信側では、受信したパルス信
号が上記第1の補正パルス信号、上記第2の補正パルス
信号、及び送信パルス信号の内のいずれであるかを判別
し、上記受信したパルス信号が第1の補正パルス信号で
あった場合は、該第1の補正パルス信号のパルス幅から
第1の補正データを生成し、上記受信したパルス信号が
第2の補正パルス信号であった場合は、該第2の補正パ
ルス信号のパルス幅から第2の補正データを生成すると
共に、上記生成した第1及び第2の補正データと、該第
1及び第2の補正データの基準値とに基づき、送信クロ
ックと受信クロックとの不一致度を表すクロック誤差を
求め、更に該クロック誤差と、上記生成した第1又は第
2の補正データと、該補正データの基準値とに基づき、
データ伝送系の遅れを表すディレイ誤差を求め、上記受
信したパルス信号が送信パルス信号であった場合には、
受信した送信パルス信号のパルス幅を、上記求めたク
ロック誤差及びディレイ誤差に基づき補正し、上記送信
データを復元することを特徴とする。
In order to solve the above-mentioned problems, the invention according to claim 1 has a width on the transmission side, in which the transmission data has a width corresponding to the value thereof, based on a predetermined transmission clock. In the data communication method of converting the transmission pulse signal and transmitting it, the receiving side measures the width of the received transmission pulse signal with reference to a predetermined reception clock, and restores the transmission data from the measurement result. , At least prior to the transmission of the transmission data, first and second correction pulse signals corresponding to first and second correction data having different preset values are generated, and these are arranged in this order. Then, the receiving side discriminates whether the received pulse signal is the first correction pulse signal, the second correction pulse signal, or the transmission pulse signal, and the received pulse signal is received. When the loose signal is the first correction pulse signal, the first correction data is generated from the pulse width of the first correction pulse signal, and the received pulse signal is the second correction pulse signal. In this case, the second correction data is generated from the pulse width of the second correction pulse signal, and the generated first and second correction data and the reference value of the first and second correction data are generated. Based on the above, a clock error indicating the degree of mismatch between the transmission clock and the reception clock is obtained, and based on the clock error, the generated first or second correction data, and the reference value of the correction data,
Obtain the delay error representing the delay of the data transmission system, and if the received pulse signal is the transmission pulse signal,
It is characterized in that the pulse width of the received transmission pulse signal is corrected on the basis of the clock error and the delay error obtained as described above to restore the transmission data.

【0015】また、請求項2に記載の発明は、図1のA
部に例示するように、所定の送信クロックを発生する送
信クロック発生手段と、該送信クロック発生手段の発生
した送信クロックを用いて、送信データをその値に対応
する幅を有する送信パルス信号に変換する符号化手段
と、該符号化手段により生成された上記送信パルス信号
を信号線に送出するパルス信号送信手段と、を備えた送
信装置において、上記パルス信号送信手段からの送信パ
ルス信号の送信に先駆けて、上記符号化手段に、上記送
信データと判別可能な第1及び第2の補正データを順次
出力して、上記符号化手段にて両者を第1及び第2の補
正パルス信号に変換させ、上記パルス信号送信手段から
該第1及び第2の補正パルス信号を順次送信させる補正
データ発生手段を設けたことを特徴とする。
The invention according to claim 2 is the same as that of A in FIG.
As illustrated in the section, using the transmission clock generating means for generating a predetermined transmission clock and the transmission clock generated by the transmission clock generating means, the transmission data is converted into a transmission pulse signal having a width corresponding to the value. In a transmitting device comprising: an encoding unit for transmitting the transmission pulse signal generated by the encoding unit to a signal line, a transmission device for transmitting the transmission pulse signal from the pulse signal transmitting unit. Prior to the above, the encoding means sequentially outputs the first and second correction data that can be discriminated from the transmission data, and the encoding means converts both of them into first and second correction pulse signals. Correction data generating means for sequentially transmitting the first and second correction pulse signals from the pulse signal transmitting means.

【0016】また請求項3に記載の発明は、図1のB部
に例示するように、請求項2に記載の送信装置に信号線
を介して接続されてパルス信号を受信する受信装置であ
って、パルス信号を受信するパルス信号受信手段と、所
定の受信クロックを発生する受信クロック発生手段と、
該受信クロック発生手段の発生した受信クロックを用い
て、上記パルス信号受信手段が受信したパルス信号のパ
ルス幅を測定し、該測定結果からデータを復元する復号
化手段と、該復号化手段による復元結果に基づき、上記
パルス信号受信手段の受信したパルス信号が第1の補正
パルス信号,第2の補正パルス信号,及び送信パルス信
号のいずれであるかを判定するパルス信号判定手段と、
該パルス信号判定手段にて、上記パルス信号が第2の補
正パルス信号であると判定されると、上記復号化手段に
おいて第1及び第2の補正パルス信号から夫々復元され
た第1及び第2の補正データと、予め設定された第1及
び第2の補正データの基準値とに基づき、送信クロック
と受信クロックとの不一致度を表すクロック誤差を算出
するクロック誤差算出手段と、該クロック誤差算出手段
にて算出されたクロック誤差と、上記復号化手段におい
て復元された第1又は第2の補正データと、該補正デー
タの基準値とに基づき、データ伝送系の遅れを表すディ
レイ誤差を算出するディレイ誤差算出手段と、上記パル
ス信号判定手段にて、上記パルス信号が送信パルス信号
と判定されると、上記復号化手段において当該送信パル
ス信号から復元された送信データを、上記各誤差算出手
段にて算出されたクロック誤差及びディレイ誤差に基づ
いて補正する送信データ補正手段と、を備えたことを特
徴とする。
The invention according to claim 3 is a receiving device which receives a pulse signal by being connected to the transmitting device according to claim 2 via a signal line, as illustrated in the section B of FIG. A pulse signal receiving means for receiving the pulse signal, a reception clock generating means for generating a predetermined reception clock,
Decoding means for measuring the pulse width of the pulse signal received by the pulse signal receiving means using the reception clock generated by the reception clock generating means, and restoring data from the measurement result, and restoration by the decoding means Pulse signal determining means for determining whether the pulse signal received by the pulse signal receiving means is the first correction pulse signal, the second correction pulse signal, or the transmission pulse signal based on the result;
When the pulse signal determination means determines that the pulse signal is the second correction pulse signal, the decoding means restores the first and second correction pulse signals to the first and second correction pulse signals, respectively. And a clock error calculating means for calculating a clock error indicating a degree of disagreement between the transmission clock and the reception clock based on the correction data and the preset reference values of the first and second correction data. A delay error representing a delay of the data transmission system is calculated based on the clock error calculated by the means, the first or second correction data restored by the decoding means, and the reference value of the correction data. When the delay error calculating means and the pulse signal determining means determine that the pulse signal is a transmission pulse signal, the decoding means restores the transmission pulse signal. The transmission data, characterized by comprising a transmission data correcting means for correcting, based on the calculated clock error and delay error in each error calculation means.

【0017】次に、請求項4に記載の発明は、請求項3
に記載の受信装置において、上記クロック誤差算出手段
は、上記復号化手段において復元された第1の補正デー
タと第2の補正データとの偏差を、上記第1の補正デー
タの基準値と第2の補正データの基準値との偏差にて除
算することにより、上記クロック誤差を算出し、上記デ
ィレイ誤差算出手段は、上記復号化手段において復元さ
れた第1又は第2の補正データから、該補正データの基
準値と上記算出したクロック誤差との積を減じることに
より、上記ディレイ誤差を算出することを特徴とする。
Next, the invention of claim 4 is the same as that of claim 3.
In the receiving device described in the above item (1), the clock error calculating means calculates a deviation between the first correction data and the second correction data restored by the decoding means from a reference value of the first correction data and a second value. The clock error is calculated by dividing the correction data by the deviation from the reference value, and the delay error calculating means corrects the clock error from the first or second correction data restored by the decoding means. The delay error is calculated by subtracting the product of the reference value of the data and the calculated clock error.

【0018】一方、請求項5に記載の発明は、請求項2
に記載の送信装置において、補正データ発生手段は、第
1及び第2の補正データとして、上記符号化手段に2
n ,2 n-1 に対応した値を出力することを特徴とする。
また、請求項6に記載の発明は、請求項5に記載の送信
装置に、信号線を介して接続されてパルス信号を受信す
る請求項4に記載の受信装置であって、上記クロック誤
差算出手段は、上記復号化手段において復元された第1
の補正データと第2の補正データとの偏差を、n−1ビ
ット分だけ下位ビット方向にシフトすることにより、上
記クロック誤差を算出し、上記ディレイ誤差算出手段
は、上記復号化手段において復元された第1の補正デー
タから、上記算出したクロック誤差をnビット分だけ上
位ビット方向にシフトしたデータを減じることにより、
上記ディレイ誤差を算出することを特徴とする。
On the other hand, the invention described in claim 5 is the invention according to claim 2.
In the transmitting device described in the paragraph 1,
As the first and second correction data, the encoding means 2
n , 2 n-1 It is characterized by outputting a value corresponding to.
The invention according to claim 6 is the transmission according to claim 5.
Connected to the device via signal line to receive pulse signal
The receiving device according to claim 4, wherein the clock error is
The difference calculating means is the first decoder restored by the decoding means.
The deviation between the correction data of 2 and the correction data of
By shifting in the direction of lower bits by
The delay error calculating means for calculating the clock error
Is the first correction data restored by the decoding means.
Data, the clock error calculated above is increased by n bits.
By subtracting the data that is shifted in the order of bits,
It is characterized in that the delay error is calculated.

【0019】次に、請求項7に記載の発明は、請求項2
又は請求項5に記載の送信装置において、上記補正デー
タ発生手段が、上記第1の補正データとして、上記送信
データの最大値よりも更に大きな値を発生することを特
徴とする。また、請求項8に記載の発明は、請求項7に
記載の送信装置に信号線を介して接続されてパルス信号
を受信する、請求項3,請求項4又は請求項6に記載の
送信装置受信装置であって、上記パルス信号判定手段
が、上記復号化手段にて復元された復元データが予め設
定された上記送信データの最大値よりも大きい場合に、
上記パルス信号受信手段の受信したパルス信号が第1の
補正パルス信号であると判定する第1パルス判定手段を
有し、該第1パルス判定手段が第1の補正パルス信号を
判定した直後に受信されたパルス信号を第2の補正パル
ス信号、該第2の補正パルス信号以降に受信されたパル
ス信号を送信パルス信号、と判定することを特徴とす
る。
Next, the invention according to claim 7 is the invention according to claim 2.
Alternatively, in the transmitting device according to claim 5, the correction data generating means generates a value larger than the maximum value of the transmission data as the first correction data. Further, the invention according to claim 8 is connected to the transmitting device according to claim 7 via a signal line to receive a pulse signal, and the transmitting device according to claim 3, claim 4, or claim 6. In the receiving device, the pulse signal determination means, when the restored data restored by the decoding means is larger than a preset maximum value of the transmission data,
The pulse signal receiving means has first pulse determining means for determining that the pulse signal received is the first correction pulse signal, and the pulse signal receiving means receives the pulse signal immediately after the first pulse determining means determines the first correction pulse signal. It is characterized in that the generated pulse signal is determined as a second correction pulse signal, and the pulse signals received after the second correction pulse signal are transmission pulse signals.

【0020】[0020]

【作用及び発明の効果】本発明の請求項1に記載のデー
タ通信方法においては、送信側は、送信データの送信に
先駈けて、予め設定された互いに異なる値である第1の
補正データ,第2の補正データを夫々各値に対応した幅
を持つ第1の補正パルス信号及び第2の補正パルス信号
に変換したのち、これらを第1の補正パルス信号,第2
の補正パルス信号の順序にて送信する。
In the data communication method according to the first aspect of the present invention, the transmitting side precedes the transmission of the transmission data by the first correction data having different preset values, After converting the second correction data into a first correction pulse signal and a second correction pulse signal each having a width corresponding to each value, these are converted into a first correction pulse signal and a second correction pulse signal.
The correction pulse signals are transmitted in the order.

【0021】受信側では、受信したパルス信号が第1の
補正パルス信号,第2の補正パルス信号,及び送信パル
ス信号の内のいずれであるかを判別する。そして第1の
補正パルス信号であった場合は、そのパルス幅を測定す
ることにより第1の補正データを生成し、第2の補正パ
ルス信号であった場合は、そのパルス幅を測定すること
により第2の補正データを生成すると共に、その生成し
た第2の補正データと、第1の補正パルス信号判定時に
生成した第1の補正データと、これら各補正データの基
準値とに基づいて、送信クロックと受信クロックとの不
一致度を表すクロック誤差を求め、更にそのクロック誤
差と、受信したパルス信号から生成した第1又は第2の
補正データと、その補正データの基準値とに基づいて、
データ伝送系の遅れを表すディレイ誤差を求め、受信し
たパルス信号が制御パルス信号であった場合には、その
送信パルス信号のパルス幅を測定して、このパルス幅と
クロック誤差とディレイ誤差とに基づいて送信データを
復元する。
On the receiving side, it is discriminated whether the received pulse signal is the first correction pulse signal, the second correction pulse signal or the transmission pulse signal. If it is the first correction pulse signal, the first correction data is generated by measuring the pulse width, and if it is the second correction pulse signal, the pulse width is measured. The second correction data is generated and transmitted based on the generated second correction data, the first correction data generated at the time of determining the first correction pulse signal, and the reference value of each of these correction data. Based on the clock error, the clock error, the first or second correction data generated from the received pulse signal, and the reference value of the correction data,
Obtain the delay error that represents the delay of the data transmission system, and if the received pulse signal is the control pulse signal, measure the pulse width of the transmission pulse signal and calculate the pulse width, clock error, and delay error. Restore the transmitted data based on.

【0022】これは、送信側からの送信データをtR 、
受信側にて受信され、復元されたデータをtinとした場
合、これら各値の関係は、クロック誤差Eclkとディレ
イ誤差Edlyとを用いて次式(1)のように表せること
に基づくものである。 tin =tR ・Eclk + Edly …(1) つまり、クロック誤差Eclkやディレイ誤差Edlyは、通
信システム毎に異なり、一義的に特定することはできな
いものの、送信側からデータ値が既知の2つの送信デー
タtR1,tR2を送信し、 これを受信側で受信して復元
すれば、その復元データTin1,Tin2と、送信データt
R1,tR2とから、次式(2),(3)の如く、クロック
誤差Eclk及びディレイ誤差Edlyを求めることができ
る。
This is because the transmission data from the transmission side is tR,
When the data received and restored on the receiving side is tin, the relationship between these values is based on the following equation (1) using the clock error Eclk and the delay error Edly. . tin = tR.Eclk + Edly (1) That is, the clock error Eclk and the delay error Edly are different for each communication system and cannot be uniquely specified, but two transmission data whose data values are known from the transmission side are known. If tR1 and tR2 are transmitted and the receiving side receives and restores them, the restored data Tin1 and Tin2 and the transmission data t
From R1 and tR2, the clock error Eclk and the delay error Edly can be calculated by the following equations (2) and (3).

【0023】 Eclk =(Tin1−Tin2)/(tR1−tR2) …(2) Edly =Tin1−tR1・Eclk=Tin2−tR2・Eclk …(3) そこで、本発明では、送信側から予め設定された第1及
び第2の補正データtR1,tR2に対応したパルス幅のパ
ルス信号を順次送信し、受信側で、これら各パルス信号
から第1及び第2の補正データtin1,tin2を夫々復元
することにより、クロック誤差Eclk及びディレイ誤差
Edlyを求めるためのパラメータを得、これら各パラメ
ータを用いてクロック誤差Eclk及びディレイ誤差Edly
を特定するのである。そして、その後送信側から伝送さ
れてくる送信データを復元した値tinを、これら各値E
clk,Edlyを用いて次式(4)の如く補正することによ
り、受信側で、送信側からの送信データtR に対応した
正確なデータTinが得られるようにしているのである。
Eclk = (Tin1−Tin2) / (tR1−tR2) (2) Edly = Tin1−tR1 · Eclk = Tin2−tR2 · Eclk (3) Therefore, in the present invention, it is preset from the transmission side. By sequentially transmitting pulse signals having pulse widths corresponding to the first and second correction data tR1 and tR2 and restoring the first and second correction data tin1 and tin2 from these pulse signals on the receiving side, respectively. , The parameters for obtaining the clock error Eclk and the delay error Edly are obtained, and the clock error Eclk and the delay error Edly are used by using these parameters.
To identify. Then, the value tin obtained by restoring the transmission data transmitted from the transmission side thereafter is set to each of these values E
By using clk and Edly for correction as in the following equation (4), the receiving side can obtain accurate data Tin corresponding to the transmission data tR from the transmitting side.

【0024】 Tin=tR =(tin−Edly)/Eclk …(4) 従って、本発明によれば、受信側にて、送信クロックと
受信クロックとのずれ及びデータ伝送系の遅れによって
生じる誤差成分(クロック誤差,ディレイ誤差)を除去
した正確な送信データを復元できる。このため、送信側
及び受信側にて、送信クロック及び受信クロックを夫々
発生させる機器は、精度の低い安価なものを使用でき
る。また、ディレイ誤差による誤差成分を除去できるた
め、データ伝送系を構成する信号線の浮遊容量に対する
配慮が不要となり、自由度の高い配線が可能となる。ま
たこのようにディレイ誤差が補償されることにより、ノ
イズフィルタの時定数も自由に選択でき、ノイズに強い
通信装置を実現できる。
Tin = tR = (tin−Edly) / Eclk (4) Therefore, according to the present invention, the error component (due to the deviation between the transmission clock and the reception clock and the delay of the data transmission system on the receiving side ( Accurate transmission data can be restored by removing the clock error and delay error. Therefore, it is possible to use inexpensive and low-precision devices for generating the transmission clock and the reception clock on the transmitting side and the receiving side, respectively. Further, since the error component due to the delay error can be removed, it is not necessary to consider the stray capacitance of the signal line forming the data transmission system, and the wiring having a high degree of freedom can be realized. Further, by compensating for the delay error in this way, the time constant of the noise filter can be freely selected, and a communication device resistant to noise can be realized.

【0025】請求項2に記載の送信装置は、送信クロッ
ク発生手段が発生した送信クロックを用いて、符号化手
段が、送信データを、その値に対応する幅を有するパル
ス信号に変換し、パルス信号送信手段がパルス信号を信
号線に送出する。また、補正データ発生手段は、パルス
信号送信手段からの送信パルス信号の送信に先駆けて、
符号化手段に、送信データと判別可能な第1及び第2の
補正データを順次出力する。この結果、符号化手段で
は、第1及び第2の補正データが、第1及び第2の補正
パルス信号に順次変換され、パルス信号送信手段から、
この第1及び第2の補正パルス信号が順次送信されるこ
とになる。
In the transmitting device according to the second aspect, the encoding means converts the transmission data into a pulse signal having a width corresponding to the value by using the transmission clock generated by the transmission clock generating means, and the pulse signal is generated. The signal transmitting means sends the pulse signal to the signal line. Further, the correction data generation means, prior to the transmission of the transmission pulse signal from the pulse signal transmission means,
The first and second correction data that can be distinguished from the transmission data are sequentially output to the encoding means. As a result, the encoding means sequentially converts the first and second correction data into the first and second correction pulse signals, and the pulse signal transmitting means
The first and second correction pulse signals are sequentially transmitted.

【0026】つまり、請求項2に記載の送信装置におい
ては、送信データをその値に対応する幅のパルス信号に
変換して信号線に送出する他、その送信データの送信に
先駆けて、送信データと判別可能な第1の補正データ及
び第2の補正データを、夫々第1の補正パルス信号及び
第2の補正パルス信号として送出する。
That is, in the transmitting device according to the second aspect, the transmission data is converted into a pulse signal having a width corresponding to the value and transmitted to the signal line, and the transmission data is transmitted prior to the transmission of the transmission data. The first correction data and the second correction data which can be discriminated from are sent as the first correction pulse signal and the second correction pulse signal, respectively.

【0027】一方、請求項3に記載の受信装置は、請求
項2に記載の送信装置に接続される。そして、パルス信
号受信手段が、この送信装置から送信されてくるパルス
信号を受信し、符号化手段が、受信クロック発生手段が
発生した受信クロックを用いて、このパルス信号のパル
ス幅を測定することにより、パルス幅に対応したデータ
を復元する。
On the other hand, the receiving device described in claim 3 is connected to the transmitting device described in claim 2. The pulse signal receiving means receives the pulse signal transmitted from this transmitting device, and the encoding means measures the pulse width of this pulse signal using the reception clock generated by the reception clock generating means. Thus, the data corresponding to the pulse width is restored.

【0028】また上記のように、送信装置からは、パル
ス信号として、まず、第1及び第2の補正データに対応
した第1及び第2の補正パルス信号が順次送信され、そ
の後、送信データに対応したパルス信号が送信されてく
るが、当該受信装置では、パルス信号判定手段が、復号
化手段にて得られたデータに基づき、受信したパルス信
号が第1の補正パルス信号,第2の補正パルス信号,送
信パルス信号のいずれであるかを判定する。
Further, as described above, the transmitter first sequentially transmits the first and second correction pulse signals corresponding to the first and second correction data as the pulse signal, and then the transmission data is converted into the transmission data. Corresponding pulse signals are transmitted, but in the receiving apparatus, the pulse signal determination means uses the received pulse signal as the first correction pulse signal and the second correction pulse based on the data obtained by the decoding means. It is determined whether it is a pulse signal or a transmission pulse signal.

【0029】そして、パルス信号判定手段にて、受信し
たパルス信号が第2の補正パルス信号であると判定され
ると、クロック誤差算出手段が、復号化手段において第
1及び第2の補正パルス信号から復元された第1及び第
2の補正データと、予め設定された第1及び第2の補正
データの基準値とに基づき、上記クロック誤差を算出
し、更に、ディレイ誤差算出手段が、その算出されたク
ロック誤差と、復号化手段にて復元された第1又は第2
の補正データと、この補正データの基準値とに基づき、
上記ディレイ誤差を算出する。
When the pulse signal determining means determines that the received pulse signal is the second correction pulse signal, the clock error calculating means causes the decoding means to determine the first and second correction pulse signals. The clock error is calculated based on the first and second correction data restored from the above and the preset reference values of the first and second correction data, and the delay error calculating means further calculates the clock error. The recovered clock error and the first or second restored by the decoding means.
Based on the correction data of and the reference value of this correction data,
The delay error is calculated.

【0030】また、パルス信号判定手段にて、受信した
パルス信号が送信データを符号化した送信パルス信号で
あると判定されると、送信データ補正手段が、復号化手
段においてこの送信パルス信号から復元された送信デー
タを、クロック誤差算出手段及びディレイ誤差算出手段
において先に算出されたクロック誤差及びディレイ誤差
に基づいて補正する。
Further, when the pulse signal determination means determines that the received pulse signal is the transmission pulse signal obtained by encoding the transmission data, the transmission data correction means restores the decoding means from the transmission pulse signal. The generated transmission data is corrected based on the clock error and the delay error previously calculated by the clock error calculating means and the delay error calculating means.

【0031】つまり、請求項2に記載の送信装置と請求
項3に記載の受信装置とを組み合わせることにより、請
求項1に記載のデータ通信方法を実現でき、受信装置側
で復元された送信データから、クロック誤差及びディレ
イ誤差を確実に除去することができる。従って、送信装
置側の送信クロック発生手段と受信装置側の受信クロッ
ク発生手段との間にクロックの発生誤差があっても、デ
ータ通信を良好に行なうことができ、また、これら各ク
ロック発生手段に高精度の発振装置を使用する必要はな
く、安価に実現することができる。また、ディレイ誤差
による誤差成分も除去されるため、送信装置と受信装置
とを接続する信号線に存在する浮遊容量に対する配慮が
不要となり、自由度の高い配線が可能となる。
That is, the data communication method according to claim 1 can be realized by combining the transmitting device according to claim 2 and the receiving device according to claim 3, and the transmission data restored on the receiving device side. Therefore, the clock error and the delay error can be reliably removed. Therefore, even if there is a clock generation error between the transmission clock generation means on the transmission device side and the reception clock generation means on the reception device side, data communication can be satisfactorily performed, and each of these clock generation means can operate. It is not necessary to use a high-precision oscillator and can be realized at low cost. Further, since the error component due to the delay error is also removed, it is not necessary to consider the stray capacitance existing in the signal line connecting the transmission device and the reception device, and the wiring with a high degree of freedom becomes possible.

【0032】次に請求項4に記載の受信装置において
は、クロック誤差算出手段が、復号化手段において復元
された第1の補正データと第2の補正データとの偏差
を、第1の補正データの基準値と第2の補正データの基
準値との偏差にて除算することにより、クロック誤差を
算出し、ディレイ誤差算出手段は、復号化手段において
復元された第1又は第2の補正データから、この補正デ
ータの基準値とクロック誤差との積を減じることによ
り、ディレイ誤差を算出する。つまり、本発明の受信装
置は、上記(2),(3)式をそのまま用いて、クロッ
ク誤差及びディレイ誤差を算出する。
Next, in the receiving apparatus according to the fourth aspect, the clock error calculating means calculates the deviation between the first correction data and the second correction data restored by the decoding means as the first correction data. Of the second correction data and the reference value of the second correction data, the clock error is calculated, and the delay error calculating means calculates the clock error from the first or second correction data restored by the decoding means. The delay error is calculated by subtracting the product of the reference value of this correction data and the clock error. That is, the receiving apparatus of the present invention calculates the clock error and the delay error by directly using the equations (2) and (3).

【0033】このため、クロック誤差及びディレイ誤差
を正確に算出することができる。また、接続される送信
装置の仕様変更等によって、第1及び第2の補正データ
(補正パルス)が変更されても、上記演算式中の基準値
の値を変更するだけで簡単に対応できるため、例えば、
上記各式(2),(3)に対応した誤差算出用のマップ
を用いて、クロック誤差及びディレイ誤差を求めるよう
にした場合に比べて、演算用データを格納しておく記憶
素子の容量を低減できるだけでなく、受信装置の汎用性
を向上できる。
Therefore, the clock error and the delay error can be accurately calculated. Further, even if the first and second correction data (correction pulse) is changed due to a change in the specifications of the connected transmission device, it can be easily dealt with by simply changing the value of the reference value in the above equation. , For example,
Compared with the case where the clock error and the delay error are obtained by using the error calculation maps corresponding to the above equations (2) and (3), the capacity of the storage element for storing the calculation data is Not only can it be reduced, but the versatility of the receiving device can be improved.

【0034】一方、請求項5に記載の送信装置において
は、補正データ発生手段が、第1及び第2の補正データ
として、上記符号化手段に2n ,2n-1 に対応した値を
出力する。この結果、符号化手段では、第1及び第2の
補正パルス信号として、2n,2n-1 に夫々対応したパ
ルス幅を有するパルス信号が生成され、このパルス信号
が補正データ発生手段から順次出力されることになる。
On the other hand, in the transmitting apparatus according to the fifth aspect, the correction data generating means outputs the values corresponding to 2 n and 2 n-1 to the encoding means as the first and second correction data. To do. As a result, in the encoding means, pulse signals having pulse widths corresponding to 2 n and 2 n-1 are generated as the first and second correction pulse signals, and the pulse signals are sequentially output from the correction data generating means. Will be output.

【0035】また、この請求項5の送信装置からのパル
ス信号を受信する請求項6に記載の受信装置において
は、クロック誤差算出手段が、復号化手段において復元
された第1の補正データと第2の補正データとの偏差
を、n−1ビット分だけ下位ビット方向にシフトするこ
とにより、クロック誤差を算出し、ディレイ誤差算出手
段が、復号化手段において復元された第1の補正データ
から、算出したクロック誤差をnビット分だけ上位ビッ
ト方向にシフトしたデータを減じることにより、ディレ
イ誤差を算出する。
Further, in the receiving device according to claim 6 which receives the pulse signal from the transmitting device according to claim 5, the clock error calculating means includes the first correction data and the first correction data restored by the decoding means. The deviation from the second correction data is shifted by n−1 bits in the lower bit direction to calculate the clock error, and the delay error calculation means uses the first correction data restored by the decoding means to obtain: The delay error is calculated by subtracting the data obtained by shifting the calculated clock error by n bits in the upper bit direction.

【0036】つまり、送信装置から第1及び第2の補正
パルス信号として、2n ,2n-1 に対応したパルス幅を
有するパルス信号を送信させた場合、第1及び第2の補
正データの基準値の偏差は、2n-1 (=2n −2n-1
となる。そして、この2n-1による除算は、除算すべき
値(データ)をn−1ビット分だけ下位ビット方向にシ
フトするだけでよい。このため、クロック誤差算出手段
では、上記(2)式を用いてクロック誤差を算出するに
当たって、第1及び第2の補正データの偏差を、n−1
ビット分だけ下位ビット方向にシフトするのである。
That is, when a pulse signal having a pulse width corresponding to 2 n , 2 n-1 is transmitted from the transmitting device as the first and second correction pulse signals, the first and second correction data of The deviation of the standard value is 2 n-1 (= 2 n -2 n-1 )
Becomes Then, the division by 2 n-1 is only required to shift the value (data) to be divided by n−1 bits in the lower bit direction. Therefore, in calculating the clock error using the above equation (2), the clock error calculating means calculates the deviation between the first and second correction data by n-1.
It shifts by the amount of bits toward the lower bits.

【0037】また、クロック誤差と第1の補正データと
その基準値とから、上記(3)式を用いてディレイ誤差
を算出する際には、クロック誤差と基準値との乗算を行
なう必要があるが、第1の補正データの基準値は2n
あり、2n の乗算は、乗算すべき値(データ)をnビッ
ト分だけ上位ビット方向にシフトするだけでよいため、
ディレイ誤差算出手段では、上記(3)式を用いてディ
レイ誤差を算出するに当たって、クロック誤差をnビッ
ト分だけ上位ビット方向にシフトすることによりクロッ
ク誤差と第1の補正データの基準値との積を求め、この
値を、復号化手段において復元された第1の補正データ
から減じるようにしているのである。
Further, when the delay error is calculated from the clock error, the first correction data and the reference value thereof using the equation (3), it is necessary to multiply the clock error and the reference value. but the reference value of the first correction data is 2 n, the multiplication of 2 n, since to be multiplied value (data) need only be shifted to the upper bit direction n bits,
The delay error calculating means shifts the clock error by n bits in the upper bit direction in calculating the delay error using the above equation (3), thereby multiplying the clock error by the reference value of the first correction data. Is obtained, and this value is subtracted from the first correction data restored by the decoding means.

【0038】従って、請求項5に記載の送信装置と請求
項6に記載の受信装置とを組み合わせることにより、ク
ロック誤差及びディレイ誤差を、シフト演算を使って簡
単に算出することができるようになり、その演算を高速
に行なうことが可能になる。また、この演算に使用する
CPU等の演算回路の負担を軽減できる。
Therefore, by combining the transmitting device described in claim 5 and the receiving device described in claim 6, it becomes possible to easily calculate the clock error and the delay error by using the shift operation. , The calculation can be performed at high speed. Further, the load on the arithmetic circuit such as the CPU used for this arithmetic can be reduced.

【0039】次に、請求項7に記載の送信装置において
は、補正データ発生手段が、第1の補正データとして、
上記送信データの最大値よりも更に大きな値を発生す
る。すなわち、この送信装置から発生されたパルス信号
は、そのパルス幅を測定して復元されたデータが、送信
データの最大値よりも大きいか否かを判定することによ
り第1の補正データを判別できる。第2の補正データ
は、第1の補正データに続いて送信されるため判別で
き、送信データは更にその後に受信されるので判別でき
る。
Next, in the transmitting device according to the seventh aspect, the correction data generating means sets the first correction data as
A value larger than the maximum value of the transmission data is generated. That is, the pulse signal generated from this transmitting device can determine the first correction data by measuring the pulse width and determining whether the restored data is larger than the maximum value of the transmission data. . The second correction data can be determined because it is transmitted after the first correction data, and the transmission data can be determined because it is further received after that.

【0040】一方、請求項8に記載の受信装置において
は、請求項7に記載の送信装置に接続され、パルス信号
判定手段に備えられた第1パルス判定手段が、復号化手
段にて復元された復元データが送信データの最大値より
も大きい場合に、受信したパルス信号が第1の補正パル
ス信号であると判定し、パルス信号判定手段は、この第
1パルス判定手段にて第1の補正パルス信号を判定した
直後に受信されたパルス信号を第2の補正パルス信号、
第2の補正パルス信号以降に受信されたパルス信号を送
信パルス信号と判定する。
On the other hand, in the receiving device described in claim 8, the first pulse judging means connected to the transmitting device described in claim 7 and provided in the pulse signal judging means is restored by the decoding means. When the restored data is larger than the maximum value of the transmission data, it is determined that the received pulse signal is the first correction pulse signal, and the pulse signal determination means makes the first correction by the first pulse determination means. The pulse signal received immediately after determining the pulse signal is the second correction pulse signal,
The pulse signal received after the second correction pulse signal is determined as the transmission pulse signal.

【0041】従って、請求項7に記載の通信装置と請求
項8に記載の受信装置とを組み合わせれば、受信装置側
にて、復元手段にて復元された復元データと送信データ
の最大値との比較及び受信の順序を調べるだけで、きわ
めて簡単に、第1の補正パルス信号,第2の補正パルス
信号,送信パルス信号を判定できる。
Therefore, if the communication device according to claim 7 and the receiving device according to claim 8 are combined, the receiving device restores the restored data restored by the restoring means and the maximum value of the transmitted data. It is possible to determine the first correction pulse signal, the second correction pulse signal, and the transmission pulse signal very simply by only comparing the order of reception and the order of reception.

【0042】[0042]

【実施例】以下に、本発明の実施例を図面と共に説明す
る。図2は、本発明の通信方法にてエンジン制御装置1
(以下、エンジンECU1という)と、トランスミッシ
ョン制御装置3(以下、トランスミッションECU3と
いう)との間のデータ通信を行なう装置の全体の構成を
示す概略構成図である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 2 shows an engine control device 1 according to the communication method of the present invention.
It is a schematic block diagram which shows the whole structure of the apparatus which performs data communication between (hereinafter, engine ECU1) and transmission control apparatus 3 (henceforth transmission ECU3).

【0043】エンジンECU1は、周知のCPU,RA
M,ROMを中心に構成され、算術論理演算処理を行な
うマイコン11と、アナログ信号をデジタルのパルス信
号列に変換するためのAD変換器13と、外部信号をマ
イコン11の許容電圧範囲の矩形波に変換するための入
力回路14と、マイコン11の出力を増幅するための出
力回路15と、マイコン11の動作タイミングを規定す
る基準クロックを発生するための水晶発振子16と、通
信回路17と、これら各部に電源電圧VDDを供給すると
共に、電源投入時にマイコン11のリセット信号を発生
する電源回路18とを備えている。
The engine ECU 1 is a well-known CPU, RA
A microcomputer 11 mainly composed of M and ROM for performing arithmetic logic operation processing, an AD converter 13 for converting an analog signal into a digital pulse signal sequence, and a rectangular wave for an external signal within an allowable voltage range of the microcomputer 11. An input circuit 14 for converting the output of the microcomputer 11, an output circuit 15 for amplifying the output of the microcomputer 11, a crystal oscillator 16 for generating a reference clock defining the operation timing of the microcomputer 11, a communication circuit 17, A power supply voltage VDD is supplied to each of these parts, and a power supply circuit 18 that generates a reset signal for the microcomputer 11 when the power is turned on is provided.

【0044】この内、マイコン11はその内部に、AD
変換器13に接続されて信号のやり取りを行なうシリア
ルポート21と、入力回路14、出力回路15に接続さ
れてデータのやり取りを行なう入出力ポート23と、水
晶発振子16に接続されマイコン11の動作タイミング
を規定する基準クロックを発生するクロックジェネレー
タ25と、通信回路17に接続されるタイマポート27
を備えている。
Of these, the microcomputer 11 has an AD
A serial port 21 connected to the converter 13 for exchanging signals, an input / output port 23 connected to the input circuit 14 and the output circuit 15 for exchanging data, and an operation of the microcomputer 11 connected to the crystal oscillator 16. A clock generator 25 that generates a reference clock that defines timing, and a timer port 27 that is connected to the communication circuit 17.
Is equipped with.

【0045】このような構成から成るエンジンECU1
は、吸入空気量を検出するエアフロメータ53、エンジ
ン冷却水温を検出する水温センサ57、吸入空気温度を
検出する吸気温センサ59、排ガス中の酸素濃度を検出
する酸素濃度センサ61、スロットル開度を検出するス
ロットル開度センサ63、等からの検出信号をAD変換
器13介して取り込むと共に、ディストリビュータ55
に設けられた回転数センサからの出力パルス,スロット
ル開度センサに設けられたアイドルスイッチ等からの検
出信号を入力回路14を介して取り込み、マイコン11
にて、これら検出信号を用いて、エンジンに燃料を噴射
供給するインジェクタ65からの燃料噴射量、及びエン
ジンの点火プラグに点火用高電圧を印加するためのイグ
ナイタ67の高電圧発生タイミング(点火時期)を演算
し、その演算結果に応じた制御信号を、出力回路15を
介して、インジェクタ65及びイグナイタ67に出力す
る。
Engine ECU 1 having such a configuration
Is an air flow meter 53 that detects the intake air amount, a water temperature sensor 57 that detects the engine cooling water temperature, an intake air temperature sensor 59 that detects the intake air temperature, an oxygen concentration sensor 61 that detects the oxygen concentration in the exhaust gas, and a throttle opening degree. The detection signal from the throttle opening sensor 63 or the like for detection is fetched through the AD converter 13, and the distributor 55
The output pulse from the rotation speed sensor provided in the engine, the detection signal from the idle switch provided in the throttle opening sensor, etc. are fetched through the input circuit 14, and the microcomputer 11
Then, using these detection signals, the fuel injection amount from the injector 65 for injecting fuel into the engine and the high voltage generation timing of the igniter 67 for applying the high voltage for ignition to the spark plug of the engine (ignition timing ) Is calculated, and a control signal corresponding to the calculation result is output to the injector 65 and the igniter 67 via the output circuit 15.

【0046】一方、トランスミッションECU3は、エ
ンジンECU1と略同様、CPU,RAM,ROMを中
心に構成され、算術論理演算処理を行なうマイコン31
と、外部信号をマイコン31の許容電圧範囲の矩形波に
変換するための入力回路34と、マイコン31の出力を
増幅するための出力回路35と、マイコン31の動作タ
イミングを規定する基準クロックを発生するための水晶
発振子36と、通信回路37と、これら各部に電源電圧
VDDを供給すると共に、電源投入時にマイコン11のリ
セット信号を発生する電源回路38とを備えている。
On the other hand, the transmission ECU 3 is mainly composed of a CPU, a RAM, and a ROM, similar to the engine ECU 1, and has a microcomputer 31 for performing arithmetic logic operation processing.
An input circuit 34 for converting an external signal into a rectangular wave in the allowable voltage range of the microcomputer 31, an output circuit 35 for amplifying the output of the microcomputer 31, and a reference clock for defining the operation timing of the microcomputer 31. For this purpose, a crystal oscillator 36, a communication circuit 37, and a power supply circuit 38 that supplies a power supply voltage VDD to each of these parts and that generates a reset signal for the microcomputer 11 when the power is turned on are provided.

【0047】この内、マイコン31は、その内部に、入
力回路34及び出力回路35に接続されてデータのやり
取りを行なう入出力ポート43と、水晶発振子36に接
続されマイコン31の動作タイミングを規定する基準ク
ロックを発生するクロックジェネレータ45と、通信回
路37に接続されるタイマポート47を備えている。
Among them, the microcomputer 31 is internally connected to the input circuit 34 and the output circuit 35 for exchanging data and the crystal oscillator 36, and defines the operation timing of the microcomputer 31. There is provided a clock generator 45 for generating a reference clock to be operated, and a timer port 47 connected to the communication circuit 37.

【0048】そして、トランスミッションECU3は、
変速パターン切り替え用のパターンセレクトスイッチ6
9、トランスミッションのレンジ切り替え用のレンジ切
り替えスイッチ71、車両の速度を検出する車速センサ
73等からの信号を入力回路34を介して取り込み、マ
イコン31にて、これら各信号に基づき、自動変速機の
変速位置,ロックアップの要否等を演算して、その演算
結果に応じた駆動信号を、出力回路35を介して、変速
用ソレノイドバルブ75及びロックアップ用ソレノイド
バルブ77に夫々出力する。
Then, the transmission ECU 3
Pattern select switch 6 for changing the shift pattern
9. Signals from the range changeover switch 71 for changing the range of the transmission, the vehicle speed sensor 73 for detecting the speed of the vehicle, etc. are taken in through the input circuit 34, and the microcomputer 31 uses the signals to detect the automatic transmission. The shift position, the necessity of lockup, etc. are calculated, and drive signals corresponding to the calculation results are output to the shift solenoid valve 75 and the lockup solenoid valve 77 via the output circuit 35, respectively.

【0049】エンジンECU1は、燃料噴射量、点火時
期を算出する際に、上記のような各種検出信号を用いる
他、トランスミッションECU3が演算した自動変速機
の変速位置等に基づき、燃料噴射量や点火時期を補正す
る場合がある。一方、トランスミッションECU3は、
変速位置,ロックアップの要否の決定のために、上記入
力信号以外に、エンジンECU1に入力されているスロ
ットル開度、冷却水温の値を使用する。そのため、エン
ジンECU1とトランスミッションECU3とは、変速
位置、スロットル開度、冷却水温等の情報を、互いにや
り取りするための信号線5にて接続されている。なお、
この信号線5は、各ECU1,3内の通信回路17,3
7に接続されるが、通信回路17,37の構成は、図5
に示した送信側及び受信側の回路を両方備えた双方向通
信回路として構成されているものの、送信用及び受信用
の各回路は、図5と同じであるため、説明は省略する。
ところで、このようなシステムにおいて、例えばエンジ
ンECU1からトランスミッションECU3へ、スロッ
トル開度の送信を試みると、エンジンECU1にてパル
ス信号に符号化されたスロットル開度と、信号線5を介
してトランスミッションECU3が受信して復号化した
スロットル開度とは、通常一致しない。これは、トラン
スミッションECU3側で復号化されたスロットル開度
が、各ECU1,3内での基準クロックの周波数の誤差
(クロック誤差)、及び、信号線5の浮遊容量や通信回
路内のノイズフィルタ等によって生じるデータの伝送遅
れ(ディレイ誤差)の影響を受けているためである。
The engine ECU 1 uses the various detection signals as described above when calculating the fuel injection amount and the ignition timing, and also based on the shift position of the automatic transmission calculated by the transmission ECU 3 and the like. The timing may be corrected. On the other hand, the transmission ECU 3
In addition to the above input signals, the throttle opening and cooling water temperature values input to the engine ECU 1 are used to determine the shift position and the necessity of lockup. Therefore, the engine ECU 1 and the transmission ECU 3 are connected by a signal line 5 for exchanging information such as gear shift position, throttle opening, cooling water temperature and the like. In addition,
This signal line 5 is used for communication circuits 17, 3 in each ECU 1, 3.
7, the communication circuits 17 and 37 are configured as shown in FIG.
Although it is configured as a bidirectional communication circuit including both the transmitting side circuit and the receiving side circuit shown in FIG. 5, each circuit for transmitting and receiving is the same as that in FIG.
By the way, in such a system, if an attempt is made to transmit the throttle opening from the engine ECU 1 to the transmission ECU 3, for example, the throttle opening encoded in the pulse signal by the engine ECU 1 and the transmission ECU 3 via the signal line 5 It does not usually match the received and decoded throttle opening. This is because the throttle opening decoded on the transmission ECU 3 side has an error (clock error) in the frequency of the reference clock in each ECU 1, 3 and the stray capacitance of the signal line 5 and a noise filter in the communication circuit. This is because it is affected by a data transmission delay (delay error) caused by.

【0050】そこで、本実施例では、エンジンECU1
及びトランスミッションECU3において、夫々、以下
に示すような送・受信処理を行なうことにより、これら
の誤差を補償している。なお、以下の説明においては、
送信側をエンジンECU1,受信側をトランスミッショ
ンECU3として説明するが、これら各ECU1,3
は、互いに双方向通信が可能であるため、実際には、以
下の送・受信処理は、各ECU1,3において夫々実行
される。
Therefore, in this embodiment, the engine ECU 1
The transmission ECU 3 compensates for these errors by performing the following transmission / reception processing. In the following explanation,
The transmission side will be described as the engine ECU 1 and the reception side as the transmission ECU 3, but these ECUs 1, 3 will be described.
Are capable of bidirectional communication with each other, and therefore, in reality, the following transmission / reception processing is executed in each of the ECUs 1 and 3.

【0051】まず、図3のフローチャートに示す初期化
処理にて、補正パルス信号入力中を示すフラグfcor を
クリアし(ステップ100:以下ステップをSと記載す
る)、補正パルス信号出力終了を示すフラグfinit1、
第1の補正パルス信号の出力終了を示すフラグfinit2
に0をセットする(S200)。この処理は、各マイコ
ン11,31において、リセット解除後に夫々実行され
る。
First, in the initialization process shown in the flowchart of FIG. 3, the flag fcor indicating that the correction pulse signal is being input is cleared (step 100: the step is hereinafter referred to as S) and the flag indicating the end of the correction pulse signal output. finit1,
Flag finit2 indicating the end of output of the first correction pulse signal
Is set to 0 (S200). This processing is executed in each of the microcomputers 11 and 31 after reset release.

【0052】その後、エンジンECU1は、一定周期毎
に実行されるタイマ割り込み処理ルーチンにて、送信す
るデータの値に応じた幅のパルス信号を送信する。即
ち、まず、S200にて、フラグfinit1がリセット
(0)状態であるか否かを判断し、フラグfinit1がリ
セットされていれば、S210に移行して、フラグfin
it2の状態を調べる。そして、フラグfinit2がリセッ
トされていれば、S220にて、第1の補正パルス信号
を出力するために、予めマイコン11のRAM内に格納
された第1の補正データtR1をタイマポート27にセッ
トし、続くS230にて、フラグfinit2をセット
(1)する。
After that, the engine ECU 1 transmits a pulse signal having a width corresponding to the value of the data to be transmitted in the timer interrupt processing routine executed at regular intervals. That is, first, in S200, it is determined whether the flag finit1 is in the reset (0) state. If the flag finit1 is reset, the process proceeds to S210, and the flag fin
Check the state of it2. Then, if the flag finit2 is reset, in S220, the first correction data tR1 stored in advance in the RAM of the microcomputer 11 is set in the timer port 27 in order to output the first correction pulse signal. In subsequent S230, the flag finit2 is set (1).

【0053】一方、S210にて、フラグfinit2がセ
ットされていると判断されると、S240にて、第2の
補正パルス信号を出力するために、予めマイコン11の
RAM内に格納された第2の補正データtR2をタイマポ
ート27にセットし、S250にて、フラグfinit1を
セットする。
On the other hand, if it is determined in S210 that the flag finit2 is set, in S240, the second correction pulse signal stored in advance in the RAM of the microcomputer 11 is output in order to output the second correction pulse signal. The correction data tR2 is set in the timer port 27, and the flag finit1 is set in S250.

【0054】また、S200にてフラグfinit1がセッ
トされていると判断されると、S260にて、トランス
ミッションECU3に送信すべきスロットル開度等のデ
ータ(送信データ)を、タイマポート27にセットし、
当該タイマ割り込み処理ルーチンを終了する。
If it is determined in S200 that the flag finit1 is set, in S260, data (transmission data) such as the throttle opening to be transmitted to the transmission ECU 3 is set in the timer port 27,
The timer interrupt processing routine ends.

【0055】ここで、第1及び第2の補正データtR1,
tR2は、エンジンECU1からトランスミッションEC
U3に送信する第1及び第2の補正パルス信号のパルス
幅を設定するためのものであり、これら各パルス信号の
パルス幅が互いに異なる所定値となるよう、予め異なる
値に設定されている。そして、第1の補正データtR1に
は、ECU3に本来送信すべきスロットル開度等のデー
タ(送信データ)が最大のときに、ディレイ誤差及びク
ロック誤差も最大となった場合に、トランスミッション
ECU3に入力されるパルス信号のパルス幅(最大パル
ス幅)tmax よりも、第1の補正パルス信号のパルス幅
の方が長くなるように設定されている。
Here, the first and second correction data tR1,
tR2 is the transmission EC from the engine ECU1
This is for setting the pulse widths of the first and second correction pulse signals transmitted to U3, and is set to different values in advance so that the pulse widths of these pulse signals have different predetermined values. The first correction data tR1 is input to the transmission ECU 3 when the delay error and the clock error also become maximum when the data (transmission data) such as the throttle opening that should be originally transmitted to the ECU 3 is maximum. The pulse width of the first correction pulse signal is set to be longer than the pulse width (maximum pulse width) tmax of the pulse signal to be generated.

【0056】また、これら各補正データtR1,tR2の値
は、トランスミッションECU3側でも、夫々、第1の
補正パルス信号及び第2の補正パルス信号を復元して得
られる補正データの基準値として、マイコン31のRA
Mに記憶されている。そして、上記のようにS220,
S240,又はS260にて、これら第1の補正データ
tR1,第2の補正データtR2,或はスロットル開度を表
す送信データがタイマポート47にセットされると、タ
イマポート27の出力信号が、そのセットされたデータ
値と、クロックジェネレータ25からの基準クロックの
出力周期と、を乗算した所定時間だけハイレベルに保持
され、通信回路17からは、そのセットされたデータ値
に対応したパルス幅のパルス信号が信号線5に送出され
る。
Further, the values of these correction data tR1 and tR2 are used as the reference values of the correction data obtained by restoring the first correction pulse signal and the second correction pulse signal on the transmission ECU 3 side, respectively. 31 RA
It is stored in M. Then, as described above, S220,
When the first correction data tR1, the second correction data tR2, or the transmission data indicating the throttle opening is set in the timer port 47 in S240 or S260, the output signal of the timer port 27 changes to that The set data value and the output cycle of the reference clock from the clock generator 25 are held at a high level for a predetermined time, and the communication circuit 17 outputs a pulse having a pulse width corresponding to the set data value. The signal is sent to the signal line 5.

【0057】つまり、この送信側でのタイマ割り込み処
理ルーチンによれば、一定時間毎に、まず第1の補正デ
ータtR1に対応した第1の補正パルス信号が出力され、
続いて第2の補正データtR2に対応した第2の補正パル
ス信号が出力され、以降、スロットル開度等の送信デー
タに対応した送信パルス信号が出力されることになる。
That is, according to the timer interrupt processing routine on the transmitting side, first, the first correction pulse signal corresponding to the first correction data tR1 is output at regular intervals.
Then, the second correction pulse signal corresponding to the second correction data tR2 is output, and thereafter, the transmission pulse signal corresponding to the transmission data such as the throttle opening is output.

【0058】なお、本実施例において、上記のようにエ
ンジンECU1が送信装置として動作する際には、水晶
発振子16及びクロックジェネレータ25が送信クロッ
ク発生手段、タイマポート27が符号化手段、通信回路
17がパルス信号送信手段、として夫々働き、ステップ
200〜ステップ250の補正パルス送信のための一連
の処理が、補正データ発生手段に相当する。
In this embodiment, when the engine ECU 1 operates as a transmitter as described above, the crystal oscillator 16 and the clock generator 25 are transmission clock generating means, the timer port 27 is an encoding means, and a communication circuit. Reference numeral 17 serves as a pulse signal transmitting means, and the series of processes for transmitting the correction pulse in steps 200 to 250 corresponds to the correction data generating means.

【0059】一方、エンジンECU1からの送信データ
を受信するトランスミッションECU3側では、図4の
フローチャートに示す処理にて、受信したパルス信号の
復号化を行なう。なお、この処理は、タイマポート47
に設けられたエッジ検出回路が、パルス信号受信手段と
しての通信回路37にて受信されたパルス信号のエッジ
を検出する度に起動される、エッジ入力割込処理であ
る。また、タイマポート47は、エッジ検出回路にて受
信信号のエッジを検出すると、マイコン31に内蔵され
たタイマが受信クロック発生手段としてのクロックジェ
ネレータ47からの基準クロックをカウントすることに
より常時計時している現在時刻を、割込発生時刻として
レジスタに格納する。
On the other hand, on the transmission ECU 3 side that receives the transmission data from the engine ECU 1, the received pulse signal is decoded by the processing shown in the flowchart of FIG. Note that this process is performed by the timer port 47.
Is an edge input interrupt process, which is activated each time the edge detection circuit provided in is detected an edge of the pulse signal received by the communication circuit 37 as the pulse signal receiving means. Further, when the edge detection circuit detects an edge of the received signal, the timer port 47 causes the timer built in the microcomputer 31 to count the reference clock from the clock generator 47 serving as the received clock generating means to keep the normal time. The present time which is present is stored in the register as the interrupt occurrence time.

【0060】図4に示す如く、この処理が起動される
と、エッジ検出回路にて検出された受信パルスのエッジ
は、立上がりエッジであるか否かを判断し、立上がりエ
ッジであれば、S310にて、レジスタに格納された割
込発生時刻を立上がり時刻ZrとしてRAMに格納す
る。
As shown in FIG. 4, when this process is activated, it is determined whether the edge of the received pulse detected by the edge detection circuit is a rising edge. If it is a rising edge, the process proceeds to S310. Then, the interrupt occurrence time stored in the register is stored in the RAM as the rising time Zr.

【0061】一方、S300にて、受信パルスのエッジ
が立上がりエッジでないと判断されると(つまり立下が
りエッジであれば)、S320にて、レジスタからこの
立下がりエッジに対応した割込発生時刻を読出し、この
割込発生時刻から、前回RAMに格納した立上がり時刻
Zrを減じることにより、受信したパルス信号のパルス
幅tinを求め、RAMに格納する。なお、これらステッ
プ300〜ステップ320の処理は、受信装置側の復号
化手段に相当する。
On the other hand, if it is determined in S300 that the edge of the received pulse is not the rising edge (that is, if it is the falling edge), in S320, the interrupt generation time corresponding to this falling edge is set from the register. The pulse width tin of the received pulse signal is obtained by reading and subtracting the rising time Zr previously stored in the RAM from this interrupt occurrence time, and stored in the RAM. Note that the processing of these steps 300 to 320 corresponds to the decoding means on the receiving device side.

【0062】そして、続くS330では、補正パルス信
号入力中かを判断するためフラグfcor を調べ、このフ
ラグfcor がリセットされていれば、現在、補正パルス
信号入力中ではないと判断して、S340に移行し、今
回入力したパルス信号が第1の補正パルス信号か否かを
判断するために、S320にてRAMに格納した受信パ
ルスのパルス幅tinが予めRAM内に格納された送信デ
ータの最大パルス幅tmax よりも大きいかを判断する、
第1パルス判定手段としての処理を実行する。
Then, in the following S330, the flag fcor is checked to determine whether the correction pulse signal is being input. If the flag fcor is reset, it is determined that the correction pulse signal is not being input, and the process proceeds to S340. In order to determine whether or not the pulse signal input this time is the first correction pulse signal, the pulse width tin of the reception pulse stored in the RAM in S320 is the maximum pulse of the transmission data stored in advance in the RAM. Determine if it is greater than the width tmax,
The processing as the first pulse determination means is executed.

【0063】S340にて、受信パルスのパルス幅tin
が最大パルス幅tmax よりも大きいと判断されると、今
回受信したパルス信号は第1の補正パルス信号であると
して、S350にて、そのパルス幅tinを第1の補正デ
ータTin1 としてRAMに格納し、S360にて、フラ
グfcor をセットした後、当該処理を一旦終了する。
At S340, the pulse width tin of the received pulse
Is determined to be larger than the maximum pulse width tmax, it is determined that the pulse signal received this time is the first correction pulse signal, and the pulse width tin is stored in the RAM as the first correction data Tin1 in S350. , S360, after setting the flag fcor, the process is once ended.

【0064】一方、S330にて、フラグfcor がセッ
トされていると判断された場合には、S370にて、今
回受信したパルス信号は第2の補正パルス信号であると
判断して、S320で求めたパルス幅tinを第2の補正
データTin2 としてRAM内に格納する。
On the other hand, if it is determined in S330 that the flag fcor is set, it is determined in S370 that the pulse signal received this time is the second correction pulse signal, and obtained in S320. The pulse width tin is stored in the RAM as the second correction data Tin2.

【0065】そして、続くS380では、この第2の補
正データTin2 と、既にRAMに格納されている第1の
補正データTin1 と、予め設定されたこれら各補正デー
タの基準値tR1,tR2とに基づき、前述の(2)式を用
いてクロック誤差Eclk を算出する、クロック誤差算出
手段としての処理を実行すると共に、更に、この算出し
たクロック誤差Eclk と、RAM内の第1の補正データ
Tin1及びその基準値tR1とに基づき、前述の(3)式
を用いてディレイ誤差Edly を算出する、ディレイ誤差
算出手段としての処理を実行する。そして、続くS39
0にて、フラグfcor をリセットし、当該処理を一旦終
了する。
Then, in S380, based on the second correction data Tin2, the first correction data Tin1 already stored in the RAM, and the preset reference values tR1 and tR2 of these correction data. The clock error Eclk is calculated by using the above equation (2), and the clock error Eclk is calculated, and the calculated clock error Eclk and the first correction data Tin1 in the RAM and its Based on the reference value tR1, the processing as the delay error calculating means for calculating the delay error Edly using the above-mentioned formula (3) is executed. And then S39
At 0, the flag fcor is reset, and the processing is once ended.

【0066】一方、S340にて、受信したパルス信号
のパルス幅tinが送信データの最大パルス幅tmax 以下
であると判断されると、S400に移行する。そして、
S400では、今回受信したパルス信号はスロットル開
度等を表す送信データであると判断して、このパルス信
号のパルス幅tinと、S380で求めたクロック誤差E
clk及びディレイ誤差Edlyとに基づき、前述の(4)式
を用いてパルス幅tinを補正し、送信データを復元す
る、送信データ補正手段としての処理を実行し、当該処
理を一旦終了する。
On the other hand, if it is determined in S340 that the pulse width tin of the received pulse signal is less than or equal to the maximum pulse width tmax of the transmission data, the process proceeds to S400. And
In S400, it is determined that the pulse signal received this time is transmission data representing the throttle opening degree, and the pulse width tin of this pulse signal and the clock error E obtained in S380.
Based on the clk and the delay error Edly, the pulse width tin is corrected by using the above-mentioned equation (4), and the processing as the transmission data correcting means for restoring the transmission data is executed, and the processing is once ended.

【0067】このように、エンジンECU1からの送信
パルスを受信するトランスミッションECU3において
は、当該システムの起動後、エンジンECU1側から、
まず、通常の送信パルス信号よりもパルス幅が大きい第
1の補正パルス信号が送信され、続いて第2の補正パル
ス信号が送信され、その後、スロットル開度等の送信デ
ータに対応した送信パルス信号が送信されてくるため、
受信パルスのパルス幅tinが最大パルス幅tmax 以上か
否かを判定することにより、第1の補正パルス信号を判
定し(S340)、その次に受信したパルス信号を第2
の補正パルス信号として、これら各補正パルス信号のパ
ルス幅を第1の補正データTin1 ,第2の補正データT
in2 として一旦RAMに格納し(S350,S37
0)、これら各補正データTin1,Tin2と、予め設定さ
れている基準値tR1,tR2とに基づき、クロック誤差E
clk ,ディレイ誤差Edly を求め(S380)、その後
受信されるパルス信号のパルス幅tinを、これら各誤差
成分Eclk,Edlyにて補正する(S400)ことによ
り、送信データtRを復元する。
As described above, in the transmission ECU 3 which receives the transmission pulse from the engine ECU 1, after the system is started, the engine ECU 1 side
First, a first correction pulse signal having a pulse width larger than that of a normal transmission pulse signal is transmitted, then a second correction pulse signal is transmitted, and then a transmission pulse signal corresponding to transmission data such as throttle opening. Will be sent,
The first correction pulse signal is determined by determining whether the pulse width tin of the received pulse is greater than or equal to the maximum pulse width tmax (S340), and the pulse signal received next is determined as the second pulse signal.
Of the correction pulse signals, the pulse widths of these correction pulse signals are the first correction data Tin1 and the second correction data T
Once stored in RAM as in2 (S350, S37
0), based on these correction data Tin1 and Tin2 and the preset reference values tR1 and tR2, the clock error E
clk and delay error Edly are obtained (S380), and the pulse width tin of the pulse signal received thereafter is corrected by these error components Eclk and Edly (S400) to restore the transmission data tR.

【0068】このため、本実施例によれば、トランスミ
ッションECU3側で、エンジンECU1から送信され
てきたスロットル開度等を表す送信データを、クロック
誤差及びディレイ誤差の影響を受けることなく正確に復
元することができる。従って、本実施例によれば、各E
CU1,3において基準クロックを生成するのに使用さ
れる水晶発振子16,36の発振周期や、クロックジェ
ネレータ25,45の特性にばらつきがあり、基準クロ
ックを一致させることができなくても、データ通信を常
に正確に行なうことができ、これら各部に精度が低い安
価なものを使用することができる。
Therefore, according to this embodiment, on the transmission ECU 3 side, the transmission data representing the throttle opening etc. transmitted from the engine ECU 1 is accurately restored without being affected by the clock error and the delay error. be able to. Therefore, according to this embodiment, each E
Even if the reference clocks cannot be matched due to variations in the oscillation periods of the crystal oscillators 16 and 36 used to generate the reference clocks in the CUs 1 and 3 and the characteristics of the clock generators 25 and 45, Communication can always be performed accurately, and inexpensive, low-precision parts can be used for these parts.

【0069】また、本実施例によれば、信号線5や通信
回路17,37等のデータ伝送系の特性の影響を受ける
ディレイ誤差についても、これを算出して、受信側のデ
ータを補正するため、ディレイ誤差に対しても通信精度
を補償することができ、通信線5の浮遊容量への配慮が
不要となり、車両内の配線の自由度が大きくなる。ま
た、入力回路34のフィルタの時定数も自由に選択でき
るので、通信系の耐ノイズ性を向上することもできる。
Further, according to this embodiment, the delay error influenced by the characteristics of the data transmission system such as the signal line 5 and the communication circuits 17 and 37 is also calculated to correct the data on the receiving side. Therefore, the communication accuracy can be compensated even for the delay error, the consideration of the stray capacitance of the communication line 5 becomes unnecessary, and the degree of freedom of wiring in the vehicle increases. Moreover, since the time constant of the filter of the input circuit 34 can be freely selected, the noise resistance of the communication system can be improved.

【0070】なお、上記実施例では、第1の補正パルス
信号及び第2の補正パルス信号をリセット解除後の1回
ずつ送信する場合について説明したが、通信回路のフィ
ルタの時定数の温度特性による変化量が無視できない程
大きく影響する場合には、これを補正するために補正用
パルス信号を複数回、例えばエンジンのアイドル運転時
等、一連のデータの変化量が少ない領域と判断される場
合等に送信してもよい。このようにすれば外界の変化に
拘らず、正確に通信を行なうことができる。
In the above embodiment, the case where the first correction pulse signal and the second correction pulse signal are transmitted once after reset release is explained. However, depending on the temperature characteristic of the time constant of the filter of the communication circuit. If the amount of change has a significant effect that cannot be ignored, the correction pulse signal should be corrected multiple times, for example, when the engine is in idle operation, and it is determined that the region in which the amount of change in the series of data is small is small. May be sent to. In this way, accurate communication can be performed regardless of changes in the outside world.

【0071】また、例えば、第1及び第2の補正データ
tR1,tR2として、夫々、2n ,2 n-1 に対応した値を
設定することにより、送信装置(上記説明ではエンジン
ECU1)側から、基準クロックの周期を2n 倍,2
n-1 倍したパルス信号を、第1及び第2の補正パルス信
号として夫々送信するようにすれば、受信装置(上記説
明ではトランスミッションECU3)側でクロック誤差
及びディレイ誤差を算出する際の処理動作を高速に行な
うことができる。
Further, for example, the first and second correction data
2 for tR1 and tR2, respectivelyn , 2 n-1 The value corresponding to
By setting, the transmitter (in the above description, the engine
From the ECU1) side, set the reference clock cycle to 2n Double, 2
n-1 The doubled pulse signal is used for the first and second correction pulse signals.
If each is sent as a signal, the receiving device (the above
In the case of Ming, the clock error on the transmission ECU 3) side
And high-speed processing operation when calculating the delay error.
I can.

【0072】つまり、このように構成すれば、受信装置
側にて、第1及び第2の補正パルス信号のパルス幅を測
定して、クロック誤差を上記(2)式を用いて算出する
場合、第1及び第2の補正データの基準値の偏差(tR1
−tR2)が2n-1 となるため、各補正パルスのパルス幅
の偏差(Tin1−Tin2)を、n−1ビット分だけ下位ビ
ット方向にシフトするだけでよく、クロック誤差の算出
を簡単に行なうことができる。また、このクロック誤差
と、第1の補正データTin1 及びその基準値tR1とか
ら、上記(3)式を用いてディレイ誤差を算出するに当
たって、クロック誤差と基準値tR1とを乗算する際に
は、クロック誤差をnビット分だけ上位ビット方向にシ
フトするだけでよいため、ディレイ誤差の算出も簡単に
行なうことができる。従って、第1及び第2の補正デー
タtR1,tR2として、夫々、2n ,2 n-1 に対応した値
を設定すれば、クロック誤差及びディレイ誤差の演算を
高速に行なうことができ、この演算に伴う受信装置側C
PUの負担を軽減することが可能になる。
That is, with this configuration, the receiving device
Side, measure the pulse width of the first and second correction pulse signals.
And calculate the clock error using the above equation (2).
In this case, the deviation of the reference value of the first and second correction data (tR1
-TR2) is 2n-1 Therefore, the pulse width of each correction pulse
Deviation (Tin1-Tin2) of the lower order by n-1 bits.
Calculation of clock error.
Can be done easily. Also, this clock error
And the first correction data Tin1 and its reference value tR1
In calculating the delay error using the above equation (3),
Therefore, when multiplying the clock error and the reference value tR1,
Shifts the clock error by n bits in the upper bit direction.
You can easily calculate the delay error because you only need to shift
Can be done. Therefore, the first and second correction data
As tR1 and tR2, 2 respectivelyn , 2 n-1 The value corresponding to
By setting, the clock error and delay error can be calculated.
It can be performed at high speed, and the receiver side C
It is possible to reduce the load on the PU.

【0073】また、上記実施例では、上述の演算式
(2)を用いて、クロック誤差を算出するものとして説
明したが、この演算式(2)に基づき、予めクロック誤
差参照用のテーブルを作成しておき、実際の通信時に
は、演算式(2)を用いる代わりに、このテーブルを用
いてクロック誤差を求めるようにしてもよい。こうする
と、テーブルを参照するのに掛かる時間のみで高速にク
ロック誤差を求めることができる。また、同様に、ディ
レイ誤差についてもテーブルを作成しておき、ディレイ
誤差もこのテーブルから求めるようにしてもよい。
In the above embodiment, the clock error is calculated using the arithmetic expression (2), but a table for reference to the clock error is created in advance based on the arithmetic expression (2). Incidentally, at the time of actual communication, the clock error may be obtained using this table instead of using the arithmetic expression (2). In this way, the clock error can be obtained at high speed only with the time required to refer to the table. Similarly, a table may be created for the delay error and the delay error may be obtained from this table.

【0074】また、上記実施例では、エンジンECU1
とトランスミッションECU3との間でデータ通信を行
なう場合について説明したが、本発明は、複数のECU
間にてパルス幅によるデータ通信を行なうシステムであ
れば、どの様なシステムでも適用できる。例えば、エン
ジンECUとエンジンバルブのコントロール制御装置間
での通信や、エンジンECUとエアコンの制御装置との
通信等にも適用できる。また、通信は双方向の場合だけ
でなく、一方向通信でも適用できる。
In the above embodiment, the engine ECU 1
The case where the data communication is performed between the transmission ECU 3 and the transmission ECU 3 has been described.
Any system can be applied as long as it is a system that performs data communication with a pulse width in between. For example, it can be applied to communication between the engine ECU and the control control device of the engine valve, communication between the engine ECU and the control device of the air conditioner, and the like. Further, the communication is applicable not only to bidirectional communication but also to unidirectional communication.

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

【図1】 本発明の送信装置及び受信装置を例示するブ
ロック図である。
FIG. 1 is a block diagram illustrating a transmitter and a receiver according to the present invention.

【図2】 実施例の通信システムの全体構成を表す概略
構成図である。
FIG. 2 is a schematic configuration diagram showing an overall configuration of a communication system according to an embodiment.

【図3】 実施例の送信装置側にてデータ送信のために
実行される初期化処理及びタイマ割込処理を表すフロー
チャートである。
FIG. 3 is a flowchart showing an initialization process and a timer interrupt process executed for data transmission on the transmitting device side of the embodiment.

【図4】 実施例の受信装置側にてデータ受信のために
実行されるエッジ入力割込処理を表すフローチャートで
ある。
FIG. 4 is a flowchart showing an edge input interrupt process executed for data reception on the receiving device side of the embodiment.

【図5】 従来及び実施例の通信回路の構成を表す説明
図である。
FIG. 5 is an explanatory diagram showing a configuration of a conventional and a communication circuit.

【図6】 送信側マイコンからの出力信号とこの信号が
受信側マイコンに入力される際のパルス幅の変化の様子
を表す説明図である。
FIG. 6 is an explanatory diagram showing an output signal from a transmitting side microcomputer and a change in pulse width when this signal is input to a receiving side microcomputer.

【符号の説明】[Explanation of symbols]

1…エンジンECU 3…トランスミッショ
ンECU 5…信号線 11,31…マイコン 26,56…水晶発振子 17,37…通信回
路 27,47…クロックジェネレータ
DESCRIPTION OF SYMBOLS 1 ... Engine ECU 3 ... Transmission ECU 5 ... Signal line 11, 31 ... Microcomputer 26, 56 ... Crystal oscillator 17, 37 ... Communication circuit 27, 47 ... Clock generator

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平3−154428(JP,A) 特開 平1−194599(JP,A) 特開 平5−199125(JP,A) 特開 平6−216946(JP,A) 実開 平2−1943(JP,U) 実開 平3−6352(JP,U) (58)調査した分野(Int.Cl.7,DB名) H04L 7/00 H04L 7/02 H04L 25/03 H04L 25/49 H03M 5/08 ─────────────────────────────────────────────────── --- Continuation of the front page (56) References JP-A-3-154428 (JP, A) JP-A-1-194599 (JP, A) JP-A-5-199125 (JP, A) JP-A-6- 216946 (JP, A) Actual development 2-1943 (JP, U) Actual development 3-6352 (JP, U) (58) Fields investigated (Int.Cl. 7 , DB name) H04L 7/00 H04L 7 / 02 H04L 25/03 H04L 25/49 H03M 5/08

Claims (8)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 送信側では、所定の送信クロックを基準
にして送信データをその値に対応した幅を有する送信パ
ルス信号に変換して送信し、 受信側では、所定の受信クロックを基準にして受信した
送信パルス信号の幅を測定し、該測定結果から送信デー
タを復元するデータ通信方法において、 送信側では、少なくとも上記送信データの送信に先駈け
て、予め設定された互いに異なる値である第1及び第2
の補正データに対応した第1及び第2の補正パルス信号
を生成し、これらをこの順序にて送信し、 受信側では、受信したパルス信号が上記第1の補正パル
ス信号、上記第2の補正パルス信号、及び送信パルス信
号の内のいずれであるかを判別し、 上記受信したパルス信号が第1の補正パルス信号であっ
た場合は、該第1の補正パルス信号のパルス幅から第1
の補正データを生成し、 上記受信したパルス信号が第2の補正パルス信号であっ
た場合は、該第2の補正パルス信号のパルス幅から第2
の補正データを生成すると共に、 上記生成した第1及び第2の補正データと、該第1及び
第2の補正データの基準値とに基づき、送信クロックと
受信クロックとの不一致度を表すクロック誤差を求め、 更に該クロック誤差と、上記生成した第1又は第2の補
正データと、該補正データの基準値とに基づき、データ
伝送系の遅れを表すディレイ誤差を求め、 上記受信したパルス信号が送信パルス信号であった場合
には、該受信した送信パルス信号のパルス幅を、上記求
めたクロック誤差及びディレイ誤差に基づき補正し、上
記送信データを復元することを特徴とするデータ通信方
法。
1. A transmission side converts transmission data into a transmission pulse signal having a width corresponding to the value based on a predetermined transmission clock and transmits the transmission pulse signal, and a reception side uses a predetermined reception clock as a reference. In the data communication method of measuring the width of the received transmission pulse signal and restoring the transmission data from the measurement result, on the transmission side, at least prior to the transmission of the transmission data, the preset values are different from each other. 1st and 2nd
The first and second correction pulse signals corresponding to the correction data are generated and transmitted in this order. At the receiving side, the received pulse signal is the first correction pulse signal and the second correction pulse signal. It is determined which of the pulse signal and the transmission pulse signal, and if the received pulse signal is the first correction pulse signal, the first pulse width is determined from the pulse width of the first correction pulse signal.
Correction data is generated, and if the received pulse signal is the second correction pulse signal, the pulse width of the second correction pulse signal is changed to the second correction pulse signal.
And a clock error indicating the degree of mismatch between the transmission clock and the reception clock based on the first and second correction data generated above and the reference value of the first and second correction data. Further, based on the clock error, the generated first or second correction data, and the reference value of the correction data, a delay error indicating a delay of the data transmission system is calculated, and the received pulse signal is In the case of a transmission pulse signal, the pulse width of the received transmission pulse signal is corrected based on the clock error and the delay error thus obtained, and the transmission data is restored.
【請求項2】 所定の送信クロックを発生する送信クロ
ック発生手段と、 該送信クロック発生手段の発生した送信クロックを用い
て、送信データをその値に対応する幅を有する送信パル
ス信号に変換する符号化手段と、 該符号化手段により生成された上記送信パルス信号を信
号線に送出するパルス信号送信手段と、 を備えた送信装置において、 上記パルス信号送信手段からの送信パルス信号の送信に
先駆けて、上記符号化手段に、上記送信データと判別可
能な第1及び第2の補正データを順次出力して、上記符
号化手段にて両者を第1及び第2の補正パルス信号に変
換させ、上記パルス信号送信手段から該第1及び第2の
補正パルス信号を順次送信させる補正データ発生手段を
設けたことを特徴とする送信装置。
2. A code for converting transmission data into a transmission pulse signal having a width corresponding to the value by using transmission clock generation means for generating a predetermined transmission clock and transmission clock generated by the transmission clock generation means. And a pulse signal transmitting means for transmitting the transmission pulse signal generated by the encoding means to a signal line, prior to transmission of the transmission pulse signal from the pulse signal transmitting means. First and second correction data that can be discriminated from the transmission data are sequentially output to the encoding means, and both are converted into first and second correction pulse signals by the encoding means. A transmitter, comprising correction data generating means for sequentially transmitting the first and second correction pulse signals from the pulse signal transmitting means.
【請求項3】 請求項2に記載の送信装置に、信号線を
介して接続されてパルス信号を受信する受信装置であっ
て、 パルス信号を受信するパルス信号受信手段と、 所定の受信クロックを発生する受信クロック発生手段
と、 該受信クロック発生手段の発生した受信クロックを用い
て、上記パルス信号受信手段が受信したパルス信号のパ
ルス幅を測定し、該測定結果からデータを復元する復号
化手段と、 該復号化手段による復元結果に基づき、上記パルス信号
受信手段の受信したパルス信号が第1の補正パルス信
号,第2の補正パルス信号,及び送信パルス信号のいず
れであるかを判定するパルス信号判定手段と、 該パルス信号判定手段にて、上記パルス信号が第2の補
正パルス信号であると判定されると、上記復号化手段に
おいて第1及び第2の補正パルス信号から夫々復元され
た第1及び第2の補正データと、予め設定された第1及
び第2の補正データの基準値とに基づき、送信クロック
と受信クロックとの不一致度を表すクロック誤差を算出
するクロック誤差算出手段と、 該クロック誤差算出手段にて算出されたクロック誤差
と、上記復号化手段において復元された第1又は第2の
補正データと、該補正データの基準値とに基づき、デー
タ伝送系の遅れを表すディレイ誤差を算出するディレイ
誤差算出手段と、 上記パルス信号判定手段にて、上記パルス信号が送信パ
ルス信号と判定されると、上記復号化手段において当該
送信パルス信号から復元された送信データを、上記各誤
差算出手段にて算出されたクロック誤差及びディレイ誤
差に基づいて補正する送信データ補正手段と、 を備えたことを特徴とする受信装置。
3. A receiving device, which is connected to the transmitting device according to claim 2 through a signal line to receive a pulse signal, comprising pulse signal receiving means for receiving the pulse signal, and a predetermined receiving clock. Generated reception clock generation means and decoding means for measuring the pulse width of the pulse signal received by the pulse signal reception means using the reception clock generated by the reception clock generation means and restoring the data from the measurement result. And a pulse for determining whether the pulse signal received by the pulse signal receiving means is the first correction pulse signal, the second correction pulse signal, or the transmission pulse signal based on the restoration result by the decoding means. The signal determining means and the pulse signal determining means determine that the pulse signal is the second correction pulse signal, and the decoding means outputs the first and the second correction pulse signals. A clock representing the degree of disagreement between the transmission clock and the reception clock, based on the first and second correction data restored from the respective correction pulse signals and the preset reference values of the first and second correction data. A clock error calculating means for calculating an error; a clock error calculated by the clock error calculating means; a first or second correction data restored by the decoding means; and a reference value of the correction data. Based on the delay error calculating means for calculating a delay error representing the delay of the data transmission system and the pulse signal determining means, when the pulse signal is determined to be the transmission pulse signal, the decoding means determines the transmission pulse signal. And transmission data correcting means for correcting the transmission data restored from the above based on the clock error and the delay error calculated by the respective error calculating means. A receiving device comprising:
【請求項4】 上記クロック誤差算出手段は、上記復号
化手段において復元された第1の補正データと第2の補
正データとの偏差を、上記第1の補正データの基準値と
第2の補正データの基準値との偏差にて除算することに
より、上記クロック誤差を算出し、 上記ディレイ誤差算出手段は、上記復号化手段において
復元された第1又は第2の補正データから、該補正デー
タの基準値と上記算出したクロック誤差との積を減じる
ことにより、上記ディレイ誤差を算出することを特徴と
する請求項3に記載の受信装置。
4. The clock error calculating means calculates a deviation between the first correction data and the second correction data restored by the decoding means from a reference value of the first correction data and a second correction data. The clock error is calculated by dividing by the deviation from the reference value of the data, and the delay error calculating means calculates the correction data from the first or second correction data restored by the decoding means. The receiver according to claim 3, wherein the delay error is calculated by subtracting a product of a reference value and the calculated clock error.
【請求項5】 補正データ発生手段は、第1及び第2の
補正データとして、上記符号化手段に2n ,2n-1 に対
応した値を出力することを特徴とする請求項2に記載の
送信装置。
5. The correction data generating means outputs a value corresponding to 2 n , 2 n-1 to the encoding means as the first and second correction data. Transmitter.
【請求項6】 請求項5に記載の送信装置に、信号線を
介して接続されてパルス信号を受信する受信装置であっ
て、 上記クロック誤差算出手段は、上記復号化手段において
復元された第1の補正データと第2の補正データとの偏
差を、n−1ビット分だけ下位ビット方向にシフトする
ことにより、上記クロック誤差を算出し、 上記ディレイ誤差算出手段は、上記復号化手段において
復元された第1の補正データから、上記算出したクロッ
ク誤差をnビット分だけ上位ビット方向にシフトしたデ
ータを減じることにより、上記ディレイ誤差を算出する
ことを特徴とする請求項4に記載の受信装置。
6. A receiving device connected to the transmitting device according to claim 5 via a signal line to receive a pulse signal, wherein the clock error calculating means is restored by the decoding means. The deviation between the first correction data and the second correction data is shifted in the lower bit direction by n-1 bits to calculate the clock error, and the delay error calculating means is restored by the decoding means. 5. The receiving apparatus according to claim 4, wherein the delay error is calculated by subtracting data obtained by shifting the calculated clock error by n bits in the upper bit direction from the first corrected data obtained. .
【請求項7】 上記補正データ発生手段が、上記第1の
補正データとして、上記送信データの最大値よりも更に
大きな値を発生することを特徴とする請求項2又は請求
項5に記載の送信装置。
7. The transmission according to claim 2 or 5, wherein the correction data generating means generates a value larger than the maximum value of the transmission data as the first correction data. apparatus.
【請求項8】 請求項7に記載の送信装置に、信号線を
介して接続されてパルス信号を受信する受信装置であっ
て、 上記パルス信号判定手段が、上記復号化手段にて復元さ
れた復元データが予め設定された上記送信データの最大
値よりも大きい場合に、上記パルス信号受信手段の受信
したパルス信号が第1の補正パルス信号であると判定す
る第1パルス判定手段を有し、該第1パルス判定手段が
第1の補正パルス信号を判定した直後に受信されたパル
ス信号を第2の補正パルス信号、該第2の補正パルス信
号以降に受信されたパルス信号を送信パルス信号、と判
定することを特徴とする請求項3,請求項4又は請求項
6に記載の信装置。
8. A receiving device connected to the transmitting device according to claim 7 through a signal line to receive a pulse signal, wherein the pulse signal determining means is restored by the decoding means. A first pulse determining means for determining that the pulse signal received by the pulse signal receiving means is a first correction pulse signal when the restored data is larger than a preset maximum value of the transmission data, The pulse signal received immediately after the first pulse determination means determines the first correction pulse signal is a second correction pulse signal, and the pulse signals received after the second correction pulse signal are transmission pulse signals, and claim 3, wherein the determining, receiving apparatus according to claim 4 or claim 6.
JP32287194A 1994-12-26 1994-12-26 Data communication method, transmitting device, and receiving device Expired - Fee Related JP3428191B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32287194A JP3428191B2 (en) 1994-12-26 1994-12-26 Data communication method, transmitting device, and receiving device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32287194A JP3428191B2 (en) 1994-12-26 1994-12-26 Data communication method, transmitting device, and receiving device

Publications (2)

Publication Number Publication Date
JPH08181686A JPH08181686A (en) 1996-07-12
JP3428191B2 true JP3428191B2 (en) 2003-07-22

Family

ID=18148550

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32287194A Expired - Fee Related JP3428191B2 (en) 1994-12-26 1994-12-26 Data communication method, transmitting device, and receiving device

Country Status (1)

Country Link
JP (1) JP3428191B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5371651B2 (en) * 2009-09-11 2013-12-18 株式会社日立製作所 Vehicle power supply system and communication device
KR102097386B1 (en) * 2013-11-28 2020-04-06 현대모비스 주식회사 Method for synchronizing communication clocks and apparatus thereof
WO2020117196A1 (en) 2018-12-03 2020-06-11 Hewlett-Packard Development Company, L.P. Logic circuitry
CN112180828B (en) * 2020-10-10 2023-03-24 湖南天桥嘉成智能科技有限公司 Method for detecting communication state of PLC and third-party equipment

Also Published As

Publication number Publication date
JPH08181686A (en) 1996-07-12

Similar Documents

Publication Publication Date Title
US9031736B2 (en) Channel diagnostic system for sent receiver
US20110206067A1 (en) Synchronization signal detection apparatus
JP3428191B2 (en) Data communication method, transmitting device, and receiving device
JPH0650772Y2 (en) Travel detector
US5525899A (en) Physical quantity change detection device which detects change by detecting a phase difference between two pulses
US7012418B2 (en) Measuring system with ratiometric frequency output
JPS5853847B2 (en) Fuel consumption measuring device
JPH0553945A (en) In-vehicle serial data communication system
US7191081B2 (en) Method for correcting an oscillator frequency
JP2598352B2 (en) measuring device
EP0854355A1 (en) Liquid level gauge interface system having dynamic offset
SU1571427A1 (en) Digital thermometer
US4534046A (en) Flow quantity measuring apparatus
JP2830226B2 (en) Communication device for control data
JP2009111967A (en) Data reception apparatus and microcomputer
JP2559237Y2 (en) Serial data sampling signal generator
JP2751673B2 (en) Bit error rate measurement equipment for digital communication systems
US5613104A (en) Serial transmission apparatus having an operation surely carried out even if a serial datum is represented by an unknown number of data bits
JPH06209349A (en) Mutual communication equipment for controller
JPH034174A (en) Speed detecting device for vehicle
KR100286043B1 (en) speed detecting system and method thereof
JPH0329704Y2 (en)
JPH0110564Y2 (en)
CN115615462A (en) Wheeled odometer checking system and method based on FPGA
SU1659909A1 (en) Measuring converter for capacitive sensors

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090516

Year of fee payment: 6

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100516

Year of fee payment: 7

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110516

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees