CHARGING / DISCHARGING DEVICE, CHARGING / DISCHARGING SYSTEM, PROGRAM REWRITING METHOD, AND COMPUTER PROGRAM

The charging/discharging device facilitates software updates by temporarily stopping operations, saving previous states for error recovery, and utilizing vehicle power during outages, addressing compatibility and scheduling challenges with EMS control and diverse electric vehicles.

JP7585830B2Active Publication Date: 2024-11-19TSUBAKIMOTO CHAIN CO
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2021013464
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-01-29
Publication Date
2024-11-19
Estimated Expiration
2041-01-29

Smart Images

  • Figure 0007585830000001
    Figure 0007585830000001
  • Figure 0007585830000002
    Figure 0007585830000002
  • Figure 0007585830000003
    Figure 0007585830000003
Patent Text Reader

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
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] 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. [Background technology]

[0002] The battery capacity of the storage battery installed in an electric vehicle is relatively large, for example, 5 to 100 kWh. Technologies have been proposed to realize V2X, including V2H (Vehicle to Home), which enables the power stored in these vehicles to be supplied to homes and other places other than driving the electric vehicle, V2B (Vehicle to Building), which enables the power to be supplied to buildings other than homes, and V2G (Vehicle to Grid), which enables the power to be supplied to a power grid. Even if a power outage occurs due to a disaster, it is expected that the power stored in a mobile electric vehicle can be supplied to maintain life and keep factories operating. When realizing V2X, it is desirable to be able to charge and discharge the power in a planned manner under the control of an EMS (Energy Management System).

[0003] To realize V2X, it is necessary to deploy a charging / discharging device that has a charging / discharging cable connected to the vehicle's storage battery and can perform charging / discharging control between the control of charging / discharging in the vehicle and the control from the EMS. The charging / discharging device needs to be compatible not only with a specific vehicle model, but also with almost all electric vehicles that can charge and / or discharge. However, although there is a communication standard between electric vehicles and charging / discharging devices, there is no regulation of the content of the communication, so the charging / discharging device must be compatible every time an electric vehicle with a different behavior appears.

[0004] In the past, to make charging / discharging devices compatible with new electric vehicles, maintenance staff had to visit each charging / discharging device to perform the update work. Although the charging / discharging devices had the communication function with the EMS, they did not have a device that realized data communication via a so-called communication network.

[0005] There have been various proposals to provide a data communication device in a charging / discharging device to perform software updates. Patent Document 1 discloses an invention for updating firmware during a time period when a charging time zone or a discharging time zone is not set. Patent Document 1 discloses that when updating during a time period when a charging time zone or a discharging time zone is set, the update is performed before the end time of the charging time zone or the end time of the discharging time zone by the time required for the update. [Prior art documents] [Patent documents]

[0006] [Patent Document 1] International Publication No. 2016 / 051701 Summary of the Invention [Problem to be solved by the invention]

[0007] When charging and discharging devices are linked to an EMS to charge and discharge, they charge and discharge according to supply and demand 24 hours a day, which may not be according to schedule. In a system that charges and discharges sequentially, it is difficult to identify time periods when charging and discharging is not taking place, making it difficult to update the software.

[0008] The present invention has been made in consideration of the above circumstances, and has an object to provide a charge / discharge device, a charge / discharge system, a program rewriting method, and a computer program. [Means for solving the problem]

[0009] A charging / discharging device according to one 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-board power line that connects to an on-board storage battery provided in a vehicle, and controls charging and discharging to the on-board storage battery. The charging / discharging device includes a communication unit that performs communication via a communication network, a memory unit that stores a computer program related to control of charging and discharging in a rewritable manner, and an update processing unit that performs updates of the computer program, wherein the update processing unit receives an updated computer program from the communication unit, and when the charging / discharging device is in a charging / discharging operation, stops the charging / discharging operation, and after the operation is stopped, rewrites the computer program in the memory unit with the received computer program.

[0010] A charging / discharging system according to one embodiment of the present disclosure includes a charging / discharging device that is connected to a commercial power source or a DC power network via a power line and has a connector with an on-board power line that connects to an on-board storage battery provided in a vehicle, and controls charging and discharging to the on-board storage battery, and a communication unit that is communicatively connected to the charging / discharging device, the communication unit including a communication unit that performs communication via the communication network, a memory unit that rewritably stores a computer program related to the control of the charging / discharging device, and an update processing unit that performs updates to the computer program, and the update processing unit receives an updated computer program from the communication unit, and when the charging / discharging device is in a charging / discharging operation, stops the charging / discharging operation, and after the operation is stopped, rewrites the computer program related to the control of the charging / discharging device with the received computer program.

[0011] A program rewriting method of one embodiment of the present disclosure is a method for rewriting a program of 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-board power line that connects to an on-board storage battery provided in a vehicle, and controls charging and discharging of the on-board storage battery, the method including receiving an updated computer program by a communication unit that performs communication via a communication network, and if the charging / discharging device is in a charging / discharging operation, stopping the charging / discharging operation, and after the operation is stopped, rewriting the computer program related to the control of charging and discharging with the received computer program.

[0012] A computer program according to one embodiment of the present disclosure causes a computer of a charging / discharging device, which is connected to a commercial power source or a DC power network via a power line and has a connector with an on-board power line that connects to an on-board storage battery provided in a vehicle, to receive an updated computer program by a communication unit that performs communication via a communication network, and when the charging / discharging device is in a charging / discharging operation, stops the charging / discharging operation, and after the operation is stopped, executes a process of rewriting the computer program related to the control of charging and discharging with the received computer program.

[0013] In the charge / discharge device, charge / discharge system, program rewriting method, and computer program disclosed herein, even if the charge / discharge device is in operation, the operation is stopped once and an update is performed.

[0014] A charging / discharging device of one embodiment of the present disclosure includes a backup memory unit that saves a computer program before it is updated, and when charging / discharging control is performed by the computer program before it is rewritten in the memory unit, the update processing unit saves the program in the backup memory unit and then performs the rewriting.

[0015] In the charging / discharging device of the present disclosure, the computer program before the rewriting is stored for backup purposes. If an error occurs during the rewriting, the computer program before the rewriting can be restored and operation can be resumed.

[0016] A charging / discharging device of one embodiment of the present disclosure determines whether an error has occurred in the control of charging and discharging based on a rewritten computer program, and if it is determined that an error has occurred, stops the charging and discharging operation and rewrites the computer program in the memory unit with the pre-update computer program that has been saved in the save memory unit.

[0017] In the charging / discharging device disclosed herein, if an error occurs in the charge / discharge control in the rewritten computer program, the computer program before the rewrite can be restored and operation can be resumed. Even if a malfunction occurs due to the rewrite, the charging / discharging control can be continued and the function as a V2X infrastructure can be maintained.

[0018] In the charging / discharging device according to one embodiment of the present disclosure, the update processing unit resumes the stopped operation after the rewriting of the computer program is completed.

[0019] In the charging / discharging device of the present disclosure, after the computer program is rewritten, the charging / discharging that was being performed before the program was stopped is resumed, so that the charging / discharging can be continued after the program is updated.

[0020] In one embodiment of the charging / discharging device disclosed herein, the update processing unit determines whether or not power supply from the commercial power source or the DC power network has been stopped, and if it is determined that power supply has been stopped, waits to update using the received updated computer program until the power supply is restored.

[0021] In the charging / discharging device of the present disclosure, when the commercial power supply is out or there is no power supply from the DC power grid, the update is put on hold and discharging is not hindered when it is necessary. As soon as the power supply is restored, the update can be performed.

[0022] In one embodiment of the charging / discharging device of the present disclosure, the update processing unit determines whether or not the power supply from the commercial power source or the DC power network has been stopped, and if it is determined that the power supply has been stopped, does not allow the update even if an updated computer program has already been received.

[0023] In the charging / discharging device disclosed herein, updating is not performed during a power outage or when there is no power supply from the DC power grid, and when discharging is required, operation is stopped and updating is performed so as not to impede the control.

[0024] A charging / discharging device according to one embodiment of the present disclosure, when power supply from the commercial power source or the DC power grid is stopped, determines whether or not the on-board storage battery is discharging, and if it is determined that the battery is discharging, does not allow an update, and if it is determined that the battery is not discharging, performs an update.

[0025] In the charging / discharging device of the present disclosure, updating is prohibited only during a power outage and discharging, i.e., when the commercial power supply is out or there is no power supply from the DC power grid and power from the on-board storage battery is required. Even during a power outage, updating can be performed if it is possible to update using power from the on-board storage battery or a storage battery provided in the device.

[0026] In one embodiment of the charging / discharging device disclosed herein, when the update processing unit receives an updated computer program from the communication unit, it accepts whether the update is possible, and if it is accepted that the update is possible, it stops charging / discharging operation and performs rewriting.

[0027] In the charging / discharging device disclosed herein, updates are performed in accordance with instructions from the owner or administrator of the charging / discharging device, making it possible to avoid operation being stopped at a time when the user of the charging / discharging device is about to start charging.

[0028] In the charging / discharging device of one embodiment of the present disclosure, the update processing unit acquires data relating to an operating state of the charging / discharging device, and transmits the acquired data from the communication unit.

[0029] The charging / discharging device disclosed herein is equipped with a communication unit capable of automatically receiving the computer program for the charging / discharging device, making it possible to collect and utilize data regarding the operating status of the charging / discharging device outside the charging / discharging device.

[0030] In one embodiment of the charging / discharging system of the present disclosure, the communication device is communicatively connected to a plurality of the charging / discharging devices, and the communication device performs program rewriting using a received computer program for the plurality of the charging / discharging devices, sequentially or in parallel.

[0031] In the charging / discharging system of the present disclosure, one communicable communication device executes the update process of the computer program in multiple charging / discharging devices. By reducing the number of communication devices that communicate with the outside world, it is possible to reduce costs and rewrite programs reliably. Effect of the Invention

[0032] According to the present disclosure, even if the charging / discharging device is in operation, the operation is stopped to perform a program update, which makes it possible to avoid a situation in which the operation coincides with the update timing, and the update is not possible because charging / discharging is given priority. [Brief description of the drawings]

[0033] [Figure 1] FIG. 1 is a schematic diagram of a charge / discharge system including a charge / discharge device. [Diagram 2] 2 is a block diagram showing a connection configuration of a charge / discharge device and a vehicle. FIG. [Diagram 3] FIG. 2 is a block diagram showing the configurations of a communication device, a server device, and a client device. [Figure 4] 10 is a flowchart showing an example of a program update procedure of the charge / discharge device. [Diagram 5] 10 is a flowchart showing an example of a program update procedure of the charging / discharging device. [Figure 6] 13 is a flowchart showing an example of a program update procedure for the charging / discharging device in the first modification. [Figure 7] 13 is a flowchart showing an example of a program update procedure for the charging / discharging device in the first modification. [Figure 8] 13 is a flowchart showing an example of a program update procedure for a charging / discharging device in Modification 2. [Figure 9] 13 is a flowchart showing an example of a program update procedure for a charging / discharging device in Modification 2. [Figure 10] 13 is a flowchart showing an example of a program update procedure for a charging / discharging device in Modification 3. [Figure 11]13 is a flowchart showing an example of a program update procedure for a charging / discharging device in Modification 3. [Figure 12] 10 is a flowchart showing an example of a program update procedure for a charge / discharge device in a second embodiment. [Figure 13] 10 is a flowchart showing an example of a program update procedure for a charge / discharge device in a second embodiment. [Figure 14] 13 is a flowchart illustrating an example of a program monitoring process procedure in the communication device. [Figure 15] 13 is a flowchart showing an example of a data transmission procedure by a communication device according to a fourth embodiment. [Figure 16] FIG. 11 is a schematic diagram of a charge / discharge system according to a second embodiment.

[0034] The present disclosure will be specifically described with reference to the drawings showing the embodiments thereof.

[0035] (First embodiment) FIG. 1 is a schematic diagram of a charging / discharging system 200 including a charging / discharging device 1. The charging / discharging system 200 in the first embodiment includes a power storage device 22, a power generation device 23, and a plurality of charging / discharging devices 1, which are installed in a parking lot that is a public facility. Power supplied from a power system E is branched by a power line PL to a vehicle V connected via a distribution board 28 through the power storage device 22, the power generation device 23, and a plurality of charging / discharging devices 1. Each charging / discharging device 1 is connected to a higher-level device 29 through a communication line CL via the distribution board 28. Each charging / discharging device 1 is connected to a communication device 4. The communication device 4 can transmit and receive data to and from a server device 5 of a company in charge of maintaining the charging / discharging device 1 by wireless communication (or wired communication) via a public communication network N, which is the so-called Internet. The server device 5 can transmit and receive data to and from a client device 6 used by an owner of each charging / discharging device 1 or an administrator of the charging / discharging device 1 via the public communication network N.

[0036] The higher-level device 29 controls the transfer of power from the power system E to the power storage device 22 and the vehicle V, and the transfer of power from the power generation device 23 to the power storage device 22 or the vehicle V. In the first embodiment, the higher-level device 29 is described as being provided externally as a server device and controlling the transfer of power in the region, but it may also be installed in a distribution board 28 and control the power generation and charging / discharging of the parking lot and the power storage device 22 and the power generation device 23 installed in the parking lot. The higher-level device 29 may be a higher-level control device built into each charging / discharging device 1.

[0037] The charging / discharging device 1 may be installed at home and charge / discharge the vehicle V under the control of a higher-level device 29.

[0038] 2 is a block diagram showing a connection configuration between the charging / discharging device 1 and a vehicle V. 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).

[0039] The vehicle V is equipped with a large-capacity power storage device 30 that can be used for driving the vehicle V. The vehicle V is equipped with a connector 35 to a power line VPL connected to the power storage device 30, and an on-board charge / discharge control device 32 that controls charging and discharging of the power storage device 30. A DC relay 33 included in a charge / discharge circuit on the vehicle V side is interposed in the power line VPL, and the on-board charge / discharge control device 32 controls the ON / OFF of the DC relay 33. The connector 35 includes a communication terminal for communication connection with the on-board charge / discharge control device 32.

[0040] The charge / discharge device 1 includes a charge / discharge circuit 10, a control unit 11, a vehicle communication unit 12, a power supply unit 13, an operation unit 14, a server communication unit 17, and a higher-level communication unit 16. The charge / discharge circuit 10 includes various circuit elements such as a bidirectional inverter and various relays. The charge / discharge circuit 10 includes a DC relay 10a connected to a connector 15 that is connected to the vehicle V, and a parallel-off relay 10b installed in a power line PL that is connected to the power system E. The charge / discharge circuit 10 is connected to the connector 15 by the power line PL via the DC relay 10a.

[0041] The control unit 11 controls the circuit elements included in the charge / discharge circuit 10, and controls switching between charging and discharging, the amount of current, and the amount of voltage for the power storage device 30 of the vehicle V. The control unit 11 includes a CPU (Central Processing Unit) and a non-volatile memory, and the CPU controls the charge / discharge circuit 10 by executing control processing based on a computer program 1P stored in the non-volatile memory.

[0042] The computer program 1P stored in the non-volatile memory of the control unit 11 may be a computer program 8P stored in a computer-readable storage medium 8 that is read by the CPU and stored in the memory.

[0043] The vehicle communication unit 12 can be communicatively connected to the in-vehicle 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 needs only to conform to the charge / discharge method corresponding to the vehicle V and the connectors 15, 35, and may be capable of selectively executing one of a plurality of protocols so as to be applicable to different charge / discharge methods. In this embodiment, the vehicle communication unit 12 communicates with the in-vehicle charge / discharge control device 32 via a controller area network (CAN). The communication may also be realized by a PLC.

[0044] The power supply unit 13 includes a UPS (Uninterruptible Power Systems) circuit and a startup storage battery, and supplies power to the control unit 11. In the event of a power outage, the power supply unit 13 supplies the power required to start up the charging / discharging device 1 from the startup storage battery. The power supply unit 13 may charge the startup storage battery with power from the power system E, the power generation device 23, or the vehicle V.

[0045] 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 accepts operations including START (launch) and STOP (end) from a user. The control unit 11 may control the charging / discharging circuit 10 based on the operations accepted by the operation unit 14. The operation unit 14 includes a lamp, and is controlled by the control unit 11 to light up in a color or pattern according to the state.

[0046] The upper communication unit 16 realizes communication with the upper device 29 via a communication line CL. The upper communication unit 16 may be, for example, a communication module corresponding to the communication line CL conforming to Ethernet (registered trademark), or a communication module corresponding to the communication line CL corresponding to ECHONET / ECHONETLite (registered trademark). The upper communication unit 16 may realize communication by PLC.

[0047] The server communication unit 17 is capable of communication connection with the communicator 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 communicator 4 by wire. The server communication unit 17 may be a wireless communication module. The control unit 11 is capable of communication connection with the communicator 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 partner may be separated by a different port.

[0048] As shown in Figs. 1 and 2, the charge / discharge circuit 10 of the charge / discharge device 1 configured as described above is connected to the power storage device 30 of the vehicle V by the power line PL via the DC relay 10a and the DC relay 33 on the vehicle V side in a state where the connector 15 is connected to the connector 35 of the vehicle V. As shown in Figs. 1 and 2, the charge / discharge circuit 10 is connected to the power system E and interconnected devices (the power storage device 22, the power generation device 23, etc.) by the power line PL via the parallel-off relay 10b and the distribution board 28. The charge / discharge device 1 controls the exchange of power between the power system E and the power storage device 30 of the vehicle V and the interconnected devices. When the parallel-off relay 10b, the DC relay 10a, and the DC relay 33 are all in the ON state, the charge / discharge circuit 10 can discharge the power storage device 30 to the power storage device 22 or charge from the power system E via the power line PL.

[0049] 3 is a block diagram showing the configurations of the communicator 4, the server device 5, and the client device 6. The communicator 4 functions as a gateway that enables the charging / discharging device 1 to communicate with the server device 5 of a business operator that is an external network. The communicator 4 includes a processing unit 40, a storage unit 43, a first communication unit 41, and a second communication unit 42. The communicator 4 is connected to the charging / discharging device 1 not only through the communication line CL but also through the power line PL, and operates by receiving power from the power supply unit 13 of the charging / discharging device 1.

[0050] The processing unit 40 includes a CPU, executes control processing based on a control program 4P stored in the storage unit 43, and mediates the transmission and reception of data between the server device 5 and the charging / discharging device 1.

[0051] The storage unit 43 is a non-volatile memory such as a flash memory or an SSD (Solid State Drive). The storage unit 43 stores a control program 4P that the processing unit 40 reads out for controlling the communication device 4 itself, and also stores computer programs 1P, 1P, ... for the charging / discharging device 1 received from the server device 5. The control program 4P may be a control program 9P that has been stored in a computer-readable storage medium 9 and read out by the CPU and stored in the memory.

[0052] The program update timing is rewritably stored in storage unit 43. The update timing may be, for example, a specified time period, such as from 2:00 a.m. to 4:00 a.m. when charging / discharging is not expected to be performed. The update timing may be a set value according to the state of charging / discharging device 1 as well as a set value for the time period.

[0053] The first communication unit 41 is a communication module that realizes a communication connection with the server device 5 via the public communication network N. Specifically, the first communication unit 41 is a wireless communication module that communicates with 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.

[0054] 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 that complies with 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.

[0055] The server device 5 is managed by the manufacturer of the charging / discharging device 1 or a business operator that 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 realized by one server computer, or may be realized by distributing the program among multiple computers. The server device 5 is capable of communicating 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.

[0056] The client device 6 is a communication terminal device used by an owner or manager of the charging / discharging device 1. The client device 6 is, for example, a smartphone. The client device 6 includes a processing unit 60, a storage unit 61, a communication unit 62, a display unit 63, and an operation unit 64.

[0057] 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 executes, for example, a Web browser program among the various programs, and can display, on the display unit 63, an information page related to charging and discharging by the charging and discharging device 1, which is provided by the server device 5. Alternatively, the processing unit 60 executes, for example, a message program among the various programs, and can obtain a message for the owner or administrator from the server device 5 and display the message on the display unit 63.

[0058] The communication unit 62 is a communication module for connecting to the public communication network N or the carrier communication network N2. The communication unit 62 is, for example, a wireless communication module.

[0059] The display unit 63 is a display such as a liquid crystal display, an organic EL (Electro Luminescence) display, etc. The display unit 63 displays an operation screen. The display unit 63 may be a display with a built-in touch panel.

[0060] The operation unit 64 is a user interface capable of inputting and outputting data to and from 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 a physical button. The operation unit 64 may be a voice input unit. The operation unit 64 notifies the processing unit 60 of operation data input by a user.

[0061] In the charging / discharging system 200 configured in this manner, when the computer program 1P for the charging / discharging device 1 is updated, the updated computer program 1P is stored in the server device 5 together with update information, and becomes available for distribution to each charging / discharging device 1. For ease of explanation, the newer program will be represented below by adding the alphabet "v" and a larger number to the code "1P" for the newer program.

[0062] The charging / discharging device 1 executes updating of the computer program 1P in accordance with the processing procedure shown in the following flowchart by the communication device 4. Figures 4 and 5 are flowcharts showing an example of the program update procedure of the charging / discharging device 1. The control unit 11 continues to execute the following processing during startup.

[0063] The processing unit 40 determines whether the updated computer program 1P has been received by the communication device 4 (step S101).

[0064] The communicator 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. The server device 5 maintains a hung state (standby) in response to the request until the new computer program 1Pv1 is uploaded (registered) to the server device 5. When the computer program 1Pv1 is uploaded, the server device 5 transmits the computer program 1Pv1 (including program data and an update script, etc.) to the communicator 4 in response to the request through the communication connection that was in the hung state. When the communicator 4 receives the new computer program 1Pv1 through the first communication unit 41, it stores it in the storage unit 43. The processing unit 40 of the communicator 4 may store the stored computer program 1P so that the version information can be identified. The communicator 4 transmits a request for the next computer program 1Pv2 from the first communication unit 41 to the server device 5 and waits (long polling). As a result, the communicator 4 does not perform polling to inquire about the presence or absence of an update while an update is not being performed, so that the amount of communication can be minimized.

[0065] 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 the updated program is received.

[0066] If it is determined in step S101 that an updated computer program 1P has been received (S101: YES), the processing unit 40 determines whether it is a preset update timing (step S102). The update timing is rewritably stored in the storage unit 43.

[0067] If it is determined in step S102 that it is not the timing to update (S102: NO), the processing unit 40 returns the process to step S102 and waits until it is determined that it is the timing to update.

[0068] If it is determined in step S102 that it is time to update (S102: YES), the processing unit 40 stops the charging / discharging device 1 even if it is charging / discharging, and updates the program. Therefore, the processing unit 40 determines whether or not the charging / discharging device 1 is in operation (step S103). If it is determined that the charging / discharging device 1 is in operation (S103: YES), the processing unit 40 causes the control unit 11 to normally stop the operation (boot instruction) (step S104), turns off the lock between the connector 15 and the connector 35 (step S105), and proceeds to the process in step S106. In step S105, the processing unit 40 transmits a request to turn off the lock to the control unit 11. If the lock is already turned off (released state), the process in step S105 may be omitted. After step S104, a process may be executed to check whether or not the operation has actually been stopped.

[0069] If it is determined in step S103 that the vehicle is not in operation (S103: NO), the stop process is unnecessary, and the processing unit 40 advances the process to step S105. Note that the determination of whether the vehicle is in operation in step S103 may be omitted, and the process of stopping the vehicle (S104) may be executed regardless of whether the vehicle is stopped.

[0070] The processing unit 40 causes the upper communication unit 16 to transmit a program update start notification to the upper device 29 (step S106). The processing unit 40 causes the display of the operation unit 14 to display a program update start notification message (step S107).

[0071] The processing of steps S104-S107 is executed by control unit 11 of charging / discharging device 1 when processing unit 40 notifies control unit 11 of the start of program update. Control unit 11 starts update processing when it receives the notification from server communication unit 17. Control unit 11 may store update timing in memory, and when the update timing arrives, autonomously stop charging / discharging operation and start processing for updating.

[0072] Thereafter, operation unit 14 of charging / discharging device 1 may output an indication that the program is being updated. The message "updating" may be displayed on the display of operation unit 14, or a lamp on operation unit 14 may be blinked. Processing unit 40 may notify client device 6 of the start of the program update via server device 5. Thereafter, server device 5 maintains the updating in progress state until it receives a notification of program update completion or program update failure. When server device 5 receives a request for status acquisition from client device 6, it may display an image and / or text indicating that the program is being updated on display unit 63.

[0073] The processing unit 40 saves the conventional computer program 1P that has a track record of normally performing charging and discharging 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 may store updated computer programs 1P over multiple generations in association with version information.

[0074] The processing unit 40 starts installing (writing into 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 from the second communication unit 42 to the charging / discharging device 1 by FTP (File Transfer Protocol).

[0075] The processing unit 40 judges whether or not a format abnormality is detected during writing (step S110). If it is judged that a format abnormality is not detected (S110: NO), the processing unit 40 judges whether or not writing is completed (step S111). If it is judged in step S111 that writing is not completed (S111: NO), the processing unit 40 returns the process to step S110.

[0076] If it is determined in step S111 that the writing is complete (S111: YES), the processing unit 40 causes the upper communication unit 16 to transmit a program update completion notification to the upper device 29 (step S112). The processing unit 40 causes a program update completion notification message to be displayed on the display of the operation unit 14 (step S113). The processing unit 40 stores the version information of the computer program 1P for which the update has been completed as a log in the storage unit 43 (step S114).

[0077] In steps S112 and S113, when the writing is completed, the processing unit 40 sends a boot instruction to the control unit 11. When the started control unit 11 can normally start the new computer program 1P, it displays a notification of the completion of the program update to the higher-level device 29 and on the display of the operation unit 14.

[0078] The processing unit 40 notifies the server device 5 of the completion of the installation by associating it with the identification data of the charging / discharging device 1 (or identification data such as the address of the communication device 4) (step S115). In step S115, the processing unit 40 may also transmit version information of the computer program 1P for which the installation has been completed. As a result, the server device 5 transmits a notification page or notification message addressed to the client device 6 of the owner or manager, which is stored in association with the identification data of the charging / discharging device 1. The higher-level device 29 may notify the owner or manager of the charging / discharging device 1 (client device 6) of the completion of the program update.

[0079] The processing unit 40 turns on the locks of the connectors 15 and 35 to perform charging and discharging under control of the higher-level device 29 (step S116). The processing unit 40 establishes a communication connection with the on-board charge / discharge control device 32 of the vehicle V (step S117), goes into a standby state, and ends the program update process.

[0080] If it is determined in step S110 that a format abnormality has been detected (S110: YES), the processing unit 40 starts writing (reinstalling) the saved conventional computer program 1P (step S118).

[0081] The processing unit 40 judges whether the reinstallation is completed (step S119). If it is judged in step S119 that the reinstallation is not completed (S119: NO), the processing unit 40 returns the process to step S119.

[0082] If it is determined in step S119 that the reinstallation is completed (S119: YES), the processing unit 40 causes the upper communication unit 16 to transmit a notification of program update failure to the upper device 29 (step S120). The processing unit 40 causes the display of the operation unit 14 to display a notification message of program update failure (step S121). The processing unit 40 advances the process to step S116, and resumes the charge / discharge control based on the conventional computer program 1P.

[0083] In steps S120 and S121, when the writing is completed (S119: YES), the processing unit 40 sends a boot instruction to the control unit 11. The started control unit 11 displays a notification of program update failure to the higher-level device 29 and on the display of the operation unit 14 based on the conventional computer program 1P.

[0084] 4 and 5 have been described on the assumption 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 lock of the connectors 15 and 35, stopping the operation, and the like.

[0085] In this way, even if the device is running, it is stopped to write the update program. This makes it possible to avoid a situation where the update timing coincides with the operation of the device, making it impossible to update the device. Also, if the program update cannot be completed due to a format abnormality or the like, the device can be restored to the conventional computer program 1P that has a proven track record of performing charging and discharging, and the device can be restored to the start-up state.

[0086] (Variation 1) Instead of detecting a format abnormality, the control unit 11 of the charging / discharging device 1 may notify the processing unit 40 when writing is complete, and if the processing unit 40 receives the notification, it may determine that installation by the new computer program 1P is possible and therefore determine that installation is complete.

[0087] Figures 6 and 7 are flowcharts showing an example of a program update procedure of the charging / discharging device 1 in Modification 1. Among the processing procedures shown in the flowcharts of Figures 6 and 7, the same steps as those shown in the flowcharts of Figures 4 and 5 are denoted by the same step numbers and detailed descriptions thereof will be omitted.

[0088] After starting installation of the updated computer program 1P in step S109, the processing unit 40 determines whether or not a writing completion notification has been received from the control unit 11 of the charging / discharging device 1 (step S131). In step S131, the processing unit 40 determines whether or not a writing completion notification has been received within a preset time (time for writing to be completed).

[0089] If it is determined that the notification of the completion of writing has been received (S131: YES), it is determined that the writing has been completed normally and the process proceeds to step S112.

[0090] If it is determined that the notification of the completion of writing has not been received (S131: NO), it is determined that the writing was not successful and the process proceeds to step S118.

[0091] (Variation 2) In the modified example 2, it is confirmed whether or not a power outage has occurred. Figures 8 and 9 are flowcharts showing an example of a program update procedure of the charging / discharging device 1 in the modified example 2. Among the processing procedures shown in the flowcharts of Figures 8 and 9, the same step numbers are used for the processing procedures common to the processing procedures shown in the flowcharts of Figures 4 and 5, and detailed descriptions thereof will be omitted.

[0092] Before or after the determination of whether or not the vehicle is in operation in step S103, here, when it is determined from the higher-level device 29 that the vehicle is in operation (S103: YES), the processing unit 40 determines whether or not a power outage is occurring (step S141). Whether or not a power outage is occurring 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 the power supply from the power system E and the power supply from the DC power network when the vehicle is connected to a DC power network. In step S141, the processing unit 40 may determine whether or not a power outage is occurring based on whether or not the charging / discharging device 1 is operating on the start-up storage battery of the power source unit 13. The processing unit 40 may also determine whether or not the vehicle is discharging from the connected vehicle V.

[0093] If it is determined in step S141 that a power outage is occurring (S141: YES), the processing unit 40 determines whether or not power is being discharged from the vehicle V (step S142). If power is being discharged from the vehicle V (S142: YES), there is a possibility that a power outage is occurring and local loads are being powered by power from the vehicle V. Therefore, in this case, the processing unit 40 ends the process without updating.

[0094] If it is determined in step S141 that a power outage is occurring (S141: YES), the processing may end without updating regardless of whether discharging is occurring. This is because it is unclear at what timing discharging will be instructed during a power outage. If it is determined in step S141 that a power outage is occurring (S141: YES), the processing unit 40 may hold off on the update, that is, store in memory that the update processing is in a standby state, and execute the processing from S104 onwards to complete the update as soon as the power supply is restored.

[0095] The determination of whether or not the battery is in operation in step S103 may be omitted, and instead, a determination may be made as to whether or not there is a power outage and the battery is in discharge. If it is determined that there is no power outage and the battery is not in discharge, a process (S104) may be executed to stop charging and discharging, regardless of whether charging and discharging are in operation.

[0096] If it is determined in step S142 that discharging is not in progress (S142: NO), the processing unit 40 performs the update in the processes from step S104 onwards using power supplied from the storage battery of the power supply unit 13 or power supplied from the power storage device 30 of the vehicle V. When performing the update using power supplied from the power storage device 30 of the vehicle V, the processing unit 40 needs to reversely change the lock of the connectors 15, 35 from OFF in step S105 to ON.

[0097] 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.

[0098] If it is determined that the vehicle is not in operation (S103: NO), the processing unit 40 proceeds to step S105, and if a power outage is occurring, the updating may be performed using power supplied from the storage battery of the power supply unit 13 or the power storage device 30 of the vehicle V. Note that, when updating using power supplied from the power storage device 30 of the vehicle V, it is necessary to reverse the locking of the connectors 15, 35 in step S105 and change it to the locking ON as described above.

[0099] In this way, during a power outage, the vehicle V is not stopped from driving, particularly while discharging from the power storage device 30, but the vehicle V is stopped from driving at other times, and the computer program 1P can be updated to the new one.

[0100] (Variation 3) In the third modification, if the charging / discharging device 1 is not operating under the command of the higher-level device 29, it returns to the original operating state (charging or discharging) after the update. Figures 10 and 11 are flowcharts showing an example of a program update procedure of the charging / discharging device 1 in the third modification. Among the processing procedures shown in the flowcharts of Figures 10 and 11, the same step numbers are used for the steps common to the processing procedures shown in the flowcharts of Figures 4 and 5, and detailed explanations thereof will be omitted.

[0101] In the third variant, after the processing unit 40 establishes a communication connection between the charging / discharging device 1 and the in-vehicle charging / discharging control device 32 in step S117, the processing unit 40 starts the operation (charging or discharging) before the stop in step S104 (step S151) instead of the standby state, and ends the program update process.

[0102] This makes it possible to immediately update the program of the charge / discharge device 1 and continue its operation.

[0103] Second embodiment In the second embodiment, an owner or manager of the charging / discharging device 1 is inquired of whether or not to update the computer program 1P. The configuration of the charging / discharging system 200 in the second embodiment is similar to that of the first embodiment except for the update processing procedure described below, so that the same reference numerals are given to the common configurations and detailed description thereof will be omitted.

[0104] Figures 12 and 13 are flowcharts showing an example of a program update procedure of the charging / discharging device 1 in the second embodiment. Among the processing procedures shown in the flowcharts of Figures 12 and 13, the same steps as those shown in the flowcharts of Figures 4 and 5 of the first embodiment are denoted by the same step numbers, and detailed descriptions thereof will be omitted.

[0105] When it is determined in step S102 that it is time to update (S102: YES), the processing unit 40 inquires of the owner or manager of the charging / discharging device 1 whether or not to update (step 161). In step S161, the processing unit 40 displays a message inquiring whether or not to update on the display of the operation unit 14 of the charging / discharging device 1, and accepts the inquiry regarding whether or not to update via a touch panel or physical button built into the display.

[0106] In step S161, 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 (email or message app) may be sent directly to the client device 6. In addition, in step S151, the processing unit 40 may execute the process based on a setting, which is rewritably stored in advance in the storage unit 43, as to whether to inquire of the owner or the administrator.

[0107] Processing unit 40 determines whether updating is possible in response to the inquiry in step S161 (step S162). In step S162, processing unit 40 determines that updating is possible when an area on the display or a physical button corresponding to "possible" is selected on operation unit 14 from charging / discharging device 1. Alternatively, processing unit 40 determines that updating is possible when the operation accepted by client device 6 in response to a message to client device 6 (a notification screen provided by server device 5) is "selecting possible."

[0108] The processing of steps S161 and S162 may be performed when a setting as to whether or not to execute without making an inquiry is received in advance from the owner or administrator and stored in memory unit 43, and the processing is performed when it is set not to execute without making an inquiry.

[0109] If it is determined in step S162 that the update is possible (S162: YES), the processing unit 40 proceeds to step S104, where if the vehicle is in operation, the processing unit stops the operation (S104), and if the connectors 15, 35 are locked, the processing unit unlocks the connectors (S105), and executes the update process. The processing unit 40 stores the state before the update (whether the vehicle was in operation, the locked state, etc.) in memory, and may return to the state before the update after the update is completed. If the vehicle is in operation and the operation is stopped, the processing unit 40 may wait until the instruction is received if the vehicle is in operation based on an instruction from the higher-level device 29, and may resume charging if the vehicle is charging without an instruction from the higher-level device 29.

[0110] If it is determined in step S152 that the update is not possible (S162: NO), the processing unit 40 ends the program update process as is.

[0111] In this way, even if the vehicle is stopped, the owner or manager is inquired about whether or not to update, and then the update is performed, so that it can be adapted to individual circumstances such as the owner or manager intending to charge the vehicle. If "update not possible" is selected a predetermined number of times or more, the communication device 4 or server device 5 may prompt the owner or manager to change the update timing, or may notify the owner or manager of a message recommending the update.

[0112] (Third embodiment) If an error occurs after the updated program starts operating, the program reverts to the conventional computer program 1P that has a proven track record in performing charging and discharging. The configuration of the charging and discharging system 200 in the third embodiment is the same as that in the first embodiment except for the addition of the processing contents described below, so that the same reference numerals are used to designate the common configurations and detailed descriptions thereof will be omitted.

[0113] After the computer program 1P has been successfully updated and operation of the charging / discharging device 1 has been resumed, the communication device 4 sends a request for a new update program to the server device 5, and then performs the processing shown below continuously, for example, each time charging / discharging is performed.

[0114] 14 is a flowchart showing an example of a program monitoring process procedure in the communication device 4. The processing unit 40 judges whether or not an error has been detected during charging / discharging in the charging / discharging device 1 (step S201). If it is judged that an error has not been detected (S201: NO), the processing unit 40 ends the process.

[0115] When it is determined that an error has been detected in step S201 (S201: YES), the processing unit 40 identifies the version information of the computer program 1P that is the basis 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).

[0116] The processing unit 40 causes the upper communication unit 16 to transmit a program update start notification to the upper device 29 (step S205). The processing unit 40 causes the display of the operation unit 14 to display a program update start notification message (step S206).

[0117] The processing unit 40 reads out the conventional computer program 1P that has a track record of successfully performing charging and discharging and is stored in the storage unit 43 (step S207). The processing unit 40 starts reinstalling (writing into 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 and discharging device 1 by FTP.

[0118] The processing unit 40 judges whether the reinstallation is completed (step S209). If it is judged in step S209 that the reinstallation is not completed (S209: NO), the processing unit 40 returns the process to step S209.

[0119] If it is determined in step S209 that the reinstallation is complete (S209: YES), the processing unit 40 causes the upper communication unit 16 to transmit a program update completion notification to the upper device 29 (step S210). The processing unit 40 causes the display of the operation unit 14 to display a program update completion notification message (step S211). In steps S210 and S211, the processing unit 40 may transmit the version information in association with the program update, and transmit and display that writing of the conventional computer program 1P has been completed. In steps S210 and S211, the processing unit 40 transmits a boot instruction to the control unit 11 when writing is completed (S209: YES), thereby realizing the above.

[0120] The processing unit 40 turns on the locks of the connectors 15 and 35 in the charging / discharging device 1 to perform charging / discharging under control of the higher-level device 29 (step S212). The processing unit 40 establishes a communication connection with the on-board charging / discharging control device 32 of the vehicle V (step S213) and sets the vehicle V in a standby state.

[0121] The processing unit 40 transmits a reinstallation completion notification including the version information of the computer program 1P in which the occurrence of the error identified in step S202 was detected and the version information of the conventional computer program 1P that was reinstalled to the server device 5 (step S214). The processing unit 40 stores an installation history log (step S215) and ends the process.

[0122] As a result, if a charging / discharging device 1 that has been updated to the latest computer program 1Pv1 experiences a problem based on the latest computer program 1P or an error due to an individual event, making it impossible to charge or discharge, the charging / discharging device 1 can be reverted to the conventional computer program 1Pv0 and charging / discharging can be continued.

[0123] When the server device 5 receives notifications of occurrence of a malfunction from a plurality of communication devices 4, it can notify the administrator of the server device 5 and have the updated computer program 1P verified.

[0124] (Fourth embodiment) In the fourth embodiment, the communication device 4 collects data and transmits it to the server device 5. The configuration of the charging / discharging system 200 in the fourth embodiment is similar to that in the first embodiment except for the addition of the processing contents described below, so that the same reference numerals are given to the common configurations and detailed description thereof will be omitted.

[0125] 15 is a flowchart showing an example of a data transmission procedure by the communicator 4 in the fourth embodiment. The communicator 4 may execute the following procedure continuously while it is activated by receiving power from the charging / discharging device 1, or may execute the following procedure at a preset timing such as once a day or once a week. The procedure shown in the flowchart below may be executed proactively by the control unit 11 of the charging / discharging device 1, rather than by the communicator 3.

[0126] The processor 40 of the communicator 4 determines whether the charging / discharging device 1 has started operating (step S301). If it is determined in step S301 that the charging / discharging device 1 has not started operating (S301: NO), the processor 40 returns the process to step S301 and waits until the charging / discharging device 1 starts operating.

[0127] If it is determined that operation has started (S301: YES), the processing unit 40 identifies whether it is charging or discharging (step S302), and determines whether charging or discharging has switched (step S303). If it is determined that charging or discharging has not switched (S303: NO), the processing unit 40 determines whether operation has stopped (step S304).

[0128] If it is determined that the operation is not stopped (S304: NO), the processing unit 40 acquires data on the operating state of the charge / discharge device 1 while charging or discharging is being performed from the charge / discharge device 1 and stores the data (step S305). In step S305, the processing unit 40 acquires the number of revolutions of the fan in the charge / discharge circuit 10, power, and the like. The processing unit 40 returns the process to step S303.

[0129] If it is determined that charging and discharging have been switched (S303: YES), the processing unit 40 identifies and stores the time of charging or discharging that has been performed up until that point (step S306). The processing unit 40 proceeds to step S305.

[0130] If it is determined that the operation has stopped (S304: YES), the processing unit 40 transmits stored data relating to the operation of the charging / discharging device from the start to the end of the operation to the server device 5 in association with data for identifying the charging / discharging device 1 (identification data of the communication device 4) (step S307). After transmitting the data, the processing unit 40 terminates the process.

[0131] In this way, by adding the communication device 4 to the charging / discharging device 1, charging / discharging data can be collected and transmitted to the server device 5 for collection. By transmitting data indicating the operating state of the charging / discharging device 1, such as the number of rotations of the fan, to the server device 5, the server device 5 can create data that observes the operating history of each charging / discharging device 1 in chronological order. For preventive maintenance of the charging / discharging device 1, the owner, manager, or maintenance person of the charging / discharging device 1 can check this data.

[0132] Not only does it not require a maintenance worker to go to the site to update the program of the charging / discharging device 1, but the maintenance worker only needs to go to the location where the charging / discharging device 1 is installed when a malfunction of the charging / discharging device 1 is predicted, thereby making maintenance work more efficient.

[0133] By allowing the server device 5 to collect data on the operating status of the charging / discharging device 1, it is expected that the characteristics of the operating conditions of the charging / discharging device 1 to which an unspecified number of vehicles V are connected can be analyzed, and data necessary for accurate operation and optimization of V2X can be utilized.

[0134] Furthermore, the communication device 4 may be equipped 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 operation data of the charging / discharging device 1. An unspecified number of vehicles V are connected to the charging / discharging device 1. If the vehicle models of the vehicles V can be identified, the server device 5 may collect data indicating the operating conditions during charging / discharging for each vehicle model. By being able to collect the charging / discharging data of the charging / discharging device 1 in association with various sensors by the server device 5, it is expected that the data required for proper operation and optimization of V2X can be utilized.

[0135] Fifth embodiment In the fifth embodiment, the communicator 4 executes processing for a plurality of charging / discharging devices 1. Fig. 16 is a schematic diagram of a charging / discharging system 200 in the second embodiment.

[0136] 16, in the fifth embodiment, a single communicator 4 may update programs for a plurality of charging / discharging devices 1 installed in the same place or facility. In this case, the charging / discharging devices 1 are connected to the same communicator 4 by their respective server communication units 17 via wire or wireless connection. The configurations of the charging / discharging devices 1 and the communicators 4 themselves are similar to those of the first embodiment, and therefore the same reference numerals are used and detailed description thereof will be omitted.

[0137] Since the communicator 4 functions as a gateway, in the fifth embodiment, it is possible to execute the same processing as in the first embodiment by identifying each of the multiple charging / discharging devices 1 by the identification data. The communicator 4 may execute the processing procedures shown in the flowcharts of Fig. 4 and Fig. 5 shown in the first embodiment for the multiple charging / discharging devices 1 sequentially or in parallel.

[0138] By providing one communication device 4 for multiple charging / discharging devices 1, the number of communication devices 4 can be minimized to reduce costs. In the fifth embodiment, the processes shown in the second to fourth embodiments can also be executed. Any one of the multiple charging / discharging devices 1 can be set as a master, and the update timing setting for the master charging / discharging device 1 can be applied to the other charging / discharging devices 1 based on the update timing setting for the master charging / discharging device 1. When an error is detected in the master charging / discharging device 1, control such as reinstalling the conventional computer program 1P on multiple charging / discharging devices 1 installed at the same location can be performed.

[0139] Data may be collected from a plurality of charging / discharging devices 1 installed in the same place or facility as in the fourth embodiment. It is expected that data collected from each of the same place or facility can be utilized for appropriate charging / discharging control according to the demand and supply of electricity in the usage environment.

[0140] The embodiments disclosed above are illustrative in all respects and are not restrictive. The scope of the present invention is defined by the claims, and includes all modifications within the meaning and scope of the claims. [Explanation of symbols]

[0141] 1 Charge / discharge device 10 Charge / discharge circuit 11 Control section 12 Vehicle communication unit 14 Control section 16 Upper communication section 1P Computer Program V Vehicle 29 Upper device 4. Communication device (update processing unit) 40 Processing section 43 Storage section 4P control program 5. Server equipment 6 Client Device

Claims

1. 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-board power line that connects to an on-board storage battery provided in a vehicle, and controls charging / discharging of the on-board storage battery, A communication unit that executes communication via a communication network; A storage unit that rewritably stores a computer program related to charge / discharge control; an update processing unit that executes an update of the computer program; Equipped with The update processing unit: receiving an updated computer program from the communication unit; When the charging / discharging device is in a charging / discharging operation, the charging / discharging operation is stopped; After the operation is stopped, the computer program in the storage unit is rewritten with the received computer program. Charge / discharge device.

2. a backup storage unit for saving a computer program before the update; The update processing unit: When charge / discharge control is being executed by the computer program before the rewrite of the storage unit, the computer program is saved in the save storage unit and then the rewrite is executed. The charging / discharging device according to claim 1 .

3. Determine whether an error has occurred in the charge / discharge control based on the rewritten computer program; If it is determined that an error has occurred, the charge / discharge operation will be stopped. The computer program in the storage unit is rewritten with the pre-update computer program saved in the save storage unit. The charging / discharging device according to claim 2 .

4. The update processing unit resumes the stopped operation after the rewriting of the computer program is completed. The charging / discharging device according to any one of claims 1 to 3.

5. The update processing unit: Determining whether the power supply from the commercial power source or the DC power grid is stopped; If it is determined that the power supply is stopped, wait to update the received updated computer program until the power supply is restored. The charge / discharge device according to any one of claims 1 to 4.

6. The update processing unit: Determining whether the power supply from the commercial power source or the DC power grid is stopped; If it is determined that the computer program is out of service, updates will not be permitted even if the updated computer program has already been received. The charge / discharge device according to any one of claims 1 to 4.

7. When the power supply from the commercial power source or the DC power grid is stopped, determining whether or not the vehicle-mounted storage battery is discharging; If it is determined that discharging is in progress, updating is not possible. If it is determined that discharging is not in progress, perform the update. The charging / discharging device according to claim 6.

8. The update processing unit: When an updated computer program is received from the communication unit, a decision is accepted as to whether the update is acceptable or not; If the update is accepted, the charge / discharge operation is stopped and the update is performed. The charging / discharging device according to any one of claims 1 to 7.

9. The update processing unit: Acquire data relating to the operating state of the charging / discharging device; The acquired data is transmitted from the communication unit. The charging / discharging device according to any one of claims 1 to 8.

10. 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-board power line that connects to an on-board storage battery provided in a vehicle, and controls charging / discharging to the on-board storage battery; and a communication device that is communicatively connected to the charging / discharging device; The communication device includes: A communication unit that executes communication via a communication network; a storage unit that rewritably stores a computer program related to the control of the charging / discharging device; an update processing unit that executes an update of the computer program; Equipped with The update processing unit: receiving an updated computer program from the communication unit; When the charging / discharging device is in a charging / discharging operation, the charging / discharging operation is stopped; After the operation is stopped, the computer program relating to the control of the charging / discharging device is rewritten with the received computer program. Charge and discharge control system.

11. The communication device is communicatively connected to a plurality of the charging / discharging devices, The communication device includes: The charging / discharging devices are reprogrammed with the received computer program in a sequential or parallel manner. The charge / discharge control system according to claim 10.

12. A method for rewriting a program of 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-board power line that connects to an on-board storage battery provided in a vehicle, and controls charging / discharging of the on-board storage battery, comprising: receiving an updated computer program by a communication unit that performs communication via a communication network; When the charging / discharging device is in a charging / discharging operation, the charging / discharging operation is stopped; After the operation is stopped, the computer program related to the control of charging and discharging is rewritten with the received computer program. A program rewriting method including a process.

13. A computer of a charging / discharging device that is connected to a commercial power source or a DC power network via a power line and has a connector for an on-board power line that connects to an on-board storage battery provided in a vehicle, receiving an updated computer program by a communication unit that performs communication via a communication network; When the charging / discharging device is in a charging / discharging operation, the charging / discharging operation is stopped; After the operation is stopped, the computer program related to the control of charging and discharging is rewritten with the received computer program. A computer program that executes a process.

Citation Information

Patent Citations

  • Method for updating battery pack

    JP2010191880A

  • Remote control system for pieces of on-vehicle equipment

    JP2014069598A

  • Image processing device, image processing system, and program

    JP2015026108A

  • Power generation device controller, power generation device system, and method for adjusting firmware update timing

    JP2019013075A

  • Method for controlling charge / discharge system, and charge / discharge system

    WO2014155529A1