JP2012137877A - Secondary battery device, processor, monitoring program and vehicle - Google Patents

Secondary battery device, processor, monitoring program and vehicle Download PDF

Info

Publication number
JP2012137877A
JP2012137877A JP2010288733A JP2010288733A JP2012137877A JP 2012137877 A JP2012137877 A JP 2012137877A JP 2010288733 A JP2010288733 A JP 2010288733A JP 2010288733 A JP2010288733 A JP 2010288733A JP 2012137877 A JP2012137877 A JP 2012137877A
Authority
JP
Japan
Prior art keywords
processor
reset
secondary battery
status signal
battery device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2010288733A
Other languages
Japanese (ja)
Other versions
JP5537403B2 (en
Inventor
Fumiyuki Yamane
史之 山根
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2010288733A priority Critical patent/JP5537403B2/en
Publication of JP2012137877A publication Critical patent/JP2012137877A/en
Application granted granted Critical
Publication of JP5537403B2 publication Critical patent/JP5537403B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a secondary battery device, a processor, a monitoring program and a vehicle which have high availability, maintainability, detectability and reliability.SOLUTION: A secondary battery device comprises: a battery cell BT including plural secondary battery cells; a voltage measurement circuit 10 to measure voltages of the secondary battery cells; a first processor 20 to communicate with the voltage measurement circuit 10 and a host control circuit 40, to control charging and discharging of the battery cell BT and to output a first status signal indicating an active state of itself; and a second processor 30 which receives the first status signal and determines whether the first processor 20 works rightly based on the first status signal and which can output a first reset signal for executing a hardware reset operation relating to the first processor 20 when it is determined that the first processor 20 does not work rightly.

Description

本発明の実施形態は、二次電池装置、プロセッサ、監視プログラム、および、車両に関する。   Embodiments described herein relate generally to a secondary battery device, a processor, a monitoring program, and a vehicle.

従来、二次電池装置においては、電池制御に必要な処理(バッテリ保護、Fuel Gauge算出、パック容量算出、内部抵抗算出、上位制御回路通信、電圧測定用回路間通信等)を行うためにプロセッサが搭載されている。このプロセッサが異常になった場合には、上位制御回路が電池についての正しい情報(電圧・温度)を入手できなくなるだけでなく、現在の情報が得られない、または誤った情報を得てしまうことにより、電池が過電圧状態に至り爆発・発火等ユーザに危害が加わる事象に至る可能性がある。   Conventionally, in a secondary battery device, a processor is used to perform processing necessary for battery control (battery protection, fuel gauge calculation, pack capacity calculation, internal resistance calculation, upper control circuit communication, voltage measurement inter-circuit communication, etc.). It is installed. If this processor becomes abnormal, the host control circuit will not be able to obtain the correct information (voltage / temperature) about the battery, but will not be able to obtain current information or obtain incorrect information. Therefore, there is a possibility that the battery may reach an overvoltage state, resulting in an event that causes harm to the user such as explosion and fire.

このため、従来の二次電池装置においては、爆発・発火を防ぐために、プロセッサを監視するための回路を付加し、この監視回路でプロセッサが動作しているかどうかを確認し、動作していない場合には上位制御回路に異常通知を行うことを実施している。   For this reason, in the conventional secondary battery device, in order to prevent explosion and ignition, a circuit for monitoring the processor is added, and it is confirmed whether or not the processor is operating with this monitoring circuit. In this case, an abnormality is notified to the upper control circuit.

具体的には、プロセッサとプロセッサを監視するための回路との間にある通信線に、プロセッサが動作している時には規定の周波数の方形波パルスが出力されているが、動作していない時には規定とは異なる方形波パルス(ハイ(H)レベルまたはロー(L)レベルに固定、または周波数やデューティ(Duty)比が規定とは異なる波形)が出力される。   Specifically, a square wave pulse with a specified frequency is output to the communication line between the processor and a circuit for monitoring the processor when the processor is operating, but it is specified when the processor is not operating. Square wave pulses (waveforms that are fixed at a high (H) level or low (L) level or whose frequency and duty ratio are different from prescribed) are output.

プロセッサを監視するための回路がこの信号線を常に監視していて、規定の方形波パルスが出力されなくなった場合には、この監視回路により、即座にプロセッサをハードウエアリセットすると同時に、上位制御回路にプロセッサが動作していないことを通知している。   When the circuit for monitoring the processor constantly monitors this signal line and the specified square wave pulse is not output, the monitoring circuit immediately resets the hardware by this monitoring circuit, and at the same time, the upper control circuit The processor is not running.

特開平5−46426号公報Japanese Patent Application Laid-Open No. 5-46426 特開2001−63492号公報JP 2001-63492 A

プロセッサを監視するための回路から異常通知を受けた上位制御回路は、二次電池装置が異常であることから、電池と電池で駆動されているモータ等に接続される主回路とを即座に遮断する。その結果として、ユーザの使用している車両の駆動力が突然無くなることとなり、例えば高速道路を高速で走行している時に後続車に追突されることや、カーブを曲がっている時に車両が回転する等の事故が発生する可能性があった。   The host control circuit that has received an abnormality notification from the circuit for monitoring the processor immediately shuts off the battery and the main circuit connected to the motor driven by the battery because the secondary battery device is abnormal. To do. As a result, the driving force of the vehicle used by the user suddenly disappears, for example, when the vehicle is colliding with a following vehicle when traveling on a highway at high speed, or the vehicle rotates when turning a curve. There was a possibility of accidents.

また、宇宙線や設計保障範囲外のノイズによるプロセッサの異常状態への遷移は、かならず発生するものであり、これらが要因の場合には、プロセッサをハードウエアリセットすると復帰できるが、従来の二次電池装置では、上記したように、1回でもプロセッサが異常状態に陥り停止した場合に、プロセッサのハードウエアリセットと、上位制御回路への異常通知が行われるために、復帰可能な異常状態においても、上位制御回路に対して異常通知を行ってしまう。このため、異常通知が発生する確率が高くなり、二次電池装置の可用性が低くなっている。結果として、二次電池装置を使用した機器の安全性も低くなる。   In addition, a transition to an abnormal state of the processor due to cosmic rays or noise outside the design guarantee range always occurs, and if these are causes, it can be restored by hardware resetting the processor. In the battery device, as described above, when the processor has fallen into an abnormal state and stopped even once, the hardware reset of the processor and the abnormal notification to the host control circuit are performed. Therefore, an abnormality notification is sent to the host control circuit. For this reason, the probability of occurrence of an abnormality notification is increased, and the availability of the secondary battery device is decreased. As a result, the safety of the device using the secondary battery device is also lowered.

また、プロセッサの状態を示すために、方形波パルスを使用する場合、監視回路で方形波パルスが規定以外になったことによりプロセッサの異常を検出することはできるが、いつ異常が発生したか、二次電池装置がどのような処理を行っていた時に異常が発生したかについて知ることはできなかった。   Also, when using a square wave pulse to indicate the processor status, the monitoring circuit can detect the processor abnormality due to the square wave pulse becoming out of specification, but when the abnormality occurred, It was impossible to know what kind of processing the secondary battery device was performing when an abnormality occurred.

また、プロセッサの異常の状態やプログラムの書き方によっては、規定の方形波パルスは出力しているにも関わらず、内部の処理に異常が生じている場合があった。具体的には、方形波パルスは出力しているが、上位制御回路との通信を行えていない場合、または、上位制御回路との通信は行えているが内容に定義していないデータ内容・アドレス・制御コマンドが含まれている場合が生じる可能性があった。これらの場合には、方形波パルスのみの監視では、プロセッサの異常を検出することができない。   Also, depending on the state of the abnormality of the processor and the way of writing the program, there is a case where an abnormality occurs in the internal processing even though the prescribed square wave pulse is output. Specifically, when a square wave pulse is output but communication with the host control circuit is not possible, or data communication with the host control circuit but not defined in the contents -There was a possibility that a control command was included. In these cases, the processor abnormality cannot be detected by monitoring only the square wave pulse.

上記のように、従来の二次電池装置は、異常通知が発生する確率が高く(可用性が低い)、異常が発生した要因の解析の難易度が高く(保守性が低い)、異常を見逃す確率が高い(検出性が低い)ものであって、信頼性が低いものであった。   As described above, conventional secondary battery devices have a high probability of anomaly notification (low availability), a high degree of difficulty in analyzing the cause of the anomaly (low maintainability), and a probability of missing an anomaly Was high (low detectability) and low in reliability.

本発明は上記事情を鑑みて成されたものであって、可用性・保守性・検出性が高く、信頼性の高い二次電池装置、プロセッサ、監視プログラム、および、車両を提供することを目的とする。   The present invention has been made in view of the above circumstances, and an object thereof is to provide a secondary battery device, a processor, a monitoring program, and a vehicle that have high availability, maintainability, and detectability and high reliability. To do.

実施形態に係る二次電池装置は、複数の二次電池セルを含む電池と、前記二次電池セルの電圧を測定する電圧測定用回路と、前記電圧測定用回路および上位制御回路と通信を行ない前記電池の充電および放電制御を行なうとともに、自己の動作状態を示す第1ステータス信号を出力する第1プロセッサと、前記第1ステータス信号を受信し、前記第1ステータス信号に基づいて前記第1プロセッサが正しい動作をしているか否か判断し、前記第1プロセッサが正しい動作をしていないと判断したときに前記第1プロセッサをハードウエアリセットする第1リセット信号を出力可能な第2プロセッサと、を備える。   The secondary battery device according to the embodiment communicates with a battery including a plurality of secondary battery cells, a voltage measurement circuit that measures the voltage of the secondary battery cell, and the voltage measurement circuit and the host control circuit. A first processor for performing charge and discharge control of the battery and outputting a first status signal indicating its own operating state; receiving the first status signal; and based on the first status signal, the first processor A second processor capable of outputting a first reset signal for hardware resetting the first processor when it is determined whether the first processor is not operating correctly; Is provided.

実施形態に係る車両の一構成例を説明するための図である。It is a figure for explaining an example of 1 composition of vehicles concerning an embodiment. 第1実施形態の二次電池装置の一構成例を説明するための図である。It is a figure for demonstrating the example of 1 structure of the secondary battery apparatus of 1st Embodiment. 図2に示す二次電池装置のメインプロセッサおよびサブプロセッサの一構成例を説明するための図である。FIG. 3 is a diagram for explaining a configuration example of a main processor and a sub processor of the secondary battery device shown in FIG. 2. 図2に示す二次電池装置のプロセッサの動作ステータスの一例を説明するための図である。It is a figure for demonstrating an example of the operation status of the processor of the secondary battery apparatus shown in FIG. 図2に示す二次電池装置のサブプロセッサの動作の一例を説明するためのフローチャートである。3 is a flowchart for explaining an example of an operation of a sub processor of the secondary battery device shown in FIG. 2. 図2に示す二次電池装置のメインプロセッサの動作の一例を説明するためのフローチャートである。3 is a flowchart for explaining an example of an operation of a main processor of the secondary battery device shown in FIG. 第2実施形態の二次電池装置の一構成例を説明するための図である。It is a figure for demonstrating the example of 1 structure of the secondary battery apparatus of 2nd Embodiment. 第3実施形態の二次電池装置の一構成例を説明するための図である。It is a figure for demonstrating the example of 1 structure of the secondary battery apparatus of 3rd Embodiment. 第4実施形態の二次電池装置の一構成例を説明するための図である。It is a figure for demonstrating the example of 1 structure of the secondary battery apparatus of 4th Embodiment.

以下、実施形態について、図面を参照して説明する。
図1に、本発明の一実施形態に係る車両の一構成例を概略的に示す。本実施形態に係る車両は、例えば電気自動車あるいはハイブリッド自動車であって、二次電池装置が搭載されている。
Hereinafter, embodiments will be described with reference to the drawings.
FIG. 1 schematically shows a configuration example of a vehicle according to an embodiment of the present invention. The vehicle according to the present embodiment is, for example, an electric vehicle or a hybrid vehicle, and has a secondary battery device mounted thereon.

車両は、電池管理装置300と、電池モジュール400と、電池モジュール400からの電力により駆動される車軸と、運転制御部500と、電池モジュール400から電力が供給されるモータ600と、上位制御回路40と、シャーシ1000と、駆動輪WR、WLと、を備える。   The vehicle includes a battery management device 300, a battery module 400, an axle driven by power from the battery module 400, an operation control unit 500, a motor 600 to which power is supplied from the battery module 400, and a host control circuit 40. And a chassis 1000 and drive wheels WR and WL.

電池モジュール400は、複数の二次電池セル(図示せず)を含む電池BT(図2に示す)と、電池BTの温度等を測定する電池電圧測定用回路10(図2に示す)と、電池管理装置300に情報を流している通信系とを備える。電池BTの正極端子と負極端子とは、運転制御部500に接続されている。   The battery module 400 includes a battery BT (shown in FIG. 2) including a plurality of secondary battery cells (not shown), a battery voltage measurement circuit 10 (shown in FIG. 2) that measures the temperature of the battery BT, and the like. The battery management apparatus 300 includes a communication system that sends information. The positive terminal and the negative terminal of the battery BT are connected to the operation control unit 500.

電池管理装置300は、電池モジュール400から複数の二次電池セルの電圧値、電池BTの電流値、および、電池BTの温度値が供給され、電池BTの電圧値等を監視するとともに充電および放電等を管理する制御回路と、電池モジュール400および上位制御回路40と通信を行なう通信系とを備える。   The battery management device 300 is supplied with a voltage value of a plurality of secondary battery cells, a current value of the battery BT, and a temperature value of the battery BT from the battery module 400, and monitors the voltage value of the battery BT and the like, and is charged and discharged. And a communication system for communicating with the battery module 400 and the host control circuit 40.

運転制御部500はインバータ(図示せず)を備え、電池モジュール400から供給される電圧を変換するとともに、運転指令を受けて出力電流・電圧のレベル制御及び位相制御などを行う。運転制御部500の出力は、モータ600に駆動電力として供給される。モータ600の回転は、例えば差動ギアユニットを介して、車軸(図示せず)および駆動輪WR、WLに伝達される。   The operation control unit 500 includes an inverter (not shown), converts the voltage supplied from the battery module 400, receives the operation command, performs output current / voltage level control, phase control, and the like. The output of the operation control unit 500 is supplied to the motor 600 as drive power. The rotation of the motor 600 is transmitted to the axle (not shown) and the drive wheels WR and WL through, for example, a differential gear unit.

上位制御回路40は、電池管理装置300から複数の二次電池セルの電圧等のデータや、電池モジュール400や電池管理装置300の異常を通知する信号を受信して、電池管理装置300の動作を制御する。   The host control circuit 40 receives data such as voltages of a plurality of secondary battery cells from the battery management device 300 and a signal notifying the abnormality of the battery module 400 or the battery management device 300, and operates the battery management device 300. Control.

図2に、本実施形態に係る二次電池装置の一構成例を概略的に示す。本実施形態に係る二次電池装置は、複数の二次電池セル(図示せず)を含む電池BTと、電池BTの電圧および温度を測定する電池電圧測定用回路10と、メインプロセッサ(第1プロセッサ)20と、サブプロセッサ(第2プロセッサ)30と、第1メモリM1と、第2メモリM2と、を備えている。本実施形態の二次電池装置が車両に搭載されるときには、電池BTと電池電圧測定用回路10は電池モジュール400に搭載され、メインプロセッサ20、サブプロセッサ30、第1メモリM1、および、第2メモリM2は電池管理装置300に搭載される。   FIG. 2 schematically shows a configuration example of the secondary battery device according to the present embodiment. The secondary battery device according to the present embodiment includes a battery BT including a plurality of secondary battery cells (not shown), a battery voltage measurement circuit 10 that measures the voltage and temperature of the battery BT, and a main processor (first Processor) 20, sub-processor (second processor) 30, first memory M 1, and second memory M 2. When the secondary battery device of this embodiment is mounted on a vehicle, the battery BT and the battery voltage measurement circuit 10 are mounted on the battery module 400, and the main processor 20, the sub processor 30, the first memory M1, and the second The memory M2 is mounted on the battery management device 300.

電池電圧測定用回路10は、電圧測定線により電池BTと接続されている。電池電圧測定用回路10は、電圧測定線から複数の二次電池セルの正極端子電圧および負極端子電圧を取得して、各二次電池セルの端子間電圧をメインプロセッサ20へ出力する。また、電池電圧測定用回路10は、電池BTに設置された温度センサ(図示せず)から電池BTの温度を検出し、図示しない通信系により検出結果をメインプロセッサ20へ送信する。   The battery voltage measurement circuit 10 is connected to the battery BT by a voltage measurement line. The battery voltage measurement circuit 10 acquires the positive terminal voltage and the negative terminal voltage of a plurality of secondary battery cells from the voltage measurement line, and outputs the inter-terminal voltage of each secondary battery cell to the main processor 20. The battery voltage measurement circuit 10 detects the temperature of the battery BT from a temperature sensor (not shown) installed in the battery BT, and transmits the detection result to the main processor 20 through a communication system (not shown).

電池電圧測定用回路10は、測定した電圧等の値が異常である場合、および、電池電圧測定用回路10が異常である場合に、図示しない通信系によりサブプロセッサ30へ異常を通知する。   The battery voltage measurement circuit 10 notifies the sub processor 30 of an abnormality through a communication system (not shown) when the measured voltage value is abnormal or when the battery voltage measurement circuit 10 is abnormal.

メインプロセッサ20は、電池制御に必要な処理(電池保護、Fuel Gauge算出、電池容量算出、内部抵抗算出、上位制御回路40との通信、電池電圧測定用回路10との通信等)と、サブプロセッサ30の動作状態の監視、異常通知、および、ハードウエアリセットを行う。メインプロセッサ20は、電池電圧測定用回路10から電池BTの電圧値および温度値を受信するとともに、電池電圧測定用回路10へ制御コマンドを送信する。   The main processor 20 includes processing necessary for battery control (battery protection, fuel gauge calculation, battery capacity calculation, internal resistance calculation, communication with the host control circuit 40, communication with the battery voltage measurement circuit 10, etc.), and sub processor 30 operation status monitoring, abnormality notification, and hardware reset are performed. The main processor 20 receives the voltage value and temperature value of the battery BT from the battery voltage measurement circuit 10 and transmits a control command to the battery voltage measurement circuit 10.

図3にメインプロセッサ20の一構成例を示す。メインプロセッサ20は、命令メモリ21と、データメモリ23と、プログラムカウンタ25と、レジスタ27と、種々の論理演算を行なう演算器29と、を備えている。   FIG. 3 shows a configuration example of the main processor 20. The main processor 20 includes an instruction memory 21, a data memory 23, a program counter 25, a register 27, and an arithmetic unit 29 that performs various logical operations.

命令メモリ21は、二次電池装置を制御するための命令を保持する。
データメモリ23は、電池電圧測定用回路10から受信した電圧値や温度値等のデータを保持する。
The instruction memory 21 holds an instruction for controlling the secondary battery device.
The data memory 23 holds data such as voltage values and temperature values received from the battery voltage measurement circuit 10.

プログラムカウンタ25は、次に実行すべき命令のアドレスを保持するレジスタである。メインプロセッサ20は、プログラムカウンタ25が指し示す命令を命令メモリ21から読み出して実行する。命令を読み出すと次に実行すべき命令を指し示すように更新される。   The program counter 25 is a register that holds an address of an instruction to be executed next. The main processor 20 reads the instruction indicated by the program counter 25 from the instruction memory 21 and executes it. When an instruction is read, it is updated to point to the instruction to be executed next.

レジスタ27は、データを一次記憶する記憶手段である。演算の対象データやメモリアクセスのためのメモリアドレスを格納する汎用レジスタ、プログラム制御に使われるコントロールレジスタ、および、入出力装置(I/O)を制御するための周辺機能レジスタ等が用いられる。   The register 27 is a storage unit that primarily stores data. A general-purpose register for storing calculation target data and a memory address for memory access, a control register used for program control, a peripheral function register for controlling an input / output device (I / O), and the like are used.

メインプロセッサ20は、サブプロセッサ30へのステータス通知信号として、例えばプログラムカウンタ25の値や、メインプロセッサ20の動作ステータス番号を出力する。   The main processor 20 outputs, for example, the value of the program counter 25 and the operation status number of the main processor 20 as a status notification signal to the sub processor 30.

プログラムカウンタ25の値は、正常にプログラムが実行されると所定のタイミングで値が更新される。したがって、メインプロセッサ20でプログラムが正常に実行されている場合には、一定期間(例えば1秒)内にプログラムカウンタ25の値が変化する。もしメインプロセッサ20でプログラムが正常に実行されていない場合には、一定期間(例えば1秒)内にプログラムカウンタ25の値は変化しない。   The value of the program counter 25 is updated at a predetermined timing when the program is normally executed. Accordingly, when the program is normally executed by the main processor 20, the value of the program counter 25 changes within a certain period (for example, 1 second). If the program is not normally executed by the main processor 20, the value of the program counter 25 does not change within a certain period (for example, 1 second).

図4にメインプロセッサ20の処理に対する動作ステータス番号の一例を示す。メインプロセッサ20が行なう処理のそれぞれには動作ステータス番号が付されている。メインプロセッサ20は、上位制御回路40から受信した制御コマンドに従って所定の処理を順次実行する。メインプロセッサ20は、例えばレジスタ27、またはデータメモリ23にに動作ステータス番号を保持し、実行する処理が遷移する毎に動作ステータス番号を更新する。メインプロセッサ20が処理Aを実行しているときは動作ステータス番号が1である。メインプロセッサ20の処理が処理Aから処理Dに遷移したときには、動作ステータス番号が1から4へ更新される。メインプロセッサ20でプログラムが正常に実行されている場合には、一定期間(例えば1秒)内に動作ステータス番号が変化する。もしメインプロセッサ20でプログラムが正常に実行されていない場合には、一定期間(例えば1秒)内に動作ステータス番号は変化しない。   FIG. 4 shows an example of the operation status number for the processing of the main processor 20. Each process performed by the main processor 20 is assigned an operation status number. The main processor 20 sequentially executes predetermined processing in accordance with the control command received from the upper control circuit 40. The main processor 20 holds the operation status number in the register 27 or the data memory 23, for example, and updates the operation status number every time processing to be executed is changed. When the main processor 20 is executing the process A, the operation status number is 1. When the process of the main processor 20 transitions from the process A to the process D, the operation status number is updated from 1 to 4. When the program is normally executed by the main processor 20, the operation status number changes within a certain period (for example, 1 second). If the program is not normally executed by the main processor 20, the operation status number does not change within a certain period (for example, 1 second).

メインプロセッサ20と電池電圧測定用回路10との間は、測定用回路コマンド・データ通信用インタフェースにより接続されている。メインプロセッサ20と上位制御回路40との間は、データ通信用インタフェースおよび制御コマンド線により接続されている。メインプロセッサ20とサブプロセッサ30との間には、メインプロセッサステータス通知線と、サブプロセッサステータス通知線と、サブプロセッサリセット信号線と、メインプロセッサリセット信号線とが接続されている。   The main processor 20 and the battery voltage measurement circuit 10 are connected by a measurement circuit command / data communication interface. The main processor 20 and the upper control circuit 40 are connected by a data communication interface and a control command line. A main processor status notification line, a sub processor status notification line, a sub processor reset signal line, and a main processor reset signal line are connected between the main processor 20 and the sub processor 30.

サブプロセッサ30は、メインプロセッサ20と同様の構成であって、命令メモリ31と、データメモリ33と、プログラムカウンタ35と、レジスタ37と、種々の論理演算を行なう演算器39と、を備えている。サブプロセッサ30は、メインプロセッサ20の動作状態の監視、異常通知、および、ハードウエアリセットを行う。また、サブプロセッサ30は、上位制御回路40へメインプロセッサ20の動作状態を通知することも行う。   The sub processor 30 has the same configuration as that of the main processor 20, and includes an instruction memory 31, a data memory 33, a program counter 35, a register 37, and an arithmetic unit 39 that performs various logical operations. . The sub processor 30 performs monitoring of the operating state of the main processor 20, notification of abnormality, and hardware reset. The sub processor 30 also notifies the upper control circuit 40 of the operating state of the main processor 20.

サブプロセッサ30は、メインプロセッサ20のステータス信号を受信して、このステータス信号を監視することによってメインプロセッサ20の動作状態を監視している。サブプロセッサ30は、メインプロセッサ20が正しく動作していることを検知できている間は、メインプロセッサリセット信号をディセーブルにして、メインプロセッサ20をハードウエアリセットしない。サブプロセッサ30は、メインプロセッサ20が正しく動作していない(異常である)ことを検知した場合には、メインプロセッサリセット信号をイネーブルにして、メインプロセッサ20をハードウエアリセットする。リセットされたメインプロセッサ20はリブートし再度プログラムを実行する。このように、サブプロセッサ30によってメインプロセッサ20のハードウエアリセットを行う。   The sub processor 30 receives the status signal of the main processor 20 and monitors the operating state of the main processor 20 by monitoring the status signal. While the sub processor 30 can detect that the main processor 20 is operating correctly, the sub processor 30 disables the main processor reset signal and does not reset the main processor 20 by hardware. When the sub processor 30 detects that the main processor 20 is not operating correctly (abnormal), the sub processor 30 enables the main processor reset signal and resets the main processor 20 by hardware. The reset main processor 20 reboots and executes the program again. Thus, the hardware reset of the main processor 20 is performed by the sub processor 30.

さらに、サブプロセッサ30は、メインプロセッサ20をハードウエアリセットしたときに、ハードウエアリセットを実施したこと、ハードウエアリセット要因とその値(メインプロセッサ20のプログラムカウンタ25の値および動作ステータス番号)、および、ハードウエアリセットした時間を第2メモリM2に記録する。   Further, when the main processor 20 is hardware reset, the sub-processor 30 performs the hardware reset, the hardware reset factor and its value (the value of the program counter 25 of the main processor 20 and the operation status number), and The time when the hardware is reset is recorded in the second memory M2.

サブプロセッサ30は、ハードウエアリセットを複数回実施してもメインプロセッサ20の異常が続く場合に、サブプロセッサ30と上位制御回路40との間に接続された異常通知線を用いて、メインプロセッサ20が異常であることの通知を行う。さらに、サブプロセッサ30は、メインプロセッサ20が異常であることを通知したときに、異常を通知した時間を第2メモリM2に記録する。   When the abnormality of the main processor 20 continues even if the hardware reset is performed a plurality of times, the sub processor 30 uses the abnormality notification line connected between the sub processor 30 and the upper control circuit 40 to use the main processor 20. Notification that is abnormal. Further, when the sub processor 30 notifies that the main processor 20 is abnormal, the sub processor 30 records the time when the abnormality is notified in the second memory M2.

図5に、サブプロセッサ30がメインプロセッサ20を監視する動作の一例を説明するフローチャートを示す。サブプロセッサ30がメインプロセッサ20の監視を開始すると、メインプロセッサ20の対象信号であるステータス信号を監視し(ステップSTA1)、メインプロセッサ20が正しい動作をしているか否か判断する(ステップSTA2)。   FIG. 5 shows a flowchart for explaining an example of the operation in which the sub processor 30 monitors the main processor 20. When the sub processor 30 starts monitoring the main processor 20, the status signal that is the target signal of the main processor 20 is monitored (step STA1), and it is determined whether or not the main processor 20 is operating correctly (step STA2).

具体的には、サブプロセッサ30は、メインプロセッサ20のステータス信号として受信するプログラムカウンタ25の値または動作ステータス番号が、一定期間内に変化しているか否か判断する。サブプロセッサ30は、プログラムカウンタ25の値または動作ステータス番号が一定期間内に変化している場合にはメインプロセッサ20が正常に動作していると判断し、プログラムカウンタ25の値または動作ステータス番号が一定期間内に変化していない場合にはメインプロセッサ20が異常であると判断する。   Specifically, the sub processor 30 determines whether or not the value of the program counter 25 or the operation status number received as the status signal of the main processor 20 has changed within a certain period. The sub processor 30 determines that the main processor 20 is operating normally when the value of the program counter 25 or the operation status number changes within a certain period, and the value of the program counter 25 or the operation status number is If it has not changed within a certain period, it is determined that the main processor 20 is abnormal.

サブプロセッサ30はメインプロセッサ20が正常に動作していると判断した場合、メインプロセッサ20からのステータス信号の監視を継続する(ステップSTA1)。   If the sub processor 30 determines that the main processor 20 is operating normally, the sub processor 30 continues to monitor the status signal from the main processor 20 (step STA1).

サブプロセッサ30はメインプロセッサ20が異常であると判断した場合、メインプロセッサ20のリセット(再起動)回数が規定値よりも大きいか否かを判断する(ステップSTA3)。メインプロセッサ20のリセット回数は、例えば第2メモリM2又はサブプロセッサ30内のレジスタ37またはデータメモリ33に記憶されている。   If the sub processor 30 determines that the main processor 20 is abnormal, the sub processor 30 determines whether or not the number of resets (restarts) of the main processor 20 is greater than a specified value (step STA3). The reset count of the main processor 20 is stored in the second memory M2 or the register 37 or the data memory 33 in the sub processor 30, for example.

メインプロセッサ20のリセット回数が規定値以下である場合には、サブプロセッサ30はメインプロセッサ20へリセット信号を出力してメインプロセッサ20をハードウエアリセットし(ステップSTA4)、第2メモリM2にプログラムカウンタ25の値、動作ステータス番号、および、現在時刻を記録するとともに、メインプロセッサ20のリセット回数をインクリメントする(ステップSTA5)。その後、サブプロセッサ30は、メインプロセッサ20からのステータス信号の監視を継続する(ステップSTA1)。   If the number of resets of the main processor 20 is equal to or less than the specified value, the sub processor 30 outputs a reset signal to the main processor 20 to perform hardware reset of the main processor 20 (step STA4), and stores the program counter in the second memory M2. The value 25, the operation status number, and the current time are recorded, and the number of resets of the main processor 20 is incremented (step STA5). Thereafter, the sub processor 30 continues to monitor the status signal from the main processor 20 (step STA1).

メインプロセッサ20のリセット回数が規定値よりも大きい場合には、サブプロセッサ30は、第2メモリM2にプログラムカウンタ25の値、動作ステータス番号、現在時刻を記録するとともに、上位制御回路40へメインプロセッサ20が異常である旨を通知して(ステップSTA6)、メインプロセッサ20の監視を終了する。なお、サブプロセッサ30は、上位制御回路40へメインプロセッサ20が異常である旨を通知したとき、メインプロセッサ20のリセット回数をゼロとする。   When the number of resets of the main processor 20 is larger than the specified value, the sub processor 30 records the value of the program counter 25, the operation status number, and the current time in the second memory M2, and sends the main processor to the upper control circuit 40. 20 is notified of the abnormality (step STA6), and monitoring of the main processor 20 is terminated. When the sub processor 30 notifies the upper control circuit 40 that the main processor 20 is abnormal, the sub processor 30 sets the reset count of the main processor 20 to zero.

サブプロセッサ30から異常通知を受けた上位制御回路40は、二次電池装置が異常であることから、電池BTと電池BTで駆動されているモータ等の負荷に接続された主回路とを即座に遮断する。   Receiving the abnormality notification from the sub-processor 30, the upper control circuit 40 immediately detects the battery BT and the main circuit connected to the load such as a motor driven by the battery BT because the secondary battery device is abnormal. Cut off.

メインプロセッサ20は、サブプロセッサ30からサブプロセッサ30のステータス信号を受信して、このステータス信号を監視することによってサブプロセッサ30の動作状態を監視する。   The main processor 20 receives the status signal of the sub processor 30 from the sub processor 30, and monitors the operating state of the sub processor 30 by monitoring the status signal.

メインプロセッサ20はサブプロセッサ30が正常であることを検知できている間は、サブプロセッサリセット信号をディセーブルにして、サブプロセッサ30をハードウエアリセットしない。メインプロセッサ20は、サブプロセッサが異常であることを検知した場合には、サブプロセッサリセット信号をイネーブルにして、サブプロセッサ30をハードウエアリセットする。リセットされたサブプロセッサ30はリブートし再度プログラムを実行する。   While the main processor 20 can detect that the sub processor 30 is normal, the main processor 20 disables the sub processor reset signal and does not perform a hardware reset on the sub processor 30. When the main processor 20 detects that the sub processor is abnormal, the main processor 20 enables the sub processor reset signal and resets the sub processor 30 by hardware. The reset sub-processor 30 reboots and executes the program again.

さらに、メインプロセッサ20は、サブプロセッサ30をハードウエアリセットしたときに、ハードウエアリセットを実施したこと、ハードウエアリセット要因とその値(サブプロセッサのプログラムカウンタ35の値および動作ステータス番号)、および、ハードウエアリセットした時間を第1メモリM1に記録する。   Furthermore, when the main processor 20 resets the hardware of the sub-processor 30, it performs the hardware reset, the hardware reset factor and its value (the value of the program counter 35 of the sub-processor and the operation status number), and The hardware reset time is recorded in the first memory M1.

メインプロセッサ20は、ハードウエアリセットを複数回実施してもサブプロセッサの異常が続く場合には、メインプロセッサ20から上位制御回路40への「データ通信用インタフェース」を用いて、サブプロセッサ30が異常であることの通知を行う。さらに、メインプロセッサ20は、サブプロセッサ30が異常であることを通知したときに、異常を通知した時間を第1メモリM1に記録する。   If the main processor 20 continues to perform a hardware reset multiple times and the sub processor continues to malfunction, the main processor 20 uses the “data communication interface” from the main processor 20 to the host control circuit 40 to cause the sub processor 30 to malfunction. To be notified. Further, when the main processor 20 notifies that the sub processor 30 is abnormal, the main processor 20 records the time when the abnormality is notified in the first memory M1.

さらに、メインプロセッサ20はサブプロセッサ30から受信したステータス信号が動作ステータス番号である場合、そのステータス信号を監視することで、サブプロセッサ30が正しい動作ステートにあるか否か検知することができる。   Further, when the status signal received from the sub processor 30 is the operation status number, the main processor 20 can detect whether or not the sub processor 30 is in the correct operation state by monitoring the status signal.

メインプロセッサ20は、上位制御回路40から受信した制御コマンドから、サブプロセッサ30が現在どの処理状態にあるべきか演算して、受信した動作ステータス番号に対応する処理と一致するか否かを判断する。   The main processor 20 calculates which processing state the sub processor 30 should be currently in from the control command received from the host control circuit 40, and determines whether or not it matches the processing corresponding to the received operation status number. .

メインプロセッサ20はサブプロセッサ30が正常であることを検知できている間は、サブプロセッサリセット信号をディセーブルにして、サブプロセッサ30をハードウエアリセットしない。メインプロセッサ20はサブプロセッサ30が異常であることを検知した場合には、サブプロセッサリセット信号をイネーブルにして、サブプロセッサ30をハードウエアリセットする。リセットされたサブプロセッサ30はリブートし再度プログラムを実行する。   While the main processor 20 can detect that the sub processor 30 is normal, the main processor 20 disables the sub processor reset signal and does not perform a hardware reset on the sub processor 30. When the main processor 20 detects that the sub processor 30 is abnormal, the main processor 20 enables the sub processor reset signal and resets the sub processor 30 by hardware. The reset sub-processor 30 reboots and executes the program again.

さらに、メインプロセッサ20は、サブプロセッサ30をハードウエアリセットしたときに、ハードウエアリセットを実施したこと、ハードウエアリセット要因とその値(サブプロセッサの動作ステータス番号)、ハードウエアリセットした時間を第1メモリM1に記録する。   In addition, the main processor 20 first sets the hardware reset when the sub processor 30 is hardware reset, the hardware reset factor and its value (operation status number of the sub processor), and the time when the hardware reset is performed. Record in the memory M1.

ハードウエアリセットを複数回実施してもサブプロセッサの異常が続く場合には、メインプロセッサ20から上位制御回路40へのデータ通信用インタフェースを用いて、サブプロセッサ30が異常であることの通知を行う。さらに、メインプロセッサ20は、サブプロセッサ30が異常であることを通知したときに、異常を通知した時間を第1メモリM1に記録する。   If the abnormality of the sub processor continues even if the hardware reset is performed a plurality of times, the data communication interface from the main processor 20 to the upper control circuit 40 is used to notify that the sub processor 30 is abnormal. . Further, when the main processor 20 notifies that the sub processor 30 is abnormal, the main processor 20 records the time when the abnormality is notified in the first memory M1.

図6に、メインプロセッサ20がサブプロセッサ30を監視する動作の一例を説明するフローチャートを示す。メインプロセッサ20がサブプロセッサ30の監視を開始すると、サブプロセッサ30の対象信号であるステータス信号を監視し(ステップSTB1)、サブプロセッサ30が正しい動作をしているか否か判断する(ステップSTB2)。   FIG. 6 is a flowchart for explaining an example of the operation in which the main processor 20 monitors the sub processor 30. When the main processor 20 starts monitoring the sub processor 30, the status signal which is the target signal of the sub processor 30 is monitored (step STB1), and it is determined whether or not the sub processor 30 is operating correctly (step STB2).

具体的には、メインプロセッサ20は、サブプロセッサ30のステータス信号として受信するプログラムカウンタ35の値または動作ステータス番号が、一定期間内に変化しているか否か判断する。メインプロセッサ20は、プログラムカウンタ35の値または動作ステータス番号が一定期間内に変化している場合にはサブプロセッサ30が正常に動作していると判断し、プログラムカウンタ35の値または動作ステータス番号が一定期間内に変化していない場合にはサブプロセッサ30が異常であると判断する。   Specifically, the main processor 20 determines whether the value of the program counter 35 or the operation status number received as the status signal of the sub processor 30 has changed within a certain period. The main processor 20 determines that the sub-processor 30 is operating normally when the value of the program counter 35 or the operation status number has changed within a certain period, and the value of the program counter 35 or the operation status number is If it has not changed within a certain period, it is determined that the sub processor 30 is abnormal.

さらに、メインプロセッサ20は、サブプロセッサ30のステータス信号として動作ステータス番号を受信した場合には、動作ステータス番号に対応する処理と、制御コマンドから演算されたサブプロセッサ30の現在あるべき処理状態とが一致するか否か判断することもできる。メインプロセッサ20は、処理が一致する場合にはサブプロセッサ30が正常に動作していると判断し、処理が一致しない場合にはサブプロセッサ30が異常であると判断する。   Further, when the main processor 20 receives the operation status number as the status signal of the sub processor 30, the main processor 20 determines the processing corresponding to the operation status number and the current processing state of the sub processor 30 calculated from the control command. It can also be determined whether or not they match. The main processor 20 determines that the sub processor 30 is operating normally when the processes match, and determines that the sub processor 30 is abnormal when the processes do not match.

メインプロセッサ20はサブプロセッサ30が正常に動作していると判断した場合、サブプロセッサ30からのステータス信号の監視を継続する(ステップSTB1)。   If the main processor 20 determines that the sub-processor 30 is operating normally, it continues to monitor the status signal from the sub-processor 30 (step STB1).

メインプロセッサ20はサブプロセッサ30が異常であると判断した場合、サブプロセッサ30のリセット(再起動)回数が規定値よりも大きいか否かを判断する(ステップSTB3)。サブプロセッサ30のリセット回数は、例えば第1メモリM1又はメインプロセッサ20内のレジスタ27またはデータメモリ23に記憶されている。   If the main processor 20 determines that the sub processor 30 is abnormal, the main processor 20 determines whether or not the number of resets (restarts) of the sub processor 30 is greater than a specified value (step STB3). The number of resets of the sub processor 30 is stored in the first memory M1 or the register 27 or the data memory 23 in the main processor 20, for example.

サブプロセッサ30のリセット回数が規定値以下である場合には、メインプロセッサ20はサブプロセッサ30へリセット信号を出力してサブプロセッサ30をハードウエアリセットし(ステップSTB4)、第1メモリM1にプログラムカウンタ35の値、動作ステータス番号、および、現在時刻を記録するとともに、サブプロセッサ30のリセット回数をインクリメントする(ステップSTB5)。その後、メインプロセッサ20は、サブプロセッサ30からのステータス信号の監視を継続する(ステップSTB1)。   When the number of resets of the sub processor 30 is equal to or less than the specified value, the main processor 20 outputs a reset signal to the sub processor 30 to perform hardware reset of the sub processor 30 (step STB4), and stores the program counter in the first memory M1. The value of 35, the operation status number, and the current time are recorded, and the reset count of the sub processor 30 is incremented (step STB5). Thereafter, the main processor 20 continues to monitor the status signal from the sub processor 30 (step STB1).

サブプロセッサ30のリセット回数が規定値よりも大きい場合には、メインプロセッサ20は、第1メモリM1にプログラムカウンタ35の値、動作ステータス番号、現在時刻を記録するとともに、上位制御回路40へサブプロセッサ30が異常である旨を通信用インタフェースにより通知して(ステップSTB6)、サブプロセッサ30の監視を終了する。なお、メインプロセッサ20は、上位制御回路40へサブプロセッサ30が異常である旨を通知したとき、サブプロセッサ30のリセット回数をゼロとする。   When the number of resets of the sub processor 30 is larger than the specified value, the main processor 20 records the value of the program counter 35, the operation status number, and the current time in the first memory M1, and sends the sub processor to the upper control circuit 40. 30 is notified by the communication interface (step STB6), and monitoring of the sub processor 30 is terminated. When the main processor 20 notifies the host control circuit 40 that the sub processor 30 is abnormal, the main processor 20 sets the number of resets of the sub processor 30 to zero.

上記のようにメインプロセッサ20およびサブプロセッサ30の監視を行なうと、宇宙線や設計保障範囲外のノイズが来ることによりメインプロセッサ20、サブプロセッサ30のどちらからが異常状態に遷移しても、正常動作している方のプロセッサが異常動作している方のプロセッサをハードウエアリセットし、その間は上位制御回路40に異常通知が行なわれない。このことにより、上位制御回路40により電池BTと電池BTで駆動されている負荷(モータ等)に接続される主回路の遮断は行われない。なお、宇宙線や設計保障範囲外のノイズ要因で両方のプロセッサが異常になる確率は非常に小さいことが知られている。   When the main processor 20 and the sub-processor 30 are monitored as described above, even if either the main processor 20 or the sub-processor 30 transitions to an abnormal state due to cosmic rays or noise outside the design guarantee range, it is normal. The processor that is operating abnormally resets the hardware of the processor that is operating abnormally, and no error notification is sent to the host control circuit 40 during that time. As a result, the upper control circuit 40 does not block the main circuit connected to the battery BT and the load (motor or the like) driven by the battery BT. It is known that the probability of both processors becoming abnormal due to cosmic rays or noise factors outside the design guarantee range is very small.

よって、宇宙線や設計保障範囲外のノイズにより車両等の駆動力が突然無くなることは生じず、ユーザが二次電池装置を搭載した車両を運転して高速道路を高速で走行している時に突然駆動力が無くなり後続車に追突されることや、カーブを曲がっている時に突然駆動力が無くなり車両が回転することは生じない。   Therefore, the driving force of the vehicle or the like does not suddenly disappear due to cosmic rays or noise outside the design guarantee range, and suddenly when the user is driving a vehicle equipped with a secondary battery device and traveling on a highway at high speed. It does not occur that the driving force is lost and the vehicle is bumped into the following vehicle, or that the vehicle does not rotate suddenly when turning a curve.

さらに、メインプロセッサ20とサブプロセッサ30とのどちらかに永続的な故障が発生した場合には、故障していないプロセッサで異常を正しく検知して、上位制御回路40に異常通知を行う。この場合には、上位制御回路40は電池BTと電池BTで駆動されている負荷(モータ等)に接続される主回路の遮断を行うことができる。プロセッサに永続的な故障が発生した場合には、車両等の駆動力が突然無くなることになるが、一般的にプロセッサに永続的な故障が発生する確率よりも、宇宙線や設計保障範囲外のノイズによる一時的な故障が発生する確率の方が非常に大きいことが知られている。   Further, when a permanent failure occurs in either the main processor 20 or the sub processor 30, an abnormality is correctly detected by a processor that has not failed, and an abnormality notification is sent to the upper control circuit 40. In this case, the host control circuit 40 can cut off the main circuit connected to the battery BT and a load (motor or the like) driven by the battery BT. When a permanent failure occurs in the processor, the driving force of the vehicle, etc. suddenly disappears. Generally, however, the probability of a permanent failure occurring in the processor is outside the scope of cosmic rays and design guarantees. It is known that the probability of a temporary failure due to noise is much greater.

上記のように、本実施形態に係る二次電池装置、プロセッサ、監視プログラム、および、車両によれば、異常通知が発生する確率を低くすること(可用性を高くすること)、異常が発生した要因の解析の難易度を低くすること(保守性を高くすること)、異常を見逃す確率を低くすること(検出性を高くすること)が可能となり、信頼性の高い二次電池装置、プロセッサ、監視プログラム、および、車両を提供することができる。   As described above, according to the secondary battery device, the processor, the monitoring program, and the vehicle according to the present embodiment, the probability of occurrence of an abnormality notification is lowered (increasing availability), and the cause of the occurrence of the abnormality Reliable secondary battery device, processor, and monitoring can be reduced by reducing the difficulty of analysis (increasing maintainability) and reducing the probability of missing an abnormality (increasing detectability) A program and a vehicle can be provided.

さらに、メインプロセッサ20で、サブプロセッサ30の動作ステータス番号とメインプロセッサ20の動作ステートを比較することにより、サブプロセッサ30が正しい動作ステートにないことをメインプロセッサ20で検知して、サブプロセッサ30の異常を検出すると、より保守性が高く検出性の高い二次電池装置、プロセッサ、監視プログラム、および、車両を提供することができる。   Furthermore, the main processor 20 detects that the sub processor 30 is not in the correct operation state by comparing the operation status number of the sub processor 30 with the operation state of the main processor 20. When an abnormality is detected, a secondary battery device, a processor, a monitoring program, and a vehicle with higher maintainability and higher detectability can be provided.

次に、第2実施形態に係る二次電池装置、プロセッサ、監視プログラム、および、車両について図面を参照して説明する。なお、以下の説明において、上述の第1実施形態と同様の構成については、同一の符号を付して説明を省略する。   Next, a secondary battery device, a processor, a monitoring program, and a vehicle according to a second embodiment will be described with reference to the drawings. In the following description, the same components as those in the first embodiment described above are denoted by the same reference numerals and description thereof is omitted.

図7に、本実施形態に係る二次電池装置の一構成例を概略的に示す。本実施形態に係る二次電池装置は、上位制御回路40からメインプロセッサ20との間に接続された制御コマンド線がサブプロセッサ30にも接続されている。したがって、上位制御回路40からメインプロセッサ20へ送信される制御コマンドがサブプロセッサ30へも送信される。上記の構成以外は上述の第1実施形態に係る二次電池装置と同様である。   FIG. 7 schematically shows a configuration example of the secondary battery device according to the present embodiment. In the secondary battery device according to the present embodiment, a control command line connected between the upper control circuit 40 and the main processor 20 is also connected to the sub processor 30. Therefore, a control command transmitted from the upper control circuit 40 to the main processor 20 is also transmitted to the sub processor 30. Except for the above configuration, the secondary battery device according to the first embodiment is the same as the above-described first embodiment.

本実施形態では、上位制御回路40からサブプロセッサ30へ制御コマンドが送信されていることにより、サブプロセッサ30は、メインプロセッサ20が正しい動作ステートにあるか否かをさらに監視することができる。   In this embodiment, since the control command is transmitted from the upper control circuit 40 to the sub processor 30, the sub processor 30 can further monitor whether or not the main processor 20 is in a correct operation state.

サブプロセッサ30は、受信した制御コマンドから、メインプロセッサ20の行なうべき処理とその処理に必要な時間とを演算し、メインプロセッサ20の現在あるべき処理状態を演算する。メインプロセッサ20は制御コマンドを受信すると動作ステートが遷移するが、次ぎの動作ステートへ遷移するタイミングは処理量に対応するものであって設計時点で既知である。そのため、設計段階において、サブプロセッサ30は予め制御コマンドに対応する動作ステートへの遷移タイミングが演算可能となっている。   The sub processor 30 calculates the processing to be performed by the main processor 20 and the time required for the processing from the received control command, and calculates the current processing state of the main processor 20. When the main processor 20 receives the control command, the operation state transitions, but the timing of transition to the next operation state corresponds to the processing amount and is known at the design time. Therefore, in the design stage, the sub processor 30 can calculate the transition timing to the operation state corresponding to the control command in advance.

サブプロセッサ30は、図5に示すメインプロセッサ20の監視動作において、メインプロセッサ20が正常に動作しているか否かを判断する際に(ステップSTA2)、メインプロセッサ20のステータス信号として動作ステータス番号を受信し、動作ステータス番号に対応する処理と、制御コマンドから演算されたメインプロセッサ20の現在あるべき処理状態とが一致するか否か判断する。   When the sub processor 30 determines whether or not the main processor 20 is operating normally in the monitoring operation of the main processor 20 shown in FIG. 5 (step STA2), the sub processor 30 uses the operation status number as the status signal of the main processor 20. It is determined whether or not the process corresponding to the operation status number and the current processing state of the main processor 20 calculated from the control command match.

例えば、サブプロセッサ30は受信した制御コマンドからメインプロセッサ20の処理状態が、処理Aから処理Bへ100msec以内に遷移すると演算した場合に、遅くとも150msec後に処理Bへ遷移していなければメインプロセッサ20が異常であると判断する。   For example, when the sub processor 30 calculates from the received control command that the processing state of the main processor 20 transitions from the processing A to the processing B within 100 msec, if the main processor 20 does not transition to the processing B after 150 msec at the latest, the main processor 20 Judge as abnormal.

サブプロセッサ30は、処理が一致する場合にはメインプロセッサ20が正常に動作していると判断し、処理が一致しない場合にはメインプロセッサ20が異常であると判断する。   The sub processor 30 determines that the main processor 20 is operating normally when the processes match, and determines that the main processor 20 is abnormal when the processes do not match.

上記のように、サブプロセッサ30で、メインプロセッサ20の動作ステータス番号とメインプロセッサ20の現在あるべき処理(動作ステート)状態とを比較することにより、メインプロセッサ20が正しい動作ステートであるか否かサブプロセッサ30で検知することが可能となる。   As described above, the sub processor 30 compares the operation status number of the main processor 20 with the current processing (operation state) state of the main processor 20 to determine whether or not the main processor 20 is in the correct operation state. This can be detected by the sub processor 30.

このことにより、本実施形態に係る二次電池装置、プロセッサ、監視プログラム、および、車両によれば、上述の第1実施形態と同様の効果を得ることができ、さらに保守性と検出性とを高くすることができる。   Thus, according to the secondary battery device, the processor, the monitoring program, and the vehicle according to the present embodiment, the same effect as that of the first embodiment described above can be obtained, and further maintainability and detectability can be obtained. Can be high.

次に、第3実施形態に係る二次電池装置、プロセッサ、監視プログラム、および、車両について図面を参照して説明する。   Next, a secondary battery device, a processor, a monitoring program, and a vehicle according to a third embodiment will be described with reference to the drawings.

図8に、本実施形態に係る二次電池装置の一構成例を概略的に示す。本実施形態に係る二次電池装置は、メインプロセッサ20と上位制御回路40との間に接続されたデータ通信用インタフェースがサブプロセッサ30へも接続されている。したがって、メインプロセッサ20と上位制御回路40との間で通信されるデータが、サブプロセッサ30へも送信される。上記の構成以外は上述の第1実施形態に係る二次電池装置と同様である。   FIG. 8 schematically shows a configuration example of the secondary battery device according to the present embodiment. In the secondary battery device according to the present embodiment, a data communication interface connected between the main processor 20 and the upper control circuit 40 is also connected to the sub processor 30. Therefore, data communicated between the main processor 20 and the upper control circuit 40 is also transmitted to the sub processor 30. Except for the above configuration, the secondary battery device according to the first embodiment is the same as the above-described first embodiment.

サブプロセッサ30は、メインプロセッサ20からデータ通信用インタフェースへ出力されたデータを受信することにより、メインプロセッサ20と上位制御回路40との間で、正しく通信が行なわれているか否かをさらに監視することができる。   The sub processor 30 receives data output from the main processor 20 to the data communication interface, thereby further monitoring whether or not communication is correctly performed between the main processor 20 and the upper control circuit 40. be able to.

サブプロセッサ30は、図5に示すメインプロセッサ20の監視動作において、メインプロセッサ20が正常に動作しているか否かを判断する際に(ステップSTA2)、メインプロセッサ20から一定期間(例えば1秒)内に通信があった否かを監視する。サブプロセッサ30は、メインプロセッサ20から一定期間内に通信があった場合にはメインプロセッサ20が正常であると判断し、メインプロセッサ20から一定期間内に通信が無かった場合にはメインプロセッサ20が異常であると判断する。   When the sub processor 30 determines whether or not the main processor 20 is operating normally in the monitoring operation of the main processor 20 shown in FIG. 5 (step STA2), the sub processor 30 makes a certain period (for example, 1 second) from the main processor 20. Monitor whether there was any communication. The sub processor 30 determines that the main processor 20 is normal when there is communication from the main processor 20 within a certain period, and if the main processor 20 does not communicate within the certain period, the main processor 20 Judge as abnormal.

また、サブプロセッサ30は、メインプロセッサ20の通信内容が正しいか否か、例えば、定義されていないデータ、アドレス、制御コマンド等が含まれているか否かを監視してもよい。その場合、サブプロセッサ30は、メインプロセッサ20の通信内容が定義されないデータ、アドレス、制御コマンド等を含まない場合にはメインプロセッサ20が正常であると判断し、メインプロセッサ20の通信内容が定義されないデータ、アドレス、制御コマンド等を含む場合にはメインプロセッサ20が異常であると判断する。   Further, the sub processor 30 may monitor whether or not the communication content of the main processor 20 is correct, for example, whether or not undefined data, an address, a control command, and the like are included. In this case, the sub-processor 30 determines that the main processor 20 is normal when it does not include data, addresses, control commands, etc., for which the communication contents of the main processor 20 are not defined, and the communication contents of the main processor 20 are not defined. When data, address, control command, etc. are included, it is determined that the main processor 20 is abnormal.

上記のように、サブプロセッサ30はメインプロセッサ20が異常であると判断した場合にメインプロセッサ20のハードウエアリセットを行うことができる。さらに、サブプロセッサ30は、メインプロセッサ20をハードウエアリセットした後、ハードウエアリセットを実施したこと、ハードウエアリセット要因とその値(通信有無または通信内容)、ハードウエアリセットした時間を第2メモリM2に記録する。   As described above, the sub-processor 30 can perform a hardware reset of the main processor 20 when determining that the main processor 20 is abnormal. Further, the sub-processor 30 resets the main processor 20 after hardware reset, and executes the hardware reset, the hardware reset factor and its value (communication presence / absence or communication content), and the hardware reset time, in the second memory M2. To record.

本実施形態に係る二次電池装置では、上記ハードウエアリセットを複数回実施してもメインプロセッサの異常が続く場合には、サブプロセッサ30は、異常通知線を用いて上位制御回路40へメインプロセッサ20が異常であることの通知を行うことができる。さらに、サブプロセッサ30は、上位制御回路40へのデータ通信用インタフェースにも接続しているので、このデータ通信用インタフェースを用いて、メインプロセッサ20が異常であることの通知を行うこともできる。   In the secondary battery device according to the present embodiment, if the abnormality of the main processor continues even if the hardware reset is performed a plurality of times, the sub processor 30 uses the abnormality notification line to send the main processor to the upper control circuit 40. Notification that 20 is abnormal can be made. Furthermore, since the sub processor 30 is also connected to the data communication interface to the host control circuit 40, it is possible to notify that the main processor 20 is abnormal by using this data communication interface.

上記のように、サブプロセッサ30で、メインプロセッサ20と上位制御回路40との間の通信を監視することにより、メインプロセッサ20と上位制御回路40との間で正しい通信が行われているか否かを検知することが可能となる。   As described above, whether or not correct communication is performed between the main processor 20 and the upper control circuit 40 by monitoring the communication between the main processor 20 and the upper control circuit 40 by the sub processor 30. Can be detected.

このことにより、本実施形態に係る二次電池装置、プロセッサ、監視プログラム、および、車両によれば、上述の第1実施形態と同様の効果を得ることができ、さらに保守性と検出性を高くすることができる。   As a result, according to the secondary battery device, the processor, the monitoring program, and the vehicle according to the present embodiment, the same effects as those of the first embodiment described above can be obtained, and the maintainability and the detectability can be increased. can do.

次に、第4実施形態に係る二次電池装置、プロセッサ、監視プログラム、および、車両について図面を参照して説明する。   Next, a secondary battery device, a processor, a monitoring program, and a vehicle according to a fourth embodiment will be described with reference to the drawings.

図9に、本実施形態に係る二次電池装置の一構成例を概略的に示す。本実施形態に係る二次電池装置は、メインプロセッサ20と電池電圧測定用回路10との間に接続された測定用回路制御コマンド・データ通信用インタフェースが、サブプロセッサ30へも接続され、メインプロセッサ20と電池電圧測定用回路10との間の通信信号がサブプロセッサ30にも入力されている。   FIG. 9 schematically shows a configuration example of the secondary battery device according to the present embodiment. In the secondary battery device according to the present embodiment, the measurement circuit control command / data communication interface connected between the main processor 20 and the battery voltage measurement circuit 10 is also connected to the sub processor 30, and the main processor A communication signal between 20 and the battery voltage measuring circuit 10 is also input to the sub processor 30.

サブプロセッサ30は、メインプロセッサ20と電池電圧測定用回路10との間の通信信号を受信することにより、メインプロセッサ20と電池電圧測定用回路10との間で正しい通信が行なわれているか否か監視することができる。   The sub-processor 30 receives a communication signal between the main processor 20 and the battery voltage measuring circuit 10 to determine whether or not correct communication is being performed between the main processor 20 and the battery voltage measuring circuit 10. Can be monitored.

サブプロセッサ30は、図5に示すメインプロセッサ20の監視動作において、メインプロセッサ20が正常に動作しているか否かを判断する際に(ステップSTA2)、一定期間(例えば1秒)内にメインプロセッサ20と電池電圧測定用回路10との間で通信が行なわれたか否か監視する。サブプロセッサ30は、メインプロセッサ20から一定期間内に通信があった場合にはメインプロセッサ20が正常であると判断し、メインプロセッサ20から一定期間内に通信が無かった場合にはメインプロセッサ20が異常であると判断する。   In the monitoring operation of the main processor 20 shown in FIG. 5, the sub processor 30 determines whether or not the main processor 20 is operating normally (step STA2), and the main processor 20 within a certain period (for example, 1 second). Whether or not communication has been performed between the battery 20 and the battery voltage measuring circuit 10 is monitored. The sub processor 30 determines that the main processor 20 is normal when there is communication from the main processor 20 within a certain period, and if the main processor 20 does not communicate within the certain period, the main processor 20 Judge as abnormal.

また、サブプロセッサ30は、メインプロセッサ20と電池電圧測定用回路10との間の通信内容が正しいか否か、例えば、定義されていないデータ、制御コマンド等が含まれているか否かを監視してもよい。その場合、サブプロセッサ30は、メインプロセッサ20と電池電圧測定用回路10との間の通信内容が定義されないデータ、制御コマンド等を含まない場合にはメインプロセッサ20が正常であると判断し、メインプロセッサ20の通信内容が定義されないデータ、制御コマンド等を含む場合にはメインプロセッサ20が異常であると判断する。   Further, the sub processor 30 monitors whether or not the communication contents between the main processor 20 and the battery voltage measurement circuit 10 are correct, for example, whether or not undefined data and control commands are included. May be. In this case, the sub-processor 30 determines that the main processor 20 is normal when the communication contents between the main processor 20 and the battery voltage measurement circuit 10 do not include data, control commands, etc. that are not defined. When the communication contents of the processor 20 include undefined data, control commands, etc., it is determined that the main processor 20 is abnormal.

上記のように、サブプロセッサ30はメインプロセッサ20が異常であると判断した場合にメインプロセッサ20のハードウエアリセットを行うことができる。さらに、サブプロセッサ30は、メインプロセッサ20をハードウエアリセットした後、ハードウエアリセットを実施したこと、ハードウエアリセット要因とその値(通信有無または通信内容)、ハードウエアリセットした時間を第2メモリM2に記録する。   As described above, the sub-processor 30 can perform a hardware reset of the main processor 20 when determining that the main processor 20 is abnormal. Further, the sub-processor 30 resets the main processor 20 after hardware reset, and executes the hardware reset, the hardware reset factor and its value (communication presence / absence or communication content), and the hardware reset time, in the second memory M2. To record.

上記のように、サブプロセッサ30で、メインプロセッサ20と上位制御回路40との間の通信を監視することにより、メインプロセッサ20と電池電圧測定用回路10との間で正しい通信が行われていなことをサブプロセッサ30で検知することが可能となる。   As described above, the sub processor 30 monitors communication between the main processor 20 and the host control circuit 40, so that correct communication is not performed between the main processor 20 and the battery voltage measuring circuit 10. This can be detected by the sub processor 30.

このことにより、本実施形態に係る二次電池装置、プロセッサ、監視プログラム、および、車両によれば、上述の第1実施形態と同様の効果を得ることができ、さらに保守性と検出性を高くすることができる。   As a result, according to the secondary battery device, the processor, the monitoring program, and the vehicle according to the present embodiment, the same effects as those of the first embodiment described above can be obtained, and the maintainability and the detectability can be increased. can do.

上記第1乃至第4実施形態は組み合わせることができる。例えば、第1実施形態に係る二次電池装置において、サブプロセッサ30が、制御コマンド線、データ通信用インタフェース、および、制御コマンド・データ通信用インタフェースの少なくとも1つとさらに接続されていても良い。サブプロセッサ30がメインプロセッサ20に入力される制御コマンドや、メインプロセッサ20から出力される制御コマンドや、メインプロセッサ20から出力されるデータ等を受信することにより、メインプロセッサ20の異常の検出精度を高くして、より保守性と検出性を高くすることができる。   The first to fourth embodiments can be combined. For example, in the secondary battery device according to the first embodiment, the sub processor 30 may be further connected to at least one of a control command line, a data communication interface, and a control command / data communication interface. The sub processor 30 receives the control command input to the main processor 20, the control command output from the main processor 20, the data output from the main processor 20, etc., thereby increasing the accuracy of detecting the abnormality of the main processor 20 This can increase the maintainability and detectability.

なお、上記複数の実施形態において、メインプロセッサおよびサブプロセッサの動作はハードウエアにより実現されてもよく、ソフトウエアにより実現されてもよいことは言うまでもない。ソフトウエアにより実現する場合には、上記複数の実施形態に記載した動作を行う手段としてメインプロセッサ、サブプロセッサ、又は、メインプロセッサとサブプロセッサとの両方を機能させるプログラムが搭載さてもよい。   In the plurality of embodiments, it goes without saying that the operations of the main processor and the sub processor may be realized by hardware or may be realized by software. When realized by software, a main processor, a sub processor, or a program that causes both the main processor and the sub processor to function may be installed as means for performing the operations described in the above embodiments.

本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。   Although several embodiments of the present invention have been described, these embodiments are presented by way of example and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are included in the invention described in the claims and the equivalents thereof.

WR、WL…駆動輪、BT…電池、M1…第1メモリ、M2…第2メモリ、10…電池電圧測定用回路、20…メインプロセッサ(第1プロセッサ)、21、31…命令メモリ、23、33…データメモリ、25、35…プログラムカウンタ、27、37…レジスタ、29、39…演算器、30…サブプロセッサ(第2プロセッサ)、40…上位制御回路、300…電池管理装置、400…電池モジュール、500…運転制御部、600…モータ、1000…シャーシ。   WR, WL: Driving wheel, BT: Battery, M1: First memory, M2: Second memory, 10: Battery voltage measuring circuit, 20: Main processor (first processor), 21, 31: Instruction memory, 23, 33 ... Data memory, 25, 35 ... Program counter, 27, 37 ... Register, 29, 39 ... Arithmetic unit, 30 ... Sub processor (second processor), 40 ... Upper control circuit, 300 ... Battery management device, 400 ... Battery Module, 500 ... operation control unit, 600 ... motor, 1000 ... chassis.

Claims (20)

複数の二次電池セルを含む電池と、
前記二次電池セルの電圧を測定する電圧測定用回路と、
前記電圧測定用回路および上位制御回路と通信を行ない前記電池の充電および放電制御を行なうとともに、自己の動作状態を示す第1ステータス信号を出力する第1プロセッサと、
前記第1ステータス信号を受信し、前記第1ステータス信号に基づいて前記第1プロセッサが正しい動作をしているか否か判断し、前記第1プロセッサが正しい動作をしていないと判断したときに前記第1プロセッサをハードウエアリセットする第1リセット信号を出力可能な第2プロセッサと、を備えたことを特徴とする二次電池装置。
A battery including a plurality of secondary battery cells;
A voltage measuring circuit for measuring a voltage of the secondary battery cell;
A first processor that communicates with the voltage measurement circuit and the host control circuit to control charging and discharging of the battery and outputs a first status signal indicating its own operating state;
Receiving the first status signal, determining whether the first processor is operating correctly based on the first status signal, and determining that the first processor is not operating correctly; A secondary battery device comprising: a second processor capable of outputting a first reset signal for hardware resetting the first processor.
前記第1プロセッサは、命令を保持する命令メモリと、次に実行すべき命令のアドレスを保持するレジスタと、を備え、
前記第1ステータス信号は前記レジスタの値を含む請求項1記載の二次電池装置。
The first processor includes an instruction memory that holds an instruction, and a register that holds an address of an instruction to be executed next.
The secondary battery device according to claim 1, wherein the first status signal includes a value of the register.
前記第1ステータス信号は、前記第1プロセッサが実行する処理のそれぞれに付された動作ステータス番号を含む請求項1又は請求項2記載の二次電池装置。   The secondary battery device according to claim 1, wherein the first status signal includes an operation status number assigned to each of the processes executed by the first processor. 前記第2プロセッサは前記第1ステータス信号が所定期間内に変化したか否か判断する判断手段を備える請求項1乃至請求項3のいずれか1項記載の二次電池装置。   4. The secondary battery device according to claim 1, wherein the second processor includes a determination unit that determines whether or not the first status signal has changed within a predetermined period. 5. 前記第2プロセッサは、前記第1プロセッサをリセットした回数を記録する第2記録手段を備え、前記第1プロセッサが異常であると判断したときに前記第1プロセッサをリセットした回数が規定値より大きい場合、前記上位制御回路へ前記第1プロセッサが異常であることを通知し、前記第1プロセッサをリセットした回数が規定値以下である場合、前記第1リセット信号を出力する請求項1乃至請求項4のいずれか1項記載の二次電池装置。   The second processor includes second recording means for recording the number of times the first processor is reset, and the number of times the first processor is reset when it is determined that the first processor is abnormal is greater than a specified value. In this case, the first control circuit is notified that the first processor is abnormal, and the first reset signal is output when the number of times the first processor is reset is less than a specified value. The secondary battery device according to any one of 4. 前記第2プロセッサは自己の動作状態を示す第2ステータス信号を前記第1プロセッサへ出力し、
前記第1プロセッサは前記第2ステータス信号を受信して前記第2ステータス信号に基づいて前記第2プロセッサが正しい動作をしているか否か判断し、前記第2プロセッサが正しい動作をしていないと判断したときに前記第2プロセッサをハードウエアリセットする第2リセット信号を出力可能であることを特徴とする請求項1乃至請求項5のいずれか1項記載の二次電池装置。
The second processor outputs a second status signal indicating its operating state to the first processor;
The first processor receives the second status signal, determines whether the second processor is operating correctly based on the second status signal, and the second processor is not operating correctly. 6. The secondary battery device according to claim 1, wherein when the determination is made, a second reset signal for hardware resetting the second processor can be output. 7.
前記第2プロセッサは、命令を保持する命令メモリと、次に実行すべき命令のアドレスを保持するレジスタと、を備え、
前記第2ステータス信号は前記レジスタの値を含む請求項6記載の二次電池装置。
The second processor includes an instruction memory that holds an instruction, and a register that holds an address of an instruction to be executed next.
The secondary battery device according to claim 6, wherein the second status signal includes a value of the register.
前記第2ステータス信号は、前記第2プロセッサが実行する処理のそれぞれに付された動作ステータス番号を含む請求項6又は請求項7記載の二次電池装置。   The secondary battery device according to claim 6 or 7, wherein the second status signal includes an operation status number assigned to each process executed by the second processor. 前記第1プロセッサは、前記第1プロセッサをリセットした回数を記録する第1記録手段を備え、前記第2プロセッサが異常であると判断したときに前記第2プロセッサをリセットした回数が規定値よりも大きい場合、前記上位制御回路へ前記第2プロセッサが異常であることを通知し、前記第2プロセッサをリセットした回数が規定値以下である場合、前記第2リセット信号を出力する請求項6乃至請求項8のいずれか1項記載の二次電池装置。   The first processor includes first recording means for recording the number of times the first processor is reset, and the number of times the second processor is reset when it is determined that the second processor is abnormal is less than a specified value. 7. If larger, notifies the upper control circuit that the second processor is abnormal, and outputs the second reset signal when the number of times the second processor is reset is less than or equal to a specified value. Item 9. The secondary battery device according to any one of Items 8. 前記電圧測定用回路と前記第1プロセッサとの間の通信に用いられ、前記第2プロセッサにも接続された通信用インタフェースをさらに備え、
前記第2プロセッサは、前記電圧測定用回路と前記第1プロセッサとの間の通信状態を監視し、前記電圧測定用回路と前記第1プロセッサとの間の通信が正しく行われているか否か判断する手段をさらに備えることを特徴とする請求項1乃至請求項9のいずれか1項記載の二次電池装置。
A communication interface used for communication between the voltage measurement circuit and the first processor and connected to the second processor;
The second processor monitors a communication state between the voltage measurement circuit and the first processor, and determines whether or not communication between the voltage measurement circuit and the first processor is correctly performed. The secondary battery device according to any one of claims 1 to 9, further comprising means for performing the operation.
前記第1プロセッサと前記上位制御回路との間の通信に用いられ、前記第2プロセッサにも接続された第2通信用インタフェースをさらに備え、
前記第2プロセッサは、前記第1プロセッサと前記上位制御回路との間の通信状態を監視し、前記第1プロセッサと前記上位制御回路との間の通信が正しく行われているか否か判断する手段をさらに備えることを特徴とする請求項1乃至請求項10のいずれか1項記載の二次電池装置。
A second communication interface that is used for communication between the first processor and the higher-order control circuit and is also connected to the second processor;
The second processor monitors a communication state between the first processor and the upper control circuit, and determines whether or not communication between the first processor and the upper control circuit is correctly performed. The secondary battery device according to claim 1, further comprising:
前記第1プロセッサの状態を保存する第2メモリをさらに具備し、
前記第2プロセッサは、前記第1プロセッサをハードウエアリセットした場合に、ハードウエアリセットしたこと、ハードウエアリセットした要因、ハードウエアリセットした時間を、前記第2メモリに記録することを特徴とする請求項1乃至請求項11のいずれか1項記載の二次電池装置。
A second memory for storing a state of the first processor;
The second processor, when the first processor is hardware reset, records the hardware reset, the hardware reset factor, and the hardware reset time in the second memory. The secondary battery device according to any one of claims 1 to 11.
前記第2プロセッサの状態を保存する第1メモリをさらに具備し、
前記第1プロセッサは、前記第2プロセッサをハードウエアリセットした場合に、ハードウエアリセットしたこと、ハードウエアリセットした要因、ハードウエアリセットした時間を、前記第1メモリに記録することを特徴とする請求項6乃至請求項12のいずれか1項記載の二次電池装置。
A first memory for storing a state of the second processor;
The first processor, when the second processor is hardware reset, records the hardware reset, the cause of the hardware reset, and the time of the hardware reset in the first memory. The secondary battery device according to any one of claims 6 to 12.
請求項1乃至請求項13のいずれか1項に記載された二次電池装置と、
前記二次電池装置からの電力により駆動される車軸と、を具備することを特徴とする車両。
A secondary battery device according to any one of claims 1 to 13,
And an axle driven by electric power from the secondary battery device.
ステータス信号を受信し、前記ステータス信号が所定期間内に変化しているか否か判断する第1判断手段と、
前記第1判断手段が、前記ステータス信号は所定期間内に変化していないと判断した場合に、リセット信号を出力したリセット回数が規定値よりも大きいか否か判断する第2判断手段と、
前記第2判断手段が前記リセット回数は規定値以下であると判断した場合に、前記リセット信号を出力するリセット手段と、
前記リセット信号を出力した後に前記リセット回数をインクリメントするカウント手段と、を備えるプロセッサ。
First determination means for receiving a status signal and determining whether the status signal has changed within a predetermined period;
Second determination means for determining whether or not the number of reset times of outputting the reset signal is greater than a specified value when the first determination means determines that the status signal has not changed within a predetermined period;
A reset unit that outputs the reset signal when the second determination unit determines that the number of resets is less than a specified value;
Counting means for incrementing the number of resets after outputting the reset signal.
ステータス信号および制御コマンドを受信し、前記制御コマンドに対応する処理と前記ステータス信号に対応する処理とが一致するか否か判断する第1判断手段と、
前記第1判断手段が、前記制御コマンドに対応する処理と前記ステータス信号に対応する処理とが一致しないと判断した場合に、リセット信号を出力したリセット回数が規定値よりも大きいか否か判断する第2判断手段と、
前記第2判断手段が前記リセット回数は規定値以下であると判断した場合に、前記リセット信号を出力するリセット手段と、
前記リセット信号を出力した後に前記リセット回数をインクリメントするカウント手段と、を備えるプロセッサ。
First determination means for receiving a status signal and a control command, and determining whether or not the processing corresponding to the control command and the processing corresponding to the status signal match;
When the first determination means determines that the process corresponding to the control command and the process corresponding to the status signal do not match, it determines whether or not the number of resets that output the reset signal is greater than a specified value. A second determination means;
A reset unit that outputs the reset signal when the second determination unit determines that the number of resets is less than a specified value;
Counting means for incrementing the number of resets after outputting the reset signal.
前記第2判断手段が前記リセット回数は規定値よりも大きいと判断した場合に、異常通知信号を出力する異常通知手段をさらに備える請求項15又は請求項16記載のプロセッサ。   The processor according to claim 15 or 16, further comprising an abnormality notification unit that outputs an abnormality notification signal when the second determination unit determines that the number of resets is greater than a specified value. ステータス信号を受信し、前記ステータス信号が所定期間内に変化しているか否か判断する第1判断手段と、
前記第1判断手段が、前記ステータス信号は所定期間内に変化していないと判断した場合に、リセット信号を出力したリセット回数が規定値よりも大きいか否か判断する第2判断手段と、
前記第2判断手段が前記リセット回数は規定値以下であると判断した場合に、前記リセット信号を出力するリセット手段と、
前記リセット信号を出力した後に前記リセット回数をインクリメントするカウント手段と、してコンピュータを機能させることを特徴とする監視プログラム。
First determination means for receiving a status signal and determining whether the status signal has changed within a predetermined period;
Second determination means for determining whether or not the number of reset times of outputting the reset signal is greater than a specified value when the first determination means determines that the status signal has not changed within a predetermined period;
A reset unit that outputs the reset signal when the second determination unit determines that the number of resets is less than a specified value;
A monitoring program for causing a computer to function as counting means for incrementing the number of resets after outputting the reset signal.
ステータス信号および制御コマンドを受信し、前記制御コマンドに対応する処理と前記ステータス信号に対応する処理とが一致するか否か判断する第1判断手段と、
前記第1判断手段が、前記制御コマンドに対応する処理と前記ステータス信号に対応する処理とが一致しないと判断した場合に、リセット信号を出力したリセット回数が規定値よりも大きいか否か判断する第2判断手段と、
前記第2判断手段が前記リセット回数は規定値以下であると判断した場合に、前記リセット信号を出力するリセット手段と、
前記リセット信号を出力した後に前記リセット回数をインクリメントするカウント手段と、してコンピュータを機能させることを特徴とする監視プログラム。
First determination means for receiving a status signal and a control command, and determining whether a process corresponding to the control command and a process corresponding to the status signal match;
When the first determination unit determines that the process corresponding to the control command and the process corresponding to the status signal do not match, it determines whether or not the number of resets that output the reset signal is greater than a specified value. A second determination means;
A reset unit that outputs the reset signal when the second determination unit determines that the number of resets is less than a specified value;
A monitoring program for causing a computer to function as counting means for incrementing the number of resets after outputting the reset signal.
前記コンピュータを前記第2判断手段が前記リセット回数は規定値よりも大きいと判断した場合に、前記第1プロセッサの異常を通知する異常通知信号を出力する異常通知手段と、してさらに機能させることを特徴とする請求項18又は請求項記載の監視プログラム。   And causing the computer to further function as an abnormality notification unit that outputs an abnormality notification signal for notifying the abnormality of the first processor when the second determination unit determines that the number of resets is greater than a predetermined value. The monitoring program according to claim 18 or claim.
JP2010288733A 2010-12-24 2010-12-24 Secondary battery device and vehicle Expired - Fee Related JP5537403B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010288733A JP5537403B2 (en) 2010-12-24 2010-12-24 Secondary battery device and vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010288733A JP5537403B2 (en) 2010-12-24 2010-12-24 Secondary battery device and vehicle

Publications (2)

Publication Number Publication Date
JP2012137877A true JP2012137877A (en) 2012-07-19
JP5537403B2 JP5537403B2 (en) 2014-07-02

Family

ID=46675252

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010288733A Expired - Fee Related JP5537403B2 (en) 2010-12-24 2010-12-24 Secondary battery device and vehicle

Country Status (1)

Country Link
JP (1) JP5537403B2 (en)

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60198649A (en) * 1984-03-22 1985-10-08 Fujitsu Ltd Loop detection control system
JPS6123202A (en) * 1984-07-10 1986-01-31 Nippon Denso Co Ltd Fault monitor device of electronic circuit
JPS62106552A (en) * 1985-11-01 1987-05-18 Fujitsu Ltd Loop detector
JPH02206806A (en) * 1989-02-07 1990-08-16 Nippondenso Co Ltd Control system having plural processor units
JPH02216577A (en) * 1989-02-16 1990-08-29 Nec Corp Fault detecting system in multi-processor system
JPH0318942A (en) * 1989-06-15 1991-01-28 Fujitsu Ltd Computer runaway detecting circuit
JPH03292545A (en) * 1990-04-11 1991-12-24 Mitsubishi Electric Corp Detection/recovery device for program loop
JPH10161908A (en) * 1996-11-27 1998-06-19 Sharp Corp Detection of run-away of microcomputer
JPH11259340A (en) * 1998-03-10 1999-09-24 Oki Comtec:Kk Reactivation control circuit for computer
JPH11355904A (en) * 1998-06-08 1999-12-24 Honda Motor Co Ltd Battery-state detecting and unit thereof
JP2001005683A (en) * 1999-06-21 2001-01-12 Nec Commun Syst Ltd System and method for detecting fault of doubled system
JP2001218376A (en) * 2000-02-03 2001-08-10 Toyota Motor Corp Device and method for controlling charring condition of single batteries constituting batter pack, and battery module using device, and electric-motor vehicle
JP2001282302A (en) * 2000-04-03 2001-10-12 Toyota Motor Corp Abnormality monitor for cpu in controller of traveling object using motor
JP2004017676A (en) * 2002-06-12 2004-01-22 Denso Corp Communication system for vehicle, initialization device, and control device for vehicle
JP2008015749A (en) * 2006-07-05 2008-01-24 Fuji Xerox Co Ltd Start control method and start control circuit
JP2008129669A (en) * 2006-11-17 2008-06-05 Meidensha Corp Hardware failure recording device and method
JP2010140361A (en) * 2008-12-12 2010-06-24 Fujitsu Microelectronics Ltd Computer system and abnormality detection circuit

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60198649A (en) * 1984-03-22 1985-10-08 Fujitsu Ltd Loop detection control system
JPS6123202A (en) * 1984-07-10 1986-01-31 Nippon Denso Co Ltd Fault monitor device of electronic circuit
JPS62106552A (en) * 1985-11-01 1987-05-18 Fujitsu Ltd Loop detector
JPH02206806A (en) * 1989-02-07 1990-08-16 Nippondenso Co Ltd Control system having plural processor units
JPH02216577A (en) * 1989-02-16 1990-08-29 Nec Corp Fault detecting system in multi-processor system
JPH0318942A (en) * 1989-06-15 1991-01-28 Fujitsu Ltd Computer runaway detecting circuit
JPH03292545A (en) * 1990-04-11 1991-12-24 Mitsubishi Electric Corp Detection/recovery device for program loop
JPH10161908A (en) * 1996-11-27 1998-06-19 Sharp Corp Detection of run-away of microcomputer
JPH11259340A (en) * 1998-03-10 1999-09-24 Oki Comtec:Kk Reactivation control circuit for computer
JPH11355904A (en) * 1998-06-08 1999-12-24 Honda Motor Co Ltd Battery-state detecting and unit thereof
JP2001005683A (en) * 1999-06-21 2001-01-12 Nec Commun Syst Ltd System and method for detecting fault of doubled system
JP2001218376A (en) * 2000-02-03 2001-08-10 Toyota Motor Corp Device and method for controlling charring condition of single batteries constituting batter pack, and battery module using device, and electric-motor vehicle
JP2001282302A (en) * 2000-04-03 2001-10-12 Toyota Motor Corp Abnormality monitor for cpu in controller of traveling object using motor
JP2004017676A (en) * 2002-06-12 2004-01-22 Denso Corp Communication system for vehicle, initialization device, and control device for vehicle
JP2008015749A (en) * 2006-07-05 2008-01-24 Fuji Xerox Co Ltd Start control method and start control circuit
JP2008129669A (en) * 2006-11-17 2008-06-05 Meidensha Corp Hardware failure recording device and method
JP2010140361A (en) * 2008-12-12 2010-06-24 Fujitsu Microelectronics Ltd Computer system and abnormality detection circuit

Also Published As

Publication number Publication date
JP5537403B2 (en) 2014-07-02

Similar Documents

Publication Publication Date Title
US8587257B2 (en) Secondary battery device and vehicle
JP5355224B2 (en) Voltage monitoring device for multiple batteries
US9482713B2 (en) Method and system of diagnosing breakdown during pre-charging
US20130116875A1 (en) Electric vehicle and method for controlling same
US20090140696A1 (en) Apparatus and method for correcting residual capacity measurement of battery pack
JP5945064B2 (en) Abnormality diagnosis device
US6076172A (en) Monitoting system for electronic control unit
CN112798951A (en) Fault processing method and device, electronic equipment and storage medium
US20170115370A1 (en) Apparatus and method of diagnosing current sensor of eco-friendly vehicle
US20220077515A1 (en) System to improve safety and reliability of a lithium-ion (li-ion) battery pack
JP5831376B2 (en) Battery control device
US20140145853A1 (en) State of Health Determination Without Unnoticed Battery Shut Down
EP4257453A1 (en) Control method, monitoring method, electronic control units, controller and control system
JP7000172B2 (en) Power management device and power management method
CN115436789A (en) Relay fault detection method and device, electronic equipment and storage medium
US11613215B2 (en) Apparatus and method for detecting a battery discharging cause for a vehicle
JP5537403B2 (en) Secondary battery device and vehicle
CN115214614B (en) Fault detection method, device, electronic equipment and readable medium
CN116494896A (en) Vehicle dormancy wakeup control method, electronic equipment and vehicle
CN114035026B (en) Micro control unit chip for battery management system and chip abnormality detection method
US9501347B2 (en) Documentation of faults in a fault memory of a motor vehicle
US20230366944A1 (en) Method for low power monitoring of system parameters
CN113631938B (en) Method and system for detecting connection failure of parallel battery cells
CN115009026A (en) Equipment state detection method and device
US11726853B2 (en) Electronic control device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130307

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20131205

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20131212

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20131219

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20131226

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20140109

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20140116

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140121

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140204

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140305

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140401

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140425

R151 Written notification of patent or utility model registration

Ref document number: 5537403

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees