WO2019146169A1 - Control device, control method, and computer program - Google Patents

Control device, control method, and computer program Download PDF

Info

Publication number
WO2019146169A1
WO2019146169A1 PCT/JP2018/037567 JP2018037567W WO2019146169A1 WO 2019146169 A1 WO2019146169 A1 WO 2019146169A1 JP 2018037567 W JP2018037567 W JP 2018037567W WO 2019146169 A1 WO2019146169 A1 WO 2019146169A1
Authority
WO
WIPO (PCT)
Prior art keywords
power
vehicle
control
power supply
vehicle control
Prior art date
Application number
PCT/JP2018/037567
Other languages
French (fr)
Japanese (ja)
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 住友電気工業株式会社
Publication of WO2019146169A1 publication Critical patent/WO2019146169A1/en

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
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/30Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Definitions

  • the present invention relates to a control device, a control method, and a computer program.
  • This application claims the priority based on Japanese Patent Application No. 2018-011755 filed on Jan. 26, 2018, and incorporates all the contents described in the aforementioned Japanese application.
  • ECUs Electronic Control Units
  • the types of ECUs include, for example, those related to a travel system that controls the engine, brakes, EPS (Electric Power Steering), etc. in response to accelerator, brake, and steering wheel operations, and in-vehicle lighting and head in response to switch operations by occupants.
  • EPS Electric Power Steering
  • the ECU is configured by an arithmetic processing unit such as a microcomputer, and the control of the on-vehicle device is realized by reading and executing the control program stored in a ROM (Read Only Memory).
  • the control program of the ECU needs to rewrite the control program of the old version to the control program of the new version in response to the version upgrade. Further, it is also necessary to rewrite data necessary for executing the control program, such as map information and control parameters.
  • Patent Document 1 discloses a technology (on-line update function) of downloading an update program via a network and updating an ECU control program.
  • the vehicle is stopped and the update is executed in a state where the user gets off the vehicle.
  • a control device includes a power supply control unit that individually controls power supply to a plurality of on-board control devices belonging to a communication network in the vehicle, and a control of the own device among the plurality of on-vehicle control devices.
  • a specifying unit that specifies a target device that is an on-board control device that executes update processing for updating a program, the power control unit causes the specified target device to be supplied with power, and the plurality of power control units
  • the amount of electric power supplied to at least one in-vehicle control device other than the target device among the in-vehicle control devices of the above-mentioned in-vehicle control devices is smaller than the amount of electric energy which can execute the process of updating the control program in the in-vehicle control device.
  • a control method is a method of controlling power supply to a plurality of in-vehicle control devices belonging to a communication network in a vehicle, which is one of the plurality of in-vehicle control devices.
  • And D reducing the amount of power supplied to the at least one in-vehicle control device from the amount of power that can be updated in the control program in the in-vehicle control device.
  • a computer program is a computer program for causing a computer to function as a control device that controls power supply to a plurality of on-vehicle control devices belonging to a communication network in a vehicle,
  • a power supply control unit individually controlling power supply to the plurality of in-vehicle control devices; and a target device as the in-vehicle control device executing an update process of a control program of the own device among the plurality of in-vehicle control devices
  • the power supply control unit causes the specified target device to supply power and at least one on-vehicle control of the plurality of on-vehicle control devices other than the target device.
  • the amount of power supplied to the device is made smaller than the amount of power that can be updated in the control program in the onboard control device.
  • the present disclosure can not only be realized as a control device including such a characteristic control unit, a control method having such characteristic processing as a step, and a computer program for causing a computer to execute such a step.
  • the present invention can be realized as a semiconductor integrated circuit that realizes part or all of the control device.
  • the present disclosure aims to provide a control device capable of suppressing the amount of power consumption at the time of update processing of a control program of an on-vehicle control device, a control method thereof, and a computer program.
  • the control device includes a power supply control unit that individually controls power supply to a plurality of in-vehicle control devices belonging to a communication network in the vehicle, and a self-device of the plurality of in-vehicle control devices.
  • a specifying unit that specifies a target device that is an on-vehicle control device that executes update processing for updating a control program
  • the power control unit causes the specified target device to be supplied with power
  • the amount of electric power supplied to at least one in-vehicle control device other than the target device among the plurality of in-vehicle control devices is set smaller than the amount of electric power that can be executed to update the control program in the in-vehicle control device.
  • the vehicle By enabling individual control of power supply to a plurality of in-vehicle control devices, power is supplied to the target device, and at least one in-vehicle control device other than the target device among the plurality of in-vehicle control devices It is possible to perform power supply control in which the amount of power supplied is smaller than the amount of power that can be updated in the control program in the on-vehicle control device.
  • the vehicle By performing such power supply control, the vehicle carries out the updating process compared to the case where the power of the electric energy that can execute the updating process is supplied to all the on-vehicle control devices when performing the updating process. Power consumption can be reduced.
  • the amount of power supplied to at least one in-vehicle control device other than the target device can be the amount of power that can be updated in the control program in the in-vehicle control device.
  • the period to be less may include a period from the identification of the target device to the end of the update process in the target device.
  • the power control unit may stop the power supply to at least one on-vehicle control device other than the target device. Thereby, the power consumption in the update process can be further suppressed.
  • the power supply control unit may stop the power supply to all the on-vehicle control devices other than the target device among the plurality of on-vehicle control devices. .
  • the power consumption in the update process can be significantly reduced.
  • control device further includes a monitoring unit that monitors at least one of a power abnormality and a communication abnormality of the target device during update processing, and the power control unit
  • the power supply to the target device may be stopped when a power abnormality or a communication abnormality of the target device is detected during the update process.
  • control device may further include an update control unit that instructs the target device to execute the update process.
  • control device can also control the update process in the target device.
  • the control method is a method of controlling power supply to a plurality of in-vehicle control devices belonging to a communication network in a car, and a control program of the own device among the plurality of in-vehicle control devices Identifying a target device that is an in-vehicle control device that executes the update process, and supplying power to the identified target device, and at least one of the plurality of in-vehicle control devices other than the target device And reducing the amount of power supplied to the in-vehicle control device of the table to be smaller than the amount of power that can be updated in the control program in the in-vehicle control device.
  • the vehicle By enabling individual control of power supply to a plurality of in-vehicle control devices, power is supplied to the target device, and at least one in-vehicle control device other than the target device among the plurality of in-vehicle control devices It is possible to perform power supply control in which the amount of power supplied is smaller than the amount of power that can be updated in the control program in the on-vehicle control device.
  • the vehicle By performing such power supply control, the vehicle carries out the updating process compared to the case where the power of the electric energy that can execute the updating process is supplied to all the on-vehicle control devices when performing the updating process. Power consumption can be reduced.
  • a computer program is a computer program for causing a computer to function as a control device for controlling power supply to a plurality of on-vehicle control devices belonging to a communication network in a car, the computer A power control unit individually controlling power supply to a plurality of in-vehicle control devices, and a target device which is an in-vehicle control device executing an update process of a control program of the own device among the plurality of in-vehicle control devices.
  • the power supply control unit causes the specified target device to supply power to at least one on-vehicle control device other than the target device among the plurality of on-vehicle control devices.
  • the amount of power supplied is made smaller than the amount of power that can be updated in the control program in the in-vehicle control device.
  • FIG. 1 is a schematic view showing the configuration of a vehicle according to the first embodiment.
  • a vehicle 1 according to the present embodiment includes an on-vehicle communication device 15 for communicating with an external device, a plurality of ECUs (Electronic Control Units) 30A, 30B, 30C,.
  • the relay apparatus 10 which is ECU which relays communication with several ECU30A, 30B, 30C, ..., the battery 40 which supplies electric power to these, and the power supply control apparatus 20 are included.
  • the plurality of ECUs 30A, 30B, 30C,... When the plurality of ECUs 30 are distinguished from one another, they are also expressed as ECU-1, ECU-2, ECU-3,.
  • the battery 40 may be composed of a main battery and a sub battery.
  • Each of the ECUs 30 is connected by an in-vehicle communication line 16 terminating in the relay device 10 to configure the in-vehicle communication network 4 together with the relay device 10.
  • Communication network 4 is formed of a bus-type communication network (for example, CAN (Controller Area Network)) that enables communication among ECUs 30.
  • CAN Controller Area Network
  • information is stored and transmitted in a format called a data frame.
  • the communication network 4 is not limited to CAN, but also to 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 controls an engine, a brake, an EPS (Electric Power Steering), etc. in response to operations of an accelerator, a brake, and a steering wheel, and turns on / off interior lighting and headlights according to switch operation.
  • 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 external device is, for example, the server 5 that stores the update program of the ECU 30.
  • the in-vehicle communication device 15 may have a plug (not shown), and may communicate with an external device connected to the plug in a wired manner.
  • the in-vehicle communication device 15 may be a device owned by a user, such as a mobile phone, a smartphone, a tablet terminal, or a notebook personal computer (PC).
  • the relay device 10 relays the information received by the in-vehicle communication device 15 from the device outside the vehicle to the ECU 30.
  • the relay device 10 also relays the 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.
  • the battery 40 is connected to the power control device 20 through the power line 18, and the power control device 20 is connected to the ECUs 30A, 30B, 30C,... Through the power lines 17A, 17B, 17C,.
  • Relay device 10 is further connected to power supply control device 20 via in-vehicle communication line 16.
  • the relay device 10 may have the power control device 20 mounted thereon.
  • the power supply control device 20 controls the power supply from the battery 40 to the ECU 30.
  • FIG. 2 is a block diagram showing an internal configuration of the relay device 10. As shown in FIG. As shown in FIG. 2, the relay device 10 includes a control unit 11, a storage unit 12, an in-vehicle communication unit 13, and the like.
  • the control unit 11 of the relay device 10 includes a CPU (Central Processing Unit).
  • the CPU of the control unit 11 has a function of reading out one or more programs stored in the storage unit 12 and executing various processes.
  • the CPU of the control unit 11 can execute a plurality of programs in parallel by switching and executing a plurality of programs in time division, for example.
  • the CPU of the control unit 11 includes one or more large scale integrated circuits (LSI).
  • LSI 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 11 can be transferred while being recorded on a recording medium such as a CD-ROM or a DVD-ROM, or can be transferred by downloading from a computer device such as a server computer. .
  • the storage unit 12 is formed of a non-volatile memory element such as a flash memory or an 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 required for the 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 the information given from the CPU of the control unit 11 to the predetermined ECU 30, and the ECU 30 gives the 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 executes transmission and reception of a wireless signal 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 cellular phone network.
  • the in-vehicle communication device 15 transmits the information given from the CPU of the control unit 11 to an external device such as the server 5 via the wide area communication network 2 formed by a base station (not shown) and also receives the information received from the external device To the CPU of the control unit 11.
  • FIG. 3 is a block diagram showing an internal configuration of the power supply control device 20. As shown in FIG. As shown in FIG. 3, the power supply control device 20 includes a control unit 21, a storage unit 22, an in-vehicle communication unit 23, and the like.
  • the control unit 21 of the power supply control device 20 includes a CPU.
  • the CPU of the control unit 21 has a function of reading one or a plurality of programs stored in the storage unit 22 and executing various processes.
  • the CPU of the control unit 21 can execute a plurality of programs in parallel by switching and executing a plurality of programs in time division, for example.
  • the CPU of the control unit 21 includes one or more large scale integrated circuits (LSI).
  • LSI 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 21 can be transferred while being recorded on a recording medium such as a CD-ROM or a DVD-ROM, or can be transferred by downloading from a computer device such as a server computer. .
  • the storage unit 22 is formed of a non-volatile memory element such as a flash memory or an EEPROM.
  • the storage unit 22 has a storage area for storing a program executed by the CPU of the control unit 21 and data necessary for the execution.
  • An in-vehicle communication line 16 is connected to the in-vehicle communication unit 23.
  • the in-vehicle communication unit 23 includes 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 23 transmits information given from the CPU of the control unit 21 to a predetermined relay device 10, and the relay device 10 gives information on the transmission source to the CPU of the control unit 21.
  • the power supply control device 20 is further connected to the main switch 25 connected to the battery 40 via the power line 18 and to the first individual switch 27A connected to the ECU 30A via the power line 17A and the ECU 30B via the power line 17B. And the third individual switches 27C,... Connected to the second individual switch 27B and the ECU 30C via the power line 17C, and the individual switches 27A, 27B, 27C,... Are batteries via the main switch 25 and the power line 18, respectively. It is connected with 40. The individual switches 27A, 27B, 27C,...
  • the main switch 25 and the individual switch 27 are circuits having a function of permitting or blocking the power supply, and include, for example, a transistor, a field effect transistor (FET), and a relay circuit.
  • FET field effect transistor
  • Power supply control device 20 further includes a first drive circuit 24 for driving main switch 25 and a second drive circuit 26 for independently driving each individual switch 27.
  • the drive circuits 24 and 26 are connected to the control unit 21 and drive the main switch 25 and the individual switch 27 according to the control of the control unit 21.
  • Driving of the main switch 25 is to switch the ON state or the OFF state to the other state.
  • the first drive circuit 24 switches the main switch 25 from the ON state to the OFF state or from the OFF state to the ON state in accordance with a control signal from the CPU of the control unit 21. Therefore, the main switch 25 takes one of the ON state and the OFF state.
  • the driving of the individual switches 27 is, as an example, switching the ON state or the OFF state to the other state independently of each other.
  • the second drive circuit 26 individually switches the individual switches 27 from the ON state to the OFF state or from the OFF state to the ON state in accordance with a control signal from the CPU of the control unit 21. Therefore, the individual switches 27A, 27B, and 27C corresponding to the ECUs 30A, 30B, and 30C can have the following combinations of ON and OFF states.
  • the vehicle 1 is provided with a power switch (not shown) that can be operated by the user (driver), and the control unit 21 causes the first drive circuit 24 to switch the main switch 25 when the power is turned on. Turn it on. In addition, when the power-off operation is performed, the main switch 25 is turned off in the first drive circuit 24. Further, the control unit 21 executes a power control process to be described later, and individually drives the individual switches 27 according to the process.
  • the control program of the ECU 30 is updated at a predetermined timing.
  • the relay device 10 relays the update program received by the in-vehicle communication device 15 from the external device to the ECU 30 (hereinafter, referred to as target ECU) that executes the update process, and instructs execution of the update process.
  • the control unit 11 of the relay device 10 includes an update control unit 111 that is a function of causing the target ECU to execute the update process (FIG. 2). This function is mainly realized by the CPU when the CPU of the control unit 11 reads and executes the program stored in the storage unit 12.
  • the update process is performed while the vehicle 1 is stopped with the main switch 25 ON. Therefore, the control unit 21 of the power supply control device 20 performs the power supply control process for supplying power to the necessary part at the time of the update process.
  • control unit 21 of power supply control device 20 has power supply control unit 211 and identification unit 212 as a function for executing power supply control processing. These functions are mainly realized by the CPU when the CPU of the control unit 21 reads and executes the program stored in the storage unit 22.
  • the identifying unit 212 executes a identifying process for identifying the target ECU for which the updating process has been requested.
  • the identification process includes a process of analyzing the content of data included in the communication frame transmitted by the in-vehicle communication line 16 and received by the in-vehicle communication unit 23.
  • the identifying unit 212 identifies an ECU (target ECU) that executes the update process by the above analysis.
  • the power supply control unit 211 executes processing to individually switch the on / off state of the individual switch 27 based on the identification result of the identification unit 212. In the first embodiment, only the individual switch 27 of the target ECU is switched from the OFF state to the ON state.
  • the control unit 21 of the power supply control device 20 further includes a monitoring unit 213.
  • the monitoring unit 213 monitors power abnormality in the target ECU.
  • the power abnormality includes that the voltage of the target ECU is out of the normal range and that the current value flowing through the target ECU is out of the normal range.
  • the monitoring unit 213 further monitors communication abnormality in the target ECU.
  • the communication abnormality to be monitored is a communication abnormality between the target ECU and another ECU (for example, the relay device 10).
  • the communication abnormality includes that the communication is completely shut off and that the amount of communication is smaller than a threshold.
  • the monitoring unit 213 detects the presence or absence of an abnormality based on, for example, the voltage value, the current value, the amount of change of the voltage value, the combination thereof, and the like of the target ECU.
  • FIG. 4 is a flowchart showing the flow of the power control process performed by the control unit 21.
  • the control unit 21 of the power supply control device 20 executes the processing shown in the flowchart of FIG. 4 by reading and executing the program stored in the storage unit 12.
  • the control unit 21 of the power supply control device 20 repeatedly executes the power supply control process shown in FIG. 4 while the vehicle 1 is stopped.
  • control unit 21 monitors whether or not there is a request for execution of the update process to ECU 30.
  • requests for update processing such as those made from the relay device 10 to the ECU 30 and those made from the server 5 or the like to the ECU 30, and the control unit 21 determines whether the request is made to the ECU 30 Determine if The determination method is not limited to a specific method.
  • the communication frame transmitted to the communication network 4 may be monitored to determine whether it contains data for requesting the ECU 30 to update. If there is a request for update processing (YES in step S101), the control unit 21 performs the following operation.
  • the control unit 21 specifies the target ECU for which the update process has been requested (step S103). Then, the control unit 21 turns on only the individual switch 27 of the target ECU (step S105). For example, when the target ECU is specified as the ECU 30A in step S103, the control unit 21 keeps only the first individual switch 27A in the ON state and keeps the other individual switches 27B, 27C,. As a result, power is supplied only to the target ECU that executes the update process among the plurality of ECUs 30, and power is not supplied to the other ECUs 30. As a result, in the target ECU, the supplied electric power is consumed to execute the update process, and the consumption of the other ECUs 30 not performing the update process is suppressed.
  • the control unit 21 monitors the completion of the update process in the target ECU.
  • the control unit 21 receives the communication frame transmitted by the in-vehicle communication line 16 by the in-vehicle communication unit 23, and analyzes the content of the data included in the frame to notify the relay device 10 of the update completion from the target ECU. Monitor if there is. If the notification of the update completion has been received (YES in step S107), the control unit 21 turns off the individual switch 27 of the target ECU (step S111). Thus, when the update process is completed in the target ECU, the power supply to the ECU is stopped.
  • step S107 There is no notification of the completion of the update, and even during the update process (ON in step S107), the control unit 21 detects the power abnormality in the target ECU (YES in step S109), the individual switch 27 of the target ECU is turned OFF. The state is set (step S111). The control unit 21 similarly sets the individual switch 27 of the target ECU to the OFF state also when detecting a communication abnormality in the target ECU instead of or in addition to the power abnormality in the target ECU. As a result, the power supply to the target ECU is stopped. Therefore, the update process is interrupted.
  • step S111 turning off the individual switch 27 of the target ECU being subjected to the update process in step S111 means interrupting the update process in the ECU and starting the update process in the next ECU.
  • the vehicle 1 according to the first embodiment has an individual switch 27 for each ECU 30, and the power control device 20 independently switches ON / OFF of the individual switch 27 for each ECU 30.
  • the power control device 20 independently switches ON / OFF of the individual switch 27 for each ECU 30.
  • the power supply control device 20 detects the power abnormality and / or the communication abnormality of the target ECU in the updating process
  • the individual switch 27 of the target ECU is turned off.
  • the power supply to the target ECU in which the power abnormality and / or the communication abnormality have occurred is stopped.
  • the update processing in the target ECU in which the power abnormality and / or the communication abnormality have occurred is interrupted.
  • the power supply control device 20 is turned on so that the individual switch 27 of at least one of the ECUs 30 other than the target ECU 30 is turned off when executing the update process while the vehicle is stopped.
  • the individual switch 27 to be in the state may be determined. That is, in the second embodiment, the ECU for which the individual switch 27 is turned on is not limited to only the target ECU (for example, ECU 30A), and the number of ECUs 30 (for example, ECUs 30A and 30B) is smaller than all the ECUs 30A to 30C.
  • the individual switches (27A, 27B) may be turned on. Thereby, in the update process executed while the vehicle is stopped, power can be prevented from being supplied to at least one ECU 30 other than the target ECU.
  • the power saving effect is smaller than that of the first embodiment in which the power is not supplied to any ECU 30 other than the target ECU, the power consumption is suppressed more than the case where the power is supplied to all the ECUs during the update process. be able to.
  • the driving of the individual switch 27 may include adjustment of the amount of power supplied.
  • the individual switch 27 has a function of changing the amount of power supplied to the ECU 30.
  • the individual switch 27 includes a variable resistor, and the second drive circuit 26 changes the resistance value of the individual switch 27. Thus, the amount of power supplied to the ECU 30 is adjusted.
  • the power supply control device 20 controls the amount of electric power supplied to the ECUs 30 other than the target ECU or at least one of the ECUs 30 other than the target ECU from the amount of electric power supplied at normal times Also less.
  • the amount of power supplied at normal times refers to the amount of power that can be updated in the ECU. As a result, power consumption can be suppressed more than when normal power is supplied to all ECUs at the time of update processing.
  • the power supply control device 20 may be an ECU that executes power supply control.
  • power supply control device 20 may be a body ECU.
  • the power control device 20 may be included in the relay device 10.
  • the control unit 21 of the power supply control device 20 may include the update control unit 111.
  • the disclosed features are realized by one or more modules.
  • the feature can be realized by a circuit element or other hardware module, a software module that defines a process for realizing the feature, or a combination of a hardware module and a software module.
  • the program may be provided as a program that is a combination of one or more software modules for causing a computer to execute the above-described operations.
  • a program is provided as a program product by recording it on a computer readable recording medium such as a flexible disk attached to a computer, a CD-ROM (Compact Disk-Read Only Memory), a ROM, a RAM and a memory card. It can also be done.
  • the program can be provided by being recorded in a recording medium such as a hard disk built in the computer.
  • the program can be provided by downloading via a network.
  • the program according to the present disclosure is to call a necessary module among program modules provided as a part of an operating system (OS) of a computer in a predetermined arrangement at a predetermined timing to execute processing. It is also good. In that case, the program itself does not include the above module, and the processing is executed in cooperation with the OS. Programs not including such modules may also be included in the programs according to the present disclosure.
  • OS operating system
  • the program according to the present disclosure may be provided by being incorporated into a part of another program. Also in this case, the program itself does not include a module included in the other program, and the process is executed in cooperation with the other program. Programs incorporated into such other programs may also be included in the programs according to the present disclosure.
  • the provided program product is installed and executed in a program storage unit such as a hard disk.
  • the program product includes the program itself and a recording medium in which the program is recorded.
  • Reference Signs List 1 vehicle 2 wide area communication network 4 communication network 5 server 10 relay device 11 control unit 12 storage unit 13 in-vehicle communication unit 15 in-vehicle communication unit 16 in-vehicle communication line 17 in-vehicle communication line 17 17A, 17B, 17C power line 18 power line 20 power control unit 21 control unit 22 Storage unit 23 In-vehicle communication unit 24 First drive circuit 25 Main switch 26 Second drive circuit 27 Individual switch 27A First individual switch 27B Second individual switch 27C Third individual switch 30, 30A, 30B, 30C ECU 40 Battery 111 Update Control Unit 211 Power Supply Control Unit 212 Identification Unit 213 Monitoring Unit

Abstract

A control device that comprises a power source control part that individually controls the power supplied to a plurality of onboard control devices that belong to an in-vehicle communication network; and a specification part that specifies, from among the plurality of onboard control devices, a target device that is to execute update processing that is for updating a control program for the device. The power source control part causes power to be supplied to the specified target device and lowers the amount of power that is supplied to at least one of the plurality of onboard control devices that is not the target device below the amount of power at which control program update processing can be executed at said onboard control device.

Description

制御装置、制御方法、およびコンピュータプログラムControl device, control method, and computer program
 この発明は制御装置、制御方法、およびコンピュータプログラムに関する。本出願は、2018年1月26日出願の日本出願第2018-011755号に基づく優先権を主張し、前記日本出願に記載された全ての内容を援用するものである。 The present invention relates to a control device, a control method, and a computer program. This application claims the priority based on Japanese Patent Application No. 2018-011755 filed on Jan. 26, 2018, and incorporates all the contents described in the aforementioned Japanese application.
 近年、自動車の技術分野においては、車両の高機能化が進行しており、多種多様な車載機器が車両に搭載されている。従って、車両には、各車載機器を制御するための制御装置である、所謂ECU(Electronic Control Unit)が多数搭載されている。
 ECUの種類には、例えば、アクセル、ブレーキ、ハンドルの操作に対してエンジンやブレーキ、EPS(Electric Power Steering)等の制御を行う走行系に関わるもの、乗員によるスイッチ操作に応じて車内照明やヘッドライトの点灯/消灯と警報器の吹鳴等の制御を行うボディ系ECU、運転席近傍に配設されるメータ類の動作を制御するメータ系ECUなどがある。
2. Description of the Related Art In recent years, in the technical field of automobiles, vehicles are becoming more sophisticated, and various in-vehicle devices are mounted on the vehicles. Therefore, a large number of so-called ECUs (Electronic Control Units), which are control devices for controlling each on-vehicle device, are mounted on the vehicle.
The types of ECUs include, for example, those related to a travel system that controls the engine, brakes, EPS (Electric Power Steering), etc. in response to accelerator, brake, and steering wheel operations, and in-vehicle lighting and head in response to switch operations by occupants. There are a body system ECU that controls lighting / extinguishing of a light and sounding of an alarm device, and a meter system ECU that controls the operation of meters disposed near the driver's seat.
 一般的にECUは、マイクロコンピュータ等の演算処理装置によって構成されており、ROM(Read Only Memory)に記憶した制御プログラムを読み出して実行することにより、車載機器の制御が実現される。
 ECUの制御プログラムは、バージョンアップに対応して、旧バージョンの制御プログラムを新バージョンの制御プログラムに書き換える必要がある。また、たとえば地図情報や制御用のパラメータなど、制御プログラムの実行に必要なデータも書き換える必要がある。
Generally, the ECU is configured by an arithmetic processing unit such as a microcomputer, and the control of the on-vehicle device is realized by reading and executing the control program stored in a ROM (Read Only Memory).
The control program of the ECU needs to rewrite the control program of the old version to the control program of the new version in response to the version upgrade. Further, it is also necessary to rewrite data necessary for executing the control program, such as map information and control parameters.
 たとえば、特許文献1には、ネットワークを介して更新用プログラムをダウンロードし、ECUの制御プログラムの更新を行う技術(オンライン更新機能)が開示されている。特許文献1の技術では、ECUにおいて制御プログラムの更新中に車両機器の操作が行われないようにするため、車両が停止され、ユーザが当該車両から降車した状態で更新が実行される。 For example, Patent Document 1 discloses a technology (on-line update function) of downloading an update program via a network and updating an ECU control program. In the technique of Patent Document 1, in order to prevent the operation of the vehicle device from being performed 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.
特開2013-2958号公報JP, 2013-2958, A
 本開示の一態様に係る制御装置は、車内の通信ネットワークに属する複数の車載制御装置への電力供給を個別に制御する電源制御部と、前記複数の車載制御装置のうちの、自装置の制御プログラムを更新するための更新処理を実行する車載制御装置である対象装置を特定する特定部と、を備え、前記電源制御部は、特定された前記対象装置へ電力を供給させ、かつ、前記複数の車載制御装置のうちの、前記対象装置以外の少なくとも1台の車載制御装置へ供給される電力量を、当該車載制御装置において制御プログラムの更新処理が実行可能な電力量より少なくする。 A control device according to an aspect of the present disclosure includes a power supply control unit that individually controls power supply to a plurality of on-board control devices belonging to a communication network in the vehicle, and a control of the own device among the plurality of on-vehicle control devices. A specifying unit that specifies a target device that is an on-board control device that executes update processing for updating a program, the power control unit causes the specified target device to be supplied with power, and the plurality of power control units The amount of electric power supplied to at least one in-vehicle control device other than the target device among the in-vehicle control devices of the above-mentioned in-vehicle control devices is smaller than the amount of electric energy which can execute the process of updating the control program in the in-vehicle control device.
 また、本開示の一の態様に係る制御方法は、車内の通信ネットワークに属する複数の車載制御装置への電力供給を制御する方法であって、前記複数の車載制御装置のうちの、自装置の制御プログラムの更新処理を実行する車載制御装置である対象装置を特定するステップと、特定された前記対象装置に電力を供給させ、かつ、前記複数の車載制御装置のうちの、前記対象装置以外の少なくとも1台の車載制御装置へ供給される電力量を、当該車載制御装置において制御プログラムの更新処理が実行可能な電力量より少なくするステップと、を備える。 Further, a control method according to an aspect of the present disclosure is a method of controlling power supply to a plurality of in-vehicle control devices belonging to a communication network in a vehicle, which is one of the plurality of in-vehicle control devices. A step of specifying a target device that is an on-board control device that executes a control program update process, supplying power to the specified target device, and of the plurality of on-vehicle control devices other than the target device And D. reducing the amount of power supplied to the at least one in-vehicle control device from the amount of power that can be updated in the control program in the in-vehicle control device.
 また、本開示の一の態様に係るコンピュータプログラムは、車内の通信ネットワークに属する複数の車載制御装置への電力供給を制御する制御装置としてコンピュータを機能させるためのコンピュータプログラムであって、前記コンピュータを、前記複数の車載制御装置への電力供給を個別に制御する電源制御部と、前記複数の車載制御装置のうちの、自装置の制御プログラムの更新処理を実行する車載制御装置である対象装置を特定する特定部、として機能させ、前記電源制御部は、特定された前記対象装置に電力を供給させ、かつ、前記複数の車載制御装置のうちの、前記対象装置以外の少なくとも1台の車載制御装置へ供給される電力量を、当該車載制御装置において制御プログラムの更新処理が実行可能な電力量より少なくする。 Further, a computer program according to an aspect of the present disclosure is a computer program for causing a computer to function as a control device that controls power supply to a plurality of on-vehicle control devices belonging to a communication network in a vehicle, A power supply control unit individually controlling power supply to the plurality of in-vehicle control devices; and a target device as the in-vehicle control device executing an update process of a control program of the own device among the plurality of in-vehicle control devices The power supply control unit causes the specified target device to supply power and at least one on-vehicle control of the plurality of on-vehicle control devices other than the target device. The amount of power supplied to the device is made smaller than the amount of power that can be updated in the control program in the onboard control device.
 本開示は、このような特徴的な制御部を備える制御装置、かかる特徴的な処理をステップとする制御方法、及びかかるステップをコンピュータに実行させるためのコンピュータプログラムとして実現することができるだけでなく、制御装置の一部又は全部を実現する半導体集積回路として実現することができる。 The present disclosure can not only be realized as a control device including such a characteristic control unit, a control method having such characteristic processing as a step, and a computer program for causing a computer to execute such a step. The present invention can be realized as a semiconductor integrated circuit that realizes part or all of the control device.
実施の形態にかかる車両の構成を表した概略図である。BRIEF DESCRIPTION OF THE DRAWINGS It is the schematic showing the structure of the vehicle concerning embodiment. 中継装置の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of a relay apparatus. 電源制御装置の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of a power supply control apparatus. 電源制御処理の流れを表したフローチャートである。It is a flowchart showing the flow of power supply control processing.
 <本開示が解決しようとする課題>
 制御プログラムの更新処理を実行するECUには電力を供給する必要がある。特許文献1の車両では、更新処理を実行するECUと他のECUとがバッテリに接続されているため、更新処理を実行するECUに電力を供給するためには、電力供給が不要な他のECUにも電力が供給される。その結果、消費電力量が必要以上に増加することになる。
<Issues the present disclosure is trying to solve>
It is necessary to supply power to the ECU that executes the control program update process. In the vehicle of Patent Document 1, since the ECU that executes the update process and the other ECUs are connected to the battery, another ECU that does not need to supply power in order to supply power to the ECU that performs the update process. Power is also supplied. As a result, power consumption will increase more than necessary.
 本開示は、車載制御装置の制御プログラムの更新処理時の消費電力量を抑えることができる制御装置、その制御方法、およびコンピュータプログラムを提供することを目的とする。 The present disclosure aims to provide a control device capable of suppressing the amount of power consumption at the time of update processing of a control program of an on-vehicle control device, a control method thereof, and a computer program.
 <本開示の効果>
 本開示によれば、車載制御装置の制御プログラムの更新処理時における消費電力量を抑えることができる。
<Effect of the present disclosure>
According to the present disclosure, it is possible to reduce the amount of power consumption at the time of the process of updating the control program of the in-vehicle control device.
 <本発明の実施形態の概要>
 以下、本発明の実施形態の概要を列記して説明する。
 (1) 本実施形態に係る制御装置は、車内の通信ネットワークに属する複数の車載制御装置への電力供給を個別に制御する電源制御部と、前記複数の車載制御装置のうちの、自装置の制御プログラムを更新するための更新処理を実行する車載制御装置である対象装置を特定する特定部と、を備え、前記電源制御部は、特定された前記対象装置へ電力を供給させ、かつ、前記複数の車載制御装置のうちの、前記対象装置以外の少なくとも1台の車載制御装置へ供給される電力量を、当該車載制御装置において制御プログラムの更新処理が実行可能な電力量より少なくする。
 複数の車載制御装置への電力供給の個別の制御が可能なことにより、対象装置に電力を供給させ、かつ、複数の車載制御装置のうちの、対象装置以外の少なくとも1台の車載制御装置へ供給される電力量を、当該車載制御装置において制御プログラムの更新処理が実行可能な電力量より少なくする電源制御が可能になる。このような電源制御を実行することによって、当該車両では、更新処理を実行する際にすべての車載制御装置に更新処理が実行可能な電力量の電力が供給される場合と比較して、更新処理における電力消費量を抑えることができる。
<Overview of Embodiments of the Present Invention>
Hereinafter, the outline of the embodiment of the present invention will be listed and described.
(1) The control device according to the present embodiment includes a power supply control unit that individually controls power supply to a plurality of in-vehicle control devices belonging to a communication network in the vehicle, and a self-device of the plurality of in-vehicle control devices. A specifying unit that specifies a target device that is an on-vehicle control device that executes update processing for updating a control program, the power control unit causes the specified target device to be supplied with power, and The amount of electric power supplied to at least one in-vehicle control device other than the target device among the plurality of in-vehicle control devices is set smaller than the amount of electric power that can be executed to update the control program in the in-vehicle control device.
By enabling individual control of power supply to a plurality of in-vehicle control devices, power is supplied to the target device, and at least one in-vehicle control device other than the target device among the plurality of in-vehicle control devices It is possible to perform power supply control in which the amount of power supplied is smaller than the amount of power that can be updated in the control program in the on-vehicle control device. By performing such power supply control, the vehicle carries out the updating process compared to the case where the power of the electric energy that can execute the updating process is supplied to all the on-vehicle control devices when performing the updating process. Power consumption can be reduced.
 (2) また、本実施形態に係る制御装置において、前記対象装置以外の少なくとも1台の車載制御装置へ供給される電力量を、当該車載制御装置において制御プログラムの更新処理が実行可能な電力量より少なくする期間は、前記対象装置を特定してから前記対象装置における前記更新処理が終了するまでの期間を含んでもよい。
 これにより、対象装置を特定してから対象装置における更新処理が終了するまでの期間における電力消費量が抑制され、対象装置の制御プログラムの更新処理における電力消費量を確実に抑えることができる。
(2) Further, in the control device according to the present embodiment, the amount of power supplied to at least one in-vehicle control device other than the target device can be the amount of power that can be updated in the control program in the in-vehicle control device. The period to be less may include a period from the identification of the target device to the end of the update process in the target device.
As a result, the power consumption in the period from the specification of the target device to the end of the update processing in the target device is suppressed, and the power consumption in the update processing of the control program of the target device can be reliably suppressed.
 (3) また、本実施形態に係る制御装置において、前記電源制御部は、前記対象装置以外の少なくとも1台の車載制御装置への電力供給を停止させてもよい。
 これにより、更新処理における電力消費量をより抑えることができる。
(3) Further, in the control device according to the present embodiment, the power control unit may stop the power supply to at least one on-vehicle control device other than the target device.
Thereby, the power consumption in the update process can be further suppressed.
 (4) また、本実施形態に係る制御装置において、前記電源制御部は、前記複数の車載制御装置のうちの、前記対象装置以外のすべての車載制御装置への電力供給を停止させてもよい。
 これにより、更新処理における電力消費量を大幅に抑えることができる。
(4) Further, in the control device according to the present embodiment, the power supply control unit may stop the power supply to all the on-vehicle control devices other than the target device among the plurality of on-vehicle control devices. .
As a result, the power consumption in the update process can be significantly reduced.
 (5) また、本実施形態に係る制御装置において、前記制御装置は、更新処理中の前記対象装置の電力異常および通信異常の少なくとも一方を監視する監視部をさらに備え、前記電源制御部は、更新処理中に前記対象装置の電力異常または通信異常が検出されると、前記対象装置への電力供給を停止させてもよい。
 更新処理中に電力異常または通信異常が検出された対象装置への電力供給を停止させることによって、対象装置での更新処理を中断させることができる。
(5) Further, in the control device according to the present embodiment, the control device further includes a monitoring unit that monitors at least one of a power abnormality and a communication abnormality of the target device during update processing, and the power control unit The power supply to the target device may be stopped when a power abnormality or a communication abnormality of the target device is detected during the update process.
By stopping the power supply to the target device in which the power abnormality or the communication abnormality is detected during the update processing, the update processing in the target device can be interrupted.
 (6) また、本実施形態に係る制御装置において、前記制御装置は、前記対象装置に前記更新処理の実行を指示する更新制御部をさらに備えてもよい。
 これにより、制御装置が対象装置での更新処理も制御することができる。
(6) Further, in the control device according to the present embodiment, the control device may further include an update control unit that instructs the target device to execute the update process.
Thereby, the control device can also control the update process in the target device.
 (7) 本実施形態に係る制御方法は、車内の通信ネットワークに属する複数の車載制御装置への電力供給を制御する方法であって、前記複数の車載制御装置のうちの、自装置の制御プログラムの更新処理を実行する車載制御装置である対象装置を特定するステップと、特定された前記対象装置に電力を供給させ、かつ、前記複数の車載制御装置のうちの、前記対象装置以外の少なくとも1台の車載制御装置へ供給される電力量を、当該車載制御装置において制御プログラムの更新処理が実行可能な電力量より少なくするステップと、を備える。
 複数の車載制御装置への電力供給の個別の制御が可能なことにより、対象装置に電力を供給させ、かつ、複数の車載制御装置のうちの、対象装置以外の少なくとも1台の車載制御装置へ供給される電力量を、当該車載制御装置において制御プログラムの更新処理が実行可能な電力量より少なくする電源制御が可能になる。このような電源制御を実行することによって、当該車両では、更新処理を実行する際にすべての車載制御装置に更新処理が実行可能な電力量の電力が供給される場合と比較して、更新処理における電力消費量を抑えることができる。
(7) The control method according to the present embodiment is a method of controlling power supply to a plurality of in-vehicle control devices belonging to a communication network in a car, and a control program of the own device among the plurality of in-vehicle control devices Identifying a target device that is an in-vehicle control device that executes the update process, and supplying power to the identified target device, and at least one of the plurality of in-vehicle control devices other than the target device And reducing the amount of power supplied to the in-vehicle control device of the table to be smaller than the amount of power that can be updated in the control program in the in-vehicle control device.
By enabling individual control of power supply to a plurality of in-vehicle control devices, power is supplied to the target device, and at least one in-vehicle control device other than the target device among the plurality of in-vehicle control devices It is possible to perform power supply control in which the amount of power supplied is smaller than the amount of power that can be updated in the control program in the on-vehicle control device. By performing such power supply control, the vehicle carries out the updating process compared to the case where the power of the electric energy that can execute the updating process is supplied to all the on-vehicle control devices when performing the updating process. Power consumption can be reduced.
 (8) 本実施形態に係るコンピュータプログラムは、車内の通信ネットワークに属する複数の車載制御装置への電力供給を制御する制御装置としてコンピュータを機能させるためのコンピュータプログラムであって、前記コンピュータを、前記複数の車載制御装置への電力供給を個別に制御する電源制御部と、前記複数の車載制御装置のうちの、自装置の制御プログラムの更新処理を実行する車載制御装置である対象装置を特定する特定部、として機能させ、前記電源制御部は、特定された前記対象装置に電力を供給させ、かつ、前記複数の車載制御装置のうちの、前記対象装置以外の少なくとも1台の車載制御装置へ供給される電力量を、当該車載制御装置において制御プログラムの更新処理が実行可能な電力量より少なくする。
 複数の車載制御装置への電力供給の個別の制御が可能なことにより、対象装置に電力を供給させ、かつ、複数の車載制御装置のうちの、対象装置以外の少なくとも1台の車載制御装置へ供給される電力量を、当該車載制御装置において制御プログラムの更新処理が実行可能な電力量より少なくする電源制御が可能になる。このような電源制御を実行することによって、当該車両では、更新処理を実行する際にすべての車載制御装置に更新処理が実行可能な電力量の電力が供給される場合と比較して、更新処理における電力消費量を抑えることができる。
(8) A computer program according to the present embodiment is a computer program for causing a computer to function as a control device for controlling power supply to a plurality of on-vehicle control devices belonging to a communication network in a car, the computer A power control unit individually controlling power supply to a plurality of in-vehicle control devices, and a target device which is an in-vehicle control device executing an update process of a control program of the own device among the plurality of in-vehicle control devices The power supply control unit causes the specified target device to supply power to at least one on-vehicle control device other than the target device among the plurality of on-vehicle control devices. The amount of power supplied is made smaller than the amount of power that can be updated in the control program in the in-vehicle control device.
By enabling individual control of power supply to a plurality of in-vehicle control devices, power is supplied to the target device, and at least one in-vehicle control device other than the target device among the plurality of in-vehicle control devices It is possible to perform power supply control in which the amount of power supplied is smaller than the amount of power that can be updated in the control program in the on-vehicle control device. By performing such power supply control, the vehicle carries out the updating process compared to the case where the power of the electric energy that can execute the updating process is supplied to all the on-vehicle control devices when performing the updating process. Power consumption can be reduced.
 <本発明の実施形態の詳細>
 以下、図面を参照して、本発明の実施形態の詳細を説明する。なお、以下に記載する実施形態の少なくとも一部を任意に組み合わせてもよい。以下の説明では、同一の部品および構成要素には同一の符号を付してある。それらの名称および機能も同じである。したがって、これらの説明は繰り返さない。
<Details of the Embodiment of the Present Invention>
The details of the embodiments of the present invention will be described below with reference to the drawings. Note that at least a part of the embodiments described below may be arbitrarily combined. In the following description, the same parts and components are denoted by the same reference numerals. Their names and functions are also the same. Therefore, these descriptions will not be repeated.
 〔車両構成〕
 図1は第1の実施の形態にかかる車両の構成を表した概略図である。
 図1を参照して、本実施の形態にかかる車両1は、車外装置と通信するための車載通信機15と、複数のECU(Electronic Control Unit)30A,30B,30C,…と、車外装置と複数のECU30A,30B,30C,…との通信を中継するECUである中継装置10と、これらに電力を供給するバッテリ40と、電源制御装置20と、を含む。複数のECU30A,30B,30C,…を代表させてECU30とも称する。複数のECU30それぞれを区別するときには、ECU-1,ECU-2,ECU-3,…とも表現する。バッテリ40は、メインバッテリおよびサブバッテリからなるものであってもよい。
[Vehicle configuration]
FIG. 1 is a schematic view showing the configuration of a vehicle according to the first embodiment.
Referring to FIG. 1, a vehicle 1 according to the present embodiment includes an on-vehicle communication device 15 for communicating with an external device, a plurality of ECUs (Electronic Control Units) 30A, 30B, 30C,. The relay apparatus 10 which is ECU which relays communication with several ECU30A, 30B, 30C, ..., the battery 40 which supplies electric power to these, and the power supply control apparatus 20 are included. The plurality of ECUs 30A, 30B, 30C,... When the plurality of ECUs 30 are distinguished from one another, they are also expressed as ECU-1, ECU-2, ECU-3,. The battery 40 may be composed of a main battery and a sub battery.
 各ECU30は、中継装置10において終端する車内通信線16によって接続されて、中継装置10とともに車内の通信ネットワーク4を構成する。通信ネットワーク4はECU30同士の通信を可能とする、バス型の通信ネットワーク(たとえば、CAN(Controller Area Network))よりなる。この通信方式のネットワークでは、データフレームと呼ばれるフォーマットに情報を格納して送受信される。 Each of the ECUs 30 is connected by an in-vehicle communication line 16 terminating in the relay device 10 to configure the in-vehicle communication network 4 together with the relay device 10. Communication network 4 is formed of a bus-type communication network (for example, CAN (Controller Area Network)) that enables communication among ECUs 30. In a network of this communication scheme, information is stored and transmitted in a format called a data frame.
 通信ネットワーク4は、CANだけでなく、LIN(Local Interconnect Network)、CANFD(CAN with Flexible Data Rate)、Ethernet(登録商標)、又はMOST(Media Oriented Systems Transport:MOSTは登録商標)などの通信規格を採用するネットワークであってもよい。 The communication network 4 is not limited to CAN, but also to 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.
 ECU30は、たとえば、アクセル、ブレーキ、ハンドルの操作に対してエンジンやブレーキ、EPS(Electric Power Steering)等の制御を行うパワー・トレイン系ECU、スイッチ操作に応じて車内照明やヘッドライトの点灯/消灯と警報器の吹鳴等の制御を行うボディ系ECU、運転席近傍に配設されるメータ類の動作を制御するメータ系ECUなどである。 For example, the ECU 30 controls an engine, a brake, an EPS (Electric Power Steering), etc. in response to operations of an accelerator, a brake, and a steering wheel, and turns on / off interior lighting and headlights according to switch operation. And the body system ECU that controls the sounding of the alarm device and the like, and the meter system ECU that controls the operation of meters disposed near the driver's seat.
 中継装置10は、さらに、所定規格の通信線を介して車載通信機15と接続されている。または、中継装置10は、車載通信機15を搭載していてもよい。車載通信機15は、インターネット等の広域通信網2を介して、車外装置と無線通信する。車外装置は、たとえば、ECU30の更新用プログラムを保存するサーバ5である。または、車載通信機15は図示しないプラグを有し、当該プラグに接続された車外装置と有線にて通信してもよい。車載通信機15は、ユーザが所有する携帯電話機、スマートフォン、タブレット型端末、ノートPC(Personal Computer)等の装置であってもよい。 The relay device 10 is further connected to the in-vehicle communication device 15 via a communication line of a predetermined standard. Alternatively, 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 external device is, for example, the server 5 that stores the update program of the ECU 30. Alternatively, the in-vehicle communication device 15 may have a plug (not shown), and may communicate with an external device connected to the plug in a wired manner. The in-vehicle communication device 15 may be a device owned by a user, such as a mobile phone, a smartphone, a tablet terminal, or a notebook personal computer (PC).
 中継装置10は、車外装置から車載通信機15が受信した情報をECU30に中継する。また、中継装置10は、ECU30から受信した情報を車載通信機15に中継する。車載通信機15は、中継された情報を車外装置に無線送信する。 The relay device 10 relays the information received by the in-vehicle communication device 15 from the device outside the vehicle to the ECU 30. The relay device 10 also relays the 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.
 バッテリ40は、電力線18を介して電源制御装置20と接続され、電源制御装置20は、電力線17A,17B,17C,…を介してECU30A,30B,30C…それぞれと接続されている。電力線17A,17B,17C,…を代表させて電力線17とも称する。 The battery 40 is connected to the power control device 20 through the power line 18, and the power control device 20 is connected to the ECUs 30A, 30B, 30C,... Through the power lines 17A, 17B, 17C,. The power lines 17A, 17B, 17C,...
 中継装置10は、さらに、車内通信線16を介して電源制御装置20と接続されている。または、中継装置10は、電源制御装置20を搭載していてもよい。電源制御装置20は、バッテリ40からECU30への電力供給を制御する。 Relay device 10 is further connected to power supply control device 20 via in-vehicle communication line 16. Alternatively, the relay device 10 may have the power control device 20 mounted thereon. The power supply control device 20 controls the power supply from the battery 40 to the ECU 30.
 〔中継装置の構成〕
 図2は、中継装置10の内部構成を示すブロック図である。
 図2に示すように、中継装置10は、制御部11、記憶部12、および車内通信部13などを備える。
[Configuration of Relay Device]
FIG. 2 is a block diagram showing an internal configuration of the relay device 10. As shown in FIG.
As shown in FIG. 2, the relay device 10 includes a control unit 11, a storage unit 12, an in-vehicle communication unit 13, and the like.
 中継装置10の制御部11は、CPU(Central Processing Unit)を含む。制御部11のCPUは、記憶部12に記憶された1または複数のプログラムを読み出して、各種処理を実行するための機能を有している。
 制御部11のCPUは、たとえば時分割で複数のプログラムを切り替えて実行することにより、複数のプログラムを並列的に実行可能である。
The control unit 11 of the relay device 10 includes a CPU (Central Processing Unit). The CPU of the control unit 11 has a function of reading out one or more programs stored in the storage unit 12 and executing various processes.
The CPU of the control unit 11 can execute a plurality of programs in parallel by switching and executing a plurality of programs in time division, for example.
 制御部11のCPUは、1または複数の大規模集積回路(LSI)を含む。複数のLSIを含むCPUでは、複数のLSIが協働して当該CPUの機能を実現する。 The CPU of the control unit 11 includes one or more large scale integrated circuits (LSI). In a CPU including a plurality of LSIs, the plurality of LSIs cooperate to realize the function of the CPU.
 制御部11のCPUが実行するコンピュータプログラムは、CD-ROMやDVD-ROMなどの記録媒体に記録した状態で譲渡することもできるし、サーバコンピュータなどのコンピュータ装置からのダウンロードによって譲渡することもできる。 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 a DVD-ROM, or can be transferred by downloading from a computer device such as a server computer. .
 記憶部12は、フラッシュメモリ若しくはEEPROM(Electrically Erasable Programmable Read Only Memory)などの不揮発性のメモリ素子よりなる。
 記憶部12は、制御部11のCPUが実行するプログラムまたは実行に必要なデータなどを記憶する記憶領域を有する。
The storage unit 12 is formed of a non-volatile memory element such as a flash memory or an 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 required for the execution.
 車内通信部13には車内通信線16が接続されている。車内通信部13は、CANなどの所定の通信規格に則って、ECU30と通信する通信装置よりなる。
 車内通信部13は、制御部11のCPUから与えられた情報を所定のECU30宛てに送信し、ECU30が送信元の情報を制御部11のCPUに与える。
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 the information given from the CPU of the control unit 11 to the predetermined ECU 30, and the ECU 30 gives the information of the transmission source to the CPU of the control unit 11.
 車載通信機15は、アンテナと、アンテナからの無線信号の送受信を実行する通信回路とを含む無線通信機よりなる。車載通信機15は、携帯電話網等の広域通信網2に接続されることにより車外装置との通信が可能である。
 車載通信機15は、図示しない基地局により形成される広域通信網2を介して、制御部11のCPUから与えられた情報をサーバ5等の車外装置に送信するとともに、車外装置から受信した情報を制御部11のCPUに与える。
The in-vehicle communication device 15 is a wireless communication device including an antenna and a communication circuit that executes transmission and reception of a wireless signal 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 cellular phone network.
The in-vehicle communication device 15 transmits the information given from the CPU of the control unit 11 to an external device such as the server 5 via the wide area communication network 2 formed by a base station (not shown) and also receives the information received from the external device To the CPU of the control unit 11.
 〔電源制御装置の構成〕
 図3は、電源制御装置20の内部構成を示すブロック図である。
 図3に示すように、電源制御装置20は、制御部21、記憶部22、および車内通信部23などを備える。
[Configuration of Power Control Device]
FIG. 3 is a block diagram showing an internal configuration of the power supply control device 20. As shown in FIG.
As shown in FIG. 3, the power supply control device 20 includes a control unit 21, a storage unit 22, an in-vehicle communication unit 23, and the like.
 電源制御装置20の制御部21はCPUを含む。制御部21のCPUは、記憶部22に記憶された1または複数のプログラムを読み出して、各種処理を実行するための機能を有している。
 制御部21のCPUは、たとえば時分割で複数のプログラムを切り替えて実行することにより、複数のプログラムを並列的に実行可能である。
The control unit 21 of the power supply control device 20 includes a CPU. The CPU of the control unit 21 has a function of reading one or a plurality of programs stored in the storage unit 22 and executing various processes.
The CPU of the control unit 21 can execute a plurality of programs in parallel by switching and executing a plurality of programs in time division, for example.
 制御部21のCPUは、1または複数の大規模集積回路(LSI)を含む。複数のLSIを含むCPUでは、複数のLSIが協働して当該CPUの機能を実現する。 The CPU of the control unit 21 includes one or more large scale integrated circuits (LSI). In a CPU including a plurality of LSIs, the plurality of LSIs cooperate to realize the function of the CPU.
 制御部21のCPUが実行するコンピュータプログラムは、CD-ROMやDVD-ROMなどの記録媒体に記録した状態で譲渡することもできるし、サーバコンピュータなどのコンピュータ装置からのダウンロードによって譲渡することもできる。 The computer program executed by the CPU of the control unit 21 can be transferred while being recorded on a recording medium such as a CD-ROM or a DVD-ROM, or can be transferred by downloading from a computer device such as a server computer. .
 記憶部22は、フラッシュメモリ若しくはEEPROMなどの不揮発性のメモリ素子よりなる。
 記憶部22は、制御部21のCPUが実行するプログラムおよび実行に必要なデータなどを記憶する記憶領域を有する。
The storage unit 22 is formed of a non-volatile memory element such as a flash memory or an EEPROM.
The storage unit 22 has a storage area for storing a program executed by the CPU of the control unit 21 and data necessary for the execution.
 車内通信部23には車内通信線16が接続されている。車内通信部23は、CANなどの所定の通信規格に則って、中継装置10と通信する通信装置よりなる。
 車内通信部23は、制御部21のCPUから与えられた情報を所定の中継装置10宛てに送信し、中継装置10が送信元の情報を制御部21のCPUに与える。
An in-vehicle communication line 16 is connected to the in-vehicle communication unit 23. The in-vehicle communication unit 23 includes 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 23 transmits information given from the CPU of the control unit 21 to a predetermined relay device 10, and the relay device 10 gives information on the transmission source to the CPU of the control unit 21.
 電源制御装置20は、さらに、バッテリ40と電力線18を介して接続されたメインスイッチ25と、ECU30Aに電力線17Aを介して接続された第1個別スイッチ27A、ECU30Bに電力線17Bを介して接続された第2個別スイッチ27B、ECU30Cに電力線17Cを介して接続された第3個別スイッチ27C、…と、を含み、個別スイッチ27A,27B,27C,…は、それぞれメインスイッチ25および電力線18を介してバッテリ40と接続されている。個別スイッチ27A,27B,27C,…を代表させて個別スイッチ27とも称する。 The power supply control device 20 is further connected to the main switch 25 connected to the battery 40 via the power line 18 and to the first individual switch 27A connected to the ECU 30A via the power line 17A and the ECU 30B via the power line 17B. And the third individual switches 27C,... Connected to the second individual switch 27B and the ECU 30C via the power line 17C, and the individual switches 27A, 27B, 27C,... Are batteries via the main switch 25 and the power line 18, respectively. It is connected with 40. The individual switches 27A, 27B, 27C,...
 メインスイッチ25および個別スイッチ27は電力供給を許容、遮断する機能を有する回路であって、たとえば、トランジスタ、FET(Field Effect Transistor:電界効果トランジスタ)、および、リレー回路、などを含む回路である。 The main switch 25 and the individual switch 27 are circuits having a function of permitting or blocking the power supply, and include, for example, a transistor, a field effect transistor (FET), and a relay circuit.
 電源制御装置20は、さらに、メインスイッチ25を駆動するための第1駆動回路24と、個別スイッチ27それぞれを独立して駆動するための第2駆動回路26と含む。これら駆動回路24,26は制御部21に接続されて、制御部21の制御に従ってそれぞれメインスイッチ25および個別スイッチ27を駆動する。 Power supply control device 20 further includes a first drive circuit 24 for driving main switch 25 and a second drive circuit 26 for independently driving each individual switch 27. The drive circuits 24 and 26 are connected to the control unit 21 and drive the main switch 25 and the individual switch 27 according to the control of the control unit 21.
 メインスイッチ25の駆動は、ON状態またはOFF状態を他方状態に切り替えることである。第1駆動回路24は、制御部21のCPUからの制御信号に従って、メインスイッチ25をON状態からOFF状態、または、OFF状態からON状態に切り替える。従って、メインスイッチ25は、ON状態、または、OFF状態のいずれか一方の状態を採る。 Driving of the main switch 25 is to switch the ON state or the OFF state to the other state. The first drive circuit 24 switches the main switch 25 from the ON state to the OFF state or from the OFF state to the ON state in accordance with a control signal from the CPU of the control unit 21. Therefore, the main switch 25 takes one of the ON state and the OFF state.
 個別スイッチ27の駆動は、一例として、それぞれ独立して、ON状態またはOFF状態を他方状態に切り替えることである。第2駆動回路26は、制御部21のCPUからの制御信号に従って、個別スイッチ27を個別に、ON状態からOFF状態、または、OFF状態からON状態に切り替える。従って、ECU30A,30B,30Cそれぞれに対応した個別スイッチ27A,27B,27Cは、以下のON状態またはOFF状態の組合せを採り得る。
  1)ECU30A(ON)、ECU30B(ON)、ECU30C(ON)
  2)ECU30A(ON)、ECU30B(ON)、ECU30C(OFF)
  3)ECU30A(ON)、ECU30B(OFF)、ECU30C(ON)
  4)ECU30A(ON)、ECU30B(OFF)、ECU30C(OFF)
  5)ECU30A(OFF)、ECU30B(ON)、ECU30C(ON)
  6)ECU30A(OFF)、ECU30B(ON)、ECU30C(OFF)
  7)ECU30A(OFF)、ECU30B(OFF)、ECU30C(ON)
  8)ECU30A(OFF)、ECU30B(OFF)、ECU30C(OFF)
The driving of the individual switches 27 is, as an example, switching the ON state or the OFF state to the other state independently of each other. The second drive circuit 26 individually switches the individual switches 27 from the ON state to the OFF state or from the OFF state to the ON state in accordance with a control signal from the CPU of the control unit 21. Therefore, the individual switches 27A, 27B, and 27C corresponding to the ECUs 30A, 30B, and 30C can have the following combinations of ON and OFF states.
1) ECU 30A (ON), ECU 30B (ON), ECU 30C (ON)
2) ECU 30A (ON), ECU 30B (ON), ECU 30C (OFF)
3) ECU 30A (ON), ECU 30B (OFF), ECU 30C (ON)
4) ECU 30A (ON), ECU 30B (OFF), ECU 30C (OFF)
5) ECU 30A (OFF), ECU 30B (ON), ECU 30C (ON)
6) ECU 30A (OFF), ECU 30B (ON), ECU 30C (OFF)
7) ECU 30A (OFF), ECU 30B (OFF), ECU 30C (ON)
8) ECU 30A (OFF), ECU 30B (OFF), ECU 30C (OFF)
 メインスイッチ25がON状態の場合、個別スイッチ27がON状態のECU30にのみバッテリ40から電力が供給される。上記1)ではECU30A,30B,30Cに電力が供給される。上記2)ではECU30A,30Bに電力が供給され、ECU30Cには供給されない。 When the main switch 25 is in the ON state, power is supplied from the battery 40 only to the ECU 30 in which the individual switch 27 is in the ON state. Electric power is supplied to ECU30A, 30B, 30C in said 1). In the above 2), the electric power is supplied to the ECUs 30A and 30B and is not supplied to the ECU 30C.
 メインスイッチ25がOFF状態の場合、個別スイッチ27の状態に関わらず、すべてのECU30にバッテリ40から電力が供給されない。 When the main switch 25 is in the OFF state, power is not supplied from the battery 40 to all the ECUs 30 regardless of the state of the individual switch 27.
 車両1には、ユーザ(ドライバー)が操作可能な、図示しない電源スイッチが備えられ、制御部21は、電源スイッチに対して電源ONの操作が行われると第1駆動回路24にメインスイッチ25をON状態にさせる。また、電源OFFの操作が行われると第1駆動回路24にメインスイッチ25をOFF状態にさせる。
 また、制御部21は、後述する電源制御処理を実行し、その処理に従って個別スイッチ27を個別に駆動する。
The vehicle 1 is provided with a power switch (not shown) that can be operated by the user (driver), and the control unit 21 causes the first drive circuit 24 to switch the main switch 25 when the power is turned on. Turn it on. In addition, when the power-off operation is performed, the main switch 25 is turned off in the first drive circuit 24.
Further, the control unit 21 executes a power control process to be described later, and individually drives the individual switches 27 according to the process.
 〔電源制御処理〕
 ECU30の制御プログラムは、所定のタイミングで更新される。中継装置10は、更新処理を実行するECU30(以下、対象ECUと称する)に車載通信機15が車外装置から受信した更新用プログラムを中継するとともに、更新処理の実行を指示する。中継装置10の制御部11は、対象ECUに更新処理を実行させる機能である更新制御部111を有する(図2)。この機能は、制御部11のCPUが記憶部12に記憶されているプログラムを読み出して実行することによって、主にCPUによって実現される。
[Power control process]
The control program of the ECU 30 is updated at a predetermined timing. The relay device 10 relays the update program received by the in-vehicle communication device 15 from the external device to the ECU 30 (hereinafter, referred to as target ECU) that executes the update process, and instructs execution of the update process. The control unit 11 of the relay device 10 includes an update control unit 111 that is a function of causing the target ECU to execute the update process (FIG. 2). This function is mainly realized by the CPU when the CPU of the control unit 11 reads and executes the program stored in the storage unit 12.
 本実施の形態においては、更新処理は、車両1がメインスイッチ25がON状態で停車中に実行される。そのため、電源制御装置20の制御部21は、更新処理時に、必要箇所に電力を供給するための電源制御処理を実行する。 In the present embodiment, the update process is performed while the vehicle 1 is stopped with the main switch 25 ON. Therefore, the control unit 21 of the power supply control device 20 performs the power supply control process for supplying power to the necessary part at the time of the update process.
 図3を参照して、電源制御装置20の制御部21は、電源制御処理を実行するための機能として、電源制御部211と、特定部212とを有する。これら機能は、制御部21のCPUが記憶部22に記憶されているプログラムを読み出して実行することによって、主にCPUによって実現される。 Referring to FIG. 3, control unit 21 of power supply control device 20 has power supply control unit 211 and identification unit 212 as a function for executing power supply control processing. These functions are mainly realized by the CPU when the CPU of the control unit 21 reads and executes the program stored in the storage unit 22.
 特定部212は、更新処理が要求された対象ECUを特定する特定処理を実行する。特定処理は、車内通信部23で受信した、車内通信線16で伝送される通信フレームに含まれるデータの内容を解析する処理を含む。特定部212は、上記解析によって、更新処理を実行するECU(対象ECU)を特定する。 The identifying unit 212 executes a identifying process for identifying the target ECU for which the updating process has been requested. The identification process includes a process of analyzing the content of data included in the communication frame transmitted by the in-vehicle communication line 16 and received by the in-vehicle communication unit 23. The identifying unit 212 identifies an ECU (target ECU) that executes the update process by the above analysis.
 電源制御部211は、特定部212での特定結果に基づいて、個別スイッチ27のON/OFF状態を個別に切り替える処理を実行する。第1の実施の形態では、対象ECUの個別スイッチ27のみ、OFF状態からON状態に切り替える。 The power supply control unit 211 executes processing to individually switch the on / off state of the individual switch 27 based on the identification result of the identification unit 212. In the first embodiment, only the individual switch 27 of the target ECU is switched from the OFF state to the ON state.
 好ましくは、電源制御装置20の制御部21は、監視部213をさらに含む。監視部213は、対象ECUでの電力異常を監視する。電力異常とは、対象ECUの電圧が正常範囲外となること、対象ECUを流れる電流値が正常範囲外となること、を含む。好ましくは、監視部213は、さらに、対象ECUにおける通信異常を監視する。監視される通信異常は、対象ECUと、他のECU(例えば、中継装置10)との間の通信異常である。通信異常とは、通信が完全に遮断されていること、通信量が閾値よりも小さくなること、を含む。監視部213は、たとえば、対象ECUの電圧値、電流値、その変化量、それらの組合せ、などに基づいて異常の有無を検知する。 Preferably, the control unit 21 of the power supply control device 20 further includes a monitoring unit 213. The monitoring unit 213 monitors power abnormality in the target ECU. The power abnormality includes that the voltage of the target ECU is out of the normal range and that the current value flowing through the target ECU is out of the normal range. Preferably, the monitoring unit 213 further monitors communication abnormality in the target ECU. The communication abnormality to be monitored is a communication abnormality between the target ECU and another ECU (for example, the relay device 10). The communication abnormality includes that the communication is completely shut off and that the amount of communication is smaller than a threshold. The monitoring unit 213 detects the presence or absence of an abnormality based on, for example, the voltage value, the current value, the amount of change of the voltage value, the combination thereof, and the like of the target ECU.
 図4は、制御部21が実行する電源制御処理の流れを表したフローチャートである。電源制御装置20の制御部21は、記憶部12に記憶されているプログラムを読み出して実行することによって図4のフローチャートに表された処理を実行する。電源制御装置20の制御部21は、車両1の停車中に図4に示された電源制御処理を繰り返し実行する。 FIG. 4 is a flowchart showing the flow of the power control process performed by the control unit 21. The control unit 21 of the power supply control device 20 executes the processing shown in the flowchart of FIG. 4 by reading and executing the program stored in the storage unit 12. The control unit 21 of the power supply control device 20 repeatedly executes the power supply control process shown in FIG. 4 while the vehicle 1 is stopped.
 図4を参照して、制御部21は、ECU30に対して更新処理の実行の要求があるか否かを監視する。更新処理の要求は、中継装置10からECU30に対してなされるものと、サーバ5等からECU30に対してなされるもの、など様々あり、制御部21は、当該要求がECU30に対してなされたか否かを判定する。判定方法は特定の方法に限定されず、たとえば、通信ネットワーク4に伝送される通信フレームを監視して、ECU30に対して更新を要求するデータが含まれているか否かによって判定してもよい。更新処理の要求があった場合(ステップS101でYES)、制御部21は、以降の動作を行う。 Referring to FIG. 4, control unit 21 monitors whether or not there is a request for execution of the update process to ECU 30. There are various requests for update processing, such as those made from the relay device 10 to the ECU 30 and those made from the server 5 or the like to the ECU 30, and the control unit 21 determines whether the request is made to the ECU 30 Determine if The determination method is not limited to a specific method. For example, the communication frame transmitted to the communication network 4 may be monitored to determine whether it contains data for requesting the ECU 30 to update. If there is a request for update processing (YES in step S101), the control unit 21 performs the following operation.
 すなわち、制御部21は、更新処理が要求された対象ECUを特定する(ステップS103)。そして、制御部21は、対象ECUの個別スイッチ27のみをON状態とする(ステップS105)。たとえば、ステップS103で対象ECUがECU30Aと特定された場合、ステップS105で制御部21は、第1個別スイッチ27AのみをON状態とし、他の個別スイッチ27B,27C,…はOFF状態を維持する。これにより、複数のECU30のうち、更新処理を実行する対象ECUのみに電力が供給され、他のECU30には電力が供給されない。その結果、対象ECUでは供給された電力を消費して更新処理が実行されると共に、更新処理を実行しない他のECU30電力での消費が抑えられる。 That is, the control unit 21 specifies the target ECU for which the update process has been requested (step S103). Then, the control unit 21 turns on only the individual switch 27 of the target ECU (step S105). For example, when the target ECU is specified as the ECU 30A in step S103, the control unit 21 keeps only the first individual switch 27A in the ON state and keeps the other individual switches 27B, 27C,. As a result, power is supplied only to the target ECU that executes the update process among the plurality of ECUs 30, and power is not supplied to the other ECUs 30. As a result, in the target ECU, the supplied electric power is consumed to execute the update process, and the consumption of the other ECUs 30 not performing the update process is suppressed.
 好ましくは、制御部21は、対象ECUでの更新処理の完了を監視する。制御部21は、車内通信線16で伝送される通信フレームを車内通信部23で受信し、当該フレームに含まれるデータの内容を解析することによって、対象ECUから中継装置10に対する、更新完了の通知があるか否かを監視する。更新完了の通知があった場合(ステップS107でYES)、制御部21は、対象ECUの個別スイッチ27をOFF状態とする(ステップS111)。これにより、対象ECUにおいて更新処理が完了すると、当該ECUへの電力供給が停止する。 Preferably, the control unit 21 monitors the completion of the update process in the target ECU. The control unit 21 receives the communication frame transmitted by the in-vehicle communication line 16 by the in-vehicle communication unit 23, and analyzes the content of the data included in the frame to notify the relay device 10 of the update completion from the target ECU. Monitor if there is. If the notification of the update completion has been received (YES in step S107), the control unit 21 turns off the individual switch 27 of the target ECU (step S111). Thus, when the update process is completed in the target ECU, the power supply to the ECU is stopped.
 更新完了の通知がなく、更新処理中であっても(ステップS107でON)、制御部21は、対象ECUでの電力異常を検知すると(ステップS109でYES)、対象ECUの個別スイッチ27をOFF状態とする(ステップS111)。なお、制御部21は、対象ECUでの電力異常に替えて、または加えて、対象ECUでの通信異常を検知した場合にも、同様に、対象ECUの個別スイッチ27をOFF状態とする。これにより、対象ECUへの電力供給が停止する。そのため、更新処理が中断される。 There is no notification of the completion of the update, and even during the update process (ON in step S107), the control unit 21 detects the power abnormality in the target ECU (YES in step S109), the individual switch 27 of the target ECU is turned OFF. The state is set (step S111). The control unit 21 similarly sets the individual switch 27 of the target ECU to the OFF state also when detecting a communication abnormality in the target ECU instead of or in addition to the power abnormality in the target ECU. As a result, the power supply to the target ECU is stopped. Therefore, the update process is interrupted.
 このとき、中継装置10から次のECUに対して更新処理の実行が要求されると、当該次のECUの更新処理が開始される。従って、ステップS111で更新処理中の対象ECUの個別スイッチ27をOFF状態とすることは、当該ECUでの更新処理を中断し、次のECUでの更新処理を開始させることである。 At this time, when the relay device 10 requests the next ECU to execute the update process, the update process of the next ECU is started. Therefore, turning off the individual switch 27 of the target ECU being subjected to the update process in step S111 means interrupting the update process in the ECU and starting the update process in the next ECU.
 〔第1の実施の形態の効果〕
 第1の実施の形態にかかる車両1は、ECU30ごとの個別スイッチ27を有し、電源制御装置20がECU30ごとに独立して個別スイッチ27のON/OFFを切り替える。これにより、停車中に実行される更新処理において、対象ECUのみに電力を供給させ、対象ECU以外のいずれのECU30にも電力を供給させないようにできる。
[Effect of the First Embodiment]
The vehicle 1 according to the first embodiment has an individual switch 27 for each ECU 30, and the power control device 20 independently switches ON / OFF of the individual switch 27 for each ECU 30. As a result, in the update process executed while the vehicle is stopped, power can be supplied only to the target ECU and power can not be supplied to any ECU 30 other than the target ECU.
 個別スイッチ27を有さない車両では、停車中に更新処理を実行する場合に、すべてのECUに電力が供給される。その結果、対象ECU以外のECUでは、不必要な電力消費となる。これに対して、第1の実施の形態にかかる車両1では、上記の不必要な電力消費が生じないため、更新処理における電力消費量を抑えることができる。 In a vehicle that does not have the individual switch 27, power is supplied to all ECUs when the update process is performed while the vehicle is stopped. As a result, unnecessary power consumption occurs in ECUs other than the target ECU. On the other hand, in the vehicle 1 according to the first embodiment, since the unnecessary power consumption does not occur, the power consumption in the updating process can be suppressed.
 また、第1の実施の形態にかかる車両1では、電源制御装置20が更新処理中の対象ECUの電力異常および/または通信異常を検知すると、対象ECUの個別スイッチ27をOFF状態とする。これにより、電力異常および/または通信異常が生じた対象ECUへの電力供給が停止される。その結果、電力異常および/または通信異常が生じた対象ECUでの更新処理が中断される。 Further, in the vehicle 1 according to the first embodiment, when the power supply control device 20 detects the power abnormality and / or the communication abnormality of the target ECU in the updating process, the individual switch 27 of the target ECU is turned off. Thereby, the power supply to the target ECU in which the power abnormality and / or the communication abnormality have occurred is stopped. As a result, the update processing in the target ECU in which the power abnormality and / or the communication abnormality have occurred is interrupted.
 <第2の実施の形態>
 第2の実施の形態では、電源制御装置20は、停車中に更新処理を実行する際に、対象ECU以外のECU30のうちの少なくとも1つのECU30の個別スイッチ27がOFF状態となるように、ON状態とする個別スイッチ27を決定してもよい。すなわち、第2の実施の形態では、個別スイッチ27をON状態とするECUは対象ECU(たとえばECU30A)のみに限定されず、すべてのECU30A~30Cよりも少ない数のECU30(たとえばECU30A,30B)の個別スイッチ(27A,27B)がON状態とされてもよい。これにより、停車中に実行される更新処理において、対象ECU以外の、少なくとも1つのECU30へは電力を供給させないようにできる。
Second Embodiment
In the second embodiment, the power supply control device 20 is turned on so that the individual switch 27 of at least one of the ECUs 30 other than the target ECU 30 is turned off when executing the update process while the vehicle is stopped. The individual switch 27 to be in the state may be determined. That is, in the second embodiment, the ECU for which the individual switch 27 is turned on is not limited to only the target ECU (for example, ECU 30A), and the number of ECUs 30 (for example, ECUs 30A and 30B) is smaller than all the ECUs 30A to 30C. The individual switches (27A, 27B) may be turned on. Thereby, in the update process executed while the vehicle is stopped, power can be prevented from being supplied to at least one ECU 30 other than the target ECU.
 その結果、対象ECU以外のいずれのECU30にも電力を供給させない第1の実施の形態よりも省電力効果は小さいものの、更新処理時にすべてのECUに電力が供給される場合よりも消費電力を抑えることができる。 As a result, although the power saving effect is smaller than that of the first embodiment in which the power is not supplied to any ECU 30 other than the target ECU, the power consumption is suppressed more than the case where the power is supplied to all the ECUs during the update process. be able to.
 <第3の実施の形態>
 個別スイッチ27の駆動は、供給する電力量の調整を含んでもよい。この場合、個別スイッチ27はECU30に供給される電力量を変化させる機能を有する。一例として、個別スイッチ27は可変抵抗を含み、第2駆動回路26は個別スイッチ27の抵抗値を変化させる。これにより、ECU30に供給される電力量が調整される。
Third Embodiment
The driving of the individual switch 27 may include adjustment of the amount of power supplied. In this case, the individual switch 27 has a function of changing the amount of power supplied to the ECU 30. As one example, the individual switch 27 includes a variable resistor, and the second drive circuit 26 changes the resistance value of the individual switch 27. Thus, the amount of power supplied to the ECU 30 is adjusted.
 第3の実施の形態では、電源制御装置20は、対象ECU以外のECU30、または、対象ECU以外のECU30のうちの少なくとも1つのECU30に供給される電力量を、通常時に供給される電力量よりも少なくする。通常時に供給される電力量とは、当該ECUにおいて更新処理が実行可能な電力量を指す。これにより、更新処理時にすべてのECUに通常時の電力が供給される場合よりも消費電力を抑えることができる。 In the third embodiment, the power supply control device 20 controls the amount of electric power supplied to the ECUs 30 other than the target ECU or at least one of the ECUs 30 other than the target ECU from the amount of electric power supplied at normal times Also less. The amount of power supplied at normal times refers to the amount of power that can be updated in the ECU. As a result, power consumption can be suppressed more than when normal power is supplied to all ECUs at the time of update processing.
 <第4の実施の形態>
 電源制御装置20は、電源制御を実行するECUであってもよい。たとえば、電源制御装置20はボディ系ECUであってもよい。または、電源制御装置20は、中継装置10に含まれていてもよい。その場合、電源制御装置20の制御部21は、更新制御部111を含んでもよい。
Fourth Embodiment
The power supply control device 20 may be an ECU that executes power supply control. For example, power supply control device 20 may be a body ECU. Alternatively, the power control device 20 may be included in the relay device 10. In that case, the control unit 21 of the power supply control device 20 may include the update control unit 111.
 開示された特徴は、1つ以上のモジュールによって実現される。たとえば、当該特徴は、回路素子その他のハードウェアモジュールによって、当該特徴を実現する処理を規定したソフトウェアモジュールによって、または、ハードウェアモジュールとソフトウェアモジュールとの組み合わせによって実現され得る。 The disclosed features are realized by one or more modules. For example, the feature can be realized by a circuit element or other hardware module, a software module that defines a process for realizing the feature, or a combination of a hardware module and a software module.
 上述の動作をコンピュータに実行させるための、1つ以上のソフトウェアモジュールの組み合わせであるプログラムとして提供することもできる。このようなプログラムは、コンピュータに付属するフレキシブルディスク、CD-ROM(Compact Disk-Read Only Memory)、ROM、RAMおよびメモリカードなどのコンピュータ読取り可能な記録媒体にて記録させて、プログラム製品として提供することもできる。あるいは、コンピュータに内蔵するハードディスクなどの記録媒体にて記録させて、プログラムを提供することもできる。また、ネットワークを介したダウンロードによって、プログラムを提供することもできる。 The program may be provided as a program that is a combination of one or more software modules for causing a computer to execute the above-described operations. Such a program is provided as a program product by recording it on a computer readable recording medium such as a flexible disk attached to a computer, a CD-ROM (Compact Disk-Read Only Memory), a ROM, a RAM and a memory card. It can also be done. Alternatively, the program can be provided by being recorded in a recording medium such as a hard disk built in the computer. Also, the program can be provided by downloading via a network.
 なお、本開示にかかるプログラムは、コンピュータのオペレーティングシステム(OS)の一部として提供されるプログラムモジュールのうち、必要なモジュールを所定の配列で所定のタイミングで呼出して処理を実行させるものであってもよい。その場合、プログラム自体には上記モジュールが含まれずOSと協働して処理が実行される。このようなモジュールを含まないプログラムも、本開示にかかるプログラムに含まれ得る。 Note that the program according to the present disclosure is to call a necessary module among program modules provided as a part of an operating system (OS) of a computer in a predetermined arrangement at a predetermined timing to execute processing. It is also good. In that case, the program itself does not include the above module, and the processing is executed in cooperation with the OS. Programs not including such modules may also be included in the programs according to the present disclosure.
 また、本開示にかかるプログラムは他のプログラムの一部に組込まれて提供されるものであってもよい。その場合にも、プログラム自体には上記他のプログラムに含まれるモジュールが含まれず、他のプログラムと協働して処理が実行される。このような他のプログラムに組込まれたプログラムも、本開示にかかるプログラムに含まれ得る。提供されるプログラム製品は、ハードディスクなどのプログラム格納部にインストールされて実行される。なお、プログラム製品は、プログラム自体と、プログラムが記録された記録媒体とを含む。 Also, the program according to the present disclosure may be provided by being incorporated into a part of another program. Also in this case, the program itself does not include a module included in the other program, and the process is executed in cooperation with the other program. Programs incorporated into such other programs may also be included in the programs according to the present disclosure. The provided program product is installed and executed in a program storage unit such as a hard disk. The program product includes the program itself and a recording medium in which the program is recorded.
 今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて請求の範囲によって示され、請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。 It should be understood that the embodiments disclosed herein are illustrative and non-restrictive in every respect. The scope of the present invention is shown not by the above description but by the scope of claims, and is intended to include all modifications within the scope and meaning equivalent to the scope of claims.
 1 車両
 2 広域通信網
 4 通信ネットワーク
 5 サーバ
 10 中継装置
 11 制御部
 12 記憶部
 13 車内通信部
 15 車載通信機
 16 車内通信線
 17,17A,17B,17C 電力線
 18 電力線
 20 電源制御装置
 21 制御部
 22 記憶部
 23 車内通信部
 24 第1駆動回路
 25 メインスイッチ
 26 第2駆動回路
 27 個別スイッチ
 27A 第1個別スイッチ
 27B 第2個別スイッチ
 27C 第3個別スイッチ
 30,30A,30B,30C ECU
 40 バッテリ
 111 更新制御部
 211 電源制御部
 212 特定部
 213 監視部
 
Reference Signs List 1 vehicle 2 wide area communication network 4 communication network 5 server 10 relay device 11 control unit 12 storage unit 13 in-vehicle communication unit 15 in-vehicle communication unit 16 in-vehicle communication line 17 in-vehicle communication line 17 17A, 17B, 17C power line 18 power line 20 power control unit 21 control unit 22 Storage unit 23 In-vehicle communication unit 24 First drive circuit 25 Main switch 26 Second drive circuit 27 Individual switch 27A First individual switch 27B Second individual switch 27C Third individual switch 30, 30A, 30B, 30C ECU
40 Battery 111 Update Control Unit 211 Power Supply Control Unit 212 Identification Unit 213 Monitoring Unit

Claims (8)

  1.  車内の通信ネットワークに属する複数の車載制御装置への電力供給を個別に制御する電源制御部と、
     前記複数の車載制御装置のうちの、自装置の制御プログラムを更新するための更新処理を実行する車載制御装置である対象装置を特定する特定部と、を備え、
     前記電源制御部は、特定された前記対象装置へ電力を供給させ、かつ、前記複数の車載制御装置のうちの、前記対象装置以外の少なくとも1台の車載制御装置へ供給される電力量を、当該車載制御装置において制御プログラムの更新処理が実行可能な電力量より少なくする、制御装置。
    A power control unit individually controlling power supply to a plurality of on-vehicle control devices belonging to a communication network in the vehicle;
    And a specification unit that specifies a target device that is an on-vehicle control device that executes an update process for updating a control program of the own device among the plurality of on-vehicle control devices,
    The power supply control unit supplies power to the specified target device, and the amount of power supplied to at least one on-vehicle control device other than the target device among the plurality of on-vehicle control devices is A control device that reduces the amount of power that can be updated in a control program in the onboard control device.
  2.  前記対象装置以外の少なくとも1台の車載制御装置へ供給される電力量を、当該車載制御装置において制御プログラムの更新処理が実行可能な電力量より少なくする期間は、前記対象装置を特定してから前記対象装置における前記更新処理が終了するまでの期間を含む、
     請求項1に記載の制御装置。
    A period after which the amount of power supplied to at least one in-vehicle control device other than the target device is smaller than the amount of power that can be updated in the control program in the in-vehicle control device Including a period until the end of the update process in the target device,
    The control device according to claim 1.
  3.  前記電源制御部は、前記対象装置以外の少なくとも1台の車載制御装置への電力供給を停止させる、請求項1または請求項2に記載の制御装置。 The control device according to claim 1, wherein the power supply control unit stops the power supply to at least one on-vehicle control device other than the target device.
  4.  前記電源制御部は、前記複数の車載制御装置のうちの、前記対象装置以外のすべての車載制御装置への電力供給を停止させる、請求項3に記載の制御装置。 The control device according to claim 3, wherein the power supply control unit stops the power supply to all the on-vehicle control devices other than the target device among the plurality of on-vehicle control devices.
  5.  更新処理中の前記対象装置の電力異常および通信異常の少なくとも一方を監視する監視部をさらに備え、
     前記電源制御部は、更新処理中に前記対象装置の電力異常または通信異常が検出されると、前記対象装置への電力供給を停止させる、請求項3または請求項4に記載の制御装置。
    The monitoring apparatus further includes a monitoring unit that monitors at least one of a power abnormality and a communication abnormality of the target device being updated.
    The control device according to claim 3 or 4, wherein the power supply control unit stops the power supply to the target device when the power abnormality or the communication abnormality of the target device is detected during the updating process.
  6.  前記対象装置に前記更新処理の実行を指示する更新制御部をさらに備える、請求項1~請求項5のいずれか1項に記載の制御装置。 The control device according to any one of claims 1 to 5, further comprising an update control unit that instructs the target device to execute the update process.
  7.  車内の通信ネットワークに属する複数の車載制御装置への電力供給を制御する方法であって、
     前記複数の車載制御装置のうちの、自装置の制御プログラムの更新処理を実行する車載制御装置である対象装置を特定するステップと、
     特定された前記対象装置に電力を供給させ、かつ、前記複数の車載制御装置のうちの、前記対象装置以外の少なくとも1台の車載制御装置へ供給される電力量を、当該車載制御装置において制御プログラムの更新処理が実行可能な電力量より少なくするステップと、を備える、制御方法。
    A method of controlling power supply to a plurality of in-vehicle control devices belonging to a communication network in a vehicle, comprising:
    Identifying a target device that is an on-vehicle control device that executes an update process of a control program of the own device among the plurality of on-vehicle control devices;
    Power is supplied to the specified target device, and the amount of power supplied to at least one on-vehicle control device other than the target device among the plurality of on-vehicle control devices is controlled by the on-vehicle control device And d) reducing the amount of power that the program update process can execute.
  8.  車内の通信ネットワークに属する複数の車載制御装置への電力供給を制御する制御装置としてコンピュータを機能させるためのコンピュータプログラムであって、
     前記コンピュータを、
     前記複数の車載制御装置への電力供給を個別に制御する電源制御部と、
     前記複数の車載制御装置のうちの、自装置の制御プログラムの更新処理を実行する車載制御装置である対象装置を特定する特定部、として機能させ、
     前記電源制御部は、特定された前記対象装置に電力を供給させ、かつ、前記複数の車載制御装置のうちの、前記対象装置以外の少なくとも1台の車載制御装置へ供給される電力量を、当該車載制御装置において制御プログラムの更新処理が実行可能な電力量より少なくする、コンピュータプログラム。
     
    A computer program for causing a computer to function as a control device that controls power supply to a plurality of in-vehicle control devices belonging to a communication network in a car,
    The computer,
    A power control unit individually controlling power supply to the plurality of in-vehicle control devices;
    Among the plurality of in-vehicle control devices, the control unit functions as an identifying unit that identifies a target device that is an in-vehicle control device that executes update processing of a control program of the own device.
    The power supply control unit supplies electric power to the specified target device, and the amount of power supplied to at least one on-vehicle control device other than the target device among the plurality of on-vehicle control devices is A computer program for reducing the amount of power that can be executed to update the control program in the onboard control device.
PCT/JP2018/037567 2018-01-26 2018-10-09 Control device, control method, and computer program WO2019146169A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2018011755 2018-01-26
JP2018-011755 2018-01-26

Publications (1)

Publication Number Publication Date
WO2019146169A1 true WO2019146169A1 (en) 2019-08-01

Family

ID=67395855

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2018/037567 WO2019146169A1 (en) 2018-01-26 2018-10-09 Control device, control method, and computer program

Country Status (1)

Country Link
WO (1) WO2019146169A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113799763A (en) * 2020-06-16 2021-12-17 丰田自动车株式会社 Control system and control method for hybrid vehicle

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010167997A (en) * 2009-01-26 2010-08-05 Honda Motor Co Ltd Rewriting system for vehicle
JP2016060388A (en) * 2014-09-18 2016-04-25 株式会社オートネットワーク技術研究所 Program transmission system and program transmitter

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010167997A (en) * 2009-01-26 2010-08-05 Honda Motor Co Ltd Rewriting system for vehicle
JP2016060388A (en) * 2014-09-18 2016-04-25 株式会社オートネットワーク技術研究所 Program transmission system and program transmitter

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113799763A (en) * 2020-06-16 2021-12-17 丰田自动车株式会社 Control system and control method for hybrid vehicle

Similar Documents

Publication Publication Date Title
JP6376312B1 (en) Control device, program update method, and computer program
JP5958445B2 (en) In-vehicle network system, management device
US10850685B2 (en) Onboard relay device, information processing method, storage medium storing program, relay device, and information processing system
WO2018185994A1 (en) Control device, transfer method, and computer program
US9632970B2 (en) Device, method and computer program for operating a data bus system of a motor vehicle
US20190146779A1 (en) Vehicle-mounted power supply system, relay box, and relay control apparatus
JP6394678B2 (en) Control device, control program update determination method, and computer program
US20200215930A1 (en) Control apparatus, control method, and computer program
CN111034132B (en) Control apparatus, control method, and computer program
JP2017157007A (en) System, method, and computer program for updating programs
CN111032439B (en) Control apparatus, control method, and non-transitory computer-readable storage medium
JP7207301B2 (en) Update controller, control method and computer program
JP6620891B2 (en) Relay device, relay method, and computer program
JP2005132131A (en) Software updating device, and software updating method
CN111051139B (en) Control apparatus, control method, and computer program
US11249543B2 (en) In-vehicle control device
WO2019146169A1 (en) Control device, control method, and computer program
JP2019129500A (en) Spoofing detection device, spoofing detection method and computer program
WO2019188073A1 (en) Control device, control method, and computer program
JP2018074306A (en) In-vehicle communication system, in-vehicle communication method, manager device, and on-vehicle control device
JP2021020606A (en) On-vehicle power supply system
US20210191713A1 (en) Center device, reprogramming data distribution system, and reprogramming data distribution plan creation program product
WO2024070572A1 (en) On-vehicle device, information processing method, and on-vehicle system
US20240086174A1 (en) Vehicular electronic control device and update program
WO2019146170A1 (en) Relay device, control method, and computer program

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18901894

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP