JP2022158893A - Event detection method, event detection system, and program - Google Patents

Event detection method, event detection system, and program Download PDF

Info

Publication number
JP2022158893A
JP2022158893A JP2022001938A JP2022001938A JP2022158893A JP 2022158893 A JP2022158893 A JP 2022158893A JP 2022001938 A JP2022001938 A JP 2022001938A JP 2022001938 A JP2022001938 A JP 2022001938A JP 2022158893 A JP2022158893 A JP 2022158893A
Authority
JP
Japan
Prior art keywords
magnetic field
axis
event
field generator
magnetic
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.)
Pending
Application number
JP2022001938A
Other languages
Japanese (ja)
Inventor
和之 井口
Kazuyuki Iguchi
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.)
Asahi Kasei Electronics Co Ltd
Original Assignee
Asahi Kasei Electronics 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 Asahi Kasei Electronics Co Ltd filed Critical Asahi Kasei Electronics Co Ltd
Priority to US17/694,611 priority Critical patent/US11933933B2/en
Priority to KR1020220037922A priority patent/KR20220136198A/en
Priority to CN202210336691.7A priority patent/CN115143870A/en
Publication of JP2022158893A publication Critical patent/JP2022158893A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Transmission And Conversion Of Sensor Element Output (AREA)

Abstract

SOLUTION: To provide an event detection method that detects an event corresponding to a position of a magnetic field occurrence part by detecting magnetic fields of at least two axes generated by a predetermined magnetic field generation part, and includes a stage for acquiring an event generation part on the basis of a magnetic field detected by a magnetic sensor, a stage for selecting a detection axis for detecting an event on the basis of the event generation position, a stage for calculating a trigger threshold corresponding to the event generation position in a detection axis, and a stage for acquiring a trigger signal for showing that the magnetic field detected by the magnetic sensor and the trigger threshold satisfy a predetermined conditions.SELECTED DRAWING: Figure 1B

Description

本発明は、イベント検出方法、イベント検出システムおよびプログラムに関する。 The present invention relates to an event detection method, event detection system and program.

特許文献1には、「検出対象の移動量が大きくなったとしても、1つの検出部によって検出対象の移動を検出することができるポジションセンサを提供する」ことが記載されている。特許文献2には、「長い検知距離に対して出力が直線性を有し、かつ検出精度の高い位置検出が可能な位置検出センサを提供する」ことが記載されている。
[先行技術文献]
[特許文献]
特許文献1 特開2019-2835号公報
特許文献2 特開2003-167627号公報
Patent Literature 1 describes "to provide a position sensor capable of detecting the movement of a detection target with a single detection unit even if the movement amount of the detection target becomes large". Patent Literature 2 describes "to provide a position detection sensor that has a linear output with respect to a long detection distance and is capable of position detection with high detection accuracy".
[Prior art documents]
[Patent Literature]
Patent Document 1: JP-A-2019-2835 Patent Document 2: JP-A-2003-167627

本発明の第1の態様においては、予め定められた磁場発生部により発生した2軸以上の磁場を磁気センサで検出することにより、磁場発生部の位置に応じたイベントを検出するイベント検出方法であって、磁気センサで検出した磁場に基づいてイベント発生位置を取得する段階と、イベント発生位置に基づいて、イベント検出用の検出軸を選択する段階と、検出軸において、イベント発生位置に応じたトリガー閾値を算出する段階と、磁気センサで検出された磁場とトリガー閾値とが所定の条件を満たすことを示すトリガー信号を受信する段階とを備えるイベント検出方法を提供する。 According to a first aspect of the present invention, an event detection method detects an event corresponding to the position of a magnetic field generator by detecting magnetic fields on two or more axes generated by a predetermined magnetic field generator with a magnetic sensor. obtaining an event occurrence position based on the magnetic field detected by the magnetic sensor; selecting a detection axis for event detection based on the event occurrence position; An event detection method is provided comprising the steps of calculating a trigger threshold and receiving a trigger signal indicating that the magnetic field detected by a magnetic sensor and the trigger threshold satisfy a predetermined condition.

本発明の第2の態様においては、予め定められた磁場を発生する磁場発生部と、磁場発生部が発生した磁場を検出するための磁気センサと、磁気センサが検出した信号を処理する処理部とを備え、処理部は、磁気センサで検出した磁場に基づいてイベント発生位置を取得する取得部と、イベント発生位置に基づいて、イベント検出用の検出軸を選択する選択部と、検出軸において、イベント発生位置に応じたトリガー閾値を算出する算出部とを有し、磁気センサは、検出された磁場とトリガー閾値とが所定の条件を満たすこと示すトリガー信号を出力する出力部を有するイベント検出システムを提供する。 In a second aspect of the present invention, a magnetic field generating section for generating a predetermined magnetic field, a magnetic sensor for detecting the magnetic field generated by the magnetic field generating section, and a processing section for processing the signal detected by the magnetic sensor. The processing unit includes an acquisition unit that acquires an event occurrence position based on the magnetic field detected by the magnetic sensor, a selection unit that selects a detection axis for event detection based on the event occurrence position, and and a calculator for calculating a trigger threshold according to the event occurrence position, and the magnetic sensor has an output unit for outputting a trigger signal indicating that the detected magnetic field and the trigger threshold satisfy a predetermined condition. provide the system.

本発明の第3の態様においては、コンピュータに本発明の第1の態様に記載のイベント検出方法を実行させるためのプログラム。 According to a third aspect of the invention, a program for causing a computer to execute the event detection method according to the first aspect of the invention.

なお、上記の発明の概要は、本発明の特徴の全てを列挙したものではない。また、これらの特徴群のサブコンビネーションもまた、発明となりうる。 It should be noted that the above summary of the invention does not list all the features of the invention. Subcombinations of these feature groups can also be inventions.

イベント検出システム100の概要を示すブロック図である。1 is a block diagram showing an overview of an event detection system 100; FIG. 磁気センサ20および処理部30のより具体的な構成を示す。More specific configurations of the magnetic sensor 20 and the processing unit 30 are shown. 磁場発生部10および磁気センサ20の配置方法の一例を示す。An example of a method of arranging the magnetic field generator 10 and the magnetic sensor 20 is shown. 磁場発生部10および磁気センサ20の配置方法の一例を示す。An example of a method of arranging the magnetic field generator 10 and the magnetic sensor 20 is shown. 磁場発生部10および磁気センサ20の配置方法の一例を示す。An example of a method of arranging the magnetic field generator 10 and the magnetic sensor 20 is shown. 磁場発生部10が基準位置P0に配置されている状態を示す。A state in which the magnetic field generator 10 is arranged at the reference position P0 is shown. 磁場発生部10がイベント発生位置Peに配置されている状態を示す。A state in which the magnetic field generator 10 is arranged at the event generation position Pe is shown. 磁場発生部10の位置に応じた磁場波形を示す。A magnetic field waveform corresponding to the position of the magnetic field generator 10 is shown. 図3Cの磁場波形に対応する磁束密度とトリガー信号の変化を示す。FIG. 3C illustrates the variation in magnetic flux density and trigger signal corresponding to the magnetic field waveform of FIG. 3C; 2軸磁場を用いた閾値判定方法の一例を示す。An example of a threshold determination method using a biaxial magnetic field is shown. 磁場発生部10および磁気センサ20の配置方法の一例を示す。An example of a method of arranging the magnetic field generator 10 and the magnetic sensor 20 is shown. 磁場発生部10および磁気センサ20の配置方法の一例を示す。An example of a method of arranging the magnetic field generator 10 and the magnetic sensor 20 is shown. 2軸磁場を用いた閾値判定方法の一例を示す。An example of a threshold determination method using a biaxial magnetic field is shown. 1軸磁場を用いた閾値判定方法の比較例を示す。A comparative example of a threshold determination method using a uniaxial magnetic field is shown. より具体的な閾値判定方法の一例を示す。An example of a more specific threshold determination method will be shown. より具体的な閾値判定方法の一例を示す。An example of a more specific threshold determination method will be shown. より具体的な閾値判定方法の一例を示す。An example of a more specific threshold determination method will be shown. より具体的な閾値判定方法の一例を示す。An example of a more specific threshold determination method will be shown. より具体的な閾値判定方法の一例を示す。An example of a more specific threshold determination method will be shown. より具体的な閾値判定方法の一例を示す。An example of a more specific threshold determination method will be shown. より具体的な閾値判定方法の一例を示す。An example of a more specific threshold determination method will be shown. より具体的な閾値判定方法の一例を示す。An example of a more specific threshold determination method will be shown. より具体的な閾値判定方法の一例を示す。An example of a more specific threshold determination method will be shown. より具体的な閾値判定方法の一例を示す。An example of a more specific threshold determination method will be shown. イベント検出システム100の動作フローの一例を示す。An example of the operational flow of the event detection system 100 is shown. イベント検出システム100の構成の一例を示す。1 shows an example of the configuration of an event detection system 100. FIG. 本発明の複数の態様が全体的又は部分的に具現化されてよいコンピュータ2200の例を示す。An example computer 2200 is shown in which aspects of the present invention may be embodied in whole or in part.

以下、発明の実施の形態を通じて本発明を説明するが、以下の実施形態は特許請求の範囲にかかる発明を限定するものではない。また、実施形態の中で説明されている特徴の組み合わせの全てが発明の解決手段に必須であるとは限らない。 Hereinafter, the present invention will be described through embodiments of the invention, but the following embodiments do not limit the invention according to the claims. Also, not all combinations of features described in the embodiments are essential for the solution of the invention.

図1Aは、イベント検出システム100の概要を示すブロック図である。イベント検出システム100は、磁場発生部10と、磁気センサ20と、処理部30とを備える。 FIG. 1A is a block diagram showing an overview of an event detection system 100. As shown in FIG. The event detection system 100 includes a magnetic field generator 10 , a magnetic sensor 20 and a processor 30 .

磁場発生部10は、予め定められた磁場を発生する。例えば、磁場発生部10は、予め定められた方向に配列されたN極とS極からなる2極磁石を含む。磁場発生部10は、磁石の着磁方向に応じて、予め定められた磁場波形の磁場を発生させる。磁場発生部10は、予め定められた方向に移動して磁場波形を変化させてよい。 The magnetic field generator 10 generates a predetermined magnetic field. For example, the magnetic field generator 10 includes a two-pole magnet having north and south poles arranged in a predetermined direction. The magnetic field generator 10 generates a magnetic field having a predetermined magnetic field waveform according to the magnetization direction of the magnet. The magnetic field generator 10 may move in a predetermined direction to change the magnetic field waveform.

磁気センサ20は、磁場発生部10が発生した磁場を検出する。磁気センサ20は、少なくとも2つ以上の検出軸の磁場を検出する。本例の磁気センサ20は、2軸以上の磁場を検出可能な多軸磁気センサである。但し、磁気センサ20は、複数の1軸センサを有することにより、2軸以上の磁場を検出してもよい。磁気センサ20は、2軸以上の磁場の磁束密度を検出した測定データを取得する。磁気センサ20は、取得した測定データが予め定められた条件を満たした場合にトリガー信号を生成する。トリガー信号は、磁気センサ20の状態変化を通知する割り込み信号である。 The magnetic sensor 20 detects the magnetic field generated by the magnetic field generator 10 . The magnetic sensor 20 detects magnetic fields in at least two detection axes. The magnetic sensor 20 of this example is a multi-axis magnetic sensor capable of detecting two or more magnetic fields. However, the magnetic sensor 20 may detect two or more axial magnetic fields by having a plurality of uniaxial sensors. The magnetic sensor 20 acquires measurement data obtained by detecting magnetic flux densities of magnetic fields on two or more axes. The magnetic sensor 20 generates a trigger signal when the acquired measurement data satisfies a predetermined condition. The trigger signal is an interrupt signal that notifies the state change of the magnetic sensor 20 .

処理部30は、磁気センサ20が検出した信号を処理する。処理部30は、磁気センサ20とシリアル通信し、磁気センサ20からの測定データを受信する。また、処理部30は、磁気センサ20からのトリガー信号によって内部状態を変化させる。例えば、処理部30は、トリガー信号を受信することに応じて、処理部30が設けられた機器を待機状態から起動状態へ変化させる。 The processing unit 30 processes signals detected by the magnetic sensor 20 . The processing unit 30 serially communicates with the magnetic sensor 20 and receives measurement data from the magnetic sensor 20 . Also, the processing unit 30 changes its internal state by a trigger signal from the magnetic sensor 20 . For example, the processing unit 30 changes the device provided with the processing unit 30 from the standby state to the active state in response to receiving the trigger signal.

イベント検出システム100は、磁場発生部10と磁気センサ20との相対的な位置関係に応じたイベントの検出に基づいてトリガー信号を生成する。本例のイベント検出システム100は、磁場発生部10が予め定められた位置に移動したことに応じてトリガー信号を生成して、予め定められた動作を実行する。 The event detection system 100 generates a trigger signal based on detection of an event according to the relative positional relationship between the magnetic field generator 10 and the magnetic sensor 20 . The event detection system 100 of this example generates a trigger signal and executes a predetermined operation in response to the magnetic field generator 10 moving to a predetermined position.

一例において、イベント検出システム100は、ディスプレイが伸縮可能なスマートフォン(例えば、ローラブルフォン)等の携帯端末に搭載され、ディスプレイが予め定められた位置まで伸縮されることに応じて、ディスプレイの表示を切り替えるためのトリガー信号を出力する。また、イベント検出システム100は、イベントの検出に応じて、スマートフォンを待機状態から起動状態に切り替えてもよい。また、イベント検出システム100は、予め定められた期間、操作がない場合に、起動状態から待機状態に遷移させてよい。 In one example, the event detection system 100 is installed in a portable terminal such as a smartphone whose display can be stretched (for example, a rollable phone), and displays the display in response to the display being stretched to a predetermined position. Outputs a trigger signal for switching. Further, the event detection system 100 may switch the smartphone from the standby state to the active state in response to detection of an event. Further, the event detection system 100 may transition from the active state to the standby state when there is no operation for a predetermined period.

図1Bは、磁気センサ20および処理部30のより具体的な構成を示す。本例の磁気センサ20は、検出部22および出力部24を備える。処理部30は、取得部32と、選択部34と、算出部36とを備える。 FIG. 1B shows more specific configurations of the magnetic sensor 20 and the processing section 30. As shown in FIG. The magnetic sensor 20 of this example includes a detection section 22 and an output section 24 . The processing unit 30 includes an acquisition unit 32 , a selection unit 34 and a calculation unit 36 .

検出部22は、磁場発生部10が発生した磁場を検出する。検出部22は、検出した磁場の測定データ(Bx,By,Bz)を検出部22または処理部30に出力する。Bx,ByおよびBzは、それぞれX軸方向、Y軸方向、Z軸方向の磁束密度を示す。本例の検出部22は、測定データとして3軸方向の磁束密度を検出するが、2軸方向の磁束密度を検出してもよい。 The detector 22 detects the magnetic field generated by the magnetic field generator 10 . The detection unit 22 outputs the detected magnetic field measurement data (Bx, By, Bz) to the detection unit 22 or the processing unit 30 . Bx, By and Bz indicate magnetic flux densities in the X-axis direction, Y-axis direction and Z-axis direction, respectively. The detection unit 22 of this example detects magnetic flux densities in three axial directions as measurement data, but may detect magnetic flux densities in two axial directions.

取得部32は、磁気センサ20から測定データ(Bx,By,Bz)を取得する。例えば、取得部32は、磁場発生部10が予め定められた基準位置P0に位置する場合の測定データを取得する。基準位置P0は、磁気センサ20が磁場発生部10の位置を検出可能な任意の位置であってよい。 The acquisition unit 32 acquires measurement data (Bx, By, Bz) from the magnetic sensor 20 . For example, the acquisition unit 32 acquires measurement data when the magnetic field generation unit 10 is positioned at a predetermined reference position P0. The reference position P0 may be any position where the magnetic sensor 20 can detect the position of the magnetic field generator 10 .

また、取得部32は、磁場発生部10のイベント発生位置Peなどの、検出軸の選択またはトリガー閾値の算出に必要な情報を取得してよい。イベント発生位置Peの取得方法については後述する。取得部32は、取得したイベント発生位置Peを選択部34および算出部36に出力する。取得部32は、イベント発生位置Peなどの情報を、処理部30に設けられた記憶部から取得してもよい。 The acquisition unit 32 may also acquire information necessary for selecting a detection axis or calculating a trigger threshold, such as the event occurrence position Pe of the magnetic field generation unit 10 . A method of acquiring the event occurrence position Pe will be described later. The acquisition unit 32 outputs the acquired event occurrence position Pe to the selection unit 34 and the calculation unit 36 . The acquisition unit 32 may acquire information such as the event occurrence position Pe from the storage unit provided in the processing unit 30 .

また、取得部32は、検出軸毎に、磁場発生部10の位置に応じた検出可能領域および検出不可領域を取得してよい。検出可能領域は、対応する検出軸において、トリガー閾値を検出可能な領域である。検出不可領域は、対応する検出軸において、トリガー閾値を検出できない領域である。トリガー閾値を検出できない場合とは、例えば、出力された磁束密度から磁場発生部10の位置を特定できない場合である。複数の検出軸は、それぞれ異なる領域に検出可能領域と検出不可領域を有するように選択されてよい。 Further, the acquisition unit 32 may acquire the detectable region and the non-detectable region according to the position of the magnetic field generator 10 for each detection axis. A detectable region is a region in which the trigger threshold is detectable in the corresponding detection axis. A non-detectable region is a region in which the trigger threshold cannot be detected in the corresponding detection axis. A case where the trigger threshold cannot be detected is, for example, a case where the position of the magnetic field generator 10 cannot be specified from the output magnetic flux density. The multiple detection axes may be selected to have detectable and non-detectable regions in different regions.

選択部34は、イベント発生位置Peに基づいて、イベント検出用の検出軸を選択する。例えば、選択部34は、検出軸として、磁場発生部10が移動する予め定められた第1方向と平行な第1軸または、第1軸と直交する第2軸を選択する。選択部34は、磁場発生部10の位置が検出可能領域に該当するように、検出軸を選択する。具体的な検出軸の選択方法については後述する。 The selection unit 34 selects a detection axis for event detection based on the event occurrence position Pe. For example, the selector 34 selects a first axis parallel to a predetermined first direction in which the magnetic field generator 10 moves or a second axis orthogonal to the first axis as the detection axis. The selector 34 selects the detection axis so that the position of the magnetic field generator 10 falls within the detectable region. A specific detection axis selection method will be described later.

算出部36は、検出軸において、イベント発生位置Peに応じたトリガー閾値を算出する。トリガー閾値は、選択された検出軸において、イベント発生位置Peで磁気センサ20が検出する磁束密度である。算出部36は、算出したトリガー閾値を出力部24に出力する。 The calculator 36 calculates a trigger threshold according to the event occurrence position Pe on the detection axis. The trigger threshold is the magnetic flux density detected by the magnetic sensor 20 at the event occurrence position Pe on the selected detection axis. The calculator 36 outputs the calculated trigger threshold to the output unit 24 .

出力部24は、予め定められたトリガー閾値を検出してトリガー信号を出力する。本例の出力部24は、検出部22が検出した磁場の磁束密度がトリガー閾値を超えるか下回った場合に、トリガー信号を生成する。出力部24は、生成したトリガー信号を処理部30に出力する。処理部30は、トリガー信号の受信に応じて、予め定められた処理を実行してよい。 The output unit 24 detects a predetermined trigger threshold and outputs a trigger signal. The output unit 24 of this example generates a trigger signal when the magnetic flux density of the magnetic field detected by the detection unit 22 exceeds or falls below the trigger threshold. The output unit 24 outputs the generated trigger signal to the processing unit 30 . The processing unit 30 may execute predetermined processing in response to reception of the trigger signal.

図2Aは、磁場発生部10および磁気センサ20の配置方法の一例を示す。本図は、Y軸方向の視点の磁場発生部10および磁気センサ20を示す。 FIG. 2A shows an example of how the magnetic field generator 10 and the magnetic sensor 20 are arranged. This figure shows the magnetic field generator 10 and the magnetic sensor 20 from the viewpoint in the Y-axis direction.

本例の磁場発生部10は、X軸方向に配列されたN極およびS極を有する。X軸方向は、第1方向の一例である。但し、磁場発生部10は、X軸方向に限らず、Y軸方向、Z軸方向またはその他の方向に移動してもよい。本例の磁場発生部10は、N極よりもX軸方向の負側にS極を有するが、これに限定されない。Z軸方向における磁場発生部10と磁気センサ20との距離は、磁気センサ20が磁場発生部10の磁場を検出できる距離であれば特に限定されない。 The magnetic field generator 10 of this example has N poles and S poles arranged in the X-axis direction. The X-axis direction is an example of a first direction. However, the magnetic field generator 10 may move not only in the X-axis direction, but also in the Y-axis direction, Z-axis direction, or other directions. The magnetic field generator 10 of this example has the S pole on the negative side in the X-axis direction with respect to the N pole, but is not limited to this. The distance between the magnetic field generator 10 and the magnetic sensor 20 in the Z-axis direction is not particularly limited as long as the magnetic sensor 20 can detect the magnetic field of the magnetic field generator 10 .

本例では、磁場発生部10の磁石の形状が直方体であるが、円柱などの他の形状であってよい。磁石の材料は、ネオジウムまたはフェライトなどの任意の材料であってよい。一例において、イベント検出システム100がローラブルフォンに搭載される場合、磁場発生部10がディスプレイ側に搭載され、磁気センサ20が筐体側に搭載され、ディスプレイの伸縮に応じて磁場発生部10と磁気センサ20の相対的な位置関係が変化する。 In this example, the shape of the magnet of the magnetic field generator 10 is a rectangular parallelepiped, but it may be other shapes such as a cylinder. The magnet material can be any material such as neodymium or ferrite. In one example, when the event detection system 100 is mounted on a rollable phone, the magnetic field generator 10 is mounted on the display side, the magnetic sensor 20 is mounted on the housing side, and the magnetic field generator 10 and the magnetic field are mounted according to the expansion and contraction of the display. The relative positional relationship of sensors 20 changes.

なお、磁場発生部10および磁気センサ20の相対的な位置関係が変化すれば、磁気センサ20が移動してもよいし、磁場発生部10と磁気センサ20の両方が移動してもよい。一例において、イベント検出システム100がローラブルフォンに搭載される場合、磁場発生部10がディスプレイ側に搭載され、磁気センサ20が筐体側に搭載され、ディスプレイの伸縮に応じて磁場発生部10と磁気センサ20との相対的な位置関係が変化する。 If the relative positional relationship between the magnetic field generator 10 and the magnetic sensor 20 changes, the magnetic sensor 20 may move, or both the magnetic field generator 10 and the magnetic sensor 20 may move. In one example, when the event detection system 100 is mounted on a rollable phone, the magnetic field generator 10 is mounted on the display side, the magnetic sensor 20 is mounted on the housing side, and the magnetic field generator 10 and the magnetic field are mounted according to the expansion and contraction of the display. A relative positional relationship with the sensor 20 changes.

図2Bは、磁場発生部10および磁気センサ20の配置方法の一例を示す。本図は、Z軸方向の視点の磁場発生部10および磁気センサ20を示す。即ち、本例の視点は、図2Aに対して90度回転した位置からの視点を示している。 FIG. 2B shows an example of how the magnetic field generator 10 and the magnetic sensor 20 are arranged. This figure shows the magnetic field generator 10 and the magnetic sensor 20 from a viewpoint in the Z-axis direction. That is, the viewpoint in this example shows a viewpoint from a position rotated by 90 degrees with respect to FIG. 2A.

磁場発生部10は、XY平面において、磁気センサ20を横切るように移動している。磁場発生部10が磁気センサ20を横切るとは、XY平面において、磁場発生部10と磁気センサ20の一部が重なることを指す。言い換えると、磁場発生部10は、磁気センサ20上を通過するように移動してもよい。また、磁場発生部10は、YZ平面において、磁気センサ20を横切るように移動してもよい。磁場発生部10が予め定められた平面において磁気センサ20を横切ることにより、磁場発生部10の移動に応じた磁束密度の変化を検出しやすくなり、トリガー閾値の判定が容易になる。 The magnetic field generator 10 moves across the magnetic sensor 20 on the XY plane. The magnetic field generator 10 crossing the magnetic sensor 20 means that the magnetic field generator 10 and the magnetic sensor 20 partly overlap on the XY plane. In other words, the magnetic field generator 10 may move so as to pass over the magnetic sensor 20 . Also, the magnetic field generator 10 may move across the magnetic sensor 20 in the YZ plane. When the magnetic field generator 10 crosses the magnetic sensor 20 on a predetermined plane, it becomes easier to detect changes in the magnetic flux density according to the movement of the magnetic field generator 10, and it becomes easier to determine the trigger threshold.

また、本例の磁場発生部10は、X軸方向と平行に移動しているが、XY平面においてX軸に対して斜めに移動してもよい。このように、磁場発生部10は、XY平面において、磁気センサ20を横切るように配置される場合に限定されず、筐体設計の自由度を高くすることができる。 Moreover, although the magnetic field generator 10 in this example moves parallel to the X-axis direction, it may move obliquely to the X-axis on the XY plane. In this way, the magnetic field generator 10 is not limited to being arranged across the magnetic sensor 20 in the XY plane, and the degree of freedom in housing design can be increased.

本例では、磁場発生部10が直線上を移動する場合について示したが、これに限定されない。即ち、磁場発生部10は、曲線上を移動してもよいし、その他の任意の軌跡を描いて移動してもよい。磁場発生部10は、予め定められた円周上を回転してもよい。 Although this example shows the case where the magnetic field generator 10 moves in a straight line, the present invention is not limited to this. That is, the magnetic field generator 10 may move along a curved line, or may move along any other trajectory. The magnetic field generator 10 may rotate on a predetermined circumference.

図2Cは、磁場発生部10および磁気センサ20の配置方法の一例を示す。本図は、Z軸方向の視点の磁場発生部10および磁気センサ20を示す。本図は、磁場発生部10が円周上を移動する場合を示した上面図である。図2Cでは、磁場発生部10が、XY平面において、磁気センサ20を横切るように移動している。磁場発生部10が磁気センサ20を横切るとは、XY平面において、磁場発生部10と磁気センサ20の一部が重なることを指す。言い換えると、磁場発生部10は、磁気センサ20上を通過するように移動してもよい。また、磁場発生部10は、磁気センサ20上を通過しなくてもよい。 FIG. 2C shows an example of how the magnetic field generator 10 and the magnetic sensor 20 are arranged. This figure shows the magnetic field generator 10 and the magnetic sensor 20 from a viewpoint in the Z-axis direction. This figure is a top view showing the case where the magnetic field generator 10 moves on the circumference. In FIG. 2C, the magnetic field generator 10 moves across the magnetic sensor 20 in the XY plane. The magnetic field generator 10 crossing the magnetic sensor 20 means that the magnetic field generator 10 and the magnetic sensor 20 partly overlap on the XY plane. In other words, the magnetic field generator 10 may move so as to pass over the magnetic sensor 20 . Also, the magnetic field generator 10 does not have to pass over the magnetic sensor 20 .

例えば、折り畳みが可能なスマートフォン(例えば、フォルダブルフォン)の折り畳みに応じて磁場発生部10が移動してもよいし、スマートウォッチのベゼルの回転に応じて磁場発生部10が移動してもよい。フォルダブルフォンの場合、片面に磁場発生部10が設けられ、もう片面に磁気センサ20が設けられ、開閉に応じて磁場発生部10が曲線上を移動してよい。スマートウォッチの場合、本体側に磁気センサ20が設けられ、ベゼル側に磁場発生部10が設けられ、ベゼルの回転駆動に応じて磁場発生部10が円周上を回転してよい。 For example, the magnetic field generator 10 may move according to folding of a foldable smartphone (for example, a foldable phone), or the magnetic field generator 10 may move according to rotation of the bezel of the smartwatch. . In the case of a foldable phone, the magnetic field generator 10 is provided on one side and the magnetic sensor 20 is provided on the other side, and the magnetic field generator 10 may move along a curve according to opening and closing. In the case of a smart watch, the magnetic sensor 20 may be provided on the main body side, the magnetic field generator 10 may be provided on the bezel side, and the magnetic field generator 10 may rotate on the circumference according to the rotating drive of the bezel.

図3Aは、磁場発生部10が基準位置P0に配置されている状態を示す。本例の磁場発生部10は、N極とS極の境界が磁気センサ20の上方に位置するように配置されている。本例においては、Z軸方向の磁束密度Bzよりも、X軸方向の磁束密度Bxが大きくなる。但し、基準位置P0において磁気センサ20が検出する磁束密度はこれに限定されない。 FIG. 3A shows a state in which the magnetic field generator 10 is placed at the reference position P0. The magnetic field generator 10 of this example is arranged so that the boundary between the N pole and the S pole is located above the magnetic sensor 20 . In this example, the magnetic flux density Bx in the X-axis direction is higher than the magnetic flux density Bz in the Z-axis direction. However, the magnetic flux density detected by the magnetic sensor 20 at the reference position P0 is not limited to this.

図3Bは、磁場発生部10がイベント発生位置Peに配置されている状態を示す。即ち、イベント検出システム100は、磁場発生部10が本図の位置に配置された場合に、予め定められた処理を実行する。本例の磁場発生部10は、図3Aの基準位置P0よりもX軸方向の正側に移動している。この場合、図3Aにおいて磁場発生部10が基準位置P0に存在する場合よりも、Z軸方向の磁束密度Bzの成分が大きくなる。磁場発生部10および磁気センサ20の相対的な位置関係と、磁場発生部10の移動方向は、磁気センサ20によってトリガー閾値を検出できるものであれば、本例に限定されない。 FIG. 3B shows a state in which the magnetic field generator 10 is arranged at the event generation position Pe. That is, the event detection system 100 executes predetermined processing when the magnetic field generator 10 is placed at the position shown in the figure. The magnetic field generator 10 of this example has moved to the positive side in the X-axis direction from the reference position P0 in FIG. 3A. In this case, the component of the magnetic flux density Bz in the Z-axis direction becomes larger than when the magnetic field generator 10 exists at the reference position P0 in FIG. 3A. The relative positional relationship between the magnetic field generator 10 and the magnetic sensor 20 and the movement direction of the magnetic field generator 10 are not limited to this example as long as the trigger threshold can be detected by the magnetic sensor 20 .

図3Cは、磁場発生部10の位置に応じた磁場波形を示す。横軸は磁場発生部10のX軸方向における位置を示し、縦軸はZ軸方向の磁束密度Bzを示す。磁場発生部10の移動に応じて、磁気センサ20で測定する磁束密度Bzの大きさが変化する。磁束密度Bz_0は、磁場発生部10が基準位置P0に配置された状態で磁気センサ20が検出する磁束密度である。磁束密度Bz_1は、磁場発生部10が基準位置P0よりもX軸方向の正側に配置された状態で磁気センサ20が検出する磁束密度である。 FIG. 3C shows magnetic field waveforms according to the position of the magnetic field generator 10 . The horizontal axis indicates the position of the magnetic field generator 10 in the X-axis direction, and the vertical axis indicates the magnetic flux density Bz in the Z-axis direction. The magnitude of the magnetic flux density Bz measured by the magnetic sensor 20 changes according to the movement of the magnetic field generator 10 . The magnetic flux density Bz_0 is the magnetic flux density detected by the magnetic sensor 20 when the magnetic field generator 10 is placed at the reference position P0. The magnetic flux density Bz_1 is the magnetic flux density detected by the magnetic sensor 20 when the magnetic field generator 10 is arranged on the positive side in the X-axis direction with respect to the reference position P0.

磁束密度Bthzは、磁場発生部10がイベント発生位置Peに配置された状態で磁気センサ20が検出する磁束密度である。本例のイベント検出システム100は、磁気センサ20が磁束密度Bthzを超えた場合に、トリガー信号を生成する。なお、本例では、説明のために1軸の検出軸を用いる場合について説明したが、2軸以上の検出軸を用いてイベントを検出してよい。 The magnetic flux density Bthz is the magnetic flux density detected by the magnetic sensor 20 when the magnetic field generator 10 is placed at the event generation position Pe. The event detection system 100 of this example generates a trigger signal when the magnetic sensor 20 exceeds the magnetic flux density Bthz. In this example, a case where one detection axis is used is described for the sake of explanation, but events may be detected using two or more detection axes.

図3Dは、図3Cの磁場波形に対応する磁束密度とトリガー信号の変化を示す。本例では、時刻T0から時刻T1まで、磁場発生部10が基準位置P0で停止しており、磁束密度Bzの変動がない。 FIG. 3D shows changes in magnetic flux density and trigger signal corresponding to the magnetic field waveform of FIG. 3C. In this example, from time T0 to time T1, the magnetic field generator 10 is stopped at the reference position P0, and the magnetic flux density Bz does not fluctuate.

時刻T1において、磁場発生部10が基準位置P0から移動を開始して、磁束密度がBz_0から徐々に増加する。時刻T2において、磁束密度Bthzを超えた場合に磁気センサ20からトリガー信号が生成される。その後、磁場発生部10は、時刻T3で磁束密度Bz_1に応じた位置まで移動して停止している。時刻T4において、磁場発生部10は、基準位置P0への移動を開始して、時刻T5において磁束密度Bthzを下回った場合にトリガー信号の生成を停止している。このように、本例のイベント検出システム100は、磁気センサ20の内部の閾値判定に基づいてトリガー信号を生成している。 At time T1, the magnetic field generator 10 starts moving from the reference position P0, and the magnetic flux density gradually increases from Bz_0. At time T2, a trigger signal is generated from the magnetic sensor 20 when the magnetic flux density Bthz is exceeded. Thereafter, the magnetic field generator 10 moves to a position corresponding to the magnetic flux density Bz_1 at time T3 and stops. At time T4, the magnetic field generator 10 starts moving to the reference position P0, and stops generating the trigger signal when the magnetic flux density falls below Bthz at time T5. Thus, the event detection system 100 of this example generates the trigger signal based on the threshold determination inside the magnetic sensor 20 .

以下では、2軸磁場を用いた閾値判定方法の一例について説明する。 An example of a threshold determination method using a biaxial magnetic field will be described below.

図4Aは、2軸磁場を用いた閾値判定方法の一例を示す。本例においては、図2Aおよび図2Bに示したように、磁場発生部10は、XY平面において、磁気センサ20を横切るように移動している。本例のイベント検出システム100は、X軸方向の磁束密度Bxと、Z軸方向の磁束密度Bzを選択的に用いている。しかしながら、イベント発生位置Peは、Z軸方向の磁束密度Bzの変曲点付近に対応しており、Z軸を検出軸とすると正確にイベント発生位置Peを検出することができない。そのため、本例のイベント検出システム100は、イベント発生位置Peにおいて、線形的な変化をしている磁束密度Bxを用いてイベント発生位置Peを検出している。本例のイベント検出システム100は、2軸以上の測定データを用いて閾値判定を行うことにより、イベント検知可能領域を拡張することができる。 FIG. 4A shows an example of a threshold determination method using biaxial magnetic fields. In this example, as shown in FIGS. 2A and 2B, the magnetic field generator 10 moves across the magnetic sensor 20 in the XY plane. The event detection system 100 of this example selectively uses the magnetic flux density Bx in the X-axis direction and the magnetic flux density Bz in the Z-axis direction. However, the event occurrence position Pe corresponds to the vicinity of the inflection point of the magnetic flux density Bz in the Z-axis direction, and if the Z-axis is used as the detection axis, the event occurrence position Pe cannot be accurately detected. Therefore, the event detection system 100 of this example detects the event occurrence position Pe using the magnetic flux density Bx that changes linearly at the event occurrence position Pe. The event detection system 100 of this example can expand the event detectable region by performing threshold determination using measurement data of two or more axes.

本実施形態においては、磁場発生部10が、XY平面において、磁気センサ20を横切らないように移動する場合でも、イベント検出することができる。 In this embodiment, an event can be detected even when the magnetic field generator 10 moves so as not to cross the magnetic sensor 20 in the XY plane.

図4Bは、磁場発生部10および磁気センサ20の配置方法の一例を示す。本図は、Z軸方向の視点の磁場発生部10および磁気センサ20を示す。本例の磁場発生部10は、XY平面において、磁気センサ20を横切らず、磁気センサ20からY軸方向にずれた位置を移動している。図4Bにおいては、Y軸方向への移動量yは正の値である。即ち、磁場発生部10はY軸方向の正の方向にyだけ移動しているが、これに限定されない。 FIG. 4B shows an example of how the magnetic field generator 10 and the magnetic sensor 20 are arranged. This figure shows the magnetic field generator 10 and the magnetic sensor 20 from a viewpoint in the Z-axis direction. The magnetic field generator 10 of this example is moved in a position shifted in the Y-axis direction from the magnetic sensor 20 without crossing the magnetic sensor 20 on the XY plane. In FIG. 4B, the movement amount y in the Y-axis direction is a positive value. In other words, the magnetic field generator 10 moves by y in the positive direction of the Y-axis, but the present invention is not limited to this.

図4Cは、磁場発生部10および磁気センサ20の配置方法の一例を示す。本図は、Z軸方向の視点の磁場発生部10および磁気センサ20を示す。本例の磁場発生部10は、XY平面において、磁気センサ20を横切らず、磁気センサ20からY軸方向にずれた位置を移動している。磁場発生部10はXZ平面内をX軸方向の正の方向に移動してよく、Y軸方向への移動量yは負の値である。即ち、磁場発生部10は、XY平面内において、Y軸の負の方向にyだけ移動していてもよい。 FIG. 4C shows an example of a method of arranging the magnetic field generator 10 and the magnetic sensor 20 . This figure shows the magnetic field generator 10 and the magnetic sensor 20 from a viewpoint in the Z-axis direction. The magnetic field generator 10 of this example is moved in a position shifted in the Y-axis direction from the magnetic sensor 20 without crossing the magnetic sensor 20 on the XY plane. The magnetic field generator 10 may move in the XZ plane in the positive direction of the X-axis, and the movement amount y in the Y-axis direction is a negative value. That is, the magnetic field generator 10 may move by y in the negative direction of the Y-axis within the XY plane.

図4Dは、磁場発生部10の位置に応じた磁場波形を示す。横軸は磁場発生部10のX軸方向における位置を示し、縦軸はX軸方向の磁束密度BxおよびZ軸方向の磁束密度Bzを示す。磁場発生部10の移動に応じて、磁気センサ20で測定する磁束密度BxおよびBzの大きさが変化する。 FIG. 4D shows magnetic field waveforms according to the position of the magnetic field generator 10 . The horizontal axis indicates the position of the magnetic field generator 10 in the X-axis direction, and the vertical axis indicates the magnetic flux density Bx in the X-axis direction and the magnetic flux density Bz in the Z-axis direction. The magnetic flux densities Bx and Bz measured by the magnetic sensor 20 change according to the movement of the magnetic field generator 10 .

図2Bのように磁場発生部10が磁気センサ20を横切るように移動する場合の磁場波形(Bx,Bz)を破線で、図4Cのように磁場発生部10が磁気センサ20からY軸方向にずれた位置を移動する場合の磁場波形(Bxoff,Bzoff)を実線で示してある。図4Cのような場合、磁場発生部10と磁気センサ20との間の距離が図2Bの場合よりも大きくなるため、磁気センサ20で検出される磁束密度は減少する。 The magnetic field waveforms (Bx, Bz) when the magnetic field generator 10 moves across the magnetic sensor 20 as shown in FIG. A solid line indicates the magnetic field waveform (Bxoff, Bzoff) when moving to a shifted position. In the case shown in FIG. 4C, the distance between the magnetic field generator 10 and the magnetic sensor 20 is greater than in the case of FIG. 2B, so the magnetic flux density detected by the magnetic sensor 20 is reduced.

しかし、図4Dに示したように、XY平面において、磁場発生部10が磁気センサ20を横切る場合と、磁気センサ20からY軸方向にずれた位置を移動する場合とにおいて、磁束密度のピークを与える磁場発生部10のX軸方向における位置は大きく変化しない。したがって、XY平面において、磁場発生部10が磁気センサ20を横切らない場合においても、磁気センサ20を横切る場合と同様のイベント検出方法を適用することができる。 However, as shown in FIG. 4D, in the XY plane, when the magnetic field generator 10 crosses the magnetic sensor 20 and when it moves to a position shifted in the Y-axis direction from the magnetic sensor 20, the peak of the magnetic flux density is The position of the applied magnetic field generator 10 in the X-axis direction does not change significantly. Therefore, even when the magnetic field generator 10 does not cross the magnetic sensor 20 in the XY plane, the same event detection method as in the case of crossing the magnetic sensor 20 can be applied.

ここで、磁気センサ20で検出される磁束密度の強度は、磁場発生部10のY軸方向への移動量yが大きいほど、小さくなる。図示していないが、図4Bの場合に磁気センサ20で検出される磁束密度の強度は、図4Cの場合に磁気センサ20で検出される磁束密度の強度よりも小さくなる。 Here, the strength of the magnetic flux density detected by the magnetic sensor 20 decreases as the movement amount y of the magnetic field generating section 10 in the Y-axis direction increases. Although not shown, the intensity of the magnetic flux density detected by the magnetic sensor 20 in the case of FIG. 4B is smaller than the intensity of the magnetic flux density detected by the magnetic sensor 20 in the case of FIG. 4C.

よって磁場発生部10の移動量yは、磁気センサ20の位置における磁束密度が、外部磁場ノイズ等の影響を含めて、イベント検出が可能な磁束密度サイズを考慮して決定することができる。このようにすることで、磁場発生部10と磁気センサ20の配置自由度が高くなるので、筐体設計の自由度を高くすることができる。 Therefore, the movement amount y of the magnetic field generator 10 can be determined by considering the magnetic flux density size at which the magnetic flux density at the position of the magnetic sensor 20 can detect an event, including the effects of external magnetic field noise and the like. By doing so, the degree of freedom in arranging the magnetic field generating section 10 and the magnetic sensor 20 is increased, so the degree of freedom in housing design can be increased.

図5は、1軸磁場を用いた閾値判定方法の比較例を示す。本例では、イベント発生位置PeがZ軸方向の磁束密度Bzの変曲点付近に対応しているので、イベント発生位置Pe付近において磁場発生部の位置を正確に判断することが困難である。そのため、比較例の閾値判定方法では、イベントを検知することができない検知不可領域Ruが生じてしまう。そのため、比較例の方法では、検知可能なイベント発生位置Peが限定されてしまう。 FIG. 5 shows a comparative example of a threshold determination method using a uniaxial magnetic field. In this example, since the event occurrence position Pe corresponds to the vicinity of the inflection point of the magnetic flux density Bz in the Z-axis direction, it is difficult to accurately determine the position of the magnetic field generator near the event occurrence position Pe. Therefore, in the threshold determination method of the comparative example, an undetectable region Ru occurs in which an event cannot be detected. Therefore, in the method of the comparative example, detectable event occurrence positions Pe are limited.

図6は、より具体的な閾値判定方法の一例を示す。本例のイベント検出システム100は、X軸方向の位置に応じて、いずれかの検出軸を選択して使用する。グラフの実線は、磁場発生部10の位置を検出可能な検出可能領域を示す。グラフの破線は、磁場発生部10の位置を検出できない検出不可領域を示す。一例において、検出可能領域は、磁束密度の変曲点を有さず、磁場発生部10の移動に応じて、単調に増加する領域または単調に減少する領域である。検出不可領域は、磁束密度の波形が変曲点を有する領域または磁場発生部10の移動に応じた磁束密度の変化が小さい領域である。 FIG. 6 shows an example of a more specific threshold determination method. The event detection system 100 of this example selects and uses one of the detection axes according to the position in the X-axis direction. A solid line in the graph indicates a detectable region in which the position of the magnetic field generator 10 can be detected. A dashed line in the graph indicates an undetectable region where the position of the magnetic field generator 10 cannot be detected. In one example, the detectable region is a region that does not have an inflection point of the magnetic flux density and monotonically increases or decreases in accordance with the movement of the magnetic field generator 10 . The non-detectable region is a region in which the waveform of the magnetic flux density has an inflection point or a region in which the change in magnetic flux density according to the movement of the magnetic field generator 10 is small.

選択部34は、イベント発生位置Peが、X軸において磁場発生部10の位置を検出可能な検出可能領域に属する場合にX軸を選択する。一方、選択部34は、イベント発生位置Peが、X軸の検出可能領域に属さず、Z軸の検出可能領域に属する場合にZ軸を選択する。また、選択部34は、基準位置P0およびイベント発生位置Peに基づいて、検出軸を選択してよい。 The selector 34 selects the X-axis when the event occurrence position Pe belongs to the detectable region in which the position of the magnetic field generator 10 can be detected on the X-axis. On the other hand, the selection unit 34 selects the Z-axis when the event occurrence position Pe does not belong to the detectable region of the X-axis but belongs to the detectable region of the Z-axis. Further, the selection unit 34 may select the detection axis based on the reference position P0 and the event occurrence position Pe.

本例のイベント検出システム100は、領域R1、領域R2、領域R3、領域R1'および領域R2'の5つの領域に分けて、軸を選択している。選択部34は、領域R1、領域R3および領域R1'において、Z軸を検出軸に選択している。選択部34は、領域R2および領域R2'において、X軸を検出軸に選択している。 The event detection system 100 of this example divides into five regions, region R1, region R2, region R3, region R1', and region R2', and selects axes. The selection unit 34 selects the Z axis as the detection axis in the regions R1, R3 and R1'. The selection unit 34 selects the X axis as the detection axis in the regions R2 and R2'.

領域R1は、始点と境界1との間の区間であり、単調に減少する磁束密度Bzを用いてトリガー閾値を判定できる。領域R2は、境界1と境界2との間の区間であり、単調に減少する磁束密度Bxを用いて、トリガー閾値を判定できる。領域R3は、境界2と境界2'との間の区間であり、単調に増加する磁束密度Bzを用いて、トリガー閾値を判定できる。領域R2'は、境界2'と境界1'との間の区間であり、単調に増加する磁束密度Bxを用いて、トリガー閾値を判定する。領域R1'は、境界1'と終点との間の区間であり、単調に減少する磁束密度Bzを用いて、トリガー閾値を判定する。領域の設定方法については、これに限定されない。 Region R1 is the section between the starting point and boundary 1, and the monotonically decreasing magnetic flux density Bz can be used to determine the trigger threshold. Region R2 is the interval between Boundary 1 and Boundary 2, where the monotonically decreasing magnetic flux density Bx can be used to determine the trigger threshold. Region R3 is the section between Boundary 2 and Boundary 2', where the monotonically increasing magnetic flux density Bz can be used to determine the trigger threshold. Region R2' is the interval between Boundary 2' and Boundary 1' where a monotonically increasing magnetic flux density Bx is used to determine the trigger threshold. Region R1' is the interval between boundary 1' and the end point, where the monotonically decreasing magnetic flux density Bz is used to determine the trigger threshold. The area setting method is not limited to this.

以上の通り、イベント検出システム100は、選択された軸の磁束密度が変曲点を有さないように各領域を設定し、検出軸を選択する。これにより、イベント検出システム100は、より広い範囲において、トリガー閾値を判定してトリガー信号を生成することができる。 As described above, the event detection system 100 sets each region so that the magnetic flux density of the selected axis does not have an inflection point, and selects the detection axis. This allows the event detection system 100 to determine trigger thresholds and generate trigger signals over a wider range.

本実施形態では、各検出軸についてトリガー閾値を複数設定できる場合において、磁場発生部10がX軸のプラス方向又はマイナス方向に移動した際のイベント検出を行うことができる。また、本実施形態では、各検出軸についてトリガー閾値を1つしか設定できない場合においても、イベント検出を行うことができる。 In this embodiment, when a plurality of trigger threshold values can be set for each detection axis, an event can be detected when the magnetic field generator 10 moves in the plus or minus direction of the X axis. Further, in this embodiment, event detection can be performed even when only one trigger threshold can be set for each detection axis.

例として、磁場発生部10が基準位置P0から移動した際のイベントを検出する方法を示す。以下では、磁場発生部10がX軸のプラス方向又はマイナス方向に移動した際のイベントを検出する方法について説明するが、磁場発生部10の移動方向はこれに限定されない。 As an example, a method of detecting an event when the magnetic field generator 10 moves from the reference position P0 will be described. A method of detecting an event when the magnetic field generator 10 moves in the plus or minus direction of the X-axis will be described below, but the movement direction of the magnetic field generator 10 is not limited to this.

図7Aは、磁場発生部10の位置に応じた磁場波形を示す。横軸は磁場発生部10のX軸方向における位置を示し、縦軸はX軸方向の磁束密度BxおよびZ軸方向の磁束密度Bzを示す。基準位置P0の近くで磁場発生部10がX軸のプラス方向又はマイナス方向へ移動したとき、BxとBzとがいずれも変曲点を含まない場合、基準位置P0から±1mm移動したときのイベント検出を行うことができる。 FIG. 7A shows a magnetic field waveform according to the position of the magnetic field generator 10. FIG. The horizontal axis indicates the position of the magnetic field generator 10 in the X-axis direction, and the vertical axis indicates the magnetic flux density Bx in the X-axis direction and the magnetic flux density Bz in the Z-axis direction. When the magnetic field generator 10 moves in the plus or minus direction of the X-axis near the reference position P0, when neither Bx nor Bz includes an inflection point, an event when the magnetic field generator 10 moves ±1 mm from the reference position P0 Detection can be performed.

例えば、図7Aにおいて基準位置P0が2mmであるとき、プラス側に移動した場合のイベント発生位置Pe+に応じたトリガー閾値はBxを用いて、マイナス側に移動した場合のイベント発生位置Pe-に応じたトリガー閾値はBzを用いて、それぞれイベント検出を行うことにより、各検出軸についてトリガー閾値を1つしか設定できない場合においても、イベント検出を行うことができる。 For example, when the reference position P0 is 2 mm in FIG. 7A, Bx is used as the trigger threshold corresponding to the event occurrence position Pe+ when moving to the plus side, and according to the event occurrence position Pe− when moving to the minus side. By using Bz as the trigger threshold to perform event detection, event detection can be performed even when only one trigger threshold can be set for each detection axis.

しかし、例えば図7Aにおいて基準位置P0が0mmであるとき、基準位置P0の周辺においてBxの変化が小さいので、Bxを用いたイベント検出を行うことができない。このような場合であっても、磁気センサ20が磁束密度の二乗和平方根Bsumを算出することが可能であれば、イベント検出を行うことができる。即ち、二乗和平方根Bsumを用いて、イベント発生位置Peに応じたトリガー閾値を算出することにより、イベント検出を行うことができる。磁束密度の二乗和平方根Bsumは以下の数1に示す式で表すことができる。

Figure 2022158893000002
However, for example, when the reference position P0 is 0 mm in FIG. 7A, event detection using Bx cannot be performed because the change in Bx is small around the reference position P0. Even in such a case, event detection can be performed if the magnetic sensor 20 can calculate the square root of the sum of squares Bsum of the magnetic flux density. That is, event detection can be performed by calculating a trigger threshold according to the event occurrence position Pe using the square root of the sum of squares Bsum. The square root of the sum of squares Bsum of the magnetic flux density can be expressed by the following equation (1).
Figure 2022158893000002

図7Bは、磁場発生部10の位置に応じた磁場波形を示す。横軸は磁場発生部10のX軸方向における位置を示し、縦軸はX軸方向の磁束密度Bx、Z軸方向の磁束密度Bz、および磁束密度の二乗和平方根Bsumを示す。例えば、基準位置P0が0mmの場合、左右対称な形状をしているBsumを用いることで、基準位置P0から±1mm移動したときのイベント検出を行うことができる。 FIG. 7B shows magnetic field waveforms according to the position of the magnetic field generator 10 . The horizontal axis indicates the position of the magnetic field generator 10 in the X-axis direction, and the vertical axis indicates the magnetic flux density Bx in the X-axis direction, the magnetic flux density Bz in the Z-axis direction, and the square root of the sum of the squares of the magnetic flux densities Bsum. For example, when the reference position P0 is 0 mm, by using Bsum having a symmetrical shape, it is possible to detect an event when moved ±1 mm from the reference position P0.

図7Cは、磁場発生部10の位置に応じた磁場波形を示す。図7Cにおいて、基準位置P0は図7Bと同様に0mmである。図7Cにおいては、プラス側に移動した場合のイベント発生位置Pe+に応じたトリガー閾値はBzを用いて、マイナス側に移動した場合のイベント発生位置Pe-に応じたトリガー閾値はBsumを用いて、それぞれイベント検出を行っている。これにより、各検出軸についてトリガー閾値を1つしか設定できない場合においても、イベント検出を行うことができる。 FIG. 7C shows magnetic field waveforms according to the position of the magnetic field generator 10 . In FIG. 7C, the reference position P0 is 0 mm as in FIG. 7B. In FIG. 7C, Bz is used as the trigger threshold corresponding to the event occurrence position Pe+ when moving to the plus side, and Bsum is used as the trigger threshold corresponding to the event occurrence position Pe− when moving to the minus side. They each detect events. This enables event detection even when only one trigger threshold can be set for each detection axis.

図7Dは、それぞれ基準位置P0が1mmの場合を表した図である。図7Dにおいては、プラス側に移動した場合のイベント発生位置Pe+に応じたトリガー閾値はBsumを用いて、マイナス側に移動した場合のイベント発生位置Pe-に応じたトリガー閾値はBzを用いて、それぞれイベント検出を行うことにより、各検出軸についてトリガー閾値を1つしか設定できない場合においても、イベント検出を行うことができる。 FIG. 7D is a diagram showing a case where the reference position P0 is 1 mm. In FIG. 7D, Bsum is used as the trigger threshold corresponding to the event occurrence position Pe+ when moving to the plus side, and Bz is used as the trigger threshold corresponding to the event occurrence position Pe− when moving to the minus side. By performing event detection respectively, event detection can be performed even when only one trigger threshold can be set for each detection axis.

図7Eは、基準位置P0が-1mmの場合を表した図である。図7Eにおいては、プラス側に移動した場合のイベント発生位置Pe+に応じたトリガー閾値はBzを用いて、マイナス側に移動した場合のイベント発生位置Pe-に応じたトリガー閾値はBsumを用いて、それぞれイベント検出を行うことにより、各検出軸についてトリガー閾値を1つしか設定できない場合においても、イベント検出を行うことができる。 FIG. 7E is a diagram showing a case where the reference position P0 is -1 mm. In FIG. 7E, Bz is used as the trigger threshold corresponding to the event occurrence position Pe+ when moving to the plus side, and Bsum is used as the trigger threshold corresponding to the event occurrence position Pe− when moving to the minus side. By performing event detection respectively, event detection can be performed even when only one trigger threshold can be set for each detection axis.

以上の通り、イベント検出システム100は、磁束密度の二重和平方根Bsumを用いることにより、両方向のイベント検出が可能になる。これにより、イベント検出システム100は、選択された検出軸についてトリガー閾値を1つしか設定できない場合においても、トリガー閾値を判定してトリガー信号を生成することができる。 As described above, the event detection system 100 can detect events in both directions by using the double sum square root Bsum of the magnetic flux density. This allows the event detection system 100 to determine the trigger threshold and generate the trigger signal even when only one trigger threshold can be set for the selected detection axis.

更に、本実施形態では、各検出軸についてトリガー閾値を1つしか設定できない場合において、磁気センサ20が磁束密度の二乗和平方根Bsumを算出することができない場合であっても、イベント検出を行うことができる。 Furthermore, in the present embodiment, when only one trigger threshold can be set for each detection axis, event detection can be performed even when the magnetic sensor 20 cannot calculate the square root of the sum of squares of the magnetic flux density. can be done.

図8Aは、図4Cで示したように、磁場発生部10が磁気センサ20を横切らないような場合における、磁場発生部10の位置に応じた磁場波形を示す。横軸は磁場発生部10のX軸方向における位置を示し、縦軸はX軸方向の磁束密度Bx、Y軸方向の磁束密度ByおよびZ軸方向の磁束密度Bzを示す。基準位置P0の近くで磁場発生部10がX軸のプラス方向又はマイナス方向へ移動したとき、BxとBzとがいずれも変曲点を含まない場合、基準位置P0から±1mm移動したときのイベント検出を行うことができる。 FIG. 8A shows the magnetic field waveform according to the position of the magnetic field generator 10 when the magnetic field generator 10 does not cross the magnetic sensor 20 as shown in FIG. 4C. The horizontal axis indicates the position of the magnetic field generator 10 in the X-axis direction, and the vertical axis indicates the magnetic flux density Bx in the X-axis direction, the magnetic flux density By in the Y-axis direction, and the magnetic flux density Bz in the Z-axis direction. When the magnetic field generator 10 moves in the plus or minus direction of the X-axis near the reference position P0, when neither Bx nor Bz includes an inflection point, an event when the magnetic field generator 10 moves ±1 mm from the reference position P0 Detection can be performed.

例えば、図8Aにおいて基準位置P0が2mmであるとき、プラス側に移動した場合のイベント発生位置Pe+に応じたトリガー閾値はBxを用いて、マイナス側に移動した場合のイベント発生位置Pe-に応じたトリガー閾値はBzを用いて、それぞれイベント検出を行うことにより、各検出軸についてトリガー閾値を1つしか設定できない場合においても、イベント検出を行うことができる。 For example, when the reference position P0 is 2 mm in FIG. 8A, Bx is used as the trigger threshold corresponding to the event occurrence position Pe+ when moving to the plus side, and according to the event occurrence position Pe− when moving to the minus side. By using Bz as the trigger threshold to perform event detection, event detection can be performed even when only one trigger threshold can be set for each detection axis.

しかし、例えば図8Aにおいて基準位置P0が0mmであるとき、基準位置P0の周辺においてBxの変化が小さいので、Bxを用いたイベント検出を行うことができない。このような場合であっても、Y軸を検出軸として選択し、Byを用いることにより、イベント検出を行うことができる。 However, for example, when the reference position P0 is 0 mm in FIG. 8A, event detection using Bx cannot be performed because the change in Bx is small around the reference position P0. Even in such a case, event detection can be performed by selecting the Y axis as the detection axis and using By.

図8Bは、基準位置P0が0mmである場合を表した図である。本実施例では、プラス側に移動した場合のイベント発生位置Pe+に応じたトリガー閾値はBzを用いて、マイナス側に移動した場合のイベント発生位置Pe-に応じたトリガー閾値はByを用いて、それぞれイベント検出を行うことにより、各検出軸についてトリガー閾値を1つしか設定できない場合においても、イベント検出を行うことができることを示しているが、これに限定されない。即ち、プラス側に移動した場合のイベント発生位置Pe+に応じたトリガー閾値はByを用いて、マイナス側に移動した場合のイベント発生位置Pe-に応じたトリガー閾値はBzを用いて、それぞれイベント検出を行う事が可能である。 FIG. 8B is a diagram showing a case where the reference position P0 is 0 mm. In this embodiment, Bz is used as the trigger threshold corresponding to the event occurrence position Pe+ when moving to the plus side, and By is used as the trigger threshold corresponding to the event occurrence position Pe− when moving to the minus side. By performing event detection for each, it is shown that event detection can be performed even when only one trigger threshold can be set for each detection axis, but the present invention is not limited to this. That is, the event is detected using By as the trigger threshold corresponding to the event occurrence position Pe+ when moving to the plus side, and using Bz as the trigger threshold corresponding to the event occurrence position Pe− when moving to the minus side. It is possible to do

図8Cは、基準位置P0が1mmである場合を表した図である。本実施例では、プラス側に移動した場合のイベント発生位置Pe+に応じたトリガー閾値はBzを用いて、マイナス側に移動した場合のイベント発生位置Pe-に応じたトリガー閾値はByを用いて、それぞれイベント検出を行うことにより、各検出軸についてトリガー閾値を1つしか設定できない場合においても、イベント検出を行うことができることを示しているが、これに限定されない。即ち、プラス側に移動した場合のイベント発生位置Pe+に応じたトリガー閾値はByを用いて、マイナス側に移動した場合のイベント発生位置Pe-に応じたトリガー閾値はBzを用いて、それぞれイベント検出を行う事が可能である。 FIG. 8C is a diagram showing a case where the reference position P0 is 1 mm. In this embodiment, Bz is used as the trigger threshold corresponding to the event occurrence position Pe+ when moving to the plus side, and By is used as the trigger threshold corresponding to the event occurrence position Pe− when moving to the minus side. By performing event detection for each, it is shown that event detection can be performed even when only one trigger threshold can be set for each detection axis, but the present invention is not limited to this. That is, the event is detected using By as the trigger threshold corresponding to the event occurrence position Pe+ when moving to the plus side, and using Bz as the trigger threshold corresponding to the event occurrence position Pe− when moving to the minus side. It is possible to do

図8Dは、基準位置P0が-1mmである場合を表した図である。本実施例では、プラス側に移動した場合のイベント発生位置Pe+に応じたトリガー閾値はBzを用いて、マイナス側に移動した場合のイベント発生位置Pe-に応じたトリガー閾値はByを用いて、それぞれイベント検出を行うことにより、各検出軸についてトリガー閾値を1つしか設定できない場合においても、イベント検出を行うことができることを示しているが、これに限定されない。即ち、プラス側に移動した場合のイベント発生位置Pe+に応じたトリガー閾値はByを用いて、マイナス側に移動した場合のイベント発生位置Pe-に応じたトリガー閾値はBzを用いて、それぞれイベント検出を行う事が可能である。 FIG. 8D is a diagram showing a case where the reference position P0 is -1 mm. In this embodiment, Bz is used as the trigger threshold corresponding to the event occurrence position Pe+ when moving to the plus side, and By is used as the trigger threshold corresponding to the event occurrence position Pe− when moving to the minus side. By performing event detection for each, it is shown that event detection can be performed even when only one trigger threshold can be set for each detection axis, but the present invention is not limited to this. That is, the event is detected using By as the trigger threshold corresponding to the event occurrence position Pe+ when moving to the plus side, and using Bz as the trigger threshold corresponding to the event occurrence position Pe− when moving to the minus side. It is possible to do

図9は、イベント検出システム100の動作フローの一例を示す。本例では、処理部30が待機状態に移行した後に、予め定められたイベントを検出して、処理部30を起動させるためのトリガー信号を生成する方法を示す。 FIG. 9 shows an example of the operational flow of the event detection system 100. As shown in FIG. This example shows a method of detecting a predetermined event and generating a trigger signal for activating the processing unit 30 after the processing unit 30 has transitioned to the standby state.

ステップS300~ステップS314は、処理部30で実行され、ステップS200~ステップS206が磁気センサ20で実行されてよい。ステップS300において、処理部30が起動状態に設定されている。ステップS302において、磁場発生部10の基準位置P0の測定データを取得するために、磁気センサ20に測定データの読み出しをリクエストする。これにより、処理部30は、磁気センサ20から基準位置P0における測定データ(Bx,By,Bz)を取得する。磁場発生部10の基準位置P0は、特に限定されない。 Steps S300 to S314 may be performed by the processing unit 30, and steps S200 to S206 may be performed by the magnetic sensor 20. FIG. At step S300, the processing unit 30 is set to the activated state. In step S302, in order to acquire the measurement data of the reference position P0 of the magnetic field generator 10, the magnetic sensor 20 is requested to read the measurement data. Thereby, the processing unit 30 acquires measurement data (Bx, By, Bz) at the reference position P0 from the magnetic sensor 20 . The reference position P0 of the magnetic field generator 10 is not particularly limited.

ステップS304において、処理部30は、取得した測定データから、磁場発生部10の基準位置P0の領域を判定する。例えば、処理部30は、予め作成したデータテーブルまたは関数フィッティングを用いて、磁場発生部10の基準位置P0を算出する。 In step S304, the processing unit 30 determines the area of the reference position P0 of the magnetic field generating unit 10 from the acquired measurement data. For example, the processing unit 30 calculates the reference position P0 of the magnetic field generation unit 10 using a data table created in advance or function fitting.

ステップS306において、処理部30は、イベント発生位置Peの領域を判定する。処理部30は、予め設定されたイベント発生位置Peを記憶していてもよい。処理部30は、磁場発生部10がイベント発生位置Peに位置する場合の測定データからイベント発生位置Peの領域を判定してもよい。ステップS308において、処理部30は、イベント発生位置Peに基づいてトリガー閾値を算出する。処理部30は、予め作成したデータテーブルまたは関数フィッティングを用いて、トリガー閾値を算出してよい。 In step S306, the processing unit 30 determines the area of the event occurrence position Pe. The processing unit 30 may store a preset event occurrence position Pe. The processing unit 30 may determine the area of the event occurrence position Pe from the measurement data when the magnetic field generation unit 10 is positioned at the event occurrence position Pe. In step S308, the processing unit 30 calculates a trigger threshold based on the event occurrence position Pe. The processing unit 30 may calculate the trigger threshold using a pre-created data table or function fitting.

ステップS310において、処理部30は、算出したトリガー閾値を磁気センサ20に書き込む。これにより、ステップS202において、使用する検出軸とトリガー閾値が磁気センサ20に設定される。磁気センサ20は、トリガー閾値の判定に必要のない軸については、使用せずに磁束密度を検出しなくてよい。磁気センサ20は、磁場を測定して、設定されたトリガー閾値を超えるか、下回った場合にトリガー信号を処理部30に出力する(ステップS204,ステップS206)。そして、処理部30は、トリガー信号を受信することにより起動状態となる(ステップS314)。 In step S<b>310 , the processing unit 30 writes the calculated trigger threshold to the magnetic sensor 20 . As a result, the detection axis to be used and the trigger threshold are set in the magnetic sensor 20 in step S202. The magnetic sensor 20 does not need to detect magnetic flux densities for axes that are not necessary for trigger threshold determination. The magnetic sensor 20 measures the magnetic field and outputs a trigger signal to the processing unit 30 when the magnetic field exceeds or falls below the set trigger threshold (steps S204 and S206). Then, the processing unit 30 is activated by receiving the trigger signal (step S314).

図10は、イベント検出システム100の構成の一例を示す。本例のイベント検出システム100は、複数の磁気センサ20を備える点で図2Aの実施例と相違する。本例のイベント検出システム100は、磁気センサ20aおよび磁気センサ20bの2つの磁気センサ20を備える。 FIG. 10 shows an example of the configuration of the event detection system 100. As shown in FIG. The event detection system 100 of this example differs from the example of FIG. 2A in that it includes a plurality of magnetic sensors 20 . The event detection system 100 of this example includes two magnetic sensors 20, a magnetic sensor 20a and a magnetic sensor 20b.

磁気センサ20aおよび磁気センサ20bは、磁場発生部10の移動方向であるX軸方向に配置されている。磁気センサ20aおよび磁気センサ20bは、同一の種類の磁気センサであってもよいし、異なる種類の磁気センサであってもよい。磁気センサ20bは、磁気センサ20aのイベント検知可能領域と重なっていてもよいし、重ならなくてもよい。 The magnetic sensor 20a and the magnetic sensor 20b are arranged in the X-axis direction, which is the movement direction of the magnetic field generator 10. As shown in FIG. The magnetic sensor 20a and the magnetic sensor 20b may be the same type of magnetic sensor or different types of magnetic sensors. The magnetic sensor 20b may or may not overlap the event detectable area of the magnetic sensor 20a.

イベント検出システム100は、複数の磁気センサ20を設けることにより、イベント検知可能領域をさらに拡張することができる。処理部30は、磁気センサ20が1つの場合に検出軸を決定する処理と同様の処理によって、使用する磁気センサ20を選択し、選択された磁気センサ20の中から検出軸を決定してよい。これにより、イベント検出システム100は、イベント発生位置Peに応じて、最適な磁気センサ20で最適な検出軸を使用することができる。 By providing multiple magnetic sensors 20, the event detection system 100 can further expand the event detectable area. The processing unit 30 may select the magnetic sensor 20 to be used and determine the detection axis from among the selected magnetic sensors 20 by the same process as the process of determining the detection axis when there is one magnetic sensor 20. . Thereby, the event detection system 100 can use the optimum detection axis with the optimum magnetic sensor 20 according to the event occurrence position Pe.

図11は、本発明の複数の態様が全体的又は部分的に具現化されてよいコンピュータ2200の例を示す。コンピュータ2200にインストールされたプログラムは、コンピュータ2200に、本発明の実施形態に係る装置に関連付けられる操作又は当該装置の1又は複数のセクションとして機能させることができ、又は当該操作又は当該1又は複数のセクションを実行させることができ、及び/又はコンピュータ2200に、本発明の実施形態に係るプロセス又は当該プロセスの段階を実行させることができる。そのようなプログラムは、コンピュータ2200に、本明細書に記載のフローチャート及びブロック図のブロックのうちのいくつか又はすべてに関連付けられた特定の操作を実行させるべく、CPU2212によって実行されてよい。 FIG. 11 illustrates an example computer 2200 in which aspects of the invention may be implemented in whole or in part. Programs installed on the computer 2200 may cause the computer 2200 to function as one or more sections of an operation or apparatus associated with an apparatus according to embodiments of the invention, or to Sections may be executed and/or computer 2200 may be caused to execute processes or steps of such processes according to embodiments of the present invention. Such programs may be executed by CPU 2212 to cause computer 2200 to perform certain operations associated with some or all of the blocks in the flowcharts and block diagrams described herein.

本実施形態によるコンピュータ2200は、CPU2212、RAM2214、グラフィックコントローラ2216、及びディスプレイデバイス2218を含み、それらはホストコントローラ2210によって相互に接続されている。コンピュータ2200はまた、通信インタフェース2222、ハードディスクドライブ2224、DVD-ROMドライブ2226、及びICカードドライブのような入/出力ユニットを含み、それらは入/出力コントローラ2220を介してホストコントローラ2210に接続されている。コンピュータはまた、ROM2230及びキーボード2242のようなレガシの入/出力ユニットを含み、それらは入/出力チップ2240を介して入/出力コントローラ2220に接続されている。 Computer 2200 according to this embodiment includes CPU 2212 , RAM 2214 , graphics controller 2216 , and display device 2218 , which are interconnected by host controller 2210 . Computer 2200 also includes input/output units such as communication interface 2222, hard disk drive 2224, DVD-ROM drive 2226, and IC card drive, which are connected to host controller 2210 via input/output controller 2220. there is The computer also includes legacy input/output units such as ROM 2230 and keyboard 2242 , which are connected to input/output controller 2220 through input/output chip 2240 .

CPU2212は、ROM2230及びRAM2214内に格納されたプログラムに従い動作し、それにより各ユニットを制御する。グラフィックコントローラ2216は、RAM2214内に提供されるフレームバッファ等又はそれ自体の中にCPU2212によって生成されたイメージデータを取得し、イメージデータがディスプレイデバイス2218上に表示されるようにする。 The CPU 2212 operates according to programs stored in the ROM 2230 and RAM 2214, thereby controlling each unit. Graphics controller 2216 retrieves image data generated by CPU 2212 into itself, such as a frame buffer provided in RAM 2214 , and causes the image data to be displayed on display device 2218 .

通信インタフェース2222は、ネットワークを介して他の電子デバイスと通信する。ハードディスクドライブ2224は、コンピュータ2200内のCPU2212によって使用されるプログラム及びデータを格納する。DVD-ROMドライブ2226は、プログラム又はデータをDVD-ROM2201から読み取り、ハードディスクドライブ2224にRAM2214を介してプログラム又はデータを提供する。ICカードドライブは、プログラム及びデータをICカードから読み取り、及び/又はプログラム及びデータをICカードに書き込む。 Communication interface 2222 communicates with other electronic devices over a network. Hard disk drive 2224 stores programs and data used by CPU 2212 within computer 2200 . DVD-ROM drive 2226 reads programs or data from DVD-ROM 2201 and provides programs or data to hard disk drive 2224 via RAM 2214 . The IC card drive reads programs and data from IC cards and/or writes programs and data to IC cards.

ROM2230はその中に、アクティブ化時にコンピュータ2200によって実行されるブートプログラム等、及び/又はコンピュータ2200のハードウェアに依存するプログラムを格納する。入/出力チップ2240はまた、様々な入/出力ユニットをパラレルポート、シリアルポート、キーボードポート、マウスポート等を介して、入/出力コントローラ2220に接続してよい。 ROM 2230 stores therein programs that depend on the hardware of computer 2200, such as a boot program that is executed by computer 2200 upon activation. Input/output chip 2240 may also connect various input/output units to input/output controller 2220 via parallel ports, serial ports, keyboard ports, mouse ports, and the like.

プログラムが、DVD-ROM2201又はICカードのようなコンピュータ可読媒体によって提供される。プログラムは、コンピュータ可読媒体から読み取られ、コンピュータ可読媒体の例でもあるハードディスクドライブ2224、RAM2214、又はROM2230にインストールされ、CPU2212によって実行される。これらのプログラム内に記述される情報処理は、コンピュータ2200に読み取られ、プログラムと、上記様々なタイプのハードウェアリソースとの間の連携をもたらす。装置又は方法が、コンピュータ2200の使用に従い情報の操作又は処理を実現することによって構成されてよい。 A program is provided by a computer-readable medium such as a DVD-ROM 2201 or an IC card. The program is read from a computer-readable medium, installed in hard disk drive 2224 , RAM 2214 , or ROM 2230 , which are also examples of computer-readable medium, and executed by CPU 2212 . The information processing described within these programs is read by computer 2200 to provide coordination between the programs and the various types of hardware resources described above. An apparatus or method may be configured by implementing manipulation or processing of information in accordance with the use of computer 2200 .

例えば、通信がコンピュータ2200及び外部デバイス間で実行される場合、CPU2212は、RAM2214にロードされた通信プログラムを実行し、通信プログラムに記述された処理に基づいて、通信インタフェース2222に対し、通信処理を命令してよい。通信インタフェース2222は、CPU2212の制御下、RAM2214、ハードディスクドライブ2224、DVD-ROM2201、又はICカードのような記録媒体内に提供される送信バッファ処理領域に格納された送信データを読み取り、読み取られた送信データをネットワークに送信し、又はネットワークから受信された受信データを記録媒体上に提供される受信バッファ処理領域等に書き込む。 For example, when communication is performed between the computer 2200 and an external device, the CPU 2212 executes a communication program loaded in the RAM 2214 and sends communication processing to the communication interface 2222 based on the processing described in the communication program. you can command. The communication interface 2222 reads transmission data stored in a transmission buffer processing area provided in a recording medium such as the RAM 2214, the hard disk drive 2224, the DVD-ROM 2201, or an IC card under the control of the CPU 2212, and transmits the read transmission data. It sends data to the network or writes received data received from the network to a receive buffer processing area or the like provided on the recording medium.

また、CPU2212は、ハードディスクドライブ2224、DVD-ROMドライブ2226(DVD-ROM2201)、ICカード等のような外部記録媒体に格納されたファイル又はデータベースの全部又は必要な部分がRAM2214に読み取られるようにし、RAM2214上のデータに対し様々なタイプの処理を実行してよい。CPU2212は次に、処理されたデータを外部記録媒体にライトバックする。 In addition, the CPU 2212 causes the RAM 2214 to read all or necessary portions of files or databases stored in external recording media such as a hard disk drive 2224, a DVD-ROM drive 2226 (DVD-ROM 2201), an IC card, etc. Various types of processing may be performed on the data in RAM 2214 . CPU 2212 then writes back the processed data to the external recording medium.

様々なタイプのプログラム、データ、テーブル、及びデータベースのような様々なタイプの情報が記録媒体に格納され、情報処理を受けてよい。CPU2212は、RAM2214から読み取られたデータに対し、本開示の随所に記載され、プログラムの命令シーケンスによって指定される様々なタイプの操作、情報処理、条件判断、条件分岐、無条件分岐、情報の検索/置換等を含む、様々なタイプの処理を実行してよく、結果をRAM2214に対しライトバックする。また、CPU2212は、記録媒体内のファイル、データベース等における情報を検索してよい。例えば、各々が第2の属性の属性値に関連付けられた第1の属性の属性値を有する複数のエントリが記録媒体内に格納される場合、CPU2212は、第1の属性の属性値が指定される、条件に一致するエントリを当該複数のエントリの中から検索し、当該エントリ内に格納された第2の属性の属性値を読み取り、それにより予め定められた条件を満たす第1の属性に関連付けられた第2の属性の属性値を取得してよい。 Various types of information, such as various types of programs, data, tables, and databases, may be stored on recording media and subjected to information processing. CPU 2212 performs various types of operations on data read from RAM 2214, information processing, conditional decision making, conditional branching, unconditional branching, and information retrieval, as specified throughout this disclosure and by instruction sequences of programs. Various types of processing may be performed, including /replace, etc., and the results written back to RAM 2214 . In addition, the CPU 2212 may search for information in a file in a recording medium, a database, or the like. For example, if a plurality of entries each having an attribute value of a first attribute associated with an attribute value of a second attribute are stored in the recording medium, the CPU 2212 determines that the attribute value of the first attribute is specified. search the plurality of entries for an entry that matches the condition, read the attribute value of the second attribute stored in the entry, and thereby associate it with the first attribute that satisfies the predetermined condition. an attribute value of the second attribute obtained.

上で説明したプログラム又はソフトウェアモジュールは、コンピュータ2200上又はコンピュータ2200近傍のコンピュータ可読媒体に格納されてよい。また、専用通信ネットワーク又はインターネットに接続されたサーバーシステム内に提供されるハードディスク又はRAMのような記録媒体が、コンピュータ可読媒体として使用可能であり、それによりプログラムを、ネットワークを介してコンピュータ2200に提供する。 The programs or software modules described above may be stored on computer readable media on or near computer 2200 . Also, a recording medium such as a hard disk or RAM provided in a server system connected to a dedicated communication network or the Internet can be used as a computer-readable medium, thereby providing the program to the computer 2200 via the network. do.

以上、本発明を実施の形態を用いて説明したが、本発明の技術的範囲は上記実施の形態に記載の範囲には限定されない。上記実施の形態に、多様な変更または改良を加えることが可能であることが当業者に明らかである。その様な変更または改良を加えた形態も本発明の技術的範囲に含まれ得ることが、特許請求の範囲の記載から明らかである。 Although the present invention has been described above using the embodiments, the technical scope of the present invention is not limited to the scope described in the above embodiments. It is obvious to those skilled in the art that various modifications and improvements can be made to the above embodiments. It is clear from the description of the scope of claims that forms with such modifications or improvements can also be included in the technical scope of the present invention.

特許請求の範囲、明細書、および図面中において示した装置、システム、プログラム、および方法における動作、手順、ステップ、および段階等の各処理の実行順序は、特段「より前に」、「先立って」等と明示しておらず、また、前の処理の出力を後の処理で用いるのでない限り、任意の順序で実現しうることに留意すべきである。特許請求の範囲、明細書、および図面中の動作フローに関して、便宜上「まず、」、「次に、」等を用いて説明したとしても、この順で実施することが必須であることを意味するものではない。 The execution order of each process such as actions, procedures, steps, and stages in the devices, systems, programs, and methods shown in the claims, the specification, and the drawings is particularly "before", "before etc., and it should be noted that they can be implemented in any order unless the output of the previous process is used in the subsequent process. Regarding the operation flow in the claims, the specification, and the drawings, even if the description is made using "first," "next," etc. for the sake of convenience, it means that it is essential to carry out in this order. not a thing

10・・・磁場発生部、20・・・磁気センサ、22・・・検出部、24・・・出力部、30・・・処理部、32・・・取得部、34・・・選択部、36・・・算出部、100・・・イベント検出システム、2200・・・コンピュータ、2201・・・DVD-ROM、2210・・・ホストコントローラ、2212・・・CPU、2214・・・RAM、2216・・・グラフィックコントローラ、2218・・・ディスプレイデバイス、2220・・・入/出力コントローラ、2222・・・通信インタフェース、2224・・・ハードディスクドライブ、2226・・・DVD-ROMドライブ、2230・・・ROM、2240・・・入/出力チップ、2242・・・キーボード 10... magnetic field generator, 20... magnetic sensor, 22... detector, 24... output unit, 30... processor, 32... acquisition unit, 34... selector, 36... Calculation unit, 100... Event detection system, 2200... Computer, 2201... DVD-ROM, 2210... Host controller, 2212... CPU, 2214... RAM, 2216... graphic controller, 2218 display device, 2220 input/output controller, 2222 communication interface, 2224 hard disk drive, 2226 DVD-ROM drive, 2230 ROM, 2240 input/output chip, 2242 keyboard

Claims (13)

予め定められた磁場発生部により発生した2軸以上の磁場を磁気センサで検出することにより、前記磁場発生部の位置に応じたイベントを検出するイベント検出方法であって、
前記磁気センサで検出した磁場に基づいて、イベント発生位置を取得する段階と、
前記イベント発生位置に基づいて、イベント検出用の検出軸を選択する段階と、
前記検出軸において、前記イベント発生位置に応じたトリガー閾値を算出する段階と、
前記磁気センサで検出された磁場と、前記トリガー閾値とが予め定められた条件を満たすことを示すトリガー信号を取得する段階と
を備えるイベント検出方法。
An event detection method for detecting an event according to the position of a magnetic field generator by detecting magnetic fields of two or more axes generated by a predetermined magnetic field generator with a magnetic sensor,
obtaining an event occurrence position based on the magnetic field detected by the magnetic sensor;
selecting a detection axis for event detection based on the event occurrence position;
calculating a trigger threshold according to the event occurrence position on the detection axis;
An event detection method comprising: obtaining a trigger signal indicating that the magnetic field detected by the magnetic sensor and the trigger threshold satisfy a predetermined condition.
前記磁場発生部を予め定められた第1方向に移動させる段階と、
前記検出軸として、前記第1方向と平行な第1軸または、前記第1軸と直交する第2軸を選択する段階と
を備える請求項1に記載のイベント検出方法。
moving the magnetic field generator in a predetermined first direction;
The event detection method according to claim 1, comprising selecting a first axis parallel to the first direction or a second axis orthogonal to the first axis as the detection axis.
前記磁場発生部を予め定められた第1方向に移動させる段階は、前記第1軸または前記第2軸において、前記磁場発生部が前記磁気センサ上を通過するように移動させる段階を含む
請求項2に記載のイベント検出方法。
3. The step of moving the magnetic field generator in a predetermined first direction includes moving the magnetic field generator along the first axis or the second axis so that the magnetic field generator passes over the magnetic sensor. 3. The event detection method according to 2.
前記検出軸を選択する段階は、
前記イベント発生位置が、前記第1軸において前記磁場発生部の位置を検出可能な検出可能領域に属する場合に前記第1軸を選択し、
前記イベント発生位置が、前記第1軸の検出可能領域に属さず、前記第2軸の検出可能領域に属する場合に前記第2軸を選択する段階を含む
請求項2または3に記載のイベント検出方法。
The step of selecting the detection axis includes:
selecting the first axis when the event occurrence position belongs to a detectable region in which the position of the magnetic field generator can be detected on the first axis;
The event detection according to claim 2 or 3, further comprising selecting the second axis when the event occurrence position does not belong to the detectable area of the first axis but belongs to the detectable area of the second axis. Method.
前記磁場発生部の基準位置を取得する段階と、
前記基準位置および前記イベント発生位置に基づいて、前記検出軸を選択する段階と
を備える請求項1から4のいずれか一項に記載のイベント検出方法。
obtaining a reference position of the magnetic field generator;
The event detection method according to any one of claims 1 to 4, comprising: selecting the detection axis based on the reference position and the event occurrence position.
前記磁気センサにより検出される磁場の二乗和平方根を算出する段階と、
前記二乗和平方根を用いて、前記イベント発生位置に応じたトリガー閾値を算出する段階と
を備える、請求項1から5のいずれか一項に記載のイベント検出方法。
calculating the square root of the sum of squares of the magnetic field detected by the magnetic sensor;
The event detection method according to any one of claims 1 to 5, comprising: calculating a trigger threshold corresponding to the event occurrence position using the square root sum of squares.
予め定められた磁場を発生する磁場発生部と、
前記磁場発生部が発生した磁場を検出するための磁気センサと、
前記磁気センサが検出した信号を処理する処理部と
を備え、
前記処理部は、
前記磁気センサで検出した磁場に基づいて、イベント発生位置を取得する取得部と、
前記イベント発生位置に基づいて、イベント検出用の検出軸を選択する選択部と、
前記検出軸において、前記イベント発生位置に応じたトリガー閾値を算出する算出部と
を有し、
前記磁気センサで検出された磁場と、前記トリガー閾値とが予め定められた条件を満たすことを示すトリガー信号を出力する出力部を有する
イベント検出システム。
a magnetic field generator that generates a predetermined magnetic field;
a magnetic sensor for detecting the magnetic field generated by the magnetic field generator;
a processing unit that processes the signal detected by the magnetic sensor,
The processing unit is
an acquisition unit that acquires an event occurrence position based on the magnetic field detected by the magnetic sensor;
a selection unit that selects a detection axis for event detection based on the event occurrence position;
a calculation unit that calculates a trigger threshold corresponding to the event occurrence position on the detection axis,
An event detection system comprising an output unit for outputting a trigger signal indicating that the magnetic field detected by the magnetic sensor and the trigger threshold satisfy a predetermined condition.
前記選択部は、前記検出軸として、前記磁場発生部が移動する予め定められた第1方向と平行な第1軸または、前記第1軸と直交する第2軸を選択する
請求項7に記載のイベント検出システム。
8. The selection unit according to claim 7, wherein the selection unit selects, as the detection axis, a first axis parallel to a predetermined first direction in which the magnetic field generation unit moves, or a second axis orthogonal to the first axis. event detection system.
前記磁場発生部は、前記第1方向に配列されたN極およびS極を有する
請求項8に記載のイベント検出システム。
The event detection system according to claim 8, wherein the magnetic field generator has an N pole and an S pole arranged in the first direction.
前記第1方向に配置された複数の磁気センサを備える
請求項8または9に記載のイベント検出システム。
10. The event detection system of claim 8 or 9, comprising a plurality of magnetic sensors arranged in the first direction.
前記磁気センサは、2軸以上の磁場を検出可能な多軸磁気センサである
請求項7から10のいずれか一項に記載のイベント検出システム。
The event detection system according to any one of claims 7 to 10, wherein the magnetic sensor is a multi-axis magnetic sensor capable of detecting two or more magnetic fields.
記処理部は、前記磁気センサにより検出される磁場の二乗和平方根を算出し、
前記二乗和平方根を用いて、前記イベント発生位置に応じたトリガー閾値を算出する
請求項7から11のいずれか一項に記載のイベント検出システム。
The processing unit calculates the square root of the sum of squares of the magnetic field detected by the magnetic sensor,
12. The event detection system according to any one of claims 7 to 11, wherein the square root sum of squares is used to calculate a trigger threshold corresponding to the event occurrence position.
コンピュータに請求項1から6のいずれか一項に記載のイベント検出方法を実行させるためのプログラム。 A program for causing a computer to execute the event detection method according to any one of claims 1 to 6.
JP2022001938A 2021-03-31 2022-01-07 Event detection method, event detection system, and program Pending JP2022158893A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US17/694,611 US11933933B2 (en) 2021-03-31 2022-03-14 Event detection method, event detection system, and non-transitory computer-readable recording medium
KR1020220037922A KR20220136198A (en) 2021-03-31 2022-03-28 Event detection method, event detection system and program
CN202210336691.7A CN115143870A (en) 2021-03-31 2022-03-31 Event detection method, event detection system, and program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2021060058 2021-03-31
JP2021060058 2021-03-31

Publications (1)

Publication Number Publication Date
JP2022158893A true JP2022158893A (en) 2022-10-17

Family

ID=83638731

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022001938A Pending JP2022158893A (en) 2021-03-31 2022-01-07 Event detection method, event detection system, and program

Country Status (1)

Country Link
JP (1) JP2022158893A (en)

Similar Documents

Publication Publication Date Title
US20120262372A1 (en) Method and device for gesture recognition diagnostics for device orientation
CN103765362B (en) Information processing equipment, information processing method and program
US11579710B2 (en) Double-tap event detection device, system and method
US10713488B2 (en) Inspection spot output apparatus, control method, and storage medium
US9478070B2 (en) Coordinate information updating device
CN103492986A (en) Input device, input method, and recording medium
EP2980531A1 (en) Positioning device, method for controlling same, and program
US9760181B2 (en) Apparatus and method for recognizing gesture using sensor
US20150293598A1 (en) Method for processing information and electronic device
CN104932787A (en) Control method and electronic equipment
JP2022158893A (en) Event detection method, event detection system, and program
US20150324025A1 (en) User input device and method thereof
CN105653131A (en) Application search method and terminal
US20140078058A1 (en) Graph display control device, graph display control method and storage medium storing graph display control program
US11675441B1 (en) Information processing apparatus and control method
US11933933B2 (en) Event detection method, event detection system, and non-transitory computer-readable recording medium
JP5949010B2 (en) INPUT CONTROL DEVICE, INPUT CONTROL PROGRAM, AND INPUT CONTROL METHOD
US20140035559A1 (en) Transient recovery voltage measuring device, transient recovery voltage measuring method, and transient recovery voltage measuring program
US10558270B2 (en) Method for determining non-contact gesture and device for the same
Li et al. 3d gesture recognition based on handheld smart terminals
CN106056049B (en) Chinese character writing stroke detection method and device
KR101646688B1 (en) Inputting system and method of keyboard for small smart device, and computer-readable recording medium with program therefor
CN105094290A (en) Electronic equipment and control method for same
CN108646931B (en) Terminal control method and terminal
CN113238675A (en) Electromagnetic position input device and input position detection method