JP5194867B2 - In-vehicle device for smart entry system - Google Patents

In-vehicle device for smart entry system Download PDF

Info

Publication number
JP5194867B2
JP5194867B2 JP2008034778A JP2008034778A JP5194867B2 JP 5194867 B2 JP5194867 B2 JP 5194867B2 JP 2008034778 A JP2008034778 A JP 2008034778A JP 2008034778 A JP2008034778 A JP 2008034778A JP 5194867 B2 JP5194867 B2 JP 5194867B2
Authority
JP
Japan
Prior art keywords
microcomputer
next cycle
entry system
pulse
smart entry
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.)
Expired - Fee Related
Application number
JP2008034778A
Other languages
Japanese (ja)
Other versions
JP2009191548A (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.)
Denso Corp
Original Assignee
Denso Corp
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 Denso Corp filed Critical Denso Corp
Priority to JP2008034778A priority Critical patent/JP5194867B2/en
Publication of JP2009191548A publication Critical patent/JP2009191548A/en
Application granted granted Critical
Publication of JP5194867B2 publication Critical patent/JP5194867B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • Y02B60/50

Description

本発明は、使用者に携帯される携帯機と通信を行って各種車両制御を実現するスマートエントリシステム用車載装置に関するものである。   The present invention relates to an in-vehicle device for a smart entry system that implements various vehicle controls by communicating with a portable device carried by a user.

従来より、自動車においては、車載装置から周囲に送信要求信号を送信すると共に、その送信要求信号を受信した携帯機からの返送信号をその車載装置において受信し、車載装置側の制御装置が、受信できた返送信号に含まれている識別情報としてのIDコードと当該制御装置内に予め登録されているIDコードとを比較して、その両IDコードが一致していれば、認証が成功したとしてアクチュエータの駆動によるドアの解錠(アンロック)又は解錠許可やエンジンの始動許可といった車両制御を実施する、スマートエントリシステムが知られている(例えば、特許文献1,2参照)。   Conventionally, in an automobile, a transmission request signal is transmitted from the in-vehicle device to the surroundings, and a return signal from the portable device that has received the transmission request signal is received by the in-vehicle device. The ID code as the identification information included in the returned signal is compared with the ID code registered in advance in the control device, and if the two ID codes match, the authentication is successful. Smart entry systems are known that perform vehicle control such as door unlocking (unlocking) or unlocking permission or engine start permission by driving an actuator (see, for example, Patent Documents 1 and 2).

このようなスマートエントリシステムによれば、使用者が特別なキー操作を行わなくても、ドアのアンロック等の車両制御が実施されることとなるため、利便性を向上させることができる。一方で、認証のために車載装置が定期的に起動する必要があり、このため消費電力が増大してしまうことが問題となっている。   According to such a smart entry system, vehicle control such as unlocking the door is performed without the user performing a special key operation, so that convenience can be improved. On the other hand, it is necessary for the in-vehicle device to be periodically activated for authentication, which causes a problem that power consumption increases.

そこで、この種のスマートエントリシステム用の車載装置において、以下のような構成が従来考えられている。
具体的に、車載装置が、スリープモードに移行するマイコン(前述の制御装置に相当)と、マイコンがスリープモードに移行した際にマイコンに代わって携帯機との通信を行う通信ICとを備えた構成である(図7参照)。
Therefore, the following configuration has been conventionally considered in this type of in-vehicle device for a smart entry system.
Specifically, the in-vehicle device includes a microcomputer (corresponding to the control device described above) that shifts to the sleep mode, and a communication IC that communicates with the portable device instead of the microcomputer when the microcomputer shifts to the sleep mode. It is a configuration (see FIG. 7).

図7(a)は、そのような車載装置としての電子制御装置(以下、ECUと記載する)100の構成図であり、図7(b)は、ECU100における作用を説明するタイムチャートである。   FIG. 7A is a configuration diagram of an electronic control device (hereinafter referred to as an ECU) 100 as such an in-vehicle device, and FIG. 7B is a time chart for explaining the operation of the ECU 100.

図7において、マイコン110の起動(ウェイクモード)中は、そのマイコン110の制御により、送信アンテナ140を介して周囲に送信要求信号が送信される。送信要求信号を受信した携帯機(図示省略)からの返送信号は受信アンテナ130により受信され、通信IC120を介してマイコン110に入力される。マイコン110は、前述のように、返送信号に含まれている識別情報としてのIDコードとマイコン110内に予め登録されているIDコードとが一致するか否か比較判定する(図7(b):マイコン制御による認証)。   In FIG. 7, while the microcomputer 110 is activated (wake mode), a transmission request signal is transmitted to the surroundings via the transmission antenna 140 under the control of the microcomputer 110. A return signal from a portable device (not shown) that has received the transmission request signal is received by the receiving antenna 130 and input to the microcomputer 110 via the communication IC 120. As described above, the microcomputer 110 compares and determines whether the ID code as the identification information included in the return signal matches the ID code registered in the microcomputer 110 in advance (FIG. 7B). : Authentication by microcomputer control).

一方、マイコン110は、スリープモードに移行しても良いと判断すると、スリープモードに移行するようになっている。マイコン110の状態がスリープモードである際は、通信IC120が定期的に駆動し、マイコン110に代わって、送信アンテナ140を介して周囲に送信要求信号を送信すると共に、送信要求信号を受信した携帯機からの返送信号を受信アンテナ130を介して受信する。通信IC120は、返送信号を受信できたか否かの簡易認証を行い(図7(b):PWMによる認証)、受信できた返送信号が表す情報をマイコン110に出力する。マイコン110は、返送信号が表す情報を入力されると起動し、前述のような認証を行うようになっている。   On the other hand, when the microcomputer 110 determines that the sleep mode may be shifted, the microcomputer 110 shifts to the sleep mode. When the microcomputer 110 is in the sleep mode, the communication IC 120 is periodically driven to transmit a transmission request signal to the surroundings via the transmission antenna 140 on behalf of the microcomputer 110 and to receive the transmission request signal. A return signal from the machine is received via the receiving antenna 130. The communication IC 120 performs simple authentication as to whether or not the return signal has been received (FIG. 7B: authentication by PWM), and outputs information represented by the received return signal to the microcomputer 110. The microcomputer 110 is activated when information indicated by the return signal is input, and performs authentication as described above.

通信IC120の駆動タイミングは、マイコン110により制御される。具体的に、マイコン110は、そのマイコン110がスリープモード中でも所定のデューティ比のパルスを出力するPWM(Pulse Width Modulation)機能を有し、このPWM機能を用いてパルスを通信IC120に出力する。通信IC120は、パルスの立ち上がりタイミングで所定期間駆動するようになっている。   The driving timing of the communication IC 120 is controlled by the microcomputer 110. Specifically, the microcomputer 110 has a PWM (Pulse Width Modulation) function that outputs a pulse with a predetermined duty ratio even when the microcomputer 110 is in the sleep mode, and outputs a pulse to the communication IC 120 using this PWM function. The communication IC 120 is driven for a predetermined period at a pulse rising timing.

ここで、本例のECU100においては、マイコン110は、そのマイコン110の動作中は、通信IC120へのパルスのデューティ比を0に設定して、結果的にパルスが通信IC120に出力されないようにしている。一方、マイコン110は、スリープモードに移行しても良いと判断した際(図7(b):切替条件成立)、デューティ比を所定値に設定し(図7(b):切替要求)、設定が完了すると(図7(b):切替完了)、スリープモードに移行する。尚、マイコン110から通信回路120に正常にパルスが出力されることをもって、設定が完了する(図7(b):切替完了)、と言うものとする。
特開2000−104429号公報 特開2003−157483号公報
Here, in the ECU 100 of this example, the microcomputer 110 sets the duty ratio of the pulse to the communication IC 120 to 0 during the operation of the microcomputer 110 so that the pulse is not output to the communication IC 120 as a result. Yes. On the other hand, when the microcomputer 110 determines that the sleep mode may be entered (FIG. 7 (b): switching condition is established), the duty ratio is set to a predetermined value (FIG. 7 (b): switching request) and set. Is completed (FIG. 7B: switching completed), the mode shifts to the sleep mode. It should be noted that the setting is completed when a pulse is normally output from the microcomputer 110 to the communication circuit 120 (FIG. 7B: switching completed).
JP 2000-104429 A JP 2003-157383 A

ところで、図7のような例において、マイコン110においてデューティ比を設定した(切り替えた)場合、その設定値は次の周期において初めて反映される(図7(b)参照)。   Incidentally, in the example as shown in FIG. 7, when the duty ratio is set (switched) in the microcomputer 110, the set value is reflected for the first time in the next cycle (see FIG. 7B).

また、マイコン110は、スリープモードに移行する前において、デューティ比の設定(切替)が完了するまで(つまり、マイコン110から通信回路120に正常にパルスが出力されるまで)、動作していなければならない(ウェイクモードでなければならない)という制約がある。例えば、通信IC120の駆動の確実性を担保する趣旨である。   Further, the microcomputer 110 does not operate until the duty ratio setting (switching) is completed (that is, until a pulse is normally output from the microcomputer 110 to the communication circuit 120) before shifting to the sleep mode. There is a restriction that it must not be (wake mode). For example, the purpose is to ensure the driving reliability of the communication IC 120.

従って、マイコン110は、デューティ比を設定してから、その設定値が反映される次の周期まで動作(ウェイク)している必要がある。具体的に、図7(b)において、切替要求のタイミングから切替完了のタイミングまで、マイコン110は動作(ウェイク)している必要がある。このため、消費電力が増大してしまうこととなる。   Therefore, after setting the duty ratio, the microcomputer 110 needs to operate (wake) until the next cycle in which the set value is reflected. Specifically, in FIG. 7B, the microcomputer 110 needs to operate (wake) from the switching request timing to the switching completion timing. For this reason, power consumption will increase.

本発明は、こうした点に鑑みなされたもので、使用者に携帯される携帯機と通信を行って各種車両制御を実現するスマートエントリシステム用車載装置において、消費電力をより低減させることを目的とする。   The present invention has been made in view of these points, and aims to further reduce power consumption in an in-vehicle device for a smart entry system that performs various vehicle controls by communicating with a portable device carried by a user. To do.

上記目的を達成するためになされた請求項1に記載のスマートエントリシステム用車載装置は、マイコンと、通信回路とを備えたものである。
マイコンは、周囲に送信要求信号を送信する送信手段、使用者に所持される携帯機から、送信要求信号に応答して送信される返送信号を受信する受信手段、受信された返送信号に含まれている識別情報が、予め登録された識別情報であるか否かを判定することで認証を行う認証手段、及び 認証手段による認証が成功すると特定の車両制御を実施する制御手段、を有している。また、所定の動作停止条件が成立すると動作を停止するようになっている。
The in-vehicle device for a smart entry system according to claim 1 made to achieve the above object comprises a microcomputer and a communication circuit.
The microcomputer is included in the transmission means for transmitting the transmission request signal to the surroundings, the reception means for receiving the return signal transmitted in response to the transmission request signal from the portable device possessed by the user, and the received return signal. Authentication means for performing authentication by determining whether or not the identification information being registered is identification information registered in advance, and a control means for performing specific vehicle control when authentication by the authentication means is successful Yes. The operation is stopped when a predetermined operation stop condition is satisfied.

通信回路は、マイコンの動作停止中に、入力される信号の立ち上がり或いは立ち下がりタイミングで所定期間駆動し、マイコンに代えて、送信要求信号を送信する一方返送信号を受信し、受信できた返送信号をマイコンに出力するようになっている。   The communication circuit is driven for a specified period at the rising or falling timing of the input signal while the operation of the microcomputer is stopped. Instead of the microcomputer, the communication circuit receives the return signal and receives the return signal. Is output to the microcomputer.

マイコンは、さらに、通信回路にパルスを出力するパルス出力回路を有し、動作停止条件が成立した際、自己の動作を停止する前にパルスのデューティ比を設定することでパルス出力回路にパルスを出力させると共にパルス出力回路の正常動作が確認できた後、自己の動作を停止するようになっている。   The microcomputer further has a pulse output circuit that outputs a pulse to the communication circuit. When the operation stop condition is satisfied, the microcomputer sets the pulse duty ratio before stopping its operation, After the output and the normal operation of the pulse output circuit can be confirmed, the self operation is stopped.

このようなスマートエントリシステム用車載装置において、マイコンは、動作停止条件が成立した際、パルスの次回の周期(以下、次回周期と言う)の直前まで一旦自己の動作を停止し、その次回周期の直前に起動してデューティ比を設定すると共にその次回周期においてパルス出力回路の動作を確認するようになっている。   In such an in-vehicle device for smart entry system, when the operation stop condition is satisfied, the microcomputer temporarily stops its own operation until immediately before the next cycle of the pulse (hereinafter referred to as the next cycle). It starts immediately before setting the duty ratio and confirms the operation of the pulse output circuit in the next cycle.

ところで、このスマートエントリシステム用車載装置においては、以下のことが前提となっている。具体的に、パルスのデューティ比を設定した場合、そのデューティ比が反映される(つまり、その設定したデューティ比のパルスが出力される)のは、パルスの次回の周期においてである。例えば、周期がTであり、0〜T〜2T〜3T・・・というような時系列を考えた場合において、T〜2Tの間でデューティ比を例えば0.5に設定したとすると、設定値が反映されるのは(デューティ比0.5のパルスが出力される)のは、次回の周期である2T〜3T移行になる。   By the way, in this in-vehicle device for smart entry system, the following is assumed. Specifically, when the duty ratio of the pulse is set, the duty ratio is reflected (that is, the pulse having the set duty ratio is output) in the next cycle of the pulse. For example, when the period is T and a time series such as 0 to T to 2T to 3T is considered, and the duty ratio is set to 0.5 between T and 2T, for example, the set value Is reflected (a pulse with a duty ratio of 0.5 is output) is the transition of 2T to 3T, which is the next cycle.

このような前提の下、請求項1のスマートエントリシステム用車載装置では、マイコンは、自己の動作を停止する際、デューティ比を設定してから次回周期まで動作を継続したまま待機するのではなく、次回周期までの間において一旦自己の動作を停止する。そして、次回周期の直前に起動してデューティ比を設定する。このため、設定値が次回周期において反映されるようにしつつ、マイコンの動作を一旦停止する分マイコンの消費電力を低減することができる。つまり、スマートエントリシステム用車載装置の性能を維持しつつも、そのスマートエントリシステム用車載装置の消費電力をより低減できるようになる。   Under such a premise, in the smart entry system vehicle-mounted device according to claim 1, when the microcomputer stops its operation, it does not wait for the next cycle after the duty ratio is set and the operation continues. During the next cycle, the self operation is temporarily stopped. Then, the duty ratio is set by starting immediately before the next cycle. Therefore, the power consumption of the microcomputer can be reduced by temporarily stopping the operation of the microcomputer while the set value is reflected in the next cycle. That is, while maintaining the performance of the smart entry system vehicle-mounted device, the power consumption of the smart entry system vehicle-mounted device can be further reduced.

次に、請求項2のスマートエントリシステム用車載装置は、請求項1のスマートエントリシステム用車載装置において、マイコンは、動作停止条件が成立するのに加え、認証手段による認証が終了すると、自己の動作を停止しても良いと判断して、次回周期の直前まで一旦自己の動作を停止するようになっている。   Next, in the smart entry system vehicle-mounted device according to claim 2, in the smart entry system vehicle-mounted device according to claim 1, in addition to the fact that the operation stop condition is satisfied, the microcomputer Since it is determined that the operation can be stopped, the self operation is temporarily stopped until immediately before the next cycle.

これによれば、マイコンにおいて認証(携帯機との認証)が実行されている途中でマイコンの動作が停止することがない。つまり、認証が確実に行われる。
次に、請求項3のスマートエントリシステム用車載装置は、請求項1,2のスマートエントリシステム用車載装置において、マイコンは、動作停止条件が成立した際、次回周期までの間隔が所定時間よりも短い場合は、例外的に、その次回周期までの間において自己の動作を停止せず、その次回周期の到来までにデューティ比を設定すると共にその次回周期においてパルス出力回路の動作を確認するようになっている。
According to this, the operation of the microcomputer does not stop while authentication (authentication with the portable device) is being executed in the microcomputer. That is, authentication is performed reliably.
Next, the in-vehicle device for smart entry system according to claim 3 is the in-vehicle device for smart entry system according to claim 1 or 2, wherein the microcomputer is configured such that when the operation stop condition is satisfied, the interval until the next cycle is longer than a predetermined time. If it is short, the operation of the pulse output circuit is not stopped until the next period, but the duty ratio is set by the arrival of the next period and the operation of the pulse output circuit is confirmed in the next period. It has become.

これによれば、動作停止条件が成立してから次回周期までの間隔が短く、マイコンの動作を一旦停止したとすればその次回周期までにマイコンの起動が間に合わずデューティ比の設定が遅れる(ひいてはパルスの出力が遅れる)可能性があるような場合には、次回周期までの間において、マイコンが動作を停止しないようにすることができる。そして、マイコンは、次回周期の到来までにデューティ比を設定するようになっているため、より確実に、所望のタイミングでパルスが出力されるようになる。   According to this, if the operation stop condition is satisfied and the interval until the next cycle is short, and the operation of the microcomputer is temporarily stopped, the start of the microcomputer is not in time by the next cycle, and the setting of the duty ratio is delayed (and eventually If there is a possibility that the output of the pulse is delayed), the microcomputer can be prevented from stopping the operation until the next cycle. Since the microcomputer sets the duty ratio before the next cycle comes, the pulse is output more reliably at a desired timing.

とろこで、請求項3の装置では、請求項4のように構成すると良い。
請求項4のスマートエントリシステム用車載装置は、請求項3のスマートエントリシステム用車載装置において、所定時間は、少なくとも、マイコンが起動に要する時間、及びデューティ比の設定に要する時間を合わせた時間(以下、動作再開時間と記載する)となるように構成されている。
The apparatus of claim 3 is preferably constructed as in claim 4.
The smart entry system vehicle-mounted device according to claim 4 is the smart entry system vehicle-mounted device according to claim 3, wherein the predetermined time includes at least a time required for starting the microcomputer and a time required for setting the duty ratio ( Hereinafter, the operation is described as the operation resumption time.

具体的に、マイコンは、動作停止条件が成立してから次回周期までの間隔が動作再開時間よりも短ければ、そのまま動作を継続してデューティ比の設定を行うようになっている。これによれば、請求項3で述べたように、より確実に、所望のタイミングでパルスが出力されるようになる。また一方、マイコンは、動作停止条件が成立してから次回周期までの間隔が動作再開時間よりも長ければ、一旦自己の動作を停止することとなる。これによれば、請求項1で述べたように、消費電力が低減する。   Specifically, the microcomputer continues to operate and sets the duty ratio if the interval from the establishment of the operation stop condition to the next cycle is shorter than the operation resumption time. According to this, as described in the third aspect, the pulse is output more reliably at a desired timing. On the other hand, if the interval between the operation stop condition and the next cycle is longer than the operation resumption time, the microcomputer temporarily stops its own operation. According to this, as described in claim 1, power consumption is reduced.

次に、請求項3,4の装置では、請求項5のように構成することができる。
請求項5のスマートエントリシステム用車載装置は、請求項3,4のスマートエントリシステム用車載装置において、マイコンは、周期を表す期間を計時するカウンタを備え、該カウンタのカウント値に基づき、動作停止条件が成立した際から次回周期までの間隔を認識するようになっている。
Next, the apparatus according to claims 3 and 4 can be configured as in claim 5.
The smart entry system vehicle-mounted device according to claim 5 is the smart entry system vehicle-mounted device according to claim 3 or 4, wherein the microcomputer includes a counter that measures a period representing a cycle, and the operation is stopped based on the count value of the counter. The interval from when the condition is satisfied to the next cycle is recognized.

このような構成によれば、マイコンは、容易に、動作停止条件が成立した際から次回周期までの間隔を認識することができるようになり、動作停止条件が成立した際に、次回周期の直前まで一旦自己の動作を停止するか、或いは、次回周期まで動作を継続するかの判断を容易の行うことができる。   According to such a configuration, the microcomputer can easily recognize the interval from when the operation stop condition is satisfied until the next cycle, and immediately before the next cycle when the operation stop condition is satisfied. It is possible to easily determine whether to stop the operation once or until the next cycle.

以下に、本発明の実施形態を図面に基づき説明する。
図1は、本発明が適用された車両用の電子制御装置(以下、ECUと記載する)1の概略構成を表すブロック図である。
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a block diagram showing a schematic configuration of a vehicle electronic control device (hereinafter referred to as ECU) 1 to which the present invention is applied.

このECU1は、車両の運転手が携帯する図示しないスマート携帯機と通信を行って、通信による認証が成功した場合に車両のドアの解錠(アンロック)又は解錠許可やエンジンの始動許可といった車両制御を実行する。   This ECU 1 communicates with a smart portable device (not shown) carried by the driver of the vehicle, and when authentication by communication is successful, unlocking or unlocking of the vehicle door, permission of engine start, etc. Carry out vehicle control.

図1に示すように、ECU1は、各種処理を実行するマイコン10と、図示しないスマート携帯機と通信を行うための通信IC40と、マイコン10を動作させるための電源電圧(例えば5V)を出力する電源IC30と、を備えている。   As shown in FIG. 1, the ECU 1 outputs a microcomputer 10 that executes various processes, a communication IC 40 for communicating with a smart portable device (not shown), and a power supply voltage (for example, 5 V) for operating the microcomputer 10. And a power supply IC 30.

電源IC30には、バッテリ電圧VBが供給されるようになっており、その電源IC30は、バッテリ電圧VBを降圧(例えば5V)して、マイコン10に出力する。
マイコン10は、プログラムに従い動作する周知のCPU12と、そのCPU12によって実行されるプログラム及び該プログラムの実行時に参照されるデータを格納するROM14と、CPU12の演算結果等を格納するRAM16と、所定のデューティ比のパルスを通信IC40に出力してその通信IC40の駆動を制御するPWM回路20と、タイマ回路22と、入出力ポート24と、サブ発振回路26と、メイン発振回路28とを備えると共に、それらがバスを介して相互に接続されている。PWM回路20は、そのPWM回路20から出力するパルスの周期を表す期間をカウントするカウンタ(図示省略)を内蔵している。例えばパルスの周期をTとすると、そのカウンタは0からTまでの期間をカウントする。
The battery voltage VB is supplied to the power supply IC 30, and the power supply IC 30 steps down the battery voltage VB (for example, 5 V) and outputs it to the microcomputer 10.
The microcomputer 10 includes a well-known CPU 12 that operates according to a program, a ROM 14 that stores a program executed by the CPU 12 and data referred to when the program is executed, a RAM 16 that stores a calculation result of the CPU 12, and a predetermined duty. A PWM circuit 20 that outputs a ratio pulse to the communication IC 40 to control driving of the communication IC 40, a timer circuit 22, an input / output port 24, a sub oscillation circuit 26, and a main oscillation circuit 28 are provided. Are connected to each other via a bus. The PWM circuit 20 has a built-in counter (not shown) that counts a period representing the period of pulses output from the PWM circuit 20. For example, if the pulse period is T, the counter counts a period from 0 to T.

マイコン10は、例えば車両のイグニションスイッチ(以下、IGSWと記載する)2がオンされると起動し、メイン発振回路28からのメインクロックに従い動作する。一方、所定の動作停止条件が成立して消費電力を低減するためのスリープモードに移行すべきと判断すると、メイン発振回路28の動作を停止して、サブ発振回路26からのサブクロックに従い動作する。つまり、スリープモードに移行する。   The microcomputer 10 is activated, for example, when a vehicle ignition switch (hereinafter referred to as IGSW) 2 is turned on, and operates according to a main clock from the main oscillation circuit 28. On the other hand, when a predetermined operation stop condition is satisfied and it is determined that the mode should be shifted to the sleep mode for reducing the power consumption, the operation of the main oscillation circuit 28 is stopped and the operation is performed according to the sub clock from the sub oscillation circuit 26. . That is, it shifts to the sleep mode.

尚、以下の説明において、所定の動作停止条件が成立し、かつ、マイコン10においてスマート携帯機との認証が終了した場合に、切替条件が成立した、と称することとする。
マイコン10においては、自己の動作の停止直前に、タイマ回路22のタイマ値が所定値に設定される。タイマ回路22は、その設定されたタイマ値が表す時間が到来すると、マイコン10を起動させるための起動信号を出力する。これにより、メイン発振回路28が動作すると共に、マイコン10の動作クロックがメイン発振回路28からのメインクロックに切り替わる。つまり、マイコン10が起動する。
In the following description, it is assumed that the switching condition is satisfied when a predetermined operation stop condition is satisfied and authentication with the smart portable device is completed in the microcomputer 10.
In the microcomputer 10, the timer value of the timer circuit 22 is set to a predetermined value immediately before stopping its own operation. When the time represented by the set timer value comes, the timer circuit 22 outputs an activation signal for activating the microcomputer 10. As a result, the main oscillation circuit 28 operates and the operation clock of the microcomputer 10 is switched to the main clock from the main oscillation circuit 28. That is, the microcomputer 10 is activated.

通信IC40は、ECU1外部の受信アンテナ50及び送信アンテナ60と接続され、図示しないスマート携帯機と通信可能に構成されている。具体的に、マイコン10のPWM回路20からのパルスに従って駆動すると共に、スマート携帯機に対する送信要求信号を送信アンテナ60を介して周囲に送信する。ここで、通信IC40は、PWM回路20から入力されるパルスの出力レベルがアクティブレベルとしてのハイレベルに立ち上がるタイミングで、前述の送信要求信号を送信アンテナ60を介して周囲に送信する。   The communication IC 40 is connected to a reception antenna 50 and a transmission antenna 60 outside the ECU 1 and is configured to be able to communicate with a smart portable device (not shown). Specifically, the microcomputer 10 is driven according to a pulse from the PWM circuit 20 of the microcomputer 10 and transmits a transmission request signal for the smart portable device to the surroundings via the transmission antenna 60. Here, the communication IC 40 transmits the above-described transmission request signal to the surroundings via the transmission antenna 60 at the timing when the output level of the pulse input from the PWM circuit 20 rises to the high level as the active level.

そして、通信IC40は、送信要求信号を受信したスマート携帯機からの応答信号が受信アンテナ50を介して受信されると、その受信した信号をマイコン10に出力すると共に、認証時起動信号Qの出力レベルを所定期間ハイレベルにする。   When the response signal from the smart portable device that has received the transmission request signal is received via the receiving antenna 50, the communication IC 40 outputs the received signal to the microcomputer 10 and outputs the authentication start signal Q. The level is set to a high level for a predetermined period.

次に、図2には、マイコン10が動作している際にそのマイコン10において定期的に実行される(具体的に、CPU12が実行する)動作時処理を表すフローチャートである。   Next, FIG. 2 is a flowchart showing an on-operation process periodically executed by the microcomputer 10 (specifically, executed by the CPU 12) when the microcomputer 10 is operating.

この動作時処理では、まず、S110で、所定の動作停止条件が成立したか否かを判定する。例えば、IGSW2がオフされたと判断すると共に通信処理等の所定の処理が終了したと判断すると、動作停止条件が成立したと判定する。   In this operation processing, first, in S110, it is determined whether or not a predetermined operation stop condition is satisfied. For example, when it is determined that the IGSW 2 is turned off and a predetermined process such as a communication process is completed, it is determined that the operation stop condition is satisfied.

S110で動作停止条件が成立していないと判定すると(S110:NO)、そのまま当該処理を終了する。
一方、S110で動作停止条件が成立したと判定すると(S110:YES)、S120に移行し、スマート携帯機との認証を図る認証処理が終了したか否かを判定する。言い換えると、切替条件が成立したか否かを判定する。
If it is determined in S110 that the operation stop condition is not satisfied (S110: NO), the process is terminated as it is.
On the other hand, if it is determined in S110 that the operation stop condition is satisfied (S110: YES), the process proceeds to S120, and it is determined whether or not the authentication process for authenticating with the smart portable device is completed. In other words, it is determined whether the switching condition is satisfied.

S120で認証処理が終了していないと判定すると(S120:NO)、再びS120の処理を繰り返す。
一方、S120で認証処理が終了したと判定すると(S120:YES)、PWM回路20からの信号(パルス)について、その信号の次回の周期までの間隔が予め定められた所定時間以上であるか否かを判定する。具体的に、PWM回路20が内蔵するカウンタのカウント値に基づき、信号の次回の周期までの間隔を算出して、その算出した間隔が所定時間以上(所定間隔以上)であるか否かを判定する。
If it is determined in S120 that the authentication process has not ended (S120: NO), the process of S120 is repeated again.
On the other hand, if it is determined in S120 that the authentication process has been completed (S120: YES), whether or not the interval from the signal to the next cycle of the signal (pulse) from the PWM circuit 20 is equal to or longer than a predetermined time. Determine whether. Specifically, based on the count value of the counter incorporated in the PWM circuit 20, the interval until the next cycle of the signal is calculated, and it is determined whether or not the calculated interval is equal to or longer than a predetermined time (predetermined interval). To do.

S130で次回の周期までの間隔が所定時間以上であると判定すると(S130:YES)、S140に移行し、タイマ回路22におけるタイマ値を設定する。前述のように、タイマ回路22において時間が計時され、そのタイマ値の表す時間が到来すると、タイマ回路22は起動信号を出力してマイコン10を起動させることとなる。   If it is determined in S130 that the interval until the next cycle is equal to or longer than the predetermined time (S130: YES), the process proceeds to S140, and the timer value in the timer circuit 22 is set. As described above, the timer circuit 22 measures the time, and when the time indicated by the timer value arrives, the timer circuit 22 outputs a start signal to start the microcomputer 10.

次に、S150に進み、スリープモードに移行するための処理を実行する。具体的に、メイン発振回路28の動作を停止して、動作クロックをサブ発振回路26からのサブクロックに切り替える。つまり、スリープモードに移行する。   Next, it progresses to S150 and the process for transfering to a sleep mode is performed. Specifically, the operation of the main oscillation circuit 28 is stopped and the operation clock is switched to the sub clock from the sub oscillation circuit 26. That is, it shifts to the sleep mode.

一方、S130で次回の周期までの間隔が所定時間以上でないと判定すると(S130:NO)、S160に移行し、切替処理を実行する。切替処理とは、スマート携帯機との認証を、マイコン10が実行する正規の認証から、通信IC40が実行する簡易認証に切り替える処理である。具体的には、PWM回路20から出力されるパルスについてのデューティ比を設定する処理(つまり、PWM回路20から所定のデューティ比のパルスが出力されるようにする処理)である。S160の後は、S150に移行する。   On the other hand, if it is determined in S130 that the interval until the next cycle is not equal to or longer than the predetermined time (S130: NO), the process proceeds to S160 and the switching process is executed. The switching process is a process of switching authentication with the smart portable device from normal authentication executed by the microcomputer 10 to simple authentication executed by the communication IC 40. Specifically, it is a process of setting a duty ratio for a pulse output from the PWM circuit 20 (that is, a process of outputting a pulse having a predetermined duty ratio from the PWM circuit 20). After S160, the process proceeds to S150.

次に、図3は、マイコン10が起動直後に実行する(具体的に、CPU12が実行する)起動時処理を表すフローチャートである。
この起動時処理では、まず、S210で、IGSW2がオンされて起動した場合の通常処理を実行するか否かを判定する。例えば、今回の起動が、IGSW2がオンされたことに伴うものであるか否かに基づき判定する。尚、IGSW2から信号Sの論理レベルを読み取って、IGSW2がオンされたか否かを判定できる。
Next, FIG. 3 is a flowchart showing a startup process that the microcomputer 10 executes immediately after startup (specifically, executed by the CPU 12).
In this startup process, first, in S210, it is determined whether or not to execute a normal process when the IGSW 2 is turned on and started up. For example, the determination is based on whether or not the current activation is associated with the IGSW 2 being turned on. Note that the logic level of the signal S can be read from the IGSW 2 to determine whether the IGSW 2 is turned on.

S210で通常処理を実行すると判定すると(S210:YES)、S220に移行し、通常処理を実行する。その後、S230に移行する。
また、S210で通常処理を実行しないと判定すると(S210:NO)、S230に移行する。
If it is determined in S210 that the normal process is to be executed (S210: YES), the process proceeds to S220 and the normal process is executed. Thereafter, the process proceeds to S230.
If it is determined in S210 that the normal process is not executed (S210: NO), the process proceeds to S230.

S230では、切替処理を実行するか否かを判定する。具体的に、今回の起動が、タイマ回路22からの起動信号によるものか否かに基づき判定する。今回の起動がタイマ回路22からの起動信号によるものであると判断すると、切替処理を実行すると判定し(S230:YES)、S240に移行して切替処理を実行する。その後、S250に移行する。   In S230, it is determined whether or not to execute the switching process. Specifically, the determination is based on whether or not the current activation is due to an activation signal from the timer circuit 22. If it is determined that the current activation is due to the activation signal from the timer circuit 22, it is determined that the switching process is to be executed (S230: YES), and the process proceeds to S240 to execute the switching process. Thereafter, the process proceeds to S250.

また、S230で切替処理を実行しないと判定すると(S230:NO)、S250に移行する。
S250では、認証処理を実行するか否かを判定する。具体的に、今回の起動が、通信IC40からの信号(図示しないスマート携帯機からの応答信号)によるものか否かに基づき判定する。今回の起動が通信IC40からの信号によるものであると判断すると、認証処理を実行すると判定し(S250:YES)、S260に移行して認証処理を実行する。その後、S270に移行する。
Moreover, if it determines with not performing a switching process in S230 (S230: NO), it will transfer to S250.
In S250, it is determined whether to execute the authentication process. Specifically, the determination is based on whether or not the current activation is based on a signal from the communication IC 40 (response signal from a smart portable device not shown). If it is determined that the current activation is due to a signal from the communication IC 40, it is determined that the authentication process is to be executed (S250: YES), and the process proceeds to S260 to execute the authentication process. Thereafter, the process proceeds to S270.

また、S250で認証処理を実行しないと判定すると(S250:NO)、S270に移行する。
S270では、スリープモードに移行するか否かを判定する。例えば、起動時に実行すべき処理を実行し、他に実行すべき処理がないと判断すると、スリープモードに移行すると判定し(S270:YES)、S280に移行してスリープモード移行処理を実行する。つまり、スリープモードに移行する。
If it is determined in S250 that the authentication process is not executed (S250: NO), the process proceeds to S270.
In S270, it is determined whether or not to shift to the sleep mode. For example, when a process to be executed at the time of startup is executed and it is determined that there is no other process to be executed, it is determined to shift to the sleep mode (S270: YES), and the process shifts to S280 to execute the sleep mode shift process. That is, it shifts to the sleep mode.

一方、S270でスリープモードに移行しないと判定すると(S270:NO)、そのまま当該処理を終了する。
次に、図4は、タイマ回路22において実現される処理を表すフローチャートである。
On the other hand, if it is determined in S270 that the mode does not shift to the sleep mode (S270: NO), the process is terminated as it is.
Next, FIG. 4 is a flowchart showing processing realized in the timer circuit 22.

タイマ回路22では、まず、自身が計時しているタイマ値がCPU12により予め設定された設定値に達したか否かが判定され、タイマ値が設定値に達していないと判定されると(S310:NO)、再びS310の処理が実行される。   In the timer circuit 22, first, it is determined whether or not the timer value measured by itself has reached the set value preset by the CPU 12, and if it is determined that the timer value has not reached the set value (S310). : NO), the process of S310 is executed again.

一方、S310でタイマ値が設定値に達したと判定されると(S310:YES)、S320にて、起動信号を出力する。以上で当該処理は終了である。
次に、図5,6は、本実施形態の作用を表すタイムチャートである。
On the other hand, if it is determined in S310 that the timer value has reached the set value (S310: YES), an activation signal is output in S320. This is the end of the process.
Next, FIGS. 5 and 6 are time charts showing the operation of the present embodiment.

図5及び図6(a),(b)において、1段目はマイコン10の動作状態(ウェイク又はスリープ)を表し、2段目は通信IC40の駆動タイミング(言い換えると、通信IC40による簡易認証タイミング)を表し、3段目はマイコン10による認証タイミングを表す。   5 and 6 (a) and 6 (b), the first level represents the operation state (wake or sleep) of the microcomputer 10, and the second level represents the drive timing of the communication IC 40 (in other words, the simple authentication timing by the communication IC 40). The third row represents the authentication timing by the microcomputer 10.

まず、図5を参照して説明する。
本実施形態のECU1では、1段目に示すように、マイコン10は、切替条件が成立する(動作停止条件が成立すると共に認証処理が終了する)と(時刻t1)、デューティ比を所定値に設定する処理を実行して(時刻t2〜t3)、PWM回路20からパルスが出力されるようにし、その後、スリープモードに移行する。
First, a description will be given with reference to FIG.
In the ECU 1 of the present embodiment, as shown in the first stage, the microcomputer 10 sets the duty ratio to a predetermined value when the switching condition is satisfied (the operation stop condition is satisfied and the authentication process is completed) (time t1). The setting process is executed (time t2 to t3) so that a pulse is output from the PWM circuit 20, and then the mode is shifted to the sleep mode.

3段目に示すように、マイコン10は、切替条件が成立するまでは、定期的に、認証処理を行う。具体的に、定期的に、通信IC40を介して周囲に送信要求信号を送信する。そして、送信要求信号を受信したスマート携帯機からの応答信号を受信できると、その受信できた応答信号に含まれるIDコードとマイコン10に予め登録されたIDコードとが一致するか否かの認証を行う(期間L1)。   As shown in the third row, the microcomputer 10 periodically performs an authentication process until the switching condition is satisfied. Specifically, a transmission request signal is periodically transmitted to the surroundings via the communication IC 40. Then, if a response signal from the smart portable device that has received the transmission request signal can be received, whether or not the ID code included in the received response signal matches the ID code registered in advance in the microcomputer 10 is verified. (Period L1).

ここで、本実施形態では、1段目及び2段目に示すように、マイコン10は、切替条件が成立すると、その切替条件が成立してから次回の周期の直前まで(時刻t1〜t2)、一旦スリープモードに移行し、次回の周期の直前に起動する。そして、前述したようなデューティ比を所定値に設定する処理を実行するようになっている。   Here, in the present embodiment, as shown in the first and second stages, when the switching condition is satisfied, the microcomputer 10 until the switching period is satisfied and immediately before the next cycle (time t1 to t2). Once in sleep mode, it starts up just before the next cycle. And the process which sets the above-mentioned duty ratio to a predetermined value is performed.

これは、以下の理由からである。具体的に、条件が成立した際の現在の周期においてデューティ比を設定しても、その設定値が反映される(つまり、設定したデューティ比のパルスが出力される)のは、次回の周期以降であるためである。つまり、次回の周期の直前にデューティ比を設定すれば充分なためである。   This is for the following reason. Specifically, even if the duty ratio is set in the current period when the condition is satisfied, the set value is reflected (that is, the pulse with the set duty ratio is output) after the next period. This is because. That is, it is sufficient to set the duty ratio just before the next cycle.

尚、通信IC40は、PWM回路20からのパルスに従って駆動し、周囲に送信要求信号を送信すると共に、スマート携帯機からの応答信号を受信できたか否かの簡易認証を行うようになっている(期間L2)。ここで、マイコン10が起動している間は、PWM回路20からのパルスは出力されないようになっている。これは、マイコン10の状態がウェイクモードである間は、パルスのデューティ比が0に設定されることで実現される。   The communication IC 40 is driven according to the pulse from the PWM circuit 20, transmits a transmission request signal to the surroundings, and performs simple authentication as to whether or not a response signal from the smart portable device has been received ( Period L2). Here, while the microcomputer 10 is activated, the pulse from the PWM circuit 20 is not output. This is realized by setting the pulse duty ratio to 0 while the microcomputer 10 is in the wake mode.

このように、本実施形態では、マイコン10は、切替条件が成立したことでデューティ比を設定してスリープモードに移行する際に、次回の周期の直前まで一旦スリープモードに移行するようになっている。このため、マイコン10の消費電力が低減されるようになっている。   As described above, in this embodiment, when the microcomputer 10 sets the duty ratio and shifts to the sleep mode because the switching condition is satisfied, the microcomputer 10 temporarily shifts to the sleep mode until immediately before the next cycle. Yes. For this reason, the power consumption of the microcomputer 10 is reduced.

次に、図6を用いて、本実施形態の作用についてより詳細に説明する。
ここで、図6(a),(b)において、4段目には、PWM回路20が内蔵するカウンタのカウント値の変化を示している。
Next, the effect | action of this embodiment is demonstrated in detail using FIG.
Here, in FIGS. 6A and 6B, the fourth stage shows the change in the count value of the counter built in the PWM circuit 20.

図6(a),(b)の4段目に示すように、PWM回路20のカウンタは、0からSまでカウントする。カウント値がSに達するとカウント値が0にリセットされる。カウンタが0からSまでカウントする期間は、パルスの周期を表す期間に一致する。つまり、カウンタは、周期を表す期間を計時している。   As shown in the fourth stage of FIGS. 6A and 6B, the counter of the PWM circuit 20 counts from 0 to S. When the count value reaches S, the count value is reset to zero. The period during which the counter counts from 0 to S coincides with the period representing the pulse period. That is, the counter keeps a time period representing the cycle.

図6(a)において、マイコン10は、動作停止条件が成立する(時刻t4、S110:YES)とともに、認証処理が終了すると(時刻t5,S120:YES)、PWM回路20のカウンタのカウント値に基づき、現在から次回の周期までの間隔を算出し(S130)、その間隔が所定時間よりも長ければ(S130:YES)、一旦スリープモードに移行する(時刻t5、S150)。この際(スリープモードに移行する前)、次回の周期の直前までの時間をタイマ回路22に通知する(S140)。ここで、次回の周期の直前までの時間とは、以下のような時間である。具体的に、現在から次回の周期までの時間から、起動に要する時間(起動してから通常動作に移行するまでに要する時間)及び切替処理(デューティ比の設定)に要する時間を合わせた時間を差し引いた時間である(t5〜t6)。   6A, when the operation stop condition is satisfied (time t4, S110: YES) and the authentication process is completed (time t5, S120: YES), the microcomputer 10 sets the count value of the counter of the PWM circuit 20 to the count value. Based on this, the interval from the present to the next cycle is calculated (S130), and if the interval is longer than the predetermined time (S130: YES), the mode is temporarily shifted to the sleep mode (time t5, S150). At this time (before shifting to the sleep mode), the timer circuit 22 is notified of the time until immediately before the next cycle (S140). Here, the time until the next cycle is the following time. Specifically, from the time from the present to the next cycle, the time required for start-up (time required from start-up to transition to normal operation) and time required for switching processing (duty ratio setting) are combined. This is the subtracted time (t5 to t6).

タイマ回路22は、時間(期間)を計測しており、通知された時間(期間)が到来すると(S310:YES)、起動信号を出力する。これにより、マイコン10が起動する(時刻t6)。   The timer circuit 22 measures time (period), and outputs a start signal when the notified time (period) arrives (S310: YES). Thereby, the microcomputer 10 is activated (time t6).

マイコン10は、起動すると、タイマ回路22からの起動信号により起動したと判定して(S230:YES)、切替処理を実行する(S240)。そして、時刻t7で切替処理が完了すると(PWM回路20からパルスが出力されると)、スリープモードに移行する(S280)。   When the microcomputer 10 is activated, it is determined that the microcomputer 10 has been activated by the activation signal from the timer circuit 22 (S230: YES), and the switching process is executed (S240). When the switching process is completed at time t7 (when a pulse is output from the PWM circuit 20), the process shifts to the sleep mode (S280).

マイコン10が時刻t7でスリープモードに移行した後は、通信IC40がPWM回路20からのパルスに従って定期的に駆動し、簡易認証を実行する。
次に、図6(b)に示すように、切替条件が成立した際(時刻t8,S110、S120:YES)、PWM回路20のカウンタのカウント値に基づき、現在から次回の周期までの間隔が所定時間よりも短ければ(S130:NO)、スリープモードに移行せず、切替処理を実行する(S160)。これにより、切替条件が成立した際に対する次回の周期から確実に、パルスが出力されるようにする。
After the microcomputer 10 shifts to the sleep mode at time t7, the communication IC 40 is periodically driven according to the pulse from the PWM circuit 20 to execute simple authentication.
Next, as shown in FIG. 6B, when the switching condition is satisfied (time t8, S110, S120: YES), the interval from the present to the next cycle is determined based on the count value of the counter of the PWM circuit 20. If it is shorter than the predetermined time (S130: NO), the switching process is executed without shifting to the sleep mode (S160). This ensures that a pulse is output from the next cycle when the switching condition is satisfied.

このように、本実施形態では、マイコン10による認証→通信IC40による簡易認証の切り替えが確実に行われるようにしつつ(ECU1の性能を維持しつつ)、マイコン10の状態がスリープモードとなる期間をより多く確保して、マイコン10ひいてはECU1の消費電力をより低減できるようになっている。   As described above, in the present embodiment, the period during which the state of the microcomputer 10 is in the sleep mode is maintained while ensuring that the authentication by the microcomputer 10 is switched to the simple authentication by the communication IC 40 (while maintaining the performance of the ECU 1). More power can be secured, and the power consumption of the microcomputer 10 and thus the ECU 1 can be further reduced.

尚、上記実施形態において、通信IC40及び送信アンテナ60が送信手段に相当し、通信IC40及び受信アンテナ50が受信手段に相当し、S260の処理が認証手段に相当し、通信IC40は通信回路にも相当し、PWM回路20がパルス出力回路に相当している。   In the above-described embodiment, the communication IC 40 and the transmission antenna 60 correspond to a transmission unit, the communication IC 40 and the reception antenna 50 correspond to a reception unit, the process of S260 corresponds to an authentication unit, and the communication IC 40 also includes a communication circuit. The PWM circuit 20 corresponds to a pulse output circuit.

以上、本発明の一実施形態について説明したが、本発明は上記実施形態に限定されるものではなく、本発明の技術範囲内において種々の形態をとることができる。
例えば、上記実施形態において、通信IC40は、PWM回路20からのパルスの立ち下がりタイミングで駆動するようにしても良い。
As mentioned above, although one Embodiment of this invention was described, this invention is not limited to the said embodiment, A various form can be taken within the technical scope of this invention.
For example, in the above embodiment, the communication IC 40 may be driven at the falling edge of the pulse from the PWM circuit 20.

また、上記実施形態において、切替条件が成立した際、マイコン10が切替処理を実行してから、次回の周期の直前まで一旦スリープモードに移行し、そして、次回の周期の直前に起動して、切替処理が完了したこと(つまり、PWM回路20からパルスが出力されたこと)を確認し、再度スリープモードに移行するように構成することも考えられる。   Further, in the above embodiment, when the switching condition is satisfied, the microcomputer 10 executes the switching process and then temporarily shifts to the sleep mode until immediately before the next cycle, and starts immediately before the next cycle, It may be configured to confirm that the switching process has been completed (that is, that a pulse has been output from the PWM circuit 20), and shift to the sleep mode again.

また、上記実施形態において、切替条件が成立した際、現在から次回周期までの間隔が切替処理に要する時間よりも短い場合は、切替処理を実行しても次回の周期に間に合わないため、マイコン10は、次々回の周期の直前まで一旦スリープモードに移行し、次々回の周期の直前に起動するようにしても良い。   Further, in the above embodiment, when the switching condition is satisfied, if the interval from the present to the next cycle is shorter than the time required for the switching process, the microcomputer 10 does not meet the next cycle even if the switching process is executed. May temporarily shift to the sleep mode until immediately before the next cycle, and may be activated immediately before the next cycle.

また、上記実施形態において、タイマ回路22において、そのタイマ回路22が計時するタイマ値がCPU12により予め設定される設定値になると、そのタイマ回路22が起動信号を出力してマイコン10が起動するようになっているが、スリープモードの状態で、CPU12がタイマ回路22のタイマ値を監視し、そのタイマ値が予め設定された設定値に達すると、CPU12がメイン発振回路28を動作させるとともに、動作クロックをそのメイン発振回路28からのメインクロックに切り替える(つまり、マイコン10を起動させる)ようにしても良い。   Further, in the above embodiment, in the timer circuit 22, when the timer value counted by the timer circuit 22 becomes a preset value set by the CPU 12, the timer circuit 22 outputs a start signal so that the microcomputer 10 is started. However, in the sleep mode, the CPU 12 monitors the timer value of the timer circuit 22, and when the timer value reaches a preset setting value, the CPU 12 operates the main oscillation circuit 28 and operates. The clock may be switched to the main clock from the main oscillation circuit 28 (that is, the microcomputer 10 is activated).

本実施形態のECU1の概略構成を表すブロック図である。It is a block diagram showing schematic structure of ECU1 of this embodiment. ECU1のマイコン10において実行される動作時処理を表すフローチャートである。It is a flowchart showing the process at the time of operation performed in the microcomputer 10 of ECU1. ECU1のマイコン10において実行される起動時処理を表すフローチャートである。It is a flowchart showing the process at the time of starting performed in the microcomputer 10 of ECU1. タイマ回路22において実現される処理を表すフローチャートである。3 is a flowchart showing processing realized in a timer circuit 22. 本実施形態の作用を表すタイムチャートである(その1)。It is a time chart showing the effect | action of this embodiment (the 1). 本実施形態の作用を表すタイムチャートである(その2)。It is a time chart showing the effect | action of this embodiment (the 2). 従来の認証制御を表すタイムチャートである。It is a time chart showing the conventional authentication control.

符号の説明Explanation of symbols

1…電子制御装置(ECU)、2…イグニションスイッチ(IGSW)、10…マイコン、12…CPU、14…ROM、16…RAM、18…カウンタ、20…PWM回路、22…タイマ回路、24…入出力ポート、26…サブ発振回路、28…メイン発振回路、30…電源IC、40…通信IC、50…受信アンテナ、60…送信アンテナ、100…電子制御装置(ECU)、110…マイコン、120…通信回路、130…受信アンテナ、140…送信アンテナ。 DESCRIPTION OF SYMBOLS 1 ... Electronic control unit (ECU), 2 ... Ignition switch (IGSW), 10 ... Microcomputer, 12 ... CPU, 14 ... ROM, 16 ... RAM, 18 ... Counter, 20 ... PWM circuit, 22 ... Timer circuit, 24 ... On Output port, 26 ... sub oscillation circuit, 28 ... main oscillation circuit, 30 ... power supply IC, 40 ... communication IC, 50 ... receiving antenna, 60 ... transmitting antenna, 100 ... electronic control unit (ECU), 110 ... microcomputer, 120 ... Communication circuit, 130 ... reception antenna, 140 ... transmission antenna.

Claims (5)

周囲に送信要求信号を送信する送信手段、
使用者に所持される携帯機から、前記送信要求信号に応答して送信される返送信号を受信する受信手段、
受信された前記返送信号に含まれている識別情報が、予め登録された識別情報であるか否かを判定することで認証を行う認証手段、及び
前記認証手段による認証が成功すると特定の車両制御を実施する制御手段、を有し、所定の動作停止条件が成立すると動作を停止するようになっているマイコンと、
前記マイコンの動作停止中に、入力される信号の立ち上がり或いは立ち下がりタイミングで所定期間駆動し、前記マイコンに代えて、前記送信要求信号を送信する一方前記返送信号を受信し、受信できた前記返送信号を前記マイコンに出力する通信回路と、を備え、
前記マイコンは、さらに、
前記通信回路にパルスを出力するパルス出力回路を有し、前記動作停止条件が成立した際、自己の動作を停止する前に前記パルスのデューティ比を設定することで前記パルス出力回路にパルスを出力させると共に前記パルス出力回路の正常動作が確認できた後、自己の動作を停止するようになっているスマートエントリシステム用車載装置において、
前記マイコンは、前記動作停止条件が成立した際、前記パルスの次回の周期(以下、次回周期と言う)の直前まで一旦自己の動作を停止し、その次回周期の直前に起動して前記デューティ比を設定すると共にその次回周期において前記パルス出力回路の動作を確認するようになっていることを特徴とするスマートエントリシステム用車載装置。
A transmission means for transmitting a transmission request signal to the surroundings;
Receiving means for receiving a return signal transmitted in response to the transmission request signal from a portable device possessed by the user;
Authentication means for performing authentication by determining whether or not the identification information included in the received return signal is pre-registered identification information, and specific vehicle control if the authentication by the authentication means is successful A microcomputer that is configured to stop the operation when a predetermined operation stop condition is satisfied,
While the operation of the microcomputer is stopped, it is driven for a predetermined period at the rising or falling timing of the input signal, and instead of the microcomputer, the transmission request signal is transmitted while the return signal is received and the return that has been received. A communication circuit for outputting a signal to the microcomputer,
The microcomputer further includes:
It has a pulse output circuit that outputs a pulse to the communication circuit, and when the operation stop condition is satisfied, the pulse is output to the pulse output circuit by setting the duty ratio of the pulse before stopping its own operation In the in-vehicle device for smart entry system that is configured to stop its own operation after confirming the normal operation of the pulse output circuit,
When the operation stop condition is satisfied, the microcomputer temporarily stops its operation until immediately before the next cycle of the pulse (hereinafter referred to as the next cycle), and starts up immediately before the next cycle to start the duty ratio. And the operation of the pulse output circuit is confirmed in the next cycle.
請求項1に記載のスマートエントリシステム用車載装置において、
前記マイコンは、前記動作停止条件が成立するのに加え、前記認証手段による認証が終了すると、自己の動作を停止しても良いと判断して、前記次回周期の直前まで一旦自己の動作を停止するようになっていることを特徴とするスマートエントリシステム用車載装置。
The in-vehicle device for a smart entry system according to claim 1,
The microcomputer determines that the operation may be stopped when the authentication by the authentication unit is completed in addition to the operation stop condition being satisfied, and temporarily stops the operation until immediately before the next cycle. An in-vehicle device for a smart entry system, characterized in that
請求項1又は請求項2に記載のスマートエントリシステム用車載装置において、
前記マイコンは、前記動作停止条件が成立した際、前記次回周期までの間隔が所定時間よりも短い場合は、例外的に、その次回周期までの間において自己の動作を停止せず、その次回周期の到来までに前記デューティ比を設定すると共にその次回周期において前記パルス出力回路の動作を確認するようになっていることを特徴とするスマートエントリシステム用車載装置。
In the in-vehicle device for a smart entry system according to claim 1 or 2,
When the operation stop condition is satisfied, if the interval until the next cycle is shorter than a predetermined time, the microcomputer exceptionally does not stop its operation until the next cycle, and the next cycle An in-vehicle apparatus for a smart entry system, wherein the duty ratio is set before the arrival of, and the operation of the pulse output circuit is confirmed in the next cycle.
請求項3に記載のスマートエントリシステム用車載装置において、
前記所定時間は、少なくとも、前記マイコンが起動に要する時間、及びデューティ比の設定に要する時間を合わせた時間であることを特徴とするスマートエントリシステム用車載装置。
The in-vehicle device for a smart entry system according to claim 3,
The in-vehicle device for a smart entry system, wherein the predetermined time is at least the time required for starting the microcomputer and the time required for setting the duty ratio.
請求項3又は請求項4に記載のスマートエントリシステム用車載装置において、
前記マイコンは、前記周期を表す期間を計時するカウンタを備え、該カウンタのカウント値に基づき、前記動作停止条件が成立した際から次回周期までの間隔を認識するようになっていることを特徴とするスマートエントリシステム用車載装置。
In the in-vehicle device for smart entry system according to claim 3 or claim 4,
The microcomputer includes a counter that measures a period representing the cycle, and based on a count value of the counter, recognizes an interval from when the operation stop condition is satisfied to the next cycle. In-vehicle device for smart entry system.
JP2008034778A 2008-02-15 2008-02-15 In-vehicle device for smart entry system Expired - Fee Related JP5194867B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008034778A JP5194867B2 (en) 2008-02-15 2008-02-15 In-vehicle device for smart entry system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008034778A JP5194867B2 (en) 2008-02-15 2008-02-15 In-vehicle device for smart entry system

Publications (2)

Publication Number Publication Date
JP2009191548A JP2009191548A (en) 2009-08-27
JP5194867B2 true JP5194867B2 (en) 2013-05-08

Family

ID=41073812

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008034778A Expired - Fee Related JP5194867B2 (en) 2008-02-15 2008-02-15 In-vehicle device for smart entry system

Country Status (1)

Country Link
JP (1) JP5194867B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5584190B2 (en) * 2011-11-18 2014-09-03 株式会社東海理化電機製作所 IC output port switching control device
CN105784035A (en) * 2016-03-22 2016-07-20 中国计量学院 Low-power-consumption and immersed type thermal gas flow measuring method and device
KR102642242B1 (en) * 2018-11-09 2024-03-04 현대자동차주식회사 Vehicle and controlling method of vehicle

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3632463B2 (en) * 1998-09-30 2005-03-23 トヨタ自動車株式会社 In-vehicle device remote control device
JP4227743B2 (en) * 2001-11-19 2009-02-18 株式会社デンソー Anti-theft system
JP2003278418A (en) * 2002-03-22 2003-10-02 Denso Corp Car-loaded wireless installation
JP4031689B2 (en) * 2002-09-13 2008-01-09 株式会社東海理化電機製作所 Locking / unlocking control device

Also Published As

Publication number Publication date
JP2009191548A (en) 2009-08-27

Similar Documents

Publication Publication Date Title
US10911252B2 (en) Communication system for vehicle and method for controlling the same
CN107452097B (en) Intelligent key system
JP5563251B2 (en) Electronic key system and electronic key power supply method
JP5194867B2 (en) In-vehicle device for smart entry system
JP5502384B2 (en) Wireless power transmission system and wireless power transmission method
KR100747741B1 (en) Remote starter and power saving control method thereof
JP5139962B2 (en) Power transmission wireless communication system
US20050048929A1 (en) Communications system
JP2007186065A (en) Vehicle control device
JP5584190B2 (en) IC output port switching control device
JP2009227066A (en) Control device of vehicle
JP5815472B2 (en) Integrated receiver
JP2007184749A (en) Radio communication controller
WO2018168204A1 (en) Vehicle electronic key
JP2011035834A (en) Communication system, communication apparatus and communication method
JP5454315B2 (en) In-vehicle network system and data relay device
JP2007259057A (en) In-vehicle signal receiver and signal receiving method
JP5867350B2 (en) Electronic control device for vehicle
JP3901539B2 (en) Multiplexing device activation method
JP6579982B2 (en) VEHICLE KEYLESS SYSTEM AND VEHICLE KEYLESS SYSTEM VEHICLE
JP2008222051A (en) Microcomputer, program, electronic control device, and communication system
JPH09144633A (en) Theft preventing device for vehicle
JP5028973B2 (en) COMMUNICATION SYSTEM CONTROL METHOD, COMMUNICATION DEVICE, AND COMMUNICATION SYSTEM
WO2015056407A1 (en) Transmitting and receiving system
JPH09150713A (en) Vehicle antitheft system and theft judging device for it

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101110

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120702

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130121

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20160215

Year of fee payment: 3

R151 Written notification of patent or utility model registration

Ref document number: 5194867

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20160215

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees