JP2015092155A - Magnetic setting apparatus, and clinometer using magnetic setting apparatus - Google Patents

Magnetic setting apparatus, and clinometer using magnetic setting apparatus Download PDF

Info

Publication number
JP2015092155A
JP2015092155A JP2014215087A JP2014215087A JP2015092155A JP 2015092155 A JP2015092155 A JP 2015092155A JP 2014215087 A JP2014215087 A JP 2014215087A JP 2014215087 A JP2014215087 A JP 2014215087A JP 2015092155 A JP2015092155 A JP 2015092155A
Authority
JP
Japan
Prior art keywords
setting
magnetic
angle
pattern
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2014215087A
Other languages
Japanese (ja)
Other versions
JP6517491B2 (en
Inventor
雄介 平
Yusuke Taira
雄介 平
良輔 大滝
Ryosuke Otaki
良輔 大滝
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.)
Nidec Components Corp
Original Assignee
Midori Precision 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 Midori Precision Co Ltd filed Critical Midori Precision Co Ltd
Priority to JP2014215087A priority Critical patent/JP6517491B2/en
Publication of JP2015092155A publication Critical patent/JP2015092155A/en
Application granted granted Critical
Publication of JP6517491B2 publication Critical patent/JP6517491B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Transmission And Conversion Of Sensor Element Output (AREA)

Abstract

PROBLEM TO BE SOLVED: To appropriately accomplish prescribed setting while maintaining satisfactory sealing performance.SOLUTION: A magnetic setting apparatus 1 comprises a setting unit 10 and a magnetic key 30. A plurality of Hall elements are arranged on a plane and built into the setting unit 10. The magnetic key 30 has a plurality of magnets so built into it as to coincide with the position of one of the Hall elements, and each pair of the magnets opposing the Hall elements are so combined with each of the Hall elements that the S pole and the N pole of each magnet are arranged to be rotationally asymmetric. Further, the setting unit 10 is configured to perform prescribed setting if, when a combination of the S pole and the N pole of the magnet opposing a Hall element differs every time, the detection pattern of the output value of each Hall element obtained for each of two or more times of combining the magnetic key 30 with the setting unit 10 coincides with a predetermined first pattern of the output value.

Description

本発明は、傾斜角度の設定等、所定の設定を行う設定手段に、外部から磁石を有する鍵手段を近接することで所定の設定を行う磁気式設定装置及び磁気式設定装置を用いた傾斜計に関する。   The present invention relates to a magnetic setting device for making a predetermined setting by bringing a key means having a magnet from the outside close to setting means for making a predetermined setting such as setting of an inclination angle, and an inclinometer using the magnetic setting device. About.

設定手段に外部から磁気の鍵手段を近接することで所定の設定を行う磁気式設定装置として、例えば、特許文献1に記載の非接触調整手段を有する装置がある。この装置は、完全密閉の円筒形状のケース内にセンサと磁石を備え、更にケースに回転自在な回転リングを組み付け、回転リングの回転に応じて磁石が移動するように構成されている。この装置は、回転リングを回して磁石を所定角度の位置に可変し、この可変した磁石の位置をセンサで検出し、更にその検出位置に対応するパラメータ値を設定するようになっている。このように、装置に設定されるパラメータ値を、回転リングを回すことで所望の値に設定することが可能となっている。   As a magnetic setting device that performs a predetermined setting by bringing a magnetic key means close to the setting means from the outside, for example, there is an apparatus having a non-contact adjusting means described in Patent Document 1. This apparatus is configured so that a sensor and a magnet are provided in a completely sealed cylindrical case, a rotatable ring is assembled to the case, and the magnet moves according to the rotation of the rotating ring. In this apparatus, the rotating ring is rotated to change the magnet to a position of a predetermined angle, the position of the changed magnet is detected by a sensor, and a parameter value corresponding to the detected position is set. Thus, the parameter value set in the apparatus can be set to a desired value by turning the rotating ring.

特開2009−152199号公報JP 2009-152199 A

しかし、特許文献1の装置は、ケース内において、1つの磁石の位置をセンサで検出するので、当該ケースの近傍に磁界を有する物が存在する場合、その近傍磁界の影響により、センサによる磁石の位置検出を誤ってしまう可能性がある。この場合、適正な位置を検出できないので、本来とは異なるパラメータ値を設定してしまうという問題がある。   However, since the apparatus of Patent Document 1 detects the position of one magnet with a sensor in the case, when there is an object having a magnetic field in the vicinity of the case, the influence of the magnetic field near the case causes the magnet to be detected by the sensor. Position detection may be wrong. In this case, since an appropriate position cannot be detected, there is a problem that a parameter value different from the original is set.

また、特許文献1の装置は、完全密閉のケースに回転自在に回転リングを組み付けて構成されている。回転リングは、パラメータ値の設定変更時に頻繁に回転させられるので、ケースとの間に隙間ができたり、ケースとの間に微細なゴミ等が入った際に破損に至ったりする可能性がある。   Moreover, the apparatus of patent document 1 is comprised by assembling | attaching a rotation ring rotatably to a completely sealed case. Since the rotating ring is frequently rotated when changing the parameter value settings, there is a possibility that a gap will be formed between the rotating ring and the case that fine dust will enter the case. .

本発明は、このような背景に鑑みてなされたものであり、密閉性を維持しながら、適正に所定の設定を行うことができる磁気式設定装置及び磁気式設定装置を用いた傾斜計を提供することを課題とする。   The present invention has been made in view of such a background, and provides a magnetic setting device capable of appropriately performing predetermined setting while maintaining hermeticity, and an inclinometer using the magnetic setting device. The task is to do.

前記した課題を解決するため、本発明の請求項1に記載の磁気式設定装置は、磁気を検出し、この検出された磁気のS極又はN極に応じた検出値を出力する少なくとも1つ以上の磁気検出手段が内蔵された設定手段と、前記設定手段と別体であり、当該設定手段に重ねられた際に、前記磁気検出手段の位置にS極又はN極が対向するように内蔵された少なくとも1つ以上の磁石を有する鍵手段と、前記鍵手段が前記設定手段に重ねられて前記磁気検出手段に前記磁石のS極又はN極が対向状態に組合された際に、当該磁気検出手段の出力値を検出し、この検出される出力値に応じて、所定の設定を行うように制御する制御手段と、を備え、前記鍵手段が前記設定手段に異なる姿勢で少なくとも2回以上重ねられた際に、前記制御手段は、当該2回以上重ねられる毎に検出した前記磁気検出手段の出力値の検出パターンが、予め定められた出力値の第1パターンに一致した場合、所定の設定を行うように制御することを特徴とする。   In order to solve the above-described problem, the magnetic setting device according to claim 1 of the present invention detects at least one magnetism and outputs a detection value corresponding to the detected S-pole or N-pole. The setting means including the magnetic detection means described above is separate from the setting means, and is built in such a manner that the S pole or the N pole faces the position of the magnetic detection means when superimposed on the setting means. A key means having at least one magnet, and the magnetic means when the key means is overlapped with the setting means and the S or N pole of the magnet is combined with the magnetism detecting means in an opposing state. Control means for detecting an output value of the detection means and controlling to perform a predetermined setting according to the detected output value, wherein the key means is at least twice in a different posture from the setting means. When superimposed, the control means The detection pattern of the output value of the magnetic detection means has detected each time superimposed over times, if they match the first pattern of the predetermined output value, and controlling to perform predetermined setting.

この構成によれば、鍵手段を設定手段に各々異なる姿勢で少なくとも2回以上組合せることにより、所定の設定を行って出力することができる。このため、設定手段の近傍に磁界を有する物が存在しても、その近傍磁界の影響により、各ホール素子の出力値の検出パターンが、第1パターンに一致することはない。従って、適正に所定の設定を行うことができる。   According to this configuration, the key unit can be combined with the setting unit at least twice in different postures to perform predetermined setting and output. For this reason, even if an object having a magnetic field exists in the vicinity of the setting means, the detection pattern of the output value of each Hall element does not match the first pattern due to the influence of the near magnetic field. Therefore, the predetermined setting can be appropriately performed.

また、上述した異なる組合せ姿勢が2回以上で多ければ多いほど、所定の設定を行うための誤動作を起こしにくくなる。但し、組合せの作業性を考慮すると、現実的で適切な回数が望ましい。例えば、近接磁界が多い使用環境では、その組合せ回数を多くすることにより、誤動作を抑制することが望ましい。
また、所定の設定を行うための鍵手段は、設定手段とは別体なので、設定手段に隙間や数値セットのための可動部分が存在せず、このため長期間使用しても密閉性を維持することができる。
In addition, the more different the above-described different combination postures are, the more difficult it is to cause a malfunction for performing a predetermined setting. However, considering the workability of the combination, a realistic and appropriate number of times is desirable. For example, in an environment where there are many near magnetic fields, it is desirable to suppress malfunctions by increasing the number of combinations.
In addition, since the key means for performing the predetermined setting is separate from the setting means, there are no gaps or movable parts for setting numerical values in the setting means, and thus the sealing performance is maintained even after long-term use. can do.

請求項2に係る発明は、請求項1において、前記制御手段が行う前記所定の設定の制御は、所定の数値をセットする制御であることを特徴とする。   The invention according to claim 2 is characterized in that, in claim 1, the control of the predetermined setting performed by the control means is control for setting a predetermined numerical value.

この構成によれば、鍵手段を設定手段に各々異なる姿勢で少なくとも2回以上組合せることにより、所定の数値をセットして出力することができる。   According to this configuration, it is possible to set and output a predetermined numerical value by combining the key means with the setting means at least twice in different postures.

請求項3に係る発明は、請求項1又は2において、前記制御手段は、前記検出パターンが、前記第1パターンと異なる出力値の第2パターンに一致した場合に、前記所定の設定をリセットする制御を行うことを特徴とする。   According to a third aspect of the present invention, in the first or second aspect, the control unit resets the predetermined setting when the detection pattern matches a second pattern having an output value different from the first pattern. Control is performed.

この構成によれば、設定手段の近傍磁界の影響により、各ホール素子の出力値の検出パターンが、第2パターンに一致することはない。このため、所定の設定を適正にリセットすることができる。   According to this configuration, the detection pattern of the output value of each Hall element does not match the second pattern due to the influence of the near magnetic field of the setting means. For this reason, a predetermined setting can be reset appropriately.

請求項4に係る発明は、請求項1〜3の何れか1項において、前記設定手段は、前記磁気検出手段及び前記制御手段を密閉状に内蔵する筐体を備えることを特徴とする。   According to a fourth aspect of the present invention, in any one of the first to third aspects, the setting means includes a housing that contains the magnetic detection means and the control means in a sealed manner.

この構成によれば、設定手段は、磁気検出手段及び制御手段を筐体内に密閉状に内蔵し、筐体には、隙間や可動部分が存在しないので、使用劣化で隙間が生じることがない。このため、密閉性を必要とする用途、例えば防水を必要とする用途に適用することができる。   According to this configuration, the setting means incorporates the magnetic detection means and the control means in a sealed manner in the casing, and there are no gaps or movable parts in the casing. For this reason, it is applicable to the use which requires airtightness, for example, the use which requires waterproofing.

請求項5に係る発明は、請求項1〜4の何れか1項に記載の磁気式設定装置を備え、傾斜の角度を計測し、当該計測された角度を出力する傾斜センサを有する傾斜計であって、前記鍵手段が前記設定手段に異なる姿勢で少なくとも2回以上重ねられた際に、前記制御手段は、当該2回以上重ねられる毎に検出した前記磁気検出手段の出力値の検出パターンが、前記第1パターンに一致した場合、所定の角度をセットする制御を行うことを特徴とする。   The invention according to claim 5 is an inclinometer comprising the magnetic setting device according to any one of claims 1 to 4, having an inclination sensor that measures an inclination angle and outputs the measured angle. When the key means is overlapped at least twice with the setting means in a different posture, the control means has a detection pattern of the output value of the magnetic detection means detected every time the key means is overlapped twice or more. When the first pattern coincides with the first pattern, control is performed to set a predetermined angle.

この構成によれば、本発明の傾斜計を例えばクレーン車の出荷時や、クレーン車の設置時等に必要な水平調整に用いれば、水平調整を容易且つ適正に行うことができる。   According to this configuration, if the inclinometer of the present invention is used for level adjustment required when, for example, the crane truck is shipped or the crane truck is installed, the level adjustment can be performed easily and appropriately.

請求項6に係る発明は、請求項5において、前記制御手段は、前記検出パターンが前記第1パターンに一致した際に所定の角度をセットした時点で、前記傾斜センサで計測される角度と、前記セットした角度との差分角度を保持し、この保持以降に当該傾斜センサで計測される角度を、当該角度から前記差分角度を減算して補正する制御を行うことを特徴とする。   The invention according to claim 6 is the angle measured by the tilt sensor when the control unit sets a predetermined angle when the detection pattern coincides with the first pattern. A difference angle from the set angle is held, and after this holding, control is performed to correct an angle measured by the tilt sensor by subtracting the difference angle from the angle.

この構成によれば、例えば、角度設定が必要な特定装置の上面に傾斜計を載置し、この傾斜計に鍵手段を組合せて、傾斜計に所定の角度(例えば0度)をセット(初回セット)した後に、次のような作用効果を得ることができる。初回セット時には、傾斜センサで計測される角度(0.5度)と、初回セットした角度(0度)との差分角度(0.5度)が保持される。   According to this configuration, for example, an inclinometer is placed on the upper surface of a specific device that requires angle setting, and a key unit is combined with the inclinometer, and a predetermined angle (for example, 0 degree) is set on the inclinometer (first time After setting), the following effects can be obtained. At the time of the initial setting, the difference angle (0.5 degrees) between the angle (0.5 degrees) measured by the tilt sensor and the angle (0 degrees) set for the first time is held.

従って、特定装置を別の場所に設置する場合、特定装置の上面の角度を、初回セットした角度(0度)に調整する場合、上面に傾斜計を載置して角度計測を実施する。この際、傾斜センサで計測される角度が例えば0.5度であったとすると、この0.5度から差分角度の0.5度が減算されて0度に補正される。この0度が傾斜計から出力されることになる。
このように初回に所定の角度を傾斜計に設定しておけば、次回の計測以降、傾斜計を容易に、初回の設定角度にセットすることができる。
Therefore, when the specific device is installed in another place, when the angle of the upper surface of the specific device is adjusted to the angle (0 degree) set for the first time, the angle measurement is performed by placing an inclinometer on the upper surface. At this time, if the angle measured by the tilt sensor is 0.5 degrees, for example, 0.5 degrees of the difference angle is subtracted from the 0.5 degrees and corrected to 0 degrees. This 0 degree is output from the inclinometer.
If the predetermined angle is set in the inclinometer in the first time as described above, the inclinometer can be easily set to the initial set angle after the next measurement.

請求項7に係る発明は、請求項6において、前記制御手段は、前記検出パターンが、前記第1パターンと異なる出力値の第2パターンに一致した際に、前記保持されている前記差分角度を消去又は無効とする制御を行うことを特徴とする。   According to a seventh aspect of the present invention, in the sixth aspect of the present invention, when the detection pattern coincides with a second pattern having an output value different from the first pattern, the control unit calculates the held difference angle. It is characterized by performing control to erase or invalidate.

この構成によれば、保持している差分角度が消去されるので、傾斜計に新たに所定の角度を、容易且つ適正にセットすることができる。また、保持している差分角度を無効とした場合、その差分角度を保持ししたまま、別の差分角度を設定することが可能となる。これにより、複数の差分角度を保持しておき、必要時に無効とされている差分角度を有効として使用することが可能となる。   According to this configuration, since the held differential angle is erased, a new predetermined angle can be easily and appropriately set in the inclinometer. Further, when the held difference angle is invalidated, it is possible to set another difference angle while keeping the difference angle. As a result, a plurality of differential angles can be held, and the differential angles that are invalidated when necessary can be used as valid.

本発明の磁気式設定装置及び磁気式設定装置を用いた傾斜計によれば、密閉性を維持しながら、適正に所定の設定を行うことができる。   According to the magnetic setting device and the inclinometer using the magnetic setting device of the present invention, it is possible to appropriately perform a predetermined setting while maintaining hermeticity.

本発明の実施形態に係る磁気式設定装置の構成を示すブロック図である。It is a block diagram which shows the structure of the magnetic setting apparatus which concerns on embodiment of this invention. (a)磁気式設定装置における設定部の構成を示す平面図、(b)は(a)に示す矢印Y1方向から見た設定部の側面図である。(A) The top view which shows the structure of the setting part in a magnetic type setting apparatus, (b) is a side view of the setting part seen from the arrow Y1 direction shown to (a). (a)は磁気式設定装置における磁気鍵の構成を示す平面図、(b)は(a)に示す矢印Y2方向から見た磁気鍵の側面図である。(A) is a top view which shows the structure of the magnetic key in a magnetic type setting apparatus, (b) is a side view of the magnetic key seen from the arrow Y2 direction shown to (a). 磁気鍵を設定部に当接して組合せる際の4パターンの姿勢を示し、(a)は磁気鍵の第1姿勢を示す平面図、(b)は磁気鍵の第2姿勢を示す平面図、(c)は磁気鍵の第3姿勢を示す平面図、(d)は磁気鍵の第4姿勢を示す平面図である。4 shows the postures of the four patterns when combining the magnetic key in contact with the setting unit, (a) is a plan view showing the first posture of the magnetic key, (b) is a plan view showing the second posture of the magnetic key, (C) is a top view which shows the 3rd attitude | position of a magnetic key, (d) is a top view which shows the 4th attitude | position of a magnetic key. 磁気鍵の4パターンの姿勢においてホール素子側の各磁石のS極及びN極並びにホール素子の出力値を示し、(a)は第1姿勢における各磁石のS極及びN極並びにホール素子の出力値を示す図、(b)は第2姿勢における各磁石のS極及びN極並びにホール素子の出力値を示す図、(c)は第3姿勢における各磁石のS極及びN極並びにホール素子の出力値を示す図、(d)は第4姿勢における各磁石のS極及びN極並びにホール素子の出力値を示す図である。The S pole and N pole of each magnet on the Hall element side and the output value of the Hall element in the four patterns of the magnetic key are shown, and (a) shows the output of the S pole and N pole of each magnet and the Hall element in the first posture. The figure which shows a value, (b) is a figure which shows the S pole and N pole of each magnet in a 2nd attitude | position, and the output value of a Hall element, (c) is the S pole and N pole of each magnet in a 3rd attitude | position, and a Hall element (D) is a figure which shows the output value of the south pole of each magnet in a 4th attitude | position, and an output value of a Hall element. 設定部におけるホール素子、制御部及び記憶部の接続関係を示すブロック図である。It is a block diagram which shows the connection relationship of the Hall element in a setting part, a control part, and a memory | storage part. 第1〜第4姿勢における各ホール素子の4ビットの出力値と、4ビット値を変換した16進数及びこれに対応する10進数を示す図である。It is a figure which shows the 4-bit output value of each Hall element in a 1st-4th attitude | position, the hexadecimal number which converted the 4-bit value, and the decimal number corresponding to this. 本実施形態の磁気式設定装置において磁気鍵で設定部に数値をセットする際の動作を説明するためのフローチャートである。It is a flowchart for demonstrating the operation | movement at the time of setting a numerical value to a setting part with a magnetic key in the magnetic type setting apparatus of this embodiment. 本実施形態の磁気式設定装置において磁気鍵で設定部に数値をリセットする際の動作を説明するためのフローチャートである。It is a flowchart for demonstrating the operation | movement at the time of resetting a numerical value to a setting part with a magnetic key in the magnetic setting apparatus of this embodiment. (a)は本実施形態の磁気式設定装置の設定部を適用した傾斜計の構成を示す平面図、(b)は(a)に示す矢印Y3方向から見た傾斜計の側面図である。(A) is a top view which shows the structure of the inclinometer to which the setting part of the magnetic type setting apparatus of this embodiment is applied, (b) is a side view of the inclinometer seen from the arrow Y3 direction shown to (a). 傾斜計におけるホール素子、制御部及び記憶部、並びに傾斜センサの接続関係を示すブロック図である。It is a block diagram which shows the connection relationship of the Hall element in a clinometer, a control part, a memory | storage part, and a inclination sensor. クレーン車の側面図である。It is a side view of a crane vehicle.

次に、本発明の実施の形態(以下、「実施形態」と称する)について説明する。
<実施形態の構成>
図1は、本発明の実施形態に係る磁気式設定装置の構成を示すブロック図である。
図1に示す磁気式設定装置1は、設定部10と、板状の磁気鍵30とを備えて構成され、磁気鍵30を設定部10に当接状態に組合せて使用するようになっている。なお、設定部10で、請求項記載の設定手段が構成され、磁気鍵30で、請求項記載の鍵手段が構成される。
Next, an embodiment of the present invention (hereinafter referred to as “embodiment”) will be described.
<Configuration of Embodiment>
FIG. 1 is a block diagram showing a configuration of a magnetic setting device according to an embodiment of the present invention.
A magnetic setting device 1 shown in FIG. 1 includes a setting unit 10 and a plate-like magnetic key 30, and is used by combining the magnetic key 30 in contact with the setting unit 10. . The setting unit 10 constitutes the setting means described in the claims, and the magnetic key 30 constitutes the key means described in the claims.

設定部10の構成を、図2を参照して説明する。図2(a)は設定部10の構成を示す平面図、(b)は(a)に示す矢印Y1方向から見た設定部10の側面図である。   The configuration of the setting unit 10 will be described with reference to FIG. FIG. 2A is a plan view showing the configuration of the setting unit 10, and FIG. 2B is a side view of the setting unit 10 viewed from the direction of the arrow Y1 shown in FIG.

設定部10は、直方体形状の筐体11の内部に、破線で示すプリント基板(単に、基板ともいう)14、複数(本例では4個)のホール素子HA,HC,HE,HF、制御部15及び記憶部16を備えて構成されている。これら基板14、各ホール素子HA〜HF、制御部15及び記憶部16は、筐体11内に密閉状(又は防水状)に収容されている。筐体11は、磁力線を透過する材料であればよい。なお、ホール素子HA〜HFで、請求項記載の磁気検出手段が構成される。また、制御部15及び記憶部16で、請求項記載の制御手段が構成される。   The setting unit 10 includes a printed circuit board (simply referred to as a substrate) 14 indicated by a broken line, a plurality of (four in this example) Hall elements HA, HC, HE, HF, a control unit, inside a rectangular parallelepiped housing 11. 15 and a storage unit 16. The substrate 14, the hall elements HA to HF, the control unit 15, and the storage unit 16 are accommodated in a sealed (or waterproof) form in the housing 11. The casing 11 may be made of a material that transmits the lines of magnetic force. The Hall elements HA to HF constitute the magnetic detection means described in the claims. Further, the control unit 15 and the storage unit 16 constitute the control means described in the claims.

また、設定部10は、筐体11の外部側面に、ケーブル13を基板14の配線に電気的に接続するためのコネクタ12が隙間なく取り付けられている。コネクタ12が取り付けられる筐体11の側面付近の上面部分は、コネクタ12を取り付ける凹状の開口を有するために、直方体形状に盛り上がった凸部10aとなっている。この凸部10aを有する面を図2(b)に示すように上面、この反対側の面を下面と定義する。なお、ケーブル13は、電源や、設定部10に設定される数値を使用する装置等に接続される。但し、電源(バッテリー)は、設定部10に内蔵されていてもよい。   In addition, the setting unit 10 has a connector 12 for connecting the cable 13 to the wiring of the substrate 14 attached to the outer side surface of the housing 11 without a gap. The upper surface portion in the vicinity of the side surface of the housing 11 to which the connector 12 is attached has a concave opening for attaching the connector 12, and thus is a convex portion 10 a swelled in a rectangular parallelepiped shape. As shown in FIG. 2B, the surface having the convex portion 10a is defined as the upper surface, and the opposite surface is defined as the lower surface. The cable 13 is connected to a power source, a device that uses numerical values set in the setting unit 10, and the like. However, the power source (battery) may be built in the setting unit 10.

各ホール素子HA〜HFは、図2(a)に示すように、基板14の上面側の所定位置に互いが離間状態に配置されて実装されている。各ホール素子HA〜HFの配置は、非回転対称に配置するのが好ましいが、非回転対称以外の配置でもよい。また、各ホール素子HA〜HFは、左上のHAから反時計回り(左回り)にHC,HE,HFの順で名称が付けてある。
本実施形態の場合、基板14の破線で示す長方形面の上左隅にホール素子HAが実装され、下左隅にホール素子HC、右辺側上下の中間位置にホール素子HE、上右隅にホール素子HFが実装されている。
As shown in FIG. 2A, the hall elements HA to HF are mounted in a predetermined state at a predetermined position on the upper surface side of the substrate 14. The Hall elements HA to HF are preferably arranged in a non-rotational symmetry, but may be arranged in a manner other than the non-rotational symmetry. Each of the Hall elements HA to HF is named in the order of HC, HE, and HF counterclockwise (counterclockwise) from the upper left HA.
In the case of the present embodiment, the Hall element HA is mounted at the upper left corner of the rectangular surface indicated by the broken line of the substrate 14, the Hall element HC at the lower left corner, the Hall element HE at the upper and lower middle positions, and the Hall element HF at the upper right corner. Has been implemented.

各ホール素子HA〜HFは、磁石のS極が所定距離近づいた時、S極を検知し、その出力値が「L」レベル(「L」ともいう)となる。また、ホール素子HA〜HFは、N極が所定距離近づいた時、N極を検知し、その出力値が「H」レベル(「H」ともいう)となり、更に、磁界が無い場合も「H」となる。但し、「L」を「0」、「H」を「1」とも表現する。各ホール素子HA〜HFの出力値「0」又は「1」は、制御部15へ出力される。制御部15及び記憶部16については後述する。   Each Hall element HA to HF detects the S pole when the S pole of the magnet approaches a predetermined distance, and its output value becomes the “L” level (also referred to as “L”). Further, the Hall elements HA to HF detect the N pole when the N pole approaches a predetermined distance, the output value thereof becomes the “H” level (also referred to as “H”), and “H” even when there is no magnetic field. " However, “L” is also expressed as “0” and “H” as “1”. The output value “0” or “1” of each Hall element HA to HF is output to the control unit 15. The control unit 15 and the storage unit 16 will be described later.

但し、各ホール素子HA〜HFが、S極を検知時に出力値が「L」、N極を検知時に出力値が「H」、磁界が無い場合も「H」となることを記載したが、これはその逆のレベルになるように機能させることも可能である。また、各ホール素子HA〜HFの出力値のパターンを様々なパターンとすることも、各磁石の配列を可変することにより可能である。   However, each Hall element HA to HF described that the output value is “L” when detecting the S pole, the output value is “H” when detecting the N pole, and “H” when there is no magnetic field. It is also possible for this to function at the opposite level. It is also possible to change the pattern of the output values of the hall elements HA to HF by changing the arrangement of the magnets.

次に、磁気鍵30の構成を、図3を参照して説明する。図3(a)は磁気鍵30の構成を示す平面図、(b)は(a)に示す矢印Y2方向から見た磁気鍵30の側面図である。   Next, the configuration of the magnetic key 30 will be described with reference to FIG. FIG. 3A is a plan view showing the configuration of the magnetic key 30, and FIG. 3B is a side view of the magnetic key 30 viewed from the direction of the arrow Y2 shown in FIG.

磁気鍵30は、磁力線を透過するプラスチック等の材料を4角形の板状に成形し、破線で示す複数(本例では6個)の磁石MA,MB,MC,MD,ME,MFを内蔵した構成となっている。
この磁気鍵30は、4角形の4隅の内、1隅が斜めにカットされた切欠き部30aを有し、この切欠き部30aを共有する2つの側面の内の1側面と、この1側面の反対側の側面とに、側面部分を凹状に切り抜いた第1凹部30bと第2凹部30cとを有している。
The magnetic key 30 is formed of a material such as plastic that transmits magnetic field lines into a square plate shape, and includes a plurality of (six in this example) magnets MA, MB, MC, MD, ME, and MF indicated by broken lines. It has a configuration.
The magnetic key 30 has a cutout portion 30a in which one corner is cut obliquely among four corners of a quadrangular shape, one side surface of two side surfaces sharing the cutout portion 30a, A side surface opposite to the side surface has a first recess 30b and a second recess 30c obtained by cutting a side surface portion into a concave shape.

第1及び第2凹部30b,30cは、図4に示すように、設定部10の凸部10aが嵌合される寸法の凹形状となっている。この第1及び第2凹部30b,30cと、切欠き部30aとによって、磁気鍵30を設定部10に当接して組合せる際の複数パターンの姿勢を規定することができる。この複数パターンの姿勢は、本実施形態では、図4(a)〜(d)に示す4パターンがある。   As shown in FIG. 4, the first and second concave portions 30 b and 30 c have a concave shape with a dimension to which the convex portion 10 a of the setting portion 10 is fitted. The first and second recesses 30b and 30c and the notch 30a can define the postures of a plurality of patterns when the magnetic key 30 is brought into contact with the setting unit 10 and combined. In this embodiment, there are four patterns shown in FIGS. 4A to 4D.

まず、図4(a)に示すように、切欠き部30aが左上隅に位置し、第1凹部30bに凸部10aが嵌合される状態で、磁気鍵30を設定部10に当接して組合せた場合を、磁気鍵30の第1姿勢と定義する。この第1姿勢の磁気鍵30において、図3(b)に示すように、上面側をA面、下面側をB面と定義する。つまり、第1姿勢の場合、磁気鍵30のB面が設定部10の上面に当接される。   First, as shown in FIG. 4A, the magnetic key 30 is brought into contact with the setting unit 10 in a state where the notch 30a is located at the upper left corner and the convex portion 10a is fitted to the first concave portion 30b. The combination is defined as the first posture of the magnetic key 30. In the magnetic key 30 in the first posture, as shown in FIG. 3B, the upper surface side is defined as the A surface and the lower surface side is defined as the B surface. That is, in the first posture, the B surface of the magnetic key 30 is brought into contact with the upper surface of the setting unit 10.

図4(b)に示すように、切欠き部30aが右下隅に位置し、第2凹部30cに凸部10aが嵌合される状態で、A面が見えている磁気鍵30のB面を設定部10の上面に当接して組合せた場合を、磁気鍵30の第2姿勢と定義する。   As shown in FIG. 4B, the B surface of the magnetic key 30 where the A surface is visible in a state where the notch 30a is located in the lower right corner and the convex portion 10a is fitted in the second concave portion 30c. A case where the magnetic key 30 is combined in contact with the upper surface of the setting unit 10 is defined as the second posture of the magnetic key 30.

図4(c)に示すように、切欠き部30aが右上隅に位置し、第2凹部30cに凸部10aが嵌合される状態で、B面が見えている磁気鍵30のA面を設定部10の上面に当接して組合せた場合を、磁気鍵30の第3姿勢と定義する。   As shown in FIG. 4C, the A surface of the magnetic key 30 where the B surface is visible in a state where the notch 30a is located in the upper right corner and the convex portion 10a is fitted in the second concave portion 30c. A case where the magnetic key 30 is combined in contact with the upper surface of the setting unit 10 is defined as a third posture of the magnetic key 30.

図4(d)に示すように、切欠き部30aが左下隅に位置し、第1凹部30bに凸部10aが嵌合される状態で、B面が見えている磁気鍵30のA面を設定部10の上面に組合せた場合を、磁気鍵30の第4姿勢と定義する。   As shown in FIG. 4D, the A surface of the magnetic key 30 where the B surface is visible in a state where the notch 30a is located in the lower left corner and the convex portion 10a is fitted to the first concave portion 30b. The combination with the upper surface of the setting unit 10 is defined as the fourth posture of the magnetic key 30.

また、磁気鍵30の内部には、図3(a)に破線で示す6個の磁石MA,MB,MC,MD,ME,MFが、3行2列のマトリックス状(長方形状)に配置されている。磁気鍵30は、第1姿勢の場合に、磁石MAがN極をA面に向けて、左上隅の切欠き部30a付近に配置され、この配置位置の磁石MAから反時計回り(左回り)に磁石MB,MC,MD,ME,MFの順で配置されている。   Further, in the magnetic key 30, six magnets MA, MB, MC, MD, ME, and MF indicated by broken lines in FIG. 3A are arranged in a matrix of 3 rows and 2 columns (rectangular shape). ing. When the magnetic key 30 is in the first posture, the magnet MA is disposed in the vicinity of the notch 30a in the upper left corner with the north pole facing the A plane, and is counterclockwise (counterclockwise) from the magnet MA at this disposed position. Are arranged in the order of magnets MB, MC, MD, ME, and MF.

つまり、磁気鍵30の長方形のA面側において、磁石MAは左上隅の切欠き部30a付近に配置され、磁石MBは左辺側の中央部分、磁石MCは左下隅、磁石MDは右下隅、磁石MEは右辺側の中央部分に配置され、磁石MFは右上隅に配置されている。
また、磁気鍵30のA面側に、磁石MAがN極を向け、磁石MBがS極を、磁石MCがS極を、磁石MDがN極を、磁石MEがS極を、磁石MFがN極を向けて配置されている。このような配置おいて、各磁石MA〜MFは、図3(b)に磁石MC,MDを代表して示すように、同一磁石では、A面側とB面側とでS極とN極とが反対の極性となる。
That is, on the rectangular A surface side of the magnetic key 30, the magnet MA is disposed in the vicinity of the notch 30a in the upper left corner, the magnet MB is the central portion on the left side, the magnet MC is the lower left corner, the magnet MD is the lower right corner, the magnet ME is arranged in the central part on the right side, and magnet MF is arranged in the upper right corner.
Further, the magnet MA faces the N pole, the magnet MB faces the S pole, the magnet MC faces the S pole, the magnet MD faces the N pole, the magnet MD faces the S pole, and the magnet MF faces the A surface side of the magnetic key 30. It is arranged with the north pole facing. In such an arrangement, each of the magnets MA to MF has the S pole and the N pole on the A side and the B side in the same magnet, as shown in FIG. And the opposite polarity.

また、各磁石MA〜MFは、図4(a)〜(d)に示すように、磁気鍵30のA面又はB面の同一面を向くS極とN極との配置関係が、線対称及び回転対称とならない非対称となるように配置されることが好ましい。   In addition, as shown in FIGS. 4A to 4D, the magnets MA to MF are symmetrical with respect to the arrangement relationship between the S pole and the N pole facing the same surface of the A or B surface of the magnetic key 30. Further, it is preferable that they are arranged so as to be asymmetric which is not rotationally symmetric.

このような磁気鍵30を、図5(a)〜(d)に示すように、設定部10の上面に第1〜第4姿勢で組合せることにより、各ホール素子HA〜HFの出力値が、後述のように第1〜第4姿勢に応じた値「0」又は「1」となる。なお、ホール素子HA〜HFを、単に、素子HA〜HFとも称す。   As shown in FIGS. 5A to 5D, by combining such a magnetic key 30 on the upper surface of the setting unit 10 in the first to fourth postures, the output values of the Hall elements HA to HF can be obtained. As will be described later, the value is “0” or “1” corresponding to the first to fourth postures. Hall elements HA to HF are also simply referred to as elements HA to HF.

即ち、図5(a)に示すように、磁気鍵30を第1姿勢で設定部10に当接して組合せたとする。この場合、磁石MAのS極がホール素子HAに近接し、素子HAの出力値が「0」となる。また、磁石MCのN極がホール素子HCに近接し、素子HCの出力値が「1」、磁石MEのN極がホール素子HEに近接し、素子HEの出力値が「1」、磁石MFのS極がホール素子HFに近接し、素子HFの出力値が「0」となる。   That is, as shown in FIG. 5A, it is assumed that the magnetic key 30 is combined in contact with the setting unit 10 in the first posture. In this case, the south pole of the magnet MA is close to the Hall element HA, and the output value of the element HA becomes “0”. Further, the N pole of the magnet MC is close to the Hall element HC, the output value of the element HC is “1”, the N pole of the magnet ME is close to the Hall element HE, the output value of the element HE is “1”, and the magnet MF The S pole of this element is close to the Hall element HF, and the output value of the element HF becomes “0”.

同様に、図5(b)〜(d)に示すように、磁気鍵30を第2〜第4姿勢で設定部10に当接した場合も、各ホール素子HA〜HFの出力値が、図示のような値「0」又は「1」となる。但し、磁気鍵30を設定部10に組合せる場合は、双方が完全に当接していなくても、各ホール素子HA〜HFが磁極を検出可能に離間した近接状態であってもよい。   Similarly, as shown in FIGS. 5B to 5D, when the magnetic key 30 is in contact with the setting unit 10 in the second to fourth postures, the output values of the Hall elements HA to HF are illustrated. The value becomes “0” or “1”. However, when the magnetic key 30 is combined with the setting unit 10, the Hall elements HA to HF may be close to each other so that the magnetic poles can be detected even if they are not completely in contact with each other.

このような磁気鍵30の6個の磁石MA〜MFのS極及びN極と、設定部10の4個のホール素子HA〜HFとは、図5(a)〜(d)に示す第1〜第4姿勢のように、互いの面を当接して組合せた場合に、組合せ関係が回転対称とならない配置関係にしてある。言い換えれば、非回転対称となるように配置してある。   The S poles and N poles of the six magnets MA to MF of the magnetic key 30 and the four Hall elements HA to HF of the setting unit 10 are the first shown in FIGS. As in the fourth posture, when the surfaces are brought into contact with each other and combined, the combination relationship is not rotationally symmetric. In other words, they are arranged so as to be non-rotational symmetric.

各ホール素子HA〜HFの出力値「0」又は「1」は、図6に示すように、制御部15へ出力される。制御部15には、例えばマイクロコントローラ(又はマイクロコンピュータ)が適用される。この場合、各ホール素子HA〜HFの出力端子を、図示はしないが、電源電圧に10kΩの抵抗器を介してプルアップし、マイクロコンピュータの入出力端子に接続する。なお、プルアップは、各ホール素子HA〜HFの出力信号の「L」レベル(出力値「0」)が上昇して、マイクロコンピュータで「L」と適正に読み取れなくなることを防止するためである。   The output value “0” or “1” of each Hall element HA to HF is output to the control unit 15 as shown in FIG. For example, a microcontroller (or a microcomputer) is applied to the control unit 15. In this case, although not shown, the output terminals of the Hall elements HA to HF are pulled up to the power supply voltage via a 10 kΩ resistor and connected to the input / output terminals of the microcomputer. The pull-up is to prevent the “L” level (output value “0”) of the output signals of the Hall elements HA to HF from rising and being unable to be properly read as “L” by the microcomputer. .

制御部15は、図7に示すように、4つのホール素子HA,HC,HE,HFの出力値「0」又は「1」を4ビットとして検出し、この4ビットの値を16進表記した数値(16進数)に変換する。詳細に説明すると、ホール素子HAの出力値をMSB(Most Significant Bit:最上位ビット)、HFをLSB(Least Significant Bit:最下位ビット)として捉え、MSB側からHA,HC,HE,HFの順に4ビットの2進数で検出し、この4ビットの値を16進数に変換する。なお、図7には、16進数の横に、括弧書きで10進数を表記して認識し易くしてある。   As shown in FIG. 7, the control unit 15 detects the output value “0” or “1” of the four Hall elements HA, HC, HE, and HF as 4 bits, and the 4-bit value is expressed in hexadecimal. Convert to numerical value (hexadecimal number). More specifically, the output value of the Hall element HA is regarded as MSB (Most Significant Bit) and HF is regarded as LSB (Least Significant Bit), and from the MSB side in the order of HA, HC, HE, HF. Detection is performed by a 4-bit binary number, and the 4-bit value is converted into a hexadecimal number. In FIG. 7, a decimal number is written in parentheses next to the hexadecimal number for easy recognition.

更に説明すると、制御部15は、設定部10に磁気鍵30が第1姿勢で組合された場合、各ホール素子HA,HC,HE,HFの出力値「0,1,1,0」の4ビット値を16進数Ox6(=6)に変換する。第2姿勢で組合された場合、各ホール素子HA,HC,HE,HFの出力値「0,0,1,1」の4ビット値を16進数Ox3(=3)に変換する。第3姿勢で組合された場合、各ホール素子HA,HC,HE,HFの出力値「1,1,0,1」の4ビット値を16進数OxD(=13)に変換する。第4姿勢で組合された場合、各ホール素子HA,HC,HE,HFの出力値「0,1,0,1」の4ビット値を16進数Ox5(=5)に変換する。   More specifically, when the magnetic key 30 is combined with the setting unit 10 in the first posture, the control unit 15 outputs 4 of the output values “0, 1, 1, 0” of the Hall elements HA, HC, HE, and HF. The bit value is converted into a hexadecimal number Ox6 (= 6). When combined in the second attitude, the 4-bit values of the output values “0, 0, 1, 1” of the Hall elements HA, HC, HE, and HF are converted into hexadecimal numbers Ox3 (= 3). When combined in the third attitude, the 4-bit values of the output values “1, 1, 0, 1” of the Hall elements HA, HC, HE, and HF are converted into hexadecimal numbers OxD (= 13). When combined in the fourth attitude, the 4-bit values of the output values “0, 1, 0, 1” of the Hall elements HA, HC, HE, and HF are converted into hexadecimal numbers Ox5 (= 5).

また、設定部10に磁気鍵30が当接されていない場合(鍵無しの場合)は、各ホール素子HA,HC,HE,HFの出力値が「1,1,1,1」となる。このため、制御部15は、その4ビット値「1,1,1,1」を16進数OxF(=15)に変換している。
なお、制御部15は、各ホール素子HA,HC,HE,HFの4ビットの出力値を、16進数以外の10進数や8進数、2進数等のn進数に変換してもよい。
When the magnetic key 30 is not in contact with the setting unit 10 (when there is no key), the output values of the hall elements HA, HC, HE, and HF are “1, 1, 1, 1”. Therefore, the control unit 15 converts the 4-bit value “1, 1, 1, 1” into the hexadecimal number OxF (= 15).
The control unit 15 may convert the 4-bit output values of the Hall elements HA, HC, HE, and HF into decimal numbers other than hexadecimal numbers, octal numbers, and binary numbers.

次に、制御部15は、設定部10に磁気鍵30が第1〜第4姿勢の所定順番で組合された際の各ホール素子HA,HC,HE,HFからの4ビットの出力値をその順番に検出し、これら検出される出力値を変換した各16進数の値を求める。更に、制御部15は、その求めた各16進数の値及び順番による検出パターンが、予め保持している第1パターン(例えば第1,第2,第3,第4姿勢の各16進数の値及び順番によるパターン)と一致した際に、予め定められた数値を記憶部16に記憶して設定(セット)する制御を行う。   Next, the control unit 15 outputs the 4-bit output value from each Hall element HA, HC, HE, HF when the magnetic key 30 is combined with the setting unit 10 in a predetermined order of the first to fourth postures. Detection is performed in order, and each hexadecimal value obtained by converting the detected output value is obtained. Further, the control unit 15 uses the first pattern (for example, the hexadecimal value of each of the first, second, third, and fourth postures) that the detection pattern based on the obtained hexadecimal value and order is stored in advance. And a pattern in accordance with the order), a predetermined numerical value is stored in the storage unit 16 and is controlled to be set (set).

従って、制御部15は、その検出パターンが、第1パターンと異なる場合は、記憶部16への数値の記憶は行わない。
なお、記憶部16には、図示せぬRAM(Random Access Memory)やフラッシュメモリ等の記憶装置が用いられる。
Therefore, the control unit 15 does not store the numerical value in the storage unit 16 when the detection pattern is different from the first pattern.
Note that a storage device such as a RAM (Random Access Memory) or a flash memory (not shown) is used for the storage unit 16.

また、制御部15は、設定部10に磁気鍵30を各姿勢で順番に組合せた際の各ホール素子HA,HC,HE,HFの出力値の検出パターンが、第1パターンとは異なる第2パターン(例えば第3,第4,第1,第2姿勢の各16進数の値及び順番によるパターン)と一致した際に、記憶部16をリセットする制御を行う。リセット値には、「Ox0」や「OxF」等の予め定められた数値を用いる。   In addition, the control unit 15 has a second detection pattern of output values of the hall elements HA, HC, HE, and HF different from the first pattern when the magnetic key 30 is sequentially combined with the setting unit 10 in each posture. Control is performed to reset the storage unit 16 when it matches a pattern (for example, a pattern based on hexadecimal values and order of the third, fourth, first, and second postures). As the reset value, a predetermined numerical value such as “Ox0” or “OxF” is used.

従って、制御部15は、検出パターンが、第2パターンと異なる場合は、記憶部16のリセットは行わない。
なお、操作者がセット又はリセットを行う際の第1及び第2パターンは、操作者が記憶し易いパターンとするのが好ましい。
Therefore, the control unit 15 does not reset the storage unit 16 when the detection pattern is different from the second pattern.
The first and second patterns when the operator performs setting or reset are preferably patterns that are easy for the operator to memorize.

記憶部16は、上述したように設定された16進数に対応する数値NVを出力する。この数値NVは、表示部(図示せず)に表示されたり、ケーブル13(図2参照)を介して数値NVを用いる図示せぬ装置へ出力されたりする。なお、数値NVは、表示部に表示される場合は、人が認識し易い10進数であったり、パラメータ値や、文字、文字列、記号であったりしてもよい。本発明では、数値NVは、パラメータ値や、文字、文字列、記号等を含むものとする。また、制御部15で、各ホール素子HA,HC,HE,HFの出力値を変換する際のn進数は、任意に変えることが可能である。   The storage unit 16 outputs a numerical value NV corresponding to the hexadecimal number set as described above. The numerical value NV is displayed on a display unit (not shown) or output to a device (not shown) using the numerical value NV via the cable 13 (see FIG. 2). The numerical value NV may be a decimal number that can be easily recognized by a person, a parameter value, a character, a character string, or a symbol when displayed on the display unit. In the present invention, the numerical value NV includes parameter values, characters, character strings, symbols, and the like. In addition, the n-ary number when the control unit 15 converts the output values of the Hall elements HA, HC, HE, and HF can be arbitrarily changed.

<実施形態の動作>
次に、本実施形態に係る磁気式設定装置1による数値NVの設定動作を説明する。
但し、磁気鍵30を設定部10に組合せて、数値NVを記憶部16にセット又はリセットするための組合せ回数は、4回であるとする。また、予め定められたセットされる数値NVはOx0(=0)であり、リセット値はOxF(=15)であるとする。更に、制御部15がセット時に用いる第1パターンは、図7に示す第1,第2,第3,第4姿勢の各16進数及び順番であるとする。更に、制御部15がリセット時に用いる第2パターンは、第3,第4,第1,第2姿勢の各16進数及び順番であるとする。
<Operation of Embodiment>
Next, the setting operation of the numerical value NV by the magnetic setting device 1 according to the present embodiment will be described.
However, it is assumed that the number of combinations for setting or resetting the numerical value NV in the storage unit 16 by combining the magnetic key 30 with the setting unit 10 is four. Further, it is assumed that a predetermined numerical value NV to be set is Ox0 (= 0), and a reset value is OxF (= 15). Further, it is assumed that the first pattern used by the control unit 15 at the time of setting is the hexadecimal number and order of the first, second, third, and fourth postures shown in FIG. Further, it is assumed that the second pattern used by the control unit 15 at the time of reset is the hexadecimal numbers and the order of the third, fourth, first, and second postures.

最初に、磁気式設定装置1において、磁気鍵30で、設定部10に予め定められた数値NV{Ox0(=0)}をセットする際の動作を、図8に示すフローチャートを参照して説明する。
図8に示すステップS1において、操作者が数値セットのため、磁気鍵30を設定部10に各々異なる姿勢で4回当接して組合せたとする。
First, in the magnetic setting device 1, the operation when setting a predetermined numerical value NV {Ox0 (= 0)} in the setting unit 10 with the magnetic key 30 will be described with reference to the flowchart shown in FIG. To do.
In step S1 shown in FIG. 8, it is assumed that the operator sets the numerical value, and the magnetic key 30 is combined with the setting unit 10 by contacting with the setting unit 10 four times in different postures.

ステップS2において、制御部15が、その4回組合せられた際の各ホール素子HA,HC,HE,HFの出力値をその順番に検出し、これら検出された出力値を16進数に変換する。   In step S2, the control unit 15 detects the output values of the Hall elements HA, HC, HE, and HF when they are combined four times in that order, and converts these detected output values into hexadecimal numbers.

次に、ステップS3において、制御部15は、上記ステップS2で検出した各16進数の値及び順番である検出パターンが、第1パターンと一致するか否かを判定する。この判定の結果、一致しなければ、上記ステップS1に戻る。この場合、操作者は第1パターンの姿勢順となるように磁気鍵30の設定部10への組合せをやり直す。   Next, in step S3, the control unit 15 determines whether or not the detected value that is the value and order of each hexadecimal number detected in step S2 matches the first pattern. If the result of this determination is that they do not match, the process returns to step S1. In this case, the operator redoes the combination of the magnetic key 30 with the setting unit 10 so as to be in the first pattern posture order.

一方、一致すれば、ステップS4において、制御部15は、予め定められた数値NVのOx0(=0)を、記憶部16に記憶してセットする。記憶部16からは、セットされた数値NVのOx0(=0)が出力される。   On the other hand, if they match, in step S4, the control unit 15 stores and sets Ox0 (= 0) of a predetermined numerical value NV in the storage unit 16. The storage unit 16 outputs Ox0 (= 0) of the set numerical value NV.

次に、磁気式設定装置1において、磁気鍵30dで、設定部10にセットされた数値NVをリセットする際の動作を、図9に示すフローチャートを参照して説明する。
図9に示すステップS11において、操作者が数値リセットのため、磁気鍵30を設定部10に各々異なる姿勢で4回当接して組合せたとする。
Next, in the magnetic setting device 1, an operation when the numerical value NV set in the setting unit 10 is reset with the magnetic key 30d will be described with reference to a flowchart shown in FIG.
In step S11 shown in FIG. 9, it is assumed that the operator has combined the magnetic key 30 in contact with the setting unit 10 four times in different postures in order to reset the numerical values.

ステップS12において、制御部15が、その4回組合せられた際の各ホール素子HA,HC,HE,HFの出力値をその順番に検出し、これら検出された出力値を16進数に変換する。   In step S12, the control unit 15 detects the output values of the Hall elements HA, HC, HE, and HF when combined four times in that order, and converts the detected output values into hexadecimal numbers.

次に、ステップS13において、制御部15は、上記ステップS12で検出した各16進数の値及び順番による検出パターンが、第2パターンと一致するか否かを判定する。この判定の結果、一致しなければ、上記ステップS11に戻る。この場合、操作者は第2パターンの姿勢順となるように磁気鍵30の設定部10への組合せをやり直す。   Next, in step S13, the control unit 15 determines whether or not the detection pattern based on the value and order of each hexadecimal number detected in step S12 matches the second pattern. If the result of this determination is that they do not match, the process returns to step S11. In this case, the operator redoes the combination of the magnetic key 30 with the setting unit 10 so as to be in the order of the posture of the second pattern.

一方、一致すれば、ステップS14において、制御部15は、記憶部16にセットされた数値NVのOx0(=0)をリセットする。これによって、記憶部16に初期値としてリセット値のOxF(=15)が記憶されて出力される。   On the other hand, if they match, in step S14, the control unit 15 resets Ox0 (= 0) of the numerical value NV set in the storage unit 16. Thus, the reset value OxF (= 15) is stored and output as an initial value in the storage unit 16.

<実施形態の効果>
以上説明したように、本実施形態に係る磁気式設定装置1は、設定部10と、磁気鍵30とを備え、設定部10に制御部15及び記憶部16を備える構成とした。
<Effect of embodiment>
As described above, the magnetic setting device 1 according to the present embodiment includes the setting unit 10 and the magnetic key 30, and the setting unit 10 includes the control unit 15 and the storage unit 16.

設定部10は、複数のホール素子HA〜HFが平面上に複数配置されて内蔵されている。   The setting unit 10 includes a plurality of Hall elements HA to HF arranged on a plane.

磁気鍵30は、ホール素子HA〜HFの何れかの位置に一致するように内蔵された複数の磁石MA〜MFを有し、ホール素子HA〜HFに対向する磁石MA〜MFのS極及びN極の配置が非回転対称となるように、磁石MA〜MFの各々がホール素子HA〜HFの各々に1対ずつ組合されて成る。   The magnetic key 30 has a plurality of magnets MA to MF built in so as to coincide with any position of the Hall elements HA to HF, and the S pole and N of the magnets MA to MF facing the Hall elements HA to HF. Each of the magnets MA to MF is paired with each of the Hall elements HA to HF so that the arrangement of the poles is non-rotationally symmetric.

制御部15は、ホール素子HA〜HFに対向する磁石MA〜MFのS極及びN極の組合せが、組合せの都度異なるように、磁気鍵30を設定部10に少なくとも2回以上組合せた際に、組合せ毎に得られる各々のホール素子HA〜HFの出力値の検出パターンが、予め定められた出力値の第1パターンに一致した場合、所定の数値を記憶部16に記憶してセットする。   When the magnetic key 30 is combined with the setting unit 10 at least twice so that the combination of the south and north poles of the magnets MA to MF facing the hall elements HA to HF is different every time the combination is made. When the detection pattern of the output value of each Hall element HA to HF obtained for each combination matches the first pattern of the predetermined output value, a predetermined numerical value is stored in the storage unit 16 and set.

この構成によれば、磁気鍵30を設定部10に各々異なる姿勢で少なくとも2回以上組合せることにより、所定の数値NVをセットして出力することができる。このため、設定部10の近傍に磁界を有する物が存在しても、その近傍磁界の影響により、各ホール素子HA〜HFの出力値の検出パターンが、第1パターンに一致することはない。このため、適正に所定の数値NVを設定することができる。   According to this configuration, it is possible to set and output the predetermined numerical value NV by combining the magnetic key 30 with the setting unit 10 at least twice in different postures. For this reason, even if an object having a magnetic field exists in the vicinity of the setting unit 10, the detection patterns of the output values of the Hall elements HA to HF do not match the first pattern due to the influence of the near magnetic field. For this reason, the predetermined numerical value NV can be set appropriately.

また、制御部15は、組合せ毎に得られる各々のホール素子HA〜HFの出力値の検出パターンが、第1パターンと異なる出力値の第2パターンに一致した場合に、記憶部16にセットされている数値NVをリセットする制御を行う構成とした。   In addition, the control unit 15 is set in the storage unit 16 when the detection pattern of the output value of each Hall element HA to HF obtained for each combination matches the second pattern of the output value different from the first pattern. The numerical value NV is controlled to be reset.

この構成によれば、設定部10の近傍磁界の影響により、各ホール素子HA〜HFの出力値の検出パターンが、第2パターンに一致することはない。このため、セットされている数値を適正にリセットすることができる。   According to this configuration, the detection pattern of the output value of each Hall element HA to HF does not match the second pattern due to the influence of the near magnetic field of the setting unit 10. For this reason, the set numerical value can be reset appropriately.

また、設定部10は、ホール素子HA〜HF、制御部15及び記憶部16を密閉状に内蔵する筐体を備える構成とした。
この構成によれば、設定部10は、ホール素子HA〜HF、制御部15及び記憶部16を筐体内に密閉状に内蔵し、磁気鍵30の当接(又は近接)により、電気的な接続無しに数値NVの設定を行うことができる。従って、筐体には、隙間や可動部分が存在しないので、使用劣化で隙間が生じることがない。このため、密閉性を必要とする用途、例えば防水を必要とする用途に適用することができる。
The setting unit 10 is configured to include a housing in which the Hall elements HA to HF, the control unit 15 and the storage unit 16 are sealed.
According to this configuration, the setting unit 10 incorporates the Hall elements HA to HF, the control unit 15 and the storage unit 16 in a sealed manner in the housing, and is electrically connected by the contact (or proximity) of the magnetic key 30. The numerical value NV can be set without any change. Accordingly, there are no gaps or movable parts in the casing, so that no gaps are generated due to deterioration in use. For this reason, it is applicable to the use which requires airtightness, for example, the use which requires waterproofing.

この他、上記実施形態では、磁気鍵30(図3)の内部に、6個の磁石MA,MB,MC,MD,ME,MFが、3行2列のマトリックス状に配置されている例を示した。また、設定部10には、そのマトリックス状の6個の磁石MA〜MFの内、磁石MA,MC,ME,MFに対応する位置に、ホール素子HA,HC,HE,HFが配置されている例を示した。   In addition, in the above embodiment, an example in which six magnets MA, MB, MC, MD, ME, and MF are arranged in a matrix of 3 rows and 2 columns inside the magnetic key 30 (FIG. 3). Indicated. In the setting unit 10, Hall elements HA, HC, HE, and HF are arranged at positions corresponding to the magnets MA, MC, ME, and MF among the matrix-like six magnets MA to MF. An example is shown.

なお、各磁石及びホール素子の配置は、上述したように、磁気鍵30の各磁石MA〜MFのS極及びN極と、設定部10の各ホール素子HA〜HFとが、図5(a)〜(d)に示す第1〜第4姿勢のように、互いの面を当接して組合せた場合に、組合せ関係が回転対称とならない配置関係であればよい。言い換えれば、非回転対称となればよい。   As described above, the arrangement of the magnets and the hall elements is such that the south and north poles of the magnets MA to MF of the magnetic key 30 and the hall elements HA to HF of the setting unit 10 are as shown in FIG. ) To (d), as long as they are in contact with each other and combined as in the first to fourth postures, the combination relationship may be an arrangement relationship that does not become rotationally symmetric. In other words, it may be non-rotationally symmetric.

従って、磁気鍵30には、複数の磁石が、m行n列のマトリックス状に配置され、設定部10には、m行n列のマトリックス状の各磁石の内の複数個に対応する位置に、複数のホール素子が配置されていればよい。   Accordingly, the magnetic key 30 has a plurality of magnets arranged in a matrix of m rows and n columns, and the setting unit 10 has positions corresponding to a plurality of each of the magnets in a matrix of m rows and n columns. It is sufficient that a plurality of Hall elements are arranged.

また、上記実施形態では、磁気鍵30を設定部10に対して、図5(a)〜(d)に示す第1〜第4姿勢のように組合せた。つまり、磁気鍵30をA面又はB面において、180度回転させて設定部10に組合せたが、90度など任意の角度回転させる方式としてもよい。   Moreover, in the said embodiment, the magnetic key 30 was combined with the setting part 10 like the 1st-4th attitude | position shown to Fig.5 (a)-(d). That is, the magnetic key 30 is rotated 180 degrees on the A or B surface and combined with the setting unit 10, but a method of rotating the magnetic key 30 by an arbitrary angle such as 90 degrees may be used.

上述では、磁気検出手段としてホール素子HA〜HFを一例に挙げて説明したが、この他、磁気検出手段としては、次のような素子又はセンサであってもよいが、それらに限定されるものではない。即ち、磁気抵抗効果素子、磁気インピーダンス素子{MI(Magneto-Impedance element)素子}等であってもよい。   In the above description, the Hall elements HA to HF are described as an example of the magnetic detection means. However, the magnetic detection means may be the following elements or sensors, but is not limited thereto. is not. That is, it may be a magnetoresistive effect element, a magneto-impedance element {MI (Magneto-Impedance element) element}, or the like.

但し、磁気抵抗効果素子には、MR(Magneto Resistive effect)素子、AMR(anisotropic magnetoresistance)素子、GMR(Giant Magneto Resistive)素子、TMR(Tunneling Magneto-resistive)素子等がある。   However, magnetoresistive elements include MR (Magneto Resistive effect) elements, AMR (anisotropic magnetoresistance) elements, GMR (Giant Magneto Resistive) elements, TMR (Tunneling Magneto-resistive) elements, and the like.

<実施形態の適用例>
図10(a)は、本発明の実施形態に係る磁気式設定装置1の設定部10を適用した傾斜計50の構成を示す平面図、(b)は(a)に示す矢印Y3方向から見た傾斜計50の側面図である。但し、傾斜計50は、磁気鍵30(図3)を対として備えるものとする。また、設定部10の制御部15aは、上述した制御部15{図2(b)}とは後述のように異なる制御も行う。
<Application example of embodiment>
FIG. 10A is a plan view showing the configuration of the inclinometer 50 to which the setting unit 10 of the magnetic setting device 1 according to the embodiment of the present invention is applied, and FIG. 10B is a view from the direction of the arrow Y3 shown in FIG. FIG. However, the inclinometer 50 is provided with the magnetic key 30 (FIG. 3) as a pair. Moreover, the control part 15a of the setting part 10 also performs control different from the control part 15 {FIG. 2 (b)} described above as described later.

傾斜計50は、密閉状(又は防水状)の筐体11aの内部に、傾斜角度を計測する傾斜センサ52と、上述した設定部10とを備えて構成されている。傾斜計50は、図10(b)に示すように、凸部10aを有する面が上面、この反対側の面が下面であり、下面側に傾斜センサ52が配置されている。   The inclinometer 50 includes an inclination sensor 52 that measures an inclination angle and the setting unit 10 described above inside a sealed (or waterproof) casing 11a. In the inclinometer 50, as shown in FIG. 10B, the surface having the convex portion 10a is the upper surface, the opposite surface is the lower surface, and the inclination sensor 52 is disposed on the lower surface side.

傾斜センサ52は、公知技術により形成された傾斜センサである。この傾斜センサ52は、一例を挙げると、基板にアレー状に2つの電極が配置され、一方の電極が固定電極、他方の電極が可動電極となっている。可動電極は、スプリングバネに電極が取り付けられて可能自在となっている。更に、傾斜センサ52は、当該傾斜センサ52が水平時の静電容量を基準とし、傾斜センサが傾くと、可動電極の位置が固定電極に対して変動し、この変動により変化する静電容量の変化量を角度に変換して、傾斜角度を計測している。   The tilt sensor 52 is a tilt sensor formed by a known technique. For example, the tilt sensor 52 has two electrodes arranged in an array on a substrate, one electrode being a fixed electrode and the other electrode being a movable electrode. The movable electrode is made possible by attaching an electrode to a spring spring. Further, the tilt sensor 52 is based on the electrostatic capacitance when the tilt sensor 52 is horizontal, and when the tilt sensor is tilted, the position of the movable electrode varies with respect to the fixed electrode, and the capacitance of the capacitance that changes due to this variation. The amount of change is converted into an angle, and the tilt angle is measured.

図11に示すように、傾斜センサ52で計測される角度θ1は、制御部15aへ出力される。制御部15aは、その角度θ1を角度θ2として記憶部16に記憶する制御を行う。記憶部16は記憶された角度θ2を出力する。制御部15aは、傾斜センサ52から入力される角度θ1が異なる都度、異なる角度θ1を、角度θ2として記憶部16に上書きする制御を行う。   As shown in FIG. 11, the angle θ1 measured by the tilt sensor 52 is output to the control unit 15a. The control unit 15a performs control to store the angle θ1 in the storage unit 16 as the angle θ2. The storage unit 16 outputs the stored angle θ2. Whenever the angle θ1 input from the tilt sensor 52 is different, the control unit 15a performs control to overwrite the storage unit 16 with the different angle θ1 as the angle θ2.

また、制御部15aは、上述したように、操作者が角度セットのため、磁気鍵30(図3)を傾斜計50の設定部10に各々異なる姿勢で4回当接して組合せた際の各ホール素子HA,HC,HE,HFの出力値をその順番に検出し、これら検出された出力値を16進数に変換する。更に、制御部15aは、その変換された各16進数の値及び順番による検出パターンが、第1パターン(例えば、図7に示す第1,第2,第3,第4姿勢の各16進数の値及び順番)と一致するか否かを照合により求める。但し、第1パターンは、制御部15内の図示せぬメモリ部に予め保持されている。以降、制御部15内のメモリ部を、単にメモリ部と記載する。   Further, as described above, the control unit 15a is configured so that the operator can set each angle when the magnetic key 30 (FIG. 3) is combined with the setting unit 10 of the inclinometer 50 in contact with each other four times in different postures. The output values of the Hall elements HA, HC, HE, and HF are detected in that order, and the detected output values are converted into hexadecimal numbers. Further, the control unit 15a determines that the detection pattern based on the converted hexadecimal value and order is the first pattern (for example, each hexadecimal number in the first, second, third, and fourth postures shown in FIG. 7). Value and order) are determined by collation. However, the first pattern is held in advance in a memory unit (not shown) in the control unit 15. Hereinafter, the memory unit in the control unit 15 is simply referred to as a memory unit.

制御部15aは、その照合の結果、一致する場合、傾斜センサ52から入力される角度(実測角度)θ1を、予め定められる設定角度θ1aに補正し、この補正後の角度θ2を記憶部16にセットする。この際、実測角度θ1と設定角度θ1aとの差を、差分角度θ1bとして、メモリ部に保持しておく。なお、設定角度θ1aは、後述では一例として0度とするが、それ以外に、10度など任意の角度とすることができる。   If they match as a result of the collation, the control unit 15a corrects the angle (measured angle) θ1 input from the tilt sensor 52 to a predetermined set angle θ1a, and stores the corrected angle θ2 in the storage unit 16. set. At this time, the difference between the measured angle θ1 and the set angle θ1a is stored in the memory unit as the difference angle θ1b. The set angle θ1a is set to 0 degrees as an example in the following, but may be an arbitrary angle such as 10 degrees.

例えば、設定角度θ1a=0度、実測角度θ1=2度の場合に、制御部15aは、上述した照合結果が一致する場合、実測角度θ1=2度を、設定角度θ1a=0度に補正し、この補正後の角度θ2=0度を記憶部16にセットする。この際、実測角度θ1=2度から設定角度θ1a=0度を減算した差分角度θ1b=2度をメモリ部に保持する。   For example, when the set angle θ1a = 0 degrees and the actually measured angle θ1 = 2 degrees, the control unit 15a corrects the actually measured angle θ1 = 2 degrees to the set angle θ1a = 0 degrees when the above-described matching results match. The corrected angle θ2 = 0 degree is set in the storage unit 16. At this time, a difference angle θ1b = 2 degrees obtained by subtracting the set angle θ1a = 0 degrees from the actually measured angle θ1 = 2 degrees is held in the memory unit.

また、制御部15aは、記憶部16への角度θ2のセット後、傾斜センサ52から今迄とは異なる実測角度θ1が入力される都度、この入力される実測角度θ1から差分角度θ1bを減算して補正する。この補正で得られる角度θ2は記憶部16にセットされる。   Further, after setting the angle θ2 to the storage unit 16, the control unit 15a subtracts the differential angle θ1b from the input actual measurement angle θ1 every time an actual measurement angle θ1 different from the conventional one is input from the tilt sensor 52. To correct. The angle θ2 obtained by this correction is set in the storage unit 16.

次に、制御部15aは、上述したように、操作者が角度リセットのため、磁気鍵30を傾斜計50の設定部10にセット時とは各々異なる姿勢で4回当接して組合せた際の各ホール素子HA,HC,HE,HFの出力値をその順番に検出し、これら検出された出力値を16進数に変換する。更に、制御部15aは、その変換された各16進数の値及び順番による検出パターンが、メモリ部に予め保持された第2パターン(例えば、図7に示す第3,第4,第1,第2姿勢の各16進数の値及び順番)と一致するか否かを照合により求める。   Next, as described above, the control unit 15a is used when the operator combines the magnetic key 30 with the setting unit 10 of the inclinometer 50 in contact with the setting unit 10 four times in a posture different from that at the time of setting. The output values of the hall elements HA, HC, HE, and HF are detected in that order, and the detected output values are converted into hexadecimal numbers. Further, the control unit 15a uses the second pattern (for example, the third, fourth, first, and first patterns shown in FIG. 7) in which the detection pattern based on the converted hexadecimal value and order is stored in the memory unit in advance. It is determined by collation whether or not it matches the hexadecimal values and order of the two postures.

制御部15aは、その照合の結果、一致する場合、メモリ部に保持している差分角度θ1bを消去して初期値(単に、消去という)とする(0とする)。これによって、制御部15aは、傾斜センサ52から入力される角度θ1を、そのままの値で記憶部16を介して出力する制御を行うようになる。   If they match as a result of the collation, the control unit 15a erases the difference angle θ1b held in the memory unit and sets it to an initial value (simply referred to as erasure) (sets to 0). Thus, the control unit 15a performs control to output the angle θ1 input from the tilt sensor 52 through the storage unit 16 as it is.

また、制御部15aは、その照合の結果、一致する場合、メモリ部に保持している差分角度θ1bを無効としてもよい。この場合、メモリ部に保持している差分角度θ1bを無効とするので、その差分角度θ1bを保持ししたまま、別の差分角度を設定することが可能となる。これにより、複数の差分角度を保持しておき、必要時に無効とされている差分角度を有効として使用することが可能となる。   Further, when the result of the collation is that they match, the control unit 15a may invalidate the difference angle θ1b held in the memory unit. In this case, since the difference angle θ1b held in the memory unit is invalidated, it is possible to set another difference angle while holding the difference angle θ1b. As a result, a plurality of differential angles can be held, and the differential angles that are invalidated when necessary can be used as valid.

<傾斜計の使用例>
次に、図12を参照して、傾斜計50をクレーン車60に用いる場合について説明する。図12はクレーン車60の側面図である
建設機械であるクレーン61は、転倒等の事故防止のため、車体62の上面62aを水平に保持して載置する必要がある。車体上面62aの水平は、組立工場等において建機メーカの管理者によって定義(メーカ定義)される。この際、従来から傾斜計(70)を用いているが、車体上面62aと傾斜計取付面63aとの平行度が出ていないため、車体上面62aをメーカ定義の水平状態とした場合、傾斜計取付面63aが水平でなくなる。例えば、車体上面62aがメーカ定義の水平状態(例えば0度)の場合に、傾斜計取付面63aは0.5度であるとする。
<Example of use of inclinometer>
Next, with reference to FIG. 12, the case where the inclinometer 50 is used for the crane vehicle 60 will be described. FIG. 12 is a side view of the crane vehicle 60. The crane 61, which is a construction machine, needs to be placed with the upper surface 62a of the vehicle body 62 held horizontally in order to prevent accidents such as falling. The level of the upper surface 62a of the vehicle body is defined (manufacturer-defined) by an administrator of a construction machine manufacturer at an assembly factory or the like. At this time, the inclinometer (70) has been conventionally used. However, since the parallelism between the vehicle body upper surface 62a and the inclinometer mounting surface 63a does not appear, when the vehicle body upper surface 62a is in a manufacturer-defined horizontal state, the inclinometer The mounting surface 63a is not horizontal. For example, when the vehicle body upper surface 62a is in a manufacturer-defined horizontal state (for example, 0 degrees), the inclinometer mounting surface 63a is 0.5 degrees.

現状(従来)では、0.5度傾いた傾斜計取付面63aに載置された傾斜計(70)で計測される角度は0.5度となるので、傾斜計取付面63aと傾斜計(70)との間に板を挟む等して傾斜計(70)の出力値が水平(傾斜角度=0度)になるように調節している。このため調整に手間が掛かったりする。   In the present state (conventional), the angle measured by the inclinometer (70) placed on the inclinometer mounting surface 63a inclined by 0.5 degrees is 0.5 degrees, so the inclinometer mounting surface 63a and the inclinometer ( 70) to adjust the output value of the inclinometer (70) to be horizontal (inclination angle = 0 degree). For this reason, it takes time for adjustment.

本実施形態の傾斜計50を用いる場合について説明する。但し、傾斜計50は、X−Y平面上のX方向及びY方向の角度を計測するが、何れか一方の角度を計測するものとして説明する。   The case where the inclinometer 50 of this embodiment is used is demonstrated. However, the inclinometer 50 measures the angle in the X direction and the Y direction on the XY plane, but will be described as measuring either one of the angles.

まず、上述の0.5度傾いた傾斜計取付面63aに傾斜計50を載置する。次に、操作者が角度セットのため、磁気鍵30(図3)を傾斜計50の設定部10(図10)に予め定められた各々異なる姿勢で4回当接して組合せる。この各組合せにより、傾斜計50の制御部15aが各ホール素子HA,HC,HE,HFの出力値をその組合せ順に検出して16進数に変換する。更に、制御部15は、その変換された各16進数の値及び順番による検出パターンが、第1パターンと一致するか否かを照合する。   First, the inclinometer 50 is placed on the inclinometer mounting surface 63a inclined by 0.5 degrees. Next, the operator sets the angle by setting the magnetic key 30 (FIG. 3) in contact with the setting unit 10 (FIG. 10) of the inclinometer 50 four times with different predetermined postures. With each combination, the control unit 15a of the inclinometer 50 detects the output values of the Hall elements HA, HC, HE, and HF in the order of the combination and converts them into hexadecimal numbers. Further, the control unit 15 collates whether or not the detected detection value based on the converted hexadecimal value and order matches the first pattern.

制御部15aは、その照合の結果、一致する場合、傾斜センサ52から入力された実測角度θ1=0.5度を、設定角度θ1a=0度に補正し、この補正後の角度θ2=0度を記憶部16にセットする。この際、実測角度θ1=0.5度と設定角度θ1a=0度との差分角度θ1b=0.5度をメモリ部に保持しておく。   If they match as a result of the collation, the control unit 15a corrects the measured angle θ1 = 0.5 degrees input from the tilt sensor 52 to the set angle θ1a = 0 degrees, and the corrected angle θ2 = 0 degrees. Is set in the storage unit 16. At this time, the difference angle θ1b = 0.5 degrees between the actually measured angle θ1 = 0.5 degrees and the set angle θ1a = 0 degrees is held in the memory unit.

保持した差分角度θ1b=0.5度は、上記の角度θ2のセット後に、クレーン車60を現場で水平に固定する際に、次のように用いる。
クレーン車60を現場に設置する場合、クレーン車60の車体を現場の所定位置に設置して目視で水平とする。
The held differential angle θ1b = 0.5 degrees is used as follows when the crane 60 is fixed horizontally on the site after setting the angle θ2.
When the crane vehicle 60 is installed on the site, the body of the crane vehicle 60 is installed at a predetermined position on the site and is visually leveled.

次に、傾斜計50の角度計測機能をオンとする。この場合、傾斜計取付面63aに載置された傾斜計50の傾斜センサ52の実測角度θ1が1.5度であれば、実測角度θ1=1.5度から差分角度θ1b=0.5度が減算され、この角度θ2=1度が記憶部16にセットされて出力される。この場合、表示部には、傾斜角度が1度として表示される。   Next, the angle measurement function of the inclinometer 50 is turned on. In this case, if the measured angle θ1 of the tilt sensor 52 of the inclinometer 50 placed on the inclinometer mounting surface 63a is 1.5 degrees, the difference angle θ1b = 0.5 degrees from the measured angle θ1 = 1.5 degrees. Is subtracted, and this angle θ2 = 1 degree is set in the storage unit 16 and output. In this case, the display unit displays the tilt angle as 1 degree.

そこで、車体の水平を調整する4本のアウトリガー64によって、傾斜計50の表示角度が0度となるように、車体上面62aの角度を調整する。この調整により、傾斜計取付面63aに載置された傾斜計50の傾斜センサ52の実測角度θ1が0.5度になれば、実測角度θ1=0.5度から差分角度θ1b=0.5度が減算され、出荷時に設定された設定角度θ1aと同じ、角度θ2=0度が記憶部16にセットされて出力される。表示部には、傾斜角度の0度(水平)が表示される。   Therefore, the angle of the vehicle body upper surface 62a is adjusted by the four outriggers 64 that adjust the level of the vehicle body so that the display angle of the inclinometer 50 becomes 0 degrees. As a result of this adjustment, when the measured angle θ1 of the tilt sensor 52 of the inclinometer 50 placed on the inclinometer mounting surface 63a becomes 0.5 degrees, the difference angle θ1b = 0.5 from the measured angle θ1 = 0.5 degrees. The degree is subtracted, and the same angle θ2 = 0 degrees as the set angle θ1a set at the time of shipment is set in the storage unit 16 and output. The display unit displays an inclination angle of 0 degrees (horizontal).

このように、傾斜計50を、クレーン車60の出荷時やクレーン車60の設置時等に必要な水平調整に用いれば、水平調整を容易且つ適正に行うことができる。   In this way, if the inclinometer 50 is used for level adjustment required at the time of shipment of the crane truck 60, installation of the crane truck 60, etc., the level adjustment can be performed easily and appropriately.

また、セットされた角度θ2を、リセットする場合も、磁気鍵30を傾斜計50の設定部10にセット時とは異なる姿勢パターンで4回当接して組合せれば、容易且つ適正にリセットすることができる。
この他、傾斜計50は、水平調整や所定角度の調整が必要なロボットや、産業機械等に用いることもできる。
Even when the set angle θ2 is reset, it can be easily and properly reset by combining the magnetic key 30 with the setting unit 10 of the inclinometer 50 four times in a posture pattern different from that at the time of setting. Can do.
In addition, the inclinometer 50 can also be used for robots, industrial machines, and the like that require horizontal adjustment and adjustment at a predetermined angle.

その他、以上説明した実施形態においては、具体的な構成について、本発明の主旨を逸脱しない範囲で適宜変更が可能である。   In addition, in the embodiment described above, the specific configuration can be appropriately changed without departing from the gist of the present invention.

<実施形態の他の適用例>
磁気設定装置1は、傾斜計50以外にも次のように適用することができる。傾斜計50では、水平を出力する位置(角度)が重要な基準となるが、その他の位置検出技術においても重要な基準位置が存在する。例えば、直線型変位センサや回転角度センサが、産業機械の駆動部の位置検出に活用されている。これらのセンサでも、産業機械の駆動部が特定の基準位置に来た場合に、基準となる出力(基準値)を設定し、この設定された基準値を出力させることが望ましい。
<Other application examples of the embodiment>
The magnetic setting device 1 can be applied as follows in addition to the inclinometer 50. In the inclinometer 50, the position (angle) at which the horizontal is output is an important reference, but there is an important reference position in other position detection techniques. For example, a linear displacement sensor and a rotation angle sensor are used for detecting the position of a drive unit of an industrial machine. Even in these sensors, when the drive unit of the industrial machine comes to a specific reference position, it is desirable to set a reference output (reference value) and output the set reference value.

このような場合に、磁気式設定装置1を用いた直線型変位センサや回転角度センサであれば、組立後の産業機械の駆動部を基準位置まで駆動させた後に、磁気鍵30(図1参照)を直線型変位センサ又は回転角度センサの設定部10(図1参照)に異なる姿勢パターンで所定回数当接して組合せ、直線型変位センサ又は回転角度センサの現在位置を基準位置に設定するためのパターンを、ホール素子HA,HC,HE,HF(図11参照)から出力させる。このパターンを制御部15a(図11参照)で検出し、予め定められたパターン(上記の第1パターン)と一致するか否かを照合して、記憶部16(図11参照)に基準値を設定することができる。   In such a case, in the case of a linear displacement sensor or a rotation angle sensor using the magnetic setting device 1, the magnetic key 30 (see FIG. 1) is driven after the drive unit of the assembled industrial machine is driven to the reference position. ) Are combined with the linear displacement sensor or the rotation angle sensor setting unit 10 (see FIG. 1) a predetermined number of times in different posture patterns and combined to set the current position of the linear displacement sensor or the rotation angle sensor as the reference position. A pattern is output from the Hall elements HA, HC, HE, and HF (see FIG. 11). This pattern is detected by the control unit 15a (see FIG. 11), collated with a predetermined pattern (the first pattern described above), and the reference value is stored in the storage unit 16 (see FIG. 11). Can be set.

1 磁気式設定装置
10 設定部
10a 凸部
11,11a 筐体
12 コネクタ
13 ケーブル
14 基板
15 制御部
16 記憶部
30 磁気鍵
30a 切欠き部
30b 第1凹部
30c 第2凹部
50 傾斜計
52 傾斜センサ
HA,HC,HE,HF ホール素子
MA,MB,MC,MD,ME,MF 磁石
DESCRIPTION OF SYMBOLS 1 Magnetic type setting apparatus 10 Setting part 10a Convex part 11,11a Case 12 Connector 13 Cable 14 Board | substrate 15 Control part 16 Memory | storage part 30 Magnetic key 30a Notch part 30b 1st recessed part 30c 2nd recessed part 50 Inclinometer 52 Inclination sensor HA , HC, HE, HF Hall element MA, MB, MC, MD, ME, MF Magnet

Claims (7)

磁気を検出し、この検出された磁気のS極又はN極に応じた検出値を出力する少なくとも1つ以上の磁気検出手段が内蔵された設定手段と、
前記設定手段と別体であり、当該設定手段に重ねられた際に、前記磁気検出手段の位置にS極又はN極が対向するように内蔵された少なくとも1つ以上の磁石を有する鍵手段と、
前記鍵手段が前記設定手段に重ねられて前記磁気検出手段に前記磁石のS極又はN極が対向状態に組合された際に、当該磁気検出手段の出力値を検出し、この検出される出力値に応じて、所定の設定を行うように制御する制御手段と、
を備え、
前記鍵手段が前記設定手段に異なる姿勢で少なくとも2回以上重ねられた際に、前記制御手段は、当該2回以上重ねられる毎に検出した前記磁気検出手段の出力値の検出パターンが、予め定められた出力値の第1パターンに一致した場合、所定の設定を行うように制御する
ことを特徴とする磁気式設定装置。
Setting means including at least one or more magnetic detection means for detecting magnetism and outputting a detection value corresponding to the detected magnetic S pole or N pole;
Key means having at least one or more magnets which are separate from the setting means and are built in such a way that the S pole or N pole faces the position of the magnetic detection means when superimposed on the setting means. ,
When the key means is overlapped with the setting means and the S pole or N pole of the magnet is combined with the magnetism detection means in an opposed state, the output value of the magnetism detection means is detected and the detected output Control means for controlling to perform a predetermined setting according to a value;
With
When the key unit is superimposed on the setting unit at least twice in a different posture, the control unit detects a detection pattern of the output value of the magnetic detection unit detected every time the key unit is superimposed twice or more. A magnetic setting device that controls to perform a predetermined setting when the output value matches the first pattern.
前記制御手段が行う前記所定の設定の制御は、所定の数値をセットする制御である
ことを特徴とする請求項1に記載の磁気式設定装置。
The magnetic setting device according to claim 1, wherein the control of the predetermined setting performed by the control means is a control of setting a predetermined numerical value.
前記制御手段は、前記検出パターンが、前記第1パターンと異なる出力値の第2パターンに一致した場合に、前記所定の設定をリセットする制御を行う
ことを特徴とする請求項1又は2に記載の磁気式設定装置。
3. The control unit according to claim 1, wherein the control unit performs control to reset the predetermined setting when the detection pattern coincides with a second pattern having an output value different from that of the first pattern. Magnetic setting device.
前記設定手段は、前記磁気検出手段及び前記制御手段を密閉状に内蔵する筐体
を備えることを特徴とする請求項1〜3の何れか1項に記載の磁気式設定装置。
The magnetic setting device according to any one of claims 1 to 3, wherein the setting means includes a casing that houses the magnetic detection means and the control means in a sealed manner.
請求項1〜4の何れか1項に記載の磁気式設定装置を備え、傾斜の角度を計測し、当該計測された角度を出力する傾斜センサを有する傾斜計であって、
前記鍵手段が前記設定手段に異なる姿勢で少なくとも2回以上重ねられた際に、前記制御手段は、当該2回以上重ねられる毎に検出した前記磁気検出手段の出力値の検出パターンが、前記第1パターンに一致した場合、所定の角度をセットする制御を行う
ことを特徴とする磁気式設定装置を用いた傾斜計。
An inclinometer comprising the magnetic setting device according to any one of claims 1 to 4, having an inclination sensor that measures an angle of inclination and outputs the measured angle,
When the key unit is superimposed on the setting unit at least twice in a different posture, the control unit detects the detection pattern of the output value of the magnetic detection unit detected every time the key unit is superimposed twice or more. An inclinometer using a magnetic setting device that controls to set a predetermined angle when it matches one pattern.
前記制御手段は、前記検出パターンが前記第1パターンに一致した際に所定の角度をセットした時点で、前記傾斜センサで計測される角度と、前記セットした角度との差分角度を保持し、この保持以降に当該傾斜センサで計測される角度を、当該角度から前記差分角度を減算して補正する制御を行う
ことを特徴とする請求項5に記載の磁気式設定装置を用いた傾斜計。
The control means holds a difference angle between the angle measured by the tilt sensor and the set angle when a predetermined angle is set when the detection pattern matches the first pattern. The inclinometer using the magnetic setting device according to claim 5, wherein after the holding, an angle measured by the tilt sensor is controlled by subtracting the difference angle from the angle.
前記制御手段は、前記検出パターンが、前記第1パターンと異なる出力値の第2パターンに一致した際に、前記保持されている前記差分角度を消去又は無効とする制御を行う
ことを特徴とする請求項6に記載の磁気式設定装置を用いた傾斜計。
The control means performs control to erase or invalidate the held difference angle when the detection pattern matches a second pattern having an output value different from that of the first pattern. An inclinometer using the magnetic setting device according to claim 6.
JP2014215087A 2014-10-22 2014-10-22 Magnetic setting device and inclinometer using the magnetic setting device Active JP6517491B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014215087A JP6517491B2 (en) 2014-10-22 2014-10-22 Magnetic setting device and inclinometer using the magnetic setting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014215087A JP6517491B2 (en) 2014-10-22 2014-10-22 Magnetic setting device and inclinometer using the magnetic setting device

Publications (2)

Publication Number Publication Date
JP2015092155A true JP2015092155A (en) 2015-05-14
JP6517491B2 JP6517491B2 (en) 2019-05-22

Family

ID=53195384

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014215087A Active JP6517491B2 (en) 2014-10-22 2014-10-22 Magnetic setting device and inclinometer using the magnetic setting device

Country Status (1)

Country Link
JP (1) JP6517491B2 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5476018A (en) * 1977-11-30 1979-06-18 Sanyo Electric Co Ltd Magnetic signal detecting device
JPS61193272A (en) * 1985-02-20 1986-08-27 Motohiro Gotanda Magnetic pole array reader
JPS6334264U (en) * 1986-08-22 1988-03-05
JPH0661887U (en) * 1993-02-05 1994-09-02 鹿島建設株式会社 Crane hook tilt alarm device
JP2001188932A (en) * 1999-12-28 2001-07-10 Sankyo Seiki Mfg Co Ltd Coin discriminating device
JP2004279383A (en) * 2003-03-19 2004-10-07 Midori Sokki:Kk Clinometer
JP2011204561A (en) * 2010-03-26 2011-10-13 Ntt Docomo Inc Key switch

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5476018A (en) * 1977-11-30 1979-06-18 Sanyo Electric Co Ltd Magnetic signal detecting device
JPS61193272A (en) * 1985-02-20 1986-08-27 Motohiro Gotanda Magnetic pole array reader
JPS6334264U (en) * 1986-08-22 1988-03-05
JPH0661887U (en) * 1993-02-05 1994-09-02 鹿島建設株式会社 Crane hook tilt alarm device
JP2001188932A (en) * 1999-12-28 2001-07-10 Sankyo Seiki Mfg Co Ltd Coin discriminating device
JP2004279383A (en) * 2003-03-19 2004-10-07 Midori Sokki:Kk Clinometer
JP2011204561A (en) * 2010-03-26 2011-10-13 Ntt Docomo Inc Key switch

Also Published As

Publication number Publication date
JP6517491B2 (en) 2019-05-22

Similar Documents

Publication Publication Date Title
JP4879495B2 (en) Accelerometer
JP5194180B2 (en) Motion sensing program and electronic compass provided with the same
CN103376426B (en) Magnetic field sensor
US9459121B2 (en) Angle measuring device and methods for calibration
KR100655937B1 (en) Geomagnetic sensor for computing azimuth and method thereof
CN107077146A (en) For the control method of head, control system, head and unmanned vehicle
ATE507460T1 (en) MOTION METER AND PORTABLE TELEPHONE WITH THE MOTION METER
CN108627083A (en) Angular transducer system
RU2615612C2 (en) Contactless true dual axis shaft encoder
US9857438B2 (en) Magnetoresistive devices
CN103105109B (en) Measuring appliance
JP6517491B2 (en) Magnetic setting device and inclinometer using the magnetic setting device
US7036233B1 (en) Pivot linkage including a non-contact, rotational angle measurement sensor for heavy machinery
CN109891186A (en) Integrated form dual rotary position sensor
JP7392745B2 (en) Magnetic sensors and magnetic sensor systems
WO2019049652A1 (en) Displacement detecting device
CN100432630C (en) Magnetic position sensor with integrated hall effect switch
TWI705232B (en) Angle sensing device
TWI834650B (en) Rotary angle detecting device
CN112068048B (en) Position detecting device
JP5706355B2 (en) Rotation angle detector
JP5132065B2 (en) 3-DOF rotation detection device and method
JP2013120090A (en) Rotation angle detector
WO2006106458A1 (en) Multi-axis accelerometer with magnetic field detectors
CN105094634B (en) Portable electronic devices and its rotary detecting method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20171004

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20181030

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20181213

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190418

R150 Certificate of patent or registration of utility model

Ref document number: 6517491

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250