WO2019155684A1 - 起動制御装置、起動指示装置、起動制御システム、起動方法、およびコンピュータプログラム - Google Patents

起動制御装置、起動指示装置、起動制御システム、起動方法、およびコンピュータプログラム Download PDF

Info

Publication number
WO2019155684A1
WO2019155684A1 PCT/JP2018/038046 JP2018038046W WO2019155684A1 WO 2019155684 A1 WO2019155684 A1 WO 2019155684A1 JP 2018038046 W JP2018038046 W JP 2018038046W WO 2019155684 A1 WO2019155684 A1 WO 2019155684A1
Authority
WO
WIPO (PCT)
Prior art keywords
control device
vehicle
control
ecu
activation
Prior art date
Application number
PCT/JP2018/038046
Other languages
English (en)
French (fr)
Inventor
山下 哲生
Original Assignee
住友電気工業株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 住友電気工業株式会社 filed Critical 住友電気工業株式会社
Publication of WO2019155684A1 publication Critical patent/WO2019155684A1/ja

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • B60R16/023Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems
    • 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
    • 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 start control device, a start instruction device, a start control system, a start method, and a computer program, and particularly to a start control device, a start instruction device, a start control system, a start method, and a computer program for starting an in-vehicle device.
  • ECUs Electronic Control Units
  • the types of ECUs include, for example, those related to the traveling system that controls the engine, brakes, EPS (Electric Power Steering), etc. for the operation of the accelerator, brake, and steering wheel, the interior lighting and the head according to the switch operation by the passenger
  • body-type ECUs that control the turning on / off of lights and the sounding of alarm devices
  • meter-type ECUs that control the operation of meters arranged near the driver's seat.
  • the ECU is configured by an arithmetic processing device such as a microcomputer, and the control of the in-vehicle device is realized by reading and executing a control program stored in a ROM (Read Only Memory).
  • the ECU control program needs to be rewritten from the old version of the control program to the new version of the control program in accordance with the version upgrade. Further, it is necessary to rewrite data necessary for execution of the control program such as map information and control parameters.
  • Patent Document 1 discloses a technique (online update function) for downloading an update program via a network and updating an ECU control program.
  • the technique of Patent Literature 1 in order to prevent the operation of the vehicle device during the update of the control program in the ECU, the vehicle is stopped and the update is executed in a state where the user gets off the vehicle.
  • the trajectory control device is an activation control device that activates an in-vehicle control device belonging to a communication system in a vehicle, and a bit value of a predetermined voltage level is selected from data transferred by the communication system.
  • a detection unit that detects a control signal that continues for a predetermined time or more, and the vehicle-mounted control device, and when the detection unit detects the control signal, the vehicle-mounted control device in sleep mode is updated with its own control program. And a control unit that is activated into a normal mode in which the update process can be executed.
  • the activation instruction device is an activation instruction device for instructing activation of an in-vehicle control device belonging to a communication system in a vehicle, and a bit value of a predetermined voltage level for activating the in-vehicle control device includes a control unit that generates a control signal that continues for a predetermined time or more, and an output unit that outputs the control signal to the communication system.
  • the activation control system is an activation control system for activating an in-vehicle control device belonging to an in-vehicle communication system, and a bit value of a predetermined voltage level for activating the in-vehicle control device is predetermined.
  • An output unit that outputs a control signal that continues for a time or more to the communication system; a detection unit that detects the control signal from data transferred in the communication system; and the detection unit When the control signal is detected, the control unit activates the in-vehicle control device in the sleep mode to a normal mode in which an update process for updating the control program of the own device can be executed.
  • the activation method is a method of activating an in-vehicle control device car belonging to a communication system in a vehicle, and a bit value of a predetermined voltage level is predetermined from data transferred by the communication system. Detecting a control signal that continues for more than a time; and, upon detecting the control signal, starting the in-vehicle control device from a sleep mode to a normal mode in which an update process for updating the control program of the device itself can be executed. , including.
  • the computer program is a computer program for causing a computer to function as an activation control device for activating an in-vehicle control device belonging to a communication system in a vehicle, and the computer is transferred by the communication system.
  • a detection unit that detects a control signal in which a bit value of a predetermined voltage level continues for a predetermined time or more from data is provided in the in-vehicle control device, and when the detection unit detects the control signal, the in-vehicle in sleep mode
  • the control device is caused to function as a control unit that is activated into a normal mode in which update processing for updating the control program of the own device can be executed.
  • An object of an aspect of the present disclosure is to provide a start control device, a start instruction device, a start control system, a start method, and a computer program that can suppress power consumption during the update process of the in-vehicle control device.
  • An activation control device included in the present embodiment is an activation control device that activates an in-vehicle control device belonging to an in-vehicle communication system, and has a predetermined voltage level from data transferred by the communication system.
  • a detection unit that detects a control signal having a bit value that continues for a predetermined time or more, and the vehicle-mounted control device, and when the detection unit detects the control signal, the vehicle-mounted control device in the sleep mode is And a control unit that is activated into a normal mode in which an update process for updating can be executed.
  • the control signal By controlling the activation of the in-vehicle control device by the control signal, it is possible to activate only the target in-vehicle control device among the plurality of in-vehicle control devices in the sleep mode. Therefore, the power consumption during the update process of the in-vehicle control device is reduced compared to the case where the power supply to all the in-vehicle control devices in the sleep mode is permitted for the update process and all these in-vehicle control devices are activated. Can be suppressed.
  • the control signal is transferred by a control frame which is a communication frame in which the data and destination identification information are stored and includes the control signal as the data.
  • the control frame includes identification information of an in-vehicle control device other than the in-vehicle control device
  • the in-vehicle control is performed without maintaining the normal mode after starting the in-vehicle control device in the sleep mode in the normal mode. Transition the device to sleep mode.
  • the in-vehicle control device that is not instructed to start is maintained in the sleep mode. Therefore, it is possible to suppress the power consumption at the time of starting the target in-vehicle control device.
  • on-vehicle control devices other than the on-vehicle control device to be activated transition to the sleep mode without maintaining the normal mode even when activated by the control signal. Therefore, it is possible to suppress the normal mode in the in-vehicle control device other than the in-vehicle control device to be activated from being wasted, and the power consumption can be suppressed.
  • the control unit activates the in-vehicle control device in a sleep mode to a normal mode, and then The normal mode is maintained until the control device completes the update process.
  • the control unit activates the in-vehicle control device in a sleep mode to a normal mode, and then The normal mode is maintained until the control device completes the update process.
  • only the in-vehicle control device as a target among the plurality of in-vehicle control devices in the sleep mode can maintain the normal mode and execute the update process.
  • the control unit causes the in-vehicle control device to transition to a sleep mode.
  • the target in-vehicle control device transitions to the sleep mode after the completion of the update process, so that the power consumption can be further suppressed.
  • the activation instruction device included in the present embodiment is an activation instruction device that instructs activation of the in-vehicle control device belonging to the in-vehicle communication system, and has a predetermined voltage level for activating the in-vehicle control device.
  • the activation of the in-vehicle control device is controlled by the control signal. For this reason, it is possible to start only the target vehicle-mounted control device among the plurality of vehicle-mounted control devices in the sleep mode.
  • the activation control system included in the present embodiment is an activation control system for activating an in-vehicle control device belonging to an in-vehicle communication system, and a bit value of a predetermined voltage level for activating the in-vehicle control device.
  • Is provided in the in-vehicle control device an output unit that outputs a control signal that continues for a predetermined time or more to the communication system, a detection unit that detects the control signal from data transferred in the communication system, When the detection unit detects the control signal, the control unit activates the in-vehicle control device in the sleep mode to a normal mode in which an update process for updating the control program of the own device can be executed.
  • the activation of the in-vehicle control device is controlled by the control signal. For this reason, it is possible to start only the target vehicle-mounted control device among the plurality of vehicle-mounted control devices in the sleep mode. Therefore, compared with the case where power supply to all of the plurality of vehicle-mounted control devices in the sleep mode is permitted and all these vehicle-mounted control devices are activated, the power consumption during the update process of the vehicle-mounted control device can be suppressed.
  • the activation method included in the present embodiment is a method for activating an in-vehicle control device vehicle belonging to the in-vehicle communication system in the activation control device according to any one of (1) to (4).
  • This activation method has the same effects as the movement control devices (1) to (4) described above.
  • a computer program included in the present embodiment causes a computer to function as the activation control device described in any one of (1) to (4).
  • Such a computer program has the same effects as the above-described activation control devices (1) to (4).
  • FIG. 1 is a schematic diagram showing the configuration of a vehicle according to the first embodiment.
  • vehicle 1 includes an in-vehicle communication device 15 for communicating with an out-of-vehicle 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, ..., and the power supply 18 which supplies electric power to these are included.
  • the plurality of ECUs 30A, 30B, 30C,... When distinguishing each of the plurality of ECUs 30, they are also expressed as ECU-1, ECU-2, ECU-3,.
  • Each ECU 30 is connected to the relay device 10 by the in-vehicle communication line 16 and constitutes the in-vehicle communication system 4 together with the relay device 10.
  • the communication system 4 is composed of a bus type communication system (for example, CAN (Controller Area Network)) capable of communication between the ECUs 30.
  • CAN Controller Area Network
  • information is stored and transmitted in a format called a communication frame.
  • the communication frame is composed of a digital signal in which bit values of two kinds of voltage levels of high level and low level are continuous.
  • the communication system 4 has not only CAN but also 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. It may be a network to be adopted.
  • the ECU 30 is, for example, a power train ECU that controls the engine, brakes, EPS (Electric Power Steering), etc. in response to accelerator, brake, and steering wheel operations, and lighting / extinguishing of interior lighting and headlights according to switch operations. And a body system ECU that controls the alarm and the like, and a meter system ECU that controls the operation of meters provided near the driver's seat.
  • EPS Electrical Power Steering
  • the relay device 10 is further connected to the vehicle communication device 15 via a communication line of a predetermined standard.
  • the relay device 10 may be equipped with the external communication device 15.
  • the vehicle exterior communication device 15 communicates wirelessly with the vehicle exterior device via the wide area communication network 2 such as the Internet.
  • the vehicle exterior device is, for example, the server 5 that stores an update program for the ECU 30.
  • the vehicle exterior communication device 15 may have a plug (not shown) and communicate with a vehicle exterior device connected to the plug by wire.
  • the out-of-vehicle communication device 15 may be a device owned by the user, such as a mobile phone, a smartphone, a tablet terminal, or a notebook computer (Personal Computer).
  • the relay device 10 relays information from the external device received by the external communication device 15 and gives it to the ECU 30. Further, the relay device 10 relays information from the ECU 30 and gives it to the vehicle communication device 15. The vehicle exterior communication device 15 wirelessly transmits information from the ECU 30 to the vehicle exterior device.
  • the power source 18 includes an ignition power source (hereinafter referred to as IG power source) 18A and a battery power source (constant power source) (hereinafter referred to as + B power source) 18B.
  • IG power source ignition power source
  • + B power source constant power source
  • the IG power supply 18 ⁇ / b> A is switched between a power supply state (ON state) and a non-power supply state (OFF state) by a user operation.
  • the + B power source 18B is always in a power supply state (ON state).
  • ECU30A to ECU30D among the plurality of ECUs 30 are connected to the IG power supply 18A via the power lines 19A, 19B, 19C, and 19D, respectively, and receive power supply from the IG power supply 18A.
  • the ECUs 30B to 30D are connected to the + B power source 18B via the power lines 17B, 17C, and 17D, respectively, and are also supplied with power from the + B power source 18B. That is, among the ECUs 30A to 30D, the ECU 30A is connected only to the IG power source 18A, and the other ECUs 30B to 30D are connected to both the IG power source 18A and the + B power source 18B.
  • the power lines 19A, 19B, 19C, and 19D are represented as power lines 19 and the power lines 17B, 17C, and 17D are also referred to as power lines 17.
  • the ECU 30A connected to only the IG power supply 18A is not supplied with electric power when the IG power supply 18A is switched to the non-power supply state (OFF state).
  • a state in which the power supply from the IG power supply 18A to the ECU 30A is interrupted is defined as a shutdown state.
  • the ECUs 30B to 30D connected to the + B power source 18B can cut off the power supply from the IG power source 18A (self-shut) using the power supplied from the + B power source 18B.
  • Each of the ECUs 30A to 30D has a plurality of power supply states (also referred to as start-up states).
  • a plurality of activation states include a state where at least sufficient power is supplied to perform update processing (referred to as a normal mode), and a low power consumption state where all peripheral functions including communication functions are stopped (sleep mode) And).
  • the ECU 30A is not the object of online update
  • the ECU 30B to ECU 30D is the object of online update
  • FIG. 2 is a block diagram illustrating an internal configuration of the relay apparatus 10. 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 for reading 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 a time division manner, for example.
  • the CPU of the control unit 11 includes one or a plurality of large scale integrated circuits (LSIs).
  • LSIs large scale integrated circuits
  • the plurality of LSIs cooperate to realize the function of the CPU.
  • the computer program executed by the CPU of the control unit 11 can be transferred while being recorded on a recording medium such as a CD-ROM or DVD-ROM, or can be transferred by downloading from a computer device such as a server computer. .
  • the storage unit 12 includes a nonvolatile 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 necessary for execution.
  • the control unit 11 includes an update control unit 111 that is realized by the CPU executing one or more programs stored in the storage unit 12.
  • the update control unit 111 has a function of causing the corresponding ECU 30 (hereinafter referred to as a target ECU) to execute an update process for updating the control program of the ECU 30.
  • An in-vehicle communication line 16 is connected to the in-vehicle communication unit 13.
  • the in-vehicle communication unit 13 includes a communication device that communicates with the ECU 30 in accordance with a predetermined communication standard such as CAN.
  • the in-vehicle communication unit 13 transmits information given from the CPU of the control unit 11 to a predetermined ECU 30, receives information from the ECU 30, and gives it to the CPU of the control unit 11.
  • the vehicle exterior communication device 15 includes a wireless communication device including an antenna and a communication circuit that performs transmission and reception of a wireless signal from the antenna.
  • the external communication device 15 can communicate with an external device by being connected to a wide area communication network 2 such as a mobile phone network.
  • the outside communication device 15 transmits information given from the CPU of the control unit 11 to the outside device such as the server 5 via the wide area communication network 2 formed by a base station (not shown), and information received from the outside device. To the CPU of the control unit 11.
  • FIG. 3 is a block diagram showing an internal configuration of the ECU 30.
  • the ECU 30 includes a control unit 31, a storage unit 32, an in-vehicle communication unit 33, a detection unit 34, and the like.
  • the control unit 31 of the ECU 30 includes an MCU (Micro Controller Unit) equipped with a CPU.
  • the MCU of the control unit 31 has a function for reading one or more programs stored in the storage unit 32 and executing various processes.
  • the MCU of the control unit 31 can execute a plurality of programs in parallel by switching and executing a plurality of programs in a time division manner, for example.
  • the MCU of the control unit 31 includes one or a plurality of large scale integrated circuits (LSIs).
  • LSIs large scale integrated circuits
  • the plurality of LSIs cooperate to realize the function of the MCU.
  • the computer program executed by the MCU of the control unit 31 can be transferred while being recorded on a recording medium such as a CD-ROM or DVD-ROM, or can be transferred by downloading from a computer device such as a server computer. .
  • the storage unit 32 includes a nonvolatile memory element such as a flash memory or an EEPROM.
  • the storage unit 32 has a storage area for storing a program executed by the MCU of the control unit 31 and data necessary for the execution.
  • An in-vehicle communication line 16 is connected to the in-vehicle communication unit 33.
  • the in-vehicle communication unit 33 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 line 16 in the CAN is composed of two signal lines, a CANNhigh line (CAN-H) and a CANLow line (CAN-L).
  • the in-vehicle communication unit 33 includes a transceiver for each communication line.
  • the in-vehicle communication unit 33 receives digital signals represented by a state in which there is a potential difference between the signals of the two signal lines (dominant) and a state in which there is no potential difference (recessive).
  • the in-vehicle communication unit 33 transmits information given from the MCU of the control unit 31 to a predetermined ECU or relay device 10, receives information from the predetermined ECU or relay device 10, and gives the information to the MCU of the control
  • the detecting unit 34 detects an activation instruction (described later) from the relay device 10 from a communication frame transferred by CAN.
  • FIG. 4 is a schematic circuit diagram illustrating an example of the circuit configuration of the detection unit 34. Referring to FIGS. 3 and 4, detection unit 34 is connected to one signal line of in-vehicle communication line 16. In this example, it is assumed that it is connected to the CANNigh line (CAN-H).
  • CAN-H CANNigh line
  • a digital signal including a bit value of a high level voltage and a bit value of a low level voltage is transferred to each signal line.
  • the detection unit 34 offsets the voltage of the signal input from the CANNhigh line (CAN-H) from 0 [V] to 2.5 [V], and the voltage division for dividing the voltage after the offset adjustment.
  • the circuit 42 includes an integration circuit 43 that outputs a voltage from 0 [V] to 5 [V] having a waveform equal to the time integration of the waveform of the divided input voltage, and a comparator 44. When a bit value of a high level voltage is continuously input from the CANNight line (CAN-H), the voltage output from the integration circuit 43 increases.
  • the comparator 44 outputs a predetermined signal when the voltage input from the integration circuit 43 exceeds the voltage threshold (Th1). That is, when the bit value of the high-level voltage input from the CANNight line (CAN-H) continues for a predetermined length (predetermined time) or more, the comparator 44 outputs a signal that is defined in advance. As a result, the detection unit 34 detects a bit value of a high-level voltage that continues for a predetermined length or more from a signal input from the CANNight line (CAN-H).
  • the signal output from the comparator 44 is input to the control unit 31 as a hardware interrupt signal.
  • the signal output from the comparator 44 is also referred to as an interrupt signal.
  • the interrupt signal output from the comparator 44 can be said to be a detection result of a high level signal that is continuous for a predetermined length or longer in the detection unit 34.
  • the control unit 31 has a terminal 312 to which an interrupt signal from the comparator 44 is input.
  • the control unit 31 includes an activation control unit 311 for executing the activation control process as an interruption process according to the interruption signal from the comparator 44 by causing the MCU to execute one or a plurality of programs stored in the storage unit 32. Have.
  • the control unit 11 of the relay device 10 generates a communication frame (control frame) that is a control signal instructing activation of the target ECU when the CPU executes one or more programs stored in the storage unit 12. It further includes an instruction unit 112 and an output unit 113 that passes the communication frame to the in-vehicle communication unit 13 to instruct output to the communication system 4.
  • the control frame includes data representing an activation instruction.
  • FIGS. 5 and 6 are flowcharts showing the flow of the start control process in the communication system 4, wherein FIG. 5 is a process in the relay device 10, and FIG. 6 is an ECU (hereinafter referred to as a target ECU) that executes an update process. ).
  • control unit 11 of relay device 10 obtains an update program for the target ECU among ECUs 30B to 30D from server 5 (YES in step S101), is IG power supply 18A off? It is confirmed whether or not (step S103). If the IG power supply 18A is not in the OFF state (NO in step S103), the process waits until the IG power supply 18A is turned off.
  • control unit 11 When the IG power supply 18A is in the OFF state (YES in step S103), the control unit 11 performs the subsequent processing in order to execute the update processing in the target ECU. That is, the control part 11 produces
  • the data indicating the start instruction is data that is longer than data included in a communication frame (normal communication frame) exchanged during normal driving of the vehicle 1 and has a continuous high-level voltage bit value.
  • the data is not used in the normal communication frame.
  • the data representing the activation instruction is, for example, data in which all data is 0xFF (data in which all data in the data frame is converted to FF (hexadecimal number)).
  • the control unit 11 generates a communication frame (control frame) including the data at a predetermined position.
  • control unit 11 transfers the update program to the target ECU, generates a communication frame including an instruction to execute the update process, and outputs the communication frame to the target ECU (step S109).
  • the control unit 11 ends the series of processes and returns the process to the beginning.
  • control unit 31 of the target ECU in the sleep mode can receive a communication frame transferred by CAN using the power supplied from + B power supply 18B.
  • the control unit 31 determines whether or not it includes an activation instruction to the own device.
  • the control unit 31 detects data representing a start instruction defined in advance from a predetermined position of the communication frame addressed to the own apparatus, the control unit 31 determines that the communication frame is a control frame including the start instruction to the own apparatus.
  • the control unit 31 is activated and shifts from the sleep mode to the normal mode (step S203).
  • control unit 31 of the target ECU that has entered the normal mode receives a communication frame including an instruction to execute update processing from the relay device 10 (YES in step S205), the control unit 31 executes update processing according to the instruction (step S207).
  • the control unit 31 notifies the relay apparatus 10 of the end of the update process (step S211), and transitions to the sleep mode (step S213).
  • FIG. 7 is a diagram for explaining the activation control process in the target ECU.
  • FIG. 7 shows, in order from the top, the CAN communication frame (the voltage level of the CANNhigh line), the output voltage of the integration circuit 43 of the target ECU, the output signal of the comparator 44 of the target ECU, the ON / OFF state of the IG power supply 18A, The activation state of the target ECU is shown along with the passage of time.
  • the threshold value Th1 of the comparator 44 is set to a voltage higher than the voltage output from the integrating circuit 43 during the normal communication frame D1. Therefore, at the time t0 when the normal communication frame D1 is transferred by CAN, the output voltage from the integration circuit 43 is equal to or lower than the threshold Th1, and the output of the interrupt signal from the comparator 44 is stopped (L state). ).
  • the target ECU When the IG power supply 18A is switched to the OFF state at time t1, the target ECU also shifts to the sleep mode immediately after that. In this state, the control unit 31 of the target ECU receives the CAN communication frame using the power supplied from the + B power source 18B.
  • the communication frame D2 includes the ID of the target ECU that is the destination of the communication frame D2.
  • the communication frame D2 has a bit value of a high level voltage that is longer than the data included in the normal communication frame, such as “ALL $ FF” (data in which all the data in the data frame is FF (hexadecimal)).
  • a control frame including continuous data.
  • the target ECU receives the control frame D2
  • the output of the integrating circuit 43 increases from the time t2 when the data is received and becomes equal to or greater than the threshold Th1.
  • Th1 time t3
  • an interrupt signal is output from the comparator 44 (H state).
  • the control unit 31 of the target ECU detects an activation instruction.
  • an interrupt signal is input (time t3), the control unit 31 of the target ECU starts from the sleep mode and enters the normal mode.
  • the target ECU executes an update process.
  • the update process ends, the target EUC transitions from the normal mode to the sleep mode.
  • the transition to the sleep mode may be performed immediately after time t4 when the received communication frame D4 includes predetermined data that is an instruction to end the update process from the relay device 10.
  • FIG. 8 and FIG. 9 are diagrams showing the activation states of the devices included in the communication system 4 when the control program is updated.
  • 8 and FIG. 9 show, in order from the top, the ON / OFF state of the + B power supply 18B, the ON / OFF state of the IG power supply 18A, the activation states of the ECU1 (30A) to ECU4 (30D), and the activation from the relay device 10 Instructions (interrupt instructions) are shown over time.
  • 8 shows an example in the case where the update program is downloaded from the server 5 when the vehicle 1 is running and the update process is executed at the timing when the IG power supply 18A shifts to the OFF state.
  • FIG. 9 shows the IG power supply 18A. Shows an example in which the update program is downloaded from the server 5 and the update process is executed in the OFF state.
  • each ECU other than ECU 2 (30 ⁇ / b> B) that is downloading the update program transitions from the normal mode to the sleep mode.
  • the ECU 2 (30B) maintains the normal mode for a period P11 from the timing when another ECU transitions to the sleep mode.
  • the ECU 2 (30B) executes downloading of the update program and update processing (writing) during that period.
  • the ECU 2 (30B) transitions to the sleep mode after the update process is completed.
  • ECU2 (30B) may perform reset (restart) according to the reset instruction
  • the ECU 3 (30C) When the ECU 3 (30C) detects the command I11 from the control frame received by the own device, the ECU 3 (30C) maintains the normal mode for the period P12 from the timing when the mode is shifted to the normal mode, and downloads and updates the update program (P Write). The ECU 3 (30C) transitions to the sleep mode after the update process is completed.
  • the ECU 4 (30D) that has not performed the update process temporarily shifts to the normal mode, It is determined whether or not an ID indicating that the communication frame is a control frame received by the own apparatus is included.
  • the ECU 4 (30D) When the ECU 4 (30D) detects the command I12 from the control frame received by its own device, the ECU 4 (30D) maintains the normal mode during the period P13 from the timing when the normal mode is entered, and downloads and updates (writes) the update program during that period. And execute. The ECU 4 (30D) transitions to the sleep mode after the update process is completed.
  • each ECU When downloading the update program from the server 5 and executing the update process when the IG power supply 18A is in the OFF state, referring to FIG. 9, each ECU is changed by switching the IG power supply 18A from the ON state to the OFF state at time T0.
  • a start instruction (interrupt command) I21 is output from the relay device 10 to the ECU 2 (30B) at time T21.
  • Each ECU that has received the control frame temporarily shifts to the normal mode and determines whether or not the ID of the own device is included in the control frame. Since ECU3 (30C) and ECU4 (30D) are not control frames received by their own devices, they immediately transition to the sleep mode.
  • ECU2 (30B) maintains the normal mode for the period P21 from the timing when the mode is changed to the normal mode, and executes the downloading of the update program and the update process (writing) during the period.
  • the ECU 2 (30B) transitions to the sleep mode after the update process is completed.
  • the ECU 3 (30C) maintains the normal mode during the period P22 from the timing when the mode is shifted to the normal mode, and executes the downloading of the update program and the update process (writing) during the period.
  • the ECU 3 (30C) transitions to the sleep mode after the update process is completed.
  • the ECU 4 (30D) that has not executed the update process temporarily shifts to the normal mode, It is determined whether or not the own frame ID is included in the control frame.
  • the ECU 4 (30D) maintains the normal mode for the period P23 from the timing when the mode is changed to the normal mode, and executes update program downloading and update processing (writing) during the period.
  • the ECU 4 (30D) transitions to the sleep mode after the update process is completed.
  • FIG. 10 is a diagram illustrating the activation state of each device when the control program is updated in the communication system according to the first comparative example.
  • FIG. 10 shows an example of the case where the update process is executed at the timing when the download of the update program from the server 5 is completed when the vehicle 1 travels and the IG power supply 18A shifts to the OFF state, as in FIG. From the top, the + B power supply 18B is turned on / off, the IG power supply 18A is turned on / off, the activation states of the ECU1 (30A) to ECU4 (30D), and the activation instruction (interrupt command) from the relay device 10 Is shown over time.
  • the activation control process executed in the communication system 4 is not performed.
  • ECU 2 (30B) when the activation control process is not performed, even when IG power supply 18A switches from the ON state to the OFF state at time T0, ECU 2 (30B) is downloading the update program.
  • the ECUs 2 (30B) to 4 (30D) that perform online updating do not transition to the sleep mode and maintain the normal mode.
  • the ECU 3 (30C) maintains the normal mode during the period P32 until the timing (time T11) when the start instruction (interrupt command) I11 is received, and performs the update process in the ECU 2 (30B). Wait for termination. After that, in a period P12, the update program is downloaded and updated (written). The ECU 3 (30C) transitions to the sleep mode after the update process is completed.
  • the ECU 4 (30D) maintains the normal mode during the period P33 until the timing (time T12) when the start instruction (interrupt command) I12 is received, and the ECU 2 (30B) and the ECU 3 (30C). Wait for the end of the update process. After that, in a period P13, download of the update program and update processing (writing) are executed. The ECU 3 (30C) transitions to the sleep mode after the update process is completed.
  • the control device including the ID of the target ECU and the activation instruction is output from the relay device 10 to individually control the transition of each ECU to the normal mode. Is done. Therefore, the timing at which each ECU shifts to the normal mode can be set to a timing according to the start of the update process in the ECU (immediately before the start of the update process). Accordingly, in the communication system 4 shown in FIG. 8, the ECU 3 (30C) and the ECU 4 in the period P32 and the ECU 3 (30C) in the period P33 are compared with the communication system according to the first comparative example in FIG. (30D) can be set to the sleep mode. As a result, the power consumption during the update process is suppressed in the communication system 4 compared to the communication system according to the first comparative example.
  • FIG. 11 is a diagram illustrating an activation state of a certain ECU (ECU 4 (30D in the illustrated example)) in the communication system according to the second comparative example.
  • ECU 4 (30D in the illustrated example)
  • FIG. 11 when the IG power supply 18A switches from the ON state to the OFF state at time T0, each ECU shifts to the sleep mode.
  • each ECU needs to periodically shift to the normal mode (intermittent wakeup) and analyze the communication frame in order to detect an execution instruction from the relay device 10.
  • the target ECU shifts to the normal mode when the activation instruction included in the communication frame received by the target ECU from the relay device 10 is detected.
  • the ECU 30 shifts to the sleep mode, it does not shift to the normal mode until the activation instruction from the relay device 10 is detected.
  • the power consumption of the communication system 4 during the update process can be reduced compared to the communication system according to the second modification.
  • the circuit configuration of the detection unit 34 included in each ECU is not limited to the configuration illustrated in FIGS. 3 and 4. That is, it is not essential that the detection unit 34 includes all of the offset circuit 41, the voltage dividing circuit 42, the integrating circuit 43, and the comparator 44, and these are connected in this order.
  • the detection unit 34 may have the configuration shown in FIG. That is, referring to the drawing, the detection unit 34 includes an offset circuit 41, a voltage dividing circuit 42, and an integration circuit 43, and may not include the comparator 44.
  • the voltage input from the CANNigh line (CAN-H) is divided by the voltage dividing circuit 42 and input to the integrating circuit 43, and the divided input from the integrating circuit 43 is input.
  • a voltage having a waveform equal to the time integration of the voltage waveform is input to the terminal 312 of the control unit 31 via the protective diode 45.
  • the protective diode 45 defines a maximum value Vmax (for example, 5 [V]) that can be input to the terminal 312 of the control unit 31, and inputs a voltage exceeding the maximum value Vmax from the integration circuit 43 to the terminal 312. do not do.
  • control unit 31 executes one or more programs stored in the storage unit 32 by the MCU, so that the control unit 31 replaces the comparator 44 with the voltage input from the integration circuit 43. It has the determination part 313 which determines the presence or absence of the starting instruction
  • FIG. 13 is a diagram for explaining the activation control process in the target ECU according to the second embodiment, and shows the output voltage of the integration circuit 43 of the target ECU and the activation state of the target ECU over time. It shows.
  • the received control frame D2 includes an ID to be received by the target ECU, such as data in which all data is 0xFF at a predetermined position.
  • the voltage input from the integration circuit 43 to the control unit 31 is the data It increases from the timing of receiving. At this time, since the voltage output from the integration circuit 43 is input to the control unit 31 via the diode 45, the maximum value Vmax is not exceeded.
  • the control unit 31 stores in advance a threshold value Th2 that is smaller than the maximum value Vmax and that corresponds to a voltage higher than the voltage output from the integration circuit 43 when a normal communication frame is received.
  • Th2 the control unit 31 determines that the communication frame has a start instruction from the relay device 10, starts from the sleep mode, and enters the normal mode.
  • the circuit configuration of the detection unit 34 included in each ECU is not limited to the circuit configuration illustrated in FIGS. 3 and 4, and may be another configuration such as a function realized by the software illustrated in FIG. 13. May be.
  • each ECU has the detection unit 34 and the activation control unit 311 and functions as an activation control device.
  • the activation control system including the activation instruction device and the activation control device may be realized by any device included in the communication system 4.
  • the detection part 34 it replaces with each ECU and one apparatus may have at least one part of a detection part intensively.
  • the one device is, for example, the relay device 10.
  • the detection unit of the relay apparatus 10 receives a communication frame transferred by CAN.
  • the received communication frame is a control frame including an activation instruction for the target ECU
  • the relay device 10 The detection unit inputs an interrupt signal to the target ECU.
  • the target ECU executes the activation control process as an interrupt process.
  • the target ECU shifts from the sleep mode to the normal mode in response to the detection of the activation instruction in the relay device 10.
  • the detection unit 34 is connected to the CANNhigh line (CAN-H) of the in-vehicle communication line 16, and the bit value of the high level voltage continuously exceeds the predetermined length from the CANNhigh line (CAN-H).
  • the detection unit 34 may be connected to a CANLow line (CAN-L).
  • the activation instructing unit 112 of the relay device 10 has a low-level signal of a predetermined length, such as data in which all data is 0x0 (data in which all data in the data frame is 00 (hexadecimal)), for example.
  • Data representing an activation instruction that is continuous is generated and stored in a predetermined position of the communication frame as a control frame.
  • the detection unit 34 of the target ECU includes a mechanism for inverting the high / low of the signal transmitted through the CANLow line (CAN-L), and the signal transmitted through the CANLow line (CAN-L) is This is input to the offset circuit 41 via the mechanism.
  • the integrating circuit 43 may include the mechanism, and output a voltage having a waveform equal to time integration to the comparator 44 after inverting the high and low of the input voltage.
  • the disclosed features are realized by one or more modules.
  • the feature can be realized by a circuit element or other hardware module, by a software module that defines processing for realizing the feature, or by a combination of a hardware module and a software module.
  • a program that is a combination of one or more software modules for causing a computer to execute the above-described operation.
  • a program is recorded on a computer-readable recording medium such as a flexible disk attached to the computer, a CD-ROM (Compact Disk-Read Only Memory), a ROM, a RAM, and a memory card, and provided as a program product. You can also.
  • the program can be provided by being recorded on a recording medium such as a hard disk built in the computer.
  • a program can also be provided by downloading via a network.
  • the program according to the present disclosure is a program module that is provided as a part of a computer operating system (OS) and calls necessary modules in a predetermined arrangement at a predetermined timing to execute processing. Also good. In that case, the program itself does not include the module, and the process is executed in cooperation with the OS. Such a program that does not include a module may also be included in the program according to the present disclosure.
  • OS computer operating system
  • the program according to the present disclosure may be provided by being incorporated in a part of another program. Even in this case, the program itself does not include the module included in the other program, and the process is executed in cooperation with the other program.
  • a program incorporated in such another program may also be included in the program according to the present disclosure.
  • the provided program product is installed in a program storage unit such as a hard disk and executed.
  • the program product includes the program itself and a recording medium on which the program is recorded.

Landscapes

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

Abstract

車内の通信システムに属する車載制御装置を起動させる起動制御装置であって、前記通信システムで転送されるデータの中から、所定電圧レベルのビット値が所定時間以上連続する制御信号を検出する検出部と、前記車載制御装置に設けられ、前記検出部が前記制御信号を検出すると、スリープモードの前記車載制御装置を、自装置の制御プログラムを更新する更新処理が実行可能な通常モードへ起動させる制御部と、を備える。

Description

起動制御装置、起動指示装置、起動制御システム、起動方法、およびコンピュータプログラム
 この発明は起動制御装置、起動指示装置、起動制御システム、起動方法、およびコンピュータプログラムに関し、特に、車載装置を起動させる起動制御装置、起動指示装置、起動制御システム、起動方法、およびコンピュータプログラムに関する。
 本出願は、2018年2月7日出願の日本出願第2018-020208号に基づく優先権を主張し、前記日本出願に記載された全ての記載内容を援用するものである。
 近年、自動車の技術分野においては、車両の高機能化が進行しており、多種多様な車載機器が車両に搭載されている。従って、車両には、各車載機器を制御するための制御装置である、所謂ECU(Electronic Control Unit)が多数搭載されている。
 ECUの種類には、例えば、アクセル、ブレーキ、ハンドルの操作に対してエンジンやブレーキ、EPS(Electric Power Steering)等の制御を行う走行系に関わるもの、乗員によるスイッチ操作に応じて車内照明やヘッドライトの点灯/消灯と警報器の吹鳴等の制御を行うボディ系ECU、運転席近傍に配設されるメータ類の動作を制御するメータ系ECUなどがある。
 一般的にECUは、マイクロコンピュータ等の演算処理装置によって構成されており、ROM(Read Only Memory)に記憶した制御プログラムを読み出して実行することにより、車載機器の制御が実現される。
 ECUの制御プログラムは、バージョンアップに対応して、旧バージョンの制御プログラムを新バージョンの制御プログラムに書き換える必要がある。また、たとえば地図情報や制御用のパラメータなど、制御プログラムの実行に必要なデータも書き換える必要がある。
 たとえば、特許文献1には、ネットワークを介して更新用プログラムをダウンロードし、ECUの制御プログラムの更新を行う技術(オンライン更新機能)が開示されている。特許文献1の技術では、ECUにおいて制御プログラムの更新中に車両機器の操作が行われないようにするため、車両が停止され、ユーザが当該車両から降車した状態で更新が実行される。
特開2013-2958号公報
 ある実施の形態に従うと、軌道制御装置は、車内の通信システムに属する車載制御装置を起動させる起動制御装置であって、前記通信システムで転送されるデータの中から、所定電圧レベルのビット値が所定時間以上連続する制御信号を検出する検出部と、前記車載制御装置に設けられ、前記検出部が前記制御信号を検出すると、スリープモードの前記車載制御装置を、自装置の制御プログラムを更新する更新処理が実行可能な通常モードへ起動させる制御部と、を備える。
 他の実施の形態に従うと、起動指示装置は、車内の通信システムに属する車載制御装置の起動を指示する起動指示装置であって、前記車載制御装置を起動させるための、所定電圧レベルのビット値が所定時間以上連続する制御信号を生成する制御部と、前記制御信号を前記通信システムに出力する出力部と、を有する。
 他の実施の形態に従うと、起動制御システムは、車内の通信システムに属する車載制御装置を起動させる起動制御システムであって、前記車載制御装置を起動させるための、所定電圧レベルのビット値が所定時間以上連続する制御信号を前記通信システムに出力する出力部と、前記通信システムで転送されるデータの中から、前記制御信号を検出する検出部と、前記車載制御装置に設けられ、前記検出部が前記制御信号を検出すると、スリープモードの前記車載制御装置を、自装置の制御プログラムを更新する更新処理が実行可能な通常モードへ起動させる制御部と、を備える。
 他の実施の形態に従うと、起動方法は、車内の通信システムに属する車載制御装置車を起動させる方法であって、前記通信システムで転送されるデータの中から、所定電圧レベルのビット値が所定時間以上連続する制御信号を検出するステップと、前記制御信号を検出すると、前記車載制御装置を、スリープモードから、自装置の制御プログラムを更新する更新処理が実行可能な通常モードへ起動させるステップと、を含む。
 他の実施の形態に従うと、コンピュータプログラムは車内の通信システムに属する車載制御装置を起動させる起動制御装置としてコンピュータを機能させるためのコンピュータプログラムであって、前記コンピュータを、前記通信システムで転送されるデータの中から、所定電圧レベルのビット値が所定時間以上連続する制御信号を検出する検出部と、前記車載制御装置に設けられ、前記検出部が前記制御信号を検出すると、スリープモードの前記車載制御装置を、自装置の制御プログラムを更新する更新処理が実行可能な通常モードへ起動させる制御部、として機能させる。
実施の形態にかかる車両の構成を表した概略図である。 中継装置の内部構成を示すブロック図である。 ECUの内部構成を示すブロック図である。 ECUの検出部の回路構成の一例を表した概略回路図である。 中継装置における起動制御処理の流れを表したフローチャートである。 対象ECUにおける起動制御処理の流れを表したフローチャートである。 対象ECUでの起動制御処理を説明する図である。 制御プログラムの更新時の、通信システムに含まれる各装置の起動状態を表した図である。 制御プログラムの更新時の、通信システムに含まれる各装置の起動状態を表した図である。 第1の比較例にかかる通信システムにおいて、制御プログラムの更新時の各装置の起動状態を表した図である。 第2の比較例にかかる通信システムに含まれる1つのECUの起動状態を表した図である。 第2の実施の形態にかかるECUに含まれる検出部の回路構成の一例を表した概略回路図である。 第2の実施の形態にかかる対象ECUでの起動制御処理を説明する図である。
[本開示が解決しようとする課題]
 特許文献1の技術では、更新用プログラムをダウンロードした後、車両のイグニッション電源(IG電源)がOFFである期間に更新処理が実行される。車両のIG電源がOFFである期間には、各ECUは省電力状態(スリープモード)となっている。しかしながら、制御プログラムの更新処理を実行するECUには電力を供給する必要がある。そのため、特許文献1の車両では、更新処理時に車両のIG電源をONする必要がある。その結果、更新処理を実行するECU以外の、電力供給が不要な他のECUも電力が供給され、消費電力量が必要以上に増加することになる。
 本開示のある局面における目的は、車載制御装置の更新処理時の消費電力量を抑えることができる起動制御装置、起動指示装置、起動制御システム、起動方法、およびコンピュータプログラムを提供することである。
[本開示の効果]
 本開示によると、車載制御装置の更新処理時の消費電力量を抑えることができる。
[実施の形態の説明]
 本実施の形態には、少なくとも以下のものが含まれる。すなわち、
 (1)本実施の形態に含まれる起動制御装置は、車内の通信システムに属する車載制御装置を起動させる起動制御装置であって、前記通信システムで転送されるデータの中から、所定電圧レベルのビット値が所定時間以上連続する制御信号を検出する検出部と、前記車載制御装置に設けられ、前記検出部が前記制御信号を検出すると、スリープモードの前記車載制御装置を、自装置の制御プログラムを更新する更新処理が実行可能な通常モードへ起動させる制御部と、を備える。
 車載制御装置の起動が制御信号によって制御されることによって、スリープモードの複数の車載制御装置のうちの対象とする車載制御装置のみを起動させることができる。そのため、更新処理のためにスリープモードの複数の車載制御装置すべてに対する電力供給を許可してこれらすべての車載制御装置を起動する場合と比較して、車載制御装置の更新処理時の消費電力量を抑えることができる。
 (2)好ましくは、前記制御信号は、前記データと宛先の識別情報とが格納される通信フレームであって前記データとして前記制御信号を含む通信フレームである制御フレームにより転送され、前記制御部は、前記制御フレームに前記車載制御装置以外の他の車載制御装置の識別情報が含まれる場合、スリープモードの前記車載制御装置を通常モードに起動させた後、通常モードを維持することなく前記車載制御装置をスリープモードに遷移させる。
 これにより、起動が指示されていない車載制御装置はスリープモードが維持される。そのため、対象とする車載制御装置の起動時の消費電力量を抑えることができる。
 すなわち、起動対象の車載制御装置以外の車載制御装置は、制御信号により起動したとしても通常モードを維持することなくスリープモードへ遷移する。よって、起動対象の車載制御装置以外の車載制御装置における通常モードが無駄に維持されるのを抑制でき、消費電力量を抑えることができる。
 (3)好ましくは、前記制御部は、前記制御信号を含む前記制御フレームに前記車載制御装置の識別情報が含まれる場合、スリープモードの前記車載制御装置を通常モードに起動させた後、前記車載制御装置が前記更新処理を完了するまでの間、通常のモードを維持させる。
 この場合、スリープモードの複数の車載制御装置のうちの対象とする車載制御装置のみ通常モードを維持し、更新処理を実行させることができる。
 (4)好ましくは、前記制御部は、前記車載制御装置が実行する制御プログラムの更新処理が完了すると、前記車載制御装置をスリープモードに遷移させる。
 これにより、対象の車載制御装置は更新処理の完了後、スリープモードに遷移するため、より、消費電力量を抑えることができる。
 (5)本実施の形態に含まれる起動指示装置は、車内の通信システムに属する車載制御装置の起動を指示する起動指示装置であって、前記車載制御装置を起動させるための、所定電圧レベルのビット値が所定時間以上連続する制御信号を生成する制御部と、前記制御信号を前記通信システムに出力する出力部と、を有する。
 これによって、車載制御装置の起動が制御信号によって制御される。このため、スリープモードの複数の車載制御装置のうちの対象とする車載制御装置のみを起動させることができる。
 (6)本実施の形態に含まれる起動制御システムは、車内の通信システムに属する車載制御装置を起動させる起動制御システムであって、前記車載制御装置を起動させるための、所定電圧レベルのビット値が所定時間以上連続する制御信号を前記通信システムに出力する出力部と、前記通信システムで転送されるデータの中から、前記制御信号を検出する検出部と、前記車載制御装置に設けられ、前記検出部が前記制御信号を検出すると、スリープモードの前記車載制御装置を、自装置の制御プログラムを更新する更新処理が実行可能な通常モードへ起動させる制御部と、を備える。
 これによって、車載制御装置の起動が制御信号によって制御される。このため、スリープモードの複数の車載制御装置のうちの対象とする車載制御装置のみを起動させることができる。そのため、スリープモードの複数の車載制御装置すべてに対する電力供給を許可してこれらすべての車載制御装置を起動する場合と比較して、車載制御装置の更新処理時の消費電力量を抑えることができる。
 (7)本実施の形態に含まれる起動方法は、(1)~(4)のいずれか1つに記載の起動制御装置において車内の通信システムに属する車載制御装置車を起動させる方法である。
 かかる起動方法は、上記(1)~(4)の移動制御装置と同様の効果を奏する。
 (8)本実施の形態に含まれるコンピュータプログラムは、コンピュータを、(1)~(4)のいずれか1つに記載の起動制御装置として機能させる。
 かかるコンピュータプログラムは、上記(1)~(4)の起動制御装置と同様の効果を奏する。
[実施の形態の詳細]
 以下に、図面を参照しつつ、好ましい実施の形態について説明する。以下の説明では、同一の部品および構成要素には同一の符号を付してある。それらの名称および機能も同じである。したがって、これらの説明は繰り返さない。
 <第1の実施の形態>
 〔車両構成〕
 図1は第1の実施の形態にかかる車両の構成を表した概略図である。
 図1を参照して、本実施の形態にかかる車両1は、車外装置と通信するための車外通信機15と、複数のECU(Electronic Control Unit)30A,30B,30C,…と、車外装置と複数のECU30A,30B,30C,…との通信を中継するECUである中継装置10と、これらに電力を供給する電源18と、を含む。複数のECU30A,30B,30C,…を代表させてECU30とも称する。複数のECU30それぞれを区別するときには、ECU-1,ECU-2,ECU-3,…とも表現する。
 各ECU30は、車内通信線16によって中継装置10に接続されており、中継装置10とともに車内の通信システム4を構成する。通信システム4は、ECU30同士の通信が可能なバス型の通信システム(たとえば、CAN(Controller Area Network))よりなる。CANでは、通信フレームと呼ばれるフォーマットに情報を格納して送受信される。通信フレームは、ハイレベル及びローレベルの2種類の電圧レベルのビット値が連続するデジタル信号からなる。
 通信システム4は、CANだけでなく、LIN(Local Interconnect Network)、CANFD(CAN with Flexible Data Rate)、Ethernet(登録商標)、又はMOST(Media Oriented Systems Transport:MOSTは登録商標)などの通信規格を採用するネットワークであってもよい。
 ECU30は、たとえば、アクセル、ブレーキ、ハンドルの操作に対してエンジンやブレーキ、EPS(Electric Power Steering)等の制御を行うパワー・トレイン系ECU、スイッチ操作に応じて車内照明やヘッドライトの点灯/消灯と警報器の吹鳴等の制御を行うボディ系ECU、運転席近傍に配設されるメータ類の動作を制御するメータ系ECUなどである。
 中継装置10は、さらに、所定規格の通信線を介して車外通信機15と接続されている。または、中継装置10は、車外通信機15を搭載していてもよい。車外通信機15は、インターネット等の広域通信網2を介して、車外装置と無線通信する。車外装置は、たとえば、ECU30の更新用プログラムを保存するサーバ5である。または、車外通信機15は図示しないプラグを有し、当該プラグに接続された車外装置と有線にて通信してもよい。車外通信機15は、ユーザが所有する携帯電話機、スマートフォン、タブレット型端末、ノートPC(Personal Computer)等の装置であってもよい。
 中継装置10は、車外通信機15が受信した車外装置からの情報を中継しECU30へ与える。また、中継装置10は、ECU30からの情報を中継し車外通信機15へ与える。車外通信機15は、ECU30からの情報を車外装置に無線送信する。
 電源18は、イグニッション電源(以下、IG電源)18Aと、バッテリ電源(常時電源)(以下、+B電源)18Bと、を含む。IG電源18Aは、ユーザ操作によって電力供給状態(ON状態)と、非電力供給状態(OFF状態)とに切り替わる。+B電源18Bは、常時、電力供給状態(ON状態)である。
 複数のECU30のうちのECU30A~ECU30Dは、それぞれ、電力線19A,19B,19C,19Dを介してIG電源18Aと接続され、IG電源18Aから電力供給を受ける。ECU30A~ECU30DのうちのECU30B~ECU30Dは、それぞれ、電力線17B,17C,17Dを介して+B電源18Bと接続され、+B電源18Bからも電力供給を受ける。つまり、ECU30A~ECU30Dのうち、ECU30AはIG電源18Aのみと接続され、他のECU30B~ECU30DはIG電源18Aおよび+B電源18Bの両方と接続されている。なお、電力線19A,19B,19C,19Dを代表させて電力線19、電力線17B,17C,17Dを代表させて電力線17ともいう。
 IG電源18Aのみと接続されているECU30Aは、IG電源18Aが非電力供給状態(OFF状態)に切り替わることによって電力が供給されなくなる。ECU30Aに対するIG電源18Aからの電力供給が遮断された状態をシャットダウン状態とする。
 +B電源18Bにも接続されているECU30B~ECU30Dは、+B電源18Bから供給される電力を利用してIG電源18Aからの電力供給を遮断(セルフシャット)することができる。
 ECU30A~ECU30Dは、それぞれ、複数の電力供給状態(起動状態とも言う)を有する。複数の起動状態は、少なくとも更新処理が実行可能な程度の充分な電力が供給されている状態(通常モードと称する)と、通信機能も含む全ての周辺機能を停止する低消費電力状態(スリープモードと称する)と、を有する。
 以降の説明において、ECU30A~ECU30Dのうち、ECU30Aはオンライン更新の対象ではなく、ECU30B~ECU30Dがオンライン更新の対象となる。
 〔中継装置の構成〕
 図2は、中継装置10の内部構成を示すブロック図である。
 図2に示すように、中継装置10は、制御部11、記憶部12、および車内通信部13などを備える。
 中継装置10の制御部11は、CPU(Central Processing Unit)を含む。制御部11のCPUは、記憶部12に記憶された1または複数のプログラムを読み出して、各種処理を実行するための機能を有している。
 制御部11のCPUは、たとえば時分割で複数のプログラムを切り替えて実行することにより、複数のプログラムを並列的に実行可能である。
 制御部11のCPUは、1または複数の大規模集積回路(LSI)を含む。複数のLSIを含むCPUでは、複数のLSIが協働して当該CPUの機能を実現する。
 制御部11のCPUが実行するコンピュータプログラムは、CD-ROMやDVD-ROMなどの記録媒体に記録した状態で譲渡することもできるし、サーバコンピュータなどのコンピュータ装置からのダウンロードによって譲渡することもできる。
 記憶部12は、フラッシュメモリ若しくはEEPROM(Electrically Erasable Programmable Read Only Memory)などの不揮発性のメモリ素子よりなる。
 記憶部12は、制御部11のCPUが実行するプログラムまたは実行に必要なデータなどを記憶する記憶領域を有する。
 制御部11は、CPUが記憶部12に記憶された1又は複数のプログラムを実行することによって実現される更新制御部111を有する。更新制御部111は、ECU30の制御プログラムを更新するための更新処理を、該当するECU30(以下、対象ECUと称する)に実行させる機能を有する。
 車内通信部13には車内通信線16が接続されている。車内通信部13は、CANなどの所定の通信規格に則って、ECU30と通信する通信装置よりなる。
 車内通信部13は、制御部11のCPUから与えられた情報を所定のECU30宛てに送信し、ECU30からの情報を受信し、制御部11のCPUに与える。
 車外通信機15は、アンテナと、アンテナからの無線信号の送受信を実行する通信回路とを含む無線通信機よりなる。車外通信機15は、携帯電話網等の広域通信網2に接続されることにより車外装置との通信が可能である。
 車外通信機15は、図示しない基地局により形成される広域通信網2を介して、制御部11のCPUから与えられた情報をサーバ5等の車外装置に送信するとともに、車外装置から受信した情報を制御部11のCPUに与える。
 〔ECUの構成〕
 図3は、ECU30の内部構成を示すブロック図である。
 図3に示すように、ECU30は、制御部31、記憶部32、車内通信部33、および検出部34、などを備える。
 ECU30の制御部31は、CPUを搭載したMCU(Micro Controller Unit)を含む。制御部31のMCUは、記憶部32に記憶された1または複数のプログラムを読み出して、各種処理を実行するための機能を有している。
 制御部31のMCUは、たとえば時分割で複数のプログラムを切り替えて実行することにより、複数のプログラムを並列的に実行可能である。
 制御部31のMCUは、1または複数の大規模集積回路(LSI)を含む。複数のLSIを含むMCUでは、複数のLSIが協働して当該MCUの機能を実現する。
 制御部31のMCUが実行するコンピュータプログラムは、CD-ROMやDVD-ROMなどの記録媒体に記録した状態で譲渡することもできるし、サーバコンピュータなどのコンピュータ装置からのダウンロードによって譲渡することもできる。
 記憶部32は、フラッシュメモリ若しくはEEPROMなどの不揮発性のメモリ素子よりなる。
 記憶部32は、制御部31のMCUが実行するプログラムおよび実行に必要なデータなどを記憶する記憶領域を有する。
 車内通信部33には車内通信線16が接続されている。車内通信部33は、CANなどの所定の通信規格に則って、中継装置10と通信する通信装置よりなる。CANにおける車内通信線16は、CANHigh線(CAN-H)およびCANLow線(CAN-L)の2本の信号ラインで構成されている。車内通信部33は、各通信ライン用のトランシーバを含む。車内通信部33は、2本の信号ラインそれぞれの信号間で電位差がある状態(ドミナント)、および電位差がない状態(リセッシブ)と、で表されるデジタル信号を受信する。
 車内通信部33は、制御部31のMCUから与えられた情報を所定のECUまたは中継装置10宛てに送信し、所定のECUまたは中継装置10からの情報を受信し、制御部31のMCUに与える。
 検出部34は、CANで転送される通信フレームから、中継装置10からの、後述する起動指示を検出する。図4は、検出部34の回路構成の一例を表した概略回路図である。図3および図4を参照して、検出部34は、車内通信線16の一方の信号ラインに接続される。本例では、CANHigh線(CAN-H)に接続されるものとする。
 各信号ラインには、ハイレベル電圧のビット値及びローレベル電圧のビット値を含むデジタル信号が転送される。検出部34は、CANHigh線(CAN-H)から入力される信号の電圧を0[V]から2.5[V]までオフセット調整するオフセット回路41と、オフセット調整後の電圧を分圧する分圧回路42と、分圧後の入力電圧の波形の時間積分に等しい波形の、0[V]から5[V]までの電圧を出力する積分回路43と、コンパレータ44とを含む。CANHigh線(CAN-H)からハイレベル電圧のビット値が連続して入力されると、積分回路43から出力される電圧は増加する。
 コンパレータ44は、積分回路43から入力された電圧が電圧の閾値(Th1)を超えた場合に、予め規定されている信号を出力する。つまり、CANHigh線(CAN-H)から入力されるハイレベル電圧のビット値が所定長さ(所定時間)以上連続した場合に、コンパレータ44は予め規定されている信号を出力する。これにより、検出部34は、CANHigh線(CAN-H)から入力される信号から、所定長さ以上連続したハイレベル電圧のビット値を検出する。
 コンパレータ44から出力される信号は、ハードウェア割り込み信号として制御部31に入力される。以降の説明では、コンパレータ44が出力する信号を割り込み信号とも称する。コンパレータ44が出力する割り込み信号は、検出部34における、所定長さ以上連続したハイレベルの信号の検出結果と言える。
 制御部31は、コンパレータ44からの割り込み信号が入力される端子312を有する。制御部31は、MCUが記憶部32に記憶された1又は複数のプログラムを実行することによって、コンパレータ44からの割り込み信号に応じた割り込み処理として起動制御処理を実行するための起動制御部311を有する。
 〔起動制御処理〕
 オンライン更新の対象であるECU30B~ECU30Dでは、IG電源18AがOFF状態において制御プログラムを更新する更新処理が実行される。IG電源18AがOFF状態では、ECU30B~ECU30Dはスリープモードである。そこで、通信システム4では、中継装置10の制御部11が起動指示装置、対象ECUの検出部34および制御部31が起動制御装置として機能してこれらが起動制御システムを構成し、スリープモードのECU30B~ECU30Dに更新処理を実行させるために起動制御処理を実行する。起動制御処理は、これらECU30B~ECU30Dの起動状態を、それぞれの更新処理のタイミングに応じて変化させる処理である。
 中継装置10の制御部11は、CPUが記憶部12に記憶された1又は複数のプログラムを実行することによって、対象ECUの起動を指示する制御信号である通信フレーム(制御フレーム)を生成する起動指示部112と、当該通信フレームを車内通信部13に渡して通信システム4への出力を指示する出力部113と、をさらに含む。制御フレームは、起動指示を表すデータを含む。
 図5および図6は、通信システム4での起動制御処理の流れを表したフローチャートであって、図5は中継装置10における処理、図6は更新処理を実行するECU(以下、対象ECUと称する)における処理を表している。
 図5を参照して、中継装置10の制御部11は、サーバ5からECU30B~ECU30Dのうちの対象ECUの更新用プログラムを取得すると(ステップS101でYES)、IG電源18AがOFF状態であるか否かを確認する(ステップS103)。IG電源18AがOFF状態でない場合には(ステップS103でNO)、OFF状態となるまで待機する。
 IG電源18AがOFF状態である場合(ステップS103でYES)、制御部11は、対象ECUにおいて更新処理を実行させるために、以降の処理を実行する。すなわち、制御部11は、対象ECUに対する起動指示を含む通信フレームである制御フレームを生成し、車内通信部13にCANに出力させる(ステップS105)。
 起動指示を表すデータは、予め規定された、車両1の通常走行時にやり取りされる通信フレーム(通常時通信フレーム)に含まれるデータよりも長く、ハイレベル電圧のビット値が連続するデータであって、通常時通信フレームでは用いられないデータである。起動指示を表すデータは、たとえば、全てのデータが0xFFであるデータ(データフレーム内のデータを全てFF(16進数)にしたデータ)などである。ステップS105で制御部11は、所定位置に当該データを含む通信フレーム(制御フレーム)を生成する。
 その後、制御部11は、更新用プログラムを対象ECUに転送するとともに、更新処理の実行指示を含む通信フレームを生成して、対象ECUへ向けて出力する(ステップS109)。対象ECUから更新処理の終了の通知を受けると(ステップS111でYES)、制御部11は、一連の処理を終了して処理を最初に戻す。
 図6を参照して、スリープモードである対象ECUの制御部31は、+B電源18Bから供給される電力を利用してCANで転送される通信フレームを受信することができる。スリープモードである対象ECUの制御部31は、通信フレームを受信すると、自装置への起動指示を含むか否かを判定する。制御部31は、自装置宛の通信フレームの所定位置から予め規定された起動指示を表すデータを検出すると、当該通信フレームが自装置への起動指示を含む制御フレームであると判定する。自装置への起動指示が検出されると(ステップS201でYES)、制御部31は、起動し、スリープモードから通常モードに移行する(ステップS203)。
 通常モードとなった対象ECUの制御部31は、中継装置10から更新処理の実行指示を含む通信フレームを受信すると(ステップS205でYES)、当該指示に従って更新処理を実行する(ステップS207)。更新処理が終了すると(ステップS209でYES)、制御部31は更新処理の終了を中継装置10に通知して(ステップS211)、スリープモードに遷移する(ステップS213)。
 図7は、対象ECUでの起動制御処理を説明する図である。図7は、上から順に、CANの通信フレーム(CANHigh線の電圧レベル)、対象ECUの積分回路43の出力電圧、対象ECUのコンパレータ44の出力信号、IG電源18AのON/OFF状態、および、対象ECUの起動状態を、時間経過に沿って示している。
 図7を参照して、コンパレータ44の閾値Th1は、通常時通信フレームD1であるときに積分回路43から出力される電圧より高い電圧に設定されている。そのため、CANで通常時通信フレームD1が転送されている時刻t0においては、積分回路43からの出力電圧が閾値Th1以下であって、コンパレータ44からの割り込み信号の出力が停止している(L状態)。
 時刻t1にIG電源18AがOFF状態に切り替わると、その直後に対象ECUもスリープモードに移行する。その状態においては、対象ECUの制御部31は、+B電源18Bから供給される電力を利用してCANの通信フレームを受信する。
 通信フレームD2は、当該通信フレームD2の宛先である対象ECUのIDを含む。また、通信フレームD2は、「ALL$FF」(データフレーム内のデータを全てFF(16進数)にしたデータ)などの、通常時通信フレームに含まれるデータよりも長くハイレベル電圧のビット値が連続するデータを含む制御フレームである。対象ECUが制御フレームD2を受信すると、積分回路43の出力は当該データを受信した時刻t2から増加して閾値Th1以上となる。積分回路43の出力が閾値Th1に達すると(時刻t3)、コンパレータ44から割り込み信号が出力される(H状態)。割り込み信号が入力されることによって、対象ECUの制御部31は、起動指示を検出する。対象ECUの制御部31は、割り込み信号が入力されると(時刻t3)、スリープモードから起動して通常モードとなる。
 通常モードにおいて更新用プログラムを含む通信フレームD3を受信すると、対象ECUは更新処理を実行する。更新処理が終了すると、対象EUCは通常モードからスリープモードに遷移する。スリープモードへの遷移は、受信した通信フレームD4が中継装置10からの更新処理の終了指示である所定のデータを含む場合に、当該通信フレームを受信した時刻t4の直後に行われてもよい。
 図8および図9は、制御プログラムの更新時の、通信システム4に含まれる各装置の起動状態を表した図である。図8および図9は、上から順に、+B電源18BのON/OFF状態、IG電源18AのON/OFF状態、ECU1(30A)~ECU4(30D)それぞれの起動状態、および中継装置10からの起動指示(割り込み指令)を、時間経過に沿って示している。なお、図8は車両1の走行時に更新用プログラムのサーバ5からのダウンロードを完了し、IG電源18AがOFF状態に移行したタイミングで更新処理を実行する場合の例、図9は、IG電源18AがOFF状態においてサーバ5から更新用プログラムをダウンロードし、更新処理を実行する場合の例を示している。
 図8を参照して、時刻T0でIG電源18AがON状態からOFF状態に切り替わると、その直後に、更新用プログラムをダウンロード中のECU2(30B)以外の各ECUは通常モードからスリープモードに遷移する。ECU2(30B)は、他のECUがスリープモードに遷移したタイミングから期間P11の間、通常モードを維持する。ECU2(30B)は、その期間に更新用プログラムのダウンロードと更新処理(書き込み)とを実行する。ECU2(30B)は、更新処理の終了後にスリープモードに遷移する。なお、ECU2(30B)は、更新処理の終了後に、中継装置10からのリセット指示に従ってリセット(再起動)を実行してもよい。
 時刻T11で中継装置10からECU3(30C)に対して起動指示(割り込み指令)I11が出力されると、更新処理を実行していないECU3(30C)およびECU4(30D)は一時的に通常モードに移行して、当該制御フレームに自装置が受信する制御フレームであることを示すIDが含まれているか否かを判定する。ECU4(30D)は自装置に宛てた制御フレームでないため、直ちにスリープモードに遷移する。
 ECU3(30C)は、自装置が受信する制御フレームから指令I11を検出すると通常モードに移行したタイミングから期間P12の間、通常モードを維持して、その期間に更新用プログラムのダウンロードと更新処理(書き込み)とを実行する。ECU3(30C)は、更新処理の終了後にスリープモードに遷移する。
 時刻T12で中継装置10からECU4(30D)に対して起動指示(割り込み指令)I12が出力されると、更新処理を実行していないECU4(30D)は一時的に通常モードに移行して、当該通信フレームに自装置が受信する制御フレームであることを示すIDが含まれているか否かを判定する。
 ECU4(30D)は、自装置が受信する制御フレームから指令I12を検出すると通常モードに移行したタイミングから期間P13、通常モードを維持して、その期間に更新用プログラムのダウンロードと更新処理(書き込み)とを実行する。ECU4(30D)は、更新処理の終了後にスリープモードに遷移する。
 IG電源18AがOFF状態においてサーバ5から更新用プログラムをダウンロードして更新処理を実行する場合、図9を参照して、時刻T0でIG電源18AがON状態からOFF状態に切り替わったことによって各ECUがスリープモードに移行した後、時刻T21で中継装置10からECU2(30B)に対して起動指示(割り込み指令)I21が出力される。制御フレームを受信した各ECUは一時的に通常モードに移行して、当該制御フレームに自装置のIDが含まれているか否かを判定する。ECU3(30C)およびECU4(30D)は自装置で受信する制御フレームでないため、直ちにスリープモードに遷移する。
 ECU2(30B)は、通常モードに移行したタイミングから期間P21の間、通常モードを維持して、その期間に更新用プログラムのダウンロードと更新処理(書き込み)とを実行する。ECU2(30B)は、更新処理の終了後にスリープモードに遷移する。
 時刻T22で中継装置10からECU3(30C)に対して起動指示(割り込み指令)I22が出力されると、更新処理を実行していないECU3(30C)およびECU4(30D)は一時的に通常モードに移行して、当該制御フレームに自装置のIDが含まれているか否かを判定する。ECU4(30D)は自装置で受信する制御フレームでないため、直ちにスリープモードに遷移する。
 ECU3(30C)は、通常モードに移行したタイミングから期間P22の間、通常モードを維持して、その期間に更新用プログラムのダウンロードと更新処理(書き込み)とを実行する。ECU3(30C)は、更新処理の終了後にスリープモードに遷移する。
 時刻T23で中継装置10からECU4(30D)に対して起動指示(割り込み指令)I23が出力されると、更新処理を実行していないECU4(30D)は一時的に通常モードに移行して、当該制御フレームに自装置のIDが含まれているか否かを判定する。
 ECU4(30D)は、通常モードに移行したタイミングから期間P23の間、通常モードを維持して、その期間に更新用プログラムのダウンロードと更新処理(書き込み)とを実行する。ECU4(30D)は、更新処理の終了後にスリープモードに遷移する。
 〔第1の実施の形態の効果〕
 図10は、第1の比較例にかかる通信システムにおいて、制御プログラムの更新時の各装置の起動状態を表した図である。図10は、図8と同様に、車両1の走行時に更新用プログラムのサーバ5からのダウンロードを完了し、IG電源18AがOFF状態に移行したタイミングで更新処理を実行する場合の例を示しており、上から順に、+B電源18BのON/OFF状態、IG電源18AのON/OFF状態、ECU1(30A)~ECU4(30D)それぞれの起動状態、および中継装置10からの起動指示(割り込み指令)を、時間経過に沿って示している。比較例にかかる通信システムは、本通信システム4で実行される起動制御処理が行われない。
 図10を参照して、起動制御処理が行われない場合、時刻T0でIG電源18AがON状態からOFF状態に切り替わっても、ECU2(30B)が更新用プログラムをダウンロード中である場合には、オンライン更新を行うECU2(30B)~ECU4(30D)はいずれもスリープモードに遷移せず、通常モードを維持する。
 すなわち、ECU3(30C)は、図10の例では起動指示(割り込み指令)I11を受信するタイミング(時刻T11)までの期間P32の間、通常モードを維持してECU2(30B)での更新処理の終了を待機する。そして、その後に期間P12で更新用プログラムのダウンロードと更新処理(書き込み)とを実行する。ECU3(30C)は、更新処理の終了後にスリープモードに遷移する。
 また、ECU4(30D)は、図10の例では起動指示(割り込み指令)I12を受信するタイミング(時刻T12)までの期間P33の間、通常モードを維持してECU2(30B)およびECU3(30C)での更新処理の終了を待機する。そして、その後に期間P13で更新用プログラムのダウンロードと更新処理(書き込み)とを実行する。ECU3(30C)は、更新処理の終了後にスリープモードに遷移する。
 これに対して、本実施の形態にかかる通信システム4では中継装置10から対象ECUのIDと起動指示とを含む制御フレームが出力されることで、各ECUの通常モードへの移行が個別に制御される。そのため、各ECUが通常モードへ移行するタイミングを、当該ECUでの更新処理の開始に応じたタイミング(更新処理の開始の直前)とすることができる。これにより、図8に表された本通信システム4では、図10の第1の比較例にかかる通信システムに対して、期間P32にECU3(30C)、および、期間P33にECU3(30C)およびECU4(30D)をスリープモードとすることができる。その結果、本通信システム4の方が第1の比較例にかかる通信システムよりも更新処理時の電力消費が抑えられる。
 なお、第2の比較例として、各ECUがスリープモードにおいて、中継装置10から送信された自装置に対する更新処理の実行指示を受信すると起動する通信システムが考えられる。図11は、第2の比較例にかかる通信システムでの、ある1つのECU(図例ではECU4(30D))の起動状態を表した図である。第2の比較例にかかる通信システムでは、図11を参照して、時刻T0でIG電源18AがON状態からOFF状態に切り替わると各ECUはスリープモードに移行する。しかしながら、各ECUは、中継装置10からの実行指示を検出するために、周期的に通常モードへ移行して(間欠ウェイクアップ)、通信フレームを解析する必要がある。たとえば、図11に示されたECU4(30D)の場合、スリープモードに移行した時刻T0から当該ECUで更新処理を開始する時刻T12までの期間P33の間、および、更新処理が終了した時刻T13以降の期間P34の間に、間欠ウェイクアップを実行する必要がある。そのため、期間P33および期間P34において、スリープモードを維持するより多くの電力が消費される。
 これに対して、本実施の形態にかかる通信システム4では中継装置10からの対象ECUが受信する通信フレームに含まれる起動指示が検出されることで、対象ECUが通常モードへ移行する。言い換えると、本実施の形態にかかる通信システム4では、ECU30はいったんスリープモードに移行すると、中継装置10からの起動指示が検出されるまで通常モードに移行しない。その結果、本通信システム4の方が第2の変形例にかかる通信システムよりも更新処理時の電力消費が抑えられる。
 <第2の実施の形態>
 各ECUの有する検出部34の回路構成は図3および図4に示された構成に限定されない。すなわち、検出部34に、オフセット回路41と、分圧回路42と、積分回路43と、コンパレータ44とのすべてが含まれること、また、これらがこの順に接続されていることは必須ではない。
 第2の実施の形態として、検出部34は図12の構成であってもよい。すなわち、図を参照して、検出部34は、オフセット回路41と、分圧回路42と、積分回路43とを含み、コンパレータ44を含まなくてもよい。第2の実施の形態にかかる検出34では、CANHigh線(CAN-H)から入力される電圧が分圧回路42によって分圧されて積分回路43に入力され、積分回路43から分圧後の入力電圧の波形の時間積分に等しい波形の電圧が、保護用のダイオード45を介して制御部31の端子312に入力される。保護用のダイオード45は、制御部31の端子312に入力可能な電圧の最大値Vmax(たとえば5[V])を規定し、積分回路43からの当該最大値Vmaxを超える電圧を端子312に入力しない。
 第2の実施の形態では、制御部31は、MCUが記憶部32に記憶された1又は複数のプログラムを実行することによって、コンパレータ44に替えて、積分回路43から入力された電圧に基づいて中継装置10からの起動指示の有無を判定する判定部313を有する。
 図13は、第2の実施の形態にかかる対象ECUでの起動制御処理を説明する図であって、対象ECUの積分回路43の出力電圧、および、対象ECUの起動状態を、時間経過に沿って示している。
 図13を参照して、第2の実施の形態にかかる対象ECUでは、受信した制御フレームD2が対象ECUが受信するべきIDを含み、所定位置に全てのデータが0xFFであるデータなどの、通常時通信フレームに含まれるデータよりも長く、ハイレベル電圧のビット値が連続する、予め規定された起動指示を表すデータを含む場合、積分回路43から制御部31に入力される電圧は、当該データを受信したタイミングから増加する。このとき、積分回路43から出力される電圧はダイオード45を介して制御部31に入力されるため、最大値Vmaxを超えない。
 制御部31は、最大値Vmaxよりも小さく、通常時通信フレームを受信したときに積分回路43から出力される電圧より高い電圧に相当する閾値Th2を予め記憶しておく。制御部31は、積分回路43から入力された電圧が閾値Th2以上となると、通信フレームに中継装置10からの起動指示があると判定してスリープモードから起動して通常モードとなる。
 このように、各ECUの有する検出部34の回路構成は図3および図4に示された回路構成に限定されず、たとえば図13のソフトウェアで実現される機能のような、他の構成であってもよい。
 <第3の実施の形態>
 なお、以上の例では、各ECUが検出部34および起動制御部311を有して、起動制御装置として機能するものとしている。しかしながら、起動指示装置と起動制御装置とを含む起動制御システムは、本通信システム4に含まれるいずれの装置によって実現されてもよい。たとえば、検出部34は、各ECUに替えて、1つの装置が集中的に検出部の少なくとも一部を有してもよい。当該1つの装置は、たとえば中継装置10である。
 この場合、中継装置10の有する検出部は、CANで転送される通信フレームを受信する。受信した通信フレームが対象ECUに対する起動指示を含む制御フレームである場合、起動指示を表すデータの長さに応じて積分回路43から出力される電圧が増加して閾値に達すると、中継装置10の検出部は、対象ECUに割り込み信号を入力する。これによって、対象ECUは割り込み処理として起動制御処理を実行する。その結果、中継装置10での起動指示の検出に応じて対象ECUはスリープモードから通常モードに移行する。
 <第4の実施の形態>
 なお、以上の例では、検出部34が車内通信線16のCANHigh線(CAN-H)に接続され、当該CANHigh線(CAN-H)からハイレベル電圧のビット値が所定長さ以上連続して入力された場合に起動指示を検出するものとしているが、検出部34は、CANLow線(CAN-L)に接続されていてもよい。この場合、中継装置10の起動指示部112は、たとえば、全てのデータが0x0であるデータ(データフレーム内のデータを全て00(16進数)にしたデータ)などの、ローレベルの信号が所定長さ以上連続する、起動指示を表すデータを生成し、通信フレームの所定位置に納めて制御フレームとする。
 この場合、一例として、対象ECUの検出部34は、CANLow線(CAN-L)で伝送される信号のハイ・ローを反転する機構を含み、CANLow線(CAN-L)で伝送される信号は当該機構を介してオフセット回路41に入力される。または、積分回路43が当該機構を含み、入力電圧のハイ・ローを反転した上で時間積分に等しい波形の電圧をコンパレータ44に出力してもよい。これにより、検出部34は、CANLow線(CAN-L)に接続されていても、ローレベルの信号が所定長さ以上連続する、起動指示を表すデータを含む制御フレームから起動指示が検出される。
 開示された特徴は、1つ以上のモジュールによって実現される。たとえば、当該特徴は、回路素子その他のハードウェアモジュールによって、当該特徴を実現する処理を規定したソフトウェアモジュールによって、または、ハードウェアモジュールとソフトウェアモジュールとの組み合わせによって実現され得る。
 上述の動作をコンピュータに実行させるための、1つ以上のソフトウェアモジュールの組み合わせであるプログラムとして提供することもできる。このようなプログラムは、コンピュータに付属するフレキシブルディスク、CD-ROM(Compact Disk-Read Only Memory)、ROM、RAMおよびメモリカードなどのコンピュータ読取り可能な記録媒体にて記録させて、プログラム製品として提供することもできる。あるいは、コンピュータに内蔵するハードディスクなどの記録媒体にて記録させて、プログラムを提供することもできる。また、ネットワークを介したダウンロードによって、プログラムを提供することもできる。
 なお、本開示にかかるプログラムは、コンピュータのオペレーティングシステム(OS)の一部として提供されるプログラムモジュールのうち、必要なモジュールを所定の配列で所定のタイミングで呼出して処理を実行させるものであってもよい。その場合、プログラム自体には上記モジュールが含まれずOSと協働して処理が実行される。このようなモジュールを含まないプログラムも、本開示にかかるプログラムに含まれ得る。
 また、本開示にかかるプログラムは他のプログラムの一部に組込まれて提供されるものであってもよい。その場合にも、プログラム自体には上記他のプログラムに含まれるモジュールが含まれず、他のプログラムと協働して処理が実行される。このような他のプログラムに組込まれたプログラムも、本開示にかかるプログラムに含まれ得る。提供されるプログラム製品は、ハードディスクなどのプログラム格納部にインストールされて実行される。なお、プログラム製品は、プログラム自体と、プログラムが記録された記録媒体とを含む。
 今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて請求の範囲によって示され、請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。
 1 車両
 2 広域通信網
 4 通信システム
 5 サーバ
 10 中継装置
 11 制御部
 12 記憶部
 13 車内通信部(起動指示装置:出力部)
 15 車外通信機
 16 車内通信線
 17,17B,17C,17D 電力線
 18 電源
 18A IG(イグニッション)電源
 18B +B(常時)電源
 19,19A,19B,19C,19D 電力線
 30,30A,30B,30C ECU(車載制御装置)
 31 制御部
 32 記憶部
 33 車内通信部
 34 検出部(起動制御装置)
 41 オフセット回路
 42 分圧回路
 43 積分回路
 44 コンパレータ
 45 ダイオード
 111 更新制御部
 112 起動指示部(起動指示装置:制御部)
 113 出力部(起動指示装置)
 311 起動制御部(起動制御装置:制御部)
 312 端子
 D1 通信フレーム
 D2 通信フレーム(制御フレーム)
 D3 通信フレーム
 D4 通信フレーム
 P11~P13,P21~P23,P32~P34 期間
 t1~t4 時刻
 T11~T13,T21~T23 時刻
 Th1,Th2 閾値
 I11,I12,I21~I23 指令
 

Claims (8)

  1.  車内の通信システムに属する車載制御装置を起動させる起動制御装置であって、
     前記通信システムで転送されるデータの中から、所定電圧レベルのビット値が所定時間以上連続する制御信号を検出する検出部と、
     前記車載制御装置に設けられ、前記検出部が前記制御信号を検出すると、スリープモードの前記車載制御装置を、自装置の制御プログラムを更新する更新処理が実行可能な通常モードへ起動させる制御部と、を備える、起動制御装置。
  2.  前記制御信号は、前記データと宛先の識別情報とが格納される通信フレームであって前記データとして前記制御信号を含む通信フレームである制御フレームにより転送され、
     前記制御部は、前記制御フレームに前記車載制御装置以外の他の車載制御装置の識別情報が含まれる場合、スリープモードの前記車載制御装置を通常モードに起動させた後、通常モードを維持することなく前記車載制御装置をスリープモードに遷移させる、請求項1に記載の起動制御装置。
  3.  前記制御部は、前記制御信号を含む前記制御フレームに前記車載制御装置の識別情報が含まれる場合、スリープモードの前記車載制御装置を通常モードに起動させた後、前記車載制御装置が前記更新処理を完了するまでの間、通常のモードを維持させる、請求項1又は請求項2に記載の起動制御装置。
  4.  前記制御部は、前記車載制御装置が実行する制御プログラムの更新処理が完了すると、前記車載制御装置をスリープモードに遷移させる、請求項3に記載の起動制御装置。
  5.  車内の通信システムに属する車載制御装置の起動を指示する起動指示装置であって、
     前記車載制御装置を起動させるための、所定電圧レベルのビット値が所定時間以上連続する制御信号を生成する制御部と、
     前記制御信号を前記通信システムに出力する出力部と、を有する、起動指示装置。
  6.  車内の通信システムに属する車載制御装置を起動させる起動制御システムであって、
     前記車載制御装置を起動させるための、所定電圧レベルのビット値が所定時間以上連続する制御信号を前記通信システムに出力する出力部と、
     前記通信システムで転送されるデータの中から、前記制御信号を検出する検出部と、
     前記車載制御装置に設けられ、前記検出部が前記制御信号を検出すると、スリープモードの前記車載制御装置を、自装置の制御プログラムを更新する更新処理が実行可能な通常モードへ起動させる制御部と、を備える、起動制御システム。
  7.  車内の通信システムに属する車載制御装置車を起動させる方法であって、
     前記通信システムで転送されるデータの中から、所定電圧レベルのビット値が所定時間以上連続する制御信号を検出するステップと、
     前記制御信号を検出すると、前記車載制御装置を、スリープモードから、自装置の制御プログラムを更新する更新処理が実行可能な通常モードへ起動させるステップと、を含む、起動方法。
  8.  車内の通信システムに属する車載制御装置を起動させる起動制御装置としてコンピュータを機能させるためのコンピュータプログラムであって、
     前記コンピュータを、
     前記通信システムで転送されるデータの中から、所定電圧レベルのビット値が所定時間以上連続する制御信号を検出する検出部と、
     前記車載制御装置に設けられ、前記検出部が前記制御信号を検出すると、スリープモードの前記車載制御装置を、自装置の制御プログラムを更新する更新処理が実行可能な通常モードへ起動させる制御部、として機能させる、コンピュータプログラム。
PCT/JP2018/038046 2018-02-07 2018-10-12 起動制御装置、起動指示装置、起動制御システム、起動方法、およびコンピュータプログラム WO2019155684A1 (ja)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2018020208 2018-02-07
JP2018-020208 2018-02-07

Publications (1)

Publication Number Publication Date
WO2019155684A1 true WO2019155684A1 (ja) 2019-08-15

Family

ID=67548400

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2018/038046 WO2019155684A1 (ja) 2018-02-07 2018-10-12 起動制御装置、起動指示装置、起動制御システム、起動方法、およびコンピュータプログラム

Country Status (1)

Country Link
WO (1) WO2019155684A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114428536A (zh) * 2022-01-27 2022-05-03 深圳市德航智能技术有限公司 一种快速启动的车载三防平板电脑

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012165257A (ja) * 2011-02-08 2012-08-30 Nippon Soken Inc 通信システム、トランシーバ、ノード
JP2016060407A (ja) * 2014-09-19 2016-04-25 日産自動車株式会社 車両制御プログラム書換システム及び車両制御プログラム書換方法

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012165257A (ja) * 2011-02-08 2012-08-30 Nippon Soken Inc 通信システム、トランシーバ、ノード
JP2016060407A (ja) * 2014-09-19 2016-04-25 日産自動車株式会社 車両制御プログラム書換システム及び車両制御プログラム書換方法

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114428536A (zh) * 2022-01-27 2022-05-03 深圳市德航智能技术有限公司 一种快速启动的车载三防平板电脑
CN114428536B (zh) * 2022-01-27 2022-09-06 深圳市德航智能技术有限公司 一种快速启动的车载三防平板电脑

Similar Documents

Publication Publication Date Title
US11288156B2 (en) Control apparatus, control method, and computer program
JP6376312B1 (ja) 制御装置、プログラム更新方法、およびコンピュータプログラム
WO2018142751A1 (ja) 制御装置、プログラム更新方法、およびコンピュータプログラム
CN111034132B (zh) 控制设备、控制方法和计算机程序
US20200301695A1 (en) Control apparatus, control method, and computer program
WO2018185994A1 (ja) 制御装置、転送方法、およびコンピュータプログラム
JP6620891B2 (ja) 中継装置、中継方法、およびコンピュータプログラム
JP2005132131A (ja) ソフトウェア更新装置およびソフトウェア更新方法
JP7207301B2 (ja) 更新制御装置、制御方法、およびコンピュータプログラム
WO2018230314A1 (ja) 制御装置、制御方法、およびコンピュータプログラム
WO2019155684A1 (ja) 起動制御装置、起動指示装置、起動制御システム、起動方法、およびコンピュータプログラム
WO2018142749A1 (ja) 制御装置、プログラム更新方法、およびコンピュータプログラム
WO2019187535A1 (ja) 制御装置、制御方法、およびコンピュータプログラム
JP2018074306A (ja) 車内通信システム、車内通信方法、マネージャ装置、及び車載制御装置
JP2019009678A (ja) 車載通信ネットワークシステム
WO2019146169A1 (ja) 制御装置、制御方法、およびコンピュータプログラム
JP2022132970A (ja) 電子制御装置及び電子制御装置の起動方法
JP6573052B1 (ja) 制御装置、制御方法、およびコンピュータプログラム
US20220263683A1 (en) Activation of a second processing unit of a computing device that includes a first processing unit and the second processing unit
EP3971708B1 (en) In-vehicle device, software update method, non-transitory storage medium, vehicle, and electronic control unit
JP2011093377A (ja) 電源制御システム及び電子装置
WO2019187354A1 (ja) 監視装置、中継装置、および、監視方法
US20230128557A1 (en) In-vehicle control apparatus
JP2019147410A (ja) セルフシャット装置および車載制御装置
CN115202682A (zh) Ota管理器及中心、更新控制方法、非暂时性存储介质

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

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP