Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6888554B2 - Electronic control device - Google Patents
[go: Go Back, main page]

JP6888554B2 - Electronic control device - Google Patents

Electronic control device Download PDF

Info

Publication number
JP6888554B2
JP6888554B2 JP2017555040A JP2017555040A JP6888554B2 JP 6888554 B2 JP6888554 B2 JP 6888554B2 JP 2017555040 A JP2017555040 A JP 2017555040A JP 2017555040 A JP2017555040 A JP 2017555040A JP 6888554 B2 JP6888554 B2 JP 6888554B2
Authority
JP
Japan
Prior art keywords
control unit
mode
communication processing
processing control
unit
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
JP2017555040A
Other languages
Japanese (ja)
Other versions
JPWO2017099006A1 (en
Inventor
齋藤 剛
剛 齋藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Seiki Co Ltd
Original Assignee
Nippon Seiki Co Ltd
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 Nippon Seiki Co Ltd filed Critical Nippon Seiki Co Ltd
Publication of JPWO2017099006A1 publication Critical patent/JPWO2017099006A1/en
Application granted granted Critical
Publication of JP6888554B2 publication Critical patent/JP6888554B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mechanical Engineering (AREA)
  • Communication Control (AREA)
  • Small-Scale Networks (AREA)

Description

本発明は、電子制御装置に関する。本発明は、特に、車両に搭載されて他の電子制御装置と通信可能な電子制御装置であって、消費電力を抑える動作モードを有する電子制御装置に関する。 The present invention relates to an electronic control device. The present invention particularly relates to an electronic control device mounted on a vehicle and capable of communicating with another electronic control device and having an operation mode for suppressing 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 to 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 in order to improve the functionality and safety of in-vehicle devices. Therefore, there is known one having an operation mode for suppressing the power consumption of the ECU when it is not necessary to control the in-vehicle device which is the control target of the ECU.

このようなECUの例として、例えば、特許文献1には、CANプロトコルによる通信を制御するCANコントローラである通信処理制御部と、この通信処理制御部の動作を制御するマイクロコンピュータ(マイコン)である制御部と、通信処理制御部と通信路(通信線)との間に設けられ、通信処理制御部から入力する信号を通信線へ送信すると共に通信線から受信する信号を通信処理制御部へ出力する送受信部と、を備えるECUが示されている。また、特許文献1に示されているECUは、制御対象である車載装置を制御する際の通常モードと、制御部自体の動作を停止させるスリープモード(省電力モード)と、の間で制御部の動作モードを移行可能に構成されている。 As an example of such an ECU, for example, Patent Document 1 describes a communication processing control unit which is a CAN controller that controls communication by the CAN protocol, and a microcomputer (microcomputer) that controls the operation of the communication processing control unit. It is provided between the control unit, the communication processing control unit, and the communication path (communication line), and 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. An ECU comprising a transmitting / receiving unit is shown. Further, the ECU shown in Patent Document 1 has a control unit between a normal mode for controlling an in-vehicle device to be controlled and a sleep mode (power saving mode) for stopping the operation of the control unit itself. The operation mode of is configured to be transitionable.

特開2012−165257号公報Japanese Unexamined Patent Publication No. 2012-165257 特開2010−158995号公報Japanese Unexamined Patent Publication No. 2010-158995

ところで、車載装置によっては、通信線に接続されている他の車載装置、センサ等との通信は必要ない一方で、車載装置自体の制御は必要である動作態様を有するものがある。例えば、特許文献2に示されている車両用計器は、車両のイグニッションスイッチがオン状態からオフ状態に変化したときに、液晶表示パネルと光源とを制御してエンディング演出を行うことができる。すなわち、特許文献2に示されている車両用計器において、車両のイグニッションスイッチがオン状態からオフ状態に変化したときに行われるエンディング演出の実行中は、他の車載装置、センサ等との通信は必要ない一方で、車両用計器自体の制御は必要な動作態様である。 By the way, some in-vehicle devices have an operation mode in which communication with other in-vehicle devices, sensors, etc. connected to the communication line is not required, but control of the in-vehicle device itself is necessary. For example, the vehicle instrument shown in Patent Document 2 can control the liquid crystal display panel and the light source to perform an ending effect when the ignition switch of the vehicle changes from the on state to the off state. That is, in the vehicle instrument shown in Patent Document 2, communication with other in-vehicle devices, sensors, etc. is performed during the execution of the ending effect performed when the ignition switch of the vehicle changes from the on state to the off state. While not necessary, controlling the vehicle instrument itself is a necessary mode of operation.

このような車載装置の動作を特許文献1で示されているようなECUで制御すると仮定すると、他の車載装置、センサ等との通信は必要ない一方で、車載装置自体の制御は必要である動作態様で車載装置が動作している間は、制御部の動作モードを省電力モードに移行することができないことを、発明者は認識した。このように、特許文献1に示されているECUにおいては、制御対象である車載装置の制御に係る消費電力を抑えることに関して、改善の余地があることを、本発明者は認識した。 Assuming that the operation of such an in-vehicle device is controlled by an ECU as shown in Patent Document 1, communication with other in-vehicle devices, sensors, etc. is not required, but control of the in-vehicle device itself is necessary. The inventor has recognized that the operation mode of the control unit cannot be changed to the power saving mode while the in-vehicle device is operating in the operation mode. As described above, the present inventor has recognized that in the ECU shown in Patent Document 1, there is room for improvement in suppressing the power consumption related to the control of the in-vehicle device to be controlled.

本発明の1つの目的は、車載装置が他の車載装置等との通信は必要ない一方で、車載装置自体の制御は必要である動作態様で車載装置が動作している間に消費電力を抑えることができる電子制御装置を提供することにある。本発明の他の目的は、以下に例示する態様及び好ましい実施形態、並びに添付の図面を参照することによって、当業者に明らかになるであろう。 One object of the present invention is to suppress power consumption while the 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, etc., while the in-vehicle device itself needs to be controlled. It is to provide an electronic control device capable of providing an electronic control device. Other objects of the invention will become apparent to those skilled in the art by reference to the embodiments and preferred embodiments exemplified below, as well as the accompanying drawings.

本発明に従う第1の態様は、 所定のプロトコルによる通信を制御する通信処理制御部を有し、この通信処理制御部の動作及び少なくとも1つの車載装置の動作を制御する制御部と、
前記通信処理制御部と通信線との間に設けられ、前記通信処理制御部から入力する信号を前記通信線へ送信すると共に前記通信線から受信する前記信号を前記通信処理制御部へ出力する送受信部と、
を備える電子制御装置であって、
前記通信処理制御部は、前記通信線から受信した前記信号を前記制御部へ出力する通常モードと、前記通信線から受信した前記信号を前記制御部へ出力しない省電力モードと、の間で動作モードを移行可能であり、
前記制御部は、前記電子制御装置の外側から受け取る第1信号に応じて前記通信処理制御部の前記動作モードを前記通常モードから前記省電力モードに移行させ、
前記通信処理制御部の前記省電力モードは、前記通信処理制御部が前記通信線から第2信号を受信するときには前記通信処理制御部の前記動作モードが前記通常モードに移行せず、前記制御部によって動作モードの設定がなされたときに前記通信処理制御部の前記動作モードが前記通常モードに移行する第2省電力モードであり、
前記制御部は、前記動作を制御する処理部を有し、
前記処理部は、前記通信処理制御部を介さずに前記送受信部と接続されることで、前記処理部が前記第信号を入力できる、割込入力端子を有する。
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.
Transmission / reception provided between the communication processing control unit and the communication line to transmit a signal input from the communication processing control unit to the communication line and output the signal received from the communication line to the communication processing control unit. Department and
It is an electronic control device equipped with
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 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.
In the power saving mode of the communication processing control unit, when the communication processing control unit receives the 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 does not shift to the normal mode. This is the second power saving mode in which the operation mode of the communication processing control unit shifts to the normal mode when the operation mode is set by.
The control unit has a processing unit that controls the operation.
The processing unit has an interrupt input terminal capable of inputting the second signal by being connected to the transmitting / receiving unit without going through the communication processing control unit.

第1の態様の電子制御装置は、電子制御装置の制御部(マイクロコンピュータ)全体ではなく、通信処理制御部の動作モードが省電力モードに移行することができる。そのため、第1の態様の電子制御装置は、通信処理制御部の動作モードを省電力モードに移行させた後も、制御対象である車載装置の動作を制御することができる。 In the electronic control device of the first aspect, the operation mode of the communication processing control unit can shift to the power saving mode instead of the entire control unit (microcomputer) of the electronic control device. Therefore, the electronic control device of the first aspect can control the operation of the in-vehicle device to be controlled 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 to be controlled by the electronic control device of the first aspect does not need to communicate with other in-vehicle devices, sensors, etc. connected to the communication line, but needs to control the in-vehicle device itself. It is assumed that it operates in a certain operation mode. At this time, the electronic control device of the first aspect can reduce the power consumption of the electronic control device as compared with, for example, an electronic control device capable of shifting the operation mode of only the entire control unit to the power saving mode.

本発明に従う第2の態様は、第1の態様において、 前記プロトコルは、CANプロトコルであり、
前記通信処理制御部は、CANコントローラであり、
前記制御部は、マイコンであり、
前記送受信部は、CANトランシーバであり、
前記通信処理制御部は、前記通常モードへの移行後、前記信号を構成するフレームのうち、終端フレームが入力されるまで、前記制御部へ前記信号を出力しない。
In a second aspect according to the present invention, in the first aspect, the protocol is a CAN protocol.
The communication processing control unit is a CAN controller.
The control unit is a microcomputer.
The transmitter / receiver is a CAN transceiver.
After the transition to the normal mode, the communication processing control unit does not output the signal to the control unit until the terminal frame among the frames constituting the signal is input.

本発明の第1実施形態の電子制御装置が接続される車載ネットワークの構成の例を示すブロック図である。It is a block diagram which shows the example of the structure of the vehicle-mounted network to which the electronic control device of 1st Embodiment of this invention is connected. 図1に示される電子制御装置の通信処理制御部の動作モードが通常モードからスリープモードに移行するときの電子制御装置の動作の例を示すフローチャート図である。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. 1 shifts from the normal mode to the sleep mode. 図1に示される電子制御装置の通信処理制御部の動作モードがスリープモードから通常モードに移行するときの電子制御装置の動作の例を示すフローチャート図である。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. 1 shifts from the sleep mode to the normal mode. 本発明の第2実施形態の電子制御装置が接続される車載ネットワークの構成の例を示すブロック図である。It is a block diagram which shows the example of the structure of the vehicle-mounted network to which the electronic control device of the 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. Therefore, one of ordinary skill in the art should note that the present invention is not unreasonably 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 >>
The first embodiment of the 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 CAN (Controller Area Network) network configuration as an example of an in-vehicle network to which the ECU 10 of the first embodiment of the present invention is connected. The communication line 60 in the example of the vehicle-mounted network shown in FIG. 1 is composed of CAN-H line 60-H and 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 and receive signals to and from other ECUs 10 (for example, ECUs 10-2 and 10-3 with respect to ECU 10-1) via the communication line 60. For example, the plurality of ECUs 10 can share the control data of the corresponding in-vehicle device 40 and the like 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又は複数のメモリで構成される記憶部をさらに備えてもよい。 As a configuration of a plurality of ECUs 10, an example of the configuration of ECU 10-1 is shown. The ECU 10 includes a control unit 20 and a transmission / reception unit 30. The control unit 20 is composed of, for example, a microcomputer, and includes at least a processing unit 21 which is a CPU (Central Processing Unit) and a communication processing control unit 26 which is a CAN controller, for example. Further, the control unit 20 includes a rewritable RAM (Random Access Memory), a read-only ROM (Read Only Memory), an non-erasable program read-only EEPROM (Electrically Erasable Programmable Read-Only Memory), and a non-volatile memory (not shown). A storage unit composed of one or a plurality of memories capable of storing a program such as a flash memory which is a sex memory and / or data may be further provided.

制御部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 to be controlled. Examples of the in-vehicle device 40 include safety devices such as meters, air conditioners, audio devices, navigation devices, and electronic stability control (ESC). 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 has a transmission terminal TX and a reception terminal RX, and controls communication by the CAN protocol. The communication processing control unit 26 can output the signal generated by the processing unit 21 to the transmission / reception unit 30 from the transmission terminal TX, for example, according to 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 communicates 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 processing control unit 26 can be changed. When the operation mode of the communication processing control unit 26 is the power saving mode, for example, the operation clock generated by the 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 another ECU 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 electric signal conforming to the standard of the physical layer of the CAN protocol, and transmits it as a CAN message to the communication line 60. Further, the transmission / reception unit 30 converts the CAN message received from the communication line 60 into an electric signal and outputs the CAN message 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 shifts between the normal mode and the standby mode according to the 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 on 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 on 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 of the transmission / reception unit 30 can be suppressed as compared with the case of the normal mode. On the other hand, when the operation mode of the transmission / reception unit 30 is the standby mode, the time required for electrical signal conversion in the transmission / reception unit 30, for example, 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, the ECU 10 can control the operation of the in-vehicle device 40 to be controlled even after the operation mode of the communication processing control unit 26 is shifted to the power saving mode.

例えば、ECU10の制御対象である車載装置40が、通信線60に接続されている他の車載装置、センサ等との通信は必要ない一方で、車載装置40自体の制御は必要である動作態様で動作するとする。このときに、ECU10は、例えば制御部20全体(又は処理部21)のみの動作モードを省電力モードに移行可能なECUと比較して、ECU10の消費電力を抑えることができる。 For example, in an operation mode in which the in-vehicle device 40 to be controlled by the ECU 10 does not need to communicate with other in-vehicle devices, sensors, etc. connected to the communication line 60, while the in-vehicle device 40 itself needs to be controlled. Suppose it works. At this time, the ECU 10 can reduce the power consumption of the ECU 10 as compared with an ECU capable of shifting the operation mode of only the control unit 20 (or the processing unit 21) to the power saving mode, for example.

図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. 2 and 3. First, with reference to the flowchart shown in FIG. 2, 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. 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信号は、例えば、図示されていないイグニッションスイッチがオン状態からオフ状態に変化したことを含む信号であってもよい。 In step S101 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, for example, a signal including a command for shifting the operation mode of the communication processing control unit 26 of 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 the change of the ignition switch (not shown) from the on state to the 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 in response 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 shifts the operation mode of the communication processing control unit 26 from the normal mode to the sleep mode in response to the first signal received in step S103. Rewrite the setting register of.

ステップ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 according to the standby signal Hi received by the transmission / reception unit 30 in step S104.

ステップS107では、ステップS105で通信処理制御部26の設定レジスタが書き換えられたことによって、通信処理制御部26の動作モードが通常モードからスリープモードに移行する。 In step S107, the operation mode of the communication processing control unit 26 shifts from the normal mode to the sleep mode because the setting register of the communication processing control unit 26 is rewritten in step S105.

図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. S102 and step S103). However, instead, 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の処理とは、順番が入れ替わってもよい。 Further, in the flowchart shown in FIG. 2, the order of the process of step S104 and the process of step S105 may be changed. Similarly, the order of the process of step S106 and the process of step S107 may be changed.

続いて、図3に示されているフローチャートを参照して、第1実施形態におけるECU10の通信処理制御部26の動作モードが省電力モード(スリープモード)から通常モードに移行する動作の例を説明する。図3に示されているフローチャートを参照した説明では、図2に示されているフローチャートの続きとして説明する。すなわち、通信処理制御部26の動作モードはスリープモードであり、送受信部30の動作モードはスタンバイモードである。 Subsequently, with reference to the flowchart shown in FIG. 3, an example of the 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. To do. In the description with reference to the flowchart shown in FIG. 3, the description will be given as a continuation of the flowchart shown in FIG. That is, the operation mode of the communication processing control unit 26 is the sleep mode, and the operation mode of the transmission / reception unit 30 is the 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 a command for shifting 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 an in-vehicle device controlled by another ECU transmitted from another ECU connected to the communication line 60. Further, the second signal may be, for example, a signal including the change of the ignition switch (not shown) from the off state to the 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, which is the first power saving mode, when the communication processing control unit 26 receives the second signal, for example, the processing unit 21 of the control unit 20 does not need to rewrite the setting register of the communication processing control unit 26. , The operation mode of the communication processing control unit 26 shifts from the sleep mode to the normal mode.

ステップS111では、通信処理制御部26は、例えば、通信処理制御部26の動作モードがスリープモードから通常モードに移行したことを示すウェイクアップ信号を制御部20の処理部21に出力する。 In step S111, the communication processing control unit 26 outputs, for example, a wake-up signal indicating that the operation mode of the communication processing control unit 26 has changed 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 in response 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 according to 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 end 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 end frame of the CAN message including the second signal has been received in step S115.

ステップS117では、通信処理制御部26は、第2信号が含まれるCANメッセージの1フレームが終わるまで待った後に、通信処理制御部26の動作モードが通常モードから初期化モードに移行する。ステップS118では、通信処理制御部26の初期化モードによる初期化処理が完了した後に、通信処理制御部26の動作モードが初期化モードから通常モードに移行する。 In step S117, the communication processing control unit 26 waits until one frame of the CAN message including the second signal ends, and then the operation mode of the communication processing control unit 26 shifts from the normal mode to the initialization mode. In step S118, after the initialization process by the initialization mode of the communication processing control unit 26 is completed, the operation mode of the communication processing control unit 26 shifts from the initialization mode to the normal mode.

ここで、ステップS117で通信処理制御部26の動作モードが通常モードから初期化モードに移行することによって、通信処理制御部26の動作モードが省電力モード(第1省電力モード)から通常モードに復帰した後の、通信処理制御部26の正常な動作を担保することができる。例えば、通信処理制御部26の動作モードが省電力モードである間に、仮に何らかの不具合又は障害等によって通信処理制御部26の設定レジスタに異変が生じたとしても、初期化モードによる初期化処理によってこの異変が解消される。 Here, by shifting the operation mode of the communication processing control unit 26 from the normal mode to the initialization mode in step S117, the operation mode of the communication processing control unit 26 changes from the power saving mode (first power saving mode) to the normal mode. It is possible to guarantee the normal operation of the communication processing control unit 26 after returning. For example, even if the setting register of the communication processing control unit 26 changes due to some trouble or failure while the operation mode of the communication processing control unit 26 is the power saving mode, the initialization processing by the initialization mode causes the setting register of the communication processing control unit 26 to change. This incident is resolved.

しかしながら、必ずしも初期化モードによる初期化処理は必須ではなく、初期化モードによる初期化処理が省略されてもよい。この場合、例えば、図3に示されているフローチャートにおいて、ステップS113、ステップS117及びステップS118の処理は省略されてもよい。 However, the initialization process in the initialization mode is not always essential, 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. The second embodiment of the ECU 10 of the present invention is a modification of the above-mentioned first embodiment. Therefore, in the description of the second embodiment, only the parts different from those of the first embodiment will be described, and the description of the same parts will be omitted. Further, as the components common to the first embodiment, the same reference numerals as those used in the description of the first embodiment are used.

図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 the CAN network to which the ECU 10 of 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 has an interrupt terminal 23. Then, communication processing control with the transmission / reception unit 30 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. The connection line connecting the reception 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. 5 and 6. First, with reference to the flowchart shown in FIG. 5, 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. In the second embodiment, the 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 corresponding parts will be shown and the description thereof 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, the operation mode of the communication processing control unit 26 shifts from the sleep mode to the stop mode because the setting register of the communication processing control unit 26 is rewritten in step S208.

図5に示されるフローチャートにおいては、通信処理制御部26の動作モードが通常モードからスリープモードに移行した後に、さらにスリープモードからストップモードに移行している。しかしながら、制御部(マイコン)20の仕様によっては、通信処理制御部26の動作モードが通常モードから直接ストップモードに移行してもよい。この場合、図5に示されるフローチャートにおいては、例えば、ステップS205の処理の代わりにステップS208の処理が実行されてもよく、ステップS207の処理の代わりにステップS209の処理が実行されてもよい。 In the flowchart shown in FIG. 5, the operation mode of the communication processing control unit 26 shifts from the normal mode to the sleep mode, and then further shifts from the sleep mode 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 from the normal mode to the stop mode directly. 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の動作モードはスタンバイモードである。 Subsequently, with reference to the flowchart shown in FIG. 6, an example of the 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. To do. In the description with reference to the flowchart shown in FIG. 6, the description will be given as a continuation of the flowchart shown in FIG. That is, the operation mode of the communication processing control unit 26 is the stop mode, and the operation mode of the transmission / reception unit 30 is the 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 of 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 of the second embodiment, the stop mode of the operation mode of the communication processing control unit 26 is continued 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. That is, the second signal output in step S211 passes 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, and is processed by the control unit 20. It is 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 output from the standby signal Hi in response to the second signal received from the transmission / reception unit 30 in step S212, not in response to the wakeup 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, the operation mode of the communication processing control unit 26 shifts from the stop mode to the sleep mode because the setting register of the communication processing control unit 26 is rewritten in step S214.

ステップ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. Is further rewritten. In step S218, the operation mode of the communication processing control unit 26 shifts from the sleep mode to the normal mode because the setting register of the communication processing control unit 26 is rewritten in step S217.

ステップ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, the operation mode of the communication processing control unit 26 shifts from the stop mode to the sleep mode, and then further shifts from the sleep mode 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 directly shift 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, and 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, which 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 by outputting the second signal to the communication processing control unit 26. is not it. 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 a transition.

また、ストップモードにおいては、通信処理制御部26に第2信号が出力された段階ではストップモードが継続されるため、通信処理制御部26はステップS211における第2信号が含まれるCANメッセージの先頭フレームを認識しない。その結果、通信処理制御部26が、第2信号が含まれるCANメッセージの先頭フレーム以降のフレームも認識しないため、第2信号が含まれるCANメッセージの全体が通信処理制御部26から制御部20の処理部21に対して出力されない。すなわち、通信処理制御部26の動作モードがストップモードに移行した後は、第2信号を含むCANメッセージの終端フレームが通信処理制御部26に出力されるまで、送受信部30が受信したCANメッセージが通信処理制御部26から制御部20の処理部21に対して出力されることがない。 Further, in the stop mode, the stop mode is continued at the stage when the second signal is output to the communication processing control unit 26, so that the communication processing control unit 26 is the first frame of the CAN message including the second signal in step S211. Does not recognize. As a result, the communication processing control unit 26 does not recognize the frames after the first frame of the CAN message including the second signal, so that the entire CAN message including the second signal is 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 remains until the end frame of the CAN message including the second signal is output to the communication processing control unit 26. It is not 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内で何らかの異常状態が発生したと認識することがない。 In this way, after the operation mode of the communication processing control unit 26 shifts to the stop mode, the CAN message received by the communication processing control unit 26 from the transmission / reception unit 30 is output to the processing unit 21 of the control unit 20 in FIG. After executing 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 is this accurate. The CAN message in the other 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の動作モードがストップモードから通常モードに移行することができる。 Further, in the ECU 10 of the second embodiment, since the processing unit 21 of the control unit 20 has the interrupt terminal 23, the operation mode of the communication processing control unit 26 is the stop mode which is the second power saving mode. Occasionally, 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 from the communication line 60 by the transmission / reception unit 30. can do.

また、第2実施形態におけるECU10では、通信処理制御部26の動作モードが第2省電力モードであるストップモードであるときのみ、制御部20の処理部21は、送受信部30から出力される信号を割込端子23から受け取り可能に構成されていてもよい。すなわち、通信処理制御部26の動作モードが第1省電力モードであるスリープモードであるとき又は通常モードであるときには、処理部21は、割込端子23への入力を禁止してもよい。 Further, in the ECU 10 of the second embodiment, the processing unit 21 of the control unit 20 outputs a signal from the transmission / reception unit 30 only when the operation mode of the communication processing control unit 26 is the stop mode which is the second power saving mode. May be configured to be receivable from the interrupt terminal 23. That is, when the operation mode of the communication processing control unit 26 is the sleep mode which 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 entire control unit 20 or the operation mode of the processing unit 21 is set to the normal mode. It may be configured so that it can be migrated to the power saving mode. For example, after the operation mode of the communication processing control unit 26 shifts from the normal mode to the power saving mode, the in-vehicle device 40 to be controlled communicates with other in-vehicle devices, sensors, etc. connected to the communication line 60. On the other hand, after the operation in the operation mode in which the control of the in-vehicle device 40 itself is necessary is completed, the operation mode of the entire control unit 20 or 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 elapses after the processing unit 21 of the control unit 20 receives the first signal, the operation mode of the entire control unit 20 or the processing unit 21 changes from the normal mode to the power saving mode. You may migrate. For example, during this predetermined time, the in-vehicle device 40 to be controlled does not need to communicate with other in-vehicle devices, sensors, etc. connected to the communication line 60, while the in-vehicle device 40 itself needs to be controlled. It is preferable that a sufficient time is set for the operation in the operation mode to be completed. Further, for example, when a predetermined signal is received from the in-vehicle device 40, the operation mode of the entire control unit 20 or the processing unit 21 may shift from the normal mode to the power saving mode. For example, this predetermined signal does not need to communicate with other in-vehicle devices, sensors, etc. of the in-vehicle device 40 to be controlled, which is connected to the communication line 60, but needs to control the in-vehicle device 40 itself. When the operation in a certain operation mode is completed, it may be output to the processing unit 21 of the control unit 20 by the in-vehicle device 40.

通信処理制御部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 operation mode of the entire control unit 20 or 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, by shifting to the power saving mode at the timing when the entire control unit 20, the processing unit 21, and the communication processing control unit 26 can shift to the power saving mode, the degree of suppression of the power consumption of the entire ECU 10 is suppressed. 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 wakeup signal from the communication processing control unit 26, or the like, in the second embodiment, the interrupt terminal 23 of the processing unit 21 of the control unit 20 is used. When the second signal is input or the like, 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 operation mode of the entire control unit 20 or the processing unit 21 shifts from the power saving mode to the normal mode. You may. Further, the in-vehicle device 40 may generate a predetermined signal in response to a predetermined operation input from the user of the in-vehicle device 40, for example.

本発明は、上述の例示的な実施形態に限定されず、また、当業者は、上述の例示的な実施形態を特許請求の範囲に含まれる範囲まで、容易に変更することができるであろう。 The present invention is not limited to the above-mentioned exemplary embodiments, and those skilled in the art will be able to easily modify the above-mentioned 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 ... Interrupt 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 (2)

所定のプロトコルによる通信を制御する通信処理制御部を有し、この通信処理制御部の動作及び少なくとも1つの車載装置の動作を制御する制御部と、
前記通信処理制御部と通信線との間に設けられ、前記通信処理制御部から入力する信号を前記通信線へ送信すると共に前記通信線から受信する前記信号を前記通信処理制御部へ出力する送受信部と、
を備える電子制御装置であって、
前記通信処理制御部は、前記通信線から受信した前記信号を前記制御部へ出力する通常モードと、前記通信線から受信した前記信号を前記制御部へ出力しない省電力モードと、の間で動作モードを移行可能であり、
前記制御部は、前記電子制御装置の外側から受け取る第1信号に応じて前記通信処理制御部の前記動作モードを前記通常モードから前記省電力モードに移行させ、
前記通信処理制御部の前記省電力モードは、前記通信処理制御部が前記通信線から第2信号を受信するときには前記通信処理制御部の前記動作モードが前記通常モードに移行せず、前記制御部によって動作モードの設定がなされたときに前記通信処理制御部の前記動作モードが前記通常モードに移行する第2省電力モードであり、
前記制御部は、前記動作を制御する処理部を有し、
前記処理部は、前記通信処理制御部を介さずに前記送受信部と接続されることで、前記処理部が前記第信号を入力できる、割込入力端子を有する電子制御装置。
A control unit that has a communication processing control unit that controls communication according to a predetermined protocol, and controls the operation of the communication processing control unit and the operation of at least one in-vehicle device.
Transmission / reception provided between the communication processing control unit and the communication line to transmit a signal input from the communication processing control unit to the communication line and output the signal received from the communication line to the communication processing control unit. Department and
It is an electronic control device equipped with
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 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.
In the power saving mode of the communication processing control unit, when the communication processing control unit receives the 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 does not shift to the normal mode. This is the second power saving mode in which the operation mode of the communication processing control unit shifts to the normal mode when the operation mode is set by.
The control unit has a processing unit that controls the operation.
An electronic control device having an interrupt input terminal capable of inputting the second signal by connecting the processing unit to the transmitting / receiving unit without going through the communication processing control unit.
前記プロトコルは、CANプロトコルであり、
前記通信処理制御部は、CANコントローラであり、
前記処理部は、マイコンであり、
前記送受信部は、CANトランシーバであり、
前記通信処理制御部は、前記通常モードへの移行後、前記信号を構成するフレームのうち、終端フレームが入力されるまで、前記制御部へ前記信号を出力しない
請求項1に記載の電子制御装置。
The protocol is a CAN protocol.
The communication processing control unit is a CAN controller.
The processing unit is a microcomputer.
The transmitter / receiver is a CAN transceiver.
The electronic control device according to claim 1, wherein the communication processing control unit does not output the signal to the control unit after the transition to the normal mode until the terminal frame of the frames constituting the signal is input. ..
JP2017555040A 2015-12-09 2016-12-02 Electronic control device Active JP6888554B2 (en)

Applications Claiming Priority (3)

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

Publications (2)

Publication Number Publication Date
JPWO2017099006A1 JPWO2017099006A1 (en) 2018-10-04
JP6888554B2 true JP6888554B2 (en) 2021-06-16

Family

ID=59013140

Family Applications (1)

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

Country Status (2)

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

Families Citing this family (1)

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

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3011693B1 (en) * 1998-09-11 2000-02-21 三菱電機株式会社 Onboard equipment for ETC
JP2011230685A (en) * 2010-04-28 2011-11-17 Denso Corp Electronic control device for vehicle
JP5772240B2 (en) * 2011-06-01 2015-09-02 株式会社リコー Communication apparatus and communication method
JP6004743B2 (en) * 2012-05-23 2016-10-12 キヤノン株式会社 COMMUNICATION DEVICE AND ITS CONTROL METHOD

Also Published As

Publication number Publication date
JPWO2017099006A1 (en) 2018-10-04
WO2017099006A1 (en) 2017-06-15

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
US9112721B2 (en) System and methods for enabling a controller area network (CAN) device to operate in different power modes based upon the payload of a wake-up message
JP5626266B2 (en) Communications system
US11146425B2 (en) IO-link device
WO2018235790A1 (en) Vehicle control device
US9411609B2 (en) Electronic control apparatus
US8804750B2 (en) Field device
JP4367528B2 (en) Serial communication device
JP6888554B2 (en) Electronic control device
JP2018120438A (en) Electronic control device and program rewriting system
KR101443276B1 (en) Control unit for in-vehicle ethernet and method for controlling therof
JP7352166B2 (en) In-vehicle communication system, in-vehicle communication device and communication method for vehicle
EP3640811B1 (en) Communication system
CN111083188B (en) Communication system
KR101647695B1 (en) Electronic control apparatus for supporting emergency mode and operating method thereof
KR101553396B1 (en) Apparatus for controlling vehicle&#39;s battery power supply
JP5359449B2 (en) Relay system and control device
JP7525571B2 (en) Vehicle-mounted relay device, sleep control method, and sleep control program
JP2018202940A (en) Software update system
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
JP2019009678A (en) In-vehicle communication network system
JP7777024B2 (en) Vehicle electronic control unit
US9720474B2 (en) Electronic control unit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20191011

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200818

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201016

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210218

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210406

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20210420

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210503

R150 Certificate of patent or registration of utility model

Ref document number: 6888554

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150