JP7347996B2 - Abnormality detection device and electronic key - Google Patents

Abnormality detection device and electronic key Download PDF

Info

Publication number
JP7347996B2
JP7347996B2 JP2019155774A JP2019155774A JP7347996B2 JP 7347996 B2 JP7347996 B2 JP 7347996B2 JP 2019155774 A JP2019155774 A JP 2019155774A JP 2019155774 A JP2019155774 A JP 2019155774A JP 7347996 B2 JP7347996 B2 JP 7347996B2
Authority
JP
Japan
Prior art keywords
vibration sensor
diagnosis
unit
vibration
communication line
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2019155774A
Other languages
Japanese (ja)
Other versions
JP2021032018A (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.)
Tokai Rika Co Ltd
Original Assignee
Tokai Rika Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tokai Rika Co Ltd filed Critical Tokai Rika Co Ltd
Priority to JP2019155774A priority Critical patent/JP7347996B2/en
Priority to PCT/JP2020/032385 priority patent/WO2021039910A1/en
Priority to DE112020004018.6T priority patent/DE112020004018T5/en
Publication of JP2021032018A publication Critical patent/JP2021032018A/en
Application granted granted Critical
Publication of JP7347996B2 publication Critical patent/JP7347996B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01PMEASURING LINEAR OR ANGULAR SPEED, ACCELERATION, DECELERATION, OR SHOCK; INDICATING PRESENCE, ABSENCE, OR DIRECTION, OF MOVEMENT
    • G01P21/00Testing or calibrating of apparatus or devices covered by the preceding groups
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01HMEASUREMENT OF MECHANICAL VIBRATIONS OR ULTRASONIC, SONIC OR INFRASONIC WAVES
    • G01H11/00Measuring mechanical vibrations or ultrasonic, sonic or infrasonic waves by detecting changes in electric or magnetic properties
    • G01H11/06Measuring mechanical vibrations or ultrasonic, sonic or infrasonic waves by detecting changes in electric or magnetic properties by electric means
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R25/00Fittings or systems for preventing or indicating unauthorised use or theft of vehicles
    • B60R25/20Means to switch the anti-theft system on or off
    • B60R25/24Means to switch the anti-theft system on or off using electronic identifiers containing a code not memorised by the user
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01HMEASUREMENT OF MECHANICAL VIBRATIONS OR ULTRASONIC, SONIC OR INFRASONIC WAVES
    • G01H11/00Measuring mechanical vibrations or ultrasonic, sonic or infrasonic waves by detecting changes in electric or magnetic properties
    • G01H11/06Measuring mechanical vibrations or ultrasonic, sonic or infrasonic waves by detecting changes in electric or magnetic properties by electric means
    • G01H11/08Measuring mechanical vibrations or ultrasonic, sonic or infrasonic waves by detecting changes in electric or magnetic properties by electric means using piezoelectric devices

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Lock And Its Accessories (AREA)

Description

本発明は、振動センサの異常有無を検出する異常検出装置及び電子キーに関する。 The present invention relates to an abnormality detection device and electronic key that detect whether or not a vibration sensor has an abnormality.

従来、例えば車両において、ユーザに所持される電子キーと車両に搭載される車載機との間の無線通信を通じて車両の制御を行う電子キーシステムが知られている。電子キーシステムとしては、車載機からの送信電波に電子キーが自動で応答して無線通信によりID照合を行うスマート照合システムが周知である。 2. Description of the Related Art Conventionally, electronic key systems have been known that control a vehicle through wireless communication between an electronic key carried by a user and an on-vehicle device mounted on the vehicle. As an electronic key system, a smart verification system is well known in which an electronic key automatically responds to radio waves transmitted from an in-vehicle device and performs ID verification through wireless communication.

特許文献1には、電子キーに振動センサを搭載して、振動センサの検出結果に基づいて電子キーの作動を制御する技術が開示されている。振動センサは、振動の検知信号を、電子キーに設けられたマイクロコンピュータに出力する。マイクロコンピュータは、振動センサの出力に基づき、電子キーの振動の有無に応じて、振動センサ等の電子部品への給電状態のオン/オフを切り替える。これにより、電子キーに動きが付与されている正常使用時、電子部品への給電がオンにされ、スマート照合システムを実行可能にされる。一方、電子キーに動きがない不使用時、電子部品への給電がオフにされ、消費電力が低く抑えられる。 Patent Document 1 discloses a technique in which a vibration sensor is mounted on an electronic key and the operation of the electronic key is controlled based on the detection result of the vibration sensor. The vibration sensor outputs a vibration detection signal to a microcomputer provided in the electronic key. Based on the output of the vibration sensor, the microcomputer switches on/off the state of power supply to electronic components such as the vibration sensor, depending on whether or not the electronic key is vibrating. As a result, during normal use when the electronic key is given movement, power is turned on to the electronic components and the smart verification system can be executed. On the other hand, when the electronic key is not moving and is not in use, the power supply to the electronic components is turned off, keeping power consumption low.

特開2013-37632号公報JP2013-37632A

ところで、例えば振動センサの故障などにより、振動検出ができない場合、電子キーの給電状態の切り替えが行えない。そのため、ユーザが電子キーを使用する際、給電がオフのままとなってしまうので、スマート照合システムが実行できず、ユーザの意図に沿った作動ができない懸念があった。 By the way, if vibration cannot be detected due to a failure of the vibration sensor, for example, the power supply state of the electronic key cannot be switched. Therefore, when the user uses the electronic key, the power supply remains off, so there is a concern that the smart verification system cannot be executed and the system cannot operate according to the user's intention.

本発明の目的は、ユーザの意図に沿った作動を可能にする異常検出装置及び電子キーを提供することにある。 An object of the present invention is to provide an abnormality detection device and an electronic key that enable operation according to the user's intention.

上記課題を解決するための異常検出装置は、第1通信線を通じて接続された振動センサを自ら振動させて前記振動センサが正常か否かを診断する自己診断を、前記第1通信線を通じた通信を介して前記振動センサに実行させる診断部と、前記自己診断時に前記振動センサが自身の振動の検知機能部で検知した検知結果を、前記第1通信線とは別の第2通信線を通じて取得する取得部と、前記診断部による診断結果と、前記取得部で取得した前記検知結果とを基に、前記振動センサが正常か否かを判定する判定部と、を備える。 An abnormality detection device for solving the above problems performs a self-diagnosis in which a vibration sensor connected through a first communication line vibrates itself to diagnose whether the vibration sensor is normal or not. A diagnosis unit that causes the vibration sensor to perform the self-diagnosis through a second communication line different from the first communication line, and a detection result detected by the vibration sensor with its own vibration detection function unit during the self-diagnosis. and a determination unit that determines whether the vibration sensor is normal based on the diagnosis result by the diagnosis unit and the detection result acquired by the acquisition unit.

上記課題を解決するための電子キーは、通信相手との間で、無線通信を通じてID照合を実行するキー機能部と、第1通信線を通じて接続された振動センサを自ら振動させて前記振動センサが正常か否かを診断する自己診断を、前記第1通信線を通じた通信を介して前記振動センサに実行させる診断部と、前記自己診断時に前記振動センサが自身の振動の検知機能部で検知した検知結果を、前記第1通信線とは別の第2通信線を通じて取得する取得部と、前記診断部による診断結果と、前記取得部で取得した前記検知結果とを基に、前記振動センサが正常か否かを判定する判定部と、を備える。 An electronic key for solving the above problems includes a key function section that performs ID verification through wireless communication with a communication partner, and a vibration sensor that vibrates itself through a first communication line. a diagnosis unit that causes the vibration sensor to perform a self-diagnosis to determine whether or not it is normal through communication through the first communication line; and a diagnosis unit that causes the vibration sensor to perform a self-diagnosis to determine whether the vibration is normal or not; an acquisition unit that acquires a detection result through a second communication line different from the first communication line, a diagnosis result by the diagnosis unit, and the detection result acquired by the acquisition unit, the vibration sensor A determination unit that determines whether or not it is normal.

本発明の異常検出装置及び電子キーは、ユーザの意図に沿った作動を可能にする。 The abnormality detection device and electronic key of the present invention enable operation according to the user's intention.

電子キーに設けられた異常検出装置の構成を示すブロック図。FIG. 2 is a block diagram showing the configuration of an abnormality detection device provided in the electronic key. ユーザが電子キーを使用する際の作動切り替えを説明する概略図。FIG. 3 is a schematic diagram illustrating operation switching when a user uses an electronic key. 電子キー不使用時のマイクロコンピュータの処理フロー図。A processing flow diagram of a microcomputer when an electronic key is not used. 電子キー不使用時の振動センサの処理フロー図。A processing flow diagram of the vibration sensor when the electronic key is not used.

以下、異常検出装置及び電子キーの一実施形態を、図1~図4に従って説明する。
図1に示すように、車両の電子キーシステムは、無線通信を通じて、図示しない車両側の認証装置と無線通信を通じたID照合を行う電子キー1を備えている。本例の電子キーシステムは、車両からの通信を契機に無線を通じたID照合を実行するスマート照合を行う。電子キーシステムでは、電子キー1と車載機との間で自動的に相互通信による一連のID照合が行われ、ID照合が成立したことを一条件として、車載機器の作動が許可又は実行される。
An embodiment of an abnormality detection device and an electronic key will be described below with reference to FIGS. 1 to 4.
As shown in FIG. 1, the electronic key system for a vehicle includes an electronic key 1 that performs ID verification through wireless communication with an authentication device on the vehicle side (not shown) through wireless communication. The electronic key system of this example performs smart verification in which ID verification is performed wirelessly in response to communication from the vehicle. In the electronic key system, a series of ID verifications are automatically performed between the electronic key 1 and the in-vehicle device through mutual communication, and the operation of the in-vehicle device is permitted or executed on the condition that the ID verification is successful. .

電子キー1は、電子キー1の作動を制御するマイクロコンピュータ10を備えている。マイクロコンピュータ10には、電子キー1においてID照合に準じた動作を実行するキー機能部11が設けられている。キー機能部11は、ID照合の通信時、車両に電子キーIDを送信するなどのID照合の通信動作を実行する。 The electronic key 1 includes a microcomputer 10 that controls the operation of the electronic key 1. The microcomputer 10 is provided with a key function section 11 that executes an operation similar to ID verification on the electronic key 1. The key function unit 11 executes ID verification communication operations such as transmitting an electronic key ID to the vehicle during ID verification communication.

電子キー1は、LF帯(LF:Low Frequency)の電波を受信するLF受信部12と、RF帯(RF:Radio Frequency)の電波を送信するRF送信部13とを備えている。LF受信部12には、例えば3軸のコイルアンテナが用いられる。RF送信部13には、たとえばRFIC(IC:Integrated Circuit)が用いられる。LF受信部12及びRF送信部13は、マイクロコンピュータ10に制御される。 The electronic key 1 includes an LF receiving section 12 that receives radio waves in the LF band (LF: Low Frequency), and an RF transmitting section 13 that transmits radio waves in the RF band (RF: Radio Frequency). The LF receiver 12 uses, for example, a three-axis coil antenna. For the RF transmitter 13, for example, an RFIC (IC: Integrated Circuit) is used. The LF receiving section 12 and the RF transmitting section 13 are controlled by the microcomputer 10.

スマート照合において、キー機能部11は、車両の認証装置から送信されたLF電波を、LF受信部12が受信すると、それに対する応答をRF送信部13から送信する。これにより、キー機能部11は、認証装置との間で、LF-RFの相互通信を通じた一連のID照合を開始する。一連のID照合において、キー機能部11は、自身に登録された電子キーIDをRF送信する。認証装置は、受信した電子キーIDの照合が成立しつつ、キー機能部11との間のチャレンジレスポンス認証等の種々の認証が成立することを確認すると、ID照合を成立とする。ID照合が成立に移行すると、車載機器の作動が許可又は実行される。これにより車両ドアの施解錠やエンジンの始動が可能となる。また、キー機能部11は、例えば電子キー1に設けられた図示しないプッシュボタンの操作により、電子キーIDをRF送信可能としてもよい。 In smart verification, when the LF receiving section 12 receives the LF radio wave transmitted from the vehicle authentication device, the key function section 11 transmits a response thereto from the RF transmitting section 13 . Thereby, the key function unit 11 starts a series of ID verifications through LF-RF mutual communication with the authentication device. In a series of ID verifications, the key function unit 11 transmits the electronic key ID registered to itself by RF. When the authentication device confirms that the received electronic key ID is successfully verified and various types of authentication such as challenge-response authentication with the key function unit 11 are successful, the authentication device determines that the ID verification is successful. When the ID verification is completed, the operation of the in-vehicle device is permitted or executed. This makes it possible to lock and unlock vehicle doors and start the engine. Further, the key function section 11 may be configured to be capable of transmitting the electronic key ID by RF, for example, by operating a push button (not shown) provided on the electronic key 1.

電子キー1は、電子キー1に生じる振動を検出する振動センサ20を備えている。マイクロコンピュータ10のキー機能部11は、振動に応じて電子キー1の電子部品の作動を切り替える切替機能を有している。本例では、キー機能部11は、電子キー1に動きがある使用時と、電子キー1に動きがない不使用時とで、電子部品の作動を切り替えることにより、電子キーシステムの実行可否を切り替える。 The electronic key 1 includes a vibration sensor 20 that detects vibrations occurring in the electronic key 1. The key function section 11 of the microcomputer 10 has a switching function that switches the operation of the electronic components of the electronic key 1 according to vibration. In this example, the key function unit 11 determines whether or not the electronic key system can be executed by switching the operation of the electronic components between when the electronic key 1 is in use and when the electronic key 1 is not in use. Switch.

マイクロコンピュータ10及び振動センサ20は、互いに異なる第1通信線31及び第2通信線32で接続されている。第1通信線31は、例えば同期シリアル通信を実行可能であり、マイクロコンピュータ10及び振動センサ20を相互通信可能に接続する。第2通信線32は、例えば振動センサ20からマイクロコンピュータ10へ割り込み信号を出力するための割り込み信号線である。 The microcomputer 10 and the vibration sensor 20 are connected by a first communication line 31 and a second communication line 32 that are different from each other. The first communication line 31 is capable of performing, for example, synchronous serial communication, and connects the microcomputer 10 and the vibration sensor 20 so that they can communicate with each other. The second communication line 32 is, for example, an interrupt signal line for outputting an interrupt signal from the vibration sensor 20 to the microcomputer 10.

振動センサ20は、例えば加速度センサであり、加速度値を検出する。加速度値の検出方法の一例は、振動センサ20に設けられた可動電極及び固定電極を用いた静電容量方式である。静電容量方式では、振動による可動電極の変位に応じた電極間の容量変化を基に、加速度値を算出する。 The vibration sensor 20 is, for example, an acceleration sensor, and detects an acceleration value. An example of a method for detecting the acceleration value is a capacitance method using a movable electrode and a fixed electrode provided on the vibration sensor 20. In the capacitance method, the acceleration value is calculated based on the change in capacitance between the electrodes in response to the displacement of the movable electrode due to vibration.

振動センサ20は、自身の振動を検知した検知結果を、第2通信線32を通じてマイクロコンピュータ10へ出力する検知機能部21を備えている。検知機能部21は、振動による加速度値が、設定された閾値よりも大きいか否かの比較結果を出力する。検知機能部21は、例えば比較結果をHigh/Lowの2値化振動で出力し、検知した振動が閾値よりも大きい場合に、High信号を出力する。第2通信線32においてHigh信号が割り込み信号の出力であり、Low信号が割り込み信号の出力なしとなる。 The vibration sensor 20 includes a detection function section 21 that outputs the detection result of detecting its own vibration to the microcomputer 10 through the second communication line 32. The detection function unit 21 outputs a comparison result as to whether the acceleration value due to vibration is larger than a set threshold value. The detection function unit 21 outputs the comparison result as a binary vibration of High/Low, for example, and outputs a High signal when the detected vibration is larger than a threshold value. In the second communication line 32, a High signal is the output of an interrupt signal, and a Low signal is no output of the interrupt signal.

また、振動センサ20は、第1通信線31を通じて、マイクロコンピュータ10へ各種情報を出力可能となっている。各種情報とは、例えば現在検出した加速度値、加速度値の履歴、割り込み信号の出力履歴、及びこれらの組み合わせなどが挙げられる。 Further, the vibration sensor 20 is capable of outputting various information to the microcomputer 10 through the first communication line 31. Examples of the various information include currently detected acceleration values, history of acceleration values, output history of interrupt signals, and combinations thereof.

キー機能部11は、振動センサ20から第2通信線32を介して割り込み信号を入力すると、電子キー1に動きがある使用状態であることを認識する。キー機能部11は、使用状態であることを認識すると、電子キーシステムの実行を許可するように作動を切り替える。本例の場合、キー機能部11は、通信機能オフ状態から通信機能オン状態に切り替わり、例えばLF受信部12を作動させ、LF電波の受信に待機する。また、キー機能部11は、例えば割り込み信号の入力がない状態が一定時間継続した場合、電子キー1に動きがない不使用状態であることを認識する。キー機能部11は、不使用状態であることを認識したことを一条件に、電子キーシステムを停止するように作動を切り替える。本例の場合、キー機能部11は、通信機能オン状態から通信機能オフ状態に切り替わり、例えばLF受信部12の作動を禁止し、LF電波を受信不能にする。このように、キー機能部11は、振動センサ20の割り込み機能を用いて、作動の切り替えを実行する。 When the key function section 11 receives an interrupt signal from the vibration sensor 20 via the second communication line 32, it recognizes that the electronic key 1 is in a use state where there is movement. When the key function unit 11 recognizes that it is in use, it switches its operation to permit execution of the electronic key system. In this example, the key function section 11 switches from the communication function off state to the communication function on state, activates the LF reception section 12, and waits for reception of LF radio waves, for example. Further, the key function unit 11 recognizes that the electronic key 1 is in an unused state where there is no movement, for example, when a state in which no interrupt signal is input continues for a certain period of time. The key function unit 11 switches its operation to stop the electronic key system on one condition that it is recognized that the electronic key system is not in use. In this example, the key function section 11 switches from the communication function on state to the communication function off state, for example, prohibits the operation of the LF receiver section 12 and makes it impossible to receive LF radio waves. In this way, the key function unit 11 uses the interrupt function of the vibration sensor 20 to switch the operation.

電子キー1は、振動センサ20の異常を検出する異常検出装置40を備えている。電子キー1に異常検出装置40を設けるのは、振動センサ20の感度不良や、割り込み機能の異常によって割り込み信号が入力できない場合があるからである。なお、割り込み機能の異常には、検知機能部21の閾値判定異常、及び第2通信線32の異常などが含まれる。 The electronic key 1 includes an abnormality detection device 40 that detects an abnormality in the vibration sensor 20. The reason why the abnormality detection device 40 is provided in the electronic key 1 is that an interrupt signal may not be inputted due to poor sensitivity of the vibration sensor 20 or an abnormality in the interrupt function. Note that the abnormality in the interrupt function includes an abnormality in the threshold value determination of the detection function section 21, an abnormality in the second communication line 32, and the like.

異常検出装置40は、第1通信線31を用いて振動センサ20の自己診断を実行させる診断部41を備えている。診断部41は、マイクロコンピュータ10に設けられる。また、振動センサ20は、振動センサ20において自己診断を実行する自己診断部42を備えている。診断部41は、振動センサ20に第1通信線31を介して診断要求を出力する。自己診断部42は、診断要求を入力すると、振動センサ20に自己診断の規定振動を発生させる。そして、自己診断部42は、規定振動を発生させたときに検出した加速度値を、診断結果として、第1通信線31を介してマイクロコンピュータ10へ出力する。診断部41は、入力された加速度値と期待値kとを比較して、加速度値が正常か否かを確認する診断を行う。なお、期待値kとは、規定振動を発生させた場合に、正常な振動センサ20が検出する加速度値である。 The abnormality detection device 40 includes a diagnosis section 41 that causes the vibration sensor 20 to perform self-diagnosis using the first communication line 31. The diagnostic section 41 is provided in the microcomputer 10. The vibration sensor 20 also includes a self-diagnosis section 42 that performs self-diagnosis on the vibration sensor 20. The diagnosis unit 41 outputs a diagnosis request to the vibration sensor 20 via the first communication line 31. When the self-diagnosis section 42 receives a diagnosis request, it causes the vibration sensor 20 to generate a predetermined vibration for self-diagnosis. Then, the self-diagnosis section 42 outputs the acceleration value detected when the specified vibration is generated to the microcomputer 10 via the first communication line 31 as a diagnosis result. The diagnostic unit 41 compares the input acceleration value with the expected value k and performs diagnosis to check whether the acceleration value is normal or not. Note that the expected value k is an acceleration value detected by the normal vibration sensor 20 when a specified vibration is generated.

異常検出装置40は、自己診断時において検知機能部21が出力する割り込み信号を、第2通信線32を通じて取得する取得部43を備えている。取得部43は、マイクロコンピュータ10に設けられている。本例の診断部41は、自己診断時、検知機能部21の振動検知で用いる閾値を通常値よりも低い値に切り替える。このとき設定される閾値は、例えば期待値kよりも低い値であることが好ましい。異常検出装置40は、このような閾値設定がなされた検知機能部21から出力される割り込み信号を取得部43で取得できたか否かを、振動センサ20の異常有無の判定の一条件とする。 The abnormality detection device 40 includes an acquisition section 43 that acquires, through the second communication line 32, an interrupt signal output by the detection function section 21 during self-diagnosis. The acquisition unit 43 is provided in the microcomputer 10. During self-diagnosis, the diagnostic unit 41 of this example switches the threshold value used in vibration detection by the detection function unit 21 to a value lower than the normal value. The threshold value set at this time is preferably a value lower than the expected value k, for example. The abnormality detection device 40 determines whether or not there is an abnormality in the vibration sensor 20 based on whether or not the acquisition unit 43 has been able to acquire an interrupt signal output from the detection function unit 21 for which such a threshold value has been set.

異常検出装置40は、振動センサ20の検知機能部21及び自己診断部42の出力を用いて振動センサ20の異常有無を判定する判定部44を備えている。判定部44は、マイクロコンピュータ10に設けられている。判定部44は、診断部41による診断結果と、取得部43で取得した割り込み信号とを基に、振動センサ20が正常か否かを判定する。判定部44は、診断部41による診断結果が正常であり、取得部43が割り込み信号を取得した場合に、振動センサ20が正常であると判定する。キー機能部11は、判定部44の判定結果を基に、作動の切り替えを行う。 The abnormality detection device 40 includes a determination unit 44 that determines whether or not there is an abnormality in the vibration sensor 20 using the outputs of the detection function unit 21 and the self-diagnosis unit 42 of the vibration sensor 20. The determination unit 44 is provided in the microcomputer 10. The determination unit 44 determines whether the vibration sensor 20 is normal based on the diagnosis result by the diagnosis unit 41 and the interrupt signal acquired by the acquisition unit 43. The determination unit 44 determines that the vibration sensor 20 is normal when the diagnosis result by the diagnosis unit 41 is normal and the acquisition unit 43 acquires the interrupt signal. The key function section 11 switches the operation based on the determination result of the determination section 44.

以下、本実施形態の作用について説明する。まず、図2を用いて、キー機能部11による作動切り替えについて説明する。まず、図2を用いてユーザが電子キー1を正常使用する際の処理について説明する。 The operation of this embodiment will be explained below. First, operation switching by the key function section 11 will be explained using FIG. 2. First, the process when the user normally uses the electronic key 1 will be described using FIG. 2.

図2に示すように、S101(Sはステップの略、以下同様)では、マイクロコンピュータ10は、振動センサ20からの割り込み信号の入力を待機する。振動センサ20の検知機能部21は、検出した加速度値が閾値T1よりも大きい場合に割り込み信号を出力する。一方、検知機能部21は、加速度値が閾値T1以下の場合、割り込み信号を出力しない。通常、ユーザは電子キー1を使用する場合、電子キー1を所持した状態で車両まで移動することになるため、電子キー1が振動する。よって、加速度値が閾値T1よりも大きくなって、検知機能部21は、割り込み信号を出力する。 As shown in FIG. 2, in S101 (S is an abbreviation for step, the same applies hereinafter), the microcomputer 10 waits for input of an interrupt signal from the vibration sensor 20. The detection function section 21 of the vibration sensor 20 outputs an interrupt signal when the detected acceleration value is larger than the threshold value T1. On the other hand, the detection function unit 21 does not output an interrupt signal when the acceleration value is less than or equal to the threshold value T1. Normally, when a user uses the electronic key 1, he/she moves to the vehicle while holding the electronic key 1, so the electronic key 1 vibrates. Therefore, the acceleration value becomes larger than the threshold value T1, and the detection function section 21 outputs an interrupt signal.

S102では、マイクロコンピュータ10のキー機能部11は、振動センサ20から割り込み信号を入力すると、電子キーシステムの実行を許可する。本例の場合、キー機能部11は、例えば通信機能オフ状態から通信機能オン状態に切り替わり、LF受信部12をオフ状態からオン状態に切り替え、LF電波を受信可能にする。また、キー機能部11は、通信機能オン状態の場合、その状態を維持する。キー機能部11は、割り込み信号が入力されてから一定時間の間、通信機能オン状態を継続する。よって、ユーザが電子キー1を使用する際、電子キーシステムを実行可能となる。 In S102, when the key function section 11 of the microcomputer 10 receives an interrupt signal from the vibration sensor 20, it permits execution of the electronic key system. In the case of this example, the key function section 11 switches from a communication function off state to a communication function on state, and switches the LF receiving section 12 from an off state to an on state, thereby making it possible to receive LF radio waves. Furthermore, when the communication function is on, the key function section 11 maintains that state. The key function unit 11 maintains the communication function ON state for a certain period of time after the interrupt signal is input. Therefore, when the user uses the electronic key 1, the electronic key system can be executed.

次に、図3及び図4を用いて、例えば電子キー1が保管場所に静置されるなど、不使用となった際の処理について説明する。
図3に示すように、S201では、マイクロコンピュータ10は、最後に割り込み信号が入力されてからの経過時間を計時する。診断部41は、入力無しで一定時間が経過すると、自己診断の実行を開始し、S202へ移行する。なお、キー機能部11は、自己診断の処理の間、通常とは異なる診断モードに遷移する。診断モード時、キー機能部11は、作動の切り替えを実行しない。
Next, with reference to FIGS. 3 and 4, a process to be performed when the electronic key 1 is left unused, such as when it is left in a storage location, will be described.
As shown in FIG. 3, in S201, the microcomputer 10 measures the elapsed time since the last interrupt signal was input. When a certain period of time has elapsed without any input, the diagnostic unit 41 starts executing self-diagnosis and proceeds to S202. Note that during the self-diagnosis process, the key function unit 11 transitions to a diagnosis mode different from normal. In the diagnostic mode, the key function section 11 does not switch operations.

S202では、診断部41は、割り込み信号の入力無しで一定時間経過すると、第1通信線31を介して振動センサ20へ診断要求を出力する。また、診断部41は、検知機能部21の振動検知の閾値を変更する変更指令を診断要求に含ませて出力する。変更指令によって、診断部41は、検知機能部21の閾値を、通常の閾値「T1」よりも小さい診断用の閾値「T2」へ変更させる。また、閾値T2は、期待値kよりも小さい。 In S202, the diagnostic unit 41 outputs a diagnostic request to the vibration sensor 20 via the first communication line 31 when a certain period of time has elapsed without inputting an interrupt signal. Furthermore, the diagnostic unit 41 outputs a change command for changing the vibration detection threshold of the detection function unit 21 by including it in the diagnostic request. In response to the change command, the diagnostic unit 41 changes the threshold value of the detection function unit 21 to a diagnostic threshold value “T2” that is smaller than the normal threshold value “T1”. Further, the threshold value T2 is smaller than the expected value k.

図4に示すように、S301では、振動センサ20は、マイクロコンピュータ10からの診断要求を入力する。振動センサ20は、診断要求を入力すると、自己診断を開始し、S302へ移行する。 As shown in FIG. 4, in S301, the vibration sensor 20 receives a diagnosis request from the microcomputer 10. When the vibration sensor 20 receives the diagnosis request, it starts self-diagnosis and proceeds to S302.

S302では、振動センサ20の検知機能部21は、診断要求を入力すると、診断要求に含まれている変更指令に従って、閾値T1を閾値T2へ変更する。振動センサ20は、閾値を変更すると、S303へ移行する。 In S302, upon input of the diagnosis request, the detection function unit 21 of the vibration sensor 20 changes the threshold value T1 to the threshold value T2 according to the change command included in the diagnosis request. When the vibration sensor 20 changes the threshold value, the process moves to S303.

S303では、振動センサ20の自己診断部42は、自己診断の規定振動を発生させる。自己診断部42は、規定振動として、例えば静電容量方式の可動電極に一定の振動を発生させる。振動センサ20は、規定振動を発生させると、S304へ移行する。 In S303, the self-diagnosis section 42 of the vibration sensor 20 generates prescribed vibration for self-diagnosis. The self-diagnosis unit 42 generates, for example, a fixed vibration in a capacitance type movable electrode as the prescribed vibration. When the vibration sensor 20 generates the specified vibration, the process moves to S304.

S304では、振動センサ20の自己診断部42は、規定振動を発生させたときに、検出した加速度値を、第1通信線31を介してマイクロコンピュータ10に出力する。振動センサ20は、加速度値を出力すると、S305へ移行する。 In S304, the self-diagnosis unit 42 of the vibration sensor 20 outputs the detected acceleration value to the microcomputer 10 via the first communication line 31 when the specified vibration is generated. After the vibration sensor 20 outputs the acceleration value, the process moves to S305.

S305では、振動センサ20の検知機能部21は、規定振動を発生させたときに、検出した加速度値と閾値T2とを比較する。検知機能部21は、加速度値が閾値T2よりも大きい場合、S306へ移行する。一方、検知機能部21は、加速度値が閾値T2以下の場合、割り込み信号を出力せず、処理を終了する。ここで、閾値T2は、期待値k、すなわち規定振動発生時に正常な振動センサ20が検出する加速度値よりも小さい値に設定されている。そのため、振動センサ20が正常であれば、加速度値が閾値T2よりも大きくなる。 In S305, the detection function unit 21 of the vibration sensor 20 compares the detected acceleration value with the threshold value T2 when the specified vibration is generated. If the acceleration value is larger than the threshold T2, the detection function unit 21 moves to S306. On the other hand, when the acceleration value is less than or equal to the threshold value T2, the detection function unit 21 does not output an interrupt signal and ends the process. Here, the threshold value T2 is set to a value smaller than the expected value k, that is, the acceleration value detected by the normal vibration sensor 20 when the specified vibration occurs. Therefore, if the vibration sensor 20 is normal, the acceleration value will be larger than the threshold value T2.

S306では、検知機能部21は、加速度値が閾値T2よりも大きい場合、第2通信線32を介してマイクロコンピュータ10へ割り込み信号を出力する。振動センサ20は、割り込み信号を出力した場合、処理を終了する。なお、検知機能部21は、割り込み信号の出力有無に拘わらず、処理が終了した場合、閾値T2を元の閾値T1へ戻す。 In S306, the detection function unit 21 outputs an interrupt signal to the microcomputer 10 via the second communication line 32 if the acceleration value is larger than the threshold T2. When the vibration sensor 20 outputs the interrupt signal, the vibration sensor 20 ends the process. Note that the detection function unit 21 returns the threshold value T2 to the original threshold value T1 when the processing is completed, regardless of whether or not an interrupt signal is output.

図3に戻り、S203では、マイクロコンピュータ10の診断部41は、S304において振動センサ20から出力された加速度値を入力すると、加速度値と期待値kとを比較する。なお、この時点では、まだ判定部44は、割り込み信号の入力有無を確認しない。診断部41は、加速度値と期待値kとの差を算出し、この差が許容範囲内である場合に、加速度値が正常であることを確認する。診断部41は、加速度値が正常であることを確認すると、診断結果を正常として、S204へ移行する。一方、診断部41は、加速度値と期待値kとの差が許容範囲から外れた場合、加速度値が異常であることを確認する。また、診断部41は、加速度値が入力されない場合、加速度値が異常であると確認する。診断部41は、加速度値が異常であることを確認すると、診断結果を異常として、S206へ移行する。 Returning to FIG. 3, in S203, the diagnosis unit 41 of the microcomputer 10 receives the acceleration value outputted from the vibration sensor 20 in S304 and compares the acceleration value with the expected value k. Note that, at this point, the determination unit 44 does not yet confirm whether or not an interrupt signal is input. The diagnostic unit 41 calculates the difference between the acceleration value and the expected value k, and if this difference is within an allowable range, confirms that the acceleration value is normal. When the diagnostic unit 41 confirms that the acceleration value is normal, the diagnostic unit 41 determines that the diagnosis result is normal and moves to S204. On the other hand, if the difference between the acceleration value and the expected value k is out of the allowable range, the diagnostic unit 41 confirms that the acceleration value is abnormal. Furthermore, when the acceleration value is not input, the diagnostic unit 41 confirms that the acceleration value is abnormal. When the diagnostic unit 41 confirms that the acceleration value is abnormal, it determines that the diagnosis result is abnormal and moves to S206.

S204では、マイクロコンピュータ10の判定部44は、取得部43が振動センサ20から割り込み信号を取得したか否かを確認する。上述のS305において、正常時、加速度値が閾値T2よりも大きくなるので、取得部43は、検知機能部21からの割り込み信号を取得する。判定部44は、取得部43が割り込み信号を取得した場合、S205へ移行する。一方、検知機能部21に異常があったり、第2通信線32が断線していたり、第2通信線32の出力が固着していたりする場合、割り込み信号を正しく取得できないという事象が生じうる。判定部44は、取得部43が割り込み信号を取得しなかった場合、S206へ移行する。 In S204, the determination unit 44 of the microcomputer 10 checks whether the acquisition unit 43 has acquired the interrupt signal from the vibration sensor 20. In S305 described above, since the acceleration value is larger than the threshold value T2 during normal operation, the acquisition unit 43 acquires the interrupt signal from the detection function unit 21. When the acquisition unit 43 acquires the interrupt signal, the determination unit 44 moves to S205. On the other hand, if there is an abnormality in the detection function section 21, if the second communication line 32 is disconnected, or if the output of the second communication line 32 is stuck, an event may occur in which the interrupt signal cannot be correctly acquired. If the acquisition unit 43 does not acquire the interrupt signal, the determination unit 44 moves to S206.

S205では、判定部44は、診断部41の診断結果が正常であり、かつ取得部43が割り込み信号を取得した場合、振動センサ20を正常と判定する。判定部44は、振動センサ20を正常と判定した場合、振動センサ20を有効として、キー機能部11の作動切り替えを許可する。キー機能部11は、振動センサ20が有効である場合、割り込み信号の入力無しが一定時間経過したことを一条件に、通信機能オフ状態に切り替わる。これにより、電子キー1が保管されている場合に、不要な電力を消費しないで済む。また、電子キー1が保管されているときに、ユーザの意図しないところで、電子キー1が作動しない。 In S205, the determination unit 44 determines that the vibration sensor 20 is normal if the diagnosis result of the diagnosis unit 41 is normal and the acquisition unit 43 acquires the interrupt signal. If the determination unit 44 determines that the vibration sensor 20 is normal, the determination unit 44 validates the vibration sensor 20 and permits switching of the key function unit 11 . When the vibration sensor 20 is enabled, the key function unit 11 switches to the communication function off state on one condition that no interrupt signal is input for a certain period of time. This eliminates unnecessary power consumption when the electronic key 1 is stored. Moreover, when the electronic key 1 is stored, the electronic key 1 does not operate in a place not intended by the user.

S206では、判定部44は、診断部41の診断結果が異常である場合、及び取得部43が割り込み信号を取得しなかった場合の少なくとも一方のとき、振動センサ20を異常と判定する。判定部44は、振動センサ20を異常と判定した場合、振動センサ20を無効とする。キー機能部11は、振動センサ20が無効の場合、振動センサ20の出力に拘わらず、通信機能オン状態に切り替わり、この状態を保持する。すなわち、振動センサ20の故障の場合には、電子キー1を動作可能とすることを優先して、電子キーシステムの使用感の低下を回避する。 In S206, the determination unit 44 determines that the vibration sensor 20 is abnormal when the diagnosis result of the diagnosis unit 41 is abnormal, or when the acquisition unit 43 does not acquire the interrupt signal. When determining that the vibration sensor 20 is abnormal, the determination unit 44 disables the vibration sensor 20. When the vibration sensor 20 is disabled, the key function unit 11 switches to the communication function ON state and maintains this state regardless of the output of the vibration sensor 20. That is, in the case of a failure of the vibration sensor 20, priority is given to making the electronic key 1 operable to avoid deterioration in the usability of the electronic key system.

このように、診断部41及び取得部43によって、例えば、振動センサ20の感度不良や、第2通信線32の異常や、検知機能部21の処理異常などを検出することができる。なお、判定部44の判定が終了し、自己診断が終了すると、キー機能部11は、診断モードを終了して通常に戻る。 In this way, the diagnosis unit 41 and the acquisition unit 43 can detect, for example, a sensitivity failure in the vibration sensor 20, an abnormality in the second communication line 32, a processing abnormality in the detection function unit 21, and the like. Note that when the determination by the determining unit 44 is completed and the self-diagnosis is completed, the key function unit 11 ends the diagnostic mode and returns to normal.

判定部44は、振動センサ20が異常と判定した場合、マイクロコンピュータ10から振動センサ20を切り離す処理を実行する。この処理としては、例えば第1通信線31を通じて振動センサ20の作動を停止する処理でもよいし、第2通信線32の出力、すなわち割り込み信号を無視する処理でもよい。また、これら以外の処理には、振動センサ20の出力の無効化、振動センサ20に異常がある旨の表示、キー機能部11の切替機能の無効化などが挙げられる。 When determining that the vibration sensor 20 is abnormal, the determination unit 44 executes a process of disconnecting the vibration sensor 20 from the microcomputer 10. This process may be, for example, a process of stopping the operation of the vibration sensor 20 via the first communication line 31, or a process of ignoring the output of the second communication line 32, that is, the interrupt signal. Processes other than these include disabling the output of the vibration sensor 20, displaying that there is an abnormality in the vibration sensor 20, disabling the switching function of the key function section 11, and the like.

以下、本実施形態の効果について説明する。
(1)異常検出装置40は、第1通信線31を通じて振動センサ20の自己診断を実行させる診断部41を備える。また、異常検出装置40は、第1通信線31とは異なる第2通信線32を通じて、自己診断時に、振動センサ20の検知機能部21によって出力される検知結果を取得する取得部43を備える。さらに、診断部41の診断結果、及び取得部43が取得した検知結果に基づき、振動センサ20が正常か否かを判定する判定部44を備える。この構成によれば、診断部41によって振動センサ20の自己診断を行うとともに、取得部43によって検知機能の異常を検出する。これにより、振動センサ20の異常を精度よく検出できる。よって、ユーザの意図に沿った作動を実行できる。また、各機能部は、ソフトウェアのみで実現可能である。
The effects of this embodiment will be explained below.
(1) The abnormality detection device 40 includes a diagnostic section 41 that causes the vibration sensor 20 to perform self-diagnosis through the first communication line 31. The abnormality detection device 40 also includes an acquisition unit 43 that acquires the detection result output by the detection function unit 21 of the vibration sensor 20 during self-diagnosis through a second communication line 32 different from the first communication line 31. Furthermore, a determination unit 44 is provided that determines whether the vibration sensor 20 is normal based on the diagnosis result of the diagnosis unit 41 and the detection result acquired by the acquisition unit 43. According to this configuration, the diagnostic section 41 performs a self-diagnosis of the vibration sensor 20, and the acquisition section 43 detects an abnormality in the detection function. Thereby, an abnormality in the vibration sensor 20 can be detected with high accuracy. Therefore, operations can be performed according to the user's intention. Further, each functional unit can be realized only by software.

(2)振動センサ20は、検知機能部21で検知した検知結果を、割り込み信号として取得部43に出力する。この構成によれば、割り込み機能が正常か否かを判定できる。
(3)第1通信線31の通信は、診断部41が振動センサ20に自己診断の実行を指示する診断要求を送信して診断結果を振動センサ20から取得することを可能にする相互通信である。この構成によれば、診断部41は、振動センサ20を相互通信によって制御することができる。これは、自己診断の精度向上に寄与する。
(2) The vibration sensor 20 outputs the detection result detected by the detection function section 21 to the acquisition section 43 as an interrupt signal. According to this configuration, it is possible to determine whether or not the interrupt function is normal.
(3) The communication on the first communication line 31 is mutual communication that allows the diagnostic unit 41 to transmit a diagnostic request to the vibration sensor 20 to instruct the vibration sensor 20 to perform a self-diagnosis, and to obtain the diagnosis result from the vibration sensor 20. be. According to this configuration, the diagnosis section 41 can control the vibration sensor 20 through mutual communication. This contributes to improving the accuracy of self-diagnosis.

(4)診断部41は、振動センサ20の割り込み信号を一定時間入力しなかった場合に、自己診断を行う。この構成によれば、割り込み信号の入力が一定時間ないときに自己診断を行い、振動センサ20が正常か否かを判定する。これにより、電子キーが使用されていない好適なタイミングで、振動センサ20の異常有無の判定を行うことができる。 (4) The diagnostic unit 41 performs self-diagnosis when no interrupt signal from the vibration sensor 20 is input for a certain period of time. According to this configuration, self-diagnosis is performed when no interrupt signal is input for a certain period of time, and it is determined whether the vibration sensor 20 is normal. Thereby, it is possible to determine whether or not there is an abnormality in the vibration sensor 20 at a suitable timing when the electronic key is not being used.

(5)判定部44は、自己診断の診断結果が正常であり、かつ割り込み信号を入力した場合に振動センサ20が正常であると判定する。この構成によれば、感度が正常であるだけでなく、第2通信線32や検知機能部21も正常である場合に振動センサ20が正常であると判定される。これは、振動センサ20が正常か否かを、正しく判定するのに有利である。 (5) The determination unit 44 determines that the vibration sensor 20 is normal when the self-diagnosis result is normal and an interrupt signal is input. According to this configuration, it is determined that the vibration sensor 20 is normal when not only the sensitivity is normal but also the second communication line 32 and the detection function section 21 are normal. This is advantageous for correctly determining whether the vibration sensor 20 is normal.

(6)振動センサ20の検知機能部21は、検出した加速度値が閾値より大きい場合に、比較結果として割り込み信号を出力する。また、取得部43は、自己診断の際に、振動検知の閾値を通常の閾値T1よりも小さい閾値T2へ変更する。この構成によれば、自己診断時に発生させる振動で、確実に割り込み信号を出力させるのに寄与する。 (6) The detection function unit 21 of the vibration sensor 20 outputs an interrupt signal as a comparison result when the detected acceleration value is larger than the threshold value. Furthermore, the acquisition unit 43 changes the vibration detection threshold to a threshold T2 smaller than the normal threshold T1 during self-diagnosis. According to this configuration, the vibration generated during self-diagnosis contributes to reliably outputting the interrupt signal.

なお、本実施形態は、以下のように変更して実施することができる。本実施形態及び以下の変更例は、技術的に矛盾しない範囲で互いに組み合わせて実施することができる。
[診断部41について]
・診断部41が自己診断を行う条件として、割り込み信号入力無しが一定時間経過した場合としたが、これに限定されず、振動センサ20からの割り込み信号入力のタイミングに拘わらず実行されてもよい。すなわち、診断部41が自己診断を行うタイミングは、特に限定されない。
Note that this embodiment can be implemented with the following modifications. This embodiment and the following modified examples can be implemented in combination with each other within a technically consistent range.
[About the diagnosis section 41]
- Although the condition for the diagnostic unit 41 to perform self-diagnosis is that a certain period of time has elapsed without inputting an interrupt signal, the present invention is not limited to this, and the self-diagnosis may be performed regardless of the timing of inputting an interrupt signal from the vibration sensor 20. . That is, the timing at which the diagnostic unit 41 performs self-diagnosis is not particularly limited.

・診断部41は、LF受信部12がオフ状態のときに、自己診断を行ってもよいし、オン状態のときに行ってもよい。
・診断部41が自己診断に用いる第1通信線31は、同期シリアル方式に限定されず、相互通信可能であればどのような通信線を用いてもよい。また、相互通信しない態様でもよく、例えば、診断要求を送信しない態様としてもよい。この場合、決められたタイミングで振動センサ20が自己診断を行って診断結果を出力すればよい。
- The diagnostic section 41 may perform self-diagnosis when the LF receiving section 12 is in the off state, or may perform the self diagnosis when the LF receiving section 12 is in the on state.
- The first communication line 31 used by the diagnostic unit 41 for self-diagnosis is not limited to the synchronous serial method, and any communication line may be used as long as mutual communication is possible. Alternatively, a mode may be adopted in which mutual communication is not performed, for example, a mode in which no diagnosis request is transmitted. In this case, the vibration sensor 20 may perform self-diagnosis at a predetermined timing and output the diagnosis result.

・診断部41による自己診断は、本実施形態に限定されない。例えば、振動センサ20側で、加速度値が正常か否かを判定するのでもよい。すなわち、自己診断時、振動センサ20から、第1通信線31を介して加速度値を出力してもよいし、加速度値の診断結果を出力してもよい。 - Self-diagnosis by the diagnostic unit 41 is not limited to this embodiment. For example, the vibration sensor 20 may determine whether the acceleration value is normal. That is, at the time of self-diagnosis, the vibration sensor 20 may output an acceleration value via the first communication line 31, or may output a diagnostic result of the acceleration value.

[取得部43について]
・取得部43が検知結果を取得する際、診断部41によって閾値T1を閾値T2に変更する機能は、省略されてもよい。例えば、検知機能部21は、予め閾値T2を設定されていてもよい。また、閾値T1,T2は、特に限定されず、仕様に応じて適宜設定される。
[About the acquisition unit 43]
- When the acquisition unit 43 acquires the detection result, the function of changing the threshold T1 to the threshold T2 by the diagnosis unit 41 may be omitted. For example, the detection function unit 21 may have a threshold value T2 set in advance. Further, the threshold values T1 and T2 are not particularly limited, and are appropriately set according to specifications.

・取得部43は、自己診断時に、振動センサ20からの検知結果として、加速度値のデータを取得してもよいし、2値の信号を取得してもよい。2値の信号とは、High/Lowのアナログ信号でもよいし、1/0のデジタル信号でもよい。また、判定部44は、加速度値のデータに基づいて判定してもよいし、取得部43が検知結果を取得したか否かに基づいて判定してもよい。 - The acquisition unit 43 may acquire acceleration value data or a binary signal as a detection result from the vibration sensor 20 during self-diagnosis. The binary signal may be a High/Low analog signal or a 1/0 digital signal. Further, the determination unit 44 may determine based on the acceleration value data, or may determine based on whether the acquisition unit 43 has acquired the detection result.

・検知機能部21は、割り込み信号を出力することに限定されず、加速度値のデータを出力してもよい。
[その他]
・通信機能オフ状態のとき、LF受信を停止してもよいし、RF送信を停止してもよいし、マイクロコンピュータ自体をオフ状態としてもよい。また、通信機能オフ状態のとき、マイクロコンピュータ10自体をオフ状態とし、割り込み信号の入力だけを行うこととしてもよい。
- The detection function unit 21 is not limited to outputting an interrupt signal, and may output data of acceleration values.
[others]
- When the communication function is off, LF reception may be stopped, RF transmission may be stopped, or the microcomputer itself may be turned off. Furthermore, when the communication function is off, the microcomputer 10 itself may be turned off and only the interrupt signal may be input.

・診断部41の診断結果が異常であった場合と、取得部43が割り込み信号を取得しなかった場合とで、その後の処理は異なっていてもよい。例えば、診断部41の診断結果が異常であった場合、振動センサ20を停止し、取得部43が割り込み信号を取得しなかった場合、第2通信線32を無効としてもよい。また、キー機能部11が第1通信線31で振動センサ20の加速度値を定期的に確認可能とすれば、第2通信線32を無効とした後に、第1通信線31で加速度値を確認して作動の切り替えを行ってもよい。すなわち、診断部41及び取得部43の判定結果に基づいて、ユーザの意図に沿った作動を可能にできる範囲で、どのような処理を行ってもよい。 - The subsequent processing may be different depending on whether the diagnosis result of the diagnosis section 41 is abnormal or when the acquisition section 43 does not acquire the interrupt signal. For example, if the diagnosis result of the diagnostic unit 41 is abnormal, the vibration sensor 20 may be stopped, and if the acquisition unit 43 does not acquire an interrupt signal, the second communication line 32 may be disabled. Furthermore, if the key function unit 11 can periodically check the acceleration value of the vibration sensor 20 through the first communication line 31, the acceleration value can be checked through the first communication line 31 after disabling the second communication line 32. The operation may also be switched by That is, based on the determination results of the diagnosis unit 41 and the acquisition unit 43, any processing may be performed as long as the operation can be performed in accordance with the user's intention.

・キー機能部11は、閾値T1を超える加速度値を検出した場合、診断モードから通常のモードへ復帰する態様としてもよい。すなわち、自己診断の一連の処理は、途中で中断されてもよい。 - The key function unit 11 may be configured to return from the diagnostic mode to the normal mode when it detects an acceleration value exceeding the threshold value T1. That is, the series of self-diagnosis processes may be interrupted midway.

・キー機能部11は、一度割り込み信号を入力すると、第2通信線32による割り込みを一旦無効とし、第1通信線31を用いて、振動センサ20の加速度値を繰り返し確認することにより、電子キー1の動きが継続しているか否かを確認することとしてもよい。 - Once the interrupt signal is input, the key function unit 11 temporarily disables the interrupt via the second communication line 32, and repeatedly checks the acceleration value of the vibration sensor 20 using the first communication line 31. It is also possible to check whether the movement of No. 1 continues.

・キー機能部11は、振動センサ20から出力される各種情報を基に、作動の切り替えを行ってもよい。各種情報とは、例えば現在の加速度値、加速度値の履歴、割り込み信号の出力履歴、及びこれらの組み合わせなどが挙げられる。 - The key function section 11 may switch its operation based on various information output from the vibration sensor 20. Examples of the various information include current acceleration values, history of acceleration values, output history of interrupt signals, and combinations thereof.

・振動センサ20は、静電容量方式に限定されず、渦電流方式や、圧電方式を用いてもよい。
・電子キー1は、電子キー1は車両用に限定されない。例えば、住宅のドアを施解錠するための電子キーでもよい。
- The vibration sensor 20 is not limited to a capacitance type, but may also use an eddy current type or a piezoelectric type.
- The electronic key 1 is not limited to use in a vehicle. For example, it may be an electronic key for locking and unlocking the door of a house.

・異常検出装置40は、電子キー1に搭載されることに拘わらず、各種電子機器に搭載してもよい。 - The abnormality detection device 40 is not necessarily installed in the electronic key 1, but may be installed in various electronic devices.

1…電子キー、10…マイクロコンピュータ、11…キー機能部、12…LF受信部、13…RF送信部、20…振動センサ、21…検知機能部、31…第1通信線、32…第2通信線、40…異常検出装置、41…診断部、42…自己診断部、43…取得部、44…判定部。 DESCRIPTION OF SYMBOLS 1...Electronic key, 10...Microcomputer, 11...Key function section, 12...LF receiving section, 13...RF transmitting section, 20...Vibration sensor, 21...Detection function section, 31...First communication line, 32...Second Communication line, 40... Abnormality detection device, 41... Diagnosis section, 42... Self-diagnosis section, 43... Acquisition section, 44... Judgment section.

Claims (7)

振動センサを自ら振動させることで前記振動センサが検出した検出値を前記振動センサに接続された第1通信線を通じた通信を介して入力し、前記検出値に基づいて前記振動センサが正常か否かを診断する診断部と、
前記診断部による診断時に前記振動センサが自身の振動の検知機能部で検知した検知結果を、前記第1通信線とは別の第2通信線を通じて取得する取得部と、
前記診断部による診断結果と、前記取得部で取得した前記検知結果とを基に、前記振動センサが正常か否かを判定する判定部と、を備える異常検出装置。
A detection value detected by the vibration sensor by causing the vibration sensor to vibrate itself is input via communication through a first communication line connected to the vibration sensor, and based on the detection value, whether the vibration sensor is normal or not. a diagnostic department that diagnoses
an acquisition unit that acquires a detection result detected by the vibration sensor with its own vibration detection function unit during diagnosis by the diagnosis unit through a second communication line different from the first communication line;
An abnormality detection device comprising: a determination unit that determines whether the vibration sensor is normal based on a diagnosis result by the diagnosis unit and the detection result acquired by the acquisition unit.
前記振動センサは、前記診断時に前記検知機能部で検知した前記検知結果を、割り込み信号として前記取得部に出力する請求項1に記載の異常検出装置。 The abnormality detection device according to claim 1, wherein the vibration sensor outputs the detection result detected by the detection function section during the diagnosis to the acquisition section as an interrupt signal. 前記第1通信線の通信は、前記診断部が前記振動センサに振動の実行を指示しつつ、その振動の結果得られた前記検出値を前記振動センサから取得することを可能にする相互通信である請求項1又は請求項2に記載の異常検出装置。 The communication on the first communication line is mutual communication that allows the diagnosis unit to instruct the vibration sensor to perform vibration and to obtain the detected value obtained as a result of the vibration from the vibration sensor. An abnormality detection device according to claim 1 or 2. 前記診断部は、前記振動センサからの前記検知結果を一定時間入力しなかった場合に、前記診断を実行する請求項1から請求項3のいずれか一項に記載の異常検出装置。 The abnormality detection device according to any one of claims 1 to 3, wherein the diagnosis unit executes the diagnosis when the detection result from the vibration sensor is not input for a certain period of time. 前記判定部は、前記診断結果が正常であり、かつ前記第2通信線を通じて前記振動センサから前記検知結果を入力した場合、前記振動センサが正常であると判定する請求項1から請求項4のいずれか一項に記載の異常検出装置。 The determining unit determines that the vibration sensor is normal when the diagnosis result is normal and the detection result is input from the vibration sensor through the second communication line. The abnormality detection device according to any one of the items. 前記検知機能部は、振動の前記検知結果として、閾値に対する比較結果を出力し、
前記診断部は、前記診断の際、前記閾値を通常値よりも低く設定する
請求項1から請求項5のうちいずれか一項に記載の異常検出装置。
The detection function unit outputs a comparison result with respect to a threshold value as the detection result of vibration,
The abnormality detection device according to any one of claims 1 to 5, wherein the diagnostic unit sets the threshold value lower than a normal value during the diagnosis .
通信相手との間で、無線通信を通じてID照合を実行するキー機能部と、
振動センサを自ら振動させることで前記振動センサが検出した検出値を前記振動センサに接続された第1通信線を通じた通信を介して入力し、前記検出値に基づいて前記振動センサが正常か否かを診断する診断部と、
前記診断部による診断時に前記振動センサが自身の振動の検知機能部で検知した検知結果を、前記第1通信線とは別の第2通信線を通じて取得する取得部と、
前記診断部による診断結果と、前記取得部で取得した前記検知結果とを基に、前記振動センサが正常か否かを判定する判定部と、を備える電子キー。
a key function unit that performs ID verification through wireless communication with a communication partner;
A detection value detected by the vibration sensor by causing the vibration sensor to vibrate itself is input via communication through a first communication line connected to the vibration sensor, and based on the detection value, whether the vibration sensor is normal or not. a diagnostic department that diagnoses
an acquisition unit that acquires a detection result detected by the vibration sensor with its own vibration detection function unit during diagnosis by the diagnosis unit through a second communication line different from the first communication line;
An electronic key comprising: a determination unit that determines whether the vibration sensor is normal based on a diagnosis result by the diagnosis unit and the detection result acquired by the acquisition unit.
JP2019155774A 2019-08-28 2019-08-28 Abnormality detection device and electronic key Active JP7347996B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2019155774A JP7347996B2 (en) 2019-08-28 2019-08-28 Abnormality detection device and electronic key
PCT/JP2020/032385 WO2021039910A1 (en) 2019-08-28 2020-08-27 Abnormality detection device and electronic key
DE112020004018.6T DE112020004018T5 (en) 2019-08-28 2020-08-27 ANOMALY DETECTION DEVICE AND ELECTRONIC KEY

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019155774A JP7347996B2 (en) 2019-08-28 2019-08-28 Abnormality detection device and electronic key

Publications (2)

Publication Number Publication Date
JP2021032018A JP2021032018A (en) 2021-03-01
JP7347996B2 true JP7347996B2 (en) 2023-09-20

Family

ID=74678036

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019155774A Active JP7347996B2 (en) 2019-08-28 2019-08-28 Abnormality detection device and electronic key

Country Status (3)

Country Link
JP (1) JP7347996B2 (en)
DE (1) DE112020004018T5 (en)
WO (1) WO2021039910A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009236596A (en) 2008-03-26 2009-10-15 Jfe Steel Corp Vibration sensor and method for determining state of the same
JP2013037632A (en) 2011-08-10 2013-02-21 Tokai Rika Co Ltd Power supply circuit for electronic equipment
WO2017072897A1 (en) 2015-10-29 2017-05-04 株式会社日立製作所 Acceleration sensor system and self-diagnosis method
WO2018155057A1 (en) 2017-02-21 2018-08-30 日立オートモティブシステムズ株式会社 Sensor device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3097173B2 (en) * 1991-04-18 2000-10-10 オムロン株式会社 Seismic sensor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009236596A (en) 2008-03-26 2009-10-15 Jfe Steel Corp Vibration sensor and method for determining state of the same
JP2013037632A (en) 2011-08-10 2013-02-21 Tokai Rika Co Ltd Power supply circuit for electronic equipment
WO2017072897A1 (en) 2015-10-29 2017-05-04 株式会社日立製作所 Acceleration sensor system and self-diagnosis method
WO2018155057A1 (en) 2017-02-21 2018-08-30 日立オートモティブシステムズ株式会社 Sensor device

Also Published As

Publication number Publication date
WO2021039910A1 (en) 2021-03-04
DE112020004018T5 (en) 2022-08-04
JP2021032018A (en) 2021-03-01

Similar Documents

Publication Publication Date Title
US9242618B2 (en) Wireless communication system for communication and displaying vehicle information on a portable device
EP3318704B1 (en) Mobile electronic key device and electronic key system
CN108973933B (en) Control system, vehicle-mounted device and electronic key
RU2693421C1 (en) Terminal, vehicle control system and vehicle control method
EP3462421B1 (en) Electronic vehicle key with power saving mode
WO2019176760A1 (en) Walk detection device and walk detection system
US20120239249A1 (en) In-vehicle instrument control device
KR20190081118A (en) Apparatus and method for controlling vehicles
JP2013023868A (en) Function integrated receiver
US20190338562A1 (en) Vehicle electronic key
JP5779137B2 (en) Integrated receiver
JP7347996B2 (en) Abnormality detection device and electronic key
US20200216028A1 (en) Mobile device and authentication system
EP3267317B1 (en) Portable device with vibration sensor
JP5666966B2 (en) Integrated tuner
JP2008169663A (en) Portable machine and vehicular remote control system using the same
JP4561643B2 (en) Vehicle door system
CN102637311A (en) Electronic key and electronic key system
EP3424785B1 (en) Mobile device
JP6804962B2 (en) Electronic key system
JP2009287202A (en) Electronic key device
JP2021122104A (en) Vehicle control system
JP2019156284A (en) Walking detection device and system
JP2019043160A (en) Control system for vehicle
JP2019066301A (en) Communication terminal

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220304

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20221220

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230217

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230606

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230731

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230907

R150 Certificate of patent or registration of utility model

Ref document number: 7347996

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150