JPH11163907A - Multiplex transmission device for vehicle - Google Patents

Multiplex transmission device for vehicle

Info

Publication number
JPH11163907A
JPH11163907A JP9326587A JP32658797A JPH11163907A JP H11163907 A JPH11163907 A JP H11163907A JP 9326587 A JP9326587 A JP 9326587A JP 32658797 A JP32658797 A JP 32658797A JP H11163907 A JPH11163907 A JP H11163907A
Authority
JP
Japan
Prior art keywords
data
update
unit
communication frame
communication
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
JP9326587A
Other languages
Japanese (ja)
Other versions
JP3442633B2 (en
Inventor
Kunihiko Miura
邦彦 三浦
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.)
Yazaki Corp
Original Assignee
Yazaki 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 Yazaki Corp filed Critical Yazaki Corp
Priority to JP32658797A priority Critical patent/JP3442633B2/en
Publication of JPH11163907A publication Critical patent/JPH11163907A/en
Application granted granted Critical
Publication of JP3442633B2 publication Critical patent/JP3442633B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a multiplex transmission device for vehicles that reduces bus occupancy rate of data and efficiently transmits data of plural communication units. SOLUTION: In each of units 1a, 1b and 1c connected to a bus 3, a data transmission control part 23a judges whether or not there is any change in each vehicle data consisting of plural kinds of data and sets in a communication frame in turn updated or data before updating data depending on whether or not there is any judged change in data. An update bit setting part 25a assignes each information for indicating whether or not there is updated data to each data and sets it in the communication frame. A transmission and reception part 21a transmits the communication frame including each set data and each set information for indicating the presence or absence of an update to other communication unit and receives the communication frame from other communication unit.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、車両多重伝送装置
に関し、特にバス上のデータの専有率を低減する車両多
重伝送装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a vehicle multiplex transmission device, and more particularly to a vehicle multiplex transmission device for reducing the occupation rate of data on a bus.

【0002】[0002]

【従来の技術】車両多重伝送装置においては、バスに複
数の通信ユニットが接続され、車両運転情報をシリアル
で多重伝送している。例えば、バスにはエンジン系ユニ
ット、ボディ系ユニット、メータ多重ユニットなどの通
信ユニットが接続され、バスを介して他の通信ユニット
との間でデータを送受信する。
2. Description of the Related Art In a vehicle multiplex transmission apparatus, a plurality of communication units are connected to a bus, and multiplex transmission of vehicle operation information is performed in a serial manner. For example, a communication unit such as an engine system unit, a body system unit, and a meter multiplex unit is connected to the bus, and transmits and receives data to and from other communication units via the bus.

【0003】この場合、バスを転送するデータの速度と
しては、例えば、10kbps程度の低速、10kbp
s〜100kbps程度の中速、100〜1Mbps程
度の高速にクラス分けすることができ、ランプ、エンジ
ンなどの各部からの低速から高速までのデータがバスを
通る。
In this case, the speed of data transmitted through the bus is, for example, as low as about 10 kbps and 10 kbps.
Classification can be made at medium speeds of about s to 100 kbps and at high speeds of about 100 to 1 Mbps, and low to high speed data from various parts such as lamps and engines pass through the bus.

【0004】従来のこの種の車両多重伝送装置の公知の
技術として、例えば、特開平6−169488号公報に
記載されたものがある。この車両多重伝送装置において
は、図4(a)(b)に示すように、データフレーム
は、メッセージの開始を示すSOM、複数のユニットが
同時にデータを送信した時に優先順位を決定するPR
I、可変長のデータ領域DATA1〜DATA6、エラ
ーチェックコードCRC、データの終了を示すEOD、
全てのユニットからビット対応で受領信号を返送させる
受信信号領域RSP、メッセージの終了を示すEOM、
データフレームの終了を示すアイドル領域IDLから構
成される。
[0004] As a known technique of this kind of conventional vehicle multiplex transmission apparatus, for example, there is one disclosed in Japanese Patent Application Laid-Open No. 6-169488. In this vehicle multiplex transmission device, as shown in FIGS. 4A and 4B, the data frame is composed of an SOM indicating the start of a message, and a PR for determining a priority when a plurality of units transmit data at the same time.
I, variable length data areas DATA1 to DATA6, error check code CRC, EOD indicating end of data,
A reception signal area RSP for returning a reception signal in a bit correspondence from all units, an EOM indicating the end of the message,
It consists of an idle area IDL indicating the end of the data frame.

【0005】図4(a)において、主要データのうち、
データ転送周期が短い速度計と回転計の各データをDA
TA1とDATA2とに格納し、補助データSOM〜I
DLを付けて、一つのデータフレームを構成する。
[0005] In FIG. 4A, of the main data,
Data of speedometer and tachometer with short data transfer cycle
Stored in TA1 and DATA2, and the auxiliary data SOM to I
One data frame is configured by adding a DL.

【0006】また、図4(b)に示すように、主要デー
タのうち、データ転送周期が比較的長い燃料計から警報
表示器までの各データをDATA3からDATA6に格
納し、補助データSOM〜IDLを付けて、一つのデー
タフレームを構成する。
As shown in FIG. 4B, of the main data, data from the fuel gauge having a relatively long data transfer period to the alarm indicator are stored in DATA3 to DATA6, and the auxiliary data SOM to IDL are stored. To form one data frame.

【0007】すなわち、前者のデータフレームを短い周
期で転送し、後者のデータフレームを比較的長い周期で
転送するので、データ転送周期の短いデータとデータ転
送周期が長い他のデータとから構成されるデータフレー
ムを、短い周期で転送していた従来のやり方よりも、単
位時間当たりのデータの専有率が低減される。
That is, since the former data frame is transferred in a short cycle and the latter data frame is transferred in a relatively long cycle, it is composed of data having a short data transfer cycle and other data having a long data transfer cycle. Data occupancy per unit time is reduced as compared with the conventional method in which data frames are transferred in a short period.

【0008】また、ユニットA、ユニットB及びユニッ
トCがバスに接続されている場合に、例えば、ユニット
AからユニットBへのデータの転送処理は、図5のフロ
ーチャートに従って行われる。ここでは、同一の更新時
間を持つオイルデータ、フューエルデータ、テンプデー
タを転送するものとする。
When the units A, B, and C are connected to a bus, for example, a data transfer process from the unit A to the unit B is performed according to a flowchart shown in FIG. Here, it is assumed that oil data, fuel data, and temp data having the same update time are transferred.

【0009】まず、ユニットBへのオイルデータの送信
条件が成立しているかを判別する(ステップS10
1)。オイルデータが前回送信されたオイルデータに対
して変化し、前回オイルデータを送信した時刻から所定
の更新時間が経過した時には、送信条件が成立したとし
て、ユニットBへ更新されたオイルデータが付加された
オイルデータフレームを送信する(ステップS10
3)。
First, it is determined whether conditions for transmitting oil data to the unit B are satisfied (step S10).
1). When the oil data changes with respect to the previously transmitted oil data, and when a predetermined update time has elapsed from the time when the previous oil data was transmitted, the transmission condition is satisfied and the updated oil data is added to the unit B. The transmitted oil data frame is transmitted (step S10).
3).

【0010】次に、ユニットBへのフューエルデータの
送信条件が成立しているかを判別し(ステップS10
5)、送信条件が成立していれば、ユニットBへフュー
エルデータフレームを送出する(ステップS107)。
Next, it is determined whether the conditions for transmitting fuel data to the unit B are satisfied (step S10).
5) If the transmission condition is satisfied, a fuel data frame is sent to unit B (step S107).

【0011】さらに、ユニットBへの温度データ(テン
プデータ)の送信条件が成立しているかを判別し(ステ
ップS109)、送信条件が成立していれば、ユニット
Bへテンプデータフレームを送出する(ステップS11
1)。
Further, it is determined whether a condition for transmitting temperature data (temp data) to the unit B is satisfied (step S109). If the transmission condition is satisfied, a temp data frame is transmitted to the unit B (step S109). Step S11
1).

【0012】[0012]

【発明が解決しようとする課題】しかしながら、従来の
車両データ伝送にあっては、図5に示すように同一の更
新時間を持つ各データが別々のフレームで送信されてい
た。このため、多くのデータの送受信が必要となり、デ
ータのバス上の専有率が上昇するため、他のユニットの
データ送信が大幅に制限される。このため、複数のユニ
ットが効率良くバスを使用することが望まれていた。
However, in the conventional vehicle data transmission, each data having the same update time is transmitted in a separate frame as shown in FIG. For this reason, a large amount of data needs to be transmitted and received, and the occupation rate of the data on the bus increases, so that the data transmission of other units is greatly restricted. Therefore, it has been desired that a plurality of units use the bus efficiently.

【0013】そこで、本発明は、データのバス専有率を
低減することにより、複数の通信ユニットのデータを効
率良く伝送することのできる車両多重伝送装置を提供す
ることを課題とする。
An object of the present invention is to provide a vehicle multiplex transmission apparatus capable of efficiently transmitting data of a plurality of communication units by reducing the bus occupation rate of data.

【0014】[0014]

【課題を解決するための手段】本発明は、前記課題を解
決するために以下の手段を採用した。請求項1の発明
は、バスと、バスに接続される複数の通信ユニットとを
備え、各々の通信ユニットは、複数種類のデータからな
る車両データの各データ毎にそのデータの変化の有無を
判定するデータ変化判定部と、このデータ変化判定部で
判定された前記データの変化の有無に応じた更新データ
または更新前データの各データを1つの通信フレーム内
に順番に設定するデータ設定部と、前記各データの更新
の有無を示す各更新有無情報を前記各データに対応付け
て前記通信フレーム内に設定する更新有無情報設定部
と、前記データ設定部で設定された各データ及び前記更
新有無情報設定部で設定された各更新有無情報を含む前
記通信フレームを他の通信ユニットに送信し、前記他の
通信ユニットからの前記通信フレームを受信する送受信
部とを備えることを特徴とする。
The present invention employs the following means in order to solve the above-mentioned problems. The invention according to claim 1 includes a bus and a plurality of communication units connected to the bus, and each of the communication units determines, for each data of the vehicle data including a plurality of types of data, whether or not the data has changed. A data change determining unit that performs updating, or a data setting unit that sequentially sets, in one communication frame, data of update data or pre-update data according to the presence or absence of a change in the data determined by the data change determination unit; An update presence / absence information setting unit that sets each update presence / absence information indicating presence / absence of update of each data in the communication frame in association with each data, and each data set by the data setting unit and the update presence / absence information A transmitting / receiving unit that transmits the communication frame including each update presence / absence information set by the setting unit to another communication unit and receives the communication frame from the other communication unit; Characterized in that it comprises.

【0015】この発明によれば、データ変化判定部が、
各データ毎にそのデータの変化の有無を判定し、データ
設定部が、データの変化の有無に応じた更新データまた
は更新前データの各データを1つの通信フレーム内に順
番に設定する。
According to the present invention, the data change determination section includes:
The presence / absence of the data change is determined for each data, and the data setting unit sequentially sets the update data or the pre-update data according to the presence / absence of the data in one communication frame.

【0016】そして、更新有無情報設定部が、各データ
の更新の有無を示す各更新有無情報を各データに対応付
けて通信フレーム内に設定し、送受信部が、設定された
各データ及び設定された各更新有無情報を含む通信フレ
ームを他の通信ユニットに送信し、他の通信ユニットか
らの通信フレームを受信する。
The update presence / absence information setting unit sets each update presence / absence information indicating whether each data is updated in the communication frame in association with each data, and the transmission / reception unit sets each set data and the set data. The communication frame including the updated presence / absence information is transmitted to another communication unit, and the communication frame from the other communication unit is received.

【0017】すなわち、各データを1つの通信フレーム
に順番に設定し、1つの通信フレームで一度に各データ
をバスを介して宛先の通信ユニットに送信するので、バ
ス上での通信フレームの頻度を低減することができる。
このため、バスを不要に専有しなくなる。従って、デー
タのバスの専有率が大幅に低減されるから、複数の通信
ユニット間でより多くのデータを効率良く送受信するこ
とができる。
That is, since each data is sequentially set in one communication frame, and each data is transmitted to the destination communication unit via the bus at one time in one communication frame, the frequency of the communication frame on the bus is reduced. Can be reduced.
Therefore, the bus is not unnecessarily occupied. Therefore, the occupancy rate of the data bus is greatly reduced, so that more data can be efficiently transmitted and received between the plurality of communication units.

【0018】また、1つの通信フレーム内には、各更新
有無情報が設定されているので、受信側では、各更新有
無情報の値により、どのデータが更新されたかどうかを
認識することができる。
Further, since each update presence / absence information is set in one communication frame, the receiving side can recognize which data has been updated based on the value of each update presence / absence information.

【0019】請求項2の発明は、前回送信されたデータ
の送信時刻から時間をカウントするカウンタを備え、前
記送受信部は、前記カウンタによりカウントされた時間
が予め定められた更新時間に達したとき、前記通信フレ
ームを送信することを特徴とする。
According to a second aspect of the present invention, there is provided a counter for counting time from the transmission time of previously transmitted data, and the transmission / reception unit is adapted to execute the operation when the time counted by the counter reaches a predetermined update time. , Transmitting the communication frame.

【0020】この発明によれば、カウンタは、前回送信
されたデータの送信時刻から時間をカウントし、送受信
部は、カウンタによりカウントされた時間が予め定めら
れた更新時間に達したとき、通信フレームを送信するの
で、更新時間毎に、通信フレームを宛先の通信ユニット
に送信することができる。
According to the present invention, the counter counts the time from the transmission time of the previously transmitted data, and the transmission / reception section sets the communication frame when the time counted by the counter reaches a predetermined update time. Is transmitted, the communication frame can be transmitted to the destination communication unit for each update time.

【0021】請求項3の発明は、前記1つの通信フレー
ムに設定される各データは、前記更新時間が略同一時間
であることを特徴とする。
The invention according to a third aspect is characterized in that each data set in the one communication frame has substantially the same update time.

【0022】この発明によれば、1つの通信フレームに
設定される各データの更新時間を略同一時間とすること
で、同一の更新時間に1つの通信フレームで各データを
同時に送信することができる。
According to the present invention, by setting the update time of each data set in one communication frame to be substantially the same time, each data can be transmitted simultaneously in one communication frame at the same update time. .

【0023】[0023]

【発明の実施の形態】以下、本発明の車両多重伝送装置
の実施の形態を図面を参照して説明する。図1に本発明
の車両多重伝送装置の実施の形態の構成ブロック図を示
す。図1において、ボディ系ユニット1a、メータ系ユ
ニット1b、他のユニット1cのそれぞれの通信ユニッ
トは、バス3に接続され、各通信ユニット間で相互に車
両データの送受信を行う。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a vehicle multiplex transmission apparatus according to the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of an embodiment of a vehicle multiplex transmission apparatus according to the present invention. In FIG. 1, respective communication units of a body system unit 1a, a meter system unit 1b, and another unit 1c are connected to a bus 3, and mutually transmit and receive vehicle data between the communication units.

【0024】ボディ系ユニット1aは、CPU(中央処
理装置)11a、CPU11aに接続されるCAN(コ
ントロールエリアネットワーク)13a、バス3に接続
されるバスインターフェイス(バスI/F)20aを備
える。CAN13aは、送受信部21a、メモリ22
a、更新ビット設定部25aを有するデータ送信制御部
23a、カウンタ27aを備える。
The body unit 1a includes a CPU (central processing unit) 11a, a CAN (control area network) 13a connected to the CPU 11a, and a bus interface (bus I / F) 20a connected to the bus 3. The CAN 13a includes a transmission / reception unit 21a, a memory 22
a, a data transmission control unit 23a having an update bit setting unit 25a, and a counter 27a.

【0025】ボディ系ユニット1aには、車両の各部に
設けられ走行状態を検出するセンサ31及びアクチュエ
ータ33が接続される。アクチュエータ33は、センサ
31からのセンサ信号に基づくCPU11aの制御信号
により作動する。
The body system unit 1a is connected to a sensor 31 and an actuator 33 provided at each part of the vehicle for detecting a running state. The actuator 33 is operated by a control signal of the CPU 11a based on a sensor signal from the sensor 31.

【0026】なお、図1においては、センサ31及びア
クチュエータ33をそれぞれ1個しか示していないが、
実際には、センサ31及びアクチュエータ33は、それ
ぞれについて、複数個設けられているものとする。
Although only one sensor 31 and one actuator 33 are shown in FIG.
Actually, it is assumed that a plurality of sensors 31 and actuators 33 are provided for each.

【0027】ボディ系ユニット1aは、センサ31によ
り検出された走行距離データ、バッテリ電圧データ、エ
ンジンの回転数データ、スピードデータ、オイルデー
タ、フューエルデータ、温度データ(テンプデータ)等
の車両データをバス3に出力する。
The body system unit 1a transmits vehicle data such as mileage data, battery voltage data, engine speed data, speed data, oil data, fuel data, temperature data (temp data) detected by the sensor 31 to a bus. Output to 3.

【0028】メータ系ユニット1bは、CPU11b、
CPU11bに接続されるCAN13b、バス3に接続
されるバスI/F20bを備える。CAN13bは、送
受信部21b、メモリ22b、更新ビット設定部25b
を有するデータ送信制御部23b、カウンタ27bを備
える。
The meter system unit 1b includes a CPU 11b,
It has a CAN 13b connected to the CPU 11b and a bus I / F 20b connected to the bus 3. The CAN 13b includes a transmission / reception unit 21b, a memory 22b, and an update bit setting unit 25b.
And a counter 27b.

【0029】メータ系ユニット1bには、ボディ系ユニ
ット1aからの走行距離データ、バッテリ電圧データ、
エンジンの回転数データ、スピードデータ、オイルデー
タ、フューエルデータ、テンプデータ等を指針で示すメ
ータ35が接続される。
The meter system unit 1b includes travel distance data from the body system unit 1a, battery voltage data,
A meter 35 is connected which indicates the engine speed data, speed data, oil data, fuel data, temp data, and the like with hands.

【0030】なお、他のユニット1cもボディ系ユニッ
ト1a及びメータ系ユニット1bとほぼ同一構成である
ので、ここでは、その詳細は省略する。
Since the other unit 1c has substantially the same configuration as the body unit 1a and the meter unit 1b, the details are omitted here.

【0031】送受信部21aは、車両データを含む通信
フレームを自己の通信ユニット以外の他の通信ユニット
に送信すると共に他の通信ユニットからの通信フレーム
を受信する。
The transmission / reception unit 21a transmits a communication frame including vehicle data to another communication unit other than its own communication unit, and receives a communication frame from another communication unit.

【0032】図3に通信フレームのデータフォーマット
を示す。通信フレームは、フレームID(フレーム識別
情報)、車両データの送信先の通信ユニットのアドレス
を示す宛先アドレス、車両データの送信元の通信ユニッ
トのアドレスを示す送信元アドレス、更新ビット、デー
タエリア、エラーチェックコードCRCを有して構成さ
れる。フレームIDは、8ビット列の同期信号を7個連
続して伝送して同期をとるためのプリアンブルP、フレ
ームの先頭を表す識別符号で8ビット列で構成されるフ
レーム開始デリミタSFDからなる。
FIG. 3 shows a data format of a communication frame. The communication frame includes a frame ID (frame identification information), a destination address indicating an address of a communication unit of a vehicle data transmission destination, a transmission source address indicating an address of a communication unit of a vehicle data transmission source, an update bit, a data area, and an error. It has a check code CRC. The frame ID is composed of a preamble P for transmitting and synchronizing seven 8-bit string synchronization signals in succession, and a frame start delimiter SFD composed of an 8-bit string with an identification code indicating the start of the frame.

【0033】データエリアには、先頭から順番に例え
ば、オイルデータ、フューエルデータ、テンプデータ等
が書き込まれている。更新ビットは、データエリア内の
各データの更新の有無を示す更新有無情報であり、デー
タが更新された場合には、更新ビットが”1”であり、
データが更新されていない場合には、更新ビットは”
0”である。
In the data area, for example, oil data, fuel data, temp data, and the like are written in order from the top. The update bit is update presence / absence information indicating whether or not each data in the data area has been updated. When the data has been updated, the update bit is “1”.
If the data has not been updated, the update bit is set to "
0 ".

【0034】b0 はオイルデータに対する更新ビットで
あり、b1 はフューエルデータに対する更新ビットであ
り、b2 は、テンプデータに対する更新ビットである。
メモリ22aは、センサ31からのデータを記憶した
り、送受信部21aで受信した他の通信ユニットからの
データを記憶する。
B 0 is an update bit for oil data, b 1 is an update bit for fuel data, and b 2 is an update bit for temp data.
The memory 22a stores data from the sensor 31 and stores data from another communication unit received by the transmission / reception unit 21a.

【0035】データ送信制御部23aは、図3に示すよ
うな通信フレームを作成し、該通信フレームを送受信部
21aに送出するもので、更新ビット設定部25aを有
する。カウンタ27aは、前回送信されたデータの送信
時刻から時間をカウントする。
The data transmission control section 23a creates a communication frame as shown in FIG. 3 and sends the communication frame to the transmission / reception section 21a, and has an update bit setting section 25a. The counter 27a counts time from the transmission time of previously transmitted data.

【0036】データ送信制御部23aは、複数の送信す
べきデータの中から同一の更新時間を持ついくつかのデ
ータを選択し、選択された送信すべきデータのそれぞれ
について、データが変化したかどうかを判定する。更新
ビット設定部25aは、更新有無情報設定部を構成し、
送信すべきデータが変化した場合には、そのデータの更
新を示す更新ビットを”1”にセットし、送信すべきデ
ータが変化しない場合には、更新ビットを”0”にセッ
トする。
The data transmission control unit 23a selects some data having the same update time from a plurality of data to be transmitted, and determines whether or not the data has changed for each of the selected data to be transmitted. Is determined. The update bit setting unit 25a constitutes an update presence / absence information setting unit,
If the data to be transmitted has changed, the update bit indicating the update of the data is set to "1". If the data to be transmitted does not change, the update bit is set to "0".

【0037】データ送信制御部23aは、通信フレーム
のデータエリアに同一の更新時間を持つ各データを順番
にセットするもので、送信すべきデータが変化した場合
にデータエリアに変化後のデータ(更新データ)をセッ
トし、送信すべきデータが変化しない場合にデータエリ
アに更新前データをセットする。送受信部21aは、カ
ウンタ27aによりカウントされた時間が所定の更新時
間になった時には、データ送信制御部23aからの通信
フレームをバス3へ送信する。
The data transmission control unit 23a sequentially sets each data having the same update time in the data area of the communication frame. When data to be transmitted changes, the changed data (updated data) is stored in the data area. Data) is set, and if the data to be transmitted does not change, the pre-update data is set in the data area. The transmission / reception unit 21a transmits the communication frame from the data transmission control unit 23a to the bus 3 when the time counted by the counter 27a reaches a predetermined update time.

【0038】なお、CAN13b内の送受信部21b、
メモリ22b、データ送信制御部23b、更新ビット設
定部25b、カウンタ27bは、CAN13a内の送受
信部21a、メモリ22a、データ送信制御部23a、
更新ビット設定部25a、カウンタ27aの対応する部
分と同一構成及び同一機能を有するので、その説明を省
略する。
The transmission / reception unit 21b in the CAN 13b,
The memory 22b, the data transmission control unit 23b, the update bit setting unit 25b, and the counter 27b include a transmission / reception unit 21a in the CAN 13a, a memory 22a, a data transmission control unit 23a,
Since the update bit setting unit 25a and the counter 27a have the same configuration and the same function as the corresponding parts, the description thereof will be omitted.

【0039】次に、このように構成された車両多重伝送
装置の実施の形態の動作を図面を参照して説明する。図
2に実施の形態の車両多重伝送装置におけるボディ系ユ
ニット1aの動作のフローチャートを示す。ここでは、
ボディ系ユニット1aからメータ系ユニット1bに通信
フレームを伝送する場合について説明する。なお、オイ
ルデータ、フューエルデータ、テンプデータに対する通
信フレーム内の各更新ビットには予め”0”がセットさ
れているものとする。
Next, the operation of the embodiment of the vehicle multiplex transmission apparatus thus configured will be described with reference to the drawings. FIG. 2 shows a flowchart of the operation of the body unit 1a in the vehicle multiplex transmission device according to the embodiment. here,
A case where a communication frame is transmitted from the body system unit 1a to the meter system unit 1b will be described. It is assumed that “0” is set in advance in each update bit in the communication frame for oil data, fuel data, and temp data.

【0040】さらに、転送周期が比較的短いスピードデ
ータやエンジン回転数データでは、更新時間が短く設定
され、転送周期が比較的長いオイルデータ、フューエル
データ、テンプデータ、ランプデータやドアの開閉デー
タでは、更新時間が長く設定されているものとする。
Further, the update time is set short for speed data and engine speed data having a relatively short transfer cycle, and for oil data, fuel data, temp data, lamp data and door opening / closing data having a relatively long transfer cycle. It is assumed that the update time is set long.

【0041】まず、ボディ系ユニット1aにおいて、セ
ンサ31により、スピードデータ、バッテリ電圧デー
タ、エンジン回転数データ、オイルデータ、フューエル
データ、テンプデータ等が検知される。そして、これら
の検知された各データはボディ系ユニット1a内のCP
U11aに入力され、さらにCAN13a内のメモリ2
2aに記憶され、メモリ22aからデータ送信制御部2
3aに送られる。
First, in the body system unit 1a, the sensor 31 detects speed data, battery voltage data, engine speed data, oil data, fuel data, temp data, and the like. Each of these detected data is stored in the CP in the body unit 1a.
U11a is input to the memory 2 in the CAN 13a.
2a and stored in the data transmission control unit 2 from the memory 22a.
3a.

【0042】データ送信制御部23aは、これらの検知
されたデータの中から同一レベルの更新時間を持つデー
タを選択する。例えば、オイルデータ、フューエルデー
タ、テンプデータは、同一レベルの更新時間を持つの
で、オイルデータ、フューエルデータ、テンプデータが
選択される。
The data transmission control unit 23a selects data having the same update time from the detected data. For example, oil data, fuel data, and temp data have the same level of update time, so that oil data, fuel data, and temp data are selected.

【0043】そして、データ送信制御部23aは、メー
タ系ユニット1bへのオイルデータの送出条件が成立し
たかどうかを判定する(ステップS11)。すなわち、
オイルデータが、前回送出したオイルデータに対してオ
イルデータが変化したかどうかを判定する。ステップS
11の処理は、データ変化判定部を構成する。
Then, the data transmission control section 23a determines whether or not the conditions for sending oil data to the meter system unit 1b are satisfied (step S11). That is,
It is determined whether the oil data has changed from the oil data transmitted last time. Step S
The process 11 constitutes a data change determination unit.

【0044】オイルデータの送信条件が成立した場合、
すなわち、オイルデータが変化した場合には、更新ビッ
ト設定部25aは、通信フレームのオイルデータ用の更
新ビットb0 を”1”にセットする(ステップS1
3)。なお、ステップS11において、オイルデータの
送信条件が成立しない場合には、更新ビットb0 を”
1”にセットせずにステップS15の処理に進む。
When the oil data transmission condition is satisfied,
That is, when the oil data has changed, updating the bit setting unit 25a updates the bit b 0 for oil data communication frame is set to "1" (step S1
3). Note that, in step S11, when the transmission condition of the oil data is not satisfied, the update bit b 0 "
The process proceeds to step S15 without setting it to "1".

【0045】次に、メータ系ユニット1bへのフューエ
ルデータの送信条件が成立したかどうかを判定する(ス
テップS15)。フューエルデータの送信条件が成立し
た場合には、更新ビット設定部25aは、通信フレーム
のフューエルデータ用の更新ビットb1 を”1”にセッ
トする(ステップS17)。なお、ステップS15にお
いて、フューエルデータの送信条件が成立しない場合に
は、更新ビットb1 を”1”にセットせずにステップS
19の処理に進む。
Next, it is determined whether a condition for transmitting fuel data to the meter system unit 1b is satisfied (step S15). When the transmission condition of the fuel data is satisfied, the update bit setting unit 25a updates the bit b 1 for fuel data communication frame is set to "1" (step S17). Incidentally, in step S15, when the transmission condition of the fuel data is not satisfied, step S without set to "1" to update bit b 1
Proceed to step 19.

【0046】さらに、メータ系ユニット1bへのテンプ
データの送信条件が成立したかどうかを判定する(ステ
ップS19)。テンプデータの送信条件が成立した場合
には、更新ビット設定部25aは、通信フレームのテン
プデータ用の更新ビットb2を”1”にセットする(ス
テップS21)。なお、ステップS19において、テン
プデータの送信条件が成立しない場合には、更新ビット
2 を”1”にセットせずに、ステップS23の処理に
進む。
Further, it is determined whether or not the condition for transmitting the temp data to the meter system unit 1b is satisfied (step S19). When the transmission condition of the balance data is satisfied, the update bit setting unit 25a updates the bit b 2 for the balance data of the communication frame is set to "1" (step S21). Incidentally, in step S19, when the transmission condition of the balance data is not satisfied, the update bit b 2 without setting the "1", the process proceeds to step S23.

【0047】そして、カウンタ27aによりカウントさ
れた時間が、所定の更新時間になったかどうかを判定す
る(ステップS23)。カウントされた時間が更新時間
になった時には、データ送信制御部23aは、通信フレ
ームのデータエリアに先頭から順番に同一の更新時間を
持つオイルデータ、フューエルデータ、テンプデータを
セットする(ステップS25)。ステップS25の処理
は、データ設定部を構成する。
Then, it is determined whether or not the time counted by the counter 27a has reached a predetermined update time (step S23). When the counted time reaches the update time, the data transmission control unit 23a sets oil data, fuel data, and temp data having the same update time in order from the beginning in the data area of the communication frame (step S25). . The processing in step S25 constitutes a data setting unit.

【0048】この場合、送信すべきデータが変化した場
合には、データエリアに更新データが書き込まれ、送信
すべきデータが変化しない場合には、データエリアに変
化前のデータが書き込まれる。
In this case, when the data to be transmitted changes, the updated data is written in the data area, and when the data to be transmitted does not change, the data before the change is written in the data area.

【0049】そして、送受信部21aは、データ送信制
御部23aからの通信フレームをバスI/F20a及び
バス3を介してメータ系ユニット1bに送信する(ステ
ップS27)。
Then, the transmission / reception unit 21a transmits the communication frame from the data transmission control unit 23a to the meter unit 1b via the bus I / F 20a and the bus 3 (step S27).

【0050】このように、同一の更新時間を持つ各デー
タを同一の通信フレームのデータエリアに順番に書き込
み、1つの通信フレームで一度に各データをバス3を介
して宛先の通信ユニットに送信するので、バス3上での
通信フレームの頻度を低減することができる。このた
め、バスを不要に専有しなくなる。従って、データのバ
ス3の専有率が大幅に低減されるから、複数の通信ユニ
ット間でより多くのデータを効率良く送受信することが
できる。
As described above, each data having the same update time is sequentially written into the data area of the same communication frame, and each data is transmitted to the destination communication unit via the bus 3 at a time in one communication frame. Therefore, the frequency of communication frames on the bus 3 can be reduced. Therefore, the bus is not unnecessarily occupied. Therefore, the occupancy rate of the data bus 3 is greatly reduced, so that more data can be efficiently transmitted and received between a plurality of communication units.

【0051】また、同一の通信フレーム内には、各更新
ビットの値が書き込まれているので、受信側では、各更
新ビットの値により、どのデータが更新されたかどうか
を認識することができる。例えば、更新ビットb0 、及
び更新ビットb1 が”1”にセットされ、更新ビットb
2 が”0”にセットされてあれば、オイルデータ及びフ
ューエルデータが更新され、テンプデータが更新されて
いないことがわかる。
Further, since the value of each update bit is written in the same communication frame, the receiving side can recognize which data has been updated based on the value of each update bit. For example, the update bit b 0 and the update bit b 1 are set to “1” and the update bit b
If " 2 " is set to "0", it is understood that the oil data and the fuel data have been updated and the temp data has not been updated.

【0052】また、1つの通信フレームに設定される各
データの更新時間を略同一時間とすることで、同一の更
新時間に1つの通信フレームで各データを同時に送信す
ることができる。
By setting the update time of each data set in one communication frame to be substantially the same time, each data can be transmitted simultaneously in one communication frame at the same update time.

【0053】なお、本発明は実施の形態に限定されるも
のではない。実施の形態では、ボディ系ユニット1aか
らメータ系ユニット1bに通信フレームを転送したが、
これとは逆にメータ系ユニット1bからボディ系ユニッ
ト1aに通信フレームを転送した場合でも、あるいはそ
の他のユニット間での送受信においても本発明は適用す
ることができる。
The present invention is not limited to the embodiment. In the embodiment, the communication frame is transferred from the body unit 1a to the meter unit 1b.
On the contrary, the present invention can be applied to a case where a communication frame is transferred from the meter system unit 1b to the body system unit 1a, or to transmission and reception between other units.

【0054】また、実施の形態では、更新時間が比較的
長いオイルデータ、フューエルデータ、テンプデータに
ついて説明したが、例えば、更新時間が短いスピードデ
ータ、エンジン回転数データについても本発明は適用す
ることができる。
In the embodiment, oil data, fuel data, and temp data having a relatively long update time have been described. However, the present invention is applicable to, for example, speed data and engine speed data having a short update time. Can be.

【0055】また、ネットワークの形態は実施の形態で
説明したネットワーク形態に限定されず、バスに接続さ
れた各ユニットが順番に送信権(優先権)を得るように
したトークンパッシング方式であってもよく、その他の
ネットワーク形態であってもよい。
Further, the form of the network is not limited to the network form described in the embodiment, but may be a token passing system in which each unit connected to the bus sequentially obtains a transmission right (priority). Or other network forms.

【0056】[0056]

【発明の効果】本発明によれば、データ変化判定部が、
各データ毎にそのデータの変化の有無を判定し、データ
設定部が、データの変化の有無に応じた更新データまた
は更新前データの各データを1つの通信フレーム内に順
番に設定し、更新有無情報設定部が、各データの更新の
有無を示す各更新有無情報を各データに対応付けて通信
フレーム内に設定し、送受信部が、設定された各データ
及び設定された各更新有無情報を含む通信フレームを他
の通信ユニットに送信し、他の通信ユニットからの通信
フレームを受信する。
According to the present invention, the data change judging section
The data setting unit determines the presence or absence of a change in the data for each data, and the data setting unit sequentially sets each data of the update data or the pre-update data according to the presence or absence of the change in one communication frame, and determines whether or not the data is updated. The information setting unit sets each update presence / absence information indicating whether each data has been updated in the communication frame in association with each data, and the transmission / reception unit includes each set data and each set update presence / absence information A communication frame is transmitted to another communication unit, and a communication frame from another communication unit is received.

【0057】すなわち、各データを1つの通信フレーム
に順番に設定し、1つの通信フレームで一度に各データ
をバスを介して宛先の通信ユニットに送信するので、バ
ス上での通信フレームの頻度を低減することができる。
このため、バスを不要に専有しなくなる。
That is, each data is sequentially set in one communication frame, and each data is transmitted to the destination communication unit via the bus at a time in one communication frame. Therefore, the frequency of the communication frame on the bus is reduced. Can be reduced.
Therefore, the bus is not unnecessarily occupied.

【0058】従って、データのバスの専有率が大幅に低
減されるから、複数の通信ユニット間でより多くのデー
タを効率良く送受信することができる。また、1つの通
信フレーム内には、各更新有無情報が設定されているの
で、受信側では、各更新有無情報の値により、どのデー
タが更新されたかどうかを認識することができる。
Accordingly, the occupation rate of the data bus is greatly reduced, so that more data can be efficiently transmitted and received between a plurality of communication units. Also, since each update presence / absence information is set in one communication frame, the receiving side can recognize which data has been updated based on the value of each update presence / absence information.

【0059】また、カウンタは、前回送信されたデータ
の送信時刻から時間をカウントし、送受信部は、カウン
タによりカウントされた時間が予め定められた更新時間
に達したとき、通信フレームを送信するので、更新時間
毎に、通信フレームを宛先の通信ユニットに送信するこ
とができる。
The counter counts the time from the transmission time of the previously transmitted data, and the transmission / reception unit transmits a communication frame when the time counted by the counter reaches a predetermined update time. The communication frame can be transmitted to the destination communication unit for each update time.

【0060】また、1つの通信フレームに設定される各
データの更新時間を略同一時間とすることで、同一の更
新時間に1つの通信フレームで各データを同時に送信す
ることができる。
Further, by setting the update time of each data set in one communication frame to be substantially the same time, each data can be transmitted simultaneously in one communication frame at the same update time.

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

【図1】本発明の車両多重伝送装置の実施の形態を示す
構成ブロック図である。
FIG. 1 is a configuration block diagram showing an embodiment of a vehicle multiplex transmission device of the present invention.

【図2】実施の形態におけるボディ系ユニットの動作を
示すフローチャートである。
FIG. 2 is a flowchart showing an operation of a body unit in the embodiment.

【図3】通信フレームのデータフォーマットを示す図で
ある。
FIG. 3 is a diagram showing a data format of a communication frame.

【図4】従来の車両多重伝送装置のデータフレームの一
例を示す図である。
FIG. 4 is a diagram illustrating an example of a data frame of a conventional vehicle multiplex transmission device.

【図5】従来の車両多重伝送装置の他の一例の動作を示
すフローチャートである。
FIG. 5 is a flowchart showing an operation of another example of the conventional vehicle multiplex transmission device.

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

1a ボディ系ユニット 1b メータ系ユニット 1c 他のユニット 3 バス 11a,11b CPU 13a,13b CAN 20a,20b バスI/F 21a,21b 送受信部 22a,22b メモリ 23a,23b データ送信制御部 25a,25b 更新ビット設定部 27a,27b カウンタ 31 センサ 33 アクチュエータ 35 メータ 1a Body system unit 1b Meter system unit 1c Other unit 3 Bus 11a, 11b CPU 13a, 13b CAN 20a, 20b Bus I / F 21a, 21b Transmission / reception unit 22a, 22b Memory 23a, 23b Data transmission control unit 25a, 25b Update bit Setting section 27a, 27b Counter 31 Sensor 33 Actuator 35 Meter

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 バスと、バスに接続される複数の通信ユ
ニットとを備え、 各々の通信ユニットは、 複数種類のデータからなる車両データの各データ毎にそ
のデータの変化の有無を判定するデータ変化判定部と、 このデータ変化判定部で判定された前記データの変化の
有無に応じた更新データまたは更新前データの各データ
を1つの通信フレーム内に順番に設定するデータ設定部
と、 前記各データの更新の有無を示す各更新有無情報を前記
各データに対応付けて前記通信フレーム内に設定する更
新有無情報設定部と、 前記データ設定部で設定された各データ及び前記更新有
無情報設定部で設定された各更新有無情報を含む前記通
信フレームを他の通信ユニットに送信し、前記他の通信
ユニットからの前記通信フレームを受信する送受信部
と、を備えることを特徴とする車両多重伝送装置。
1. A vehicle comprising: a bus; and a plurality of communication units connected to the bus, wherein each communication unit determines, for each data of vehicle data including a plurality of types of data, whether there is a change in the data. A change determination unit; a data setting unit configured to sequentially set, in one communication frame, data of update data or pre-update data according to the presence or absence of a change in the data determined by the data change determination unit; An update presence / absence information setting unit that sets each update presence / absence information indicating presence / absence of data update in the communication frame in association with each data, and each data set by the data setting unit and the update presence / absence information setting unit A transmission / reception unit that transmits the communication frame including the update presence / absence information set in another communication unit, and receives the communication frame from the other communication unit, Vehicle multiplex transmission apparatus, characterized in that it comprises.
【請求項2】 前回送信されたデータの送信時刻から時
間をカウントするカウンタを備え、 前記送受信部は、前記カウンタによりカウントされた時
間が予め定められた更新時間に達したとき、前記通信フ
レームを送信することを特徴とする請求項1記載の車両
多重伝送装置。
2. A transmission / reception unit, comprising: a counter that counts time from a transmission time of previously transmitted data; wherein the transmission / reception unit transmits the communication frame when a time counted by the counter reaches a predetermined update time. The vehicle multiplex transmission device according to claim 1, wherein the transmission is performed.
【請求項3】 前記1つの通信フレームに設定される各
データは、前記更新時間が略同一時間であることを特徴
とする請求項2記載の車両多重伝送装置。
3. The vehicle multiplex transmission apparatus according to claim 2, wherein the update time of each data set in the one communication frame is substantially the same.
JP32658797A 1997-11-27 1997-11-27 Vehicle multiplex transmission equipment Expired - Fee Related JP3442633B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32658797A JP3442633B2 (en) 1997-11-27 1997-11-27 Vehicle multiplex transmission equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32658797A JP3442633B2 (en) 1997-11-27 1997-11-27 Vehicle multiplex transmission equipment

Publications (2)

Publication Number Publication Date
JPH11163907A true JPH11163907A (en) 1999-06-18
JP3442633B2 JP3442633B2 (en) 2003-09-02

Family

ID=18189493

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32658797A Expired - Fee Related JP3442633B2 (en) 1997-11-27 1997-11-27 Vehicle multiplex transmission equipment

Country Status (1)

Country Link
JP (1) JP3442633B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1426774A1 (en) * 2002-12-02 2004-06-09 Infineon Technologies AG System consisting of a first semiconductor device and a second semiconductor device connected to the first device
EP1426775A1 (en) * 2002-12-02 2004-06-09 Infineon Technologies AG System consisting of a first semiconductor device and a second semiconductor device connected to the first device
EP1881187A1 (en) 2006-07-18 2008-01-23 Siemens Aktiengesellschaft Engine control device
WO2010143686A1 (en) * 2009-06-12 2010-12-16 ルネサスエレクトロニクス株式会社 Automobile control system and electronic control unit
CN103770728A (en) * 2012-10-23 2014-05-07 广州汽车集团股份有限公司 Communication circuit for electric vehicle based on CAN bus
US9720857B2 (en) 2012-09-04 2017-08-01 Mitsubishi Electric Corporation Distributed I/O control system, distributed I/O control method, and master station and slave station for distributed I/O control system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1426774A1 (en) * 2002-12-02 2004-06-09 Infineon Technologies AG System consisting of a first semiconductor device and a second semiconductor device connected to the first device
EP1426775A1 (en) * 2002-12-02 2004-06-09 Infineon Technologies AG System consisting of a first semiconductor device and a second semiconductor device connected to the first device
US7738588B2 (en) 2002-12-02 2010-06-15 Infineon Technologies Ag Arrangement comprising a first semiconductor chip and a second semiconductor chip connected thereto
US8112563B2 (en) 2002-12-02 2012-02-07 Infineon Technologies Ag Arrangement comprising a first semiconductor chip and a second semiconductor chip connected thereto
US8380899B2 (en) 2002-12-02 2013-02-19 Infineon Technologies Ag Arrangement comprising a first semiconductor chip and a second semiconductor chip connected thereto
EP1881187A1 (en) 2006-07-18 2008-01-23 Siemens Aktiengesellschaft Engine control device
WO2010143686A1 (en) * 2009-06-12 2010-12-16 ルネサスエレクトロニクス株式会社 Automobile control system and electronic control unit
US9720857B2 (en) 2012-09-04 2017-08-01 Mitsubishi Electric Corporation Distributed I/O control system, distributed I/O control method, and master station and slave station for distributed I/O control system
CN103770728A (en) * 2012-10-23 2014-05-07 广州汽车集团股份有限公司 Communication circuit for electric vehicle based on CAN bus

Also Published As

Publication number Publication date
JP3442633B2 (en) 2003-09-02

Similar Documents

Publication Publication Date Title
JP6500875B2 (en) In-vehicle network system and communication control method in in-vehicle network system
US6819989B2 (en) Drive recorder system
JP3117000B2 (en) Communication system and electronic control device used therein
KR100696889B1 (en) inner vehicle communication system and gateway
US7260437B2 (en) Network system using management frames for supervising control units
JP3442633B2 (en) Vehicle multiplex transmission equipment
US6151306A (en) Vehicle multiplex communication system
JP3566846B2 (en) Multiplex communication method
JP2002208933A (en) Motor vehicle communication protocol for automatically assigning device address
JP3442632B2 (en) Vehicle multiplex transmission equipment
US4807231A (en) Multiplex communication method
JPH10191462A (en) Vehicle multiplex transmitter
EP0778179B1 (en) Multiplex communication system
JPH11163903A (en) Multiplex transmission device for vehicle
JP3286166B2 (en) Vehicle multiplex transmission equipment
KR100773076B1 (en) Method for transmitting and receiving dynamic can communication data
JP2001168891A (en) Vehicle multiplex transmitting device
JPH11334494A (en) Vehicular computer communication device
JP3385162B2 (en) Vehicle multiplex transmission equipment
JPH11163906A (en) Multiplex transmission device for vehicle
JP2004254043A (en) Network controller in vehicle
JP2006140713A (en) Device and method for data recording
JP3182246B2 (en) Multiplex transmission system
JP3487048B2 (en) Communications system
JP5084254B2 (en) In-vehicle communication system, relay device, and in-vehicle communication method

Legal Events

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

Free format text: PAYMENT UNTIL: 20080620

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090620

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090620

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100620

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110620

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120620

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130620

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees