WO2023089652A1 - 車両用制御装置 - Google Patents

車両用制御装置 Download PDF

Info

Publication number
WO2023089652A1
WO2023089652A1 PCT/JP2021/042001 JP2021042001W WO2023089652A1 WO 2023089652 A1 WO2023089652 A1 WO 2023089652A1 JP 2021042001 W JP2021042001 W JP 2021042001W WO 2023089652 A1 WO2023089652 A1 WO 2023089652A1
Authority
WO
WIPO (PCT)
Prior art keywords
software
update
software update
power
capacity
Prior art date
Application number
PCT/JP2021/042001
Other languages
English (en)
French (fr)
Inventor
晃宏 眞田
望未 山田
卓矢 河野
Original Assignee
三菱電機株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 三菱電機株式会社 filed Critical 三菱電機株式会社
Priority to PCT/JP2021/042001 priority Critical patent/WO2023089652A1/ja
Priority to JP2023561946A priority patent/JP7403730B2/ja
Publication of WO2023089652A1 publication Critical patent/WO2023089652A1/ja

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Definitions

  • This application relates to a vehicle control device.
  • a vehicle control device receives data for updating software from the outside, and rewriting of software in a storage device storing the software is executed.
  • the remaining capacity of the vehicle's operating power source (battery) is obtained when updating the software of the vehicle control device.
  • Software update is performed only when the remaining power capacity is greater than the specified power consumption required for software update. By doing so, it is possible to prevent the software update from being interrupted due to insufficient power capacity during the software update. As a result, software updates can be executed in a stable environment.
  • Patent Literature 1 cannot cope with the case where the remaining power supply capacity suddenly decreases during software update.
  • the calculation of the remaining capacity of the power supply causes errors due to deterioration of battery performance, changes in the state of charge due to the vehicle, and the like. Therefore, even if the software update is executed on the assumption that the remaining power supply capacity is sufficient for the software update, the software update may not be completed.
  • An object of the present invention is to provide a vehicle control device that detects and determines whether or not software update can be continued, and enables software update with high stability.
  • a vehicle control device includes: a storage device in which the software is written; a receiving unit that receives update software for updating software; a power remaining capacity detection unit that detects the remaining power capacity of the battery; a low power remaining capacity detection unit for detecting a decrease in the remaining power capacity of the battery; a software update power calculation unit that calculates software update power for writing update software to a storage device; a software update start permitting unit that permits the start of software update when the remaining battery capacity detected by the power supply remaining capacity detection unit is greater than the software update power calculated by the software update power calculation unit; a software update continuation permitting unit that permits continuation of software update when the amount of decrease in the remaining power capacity of the battery is smaller than a predetermined decrease determination value; When the start of software update is permitted by the software update start permitting section, the writing of the update software to the storage device is started, and the continuation of the software update is permitted by the software update continuation permitting section while the update software is being written to the storage device.
  • a software update control unit that continues writing update software to the storage device when the software update
  • the vehicle control device when updating the software of the vehicle control device installed in the vehicle, the remaining battery capacity is detected, and if the remaining battery capacity is greater than the software update power, the software update is started, and the software update is started. After the start, the amount of decrease in the remaining capacity of the power supply is detected, and it is determined whether or not the software update can be continued, so that the software can be updated with high stability.
  • FIG. 1 is a configuration diagram of a vehicle control device according to Embodiment 1;
  • FIG. 2 is a hardware configuration diagram of a vehicle control device according to Embodiment 1;
  • FIG. 4 is a flowchart showing software update start processing of the vehicle control device according to Embodiment 1;
  • 7 is a flowchart showing software update continuation processing of the vehicle control device according to Embodiment 1;
  • FIG. 11 is a first flowchart showing software update continuation processing of the vehicle control device according to Embodiment 2;
  • FIG. FIG. 9 is a second flowchart showing software update continuation processing of the vehicle control device according to Embodiment 2;
  • FIG. FIG. 11 is a first flowchart showing software update continuation processing of the vehicle control device according to Embodiment 3;
  • FIG. 14 is a second time chart of software update of the vehicle control device according to the ninth embodiment;
  • FIG. FIG. 23 is a flowchart showing software update continuation processing of the vehicle control device according to the ninth embodiment;
  • FIG. 22 is a flowchart showing software update start pre-start processing of the vehicle control device according to the tenth embodiment;
  • FIG. 1 is a configuration diagram of a vehicle control device 100 according to Embodiment 1. As shown in FIG. The vehicle control device 100 mounted on the vehicle includes a communication unit 99, a software update control unit 11, a software update power calculation unit 12, a software update start permission unit 13, a software update continuation permission unit 14, a power remaining capacity detection unit 15, It has a power remaining capacity drop detection unit 16 and is connected to a battery 20 .
  • the vehicle control device 100 includes a storage device 91 that stores software executed by the arithmetic processing device.
  • the arithmetic processing unit may take over all the information processing of the vehicle control device 100, or may be provided specifically for specific control such as engine control, traveling control, and brake control.
  • FIG. 1 shows an example in which the storage device 91 is provided inside the vehicle control device 100 .
  • the storage device 91 may be provided in an independent control device provided outside the vehicle control device 100 .
  • a plurality of storage devices 91 may be provided together with the arithmetic processing device and connected to the vehicle control device 100 .
  • a communication unit 99 of the vehicle control device 100 has a receiving unit 18 and a transmitting unit 19, and communicates with the outside to receive data for updating software.
  • the communication unit 99 communicates with another control device in the vehicle, a reprogramming device temporarily connected to the diagnosis connector of the vehicle, and a server outside the vehicle that is mutually communicable via a wide area communication network. good too.
  • the server transmits data regarding update software for the software written in the storage device 91 of the vehicle control device 100 .
  • the software update control unit 11 controls writing of update software received by the receiving unit 18 of the communication unit 99 of the vehicle control device 100 to the storage device 91 .
  • the amount of decrease in the remaining capacity of the battery 20 is detected and it is determined whether to continue updating the software.
  • rewriting of the software is stopped before the voltage of the battery 20 drops and the vehicle control device 100 malfunctions, and the update of the software is stopped.
  • the server can be notified.
  • the receiving unit 18 of the vehicle control device 100 receives update software from the server.
  • the software update power calculator 12 calculates the software update power EPrv, which is an output necessary for executing rewriting to the storage device. If the software update power EPrv cannot be secured, rewriting of the update software cannot be completed.
  • a battery 20 provided in the vehicle supplies electric power to various devices in the vehicle including the vehicle control device 100 .
  • a remaining power supply capacity detector 15 connected to the battery 20 detects the remaining power supply capacity EPr of the battery.
  • the remaining power capacity of the battery 20 is detected by measuring the voltage and current of the power supply line assuming that the battery has this initial power capacity when fully charged, and then discharging.
  • the current remaining capacity of the power supply can be calculated by integrating the amount (power consumption) and the amount of charge.
  • the power supply remaining capacity calculated in this way is the power supply voltage Vb obtained by measuring the voltage, the amount of power supply voltage drop ⁇ Vb, the CCA (Cold Cranking Ampere) obtained by the measuring instrument and the CCA ratio compared with the initial value, It may be corrected by a value such as the specific gravity SG (Specific Gravity) of the battery liquid obtained by a measuring device.
  • the software update start permission unit 13 compares the remaining power supply capacity EPr detected by the remaining power supply detection unit 15 and the software update power EPrv calculated by the software update power calculation unit 12 . When the remaining power supply capacity EPr is greater than the software update power EPrv, the software update start permitting unit 13 permits the start of software update.
  • the software update start permitting unit 13 does not permit the start of software update. If the software update start permitting unit 13 does not permit the start of software update, the software update control unit 11 cannot start rewriting the software in the storage device 91 .
  • a power supply remaining capacity reduction detection unit 16 connected to the battery 20 detects a power supply remaining capacity reduction amount ⁇ EPr of the battery 20 .
  • the capacity of the battery 20 may rapidly decrease due to various factors such as deterioration over time, adhesion of electrolytic substances to the electrodes, and rapid increase in power consumption of the vehicle.
  • the remaining power supply capacity reduction detection unit 16 detects the amount of reduction in remaining power supply capacity ⁇ EPr in such a case, thereby making it possible to cope with unexpected changes in the state of the battery 20 .
  • the amount of decrease in remaining power supply capacity ⁇ EPr of the battery 20 can be calculated from the fluctuation value of the remaining power supply capacity obtained by integrating the amount of discharge (the amount of power used) and the amount of charge.
  • the remaining power supply capacity reduction amount ⁇ EPr is the power supply voltage Vb obtained by measuring the voltage, the power supply voltage reduction amount ⁇ Vb, the CCA (Cold Cranking Ampere) obtained by the measuring instrument and the CCA ratio Rcca compared with the initial value, and the CCA ratio It may be obtained from values such as the CCA ratio decrease amount ⁇ Rcca, the battery fluid specific gravity SG determined by a measuring device, and the battery fluid specific gravity decrease amount ⁇ SG, which are fluctuation values.
  • the software update continuation permitting unit 14 compares the remaining power capacity reduction amount ⁇ EPr detected by the remaining power capacity reduction detection unit 16 with a predetermined reduction determination value ⁇ EPj. If the remaining power capacity decrease amount ⁇ EPr is equal to or less than the decrease determination value ⁇ EPj, the software update continuation permitting unit 14 determines that the remaining power capacity of the battery 20 can be maintained until the software update is completed, and permits continuation of software rewriting.
  • the software update continuation permitting unit 14 determines that the remaining power capacity of the battery 20 may not allow the software update to be completed, and does not permit continuation of software rewriting. . If software update continuation permission unit 14 does not permit continuation of software update, software update control unit 11 cannot continue rewriting of software in storage device 91 .
  • FIG. 2 is a hardware configuration diagram of the vehicle control device 100 according to the first embodiment. Each function of the vehicle control device 100 is implemented by a processing circuit included in the vehicle control device 100 .
  • the vehicle control device 100 includes an arithmetic processing unit 90 (computer) such as a CPU (Central Processing Unit) as a processing circuit, and a storage device that exchanges data with the arithmetic processing unit 90.
  • arithmetic processing unit 90 computer
  • the vehicle control device 100 includes an arithmetic processing unit 90 (computer) such as a CPU (Central Processing Unit) as a processing circuit, and a storage device that exchanges data with the arithmetic processing unit 90.
  • interfaces such as an input circuit 92 for inputting external signals to the arithmetic processing unit 90, an output circuit 93 for outputting signals from the arithmetic processing unit 90 to the outside, and a communication unit 99 for transmitting and receiving data via a communication path 98. I have it.
  • the vehicle control device 100 includes, as a storage device 91, a RAM (random access memory) capable of reading and writing data from the arithmetic processing unit 90, and a ROM capable of reading data from the arithmetic processing unit 90.
  • a RAM random access memory
  • the storage device 91 may be built in the arithmetic processing device 90 .
  • the input circuit 92 is connected to an input signal, a sensor, and a switch, and includes an A/D converter and the like for inputting the input signal, sensor, and switch signal to the arithmetic processing unit 90 .
  • the output circuit 93 is connected to an electric load such as a gate drive circuit that turns on and off the switching element, and includes a drive circuit that outputs a control signal from the arithmetic processing unit 90 to these electric loads.
  • the communication unit 99 can exchange data with an external device such as an external control device via a communication path 98 .
  • Each function provided in the vehicle control device 100 is performed by the arithmetic processing device 90 executing software (program) stored in a storage device 91 such as a ROM, and executing the software (program) stored in the storage device 91, the input circuit 92, the output circuit 93 and the like. It is realized by cooperating with other hardware of the control device 100 .
  • Setting data such as threshold values and determination values used by the vehicle control device 100 are stored in a storage device 91 such as a ROM as a part of software (program).
  • Each function of the vehicle control device 100 may be configured by a software module, or may be configured by a combination of software and hardware.
  • FIG. 3 is a flowchart showing software update start processing of the vehicle control device 100 according to the first embodiment.
  • the flowchart of FIG. 3 describes the flow of operation of each functional block of the vehicle control device 100 .
  • the processing of the flowchart in FIG. 3 is executed at predetermined intervals (for example, at intervals of 10 ms).
  • the processing of the flowchart in FIG. 3 may be executed for each event, such as each time the vehicle travels a predetermined distance or each time the vehicle control device 100 receives data from the server, instead of every predetermined time.
  • step S101 it is determined whether or not the receiving unit 18 has received updated software from the server. If the update software has not been received (determination is NO), the process ends. If update software has been received (determination is YES), the process proceeds to step S102.
  • step S102 the software update power calculation unit 12 calculates the software update power EPrv required to rewrite the update software to the storage device.
  • step S103 the remaining power capacity detector 15 detects the remaining power capacity EPr of the battery.
  • step S104 the software update start permitting unit 13 determines whether the remaining power supply capacity EPr is greater than the software update power EPrv. If the remaining power supply capacity EPr is equal to or less than the software update power EPrv (determination is NO), the process proceeds to step S107. If the remaining power supply capacity EPr is greater than the software update power EPrv (determination is YES), the process proceeds to step S105. This is the case where the start of software update is permitted by the software update start permitting unit 13 .
  • a software updating flag is set.
  • the software update flag is a flag indicating that the software is currently being rewritten to the storage device 91 .
  • the software updating flag is cleared as an initial setting when the vehicle control device is activated.
  • step S106 software update is started.
  • the software update control unit 11 starts rewriting software in the storage device 91 . After that, the process ends.
  • step S107 the software update start permitting unit 13 does not permit the start of software update, and the software updating flag is cleared. After that, the process ends.
  • FIG. 4 is a flowchart showing software update continuation processing of the vehicle control device 100 according to the first embodiment.
  • the flowchart of FIG. 4 describes the flow of operation of each functional block of the vehicle control device 100 during software update.
  • the processing of the flowchart in FIG. 4 is executed at predetermined intervals (for example, every 10 ms, every 30 seconds, etc.).
  • the processing of the flowchart of FIG. 4 may be executed for each event such as each time the vehicle travels a predetermined distance instead of every predetermined time.
  • step S201 it is determined whether or not the software updating flag is set. If the software updating flag is not set (determination is NO), the process ends. If the software updating flag is set (determination is YES), the process proceeds to step S202.
  • step S202 the remaining power capacity drop detection unit 16 detects the remaining power capacity drop amount ⁇ EPr. Then, in step S203, it is determined whether or not the amount of decrease in remaining power supply capacity ⁇ EPr detected by the decrease in remaining power supply capacity detection unit 16 is equal to or greater than a predetermined decrease determination value ⁇ EPj. If the remaining power capacity decrease amount ⁇ EPr is equal to or greater than the decrease determination value ⁇ EPj (determination is YES), the process proceeds to step S212. This is the case where the software update continuation permitting unit 14 does not permit continuation of the software update.
  • step S203 If it is determined in step S203 that the remaining power capacity decrease amount ⁇ EPr is less than the decrease determination value ⁇ EPj (determination is NO), the process proceeds to step S209. This is the case where the software update continuation permitting unit 14 permits continuation of the software update.
  • step S209 the software update control unit 11 determines whether the software update has been completed. It is determined whether or not rewriting of the update software to the storage device 91 has been completed. If the software update has not been completed (determination is NO), the process ends. The software is being updated, and the software update will continue as it is.
  • step S209 if the software update has been completed (determination is YES), proceed to step S210.
  • step S210 the software update flag is cleared.
  • step S211 the transmission unit 19 is instructed to notify the server of the completion of the software update, and the process ends.
  • step S212 the software updating flag is cleared. Then, in step S213, the software update by the software update control unit 11 is stopped. In step S214, the transmission unit 19 is instructed to notify the server of the cancellation of the software update, and the process ends.
  • the vehicle control device 100 since the vehicle control device 100 according to Embodiment 1 is configured as described above, when the capacity of the battery 20 is rapidly decreased due to factors such as aging deterioration of the battery 20, adhesion of electric field substances to the electrodes, and a rapid increase in power consumption of the vehicle, can correspond to By detecting the amount of decrease in remaining power supply capacity ⁇ EPr in such a case, it is possible to appropriately respond to an unexpected change in the state of battery 20 . As a result, abnormal operation of the vehicle control device 100 can be prevented, and software can be updated with high stability.
  • Embodiment 2 Since the configuration of the vehicle control device 100 shown in FIGS. 1 and 2 can be applied as it is to the vehicle control device according to the second embodiment, the description will be made using the same reference numerals. Although the vehicle control device 100 according to Embodiment 2 can be realized only by changing the software, it may be accompanied by changing the hardware.
  • the vehicle control device 100 differs from the first embodiment in that the determination of the software update continuation permitting unit 14 is further added in the software update continuation process.
  • the software update power calculator 12 calculates the software update continuous power EPcrv, which is the power required to write the unwritten part of the software. Then, the software update continuation permitting unit 14 corrects the amount of decrease in remaining power capacity ⁇ EPr and compares it with the remaining power capacity EPr.
  • the software update continuation permission unit 14 permits software update continuation only when the remaining power supply capacity EPr is greater than the corrected software update continuation power EPcrv.
  • the software update continuation permitting unit 14 compares the remaining power capacity reduction amount ⁇ EPr detected by the remaining power capacity reduction detection unit 16 with a predetermined reduction determination value ⁇ EPj. If the remaining power capacity decrease amount ⁇ EPr is greater than the decrease determination value ⁇ EPj, the software update continuation permitting unit 14 determines that the remaining power capacity of the battery 20 may not allow the software update to be completed, and does not permit continuation of software rewriting. .
  • the software update continuation permitting unit 14 calculates the software update continuation power EPcrv. Then, the software update continuation power EPcrv is corrected according to the amount of decrease in remaining power capacity ⁇ EPr. If the remaining power supply capacity decrease amount ⁇ EPr is less than 0 (if the remaining power supply capacity has not decreased), the software update continuous power EPcrv is used without correction.
  • the power remaining capacity decrease amount ⁇ EPr is 0 or more (when the power remaining capacity is decreasing)
  • the power remaining capacity decrease amount ⁇ EPr is compared with a predetermined decrease determination value ⁇ EPj. If the remaining power capacity decrease amount ⁇ EPr is equal to or less than the decrease determination value ⁇ EPr, the software update continuous power EPcrv is increased by a function according to the remaining power capacity decrease amount ⁇ EPr. If the remaining power capacity decrease amount ⁇ EPr is greater than the decrease determination value ⁇ EPj, the software update continuous power EPcrv is multiplied by a predetermined increase rate GEP when the remaining power capacity decreases to increase it.
  • the software update continuation permitting unit 14 permits continuation of software rewriting.
  • FIG. 5 is a first flowchart showing software update continuation processing of the vehicle control device 100 according to the second embodiment.
  • FIG. 6 is a second flowchart showing software update continuation processing of the vehicle control device 100 according to the second embodiment. The flowchart of FIG. 6 shows the continuation of the flowchart of FIG.
  • steps S202 and S203 of the flowchart shown in FIG. 4 according to the first embodiment are replaced with steps S222 in FIG. 5 to step S228 in FIG.
  • the part that is marked is different. The different parts will be described below.
  • step S222 the remaining power capacity decrease amount ⁇ EPr is detected, the remaining power capacity EPr is detected, and the software update continuous power EPcrv is calculated. Then, in step S223, it is determined whether or not the amount of decrease in remaining power capacity ⁇ EPr is equal to or greater than a predetermined decrease determination value ⁇ EPj. If the remaining power capacity decrease amount ⁇ EPr is equal to or greater than the decrease determination value ⁇ EPj (determination is YES), the process advances to step S212 in FIG. 6 to perform a series of processes for canceling software update. This is the case where the software update continuation permitting unit 14 does not permit continuation of the software update.
  • step S223 If it is determined in step S223 that the remaining power capacity decrease amount ⁇ EPr is less than the decrease determination value ⁇ EPj (determination is NO), the process proceeds to step S224.
  • step S224 it is determined whether or not the remaining power capacity decrease amount ⁇ EPr is smaller than zero. If the remaining power capacity decrease amount ⁇ EPr is less than 0 (determination is YES), the remaining power capacity is negative (the remaining power capacity is increasing). This is the case when the battery 20 is being charged. In this case, the process proceeds to step S228 in FIG. 6 without correcting the software update continuous power EPcrv.
  • step S224 If it is determined in step S224 that the power remaining capacity decrease amount ⁇ EPr is not less than 0 (determination is NO), the process proceeds to step S225.
  • step S225 it is determined whether or not the remaining power capacity decrease amount ⁇ EPr is equal to or less than a predetermined second decrease determination value ⁇ EPj2. If the remaining power capacity decrease amount ⁇ EPr is not equal to or less than the second decrease determination value ⁇ EPj2 (determination is NO), the process proceeds to step S227.
  • step S227 the software update continuous power EPcrv is multiplied by a predetermined increase rate GEP when the remaining power supply capacity is low, and the increase correction is performed. Then, the process proceeds to step S228 in FIG.
  • step S225 If it is determined in step S225 that the remaining power capacity decrease amount ⁇ EPr is equal to or less than the second decrease determination value ⁇ EPj2 (determination is YES), the process proceeds to step S226.
  • step S226 the software update continuous power EPcrv is multiplied by a function corresponding to the amount of decrease in remaining power supply capacity ⁇ EPr to perform an increase correction. Then, the process proceeds to step S228 in FIG.
  • step S228 in FIG. 6 it is determined whether or not the remaining power supply capacity EPr is greater than the software update continuous power EPcrv. If the remaining power supply capacity EPr is not greater than the software update continuous power EPcrv (determination is NO), the process advances to step S212 to perform a series of processes for canceling the software update.
  • the vehicle control device 100 Since the vehicle control device 100 according to the second embodiment is configured as described above, it corrects the software update continuous power EPcrv according to the remaining power supply capacity decrease amount ⁇ EPr, and finely determines whether the software update can be continued. can do. This makes it possible to appropriately respond to unexpected changes in the state of the battery 20, and to continue updating the software if it is possible. As a result, it is possible to prevent abnormal operation of the vehicle control device 100 and increase opportunities for highly stable software updates.
  • Embodiment 3 Since the configuration of the vehicle control device 100 shown in FIGS. 1 and 2 can be applied as it is to the vehicle control device according to Embodiment 3, the reference numerals will be used as they are in the description. Although the vehicle control device 100 according to Embodiment 3 can be realized only by changing the software, it may be accompanied by changing the hardware.
  • the vehicle control apparatus 100 performs the software update continuation process in contrast to the second embodiment, in which the detection of the remaining power supply capacity decrease detection unit 16 is performed based on the power supply voltage Vb of the battery 20 and the power supply voltage drop amount ⁇ Vb. to implement.
  • the power supply voltage drop amount ⁇ Vb is the amount of voltage drop from the power supply voltage at the start of the software update.
  • the power supply voltage decrease amount determination value ⁇ Vbng, the upper voltage Vbh, and the lower voltage Vbl of the battery 20 are determined in advance.
  • the power supply voltage drop amount determination value ⁇ Vbng is a drop amount determination value from the power supply voltage Vb at the start of the software update, and is set to 1.5 V, for example. If the power supply voltage drops below this judgment value, the software update is stopped.
  • the upper voltage Vbh is set at 12.5V, for example, and the lower voltage Vbl is set at 11.5V, for example.
  • the software update continuous power EPcrv is increased and corrected according to the amount of power supply voltage drop ⁇ Vb from the power supply voltage Vb at the start of the software update. For example, the software update continuous power EPcrv is increased by 5% each time the voltage drops by 0.1V. The software update continuous power EPcrv after the increase correction is compared with the remaining power supply capacity EPr.
  • the software update continuous power EPcrv is corrected to increase by 100%.
  • the software update continuous power EPcrv after the increase correction is compared with the remaining power supply capacity EPr.
  • the software update continuous power EPcrv is compared with the remaining power supply capacity EPr, and software update is permitted when the remaining power supply capacity EPr is larger. By doing so, it is possible to determine whether or not to continue updating the software by detecting the power supply voltage Vb and the power supply voltage drop amount ⁇ Vb.
  • FIG. 7 is a first flowchart showing software update continuation processing of the vehicle control device 100 according to the third embodiment.
  • the flowchart in FIG. 6 according to the second embodiment is used as it is.
  • the flowchart in FIG. 7 will be described below.
  • the flowchart in FIG. 7 is executed at predetermined time intervals (for example, every 10 ms, every 30 seconds, etc.).
  • the processing of the flowchart of FIG. 7 may be executed for each event such as each time the vehicle travels a predetermined distance instead of every predetermined time.
  • step S201 it is determined whether or not the software updating flag is set. If the software updating flag is not set (determination is NO), the process ends. If the software updating flag is set (determination is YES), the process proceeds to step S232.
  • step S232 the power supply voltage Vb and the amount of power supply voltage drop ⁇ Vb are detected. Then, the remaining power capacity decrease amount ⁇ EPr is detected, the remaining power capacity EPr is detected, and the software update continuous power EPcrv is calculated.
  • step S233 it is determined whether or not the power supply voltage drop amount ⁇ Vb is equal to or greater than the power supply voltage drop amount determination value ⁇ Vbng. If the power supply voltage drop amount ⁇ Vb is equal to or greater than the power supply voltage drop amount determination value ⁇ Vbng (determination is YES), the process advances to step S212 in FIG. 6 to perform a series of processes for canceling software update. This is the case where the software update continuation permitting unit 14 does not permit continuation of the software update.
  • step S233 If the power supply voltage drop amount ⁇ Vb is less than the power supply voltage drop amount determination value ⁇ Vbng in step S233 (determination is NO), the process proceeds to step S234. In step S234, it is determined whether the power supply voltage Vb is equal to or higher than the upper voltage Vbh. If the power supply voltage Vb is equal to or higher than the upper voltage Vbh (determination is YES), there is no abnormal drop in the power supply voltage. In this case, the process proceeds to step S228 in FIG. 6 without correcting the software update continuous power EPcrv.
  • step S234 if the power supply voltage Vb is less than the upper voltage Vbh (determination is NO), the process proceeds to step S235.
  • step S235 it is determined whether the power supply voltage Vb is less than the lower voltage Vbl. If the power supply voltage Vb is less than the lower voltage Vbl (determination is YES), the process proceeds to step S237.
  • step S237 an increase correction is performed to increase (double) the software update continuous power EPcrv by 100%. Then, the process proceeds to step S228 in FIG.
  • step S235 if the power supply voltage Vb is equal to or higher than the lower voltage Vbl (determination is NO), the process proceeds to step S236.
  • step S236 the software update continuous power EPcrv is corrected to increase by 5% for every 0.1V drop with respect to the power supply voltage drop amount ⁇ Vb. That is, the correction is multiplied by (1+ ⁇ Vb ⁇ 0.5). Then, the process proceeds to step S228 in FIG.
  • the vehicle control device 100 Since the vehicle control device 100 according to Embodiment 3 is configured as described above, it is possible to determine whether or not to continue updating the software by detecting the power supply voltage Vb and the power supply voltage drop amount ⁇ Vb. By correcting the software update continuation power EPcrv according to the power supply voltage drop amount ⁇ Vb, it is possible to finely determine whether or not the software update can be continued. With a simple method, it is possible to prevent abnormal operation of the vehicle control device 100 and increase opportunities for highly stable software updates.
  • Embodiment 4 Since the configuration of the vehicle control device 100 shown in FIGS. 1 and 2 can be applied as it is to the vehicle control device according to the fourth embodiment, the description will be made using the same reference numerals. Although the vehicle control device 100 according to Embodiment 4 can be realized only by changing the software, it may be accompanied by changing the hardware.
  • CCA is an evaluation standard defined by US battery standards. It is specified to have a terminal voltage of 7.2 V or higher when a rated current is applied for 30 seconds in an environment of -18°C.
  • CCA630A is the ability of a battery to maintain a terminal voltage of 7.2V or higher while continuously supplying a current of 630A for 30 seconds under an environment of -18°C.
  • CCA conductance method, impedance method, resistance method, etc. to measure CCA.
  • CCA can also be easily confirmed by a tester for measuring CCA.
  • the remaining power capacity EPr of the battery 20 is confirmed based on the cold cranking current CCA, the CCA ratio Rcca, and the CCA ratio reduction amount ⁇ Rcca.
  • the CCA decrease amount determination value ⁇ Rccang, the CCA upper ratio Rccah, and the CCA lower ratio Rccal are determined in advance.
  • the CCA reduction amount judgment value ⁇ Rccang is a judgment value of the CCA ratio reduction amount ⁇ Rcca from the CCA ratio Rcca at the start of the software update, and is set to 35%, for example.
  • the CCA upper ratio Rccah is set to 100%, for example, and the CCA lower ratio Rccal is set to 70%, for example.
  • the software update continuous power EPcrv is increased and corrected according to the CCA ratio decrease amount ⁇ Rcca from the CCA ratio Rccast at the start of the software update. For example, each time the CCA ratio Rcca decreases, the software update continuous power EPcrv is increased by the decreased ratio of the CCA ratio decrease amount ⁇ Rcca. The software update continuous power EPcrv after the increase correction is compared with the remaining power supply capacity EPr.
  • the software update continuous power EPcrv is corrected to increase by 100%.
  • the software update continuous power EPcrv after the increase correction is compared with the remaining power supply capacity EPr.
  • the software update continuous power EPcrv is compared with the remaining power supply capacity EPr, and software update is permitted when the remaining power supply capacity EPr is larger. By doing so, it is possible to determine whether or not to continue updating the software by detecting the CCA ratio Rcca and the CCA ratio decrease amount ⁇ Rcca.
  • FIG. 8 is a first flowchart showing software update continuation processing of the vehicle control device 100 according to the fourth embodiment.
  • the flowchart in FIG. 6 according to the second embodiment is used as it is.
  • the flowchart in FIG. 8 will be described below.
  • the flowchart in FIG. 8 is executed at predetermined time intervals (for example, every 10 ms, every 30 seconds, etc.).
  • the processing of the flowchart of FIG. 8 may be executed for each event such as each time the vehicle travels a predetermined distance instead of every predetermined time.
  • step S201 it is determined whether or not the software updating flag is set. If the software updating flag is not set (determination is NO), the process ends. If the software updating flag is set (determination is YES), the process proceeds to step S242.
  • step S242 the CCA ratio Rcca and the CCA ratio decrease amount ⁇ Rcca are detected. Then, the remaining power capacity EPr is detected, and the software update continuous power EPcrv is calculated.
  • step S243 it is determined whether or not the CCA ratio decrease amount ⁇ Rcca is equal to or greater than the CCA decrease amount determination value ⁇ Rccang. If the CCA ratio decrease amount ⁇ Rcca is equal to or greater than the CCA decrease amount determination value ⁇ Rccang (determination is YES), the process advances to step S212 in FIG. 6 to perform a series of processes for canceling the software update. This is the case where the software update continuation permitting unit 14 does not permit continuation of the software update.
  • step S243 If it is determined in step S243 that the CCA ratio reduction amount ⁇ Rcca is less than the CCA reduction amount judgment value ⁇ Rccang (determination is NO), the process proceeds to step S244.
  • step S244 it is determined whether the CCA ratio Rcca is greater than or equal to the CCA upper ratio Rccah. When the CCA ratio Rcca is greater than or equal to the CCA upper ratio Rccah (determination is YES), there is no abnormal power supply voltage drop. In this case, the process proceeds to step S228 in FIG. 6 without correcting the software update continuous power EPcrv.
  • step S244 if the CCA ratio Rcca is less than the CCA upper ratio Rccah (determination is NO), the process proceeds to step S245. In step S245, it is determined whether the CCA ratio Rcca is less than the CCA lower ratio Rccal. If the CCA ratio Rcca is less than the CCA lower ratio Rccal (determination is YES), the process proceeds to step S247.
  • step S247 an increase correction is performed to increase (double) the software update continuous power EPcrv by 100%. Then, the process proceeds to step S228 in FIG.
  • step S245 If it is determined in step S245 that the CCA ratio Rcca is greater than or equal to the CCA lower ratio Rccal (determination is NO), the process proceeds to step S246.
  • step S246 the software update continuous power EPcrv is corrected to increase by the rate of decrease of the CCA ratio decrease amount ⁇ Rcca. That is, the correction is multiplied by (1+ ⁇ Rcca). Then, the process proceeds to step S228 in FIG.
  • the vehicle control device 100 Since the vehicle control device 100 according to Embodiment 4 is configured as described above, it is possible to determine whether or not to continue updating the software by detecting the CCA ratio Rcca and the CCA ratio decrease amount ⁇ Rcca. By correcting the software update continuation power EPcrv according to the CCA ratio decrease amount ⁇ Rcca, it is possible to finely determine whether or not the software update can be continued. It is possible to prevent abnormal operation of the vehicle control device 100 and increase opportunities for highly stable software updates.
  • Embodiment 5 Since the configuration of the vehicle control device 100 shown in FIGS. 1 and 2 can be applied as it is to the vehicle control device according to the fifth embodiment, the description will be made using the reference numerals as they are. Although the vehicle control device 100 according to Embodiment 5 can be realized only by changing the software, it may be accompanied by changing the hardware.
  • the vehicle control device 100 performs the detection of the remaining power supply capacity decrease detection unit 16 based on the battery fluid specific gravity SG of the battery 20 in the software update continuation process in contrast to the second embodiment. This case will be specifically described.
  • the battery liquid specific gravity SG has a correlation with the state of charge of the battery. Therefore, by detecting the battery liquid specific gravity SG, it is possible to calculate the power remaining capacity EPr.
  • the remaining power capacity EPr of the battery 20 is confirmed based on the battery liquid specific gravity SG and the battery liquid specific gravity decrease amount ⁇ SG.
  • the battery liquid specific gravity decrease amount determination value ⁇ SGng, the battery liquid upper specific gravity SGh, and the battery liquid lower specific gravity SGl are determined in advance.
  • the battery fluid specific gravity decrease amount determination value ⁇ SGng is a determination value of the battery fluid specific gravity decrease amount ⁇ SG from the battery fluid specific gravity SG at the start of the software update, and is set to 0.08, for example. If the battery fluid specific gravity decrease amount ⁇ SG increases beyond this determination value, the software update is stopped.
  • the upper battery fluid specific gravity SGh is set to 1.28, for example, and the lower battery fluid specific gravity SGl is set to 1.21, for example.
  • the software update continuous power EPcrv is increased according to the battery fluid specific gravity decrease amount ⁇ SG from the battery fluid specific gravity SG at the start of the software update. to correct. For example, every time the battery liquid specific gravity SG decreases by 0.01, the software update continuous power EPcrv is increased by 7%. The software update continuous power EPcrv after the increase correction is compared with the remaining power supply capacity EPr.
  • the software update continuous power EPcrv is corrected to increase by 100%.
  • the software update continuous power EPcrv after the increase correction is compared with the remaining power supply capacity EPr.
  • the software update continuous power EPcrv is compared with the remaining power supply capacity EPr, and software update is permitted when the remaining power supply capacity EPr is larger. By doing so, it is possible to determine whether or not to continue updating the software by detecting the battery fluid specific gravity SG and the battery fluid specific gravity decrease amount ⁇ SG.
  • FIG. 9 is a first flowchart showing software update continuation processing of the vehicle control device 100 according to the fifth embodiment.
  • the flowchart in FIG. 6 according to the second embodiment is used as it is.
  • the flowchart in FIG. 9 will be described below.
  • the flowchart in FIG. 9 is executed at predetermined time intervals (for example, every 10 ms, 30 seconds, etc.).
  • the processing of the flowchart of FIG. 9 may be executed for each event such as each time the vehicle travels a predetermined distance instead of every predetermined time.
  • step S201 it is determined whether or not the software updating flag is set. If the software updating flag is not set (determination is NO), the process ends. If the software updating flag is set (determination is YES), the process proceeds to step S252.
  • step S252 the battery liquid specific gravity SG and the battery liquid specific gravity decrease amount ⁇ SG are detected. Then, the remaining power capacity EPr is detected, and the software update continuous power EPcrv is calculated.
  • step S253 it is determined whether or not the battery fluid specific gravity decrease amount ⁇ SG is equal to or greater than the battery fluid specific gravity decrease amount determination value ⁇ SGng. If the battery fluid specific gravity decrease amount ⁇ SG is equal to or greater than the battery fluid specific gravity decrease amount determination value ⁇ SGng (determination is YES), the process proceeds to step S212 in FIG. 6 to perform a series of processing for canceling the software update. This is the case where the software update continuation permitting unit 14 does not permit continuation of the software update.
  • step S253 If it is determined in step S253 that the battery liquid specific gravity decrease amount ⁇ SG is less than the battery liquid specific gravity decrease amount determination value ⁇ SGng (determination is NO), the process proceeds to step S254.
  • step S254 it is determined whether or not the battery fluid specific gravity SG is equal to or greater than the battery fluid upper specific gravity SGh. When the battery liquid specific gravity SG is equal to or higher than the battery liquid upper specific gravity SGh (determination is YES), there is no abnormal drop in the power supply voltage. In this case, the process proceeds to step S228 in FIG. 6 without correcting the software update continuous power EPcrv.
  • step S254 if the battery fluid specific gravity SG is less than the battery fluid upper specific gravity SGh (determination is NO), the process proceeds to step S255.
  • step S245 it is determined whether the battery liquid specific gravity SG is less than the battery liquid lower side specific gravity SGl. If the battery liquid specific gravity SG is less than the battery liquid lower side specific gravity SGl (determination is YES), the process proceeds to step S257.
  • step S257 an increase correction is performed to increase (double) the software update continuous power EPcrv by 100%. Then, the process proceeds to step S228 in FIG.
  • step S255 If it is determined in step S255 that the battery liquid specific gravity SG is greater than or equal to the battery liquid lower side specific gravity SGl (determination is NO), the process proceeds to step S256.
  • step S256 the software update continuous power EPcrv is corrected to increase the software update continuous power EPcrv by 7% each time the battery liquid specific gravity decrease amount ⁇ SG increases by 0.01. That is, the correction is multiplied by (1+ ⁇ SG ⁇ 7). Then, the process proceeds to step S228 in FIG.
  • the vehicle control device 100 Since the vehicle control device 100 according to Embodiment 5 is configured as described above, it is possible to determine whether to continue updating the software by detecting the battery fluid specific gravity SG and the battery fluid specific gravity decrease amount ⁇ SG. By correcting the software update continuation power EPcrv according to the battery liquid specific gravity decrease amount ⁇ SG, it is possible to finely determine whether or not the software update can be continued. It is possible to prevent abnormal operation of the vehicle control device 100 and increase opportunities for highly stable software updates.
  • Embodiment 6 Since the vehicle control device 100 according to Embodiment 6 can apply the configuration of the vehicle control device 100 shown in FIGS. Although the vehicle control device 100 according to Embodiment 6 can be realized only by changing the software, it may be accompanied by changing the hardware.
  • the detection of the remaining power supply capacity reduction detection unit 16 is performed based on the age of the battery, the battery dead history, and the driving situation. implement. This case will be specifically described.
  • the battery 20 installed in the vehicle may be used for five years or more beyond the usable life (service life of the product). In such a case, it can be assumed that the battery 20 has deteriorated. Then, there is a possibility that the remaining power capacity EPr will drop rapidly when updating the software.
  • the state of the battery 20 changes greatly depending on the usage conditions of the vehicle. If the vehicle has not been moved for one month or more, it is possible that there is no opportunity to charge the battery 20 by the prime mover of the vehicle and the remaining capacity of the power supply is greatly reduced. Further, even when the vehicle is running, if the vehicle travels 10 times or more in a row within a distance of 2 km, there is no opportunity for the battery 20 to be fully charged by the motor of the vehicle. It can be assumed that the capacity is greatly reduced. In this case as well, there is a possibility that the remaining power capacity EPr will drop rapidly when the software is updated.
  • FIG. 10 is a third flowchart showing software update continuation processing of the vehicle control device 100 according to the sixth embodiment.
  • the flowchart of FIG. 10 is inserted before step S228 of the second flowchart of FIG. 6 according to the second embodiment.
  • the first flowchart of FIG. 5 is provided before the flowchart of FIG. 10, and the second flowchart of FIG. 6 is provided after the flowchart of FIG. Processing is executed in the order of the flowcharts of FIGS. Since FIGS. 5 and 6 are used as they are, FIG. 10 will be explained here.
  • step S261 it is determined whether or not the elapsed time since the battery 20 was installed in the vehicle is equal to or longer than the usable life (durable life) of the battery 20 plus five years. In step S261, if the battery elapsed time (elapsed time) is shorter than the service life plus five years (determination is NO), the process proceeds to step S263.
  • step S261 If it is determined in step S261 that the battery elapsed time (elapsed time) is equal to or greater than the service life + 5 years (determination is YES), the process proceeds to step S262 to increase and correct the software update continuous power EPcrv by 100%. After that, the process proceeds to step S263.
  • step S263 it is determined whether the battery 20 has a history of two or more dead batteries. If there is no history of two or more dead batteries (determination is NO), the process proceeds directly to step S265.
  • step S263 if there is a history of two or more dead batteries (determination is YES), the process proceeds to step S264 to increase and correct the software update continuous power EPcrv by 100%. After that, the process proceeds to step S265.
  • step S265 the running state of the vehicle is determined. Determine whether the vehicle has been parked for one month or more or has traveled 2 km or less 10 times or more. If the vehicle has not stopped for one month or more and has not traveled 2 km or less ten times or more (determination is NO), the process proceeds to step S228 in FIG.
  • step S265 If it is determined in step S265 that the vehicle has been parked for one month or more or has traveled 2 km or less 10 times or more (determination is YES), the process proceeds to step S266 to increase and correct the software update continuous power EPcrv by 100%. After that, the process proceeds to step S228 in FIG.
  • the vehicle control device 100 can provide software update continuous power in situations such as the battery's age being exceeded, the battery dying history, the vehicle being stopped for a long period of time, and the vehicle being repeatedly driven for a short distance.
  • EPcrv By correcting EPcrv, it is possible to finely determine whether software update can be continued. It is possible to prevent abnormal operation of the vehicle control device 100 and increase opportunities for highly stable software updates.
  • Embodiment 7 Since the vehicle control device 100 according to Embodiment 7 can apply the configuration of the vehicle control device 100 shown in FIGS. Although the vehicle control device 100 according to Embodiment 7 can be realized only by changing the software, it may be accompanied by changing the hardware.
  • the vehicle control device 100 calculates the time Trv until the completion of software writing in the software update continuation process in contrast to the first embodiment, and the time Trv is equal to or less than the predetermined writing completion time Tcmp. If it is completed, the software update continuation permitting unit 14 does not determine whether to continue the software update.
  • the write completion time Tcmp may be set to 2 minutes, for example. An appropriate value may be set for the write completion time Tcmp through experiments or simulations.
  • FIG. 11 is a flowchart showing software update continuation processing of the vehicle control device according to the seventh embodiment. The only difference is that steps S271 and S272 are newly added between steps S201 and S202 of the flowchart showing the software update continuation process in FIG. 4 according to the first embodiment. Describe the added parts.
  • step S271 the time Trv until the completion of writing the update software in the storage device 91 is calculated for software update. Then, the process proceeds to step S272.
  • step S272 it is determined whether the time Trv until writing is completed is equal to or shorter than the predetermined writing completion time Tcmp. If the write completion time Trv is equal to or shorter than the write completion time Tcmp, the process advances to step S209 to confirm whether the software update has been completed.
  • Embodiment 8 Since the vehicle control device 100 according to Embodiment 8 can apply the configuration of the vehicle control device 100 shown in FIGS. Although the vehicle control device 100 according to Embodiment 8 can be realized only by changing the software, it may be accompanied by changing the hardware.
  • the vehicle control device 100 according to the eighth embodiment is different from the first embodiment in that in the software update continuation process, the power obtained by adding the predetermined excess power EPex to the software update power EPrv calculated in the software update start process is reduced. , is larger than the remaining power capacity EPr. If the remaining power supply capacity EPr has a sufficient margin over the software update power EPrv (there is a margin corresponding to the excess power EPex), the software update continuation permitting unit 14 during the software update does not determine whether to continue.
  • the excess power EPex may be set to, for example, 20% of the power remaining capacity when the battery 20 is fully charged. Excess power EPex may be set to an appropriate value through experiments or simulations.
  • the software update work can be efficiently completed in a short time by omitting the software update continuation decision. Also, since unnecessary processing can be omitted, wasteful consumption of the remaining power capacity of the battery 20 can be reduced.
  • FIG. 12 is a flowchart showing software update continuation processing of the vehicle control device according to the eighth embodiment. Only the part where step S281 is newly added between step S201 and step S202 of the flowchart showing the software update continuation process in FIG. 4 according to the first embodiment is different. Describe the added parts.
  • step S281 it is determined whether or not the remaining power supply capacity EPr is greater than the sum of the software update power EPrv and the excess power EPex. If the remaining power supply capacity EPr is not greater than the sum of the software update power EPrv and the excess power EPex (determination is NO), the process proceeds to step S202 to determine whether the software update can be continued.
  • step S281 If it is determined in step S281 that the remaining power supply capacity EPr is greater than the sum of the software update power EPrv and the excess power EPex (determination is YES), the process proceeds to step S209 to check whether the software update has been completed.
  • Embodiment 9 Since the configuration of the vehicle control device 100 shown in FIGS. 1 and 2 can be applied as it is to the vehicle control device 100 according to the ninth embodiment, the reference numerals are used as they are in the description. Although the vehicle control device 100 according to Embodiment 9 can be realized only by changing the software, it may be accompanied by changing the hardware.
  • the vehicle control device 100 shows a case where, in the software update continuation process according to the first embodiment, a decrease in remaining power capacity is monitored based on the polling interval.
  • polling is executed when the polling period Tp is 30 seconds, and software update continuation processing is executed.
  • FIG. 13 is a first time chart for software update of the vehicle control device 100 according to the ninth embodiment.
  • FIG. 13 shows how polling is executed at 30-second intervals for 180 seconds. For example, when the software update power EPrv is calculated to be equivalent to 30% of the remaining power supply capacity when the battery 20 is fully charged, the remaining power supply capacity EPr decreases by about 5% for each polling interval. .
  • the estimated remaining power capacity decrease amount ⁇ EPr is 5% for each polling cycle Tp. Therefore, for example, it is possible to monitor whether or not the amount of remaining power capacity decrease ⁇ EPr exceeding 10%, which is twice this amount, occurs, and if the amount of remaining power capacity decrease ⁇ EPr exceeding 10% occurs, the software update may be stopped. .
  • FIG. 14 is a second time chart for software update of the vehicle control device 100 according to the ninth embodiment.
  • the remaining power capacity decrease amount ⁇ EPr is 12%. Since the remaining power capacity decrease amount ⁇ EPr exceeding 10% has occurred, the update of the software is stopped here.
  • the software update is stopped when the predicted value of the remaining power supply capacity reduction amount ⁇ EPr due to the software update power EPrv for each polling cycle Tp exceeds this double, but it does not have to be double.
  • a judgment value obtained by multiplying the predicted value by the coefficient K may be obtained through experiments, simulations, or the like.
  • FIG. 15 is a flowchart showing software update continuation processing of the vehicle control device according to the ninth embodiment. The only difference is that steps S291 to S293 are newly added between steps S202 and S203 of the flowchart showing the software update continuation process in FIG. 4 according to the first embodiment. The added part will be mainly explained.
  • step S ⁇ b>202 the remaining power capacity drop detection unit 16 detects the remaining power capacity drop amount ⁇ EPr.
  • the difference between the remaining power capacity EPr obtained at each polling and the previous detection value is defined as the amount of decrease in remaining power capacity ⁇ EPr.
  • step S291 the software update time Trp from the start of software update to the completion thereof is calculated. Then, in step S292, the elapsed time ratio RTbp is calculated.
  • the elapsed time ratio RTbp is the ratio between the polling cycle Tp and the software update time Trp.
  • step S293 it is determined whether or not the remaining power supply capacity reduction amount ⁇ EPr is larger than the product of the software update power EPrv and the elapsed time ratio RTbp multiplied by the coefficient K. If the remaining power capacity decrease amount ⁇ EPr is large (determination is YES), it indicates that the remaining power capacity decrease amount ⁇ EPr in the polling interval is larger than the predicted value multiplied by the coefficient K. When it is determined that the remaining power capacity decrease amount ⁇ EPr is unexpectedly large, the process proceeds to step S212 to proceed with the process of canceling the software update.
  • step S293 If it is determined in step S293 that the amount of decrease in remaining power capacity ⁇ EPr is not large (determination is NO), the process proceeds to step S203.
  • step S203 it is determined whether or not the remaining power capacity decrease amount ⁇ EPr is equal to or greater than a predetermined decrease determination value ⁇ EPj.
  • whether or not the software update can be continued is determined based on whether or not the remaining power capacity decrease ⁇ EPr for each polling interval is greater than the predicted value multiplied by the coefficient K.
  • the increase in the remaining power capacity decrease amount ⁇ EPr is higher accuracy than by comparing it with the decrease determination value ⁇ EPj, which is a fixed value. Therefore, abnormal operation of the vehicle control device 100 can be prevented, and software can be updated with high stability.
  • Embodiment 10 Since the configuration of the vehicle control device 100 shown in FIGS. 1 and 2 can be applied as it is to the vehicle control device 100 according to the tenth embodiment, the description will be made using the reference numerals as they are. Although the vehicle control device 100 according to Embodiment 10 can be realized only by changing the software, it may be accompanied by changing the hardware.
  • the vehicle control device 100 performs software update pre-start processing as pre-processing for the software update start processing according to the first embodiment.
  • the vehicle control device 100 receives update software information, which is information about update software, before receiving update software data from the server.
  • the update software information includes information such as the capacity of the update software.
  • the vehicle control device 100 calculates the update software reception power EPrcv required to receive the data of the update software main body. Then, the software update power EPrv for writing the update software to the storage device 91 is calculated.
  • the vehicle control device 100 calculates the software update power EPrcv_rv from the update software information received from the server, and accepts the update software from the server when the remaining power supply capacity EPr is greater than the software update power EPrcv_rv. .
  • the server responds to the refusal to receive updated software data. In this manner, it is possible to determine whether software update is possible with the remaining power supply capacity EPr before receiving update software data. By doing so, it is possible to avoid receiving unnecessary update software. As a result, consumption of the remaining power capacity EPr of the battery 20 can be saved. Then, it becomes possible to update software with high stability.
  • FIG. 16 is a flowchart showing pre-start software update processing of the vehicle control device according to the tenth embodiment. This process is executed prior to the flowchart showing the software update start process in FIG. 3 according to the first embodiment.
  • the processing of the flowchart in FIG. 16 is executed at predetermined intervals (for example, at intervals of 10 ms).
  • the processing of the flowchart of FIG. 16 may be executed for each event, such as each time the vehicle travels a predetermined distance or each time the vehicle control device 100 receives data from the server, instead of every predetermined time.
  • step S111 it is determined whether or not the receiving unit 18 has received updated software information from the server. If the update software has not been received (determination is NO), the process ends. If update software has been received (determination is YES), the process proceeds to step S112.
  • step S112 the update software reception power EPrcv required to receive the data of the update software main body is calculated based on the update software information.
  • step S113 the software update power EPrv for writing the update software to the storage device 91 is calculated.
  • step S114 the update software reception power EPrcv and the software update power EPrv are added to calculate the software reception update power EPrcv_rv.
  • step S115 the remaining power capacity EPr is detected.
  • step S116 it is determined whether the remaining power supply capacity EPr is greater than the software received update power EPrcv_rv. If the remaining power supply capacity EPr is equal to or less than the software reception update power EPrcv_rv (determination is NO), the process proceeds to step S118. In step S118, a response to reject software reception is transmitted to the server. After that, the process ends.
  • step S116 if the remaining power supply capacity EPr is greater than the software received update power EPrcv_rv (determination is YES), the process proceeds to step S117.
  • step S117 a response to acceptance of software reception is transmitted to the server. After that, the process ends.
  • the server After receiving the reception acceptance response from the vehicle control device 100, the server starts transmitting the update software body data to the vehicle control device 100. After receiving the update software, the vehicle control device 100 starts the software update start process whose flowchart is shown in FIG.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mechanical Engineering (AREA)
  • Stored Programmes (AREA)

Abstract

本願はソフトウェア更新を開始後に電源残容量の低下量を検出してソフトウェアの更新継続が可能かどうかを判断して安定性の高いソフトウェアの更新を可能とする。車両用制御装置(100)は、ソフトウェアが書き込まれた記憶装置(91)、更新ソフトウェアを受信する受信部(18)、電源残容量検出部(15)、電源残容量低下検出部(16)、ソフトウェア更新電力算出部(12)、ソフトウェア更新開始許可部(13)、ソフトウェア更新継続許可部(14)、ソフトウェア更新制御部(11)を備え、バッテリ(20)の電源残容量の低下量が予め定められた低下判定値よりも小さい場合にソフトウェアの更新継続を許可する。

Description

車両用制御装置
 本願は、車両用制御装置に関するものである。
 近年、自動車業界では車両用制御装置のソフトウェア更新が採用され始めている。車両用制御装置が外部からソフトウェア更新のためのデータを受信して、そのソフトウェアを保管している記憶装置のソフトウェアの書き換えが実行される。
 車両用制御装置のソフトウェア更新を、安定的に実施するための技術が提案されている。車両用制御装置に電源を供給するバッテリの電源残容量を確認し、ソフトウェア更新を実施することが可能かどうか判断した上で、ソフトウェア更新を実行するソフトウェアの更新方法について提案されている(例えば特許文献1)。
特許第5699893号公報
 特許文献1に記載の技術によれば、車両用制御装置のソフトウェアの更新に際して、車両の動作電源(バッテリ)の残容量を取得する。電源残容量が、ソフトウェア更新に必要な消費電力より規定値より大きい場合にのみソフトウェア更新を実行する。このようにすることで、ソフトウェアの更新中に電源容量が不足して、ソフトウェア更新が中断することを防止することができる。その結果、安定した環境でソフトウェアの更新を実行することができる。
 しかし、特許文献1に記載の技術では、ソフトウェア更新中に電源残容量が急減した場合に対応できない。また、電源残容量の算定は、バッテリ性能の劣化、車両による充電状態の変化などによって誤差が生じる。よって、ソフトウェア更新に十分な電源残容量が確保できている前提でソフトウェア更新を実行しても、ソフトウェアの更新が完了できない場合が想定される。
 本願はかかる課題を解決するためになされたものである。車両に搭載された車両用制御装置のソフトウェアを更新する場合に、電源残容量を検出してソフトウェア更新電力よりも大きい場合にソフトウェア更新を開始し、ソフトウェア更新を開始後に電源残容量の低下量を検出してソフトウェアの更新継続が可能かどうかを判断して安定性の高いソフトウェアの更新を可能とする車両用制御装置を得ることを目的とする。
 本願に係る車両用制御装置は、
 ソフトウェアが書き込まれた記憶装置、
 ソフトウェアを更新する更新ソフトウェアを受信する受信部、
 バッテリの電源残容量を検出する電源残容量検出部、
 バッテリの電源残容量の低下量を検出する電源残容量低下検出部、
 更新ソフトウェアを記憶装置に書き込むためのソフトウェア更新電力を算出するソフトウェア更新電力算出部、
 電源残容量検出部によって検出されたバッテリの残容量が、ソフトウェア更新電力算出部によって算出されたソフトウェア更新電力よりも大きい場合に、ソフトウェアの更新開始を許可するソフトウェア更新開始許可部、
 バッテリの電源残容量の低下量が予め定められた低下判定値よりも小さい場合にソフトウェアの更新継続を許可するソフトウェア更新継続許可部、
 ソフトウェア更新開始許可部によってソフトウェアの更新開始を許可された場合に更新ソフトウェアの記憶装置への書き込みを開始し、更新ソフトウェアの記憶装置への書き込み中にソフトウェア更新継続許可部によってソフトウェアの更新継続を許可された場合に更新ソフトウェアの記憶装置への書き込みを継続し、ソフトウェア更新開始許可部またはソフトウェア更新継続許可部の判定が不許可の場合は更新ソフトウェアの記憶装置への書き込みを中止するソフトウェア更新制御部、を備えたものである。
 本願に係る車両用制御装置では、車両に搭載された車両用制御装置のソフトウェアを更新する場合に、バッテリ残容量を検出してソフトウェア更新電力よりも大きい場合にソフトウェア更新を開始し、ソフトウェア更新を開始後に電源残容量の低下量を検出してソフトウェアの更新継続が可能かどうかを判断して安定性の高いソフトウェアの更新が可能となる。
実施の形態1に係る車両用制御装置の構成図である。 実施の形態1に係る車両用制御装置のハードウェア構成図である。 実施の形態1に係る車両用制御装置のソフトウェア更新開始処理を示すフローチャートである。 実施の形態1に係る車両用制御装置のソフトウェア更新継続処理を示すフローチャートである。 実施の形態2に係る車両用制御装置のソフトウェア更新継続処理を示す第一のフローチャートである。 実施の形態2に係る車両用制御装置のソフトウェア更新継続処理を示す第二のフローチャートである。 実施の形態3に係る車両用制御装置のソフトウェア更新継続処理を示す第一のフローチャートである。 実施の形態4に係る車両用制御装置のソフトウェア更新継続処理を示す第一のフローチャートである。 実施の形態5に係る車両用制御装置のソフトウェア更新継続処理を示す第一のフローチャートである。 実施の形態6に係る車両用制御装置のソフトウェア更新継続処理を示す第三のフローチャートである。 実施の形態7に係る車両用制御装置のソフトウェア更新継続処理を示すフローチャートである。 実施の形態8に係る車両用制御装置のソフトウェア更新継続処理を示すフローチャートである。 実施の形態9に係る車両用制御装置のソフトウェア更新の第一のタイムチャートである。 実施の形態9に係る車両用制御装置のソフトウェア更新の第二のタイムチャートである。 実施の形態9に係る車両用制御装置のソフトウェア更新継続処理を示すフローチャートである。 実施の形態10に係る車両用制御装置のソフトウェア更新開始前処理を示すフローチャートである。
 以下、本願の実施の形態に係る車両用制御装置について、図面を参照して説明する。
1.実施の形態1
<車両用制御装置の構成>
 図1は、実施の形態1に係る車両用制御装置100の構成図である。車両に搭載された車両用制御装置100は、通信部99、ソフトウェア更新制御部11、ソフトウェア更新電力算出部12、ソフトウェア更新開始許可部13、ソフトウェア更新継続許可部14、電源残容量検出部15、電源残容量低下検出部16を有し、バッテリ20に接続している。
 車両用制御装置100は、演算処理装置で実行するソフトウェアを格納する記憶装置91を備える。ここで演算処理装置は、車両用制御装置100の情報処理をすべて引き受けていてもよいが、エンジン制御、走行制御、ブレーキ制御などの特定の制御に特化してそれぞれ設けられていてもよい。
 図1では、記憶装置91は車両用制御装置100の内部に備えられた例を示している。しかし、記憶装置91は車両用制御装置100の外部に設けられた独立した制御装置に備えられていてもよい。さらに、記憶装置91は演算処理装置とともに複数設けられ、車両用制御装置100と接続されていてもよい。
<更新ソフトウェアの受信>
 車両用制御装置100の通信部99は、受信部18と送信部19を有し、外部と通信を行ってソフトウェア更新のためのデータを受信する。通信部99が通信を行う対象は、車両内の別の制御装置、車両のダイアグノシスコネクタに一時的に接続された再プログラミング装置、広域通信網を介して相互通信可能とした車外のサーバであってもよい。
 ここでは、車両用制御装置100が、車外のサーバ(不図示)と通信する場合について説明する。サーバは、車両用制御装置100の記憶装置91に書き込まれたソフトウェアの更新ソフトウェアに関するデータを送信する。車両用制御装置100の通信部99の受信部18で受信した更新ソフトウェアについて、ソフトウェア更新制御部11が記憶装置91への書き込みを制御する。
 記憶装置91に記憶されたソフトウェアを更新するに際して、ソフトウェアの書き換えを完了することが可能かどうか確認してから、書き換えを実行する。車両用制御装置100が電力を供給されるバッテリ20の電源残容量が枯渇している場合がある。そのような場合、ソフトウェアの書き換えの最中にバッテリ20の電圧が低下して、車両用制御装置100の動作が不安定になる事態も想定される。その場合、記憶装置91の書き換え途中のソフトウェアが異常動作を引き起こすことも考えられる。
 バッテリ20の電源残容量が充分であると判断して、ソフトウェアの書き換えを開始した場合であっても、問題が発生する場合が想定できる。バッテリ20の劣化、車両の電力消費の増大などの要因により、バッテリ20の電源残容量が急減する場合がある。また、当初のバッテリ20の電源残容量の検出または算出が不正確であって、実際の電源残容量が車両用制御装置100の認識している電源残容量よりも少ない場合もありうる。
 そこで、ソフトウェアの書き換えの最中に、バッテリ20の残容量の低下量を検出しソフトウェアの更新を継続するべきかどうかを判断する。バッテリ20の電源残容量が充分でないと判断した場合は、バッテリ20の電圧が低下して車両用制御装置100が機能不全となる前にソフトウェアの書き換えを中断し、ソフトウェアの更新を中止した旨、サーバへ通知することができる。
 また、車両用制御装置100での更新中のソフトウェアの実行を停止する、もしくはバックアップ記憶装置のソフトウェア実行に切り替えるなどの適切な対応をとることができる。このようにすることによって、バッテリ20の電源残容量が復活した場合に、ソフトウェア更新を再実施することができ、それまでの車両用制御装置100の異常動作を防止し、安定性の高いソフトウェアの更新が可能となる。
 ソフトウェアの更新に際して、車両のイグニッションスイッチがオフされていることを前提条件としてもよい。車両が停止していて、車両の運動による電源電圧の変動、車両の周囲状況の変化によるノイズの発生などが抑制できる利点が考えられるからである。しかし、車両のイグニッションスイッチのオフを前提条件とせず、車両の走行中にソフトウェアを更新することを許可することとしてもよい。ソフトウェア更新の機会を拡大することができる利点がある。
<ソフトウェア更新電力算出>
 車両用制御装置100の受信部18はサーバから更新用ソフトウェアを受信する。この更新用ソフトウェアに対し、ソフトウェア更新電力算出部12にて記憶装置への書き換え実行に必要な出力であるソフトウェア更新電力EPrvを算出する。ソフトウェア更新電力EPrvを確保できなければ、更新ソフトウェアの書き換えが完了できない。
<電源残容量の検出>
 車両に備えられたバッテリ20は、車両用制御装置100をはじめ、車内の様々な機器に電力を供給する。バッテリ20に接続された電源残容量検出部15は、バッテリの電源残容量EPrを検出する。
 バッテリ20の電源残容量の検出には、バッテリの初期電力容量が把握されている場合、満充電時にこの初期値の電力容量を有しているとして、電源線の電圧、電流を計測し、放電量(電力使用量)と充電量を積算して現在の電源残容量を算出することができる。また、このようにして算出した電源残容量を、電圧を計測して求めた電源電圧Vb、電源電圧低下量ΔVb、計測器で求めたCCA(Cold Cranking Ampere)と初期値と比較したCCA比率、測定器で求めたバッテリ液比重SG(Specific Gravity)などの値によって補正してもよい。
<ソフトウェア更新開始許可>
 ソフトウェア更新開始許可部13は、電源残容量検出部15によって検出された電源残容量EPrと、ソフトウェア更新電力算出部12によって算出されたソフトウェア更新電力EPrvを比較する。電源残容量EPrがソフトウェア更新電力EPrvよりも大きい場合に、ソフトウェア更新開始許可部13は、ソフトウェアの更新開始を許可する。
 電源残容量EPrがソフトウェア更新電力EPrv以下の場合に、ソフトウェア更新開始許可部13は、ソフトウェアの更新開始を許可しない。ソフトウェア更新開始許可部13がソフトウェアの更新開始を許可しなければ、ソフトウェア更新制御部11は、記憶装置91のソフトウェアの書き換えを開始することができない。
<電源残容量低下量の検出>
 バッテリ20に接続された電源残容量低下検出部16は、バッテリ20の電源残容量低下量ΔEPrを検出する。バッテリ20は、経年劣化、電極への電界物質の付着、車両の電力消費の急増などの様々な要因によって容量が急減する場合がある。電源残容量低下検出部16は、このような場合の電源残容量低下量ΔEPrを検出することによって、バッテリ20の状態の予想外の変化に対応を可能とする。
 バッテリ20の電源残容量低下量ΔEPrは、放電量(電力使用量)と充電量を積算して求めた電源残容量の変動値から算出することができる。また電源残容量低下量ΔEPrは、電圧を計測して求めた電源電圧Vb、電源電圧低下量ΔVb、計測器で求めたCCA(Cold Cranking Ampere)と初期値と比較したCCA比率Rcca、CCA比率の変動値であるCCA比率低下量ΔRcca、測定器で求めたバッテリ液比重SG、バッテリ液比重低下量ΔSGなどの値によって求めてもよい。
<ソフトウェア更新継続許可>
 ソフトウェア更新継続許可部14は、電源残容量低下検出部16によって検出された電源残容量低下量ΔEPrをあらかじめ定められた低下判定値ΔEPjと比較する。電源残容量低下量ΔEPrが低下判定値ΔEPj以下であれば、ソフトウェア更新継続許可部14はバッテリ20の電源残容量がソフトウェア更新完了まで維持できると判断し、ソフトウェアの書き換え継続を許可する。
 電源残容量低下量ΔEPrが低下判定値ΔEPjよりも大きければ、ソフトウェア更新継続許可部14はバッテリ20の電源残容量がソフトウェア更新を完了できない可能性があると判断し、ソフトウェアの書き換え継続を許可しない。ソフトウェア更新継続許可部14がソフトウェアの更新継続を許可しなければ、ソフトウェア更新制御部11は、記憶装置91のソフトウェアの書き換えを継続することができない。
<車両用制御装置のハードウェア構成>
 図2は、実施の形態1に係る車両用制御装置100のハードウェア構成図である。車両用制御装置100の各機能は、車両用制御装置100が備えた処理回路により実現される。具体的には、車両用制御装置100は、図2に示すように、処理回路として、CPU(Central Processing Unit)などの演算処理装置90(コンピュータ)、演算処理装置90とデータのやり取りする記憶装置91、演算処理装置90に外部の信号を入力する入力回路92、演算処理装置90から外部に信号を出力する出力回路93、及び通信路98を介してデータを送受信する通信部99などのインターフェースを備えている。
 演算処理装置90として、ASIC(Application Specific Integrated Circuit)、IC(Integrated Circuit)、DSP(Digital Signal Processor)、FPGA(Field Programmable Gate Array)、各種の論理回路、及び各種の信号処理回路などが備えられてもよい。演算処理装置90にはSoC(System on a Chip)技術が適用されてもよい。また、演算処理装置90として、同じ種類のものまたは異なる種類のものが複数備えられ、各処理が分担して実行されてもよい。車両用制御装置100には、記憶装置91として、演算処理装置90からデータを読み出し及び書き込みが可能に構成されたRAM(Random Access Memory)、演算処理装置90からデータを読み出し可能に構成されたROM(Read Only Memory)などが備えられている。記憶装置91は、演算処理装置90に内蔵されていてもよい。入力回路92は、入力信号、センサ、スイッチが接続され、これら入力信号、センサ、スイッチの信号を演算処理装置90に入力するA/D変換器などを備えている。出力回路93は、スイッチング素子をオンオフ駆動するゲート駆動回路などの電気負荷が接続され、これら電気負荷に演算処理装置90から制御信号を出力する駆動回路などを備えている。通信部99は通信路98を介して外部の制御装置などの外部装置とデータのやり取りを行うことができる。
 車両用制御装置100が備える各機能は、演算処理装置90が、ROMなどの記憶装置91に記憶されたソフトウェア(プログラム)を実行し、記憶装置91、入力回路92、及び出力回路93などの車両用制御装置100の他のハードウェアと協働することにより実現される。なお、車両用制御装置100が用いる閾値、判定値などの設定データは、ソフトウェア(プログラム)の一部として、ROMなどの記憶装置91に記憶されている。車両用制御装置100の有する各機能は、それぞれソフトウェアのモジュールで構成されるものであってもよいが、ソフトウェアとハードウェアの組み合わせによって構成されるものであってもよい。
<ソフトウェア更新開始処理>
 図3は、実施の形態1に係る車両用制御装置100のソフトウェア更新開始処理を示すフローチャートである。図3のフローチャートでは、車両用制御装置100の各機能ブロックが動作する流れについて説明する。
 図3のフローチャートの処理は、所定時間ごとに実行される(例えば10msごと)。図3のフローチャートの処理は、所定時間ごとではなく、車両が所定距離走行するごと、または車両用制御装置100がサーバからデータを受信するたび、といったイベントごとに実行されることとしてもよい。
 処理が開始され、ステップS101で、受信部18がサーバから更新ソフトウェアを受信したかどうか判定する。更新ソフトウェアを受信していない場合(判定はNO)は、処理を終了する。更新ソフトウェアを受信した場合(判定はYES)は、ステップS102へ進む。
 ステップS102では、ソフトウェア更新電力算出部12にて更新用ソフトウェアに対し記憶装置への書き換え実行に必要なソフトウェア更新電力EPrvを算出する。っして、ステップS103では、電源残容量検出部15によって、バッテリの電源残容量EPrを検出する。
 ステップS104では、ソフトウェア更新開始許可部13によって電源残容量EPrがソフトウェア更新電力EPrvよりも大きいかどうか判定される。電源残容量EPrがソフトウェア更新電力EPrv以下であれば(判定はNO)ステップS107へ進む。電源残容量EPrがソフトウェア更新電力EPrvよりも大きい場合(判定はYES)は、ステップS105へ進む。ソフトウェア更新開始許可部13によってソフトウェア更新開始が許可される場合である。
 ステップS105では、ソフトウェア更新中フラグをセットする。ソフトウェア更新中フラグは現在ソフトウェアの記憶装置91への書き換えを実行中であることを示すフラグである。ソフトウェア更新中フラグは、車両用制御装置の起動時などに初期設定としてクリアされるものとする。
 ステップS106では、ソフトウェアの更新を開始する。ソフトウェア更新制御部11は、記憶装置91のソフトウェアの書き換えを開始する。その後処理を終了する。
 ステップS107は、ソフトウェア更新開始許可部13によってソフトウェア更新開始が許可されない場合であり、ソフトウェア更新中フラグをクリアする。その後処理を終了する。
<ソフトウェア更新継続処理>
 図4は、実施の形態1に係る車両用制御装置100のソフトウェア更新継続処理を示すフローチャートである。図4のフローチャートでは、ソフトウェア更新を実施中の車両用制御装置100の各機能ブロックが動作する流れについて説明する。
 図4のフローチャートの処理は、所定時間ごとに実行される(例えば10msごと、30秒ごとなど)。図4のフローチャートの処理は、所定時間ごとではなく、車両が所定距離走行するごと、といったイベントごとに実行されることとしてもよい。
 処理が開始され、ステップS201で、ソフトウェア更新中フラグがセットされているかどうか判定する。ソフトウェア更新中フラグがセットされていない場合(判定はNO)は、処理を終了する。ソフトウェア更新中フラグがセットされている場合(判定はYES)は、ステップS202へ進む。
 ステップS202では、電源残容量低下検出部16によって電源残容量低下量ΔEPrが検出される。そして、ステップS203にて、電源残容量低下検出部16によって検出された電源残容量低下量ΔEPrが予め定められた低下判定値ΔEPj以上かどうか判定される。電源残容量低下量ΔEPrが低下判定値ΔEPj以上の場合(判定はYES)は、ステップS212へ進む。ソフトウェア更新継続許可部14がソフトウェアの更新継続を許可しない場合である。
 ステップS203で、電源残容量低下量ΔEPrが低下判定値ΔEPj未満の場合(判定はNO)は、ステップS209へ進む。ソフトウェア更新継続許可部14がソフトウェアの更新継続を許可する場合である。
 ステップS209で、ソフトウェア更新制御部11は、ソフトウェア更新が完了しているかどうか判定する。記憶装置91への更新ソフトウェアの書き換えが完了しているかどうか判定する。ソフトウェア更新が完了していない場合(判定はNO)処理を終了する。ソフトウェア更新中であり、そのままソフトウェア更新を継続することとなる。
 ステップS209で、ソフトウェア更新が完了している場合(判定はYES)は、ステップS210へ進む。ステップS210では、ソフトウェア更新フラグをクリアする。そして、ステップS211で、ソフトウェアの更新完了をサーバへ通知するように、送信部19へ指示し、処理を終了する。
 ステップS212では、ソフトウェア更新中フラグをクリアする。そして、ステップS213でソフトウェア更新制御部11によるソフトウェア更新を中止する。ステップS214で、ソフトウェアの更新中止をサーバへ通知するように、送信部19へ指示し、処理を終了する。
 実施の形態1に係る車両用制御装置100は、上記のように構成したので、バッテリ20の経年劣化、電極への電界物質の付着、車両の電力消費の急増などの要因によって容量が急減する場合に対応することができる。このような場合の電源残容量低下量ΔEPrを検出することによって、バッテリ20の状態の予想外の変化に適切な対応を可能とする。これによって、車両用制御装置100の異常動作を防止し、安定性の高いソフトウェアの更新が可能となる。
2.実施の形態2
 実施の形態2に係る車両用制御装置は図1、図2に示す車両用制御装置100の構成をそのまま適用できるので、符号をそのまま使用して説明する。ソフトウェアの変更のみによって、実施の形態2に係る車両用制御装置100を実現できるが、ハードウェアの変更を伴っていてもよい。
 実施の形態2に係る車両用制御装置100は、実施の形態1に対してソフトウェア更新継続処理において、ソフトウェア更新継続許可部14の判断がさらに追加されている部分が異なる。ソフトウェア更新電力算出部12は、未書き込みの部分のソフトウェアの書き込みに必要な電力であるソフトウェア更新継続電力EPcrvを算出する。そして、ソフトウェア更新継続許可部14は電源残容量低下量ΔEPrに応じてこれを補正して、電源残容量EPrと比較する。ソフトウェア更新継続許可部14は、電源残容量EPrが補正されたソフトウェア更新継続電力EPcrvよりも大きい場合にのみソフトウェア更新継続を許可する。
<ソフトウェア更新継続許可>
 ソフトウェア更新継続許可部14は、電源残容量低下検出部16によって検出された電源残容量低下量ΔEPrをあらかじめ定められた低下判定値ΔEPjと比較する。電源残容量低下量ΔEPrが低下判定値ΔEPjよりも大きければ、ソフトウェア更新継続許可部14はバッテリ20の電源残容量がソフトウェア更新を完了できない可能性があると判断し、ソフトウェアの書き換え継続を許可しない。
 さらに、ソフトウェア更新継続許可部14はソフトウェア更新継続電力EPcrvを算出する。そして、電源残容量低下量ΔEPrに応じて、ソフトウェア更新継続電力EPcrvを補正する。電源残容量低下量ΔEPrが0未満であれば(電源残容量が低下していなければ)ソフトウェア更新継続電力EPcrvは補正せずにそのまま使用する。
 電源残容量低下量ΔEPrが0以上の場合(電源残容量が低下している場合)電源残容量低下量ΔEPrを予め定められた低下判定値ΔEPjと比較する。電源残容量低下量ΔEPrが低下判定値ΔEPj以下であれば、電源残容量低下量ΔEPrに応じた関数でソフトウェア更新継続電力EPcrvを増大させる。電源残容量低下量ΔEPrが低下判定値ΔEPjより大きければ、ソフトウェア更新継続電力EPcrvを予め定めた電源残容量低下時増大割合GEP乗じて増大させる。
 そして、電源残容量EPrが補正されたまたは補正無しのソフトウェア更新継続電力EPcrvより大きければ、ソフトウェア更新継続許可部14はソフトウェアの書き換え継続を許可する。
<ソフトウェア更新継続処理>
 図5は、実施の形態2に係る車両用制御装置100のソフトウェア更新継続処理を示す第一のフローチャートである。図6は、実施の形態2に係る車両用制御装置100のソフトウェア更新継続処理を示す第二のフローチャートである。図6のフローチャートは図5のフローチャートの続きを示している。
 実施の形態2に係る図5、図6に示したフローチャートは、実施の形態1に係る図4のフローチャートに対し、ステップS202、ステップS203が、図5のステップS222から図6のステップS228に置換された部分が異なる。以下、異なる部分について説明する。
 ステップS222では、電源残容量低下量ΔEPrを検出し、電源残容量EPrを検出し、ソフトウェア更新継続電力EPcrvを算出する。そしてステップS223へ進み、電源残容量低下量ΔEPrが予め定められた低下判定値ΔEPj以上かどうか判定する。電源残容量低下量ΔEPrが低下判定値ΔEPj以上の場合(判定はYES)は、図6のステップS212へ進んでソフトウェア更新中止の一連の処理を行う。ソフトウェア更新継続許可部14がソフトウェアの更新継続を許可しない場合である。
 ステップS223で、電源残容量低下量ΔEPrが低下判定値ΔEPj未満の場合(判定はNO)は、ステップS224へ進む。ステップS224では、電源残容量低下量ΔEPrが0より小さいかどうか判定する。電源残容量低下量ΔEPrが0より小さい場合(判定はYES)は、電源残容量がマイナスである(電源残容量が増加している)場合である。バッテリ20が充電されている場合がこれに相当する。この場合は、ソフトウェア更新継続電力EPcrvに補正を加えずに図6のステップS228へ進む。
 ステップS224で、電源残容量低下量ΔEPrが0より小さくない場合(判定はNO)は、ステップS225へ進む。ステップS225では、電源残容量低下量ΔEPrが予め定めた第二の低下判定値ΔEPj2以下かどうか判定する。電源残容量低下量ΔEPrが第二の低下判定値ΔEPj2以下でない場合(判定はNO)は、ステップS227へ進む。
 ステップS227では、ソフトウェア更新継続電力EPcrvに予め定められた電源残容量低下時増大割合GEPを乗じて、増大補正を実施する。そして、図6のステップS228へ進む。
 ステップS225で、電源残容量低下量ΔEPrが第二の低下判定値ΔEPj2以下である場合(判定はYES)は、ステップS226へ進む。ステップS226では、ソフトウェア更新継続電力EPcrvに電源残容量低下量ΔEPrに応じた関数を乗じて、増大補正を実施する。そして、図6のステップS228へ進む。
 図6のステップS228では、電源残容量EPrがソフトウェア更新継続電力EPcrvより大きいかどうか判定する。電源残容量EPrがソフトウェア更新継続電力EPcrvより大きくない場合(判定はNO)は、ステップS212へ進んでソフトウェア更新中止の一連の処理を行う。
 図6のステップS228で電源残容量EPrがソフトウェア更新継続電力EPcrvより大きい場合(判定はYES)は、ステップS209へ進んでソフトウェア更新が完了しているかどうか判定する。
 実施の形態2に係る車両用制御装置100は、上記のように構成したので、電源残容量低下量ΔEPrに応じて、ソフトウェア更新継続電力EPcrvを補正し、ソフトウェア更新の継続が可能かどうかきめ細かく判断することができる。これによって、バッテリ20の状態の予想外の変化に適切な対応を可能とし、ソフトウェアの更新が可能な場合は、ソフトウェアの更新を継続することができる。これによって、車両用制御装置100の異常動作を防止し、安定性の高いソフトウェアの更新の機会を増やすことが可能となる。
3.実施の形態3
 実施の形態3に係る車両用制御装置は図1、図2に示す車両用制御装置100の構成をそのまま適用できるので、符号をそのまま使用して説明する。ソフトウェアの変更のみによって、実施の形態3に係る車両用制御装置100を実現できるが、ハードウェアの変更を伴っていてもよい。
<電源電圧、電源電圧低下量の検出>
 実施の形態3に係る車両用制御装置100は、実施の形態2に対してソフトウェア更新継続処理において、電源残容量低下検出部16の検出をバッテリ20の電源電圧Vb、電源電圧低下量ΔVbに基づいて実施する。この場合について具体的に説明する。電源電圧低下量ΔVbは、ソフトウェア更新開始時点の電源電圧からの電圧低下量である。ここでは、バッテリ20の電源電圧低下量判定値ΔVbng、上側電圧Vbh、下側電圧Vblを予め定めておくこととする。
 電源電圧低下量判定値ΔVbngは、ソフトウェア更新開始時点の電源電圧Vbからの低下量判定値であり、例えば1.5Vと設定する。この判定値を超えて電源電圧が低下した場合は、ソフトウェアの更新を中止する。上側電圧Vbhは例えば12.5V、下側電圧Vblは例えば11.5Vと設定する。これらの具体的な値は上記に限定されず、実験等によって最適な値に決定してもよい。
 電源電圧Vbが上側電圧Vbh以上の場合は異常な電源電圧の低下はないとして、ソフトウェア更新継続電力EPcrvを増大補正しない。そして、ソフトウェア更新継続電力EPcrvをそのまま電源残容量EPrと比較する。
 電源電圧Vbが下側電圧Vbl以上で上側電圧Vbh未満の場合は、ソフトウェア更新開始時点の電源電圧Vbからの電源電圧低下量ΔVbに応じてソフトウェア更新継続電力EPcrvを増大補正する。例えば、電圧が0.1V降下する度にソフトウェア更新継続電力EPcrvを5%増大させる。増大補正後のソフトウェア更新継続電力EPcrvを電源残容量EPrと比較する。
 電源電圧Vbが下側電圧Vbl未満の場合は、ソフトウェア更新継続電力EPcrvを100%増大補正する。増大補正後のソフトウェア更新継続電力EPcrvを電源残容量EPrと比較する。
 そして、ソフトウェア更新継続電力EPcrvを電源残容量EPrと比較して、電源残容量EPrのほうが大きい場合にソフトウェア更新の許可をする。このようにすることによって、電源電圧Vb、電源電圧低下量ΔVbの検出によって、ソフトウェアの更新継続の可否を決定することができる。
<ソフトウェア更新継続処理>
 図7は、実施の形態3に係る車両用制御装置100のソフトウェア更新継続処理を示す第一のフローチャートである。図7のフローチャートの続きは、実施の形態2に係る図6のフローチャートをそのまま流用する。
 以下、図7のフローチャートについて説明する。図7のフローチャートは所定時間ごとに実行される(例えば10msごと、30秒ごとなど)。図7のフローチャートの処理は、所定時間ごとではなく、車両が所定距離走行するごと、といったイベントごとに実行されることとしてもよい。
 処理が開始され、ステップS201で、ソフトウェア更新中フラグがセットされているかどうか判定する。ソフトウェア更新中フラグがセットされていない場合(判定はNO)は、処理を終了する。ソフトウェア更新中フラグがセットされている場合(判定はYES)は、ステップS232へ進む。
 ステップS232では、電源電圧Vb、電源電圧低下量ΔVbを検出する。そして、電源残容量低下量ΔEPrを検出し、電源残容量EPrを検出し、ソフトウェア更新継続電力EPcrvを算出する。
 そしてステップS233へ進み、電源電圧低下量ΔVbが電源電圧低下量判定値ΔVbng以上かどうか判定する。電源電圧低下量ΔVbが電源電圧低下量判定値ΔVbng以上の場合(判定はYES)は、図6のステップS212へ進んでソフトウェア更新中止の一連の処理を行う。ソフトウェア更新継続許可部14がソフトウェアの更新継続を許可しない場合である。
 ステップS233で電源電圧低下量ΔVbが電源電圧低下量判定値ΔVbng未満の場合(判定はNO)は、ステップS234へ進む。ステップS234では、電源電圧Vbが上側電圧Vbh以上であるかどうか判定する。電源電圧Vbが上側電圧Vbh以上の場合(判定はYES)は、異常な電源電圧の低下はない場合である。この場合は、ソフトウェア更新継続電力EPcrvに補正を加えずに図6のステップS228へ進む。
 ステップS234で、電源電圧Vbが上側電圧Vbh未満の場合(判定はNO)は、ステップS235へ進む。ステップS235では、電源電圧Vbが下側電圧Vbl未満かどうか判定する。電源電圧Vbが下側電圧Vbl未満の場合(判定はYES)は、ステップS237へ進む。
 ステップS237では、ソフトウェア更新継続電力EPcrvを100%増大する(二倍にする)増大補正を実施する。そして、図6のステップS228へ進む。
 ステップS235で、電源電圧Vbが下側電圧Vbl以上である場合(判定はNO)は、ステップS236へ進む。ステップS236では、ソフトウェア更新継続電力EPcrvに電源電圧低下量ΔVbに対して0.1V低下の度に5%増大する増大補正を実施する。すなわち、(1+ΔVb×0.5)を乗ずる補正となる。そして、図6のステップS228へ進む。
 実施の形態3に係る車両用制御装置100は、上記のように構成したので、電源電圧Vb、電源電圧低下量ΔVbの検出によって、ソフトウェアの更新継続の可否を決定することができる。電源電圧低下量ΔVbに応じて、ソフトウェア更新継続電力EPcrvを補正し、ソフトウェア更新の継続が可能かどうかきめ細かく判断することができる。簡単な手法で、車両用制御装置100の異常動作を防止し、安定性の高いソフトウェアの更新の機会を増やすことが可能となる。
4.実施の形態4
 実施の形態4に係る車両用制御装置は図1、図2に示す車両用制御装置100の構成をそのまま適用できるので、符号をそのまま使用して説明する。ソフトウェアの変更のみによって、実施の形態4に係る車両用制御装置100を実現できるが、ハードウェアの変更を伴っていてもよい。
<コールドクランキング電流の検出>
 実施の形態4に係る車両用制御装置100は、実施の形態2に対してソフトウェア更新継続処理において、電源残容量低下検出部16の検出をバッテリ20のコールドクランキング電流であるCCAに基づいて実施する。この場合について具体的に説明する。
 CCAは、米国のバッテリに関する規格によって定められた評価基準である。-18℃の環境下で、30秒間定格電流を流した場合に7.2V以上の端子電圧を有することが規定されている。例えば、CCA630Aは、-18℃環境下で、630Aの電流を30秒流し続け、端子電圧7.2V以上を確保するバッテリの能力のことである。
 放電して電源残容量が減少したバッテリのCCAであるクランキング電流Iccと、製造されたばかりで満充電されたバッテリのCCAであるクランキング電流初期値Iccinの比率を、CCA比率Rccaと定義する(Rcca=Icc/Iccini)。CCA比率低下量ΔRccaを、ソフトウェア更新開始時点のCCA比率Rccastに対する現在のCCA比率Rccaとの差として、ΔRcca=Rccast-Rccaと定義することができる。(Icc、Iccini、Rccastは不図示)
 CCAを計測するためには、コンダクタンス法、インピーダンス法、レジスタンス法などが存在する。CCAは、CCA計測用のテスターによって簡便に確認することも可能である。
 実施の形態4に係る車両用制御装置100では、バッテリ20の電源残容量EPrを、コールドクランキング電流CCA、CCA比率Rcca、CCA比率低下量ΔRccaに基づいて確認する。ここでは、CCA低下量判定値ΔRccang、CCA上側比率Rccah、CCA下側比率Rccalを予め定めておくこととする。
 CCA低下量判定値ΔRccangは、ソフトウェア更新開始時点のCCA比率RccaからのCCA比率低下量ΔRccaの判定値であり、例えば35%と設定する。この判定値を超えてCCA比率低下量ΔRccaが増大した場合は、ソフトウェアの更新を中止する。CCA上側比率Rccahは例えば100%、CCA下側比率Rccalは例えば70%と設定する。これらの具体的な値は上記に限定されず、実験等によって最適な値に決定してもよい。
 CCA比率RccaがCCA上側比率Rccah以上の場合は異常な電源残容量の低下はないとして、ソフトウェア更新継続電力EPcrvを増大補正しない。そして、ソフトウェア更新継続電力EPcrvをそのまま電源残容量EPrと比較する。
 CCA比率RccaがCCA下側比率Rccal以上でCCA上側比率Rccah未満の場合は、ソフトウェア更新開始時点のCCA比率RccastからのCCA比率低下量ΔRccaに応じてソフトウェア更新継続電力EPcrvを増大補正する。例えば、CCA比率Rccaが低下する度にソフトウェア更新継続電力EPcrvをCCA比率低下量ΔRccaの低下した割合だけ増大させる。増大補正後のソフトウェア更新継続電力EPcrvを電源残容量EPrと比較する。
 CCA比率RccaがCCA下側比率Rccal未満の場合は、ソフトウェア更新継続電力EPcrvを100%増大補正する。増大補正後のソフトウェア更新継続電力EPcrvを電源残容量EPrと比較する。
 そして、ソフトウェア更新継続電力EPcrvを電源残容量EPrと比較して、電源残容量EPrのほうが大きい場合にソフトウェア更新の許可をする。このようにすることによって、CCA比率Rcca、CCA比率低下量ΔRccaの検出によって、ソフトウェアの更新継続の可否を決定することができる。
<ソフトウェア更新継続処理>
 図8は、実施の形態4に係る車両用制御装置100のソフトウェア更新継続処理を示す第一のフローチャートである。図8のフローチャートの続きは、実施の形態2に係る図6のフローチャートをそのまま流用する。
 以下、図8のフローチャートについて説明する。図8のフローチャートは所定時間ごとに実行される(例えば10msごと、30秒ごとなど)。図8のフローチャートの処理は、所定時間ごとではなく、車両が所定距離走行するごと、といったイベントごとに実行されることとしてもよい。
 処理が開始され、ステップS201で、ソフトウェア更新中フラグがセットされているかどうか判定する。ソフトウェア更新中フラグがセットされていない場合(判定はNO)は、処理を終了する。ソフトウェア更新中フラグがセットされている場合(判定はYES)は、ステップS242へ進む。
 ステップS242では、CCA比率Rcca、CCA比率低下量ΔRccaを検出する。そして、電源残容量EPrを検出し、ソフトウェア更新継続電力EPcrvを算出する。
 そしてステップS243へ進み、CCA比率低下量ΔRccaがCCA低下量判定値ΔRccang以上かどうか判定する。CCA比率低下量ΔRccaがCCA低下量判定値ΔRccang以上の場合(判定はYES)は、図6のステップS212へ進んでソフトウェア更新中止の一連の処理を行う。ソフトウェア更新継続許可部14がソフトウェアの更新継続を許可しない場合である。
 ステップS243でCCA比率低下量ΔRccaがCCA低下量判定値ΔRccang未満の場合(判定はNO)は、ステップS244へ進む。ステップS244では、CCA比率RccaがCCA上側比率Rccah以上であるかどうか判定する。CCA比率RccaがCCA上側比率Rccah以上の場合(判定はYES)は、異常な電源電圧の低下はない場合である。この場合は、ソフトウェア更新継続電力EPcrvに補正を加えずに図6のステップS228へ進む。
 ステップS244で、CCA比率RccaがCCA上側比率Rccah未満の場合(判定はNO)は、ステップS245へ進む。ステップS245では、CCA比率RccaがCCA下側比率Rccal未満かどうか判定する。CCA比率RccaがCCA下側比率Rccal未満の場合(判定はYES)は、ステップS247へ進む。
 ステップS247では、ソフトウェア更新継続電力EPcrvを100%増大する(二倍にする)増大補正を実施する。そして、図6のステップS228へ進む。
 ステップS245で、CCA比率RccaがCCA下側比率Rccal以上である場合(判定はNO)は、ステップS246へ進む。ステップS246では、ソフトウェア更新継続電力EPcrvにCCA比率低下量ΔRccaの低下割合分の増大補正を実施する。すなわち、(1+ΔRcca)を乗ずる補正となる。そして、図6のステップS228へ進む。
 実施の形態4に係る車両用制御装置100は、上記のように構成したので、CCA比率Rcca、CCA比率低下量ΔRccaの検出によって、ソフトウェアの更新継続の可否を決定することができる。CCA比率低下量ΔRccaに応じて、ソフトウェア更新継続電力EPcrvを補正し、ソフトウェア更新の継続が可能かどうかきめ細かく判断することができる。車両用制御装置100の異常動作を防止し、安定性の高いソフトウェアの更新の機会を増やすことが可能となる。
5.実施の形態5
 実施の形態5に係る車両用制御装置は図1、図2に示す車両用制御装置100の構成をそのまま適用できるので、符号をそのまま使用して説明する。ソフトウェアの変更のみによって、実施の形態5に係る車両用制御装置100を実現できるが、ハードウェアの変更を伴っていてもよい。
<バッテリ液比重の検出>
 実施の形態5に係る車両用制御装置100は、実施の形態2に対してソフトウェア更新継続処理において、電源残容量低下検出部16の検出をバッテリ20のバッテリ液比重SGに基づいて実施する。この場合について具体的に説明する。
 バッテリ液比重SGは、バッテリの充電状態と相関を有する。よってバッテリ液比重SGを検出することによって、電源残容量EPrの算出をすることが可能である。
 実施の形態5に係る車両用制御装置100では、バッテリ20の電源残容量EPrを、バッテリ液比重SG、バッテリ液比重低下量ΔSGに基づいて確認する。ここでは、バッテリ液比重低下量判定値ΔSGng、バッテリ液上側比重SGh、バッテリ液下側比重SGlを予め定めておくこととする。
 バッテリ液比重低下量判定値ΔSGngは、ソフトウェア更新開始時点のバッテリ液比重SGからのバッテリ液比重低下量ΔSGの判定値であり、例えば0.08と設定する。この判定値を超えてバッテリ液比重低下量ΔSGが増大した場合は、ソフトウェアの更新を中止する。バッテリ液上側比重SGhは例えば1.28、バッテリ液下側比重SGlは例えば1.21と設定する。これらの具体的な値は上記に限定されず、実験等によって最適な値に決定してもよい。
 バッテリ液比重SGがバッテリ液上側比重SGh以上の場合は異常な電源残容量の低下はないとして、ソフトウェア更新継続電力EPcrvを増大補正しない。そして、ソフトウェア更新継続電力EPcrvをそのまま電源残容量EPrと比較する。
 バッテリ液比重SGがバッテリ液下側比重SGl以上でバッテリ液上側比重SGh未満の場合は、ソフトウェア更新開始時点のバッテリ液比重SGからのバッテリ液比重低下量ΔSGに応じてソフトウェア更新継続電力EPcrvを増大補正する。例えば、バッテリ液比重SGが0.01低下する度にソフトウェア更新継続電力EPcrvを7%増大させる。増大補正後のソフトウェア更新継続電力EPcrvを電源残容量EPrと比較する。
 バッテリ液比重SGがバッテリ液下側比重SGl未満の場合は、ソフトウェア更新継続電力EPcrvを100%増大補正する。増大補正後のソフトウェア更新継続電力EPcrvを電源残容量EPrと比較する。
 そして、ソフトウェア更新継続電力EPcrvを電源残容量EPrと比較して、電源残容量EPrのほうが大きい場合にソフトウェア更新の許可をする。このようにすることによって、バッテリ液比重SG、バッテリ液比重低下量ΔSGの検出によって、ソフトウェアの更新継続の可否を決定することができる。
<ソフトウェア更新継続処理>
 図9は、実施の形態5に係る車両用制御装置100のソフトウェア更新継続処理を示す第一のフローチャートである。図9のフローチャートの続きは、実施の形態2に係る図6のフローチャートをそのまま流用する。
 以下、図9のフローチャートについて説明する。図9のフローチャートは所定時間ごとに実行される(例えば10msごと、30秒ごとなど)。図9のフローチャートの処理は、所定時間ごとではなく、車両が所定距離走行するごと、といったイベントごとに実行されることとしてもよい。
 処理が開始され、ステップS201で、ソフトウェア更新中フラグがセットされているかどうか判定する。ソフトウェア更新中フラグがセットされていない場合(判定はNO)は、処理を終了する。ソフトウェア更新中フラグがセットされている場合(判定はYES)は、ステップS252へ進む。
 ステップS252では、バッテリ液比重SG、バッテリ液比重低下量ΔSGを検出する。そして、電源残容量EPrを検出し、ソフトウェア更新継続電力EPcrvを算出する。
 そしてステップS253へ進み、バッテリ液比重低下量ΔSGがバッテリ液比重低下量判定値ΔSGng以上かどうか判定する。バッテリ液比重低下量ΔSGがバッテリ液比重低下量判定値ΔSGng以上の場合(判定はYES)は、図6のステップS212へ進んでソフトウェア更新中止の一連の処理を行う。ソフトウェア更新継続許可部14がソフトウェアの更新継続を許可しない場合である。
 ステップS253でバッテリ液比重低下量ΔSGがバッテリ液比重低下量判定値ΔSGng未満の場合(判定はNO)は、ステップS254へ進む。ステップS254では、バッテリ液比重SGがバッテリ液上側比重SGh以上であるかどうか判定する。バッテリ液比重SGがバッテリ液上側比重SGh以上の場合(判定はYES)は、異常な電源電圧の低下はない場合である。この場合は、ソフトウェア更新継続電力EPcrvに補正を加えずに図6のステップS228へ進む。
 ステップS254で、バッテリ液比重SGがバッテリ液上側比重SGh未満の場合(判定はNO)は、ステップS255へ進む。ステップS245では、バッテリ液比重SGがバッテリ液下側比重SGl未満かどうか判定する。バッテリ液比重SGがバッテリ液下側比重SGl未満の場合(判定はYES)は、ステップS257へ進む。
 ステップS257では、ソフトウェア更新継続電力EPcrvを100%増大する(二倍にする)増大補正を実施する。そして、図6のステップS228へ進む。
 ステップS255で、バッテリ液比重SGがバッテリ液下側比重SGl以上である場合(判定はNO)は、ステップS256へ進む。ステップS256では、ソフトウェア更新継続電力EPcrvにバッテリ液比重低下量ΔSGが0.01増えるごとにソフトウェア更新継続電力EPcrvを7%増大する補正を実施する。すなわち、(1+ΔSG×7)を乗ずる補正となる。そして、図6のステップS228へ進む。
 実施の形態5に係る車両用制御装置100は、上記のように構成したので、バッテリ液比重SG、バッテリ液比重低下量ΔSGの検出によって、ソフトウェアの更新継続の可否を決定することができる。バッテリ液比重低下量ΔSGに応じて、ソフトウェア更新継続電力EPcrvを補正し、ソフトウェア更新の継続が可能かどうかきめ細かく判断することができる。車両用制御装置100の異常動作を防止し、安定性の高いソフトウェアの更新の機会を増やすことが可能となる。
6.実施の形態6
 実施の形態6に係る車両用制御装置100は図1、図2に示す車両用制御装置100の構成をそのまま適用できるので、符号をそのまま使用して説明する。ソフトウェアの変更のみによって、実施の形態6に係る車両用制御装置100を実現できるが、ハードウェアの変更を伴っていてもよい。
<バッテリの使用年数超過>
 実施の形態6に係る車両用制御装置100は、実施の形態2に対してソフトウェア更新継続処理において、電源残容量低下検出部16の検出をバッテリの使用年数、バッテリ上がり履歴、走行状況に基づいて実施する。この場合について具体的に説明する。
 車両に搭載しているバッテリ20について、使用可能年数(製品の耐用年数)を5年以上超えて使用している場合がある。このような場合は、バッテリ20が劣化していることが想定できる。そして、ソフトウェアの更新時に電源残容量EPrの急激な低下が発生する可能性がある。
 ソフトウェア更新継続の判断において、ソフトウェア更新継続電力EPcrvを拡大補正することによって、電源残容量EPrとの比較時に余裕を持ってソフトウェア更新を進めることができる。このために、バッテリ使用可能年数を5年以上超過して使用している場合は、ソフトウェア更新継続電力EPcrvを100%増大補正することとする。
<バッテリ上がり履歴>
 車両用の鉛蓄電池に代表されるバッテリは、電源残容量が過小となって電圧低下を生じる程度まで放電すると、電池内部に不可逆的変化が発生して再充電しても当初の性能まで復帰できない場合がある。このような状況を考慮して、バッテリ上がりの履歴を2回以上有する場合はバッテリの劣化が想定できる。この場合も、ソフトウェアの更新時に電源残容量EPrの急激な低下が発生する可能性がある。
 ソフトウェア更新継続の判断において、ソフトウェア更新継続電力EPcrvを拡大補正することによって、電源残容量EPrとの比較時に余裕を持ってソフトウェア更新を進めることができる。このために、過去に2度以上のバッテリ上がり履歴を有する場合は、ソフトウェア更新継続電力EPcrvを100%増大補正することとする。
<長期間停車、短距離走行の繰り返し>
 車両の使用状況によって、バッテリ20の状態は大きく変化する。1か月以上車両を動かしていない場合は、車両の原動機によってバッテリ20を充電する機会がなく、電源残容量が大きく低下している場合が想定できる。また、車両を走行させている場合であっても、走行距離が2km以内の移動を連続10回以上行っている場合は、車両の原動機によってバッテリ20を充分に充電する機会がなく、同じく電源残容量が大きく低下している場合が想定できる。この場合も、ソフトウェアの更新時に電源残容量EPrの急激な低下が発生する可能性がある。
 ソフトウェア更新継続の判断において、ソフトウェア更新継続電力EPcrvを拡大補正することによって、電源残容量EPrとの比較時に余裕を持ってソフトウェア更新を進めることができる。このために、1か月以上車両を動かしていない場合、または走行距離が2km以内の移動を連続10回以上行っている場合は、ソフトウェア更新継続電力EPcrvを100%増大補正することとする。
<ソフトウェア更新継続処理>
 図10は、実施の形態6に係る車両用制御装置100のソフトウェア更新継続処理を示す第三のフローチャートである。図10のフローチャートは、実施の形態2に係る図6の第二のフローチャートのステップS228の手前に挿入される。図10のフローチャートの前には図5の第一のフローチャートが設けられており、図10のフローチャートの後には図6の第二のフローチャートが設けられている。図5、図10、図6のフローチャートの順に処理が実行される。図5、図6はそのまま流用するので、ここでは図10について説明する。
 図5の実施の形態2に係るソフトウェア更新継続処理を示す第一のフローチャートで、ソフトウェア更新継続電力EPcrvを算出し、必要に応じて拡大補正をする。その後、図10のフローチャートのステップS261へ進む。
 ステップS261では、バッテリ20が車両に設置されてからの経過時間が、バッテリ20の使用可能年数(耐久年数)に5年を加えた期間以上であるかどうかを判定する。ステップS261で、バッテリ経過時間(経時)が耐久年数+5年未満の場合(判定はNO)は、そのままステップS263へ進む。
 ステップS261で、バッテリ経過時間(経時)が耐久年数+5年以上の場合(判定はYES)は、ステップS262へ進んでソフトウェア更新継続電力EPcrvを100%増大補正する。その後ステップS263へ進む。
 ステップS263では、バッテリ20がバッテリ上がり2回以上の履歴を有するかどうか判定する。バッテリ上がり2回以上の履歴を有さない場合(判定はNO)は、そのままステップS265へ進む。
 ステップS263で、バッテリ上がり2回以上の履歴を有する場合(判定はYES)は、ステップS264へ進んでソフトウェア更新継続電力EPcrvを100%増大補正する。その後、ステップS265へ進む。
 ステップS265では、車両の走行状態を判定する。車両が1カ月以上停車または、2km以下の走行を10回以上しているかどうか判定する。車両が1カ月以上停車しておらず、2km以下の走行を10回以上していない場合(判定はNO)は、そのまま図6のステップS228へ進む。
 ステップS265で、車両が1カ月以上停車または、2km以下の走行を10回以上している場合(判定はYES)は、ステップS266へ進んでソフトウェア更新継続電力EPcrvを100%増大補正する。その後、図6のステップS228へ進む。
 以上のように構成することで、実施の形態6に係る車両用制御装置100は、バッテリの使用年数超過、バッテリ上がり履歴、長期間停車、短距離走行の繰り返しなどの状況に際して、ソフトウェア更新継続電力EPcrvを補正し、ソフトウェア更新の継続が可能かどうかきめ細かく判断することができる。車両用制御装置100の異常動作を防止し、安定性の高いソフトウェアの更新の機会を増やすことが可能となる。
 なお、上記のバッテリの耐久年数を超過している判定時間の5年間、バッテリ上がりの履歴の判定回数の2回、停車判定期間の1カ月、短距離走行判定距離の2km、単距離走行判定回数の10回、は判定値の例であり、変更してもよい。さらに、ソフトウェア更新継続電力EPcrvの増大補正量である100%は、補正量の例であり変更してもよい。これらは、実験、シミュレーションによって最適な判定値を見つけて決定してもよい。また、ステップS261、ステップS263、ステップS265に記載した判定の一部を省略してもよい。
7.実施の形態7
 実施の形態7に係る車両用制御装置100は図1、図2に示す車両用制御装置100の構成をそのまま適用できるので、符号をそのまま使用して説明する。ソフトウェアの変更のみによって、実施の形態7に係る車両用制御装置100を実現できるが、ハードウェアの変更を伴っていてもよい。
<ソフトウェア更新時間>
 実施の形態7に係る車両用制御装置100は、実施の形態1に対してソフトウェア更新継続処理において、ソフトウェア書き込み完了までの時間Trvを算出し、この時間Trvが予め定めた書き込み完了時間Tcmp以下で完了する場合は、ソフトウェア更新中のソフトウェア更新継続許可部14による、継続可否の判断を行わない。書き込み完了時間Tcmpは例えば2分に設定してもよい。書き込み完了時間Tcmpは、実験またはシミュレーションによって適切な値を設定してもよい。
 このように、不必要なソフトウェアの更新継続可否判断を省略することで、ソフトウェア更新作業を効率的に短時間で完了することができる。また、不必要な処理を省略することができるので、バッテリ20の電源残容量の無駄な消費を削減することができる。
<ソフトウェア更新継続処理>
 図11は、実施の形態7に係る車両用制御装置のソフトウェア更新継続処理を示すフローチャートである。実施の形態1に係る図4のソフトウェア更新継続処理を示すフローチャートのステップS201とステップS202の間に、新たにステップS271とステップS272を追加した部分のみが異なる。追加した部分を説明する。
 図11のステップS201で、ソフトウェア更新中フラグがセットされている場合、ステップS271へ進む。ステップS271では、ソフトウェア更新のために記憶装置91の更新ソフトウェアの書き込み完了までの時間Trvを算出する。そしてステップS272へ進む。
 ステップS272では、書き込み完了までの時間Trvが予め定めた書き込み完了時間Tcmp以下であるかどうか判定する。書き込み完了までの時間Trvが書き込み完了時間Tcmp以下であれば、ステップS209へ進んでソフトウェア更新完了しているかどうか確認する。
 このように構成することで、更新ソフトウェアの書き込み完了までの時間Trvが書き込み完了時間Tcmp以下の場合は、電源残容量低下量ΔEPrの確認などのソフトウェアの更新継続可否判断を省略することができる。
8.実施の形態8
 実施の形態8に係る車両用制御装置100は図1、図2に示す車両用制御装置100の構成をそのまま適用できるので、符号をそのまま使用して説明する。ソフトウェアの変更のみによって、実施の形態8に係る車両用制御装置100を実現できるが、ハードウェアの変更を伴っていてもよい。
<過剰電力を有する場合>
 実施の形態8に係る車両用制御装置100は、実施の形態1に対してソフトウェア更新継続処理において、ソフトウェア更新開始処理において算出したソフトウェア更新電力EPrvに予め定めた過剰電力EPexを加えた電力よりも、電源残容量EPrのほうが大きいかどうか判定する。電源残容量EPrが、ソフトウェア更新電力EPrvよりも充分余裕を持っていれば(過剰電力EPex分余裕を持つ)、ソフトウェア更新中のソフトウェア更新継続許可部14による、継続可否の判断を行わない。過剰電力EPexは例えばバッテリ20の完全充電時の電源残容量の20%に設定してもよい。過剰電力EPexは、実験またはシミュレーションによって適切な値を設定してもよい。
 このように、電源残容量EPrに過剰電力EPex分余裕を持つ場合は、ソフトウェアの更新継続可否判断を省略することで、ソフトウェア更新作業を効率的に短時間で完了することができる。また、不必要な処理を省略することができるので、バッテリ20の電源残容量の無駄な消費を削減することができる。
<ソフトウェア更新継続処理>
 図12は、実施の形態8に係る車両用制御装置のソフトウェア更新継続処理を示すフローチャートである。実施の形態1に係る図4のソフトウェア更新継続処理を示すフローチャートのステップS201とステップS202の間に、新たにステップS281を追加した部分のみが異なる。追加した部分を説明する。
 図12のステップS201で、ソフトウェア更新中フラグがセットされている場合、ステップS281へ進む。ステップS281では、電源残容量EPrが、ソフトウェア更新電力EPrvと過剰電力EPexの和よりも大きいかどうか判定する。電源残容量EPrが、ソフトウェア更新電力EPrvと過剰電力EPexの和よりも大きくない場合(判定はNO)は、ステップS202へ進み、ソフトウェアの更新継続可否判断を実行する。
 ステップS281で、電源残容量EPrがソフトウェア更新電力EPrvと過剰電力EPexの和よりも大きい場合(判定はYES)は、ステップS209へ進んでソフトウェア更新完了しているかどうか確認する。
 このように構成することで、バッテリ20が過剰電力EPexを有する場合は、電源残容量低下量ΔEPrの確認などのソフトウェアの更新継続可否判断を省略することができる。
9.実施の形態9
 実施の形態9に係る車両用制御装置100は図1、図2に示す車両用制御装置100の構成をそのまま適用できるので、符号をそのまま使用して説明する。ソフトウェアの変更のみによって、実施の形態9に係る車両用制御装置100を実現できるが、ハードウェアの変更を伴っていてもよい。
<ポーリング区間の電源残容量低下>
 実施の形態9に係る車両用制御装置100は、実施の形態1に係るソフトウェア更新継続処理において、ポーリング区間に基づいた電源残容量低下の監視を実行する場合を示す。ここでは、ポーリング周期Tpが30秒の場合にポーリングを実行して、ソフトウェア更新継続処理を実行する。
 図13は、実施の形態9に係る車両用制御装置100のソフトウェア更新の第一のタイムチャートである。図13では、180秒間に30秒間隔でポーリングを実行している様子を示している。ソフトウェア更新電力EPrvが、例えばバッテリ20の完全充電時の電源残容量の30%相当と算出されている場合、ポーリング区間ごとに、5%前後ずつ電源残容量EPrが減少する状態が示されている。
 ここで、予想している電源残容量低下量ΔEPrは、ポーリング周期Tpごとに5%である。そこで、例えばこの2倍である10%を超える電源残容量低下量ΔEPrが発生するかどうか監視し、10%を超える電源残容量低下量ΔEPrが発生した場合にソフトウェア更新を中止することとしてもよい。
 図14は、実施の形態9に係る車両用制御装置100のソフトウェア更新の第二のタイムチャートである。図14では、3回目のポーリングにおいて、電源残容量低下量ΔEPrが12%となっている。10%を超える電源残容量低下量ΔEPrが発生したので、ここで、ソフトウェアの更新を中止する。
 ここでは、ポーリング周期Tpごとのソフトウェア更新電力EPrvによる電源残容量低下量ΔEPrの予想値に対してこの2倍を超えた場合にソフトウェアの更新を中止したが、2倍である必要はない。予想値に係数Kを乗じた判定値を、実験、シミュレーションなどで求めてもよい。
<ソフトウェア更新継続処理>
 図15は、実施の形態9に係る車両用制御装置のソフトウェア更新継続処理を示すフローチャートである。実施の形態1に係る図4のソフトウェア更新継続処理を示すフローチャートのステップS202とステップS203の間に、新たにステップS291からステップS293を追加した部分のみが異なる。追加した部分を中心に説明する。
 図15のステップS201で、ソフトウェア更新中フラグがセットされている場合、ステップS202へ進む。ステップS202では、電源残容量低下検出部16によって電源残容量低下量ΔEPrが検出される。ここでは、ポーリングのたびに求めた電源残容量EPrの前回検出値との差分を電源残容量低下量ΔEPrとする。
 ステップS291では、ソフトウェアの更新を開始してから完了するまでのソフトウェア更新時間Trpを算出する。そして、ステップS292では、経過時間比率RTbpを算出する。経過時間比率RTbpは、ポーリング周期Tpとソフトウェア更新時間Trpの比である。
 ステップS293では、ソフトウェア更新電力EPrvと経過時間比率RTbpの積に係数Kを乗じた値よりも電源残容量低下量ΔEPrが大きいかどうか判定する。電源残容量低下量ΔEPrが大きい場合(判定はYES)は、ポーリング区間の電源残容量低下量ΔEPrが予測値に係数Kを乗じた値より大きいことを示す。電源残容量低下量ΔEPrが、予想外に大きいとの判断で、ステップS212に進んで、ソフトウェア更新中止の処理を進める。
 ステップS293で、電源残容量低下量ΔEPrが大きくない場合(判定はNO)ステップS203へ進む。ステップS203では、電源残容量低下量ΔEPrが予め定められた低下判定値ΔEPj以上かどうか判定する。
 以上のようにポーリング区間ごとの電源残容量低下量ΔEPrが予測値に係数Kを乗じた値より大きいか否かによって、ソフトウェアの更新の継続可否を判定する。これによって、電源残容量低下量ΔEPrの増大を、固定値である低下判定値ΔEPjと比較するよりも精度よく判定することができる。そのため、車両用制御装置100の異常動作を防止し、安定性の高いソフトウェアの更新が可能となる。
10.実施の形態10
 実施の形態10に係る車両用制御装置100は図1、図2に示す車両用制御装置100の構成をそのまま適用できるので、符号をそのまま使用して説明する。ソフトウェアの変更のみによって、実施の形態10に係る車両用制御装置100を実現できるが、ハードウェアの変更を伴っていてもよい。
<ソフトウェア受信電力の算出>
 実施の形態10に係る車両用制御装置100は、実施の形態1に係るソフトウェア更新開始処理の前処理として、ソフトウェア更新開始前処理を実施する。車両用制御装置100は、サーバから更新ソフトウェアのデータを受信する前に、更新ソフトウェアに関する情報である更新ソフトウェア情報を受信する。
 更新ソフトウェア情報には、更新ソフトウェアの容量などの情報が含まれている。車両用制御装置100は、更新ソフトウェア本体のデータを受信するために必要な更新ソフトウェア受信電力EPrcvを算出する。そして、更新ソフトウェアを記憶装置91に書き込むためのソフトウェア更新電力EPrvを算出する。
 更新ソフトウェア受信電力EPrcvとソフトウェア更新電力EPrvの和が、ソフトウェア受信更新電力EPrcv_rvである。車両用制御装置100は、サーバから受信した更新ソフトウェア情報から、ソフトウェア受信更新電力EPrcv_rvを算出し、電源残容量EPrがソフトウェア受信更新電力EPrcv_rvよりも大きい場合に、サーバからの更新ソフトウェアの受信を受け入れる。
 電源残容量EPrが小さい場合は、ソフトウェア更新が実施できないので、サーバに更新ソフトウェアのデータの受信拒否を回答する。このように、更新ソフトウェアのデータの受信前に電源残容量EPrでソフトウェア更新が可能か否か判断することができる。それによって、不要な更新ソフトウェアの受信を回避できる。これによって、バッテリ20の電源残容量EPrの消費を節約することができる。そして、安定性の高いソフトウェアの更新が可能となる。
<ソフトウェア更新開始前処理>
 図16は、実施の形態10に係る車両用制御装置のソフトウェア更新開始前処理を示すフローチャートである。実施の形態1に係る図3のソフトウェア更新開始処理を示すフローチャートに先立って実行される処理である。
 図16のフローチャートの処理は、所定時間ごとに実行される(例えば10msごと)。図16のフローチャートの処理は、所定時間ごとではなく、車両が所定距離走行するごと、または車両用制御装置100がサーバからデータを受信するたび、といったイベントごとに実行されることとしてもよい。
 処理が開始され、ステップS111で、受信部18がサーバから更新ソフトウェア情報を受信したかどうか判定する。更新ソフトウェアを受信していない場合(判定はNO)は、処理を終了する。更新ソフトウェアを受信した場合(判定はYES)は、ステップS112へ進む。
 ステップS112では、更新ソフトウェア情報に基づいて更新ソフトウェア本体のデータを受信するために必要な更新ソフトウェア受信電力EPrcvを算出する。ステップS113で、更新ソフトウェアを記憶装置91に書き込むためのソフトウェア更新電力EPrvを算出する。
 ステップS114で、更新ソフトウェア受信電力EPrcvとソフトウェア更新電力EPrvを加算して、ソフトウェア受信更新電力EPrcv_rvを算出する。ステップS115で、電源残容量EPrを検出する。
 ステップS116で、電源残容量EPrがソフトウェア受信更新電力EPrcv_rvより大きいか判定する。電源残容量EPrがソフトウェア受信更新電力EPrcv_rv以下である場合(判定はNO)は、ステップS118へ進む。ステップS118では、サーバへソフトウェア受信拒否の回答を送信する。その後処理を終了する。
 ステップS116で、電源残容量EPrがソフトウェア受信更新電力EPrcv_rvより大きい場合(判定はYES)は、ステップS117へ進む。ステップS117では、サーバへソフトウェア受信受入の回答を送信する。その後処理を終了する。
 サーバは車両用制御装置100からの受信受入れ回答を受信した後に、更新ソフトウェア本体のデータを車両用制御装置100へ送信開始する。車両用制御装置100は、更新ソフトウェアを受信した後、図3にフローチャートを示したソフトウェア更新開始処理を開始する。
 本願は、様々な例示的な実施の形態及び実施例が記載されているが、1つ、または複数の実施の形態に記載された様々な特徴、態様、及び機能は特定の実施の形態の適用に限られるのではなく、単独で、または様々な組み合わせで実施の形態に適用可能である。従って、例示されていない無数の変形例が、本願明細書に開示される技術の範囲内において想定される。例えば、少なくとも1つの構成要素を変形する場合、追加する場合または省略する場合、さらには、少なくとも1つの構成要素を抽出し、他の実施の形態の構成要素と組み合わせる場合が含まれるものとする。
11 ソフトウェア更新制御部、12 ソフトウェア更新電力算出部、13 ソフトウェア更新開始許可部、14 ソフトウェア更新継続許可部、15 電源残容量検出部、16 電源残容量低下検出部、18 受信部、20 バッテリ、91 記憶装置、100 車両用制御装置、EPcrv ソフトウェア更新継続電力、EPex 過剰電力、EPr 電源残容量、EPrcv 更新ソフトウェア受信電力、EPrcv_rv ソフトウェア受信更新電力、EPrv ソフトウェア更新電力、GEP 電源残容量低下時増大割合、K 係数、Rcca CCA比率、Rccah CCA上側比率、Rccal CCA下側比率、RTbp 経過時間比率、SG バッテリ液比重、SGh バッテリ液上側比重、SGl バッテリ液下側比重、Tcmp 書き込み完了時間、Tp ポーリング周期、Trp ソフトウェア更新時間、Trv 時間、Vb 電源電圧、Vbh 上側電圧、Vbl 下側電圧、ΔEPj 低下判定値、ΔEPj2 第二の低下判定値、ΔEPr 電源残容量低下量、ΔRcca CCA比率低下量、ΔRccang CCA低下量判定値、ΔSG バッテリ液比重低下量、ΔSGng バッテリ液比重低下量判定値、ΔVb 電源電圧低下量、ΔVbng 電源電圧低下量判定値

Claims (16)

  1.  ソフトウェアが書き込まれた記憶装置、
     前記ソフトウェアを更新する更新ソフトウェアを受信する受信部、
     バッテリの電源残容量を検出する電源残容量検出部、
     バッテリの電源残容量の低下量を検出する電源残容量低下検出部、
     前記更新ソフトウェアを前記記憶装置に書き込むためのソフトウェア更新電力を算出するソフトウェア更新電力算出部、
     前記電源残容量検出部によって検出された前記バッテリの残容量が、前記ソフトウェア更新電力算出部によって算出された前記ソフトウェア更新電力よりも大きい場合に、前記ソフトウェアの更新開始を許可するソフトウェア更新開始許可部、
     前記バッテリの電源残容量の低下量が予め定められた低下判定値よりも小さい場合に前記ソフトウェアの更新継続を許可するソフトウェア更新継続許可部、
     前記ソフトウェア更新開始許可部によってソフトウェアの更新開始を許可された場合に前記更新ソフトウェアの前記記憶装置への書き込みを開始し、前記更新ソフトウェアの前記記憶装置への書き込み中に前記ソフトウェア更新継続許可部によってソフトウェアの更新継続を許可された場合に前記更新ソフトウェアの前記記憶装置への書き込みを継続し、前記ソフトウェア更新開始許可部または前記ソフトウェア更新継続許可部の判定が不許可の場合は前記更新ソフトウェアの前記記憶装置への書き込みを中止するソフトウェア更新制御部、を備えた車両用制御装置。
  2.  前記電源残容量低下検出部は、前記バッテリの電源電圧、コールドクランキング電流またはバッテリ液の比重の少なくとも一つに応じて前記電源残容量の低下量を検出する請求項1に記載の車両用制御装置。
  3.  前記更新ソフトウェアの前記記憶装置への書き込み中に、書き込み完了までに消費されるソフトウェア更新継続電力を算出するソフトウェア更新継続電力算出部を備え、
     前記ソフトウェア更新継続許可部は、前記電源残容量の低下量が前記低下判定値よりも小さくかつ、予め定めた第二の低下判定値よりも大きい場合は前記ソフトウェア更新継続電力算出部によって求められた前記ソフトウェア更新継続電力をあらかじめ定めた低下時増大割合だけ増大させて要求電源残容量を算出し、前記電源残容量の低下量が第二の低下判定値以下の場合は前記電源残容量の低下量に応じて前記ソフトウェア更新継続電力を増大させて前記要求電源残容量を算出し、前記バッテリの残容量が前記要求電源残容量よりも大きい場合に前記更新ソフトウェアの更新継続を許可する請求項1または2に記載の車両用制御装置。
  4.  前記電源残容量低下検出部は、前記バッテリの電源電圧に応じて前記電源残容量の低下量を検出し、
     前記ソフトウェア更新継続許可部は、前記バッテリの電源電圧が11.5V未満の場合に前記ソフトウェア更新継続電力を100%増大させて前記要求電源残容量を算出し、前記バッテリの電源電圧が11.5V以上かつ12.5V未満の場合に、前記バッテリの電源電圧が12.5Vから0.1V低下するごとに前記ソフトウェア更新継続電力を5%ずつ増大させて前記要求電源残容量を算出する請求項3に記載の車両用制御装置。
  5.  前記電源残容量低下検出部は、前記バッテリのコールドクランキング電流に応じて前記電源残容量の低下量を検出し、
     前記ソフトウェア更新継続許可部は、前記コールドクランキング電流が初期値の70%未満の場合に前記ソフトウェア更新継続電力を100%増大させて前記要求電源残容量を算出し、前記コールドクランキング電流が初期値の70%以上かつ100%未満の場合に、前記コールドクランキング電流が100%から低下した割合だけ、前記ソフトウェア更新継続電力を増大させて前記要求電源残容量を算出する請求項3に記載の車両用制御装置。
  6.  前記電源残容量低下検出部は、前記バッテリのバッテリ液の比重に応じて前記電源残容量の低下量を検出し、
     前記ソフトウェア更新継続許可部は、前記バッテリ液の比重が1.21未満の場合に、前記ソフトウェア更新継続電力を100%増大させて前記要求電源残容量を算出し、前記バッテリ液の比重が1.21以上かつ1.28未満の場合に、前記バッテリ液の比重が1.28から0.01低下するごとにソフトウェア更新継続電力を7%ずつ増大させて前記要求電源残容量を算出する請求項3に記載の車両用制御装置。
  7.  前記ソフトウェア更新継続許可部は、前記バッテリの使用可能年数を5年以上超えて使用している場合に、前記要求電源残容量を100%増大させて算出する請求項3から6のいずれか一項に記載の車両用制御装置。
  8.  前記ソフトウェア更新継続許可部は、前記バッテリが2回以上のバッテリ上がりの履歴を有している場合に、前記要求電源残容量を100%増大させて算出する請求項3から7のいずれか一項に記載の車両用制御装置。
  9.  前記ソフトウェア更新継続許可部は、車両が1カ月以上継続して停止している場合、または移動距離2km未満の走行を10回以上連続して実施している場合に、前記要求電源残容量を100%増大させて算出する請求項3から8のいずれか一項に記載の車両用制御装置。
  10.  前記ソフトウェア更新制御部は、前記ソフトウェア更新開始許可部によってソフトウェアの更新開始可能と判定された場合に前記更新ソフトウェアの前記記憶装置への書き込みを開始し、前記更新ソフトウェアの前記記憶装置への書き込みが予め定めた書き込み完了時間以内に完了する場合は、前記ソフトウェア更新継続許可部の判定に拘らず前記更新ソフトウェアの前記記憶装置への書き込みを継続する請求項1から9のいずれか一項に記載の車両用制御装置。
  11.  前記ソフトウェア更新制御部は、前記更新ソフトウェアの前記記憶装置への書き込みが2分以内に完了する場合は、前記ソフトウェア更新継続許可部の判定に拘らず前記更新ソフトウェアの前記記憶装置への書き込みを継続する請求項10に記載の車両用制御装置。
  12.  前記ソフトウェア更新制御部は、前記ソフトウェア更新開始許可部によってソフトウェアの更新開始可能と判定された場合に前記更新ソフトウェアの前記記憶装置への書き込みを開始し、前記電源残容量検出部によって検出された前記バッテリの残容量が、前記ソフトウェア更新電力算出部によって算出された前記ソフトウェア更新電力と予め定めた過剰電力の和よりも大きい場合は、前記ソフトウェア更新継続許可部の判定に拘らず前記更新ソフトウェアの前記記憶装置への書き込みを継続する請求項1から11のいずれか一項に記載の車両用制御装置。
  13.  前記ソフトウェア更新制御部は、前記電源残容量検出部によって検出された前記バッテリの残容量が、前記ソフトウェア更新電力算出部によって算出された前記ソフトウェア更新電力と前記バッテリの初期電力容量の20%の和よりも大きい場合は、前記ソフトウェア更新継続許可部の判定に拘らず前記更新ソフトウェアの前記記憶装置への書き込みを継続する請求項12に記載の車両用制御装置。
  14.  前記電源残容量低下検出部は、予め定めたポーリング周期ごとに前記バッテリの電源残容量の低下量を検出し、
     ソフトウェア更新継続許可部は、前記ポーリング周期と前記更新ソフトウェアの前記記憶装置への書き込み開始から完了までの予定時間との比である経過時間比率を算出し、前記ポーリング周期間の前記電源残容量の低下量が前記ソフトウェア更新電力と前記経過時間比率の積の予め定めた係数倍よりも大きい場合は、前記ソフトウェアの更新継続を不許可と判定する請求項1から13のいずれか一項に記載の車両用制御装置。
  15.  ソフトウェア更新継続許可部は、前記ポーリング周期間の前記電源残容量の低下量が前記ソフトウェア更新電力と前記経過時間比率の積の2倍よりも大きい場合は、前記ソフトウェアの更新継続を不許可と判定する請求項14に記載の車両用制御装置。
  16.  前記受信部は、前記更新ソフトウェアに関する情報である更新ソフトウェア情報を受信し、前記更新ソフトウェア情報に基づいて前記更新ソフトウェアの本体である更新ソフトウェアデータを受信するための更新ソフトウェア受信電力を算出し、前記更新ソフトウェア情報に基づいて前記ソフトウェア更新電力算出部によって算出された前記ソフトウェア更新電力と前記更新ソフトウェア受信電力との和であるソフトウェア受信更新電力を算出し、前記電源残容量検出部によって検出された前記バッテリの電源残容量が前記ソフトウェア受信更新電力より大きければ前記更新ソフトウェアデータを受信し、前記バッテリの電源残容量が前記ソフトウェア受信更新電力以下であれば前記更新ソフトウェアデータの受信を拒否する、請求項1から15のいずれか一項に記載の車両用制御装置。
PCT/JP2021/042001 2021-11-16 2021-11-16 車両用制御装置 WO2023089652A1 (ja)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/JP2021/042001 WO2023089652A1 (ja) 2021-11-16 2021-11-16 車両用制御装置
JP2023561946A JP7403730B2 (ja) 2021-11-16 2021-11-16 車両用制御装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2021/042001 WO2023089652A1 (ja) 2021-11-16 2021-11-16 車両用制御装置

Publications (1)

Publication Number Publication Date
WO2023089652A1 true WO2023089652A1 (ja) 2023-05-25

Family

ID=86396390

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2021/042001 WO2023089652A1 (ja) 2021-11-16 2021-11-16 車両用制御装置

Country Status (2)

Country Link
JP (1) JP7403730B2 (ja)
WO (1) WO2023089652A1 (ja)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017134506A (ja) * 2016-01-26 2017-08-03 株式会社日立製作所 ソフトウェア更新システム、サーバ
JP2019036140A (ja) * 2017-08-16 2019-03-07 住友電気工業株式会社 制御装置、制御方法、およびコンピュータプログラム
JP2019073106A (ja) * 2017-10-13 2019-05-16 株式会社デンソー 電子制御装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017134506A (ja) * 2016-01-26 2017-08-03 株式会社日立製作所 ソフトウェア更新システム、サーバ
JP2019036140A (ja) * 2017-08-16 2019-03-07 住友電気工業株式会社 制御装置、制御方法、およびコンピュータプログラム
JP2019073106A (ja) * 2017-10-13 2019-05-16 株式会社デンソー 電子制御装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
YAMAMOTO, TATSUYA: "Personal Digital Assistant", JOURNAL OF DENSO TECHNICAL DISCLOSURE, no. 151, 2006, pages 13 - 13R, XP009545662, ISSN: 1342-7970 *

Also Published As

Publication number Publication date
JPWO2023089652A1 (ja) 2023-05-25
JP7403730B2 (ja) 2023-12-22

Similar Documents

Publication Publication Date Title
US8159186B2 (en) Power source system, power supply control method for the power source system, power supply control program for the power source system, and computer-readable recording medium with the power supply control program recorded thereon
US8878493B2 (en) Apparatus for monitoring operation state of battery pack composed of plurality of cells mutually connected in series
US8334673B2 (en) Voltage monitoring apparatus including active power source, low consumption power source, and a failure diagnosis section to disconnect active power source as a result of failure
CN106257737B (zh) 状态估计装置及状态估计方法
US11501583B2 (en) Vehicle battery health measurement and control systems and methods
US11095143B2 (en) Battery control unit
KR20220062224A (ko) 차량 배터리 관리 시스템 및 방법
JP2017009577A (ja) 状態推定装置及び状態推定方法
CN109795368B (zh) 电源控制***和电源控制方法
US20210278472A1 (en) Secondary battery diagnostic device
US11619680B2 (en) Battery deterioration judging system, battery deterioration judging method, and non-transitory storage medium that stores a battery deterioration judging program
JP7207817B2 (ja) バッテリー管理方法、バッテリー装置、およびバッテリーを含む自動車
EP3424771A1 (en) Method and electronic device for managing a power limit
KR20200027778A (ko) 차량의 업데이트 제공 장치 및 방법
KR102421368B1 (ko) 전류 센서 에러 진단 장치 및 방법
US20200136399A1 (en) Battery control device
KR20160011448A (ko) 배터리의 완전충전용량 계산 장치 및 방법
WO2023089652A1 (ja) 車両用制御装置
US11186198B2 (en) Methods and systems for vehicle battery cell failure detection and overcharge protection
JP4670301B2 (ja) バックアップ電源システム
KR20210145024A (ko) 결함 있는 배터리 셀의 검출 방법 및 그 방법을 제공하는 배터리 관리 시스템
CN113671403B (zh) 锂电池soc末端平滑方法及装置、锂电池
CN111993953B (zh) 电池控制方法、动力汽车及可读存储介质
KR20190069894A (ko) 이차 전지 셀의 soc 재조정 장치 및 방법
CN114994558A (zh) 电池寿命检测方法、终端设备及计算机可读存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21964668

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2023561946

Country of ref document: JP