WO2017099006A1 - Electronic control device - Google Patents

Electronic control device Download PDF

Info

Publication number
WO2017099006A1
WO2017099006A1 PCT/JP2016/085845 JP2016085845W WO2017099006A1 WO 2017099006 A1 WO2017099006 A1 WO 2017099006A1 JP 2016085845 W JP2016085845 W JP 2016085845W WO 2017099006 A1 WO2017099006 A1 WO 2017099006A1
Authority
WO
WIPO (PCT)
Prior art keywords
control unit
mode
communication processing
processing control
communication
Prior art date
Application number
PCT/JP2016/085845
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 日本精機株式会社
Priority to JP2017555040A priority Critical patent/JP6888554B2/en
Publication of WO2017099006A1 publication Critical patent/WO2017099006A1/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass

Definitions

  • the present invention relates to an electronic control device.
  • the present invention relates to an electronic control device that is mounted on a vehicle and can communicate with another electronic control device, and has an operation mode that suppresses power consumption.
  • the vehicle is equipped with a plurality of electronic control units (ECUs) for controlling a plurality of in-vehicle devices.
  • the plurality of ECUs are connected to the communication line so that signals can be transmitted and received with each other via the communication line.
  • a protocol used for communication related to this transmission / reception for example, there is a CAN (Controller Area Network) protocol.
  • Patent Document 1 discloses a communication processing control unit that is a CAN controller that controls communication according to a CAN protocol, and a microcomputer that controls the operation of the communication processing control unit. Provided between the control unit, the communication processing control unit and the communication path (communication line), transmits a signal input from the communication processing control unit to the communication line and outputs a signal received from the communication line to the communication processing control unit An ECU including a transmission / reception unit is shown. Further, the ECU shown in Patent Literature 1 includes a control unit between a normal mode when controlling an on-vehicle device that is a control target and a sleep mode (power saving mode) that stops the operation of the control unit itself. The operation mode can be shifted.
  • a sleep mode power saving mode
  • the vehicular instrument disclosed in Patent Document 2 can perform an ending effect by controlling the liquid crystal display panel and the light source when the ignition switch of the vehicle changes from an on state to an off state. That is, in the vehicle instrument shown in Patent Document 2, during execution of an ending effect performed when the ignition switch of the vehicle changes from the on state to the off state, communication with other in-vehicle devices, sensors, etc. While not necessary, control of the vehicle instrument itself is a necessary mode of operation.
  • One object of the present invention is to suppress power consumption while an in-vehicle device is operating in an operation mode in which the in-vehicle device does not need to communicate with other in-vehicle devices or the like, but control of the in-vehicle device itself is necessary.
  • An object of the present invention is to provide an electronic control device that can perform the above-described operation.
  • a first aspect according to the present invention includes a communication processing control unit that controls communication according to a predetermined protocol, and a control unit that controls the operation of the communication processing control unit and the operation of at least one in-vehicle device; Provided between the communication processing control unit and the communication line, transmits the signal input from the communication processing control unit to the communication line and outputs the signal received from the communication line to the communication processing control unit A transmission / reception unit,
  • An electronic control device comprising: The communication processing control unit operates between a normal mode in which the signal received from the communication line is output to the control unit and a power saving mode in which the signal received from the communication line is not output to the control unit. Mode transition is possible,
  • the control unit relates to an electronic control device that shifts the operation mode of the communication processing control unit from the normal mode to the power saving mode in response to a first signal received from the outside of the electronic control device.
  • the electronic control device can shift the operation mode of the communication processing control unit to the power saving mode, not the entire control unit (microcomputer) of the electronic control device. Therefore, the electronic control device according to the first aspect can control the operation of the in-vehicle device that is the control target even after the operation mode of the communication processing control unit is shifted to the power saving mode.
  • the in-vehicle device that is the control target of the electronic control device according to the first aspect does not need to communicate with other in-vehicle devices, sensors, and the like connected to the communication line, but the in-vehicle device itself needs to be controlled.
  • the electronic control device according to the first aspect can suppress power consumption of the electronic control device as compared with an electronic control device capable of shifting the operation mode of only the entire control unit to the power saving mode, for example.
  • the power saving mode of the communication processing control unit is the communication processing control unit when the communication processing control unit receives a second signal from the communication line.
  • the first power saving mode in which the operation mode is shifted to the normal mode.
  • the operation mode of the communication processing control unit is the first power saving mode.
  • the mode can be changed to the normal mode.
  • the power saving mode of the communication processing control unit is configured such that the communication processing control unit receives the second signal from the communication line. Even if the operation mode does not shift to the normal mode and the operation mode is set by the control unit, the operation mode of the communication processing control unit is a second power saving mode in which the operation mode shifts to the normal mode. Good.
  • the operation mode of the communication processing control unit can shift from the second power saving mode to the normal mode.
  • control unit may have an input terminal directly connected to the transmission / reception unit.
  • the control unit has an input terminal directly connected to the transmission / reception unit, thereby controlling that the second signal is received from the communication line when the operation mode of the communication processing control unit is the second power saving mode. Department can grasp.
  • the control unit has changed the operation mode of the communication processing control unit from the normal mode to the power saving mode, When a predetermined condition is satisfied, the operation mode of the control unit may be shifted from the normal mode to the power saving mode.
  • the operation mode of the communication processing control unit shifts from the normal mode to the power saving mode, when a predetermined condition is satisfied, the operation mode of the control unit shifts from the normal mode to the power saving mode.
  • the power consumption can be further reduced.
  • the degree of suppression of power consumption as a whole electronic control device is increased step by step. Can do.
  • FIG. 1 It is a block diagram which shows the example of a structure of the vehicle-mounted network to which the electronic control apparatus of 1st Embodiment of this invention is connected. It is a flowchart figure which shows the example of operation
  • FIG. 5 is a flowchart showing an example of the operation of the electronic control device when the operation mode of the communication processing control unit of the electronic control device shown in FIG. 4 shifts from the normal mode to the stop mode.
  • FIG. 5 is a flowchart showing an example of the operation of the electronic control device when the operation mode of the communication processing control unit of the electronic control device shown in FIG. 4 shifts from the stop mode to the normal mode.
  • FIG. 1 shows an example of a configuration of a CAN (Controller Area Network) network as an example of an in-vehicle network to which the ECU 10 according to the first embodiment of the present invention is connected.
  • the communication line 60 in the example of the in-vehicle network shown in FIG. 1 includes a CAN-H line 60-H and a CAN-L line 60-L.
  • a plurality of ECUs 10 (10-1, 10-2, 10-3) are connected to the communication line 60.
  • the plurality of ECUs 10 can transmit / receive signals to / from other ECUs 10 (for example, ECUs 10-2 and 10-3 with respect to the ECU 10-1) via the communication line 60.
  • the plurality of ECUs 10 can share control data of the corresponding on-vehicle device 40 to be controlled with other ECUs 10.
  • the ECU 10 includes a control unit 20 and a transmission / reception unit 30.
  • the control unit 20 includes, for example, a microcomputer, and includes at least a processing unit 21 that is, for example, a CPU (Central Processing Unit) and a communication processing control unit 26 that is, for example, a CAN controller.
  • a processing unit 21 that is, for example, a CPU (Central Processing Unit)
  • a communication processing control unit 26 that is, for example, a CAN controller.
  • the control unit 20 also includes a rewritable RAM (Random Access Memory), a read-only ROM (Read Only Memory), a non-erasable program read-only EEPROM (Electrically-Erasable Programmable Read-Only Memory), non-volatile You may further provide the memory
  • the processing unit 21 of the control unit 20 can control the operation of at least one in-vehicle device 40 that is a control target.
  • the in-vehicle device 40 include a safety device such as a meter, an air conditioner, an audio device, a navigation device, and a skid prevention device (ESC: Electronic Stability Control).
  • the processing unit 21 can control the operation of the communication processing control unit 26.
  • the communication processing control unit 26 includes a transmission terminal TX and a reception terminal RX, and controls communication according to the CAN protocol. For example, the communication processing control unit 26 can output a signal generated by the processing unit 21 from the transmission terminal TX to the transmission / reception unit 30 under the control of the processing unit 21. Further, the communication processing control unit 26 can output, for example, a signal received from the transmission / reception unit 30 to the processing unit 21.
  • the communication processing control unit 26 performs communication between the normal mode in which the signal received from the transmission / reception unit 30 is output to the processing unit 21 and the power saving mode in which the signal received from the transmission / reception unit 30 is not output to the processing unit 21.
  • the operation mode of the process control unit 26 can be shifted.
  • the operation mode of the communication processing control unit 26 is the power saving mode, for example, an operation clock generated by a clock generation circuit (not shown) of the control unit 20 is not supplied to the communication processing control unit 26. That is, when the operation mode of the communication processing control unit 26 is the power saving mode, the ECU 10 (10-1) communicates with the other ECUs 10 (10-2, 10-3) via the communication line 60. The communication function is stopped.
  • the transmission / reception unit 30 is, for example, a CAN transceiver provided between the communication processing control unit 26 and the communication line 60.
  • the transmission / reception unit 30 converts the signal received from the control unit 20, that is, the communication processing control unit 26, into an electrical signal that conforms to the physical layer standard of the CAN protocol, and transmits the signal to the communication line 60 as a CAN message.
  • the transmission / reception unit 30 converts the CAN message received from the communication line 60 into an electrical signal and outputs it to the control unit 20, that is, the communication processing control unit 26.
  • the transmission / reception unit 30 has a standby pin STB, and the operation mode of the transmission / reception unit 30 transitions between the normal mode and the standby mode in accordance with a standby signal received from the processing unit 21 of the control unit 20. That is, when the transmission / reception unit 30 receives the standby signal Hi from the processing unit 21 at the standby pin STB, the operation mode shifts from the normal mode to the standby mode. Similarly, when the transmission / reception unit 30 receives the standby signal Lo from the processing unit 21 at the standby pin STB, the operation mode shifts from the standby mode to the normal mode.
  • the operation mode of the transmission / reception unit 30 When the operation mode of the transmission / reception unit 30 is the standby mode, the power consumption in the transmission / reception unit 30 can be suppressed as compared to the normal mode. On the other hand, when the operation mode of the transmission / reception unit 30 is the standby mode, for example, the time required for the electric signal conversion in the transmission / reception unit 30 is longer than that in the normal mode.
  • the ECU 10 can shift the operation mode of the communication processing control unit 26 to the power saving mode instead of the entire control unit 20. Therefore, ECU10 can control operation
  • the vehicle-mounted device 40 that is the control target of the ECU 10 does not need to communicate with other vehicle-mounted devices or sensors connected to the communication line 60, while the vehicle-mounted device 40 itself needs to be controlled.
  • the ECU 10 can suppress the power consumption of the ECU 10, for example, by comparing the operation mode of only the entire control unit 20 (or the processing unit 21) with an ECU capable of shifting to the power saving mode.
  • the sleep mode (first power saving mode) is adopted as the power saving mode.
  • the sleep mode will be described in detail with reference to the flowchart shown in FIG.
  • the transmission / reception unit 30 of the ECU 10 receives the CAN message including the first signal from the communication line 60.
  • the first signal is a signal including, for example, an instruction to shift the operation mode of the communication processing control unit 26 of the one or more ECUs 10 from the normal mode to the power saving mode (sleep mode). Further, the first signal may be, for example, a signal including that an ignition switch (not shown) has changed from an on state to an off state.
  • step S102 the transmission / reception unit 30 outputs the first signal included in the CAN message received in step S101 to the reception terminal RX of the communication processing control unit 26 of the control unit 20.
  • step S103 the communication processing control unit 26 outputs the first signal received in step S102 to the control unit 20, specifically, the processing unit 21 of the control unit 20.
  • step S104 the processing unit 21 of the control unit 20 switches the standby signal output to the standby pin STB of the transmission / reception unit 20 from the standby signal Lo to the standby signal Hi according to the first signal received in step S103.
  • step S105 the processing unit 21 of the control unit 20 responds to the first signal received in step S103 so that the operation mode of the communication processing control unit 26 shifts from the normal mode to the sleep mode. Rewrite the setting register.
  • step S106 the operation mode of the transmission / reception unit 30 shifts from the normal mode to the standby mode in accordance with the standby signal Hi received by the transmission / reception unit 30 in step S104.
  • step S107 when the setting register of the communication processing control unit 26 is rewritten in step S105, the operation mode of the communication processing control unit 26 shifts from the normal mode to the sleep mode.
  • the processing unit 21 of the control unit 20 receives the first signal received from the communication line 60 by the transmission / reception unit 30 via the communication processing control unit 26 (step S101, step S101). S102 and step S103).
  • the processing unit 21 of the control unit 20 may receive the first signal directly from, for example, an ignition switch (not shown).
  • step S104 and step S105 may be interchanged.
  • step S106 and the process of step S107 may be interchanged.
  • the transmission / reception unit 30 of the ECU 10 receives the first frame of the CAN message including the second signal from the communication line 60.
  • the second signal is, for example, a signal including an instruction to shift the operation mode of the communication processing control unit 26 of one or more ECUs 10 from the power saving mode (sleep mode) to the normal mode.
  • the second signal may be, for example, control data of the in-vehicle device controlled by another ECU transmitted from another ECU connected to the communication line 60.
  • the second signal may be, for example, a signal including that an ignition switch (not shown) has changed from an off state to an on state.
  • step S109 the transmission / reception unit 30 outputs the second signal received in step S108 to the reception terminal RX of the communication processing control unit 26 of the control unit 20.
  • step S110 the operation mode of the communication processing control unit 26 shifts from the sleep mode to the normal mode by the second signal received by the communication processing control unit 26. That is, in the sleep mode that is the first power saving mode, when the communication processing control unit 26 receives the second signal, for example, the setting register of the communication processing control unit 26 does not need to be rewritten by the processing unit 21 of the control unit 20. The operation mode of the communication processing control unit 26 is changed from the sleep mode to the normal mode.
  • step S111 for example, the communication processing control unit 26 outputs a wakeup signal indicating that the operation mode of the communication processing control unit 26 has shifted from the sleep mode to the normal mode to the processing unit 21 of the control unit 20.
  • step S112 the processing unit 21 of the control unit 20 switches the standby signal output to the standby pin STB of the transmission / reception unit 20 from the standby signal Hi to the standby signal Lo according to the wakeup signal received in step S111.
  • step S113 the processing unit 21 of the control unit 20 rewrites the setting register of the communication processing control unit 26 so that the operation mode of the communication processing control unit 26 shifts from the normal mode to the initialization mode.
  • step S114 the operation mode of the transmission / reception unit 30 shifts from the standby mode to the normal mode in accordance with the standby signal Lo received by the transmission / reception unit 30 in step S112.
  • step S115 the transmission / reception unit 30 receives the termination frame of the CAN message including the second signal from the communication line 60.
  • step S116 the transmission / reception unit 30 outputs to the reception terminal RX of the communication processing control unit 26 of the control unit 20 that the termination frame of the CAN message including the second signal is received in step S115.
  • step S117 after waiting for one frame of the CAN message including the second signal to end, the communication processing control unit 26 shifts the operation mode of the communication processing control unit 26 from the normal mode to the initialization mode.
  • step S118 after the initialization process in the initialization mode of the communication process control unit 26 is completed, the operation mode of the communication process control unit 26 shifts from the initialization mode to the normal mode.
  • the operation mode of the communication processing control unit 26 shifts from the normal mode to the initialization mode in step S117, the operation mode of the communication processing control unit 26 is changed from the power saving mode (first power saving mode) to the normal mode.
  • the normal operation of the communication processing control unit 26 after returning can be ensured. For example, even if an abnormality occurs in the setting register of the communication processing control unit 26 due to some trouble or failure while the operation mode of the communication processing control unit 26 is the power saving mode, the initialization process in the initialization mode This incident is resolved.
  • the initialization process in the initialization mode is not necessarily required, and the initialization process in the initialization mode may be omitted.
  • the processes of step S113, step S117, and step S118 may be omitted.
  • Second Embodiment A second embodiment of the ECU 10 of the present invention will be described with reference to FIGS. 4, 5 and 6.
  • 2nd Embodiment of ECU10 of this invention is a modification of 1st Embodiment mentioned above. Therefore, in the description of the second embodiment, only parts different from the first embodiment will be described, and description of similar parts will be omitted.
  • symbol used for description of 1st Embodiment is used for the component which is common in 1st Embodiment.
  • FIG. 4 shows an example of the configuration of a CAN network to which the ECU 10 according to the second embodiment of the present invention is connected.
  • the processing unit 21 of the control unit 20 of the ECU 10 further includes an interrupt terminal 23.
  • the transmission / reception unit 30 and the communication processing control are performed so that the signal output from the transmission / reception unit 30 to the reception terminal RX of the communication processing control unit 26 is also output to the interrupt terminal 23 of the processing unit 21 of the control unit 20.
  • a connection line connecting the receiving terminal RX of the unit 26 is branched and connected to the processing unit 21.
  • FIGS. 5 and 6 The operation of the ECU 10 in the second embodiment will be described with reference to FIGS. 5 and 6, an example of an operation in which the operation mode of the communication processing control unit 26 of the ECU 10 in the second embodiment shifts from the normal mode to the power saving mode will be described with reference to the flowchart shown in FIG.
  • a stop mode (second power saving mode) is adopted as the power saving mode.
  • the stop mode will be described in detail with reference to the flowchart shown in FIG.
  • FIGS. 5 and 6 only the parts different from the flowcharts shown in FIGS. 2 and 3 will be described, and the same parts will be described with the corresponding relationship and the description will be omitted.
  • Step S201 shown in FIG. 5 corresponds to step S101 shown in FIG.
  • Step S202 corresponds to step S102.
  • Step S203 corresponds to step S103.
  • Step S204 corresponds to step S104.
  • Step S205 corresponds to step S105.
  • Step S206 corresponds to step S106.
  • Step S207 corresponds to step S107.
  • step S208 the processing unit 21 of the control unit 20 further rewrites the setting register of the communication processing control unit 26 so that the operation mode of the communication processing control unit 26 shifts from the sleep mode to the stop mode.
  • step S209 when the setting register of the communication processing control unit 26 is rewritten in step S208, the operation mode of the communication processing control unit 26 shifts from the sleep mode to the stop mode.
  • the sleep mode further shifts to the stop mode.
  • the operation mode of the communication processing control unit 26 may shift directly from the normal mode to the stop mode.
  • the process of step S208 may be executed instead of the process of step S205
  • the process of step S209 may be executed instead of the process of step S207.
  • Step S210 shown in FIG. 6 corresponds to step S108 shown in FIG.
  • Step S211 corresponds to step S109.
  • the operation mode of the communication processing control unit 26 does not shift from the stop mode to the normal mode in response to the output of the second signal to the communication processing control unit 26 in step S211. That is, in the ECU 10 in the second embodiment, the stop mode is continued as the operation mode of the communication processing control unit 26 at the stage where the second signal is output to the communication processing control unit 26 in step S211.
  • step S212 the second signal output from the transmission / reception unit 30 to the reception terminal RX of the communication processing control unit 26 in step S211 is input to the interrupt terminal 23 of the processing unit 21 of the control unit 20.
  • the second signal output in step S211 is processed by the control unit 20 through the connection line branched from the connection line connecting the transmission / reception unit 30 and the reception terminal RX of the communication processing control unit 26. Input to the interrupt terminal 23 of the unit 21.
  • Step S213 corresponds to step S112. However, in step S213, the standby signal output to the standby pin STB of the transmission / reception unit 20 is not received from the standby signal Hi in accordance with the second signal received from the transmission / reception unit 30 in step S212, not according to the wake-up signal. Switch to standby signal Lo. Step S215 corresponds to step S114.
  • step S214 the processing unit 21 of the control unit 20 sets the setting register of the communication processing control unit 26 so that the operation mode of the communication processing control unit 26 returns from the stop mode, that is, shifts from the stop mode to the sleep mode. Rewrite.
  • step S216 when the setting register of the communication processing control unit 26 is rewritten in step S214, the operation mode of the communication processing control unit 26 shifts from the stop mode to the sleep mode.
  • step S217 the processing unit 21 of the control unit 20 sets the setting register of the communication processing control unit 26 so that the operation mode of the communication processing control unit 26 returns from the sleep mode, that is, shifts from the sleep mode to the normal mode. Rewrite further.
  • Step S219 corresponds to step S113.
  • Step S220 corresponds to step S115.
  • Step S221 corresponds to step S116.
  • Step S222 corresponds to step S117.
  • Step S223 corresponds to step S118.
  • step S217 may be executed instead of the process of step S214, or the process of step S218 may be executed instead of the process of step S216.
  • the operation mode of the communication processing control unit 26 shifts from the stop mode to the normal mode when the second signal is output to the communication processing control unit 26. is not. That is, in the stop mode which is the second power saving mode, the operation mode of the communication processing control unit 26 is changed from the stop mode to the normal mode by rewriting the setting register of the communication processing control unit 26 by the processing unit 21 of the control unit 20. It is to be migrated.
  • the communication processing control unit 26 sets the first frame of the CAN message including the second signal in step S211. Does not recognize. As a result, since the communication processing control unit 26 does not recognize the frames after the first frame of the CAN message including the second signal, the entire CAN message including the second signal is transferred from the communication processing control unit 26 to the control unit 20. It is not output to the processing unit 21. That is, after the operation mode of the communication processing control unit 26 shifts to the stop mode, the CAN message received by the transmission / reception unit 30 is output until the termination frame of the CAN message including the second signal is output to the communication processing control unit 26. There is no output from the communication processing control unit 26 to the processing unit 21 of the control unit 20.
  • the CAN message received from the transmission / reception unit 30 by the communication processing control unit 26 is output to the processing unit 21 of the control unit 20 in FIG. It is after execution of the process of step S223 in the flowchart shown.
  • the processing unit 21 of the control unit 20 may A CAN message that is not in the state is not received from the communication processing control unit 26. Therefore, even if such a state occurs, the processing unit 21 of the control unit 20 does not recognize that some abnormal state has occurred in the ECU 10.
  • the operation mode of the communication process control part 26 is a stop mode which is a 2nd power saving mode.
  • the processing unit 21 can grasp that the second signal has been received from the communication line 60.
  • the operation mode of the communication processing control unit 26 shifts from the stop mode to the normal mode by the second signal received by the transmission / reception unit 30 from the communication line 60. can do.
  • the process part 21 of the control part 20 is a signal output from the transmission / reception part 30 only when the operation mode of the communication process control part 26 is a stop mode which is a 2nd power saving mode. May be received from the interrupt terminal 23. That is, when the operation mode of the communication processing control unit 26 is the sleep mode that is the first power saving mode or the normal mode, the processing unit 21 may prohibit the input to the interrupt terminal 23.
  • the communication processing control unit 26 of the control unit 20 of the ECU 10 not only the communication processing control unit 26 of the control unit 20 of the ECU 10 but also the operation mode of the entire control unit 20 or the processing unit 21 is the normal mode. You may be comprised so that transfer between power saving modes is possible. For example, after the operation mode of the communication processing control unit 26 shifts from the normal mode to the power saving mode, the communication of the in-vehicle device 40 to be controlled with other in-vehicle devices connected to the communication line 60, sensors, etc. On the other hand, after the operation in the operation mode that requires the control of the in-vehicle device 40 itself is completed, the entire control unit 20 or the operation mode of the processing unit 21 may shift from the normal mode to the power saving mode. .
  • the entire control unit 20 or the operation mode of the processing unit 21 is changed from the normal mode to the power saving mode. You may migrate. For example, during this predetermined time, the vehicle-mounted device 40 to be controlled does not need to communicate with other vehicle-mounted devices or sensors connected to the communication line 60, but the vehicle-mounted device 40 itself needs to be controlled. It is preferable that a sufficient time is set so that the operation in the operation mode is completed. Further, for example, when a predetermined signal is received from the in-vehicle device 40, the entire control unit 20 or the operation mode of the processing unit 21 may shift from the normal mode to the power saving mode.
  • the predetermined signal does not need to communicate with other in-vehicle devices, sensors, and the like connected to the communication line 60 of the in-vehicle device 40 to be controlled, but it is necessary to control the in-vehicle device 40 itself.
  • the vehicle-mounted device 40 may output the processing unit 21 of the control unit 20.
  • the entire control unit 20 or the operation mode of the processing unit 21 changes from the normal mode to the power saving mode.
  • the power consumption of the ECU 10 can be further suppressed.
  • the degree of suppression of power consumption as a whole of the ECU 10 by shifting to the power saving mode at a timing at which the entire control unit 20 or the respective operation modes in the processing unit 21 and the communication processing control unit 26 can shift to the power saving mode. Can be increased step by step.
  • the interrupt terminal 23 of the processing unit 21 of the control unit 20 is connected to the interrupt terminal 23.
  • the operation mode of the entire control unit 20 or the processing unit 21 may shift from the power saving mode to the normal mode.
  • the processing unit 21 of the control unit 20 receives a predetermined signal from the in-vehicle device 40 to be controlled, the entire control unit 20 or the operation mode of the processing unit 21 shifts from the power saving mode to the normal mode. May be.
  • the in-vehicle device 40 may generate a predetermined signal in response to a predetermined operation input from a user of the in-vehicle device 40, for example.
  • the present invention is suitable for an electronic control device that controls a vehicle display device mounted on a vehicle.

Abstract

The objective of the present invention is to provide an electronic control device with which it is possible to limit power consumption during a period in which a vehicle-mounted device is operating in an operating mode in which the vehicle-mounted device does not need to communicate with another vehicle-mounted device or the like but does need to be controlled. An electronic control device 10 is provided with: a control unit 20 which includes a communication processing control unit 26 for controlling communications that use a certain protocol, and which controls the operation of the communication processing control unit 26 and the operation of at least one vehicle-mounted device 40; and a transmitting and receiving unit 30 provided between the communication processing control unit 26 and a communication line 60. The communication processing control unit 26 is capable of transitioning between operating modes, namely a normal mode in which a signal received from the communication line 60 is output to the control unit 20, and a power-saving mode in which a signal received from the communication line 60 is not output to the control unit 20. The control unit 20 causes the operating mode of the communication processing control unit 26 to transition from the normal mode to the power-saving mode upon receipt of a first signal.

Description

電子制御装置Electronic control unit
 本発明は、電子制御装置に関する。本発明は、特に、車両に搭載されて他の電子制御装置と通信可能な電子制御装置であって、消費電力を抑える動作モードを有する電子制御装置に関する。 The present invention relates to an electronic control device. In particular, the present invention relates to an electronic control device that is mounted on a vehicle and can communicate with another electronic control device, and has an operation mode that suppresses power consumption.
 車両には、複数の車載装置を制御するために複数の電子制御装置(ECU:Electronic Control Unit)が搭載されている。この複数のECUは、通信線を介して互いに信号を送受信可能に通信線に接続されている。この送受信に係る通信に用いられるプロトコルとして、例えばCAN(Controller Area Network)プロトコルがある。 The vehicle is equipped with a plurality of electronic control units (ECUs) for controlling a plurality of in-vehicle devices. The plurality of ECUs are connected to the communication line so that signals can be transmitted and received with each other via the communication line. As a protocol used for communication related to this transmission / reception, for example, there is a CAN (Controller Area Network) protocol.
 車両に搭載されるECUの数は、車載装置の高機能化、安全性向上のために増加しつつある。そのため、ECUの制御対象である車載装置の制御が不要なときに、ECUの消費電力を抑える動作モードを有するものが知られている。 The number of ECUs mounted on vehicles is increasing for higher functionality and improved safety of in-vehicle devices. Therefore, what has an operation mode which suppresses the power consumption of ECU when the control of the vehicle-mounted apparatus which is the control object of ECU is unnecessary is known.
 このようなECUの例として、例えば、特許文献1には、CANプロトコルによる通信を制御するCANコントローラである通信処理制御部と、この通信処理制御部の動作を制御するマイクロコンピュータ(マイコン)である制御部と、通信処理制御部と通信路(通信線)との間に設けられ、通信処理制御部から入力する信号を通信線へ送信すると共に通信線から受信する信号を通信処理制御部へ出力する送受信部と、を備えるECUが示されている。また、特許文献1に示されているECUは、制御対象である車載装置を制御する際の通常モードと、制御部自体の動作を停止させるスリープモード(省電力モード)と、の間で制御部の動作モードを移行可能に構成されている。 As an example of such an ECU, for example, Patent Document 1 discloses a communication processing control unit that is a CAN controller that controls communication according to a CAN protocol, and a microcomputer that controls the operation of the communication processing control unit. Provided between the control unit, the communication processing control unit and the communication path (communication line), transmits a signal input from the communication processing control unit to the communication line and outputs a signal received from the communication line to the communication processing control unit An ECU including a transmission / reception unit is shown. Further, the ECU shown in Patent Literature 1 includes a control unit between a normal mode when controlling an on-vehicle device that is a control target and a sleep mode (power saving mode) that stops the operation of the control unit itself. The operation mode can be shifted.
特開2012-165257号公報JP 2012-165257 A 特開2010-158995号公報JP 2010-158995 A
 ところで、車載装置によっては、通信線に接続されている他の車載装置、センサ等との通信は必要ない一方で、車載装置自体の制御は必要である動作態様を有するものがある。例えば、特許文献2に示されている車両用計器は、車両のイグニッションスイッチがオン状態からオフ状態に変化したときに、液晶表示パネルと光源とを制御してエンディング演出を行うことができる。すなわち、特許文献2に示されている車両用計器において、車両のイグニッションスイッチがオン状態からオフ状態に変化したときに行われるエンディング演出の実行中は、他の車載装置、センサ等との通信は必要ない一方で、車両用計器自体の制御は必要な動作態様である。 By the way, some in-vehicle devices do not require communication with other in-vehicle devices connected to the communication line, sensors, and the like, but have an operation mode in which control of the in-vehicle device itself is necessary. For example, the vehicular instrument disclosed in Patent Document 2 can perform an ending effect by controlling the liquid crystal display panel and the light source when the ignition switch of the vehicle changes from an on state to an off state. That is, in the vehicle instrument shown in Patent Document 2, during execution of an ending effect performed when the ignition switch of the vehicle changes from the on state to the off state, communication with other in-vehicle devices, sensors, etc. While not necessary, control of the vehicle instrument itself is a necessary mode of operation.
 このような車載装置の動作を特許文献1で示されているようなECUで制御すると仮定すると、他の車載装置、センサ等との通信は必要ない一方で、車載装置自体の制御は必要である動作態様で車載装置が動作している間は、制御部の動作モードを省電力モードに移行することができないことを、発明者は認識した。このように、特許文献1に示されているECUにおいては、制御対象である車載装置の制御に係る消費電力を抑えることに関して、改善の余地があることを、本発明者は認識した。 Assuming that the operation of such a vehicle-mounted device is controlled by an ECU as shown in Patent Document 1, communication with other vehicle-mounted devices, sensors, etc. is not necessary, but control of the vehicle-mounted device itself is necessary. The inventor has recognized that the operation mode of the control unit cannot be shifted to the power saving mode while the in-vehicle device is operating in the operation mode. Thus, in the ECU shown in Patent Document 1, the present inventor has recognized that there is room for improvement in terms of suppressing power consumption related to control of an in-vehicle device that is a control target.
 本発明の1つの目的は、車載装置が他の車載装置等との通信は必要ない一方で、車載装置自体の制御は必要である動作態様で車載装置が動作している間に消費電力を抑えることができる電子制御装置を提供することにある。本発明の他の目的は、以下に例示する態様及び好ましい実施形態、並びに添付の図面を参照することによって、当業者に明らかになるであろう。 One object of the present invention is to suppress power consumption while an in-vehicle device is operating in an operation mode in which the in-vehicle device does not need to communicate with other in-vehicle devices or the like, but control of the in-vehicle device itself is necessary. An object of the present invention is to provide an electronic control device that can perform the above-described operation. Other objects of the present invention will become apparent to those skilled in the art by referring to the aspects and preferred embodiments exemplified below and the accompanying drawings.
 本発明に従う第1の態様は、所定のプロトコルによる通信を制御する通信処理制御部を有し、この通信処理制御部の動作及び少なくとも1つの車載装置の動作を制御する制御部と、
 前記通信処理制御部と前記通信線との間に設けられ、前記通信処理制御部から入力する前記信号を前記通信線へ送信すると共に前記通信線から受信する前記信号を前記通信処理制御部へ出力する送受信部と、
 を備える電子制御装置であって、
 前記通信処理制御部は、前記通信線から受信した前記信号を前記制御部へ出力する通常モードと、前記通信線から受信した前記信号を前記制御部へ出力しない省電力モードと、の間で動作モードを移行可能であり、
 前記制御部は、前記電子制御装置の外側から受け取る第1信号に応じて前記通信処理制御部の前記動作モードを前記通常モードから前記省電力モードに移行させる電子制御装置に関する。
A first aspect according to the present invention includes a communication processing control unit that controls communication according to a predetermined protocol, and a control unit that controls the operation of the communication processing control unit and the operation of at least one in-vehicle device;
Provided between the communication processing control unit and the communication line, transmits the signal input from the communication processing control unit to the communication line and outputs the signal received from the communication line to the communication processing control unit A transmission / reception unit,
An electronic control device comprising:
The communication processing control unit operates between a normal mode in which the signal received from the communication line is output to the control unit and a power saving mode in which the signal received from the communication line is not output to the control unit. Mode transition is possible,
The control unit relates to an electronic control device that shifts the operation mode of the communication processing control unit from the normal mode to the power saving mode in response to a first signal received from the outside of the electronic control device.
 第1の態様の電子制御装置は、電子制御装置の制御部(マイクロコンピュータ)全体ではなく、通信処理制御部の動作モードが省電力モードに移行することができる。そのため、第1の態様の電子制御装置は、通信処理制御部の動作モードを省電力モードに移行させた後も、制御対象である車載装置の動作を制御することができる。 The electronic control device according to the first aspect can shift the operation mode of the communication processing control unit to the power saving mode, not the entire control unit (microcomputer) of the electronic control device. Therefore, the electronic control device according to the first aspect can control the operation of the in-vehicle device that is the control target even after the operation mode of the communication processing control unit is shifted to the power saving mode.
 例えば、第1の態様の電子制御装置の制御対象である車載装置が、通信線に接続されている他の車載装置、センサ等との通信は必要ない一方で、車載装置自体の制御は必要である動作態様で動作するとする。このときに、第1の態様の電子制御装置は、例えば制御部全体のみの動作モードを省電力モードに移行可能な電子制御装置と比較して、電子制御装置の消費電力を抑えることができる。 For example, the in-vehicle device that is the control target of the electronic control device according to the first aspect does not need to communicate with other in-vehicle devices, sensors, and the like connected to the communication line, but the in-vehicle device itself needs to be controlled. Suppose that it operates in a certain mode of operation. At this time, the electronic control device according to the first aspect can suppress power consumption of the electronic control device as compared with an electronic control device capable of shifting the operation mode of only the entire control unit to the power saving mode, for example.
 本発明に従う第2の態様では、第1の態様において、前記通信処理制御部の前記省電力モードは、前記通信処理制御部が前記通信線から第2信号を受信するときに前記通信処理制御部の前記動作モードが前記通常モードに移行する第1省電力モードであってもよい。 In a second aspect according to the present invention, in the first aspect, the power saving mode of the communication processing control unit is the communication processing control unit when the communication processing control unit receives a second signal from the communication line. The first power saving mode in which the operation mode is shifted to the normal mode.
 第1省電力モードは、通信処理制御部が第2信号を受け取ったときに、例えば制御部によって通信処理制御部の設定レジスタが書き換えられることなく、通信処理制御部の動作モードが第1省電力モードから通常モードに移行することができる。 In the first power saving mode, when the communication processing control unit receives the second signal, for example, the setting unit of the communication processing control unit is not rewritten by the control unit, and the operation mode of the communication processing control unit is the first power saving mode. The mode can be changed to the normal mode.
 本発明に従う第3の態様では、第1の態様において、前記通信処理制御部の前記省電力モードは、前記通信処理制御部が前記通信線から第2信号を受信するときには前記通信処理制御部の前記動作モードが前記通常モードに移行せず、前記制御部によって動作モードの設定がなされたときに前記通信処理制御部の前記動作モードが前記通常モードに移行する第2省電力モードであってもよい。 In a third aspect according to the present invention, in the first aspect, the power saving mode of the communication processing control unit is configured such that the communication processing control unit receives the second signal from the communication line. Even if the operation mode does not shift to the normal mode and the operation mode is set by the control unit, the operation mode of the communication processing control unit is a second power saving mode in which the operation mode shifts to the normal mode. Good.
 第2省電力モードは、制御部によって通信処理制御部の設定レジスタが書き換えられることによって、通信処理制御部の動作モードが第2省電力モードから通常モードに移行することができる。 In the second power saving mode, when the setting register of the communication processing control unit is rewritten by the control unit, the operation mode of the communication processing control unit can shift from the second power saving mode to the normal mode.
 本発明に従う第4の態様では、第3の態様において、前記制御部は、前記送受信部と直接接続される入力端子を有してもよい。 In a fourth aspect according to the present invention, in the third aspect, the control unit may have an input terminal directly connected to the transmission / reception unit.
 制御部が送受信部と直接接続される入力端子を有していることによって、通信処理制御部の動作モードが第2省電力モードであるときに、通信線から第2信号を受信したことを制御部が把握することができる。 The control unit has an input terminal directly connected to the transmission / reception unit, thereby controlling that the second signal is received from the communication line when the operation mode of the communication processing control unit is the second power saving mode. Department can grasp.
 本発明に従う第5の態様では、第1から第4の態様において、前記制御部は、前記通信処理制御部の前記動作モードを前記通常モードから前記省電力モードに移行させた後であって、所定の条件が満たされたときに、前記制御部の動作モードを通常モードから省電力モードに移行させてもよい。 In a fifth aspect according to the present invention, in the first to fourth aspects, the control unit has changed the operation mode of the communication processing control unit from the normal mode to the power saving mode, When a predetermined condition is satisfied, the operation mode of the control unit may be shifted from the normal mode to the power saving mode.
 通信処理制御部の動作モードが通常モードから省電力モードに移行した後、所定の条件が満たされたときに、制御部の動作モードが通常モードから省電力モードへ移行することによって、電子制御装置の消費電力をさらに抑えることができる。また、制御部と通信処理制御部とにおけるそれぞれの動作モードが省電力モードに移行できるタイミングで省電力モードに移行することによって、電子制御装置全体としての消費電力の抑制度合いを段階的に高めることができる。 After the operation mode of the communication processing control unit shifts from the normal mode to the power saving mode, when a predetermined condition is satisfied, the operation mode of the control unit shifts from the normal mode to the power saving mode. The power consumption can be further reduced. In addition, by shifting to the power saving mode at the timing when each operation mode in the control unit and the communication processing control unit can shift to the power saving mode, the degree of suppression of power consumption as a whole electronic control device is increased step by step. Can do.
本発明の第1実施形態の電子制御装置が接続される車載ネットワークの構成の例を示すブロック図である。It is a block diagram which shows the example of a structure of the vehicle-mounted network to which the electronic control apparatus of 1st Embodiment of this invention is connected. 図1に示される電子制御装置の通信処理制御部の動作モードが通常モードからスリープモードに移行するときの電子制御装置の動作の例を示すフローチャート図である。It is a flowchart figure which shows the example of operation | movement of an electronic control apparatus when the operation mode of the communication process control part of the electronic control apparatus shown by FIG. 1 transfers to a sleep mode from a normal mode. 図1に示される電子制御装置の通信処理制御部の動作モードがスリープモードから通常モードに移行するときの電子制御装置の動作の例を示すフローチャート図である。It is a flowchart figure which shows the example of operation | movement of an electronic control apparatus when the operation mode of the communication process control part of the electronic control apparatus shown by FIG. 1 transfers to a normal mode from a sleep mode. 本発明の第2実施形態の電子制御装置が接続される車載ネットワークの構成の例を示すブロック図である。It is a block diagram which shows the example of a structure of the vehicle-mounted network to which the electronic control apparatus of 2nd Embodiment of this invention is connected. 図4に示される電子制御装置の通信処理制御部の動作モードが通常モードからストップモードに移行するときの電子制御装置の動作の例を示すフローチャート図である。FIG. 5 is a flowchart showing an example of the operation of the electronic control device when the operation mode of the communication processing control unit of the electronic control device shown in FIG. 4 shifts from the normal mode to the stop mode. 図4に示される電子制御装置の通信処理制御部の動作モードがストップモードから通常モードに移行するときの電子制御装置の動作の例を示すフローチャート図である。FIG. 5 is a flowchart showing an example of the operation of the electronic control device when the operation mode of the communication processing control unit of the electronic control device shown in FIG. 4 shifts from the stop mode to the normal mode.
 以下に説明する好ましい実施形態は、本発明を容易に理解するために用いられている。従って、当業者は、本発明が、以下に説明される実施形態によって不当に限定されないことを留意すべきである。 The preferred embodiments described below are used to facilitate understanding of the present invention. Accordingly, those skilled in the art should note that the present invention is not unduly limited by the embodiments described below.
 《第1実施形態》
 図1、図2及び図3を用いて、本発明の電子制御装置(ECU:Electronic Control Unit)10の第1実施形態を説明する。図1には、本発明の第1実施形態のECU10が接続される車載ネットワークの例としてCAN(Controller Area Network)ネットワークの構成の例が示されている。図1に示される車載ネットワークの例における通信線60は、CAN-Hライン60-H及びCAN-Lライン60-Lで構成されている。
<< First Embodiment >>
A first embodiment of an electronic control unit (ECU) 10 of the present invention will be described with reference to FIGS. 1, 2, and 3. FIG. 1 shows an example of a configuration of a CAN (Controller Area Network) network as an example of an in-vehicle network to which the ECU 10 according to the first embodiment of the present invention is connected. The communication line 60 in the example of the in-vehicle network shown in FIG. 1 includes a CAN-H line 60-H and a CAN-L line 60-L.
 通信線60には、複数のECU10(10-1,10-2,10-3)が接続されている。複数のECU10は、通信線60を介して他のECU10(例えばECU10-1に対してECU10-2,10-3)と信号の送受信を行うことができる。例えば、複数のECU10は、対応する制御対象の車載装置40等の制御データを他のECU10と共有することができる。 A plurality of ECUs 10 (10-1, 10-2, 10-3) are connected to the communication line 60. The plurality of ECUs 10 can transmit / receive signals to / from other ECUs 10 (for example, ECUs 10-2 and 10-3 with respect to the ECU 10-1) via the communication line 60. For example, the plurality of ECUs 10 can share control data of the corresponding on-vehicle device 40 to be controlled with other ECUs 10.
 複数のECU10の構成として、ECU10-1の構成の例を示す。ECU10は、制御部20と送受信部30とを備える。制御部20は、例えばマイクロコンピュータ(マイコン)で構成され、少なくとも例えばCPU(Central Processing Unit)である処理部21と例えばCANコントローラである通信処理制御部26とを備える。また、制御部20は、図示されていない書き換え可能なRAM(Random Access Memory)、読み出し専用のROM(Read Only Memory)、消去不能なプログラム読み出し専用のEEPROM(Electrically Erasable Programmable Read-Only Memory)、不揮発性メモリであるフラッシュメモリ等のプログラム及び/又はデータを記憶可能な1又は複数のメモリで構成される記憶部をさらに備えてもよい。 An example of the configuration of the ECU 10-1 is shown as the configuration of the plurality of ECUs 10. The ECU 10 includes a control unit 20 and a transmission / reception unit 30. The control unit 20 includes, for example, a microcomputer, and includes at least a processing unit 21 that is, for example, a CPU (Central Processing Unit) and a communication processing control unit 26 that is, for example, a CAN controller. The control unit 20 also includes a rewritable RAM (Random Access Memory), a read-only ROM (Read Only Memory), a non-erasable program read-only EEPROM (Electrically-Erasable Programmable Read-Only Memory), non-volatile You may further provide the memory | storage part comprised by 1 or several memory which can memorize | store a program and / or data, such as flash memory which is volatile memory.
 制御部20の処理部21は、制御対象である少なくとも1つの車載装置40の動作を制御することができる。車載装置40の例としては、例えば、メータ、エアコン、オーディオ装置、ナビゲーション装置、横滑り防止装置(ESC:Electronic Stability Control)等の安全装置等である。また、処理部21は、通信処理制御部26の動作を制御することができる。 The processing unit 21 of the control unit 20 can control the operation of at least one in-vehicle device 40 that is a control target. Examples of the in-vehicle device 40 include a safety device such as a meter, an air conditioner, an audio device, a navigation device, and a skid prevention device (ESC: Electronic Stability Control). Further, the processing unit 21 can control the operation of the communication processing control unit 26.
 通信処理制御部26は、送信用端子TX及び受信用端子RXを有し、CANプロトコルによる通信を制御する。通信処理制御部26は、例えば、処理部21の制御に応じて、処理部21によって生成された信号を送信用端子TXから送受信部30に出力することができる。また、通信処理制御部26は、例えば、送受信部30から受け取った信号を、処理部21へ出力することができる。 The communication processing control unit 26 includes a transmission terminal TX and a reception terminal RX, and controls communication according to the CAN protocol. For example, the communication processing control unit 26 can output a signal generated by the processing unit 21 from the transmission terminal TX to the transmission / reception unit 30 under the control of the processing unit 21. Further, the communication processing control unit 26 can output, for example, a signal received from the transmission / reception unit 30 to the processing unit 21.
 また、通信処理制御部26は、送受信部30から受け取った信号を処理部21に出力する通常モードと、送受信部30から受け取った信号を処理部21に出力しない省電力モードとの間で、通信処理制御部26の動作モードを移行することができる。通信処理制御部26の動作モードが省電力モードであるときは、例えば、制御部20の図示されていないクロック発生回路が発生させる動作クロックが、通信処理制御部26に対して供給されない。すなわち、通信処理制御部26の動作モードが省電力モードであるときには、ECU10(10-1)が他のECU10(10-2,10-3)と通信線60を介した通信をするための、通信機能を停止した状態である。 Further, the communication processing control unit 26 performs communication between the normal mode in which the signal received from the transmission / reception unit 30 is output to the processing unit 21 and the power saving mode in which the signal received from the transmission / reception unit 30 is not output to the processing unit 21. The operation mode of the process control unit 26 can be shifted. When the operation mode of the communication processing control unit 26 is the power saving mode, for example, an operation clock generated by a clock generation circuit (not shown) of the control unit 20 is not supplied to the communication processing control unit 26. That is, when the operation mode of the communication processing control unit 26 is the power saving mode, the ECU 10 (10-1) communicates with the other ECUs 10 (10-2, 10-3) via the communication line 60. The communication function is stopped.
 送受信部30は、通信処理制御部26と通信線60との間に設けられる例えばCANトランシーバである。送受信部30は、制御部20、すなわち通信処理制御部26から受け取った信号を、CANプロトコルの物理層の規格に準拠した電気信号変換し、CANメッセージとして通信線60へ送信する。また、送受信部30は、通信線60から受信したCANメッセージを電気信号変換し、制御部20、すなわち通信処理制御部26へ出力する。 The transmission / reception unit 30 is, for example, a CAN transceiver provided between the communication processing control unit 26 and the communication line 60. The transmission / reception unit 30 converts the signal received from the control unit 20, that is, the communication processing control unit 26, into an electrical signal that conforms to the physical layer standard of the CAN protocol, and transmits the signal to the communication line 60 as a CAN message. In addition, the transmission / reception unit 30 converts the CAN message received from the communication line 60 into an electrical signal and outputs it to the control unit 20, that is, the communication processing control unit 26.
 また、送受信部30は、スタンバイピンSTBを有しており、制御部20の処理部21から受け取るスタンバイ信号に応じて、送受信部30の動作モードが通常モードとスタンバイモードとの間で移行する。すなわち、送受信部30は、スタンバイピンSTBに処理部21からスタンバイ信号Hiを受け取ったときに、動作モードが通常モードからスタンバイモードに移行する。同様に、送受信部30は、スタンバイピンSTBに処理部21からスタンバイ信号Loを受け取ったときに、動作モードがスタンバイモードから通常モードに移行する。 Further, the transmission / reception unit 30 has a standby pin STB, and the operation mode of the transmission / reception unit 30 transitions between the normal mode and the standby mode in accordance with a standby signal received from the processing unit 21 of the control unit 20. That is, when the transmission / reception unit 30 receives the standby signal Hi from the processing unit 21 at the standby pin STB, the operation mode shifts from the normal mode to the standby mode. Similarly, when the transmission / reception unit 30 receives the standby signal Lo from the processing unit 21 at the standby pin STB, the operation mode shifts from the standby mode to the normal mode.
 送受信部30の動作モードがスタンバイモードであるときは、通常モードであるときと比較して、送受信部30での消費電力が抑えられる。その一方で、送受信部30の動作モードがスタンバイモードであるときは、通常モードであるときと比較して、例えば送受信部30での電気信号変換に必要な時間が長くなる。 When the operation mode of the transmission / reception unit 30 is the standby mode, the power consumption in the transmission / reception unit 30 can be suppressed as compared to the normal mode. On the other hand, when the operation mode of the transmission / reception unit 30 is the standby mode, for example, the time required for the electric signal conversion in the transmission / reception unit 30 is longer than that in the normal mode.
 ECU10は、制御部20全体ではなく、通信処理制御部26の動作モードが省電力モードに移行することができる。そのため、ECU10は、通信処理制御部26の動作モードを省電力モードに移行させた後も、制御対象である車載装置40の動作を制御することができる。 The ECU 10 can shift the operation mode of the communication processing control unit 26 to the power saving mode instead of the entire control unit 20. Therefore, ECU10 can control operation | movement of the vehicle equipment 40 which is a control object, after changing the operation mode of the communication process control part 26 to power saving mode.
 例えば、ECU10の制御対象である車載装置40が、通信線60に接続されている他の車載装置、センサ等との通信は必要ない一方で、車載装置40自体の制御は必要である動作態様で動作するとする。このときに、ECU10は、例えば制御部20全体(又は処理部21)のみの動作モードを省電力モードに移行可能なECUと比較して、ECU10の消費電力を抑えることができる。 For example, the vehicle-mounted device 40 that is the control target of the ECU 10 does not need to communicate with other vehicle-mounted devices or sensors connected to the communication line 60, while the vehicle-mounted device 40 itself needs to be controlled. Suppose it works. At this time, the ECU 10 can suppress the power consumption of the ECU 10, for example, by comparing the operation mode of only the entire control unit 20 (or the processing unit 21) with an ECU capable of shifting to the power saving mode.
 図2及び図3を参照して、第1実施形態におけるECU10の動作を説明する。まず、図2に示されているフローチャートを参照して、第1実施形態におけるECU10の通信処理制御部26の動作モードが通常モードから省電力モードに移行する動作の例を説明する。第1実施形態において、省電力モードは、スリープモード(第1省電力モード)が採用されている。スリープモードについては、図3に示されているフローチャートを参照して、詳しく説明する。 The operation of the ECU 10 in the first embodiment will be described with reference to FIGS. First, an example of an operation in which the operation mode of the communication processing control unit 26 of the ECU 10 in the first embodiment shifts from the normal mode to the power saving mode will be described with reference to the flowchart shown in FIG. In the first embodiment, the sleep mode (first power saving mode) is adopted as the power saving mode. The sleep mode will be described in detail with reference to the flowchart shown in FIG.
 図2に示されているフローチャートのステップS101では、ECU10の送受信部30は、通信線60から第1信号が含まれるCANメッセージを受信する。第1信号は、例えば、1つ又は複数のECU10の、通信処理制御部26の動作モードを通常モードから省電力モード(スリープモード)に移行させる指令を含む信号である。また、第1信号は、例えば、図示されていないイグニッションスイッチがオン状態からオフ状態に変化したことを含む信号であってもよい。 2, in step S <b> 101 of the flowchart shown in FIG. 2, the transmission / reception unit 30 of the ECU 10 receives the CAN message including the first signal from the communication line 60. The first signal is a signal including, for example, an instruction to shift the operation mode of the communication processing control unit 26 of the one or more ECUs 10 from the normal mode to the power saving mode (sleep mode). Further, the first signal may be, for example, a signal including that an ignition switch (not shown) has changed from an on state to an off state.
 ステップS102では、送受信部30は、ステップS101で受信したCANメッセージに含まれる第1信号を、制御部20の通信処理制御部26の受信用端子RXに出力する。 In step S102, the transmission / reception unit 30 outputs the first signal included in the CAN message received in step S101 to the reception terminal RX of the communication processing control unit 26 of the control unit 20.
 ステップS103では、通信処理制御部26は、ステップS102で受け取った第1信号を、制御部20、具体的には制御部20の処理部21に出力する。 In step S103, the communication processing control unit 26 outputs the first signal received in step S102 to the control unit 20, specifically, the processing unit 21 of the control unit 20.
 ステップS104では、制御部20の処理部21は、ステップS103で受け取った第1信号に応じて、送受信部20のスタンバイピンSTBに出力しているスタンバイ信号をスタンバイ信号Loからスタンバイ信号Hiに切り替える。 In step S104, the processing unit 21 of the control unit 20 switches the standby signal output to the standby pin STB of the transmission / reception unit 20 from the standby signal Lo to the standby signal Hi according to the first signal received in step S103.
 ステップS105では、制御部20の処理部21は、ステップS103で受け取った第1信号に応じて、通信処理制御部26の動作モードが通常モードからスリープモードに移行するように、通信処理制御部26の設定レジスタを書き換える。 In step S105, the processing unit 21 of the control unit 20 responds to the first signal received in step S103 so that the operation mode of the communication processing control unit 26 shifts from the normal mode to the sleep mode. Rewrite the setting register.
 ステップS106では、送受信部30がステップS104で受け取ったスタンバイ信号Hiに応じて、送受信部30の動作モードが通常モードからスタンバイモードに移行する。 In step S106, the operation mode of the transmission / reception unit 30 shifts from the normal mode to the standby mode in accordance with the standby signal Hi received by the transmission / reception unit 30 in step S104.
 ステップS107では、ステップS105で通信処理制御部26の設定レジスタが書き換えられたことによって、通信処理制御部26の動作モードが通常モードからスリープモードに移行する。 In step S107, when the setting register of the communication processing control unit 26 is rewritten in step S105, the operation mode of the communication processing control unit 26 shifts from the normal mode to the sleep mode.
 図2に示されているフローチャートにおいて、制御部20の処理部21は、送受信部30が通信線60から受信した第1信号を、通信処理制御部26を介して受け取っている(ステップS101、ステップS102及びステップS103)。しかしながら、代替的に、制御部20の処理部21は、第1信号を、例えば図示されていないイグニッションスイッチ等から直接受け取ってもよい。 In the flowchart shown in FIG. 2, the processing unit 21 of the control unit 20 receives the first signal received from the communication line 60 by the transmission / reception unit 30 via the communication processing control unit 26 (step S101, step S101). S102 and step S103). However, alternatively, the processing unit 21 of the control unit 20 may receive the first signal directly from, for example, an ignition switch (not shown).
 また、図2に示されているフローチャートにおいて、ステップS104の処理とステップS105の処理とは、順番が入れ替わってもよい。同様に、ステップS106の処理とステップS107の処理とは、順番が入れ替わってもよい。 In the flowchart shown in FIG. 2, the order of the process of step S104 and the process of step S105 may be interchanged. Similarly, the process of step S106 and the process of step S107 may be interchanged.
 続いて、図3に示されているフローチャートを参照して、第1実施形態におけるECU10の通信処理制御部26の動作モードが省電力モード(スリープモード)から通常モードに移行する動作の例を説明する。図3に示されているフローチャートを参照した説明では、図2に示されているフローチャートの続きとして説明する。すなわち、通信処理制御部26の動作モードはスリープモードであり、送受信部30の動作モードはスタンバイモードである。 Subsequently, an example of an operation in which the operation mode of the communication processing control unit 26 of the ECU 10 in the first embodiment shifts from the power saving mode (sleep mode) to the normal mode will be described with reference to the flowchart illustrated in FIG. 3. To do. The description with reference to the flowchart shown in FIG. 3 will be made as a continuation of the flowchart shown in FIG. That is, the operation mode of the communication processing control unit 26 is a sleep mode, and the operation mode of the transmission / reception unit 30 is a standby mode.
 図3に示されているフローチャートのステップS108では、ECU10の送受信部30は、通信線60から第2信号が含まれるCANメッセージの先頭フレームを受信する。第2信号は、例えば、1つ又は複数のECU10の、通信処理制御部26の動作モードを省電力モード(スリープモード)から通常モードに移行させる指令を含む信号である。また、第2信号は、例えば、通信線60に接続されている他のECUから送信された他のECUが制御している車載装置の制御データであってもよい。さらに、第2信号は、例えば、図示されていないイグニッションスイッチがオフ状態からオン状態に変化したことを含む信号であってもよい。 In step S108 of the flowchart shown in FIG. 3, the transmission / reception unit 30 of the ECU 10 receives the first frame of the CAN message including the second signal from the communication line 60. The second signal is, for example, a signal including an instruction to shift the operation mode of the communication processing control unit 26 of one or more ECUs 10 from the power saving mode (sleep mode) to the normal mode. Further, the second signal may be, for example, control data of the in-vehicle device controlled by another ECU transmitted from another ECU connected to the communication line 60. Furthermore, the second signal may be, for example, a signal including that an ignition switch (not shown) has changed from an off state to an on state.
 ステップS109では、送受信部30は、ステップS108で受信した第2信号を、制御部20の通信処理制御部26の受信用端子RXに出力する。 In step S109, the transmission / reception unit 30 outputs the second signal received in step S108 to the reception terminal RX of the communication processing control unit 26 of the control unit 20.
 ステップS110では、通信処理制御部26が受け取った第2信号によって、通信処理制御部26の動作モードがスリープモードから通常モードに移行する。すなわち、第1省電力モードであるスリープモードは、通信処理制御部26が第2信号を受け取ったときに、例えば制御部20の処理部21によって通信処理制御部26の設定レジスタが書き換えられる必要なく、通信処理制御部26の動作モードがスリープモードから通常モードに移行するものである。 In step S110, the operation mode of the communication processing control unit 26 shifts from the sleep mode to the normal mode by the second signal received by the communication processing control unit 26. That is, in the sleep mode that is the first power saving mode, when the communication processing control unit 26 receives the second signal, for example, the setting register of the communication processing control unit 26 does not need to be rewritten by the processing unit 21 of the control unit 20. The operation mode of the communication processing control unit 26 is changed from the sleep mode to the normal mode.
 ステップS111では、通信処理制御部26は、例えば、通信処理制御部26の動作モードがスリープモードから通常モードに移行したことを示すウェイクアップ信号を制御部20の処理部21に出力する。 In step S111, for example, the communication processing control unit 26 outputs a wakeup signal indicating that the operation mode of the communication processing control unit 26 has shifted from the sleep mode to the normal mode to the processing unit 21 of the control unit 20.
 ステップS112では、制御部20の処理部21は、ステップS111で受け取ったウェイクアップ信号に応じて、送受信部20のスタンバイピンSTBに出力しているスタンバイ信号をスタンバイ信号Hiからスタンバイ信号Loに切り替える。 In step S112, the processing unit 21 of the control unit 20 switches the standby signal output to the standby pin STB of the transmission / reception unit 20 from the standby signal Hi to the standby signal Lo according to the wakeup signal received in step S111.
 ステップS113では、制御部20の処理部21は、通信処理制御部26の動作モードが通常モードから初期化モードに移行するように、通信処理制御部26の設定レジスタを書き換える。 In step S113, the processing unit 21 of the control unit 20 rewrites the setting register of the communication processing control unit 26 so that the operation mode of the communication processing control unit 26 shifts from the normal mode to the initialization mode.
 ステップS114では、送受信部30がステップS112で受け取ったスタンバイ信号Loに応じて、送受信部30の動作モードがスタンバイモードから通常モードに移行する。 In step S114, the operation mode of the transmission / reception unit 30 shifts from the standby mode to the normal mode in accordance with the standby signal Lo received by the transmission / reception unit 30 in step S112.
 ステップS115では、送受信部30は、通信線60から第2信号が含まれるCANメッセージの終端フレームを受信する。ステップS116では、送受信部30は、ステップS115で第2信号が含まれるCANメッセージの終端フレームを受信したことを、制御部20の通信処理制御部26の受信用端子RXに出力する。 In step S115, the transmission / reception unit 30 receives the termination frame of the CAN message including the second signal from the communication line 60. In step S116, the transmission / reception unit 30 outputs to the reception terminal RX of the communication processing control unit 26 of the control unit 20 that the termination frame of the CAN message including the second signal is received in step S115.
 ステップS117では、通信処理制御部26は、第2信号が含まれるCANメッセージの1フレームが終わるまで待った後に、通信処理制御部26の動作モードが通常モードから初期化モードに移行する。ステップS118では、通信処理制御部26の初期化モードによる初期化処理が完了した後に、通信処理制御部26の動作モードが初期化モードから通常モードに移行する。 In step S117, after waiting for one frame of the CAN message including the second signal to end, the communication processing control unit 26 shifts the operation mode of the communication processing control unit 26 from the normal mode to the initialization mode. In step S118, after the initialization process in the initialization mode of the communication process control unit 26 is completed, the operation mode of the communication process control unit 26 shifts from the initialization mode to the normal mode.
 ここで、ステップS117で通信処理制御部26の動作モードが通常モードから初期化モードに移行することによって、通信処理制御部26の動作モードが省電力モード(第1省電力モード)から通常モードに復帰した後の、通信処理制御部26の正常な動作を担保することができる。例えば、通信処理制御部26の動作モードが省電力モードである間に、仮に何らかの不具合又は障害等によって通信処理制御部26の設定レジスタに異変が生じたとしても、初期化モードによる初期化処理によってこの異変が解消される。 Here, when the operation mode of the communication processing control unit 26 shifts from the normal mode to the initialization mode in step S117, the operation mode of the communication processing control unit 26 is changed from the power saving mode (first power saving mode) to the normal mode. The normal operation of the communication processing control unit 26 after returning can be ensured. For example, even if an abnormality occurs in the setting register of the communication processing control unit 26 due to some trouble or failure while the operation mode of the communication processing control unit 26 is the power saving mode, the initialization process in the initialization mode This incident is resolved.
 しかしながら、必ずしも初期化モードによる初期化処理は必須ではなく、初期化モードによる初期化処理が省略されてもよい。この場合、例えば、図3に示されているフローチャートにおいて、ステップS113、ステップS117及びステップS118の処理は省略されてもよい。 However, the initialization process in the initialization mode is not necessarily required, and the initialization process in the initialization mode may be omitted. In this case, for example, in the flowchart shown in FIG. 3, the processes of step S113, step S117, and step S118 may be omitted.
 《第2実施形態》
 図4、図5及び図6を用いて、本発明のECU10の第2実施形態を説明する。本発明のECU10の第2実施形態は、上述した第1実施形態の変形例である。したがって、第2実施形態の説明においては、第1実施形態と異なる部分のみ説明し、同様の部分については説明を省略する。また、第1実施形態と共通する構成要素は、第1実施形態の説明に使用された符号と同じ符号を用いる。
<< Second Embodiment >>
A second embodiment of the ECU 10 of the present invention will be described with reference to FIGS. 4, 5 and 6. 2nd Embodiment of ECU10 of this invention is a modification of 1st Embodiment mentioned above. Therefore, in the description of the second embodiment, only parts different from the first embodiment will be described, and description of similar parts will be omitted. Moreover, the same code | symbol as the code | symbol used for description of 1st Embodiment is used for the component which is common in 1st Embodiment.
 図4には、本発明の第2実施形態のECU10が接続されるCANネットワークの構成の例が示されている。第2実施形態では、ECU10の制御部20の処理部21が、割込端子23をさらに有する。そして、送受信部30から通信処理制御部26の受信用端子RXに出力される信号が、制御部20の処理部21の割込端子23にも出力されるように、送受信部30と通信処理制御部26の受信用端子RXとを接続する接続線が分岐して処理部21とも接続されている。 FIG. 4 shows an example of the configuration of a CAN network to which the ECU 10 according to the second embodiment of the present invention is connected. In the second embodiment, the processing unit 21 of the control unit 20 of the ECU 10 further includes an interrupt terminal 23. The transmission / reception unit 30 and the communication processing control are performed so that the signal output from the transmission / reception unit 30 to the reception terminal RX of the communication processing control unit 26 is also output to the interrupt terminal 23 of the processing unit 21 of the control unit 20. A connection line connecting the receiving terminal RX of the unit 26 is branched and connected to the processing unit 21.
 図5及び図6を参照して、第2実施形態におけるECU10の動作を説明する。まず、図5に示されているフローチャートを参照して、第2実施形態におけるECU10の通信処理制御部26の動作モードが通常モードから省電力モードに移行する動作の例を説明する。第2実施形態において、省電力モードは、ストップモード(第2省電力モード)が採用されている。ストップモードについては、図6に示されているフローチャートを参照して、詳しく説明する。なお、図5及び図6に示されるフローチャートにおいて、図2及び図3に示されるフローチャートと異なる部分のみ説明し、同様の部分についてはその対応関係を示して説明を省略する。 The operation of the ECU 10 in the second embodiment will be described with reference to FIGS. First, an example of an operation in which the operation mode of the communication processing control unit 26 of the ECU 10 in the second embodiment shifts from the normal mode to the power saving mode will be described with reference to the flowchart shown in FIG. In the second embodiment, a stop mode (second power saving mode) is adopted as the power saving mode. The stop mode will be described in detail with reference to the flowchart shown in FIG. In the flowcharts shown in FIGS. 5 and 6, only the parts different from the flowcharts shown in FIGS. 2 and 3 will be described, and the same parts will be described with the corresponding relationship and the description will be omitted.
 図5に示されるステップS201は、図2に示されるステップS101に対応する。ステップS202は、ステップS102に対応する。ステップS203は、ステップS103に対応する。ステップS204は、ステップS104に対応する。ステップS205は、ステップS105に対応する。ステップS206は、ステップS106に対応する。ステップS207は、ステップS107に対応する。 Step S201 shown in FIG. 5 corresponds to step S101 shown in FIG. Step S202 corresponds to step S102. Step S203 corresponds to step S103. Step S204 corresponds to step S104. Step S205 corresponds to step S105. Step S206 corresponds to step S106. Step S207 corresponds to step S107.
 ステップS208では、制御部20の処理部21は、通信処理制御部26の動作モードがスリープモードからストップモードに移行するように、通信処理制御部26の設定レジスタをさらに書き換える。 In step S208, the processing unit 21 of the control unit 20 further rewrites the setting register of the communication processing control unit 26 so that the operation mode of the communication processing control unit 26 shifts from the sleep mode to the stop mode.
 ステップS209では、ステップS208で通信処理制御部26の設定レジスタが書き換えられたことによって、通信処理制御部26の動作モードがスリープモードからストップモードに移行する。 In step S209, when the setting register of the communication processing control unit 26 is rewritten in step S208, the operation mode of the communication processing control unit 26 shifts from the sleep mode to the stop mode.
 図5に示されるフローチャートにおいては、通信処理制御部26の動作モードが通常モードからスリープモードに移行した後に、さらにスリープモードからストップモードに移行している。しかしながら、制御部(マイコン)20の仕様によっては、通信処理制御部26の動作モードが通常モードから直接ストップモードに移行してもよい。この場合、図5に示されるフローチャートにおいては、例えば、ステップS205の処理の代わりにステップS208の処理が実行されてもよく、ステップS207の処理の代わりにステップS209の処理が実行されてもよい。 In the flowchart shown in FIG. 5, after the operation mode of the communication processing control unit 26 shifts from the normal mode to the sleep mode, the sleep mode further shifts to the stop mode. However, depending on the specifications of the control unit (microcomputer) 20, the operation mode of the communication processing control unit 26 may shift directly from the normal mode to the stop mode. In this case, in the flowchart shown in FIG. 5, for example, the process of step S208 may be executed instead of the process of step S205, and the process of step S209 may be executed instead of the process of step S207.
 続いて、図6に示されているフローチャートを参照して、第2実施形態におけるECU10の通信処理制御部26の動作モードが省電力モード(ストップモード)から通常モードに移行する動作の例を説明する。図6に示されているフローチャートを参照した説明では、図5に示されているフローチャートの続きとして説明する。すなわち、通信処理制御部26の動作モードはストップモードであり、送受信部30の動作モードはスタンバイモードである。 Next, an example of an operation in which the operation mode of the communication processing control unit 26 of the ECU 10 in the second embodiment shifts from the power saving mode (stop mode) to the normal mode will be described with reference to the flowchart shown in FIG. To do. The description with reference to the flowchart shown in FIG. 6 will be made as a continuation of the flowchart shown in FIG. That is, the operation mode of the communication processing control unit 26 is a stop mode, and the operation mode of the transmission / reception unit 30 is a standby mode.
 図6に示されるステップS210は、図3に示されるステップS108に対応する。ステップS211は、ステップS109に対応する。 Step S210 shown in FIG. 6 corresponds to step S108 shown in FIG. Step S211 corresponds to step S109.
 しかしながら、第2実施形態におけるECU10においては、ステップS211で通信処理制御部26に第2信号が出力されたことに応じて通信処理制御部26の動作モードがストップモードから通常モードに移行しない。すなわち、第2実施形態におけるECU10においては、ステップS211で通信処理制御部26に第2信号が出力された段階では、通信処理制御部26の動作モードはストップモードが継続される。 However, in the ECU 10 in the second embodiment, the operation mode of the communication processing control unit 26 does not shift from the stop mode to the normal mode in response to the output of the second signal to the communication processing control unit 26 in step S211. That is, in the ECU 10 in the second embodiment, the stop mode is continued as the operation mode of the communication processing control unit 26 at the stage where the second signal is output to the communication processing control unit 26 in step S211.
 ステップS212では、ステップS211で送受信部30から通信処理制御部26の受信用端子RXに対して出力された第2信号が、制御部20の処理部21の割込端子23に入力される。すわなち、ステップS211で出力された第2信号が、送受信部30と通信処理制御部26の受信用端子RXとを接続する接続線から分岐された接続線を通って、制御部20の処理部21の割込端子23に入力される。 In step S212, the second signal output from the transmission / reception unit 30 to the reception terminal RX of the communication processing control unit 26 in step S211 is input to the interrupt terminal 23 of the processing unit 21 of the control unit 20. In other words, the second signal output in step S211 is processed by the control unit 20 through the connection line branched from the connection line connecting the transmission / reception unit 30 and the reception terminal RX of the communication processing control unit 26. Input to the interrupt terminal 23 of the unit 21.
 ステップS213は、ステップS112に対応する。しかしながら、ステップS213では、ウェイクアップ信号に応じてではなく、ステップS212で送受信部30から受け取った第2信号に応じて、送受信部20のスタンバイピンSTBに出力しているスタンバイ信号をスタンバイ信号Hiからスタンバイ信号Loに切り替える。ステップS215は、ステップS114に対応する。 Step S213 corresponds to step S112. However, in step S213, the standby signal output to the standby pin STB of the transmission / reception unit 20 is not received from the standby signal Hi in accordance with the second signal received from the transmission / reception unit 30 in step S212, not according to the wake-up signal. Switch to standby signal Lo. Step S215 corresponds to step S114.
 ステップS214では、制御部20の処理部21は、通信処理制御部26の動作モードがストップモードから復帰するように、すなわちストップモードからスリープモードに移行するように、通信処理制御部26の設定レジスタを書き換える。ステップS216では、ステップS214で通信処理制御部26の設定レジスタが書き換えられたことによって、通信処理制御部26の動作モードがストップモードからスリープモードに移行する。 In step S214, the processing unit 21 of the control unit 20 sets the setting register of the communication processing control unit 26 so that the operation mode of the communication processing control unit 26 returns from the stop mode, that is, shifts from the stop mode to the sleep mode. Rewrite. In step S216, when the setting register of the communication processing control unit 26 is rewritten in step S214, the operation mode of the communication processing control unit 26 shifts from the stop mode to the sleep mode.
 ステップS217では、制御部20の処理部21は、通信処理制御部26の動作モードがスリープモードから復帰するように、すなわちスリープモードから通常モードに移行するように、通信処理制御部26の設定レジスタをさらに書き換える。ステップS218では、ステップS217で通信処理制御部26の設定レジスタが書き換えられたことによって、通信処理制御部26の動作モードがスリープモードから通常モードに移行する。 In step S217, the processing unit 21 of the control unit 20 sets the setting register of the communication processing control unit 26 so that the operation mode of the communication processing control unit 26 returns from the sleep mode, that is, shifts from the sleep mode to the normal mode. Rewrite further. In step S218, when the setting register of the communication processing control unit 26 is rewritten in step S217, the operation mode of the communication processing control unit 26 shifts from the sleep mode to the normal mode.
 ステップS219は、ステップS113に対応する。ステップS220は、ステップS115に対応する。ステップS221は、ステップS116に対応する。ステップS222は、ステップS117に対応する。ステップS223は、ステップS118に対応する。 Step S219 corresponds to step S113. Step S220 corresponds to step S115. Step S221 corresponds to step S116. Step S222 corresponds to step S117. Step S223 corresponds to step S118.
 図6に示されるフローチャートにおいては、通信処理制御部26の動作モードがストップモードからスリープモードに移行した後に、さらにスリープモードから通常モードに移行している。しかしながら、制御部(マイコン)20の仕様によっては、通信処理制御部26の動作モードがストップモードから直接通常モードに移行してもよい。この場合、図6に示されるフローチャートにおいては、例えば、ステップS214の処理の代わりにステップS217の処理が実行されてもよく、ステップS216の処理の代わりにステップS218の処理が実行されてもよい。 In the flowchart shown in FIG. 6, after the operation mode of the communication processing control unit 26 shifts from the stop mode to the sleep mode, the sleep mode further shifts to the normal mode. However, depending on the specifications of the control unit (microcomputer) 20, the operation mode of the communication processing control unit 26 may shift directly from the stop mode to the normal mode. In this case, in the flowchart shown in FIG. 6, for example, the process of step S217 may be executed instead of the process of step S214, or the process of step S218 may be executed instead of the process of step S216.
 以上のように、第2省電力モードであるストップモードは、通信処理制御部26に第2信号が出力されることによって、通信処理制御部26の動作モードがストップモードから通常モードに移行するものではない。すなわち、第2省電力モードであるストップモードは、制御部20の処理部21によって通信処理制御部26の設定レジスタが書き換えられることによって、通信処理制御部26の動作モードがストップモードから通常モードに移行するものである。 As described above, in the stop mode that is the second power saving mode, the operation mode of the communication processing control unit 26 shifts from the stop mode to the normal mode when the second signal is output to the communication processing control unit 26. is not. That is, in the stop mode which is the second power saving mode, the operation mode of the communication processing control unit 26 is changed from the stop mode to the normal mode by rewriting the setting register of the communication processing control unit 26 by the processing unit 21 of the control unit 20. It is to be migrated.
 また、ストップモードにおいては、通信処理制御部26に第2信号が出力された段階ではストップモードが継続されるため、通信処理制御部26はステップS211における第2信号が含まれるCANメッセージの先頭フレームを認識しない。その結果、通信処理制御部26が、第2信号が含まれるCANメッセージの先頭フレーム以降のフレームも認識しないため、第2信号が含まれるCANメッセージの全体が通信処理制御部26から制御部20の処理部21に対して出力されない。すなわち、通信処理制御部26の動作モードがストップモードに移行した後は、第2信号を含むCANメッセージの終端フレームが通信処理制御部26に出力されるまで、送受信部30が受信したCANメッセージが通信処理制御部26から制御部20の処理部21に対して出力されることがない。 In the stop mode, since the stop mode is continued when the second signal is output to the communication processing control unit 26, the communication processing control unit 26 sets the first frame of the CAN message including the second signal in step S211. Does not recognize. As a result, since the communication processing control unit 26 does not recognize the frames after the first frame of the CAN message including the second signal, the entire CAN message including the second signal is transferred from the communication processing control unit 26 to the control unit 20. It is not output to the processing unit 21. That is, after the operation mode of the communication processing control unit 26 shifts to the stop mode, the CAN message received by the transmission / reception unit 30 is output until the termination frame of the CAN message including the second signal is output to the communication processing control unit 26. There is no output from the communication processing control unit 26 to the processing unit 21 of the control unit 20.
 このように、通信処理制御部26の動作モードがストップモードに移行した後に、通信処理制御部26が送受信部30から受け取るCANメッセージを制御部20の処理部21に出力するのは、図6に示されているフローチャートにおけるステップS223の処理の実行後である。仮に送受信部30がスタンバイモードであることに起因して、送受信部30が受信したCANメッセージが正確でない状態で通信処理制御部26に出力されたとしても、制御部20の処理部21がこの正確でない状態のCANメッセージを通信処理制御部26から受け取ることがない。したがって、仮にこのような状態が発生したとしても、制御部20の処理部21は、ECU10内で何らかの異常状態が発生したと認識することがない。 Thus, after the operation mode of the communication processing control unit 26 shifts to the stop mode, the CAN message received from the transmission / reception unit 30 by the communication processing control unit 26 is output to the processing unit 21 of the control unit 20 in FIG. It is after execution of the process of step S223 in the flowchart shown. Even if the CAN message received by the transmission / reception unit 30 is output to the communication processing control unit 26 in an inaccurate state due to the transmission / reception unit 30 being in the standby mode, the processing unit 21 of the control unit 20 may A CAN message that is not in the state is not received from the communication processing control unit 26. Therefore, even if such a state occurs, the processing unit 21 of the control unit 20 does not recognize that some abnormal state has occurred in the ECU 10.
 また、第2実施形態におけるECU10では、制御部20の処理部21が割込端子23を有していることによって、通信処理制御部26の動作モードが第2省電力モードであるストップモードであるときに、通信線60から第2信号を受信したことを処理部21が把握することができる。その結果、通信処理制御部26の動作モードがストップモードであるときに、通信線60から送受信部30が受信する第2信号によって、通信処理制御部26の動作モードがストップモードから通常モードに移行することができる。 Moreover, in ECU10 in 2nd Embodiment, since the process part 21 of the control part 20 has the interruption terminal 23, the operation mode of the communication process control part 26 is a stop mode which is a 2nd power saving mode. Sometimes, the processing unit 21 can grasp that the second signal has been received from the communication line 60. As a result, when the operation mode of the communication processing control unit 26 is the stop mode, the operation mode of the communication processing control unit 26 shifts from the stop mode to the normal mode by the second signal received by the transmission / reception unit 30 from the communication line 60. can do.
 また、第2実施形態におけるECU10では、通信処理制御部26の動作モードが第2省電力モードであるストップモードであるときのみ、制御部20の処理部21は、送受信部30から出力される信号を割込端子23から受け取り可能に構成されていてもよい。すなわち、通信処理制御部26の動作モードが第1省電力モードであるスリープモードであるとき又は通常モードであるときには、処理部21は、割込端子23への入力を禁止してもよい。 Moreover, in ECU10 in 2nd Embodiment, the process part 21 of the control part 20 is a signal output from the transmission / reception part 30 only when the operation mode of the communication process control part 26 is a stop mode which is a 2nd power saving mode. May be received from the interrupt terminal 23. That is, when the operation mode of the communication processing control unit 26 is the sleep mode that is the first power saving mode or the normal mode, the processing unit 21 may prohibit the input to the interrupt terminal 23.
 さらに、第1実施形態におけるECU10及び第2実施形態におけるECU10の双方において、ECU10の制御部20の通信処理制御部26だけでなく、制御部20の全体又は処理部21の動作モードも通常モードと省電力モードとの間で移行可能に構成されていてもよい。例えば、通信処理制御部26の動作モードが通常モードから省電力モードに移行した後、制御対象である車載装置40の、通信線60に接続されている他の車載装置、センサ等との通信は必要ない一方で、車載装置40自体の制御は必要である動作態様での動作が完了した後に、制御部20の全体又は処理部21の動作モードが通常モードから省電力モードへ移行してもよい。 Further, in both the ECU 10 in the first embodiment and the ECU 10 in the second embodiment, not only the communication processing control unit 26 of the control unit 20 of the ECU 10 but also the operation mode of the entire control unit 20 or the processing unit 21 is the normal mode. You may be comprised so that transfer between power saving modes is possible. For example, after the operation mode of the communication processing control unit 26 shifts from the normal mode to the power saving mode, the communication of the in-vehicle device 40 to be controlled with other in-vehicle devices connected to the communication line 60, sensors, etc. On the other hand, after the operation in the operation mode that requires the control of the in-vehicle device 40 itself is completed, the entire control unit 20 or the operation mode of the processing unit 21 may shift from the normal mode to the power saving mode. .
 具体的に、例えば、制御部20の処理部21が、第1信号を受け取ってから所定時間が経過したときに、制御部20の全体又は処理部21の動作モードが通常モードから省電力モードへ移行してもよい。例えば、この所定時間は、制御対象である車載装置40の、通信線60に接続されている他の車載装置、センサ等との通信は必要ない一方で、車載装置40自体の制御は必要である動作態様での動作が完了するために、十分な時間が設定されていることが好ましい。また、例えば、車載装置40から所定の信号を受け取ったときに、制御部20の全体又は処理部21の動作モードが通常モードから省電力モードへ移行してもよい。例えば、この所定の信号は、制御対象である車載装置40の、通信線60に接続されている他の車載装置、センサ等との通信は必要ない一方で、車載装置40自体の制御は必要である動作態様での動作が完了したときに、車載装置40によって制御部20の処理部21に出力されてもよい。 Specifically, for example, when a predetermined time has elapsed since the processing unit 21 of the control unit 20 received the first signal, the entire control unit 20 or the operation mode of the processing unit 21 is changed from the normal mode to the power saving mode. You may migrate. For example, during this predetermined time, the vehicle-mounted device 40 to be controlled does not need to communicate with other vehicle-mounted devices or sensors connected to the communication line 60, but the vehicle-mounted device 40 itself needs to be controlled. It is preferable that a sufficient time is set so that the operation in the operation mode is completed. Further, for example, when a predetermined signal is received from the in-vehicle device 40, the entire control unit 20 or the operation mode of the processing unit 21 may shift from the normal mode to the power saving mode. For example, the predetermined signal does not need to communicate with other in-vehicle devices, sensors, and the like connected to the communication line 60 of the in-vehicle device 40 to be controlled, but it is necessary to control the in-vehicle device 40 itself. When the operation in a certain operation mode is completed, the vehicle-mounted device 40 may output the processing unit 21 of the control unit 20.
 通信処理制御部26の動作モードが通常モードから省電力モードに移行した後、所定の条件が満たされたときに、制御部20の全体又は処理部21の動作モードが通常モードから省電力モードへ移行することによって、ECU10の消費電力をさらに抑えることができる。また、制御部20の全体又は処理部21と通信処理制御部26とにおけるそれぞれの動作モードが省電力モードに移行できるタイミングで省電力モードに移行することによって、ECU10全体としての消費電力の抑制度合いを段階的に高めることができる。 After the operation mode of the communication processing control unit 26 shifts from the normal mode to the power saving mode, when a predetermined condition is satisfied, the entire control unit 20 or the operation mode of the processing unit 21 changes from the normal mode to the power saving mode. By shifting, the power consumption of the ECU 10 can be further suppressed. Further, the degree of suppression of power consumption as a whole of the ECU 10 by shifting to the power saving mode at a timing at which the entire control unit 20 or the respective operation modes in the processing unit 21 and the communication processing control unit 26 can shift to the power saving mode. Can be increased step by step.
 また、第1実施形態においては制御部20の処理部21が通信処理制御部26からウェイクアップ信号を受け取ったとき等、第2実施形態においては制御部20の処理部21の割込端子23に第2信号が入力されたとき等に、制御部20の全体又は処理部21の動作モードが省電力モードから通常モードに移行してもよい。加えて、制御部20の処理部21が制御対象である車載装置40から所定の信号を受け取ったとき等に、制御部20の全体又は処理部21の動作モードが省電力モードから通常モードに移行してもよい。さらに、車載装置40は、例えば、車載装置40のユーザーから所定の操作入力がされたことに応じて所定の信号を生成してもよい。 Further, in the first embodiment, when the processing unit 21 of the control unit 20 receives a wake-up signal from the communication processing control unit 26, in the second embodiment, the interrupt terminal 23 of the processing unit 21 of the control unit 20 is connected to the interrupt terminal 23. When the second signal is input, the operation mode of the entire control unit 20 or the processing unit 21 may shift from the power saving mode to the normal mode. In addition, when the processing unit 21 of the control unit 20 receives a predetermined signal from the in-vehicle device 40 to be controlled, the entire control unit 20 or the operation mode of the processing unit 21 shifts from the power saving mode to the normal mode. May be. Further, the in-vehicle device 40 may generate a predetermined signal in response to a predetermined operation input from a user of the in-vehicle device 40, for example.
 本発明は、上述の例示的な実施形態に限定されず、また、当業者は、上述の例示的な実施形態を特許請求の範囲に含まれる範囲まで、容易に変更することができるであろう。 The present invention is not limited to the above-described exemplary embodiments, and those skilled in the art will be able to easily modify the above-described exemplary embodiments to the extent included in the claims. .
 本発明は、車両に搭載される車両用表示装置を制御する電子制御装置に好適である。 The present invention is suitable for an electronic control device that controls a vehicle display device mounted on a vehicle.
 10(10-1,10-2,10-3)・・・電子制御装置(ECU)、20・・・制御部、21・・・処理部、23・・・処理部の割込端子、26・・・通信処理制御部、30・・・送受信部、60・・・通信線、60-H・・・CAN-Hライン、60-L・・・CAN-Lライン、TX・・・通信処理制御部の送信用端子、RX・・・通信処理制御部の受信用端子、STB・・・送受信部のスタンバイピン。 10 (10-1, 10-2, 10-3) ... Electronic control unit (ECU), 20 ... Control unit, 21 ... Processing unit, 23 ... Interrupting terminal of processing unit, 26 ... Communication processing control unit, 30 ... Transmission / reception unit, 60 ... Communication line, 60-H ... CAN-H line, 60-L ... CAN-L line, TX ... Communication processing Transmission terminal of control unit, RX: reception terminal of communication processing control unit, STB: standby pin of transmission / reception unit.

Claims (5)

  1.  所定のプロトコルによる通信を制御する通信処理制御部を有し、この通信処理制御部の動作及び少なくとも1つの車載装置の動作を制御する制御部と、
     前記通信処理制御部と前記通信線との間に設けられ、前記通信処理制御部から入力する前記信号を前記通信線へ送信すると共に前記通信線から受信する前記信号を前記通信処理制御部へ出力する送受信部と、
     を備える電子制御装置であって、
     前記通信処理制御部は、前記通信線から受信した前記信号を前記制御部へ出力する通常モードと、前記通信線から受信した前記信号を前記制御部へ出力しない省電力モードと、の間で動作モードを移行可能であり、
     前記制御部は、前記電子制御装置の外側から受け取る第1信号に応じて前記通信処理制御部の前記動作モードを前記通常モードから前記省電力モードに移行させる電子制御装置。
    A communication processing control unit that controls communication according to a predetermined protocol, and a control unit that controls the operation of the communication processing control unit and the operation of at least one in-vehicle device;
    Provided between the communication processing control unit and the communication line, transmits the signal input from the communication processing control unit to the communication line and outputs the signal received from the communication line to the communication processing control unit A transmission / reception unit,
    An electronic control device comprising:
    The communication processing control unit operates between a normal mode in which the signal received from the communication line is output to the control unit and a power saving mode in which the signal received from the communication line is not output to the control unit. Mode transition is possible,
    The said control part is an electronic control apparatus which transfers the said operation mode of the said communication processing control part from the said normal mode to the said power saving mode according to the 1st signal received from the outside of the said electronic control apparatus.
  2.  前記通信処理制御部の前記省電力モードは、前記通信処理制御部が前記通信線から第2信号を受信するときに前記通信処理制御部の前記動作モードが前記通常モードに移行する第1省電力モードである、請求項1に記載の電子制御装置。 The power saving mode of the communication processing control unit is a first power saving mode in which the operation mode of the communication processing control unit shifts to the normal mode when the communication processing control unit receives a second signal from the communication line. The electronic control device according to claim 1, wherein the electronic control device is in a mode.
  3.  前記通信処理制御部の前記省電力モードは、前記通信処理制御部が前記通信線から第2信号を受信するときには前記通信処理制御部の前記動作モードが前記通常モードに移行せず、前記制御部によって動作モードの設定がなされたときに前記通信処理制御部の前記動作モードが前記通常モードに移行する第2省電力モードである、請求項1に記載の電子制御装置。 The power saving mode of the communication processing control unit is such that when the communication processing control unit receives a second signal from the communication line, the operation mode of the communication processing control unit does not shift to the normal mode, and the control unit The electronic control device according to claim 1, wherein the operation mode of the communication processing control unit is a second power saving mode in which the operation mode is shifted to the normal mode when the operation mode is set by.
  4.  前記制御部は、前記送受信部と直接接続される入力端子を有する請求項3に記載の電子制御装置。 The electronic control device according to claim 3, wherein the control unit has an input terminal directly connected to the transmission / reception unit.
  5.  前記制御部は、前記通信処理制御部の前記動作モードを前記通常モードから前記省電力モードに移行させた後であって、所定の条件が満たされたときに、前記制御部の動作モードを通常モードから省電力モードに移行させる、請求項1から4のいずれか1項に記載の電子制御装置。 The control unit changes the operation mode of the control unit to the normal mode when a predetermined condition is satisfied after the operation mode of the communication processing control unit is shifted from the normal mode to the power saving mode. The electronic control device according to claim 1, wherein the electronic control device is shifted from a mode to a power saving mode.
PCT/JP2016/085845 2015-12-09 2016-12-02 Electronic control device WO2017099006A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017555040A JP6888554B2 (en) 2015-12-09 2016-12-02 Electronic control device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2015240486 2015-12-09
JP2015-240486 2015-12-09

Publications (1)

Publication Number Publication Date
WO2017099006A1 true WO2017099006A1 (en) 2017-06-15

Family

ID=59013140

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2016/085845 WO2017099006A1 (en) 2015-12-09 2016-12-02 Electronic control device

Country Status (2)

Country Link
JP (1) JP6888554B2 (en)
WO (1) WO2017099006A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020029203A (en) * 2018-08-23 2020-02-27 日本精機株式会社 Instrument device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000090312A (en) * 1998-09-11 2000-03-31 Mitsubishi Electric Corp On-vehicle equipment for etc
JP2011230685A (en) * 2010-04-28 2011-11-17 Denso Corp Electronic control device for vehicle
JP2012253511A (en) * 2011-06-01 2012-12-20 Ricoh Co Ltd Communication device and communication method
JP2013247412A (en) * 2012-05-23 2013-12-09 Canon Inc Communication device and method of controlling the same

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000090312A (en) * 1998-09-11 2000-03-31 Mitsubishi Electric Corp On-vehicle equipment for etc
JP2011230685A (en) * 2010-04-28 2011-11-17 Denso Corp Electronic control device for vehicle
JP2012253511A (en) * 2011-06-01 2012-12-20 Ricoh Co Ltd Communication device and communication method
JP2013247412A (en) * 2012-05-23 2013-12-09 Canon Inc Communication device and method of controlling the same

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020029203A (en) * 2018-08-23 2020-02-27 日本精機株式会社 Instrument device
JP7187887B2 (en) 2018-08-23 2022-12-13 日本精機株式会社 instrumentation

Also Published As

Publication number Publication date
JPWO2017099006A1 (en) 2018-10-04
JP6888554B2 (en) 2021-06-16

Similar Documents

Publication Publication Date Title
JP6464901B2 (en) In-vehicle communication system and relay device
KR102524290B1 (en) Ethernet Switch, In-vehicle Network Configuration Method and Vehicle
JP5335663B2 (en) Message buffering method and unit for a receiving device on a communication bus
JP5626266B2 (en) Communications system
US9164574B2 (en) Switching a control device in a vehicle network to sleep mode when velocity is above a threshold and switching to an operating mode after a number of received messages
US11082253B2 (en) Communication system
US9411609B2 (en) Electronic control apparatus
JPH05236560A (en) Communication equipment
US8804750B2 (en) Field device
JP2010245935A (en) Gateway device, slave device, and network system
WO2017099006A1 (en) Electronic control device
KR101647695B1 (en) Electronic control apparatus for supporting emergency mode and operating method thereof
KR101443276B1 (en) Control unit for in-vehicle ethernet and method for controlling therof
JP6535039B2 (en) Electronic control unit
JP5120720B2 (en) Electronic control device and control method of electronic control device
US8880753B2 (en) Vehicle electronic controller for automatically switching between a port being suspended based on a mode of an internal oscillation circuit
JP5434833B2 (en) Communication system and node
JP6337783B2 (en) In-vehicle network system
KR100832330B1 (en) A firmware download method for a expansion module in a programmable logic controller
JP2010232867A (en) Relay system, relay apparatus, and control device
JP2020088568A (en) Electronic control device
WO2024075553A1 (en) Vehicle-mounted device, connection destination notification method, and connection destination notification program
JP5920038B2 (en) In-vehicle communication device
US20230222071A1 (en) Control device and electronic control device
JP2018086950A (en) Communication system

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

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2017555040

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16872904

Country of ref document: EP

Kind code of ref document: A1