JPH02262797A - Communication equipment for vehicle - Google Patents

Communication equipment for vehicle

Info

Publication number
JPH02262797A
JPH02262797A JP1202885A JP20288589A JPH02262797A JP H02262797 A JPH02262797 A JP H02262797A JP 1202885 A JP1202885 A JP 1202885A JP 20288589 A JP20288589 A JP 20288589A JP H02262797 A JPH02262797 A JP H02262797A
Authority
JP
Japan
Prior art keywords
command
master station
control device
control
information
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
JP1202885A
Other languages
Japanese (ja)
Other versions
JP2591173B2 (en
Inventor
Hideo Takai
高井 秀夫
Toru Futami
徹 二見
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.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor Co Ltd
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 Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP1202885A priority Critical patent/JP2591173B2/en
Priority to US07/450,977 priority patent/US5132905A/en
Priority to GB8929049A priority patent/GB2229298B/en
Priority to DE3942661A priority patent/DE3942661A1/en
Publication of JPH02262797A publication Critical patent/JPH02262797A/en
Application granted granted Critical
Publication of JP2591173B2 publication Critical patent/JP2591173B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To prevent the erroneous response due to another not selected controller and to surely communicate with a selected controller by continuously transmitting an initializing command to each controller at prescribed intervals by the number of times corresponding to the number of information signals transmitted following a control command. CONSTITUTION:A master station 9 selects desired one of plural controllers 1 and 3 and transmits various commands for various diagnosis and information bytes to the selected controller and receives an echo back signal as the response signal from the controller to perform diagnosis. In this case, the master station 9 continuously transmits an initializing command INIT twice at a prescribed interval for the purpose of initializing lines and closing a link. That is, the initializing command is transmitted twice at the time of transmitting two information signals; and though both of two information signals have the same information as the initializing command, the erroneous response of another not selected controller is prevented because the next command is certainly different from a system select command.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、例えば車両のエンジン制御ユニット等のよう
な制御装置とこの制御装置を診断するためのマスタース
テーション等の装置との間の通信を行う車両用通信装置
に関する。
[Detailed Description of the Invention] [Object of the Invention] (Industrial Application Field) The present invention relates to a control device such as a vehicle engine control unit, and a device such as a master station for diagnosing this control device. The present invention relates to a vehicle communication device that performs communication between vehicles.

(従来の技術) 近年、半導体技術の進歩に伴い、自動車の各部の電子制
御化が急速に進み、多数のマイクロプロセッサが例えば
エンジン制御ユニット等の電子制御ユニット(ECU)
として使用されている。
(Prior Art) In recent years, with the advancement of semiconductor technology, the electronic control of various parts of automobiles has progressed rapidly, and many microprocessors are installed in electronic control units (ECUs) such as engine control units.
is used as.

このように高度に電子制、御化されたシステムは、高性
能で快適な車両を実現する反面、故障診断を複雑なもの
としている。これは、多数の入力信号を電子的に複雑に
処理するため、発生した現象と原因の因果関係を捕らえ
難く、解析するのに高度な知識を必要とするとともに、
また微小な電気信号の間欠的な断続が外来ノイズの影響
を受は易いからである。
Although these highly electronically controlled systems realize high-performance and comfortable vehicles, they also complicate failure diagnosis. This process involves complex electronic processing of a large number of input signals, making it difficult to understand the causal relationship between the phenomena that occur and the causes, and requires advanced knowledge to analyze.
This is also because intermittent interruptions in minute electrical signals are easily affected by external noise.

このため、多くの電子制御ユニットは自己診断機能が付
加されているが、この診断はオンボード診断であるため
、処理能力に制約があり、更に高度な故障診断が可能な
オフボード診断を行うオフボード診断器を構成するマス
ターステーションの開発が行われている。
For this reason, many electronic control units are equipped with a self-diagnosis function, but since this diagnosis is an on-board diagnosis, processing capacity is limited. A master station that constitutes a board diagnostic device is being developed.

このようなマスターステーションによって車両の各電子
制御ユニットを診断する場合には、マスターステーショ
ンは複数の電子制御ユニットから診断したい所望の電子
制御ユニットを選択し、この選択した電子制御ユニット
に対して診断用の制御コマンドを送信し、この制御コマ
ンドに対して電子制御ユニットから返信データを受信す
るというデータ通信を行う。
When diagnosing each electronic control unit of a vehicle using such a master station, the master station selects the desired electronic control unit to be diagnosed from among multiple electronic control units, and performs diagnostic tests on the selected electronic control unit. Data communication is performed by transmitting a control command and receiving reply data from the electronic control unit in response to the control command.

このようなデータ通信においては、マスターステーショ
ンは各電子制御ユニットとの間の通信回線を初期化する
とともに、複数の電子制御ユニットのうちの所望の電子
制御ユニットを選択するシステム選択コマンドの受信待
機状態に各電子制御ユニットを設定する初期化コマンド
を各電子制御ユニットに送信する。この初期化コマンド
を送信して、通信回線が初期化されるとともに、各電子
制御ユニットがシステム選択コマンドの受信待機状態に
設定されると、マスターステーションは前記システム選
択コマンドを送信し、所望の電子制御ユニットのみを選
択し、この選択した電子制御ユニットとの間のデータリ
ンクを確立する。
In such data communication, the master station initializes the communication line with each electronic control unit and waits to receive a system selection command to select a desired electronic control unit from among multiple electronic control units. An initialization command for setting each electronic control unit is sent to each electronic control unit. After transmitting this initialization command, the communication line is initialized, and each electronic control unit is set to a standby state for receiving a system selection command, the master station transmits the system selection command and selects the desired electronic control unit. Select only the control unit and establish a data link with this selected electronic control unit.

マスターステーションと選択した電子制御ユニットとの
間のデータリンクが確立すると、マスターステ−ション
は選択した電子制御ユニットに対して所望の制御動作を
行わせるための例えばパラメータセットコマンド等の制
御コマンドを送信するとともに、該制御コマンドに続い
て該制御コマンドに関連する情報バイトを2つ所定間隔
あけて連続して送信し、これにより例えば第1の情報バ
イトでは制御すべき項目を設定し、第2の情報バイトで
はその制御量等を設定している。そして、このように設
定した状態に対する車両、具体的にはエンジン等の応答
性能等を監視し、これにより診断を行っている。
Once the data link between the master station and the selected electronic control unit is established, the master station sends a control command, such as a parameter set command, to the selected electronic control unit to perform a desired control operation. At the same time, following the control command, two information bytes related to the control command are successively transmitted at a predetermined interval, so that, for example, the first information byte sets the item to be controlled, and the second information byte sets the item to be controlled. The information byte sets the control amount, etc. Then, the response performance of the vehicle, specifically the engine, etc., with respect to the conditions set in this way is monitored, and diagnosis is performed based on this.

(発明が解決しようとする課題) 上述したように、マスターステーションと電子制御ユニ
ットとの間の通信において、マスクステーションは各電
子制御ユニットに対して初期化コマンドを1回送信する
のみであるが、マスターステーションと選択した電子制
御ユニットとの間のデータリンクが確立された後に、マ
スターステーションが選択して電子制御ユニットに対し
て送信した制御コマンドに続いて2つの情報バイトを送
信した場合、この2つの情報バイトのうちの第1の情報
バイトが前記初期化コマンドと同じ情報であり、第2の
情報バイトが前記選択した電子制御ユニットでない他の
電子制御ユニットに対するシステム選択コマンドと同一
じ情報であったとすると、この他、すなわち選択されて
いない電子制御ユニットはこの第1の情報バイトからな
る初期化コマンドおよび第2の情報バイトからなるシス
テム選択コマンドに誤って応答してしまうという問題が
ある。そして、更に詳細には、この誤った応答による当
該他の電子制御ユニットからのエコーバック信号により
正常な電子制御ユニットからのエコーバック信号が破壊
され、正しい通信ができなくなるという問題がある。
(Problem to be Solved by the Invention) As described above, in the communication between the master station and the electronic control unit, the mask station only sends an initialization command once to each electronic control unit; After the data link between the master station and the selected electronic control unit has been established, if the master station sends two information bytes following the selected control command sent to the electronic control unit, these two The first information byte of the two information bytes is the same information as the initialization command, and the second information byte is the same information as the system selection command for other electronic control units other than the selected electronic control unit. In this case, there is a problem in that other electronic control units, that is, unselected electronic control units, erroneously respond to the initialization command consisting of the first information byte and the system selection command consisting of the second information byte. More specifically, there is a problem in that the echo back signal from the other electronic control unit due to this erroneous response destroys the echo back signal from the normal electronic control unit, making correct communication impossible.

本発明は、上記に鑑みてなされたもので、その目的とす
るところは、選択しない他の制御装置による誤った応答
を防止し、選択した制御装置との間でのみ適確に通信を
行うことができる車両用通信装置を提供することにある
The present invention has been made in view of the above, and its purpose is to prevent erroneous responses from other control devices that are not selected, and to accurately communicate only with the selected control device. The object of the present invention is to provide a vehicle communication device that can perform the following functions.

[発明の構成] (課題を解決するための手段) 上記目的を達成するため、本発明の車両用通信装置は、
複数の制御装置のうちの所望の制御装置を選択し、この
選択した制御装置に対して所定の制御動作を行わせる制
御コマンドを送信するとともに、この制御コマンドに続
いて当該制御コマンドに関連する1つ以上の情報信号を
前記選択した制御装置に対して送信する車両用通信装置
であって、前記複数の制御装置との間の通信回線を初期
化するとともに、前記複数の制御装置のうちの前記所望
の制御装置を選択する選択コマンドの受信待機状態に各
制御装置を設定する初期化コマンドを前記情報信号の数
に相当・する数所定間隔あけて連続して各制御装置に送
信する初期化コマンド送信手段を有することを要旨とす
る。
[Structure of the Invention] (Means for Solving the Problem) In order to achieve the above object, the vehicle communication device of the present invention has the following features:
A desired control device is selected from among the plurality of control devices, and a control command is sent to the selected control device to perform a predetermined control operation. A vehicle communication device that transmits one or more information signals to the selected control device, the communication device initializing a communication line with the plurality of control devices, and initializing the communication line with the plurality of control devices. an initialization command that sets each control device to a standby state for receiving a selection command for selecting a desired control device, and sends an initialization command to each control device consecutively at a predetermined interval corresponding to the number of the information signals; The gist is to have a transmission means.

(作用) 本発明の車両用通信装置では、制御コマンドに続いて送
信される情報信号の数に相当する数の初期化コマンドを
所定間隔あけて連続して各制御装置に送信している。
(Operation) In the vehicle communication device of the present invention, a number of initialization commands corresponding to the number of information signals transmitted following the control command are successively transmitted to each control device at predetermined intervals.

(実施例) 以下、図面を用いて本発明の詳細な説明する。(Example) Hereinafter, the present invention will be explained in detail using the drawings.

第1図は本発明の一実施例に係わる車両用通信装置のシ
ステム構成を示すブロック図である。同図に示す実施例
においては、例えば車両の制御部を構成する例えばエン
ジン制御ユニット、A/T制御ユニット等の電子制御ユ
ニット(ECU)からなる複数の制御装置1,3.・・
・がデータ送信線TX、データ受信線Rxおよびクロッ
ク線CLKからなる信号線5により相互に接続され、こ
れらの制御装置に対して信号線5およびコネクタ7を介
してマスターステーション9が接続されている。
FIG. 1 is a block diagram showing the system configuration of a vehicle communication device according to an embodiment of the present invention. In the embodiment shown in the figure, a plurality of control devices 1, 3.・・・
are connected to each other by a signal line 5 consisting of a data transmission line TX, a data reception line Rx, and a clock line CLK, and a master station 9 is connected to these control devices via the signal line 5 and a connector 7. .

このマスターステーション9は、例えば前記複数の制御
装置1.3からなる車両の制御部を診断するオフボード
診断器を構成するものであり、各種情報を入力するテン
キー11、診断情報等を表示するデイスプレィ13、電
源スィッチ15、診断動作を終了する終了キー17等を
有している。なお、第1図では、第1および第2の制御
装置1゜3の2つの制御装置にのみを示しているが、こ
れに限定されるものではなく、この他に種々の制御装置
が設けられているものである。
This master station 9 constitutes an off-board diagnostic device for diagnosing the control section of the vehicle, which is composed of the plurality of control devices 1.3, for example, and includes a numeric keypad 11 for inputting various information, a display for displaying diagnostic information, etc. 13, a power switch 15, an end key 17 for ending the diagnostic operation, and the like. Although FIG. 1 only shows two control devices, the first and second control devices 1.3, the present invention is not limited to this, and various other control devices may be provided. It is something that

前記マスターステーション9は、複数の制御装置1,3
のうちの所望の1つを選択し、この選択した制御装置を
診断するためにこの制御装置に種々のコマンドを送信し
、このコマンドに対する応答情報を制御装置から入手し
、この応答情報により制御装置の診断を行っている。
The master station 9 has a plurality of control devices 1 and 3.
Select a desired one of them, send various commands to the selected control device in order to diagnose the control device, obtain response information to this command from the control device, and use this response information to control the control device. We are conducting a diagnosis.

このようにマスターステーション9が各制御装置を診断
するために種々のコマンドを各制御装置に送信し、これ
に対する応答情報を得るという両者間のデータ通信にお
いて、伝送路符号型式、所謂データ変調方式としてはN
RZ方式を使用し、通信回路としてUARTを使用し、
またデータフォーマットとしては第2図に示すように先
頭にスタートビットを付加し、それから8ビツトのデー
タを挿入し、最後にストップビットを付加した構成のも
のを使用し、これにより各通信に使用するコマンド、情
報バイトを構成している。更に、マスターステーション
9と各制御装置との間の伝送制御方式はマスターステー
ション9を主局とし、各制御装置を従局とするポーリン
グセレクション方式を採用している。
In this way, the master station 9 sends various commands to each control device in order to diagnose each control device, and in data communication between the two to obtain response information, the transmission line code type, so-called data modulation method, is used. is N
Using the RZ method and UART as the communication circuit,
As shown in Figure 2, the data format used is one in which a start bit is added at the beginning, then 8-bit data is inserted, and a stop bit is added at the end, and this is used for each communication. Consists of commands and information bytes. Furthermore, the transmission control method between the master station 9 and each control device employs a polling selection method in which the master station 9 is a master station and each control device is a slave station.

また、マスターステーション9は、上述した変調方式、
伝送制御方式等に基づいて複数の制御装置1.3のうち
の所望の制御装置を選択し、この選択した制御装置に対
して種々の診断を行う各種コマンドおよび情報バイトを
送信し、これに対する応答信号であるエコーパック信号
を制御装置から受信し、これにより診断を行うことにな
るが、この選択および診断を行う制御手順は、次の表に
示すように4つのフェーズ0〜3に分けられている。
Moreover, the master station 9 uses the above-mentioned modulation method,
A desired control device is selected from among the plurality of control devices 1.3 based on the transmission control method, etc., and various commands and information bytes for performing various diagnoses are sent to the selected control device, and responses are sent to the selected control device. The echo pack signal, which is a signal, is received from the control device and diagnosis is performed using this signal.The control procedure for this selection and diagnosis is divided into four phases 0 to 3 as shown in the table below. There is.

次に、このフェーズを示す表、第3図示すタイミングチ
ャートおよび第4図に示すエンジン回転数を変更する場
合の操作表を参照して作用を説明する。なお、フェーズ
を示す上記表で定義される各フェーズ0〜3は、第3図
のタイミングチャートの横方向の時間軸に示され、マス
ターステーション9による制御手順はこのフェーズに従
って順次実行されるようになっている。
Next, the operation will be explained with reference to a table showing these phases, a timing chart shown in FIG. 3, and an operation table for changing the engine speed shown in FIG. 4. Note that each phase 0 to 3 defined in the above table showing the phases is shown on the horizontal time axis of the timing chart in FIG. 3, and the control procedure by the master station 9 is executed sequentially according to these phases. It has become.

≠ず、マスターステーション9によって各制御装置1.
3を診断するには、第4図の「人(操作)」の項目の最
初に記載されているように前記コネクタ7によってマス
ターステーション9と各制御装置1,3とを接続し、そ
れから両者の電源を投入し、作動状態にする。
≠The master station 9 controls each control device 1.
3, connect the master station 9 and each control device 1, 3 using the connector 7 as described at the beginning of the item "Person (operation)" in FIG. Turn on the power and put it into operation.

初期化コマンドは全制御装置を対象とするコマンドであ
るが、複数の制御装置から応答信号であるエコーパック
が返信されるとマスターステーションがエコーバックデ
ータを読み取れないおそれがあるため、データリンク確
立中の制御装置がある場合のみ、このリンク確立中の制
御装置のみがエコーパックを返信する。
The initialization command is a command that targets all control devices, but if echo packs, which are response signals, are returned from multiple control devices, there is a risk that the master station will not be able to read the echo back data. If there is a controller, only the controller establishing this link returns the echo pack.

このように電源が投入されて作動状態になると、マスタ
ーステーション9は、フェーズ0の状態となるとともに
、マスターステーション9のデイスプレィ13には第4
図に41で示すようにマスターステーション9に現在接
続されているすべての制御装置である「1、第1の制御
装置」、「2゜第2の制御装置」、・・・が表示される
。また、マスターステーション9は、このフェーズ0に
おいて回線の初期化およびリンクの終結を行うために、
第3図の時刻t1およびt2に示すように初期化コマン
ドINITを2回所定間隔あけて連続して送信する。各
制御装置1.3はこの初期化コマンドを受信すると、各
制御装置1,3は、後述するシステム選択コマンドの受
信待機状態になるとともに、信号線5、特に信号線5の
データ送信線Txが空き状態になって、信号線5からな
る回線は初期化される。また、この時データリンクを確
立中の制御装置があったとすると、この制御装置は通信
を終結し、同様にシステム選択コマンドの受信待機状態
になる。
When the power is turned on in this way and the master station 9 enters the operating state, the master station 9 enters the state of phase 0, and the display 13 of the master station 9 shows the fourth
As shown at 41 in the figure, all the control devices currently connected to the master station 9, such as "1, first control device", "2° second control device", etc., are displayed. In addition, in this phase 0, the master station 9 initializes the line and terminates the link.
As shown at times t1 and t2 in FIG. 3, the initialization command INIT is transmitted twice consecutively at a predetermined interval. When each control device 1.3 receives this initialization command, each control device 1, 3 enters a waiting state for receiving a system selection command, which will be described later, and the signal line 5, especially the data transmission line Tx of the signal line 5, is The line made up of the signal line 5 is then initialized. Furthermore, if there is a control device that is establishing a data link at this time, this control device terminates communication and similarly enters a state of waiting to receive a system selection command.

以上のように信号線5からなる回線が初期化され、各制
御装置1,3がシステム選択コマンドの受信待機状態に
なると、マスターステジョン9はフェーズ1の状態にな
るが、この状態において操作者は複数の制御装置1.3
のうちの診断しようとする所望の制御装置を選択するた
め、マスターステーション9のテンキー11を使用して
、前記所望の制御装置の番号を選択し、この選択した番
号の制御装置に1対1で対応するシステム選択コマンド
5C(1)を第3図の時刻t3で示すように送信する。
As described above, when the line consisting of the signal line 5 is initialized and each control device 1, 3 enters the state of waiting to receive a system selection command, the master station 9 enters the phase 1 state, but in this state, the operator is a plurality of control devices 1.3
In order to select a desired control device to be diagnosed, use the numeric keypad 11 of the master station 9 to select the number of the desired control device, and perform one-on-one communication with the control device with the selected number. The corresponding system selection command 5C(1) is transmitted as shown at time t3 in FIG.

なお、同図においては、第1の制御装置1を選択した場
合を示し、システム選択コマンド5C(1)が送信され
ている。
Note that this figure shows a case where the first control device 1 is selected, and a system selection command 5C(1) is transmitted.

マスターステーション9から送信されたシステム選択コ
マンド5C(1)が前記選択された第1の制御装置1に
よって受信されると、この第1の制御装置1は受信した
ことをマスターステーション9に知らせるために該シス
テム選択コマンド5C(1)を反転したエコーバック信
号5C(1)をマスターステーション9に第3図の時刻
t4で示すように返送する。
When the system selection command 5C(1) sent from the master station 9 is received by the selected first control device 1, this first control device 1 sends a command to notify the master station 9 of the reception. An echo back signal 5C(1) obtained by inverting the system selection command 5C(1) is sent back to the master station 9 as shown at time t4 in FIG.

マスターステーション9はこの反転エコーバラ・り信号
5C(i)を受信し、この反転エコーパック信号が前記
選択した第1の制御装置1からのものであることを確認
すると、マスターステーション9とこの第1の制御装置
1との間のデータリンクを確立する。なお、この時選択
されない第2の制御装置3のような他の制御装置は初期
化コマンド待ち状態に戻り、次の初期化コマンドを2回
受信するまでの状態を保持する。従って、データリンク
確立中の選択された第1の制御装置1のみがマスタース
テーション9と通信可能になる。
When the master station 9 receives this inverted echo disparity signal 5C(i) and confirms that this inverted echo pack signal is from the selected first control device 1, the master station 9 and this first A data link is established with the control device 1 of the controller. Note that other control devices, such as the second control device 3, which are not selected at this time return to the initialization command waiting state, and maintain this state until the next initialization command is received twice. Therefore, only the selected first control device 1 that is establishing a data link can communicate with the master station 9.

このように第1の制御装置1が選択され、この第1の制
御装置1とマスターステーション9との間のデータリン
クが確立されると、マスターステーション9はフェーズ
2の状態になり、診断モードを設定することになるが、
この状態においてマスターステーション9が実行し得る
診断機能の一覧が第4図の42で示すようにマスタース
テーション9のデイスプレィ13に表示される。
Once the first control device 1 has been selected in this way and the data link between this first control device 1 and the master station 9 has been established, the master station 9 enters phase 2 and enters the diagnostic mode. You will have to set
In this state, a list of diagnostic functions that can be executed by the master station 9 is displayed on the display 13 of the master station 9, as shown at 42 in FIG.

このフェーズ2において診断モードを設定するために、
マスターステーション9はモード設定コマンドを送信す
るが、このモード設定コマンドには種々のコマンドがあ
り、大別して単独で定義されるコマンドと、コマンドに
続いた情報バイトを有する例えばパラメータセットコマ
ンドPs等の制御コマンドとがある。
In order to set the diagnostic mode in this phase 2,
The master station 9 sends a mode setting command, and there are various commands in this mode setting command, and they can be roughly divided into commands that are independently defined, and control commands that have information bytes following the command, such as a parameter set command Ps. There is a command.

前記パラメータセットコマンドPSは、例えばエンジン
の状態等を特定の状態に設定するように指示するコマン
ドであり、このコマンドに続いて例えば2つの情報バイ
トを所定間隔あけて連続して送信するようになっている
。例えば、エンジンのアイドリング回転数を1500回
転に設定したい場合には、このパラメータコマンドPS
に続いて、「エンジンのアイドリング回転数」を示す第
1の情報バイトおよびr1500回転」を示す第2の情
報バイトを送信すればよい。
The parameter set command PS is a command that instructs to set, for example, the state of the engine to a specific state, and following this command, for example, two information bytes are successively transmitted at a predetermined interval. ing. For example, if you want to set the engine's idling speed to 1500 rpm, use this parameter command PS
Subsequently, a first information byte indicating "engine idling rotation speed" and a second information byte indicating "r1500 rotations" may be transmitted.

従って、今、操作者は診断モードとして上述したように
エンジンのアイドリング回転数を1500回転に設定す
る場合を選択するものとして、マスターステーション9
のデイスプレィ13からパラメータセットコマンド用の
診断モードをテンキ11によって選択するとともに、こ
のパラメータセットコマンドPSに対する情報バイトと
して「回転数」及びr1500回転」をテンキー11て
指定すると、マスターステーション9のデイスプレィ1
3には第4図の43で示すように「回転数」およびr1
500回転」が表示され、それからマスターステーショ
ン9から第1の制御装置1に対してパラメータセットコ
マンドPSが第3図の時刻t5で示すように送信される
Therefore, the operator now selects the case where the engine idling speed is set to 1500 revolutions as described above as the diagnosis mode, and the master station 9
When the diagnostic mode for the parameter set command is selected from the display 13 of the master station 9 using the numeric keypad 11, and "number of revolutions" and "r1500 revolutions" are specified using the numeric keypad 11 as information bytes for this parameter set command PS, the display 1 of the master station 9
3 contains the "rotation speed" and r1 as shown at 43 in Figure 4.
500 revolutions" is displayed, and then a parameter set command PS is transmitted from the master station 9 to the first control device 1 as shown at time t5 in FIG.

第1の制御装置1は、マスターステーション9からのパ
ラメータセットコマンドPSを受信すると、その受信確
認のためにパラメータセットコマンドPSの反転したエ
コーバック信号PSをマスターステーション9に返送し
、(第3図の時刻t6)、情報バイト待ちの状態になる
。マスターステーション9は、第1の制御装置1からの
反転エコーバック信号が先に送信したパラメータセット
コマンドPSの反転データであることを確認すると、「
回転数」を示す第1の情報バイト1 temを第3図の
時刻t7に示すように第1の制御装置1に送信する。第
1の制御装置1は、この第1の情報バイトI temを
受信すると、この第1の情報バイトと同じデータのエコ
ーバック信号、すなわち反転しないエコーバック信号を
マスターステーション9に返送する(第3図時刻t8)
。マスターステーション9は、第1の制御装置1からの
エコーバック信号が先に送信した第1の情報バイトと同
じであることを確認すると、r1500回転」を示す第
2の情報パイ) I tea+を第1の制御装置1に送
信する(第3図の時刻t9)。第1の制御装置1は、こ
の第2の情報バイトI temを受信すると、この第2
の情報バイトI terAと同じデータのエコーバック
信号をマスターステヨン9に返送する(第3図の時刻t
10)。マスターステーション9は、第1の制御装置1
からのエコーバック信号が先に送信した第2の情報バイ
トI tefflと同じであることを確認し、パラメー
タセットコマンドPSの設定を終了する。情報バイトは
多くの項目及び制御値等を表わすため規定バイト内では
あらゆる値をとることが可能となっている。
When the first control device 1 receives the parameter set command PS from the master station 9, the first control device 1 returns an echo back signal PS, which is an inverted version of the parameter set command PS, to the master station 9 to confirm reception. At time t6), the device enters a state of waiting for an information byte. When the master station 9 confirms that the inverted echo back signal from the first control device 1 is the inverted data of the previously transmitted parameter set command PS,
A first information byte 1 tem indicating the rotational speed is transmitted to the first control device 1 as shown at time t7 in FIG. When the first control device 1 receives this first information byte I tem, it returns an echo back signal of the same data as this first information byte, that is, an echo back signal that is not inverted, to the master station 9 (the third Figure time t8)
. When the master station 9 verifies that the echoback signal from the first control device 1 is the same as the first information byte sent earlier, the master station 9 transmits a second information byte indicating "r1500 revolutions". 1 (time t9 in FIG. 3). When the first control device 1 receives this second information byte Item, it
An echo back signal of the same data as the information byte I terA is sent back to the master station 9 (at time t in Figure 3).
10). The master station 9 is the first control device 1
It is confirmed that the echo back signal from the I-- Teffl is the same as the second information byte I teffl sent earlier, and the setting of the parameter set command PS is completed. Since the information byte represents many items, control values, etc., any value can be taken within the specified byte.

マスターステーション9は、上述したようにパラメータ
セットコマンドPSによる診断モードの設定を終了する
と、フェーズ3となり、第3図の時刻tllで示すよう
に診断実行コマンドEXを第1の制御装置1に送信する
。第1の制御装置1は、マスターステーション9からの
診断実行コマンドEXを受信すると、先にパラメータセ
ットコマンドPSで設定された制御項目の制御値、すな
わち上述した場合には「エンジン回転数」およびr15
00回転」等の制御値に対する実行が行われ、この実行
した時のエンジン回転数データの診断データが第1制御
装置1からマスターステーション9に診断終了コマンド
STPが送信されてくるまで繰り返し返信される。なお
、このように返信される診断データは、第3図の時刻t
12.〜t13に示すように、1バイトのヘッダ、1バ
イトのデータ長、254バイト以下のデータからなる1
つのフレームとして返信される。
When the master station 9 finishes setting the diagnostic mode using the parameter set command PS as described above, it enters phase 3 and sends the diagnostic execution command EX to the first control device 1 as shown at time tll in FIG. . When the first control device 1 receives the diagnosis execution command EX from the master station 9, it selects the control values of the control items previously set by the parameter set command PS, that is, in the case described above, the "engine speed" and r15.
Execution is performed for a control value such as "00 revolutions", and the diagnostic data of the engine rotation speed data at the time of this execution is repeatedly returned until a diagnostic end command STP is sent from the first control device 1 to the master station 9. . It should be noted that the diagnostic data returned in this way is transmitted at time t in FIG.
12. ~ As shown in t13, a single file consisting of a 1-byte header, 1-byte data length, and 254-byte or less data
It will be returned as one frame.

第1の制御装置1から返信された診断データは、マスタ
ーステーション9で・受信され、この受信した診断デー
タはマスターステーション9のデイスプレィ13に第4
図で示すように表示され、制御値が指定どおりに変更さ
れ、エンジン関係が正常であることが確認される。なお
、第4図の例では、マスターステーション9のデイスプ
レィ13に表示された診断データのエンジン回転数は1
502回転であり、はぼ正常で・あることがわかる。
The diagnostic data returned from the first control device 1 is received by the master station 9, and the received diagnostic data is displayed on the display 13 of the master station 9 on the fourth
The screen is displayed as shown in the figure, confirming that the control values have been changed as specified and that the engine relationship is normal. In the example shown in FIG. 4, the engine speed of the diagnostic data displayed on the display 13 of the master station 9 is 1.
It turns out to be 502 rotations, which indicates that it is almost normal.

上述したように診断データが得られると、操作者はマス
ターステーション9の終了キー17を押す。終了キー1
7が押されると、マスターステージョン9は診断終了コ
マンドSTPを第1の制御装置1に送信する(第3図の
時刻t14)。第1の制御装置1は診断終了コマンドS
TPを受信すると、今まで設定されていた制御コマンド
の設定をクリアするとともに、受信した診断終了コマン
ドSTPの反転データであるエコーバック信号STPを
マスターステーション9に返信する(第3図の時刻t1
5)。マスターステーション9は第1の制御装置1から
の反転されたエコーパック信号STPを受信すると、こ
れにより第1の制御信号1に対する診断を終了する。
When the diagnostic data is obtained as described above, the operator presses the end key 17 of the master station 9. End key 1
7 is pressed, the master station 9 transmits a diagnosis end command STP to the first control device 1 (time t14 in FIG. 3). The first control device 1 sends a diagnosis end command S
When TP is received, the control command settings that have been set so far are cleared, and an echo back signal STP, which is the inverted data of the received diagnostic end command STP, is sent back to the master station 9 (at time t1 in FIG. 3).
5). When the master station 9 receives the inverted echo pack signal STP from the first control device 1, it thereby ends the diagnosis for the first control signal 1.

なお、上記実施例では、2つの情報バイトを送信し、こ
れに対応するように初期化コマンドを2回送信している
が、これに限定されるものでなく、情報バイトが最大3
バイトの場合には、初期化コマンドも3回連続して送信
するようにすればよい。
Note that in the above embodiment, two information bytes are sent and the initialization command is sent twice to correspond to this, but the invention is not limited to this, and the information bytes can be up to 3.
In the case of bytes, the initialization command may also be transmitted three times in succession.

すなわち、情報バイトの数に対応する数の初期化コマン
ドを送信すればよいことになる。
In other words, it is sufficient to transmit a number of initialization commands corresponding to the number of information bytes.

[発明の効果] 以上説明したように、本発明によれば、制御コマンドに
続いて送信される情報信号の数に相当する数の初期化コ
マンドを所定間隔あけて連続して各制御装置に送信して
いるので、例えば2つの情報信号を送信する場合には、
初期化コマンドを2回送信することになるが、この場合
に2つの情報信号の両方が初期化コマンドと同じ情報で
あったとしても、その次のコマンドは必ずシステム選択
コマンドと異なるコードであるため、選択しない他の制
御装置が誤って応答することがなく、従って正常な通信
を常に適確に行うことができる。
[Effects of the Invention] As explained above, according to the present invention, initialization commands of a number equivalent to the number of information signals transmitted following a control command are successively transmitted to each control device at predetermined intervals. Therefore, for example, when transmitting two information signals,
The initialization command will be sent twice, but even if both of the two information signals have the same information as the initialization command, the next command will always have a different code from the system selection command. , other unselected control devices will not respond erroneously, and therefore normal communication can always be performed accurately.

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

第1図は本発明の一実施例に係わる車両用通信装置のシ
ステム構成を示すブロック図、第2図は第1図の車両用
通信装置、で使用されるデータフォーマットを示す図、
第3図は第1図の車両用通信装置の動作を示すタイミン
グチャート、第4図は第1図の車両用通信装置の操作お
よび作用を示す表である。 1・・・第1の制御装置 3・・・第2の制御装置 5・・・信号線 9・・・マスターステーション 11・・・テンキー 13・・・デイスプレィ 17・−終了キ
FIG. 1 is a block diagram showing a system configuration of a vehicle communication device according to an embodiment of the present invention, and FIG. 2 is a diagram showing a data format used in the vehicle communication device of FIG.
FIG. 3 is a timing chart showing the operation of the vehicle communication device shown in FIG. 1, and FIG. 4 is a table showing the operation and effects of the vehicle communication device shown in FIG. 1...First control device 3...Second control device 5...Signal line 9...Master station 11...Numeric keypad 13...Display 17...End key

Claims (1)

【特許請求の範囲】[Claims] 複数の制御装置のうちの所望の制御装置を選択し、この
選択した制御装置に対して所定の制御動作を行わせる制
御コマンドを送信するとともに、この制御コマンドに続
いて当該制御コマンドに関連する1つ以上の情報信号を
前記選択した制御装置に対して送信する車両用通信装置
であって、前記複数の制御装置との間の通信回線を初期
化するとともに、前記複数の制御装置のうちの前記所望
の制御装置を選択する選択コマンドの受信待機状態に各
制御装置を設定する初期化コマンドを前記情報信号の数
に相当する数所定間隔あけて連続して各制御装置に送信
する初期化コマンド送信手段を有することを特徴とする
車両用通信装置。
A desired control device is selected from among the plurality of control devices, and a control command is sent to the selected control device to perform a predetermined control operation. A vehicle communication device that transmits one or more information signals to the selected control device, the communication device initializing a communication line with the plurality of control devices, and initializing the communication line with the plurality of control devices. Sending an initialization command to successively send an initialization command to each control device at predetermined intervals corresponding to the number of information signals to set each control device in a state of waiting to receive a selection command for selecting a desired control device; A vehicle communication device characterized by having a means.
JP1202885A 1988-12-28 1989-08-07 Vehicle communication device Expired - Lifetime JP2591173B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP1202885A JP2591173B2 (en) 1988-12-28 1989-08-07 Vehicle communication device
US07/450,977 US5132905A (en) 1988-12-28 1989-12-15 System and method applicable to vehicles for communicating between data processing stations
GB8929049A GB2229298B (en) 1988-12-28 1989-12-22 System and method applicable to vehicles for communicating between data processing stations
DE3942661A DE3942661A1 (en) 1988-12-28 1989-12-22 DEVICE AND METHOD FOR COMMUNICATION BETWEEN DATA PROCESSING STATIONS, IN PARTICULAR APPLICABLE FOR MOTOR VEHICLES

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
JP63-334670 1988-12-28
JP33467188 1988-12-28
JP33467088 1988-12-28
JP63-334671 1988-12-28
JP1202885A JP2591173B2 (en) 1988-12-28 1989-08-07 Vehicle communication device

Publications (2)

Publication Number Publication Date
JPH02262797A true JPH02262797A (en) 1990-10-25
JP2591173B2 JP2591173B2 (en) 1997-03-19

Family

ID=26574901

Family Applications (2)

Application Number Title Priority Date Filing Date
JP1202884A Expired - Lifetime JPH0724435B2 (en) 1988-12-28 1989-08-07 Vehicle communication device
JP1202885A Expired - Lifetime JP2591173B2 (en) 1988-12-28 1989-08-07 Vehicle communication device

Family Applications Before (1)

Application Number Title Priority Date Filing Date
JP1202884A Expired - Lifetime JPH0724435B2 (en) 1988-12-28 1989-08-07 Vehicle communication device

Country Status (1)

Country Link
JP (2) JPH0724435B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6128560A (en) * 1996-02-26 2000-10-03 Toyota Jidosha Kabushiki Kaisha Malfunction diagnosis system and method for on-vehicle electronic control units

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63224498A (en) * 1987-03-13 1988-09-19 Toshiba Corp Remote control system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63224498A (en) * 1987-03-13 1988-09-19 Toshiba Corp Remote control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6128560A (en) * 1996-02-26 2000-10-03 Toyota Jidosha Kabushiki Kaisha Malfunction diagnosis system and method for on-vehicle electronic control units

Also Published As

Publication number Publication date
JPH0724435B2 (en) 1995-03-15
JP2591173B2 (en) 1997-03-19
JPH02262796A (en) 1990-10-25

Similar Documents

Publication Publication Date Title
US5132905A (en) System and method applicable to vehicles for communicating between data processing stations
US5077670A (en) System and method applicable to vehicles for communicating between data processing stations
EP0422507B1 (en) System and method for communicating data between control unit and master station applicable to automotive vehicle
CN212909566U (en) CAN bus fault injection test system
JPH02262797A (en) Communication equipment for vehicle
JPH03124141A (en) On-vehicle communication equipment
US20040225739A1 (en) Synchronization of an instrument's time-base clock and notable events utilizing unused signal pairs on a daisy-chained ethernet communication link
JPH03139094A (en) Communication equipment for vehicle
KR100306349B1 (en) Data communication systems and devices for them
JPH01135150A (en) Node address setting system for network
JPH04287150A (en) Synchronous serial bus system
JP3401985B2 (en) Control communication system
JPH1115772A (en) Computer system
JP3472891B2 (en) Control communication system
JP2002298276A (en) Measurement control device
JP2718763B2 (en) Self-diagnosis activation method
US6948018B2 (en) Method and system for exchanging data
JP2001306133A (en) Method for diagnosis of control device
JPS60147553A (en) Control apparatus having self-diagnosing function
JP3031050B2 (en) Fault diagnosis device
CN113960991A (en) Vehicle fault diagnosis system, method and device, system-on-chip and vehicle
KR20050034438A (en) Data port connection status indicating method for mobile communication terminal
Takai et al. Development of Diagnostic Data Link Protocol
JPH0773390B2 (en) Remote monitoring controller
JPS63215237A (en) Polling communication circuit

Legal Events

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

Free format text: PAYMENT UNTIL: 20071219

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20081219

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20081219

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20091219

Year of fee payment: 13

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091219

Year of fee payment: 13