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 PDFInfo
- 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
Links
Images
Abstract
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.
充放電装置は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.
本開示をその実施の形態を示す図面を参照して具体的に説明する。 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
上位装置29は、電力系統Eからの蓄電装置22、車両Vへの電力の授受、及び、発電装置23から蓄電装置22又は車両Vへの電力授受を制御する。第1の実施形態において上位装置29は、サーバ装置として外部に設けられ、地域の電力の授受を制御するものとして説明するが、分電盤28に設置されて駐車場及び駐車場に設置された蓄電装置22、発電装置23における発電充放電を制御するものであってもよい。上位装置29は、各充放電装置1に内蔵される上位制御装置であってもよい。
The
充放電装置1は、家庭に設置されて車両Vへの充放電を上位装置29からの制御によって実施するものであってもよい。
The charging/discharging
図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
車両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
充放電装置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
制御部11は、充放電回路10に含まれる回路素子を制御し、車両Vの蓄電装置30に対する充放電の切り替え、電流量、及び電圧量を制御する。制御部11はCPU(Central Processing Unit)及び不揮発性メモリを含み、CPUは不揮発性メモリに記憶されたコンピュータプログラム1Pに基づく制御処理を実行して充放電回路10を制御する。
The control unit 11 controls circuit elements included in the charging/discharging
制御部11の不揮発性メモリに記憶されているコンピュータプログラム1Pは、コンピュータから読み取り可能な記憶媒体8に記憶されていたコンピュータプログラム8PをCPUが読み出してメモリに記憶したものであってもよい。
The computer program 1P stored in the nonvolatile memory of the control unit 11 may be the
車両通信部12は、コネクタ15及びコネクタ35を介して車載充放電制御装置32と通信接続が可能である。車両通信部12の通信接続のプロトコルは車両V、コネクタ15,35に対応する充放電方式に準拠していればよく、異なる充放電方式に適用するように複数のプロトコルに対応していずれかを選択的に実行できてもよい。本実施形態では車両通信部12は、CAN(Controller Area Network)によって車載充放電制御装置32と通信する。PLCによって通信が実現されてもよい。
The
電源部13は、UPS(Uninterruptible Power Systems)回路及び起動用蓄電池を含み、制御部11へ電力を供給する。電源部13は、停電時には起動用蓄電池から充放電装置1の起動に必要な電力を供給する。電源部13は、電力系統E、発電装置23又は車両Vからの電力を起動用蓄電池に充電してもよい。
The
操作部14は、ディスプレイ、ディスプレイ内蔵タッチパネル、及び物理ボタンを含み、充放電装置1の外装に露出してユーザからのSTART(起動)及びSTOP(終了)を含む操作を受け付ける。制御部11は、操作部14にて受け付けられた操作に基づいて充放電回路10を制御してもよい。操作部14は、ランプを含み、状態に応じた色又はパターンで点灯するように制御部11によって制御される。
The
上位通信部16は、上位装置29と通信線CLを介して通信を実現する。上位通信部16は例えば、Ethernet(登録商標)に準拠した通信線CLに対応する通信モジュールであってもよいし、ECHONET /ECHONETLite (登録商標)対応の通信線CLに対応する通信モジュールであってもよい。上位通信部16は、PLCにより通信を実現してもよい。
The
サーバ通信部17は、通信器4との通信接続が可能である。サーバ通信部17は、例えばEthernet(登録商標)に準拠した通信モジュールである。サーバ通信部17は、有線によって通信器4と接続される。サーバ通信部17は、無線通信モジュールであってもよい。制御部11は、サーバ通信部17を介して通信器4と通信接続が可能である。サーバ通信部17は、上位通信部16と同一の通信モジュールであって、異なるポートで通信接続相手が分別されてもよい。
The
上述のように構成される充放電装置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
図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
処理部40はCPUを含み、記憶部43に記憶してある制御プログラム4Pに基づく制御処理を実行し、サーバ装置5と充放電装置1との間のデータの送受信を仲介する。
The
記憶部43は、フラッシュメモリ又はSSD(Solid State Drive)等の不揮発性メモリである。記憶部43は、処理部40が通信器4自身の制御のために読み出す制御プログラム4Pを記憶するほか、サーバ装置5から受信する充放電装置1向けのコンピュータプログラム1P,1P,…を記憶する。制御プログラム4Pは、コンピュータから読み取り可能な記憶媒体9に記憶されていた制御プログラム9PをCPUが読み出してメモリに記憶したものであってもよい。
The
記憶部43には、プログラムの更新タイミングが書き換え可能に記憶される。更新タイミングは例えば指定された時間帯であって、充放電が行なわれないことが予想される午前2時から午前4時まで等であってもよい。更新タイミングは、時間帯の設定値のみならず、充放電装置1の状態に応じた設定値であってもよい。
The
第1通信部41は、公衆通信網Nを介したサーバ装置5との通信接続を実現する通信モジュールである。第1通信部41は、具体的にはキャリア通信網N2へ通信接続する無線通信モジュールである。処理部40は、第1通信部41により、キャリア通信網N2及び公衆通信網Nを介してサーバ装置5と通信接続が可能である。
The
第2通信部42は、充放電装置1との通信を実現する通信モジュールである。第2通信部42は、例えばEthernet(登録商標)に準拠した通信モジュールである。第2通信部42は、有線によって充放電装置1のサーバ通信部17と接続される。第2通信部42は、無線通信モジュールであってもよい。
The
サーバ装置5は、充放電装置1のメーカ又は保守点検を実施する事業者によって管理されている。サーバ装置5は、充放電装置1向けのコンピュータプログラム1Pを記憶しており、適宜更新する。サーバ装置5は、1台のサーバコンピュータで実現されてもよいが、複数のコンピュータで分散されて実現されてもよい。サーバ装置5は、公衆通信網N及びキャリア通信網N2を介して通信器4及びクライアント装置6と通信接続が可能である。サーバ装置5は、Webブラウザ経由のインタフェースを有してクラウドサーバとして機能してもよい。
The
クライアント装置6は、充放電装置1の所有者又は管理者が使用する通信端末装置である。クライアント装置6は例えばスマートフォンである。クライアント装置6は、処理部60、記憶部61、通信部62、表示部63及び操作部64を備える。
The
処理部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
通信部62は、公衆通信網N又はキャリア通信網N2に通信接続するための通信モジュールである。通信部62は、例えば無線通信モジュールである。
The
表示部63は、液晶ディスプレイ、有機EL(Electro Luminescence)ディスプレイ等のディスプレイである。表示部63は、操作画面を表示する。表示部63は、タッチパネル内蔵型ディスプレイであってもよい。
The
操作部64は、処理部60との間で入出力が可能なユーザインタフェースである。操作部64は例えば、表示部63に内蔵されるタッチパネルである。操作部64は、物理ボタンであってもよい。操作部64は、音声入力部であってもよい。操作部64は、ユーザによる操作データを処理部60へ通知する。
The
このように構成される充放電システム200では、充放電装置1向けのコンピュータプログラム1Pが更新されると、サーバ装置5に更新情報と共に更新後のコンピュータプログラム1Pが記憶され、各充放電装置1へ配信可能な状態となる。以下、説明を容易にするため、より新しいプログラムの符号「1P」に、アルファベット「 v」と、より大きい数字とを付加して表す。
In the charging/discharging
充放電装置1は、通信器4により、以下のフローチャートに示す処理手順でコンピュータプログラム1Pの更新を実行する。図4及び図5は、充放電装置1のプログラム更新手順の一例を示すフローチャートである。制御部11は、起動中に以下の処理を継続して実行する。
The charging/discharging
処理部40は、通信器4にて、更新されたコンピュータプログラム1Pが受信済みか否かを判断する(ステップS101)。
The
通信器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
ステップ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
ステップ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
ステップS102で、更新タイミングでないと判断された場合(S102:NO)、処理部40は、処理をステップS102へ戻し、更新可能タイミングであると判断されるまで待機する。
In step S102, if it is determined that it is not the update timing (S102: NO), the
ステップ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
ステップS103で運転中でないと判断された場合(S103:NO)、停止処理が不要であるから、処理部40は、処理をステップS105へ進める。なおステップS103で運転中であるか否かの判断を省略し、停止しているか否かに拘わらず停止させる処理(S104)を実行してもよい。
If it is determined in step S103 that the vehicle is not in operation (S103: NO), the
処理部40は、プログラム更新開始の通知を上位通信部16から上位装置29へ送信させる(ステップS106)。処理部40は、プログラム更新開始の通知メッセージを操作部14のディスプレイに表示させる(ステップS107)。
The
ステップS104-S107の処理は、処理部40から充放電装置1の制御部11へ、プログラムの更新を開始する通知を行なうと、制御部11によって実行される。制御部11は、サーバ通信部17によって通知を受けると、更新処理を開始する。制御部11は、メモリに更新タイミングを記憶しておき、更新タイミングが到来した場合には自律的に充放電の運転を停止し、更新のための処理を開始してもよい。
The processing of steps S104 to S107 is executed by control unit 11 when processing
以後、充放電装置1の操作部14では、プログラム更新中を示す出力をするとよい。操作部14のディスプレイに「更新中」のメッセージを表示させるか、操作部14のランプを点滅させてもよい。処理部40は、サーバ装置5を介してクライアント装置6へプログラム更新開始を通知してもよい。以後、プログラム更新完了又はプログラム更新失敗の通知を受けるまで、サーバ装置5では更新中の状態を保持する。サーバ装置5は、クライアント装置6から状態取得がリクエストされた場合に、表示部63にプログラム更新中の状態を示す画像及び/又はテキストが表示されてもよい。
After that, the
処理部40は、従来、充放電を正常に実施した実績のある従来のコンピュータプログラム1Pを記憶部43に退避させる(ステップS108)。ステップS108において処理部40は、従来のコンピュータプログラム1Pの内の最も新しいコンピュータプログラム1Pを記憶しておいてもよいし、更新されたコンピュータプログラム1Pを複数世代にわたって、バージョン情報と対応付けて記憶しておいてもよい。
The
処理部40は、更新された新たなコンピュータプログラム1Pのインストール(メモリへの書き込み)を開始する(ステップS109)。ステップS109の処理は具体的には、処理部40は、第2通信部42からFTP(File Transfer Protocol)によってコンピュータプログラム1Pを充放電装置1へ送信する。
The
処理部40は、書き込み中にフォーマット異常を検知したか否かを判断する(ステップS110)。フォーマット異常を検知しないと判断された場合(S110:NO)、処理部40は、書き込みが完了したか否かを判断する(ステップS111)。ステップS111で書き込みが完了しないと判断された場合(S111:NO)、処理部40は処理をステップS110へ戻す。
The
ステップ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
ステップS112及びステップS113において処理部40は、書き込みが完了したところで、制御部11へ起動(boot)指示を送る。起動した制御部11は、新たなコンピュータプログラム1Pを正常に起動できた場合に、プログラム更新完了の通知を上位装置29へ、並びに操作部14へのディスプレイへ表示する。
In steps S112 and S113, the
処理部40は、サーバ装置5へ、インストールの完了を、充放電装置1の識別データ(又は通信器4のアドレス等の識別データ)を対応付けて通知する(ステップS115)。ステップS115において処理部40は、インストール完了したコンピュータプログラム1Pのバージョン情報を共に送信してもよい。これにより、サーバ装置5は、充放電装置1の識別データに対応付けて記憶されている所有者又は管理者のクライアント装置6あての通知ページ又は通知メッセージを送信する。上位装置29から、充放電装置1の所有者又は管理者向け(クライアント装置6)にプログラム更新完了の通知がされてもよい。
The
処理部40は、上位装置29からの制御を受けて充放電を実施するため、コネクタ15及びコネクタ35のロックをONとさせる(ステップS116)。処理部40は、車両Vの車載充放電制御装置32との間の通信接続を確立させ(ステップS117)、待機状態となってプログラム更新処理を終了する。
The
ステップS110でフォーマット異常を検知したと判断した場合(S110:YES)、処理部40は、退避させていた従来のコンピュータプログラム1Pの書き込み(再インストール)を開始する(ステップS118)。
If it is determined in step S110 that a format error has been detected (S110: YES), the
処理部40は、再インストールが完了したか否かを判断する(ステップS119)。ステップS119で再インストールが完了しないと判断された場合(S119:NO)、処理部40は処理をステップS119へ戻す。
The
ステップ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
ステップS120及びS121においても処理部40は、書き込みが完了したところで(S119:YES)、制御部11へ起動(boot)指示を送る。起動した制御部11は、従来のコンピュータプログラム1Pに基づき、プログラム更新失敗の通知を上位装置29へ、並びに操作部14へのディスプレイへ表示する。
Also in steps S120 and S121, the
図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
このように、運転中であっても停止させて更新プログラムの書き込みを実行する。これにより、運転中と更新タイミングとが合致してしまい、更新ができなくなることを回避することができる。また、プログラム更新がフォーマット異常等で完了できなかった場合、充放電を実施していた実績のある従来のコンピュータプログラム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
図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
処理部40は、ステップS109で更新後のコンピュータプログラム1Pのインストールを開始した後、充放電装置1の制御部11から書き込み完了の通知を受けたか否かを判断する(ステップS131)。ステップS131において処理部40は、予め設定した時間(書き込みが完了する時間)以内に、書き込み完了の通知を受けたか否かを判断する。
After starting installation of the updated computer program 1P in step S109, the
書き込み完了の通知を受けたと判断された場合(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
ステップ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
ステップ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
ステップ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
ステップ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
ステップS141で停電中でないと判断された場合(S141:NO)、処理部40は、処理をステップS104へ進める。
If it is determined in step S141 that there is no power outage (S141: NO), the
運転中でないと判断された場合(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
このように、停電時に、特に車両Vの蓄電装置30からの放電中は運転を停止させず、それ以外では運転を停止させても、新たなコンピュータプログラム1Pへの更新を実行することができる。
In this way, during a power failure, the operation is not stopped especially during discharging from the
(変形例3)
変形例3では、充放電装置1は、上位装置29からの指示で運転していない場合、更新後は元の運転状態(充電又は放電)に復帰する。図10及び図11は、変形例3における充放電装置1のプログラム更新手順の一例を示すフローチャートである。図10及び図11のフローチャートに示す処理手順の内、図4及び図5のフローチャートに示した処理手順と共通する手順については同一のステップ番号を付して詳細な説明を省略する。
(Modification 3)
In Modified Example 3, if the charging/discharging
変形例3では、処理部40は、ステップS117で車載充放電制御装置32との間の通信接続を、充放電装置1に確立させた後、待機状態ではなく、ステップS104の停止前の運転(充電又は放電)を開始し(ステップS151)、プログラム更新処理を終了する。
In the third modification, the
これにより、充放電装置1のプログラムの更新及び運転の継続を直ちに実現することが可能である。
As a result, it is possible to immediately update the program of the charging/discharging
(第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
図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
ステップ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
ステップS161において処理部40は、サーバ装置5へ、クライアント装置6に問い合わせのメッセージを送信するように指示してもよい。キャリア通信網N2との通信が可能であるから、直接的に、クライアント装置6へ、メッセージ(電子メール又はメッセージアプリ)を送信してもよい。またステップS151において処理部40は、記憶部43に予め書き換え可能に記憶しておいた所有者又は管理者のいずれに問い合わせるからの設定に基づいて実行するとよい。
In step S<b>161 , the
処理部40は、ステップS161の問い合わせに対して更新が可であるか否かを判断する(ステップS162)。ステップS162において処理部40は、充放電装置1から、操作部14にて可に対応するディスプレイ上のエリア、又は物理ボタンが選択された場合に、可と判断する。又は、クライアント装置6へのメッセージ(サーバ装置5から提供された通知画面)に対してクライアント装置6で受け付けられた操作が「可が選択」であった場合に、可と判断する。
The
ステップ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
ステップ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
ステップS152で更新が不可と判断された場合(S162:NO)、処理部40はプログラム更新処理をそのまま終了させる。
If it is determined in step S152 that the update is not possible (S162: NO), the
このように、運転停止中であっても更新の可否を所有者又は管理者へ問い合わせてから更新を行ない、所有者又は管理者が充電を行なうつもりだった等の個別の事情に合わせることも可能である。なお、更新不可が所定回数以上選択された場合に通信器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
(第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
コンピュータプログラム1Pの更新が成功して充放電装置1における運転が再開された後、通信器4は、新たな更新プログラムに対するリクエストをサーバ装置5へ送信した後、以下に示す処理を継続的に、例えば充放電が行なわれる都度、実施する。
After the update of the computer program 1P is successful and the operation of the charging/discharging
図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
ステップ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
処理部40は、プログラム更新開始の通知を上位通信部16から上位装置29へ送信させる(ステップS205)。処理部40は、プログラム更新開始の通知メッセージを操作部14のディスプレイに表示させる(ステップS206)。
The
処理部40は、記憶部43に記憶してある充放電を正常に実施した実績のある従来のコンピュータプログラム1Pを読み出す(ステップS207)。処理部40は、読み出した従来のコンピュータプログラム1Pの再インストール(メモリへの書き込み)を開始する(ステップS208)。ステップS208の処理は具体的には、処理部40は、第2通信部42からFTPによってコンピュータプログラム1Pを充放電装置1へ送信する。
The
処理部40は、再インストールが完了したか否かを判断する(ステップS209)。ステップS209で再インストールが完了しないと判断された場合(S209:NO)、処理部40は処理をステップS209へ戻す。
The
ステップ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
処理部40は、上位装置29からの制御を受けて充放電を実施するため、充放電装置1にてコネクタ15及びコネクタ35のロックをONとさせる(ステップS212)。処理部40は、車両Vの車載充放電制御装置32との間の通信接続を確立させ(ステップS213)、待機状態とさせる。
In order to carry out charging/discharging under the control of the
処理部40は、サーバ装置5へ、ステップS202で特定したエラー発生が検知されたコンピュータプログラム1Pのバージョン情報と、再インストールした従来のコンピュータプログラム1Pのバージョン情報とを含む、再インストール完了通知を送信する(ステップS214)。処理部40は、インストールの履歴ログを記憶し(ステップS215)、処理を終了する。
The
これにより、最新のコンピュータプログラム1Pv1に更新された充放電装置1にて、最新のコンピュータプログラム1Pに基づく支障、又は個別の事象でエラーが発生し、充放電ができなかった場合に、従来のコンピュータプログラム1Pv0に戻して充放電を継続することができる。
As a result, in the charging/discharging
サーバ装置5では、複数の通信器4から、不具合の発生の通知を受信した場合、サーバ装置5の管理者へ通知して、更新されたコンピュータプログラム1Pの検証をさせることができる。
When the
(第4の実施形態)
第4の実施形態では、通信器4がデータを収集してサーバ装置5へ送る。第4の実施形態における充放電システム200の構成は、以下に説明する処理内容が加えられる以外に第1の実施形態における構成と同様であるから、共通する構成に同一の符号を付して詳細な説明を省略する。
(Fourth embodiment)
In the fourth embodiment, the
図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
通信器4の処理部40は、充放電装置1が運転を開始したか否かを判断する(ステップS301)。ステップS301で運転が開始されないと判断された場合(S301:NO)、処理部40は、処理をステップS301へ戻して運転が開始されるまで待機する。
The
運転を開始したと判断された場合(S301:YES)、処理部40は、充電であるか放電であるかを特定し(ステップS302)、充放電が切り替わったか否かを判断する(ステップS303)。充放電が切り替わっていないと判断された場合(S303:NO)、処理部40は、運転が停止したか否かを判断する(ステップS304)。
When it is determined that the operation has started (S301: YES), the
運転が停止していないと判断された場合(S304:NO)、処理部40は、充電又は放電が実行されている間の、充放電装置1の運転状態のデータを充放電装置1から取得し、記憶する(ステップS305)。ステップS305において処理部40は、充放電回路10におけるファンの回転数等、電力等を取得する。処理部40は、処理をステップS303へ戻す。
If it is determined that the operation is not stopped (S304: NO), the
充放電が切り替わったと判断された場合(S303:YES)、処理部40は、それまで実行されていた充電又は放電の時間を特定し、記憶する(ステップS306)。処理部40は、ステップS305へ進める。
When it is determined that charging and discharging have switched (S303: YES), the
運転が停止したと判断された場合(S304:YES)、処理部40は、その運転の開始から終了までの充放電装置の運転に関して記憶したデータを、サーバ装置5へ、充放電装置1を識別するデータ(通信器4の識別データ)と対応付けて送信する(ステップS307)。データ送信後、処理部40は、処理を終了する。
When it is determined that the operation has stopped (S304: YES), the
このようにして、通信器4を充放電装置1に加えることによって、充放電のデータを集めてサーバ装置5へ送信し、収集させることができる。充放電装置1の稼動状態を示すファンの回転数等のデータをサーバ装置5へ送信することにより、サーバ装置5では、各充放電装置1の稼動履歴を時系列に観察するデータを作成することができる。充放電装置1の予防保全のために、これらのデータを充放電装置1の所有者、管理者、又は保守担当者が確認できる。
By adding the
充放電装置1のプログラム更新のために保守作業者が現地へ赴く必要がないばかりでなく、充放電装置1の故障が予見される場合のみに保守作業者が充放電装置1の設置場所へ赴けばよい、といった保守作業の効率化を図ることができる。
Maintenance workers do not need to go to the site to update the program of charging/discharging
充放電装置1における運転状態のデータがサーバ装置5で収集できることにより、不特定多数の車両Vが接続される充放電装置1の運転状況の特性等を分析するなどして、V2Xの的確な運転、最適化に必要なデータ等を利活用することが期待される。
Since the data of the operating state of the charging/discharging
また、通信器4に環境データ(温度、湿度、天候等)を取得するセンサを備え、これらのセンサで取得できるデータを、充放電装置1の稼動データと共にサーバ装置5へ送信してもよい。充放電装置1は不特定多数の車両Vが接続される。車両Vの車種を各々識別できる場合には、車種毎に充放電における運転状況を示すデータをサーバ装置5で収集してもよい。充放電装置1の充放電のデータと各種センサとを対応付けてサーバ装置5で収集できることにより、V2Xの適格な運転、最適化に必要なデータの利活用が期待できる。
Further, the
(第5の実施形態)
第5の実施形態では、通信器4は、複数の充放電装置1に対して処理を実行する。図16は、第2の実施形態における充放電システム200の概要図である。
(Fifth embodiment)
In the fifth embodiment, the
図16に示すように、第5の実施形態では、通信器4は、同一の場所、施設に設置されている複数の充放電装置1に対して1つで、プログラムの更新を実行してもよい。この場合、充放電装置1は、有線又は無線を介し、各々のサーバ通信部17によって、同一の通信器4に接続される。充放電装置1及び通信器4自体の構成は、第1の実施形態と同様であるから、同一の符号を付して詳細な説明を省略する。
As shown in FIG. 16, in the fifth embodiment, one
通信器4はゲートウェイとして機能するから、第5の実施形態では、複数の充放電装置1を各々識別データで識別することによって、第1の実施形態と同様の処理を実行することが可能である。通信器4は、第1の実施形態に示した図4及び図5のフローチャートに示した処理手順を、複数の充放電装置1に対し、順次又は並行的に実行すればよい。
Since the
複数の充放電装置1に対して1つの通信器4とすることによって、通信器4の数を最小限に抑えてコストを低減させることができる。第5の実施形態でも、第2~第4の実施形態に示したような処理が実行できる。複数の充放電装置1の内のいずれか1つをマスタとし、マスタの充放電装置1に対する更新タイミングの設定を基準に、他の充放電装置1へ適用してもよい。マスタの充放電装置1でエラー発生が検知された場合には、同一箇所に設置されている複数の充放電装置1へ、従来のコンピュータプログラム1Pを再インストールするなどの制御を行なってもよい。
By using one
同一の場所又は施設に設置された複数の充放電装置1に対し、第4の実施形態に示したように、データを収集してもよい。同一の場所又は施設毎にデータを収集することによって使用環境による電力の需要供給に応じた適切な充放電制御に利活用することが期待される。
Data may be collected for a plurality of charging/discharging
上述のように開示された実施の形態は全ての点で例示であって、制限的なものではない。本発明の範囲は、特許請求の範囲によって示され、特許請求の範囲と均等の意味及び範囲内での全ての変更が含まれる。 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
40
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.
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) |
-
2021
- 2021-01-29 JP JP2021013464A patent/JP2022117007A/en active Pending
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 |