JPH077957B2 - In-vehicle communication control device - Google Patents
In-vehicle communication control deviceInfo
- Publication number
- JPH077957B2 JPH077957B2 JP1266679A JP26667989A JPH077957B2 JP H077957 B2 JPH077957 B2 JP H077957B2 JP 1266679 A JP1266679 A JP 1266679A JP 26667989 A JP26667989 A JP 26667989A JP H077957 B2 JPH077957 B2 JP H077957B2
- Authority
- JP
- Japan
- Prior art keywords
- order
- control device
- vehicle
- communication
- priority
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Landscapes
- Selective Calling Equipment (AREA)
- Control Of Driving Devices And Active Controlling Of Vehicle (AREA)
- Small-Scale Networks (AREA)
Description
【発明の詳細な説明】 [産業上の利用分野] 本発明は、車両内通信制御装置に関し、詳しくは他の制
御装置とともにデータリンクを構成する車両内通信制御
装置に関する。TECHNICAL FIELD The present invention relates to an in-vehicle communication control device, and more particularly to an in-vehicle communication control device that forms a data link with other control devices.
[従来の技術] 近年、各種機器の制御を行う車両用の制御装置は、その
電子化に伴い、緻密かつ高精度な制御を行うようになっ
ているが、最近では更にマイクロコンピュータ等を組み
込み、そのインテリジェント化が進められている。この
様な制御装置では、制御対称の単純な制御にとどまら
ず、他の制御装置(スイッチを含む)とデータをやり取
りしてシステム全体として一層高度な制御を行うことが
できる。[Prior Art] In recent years, a control device for a vehicle that controls various devices has come to perform precise and high-precision control due to its computerization, but recently, a microcomputer or the like has been further incorporated. The intelligentization is progressing. In such a control device, not only simple control symmetrical to the control, but also data can be exchanged with other control devices (including switches) to perform more advanced control as a whole system.
そして、車両においては、車両に搭載された各種機器の
制御を電子制御装置により行うとともに、複数の電子制
御装置やスイッチを共通信号線(通信ライン)を用いて
データリンクし、一つの電子制御装置がセンサ等を介し
て入力したデータやその他の制御条件を他の電子制御装
置にも提供しようとする試みがなされている。このデー
タリンクのシステムは、LAN(Local Area Network)と
呼ばれ、前記複数の電子制御装置をデータリンクしてデ
ータを送信する手段としては、いわゆるCSMA/CD(Carri
er Sense Marutiple Access/Collision Detection)が
知られている。In a vehicle, various electronic devices mounted on the vehicle are controlled by an electronic control device, and a plurality of electronic control devices and switches are data-linked by using a common signal line (communication line) to provide one electronic control device. Attempts have been made to provide other electronic control devices with the data and other control conditions input via the sensor. This data link system is called a LAN (Local Area Network), and as a means for data linking the plurality of electronic control devices to transmit data, so-called CSMA / CD (Carri
er Sense Marutiple Access / Collision Detection) is known.
このCSMA/CDは、各々の制御装置がデータを送信する前
にきき耳を立てて、他の制御装置による送信が聞こえて
いる間は送信を見合わせるものであり、近年では、送信
するデータに識別子(ID)を設定して,そのIDによって
データの種類を区別したり、或は実時間のデータを優先
的に扱うために、IDに優先順位を設けてデータの優先順
位を設定する技術が提案されている(特開昭61−195453
号公報参照)。This CSMA / CD listens before each control device transmits data, and suspends transmission while listening to the transmission by other control devices. To set (ID), distinguish the data type by the ID, or prioritize real-time data, propose a technology to set the priority order of data by setting the priority order of ID (JP-A-61-195453)
(See the official gazette).
[発明が解決しようとする課題] しかしながら、上記従来技術には下記のような問題があ
り、未だ充分ではなかった。[Problems to be Solved by the Invention] However, the above-mentioned conventional techniques have the following problems and have not been sufficient yet.
すなわち、CSMA/CD方式では、システム設計時に各デー
タに割り付けられたIDにより、通信ライン上での勝ち残
り権が決定される。従って、IDが優先順位(プライオリ
ティ)の低いものとして登録されたデータは、プライオ
リティの高いデータに通信ライン上で負けて送信を控
え、通信ラインが空くのを待って再送信する。その結
果、プライオリティの低いデータは待ち時間が長い傾向
にある。ところが、車両の運転の制御に必要なデータ、
例えば、エンジン始動時に必要とされるデータは、高速
運転時にはあまり必要とされないことがある様に、その
運転状態に応じて必要度が異なっている。従って、従来
のようにデータのプライオリティが固定されていると、
一連のスイッチ操作のフィーリング向上、又は走行状
態、路面状態に応じたきめ細かい制御が困難になるとい
う問題が生じていた。In other words, in the CSMA / CD method, the ID which is assigned to each data at the time of system design determines the right to win the rest on the communication line. Therefore, data whose ID has been registered as one having a low priority (priority) is lost on the communication line to data having a high priority and refrains from transmission, and is retransmitted after waiting for the communication line to become empty. As a result, low priority data tends to have a long waiting time. However, the data necessary for controlling the driving of the vehicle,
For example, the data required at the time of starting the engine have different degrees of necessity depending on the operating state so that the data may not be needed so much at high speed operation. Therefore, if the priority of data is fixed as in the past,
There has been a problem that it is difficult to improve the feeling of a series of switch operations or to perform fine control according to the running state and the road surface state.
本発明は、車両の制御に必要なデータを、運転状態に応
じて好適に送受信できる車両用通信制御装置を提供する
ことを目的とする。It is an object of the present invention to provide a vehicle communication control device capable of suitably transmitting and receiving data required for vehicle control according to a driving state.
[課題を解決するための手段] 上記目的を達成するためになされた本発明は、第1図に
例示するように、信号の入出力を行う通信制御手段M1を
介して共通信号線M2に接続されて、他の制御装置M3とと
もにデータリンクを構成し、該データリンク内において
予め定められた序列による送信権に基づいて、前記共通
信号線M2にデータを出力する車両内通信制御装置におい
て、 車両の種々の運転状態に応じてそれぞれ定められる前記
送信権の序列を予め記憶する序列記憶手段M10と、 車両の運転状態を検知する運転状態検知手段M11と、 前記制御装置M3間の通信状態を検知する通信状態検知手
段M4と、 該通信状態検知手段M4によって検知した前記通信状態に
基づいて、前記制御装置M3が頻繁に送信を行っている場
合に前記送信権の序列の変更を行うべきと判断する序列
変更判定手段M5と、 該序列変更判定手段M5によって前記序列の変更を行うべ
きと判断された場合には、前記運転状態検知手段M11に
よって検知した運転状態に基づき、前記序列記憶手段M1
0に記憶された該運転状態に応じた序列への変更を指示
する序列変更指示手段M6と を備えたことを特徴とする車両内通信制御装置を要旨と
するものである。[Means for Solving the Problems] The present invention made to achieve the above object is, as illustrated in FIG. 1, connected to a common signal line M2 via a communication control means M1 for inputting and outputting a signal. In the in-vehicle communication control device that forms a data link with another control device M3 and outputs data to the common signal line M2 based on the transmission right according to a predetermined order in the data link, Order storage means M10 for pre-storing the order of the transmission rights respectively determined according to various driving states of the vehicle, a driving state detecting means M11 for detecting the driving state of the vehicle, and a communication state between the control device M3 Based on the communication state detection means M4 that performs the communication state detection means M4, the order of the transmission rights should be changed when the control device M3 frequently transmits. A ranking change determination unit M5 for disconnection, when it is determined that to make any changes in the hierarchy by 該序 column change determination unit M5 is based on the operating state detected by said operating condition detecting means M11, the ranking memory unit M1
An in-vehicle communication control device is characterized in that it includes an order change instruction means M6 for instructing a change to an order according to the driving state stored in 0.
[作用] 本発明の車両内通信制御装置は、第1図に例示するよう
に、他の制御装置M3とともに、信号の入出力を行う通信
制御手段M1を介して共通信号線M2に接続されてデータリ
ンクを構成し、そのデータリンク内において予め定めら
れた送信権の序列(優先順位)に基づいて、共通信号線
M2にデータを出力する。この送信権の序列は、例えばエ
ンジン始動時か高速運転時か、晴天か雨天か、あるいは
昼間か夜間か等といった、車両の種々の運転状態に応じ
て、必要度の高い順序で予め定められ、それら何種類か
の序列が序列記憶手段M10によって記憶されている。[Operation] As shown in FIG. 1, the in-vehicle communication control device of the present invention is connected to the common signal line M2 through the communication control means M1 for inputting and outputting signals together with the other control device M3. A common signal line is formed based on a predetermined order (priority) of transmission rights in the data link, which constitutes a data link.
Output data to M2. The order of this transmission right is predetermined in an order of high necessity in accordance with various driving states of the vehicle, for example, when the engine is started or at high speed, whether it is sunny or rainy, daytime or nighttime, etc. The several kinds of orders are stored by the order storage means M10.
車両の運転状態が変化することにより、当初設定されて
いた序列が現在の運転状態にとって最適なものでは無く
なると、優先順位の低い制御装置から頻繁にデータが送
信される状態になる場合がある。ここで、頻繁にデータ
が送信される状態とは、優先順位の低い制御装置からの
送信が、優先順位の高い制御装置からの送信に負けて待
機させられ、通信ラインが空いてから優先順位の低い制
御装置が再び送信を行うことにより、送信が成功するま
でに何度も送信が行われる状態を意味する。このような
制御装置間の通信状態は、通信状態検知手段M4によって
検知される。そして、この通信状態に基づき、制御装置
M3が頻繁に送信を行っている場合には、序列変更判定手
段M5によって送信権の序列の変更を行うべきと判断され
る。そして、序列の変更を行うべきと判断された場合に
は、序列変更指示手段M6が、序列記憶手段M10に記憶さ
れた序列の中から、運鉄状態検知手段M11によって検知
された現在の運転状態に基づいて最適な序列を選び、そ
の序列への変更を指示する。この結果、送信権の序列
が、現在の運転状態に最も適した序列に変更される。If the order set initially is not optimal for the current driving state due to a change in the driving state of the vehicle, the control device having a lower priority may frequently transmit data. Here, the state in which data is frequently transmitted means that a transmission from a control device with a low priority is delayed by a transmission from a control device with a high priority, and the communication line becomes vacant. It means a state in which the lower control device performs transmission again, so that the transmission is performed many times before the transmission is successful. The communication state between such control devices is detected by the communication state detecting means M4. Then, based on this communication state, the control device
When M3 is transmitting frequently, the order change determination means M5 determines that the order of transmission rights should be changed. Then, when it is determined that the order change should be performed, the order change instruction means M6 is, from among the orders stored in the order storage means M10, the current operating state detected by the iron transportation state detection means M11. Based on, select the most appropriate order and instruct to change to that order. As a result, the order of transmission rights is changed to the order most suitable for the current driving state.
つまり、本発明においては、制御装置M3のいずれかが頻
繁に送信を行っている状態になったことを契機として、
送信権の序列を現在の運転状態に最も適した序列に変更
する。That is, in the present invention, when one of the control devices M3 is in the state of frequently transmitting,
Change the order of transmission rights to the order most suitable for the current driving condition.
このように構成すると、現在の運転状態からして優先順
位を上げるべき制御装置から、頻繁に送信が行われれ
ば、それを契機に当該制御装置の優先順位を上げること
ができる。一方、仮に、現在の運転状態からすれば優先
順位を上げなくても良い制御装置から、たまたま頻繁に
送信が行われたとしても、当該制御装置の優先順位を上
げてしまうことはない。したがって、頻繁に送信を行っ
た制御装置の優先順位を単に繰り上げるもの等とは異な
り、運転状態に見合った最適な通信状態となる。With such a configuration, if frequent transmission is performed from the control device whose priority should be raised from the current operating state, the priority of the control device can be raised on the occasion of the frequent transmission. On the other hand, even if the control device does not need to raise the priority order from the current operating state, even if the transmission happens to be frequent, the priority order of the control device is not raised. Therefore, unlike the case where the priority order of the control device that has frequently transmitted is simply increased, the communication state is optimized in accordance with the operating state.
また、どの制御装置も頻繁に送信を行っていなければ、
最適な序列ではなくても序列の変更はなされない。これ
は、送信がうまく行われていれば序列を変更する必要は
なく、むしろ、単に運転状態の変化によって序列を変更
するのに比べた場合、実質的に不要な序列変更指示が減
ることになり、序列の変更にかかる処理が減る分だけ各
制御装置における他の処理を迅速に実行できるためであ
る。Also, if none of the controllers are sending frequently,
Even if the order is not optimal, the order is not changed. This means that if the transmission is successful, it is not necessary to change the order, but rather than simply changing the order by changing the driving state, there will be substantially less unnecessary order change instructions. This is because other processing in each control device can be executed promptly as the processing required for changing the order decreases.
[実施例] 次に、本発明の車両内通信制御装置の好適な実施例を図
面に基づいて詳細に説明する。第2図は本発明一実施例
としての車両用通信制御装置をシステム全体とともに示
している。このシステムは通信のためのいわゆるローカ
ルエリアネットワーク(LAN)を構成しており、本実施
例では、バスアクセス方式として周知のCSMA/CD方式を
採用している。[Embodiment] Next, a preferred embodiment of the in-vehicle communication control device of the present invention will be described in detail with reference to the drawings. FIG. 2 shows a vehicle communication control device as an embodiment of the present invention together with the entire system. This system constitutes a so-called local area network (LAN) for communication, and in this embodiment, the well-known CSMA / CD system is adopted as a bus access system.
図示する様に、車両には、各種の電子制御装置(ECU)
1,2,3,4が搭載されており、これらは共通信号線5に接
続されている。またこれらのECU1〜4は、共通信号線5
を介して信号の送受信を行う通信制御回路6を備えてい
る。更に、共通信号線5には、上記ECU1〜4以外にも、
通信機能を備えた各種のスイッチ7,8が接続されてい
る。尚、各ECU1〜4の内部構成はほぼ同様なので、エア
コンECU1についてのみ詳しく説明し、他については説明
を簡略化する。As shown, the vehicle has various electronic control units (ECUs)
1, 2, 3, 4 are mounted, and these are connected to the common signal line 5. Also, these ECUs 1 to 4 are connected to the common signal line 5
A communication control circuit 6 is provided for transmitting and receiving signals via the. Furthermore, in addition to the above ECUs 1 to 4, the common signal line 5 is
Various switches 7 and 8 having a communication function are connected. Since the internal configurations of the ECUs 1 to 4 are almost the same, only the air conditioner ECU 1 will be described in detail, and the other parts will be simplified.
(1) エアコンECU1 車内の温度をモニタして、車内の温度を適温に調節する
ための制御装置であり、周知のCPU10,ROM11,RAM12を備
えた論理演算回路として構成されている。また、このエ
アコンECU1の入力インターフェース13には、エアコンEC
U1への指示を与えるスイッチ群30及び車内の温度を検知
するセンサ群31が接続され、一方、出力インターフェー
ス14には、図示しないダンパ等の駆動モータなどのアク
チュエータ群32が接続されている。更に、共通信号線5
とのデータの入出力の制御を行う通信制御回路6は、バ
ス15を介して、上記のCPU10,ROM11,RAM12,入力インター
フェース13及び出力インターフェース14等に接続されて
いる。(1) Air Conditioner ECU1 This is a control device for monitoring the temperature inside the vehicle and adjusting the temperature inside the vehicle to an appropriate temperature, and is configured as a logical operation circuit including a well-known CPU10, ROM11, RAM12. In addition, the input interface 13 of this air conditioner ECU 1 has an air conditioner EC
A switch group 30 for giving an instruction to U1 and a sensor group 31 for detecting the temperature inside the vehicle are connected, while the output interface 14 is connected with an actuator group 32 such as a drive motor such as a damper (not shown). Furthermore, the common signal line 5
The communication control circuit 6 for controlling the input and output of data to and from is connected to the CPU 10, the ROM 11, the RAM 12, the input interface 13, the output interface 14 and the like via the bus 15.
そして、上記ROM11には、通信状態及び運転状態に応じ
て変更される後述する各ECU1〜4やスイッチ7,8の送信
権の序列(優先順位)の組合せが記憶されている。更
に、このエアコンECU1はネットワークマネージャを兼務
するものであるので、ROM11には上記優先順位の組合せ
を指示する各種のコマンドが記憶されており、一方、他
のECU2〜4には、このコマンドに対応して上記優先順位
の各種の組合せが記憶されている。Then, the ROM 11 stores a combination of the order (priority order) of transmission right of each of the ECUs 1 to 4 and the switches 7 and 8 which will be described later and is changed according to the communication state and the operating state. Further, since this air conditioner ECU1 also serves as a network manager, various commands for instructing the combination of the above priorities are stored in the ROM11, while the other ECUs 2 to 4 correspond to this command. Then, various combinations of the above priorities are stored.
(2) エンジン制御ECU2 エンジン(図示せず)の燃料噴射量や点火時期等を総合
的に制御する制御装置であり、吸入空気量センサや回転
数センサ等のセンサ群33からデータを入力し、燃料噴射
弁やイグナイタ等のアクチュエータ群34を制御する。そ
して、共通信号線5を介して、後述するトランスミッシ
ョン制御ECU3等とデータをやりとりし、走行状態に応じ
てエンジンの出力を制御するなど緻密なエンジン制御を
実現する。(2) Engine control ECU2 This is a control device that comprehensively controls the fuel injection amount and ignition timing of the engine (not shown), and inputs data from a sensor group 33 such as an intake air amount sensor and a rotation speed sensor, An actuator group 34 such as a fuel injection valve and an igniter is controlled. Then, data is exchanged with the transmission control ECU 3 and the like described later via the common signal line 5 to realize precise engine control such as controlling the output of the engine according to the traveling state.
(3) トランスミッション制御ECU3 車載の自動変速機(図示せず)を制御する制御装置であ
り、シフトポジションを検出するセンサ作動油圧を検出
するセンサ等のセンサ群35からの入力に基づいて、変速
比を切り換える油圧バルブ等のアクチュエータ群36を駆
動制御する。(3) Transmission control ECU3 is a control device for controlling an on-vehicle automatic transmission (not shown), and a gear ratio based on an input from a sensor group 35 such as a sensor for detecting a hydraulic oil pressure for detecting a shift position. The actuator group 36 such as a hydraulic valve for switching between is controlled to be driven.
(4) サスペンションECU4 サスペンション(図示せず)の特性を走行状態に応じて
切り換える制御装置であり、車高等の検出を行うセンサ
群37からの入力に基づいて、油圧バルブ等のアクチュエ
ータ群38を制御する。このサスペンション制御ECU4は、
スロットルバルブが急激に開弁された時、共通信号線5
を介してエンジン制御ECU2からこれを知らされるので、
ショックアブソーバの特性を硬くするなどの精密な制御
を行う。(4) Suspension ECU4 A control device that switches the characteristics of a suspension (not shown) according to the running state, and controls an actuator group 38 such as a hydraulic valve based on an input from a sensor group 37 that detects vehicle height and the like. To do. This suspension control ECU4
When the throttle valve is suddenly opened, the common signal line 5
Since this is notified from the engine control ECU2 via
Perform precise control such as hardening the characteristics of the shock absorber.
また、上記各ECU1〜4以外にも、共通信号線5には、例
えば、ワイパスイッチ7,オートドライブスイッチ8等の
スイッチに加え、図示しないミラー,シート,テレスコ
又はチルトステアリング系のスイッチが、各々の通信制
御回路6を介して接続されている。In addition to the ECUs 1 to 4, the common signal line 5 includes, for example, switches such as a wiper switch 7 and an automatic drive switch 8 as well as a mirror, seat, telescopic or tilt steering system switch (not shown). Are connected via the communication control circuit 6.
ここで、上記エアコンECU1等に備えられた通信制御回路
6には、第3図に示すように、RAM6a及びROM6bを備えた
コントロールロジック6cが設けられている。このコント
ロールロジック6cには、共通信号線5への信号の送信を
行うドライバ6d,共通信号線5からの信号の受信を行う
レシーバ6e,シリアルデータの入出力を行うシリアル入
出力部(SIO)6f,パラレルデータの入出力を行うパラレ
ル入出力部(PIO)6g等が、バス6hを介して接続されて
いる。更に、この通信制御回路6には、設定されたボー
レートに基づいてクロックの分周を行う分周回路6iが設
けられている。Here, as shown in FIG. 3, the communication control circuit 6 included in the air conditioner ECU 1 and the like is provided with a control logic 6c including a RAM 6a and a ROM 6b. The control logic 6c includes a driver 6d that transmits a signal to the common signal line 5, a receiver 6e that receives a signal from the common signal line 5, and a serial input / output unit (SIO) 6f that inputs / outputs serial data. A parallel input / output unit (PIO) 6g for inputting / outputting parallel data is connected via the bus 6h. Further, the communication control circuit 6 is provided with a frequency dividing circuit 6i for frequency dividing the clock based on the set baud rate.
次に、本実施例の車両内通信制御装置が行う制御につい
て、第4図及び第5図の説明図,第6図及び第7図のフ
ローチャートに基づいて説明する。Next, the control performed by the in-vehicle communication control device of the present embodiment will be described based on the explanatory views of FIGS. 4 and 5 and the flowcharts of FIGS. 6 and 7.
本実施例では、第4図に示すように、エアコンECU1がネ
ットワークマネージャとして機能し、ECU1〜4間の通信
状態や種々の運転状態に応じて、自分自身の送信権の序
列(優先順位)を変更するとともに、他のECU2〜4にそ
の優先順位の変更を指示する制御信号(コマンド)を送
信するものである。この優先順位とは、異なるECU2〜4
やスイッチ7,8から送信されるデータの信号(フレー
ム)が、共通信号線5で衝突する場合の勝ち残り権を示
すものである。In the present embodiment, as shown in FIG. 4, the air conditioner ECU1 functions as a network manager and determines the order (priority order) of its own transmission right according to the communication state between the ECUs 1 to 4 and various operating states. Along with the change, a control signal (command) for instructing the other ECUs 2 to 4 to change the priority order is transmitted. ECUs 2-4 different from this priority
The data signal (frame) transmitted from the switches 7 and 8 indicates the right to win in the event of collision on the common signal line 5.
上記フレームは、第5図に示すように、信号の先頭を示
すスタートフラグ,どこから送信された信号かを示す識
別子(ID),信号の内容であるデータバイト,エラーの
検出を行うためのCRC,信号の後端を示すエンドフラグか
ら構成されている。このうち上記IDに優先順位を示す信
号が記録されている。As shown in FIG. 5, the frame includes a start flag indicating the beginning of the signal, an identifier (ID) indicating where the signal is transmitted from, a data byte that is the content of the signal, a CRC for detecting an error, It is composed of an end flag indicating the trailing end of the signal. Among these, a signal indicating the priority order is recorded in the above ID.
尚、各スイッチ7,8の優先順位は変更できないので、ECU
1〜4の優先順位を変更することによって、実質上各ス
イッチ7,8の優先順位を変更することができる。Since the priority of each switch 7 and 8 cannot be changed, the ECU
By changing the priority levels of 1 to 4, the priority levels of the switches 7 and 8 can be changed substantially.
次に、第6図のフローチャートに基づいて説明する。Next, a description will be given based on the flowchart of FIG.
まず、図に示す様に、ステップ100にて、制御開始から
1分間以上経過したか否かを判定し、ここで否定判断さ
れるとステップ110に進み、優先順位の初期設定が完了
したか否かを判定する。ここで肯定判断されるとステッ
プ100に戻り、一方、否定判断されると、ステップ120に
進み、優先順位の初期設定を行ってステップ100に戻
る。First, as shown in the figure, in step 100, it is determined whether or not one minute or more has elapsed from the start of control. If a negative determination is made here, the process proceeds to step 110 to determine whether the initialization of the priority order is completed. To determine. If an affirmative determination is made here, the process returns to step 100. On the other hand, if a negative determination is made, the process proceeds to step 120, the priority order is initialized, and the process returns to step 100.
即ち、上記ステップ100〜120の処理は、制御開始から1
分未満に初期設定が行われていない場合には、ECU1〜4
等の初期設定を行う処理である。That is, the processing of steps 100 to 120 is 1
If the initial settings have not been made in less than a minute, ECU1-4
This is a process for performing initial settings such as.
また、上記ステップ100で、1分以上経過したと判断さ
れると、ステップ130に進む。If it is determined in step 100 that one minute or more has elapsed, the process proceeds to step 130.
ステップ130では、前回ステップ130を通ってから5秒以
上経過したか否かを判定して、5秒以上経過したと判断
されるとステップ140に進む。In step 130, it is determined whether or not 5 seconds or more have passed since the previous step 130, and if it is determined that 5 seconds or more have passed, the process proceeds to step 140.
ステップ140では、光量センサからの信号に基づいて、
周囲が明るいか暗いかを判定する。ここで暗いと判断さ
れると、ステップ150に進む。In step 140, based on the signal from the light amount sensor,
Determine whether the surroundings are bright or dark. If it is determined that it is dark, the process proceeds to step 150.
ステップ150では、ワイパステッチ7からの信号に基づ
いて、周囲が雨が晴れかを判定する。即ち、ワイパスイ
ッチ7がオンであれば雨と判定し、オフであれば晴れと
判定する。ここで雨と判断されるとステップ160に進
む。In step 150, it is determined based on the signal from the wiper stitch 7 whether the surrounding rain is fine. That is, if the wiper switch 7 is on, it is determined to be rain, and if it is off, it is determined to be sunny. If it is determined that it is raining, the process proceeds to step 160.
ステップ160では、車速センサからの信号に基づいて車
両が円滑に走行しているか否かを判定する。即ち、車両
のスピードが所定時間内に頻繁に加減速を繰り返してい
るか否かを判定し、それによって、車両の走行状態を判
定する。ここで車両が円滑に走行していると判定される
と、ステップ170に進む。In step 160, it is determined whether the vehicle is traveling smoothly based on the signal from the vehicle speed sensor. That is, it is determined whether or not the speed of the vehicle is repeatedly accelerated and decelerated within a predetermined time, and thereby the traveling state of the vehicle is determined. If it is determined that the vehicle is traveling smoothly, the process proceeds to step 170.
ステップ170では、車両のスピードが所定以上か否か
を、車速センサからの信号に基づいて判定し、スピード
が大きい場合にはステップ180に進む。In step 170, it is determined whether the speed of the vehicle is equal to or higher than a predetermined value based on the signal from the vehicle speed sensor. If the speed is high, the process proceeds to step 180.
このステップ180では、過去5秒間に所定回数を超える
送信を行ったECU1〜4やスイッチ7,8の装置(ノード)
があるか否かを判定し、所定回数を超える頻繁な送信を
行ったノードがある場合には、ステップ190に進む。一
方、所定回数を超える送信を行ったノードが無い場合に
は、上記ステップ130に戻る。In this step 180, the devices (nodes) of the ECUs 1 to 4 and the switches 7 and 8 that have transmitted a predetermined number of times in the past 5 seconds.
It is determined whether or not there is a node, and if there is a node that has transmitted frequently over a predetermined number of times, the process proceeds to step 190. On the other hand, if there is no node that has transmitted more than the predetermined number of times, the process returns to step 130.
尚、このステップ180及び下記のステップ190,200は、フ
ローチャートの説明を簡単にするために、送信回数の判
定や、その判定に基づいて行われる処理を一括して表示
したものであって、実際は各々の運転状態の判定や通信
状態の判定に応じて、各々異なるルートを通って処理が
行われるものである。Note that this step 180 and the following steps 190 and 200 collectively display the determination of the number of transmissions and the processing performed based on the determination in order to simplify the explanation of the flowchart. Processing is performed through different routes depending on the determination of the driving state and the determination of the communication state.
ステップ190では、上記各ノードの送信回数と、上記ス
テップ140〜170で判定した運転状態に応じて、ネットワ
ークマネージャであるエアコンECU1から優先順位の変更
を指示するコマンドを送信する。尚、このコマンドの送
信の際には、必要に応じてネットワークマネージャ自身
の優先順位を変更する。In step 190, the air conditioner ECU 1 which is the network manager transmits a command for changing the priority order according to the number of transmissions of each node and the operating state determined in steps 140 to 170. When sending this command, the priority of the network manager itself is changed if necessary.
続くステップ200では、上記ネットワークマネージャか
らのコマンドを受けて、各ECU2〜4で自身の優先順位を
変更する処理を行い、上記ステップ130に戻って、同様
な処理を繰り返す。In the following step 200, in response to the command from the network manager, each of the ECUs 2 to 4 performs a process of changing its own priority order, and returns to the above step 130 to repeat the same process.
尚、上記ステップ140〜170で肯定判断される場合とは、
例えば夜間で、雨が降っており、しかも高速で円滑に走
行中であると判断されるので、例えばアンチブレーキシ
ステム(ABS)に使用される制御装置等の優先順位を上
げることが考えられる。In addition, when the affirmative judgment is made in steps 140 to 170,
For example, at night, it is determined that it is raining and that the vehicle is traveling smoothly at high speed. Therefore, for example, it is conceivable to raise the priority of the control device used for the anti-brake system (ABS).
次に、上記第6図の他の処理について説明するが、上述
した処理とほぼ同様な処理であるので簡潔に説明する。Next, the other processing of FIG. 6 will be described, but since it is almost the same as the processing described above, it will be briefly described.
まず、上記ステップ160或はステップ170で否定判断され
た場合は、上記ステップ180に進んでノードの送信回数
の判定を行う。その判定に基づいて、ステップ190,200
に進んで送信権の優先順位を変更するか、或はステップ
130に戻る。First, if a negative determination is made in step 160 or step 170, the process proceeds to step 180 to determine the number of times of node transmission. Based on that decision, step 190,200
Go to to change the priority of the transmission right, or step
Return to 130.
また、ステップ150で否定判断された場合は、ステップ2
10で円滑な走行か否かを判定し、更にステップ220でス
ピードが所定以上か否かを判定し、各々の場合において
ステップ180に進む。その後、上記と同様にステップ19
0,200或はステップ130に進む。If a negative decision is made in step 150, step 2
In step 10, it is determined whether or not the vehicle is running smoothly, and in step 220, it is determined whether or not the speed is equal to or higher than a predetermined speed. In each case, the process proceeds to step 180. Then step 19 as above
Proceed to 0,200 or step 130.
更に、上記ステップ140で否定判断されて進むステップ2
30では、雨か否かを判定し、ここで肯定判断されると、
ステップ240,250で、上記ステップ160,170と同様な各運
転状態の判定を行った後に、ステップ180に進む。一
方、ステップ230で否定判断された場合も、ステップ26
0,270で同様な運転状態の判定を行った後にステップ180
に進む。Further, the step 2 which is judged negative in the above step 140 and proceeds.
In 30, it is determined whether it is raining, and if a positive determination is made here,
In steps 240 and 250, after determining the respective operating states as in steps 160 and 170, the process proceeds to step 180. On the other hand, if a negative decision is made in step 230, step 26
After determining the same operating condition at 0,270, proceed to step 180
Proceed to.
次に、上述したステップ200で行われる処理について、
第7図のフローチャートに基づいて詳細に説明する。Next, regarding the processing performed in step 200 described above,
A detailed description will be given based on the flowchart of FIG.
図に示すように、ネットワークマネージャからコマンド
が送信されると、各ECU2〜4では、まず、ステップ300
にて、コマンドを受信したか否かを判定する。ここで肯
定判断されると、ステップ310に進み、ECU2〜4のROM11
に記憶されている上記コマンドに対応した優先順位の組
合せを参照して、該当する組合せを求め、ステップ320
に進む。As shown in the figure, when a command is sent from the network manager, each of the ECUs 2 to 4 firstly executes step 300
At, it is determined whether or not the command is received. If an affirmative decision is made here, the routine proceeds to step 310, where the ROM 11 of the ECUs 2 to 4 is
Refer to the combination of priorities corresponding to the above commands stored in, to find the corresponding combination, and step 320
Proceed to.
ステップ320では、新たに求めた自分自身の優先順位
が、現在の自身の優先順位と同一か否かを判定し、ここ
で同一であると肯定判断されると、優先順位の変更を行
うことなく一旦本処理を終了し、一方、異なると判断さ
れるとステップ330に進む。In step 320, it is determined whether or not the newly obtained priority of the self is the same as the current priority of the self, and if it is affirmatively determined to be the same, the priority is not changed. This process is once terminated, and if it is determined to be different, the process proceeds to step 330.
ステップ330では、現在の優先順位を新しい優先順位に
変更して一旦本処理を終了する。In step 330, the current priority order is changed to a new priority order, and this processing is once terminated.
つまり、ネットワークマネージャは通信状態を監視し、
所定回数を超える頻繁な送信を行ったノードがる場合
に、車両の運転状態に応じて、どのECU2〜4やスイッチ
7,8の優先順位を上げ或は下げたらよいかを判定し、そ
の判定応じて所定のコマンドを他のECU2〜3に送信す
る。すると、そのコマンドを受信したECU2〜4は、自身
のROM11に記憶した上記コマンドと対応する優先順位の
組合せを参照し、このコマンドに応じて自身の優先順位
を変更するものである。In other words, the network manager monitors the communication status,
If there is a node that has transmitted frequently more than a predetermined number of times, which ECU 2 to 4 or switch will be used depending on the driving state of the vehicle.
It is determined whether the priority of 7, 8 should be raised or lowered, and a predetermined command is transmitted to the other ECUs 2 to 3 according to the determination. Then, the ECUs 2 to 4 receiving the command refer to the combination of the priorities corresponding to the above commands stored in the ROM 11 of their own, and change their own priorities in accordance with this command.
この様に、本実施例では、周囲の明るさ,晴雨,車両の
走行状態及びスピードを検出して、車両の運転状態を判
断するとともに、各ノードから送り出されたフレームの
回数を検出して、ECU1〜4やスイッチ7,8の通信状態を
判断している。As described above, in this embodiment, the ambient brightness, the clear rain, the running state and speed of the vehicle are detected to determine the operating state of the vehicle, and the number of frames sent from each node is detected, It determines the communication status of ECUs 1 to 4 and switches 7 and 8.
従って、運転状態及び通信状態に応じて、ECU1〜4やス
イッチ7,8の送信権の優先順位を、随時変更して最適に
設定することができる。それによって、その時々の運転
の制御に最も必要とされるデータの優先順位を上げるこ
とができるので、必要なデータが速やかに送受信され、
迅速かつ的確な車両の制御を行うことができる。Therefore, the priority of the transmission right of the ECUs 1 to 4 and the switches 7 and 8 can be changed at any time and optimally set according to the operating state and the communication state. As a result, the priority of the data most needed to control the driving at that time can be raised, so that the necessary data can be sent and received promptly,
The vehicle can be controlled quickly and accurately.
以上本発明の実施例について説明したが、本発明はこの
ような実施例に何等限定されるものではなく、本発明の
要旨を逸脱しない範囲内において種々なる態様で実施し
得ることは勿論である。Although the embodiments of the present invention have been described above, the present invention is not limited to such embodiments, and it goes without saying that the present invention can be implemented in various modes without departing from the scope of the present invention. .
例えば、本実施例では、エアコンECU1をネットワークマ
ネージャとしたが、このネットワークマネージャは、比
較的制御に余裕のあるECUに兼務させればよく、特に限
定はない。例えば、デジタルメータ制御用のECUやシー
トのポジションを制御するECUに兼務させてもよい。For example, in the present embodiment, the air conditioner ECU1 is used as the network manager, but this network manager may be made to serve also to the ECU having a relatively large control, and there is no particular limitation. For example, the ECU for controlling the digital meter or the ECU for controlling the position of the seat may be concurrently used.
[発明の効果] 以上詳記したように本発明の車両内通信制御装置は、制
御装置のいずれかが頻繁に送信を行っている状態になっ
た時に、送信権の序列を現在の運転状態に応じた序列に
変更する。したがって、優先順位を上げるべき制御装置
から頻繁に送信が行われれば、当該制御装置の優先順位
が上がる一方、仮に、優先順位を上げなくても良い制御
装置から頻繁に送信が行われたとしても、当該制御装置
の優先順位を上げてしまうことはない。また、どの制御
装置も頻繁に送信を行っていなければ、現在の序列が最
適ではなくても、実質的に不要な序列の変更は行われ
ず、各制御装置における他の処理を迅速に実行できる。
これらの結果、必要に応じて直ちに運転状態に応じた最
適な通信状態となるため、車両に対して迅速かつ適切な
制御がなされ、走行状態、路面状態に応じたきめ細かい
制御が可能となり、スイッチ操作のフィーリング等も向
上する。[Effects of the Invention] As described in detail above, the in-vehicle communication control device of the present invention sets the order of the transmission right to the current driving state when any one of the control devices is in a state of frequent transmission. Change the order accordingly. Therefore, if frequent transmission is performed from the control device that should raise the priority, while the priority of the control device increases, even if the control device that does not need to raise the priority frequently transmits. The priority of the control device is not increased. Further, if none of the control devices transmits frequently, even if the current order is not optimal, the unnecessary order change is not substantially performed, and other processing in each control device can be quickly executed.
As a result of these, the optimum communication state according to the driving state is immediately set as necessary, so that the vehicle can be quickly and appropriately controlled, and fine control according to the running state and the road surface state can be performed, and the switch operation The feeling, etc. of will also be improved.
第1図は本発明の基本的構成の例示図、第2図は実施例
のシステム構成図、第3図は通信制御回路の概略構成
図、第4図は電子制御装置及びスイッチの基本構成を示
す説明図、第5図はデータの構造を示す説明図、第6図
は本実施例の全体の制御を示すフローチャート、第7図
は送信権の序列を変更する処理を示すフローチャートで
ある。 M1……通信制御手段 M2……共通信号線 M3……制御装置 M4……通信状態検知手段 M5……序列変更判定手段 M6……序列変更指示手段 M10……序列記憶手段 M11……運転状態検知手段 1,2,3,4……ECU 6……通信制御回路 7……ワイパスイッチ 8……オートドライブスイッチFIG. 1 is an exemplary diagram of a basic configuration of the present invention, FIG. 2 is a system configuration diagram of an embodiment, FIG. 3 is a schematic configuration diagram of a communication control circuit, and FIG. 4 is a basic configuration of an electronic control unit and a switch. FIG. 5 is an explanatory view showing the structure of data, FIG. 6 is a flow chart showing the overall control of this embodiment, and FIG. 7 is a flow chart showing the processing for changing the order of transmission rights. M1 ...... Communication control means M2 ...... Common signal line M3 ...... Control device M4 ...... Communication status detection means M5 …… Order change determination means M6 …… Order change instruction means M10 …… Order storage means M11 …… Operating status detection Means 1,2,3,4 …… ECU 6 …… Communication control circuit 7 …… Wiper switch 8 …… Auto drive switch
Claims (1)
共通信号線に接続されて、他の制御装置とともにデータ
リンクを構成し、該データリンク内において予め定めら
れた序列による送信権に基づいて、前記共通信号線にデ
ータを出力する車両内通信制御装置において、 車両の種々の運転状態に応じてそれぞれ定められる前記
送信権の序列を予め記憶する序列記憶手段と、 車両の運転状態を検知する運転状態検知手段と、 前記制御装置間の通信状態を検知する通信状態検知手段
と、 該通信状態検知手段によって検知した前記通信状態に基
づいて、前記制御装置が頻繁に送信を行っている場合に
前記送信権の序列の変更を行うべきと判断する序列変更
判定手段と、 該序列変更判定手段によって前記序列の変更を行うべき
と判断された場合には、前記運転状態検知手段によって
検知した運転状態に基づき、前記序列記憶手段に記憶さ
れた該運転状態に応じた序列への変更を指示する序列変
更指示手段と を備えたことを特徴とする車両内通信制御装置。1. A data link is connected to a common signal line via a communication control means for inputting and outputting a signal, forms a data link with another control device, and a transmission right according to a predetermined order is established in the data link. On the basis of the above, in the in-vehicle communication control device for outputting data to the common signal line, an order storage means for pre-storing the order of the transmission rights respectively determined according to various operating states of the vehicle, and an operating state of the vehicle Based on the driving state detecting means for detecting, the communication state detecting means for detecting the communication state between the control devices, and the communication state detected by the communication state detecting means, the control device frequently transmits. In this case, the order change judging means for judging that the order of the transmission right should be changed, and the case where the order change is judged by the order change judging means. An order change instructing means for instructing a change to an order according to the operating state stored in the order storing means based on the operating state detected by the operating state detecting means. Communication control device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1266679A JPH077957B2 (en) | 1989-10-13 | 1989-10-13 | In-vehicle communication control device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1266679A JPH077957B2 (en) | 1989-10-13 | 1989-10-13 | In-vehicle communication control device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH03128542A JPH03128542A (en) | 1991-05-31 |
JPH077957B2 true JPH077957B2 (en) | 1995-01-30 |
Family
ID=17434190
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1266679A Expired - Fee Related JPH077957B2 (en) | 1989-10-13 | 1989-10-13 | In-vehicle communication control device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH077957B2 (en) |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3202344B2 (en) * | 1992-09-07 | 2001-08-27 | 日本電気株式会社 | Communication control method |
US6009370A (en) | 1993-07-26 | 1999-12-28 | Hitachi, Ltd. | Control unit for vehicle and total control system therefor |
JP3618119B2 (en) * | 1994-06-23 | 2005-02-09 | 株式会社デンソー | Vehicle communication system |
DE19744230B4 (en) * | 1997-10-07 | 2007-10-25 | Robert Bosch Gmbh | Control units for a system and method for operating a control unit |
JP4466188B2 (en) | 2003-07-16 | 2010-05-26 | 株式会社デンソー | Vehicle control device |
JP4736604B2 (en) * | 2005-07-29 | 2011-07-27 | 日産自動車株式会社 | In-vehicle unit reaction time optimization device, reaction time optimization method, program thereof, and program recording medium |
JP4828947B2 (en) * | 2006-01-26 | 2011-11-30 | 日立オートモティブシステムズ株式会社 | I / O device for vehicle control device |
JP4557009B2 (en) * | 2008-01-09 | 2010-10-06 | 株式会社デンソー | Vehicle control apparatus and vehicle control system using the same |
US8155829B2 (en) | 2007-11-21 | 2012-04-10 | Denso Corporation | Common control apparatus and vehicle control system |
JP4438861B2 (en) | 2007-12-21 | 2010-03-24 | 株式会社デンソー | Vehicle control apparatus and vehicle control system using the same |
JP5035395B2 (en) * | 2010-07-21 | 2012-09-26 | 株式会社デンソー | Vehicle control apparatus and vehicle control system using the same |
JP6582697B2 (en) * | 2015-08-04 | 2019-10-02 | 株式会社デンソー | Control system |
JP6531011B2 (en) * | 2015-09-04 | 2019-06-12 | 日立オートモティブシステムズ株式会社 | In-vehicle network device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5771032A (en) * | 1980-10-22 | 1982-05-01 | Nec Corp | Priority controlling circuit |
JPS61224637A (en) * | 1985-03-29 | 1986-10-06 | Nec Corp | Data transmission system |
JPS61251251A (en) * | 1985-04-30 | 1986-11-08 | Toshiba Corp | Signal transmission system in csma/cd transmission system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6423643A (en) * | 1987-07-17 | 1989-01-26 | Daihatsu Motor Co Ltd | Communication system |
-
1989
- 1989-10-13 JP JP1266679A patent/JPH077957B2/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5771032A (en) * | 1980-10-22 | 1982-05-01 | Nec Corp | Priority controlling circuit |
JPS61224637A (en) * | 1985-03-29 | 1986-10-06 | Nec Corp | Data transmission system |
JPS61251251A (en) * | 1985-04-30 | 1986-11-08 | Toshiba Corp | Signal transmission system in csma/cd transmission system |
Also Published As
Publication number | Publication date |
---|---|
JPH03128542A (en) | 1991-05-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH077957B2 (en) | In-vehicle communication control device | |
EP0752548B1 (en) | Control system for vehicular automatic transmission with location detecting means | |
RU2448008C2 (en) | Device and method for representation of vehicle operation and vehicle control device | |
EP0393929A1 (en) | Engine throttle control system | |
US20070135996A1 (en) | Method and system for controlling an automatic transmission using a gps assist having a learn mode | |
US5478293A (en) | Automatic transmission control system for motor vehicle | |
CN108005799B (en) | Engine control method and system and vehicle | |
CN112172822B (en) | Control method, device, equipment and medium for driving mode of whole vehicle | |
US9073553B2 (en) | Method for providing control system of vehicle | |
CN110173518A (en) | The control system and method for automatic clutch overload protection | |
JPH0356405Y2 (en) | ||
JP2502310B2 (en) | Control device having communication function | |
US20060276950A1 (en) | Motor vehicle | |
JPH04262041A (en) | Multiplex memory selecting device for automobile having human dialogue type control | |
US20080263807A1 (en) | System and method for controlling a window wiper system | |
WO2012047166A1 (en) | Method and system for determining operating states of a motor vehicle | |
JPH11101142A (en) | Vehicle output torque control device | |
KR20210152780A (en) | Vehicle and method of outputting information for the same | |
JPS646436Y2 (en) | ||
JP3315561B2 (en) | Automotive electronic control unit | |
JPH05155295A (en) | Method for controlling electronic control system for vehicle | |
US12128894B2 (en) | Adaptive cruise control | |
KR101098827B1 (en) | Context-aware transmission control apparatus and its control method | |
JP2954946B2 (en) | Vehicle electrical equipment control device | |
JPH06171469A (en) | Windshield wiper controller for vehicle |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
LAPS | Cancellation because of no payment of annual fees |