JP6279223B2 - Electronic compass and method for adjusting electronic compass - Google Patents

Electronic compass and method for adjusting electronic compass Download PDF

Info

Publication number
JP6279223B2
JP6279223B2 JP2013064756A JP2013064756A JP6279223B2 JP 6279223 B2 JP6279223 B2 JP 6279223B2 JP 2013064756 A JP2013064756 A JP 2013064756A JP 2013064756 A JP2013064756 A JP 2013064756A JP 6279223 B2 JP6279223 B2 JP 6279223B2
Authority
JP
Japan
Prior art keywords
electronic
azimuth meter
measurement
offset adjustment
offset
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
JP2013064756A
Other languages
Japanese (ja)
Other versions
JP2014190757A (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.)
Citizen Watch Co Ltd
Original Assignee
Citizen Watch 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 Citizen Watch Co Ltd filed Critical Citizen Watch Co Ltd
Priority to JP2013064756A priority Critical patent/JP6279223B2/en
Publication of JP2014190757A publication Critical patent/JP2014190757A/en
Application granted granted Critical
Publication of JP6279223B2 publication Critical patent/JP6279223B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electric Clocks (AREA)

Description

本発明は、電子方位計及び電子方位計の調整方法に関する。   The present invention relates to an electronic compass and a method for adjusting the electronic compass.

電子方位計は、地磁気センサにより地磁気方位を計測し、その計測結果を任意の表示器により表示する。このとき、電子方位計は、かかる方位計測結果自体やその他の情報を表示する電気モータ駆動の指針等のアナログ表示を備えている場合がある。例えば、電子方位計がアナログ表示の時計としての機能をも兼ね備える場合には、電気モータにより駆動される時分針を備えることになる。なお、ここでアナログ表示とは、情報を、機械的部材の姿勢、すなわち、その位置や回転角度により表示するものを指し、いわゆる回転式の指針や円板、レトログラード等は本明細書に言うアナログ表示である。   The electronic azimuth meter measures the geomagnetic azimuth using a geomagnetic sensor and displays the measurement result on an arbitrary display. At this time, the electronic azimuth meter may be provided with an analog display such as a pointer for driving an electric motor for displaying the azimuth measurement result itself and other information. For example, when the electronic azimuth meter also has a function as an analog display timepiece, it is provided with an hour / minute hand driven by an electric motor. Here, the analog display means that information is displayed by the posture of the mechanical member, that is, the position and rotation angle thereof, and so-called rotary pointers, disks, retrogrades, etc. are analogs referred to in this specification. It is a display.

一般に、電子方位計等のアナログ表示の駆動にはステップモータが用いられ、ロータは着磁されている。そのため、ロータのポジションが変化すると、ロータが発生する磁界の向きが変化するため、地磁気センサの計測結果は、ロータのポジションに依存して変動する。そのため、電子方位計は、ロータのポジションに応じて発生する磁界をあらかじめ計測しておき、地磁気センサの計測結果からロータに起因する磁界を差し引くことによりロータの影響を排除した計測結果を得るようにしている。このロータのポジションに応じて発生する磁界をあらかじめ計測する作業をオフセット調整と呼んでいる。   In general, a step motor is used to drive an analog display such as an electronic compass and the rotor is magnetized. Therefore, when the rotor position changes, the direction of the magnetic field generated by the rotor changes, and the measurement result of the geomagnetic sensor varies depending on the rotor position. Therefore, the electronic compass measures the magnetic field generated according to the rotor position in advance, and obtains the measurement result that eliminates the influence of the rotor by subtracting the magnetic field caused by the rotor from the measurement result of the geomagnetic sensor. ing. The work of measuring in advance the magnetic field generated according to the rotor position is called offset adjustment.

この点に関し、特許文献1には、ステップモータのロータの向きが特定組み合わせパターンの状態であらかじめ定められた複数の方向から別々に外部磁界を印加したときの磁気センサの各出力値を記憶し、特定組み合わせパターン以外の複数の組み合わせパターンの状態であらかじめ定められた1の方向から外部磁界を印加したときの磁気センサの出力値をそれぞれ記憶する電子式方位計の調整方法が記載されている。   In this regard, Patent Document 1 stores each output value of the magnetic sensor when an external magnetic field is applied separately from a plurality of directions determined in advance in the state of the specific combination pattern of the rotor of the step motor, A method for adjusting an electronic compass that stores output values of a magnetic sensor when an external magnetic field is applied from a predetermined direction in a plurality of combination patterns other than the specific combination pattern is described.

特開2011−47841号公報JP 2011-47841 A

特許文献1に開示された技術では、電子式方位計のステップモータのロータの向きの全ての組み合わせパターンに対し、外部磁界を印加して磁気センサの出力値を測定し記憶しなければならない。このとき、電子式方位計を正確に調整するためには、外部磁界を正確に制御しなければならず、いわゆる地磁気シミュレータ(3軸ヘルムホルツコイル)等の大掛かりで高額な装置が必要である。   In the technique disclosed in Patent Document 1, it is necessary to apply an external magnetic field to all combination patterns of the orientation of the rotor of the step motor of the electronic azimuth meter to measure and store the output value of the magnetic sensor. At this time, in order to accurately adjust the electronic azimuth meter, the external magnetic field must be accurately controlled, and a large-scale and expensive device such as a so-called geomagnetic simulator (3-axis Helmholtz coil) is required.

そして、電子方位計のステップモータのロータの全ての組み合わせパターンについて計測を行うには相当程度の時間が必要となる。この時間は、電子方位計の機能が複雑化し、ステップモータの数が増加するにつれ指数関数的に増大する。例えば、使用されるステップモータが2ポジションのものであり、その数がnであるとすれば、ロータの組み合わせパターンの数は2となる。 A considerable amount of time is required to measure all the combination patterns of the rotor of the step motor of the electronic azimuth meter. This time increases exponentially as the function of the electronic compass is complicated and the number of stepper motors increases. For example, if the number of stepping motors used is 2 and the number is n, the number of rotor combination patterns is 2n .

結果として、電子方位計の調整は地磁気シミュレータを長時間占有することとなり、電子方位計の生産性が低下し、それに付随してコストの増大を招来していた。   As a result, the adjustment of the electronic azimuth meter occupies the geomagnetic simulator for a long time, which decreases the productivity of the electronic azimuth meter and increases the cost.

本発明はかかる事情に鑑みてなされたものであり、その目的は、電子方位計において、地磁気シミュレータを長時間占有することなく簡便に地磁気センサの調整を可能とすることである。   The present invention has been made in view of such circumstances, and an object thereof is to make it possible to easily adjust a geomagnetic sensor in an electronic azimuth meter without occupying a geomagnetic simulator for a long time.

上記課題を解決すべく本出願において開示される発明は種々の側面を有しており、それら側面の代表的なものの概要は以下のとおりである。   The invention disclosed in the present application in order to solve the above problems has various aspects, and the outline of typical aspects of the aspects is as follows.

(1)地磁気センサと、アナログ表示を駆動する1以上のステップモータと、前記地磁気センサと前記ステップモータを制御するコントローラと、前記ステップモータのロータポジション毎に前記地磁気センサのオフセット補正値を記憶するオフセット補正値メモリと、前記地磁気センサのオフセット調整を開始する条件であるオフセット調整開始条件を検出するオフセット調整開始条件検出部と、有する電子方位計であって、前記コントローラは、オフセット調整開始条件検出部によるオフセット調整開始条件の検出により、前記ロータポジション毎に前記地磁気センサによる計測を行い、前記オフセット補正値を求め、前記オフセット補正値メモリに記憶させ、前記オフセット調整開始条件は、前記電子方位計の外部から所定の操作をすることにより前記電子方位計自身が自動的にオフセット調整を開始しうる状態に設定された後、前記電子方位計を遮光性の磁気シールド内に収容することにより前記電子方位計の周辺の光量が閾値以下となる状態が所定の時間継続することを含み、前記オフセット調整開始条件検出部は太陽電池である電子方位計。 (1) A geomagnetic sensor, one or more step motors for driving analog display, a controller for controlling the geomagnetic sensor and the step motor, and an offset correction value for the geomagnetic sensor for each rotor position of the step motor are stored. and an offset correction value memory, the offset adjustment start condition detector for detecting the offset adjustment start condition is a condition for starting the offset adjustment of the geomagnetic sensor, an electronic compass for chromatic, the controller, the offset adjustment start conditions By detecting the offset adjustment start condition by the detection unit, measurement is performed by the geomagnetic sensor for each rotor position, the offset correction value is obtained and stored in the offset correction value memory, and the offset adjustment start condition is the electronic orientation Perform predetermined operations from outside the meter The electronic After azimuth meter itself is automatically set in a state capable of starting the offset adjustment, the light amount of the peripheral of the electronic azimuth meter threshold by accommodating the electronic compass in the shielding of the magnetic shield by An electronic azimuth meter in which the offset adjustment start condition detection unit is a solar cell, including a state in which the following state continues for a predetermined time .

(2)(1)において、さらに前記地磁気センサのゲイン補正値を記憶するゲイン補正値メモリを有し、前記コントローラは、前記電子方位計の周辺の光量が閾値以上となることを検出する計測前明検出を行った後、前記電子方位計の周辺の光量が閾値以下となる計測前暗検出を行い、その後前記地磁気センサによる計測であるゲイン計測を行う電子方位計。 (2) In (1), further comprising a gain correction value memory for storing a gain correction value of the geomagnetic sensor, wherein the controller detects that the amount of light around the electronic compass is equal to or greater than a threshold value. An electronic compass that performs dark detection before measurement in which the amount of light around the electronic compass is less than or equal to a threshold value after performing bright detection, and then performs gain measurement, which is measurement by the geomagnetic sensor.

(3)(2)において、前記コントローラは、前記計測前明検出、前記計測前暗検出及び前記ゲイン計測を所定の回数繰り返し、得られた計測値に基づいて前記ゲイン補正値を求め、前記ゲイン補正値メモリに記憶させる電子方位計。 (3) In (2), the controller repeats the pre-measurement light detection, the pre-measurement dark detection, and the gain measurement a predetermined number of times, obtains the gain correction value based on the obtained measurement value, and determines the gain. Electronic compass that is stored in the correction value memory.

(4)(2)又は(3)において、前記コントローラは、前記電子方位計の周辺の光量が閾値以下となる状態が所定の時間継続することを前記太陽電池により検出する調整前暗検出を行った後、前記計測前明検出を行う電子方位計。 (4) In (2) or (3), the controller performs pre-adjustment dark detection for detecting, by the solar cell, that a state in which the amount of light around the electronic azimuth meter is below a threshold value continues for a predetermined time. And an electronic compass for performing the pre-measurement light detection.

(5)(4)において、前記調整前暗検出における光量の検出周期は、前記計測前明検出又は前記計測前暗検出における光量の検出周期より長い電子方位計。 (5) The electronic azimuth meter according to (4), wherein a light amount detection cycle in the pre-adjustment dark detection is longer than a light amount detection cycle in the pre-measurement light detection or the pre-measurement dark detection.

(6)地磁気センサと、アナログ表示を駆動する1以上のステップモータと、前記地磁気センサと前記ステップモータを制御するコントローラと、前記ステップモータのロータポジション毎に前記地磁気センサのオフセット補正値を記憶するオフセット補正値メモリと、前記地磁気センサのオフセット調整を開始する条件であるオフセット調整開始条件を検出するオフセット調整開始条件検出部と、を有し、前記コントローラは、オフセット調整開始条件検出部によるオフセット調整開始条件の検出により、前記ロータポジション毎に前記地磁気センサによる計測を行い、前記オフセット補正値を求め、前記オフセット補正値メモリに記憶させ、前記オフセット調整開始条件は電子方位計の周辺の光量が閾値以下となることを含み、前記オフセット調整開始条件検出部は太陽電池である、電子方位計のオフセット調整を行う電子方位計の調整方法であって、前記電子方位計の外部から所定の操作をすることにより、前記電子方位計自身が自動的にオフセット調整を開始しうる状態に設定するステップと、前記電子方位計を磁気シールド内に収容することにより、前記電子方位計が前記オフセット調整開始条件を検出するステップと、を有する電子方位計の調整方法。 (6) A geomagnetic sensor, one or more step motors for driving analog display, a controller for controlling the geomagnetic sensor and the step motor, and an offset correction value for the geomagnetic sensor for each rotor position of the step motor are stored. An offset correction value memory; and an offset adjustment start condition detection unit that detects an offset adjustment start condition that is a condition for starting offset adjustment of the geomagnetic sensor, and the controller performs offset adjustment by the offset adjustment start condition detection unit. By detecting the start condition, measurement is performed by the geomagnetic sensor for each rotor position, the offset correction value is obtained and stored in the offset correction value memory, and the offset adjustment start condition is that the amount of light around the electronic compass is a threshold value Including: The adjustment adjustment start condition detecting unit is a solar cell, and is an electronic azimuth adjustment method for performing offset adjustment of the electronic azimuth meter. By performing a predetermined operation from the outside of the electronic azimuth meter, the electronic azimuth meter A step of automatically setting an offset adjustment state by itself, and a step of detecting the offset adjustment start condition by the electronic azimuth meter by accommodating the electronic azimuth meter in a magnetic shield. Adjustment method of electronic compass.

(7)(6)において、前記磁気シールドは、高初透磁率材料製の容器であり、外光を遮断する電子方位計の調整方法。 (7) In (6), the magnetic shield is a container made of a high initial permeability material, and is an adjustment method of an electronic compass that blocks external light.

(8)(2)乃至(5)に記載の電子方位計のゲイン調整を行う電子方位計の調整方法であって、前記電子方位計を地磁気シミュレータ内かつ暗所に配置することにより、前記電子方位計が自律的にゲイン調整を実行していく状態に設定するステップと、前記地磁気シミュレータにより所定の磁場を発生するステップと、前記電子方位計に光を照射した後、光の照射を取りやめるステップと、を有する電子方位計の調整方法。 (8) A method of adjusting an electronic compass that performs gain adjustment of the electronic compass as described in (2) to (5), wherein the electronic compass is disposed in a geomagnetic simulator and in a dark place. A step of setting the compass to perform gain adjustment autonomously; a step of generating a predetermined magnetic field by the geomagnetic simulator; and a step of canceling light irradiation after irradiating the electronic compass with light And a method for adjusting an electronic compass.

(9)(8)において、さらに前記地磁気シミュレータにより発生する磁場を変更するステップと、再度前記電子方位計に光を照射した後、光の照射を取りやめるステップと、を有する電子方位計の調整方法。 (9) The method for adjusting an electronic compass in (8), further comprising: changing a magnetic field generated by the geomagnetic simulator; and irradiating the electronic compass with light again, and then canceling the light irradiation .

上記本発明の(1)の側面によれば、電子方位計を遮光性の磁気シールド内に収容するだけで地磁気シミュレータを使用することなくオフセット調整ができ、電子方位計が磁気シールド内にあることを検知するための追加の部材は不要である。 According to the above aspect (1) of the present invention, it is possible to adjust the offset without using a geomagnetic simulator simply by accommodating the electronic azimuth meter in the light shielding magnetic shield, and the electronic azimuth meter is in the magnetic shield. An additional member for detecting is unnecessary.

また、上記本発明の()又は()の側面によれば、地磁気シミュレータによる磁場の発生及びその変更があったことを光の照射により電子方位計に伝達することができるので、測定誤差の発生が低減され、また、電子方位計が磁場の発生及びその変更があったことを検知するための追加の部材は不要である。 Further, according to the above aspect ( 2 ) or ( 3 ) of the present invention, since the generation of a magnetic field by the geomagnetic simulator and the change thereof can be transmitted to the electronic azimuth meter by light irradiation, measurement errors And no additional member is needed for the electronic compass to detect that a magnetic field has been generated and changed.

また、上記本発明の()の側面によれば、地磁気シミュレータによる磁場の発生及びその変更の前にゲイン調整動作が開始してしまう事態の発生を防止できる。 In addition, according to the above aspect ( 4 ) of the present invention, it is possible to prevent the occurrence of a situation in which the gain adjustment operation starts before the generation and change of the magnetic field by the geomagnetic simulator.

また、上記本発明の()の側面によれば、ゲイン調整動作前の暗検出における電力消費を抑える一方で、ゲイン調整動作中は高速な応答をさせることができる。 Further, according to the above aspect ( 5 ) of the present invention, it is possible to suppress the power consumption in the dark detection before the gain adjustment operation, while allowing a high-speed response during the gain adjustment operation.

また、上記本発明の()又は()の側面によれば、電子方位計のオフセット調整を簡便かつ地磁気シミュレータを占有することなく行える。 Further, according to the above aspect ( 6 ) or ( 7 ) of the present invention, the offset adjustment of the electronic azimuth meter can be easily performed without occupying the geomagnetic simulator.

また、上記本発明の()または()の側面によれば、電子方位計のオフセット
調整を簡便に行え、かつ地磁気シミュレータの占有時間は短時間となる。
Further, according to the aspect ( 8 ) or ( 9 ) of the present invention, the offset adjustment of the electronic azimuth meter can be easily performed, and the occupation time of the geomagnetic simulator is short.

本発明の実施形態に係る電子方位計の正面図である。It is a front view of the electronic compass according to an embodiment of the present invention. 本発明の実施形態に係る電子方位計のシステムブロック図である。It is a system block diagram of the electronic azimuth meter concerning the embodiment of the present invention. 電子方位計のオフセット調整を行っている様子を示す図である。It is a figure which shows a mode that the offset adjustment of an electronic compass is performed. オフセット調整の際の電子方位計の動作を説明するタイムチャートである。It is a time chart explaining operation | movement of the electronic azimuth | direction meter in the case of offset adjustment. オフセット調整を行う際にコントローラが実行する処理のフローチャートである。It is a flowchart of the process which a controller performs when performing offset adjustment. 電子方位計のゲイン調整を行っている様子を示す図である。It is a figure which shows a mode that the gain adjustment of an electronic compass is performed. ゲイン調整の際の電子方位計の動作を説明するタイムチャートである。It is a time chart explaining operation | movement of the electronic azimuth | direction meter in the case of gain adjustment. ゲイン調整を行う際にコントローラが実行する処理のフローチャートである。It is a flowchart of the process which a controller performs when performing gain adjustment.

以下、本発明の実施形態について図面に基づき詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

図1は、本発明の実施形態に係る電子方位計1の正面図である。同図に示されるように、電子方位計1は腕時計であり、電子方位計としての機能は、腕時計の付加機能として実装されている。しかしながら、時計としての機能を省略して電子方位計単体とすることは差し支えない。   FIG. 1 is a front view of an electronic azimuth meter 1 according to an embodiment of the present invention. As shown in the figure, the electronic azimuth meter 1 is a wristwatch, and the function as the electronic azimuth meter is implemented as an additional function of the wristwatch. However, the function as a clock may be omitted and the electronic compass can be used alone.

電子方位計1はケース2内に電子方位計としての機能、時計としての機能を発揮するための各種機構を収容した構造となっている。ケース2の正面には、風防(透明のため、図示していない)に覆われた文字板3と時、分、秒を示すアナログ表示である指針4、日付表示5等の時計としての機能に関する部材と、アナログ表示である方位針6、及び方位表示7(4箇所)が設けられている。文字板3の下には太陽電池が配置されており、透明または半透明の文字板3を透過した光線により発電がなされるようになっている。   The electronic azimuth meter 1 has a structure in which various mechanisms for exhibiting a function as an electronic azimuth meter and a function as a timepiece are accommodated in a case 2. On the front of the case 2, there is a dial 3 covered with a windshield (not shown because it is transparent), and functions as a clock such as a pointer 4 that is an analog display indicating hours, minutes, and seconds, a date display 5, and the like. A member, an azimuth needle 6 that is an analog display, and an azimuth display 7 (four locations) are provided. A solar cell is disposed under the dial 3, and power generation is performed by light rays that have passed through the transparent or translucent dial 3.

電子方位計1は地磁気の向きを測定し、測定結果に基づいて方位針6を特定の方位、この場合は北を指すように回転駆動するものである。すなわち、方位針6が方位表示7のNの位置を指すように電子方位計1全体を回転させると、方位表示7はそれぞれ正しい方角を指し示すこととなる。   The electronic azimuth meter 1 measures the direction of geomagnetism, and rotates the azimuth needle 6 so as to point to a specific direction, in this case north, based on the measurement result. That is, when the entire electronic compass 1 is rotated so that the azimuth hand 6 points to the position N of the azimuth display 7, the azimuth display 7 points to the correct direction.

ケース2には、その12時位置と6時位置に設けられたバンド固定部2aにバンド8が取り付けられる。また、ケース2の3時位置には、竜頭9及び押ボタン10が設けられている。   In the case 2, a band 8 is attached to a band fixing portion 2 a provided at the 12 o'clock position and the 6 o'clock position. Further, a crown 9 and a push button 10 are provided at the 3 o'clock position of the case 2.

なお、図1に示したケース2のデザインや、時計としての機能に関する部材のデザインや配置、形式等は一例であり、これをどのようにするかは任意である。また、電子方位計1は電子方位計及び時計としての機能以外のさらなる機能を備えていてもよい。そのような機能は、例えば、気圧計(又は高度計)、水圧計(又は水深計)、寒暖計、照度計、線量計等としての機能が挙げられる。これらの機能の複数を同時に備えてもよい。   Note that the design of the case 2 shown in FIG. 1 and the design, arrangement, type, and the like of the members related to the function as a watch are merely examples, and how to do this is arbitrary. Further, the electronic azimuth meter 1 may be provided with further functions other than functions as an electronic azimuth meter and a clock. Such functions include, for example, functions as a barometer (or altimeter), a water pressure meter (or a water depth meter), a thermometer, an illuminometer, a dosimeter, and the like. A plurality of these functions may be provided simultaneously.

図2は、本発明の実施形態に係る電子方位計1のシステムブロック図である。電子方位計1は、地磁気センサ11による計測結果がコントローラ12に入力され、コントローラ12により方位針用ステップモータ13が駆動されることにより、方位針6を回転駆動するようになっている。また、コントローラ12は時計回路12aを有しており、現在時刻や日付を計時している。時計用ステップモータ14は時計回路12aの計時結果に基づいて駆動され、それにより指針4及び日付表示5が回転駆動される。また、コントローラ12には竜頭9や押ボタン10からの操作情報が入力される。地磁気センサ11、コントローラ12、方位針用ステップモータ13及び時計用ステップモータ14には二次電池15から必要に応じて電力が供給される。さらに、太陽電池16により発電された電力は二次電池15を充電するよう供給され、同時に、太陽電池16による発電量(本実施形態では、発生電圧)はコントローラ12によりモニタされる。さらに、電子方位計1は、不揮発性メモリ17を備えており、コントローラ12は適宜不揮発性メモリ17にアクセスし、情報を記憶し、また読み出すことができる。   FIG. 2 is a system block diagram of the electronic compass 1 according to the embodiment of the present invention. The electronic azimuth meter 1 is configured to rotationally drive the azimuth needle 6 when the measurement result of the geomagnetic sensor 11 is input to the controller 12 and the controller 12 drives the directional needle stepping motor 13. Further, the controller 12 has a clock circuit 12a, and measures the current time and date. The timepiece step motor 14 is driven based on the time measurement result of the timepiece circuit 12a, whereby the hands 4 and the date display 5 are rotated. In addition, operation information from the crown 9 or the push button 10 is input to the controller 12. Electric power is supplied from the secondary battery 15 to the geomagnetic sensor 11, the controller 12, the direction hand stepping motor 13 and the timepiece stepping motor 14 as necessary. Furthermore, the electric power generated by the solar cell 16 is supplied so as to charge the secondary battery 15, and at the same time, the power generation amount (generated voltage in the present embodiment) by the solar cell 16 is monitored by the controller 12. Furthermore, the electronic azimuth meter 1 includes a nonvolatile memory 17, and the controller 12 can access the nonvolatile memory 17 as appropriate to store and read information.

なお、ここで示すコントローラ12は、必ずしも単体の部材であることを要せず、適宜のIC(Integrated Circuits)や発振回路等の各種回路、増幅器等の各種電子部品を集積したものであってよい。また、不揮発性メモリ17は、コントローラ12と物理的に独立していても、統合されていてもよい。さらに、方位針用ステップモータ13及び時計用ステップモータ14は必ずしもそれぞれ単体のモータであることを要せず、必要に応じて複数のモータを設けてよい。図2では時計用ステップモータ14を単体であるかのごとく図示しているが、本実施形態では、指針4のうち、時分針を駆動するモータ、秒針を駆動するモータ、及び日付表示5を駆動するモータの3つの時計用ステップモータ14を備えているため、ステップモータの数は総計で4である。   The controller 12 shown here does not necessarily need to be a single member, and may be an integrated circuit of various circuits such as an appropriate IC (Integrated Circuits) and an oscillation circuit, and various electronic components such as an amplifier. . Further, the nonvolatile memory 17 may be physically independent of the controller 12 or may be integrated. Further, the azimuth hand stepping motor 13 and the timepiece stepping motor 14 do not necessarily have to be a single motor, and a plurality of motors may be provided as necessary. In FIG. 2, the timepiece stepping motor 14 is illustrated as if it is a single unit, but in the present embodiment, among the hands 4, the motor for driving the hour / minute hand, the motor for driving the second hand, and the date display 5 are driven. The number of stepping motors is four in total because the three timepiece stepping motors 14 are provided.

以上説明した電子方位計1は、方位測定に先立って、調整を行わなければならない。この調整には主に2種類のものがあり、1つ目は、前述したように、ロータのポジションに依存して変動する磁界の影響を排除するため、あらかじめ各ロータポジションに対応する磁界を測定し、測定結果に基づいて、地磁気センサ11の測定結果に加算(又は減算)する補正値(以下、この補正値をオフセット補正値と呼ぶ。)を求めて不揮発性メモリ17に記憶させるというもので、これをオフセット調整と称する。ロータのポジションに依存して変動する磁界の影響は、地磁気センサ11の測定結果に対し、原点位置のずれ(オフセット)として現れる。オフセット補正値は、この原点位置のずれをキャンセルするための補正値であり、ロータポジション毎に求められる。なお、本明細書では、ロータポジションという語を、1以上のステップモータのロータの向きの組み合わせを意味するものとして用いている。本実施形態では、ロータの数は4であるから、2=16通りのロータポジションが存在することになる。電子方位計1は、方位測定の際に、ロータポジションに応じたオフセット補正値を不揮発性メモリ17から読み出し、測定値の原点位置を補正する。オフセット補正値は不揮発性メモリ17の所定のアドレスに格納されるが、当該アドレスにより示される領域を以降、オフセット補正値メモリと称する。 The electronic azimuth meter 1 described above must be adjusted prior to azimuth measurement. There are mainly two types of adjustments. The first is to measure the magnetic field corresponding to each rotor position in advance to eliminate the influence of the magnetic field that varies depending on the rotor position, as described above. Then, based on the measurement result, a correction value to be added (or subtracted) to the measurement result of the geomagnetic sensor 11 (hereinafter, this correction value is referred to as an offset correction value) is obtained and stored in the nonvolatile memory 17. This is called offset adjustment. The influence of the magnetic field that varies depending on the position of the rotor appears as a deviation (offset) of the origin position with respect to the measurement result of the geomagnetic sensor 11. The offset correction value is a correction value for canceling the deviation of the origin position, and is obtained for each rotor position. In the present specification, the term “rotor position” is used to mean a combination of rotor orientations of one or more step motors. In the present embodiment, since the number of rotors is 4, there are 2 4 = 16 rotor positions. At the time of azimuth measurement, the electronic azimuth meter 1 reads an offset correction value corresponding to the rotor position from the nonvolatile memory 17 and corrects the origin position of the measurement value. The offset correction value is stored at a predetermined address in the non-volatile memory 17, and an area indicated by the address is hereinafter referred to as an offset correction value memory.

2つ目の調整は、地磁気センサ11のゲイン調整である。地磁気センサ11は、平行でない2方向(通常は直交する2方向)についてそれぞれ磁界強度を測定し、合成することにより地磁気センサ11に作用する磁界の向きを検出するが、このとき測定する2方向についての感度が異なっていると、合成後に正しい磁界の向きが得られない。そこで、あらかじめ強さ及び向きが分かっている磁界内に電子方位計1を置き、その測定結果から、測定する2方向についての感度が等しくなるようなゲインに対する補正値(以下、この補正値をゲイン補正値と呼ぶ。)を求めて不揮発性メモリ17に記憶させる。電子方位計1は、方位測定の際に、ゲイン補正値を不揮発性メモリ17から読み出し、地磁気センサ11の測定方向毎の測定値にゲイン補正値を乗じた後合成する。なお、ゲイン補正値がゲインそのものである場合には、ゲイン補正値をゲインとして用いる。ゲイン補正値は不揮発性メモリ17の所定のアドレスに格納されるが、当該アドレスにより示される領域を以降、ゲイン補正値メモリと称する。   The second adjustment is a gain adjustment of the geomagnetic sensor 11. The geomagnetic sensor 11 measures the magnetic field strength in two directions that are not parallel (usually two directions that are orthogonal to each other), and detects the direction of the magnetic field that acts on the geomagnetic sensor 11 by combining the two directions. If the sensitivity is different, correct magnetic field direction cannot be obtained after synthesis. Therefore, the electronic azimuth meter 1 is placed in a magnetic field whose strength and direction are known in advance, and based on the measurement result, a correction value for gain that makes the sensitivity in the two directions to be measured equal (hereinafter, this correction value is referred to as gain). Is called a correction value) and stored in the nonvolatile memory 17. At the time of azimuth measurement, the electronic azimuth meter 1 reads the gain correction value from the nonvolatile memory 17, multiplies the measurement value for each measurement direction of the geomagnetic sensor 11 by the gain correction value, and synthesizes it. If the gain correction value is the gain itself, the gain correction value is used as the gain. The gain correction value is stored at a predetermined address in the nonvolatile memory 17, and the area indicated by the address is hereinafter referred to as a gain correction value memory.

まず、電子方位計1のオフセット調整方法を説明する。図3は、電子方位計1のオフセット調整を行っている様子を示す図である。   First, an offset adjustment method of the electronic azimuth meter 1 will be described. FIG. 3 is a diagram illustrating a state in which the offset adjustment of the electronic azimuth meter 1 is performed.

オフセット調整をする際に、まず、電子方位計1を、電子方位計1自身が自動的にオフセット調整を開始し得る状態に設定する。この状態を、オフセット調整モードと呼ぶこととすると、電子方位計1をオフセット調整モードに移行する方法は種々のものがあり、任意に設定してよい。例えば、作業者が電子方位計1に特殊な操作を行ったり(例えば、押ボタン10を2つ同時に長押ししたり、所定のパターンで押す等)、電子方位計1の外部から無線通信によりコントローラ12にオフセット調整モードに移行するよう指示したりしてよい(このときの通信は、例えば任意のステップモータのコイルを通信コイルとして用いるコイル通信であってよい)。あるいは、オフセット補正値メモリにオフセット補正値が格納されていない状態であることにより、電子方位計1が自動的にオフセット調整モードとなるようにしてもよい。また、電子方位計1は、自身がオフセット調整モードであることを表示してもよい。例えば、方位針6が12時位置を指す等してよい。   When performing the offset adjustment, first, the electronic azimuth meter 1 is set to a state in which the electronic azimuth meter 1 itself can automatically start the offset adjustment. If this state is called an offset adjustment mode, there are various methods for shifting the electronic azimuth meter 1 to the offset adjustment mode, and they may be set arbitrarily. For example, the operator performs a special operation on the electronic azimuth meter 1 (for example, presses two push buttons 10 at the same time, or presses them in a predetermined pattern), or the controller by wireless communication from the outside of the electronic azimuth meter 1 12 may be instructed to shift to the offset adjustment mode (communication at this time may be, for example, coil communication using a coil of an arbitrary step motor as a communication coil). Alternatively, when the offset correction value is not stored in the offset correction value memory, the electronic azimuth meter 1 may automatically enter the offset adjustment mode. Moreover, the electronic azimuth meter 1 may display that it is in the offset adjustment mode. For example, the azimuth hand 6 may point to the 12 o'clock position.

つづいて、作業者は、電子方位計1を磁気シールド18内に収容する。磁気シールド18は、一例として図3に示すような形状の容器であり、初透磁率が大きい材料で形成されるとともに、外光を遮断する機能を有している。磁気シールド18の材質は、初比透磁率が1000以上、より好ましくは10000以上の材質が良く、本実施形態ではパーマロイである。なお、図3では、磁気シールド18の一部を切欠いて内部に収容された電子方位計1の様子が見えるようにしている。同図ではバンド8は電子方位計1から外されているが、付けた状態であってもよい。   Subsequently, the worker houses the electronic compass 1 in the magnetic shield 18. The magnetic shield 18 is a container having a shape as shown in FIG. 3 as an example, and is formed of a material having a high initial permeability and has a function of blocking external light. The material of the magnetic shield 18 is preferably a material having an initial relative permeability of 1000 or more, more preferably 10,000 or more, and is a permalloy in this embodiment. In FIG. 3, a part of the magnetic shield 18 is cut away so that the state of the electronic azimuth meter 1 accommodated therein can be seen. Although the band 8 is removed from the electronic azimuth meter 1 in the figure, it may be attached.

磁気シールド18内部には、外部磁界が入らないため、磁気シールド18内部に収容された電子方位計1は、外部磁界が0の状態に置かれることになる。同時に、磁気シールド18内の電子方位計1には外部からのアクセスは原則的にできないので、電子方位計1は、自身がこの状態に置かれたことをなんらかの手段により自ら検知して、オフセット調整を開始しなければならない。すなわち、電子方位計1が磁気シールド18内部に収容され、オフセット調整を開始すべきであることを示す条件をオフセット調整開始条件と呼ぶならば、電子方位計1は、かかるオフセット調整開始条件を検出するオフセット調整開始条件検出部を備えていることとなる。   Since an external magnetic field does not enter the magnetic shield 18, the electronic azimuth meter 1 accommodated in the magnetic shield 18 is placed in a state where the external magnetic field is zero. At the same time, since the electronic compass 1 in the magnetic shield 18 cannot be accessed from the outside in principle, the electronic compass 1 detects that it has been placed in this state by some means and adjusts the offset. Must start. That is, if the condition indicating that the electronic azimuth meter 1 is accommodated in the magnetic shield 18 and offset adjustment should be started is called an offset adjustment start condition, the electronic azimuth meter 1 detects the offset adjustment start condition. An offset adjustment start condition detecting unit is provided.

本実施形態では、オフセット調整開始条件は、電子方位計1が所定の時間以上暗闇に置かれることである。すなわち、電子方位計1を磁気シールド18内に収容すると、磁気シールド18により外光が遮断されるため、電子方位計1は暗闇におかれることとなるからである。また、所定の時間以上の継続を条件とするのは、一時的に電子方位計1が影に入る等、取り扱いの途中で誤ってオフセット調整が開始されることがないようにするためである。また、オフセット調整開始条件検出部は、太陽電池16が相当する。すなわち、太陽電池16の発電電圧により電子方位計1の周辺の光量を知ることができるため、コントローラ12は、太陽電池16により検出された周辺の光量が所定の閾値以下である場合に、電子方位計1が暗闇に置かれていると判断する。   In the present embodiment, the offset adjustment start condition is that the electronic azimuth meter 1 is placed in the dark for a predetermined time or more. That is, when the electronic azimuth meter 1 is accommodated in the magnetic shield 18, since the external light is blocked by the magnetic shield 18, the electronic azimuth meter 1 is placed in the dark. Moreover, the continuation for a predetermined time or longer is a condition in order to prevent the offset adjustment from being erroneously started in the middle of handling, for example, the electronic azimuth meter 1 is temporarily in the shadow. The offset adjustment start condition detection unit corresponds to the solar cell 16. That is, since the amount of light around the electronic azimuth meter 1 can be known from the power generation voltage of the solar cell 16, the controller 12 determines the electronic direction when the amount of light detected by the solar cell 16 is equal to or less than a predetermined threshold. Judge that Total 1 is in the dark.

電子方位計1は、磁気シールド18内に収容されてから所定の時間、例えば、3秒経過した時点で自動的にオフセット調整を開始する。このオフセット調整は、ステップモータを制御してあるロータポジションを選択し、その時点での地磁気センサ11の計測値を測定し、計測値の正負を反転させてオフセット補正値としてオフセット補正値メモリに記憶させる、という動作を全てのロータポジションについて繰り返すというものである。   The electronic azimuth meter 1 automatically starts offset adjustment when a predetermined time, for example, 3 seconds elapses after being accommodated in the magnetic shield 18. In this offset adjustment, the rotor position that controls the step motor is selected, the measurement value of the geomagnetic sensor 11 at that time is measured, and the positive / negative of the measurement value is inverted and stored in the offset correction value memory as the offset correction value. Is repeated for all rotor positions.

電子方位計1のオフセット調整に必要な時間が経過した後、作業者は電子方位計1を磁気シールド18から取り出す。オフセット調整はこれで終了である。なお、電子方位計1は、オフセット調整が終了したことを、例えば、方位針6が1時位置を指すことや、電子方位計1がアラーム音を発する等により表示してもよい。   After the time required for offset adjustment of the electronic azimuth meter 1 has elapsed, the operator takes out the electronic azimuth meter 1 from the magnetic shield 18. This completes the offset adjustment. Note that the electronic azimuth meter 1 may indicate that the offset adjustment has been completed, for example, by indicating that the azimuth hand 6 points to the 1 o'clock position or that the electronic azimuth meter 1 emits an alarm sound.

図4は、オフセット調整の際の電子方位計1の動作を説明するタイムチャートである。同図は、外光の明暗、押ボタン操作のON/OFF、オフセット調整モードのON/OFF、電子方位計1の動作及び方位針6の位置を横軸を時間にとり示したものである。   FIG. 4 is a time chart for explaining the operation of the electronic compass 1 at the time of offset adjustment. This figure shows the brightness of the outside light, ON / OFF of the push button operation, ON / OFF of the offset adjustment mode, the operation of the electronic compass 1 and the position of the azimuth needle 6 on the horizontal axis.

まず、図中符号100で示すように所定の押ボタン操作がなされたことを契機として、電子方位計1は符号101で示すようにオフセット調整モードとなる。同時に、符号102で示すように、電子方位計1のコントローラ12は、暗検出を行う。これは、前述の通り、電子方位計1の周辺の光量が所定の閾値以下であることを検出するものである。この暗検出では、太陽電池16による光量検出は、例えば0.5秒毎に行われる。さらに、符号103に示すように、方位針6を12時位置に移動させ、オフセット調整モードであることを表示する。なお、符号103で示した時点より前の方位針6の位置は特に定まっていないため図示してない。   First, when a predetermined push button operation is performed as indicated by reference numeral 100 in the drawing, the electronic azimuth meter 1 enters an offset adjustment mode as indicated by reference numeral 101. At the same time, as indicated by reference numeral 102, the controller 12 of the electronic azimuth meter 1 performs dark detection. As described above, this is to detect that the amount of light around the electronic azimuth meter 1 is not more than a predetermined threshold value. In this dark detection, the light quantity detection by the solar cell 16 is performed, for example, every 0.5 seconds. Further, as indicated by reference numeral 103, the azimuth hand 6 is moved to the 12 o'clock position to indicate that it is in the offset adjustment mode. Note that the position of the azimuth needle 6 before the time indicated by the reference numeral 103 is not particularly shown because it is not fixed.

その後、符号104に示した時点で電子方位計1が磁気シールド18内に収容され、外光が遮断されたものとする。コントローラ12は、符号105に示すように、電子方位計1の周辺の光量が所定の閾値以下となった状態が3秒継続するのを待ち、符号106に示すようにオフセット調整を開始する。このオフセット調整に要する時間は、ステップモータの数に大きく依存するが、数十秒から数分程度である。   Thereafter, it is assumed that the electronic azimuth meter 1 is accommodated in the magnetic shield 18 at the time indicated by the reference numeral 104 and external light is blocked. The controller 12 waits for 3 seconds when the amount of light around the electronic azimuth meter 1 becomes a predetermined threshold value or less as indicated by reference numeral 105, and starts offset adjustment as indicated by reference numeral 106. The time required for the offset adjustment depends largely on the number of step motors, but is about several tens of seconds to several minutes.

コントローラ12は、オフセット調整の終了後、符号107に示すように再び暗検出を一度おこなう。この動作は必ずしも必要ではないが、オフセット調整の終了後に、電子方位計1が暗状態に置かれていることを検出することにより、オフセット調整の途中で電子方位計1が磁気シールド18から取り出される等、電子方位計1が磁気シールド18内に正しく収容されていないことを検出できる。依然として電子方位計1が暗状態にある場合には、オフセット調整が正常に終了したものとして、コントローラ12はオフセット調整モードを終了し、方位針6を1時の位置に回転させる。電子方位計1が明状態にある場合には、オフセット調整に失敗したものとして、方位針6をエラーを示す位置、例えば、6時の位置に回転させるとよい。   After the offset adjustment is completed, the controller 12 once again performs dark detection as indicated by reference numeral 107. Although this operation is not necessarily required, the electronic azimuth meter 1 is taken out from the magnetic shield 18 during the offset adjustment by detecting that the electronic azimuth meter 1 is in a dark state after the offset adjustment is completed. It can be detected that the electronic azimuth meter 1 is not properly accommodated in the magnetic shield 18. If the electronic azimuth meter 1 is still in the dark state, the controller 12 ends the offset adjustment mode, assuming that the offset adjustment has been completed normally, and rotates the azimuth hand 6 to the 1 o'clock position. When the electronic azimuth meter 1 is in a bright state, the azimuth hand 6 may be rotated to a position indicating an error, for example, a 6 o'clock position, assuming that the offset adjustment has failed.

図5はオフセット調整を行う際にコントローラ12が実行する処理のフローチャートである。   FIG. 5 is a flowchart of processing executed by the controller 12 when performing offset adjustment.

コントローラ12は、まず、ステップS01で押ボタン10に所定の操作がなされたか否かを判定する。操作がなされていなければ操作がなされるまで待ち、操作がされていればステップS02へと進む。ステップS02では電子方位計1をオフセット調整モードとし、続くステップS03で方位針6を12時位置に移動させる。そして続くステップS04で電子方位計1が暗状態に3秒以上置かれた状態となるのを待つ。   First, the controller 12 determines whether or not a predetermined operation has been performed on the push button 10 in step S01. If no operation is performed, the process waits until the operation is performed. If the operation is performed, the process proceeds to step S02. In step S02, the electronic azimuth meter 1 is set to the offset adjustment mode, and in the subsequent step S03, the azimuth hand 6 is moved to the 12 o'clock position. In subsequent step S04, the electronic azimuth meter 1 waits for a state where it is placed in a dark state for 3 seconds or more.

電子方位計1が暗状態に3秒以上置かれていたならば、ステップS05でロータポジションを選択する。ここでのロータポジションの選択は、後述するように繰り返し行われ、これまで選択されていないロータポジションが選択される。したがって、ロータポジションの組み合わせの数と等しい回数だけ選択が行われたなら、全てのロータポジションが一度づつ選択させることになる。各ステップモータのロータは、選択されたロータポジションとなるよう制御され、必要であれば回転される。   If the electronic compass 1 has been placed in the dark state for 3 seconds or more, the rotor position is selected in step S05. The selection of the rotor position here is repeated as will be described later, and a rotor position that has not been selected so far is selected. Therefore, if selection is performed a number of times equal to the number of combinations of rotor positions, all rotor positions are selected once. The rotor of each step motor is controlled to be at the selected rotor position and rotated if necessary.

続くステップS06で地磁気センサ11による地磁気測定を行う。このとき、電子方位計1は磁気シールド18内に収容されているため、地磁気センサ11により測定される磁界は、各ステップモータのロータにより生じるものと、地磁気センサ11自身の0点誤差になる。測定値は、正負を反転した後、ステップS07にてオフセット補正値メモリに記憶する。   In the subsequent step S06, geomagnetism measurement by the geomagnetic sensor 11 is performed. At this time, since the electronic azimuth meter 1 is housed in the magnetic shield 18, the magnetic field measured by the geomagnetic sensor 11 becomes a zero point error of the geomagnetic sensor 11 itself and that generated by the rotor of each step motor. The measured value is stored in the offset correction value memory in step S07 after inverting the sign.

ステップS08では、ステップS05によるロータポジションの選択が、全てのロータポジションについて行われたか否かを判定する。全てのロータポジションが選択されていなければ、ステップS05へと戻り、ロータポジションを変更し、地磁気測定を繰り返す。全てのロータポジションが選択されていたならば、ステップS09へと進む。   In step S08, it is determined whether or not the rotor position selection in step S05 has been performed for all rotor positions. If all the rotor positions have not been selected, the process returns to step S05 to change the rotor position and repeat the geomagnetic measurement. If all the rotor positions have been selected, the process proceeds to step S09.

ステップS09では、電子方位計1が暗状態に置かれた状態であるか否かを再度判定する。これは、図4の符号107で示した動作に相当する処理である。暗状態であれば、ステップS10へと進み、方位針6を1時位置に移動させ、オフセット調整が終了したことを表示する。なお、このとき、不揮発性メモリ17の任意のアドレスに、オフセット調整が完了していることを示すフラグを記憶させておいてもよい。暗状態でなければ、電子方位計1が、オフセット調整の途中で磁気シールド18から取り出されたか、または磁気シールド18内に収容されることなくオフセット調整を開始した可能性があるため、ステップS11にて方位針6を6時位置に移動し、オフセット調整に失敗したことを表示する。なお、このとき、オフセット補正値メモリに記憶されたオフセット補正値を消去したり、不揮発性メモリ17の任意のアドレスに、オフセット調整が完了していないことを示すフラグを記憶させるなどして、コントローラ12がオフセット調整が終了していないことを検出できるようにしておいてもよい。   In step S09, it is determined again whether or not the electronic azimuth meter 1 is in a dark state. This is a process corresponding to the operation indicated by reference numeral 107 in FIG. If it is a dark state, it will progress to step S10, will move the direction hand 6 to a 1 o'clock position, and will display that offset adjustment was complete | finished. At this time, a flag indicating that the offset adjustment is completed may be stored at an arbitrary address in the nonvolatile memory 17. If it is not in the dark state, the electronic azimuth meter 1 may have been taken out of the magnetic shield 18 in the middle of the offset adjustment or may have started offset adjustment without being accommodated in the magnetic shield 18, so that the process proceeds to step S11. The azimuth hand 6 is moved to the 6 o'clock position to indicate that the offset adjustment has failed. At this time, the controller corrects the offset correction value stored in the offset correction value memory or stores a flag indicating that the offset adjustment is not completed at an arbitrary address in the nonvolatile memory 17. 12 may detect that the offset adjustment is not completed.

いずれの場合もステップS12へと進み、オフセット調整モードを解除する。なお、ここでオフセット調整モードであるか否かは、不揮発性メモリ17の任意のアドレスに、オフセット調整モードであることを示すフラグを記憶させることにより明示的に記録してもよいし、コントローラ12が、図5に示すステップS02からステップS12までの処理を実行中であることをもってオフセット調整モードである、としてもよい。   In either case, the process proceeds to step S12 to cancel the offset adjustment mode. Here, whether or not the offset adjustment mode is set may be explicitly recorded by storing a flag indicating the offset adjustment mode at an arbitrary address in the nonvolatile memory 17 or the controller 12. However, the offset adjustment mode may be set when the processing from step S02 to step S12 shown in FIG. 5 is being executed.

なお、上述の実施形態では、オフセット調整開始条件検出部は太陽電池16であり、電子方位計1が一定の時間以上暗状態に置かれることをオフセット調整開始条件としていたが、必ずしもこれに限定はされるものでなく、合理的に電子方位計1が磁気シールド18内に収容されたことを検出できる限り、これらを他のものとしてもよい。例えば、オフセット調整開始条件を、押ボタン10に所定の操作があった後、一定の時間が経過することとしてもよい。この時間を、例えば10秒とすると、作業者は、押ボタン10に所定の操作をしてから10秒以内に電子方位計1を磁気シールド18内に収容すればよいことになる。押ボタン10の操作後の時間の経過はコントローラ12内に設けられたタイマにより監視され、10秒が経過した時点でコントローラ12はオフセット調整を開始することとなる。この場合、タイマがオフセット調整開始条件検出部に該当することになる。   In the above-described embodiment, the offset adjustment start condition detection unit is the solar cell 16, and the offset adjustment start condition is that the electronic azimuth meter 1 is placed in a dark state for a certain period of time, but this is not necessarily limited to this. However, as long as it can be reasonably detected that the electronic compass 1 is housed in the magnetic shield 18, these may be other. For example, the offset adjustment start condition may be that a certain time elapses after a predetermined operation is performed on the push button 10. If this time is, for example, 10 seconds, the operator may house the electronic azimuth meter 1 in the magnetic shield 18 within 10 seconds after performing a predetermined operation on the push button 10. The passage of time after the operation of the push button 10 is monitored by a timer provided in the controller 12, and the controller 12 starts offset adjustment when 10 seconds have elapsed. In this case, the timer corresponds to the offset adjustment start condition detection unit.

続いて、電子方位計1のゲイン調整方法を説明する。図6は、電子方位計1のゲイン調整を行っている様子を示す図である。   Then, the gain adjustment method of the electronic azimuth meter 1 is demonstrated. FIG. 6 is a diagram illustrating a state in which the gain adjustment of the electronic azimuth meter 1 is performed.

ゲイン調整をする際に、まず、電子方位計1を、ゲイン調整を開始し得る状態に設定する。この状態を、ゲイン調整モードと呼ぶこととすると、電子方位計1は、ゲイン調整モードでは、自律的に周囲の状況から自身の置かれている状態を判断し、ゲイン調整を実行していく。電子方位計1をゲイン調整モードに移行する方法は種々のものがあり、先に説明したオフセット調整モードと同様に任意に設定してよい。ここでは、作業者が電子方位計1の押ボタン10に特殊な操作を行うことでゲイン調整モードに移行するものとする。また、電子方位計1は、自身がゲイン調整モードであることを表示してもよい。例えば、この場合は方位針6が2時位置を指す等である。   When performing gain adjustment, first, the electronic azimuth meter 1 is set to a state in which gain adjustment can be started. If this state is referred to as a gain adjustment mode, the electronic azimuth meter 1 autonomously determines the state in which the electronic azimuth meter 1 is placed from the surrounding situation and performs gain adjustment in the gain adjustment mode. There are various methods for shifting the electronic azimuth meter 1 to the gain adjustment mode, and it may be arbitrarily set in the same manner as the offset adjustment mode described above. Here, it is assumed that the operator shifts to the gain adjustment mode by performing a special operation on the push button 10 of the electronic compass 1. Further, the electronic azimuth meter 1 may display that it is in the gain adjustment mode. For example, in this case, the direction hand 6 points to the 2 o'clock position.

続いて、作業者は、電子方位計1を地磁気シミュレータ19内に置かれた遮光容器20内に収容する。地磁気シミュレータ19は、遮光容器20が載置されている領域において、向きと強さを制御された均一な磁界を発生し得る装置であればどのようなものであってもよいが、本実施形態では、図示するような3軸ヘルムホルツコイルを地磁気シミュレータ19として用いている。遮光容器20は、外光を遮断するような容器であるとともに、比透磁率がほぼ1となる(すなわち、磁気的に透明な)材質により形成され、地磁気シミュレータ19が発生した磁界に影響を及ぼさないように配慮されている。遮光容器20の材質は、具体的には、例えば、アルミニウムである。遮光容器20の内部には、光源21が設けられており、必要に応じて遮光容器20の内部に収容された電子方位計1に光線を照射できるようになっている。光源21の種類に限定はないが、ここでは発光ダイオードを光源21として用いている。地磁気シミュレータ19及び光源21は、制御装置22により制御される。制御装置22は、地磁気シミュレータ19及び光源21の動作をシーケンシャルに制御することができるものであればどのようなものであってもよく、CPU(Central Processing Unit)やメモリ等からなる一般的なコンピュータであってもよいし、いわゆるPLC(Programmable Logic Controller)であってもよい。なお、遮光容器20の内部には電子方位計1を位置決めするための構造を設けておき、電子方位計1の位置と方向が地磁気シミュレータ19に対し常に一定となるようにしておくことが好ましい。図6では、遮光容器20内部の電子方位計1と光源21を破線で示している。   Subsequently, the worker houses the electronic azimuth meter 1 in a light shielding container 20 placed in the geomagnetic simulator 19. The geomagnetic simulator 19 may be any device as long as it can generate a uniform magnetic field whose direction and strength are controlled in the region where the light shielding container 20 is placed. Then, a three-axis Helmholtz coil as shown is used as the geomagnetic simulator 19. The light shielding container 20 is a container that blocks external light and is formed of a material having a relative permeability of approximately 1 (that is, magnetically transparent), and does not affect the magnetic field generated by the geomagnetic simulator 19. There are no considerations. Specifically, the material of the light shielding container 20 is, for example, aluminum. A light source 21 is provided inside the light shielding container 20 so that light can be applied to the electronic azimuth meter 1 accommodated inside the light shielding container 20 as necessary. The type of the light source 21 is not limited, but a light emitting diode is used as the light source 21 here. The geomagnetic simulator 19 and the light source 21 are controlled by the control device 22. The control device 22 may be any device that can control the operations of the geomagnetic simulator 19 and the light source 21 sequentially, and is a general computer including a CPU (Central Processing Unit), a memory, and the like. It may be a so-called PLC (Programmable Logic Controller). It is preferable that a structure for positioning the electronic azimuth meter 1 is provided inside the light shielding container 20 so that the position and direction of the electronic azimuth meter 1 are always constant with respect to the geomagnetic simulator 19. In FIG. 6, the electronic azimuth meter 1 and the light source 21 inside the light shielding container 20 are indicated by broken lines.

ゲイン調整では、地磁気センサ11の平行でない2方向についてのゲイン補正値を求める必要があるため、電子方位計1に、平行でない少なくとも2方向について、向き及び強さが既知である磁界をかけ、それぞれの磁界について地磁気センサ11による計測を行う必要がある。そのため、電子方位計1は、地磁気シミュレータ19により磁界が発生されるタイミングを知る必要がある。しかしながら、地磁気シミュレータ19内に置かれた電子方位計1を物理的に操作することにより係るタイミングを通知するのは不可能ではないものの、自動化に不適である、作業時間のロスを生じやすい、電子方位計1の位置ずれを起こしやすい等好ましくない特徴を持つ。また、先に述べた無線通信によりかかるタイミングを通知することも可能であるが、電子方位計1自身に無線通信を受信するための構成が追加で必要となってしまう。   In gain adjustment, it is necessary to obtain a gain correction value for two non-parallel directions of the geomagnetic sensor 11. Therefore, a magnetic field whose direction and strength are known is applied to the electronic compass 1 for at least two non-parallel directions. It is necessary to measure the magnetic field by the geomagnetic sensor 11. Therefore, the electronic azimuth meter 1 needs to know the timing at which the magnetic field is generated by the geomagnetic simulator 19. However, although it is not impossible to notify the timing by physically operating the electronic azimuth meter 1 placed in the geomagnetism simulator 19, it is not suitable for automation and tends to cause a loss of work time. It has an unfavorable characteristic such as being liable to cause a misalignment of the compass 1. Although it is possible to notify the timing by the wireless communication described above, an additional configuration for receiving the wireless communication is required for the electronic azimuth meter 1 itself.

そこで、本実施形態では、電子方位計1が有する太陽電池16を利用して、地磁気シミュレータ19により磁界が発生されるタイミングを検出するようにしている。すなわち、制御装置22が地磁気シミュレータ19により磁界を印加するタイミングに応じて光源21の発光・非発光を制御し、かかる光源21の発光・非発光を検知することにより電子方位計1はかかるタイミングを検知するのである。電子方位計1を遮光容器20内に収容するのは、光源21の発光・非発光の検知を確実にするためである。しかしながら、遮光容器20を用意することなく、地磁気シミュレータ19が設置された部屋自体の照度を低く抑えるようにしても差し支えない。   Therefore, in the present embodiment, the solar cell 16 included in the electronic azimuth meter 1 is used to detect the timing at which a magnetic field is generated by the geomagnetic simulator 19. That is, the control device 22 controls light emission / non-light emission of the light source 21 according to the timing of applying the magnetic field by the geomagnetic simulator 19, and the electronic compass 1 detects this timing by detecting the light emission / non-light emission of the light source 21. It is detected. The reason why the electronic azimuth meter 1 is housed in the light shielding container 20 is to ensure detection of light emission / non-light emission of the light source 21. However, the illuminance of the room where the geomagnetic simulator 19 is installed can be kept low without preparing the light shielding container 20.

まず、電子方位計1は、自身が地磁気シミュレータ19の所定の位置に載置されたことを検出する。この検出は、電子方位計1が所定の時間以上暗闇に置かれ、周囲の光量が閾値以下となる状態が所定の時間継続することを検出することによりなされる。なぜなら、電子方位計1を遮光容器20内に収容すると、遮光容器20により外光が遮断されるため、電子方位計1は暗闇におかれることとなるからである。また、所定の時間以上の継続を条件とするのは、一時的に電子方位計1が影に入る等、取り扱いの途中で誤ってゲイン調整が開始されることがないようにするためである。この場合の光量の検出もまた太陽電池16の発電電圧を参照することによりなされる。この暗状態の検出を、以降では調整前暗検出と呼ぶ。   First, the electronic azimuth meter 1 detects that it is placed at a predetermined position of the geomagnetic simulator 19. This detection is performed by detecting that the electronic azimuth meter 1 is placed in the dark for a predetermined time or more and the state in which the ambient light amount is equal to or less than the threshold value continues for a predetermined time. This is because when the electronic azimuth meter 1 is accommodated in the light shielding container 20, since the external light is blocked by the light shielding container 20, the electronic azimuth meter 1 is placed in the dark. Moreover, the continuation for a predetermined time or longer is a condition in order to prevent the gain adjustment from being erroneously started in the middle of handling, such as the electronic azimuth meter 1 temporarily entering the shadow. In this case, the amount of light is also detected by referring to the generated voltage of the solar cell 16. This dark state detection is hereinafter referred to as pre-adjustment dark detection.

本実施形態では、調整前暗検出における所定の時間は3秒である。調整前暗検出がなされた以降は、光源21の点灯があってから、消灯する毎に、あらかじめ定められた順番で既知の磁界が発生されているものとして地磁気センサ11による計測が行われる。以降では、このときの光源21の点灯の検出を計測前明検出、また光源21の消灯の検出を計測前暗検出、さらに、地磁気センサ11による計測をゲイン計測と呼ぶ。   In the present embodiment, the predetermined time in the pre-adjustment dark detection is 3 seconds. After the dark detection before adjustment is performed, the measurement by the geomagnetic sensor 11 is performed assuming that a known magnetic field is generated in a predetermined order every time the light source 21 is turned on and then turned off. Hereinafter, the detection of lighting of the light source 21 at this time is referred to as pre-measurement light detection, the detection of turning off the light source 21 is referred to as dark detection before measurement, and the measurement by the geomagnetic sensor 11 is referred to as gain measurement.

計測前明検出、計測前暗検出及びゲイン計測は制御装置22及び電子方位計1により自動的に実行される。制御装置22は光源21を点灯し、地磁気シミュレータ19に最初の所定の磁界(例えば、この磁界の向きを0°とする)を発生させ、磁力が安定してからそのままの状態で光源21を消灯する。この光源21の点灯・消灯をそれぞれ計測前明検出及び計測前暗検出により検出して、電子方位計1のコントローラ12は、ゲイン計測を行い、その計測値を記憶する。   Pre-measurement light detection, pre-measurement dark detection, and gain measurement are automatically executed by the control device 22 and the electronic azimuth meter 1. The control device 22 turns on the light source 21, causes the geomagnetic simulator 19 to generate the first predetermined magnetic field (for example, the direction of this magnetic field is set to 0 °), and turns off the light source 21 as it is after the magnetic force is stabilized. To do. The on / off of the light source 21 is detected by pre-measurement light detection and pre-measurement dark detection, respectively, and the controller 12 of the electronic azimuth meter 1 performs gain measurement and stores the measurement value.

さらに制御装置22は光源21を点灯し、地磁気シミュレータ19に次の所定の磁界(例えば、この磁界の向きを120°とする)を発生させ、光源21を消灯する。これに伴い、コントローラ12はゲイン計測を行い、その計測値を記憶する。   Further, the control device 22 turns on the light source 21, causes the geomagnetic simulator 19 to generate the next predetermined magnetic field (for example, the direction of this magnetic field is 120 °), and turns off the light source 21. Along with this, the controller 12 performs gain measurement and stores the measured value.

理論的には、非平行の2方向の磁界についての計測を行えばゲイン調整は可能であるから、ゲイン調整をここで終了してもよいが、本実施形態では、測定誤差を低減するため、さらにもう一方向の磁界についての計測を行うようにしている。すなわち、制御装置22はさらに光源21を点灯し、地磁気シミュレータ19にさらに次の所定の磁界(例えば、この磁界の向きを270°とする)を発生させ、光源21を消灯する。コントローラ12はゲイン計測を行い、その計測値を記憶する。もちろん、印加する磁界の向きの数はさらに増加させてもよいが、これは調整により得られる実用上必要な精度と、調整に要する時間との兼ね合いにより適宜定めてよい。   Theoretically, gain adjustment is possible if measurement is performed for magnetic fields in two non-parallel directions, so gain adjustment may be terminated here, but in this embodiment, in order to reduce measurement errors, Furthermore, the measurement is performed for the magnetic field in the other direction. That is, the control device 22 further turns on the light source 21, causes the geomagnetic simulator 19 to generate the next predetermined magnetic field (for example, the direction of this magnetic field is 270 °), and turns off the light source 21. The controller 12 performs gain measurement and stores the measured value. Of course, the number of directions of the magnetic field to be applied may be further increased, but this may be appropriately determined depending on the balance between the accuracy required for practical use obtained by the adjustment and the time required for the adjustment.

地磁気シミュレータ19による磁界の発生とその計測がすべて終了したなら、コントローラ12は得られた計測結果から、ゲイン補正値を算出し、ゲイン補正値メモリに記憶し、ゲイン調整モードを終了する。なお、電子方位計1は、ゲイン調整が終了したことを、例えば、方位針6が3時位置を指すこと等により表示してもよい。   When the generation and measurement of the magnetic field by the geomagnetic simulator 19 are all completed, the controller 12 calculates a gain correction value from the obtained measurement result, stores it in the gain correction value memory, and ends the gain adjustment mode. The electronic azimuth meter 1 may display that the gain adjustment has been completed, for example, by pointing the azimuth hand 6 to the 3 o'clock position.

作業者は、ゲイン調整に必要な時間が経過したことを確認し、又は、制御装置22からの通知により、電子方位計1を遮光容器20から取り出す。ゲイン調整はこれで終了である。   The operator confirms that the time necessary for gain adjustment has elapsed, or takes out the electronic azimuth meter 1 from the light shielding container 20 by notification from the control device 22. This completes the gain adjustment.

図7は、ゲイン調整の際の電子方位計1の動作を説明するタイムチャートである。同図は、外光の明暗、地磁気シミュレータ19の状態、押ボタン操作のON/OFF、ゲイン調整モードのON/OFF、電子方位計1の動作及び方位針6の位置を横軸を時間にとり示したものである。なお、外光の明暗には、光源21による光線の照射も含まれる。   FIG. 7 is a time chart for explaining the operation of the electronic compass 1 at the time of gain adjustment. This figure shows the brightness of the outside light, the state of the geomagnetic simulator 19, the ON / OFF of the push button operation, the ON / OFF of the gain adjustment mode, the operation of the electronic compass 1 and the position of the azimuth needle 6 with time on the horizontal axis. It is a thing. Note that the light and darkness of the external light includes light irradiation by the light source 21.

まず、図中符号200で示すように所定の押ボタン操作がなされたことを契機として、電子方位計1は符号201で示すようにゲイン調整モードとなる。同時に、符号202で示すように、電子方位計1のコントローラ12は、調整前暗検出を行う。これは、前述の通り、電子方位計1が所定の時間以上暗闇に置かれることを検出するものである。この調整前暗検出では、太陽電池16による光量検出は、例えば0.5秒毎に行われる。さらに、符号203に示すように、方位針6を2時位置に移動させ、ゲイン調整モードであることを表示する。なお、符号203で示した時点より前の方位針6の位置は、前述のオフセット調整モードが終了したことを示す1時位置となっている。   First, when a predetermined push button operation is performed as indicated by reference numeral 200 in the drawing, the electronic azimuth meter 1 enters a gain adjustment mode as indicated by reference numeral 201. At the same time, as indicated by reference numeral 202, the controller 12 of the electronic compass 1 performs pre-adjustment darkness detection. As described above, this is to detect that the electronic compass 1 is placed in the dark for a predetermined time or more. In this pre-adjustment dark detection, the light quantity detection by the solar cell 16 is performed, for example, every 0.5 seconds. Further, as indicated by reference numeral 203, the azimuth hand 6 is moved to the 2 o'clock position to indicate that it is in the gain adjustment mode. It should be noted that the position of the azimuth hand 6 before the time indicated by reference numeral 203 is a 1 o'clock position indicating that the above-described offset adjustment mode has ended.

その後、符号204に示した時点で電子方位計1が遮光容器20内に収容され、外光が遮断されたものとする。コントローラ12は、符号205に示すように、電子方位計1の周辺の光量が所定の閾値以下となった状態が3秒継続するのを待つ。その後、コントローラ12は符号206に示すように計測前明検出を行う。この計測前明検出は、光源21の点灯状態を検出するものであり、太陽電池16により周辺の光量が所定の閾値以上であることをもって検出完了とする。この計測前明検出における太陽電池16による光量検出の周期は、調整前暗検出の周期よりも短く、例えば0.1秒毎に行われる。これは、調整前暗検出の完了後は電子方位計1は遮光容器20内に収容されていると考えられるため、外光の影響を受けることはなく、また、検出周期を短くすることにより電子方位計1の動作の応答を早くすることによりゲイン調整全体に要する時間を短縮することができるためである。   Thereafter, it is assumed that the electronic azimuth meter 1 is accommodated in the light shielding container 20 at the time indicated by reference numeral 204 and the external light is blocked. As indicated by reference numeral 205, the controller 12 waits for a state in which the amount of light around the electronic azimuth meter 1 becomes a predetermined threshold value or less continues for 3 seconds. Thereafter, the controller 12 performs pre-measurement bright detection as indicated by reference numeral 206. This pre-measurement bright detection is to detect the lighting state of the light source 21, and the detection is completed when the amount of light around the solar cell 16 is equal to or greater than a predetermined threshold. The period of light quantity detection by the solar cell 16 in this pre-measurement light detection is shorter than the period of dark detection before adjustment, for example, every 0.1 second. This is because the electronic azimuth meter 1 is considered to be accommodated in the light shielding container 20 after completion of the dark detection before adjustment, so that it is not affected by outside light, and the electronic period meter is shortened by shortening the detection cycle. This is because the time required for the entire gain adjustment can be shortened by speeding up the response of the operation of the compass 1.

制御装置22は、符号207に示すように、光源21を点灯する。この点灯時間は、計測前明検出が可能な程度の長さとし、ここでは0.2秒である。また、制御装置22は光源21の点灯と同時に(又は消灯と同時に)地磁気シミュレータ19に0°の磁界を発生させる。   The control device 22 turns on the light source 21 as indicated by reference numeral 207. This lighting time is set to such a length that the pre-measurement bright detection is possible, and is 0.2 seconds here. Further, the control device 22 causes the geomagnetic simulator 19 to generate a magnetic field of 0 ° at the same time when the light source 21 is turned on (or at the same time when it is turned off).

符号206で示す計測前明検出で、コントローラ12は符号207に示す光源21の点灯状態を検出し、符号208に示す計測前暗検出を行う。この計測前暗検出は、光源21の消灯状態を検出するものである。この計測前暗検出における太陽電池16による光量検出の周期もまた、調整前暗検出の周期よりも短く、例えば0.1秒毎に行われるが、これは計測前明検出における光量検出の周期を短くしたと同様の理由による。   In the pre-measurement light detection indicated by reference numeral 206, the controller 12 detects the lighting state of the light source 21 indicated by reference numeral 207 and performs pre-measurement dark detection indicated by reference numeral 208. This pre-measurement dark detection is to detect the extinction state of the light source 21. The period of light quantity detection by the solar cell 16 in this pre-measurement dark detection is also shorter than the period of dark detection before adjustment, for example, every 0.1 second. For the same reason as shortened.

計測前暗検出がなされると、コントローラ12は、符号209に示すゲイン計測を行う。このとき、地磁気シミュレータ19により0°の磁界が印加されていることが既知であるので、地磁気センサ11の計測結果は、0°の磁界における結果として記憶しておく。ゲイン計測が終了すると、コントローラ12は符号210に示すように再び計測前明検出を行い、以降、必要な数だけ(本実施形態では3回)計測前明検出−計測前暗検出−ゲイン計測を繰り返す。   When dark detection before measurement is performed, the controller 12 performs gain measurement indicated by reference numeral 209. At this time, since it is known that a magnetic field of 0 ° is applied by the geomagnetic simulator 19, the measurement result of the geomagnetic sensor 11 is stored as a result in a magnetic field of 0 °. When the gain measurement is completed, the controller 12 performs the pre-measurement bright detection again as indicated by reference numeral 210, and thereafter performs the necessary number of pre-measurement bright detections-pre-measurement dark detections-gain measurement as many times as necessary (in this embodiment). repeat.

制御装置22は、地磁気シミュレータ19の磁界を一定時間、少なくともゲイン計測が確実に終了する程度の時間保持する。図7に示した例では3秒である。その後、符号211に示すように光源21を0.2秒間点灯し、地磁気シミュレータ19に120°の磁界を発生させる。さらに3秒後、同様に、符号212に示すように光源21を0.2秒間点灯し、地磁気シミュレータ19に270°の磁界を発生させる。これにより、コントローラ12は地磁気シミュレータ19により発生させられる磁界の向きが変化する毎にゲイン計測を行い、その計測結果を記憶する。   The control device 22 holds the magnetic field of the geomagnetism simulator 19 for a certain period of time, at least for a time at which gain measurement is reliably completed. In the example shown in FIG. 7, it is 3 seconds. Thereafter, as indicated by reference numeral 211, the light source 21 is lit for 0.2 seconds to cause the geomagnetic simulator 19 to generate a 120 ° magnetic field. After another 3 seconds, similarly, as indicated by reference numeral 212, the light source 21 is turned on for 0.2 seconds to cause the geomagnetic simulator 19 to generate a magnetic field of 270 °. Thereby, the controller 12 performs gain measurement each time the direction of the magnetic field generated by the geomagnetic simulator 19 changes, and stores the measurement result.

必要な回数のゲイン計測が終了すると、符号213で示すように、コントローラ12は記憶された計測値から、ゲイン補正値を算出し、ゲイン補正値メモリに記憶させる。これにより、ゲイン調整は終了である。その後、コントローラ12は、ゲイン調整モードを終了し、方位針6を3時の位置に回転させる。   When the necessary number of gain measurements are completed, as indicated by reference numeral 213, the controller 12 calculates a gain correction value from the stored measurement value and stores it in the gain correction value memory. This completes the gain adjustment. Thereafter, the controller 12 ends the gain adjustment mode, and rotates the direction hand 6 to the 3 o'clock position.

図8はゲイン調整を行う際にコントローラ12が実行する処理のフローチャートである。   FIG. 8 is a flowchart of processing executed by the controller 12 when performing gain adjustment.

コントローラ12は、まず、ステップS21で押ボタン10に所定の操作がなされたか否かを判定する。操作がなされていなければ操作がなされるまで待ち、操作がされていればステップS22へと進む。ステップS02では電子方位計1をゲイン調整モードとし、続くステップS23で方位針6を2時位置に移動させる。そして続くステップS24で電子方位計1が暗状態に3秒以上置かれた状態となるのを待つ。なおこのステップS24は調整前暗検出に相当する。   First, the controller 12 determines whether or not a predetermined operation has been performed on the push button 10 in step S21. If no operation is performed, the process waits until the operation is performed, and if the operation is performed, the process proceeds to step S22. In step S02, the electronic azimuth meter 1 is set to the gain adjustment mode, and in the subsequent step S23, the azimuth hand 6 is moved to the 2 o'clock position. In step S24, the electronic azimuth meter 1 waits for a state where it is placed in a dark state for 3 seconds or more. This step S24 corresponds to dark detection before adjustment.

電子方位計1が暗状態に3秒以上置かれていたならば、ステップS25で電子方位計1が明状態となるのを待つ。なおこのステップS25は計測前明検出に相当する。   If the electronic azimuth meter 1 has been in a dark state for 3 seconds or longer, it waits for the electronic azimuth meter 1 to be in a bright state in step S25. This step S25 corresponds to pre-measurement bright detection.

電子方位計1が明状態となったならば、ステップS26で電子方位計1が暗状態となるのを待つ。なおこのステップS26は計測前暗検出に相当する。   If the electronic azimuth meter 1 is in a bright state, it waits for the electronic azimuth meter 1 to be in a dark state in step S26. This step S26 corresponds to dark detection before measurement.

電子方位計1が暗状態となったならば、ステップS27でゲイン計測を行う。続くステップS28では、ゲイン計測が所定の回数、ここでは3回行われたか否かが判断される。行われていなければ、ステップS25へと戻る。   If the electronic azimuth meter 1 is in a dark state, gain measurement is performed in step S27. In the subsequent step S28, it is determined whether or not the gain measurement has been performed a predetermined number of times, here three times. If not, the process returns to step S25.

ゲイン計測が所定の回数行われていれば、ステップS29でゲイン補正値を算出し、ゲイン補正値メモリに記憶させ、ステップS30で方位針6を3時位置に移動させ、ゲイン調整が終了したことを表示し、ステップS31でオフセット調整モードを解除する。以上の動作によりゲイン調整は終了である。   If the gain measurement has been performed a predetermined number of times, a gain correction value is calculated in step S29, stored in the gain correction value memory, the azimuth hand 6 is moved to the 3 o'clock position in step S30, and the gain adjustment is completed. Is displayed, and the offset adjustment mode is canceled in step S31. The gain adjustment is completed by the above operation.

なお、以上の説明で計測前明検出と計測前暗検出は、それぞれ単に明状態と暗状態を検出するものとしたが、これらを所定の時間明状態または暗状態が継続していることを検出するものとしてもよい。   In the above description, the pre-measurement light detection and the pre-measurement dark detection are simply to detect the bright state and the dark state, respectively, but these are detected to be in the bright state or dark state for a predetermined time. It is good also as what to do.

以上説明した各実施形態は、本発明を実施する上での一例であり、本発明をここで示した具体的構成に限定するものではない。当業者は、これらの実施形態に、適宜の変形を加え、その形状や配置、数、材質等の変更を行ってもよい。また、図示したフローチャートは、実施形態において発揮されるべき機能を実現するための一例であり、同様の機能を実現できるものであれば、異なる制御を採用することは一向に差し支えない。本発明の技術的範囲は、特許請求の範囲の記載に基づいて定められ、これら実施形態に適宜の変形を加えたものをも含みうる。   Each embodiment described above is an example in carrying out the present invention, and the present invention is not limited to the specific configuration shown here. Those skilled in the art may make appropriate modifications to these embodiments and change the shape, arrangement, number, material, and the like. The illustrated flowchart is an example for realizing the functions to be exhibited in the embodiment, and different controls may be employed as long as the same functions can be realized. The technical scope of the present invention is defined based on the description of the scope of claims, and may include those obtained by appropriately modifying these embodiments.

1 電子方位計、2 ケース、2a バンド固定部、3 文字板、4 指針、5 日付表示、6 方位針、7 方位表示、8 バンド、9 竜頭、10 押ボタン、11 地磁気センサ、12 コントローラ、12a 時計回路、13 方位針用ステップモータ、14 時計用ステップモータ、15 二次電池、16 太陽電池、17 不揮発性メモリ、18 磁気シールド、19 地磁気シミュレータ、20 遮光容器、21 光源、22 制御装置。   1 Electronic compass, 2 Case, 2a Band fixing part, 3 Dial, 4 Pointer, 5 Date display, 6 Direction hand, 7 Direction display, 8 band, 9 Crown, 10 Push button, 11 Geomagnetic sensor, 12 Controller, 12a Clock circuit, 13 Step motor for azimuth hand, 14 Step motor for clock, 15 Secondary battery, 16 Solar battery, 17 Non-volatile memory, 18 Magnetic shield, 19 Geomagnetic simulator, 20 Light shielding container, 21 Light source, 22 Control device.

Claims (9)

地磁気センサと、
アナログ表示を駆動する1以上のステップモータと、
前記地磁気センサと前記ステップモータを制御するコントローラと、
前記ステップモータのロータポジション毎に前記地磁気センサのオフセット補正値を記憶するオフセット補正値メモリと、
前記地磁気センサのオフセット調整を開始する条件であるオフセット調整開始条件を検出するオフセット調整開始条件検出部と、
を有する電子方位計であって、
前記コントローラは、オフセット調整開始条件検出部によるオフセット調整開始条件の検出により、前記ロータポジション毎に前記地磁気センサによる計測を行い、前記オフセット補正値を求め、前記オフセット補正値メモリに記憶させ、
前記オフセット調整開始条件は、前記電子方位計の外部から所定の操作をすることにより前記電子方位計自身が自動的にオフセット調整を開始しうる状態に設定された後、前記電子方位計を遮光性の磁気シールド内に収容することにより前記電子方位計の周辺の光量が閾値以下となる状態が所定の時間継続することを含み、
前記オフセット調整開始条件検出部は太陽電池である
電子方位計。
A geomagnetic sensor,
One or more stepper motors driving an analog display;
A controller for controlling the geomagnetic sensor and the step motor;
An offset correction value memory for storing an offset correction value of the geomagnetic sensor for each rotor position of the step motor;
An offset adjustment start condition detector that detects an offset adjustment start condition that is a condition for starting offset adjustment of the geomagnetic sensor;
An electronic compass to have a,
The controller performs measurement by the geomagnetic sensor for each rotor position by detecting an offset adjustment start condition by an offset adjustment start condition detection unit, obtains the offset correction value, and stores it in the offset correction value memory,
The offset adjustment start condition is set so that the electronic compass itself can automatically start offset adjustment by performing a predetermined operation from the outside of the electronic compass. Including a state in which the amount of light around the electronic azimuth meter is less than or equal to a threshold by being housed in the magnetic shield for a predetermined time ,
The offset adjustment start condition detection unit is an electronic azimuth meter that is a solar cell.
さらに前記地磁気センサのゲイン補正値を記憶するゲイン補正値メモリを有し、
前記コントローラは、前記電子方位計の周辺の光量が閾値以上となることを検出する計測前明検出を行った後、前記電子方位計の周辺の光量が閾値以下となる計測前暗検出を行い、その後前記地磁気センサによる計測であるゲイン計測を行う
請求項1に記載の電子方位計。
Furthermore, it has a gain correction value memory for storing the gain correction value of the geomagnetic sensor,
The controller performs pre-measurement light detection to detect that the amount of light around the electronic azimuth meter is equal to or greater than a threshold, and then performs pre-measurement dark detection where the amount of light around the electronic azimuth meter is equal to or less than a threshold. The electronic azimuth meter according to claim 1 which performs gain measurement which is measurement by said geomagnetic sensor after that.
前記コントローラは、前記計測前明検出、前記計測前暗検出及び前記ゲイン計測を所定の回数繰り返し、得られた計測値に基づいて前記ゲイン補正値を求め、前記ゲイン補正値メモリに記憶させる
請求項に記載の電子方位計
The controller repeats the pre-measurement light detection, the pre-measurement dark detection, and the gain measurement a predetermined number of times, obtains the gain correction value based on the obtained measurement value, and stores the gain correction value in the gain correction value memory. Electronic compass as described in 2
前記コントローラは、前記電子方位計の周辺の光量が閾値以下となる状態が所定の時間継続することを前記太陽電池により検出する調整前暗検出を行った後、前記計測前明検出を行う
請求項2又は3に記載の電子方位計。
The controller performs the pre-measurement light detection after performing the pre-adjustment dark detection for detecting by the solar cell that the state in which the amount of light around the electronic azimuth meter is below a threshold value continues for a predetermined time. The electronic compass as described in 2 or 3 .
前記調整前暗検出における光量の検出周期は、前記計測前明検出又は前記計測前暗検出における光量の検出周期より長い
請求項に記載の電子方位計。
5. The electronic azimuth meter according to claim 4 , wherein a light amount detection cycle in the pre-adjustment dark detection is longer than a light amount detection cycle in the pre-measurement light detection or the pre-measurement dark detection.
地磁気センサと、
アナログ表示を駆動する1以上のステップモータと、
前記地磁気センサと前記ステップモータを制御するコントローラと、
前記ステップモータのロータポジション毎に前記地磁気センサのオフセット補正値を記憶するオフセット補正値メモリと、
前記地磁気センサのオフセット調整を開始する条件であるオフセット調整開始条件を検出するオフセット調整開始条件検出部と、
を有し、
前記コントローラは、オフセット調整開始条件検出部によるオフセット調整開始条件の検出により、前記ロータポジション毎に前記地磁気センサによる計測を行い、前記オフセット補正値を求め、前記オフセット補正値メモリに記憶させ、
前記オフセット調整開始条件は電子方位計の周辺の光量が閾値以下となることを含み、
前記オフセット調整開始条件検出部は太陽電池である、電子方位計のオフセット調整を行う電子方位計の調整方法であって、
前記電子方位計の外部から所定の操作をすることにより、前記電子方位計自身が自動的にオフセット調整を開始しうる状態に設定するステップと、
前記電子方位計を磁気シールド内に収容することにより、前記電子方位計が前記オフセット調整開始条件を検出するステップと、を有する電子方位計の調整方法。
A geomagnetic sensor,
One or more stepper motors driving an analog display;
A controller for controlling the geomagnetic sensor and the step motor;
An offset correction value memory for storing an offset correction value of the geomagnetic sensor for each rotor position of the step motor;
An offset adjustment start condition detector that detects an offset adjustment start condition that is a condition for starting offset adjustment of the geomagnetic sensor;
Have
The controller performs measurement by the geomagnetic sensor for each rotor position by detecting an offset adjustment start condition by an offset adjustment start condition detection unit, obtains the offset correction value, and stores it in the offset correction value memory,
The offset adjustment start condition includes that the amount of light around the electronic compass is equal to or less than a threshold value,
The offset adjustment start condition detection unit is a solar cell, an electronic azimuth meter adjustment method for performing offset adjustment of an electronic azimuth meter,
By performing a predetermined operation from the outside of the electronic azimuth meter, setting the electronic azimuth meter itself to a state where it can automatically start offset adjustment;
The electronic compass has a step of detecting the offset adjustment start condition by accommodating the electronic compass in a magnetic shield.
前記磁気シールドは、高初透磁率材料製の容器であり、外光を遮断する請求項に記載の電子方位計の調整方法。 The method of adjusting an electronic compass according to claim 6 , wherein the magnetic shield is a container made of a high initial permeability material and blocks external light. 請求項2乃至5のいずれか1項に記載の電子方位計のゲイン調整を行う電子方位計の調整方法であって、
前記電子方位計を地磁気シミュレータ内かつ暗所に配置することにより、前記電子方位計が自律的にゲイン調整を実行していく状態に設定するステップと、
前記地磁気シミュレータにより所定の磁場を発生するステップと、
前記電子方位計に光を照射した後、光の照射を取りやめるステップと、
を有する電子方位計の調整方法。
An electronic azimuth meter adjustment method for performing gain adjustment of the electronic azimuth meter according to any one of claims 2 to 5 ,
Placing the electronic compass in a geomagnetic simulator and in a dark place, setting the electronic compass to autonomously perform gain adjustment; and
Generating a predetermined magnetic field by the geomagnetic simulator;
Irradiating the electronic azimuth meter with light and then canceling the light irradiation;
Method for adjusting an electronic compass having
さらに前記地磁気シミュレータにより発生する磁場を変更するステップと、
再度前記電子方位計に光を照射した後、光の照射を取りやめるステップと、
を有する請求項に記載の電子方位計の調整方法。
Further changing the magnetic field generated by the geomagnetic simulator;
Irradiating the electronic azimuth meter with light again, and then canceling the light irradiation;
The method for adjusting an electronic azimuth meter according to claim 8 .
JP2013064756A 2013-03-26 2013-03-26 Electronic compass and method for adjusting electronic compass Active JP6279223B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013064756A JP6279223B2 (en) 2013-03-26 2013-03-26 Electronic compass and method for adjusting electronic compass

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013064756A JP6279223B2 (en) 2013-03-26 2013-03-26 Electronic compass and method for adjusting electronic compass

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2017205202A Division JP6422554B2 (en) 2017-10-24 2017-10-24 Electronic compass and method for adjusting electronic compass

Publications (2)

Publication Number Publication Date
JP2014190757A JP2014190757A (en) 2014-10-06
JP6279223B2 true JP6279223B2 (en) 2018-02-14

Family

ID=51837157

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013064756A Active JP6279223B2 (en) 2013-03-26 2013-03-26 Electronic compass and method for adjusting electronic compass

Country Status (1)

Country Link
JP (1) JP6279223B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7070484B2 (en) 2019-03-20 2022-05-18 カシオ計算機株式会社 Calibration methods and programs for wearable devices, electronic watches, and magnetic sensors

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8266808B2 (en) * 2006-03-30 2012-09-18 Kyocera Corporation Portable electronic apparatus and geomagnetism sensor calibration method
JP5347843B2 (en) * 2009-08-28 2013-11-20 カシオ計算機株式会社 Electronic compass, adjustment method and manufacturing method of electronic compass

Also Published As

Publication number Publication date
JP2014190757A (en) 2014-10-06

Similar Documents

Publication Publication Date Title
JP5008196B2 (en) Electronic timepiece having a function of indicating the direction of a predetermined place
KR102099514B1 (en) Presentation case for an electromechanical watch and assembly comprising the same
JP2016200508A (en) Communication system, electronic timekeeper, and communication device
US11675314B2 (en) Electronic watch
JP6279223B2 (en) Electronic compass and method for adjusting electronic compass
JP6422554B2 (en) Electronic compass and method for adjusting electronic compass
JP2022106871A (en) Electronic equipment, electronic timepiece, control method, and program
JP5359649B2 (en) Information display device
JP6686601B2 (en) Azimuth display device, azimuth display method and program
CN108021014A (en) Analog display unit, electronic watch, display action control method and storage medium
JP6466224B2 (en) Analog electronic timepiece and analog electronic timepiece control method
JP6668647B2 (en) Electronics
JP5528841B2 (en) System and method for testing an electronic compass
US20180275612A1 (en) Electronic timepiece
JP7040081B2 (en) Timer measuring device, electronic clock, timer measuring method and program
JP2011141218A (en) Elevation angle display device
US11119446B2 (en) Electronic timepiece, measurement system, and measurement result display method
JP6982159B2 (en) A small clock with a control member
JP2012002768A (en) Analog electronic timepiece
US11525700B2 (en) Electronic timepiece
JP6323353B2 (en) clock
JP2018169167A (en) Electronic equipment, electronic timepiece, method for controlling electronic equipment, and program
JP2014035329A (en) Electronic azimuth meter
JP2020128948A (en) Electronic watch
JP2004279363A (en) Electronic apparatus with direction sensor, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20151126

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20161020

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20161130

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20161206

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170203

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20170801

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171024

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20171101

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180117

R150 Certificate of patent or registration of utility model

Ref document number: 6279223

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250