JP6888554B2 - Electronic control device - Google Patents
Electronic control device Download PDFInfo
- 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
Links
- 238000004891 communication Methods 0.000 claims description 188
- 230000005540 biological transmission Effects 0.000 claims description 51
- 230000004044 response Effects 0.000 claims description 9
- 230000007704 transition Effects 0.000 claims description 5
- 238000000034 method Methods 0.000 description 17
- 230000008569 process Effects 0.000 description 17
- 230000015654 memory Effects 0.000 description 6
- 230000008859 change Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000001629 suppression Effects 0.000 description 1
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60R—VEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
- B60R16/00—Electric 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/02—Electric 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network 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,
ところで、車載装置によっては、通信線に接続されている他の車載装置、センサ等との通信は必要ない一方で、車載装置自体の制御は必要である動作態様を有するものがある。例えば、特許文献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
本発明の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省電力モードであり、
前記制御部は、前記動作を制御する処理部を有し、
前記処理部は、前記通信処理制御部を介さずに前記送受信部と接続されることで、前記処理部が前記第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.
以下に説明する好ましい実施形態は、本発明を容易に理解するために用いられている。従って、当業者は、本発明が、以下に説明される実施形態によって不当に限定されないことを留意すべきである。 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
通信線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
複数の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
制御部20の処理部21は、制御対象である少なくとも1つの車載装置40の動作を制御することができる。車載装置40の例としては、例えば、メータ、エアコン、オーディオ装置、ナビゲーション装置、横滑り防止装置(ESC:Electronic Stability Control)等の安全装置等である。また、処理部21は、通信処理制御部26の動作を制御することができる。
The
通信処理制御部26は、送信用端子TX及び受信用端子RXを有し、CANプロトコルによる通信を制御する。通信処理制御部26は、例えば、処理部21の制御に応じて、処理部21によって生成された信号を送信用端子TXから送受信部30に出力することができる。また、通信処理制御部26は、例えば、送受信部30から受け取った信号を、処理部21へ出力することができる。
The communication
また、通信処理制御部26は、送受信部30から受け取った信号を処理部21に出力する通常モードと、送受信部30から受け取った信号を処理部21に出力しない省電力モードとの間で、通信処理制御部26の動作モードを移行することができる。通信処理制御部26の動作モードが省電力モードであるときは、例えば、制御部20の図示されていないクロック発生回路が発生させる動作クロックが、通信処理制御部26に対して供給されない。すなわち、通信処理制御部26の動作モードが省電力モードであるときには、ECU10(10−1)が他のECU10(10−2,10−3)と通信線60を介した通信をするための、通信機能を停止した状態である。
Further, the communication
送受信部30は、通信処理制御部26と通信線60との間に設けられる例えばCANトランシーバである。送受信部30は、制御部20、すなわち通信処理制御部26から受け取った信号を、CANプロトコルの物理層の規格に準拠した電気信号変換し、CANメッセージとして通信線60へ送信する。また、送受信部30は、通信線60から受信したCANメッセージを電気信号変換し、制御部20、すなわち通信処理制御部26へ出力する。
The transmission /
また、送受信部30は、スタンバイピンSTBを有しており、制御部20の処理部21から受け取るスタンバイ信号に応じて、送受信部30の動作モードが通常モードとスタンバイモードとの間で移行する。すなわち、送受信部30は、スタンバイピンSTBに処理部21からスタンバイ信号Hiを受け取ったときに、動作モードが通常モードからスタンバイモードに移行する。同様に、送受信部30は、スタンバイピンSTBに処理部21からスタンバイ信号Loを受け取ったときに、動作モードがスタンバイモードから通常モードに移行する。
Further, the transmission /
送受信部30の動作モードがスタンバイモードであるときは、通常モードであるときと比較して、送受信部30での消費電力が抑えられる。その一方で、送受信部30の動作モードがスタンバイモードであるときは、通常モードであるときと比較して、例えば送受信部30での電気信号変換に必要な時間が長くなる。
When the operation mode of the transmission /
ECU10は、制御部20全体ではなく、通信処理制御部26の動作モードが省電力モードに移行することができる。そのため、ECU10は、通信処理制御部26の動作モードを省電力モードに移行させた後も、制御対象である車載装置40の動作を制御することができる。
The ECU 10 can shift the operation mode of the communication
例えば、ECU10の制御対象である車載装置40が、通信線60に接続されている他の車載装置、センサ等との通信は必要ない一方で、車載装置40自体の制御は必要である動作態様で動作するとする。このときに、ECU10は、例えば制御部20全体(又は処理部21)のみの動作モードを省電力モードに移行可能なECUと比較して、ECU10の消費電力を抑えることができる。
For example, in an operation mode in which the in-
図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
図2に示されているフローチャートのステップS101では、ECU10の送受信部30は、通信線60から第1信号が含まれるCANメッセージを受信する。第1信号は、例えば、1つ又は複数のECU10の、通信処理制御部26の動作モードを通常モードから省電力モード(スリープモード)に移行させる指令を含む信号である。また、第1信号は、例えば、図示されていないイグニッションスイッチがオン状態からオフ状態に変化したことを含む信号であってもよい。
In step S101 of the flowchart shown in FIG. 2, the transmission /
ステップS102では、送受信部30は、ステップS101で受信したCANメッセージに含まれる第1信号を、制御部20の通信処理制御部26の受信用端子RXに出力する。
In step S102, the transmission /
ステップS103では、通信処理制御部26は、ステップS102で受け取った第1信号を、制御部20、具体的には制御部20の処理部21に出力する。
In step S103, the communication
ステップS104では、制御部20の処理部21は、ステップS103で受け取った第1信号に応じて、送受信部20のスタンバイピンSTBに出力しているスタンバイ信号をスタンバイ信号Loからスタンバイ信号Hiに切り替える。
In step S104, the
ステップS105では、制御部20の処理部21は、ステップS103で受け取った第1信号に応じて、通信処理制御部26の動作モードが通常モードからスリープモードに移行するように、通信処理制御部26の設定レジスタを書き換える。
In step S105, the
ステップS106では、送受信部30がステップS104で受け取ったスタンバイ信号Hiに応じて、送受信部30の動作モードが通常モードからスタンバイモードに移行する。
In step S106, the operation mode of the transmission /
ステップS107では、ステップS105で通信処理制御部26の設定レジスタが書き換えられたことによって、通信処理制御部26の動作モードが通常モードからスリープモードに移行する。
In step S107, the operation mode of the communication
図2に示されているフローチャートにおいて、制御部20の処理部21は、送受信部30が通信線60から受信した第1信号を、通信処理制御部26を介して受け取っている(ステップS101、ステップS102及びステップS103)。しかしながら、代替的に、制御部20の処理部21は、第1信号を、例えば図示されていないイグニッションスイッチ等から直接受け取ってもよい。
In the flowchart shown in FIG. 2, the
また、図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
図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 /
ステップS109では、送受信部30は、ステップS108で受信した第2信号を、制御部20の通信処理制御部26の受信用端子RXに出力する。
In step S109, the transmission /
ステップS110では、通信処理制御部26が受け取った第2信号によって、通信処理制御部26の動作モードがスリープモードから通常モードに移行する。すなわち、第1省電力モードであるスリープモードは、通信処理制御部26が第2信号を受け取ったときに、例えば制御部20の処理部21によって通信処理制御部26の設定レジスタが書き換えられる必要なく、通信処理制御部26の動作モードがスリープモードから通常モードに移行するものである。
In step S110, the operation mode of the communication
ステップS111では、通信処理制御部26は、例えば、通信処理制御部26の動作モードがスリープモードから通常モードに移行したことを示すウェイクアップ信号を制御部20の処理部21に出力する。
In step S111, the communication
ステップS112では、制御部20の処理部21は、ステップS111で受け取ったウェイクアップ信号に応じて、送受信部20のスタンバイピンSTBに出力しているスタンバイ信号をスタンバイ信号Hiからスタンバイ信号Loに切り替える。
In step S112, the
ステップS113では、制御部20の処理部21は、通信処理制御部26の動作モードが通常モードから初期化モードに移行するように、通信処理制御部26の設定レジスタを書き換える。
In step S113, the
ステップS114では、送受信部30がステップS112で受け取ったスタンバイ信号Loに応じて、送受信部30の動作モードがスタンバイモードから通常モードに移行する。
In step S114, the operation mode of the transmission /
ステップS115では、送受信部30は、通信線60から第2信号が含まれるCANメッセージの終端フレームを受信する。ステップS116では、送受信部30は、ステップS115で第2信号が含まれるCANメッセージの終端フレームを受信したことを、制御部20の通信処理制御部26の受信用端子RXに出力する。
In step S115, the transmission /
ステップS117では、通信処理制御部26は、第2信号が含まれるCANメッセージの1フレームが終わるまで待った後に、通信処理制御部26の動作モードが通常モードから初期化モードに移行する。ステップS118では、通信処理制御部26の初期化モードによる初期化処理が完了した後に、通信処理制御部26の動作モードが初期化モードから通常モードに移行する。
In step S117, the communication
ここで、ステップS117で通信処理制御部26の動作モードが通常モードから初期化モードに移行することによって、通信処理制御部26の動作モードが省電力モード(第1省電力モード)から通常モードに復帰した後の、通信処理制御部26の正常な動作を担保することができる。例えば、通信処理制御部26の動作モードが省電力モードである間に、仮に何らかの不具合又は障害等によって通信処理制御部26の設定レジスタに異変が生じたとしても、初期化モードによる初期化処理によってこの異変が解消される。
Here, by shifting the operation mode of the communication
しかしながら、必ずしも初期化モードによる初期化処理は必須ではなく、初期化モードによる初期化処理が省略されてもよい。この場合、例えば、図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
図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
図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
ステップS209では、ステップS208で通信処理制御部26の設定レジスタが書き換えられたことによって、通信処理制御部26の動作モードがスリープモードからストップモードに移行する。
In step S209, the operation mode of the communication
図5に示されるフローチャートにおいては、通信処理制御部26の動作モードが通常モードからスリープモードに移行した後に、さらにスリープモードからストップモードに移行している。しかしながら、制御部(マイコン)20の仕様によっては、通信処理制御部26の動作モードが通常モードから直接ストップモードに移行してもよい。この場合、図5に示されるフローチャートにおいては、例えば、ステップS205の処理の代わりにステップS208の処理が実行されてもよく、ステップS207の処理の代わりにステップS209の処理が実行されてもよい。
In the flowchart shown in FIG. 5, the operation mode of the communication
続いて、図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
図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
ステップ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 /
ステップ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 /
ステップS214では、制御部20の処理部21は、通信処理制御部26の動作モードがストップモードから復帰するように、すなわちストップモードからスリープモードに移行するように、通信処理制御部26の設定レジスタを書き換える。ステップS216では、ステップS214で通信処理制御部26の設定レジスタが書き換えられたことによって、通信処理制御部26の動作モードがストップモードからスリープモードに移行する。
In step S214, the
ステップS217では、制御部20の処理部21は、通信処理制御部26の動作モードがスリープモードから復帰するように、すなわちスリープモードから通常モードに移行するように、通信処理制御部26の設定レジスタをさらに書き換える。ステップS218では、ステップS217で通信処理制御部26の設定レジスタが書き換えられたことによって、通信処理制御部26の動作モードがスリープモードから通常モードに移行する。
In step S217, the
ステップ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
以上のように、第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
また、ストップモードにおいては、通信処理制御部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
このように、通信処理制御部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
また、第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
また、第2実施形態におけるECU10では、通信処理制御部26の動作モードが第2省電力モードであるストップモードであるときのみ、制御部20の処理部21は、送受信部30から出力される信号を割込端子23から受け取り可能に構成されていてもよい。すなわち、通信処理制御部26の動作モードが第1省電力モードであるスリープモードであるとき又は通常モードであるときには、処理部21は、割込端子23への入力を禁止してもよい。
Further, in the ECU 10 of the second embodiment, the
さらに、第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
具体的に、例えば、制御部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
通信処理制御部26の動作モードが通常モードから省電力モードに移行した後、所定の条件が満たされたときに、制御部20の全体又は処理部21の動作モードが通常モードから省電力モードへ移行することによって、ECU10の消費電力をさらに抑えることができる。また、制御部20の全体又は処理部21と通信処理制御部26とにおけるそれぞれの動作モードが省電力モードに移行できるタイミングで省電力モードに移行することによって、ECU10全体としての消費電力の抑制度合いを段階的に高めることができる。
After the operation mode of the communication
また、第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
本発明は、上述の例示的な実施形態に限定されず、また、当業者は、上述の例示的な実施形態を特許請求の範囲に含まれる範囲まで、容易に変更することができるであろう。 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信号に応じて前記通信処理制御部の前記動作モードを前記通常モードから前記省電力モードに移行させ、
前記通信処理制御部の前記省電力モードは、前記通信処理制御部が前記通信線から第2信号を受信するときには前記通信処理制御部の前記動作モードが前記通常モードに移行せず、前記制御部によって動作モードの設定がなされたときに前記通信処理制御部の前記動作モードが前記通常モードに移行する第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トランシーバであり、
前記通信処理制御部は、前記通常モードへの移行後、前記信号を構成するフレームのうち、終端フレームが入力されるまで、前記制御部へ前記信号を出力しない
請求項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. ..
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)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP7187887B2 (en) * | 2018-08-23 | 2022-12-13 | 日本精機株式会社 | instrumentation |
Family Cites Families (4)
| 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 |
-
2016
- 2016-12-02 JP JP2017555040A patent/JP6888554B2/en active Active
- 2016-12-02 WO PCT/JP2016/085845 patent/WO2017099006A1/en not_active Ceased
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'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 |