JP3541566B2 - Serial data communication method - Google Patents

Serial data communication method Download PDF

Info

Publication number
JP3541566B2
JP3541566B2 JP13330996A JP13330996A JP3541566B2 JP 3541566 B2 JP3541566 B2 JP 3541566B2 JP 13330996 A JP13330996 A JP 13330996A JP 13330996 A JP13330996 A JP 13330996A JP 3541566 B2 JP3541566 B2 JP 3541566B2
Authority
JP
Japan
Prior art keywords
signal
voltage
state
resistor
signal line
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
JP13330996A
Other languages
Japanese (ja)
Other versions
JPH09321810A (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 JP13330996A priority Critical patent/JP3541566B2/en
Publication of JPH09321810A publication Critical patent/JPH09321810A/en
Application granted granted Critical
Publication of JP3541566B2 publication Critical patent/JP3541566B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)
  • Dc Digital Transmission (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、時分割したシリアル信号によってデータの送信を行うようにしたシリアルデータ通信方式に関する。
【0002】
【発明が解決しようとする課題】
シリアルデータ通信において、例えばデータ値を信号のパルス長に変換して送信するパルス長可変方式(PWM方式)を採用した場合、1回の送信により伝送可能なデータの種類は、その送信データの1フレーム長と、受信側のサンプリングレートによる制約を受けることになり、また、例えば8ビットデータの調歩同期式通信を行う場合には、1回の送信により伝送可能なデータは256種類に限定されることになる。
【0003】
この場合、パルス長可変方式において、1回の送信により伝送可能なデータ種類を増やすためには、1フレーム長を長くすることが考えられるが、これでは通信遅れが大きくなるという新たな問題が発生することになる。また、受信側のサンプリングレートを早くすることにより、データの種類を増やすことも考えられる。しかしながら、受信側には、その受信動作制御用のプログラム中に基本的な割り込み処理ルーチンが存在するのが通常であるため、上記のようなサンプリングレートの短縮には自ずと制約が多くなるものであり、実用的でないという問題点がある。
【0004】
8ビットデータの調歩同期式通信において、1回の送信により伝送可能なデータ種類を増やす場合には、データのビット数を増やせば良いが、これでは受信側のデータ処理の手順が面倒になることが避けられず、実用的ではない。
【0005】
本発明は上記のような事情に鑑みてなされたものであり、その目的は、1回の送信により伝送可能なデータ種類を、送信データのフレーム長に影響を与えたり、或いは受信側でのサンプリングレートの変更やデータ処理のための手順の煩雑化を招くことなく増加させ得るようになるシリアルデータ通信方式を提供することにある。
【0006】
【課題を解決するための手段】
請求項1記載の発明では、送信装置側から信号ラインに対して、少なくとも3段階のレベルに設定された第1の電圧信号、第2の電圧信号及び第3の電圧信号を、出力インタフェース回路を通じて選択的に出力できる。このように信号ラインに電圧信号が出力された場合、受信装置側の入力インタフェース回路は、当該電圧信号のレベルを弁別して二値信号に変換するようになる。具体的には、信号ラインに対して、第1の電圧信号が出力された状態と第2の電圧信号が出力された状態とが反復された場合には、第1信号弁別手段からその反復モードに応じた二値信号が出力され、信号ラインに対して、第1の電圧信号が出力された状態と第3の電圧信号が出力された状態とが反復された場合には、第2信号弁別手段からその反復モードに応じた二値信号が出力されることになる。
【0007】
つまり、送信装置側から信号ラインに対して、第1の電圧信号及び第2の電圧信号を交互に送信した状態と、第1の電圧信号及び第3の電圧信号を交互に送信した状態との相違を、受信装置側で認識できるものであり、結果的に、1回の送信により伝送可能なデータの種類が増えることになる。この場合、送信するデータの1フレーム長やビット数を増やしたり、受信側のサンプリングレートを高めたりする必要がなくなるから、従来構成のような問題点を招く虞がなくなるものである。
【0008】
この場合、出力インタフェース回路内には、第1のスイッチング素子及び第2のスイッチング素子が設けられており、それらスイッチング素子が双方ともオフした状態では、電源端子の出力電圧を分圧するための第1の抵抗及び第2の抵抗を有した分圧回路の分圧電圧を、常時において信号ラインに対し第2の電圧として印加しておくことができる。
【0009】
さらに、このように信号ラインに対し第2の電圧が印加された状態から、出力インタフェース回路内の第1のスイッチング素子がオンされた状態では、第3の抵抗が前記分圧回路内の第1の抵抗と並列に接続されて、信号ラインに対し前記第の電圧信号とレベルが異なる第1の電圧信号が印加されるようになる。また、出力インタフェース回路内の第2のスイッチング素子がオンされた状態では、分圧回路内の第2の抵抗の両端が短絡されて、信号ラインに対し前記第1の電圧信号及び第2の電圧信号とレベルが異なる第3の電圧信号が印加されるようになる。

【0010】
従って、送信装置側において、上述のようなデータ送信に必要な制御、つまり、第1のスイッチング素子及び第2のスイッチング素子を選択的にオンオフさせることにより、信号ラインに対して、第1の電圧信号及び第2の電圧信号を交互に送信した状態と、第1の電圧信号及び第3の電圧信号を交互に送信した状態とに切り換えるという制御を容易に行い得るようになる。
【0011】
【発明の実施の形態】
以下、本発明の一実施例について図面を参照しながら説明する。
図1には本発明によるシリアルデータ通信方式を採用したデータ伝送システムの電気的な構成例が示されている。この図1に示すシステムでは、送信装置を構成するECU100から受信装置を構成するECU200へ信号ライン3を通じてデジタルデータを送信する構成となっている。
【0012】
送信側のECU100には、図示しない操作部から入力される操作信号の処理や信号ライン3を通じた送信制御などを行うためのMPU101が設けられる。また、受信側のECU200には、信号ライン3を通じた受信制御や図示しない負荷の制御などを行うためのMPU201が設けられている。この場合、上記MPU101及び201は、基準電位レベルを得るためのグランド電位ライン4を介して互いに接続されている。
【0013】
送信側のECU100には、信号ライン3にデジタルデータを送り出すための出力インタフェース回路102が設けられている。この出力インタフェース回路102は、pnp形のトランジスタ103(本発明でいう第1のスイッチング素子に相当)及びnpn形のトランジスタ104(本発明でいう第2のスイッチング素子に相当)を備えており、トランジスタ103のベースは、MPU101の出力ポートQ1に抵抗105を介して接続され、トランジスタ104のベースは、MPU101の出力ポートQ2に抵抗106を介して接続されている。尚、上記トランジスタ103及び104のベース・エミッタ間には、ベースバイアス抵抗107及び108がそれぞれ接続される。
【0014】
また、上記出力インタフェース回路102にあっては、電源端子+Vccと前記グランド電位ライン4との間に、前記トランジスタ103のエミッタ・コレクタ間、分圧用抵抗109(本発明でいう第3の抵抗に相当)及び110(本発明でいう第2の抵抗に相当)が直列に接続されると共に、それら分圧用抵抗109及び110の共通接続点が信号ライン3に接続される。さらに、グランド電位ライン4側の分圧用抵抗110と並列に、前記トランジスタ104のコレクタ・エミッタ間が接続される。
【0015】
一方、受信側のECU200には、信号ライン3に送り出されたデジタルデータを受信するための入力インタフェース回路202が設けられている。この入力インタフェース回路202は、それぞれ帰還抵抗203a及び204aにより適度なヒステリシスが付与されたコンパレータ203及び204(それぞれ本発明でいう第1信号弁別手段及び第2信号弁別手段に相当)を備えており、これらコンパレータ203及び204の出力端子は、MPU201の入力ポートP1及びP2にそれぞれ接続されている。
【0016】
また、上記入力インタフェース回路202には、コンパレータ203及び204の各非反転入力端子(+)に対して互いに異なるレベルの基準電圧を与えるための基準電圧発生回路205が設けられている。この基準電圧発生回路205は、電源端子+Vccとグランド電源ラインとの間に抵抗205a、205b及び205cを直列に接続した構成となっている。本実施例では、コンパレータ203の非反転入力端子(+)に対して例えば3.75Vの基準電圧Vref1が与えられ、コンパレータ204の非反転入力端子(+)に対して例えば1.25Vの基準電圧Vref2が与えられるように設定している。
【0017】
さらに、入力インタフェース回路202にあっては、電源端子+Vccと信号ライン3との間にプルアップ抵抗206(本発明でいう第1の抵抗に相当)が接続されると共に、その信号ライン3が入力抵抗207を介してコンパレータ203及び204の各反転入力端子(−)に接続されている。尚、上記プルアップ抵抗206及び前記分圧用抵抗110によって本発明でいう分圧回路500が構成されるものである。
【0018】
上記のような構成の出力インタフェース回路102が設けられ、且つ入力インタフェース回路202側に、出力インタフェース回路102内の分圧用抵抗110とで分圧回路500を構成するプルアップ抵抗206が設けられた結果、出力インタフェース回路102から信号ライン3に対して、内部のトランジスタ103及び104のオンオフ状態に応じて以下▲1▼〜▲3▼に示すような3段階の電圧信号を選択的に出力できるものである。但し、トランジスタ103及び104のコレクタ・エミッタ間飽和電圧は無視する。
【0019】
▲1▼…トランジスタ104がオンされた状態では、当該トランジスタ104が、分圧回路500内の分圧用抵抗110の両端を短絡するため、信号ライン3にグランド電位レベルの第3の電圧信号δv3が出力される(トランジスタ103のオンオフ状態とは無関係)。
【0020】
▲2▼…トランジスタ104がオフされ、且つトランジスタ103がオンされた状態では、当該トランジスタ103が、分圧用抵抗109を分圧回路500内の分圧用抵抗206と並列に接続するため、信号ライン3に対し、抵抗109及び206の並列回路と抵抗110とにより分圧された比較高いレベルの第1の電圧信号δv1が出力される。本実施例では、この第1の電圧信号δv1のレベルが5Vとなるように設定している。
【0021】
▲3▼…トランジスタ103及び104が双方ともオフされた状態では、信号ライン3に対し、プルアップ抵抗206と分圧用抵抗110とにより分圧された比較低いレベルの第2の電圧信号δv2が出力される。本実施例では、この第2の電圧信号δv2のレベルが2.5Vとなるように設定している。
【0022】
この場合、前述の説明によって明らかなように、入力インタフェース回路202内のコンパレータ203及び204は、反転入力端子(−)に与えられる信号ライン3の電圧信号と、非反転入力端子(+)にそれぞれに与えられる基準電圧Vref1(=3.75V)及びVref2(=1.25V)とを比較する構成となっている。
【0023】
従って、信号ライン3に第3の電圧信号δv3(グランド電位レベル)が出力された状態(▲1▼の状態)では、コンパレータ203及び204の双方から「H」レベル信号が出力される。また、信号ライン3に第1の電圧信号δv1(5V)が出力された状態(▲2▼の状態)では、コンパレータ203及び204の双方から「L」レベル信号が出力される。さらに、信号ライン3に第2の電圧信号δv2(2.5V)が出力された状態(▲3▼の状態)では、コンパレータ203から「H」レベル信号が出力されると共に、コンパレータ204から「L」レベル信号が出力される。
【0024】
これにより、コンパレータ203は、信号ライン3を通じて第1の電圧信号δv1が入力された状態と第2の電圧信号δv2が入力された状態とで異なる論理レベルとなる二値信号を発生できる構成となっている。また、コンパレータ204は、信号ライン3を通じて第1の電圧信号δv1が入力された状態と第3の電圧信号δv3が入力された状態とで異なる論理レベルとなる二値信号を発生できる構成となっている。
【0025】
上記のようなコンパレータ203及び204の出力は、それぞれMPU201の入力ポートP1及びP2に入力されるようになっており、当該MPU201にあっては、上記のような入力信号に基づいて信号ライン3を通じて送信されてくる電圧信号のレベルを3段階に判定すると共に、その判定結果に基づいて上述した二値信号(第1の電圧信号δv1が「マーク」、第2の電圧信号δv2が「スペース」のものと、第1の電圧信号δv1が「マーク」、第3の電圧信号δv3が「スペース」のもの)の種類を識別できる構成となっている。
【0026】
ここで、ECU100及び200間で、データ値を信号のパルス長に変換して送信するパルス長可変方式(PWM方式)によるデータ通信を行う場合の例について説明する。
【0027】
即ち、例えば1フレーム40msのパルス長可変方式の信号を送信する場合には、図2(a)に示すように、マーク状態から立ち下がるパルス幅ΔT(例えば10ms、20ms、30msの何れか)をデータ値とした各パルス信号を、それぞれ二値信号より成るデータA、B、Cとして信号ライン3を通じて送信することになる。
【0028】
この場合、送信可能なデータの種類を例えば2倍に増やすためには、全体のフレーム長を2倍にすれば良いが、これでは通信遅れが大きくなるため実用的ではない。また、受信側ECU200における入力信号のサンプリングレートを早くすることにより、送信データの最小パルス幅を1/2に縮小することによっても対応可能である。しかしながら、受信側ECU200のMPU201には、その制御プログラム中に基本的な割り込み処理ルーチンが数多く存在するのが通常であるため、上記のようなサンプリングレートの短縮には自ずと制約が出てくるものであり、結果的に実用的でないという問題点がある。
【0029】
これに対して、本実施例では、図2(b)、(c)に示すように、ECU100側から、出力インタフェース回路102内のトランジスタ103、104の選択的なオンオフ状態に応じて、それぞれ識別可能な異なる二値信号より成る2種類ずつのデータA′及びA″、B′及びB″、C′及びC″を送信できると共に、ECU200側において斯様に送信されたデータの論理レベルを入力インタフェース回路202を通じて識別できるようになる。
【0030】
但し、図2(b)、(c)では、トランジスタ103、104のオン及びオフ状態をそれぞれON、OFFで示し、MPU201の入力端子P1及びP2に与えられる二値信号のレベルを、「H」レベル信号に対応した「1」及び「L」レベル信号に対応した「0」で表現している。
【0031】
従って、本実施例によれば、送信データのフレーム長を長くしたり、或いは受信側ECU200における入力信号のサンプリングレートを早くすることなく送信可能なデータの種類を増やし得るものであり、実用上においてきわめて有益になるものである。
【0032】
また、ECU100及び200間で例えば調歩同期式によるデータ通信を行う場合、従来構成では、送信データが8ビットの場合で256種類のデータしか送信できないものであるが、本実施例ではデータの論理レベルを2段階に切り換えた状態で送信できるから、結果的に512種類のデータを送信できることになり、受信側では8ビット処理を行うだけで済むようになる。
【0033】
尚、本発明は上記した実施例に限定されるものではなく、次のような変形または拡張が可能である。
送信側において、信号ラインに出力する電圧信号のレベルを3段階(0V、2.5V、5V)に切り換える構成としたが、さらに多段階に切り換える構成としても良い。但し、この場合には、受信側にそれら電圧信号のレベルを弁別できる信号弁別手段を追加する必要がある。第1及び第2の信号弁別手段をA−DコンバータICを利用して構成しても良い。
【0034】
図1の例では、トランジスタ103及び104と抵抗105〜110とを組み合わせて出力インタフェース回路102を構成したが、抵抗とFETなどの他の回路素子とを組み合わせて同様機能の出力インタフェース回路を構成することもできる。分圧回路500を構成するプルアップ抵抗206は、出力インタフェース回路102側に設ける構成とすることもできる。
【図面の簡単な説明】
【図1】本発明の一実施例を示す電気的構成図
【図2】作用説明用の波形図
【符号の説明】
図中、3は信号ライン、100はECU(送信装置)、101はMPU、102は出力インタフェース回路、103はトランジスタ(第1のスイッチング素子)、104はトランジスタ(第2のスイッチング素子)、109は分圧用抵抗(第3の抵抗)、110は分圧用抵抗(第2の抵抗)、200はECU(受信装置)、201はMPU、202は入力インタフェース回路、203はコンパレータ(第1信号弁別手段)、204はコンパレータ(第2信号弁別手段)、205は基準電圧発生回路、206はプルアップ抵抗(第1の抵抗)、500は分圧回路を示す。
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a serial data communication system in which data is transmitted by a time-division serial signal.
[0002]
[Problems to be solved by the invention]
In serial data communication, for example, when a variable pulse length method (PWM method) in which a data value is converted into a pulse length of a signal and transmitted is adopted, the type of data that can be transmitted by one transmission is one of the transmission data. The frame length is limited by the sampling rate of the receiving side, and, for example, in the case of start-stop synchronous communication of 8-bit data, data that can be transmitted by one transmission is limited to 256 types. Will be.
[0003]
In this case, in the variable pulse length method, it is conceivable to increase the length of one frame in order to increase the types of data that can be transmitted by one transmission, but this causes a new problem that a communication delay increases. Will do. It is also conceivable to increase the sampling rate on the receiving side to increase the types of data. However, on the receiving side, there is usually a basic interrupt processing routine in the program for controlling the receiving operation, so that there are naturally many restrictions on the reduction of the sampling rate as described above. However, it is not practical.
[0004]
When increasing the number of data types that can be transmitted in one transmission in the start-stop synchronous communication of 8-bit data, the number of data bits may be increased, but this complicates the data processing procedure on the receiving side. Is unavoidable and not practical.
[0005]
The present invention has been made in view of the above circumstances, and an object of the present invention is to determine the type of data that can be transmitted by one transmission by affecting the frame length of transmission data, or by sampling at the reception side. It is an object of the present invention to provide a serial data communication system which can be increased without changing a rate or complicating a procedure for data processing.
[0006]
[Means for Solving the Problems]
According to the first aspect of the present invention, the first voltage signal, the second voltage signal, and the third voltage signal, which are set to at least three levels, are transmitted from the transmitting device to the signal line through the output interface circuit. Can be selectively output. When the voltage signal is output to the signal line in this manner, the input interface circuit on the receiving device side discriminates the level of the voltage signal and converts it into a binary signal. Specifically, when the state in which the first voltage signal is output and the state in which the second voltage signal is output are repeated for the signal line, the first signal discriminating means outputs the signal in the repetition mode. When the state in which the first voltage signal is output and the state in which the third voltage signal is output are repeated with respect to the signal line, the second signal discrimination is performed. The means outputs a binary signal according to the repetition mode.
[0007]
That is, a state where the first voltage signal and the second voltage signal are alternately transmitted from the transmitting device to the signal line and a state where the first voltage signal and the third voltage signal are alternately transmitted are described. The difference can be recognized on the receiving device side, and as a result, the types of data that can be transmitted by one transmission increase. In this case, there is no need to increase the length of one frame or the number of bits of the data to be transmitted or to increase the sampling rate on the receiving side, so that there is no possibility of causing the problems as in the conventional configuration.
[0008]
In this case, a first switching element and a second switching element are provided in the output interface circuit, and when both of the switching elements are off, a first switching element for dividing the output voltage of the power supply terminal is provided . And the divided voltage of the voltage dividing circuit having the second resistor can be always applied to the signal line as the second voltage.
[0009]
Further, in a state where the first switching element in the output interface circuit is turned on from the state where the second voltage is applied to the signal line , the third resistor is connected to the first resistor in the voltage dividing circuit. is connected to the resistor in parallel, the first voltage signal and the second voltage signal and the levels are different is to be applied to the signal lines. Further, when the second switching element in the output interface circuit is turned on, both ends of the second resistor in the voltage dividing circuit are short-circuited, and the first voltage signal and the second voltage are applied to the signal line. A third voltage signal having a different level from the signal is applied.

[0010]
Therefore, on the transmission device side, the control required for data transmission as described above, that is, by selectively turning on and off the first switching element and the second switching element, the first voltage is applied to the signal line. Control can be easily performed to switch between a state in which the signal and the second voltage signal are transmitted alternately and a state in which the first and third voltage signals are transmitted alternately.
[0011]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
FIG. 1 shows an electrical configuration example of a data transmission system employing a serial data communication system according to the present invention. In the system shown in FIG. 1, digital data is transmitted via the signal line 3 from the ECU 100 constituting the transmitting device to the ECU 200 constituting the receiving device.
[0012]
The transmission-side ECU 100 is provided with an MPU 101 for processing an operation signal input from an operation unit (not shown), performing transmission control via the signal line 3, and the like. The MPU 201 for controlling reception via the signal line 3 and controlling a load (not shown) is provided in the ECU 200 on the reception side. In this case, the MPUs 101 and 201 are connected to each other via a ground potential line 4 for obtaining a reference potential level.
[0013]
The transmission-side ECU 100 is provided with an output interface circuit 102 for sending digital data to the signal line 3. The output interface circuit 102 includes a pnp transistor 103 (corresponding to a first switching element in the present invention) and an npn transistor 104 (corresponding to a second switching element in the present invention). The base of 103 is connected to the output port Q1 of the MPU 101 via a resistor 105, and the base of the transistor 104 is connected to the output port Q2 of the MPU 101 via a resistor 106. Note that base bias resistors 107 and 108 are connected between the base and emitter of the transistors 103 and 104, respectively.
[0014]
In the output interface circuit 102, a voltage dividing resistor 109 (corresponding to a third resistor in the present invention) is provided between the power supply terminal + Vcc and the ground potential line 4 between the emitter and the collector of the transistor 103. ) And 110 (corresponding to the second resistor in the present invention) are connected in series, and a common connection point of the voltage dividing resistors 109 and 110 is connected to the signal line 3. Further, the collector and the emitter of the transistor 104 are connected in parallel with the voltage dividing resistor 110 on the ground potential line 4 side.
[0015]
On the other hand, the reception-side ECU 200 is provided with an input interface circuit 202 for receiving the digital data sent to the signal line 3. The input interface circuit 202 includes comparators 203 and 204 (corresponding to first signal discriminating means and second signal discriminating means, respectively, according to the present invention) to which appropriate hysteresis is provided by feedback resistors 203a and 204a, respectively. Output terminals of the comparators 203 and 204 are connected to input ports P1 and P2 of the MPU 201, respectively.
[0016]
Further, the input interface circuit 202 is provided with a reference voltage generation circuit 205 for applying different levels of reference voltages to the non-inverting input terminals (+) of the comparators 203 and 204. The reference voltage generation circuit 205 has a configuration in which resistors 205a, 205b, and 205c are connected in series between a power supply terminal + Vcc and a ground power supply line. In the present embodiment, for example, a reference voltage Vref1 of 3.75 V is applied to the non-inverting input terminal (+) of the comparator 203, and a reference voltage of 1.25 V is applied to the non-inverting input terminal (+) of the comparator 204. Vref2 is set to be given.
[0017]
Further, in the input interface circuit 202, a pull-up resistor 206 (corresponding to the first resistor in the present invention) is connected between the power supply terminal + Vcc and the signal line 3, and the signal line 3 is connected to the input line. It is connected to each inverting input terminal (-) of the comparators 203 and 204 via the resistor 207. The pull-up resistor 206 and the voltage dividing resistor 110 constitute a voltage dividing circuit 500 according to the present invention.
[0018]
As a result of the provision of the output interface circuit 102 having the above configuration, and the provision of the pull-up resistor 206 constituting the voltage dividing circuit 500 by the voltage dividing resistor 110 in the output interface circuit 102 on the input interface circuit 202 side. The output interface circuit 102 can selectively output three-stage voltage signals as shown in the following (1) to (3) to the signal line 3 according to the on / off state of the internal transistors 103 and 104. is there. However, the collector-emitter saturation voltages of the transistors 103 and 104 are ignored.
[0019]
{Circle around (1)} When the transistor 104 is turned on, the transistor 104 short-circuits both ends of the voltage-dividing resistor 110 in the voltage-dividing circuit 500. Therefore, the third voltage signal δv3 at the ground potential level is supplied to the signal line 3. The signal is output (irrespective of the on / off state of the transistor 103).
[0020]
{Circle around (2)} In a state where the transistor 104 is turned off and the transistor 103 is turned on, the transistor 103 connects the voltage dividing resistor 109 in parallel with the voltage dividing resistor 206 in the voltage dividing circuit 500, so that the signal line 3 On the other hand, a first voltage signal δv1 of a comparatively high level divided by the parallel circuit of the resistors 109 and 206 and the resistor 110 is output. In the present embodiment, the level of the first voltage signal δv1 is set to be 5V.
[0021]
{Circle around (3)} In a state where both the transistors 103 and 104 are turned off, a second voltage signal δv2 of a comparatively low level divided by the pull-up resistor 206 and the voltage dividing resistor 110 is output to the signal line 3. Is done. In the present embodiment, the level of the second voltage signal δv2 is set to be 2.5V.
[0022]
In this case, as apparent from the above description, the comparators 203 and 204 in the input interface circuit 202 connect the voltage signal of the signal line 3 supplied to the inverting input terminal (−) and the non-inverting input terminal (+) to the non-inverting input terminal (+), respectively. Are compared with reference voltages Vref1 (= 3.75 V) and Vref2 (= 1.25 V).
[0023]
Therefore, in a state where the third voltage signal δv3 (ground potential level) is output to the signal line 3 (state (1)), both the comparators 203 and 204 output an “H” level signal. In a state where the first voltage signal δv1 (5 V) is output to the signal line 3 (state of (2)), both the comparators 203 and 204 output an “L” level signal. Further, in a state where the second voltage signal δv2 (2.5 V) is output to the signal line 3 (state of (3)), the “H” level signal is output from the comparator 203 and the “L” level is output from the comparator 204. "Level signal is output.
[0024]
Thus, the comparator 203 can generate a binary signal having a different logic level between the state where the first voltage signal δv1 is input through the signal line 3 and the state where the second voltage signal δv2 is input. ing. The comparator 204 is configured to generate a binary signal having a different logic level between a state where the first voltage signal δv1 is input through the signal line 3 and a state where the third voltage signal δv3 is input. I have.
[0025]
The outputs of the comparators 203 and 204 as described above are input to the input ports P1 and P2 of the MPU 201, respectively. In the MPU 201, based on the input signals as described above, the signal lines 3 The level of the transmitted voltage signal is determined in three stages, and based on the determination result, the above-described binary signal (where the first voltage signal δv1 is “mark” and the second voltage signal δv2 is “space” And the first voltage signal δv1 is a “mark”, and the third voltage signal δv3 is a “space”.
[0026]
Here, an example will be described in which data communication is performed between the ECUs 100 and 200 by a variable pulse length method (PWM method) in which a data value is converted into a signal pulse length and transmitted.
[0027]
In other words, for example, when transmitting a pulse length variable signal of 40 ms per frame, as shown in FIG. 2A, the pulse width ΔT falling from the mark state (for example, any of 10 ms, 20 ms, or 30 ms) is set. Each pulse signal having a data value is transmitted through the signal line 3 as data A, B, and C, each of which is a binary signal.
[0028]
In this case, to increase the number of types of data that can be transmitted, for example, to double, the entire frame length may be doubled, but this is not practical because the communication delay increases. Further, it is also possible to cope with this by reducing the minimum pulse width of the transmission data to 1/2 by increasing the sampling rate of the input signal in the receiving ECU 200. However, since the MPU 201 of the receiving ECU 200 usually has many basic interrupt processing routines in its control program, the reduction of the sampling rate as described above is naturally limited. There is a problem that it is not practical as a result.
[0029]
On the other hand, in the present embodiment, as shown in FIGS. 2B and 2C, the ECU 100 identifies each of the transistors 103 and 104 in the output interface circuit 102 according to the selective on / off state of the transistor. Two types of data A 'and A ", B' and B", C 'and C "each composed of possible different binary signals can be transmitted, and the logic level of the data transmitted in the ECU 200 is inputted. The identification can be performed through the interface circuit 202.
[0030]
However, in FIGS. 2B and 2C, ON and OFF states of the transistors 103 and 104 are indicated by ON and OFF, respectively, and the level of the binary signal given to the input terminals P1 and P2 of the MPU 201 is “H”. It is represented by “1” corresponding to the level signal and “0” corresponding to the “L” level signal.
[0031]
Therefore, according to the present embodiment, it is possible to increase the types of data that can be transmitted without increasing the frame length of the transmission data or increasing the sampling rate of the input signal in the receiving ECU 200. It will be very useful.
[0032]
Further, when data communication is performed between the ECUs 100 and 200 by, for example, the start-stop synchronization method, in the conventional configuration, only 256 types of data can be transmitted when the transmission data is 8 bits. Can be transmitted in a state switched to two stages, and consequently 512 types of data can be transmitted, and the receiving side only needs to perform 8-bit processing.
[0033]
Note that the present invention is not limited to the above-described embodiment, and the following modifications or extensions are possible.
On the transmission side, the level of the voltage signal to be output to the signal line is switched in three stages (0 V, 2.5 V, 5 V), but may be switched in more stages. However, in this case, it is necessary to add signal discriminating means for discriminating the levels of the voltage signals to the receiving side. The first and second signal discriminating means may be configured using an AD converter IC.
[0034]
In the example of FIG. 1, the output interface circuit 102 is configured by combining the transistors 103 and 104 and the resistors 105 to 110. However, the output interface circuit having the same function is configured by combining the resistor and another circuit element such as an FET. You can also. The pull-up resistor 206 included in the voltage dividing circuit 500 may be provided on the output interface circuit 102 side.
[Brief description of the drawings]
FIG. 1 is an electrical configuration diagram showing one embodiment of the present invention. FIG. 2 is a waveform diagram for explaining an operation.
In the figure, 3 is a signal line, 100 is an ECU (transmitting device), 101 is an MPU, 102 is an output interface circuit, 103 is a transistor (first switching element), 104 is a transistor (second switching element), and 109 is Voltage dividing resistor (third resistor), 110 is voltage dividing resistor (second resistor), 200 is ECU (receiving device), 201 is MPU, 202 is input interface circuit, 203 is comparator (first signal discriminating means) , 204 are comparators (second signal discriminating means), 205 is a reference voltage generating circuit, 206 is a pull-up resistor (first resistor), and 500 is a voltage dividing circuit.

Claims (1)

送信装置から受信装置へ信号ラインを介してシリアル信号を送信するためのシリアルデータ通信方式において、
前記送信装置側に設けられ、前記信号ラインに対し少なくとも3段階のレベルに設定された第1の電圧信号、第2の電圧信号及び第3の電圧信号を選択的に出力可能な出力インタフェース回路
前記受信装置側に設けられ、前記信号ラインを通じて前記第1の電圧信号が入力された状態と前記第2の電圧信号が入力された状態とで異なる論理レベルとなる二値信号を発生する第1信号弁別手段と、
前記受信装置側に設けられ、前記信号ラインを通じて前記第1の電圧信号が入力された状態と前記第3の電圧信号が入力された状態とで異なる論理レベルとなる二値信号を発生する第2信号弁別手段と
電源端子の出力電圧を分圧するための第1の抵抗及び第2の抵抗を有し、その分圧電圧を前記信号ラインに印加可能に設けられた分圧回路とを備え、
前記出力インタフェース回路は、オン状態で第3の抵抗を前記分圧回路内の第1の抵抗と並列に接続することにより前記信号ラインに前記第1の電圧信号を印加する第1のスイッチング素子と、オン状態で前記分圧回路内の第2の抵抗の両端を短絡することにより前記信号ラインに前記第3の電圧信号を印加する第2のスイッチング素子とを備え、それら第1及び第2のスイッチング素子が双方ともオフした状態で前記分圧回路による分圧電圧を前記第2の電圧信号として前記信号ラインに印加するように構成されていることを特徴とするシリアルデータ通信方式。
In a serial data communication system for transmitting a serial signal from a transmitting device to a receiving device via a signal line,
Provided in the transmitting apparatus side, a first voltage signal set at a level of at least three stages to the signal line, and a second voltage signal and the third selectively capable of outputting an output interface circuit voltage signals ,
A first signal that is provided on the receiving device side and that generates a binary signal having a different logic level between a state where the first voltage signal is input and a state where the second voltage signal is input via the signal line; Signal discriminating means;
A second signal which is provided on the receiving device side and generates a binary signal having a different logic level between a state where the first voltage signal is input and a state where the third voltage signal is input via the signal line; Signal discriminating means ;
A voltage divider having a first resistor and a second resistor for dividing the output voltage of the power supply terminal, the divider being provided so that the divided voltage can be applied to the signal line;
A first switching element that applies the first voltage signal to the signal line by connecting a third resistor in parallel with a first resistor in the voltage dividing circuit in an on state; A second switching element that applies the third voltage signal to the signal line by short-circuiting both ends of a second resistor in the voltage dividing circuit in an on state, and the first and second switching elements are provided. A serial data communication system , wherein a divided voltage by the voltage dividing circuit is applied to the signal line as the second voltage signal in a state where both switching elements are off .
JP13330996A 1996-05-28 1996-05-28 Serial data communication method Expired - Fee Related JP3541566B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13330996A JP3541566B2 (en) 1996-05-28 1996-05-28 Serial data communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13330996A JP3541566B2 (en) 1996-05-28 1996-05-28 Serial data communication method

Publications (2)

Publication Number Publication Date
JPH09321810A JPH09321810A (en) 1997-12-12
JP3541566B2 true JP3541566B2 (en) 2004-07-14

Family

ID=15101667

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13330996A Expired - Fee Related JP3541566B2 (en) 1996-05-28 1996-05-28 Serial data communication method

Country Status (1)

Country Link
JP (1) JP3541566B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001095519A1 (en) * 2000-06-09 2001-12-13 Mitsubishi Denki Kabushiki Kaisha Communication system
JP2002351588A (en) 2001-05-30 2002-12-06 Hitachi Ltd Signal receiving circuit, semiconductor device and system
CN112532216A (en) * 2020-12-04 2021-03-19 深圳佑驾创新科技有限公司 Multi-signal processing circuit and automobile

Also Published As

Publication number Publication date
JPH09321810A (en) 1997-12-12

Similar Documents

Publication Publication Date Title
JP3871381B2 (en) Buffer circuit with variable output impedance
EP0788059A1 (en) Driver circuit device
JPH024075A (en) Transmission system
CA2227890A1 (en) Universal sender device
US6690744B2 (en) Digital line driver circuit
US4268723A (en) Circuits and methods for initializing the loop current of a telephone set
JP3541566B2 (en) Serial data communication method
US6771194B2 (en) Parallel to serial conversion device and method
JPH0997839A (en) Integrated circuit having selectable function and function selecting method
JP3166920B2 (en) Receiving and signal processing equipment
US6246734B1 (en) Vehicle communication system
US5436582A (en) Comparator device for selecting received signals
JP3801009B2 (en) Encoder signal receiver with disconnection detection function
JP3099689B2 (en) Fieldbus interface circuit
JP3164139B2 (en) Bus interface device
JP3075016B2 (en) Fieldbus interface circuit
JPH118544A (en) Drive circuit and drive method
JP2680940B2 (en) D / A converter
EP1547043B1 (en) Signaling system and signaling arrangement
US20040105517A1 (en) Receiver circuit
SU1707777A1 (en) Discrete data communication system
JP3869271B2 (en) ISDN terminal device S / T point interface
JPH118545A (en) Drive circuit and drive method
JP2000013203A (en) Pulse shaping device and pulse shaping method
SU819982A1 (en) Telegraphy translator for transition from two-wire to four-wire lines

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20031211

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20031216

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040213

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040309

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040322

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees