WO2019188073A1 - 制御装置、制御方法、およびコンピュータプログラム - Google Patents

制御装置、制御方法、およびコンピュータプログラム Download PDF

Info

Publication number
WO2019188073A1
WO2019188073A1 PCT/JP2019/008927 JP2019008927W WO2019188073A1 WO 2019188073 A1 WO2019188073 A1 WO 2019188073A1 JP 2019008927 W JP2019008927 W JP 2019008927W WO 2019188073 A1 WO2019188073 A1 WO 2019188073A1
Authority
WO
WIPO (PCT)
Prior art keywords
control device
vehicle
battery
condition
power
Prior art date
Application number
PCT/JP2019/008927
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 JP2020509775A priority Critical patent/JP7279707B2/ja
Publication of WO2019188073A1 publication Critical patent/WO2019188073A1/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
    • 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
    • B60R16/03Electric 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 for supply of electrical power to vehicle subsystems or for
    • 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
    • B60R16/04Arrangement of batteries

Definitions

  • the present invention relates to a control device, a control method, and a computer program.
  • This application claims priority based on Japanese Patent Application No. 2018-061482, filed on Mar. 28, 2018, and incorporates all the contents described in the above Japanese application.
  • ECUs Electronic Control Units
  • the types of ECUs include, for example, those related to the traveling system that controls the engine, brakes, EPS (Electric Power Steering), etc. for the operation of the accelerator, brake, and steering wheel.
  • body-type ECUs that control the turning on / off of lights and the sounding of alarm devices
  • meter-type ECUs that control the operation of meters arranged near the driver's seat.
  • the ECU is configured by an arithmetic processing device such as a microcomputer, and the control of the in-vehicle device is realized by reading and executing a control program stored in a ROM (Read Only Memory).
  • the ECU control program needs to be rewritten from the old version of the control program to the new version of the control program in accordance with the version upgrade. Further, it is necessary to rewrite data necessary for execution of the control program such as map information and control parameters.
  • Patent Document 1 discloses a technique (online update function) for downloading an update program via a network and updating an ECU control program.
  • the technique of Patent Literature 1 in order to prevent the operation of the vehicle device during the update of the control program in the ECU, the vehicle is stopped and the update is executed in a state where the user gets off the vehicle.
  • a control device includes an in-vehicle communication unit capable of communicating with an in-vehicle control device, and a control unit that controls the in-vehicle communication unit, and the control unit supplies power to the in-vehicle control device. Based on the soundness level of the battery and the state of power supplied by the generator capable of supplying power to the in-vehicle control device, a request for execution of control program update processing for the in-vehicle control device is transmitted to the in-vehicle communication unit. A determination process is performed to determine whether or not.
  • a control method is a method of instructing an in-vehicle control device to execute a control program update process, and an index value of a soundness level of a battery that supplies power to the in-vehicle control device.
  • the step of calculating the step of obtaining power information indicating the state of power supplied by a generator capable of supplying power to the vehicle-mounted control device, and the index value and the power information, to the vehicle-mounted control device Executing a determination process for determining whether or not to request execution of the update process.
  • a computer program is a program for causing a computer to function as a control device that instructs the in-vehicle control device to execute control program update processing, and the control device includes the in-vehicle control device.
  • a communication unit capable of communicating with the computer, based on the soundness level of the battery that supplies power to the in-vehicle control device, and the state of power supplied by a generator that can supply power to the in-vehicle control device,
  • the control unit is configured to function as a control unit that executes a determination process for determining whether or not to cause the communication unit to transmit a request for execution of a control program update process to the in-vehicle control device.
  • a control device includes an in-vehicle communication unit capable of communicating with an in-vehicle control device, and a control unit that controls the in-vehicle communication unit, and the control unit supplies power to the in-vehicle control device.
  • the present disclosure can be realized as a control device including such a characteristic control unit, a control method using such characteristic processing as a step, and a program for causing a computer to execute the step. Moreover, it can implement
  • Patent Document 1 Japanese Unexamined Patent Application Publication No. 2011-121396 (Patent Document 1) or Japanese Unexamined Patent Application Publication No. 2013-084143 (Patent Document 2) confirms that the power necessary for the update process is stored in the battery. Discloses a technique for executing update processing.
  • the control device includes an in-vehicle communication unit capable of communicating with the in-vehicle control device, and a control unit that controls the in-vehicle communication unit, and the control unit supplies power to the in-vehicle control device.
  • a request for execution of control program update processing for the in-vehicle control device is transmitted to the in-vehicle communication unit
  • a determination process for determining whether or not to execute is executed.
  • the determination process may include determining whether at least one of the following first condition and second condition is satisfied.
  • First condition The soundness level of the battery is higher than the reference soundness degree.
  • Second condition The generator is in a power generation state.
  • Update processing can be executed.
  • the update process can be executed by the power supplied from the generator.
  • the determination process may include determining whether or not at least one of the following first condition and second condition is satisfied.
  • First condition The soundness level of the battery is higher than the standard soundness level.
  • Second condition The power generation amount of the generator is larger than the power consumption amount in the vehicle.
  • the in-vehicle control device update process can be executed by the electric power.
  • the update process can be executed by the power supplied from the generator.
  • the control unit transmits the request to the in-vehicle communication unit when the determination process does not satisfy the first condition and the second condition. You don't have to.
  • the onboard control device does not request execution of the update process, so that the power required for the update process is insufficient due to battery deterioration during the update process, and the update process continues. The situation where it becomes impossible can be avoided.
  • the determination process determines again whether the second condition is satisfied when the first condition and the second condition are not satisfied. You may include that. Thereby, execution of the update process is suspended until the second condition is satisfied, but if the second condition is satisfied when the engine is started by a starter, a generator with a motor function, or the like during idling stop when the vehicle is stopped, Update processing can be executed.
  • the control unit issues a notification screen display instruction to the in-vehicle control device that controls the display device when the first condition and the second condition are not satisfied.
  • the notification screen may be a screen for notifying that the update process is not executed, which is transmitted to the in-vehicle communication unit.
  • a notification screen is displayed on the display device. Therefore, the user can know that it is necessary to operate the engine and cause the generator to generate power in order to start the update process.
  • a user who prioritizes execution of the update process can start the update process by operating the engine for power supply. Thereby, a user's convenience can be improved.
  • the control unit when the second condition is satisfied, after the transmission of the update process request, the generator for the in-vehicle control device that controls the generator A request for maintaining the power generation state may be transmitted to the in-vehicle communication unit.
  • the generator maintains the power generation state during the update process. Therefore, when the soundness level of the battery is low, the update process can be continued using the power from the generator.
  • the determination process acquires and acquires at least one of the voltage value and the current value of the battery from an in-vehicle control device that controls the battery. It may include calculating an index value of the degree of health of the battery using the value and comparing the index value with a threshold value. Thereby, it can be determined with high accuracy whether or not there is a possibility that the update process cannot be performed due to deterioration of the battery.
  • the control method according to the present embodiment is (a method for instructing the in-vehicle control device to execute a control program update process, and an index value of the degree of soundness of the battery that supplies power to the in-vehicle control device A step of obtaining power information indicating a state of power supplied by a generator capable of supplying power to the vehicle-mounted control device, and using the index value and the power information, the vehicle-mounted control device. And executing a determination process for determining whether or not to request execution of the update process. Thereby, the shortage of power supply due to the deterioration of the battery during the update process of the control program in the in-vehicle control device can be suppressed.
  • the computer program according to the present embodiment is a program for causing a computer to function as a control device that instructs the in-vehicle control device to execute control program update processing, and the control device is the in-vehicle control device.
  • a communication unit capable of communicating with the computer, based on the soundness level of the battery that supplies power to the in-vehicle control device, and the state of power supplied by a generator that can supply power to the in-vehicle control device,
  • the control unit is configured to function as a control unit that executes a determination process for determining whether or not to cause the communication unit to transmit a request for execution of a control program update process to the in-vehicle control device.
  • the control device includes an in-vehicle communication unit that can communicate with the in-vehicle control device, and a control unit that controls the in-vehicle communication unit, and the control unit supplies power to the in-vehicle control device.
  • Whether to send a request for control program update processing for the in-vehicle control device to the in-vehicle communication unit based on the soundness level of the battery to be operated and the operating state of the generator capable of supplying power to the in-vehicle control device Judgment is made. Thereby, the shortage of power supply due to the deterioration of the battery during the update process of the control program in the in-vehicle control device can be suppressed.
  • FIG. 1 is a schematic diagram illustrating a configuration of a vehicle according to the first embodiment.
  • a vehicle 1 according to the present embodiment includes an in-vehicle communication device 15 for communicating with an external device, a plurality of ECUs (Electronic Control Units) 30A, 30B,..., An external device and a plurality of ECUs 30A. , 30B,..., And relay device 10 that is an ECU that relays communication with.
  • Each ECU 30 is connected by an in-vehicle communication line 16 that terminates in the relay device 10 and constitutes an in-vehicle communication network 4 together with the relay device 10.
  • the communication network 4 includes a bus type communication network (for example, CAN (Controller Area Network)) that enables communication between the ECUs 30.
  • CAN Controller Area Network
  • information is stored in a format called a data frame and transmitted / received.
  • the communication network 4 is not limited to CAN, but includes communication standards such as LIN (Local Interconnect Network), CANFD (CAN with Flexible Data Rate), Ethernet (registered trademark), or MOST (Media Oriented Systems Transport: MOST is a registered trademark). It may be a network to be adopted.
  • LIN Local Interconnect Network
  • CANFD CAN with Flexible Data Rate
  • Ethernet registered trademark
  • MOST Media Oriented Systems Transport: MOST is a registered trademark
  • the ECU 30 is, for example, a power train ECU that controls the engine, brakes, EPS (Electric Power Steering), etc. in response to accelerator, brake, and steering wheel operations, and lighting / extinguishing of interior lighting and headlights according to switch operations. And a body system ECU that controls the alarm and the like, and a meter system ECU that controls the operation of meters provided near the driver's seat.
  • EPS Electrical Power Steering
  • the relay device 10 is further connected to the in-vehicle communication device 15 via a communication line of a predetermined standard.
  • the relay device 10 may be equipped with the in-vehicle communication device 15.
  • the in-vehicle communication device 15 wirelessly communicates with an external device via the wide area communication network 2 such as the Internet.
  • the vehicle exterior device is, for example, the server 5 that stores an update program for the ECU 30.
  • the in-vehicle communication device 15 may have a plug (not shown) and communicate with an external device connected to the plug by wire.
  • the in-vehicle communication device 15 may be a device owned by the user, such as a mobile phone, a smartphone, a tablet terminal, or a notebook computer (Personal Computer).
  • the relay device 10 relays information received by the in-vehicle communication device 15 from the outside device to the ECU 30. Further, the relay device 10 relays information received from the ECU 30 to the in-vehicle communication device 15. The in-vehicle communication device 15 wirelessly transmits the relayed information to the external device.
  • FIG. 2 is a schematic diagram illustrating an example of a power supply configuration of the vehicle 1.
  • the power line 17 is indicated by a thick line to distinguish it from the in-vehicle communication line 16.
  • vehicle 1 includes a generator 21 and a battery 22 as a power source.
  • the generator 21 is a generator that generates electricity according to the driving of the engine, and is, for example, an alternator.
  • the battery 22 is generally a lead storage battery. In addition, a combination thereof such as a lithium ion battery or a nickel metal hydride battery may be used.
  • Vehicle generators such as the relay device 10, the ECUs 30 ⁇ / b> A, 30 ⁇ / b> B, 30 ⁇ / b> C, and the starter 23 are connected to the generator 21 and the battery 22 via the power line 17, and the generator 21 and the battery 22 are connected to these generators via the power line 17. It is possible to supply power to the device. Moreover, the electric power generated by the generator 21 may be supplied to the battery 22 via the power line 17 and stored.
  • a high voltage unit 25 is further connected to the battery 22 via the DC / DC converter 24, and the electric power from the battery 22 is boosted by the DC / DC converter 24 to increase the voltage. Supplied to the unit 25.
  • FIG. 3 is a block diagram illustrating an internal configuration of the relay apparatus 10.
  • relay device 10 includes a control unit 11, a storage unit 12, an in-vehicle communication unit 13, a sensor interface (I / F) 14, and the like.
  • the control unit 11 of the relay apparatus 10 includes a CPU (Central Processing Unit).
  • the CPU of the control unit 11 includes one or a plurality of large scale integrated circuits (LSIs). In a CPU including a plurality of LSIs, the plurality of LSIs cooperate to realize the function of the CPU.
  • the CPU of the control unit 11 can execute a plurality of programs in parallel by switching and executing a plurality of programs in a time division manner, for example.
  • the CPU of the control unit 11 has a function of reading one or more programs stored in the storage unit 12 and executing various processes.
  • the computer program executed by the CPU of the control unit 11 can be transferred while being recorded on a recording medium such as a CD-ROM or DVD-ROM, or can be transferred by downloading from a computer device such as a server computer. .
  • the storage unit 12 includes a non-volatile memory element such as flash memory or EEPROM (Electrically Erasable Programmable Read Only Memory).
  • the storage unit 12 has a storage area for storing a program executed by the CPU of the control unit 11 or data necessary for execution.
  • An in-vehicle communication line 16 is connected to the in-vehicle communication unit 13.
  • the in-vehicle communication unit 13 includes a communication device that communicates with the ECU 30 in accordance with a predetermined communication standard such as CAN.
  • the in-vehicle communication unit 13 transmits information given from the CPU of the control unit 11 to a predetermined ECU 30, and the ECU 30 gives information of the transmission source to the CPU of the control unit 11.
  • the in-vehicle communication device 15 is a wireless communication device including an antenna and a communication circuit that performs transmission and reception of wireless signals from the antenna.
  • the in-vehicle communication device 15 can communicate with an external device by being connected to a wide area communication network 2 such as a mobile phone network.
  • the in-vehicle communication device 15 transmits information given from the CPU of the control unit 11 to an external device such as the server 5 and the information received from the external device via the wide area communication network 2 formed by a base station (not shown). To the CPU of the control unit 11.
  • FIG. 4 is a block diagram showing an internal configuration of the ECU 30.
  • ECU 30 includes a control unit 31, a storage unit 32, an in-vehicle communication unit 33, and the like.
  • the control unit 31 of the ECU 30 includes a CPU.
  • the CPU of the control unit 31 has a function of reading one or more programs stored in the storage unit 32 and executing various processes.
  • the CPU of the control unit 31 includes a function for executing a control program update process.
  • the CPU of the control unit 31 can execute a plurality of programs in parallel by switching and executing a plurality of programs in a time division manner, for example.
  • the CPU of the control unit 31 includes one or a plurality of large scale integrated circuits (LSIs).
  • LSIs large scale integrated circuits
  • the plurality of LSIs cooperate to realize the function of the CPU.
  • the computer program executed by the CPU of the control unit 31 can be transferred while being recorded on a recording medium such as a CD-ROM or DVD-ROM, or can be transferred by downloading from a computer device such as a server computer. .
  • the storage unit 32 is composed of a nonvolatile memory element such as flash memory, EEPROM, or ROM.
  • the storage unit 32 has a storage area for storing a program executed by the CPU of the control unit 11 or data necessary for execution.
  • the storage unit 32 includes a first region 321 and a second region 322 as regions for storing computer programs executed by the CPU of the control unit 31.
  • An in-vehicle communication line 16 is connected to the in-vehicle communication unit 33.
  • the in-vehicle communication unit 33 is a communication device that communicates with the relay device 10 in accordance with a predetermined communication standard such as CAN.
  • the in-vehicle communication unit 33 transmits information given from the CPU of the control unit 31 to a predetermined relay device 10, and the relay device 10 gives information of the transmission source to the CPU of the control unit 31.
  • the ECU 30 ⁇ / b> B is an ECU that controls the battery 22, and is based on the voltage value and current value of the battery 22, the amount of power stored in the battery 22, and the ratio of the stored power amount to the fully charged amount.
  • SOC State Of Charge
  • the ECU 30C is an ECU that controls the generator 21, and transmits information indicating the state of the generator 21, such as the operating status of the generator 21 and the amount of power generation, to the relay device 10.
  • the ECU 30D is a power train ECU that controls an engine starter 23 (not shown), and transmits an operation status such as ON / OFF of the engine and the rotational speed to the relay device 10.
  • the engine operation is controlled according to the control frame from the relay device 10.
  • Control program update sequence The control program of the ECU 30 is updated at a predetermined timing.
  • the relay device 10 relays the update program to an ECU 30 (hereinafter referred to as a target ECU) that executes an update process at a timing when the update program is received from the server 5 or the like, and functions as a control device.
  • the ECU is requested to execute update processing.
  • FIG. 5 is a sequence diagram showing the flow of update processing in the communication network 4.
  • relay device 10 when an update program is input from server 5 or the like (step S ⁇ b> 1), relay device 10 temporarily stores the update program in storage unit 12.
  • the relay device 10 executes an update request process (step S2).
  • the update request process includes a determination process for determining the battery state of the target ECU (step S21), and a process for requesting the update process by passing the update program to the target ECU according to the determination result (step S22).
  • the target ECU that has received the request from the relay device 10 executes the update process (step S3).
  • the update process in step S3 is performed after updating (new version) to the storage area that is not the storage area in which the control program before update (current version) is written in the first area 321 and the second area 322.
  • region 322 are included.
  • the target ECU notifies the relay apparatus 10 of the completion of the update process (step S4).
  • the relay device 10 deletes the update program temporarily stored in the storage unit 12, and the series of processes ends.
  • the control unit 11 of the relay device 10 includes a determination unit 111 and an update control unit 112. These functions are realized by the CPU of the control unit 11 reading and executing a program stored in the storage unit 12.
  • the drive control unit 113 shown in FIG. 3 is a function included in the control unit 11 of the relay device 10 according to the second embodiment, and is the control unit 11 of the relay device 10 according to the first embodiment. Will be described as not included.
  • the determination unit 111 executes the determination process in step S21.
  • the determination process of step S21 includes a process (first determination process) for determining whether or not a predetermined timing (determination timing) for determining the battery state of the target ECU has been reached, and the determination of the battery 22 at the determination timing.
  • the determination unit 111 determines whether or not it is the determination timing based on the information of the control target device of the ECU input from each ECU to the control unit 11.
  • the determination timing is, for example, when starting, when stopping, when idling stop, when returning from idling stop, and the like.
  • the device information includes, for example, the operating state of the engine and / or the rotational speed, and user operation.
  • the determination unit 111 is at least one of the voltage value and the current value of the battery 22 input from the ECU that controls the battery 22 (ECU 30B in the example of FIG. 2) to the control unit 11. Based on the above, a soundness index value that is an index value indicating the soundness level of the battery 22 is calculated.
  • the determination unit 111 determines the soundness index value based on a signal input from the sensor to the control unit 11. It may be calculated.
  • the soundness index value is, for example, soundness SOH (State Of Health).
  • the soundness index value is described as the soundness degree SOH.
  • the soundness index value is sound when the soundness index value and the threshold value described later are in a magnitude relationship. This is opposite to the magnitude relationship in the case of the degree SOH.
  • the determination unit 111 stores a threshold Th of the soundness degree SOH in advance.
  • the threshold Th is a standard soundness level and represents a standard soundness level.
  • the determination unit 111 compares the calculated soundness level SOH with the threshold value Th.
  • the determination unit 111 passes the comparison result to the update control unit 112 as the determination result of the second determination process.
  • the soundness level SOH is larger than the threshold value Th, the soundness level of the battery 22 is higher than the reference soundness level, that is, not deteriorated. It is lower than the degree of soundness, that is, it is deteriorated.
  • the determination unit 111 determines whether the generator 21 is in a power generation state based on information regarding the generator 21 input from the ECU that controls the generator 21 (ECU 30C in the example of FIG. 2) to the control unit 11. It is determined whether or not.
  • the determination unit 111 passes the determination result of the third determination process to the update control unit 112.
  • the update control unit 112 executes a process for requesting the update process in step S22.
  • the process for requesting the update process in step S22 includes a process for requesting the target ECU to execute a rewrite process (step S31) (first request process) and a switch process for the target ECU (step S32). And a process for requesting (second request process).
  • the update control unit 112 passes the update program to the in-vehicle communication unit 13 and instructs the target ECU to transmit a control frame requesting execution of the rewrite process.
  • the update control unit 112 instructs the in-vehicle communication unit 13 to transmit a control frame that requests execution of the switching process to the target ECU.
  • FIG. 6 is a flowchart showing the flow of update request processing executed in the control unit 11 of the relay apparatus 10.
  • the drive control process of step S108 and step S115 in the process of FIG. 6 is a process performed in the update request process according to the second embodiment. These processes will be described as being not included in the update request process in the first embodiment, and will be described in the second embodiment.
  • control unit 11 executes subsequent processing when an update program is stored in storage unit 12 (YES in step S ⁇ b> 101). That is, the control unit 11 determines whether or not the determination timing has been reached (first determination process), and waits until the determination timing is reached. When the determination timing is reached (YES in step S102), the control unit 11 calculates the soundness level SOH of the battery 22 using information from the ECU 30B, and compares it with the threshold value Th of the soundness level SOH stored in advance (first). 2 determination processing).
  • the control unit 11 requests the target ECU for an update process as usual. That is, when the first condition that the degree of soundness of the battery 22 is higher than the standard degree of soundness is satisfied, the control unit 11 transfers the update program to the target ECU with respect to the in-vehicle communication unit 13. At the same time, an instruction to request execution of the rewriting process is given (step S117). Further, after the rewriting process is executed in the target ECU, the control unit 11 instructs the in-vehicle communication unit 13 to request the target ECU to execute the switching process (step S113).
  • the control unit 11 determines whether or not the generator 21 is in a power generation state using information from the ECU 30C (third determination process).
  • the control unit 11 executes step S105 again. That is, when the first condition is not satisfied and the second condition that the generator 21 is in the power generation state is not satisfied, the control unit 11 does not execute the subsequent processing until the power generation state is established. The system waits until the generator 21 is in a power generation state, that is, until the engine is operated.
  • the control unit 11 causes the output device to output a notification that the generator 21 starts power generation, that is, does not execute the rewriting process until the engine is operated, and waits for the start of the rewriting process.
  • the output device is a display device (not shown), for example, and the control unit 11 instructs the ECU that controls the display device to display a display screen for performing the notification on the display device.
  • step S105 When the power generator 21 is in the power generation state, that is, when the second condition is satisfied (YES in step S105), the control unit 11 transfers the update program to the target ECU to the in-vehicle communication unit 13. At the same time, an instruction to request execution of the rewriting process is given (step S107).
  • the control unit 11 determines again whether or not the generator 21 is in the power generation state (third determination process).
  • the control unit 11 continues until the generator 21 enters the power generation state, that is, Wait until the engine is running. Therefore, preferably, the control unit 11 causes the output device to output a notification that the generator 21 starts power generation, that is, does not execute the switching process until the engine is operated, and waits for the start of the switching process.
  • the output device is a display device (not shown), for example, and the control unit 11 instructs the ECU that controls the display device to display a display screen for performing the notification on the display device.
  • Step S113 When the generator 21 is in a power generation state, that is, when the second condition is satisfied (YES in step S109), the control unit 11 requests the in-vehicle communication unit 13 to execute a switching process on the target ECU. (Step S113).
  • control unit 11 is in a power generation state (YES in step S109), and when the user's permission to execute the switching process during operation of the engine is obtained (step S109) In S111, the in-vehicle communication unit 13 is instructed to request the target ECU to execute the switching process (step S113).
  • the generator 21 When the soundness level of the battery 22 reaches a state that does not satisfy the threshold value, that is, when the battery 22 has deteriorated to a specified level and the generator 21 is not in the power generation state, the generator 21 is in the power generation state. Until that time, that is, until the engine is operated, the start of the update process in the target ECU is suspended. At this time, the relay apparatus 10 notifies the user that the update process is on standby, so that the user can know that the engine needs to be operated in order to start the update process. As a result, a user who prioritizes execution of the update process can start the update process by operating the engine for power supply. Thereby, a user's convenience can be improved.
  • the relay device 10 When the generator 21 is in a power generation state, that is, while the engine is running, the relay device 10 causes the target ECU to execute a switching process when the user has given permission.
  • the switching process may involve a reset of the target ECU, and the operation of the device to be controlled by the target ECU may be temporarily stopped or the display mode may be changed during the reset process. If the user does not like to be in such a state during traveling, the user can be prohibited from executing the switching process. Thereby, a user's convenience can be improved.
  • the relay apparatus 10 according to the second embodiment executes an update request process including the drive control process of steps S108 and S115 of FIG. Therefore, the control unit 11 of the relay apparatus 10 according to the second embodiment further includes the drive control unit 113 shown in FIG.
  • the drive control process in step S108 and step S115 is a process for performing control to continue driving the engine during the update process.
  • the drive control unit 113 causes the in-vehicle communication unit 13 to transmit a control frame that instructs the ECU that controls the engine to continue driving the engine.
  • control unit 11 of relay device 10 executes the drive control process after requesting the target ECU to execute the rewrite process in step S107. (Step S108). That is, the ECU that controls the engine is requested to continue driving the engine during the rewriting process in the target ECU.
  • control unit 11 executes the drive control process after requesting the target ECU to execute the switching process in step S113 (step S115). That is, the ECU that controls the engine is requested to continue driving the engine during the switching process in the target ECU.
  • the relay device 10 executes the above update request process, it is possible to avoid stopping the engine after confirming that the engine is operating and starting the update process in the target ECU.
  • the engine may stop when the vehicle 1 stops due to a function such as idling stop. Even in the case where idling is stopped during the update process in the target ECU, the operation of the engine is continued by the drive control process. Thereby, the power supply from the generator 21 to the target ECU is continued, and the update process can be continued.
  • the second condition is that the power generation amount of the generator is larger than the power consumption amount in the vehicle.
  • FIG. 7 is a schematic diagram illustrating an example of a power supply configuration of the vehicle according to the present embodiment.
  • a battery sensor 100 is provided on the power line 17 extending from the battery 22 to the in-vehicle device such as the relay device 10, the ECUs 30 ⁇ / b> A, 30 ⁇ / b> B, 30 ⁇ / b> C, and the starter 23.
  • the battery sensor 100 detects a current value output from the battery 22.
  • the battery sensor 100 is connected to an ECU 30C that controls the generator 21 through a signal line. The current value detected by the battery sensor 100 is transmitted from the battery sensor 100 to the ECU 30C.
  • the ECU 30C includes a voltage sensor 110, for example.
  • Voltage sensor 110 detects a voltage value applied to in-vehicle devices such as relay device 10, ECUs 30 ⁇ / b> A, 30 ⁇ / b> B, 30 ⁇ / b> C, and starter 23.
  • in-vehicle devices such as the relay device 10, the ECUs 30 ⁇ / b> A, 30 ⁇ / b> B, 30 ⁇ / b> C, and the starter 23 are connected in parallel by the power line 17 and the same voltage is applied.
  • the voltage sensor 110 can detect the voltage value in the ECU 30C, for example.
  • the voltage sensor 110 may be provided outside the ECU 30C.
  • ECU30C can receive the electric current value detected by the battery sensor 100, and can acquire the voltage value detected by the voltage sensor 110.
  • FIG. The ECU 30C can calculate the power consumption amount EC in the vehicle 1 based on the current value and the voltage value.
  • the ECU 30C can receive information on the power generation amount EG from the generator 21.
  • the generator 21 may transmit not the power generation amount EG but operation status information including the rotation speed.
  • the ECU 30C can calculate the power generation amount EG using the rotation speed.
  • the ECU 30C can transmit the power consumption amount EC and the power generation amount EG to the relay device 10.
  • the ECU 30 ⁇ / b> C gives the relay device 10 the current value detected by the battery sensor 100, the voltage value detected by the voltage sensor 110, and the rotation speed of the generator 21 instead of the power consumption amount EC and the power generation amount EG. You may send it.
  • the relay device 10 may calculate the power consumption amount EC from the current value and the voltage value, and may calculate the power generation amount EG from the rotational speed of the generator 21.
  • the determination unit 111 has a power generation amount EG input to the control unit 11 from the ECU (ECU 30C in the example of FIG. 7) that controls the generator 21 larger than the power consumption amount EC. It is determined whether or not.
  • the determination unit 111 passes the determination result of the third determination process to the update control unit 112.
  • the first determination process and the second determination process are the same as those in the first embodiment.
  • FIG. 8 is a flowchart showing the flow of update request processing executed in the control unit 11 of the relay apparatus 10 according to the present embodiment.
  • omitted description is the same as that of 1st Embodiment.
  • the control unit 11 requests the target ECU for an update process as usual. That is, when the first condition that the degree of soundness of the battery 22 is higher than the standard degree of soundness is satisfied, the control unit 11 transfers the update program to the target ECU with respect to the in-vehicle communication unit 13. At the same time, an instruction to request execution of the rewriting process is given (step S117). Further, after the rewriting process is executed in the target ECU, the control unit 11 instructs the in-vehicle communication unit 13 to request the target ECU to execute the switching process (step S113).
  • the control unit 11 Receives the power generation amount EG from the ECU 30C (step S201), and receives the power consumption amount EC (step S202).
  • the control unit 11 receives the current value detected by the battery sensor 100, the voltage value detected by the voltage sensor 110, and the rotation speed of the generator 21 from the ECU 30C, and uses the current value and the voltage value to calculate the power consumption EC.
  • the power generation amount EG may be calculated from the rotational speed of the generator 21.
  • the control unit 11 compares the power generation amount EG and the power consumption amount EC (third determination process). Control is performed when the power generation amount EG is less than the power consumption amount EC, that is, the power generation amount EG of the generator 21 is larger than the power consumption amount EC in the vehicle 1 (the second condition is not satisfied) (NO in step S203). The unit 11 executes step S203 again. That is, when the first condition is not satisfied and the second condition is not satisfied, the control unit 11 does not perform the subsequent processing until the power generation amount EG becomes equal to or greater than the power consumption amount EC, and generates the power generation amount EG. Is on standby until the power consumption EC is greater than or equal to EC.
  • the control unit 11 does not execute the rewriting process until the power generation amount EG becomes equal to or greater than the power consumption amount EC, and causes the output device to output a notification of waiting for the start of the rewriting process.
  • the output device is a display device (not shown), for example, and the control unit 11 instructs the ECU that controls the display device to display a display screen for performing the notification on the display device.
  • the control unit 11 updates the target ECU with respect to the in-vehicle communication unit 13. And instructing the execution of the rewriting process (step S107).
  • the control unit 11 determines again whether or not the power generation amount EG is equal to or greater than the power consumption amount EC (third determination process). ).
  • the control unit 11 determines that the power generation amount EG is equal to or greater than the power consumption amount EC. Wait until For this reason, preferably, the control unit 11 does not execute the switching process until the power generation amount EG becomes equal to or greater than the power consumption amount EC, and causes the output device to output a notification of waiting for the start of the switching process.
  • the output device is a display device (not shown), for example, and the control unit 11 instructs the ECU that controls the display device to display a display screen for performing the notification on the display device.
  • step S204 When the power generation amount EG is equal to or greater than the power consumption amount EC, that is, when the second condition is satisfied (YES in step S204), the control unit 11 performs a switching process on the target ECU with respect to the in-vehicle communication unit 13. An instruction to request execution is given (step S113).
  • the relay apparatus 10 may execute an update request process including the drive control process in steps S108 and S115 in FIG. 8 as in the second embodiment.
  • the power generation amount EG Until the power consumption amount EC becomes equal to or greater than the power consumption EC, the start of the update process in the target ECU is suspended.
  • the relay device 10 notifies the user of the waiting for the update process, so that the user can know that the engine needs to be operated in order to start the update process.
  • the user who gives priority to the execution of the update process can start the update process by operating the engine to supply power. Thereby, a user's convenience can be improved.
  • the relay device 10 causes the target ECU to execute a switching process when the user has given permission.
  • the switching process may involve a reset of the target ECU, and the operation of the device to be controlled by the target ECU may be temporarily stopped or the display mode may be changed during the reset process. If the user does not like to be in such a state during traveling, the user can be prohibited from executing the switching process. Thereby, a user's convenience can be improved.
  • the soundness index value is not limited to only the soundness SOH or the deterioration degree SOD.
  • Another example of the soundness index value is information such as information indicating the state of the battery 22 and information measured by a specific operator such as a dealer and stored in an ECU that controls the battery 22. Also good.
  • the information indicating the state of the battery 22 is, for example, the soundness level SOH measured on the inspection date.
  • the measured value is, for example, a measurement result of the specific gravity of the battery fluid.
  • the determination unit 111 of the relay device 10 executes the second determination process using the above information input from the ECU to the control unit 11.
  • the control device is not limited to the relay device 10 and may be an ECU other than the relay device 10. Alternatively, the control device may be a dedicated device independent of the relay device 10.
  • the control apparatus may execute the first determination process and the second determination process, and pass the determination result of the soundness level of the battery 22 to another apparatus to instruct the execution of the update request process. .
  • the disclosed features are realized by one or more modules.
  • the feature can be realized by a circuit element or other hardware module, by a software module that defines processing for realizing the feature, or by a combination of a hardware module and a software module.
  • a program that is a combination of one or more software modules for causing a computer to execute the above-described operation.
  • a program is recorded on a computer-readable recording medium such as a flexible disk attached to the computer, a CD-ROM (Compact Disk-Read Only Memory), a ROM, a RAM, and a memory card, and provided as a program product.
  • the program can be provided by being recorded on a recording medium such as a hard disk built in the computer.
  • a program can also be provided by downloading via a network.
  • the program according to the present disclosure is a program module that is provided as a part of a computer operating system (OS) and calls necessary modules in a predetermined arrangement at a predetermined timing to execute processing. Also good. In that case, the program itself does not include the module, and the process is executed in cooperation with the OS. Such a program that does not include a module may also be included in the program according to the present disclosure.
  • OS computer operating system
  • the program according to the present disclosure may be provided by being incorporated in a part of another program. Even in this case, the program itself does not include the module included in the other program, and the process is executed in cooperation with the other program.
  • a program incorporated in such another program may also be included in the program according to the present disclosure.
  • the provided program product is installed in a program storage unit such as a hard disk and executed.
  • the program product includes the program itself and a recording medium on which the program is recorded.

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

制御装置は、車載制御装置と通信可能な車内通信部と、前記車内通信部を制御する制御部と、を備え、前記制御部は、前記車載制御装置に電力供給するバッテリの健全度合いと、前記車載制御装置に電力供給可能な発電機による供給電力の状態と、に基づいて、前記車載制御装置に対する制御プログラムの更新処理の実行の要求を前記車内通信部に送信させるか否かを判定するための判定処理を実行する。

Description

制御装置、制御方法、およびコンピュータプログラム
 本発明は、制御装置、制御方法、およびコンピュータプログラムに関する。本出願は、2018年3月28日出願の日本出願第2018-061482号に基づく優先権を主張し、前記日本出願に記載された全ての内容を援用するものである。
 近年、自動車の技術分野においては、車両の高機能化が進行しており、多種多様な車載機器が車両に搭載されている。従って、車両には、各車載機器を制御するための制御装置である、所謂ECU(Electronic Control Unit)が多数搭載されている。
 ECUの種類には、例えば、アクセル、ブレーキ、ハンドルの操作に対してエンジンやブレーキ、EPS(Electric Power Steering)等の制御を行う走行系に関わるもの、乗員によるスイッチ操作に応じて車内照明やヘッドライトの点灯/消灯と警報器の吹鳴等の制御を行うボディ系ECU、運転席近傍に配設されるメータ類の動作を制御するメータ系ECUなどがある。
 一般的にECUは、マイクロコンピュータ等の演算処理装置によって構成されており、ROM(Read Only Memory)に記憶した制御プログラムを読み出して実行することにより、車載機器の制御が実現される。
 ECUの制御プログラムは、バージョンアップに対応して、旧バージョンの制御プログラムを新バージョンの制御プログラムに書き換える必要がある。また、たとえば地図情報や制御用のパラメータなど、制御プログラムの実行に必要なデータも書き換える必要がある。
 たとえば、特許文献1には、ネットワークを介して更新用プログラムをダウンロードし、ECUの制御プログラムの更新を行う技術(オンライン更新機能)が開示されている。特許文献1の技術では、ECUにおいて制御プログラムの更新中に車両機器の操作が行われないようにするため、車両が停止され、ユーザが当該車両から降車した状態で更新が実行される。
特開2011-121396号公報 特開2013-084143号公報
 本開示の一態様に係る制御装置は、車載制御装置と通信可能な車内通信部と、前記車内通信部を制御する制御部と、を備え、前記制御部は、前記車載制御装置に電力供給するバッテリの健全度合いと、前記車載制御装置に電力供給可能な発電機による供給電力の状態と、に基づいて、前記車載制御装置に対する制御プログラムの更新処理の実行の要求を前記車内通信部に送信させるか否かを判定するための判定処理を実行する。
 本開示の一の態様に係る制御方法は、車載制御装置に対して、制御プログラムの更新処理の実行を指示する方法であって、前記車載制御装置に電力供給するバッテリの健全度合いの指標値を算出するステップと、前記車載制御装置に電力供給可能な発電機による供給電力の状態を示す電力情報を取得するステップと、前記指標値と前記電力情報とを用いて、前記車載制御装置に対して前記更新処理の実行を要求するか否かを判定するための判定処理を実行するステップと、を備える。
 本開示の一の態様に係るコンピュータプログラムは、車載制御装置に対して制御プログラムの更新処理の実行を指示する制御装置としてコンピュータを機能させるためのプログラムであって、前記制御装置は、車載制御装置と通信可能な通信部を有し、前記コンピュータを、前記車載制御装置に電力供給するバッテリの健全度合いと、前記車載制御装置に電力供給可能な発電機による供給電力の状態と、に基づいて、前記車載制御装置に対する制御プログラムの更新処理の実行の要求を前記通信部に送信させるか否かを判定するための判定処理を実行する制御部、として機能させる。
 本開示の一態様に係る制御装置は、車載制御装置と通信可能な車内通信部と、前記車内通信部を制御する制御部と、を備え、前記制御部は、前記車載制御装置に電力供給するバッテリの健全度合いと、前記車載制御装置に電力供給可能な発電機の動作状態と、に基づいて、前記車載制御装置に対する制御プログラムの更新処理の要求を前記車内通信部に送信させるか否かの判定を行う。
 本開示は、このような特徴的な制御部を備える制御装置、かかる特徴的な処理をステップとする制御方法、かかるステップをコンピュータに実行させるためのプログラムとして実現することができる。また、かかるステップの一部又は全部を実行する機能を有する半導体集積回路として実現したり、太陽光発電装置を含む太陽光発電システムとして実現したりすることができる。
第1の実施形態に係る車両の構成を表した概略図である。 第1の実施形態に係る車両の電源構成の一例を表わした概略図である。 中継装置の内部構成を示すブロック図である。 ECUの内部構成を示すブロック図である。 車内の通信ネットワークでの更新処理の流れを示すシーケンス図である。 第1の実施形態に係る中継装置の制御部において実行される更新要求処理の流れを表したフローチャートである。 第3の実施形態に係る車両の電源構成の一例を表わした概略図である。 第3の実施形態に係る中継装置の制御部において実行される更新要求処理の流れを表したフローチャートである。
 <本開示が解決しようとする課題>
 更新処理が停車中に実行される場合、更新処理に必要な電力は車両に搭載された蓄電装置(バッテリ)から供給される。そのため、たとえば特開2011-121396号公報(特許文献1)、または、特開2013-084143号公報(特許文献2)は、更新処理に必要な電力がバッテリに蓄電されていることを確認した上で更新処理を実行する技術を開示している。
 バッテリの極板クラックなどの劣化度合いが極板間が短絡状態になるまで達すると、その時点で電力が供給されなくなる。そのため、バッテリに蓄電されていることを確認して更新処理を開始した場合であっても、更新処理中に短絡状態に達すると更新処理中のECUに電力供給がなされなくなる。この場合、更新処理は中断される。バッテリの劣化によって更新処理が中断されると、更新処理はバッテリ交換後に改めて実行されることになる。そのため、処理回数が増加したり、書き込まれるメモリの負担が増加したりする、という課題がある。
 <本開示の効果>
 本開示によれば、車載制御装置での制御プログラムの更新処理中の、バッテリの劣化による電力供給不足を抑制できる。
 <本開示の実施形態の概要>
 以下、本開示の実施形態の概要を列記して説明する。
 (1) 本実施形態に係る制御装置は、車載制御装置と通信可能な車内通信部と、前記車内通信部を制御する制御部と、を備え、前記制御部は、前記車載制御装置に電力供給するバッテリの健全度合いと、前記車載制御装置に電力供給可能な発電機による供給電力の状態と、に基づいて、前記車載制御装置に対する制御プログラムの更新処理の実行の要求を前記車内通信部に送信させるか否かを判定するための判定処理を実行する。
 これにより、車載制御装置での制御プログラムの更新処理中の、バッテリの劣化による電力供給不足を抑制できる。
 (2) また、本実施形態に係る制御装置において、前記判定処理は、以下の第1の条件及び第2の条件の少なくとも1つを満たすか否かを判定することを含んでもよい。
  第1の条件:バッテリの健全度合いが基準の健全度合いよりも高いこと
  第2の条件:発電機が発電状態であること
 第1の条件を満たす場合、バッテリから供給される電力によって車載制御装置の更新処理を実行することができる。第2の条件を満たす場合、発電機から供給される電力によって更新処理を実行することができる。
 (3) また、本実施形態に係る制御装置において、前記判定処理は、以下の第1の条件及び第2の条件の少なくとも1つを満たすか否かを判定することを含んでもよい。
  第1の条件:バッテリの健全度合いが基準の健全度合いよりも高いこと
  第2の条件:発電機の発電量が車両における消費電力量よりも大きいこと
 第1の条件を満たす場合、バッテリから供給される電力によって車載制御装置の更新処理を実行することができる。第2の条件を満たす場合、発電機から供給される電力によって更新処理を実行することができる。
 (4) また、本実施形態に係る制御装置において、前記制御部は、前記判定処理において、前記第1の条件及び前記第2の条件を満たさない場合に、前記要求を前記車内通信部に送信させなくてもよい。
 第1の条件及び第2の条件を満たさない場合に更新処理の実行を要求しないことによって、車載制御装置が更新処理中にバッテリの劣化によって更新処理に必要な電力が不足し、更新処理が続行できなくなる事態を回避できる。
 (5) また、本実施形態に係る制御装置において、前記判定処理は、前記第1の条件及び前記第2の条件を満たさない場合に、前記第2の条件を満たすか否かを再度判定することを含んでもよい。
 これにより、第2の条件を満たすまで更新処理の実行が保留されるが、停車におけるアイドリングストップ中ではスタータ、モータ機能付発電機等によりエンジンが始動することで第2の条件が満たされれば、更新処理を実行することができる。
 (6) また、本実施形態に係る制御装置において、前記制御部は、前記第1の条件及び前記第2の条件を満たさない場合、表示装置を制御する車載制御装置に対する報知画面の表示指示を、前記車内通信部に送信させ、前記報知画面は、前記更新処理を実行しないことを報知するための画面であってもよい。
 上記表示指示が送信されることで、表示装置に報知画面が表示される。そのため、ユーザは、更新処理を開始するためにはエンジンを稼動させ、発電機に発電させる必要であることを知ることができる。その結果、更新処理の実行を優先するユーザは、電力供給のためにエンジンを稼動させて、更新処理を開始させることができる。これにより、ユーザの利便性を向上させることができる。
 (7) また、本実施形態に係る制御装置において、前記制御部は、前記第2の条件を満たす場合、前記更新処理の要求の送信後に、前記発電機を制御する車載制御装置に対する前記発電機の発電状態の維持の要求を、前記車内通信部に送信させてもよい。
 上記の要求が送信されることで、更新処理中に発電機が発電状態を維持する。そのため、バッテリの健全度合いが低い場合に、発電機からの電力を用いて更新処理を続行することができる。
 (8) また、本実施形態に係る制御装置において、前記判定処理は、前記バッテリを制御する車載制御装置から前記バッテリの電圧値と電流値とのうちの少なくとも一方の値を取得して、取得した前記値を用いて前記バッテリの健全度合いの指標値を算出し、前記指標値と閾値とを比較することを含んでもよい。
 これにより、バッテリの劣化によって更新処理を行えない可能性があるか否かを高精度で判定できる。
 (9) 本実施形態に係る制御方法は、(車載制御装置に対して、制御プログラムの更新処理の実行を指示する方法であって、前記車載制御装置に電力供給するバッテリの健全度合いの指標値を算出するステップと、前記車載制御装置に電力供給可能な発電機による供給電力の状態を示す電力情報を取得するステップと、前記指標値と前記電力情報とを用いて、前記車載制御装置に対して前記更新処理の実行を要求するか否かを判定するための判定処理を実行するステップと、を備える。
 これにより、車載制御装置での制御プログラムの更新処理中の、バッテリの劣化による電力供給不足を抑制できる。
 (10) 本実施形態に係るコンピュータプログラムは、車載制御装置に対して制御プログラムの更新処理の実行を指示する制御装置としてコンピュータを機能させるためのプログラムであって、前記制御装置は、車載制御装置と通信可能な通信部を有し、前記コンピュータを、前記車載制御装置に電力供給するバッテリの健全度合いと、前記車載制御装置に電力供給可能な発電機による供給電力の状態と、に基づいて、前記車載制御装置に対する制御プログラムの更新処理の実行の要求を前記通信部に送信させるか否かを判定するための判定処理を実行する制御部、として機能させる。
 これにより、車載制御装置での制御プログラムの更新処理中の、バッテリの劣化による電力供給不足を抑制できる。
 (11) 本実施形態に係る制御装置は、車載制御装置と通信可能な車内通信部と、前記車内通信部を制御する制御部と、を備え、前記制御部は、前記車載制御装置に電力供給するバッテリの健全度合いと、前記車載制御装置に電力供給可能な発電機の動作状態と、に基づいて、前記車載制御装置に対する制御プログラムの更新処理の要求を前記車内通信部に送信させるか否かの判定を行う。
 これにより、車載制御装置での制御プログラムの更新処理中の、バッテリの劣化による電力供給不足を抑制できる。
 <本開示の実施形態の詳細>
 以下、図面を参照しつつ、本開示の実施形態の詳細を説明する。なお、以下に記載する実施形態の少なくとも一部を任意に組み合わせてもよい。以下の説明では、同一の部品および構成要素には同一の符号を付してある。それらの名称および機能も同じである。したがって、これらの説明は繰り返さない。
 <第1の実施形態>
 [車両構成]
 図1は第1の実施形態にかかる車両の構成を表した概略図である。
 図1を参照して、本実施形態にかかる車両1は、車外装置と通信するための車載通信機15と、複数のECU(Electronic Control Unit)30A,30B,…と、車外装置と複数のECU30A,30B,…との通信を中継するECUである中継装置10と、を含む。複数のECU30A,30B,…を代表させてECU30とも称する。
 各ECU30は、中継装置10において終端する車内通信線16によって接続されて、中継装置10とともに車内の通信ネットワーク4を構成する。通信ネットワーク4はECU30同士の通信を可能とする、バス型の通信ネットワーク(たとえば、CAN(Controller Area Network))よりなる。この通信方式のネットワークでは、データフレームと呼ばれるフォーマットに情報を格納して送受信される。
 通信ネットワーク4は、CANだけでなく、LIN(Local Interconnect Network)、CANFD(CAN with Flexible Data Rate)、Ethernet(登録商標)、又はMOST(Media Oriented Systems Transport:MOSTは登録商標)などの通信規格を採用するネットワークであってもよい。
 ECU30は、たとえば、アクセル、ブレーキ、ハンドルの操作に対してエンジンやブレーキ、EPS(Electric Power Steering)等の制御を行うパワー・トレイン系ECU、スイッチ操作に応じて車内照明やヘッドライトの点灯/消灯と警報器の吹鳴等の制御を行うボディ系ECU、運転席近傍に配設されるメータ類の動作を制御するメータ系ECUなどである。
 中継装置10は、さらに、所定規格の通信線を介して車載通信機15と接続されている。または、中継装置10は、車載通信機15を搭載していてもよい。車載通信機15は、インターネット等の広域通信網2を介して、車外装置と無線通信する。車外装置は、たとえば、ECU30の更新用プログラムを保存するサーバ5である。または、車載通信機15は図示しないプラグを有し、当該プラグに接続された車外装置と有線にて通信してもよい。車載通信機15は、ユーザが所有する携帯電話機、スマートフォン、タブレット型端末、ノートPC(Personal Computer)等の装置であってもよい。
 中継装置10は、車外装置から車載通信機15が受信した情報をECU30に中継する。また、中継装置10は、ECU30から受信した情報を車載通信機15に中継する。車載通信機15は、中継された情報を車外装置に無線送信する。
 [車両の電源構成]
 図2は、車両1の電源構成の一例を表わした概略図である。図2では、車内通信線16と区別するために電力線17が太線で示されている。図2を参照して、車両1は、電源として、発電機21と、バッテリ22とを有する。発電機21はエンジンの駆動に従って発電する発電機であって、たとえばオルタネータである。バッテリ22は、一般的に鉛蓄電池である。その他、リチウムイオン電池や、ニッケル水素電池など、これらの組み合わせなどであってもよい。
 発電機21およびバッテリ22には、中継装置10、ECU30A,30B,30C、およびスタータ23などの車載装置が電力線17を介して接続され、発電機21およびバッテリ22は、電力線17を介してこれら車載装置に電力を供給可能である。また、発電機21で発電された電力は電力線17を介してバッテリ22に供給され、蓄電されてもよい。
 車両1がハイブリット型車両である場合には、さらに、バッテリ22にDC/DCコンバータ24を介して高圧部25が接続されており、バッテリ22からの電力がDC/DCコンバータ24で昇圧されて高圧部25に供給される。
 [中継装置の構成]
 図3は、中継装置10の内部構成を示すブロック図である。
 図を参照して、中継装置10は、制御部11、記憶部12、車内通信部13、およびセンサインタフェース(I/F)14などを備える。
 中継装置10の制御部11は、CPU(Central Processing Unit)を含む。制御部11のCPUは、1または複数の大規模集積回路(LSI)を含む。複数のLSIを含むCPUでは、複数のLSIが協働して当該CPUの機能を実現する。制御部11のCPUは、たとえば時分割で複数のプログラムを切り替えて実行することにより、複数のプログラムを並列的に実行可能である。
 制御部11のCPUは、記憶部12に記憶された1または複数のプログラムを読み出して、各種処理を実行するための機能を有している。制御部11のCPUが実行するコンピュータプログラムは、CD-ROMやDVD-ROMなどの記録媒体に記録した状態で譲渡することもできるし、サーバコンピュータなどのコンピュータ装置からのダウンロードによって譲渡することもできる。
 記憶部12は、フラッシュメモリ若しくはEEPROM(Electrically Erasable Programmable Read Only Memory)などの不揮発性のメモリ素子を含む。記憶部12は、制御部11のCPUが実行するプログラムまたは実行に必要なデータなどを記憶する記憶領域を有する。
 車内通信部13には車内通信線16が接続されている。車内通信部13は、CANなどの所定の通信規格に則って、ECU30と通信する通信装置よりなる。
 車内通信部13は、制御部11のCPUから与えられた情報を所定のECU30宛てに送信し、ECU30が送信元の情報を制御部11のCPUに与える。
 車載通信機15は、アンテナと、アンテナからの無線信号の送受信を実行する通信回路とを含む無線通信機である。車載通信機15は、携帯電話網等の広域通信網2に接続されることにより車外装置との通信が可能である。
 車載通信機15は、図示しない基地局により形成される広域通信網2を介して、制御部11のCPUから与えられた情報をサーバ5等の車外装置に送信するとともに、車外装置から受信した情報を制御部11のCPUに与える。
 [ECUの内部構成]
 図4は、ECU30の内部構成を示すブロック図である。
 図を参照して、ECU30は、制御部31、記憶部32、および車内通信部33などを備える。
 ECU30の制御部31は、CPUを含む。制御部31のCPUは、記憶部32に記憶された1または複数のプログラムを読み出して、各種処理を実行するための機能を有している。上記機能として、制御部31のCPUは、制御プログラムの更新処理を実行するための機能を含む。
 制御部31のCPUは、たとえば時分割で複数のプログラムを切り替えて実行することにより、複数のプログラムを並列的に実行可能である。
 制御部31のCPUは、1または複数の大規模集積回路(LSI)を含む。複数のLSIを含むCPUでは、複数のLSIが協働して当該CPUの機能を実現する。
 制御部31のCPUが実行するコンピュータプログラムは、CD-ROMやDVD-ROMなどの記録媒体に記録した状態で譲渡することもできるし、サーバコンピュータなどのコンピュータ装置からのダウンロードによって譲渡することもできる。
 記憶部32は、フラッシュメモリ、EEPROM、または、ROMなどの不揮発性のメモリ素子よりなる。記憶部32は、制御部11のCPUが実行するプログラムまたは実行に必要なデータなどを記憶する記憶領域を有する。詳しくは、記憶部32は、制御部31のCPUが実行するコンピュータプログラムを記憶する領域として第1領域321および第2領域322を含む。
 車内通信部33には車内通信線16が接続されている。車内通信部33は、CANなどの所定の通信規格に則って、中継装置10と通信する通信装置である。
 車内通信部33は、制御部31のCPUから与えられた情報を所定の中継装置10宛てに送信し、中継装置10が送信元の情報を制御部31のCPUに与える。
 図2の例では、ECU30Bはバッテリ22を制御するECUであって、バッテリ22の電圧値、電流値、バッテリ22に蓄電されている電力量、蓄電されている電力量の満充電量に対する割合である充電率(SOC(State Of Charge))、のうちの少なくとも1つである、バッテリ22の状態を示す情報を中継装置10に送信する。
 また、図2の例では、ECU30Cは発電機21を制御するECUであって、発電機21の稼働状況、発電量などの、発電機21の状態を示す情報を中継装置10に送信する。
 また、図2の例では、ECU30Dは図示しないエンジンのスタータ23を制御するパワー・トレイン系ECUであって、エンジンのON/OFF、回転数、などの稼働状況などを中継装置10に送信するとともに、中継装置10からの制御フレームに従ってエンジン稼動を制御する。
 [制御プログラムの更新シーケンス]
 ECU30の制御プログラムは、所定のタイミングで更新される。中継装置10は、サーバ5などから更新用プログラムを受信したタイミングなどで、更新処理を実行するECU30(以下、対象ECUと称する)に更新用プログラムを中継するとともに、制御装置として機能して、対象ECUに対して更新処理の実行を要求する。
 図5は、通信ネットワーク4での更新処理の流れを示すシーケンス図である。図5を参照して、中継装置10は、サーバ5などから更新用プログラムが入力されると(ステップS1)、記憶部12に当該更新用プログラムを一時的に記憶する。記憶部12に更新用プログラムが記憶されているとき、中継装置10は、更新要求処理を実行する(ステップS2)。更新要求処理は、対象ECUのバッテリ状態を判定する判定処理(ステップS21)と、判定結果に応じて対象ECUに更新用プログラムを渡して更新処理を要求する処理(ステップS22)と、を含む。
 中継装置10からの要求を受信した対象ECUは、更新処理を実行する(ステップS3)。ステップS3の更新処理は、第1領域321および第2領域322のうちの、更新前(現バージョン)の制御プログラムが書き込まれている記憶領域ではない方の記憶領域に更新後(新バージョン)の制御プログラムを書き込む書換処理(ステップS31)と、制御部31が実行する制御プログラムの読み出し先を、第1領域321と第2領域322とで切り替える切替処理(ステップS32)と、を含む。
 更新処理が完了すると、対象ECUは中継装置10に更新処理の完了を通知する(ステップS4)。この通知を受けて、中継装置10は、記憶部12に一時的に記憶していた更新用プログラムを削除し、一連の処理が終了する。
 [更新要求処理]
 図3を参照して、上記ステップS2の更新要求処理を実行するための機能として、中継装置10の制御部11は、判定部111、および、更新制御部112を有する。これら機能は、制御部11のCPUが記憶部12に記憶されているプログラムを読み出して実行することによって実現される。なお、図3に示された駆動制御部113は、第2の実施形態にかかる中継装置10の制御部11に含まれる機能であって、第1の実施形態にかかる中継装置10の制御部11には含まれないものとして説明する。
 判定部111は、ステップS21の判定処理を実行する。ステップS21の判定処理は、予め規定された、対象ECUのバッテリ状態を判定するタイミング(判定タイミング)に達したか否かを判定する処理(第1の判定処理)と、判定タイミングにおいてバッテリ22の健全度合い(非劣化度合い)が閾値として設定された健全度合い以上であるか否かを判定する処理(第2の判定処理)と、発電機21が発電状態であるか否かを判定する処理(第3の判定処理)と、を含む。
 第1の判定処理において、判定部111は、各ECUから制御部11に入力された当該ECUの制御対象の機器の情報に基づいて、判定タイミングであるか否かを判定する。判定タイミングは、たとえば、発進時、停車時、アイドリングストップ時、および、アイドリングストップからの復帰時、などである。機器の情報は、たとえば、エンジンの稼動状態、および/または回転数、ならびに、ユーザ操作、などである。
 第2の判定処理において、判定部111は、バッテリ22を制御するECU(図2の例ではECU30B)から制御部11に入力された、バッテリ22の電圧値と電流値とのうちの少なくとも1つに基づいて、バッテリ22の健全度合いを示す指標値である健全度指標値を算出する。ECU30Bに替えて、バッテリ22にセンサが接続されている場合、または、バッテリ22がセンサを含む場合、判定部111は、当該センサから制御部11に入力された信号に基づいて健全度指標値を算出してもよい。
 健全度指標値は、一例として、健全度SOH(State Of Health)である。健全度SOHは、満充電容量を設計容量で除して得られる。たとえば、健全度SOH=80は、バッテリ22が、現在の満充電容量が初期の満充電容量の80%となるまで劣化していることを意味している。
 なお、健全度指標値は、健全度SOHに限定されず、他の例として、劣化度SOD(State Of Degradation)と呼ばれる、SOD[%]=100[%]-SOH[%]で定義される値でもよい。以降の説明では、健全度指標値を健全度SOHとして説明するが、健全度指標値が劣化度SODである場合、後述する健全度指標値と閾値との大小関係は、健全度指標値が健全度SOHである場合の大小関係と逆向きとなる。
 判定部111は、健全度SOHの閾値Thを予め記憶しておく。閾値Thは、基準の健全度であって、基準の健全度合いを表す。判定部111は、算出した健全度SOHと閾値Thとを比較する。判定部111は、比較結果を第2の判定処理の判定結果として更新制御部112に渡す。健全度SOHが閾値Thより大きいことはバッテリ22の健全度合いが上記の基準の健全度合いよりも高い、つまり、劣化していないことを表し、閾値Thより大きいことはバッテリ22の健全度合いが基準の健全度合いよりも低い、つまり、劣化していることを表している。
 第3の判定処理において、判定部111は、発電機21を制御するECU(図2の例ではECU30C)から制御部11に入力された発電機21に関する情報に基づいて、発電機21が発電状態であるか否かを判定する。判定部111は、第3の判定処理の判定結果を更新制御部112に渡す。
 更新制御部112は、ステップS22の更新処理を要求する処理を実行する。ステップS22の更新処理を要求する処理は、対象ECUに対して書換処理(ステップS31)の実行を要求する処理(第1の要求処理)と、対象ECUに対して切替処理(ステップS32)の実行を要求する処理(第2の要求処理)と、からなる。
 第1の要求処理において、更新制御部112は、車内通信部13に対して更新用プログラムを渡し、対象ECUへの書換処理の実行を要求する制御フレームの送信を指示する。
 第2の要求処理において、更新制御部112は、車内通信部13に対して、対象ECUへの切替処理の実行を要求する制御フレームの送信を指示する。
 [処理フロー]
 図6は、中継装置10の制御部11において実行される更新要求処理の流れを表したフローチャートである。図6の処理のうちの、ステップS108およびステップS115の駆動制御処理は、第2の実施形態にかかる更新要求処理で行われる処理である。これらの処理については、第1の実施形態では更新要求処理には含まれないものとして説明を行い、第2の実施形態で説明する。
 図6を参照して、制御部11は、記憶部12に更新用プログラムが記憶されているときに(ステップS101でYES)、以降の処理を実行する。すなわち、制御部11は、判定タイミングに達したか否かを判定し(第1の判定処理)、判定タイミングとなるまで待機する。判定タイミングに達すると(ステップS102でYES)、制御部11は、ECU30Bからの情報を用いてバッテリ22の健全度SOHを算出し、予め記憶している健全度SOHの閾値Thと比較する(第2の判定処理)。
 判定タイミングにおいてバッテリ22の健全度SOHが閾値Th以上である場合には(ステップS103でYES)、制御部11は、対象ECUに対して通常通りに更新処理を要求する。すなわち、バッテリ22の健全度合いが基準の健全度合いよりも高いことである第1の条件が成立する場合、制御部11は、車内通信部13に対して、対象ECUに対して更新用プログラムを転送するとともに書換処理の実行を要求することを指示する(ステップS117)。また、対象ECUで書換処理が実行された後、制御部11は、車内通信部13に対して、対象ECUに対して切替処理の実行を要求することを指示する(ステップS113)。
 一方、バッテリ22の健全度SOHが閾値Th未満である、すなわち、バッテリ22の健全度合いが基準の健全度合いよりも低い(第1の条件が成立しない)場合(ステップS103でNO)、制御部11は、ECU30Cからの情報を用いて、発電機21が発電状態であるか否かを判定する(第3の判定処理)。発電機21が発電状態ではない場合(ステップS105でNO)、制御部11は、ステップS105を再度実行する。すなわち、第1の条件が成立せず、かつ、発電機21が発電状態であることである第2の条件が成立しない場合、制御部11は、発電状態となるまで以降の処理を実行せず、発電機21が発電状態となるまで、つまり、エンジンが稼動するまで待機する。そのため、好ましくは、制御部11は、発電機21が発電を開始、すなわちエンジンが稼動するまで書換処理を実行せず、書換処理の開始を待機することの報知を出力装置に出力させる。出力装置は、たとえば図示しない表示装置であって、制御部11は、表示装置を制御するECUに対して、表示装置に上記報知を行う表示画面を表示することを指示する。
 発電機21が発電状態である、すなわち、第2の条件が成立する場合(ステップS105でYES)、制御部11は、車内通信部13に対して、対象ECUに対して更新用プログラムを転送するとともに書換処理の実行を要求することを指示する(ステップS107)。
 上記ステップS107での要求に応じて対象ECUで書換処理が実行された後、制御部11は、再度、発電機21が発電状態であるか否かを判定する(第3の判定処理)。発電機21が発電状態ではない、すなわち、第1の条件及び第2の条件の両方が成立しない場合(ステップS109でNO)、制御部11は、発電機21が発電状態となるまで、つまり、エンジンが稼動するまで待機する。そのため、好ましくは、制御部11は、発電機21が発電を開始、すなわちエンジンが稼動するまで切替処理を実行せず、切替処理の開始を待機することの報知を出力装置に出力させる。出力装置は、たとえば図示しない表示装置であって、制御部11は、表示装置を制御するECUに対して、表示装置に上記報知を行う表示画面を表示することを指示する。
 発電機21が発電状態である、すなわち、第2の条件が成立する場合(ステップS109でYES)、制御部11は、車内通信部13に対して、対象ECUに対して切替処理の実行を要求することを指示する(ステップS113)。
 好ましくは、制御部11は、発電状態であり(ステップS109でYES)、かつ、発電状態、すなわち、エンジンの稼働中に切替処理を実行することについてのユーザの許可が得られた場合に(ステップS111でYES)、車内通信部13に対して、対象ECUに対して切替処理の実行を要求することを指示する(ステップS113)。
 [第1の実施形態の効果]
 中継装置10が上記の更新要求処理を実行することによって、バッテリ22の健全度合いが閾値を満たさない状態に達した場合、つまり、バッテリ22が規定の程度まで劣化した場合には、発電機21が発電状態のとき、つまり、エンジン稼働中に更新処理が実行される。これにより、更新処理中にバッテリ22が短絡状態に達した場合であっても、対象ECUには発電機21から電力が供給される。そのため、更新処理中にバッテリ22が短絡状態に達した場合であっても、更新処理を続行することができる。
 バッテリ22の健全度合いが閾値を満たさない状態に達した場合、つまり、バッテリ22が規定の程度まで劣化した場合であって、発電機21が発電状態でない場合には、発電機21が発電状態となるまで、つまり、エンジンが稼動するまで対象ECUでの更新処理の開始が保留される。このとき、中継装置10が更新処理の待機をユーザに通知することで、ユーザは、更新処理を開始するためにはエンジンの稼動が必要であることを知ることができる。その結果、更新処理の実行を優先するユーザは、電力供給のためにエンジンを稼動させて、更新処理を開始させることができる。これにより、ユーザの利便性を向上させることができる。
 発電機21が発電状態のとき、つまり、エンジン稼働中には、中継装置10は、ユーザの許可があった場合に対象ECUに切替処理を実行させる。切替処理には対象ECUのリセットが伴う場合があり、リセットの際に対象ECUの制御対象の装置の動作が一時的に停止したり、表示態様などが変更したりする場合がある。ユーザは、走行中にそのような状態となることを好まない場合には、切替処理の実行を許可しないようにできる。これにより、ユーザの利便性を向上させることができる。
 <第2の実施形態>
 第2の実施形態にかかる中継装置10は、図6のステップS108およびステップS115の駆動制御処理を含む更新要求処理を実行する。そのため、第2の実施形態にかかる中継装置10の制御部11は、図3に示された駆動制御部113をさらに含む。
 ステップS108およびステップS115の駆動制御処理は、更新処理中にエンジンの駆動を継続させる制御を行うための処理である。駆動制御処理において、駆動制御部113は、対象ECUにおいて更新処理中には、車内通信部13に、エンジンを制御するECUに対してエンジンの駆動の継続を指示する制御フレームを送信させる。
 図6を参照して、第2の実施形態にかかる更新要求処理では、中継装置10の制御部11は、ステップS107で対象ECUに対して書換処理の実行を要求した後、駆動制御処理を実行する(ステップS108)。すなわち、エンジンを制御するECUに対して、対象ECUでの書換処理中におけるエンジンの駆動の継続を要求する。
 また、制御部11は、ステップS113で対象ECUに対して切替処理の実行を要求した後、駆動制御処理を実行する(ステップS115)。すなわち、エンジンを制御するECUに対して、対象ECUでの切替処理中におけるエンジンの駆動の継続を要求する。
 中継装置10が上記の更新要求処理を実行することによって、エンジンが稼働状態であることを確認して対象ECUでの更新処理が開始された後、エンジンが停止することを回避できる。たとえばアイドリングストップなどの機能によって車両1が停車したときにエンジンが停止することがある。対象ECUでの更新処理中にアイドリングストップする状況となった場合であっても、上記の駆動制御処理によってエンジンの稼動が継続される。これにより、対象ECUへの発電機21からの電力供給が継続され、更新処理を続行することができる。
 <第3の実施形態>
 本実施形態では、第2の条件を、発電機の発電量が車両における消費電力量よりも大きいこととする。
 図7は、本実施形態に係る車両の電源構成の一例を表わした概略図である。バッテリ22から中継装置10、ECU30A,30B,30C、およびスタータ23などの車載装置へと延びる電力線17には、バッテリセンサ100が設けられる。バッテリセンサ100は、バッテリ22から出力される電流値を検出する。バッテリセンサ100は、発電機21を制御するECU30Cに信号線によって接続される。バッテリセンサ100によって検出された電流値は、バッテリセンサ100からECU30Cに送信される。
 ECU30Cは、例えば電圧センサ110を内蔵する。電圧センサ110は、中継装置10、ECU30A,30B,30C、およびスタータ23などの車載装置に印加される電圧値を検出する。例えば、中継装置10、ECU30A,30B,30C、およびスタータ23などの車載装置は電力線17によって並列接続されており、同電圧が印加される。電圧センサ110は、例えば、ECU30Cにおける電圧値を検出することができる。なお、電圧センサ110はECU30Cの外部に設けられていてもよい。
 ECU30Cは、バッテリセンサ100によって検出された電流値を受信し、電圧センサ110によって検出された電圧値を取得することができる。ECU30Cは、電流値と電圧値とによって車両1における消費電力量ECを算出することができる。
 さらに、ECU30Cは、発電機21から発電量EGの情報を受信可能である。発電機21が発電量EGではなく、回転数を含む稼働状況の情報を送信してもよい。この場合、ECU30Cは、回転数を用いて発電量EGを算出することができる。
 ECU30Cは、中継装置10に消費電力量EC及び発電量EGを送信することができる。また、ECU30Cは、中継装置10に、消費電力量EC及び発電量EGに代えて、バッテリセンサ100により検出された電流値、電圧センサ110により検出された電圧値、及び発電機21の回転数を送信してもよい。この場合、中継装置10は、電流値及び電圧値から消費電力量ECを算出し、発電機21の回転数から発電量EGを算出してもよい。
 本実施形態に係る車両のその他の構成は、第1の実施形態に係る車両の構成と同様であるので、同一構成要素には同一符号を付し、その説明を省略する。
 図3を参照する。本実施形態に係る判定部111は、第3の判定処理において、発電機21を制御するECU(図7の例ではECU30C)から制御部11に入力された発電量EGが消費電力量ECより大きいか否かを判定する。判定部111は、第3の判定処理の判定結果を更新制御部112に渡す。なお、第1判定処理及び第2判定処理については第1の実施形態と同様である。
 図8は、 本実施形態に係る中継装置10の制御部11において実行される更新要求処理の流れを表したフローチャートである。なお、説明を省略したステップは、第1の実施形態と同様である。
 判定タイミングにおいてバッテリ22の健全度SOHが閾値Th以上である場合には(ステップS103でYES)、制御部11は、対象ECUに対して通常通りに更新処理を要求する。すなわち、バッテリ22の健全度合いが基準の健全度合いよりも高いことである第1の条件が成立する場合、制御部11は、車内通信部13に対して、対象ECUに対して更新用プログラムを転送するとともに書換処理の実行を要求することを指示する(ステップS117)。また、対象ECUで書換処理が実行された後、制御部11は、車内通信部13に対して、対象ECUに対して切替処理の実行を要求することを指示する(ステップS113)。
 一方、バッテリ22の健全度SOHが閾値Th未満である、すなわち、バッテリ22の健全度合いが基準の健全度合いよりも低い(第1の条件が成立しない)場合(ステップS103でNO)、制御部11は、ECU30Cから発電量EGを受信し(ステップS201)、消費電力量ECを受信する(ステップS202)。なお、制御部11は、ECU30Cからバッテリセンサ100により検出された電流値、電圧センサ110により検出された電圧値、及び発電機21の回転数を受信し、電流値及び電圧値から消費電力量ECを算出し、発電機21の回転数から発電量EGを算出してもよい。
 制御部11は、発電量EGと消費電力量ECとを比較する(第3の判定処理)。発電量EGが消費電力量EC未満である、すなわち、発電機21の発電量EGが車両1における消費電力量ECよりも大きい(第2の条件が成立しない)場合(ステップS203でNO)、制御部11は、ステップS203を再度実行する。すなわち、第1の条件が成立せず、かつ、第2の条件が成立しない場合、制御部11は、発電量EGが消費電力量EC以上となるまで以降の処理を実行せず、発電量EGが消費電力量EC以上となるまで待機する。そのため、好ましくは、制御部11は、発電量EGが消費電力量EC以上となるまで書換処理を実行せず、書換処理の開始を待機することの報知を出力装置に出力させる。出力装置は、たとえば図示しない表示装置であって、制御部11は、表示装置を制御するECUに対して、表示装置に上記報知を行う表示画面を表示することを指示する。
 発電量EGが消費電力量EC以上である、すなわち、第2の条件が成立する場合(ステップS203でYES)、制御部11は、車内通信部13に対して、対象ECUに対して更新用プログラムを転送するとともに書換処理の実行を要求することを指示する(ステップS107)。
 上記ステップS107での要求に応じて対象ECUで書換処理が実行された後、制御部11は、再度、発電量EGが消費電力量EC以上であるか否かを判定する(第3の判定処理)。発電量EGが消費電力量EC未満である、すなわち、第1の条件及び第2の条件の両方が成立しない場合(ステップS204でNO)、制御部11は、発電量EGが消費電力量EC以上となるまで待機する。そのため、好ましくは、制御部11は、発電量EGが消費電力量EC以上となるまで切替処理を実行せず、切替処理の開始を待機することの報知を出力装置に出力させる。出力装置は、たとえば図示しない表示装置であって、制御部11は、表示装置を制御するECUに対して、表示装置に上記報知を行う表示画面を表示することを指示する。
 発電量EGが消費電力量EC以上である、すなわち、第2の条件が成立する場合(ステップS204でYES)、制御部11は、車内通信部13に対して、対象ECUに対して切替処理の実行を要求することを指示する(ステップS113)。
 なお、本実施形態において、中継装置10は、第2の実施形態と同様、図8のステップS108およびステップS115の駆動制御処理を含む更新要求処理を実行してもよい。
 [第3の実施形態の効果]
 中継装置10が上記の更新要求処理を実行することによって、バッテリ22の健全度合いが閾値を満たさない状態に達した場合、つまり、バッテリ22が規定の程度まで劣化した場合には、発電量EGが消費電力量EC以上であるときに更新処理が実行される。これにより、例えば更新処理中にバッテリ22が短絡状態に達するなど、バッテリの劣化によって更新処理に必要な電力が不足する場合であっても、対象ECUには発電機21から電力が供給される。そのため、更新処理を続行することができる。
 バッテリ22の健全度合いが閾値を満たさない状態に達した場合、つまり、バッテリ22が規定の程度まで劣化した場合であって、発電量EGが消費電力量EC未満である場合には、発電量EGが消費電力量EC以上となるまで対象ECUでの更新処理の開始が保留される。このとき、中継装置10が更新処理の待機をユーザに通知することで、ユーザは、更新処理を開始するためにはエンジンの稼動等が必要であることを知ることができる。その結果、更新処理の実行を優先するユーザは、電力供給のためにエンジンを稼動させる等して、更新処理を開始させることができる。これにより、ユーザの利便性を向上させることができる。
 発電量EGが消費電力量EC以上であるときには、中継装置10は、ユーザの許可があった場合に対象ECUに切替処理を実行させる。切替処理には対象ECUのリセットが伴う場合があり、リセットの際に対象ECUの制御対象の装置の動作が一時的に停止したり、表示態様などが変更したりする場合がある。ユーザは、走行中にそのような状態となることを好まない場合には、切替処理の実行を許可しないようにできる。これにより、ユーザの利便性を向上させることができる。
 <第4の実施形態>
 健全度指標値は、健全度SOHまたは劣化度SODのみに限定されない。健全度指標値の他の例は、ディーラー等、特定のオペレータによって入力され、バッテリ22を制御するECU等に記憶されている、バッテリ22の状態を示す情報、測定値、などの情報であってもよい。バッテリ22の状態を示す情報は、たとえば、検査日に測定された健全度SOHなどである。測定値は、たとえば、バッテリ液の比重の測定結果、などである。
 この場合、中継装置10の判定部111は、制御部11にECUから入力された上記の情報を用いて第2の判定処理を実行する。
 <第5の実施形態>
 制御装置は中継装置10に限定されず、中継装置10以外のECUであってもよい。または、制御装置は、中継装置10とは独立した専用の装置であってもよい。また、制御装置は、第1の判定処理および第2の判定処理まで実行し、他の装置にバッテリ22の健全度合いの判定結果を渡して更新要求処理の実行を指示するものであってもよい。
 開示された特徴は、1つ以上のモジュールによって実現される。たとえば、当該特徴は、回路素子その他のハードウェアモジュールによって、当該特徴を実現する処理を規定したソフトウェアモジュールによって、または、ハードウェアモジュールとソフトウェアモジュールとの組み合わせによって実現され得る。
 上述の動作をコンピュータに実行させるための、1つ以上のソフトウェアモジュールの組み合わせであるプログラムとして提供することもできる。このようなプログラムは、コンピュータに付属するフレキシブルディスク、CD-ROM(Compact Disk-Read Only Memory)、ROM、RAMおよびメモリカードなどのコンピュータ読取り可能な記録媒体にて記録させて、プログラム製品として提供することもできる。あるいは、コンピュータに内蔵するハードディスクなどの記録媒体にて記録させて、プログラムを提供することもできる。また、ネットワークを介したダウンロードによって、プログラムを提供することもできる。
 なお、本開示にかかるプログラムは、コンピュータのオペレーティングシステム(OS)の一部として提供されるプログラムモジュールのうち、必要なモジュールを所定の配列で所定のタイミングで呼出して処理を実行させるものであってもよい。その場合、プログラム自体には上記モジュールが含まれずOSと協働して処理が実行される。このようなモジュールを含まないプログラムも、本開示にかかるプログラムに含まれ得る。
 また、本開示にかかるプログラムは他のプログラムの一部に組込まれて提供されるものであってもよい。その場合にも、プログラム自体には上記他のプログラムに含まれるモジュールが含まれず、他のプログラムと協働して処理が実行される。このような他のプログラムに組込まれたプログラムも、本開示にかかるプログラムに含まれ得る。提供されるプログラム製品は、ハードディスクなどのプログラム格納部にインストールされて実行される。なお、プログラム製品は、プログラム自体と、プログラムが記録された記録媒体とを含む。
 今回開示された実施形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて請求の範囲によって示され、請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。
 1 車両
 2 広域通信網
 4 通信ネットワーク
 5 サーバ
 10 中継装置
 11 制御部
 12 記憶部
 13 車内通信部
 15 車載通信機
 16 車内通信線
 17 電力線
 21 発電機
 22 バッテリ
 23 スタータ
 24 DC/DCコンバータ
 25 高圧部
 30,30A,30B,30C,30D ECU
 31 制御部
 32 記憶部
 33 車内通信部
 100 バッテリセンサ
 110 電圧センサ
 111 判定部
 112 更新制御部
 113 駆動制御部
 321 第1領域
 322 第2領域
 

Claims (11)

  1.  車載制御装置と通信可能な車内通信部と、
     前記車内通信部を制御する制御部と、を備え、
     前記制御部は、
     前記車載制御装置に電力供給するバッテリの健全度合いと、前記車載制御装置に電力供給可能な発電機による供給電力の状態と、に基づいて、前記車載制御装置に対する制御プログラムの更新処理の実行の要求を前記車内通信部に送信させるか否かを判定するための判定処理を実行する、制御装置。
  2.  前記判定処理は、以下の第1の条件及び第2の条件の少なくとも1つを満たすか否かを判定することを含む、請求項1に記載の制御装置。
      第1の条件:バッテリの健全度合いが基準の健全度合いよりも高いこと
      第2の条件:発電機が発電状態であること
  3.  前記判定処理は、以下の第1の条件及び第2の条件の少なくとも1つを満たすか否かを判定することを含む、請求項1に記載の制御装置。
      第1の条件:バッテリの健全度合いが基準の健全度合いよりも高いこと
      第2の条件:発電機の発電量が車両における消費電力量よりも大きいこと
  4.  前記制御部は、前記判定処理において、前記第1の条件及び前記第2の条件を満たさない場合に、前記要求を前記車内通信部に送信させない、請求項2又は請求項3に記載の制御装置。
  5.  前記判定処理は、前記第1の条件及び前記第2の条件を満たさない場合に、前記第2の条件を満たすか否かを再度判定することを含む、請求項4に記載の制御装置。
  6.  前記制御部は、前記第1の条件及び前記第2の条件を満たさない場合、表示装置を制御する車載制御装置に対する報知画面の表示指示を、前記車内通信部に送信させ、
     前記報知画面は、前記更新処理を実行しないことを報知するための画面である、請求項3~請求項5のいずれか1項に記載の制御装置。
  7.  前記制御部は、前記第2の条件を満たす場合、前記更新処理の要求の送信後に、前記発電機を制御する車載制御装置に対する前記発電機の発電状態の維持の要求を、前記車内通信部に送信させる、請求項2~請求項6のいずれか1項に記載の制御装置。
  8.  前記判定処理は、前記バッテリを制御する車載制御装置から前記バッテリの電圧値と電流値とのうちの少なくとも一方の値を取得して、取得した前記値を用いて前記バッテリの健全度合いの指標値を算出し、前記指標値と閾値とを比較することを含む、請求項1~請求項7のいずれか1項に記載の制御装置。
  9.  車載制御装置に対して、制御プログラムの更新処理の実行を指示する方法であって、
     前記車載制御装置に電力供給するバッテリの健全度合いの指標値を算出するステップと、
     前記車載制御装置に電力供給可能な発電機による供給電力の状態を示す電力情報を取得するステップと、
     前記指標値と前記電力情報とを用いて、前記車載制御装置に対して前記更新処理の実行を要求するか否かを判定するための判定処理を実行するステップと、を備える、制御方法。
  10.  車載制御装置に対して制御プログラムの更新処理の実行を指示する制御装置としてコンピュータを機能させるためのプログラムであって、
     前記制御装置は、車載制御装置と通信可能な通信部を有し、
     前記コンピュータを、
     前記車載制御装置に電力供給するバッテリの健全度合いと、前記車載制御装置に電力供給可能な発電機による供給電力の状態と、に基づいて、前記車載制御装置に対する制御プログラムの更新処理の実行の要求を前記通信部に送信させるか否かを判定するための判定処理を実行する制御部、として機能させる、コンピュータプログラム。
  11.  車載制御装置と通信可能な車内通信部と、
     前記車内通信部を制御する制御部と、を備え、
     前記制御部は、
     前記車載制御装置に電力供給するバッテリの健全度合いと、前記車載制御装置に電力供給可能な発電機の動作状態と、に基づいて、前記車載制御装置に対する制御プログラムの更新処理の要求を前記車内通信部に送信させるか否かの判定を行う、制御装置。
     
     
PCT/JP2019/008927 2018-03-28 2019-03-06 制御装置、制御方法、およびコンピュータプログラム WO2019188073A1 (ja)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020509775A JP7279707B2 (ja) 2018-03-28 2019-03-06 制御装置、制御方法、およびコンピュータプログラム

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2018-061482 2018-03-28
JP2018061482 2018-03-28

Publications (1)

Publication Number Publication Date
WO2019188073A1 true WO2019188073A1 (ja) 2019-10-03

Family

ID=68059796

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2019/008927 WO2019188073A1 (ja) 2018-03-28 2019-03-06 制御装置、制御方法、およびコンピュータプログラム

Country Status (2)

Country Link
JP (1) JP7279707B2 (ja)
WO (1) WO2019188073A1 (ja)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114056257A (zh) * 2020-07-30 2022-02-18 丰田自动车株式会社 车载***
JP2022144936A (ja) * 2021-03-19 2022-10-03 本田技研工業株式会社 プログラム更新制御装置、プログラム更新制御方法、及びプログラム

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008199822A (ja) * 2007-02-14 2008-08-28 Denso Corp 充電制御装置
JP2012103181A (ja) * 2010-11-12 2012-05-31 Clarion Co Ltd 車載機のオンライン更新方法
JP2016060388A (ja) * 2014-09-18 2016-04-25 株式会社オートネットワーク技術研究所 プログラム送信システム及びプログラム送信装置
JP2018037059A (ja) * 2016-08-30 2018-03-08 株式会社オートネットワーク技術研究所 車載更新装置及び車載更新システム

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008199822A (ja) * 2007-02-14 2008-08-28 Denso Corp 充電制御装置
JP2012103181A (ja) * 2010-11-12 2012-05-31 Clarion Co Ltd 車載機のオンライン更新方法
JP2016060388A (ja) * 2014-09-18 2016-04-25 株式会社オートネットワーク技術研究所 プログラム送信システム及びプログラム送信装置
JP2018037059A (ja) * 2016-08-30 2018-03-08 株式会社オートネットワーク技術研究所 車載更新装置及び車載更新システム

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114056257A (zh) * 2020-07-30 2022-02-18 丰田自动车株式会社 车载***
CN114056257B (zh) * 2020-07-30 2024-03-15 丰田自动车株式会社 车载***
JP2022144936A (ja) * 2021-03-19 2022-10-03 本田技研工業株式会社 プログラム更新制御装置、プログラム更新制御方法、及びプログラム
JP7248727B2 (ja) 2021-03-19 2023-03-29 本田技研工業株式会社 プログラム更新制御装置、プログラム更新制御方法、及びプログラム

Also Published As

Publication number Publication date
JP7279707B2 (ja) 2023-05-23
JPWO2019188073A1 (ja) 2021-04-08

Similar Documents

Publication Publication Date Title
JP6501040B2 (ja) 制御装置
JP6566144B2 (ja) 制御装置、制御方法、およびコンピュータプログラム
WO2019187369A1 (ja) 電源制御装置、電源制御方法、及びコンピュータプログラム
JP6897417B2 (ja) 制御装置、制御方法、およびコンピュータプログラム
CN111032439B (zh) 控制设备、控制方法和非暂时性计算机可读存储介质
JP2017027549A (ja) ソフトウェア更新装置及びソフトウェア更新システム
US20190349432A1 (en) Vehicular communication device
JPWO2019030984A1 (ja) 制御装置、制御方法、およびコンピュータプログラム
JPWO2018189975A1 (ja) 中継装置、転送方法、およびコンピュータプログラム
WO2019188073A1 (ja) 制御装置、制御方法、およびコンピュータプログラム
JP6665968B1 (ja) 制御装置、制御方法、およびコンピュータプログラム
JP6562186B1 (ja) 電源制御装置、電源制御方法、及びコンピュータプログラム
WO2019146169A1 (ja) 制御装置、制御方法、およびコンピュータプログラム
WO2017154661A1 (ja) 車載電源用の充電率監視装置および車載電源システム
JP7236652B2 (ja) 車両および情報出力装置
WO2019221118A1 (ja) 電子制御装置及びセッション確立プログラム

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: 19777371

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2020509775

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19777371

Country of ref document: EP

Kind code of ref document: A1