JP2017220831A - Communication apparatus - Google Patents
Communication apparatus Download PDFInfo
- Publication number
- JP2017220831A JP2017220831A JP2016114795A JP2016114795A JP2017220831A JP 2017220831 A JP2017220831 A JP 2017220831A JP 2016114795 A JP2016114795 A JP 2016114795A JP 2016114795 A JP2016114795 A JP 2016114795A JP 2017220831 A JP2017220831 A JP 2017220831A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- transceiver
- wakeup
- standby
- mode
- 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.)
- Granted
Links
- 238000004891 communication Methods 0.000 title claims abstract description 91
- 238000000034 method Methods 0.000 claims abstract description 73
- 230000008569 process Effects 0.000 claims abstract description 73
- 230000007958 sleep Effects 0.000 claims abstract description 63
- 230000005540 biological transmission Effects 0.000 claims description 17
- 230000008878 coupling Effects 0.000 claims description 11
- 238000010168 coupling process Methods 0.000 claims description 11
- 238000005859 coupling reaction Methods 0.000 claims description 11
- 238000012545 processing Methods 0.000 claims description 11
- 230000005764 inhibitory process Effects 0.000 abstract 5
- 230000002401 inhibitory effect Effects 0.000 abstract 1
- 101000622427 Homo sapiens Vang-like protein 1 Proteins 0.000 description 8
- 102100023517 Vang-like protein 1 Human genes 0.000 description 8
- 230000008859 change Effects 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 238000012795 verification Methods 0.000 description 6
- AJICOSVECOHRCM-UHFFFAOYSA-N 2-[2-[2-[2-[bis(carboxymethyl)amino]-5-[2-(3-ethyl-1,3-benzothiazol-3-ium-2-yl)ethenyl]phenoxy]ethoxy]-n-(carboxymethyl)-4-methylanilino]acetic acid;iodide Chemical group [I-].S1C2=CC=CC=C2[N+](CC)=C1\C=C\C(C=1)=CC=C(N(CC(O)=O)CC(O)=O)C=1OCCOC1=CC(C)=CC=C1N(CC(O)=O)CC(O)=O AJICOSVECOHRCM-UHFFFAOYSA-N 0.000 description 5
- 230000004913 activation Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 101000622430 Homo sapiens Vang-like protein 2 Proteins 0.000 description 4
- 102100023520 Vang-like protein 2 Human genes 0.000 description 4
- 238000001914 filtration Methods 0.000 description 4
- 238000001514 detection method Methods 0.000 description 3
- 238000012790 confirmation Methods 0.000 description 2
- 230000008054 signal transmission Effects 0.000 description 2
- 230000007704 transition Effects 0.000 description 2
- 230000001066 destructive effect Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
- 239000007858 starting material Substances 0.000 description 1
Images
Abstract
Description
本発明は、複数のコントローラに対して、通信バスにおける信号の送受信を行うトランシーバを1つだけ設けた通信装置に関する。 The present invention relates to a communication apparatus provided with only one transceiver for transmitting and receiving signals on a communication bus to a plurality of controllers.
例えば、特許文献1には、複数のコントローラに対して、バスラインによる信号の送受信を実現するトランシーバを1つだけ設けた装置が開示されている。この特許文献1の装置では、トランシーバには、送信端子及び受信端子の他にスタンバイ端子が設けられている。このスタンバイ端子に所定のレベルのスタンバイ信号が入力されると、トランシーバはスタンバイモード(低消費電力モード)となり、バスラインへの信号の送信機能が停止する。
For example,
ここで、複数のコントローラとしての2個のコントローラが1つのトランシーバを共用する際に、一方のコントローラが、故障や電源状態がオフとなることにより、信号出力端子及びスタンバイ出力端子からともにローレベルの信号を出力することが考えられる。この場合、一方のコントローラの信号出力端子から出力されるローレベルの信号によって、トランシーバによりバスラインに送出される信号がドミナントレベルに固定され、バスライン上に接続された全ての通信装置間の通信を妨害してしまう可能性がある。 Here, when two controllers as a plurality of controllers share one transceiver, one of the controllers has a low level from both the signal output terminal and the standby output terminal due to a failure or power-off state. It is conceivable to output a signal. In this case, the signal sent to the bus line by the transceiver is fixed at the dominant level by the low level signal output from the signal output terminal of one controller, and communication between all communication devices connected on the bus line is performed. May be disturbed.
そのため、特許文献1の装置では、コントローラの信号出力端子及びスタンバイ出力端子からともにローレベルの信号が出力される場合、その信号出力端子から出力されるローレベルの信号が、トランシーバの送信端子に入力されないように、信号レベルを調整する調整回路が設けられている。
For this reason, in the apparatus of
上記のように、トランシーバがスタンバイ端子を備えていると、例えば、複数のコントローラがそれぞれ必要な機能の実行を終了してスリープモードとなったときに、トランシーバをスタンバイモードに移行させることが可能となり、全体として、消費電力の低減を図ることが可能になる。 As described above, when the transceiver has a standby terminal, for example, when a plurality of controllers finish executing necessary functions and enter a sleep mode, the transceiver can be shifted to a standby mode. As a whole, it is possible to reduce power consumption.
ただし、トランシーバは、スタンバイ端子にスタンバイ信号が入力されて、ノーマルモードからスタンバイモードに切り替えられるとき、受信端子の信号レベルが不定となり、受信端子からコントローラに向けてノイズ信号を出力する場合がある。 However, when the standby signal is input to the standby terminal and the transceiver is switched from the normal mode to the standby mode, the transceiver may have an indefinite signal level at the receiving terminal and output a noise signal from the receiving terminal to the controller.
複数のコントローラが1つのトランシーバを共用する構成においては、それぞれのコントローラが、異なる時期に、スリープモードとなってスタンバイ信号を出力することが起こりえる。この場合、トランシーバは、最後にスリープモードとなるコントローラからスタンバイ信号が出力されたときに、スタンバイモードに移行することになる。このように、最後にスリープモードとなるコントローラは、自身が出力するスタンバイ信号によりトランシーバがスタンバイモードに切り替わるので、そのスタンバイモードへの切り替わりのタイミングを把握することができる。従って、例えば、スタンバイモードへの切り替わりに合わせて、トランシーバの受信端子から出力される信号を無視するようにすれば、ノイズ信号を他の通信装置からの信号と誤認して、誤ってウェイクアップしてしまうことを防止できる。 In a configuration in which a plurality of controllers share one transceiver, each controller may enter a sleep mode and output a standby signal at different times. In this case, the transceiver shifts to the standby mode when the standby signal is output from the controller that finally enters the sleep mode. In this way, the controller that finally enters the sleep mode can grasp the timing of switching to the standby mode because the transceiver is switched to the standby mode by the standby signal output by itself. Therefore, for example, if the signal output from the receiving terminal of the transceiver is ignored when switching to the standby mode, the noise signal is mistakenly recognized as a signal from another communication device and erroneously woken up. Can be prevented.
しかしながら、先にスリープモードとなっているコントローラは、いつトランシーバがスタンバイモードに切り替わるのか知り得ない。このため、トランシーバの受信端子から出力されるノイズ信号によって、誤ってウェイクアップしてしまう可能性がある。そして、誤ってウェイクアップしたコントローラは、通信バスに信号を送信して、他のコントローラをウェイクアップさせてしまう虞がある。 However, the controller that is in sleep mode first cannot know when the transceiver switches to standby mode. For this reason, there is a possibility that the noise signal output from the reception terminal of the transceiver may wake up accidentally. The controller that wakes up by mistake may transmit a signal to the communication bus and wake up another controller.
本発明は、上述した点に鑑みてなされたものであり、複数のコントローラに対してトランシーバを1つだけ設けた場合に、トランシーバからのノイズ信号によって誤ってコントローラをウェイクアップさせることを防止することが可能な通信装置を提供することを目的とする。 The present invention has been made in view of the above points, and prevents a controller from being woken up erroneously by a noise signal from a transceiver when only one transceiver is provided for a plurality of controllers. An object of the present invention is to provide a communication device capable of performing the above.
上記目的を達成するために、本発明による通信装置(100)は、通信バスを介して他の通信装置と通信を行うものであって、
送信すべき信号を生成して出力するとともに、入力された信号を処理するものであって、スリープモードの時に、スタンバイ信号を出力する複数のコントローラ(10、20)と、
複数のコントローラから出力された信号を通信バスに送出するとともに、他の通信装置から通信バスに送出された信号を受信して複数のコントローラに入力するものであって、スタンバイ信号が入力されたとき、通常の動作モードから送信動作を停止するスタンバイモードに切り替わるトランシーバ(50)と、
複数のコントローラとトランシーバとの間に介在し、複数のコントローラの全てからスタンバイ信号が出力されたときに、トランシーバにスタンバイ信号を出力する結合部(40)と、を備え、
複数のコントローラは、スリープモードのときに動作し、トランシーバから信号が入力されると、コントローラをスリープモードからウェイクアップさせるウェイクアップ制御部(13)を有し、さらに、
複数のコントローラの内、少なくとも先にスリープモードとなるコントローラは、スリープモードのとき、複数のコントローラにおける他のコントローラのスタンバイ信号を監視し、当該他のコントローラのスタンバイ信号に基づいて、トランシーバがスタンバイモードへ切り替えられることを判定し、トランシーバのスタンバイモードへの切り替えから所定時間の間、ウェイクアップ制御部による、入力された信号に応じたウェイクアップ処理を禁止する禁止部(14、15、16、17)を有する。
In order to achieve the above object, a communication device (100) according to the present invention communicates with another communication device via a communication bus,
A plurality of controllers (10, 20) for generating and outputting a signal to be transmitted and processing an input signal, and outputting a standby signal in the sleep mode;
When signals output from multiple controllers are sent to the communication bus, and signals sent from other communication devices to the communication bus are received and input to multiple controllers when a standby signal is input A transceiver (50) for switching from a normal operation mode to a standby mode to stop transmission operation;
A coupling unit (40) that is interposed between the plurality of controllers and the transceiver and outputs a standby signal to the transceiver when a standby signal is output from all of the plurality of controllers;
The plurality of controllers operate in the sleep mode, and have a wakeup control unit (13) that wakes up the controller from the sleep mode when a signal is input from the transceiver.
Among the plurality of controllers, at least the controller that first enters the sleep mode monitors the standby signal of the other controller in the plurality of controllers in the sleep mode, and the transceiver operates in the standby mode based on the standby signal of the other controller. The prohibition unit (14, 15, 16, 17) that prohibits the wakeup process according to the input signal by the wakeup control unit for a predetermined time after switching to the standby mode of the transceiver. ).
本発明による通信装置は、上述したように、少なくとも先にスリープモードとなるコントローラが禁止部を有しているので、他のコントローラのスタンバイ信号に基づいて、トランシーバがスタンバイモードへ切り替えられることを判定することができる。そして、禁止部は、トランシーバのスタンバイモードへの切り替えと判定した場合には、スタンバイモードへの切り替えから所定時間の間、ウェイクアップ制御部による、入力された信号に応じたウェイクアップ処理を禁止する。このため、トランシーバがスタンバイモードに切り替えられるときに、トランシーバからノイズ信号が出力されたとしても、先にスリープモードとなっていたコントローラが、誤ってウェイクアップされることを確実に防止することが可能になる。 As described above, the communication device according to the present invention determines that the transceiver is switched to the standby mode based on the standby signal of the other controller because at least the controller that first enters the sleep mode has the prohibition unit. can do. If the prohibition unit determines that the transceiver is to be switched to the standby mode, the wakeup process according to the input signal by the wakeup control unit is prohibited for a predetermined time after switching to the standby mode. . Therefore, even if a noise signal is output from the transceiver when the transceiver is switched to the standby mode, it is possible to reliably prevent the controller that was previously in the sleep mode from being erroneously woken up. become.
上記括弧内の参照番号は、本発明の理解を容易にすべく、後述する実施形態における具体的な構成との対応関係の一例を示すものにすぎず、なんら本発明の範囲を制限することを意図したものではない。 The reference numerals in the parentheses merely show an example of a correspondence relationship with a specific configuration in an embodiment described later in order to facilitate understanding of the present invention, and are intended to limit the scope of the present invention. Not intended.
また、上述した特徴以外の、特許請求の範囲の各請求項に記載した技術的特徴に関しては、後述する実施形態の説明及び添付図面から明らかになる。 Further, the technical features described in the claims of the claims other than the features described above will become apparent from the description of embodiments and the accompanying drawings described later.
以下、本発明の実施形態を図面に基づいて説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
(第1実施形態)
図1は、第1実施形態による通信装置100の構成の一例を示す図である。通信装置100は、例えば車両内に構築されるローカルエリアネットワークの通信バスに接続され、同様にローカルエリアネットワークに接続された他の通信装置と通信を行う。
(First embodiment)
FIG. 1 is a diagram illustrating an example of a configuration of a
図1に示すように通信装置100は、コントローラとして、第1マイコン10と第2マイコン20を有している。第1マイコン10は、例えば、照合ECUとしての役割を担うものである。すなわち、第1マイコン10は、車両のユーザが保持する携帯キーとの間で相互通信を行なって、所定の照合処理を実行する。より具体的には、第1マイコン10は、例えばドアロックが施錠された状態で車両が駐車されているとき、図示しないタイマにより所定の時間間隔でウェイクアップされ、携帯キーへ電波を送信する。そして、電波の送受信や照合処理など必要な処理が完了すると、主要な動作を停止するスリープモードに移行する。このように、第1マイコン10は、車両が駐車されているとき、すなわちイグニッションスイッチがオフされているときに起動して動作する必要があるので、車載バッテリから直接、電力の供給を受けている。なお、第1マイコン10は、スリープモードとなっているときに、他の通信装置からの信号を受信すると、他の通信装置に含まれるマイコンと協働して動作するためにウェイクアップするように構成されている。この点は、以下に説明する第2マイコンも同様である。
As shown in FIG. 1, the
第2マイコン20は、例えば、電源ECUとしての役割を担うものである。すなわち、第2マイコン20は、第1マイコン10がウェイクアップしたとき、あるいは第1マイコン10が照合成立と判定したときに、第1マイコン10からの信号によって起動され、各種の車載機器(例えば、ドアノブに設けられたタッチセンサ、ドアロックモータ、エンジンのスタータなど)への電源供給を行う。これにより、正規の携帯キーを有するユーザが、タッチセンサに触れることによってドアロックを解除したり、エンジンのスタートボタンを押下することによって、エンジンを始動させたりすることが可能になる。なお、この第2マイコン20は、例えば、第1マイコン10において照合が成立しなかったときや、電源供給開始後、ユーザが乗車のための操作を行うことなく所定時間が経過したときなどに、車載機器への電源供給を停止して、スリープモードに移行する。
For example, the second microcomputer 20 serves as a power supply ECU. That is, the second microcomputer 20 is activated by a signal from the
他の通信装置に含まれるマイコンとしては、例えば、ボディECUとしての役割を担うマイコンがある。このマイコンは、例えば、第1マイコン10において照合が成立して、車両のドアノブに設けられたタッチセンサに通電が行われているときに、そのタッチセンサに対するユーザの操作を検出すると、ドアロックを解錠するための処理などを実行する。そのため、ボディECUとしての役割を担うマイコンは、第1マイコン10がウェイクアップしたとき、あるいは、第1マイコン10が照合成立と判定したときに、第1マイコン10から出力されるウェイクアップ信号により起動される。
As a microcomputer included in another communication device, for example, there is a microcomputer that plays a role as a body ECU. For example, when the
第1マイコン10及び第2マイコン20は、それぞれ、信号出力端子Tx1、Tx2、スタンバイ信号出力端子STB1、STB2、信号入力端子Rx1、Rx2、及び、他方のマイコンのスタンバイ信号を入力するスタンバイ信号入力端子P1、P2を有している。第1マイコン10及び第2マイコン20は、送信する信号がないときには、信号出力端子Tx1、Tx2からハイレベル信号を出力する。また、第1マイコン10及び第2マイコン20は、通常の動作を行うノーマルモード時には、スタンバイ信号出力端子STB1、STB2からローレベルのノーマル信号を出力し、スリープモード時には、ハイレベルのスタンバイ信号を出力する。なお、ノーマル信号の出力をハイレベルに設定し、スタンバイ信号の出力をローレベルに設定することも可能である。
The
第1マイコン10及び第2マイコン20は、いわゆるCANプロトコルに従って他の通信装置と通信を行う。そのため、第1マイコン10及び第2マイコン20は、図2に示すように、いわゆるCANコントローラに該当する通信制御部12を有している。なお、第1マイコン10と第2マイコン20との内部構成は共通であるため、図2には、第1マイコン10の内部構成のみを示している。また、第1マイコン10は、通信制御部12を介して他のマイコンとの間で通信を行うことにより、他のマイコンと連携して各種処理を実行する制御部11を有している。
The
CANコントローラとしての通信制御部12は、公知のように、マイコン間で送受信されるデータやメッセージ等を格納するためのメッセージボックスを備えている。そして、通信制御部12は、メッセージボックスの格納値に基づいて通信フレームを作成する。さらに、通信制御部12は、作成した通信フレームを、後述するトランシーバ50を介して通信バスに送信する送信制御、トランシーバ50によって受信した通信フレームからデータやメッセージの抽出等を行う受信制御、通信バス上や、後述するTx結合回路30において通信フレームが衝突した際の送信権の調停制御(ビット単位非破壊アービトレーション)、通信フレームの送受信に関連して生じるエラーの検出,通知等、CANプロトコルに従った通信制御を実行する。
As is well known, the
制御部11は、他のマイコンに対して送信すべきデータやメッセージがある場合、その送信内容に対応する優先順位を示す優先順位情報(IDコード)を特定し、これらメッセージ及びIDコードを、通信制御部12のメッセージボックスのメッセージレジスタ及びIDコードレジスタに格納する。このようにして、制御部11によって通信制御部12のメッセージボックスに送信用のメッセージが格納されると、通信制御部12は、送信制御として、メッセージボックスの格納値(IDコード及びメッセージ)に基づいて通信フレームを作成し、トランシーバ50を介して送信する。なお、制御部11は、送信用のメッセージを作成する他、上述した照合処理を行ったり、車載機器を制御するための制御処理を行ったりする。この制御部11が必要な処理を完了してスリープすることにより、第1マイコン10はスリープモードに移行する。
When there is data or a message to be transmitted to another microcomputer, the
本実施形態に係る通信装置100では、2つのマイコン10、20に対して、トランシーバ50を1つだけ設けた構成を採用している。このため、通信装置100は、2つのマイコン10、20から送信される通信フレームを示す信号を結合(調停)するTx結合回路30、及び2つのマイコン10、20からのスタンバイ信号を結合(集約)するSTB結合回路40を有している。
In the
Tx結合回路30は、第1マイコン10と第2マイコン20とのいずれかから通信フレームを示す信号が出力されるとき、その通信フレームを示す信号をトランシーバ50の送信端子TxTに出力する。このTx結合回路30は、ANDゲートを含んでおり、第1マイコン10及び第2マイコン20からの通信フレームが衝突したとき、より優先順位が高い通信フレームが送信されるようになっている。
When a signal indicating a communication frame is output from either the
また、STB結合回路40は、第1マイコン10及び第2マイコン20から、ともに、ハイレベルのスタンバイ信号が出力されたときに、トランシーバ50のスタンバイ端子STBTにスタンバイ信号を出力する。換言すれば、STB結合回路40は、第1マイコン10と第2マイコン20とのいずれか一方のマイコンからしかスタンバイ信号が出力されないときには、他方のマイコンは通常の動作を行っているため、トランシーバ50のスタンバイ端子STBTにローレベルのノーマル信号を出力する。
The
トランシーバ50は、第1マイコン10又は第2マイコン20の信号出力端子Tx1、Tx2から出力された通信フレームを示す信号の論理レベルに応じて、通信バスの2線式通信ラインに大小2種類の電位差を生じさせ、通信バス上で“1”又は“0”の信号を通信する。また、トランシーバ50は、通信バス上に生じた電位差を、通信フレームを示す信号に変換し、受信端子RxTから第1マイコン10及び第2マイコン20の信号入力端子Rx1、Rx2に出力する。
The transceiver 50 has two types of potential differences in the two-wire communication line of the communication bus according to the logic level of the signal indicating the communication frame output from the signal output terminals Tx1 and Tx2 of the
トランシーバ50は、スタンバイ端子STBTにローレベルのノーマル信号が入力されているとき、上述した信号の送信及び受信が可能となるノーマルモードにて動作する。しかし、トランシーバ50は、スタンバイ端子STBTにハイレベルのスタンバイ信号が入力されたときには信号の送信を停止することで、消費電力の低減されたスタンバイモードとなる。ただし、スタンバイモードにおいても、トランシーバ50は、信号を受信することは可能である。 The transceiver 50 operates in a normal mode that enables transmission and reception of the above-described signal when a low-level normal signal is input to the standby terminal STBT. However, when a high-level standby signal is input to the standby terminal STBT, the transceiver 50 enters a standby mode in which power consumption is reduced by stopping signal transmission. However, even in the standby mode, the transceiver 50 can receive signals.
ここで、トランシーバ50は、図3のタイミングチャートに示すように、スタンバイ端子STBTにスタンバイ信号が入力され、動作モードがノーマルモードからスタンバイモードに切り替えられるときに、受信端子RxTの信号レベルが不定となり、受信端子RxTから第1及び第2マイコン10、20に向けてノイズ信号を出力する場合がある。
Here, as shown in the timing chart of FIG. 3, in the transceiver 50, when the standby signal is input to the standby terminal STBT and the operation mode is switched from the normal mode to the standby mode, the signal level of the reception terminal RxT becomes indefinite. In some cases, a noise signal is output from the receiving terminal RxT toward the first and
図1に示すように、2つのマイコン10、20が1つのトランシーバ50を共用する構成においては、それぞれのマイコン10、20が、異なる時期に、スリープモードとなってスタンバイ信号を出力することが起こりえる。この場合、トランシーバ50は、最後にスリープモードとなるマイコンからスタンバイ信号が出力されたときに、ノーマルモードからスタンバイモードに移行することになる。このように、最後にスリープモードとなるマイコンは、自身が出力するスタンバイ信号によりトランシーバ50がスタンバイモードに切り替わるので、そのスタンバイモードへの切り替わりのタイミングを把握することができる。従って、例えば、トランシーバ50のスタンバイモードへの切り替わりに合わせて、トランシーバ50の受信端子RxTから出力される信号を無視するようにすれば、ノイズ信号を他の通信装置からの信号と誤認して、誤ってウェイクアップしてしまうことを防止できる。
As shown in FIG. 1, in a configuration in which two
しかしながら、先にスリープモードとなっているマイコンは、いつトランシーバ50がスタンバイモードに切り替わるのか知り得ない。このため、トランシーバ50の受信端子RxTから出力されるノイズ信号によって、誤ってウェイクアップしてしまう可能性がある。そして、誤ってウェイクアップしたマイコンは、通信バスに信号を送信して、他のマイコンを無駄にウェイクアップさせてしまう虞がある。 However, the microcomputer that is in the sleep mode first cannot know when the transceiver 50 is switched to the standby mode. For this reason, there is a possibility that the noise signal output from the reception terminal RxT of the transceiver 50 may wake up accidentally. Then, there is a possibility that the microcomputer that has woken up accidentally transmits a signal to the communication bus and wakes up other microcomputers unnecessarily.
そこで、本実施形態による通信装置100では、第1マイコン10及び第2マイコン20の各々に、他方のマイコンから出力されるスタンバイ信号を取り込むためのスタンバイ信号入力端子P1、P2を設けた。さらに、この他方のマイコンからのスタンバイ信号に基づいて、トランシーバ50がスタンバイモードに切り替えられることを判定し、トランシーバ50のスタンバイモードへの切り替えから所定時間の間、入力されたデータに応じてマイコンがウェイクアップすることを禁止する禁止部を設けた。これにより、先にスリープモードとなっているマイコンが、トランシーバ50の受信端子RxTから出力されるノイズ信号によって誤ってウェイクアップしてしまうことを防止することができる。
Therefore, in the
以下、第1マイコン10及び第2マイコン20の禁止部を含む内部構成について、図2を参照して説明する。ただし、本実施形態では、第1マイコン10と第2マイコン20との内部構成は共通であるため、第1マイコン10を例として説明する。
Hereinafter, an internal configuration including the prohibition part of the
図2に示すように、第1マイコン10は、スリープモードとなった制御部11をウェイクアップさせるウェイクアップ制御部13を有する。ウェイクアップ制御部13は、制御部11がスリープモードのときに動作し、信号入力端子Rx1を介してトランシーバ50から信号が入力されると、制御部11をウェイクアップさせるウェイクアップ処理を実行する。また、ウェイクアップ制御部13は、トランシーバ50から信号が入力される以外の別のウェイクアップ要因、例えば、図示しないタイマによる計測時間に基づき、前回のウェイクアップから所定の時間が経過したことを判定した場合にも、制御部11をウェイクアップさせる。
As illustrated in FIG. 2, the
ウェイクアップ禁止記憶部14は、上述した禁止部に該当するものであり、制御部11がスリープモードとなるときに起動されて動作可能となる一方で、制御部11がスリープモードからウェイクアップしてノーマルモードとなったとき、その動作が停止される。ウェイクアップ禁止記憶部14は、起動中に、スタンバイ信号入力端子P1から入力される信号に基づき、第2マイコン20のスタンバイ信号出力端子STB2から出力される信号がノーマル信号からスタンバイ信号に変化したことを検出すると、すなわち、ローレベルの信号からハイレベルの信号への信号の立ち上りを検出すると、所定時間の間、ウェイクアップ禁止情報を保持する。
The wake-up
なお、ウェイクアップ禁止記憶部14として、ウェイクアップ禁止情報の保持は、例えば、第1マイコン10内のRAMやレジスタを利用することが可能である。また、ウェイクアップ制御部13やウェイクアップ禁止記憶部14は、専用のハードウエアによって構成しても良いし、第1マイコン10のCPUによって実行されるソフトウエアとして構成しても良い。ソフトウエアとして構成される場合には、第1マイコン10のCPUは、スリープモード中は、ウェイクアップ制御部13及びウェイクアップ禁止記憶部14として機能するソフトウエアだけを実行するようにすれば良い。
Note that the wakeup
例えば、図3のタイミングチャートに示すように、第1マイコン10が第2マイコン20よりも先にスリープモードとなり、その後、第2マイコン20もスリープモードとなる場合、第2マイコン20からスタンバイ信号が出力されたときに、両方のマイコン10、20からのスタンバイ信号によりトランシーバ50はスタンバイモードとなる。このため、第1マイコン10のウェイクアップ禁止記憶部14は、第2マイコン20のスタンバイ信号に基づき、トランシーバ50がスタンバイモードへ切り替えられるか否かを判定することができる。そして、ウェイクアップ禁止記憶部14は、トランシーバ50がスタンバイモードに切り替えられることを判定することで、トランシーバ50のスタンバイモードへの切り替えから所定時間の間、ウェイクアップ禁止情報を保持することが可能となる。
For example, as shown in the timing chart of FIG. 3, when the
ウェイクアップ制御部13は、信号入力端子Rx1を介してトランシーバ50から信号を入力したとき、ウェイクアップ禁止記憶部14を参照し、ウェイクアップ禁止記憶部14にウェイクアップ禁止情報が保持されているか否かを確認する。そして、ウェイクアップ禁止情報が保持されている場合には、ウェイクアップ制御部13は、トランシーバ50の受信端子RxTから信号が入力されても、ウェイクアップ処理を実行しない。従って、トランシーバ50の受信端子RxTから出力されるノイズ信号によって、誤って第1マイコン10がウェイクアップしてしまうことを防止することができる。
When the wake-up
上記のように構成された通信装置100における、より詳細な動作を、図4乃至図8のフローチャートを参照して説明する。なお、各フローチャートの説明において、適宜、図3のタイミングチャートを参照する。
A more detailed operation in the
図4のフローチャートは、ウェイクアップ禁止記憶部14が実行するモード処理に関するものである。このフローチャートに示す処理は、制御部11からウェイクアップ禁止記憶部14に対して、起動モードもしくは停止モードのいずれかのモード命令が出されたときに実行される。
The flowchart of FIG. 4 relates to the mode process executed by the wakeup
まず、ステップS100では、ウェイクアップ禁止記憶部14は、制御部11からのモード命令を受信する。続くステップS110では、受信したモード命令が起動命令であるのか、それとも停止命令であるのかを判定する。起動命令であると判定した場合には、ステップS120に進み、ウェイクアップ禁止記憶部14は、動作モードを起動モードに設定する。一方、停止命令であると判定した場合には、ステップS130に進み、ウェイクアップ禁止記憶部14は、動作モードを停止モードに設定する。
First, in step S <b> 100, the wakeup
制御部11は、スリープモードに移行する際には、ウェイクアップ禁止記憶部14へ起動命令を出力し、スリープモードからウェイクアップしてノーマルモードに移行すると、ウェイクアップ禁止記憶部14へ停止命令を出力する。このため、図3のタイミングチャートに示すように、制御部11(第1マイコン10)の動作モードがノーマルモードであるとき(時刻T1以前)、ウェイクアップ禁止記憶部14の動作モードは停止モードに設定される。そして、時刻T1において、制御部11の動作モードがスリープモードに切り替えられると、ウェイクアップ禁止記憶部14の動作モードは起動モードとなる。このように、ウェイクアップ禁止記憶部14は、制御部11がスリープモードとなっている間だけ起動モードとなり、他のマイコンのスタンバイ信号に基づいて、ウェイクアップ禁止情報を保持することが可能となる。
When the
図5のフローチャートは、ウェイクアップ禁止記憶部14が実行する禁止情報記憶処理に関するものである。このフローチャートに示す処理は、スタンバイ信号入力端子P1から取り込んだ信号が、ローレベル(ノーマル信号)からハイレベル(スタンバイ信号)に立ち上がったことをウェイクアップ禁止記憶部14が検知したときに実行される。
The flowchart of FIG. 5 relates to the prohibition information storage process executed by the wakeup
まず、ステップS200では、動作モードが起動モードに設定されているか否かを判定する。この際、起動モードに設定されていると判定すると、ステップS210の処理に進み、停止モードに設定されていると判定すると、図5のフローチャートに示す禁止情報記憶処理を終了する。 First, in step S200, it is determined whether or not the operation mode is set to the start mode. At this time, if it is determined that the start mode is set, the process proceeds to step S210. If it is determined that the stop mode is set, the prohibition information storage process shown in the flowchart of FIG.
ステップS210では、第1マイコン10のRAMやレジスタなどの適切な記憶部に、ウェイクアップ禁止情報を保持する。続くステップS220では、ウェイクアップ禁止情報を保持してから所定時間が経過したか否かを判定する。この所定時間は、トランシーバ50がスタンバイモードに切り替えられたときに、受信端子RxTから出力されるノイズ信号をマスクすることができる時間に設定される。所定時間が経過したと判定すると、ステップS230において、保持しているウェイクアップ禁止情報をクリアして、図5に示す禁止情報記憶処理を終了する。
In step S210, the wake-up prohibition information is held in an appropriate storage unit such as a RAM or a register of the
この図5に示す禁止情報記憶処理により、図3のタイミングチャートに示すように、時刻T3において、第2マイコン20のスタンバイ信号出力端子STB2からスタンバイ信号の出力が開始されると、時刻T3から、ウェイクアップ禁止記憶部14にて、ウェイクアップ禁止情報が保持される。このウェイクアップ禁止情報は、時刻T3から所定時間経過した時刻T4にクリアされる。
When the output of the standby signal from the standby signal output terminal STB2 of the second microcomputer 20 is started at time T3 as shown in the timing chart of FIG. 3 by the prohibition information storage processing shown in FIG. 5, from time T3, The wakeup
図6のフローチャートは、ウェイクアップ制御部13が実行する第1ウェイクアップ処理に関するものである。このフローチャートに示す第1ウェイクアップ処理は、制御部11がスリープモードとなっており、かつ、ウェイクアップ制御部13が、信号入力端子Rx1から入力される信号が変化してエッジの発生を検知したときに実行される。
The flowchart of FIG. 6 relates to the first wakeup process executed by the
まず、ステップS300において、ウェイクアップ制御部13は、ウェイクアップ禁止記憶部14を参照し、ウェイクアップ禁止情報が保持されているかを確認する。そして、ステップS310において、ステップS300の確認結果に基づき、ウェイクアップ禁止記憶部14にウェイクアップ禁止情報が保持されているか否かを判定する。この判定処理において、ウェイクアップ禁止情報が保持されていると判定すると、図6のフローチャートに示す第1ウェイクアップ処理を終了する。このため、図3のタイミングチャートに示すように、時刻T3から時刻T4までの期間は、ウェイクアップ禁止記憶部14にウェイクアップ禁止情報が保持されているので、ウェイクアップ制御部13は、信号入力端子Rx1から入力される信号の変化を検知しても、制御部11をウェイクアップさせない。このため、時刻T3に、トランシーバ50がスタンバイモードに切り替えられたことに伴って、受信端子RxTからノイズ信号が出力されても、制御部11はスリープモードを維持することができる。
First, in step S300, the
一方、ウェイクアップ制御部13は、ステップS310の判定処理において、ウェイクアップ禁止記憶部14にウェイクアップ禁止情報が保持されていないと判定すると、ステップS320の処理に進む。
On the other hand, if the
ステップS320では、ウェイクアップ制御部13は、制御部11をウェイクアップさせる。これにより、制御部11は、スリープモードからノーマルモードに切り換えられ、通常の制御動作を開始する。
In step S320, the
続くステップS330では、ノーマルモードに切り替えられた制御部11が、ウェイクアップ禁止記憶部14へ停止命令を出力する。これにより、ウェイクアップ禁止記憶部14は動作を停止する。また、制御部11は、ステップS340において、通信制御部12を起動させる。つまり、通信制御部12は、制御部11のスリープモードへの移行に連動して停止し、ノーマルモードへの移行に連動して起動されるように構成されている。さらに、制御部11は、ステップS350において、スタンバイ信号出力端子STB1からトランシーバ50にノーマル信号を出力する。これにより、トランシーバ50の動作モードは、スタンバイモードからノーマルモードに切り換えられ、トランシーバ50は信号の送信処理を行うことが可能になる。そして、制御部11は、ステップS360において、通信制御部12を介して、ウェイクアップ信号を通信バスに送出して、ローカルエリアネットワークに接続された他の通信装置のマイコンをウェイクアップさせる。
In subsequent step S330, the
図7のフローチャートは、ウェイクアップ制御部13が実行する第2ウェイクアップ処理に関するものである。このフローチャートに示す第2ウェイクアップ処理は、制御部11がスリープモードとなっており、かつ、ウェイクアップ制御部13が、トランシーバ50から信号が入力される以外の別のウェイクアップ要因を検知したときに実行される。
The flowchart in FIG. 7 relates to the second wakeup process executed by the
この図7のフローチャートに示す第2ウェイクアップ処理では、ステップS400〜S440までの処理が順に実行されるが、これらの各ステップにおける処理は、図6のフローチャートのステップS320〜S360までの各ステップの処理と同様である。すなわち、トランシーバ50から信号が入力される以外の別のウェイクアップ要因を検知したときには、ウェイクアップ制御部13は、即座に、制御部11をウェイクアップさせ、それにより、制御部11は、第1マイコン10の各部を通常動作可能な状態に移行させる。つまり、別のウェイクアップ要因が検出された場合には、ウェイクアップ制御部13は、ウェイクアップ禁止記憶部14にウェイクアップ禁止情報が保持されているか否かに係わらず、制御部11をウェイクアップさせる。
In the second wake-up process shown in the flowchart of FIG. 7, the processes from steps S400 to S440 are executed in order. The processes in these steps are the same as those in steps S320 to S360 in the flowchart of FIG. It is the same as the processing. That is, when another wake-up factor other than the signal input from the transceiver 50 is detected, the wake-up
図8のフローチャートは、制御部11が実行するスリープ処理に関するものである。このフローチャートに示すスリープ処理は、制御部11において必要な処理がすべて完了したときに実行される。なお、図3のタイミングチャートには、第1マイコン10が、時刻T1においてスリープモードに切り換えられる様子が示されている。
The flowchart in FIG. 8 relates to the sleep process executed by the
まず、ステップS500では、制御部11は、通信制御部12を停止させる。続くステップS510では、スタンバイ信号出力端子STB1からトランシーバ50に向けてスタンバイ信号を出力する。なお、制御部11からのスタンバイ信号の出力は、制御部11がスリープモードとなった後も継続される。
First, in step S500, the
ただし、図3のタイミングチャートの時刻T1において、第1マイコン10がスタンバイ信号の出力を開始しても、トランシーバ50はスタンバイモードに切り換えられず、ノーマルモードのままである。これは、第2マイコン20がまだ動作中であって、第2マイコン20のスタンバイ信号出力端子STB2からはノーマル信号が出力されているためである。
However, even when the
ステップS520では、制御部11は、ウェイクアップ禁止記憶部14へ起動命令を出力する。これにより、ウェイクアップ禁止記憶部14は起動モードとなり動作を開始する。また、制御部11は、ステップS530において、スリープモードに移行する。続くステップS540では、ウェイクアップ制御部13が、入力された信号に応じたウェイクアップ処理の実行を禁止するように設定する。そして、ステップS550において、ウェイクアップ制御部13は、ウェイクアップ処理の実行禁止の設定から所定時間が経過したか否かを判定する。所定時間が経過したと判定した場合には、ステップS560に進み、ウェイクアップ制御部13は、入力された信号に応じたウェイクアップ処理の実行禁止を解除する。
In step S520, the
制御部11がスリープモードに移行してから所定時間の間、ウェイクアップ制御部13が、入力された信号に応じたウェイクアップ処理の実行を禁止することにより、第1マイコン10が、第2マイコン20よりも遅くスリープモードに移行した場合であっても、トランシーバ50からのノイズ信号によってノーマルモードに復帰してしまうことを防止することができる。
For a predetermined time after the
(第2実施形態)
次に、本発明の第2実施形態に係る通信装置について説明する。なお、以下の説明では、上述した第1実施形態による通信装置と異なる部分について重点的に説明し、共通する部分については同じ参照番号を付与して説明を省略する。
(Second Embodiment)
Next, a communication apparatus according to the second embodiment of the present invention will be described. In the following description, parts different from those of the communication device according to the first embodiment described above will be mainly described, and common parts will be given the same reference numerals and description thereof will be omitted.
上述した第1実施形態では、ウェイクアップ禁止記憶部14が、第2マイコン20のスタンバイ信号出力端子STB2から出力される信号の変化を検出したとき、ウェイクアップ禁止情報を所定時間保持するものであった。
In the first embodiment described above, when the wakeup
それに対し、本実施形態では、図9に示すように、禁止部として、ウェイクアップ禁止記憶部14に代えて、カウント値記憶部15が設けられている。さらに、第1マイコン10には、禁止部の構成要素の一つとして、時間の経過をカウントするタイマ16が設けられている。カウント値記憶部15は、第2マイコン20のスタンバイ信号出力端子STB2から出力される信号の変化に基づき、トランシーバ50がスタンバイモードに切り換えられることを判定すると、そのときのタイマ16のカウント値を読み出して保存する。
On the other hand, in the present embodiment, as shown in FIG. 9, a count
図10のフローチャートには、カウント値記憶部15が実行するカウント値記憶処理を示している。このカウント値記憶処理は、図5のウェイクアップ禁止情報記憶処理と同様に、スタンバイ信号入力端子P1から取り込んだ信号が、ローレベル(ノーマル信号)からハイレベル(スタンバイ信号)に立ち上がったことをカウント値記憶部15が検知したときに実行される。
The flowchart of FIG. 10 shows the count value storage process executed by the count
カウント値記憶部15も、ウェイクアップ禁止記憶部14と同様に、制御部11がスリープモードとなるときに起動され、ノーマルモードに移行するときに停止される。そのため、カウント値記憶処理では、まず、ステップS600において、カウント値記憶部15が起動モードであるか否かを判定する。この判定処理において起動モードと判定した場合、ステップS610に進む。ステップS610では、カウント値記憶部15は、タイマ16のカウント値を読み出して保存する。
Similarly to the wakeup
ウェイクアップ制御部13は、信号入力端子Rx1から入力される信号が変化してエッジの発生を検知したとき、図11のフローチャートに示す第1ウェイクアップ処理を実行する。
When the signal input from the signal input terminal Rx1 changes to detect the occurrence of an edge, the
ウェイクアップ制御部13は、まず、ステップS700において、カウント値記憶部15を参照し、記憶されているタイマ16のカウント値を確認する。そして、ステップS710において、ステップS700の確認結果に基づき、カウント値が保存されているか否かを判定する。この判定処理において、カウント値が保存されていると判定すると、ステップS720の処理に進む。一方、カウント値が保存されていないと判定すると、ステップS740の処理に進み、制御部11をウェイクアップさせる。カウント値記憶部15にカウント値が保存されていない場合、トランシーバ50がスタンバイモードに移行しておらず、ウェイクアップ制御部13へ入力された信号は、他のマイコンからのウェイクアップ信号とみなせるためである。
First, in step S700, the wake-up
ステップS720では、ウェイクアップ制御部13が、タイマ16の最新のカウント値を読み出す。そして、ステップS730において、カウント値記憶部15に保存されているカウント値と、読み出した最新のカウント値との差が、所定時間以上の経過を示すものであるか否かを判定する。この判定処理において、両カウント値の差は所定時間未満の時間の経過しか示していない、すなわち「NO」と判定した場合、図11のフローチャートに示す第1ウェイクアップ処理を終了する。これにより、トランシーバ50がスタンバイモードに移行してから所定時間が経過するまでは、ウェイクアップ制御部13が、入力された信号に応じてウェイクアップ処理を実行しないようにすることができる。
In step S720, the
一方、ステップS730において、両カウント値の差は所定時間以上の経過を示している、すなわち「YES」と判定した場合、ステップS740の処理に進む。ステップS740〜S780の各処理は、第1実施形態の図6の第1ウェイクアップ処理のステップS320〜S360の各処理と同様に、制御部11をウェイクアップさせ、そのウェイクアップされた制御部11により、第1マイコン10の各部を通常動作可能な状態に移行させるためのものである。
On the other hand, if it is determined in step S730 that the difference between the two count values is equal to or longer than the predetermined time, that is, "YES", the process proceeds to step S740. Each process of steps S740 to S780 causes the
ただし、ステップS740〜S780の内、ステップS750の処理は、第1実施形態の第1ウェイクアップ処理と若干異なる。すなわち、本実施形態のカウント値記憶部15は、トランシーバ50がスタンバイモードに切り替えられた時点のタイマ16のカウント値を保存する機能を備えるだけで、そのカウント値をクリアする機能は備えていない。そのため、ステップS750において、カウント値記憶部15に停止命令を出力する際には、併せて、カウント値のクリア命令も出力するようにしている。
However, among steps S740 to S780, the process of step S750 is slightly different from the first wake-up process of the first embodiment. That is, the count
以上のような第2実施形態に係る通信装置によっても、第1実施形態に係る通信装置100と同様に、トランシーバ50がスタンバイモードに移行したときに、トランシーバ50の受信端子RxTから出力されるノイズ信号によって、誤ってウェイクアップしてしまうことを防止することができる。
Even in the communication device according to the second embodiment as described above, similarly to the
(第3実施形態)
次に、本発明の第3実施形態に係る通信装置について説明する。なお、以下の説明では、上述した第1実施形態による通信装置と異なる部分について重点的に説明し、共通する部分については同じ参照番号を付与して説明を省略する。
(Third embodiment)
Next, a communication apparatus according to the third embodiment of the present invention will be described. In the following description, parts different from those of the communication device according to the first embodiment described above will be mainly described, and common parts will be given the same reference numerals and description thereof will be omitted.
本実施形態に係る通信装置は、図12に示すように、禁止部として、フィルタ部17を備えている点が、第1実施形態に係る通信装置と相違している。フィルタ部17は、信号入力端子Rx1とウェイクアップ制御部13との間に設けられている。このフィルタ部17は、第2マイコン20のスタンバイ信号出力端子STB2から出力される信号の変化に基づき、トランシーバ50がスタンバイモードに切り換えられることを判定すると、その判定した時点から所定時間の間、信号入力端子Rx1から入力される信号のウェイクアップ制御部13への伝達を遮断する。つまり、フィルタ部17は、信号入力端子Rx1に入力される信号が変化しても、その変化が生じていない信号をウェイクアップ制御部13へ出力する。
As shown in FIG. 12, the communication apparatus according to the present embodiment is different from the communication apparatus according to the first embodiment in that a
図13のフローチャートは、フィルタ部17が実行するフィルタ処理を示している。このフィルタ処理は、図5のウェイクアップ禁止情報記憶処理と同様に、スタンバイ信号入力端子P1から取り込んだ信号が、ローレベル(ノーマル信号)からハイレベル(スタンバイ信号)に立ち上がったことをフィルタ部17が検知したときに実行される。
The flowchart of FIG. 13 shows the filter processing executed by the
フィルタ部17も、ウェイクアップ禁止記憶部14と同様に、制御部11がスリープモードとなるときに起動され、ノーマルモードに移行するときに停止される。そのため、図13に示すフィルタ処理では、まず、ステップS800において、フィルタ部17が起動モードであるか否かを判定する。この判定処理において起動モードと判定した場合、ステップS810に進む。ステップS810では、フィルタ部17によるフィルタリングを開始する。このフィルタリング中は、上述したように、信号入力端子Rx1に入力される信号が変化しても、その変化がウェイクアップ制御部13へは伝達されない。
Similarly to the wakeup
続くステップS820では、フィルタリングを開始してから所定時間が経過したか否かを判定する。所定時間が経過したと判定すると、ステップS830において、フィルタ部17によるフィルタリングを停止する。従って、以後は、信号入力端子Rx1に入力された信号がそのままウェイクアップ制御部13に出力されることになる。
In a succeeding step S820, it is determined whether or not a predetermined time has elapsed since the filtering was started. If it is determined that the predetermined time has elapsed, the filtering by the
上述したように、第3実施形態に係る通信装置では、トランシーバ50がスタンバイモードに切り換えられてから所定時間の間、信号入力端子Rx1に入力された信号のウェイクアップ制御部13への伝達を遮断している。このため、トランシーバ50がスタンバイモードに移行したときに、トランシーバ50の受信端子RxTから出力されるノイズ信号によって、誤ってウェイクアップしてしまうことを防止することができる。
As described above, in the communication device according to the third embodiment, transmission of the signal input to the signal input terminal Rx1 to the
以上、本発明の好ましい実施形態について説明したが、本発明は、上述した実施形態になんら制限されることなく、本発明の主旨を逸脱しない範囲において、種々の変形が可能である。 The preferred embodiments of the present invention have been described above, but the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the spirit of the present invention.
例えば、上述した各実施形態では、2個のマイコンに対して1個のトランシーバを設けた構成について説明した。しかしながら、トランシーバは、3個以上のマイコンで共用しても良い。この場合、各マイコンにおいて、スリープモードとなったとき、他の全てのマイコンのスタンバイ信号出力端子から出力される信号を取り込んで、その変化を検知し、他の全てのマイコンからスタンバイ信号の出力が検知されるまで、検知結果を保存しておく。そして、すべての検知結果が、スタンバイ信号の出力を示すものとなったとき、その時点から所定時間の間、禁止部は、信号入力端子から入力される信号に基づくウェイクアップ処理を禁止するようにする。 For example, in each of the above-described embodiments, the configuration in which one transceiver is provided for two microcomputers has been described. However, the transceiver may be shared by three or more microcomputers. In this case, when each microcomputer enters the sleep mode, it captures the signal output from the standby signal output terminal of all other microcomputers, detects the change, and outputs the standby signal from all other microcomputers. The detection result is stored until it is detected. When all the detection results indicate the output of the standby signal, the prohibition unit prohibits the wake-up process based on the signal input from the signal input terminal for a predetermined time from that point. To do.
また、上述した各実施形態では、各マイコンに、禁止部を設けていた。しかしながら、トランシーバを共用する複数のマイコンにおいて、それぞれの役割や果たすべき機能の関係から、スリープモードに移行する順序が決まっている場合、先にスリープモードとなるマイコンには禁止部を設けるが、最後にスリープモードに移行するマイコンには禁止部を設けないように構成しても良い。 Moreover, in each embodiment mentioned above, the prohibition part was provided in each microcomputer. However, in the case of multiple microcomputers sharing a transceiver, if the order of shifting to the sleep mode is determined based on the relationship between the roles and functions to be performed, the microcomputer that enters the sleep mode is provided with a prohibition section first. In addition, the microcomputer that shifts to the sleep mode may be configured not to include the prohibition unit.
10 第1マイコン
11 制御部
12 通信制御部
13 ウェイクアップ制御部
14 ウェイクアップ禁止記憶部
15 カウント値記憶部
16 タイマ
17 フィルタ部
20 第2マイコン
30 Tx結合回路
40 STB結合回路
50 トランシーバ
DESCRIPTION OF
Claims (7)
送信すべき信号を生成して出力するとともに、入力された信号を処理するものであって、スリープモードの時に、スタンバイ信号を出力する複数のコントローラ(10、20)と、
前記複数のコントローラから出力された信号を前記通信バスに送出するとともに、前記他の通信装置から前記通信バスに送出された信号を受信して前記複数のコントローラに入力するものであって、前記スタンバイ信号が入力されたとき、通常の動作モードから送信動作を停止するスタンバイモードに切り替わるトランシーバ(50)と、
前記複数のコントローラと前記トランシーバとの間に介在し、前記複数のコントローラの全てから前記スタンバイ信号が出力されたときに、前記トランシーバに前記スタンバイ信号を出力する結合部(40)と、を備え、
前記複数のコントローラは、スリープモードのときに動作し、前記トランシーバから信号が入力されると、前記コントローラをスリープモードからウェイクアップさせるウェイクアップ制御部(13)を有し、さらに、
前記複数のコントローラの内、少なくとも先にスリープモードとなるコントローラは、スリープモードのとき、前記複数のコントローラにおける他のコントローラのスタンバイ信号を監視し、当該他のコントローラのスタンバイ信号に基づいて、前記トランシーバがスタンバイモードへ切り替えられることを判定し、前記トランシーバのスタンバイモードへの切り替えから所定時間の間、前記ウェイクアップ制御部による、入力された信号に応じたウェイクアップ処理を禁止する禁止部(14、15、16、17)を有する通信装置。 A communication device (100) for communicating with another communication device via a communication bus,
A plurality of controllers (10, 20) for generating and outputting a signal to be transmitted and processing an input signal, and outputting a standby signal in the sleep mode;
Sending signals output from the plurality of controllers to the communication bus, receiving signals sent from the other communication devices to the communication bus, and inputting the signals to the plurality of controllers, the standby A transceiver (50) that switches from a normal operation mode to a standby mode to stop transmission operation when a signal is input;
A coupling unit (40) that is interposed between the plurality of controllers and the transceiver, and outputs the standby signal to the transceiver when the standby signal is output from all of the plurality of controllers;
The plurality of controllers operate in a sleep mode, and have a wakeup control unit (13) that wakes up the controller from a sleep mode when a signal is input from the transceiver,
Among the plurality of controllers, at least the controller that is in the sleep mode first, in the sleep mode, monitors a standby signal of another controller in the plurality of controllers, and based on the standby signal of the other controller, the transceiver A prohibition unit (14,) for prohibiting a wakeup process according to an input signal by the wakeup control unit for a predetermined time after the transceiver is switched to the standby mode. 15, 16, 17).
前記ウェイクアップ制御部は、前記記憶部を参照し、前記記憶部に前記ウェイクアップ禁止情報が保持されている間、入力された信号に応じたウェイクアップ処理を実行しない請求項1に記載の通信装置。 The prohibition unit includes a storage unit (14) that holds wake-up prohibition information for a predetermined time after the transceiver is switched to the standby mode when it is determined that the transceiver is switched to the standby mode.
2. The communication according to claim 1, wherein the wakeup control unit refers to the storage unit and does not execute a wakeup process according to an input signal while the wakeup prohibition information is held in the storage unit. apparatus.
時間の経過をカウントするタイマ(16)と、
前記トランシーバがスタンバイモードへ切り替えられるときの前記タイマのカウント値を保持するカウント値記憶部(15)と、を備え
前記ウェイクアップ制御部は、前記タイマによる最新のカウント値と、前記カウント値記憶部に保持されたカウント値とを参照し、前記トランシーバのスタンバイモードへの切り替えから所定時間が経過したと判定されるまで、入力された信号に応じたウェイクアップ処理を実行しない請求項1に記載の通信装置。 The prohibited part is
A timer (16) for counting the passage of time;
A count value storage unit (15) for holding a count value of the timer when the transceiver is switched to a standby mode, the wake-up control unit includes a latest count value by the timer, and the count value storage unit The wake-up process according to the input signal is not executed until it is determined that a predetermined time has elapsed since the transceiver was switched to the standby mode with reference to the count value held in Communication device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016114795A JP6547689B2 (en) | 2016-06-08 | 2016-06-08 | Communication device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016114795A JP6547689B2 (en) | 2016-06-08 | 2016-06-08 | Communication device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2017220831A true JP2017220831A (en) | 2017-12-14 |
JP6547689B2 JP6547689B2 (en) | 2019-07-24 |
Family
ID=60657790
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016114795A Active JP6547689B2 (en) | 2016-06-08 | 2016-06-08 | Communication device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6547689B2 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007030593A (en) * | 2005-07-25 | 2007-02-08 | Fujitsu Ten Ltd | Electronic control system |
US20130318380A1 (en) * | 2012-05-28 | 2013-11-28 | Freescale Semiconductor, Inc. | Handling of Wake-Up Messages in Controller Area Networks |
JP2015155259A (en) * | 2014-02-20 | 2015-08-27 | 株式会社デンソー | communication circuit |
-
2016
- 2016-06-08 JP JP2016114795A patent/JP6547689B2/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007030593A (en) * | 2005-07-25 | 2007-02-08 | Fujitsu Ten Ltd | Electronic control system |
US20130318380A1 (en) * | 2012-05-28 | 2013-11-28 | Freescale Semiconductor, Inc. | Handling of Wake-Up Messages in Controller Area Networks |
JP2015155259A (en) * | 2014-02-20 | 2015-08-27 | 株式会社デンソー | communication circuit |
Also Published As
Publication number | Publication date |
---|---|
JP6547689B2 (en) | 2019-07-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110723086A (en) | Vehicle start control system and method | |
US9251632B2 (en) | Vehicle diagnostic system | |
CN108973933B (en) | Control system, vehicle-mounted device and electronic key | |
JP2007217939A (en) | Vehicle remote controller and its method | |
JP2007030593A (en) | Electronic control system | |
JP2010053632A (en) | Portable radio communication device | |
JP2011052505A (en) | Electronic key system and electronic key | |
JP2006028838A (en) | Vehicle door remote control system | |
CN112061076B (en) | Keyless control method and device for vehicle, vehicle and electronic equipment | |
JP2010501405A (en) | Apparatus and method for managing communication via a bus in an automobile in which a plurality of control devices are connected via a bus | |
JP2008107914A (en) | Microcomputer, program and electronic control device for vehicle | |
JP2011024332A (en) | Electronic key system and power supply method for electronic key | |
JP6760206B2 (en) | In-vehicle authentication device, portable device authentication method | |
JP2010001642A (en) | Electronic key system, potable machine, and program for potable machine | |
JP2011020634A (en) | Electronic key system | |
JP5454315B2 (en) | In-vehicle network system and data relay device | |
JP6547689B2 (en) | Communication device | |
JP2018071213A (en) | Mobile device and control method thereof | |
JP5614365B2 (en) | Data relay device, in-vehicle network | |
US20150377204A1 (en) | Vehicular electronic control unit | |
JP5991068B2 (en) | Wireless key communication system for vehicle | |
JP2020051034A (en) | Vehicle control device | |
JP2008222051A (en) | Microcomputer, program, electronic control device, and communication system | |
JP2008254518A (en) | On-vehicle communication device | |
JP5867350B2 (en) | Electronic control device for vehicle |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20180706 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20190423 |
|
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: 20190528 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20190610 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 6547689 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |