JP2014027341A - Management number setting system, management device, and terminal device - Google Patents

Management number setting system, management device, and terminal device Download PDF

Info

Publication number
JP2014027341A
JP2014027341A JP2012163691A JP2012163691A JP2014027341A JP 2014027341 A JP2014027341 A JP 2014027341A JP 2012163691 A JP2012163691 A JP 2012163691A JP 2012163691 A JP2012163691 A JP 2012163691A JP 2014027341 A JP2014027341 A JP 2014027341A
Authority
JP
Japan
Prior art keywords
signal
management number
management
terminal device
setting
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.)
Pending
Application number
JP2012163691A
Other languages
Japanese (ja)
Inventor
Tsutomu Shirosaki
勉 城崎
Masanori Ando
正則 安藤
Yuji Obara
悠司 小原
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.)
Nidec Mobility Corp
Original Assignee
Omron Automotive Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Omron Automotive Electronics Co Ltd filed Critical Omron Automotive Electronics Co Ltd
Priority to JP2012163691A priority Critical patent/JP2014027341A/en
Publication of JP2014027341A publication Critical patent/JP2014027341A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To make it possible to easily perform setting of management numbers for a plurality of terminal devices with a simple system configuration.SOLUTION: A BMU 6 and CMUs 1 to 4 are connected to a CAN bus 7 in parallel, in which a signal input unit 5i of the CMU 1 and a signal output unit 6o of the BMU 6 are connected by a signal line 8a, a signal output unit 5o of the CMU 4 and a signal input unit 6i of the BMU 6 are connected by a signal line 8e, and signal output units 5o and signal input units 5i of the adjacent CMUs 1 to 4 are connected by signal lines 8b to 8d. The BMU 6 transmits management numbers to the CMUs 1 to 4 through the bus 7, and outputs a setting signal to the signal line 8a. Each of the CMUs 1 to 4 stores a management number in a storage unit 5b, returns the management number to the BMU 6, and outputs a setting signal to the signal lines 8b to 8e, when receiving the setting signal as an input and the management number in an unset state of the management number. When receiving the management numbers returned from the CMUs 1 to 4, the BMU 6 updates the management numbers and transmits the updated management numbers to the CMUs 1 to 4.

Description

本発明は、管理装置から複数の端末装置に対して管理番号を設定する管理番号設定システムに関する。   The present invention relates to a management number setting system for setting a management number for a plurality of terminal devices from a management device.

管理装置と複数の端末装置をバスで接続して、該バスを介して管理装置と各端末装置の間で相互にデータを送受信するシステムがある。このようなシステムでは、管理装置で各端末装置を管理するために、各端末装置に異なる管理番号を設定する必要がある。下記の特許文献1〜4には、複数の端末装置に管理番号を自動で設定する技術が開示されている。   There is a system in which a management device and a plurality of terminal devices are connected by a bus, and data is transmitted and received between the management device and each terminal device via the bus. In such a system, in order to manage each terminal device by the management device, it is necessary to set a different management number for each terminal device. The following Patent Documents 1 to 4 disclose techniques for automatically setting a management number to a plurality of terminal devices.

特許文献1〜3では、管理装置(コントローラ)と複数の端末装置をバスで接続し、管理装置と最上流にある端末装置および隣接する端末装置同士をコントロールライン(ハンドシェイクライン)で接続している。また、特許文献3では、バスの最も端に設けられた最上流の管理装置または端末装置に、コントロール信号発生部をコントロールラインで接続している。   In Patent Literatures 1 to 3, a management device (controller) and a plurality of terminal devices are connected by a bus, and a management device, a terminal device at the most upstream and adjacent terminal devices are connected by a control line (handshake line). Yes. In Patent Document 3, a control signal generator is connected to the most upstream management device or terminal device provided at the end of the bus via a control line.

管理装置またはコントロール信号発生部が、コントロールラインを介して隣接する端末装置にコントロール信号(アドレス設定開始トリガ)を出力すると、該端末装置が、バスを介して管理装置と通信可能になり、バスを介してステータス信号を出力する。そして、管理装置が、ステータス信号を受信して、バスを介してアドレス設定コマンドを出力すると、端末装置が、アドレス設定コマンドを受信して、アドレス(管理番号)設定を行い、隣接する端末装置にコントロール信号を出力する。以降、同様の手順で、下流にある各端末装置のアドレス設定が行われる。   When the management device or the control signal generator outputs a control signal (address setting start trigger) to the adjacent terminal device via the control line, the terminal device can communicate with the management device via the bus, To output a status signal. When the management device receives the status signal and outputs an address setting command via the bus, the terminal device receives the address setting command, sets the address (management number), and sends it to the adjacent terminal device. Outputs a control signal. Thereafter, the address setting of each downstream terminal device is performed in the same procedure.

また、特許文献2では、装置間のハンドシェイクラインとして、隣接する装置の接続検出用の第1のラインと、アドレス設定開始トリガの出力用の第2のラインと、アドレス設定完了トリガの出力用の第3のラインを設けている。そして、下流に隣接する端末装置が存在しないところまでアドレス設定が進んだときに、第3のラインを介して上流の装置にアドレス設定完了トリガを順次供給している。   In Patent Document 2, as a handshake line between devices, a first line for detecting connection between adjacent devices, a second line for outputting an address setting start trigger, and an output for an address setting completion trigger The third line is provided. When the address setting advances to a place where there is no terminal device adjacent downstream, an address setting completion trigger is sequentially supplied to the upstream device via the third line.

特許文献4では、管理装置(制御手段)と複数の端末装置(モジュール状態検出手段)を、通信線で接続するとともに、付番通信線でリング状に接続している。各端末装置は、上流側の隣接する端末装置から送信されたID情報と、予め記憶されたID情報テーブルとに基づいて、自身に識別番号を付与し、その識別番号を含むID情報を下流側の隣接する端末装置に送信する。管理装置は、通信線および付番通信線を介して各端末装置から送信された情報を処理する。   In Patent Document 4, a management device (control means) and a plurality of terminal devices (module state detection means) are connected by a communication line and are connected in a ring shape by a numbered communication line. Each terminal device assigns an identification number to itself based on the ID information transmitted from the adjacent terminal device on the upstream side and the ID information table stored in advance, and the ID information including the identification number is downstream To the adjacent terminal device. The management device processes information transmitted from each terminal device via the communication line and the numbered communication line.

特許文献1〜3では、各端末装置が間違ったアドレスを設定しないように、管理装置が、正しいアドレスを含むアドレス設定コマンドと、アドレス設定される相手先の端末装置のアドレス(初期状態で設定されたアドレス)とを、バスを介して出力している。このため、正しいアドレスを設定するまで、各端末装置はアドレスの設定と更新を繰り返し行う。特許文献4では、管理装置は識別番号の設定に関与していない。   In Patent Documents 1 to 3, the management device sets the address setting command including the correct address and the address of the destination terminal device to which the address is set (set in the initial state) so that each terminal device does not set an incorrect address. Address) is output via the bus. For this reason, each terminal device repeatedly performs address setting and updating until a correct address is set. In Patent Document 4, the management device is not involved in setting the identification number.

特開平3−225547号公報JP-A-3-225547 特許第4133117号公報Japanese Patent No. 4133117 特許第2532706号公報Japanese Patent No. 2532706 特開2009−89521号公報JP 2009-89521 A

本発明の課題は、簡単なシステム構成で、複数の端末装置に対する管理番号の設定を容易に行えるようにすることである。   An object of the present invention is to make it easy to set management numbers for a plurality of terminal devices with a simple system configuration.

本発明の管理番号設定システムは、管理装置と複数の端末装置から成り、管理装置が複数の端末装置に対して、各端末装置の管理番号を設定する。管理装置は、第1信号出力部、第1信号入力部、および第1バス通信部を備えている。各端末装置は、第2信号出力部、第2信号入力部、第2バス通信部、および記憶部を備えている。管理装置と各端末装置はバスを介して接続されている。複数の端末装置のうち、最上流にある端末装置の第2信号入力部は、管理装置の第1信号出力部と第1信号ラインで接続され、最下流にある端末装置の第2信号出力部は、管理装置の第1信号入力部と第2信号ラインで接続され、隣接する端末装置の第2信号出力部と第2信号入力部は第3信号ラインで接続されている。この構成において、管理装置は、第1バス通信部から各端末装置に、バスを介して管理番号を送信し、かつ、第1信号出力部から最上流の端末装置に、第1信号ラインを介して、管理番号を設定するための設定信号を出力する。各端末装置は、記憶部に管理番号が未設定の状態で、第1または第3信号ラインを介して第2信号入力部に設定信号が入力され、かつ、バスを介して第2バス通信部が管理番号を受信した場合に、当該管理番号を記憶部に記憶させることにより設定する。そして、当該設定の完了を通知する第1特定情報をバスを介して管理装置に返信し、かつ、隣接する端末装置または管理装置に、第3または第2信号ラインを介して、第2信号出力部から設定信号を出力する。管理装置は、第1バス通信部が端末装置からの第1特定情報を受信した場合に、管理番号を更新して、当該更新された管理番号をバスを介して端末装置に送信する。   The management number setting system of the present invention includes a management device and a plurality of terminal devices, and the management device sets the management number of each terminal device for the plurality of terminal devices. The management device includes a first signal output unit, a first signal input unit, and a first bus communication unit. Each terminal device includes a second signal output unit, a second signal input unit, a second bus communication unit, and a storage unit. The management device and each terminal device are connected via a bus. Of the plurality of terminal devices, the second signal input unit of the terminal device at the most upstream is connected to the first signal output unit of the management device through the first signal line, and the second signal output unit of the terminal device at the most downstream side. Are connected to the first signal input unit of the management device by the second signal line, and the second signal output unit and the second signal input unit of the adjacent terminal device are connected by the third signal line. In this configuration, the management device transmits a management number from the first bus communication unit to each terminal device via the bus, and from the first signal output unit to the most upstream terminal device via the first signal line. To output a setting signal for setting the management number. Each terminal device has a management number not set in the storage unit, a setting signal is input to the second signal input unit via the first or third signal line, and the second bus communication unit via the bus When the management number is received, the management number is set by storing the management number in the storage unit. Then, the first specific information notifying the completion of the setting is returned to the management apparatus via the bus, and the second signal output is performed to the adjacent terminal apparatus or management apparatus via the third or second signal line. The setting signal is output from the unit. When the first bus communication unit receives the first specific information from the terminal device, the management device updates the management number and transmits the updated management number to the terminal device via the bus.

上記によると、管理装置と複数の端末装置(便宜上A、B、C、Dとする)が、バスで接続されるとともに、第1ないし第3信号ラインでリング状に接続される。そして、まず、管理装置が各端末装置A〜Dに管理番号を送信し、かつ、最上流の端末装置Aに設定信号を出力する。これにより、管理番号の未設定状態にある最上流の端末装置Aが、設定信号と管理番号を受信して、当該管理番号を設定し、第1特定情報を管理装置に返信するとともに、下流側の隣接する端末装置Bに設定信号を出力する。管理装置は、最上流の端末装置Aから返信された第1特定情報を受信すると、管理番号を更新して、更新した管理番号を各端末装置A〜Dに送信する。これにより、最上流の端末装置Aに隣接する、管理番号の未設定状態にある端末装置Bが、設定信号と管理番号を受信して、当該管理番号を設定し、第1特定情報を管理装置に返信するとともに、下流側の隣接する端末装置Cに設定信号を出力する。そして、以降、同様の手順で、下流の各端末装置C、Dに管理番号が設定される。よって、簡単なシステム構成で、複数の端末装置に対する管理番号の設定を容易に行うことが可能となる。   According to the above, the management device and the plurality of terminal devices (for convenience, A, B, C, and D) are connected by a bus and connected in a ring shape by the first to third signal lines. First, the management device transmits a management number to each of the terminal devices A to D, and outputs a setting signal to the most upstream terminal device A. As a result, the most upstream terminal device A in the management number unset state receives the setting signal and the management number, sets the management number, returns the first specific information to the management device, A setting signal is output to the adjacent terminal device B. When the management device receives the first specific information returned from the most upstream terminal device A, the management device updates the management number and transmits the updated management number to each of the terminal devices A to D. As a result, the terminal device B that is adjacent to the most upstream terminal device A and in which the management number is not set receives the setting signal and the management number, sets the management number, and manages the first identification information. And a setting signal is output to the adjacent terminal device C on the downstream side. Thereafter, a management number is set for each of the downstream terminal devices C and D in the same procedure. Therefore, it is possible to easily set management numbers for a plurality of terminal devices with a simple system configuration.

また、本発明では、管理装置は、第1信号入力部に設定信号が入力された場合に、管理番号ではない第2特定情報を各端末装置にバスを介して送信し、かつ、第1信号出力部からの設定信号の出力を停止してもよい。そして、各端末装置は、管理番号を記憶部に記憶させた後、バスを介して第2特定情報を受信した場合に、第2信号出力部からの設定信号の出力を停止してもよい。   In the present invention, when the setting signal is input to the first signal input unit, the management device transmits the second identification information that is not the management number to each terminal device via the bus, and the first signal The output of the setting signal from the output unit may be stopped. Then, each terminal device may store the management number in the storage unit and then stop outputting the setting signal from the second signal output unit when receiving the second specific information via the bus.

また、本発明では、各端末装置は、受信した管理番号を記憶部に記憶させて、当該管理番号を管理装置に返信した後、前回と異なる管理番号を受信した場合に、第2信号出力部から設定信号を出力してもよい。   Further, in the present invention, each terminal device stores the received management number in the storage unit, returns the management number to the management device, and then receives a management number different from the previous one, the second signal output unit May output a setting signal.

また、本発明では、管理装置は、先ず、第1信号出力部から設定信号を出力し、その後、バスを介して各端末装置に管理番号を単発で送信してもよい。   In the present invention, the management device may first output a setting signal from the first signal output unit, and then transmit the management number to each terminal device via the bus.

さらに、本発明では、各端末装置は、記憶部に管理番号が未設定の状態で、バスを介して管理番号を受信すると、当該管理番号を保持し、この後、第2信号入力部に設定信号が入力されるまでに、再度バスを介して管理番号を受信すると、保持している管理番号を更新し、第2信号入力部に設定信号が入力されると、保持または更新した管理番号を記憶部に記憶させてもよい。   Furthermore, in the present invention, each terminal device holds the management number when receiving the management number via the bus in a state where the management number is not set in the storage unit, and then sets it in the second signal input unit. When the management number is received again via the bus before the signal is input, the held management number is updated. When the setting signal is input to the second signal input unit, the held or updated management number is updated. You may memorize | store in a memory | storage part.

本発明によれば、簡単なシステム構成で、複数の端末装置に対する管理番号の設定を容易に行うことが可能となる。   According to the present invention, it is possible to easily set management numbers for a plurality of terminal devices with a simple system configuration.

本発明の実施形態による管理番号設定システムの構成図である。It is a block diagram of the management number setting system by embodiment of this invention. 本発明の第1実施形態のBMUの動作フローチャートである。It is an operation | movement flowchart of BMU of 1st Embodiment of this invention. 本発明の第1実施形態のCMUの動作フローチャートである。It is an operation | movement flowchart of CMU of 1st Embodiment of this invention. 本発明の第1実施形態の管理番号設定手順の説明図である。It is explanatory drawing of the management number setting procedure of 1st Embodiment of this invention. 本発明の第1実施形態の管理番号設定手順の説明図である。It is explanatory drawing of the management number setting procedure of 1st Embodiment of this invention. 本発明の第1実施形態の管理番号設定手順の説明図である。It is explanatory drawing of the management number setting procedure of 1st Embodiment of this invention. 本発明の第1実施形態の管理番号設定手順の説明図である。It is explanatory drawing of the management number setting procedure of 1st Embodiment of this invention. 本発明の第1実施形態の管理番号設定手順の説明図である。It is explanatory drawing of the management number setting procedure of 1st Embodiment of this invention. 本発明の第1実施形態の管理番号設定手順の説明図である。It is explanatory drawing of the management number setting procedure of 1st Embodiment of this invention. 本発明の第2実施形態のBMUの動作フローチャートである。It is an operation | movement flowchart of BMU of 2nd Embodiment of this invention. 本発明の第2実施形態のCMUの動作フローチャートである。It is an operation | movement flowchart of CMU of 2nd Embodiment of this invention. 本発明の第2実施形態の管理番号設定手順の説明図である。It is explanatory drawing of the management number setting procedure of 2nd Embodiment of this invention. 本発明の第2実施形態の管理番号設定手順の説明図である。It is explanatory drawing of the management number setting procedure of 2nd Embodiment of this invention. 本発明の第2実施形態の管理番号設定手順の説明図である。It is explanatory drawing of the management number setting procedure of 2nd Embodiment of this invention. 本発明の第2実施形態の管理番号設定手順の説明図である。It is explanatory drawing of the management number setting procedure of 2nd Embodiment of this invention. 本発明の第2実施形態の管理番号設定手順の説明図である。It is explanatory drawing of the management number setting procedure of 2nd Embodiment of this invention. 本発明の第3実施形態のBMUの動作フローチャートである。It is an operation | movement flowchart of BMU of 3rd Embodiment of this invention. 本発明の第3実施形態のCMUの動作フローチャートである。It is an operation | movement flowchart of CMU of 3rd Embodiment of this invention. 本発明の第3実施形態の管理番号設定手順の説明図である。It is explanatory drawing of the management number setting procedure of 3rd Embodiment of this invention. 本発明の第3実施形態の管理番号設定手順の説明図である。It is explanatory drawing of the management number setting procedure of 3rd Embodiment of this invention. 本発明の第3実施形態の管理番号設定手順の説明図である。It is explanatory drawing of the management number setting procedure of 3rd Embodiment of this invention. 本発明の第3実施形態の管理番号設定手順の説明図である。It is explanatory drawing of the management number setting procedure of 3rd Embodiment of this invention. 本発明の第3実施形態の管理番号設定手順の説明図である。It is explanatory drawing of the management number setting procedure of 3rd Embodiment of this invention. 本発明の第3実施形態の管理番号設定手順の説明図である。It is explanatory drawing of the management number setting procedure of 3rd Embodiment of this invention.

以下、本発明の実施形態につき、図面を参照しながら説明する。各図において、同一の部分または対応する部分には、同一符号を付してある。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the drawings, the same or corresponding parts are denoted by the same reference numerals.

まず、本実施形態の管理番号設定システム100の構成を、図1を参照しながら説明する。   First, the configuration of the management number setting system 100 of this embodiment will be described with reference to FIG.

管理番号設定システム100は、複数のCMU(Cell Monitoring Unit)1〜4と、単一のBMU(Battery Management Unit)6から構成されていて、BMU6から各CMU1〜4に対して管理番号を設定する。CMU1〜4は、本発明の「端末装置」の一例であり、BMU6は、本発明の「管理装置」の一例である。   The management number setting system 100 includes a plurality of CMUs (Cell Monitoring Units) 1 to 4 and a single BMU (Battery Management Unit) 6, and sets management numbers from the BMU 6 to the CMUs 1 to 4. . The CMUs 1 to 4 are examples of the “terminal device” of the present invention, and the BMU 6 is an example of the “management device” of the present invention.

CMU1〜4とBMU6は、電気自動車などの組電池を制御するシステムに実装される。その制御システムにおいて、各CMU1〜4は、組電池を構成する各セルを管理する。BMU6は、各CMU1〜4の動作や情報を管理する。   CMU1-4 and BMU6 are mounted in the system which controls assembled batteries, such as an electric vehicle. In the control system, each CMU 1 to 4 manages each cell constituting the assembled battery. The BMU 6 manages the operations and information of the CMUs 1 to 4.

BMU6には、制御部6a、記憶部6b、CAN(Controller Area Network)通信部6c、信号出力部6o、信号入力部6i、および上位通信部6eが備わっている。制御部6aは、マイクロコンピュータから構成され、BMU6の各部の動作を制御する。記憶部6bは、ROM、RAM、および不揮発性のメモリなどから構成されている。記憶部6bには、BMU6と各CMU1〜4に関する情報や各種の制御情報が記憶される。   The BMU 6 includes a control unit 6a, a storage unit 6b, a CAN (Controller Area Network) communication unit 6c, a signal output unit 6o, a signal input unit 6i, and a host communication unit 6e. The control unit 6a is composed of a microcomputer, and controls the operation of each unit of the BMU 6. The storage unit 6b includes a ROM, a RAM, and a nonvolatile memory. The storage unit 6b stores information on the BMU 6 and the CMUs 1 to 4 and various control information.

CAN通信部6cは、CANバス7を介してCMU1〜4と通信するためのインターフェイスである。CANバス7は、本発明の「バス」の一例である。CAN通信部6cは、本発明の管理装置に備わる「バス通信部」(第1バス通信部)の一例である。   The CAN communication unit 6 c is an interface for communicating with the CMUs 1 to 4 via the CAN bus 7. The CAN bus 7 is an example of the “bus” in the present invention. The CAN communication unit 6c is an example of a “bus communication unit” (first bus communication unit) provided in the management apparatus of the present invention.

信号出力部6o(第1信号出力部)は、管理番号を設定するための設定信号を出力するポートである。信号入力部6i(第1信号入力部)は、設定信号が入力されるポートである。上位通信部6eは、上位ECU(Electronic Control Unit)9と通信するためのインターフェイスである。BMU6は、上位ECU9と通信ライン10で接続されている。   The signal output unit 6o (first signal output unit) is a port that outputs a setting signal for setting a management number. The signal input unit 6i (first signal input unit) is a port to which a setting signal is input. The host communication unit 6 e is an interface for communicating with a host ECU (Electronic Control Unit) 9. The BMU 6 is connected to the host ECU 9 via the communication line 10.

各CMU1〜4には、制御部5a、記憶部5b、CAN通信部5c、信号出力部5o、および信号入力部5iが備わっている。制御部5aは、マイクロコンピュータから構成され、当該CMU1〜4の各部の動作を制御する。記憶部5bは、ROM、RAM、および不揮発性のメモリなどから構成されている。記憶部5bには、BMU6と各CMU1〜4に関する情報や各種の制御情報が記憶される。また、後述する管理番号設定手順により、記憶部5bには、各CMU1〜4の管理番号が記憶される。なお、初期状態では、記憶部5bに管理番号は記憶されていない。   Each of the CMUs 1 to 4 includes a control unit 5a, a storage unit 5b, a CAN communication unit 5c, a signal output unit 5o, and a signal input unit 5i. The control unit 5a is composed of a microcomputer and controls the operation of each unit of the CMUs 1 to 4. The storage unit 5b includes a ROM, a RAM, and a nonvolatile memory. Information related to the BMU 6 and the CMUs 1 to 4 and various control information are stored in the storage unit 5b. Further, the management numbers of the CMUs 1 to 4 are stored in the storage unit 5b by a management number setting procedure described later. In the initial state, the management number is not stored in the storage unit 5b.

CAN通信部5cは、CANバス7を介してBMU6と通信するためのインターフェイスである。CAN通信部5cは、本発明の端末装置に備わる「バス通信部」(第2バス通信部)の一例である。信号出力部5o(第2信号出力部)は、設定信号を出力するポートである。信号入力部5i(第2信号入力部)は、設定信号が入力されるポートである。   The CAN communication unit 5 c is an interface for communicating with the BMU 6 via the CAN bus 7. The CAN communication unit 5c is an example of a “bus communication unit” (second bus communication unit) provided in the terminal device of the present invention. The signal output unit 5o (second signal output unit) is a port that outputs a setting signal. The signal input unit 5i (second signal input unit) is a port to which a setting signal is input.

BMU6と各CMU1〜4は、CANバス7に接続されている。CMU1〜4のうち、左端にある最上流のCMU1の信号入力部5iは、BMU6の信号出力部6oと信号ライン8a(第1信号ライン)で接続されている。右端にある最下流のCMU4の信号出力部5oは、BMU6の信号入力部6iと信号ライン8e(第2信号ライン)で接続されている。隣接するCMU1〜4の信号出力部5oと信号入力部5iは、信号ライン8b、8c、8d(第3信号ライン)でそれぞれ接続されている。つまり、BMU6と各CMU1〜4は、信号ライン8a〜8eによりリング状に接続されている。各信号ライン8a〜8eは、ハードワイヤから構成されている。   The BMU 6 and the CMUs 1 to 4 are connected to the CAN bus 7. Among the CMUs 1 to 4, the signal input unit 5i of the most upstream CMU 1 at the left end is connected to the signal output unit 6o of the BMU 6 by a signal line 8a (first signal line). The signal output unit 5o of the most downstream CMU 4 at the right end is connected to the signal input unit 6i of the BMU 6 by a signal line 8e (second signal line). The signal output units 5o and the signal input units 5i of the adjacent CMUs 1 to 4 are connected by signal lines 8b, 8c, and 8d (third signal lines), respectively. That is, the BMU 6 and the CMUs 1 to 4 are connected in a ring shape by the signal lines 8a to 8e. Each signal line 8a-8e is comprised from the hard wire.

次に、第1実施形態の管理番号設定手順を、図1〜図4Fを参照しながら説明する。図2は、BMU6の動作手順を示し、図3は、各CMU1〜4の動作手順を示している。図4A〜図4Fは、信号の流れと管理番号の設定状況を示している。   Next, the management number setting procedure of the first embodiment will be described with reference to FIGS. FIG. 2 shows an operation procedure of the BMU 6, and FIG. 3 shows an operation procedure of each CMU 1-4. 4A to 4F show the signal flow and the management number setting status.

BMU6に電源が投入されると、制御部6a(図1)は、初期設定として、信号出力部6oから信号ライン8aへの出力を「Lo(Low)レベル」にする(図2のステップS11)。すなわち、BMU6から最上流のCMU1への設定信号の出力を停止状態にする。また、制御部6aは、初期設定として、管理番号を初期値「0」に設定する(図2のステップS12)。この初期値「0」は、各CMU1〜4に設定されない番号である。   When the BMU 6 is powered on, the control unit 6a (FIG. 1) sets the output from the signal output unit 6o to the signal line 8a to “Lo (Low) level” as an initial setting (step S11 in FIG. 2). . That is, the setting signal output from the BMU 6 to the most upstream CMU 1 is stopped. Further, the control unit 6a sets the management number to an initial value “0” as an initial setting (step S12 in FIG. 2). This initial value “0” is a number that is not set in each of the CMUs 1 to 4.

各CMU1〜4に電源が投入されると、各CMU1〜4の制御部5a(図1)は、初期設定として、信号出力部5o(図1)から信号ライン8b〜8eへの出力を「Loレベル」にする(図3のステップS21)。このとき、各CMU1〜4は初期状態で、管理番号が未設定である。   When power is supplied to each CMU 1 to 4, the control unit 5a (FIG. 1) of each CMU 1 to 4 outputs the output from the signal output unit 5o (FIG. 1) to the signal lines 8b to 8e as “Lo” as an initial setting. Level "(step S21 in FIG. 3). At this time, each of the CMUs 1 to 4 is in an initial state and no management number is set.

そして、たとえば、図4Aの(1)に示すように、上位ECU9がBMU6に付番開始を指示すると、BMU6の制御部6aが、該指示を上位通信部6e(図1)により受信して、付番開始トリガを検出したと判断する(図2のステップS13:YES)。そして、制御部6aは、管理番号を1つカウントアップ(+1)することにより初期値の「0」から「1」に更新して、該管理番号をCAN通信部6c(図1)によりCANバス7を介して各CMU1〜4に送信する(ステップS14)。これにより、設定用の管理番号「1」が、BMU6から各CMU1〜4に送信される(図4Aの(2))。BMU6からCMU1〜4へのCANバス7を介した管理番号の送信は、所定の周期で繰り返し行われる。   For example, as shown in (1) of FIG. 4A, when the host ECU 9 instructs the BMU 6 to start numbering, the control unit 6a of the BMU 6 receives the instruction by the host communication unit 6e (FIG. 1), It is determined that the numbering start trigger has been detected (step S13 in FIG. 2: YES). Then, the control unit 6a increments the management number by one (+1) to update the initial value from “0” to “1”, and the CAN communication unit 6c (FIG. 1) updates the management number to the CAN bus. 7 to each CMU 1 to 4 (step S14). As a result, the setting management number “1” is transmitted from the BMU 6 to each of the CMUs 1 to 4 ((2) in FIG. 4A). Transmission of the management number from the BMU 6 to the CMUs 1 to 4 via the CAN bus 7 is repeatedly performed at a predetermined cycle.

このとき、管理番号とともにBMU6の識別情報を、CAN通信部6cによりCANバス7を介して各CMU1〜4に送信してもよい。または、BMU6の識別情報は、予め各CMU1〜4の記憶部5b(図1)に記憶させておいてもよい。   At this time, the identification information of the BMU 6 together with the management number may be transmitted to each of the CMUs 1 to 4 via the CAN bus 7 by the CAN communication unit 6c. Or you may memorize | store the identification information of BMU6 previously in the memory | storage part 5b (FIG. 1) of each CMU1-4.

また、BMU6の制御部6aは、信号出力部6o(図1)から信号ライン8aへの出力を「Hi(High)レベル」にする(ステップS15、図4Aの(3))。すなわち、BMU6から信号ライン8aを介して、最上流のCMU1に設定信号を出力する。そして、制御部6aは、信号ライン8eから信号入力部6i(図1)への入力が「Loレベル」であるか否かを確認する(ステップS16)。すなわち、最下流のCMU4から信号ライン8eを介してBMU6に、設定信号が入力されたか否かを確認する。   Further, the control unit 6a of the BMU 6 sets the output from the signal output unit 6o (FIG. 1) to the signal line 8a to “Hi (High) level” (step S15, (3) of FIG. 4A). That is, the setting signal is output from the BMU 6 to the most upstream CMU 1 via the signal line 8a. Then, the control unit 6a checks whether or not the input from the signal line 8e to the signal input unit 6i (FIG. 1) is “Lo level” (step S16). That is, it is confirmed whether or not a setting signal is input from the most downstream CMU 4 to the BMU 6 via the signal line 8e.

信号ライン8eから信号入力部6iへの入力が「Loレベル」であれば(ステップS16:YES)、BMU6の制御部6aは、設定信号が入力されていないと判断する。そして、制御部6aは、直前(ステップS14)に送信した対象の管理番号(今の場合は「1」)を、CANバス7を介してCAN通信部6cにより受信するのを待つ(ステップS17)。   If the input from the signal line 8e to the signal input unit 6i is “Lo level” (step S16: YES), the control unit 6a of the BMU 6 determines that the setting signal is not input. Then, the control unit 6a waits for the CAN communication unit 6c to receive the management number (“1” in this case) transmitted immediately before (step S14) via the CAN bus 7 (step S17). .

各CMU1〜4は、管理番号の未設定状態で、CANバス7を介してCAN通信部5c(図1)により管理番号(0以外)を受信すると(図3のステップS22:YES)、信号ライン8a〜8dから信号入力部5i(図1)への入力が「Hiレベル」であるか否かを確認する(ステップS23)。すなわち、上流側のCMU1〜3またはBMU6から信号ライン8a〜8dを介して設定信号が入力されたか否かを確認する。   When each of the CMUs 1 to 4 receives a management number (other than 0) by the CAN communication unit 5c (FIG. 1) via the CAN bus 7 in a state where the management number is not set (step S22 in FIG. 3: YES), the signal line It is confirmed whether or not the input from 8a to 8d to the signal input unit 5i (FIG. 1) is “Hi level” (step S23). That is, it is confirmed whether or not a setting signal is input from the upstream CMU 1 to 3 or BMU 6 through the signal lines 8a to 8d.

このとき、CMU2〜4の信号入力部5iへの信号ライン8b〜8dからの入力は「Loレベル」にある(図4Aの(3))。すなわち、上流側の隣接するCMU1〜3から信号ライン8b〜8dを介して設定信号が入力されていない。このため、CMU2〜4の制御部5aは、信号ライン8b〜8dから信号入力部5iへの入力が「Hiレベル」でないことを検出し(図3のステップS23:NO)、再び、CANバス7を介してCAN通信部5cにより管理番号を受信するのを待つ(ステップS22)。   At this time, the inputs from the signal lines 8b to 8d to the signal input units 5i of the CMUs 2 to 4 are at the “Lo level” ((3) in FIG. 4A). That is, no setting signal is input from the adjacent CMUs 1 to 3 on the upstream side via the signal lines 8 b to 8 d. Therefore, the control units 5a of the CMUs 2 to 4 detect that the input from the signal lines 8b to 8d to the signal input unit 5i is not “Hi level” (step S23 in FIG. 3: NO), and again the CAN bus 7 And waits for the management number to be received by the CAN communication unit 5c (step S22).

一方、最上流のCMU1の信号入力部5iへの信号ライン8aからの入力は「Hiレベル」になっている(図4Aの(3))。すなわち、BMU6から信号ライン8aを介してCMU1に、設定信号が入力されている。このため、CMU1の制御部5aは、管理番号の未設定状態で、信号ライン8aから信号入力部5iへの入力が「Hiレベル」であることを検出し(図3のステップS23:YES)、設定信号が入力されたと判断する。そして、CMU1の制御部5aは、受信した管理番号を記憶部5bに記憶させることにより、管理番号を設定する(ステップS24)。これにより、CMU1に管理番号「1」が設定された状態となる(図4Bの(4))。   On the other hand, the input from the signal line 8a to the signal input unit 5i of the most upstream CMU 1 is “Hi level” ((3) in FIG. 4A). That is, the setting signal is input from the BMU 6 to the CMU 1 via the signal line 8a. Therefore, the control unit 5a of the CMU 1 detects that the input from the signal line 8a to the signal input unit 5i is “Hi level” in a state where the management number is not set (step S23 in FIG. 3: YES), It is determined that a setting signal has been input. Then, the control unit 5a of the CMU 1 sets the management number by storing the received management number in the storage unit 5b (step S24). As a result, the management number “1” is set in the CMU 1 ((4) in FIG. 4B).

そして、CMU1の制御部5aは、管理番号の設定が完了したことを通知するための特定情報(第1特定情報)として、設定した管理番号「1」をCAN通信部5cによりCANバス7を介してBMU6に返信する(図3のステップS25、図4Bの(5))。このCMU1からBMU6へ返信する管理番号は、該管理番号の設定完了をBMU6へ通知するための情報であり、送信先としてBMU6が指定され、BMU6からCMU1〜4へ送信する設定用の管理番号とは異なっている。このため、CMU1からBMU6へ返信された管理番号を、他のCMU2〜4がCANバス7を介して受信しても、該管理番号の情報は他のCMU2〜4では無視される。   Then, the control unit 5a of the CMU 1 sends the set management number “1” to the CAN communication unit 5c via the CAN bus 7 as the specific information (first specific information) for notifying that the setting of the management number has been completed. To BMU 6 (step S25 in FIG. 3, (5) in FIG. 4B). The management number returned from the CMU 1 to the BMU 6 is information for notifying the BMU 6 of the completion of setting of the management number. The BMU 6 is designated as the transmission destination, and the management number for setting transmitted from the BMU 6 to the CMUs 1 to 4 Is different. For this reason, even if the other CMU 2-4 receives the management number returned from the CMU 1 to the BMU 6, the information on the management number is ignored by the other CMU 2-4.

また、CMU1の制御部5aは、信号出力部5oから信号ライン8bへの出力を「Hiレベル」にする(ステップS26、図4B(5))。すなわち、信号ライン8bを介してCMU1の下流側の隣接するCMU2に、設定信号を出力する。そして、CMU1の制御部5aは、CANバス7を介してCAN通信部5cにより特定情報「0」を受信するのを待つ(ステップS27)。   Further, the control unit 5a of the CMU 1 sets the output from the signal output unit 5o to the signal line 8b to “Hi level” (step S26, FIG. 4B (5)). That is, the setting signal is output to the adjacent CMU 2 on the downstream side of the CMU 1 via the signal line 8b. Then, the control unit 5a of the CMU 1 waits to receive the specific information “0” by the CAN communication unit 5c via the CAN bus 7 (step S27).

BMU6がCMU1〜4へ管理番号「1」を繰り返し送信する合間に、CMU1から返信された管理番号「1」がCANバス7を介してBMU6のCAN通信部6cで受信される(図2のステップS17:YES)。すると、BMU6の制御部6aが、CMU1から対象の管理番号「1」を受信したため、CMU1に対する管理番号「1」の設定が完了したと判断する。そして、制御部6aは、管理番号を「1」から「2」に更新(+1)して、CAN通信部6cによりCANバス7を介して各CMU1〜4に送信する(ステップS14)。これにより、BMU6から各CMU1〜4に対して、管理番号「1」が送信されずに、次の管理番号「2」が送信される(図4Bの(6))。   While the BMU 6 repeatedly transmits the management number “1” to the CMUs 1 to 4, the management number “1” returned from the CMU 1 is received by the CAN communication unit 6c of the BMU 6 via the CAN bus 7 (step in FIG. 2). S17: YES). Then, since the control unit 6a of the BMU 6 has received the target management number “1” from the CMU 1, it is determined that the setting of the management number “1” for the CMU 1 has been completed. Then, the control unit 6a updates the management number from “1” to “2” (+1), and transmits it to each of the CMUs 1 to 4 via the CAN bus 7 by the CAN communication unit 6c (step S14). As a result, the management number “1” is not transmitted from the BMU 6 to each of the CMUs 1 to 4, but the next management number “2” is transmitted ((6) in FIG. 4B).

また、BMU6の制御部6aは、信号出力部6oから信号ライン8aへの「Hiレベル」の出力を維持する(図2のステップS15)。さらに、制御部6aは、信号ライン8eから信号入力部6iへの入力が「Loレベル」であれば(ステップS16:YES)、対象の管理番号(今の場合は「2」)をCANバス7を介してCAN通信部6cにより受信するのを待つ(ステップS17)。   Further, the control unit 6a of the BMU 6 maintains the “Hi level” output from the signal output unit 6o to the signal line 8a (step S15 in FIG. 2). Furthermore, if the input from the signal line 8e to the signal input unit 6i is “Lo level” (step S16: YES), the control unit 6a assigns the target management number (“2” in this case) to the CAN bus 7 It waits for reception by the CAN communication part 6c via (step S17).

そして、上述したように図3のステップS22〜S27を、CMU2の制御部5aが実行することで、CMU2に管理番号「2」が設定される(図3のステップS24、図4Cの(7))。また、設定した管理番号「2」がCANバス7を介してBMU6に返信され(図3のステップS25)、Hiレベルの設定信号がCMU2の信号出力部5oから信号ライン8cを介して、CMU3に出力される(図3のステップS26、図4Cの(8))。そして、上述したように図2のステップS14〜S17を、BMU6の制御部6aが繰り返し実行することで、管理番号が「2」から「3」に更新されて、各CMU1〜4に送信される(図2のステップS14、図4Cの(9))。   3 is executed by the control unit 5a of the CMU 2 as described above, the management number “2” is set in the CMU 2 (step S24 in FIG. 3, (7) in FIG. 4C). ). Also, the set management number “2” is returned to the BMU 6 via the CAN bus 7 (step S25 in FIG. 3), and the Hi level setting signal is sent from the signal output unit 5o of the CMU 2 to the CMU 3 via the signal line 8c. This is output (step S26 in FIG. 3, (8) in FIG. 4C). 2 is repeatedly executed by the control unit 6a of the BMU 6 as described above, the management number is updated from “2” to “3” and transmitted to each of the CMUs 1 to 4. (Step S14 in FIG. 2, (9) in FIG. 4C).

同様にして、CMU3、4でも管理番号「3」、「4」がそれぞれ設定され、BMU6で管理番号が「4」、「5」に更新されて、各CMU1〜4に送信される(図4D〜図4E)。   Similarly, the management numbers “3” and “4” are set in the CMUs 3 and 4 respectively, and the management numbers are updated to “4” and “5” in the BMU 6 and transmitted to the CMUs 1 to 4 (FIG. 4D). -FIG. 4E).

そして、最下流のCMU4の信号出力部5oから信号ライン8eへの出力が「Hiレベル」になると(図3のステップS26、図4Fの(16))、BMU6の制御部6aは、信号ライン8eから信号入力部6iへの入力が「Loレベル」でないことを検出する(図2のステップS16:NO)。すなわち、最下流のCMU4から信号ライン8eを介してBMU6に、設定信号が入力されたことを検出する。   When the output from the signal output unit 5o of the most downstream CMU 4 to the signal line 8e becomes “Hi level” (step S26 in FIG. 3, (16) in FIG. 4F), the control unit 6a of the BMU 6 controls the signal line 8e. 2 is detected to be not at the “Lo level” (step S16 in FIG. 2: NO). That is, it is detected that the setting signal is input from the most downstream CMU 4 to the BMU 6 via the signal line 8e.

すると、BMU6の制御部6aは、全CMU1〜4に対する管理番号の設定が完了したと判断して、該設定完了を通知するため、設定用の管理番号ではない特定情報(第2特定情報)「0」を、CAN通信部6cによりCANバス7を介して各CMU1〜4に送信する(図2のステップS18、図4Fの(17))。この特定情報は、「0」に限らず、その他の情報であってもよい。また、制御部6aは、信号出力部6oから信号ライン8aへの出力を「Loレベル」にする(ステップS19、図4Fの(17))。すなわち、BMU6からCMU1への設定信号の出力を停止する。   Then, the control unit 6a of the BMU 6 determines that the setting of the management numbers for all the CMUs 1 to 4 has been completed, and notifies the completion of the setting. Therefore, specific information (second specific information) “ 0 "is transmitted to each CMU 1 to 4 by the CAN communication unit 6c via the CAN bus 7 (step S18 in FIG. 2, (17) in FIG. 4F). This specific information is not limited to “0” but may be other information. Further, the control unit 6a sets the output from the signal output unit 6o to the signal line 8a to “Lo level” (step S19, (17) in FIG. 4F). That is, the output of the setting signal from the BMU 6 to the CMU 1 is stopped.

各CMU1〜4の制御部5aは、CANバス7を介してCAN通信部5cにより特定情報「0」を受信すると(図3のステップS27:YES)、全CMU1〜4に対する管理番号の設定が完了したと判断する。そして、各CMU1〜4の制御部5aは、信号出力部5oから信号ライン8b〜8eへの出力を「Loレベル」にする(ステップS28、図4Fの(18))。すなわち、各CMU1〜4から下流側の隣接するCMU2〜4またはBMU6への設定信号の出力を停止する。   When the control unit 5a of each of the CMUs 1 to 4 receives the specific information “0” from the CAN communication unit 5c via the CAN bus 7 (step S27 in FIG. 3: YES), the setting of the management numbers for all the CMUs 1 to 4 is completed. Judge that Then, the control unit 5a of each CMU 1 to 4 sets the output from the signal output unit 5o to the signal lines 8b to 8e to “Lo level” (step S28, (18) in FIG. 4F). That is, the output of the setting signal from each CMU 1 to 4 to the adjacent CMU 2 to 4 or BMU 6 on the downstream side is stopped.

BMU6の制御部6aは、信号ライン8eから信号入力部6iへの入力が「Loレベル」になると、全CMU1〜4に対する管理番号の設定完了を全CMU1〜4が認識したと判断する。   When the input from the signal line 8 e to the signal input unit 6 i becomes “Lo level”, the control unit 6 a of the BMU 6 determines that all the CMUs 1 to 4 have recognized that the management numbers have been set for all the CMUs 1 to 4.

上記第1実施形態によると、BMU6と複数のCMU1〜4を、CANバス7で接続するとともに、信号ライン8a〜8eでリング状に接続している。そして、まず、BMU6が、CANバス7を介して各CMU1〜4に管理番号「1」を送信し、かつ、信号ライン8aを介して最上流のCMU1に、Hiレベルの設定信号を出力する。これにより、管理番号の未設定状態にある最上流のCMU1が、設定信号と管理番号「1」を受信して、当該管理番号「1」を設定する。また、CMU1は、管理番号「1」を設定すると、該設定の完了を通知する特定情報として、設定した管理番号「1」をBMU6にCANバス7を介して返信し、下流側の隣接するCMU2に信号ライン8bを介して、Hiレベルの設定信号を出力する。   According to the first embodiment, the BMU 6 and the plurality of CMUs 1 to 4 are connected by the CAN bus 7 and are connected in a ring shape by the signal lines 8a to 8e. First, the BMU 6 transmits the management number “1” to each of the CMUs 1 to 4 via the CAN bus 7 and outputs a Hi level setting signal to the most upstream CMU 1 via the signal line 8a. As a result, the most upstream CMU 1 in the management number unset state receives the setting signal and the management number “1”, and sets the management number “1”. Further, when the management number “1” is set, the CMU 1 returns the set management number “1” to the BMU 6 via the CAN bus 7 as specific information for notifying the completion of the setting, and the downstream adjacent CMU 2 A Hi level setting signal is output via the signal line 8b.

BMU6は、CANバス7を介して最上流のCMU1から返信された管理番号「1」を受信すると、管理番号を「2」に更新してCANバス7を介して各CMU1〜4に送信する。これにより、最上流のCMU1に隣接する、管理番号が未設定状態にあるCMU2が、CMU1からの設定信号と、BMU6からの管理番号「2」とを受信して、当該管理番号「2」を設定する。また、CMU2は、管理番号「2」を設定すると、当該管理番号「2」をBMU6にCANバス7を介して返信し、下流側の隣接するCMU3に信号ライン8cを介して、Hiレベルの設定信号を出力する。そして、以降、同様の手順で、下流の各CMU3、4で管理番号「3」、「4」が設定される。   When the BMU 6 receives the management number “1” returned from the most upstream CMU 1 via the CAN bus 7, the BMU 6 updates the management number to “2” and transmits it to each of the CMUs 1 to 4 via the CAN bus 7. As a result, the CMU 2 adjacent to the most upstream CMU 1 and whose management number is not yet set receives the setting signal from the CMU 1 and the management number “2” from the BMU 6, and sets the management number “2”. Set. When the management number “2” is set, the CMU 2 returns the management number “2” to the BMU 6 via the CAN bus 7 and sets the Hi level to the adjacent downstream CMU 3 via the signal line 8c. Output a signal. Thereafter, the management numbers “3” and “4” are set in the downstream CMUs 3 and 4 in the same procedure.

よって、簡単なシステム構成で、複数のCMU1〜4に対する管理番号の設定を容易に行うことが可能となる。   Therefore, it is possible to easily set management numbers for a plurality of CMUs 1 to 4 with a simple system configuration.

また、管理番号を設定したCMU1〜4から、該設定の完了を通知する特定情報として、設定した管理番号がBMU6に返信されるので、BMU6で対象のCMU1〜4に対する管理番号の設定が成功したことを確認することができる。そして、BMU6で管理番号を更新するので、複数のCMU1〜4に対する管理番号の重複した設定を防止することができる。   Further, since the set management number is returned to the BMU 6 as the specific information for notifying the completion of the setting from the CMUs 1 to 4 in which the management numbers are set, the management numbers for the target CMUs 1 to 4 have been successfully set in the BMU 6 I can confirm that. And since a management number is updated by BMU6, the setting which the management number with respect to several CMU1-4 overlaps can be prevented.

また、最下流のCMU4で管理番号が設定されると、該CMU4から信号ライン8eを介してBMU6に設定信号が入力されるので、BMU6で、全てのCMU1〜4に対する管理番号の設定が完了したことを確認することができる。そして、BMU6から各CMU1〜4にCANバス7を介して特定情報「0」が送信されるので、各CMU1〜4でも、全てのCMU1〜4に対する管理番号の設定が完了したことを確認することができる。さらに、BMU6とCMU1、4間およびCMU1〜4間の、信号ライン8a〜8eを介した設定信号の出力が順次停止されるので、各CMU1〜4が管理番号の設定の完了を認識したことを、BMU6で確認することができる。   Further, when the management number is set in the CMU 4 at the most downstream side, the setting signal is input from the CMU 4 to the BMU 6 via the signal line 8e, so that the setting of the management number for all the CMUs 1 to 4 is completed in the BMU 6. I can confirm that. Then, since the specific information “0” is transmitted from the BMU 6 to each of the CMUs 1 to 4 via the CAN bus 7, it is confirmed that the setting of the management numbers for all the CMUs 1 to 4 is completed in each of the CMUs 1 to 4. Can do. In addition, since the output of the setting signals via the signal lines 8a to 8e between the BMU 6 and the CMUs 1 and 4 and between the CMUs 1 to 4 is sequentially stopped, it is confirmed that each CMU 1 to 4 has recognized the completion of the setting of the management number. , BMU6.

次に、第2実施形態の管理番号設定手順を、図5〜図7Eを参照しながら説明する。図5は、BMU6の動作手順を示し、図6は、各CMU1〜4の動作手順を示している。なお、図6では、ステップS22とステップS23の順序、および、ステップS25とステップS26の順序が、図3の場合と入れ替わっている。図7A〜図7Eは、信号の流れと管理番号の設定状況を示している。   Next, the management number setting procedure of the second embodiment will be described with reference to FIGS. FIG. 5 shows an operation procedure of the BMU 6, and FIG. 6 shows an operation procedure of each CMU 1-4. In FIG. 6, the order of step S22 and step S23 and the order of step S25 and step S26 are interchanged with the case of FIG. 7A to 7E show the signal flow and the setting state of the management number.

BMU6の制御部6aは、図5のステップS11、S12で初期設定を行った後、付番開始トリガを検出すると(ステップS13:YES)、信号出力部6oから信号ライン8aへの出力を「Hiレベル」にする(ステップS15、図7Aの(1))。すなわち、BMU6から信号ライン8aを介して最上流のCMU1に設定信号を出力する。それから、制御部6aは、管理番号を「1」に更新(+1)して、該管理番号「1」を各CMU1〜4に、CANバス7を介して単発で(つまり1回だけ)送信する(ステップS14a、図7Aの(2))。   When the control unit 6a of the BMU 6 detects the numbering start trigger after performing the initial setting in steps S11 and S12 in FIG. 5 (step S13: YES), it outputs the output from the signal output unit 6o to the signal line 8a as “Hi. Level "(step S15, (1) in FIG. 7A). That is, a setting signal is output from the BMU 6 to the most upstream CMU 1 via the signal line 8a. Then, the control unit 6a updates (+1) the management number to “1”, and transmits the management number “1” to each CMU 1 to 4 through the CAN bus 7 (ie, only once). (Step S14a, (2) in FIG. 7A).

そして、BMU6の制御部6aは、信号ライン8eから信号入力部6iへの入力が「Loレベル」であれば(ステップS16:YES)、対象の管理番号「1」を、CANバス7を介してCAN通信部6cにより受信するのを待つ(ステップS17)。   When the input from the signal line 8e to the signal input unit 6i is “Lo level” (step S16: YES), the control unit 6a of the BMU 6 sets the target management number “1” via the CAN bus 7. It waits for reception by the CAN communication part 6c (step S17).

各CMU1〜4の制御部5aは、図6のステップS21で初期設定を行った後、信号ライン8a〜8dから信号入力部6iへの入力が「Hiレベル」であるか否かを確認する(ステップS23)。ここでまず、管理番号が未設定状態である最上流のCMU1の制御部5aだけが、信号ライン8aから信号入力部5iへの入力が「Hiレベル」であることを検出し(図6のステップS23:YES)、設定信号が入力されたと判断する。   The control unit 5a of each of the CMUs 1 to 4 confirms whether or not the input from the signal lines 8a to 8d to the signal input unit 6i is “Hi level” after performing the initial setting in step S21 of FIG. Step S23). First, only the control unit 5a of the most upstream CMU 1 in which the management number is not set detects that the input from the signal line 8a to the signal input unit 5i is “Hi level” (step in FIG. 6). S23: YES), it is determined that the setting signal has been input.

そして、CMU1の制御部5aは、CANバス7を介してCAN通信部5cにより管理番号「1」を受信すると(ステップS22:YES)、当該管理番号「1」を記憶部5bに記憶させる(ステップS24)。これにより、CMU1に管理番号「1」が設定された状態となる(図7Aの(3))。   When receiving the management number “1” from the CAN communication unit 5c via the CAN bus 7 (step S22: YES), the control unit 5a of the CMU 1 stores the management number “1” in the storage unit 5b (step S22). S24). As a result, the management number “1” is set in the CMU 1 ((3) in FIG. 7A).

また、CMU1の制御部5aは、信号出力部5oから信号ライン8bへの出力を「Hiレベル」にする(図6のステップS26)。それから、CMU1の制御部5aは、該設定の完了を通知する特定情報として、設定した管理番号「1」をCAN通信部5cによりCANバス7を介してBMU6に返信する(ステップS25、図7Bの(4))。そして、CMU1の制御部5aは、CANバス7を介してCAN通信部5cにより特定情報「0」を受信するのを待つ(図6のステップS27)。   Further, the control unit 5a of the CMU 1 sets the output from the signal output unit 5o to the signal line 8b to “Hi level” (step S26 in FIG. 6). Then, the control unit 5a of the CMU 1 returns the set management number “1” as specific information for notifying the completion of the setting to the BMU 6 via the CAN bus 7 by the CAN communication unit 5c (Step S25, FIG. 7B). (4)). Then, the control unit 5a of the CMU 1 waits until the CAN communication unit 5c receives the specific information “0” via the CAN bus 7 (step S27 in FIG. 6).

BMU6の制御部6aは、対象の管理番号「1」をCANバス7を介してCAN通信部6cにより受信すると(図5のステップS17:YES)、信号出力部6oから信号ライン8aへの出力の「Hiレベル」を維持する(ステップS15)。それから、制御部6aは、管理番号を「2」に更新(+1)して、該管理番号「2」をCAN通信部6cによりCANバス7を介して各CMU1〜4に単発で送信する(ステップS14a、図7Bの(5))。この後、制御部6aは、ステップS16、S17を実行する。   When the control unit 6a of the BMU 6 receives the target management number “1” by the CAN communication unit 6c via the CAN bus 7 (step S17 in FIG. 5: YES), the output from the signal output unit 6o to the signal line 8a is performed. “Hi level” is maintained (step S15). Then, the control unit 6a updates the management number to “2” (+1), and transmits the management number “2” to each of the CMUs 1 to 4 via the CAN bus 7 by the CAN communication unit 6c (step). S14a, (5) of FIG. 7B). Thereafter, the control unit 6a executes steps S16 and S17.

ステップS15、S14a、S16、およびS17がこの順で、BMU6の制御部6aにより繰り返し実行されることで、管理番号が「2」、「3」、「4」と順次更新されて、各CMU1〜4に単発で送信される(図7Bの(5)、図7Cの(8)、図7Dの(11))。   By repeatedly executing steps S15, S14a, S16, and S17 in this order by the control unit 6a of the BMU 6, the management numbers are sequentially updated to “2”, “3”, “4”, and 4 is transmitted in one shot ((5) in FIG. 7B, (8) in FIG. 7C, (11) in FIG. 7D).

そして、上述したように図6のステップS23、S22、S24、S26、S25、およびS27をこの順で、CMU2〜4の制御部5aが実行することで、順次、CMU2〜4に管理番号「2」、「3」、「4」がそれぞれ設定される(図6のステップS24、図7Bの(6)、図7Cの(9)、図7Dの(12))。また、CMU2〜4の信号出力部5oから信号ライン8c〜8eを介して、Hiレベルの設定信号が下流側の隣接するCMU3、4またはBMU6に出力され(図6のステップS26)、管理番号がCANバス7を介してBMU6に返信される(図6のステップS25、図7Cの(7)、図7Dの(10)、図7Eの(13))。   Then, as described above, steps S23, S22, S24, S26, S25, and S27 of FIG. 6 are executed in this order by the control units 5a of the CMUs 2 to 4, thereby sequentially assigning the management numbers “2” to the CMUs 2 to 4. ”,“ 3 ”, and“ 4 ”are set (step S24 in FIG. 6, (6) in FIG. 7B, (9) in FIG. 7C, and (12) in FIG. 7D). Further, the Hi level setting signal is output from the signal output units 5o of the CMUs 2 to 4 to the adjacent CMUs 3 and 4 or BMU 6 on the downstream side via the signal lines 8c to 8e (step S26 in FIG. 6), and the management number is set. It is returned to the BMU 6 via the CAN bus 7 (step S25 in FIG. 6, (7) in FIG. 7C, (10) in FIG. 7D, (13) in FIG. 7E).

最下流のCMU4の信号出力部5oから信号ライン8eへの出力が「Hiレベル」になると(図6のステップS26、図7Eの(13))、BMU6の制御部6aが、信号ライン8eから信号入力部6iへの入力が「Loレベル」でないことを検出する(図5のステップS16:NO)。すると、制御部6aは、全CMU1〜4に対する管理番号の設定完了を通知するため、特定情報「0」をCAN通信部6cによりCANバス7を介して各CMU1〜4に単発で送信する(ステップS18a、図7Eの(14))。また、制御部6aは、信号出力部6oから信号ライン8aへの出力を「Loレベル」にする(図5のステップS19)。   When the output from the signal output unit 5o of the most downstream CMU 4 to the signal line 8e becomes "Hi level" (step S26 in FIG. 6, (13) in FIG. 7E), the control unit 6a of the BMU 6 transmits a signal from the signal line 8e. It is detected that the input to the input unit 6i is not “Lo level” (step S16 in FIG. 5: NO). Then, the control unit 6a transmits specific information “0” to each of the CMUs 1 to 4 through the CAN bus 7 by the CAN communication unit 6c in order to notify the completion of setting of the management numbers for all the CMUs 1 to 4 (step S1). S18a, (14) of FIG. 7E). Further, the control unit 6a sets the output from the signal output unit 6o to the signal line 8a to “Lo level” (step S19 in FIG. 5).

各CMU1〜4の制御部5aは、CANバス7を介してCAN通信部5cにより特定情報「0」を受信すると(図6のステップS27:YES)、信号出力部5oから信号ライン8b〜8eへの出力を「Loレベル」にする(ステップS28、図7Eの(15))。   When the control unit 5a of each CMU 1 to 4 receives the specific information “0” by the CAN communication unit 5c via the CAN bus 7 (step S27 in FIG. 6: YES), the signal output unit 5o to the signal lines 8b to 8e. Is set to “Lo level” (step S28, (15) in FIG. 7E).

上記第2実施形態によると、BMU6が、先に、信号ライン8aを介して設定信号をCMU1に入力することで、CMU1を管理番号の受信待機状態にする。このため、BMU6からCANバス7を介して単発で送信される管理番号を、CMU1で確実に受信して、記憶部5bに記憶させることができる。また、BMU6から管理番号を単発で送信するので、BMU6の処理負担を軽減することができる。   According to the second embodiment, the BMU 6 first inputs a setting signal to the CMU 1 via the signal line 8a, thereby putting the CMU 1 into a management number reception standby state. Therefore, the management number transmitted from the BMU 6 via the CAN bus 7 can be reliably received by the CMU 1 and stored in the storage unit 5b. Further, since the management number is transmitted from the BMU 6 in a single shot, the processing load on the BMU 6 can be reduced.

次に、第3実施形態の管理番号設定手順を、図8〜図10Fを参照しながら説明する。図8は、BMU6の動作手順を示し、図9は、各CMU1〜4の動作手順を示している。図10A〜図10Fは、信号の流れと管理番号の設定状況を示している。   Next, the management number setting procedure of the third embodiment will be described with reference to FIGS. FIG. 8 shows the operation procedure of the BMU 6, and FIG. 9 shows the operation procedure of each CMU 1-4. 10A to 10F show signal flows and management number setting states.

BMU6の制御部6aは、図8のステップS11、S12の実行後、付番開始トリガを検出すると(ステップS13:YES)、管理番号を「1」に更新(+1)して、該管理番号「1」をCANバス7を介して各CMU1〜4に単発で送信する(ステップS14a、図10Aの(1))。これにより、各CMU1〜4の制御部5aは、図9のステップS21の後、管理番号の未設定状態で、CANバス7を介して管理番号「1」を受信して(ステップS22:YES)、当該管理番号を制御部5aの内部メモリ(図示省略)で保持する(ステップS22a、図10Aの(2))。他の例として、管理番号を、記憶部5bにおける管理番号設定エリアとは別のエリアで保持してもよい。   When the control unit 6a of the BMU 6 detects the numbering start trigger after executing Steps S11 and S12 in FIG. 8 (Step S13: YES), the control number is updated to “1” (+1), and the management number “ 1 "is transmitted to each of the CMUs 1 to 4 through the CAN bus 7 (step S14a, (1) in FIG. 10A). Thereby, the control part 5a of each CMU1-4 receives management number "1" via the CAN bus 7 in the management number non-setting state after step S21 of FIG. 9 (step S22: YES). The management number is held in the internal memory (not shown) of the control unit 5a (step S22a, (2) in FIG. 10A). As another example, the management number may be held in an area different from the management number setting area in the storage unit 5b.

そして、BMU6の信号出力部6oから信号ライン8aへの出力が「Hiレベル」になると(図8のステップS15、図10Aの(3))、最上流のCMU1の信号入力部5iへの入力が「Hiレベル」になる(図9のステップS23:YES)。すると、CMU1の制御部5aが、設定信号が入力されたと判断し、保持している管理番号「1」を記憶部5bに記憶させる(ステップS24)。これにより、CMU1に管理番号「1」が設定された状態となる(図10Aの(3))。また、CMU1の制御部5aは、設定した管理番号「1」をBMU6にCANバス7を介して返信する(図9のステップS25、図10Bの(4))。   When the output from the signal output unit 6o of the BMU 6 to the signal line 8a becomes “Hi level” (step S15 in FIG. 8, (3) in FIG. 10A), the input to the signal input unit 5i of the most upstream CMU 1 is performed. It becomes “Hi level” (step S23 in FIG. 9: YES). Then, the control unit 5a of the CMU 1 determines that the setting signal has been input, and stores the held management number “1” in the storage unit 5b (step S24). As a result, the management number “1” is set in the CMU 1 ((3) in FIG. 10A). The control unit 5a of the CMU 1 returns the set management number “1” to the BMU 6 via the CAN bus 7 (step S25 in FIG. 9, (4) in FIG. 10B).

すると、BMU6の制御部6aは、信号ライン8eから信号入力部6iへの入力が「Loレベル」を維持している状態で(図8のステップS16:YES)、対象の管理番号「1」をCAN通信部6cにより受信する(ステップS17:YES)。そして、制御部6aは、管理番号を「2」に更新(+1)して、該管理番号「2」を各CMU1〜4にCANバス7を介して単発で送信する(ステップS14a、図10Bの(5))。   Then, the control unit 6a of the BMU 6 sets the target management number “1” while the input from the signal line 8e to the signal input unit 6i maintains “Lo level” (step S16 in FIG. 8: YES). Received by the CAN communication unit 6c (step S17: YES). Then, the control unit 6a updates (+1) the management number to “2”, and transmits the management number “2” to each CMU 1 to 4 through the CAN bus 7 (step S14a, FIG. 10B). (5)).

すると、CMU1の制御部5aが、CANバス7を介して管理番号「2」を受信して、該管理番号「2」が設定済みの管理番号「1」から変化したことを検出する(図9のステップS25a:YES)。そして、CMU1の制御部5aは、信号出力部5oから信号ライン8bへの出力を「Hiレベル」にして(ステップS26、図10Bの(6))、CANバス7を介して特定情報「0」を受信するのを待つ(ステップS27)。   Then, the control unit 5a of the CMU 1 receives the management number “2” via the CAN bus 7 and detects that the management number “2” has changed from the set management number “1” (FIG. 9). Step S25a: YES). Then, the control unit 5a of the CMU 1 sets the output from the signal output unit 5o to the signal line 8b to “Hi level” (step S26, (6) in FIG. 10B), and specifies the specific information “0” via the CAN bus 7. Is received (step S27).

他のCMU2〜4の制御部5aは、ステップS22aの後、信号ライン8b〜8dから信号入力部5iへの入力が「Hiレベル」でなければ(ステップS23:NO)、設定信号が入力されていないと判断する。そして、信号ライン8b〜8dを介して、信号入力部5iにHiレベルの設定信号が入力されるまでに、再度CANバス7を介して管理番号を受信すると(ステップS22:YES)、保持している管理番号を更新する(ステップS22a、図10Bの(5)、図10Cの(8)、図10Dの(11))。   The control unit 5a of the other CMUs 2 to 4 receives the setting signal if the input from the signal lines 8b to 8d to the signal input unit 5i is not “Hi level” after step S22a (step S23: NO). Judge that there is no. When the management number is received again via the CAN bus 7 until the Hi level setting signal is input to the signal input unit 5i via the signal lines 8b to 8d (step S22: YES), the management number is retained. The management number is updated (step S22a, (5) in FIG. 10B, (8) in FIG. 10C, (11) in FIG. 10D).

この後、CMU2〜4の制御部5aは、信号ライン8b〜8dから信号入力部5iへの入力が「Hiレベル」になると(図9のステップS23:YES、図10Bの(6)、図10Cの(9)、図10Dの(12))、保持している管理番号を記憶部5bに記憶させる(図9のステップS24)。これにより、CMU2〜4に管理番号「2」、「3」、「4」がそれぞれ設定された状態となる。   Thereafter, when the inputs from the signal lines 8b to 8d to the signal input unit 5i become “Hi level” (Step S23 in FIG. 9: YES, (6) in FIG. 10B, FIG. 10C) (9), (12) in FIG. 10D), the stored management number is stored in the storage unit 5b (step S24 in FIG. 9). As a result, the management numbers “2”, “3”, and “4” are set in the CMUs 2 to 4, respectively.

また、CMU2〜4の制御部5aは、順次、設定した管理番号「2」、「3」、「4」をBMU6にCANバス7を介して返信する(図9のステップS25、図10Cの(7)、図10Dの(10)、図10Eの(13))。これにより、BMU6の制御部6aが、CANバス7を介して、対象の管理番号「2」、「3」、「4」を受信し(図8のステップS17:YES)、管理番号を「3」、「4」、「5」に更新(+1)して、順次、各CMU1〜4に単発で送信する(ステップS14a、図10Cの(8)、図10Dの(11)、図10Eの(14))。   Further, the control units 5a of the CMUs 2 to 4 sequentially return the set management numbers “2”, “3”, and “4” to the BMU 6 via the CAN bus 7 (step S25 in FIG. 9, ( 7), (10) in FIG. 10D, (13) in FIG. 10E). As a result, the control unit 6a of the BMU 6 receives the target management numbers “2”, “3”, and “4” via the CAN bus 7 (step S17 in FIG. 8: YES), and sets the management number to “3”. ”,“ 4 ”, and“ 5 ”(+1) and sequentially transmit to each CMU 1 to 4 (Step S14a, (8) in FIG. 10C, (11) in FIG. 10D, ( 14)).

そして、CMU2〜4の制御部5aが、CANバス7を介して管理番号「3」、「4」、「5」を受信して、該管理番号の変化を検出すると(図9のステップS25a:YES)、信号出力部5oから信号ライン8c〜8eへの出力を「Hiレベル」にする(ステップS26、図10Cの(9)、図10Dの(12)、図10Eの(15))。   When the control units 5a of the CMUs 2 to 4 receive the management numbers “3”, “4”, and “5” via the CAN bus 7, and detect changes in the management numbers (step S25a in FIG. 9: YES), the output from the signal output unit 5o to the signal lines 8c to 8e is set to "Hi level" (step S26, (9) in FIG. 10C, (12) in FIG. 10D, (15) in FIG. 10E).

この後、BMU6の制御部6aが、信号入力部6iへの入力が「Loレベル」でないのを検出して(図8のステップS16:NO)、特定情報「0」を各CMU1〜4に単発で送信し(ステップS18a、図10Fの(16))、信号ライン8aへの出力を「Loレベル」にする(図8のステップS19)。そして、各CMU1〜4の制御部5aが、CANバス7を介して特定情報「0」を受信すると(図9のステップS27:YES)、信号ライン8b〜8eへの出力を「Loレベル」にする(ステップS28、図10Fの(17))。   Thereafter, the control unit 6a of the BMU 6 detects that the input to the signal input unit 6i is not “Lo level” (step S16: NO in FIG. 8), and the specific information “0” is sent to each of the CMUs 1 to 4 once. (Step S18a, (16) in FIG. 10F), and the output to the signal line 8a is set to “Lo level” (step S19 in FIG. 8). When the control unit 5a of each of the CMUs 1 to 4 receives the specific information “0” via the CAN bus 7 (step S27 in FIG. 9: YES), the outputs to the signal lines 8b to 8e are set to “Lo level”. (Step S28, (17) in FIG. 10F).

上記第3実施形態によると、各CMU1〜4は、CANバス7を介して、設定した管理番号をBMU6に返信してから、BMU6で更新された管理番号を受信した場合に、信号ライン8b〜8eを介して設定信号を出力する。このため、BMU6が当該CMU1〜4に対する管理番号の設定完了を認識したことを、当該CMU1〜4で確認してから、下流側の隣接するCMU2〜4またはBMU6に設定信号を出力することができる。   According to the third embodiment, when each of the CMUs 1 to 4 returns the set management number to the BMU 6 via the CAN bus 7 and receives the management number updated by the BMU 6, the signal lines 8b to A setting signal is output via 8e. For this reason, after confirming that the setting of the management number for the CMU 1 to 4 is recognized by the BMU 6, the setting signal can be output to the adjacent CMU 2 to 4 or the BMU 6 on the downstream side. .

また、各CMU1〜4は、管理番号の未設定状態で、CANバス7を介して管理番号を受信すると、当該管理番号を保持し、再度管理番号を受信すると、保持している管理番号を更新する。そして、信号ライン8a〜8dを介して設定信号が入力されたときに、保持または更新した管理番号を記憶部5bに記憶させる。このため、BMU6から管理番号を単発で送信しても、CMU1〜4で、設定信号が入力されるまで、当該管理番号が保持または更新され、設定信号が入力されたときに、保持または更新された管理番号を確実に設定することができる。   Each of the CMUs 1 to 4 holds the management number when receiving the management number via the CAN bus 7 in a state where the management number is not set, and updates the held management number when receiving the management number again. To do. When the setting signal is input via the signal lines 8a to 8d, the management number held or updated is stored in the storage unit 5b. For this reason, even if the management number is transmitted from the BMU 6 in a single shot, the management number is held or updated by the CMU 1 to 4 until the setting signal is input, and is held or updated when the setting signal is input. The management number can be set reliably.

本発明は、上述した以外にも種々の実施形態を採用することができる。たとえば、上記実施形態では、BMU6から各CMU1〜4に特定情報「0」が送信されてから(図2のステップS18、図5および図8のステップS18a)、BMU6から信号ライン8aへの出力を「Loレベル」にした(図2、図5、および図8のステップS19)例を示したが、本発明はこれに限るものではない。これ以外に、たとえば、BMU6への信号ライン8eによる入力が「Hiレベル」になってから(図2、図5、および図8のステップS16:NO)、所定時間経過後に、BMU6から信号ライン8aへの出力を「Loレベル」にしてもよい。   The present invention can employ various embodiments other than those described above. For example, in the above embodiment, after the specific information “0” is transmitted from the BMU 6 to each of the CMUs 1 to 4 (step S18 in FIG. 2, step S18a in FIGS. 5 and 8), the output from the BMU 6 to the signal line 8a is output. Although the example of “Lo level” (step S19 in FIGS. 2, 5, and 8) is shown, the present invention is not limited to this. In addition to this, for example, after the input through the signal line 8e to the BMU 6 becomes “Hi level” (step S16: NO in FIGS. 2, 5, and 8), the signal line 8a is transmitted from the BMU 6 after a predetermined time has elapsed. The output may be “Lo level”.

また、その場合、図3、図6、および図9のステップS27に代えて、各CMU1〜4で、信号ライン8a〜8dによる入力が「Loレベル」になったときに、信号ライン8b〜8eによる出力を「Loレベル」にすればよい。   In this case, instead of step S27 in FIGS. 3, 6, and 9, when the input from the signal lines 8a to 8d becomes “Lo level” in each of the CMUs 1 to 4, the signal lines 8b to 8e. The output according to may be set to “Lo level”.

また、上記実施形態では、BMU6が上位ECU9から付番開始指示を受信したことをもって、付番開始トリガとした例を示したが、本発明はこれに限るものではない。これ以外に、たとえば、BMU6に操作キーを設けて、該操作キーが操作されたことをもって、付番開始トリガとしてもよい。また、電源投入から所定時間が経過したことをもって、付番開始トリガとしてもよい。   In the above-described embodiment, an example is shown in which the BMU 6 receives a numbering start instruction from the host ECU 9 and is used as a numbering start trigger. However, the present invention is not limited to this. In addition to this, for example, an operation key may be provided in the BMU 6 and the numbering start trigger may be generated when the operation key is operated. Alternatively, a numbering start trigger may be generated when a predetermined time has elapsed since the power was turned on.

また、上記実施形態では、CMU1〜4が管理番号の設定完了を通知する第1特定情報として、設定した管理番号をBMU6に返信した例を示したが、本発明はこれに限るものではない。これ以外に、たとえば、予め設定された管理番号の設定完了を示す番号や符号などの第1特定情報を、CMU1〜4からBMU6に返信してもよい。また、当該特定情報は、CMU1〜4で同一でもよいし、CMU1〜4ごとに異なっていてもよい。   In the above-described embodiment, the CMU 1 to 4 show an example in which the set management number is returned to the BMU 6 as the first specific information for notifying the completion of the setting of the management number. However, the present invention is not limited to this. In addition to this, for example, first specific information such as a number or a code indicating completion of setting a management number set in advance may be returned from the CMUs 1 to 4 to the BMU 6. Moreover, the said specific information may be the same in CMU1-4, and may differ for every CMU1-4.

また、上記実施形態では、4つのCMU1〜4を設けた例を示したが、本発明はこれに限るものではなく、端末装置の設置数は、2つでも、3つでも、5つ以上でもよい。   Moreover, although the example which provided four CMU1-4 was shown in the said embodiment, this invention is not limited to this, The number of installation of a terminal device is two, three, five or more Good.

また、上記実施形態では、BMU6とCMU1〜4を並列に接続するために、CANバス7を用いた例を示したが、本発明はこれに限るものではなく、CANバス7以外のバスを用いてもよい。   In the above embodiment, an example in which the CAN bus 7 is used to connect the BMU 6 and the CMUs 1 to 4 in parallel has been described. However, the present invention is not limited to this, and a bus other than the CAN bus 7 is used. May be.

さらに、上記実施形態では、電気自動車に搭載される組電池用のBMU6とCMU1〜4から成る管理番号設定システム100に、本発明を適用した例を挙げたが、これ以外の用途に使用される管理装置と複数の端末装置から成る管理番号設定システムに対しても、本発明を適用することは可能である。   Furthermore, in the said embodiment, although the example which applied this invention to the management number setting system 100 which consists of BMU6 and CMU1-4 for assembled batteries mounted in an electric vehicle was given, it is used for uses other than this. The present invention can also be applied to a management number setting system including a management device and a plurality of terminal devices.

1、2、3、4 CMU(端末装置)
5b 記憶部
5c CAN通信部(第2バス通信部)
5i 信号入力部(第2信号入力部)
5o 信号出力部(第2信号出力部)
6 BMU(管理装置)
6c CAN通信部(第1バス通信部)
6i 信号入力部(第1信号入力部)
6o 信号出力部(第1信号出力部)
7 CANバス
8a、信号ライン(第1信号ライン)
8b、8c、8d、信号ライン(第3信号ライン)
8e 信号ライン(第2信号ライン)
100 管理番号設定システム
1, 2, 3, 4 CMU (terminal equipment)
5b Storage unit 5c CAN communication unit (second bus communication unit)
5i signal input unit (second signal input unit)
5o signal output unit (second signal output unit)
6 BMU (management device)
6c CAN communication unit (first bus communication unit)
6i signal input unit (first signal input unit)
6o Signal output unit (first signal output unit)
7 CAN bus 8a, signal line (first signal line)
8b, 8c, 8d, signal line (third signal line)
8e Signal line (second signal line)
100 Control number setting system

Claims (12)

第1信号出力部、第1信号入力部、および第1バス通信部を備えた管理装置と、
第2信号出力部、第2信号入力部、第2バス通信部、および記憶部を備えた複数の端末装置と、から成り、
前記管理装置と前記各端末装置はバスを介して接続され、
前記複数の端末装置のうち、
最上流にある端末装置の第2信号入力部は、前記管理装置の第1信号出力部と第1信号ラインで接続され、
最下流にある端末装置の第2信号出力部は、前記管理装置の第1信号入力部と第2信号ラインで接続され、
隣接する端末装置の第2信号出力部と第2信号入力部は、第3信号ラインで接続され、
前記管理装置が前記複数の端末装置に対して、各端末装置の管理番号を設定する管理番号設定システムにおいて、
前記管理装置は、第1バス通信部から前記各端末装置に、前記バスを介して管理番号を送信し、かつ、第1信号出力部から前記最上流の端末装置に、第1信号ラインを介して、管理番号を設定するための設定信号を出力し、
前記各端末装置は、前記記憶部に管理番号が未設定の状態で、第1または第3信号ラインを介して第2信号入力部に前記設定信号が入力され、かつ、前記バスを介して第2バス通信部が管理番号を受信した場合に、当該管理番号を前記記憶部に記憶させることにより設定して、該設定の完了を通知する第1特定情報を前記管理装置に前記バスを介して返信し、かつ、隣接する端末装置または前記管理装置に、第3または第2信号ラインを介して、第2信号出力部から前記設定信号を出力し、
前記管理装置は、第1バス通信部が前記端末装置からの前記第1特定情報を受信した場合に、管理番号を更新して、当該更新された管理番号を前記バスを介して前記各端末装置に送信する、ことを特徴とする管理番号設定システム。
A management device including a first signal output unit, a first signal input unit, and a first bus communication unit;
A plurality of terminal devices including a second signal output unit, a second signal input unit, a second bus communication unit, and a storage unit;
The management device and each terminal device are connected via a bus,
Among the plurality of terminal devices,
The second signal input unit of the terminal device at the most upstream is connected to the first signal output unit of the management device via a first signal line,
The second signal output unit of the terminal device located on the most downstream side is connected to the first signal input unit of the management device via a second signal line,
The second signal output unit and the second signal input unit of the adjacent terminal device are connected by a third signal line,
In the management number setting system in which the management device sets the management number of each terminal device for the plurality of terminal devices,
The management device transmits a management number from the first bus communication unit to each terminal device via the bus, and from the first signal output unit to the most upstream terminal device via the first signal line. Output a setting signal to set the control number,
Each terminal device has the management number not set in the storage unit, the setting signal is input to the second signal input unit via the first or third signal line, and When the 2-bus communication unit receives the management number, the management number is set by storing the management number in the storage unit, and first specific information for notifying the completion of the setting is sent to the management device via the bus. Replies and outputs the setting signal from the second signal output unit to the adjacent terminal device or the management device via the third or second signal line,
When the first bus communication unit receives the first specific information from the terminal device, the management device updates a management number, and the updated management number is transmitted to each terminal device via the bus. A management number setting system, characterized by:
請求項1に記載の管理番号設定システムにおいて、
前記管理装置は、第1信号入力部に前記設定信号が入力された場合に、管理番号ではない第2特定情報を前記各端末装置に前記バスを介して送信し、かつ、第1信号出力部からの前記設定信号の出力を停止し、
前記各端末装置は、管理番号を前記記憶部に記憶させた後、前記バスを介して前記第2特定情報を受信した場合に、第2信号出力部からの前記設定信号の出力を停止する、ことを特徴とする管理番号設定システム。
In the management number setting system according to claim 1,
When the setting signal is input to the first signal input unit, the management device transmits second identification information that is not a management number to each terminal device via the bus, and the first signal output unit Stop the output of the setting signal from
Each terminal device stores the management number in the storage unit, and then stops outputting the setting signal from the second signal output unit when the second specific information is received via the bus. A management number setting system characterized by that.
請求項1または請求項2に記載の管理番号設定システムにおいて、
前記各端末装置は、受信した管理番号を前記記憶部に記憶させて、当該管理番号を前記管理装置に返信した後、前回と異なる管理番号を受信した場合に、第2信号出力部から前記設定信号を出力する、ことを特徴とする管理番号設定システム。
In the management number setting system according to claim 1 or 2,
Each terminal device stores the received management number in the storage unit, returns the management number to the management device, and then receives the management number different from the previous one, the setting is made from the second signal output unit. A management number setting system characterized by outputting a signal.
請求項1ないし請求項3のいずれかに記載の管理番号設定システムにおいて、
前記管理装置は、先ず、第1信号出力部から前記設定信号を出力し、その後、前記バスを介して前記各端末装置に管理番号を単発で送信する、ことを特徴とする管理番号設定システム。
In the management number setting system according to any one of claims 1 to 3,
The management apparatus first outputs the setting signal from a first signal output unit, and then transmits a management number to each terminal apparatus via the bus in a single shot.
請求項1ないし請求項3のいずれかに記載の管理番号設定システムにおいて、
前記各端末装置は、前記記憶部に管理番号が未設定の状態で、前記バスを介して管理番号を受信すると、当該管理番号を保持し、この後、第2信号入力部に前記設定信号が入力されるまでに、再度前記バスを介して管理番号を受信すると、保持している管理番号を更新し、第2信号入力部に前記設定信号が入力されると、前記保持または更新した管理番号を前記記憶部に記憶させる、ことを特徴とする管理番号設定システム。
In the management number setting system according to any one of claims 1 to 3,
When each terminal device receives a management number via the bus in a state where a management number is not set in the storage unit, the terminal device holds the management number. Thereafter, the setting signal is sent to the second signal input unit. When the management number is received again via the bus before being inputted, the held management number is updated, and when the setting signal is inputted to the second signal input unit, the held or updated management number is updated. Is stored in the storage unit.
複数の端末装置とバスを介して接続され、前記複数の端末装置に対して、各端末装置の管理番号を設定する装置であって、
管理番号を設定するための設定信号を前記端末装置へ出力する信号出力部と、
前記端末装置から送られてくる設定信号が入力される信号入力部と、
前記バスを介して前記端末装置と通信するバス通信部と、を備え、
前記信号出力部が、最上流にある端末装置に第1信号ラインで接続され、
前記信号入力部が、最下流にある端末装置に第2信号ラインで接続された管理装置において、
前記バス通信部から前記各端末装置に、前記バスを介して管理番号を送信し、かつ、前記信号出力部から前記最上流の端末装置に、第1信号ラインを介して前記設定信号を出力し、
前記管理番号の受信と前記設定信号の入力に基づいて管理番号を設定した前記端末装置から、該設定の完了を通知する第1特定情報を前記バス通信部が受信し、
前記バス通信部が前記端末装置からの前記第1特定情報を受信した場合に、管理番号を更新して、当該更新された管理番号を前記バスを介して前記各端末装置に送信する、ことを特徴とする管理装置。
A device that is connected to a plurality of terminal devices via a bus and sets a management number of each terminal device for the plurality of terminal devices,
A signal output unit for outputting a setting signal for setting a management number to the terminal device;
A signal input unit to which a setting signal sent from the terminal device is input;
A bus communication unit that communicates with the terminal device via the bus,
The signal output unit is connected to a terminal device at the most upstream through a first signal line,
In the management device in which the signal input unit is connected to the terminal device located on the most downstream side by the second signal line,
A management number is transmitted from the bus communication unit to each terminal device via the bus, and the setting signal is output from the signal output unit to the most upstream terminal device via a first signal line. ,
The bus communication unit receives first specific information for notifying completion of the setting from the terminal device that has set the management number based on the reception of the management number and the input of the setting signal,
When the bus communication unit receives the first specific information from the terminal device, the management number is updated, and the updated management number is transmitted to the terminal devices via the bus. Management device characterized.
請求項6に記載の管理装置において、
前記最下流の端末装置から第2信号ラインを介して、前記信号入力部に前記設定信号が入力された場合に、管理番号ではない第2特定情報を前記各端末装置に前記バスを介して送信し、かつ、前記信号出力部からの前記設定信号の出力を停止する、ことを特徴とする管理装置。
The management device according to claim 6,
When the setting signal is input to the signal input unit from the most downstream terminal device via the second signal line, second identification information that is not a management number is transmitted to each terminal device via the bus. And the output of the setting signal from the signal output unit is stopped.
請求項6または請求項7に記載の管理装置において、
先ず、前記信号出力部から前記設定信号を出力し、その後、前記バスを介して前記各端末装置に管理番号を単発で送信する、ことを特徴とする管理装置。
In the management device according to claim 6 or 7,
First, the setting signal is output from the signal output unit, and then a management number is transmitted to each terminal device via the bus in a single shot.
バスを介して管理装置と接続され、前記管理装置により管理番号がそれぞれ設定される複数の端末装置であって、
各端末装置は、
管理番号を設定するための設定信号を出力する信号出力部と、
前記管理装置または隣接する端末装置からの前記設定信号が入力される信号入力部と、
前記バスを介して前記管理装置と通信するバス通信部と、
管理番号が設定される記憶部と、を備え、
最上流にある端末装置の信号入力部は、前記管理装置に第1信号ラインで接続され、
最下流にある端末装置の信号出力部は、前記管理装置に第2信号ラインで接続され、
隣接する端末装置の信号出力部と信号入力部は、第3信号ラインで接続され、
前記管理装置により、前記設定信号が前記第1信号ラインを介して出力され、かつ、前記管理番号が前記バスを介して送信された後、
前記記憶部に管理番号が未設定の状態で、前記第1または第3信号ラインを介して前記信号入力部に前記設定信号が入力され、かつ、前記バスを介して前記バス通信部が管理番号を受信した場合に、当該管理番号を前記記憶部に記憶させることにより設定して、該設定の完了を通知する第1特定情報を前記管理装置に前記バスを介して返信し、かつ、隣接する端末装置または前記管理装置に、前記第3または第2信号ラインを介して、前記信号出力部から前記設定信号を出力する、ことを特徴とする端末装置。
A plurality of terminal devices connected to a management device via a bus, each of which has a management number set by the management device;
Each terminal device
A signal output unit for outputting a setting signal for setting a management number;
A signal input unit to which the setting signal from the management device or an adjacent terminal device is input;
A bus communication unit that communicates with the management device via the bus;
A storage unit in which a management number is set,
The signal input unit of the terminal device at the most upstream is connected to the management device via a first signal line,
The signal output unit of the terminal device at the most downstream is connected to the management device via a second signal line,
The signal output unit and the signal input unit of the adjacent terminal device are connected by the third signal line,
After the setting signal is output by the management device via the first signal line and the management number is transmitted via the bus,
When the management number is not set in the storage unit, the setting signal is input to the signal input unit via the first or third signal line, and the bus communication unit is assigned a management number via the bus. Is set by storing the management number in the storage unit, the first specific information notifying the completion of the setting is returned to the management device via the bus, and adjacent The terminal device, wherein the setting signal is output from the signal output unit to the terminal device or the management device via the third or second signal line.
請求項9に記載の端末装置において、
管理番号を前記記憶部に記憶させた後、前記管理装置から送信された管理番号ではない第2特定情報を受信した場合に、前記信号出力部からの前記設定信号の出力を停止する、ことを特徴とする端末装置。
The terminal device according to claim 9,
After storing the management number in the storage unit, when receiving the second specific information that is not the management number transmitted from the management device, stopping the output of the setting signal from the signal output unit, Characteristic terminal device.
請求項9または請求項10に記載の端末装置において、
受信した管理番号を前記記憶部に記憶させて、当該管理番号を前記管理装置に返信した後、前回と異なる管理番号を受信した場合に、前記信号出力部から前記設定信号を出力する、ことを特徴とする端末装置。
In the terminal device according to claim 9 or 10,
Storing the received management number in the storage unit, returning the management number to the management device, and then receiving the management number different from the previous one, outputting the setting signal from the signal output unit; Characteristic terminal device.
請求項9ないし請求項11のいずれかに記載の端末装置において、
前記記憶部に管理番号が未設定の状態で、前記バスを介して管理番号を受信すると、当該管理番号を保持し、この後、前記信号入力部に前記設定信号が入力されるまでに、再度前記バスを介して管理番号を受信すると、保持している管理番号を更新し、前記信号入力部に前記設定信号が入力されると、前記保持または更新した管理番号を前記記憶部に記憶させる、ことを特徴とする端末装置。
The terminal device according to any one of claims 9 to 11,
When a management number is received through the bus in a state where a management number has not been set in the storage unit, the management number is retained, and thereafter, again until the setting signal is input to the signal input unit. When the management number is received via the bus, the held management number is updated, and when the setting signal is input to the signal input unit, the held or updated management number is stored in the storage unit. A terminal device characterized by that.
JP2012163691A 2012-07-24 2012-07-24 Management number setting system, management device, and terminal device Pending JP2014027341A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012163691A JP2014027341A (en) 2012-07-24 2012-07-24 Management number setting system, management device, and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012163691A JP2014027341A (en) 2012-07-24 2012-07-24 Management number setting system, management device, and terminal device

Publications (1)

Publication Number Publication Date
JP2014027341A true JP2014027341A (en) 2014-02-06

Family

ID=50200648

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012163691A Pending JP2014027341A (en) 2012-07-24 2012-07-24 Management number setting system, management device, and terminal device

Country Status (1)

Country Link
JP (1) JP2014027341A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03225547A (en) * 1990-01-31 1991-10-04 Alpine Electron Inc Address setting method for terminal
JP2532706B2 (en) * 1990-02-16 1996-09-11 アルパイン株式会社 Terminal address setting method
JPH1065716A (en) * 1996-08-23 1998-03-06 Toshiba Corp Data transmitting device
JP2001223721A (en) * 2000-02-08 2001-08-17 Meidensha Corp Address setting method of communication system
JP4133117B2 (en) * 2002-08-26 2008-08-13 アルパイン株式会社 Terminal device address setting method, network system, and terminal device
JP2010061939A (en) * 2008-09-03 2010-03-18 Omron Corp Multi-cell battery system and method for applying management number

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03225547A (en) * 1990-01-31 1991-10-04 Alpine Electron Inc Address setting method for terminal
JP2532706B2 (en) * 1990-02-16 1996-09-11 アルパイン株式会社 Terminal address setting method
JPH1065716A (en) * 1996-08-23 1998-03-06 Toshiba Corp Data transmitting device
JP2001223721A (en) * 2000-02-08 2001-08-17 Meidensha Corp Address setting method of communication system
JP4133117B2 (en) * 2002-08-26 2008-08-13 アルパイン株式会社 Terminal device address setting method, network system, and terminal device
JP2010061939A (en) * 2008-09-03 2010-03-18 Omron Corp Multi-cell battery system and method for applying management number

Similar Documents

Publication Publication Date Title
JP6320544B2 (en) Method for processing impedance abnormality of power adapter, terminal and charging circuit
CN108088045B (en) Air conditioner communication mode switching method, air conditioner and readable storage medium
JP2008099482A (en) Battery pack block, battery pack system, and address setting method for battery pack system
EP2771939A1 (en) Distributed batterry management system and method of identification distribution using the same
CN102025562A (en) Path detection method and device
CN104025421A (en) Method and apparatus of master selection logic in ups parallel system
JP2015122732A (en) On-vehicle sensor, on-vehicle sensor system, and identifier setting method for on-vehicle sensor in on-vehicle sensor system
CN109560835B (en) Power communication multi-channel monitoring method and device, computer equipment and storage medium
JP2015179888A (en) Communication system and repeating device
JP2017016656A (en) Network facility having intelligent type power arrangement function
JP6654518B2 (en) Information processing system, battery module, control method, and program
US10659536B2 (en) Method of controlling inverters
CN106534342B (en) Connect control method, host and system
CN106161086A (en) Control method that master control borad is restarted and device
JP2014027341A (en) Management number setting system, management device, and terminal device
CN105373422A (en) Method for controlling terminal device to enter downloading mode, terminal device and computer device
JP5155765B2 (en) Communications system
CN108650666B (en) Method and device for Bluetooth two-way data transmission
JP4918065B2 (en) Node equipment
JPWO2018155271A1 (en) Battery module, control method, program, and information processing system
KR102104967B1 (en) Duplicated board setting method and the board thereof
US10770907B2 (en) Battery device and control method thereof
JP2016064705A (en) On-vehicle sensor and on-vehicle sensor system
JP2010146363A (en) System switching system of duplex programmable controller
JP2016171729A (en) Charge control system, charge storage device and charge control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140213

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140926

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20141007

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20150224