JP2007295285A - Two-way communication system - Google Patents

Two-way communication system Download PDF

Info

Publication number
JP2007295285A
JP2007295285A JP2006120982A JP2006120982A JP2007295285A JP 2007295285 A JP2007295285 A JP 2007295285A JP 2006120982 A JP2006120982 A JP 2006120982A JP 2006120982 A JP2006120982 A JP 2006120982A JP 2007295285 A JP2007295285 A JP 2007295285A
Authority
JP
Japan
Prior art keywords
voltage
signal wave
communication line
communication device
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2006120982A
Other languages
Japanese (ja)
Other versions
JP4572865B2 (en
Inventor
Takehiro Uchida
岳大 内田
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.)
Toyota Motor Corp
Original Assignee
Toyota Motor 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 Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP2006120982A priority Critical patent/JP4572865B2/en
Publication of JP2007295285A publication Critical patent/JP2007295285A/en
Application granted granted Critical
Publication of JP4572865B2 publication Critical patent/JP4572865B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a two-way communication system which achieves mutual two-way communication of information through a communication line and is capable of detecting abnormality of the communication line. <P>SOLUTION: In the two-way communication system including an ECU 100, a unit 200, and a communication line 30 connecting the ECU 100 and the unit 200, the ECU 100 acquires transmission information of the unit 200 on the basis of a voltage fluctuation of a signal wave passing the communication line 30, in a half wavelength section where the voltage of the signal wave is equal to or higher than a prescribed voltage, and the unit 200 acquires transmission information of the ECU 100 on the basis of the frequency fluctuation of the signal wave, and a threshold is set which is lower than a lower limit voltage due to the voltage fluctuation of the signal wave in the half wavelength section where the voltage of the signal wave is equal to or higher than the prescribed voltage, and abnormality of the communication line 30 is determined by whether the signal wave traverses the threshold within a prescribed period or not. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、互いに情報を伝達し合う双方向通信システムに関する。   The present invention relates to a bidirectional communication system that transmits information to each other.

従来から、内燃機関の気筒毎に正常燃焼状態/失火状態またはワイヤハーネス等の異常状態を判定する、内燃機関の燃焼状態検出装置が知られている(例えば、特許文献1参照)。この燃焼状態検出装置は、燃焼状態検出手段により点火プラグとグランドとの間に流れる電流が検出され、信号変換手段によりこの検出された電流に基づき燃焼状態に応じた電圧信号が出力され、更に、オフセット手段により信号変換手段から出力された電圧信号が所定範囲にオフセットされるものである。この燃焼状態検出装置によれば、内燃機関が正常燃焼状態または失火状態の何れの状態にあるときでもオフセット手段から出力される信号が電源電圧またはグランド電位に固定されることがないため、回路上の正常/異常の確実な判定を可能にしようとしている。
特開平11−37900号公報
2. Description of the Related Art Conventionally, a combustion state detection device for an internal combustion engine that determines a normal combustion state / misfire state or an abnormal state such as a wire harness for each cylinder of the internal combustion engine is known (see, for example, Patent Document 1). In this combustion state detection device, a current flowing between the spark plug and the ground is detected by the combustion state detection means, and a voltage signal corresponding to the combustion state is output based on the detected current by the signal conversion means. The voltage signal output from the signal conversion means by the offset means is offset within a predetermined range. According to this combustion state detection device, the signal output from the offset means is not fixed to the power supply voltage or the ground potential even when the internal combustion engine is in a normal combustion state or a misfire state. It is trying to enable reliable determination of normal / abnormality.
JP-A-11-37900

しかしながら、上述の従来技術は、ECUはワイヤハーネスを介して相手の正常燃焼状態と失火状態の2つの状態を判定することができるとともに、そのワイヤハーネスの異常を判定することができるが、逆に、ECUはそのワイヤハーネスを介して相手に対して指令等の情報を伝達することができない。したがって、双方向に情報を伝達したい場合には、ワイヤハーネスを介して片方向に情報を伝達するとともにワイヤハーネスの異常を判定する上述の従来技術を利用することはできない。   However, in the above-described conventional technology, the ECU can determine two states of the other party's normal combustion state and misfire state via the wire harness, and can determine abnormality of the wire harness. The ECU cannot transmit information such as commands to the other party via the wire harness. Therefore, when it is desired to transmit information in both directions, it is impossible to use the above-described conventional technique for transmitting information in one direction via the wire harness and determining abnormality of the wire harness.

そこで、本発明は、通信線を介して互いに情報を双方向に伝達するとともに通信線の異常を検出することができる双方向通信システムの提供を目的とする。   SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a bidirectional communication system capable of bidirectionally transmitting information to each other via a communication line and detecting an abnormality in the communication line.

上記課題を解決するため、本発明として、
第1の通信装置と、
第2の通信装置と、
前記第1の通信装置と前記第2の通信装置を結ぶ通信線とを有する双方向通信システムであって、
前記第1の通信装置は、前記通信線を通る信号波の電圧が所定電圧以上ある半波長区間における前記信号波の電圧変動に基づいて前記第2の通信装置の伝送情報を取得し、
前記第2の通信装置は、前記信号波の周波数変動に基づいて前記第1の通信装置の伝送情報を取得し、
前記信号波の電圧が所定電圧以上ある半波長区間における前記信号波の電圧変動による下限電圧より小さい閾値が設定され、前記信号波が所定期間内に前記閾値を横切るか否かによって前記通信線の異常が判定される、ことを特徴とする双方向通信システムを提供する。
In order to solve the above problems, as the present invention,
A first communication device;
A second communication device;
A bidirectional communication system having a communication line connecting the first communication device and the second communication device,
The first communication device acquires transmission information of the second communication device based on a voltage fluctuation of the signal wave in a half wavelength section in which a voltage of a signal wave passing through the communication line is equal to or higher than a predetermined voltage.
The second communication device acquires transmission information of the first communication device based on a frequency variation of the signal wave,
A threshold value smaller than a lower limit voltage due to voltage fluctuation of the signal wave in a half-wavelength section where the voltage of the signal wave is equal to or higher than a predetermined voltage is set, and depending on whether the signal wave crosses the threshold value within a predetermined period, Provided is a bidirectional communication system characterized in that an abnormality is determined.

ここで、前記第2の通信装置の伝送情報の取得は、前記信号波の電圧を可変させるタイミングの直前及び/又は直後の所定期間では禁止されると好適である。   Here, it is preferable that the acquisition of the transmission information of the second communication device is prohibited in a predetermined period immediately before and / or immediately after the timing of changing the voltage of the signal wave.

また、前記第2の通信装置の伝送情報は、前記信号波の電圧変動によって第1の電圧が認識された場合に前記第1の電圧に対応する第1の情報であると判断され、前記信号波の電圧変動によって前記第1の電圧と所定値以上異なる第2の電圧が認識された場合に前記第2の電圧に対応する第2の情報であると判断されると好適である。   The transmission information of the second communication device is determined to be the first information corresponding to the first voltage when the first voltage is recognized by the voltage fluctuation of the signal wave, and the signal It is preferable that the second information corresponding to the second voltage is determined when a second voltage different from the first voltage by a predetermined value or more is recognized due to voltage fluctuation of the wave.

一方、前記第1の通信装置の伝送情報は、前記信号波の周波数変動によって第1の周波数が認識された場合に前記第1の周波数に対応する第3の情報であると判断され、前記信号波の周波数変動によって前記第1の周波数と所定値以上異なる第2の周波数が認識された場合に前記第2の周波数に対応する第4の情報であると判断されると好適である。   On the other hand, the transmission information of the first communication device is determined to be third information corresponding to the first frequency when the first frequency is recognized by the frequency variation of the signal wave, and the signal When a second frequency different from the first frequency by a predetermined value or more is recognized due to a wave frequency variation, it is preferable that the fourth information corresponding to the second frequency is determined.

また、前記信号波の電圧が所定期間内に前記閾値より小さい電圧が認識された場合に前記通信線の断線異常と判断されると好適であり、前記信号波の電圧が所定期間内に前記閾値より大きい電圧が認識された場合に前記通信線の電源線との短絡異常と判断されると好適である。   Preferably, when the voltage of the signal wave is smaller than the threshold value within a predetermined period, it is determined that the communication line is disconnected abnormally, and the voltage of the signal wave falls within the threshold value within the predetermined period. When a larger voltage is recognized, it is preferable to determine that the short-circuit abnormality between the communication line and the power supply line is present.

本発明によれば、通信線を介して互いに情報を双方向に伝達するとともに通信線の異常を検出することができる。   ADVANTAGE OF THE INVENTION According to this invention, while communicating information mutually via a communication line, the abnormality of a communication line can be detected.

以下、図面を参照して、本発明を実施するための最良の形態の説明を行う。図1は、本発明に係る双方向通信システムの第1の実施形態である。本第1の実施形態の双方向通信システムは、電子制御装置(いわゆる、ECU)100と、そのECU100によって制御される制御対象ユニット200(以下、「ユニット200」という)と、ECU100とユニット200を接続する通信線30とを有する制御システムである。ECU100の接続端子17とユニット200の接続端子27が、一本の通信線30によって、互いに通信可能なように結ばれる。   The best mode for carrying out the present invention will be described below with reference to the drawings. FIG. 1 is a first embodiment of a bidirectional communication system according to the present invention. The bidirectional communication system according to the first embodiment includes an electronic control unit (so-called ECU) 100, a control target unit 200 (hereinafter referred to as “unit 200”) controlled by the ECU 100, and the ECU 100 and the unit 200. A control system having a communication line 30 to be connected. The connection terminal 17 of the ECU 100 and the connection terminal 27 of the unit 200 are connected by a single communication line 30 so that they can communicate with each other.

ECU100は、通信線30を介して、ユニット200に対して一つ又は複数の指令情報をパルスで出力する。ECU100は、指令情報毎に割り当てられた固定周波数に信号波(パルス)の周波数を可変させることでユニット200に指令情報を伝送する。   The ECU 100 outputs one or more command information in pulses to the unit 200 via the communication line 30. The ECU 100 transmits the command information to the unit 200 by changing the frequency of the signal wave (pulse) to a fixed frequency assigned for each command information.

一方、ユニット200は、通信線30を介してその信号波を受信し、その信号波の周波数の違いによって指令情報の内容を判断する。逆に、ユニット200は、通信線30を介して、ECU100に対して一つ又は複数の状態情報を伝送する。状態情報とは、例えば、ユニット200の正常状態や異常状態等を表す情報であったり、ユニット200が有しているECU100に伝達すべき情報であったりする。ユニット200は、通信線30を通る信号波の電圧を可変させることでECU100に状態情報を伝送する。ECU100は、その信号波の電圧の違いによってユニット200からの状態情報の内容を判断する。   On the other hand, the unit 200 receives the signal wave via the communication line 30 and determines the content of the command information based on the difference in frequency of the signal wave. Conversely, the unit 200 transmits one or a plurality of state information to the ECU 100 via the communication line 30. The state information is, for example, information representing a normal state or an abnormal state of the unit 200, or information to be transmitted to the ECU 100 included in the unit 200. Unit 200 transmits state information to ECU 100 by varying the voltage of the signal wave passing through communication line 30. ECU 100 determines the content of the state information from unit 200 based on the difference in voltage of the signal wave.

以下、ECU100とユニット200のそれぞれの構成について詳細説明する。   Hereinafter, the configurations of the ECU 100 and the unit 200 will be described in detail.

ECU100は、演算や制御を行うCPU(中央演算処理装置)や、データの記憶を行うメモリや、外部との入出力を行うI/O部などを備えるマイコン10を有している。   The ECU 100 includes a microcomputer 10 that includes a CPU (Central Processing Unit) that performs calculations and controls, a memory that stores data, an I / O unit that performs input and output with the outside, and the like.

マイコン10は、ユニット200に一つ又は複数の指令情報を伝送するため、指令情報とパルスの周波数との既定の対応関係に従って、指令情報に応じた周波数のパルスを出力ポートP1から出力する。ユニット200に対する指令情報の内容として、例えば、「動作開始」、「動作禁止」、「動作内容変化」の3つの指令情報がある場合、マイコン10は、「動作開始」の指令をする場合には64ms周期のパルスを出力し、「動作禁止」の指令をする場合には96ms周期のパルスを出力し、「動作内容変化」の指令をする場合には128ms周期のパルスを出力する。なお、周波数は周期と等価であるため、便宜上、「*ms周期のパルス」と表現している。   In order to transmit one or more command information to the unit 200, the microcomputer 10 outputs a pulse having a frequency corresponding to the command information from the output port P1 according to a predetermined correspondence between the command information and the pulse frequency. For example, when there are three types of command information “operation start”, “operation prohibition”, and “operation content change” as the content of the command information for the unit 200, the microcomputer 10 issues a command “operation start”. A pulse with a period of 64 ms is output, a pulse with a period of 96 ms is output when an instruction of “operation prohibited” is issued, and a pulse with a period of 128 ms is output when an instruction of “change in operation content” is issued. Since the frequency is equivalent to the period, it is expressed as “* ms period pulse” for convenience.

マイコン10の出力ポートP1から出力されたパルスはトランジスタ11に入力される。そのパルスのHiレベル電圧とLoレベル電圧に従いトランジスタ11はON/OFFする。出力ポートP1がHiレベルであればトランジスタ11はONし、出力ポートP1がLoレベルであればトランジスタ11はOFFする。トランジスタ11がONしているときには、ユニット200内の定電圧電源24から抵抗22、通信線30、抵抗13及びツェナーダイオード12を通って電流が流れる。なお、抵抗13は保護抵抗であり抵抗22に比べて十分小さく、無くてもよい。トランジスタ11がONしている時の通信線30上の信号波のLo電圧(下限の電圧)をオフセットするツェナーダイオード12も、同様に、無くてもよい。   The pulse output from the output port P1 of the microcomputer 10 is input to the transistor 11. The transistor 11 is turned ON / OFF according to the Hi level voltage and Lo level voltage of the pulse. If the output port P1 is at Hi level, the transistor 11 is turned on, and if the output port P1 is at Lo level, the transistor 11 is turned off. When the transistor 11 is ON, a current flows from the constant voltage power supply 24 in the unit 200 through the resistor 22, the communication line 30, the resistor 13, and the Zener diode 12. The resistor 13 is a protective resistor, which is sufficiently smaller than the resistor 22 and may be omitted. Similarly, the Zener diode 12 for offsetting the Lo voltage (lower limit voltage) of the signal wave on the communication line 30 when the transistor 11 is ON may be omitted.

また、通信線30上の信号波の電圧は、抵抗14及び抵抗15から構成される分圧回路を介して分圧され、その分圧値がマイコン10のアナログ入力ポートADCに入力される。これにより、マイコン10は、マイコン10に内蔵されるA/Dコンバータによってアナログ値がデジタル値に変換され、信号線30上の信号波の電圧を認識可能となる。なお、抵抗14あるいは抵抗15は、トランジスタ11がONしている時の通信線30上の信号波のLo電圧を確保するため、回路設計上成立する範囲内で抵抗22に対してできるだけ大きい値とする。   The voltage of the signal wave on the communication line 30 is divided through a voltage dividing circuit composed of the resistor 14 and the resistor 15, and the divided value is input to the analog input port ADC of the microcomputer 10. Thus, the microcomputer 10 can convert the analog value into a digital value by the A / D converter built in the microcomputer 10 and recognize the voltage of the signal wave on the signal line 30. Note that the resistor 14 or the resistor 15 has a value as large as possible with respect to the resistor 22 within a range established in circuit design in order to secure the Lo voltage of the signal wave on the communication line 30 when the transistor 11 is ON. To do.

一方、ユニット200は、ECU100と同様に、演算や制御を行うCPU(中央演算処理装置)や、データの記憶を行うメモリや、外部との入出力を行うI/O部などを備えるマイコン20を有している。   On the other hand, the unit 200, like the ECU 100, includes a microcomputer 20 that includes a CPU (central processing unit) that performs calculations and controls, a memory that stores data, an I / O unit that performs input and output with the outside, and the like. Have.

ECU100が通信線30を介して送信した信号波は、マイコン20の入力ポートP3に入力される。マイコン20は、信号波の周波数(周期)の違いによってその信号波に含まれるECU100からの指令情報の内容を判断する。マイコン20は、上述の例示を引用すると信号波の周期が64msの場合には「動作開始」の指令と判断し、その指令に従った所定の処理を実行する。   A signal wave transmitted from the ECU 100 via the communication line 30 is input to the input port P3 of the microcomputer 20. The microcomputer 20 determines the content of command information from the ECU 100 included in the signal wave based on the difference in frequency (cycle) of the signal wave. To cite the above example, the microcomputer 20 determines that it is an “operation start” command when the period of the signal wave is 64 ms, and executes predetermined processing according to the command.

また、マイコン20は、ECU100に2つの状態情報を伝達するため、状態情報とHi/Loレベルとの既定の対応関係に従って、状態情報に応じたレベルの電圧を出力ポートP4から出力する。ECU100に対して伝達すべき状態情報の内容として、例えば、ユニット200自体の動作状態や、ユニット200が他の装置から取得した情報や、ダイアグ情報が挙げられる。ECU100に対して伝達すべき状態情報の内容として、例えば、「正常動作中」及び「異常検出中」の2つの状態情報がある場合、マイコン20は、「正常動作中」の応答をする場合にはLoレベルの電圧を出力ポートP4から出力し、「異常検出中」の応答をする場合にはHiレベルの電圧を出力ポートP4から出力する。   Further, in order to transmit the two state information to the ECU 100, the microcomputer 20 outputs a voltage of a level corresponding to the state information from the output port P4 according to a predetermined correspondence between the state information and the Hi / Lo level. The contents of the state information to be transmitted to the ECU 100 include, for example, the operation state of the unit 200 itself, information acquired by the unit 200 from other devices, and diagnostic information. For example, when there are two pieces of state information “normal operation” and “abnormality detection” as the contents of the state information to be transmitted to the ECU 100, the microcomputer 20 responds “normal operation”. Outputs a Lo level voltage from the output port P4, and outputs a Hi level voltage from the output port P4 when responding “abnormality detection”.

マイコン20の出力ポートP4から出力された電圧はトランジスタ21に入力される。その電圧のHiレベル電圧とLoレベル電圧に従いトランジスタ21はON/OFFする。出力ポートP4がHiレベルであればトランジスタ21はONし、出力ポートP4がLoレベルであればトランジスタ21はOFFする。トランジスタ21がONしているときには、ユニット200内の定電圧電源24から抵抗22、抵抗23を通って電流が流れる。トランジスタ21がON/OFFすることによって、通信線30上の信号波の電圧は変化する。通信線30上の信号波の電圧は、上述したように、抵抗14及び抵抗15から構成される分圧回路とA/Dコンバータによって、ECU100のマイコン10によって認識される。したがって、ECU100のマイコン10は、通信線30上の信号波の電圧の違いによってその信号波に含まれるユニット200からの状態情報の内容を判断する。マイコン10は、その状態情報に従った所定の処理を必要であれば実行する。   The voltage output from the output port P4 of the microcomputer 20 is input to the transistor 21. The transistor 21 is turned ON / OFF according to the Hi level voltage and the Lo level voltage. If the output port P4 is at Hi level, the transistor 21 is turned on, and if the output port P4 is at Lo level, the transistor 21 is turned off. When the transistor 21 is ON, a current flows from the constant voltage power supply 24 in the unit 200 through the resistor 22 and the resistor 23. When the transistor 21 is turned ON / OFF, the voltage of the signal wave on the communication line 30 changes. As described above, the voltage of the signal wave on the communication line 30 is recognized by the microcomputer 10 of the ECU 100 by the voltage dividing circuit including the resistors 14 and 15 and the A / D converter. Therefore, the microcomputer 10 of the ECU 100 determines the content of the state information from the unit 200 included in the signal wave based on the voltage difference of the signal wave on the communication line 30. The microcomputer 10 executes a predetermined process according to the state information if necessary.

図2は、本発明に係る双方向通信システムの第1の実施形態の動作波形を示した図である。図2(a)は、通信線30の電圧波形(すなわち、信号波の電圧波形)を示す。図2(b)は、ユニット200のマイコン20の出力ポートP4の電圧レベルを示す。図2(c)は、ECU100のマイコン10の内部フラグ(ユニット200からの状態情報についての判定フラグ)を示す。図2(d)は、ECU100のマイコン10の出力ポートP1の電圧レベルを示す。また、図2に示される「処理タイミング」とは(図2上には、1から40まで記載)、ECU100のマイコン10の処理タイミングを示す。処理タイミングの間隔を、例えば、8msとする。以下、各処理タイミングをt1,t2のように「t*」で表す。   FIG. 2 is a diagram showing operation waveforms of the first embodiment of the bidirectional communication system according to the present invention. FIG. 2A shows the voltage waveform of the communication line 30 (that is, the voltage waveform of the signal wave). FIG. 2B shows the voltage level of the output port P4 of the microcomputer 20 of the unit 200. FIG. FIG. 2C shows an internal flag of the microcomputer 10 of the ECU 100 (determination flag for state information from the unit 200). FIG. 2D shows the voltage level of the output port P <b> 1 of the microcomputer 10 of the ECU 100. Further, “processing timing” shown in FIG. 2 (described in FIG. 2 from 1 to 40) indicates processing timing of the microcomputer 10 of the ECU 100. The processing timing interval is 8 ms, for example. Hereinafter, each processing timing is represented by “t *” such as t1 and t2.

図2に示されるように、ECU100のマイコン10の出力ポートP1がHiレベルの場合には、ユニット200のマイコン20の出力ポートP4がHiレベル/Loレベルにかかわらず、トランジスタ11のONによって通信線30の信号波の電圧はLoレベル(電圧値V)になる。出力ポートP1及びP4がいずれもLoレベルの場合には、トランジスタ11及び21のOFFによって通信線30の信号波の電圧は第1段目のHiレベル(定電圧電源24の電圧値に略等しい電圧値VH1)になる。出力ポートP1がLoレベルで出力ポートP4がHiレベルの場合には、トランジスタ11のOFF且つトランジスタ21のONによって通信線30の信号波の電圧は第2段目のHiレベル(抵抗22と抵抗23とによる定電圧電源24の電圧値の分圧値に略等しい電圧値VH2)になる。 As shown in FIG. 2, when the output port P1 of the microcomputer 10 of the ECU 100 is at the Hi level, the communication line is turned on by turning on the transistor 11 regardless of whether the output port P4 of the microcomputer 20 of the unit 200 is at the Hi level / Lo level. The voltage of the 30 signal waves is at the Lo level (voltage value V L ). When both the output ports P1 and P4 are at the Lo level, the voltage of the signal wave of the communication line 30 is set to the Hi level of the first stage (a voltage approximately equal to the voltage value of the constant voltage power supply 24) by turning off the transistors 11 and 21. Value V H1 ). When the output port P1 is at the Lo level and the output port P4 is at the Hi level, the voltage of the signal wave on the communication line 30 is set to the Hi level (resistor 22 and resistor 23) by turning off the transistor 11 and turning on the transistor 21. The voltage value V H2 ) is approximately equal to the divided voltage value of the constant voltage power supply 24.

ユニット200のマイコン20は、図2(a)に示される信号波のエッジ間隔によってその信号波に含まれる指令情報の内容を判断する。つまり、マイコン20は、例えば、立ち上がりエッジの間隔が64ms(t2〜t10)であれば「動作開始」の指令と判断し、立ち上がりエッジの間隔が128ms(t22〜t38)であれば「動作内容変化」の指令と判断する。   The microcomputer 20 of the unit 200 determines the content of the command information included in the signal wave based on the edge interval of the signal wave shown in FIG. That is, for example, the microcomputer 20 determines that the command is “start operation” if the rising edge interval is 64 ms (t2 to t10), and “operating content change” if the rising edge interval is 128 ms (t22 to t38). "

一方、ECU100のマイコン10は、出力ポートP1にLoレベルを出力している間における図2(a)に示される信号波の電圧の変動によってその信号波に含まれる状態情報の内容を判断する。つまり、マイコン10は、通信線30の信号波30の電圧がVH1と認識すれば、VH1に対応する状態情報であると判断し、通信線30の信号波30の電圧がVH2と認識すれば、VH2に対応する状態情報であると判断する。上述の例示を引用すると、マイコン10は、VH1と認識した場合「正常動作中」であると判断し、VH2と認識した場合「異常検出中」であると判断する。 On the other hand, the microcomputer 10 of the ECU 100 determines the content of the state information included in the signal wave based on the voltage fluctuation of the signal wave shown in FIG. 2A while the Lo level is being output to the output port P1. That is, the microcomputer 10 recognizes the voltage of the signal wave 30 of the communication line 30 if recognized as V H1, determines that the state information corresponding to V H1, the voltage of the signal wave 30 of the communication line 30 and V H2 Then, it is determined that the state information corresponds to VH2 . To cite the above example, the microcomputer 10 determines that “normal operation” is performed when it is recognized as V H1 , and determines that “abnormality is detected” when it is recognized as V H2 .

ここで、ユニット200のマイコン20は、任意のタイミングで、状態情報に応じたレベルの電圧を出力ポートP4から出力することができる。図2に示されるように、ユニット200のマイコン20は、ECU100のマイコン10の出力ポートP1がHiレベル/Loレベルにかかわらず(つまり、マイコン10と非同期で)、出力ポートP4の電圧レベルを切り替えることができる。   Here, the microcomputer 20 of the unit 200 can output a voltage of a level corresponding to the state information from the output port P4 at an arbitrary timing. As shown in FIG. 2, the microcomputer 20 of the unit 200 switches the voltage level of the output port P4 regardless of whether the output port P1 of the microcomputer 10 of the ECU 100 is Hi level / Lo level (that is, asynchronously with the microcomputer 10). be able to.

また、ECU100のマイコン10は、通信線30の信号波30の電圧を可変させるタイミングの直前及び/又は直後の所定期間では、通信線30の信号波30の電圧認識によって、ユニット200からの状態情報を判断しない、若しくは、その判断結果は無効とする。すなわち、出力ポートP1の電圧レベルの切り替えタイミング(具体的には、t2,t6,t10,t14,t22,t30,t38)では、通信線30の信号波30の電圧認識によって、ユニット200からの状態情報を判断しない、若しくは、その判断結果は無効とする。   Further, the microcomputer 10 of the ECU 100 detects the state information from the unit 200 by recognizing the voltage of the signal wave 30 of the communication line 30 in a predetermined period immediately before and / or immediately after the timing of changing the voltage of the signal wave 30 of the communication line 30. Is not judged, or the judgment result is invalid. That is, at the switching timing (specifically, t2, t6, t10, t14, t22, t30, t38) of the voltage level of the output port P1, the state from the unit 200 is recognized by the voltage recognition of the signal wave 30 of the communication line 30. Information is not judged, or the judgment result is invalid.

言い換えれば、マイコン10は、t3,t4,t5などのタイミングでのみ(図2(d)の「判定有効」と記載の区間に該当するタイミング)、通信線30の信号波30の電圧認識による状態情報の判断を行う。図2の場合、判定有効となるタイミングは、出力ポートP1の電圧レベルをHiレベルからLoレベルへ切り替えたタイミングの次の処理タイミングから出力ポートP1の電圧レベルをLoレベルからHiレベルへ次に切り替えたタイミングの前の処理タイミングまでに相当する。   In other words, the microcomputer 10 is in a state based on the voltage recognition of the signal wave 30 of the communication line 30 only at timings such as t3, t4, and t5 (timing corresponding to the section described as “validation valid” in FIG. 2D). Make information decisions. In the case of FIG. 2, the timing at which the determination is valid is performed by switching the voltage level of the output port P1 from the Lo level to the Hi level next from the processing timing next to the timing when the voltage level of the output port P1 is switched from the Hi level to the Lo level. This corresponds to the processing timing before the previous timing.

また、マイコン10には、通信線30の異常を検出するための断線検出閾値VTHが設定されており、マイコン10は、図2(a)の電圧波形と断線検出閾値VTHとの関係に基づいて、通信線30の異常を検出する。断線検出閾値VTHは、第2のHiレベル電圧VH2とLoレベル電圧Vの間に設定されている。 Further, the microcomputer 10 is set with a disconnection detection threshold value V TH for detecting an abnormality in the communication line 30, and the microcomputer 10 has a relationship between the voltage waveform and the disconnection detection threshold value V TH in FIG. Based on this, an abnormality in the communication line 30 is detected. The disconnection detection threshold V TH is set between the second Hi level voltage V H2 and the Lo level voltage V L.

規定時間以内に(例えば、出力ポートP1から出力される指令パルスの1波長(t2〜t10)の間に)通信線30の信号波の電圧が電圧断線検出閾値VTHを横切ることが認識された場合には、マイコン10は通信線30が正常であると判断する(図2の場合、t6で横切っている)。通信線30の信号波の電圧が電圧断線検出閾値VTHを横切っているか否かは、規定時間以内に電圧断線検出閾値VTHより大きい電圧と電圧断線検出閾値VTHより小さい電圧が検出されるか否かによって判断可能である。 Within a specified time (e.g., during one wavelength of command pulses output from the output port P1 (t2~t10)) voltage of the signal wave of the communication line 30 that crosses the voltage disconnection detection threshold value V TH is recognized In such a case, the microcomputer 10 determines that the communication line 30 is normal (in the case of FIG. 2, it crosses at t6). Is whether the voltage of the signal wave of the communication line 30 crosses the voltage disconnection detection threshold V TH, the voltage disconnection detection threshold V TH voltage greater than the voltage disconnection detection threshold value V TH less than the voltage is detected within a specified time It can be determined by whether or not.

一方、規定時間以内に通信線30の信号波の電圧が電圧断線検出閾値VTHを横切ることが認識されない場合には、マイコン10は通信線30が異常であると判断する。マイコン10は、規定時間以内において通信線30の信号波の電圧が電圧断線検出閾値VTHより小さい電圧の場合には、通信線30の断線異常と判断し、規定時間以内において通信線30の信号波の電圧が電圧断線検出閾値VTHより大きい電圧の場合には、通信線30の+Bショート異常(通信線30と電気負荷に電力を供給する電源線との短絡)と判断する。 On the other hand, if it is not recognized that the voltage of the signal wave of the communication line 30 crosses the voltage disconnection detection threshold V TH within the specified time, the microcomputer 10 determines that the communication line 30 is abnormal. The microcomputer 10, when the voltage of the signal wave of the communication line 30 of the voltage disconnection detection threshold value V TH less than the voltage at within specified time, determines that the disconnection abnormality of the communication line 30, the signal of the communication line 30 in within the specified time When the voltage of the wave is higher than the voltage disconnection detection threshold V TH , it is determined that the communication line 30 has a + B short circuit abnormality (short circuit between the communication line 30 and the power supply line that supplies power to the electric load).

図3は、本発明に係る双方向通信システムの第2の実施形態である。本第2の実施形態の双方向通信システムは、上述の第1の実施形態と同様に、ECU100と、そのECU100によって制御されるユニット200と、ECU100とユニット200を接続する通信線30とを有する制御システムである。   FIG. 3 is a second embodiment of the bidirectional communication system according to the present invention. The bidirectional communication system according to the second embodiment includes the ECU 100, the unit 200 controlled by the ECU 100, and the communication line 30 that connects the ECU 100 and the unit 200, as in the first embodiment. Control system.

第2の実施形態について、第1の実施形態と同様の構成部位については同一の符号を付し、第1の実施形態と同様の機能についてはその説明を省略又は簡略する。   In the second embodiment, the same components as those in the first embodiment are denoted by the same reference numerals, and descriptions of functions similar to those in the first embodiment are omitted or simplified.

ユニット200は、第1の実施形態に比較して、ECU100に伝達すべき状態情報の数を3つに増やすため、抵抗25及びトランジスタ26が追加され、マイコン20の出力ポートP5を使ってトランジスタ26が駆動される。   Compared with the first embodiment, the unit 200 is provided with a resistor 25 and a transistor 26 in order to increase the number of state information to be transmitted to the ECU 100 to three, and the transistor 26 using the output port P5 of the microcomputer 20 is added. Is driven.

マイコン10のトランジスタ11がONしているときには、ユニット200のトランジスタ26がOFFの場合にはユニット200内の定電圧電源24から抵抗22、通信線30、抵抗13及びツェナーダイオード12を通って電流が流れ、ユニット200のトランジスタ26がONの場合にはユニット200内の定電圧電源24から抵抗22,25、通信線30、抵抗13及びツェナーダイオード12を通って電流が流れる。なお、抵抗13は保護抵抗であり抵抗22,25に比べて十分小さく、無くてもよい。トランジスタ11がONしている時の通信線30上の信号波のLo電圧(下限の電圧)をオフセットするツェナーダイオード12も、同様に、無くてもよい。   When the transistor 11 of the microcomputer 10 is ON, when the transistor 26 of the unit 200 is OFF, current flows from the constant voltage power supply 24 in the unit 200 through the resistor 22, the communication line 30, the resistor 13, and the Zener diode 12. When the transistor 26 of the unit 200 is ON, a current flows from the constant voltage power supply 24 in the unit 200 through the resistors 22 and 25, the communication line 30, the resistor 13, and the Zener diode 12. The resistor 13 is a protective resistor, which is sufficiently smaller than the resistors 22 and 25 and may be omitted. Similarly, the Zener diode 12 for offsetting the Lo voltage (lower limit voltage) of the signal wave on the communication line 30 when the transistor 11 is ON may be omitted.

ユニット200のマイコン20は、ECU100に3つの状態情報を伝達するため、状態情報とHi/Loレベルとの既定の対応関係に従って、状態情報に応じたレベルの電圧を出力ポートP4及びP5から出力する。   The microcomputer 20 of the unit 200 outputs the voltage corresponding to the state information from the output ports P4 and P5 in accordance with a predetermined correspondence between the state information and the Hi / Lo level in order to transmit the three state information to the ECU 100. .

マイコン20の出力ポートP4から出力された電圧はトランジスタ21に入力され、マイコン20の出力ポートP5から出力された電圧はトランジスタ26に入力される。その電圧のHiレベル電圧とLoレベル電圧に従いトランジスタ21,26はON/OFFする。出力ポートP4がHiレベルであればトランジスタ21はONし、出力ポートP4がLoレベルであればトランジスタ21はOFFする。出力ポートP5とトランジスタ25の関係も同じである。トランジスタ21がONしているときにトランジスタ26がOFFしているときには、ユニット200内の定電圧電源24から抵抗22、抵抗23を通って電流が流れ、トランジスタ21がONしているときにトランジスタ26がONしているときには、ユニット200内の定電圧電源24から抵抗22,25、抵抗23を通って電流が流れる。トランジスタ21,26がON/OFFすることによって、通信線30上の信号波の電圧は変化する。したがって、上述と同様に、ECU100のマイコン10は、通信線30上の信号波の電圧の違いによってその信号波に含まれるユニット200からの状態情報の内容を判断する。   The voltage output from the output port P4 of the microcomputer 20 is input to the transistor 21, and the voltage output from the output port P5 of the microcomputer 20 is input to the transistor 26. The transistors 21 and 26 are turned ON / OFF according to the Hi level voltage and the Lo level voltage. If the output port P4 is at Hi level, the transistor 21 is turned on, and if the output port P4 is at Lo level, the transistor 21 is turned off. The relationship between the output port P5 and the transistor 25 is the same. When the transistor 26 is OFF when the transistor 21 is ON, a current flows from the constant voltage power supply 24 in the unit 200 through the resistors 22 and 23. When the transistor 21 is ON, the transistor 26 Is on, current flows from the constant voltage power supply 24 in the unit 200 through the resistors 22 and 25 and the resistor 23. When the transistors 21 and 26 are turned ON / OFF, the voltage of the signal wave on the communication line 30 changes. Therefore, similarly to the above, the microcomputer 10 of the ECU 100 determines the content of the state information from the unit 200 included in the signal wave based on the voltage difference of the signal wave on the communication line 30.

ECU100のマイコン10の出力ポートP1がHiレベルの場合には、マイコン20の出力ポートP4やP5がHiレベル/Loレベルにかかわらず、トランジスタ11のONによって通信線30の信号波の電圧はLoレベル(電圧値VH1)になる。出力ポートP1がLoレベル且つ出力ポートP4がLoレベルの場合には、出力ポートP5がHiレベル/Loレベルにかかわらず、トランジスタ11のOFF且つトランジスタ21のOFFによって通信線30の信号波の電圧は第1段目のHiレベル(定電圧電源24の電圧値に略等しい電圧値VH1)になる。出力ポートP1がLoレベル且つ出力ポートP4がHiレベル且つ出力ポートP5がHiレベルの場合には、トランジスタ11のOFF且つトランジスタ21及び26のONによって通信線30の信号波の電圧は第2段目のHiレベル(抵抗22と抵抗23と抵抗25とによる定電圧電源24の電圧値の分圧値に略等しい電圧値VH2)になる。出力ポートP1がLoレベル且つ出力ポートP4がHiレベル且つ出力ポートP5がLoレベルの場合には、トランジスタ11のOFF且つトランジスタ21のON且つトランジスタ26のOFFによって通信線30の信号波の電圧は第3段目のHiレベル(抵抗22と抵抗23による定電圧電源24の電圧値の分圧値に略等しい電圧値VH3)になる。 When the output port P1 of the microcomputer 10 of the ECU 100 is at the Hi level, the voltage of the signal wave on the communication line 30 is set to the Lo level when the transistor 11 is turned on regardless of whether the output ports P4 and P5 of the microcomputer 20 are at the Hi level / Lo level. (Voltage value V H1 ). When the output port P1 is at the Lo level and the output port P4 is at the Lo level, the voltage of the signal wave on the communication line 30 is reduced by turning off the transistor 11 and turning off the transistor 21 regardless of whether the output port P5 is at the Hi level / Lo level. It becomes the Hi level of the first stage (voltage value V H1 approximately equal to the voltage value of the constant voltage power supply 24). When the output port P1 is at the Lo level, the output port P4 is at the Hi level, and the output port P5 is at the Hi level, the voltage of the signal wave on the communication line 30 is set to the second stage by turning off the transistor 11 and turning on the transistors 21 and 26. The Hi level (voltage value V H2 approximately equal to the divided voltage value of the constant voltage power supply 24 by the resistor 22, the resistor 23, and the resistor 25). When the output port P1 is at the Lo level, the output port P4 is at the Hi level, and the output port P5 is at the Lo level, the voltage of the signal wave on the communication line 30 is reduced by turning off the transistor 11, turning on the transistor 21, and turning off the transistor 26. The third level becomes the Hi level (voltage value V H3 approximately equal to the divided voltage value of the constant voltage power supply 24 by the resistors 22 and 23).

したがって、ECU100のマイコン10は、出力ポートP1にLoレベルを出力している間における信号波の電圧振幅の変動によってその信号波に含まれる状態情報の内容を判断する。つまり、マイコン10は、通信線30の信号波30の電圧がVH1と認識すれば、VH1に対応する状態情報であると判断し、通信線30の信号波30の電圧がVH2と認識すれば、VH2に対応する状態情報であると判断し、通信線30の信号波30の電圧がVH3と認識すれば、VH3に対応する状態情報であると判断する。 Therefore, the microcomputer 10 of the ECU 100 determines the content of the state information included in the signal wave based on the fluctuation of the voltage amplitude of the signal wave while outputting the Lo level to the output port P1. That is, the microcomputer 10 recognizes the voltage of the signal wave 30 of the communication line 30 if recognized as V H1, determines that the state information corresponding to V H1, the voltage of the signal wave 30 of the communication line 30 and V H2 if, it is determined that the state information corresponding to V H2, the voltage of the signal wave 30 of the communication line 30 if recognition and V H3, it is determined that the state information corresponding to the V H3.

また、マイコン10には、通信線30の異常を検出するための断線検出閾値VTHが設定されており、通信線30の信号波の電圧波形と断線検出閾値VTHとの関係に基づいて、通信線30の異常を検出する。断線検出閾値VTHは、第2のHiレベル電圧VH2と第3のHiレベル電圧VH3のうち小さいほうの電圧とLoレベル電圧Vの間に設定されている。 Further, the microcomputer 10 has a disconnection detection threshold value V TH for detecting an abnormality of the communication line 30, and based on the relationship between the voltage waveform of the signal wave of the communication line 30 and the disconnection detection threshold value V TH , An abnormality in the communication line 30 is detected. The disconnection detection threshold V TH is set between the smaller one of the second Hi level voltage V H2 and the third Hi level voltage V H3 and the Lo level voltage V L.

したがって、第1の実施形態と同様に、規定時間以内に通信線30の信号波の電圧が電圧断線検出閾値VTHを横切ることが認識された場合には、マイコン10は通信線30が正常であると判断し、マイコン10は、規定時間以内において通信線30の信号波の電圧が電圧断線検出閾値VTHより小さい電圧の場合には、通信線30の断線異常と判断し、規定時間以内において通信線30の信号波の電圧が電圧断線検出閾値VTHより大きい電圧の場合には、通信線30の+Bショート異常(電源線と通信線30との短絡)と判断する。 Therefore, as in the first embodiment, when it is recognized that the voltage of the signal wave of the communication line 30 crosses the voltage disconnection detection threshold V TH within a specified time, the microcomputer 10 indicates that the communication line 30 is normal. determines that the microcomputer 10, when the voltage of the signal wave of the communication line 30 of the voltage disconnection detection threshold value V TH less than the voltage at within specified time, determines that the disconnection abnormality of the communication line 30, in within the specified time When the voltage of the signal wave of the communication line 30 is larger than the voltage disconnection detection threshold V TH , it is determined that the communication line 30 is + B short-circuit abnormality (short-circuit between the power line and the communication line 30).

なお、ユニット200のマイコン20は、第1の実施形態と同様に、信号波のエッジ間隔によってその信号波に含まれる指令情報の内容を判断することができるとともに、任意のタイミングで、状態情報に応じたレベルの電圧を出力ポートP4から出力することができる。さらに、ECU100のマイコン10は、第1の実施形態と同様に、通信線30の信号波30の電圧を可変させるタイミングの直前及び/又は直後の所定期間では、通信線30の信号波30の電圧認識によって、ユニット200からの状態情報を判断しない、若しくは、その判断結果は無効とする。   As in the first embodiment, the microcomputer 20 of the unit 200 can determine the content of the command information included in the signal wave based on the edge interval of the signal wave, and can update the state information at an arbitrary timing. A voltage of a corresponding level can be output from the output port P4. Further, as in the first embodiment, the microcomputer 10 of the ECU 100 detects the voltage of the signal wave 30 of the communication line 30 during a predetermined period immediately before and / or immediately after the timing of changing the voltage of the signal wave 30 of the communication line 30. The status information from the unit 200 is not judged by the recognition, or the judgment result is invalid.

したがって、上述の実施形態によれば、ECU100は、通信線30を通る信号波の電圧がHiレベルにある半波長区間におけるその信号波の電圧変動に基づいてユニット200が伝送した状態情報を取得する。したがって、ユニット200は、信号波の振幅方向の電圧がECU100に伝達すべき状態情報に対応する電圧となるようにトランジスタをON/OFFすることによって、ECU100にその状態情報を伝達することができる。   Therefore, according to the above-described embodiment, the ECU 100 acquires the state information transmitted by the unit 200 based on the voltage fluctuation of the signal wave in the half wavelength section where the voltage of the signal wave passing through the communication line 30 is at the Hi level. . Therefore, the unit 200 can transmit the state information to the ECU 100 by turning on / off the transistor so that the voltage in the amplitude direction of the signal wave becomes a voltage corresponding to the state information to be transmitted to the ECU 100.

また、上述の実施形態によれば、ユニット200は、通信線30を通る信号波の周波数変動に基づいてECU100が伝送した指令情報を取得する。したがって、ECU100は、信号波の周波数がユニット200に伝達すべき指令情報に対応する周波数となるようにトランジスタをON/OFFすることによって、ユニット200にその指令情報を伝達することができる。   Further, according to the above-described embodiment, the unit 200 acquires the command information transmitted by the ECU 100 based on the frequency fluctuation of the signal wave passing through the communication line 30. Therefore, the ECU 100 can transmit the command information to the unit 200 by turning the transistor ON / OFF so that the frequency of the signal wave becomes a frequency corresponding to the command information to be transmitted to the unit 200.

また、上述の実施形態によれば、第2のHiレベル電圧VH2もしくは第3のHiレベル電圧VH3より小さい断線検出閾値VTHが設定され、信号波が規定時間内にその閾値VTHを横切るか否かによって通信線30の異常が判定される。したがって、一本の通信線30で双方向に情報の伝送を行っても、通信線30の異常判定を実行することができる。 Further, according to the above-described embodiment, the disconnection detection threshold V TH smaller than the second Hi level voltage V H2 or the third Hi level voltage V H3 is set, and the signal wave reduces the threshold V TH within a specified time. The abnormality of the communication line 30 is determined depending on whether or not it crosses. Therefore, even if information is transmitted bi-directionally with a single communication line 30, it is possible to execute an abnormality determination of the communication line 30.

また、上述の実施形態によれば、ユニット200が伝送した状態情報の取得は、出力ポートP1の電圧レベルの切り替えタイミングの直前及び/又は直後の所定期間では禁止される。したがって、信号波の立ち上がり前後や立ち下がり前後に発生しやすい電圧のハンチングやなまりを避けて信号波の電圧が認識されるので、電圧の誤検出やその誤検出による状態情報の誤認識を防止することができる。   Further, according to the above-described embodiment, the acquisition of the status information transmitted by the unit 200 is prohibited during a predetermined period immediately before and / or immediately after the voltage level switching timing of the output port P1. Therefore, the voltage of the signal wave is recognized avoiding voltage hunting and rounding that are likely to occur before and after the rise and fall of the signal wave, thus preventing erroneous detection of voltage and status information due to the false detection. be able to.

また、上述の実施形態によれば、複数の指令情報を相手に伝達させ複数の状態情報をその相手から取得したい場合であっても、両者を接続する通信線を複数設定する必要がない。その上、そのような場合であっても、通信線を増加させる必要がないので、複数設定された通信線の異常をそれぞれ検出する必要はなく、コストも抑制することができる。   Further, according to the above-described embodiment, even when a plurality of command information is transmitted to the other party and a plurality of state information is desired to be acquired from the other party, there is no need to set a plurality of communication lines that connect the two. In addition, even in such a case, there is no need to increase the number of communication lines, so that it is not necessary to detect each of a plurality of communication line abnormalities, and costs can be reduced.

以上、本発明の好ましい実施例について詳説したが、本発明は、上述した実施例に制限されることはなく、本発明の範囲を逸脱することなく、上述した実施例に種々の変形及び置換を加えることができる。   The preferred embodiments of the present invention have been described in detail above. However, the present invention is not limited to the above-described embodiments, and various modifications and substitutions can be made to the above-described embodiments without departing from the scope of the present invention. Can be added.

例えば、上述の実施形態において、ECU100が特許請求の範囲に記載の「第1の通信装置」に相当し、ユニット200が特許請求の範囲に記載の「第2の通信装置」に相当するが、「通信装置」は相手に情報を伝達することが可能な装置であればよいので、「通信装置」には、通信機能のみ有する装置だけでなく、その機能の一部として通信機能を備えた装置も含まれる。   For example, in the above-described embodiment, the ECU 100 corresponds to the “first communication device” described in the claims, and the unit 200 corresponds to the “second communication device” described in the claims. The “communication device” only needs to be a device capable of transmitting information to the other party. Therefore, the “communication device” includes not only a device having only a communication function but also a device having a communication function as a part of the function. Is also included.

また、上述の実施形態では、ECU100が通信線30を通る信号波の周波数を可変させることでユニット200に指令情報を伝送し、ユニット200が通信線30を通る信号波の電圧を可変させることでECU100に状態情報を伝送しているが、逆に、ECU100が通信線30を通る信号波の周波数を可変させることでユニット200に状態情報を伝送し、ユニット200が通信線30を通る信号波の電圧を可変させることでECU100に指令情報を伝送するとしてもよい。   Further, in the above-described embodiment, the ECU 100 transmits the command information to the unit 200 by changing the frequency of the signal wave passing through the communication line 30, and the unit 200 changes the voltage of the signal wave passing through the communication line 30. Although the state information is transmitted to the ECU 100, conversely, the ECU 100 transmits the state information to the unit 200 by changing the frequency of the signal wave passing through the communication line 30, and the unit 200 transmits the signal wave passing through the communication line 30. The command information may be transmitted to the ECU 100 by changing the voltage.

また、上述の実施形態では、マイコン10は、マイコン10に内蔵されるA/Dコンバータによってアナログ値がデジタル値に変換され、信号線30上の信号波の電圧を認識していたが、図1及び図3に示されるように、ラッチ回路16によって信号線30上の信号波の電圧を認識してもよい。ラッチ回路16の出力がマイコン10の入力ポートP2に入力される。これにより、通信線30の異常検出が上述と同様に可能となる。   In the above embodiment, the microcomputer 10 recognizes the voltage of the signal wave on the signal line 30 by converting the analog value into a digital value by the A / D converter built in the microcomputer 10. As shown in FIG. 3, the voltage of the signal wave on the signal line 30 may be recognized by the latch circuit 16. The output of the latch circuit 16 is input to the input port P2 of the microcomputer 10. Thereby, the abnormality detection of the communication line 30 becomes possible similarly to the above-mentioned.

本発明に係る双方向通信システムの第1の実施形態である。1 is a first embodiment of a bidirectional communication system according to the present invention. 本発明に係る双方向通信システムの第1の実施形態の動作波形を示した図である。It is the figure which showed the operation | movement waveform of 1st Embodiment of the bidirectional | two-way communication system which concerns on this invention. 本発明に係る双方向通信システムの第2の実施形態である。It is 2nd Embodiment of the bidirectional | two-way communication system which concerns on this invention.

符号の説明Explanation of symbols

10,20 マイコン
11,21,26 トランジスタ
12 ツェナーダイオード
13,14,15,22,23,25 抵抗
16 ラッチ回路
24 定電圧電源
30 通信線
100 ECU(第1の通信装置)
200 ユニット(第2の通信装置)
DESCRIPTION OF SYMBOLS 10,20 Microcomputer 11,21,26 Transistor 12 Zener diode 13, 14, 15, 22, 23, 25 Resistance 16 Latch circuit 24 Constant voltage power supply 30 Communication line 100 ECU (1st communication apparatus)
200 units (second communication device)

Claims (7)

第1の通信装置と、
第2の通信装置と、
前記第1の通信装置と前記第2の通信装置を結ぶ通信線とを有する双方向通信システムであって、
前記第1の通信装置は、前記通信線を通る信号波の電圧が所定電圧以上ある半波長区間における前記信号波の電圧変動に基づいて前記第2の通信装置の伝送情報を取得し、
前記第2の通信装置は、前記信号波の周波数変動に基づいて前記第1の通信装置の伝送情報を取得し、
前記信号波の電圧が所定電圧以上ある半波長区間における前記信号波の電圧変動による下限電圧より小さい閾値が設定され、前記信号波が所定期間内に前記閾値を横切るか否かによって前記通信線の異常が判定される、ことを特徴とする双方向通信システム。
A first communication device;
A second communication device;
A bidirectional communication system having a communication line connecting the first communication device and the second communication device,
The first communication device acquires transmission information of the second communication device based on a voltage fluctuation of the signal wave in a half wavelength section in which a voltage of a signal wave passing through the communication line is equal to or higher than a predetermined voltage.
The second communication device acquires transmission information of the first communication device based on a frequency variation of the signal wave,
A threshold value smaller than a lower limit voltage due to voltage fluctuation of the signal wave in a half-wavelength section where the voltage of the signal wave is equal to or higher than a predetermined voltage is set, and depending on whether the signal wave crosses the threshold value within a predetermined period, An interactive communication system characterized in that an abnormality is determined.
前記第2の通信装置の伝送情報の取得は、前記信号波の電圧を可変させるタイミングの直前及び/又は直後の所定期間では禁止される、請求項1記載の双方向通信システム。   2. The bidirectional communication system according to claim 1, wherein acquisition of transmission information of the second communication device is prohibited in a predetermined period immediately before and / or immediately after the timing of changing the voltage of the signal wave. 前記第2の通信装置の伝送情報は、前記信号波の電圧変動によって第1の電圧が認識された場合に前記第1の電圧に対応する第1の情報であると判断され、前記信号波の電圧変動によって前記第1の電圧と所定値以上異なる第2の電圧が認識された場合に前記第2の電圧に対応する第2の情報であると判断される、請求項1または2に記載の双方向通信システム。   The transmission information of the second communication device is determined to be the first information corresponding to the first voltage when the first voltage is recognized by the voltage fluctuation of the signal wave, The second information corresponding to the second voltage is determined when a second voltage different from the first voltage by a predetermined value or more due to voltage fluctuation is recognized. Two-way communication system. 前記第1の通信装置の伝送情報は、前記信号波の周波数変動によって第1の周波数が認識された場合に前記第1の周波数に対応する第3の情報であると判断され、前記信号波の周波数変動によって前記第1の周波数と所定値以上異なる第2の周波数が認識された場合に前記第2の周波数に対応する第4の情報であると判断される、請求項1に記載の双方向通信システム。   The transmission information of the first communication device is determined to be third information corresponding to the first frequency when the first frequency is recognized by the frequency fluctuation of the signal wave, 2. The bidirectional information according to claim 1, wherein the second information is determined to be the fourth information corresponding to the second frequency when a second frequency different from the first frequency by a predetermined value or more is recognized due to a frequency variation. Communications system. 前記信号波の電圧が所定期間内に前記閾値より小さい電圧が認識された場合に前記通信線の断線異常と判断される、請求項1に記載の双方向通信システム。   The bidirectional communication system according to claim 1, wherein when the voltage of the signal wave is less than the threshold within a predetermined period, it is determined that the communication line is disconnected abnormally. 前記信号波の電圧が所定期間内に前記閾値より大きい電圧が認識された場合に前記通信線の電源線との短絡異常と判断される、請求項1に記載の双方向通信システム。   The bidirectional communication system according to claim 1, wherein when the voltage of the signal wave is recognized as a voltage greater than the threshold value within a predetermined period, it is determined that a short circuit abnormality has occurred with the power line of the communication line. 前記信号波の電圧は、A/Dコンバータを介して検出される、請求項1から6のいずれかに記載の双方向通信システム。   The bidirectional communication system according to claim 1, wherein the voltage of the signal wave is detected via an A / D converter.
JP2006120982A 2006-04-25 2006-04-25 Two-way communication system Expired - Fee Related JP4572865B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006120982A JP4572865B2 (en) 2006-04-25 2006-04-25 Two-way communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006120982A JP4572865B2 (en) 2006-04-25 2006-04-25 Two-way communication system

Publications (2)

Publication Number Publication Date
JP2007295285A true JP2007295285A (en) 2007-11-08
JP4572865B2 JP4572865B2 (en) 2010-11-04

Family

ID=38765458

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006120982A Expired - Fee Related JP4572865B2 (en) 2006-04-25 2006-04-25 Two-way communication system

Country Status (1)

Country Link
JP (1) JP4572865B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56149151A (en) * 1980-04-21 1981-11-18 Furukawa Electric Co Ltd:The Pulse modulating method
JPH0553945A (en) * 1991-08-29 1993-03-05 Nippondenso Co Ltd In-vehicle serial data communication system
JPH08265308A (en) * 1995-03-24 1996-10-11 Mitsubishi Electric Corp Method and device for fully bidirectional communication and programmable controller using the same
JP2004328103A (en) * 2003-04-22 2004-11-18 Matsushita Electric Works Ltd Error detector circuit

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56149151A (en) * 1980-04-21 1981-11-18 Furukawa Electric Co Ltd:The Pulse modulating method
JPH0553945A (en) * 1991-08-29 1993-03-05 Nippondenso Co Ltd In-vehicle serial data communication system
JPH08265308A (en) * 1995-03-24 1996-10-11 Mitsubishi Electric Corp Method and device for fully bidirectional communication and programmable controller using the same
JP2004328103A (en) * 2003-04-22 2004-11-18 Matsushita Electric Works Ltd Error detector circuit

Also Published As

Publication number Publication date
JP4572865B2 (en) 2010-11-04

Similar Documents

Publication Publication Date Title
JP4756340B2 (en) Communication system and method, and distributed control system and method
US8207759B2 (en) MIPI analog switch for automatic selection of multiple inputs based on clock voltages
US9491197B2 (en) Connection detection apparatus and in-vehicle relay apparatus
US8504871B2 (en) Safety output device
US9001950B2 (en) Information processing apparatus, serial communication system, method of initialization of communication therefor, and serial communication apparatus
US8594225B2 (en) Circuit arrangement, apparatus and process for the serial sending of data via a connection contact
JP2007164765A (en) Iic bus communication system, slave device, and iic bus communication control method
JP5150135B2 (en) Circuit configuration with serial test interface and serial test operating mode procedure
US7911967B2 (en) Control and monitor signal transmission system
EP2962900B1 (en) Vehicle control device
CN108228514B (en) Single bus transmission method and system
US8779960B2 (en) Method for operating an electromechanical actuator
JP2011135283A (en) Communication signal processing apparatus, and communication apparatus
JP4572865B2 (en) Two-way communication system
JPWO2010109590A1 (en) I / O signal control device and I / O signal control system using the same
KR101084060B1 (en) The data-transmittable non-polarity RS-485 communication device of BMS controller by automatic polarity discrimination
JP5018009B2 (en) Two-way communication system
JPWO2009133633A1 (en) I / O signal controller
JP4572711B2 (en) Power system
JP4775224B2 (en) Two-way communication system
JP6413979B2 (en) Master node
KR102328549B1 (en) Electronics
JP5304210B2 (en) Control system
CN107800599B (en) Vehicle-mounted control device
CN112292673A (en) I3C slave interface, integrated circuit with I3C slave interface and method for operating I3C slave interface

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080709

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: 20100720

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100802

R151 Written notification of patent or utility model registration

Ref document number: 4572865

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20130827

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees