JP2008155906A - On-vehicle connector, main control device, and load control system - Google Patents

On-vehicle connector, main control device, and load control system Download PDF

Info

Publication number
JP2008155906A
JP2008155906A JP2007259526A JP2007259526A JP2008155906A JP 2008155906 A JP2008155906 A JP 2008155906A JP 2007259526 A JP2007259526 A JP 2007259526A JP 2007259526 A JP2007259526 A JP 2007259526A JP 2008155906 A JP2008155906 A JP 2008155906A
Authority
JP
Japan
Prior art keywords
load
vehicle
motor
drive
connector
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
JP2007259526A
Other languages
Japanese (ja)
Other versions
JP5242113B2 (en
Inventor
Yoichi Maki
陽一 牧
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 JP2007259526A priority Critical patent/JP5242113B2/en
Publication of JP2008155906A publication Critical patent/JP2008155906A/en
Application granted granted Critical
Publication of JP5242113B2 publication Critical patent/JP5242113B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Details Of Connecting Devices For Male And Female Coupling (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an on-vehicle connector to be able to prevent wrong attachment or wrong connection as well as to aim at standardization of the connector, a main control device, and a load control system. <P>SOLUTION: The on-vehicle connector comprises a communication means 11b for communicating with the main control device 1 via a common bus line 2, a drive means 11c connected to a load, a memory means 11d having a memory range of motion information to specify a plurality of loads in a drive state, an ID table containing a plurality of positive IDs corresponding to each motion information and a tentative ID, and a control means 11a for controlling the drive means 11c to drive the load for detecting the motion information of the load in the drive state, for identifying the positive IDs from the detected motion information and the ID table stored in the memory means 11d, and for rewriting the tentative ID stored in the memory range of the memory means 11d for the distinguished positive IDs to make an ID specific to the on vehicle connector 10 when the communication means receives a drive command signal and the tentative ID. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、負荷と接続されると共に主制御装置との間で共通バスラインを介して通信を行う車載コネクタと、車載コネクタを制御する主制御装置と、該車載コネクタおよび主制御装置を用いる負荷制御システムに関するものである。   The present invention relates to an in-vehicle connector that is connected to a load and communicates with a main control device via a common bus line, a main control device that controls the in-vehicle connector, and a load that uses the in-vehicle connector and the main control device. It relates to a control system.

近年、乗用車は高機能化、多様化が進み、たとえば、ドアやシートにおいてモータによる電動式の移動機構を搭載したものが開発されている。また、このような電動式機構の駆動源となるモータ負荷を制御するために、多重通信を用いて複数の負荷を制御する技術が提案されている(たとえば、特許文献1,2,3参照。)。   In recent years, passenger cars have become highly functional and diversified. For example, doors and seats equipped with an electric moving mechanism using a motor have been developed. Moreover, in order to control the motor load used as the drive source of such an electric mechanism, the technique which controls a some load using multiplex communication is proposed (for example, refer patent document 1, 2, 3). ).

そして、上記の技術においては、多重通信を用いて複数の負荷制御を行うために、各負荷に接続される車載コネクタに通信機能、制御機能およびID識別機能をもたせている。   And in said technique, in order to perform several load control using multiplex communication, the vehicle-mounted connector connected to each load is provided with the communication function, the control function, and the ID identification function.

上記の車載コネクタにIDを設定する方法としては、図7(A)に示すように、コネクタに内蔵されたCPU30のID設定用入力ポートに、電源Vccに接続された複数のスイッチ、たとえばスイッチSW1〜SW4のオン/オフで設定されるID信号を入力するID設定用回路を設けたり、図7(B)に示すように、車載コネクタに内蔵されたCPU30のID設定用入力ポートに、電源Vccに接続された抵抗、たとえば抵抗R1〜R4の分圧値で設定されるID信号を入力するID設定用回路を設けたりしている。   As a method for setting the ID in the above-mentioned in-vehicle connector, as shown in FIG. 7A, a plurality of switches connected to the power source Vcc, for example, the switch SW1, are connected to the ID setting input port of the CPU 30 built in the connector. An ID setting circuit for inputting an ID signal set by turning on / off SW4 is provided, or, as shown in FIG. 7B, a power supply Vcc is connected to an ID setting input port of the CPU 30 built in the in-vehicle connector. Or an ID setting circuit for inputting an ID signal set by a divided voltage value of resistors R1 to R4, for example.

また、図7(C)に示すように、通信部41、制御部42、負荷駆動部43およびコネクタ部44を内蔵する車載コネクタ40に、パソコンや設定器等のID書込み治具50をコネクタに接続し、制御部のメモリに多重通信を利用してIDを設定する方法も提案されている。
特開2004−268630号公報 特開2005−302403号公報 特開2005−324712号公報
Further, as shown in FIG. 7C, an in-vehicle connector 40 including a communication unit 41, a control unit 42, a load driving unit 43, and a connector unit 44, and an ID writing jig 50 such as a personal computer or a setting device as a connector. A method of connecting and setting an ID in a memory of a control unit using multiplex communication has also been proposed.
JP 2004-268630 A JP-A-2005-302403 JP 2005-324712 A

しかしながら、上述の図7(A)および(B)のID設定方法では、ID設定用の別回路または部品を必要とするためコスト高となり、また、負荷接続前にIDの設定を行うので、ワイヤハーネスの幹線への誤組付けや接続すべき負荷を取り違える誤接続をした場合、負荷の作動不良となるという問題がある。   However, since the ID setting method shown in FIGS. 7A and 7B requires a separate circuit or component for ID setting, the cost is high, and the ID is set before connecting the load. If the harness is incorrectly assembled to the trunk line or misconnected so that the load to be connected is mistaken, there is a problem that the load will malfunction.

また、上述の図7(C)のID設定方法では、車載コネクタの製造工程において、手作業によるID設定用の工程が必要となり、同様に負荷接続前にIDの設定を行うので、接続すべき負荷を取り違える誤組付けや誤接続をした場合、負荷の作動不良となるという問題がある。   Further, in the ID setting method of FIG. 7C described above, a manual ID setting process is required in the in-vehicle connector manufacturing process, and ID setting is similarly performed before load connection. There is a problem in that if the load is misinstalled or misconnected, the load will malfunction.

また、車載コネクタの品種がIDの数だけ発生するため、品番が増加するという問題もある。   Moreover, since the number of types of in-vehicle connectors is the same as the number of IDs, there is a problem that the product number increases.

そこで本発明は、上記の課題に鑑み、誤組付けや誤接続を防止することができると共にコネクタの共通化を図る車載コネクタと、車載コネクタを制御する主制御装置と、該車載コネクタおよび該主制御装置を用いる負荷制御システムを提供することを目的としている。   Therefore, in view of the above-described problems, the present invention is capable of preventing erroneous assembly and erroneous connection, and achieving a common connector, a main controller that controls the in-vehicle connector, the in-vehicle connector, and the main connector. An object of the present invention is to provide a load control system using a control device.

上記課題を解決するためになされた請求項1記載の発明は、主制御装置との間で共通バスラインを介して通信を行う通信手段と、負荷と接続される駆動手段とを有する車載コネクタであって、駆動状態時の複数の前記負荷を特定する動作情報と、前記動作情報の各々に対応する複数の正IDを含むIDテーブルと、仮IDの記憶領域を有する記憶手段と、前記通信手段が前記主制御装置から送信される該負荷を駆動するための駆動命令信号および前記仮IDを受信したとき、受信した前記駆動命令信号に基づいて、前記負荷を駆動するように前記駆動手段を制御し、駆動状態時の前記負荷の前記動作情報を検出し、検出した前記動作情報と前記記憶手段に記憶されている前記IDテーブルとに基づいて正IDを判別し、前記記憶手段の前記記憶領域に格納されている前記仮IDを、判別した正IDに書き換えて前記車載コネクタ固有のIDとする制御手段とを備えていることを特徴とする。   In order to solve the above-mentioned problem, the invention according to claim 1 is an in-vehicle connector having communication means for communicating with a main control device via a common bus line, and drive means connected to a load. In addition, operation information for specifying the plurality of loads in the driving state, an ID table including a plurality of primary IDs corresponding to each of the operation information, a storage unit having a temporary ID storage area, and the communication unit Receives the drive command signal for driving the load and the temporary ID transmitted from the main control device, and controls the drive means to drive the load based on the received drive command signal And detecting the operation information of the load in the driving state, determining a positive ID based on the detected operation information and the ID table stored in the storage means, and The temporary ID stored in the area, is characterized in that rewriting to the determined positive ID and a control means for said vehicle connector unique ID.

請求項1記載の発明においては、主制御装置との間で共通バスラインを介して通信を行う通信手段と、負荷と接続される駆動手段とを有する車載コネクタであって、駆動状態時の複数の負荷を特定する動作情報と、動作情報の各々に対応する複数の正IDを含むIDテーブルと、仮IDの記憶領域を有する記憶手段と、通信手段が主制御装置から送信される該負荷を駆動するための駆動命令信号および仮IDを受信したとき、受信した駆動命令信号に基づいて、負荷を駆動するように駆動手段を制御し、駆動状態時の負荷の動作情報を検出し、検出した動作情報と記憶手段に記憶されているIDテーブルとに基づいて正IDを判別し、記憶手段の記憶領域に格納されている仮IDを、判別した正IDに書き換えて車載コネクタ固有のIDとする制御手段とを備えている。それにより、車両への組み付け時に接続先を注意する必要がなく、負荷の作動不良となることはない。また、負荷に接続するコネクタを共通化できると共に、負荷に接続する際の誤接続を防止することができる。さらに、接続先を判別する設定が不要なため、コネクタを共通化して品種を簡素にすることができる。また、通常動作に必要な回路構成でID設定を行うことができるので、従来のID設定専用回路を削減でき、低コスト化できる。また、コネクタの共通化による量産効果が期待できる。   According to the first aspect of the present invention, there is provided an in-vehicle connector having a communication unit that communicates with the main control device via a common bus line, and a driving unit connected to a load. Operation information for identifying the load of the operation, an ID table including a plurality of primary IDs corresponding to each of the operation information, storage means having a temporary ID storage area, and the load transmitted by the communication means from the main controller. When the driving command signal and the temporary ID for driving are received, the driving means is controlled to drive the load based on the received driving command signal, and the operation information of the load in the driving state is detected and detected. The primary ID is determined based on the operation information and the ID table stored in the storage means, and the temporary ID stored in the storage area of the storage means is rewritten with the determined positive ID to be an ID unique to the in-vehicle connector. And a control unit. Thereby, it is not necessary to pay attention to the connection destination when assembling to the vehicle, and the load does not malfunction. In addition, the connector connected to the load can be shared, and erroneous connection when connecting to the load can be prevented. Furthermore, since the setting for determining the connection destination is not required, it is possible to simplify the product by using a common connector. In addition, since ID setting can be performed with a circuit configuration necessary for normal operation, the conventional dedicated ID setting circuit can be reduced and the cost can be reduced. In addition, mass production effects can be expected due to the common use of connectors.

上記課題を解決するためになされた請求項2記載の発明は、請求項1記載の車載コネクタにおいて、前記通信手段は、前記記憶手段の前記記憶領域に書き換えられた正ID情報を前記主制御装置に送信することを特徴とする。   In order to solve the above-mentioned problem, the invention according to claim 2 is the in-vehicle connector according to claim 1, wherein the communication means uses the main control device to store the primary ID information rewritten in the storage area of the storage means. It is characterized by transmitting to.

請求項2記載の発明においては、通信手段は、記憶手段の記憶領域に書き換えられた正ID情報を主制御装置に送信する。それにより、主制御装置が車載コネクタの正IDの設定完了を確認することを支援することができる。   In the invention according to claim 2, the communication means transmits the primary ID information rewritten in the storage area of the storage means to the main control device. Thereby, it can assist that the main control device confirms the completion of the setting of the positive ID of the in-vehicle connector.

上記課題を解決するためになされた請求項3記載の発明は、請求項1または2記載の車載コネクタにおいて、前記負荷はモータであり、前記動作情報は前記モータのロック電流値であることを特徴とする。   In order to solve the above-mentioned problem, the invention according to claim 3 is the in-vehicle connector according to claim 1 or 2, wherein the load is a motor and the operation information is a lock current value of the motor. And

請求項3記載の車載コネクタにおいては、負荷はモータであり、動作情報はモータのロック電流値である。それにより、負荷がモータの場合に、車載コネクタの正ID設定が容易にできる。   In the in-vehicle connector according to claim 3, the load is a motor, and the operation information is a lock current value of the motor. Thereby, when the load is a motor, the positive ID setting of the in-vehicle connector can be easily performed.

上記課題を解決するためになされた請求項4記載の発明は、請求項1または2記載の車載コネクタにおいて、前記負荷はモータであり、前記動作情報は、前記モータのロック電流値と、前記モータの駆動開始からロックに至るまでの動作時間であることを特徴とする。   In order to solve the above-mentioned problem, the invention according to claim 4 is the in-vehicle connector according to claim 1 or 2, wherein the load is a motor, and the operation information includes a lock current value of the motor, and the motor. It is the operation time from the start of driving to the lock.

請求項4記載の車載コネクタにおいては、負荷はモータであり、動作情報は、モータのロック電流値と、モータの駆動開始からロックに至るまでの動作時間である。それにより、負荷がモータの場合に、車載コネクタの正ID設定が容易にできる。   In the in-vehicle connector according to claim 4, the load is a motor, and the operation information includes a lock current value of the motor and an operation time from the start of driving of the motor to the lock. Thereby, when the load is a motor, the positive ID setting of the in-vehicle connector can be easily performed.

上記課題を解決するためになされた請求項5記載の発明は、請求項1または2記載の車載コネクタにおいて、前記負荷はパルスカウント方式またはブラシノイズカウント方式ポジションセンサを有するモータであり、前記動作情報は、前記モータの駆動開始からモータロックに至るまでのパルス数またはブラシノイズ数であることを特徴とする。   In order to solve the above-mentioned problem, the invention according to claim 5 is the in-vehicle connector according to claim 1 or 2, wherein the load is a motor having a pulse count type or brush noise count type position sensor, and the operation information Is the number of pulses or the number of brush noises from the start of driving the motor to the motor lock.

請求項5記載の車載コネクタにおいては、負荷はパルスカウント方式またはブラシノイズカウント方式ポジションセンサを有するモータであり、動作情報は、モータの駆動開始からモータロックに至るまでのパルス数またはブラシノイズ数である。それにより、負荷がパルスカウント方式ポジションセンサを有するモータの場合に、車載コネクタの正ID設定が容易にできる。   In the in-vehicle connector according to claim 5, the load is a motor having a pulse count type or brush noise count type position sensor, and the operation information is the number of pulses or the number of brush noises from the start of motor driving to the motor lock. is there. Thereby, when the load is a motor having a pulse count type position sensor, the positive ID setting of the in-vehicle connector can be easily performed.

上記課題を解決するためになされた請求項6記載の発明は、請求項2から5のいずれか1項に記載の複数の車載コネクタと共通バスラインを介して通信を行う主制御装置であって、電源投入時にID設定モードを設定するモード設定手段と、ID設定モードにおいて該負荷を駆動するための駆動命令信号および前記正IDを送信する送信手段と、前記複数の車載コネクタから送信される前記正ID情報の全てを受信したか否かを判定する判定手段と、前記判定手段で前記正ID情報の全てを受信したと判定された場合、前記ID設定モードを通常動作モードに切り換えるモード切替手段とを備えていることを特徴とする。   The invention according to claim 6, which has been made to solve the above-mentioned problem, is a main controller that communicates with a plurality of in-vehicle connectors according to any one of claims 2 to 5 via a common bus line. A mode setting means for setting an ID setting mode when the power is turned on; a drive command signal for driving the load in the ID setting mode; and a transmission means for transmitting the positive ID; and the plurality of in-vehicle connectors. A determination unit that determines whether or not all of the primary ID information has been received, and a mode switching unit that switches the ID setting mode to a normal operation mode when the determination unit determines that all of the primary ID information has been received. It is characterized by having.

請求項6記載の主制御装置においては、請求項2からの5のいずれか1項に記載の複数の車載コネクタと共通バスラインを介して通信を行う主制御装置であって、電源投入時にID設定モードを設定するモード設定手段と、ID設定モードにおいて該負荷を駆動するための駆動命令信号および正IDを送信する送信手段と、複数の車載コネクタから送信される正ID情報の全てを受信したか否かを判定する判定手段と、判定手段で正ID情報の全てを受信したと判定された場合、ID設定モードを通常動作モードに切り換えるモード切替手段とを備えている。それにより、複数の車載コネクタへの正IDの設定の完了を確認することができると共に、ID設定モードから通常動作モードへ切り替えることができる。   6. The main control device according to claim 6, wherein the main control device communicates with the plurality of in-vehicle connectors according to any one of claims 2 to 5 via a common bus line. The mode setting means for setting the setting mode, the transmission means for transmitting the drive command signal and the positive ID for driving the load in the ID setting mode, and all of the positive ID information transmitted from the plurality of in-vehicle connectors. Determination means for determining whether or not, and a mode switching means for switching the ID setting mode to the normal operation mode when the determination means determines that all of the positive ID information has been received. Thereby, it is possible to confirm the completion of the setting of the primary ID to the plurality of in-vehicle connectors and to switch from the ID setting mode to the normal operation mode.

上記課題を解決するためになされた請求項7記載の発明は、負荷と接続された複数の車載コネクタと、前記複数の車載コネクタと共通バスラインを介して通信を行う主制御装置とを有する負荷制御システムであって、前記複数の車載コネクタは、それぞれ、主制御装置との間で通信を行う通信手段と、負荷と接続される駆動手段と、駆動状態時の複数の前記負荷を特定する動作情報と、前記動作情報の各々に対応する複数の正IDを含むIDテーブルおよび仮IDの記憶領域を有する記憶手段と、制御手段とを備え、前記主制御装置は、前記複数の車載コネクタに接続された前記負荷を駆動するための駆動命令信号および前記仮IDを送信し、各車載コネクタの前記制御手段は、前記通信手段で受信された前記駆動命令信号に基づいて、前記負荷を駆動するように前記駆動手段を制御し、駆動状態時の前記負荷の前記動作情報を検出し、検出した前記動作情報と前記記憶手段に記憶されている前記IDテーブルとに基づいて正IDを判別し、前記記憶手段の前記記憶領域に格納されている前記仮IDを、判別した正IDに書き換えて前記車載コネクタ固有のIDとすることを特徴とする。   The invention according to claim 7, which has been made to solve the above problem, includes a plurality of in-vehicle connectors connected to a load, and a main controller that communicates with the plurality of in-vehicle connectors via a common bus line. In the control system, each of the plurality of in-vehicle connectors includes a communication unit that communicates with the main control device, a driving unit that is connected to a load, and an operation that specifies the plurality of loads in a driving state. Information, an ID table including a plurality of primary IDs corresponding to each of the operation information, a storage means having a temporary ID storage area, and a control means, and the main control device is connected to the plurality of in-vehicle connectors The driving command signal for driving the load and the temporary ID are transmitted, and the control means of each in-vehicle connector, based on the driving command signal received by the communication means, Controlling the driving means to drive a load, detecting the operation information of the load in a driving state, and positive ID based on the detected operation information and the ID table stored in the storage means And the temporary ID stored in the storage area of the storage means is rewritten to the determined primary ID to be an ID unique to the in-vehicle connector.

請求項7記載の車載コネクタにおいては、負荷と接続された複数の車載コネクタと、複数の車載コネクタと共通バスラインを介して通信を行う主制御装置とを有する負荷制御システムであって、複数の車載コネクタは、それぞれ、主制御装置との間で通信を行う通信手段と、負荷と接続される駆動手段と、駆動状態時の複数の負荷を特定する動作情報と、動作情報の各々に対応する複数の正IDを含むIDテーブルおよび仮IDの記憶領域を有する記憶手段と、制御手段とを備えている。主制御装置は、複数の車載コネクタに接続された負荷を駆動するための駆動命令信号および前記仮IDを送信する。各車載コネクタの制御手段は、通信手段で受信された駆動命令信号に基づいて、負荷を駆動するように前記駆動手段を制御し、駆動状態時の負荷の動作情報を検出し、検出した動作情報と記憶手段に記憶されているIDテーブルとに基づいて正IDを判別し、記憶手段の記憶領域に格納されている仮IDを、判別した正IDに書き換えて車載コネクタ固有のIDとする。それにより、複数の車載コネクタを含む負荷制御システムを車両に組み付け後に、負荷の駆動状態を表す動作情報に基づいて負荷に対応する固有の正IDを各車載コネクタに設定することができるので、車両への組み付け時に接続先を注意する必要がなく、負荷の作動不良となることはない。また、負荷に接続するコネクタを共通化できると共に、負荷に接続する際の誤接続を防止することができる。さらに、接続先を判別する設定が不要なため、コネクタを共通化して品種を簡素にすることができる。また、通常動作に必要な回路構成でID設定を行うことができるので、従来のID設定専用回路を削減でき、低コスト化できる。また、コネクタの共通化による量産効果が期待できる。   The vehicle-mounted connector according to claim 7, wherein the vehicle-mounted connector includes a plurality of vehicle-mounted connectors connected to a load, and a main controller that communicates with the plurality of vehicle-mounted connectors via a common bus line. The in-vehicle connectors respectively correspond to communication means for communicating with the main control device, driving means connected to the load, operation information for specifying a plurality of loads in the driving state, and operation information. A storage means having an ID table including a plurality of primary IDs and a temporary ID storage area, and a control means are provided. The main control device transmits a drive command signal for driving loads connected to a plurality of in-vehicle connectors and the temporary ID. The control means of each in-vehicle connector controls the drive means to drive the load based on the drive command signal received by the communication means, detects the operation information of the load in the driving state, and detects the detected operation information And the ID table stored in the storage means, the primary ID is determined, and the temporary ID stored in the storage area of the storage means is rewritten with the determined primary ID to be an ID unique to the in-vehicle connector. Thereby, after assembling the load control system including a plurality of in-vehicle connectors to the vehicle, a unique positive ID corresponding to the load can be set for each in-vehicle connector based on the operation information indicating the driving state of the load. There is no need to pay attention to the connection destination when assembling to the load, and there will be no malfunction of the load. In addition, the connector connected to the load can be shared, and erroneous connection when connecting to the load can be prevented. Furthermore, since the setting for determining the connection destination is not required, it is possible to simplify the product by using a common connector. In addition, since ID setting can be performed with a circuit configuration necessary for normal operation, the conventional dedicated ID setting circuit can be reduced and the cost can be reduced. In addition, mass production effects can be expected due to the common use of connectors.

請求項1記載の発明によれば、車両への組み付け後に、負荷の駆動状態を表す動作情報に基づいて負荷に対応する固有の正IDを車載コネクタに設定することができるので、車両への組み付け時に接続先を注意する必要がなく、負荷の作動不良となることはない。また、負荷に接続するコネクタを共通化できると共に、負荷に接続する際の誤接続を防止することができる。さらに、接続先を判別する設定が不要なため、コネクタを共通化して品種を簡素にすることができる。また、通常動作に必要な回路構成でID設定を行うことができるので、従来のID設定専用回路を削減でき、低コスト化できる。また、コネクタの共通化による量産効果が期待できる。   According to the first aspect of the present invention, since the unique positive ID corresponding to the load can be set in the in-vehicle connector based on the operation information indicating the driving state of the load after the assembly to the vehicle, the assembly to the vehicle is possible. Sometimes there is no need to pay attention to the connection destination, and there is no malfunction of the load. In addition, the connector connected to the load can be shared, and erroneous connection when connecting to the load can be prevented. Furthermore, since the setting for determining the connection destination is not required, it is possible to simplify the product by using a common connector. In addition, since ID setting can be performed with a circuit configuration necessary for normal operation, the conventional dedicated ID setting circuit can be reduced and the cost can be reduced. In addition, mass production effects can be expected due to the common use of connectors.

請求項2記載の発明によれば、主制御装置が車載コネクタの正IDの設定完了を確認することを支援することができる。   According to the second aspect of the present invention, it is possible to assist the main controller in confirming the completion of the setting of the positive ID of the in-vehicle connector.

請求項3、4および5記載の発明によれば、負荷がモータの場合に、車載コネクタの正ID設定が容易にできる。   According to invention of Claim 3, 4 and 5, when load is a motor, positive ID setting of a vehicle-mounted connector can be performed easily.

請求項6記載の発明によれば、複数の車載コネクタへの正IDの設定の完了を確認することができると共に、ID設定モードから通常動作モードへ切り替えることができる。   According to the sixth aspect of the present invention, it is possible to confirm the completion of the setting of the positive ID to the plurality of in-vehicle connectors and to switch from the ID setting mode to the normal operation mode.

請求項7記載の発明によれば、複数の車載コネクタを含む負荷制御システムを車両に組み付け後に、負荷の駆動状態を表す動作情報情報に基づいて負荷に対応する固有の正IDを各車載コネクタに設定することができるので、車両への組み付け時に接続先を注意する必要がなく、負荷の作動不良となることはない。また、負荷に接続するコネクタを共通化できると共に、負荷に接続する際の誤接続を防止することができる。さらに、接続先を判別する設定が不要なため、コネクタを共通化して品種を簡素にすることができる。また、通常動作に必要な回路構成でID設定を行うことができるので、従来のID設定専用回路を削減でき、低コスト化できる。また、コネクタの共通化による量産効果が期待できる。   According to the seventh aspect of the present invention, after assembling a load control system including a plurality of in-vehicle connectors to the vehicle, a unique positive ID corresponding to the load is assigned to each in-vehicle connector based on the operation information information indicating the driving state of the load. Since it can be set, there is no need to pay attention to the connection destination when assembling to the vehicle, and there is no malfunction of the load. In addition, the connector connected to the load can be shared, and erroneous connection when connecting to the load can be prevented. Furthermore, since the setting for determining the connection destination is not required, it is possible to simplify the product by using a common connector. In addition, since ID setting can be performed with a circuit configuration necessary for normal operation, the conventional dedicated ID setting circuit can be reduced and the cost can be reduced. In addition, mass production effects can be expected due to the common use of connectors.

以下、本発明の実施の形態について図面を参照しながら説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

(第1の実施形態)図1は、本発明の第1の実施形態に係る車載コネクタの構成を示す構成図である。図1において、車載コネクタ10は、コネクタのハウジングに収容され、制御処理部11a、通信処理部11b、駆動処理部11c、ID処理部11dおよび電源処理部11eを構成する電子部品が実装された基板11を備えている。基板11には、外部より電源(+B)線、多重通信(MPX)線およびグラウンド(GND)線が接続されている。また、車載コネクタ10は、負荷としてのモータ(図示しない)側のコネクタと接続されるコネクタ12を備えている。   (First Embodiment) FIG. 1 is a configuration diagram showing the configuration of an in-vehicle connector according to a first embodiment of the present invention. In FIG. 1, an in-vehicle connector 10 is housed in a connector housing, and a substrate on which electronic components constituting a control processing unit 11a, a communication processing unit 11b, a drive processing unit 11c, an ID processing unit 11d, and a power processing unit 11e are mounted. 11 is provided. A power supply (+ B) line, a multiplex communication (MPX) line, and a ground (GND) line are connected to the substrate 11 from the outside. The in-vehicle connector 10 includes a connector 12 that is connected to a motor (not shown) side connector as a load.

車載コネクタ10の制御処理部11a、通信処理部11b、駆動処理部11cおよびID処理部11dは、それぞれ、請求項における制御手段、通信手段、駆動手段および記憶手段に相当する。   The control processing unit 11a, the communication processing unit 11b, the drive processing unit 11c, and the ID processing unit 11d of the in-vehicle connector 10 correspond to a control unit, a communication unit, a driving unit, and a storage unit in the claims, respectively.

制御処理部11aは、たとえばマイクロコンピュータからなり、通信処理部11b、駆動処理部11cおよびID処理部11dが接続されている。通信処理部11bは、MPX線を介する外部との多重通信により、負荷駆動のための信号のやり取りを行う。多重通信の通信プロトコルは、たとえばLIN(Local Interconnect Network)が使用される。   The control processing unit 11a is composed of, for example, a microcomputer, and is connected to a communication processing unit 11b, a drive processing unit 11c, and an ID processing unit 11d. The communication processing unit 11b exchanges signals for driving the load by multiplex communication with the outside via the MPX line. As a communication protocol for multiplex communication, for example, LIN (Local Interconnect Network) is used.

駆動処理部11cは、制御処理部11aの制御によりコネクタ12を介して接続されたモータへ駆動信号を供給する。ID処理部11dは、たとえばEEPROM等の不揮発性メモリからなり、駆動状態時の複数の負荷(モータ)を特定する動作情報とそれらの動作情報の各々に対応する複数の正IDを含むIDテーブルと、仮IDの記憶領域を有しており、制御処理部11aの制御により、IDの読み出しおよび書き込みが行われる。電源処理部11eは、+B線に接続され、+B線からの電源電圧を処理して制御処理部11a、通信処理部11bおよび駆動処理部11cに適宜な動作電圧を供給する。   The drive processing unit 11c supplies a drive signal to a motor connected via the connector 12 under the control of the control processing unit 11a. The ID processing unit 11d is composed of a nonvolatile memory such as an EEPROM, for example, and includes an ID table including operation information for specifying a plurality of loads (motors) in a driving state and a plurality of primary IDs corresponding to each of the operation information. And a temporary ID storage area, and reading and writing of IDs are performed under the control of the control processing unit 11a. The power supply processing unit 11e is connected to the + B line, processes the power supply voltage from the + B line, and supplies an appropriate operating voltage to the control processing unit 11a, the communication processing unit 11b, and the drive processing unit 11c.

図2は、上述の構成の車載コネクタ10を複数個用いる負荷制御システムを示す図である。この負荷制御システムは、+B線2a、MPX線2bおよびGND線2cから構成される接続ケーブル2に、主制御装置としてのマスターECU1が接続されると共に、複数の車載コネクタ10(たとえば、6個の101〜106)が並列に接続されている。各車載コネクタ101〜106には、それぞれモータ(図3参照)が接続されている。   FIG. 2 is a diagram showing a load control system using a plurality of in-vehicle connectors 10 having the above-described configuration. In this load control system, a master ECU 1 as a main control device is connected to a connection cable 2 composed of a + B line 2a, an MPX line 2b, and a GND line 2c, and a plurality of in-vehicle connectors 10 (for example, six 101-106) are connected in parallel. A motor (see FIG. 3) is connected to each of the in-vehicle connectors 101-106.

マスターECU1は、たとえばマイクロコンピュータからなり、各モータを駆動させる指示信号を供給する複数のスイッチ、たとえばスイッチ3および4が接続されている。   The master ECU 1 is composed of, for example, a microcomputer, and is connected to a plurality of switches such as switches 3 and 4 for supplying instruction signals for driving the motors.

図2の負荷制御システムは、たとえば図3に示す車両の電動式フロントシートに使用される。フロントシートSには、マスターECU1が内蔵され、フロントシートの前後スライドを可能にするスライド機構のモータM1に接続された車載コネクタ101と、そのほかにフロントシートSのリフト機構、リクライニング機構、ランバ機構、ヘッドレスト機構およびクッション機構等の電動化を可能にするモータM2〜M6にそれぞれ接続された車載コネクタ102〜106が接続ケーブル2で配線されている。   The load control system of FIG. 2 is used for the electric front seat of the vehicle shown in FIG. 3, for example. The front seat S has a built-in master ECU 1 and an in-vehicle connector 101 connected to a motor M1 of a slide mechanism that enables the front seat to slide back and forth, in addition to a lift mechanism, a reclining mechanism, a lumbar mechanism, In-vehicle connectors 102 to 106 connected to motors M <b> 2 to M <b> 6 that enable electrification of the headrest mechanism and the cushion mechanism are wired by the connection cable 2.

各車載コネクタ101〜106は、接続ケーブル2を介してMPX線2bを共通バスラインとしてマスターECU1とのLINプロトコルによる双方向の多重通信が可能となっている。そして、フロントシートSの外部に設けられたスイッチ3または4の操作に応じて、スライド機構、リフト機構、リクライニング機構、ランバ機構、ヘッドレスト機構およびクッション機構等のうちスイッチ3または4の操作に対応するモータM1〜M6のいずれかが駆動され、電動で原位置から各機構で必要とされる所定ストロークだけ移動したり、原位置に復帰したりすることが可能になっている。マスターECU1は、各車載コネクタ101〜106の固有のIDを内部メモリに予め格納しており、それらの固有のIDにより、スイッチ3および4に対応する車載コネクタ101〜106およびモータを識別して当該モータを駆動制御している。   Each of the in-vehicle connectors 101 to 106 is capable of bidirectional multiplex communication with the master ECU 1 using the MPX line 2b via the connection cable 2 as a common bus line. And according to the operation of the switch 3 or 4 provided outside the front seat S, it corresponds to the operation of the switch 3 or 4 among the slide mechanism, the lift mechanism, the reclining mechanism, the lumbar mechanism, the headrest mechanism, the cushion mechanism, and the like. Any one of the motors M1 to M6 is driven and can be electrically moved from the original position by a predetermined stroke required by each mechanism, or can be returned to the original position. The master ECU 1 stores the unique IDs of the in-vehicle connectors 101 to 106 in the internal memory in advance, and identifies the in-vehicle connectors 101 to 106 and the motors corresponding to the switches 3 and 4 by using the unique IDs. The motor is driven and controlled.

各車載コネクタ101〜106の固有のIDは、次のように設定される。   The unique IDs of the in-vehicle connectors 101 to 106 are set as follows.

固有のIDの設定は、負荷制御システムをフロントシートSに組み付け、各車載コネクタ101〜106をそれぞれ対応するモータに接続した組み付け完了の時点で行われる。各車載コネクタ101〜106のID処理部11dには、予め共通の仮IDが格納されており、マスターECU1は、初回電源投入時にID設定モードとして起動される。マスターECU1は、仮IDを持つ全部の車載コネクタ101〜106にモータ駆動を開始させる駆動命令信号を送信し、それにより、車載コネクタ101〜106にそれぞれ接続されている全部のモータが一斉に駆動される。その後、マスターECU1は、各機構で必要とされる所定ストロークだけ移動後もモータ駆動を継続してモータロック状態を生じさせる。そして、各車載コネクタ101〜106の制御処理部11aは、駆動処理部11cにおけるモータ電流値を監視し、所定ストローク移動後のモータロック時におけるロック電流値を検出する。   The unique ID is set when the load control system is assembled to the front seat S and each of the in-vehicle connectors 101 to 106 is connected to the corresponding motor. A common temporary ID is stored in advance in the ID processing unit 11d of each of the in-vehicle connectors 101 to 106, and the master ECU 1 is activated as an ID setting mode when the power is turned on for the first time. The master ECU 1 transmits a drive command signal for starting motor driving to all the in-vehicle connectors 101 to 106 having a temporary ID, whereby all the motors respectively connected to the in-vehicle connectors 101 to 106 are driven all at once. The After that, the master ECU 1 continues to drive the motor even after moving by a predetermined stroke required by each mechanism to cause a motor lock state. And control processing part 11a of each in-vehicle connector 101-106 monitors a motor current value in drive processing part 11c, and detects a lock current value at the time of motor lock after a predetermined stroke movement.

車載コネクタ101〜106にそれぞれ接続されているモータは、それぞれのロック電流値が異なるものが使用されている。車載コネクタ101〜106のID処理部11dには、車載コネクタ101〜106に接続されるモータのロック電流値(動作情報)にそれぞれ対応する正IDを表すIDテーブルが予め格納されており、制御処理部は、ID処理部11dの記憶領域に予め格納されていた仮IDを、検出したロック電流値に対応する正IDに書き換えて、固有のIDとして格納する。   As the motors connected to the in-vehicle connectors 101 to 106, those having different lock current values are used. The ID processing unit 11d of the in-vehicle connectors 101 to 106 stores in advance an ID table representing positive IDs corresponding to the lock current values (operation information) of the motors connected to the in-vehicle connectors 101 to 106, respectively. The unit rewrites the temporary ID stored in advance in the storage area of the ID processing unit 11d with a positive ID corresponding to the detected lock current value, and stores it as a unique ID.

次に、上記に概略説明したID設定処理の詳細について、図4のフローチャートを参照して説明する。   Next, the details of the ID setting process outlined above will be described with reference to the flowchart of FIG.

負荷制御システムにおける車載コネクタを負荷(モータ)へ接続して(ステップS1)、組み付け完了した後、まず、マスターECU1の電源が投入されると(ステップS2)、マスターECU1は、組み付け後の初回の電源投入時にID設定モードとして起動される(ステップS3;モード設定手段)。マスターECU1の内部メモリには、スイッチ3,4と車載コネクタ101〜106に付されるべき6個の正IDとの対応関係を示すテーブルと、仮IDとが予め格納されている。マスターECU1は、ID設定モードとして起動されると、負荷(モータ)駆動を開始させるための負荷駆動命令信号を仮IDと共に多重通信によりMPX線2bを介して送信する(ステップS4;送信手段)。   After connecting the in-vehicle connector in the load control system to the load (motor) (step S1) and completing the assembly, first, when the power of the master ECU 1 is turned on (step S2), the master ECU 1 When the power is turned on, the ID setting mode is started (step S3; mode setting means). In the internal memory of the master ECU 1, a table indicating the correspondence between the switches 3 and 4 and the six primary IDs to be attached to the in-vehicle connectors 101 to 106, and a temporary ID are stored in advance. When the master ECU 1 is activated as the ID setting mode, the master ECU 1 transmits a load drive command signal for starting the load (motor) drive together with the temporary ID through the MPX line 2b by multiplex communication (step S4; transmission means).

一方、上述のマスターECU1の電源投入と同時に、車載コネクタ101〜106も電源が投入され(ステップS11)、それにより、各制御処理部11aは、ID設定モードとして起動される(ステップS12)。車載コネクタ101〜106の各ID処理部11dには、組み付け前に予め共通の仮IDが格納されている。ID設定モードにおいて、通信処理部11bは、マスターECU1から送信された負荷駆動命令信号および仮IDを受信し(ステップS13)、次に、制御処理部11aは、負荷駆動命令信号と共に送信されてきたIDが、ID処理部11dに予め格納されている仮IDと一致するか否かを判定する(ステップS14)。ステップS14の答がYesならばステップS15に進み、Noならば処理を終了する。   On the other hand, simultaneously with the power-on of the master ECU 1 described above, the vehicle-mounted connectors 101 to 106 are also powered on (step S11), whereby each control processing unit 11a is activated as an ID setting mode (step S12). A common temporary ID is stored in advance in each ID processing unit 11d of the in-vehicle connectors 101 to 106 before assembly. In the ID setting mode, the communication processing unit 11b receives the load drive command signal and the temporary ID transmitted from the master ECU 1 (step S13), and then the control processing unit 11a has been transmitted together with the load drive command signal. It is determined whether or not the ID matches a temporary ID stored in advance in the ID processing unit 11d (step S14). If the answer to step S14 is yes, the process proceeds to step S15, and if no, the process ends.

ステップS15で、制御処理部11aは、駆動処理部11cに負荷駆動の開始を指示する制御信号を出力し、それに応じて、駆動処理部11cは、負荷(モータ)の駆動を開始する。それにより、車載コネクタ101〜106にそれぞれ接続されている全部のモータが一斉に駆動される。   In step S15, the control processing unit 11a outputs a control signal instructing the drive processing unit 11c to start load driving, and the drive processing unit 11c starts driving the load (motor) accordingly. Thereby, all the motors connected to the in-vehicle connectors 101 to 106 are driven all at once.

次に、制御処理部11aは、駆動処理部11cにおけるモータ電流値を監視し、モータがロックしたか否かを判定する(ステップS16)。この判定は、所定ストローク移動後のモータロック時には通常値より大きなロック電流値が流れることから、モータ電流値が閾値以上に上昇したことを検出することにより行われる。モータ電流値は、シャント抵抗やその他周知の電流検出方法にて検出可能である。ステップS16の答がNoならばステップS15に戻り、負荷(モータ)の駆動を継続し、YesならばステップS17に進む。   Next, the control processing unit 11a monitors the motor current value in the drive processing unit 11c and determines whether or not the motor is locked (step S16). This determination is performed by detecting that the motor current value has risen above the threshold value because a lock current value larger than the normal value flows when the motor is locked after a predetermined stroke. The motor current value can be detected by a shunt resistor or other known current detection methods. If the answer to step S16 is No, the process returns to step S15 to continue driving the load (motor), and if Yes, the process proceeds to step S17.

ステップS17で、制御処理部11aは、モータロック時の電流値を計測し、次に、計測したモータロック電流値に応じた正IDを判別する(ステップS18)。車載コネクタ101〜106にそれぞれ接続されているモータは、それぞれのモータロック電流値が異なるものが使用されており、また、各車載コネクタ101〜106のID処理部11dには、車載コネクタ101〜106に接続されるモータのロック電流値に対応してそれぞれ異なる正IDを含むIDテーブルが予め格納されている。制御処理部11aは、このIDテーブルを参照して、検出したモータロック電流値に対応する正IDを自身の固有のIDとして判別する。   In step S17, the control processing unit 11a measures a current value when the motor is locked, and then determines a positive ID corresponding to the measured motor lock current value (step S18). Motors connected to the in-vehicle connectors 101 to 106 have different motor lock current values, and the ID processing unit 11d of each of the in-vehicle connectors 101 to 106 includes in-vehicle connectors 101 to 106. ID tables including different positive IDs corresponding to the lock current values of the motors connected to are stored in advance. The control processing unit 11a refers to this ID table and determines a positive ID corresponding to the detected motor lock current value as its own unique ID.

ここで、正IDは、接続する負荷(モータ)の数だけ必要となるが、多重通信による制御を行う場合、実使用上十数個のIDがあればほぼ対応可能であるので、本実施形態では、4ビットのデータ(ID数16個)をIDとして割り当てている。たとえば、仮ID=0000,正ID1=0001,正ID2=0010,・・・,正ID15=1111と割り当てる。IDと負荷の関係は、仮ID=全負荷,正ID1=負荷1,正ID2=負荷2,・・・,正ID15=負荷15とする。なお、負荷の数を15以上にしたい場合は、IDを割り当てるビット数を増やすことで対応可能である。   Here, the number of primary IDs required is equal to the number of loads (motors) to be connected. However, in the case of performing control by multiplex communication, if there are more than a dozen IDs in actual use, the present embodiment can cope with them. In this example, 4-bit data (16 IDs) is assigned as an ID. For example, temporary ID = 0000, primary ID1 = 0001, primary ID2 = 0010,..., Primary ID15 = 1111. The relationship between ID and load is as follows: provisional ID = full load, positive ID 1 = load 1, positive ID 2 = load 2,..., Positive ID 15 = load 15. If it is desired to increase the number of loads to 15 or more, it can be handled by increasing the number of bits to which an ID is assigned.

次に、制御処理部11aは、検出したロック電流値に対応する正IDをID処理部11dの仮ID記憶領域に書き込み、予め格納されていた仮IDを書き換えて固有のIDとしてID処理部11dに格納する(ステップS19)。次に、制御処理部11aは、ID処理部11dに書き換えた正ID情報を多重通信用の信号に変換してマスターECU1に送信する(ステップS20)。次に、制御処理部11aは、ID設定モードから通常動作モードにモード切り替えを行い(ステップS21)、次いで処理を終了する(ステップS22)。   Next, the control processing unit 11a writes a positive ID corresponding to the detected lock current value in the temporary ID storage area of the ID processing unit 11d, and rewrites the temporary ID stored in advance as a unique ID. (Step S19). Next, the control processing unit 11a converts the primary ID information rewritten to the ID processing unit 11d into a signal for multiplex communication and transmits the signal to the master ECU 1 (step S20). Next, the control processing unit 11a switches the mode from the ID setting mode to the normal operation mode (step S21), and then ends the processing (step S22).

車載コネクタ101〜106から正ID情報が送信されると、マスターECU1は、各車載コネクタ101〜106から送信されるID情報を全て受信したか否かを判定し(ステップS5)、全ての受信が行われていなければステップS4に戻り、全ての受信が行われたならばステップS6に進む。   When the positive ID information is transmitted from the in-vehicle connectors 101 to 106, the master ECU 1 determines whether or not all the ID information transmitted from the in-vehicle connectors 101 to 106 has been received (step S5). If not, the process returns to step S4. If all receptions have been performed, the process proceeds to step S6.

ステップS6で、マスターECU1は、ID設定モードから通常動作モードにモード切り替えを行い、次いで処理を終了する(ステップS7)。   In step S6, the master ECU 1 switches the mode from the ID setting mode to the normal operation mode, and then ends the process (step S7).

このようにして、車載コネクタ101〜106への正IDの設定処理が行われるが、ID設定処理終了以降の電源投入時には、主制御装置1および車載コネクタ101〜106は、ID設定処理を行わず、直接通常動作モードとして起動される動作を行う。   In this way, the positive ID setting process for the in-vehicle connectors 101 to 106 is performed, but the main controller 1 and the in-vehicle connectors 101 to 106 do not perform the ID setting process when the power is turned on after the ID setting process ends. Directly start the operation as the normal operation mode.

以上説明したように、本実施形態によれば、ステップS2〜S7によるマスターECU1側の処理と、ステップS11〜S22による車載コネクタ側の処理により、複数の車載コネクタを含む負荷制御システムを自動車の対象箇所に組み付け後に、モータロック電流値の電流情報に基づいて負荷に対応する固有の正IDを設定することができるので、車両への組み付け時に接続先を注意する必要がなく、負荷の作動不良となることはない。また、負荷に接続するコネクタを共通化できると共に、負荷に接続する際の誤接続を防止することができる。さらに、接続先を判別する設定が不要なため、コネクタを共通化して品種を簡素にすることができる。また、通常動作に必要な回路構成でID設定を行うことができるので、従来のID設定専用回路を削減でき、低コスト化できる。また、コネクタの共通化による量産効果が期待できる。   As described above, according to the present embodiment, a load control system including a plurality of in-vehicle connectors is applied to a vehicle by the processing on the master ECU 1 side in steps S2 to S7 and the in-vehicle connector side processing in steps S11 to S22. After assembly at a location, a unique positive ID corresponding to the load can be set based on the current information of the motor lock current value, so there is no need to pay attention to the connection destination when assembling to the vehicle, and the load malfunctions. Never become. In addition, the connector connected to the load can be shared, and erroneous connection when connecting to the load can be prevented. Furthermore, since the setting for determining the connection destination is not required, it is possible to simplify the product by using a common connector. In addition, since ID setting can be performed with a circuit configuration necessary for normal operation, the conventional dedicated ID setting circuit can be reduced and the cost can be reduced. In addition, mass production effects can be expected due to the common use of connectors.

また、車載コネクタへのID設定処理は、電動式フロントシートの組立完了時に各電動部分の動作確認を行う場合は、その事前準備として行うことができ、自動車の組み立て中の作業の一部として実施することができる。   In addition, the ID setting process for the in-vehicle connector can be performed as a preliminary preparation when the operation of each electric part is checked when the assembly of the electric front seat is completed, and is implemented as part of the work during the assembly of the automobile. can do.

(第2の実施形態)次に、本発明の第2の実施形態について説明する。上述の第1の実施形態では、モータのロック電流値を検出した電流情報をモータを特定する動作情報として正IDを判別するように構成されているが、第2の実施形態では、モータロック電流値の電流情報とモータロックに至る動作時間の時間情報とをモータを特定する動作情報として正IDを判別するように構成されていることを特徴としている。   (Second Embodiment) Next, a second embodiment of the present invention will be described. In the above-described first embodiment, the current information obtained by detecting the lock current value of the motor is configured to determine the positive ID using the operation information for specifying the motor. However, in the second embodiment, the motor lock current is determined. It is characterized in that the positive ID is discriminated by using the current information of the value and the time information of the operation time to reach the motor lock as the operation information for specifying the motor.

以下、第2の実施形態におけるID設定処理について、図5のフローチャートを参照して説明する。   The ID setting process in the second embodiment will be described below with reference to the flowchart in FIG.

負荷制御システムにおける車載コネクタを負荷(モータ)へ接続して(ステップS21)、組み付け完了した後、まず、マスターECU1の電源が投入されると(ステップS32)、マスターECU1は、組み付け後の初回の電源投入時にID設定モードとして起動される(ステップS33;モード設定手段)。マスターECU1の内部メモリには、スイッチ3,4と車載コネクタの正IDとの対応関係を示すテーブルと、仮IDとが予め格納されている。次に、マスターECU1は、ID設定モードのモード情報を各車載コネクタ101〜106に送信し、それにより、各車載コネクタ101〜106の制御処理部11aは、駆動処理部11cを制御してモータを初期位置に移動させる(ステップS34;全モータ初期位置復帰手段)。次に、マスターECU1は、初期位置に戻った全モータの駆動を開始させるための負荷駆動命令信号を仮IDと共に多重通信によりMPX線2bを介して送信する(ステップS35;送信手段)。   After connecting the in-vehicle connector in the load control system to the load (motor) (step S21) and completing the assembly, first, when the power of the master ECU 1 is turned on (step S32), the master ECU 1 When the power is turned on, the ID setting mode is started (step S33; mode setting means). In the internal memory of the master ECU 1, a table indicating the correspondence between the switches 3 and 4 and the primary ID of the in-vehicle connector and a temporary ID are stored in advance. Next, the master ECU 1 transmits the mode information of the ID setting mode to each of the in-vehicle connectors 101 to 106, whereby the control processing unit 11a of each of the in-vehicle connectors 101 to 106 controls the drive processing unit 11c to drive the motor. Move to the initial position (step S34; all motor initial position return means). Next, the master ECU 1 transmits a load drive command signal for starting the driving of all the motors that have returned to the initial position together with the temporary ID through the MPX line 2b by multiplex communication (step S35; transmission means).

一方、上述のマスターECU1の電源投入と同時に、車載コネクタ101〜106も電源が投入され(ステップS42)、それにより、各制御処理部11aは、ID設定モードとして起動される(ステップS43)。車載コネクタ101〜106の各ID処理部11dには、組み付け前に予め共通の仮IDが格納されている。ID設定モードにおいて、通信処理部11bは、マスターECU1から送信された負荷駆動命令信号および仮IDを受信し(ステップS44)、次に、制御処理部11aは、負荷駆動命令信号と共に送信されてきたIDが、ID処理部11dに予め格納されている仮IDと一致するか否かを判定する(ステップS45)。ステップS45の答がYesならばステップS46に進み、Noならば処理を終了する。   On the other hand, simultaneously with the power-on of the master ECU 1 described above, the vehicle-mounted connectors 101 to 106 are also powered on (step S42), whereby each control processing unit 11a is activated as an ID setting mode (step S43). A common temporary ID is stored in advance in each ID processing unit 11d of the in-vehicle connectors 101 to 106 before assembly. In the ID setting mode, the communication processing unit 11b receives the load drive command signal and the temporary ID transmitted from the master ECU 1 (step S44), and then the control processing unit 11a has been transmitted together with the load drive command signal. It is determined whether or not the ID matches a temporary ID stored in advance in the ID processing unit 11d (step S45). If the answer to step S45 is yes, the process proceeds to step S46, and if no, the process ends.

ステップS46で、制御処理部11aは、駆動処理部11cに負荷駆動の開始を指示する制御信号を出力し、駆動処理部11cで負荷(モータ)の駆動を開始させると共に、モータの動作時間のカウントを開始する。それにより、車載コネクタ101〜106にそれぞれ接続されている全部のモータが一斉に駆動される。   In step S46, the control processing unit 11a outputs a control signal instructing the drive processing unit 11c to start load driving, causes the drive processing unit 11c to start driving the load (motor), and counts the operation time of the motor. To start. Thereby, all the motors connected to the in-vehicle connectors 101 to 106 are driven all at once.

次に、車載コネクタ101〜106の各制御処理部11aは、駆動処理部11cにおけるモータ電流値を監視し、モータがロックしたか否かを判定する(ステップS47)。この判定は、所定ストローク移動後のモータロック時には通常値より大きなロック電流値が流れることから、モータ電流値が閾値以上に上昇したことを検出することにより行われる。モータ電流値は、シャント抵抗やその他周知の電流検出方法にて検出可能である。ステップS47の答がNoならばステップS46に戻り、負荷駆動および動作時間カウントを継続し、YesならばステップS48に進む。   Next, each control processing unit 11a of the in-vehicle connectors 101 to 106 monitors the motor current value in the drive processing unit 11c and determines whether or not the motor is locked (step S47). This determination is performed by detecting that the motor current value has risen above the threshold value because a lock current value larger than the normal value flows when the motor is locked after a predetermined stroke. The motor current value can be detected by a shunt resistor or other known current detection methods. If the answer to step S47 is No, the process returns to step S46 to continue the load driving and operation time count, and if Yes, the process proceeds to step S48.

ステップS48で、制御処理部11aは、モータロック時の電流値を計測すると共に、モータの動作時間のカウントを停止し、次に、計測したモータロック電流値とカウントした動作時間値とに応じた正IDを判別する(ステップS49)。車載コネクタ101〜106にそれぞれ接続されているモータは、それぞれのモータロック電流値が異なるものが使用されており、各車載コネクタ101〜106のID処理部11dには、モータのロック電流値と、ID設定モード時のモータ駆動開始からモータロックに至るまでの動作時間値とに対応してそれぞれ異なる正IDを表すIDテーブルが予め格納されている。制御処理部は、このIDテーブルを参照して、検出したモータロック電流値に対応する正IDを自身の固有のIDとして判別する。   In step S48, the control processing unit 11a measures the current value when the motor is locked and stops counting the operation time of the motor. Then, according to the measured motor lock current value and the counted operation time value. The primary ID is determined (step S49). The motors connected to the in-vehicle connectors 101 to 106 have different motor lock current values, and the ID processing unit 11d of each of the in-vehicle connectors 101 to 106 includes a motor lock current value, ID tables representing different positive IDs corresponding to the operation time values from the start of motor driving to the motor lock in the ID setting mode are stored in advance. The control processing unit refers to this ID table and determines a positive ID corresponding to the detected motor lock current value as its own unique ID.

次に、制御処理部11aは、検出したロック電流値および動作時間値に対応する正IDをID処理部11dの仮ID記憶領域に書き込み、予め格納されていた仮IDを書き換えて固有のIDとしてID処理部11dに格納する(ステップS50)。次に、制御処理部11aは、ID処理部11dに書き換えた正ID情報を多重通信用の信号に変換してマスターECU1に送信する(ステップS51)。次に、制御処理部11aは、ID設定モードから通常動作モードにモード切り替えを行い(ステップS52)、次いで処理を終了する(ステップS53)。   Next, the control processing unit 11a writes a positive ID corresponding to the detected lock current value and operating time value in the temporary ID storage area of the ID processing unit 11d, and rewrites the temporary ID stored in advance as a unique ID. Stored in the ID processing unit 11d (step S50). Next, the control processing unit 11a converts the primary ID information rewritten to the ID processing unit 11d into a signal for multiplex communication and transmits it to the master ECU 1 (step S51). Next, the control processing unit 11a switches the mode from the ID setting mode to the normal operation mode (step S52), and then ends the processing (step S53).

車載コネクタ101〜106から正ID情報が送信されると、マスターECU1は、各車載コネクタ101〜106から送信されるID情報を全て受信したか否かを判定し(ステップS36;判定手段)、全ての受信が行われていなければ、次に、マスターECU1は、正ID未設定のモータの再ID設定を指示する制御信号を各車載コネクタ101〜106に送信し、それにより、正ID未設定の車載コネクタ101〜106の制御処理部11aは、駆動処理部11cを制御してモータを初期位置に移動させ(ステップS37;ID未設定モータ初期位置復帰手段)、次にステップS35に戻る。それにより、各車載コネクタ101〜106のうち正IDがまだ設定されていない車載コネクタの制御処理部11aは、再びステップS35〜S36の処理を繰り返す。   When the positive ID information is transmitted from the in-vehicle connectors 101 to 106, the master ECU 1 determines whether or not all the ID information transmitted from the in-vehicle connectors 101 to 106 has been received (step S36; determination means), and all If the reception is not performed, the master ECU 1 next transmits a control signal instructing the re-ID setting of the motor whose primary ID is not set to each of the in-vehicle connectors 101 to 106, whereby the primary ID is not set. The control processing unit 11a of the in-vehicle connectors 101 to 106 controls the drive processing unit 11c to move the motor to the initial position (step S37; ID non-set motor initial position returning means), and then returns to step S35. Thereby, the control processing part 11a of the in-vehicle connector for which the positive ID is not yet set among the in-vehicle connectors 101 to 106 repeats the processes of steps S35 to S36 again.

ステップS36で全ての受信がおこなわれると、次にステップS38で、マスターECU1は、ID設定モードから通常動作モードにモード切り替えを行い、次いで処理を終了する(ステップS39)。ID設定処理終了以降の電源投入時には、ID設定処理を行わず、直接通常動作モードとして起動される動作を行う。   When all receptions are performed in step S36, in step S38, the master ECU 1 switches the mode from the ID setting mode to the normal operation mode, and then ends the process (step S39). When the power is turned on after completion of the ID setting process, the ID setting process is not performed and the operation that is directly started as the normal operation mode is performed.

以上説明したように、本実施形態によれば、ステップS32〜S39によるマスターECU1側の処理と、ステップS42〜S53によるコネクタ側の処理により、複数の車載コネクタを含む負荷制御システムを自動車の対象箇所に組み付け後に、モータロック電流値の電流情報とモータロックに至る動作時間の時間情報とに基づいて負荷に対応する固有の正IDを設定することができるので、第1の実施形態と同様の効果を得ることができる。   As described above, according to the present embodiment, the load control system including a plurality of in-vehicle connectors is changed to the target location of the automobile by the processing on the master ECU 1 side in steps S32 to S39 and the processing on the connector side in steps S42 to S53. Since the unique positive ID corresponding to the load can be set on the basis of the current information of the motor lock current value and the time information of the operation time to reach the motor lock after assembling to the motor, the same effect as the first embodiment Can be obtained.

また、モータで可動制御したいリフト機構等の全ての機構において、モータロックに至る動作時間がほぼ同じものがある場合は、それぞれの機構に対して、異なるロック電流値を持つモータを使用することにより、それぞれ固有の正IDを設定することができる。また、モータで可動制御したいリフト機構等の全ての機構において、モータロックに至る動作時間が全部異なっている場合は、それぞれの機構に対して、同一のロック電流値を持つモータを使用しても、それぞれ固有の正IDを設定することができる。   Also, in all mechanisms such as a lift mechanism that you want to control with a motor, if there is a similar operation time to reach the motor lock, use a motor with a different lock current value for each mechanism. , Each can set a unique positive ID. In addition, in all mechanisms such as a lift mechanism that is desired to be moved and controlled by the motor, if the operation time until the motor is locked is different, a motor having the same lock current value may be used for each mechanism. , Each can set a unique positive ID.

(第3の実施形態)次に、本発明の第3の実施形態について説明する。上述の第2の実施形態では、モータロック電流値の電流情報とモータロックに至る動作時間の時間情報とをモータを特定する動作情報として正IDを判別するように構成されているが、第3の実施形態では、車載コネクタを接続する負荷が、モータの回転に伴ってパルスを発生させ、発生したパルスをカウントして移動位置を検出するパルスカウント方式によるポジションセンサを有するモータの場合において、モータの初期位置からモータロックに至るまでのパルス数を、モータを特定する動作情報として正IDを判別するように構成されていることを特徴としている。   (Third Embodiment) Next, a third embodiment of the present invention will be described. In the second embodiment described above, the current ID of the motor lock current value and the time information of the operation time to reach the motor lock are configured to determine the positive ID as the operation information for specifying the motor. In the embodiment, in the case where the load connected to the in-vehicle connector is a motor having a position sensor of a pulse count system that detects a moving position by generating a pulse as the motor rotates and counting the generated pulse. The number of pulses from the initial position to the motor lock is used to determine the positive ID as operation information for specifying the motor.

以下、第3の実施形態におけるID設定処理について、図6のフローチャートを参照して説明する。   Hereinafter, the ID setting process in the third embodiment will be described with reference to the flowchart of FIG.

負荷制御システムにおける車載コネクタを負荷(パルスカウント方式によるポジションセンサを有するモータ)へ接続して(ステップS21)、組み付け完了した後、まず、マスターECU1の電源が投入されると(ステップS32)、マスターECU1は、組み付け後の初回の電源投入時にID設定モードとして起動される(ステップS33;モード設定手段)。マスターECU1の内部メモリには、スイッチ3,4と車載コネクタの正IDとの対応関係を示すテーブルと、仮IDとが予め格納されている。次に、マスターECU1は、ID設定モードのモード情報を各車載コネクタ101〜106に送信し、それにより、各車載コネクタ101〜106の制御処理部11aは、駆動処理部11cを制御してモータを初期位置に移動させる(ステップS34;全モータ初期位置復帰手段)。次に、マスターECU1は、初期位置に戻った全モータの駆動を開始させるための負荷駆動命令信号を仮IDと共に多重通信によりMPX線2bを介して送信する(ステップS35;送信手段)。   After the in-vehicle connector in the load control system is connected to a load (a motor having a position sensor based on a pulse count method) (step S21) and the assembly is completed, first, the master ECU 1 is turned on (step S32). The ECU 1 is activated as an ID setting mode when the power is turned on for the first time after assembly (step S33; mode setting means). In the internal memory of the master ECU 1, a table indicating the correspondence between the switches 3 and 4 and the primary ID of the in-vehicle connector and a temporary ID are stored in advance. Next, the master ECU 1 transmits the mode information of the ID setting mode to each of the in-vehicle connectors 101 to 106, whereby the control processing unit 11a of each of the in-vehicle connectors 101 to 106 controls the drive processing unit 11c to drive the motor. Move to the initial position (step S34; all motor initial position return means). Next, the master ECU 1 transmits a load drive command signal for starting the driving of all the motors that have returned to the initial position together with the temporary ID through the MPX line 2b by multiplex communication (step S35; transmission means).

一方、上述のマスターECU1の電源投入と同時に、車載コネクタ101〜106も電源が投入され(ステップS42)、それにより、各制御処理部11aは、ID設定モードとして起動される(ステップS43)。車載コネクタ101〜106の各ID処理部11dには、組み付け前に予め共通の仮IDが格納されている。ID設定モードにおいて、通信処理部11bは、マスターECU1から送信された負荷駆動命令信号および仮IDを受信し(ステップS44)、次に、制御処理部11aは、負荷駆動命令信号と共に送信されてきたIDが、ID処理部11dに予め格納されている仮IDと一致するか否かを判定する(ステップS45)。ステップS45の答がYesならばステップS46′に進み、Noならば処理を終了する。   On the other hand, simultaneously with the power-on of the master ECU 1 described above, the vehicle-mounted connectors 101 to 106 are also powered on (step S42), whereby each control processing unit 11a is activated as an ID setting mode (step S43). A common temporary ID is stored in advance in each ID processing unit 11d of the in-vehicle connectors 101 to 106 before assembly. In the ID setting mode, the communication processing unit 11b receives the load drive command signal and the temporary ID transmitted from the master ECU 1 (step S44), and then the control processing unit 11a has been transmitted together with the load drive command signal. It is determined whether or not the ID matches a temporary ID stored in advance in the ID processing unit 11d (step S45). If the answer to step S45 is yes, the process proceeds to step S46 ′, and if no, the process ends.

ステップS46′で、制御処理部11aは、駆動処理部11cに負荷駆動の開始を指示する制御信号を出力し、駆動処理部11cで負荷(モータ)の駆動を開始させると共に、ポジションセンサによるパルス数のカウントを開始する。それにより、車載コネクタ101〜106にそれぞれ接続されている全部のモータが一斉に駆動される。   In step S46 ′, the control processing unit 11a outputs a control signal instructing the drive processing unit 11c to start load driving, and starts driving of the load (motor) in the drive processing unit 11c, and the number of pulses by the position sensor. Start counting. Thereby, all the motors connected to the in-vehicle connectors 101 to 106 are driven all at once.

次に、車載コネクタ101〜106の各制御処理部11aは、駆動処理部11cにおけるモータ電流値を監視し、モータがロックしたか否かを判定する(ステップS47)。この判定は、所定ストローク移動後のモータロック時には通常値より大きなロック電流値が流れることから、モータ電流値が閾値以上に上昇したことを検出することにより行われる。モータ電流値は、シャント抵抗やその他周知の電流検出方法にて検出可能である。ステップS47の答がNoならばステップS46に戻り、パルス数のカウントを継続し、YesならばステップS48′に進む。   Next, each control processing unit 11a of the in-vehicle connectors 101 to 106 monitors the motor current value in the drive processing unit 11c and determines whether or not the motor is locked (step S47). This determination is performed by detecting that the motor current value has risen above the threshold value because a lock current value larger than the normal value flows when the motor is locked after the predetermined stroke movement. The motor current value can be detected by a shunt resistor or other known current detection methods. If the answer to step S47 is No, the process returns to step S46 to continue counting the number of pulses, and if Yes, the process proceeds to step S48 '.

ステップS48′で、制御処理部11aは、モータロック時にポジションセンサによるパルス数のカウントを停止し、次に、カウントしたパルス数に応じた正IDを判別する(ステップS49)。車載コネクタ101〜106にそれぞれ接続されているモータは、それぞれの初期位置からモータロックまでのパルス数が異なるものが使用されており、各車載コネクタ101〜106のID処理部11dには、ID設定モード時のモータ駆動開始からモータロックに至るまでのパルス数に対応してそれぞれ異なる正IDを表すIDテーブルが予め格納されている。制御処理部は、このIDテーブルを参照して、カウントしたパルス数に対応する正IDを自身の固有のIDとして判別する。   In step S48 ', the control processing unit 11a stops counting the number of pulses by the position sensor when the motor is locked, and then determines a positive ID corresponding to the counted number of pulses (step S49). As the motors connected to the in-vehicle connectors 101 to 106, those having different numbers of pulses from the initial position to the motor lock are used, and the ID setting unit 11d of each of the in-vehicle connectors 101 to 106 has an ID setting. An ID table representing different positive IDs corresponding to the number of pulses from the start of motor driving in the mode to the motor lock is stored in advance. The control processing unit refers to this ID table and determines a positive ID corresponding to the counted number of pulses as its own unique ID.

次に、制御処理部11aは、カウントしたパルス数に対応する正IDをID処理部11dの仮ID記憶領域に書き込み、予め格納されていた仮IDを書き換えて固有のIDとしてID処理部11dに格納する(ステップS50)。次に、制御処理部11aは、ID処理部11dに書き換えた正ID情報を多重通信用の信号に変換してマスターECU1に送信する(ステップS51)。次に、制御処理部11aは、ID設定モードから通常動作モードにモード切り替えを行い(ステップS52)、次いで処理を終了する(ステップS53)。   Next, the control processing unit 11a writes a primary ID corresponding to the counted number of pulses in the temporary ID storage area of the ID processing unit 11d, and rewrites the temporary ID stored in advance as a unique ID to the ID processing unit 11d. Store (step S50). Next, the control processing unit 11a converts the primary ID information rewritten to the ID processing unit 11d into a signal for multiplex communication and transmits it to the master ECU 1 (step S51). Next, the control processing unit 11a switches the mode from the ID setting mode to the normal operation mode (step S52), and then ends the processing (step S53).

車載コネクタ101〜106から正ID情報が送信されると、マスターECU1は、各車載コネクタ101〜106から送信されるID情報を全て受信したか否かを判定し(ステップS36;判定手段)、全ての受信が行われていなければ、次に、マスターECU1は、正ID未設定のモータの再ID設定を指示する制御信号を各車載コネクタ101〜106に送信し、それにより、正ID未設定の車載コネクタ101〜106の制御処理部11aは、駆動処理部11cを制御してモータを初期位置に移動させ(ステップS37;ID未設定モータ初期位置復帰手段)、次にステップS35に戻る。それにより、各車載コネクタ101〜106のうち正IDがまだ設定されていない車載コネクタの制御処理部11aは、再びステップS35〜S36の処理を繰り返す。   When the positive ID information is transmitted from the in-vehicle connectors 101 to 106, the master ECU 1 determines whether or not all the ID information transmitted from the in-vehicle connectors 101 to 106 has been received (step S36; determination means), and all If the reception is not performed, the master ECU 1 next transmits a control signal instructing the re-ID setting of the motor whose primary ID is not set to each of the in-vehicle connectors 101 to 106, whereby the primary ID is not set. The control processing unit 11a of the in-vehicle connectors 101 to 106 controls the drive processing unit 11c to move the motor to the initial position (step S37; ID non-set motor initial position returning means), and then returns to step S35. Thereby, the control processing part 11a of the in-vehicle connector for which the positive ID is not yet set among the in-vehicle connectors 101 to 106 repeats the processes of steps S35 to S36 again.

ステップS36で全ての受信がおこなわれると、次にステップS38で、マスターECU1は、ID設定モードから通常動作モードにモード切り替えを行い、次いで処理を終了する(ステップS39)。ID設定処理終了以降の電源投入時には、ID設定処理を行わず、直接通常動作モードとして起動される動作を行う。   When all receptions are performed in step S36, in step S38, the master ECU 1 switches the mode from the ID setting mode to the normal operation mode, and then ends the process (step S39). When the power is turned on after completion of the ID setting process, the ID setting process is not performed and the operation that is directly started as the normal operation mode is performed.

以上説明したように、本実施形態によれば、ステップS32〜S39によるマスターECU1側の処理と、ステップS42〜S53によるコネクタ側の処理により、複数の車載コネクタを含む負荷制御システムを自動車の対象箇所に組み付け後に、モータ駆動開始(初期位置からモータロックに至るまでのパルス数に基づいて負荷に対応する固有の正IDを設定することができるので、第1および第2の実施形態と同様の効果を得ることができる。   As described above, according to the present embodiment, the load control system including a plurality of in-vehicle connectors is changed to the target location of the automobile by the processing on the master ECU 1 side in steps S32 to S39 and the processing on the connector side in steps S42 to S53. Since the unique positive ID corresponding to the load can be set based on the number of pulses from the initial position to the motor lock after assembly, the same effect as in the first and second embodiments Can be obtained.

また、モータで可動制御したいリフト機構等の全ての機構において、モータロックに至るパルス数が全部異なっている場合は、それぞれの機構に対して、同一のロック電流値を持つモータを使用しても、それぞれ固有の正IDを設定することができる。   In addition, in all mechanisms such as a lift mechanism that is desired to be controlled by a motor, if the number of pulses leading to motor lock is different, a motor having the same lock current value may be used for each mechanism. , Each can set a unique positive ID.

以上の通り、本発明の実施形態について説明したが、本発明はこれに限らず、種々の変形、応用が可能である。   As mentioned above, although embodiment of this invention was described, this invention is not limited to this, A various deformation | transformation and application are possible.

たとえば、上述の第3の実施形態では、負荷がパルスカウント方式によるポジションセンサを有するモータの場合について説明したが、負荷が、ブラシノイズカウント方式のポジションセンサを有するブラシモータ(たとえば、特開2007−8350号公報参照)の場合でも実施可能である。   For example, in the third embodiment described above, the case where the load is a motor having a position sensor of the pulse count method has been described. However, the load is a brush motor having a position sensor of the brush noise count method (for example, JP 2007- This can also be implemented in the case of Japanese Patent No. 8350.

すなわち、図6のフローチャートにおいて、ステップS46′に代えてステップS46′′として、制御処理部11aは、駆動処理部11cに負荷駆動の開始を指示する制御信号を出力し、駆動処理部11cで負荷(モータ)の駆動を開始させると共に、ポジションセンサによるブラシノイズ数のカウントを開始する。それにより、車載コネクタ101〜106にそれぞれ接続されている全部のモータが一斉に駆動される。また、ステップS48′に代えてステップS48′′として、制御処理部11aは、モータロック時にポジションセンサによるブラシノイズ数のカウントを停止し、次に、カウントしたブラシノイズ数に応じた正IDを判別する(ステップS49)。車載コネクタ101〜106にそれぞれ接続されているモータは、それぞれの初期位置からモータロックまでのブラシノイズ数が異なるものが使用されており、各車載コネクタ101〜106のID処理部11dには、ID設定モード時のモータ駆動開始からモータロックに至るまでのブラシノイズ数に対応してそれぞれ異なる正IDを表すIDテーブルが予め格納されている。制御処理部は、このIDテーブルを参照して、カウントしたブラシノイズ数に対応する正IDを自身の固有のIDとして判別する。   That is, in the flowchart of FIG. 6, instead of step S46 ′, as step S46 ″, the control processing unit 11a outputs a control signal instructing the drive processing unit 11c to start load driving, and the drive processing unit 11c The driving of the (motor) is started, and counting of the number of brush noises by the position sensor is started. Thereby, all the motors connected to the in-vehicle connectors 101 to 106 are driven all at once. In step S48 ″ instead of step S48 ′, the control processing unit 11a stops counting the number of brush noises by the position sensor when the motor is locked, and then determines the positive ID corresponding to the counted number of brush noises. (Step S49). The motors connected to the in-vehicle connectors 101 to 106 have different brush noise numbers from the initial position to the motor lock, and the ID processing unit 11d of each of the in-vehicle connectors 101 to 106 includes an ID. An ID table representing different positive IDs corresponding to the number of brush noises from the start of motor driving to the motor lock in the setting mode is stored in advance. The control processing unit refers to this ID table and determines a positive ID corresponding to the counted number of brush noises as its own unique ID.

以上説明したように、この場合は、モータ駆動開始(初期位置からモータロックに至るまでのブラシノイズ数に基づいて負荷に対応する固有の正IDを設定することができるので、第3の実施形態と同様の効果を得ることができる。   As described above, in this case, since the unique positive ID corresponding to the load can be set based on the motor drive start (the number of brush noises from the initial position to the motor lock), the third embodiment The same effect can be obtained.

また、上述の実施形態では、負荷がモータの場合について説明したが、本発明は、これに限らず、LED等の他の負荷の場合も適用可能である。たとえば、負荷がLEDの場合は、点灯時にLEDに流れる電流値を動作情報として検出すれば良い。また、種類の異なる負荷、たとえばモータとLEDが混在する場合もそれぞれが異なる動作情報を持っていれば適用可能である。   In the above-described embodiment, the case where the load is a motor has been described. However, the present invention is not limited to this, and can be applied to other loads such as LEDs. For example, when the load is an LED, the value of the current flowing through the LED at the time of lighting may be detected as operation information. Further, even when different types of loads, for example, motors and LEDs are mixed, it is possible if they have different operation information.

また、上述の実施形態では、車載コネクタ10は、負荷に接続されるコネクタ12を備えているが、これに加えて、+B線、MPX線およびGND線に接続するコネクタも備えても良い。   Moreover, in the above-mentioned embodiment, although the vehicle-mounted connector 10 is provided with the connector 12 connected to load, in addition to this, you may also provide the connector connected to + B line, MPX line, and GND line.

また、上述の実施形態では、動作情報として電流情報および時間情報を用いる場合について説明したが、これらに限らず、電圧、電力等の他の動作情報でも適用可能である。   In the above-described embodiment, the case where the current information and the time information are used as the operation information has been described. However, the present invention is not limited thereto, and other operation information such as voltage and power can be applied.

本発明の第1の実施形態に係る車載コネクタの構成を示す構成図である。(第1の実施形態)It is a block diagram which shows the structure of the vehicle-mounted connector which concerns on the 1st Embodiment of this invention. (First embodiment) 図1の車載コネクタを複数個使用する負荷制御システムを示す図である。(第1の実施形態)It is a figure which shows the load control system which uses multiple vehicle-mounted connectors of FIG. (First embodiment) 図2の負荷制御システムを使用する車両の電動式フロントシートを示す図である。(第1の実施形態)It is a figure which shows the electrically driven front seat of the vehicle which uses the load control system of FIG. (First embodiment) 第1の実施形態におけるID設定処理を説明するフローチャートである。(第1の実施形態)It is a flowchart explaining the ID setting process in 1st Embodiment. (First embodiment) 第2の実施形態におけるID設定処理を説明するフローチャートである。(第2の実施形態)It is a flowchart explaining the ID setting process in 2nd Embodiment. (Second Embodiment) 第3の実施形態におけるID設定処理を説明するフローチャートである。(第3の実施形態)It is a flowchart explaining the ID setting process in 3rd Embodiment. (Third embodiment) (A)、(B)および(C)は、従来の車載コネクタにおけるID設定を説明する図である。(従来技術)(A), (B) and (C) is a figure explaining ID setting in the conventional vehicle-mounted connector. (Conventional technology)

符号の説明Explanation of symbols

1 主制御装置
10,101〜106 車載コネクタ
11a 制御処理部(制御手段)
11b 通信処理部(通信手段)
11c 駆動処理部(駆動手段)
11d ID処理部(記憶手段)
DESCRIPTION OF SYMBOLS 1 Main control apparatus 10,101-106 In-vehicle connector 11a Control processing part (control means)
11b Communication processing unit (communication means)
11c Drive processing unit (drive means)
11d ID processing unit (storage means)

Claims (7)

主制御装置との間で共通バスラインを介して通信を行う通信手段と、負荷と接続される駆動手段とを有する車載コネクタであって、
駆動状態時の複数の前記負荷を特定する動作情報と、前記動作情報の各々に対応する複数の正IDを含むIDテーブルと、仮IDの記憶領域を有する記憶手段と、
前記通信手段が前記主制御装置から送信される該負荷を駆動するための駆動命令信号および前記仮IDを受信したとき、受信した前記駆動命令信号に基づいて、前記負荷を駆動するように前記駆動手段を制御し、駆動状態時の前記負荷の前記動作情報を検出し、検出した前記動作情報と前記記憶手段に記憶されている前記IDテーブルとに基づいて正IDを判別し、前記記憶手段の前記記憶領域に格納されている前記仮IDを、判別した正IDに書き換えて前記車載コネクタ固有のIDとする制御手段と
を備えていることを特徴とする車載コネクタ。
A vehicle-mounted connector having communication means for communicating with a main control device via a common bus line, and drive means connected to a load,
Operation information for identifying a plurality of loads in a driving state, an ID table including a plurality of primary IDs corresponding to each of the operation information, and storage means having a storage area for temporary IDs;
When the communication means receives the drive command signal for driving the load and the temporary ID transmitted from the main controller, the drive is performed so as to drive the load based on the received drive command signal. Control means for detecting the operation information of the load in the driving state, determining a positive ID based on the detected operation information and the ID table stored in the storage means, A vehicle-mounted connector, comprising: a control unit that rewrites the temporary ID stored in the storage area with the determined primary ID to make the ID unique to the vehicle-mounted connector.
請求項1記載の車載コネクタにおいて、
前記通信手段は、前記記憶手段の前記記憶領域に書き換えられた正ID情報を前記主制御装置に送信することを特徴とする車載コネクタ。
The in-vehicle connector according to claim 1,
The in-vehicle connector, wherein the communication unit transmits the primary ID information rewritten in the storage area of the storage unit to the main control device.
請求項1または2記載の車載コネクタにおいて、
前記負荷はモータであり、前記動作情報は前記モータのロック電流値であることを特徴とする車載コネクタ。
The in-vehicle connector according to claim 1 or 2,
The load is a motor, and the operation information is a lock current value of the motor.
請求項1または2記載の車載コネクタにおいて、
前記負荷はモータであり、前記動作情報は、前記モータのロック電流値と、前記モータの駆動開始からロックに至るまでの動作時間であることを特徴とする車載コネクタ。
The in-vehicle connector according to claim 1 or 2,
The load is a motor, and the operation information includes a lock current value of the motor and an operation time from the start of driving of the motor to the lock.
請求項1または2記載の車載コネクタにおいて、
前記負荷はパルスカウント方式またはブラシノイズカウント方式ポジションセンサを有するモータであり、前記動作情報は、前記モータの駆動開始からモータロックに至るまでのパルス数またはブラシノイズ数であることを特徴とする車載コネクタ。
The in-vehicle connector according to claim 1 or 2,
The load is a motor having a pulse count type or brush noise count type position sensor, and the operation information is a pulse number or a brush noise number from the start of driving of the motor to a motor lock. connector.
請求項2から5のいずれか1項に記載の複数の車載コネクタと共通バスラインを介して通信を行う主制御装置であって、
電源投入時にID設定モードを設定するモード設定手段と、
ID設定モードにおいて負荷を駆動するための駆動命令信号および正IDを送信する送信手段と、
前記複数の車載コネクタから送信される前記正ID情報の全てを受信したか否かを判定する判定手段と、
前記判定手段で前記正ID情報の全てを受信したと判定された場合、前記ID設定モードを通常動作モードに切り換えるモード切替手段とを備えていることを特徴とする主制御装置。
A main controller that communicates with the plurality of in-vehicle connectors according to any one of claims 2 to 5 via a common bus line,
Mode setting means for setting an ID setting mode at power-on;
Transmitting means for transmitting a drive command signal and a positive ID for driving the load in the ID setting mode;
Determining means for determining whether or not all of the primary ID information transmitted from the plurality of in-vehicle connectors has been received;
A main control device comprising: mode switching means for switching the ID setting mode to a normal operation mode when it is determined by the determination means that all of the primary ID information has been received.
負荷と接続された複数の車載コネクタと、前記複数の車載コネクタと共通バスラインを介して通信を行う主制御装置とを有する負荷制御システムであって、
前記複数の車載コネクタは、それぞれ、主制御装置との間で通信を行う通信手段と、負荷と接続される駆動手段と、駆動状態時の複数の前記負荷を特定する動作情報と、前記動作情報の各々に対応する複数の正IDを含むIDテーブルおよび仮IDの記憶領域を有する記憶手段と、制御手段とを備え、
前記主制御装置は、前記複数の車載コネクタに接続された前記負荷を駆動するための駆動命令信号および前記仮IDを送信し、
各車載コネクタの前記制御手段は、前記通信手段で受信された前記駆動命令信号に基づいて、前記負荷を駆動するように前記駆動手段を制御し、駆動状態時の前記負荷の前記動作情報を検出し、検出した前記動作情報と前記記憶手段に記憶されている前記IDテーブルとに基づいて正IDを判別し、前記記憶手段の前記記憶領域に格納されている前記仮IDを、判別した正IDに書き換えて前記車載コネクタ固有のIDとすることを特徴とする負荷制御システム。
A load control system having a plurality of in-vehicle connectors connected to a load, and a main controller that communicates with the plurality of in-vehicle connectors via a common bus line,
Each of the plurality of in-vehicle connectors includes a communication unit that communicates with the main control device, a driving unit that is connected to a load, operation information that specifies the plurality of loads in a driving state, and the operation information A storage unit having a storage area for a temporary ID and an ID table including a plurality of primary IDs corresponding to each, and a control unit,
The main control device transmits a drive command signal and the temporary ID for driving the load connected to the plurality of in-vehicle connectors,
The control means of each in-vehicle connector controls the drive means to drive the load based on the drive command signal received by the communication means, and detects the operation information of the load in the drive state The primary ID is determined based on the detected operation information and the ID table stored in the storage unit, and the temporary ID stored in the storage area of the storage unit is determined as the determined positive ID. The load control system is characterized in that the ID is unique to the in-vehicle connector.
JP2007259526A 2006-11-28 2007-10-03 In-vehicle connector, main controller and load control system Active JP5242113B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007259526A JP5242113B2 (en) 2006-11-28 2007-10-03 In-vehicle connector, main controller and load control system

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2006319652 2006-11-28
JP2006319652 2006-11-28
JP2007259526A JP5242113B2 (en) 2006-11-28 2007-10-03 In-vehicle connector, main controller and load control system

Publications (2)

Publication Number Publication Date
JP2008155906A true JP2008155906A (en) 2008-07-10
JP5242113B2 JP5242113B2 (en) 2013-07-24

Family

ID=39657296

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007259526A Active JP5242113B2 (en) 2006-11-28 2007-10-03 In-vehicle connector, main controller and load control system

Country Status (1)

Country Link
JP (1) JP5242113B2 (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012144479A1 (en) * 2011-04-22 2012-10-26 矢崎総業株式会社 Pressure welding device and pressure welding system
JP2013079038A (en) * 2011-10-05 2013-05-02 Denso Corp On-vehicle equipment control system
JP2014151689A (en) * 2013-02-06 2014-08-25 Yazaki Corp Relay connector unit and electronic device control system provided therewith
WO2015041277A1 (en) * 2013-09-18 2015-03-26 矢崎総業株式会社 Seat control system and wire harness structure
JP2015095088A (en) * 2013-11-12 2015-05-18 矢崎総業株式会社 Taximeter system, taximeter and wire harness structure
JP2016203731A (en) * 2015-04-17 2016-12-08 矢崎総業株式会社 Connecting member and vehicle network system
JP2016213634A (en) * 2015-05-07 2016-12-15 矢崎総業株式会社 ID identification setting method in vehicle network system
JP2016210269A (en) * 2015-05-07 2016-12-15 矢崎総業株式会社 Vehicle network system
JP2018020642A (en) * 2016-08-02 2018-02-08 矢崎総業株式会社 On-vehicle connector, connector box, and vehicle network system
DE102018206738A1 (en) 2017-07-03 2019-01-03 Yazaki Corporation Setting device and arithmetic unit
CN109842295A (en) * 2017-11-27 2019-06-04 安电株式会社 Load driving circuits
WO2020112530A1 (en) * 2018-11-29 2020-06-04 Grote Industries, Inc. Smart cable system for a truck trailer
JP7461821B2 (en) 2020-07-14 2024-04-04 ミネベアミツミ株式会社 MOTOR DRIVE CONTROL DEVICE, ACTUATOR, AND COMMUNICATION SYSTEM

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0533209U (en) * 1991-10-08 1993-04-30 カルソニツク株式会社 Motor actuator control device
JP2002017061A (en) * 2000-06-30 2002-01-18 Mitsuba Corp Armature of dynamoelectric machine and winding method of armature
JP2006165957A (en) * 2004-12-07 2006-06-22 Victor Co Of Japan Ltd Serial communication system and address setting method
JP2006295585A (en) * 2005-04-12 2006-10-26 Furukawa Electric Co Ltd:The Method for setting address of communication terminal and communication terminal inspection device utilizing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0533209U (en) * 1991-10-08 1993-04-30 カルソニツク株式会社 Motor actuator control device
JP2002017061A (en) * 2000-06-30 2002-01-18 Mitsuba Corp Armature of dynamoelectric machine and winding method of armature
JP2006165957A (en) * 2004-12-07 2006-06-22 Victor Co Of Japan Ltd Serial communication system and address setting method
JP2006295585A (en) * 2005-04-12 2006-10-26 Furukawa Electric Co Ltd:The Method for setting address of communication terminal and communication terminal inspection device utilizing method

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012144479A1 (en) * 2011-04-22 2012-10-26 矢崎総業株式会社 Pressure welding device and pressure welding system
JP2013079038A (en) * 2011-10-05 2013-05-02 Denso Corp On-vehicle equipment control system
JP2014151689A (en) * 2013-02-06 2014-08-25 Yazaki Corp Relay connector unit and electronic device control system provided therewith
US9932002B2 (en) 2013-09-18 2018-04-03 Yazaki Corporation Seat control system and wire harness
WO2015041277A1 (en) * 2013-09-18 2015-03-26 矢崎総業株式会社 Seat control system and wire harness structure
JP2015058767A (en) * 2013-09-18 2015-03-30 矢崎総業株式会社 Seat control system and wiring harness structure
CN105473380A (en) * 2013-09-18 2016-04-06 矢崎总业株式会社 Seat control system and wire harness structure
JP2015095088A (en) * 2013-11-12 2015-05-18 矢崎総業株式会社 Taximeter system, taximeter and wire harness structure
JP2016203731A (en) * 2015-04-17 2016-12-08 矢崎総業株式会社 Connecting member and vehicle network system
JP2016213634A (en) * 2015-05-07 2016-12-15 矢崎総業株式会社 ID identification setting method in vehicle network system
JP2016210269A (en) * 2015-05-07 2016-12-15 矢崎総業株式会社 Vehicle network system
JP2018020642A (en) * 2016-08-02 2018-02-08 矢崎総業株式会社 On-vehicle connector, connector box, and vehicle network system
DE102018206738A1 (en) 2017-07-03 2019-01-03 Yazaki Corporation Setting device and arithmetic unit
CN109204188A (en) * 2017-07-03 2019-01-15 矢崎总业株式会社 setting device and computer
US10848378B2 (en) 2017-07-03 2020-11-24 Yazaki Corporation Setting device and computer
CN109204188B (en) * 2017-07-03 2022-02-01 矢崎总业株式会社 Setting device and computer
CN109842295A (en) * 2017-11-27 2019-06-04 安电株式会社 Load driving circuits
CN109842295B (en) * 2017-11-27 2021-06-25 株式会社电装电子 Load driving circuit
WO2020112530A1 (en) * 2018-11-29 2020-06-04 Grote Industries, Inc. Smart cable system for a truck trailer
US11518205B2 (en) 2018-11-29 2022-12-06 Grote Industries, Inc. Smart cable system for a truck trailer
US11865884B2 (en) 2018-11-29 2024-01-09 Grote Industries, Inc. Smart cable system for a truck trailer
JP7461821B2 (en) 2020-07-14 2024-04-04 ミネベアミツミ株式会社 MOTOR DRIVE CONTROL DEVICE, ACTUATOR, AND COMMUNICATION SYSTEM

Also Published As

Publication number Publication date
JP5242113B2 (en) 2013-07-24

Similar Documents

Publication Publication Date Title
JP5242113B2 (en) In-vehicle connector, main controller and load control system
US6166653A (en) System for address initialization of generic nodes in a distributed command and control system and method therefor
CA2282881C (en) Electrical control apparatus including a plurality of programmable modules
JPH08136413A (en) Failure diagnostic equipment
US20180334114A1 (en) Control device and control system
US11577673B2 (en) Motor module, management module, vehicle-mounted device control system
JP3601888B2 (en) Automotive air conditioners
EP1710382B1 (en) Power window device
JP2009505190A (en) Control chip that provides the basic functions of the control device
JP2007069849A (en) Steering controlling device for vehicle
KR20180044604A (en) Memory power seat controlling apparatus in vehicle, and controlling method thereof
US7647147B2 (en) Multi-platform data communication interface with self-recognizing and self-learning of the host vehicle
JP6630333B2 (en) In-vehicle control device
US20040199703A1 (en) Bus system and method for assigning addresses to peripheral units
JP2009132366A (en) Switch control device for vehicle
JP4029826B2 (en) LIN communication device
JP2005277913A (en) Connector apparatus with control function, and method and device for setting address
JP3979202B2 (en) In-vehicle communication system
JP2006109164A (en) Actuator control system and address setting method
JP2000207194A (en) Method for writing data into nonvolatile memory inside on-vehicle electronic unit
JP2002303203A (en) Vehicle control device, and method for assembling the same
KR100859273B1 (en) Easy access apparatus for use in car
KR100829829B1 (en) Device for controlling automobile module using a labview
KR20140018110A (en) Horn drive circuit and steering switch input detection circuit
CA2568114C (en) Multi-platform data communication interface with self-recognizing and self-learning of the host vehicle

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100826

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120614

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120703

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120809

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121113

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130326

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130403

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

Free format text: PAYMENT UNTIL: 20160412

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5242113

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250