JP2022117007A - Charge/discharge device, charge/discharge system, program rewriting method, and computer program - Google Patents

Charge/discharge device, charge/discharge system, program rewriting method, and computer program Download PDF

Info

Publication number
JP2022117007A
JP2022117007A JP2021013464A JP2021013464A JP2022117007A JP 2022117007 A JP2022117007 A JP 2022117007A JP 2021013464 A JP2021013464 A JP 2021013464A JP 2021013464 A JP2021013464 A JP 2021013464A JP 2022117007 A JP2022117007 A JP 2022117007A
Authority
JP
Japan
Prior art keywords
charging
computer program
discharging
communication
charge
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
JP2021013464A
Other languages
Japanese (ja)
Inventor
涼 佐々木
Ryo Sasaki
直樹 岡田
Naoki Okada
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.)
Tsubakimoto Chain Co
Original Assignee
Tsubakimoto Chain Co
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 Tsubakimoto Chain Co filed Critical Tsubakimoto Chain Co
Priority to JP2021013464A priority Critical patent/JP2022117007A/en
Publication of JP2022117007A publication Critical patent/JP2022117007A/en
Pending legal-status Critical Current

Links

Images

Abstract

To provide a charge/discharge device, a charge/discharge system, a program rewriting method, and a computer program.SOLUTION: There is provided a charge/discharge device which is connected to a commercial power source or a DC power network via a power line, which has a connector to an on-vehicle power line to be connected to an on-vehicle storage battery arranged in a vehicle, and which controls charge/discharge with respect to the on-vehicle storage battery. The charge/discharge device includes: a communication section for performing a communication via a communication network; a storage section for storing, in a rewritable manner, a computer program for the control of charge/discharge; and an update processing section for updating the computer program. The update processing section receives an updated computer program from the communication section, and, when the charge/discharge device is in a charge/discharge operation, stops the charge/discharge operation, and, after the stop of the operation, rewrites a computer program in the storage section with a computer program having been received.SELECTED DRAWING: Figure 1

Description

本発明は、車両に備えられる蓄電池と接続される充放電装置、充放電システム、プログラム書き換え方法、及びコンピュータプログラムに関する。 The present invention relates to a charging/discharging device connected to a storage battery provided in a vehicle, a charging/discharging system, a program rewriting method, and a computer program.

電気自動車に備えられている蓄電池の電池容量は例えば5~100kWhと比較的大容量である。これらの車両に蓄えられた電力を電気自動車の駆動以外に、例えば家庭等へ供給可能とするV2H(Vehicle to Home )、家庭に限らない建物への供給を可能とするV2B(Vehicle to Building )、電力網への供給を可能とするV2G(Vehicle to Grid )を含むV2Xを実現する技術が提案されている。災害発生によって停電状態となったとしても、移動が可能な電気自動車に蓄えられた電力を供給して生活を維持したり、工場の稼働を維持したりすることが期待できる。V2Xを実現する場合、EMS(Energy Management System)からの制御を受けて計画的に充放電できることが望ましい。 A storage battery provided in an electric vehicle has a relatively large capacity of, for example, 5 to 100 kWh. V2H (Vehicle to Home), which enables electric power stored in these vehicles to be supplied not only to drive electric vehicles but also to homes, etc.; V2B (Vehicle to Building), which enables electric power to be supplied to buildings other than homes Techniques for realizing V2X including V2G (Vehicle to Grid) enabling supply to power grids have been proposed. Even in the event of a power outage due to a disaster, it is expected that electric vehicles that can be moved will be able to supply the stored power to sustain life and maintain factory operations. When implementing V2X, it is desirable to be able to charge and discharge in a planned manner under the control of an EMS (Energy Management System).

V2Xの実現には、車両の蓄電池に接続される充放電用ケーブルを有し、車両における充放電の制御と、EMSからの制御との間で、充放電制御を実施することができる充放電装置の配備が必要になる。充放電装置は、固有の車種の車両に対応するのみならず、充電及び放電又はいずれか一方が可能な電気自動車の略全てに対応する必要がある。しかしながら、電気自動車と充放電装置との間の通信規格は存在するものの、通信内容の規定がないため、異なる振る舞いの電気自動車が現れる都度、充放電装置は対応しなければならない。 To realize V2X, a charging/discharging device that has a charging/discharging cable that is connected to the storage battery of the vehicle and that can perform charging/discharging control between control of charging/discharging in the vehicle and control from the EMS. deployment is required. The charging/discharging device needs to be compatible not only with vehicles of specific vehicle types, but also with almost all electric vehicles that can be charged and/or discharged. However, although there are standards for communication between electric vehicles and charging/discharging devices, there are no regulations on the content of communication.

充放電装置を新たな電気自動車に対応させるために、従来、メンテナンススタッフが各充放電装置へ出向いて更新作業を行なっていた。充放電装置は、EMSとの間の通信機能はあっても、所謂通信網を介したデータ通信を実現するデバイスを持たなかった。 Conventionally, in order to make the charging/discharging device compatible with the new electric vehicle, maintenance staff had to go to each charging/discharging device and perform update work. Although the charging/discharging device has a communication function with the EMS, it does not have a device for realizing data communication via a so-called communication network.

充放電装置にデータ通信デバイスを設けてソフトウェア更新を実行させることは種々提案されている。特許文献1には、充電時間帯又は放電時間帯が設定されていない時間帯にファームウェアを更新する発明が開示されている。特許文献1では、充電時間帯又は放電時間帯が設定されている時間帯に更新する場合には、充電時間帯の終了時刻又は放電時間帯の終了時刻から、更新に要する所要時間よりも前に更新を行なうことが開示されている。 Various proposals have been made to provide the charging/discharging device with a data communication device to update the software. Patent Literature 1 discloses an invention that updates firmware during a time slot in which no charge time slot or discharge time slot is set. In Patent Document 1, when updating to a time slot in which a charging time slot or a discharging time slot is set, before the time required for updating from the end time of the charging time slot or the ending time of the discharging time slot It is disclosed to perform an update.

国際公開2016/051701号WO2016/051701

充放電装置はEMSと連携して充放電を実行している場合、24時間態勢で需要及び供給に応じて充放電を行なっており、スケジュール通りとならない可能性がある。逐次充放電を実施するシステムでは、充放電を行なっていない時間帯を特定することが難しく、ソフトウェアの更新が困難である。 When the charging/discharging device performs charging/discharging in cooperation with the EMS, charging/discharging is performed around the clock according to demand and supply, and there is a possibility that the schedule may not be met. In a system that performs sequential charging/discharging, it is difficult to specify a time slot in which charging/discharging is not performed, and software update is difficult.

本発明は、斯かる事情を鑑みてなされたものであり、充放電装置、充放電システム、プログラム書き換え方法、及びコンピュータプログラムを提供することを目的とする。 The present invention has been made in view of such circumstances, and an object of the present invention is to provide a charging/discharging device, a charging/discharging system, a program rewriting method, and a computer program.

本開示の一実施形態の充放電装置は、商用電源又は直流電力網と電力線を介して接続されており、車両に設けられた車載蓄電池と接続する車載電力線とのコネクタを有し、前記車載蓄電池への充放電を制御する充放電装置において、通信網を介した通信を実行する通信部と、充放電の制御に係るコンピュータプログラムを書き換え可能に記憶する記憶部と、前記コンピュータプログラムの更新を実行する更新処理部とを備え、前記更新処理部は、前記通信部から更新されたコンピュータプログラムを受信し、該充放電装置が充放電の運転中である場合、充放電の運転を停止させ、運転停止後に、受信済みのコンピュータプログラムで前記記憶部のコンピュータプログラムを書き換える。 A charging/discharging device according to an embodiment of the present disclosure is connected to a commercial power source or a DC power network via a power line, has a connector with an on-vehicle power line that connects to an on-vehicle storage battery provided in a vehicle, and is connected to the on-vehicle storage battery. In a charging/discharging device for controlling charging/discharging, a communication unit that performs communication via a communication network, a storage unit that rewritably stores a computer program related to charging/discharging control, and updates of the computer program and an update processing unit, wherein the update processing unit receives the updated computer program from the communication unit, and when the charging/discharging device is in the charging/discharging operation, stops the charging/discharging operation, and stops the operation. Later, the computer program in the storage section is rewritten with the received computer program.

本開示の一実施形態の充放電システムは、商用電源又は直流電力網と電力線を介して接続されており、車両に設けられた車載蓄電池と接続する車載電力線とのコネクタを有し、前記車載蓄電池への充放電を制御する充放電装置と、充放電装置に通信接続される通信器とを含み、前記通信器は、通信網を介した通信を実行する通信部と、前記充放電装置の制御に係るコンピュータプログラムを書き換え可能に記憶する記憶部と、前記コンピュータプログラムの更新を実行する更新処理部とを備え、前記更新処理部は、前記通信部から更新されたコンピュータプログラムを受信し、前記充放電装置が充放電の運転中である場合、充放電の運転を停止させ、運転停止後に、受信済みのコンピュータプログラムで前記充放電装置の制御に係るコンピュータプログラムを書き換える。 A charging/discharging system according to an embodiment of the present disclosure is connected to a commercial power source or a DC power network via a power line, has a connector with an on-vehicle power line that connects to an on-vehicle storage battery provided in a vehicle, and is connected to the on-board storage battery. a charging/discharging device for controlling the charging/discharging of the charging/discharging device; and a communication device connected to the charging/discharging device for communication. A storage unit that rewritably stores such a computer program, and an update processing unit that updates the computer program. The update processing unit receives the updated computer program from the communication unit, and When the device is in charge/discharge operation, the charge/discharge operation is stopped, and after the operation is stopped, the computer program for controlling the charge/discharge device is rewritten with the received computer program.

本開示の一実施形態のプログラム書き換え方法は、商用電源又は直流電力網と電力線を介して接続されており、車両に設けられた車載蓄電池と接続する車載電力線とのコネクタを有して、前記車載蓄電池における充放電を制御する充放電装置のプログラムを書き換える方法であって、通信網を介した通信を実行する通信部によって更新されたコンピュータプログラムを受信し、前記充放電装置が充放電の運転中である場合、充放電の運転を停止させ、運転停止後に、受信済みのコンピュータプログラムで、充放電の制御に係るコンピュータプログラムを書き換える処理を含む。 A program rewriting method according to an embodiment of the present disclosure is connected to a commercial power supply or a DC power network via a power line, and has a connector for an on-vehicle power line connected to an on-vehicle storage battery provided in a vehicle. A method of rewriting a program of a charging/discharging device that controls charging/discharging in a charging/discharging device, wherein an updated computer program is received by a communication unit that performs communication via a communication network, and the charging/discharging device is in charge/discharge operation. In some cases, it includes a process of stopping the charge/discharge operation and, after the stop of the operation, rewriting the computer program related to charge/discharge control with the received computer program.

本開示の一実施形態のコンピュータプログラムは、商用電源又は直流電力網と電力線を介して接続されており、車両に設けられた車載蓄電池と接続する車載電力線とのコネクタを有した充放電装置のコンピュータに、通信網を介した通信を実行する通信部によって更新されたコンピュータプログラムを受信し、前記充放電装置が充放電の運転中である場合、充放電の運転を停止させ、運転停止後に、受信済みのコンピュータプログラムで、充放電の制御に係るコンピュータプログラムを書き換える処理を実行させる。 A computer program according to an embodiment of the present disclosure is connected to a commercial power supply or a DC power network via a power line, and is connected to a computer of a charging/discharging device having a connector to an on-vehicle power line that connects to an on-vehicle storage battery provided in a vehicle. , receiving an updated computer program by a communication unit that performs communication via a communication network, stopping the charging and discharging operation when the charging and discharging device is in the charging and discharging operation, and after stopping the operation, the computer program has been received , the computer program is executed to rewrite the computer program relating to charge/discharge control.

本開示の充放電装置、充放電システム、プログラム書き換え方法、及びコンピュータプログラムでは、充放電装置が運転中であっても一旦運転を停止させて更新が実行される。 In the charging/discharging device, the charging/discharging system, the program rewriting method, and the computer program of the present disclosure, even if the charging/discharging device is in operation, the charging/discharging device is temporarily stopped and updated.

本開示の一実施形態の充放電装置は、更新前のコンピュータプログラムを退避させる退避用記憶部を備え、前記更新処理部は、前記記憶部の書き換え前のコンピュータプログラムで、充放電の制御が実行されていた場合、前記退避用記憶部に退避させてから、書き換えを実行する。 A charging/discharging device according to an embodiment of the present disclosure includes a saving storage unit that saves a computer program before update, and the update processing unit controls charging/discharging with the computer program before rewriting of the storage unit. If it has been, it is saved in the saving storage unit and then rewritten.

本開示の充放電装置では、書き換え前のコンピュータプログラムが退避用に記憶される。書き換え中に失敗した場合に、書き換え前のコンピュータプログラムに戻して運転を再開できる。 In the charging/discharging device of the present disclosure, the computer program before rewriting is stored for saving. If a failure occurs during rewriting, the computer program before rewriting can be restored and operation can be restarted.

本開示の一実施形態の充放電装置は、書き換え後のコンピュータプログラムに基づく充放電の制御でエラーが発生したか否かを判断し、エラーが発生したと判断された場合、充放電の運転を停止させ、前記退避用記憶部に退避させてある更新前のコンピュータプログラムで、前記記憶部のコンピュータプログラムを書き換える。 The charging/discharging device of an embodiment of the present disclosure determines whether an error has occurred in charging/discharging control based on the rewritten computer program, and if it is determined that an error has occurred, the charging/discharging operation is performed. The computer program is stopped, and the computer program in the storage unit is rewritten with the pre-update computer program saved in the storage unit for saving.

本開示の充放電装置では、書き換え後のコンピュータプログラムでの充放電の制御にエラーが発生した場合、書き換え前のコンピュータプログラムに戻して運転を再開できる。書き換えによって不具合が発生した場合であっても、充放電の制御を継続させ、V2Xのインフラとしての機能を維持することができる。 In the charging/discharging device of the present disclosure, when an error occurs in charging/discharging control in the rewritten computer program, the operation can be restarted by returning to the pre-rewritten computer program. Even if a problem occurs due to rewriting, the charge/discharge control can be continued, and the function as the V2X infrastructure can be maintained.

本開示の一実施形態の充放電装置は、前記更新処理部は、コンピュータプログラムの書き換えが完了した後に、停止させていた運転を再開させる。 In the charging/discharging device according to an embodiment of the present disclosure, the update processing unit restarts the stopped operation after rewriting of the computer program is completed.

本開示の充放電装置では、コンピュータプログラムの書き換え後には、停止前に実行していた充放電を再開するから、プログラムの更新を実行した上で、充放電の継続が実現できる。 In the charging/discharging device of the present disclosure, after the computer program is rewritten, the charging/discharging that was being performed before the stop is resumed. Therefore, the charging/discharging can be continued after the program is updated.

本開示の一実施形態の充放電装置は、前記更新処理部は、前記商用電源又は直流電力網からの電力供給が停止しているか否かを判断し、停止していると判断された場合、前記電力供給が回復するまで、受信済みの更新されたコンピュータプログラムによる更新を待機する。 In the charging/discharging device according to an embodiment of the present disclosure, the update processing unit determines whether the power supply from the commercial power source or the DC power network has stopped, and if it is determined that the power supply has stopped, the Waiting to update with the received updated computer program until the power supply is restored.

本開示の充放電装置では、商用電源が停電しているか、又は直流電力網からの電力供給もない状況では更新を保留とし、放電が必要な場合にそれを阻害しない。電力供給が回復次第、更新を実行できる。 In the charging/discharging device of the present disclosure, updating is suspended in a situation where the commercial power supply fails or there is no power supply from the DC power grid, and when discharging is required, it is not hindered. Updates can be performed as soon as power is restored.

本開示の一実施形態の充放電装置は、前記更新処理部は、前記商用電源又は直流電力網からの電力供給が停止しているか否かを判断し、停止していると判断された場合、更新されたコンピュータプログラムを受信済みであっても更新を不可とする。 In the charging/discharging device according to an embodiment of the present disclosure, the update processing unit determines whether power supply from the commercial power source or the DC power network has stopped, and if it is determined that the power supply has stopped, update Even if you have already received the computer program that has been issued, you will not be able to update it.

本開示の充放電装置では、停電中か、又は直流電力網からの電力供給もない状況では更新しないこととし、放電が必要な場合に、運転を停止して更新することによってその制御を阻害しない。 In the charging/discharging device of the present disclosure, updating is not performed during a power outage or in a situation where there is no power supply from the DC power grid, and when discharging is required, the control is not hindered by stopping operation and updating.

本開示の一実施形態の充放電装置は、前記商用電源又は直流電力網からの電力供給が停止している場合、前記車載蓄電池からの放電中であるか否かを判断し、放電中であると判断された場合、更新を不可とし、放電中でないと判断された場合、更新を実行する。 When the power supply from the commercial power source or the DC power network is stopped, the charging/discharging device of one embodiment of the present disclosure determines whether or not the in-vehicle storage battery is discharging, and determines that the battery is discharging. If so, the update is disabled, and if it is determined that the battery is not being discharged, the update is performed.

本開示の充放電装置では、停電中且つ放電中、即ち商用電源が停電しているか、又は直流電力網からの電力供給もない状況で車載蓄電池からの電力が必要なときに限って更新を不可とする。停電中であっても車載蓄電池又は装置内に備えられる蓄電池からの電力で更新が可能な場合に更新を実行できる。 In the charging/discharging device of the present disclosure, updating is not possible only when electric power from the on-vehicle storage battery is required during power outage and discharging, that is, in a situation where the commercial power supply is out of power or there is no power supply from the DC power network. do. Even during a power outage, the update can be performed if the update can be performed with power from the onboard storage battery or the storage battery provided in the device.

本開示の一実施形態の充放電装置は、前記更新処理部は、前記通信部から更新されたコンピュータプログラムを受信した場合、更新可否を受け付け、更新可が受け付けられた場合に、充放電の運転を停止して書き換えを実行する。 In the charging/discharging device according to an embodiment of the present disclosure, when receiving an updated computer program from the communication unit, the update processing unit accepts update availability, and when update availability is accepted, charging/discharging operation to stop and rewrite.

本開示の充放電装置では、充放電装置の所有者又は管理者からの指示に従って更新を実行することにより、充放電装置のユーザが充電を開始しようとしているタイミングでの運転停止等を回避することができる。 In the charging/discharging device of the present disclosure, updating is performed according to instructions from the owner or administrator of the charging/discharging device, thereby avoiding stoppage of operation at the timing when the user of the charging/discharging device is about to start charging. can be done.

本開示の一実施形態の充放電装置は、前記更新処理部は、該充放電装置の運転状態に関するデータを取得し、取得したデータを、前記通信部から送信する。 In a charging/discharging device according to an embodiment of the present disclosure, the update processing unit acquires data regarding the operating state of the charging/discharging device, and transmits the acquired data from the communication unit.

本開示の充放電装置では、充放電装置のコンピュータプログラムの自動受信が可能な通信部が備えられることによって、充放電装置における運転状態に関するデータを、充放電装置外で収集して利活用することが可能となる。 The charging/discharging device of the present disclosure is provided with a communication unit capable of automatically receiving the computer program of the charging/discharging device, so that data regarding the operating state of the charging/discharging device can be collected and utilized outside the charging/discharging device. becomes possible.

本開示の一実施形態の充放電システムは、前記通信器は、複数の前記充放電装置と通信接続されており、前記通信器は、複数の前記充放電装置に対し、順次又は並行的に、受信済みのコンピュータプログラムによるプログラムの書き換えを実行する。 In the charging/discharging system of one embodiment of the present disclosure, the communication device is connected for communication with a plurality of the charging/discharging devices, and the communication device sequentially or in parallel with the plurality of charging/discharging devices, Execute rewriting of the program by the received computer program.

本開示の充放電システムでは、1つの通信可能な通信器が、複数の充放電装置におけるコンピュータプログラムの更新処理を実行する。充放電装置にとって外部通信を行なう通信器の数を低減することでコストの抑制と確実なプログラムの書き換えとを両立させることができる。 In the charging/discharging system of the present disclosure, one communicable communication device executes update processing of computer programs in a plurality of charging/discharging devices. By reducing the number of communication devices that perform external communication for the charge/discharge device, both cost reduction and reliable program rewriting can be achieved.

本開示によれば、充放電装置が運転中であっても、運転を停止してプログラムの更新を実行する。運転中と更新タイミングとが合致してしまい、充放電を優先して更新ができなくなることを回避することができる。 According to the present disclosure, even if the charge/discharge device is in operation, the operation is stopped and the program is updated. It is possible to avoid the situation where the update timing coincides with that during operation, and the charging/discharging is given priority and the update cannot be performed.

充放電装置を含む充放電システムの概要図である。1 is a schematic diagram of a charging/discharging system including a charging/discharging device; FIG. 充放電装置及び車両の接続構成を示すブロック図である。1 is a block diagram showing a connection configuration of a charging/discharging device and a vehicle; FIG. 通信器、サーバ装置及びクライアント装置の構成を示すブロック図である。2 is a block diagram showing configurations of a communication device, a server device, and a client device; FIG. 充放電装置のプログラム更新手順の一例を示すフローチャートである。4 is a flow chart showing an example of a program update procedure of the charging/discharging device; 充放電装置のプログラム更新手順の一例を示すフローチャートである。4 is a flow chart showing an example of a program update procedure of the charging/discharging device; 変形例1における充放電装置のプログラム更新手順の一例を示すフローチャートである。9 is a flow chart showing an example of a program update procedure of the charging/discharging device in Modification 1. FIG. 変形例1における充放電装置のプログラム更新手順の一例を示すフローチャートである。9 is a flow chart showing an example of a program update procedure of the charging/discharging device in Modification 1. FIG. 変形例2における充放電装置のプログラム更新手順の一例を示すフローチャートである。10 is a flow chart showing an example of a program update procedure of the charging/discharging device in Modification 2. FIG. 変形例2における充放電装置のプログラム更新手順の一例を示すフローチャートである。10 is a flow chart showing an example of a program update procedure of the charging/discharging device in Modification 2. FIG. 変形例3における充放電装置のプログラム更新手順の一例を示すフローチャートである。14 is a flow chart showing an example of a program update procedure of a charging/discharging device in Modification 3. FIG. 変形例3における充放電装置のプログラム更新手順の一例を示すフローチャートである。14 is a flow chart showing an example of a program update procedure of a charging/discharging device in Modification 3. FIG. 第2の実施形態における充放電装置のプログラム更新手順の一例を示すフローチャートである。9 is a flow chart showing an example of a program update procedure of the charging/discharging device according to the second embodiment; 第2の実施形態における充放電装置のプログラム更新手順の一例を示すフローチャートである。9 is a flow chart showing an example of a program update procedure of the charging/discharging device according to the second embodiment; 通信器におけるプログラム監視処理手順の一例を示すフローチャートである。4 is a flow chart showing an example of a program monitoring processing procedure in a communication device; 第4の実施形態における通信器によるデータ送信処理手順の一例を示すフローチャートである。FIG. 16 is a flow chart showing an example of a data transmission processing procedure by a communication device according to the fourth embodiment; FIG. 第2の実施形態における充放電システムの概要図である。FIG. 2 is a schematic diagram of a charging/discharging system in a second embodiment; FIG.

本開示をその実施の形態を示す図面を参照して具体的に説明する。 The present disclosure will be specifically described with reference to the drawings showing the embodiments thereof.

(第1の実施形態)
図1は、充放電装置1を含む充放電システム200の概要図である。第1の実施形態における充放電システム200は、公共施設である駐車場に設置された蓄電装置22、発電装置23、及び、複数の充放電装置1を含む。電力系統Eからの供給電力は電力線PLにより、分電盤28で、蓄電装置22、発電装置23及び複数の充放電装置1を介して接続される車両Vへ分岐される。各充放電装置1は、分電盤28を介し、通信線CLによって上位装置29と接続されている。各充放電装置1は、通信器4と接続されている。通信器4は、所謂インターネットである公衆通信網Nを介し、充放電装置1の保守を担当事業者のサーバ装置5と無線通信(又は有線通信)によってデータの送受信が可能である。サーバ装置5は、公衆通信網Nを介し、各充放電装置1の所有者又は充放電装置1の管理者が使用するクライアント装置6とデータの送受信が可能である。
(First embodiment)
FIG. 1 is a schematic diagram of a charging/discharging system 200 including a charging/discharging device 1. FIG. A charging/discharging system 200 according to the first embodiment includes a power storage device 22, a power generating device 23, and a plurality of charging/discharging devices 1 installed in a parking lot that is a public facility. Electric power supplied from the power system E is branched to the vehicle V connected via the power storage device 22 , the power generation device 23 and the plurality of charging/discharging devices 1 at the distribution board 28 via the power line PL. Each charging/discharging device 1 is connected to a host device 29 via a distribution board 28 and a communication line CL. Each charging/discharging device 1 is connected to a communication device 4 . The communication device 4 can transmit and receive data via a public communication network N, which is the so-called Internet, to and from a server device 5 of a company in charge of maintenance of the charging/discharging device 1 by wireless communication (or wired communication). The server device 5 can transmit and receive data via the public communication network N to and from the client device 6 used by the owner of each charging/discharging device 1 or the administrator of the charging/discharging device 1 .

上位装置29は、電力系統Eからの蓄電装置22、車両Vへの電力の授受、及び、発電装置23から蓄電装置22又は車両Vへの電力授受を制御する。第1の実施形態において上位装置29は、サーバ装置として外部に設けられ、地域の電力の授受を制御するものとして説明するが、分電盤28に設置されて駐車場及び駐車場に設置された蓄電装置22、発電装置23における発電充放電を制御するものであってもよい。上位装置29は、各充放電装置1に内蔵される上位制御装置であってもよい。 The host device 29 controls the transfer of power from the electric power system E to the storage device 22 and the vehicle V, and the transfer of power from the power generation device 23 to the storage device 22 or the vehicle V. FIG. In the first embodiment, the host device 29 is installed outside as a server device and controls the transfer of electric power in the area. It may control the charging and discharging of power generation in the power storage device 22 and the power generation device 23 . Host device 29 may be a host control device built into each charge/discharge device 1 .

充放電装置1は、家庭に設置されて車両Vへの充放電を上位装置29からの制御によって実施するものであってもよい。 The charging/discharging device 1 may be installed at home and charge/discharge the vehicle V under the control of the host device 29 .

図2は、充放電装置1及び車両Vの接続構成を示すブロック図である。車両Vは、電気自動車(EV:Electric Vehicle)、ハイブリッド電気自動車(HEV:Hybrid Electric Vehicle)、プラグインハイブリッド車(PHEV:Plug-in Hybrid Electric Vehicle)、又は燃料電池自動車(FCV:Fuel Cell Vehicle )である。 FIG. 2 is a block diagram showing a connection configuration between the charging/discharging device 1 and the vehicle V. As shown in FIG. The vehicle V is an electric vehicle (EV), a hybrid electric vehicle (HEV), a plug-in hybrid electric vehicle (PHEV), or a fuel cell vehicle (FCV). is.

車両Vは、その駆動に用いることが可能な大容量の蓄電装置30を備える。車両Vは、蓄電装置30に接続される電力線VPLへのコネクタ35と、蓄電装置30における充放電を制御する車載充放電制御装置32とを備える。電力線VPLには、車両V側の充放電回路に含まれるDCリレー33が介装されており、車載充放電制御装置32がDCリレー33のON及びOFFを制御する。コネクタ35には車載充放電制御装置32と通信接続するための通信端子が含まれている。 Vehicle V includes a large-capacity power storage device 30 that can be used to drive the vehicle. Vehicle V includes connector 35 to power line VPL connected to power storage device 30 , and vehicle-mounted charge/discharge control device 32 that controls charge/discharge in power storage device 30 . A DC relay 33 included in the charging/discharging circuit on the vehicle V side is interposed in the power line VPL, and the vehicle-mounted charging/discharging control device 32 controls ON and OFF of the DC relay 33 . The connector 35 includes a communication terminal for communication connection with the in-vehicle charge/discharge control device 32 .

充放電装置1は、充放電回路10、制御部11、車両通信部12、電源部13、操作部14、サーバ通信部17及び上位通信部16を備える。充放電回路10は、双方向インバータ、各種リレー等の多様な回路素子を含む。充放電回路10は、車両Vと接続するコネクタ15と接続されるDCリレー10aと、電力系統Eと接続される電力線PLに介装された解列リレー10bとを含む。充放電回路10は、DCリレー10aを介してコネクタ15と電力線PLによって接続されている。 The charging/discharging device 1 includes a charging/discharging circuit 10 , a control section 11 , a vehicle communication section 12 , a power supply section 13 , an operation section 14 , a server communication section 17 and an upper communication section 16 . The charge/discharge circuit 10 includes various circuit elements such as a bidirectional inverter and various relays. Charging/discharging circuit 10 includes a DC relay 10a connected to connector 15 connected to vehicle V, and a parallel-off relay 10b interposed in power line PL connected to power system E. The charge/discharge circuit 10 is connected to a connector 15 via a power line PL via a DC relay 10a.

制御部11は、充放電回路10に含まれる回路素子を制御し、車両Vの蓄電装置30に対する充放電の切り替え、電流量、及び電圧量を制御する。制御部11はCPU(Central Processing Unit)及び不揮発性メモリを含み、CPUは不揮発性メモリに記憶されたコンピュータプログラム1Pに基づく制御処理を実行して充放電回路10を制御する。 The control unit 11 controls circuit elements included in the charging/discharging circuit 10, and controls charging/discharging switching, current amount, and voltage amount for the power storage device 30 of the vehicle V. FIG. The control unit 11 includes a CPU (Central Processing Unit) and a nonvolatile memory, and the CPU controls the charging/discharging circuit 10 by executing control processing based on a computer program 1P stored in the nonvolatile memory.

制御部11の不揮発性メモリに記憶されているコンピュータプログラム1Pは、コンピュータから読み取り可能な記憶媒体8に記憶されていたコンピュータプログラム8PをCPUが読み出してメモリに記憶したものであってもよい。 The computer program 1P stored in the nonvolatile memory of the control unit 11 may be the computer program 8P stored in the computer-readable storage medium 8 read by the CPU and stored in the memory.

車両通信部12は、コネクタ15及びコネクタ35を介して車載充放電制御装置32と通信接続が可能である。車両通信部12の通信接続のプロトコルは車両V、コネクタ15,35に対応する充放電方式に準拠していればよく、異なる充放電方式に適用するように複数のプロトコルに対応していずれかを選択的に実行できてもよい。本実施形態では車両通信部12は、CAN(Controller Area Network)によって車載充放電制御装置32と通信する。PLCによって通信が実現されてもよい。 The vehicle communication unit 12 can communicate with the vehicle-mounted charge/discharge control device 32 via the connector 15 and the connector 35 . The protocol of the communication connection of the vehicle communication unit 12 may conform to the charging/discharging method corresponding to the vehicle V and the connectors 15 and 35, and any one of the protocols may be selected so as to be applied to different charging/discharging methods. It may be executed selectively. In this embodiment, the vehicle communication unit 12 communicates with the in-vehicle charge/discharge control device 32 via CAN (Controller Area Network). Communication may be realized by a PLC.

電源部13は、UPS(Uninterruptible Power Systems)回路及び起動用蓄電池を含み、制御部11へ電力を供給する。電源部13は、停電時には起動用蓄電池から充放電装置1の起動に必要な電力を供給する。電源部13は、電力系統E、発電装置23又は車両Vからの電力を起動用蓄電池に充電してもよい。 The power supply unit 13 includes a UPS (Uninterruptible Power Systems) circuit and a start-up storage battery, and supplies power to the control unit 11 . The power supply unit 13 supplies electric power necessary for starting up the charging/discharging device 1 from the start-up storage battery during a power outage. The power supply unit 13 may charge the start-up storage battery with electric power from the electric power system E, the power generation device 23, or the vehicle V.

操作部14は、ディスプレイ、ディスプレイ内蔵タッチパネル、及び物理ボタンを含み、充放電装置1の外装に露出してユーザからのSTART(起動)及びSTOP(終了)を含む操作を受け付ける。制御部11は、操作部14にて受け付けられた操作に基づいて充放電回路10を制御してもよい。操作部14は、ランプを含み、状態に応じた色又はパターンで点灯するように制御部11によって制御される。 The operation unit 14 includes a display, a touch panel with a built-in display, and physical buttons, is exposed on the exterior of the charging/discharging device 1, and receives operations including START (activation) and STOP (end) from the user. Control unit 11 may control charge/discharge circuit 10 based on an operation accepted by operation unit 14 . The operation unit 14 includes a lamp and is controlled by the control unit 11 so as to light up in a color or pattern according to the state.

上位通信部16は、上位装置29と通信線CLを介して通信を実現する。上位通信部16は例えば、Ethernet(登録商標)に準拠した通信線CLに対応する通信モジュールであってもよいし、ECHONET /ECHONETLite (登録商標)対応の通信線CLに対応する通信モジュールであってもよい。上位通信部16は、PLCにより通信を実現してもよい。 The host communication unit 16 realizes communication with the host device 29 via the communication line CL. The host communication unit 16 may be, for example, a communication module compatible with a communication line CL conforming to Ethernet (registered trademark), or a communication module compatible with a communication line CL compatible with ECHONET/ECHONET Lite (registered trademark). good too. The upper communication unit 16 may realize communication by PLC.

サーバ通信部17は、通信器4との通信接続が可能である。サーバ通信部17は、例えばEthernet(登録商標)に準拠した通信モジュールである。サーバ通信部17は、有線によって通信器4と接続される。サーバ通信部17は、無線通信モジュールであってもよい。制御部11は、サーバ通信部17を介して通信器4と通信接続が可能である。サーバ通信部17は、上位通信部16と同一の通信モジュールであって、異なるポートで通信接続相手が分別されてもよい。 The server communication unit 17 is capable of communication connection with the communication device 4 . The server communication unit 17 is, for example, a communication module conforming to Ethernet (registered trademark). The server communication unit 17 is connected to the communication device 4 by wire. The server communication unit 17 may be a wireless communication module. The control unit 11 can communicate with the communication device 4 via the server communication unit 17 . The server communication unit 17 may be the same communication module as the upper communication unit 16, and the communication connection partners may be separated by different ports.

上述のように構成される充放電装置1の充放電回路10は、図1及び図2に示すように、コネクタ15が車両Vのコネクタ35と接続された状態において、DCリレー10a及び車両V側のDCリレー33を介して車両Vの蓄電装置30と電力線PLにより接続されている。充放電回路10は、図1及び図2に示すように、解列リレー10b及び分電盤28を介して電力系統E、及び連系機器(蓄電装置22、発電装置23等)と電力線PLによって接続されている。充放電装置1は、電力系統Eと、車両Vの蓄電装置30、及び連系機器との間の電力の授受を制御する。充放電回路10は、解列リレー10b、DCリレー10a、及びDCリレー33が全てONの状態の場合に、電力線PLを介して蓄電装置30の蓄電装置22への放電、又は電力系統Eからの充電を実施できる。 1 and 2, the charging/discharging circuit 10 of the charging/discharging device 1 configured as described above is connected to the DC relay 10a and the vehicle V side when the connector 15 is connected to the connector 35 of the vehicle V. is connected to the power storage device 30 of the vehicle V via the DC relay 33 of the power line PL. As shown in FIGS. 1 and 2, the charging/discharging circuit 10 is connected to the power system E via the parallel-off relay 10b and the distribution board 28, and the interconnected devices (power storage device 22, power generation device 23, etc.) and the power line PL. It is connected. The charging/discharging device 1 controls the transfer of electric power between the electric power system E, the power storage device 30 of the vehicle V, and the interconnected equipment. When the parallel-off relay 10b, the DC relay 10a, and the DC relay 33 are all in the ON state, the charging/discharging circuit 10 discharges the power storage device 30 to the power storage device 22 or discharges the power from the power system E via the power line PL. Charging can be performed.

図3は、通信器4、サーバ装置5及びクライアント装置6の構成を示すブロック図である。通信器4は、充放電装置1が外部ネットワークである事業者のサーバ装置5と通信接続を可能にするゲートウェイとして機能する。通信器4は、処理部40、記憶部43、第1通信部41及び第2通信部42を備える。通信器4は、通信線CLのみならず電力線PLでも充放電装置1と接続されており、充放電装置1の電源部13から電力の供給を受けて稼働する。 FIG. 3 is a block diagram showing configurations of the communication device 4, the server device 5 and the client device 6. As shown in FIG. The communication device 4 functions as a gateway that enables the charging/discharging device 1 to communicate with the server device 5 of the provider, which is an external network. The communication device 4 includes a processing section 40 , a storage section 43 , a first communication section 41 and a second communication section 42 . The communication device 4 is connected to the charging/discharging device 1 not only by the communication line CL but also by the power line PL, and receives power supply from the power supply unit 13 of the charging/discharging device 1 to operate.

処理部40はCPUを含み、記憶部43に記憶してある制御プログラム4Pに基づく制御処理を実行し、サーバ装置5と充放電装置1との間のデータの送受信を仲介する。 The processing unit 40 includes a CPU, executes control processing based on the control program 4P stored in the storage unit 43, and mediates transmission and reception of data between the server device 5 and the charging/discharging device 1. FIG.

記憶部43は、フラッシュメモリ又はSSD(Solid State Drive)等の不揮発性メモリである。記憶部43は、処理部40が通信器4自身の制御のために読み出す制御プログラム4Pを記憶するほか、サーバ装置5から受信する充放電装置1向けのコンピュータプログラム1P,1P,…を記憶する。制御プログラム4Pは、コンピュータから読み取り可能な記憶媒体9に記憶されていた制御プログラム9PをCPUが読み出してメモリに記憶したものであってもよい。 The storage unit 43 is a non-volatile memory such as flash memory or SSD (Solid State Drive). The storage unit 43 stores a control program 4P read by the processing unit 40 for controlling the communication device 4 itself, and also stores computer programs 1P, 1P, . The control program 4P may be the control program 9P stored in the computer-readable storage medium 9 read by the CPU and stored in the memory.

記憶部43には、プログラムの更新タイミングが書き換え可能に記憶される。更新タイミングは例えば指定された時間帯であって、充放電が行なわれないことが予想される午前2時から午前4時まで等であってもよい。更新タイミングは、時間帯の設定値のみならず、充放電装置1の状態に応じた設定値であってもよい。 The storage unit 43 rewritably stores the update timing of the program. The update timing may be, for example, a specified time period, such as from 2:00 am to 4:00 am, when it is expected that charging and discharging will not be performed. The update timing may be a set value according to the state of the charging/discharging device 1 as well as the set value of the time zone.

第1通信部41は、公衆通信網Nを介したサーバ装置5との通信接続を実現する通信モジュールである。第1通信部41は、具体的にはキャリア通信網N2へ通信接続する無線通信モジュールである。処理部40は、第1通信部41により、キャリア通信網N2及び公衆通信網Nを介してサーバ装置5と通信接続が可能である。 The first communication unit 41 is a communication module that realizes communication connection with the server device 5 via the public communication network N. FIG. The first communication unit 41 is specifically a wireless communication module that communicates and connects to the carrier communication network N2. The processing unit 40 can communicate with the server device 5 via the carrier communication network N2 and the public communication network N by the first communication unit 41 .

第2通信部42は、充放電装置1との通信を実現する通信モジュールである。第2通信部42は、例えばEthernet(登録商標)に準拠した通信モジュールである。第2通信部42は、有線によって充放電装置1のサーバ通信部17と接続される。第2通信部42は、無線通信モジュールであってもよい。 The second communication unit 42 is a communication module that realizes communication with the charging/discharging device 1 . The second communication unit 42 is, for example, a communication module conforming to Ethernet (registered trademark). The second communication unit 42 is connected to the server communication unit 17 of the charging/discharging device 1 by wire. The second communication unit 42 may be a wireless communication module.

サーバ装置5は、充放電装置1のメーカ又は保守点検を実施する事業者によって管理されている。サーバ装置5は、充放電装置1向けのコンピュータプログラム1Pを記憶しており、適宜更新する。サーバ装置5は、1台のサーバコンピュータで実現されてもよいが、複数のコンピュータで分散されて実現されてもよい。サーバ装置5は、公衆通信網N及びキャリア通信網N2を介して通信器4及びクライアント装置6と通信接続が可能である。サーバ装置5は、Webブラウザ経由のインタフェースを有してクラウドサーバとして機能してもよい。 The server device 5 is managed by the manufacturer of the charging/discharging device 1 or a business operator who performs maintenance and inspection. The server device 5 stores a computer program 1P for the charging/discharging device 1 and updates it as appropriate. The server device 5 may be implemented by a single server computer, or may be implemented by being distributed by a plurality of computers. The server device 5 can communicate with the communication device 4 and the client device 6 via the public communication network N and the carrier communication network N2. The server device 5 may have an interface via a web browser and function as a cloud server.

クライアント装置6は、充放電装置1の所有者又は管理者が使用する通信端末装置である。クライアント装置6は例えばスマートフォンである。クライアント装置6は、処理部60、記憶部61、通信部62、表示部63及び操作部64を備える。 The client device 6 is a communication terminal device used by the owner or administrator of the charging/discharging device 1 . The client device 6 is, for example, a smart phone. The client device 6 includes a processing section 60 , a storage section 61 , a communication section 62 , a display section 63 and an operation section 64 .

処理部60は、CPU及び/又はGPU(Graphical Processing Unit)を含む。処理部60は、記憶部61に記憶されている各種プログラムを実行する。処理部60は、各種プログラムのうち、例えばWebブラウザプログラムを実行し、サーバ装置5で提供される充放電装置1による充放電に関する情報ページを表示部63に表示することができる。又は、処理部60は、各種プログラムのうち、例えばメッセージ用プログラムを実行し、サーバ装置5から所有者又は管理者向けのメッセージを取得し、メッセージを表示部63に表示することができる。 The processing unit 60 includes a CPU and/or a GPU (Graphical Processing Unit). The processing unit 60 executes various programs stored in the storage unit 61 . The processing unit 60 can execute, for example, a web browser program among various programs, and display an information page regarding charging/discharging by the charging/discharging device 1 provided by the server device 5 on the display unit 63 . Alternatively, the processing unit 60 can execute, for example, a message program among various programs, acquire a message for the owner or administrator from the server device 5 , and display the message on the display unit 63 .

通信部62は、公衆通信網N又はキャリア通信網N2に通信接続するための通信モジュールである。通信部62は、例えば無線通信モジュールである。 The communication unit 62 is a communication module for communication connection to the public communication network N or the carrier communication network N2. The communication unit 62 is, for example, a wireless communication module.

表示部63は、液晶ディスプレイ、有機EL(Electro Luminescence)ディスプレイ等のディスプレイである。表示部63は、操作画面を表示する。表示部63は、タッチパネル内蔵型ディスプレイであってもよい。 The display unit 63 is a display such as a liquid crystal display or an organic EL (Electro Luminescence) display. The display unit 63 displays an operation screen. The display unit 63 may be a display with a built-in touch panel.

操作部64は、処理部60との間で入出力が可能なユーザインタフェースである。操作部64は例えば、表示部63に内蔵されるタッチパネルである。操作部64は、物理ボタンであってもよい。操作部64は、音声入力部であってもよい。操作部64は、ユーザによる操作データを処理部60へ通知する。 The operation unit 64 is a user interface capable of input/output with the processing unit 60 . The operation unit 64 is, for example, a touch panel built into the display unit 63 . The operation unit 64 may be physical buttons. The operation unit 64 may be a voice input unit. The operation unit 64 notifies the processing unit 60 of operation data by the user.

このように構成される充放電システム200では、充放電装置1向けのコンピュータプログラム1Pが更新されると、サーバ装置5に更新情報と共に更新後のコンピュータプログラム1Pが記憶され、各充放電装置1へ配信可能な状態となる。以下、説明を容易にするため、より新しいプログラムの符号「1P」に、アルファベット「 v」と、より大きい数字とを付加して表す。 In the charging/discharging system 200 configured as described above, when the computer program 1P for the charging/discharging device 1 is updated, the updated computer program 1P is stored together with the update information in the server device 5, and is sent to each charging/discharging device 1. It is ready for delivery. In the following, for ease of explanation, newer programs are denoted by the letter "v" and a larger number appended to the code "1P".

充放電装置1は、通信器4により、以下のフローチャートに示す処理手順でコンピュータプログラム1Pの更新を実行する。図4及び図5は、充放電装置1のプログラム更新手順の一例を示すフローチャートである。制御部11は、起動中に以下の処理を継続して実行する。 The charging/discharging device 1 updates the computer program 1P through the communication device 4 according to the processing procedure shown in the following flowchart. 4 and 5 are flowcharts showing an example of the program update procedure of the charging/discharging device 1. FIG. The control unit 11 continuously executes the following processes during startup.

処理部40は、通信器4にて、更新されたコンピュータプログラム1Pが受信済みか否かを判断する(ステップS101)。 The processing unit 40 determines whether or not the updated computer program 1P has been received by the communication device 4 (step S101).

通信器4は、新たなコンピュータプログラム1P、例えばコンピュータプログラム1Pv1に対するリクエストを第1通信部41からサーバ装置5へ送信する。サーバ装置5では、リクエストに対し、新たなコンピュータプログラム1Pv1がサーバ装置5にアップロード(登録)されるまでハング状態(待機)を維持する。サーバ装置5は、コンピュータプログラム1Pv1がアップロードされると、ハング状態にしていた通信接続においてリクエストに対してコンピュータプログラム1Pv1(プログラムデータ及び更新用スクリプト等を含む)を通信器4へ送信する。通信器4は、新たなコンピュータプログラム1Pv1を第1通信部41により受信すると、記憶部43に記憶する。通信器4の処理部40は、記憶したコンピュータプログラム1Pをバージョン情報が識別できるように記憶しておくとよい。次のコンピュータプログラム1Pv2に対するリクエストを第1通信部41からサーバ装置5へ送信して待機する(ロングポーリング)。これにより、更新がされていない間に通信器4から更新の有無を問い合わせるポーリングを行なわないので、通信量を最低限とすることができる。 The communication device 4 transmits a request for a new computer program 1P, for example, a computer program 1Pv1, from the first communication unit 41 to the server device 5. FIG. In response to the request, the server device 5 maintains a hung state (standby) until the new computer program 1Pv1 is uploaded (registered) in the server device 5 . When the computer program 1Pv1 is uploaded, the server device 5 transmits the computer program 1Pv1 (including program data, update script, etc.) to the communication device 4 in response to the request through the communication connection that has been in the hung state. The communication device 4 stores the new computer program 1Pv1 in the storage unit 43 when the first communication unit 41 receives the new computer program 1Pv1. The processing unit 40 of the communication device 4 preferably stores the stored computer program 1P so that the version information can be identified. A request for the next computer program 1Pv2 is transmitted from the first communication unit 41 to the server device 5 and waits (long polling). As a result, polling to inquire whether there is an update from the communication device 4 is not performed while the update is not performed, so the amount of communication can be minimized.

ステップS101で、更新されたコンピュータプログラム1Pを受信していないと判断された場合(S101:NO)、処理部40は、処理をステップS101へ戻し、更新プログラムを受信するまで待機する。 If it is determined in step S101 that the updated computer program 1P has not been received (S101: NO), the processing unit 40 returns the process to step S101 and waits until an update program is received.

ステップS101で、更新されたコンピュータプログラム1Pを受信したと判断された場合(S101:YES)、処理部40は、予め設定されている更新タイミングであるか否かを判断する(ステップS102)。更新タイミングは、記憶部43に、書き換え可能に記憶されている。 When it is determined in step S101 that the updated computer program 1P has been received (S101: YES), the processing unit 40 determines whether or not it is the preset update timing (step S102). The update timing is rewritably stored in the storage unit 43 .

ステップS102で、更新タイミングでないと判断された場合(S102:NO)、処理部40は、処理をステップS102へ戻し、更新可能タイミングであると判断されるまで待機する。 In step S102, if it is determined that it is not the update timing (S102: NO), the processing unit 40 returns the process to step S102 and waits until it is determined that it is the update possible timing.

ステップS102で、更新タイミングであると判断された場合(S102:YES)、処理部40は、充放電装置1が充放電中であっても停止してプログラムの更新を行なう。そのため処理部40は、充放電の運転中であるか否かを判断する(ステップS103)。運転中であると判断された場合(S103:YES)、処理部40は、制御部11に対して運転を正常停止(boot指示)させ(ステップS104)、コネクタ15及びコネクタ35の間のロックをOFFさせ(ステップS105)、処理をステップS106へ進める。ステップS105において処理部40は、制御部11へロックOFFのリクエストを送信する。ロックが既にOFF(解除状態)である場合には、ステップS105の処理は省略されてよい。ステップS104の後、実際に運転が停止されたか否かを確認する処理を実行してもよい。 In step S102, if it is determined that it is time to update (S102: YES), processing unit 40 stops charging and discharging device 1 to update the program even if charging/discharging is in progress. Therefore, the processing unit 40 determines whether or not the charging/discharging operation is in progress (step S103). If it is determined to be in operation (S103: YES), the processing unit 40 causes the control unit 11 to normally stop operation (boot instruction) (step S104), and unlocks the connector 15 and the connector 35. It is turned off (step S105), and the process proceeds to step S106. In step S<b>105 , the processing unit 40 transmits a lock OFF request to the control unit 11 . If the lock is already OFF (released state), the process of step S105 may be omitted. After step S104, a process of confirming whether or not the operation has actually been stopped may be executed.

ステップS103で運転中でないと判断された場合(S103:NO)、停止処理が不要であるから、処理部40は、処理をステップS105へ進める。なおステップS103で運転中であるか否かの判断を省略し、停止しているか否かに拘わらず停止させる処理(S104)を実行してもよい。 If it is determined in step S103 that the vehicle is not in operation (S103: NO), the processing unit 40 advances the processing to step S105 because the stop processing is unnecessary. It should be noted that it is also possible to omit the judgment as to whether or not the vehicle is in operation in step S103, and execute the processing (S104) of stopping regardless of whether or not the vehicle is stopped.

処理部40は、プログラム更新開始の通知を上位通信部16から上位装置29へ送信させる(ステップS106)。処理部40は、プログラム更新開始の通知メッセージを操作部14のディスプレイに表示させる(ステップS107)。 The processing unit 40 causes the host communication unit 16 to transmit a program update start notification to the host device 29 (step S106). The processing unit 40 displays a program update start notification message on the display of the operation unit 14 (step S107).

ステップS104-S107の処理は、処理部40から充放電装置1の制御部11へ、プログラムの更新を開始する通知を行なうと、制御部11によって実行される。制御部11は、サーバ通信部17によって通知を受けると、更新処理を開始する。制御部11は、メモリに更新タイミングを記憶しておき、更新タイミングが到来した場合には自律的に充放電の運転を停止し、更新のための処理を開始してもよい。 The processing of steps S104 to S107 is executed by control unit 11 when processing unit 40 notifies control unit 11 of charging/discharging device 1 to start updating the program. Upon receiving the notification from the server communication unit 17, the control unit 11 starts update processing. The control unit 11 may store the update timing in a memory, and when the update timing arrives, autonomously stop the charging/discharging operation and start the process for updating.

以後、充放電装置1の操作部14では、プログラム更新中を示す出力をするとよい。操作部14のディスプレイに「更新中」のメッセージを表示させるか、操作部14のランプを点滅させてもよい。処理部40は、サーバ装置5を介してクライアント装置6へプログラム更新開始を通知してもよい。以後、プログラム更新完了又はプログラム更新失敗の通知を受けるまで、サーバ装置5では更新中の状態を保持する。サーバ装置5は、クライアント装置6から状態取得がリクエストされた場合に、表示部63にプログラム更新中の状態を示す画像及び/又はテキストが表示されてもよい。 After that, the operation unit 14 of the charging/discharging device 1 preferably outputs an output indicating that the program is being updated. A message "updating" may be displayed on the display of the operation unit 14, or the lamp of the operation unit 14 may be blinked. The processing unit 40 may notify the client device 6 of the program update start via the server device 5 . Thereafter, the server device 5 maintains the state of being updated until it receives a notification of program update completion or program update failure. The server device 5 may display an image and/or text indicating a state in which the program is being updated on the display unit 63 when a status acquisition request is received from the client device 6 .

処理部40は、従来、充放電を正常に実施した実績のある従来のコンピュータプログラム1Pを記憶部43に退避させる(ステップS108)。ステップS108において処理部40は、従来のコンピュータプログラム1Pの内の最も新しいコンピュータプログラム1Pを記憶しておいてもよいし、更新されたコンピュータプログラム1Pを複数世代にわたって、バージョン情報と対応付けて記憶しておいてもよい。 The processing unit 40 saves the conventional computer program 1P, which has a track record of performing charging and discharging normally, in the storage unit 43 (step S108). In step S108, the processing unit 40 may store the newest computer program 1P among the conventional computer programs 1P, or store the updated computer programs 1P over a plurality of generations in association with version information. You can leave it.

処理部40は、更新された新たなコンピュータプログラム1Pのインストール(メモリへの書き込み)を開始する(ステップS109)。ステップS109の処理は具体的には、処理部40は、第2通信部42からFTP(File Transfer Protocol)によってコンピュータプログラム1Pを充放電装置1へ送信する。 The processing unit 40 starts installing (writing to the memory) the updated new computer program 1P (step S109). Specifically, in the process of step S109, the processing unit 40 transmits the computer program 1P to the charging/discharging device 1 from the second communication unit 42 by FTP (File Transfer Protocol).

処理部40は、書き込み中にフォーマット異常を検知したか否かを判断する(ステップS110)。フォーマット異常を検知しないと判断された場合(S110:NO)、処理部40は、書き込みが完了したか否かを判断する(ステップS111)。ステップS111で書き込みが完了しないと判断された場合(S111:NO)、処理部40は処理をステップS110へ戻す。 The processing unit 40 determines whether or not a format error is detected during writing (step S110). When it is determined that the format error is not detected (S110: NO), the processing unit 40 determines whether or not writing is completed (step S111). If it is determined in step S111 that writing is not completed (S111: NO), the processing unit 40 returns the process to step S110.

ステップS111で書き込みが完了したと判断された場合(S111:YES)、処理部40は、プログラム更新完了の通知を上位通信部16から上位装置29へ送信させる(ステップS112)。処理部40は、プログラム更新完了の通知メッセージを操作部14のディスプレイに表示させる(ステップS113)。処理部40は、更新が完了したコンピュータプログラム1Pのバージョン情報を記憶部43にログとして記憶しておく(ステップS114)。 If it is determined in step S111 that writing has been completed (S111: YES), the processing unit 40 causes the host communication unit 16 to transmit a program update completion notification to the host device 29 (step S112). The processing unit 40 displays a program update completion notification message on the display of the operation unit 14 (step S113). The processing unit 40 stores the version information of the computer program 1P whose update has been completed as a log in the storage unit 43 (step S114).

ステップS112及びステップS113において処理部40は、書き込みが完了したところで、制御部11へ起動(boot)指示を送る。起動した制御部11は、新たなコンピュータプログラム1Pを正常に起動できた場合に、プログラム更新完了の通知を上位装置29へ、並びに操作部14へのディスプレイへ表示する。 In steps S112 and S113, the processing unit 40 sends a boot instruction to the control unit 11 when the writing is completed. When the new computer program 1P can be started normally, the started control unit 11 displays a program update completion notification on the host device 29 and on the display of the operation unit 14 .

処理部40は、サーバ装置5へ、インストールの完了を、充放電装置1の識別データ(又は通信器4のアドレス等の識別データ)を対応付けて通知する(ステップS115)。ステップS115において処理部40は、インストール完了したコンピュータプログラム1Pのバージョン情報を共に送信してもよい。これにより、サーバ装置5は、充放電装置1の識別データに対応付けて記憶されている所有者又は管理者のクライアント装置6あての通知ページ又は通知メッセージを送信する。上位装置29から、充放電装置1の所有者又は管理者向け(クライアント装置6)にプログラム更新完了の通知がされてもよい。 The processing unit 40 notifies the server device 5 of the completion of installation in association with the identification data of the charging/discharging device 1 (or the identification data such as the address of the communication device 4) (step S115). In step S115, the processing unit 40 may also transmit the version information of the computer program 1P that has been installed. As a result, the server device 5 transmits a notification page or notification message addressed to the client device 6 of the owner or administrator stored in association with the identification data of the charging/discharging device 1 . The host device 29 may notify the owner or administrator (client device 6) of the charging/discharging device 1 that the program has been updated.

処理部40は、上位装置29からの制御を受けて充放電を実施するため、コネクタ15及びコネクタ35のロックをONとさせる(ステップS116)。処理部40は、車両Vの車載充放電制御装置32との間の通信接続を確立させ(ステップS117)、待機状態となってプログラム更新処理を終了する。 The processing unit 40 turns on the lock of the connector 15 and the connector 35 in order to perform charging/discharging under the control of the host device 29 (step S116). The processing unit 40 establishes a communication connection with the in-vehicle charge/discharge control device 32 of the vehicle V (step S117), enters a standby state, and terminates the program update process.

ステップS110でフォーマット異常を検知したと判断した場合(S110:YES)、処理部40は、退避させていた従来のコンピュータプログラム1Pの書き込み(再インストール)を開始する(ステップS118)。 If it is determined in step S110 that a format error has been detected (S110: YES), the processing unit 40 starts writing (reinstalling) the conventional computer program 1P that has been saved (step S118).

処理部40は、再インストールが完了したか否かを判断する(ステップS119)。ステップS119で再インストールが完了しないと判断された場合(S119:NO)、処理部40は処理をステップS119へ戻す。 The processing unit 40 determines whether or not the reinstallation is completed (step S119). If it is determined in step S119 that the reinstallation is not completed (S119: NO), the processing unit 40 returns the process to step S119.

ステップS119で再インストールが完了したと判断された場合(S119:YES)、処理部40は、プログラム更新失敗の通知を上位通信部16から上位装置29へ送信させる(ステップS120)。処理部40は、プログラム更新失敗の通知メッセージを操作部14のディスプレイに表示させる(ステップS121)。処理部40は、処理をステップS116へ進め、従来のコンピュータプログラム1Pに基づく充放電制御を再開させる。 If it is determined in step S119 that the reinstallation has been completed (S119: YES), the processing unit 40 causes the host communication unit 16 to transmit a program update failure notification to the host device 29 (step S120). The processing unit 40 displays a program update failure notification message on the display of the operation unit 14 (step S121). The processing unit 40 advances the process to step S116 and restarts the charge/discharge control based on the conventional computer program 1P.

ステップS120及びS121においても処理部40は、書き込みが完了したところで(S119:YES)、制御部11へ起動(boot)指示を送る。起動した制御部11は、従来のコンピュータプログラム1Pに基づき、プログラム更新失敗の通知を上位装置29へ、並びに操作部14へのディスプレイへ表示する。 Also in steps S120 and S121, the processing unit 40 sends a boot instruction to the control unit 11 when the writing is completed (S119: YES). Based on the conventional computer program 1P, the activated control unit 11 displays a notification of program update failure to the host device 29 and on the display of the operation unit 14 .

図4及び図5のフローチャートは、充放電装置1に車両Vが接続された状態であることを前提として説明した。車両Vが接続されていない場合に制御部11は、コネクタ15,35のロックのON/OFF、運転停止等を実行することなく、コンピュータプログラム1Pの更新を行なう。 The flowcharts of FIGS. 4 and 5 have been described on the premise that the vehicle V is connected to the charging/discharging device 1 . When the vehicle V is not connected, the control unit 11 updates the computer program 1P without turning ON/OFF the locking of the connectors 15 and 35, stopping the operation, or the like.

このように、運転中であっても停止させて更新プログラムの書き込みを実行する。これにより、運転中と更新タイミングとが合致してしまい、更新ができなくなることを回避することができる。また、プログラム更新がフォーマット異常等で完了できなかった場合、充放電を実施していた実績のある従来のコンピュータプログラム1Pに戻して運転開始状態に復帰することができる。 In this way, even during operation, the update program is written after stopping the operation. As a result, it is possible to avoid the situation where the update timing coincides with that during driving, and thus the update cannot be performed. Also, if the program update cannot be completed due to a format error or the like, it is possible to return to the conventional computer program 1P, which has a track record of performing charging and discharging, and to return to the operation start state.

(変形例1)
フォーマット異常を検知することに代替して、充放電装置1の制御部11が、書き込みが完了した場合にこれを通知し、処理部40が受信できた場合には新たなコンピュータプログラム1Pによるインストールが可能と判断してインストールが完了したと判断するようにしてもよい。
(Modification 1)
Instead of detecting a format abnormality, the control unit 11 of the charging/discharging device 1 notifies of the completion of writing when the writing is completed, and when the processing unit 40 receives the notification, a new computer program 1P is installed. It may be determined that installation is completed by judging that it is possible.

図6及び図7は、変形例1における充放電装置1のプログラム更新手順の一例を示すフローチャートである。図6及び図7のフローチャートに示す処理手順の内、図4及び図5のフローチャートに示した処理手順と共通する手順については同一のステップ番号を付して詳細な説明を省略する。 6 and 7 are flowcharts showing an example of the program update procedure of the charging/discharging device 1 in Modification 1. FIG. Among the processing procedures shown in the flowcharts of FIGS. 6 and 7, the procedures common to the processing procedures shown in the flowcharts of FIGS. 4 and 5 are assigned the same step numbers, and detailed descriptions thereof are omitted.

処理部40は、ステップS109で更新後のコンピュータプログラム1Pのインストールを開始した後、充放電装置1の制御部11から書き込み完了の通知を受けたか否かを判断する(ステップS131)。ステップS131において処理部40は、予め設定した時間(書き込みが完了する時間)以内に、書き込み完了の通知を受けたか否かを判断する。 After starting installation of the updated computer program 1P in step S109, the processing unit 40 determines whether or not it has received a write completion notification from the control unit 11 of the charging/discharging device 1 (step S131). In step S<b>131 , the processing unit 40 determines whether or not a write completion notification has been received within a preset time (time to complete writing).

書き込み完了の通知を受けたと判断された場合(S131:YES)、正常に書き込みができたとして処理をステップS112へ進める。 If it is determined that the writing completion notification has been received (S131: YES), the process proceeds to step S112 assuming that the writing has been completed normally.

書き込み完了の通知を受けなかったと判断された場合(S131:NO)、正常に書き込みができなかったとして処理をステップS118へ進める。 If it is determined that the writing completion notification has not been received (S131: NO), the process proceeds to step S118 assuming that the writing could not be performed normally.

(変形例2)
変形例2では、停電が発生していないか否かを確認する。図8及び図9は、変形例2における充放電装置1のプログラム更新手順の一例を示すフローチャートである。図8及び図9のフローチャートに示す処理手順の内、図4及び図5のフローチャートに示した処理手順と共通する手順については同一のステップ番号を付して詳細な説明を省略する。
(Modification 2)
In Modified Example 2, it is checked whether or not a power failure has occurred. 8 and 9 are flowcharts showing an example of the program update procedure of the charging/discharging device 1 in Modification 2. FIG. Among the processing procedures shown in the flowcharts of FIGS. 8 and 9, the procedures that are common to the processing procedures shown in the flowcharts of FIGS. 4 and 5 are assigned the same step numbers, and detailed descriptions thereof are omitted.

ステップS103の運転中であるか否かの判断の前後、ここでは上位装置29からの運転中であると判断された場合に(S103:YES)、処理部40は、停電中であるか否かを判断する(ステップS141)。停電中であるか否かは、電力系統Eからの電力供給が停止しているか否かに該当する。処理部40は、電力系統Eのみならず、直流電力網に接続されている場合には、直流電力網からの電力供給も含め、電力供給が停止しているか否かを判断してもよい。ステップS141において処理部40は、停電中であるか否かを、充放電装置1が電源部13の起動用蓄電池で稼働しているか否かで判断してもよい。また処理部40は、接続されている車両Vからの放電中であるか否かで判断してもよい。 Before and after step S103, when it is determined that the host device 29 is in operation (S103: YES), the processing unit 40 determines whether the power is out. (step S141). Whether or not there is a power outage corresponds to whether or not the power supply from the power system E is stopped. The processing unit 40 may determine whether or not the power supply is stopped, including not only the power system E but also the power supply from the DC power network if it is connected to the DC power network. In step S<b>141 , the processing unit 40 may determine whether or not the power failure is in progress by determining whether or not the charging/discharging device 1 is operating with the start-up storage battery of the power supply unit 13 . Alternatively, the processing unit 40 may determine whether or not the connected vehicle V is discharging.

ステップS141で停電中であると判断された場合(S141:YES)、処理部40は、車両Vから放電中であるか否かを判断する(ステップS142)。車両Vから放電中の場合には(S142:YES)、停電中であって車両Vからの電力で、地域の負荷を動かしている可能性がある。したがってこの場合、処理部40は、更新を行なわずに処理を終了させる。 If it is determined in step S141 that the power is out (S141: YES), the processing unit 40 determines whether or not the vehicle V is discharging (step S142). If the vehicle V is discharging electricity (S142: YES), there is a possibility that the electric power from the vehicle V is used to move loads in the area due to a power outage. Therefore, in this case, the processing unit 40 terminates the processing without updating.

ステップS141で停電中であると判断された場合(S141:YES)、放電中か否かに拘わらず、更新を行なわずに処理を終了してもよい。停電中は、どのようなタイミングで放電を指示されるかが不明なためである。ステップS141で停電中であると判断された場合(S141:YES)、処理部40は更新を保留、即ち更新処理については待機状態であることをメモリに記憶しておき、電力供給が回復次第、S104以降の処理を実行して更新を完了させてもよい。 If it is determined in step S141 that the power is out (S141: YES), the process may be terminated without updating regardless of whether or not the power is being discharged. This is because it is unknown at what timing the discharge is instructed during a power failure. If it is determined in step S141 that there is a power outage (S141: YES), the processing unit 40 suspends the update, that is, stores that the update process is in a standby state in the memory. The update may be completed by executing the processes after S104.

ステップS103の運転中か否かの判断を省略し、停電且つ放電中であるかを判断し、停電且つ放電中ではないと判断された場合は、充放電が運転中か否かに拘わらず、充放電を停止させる処理(S104)を実行してもよい。 Omitting the determination of whether or not the battery is in operation in step S103, it is determined whether the power failure and discharge is in progress. You may perform the process (S104) which stops charge/discharge.

ステップS142において処理部40は、放電中でないと判断された場合(S142:NO)、電源部13の蓄電池からの電力又は車両Vの蓄電装置30からの電力供給によってステップS104以降の処理で更新を実行する。処理部40は、車両Vの蓄電装置30からの電力供給によって更新を実行する場合、ステップS105のコネクタ15,35のロックのOFFを逆にロックのONとする必要がある。 If it is determined in step S142 that the processing unit 40 is not discharging (S142: NO), the power supply from the storage battery of the power supply unit 13 or the power supply from the power storage device 30 of the vehicle V is used to perform the update in the processes after step S104. Run. When executing the update by power supply from the power storage device 30 of the vehicle V, the processing unit 40 needs to turn the locking OFF of the connectors 15 and 35 in step S105 into the locking ON.

ステップS141で停電中でないと判断された場合(S141:NO)、処理部40は、処理をステップS104へ進める。 If it is determined in step S141 that there is no power outage (S141: NO), the processing unit 40 advances the process to step S104.

運転中でないと判断された場合(S103:NO)、処理部40は、処理をステップS105へ進め、停電中である場合には、電源部13の蓄電池からの電力又は車両Vの蓄電装置30からの電力供給によって更新を実行するとよい。なお、車両Vの蓄電装置30からの電力供給によって更新する場合には、上述したようにステップS105のコネクタ15,35のロックのOFFを逆にロックのONとする必要がある。 If it is determined that the vehicle is not in operation (S103: NO), the processing unit 40 advances the process to step S105. power supply to perform the update. In addition, in the case of updating by supplying electric power from the power storage device 30 of the vehicle V, it is necessary to turn the locking OFF of the connectors 15 and 35 in step S105 to the locking ON conversely, as described above.

このように、停電時に、特に車両Vの蓄電装置30からの放電中は運転を停止させず、それ以外では運転を停止させても、新たなコンピュータプログラム1Pへの更新を実行することができる。 In this way, during a power failure, the operation is not stopped especially during discharging from the power storage device 30 of the vehicle V, and the update to the new computer program 1P can be executed even if the operation is stopped otherwise.

(変形例3)
変形例3では、充放電装置1は、上位装置29からの指示で運転していない場合、更新後は元の運転状態(充電又は放電)に復帰する。図10及び図11は、変形例3における充放電装置1のプログラム更新手順の一例を示すフローチャートである。図10及び図11のフローチャートに示す処理手順の内、図4及び図5のフローチャートに示した処理手順と共通する手順については同一のステップ番号を付して詳細な説明を省略する。
(Modification 3)
In Modified Example 3, if the charging/discharging device 1 is not operated according to an instruction from the host device 29, it returns to the original operating state (charging or discharging) after the update. 10 and 11 are flowcharts showing an example of the program update procedure of the charging/discharging device 1 according to Modification 3. FIG. Among the processing procedures shown in the flowcharts of FIGS. 10 and 11, the procedures that are common to the processing procedures shown in the flowcharts of FIGS. 4 and 5 are assigned the same step numbers, and detailed description thereof will be omitted.

変形例3では、処理部40は、ステップS117で車載充放電制御装置32との間の通信接続を、充放電装置1に確立させた後、待機状態ではなく、ステップS104の停止前の運転(充電又は放電)を開始し(ステップS151)、プログラム更新処理を終了する。 In the third modification, the processing unit 40 causes the charging/discharging device 1 to establish a communication connection with the in-vehicle charging/discharging control device 32 in step S117, and then the operation before stopping in step S104 ( charging or discharging) is started (step S151), and the program update process ends.

これにより、充放電装置1のプログラムの更新及び運転の継続を直ちに実現することが可能である。 As a result, it is possible to immediately update the program of the charging/discharging device 1 and continue the operation.

(第2の実施形態)
第2の実施形態では、充放電装置1の所有者又は管理者へ、コンピュータプログラム1Pの更新の実行可否を問い合わせる。第2の実施形態における充放電システム200の構成は、以下に説明する更新処理手順以外には、第1の実施形態と同様であるから、共通する構成に同一の符号を付して詳細な説明を省略する。
(Second embodiment)
In the second embodiment, an inquiry is made to the owner or administrator of the charging/discharging device 1 as to whether updating of the computer program 1P can be executed. The configuration of the charging/discharging system 200 in the second embodiment is the same as in the first embodiment, except for the update processing procedure described below. is omitted.

図12及び図13は、第2の実施形態における充放電装置1のプログラム更新手順の一例を示すフローチャートである。図12及び図13のフローチャートに示す処理手順の内、第1の実施形態の図4及び図5のフローチャートに示した処理手順と共通する手順については同一のステップ番号を付して詳細な説明を省略する。 12 and 13 are flowcharts showing an example of the program update procedure of the charging/discharging device 1 according to the second embodiment. Among the processing procedures shown in the flowcharts of FIGS. 12 and 13, the procedures that are common to the processing procedures shown in the flowcharts of FIGS. 4 and 5 of the first embodiment are denoted by the same step numbers, and detailed descriptions thereof will be provided. omitted.

ステップS102で更新タイミングであると判断された場合(S102:YES)、処理部40は、充放電装置1の所有者又は管理者への更新の可否の問い合わせる(ステップ161)。ステップS161で処理部40は、充放電装置1の操作部14のディスプレイに更新可否の問い合わせのメッセージを表示させ、ディプレイ内蔵のタッチパネル又は物理ボタンにて更新の可否を受け付ける。 If it is determined that it is time to update in step S102 (S102: YES), the processing unit 40 inquires of the owner or manager of the charging/discharging device 1 whether updating is possible (step 161). In step S161, the processing unit 40 causes the display of the operation unit 14 of the charging/discharging device 1 to display a message inquiring whether the update is possible or not, and accepts whether the update is possible or not by the touch panel or physical buttons incorporated in the display.

ステップS161において処理部40は、サーバ装置5へ、クライアント装置6に問い合わせのメッセージを送信するように指示してもよい。キャリア通信網N2との通信が可能であるから、直接的に、クライアント装置6へ、メッセージ(電子メール又はメッセージアプリ)を送信してもよい。またステップS151において処理部40は、記憶部43に予め書き換え可能に記憶しておいた所有者又は管理者のいずれに問い合わせるからの設定に基づいて実行するとよい。 In step S<b>161 , the processing unit 40 may instruct the server device 5 to send an inquiry message to the client device 6 . Since communication with the carrier communication network N2 is possible, a message (e-mail or message application) may be sent directly to the client device 6. FIG. Further, in step S151, the processing unit 40 may perform the processing based on the setting of whether to inquire of the owner or the administrator prestored in the storage unit 43 in a rewritable manner.

処理部40は、ステップS161の問い合わせに対して更新が可であるか否かを判断する(ステップS162)。ステップS162において処理部40は、充放電装置1から、操作部14にて可に対応するディスプレイ上のエリア、又は物理ボタンが選択された場合に、可と判断する。又は、クライアント装置6へのメッセージ(サーバ装置5から提供された通知画面)に対してクライアント装置6で受け付けられた操作が「可が選択」であった場合に、可と判断する。 The processing unit 40 determines whether updating is possible in response to the inquiry of step S161 (step S162). In step S<b>162 , the processing unit 40 determines yes when an area on the display corresponding to yes or a physical button is selected from the operation unit 14 of the charging/discharging device 1 . Alternatively, if the operation accepted by the client device 6 in response to the message to the client device 6 (notification screen provided from the server device 5) is "select yes", it is determined to be yes.

ステップS161及びステップS162の処理については、予め、問い合わせをせずに実行するか否かの設定を所有者又は管理者から受け付けて記憶部43に記憶しておき、問い合わせをせずに実行しない、ことが設定されている場合に実行されてもよい。 Regarding the processing of steps S161 and S162, a setting as to whether or not to execute without inquiry is received in advance from the owner or administrator and stored in the storage unit 43. may be executed if it is set.

ステップS162で更新が可と判断された場合(S162:YES)、処理部40は、ステップS104へ処理を進め、運転中であれば運転を停止させ(S104)、コネクタ15,35がロックされている場合にはロックを解除し(S105)、更新処理を実行する。処理部40は、更新前の状態(運転中であったか否か、ロック状態等)をメモリに記憶しておき、更新完了後に更新前の状態に復帰するとよい。運転が停止されている場合には停止したまま、上位装置29からの指示に基づく運転中であった場合には指示が来るまで待機状態へ、上位装置29からの指示に基づかずに充電中であった場合には充電を再開するとよい。 If it is determined in step S162 that the update is possible (S162: YES), the processing unit 40 advances the process to step S104, stops the operation if it is in operation (S104), and locks the connectors 15 and 35. If so, the lock is released (S105) and update processing is executed. It is preferable that the processing unit 40 stores the state before the update (whether or not the vehicle was in operation, the locked state, etc.) in the memory, and restores the state before the update after the update is completed. When the operation is stopped, it remains stopped, and when it is in operation based on the instruction from the host device 29, it is in the standby state until the instruction comes, and it is charging without based on the instruction from the host device 29. If so, you should restart charging.

ステップS152で更新が不可と判断された場合(S162:NO)、処理部40はプログラム更新処理をそのまま終了させる。 If it is determined in step S152 that the update is not possible (S162: NO), the processing unit 40 terminates the program update process as it is.

このように、運転停止中であっても更新の可否を所有者又は管理者へ問い合わせてから更新を行ない、所有者又は管理者が充電を行なうつもりだった等の個別の事情に合わせることも可能である。なお、更新不可が所定回数以上選択された場合に通信器4、又はサーバ装置5は、更新タイミングの変更を所有者又は管理者へ促すか、更新を勧めるメッセージを所有者又は管理者へ通知するようにしてもよい。 In this way, even if the vehicle is not in operation, it is possible to inquire of the owner or manager about whether or not the battery can be updated, and then perform the update. is. In addition, when the prohibition of update is selected more than a predetermined number of times, the communication device 4 or the server device 5 prompts the owner or administrator to change the update timing, or notifies the owner or administrator of a message recommending the update. You may do so.

(第3の実施形態)
更新後のプログラムでの稼働開始後に、エラーが発生した場合には、充放電を実施していた実績のある従来のコンピュータプログラム1Pに戻す。第3の実施形態における充放電システム200の構成は、以下に説明する処理内容が加えられる以外に第1の実施形態における構成と同様であるから、共通する構成に同一の符号を付して詳細な説明を省略する。
(Third embodiment)
If an error occurs after starting the operation with the updated program, the conventional computer program 1P with a proven track record of charging and discharging is restored. The configuration of the charging/discharging system 200 in the third embodiment is the same as the configuration in the first embodiment except that the processing contents described below are added. detailed description is omitted.

コンピュータプログラム1Pの更新が成功して充放電装置1における運転が再開された後、通信器4は、新たな更新プログラムに対するリクエストをサーバ装置5へ送信した後、以下に示す処理を継続的に、例えば充放電が行なわれる都度、実施する。 After the update of the computer program 1P is successful and the operation of the charging/discharging device 1 is resumed, the communication device 4 transmits a request for a new update program to the server device 5, and then continuously performs the following processing. For example, it is performed each time charging and discharging are performed.

図14は、通信器4におけるプログラム監視処理手順の一例を示すフローチャートである。処理部40は、充放電装置1における充放電でエラー発生を検知したか否かを判断する(ステップS201)。エラー発生を検知しないと判断された場合(S201:NO)、処理部40はそのまま処理を終了する。 FIG. 14 is a flow chart showing an example of a program monitoring processing procedure in the communication device 4. As shown in FIG. The processing unit 40 determines whether or not an error has been detected in charging/discharging in the charging/discharging device 1 (step S201). If it is determined that no error has occurred (S201: NO), the processing unit 40 ends the process.

ステップS201でエラー発生を検知したと判断された場合(S201:YES)、処理部40は、充放電を実行している充放電装置1の処理の元となるコンピュータプログラム1Pのバージョン情報を特定する(ステップS202)。処理部40は、充放電装置1の運転を停止(異常停止)させ(ステップS203)、コネクタ15及びコネクタ35の間のロックをOFFさせる(ステップS204)。 When it is determined that an error has occurred in step S201 (S201: YES), the processing unit 40 identifies the version information of the computer program 1P that is the source of the processing of the charging/discharging device 1 that is performing charging/discharging. (Step S202). The processing unit 40 stops the operation of the charging/discharging device 1 (abnormal stop) (step S203), and turns off the lock between the connector 15 and the connector 35 (step S204).

処理部40は、プログラム更新開始の通知を上位通信部16から上位装置29へ送信させる(ステップS205)。処理部40は、プログラム更新開始の通知メッセージを操作部14のディスプレイに表示させる(ステップS206)。 The processing unit 40 causes the host communication unit 16 to transmit a program update start notification to the host device 29 (step S205). The processing unit 40 displays a program update start notification message on the display of the operation unit 14 (step S206).

処理部40は、記憶部43に記憶してある充放電を正常に実施した実績のある従来のコンピュータプログラム1Pを読み出す(ステップS207)。処理部40は、読み出した従来のコンピュータプログラム1Pの再インストール(メモリへの書き込み)を開始する(ステップS208)。ステップS208の処理は具体的には、処理部40は、第2通信部42からFTPによってコンピュータプログラム1Pを充放電装置1へ送信する。 The processing unit 40 reads out the conventional computer program 1P that has a track record of performing charging and discharging normally, stored in the storage unit 43 (step S207). The processing unit 40 starts reinstalling (writing to the memory) the read conventional computer program 1P (step S208). Specifically, in the process of step S208, the processing unit 40 transmits the computer program 1P from the second communication unit 42 to the charging/discharging device 1 by FTP.

処理部40は、再インストールが完了したか否かを判断する(ステップS209)。ステップS209で再インストールが完了しないと判断された場合(S209:NO)、処理部40は処理をステップS209へ戻す。 The processing unit 40 determines whether the reinstallation is completed (step S209). If it is determined in step S209 that the reinstallation is not completed (S209: NO), the processing unit 40 returns the process to step S209.

ステップS209で再インストールが完了したと判断された場合(S209:YES)、処理部40は、プログラム更新完了の通知を上位通信部16から上位装置29へ送信させる(ステップS210)。処理部40は、プログラム更新完了の通知メッセージを操作部14のディスプレイに表示させる(ステップS211)。ステップS210及びS211において処理部40は、バージョン情報を対応付けて送信し、従来のコンピュータプログラム1Pの書き込みが完了したことを送信、表示させてもよい。ステップS210及びステップS211では、処理部40は、書き込みが完了したところで(S209:YES)、制御部11へ起動(boot)指示を送って実現する。 If it is determined in step S209 that the reinstallation has been completed (S209: YES), the processing unit 40 causes the host communication unit 16 to transmit a program update completion notification to the host device 29 (step S210). The processing unit 40 displays a program update completion notification message on the display of the operation unit 14 (step S211). In steps S210 and S211, the processing unit 40 may transmit the version information in association with it, and transmit and display that the writing of the conventional computer program 1P is completed. In steps S210 and S211, when the writing is completed (S209: YES), the processing unit 40 sends a boot instruction to the control unit 11 to implement.

処理部40は、上位装置29からの制御を受けて充放電を実施するため、充放電装置1にてコネクタ15及びコネクタ35のロックをONとさせる(ステップS212)。処理部40は、車両Vの車載充放電制御装置32との間の通信接続を確立させ(ステップS213)、待機状態とさせる。 In order to carry out charging/discharging under the control of the host device 29, the processing unit 40 turns on the locking of the connector 15 and the connector 35 in the charging/discharging device 1 (step S212). The processing unit 40 establishes a communication connection with the in-vehicle charge/discharge control device 32 of the vehicle V (step S213) and puts it in a standby state.

処理部40は、サーバ装置5へ、ステップS202で特定したエラー発生が検知されたコンピュータプログラム1Pのバージョン情報と、再インストールした従来のコンピュータプログラム1Pのバージョン情報とを含む、再インストール完了通知を送信する(ステップS214)。処理部40は、インストールの履歴ログを記憶し(ステップS215)、処理を終了する。 The processing unit 40 transmits to the server device 5 a reinstallation completion notification including the version information of the computer program 1P in which the occurrence of the error identified in step S202 is detected and the version information of the reinstalled conventional computer program 1P. (step S214). The processing unit 40 stores the installation history log (step S215), and terminates the process.

これにより、最新のコンピュータプログラム1Pv1に更新された充放電装置1にて、最新のコンピュータプログラム1Pに基づく支障、又は個別の事象でエラーが発生し、充放電ができなかった場合に、従来のコンピュータプログラム1Pv0に戻して充放電を継続することができる。 As a result, in the charging/discharging device 1 updated to the latest computer program 1Pv1, if a problem based on the latest computer program 1P or an error occurs due to an individual event and charging/discharging cannot be performed, the conventional computer It is possible to return to program 1Pv0 and continue charging and discharging.

サーバ装置5では、複数の通信器4から、不具合の発生の通知を受信した場合、サーバ装置5の管理者へ通知して、更新されたコンピュータプログラム1Pの検証をさせることができる。 When the server device 5 receives notification of the occurrence of a problem from a plurality of communication devices 4, it can be notified to the administrator of the server device 5 to verify the updated computer program 1P.

(第4の実施形態)
第4の実施形態では、通信器4がデータを収集してサーバ装置5へ送る。第4の実施形態における充放電システム200の構成は、以下に説明する処理内容が加えられる以外に第1の実施形態における構成と同様であるから、共通する構成に同一の符号を付して詳細な説明を省略する。
(Fourth embodiment)
In the fourth embodiment, the communication device 4 collects data and sends it to the server device 5 . The configuration of the charging/discharging system 200 in the fourth embodiment is the same as the configuration in the first embodiment except that the processing contents described below are added. detailed description is omitted.

図15は、第4の実施形態における通信器4によるデータ送信処理手順の一例を示すフローチャートである。通信器4は、充放電装置1から電力の供給を受けて起動している間、継続的に以下の処理手順を実行してもよいし、1日に1度、1週間に1度等、予め設定されたタイミングで以下の処理手順を実行してもよい。以下のフローチャートに示す処理手順は、通信器3ではなく充放電装置1の制御部11が主体的に実行してもよい。 FIG. 15 is a flow chart showing an example of a data transmission processing procedure by the communication device 4 according to the fourth embodiment. The communication device 4 may continuously execute the following processing procedure while being activated by being supplied with power from the charging/discharging device 1, or once a day, once a week, or the like. The following processing procedures may be executed at preset timings. The processing procedure shown in the following flow chart may be executed independently by the control unit 11 of the charging/discharging device 1 instead of by the communication device 3 .

通信器4の処理部40は、充放電装置1が運転を開始したか否かを判断する(ステップS301)。ステップS301で運転が開始されないと判断された場合(S301:NO)、処理部40は、処理をステップS301へ戻して運転が開始されるまで待機する。 The processing unit 40 of the communication device 4 determines whether or not the charging/discharging device 1 has started operation (step S301). When it is determined in step S301 that the operation is not started (S301: NO), the processing unit 40 returns the process to step S301 and waits until the operation is started.

運転を開始したと判断された場合(S301:YES)、処理部40は、充電であるか放電であるかを特定し(ステップS302)、充放電が切り替わったか否かを判断する(ステップS303)。充放電が切り替わっていないと判断された場合(S303:NO)、処理部40は、運転が停止したか否かを判断する(ステップS304)。 When it is determined that the operation has started (S301: YES), the processing unit 40 specifies whether it is charging or discharging (step S302), and determines whether charging/discharging has been switched (step S303). . When it is determined that charging and discharging are not switched (S303: NO), the processing unit 40 determines whether or not the operation has stopped (step S304).

運転が停止していないと判断された場合(S304:NO)、処理部40は、充電又は放電が実行されている間の、充放電装置1の運転状態のデータを充放電装置1から取得し、記憶する(ステップS305)。ステップS305において処理部40は、充放電回路10におけるファンの回転数等、電力等を取得する。処理部40は、処理をステップS303へ戻す。 If it is determined that the operation is not stopped (S304: NO), the processing unit 40 acquires data on the operating state of the charging/discharging device 1 from the charging/discharging device 1 while charging or discharging is being performed. , is stored (step S305). In step S<b>305 , the processing unit 40 acquires power such as the number of revolutions of the fan in the charging/discharging circuit 10 . The processing unit 40 returns the processing to step S303.

充放電が切り替わったと判断された場合(S303:YES)、処理部40は、それまで実行されていた充電又は放電の時間を特定し、記憶する(ステップS306)。処理部40は、ステップS305へ進める。 When it is determined that charging and discharging have switched (S303: YES), the processing unit 40 identifies and stores the charging or discharging time that has been performed so far (step S306). The processing unit 40 proceeds to step S305.

運転が停止したと判断された場合(S304:YES)、処理部40は、その運転の開始から終了までの充放電装置の運転に関して記憶したデータを、サーバ装置5へ、充放電装置1を識別するデータ(通信器4の識別データ)と対応付けて送信する(ステップS307)。データ送信後、処理部40は、処理を終了する。 When it is determined that the operation has stopped (S304: YES), the processing unit 40 transmits the stored data regarding the operation of the charging/discharging device from the start to the end of the operation to the server device 5 to identify the charging/discharging device 1. data (identification data of the communication device 4) to be transmitted (step S307). After transmitting the data, the processing unit 40 ends the processing.

このようにして、通信器4を充放電装置1に加えることによって、充放電のデータを集めてサーバ装置5へ送信し、収集させることができる。充放電装置1の稼動状態を示すファンの回転数等のデータをサーバ装置5へ送信することにより、サーバ装置5では、各充放電装置1の稼動履歴を時系列に観察するデータを作成することができる。充放電装置1の予防保全のために、これらのデータを充放電装置1の所有者、管理者、又は保守担当者が確認できる。 By adding the communication device 4 to the charging/discharging device 1 in this manner, charging/discharging data can be collected and transmitted to the server device 5 for collection. By transmitting data such as the number of revolutions of the fan indicating the operating state of the charging/discharging device 1 to the server device 5, the server device 5 creates data for observing the operation history of each charging/discharging device 1 in chronological order. can be done. For preventive maintenance of the charging/discharging device 1, the owner, administrator, or maintenance staff of the charging/discharging device 1 can confirm these data.

充放電装置1のプログラム更新のために保守作業者が現地へ赴く必要がないばかりでなく、充放電装置1の故障が予見される場合のみに保守作業者が充放電装置1の設置場所へ赴けばよい、といった保守作業の効率化を図ることができる。 Maintenance workers do not need to go to the site to update the program of charging/discharging device 1, and maintenance workers can visit the installation location of charging/discharging device 1 only when a failure of charging/discharging device 1 is foreseen. It is possible to improve the efficiency of the maintenance work such as "just do it".

充放電装置1における運転状態のデータがサーバ装置5で収集できることにより、不特定多数の車両Vが接続される充放電装置1の運転状況の特性等を分析するなどして、V2Xの的確な運転、最適化に必要なデータ等を利活用することが期待される。 Since the data of the operating state of the charging/discharging device 1 can be collected by the server device 5, it is possible to analyze the characteristics of the operating situation of the charging/discharging device 1 to which an unspecified number of vehicles V are connected. , it is expected that the data necessary for optimization will be utilized.

また、通信器4に環境データ(温度、湿度、天候等)を取得するセンサを備え、これらのセンサで取得できるデータを、充放電装置1の稼動データと共にサーバ装置5へ送信してもよい。充放電装置1は不特定多数の車両Vが接続される。車両Vの車種を各々識別できる場合には、車種毎に充放電における運転状況を示すデータをサーバ装置5で収集してもよい。充放電装置1の充放電のデータと各種センサとを対応付けてサーバ装置5で収集できることにより、V2Xの適格な運転、最適化に必要なデータの利活用が期待できる。 Further, the communication device 4 may be provided with sensors for acquiring environmental data (temperature, humidity, weather, etc.), and the data acquired by these sensors may be transmitted to the server device 5 together with the operation data of the charging/discharging device 1 . An unspecified number of vehicles V are connected to the charging/discharging device 1 . If each vehicle type of the vehicle V can be identified, the server device 5 may collect data indicating driving conditions in charging and discharging for each vehicle type. By enabling the server device 5 to collect the charging/discharging data of the charging/discharging device 1 and various sensors in association with each other, it is expected that the data required for proper operation and optimization of V2X will be utilized.

(第5の実施形態)
第5の実施形態では、通信器4は、複数の充放電装置1に対して処理を実行する。図16は、第2の実施形態における充放電システム200の概要図である。
(Fifth embodiment)
In the fifth embodiment, the communication device 4 performs processing on multiple charging/discharging devices 1 . FIG. 16 is a schematic diagram of a charging/discharging system 200 in the second embodiment.

図16に示すように、第5の実施形態では、通信器4は、同一の場所、施設に設置されている複数の充放電装置1に対して1つで、プログラムの更新を実行してもよい。この場合、充放電装置1は、有線又は無線を介し、各々のサーバ通信部17によって、同一の通信器4に接続される。充放電装置1及び通信器4自体の構成は、第1の実施形態と同様であるから、同一の符号を付して詳細な説明を省略する。 As shown in FIG. 16, in the fifth embodiment, one communicator 4 is provided for a plurality of charging/discharging devices 1 installed in the same facility at the same location, even if the program is updated. good. In this case, the charging/discharging device 1 is connected to the same communication device 4 by each server communication unit 17 via wire or wireless. Since the configurations of the charging/discharging device 1 and the communication device 4 themselves are the same as those of the first embodiment, they are denoted by the same reference numerals and detailed description thereof is omitted.

通信器4はゲートウェイとして機能するから、第5の実施形態では、複数の充放電装置1を各々識別データで識別することによって、第1の実施形態と同様の処理を実行することが可能である。通信器4は、第1の実施形態に示した図4及び図5のフローチャートに示した処理手順を、複数の充放電装置1に対し、順次又は並行的に実行すればよい。 Since the communication device 4 functions as a gateway, in the fifth embodiment, it is possible to perform the same processing as in the first embodiment by identifying each of the plurality of charging/discharging devices 1 with identification data. . The communication device 4 may execute the processing procedure shown in the flowcharts of FIGS. 4 and 5 of the first embodiment for the plurality of charging/discharging devices 1 sequentially or in parallel.

複数の充放電装置1に対して1つの通信器4とすることによって、通信器4の数を最小限に抑えてコストを低減させることができる。第5の実施形態でも、第2~第4の実施形態に示したような処理が実行できる。複数の充放電装置1の内のいずれか1つをマスタとし、マスタの充放電装置1に対する更新タイミングの設定を基準に、他の充放電装置1へ適用してもよい。マスタの充放電装置1でエラー発生が検知された場合には、同一箇所に設置されている複数の充放電装置1へ、従来のコンピュータプログラム1Pを再インストールするなどの制御を行なってもよい。 By using one communication device 4 for a plurality of charging/discharging devices 1, the number of communication devices 4 can be minimized and the cost can be reduced. The processing shown in the second to fourth embodiments can also be executed in the fifth embodiment. Any one of the plurality of charging/discharging devices 1 may be set as a master, and the update timing setting for the master charging/discharging device 1 may be applied to the other charging/discharging devices 1 . When the occurrence of an error is detected in the master charging/discharging device 1, control such as re-installation of the conventional computer program 1P to a plurality of charging/discharging devices 1 installed at the same location may be performed.

同一の場所又は施設に設置された複数の充放電装置1に対し、第4の実施形態に示したように、データを収集してもよい。同一の場所又は施設毎にデータを収集することによって使用環境による電力の需要供給に応じた適切な充放電制御に利活用することが期待される。 Data may be collected for a plurality of charging/discharging devices 1 installed at the same place or facility, as shown in the fourth embodiment. It is expected that the collection of data at the same place or facility will be utilized for appropriate charge/discharge control according to the demand and supply of electric power according to the usage environment.

上述のように開示された実施の形態は全ての点で例示であって、制限的なものではない。本発明の範囲は、特許請求の範囲によって示され、特許請求の範囲と均等の意味及び範囲内での全ての変更が含まれる。 The embodiments disclosed as described above are illustrative in all respects and are not restrictive. The scope of the present invention is indicated by the scope of claims, and includes all modifications within the meaning and scope of equivalence to the scope of claims.

1 充放電装置
10 充放電回路
11 制御部
12 車両通信部
14 操作部
16 上位通信部
1P コンピュータプログラム
V 車両
29 上位装置
4 通信器(更新処理部)
40 処理部
43 記憶部
4P 制御プログラム
5 サーバ装置
6 クライアント装置
REFERENCE SIGNS LIST 1 charge/discharge device 10 charge/discharge circuit 11 control unit 12 vehicle communication unit 14 operation unit 16 host communication unit 1P computer program V vehicle 29 host device 4 communication device (update processing unit)
40 processing unit 43 storage unit 4P control program 5 server device 6 client device

Claims (13)

商用電源又は直流電力網と電力線を介して接続されており、車両に設けられた車載蓄電池と接続する車載電力線とのコネクタを有し、前記車載蓄電池への充放電を制御する充放電装置において、
通信網を介した通信を実行する通信部と、
充放電の制御に係るコンピュータプログラムを書き換え可能に記憶する記憶部と、
前記コンピュータプログラムの更新を実行する更新処理部と
を備え、
前記更新処理部は、
前記通信部から更新されたコンピュータプログラムを受信し、
該充放電装置が充放電の運転中である場合、充放電の運転を停止させ、
運転停止後に、受信済みのコンピュータプログラムで前記記憶部のコンピュータプログラムを書き換える
充放電装置。
A charging/discharging device that is connected to a commercial power source or a DC power network via a power line, has a connector with an on-vehicle power line that connects to an on-vehicle storage battery provided in a vehicle, and controls charging and discharging of the on-vehicle storage battery,
a communication unit that performs communication via a communication network;
a storage unit that rewritably stores a computer program related to charge/discharge control;
an update processing unit that updates the computer program,
The update processing unit
receiving an updated computer program from the communication unit;
When the charging/discharging device is in charge/discharge operation, stopping the charge/discharge operation;
A charging/discharging device that rewrites the computer program in the storage unit with the received computer program after the operation is stopped.
更新前のコンピュータプログラムを退避させる退避用記憶部を備え、
前記更新処理部は、
前記記憶部の書き換え前のコンピュータプログラムで、充放電の制御が実行されていた場合、前記退避用記憶部に退避させてから、書き換えを実行する
請求項1に記載の充放電装置。
Equipped with a save storage unit for saving the computer program before update,
The update processing unit
2. The charging/discharging device according to claim 1, wherein when charging/discharging control has been executed in the computer program before rewriting of the storage unit, the program is saved in the saving storage unit and then rewritten.
書き換え後のコンピュータプログラムに基づく充放電の制御でエラーが発生したか否かを判断し、
エラーが発生したと判断された場合、充放電の運転を停止させ、
前記退避用記憶部に退避させてある更新前のコンピュータプログラムで、前記記憶部のコンピュータプログラムを書き換える
請求項2に記載の充放電装置。
Determining whether an error has occurred in the control of charging and discharging based on the rewritten computer program,
If it is determined that an error has occurred, the charging/discharging operation is stopped,
The charging/discharging device according to claim 2, wherein the computer program stored in the storage unit is rewritten with the pre-update computer program stored in the storage storage unit.
前記更新処理部は、コンピュータプログラムの書き換えが完了した後に、停止させていた運転を再開させる
請求項1から請求項3のいずれか1項に記載の充放電装置。
4. The charging/discharging device according to any one of claims 1 to 3, wherein the update processing unit restarts the stopped operation after rewriting of the computer program is completed.
前記更新処理部は、
前記商用電源又は直流電力網からの電力供給が停止しているか否かを判断し、
停止していると判断された場合、前記電力供給が回復するまで、受信済みの更新されたコンピュータプログラムによる更新を待機する
請求項1から請求項4のいずれか1項に記載の充放電装置。
The update processing unit
Determining whether the power supply from the commercial power source or the DC power grid has stopped,
5. The charging/discharging device according to any one of claims 1 to 4, wherein, when it is determined that the charging/discharging device has stopped, the update by the received updated computer program is waited until the power supply is restored.
前記更新処理部は、
前記商用電源又は直流電力網からの電力供給が停止しているか否かを判断し、
停止していると判断された場合、更新されたコンピュータプログラムを受信済みであっても更新を不可とする
請求項1から請求項4のいずれか1項に記載の充放電装置。
The update processing unit
Determining whether the power supply from the commercial power source or the DC power grid has stopped,
5. The charging/discharging device according to any one of claims 1 to 4, wherein when it is determined that the computer program has stopped, updating is prohibited even if an updated computer program has been received.
前記商用電源又は直流電力網からの電力供給が停止している場合、前記車載蓄電池からの放電中であるか否かを判断し、
放電中であると判断された場合、更新を不可とし、
放電中でないと判断された場合、更新を実行する
請求項6に記載の充放電装置。
When the power supply from the commercial power supply or the DC power network is stopped, determining whether or not the on-vehicle storage battery is discharging,
If it is determined that it is discharging, it will not be possible to update,
The charging/discharging device according to claim 6, wherein updating is performed when it is determined that the battery is not being discharged.
前記更新処理部は、
前記通信部から更新されたコンピュータプログラムを受信した場合、更新可否を受け付け、
更新可が受け付けられた場合に、充放電の運転を停止して書き換えを実行する
請求項1から請求項7のいずれか1項に記載の充放電装置。
The update processing unit
When receiving an updated computer program from the communication unit, accepting whether the update is possible,
8. The charging/discharging device according to any one of claims 1 to 7, wherein, when update is accepted, charging/discharging operation is stopped and rewriting is executed.
前記更新処理部は、
該充放電装置の運転状態に関するデータを取得し、
取得したデータを、前記通信部から送信する
請求項1から請求項8のいずれか1項に記載の充放電装置。
The update processing unit
Acquiring data on the operating state of the charging/discharging device,
The charge/discharge device according to any one of claims 1 to 8, wherein the acquired data is transmitted from the communication unit.
商用電源又は直流電力網と電力線を介して接続されており、車両に設けられた車載蓄電池と接続する車載電力線とのコネクタを有し、前記車載蓄電池への充放電を制御する充放電装置と、充放電装置に通信接続される通信器とを含み、
前記通信器は、
通信網を介した通信を実行する通信部と、
前記充放電装置の制御に係るコンピュータプログラムを書き換え可能に記憶する記憶部と、
前記コンピュータプログラムの更新を実行する更新処理部と
を備え、
前記更新処理部は、
前記通信部から更新されたコンピュータプログラムを受信し、
前記充放電装置が充放電の運転中である場合、充放電の運転を停止させ、
運転停止後に、受信済みのコンピュータプログラムで前記充放電装置の制御に係るコンピュータプログラムを書き換える
充放電制御システム。
a charging/discharging device that is connected to a commercial power source or a DC power network via a power line, has a connector with an on-vehicle power line that connects to an on-vehicle storage battery provided in a vehicle, and controls charging and discharging of the on-vehicle storage battery; a communication device communicatively connected to the discharge device;
The communicator is
a communication unit that performs communication via a communication network;
a storage unit that rewritably stores a computer program for controlling the charging/discharging device;
an update processing unit that updates the computer program,
The update processing unit
receiving an updated computer program from the communication unit;
When the charging/discharging device is in charge/discharge operation, stopping the charge/discharge operation;
A charge/discharge control system that rewrites a computer program related to control of the charge/discharge device with a received computer program after operation is stopped.
前記通信器は、複数の前記充放電装置と通信接続されており、
前記通信器は、
複数の前記充放電装置に対し、順次又は並行的に、受信済みのコンピュータプログラムによるプログラムの書き換えを実行する
請求項10に記載の充放電制御システム。
The communication device is connected for communication with a plurality of the charging/discharging devices,
The communicator is
11. The charging/discharging control system according to claim 10, wherein rewriting of a program by a received computer program is executed sequentially or in parallel for the plurality of charging/discharging devices.
商用電源又は直流電力網と電力線を介して接続されており、車両に設けられた車載蓄電池と接続する車載電力線とのコネクタを有して、前記車載蓄電池における充放電を制御する充放電装置のプログラムを書き換える方法であって、
通信網を介した通信を実行する通信部によって更新されたコンピュータプログラムを受信し、
前記充放電装置が充放電の運転中である場合、充放電の運転を停止させ、
運転停止後に、受信済みのコンピュータプログラムで、充放電の制御に係るコンピュータプログラムを書き換える
処理を含むプログラム書き換え方法。
A program for a charging/discharging device that is connected to a commercial power source or a DC power network via a power line, has a connector for an on-vehicle power line that connects to an on-vehicle storage battery provided in a vehicle, and controls charging and discharging in the on-vehicle storage battery. A method of rewriting,
receiving a computer program updated by a communication unit that performs communication over a communication network;
When the charging/discharging device is in charge/discharge operation, stopping the charge/discharge operation;
A program rewriting method including a process of rewriting a computer program related to charge/discharge control with a received computer program after operation is stopped.
商用電源又は直流電力網と電力線を介して接続されており、車両に設けられた車載蓄電池と接続する車載電力線とのコネクタを有した充放電装置のコンピュータに、
通信網を介した通信を実行する通信部によって更新されたコンピュータプログラムを受信し、
前記充放電装置が充放電の運転中である場合、充放電の運転を停止させ、
運転停止後に、受信済みのコンピュータプログラムで、充放電の制御に係るコンピュータプログラムを書き換える
処理を実行させるコンピュータプログラム。
A computer of a charging/discharging device connected to a commercial power supply or a DC power network via a power line and having a connector for an on-vehicle power line that connects to an on-vehicle storage battery provided in a vehicle,
receiving a computer program updated by a communication unit that performs communication over a communication network;
When the charging/discharging device is in charge/discharge operation, stopping the charge/discharge operation;
A computer program that rewrites a computer program related to charge/discharge control with a computer program that has already been received after operation is stopped.
JP2021013464A 2021-01-29 2021-01-29 Charge/discharge device, charge/discharge system, program rewriting method, and computer program Pending JP2022117007A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021013464A JP2022117007A (en) 2021-01-29 2021-01-29 Charge/discharge device, charge/discharge system, program rewriting method, and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021013464A JP2022117007A (en) 2021-01-29 2021-01-29 Charge/discharge device, charge/discharge system, program rewriting method, and computer program

Publications (1)

Publication Number Publication Date
JP2022117007A true JP2022117007A (en) 2022-08-10

Family

ID=82749931

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021013464A Pending JP2022117007A (en) 2021-01-29 2021-01-29 Charge/discharge device, charge/discharge system, program rewriting method, and computer program

Country Status (1)

Country Link
JP (1) JP2022117007A (en)

Similar Documents

Publication Publication Date Title
CN107531198B (en) Program rewriting device and program rewriting method
CN104978217B (en) Smart vehicle refresh with battery SOC estimator
CN112134926B (en) Vehicle-mounted equipment upgrading system and method
WO2018025685A1 (en) On-board update device, on-board update system, and communication device update method
US20180191866A1 (en) On-Vehicle Control Device and On-Vehicle Control Device Information Update System
US8874945B2 (en) Construction equipment remote control system and method for controlling data transmission/reception while the construction equipment is in engine-off state
CN103019759A (en) Vehicle upgrade system and method thereof
JP2017157004A (en) System, method, and computer program for updating programs
US7054728B2 (en) Rewrite control apparatus for onboard program
CN112770940A (en) Vehicle-mounted updating device, update processing program, program updating method, and vehicle-mounted updating system
KR20080085934A (en) Remote management system having automatic update function
CN113168382A (en) Monitoring device, monitoring program, and monitoring method
JP2014029619A (en) Control system and program update method
JP4487007B2 (en) In-vehicle program rewrite control system
US10237131B2 (en) Communication adapter and program update method for communication adapter
CN107707405A (en) The method and its remote control that intelligent closestool firmware remotely updates are realized by remote control
JP2022117007A (en) Charge/discharge device, charge/discharge system, program rewriting method, and computer program
CN114460913A (en) ECU management method on vehicle, ECU and readable storage medium
JP2004210183A (en) In-vehicle program rewrite control device
CN112532418A (en) Charging equipment of electric transportation tool and automatic fault removing method thereof
US11442720B2 (en) Communication adapter and program update method for communication adapter
CN111610981A (en) BMS board online writing method and device
JP2019214353A (en) Communication device and control method
KR101008542B1 (en) Server switching controller
CN113366803B (en) In-vehicle communication device, storage medium, and communication method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20231026