[go: up one dir, main page]

JP2010006304A - Communication device - Google Patents

Communication device Download PDF

Info

Publication number
JP2010006304A
JP2010006304A JP2008170409A JP2008170409A JP2010006304A JP 2010006304 A JP2010006304 A JP 2010006304A JP 2008170409 A JP2008170409 A JP 2008170409A JP 2008170409 A JP2008170409 A JP 2008170409A JP 2010006304 A JP2010006304 A JP 2010006304A
Authority
JP
Japan
Prior art keywords
control device
command
data
abnormality
address
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
JP2008170409A
Other languages
Japanese (ja)
Inventor
Takehiko Shimizu
竹彦 清水
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.)
Marelli Corp
Original Assignee
Calsonic Kansei 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 Calsonic Kansei Corp filed Critical Calsonic Kansei Corp
Priority to JP2008170409A priority Critical patent/JP2010006304A/en
Publication of JP2010006304A publication Critical patent/JP2010006304A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Electric Propulsion And Braking For Vehicles (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a communication device capable of more quickly exchanging information between a high-order control device and low-order control devices by constituting the low-order control devices to communicate with the high-order control device on the most upstream side and the most downstream side, even if there are many low-order control devices. <P>SOLUTION: A CPU 5 is provided with an overcharge state detection command 204 and an overdischarge state detection command 205, etc. to transmit addresses of the control devices IC 1 to IC 24 on the most downstream side of the control devices IC 1 to IC 24 detected with abnormalities, and a through-setting 203 for detecting abnormalities in which the control devices IC 1 to IC 24 located on a downstream side from array positions of the designated addresses only transmit data to an upstream side, and are prevented from performing command operations of the overcharge state detection command 204 and the overdischarge state detection command 205, etc. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、複数間で通信を行う通信装置の技術分野に属する。   The present invention belongs to the technical field of communication devices that perform communication between a plurality of communication devices.

従来では、所定数が直列された単電池の所定数ごとに、下位制御装置を設け、この複数設けられる下位制御装置と上位制御装置とがフォトカプラで通信を行い、下位制御装置により単電池群を制御し、電気自動車或いはハイブリッド自動車に用いられる二次電池装置を制御している。そして、下位制御装置同士で通信を行い、最上流及び最下流の下位制御装置が上位制御装置と通信を行っている(例えば、特許文献1参照。)。
特開2003−70179号公報(第2−14頁、全図)
Conventionally, a low-order control device is provided for each predetermined number of cells in which a predetermined number is connected in series, and the plurality of low-order control devices and the high-order control device communicate with each other by a photocoupler. To control a secondary battery device used for an electric vehicle or a hybrid vehicle. The lower level control devices communicate with each other, and the uppermost and lowermost lower level control devices communicate with the higher level control device (see, for example, Patent Document 1).
JP 2003-70179 A (page 2-14, full view)

しかしながら、従来にあっては、下位制御装置の多い場合に、最上流と最下流で上位制御装置と通信する構成では、上位と下位との情報のやり取りが遅くなることが問題であった。   However, conventionally, when there are many lower-level control devices, in the configuration in which communication is performed with the upper-level control device at the uppermost stream and the lowermost-stream, the exchange of information between the upper level and the lower level is a problem.

本発明は、上記問題点に着目してなされたもので、その目的とするところは、下位制御装置が多い場合であっても、最上流と最下流で上位制御装置と通信する構成で、上位と下位との情報のやり取りをより速く行うことができる通信装置を提供することにある。   The present invention has been made paying attention to the above-mentioned problems, and the object of the present invention is to communicate with the upper control device at the most upstream and the most downstream, even when there are many lower control devices. It is an object of the present invention to provide a communication device that can exchange information with a lower level more quickly.

上記目的を達成するため、本発明では、上下直列に複数または多数配置され、一つ下流側から受信し、一つ上流側へ送信する通信を行う従属側制御装置と、最下流に位置する従属側制御装置へ送信し、最上流に位置する従属側制御装置から受信することにより、複数または多数の従属側制御装置との通信を行う主制御装置を有し、主制御装置の通信制御に前記従属側制御装置が従って応答又は動作することにより、通信網を構成する通信装置において、どの従属側制御装置かを識別するように、上下配列に関連付けして設定した識別データを設け、前記主制御装置は、所定条件に該当する前記従属側制御装置のうち最下流の前記従属側制御装置の前記識別データを送信させる所定条件検出指令と、指定した識別データの配列位置から下流に位置する前記従属側制御装置は、上流にデータを送るのみで、前記所定条件検出指令の指令動作を行わなくさせるスルー設定指令と、を備えたことを特徴とする。   In order to achieve the above object, in the present invention, a plurality or a plurality of units are arranged in series in the vertical direction, and a subordinate control device that performs communication for receiving from one downstream side and transmitting to one upstream side, and a subordinate located at the most downstream side. A main control device that communicates with a plurality or a plurality of subordinate control devices by transmitting to the subordinate control device and receiving from the subordinate control device located at the most upstream, and for communication control of the main control device The main control is provided with identification data set in association with the upper and lower arrays so as to identify which subordinate control device in the communication device constituting the communication network when the subordinate control device responds or operates accordingly. The apparatus includes a predetermined condition detection command for transmitting the identification data of the subordinate control apparatus, which is the most downstream among the subordinate control apparatuses corresponding to the predetermined condition, and a downstream position from the arrangement position of the specified identification data. It said dependent side control device that is only send data upstream, characterized in that and a through-setting instruction to not perform the command operation of the predetermined condition detection command.

よって、本発明にあっては、下位制御装置が多い場合であっても、最上流と最下流で上位制御装置と通信する構成で、上位と下位との情報のやり取りをより速く行うことができる。   Therefore, in the present invention, even when there are a large number of lower-level control devices, it is possible to exchange information between the higher-order and the lower-order faster with a configuration in which communication is performed with the upper-level control device at the most upstream and the most downstream. .

以下、本発明の通信装置を実現する実施の形態を、請求項1,2,3,6に係る発明に対応する実施例1と、請求項1,2,3,4に係る発明に対応する実施例2と、請求項5に係る発明に対応する実施例3とに基づいて説明する。   Hereinafter, the embodiment for realizing the communication device of the present invention corresponds to the first embodiment corresponding to the invention according to claims 1, 2, 3 and 6, and the invention according to claims 1, 2, 3 and 4. A description will be given based on Example 2 and Example 3 corresponding to the invention according to claim 5.

まず、構成を説明する。
図1は実施例1の通信装置を用いたバッテリシステムの概略図である。
実施例1では、通信装置はバッテリコントローラ1の内部に設けられ、二次電池であるバッテリ2の充放電等の制御に関する通信を行う。
実施例1のバッテリコントローラ1、バッテリ2は、電気自動車又はハイブリッド車のように車両の駆動に用いるものである。そのため、負荷6は例えば駆動用モータ及びモータ駆動用のインバータ等となる。
First, the configuration will be described.
FIG. 1 is a schematic diagram of a battery system using the communication device of the first embodiment.
In the first embodiment, the communication device is provided inside the battery controller 1 and performs communication related to control such as charging and discharging of the battery 2 that is a secondary battery.
The battery controller 1 and the battery 2 according to the first embodiment are used for driving a vehicle like an electric vehicle or a hybrid vehicle. Therefore, the load 6 is, for example, a drive motor and a motor drive inverter.

図2は、実施例1の通信装置を用いたバッテリコントローラの概略構成を示す図である。
バッテリコントローラ1は、単電池VB1〜VB96の直列接続で構成され、全体で約400Vの高電圧を供給するバッテリ2を制御する。
まず、バッテリ2の制御装置IC1の部分の構成について説明する。実施例1では、例えばASICなどで構成される制御装置IC1〜IC24により、それぞれが4つの単電池を受け持つように構成する。
FIG. 2 is a diagram illustrating a schematic configuration of a battery controller using the communication device according to the first embodiment.
The battery controller 1 is configured by series connection of the single cells VB1 to VB96, and controls the battery 2 that supplies a high voltage of about 400V as a whole.
First, the configuration of the control device IC1 portion of the battery 2 will be described. In the first embodiment, each of the control devices IC1 to IC24 configured by, for example, an ASIC is configured to handle four unit cells.

例えば、制御装置IC1は、バッテリ2の最上流側の4つ、単電池VB1〜VB4を制御する。以下、説明の便宜上、直列するバッテリ2の単電池VB1〜VB96に対して、全体のプラス端子側、つまり単電池VB1側を上流側、反対側を下流側とする。   For example, the control device IC1 controls the four most upstream cells of the battery 2, the single cells VB1 to VB4. Hereinafter, for the convenience of explanation, the entire positive terminal side, that is, the single cell VB1 side is the upstream side and the opposite side is the downstream side with respect to the single cells VB1 to VB96 of the battery 2 in series.

単電池VB1〜VB4の上流側は、それぞれ制御装置IC1の端子VC1〜VC4に接続する。また、抵抗R13〜R16を介して電流を調整した後、それぞれ制御装置IC1の端子CB1D〜CB4Dにも接続する。
さらに、単電池VB4の下流側は、制御装置IC1のグランドの端子AGND、DGND、及び端子AD1〜AD4に接続する。
The upstream sides of the single cells VB1 to VB4 are connected to the terminals VC1 to VC4 of the control device IC1, respectively. Moreover, after adjusting an electric current through resistance R13-R16, it connects also to terminal CB1D-CB4D of control apparatus IC1, respectively.
Further, the downstream side of the unit cell VB4 is connected to the ground terminals AGND and DGND and the terminals AD1 to AD4 of the control device IC1.

次に、制御装置IC1は、一つ下流側の制御装置IC2からの送信ラインを受信するよう抵抗R12を介して端子RXに接続する。また、抵抗R11を介して端子CDVDD、AD0へも接続する。
端子AD0〜AD4は制御装置IC1〜24のアドレスを設定する端子である。
次に、制御装置IC1の送信を行う端子TXを抵抗R1を介してトランジスタTR1のベースへ接続する。トランジスタTR1は、エミッタとベースを抵抗R2を介してバイアスのために接続し、エミッタは端子CDVDDへ接続する。 そして、コレクタは、抵抗R3を介してフォトカプラ3の発光側、つまりダイオードのアノードに接続される。ダイオードのカソードは、端子DGNDへ接続される。なお、フォトカプラ3の受光側は、受光するとスイッチ素子がオンとなり抵抗R4で降圧した電圧値がCPU5の受信の端子RXDへ入力させる構成である。なお、受光しない場合は、抵抗R4が所定電圧にプルアップした電圧値がCPU5の受信の端子RXDへ入力される。
Next, the control device IC1 is connected to the terminal RX via the resistor R12 so as to receive the transmission line from the control device IC2 on one downstream side. Further, it is also connected to terminals CDVDD and AD0 through a resistor R11.
Terminals AD0 to AD4 are terminals for setting addresses of the control devices IC1 to IC24.
Next, the terminal TX for transmitting the control device IC1 is connected to the base of the transistor TR1 via the resistor R1. The transistor TR1 connects the emitter and the base via a resistor R2 for biasing, and the emitter is connected to the terminal CDVDD. The collector is connected to the light emitting side of the photocoupler 3, that is, the anode of the diode via the resistor R3. The cathode of the diode is connected to the terminal DGND. The light receiving side of the photocoupler 3 is configured such that when the light is received, the switch element is turned on and the voltage value stepped down by the resistor R4 is input to the receiving terminal RXD of the CPU 5. When no light is received, a voltage value obtained by pulling up the resistor R4 to a predetermined voltage is input to the reception terminal RXD of the CPU 5.

制御装置IC1の下流側の制御装置は、同様に、4つの単電池の上下流をそれぞれ端子へ接続する。そして、一つ下流側からの送信ラインを受信の端子RXへ接続し、送信の端子TXからの送信ラインを一つ上流側の制御装置の受信の端子RXへ接続する構成である。そのため、制御装置IC2〜IC23までは、一つ上下流の制御装置と通信するのみで、CPU5とは通信を行わない。
制御装置IC1と同様な回路構成部分については説明を省略する。
Similarly, the control device on the downstream side of the control device IC1 connects the upstream and downstream of the four unit cells to the terminals. Then, one transmission line from the downstream side is connected to the reception terminal RX, and the transmission line from the transmission terminal TX is connected to the reception terminal RX of the one upstream control device. Therefore, the control devices IC <b> 2 to IC <b> 23 only communicate with the control device one upstream and downstream, and do not communicate with the CPU 5.
A description of circuit components similar to those of the control device IC1 will be omitted.

最も下流の制御装置IC24は、バッテリ2の最も下流の単電池VB93〜VB96の上流側と、端子VC1〜VC4を接続する。また、抵抗R243〜R246を介して電流を調整した後、それぞれ制御装置IC24の端子CB1D〜CB4Dにも接続する。
さらに、単電池VB96の下流側は、制御装置IC24のグランドの端子AGND、DGND、及び端子AD0〜AD2に接続する。
The most downstream control device IC <b> 24 connects the terminals VC <b> 1 to VC <b> 4 to the upstream side of the most downstream single cells VB <b> 93 to VB <b> 96 of the battery 2. Further, after adjusting the current through the resistors R243 to R246, the current is also connected to the terminals CB1D to CB4D of the control device IC24.
Further, the downstream side of the unit cell VB96 is connected to the ground terminals AGND and DGND and the terminals AD0 to AD2 of the control device IC24.

そして、制御装置IC24の端子CDVDD、AD3、AD4は、抵抗5を介して、フォトカプラ4の受光側スイッチ素子の上流(コレクタ側)に接続する。なお、スイッチ素子の下流(エミッタ側)は、端子DGNDへ接続する。
フォトカプラ4の発光側のダイオードはカソードをグランドにアノードを抵抗R6を介してトランジスタTR2のコレクタ側へ接続する。トランジスタTR2のベースは、抵抗R8を介してCPU5の送信の端子TXDに接続する。トランジスタTR2のエミッタは、所定電圧ラインに接続し、エミッタとベースは抵抗R7を介してバイアスのために接続する。
The terminals CDVDD, AD3, and AD4 of the control device IC24 are connected to the upstream side (collector side) of the light receiving side switch element of the photocoupler 4 through the resistor 5. The downstream (emitter side) of the switch element is connected to the terminal DGND.
The light-emitting diode of the photocoupler 4 has a cathode connected to the ground and an anode connected to the collector side of the transistor TR2 via a resistor R6. The base of the transistor TR2 is connected to the transmission terminal TXD of the CPU 5 through the resistor R8. The emitter of the transistor TR2 is connected to a predetermined voltage line, and the emitter and base are connected for biasing via a resistor R7.

以上、説明したように、CPU5からの送信は、最下流の制御装置IC24へ行い、制御装置IC24から順に一つ上流側の制御装置へ送信し、最上流の制御装置IC1からCPU5へ送信を行う通信の構成である。この通信形態は、デイジーチェーンともいわれるものである。   As described above, the transmission from the CPU 5 is performed to the control device IC 24 at the most downstream side, is transmitted from the control device IC 24 to the control device at one upstream side in sequence, and is transmitted from the control device IC 1 at the most upstream side to the CPU 5. Communication configuration. This communication form is also called a daisy chain.

図3は実施例1の通信装置が用いられたバッテリコントローラの制御装置の送受信に関するブロック構成を示す図である。
制御装置IC1〜IC24は、図3に示すように、通信制御部71、受信回路72、送信回路73、切替部74を備えている。
制御装置IC1〜IC24は、端子RXから通信信号を入力する。
FIG. 3 is a diagram illustrating a block configuration related to transmission / reception of the control device of the battery controller in which the communication device of the first embodiment is used.
As illustrated in FIG. 3, the control devices IC <b> 1 to IC <b> 24 include a communication control unit 71, a reception circuit 72, a transmission circuit 73, and a switching unit 74.
The control devices IC1 to IC24 receive communication signals from the terminal RX.

通信制御部71は、受信データから必要な制御動作を他の回路部分へ伝達するとともに、受信データから必要な送信制御と送信データを判断し、送信データがある場合は送信回路73へ出力し、送信制御が必要な場合は切替部74へ制御指令を出力する。
受信回路72は、端子RXからの通信信号を受信し、受信データへ変換して、通信制御部71へ出力する。
送信回路73は、通信制御部71からの送信データを、通信信号に変換して、切替部74のC端子へ出力する。
The communication control unit 71 transmits necessary control operations from the received data to other circuit parts, determines necessary transmission control and transmission data from the received data, and outputs to the transmission circuit 73 if there is transmission data. When transmission control is necessary, a control command is output to the switching unit 74.
The receiving circuit 72 receives a communication signal from the terminal RX, converts it into received data, and outputs it to the communication control unit 71.
The transmission circuit 73 converts transmission data from the communication control unit 71 into a communication signal and outputs the communication signal to the C terminal of the switching unit 74.

切替部74は、入力側にA端子741、B端子742、C端子743を備え、出力端子にどの入力側の端子を接続するかを切り替える。切り替えは、通信制御部71からの制御指令に従って行う。
A端子741は、優位な信号の無い状態を端子TXへ出力する。
B端子742は、端子RXへの入力される通信信号をそのまま端子TXへ出力する。
C端子743は、送信回路73から出力される通信信号を端子TXへ出力する。
このように実施例1の制御装置IC1〜IC24は、一つ下流からの通信信号に対して、自身が受信し何も送信しない場合と、自身が受信し自身が送信を行う場合と、自身が受信するとともに通信信号をそのまま通過させる場合を、通信制御として備え、一つ上流への送信を行う。
The switching unit 74 includes an A terminal 741, a B terminal 742, and a C terminal 743 on the input side, and switches which input side terminal is connected to the output terminal. The switching is performed according to a control command from the communication control unit 71.
The A terminal 741 outputs a state without a dominant signal to the terminal TX.
The B terminal 742 outputs the communication signal input to the terminal RX as it is to the terminal TX.
The C terminal 743 outputs the communication signal output from the transmission circuit 73 to the terminal TX.
As described above, the control devices IC1 to IC24 according to the first embodiment each receive one communication signal from the downstream side and receive nothing, transmit itself and transmit itself, The case of receiving and passing the communication signal as it is is provided as communication control, and one upstream transmission is performed.

図4は実施例1の制御装置IC1〜IC24及びCPU5で行われる通信のデータ(通信信号)の説明図である。
実施例1のバッテリコントローラ1において、制御装置IC1〜IC24、CPU5の間では、LINプロトコルに基づく、マスタースレーブ方式での通信が行われる。
通信フレーム100は、ウェークアップ信号101、ヘッダ部102、レスポンス部103、フレーム間領域104を備える。
FIG. 4 is an explanatory diagram of communication data (communication signals) performed by the control devices IC1 to IC24 and the CPU 5 according to the first embodiment.
In the battery controller 1 of the first embodiment, communication in the master-slave system based on the LIN protocol is performed between the control devices IC1 to IC24 and the CPU 5.
The communication frame 100 includes a wakeup signal 101, a header part 102, a response part 103, and an interframe area 104.

ウェークアップ信号101は、スリープモードから起動させる場合に、以降のデータ送信の前に付加されるものである。起動後の連続した通信フレーム100には、付加されない。
ヘッダ部102は、同期開始部102a、同期信号部102b、制御指令部102cを備え、マスター側となるCPU5からのみ送信される部分である。
同期開始部102aは、ヘッダ部102を受信側に認識させるデータ信号部分であり、受信側(制御装置IC1〜IC24)は、これにより通信フレーム100の始まりを認識する。
The wake-up signal 101 is added before the subsequent data transmission when starting from the sleep mode. It is not added to the continuous communication frame 100 after activation.
The header unit 102 includes a synchronization start unit 102a, a synchronization signal unit 102b, and a control command unit 102c, and is transmitted only from the CPU 5 on the master side.
The synchronization start unit 102a is a data signal portion that causes the reception side to recognize the header unit 102, and the reception side (control devices IC1 to IC24) thereby recognizes the start of the communication frame 100.

同期信号部102bは、所定の同期信号部分であり、受信側に以降のデータを確実に受信させるためのボーレート調整等を行わせる部分である。
制御指令部102cは、所定バイト数で識別される制御指令を示す部分である。識別される制御指令は、予め定められており、制御装置IC1〜IC24の通信制御部71及びCPU5に記憶させておく。
The synchronization signal portion 102b is a predetermined synchronization signal portion, and is a portion that causes the receiving side to perform baud rate adjustment and the like for reliably receiving subsequent data.
The control command unit 102c is a part indicating a control command identified by a predetermined number of bytes. The control command to be identified is determined in advance and is stored in the communication control unit 71 and the CPU 5 of the control devices IC1 to IC24.

レスポンス部103は、データ部103a、チェックサム103bからなり、CPU5からヘッダ部102とともに送信されるか、制御装置IC1〜IC24でヘッダ部102に対する応答として送信されるデータ部分である。
データ部103aは、データ長可変のデータ部分である。
チェックサム103bは、通信フレーム100のデータエラー検出のための誤り検出符号(加算データ)である。
The response unit 103 includes a data unit 103a and a checksum 103b, and is a data part that is transmitted from the CPU 5 together with the header unit 102 or transmitted as a response to the header unit 102 by the control devices IC1 to IC24.
The data portion 103a is a data portion having a variable data length.
The checksum 103b is an error detection code (addition data) for detecting a data error in the communication frame 100.

フレーム間領域104は、次の通信フレーム100との仕切りのための領域であり、データの無い部分である。フレーム間領域104の後、次の通信フレーム100の同期開始部102aが送られるようにして、連続したデータ送信が行われる。   The inter-frame area 104 is an area for partitioning with the next communication frame 100, and is a part without data. After the inter-frame area 104, continuous data transmission is performed such that the synchronization start unit 102a of the next communication frame 100 is sent.

図5に示すのは、実施例1の制御装置IC1〜IC24及びCPU5に予め設定した制御指令とその応答データを示す説明図である。
通信データ上、制御装置IC1〜IC24、単電池VB1〜VB96には、それぞれ識別できる固有のアドレスを設定しておく。
そして、実施例1では、少なくとも全データ検出指令201、合計電圧検出指令202、異常検出のスルー設定203、過充電状態検出指令204、過放電状態検出指令205、内蔵データ1異常検出指令206、内蔵データ2異常検出指令207、状態値1異常検出指令208、状態値2異常検出指令209を制御指令部102cとして設ける。
FIG. 5 is an explanatory diagram showing control commands and response data set in advance in the control devices IC1 to IC24 and the CPU 5 of the first embodiment.
In the communication data, unique addresses that can be identified are set in the control devices IC1 to IC24 and the single cells VB1 to VB96, respectively.
In the first embodiment, at least all data detection command 201, total voltage detection command 202, abnormality detection through setting 203, overcharge state detection command 204, overdischarge state detection command 205, built-in data 1 abnormality detection command 206, built-in A data 2 abnormality detection command 207, a state value 1 abnormality detection command 208, and a state value 2 abnormality detection command 209 are provided as the control command unit 102c.

この制御指令部102cの制御指令に応答して制御装置IC1〜IC24が応答するデータをデータ部301〜309として設ける。
なお、データ部301〜309のうち、データ部303は、CPU5からの送信データであり、それ以外は、制御装置IC1〜IC24の応答する送信データである。
Data that the control devices IC1 to IC24 respond in response to the control command of the control command unit 102c is provided as data units 301 to 309.
Of the data parts 301 to 309, the data part 303 is transmission data from the CPU 5, and the other data is transmission data to which the control devices IC1 to IC24 respond.

全データ検出指令201は、制御装置IC1〜IC24のそれぞれが監視する4つの単電池の電圧、データ、状態値等を送信する要求を示す指令である。
どの制御装置に応答させるかは、制御装置IC1〜IC24に割り当てたアドレスを指定する。つまり、この指令の場合の制御指令部102cは、識別されたこの指令を示すデータとアドレスで構成されることになる。
応答するデータ部301としては、制御装置を示すアドレス、単電池を示すアドレス、電圧値、過充電状態、過放電状態、内蔵データ1、2、状態値1、2となる。
The all data detection command 201 is a command indicating a request to transmit the voltages, data, state values, and the like of the four unit cells monitored by the control devices IC1 to IC24.
The address assigned to each of the control devices IC1 to IC24 is specified as which control device is to respond. That is, the control command unit 102c in the case of this command is configured by data and an address indicating the identified command.
The data section 301 that responds includes an address indicating a control device, an address indicating a single cell, a voltage value, an overcharge state, an overdischarge state, built-in data 1 and 2, and state values 1 and 2.

合計電圧検出指令202は、制御装置IC1〜IC24のそれぞれが監視する4つの単電池の合計電圧を送信する要求を示す指令である。
どの制御装置に応答させるかは、制御装置IC1〜IC24に割り当てたアドレスを指定する。つまり、この指令の場合の制御指令部102cは、識別されたこの指令を示すデータとアドレスで構成されることになる。
応答するデータ部302としては、制御装置を示すアドレス、合計電圧となる。
The total voltage detection command 202 is a command indicating a request for transmitting the total voltage of the four unit cells monitored by each of the control devices IC1 to IC24.
The address assigned to each of the control devices IC1 to IC24 is specified as which control device is to respond. That is, the control command unit 102c in the case of this command is configured by data and an address indicating the identified command.
The responding data unit 302 is an address indicating the control device and a total voltage.

異常検出のスルー設定203は、異常が検出されたことにより無検出で通過させる(スルー)制御装置のアドレス設定を認識させる指令である。
つまり、指令と共に送信されるデータ部303にアドレスがある場合は、そのアドレスの制御装置及びそれより下流の制御装置を無検出で通過するようにする。データ部303にアドレスがない場合(例えば、アドレス=0)は、全ての制御装置が検出される。
The abnormality detection through setting 203 is a command for recognizing the address setting of the control device that passes without detection when an abnormality is detected (through).
That is, when there is an address in the data part 303 transmitted together with the command, it passes through the control device at that address and the control device downstream from it without detection. When there is no address in the data unit 303 (for example, address = 0), all control devices are detected.

過充電状態検出指令204は、スルー設定を用いて、全ての制御装置IC1〜IC24の監視する単電池で過充電状態が生じていないかを検出させる指令である。なお、制御装置側では4つの単電池のうち、いずれかが異常の場合は、異常ありの判断となる。
この指令に応答するデータ部304には、制御装置IC1〜IC24を示すアドレスが書き込まれる。
The overcharge state detection command 204 is a command for detecting whether an overcharge state has occurred in the single cells monitored by all the control devices IC1 to IC24 using the through setting. On the control device side, if any of the four unit cells is abnormal, it is determined that there is an abnormality.
Addresses indicating the control devices IC <b> 1 to IC <b> 24 are written in the data portion 304 that responds to this command.

そのアドレスは、下流側から上流への検出で最初に異常が検出された制御装置のアドレス。あるいは、スルー設定がある場合には、スルー設定の制御装置より上流側への検出で最初に異常が検出された制御装置のアドレス。または、書き込むアドレスなしで、異常なしとなる。   The address is the address of the control device where the abnormality was first detected by detection from the downstream side to the upstream side. Alternatively, if there is a through setting, the address of the control device in which an abnormality is first detected by detection upstream of the control device of the through setting. Or, there is no abnormality without the address to write.

過放電状態検出指令205は、スルー設定を用いて、全ての制御装置IC1〜IC24の監視する単電池で過放電状態が生じていないかを検出させる指令である。なお、制御装置側では4つの単電池のうち、いずれかが異常の場合は、異常ありの判断となる。
この指令に応答するデータ部305は、データ部304の場合と同じとなるので、説明を省略する。
The overdischarge state detection command 205 is a command for detecting whether an overdischarge state has occurred in the single cells monitored by all the control devices IC1 to IC24 using the through setting. On the control device side, if any of the four unit cells is abnormal, it is determined that there is an abnormality.
Since the data part 305 responding to this command is the same as that of the data part 304, the description is omitted.

内蔵データ1異常検出指令206は、スルー設定を用いて、全ての制御装置IC1〜IC24の監視する単電池ごとに設定し、制御装置に内蔵される第1のデータに異常が生じていないかを検出させる指令である。なお、制御装置側では4つの単電池の第1のデータのうち、いずれかが異常の場合は、異常ありの判断となる。
この指令に応答するデータ部306は、データ部304の場合と同じとなるので、説明を省略する。
The built-in data 1 abnormality detection command 206 is set for each single cell monitored by all the control devices IC1 to IC24 using the through setting, and whether or not there is an abnormality in the first data built in the control device. This is a command to be detected. On the control device side, if any of the first data of the four unit cells is abnormal, it is determined that there is an abnormality.
Since the data part 306 responding to this command is the same as that of the data part 304, description thereof is omitted.

内蔵データ2異常検出指令207は、スルー設定を用いて、全ての制御装置IC1〜IC24の監視する単電池ごとに設定し、制御装置に内蔵される第2のデータに異常が生じていないかを検出させる指令である。なお、制御装置側では4つの単電池の第2のデータのうち、いずれかが異常の場合は、異常ありの判断となる。
この指令に応答するデータ部307は、データ部304の場合と同じとなるので、説明を省略する。
The built-in data 2 abnormality detection command 207 is set for each single cell monitored by all the control devices IC1 to IC24 using the through setting, and whether or not there is an abnormality in the second data built in the control device. This is a command to be detected. On the control device side, if any of the second data of the four unit cells is abnormal, it is determined that there is an abnormality.
Since the data part 307 responding to this command is the same as that of the data part 304, the description is omitted.

状態値1異常検出指令208は、スルー設定を用いて、全ての制御装置IC1〜IC24の監視する単電池の状態値1に異常が生じていないかを検出させる指令である。なお、制御装置側では4つの単電池のうち、いずれかが異常の場合は、異常ありの判断となる。
この指令に応答するデータ部308は、データ部304の場合と同じとなるので、説明を省略する。
The state value 1 abnormality detection command 208 is a command for detecting whether or not an abnormality has occurred in the state value 1 of the single cells monitored by all the control devices IC1 to IC24 using the through setting. On the control device side, if any of the four unit cells is abnormal, it is determined that there is an abnormality.
Since the data part 308 responding to this command is the same as the case of the data part 304, description thereof is omitted.

状態値2異常検出指令209は、スルー設定を用いて、全ての制御装置IC1〜IC24の監視する単電池の状態値1に異常が生じていないかを検出させる指令である。なお、制御装置側では4つの単電池のうち、いずれかが異常の場合は、異常ありの判断となる。
この指令に応答するデータ部309は、データ部304の場合と同じとなるので、説明を省略する。
The state value 2 abnormality detection command 209 is a command for detecting whether or not an abnormality has occurred in the state value 1 of the single cells monitored by all the control devices IC1 to IC24 using the through setting. On the control device side, if any of the four unit cells is abnormal, it is determined that there is an abnormality.
Since the data part 309 responding to this command is the same as that of the data part 304, the description is omitted.

作用を説明する。
[制御装置側の通信状態遷移]
図6に示すのは、制御装置側の通信状態の遷移を示す状態遷移図である。
以下、各状態について説明する。
The operation will be described.
[Communication state transition on the controller side]
FIG. 6 is a state transition diagram showing the transition of the communication state on the control device side.
Hereinafter, each state will be described.

同期開始部検知状態S1は、同期開始部検知信号を受信した状態で、同期開始検知信号が正常に受信されると、ボーレート処理状態S2へ移行する。同期信号が不十分な場合は、アイドル状態S8へ移行する。   The synchronization start part detection state S1 is a state in which the synchronization start part detection signal is received, and when the synchronization start detection signal is normally received, the state shifts to the baud rate processing state S2. When the synchronization signal is insufficient, the process shifts to the idle state S8.

ボーレート処理状態S2は、同期信号の処理を行う状態で、同期信号から同期タイミングと、受信のためのボーレートの調整を行う。ボーレート調整が正常に終了すると、制御指令受信状態S3へ移行する。正常終了以外のエラーの場合には、アイドル状態S8へ移行する。   The baud rate processing state S2 is a state in which the synchronization signal is processed, and the synchronization timing and the baud rate for reception are adjusted from the synchronization signal. When the baud rate adjustment ends normally, the control command reception state S3 is entered. In the case of an error other than normal termination, the process shifts to the idle state S8.

制御指令受信状態S3は、制御指令部102cを受信する状態である。制御指令部102cの処理には、CPU5からのデータを制御装置IC1〜IC24に書き込む処理と、CPU5が制御装置IC1〜IC24からのデータを読み込む処理がある。書き込む処理の場合には、データ受信状態S4へ移行し、読み込む処理の場合には、データ送信状態S6へ移行する。
なお、制御指令部102cを正常に受信できないエラーの場合には、アイドル状態S8へ移行する。
The control command reception state S3 is a state in which the control command unit 102c is received. The processing of the control command unit 102c includes processing for writing data from the CPU 5 into the control devices IC1 to IC24 and processing for reading data from the control devices IC1 to IC24. In the case of the writing process, the process proceeds to the data reception state S4, and in the case of the reading process, the process proceeds to the data transmission state S6.
In the case of an error in which the control command unit 102c cannot be normally received, the process proceeds to the idle state S8.

データ受信状態S4は、データ部103aとチェックサム103bを受信する状態であり、チェックサム103bまでの受信が完了すると、データチェック状態S5へ移行する。なお、データ部103aとチェックサム103bが正常に受信できないエラーの場合には、アイドル状態S8へ移行する。   The data reception state S4 is a state in which the data portion 103a and the checksum 103b are received. When the reception of the checksum 103b is completed, the data reception state S4 shifts to the data check state S5. If the data part 103a and the checksum 103b are in an error that cannot be normally received, the process proceeds to the idle state S8.

データチェック状態S5は、チェックサム103bによる受信データの確認を行う状態である。チェックサム103bによるデータ確認がOKの場合には、正常終了としてアイドル状態S8へ移行する。チェックサム103bによるデータ確認がNGの場合には、エラーとしてアイドル状態S8へ移行する。   The data check state S5 is a state in which received data is confirmed by the checksum 103b. If the data confirmation by the checksum 103b is OK, the process is shifted to the idle state S8 as normal termination. If the data check by the checksum 103b is NG, the process shifts to an idle state S8 as an error.

データ送信状態S6は、データ部103aを送信する状態であり、データ部103aの送信が完了すると、データチェック状態S7へ移行する。例えば、送信途中で、同期開始信号を受けるなどにより、送信が中断するなどのエラーの場合には、アイドル状態S8へ移行する。   The data transmission state S6 is a state in which the data part 103a is transmitted. When the transmission of the data part 103a is completed, the data transmission state S6 shifts to the data check state S7. For example, in the case of an error such as interruption of transmission due to receiving a synchronization start signal during transmission, the process shifts to the idle state S8.

データチェック状態S7は、送信のためにチェックサム103を生成し、送信する状態である。チェックサム103bの送信が完了すると、正常終了としてアイドル状態S8へ移行する。チェックサム103bの送信が完了しないエラーの場合には、アイドル状態S8へ移行する。   The data check state S7 is a state in which the checksum 103 is generated and transmitted for transmission. When the transmission of the checksum 103b is completed, the process ends as a normal end and shifts to the idle state S8. In the case of an error that the transmission of the checksum 103b is not completed, the process proceeds to the idle state S8.

アイドル状態S8は、処理の開始を待っている処理のない状態である。この状態から、同期開始信号が検知されると同期開始部検知状態S1へ移行する。   The idle state S8 is a state where there is no process waiting for the start of the process. From this state, when the synchronization start signal is detected, the state shifts to the synchronization start part detection state S1.

[異常検出処理]
図7に示すのは、CPU5で実行される異常検出処理の流れを示すフローチャートで、以下各ステップについて説明する。
なお、以下のステップ説明において、制御装置IC1〜IC24のアドレスを1〜24とし、異常が検出されたアドレスをX、Yとする。
[Abnormality detection processing]
FIG. 7 is a flowchart showing a flow of abnormality detection processing executed by the CPU 5, and each step will be described below.
In the following description of steps, the addresses of the control devices IC1 to IC24 are 1 to 24, and the addresses where abnormality is detected are X and Y.

ステップS11では、CPU5が、制御指令部102cに異常検出のスルー設定203を設定し、データ部103aにアドレス=0を設定し、各制御装置へ送信する。   In step S11, the CPU 5 sets the abnormality detection through setting 203 in the control command unit 102c, sets the address = 0 in the data unit 103a, and transmits it to each control device.

ステップS12では、CPU5が、制御指令部102cに過充電状態検出指令204を設定し、各制御装置へ送信する。   In step S12, the CPU 5 sets an overcharge state detection command 204 in the control command unit 102c and transmits it to each control device.

ステップS13では、CPU5が、過充電状態検出指令204に対する制御装置側の応答のデータ部103aが、アドレス=0となっているかどうかを判断し、アドレス=0ならばステップS21以降の次の異常検出へ進み、アドレス=0でないならば、ステップS14へ進む。   In step S13, the CPU 5 determines whether or not the data portion 103a of the response on the control device side with respect to the overcharge state detection command 204 is address = 0, and if the address = 0, the next abnormality detection after step S21 is detected. If the address is not 0, the process proceeds to step S14.

ステップS14では、CPU5が、制御指令部102cに異常検出のスルー設定203を設定し、データ部103aにステップS13の応答データのアドレス=Xを設定し、各制御装置へ送信する。   In step S14, the CPU 5 sets the abnormality detection through setting 203 in the control command unit 102c, sets the response data address X in step S13 in the data unit 103a, and transmits it to each control device.

ステップS15では、CPU5が、制御指令部102cに過充電状態検出指令204を設定し、各制御装置へ送信する。   In step S15, the CPU 5 sets an overcharge state detection command 204 in the control command unit 102c and transmits it to each control device.

ステップS16では、CPU5が、過充電状態検出指令204に対する制御装置側の応答のデータ部103aが、アドレス=0となっているかどうかを判断し、アドレス=0ならばステップS21以降の次の異常検出へ進み、アドレス=0でないならば、ステップS17へ進む。   In step S16, the CPU 5 determines whether or not the data portion 103a of the response on the control device side with respect to the overcharge state detection command 204 is address = 0, and if the address = 0, the next abnormality detection after step S21 is detected. If the address is not 0, the process proceeds to step S17.

ステップS17では、CPU5が、制御指令部102cに異常検出のスルー設定203を設定し、データ部103aにステップS16の応答データのアドレス=Yを設定し、各制御装置へ送信する。   In step S17, the CPU 5 sets the abnormality detection through setting 203 in the control command unit 102c, sets the response data address = Y in step S16 in the data unit 103a, and transmits it to each control device.

ステップS18では、CPU5が、制御指令部102cに過充電状態検出指令204を設定し、各制御装置へ送信する。   In step S18, the CPU 5 sets an overcharge state detection command 204 in the control command unit 102c and transmits it to each control device.

ステップS19では、CPU5が、過充電状態検出指令204に対する制御装置側の応答のデータ部103aが、アドレス=0となっているかどうかを判断し、アドレス=0ならばステップS21以降の次の異常検出へ進み、アドレス=0でないならば、上記のように、レスポンス部103のデータ部103aのアドレス=0となるまで繰り返すようにする。   In step S19, the CPU 5 determines whether or not the data portion 103a of the response on the control device side with respect to the overcharge state detection command 204 is address = 0, and if the address = 0, the next abnormality detection after step S21 is detected. If the address is not 0, the processing is repeated until the address of the data portion 103a of the response portion 103 becomes 0 as described above.

このようにして、過充電状態検出指令204についてのアドレス=0となったならば、次の異常検出を行う。   In this way, if the address for the overcharge state detection command 204 becomes 0, the next abnormality is detected.

ステップS21では、CPU5が、制御指令部102cに異常検出のスルー設定203を設定し、データ部103aにアドレス=0を設定し、各制御装置へ送信する。   In step S21, the CPU 5 sets an abnormality detection through setting 203 in the control command unit 102c, sets address = 0 in the data unit 103a, and transmits the data to each control device.

ステップS22では、CPU5が、制御指令部102cに過放電状態検出指令205を設定し、各制御装置へ送信する。   In step S22, the CPU 5 sets an overdischarge state detection command 205 in the control command unit 102c and transmits it to each control device.

ステップS23では、CPU5が、過放電状態検出指令205に対する制御装置側の応答のデータ部103aが、アドレス=0となっているかどうかを判断し、アドレス=0ならば次の異常検出へ進み、アドレス=0でないならば、ステップS24へ進む。   In step S23, the CPU 5 determines whether or not the data section 103a of the response on the control device side with respect to the overdischarge state detection command 205 is address = 0. If the address = 0, the CPU 5 proceeds to the next abnormality detection, and the address If not = 0, the process proceeds to step S24.

ステップS24では、CPU5が、制御指令部102cに異常検出のスルー設定203を設定し、データ部103aにステップS23の応答データのアドレス=Xを設定し、各制御装置へ送信する。   In step S24, the CPU 5 sets the abnormality detection through setting 203 in the control command unit 102c, sets the response data address = X in step S23 in the data unit 103a, and transmits it to each control device.

ステップS25では、CPU5が、制御指令部102cに過放電状態検出指令205を設定し、各制御装置へ送信する。   In step S25, the CPU 5 sets an overdischarge state detection command 205 in the control command unit 102c and transmits it to each control device.

ステップS26では、CPU5が、過放電状態検出指令205に対する制御装置側の応答のデータ部103aが、アドレス=0となっているかどうかを判断し、アドレス=0ならば次の異常検出へ進み、アドレス=0でないならば、ステップS27へ進む。   In step S26, the CPU 5 determines whether or not the data section 103a of the response on the control device side with respect to the overdischarge state detection command 205 is address = 0. If the address = 0, the CPU 5 proceeds to the next abnormality detection, and the address If not = 0, the process proceeds to step S27.

ステップS27では、CPU5が、制御指令部102cに異常検出のスルー設定203を設定し、データ部103aにステップS26の応答データのアドレス=Yを設定し、各制御装置へ送信する。   In step S27, the CPU 5 sets the abnormality detection through setting 203 in the control command unit 102c, sets the response data address = Y in step S26 in the data unit 103a, and transmits it to each control device.

ステップS28では、CPU5が、制御指令部102cに過放電状態検出指令205を設定し、各制御装置へ送信する。   In step S28, the CPU 5 sets an overdischarge state detection command 205 in the control command unit 102c and transmits it to each control device.

ステップS29では、CPU5が、過放電状態検出指令205に対する制御装置側の応答のデータ部103aが、アドレス=0となっているかどうかを判断し、アドレス=0ならば次の異常検出へ進み、アドレス=0でないならば、上記のように、レスポンス部103のデータ部103aのアドレス=0となるまで繰り返すようにする。   In step S29, the CPU 5 determines whether or not the data section 103a of the response on the control device side with respect to the overdischarge state detection command 205 is address = 0. If the address = 0, the CPU 5 proceeds to the next abnormality detection, and the address If not = 0, as described above, the process is repeated until the address of the data part 103a of the response part 103 becomes 0.

そして、過放電状態検出指令205についてのアドレス=0となったならば、同様に、内蔵データ1,2の異常検出、状態値1,2の異常検出を行うようにする。   If the address for the overdischarge state detection command 205 is 0, the built-in data 1 and 2 are detected as abnormal and the state values 1 and 2 are detected as abnormal.

[より速く異常検出の通信を行う作用]
図8は実施例1における異常検出でのスルー設定を行った状態を示す説明図である。図9は実施例1における異常検出での過充電状態を検出する状態を示す説明図である。図10は実施例1における異常検出での2度目のスルー設定を行った状態を示す説明図である。図11は実施例1における異常検出での2度目の過充電状態を検出する状態を示す説明図である。図12は実施例1における異常検出での3度目のスルー設定を行った状態を示す説明図である。図13は実施例1における異常検出での3度目の過充電状態を検出する状態を示す説明図である。
[Function to perform communication for abnormality detection faster]
FIG. 8 is an explanatory diagram illustrating a state in which through setting is performed for abnormality detection in the first embodiment. FIG. 9 is an explanatory diagram illustrating a state in which an overcharge state is detected in the abnormality detection in the first embodiment. FIG. 10 is an explanatory diagram illustrating a state in which the second through setting is performed in the abnormality detection in the first embodiment. FIG. 11 is an explanatory diagram illustrating a state in which the second overcharge state is detected in the abnormality detection in the first embodiment. FIG. 12 is an explanatory diagram illustrating a state in which the third through setting is performed in the abnormality detection in the first embodiment. FIG. 13 is an explanatory diagram illustrating a state in which the third overcharge state in the abnormality detection in the first embodiment is detected.

実施例1では、制御指令部102cに予め全データ検出指令201が設定されている。そのためCPU5が、それぞれの制御装置IC1〜IC24に対して、24回の送信を行えば、その応答として、検出可能な全てのデータを得ることができ、異常検出を行うことができる。
しかしながら、単電池VB1〜VB96の数量が多く、正常なもののデータも集めるとデータが非常に多量となり、結果的に異常検出処理が遅くなる。
In the first embodiment, an all data detection command 201 is set in advance in the control command unit 102c. Therefore, if the CPU 5 transmits 24 times to each of the control devices IC1 to IC24, all detectable data can be obtained as a response, and abnormality detection can be performed.
However, if the number of the single cells VB1 to VB96 is large and normal data is collected, the amount of data becomes very large, and as a result, the abnormality detection process is delayed.

そのため実施例1では、異常が発生している制御装置を特定した後、その制御装置のデータを得るようにする。
まず、異常検出処理のための初期化処理として、スルー設定をアドレス=0とした送信をCPU5から行う。すると、制御装置IC1〜IC24の記憶部(図示せず)にスルー設定が書き込まれる(図8参照)。この書き込みは、CPU5側がステップS11の処理で、制御装置側は、データ受信状態S4において行われる。
Therefore, in the first embodiment, after identifying a control device in which an abnormality has occurred, data of the control device is obtained.
First, as initialization processing for abnormality detection processing, transmission with a through setting of address = 0 is performed from the CPU 5. Then, the through setting is written in the storage units (not shown) of the control devices IC1 to IC24 (see FIG. 8). This writing is performed in step S11 on the CPU 5 side and in the data reception state S4 on the control device side.

初期化したならば、CPU5から過充電状態検出指令204がフォトカプラ4を介して、制御装置IC24へ送信される。
制御装置IC24では、スルー設定アドレス=0のため、自身の受け持つ単電池VB93〜VB96の異常検出を行い、異常が無い場合は、異常検出なしとして、異常検出アドレス=0を一つ上流の制御装置IC23へ送信する。
なお、この場合は、通信ブロックにおいて、切替部74がC端子へ切替えた状態であり、送信回路73からの出力が端子TXから制御装置IC23の端子RXへ送信される。
Once initialized, the overcharge state detection command 204 is transmitted from the CPU 5 to the control device IC 24 via the photocoupler 4.
In the control device IC24, since the through setting address = 0, abnormality is detected in the unit cells VB93 to VB96 that the control device IC24 is responsible for, and if there is no abnormality, the abnormality detection address = 0 is set as one upstream control device without abnormality detection. Send to IC23.
In this case, in the communication block, the switching unit 74 is switched to the C terminal, and the output from the transmission circuit 73 is transmitted from the terminal TX to the terminal RX of the control device IC23.

このようにして、次々に一つ上流の制御装置へ異常検出結果のレスポンス部103を送信して行く。
そして、例えば、制御装置IC5の監視する単電池のいずれかに過充電状態が検出されたならば、制御装置IC5は自身のアドレスを異常検出アドレスとし(異常検出アドレス=5)、一つ上流の制御装置へ異常検出結果のレスポンス部103を送信する。
In this manner, the abnormality detection result response unit 103 is sequentially transmitted to the upstream one upstream control device.
For example, if an overcharge state is detected in one of the cells monitored by the control device IC5, the control device IC5 sets its own address as an abnormality detection address (abnormality detection address = 5), and one upstream The response part 103 of the abnormality detection result is transmitted to the control device.

異常を検出した制御装置IC5より上流の制御装置IC1〜IC4では、異常検出アドレスに書き込みがある場合には、異常検出を行わず、制御装置IC5からのレスポンス部103をそのまま上流へ送信する。
なお、この場合は、通信ブロックにおいて、切替部74がB端子へ切替えた状態であり、端子RXからの入力をそのまま端子TXから上流へ送信するようにする。
In the control devices IC1 to IC4 upstream of the control device IC5 that detects the abnormality, when there is a write in the abnormality detection address, the abnormality detection is not performed and the response unit 103 from the control device IC5 is transmitted to the upstream as it is.
In this case, in the communication block, the switching unit 74 is switched to the B terminal, and the input from the terminal RX is directly transmitted from the terminal TX to the upstream.

そして、制御装置IC1からフォトカプラ3を介して、CPU5にレスポンス部103が送信される。これにより、CPU5には、最も下流で異常検知された制御装置のアドレスを得ることになる(図9参照)。
すると、CPU5は、スルー設定をアドレス=5とした送信をCPU5から行う。すると、制御装置IC1〜IC24の記憶部(図示せず)にスルー設定が書き込まれる(図10参照)。この書き込みは、CPU5側が例えばステップS14の処理で、制御装置側は、データ受信状態S4において行われる。
Then, the response unit 103 is transmitted from the control device IC1 to the CPU 5 via the photocoupler 3. As a result, the CPU 5 obtains the address of the control device in which the abnormality is detected most downstream (see FIG. 9).
Then, the CPU 5 performs transmission from the CPU 5 with the through setting set to address = 5. Then, the through setting is written in the storage units (not shown) of the control devices IC1 to IC24 (see FIG. 10). This writing is performed, for example, in step S14 on the CPU 5 side, and in the data reception state S4 on the control device side.

そして、CPU5から過充電状態検出指令204がフォトカプラ4を介して、制御装置IC24へ送信される。
ここで、制御装置IC24が順に上流の制御装置IC5までは、スルー設定されたアドレスより下流であるために、異常検出を行わずに単に送信を通過(スルー)させる。
この場合は、通信ブロックにおいて、切替部74がB端子へ切替えた状態であり、端子RXからの入力をそのまま端子TXから上流へ送信するようにする。
Then, an overcharge state detection command 204 is transmitted from the CPU 5 to the control device IC 24 via the photocoupler 4.
Here, since the control device IC24 is in sequence downstream from the through-set address up to the upstream control device IC5, the transmission is simply passed (through) without detecting abnormality.
In this case, in the communication block, the switching unit 74 is switched to the B terminal, and the input from the terminal RX is directly transmitted upstream from the terminal TX.

そして、スルー設定されたアドレスより、一つ上流のアドレスの制御装置IC4が異常検出を行い、この場合は異常がないため異常検出アドレス=0を一つ上流の制御装置IC3へ送信する。
制御装置IC3も異常がないため、異常検出アドレス=0を一つ上流へ送信する。
Then, the control device IC4 of the address one upstream from the through-set address detects an abnormality. In this case, since there is no abnormality, the abnormality detection address = 0 is transmitted to the control device IC3 upstream.
Since there is no abnormality in the control device IC3, the abnormality detection address = 0 is transmitted one upstream.

そして、例えば制御装置IC2の監視する単電池のいずれかに過充電状態が検出されたならば、制御装置IC2は自身のアドレスを異常検出アドレスとし(異常検出アドレス=2)、一つ上流の制御装置IC1へ異常検出結果のレスポンス部103を送信する。   For example, if an overcharge state is detected in one of the cells monitored by the control device IC2, the control device IC2 sets its own address as an abnormality detection address (abnormality detection address = 2), and controls one upstream. The response part 103 of the abnormality detection result is transmitted to the device IC1.

異常を検出した制御装置IC2より上流の制御装置IC1では、異常検出アドレスに書き込みがある場合には、異常検出を行わず、制御装置IC2からのレスポンス部103をそのままフォトカプラ3を介して、CPU5に送信する。
なお、この場合は、通信ブロックにおいて、切替部74がB端子へ切替えた状態であり、端子RXからの入力をそのまま端子TXから上流へ送信するようにする。
In the control device IC1 upstream of the control device IC2 that has detected the abnormality, if there is a write in the abnormality detection address, the abnormality detection is not performed, and the response unit 103 from the control device IC2 is directly passed through the photocoupler 3 to the CPU 5 Send to.
In this case, in the communication block, the switching unit 74 is switched to the B terminal, and the input from the terminal RX is directly transmitted from the terminal TX to the upstream.

このようにして、CPU5では、最も下流で異常検知された制御装置のアドレスを得ることになる(図11参照)。
この場合には、残る制御装置が制御装置IC1のみであるので、異常を検出した制御装置IC2、IC5に加えて、制御装置IC1についても全データ検出指令201により全データを得るようにしてもよい。しかし、本実施例1の作用を明確にするために、さらに処理を続行させて説明する。
In this way, the CPU 5 obtains the address of the control device in which the abnormality is detected most downstream (see FIG. 11).
In this case, since the remaining control device is only the control device IC1, in addition to the control devices IC2 and IC5 that detect the abnormality, all data may be obtained for the control device IC1 by the all data detection command 201. . However, in order to clarify the operation of the first embodiment, the process will be further described.

次に、CPU5は、スルー設定をアドレス=2とした送信をCPU5から行う。すると、制御装置IC1〜IC24の記憶部(図示せず)にスルー設定が書き込まれる(図12参照)。この書き込みは、CPU5側が例えばステップS17の処理で、制御装置側は、データ受信状態S4において行われる。   Next, the CPU 5 performs transmission from the CPU 5 with the through setting set to address = 2. Then, the through setting is written in the storage units (not shown) of the control devices IC1 to IC24 (see FIG. 12). This writing is performed, for example, in step S17 on the CPU 5 side, and in the data reception state S4 on the control device side.

そして、CPU5から過充電状態検出指令204がフォトカプラ4を介して、制御装置IC24へ送信される。
ここで、制御装置IC24から順に上流の制御装置IC2までは、スルー設定されたアドレスより下流であるために、異常検出を行わずに単に送信を通過(スルー)させる。
この場合は、通信ブロックにおいて、切替部74がB端子へ切替えた状態であり、端子RXからの入力をそのまま端子TXから上流へ送信するようにする。
Then, an overcharge state detection command 204 is transmitted from the CPU 5 to the control device IC 24 via the photocoupler 4.
Here, since the control device IC24 to the upstream control device IC2 are downstream from the through-set address, transmission is simply passed (through) without detecting abnormality.
In this case, in the communication block, the switching unit 74 is switched to the B terminal, and the input from the terminal RX is directly transmitted upstream from the terminal TX.

そして、スルー設定されたアドレスより、一つ上流のアドレスの制御装置IC1が異常検出を行い、この場合は異常がないため異常検出アドレス=0を、フォトカプラ3を介して、CPU5に送信する。
このようにして、CPU5では、異常検出アドレス=0を検出したことにより、過充電状態検出処理を終了し、次の例えば過放電状態検出処理へ移行する(図13参照)。
Then, the control device IC1 of the address one upstream from the through-set address detects an abnormality, and in this case, since there is no abnormality, an abnormality detection address = 0 is transmitted to the CPU 5 via the photocoupler 3.
In this way, the CPU 5 ends the overcharge state detection process upon detecting the abnormality detection address = 0, and proceeds to the next overdischarge state detection process (see FIG. 13).

そして、各異常検出処理において、異常のある制御装置を特定した後、異常のある制御装置のみに対して、全データ検出指令を送信して、詳細なデータを得て、異常のある単電池の特定と、異常の状態の把握等を行うようにすればよい。
この異常検出処理において、レスポンス部103のデータ部103aに書き込まれるのは、異常検出範囲で最も下流の制御装置のアドレスのみであり、非常に少ないデータ量である。
実施例1では、この少ないデータ量で済む通信により異常のある制御装置を特定した後に、より詳細なデータをCPU5が得るようにするので、非常に高速な処理となる。
Then, in each abnormality detection process, after identifying the abnormal control device, send all data detection commands only to the abnormal control device, obtain detailed data, What is necessary is just to identify and to grasp the abnormal state.
In this abnormality detection process, only the address of the most downstream control device in the abnormality detection range is written in the data part 103a of the response unit 103, and the amount of data is very small.
In the first embodiment, since the CPU 5 obtains more detailed data after identifying a control device having an abnormality through communication that requires a small amount of data, the processing is very fast.

実施例1の作用を明確にするために、以下にさらに説明を加える。
異常検出処理を達成するためには、以下に説明する構成にすることも考えられる。
図14に示すのは、考案した制御装置IC1〜IC24及びCPU5に予め設定した制御指令とその応答データを示す説明図である。
図14に示すものでは、全データ検出指令201、合計電圧検出指令202、過充電状態検出指令210、過放電状態検出指令211、内蔵データ1異常検出指令212、内蔵データ2異常検出指令213、状態値1異常検出指令214、状態値2異常検出指令215を制御指令部102cとして設ける。
全データ検出指令201、合計電圧検出指令202、これに対応するデータ部301、302は実施例1と同様のため説明を省略する。
In order to clarify the operation of the first embodiment, further explanation will be added below.
In order to achieve the abnormality detection process, a configuration described below can be considered.
FIG. 14 is an explanatory diagram showing control commands set in advance in the devised control devices IC1 to IC24 and the CPU 5 and their response data.
In the example shown in FIG. 14, all data detection command 201, total voltage detection command 202, overcharge state detection command 210, overdischarge state detection command 211, internal data 1 abnormality detection command 212, internal data 2 abnormality detection command 213, state A value 1 abnormality detection command 214 and a state value 2 abnormality detection command 215 are provided as the control command unit 102c.
The all data detection command 201, the total voltage detection command 202, and the corresponding data parts 301 and 302 are the same as those in the first embodiment, and the description thereof is omitted.

図14の過充電状態検出指令210〜状態値2異常検出指令215における実施例1との違いは、これに対応するデータ部310〜315に書き込まれる制御装置IC1〜IC24を示すアドレスにある。
データ部310〜315には、下流側から上流への検出で最初に異常が検出された制御装置のアドレスが書き込まれる。
14 differs from the first embodiment in the overcharge state detection command 210 to the state value 2 abnormality detection command 215 in the addresses indicating the control devices IC1 to IC24 written in the data portions 310 to 315 corresponding thereto.
In the data parts 310 to 315, the address of the control device in which the abnormality is first detected by the detection from the downstream side to the upstream side is written.

この通信データ構成を用いて行われる異常検出処理の流れについて、フローチャートを用いて説明する。
図15に示すのは、CPU5で実行される異常検出処理の流れを示すフローチャートで、以下各ステップについて説明する。
The flow of abnormality detection processing performed using this communication data configuration will be described using a flowchart.
FIG. 15 is a flowchart showing the flow of abnormality detection processing executed by the CPU 5, and each step will be described below.

ステップS41では、CPU5が、制御指令部102cに過充電状態検出指令210を設定し、各制御装置へ送信する。
なお、各制御装置IC1〜IC24は、この指令に対してレスポンス部103を順に上流へ送る通信によりCPU5へ送信する。
In step S41, the CPU 5 sets an overcharge state detection command 210 in the control command unit 102c and transmits it to each control device.
Each of the control devices IC1 to IC24 transmits the response unit 103 to the CPU 5 in response to this command in order to send it upstream.

ステップS42では、CPU5が、過充電状態検出指令210に対する制御装置側の応答のデータ部103aが、アドレス=0となっているかどうかを判断し、アドレス=0ならばステップS44へ進み、アドレス=0でないならば、ステップS43へ進む。   In step S42, the CPU 5 determines whether or not the data section 103a of the response on the control device side with respect to the overcharge state detection command 210 has an address = 0. If the address = 0, the process proceeds to step S44, and the address = 0 If not, the process proceeds to step S43.

ステップS43では、異常ありと判断し、ステップS47〜S50の異常が発生した制御装置の特定処理を後に行うようにする。   In step S43, it is determined that there is an abnormality, and the control device identifying process in which the abnormality has occurred in steps S47 to S50 is performed later.

ステップS44では、CPU5が、制御指令部102cに過放電状態検出指令211を設定し、各制御装置へ送信する。   In step S44, the CPU 5 sets an overdischarge state detection command 211 in the control command unit 102c and transmits it to each control device.

ステップS45では、CPU5が、過放電状態検出指令211に対する制御装置側の応答のデータ部103aが、アドレス=0となっているかどうかを判断し、アドレス=0ならば以降の他の異常検出処理を同様に行い、アドレス=0でないならば、ステップS46へ進む。   In step S45, the CPU 5 determines whether the data portion 103a of the response on the control device side with respect to the overdischarge state detection command 211 has an address = 0, and if the address = 0, performs other abnormality detection processing thereafter. Similarly, if the address is not 0, the process proceeds to step S46.

ステップS46では、異常ありと判断し、ステップS47〜S50の異常が発生した制御装置の特定処理を後に行うようにする。   In step S46, it is determined that there is an abnormality, and the control device identifying process in which the abnormality has occurred in steps S47 to S50 is performed later.

以降に説明するステップS47〜S50の処理は、ステップS41〜S46(S46以降の異常検出処理を含む)の処理で異常を検出した場合に行う処理である。   The processing of steps S47 to S50 described below is processing performed when an abnormality is detected in the processing of steps S41 to S46 (including abnormality detection processing after S46).

ステップS47では、CPU5が、異常を検出したアドレス=Xの制御装置に、全データ検出指令201を送信する。
これに対して、アドレス=Xに該当する制御装置は、レスポンス部103をCPU5に送信する。
In step S47, the CPU 5 transmits an all data detection command 201 to the control device at address = X where the abnormality is detected.
On the other hand, the control device corresponding to the address = X transmits the response unit 103 to the CPU 5.

ステップS47では、CPU5が、異常を検出したアドレス=X−1の制御装置に、全データ検出指令201を送信する。   In step S47, the CPU 5 transmits an all data detection command 201 to the control device at address = X−1 where the abnormality is detected.

ステップS47では、CPU5が、異常を検出したアドレス=X−2の制御装置に、全データ検出指令201を送信する。   In step S47, the CPU 5 transmits an all data detection command 201 to the control device at the address = X-2 where the abnormality is detected.

このようにアドレスを変更して、異常を検出したアドレス=Xの制御装置より上流の制御装置全ての全データをCPU5へ送信させる。最後はアドレス=1の制御装置となる。   Thus, the address is changed, and all data of all the control devices upstream from the control device of the address = X where the abnormality is detected is transmitted to the CPU 5. The last is the control device with address = 1.

ステップS50では、CPU5が、異常を検出したアドレス=1の制御装置に、全データ検出指令201を送信する。
そして、CPU5では、アドレス=Xより上流の全てのデータから、アドレス=Xの制御装置の状態、及び他の制御装置に異常がないかのチェックを行う。
In step S50, the CPU 5 transmits an all data detection command 201 to the control device at address = 1 where the abnormality is detected.
Then, the CPU 5 checks the state of the control device at address = X and whether there is any abnormality in other control devices from all data upstream from address = X.

このように、異常検出のスルー設定を設けずに、異常のあったアドレスを検出すると、そのアドレスより上流側の全ての制御装置に対して全データを送信させて、CPU5で判断することが考えられる。   In this way, when an abnormal address is detected without providing a through setting for abnormality detection, all data is transmitted to all the control devices upstream from that address, and the CPU 5 makes a decision. It is done.

しかしながら、この図14の通信データ構成を図15の処理で行うものでは、CPU5の負荷が高く、2番目以降の異常のある制御装置の特定に時間がかかることになる。そのため、結果的には、異常への対応が遅れることになり好ましくない。実施例1では、異常のある制御装置の特定は短い時間で行われる点が有利である。これは、百個近い単電池を監視するバッテリシステムにおいては、この点が顕著となる。
特に異常を検出した制御装置が、最下流側に近い場合には、図14の通信データ構成を図15の処理で行うものでは、さらに処理時間が増大する。この場合に実施例1では、処理時間は上下流位置で変わらない点が有利である。
However, when the communication data configuration of FIG. 14 is performed by the processing of FIG. 15, the load on the CPU 5 is high and it takes time to specify the second and subsequent abnormal control devices. As a result, the response to the abnormality is delayed, which is not preferable. In the first embodiment, it is advantageous that the control device having an abnormality is identified in a short time. This is remarkable in a battery system that monitors nearly 100 single cells.
In particular, when the control device that has detected an abnormality is close to the most downstream side, the processing time is further increased if the communication data configuration of FIG. 14 is performed by the processing of FIG. In this case, the first embodiment is advantageous in that the processing time does not change between the upstream and downstream positions.

また、異常の発生モードとして、単電池の複数に異常が発生する場合があり、時間差を生じることもある。図14の通信データ構成を図15の処理で行うものでは、全データ検出指令の送受信と異常検出処理に時間がかかるため、その間に異常が発生する単電池が増える可能性があり、そうなると、処理終了時に特定した異常のある単電池と実際の異常状態に差が生じやすくなり、好ましくない。
実施例1では、処理時間が短いため、処理終了時に特定した異常のある単電池と実際の異常状態に差が生じにくくなり、この点も有利である。
Moreover, as an abnormality occurrence mode, an abnormality may occur in a plurality of unit cells, and a time difference may occur. In the case where the communication data configuration of FIG. 14 is performed by the processing of FIG. 15, it takes time to transmit / receive all data detection commands and abnormality detection processing, so there may be an increase in the number of cells in which abnormality occurs. A difference is likely to occur between the abnormal cell specified at the end and the actual abnormal state, which is not preferable.
In the first embodiment, since the processing time is short, it is difficult to cause a difference between the abnormal cell specified at the end of the processing and the actual abnormal state, which is also advantageous.

また、CPU5の側の異常の対処として、異常検出数が多い場合には、異なる処理を行う場合がある。その場合にも、実施例1では、異常発生を検出した制御装置の特定が非常に早く行われるため、有利である。   Further, as a countermeasure for the abnormality on the CPU 5 side, different processing may be performed when the number of detected abnormalities is large. Even in that case, the first embodiment is advantageous because the control device that detects the occurrence of abnormality is identified very quickly.

次に、効果を説明する。
実施例1の通信装置にあっては、下記に列挙する効果を得ることができる。
(1)上下直列に複数または多数配置され、一つ下流側から受信し、一つ上流側へ送信する通信を行う制御装置IC1〜IC24と、最下流に位置する制御装置IC24へ送信し、最上流に位置する制御装置IC1から受信することにより、複数または多数の制御装置IC1〜IC24との通信を行うCPU5を有し、CPU5の通信制御に制御装置IC1〜IC24が従って応答又は動作することにより、通信網を構成するバッテリコントローラ1において、どの制御装置IC1〜IC24かを識別できるように、上下配列に関連付けして設定したアドレスを設け、CPU5は、異常を検出した制御装置IC1〜IC24のうち最下流の制御装置IC1〜IC24のアドレスを送信させる過充電状態検出指令204、過放電状態検出指令205等と、指定したアドレスの配列位置から下流に位置する制御装置IC1〜IC24は、上流にデータを送るのみで、過充電状態検出指令204、過放電状態検出指令205等の指令動作を行わなくさせる異常検出のスルー設定203を備えたため、下位制御装置(制御装置IC1〜IC24)が多い場合であっても、最上流と最下流で上位制御装置(CPU5)と通信する構成で、上位と下位との情報のやり取りをより速く行うことができる。
Next, the effect will be described.
In the communication apparatus according to the first embodiment, the effects listed below can be obtained.
(1) A plurality or a large number are arranged in series in the vertical direction, and are received from one downstream side and transmitted to one upstream side, and transmitted to the control devices IC1 to IC24 and the control device IC24 located on the most downstream side. By receiving from the control device IC1 located upstream, the CPU 5 communicates with a plurality or a plurality of control devices IC1 to IC24, and the control devices IC1 to IC24 respond or operate according to the communication control of the CPU5. In the battery controller 1 constituting the communication network, an address set in association with the upper and lower arrays is provided so that it can be identified which control device IC1 to IC24, and the CPU 5 Overcharge state detection command 204 and overdischarge state detection command 205 for transmitting the addresses of the most downstream control devices IC1 to IC24. Then, the control devices IC1 to IC24 located downstream from the arrangement position of the designated address only send data upstream, and the abnormality is such that the command operations such as the overcharge state detection command 204 and the overdischarge state detection command 205 are not performed. Since the detection through setting 203 is provided, even when there are many lower-level control devices (control devices IC1 to IC24), it is configured to communicate with the upper-level control device (CPU 5) at the most upstream and the most downstream, Information can be exchanged faster.

(2)上記(1)において、異常検出のスルー設定203は、指定した複数のアドレスのうち、最も上流側のアドレスの配列位置から下流に位置する制御装置IC1〜IC24は、上流にデータを送るのみで、過充電状態検出指令204、過放電状態検出指令205等の指令動作を行わなくさせる指令構成にしたため、制御装置IC1〜IC24のうち、異常を検出した制御装置を特定するために、過充電状態検出指令204、過放電状態検出指令205等の指令を行う際に、複数の指定されたアドレスから下流は異常検出せず、指定されたアドレスより上流のみ異常検出処理を行うことにより、複数の異常の制御装置をより早く特定することができる。   (2) In the above (1), the abnormality detection through setting 203 is that the control devices IC1 to IC24 located downstream from the arrangement position of the most upstream address among a plurality of designated addresses send data upstream. Only the overcharge state detection command 204, the overdischarge state detection command 205, and the like are configured so as not to perform the command operation. When commands such as the charge state detection command 204 and the overdischarge state detection command 205 are performed, an abnormality detection process is performed only upstream from the designated address without detecting an abnormality from the plurality of designated addresses. This makes it possible to identify the abnormal control device earlier.

(3)上記(1)と(2)において、制御装置IC1〜IC24は、複数又は多数の単電池VB1〜VB96が直列して構成される車両の駆動用のバッテリ2の4個ごとの単電池を監視するバッテリコントローラ1に設けられたものであり、過充電状態検出指令204、過放電状態検出指令205等は、4個ごとの単電池のいずれかに異常が生じている場合には、制御装置IC1〜IC24が異常が生じていると送信するものとしたため、制御装置IC1〜IC24のいずれの制御装置で監視している単電池に異常が生じているかを、非常に早く特定することができ、結果的にどの単電池で異常が生じているかを非常に早く特定することができる。
そのために、異常をより早く検知し、より早く対応することができるバッテリコントローラ1にすることができる。
(3) In the above (1) and (2), each of the control devices IC1 to IC24 is a unit cell for every four of the batteries 2 for driving the vehicle, in which a plurality or a plurality of unit cells VB1 to VB96 are configured in series. The overcharge state detection command 204, the overdischarge state detection command 205, etc. are controlled when any one of the four cells has an abnormality. Since the devices IC1 to IC24 transmit when there is an abnormality, it is possible to identify very quickly whether the single cell monitored by the control devices IC1 to IC24 is abnormal. As a result, it can be identified very quickly which unit cell is abnormal.
Therefore, it is possible to make the battery controller 1 capable of detecting an abnormality earlier and responding earlier.

捕捉して説明する。バッテリコントローラ1において、充放電の制御、充放電等の状態を監視するバッテリ2は、全体で数百Vの高電圧である。このバッテリ2は百個近い単電池の直列で構成されているため、実施例1の図2に示したように、そのうちの数個を一つの制御装置で制御、監視すれば、一つ当たりの電圧は既存の高耐圧のCMOSの動作電圧範囲内で許容されるものとなる。そのため実施例1では、4つの単電池ごとに一つの制御装置を設けるようにし、一つ上流の制御装置へのみ送信を行うようにすることで、高電圧差の処理等とならないようにして、コストや性能の確保等を行っている。   Capture and explain. In the battery controller 1, the battery 2 that monitors the state of charge / discharge control, charge / discharge, etc. has a high voltage of several hundred volts as a whole. Since this battery 2 is composed of a series of nearly one hundred cells, as shown in FIG. 2 of the first embodiment, if several of them are controlled and monitored by one control device, one battery is The voltage is allowed within the operating voltage range of the existing high breakdown voltage CMOS. Therefore, in the first embodiment, one control device is provided for every four unit cells, and transmission is performed only to one upstream control device so as not to process a high voltage difference, etc. Costs and performance are secured.

但し、制御装置IC1〜IC24の全体で取り扱う電圧は高電圧(強電)となる。これに対してCPU5は、数V程度を作動電圧とする弱電である。そのため、弱電側が強電側の影響を受けないように、フォトカプラ3、4を用いて、制御装置IC1からの受信と制御装置IC24への送信で通信を成立させている。フォトカプラを多数設けるのは、コストから難しい。
このような通信網を構成した場合に、どのようにして、百個近い単電池の異常を早く検出するかについて、実施例1は有利な通信装置を提供している。
However, the voltage handled by the entire control devices IC1 to IC24 is a high voltage (strong electric power). On the other hand, the CPU 5 is a weak electric power having an operating voltage of about several volts. Therefore, communication is established by reception from the control device IC1 and transmission to the control device IC24 using the photocouplers 3 and 4 so that the weak power side is not affected by the high power side. It is difficult to provide a large number of photocouplers because of cost.
When such a communication network is configured, Example 1 provides an advantageous communication device as to how to quickly detect an abnormality of nearly one hundred cells.

(6)上下直列に複数または多数配置され、一つ下流側から受信し、一つ上流側へ送信する通信を行う制御装置IC1〜IC24と、最下流に位置する制御装置IC24へ送信し、最上流に位置する制御装置IC1から受信することにより、複数または多数の制御装置IC1〜IC24との通信を行うCPU5を有し、CPU5の通信制御に制御装置IC1〜IC24が従って応答又は動作することにより、通信網を構成するバッテリコントローラ1において、上下配列に関連付けして設定したアドレスを設けて、どの制御装置IC1〜IC24かを識別できるようにし、
CPU5から過充電状態検出指令204、過放電状態検出指令205等により、異常を検出した制御装置IC1〜IC24のうち最下流の制御装置IC1〜IC24のアドレスを送信させ、CPU5からの異常検出のスルー設定203により、制御装置IC1〜IC24は、指定したアドレスの配列位置から下流に位置する上流にデータを送るのみで、過充電状態検出指令204、過放電状態検出指令205等の指令動作を行わなくしたため、下位制御装置(制御装置IC1〜IC24)が多い場合であっても、最上流と最下流で上位制御装置(CPU5)と通信する構成で、上位と下位との情報のやり取りをより速く行うことができる。
(6) A plurality or many are arranged in series in the vertical direction, receiving from one downstream side and transmitting to one upstream side, and transmitting to one upstream side control device IC1 to IC24 and the most downstream control device IC24, By receiving from the control device IC1 located upstream, the CPU 5 communicates with a plurality or a plurality of control devices IC1 to IC24, and the control devices IC1 to IC24 respond or operate according to the communication control of the CPU5. In the battery controller 1 constituting the communication network, an address set in association with the upper and lower arrangements is provided so that which control device IC1 to IC24 can be identified,
Through the overcharge state detection command 204, overdischarge state detection command 205 and the like from the CPU 5, the address of the control device IC1 to IC24 at the most downstream of the control devices IC1 to IC24 in which the abnormality has been detected is transmitted. With the setting 203, the control devices IC1 to IC24 do not perform command operations such as the overcharge state detection command 204 and the overdischarge state detection command 205 only by sending data upstream from the arrangement position of the designated address. Therefore, even when there are many lower-level control devices (control devices IC1 to IC24), information is exchanged between the higher-order and the lower-order more quickly by the configuration that communicates with the higher-order control device (CPU 5) in the most upstream and the most downstream. be able to.

実施例2は、複数の異常検出を一度に行うようにし、異常検出のスルー設定にどの異常検出に対して、指定のアドレスから下流を通過させる処理を行なうかを設定するようにした例である。   The second embodiment is an example in which a plurality of abnormality detections are performed at a time, and in the through setting for abnormality detection, which abnormality detection is set to be processed to pass downstream from a specified address. .

構成を説明する。
図16は実施例2の制御装置IC1〜IC24及びCPU5に予め設定した制御指令とその応答データを示す説明図である。
実施例2では、少なくとも、全データ検出指令201、合計電圧検出指令202、異常検出のスルー設定216、異常検出指令217を制御指令部102cとして設ける。
そして、この制御指令部102cの制御指令に応答して制御装置IC1〜IC24が応答するデータをデータ部301、302、316、317として設ける。
The configuration will be described.
FIG. 16 is an explanatory diagram showing control commands and response data preset in the control devices IC1 to IC24 and the CPU 5 of the second embodiment.
In the second embodiment, at least the all data detection command 201, the total voltage detection command 202, the abnormality detection through setting 216, and the abnormality detection command 217 are provided as the control command unit 102c.
Then, data that the control devices IC1 to IC24 respond in response to the control command of the control command unit 102c is provided as the data units 301, 302, 316, and 317.

なお、データ部301、302、316、317のうち、データ部316は、CPU5からの送信データであり、それ以外は、制御装置IC1〜IC24の応答する送信データである。
また、全データ検出指令201、合計電圧検出指令202、これに対応するデータ部301、302は実施例1と同様であるので、説明を省略する。
Of the data parts 301, 302, 316, and 317, the data part 316 is transmission data from the CPU 5, and the other data is transmission data to which the control devices IC1 to IC24 respond.
Further, the all data detection command 201, the total voltage detection command 202, and the data portions 301 and 302 corresponding thereto are the same as those in the first embodiment, and thus description thereof is omitted.

異常検出のスルー設定216は、異常が検出されたことにより無検出で通過させる(スルー)制御装置のアドレス設定を認識させる指令である。実施例2では、アドレス設定に加えて、異常種別の設定フラグをデータ部316に設けるようにする。
アドレス設定の取り扱いは、指令と共に送信されるデータ部316にアドレスがある場合、そのアドレスの制御装置及びそれより下流の制御装置を無検出で通過するようにする。データ部316にアドレスがない場合は、全ての制御装置が検出される。
The abnormality detection through setting 216 is a command for recognizing the address setting of the control device that passes without detection when an abnormality is detected (through). In the second embodiment, an error type setting flag is provided in the data section 316 in addition to the address setting.
In the handling of the address setting, when there is an address in the data part 316 transmitted together with the command, it passes through the control device of that address and the control device downstream thereof without detection. When there is no address in the data part 316, all the control devices are detected.

ここで、異常種別の設定フラグのより具体例について説明する。
例えば、データ部316のアドレスデータの後に、過充電状態検出、過放電状態検出、内蔵データ1異常検出、内蔵データ2異常検出、状態値1異常検出、状態値2異常検出にそれぞれ1ビットを割り当てた設定フラグ「000000」を設ける。つまり、1ビット目が「1」となる「100000」ならば、過充電状態検出で異常が検出されたことを示す。
Here, a more specific example of the abnormality type setting flag will be described.
For example, 1 bit is assigned to each of overcharge state detection, overdischarge state detection, internal data 1 error detection, internal data 2 error detection, status value 1 error detection, and status value 2 error detection after the address data of the data part 316 The setting flag “000000” is provided. That is, if “100000” in which the first bit is “1”, it indicates that an abnormality has been detected in overcharge state detection.

異常検出指令217は、スルー設定を用いて、全ての制御装置IC1〜IC24、及び監視する単電池で異常が生じていないかを検出させる指令である。なお、異常として、過充電状態検出、過放電状態検出、内蔵データ1異常検出、内蔵データ2異常検出、状態値1異常検出、状態値2異常検出を含んでいる。
そして、この指令に応答するデータ部317には、制御装置IC1〜IC24を示すアドレスと、異常種別を示す設定フラグが設けられている。
The abnormality detection command 217 is a command for detecting whether an abnormality has occurred in all the control devices IC1 to IC24 and the cell to be monitored using the through setting. The abnormality includes overcharge state detection, overdischarge state detection, internal data 1 abnormality detection, internal data 2 abnormality detection, state value 1 abnormality detection, and state value 2 abnormality detection.
The data section 317 responding to this command is provided with an address indicating the control devices IC1 to IC24 and a setting flag indicating the abnormality type.

アドレスは、下流側から上流への検出で最初に異常が検出された制御装置のアドレス。あるいは、スルー設定がある場合には、スルー設定の制御装置より上流側への検出で最初に異常が検出された制御装置のアドレスとなる。
または、書き込むアドレスなし(例えばアドレス=0)で、異常なしとなる。
そして、スルー設定の制御装置のアドレスとともに、異常の種別の設定フラグが設定される。
その他構成は実施例1と同様であるので、説明を省略する。
The address is the address of the control device where the abnormality was first detected in the detection from the downstream side to the upstream side. Alternatively, when there is a through setting, the address of the control device in which an abnormality is first detected by the detection upstream of the control device of the through setting is used.
Or, there is no abnormality when there is no address to write (for example, address = 0).
Then, an abnormality type setting flag is set together with the through setting control device address.
Since other configurations are the same as those of the first embodiment, description thereof is omitted.

作用を説明する。
[異常検出処理]
図17に示すのは、CPU5で実行される異常検出処理の流れを示すフローチャートで、以下各ステップについて説明する。
なお、以下のステップ説明において、制御装置IC1〜IC24のアドレスを1〜24とし、異常が検出されたアドレスをX、Y、Zとする。
The operation will be described.
[Abnormality detection processing]
FIG. 17 is a flowchart showing the flow of abnormality detection processing executed by the CPU 5, and each step will be described below.
In the following description of steps, the addresses of the control devices IC1 to IC24 are 1 to 24, and the addresses where abnormality is detected are X, Y, and Z.

ステップS51では、CPU5が、制御指令部102cに異常検出のスルー設定216を設定し、データ部103a(符号316)にアドレス=0、設定フラグ=000000を設定し、各制御装置へ送信する。   In step S51, the CPU 5 sets the abnormality detection through setting 216 in the control command unit 102c, sets the address = 0 and the setting flag = 000000 in the data unit 103a (reference numeral 316), and transmits it to each control device.

ステップS52では、CPU5が、制御指令部102cに異常検出指令217を設定し、各制御装置へ送信する。   In step S52, the CPU 5 sets an abnormality detection command 217 in the control command unit 102c and transmits it to each control device.

ステップS53では、CPU5が、異常検出指令217に対する制御装置側の応答のデータ部103aが、アドレス=0となっているかどうかを判断し、アドレス=0ならばステップS54へ進み、アドレス=0でないならば、ステップS55へ進む。   In step S53, the CPU 5 determines whether or not the data section 103a of the response on the control device side with respect to the abnormality detection command 217 is address = 0. If address = 0, the process proceeds to step S54, and if address = 0 is not satisfied. If so, the process proceeds to step S55.

ステップS54では、CPU5が、異常なしとして、異常検出処理を終了する。   In step S54, the CPU 5 determines that there is no abnormality and ends the abnormality detection process.

ステップS55では、CPU5が、制御指令部102cに異常検出のスルー設定216を設定し、データ部103a(符号316)にステップS52の応答データのアドレス=X、設定フラグ=010000(例えば過放電状態を検出した場合)を設定し、各制御装置へ送信する。   In step S55, the CPU 5 sets the abnormality detection through setting 216 in the control command unit 102c, and in the data unit 103a (reference numeral 316), the address of the response data in step S52 = X and the setting flag = 010000 (for example, the overdischarge state is set). (When detected) is set and transmitted to each control device.

ステップS56では、CPU5が、制御指令部102cに異常検出指令217を設定し、各制御装置へ送信する。   In step S56, the CPU 5 sets an abnormality detection command 217 in the control command unit 102c and transmits it to each control device.

ステップS57では、CPU5が、異常検出指令217に対する制御装置側の応答のデータ部103aが、アドレス=0となっているかどうかを判断し、アドレス=0ならばステップS58へ進み、アドレス=0でないならば、ステップS59へ進む。   In step S57, the CPU 5 determines whether or not the data section 103a of the response on the control device side with respect to the abnormality detection command 217 has an address = 0. If the address = 0, the process proceeds to step S58. If so, the process proceeds to step S59.

ステップS58では、CPU5が、アドレス=Xの制御装置以外は異常なしとして、異常検出処理を終了する。そして、次の処理として、アドレス=Xの制御装置が監視する単電池の全てのデータの取得を全データ検出指令201により行うようにすればよい。   In step S58, the CPU 5 determines that there is no abnormality except for the control device with the address = X, and ends the abnormality detection process. Then, as the next processing, all the data of the single cell monitored by the control device of address = X may be acquired by the all data detection command 201.

ステップS59では、CPU5が、制御指令部102cに異常検出のスルー設定216を設定し、データ部103a(符号316)にステップS56の応答データのアドレス=Y、設定フラグ=000100(例えば内蔵データ2の異常を検出した場合)を設定し、各制御装置へ送信する。   In step S59, the CPU 5 sets the abnormality detection through setting 216 in the control command unit 102c, and in the data unit 103a (reference numeral 316), the address of the response data in step S56 = Y and the setting flag = 000100 (for example, the built-in data 2). Is set) and sent to each control device.

ステップS60では、CPU5が、制御指令部102cに異常検出指令217を設定し、各制御装置へ送信する。   In step S60, the CPU 5 sets an abnormality detection command 217 in the control command unit 102c and transmits it to each control device.

ステップS61では、CPU5が、異常検出指令217に対する制御装置側の応答のデータ部103aが、アドレス=0となっているかどうかを判断し、アドレス=0ならばステップS62へ進み、アドレス=0でないならば、ステップS63へ進む。   In step S61, the CPU 5 determines whether or not the data section 103a of the response on the control device side with respect to the abnormality detection command 217 is address = 0. If address = 0, the process proceeds to step S62, and if address = 0 is not satisfied. If so, the process proceeds to step S63.

ステップS62では、アドレス=X,Y以外の制御装置に異常なしとして異常検出処理を終了する。そして、次の処理として、アドレス=X,Yの制御装置が監視する単電池の全てのデータの取得を全データ検出指令201により行うようにすればよい。   In step S62, the abnormality detection process is terminated by assuming that there is no abnormality in the control devices other than the addresses X and Y. Then, as the next processing, all the data of the single cell monitored by the control device of the address = X, Y may be acquired by the all data detection command 201.

ステップS63では、CPU5が、制御指令部102cに異常検出のスルー設定216を設定し、データ部103a(符号316)にステップS60の応答データのアドレス=Z、設定フラグ=000010(例えば状態値1の異常を検出した場合)を設定し、各制御装置へ送信する。   In step S63, the CPU 5 sets the abnormality detection through setting 216 in the control command unit 102c, and in the data unit 103a (reference numeral 316), the address of the response data in step S60 = Z and the setting flag = 000010 (for example, state value 1) Is set) and sent to each control device.

ステップS64では、以下このようにして、レスポンス部103のアドレス=0となるまで繰り返すようにする。   In step S64, the process is repeated until the address of the response unit 103 = 0 as described below.

[より速く異常検出の通信を行う作用]
図18は実施例2における異常検出での初期のスルー設定を行った状態を示す説明図である。図19は実施例2における異常検出状態を示す説明図である。
図20は実施例2における異常検出での2度目のスルー設定を行った状態を示す説明図である。図21は実施例2における2度目の異常検出状態を示す説明図である。図22は実施例2における異常検出での3度目のスルー設定を行った状態を示す説明図である。図23は実施例2における3度目の異常検出状態を示す説明図である。
[Function to perform communication for abnormality detection faster]
FIG. 18 is an explanatory diagram illustrating a state in which initial through setting has been performed in abnormality detection in the second embodiment. FIG. 19 is an explanatory diagram illustrating an abnormality detection state in the second embodiment.
FIG. 20 is an explanatory diagram illustrating a state in which the second through setting is performed in the abnormality detection in the second embodiment. FIG. 21 is an explanatory diagram illustrating a second abnormality detection state according to the second embodiment. FIG. 22 is an explanatory diagram illustrating a state in which the third through setting is performed in the abnormality detection in the second embodiment. FIG. 23 is an explanatory diagram illustrating a third abnormality detection state according to the second embodiment.

実施例2では、異常が発生している制御装置と異常の種別を特定した後、その制御装置のデータを得るようにする。
まず、異常検出処理のための初期化処理として、スルー設定をアドレス=0、異常種別の設定フラグを000000とした送信をCPU5から行う。すると、制御装置IC1〜IC24の記憶部(図示せず)にスルー設定が書き込まれる(図18参照)。この書き込みは、CPU5側がステップS51の処理で、制御装置側は、データ受信状態S4において行われる。
In the second embodiment, after specifying the control device in which an abnormality has occurred and the type of the abnormality, data of the control device is obtained.
First, as initialization processing for abnormality detection processing, transmission with a through setting of address = 0 and an abnormality type setting flag of 000000 is performed from the CPU 5. Then, the through setting is written in the storage units (not shown) of the control devices IC1 to IC24 (see FIG. 18). This writing is performed in step S51 on the CPU 5 side and in the data reception state S4 on the control device side.

初期化したならば、CPU5から異常検出指令217がフォトカプラ4を介して、制御装置IC24へ送信される。
制御装置IC24では、スルー設定アドレス=0のため、自身の受け持つ単電池VB93〜VB96の異常検出を行い、異常が無い場合は、異常検出なしとして、異常検出アドレス=0を一つ上流の制御装置IC23へ送信する。
When the initialization is performed, the abnormality detection command 217 is transmitted from the CPU 5 to the control device IC 24 through the photocoupler 4.
In the control device IC24, since the through setting address = 0, abnormality is detected in the unit cells VB93 to VB96 that the control device IC24 is responsible for, and if there is no abnormality, the abnormality detection address = 0 is set as one upstream control device without abnormality detection. Send to IC23.

このようにして、次々に一つ上流の制御装置へ異常検出結果のレスポンス部103を送信して行く。
そして、例えば、制御装置IC5の監視する単電池のいずれかに異常状態が検出されたならば、制御装置IC5は自身のアドレスを異常検出アドレスとし(異常検出アドレス=5)、さらにその異常の種別に該当する設定フラグを立てて(例えば過充電異常として010000)、一つ上流の制御装置へ異常検出結果のレスポンス部103を送信する。
In this manner, the abnormality detection result response unit 103 is sequentially transmitted to the upstream one upstream control device.
For example, if an abnormal state is detected in any of the single cells monitored by the control device IC5, the control device IC5 sets its own address as an abnormality detection address (abnormality detection address = 5), and the type of abnormality. Is set (for example, 010000 as an overcharge abnormality), and the response part 103 of the abnormality detection result is transmitted to the control device one upstream.

異常を検出した制御装置IC5より上流の制御装置IC1〜IC4では、異常検出アドレスに書き込みがある場合には、異常検出を行わず、制御装置IC5からのレスポンス部103をそのまま上流へ送信する。
そして、制御装置IC1からフォトカプラ3を介して、CPU5にレスポンス部103が送信される。これにより、CPU5には、最も下流で異常検知された制御装置のアドレスとその異常種別を特定する設定フラグを得ることになる(図19参照)。
In the control devices IC1 to IC4 upstream of the control device IC5 that detects the abnormality, when there is a write in the abnormality detection address, the abnormality detection is not performed and the response unit 103 from the control device IC5 is transmitted to the upstream as it is.
Then, the response unit 103 is transmitted from the control device IC1 to the CPU 5 via the photocoupler 3. As a result, the CPU 5 obtains a setting flag for specifying the address of the control device in which the abnormality is detected most downstream and its abnormality type (see FIG. 19).

すると、CPU5は、スルー設定をアドレス=5、設定フラグを「010000」とした送信をCPU5から行う。すると、制御装置IC1〜IC24の記憶部(図示せず)にスルー設定が書き込まれる(図20参照)。この書き込みは、CPU5側が例えばステップS55の処理で、制御装置側は、データ受信状態S4において行われる。   Then, the CPU 5 performs transmission with the through setting as address = 5 and the setting flag as “010000” from the CPU 5. Then, the through setting is written in the storage units (not shown) of the control devices IC1 to IC24 (see FIG. 20). This writing is performed, for example, in step S55 on the CPU 5 side, and in the data reception state S4 on the control device side.

そして、CPU5から異常検出指令217がフォトカプラ4を介して、制御装置IC24へ送信される。
ここで、制御装置IC24から順に上流の制御装置IC5までは、スルー設定されたアドレスより下流であるために、異常検出を行わずに単に送信を通過(スルー)させる。
Then, an abnormality detection command 217 is transmitted from the CPU 5 to the control device IC 24 via the photocoupler 4.
Here, since the control device IC24 to the upstream control device IC5 are downstream from the through-set address, transmission is simply passed (through) without detecting abnormality.

そして、スルー設定されたアドレスより、一つ上流のアドレスの制御装置IC4が異常検出を行い、この場合は異常がないため異常検出アドレス=0を一つ上流の制御装置IC3へ送信する。
制御装置IC3も異常がないため、異常検出アドレス=0を一つ上流へ送信する。
Then, the control device IC4 of the address one upstream from the through-set address detects an abnormality. In this case, since there is no abnormality, the abnormality detection address = 0 is transmitted to the control device IC3 upstream.
Since there is no abnormality in the control device IC3, the abnormality detection address = 0 is transmitted one upstream.

そして、例えば制御装置IC2の監視する単電池のいずれかに異常が検出されたならば、制御装置IC2は自身のアドレスを異常検出アドレスとし(異常検出アドレス=2)、異常の種別を設定フラグに設定し(例えば内蔵データ2が異常の場合「000100」)、一つ上流の制御装置IC1へ異常検出結果のレスポンス部103を送信する。   For example, if an abnormality is detected in one of the cells monitored by the control device IC2, the control device IC2 sets its own address as an abnormality detection address (abnormality detection address = 2), and sets the abnormality type as a setting flag. It is set (for example, “000100” when the built-in data 2 is abnormal), and the abnormality detection result response unit 103 is transmitted to the control device IC1 one upstream.

異常を検出した制御装置IC2より上流の制御装置IC1では、異常検出アドレスに書き込みがある場合には、異常検出を行わず、制御装置IC2からのレスポンス部103をそのままフォトカプラ3を介して、CPU5に送信する。
このようにして、CPU5では、最も下流で異常検知された制御装置のアドレスを得ることになる(図21参照)。
この場合には、残る制御装置が制御装置IC1のみであるので、異常を検出した制御装置IC2、IC5に加えて、制御装置IC1についても全データ検出指令201により全データを得るようにしてもよい。しかし、本実施例2の作用を明確にするために、さらに処理を続行させて説明する。
In the control device IC1 upstream of the control device IC2 that has detected the abnormality, if there is a write in the abnormality detection address, the abnormality detection is not performed, and the response unit 103 from the control device IC2 is directly passed through the photocoupler 3 to the CPU 5 Send to.
In this way, the CPU 5 obtains the address of the control device in which the abnormality is detected most downstream (see FIG. 21).
In this case, since the remaining control device is only the control device IC1, in addition to the control devices IC2 and IC5 that detect the abnormality, all data may be obtained for the control device IC1 by the all data detection command 201. . However, in order to clarify the operation of the second embodiment, the process will be further described.

次に、CPU5は、スルー設定をアドレス=2とし、設定フラグを「000100」とした送信をCPU5から行う。すると、制御装置IC1〜IC24の記憶部(図示せず)にスルー設定が書き込まれる(図22参照)。この書き込みは、CPU5側が例えばステップS59の処理で、制御装置側は、データ受信状態S4において行われる。   Next, the CPU 5 performs transmission from the CPU 5 with the through setting set to address = 2 and the setting flag set to “000100”. Then, the through setting is written in the storage units (not shown) of the control devices IC1 to IC24 (see FIG. 22). This writing is performed, for example, in step S59 on the CPU 5 side, and in the data reception state S4 on the control device side.

そして、CPU5から異常検出指令217がフォトカプラ4を介して、制御装置IC24へ送信される。
ここで、制御装置IC24から順に上流の制御装置IC2までは、スルー設定されたアドレスより下流であるために、異常検出を行わずに単に送信を通過(スルー)させる。
Then, an abnormality detection command 217 is transmitted from the CPU 5 to the control device IC 24 via the photocoupler 4.
Here, since the control device IC24 to the upstream control device IC2 are downstream from the through-set address, transmission is simply passed (through) without detecting abnormality.

そして、スルー設定されたアドレスより、一つ上流のアドレスの制御装置IC1が異常検出を行い、この場合は異常がないため異常検出アドレス=0、設定フラグ「000000」を、フォトカプラ3を介して、CPU5に送信する。
このようにして、CPU5では、異常検出アドレス=0を検出したことにより、異常検出処理を終了する(図23参照)。
Then, the control device IC1 of the address one upstream from the through-set address detects an abnormality. In this case, since there is no abnormality, the abnormality detection address = 0 and the setting flag “000000” are set via the photocoupler 3. , To CPU5.
In this manner, the CPU 5 ends the abnormality detection process when the abnormality detection address = 0 is detected (see FIG. 23).

そして、各異常検出処理において、異常のある制御装置と異常の種別を特定した後、異常のある制御装置のみに対して、全データ検出指令を送信して、詳細なデータを得て、異常のある単電池の特定と、異常の状態の把握等を行うようにすればよい。
この際、異常の種別が特定されていることにより、そのデータのみを得るようにすることはできないものの、特定された異常のみを選択するように着目して処理するようにすればよいため、処理は非常に速くなる。
この異常検出処理において、レスポンス部103のデータ部103aに書き込まれるのは、異常検出範囲で最も下流の制御装置のアドレスと設定フラグのみであり、非常に少ないデータ量である。
実施例2では、この少ないデータ量で済む通信により異常のある制御装置と異常の種別を特定した後に、より詳細なデータをCPU5が得るようにするので、非常に高速な処理となる。
Then, in each abnormality detection process, after specifying the abnormal control device and the type of abnormality, all data detection commands are transmitted only to the abnormal control device to obtain detailed data, What is necessary is just to identify a certain cell and to grasp the abnormal state.
At this time, since it is not possible to obtain only the data because the type of abnormality is specified, it is only necessary to perform processing while paying attention to selecting only the specified abnormality. Will be very fast.
In this abnormality detection process, only the address and setting flag of the control device that is most downstream in the abnormality detection range are written in the data part 103a of the response unit 103, and the amount of data is very small.
In the second embodiment, the CPU 5 obtains more detailed data after identifying the abnormal control device and the type of abnormality through communication that requires only a small amount of data, so that the processing is very fast.

なお、実施例2では、スルー設定により異常検出を行わない動作は、制御装置ごとに行われる。そのため、この動作に対しては、スルー設定として設定フラグは必要ではない。実施例2においては、例えば制御装置で監視している単電池の異常の種別が増加した場合には、設定フラグの一致エラーとすることで、早期に異常が他の単電池に広がること、異常の度合いが進むことを検出できるようにしている。また、この設定フラグの一致を見ることにより、異常検出及びこれに関する処理の正確性を高めている。   In the second embodiment, the operation that does not detect the abnormality by the through setting is performed for each control device. Therefore, for this operation, a setting flag is not necessary as a through setting. In the second embodiment, for example, when the type of abnormality of the unit cell monitored by the control device increases, by setting a matching flag match error, the abnormality spreads to other unit cells at an early stage, It is possible to detect that the degree of progress is advanced. Further, the accuracy of abnormality detection and related processing is improved by checking the coincidence of the setting flags.

効果を説明する。実施例2の通信装置にあっては、上記(1)〜(3)に加えて、次の効果を有する。
(4)上記(1)〜(3)において、異常検出指令217は、予め設定した、過充電状態、過放電状態、内蔵データ1異常、内蔵データ2異常、状態値1異常、状態値2異常のうち、いずれかに該当する場合とし、制御装置の上下配置位置を示すアドレスと、異常種別を示す設定フラグを制御装置IC1〜IC24に送信させるため、制御装置IC1〜IC24のいずれの制御装置で監視している単電池に異常が生じているか、さらにどのような異常が生じているかを、非常に早く特定することができ、結果的にどの単電池で異常が生じているかを非常に早く特定することができる。
そのために、異常をより早く検知し、より早く対応することができるバッテリコントローラ1にすることができる。
Explain the effect. The communication device according to the second embodiment has the following effects in addition to the above (1) to (3).
(4) In (1) to (3) above, the abnormality detection command 217 is set in advance as an overcharge state, overdischarge state, internal data 1 abnormality, internal data 2 abnormality, state value 1 abnormality, state value 2 abnormality. In any of the control devices IC1 to IC24, in order to cause the control devices IC1 to IC24 to transmit the address indicating the vertical arrangement position of the control device and the setting flag indicating the abnormality type. It is possible to very quickly identify whether or not a cell being monitored is abnormal, and what type of abnormality is occurring, and as a result, identify which single cell is abnormal. can do.
Therefore, it is possible to make the battery controller 1 capable of detecting an abnormality earlier and responding earlier.

実施例3は、下流側から上流への異常検出で最初に異常を検出した制御装置のアドレスと設定フラグを応答する通信データにした例である。
構成を説明する。
図24は実施例3における制御装置IC1〜IC24及びCPU5に予め設定した制御指令とその応答データを示す説明図である。
図24に示すものでは、全データ検出指令201、合計電圧検出指令202、異常検出指令218を制御指令部102cとして設ける。
全データ検出指令201、合計電圧検出指令202、これに対応するデータ部301、302は実施例1と同様のため説明を省略する。
The third embodiment is an example in which communication data is used as the response to the address and setting flag of the control device that first detects an abnormality in the abnormality detection from the downstream side to the upstream side.
The configuration will be described.
FIG. 24 is an explanatory diagram showing control commands and response data set in advance in the control devices IC1 to IC24 and the CPU 5 in the third embodiment.
In FIG. 24, an all data detection command 201, a total voltage detection command 202, and an abnormality detection command 218 are provided as a control command unit 102c.
The all data detection command 201, the total voltage detection command 202, and the corresponding data parts 301 and 302 are the same as those in the first embodiment, and the description thereof is omitted.

異常検出指令218は、全ての制御装置IC1〜IC24、及び監視する単電池で異常が生じていないかを検出させる指令である。
そして、この指令に応答するデータ部318には、制御装置IC1〜IC24を示すアドレスと、異常種別を示す設定フラグが設けられている。
異常の内容、設定フラグについては、実施例2と同様であるので説明を省略する。
The abnormality detection command 218 is a command for detecting whether or not an abnormality has occurred in all the control devices IC1 to IC24 and the cell to be monitored.
The data section 318 responding to this command is provided with an address indicating the control devices IC1 to IC24 and a setting flag indicating the abnormality type.
Since the contents of the abnormality and the setting flag are the same as those in the second embodiment, description thereof is omitted.

作用を説明する。
[異常検出処理]
図25に示すのは、CPU5で実行される異常検出処理の流れを示すフローチャートで、以下各ステップについて説明する。
The operation will be described.
[Abnormality detection processing]
FIG. 25 is a flowchart showing the flow of abnormality detection processing executed by the CPU 5, and each step will be described below.

ステップS71では、CPU5が、制御指令部102cに異常検出指令218を設定し、各制御装置へ送信する。
なお、各制御装置IC1〜IC24は、この指令に対してレスポンス部103を順に上流へ送る通信によりCPU5へ送信する。
In step S71, the CPU 5 sets an abnormality detection command 218 in the control command unit 102c and transmits it to each control device.
Each of the control devices IC1 to IC24 transmits the response unit 103 to the CPU 5 in response to this command in order to send it upstream.

ステップS72では、CPU5が、異常検出指令218に対する制御装置側の応答のデータ部103aが、アドレス=0となっているかどうかを判断し、アドレス=0ならば、処理を終了し、アドレス=0でないならば、ステップS73へ進む。   In step S72, the CPU 5 determines whether or not the data section 103a of the response on the control device side with respect to the abnormality detection command 218 has an address = 0. If the address = 0, the process is terminated, and the address is not 0. If so, the process proceeds to step S73.

ステップS73では、異常ありと判断し、ステップS74〜S77の異常が発生した制御装置の特定処理を後に行うようにする。   In step S73, it is determined that there is an abnormality, and the control device identifying process in which the abnormality has occurred in steps S74 to S77 is performed later.

以降に説明するステップS74〜S77の処理は、ステップS71〜S73の処理で異常を検出した場合に行う処理である。   The processes in steps S74 to S77 described below are processes performed when an abnormality is detected in the processes in steps S71 to S73.

ステップS74では、CPU5が、異常を検出したアドレス=Xの制御装置に、全データ検出指令201を送信する。
これに対して、アドレス=Xに該当する制御装置は、レスポンス部103をCPU5に送信する。
In step S <b> 74, the CPU 5 transmits an all data detection command 201 to the control device at the address = X where the abnormality is detected.
On the other hand, the control device corresponding to the address = X transmits the response unit 103 to the CPU 5.

ステップS73では、CPU5が、異常を検出したアドレス=X−1の制御装置に、全データ検出指令201を送信する。   In step S <b> 73, the CPU 5 transmits an all data detection command 201 to the control device at address = X−1 where the abnormality is detected.

ステップS72では、CPU5が、異常を検出したアドレス=X−2の制御装置に、全データ検出指令201を送信する。   In step S72, the CPU 5 transmits an all data detection command 201 to the control device at address = X-2 where the abnormality is detected.

このようにアドレスを変更して、異常を検出したアドレス=Xの制御装置より上流の制御装置全ての全データをCPU5へ送信させる。最後はアドレス=1の制御装置となる。   Thus, the address is changed, and all data of all the control devices upstream from the control device of the address = X where the abnormality is detected is transmitted to the CPU 5. The last is the control device with address = 1.

ステップS71では、CPU5が、異常を検出したアドレス=1の制御装置に、全データ検出指令201を送信する。
そして、CPU5では、アドレス=Xより上流の全てのデータから、アドレス=Xの制御装置の状態、及び他の制御装置に異常がないかのチェックを行う。
この際に、実施例3では、異常を検出したアドレス=Xの異常の種別を得ているので、他の制御装置のデータに対して、及びアドレス=Xの制御装置が監視する単電池に対して、設定フラグで得た異常を優先して詳細な異常判断を行う。 [より速く異常検出の通信を行う作用]
実施例3では、スルー設定の作用ほどの異常検出の通信処理の速さを得ることはできない。但し、異常検出指令218により、最も下流で異常を検出した制御装置のアドレスと、その異常種別を得る。そして、その後にステップS74〜S77で取得する異常を検出した制御装置より上流側の全データに対して、得た異常種別を優先して異常検出を行うようにする。そのため、バッテリ2全体に対して周囲状況等が影響しているような場合には、速く他の単電池の異常を検出する。また、異常のあった制御装置が監視する4つの単電池から異常のあった単電池をさがす処理の際にも、異常種別が特定されているので、そのデータをCPU5が見ればよく、速い特定処理となる。
In step S <b> 71, the CPU 5 transmits an all data detection command 201 to the control device with the address = 1 where the abnormality is detected.
Then, the CPU 5 checks the state of the control device at address = X and whether there is any abnormality in other control devices from all data upstream from address = X.
At this time, in the third embodiment, since the type of abnormality of the address = X where the abnormality is detected is obtained, the data of the other control device and the unit cell monitored by the control device of the address = X Thus, a detailed abnormality determination is performed with priority given to the abnormality obtained by the setting flag. [Function to perform communication for abnormality detection faster]
In the third embodiment, it is not possible to obtain the communication processing speed for detecting an abnormality as high as the through setting. However, the abnormality detection command 218 obtains the address of the control device that detected the abnormality most downstream and its abnormality type. Then, abnormality detection is performed with priority on the obtained abnormality type with respect to all data upstream of the control apparatus that detected the abnormality acquired in steps S74 to S77. For this reason, when the ambient condition or the like affects the entire battery 2, the abnormality of another unit cell is detected quickly. In addition, since the abnormality type is specified in the process of searching for an abnormal cell from the four cells monitored by the abnormal control device, the CPU 5 only has to look at the data, and the specification is fast. It becomes processing.

効果を説明する。
実施例3の通信装置にあっては、以下の効果を有する。
(5)上下直列に複数または多数配置され、一つ下流側から受信し、一つ上流側へ送信する通信を行う制御装置IC1〜IC24と、最下流に位置する制御装置IC24へ送信し、最上流に位置する制御装置IC1から受信することにより、複数または多数の制御装置IC1〜IC24との通信を行うCPU5を有し、CPU5の通信制御に制御装置IC1〜IC24が従って応答又は動作することにより、通信網を構成するバッテリコントローラ1において、どの制御装置IC1〜IC24かを識別できるように、上下配列に関連付けして設定したアドレスを設け、CPU5は、予め設定した異常のいずれかに該当する場合に異常を検出した状態とし、異常を検出した制御装置IC1〜IC24のうち最下流の制御装置IC1〜IC24のアドレスと、異常の種別を示す設定フラグとを送信させる異常検出指令218を備えたため、異常を検出したアドレスより上流側全ての制御装置のデータをCPU5で取得して行う後の異常検出の際に、得た異常の種別を優先することにより異常検出処理を効率的に速く行うことができる。
Explain the effect.
The communication device according to the third embodiment has the following effects.
(5) A plurality or many are arranged in series in the vertical direction, receive from one downstream side and transmit to one upstream side, and transmit to one upstream side control device IC1 to IC24 and the most downstream control device IC24. By receiving from the control device IC1 located upstream, the CPU 5 communicates with a plurality or a plurality of control devices IC1 to IC24, and the control devices IC1 to IC24 respond or operate according to the communication control of the CPU5. In the battery controller 1 constituting the communication network, an address set in association with the upper and lower arrays is provided so that the control devices IC1 to IC24 can be identified, and the CPU 5 corresponds to one of the preset abnormalities. The control device IC1 to IC24 of the most downstream control device IC1 to IC24 among the control devices IC1 to IC24 that detected the abnormality And an abnormality detection command 218 for transmitting a setting flag indicating the type of abnormality, so that when detecting abnormality after the CPU 5 acquires data of all control devices upstream from the address where the abnormality is detected. By giving priority to the obtained abnormality type, the abnormality detection process can be performed efficiently and quickly.

以上、本発明の通信装置を実施例1〜実施例3に基づき説明してきたが、具体的な構成については、これらの実施例に限られるものではなく、特許請求の範囲の各請求項に係る発明の要旨を逸脱しない限り、設計の変更や追加等は許容される。   As mentioned above, although the communication apparatus of this invention has been demonstrated based on Example 1-Example 3, it is not restricted to these Examples about a concrete structure, It concerns on each claim of a claim Design changes and additions are allowed without departing from the scope of the invention.

例えば、実施例1では、単電池及び制御装置の異常検出について示したが、他の所定条件であってもよい。
また、実施例1、実施例2では、2度目の異常検出において、異常を検出した場合、3度目の異常検出を行う前のスルー設定では、最上流位置の異常を検出した制御装置のアドレスを設定したが、1度目の異常検出で異常を検出した制御装置のアドレスを共にスルー設定に含めるようにしてもよい。
For example, in the first embodiment, the abnormality detection of the unit cell and the control device has been described, but other predetermined conditions may be used.
In the first and second embodiments, when an abnormality is detected in the second abnormality detection, the address of the control device that detected the abnormality in the most upstream position is set in the through setting before the third abnormality detection. Although set, the address of the control device that detected the abnormality in the first abnormality detection may be included in the through setting.

実施例1の通信装置を用いたバッテリシステムの概略図である。It is the schematic of the battery system using the communication apparatus of Example 1. FIG. 実施例1の通信装置を用いたバッテリコントローラの概略構成を示す図である。It is a figure which shows schematic structure of the battery controller using the communication apparatus of Example 1. FIG. 実施例1の通信装置が用いられたバッテリコントローラの制御装置の送受信に関するブロック構成を示す図である。It is a figure which shows the block structure regarding transmission / reception of the control apparatus of the battery controller in which the communication apparatus of Example 1 was used. 実施例1の制御装置IC1〜IC24及びCPU5で行われる通信のデータ(通信信号)の説明図である。It is explanatory drawing of the data (communication signal) of communication performed by control apparatus IC1-IC24 and CPU5 of Example 1. FIG. 実施例1の制御装置IC1〜IC24及びCPU5に予め設定した制御指令とその応答データを示す説明図である。It is explanatory drawing which shows the control command preset to control apparatus IC1-IC24 and CPU5 of Example 1, and its response data. 制御装置側の通信状態の遷移を示す状態遷移図である。It is a state transition diagram which shows the transition of the communication state by the side of a control apparatus. CPU5で実行される異常検出処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the abnormality detection process performed by CPU5. 実施例1における異常検出でのスルー設定を行った状態を示す説明図である。It is explanatory drawing which shows the state which performed through setting by the abnormality detection in Example 1. FIG. 実施例1における異常検出での過充電状態を検出する状態を示す説明図である。It is explanatory drawing which shows the state which detects the overcharge state in the abnormality detection in Example 1. FIG. 実施例1における異常検出での2度目のスルー設定を行った状態を示す説明図である。It is explanatory drawing which shows the state which performed the 2nd through setting by the abnormality detection in Example 1. FIG. 実施例1における異常検出での2度目の過充電状態を検出する状態を示す説明図である。It is explanatory drawing which shows the state which detects the 2nd overcharge state in the abnormality detection in Example 1. FIG. 実施例1における異常検出での3度目のスルー設定を行った状態を示す説明図である。It is explanatory drawing which shows the state which performed the 3rd through setting by the abnormality detection in Example 1. FIG. 実施例1における異常検出での3度目の過充電状態を検出する状態を示す説明図である。It is explanatory drawing which shows the state which detects the 3rd overcharge state by the abnormality detection in Example 1. FIG. 考案した制御装置IC1〜IC24及びCPU5に予め設定した制御指令とその応答データを示す説明図である。It is explanatory drawing which shows the control command preset to control apparatus IC1-IC24 and CPU5 which were devised, and its response data. CPU5で実行される異常検出処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the abnormality detection process performed by CPU5. 実施例2の制御装置IC1〜IC24及びCPU5に予め設定した制御指令とその応答データを示す説明図である。It is explanatory drawing which shows the control instruction | command preset to the control apparatuses IC1-IC24 of Example 2, and CPU5, and its response data. CPU5で実行される異常検出処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the abnormality detection process performed by CPU5. 実施例2における異常検出での初期のスルー設定を行った状態を示す説明図である。It is explanatory drawing which shows the state which performed the initial through setting by the abnormality detection in Example 2. FIG. 実施例2における異常検出状態を示す説明図である。It is explanatory drawing which shows the abnormality detection state in Example 2. FIG. 実施例2における異常検出での2度目のスルー設定を行った状態を示す説明図である。It is explanatory drawing which shows the state which performed the 2nd through setting by the abnormality detection in Example 2. FIG. 実施例2における2度目の異常検出状態を示す説明図である。FIG. 10 is an explanatory diagram showing a second abnormality detection state in the second embodiment. 実施例2における異常検出での3度目のスルー設定を行った状態を示す説明図である。FIG. 10 is an explanatory diagram illustrating a state in which a third through setting is performed in abnormality detection in the second embodiment. 実施例2における3度目の異常検出状態を示す説明図である。FIG. 10 is an explanatory diagram illustrating a third abnormality detection state in the second embodiment. 実施例3における制御装置IC1〜IC24及びCPU5に予め設定した制御指令とその応答データを示す説明図である。It is explanatory drawing which shows the control command preset to control apparatus IC1-IC24 and CPU5 in Example 3, and its response data. CPU5で実行される異常検出処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the abnormality detection process performed by CPU5.

符号の説明Explanation of symbols

1 バッテリコントローラ
2 バッテリ
VB1〜VB96 単電池
3 フォトカプラ
4 フォトカプラ
5 CPU
6 負荷
71 通信制御部
72 受信回路
73 送信回路
74 切替部
741 A端子
742 B端子
743 C端子
100 通信フレーム
101 ウェークアップ信号
102 ヘッダ部
102a 同期開始部
102b 同期信号部
102c 制御指令部
103 レスポンス部
103a データ部
103b チェックサム
104 フレーム間領域
201 全データ検出指令
202 合計電圧検出指令
203 異常検出のスルー設定
204 過充電状態検出指令
205 過放電状態検出指令
206 内蔵データ1異常検出指令
207 内臓データ2異常検出指令
208 状態値1異常検出指令
209 状態値2異常検出指令
210 過充電状態検出指令
211 過放電状態検出指令
212 内蔵データ1異常検出指令
213 内蔵データ2異常検出指令
214 状態値1異常検出指令
215 状態値2異常検出指令
216 異常検出のスルー設定
217 異常検出指令
218 異常検出指令
301〜318 データ部
IC1〜IC24 制御装置
R1〜R8 抵抗
R11〜R16 抵抗
R231〜R236 抵抗
R243〜R246 抵抗
DESCRIPTION OF SYMBOLS 1 Battery controller 2 Battery VB1-VB96 Single cell 3 Photocoupler 4 Photocoupler 5 CPU
6 load 71 communication control unit 72 reception circuit 73 transmission circuit 74 switching unit 741 A terminal 742 B terminal 743 C terminal 100 communication frame 101 wakeup signal 102 header unit 102a synchronization start unit 102b synchronization signal unit 102c control command unit 103 response unit 103a data Section 103b Checksum 104 Inter-frame region 201 Total data detection command 202 Total voltage detection command 203 Through detection detection 204 setting Overcharge state detection command 205 Overdischarge state detection command 206 Built-in data 1 abnormality detection command 207 Built-in data 2 abnormality detection command 208 Status value 1 error detection command 209 Status value 2 error detection command 210 Overcharge status detection command 211 Overdischarge status detection command 212 Built-in data 1 error detection command 213 Built-in data 2 error detection command 214 Status value 1 error detection command 215 Through setting the status value 2 abnormality detection command 216 abnormality detection 217 abnormality detection command 218 abnormality detection command 301 to 318 data unit IC1~IC24 controller R1~R8 resistance R11~R16 resistance R231~R236 resistance R243~R246 resistance

Claims (6)

上下直列に複数または多数配置され、一つ下流側から受信し、一つ上流側へ送信する通信を行う従属側制御装置と、
最下流に位置する従属側制御装置へ送信し、最上流に位置する従属側制御装置から受信することにより、複数または多数の従属側制御装置との通信を行う主制御装置を有し、主制御装置の通信制御に前記従属側制御装置が従って応答又は動作することにより、通信網を構成する通信装置において、
どの従属側制御装置かを識別するように、上下配列に関連付けして設定した識別データを設け、
前記主制御装置は、
所定条件に該当する前記従属側制御装置のうち最下流の前記従属側制御装置の前記識別データを送信させる所定条件検出指令と、
指定した識別データの配列位置から下流に位置する前記従属側制御装置は、上流にデータを送るのみで、前記所定条件検出指令の指令動作を行わなくさせるスルー設定指令と、
を備えたことを特徴とする通信装置。
A subordinate control device that is arranged in a plurality of numbers in the vertical series and that performs communication for receiving from one downstream side and transmitting to one upstream side,
It has a main control device that communicates with a plurality or a plurality of subordinate control devices by transmitting to the subordinate control device located on the most downstream side and receiving from the subordinate control device located on the most upstream side. In the communication device constituting the communication network, the subordinate control device responds or operates according to the communication control of the device.
In order to identify which subordinate control device, identification data set in association with the upper and lower arrays is provided,
The main controller is
A predetermined condition detection command for transmitting the identification data of the subordinate control apparatus that is the most downstream among the subordinate control apparatuses that satisfy a predetermined condition;
The subordinate control device located downstream from the arrangement position of the specified identification data only sends data upstream, and a through setting command for not performing the command operation of the predetermined condition detection command;
A communication apparatus comprising:
請求項1に記載の通信装置において、
前記スルー設定指令は、指定した複数の識別データのうち、最も上流側の識別データの配列位置から下流に位置する前記従属側制御装置は、上流にデータを送るのみで、前記所定条件検出指令の指令動作を行わなくさせる指令構成にした、
ことを特徴とする通信装置。
The communication device according to claim 1,
In the through setting command, the subordinate control device located downstream from the arrangement position of the most upstream identification data among the plurality of designated identification data only sends the data upstream, and the predetermined condition detection command The command configuration is such that command operation is not performed.
A communication device.
請求項1又は請求項2に記載の通信装置において、
前記従属側制御装置は、
複数又は多数の単電池が直列して構成される車両の駆動用二次電池の所定数ごとの単電池を監視するものであり、
前記所定条件検出指令は、所定数の単電池のいずれかに異常が生じていることを所定の条件とした、
ことを特徴とする通信装置。
The communication device according to claim 1 or 2,
The subordinate control device includes:
Monitoring a single cell for each predetermined number of secondary batteries for driving a vehicle constituted by a plurality of or a plurality of single cells connected in series;
The predetermined condition detection command has a predetermined condition that an abnormality has occurred in any of a predetermined number of single cells,
A communication device.
請求項1〜請求項3に記載の通信装置において、
前記所定条件検出指令の所定条件は、予め設定した複数の条件のうち、いずれかに該当する場合とし、
前記所定条件検出指令は、前記前記識別データと、どの条件かを特定する種別データを送信させる、
ことを特徴とする通信装置。
In the communication apparatus according to claim 1 to claim 3,
The predetermined condition of the predetermined condition detection command is a case where any of a plurality of preset conditions is satisfied,
The predetermined condition detection command causes the identification data and type data to specify which condition is transmitted,
A communication device.
複数又は多数の単電池が直列して構成される車両の駆動用二次電池の所定数ごとの単電池を監視するように、上下直列に複数または多数配置され、一つ下流側から受信し、一つ上流側へ送信する通信を行う従属側制御装置と、
最下流に位置する従属側制御装置へ送信し、最上流に位置する従属側制御装置から受信することにより、複数または多数の従属側制御装置との通信を行う主制御装置を有し、主制御装置の通信制御に前記従属側制御装置が従って応答又は動作することにより、通信網を構成する通信装置において、
どの従属側制御装置かを識別するように、上下配列に関連付けして設定した識別データを設け、
前記主制御装置は、
予め設定した複数の条件のいずれかに該当する場合を所定条件とし、前記所定条件に該当する前記従属側制御装置のうち最下流の前記従属側制御装置の前記識別データと、
どの条件かを特定する種別データと、
を送信させる所定条件検出指令を備えた、
ことを特徴とする通信装置。
A plurality or a plurality of cells are arranged in series in the vertical direction so as to monitor a predetermined number of secondary batteries for driving a vehicle constituted by a plurality or a plurality of cells arranged in series, and received from one downstream side, A subordinate control device that performs communication to be transmitted to one upstream side;
It has a main control device that communicates with a plurality or a plurality of subordinate control devices by transmitting to the subordinate control device located on the most downstream side and receiving from the subordinate control device located on the most upstream side. In the communication device constituting the communication network, the subordinate control device responds or operates according to the communication control of the device.
In order to identify which subordinate control device, identification data set in association with the upper and lower arrays is provided,
The main controller is
A case where any one of a plurality of conditions set in advance is set as a predetermined condition, and the identification data of the subordinate control device at the most downstream among the subordinate control devices corresponding to the predetermined condition;
Type data that identifies which conditions, and
With a predetermined condition detection command to transmit
A communication device.
上下直列に複数または多数配置され、一つ下流側から受信し、一つ上流側へ送信する通信を行う従属側制御装置と、
最下流に位置する従属側制御装置へ送信し、最上流に位置する従属側制御装置から受信することにより、複数または多数の従属側制御装置との通信を行う主制御装置を有し、主制御装置の通信制御に前記従属側制御装置が従って応答又は動作することにより、通信網を構成する通信装置において、
上下配列に関連付けして設定した識別データによりどの従属側制御装置かを識別可能にし、
前記主制御装置からの指令により、前記従属側の制御装置が、所定条件に該当する前記従属側制御装置のうち最下流の前記従属側制御装置の前記識別データを指令に対する応答として送信し、
前記主制御装置からの指令により、前記従属側の制御装置が、指定した識別データの配列位置から下流に位置する場合には、上流にデータを送るのみで、前記所定条件検出指令の指令動作を行わなくした、
ことを特徴とする通信方法。
A subordinate control device that is arranged in a plurality of numbers in the vertical series and that performs communication for receiving from one downstream side and transmitting to one upstream side,
It has a main control device that communicates with a plurality or a plurality of subordinate control devices by transmitting to the subordinate control device located on the most downstream side and receiving from the subordinate control device located on the most upstream side. In the communication device constituting the communication network, the subordinate control device responds or operates according to the communication control of the device.
It is possible to identify which subordinate control device by the identification data set in association with the upper and lower arrays,
In response to a command from the main control device, the control device on the subordinate side transmits the identification data of the subordinate control device on the most downstream side among the subordinate control devices corresponding to a predetermined condition as a response to the command,
In response to a command from the main control device, when the subordinate control device is located downstream from the specified identification data arrangement position, the command operation of the predetermined condition detection command is performed only by sending data upstream. Lost
A communication method characterized by the above.
JP2008170409A 2008-06-30 2008-06-30 Communication device Pending JP2010006304A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008170409A JP2010006304A (en) 2008-06-30 2008-06-30 Communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008170409A JP2010006304A (en) 2008-06-30 2008-06-30 Communication device

Publications (1)

Publication Number Publication Date
JP2010006304A true JP2010006304A (en) 2010-01-14

Family

ID=41587279

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008170409A Pending JP2010006304A (en) 2008-06-30 2008-06-30 Communication device

Country Status (1)

Country Link
JP (1) JP2010006304A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3882087A1 (en) * 2020-03-18 2021-09-22 Yazaki Corporation On-vehicle control system and controlling method of on-vehicle control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3882087A1 (en) * 2020-03-18 2021-09-22 Yazaki Corporation On-vehicle control system and controlling method of on-vehicle control system

Similar Documents

Publication Publication Date Title
JP4935893B2 (en) Battery abnormality determination device
CN1801720A (en) Method and apparatus for supplying power to external device via Ethernet
CN109245222B (en) Active-passive hybrid equalization circuit of series battery pack and charging control method thereof
CN101969214A (en) Battery pack and control method thereof
EP2549579A1 (en) Battery system
CN109417498B (en) Information processing system, battery module, control method, and computer-readable storage medium
CN106536261A (en) Battery system and method for operating same
JP7541498B2 (en) Battery Control Unit
JP2015021834A (en) Battery monitoring apparatus and battery unit
JP2011106855A (en) Power supply device
AU2022466069A1 (en) Photovoltaic system and optimizer networking method thereof
CN117833416A (en) Charging and discharging equalization system and method for series batteries
JP2015177234A (en) battery module and CAN communication identifier setting method
JP2010006304A (en) Communication device
WO2012115148A1 (en) Power supply device, electrical power storage device, battery system, control device, and control program
JP6048300B2 (en) Battery monitoring device and battery unit
CN109698762A (en) A kind of method and parameter adjustment controls of adjusting parameter
JP7192691B2 (en) Assembled battery monitoring device
JP2011010448A (en) Control unit
US20180147722A1 (en) Method and system for managing wireless networking of units inside robot
WO2020191931A1 (en) Battery formation circuit and battery formation apparatus
JP2018125969A (en) Fuse determination circuit of accumulator battery
EP3637119B1 (en) Device and method for diagnosing battery pack
WO2022143624A1 (en) Battery management system and method, vehicle and storage medium
KR20230100211A (en) Battery system