JP3438163B2 - In-vehicle electrical unit control method and system - Google Patents

In-vehicle electrical unit control method and system

Info

Publication number
JP3438163B2
JP3438163B2 JP27431697A JP27431697A JP3438163B2 JP 3438163 B2 JP3438163 B2 JP 3438163B2 JP 27431697 A JP27431697 A JP 27431697A JP 27431697 A JP27431697 A JP 27431697A JP 3438163 B2 JP3438163 B2 JP 3438163B2
Authority
JP
Japan
Prior art keywords
unit
electrical
vehicle
control
slave
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 - Lifetime
Application number
JP27431697A
Other languages
Japanese (ja)
Other versions
JPH11110009A (en
Inventor
治人 御友
眞伸 篠田
一成 越智
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honda Motor Co Ltd
Keihin Corp
Original Assignee
Honda Motor Co Ltd
Keihin 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 Honda Motor Co Ltd, Keihin Corp filed Critical Honda Motor Co Ltd
Priority to JP27431697A priority Critical patent/JP3438163B2/en
Publication of JPH11110009A publication Critical patent/JPH11110009A/en
Application granted granted Critical
Publication of JP3438163B2 publication Critical patent/JP3438163B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Control By Computers (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、自動車の複数の電
装ユニットを車内通信ネットワーク(以下、車内LAN
という)として接続することにより統合的に制御するこ
とが可能なシステムにおいて、その構成されたシステム
に適合した制御を行う車載電装ユニット制御方法及びシ
ステムに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an in-vehicle communication network (to be referred to as an in-vehicle LAN hereinafter) by connecting a plurality of electric units of an automobile.
The present invention relates to an in-vehicle electrical unit control method and system for performing control suitable for the system configured in a system that can be integratedly controlled by connecting the above.

【0002】[0002]

【従来の技術】従来から、自動車内には様々な電装ユニ
ットが搭載されている。この電装ユニットとは、例えば
ドライバーシートの前後又は上下やリクライニングの位
置を制御するためのシート制御ユニット、ステアリング
の位置を定めるチルトやテレスコピックを制御するため
のステアリング制御ユニット、左右のミラーの角度を制
御するためのミラー制御ユニット等のことである。
2. Description of the Related Art Conventionally, various electric equipment units are mounted in an automobile. The electrical unit is, for example, a seat control unit for controlling the front / rear or top / bottom of the driver seat or the reclining position, a steering control unit for controlling the tilt and telescopic for determining the steering position, and the angle of the left and right mirrors. It is a mirror control unit for doing so.

【0003】近年、このような複数の電装ユニットを車
内LANとして接続し、1つのシステムとして制御を行
う方法が開発されている。その一例として自動車のドラ
イビングポジション機能がある。これは、ドライバーシ
ートの位置、ステアリングの位置、左右のミラーの角度
を、ドライバーがあらかじめ記憶させたところにワンタ
ッチ操作でシステム全体として再生させるものである。
このようなシステムでは、マスター/スレーブ制御方式
が採用されている。マスター/スレーブ制御方式とは、
ドライビングポジションの場合に、マスターとなる電装
ユニットがスレーブとなる他の電装ユニットに対し指令
となるメッセージを発信し、システムとして統合的な制
御を行うものである。
In recent years, a method has been developed in which a plurality of such electrical units are connected as an in-vehicle LAN and controlled as one system. One example is the car driving position function. This is to reproduce the position of the driver's seat, the position of the steering wheel, and the angles of the left and right mirrors as a whole by one-touch operation where the driver has stored them in advance.
In such a system, a master / slave control system is adopted. What is the master / slave control method?
In the case of the driving position, the master electrical equipment unit sends a command message to other slave electrical equipment units to perform integrated control as a system.

【0004】この種のシステムでは、例えば車種によっ
てはミラー制御ユニットがないものやシート制御ユニッ
トがないものがあり、システムとしての制御対象が必ず
しも画一的ではないため、車種毎に異なるシステムを構
成し、対応させる必要がある。そのため、例えばマスタ
ーとなる電装ユニット内に車種を識別する回路を付加
し、車種を識別させ、車種毎に対応させたシステム構成
になるようにしていた。
In this type of system, for example, some vehicles do not have a mirror control unit and some do not have a seat control unit, and the control target of the system is not necessarily uniform. Therefore, different systems are configured for each vehicle type. And it is necessary to correspond. Therefore, for example, a circuit for identifying the vehicle type has been added to the master electrical equipment unit so that the vehicle type can be identified and the system configuration can be made to correspond to each vehicle type.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、このよ
うに電装ユニットに車種を識別する回路を付加するよう
な識別では、機能が同じ電装ユニットでも車種毎に違う
電装ユニットとして製造しなければならず、製造する電
装ユニットの種類を増やすこととなり、製造工程や在庫
管理を複雑にするという問題があった。また車種を識別
するための回路の付加するためコストが高くなるという
問題があった。
However, in such identification in which a circuit for identifying a vehicle type is added to the electrical component unit, even an electrical component unit having the same function must be manufactured as a different electrical component unit for each vehicle type. There has been a problem that the number of electrical component units to be manufactured is increased, which complicates the manufacturing process and inventory management. In addition, there is a problem that the cost increases because a circuit for identifying the vehicle type is added.

【0006】そこで、車種毎に違う電装ユニットとして
構成しなくても、車種に応じて構成されたシステムに対
応できるような車載電装ユニット制御方法及びシステム
の実現が望まれていた。
Therefore, it has been desired to realize a vehicle-mounted electrical unit control method and system that can be adapted to a system configured according to the vehicle type without being configured as a different electrical unit for each vehicle type.

【0007】[0007]

【課題を解決するための手段】本発明に係る車載電装ユ
ニット制御方法は、指示に基づいてそれぞれ単独で可動
部分の制御を行う複数の車載電装ユニットを通信ネット
ワークで接続し、システムとして機能させる場合に統合
的な制御が可能な車載電装ユニット制御方法において、
少なくとも各車載電装ユニットに電力が供給された時
に、車載電装ユニットが記憶しているユニット間の接続
関係を初期化する工程と、少なくとも各車載電装ユニッ
トに電力が供給された時に、車載電装ユニットの種類毎
にあらかじめ定められた識別番号を、各車載電装ユニッ
トがメッセージデータに含めて送信する工程と、送信先
の車載電装ユニットがメッセージデータを受信し、識別
番号に基づいて車載電装ユニットの種類を識別して車載
電装ユニット間の接続関係を記憶し、システムとして機
能させる場合に、接続関係に応じた統合的な制御を行う
工程とを有している。本発明においては、少なくとも各
車載電装ユニットに電力が供給された時に、各車載電装
ユニットが記憶しているユニット間の接続関係を初期化
し、その車載ユニットの種類に応じて定められている識
別番号を通信データに含めて送信する。各車載ユニット
から送信された識別番号に基づいて、接続されている車
載電装ユニットの種類を識別し、その識別番号を記憶
し、車種毎に異なる回路を付加することなく接続関係を
記憶し、その接続関係に応じたシステム制御を行う。
A method for controlling an on-vehicle electrical equipment unit according to the present invention is a method for connecting a plurality of on-vehicle electrical equipment units, each of which independently controls a movable part based on an instruction, through a communication network so as to function as a system. In-vehicle electrical unit control method capable of integrated control in
At least when power is supplied to each on-board electrical unit
Connection between the units stored in the on-board electrical unit
A step of initializing the relationship, and a step in which, when power is supplied to at least each on-vehicle electrical unit, a predetermined identification number for each type of on-vehicle electrical unit is transmitted by each on-vehicle electrical unit by including it in the message data. , When the destination in-vehicle electrical unit receives the message data, identifies the type of the in-vehicle electrical unit based on the identification number, stores the connection relation between the in-vehicle electrical units, and responds to the connection relation when operating as a system. And a process of performing integrated control. In the present invention, when power is supplied to at least the vehicle electrical units, each vehicle electrical
Initialize the connection relationship between units stored in the unit
Then, the communication data includes the identification number determined according to the type of the vehicle-mounted unit and transmits the communication data. Based on the identification number sent from each vehicle-mounted unit, identify the type of the vehicle-mounted electrical unit connected, store the identification number, store the connection relationship without adding a different circuit for each vehicle type, Performs system control according to the connection relationship.

【0008】また本発明に係る車載電装ユニットシステ
ムは、指示に基づいてそれぞれ可動部分の位置制御を行
う複数の車載電装ユニットを通信ネットワークで接続
し、システムとして統合的に制御可能な車載電装ユニッ
トシステムにおいて、電力が供給された時に、接続を確
認するための車載電装ユニットの種類ごとに定められた
アドレスを付加したメッセージデータを送信し、またシ
ステム制御のためのメッセージを受信するとあらかじめ
記憶された位置制御を行う1又は複数のスレーブ電装ユ
ニットと、電力が供給された時に、記憶しているスレー
ブ電装ユニット間の接続関係を初期化すると共に、1又
は複数のスレーブ電装ユニットから送信されたメッセー
ジデータを受信すると、メッセージ中の送信元アドレス
に基づいてスレーブ電装ユニットの種類を識別して記憶
して再生手順を決定し、統合的に制御を行う際に、再生
手順に基づいてスレーブ電装ユニットにシステム制御の
ためのメッセージデータを送信するマスター電装ユニッ
トとを備えている。本発明においては、1又は複数のス
レーブ電装ユニットが、電力が供給された時に、記憶し
ている車載電装ユニット間の接続関係を初期化した上
で、接続を確認するためのメッセージを送信する。マス
ターユニットは、他のスレーブ電装ユニットとは接続さ
れていないと認識するような状態にしておく。マスター
ユニットは、1又は複数のスレーブ電装ユニットから送
信されたメッセージを受信すると、そのメッセージに含
まれる送信元アドレスに基づいて、スレーブユニットの
種類を自動的に識別して記憶し、再生手順を決定する。
システムとして統合的に制御を行う際に1又は複数のス
レーブ電装ユニットをその再生手順に基づいてスレーブ
電装ユニットにシステム制御のためのメッセージデータ
を送信する。スレーブ電装ユニットは、メッセージを受
信するとあらかじめ記憶された位置制御を行う。
Further, the vehicle-mounted electrical unit system according to the present invention is a vehicle-mounted electrical unit system in which a plurality of vehicle-mounted electrical units, each of which controls the position of a movable portion based on an instruction, are connected by a communication network and can be integrally controlled as a system. In the above, when power is supplied, message data with an address specified for each type of in-vehicle electrical unit for confirming connection is sent, and when a message for system control is received, the position stored in advance is stored. One or a plurality of slave electrical units for controlling, and a slave memory unit that stores a memory when power is supplied .
When the message data sent from one or more slave electrical equipment units is received , the connection relationship between the electrical equipment units is initialized, and the type of slave electrical equipment unit is identified and stored based on the source address in the message. And a master electric component unit that transmits message data for system control to the slave electric component unit based on the reproduction procedure when the reproduction procedure is determined and integrated control is performed. In the present invention, one or more slave electrical equipment units store when power is supplied.
After initializing the connection relationship between the onboard electrical components that are
Then, send a message to confirm the connection. The master unit is set in such a state that it recognizes that it is not connected to another slave electrical component unit. When the master unit receives a message transmitted from one or more slave electrical equipment units, it automatically identifies and stores the type of slave unit based on the source address included in the message, and determines the playback procedure. To do.
When performing integrated control as a system, message data for system control is transmitted to one or a plurality of slave electrical units based on the reproduction procedure thereof. When the slave electric component unit receives the message, the slave electric component unit performs the position control stored in advance.

【0009】[0009]

【発明の実施の形態】DETAILED DESCRIPTION OF THE INVENTION

実施形態1.図1は本発明の第1の実施の形態に係る車
載電装ユニット制御方法を実現するための電装ユニット
システムのブロック図である。図において、10はステ
アリング制御用電装ユニット(以下ステアリングユニッ
トという)であり、チルトやテレスコピックといったス
テアリング制御機能だけでなく、ドライビングポジショ
ン機能時に、ドライバーにあらかじめ記憶された位置制
御を行い、また他の電装ユニットを制御するマスター制
御機能を有している。ステアリングユニット10は、マ
スターコンピュータ11、ステアリング入力回路12、
ステアリング出力回路13、ステアリング通信回路14
及びステアリング電源回路15で構成される。
Embodiment 1. FIG. 1 is a block diagram of an electrical component unit system for implementing a vehicle-mounted electrical component control method according to a first embodiment of the present invention. In the figure, reference numeral 10 denotes a steering control electric unit (hereinafter referred to as a steering unit), which not only performs a steering control function such as tilt and telescopic, but also performs a position control pre-stored in a driver at the time of a driving position function and other electric components. It has a master control function to control the unit. The steering unit 10 includes a master computer 11, a steering input circuit 12,
Steering output circuit 13, steering communication circuit 14
And a steering power supply circuit 15.

【0010】マスターコンピュータ11は、少なくとも
制御プログラムを実行し、制御処理を行うステアリング
制御部11A、その内部に制御用プログラム及びステア
リング機能の電装ユニットに付された識別番号(以下、
ステアリングアドレスという)を有するROM11B、
他のユニットから送信された識別番号、ドライビングポ
ジション機能を行う際のステアリングの位置等を記憶さ
せるためのRAM11C、電圧によるアナログ信号をデ
ジタル信号に変換するA/Dコンバータ11D及び時間
の計測を行うタイマ11Eで構成される。ステアリング
入力回路12は、ステアリングを単独で動作させるため
のマニュアルスイッチ又はドライビングポジション機能
を操作させるための機能スイッチからの信号をマスター
コンピュータ11に送信するものである。また、ステア
リングセンサ(図示せず)から入力されたステアリング
の位置を表すアナログ信号をマスターコンピュータ11
に送信するものである。ステアリング出力回路13は、
マスターコンピュータ11から送信されたステアリング
制御信号に基づいてステアリングを制御する。ステアリ
ング通信回路14は、他の電装ユニット(本実施の形態
においては運転席シート制御用電装ユニット20)との
通信におけるインターフェース部分となるものである。
他のユニットからのメッセージを受信すると、マスター
コンピュータ11に必要なデータ(送信元のユニットの
アドレスやメッセージの内容データ)をマスターコンピ
ュータ11に送信する。また、マスターコンピュータ1
1から他のユニットに送信するためのメッセージデータ
が送信されると、通信用フォーマットに加工し、送信を
行う。ステアリング電源回路15は、自動車のバッテリ
ーより電力が供給されると、ステアリングユニット10
に必要な電力を供給する。電力を供給する際には、電源
監視機能によりマスターコンピュータ11をリセットさ
せ、RAM11C等の初期化を行わせる。
The master computer 11 executes at least a control program and carries out a control process, and a steering control section 11A, and an identification number (hereinafter referred to as an identification number) attached to the control program and an electric unit for steering function therein.
ROM 11B having a steering address),
A RAM 11C for storing an identification number transmitted from another unit, a steering position when performing a driving position function, an A / D converter 11D for converting an analog signal based on a voltage into a digital signal, and a timer for measuring time. It is composed of 11E. The steering input circuit 12 transmits to the master computer 11 a signal from a manual switch for operating the steering independently or a function switch for operating the driving position function. Further, the master computer 11 receives an analog signal representing the position of the steering wheel, which is input from a steering sensor (not shown).
Is to be sent to. The steering output circuit 13 is
The steering is controlled based on the steering control signal transmitted from the master computer 11. The steering communication circuit 14 serves as an interface portion in communication with another electric component unit (the electric seat unit 20 for controlling the seat in the present embodiment).
When receiving a message from another unit, the master computer 11 transmits necessary data to the master computer 11 (address of source unit and content data of message). Also, the master computer 1
When message data to be transmitted from 1 to another unit is transmitted, it is processed into a communication format and transmitted. When power is supplied from the battery of the automobile, the steering power supply circuit 15 receives power from the steering unit 10.
Supply the necessary power to. When power is supplied, the master computer 11 is reset by the power supply monitoring function to initialize the RAM 11C and the like.

【0011】20は運転席シート制御用電装ユニット
(以下、シートユニットという)であり、単独のシート
制御機能だけでなく、ドライビングポジション機能時に
コンピュータ11からのドライビングポジション制御の
メッセージが入力されると、ドライバーにあらかじめ記
憶された位置制御機能を行うスレーブ機能を有してい
る。シートユニット20は、シートスレーブコンピュー
タ21、シート入力回路22、シート出力回路23、シ
ート通信回路24及びシート電源回路25で構成され
る。
Reference numeral 20 denotes an electric unit for controlling a driver's seat (hereinafter referred to as a seat unit), which receives a driving position control message from the computer 11 during the driving position function as well as the independent seat control function. It has a slave function that performs the position control function stored in advance in the driver. The seat unit 20 includes a seat slave computer 21, a seat input circuit 22, a seat output circuit 23, a seat communication circuit 24, and a seat power supply circuit 25.

【0012】シートスレーブコンピュータ21は、少な
くとも制御プログラムを実行し、制御を行う制御部21
A、その内部にシート制御用プログラム及びシート機能
の電装ユニットに付された識別番号(以下、シートアド
レスという)を有するROM21B、他のユニットから
送信された識別信号、ドライビングポジション機能を行
う際のドライバーシートの位置等を記憶させるためのR
AM21C、電圧によるアナログ信号をデジタル信号に
変換するA/Dコンバータ21D及び時間の計測を行う
タイマ21Eで構成される。シート入力回路22は、ド
ライバーシートを単独動作させるためのマニュアルスイ
ッチからの信号及びシートセンサ(図示せず)から入力
されたドライバーシートの位置を表すアナログ信号をシ
ートスレーブコンピュータ21に送信するものである。
シート出力回路23は、シートスレーブコンピュータ2
1から送信されたシート制御信号に基づいてシート機能
を制御する。シート通信回路24は、ステアリング通信
回路14と同様に、他の電装ユニット(本実施の形態に
おいてはステアリング制御用電装ユニット10)との通
信におけるインターフェース部分となるものである。シ
ート電源回路25は、自動車のバッテリーより電力が供
給されると、シートスレーブコンピュータ21に電力を
供給する。電力を供給する際には、電源監視機能により
シートスレーブコンピュータ21をリセットさせ、初期
化を行わせる。
The seat slave computer 21 executes at least a control program to perform control.
A, a ROM 21B having a seat control program and an identification number (hereinafter referred to as a seat address) attached to an electric unit for seat function, an identification signal transmitted from another unit, a driver for performing a driving position function R for storing the position of the seat
An AM 21C, an A / D converter 21D that converts an analog signal based on a voltage into a digital signal, and a timer 21E that measures time. The seat input circuit 22 transmits a signal from a manual switch for independently operating the driver seat and an analog signal indicating a position of the driver seat input from a seat sensor (not shown) to the seat slave computer 21. .
The seat output circuit 23 is the seat slave computer 2
The seat function is controlled based on the seat control signal transmitted from the No. 1. The seat communication circuit 24, like the steering communication circuit 14, serves as an interface portion in communication with another electric component unit (the steering control electric component unit 10 in the present embodiment). The seat power supply circuit 25 supplies power to the seat slave computer 21 when power is supplied from the battery of the vehicle. When power is supplied, the seat slave computer 21 is reset and initialized by the power supply monitoring function.

【0013】40は通信回線であり、ステアリング通信
回路14とシート通信回路24とを接続している。この
通信においては、例えば米国自動車技術協会(SAE)
で採用された多重通信のプロトコルであるSAE−J1
850方式を用いる。SAE−J1850方式では、車
内LAN上に接続された各電装ユニットは、CSMA/
CD(衝突検知を備えたキャリア検出多重アクセス方
式)機能により、全ての電装ユニットで対等なメッセー
ジを送信できる。したがって各電装ユニットは必要に応
じてメッセージの送信を行う。本実施の形態ではマスタ
ーユニットと1つのスレーブユニットで構成される基本
的なマスター/スレーブ制御について説明する。
A communication line 40 connects the steering communication circuit 14 and the seat communication circuit 24. In this communication, for example, American Association of Automotive Engineers (SAE)
SAE-J1 which is a multiplex communication protocol adopted in
The 850 method is used. In the SAE-J1850 system, each electrical unit connected to the in-vehicle LAN is CSMA /
With the CD (Carrier Detection Multiple Access Method with Collision Detection) function, all electrical units can send equal messages. Therefore, each electrical unit sends a message as needed. In this embodiment, a basic master / slave control including a master unit and one slave unit will be described.

【0014】次にバッテリー接続時の電装ユニットの動
作について説明する。自動車のバッテリーからステアリ
ングユニット10に電力が供給されると、ステアリング
電源回路15は、電源監視機能に基づいて、マスターコ
ンピュータ11をリセットさせ、初期化を行わせる。こ
の初期化によりRAM11Cに記憶された他のユニット
との接続状態はクリアされ、他のユニットとの接続がな
い状態と認識されるようにしておく。一方、シートユニ
ット20においても、電力が供給されると、シート電源
回路25は、電源監視機能に基づいてシートスレーブコ
ンピュータ21をリセットさせ、初期化を行わせる。こ
の初期化によりRAM21Cに記憶された他のユニット
との接続状態はクリアされ、他のユニットとの接続がな
い状態と認識されるようにしておく。またシート通信回
路24等を介してマスターコンピュータ11に接続確認
のためのメッセージを送信させる。このメッセージに
は、少なくともROM21Bに記憶されたシートアドレ
スが含まれている。マスターコンピュータ11は、接続
確認のためのメッセージに含まれているシートアドレス
に基づき、シートユニット20が接続されていることを
認識し、RAM11Cに記憶させておく。
Next, the operation of the electric component unit when the battery is connected will be described. When power is supplied to the steering unit 10 from the battery of the automobile, the steering power supply circuit 15 resets the master computer 11 based on the power supply monitoring function to initialize the master computer 11. By this initialization, the connection state with other units stored in the RAM 11C is cleared, and it is recognized that there is no connection with other units. On the other hand, also in the seat unit 20, when power is supplied, the seat power supply circuit 25 resets the seat slave computer 21 based on the power supply monitoring function to initialize the seat slave computer 21. By this initialization, the connection state with other units stored in the RAM 21C is cleared, and it is recognized that there is no connection with other units. Further, the master computer 11 is caused to transmit a message for confirming the connection via the sheet communication circuit 24 and the like. This message includes at least the sheet address stored in the ROM 21B. The master computer 11 recognizes that the seat unit 20 is connected based on the seat address included in the connection confirmation message, and stores it in the RAM 11C.

【0015】また同様に、ユニットであるステアリング
ユニット10のマスターコンピュータ11は、スレーブ
ユニットであるシートユニット20のシートスレーブコ
ンピュータ21にメッセージを送信する際に、少なくと
もROM11Bに記憶されたステアリングアドレスを含
めて送信する。シートスレーブコンピュータ21では、
そのステアリングアドレスに基づき、ステアリングユニ
ット10が接続されていることを認識し、RAM21C
に記憶させておく。
Similarly, when the master computer 11 of the steering unit 10 which is a unit transmits a message to the seat slave computer 21 of the seat unit 20 which is a slave unit, at least the steering address stored in the ROM 11B is included. Send. In the seat slave computer 21,
Based on the steering address, it is recognized that the steering unit 10 is connected, and the RAM 21C
To remember.

【0016】以上のように第1の実施の形態によれば、
電力供給時にステアリングユニット10のRAM11C
及びシートユニット20のRAM21Cを初期化して電
装ユニット間の接続関係をクリアにし、ステアリングユ
ニット10及びシートユニット20は、車内LANで他
の電装ユニットとの通信を行う際に、種類毎に定められ
たアドレスデータを含ませて送信し、受信したユニット
は、そのアドレスデータに基づいて電装ユニットの接続
関係を識別するようにしたので、あらかじめ車種を識別
するための回路を付加する必要がないのでコストを下げ
ることができ、またあらためて車種に基づいて同機能の
電装ユニットを別々にして製造を行わなくてもよくなっ
たので、在庫管理等を考慮する必要がない。
As described above, according to the first embodiment,
RAM 11C of the steering unit 10 when power is supplied
Also, the RAM 21C of the seat unit 20 is initialized to clear the connection relationship between the electric component units, and the steering unit 10 and the seat unit 20 are determined for each type when communicating with other electric component units via the in-vehicle LAN. Since the unit that includes the address data and transmits it and receives it is designed to identify the connection relationship of the electrical unit based on the address data, it is not necessary to add a circuit for identifying the vehicle type in advance, so the cost is reduced. Since it is no longer necessary to separately manufacture electric components having the same function based on the vehicle type, it is not necessary to consider inventory management or the like.

【0017】実施形態2.図2は本発明の第2の実施の
形態に係る車載電装ユニット制御方法を実現するための
電装ユニットシステムのブロック図である。図におい
て、図1と同じ図番を付しているものは、第1の実施の
形態で説明したものと同様の動作を行うので説明を省略
する。30は電動ミラー制御用電装ユニット(以下、ミ
ラーユニットという)であり、単独のミラー制御だけで
なく、マスターコンピュータ11からドライビングポジ
ション制御のメッセージが入力されると、ドライバーに
あらかじめ記憶された位置制御を行うスレーブ機能を有
している。ミラーユニット20は、ミラースレーブコン
ピュータ31、ミラー入力回路32、ミラー出力回路3
3、ミラー通信回路34及びミラー電源回路35で構成
される。
Embodiment 2. FIG. 2 is a block diagram of an electrical component unit system for realizing the vehicle-mounted electrical component control method according to the second embodiment of the present invention. In the figure, those given the same reference numerals as those in FIG. 1 perform the same operations as those explained in the first embodiment, and therefore their explanations are omitted. Reference numeral 30 denotes an electric unit for controlling an electric mirror (hereinafter referred to as a mirror unit), and not only a single mirror control but also a position control stored in advance in a driver when a driving position control message is input from the master computer 11. It has a slave function to perform. The mirror unit 20 includes a mirror slave computer 31, a mirror input circuit 32, and a mirror output circuit 3.
3, a mirror communication circuit 34 and a mirror power supply circuit 35.

【0018】ミラースレーブコンピュータ31は、少な
くとも制御プログラムを実行し、制御を行う制御部31
A、その内部にシート制御用プログラム及びミラー機能
の電装ユニットに付された識別番号(以下、ミラーアド
レスという)を有するROM31B、他のユニットから
送信された識別信号、ドライビングポジション機能を行
う際のミラーの位置等を記憶させるためのRAM31
C、電圧によるアナログ信号をデジタル信号に変換する
A/Dコンバータ31D及び時間の計測を行うタイマ3
1Eで構成される。ミラー入力回路22は、左右のミラ
ーを単独動作させるためのマニュアルスイッチからの信
号及びミラーセンサ(図示せず)から入力された左右の
ミラーの位置を表すアナログ信号をミラースレーブコン
ピュータ31に送信するものである。ミラー出力回路3
3は、ミラースレーブコンピュータ31から送信された
ミラー制御信号に基づいてミラー機能を制御する。ミラ
ー通信回路34は、ステアリング通信回路14と同様
に、他の電装ユニットとの通信におけるインターフェー
ス部分となるものである。ミラー電源回路35は、自動
車のバッテリーより電力が供給されると、ミラースレー
ブコンピュータ31に電力を供給する。電力を供給する
際には、電源監視機能によりミラースレーブコンピュー
タ31をリセットさせ、初期化を行わせる。
The mirror slave computer 31 executes at least a control program and controls the control section 31.
A, a ROM 31B having therein a seat control program and an identification number (hereinafter referred to as a mirror address) attached to an electric equipment unit having a mirror function, an identification signal transmitted from another unit, and a mirror for performing a driving position function RAM 31 for storing the position of
C, A / D converter 31D that converts an analog signal by voltage into a digital signal, and timer 3 that measures time
It is composed of 1E. The mirror input circuit 22 transmits to the mirror slave computer 31 a signal from a manual switch for independently operating the left and right mirrors and an analog signal input from a mirror sensor (not shown) indicating the positions of the left and right mirrors. Is. Mirror output circuit 3
3 controls the mirror function based on the mirror control signal transmitted from the mirror slave computer 31. The mirror communication circuit 34, like the steering communication circuit 14, serves as an interface portion in communication with other electrical units. The mirror power supply circuit 35 supplies power to the mirror slave computer 31 when power is supplied from the vehicle battery. When power is supplied, the mirror slave computer 31 is reset and initialized by the power supply monitoring function.

【0019】本実施の形態では、第1の実施の形態のよ
うなユニットと1つのスレーブユニットとの基本的な構
成に加え、違う車種に対応させるため、新たにもう1つ
のスレーブユニットとなるミラーユニット30を接続し
た場合のシステムについて、電力供給時だけでなく、通
常時の動作も含めて第1の実施の形態よりも詳細に説明
することにする。
In this embodiment, in addition to the basic configuration of the unit and one slave unit as in the first embodiment, a mirror which becomes another slave unit is newly added in order to support different vehicle types. The system in which the unit 30 is connected will be described in more detail than the first embodiment, including not only the power supply but also the normal operation.

【0020】次に動作について説明する。自動車のバッ
テリーからステアリングユニット10への電力供給時
に、RAM11Cに記憶された他のユニットとの接続状
態はクリアされ、他のユニットとの接続がない状態と認
識されるようにしておく。また、シートユニット20及
びミラーユニット30でも同様にRAM21C及びRA
M31Cの接続状態は初期化される。スレーブユニット
のコンピュータは、少なくとも電力供給された時には、
通信回路を介してマスターユニットのコンピュータ(こ
こではマスターコンピュータ11)に対してメッセージ
を送信する。
Next, the operation will be described. When power is supplied from the battery of the automobile to the steering unit 10, the connection state with the other unit stored in the RAM 11C is cleared, and it is recognized that there is no connection with the other unit. Further, the RAM 21C and RA are similarly applied to the seat unit 20 and the mirror unit 30.
The connection state of M31C is initialized. The computer of the slave unit, at least when powered,
A message is transmitted to the computer of the master unit (here, the master computer 11) via the communication circuit.

【0021】図3は各通信回路から送信される通信フォ
ーマットの例である。このフォーマットは、前述したS
AE−J1850方式に基づいたフォーマットである。
通信フォーマットは、コード部41、送信データ部42
及びレスポンスアドレス部43で構成されている。また
表1はそれぞれの記号の内容を説明したものである。メ
ッセージの送信には受信アドレスを指定する方法が採ら
れ、各電装ユニットの通信回路は、各電装ユニット固有
の物理アドレスと機能毎に割り付け可能な機能アドレス
とを持つことによりメッセージ送信に対して受信アドレ
スが自分のアドレス(物理アドレス又は機能アドレス)
と一致した時のみメッセージを取り込み、コンピュータ
に送信する機能を持っている。さらにメッセージ送信が
正常に受信できたかどうかを知るために正常に受信でき
たときは、自分の物理アドレスを返送するレスポンス送
信という機能も持っている。
FIG. 3 is an example of a communication format transmitted from each communication circuit. This format is S
It is a format based on the AE-J1850 system.
The communication format includes a code section 41 and a transmission data section 42.
And a response address section 43. Table 1 describes the contents of each symbol. A method of designating a reception address is adopted for message transmission, and the communication circuit of each electrical unit receives a message transmission by having a physical address unique to each electrical unit and a functional address that can be assigned to each function. Address is your address (physical address or functional address)
It has a function to capture a message only when it matches and send it to a computer. In addition, it has a function called response transmission that returns its own physical address when it can be received normally in order to know whether the message transmission was successfully received.

【0022】[0022]

【表1】 [Table 1]

【0023】コード部41において、41aは通信開始
コード、41bはサイクリック符号方式の誤り訂正コー
ド、41cはデータ終了コード及び41dは通信終了コ
ードである。また送信データ部42において、42aは
送信するメッセージのタイプを表すヘッダA、42bは
受信(送信先)アドレスを指定するヘッダB、42は送
信元アドレスを指定するヘッダC並びに42d、42e
及び42fは実際のメッセージデータである。レスポン
ス物理アドレス部43はレスポンス送信機能による、受
信した電装ユニットの物理アドレスのデータが含まれ
る。受信電装ユニットが複数ある場合はそれぞれの物理
アドレスが含まれることになる。各電装ユニット間のメ
ッセージの送信は、この通信フォーマットにより行われ
ており、マスター電装ユニットは、スレーブ電装ユニッ
トからのメッセージを全て受け取ることができる。
In the code section 41, 41a is a communication start code, 41b is a cyclic code error correction code, 41c is a data end code, and 41d is a communication end code. In the transmission data section 42, 42a is a header A indicating the type of message to be transmitted, 42b is a header B designating a receiving (destination) address, 42 is a header C designating a source address, and 42d, 42e.
And 42f are the actual message data. The response physical address part 43 includes data of the received physical address of the electrical unit by the response transmission function. When there are a plurality of receiving electrical units, each physical address is included. The transmission of the message between each electric component unit is performed by this communication format, and the master electric component unit can receive all the messages from the slave electric component units.

【0024】表2は物理アドレス及び機能アドレスの表
である。アドレスには、電装ユニット固有の物理アドレ
スとその電装ユニットのシステムの機能としての機能ア
ドレスとがある。物理アドレスとして、例えばステアリ
ングユニットには2h(hは16進数を表す)、シート
ユニットには3h、ミラーユニットには4hが割り当て
られている。また機能アドレスとして、マスターとなる
ユニットには1h、スレーブとなるユニットにはFhが
割り当てられる。したがって、例えばマスターユニット
であるステアリングユニット10には、1h及び2hが
割り当てられステアリング通信回路14及びROM11
Bに記憶されている。またシートユニット20には3h
及びFhが割り当てられシート通信回路24及びROM
21Bに記憶されている。
Table 2 is a table of physical addresses and functional addresses. The address includes a physical address unique to the electric component unit and a functional address as a function of the system of the electric component unit. As the physical address, for example, 2h (h represents a hexadecimal number) is assigned to the steering unit, 3h to the seat unit, and 4h to the mirror unit. As the functional address, 1h is assigned to the master unit and Fh is assigned to the slave unit. Therefore, for example, 1h and 2h are assigned to the steering unit 10, which is a master unit, and the steering communication circuit 14 and the ROM 11 are allocated.
It is stored in B. The seat unit 20 has 3h
And Fh are assigned to the seat communication circuit 24 and ROM
21B is stored.

【0025】[0025]

【表2】 [Table 2]

【0026】図4はスレーブユニットからマスターユニ
ットへのメッセージ送信タイミングのフローチャートで
ある。図4に基づいてスレーブユニット内のコンピュー
タがマスターユニットに対してメッセージを送信する処
理について説明する。バッテリーが接続された際の電力
供給時又はスリープ状態からの再起動時により接続が開
始された状態であるかどうかの判定を行う(S51)。
電力供給又は再起動による接続が開始されたものと判断
すれば、スレーブユニット内のコンピュータは、接続確
認のためのメッセージデータをそれぞれの通信回路に送
信する。通信回路は、そのメッセージをユニットである
ステアリングユニット10に送信する(S52)。接続
開始時の状態でないものと判断すれば、マニュアルスイ
ッチからの信号の入力等により、処理の状態が変化した
かどうかを判断する(S53)。状態に変化が生じた場
合は、状態変化メッセージの送信要求を通信回路に行
い、ステアリングユニット10に送信する(S54)。
何の入力もなく、状態が変化していない場合は、マニュ
アルスイッチによる位置の制御動作中又はドライビング
ポジション機能による記憶又は再生による位置の制御動
作中かどうかを判断する(S55)。また、一定周期で
動作中メッセージを送信させるためのタイマの値が0で
あるかどうかを判断する(S56)。位置の制御動作中
であり、かつタイマの値が0の場合は、動作中メッセー
ジデータを通信回路に送信し、ステアリングユニット1
0にそのメッセージを送信させる(S57)。またタイ
マを所定の値にセットし(S58)、カウントダウンを
行わせ、タイマの値が再度0と判断した時に、位置の制
御動作中であると判断すれば、再度、動作中メッセージ
を送信させるようにする。
FIG. 4 is a flowchart of the message transmission timing from the slave unit to the master unit. A process in which the computer in the slave unit transmits a message to the master unit will be described with reference to FIG. It is determined whether or not the connection is started by the power supply when the battery is connected or the restart from the sleep state (S51).
If it is determined that the connection by power supply or restart has been started, the computer in the slave unit transmits message data for connection confirmation to each communication circuit. The communication circuit transmits the message to the steering unit 10, which is a unit (S52). If it is determined that the state is not the one at the start of the connection, it is determined whether the processing state has changed due to input of a signal from the manual switch or the like (S53). When the state has changed, the state change message is requested to be transmitted to the communication circuit and transmitted to the steering unit 10 (S54).
If there is no input and the state has not changed, it is determined whether the position is being controlled by the manual switch or the position is being stored or reproduced by the driving position function (S55). Further, it is determined whether or not the value of the timer for transmitting the operating message at a constant cycle is 0 (S56). When the position control operation is in progress and the timer value is 0, the in-operation message data is transmitted to the communication circuit and the steering unit 1
0 is sent the message (S57). Further, the timer is set to a predetermined value (S58), the countdown is performed, and when it is determined that the timer value is 0 again, if it is determined that the position control operation is in progress, the in-operation message is transmitted again. To

【0027】スレーブユニットからマスターユニットへ
のメッセージ送信はこのほか、マスターユニットからの
メッセージ送信に対するレスポンスメッセージの送信に
ついても考えられるが、このメッセージ送信は、車内L
ANの電装ユニットの接続関係が認識できた後の通信に
関するものなのでここでは説明を省略する。
In addition to the message transmission from the slave unit to the master unit, transmission of a response message in response to the message transmission from the master unit can be considered.
The description is omitted here because it relates to communication after the connection relationship of the electrical units of the AN can be recognized.

【0028】図5は、マスターコンピュータ11が接続
関係にあるスレーブユニットを識別するための処理を表
すフローチャートである。ここでは、物理アドレスをデ
ータに持つ送信元アドレスを識別コードとして用いるこ
とにする。図5に基づいて、接続されているスレーブユ
ニットを識別する方法を説明する。ユニットの通信回路
であるステアリング通信回路14は、受信先アドレスが
含まれているヘッダB22bにより、自身のユニットに
来たメッセージ送信であると判断すると、そのメッセー
ジを受信し、マスターコンピュータ11にメッセージデ
ータと送信元アドレスを送信する。マスターコンピュー
タ11では、送信元アドレスを識別コードとし、シート
ユニットを表す“3h”であるかどうかを判断する(S
61)。識別コードが3hであると判断すれば、RAM
11CにIDフラグ3をセットする(S62)。識別コ
ードが3でないと判断すれば、ミラーユニットを表す
“4h”であるかどうかを判断する(S63)。識別コ
ードが4hであると判断すれば、RAM11CにIDフ
ラグ4をセットする(S64)。マスターコンピュータ
11は、他の電装ユニットが後から接続された場合でも
接続関係を識別できるように、何らかのメッセージが入
力される度にこの接続されたユニットの識別処理を行う
ようにする。ここで、通常は行われないことだが、電装
ユニットを取り外すことは、バッテリーからの電力供給
が行われていない時に行うものとして処理するため、電
力が供給されている間は一度セットしたIDフラグは下
げる必要がないことになる。
FIG. 5 is a flow chart showing the processing for the master computer 11 to identify the slave units in the connection relationship. Here, a transmission source address having a physical address as data is used as the identification code. A method of identifying the connected slave unit will be described with reference to FIG. When the steering communication circuit 14, which is the communication circuit of the unit, determines that the message is sent to its own unit by the header B22b containing the destination address, the steering communication circuit 14 receives the message and sends the message data to the master computer 11. And send the source address. The master computer 11 uses the transmission source address as an identification code and determines whether or not it is "3h" indicating a sheet unit (S
61). If it is determined that the identification code is 3h, the RAM
The ID flag 3 is set in 11C (S62). If it is determined that the identification code is not 3, it is determined whether or not it is "4h" representing the mirror unit (S63). If it is determined that the identification code is 4h, the ID flag 4 is set in the RAM 11C (S64). The master computer 11 performs the identification processing of this connected unit every time a message is input so that the connection relationship can be identified even if another electrical unit is connected later. Although not normally done here, removing the electrical unit is treated as being performed when power is not being supplied from the battery, so the ID flag that was set once during power supply is There is no need to lower it.

【0029】マスターユニットの識別信号のスレーブユ
ニットのRAMへの記憶は、マスターユニットからスレ
ーブユニットへ何らかのメッセージが送信された場合
に、そのメッセージに含まれる送信元アドレスをマスタ
ーコンピュータ11同様に記憶させるようにしておく。
これにより、電装ユニットのシステムにおける接続関係
が設定される。
The master unit identification signal is stored in the RAM of the slave unit so that when a message is transmitted from the master unit to the slave unit, the source address included in the message is stored similarly to the master computer 11. Leave.
As a result, the connection relationship in the system of the electrical equipment unit is set.

【0030】ここでドライバーからの指示として、マニ
ュアルスイッチからの信号及びアナログ信号がステアリ
ング入力回路12から入力されると、ステアリング制御
部11AはROM11Bに記憶された制御用プログラム
に基づいてステアリング出力回路13にステアリング制
御信号を出力し、ステアリングの位置制御を実行する。
シートユニット20又はミラーユニット30でも、マニ
ュアルスイッチによる単独の位置制御はドライビングポ
ジション機能よりも優先されるため、入力回路を介して
マニュアルスイッチから信号及びそれぞれの位置入力と
なるアナログ信号が入力されると、シート制御部21A
は、制御プログラムに基づいて出力回路に制御信号を出
力し、ドライバーシート又は左右のミラーの位置制御を
実行する。
When a signal from a manual switch and an analog signal are input from the steering input circuit 12 as an instruction from the driver, the steering control section 11A causes the steering output circuit 13 to operate based on the control program stored in the ROM 11B. The steering control signal is output to and the steering position control is executed.
Even in the seat unit 20 or the mirror unit 30, since the independent position control by the manual switch has priority over the driving position function, when a signal and an analog signal for each position input are input from the manual switch via the input circuit. , Seat control unit 21A
Outputs a control signal to the output circuit based on the control program to execute the position control of the driver seat or the left and right mirrors.

【0031】また、ドライバーからの指示として、ステ
アリング入力回路13を介して、機能スイッチからの信
号が入力されると、ステアリング制御部11Aは、RO
M11Bに記憶された制御用プログラムに基づいて、ス
テアリング通信回路14を介してドライビングポジショ
ン制御のメッセージをシート通信回路24に送信する。
そしてドライビングポジション機能の際にRAM11C
に記憶されたステアリング位置を再生させるために、ス
テアリング制御信号を出力し、ステアリングの位置制御
を実行する。
When a signal from the function switch is input through the steering input circuit 13 as an instruction from the driver, the steering control section 11A causes the RO
Based on the control program stored in M11B, a driving position control message is transmitted to the seat communication circuit 24 via the steering communication circuit 14.
And RAM11C at the time of driving position function
In order to reproduce the steering position stored in, the steering position control signal is output and the steering position control is executed.

【0032】スレーブユニットのコンピュータでは、マ
ニュアルスイッチからの信号が入力回路から入力される
前に、通信回路からドライビングポジション制御のメッ
セージが入力されると、制御部はドライビングポジショ
ン時にRAMに記憶された位置を再生させるために制御
信号を出力回路に出力し、ドライバーシート又は左右の
ミラーの位置制御を実行する。
In the computer of the slave unit, when a message for driving position control is input from the communication circuit before the signal from the manual switch is input from the input circuit, the control unit displays the position stored in the RAM at the driving position. A control signal is output to the output circuit in order to reproduce, and the position control of the driver seat or the left and right mirrors is executed.

【0033】図6はドライビングポジション機能が選択
された場合のマスターコンピュータ11の再生手順選択
処理を表すフローチャートである。ドライビングポジシ
ョン機能を操作させるための機能スイッチの入力信号が
入力されると、ステアリング制御部11Aは、RAM1
1CにIDフラグ3がセットされているかどうかを判断
する(S71)。シートユニット20は、同じスレーブ
ユニットでもミラーユニット30より優先されるので、
IDフラグ3がセットされていない場合は、エラー処理
が行われ、再生手順処理が実行されない(S75)。I
Dフラグ3がセットされていれば、次にRAM11Cに
IDフラグ4がセットされているかどうかを判断する
(S72)。IDフラグ4がセットされていれば、RO
M11Bに記憶されているプログラムに基づいた再生手
順Aを実行し(S73)、再生手順Aに示されている順
序通りにドライビングポジション制御のメッセージを目
的のスレーブユニット(本実施の形態では、シートユニ
ット20又はミラーユニット30)に送信する。スレー
ブユニットでは、そのメッセージが入力されると、ドラ
イバーがドライビングポジション機能により記憶させた
位置をRAMから読み出し、出力回路によって位置制御
を実行する。IDフラグ4がセットされていなければ、
ROM11Bに記憶されているプログラムに基づいた再
生手順Bを実行し(S74)、ドライビングポジション
制御のメッセージをスレーブユニット(本実施の形態の
場合はシートユニット20)に送信する。シートユニッ
ト20では、メッセージが入力されると、ドライバーが
記憶させた位置をRAM21Cから読み出し、ドライバ
ーシート制御を実行する。
FIG. 6 is a flow chart showing the reproduction procedure selection processing of the master computer 11 when the driving position function is selected. When an input signal of a function switch for operating the driving position function is input, the steering control unit 11A causes the RAM 1 to operate.
It is determined whether the ID flag 3 is set in 1C (S71). Since the seat unit 20 has priority over the mirror unit 30 even in the same slave unit,
If the ID flag 3 is not set, error processing is performed and reproduction procedure processing is not executed (S75). I
If the D flag 3 is set, then it is determined whether the ID flag 4 is set in the RAM 11C (S72). If ID flag 4 is set, RO
The reproduction procedure A based on the program stored in the M11B is executed (S73), and the messages for the driving position control are transmitted in the order shown in the reproduction procedure A to the target slave unit (in the present embodiment, the seat unit). 20 or the mirror unit 30). In the slave unit, when the message is input, the driver reads the position stored by the driving position function from the RAM and executes the position control by the output circuit. If ID flag 4 is not set,
The reproduction procedure B based on the program stored in the ROM 11B is executed (S74), and the driving position control message is transmitted to the slave unit (the seat unit 20 in this embodiment). In the seat unit 20, when a message is input, the position stored by the driver is read from the RAM 21C, and driver seat control is executed.

【0034】またこの再生手順処理を行う前提として行
われるドライビングポジション機能のステアリング、シ
ート及びミラーの位置を記憶させる処理を行う際も、マ
スターコンピュータ11が接続されているスレーブユニ
ットを識別する処理は、この再生手順と同じ処理を行う
ので説明を省略する。
Also, when performing the processing for storing the steering, seat, and mirror positions of the driving position function, which is performed on the premise of performing the reproduction procedure processing, the processing for identifying the slave unit to which the master computer 11 is connected is Since the same processing as this reproducing procedure is performed, the description is omitted.

【0035】以上のように第2の実施の形態によれば、
電力供給時にステアリングユニット10のRAM11
C、シートユニット20のRAM21C及びミラーユニ
ット30のRAM31Cを初期化して電装ユニット間の
接続関係をクリアにし、少なくともスレーブユニットで
あるシートユニット20及びミラーユニット30は、車
内LANでの接続確認のためのメッセージ送信をマスタ
ーユニットであるステアリングユニット10に送信し、
またステアリングユニット10は、メッセージの送信元
アドレスに基づいて電装ユニットの種類毎に定められた
識別信号により接続されているスレーブユニットの種類
を識別してRAM11CのIDフラグをセットして記憶
し、ドライビングポジション機能がドライバーから指示
された時には、IDフラグのセットの有無に応じて、接
続されているユニットに応じたドライビングポジション
の再生手順を決定するようにしたので、同じ機能の電装
ユニットに対しても、車種毎に車種を識別するための回
路を付加した異なった電装ユニットを製造する必要がな
く、コストを抑えることができ、同じ生産ラインで行え
るので、在庫管理等の軽減を図ることができる。また各
電装ユニットの種類毎に定められたアドレスにより、接
続されている電装ユニットを識別しているので、特別な
通信フォーマットを用いる必要がなくても識別が行え
る。
As described above, according to the second embodiment,
RAM 11 of the steering unit 10 when power is supplied
C, the RAM 21C of the seat unit 20 and the RAM 31C of the mirror unit 30 are initialized to clear the connection relationship between the electrical units, and at least the seat unit 20 and the mirror unit 30, which are slave units, are used to confirm the connection in the in-vehicle LAN. Send the message transmission to the steering unit 10, which is the master unit,
Further, the steering unit 10 identifies the type of the slave unit connected by the identification signal determined for each type of the electrical equipment unit based on the transmission source address of the message, sets and stores the ID flag of the RAM 11C, and drives it. When the position function is instructed by the driver, the driving position reproduction procedure according to the connected unit is determined depending on whether or not the ID flag is set. Since it is not necessary to manufacture different electric component units each having a circuit for identifying the vehicle type for each vehicle type, the cost can be suppressed and the same production line can be used, so that inventory management and the like can be reduced. Further, since the connected electrical equipment unit is identified by the address determined for each type of electrical equipment unit, the identification can be performed without using a special communication format.

【0036】実施形態3.なお、第1の実施の形態にお
いては、スレーブユニットをシートユニット20で説明
し、第2の実施の形態においてはシートユニット20及
びミラーユニット30で説明したが、本発明はそれに限
定されるものではなく、スレーブユニットの数を増やす
ことも可能である。その際、図4において、識別コード
の受信判断が増えることになる。また図5においても再
生手順が増えることになる。
Embodiment 3. Although the slave unit is described as the seat unit 20 in the first embodiment and the seat unit 20 and the mirror unit 30 are described in the second embodiment, the present invention is not limited thereto. Alternatively, it is possible to increase the number of slave units. At that time, in FIG. 4, the judgment of reception of the identification code is increased. Also, in FIG. 5, the reproduction procedure is increased.

【0037】実施形態4.また、上述の実施の形態は、
自動車製造時におけるユニットの構成について説明した
が、本発明はそれに限定されるものではなく、製造時で
はなく、後からオプションで取り付ける場合においても
簡単に機能の追加が可能となる。
Embodiment 4. In addition, the above-mentioned embodiment,
Although the configuration of the unit at the time of manufacturing the vehicle has been described, the present invention is not limited to this, and the function can be easily added not only at the time of manufacturing but also as an option later.

【0038】実施形態5.また、上述の実施の形態にお
いては、各電装ユニットのコンピュータ内の一時記憶用
のメモリとしてRAMを用いた例について説明したが、
本発明はそれに限定されるものではなく、例えばEEP
ROMのような不揮発性メモリ等で記憶させるようにす
ることも可能である。
Embodiment 5. Further, in the above-described embodiment, the example in which the RAM is used as the memory for temporary storage in the computer of each electric component unit has been described.
The present invention is not limited thereto, and for example, EEP
It is also possible to store it in a non-volatile memory such as a ROM.

【0039】実施形態6.また上述の実施の形態におい
ては、全てのユニットに対してコンピュータで構成した
が、本発明はそれに限定されるものではなく、コンピュ
ータ10を除けば、スレーブユニットのコンピュータ
を、他のユニットの識別が行える等、同様の制御が行え
る装置で実現することも可能である。
Embodiment 6. Further, in the above-described embodiment, all the units are configured by computers, but the present invention is not limited to this. Except for the computer 10, the slave unit computers can be identified by other units. It can also be realized by an apparatus that can perform similar control.

【0040】[0040]

【発明の効果】以上のように本発明によれば、少なくと
も各車載電装ユニットに電力が供給された時に、各車載
電装ユニットが、記憶しているユニット間の接続関係を
初期化し、各車載電装ユニットから通信データに含めて
送信された、その車載ユニットの種類に応じて定められ
ている識別番号に基づいて、接続されている車載電装ユ
ニットの種類を識別し、各電装ユニットは、その識別番
号を記憶するようにしたので、車種毎に異なる回路を付
加することなくユニットの接続関係を記憶して、その接
続関係に応じたシステム制御を行うことができ、コスト
の低下を図ることができる。またあらためて車種に基づ
いて同機能の電装ユニットを別々にして製造を行わなく
てもよくなったので、同機能の電装ユニットでは在庫管
理等を考慮する必要がない。
As described above, according to the present invention, at least when electric power is supplied to each on-vehicle electric component unit, each on-vehicle electric component unit stores the stored connection relation between the units.
The type of the connected in-vehicle electrical unit is identified based on the identification number that is initialized and transmitted from each in-vehicle electrical unit included in the communication data and is determined according to the type of that in-vehicle unit. Since the unit stores the identification number, the connection relation of the unit can be stored without adding a different circuit for each vehicle type, and the system control according to the connection relation can be performed, resulting in cost reduction. Can be achieved. Further, since it is not necessary to separately manufacture the electric component unit having the same function based on the vehicle type, it is not necessary to consider inventory management or the like in the electric component unit having the same function.

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

【図1】本発明の第1の実施の形態に係る車載電装ユニ
ット制御方法を実現するための電装ユニットシステムの
ブロック図である。
FIG. 1 is a block diagram of an electric component unit system for realizing a vehicle-mounted electric component control method according to a first embodiment of the present invention.

【図2】本発明の第2の実施の形態に係る車載電装ユニ
ット制御方法を実現するための電装ユニットシステムの
ブロック図である。
FIG. 2 is a block diagram of an electric component unit system for realizing a vehicle-mounted electric component unit control method according to a second embodiment of the present invention.

【図3】各通信回路から送信される通信フォーマットの
例を表す図である。
FIG. 3 is a diagram illustrating an example of a communication format transmitted from each communication circuit.

【図4】スレーブユニットからマスターユニットへのメ
ッセージ送信タイミングのフローチャートである。
FIG. 4 is a flowchart of message transmission timing from a slave unit to a master unit.

【図5】マスターコンピュータ11が接続関係にあるス
レーブユニットを識別するための処理を表すフローチャ
ートである。
FIG. 5 is a flowchart showing a process for the master computer 11 to identify a slave unit in a connection relationship.

【図6】ドライビングポジション機能が選択された場合
のマスターコンピュータ11の再生手順選択処理を表す
フローチャートである。
FIG. 6 is a flowchart showing a reproduction procedure selection process of the master computer 11 when the driving position function is selected.

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

10 ステアリングユニット 11 マスターコンピュータ 11A 制御部 11B ROM 11C RAM 11D A/Dコンバータ 11E タイマ 12 ステアリング入力回路 13 ステアリング出力回路 14 ステアリング通信回路 15 ステアリング電源回路 20 シートユニット 21 シートスレーブコンピュータ 21A 制御部 21B ROM 21C RAM 21D A/Dコンバータ 21E タイマ 22 シート入力回路 23 シート出力回路 24 シート通信回路 25 シート電源回路 30 ミラーユニット 31 ミラースレーブコンピュータ 31A 制御部 31B ROM 31C RAM 31D A/Dコンバータ 31E タイマ 32 ミラー入力回路 33 ミラー出力回路 34 ミラー通信回路 35 ミラー電源回路 40 通信回線 10 Steering unit 11 master computer 11A control unit 11B ROM 11C RAM 11D A / D converter 11E timer 12 Steering input circuit 13 Steering output circuit 14 Steering communication circuit 15 Steering power circuit 20 seat units 21-seat slave computer 21A control unit 21B ROM 21C RAM 21D A / D converter 21E timer 22 sheet input circuit 23 Sheet output circuit 24 seat communication circuit 25 seat power circuit 30 mirror unit 31 mirror slave computer 31A control unit 31B ROM 31C RAM 31D A / D converter 31E timer 32 mirror input circuit 33 Mirror output circuit 34 Mirror communication circuit 35 Mirror power circuit 40 communication lines

───────────────────────────────────────────────────── フロントページの続き (72)発明者 越智 一成 埼玉県和光市中央1丁目4番1号 株式 会社本田技術研究所内 (56)参考文献 特開 平3−295735(JP,A) 特開 平3−139025(JP,A) 特開 平4−345237(JP,A) 特開 平4−160940(JP,A) (58)調査した分野(Int.Cl.7,DB名) G05B 15/00 - 15/02 B60R 16/00 - 17/02 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Kazushige Ochi 1-4-1 Chuo, Wako-shi, Saitama Inside of Honda R & D Co., Ltd. (56) Reference JP-A-3-295735 (JP, A) JP Hei 3-139025 (JP, A) JP-A-4-345237 (JP, A) JP-A-4-160940 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) G05B 15 / 00-15/02 B60R 16/00-17/02

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 指示に基づいてそれぞれ単独で可動部分
の制御を行う複数の車載電装ユニットを通信ネットワー
クで接続し、システムとして機能させる場合に統合的な
制御が可能な車載電装ユニット制御方法において、少なくとも各車載電装ユニットに電力が供給された時
に、前記車載電装ユニットが記憶しているユニット間の
接続関係を初期化する工程と、 少なくとも各車載電装ユニットに電力が供給された時
に、前記車載電装ユニットの種類毎にあらかじめ定めら
れた識別番号を、前記各車載電装ユニットがメッセージ
データに含めて送信する工程と、 送信先の前記車載電装ユニットが前記メッセージデータ
を受信し、前記識別番号に基づいて前記車載電装ユニッ
トの種類を識別して前記車載電装ユニット間の接続関係
を記憶し、前記システムとして機能させる場合に、前記
接続関係に応じた統合的な制御を行う工程とを有するこ
とを特徴とする車載電装ユニットシステム制御方法。
1. A vehicle-mounted electrical unit control method capable of performing integrated control when a plurality of vehicle-mounted electrical units that individually control movable parts based on an instruction are connected via a communication network and function as a system, At least when power is supplied to each on-board electrical unit
Between the units stored in the in-vehicle electrical unit
The step of initializing the connection relationship and at least when each on-vehicle electrical unit is supplied with electric power, each on-vehicle electrical unit sends a message including a predetermined identification number for each type of the on-vehicle electrical unit. And the destination in-vehicle electrical unit receives the message data, identifies the type of the in-vehicle electrical unit based on the identification number, stores the connection relationship between the in-vehicle electrical units, and as the system. And a step of performing integrated control according to the connection relationship when functioning, a vehicle-mounted electrical unit system control method.
【請求項2】 前記識別番号は、前記各車載電装ユニッ
トの種類に応じて定められたアドレスに基づいた番号で
あることを特徴とする請求項1記載の車載電装ユニット
制御方法。
2. The on-vehicle electrical unit control method according to claim 1, wherein the identification number is a number based on an address determined according to the type of each on-vehicle electrical unit.
【請求項3】 1つのマスターとなるマスター電装ユニ
ットと1又は複数のスレーブとなるスレーブ電装ユニッ
トとを通信ネットワークで接続し、各電装ユニットが、
指示に基づいて単独でそれぞれ与えられた可動部分の制
御が可能であるとともに、前記マスター電装ユニットか
ら前記スレーブ電装ユニットに制御を行うためのメッセ
ージデータを送信して前記スレーブ電装ユニットがその
メッセージに基づいて制御を実行することで、前記マス
ター電装ユニットがシステムとしてユニットの統合的な
制御を行うことが可能な車載電装ユニット制御方法にお
いて、 少なくとも各電装ユニットに電力が供給された時に、前
記マスター電装ユニット及びスレーブユニットが、記憶
しているユニット間の接続関係を初期化する工程と、 少なくとも各電装ユニットに電力が供給された時に、前
記電装ユニットの種類毎にあらかじめ定められた識別番
号を、前記スレーブ電装ユニットが前記マスター電装ユ
ニットに送信する工程と、 送信された前記識別番号をマスター電装ユニットが受信
し、前記識別番号に基づいて前記スレーブ電装ユニット
の種類を識別して前記電装ユニット間の接続関係を記憶
する工程と、 前記マスター電装ユニットが統合的な制御を行う際に、
前記記憶した接続関係に基づいた制御手順を選択し、該
選択した制御手順に基づいて各スレーブ電装ユニットに
前記メッセージデータを送信する工程と、 前記各スレーブ電装ユニットは、送信された前記メッセ
ージ電装に基づいて制御を行う工程とを有することを特
徴とする車載電装ユニット制御方法。
3. A master electrical equipment unit serving as one master and one or a plurality of slave electrical equipment units serving as slaves are connected by a communication network, and each electrical equipment unit comprises:
Based on the instruction, it is possible to independently control each of the movable parts, and the master electrical component unit sends message data for controlling to the slave electrical component unit, and the slave electrical component unit is based on the message. In the vehicle-mounted electrical unit control method, in which the master electrical unit is capable of performing integrated control of the unit as a system by executing control in accordance with the above method, the master electrical unit is at least supplied with power. And a step in which the slave unit initializes the stored connection relationship between the units, and at least when power is supplied to each electrical unit, an identification number predetermined for each type of the electrical unit is added to the slave unit. The electrical unit sends to the master electrical unit. The master electrical component unit receives the transmitted identification number, identifies the type of the slave electrical component unit based on the identification number, and stores the connection relationship between the electrical component units; When the unit performs integrated control,
Selecting a control procedure based on the stored connection relationship and transmitting the message data to each slave electrical component unit based on the selected control procedure; and each slave electrical component unit transmitting the message electrical component to the transmitted message electrical component. And a step of performing control based on the control method.
【請求項4】 指示に基づいてそれぞれ可動部分の位置
制御を行う複数の車載電装ユニットを通信ネットワーク
で接続し、システムとして統合的に制御可能な車載電装
ユニットシステムにおいて、 少なくとも電力が供給された時に、接続を確認するため
の車載電装ユニットの種類ごとに定められたアドレスを
付加したメッセージデータを送信し、またシステム制御
のためのメッセージを受信するとあらかじめ記憶された
位置制御を行う1又は複数のスレーブ電装ユニットと、 少なくとも電力が供給された時に、記憶しているスレー
ブ電装ユニット間の接続関係を初期化すると共に、前記
1又は複数のスレーブ電装ユニットから送信されたメッ
セージデータを受信すると、前記メッセージ中の送信元
アドレスに基づいてスレーブ電装ユニットの種類を識別
して記憶して再生手順を決定し、統合的に制御を行う際
に、前記再生手順に基づいてスレーブ電装ユニットにシ
ステム制御のためのメッセージデータを送信するマスタ
ー電装ユニットとを備えたことを特徴とする車載電装ユ
ニットシステム。
4. An in-vehicle electrical unit system in which a plurality of in-vehicle electrical device units, each of which controls a position of a movable part based on an instruction, are connected by a communication network and can be integrally controlled as a system, at least when power is supplied. , One or more slaves that perform message control with a predetermined address for each type of vehicle-mounted electrical unit for confirming the connection, and that perform position control stored in advance when a message for system control is received The electrical unit and at least the stored slate when power is applied .
When the message data transmitted from the one or more slave electrical unit is received, the type of slave electrical unit is identified based on the source address in the message. A master electrical component unit for transmitting message data for system control to the slave electrical component unit based on the playback procedure when storing and determining the playback procedure and performing integrated control. In-vehicle electrical unit system.
JP27431697A 1997-10-07 1997-10-07 In-vehicle electrical unit control method and system Expired - Lifetime JP3438163B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27431697A JP3438163B2 (en) 1997-10-07 1997-10-07 In-vehicle electrical unit control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27431697A JP3438163B2 (en) 1997-10-07 1997-10-07 In-vehicle electrical unit control method and system

Publications (2)

Publication Number Publication Date
JPH11110009A JPH11110009A (en) 1999-04-23
JP3438163B2 true JP3438163B2 (en) 2003-08-18

Family

ID=17539958

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27431697A Expired - Lifetime JP3438163B2 (en) 1997-10-07 1997-10-07 In-vehicle electrical unit control method and system

Country Status (1)

Country Link
JP (1) JP3438163B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6615123B2 (en) * 2000-12-01 2003-09-02 Hewlett-Packard Development Company, L.P. Personality module for configuring a vehicle

Also Published As

Publication number Publication date
JPH11110009A (en) 1999-04-23

Similar Documents

Publication Publication Date Title
US6067302A (en) Multiplex communication apparatus for use in motor vehicle
JP2003317183A (en) Method for transmitting data from at least one sensor to controller
JP7519851B2 (en) Motor modules, management modules, in-vehicle device control systems
JP3502398B2 (en) Control device
JP3438163B2 (en) In-vehicle electrical unit control method and system
JPH0646068A (en) Communication equipment for vehicle
JP2007069849A (en) Steering controlling device for vehicle
US20040199703A1 (en) Bus system and method for assigning addresses to peripheral units
US6751687B1 (en) Method of controlling device, transmission device, and medium
US6823399B2 (en) Apparatus control method and transmission device
JP2002540494A (en) Circuit device and method constituting an interface of a control device or a regulating device
JP4954832B2 (en) In-vehicle communication system
JP2006109164A (en) Actuator control system and address setting method
JP2005246988A (en) On-vehicle electronic equipment
JP2006319394A (en) Network diagnostic apparatus, and network diagnostic method
JP5084254B2 (en) In-vehicle communication system, relay device, and in-vehicle communication method
Manoj et al. Automotive Networks: A Review
EP0997022A1 (en) Method and apparatus for setting connections between a number of information processing apparatuses
JPH10214243A (en) Method and system for data communication
KR100666370B1 (en) Smart module for In-vehicle network
JP7163258B2 (en) Vehicle control system, vehicle control method, and program
JP2007145116A (en) On-vehicle equipment, and its communication method
JP4524016B2 (en) Automotive electronic devices
WO2021009996A1 (en) Onboard communication system, switch device, and control method
JP4367069B2 (en) Power control device

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20080613

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090613

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100613

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100613

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110613

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110613

Year of fee payment: 8

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313117

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

Free format text: PAYMENT UNTIL: 20120613

Year of fee payment: 9

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20130613

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20130613

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20140613

Year of fee payment: 11

EXPY Cancellation because of completion of term