JP2010273799A - Magnet detector and method for detecting magnet - Google Patents

Magnet detector and method for detecting magnet Download PDF

Info

Publication number
JP2010273799A
JP2010273799A JP2009127991A JP2009127991A JP2010273799A JP 2010273799 A JP2010273799 A JP 2010273799A JP 2009127991 A JP2009127991 A JP 2009127991A JP 2009127991 A JP2009127991 A JP 2009127991A JP 2010273799 A JP2010273799 A JP 2010273799A
Authority
JP
Japan
Prior art keywords
magnet
detection
output
magnetic
detection element
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
JP2009127991A
Other languages
Japanese (ja)
Other versions
JP5391835B2 (en
Inventor
Masashi Sato
雅思 佐藤
Takehiro Agata
剛宏 阿形
Michinori Sugiura
充典 杉浦
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.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP2009127991A priority Critical patent/JP5391835B2/en
Publication of JP2010273799A publication Critical patent/JP2010273799A/en
Application granted granted Critical
Publication of JP5391835B2 publication Critical patent/JP5391835B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Pinball Game Machines (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a magnet detector allowing highly sensitive detection of a magnet used for illegal conducts against a game machine by preventing erroneous detection caused due to deviation of a detection origin by influence of excitation change and temperature rise caused due to power supply to electronic equipment. <P>SOLUTION: The magnet detector determines that the magnet is present near the magnet detector if output from a magnetic detection element is greater by a predetermined threshold value than a detection coordinate origin when no magnet is present near the magnet detector. An origin correction processing part discontinuously or continuously obtains output values from the magnetic detection element per predetermined period of time after the power supply to the magnet detector. When an amount of output change of the magnetic detection element in a predetermined period of time is smaller than the predetermined threshold value, the detection coordinate origin is corrected to a detection coordinate origin in the next predetermined period of time based on an average value of the output value from the magnetic detection element in the predetermined period of time. When the amount of output change of the magnetic detection element in the predetermined period of time is the predetermined threshold value or greater, it is determined that the magnet is detected. <P>COPYRIGHT: (C)2011,JPO&amp;INPIT

Description

本発明は磁石検知装置及び磁石検知方法に関し、特にパチンコ遊技機に取付けられる不正磁石検知装置において、温度変化及び励磁変化の影響を受ける事なく遊技機前面にて不正に作用する磁石を検出する不正磁石検出装置及び方法に関する。   The present invention relates to a magnet detection device and a magnet detection method, and in particular, in a fraudulent magnet detection device attached to a pachinko machine, a fraud that detects a fraudulently acting magnet in front of the game machine without being affected by temperature change and excitation change. The present invention relates to a magnet detection apparatus and method.

磁石を用いてパチンコ球の動きを操作して不当に入賞口にパチンコ球を入賞させて賞球を獲得する不正行為が行われる事がある。不正行為に用いられる磁石を検知する先行技術として特許文献1にて遊技機の裏面に取付けられた磁石検出器を用いて不正行為に用いられる外部磁石を検出して報知する事で不正行為を防止する提案がなされている。   An illegal act may be performed in which a pachinko ball is unfairly awarded by operating a movement of a pachinko ball using a magnet to win a prize ball by winning an award. As a prior art for detecting magnets used for fraudulent acts, patent document 1 uses a magnet detector attached to the back of a gaming machine to detect and notify external magnets used for fraudulent acts to prevent fraudulent acts. Proposals have been made.

また、リードスイッチよりも高感度に磁気を検出可能なホール素子を用いた磁石検出手段を遊技機の裏面に取付けて高感度に外部磁石を検出する先行技術として特許文献2が開示されている。   Further, Patent Literature 2 is disclosed as a prior art for detecting an external magnet with high sensitivity by attaching a magnet detection means using a Hall element capable of detecting magnetism with higher sensitivity than a reed switch to the back surface of the gaming machine.

しかし、遊技機の裏面は電装部品からの放熱の影響により高温となり、温度上昇の影響を受けやすいホール素子を用いた磁石検出装置では誤検出する事がある。この誤検出を防止するために、前記特許文献2においては温度保障回路を用いて温度上昇分の出力電圧を補正する事により温度の影響を受ける事なく外部磁石の磁気を正確に検出する不正防止装置が提案されている。   However, the back surface of the gaming machine becomes a high temperature due to the effect of heat radiation from the electrical components, and may be erroneously detected by a magnet detection device using a Hall element that is easily affected by a temperature rise. In order to prevent this erroneous detection, in the above-mentioned Patent Document 2, the anti-tampering that accurately detects the magnetism of the external magnet without being affected by the temperature by correcting the output voltage corresponding to the temperature rise by using the temperature guarantee circuit. A device has been proposed.

実開昭61−10786号公報Japanese Utility Model Publication No. 61-10786

特開昭60−40078JP 60-40078

上記特許文献2においては、温度保障回路であるツエナーダイオードからホール素子への印加電圧およびホール素子が磁気を検出して出力する出力電圧は、ツエナーダイオード及びホール素子の個々の特性によるバラツキがある。ホール素子からの出力電圧を増幅器により増幅して警報を出力しているので、ホール素子の特性のバラツキにより増幅後の出力電圧のホール素子による差が大きくなるという課題がある。   In Patent Document 2, the voltage applied from the Zener diode, which is a temperature guarantee circuit, to the Hall element and the output voltage output by detecting the magnetism of the Hall element vary depending on the characteristics of the Zener diode and the Hall element. Since the output voltage from the Hall element is amplified by an amplifier and an alarm is output, there is a problem that the difference between the amplified output voltage due to the Hall element increases due to variations in characteristics of the Hall element.

一般に検出感度を高める為には検出素子からの出力電圧を増幅する事で検出感度を高くしている。その為、検出素子からの出力電圧にバラツキがあると出力電圧の増幅率を上げて高感度化をする事が出来なくなってしまう。   In general, in order to increase the detection sensitivity, the detection sensitivity is increased by amplifying the output voltage from the detection element. For this reason, if the output voltage from the detection element varies, it becomes impossible to increase the amplification factor of the output voltage and increase the sensitivity.

また、パチンコ機の主基板や大型液晶、モータなどはパチンコ遊技機に電源が投入されるとパチンコ遊技機内の導電線のまわりに磁気が発生する。従来の磁石検知装置は、磁石検知装置の電源投入時に磁気検出素子の磁気出力値を検出座標原点として設定しているので、磁石検知装置の電源投入後にパチンコ遊技機の電源を投入するとこの磁気の影響で検出座標原点がずれてしまい正しく外部磁石の磁気を検出できなくなる課題もある。   In addition, the main board, large liquid crystal, motor, etc. of the pachinko machine generate magnetism around the conductive wires in the pachinko machine when the power is turned on. In the conventional magnet detection device, when the magnet detection device is turned on, the magnetic output value of the magnetic detection element is set as the detection coordinate origin, so when the pachinko machine is turned on after the magnet detection device is turned on, There is also a problem that the detection coordinate origin shifts due to the influence and the magnetism of the external magnet cannot be detected correctly.

一般には、温度センサなどを使って温度変化をモニタしてこの温度ドリフト特性を補正する方法があるが、温度センサ追加によるコストや温度センサ自体の特性バラツキを補正するための調整コストなどが必要になり磁気検出装置のコストアップにつながってしまう。また、この方法では、パチンコ機の主基板や大型液晶、モータなどの磁気オフセット変化を補正することができない。   In general, there is a method to correct the temperature drift characteristics by monitoring temperature changes using a temperature sensor, etc., but there is a need for additional costs for the temperature sensor and adjustment costs for correcting the characteristic variations of the temperature sensor itself. This leads to an increase in the cost of the magnetic detection device. Also, this method cannot correct the magnetic offset change of the main board, large liquid crystal, motor, etc. of the pachinko machine.

本発明の目的は、本発明は上記課題に鑑みて、ホール素子などの磁気検出素子や温度センサの検出特性のバラツキを調整する事なく温度上昇の影響を受けずに遊技機の不正行為に用いられる外部磁石を高感度に検出可能な磁石検出装置を提案することにある。   In view of the above-mentioned problems, the object of the present invention is to use it for fraudulent gaming machines without being affected by temperature rise without adjusting variations in detection characteristics of magnetic detection elements such as Hall elements and temperature sensors. Another object of the present invention is to propose a magnet detection device that can detect an external magnet with high sensitivity.

本発明の他の目的は、磁気検出素子周辺に存在する電子機器の電源投入に起因する励磁変化による検出原点のズレ及び温度上昇の影響による検出原点のズレによる誤検出を防止して、遊技機の不正行為に用いられる外部磁石を高感度に検出可能な磁気検出装置を提案することにある。   Another object of the present invention is to prevent misdetection due to deviations in the detection origin due to excitation changes caused by power-on of electronic equipment existing around the magnetic detection element and deviations in the detection origin due to the effect of temperature rise. Another object of the present invention is to propose a magnetic detection device that can detect an external magnet used for fraudulent acts with high sensitivity.

上記目的を達成するために、本発明により提供されるものは、磁石検知装置に含まれる磁気検出素子の出力が、磁石検知装置の近傍に磁石が存在しない時の磁気検出素子の出力である検出座標原点より所定閾値以上大きい場合に磁石が磁石検知装置の近傍に存在すると判定する磁石検知装置において、原点補正処理部を備え、該原点補正処理部は、磁石検知装置の電源投入後の磁気検出素子の出力値を所定時間毎に不連続に又は連続して取得し、該所定時間内の磁気検出素子の出力変化量が所定閾値より小さい場合は、所定時間内の磁気検出素子の出力値の平均値に基づいて検出座標原点を次ぎの所定時間における検出座標原点に補正し、所定時間内の磁気検出素子の出力変化量が所定閾値以上の場合は磁石を検知したと判断することを特徴とする磁石検出装置及び方法である。   In order to achieve the above object, the present invention provides a detection in which the output of the magnetic detection element included in the magnet detection device is the output of the magnetic detection element when there is no magnet in the vicinity of the magnet detection device. A magnet detection device that determines that a magnet is present in the vicinity of a magnet detection device when it is larger than a coordinate origin by a predetermined threshold or more, includes an origin correction processing unit, and the origin correction processing unit detects magnetism after turning on the magnet detection device. When the output value of the element is obtained discontinuously or continuously every predetermined time, and the output change amount of the magnetic detection element within the predetermined time is smaller than a predetermined threshold, the output value of the magnetic detection element within the predetermined time is The detected coordinate origin is corrected to the detected coordinate origin at the next predetermined time based on the average value, and it is determined that the magnet has been detected when the output change amount of the magnetic detection element within the predetermined time is equal to or greater than a predetermined threshold. A magnet detecting device and method of.

本発明の一態様によれば、磁石検出装置は遊技機の不正行為に用いられる磁石を検出するためのものである。   According to one aspect of the present invention, the magnet detection device is for detecting a magnet used for an illegal act of a gaming machine.

本発明によれば、周辺温度が上昇する環境下でも温度センサを用いないので温度センサと磁束検出素子の組合せによるチューニングが不要となり、したがって調整費によるコストアップが不用となり安価で安定した磁気検出が可能な磁石検出装置を提供する事が出来る。   According to the present invention, since a temperature sensor is not used even in an environment where the ambient temperature rises, tuning by a combination of a temperature sensor and a magnetic flux detection element is unnecessary, and therefore, an increase in cost due to adjustment costs is unnecessary, and inexpensive and stable magnetic detection is possible. A possible magnet detection device can be provided.

また、磁気検出素子の周辺に投入電源が異なる電子機器が存在した場合でもその電子機器への電源投入の都度に磁気検出座標原点の確認および補正をすることが不要となる。すなわち、電子機器への電源投入の都度に磁石検出装置の電源切断及び再投入をすることが不要となる。   Further, even when there is an electronic device with a different input power source around the magnetic detection element, it is not necessary to check and correct the magnetic detection coordinate origin each time the electronic device is turned on. That is, it is not necessary to turn off and turn on the magnet detection device each time the power is supplied to the electronic device.

本発明の背景を説明するための、磁石検知装置が搭載されているパチンコ遊技機の外観斜視図である。[BRIEF DESCRIPTION OF THE DRAWINGS] It is an external appearance perspective view of the pachinko game machine with which the magnet detection apparatus is mounted for demonstrating the background of this invention. 図1に示した遊技機の正面図である。It is a front view of the gaming machine shown in FIG. 本発明の背景を説明するための、磁石検知装置が搭載されているパチンコ遊技機の他の例の右斜め前方から見た外観斜視図である。It is the external appearance perspective view seen from diagonally right forward of the other example of the pachinko gaming machine in which the magnet detection device is mounted for explaining the background of the present invention. 図3に示した遊技機を右斜め後方から見た外観斜視図である。It is the external appearance perspective view which looked at the gaming machine shown in FIG. 3 from diagonally right rear. 本発明の前の技術において磁石の位置と磁気検出素子の出力との関係を説明するグラフ図である。It is a graph explaining the relationship between the position of a magnet and the output of a magnetic detection element in the technique before this invention. 本発明の前の技術においてパチンコ遊技機への電源投入に起因する磁気検出素子の出力の変化を説明するグラフ図である。It is a graph explaining the change of the output of the magnetic detection element resulting from the power activation to the pachinko gaming machine in the technique before the present invention. 本発明の実施の形態による磁石検知装置の構成を示すブロック図である。It is a block diagram which shows the structure of the magnet detection apparatus by embodiment of this invention. 本発明の実施の形態により温度ドリフトにより磁気検出素子の検出座標原点が変化する様子を説明するグラフ図である。It is a graph explaining a mode that the detection coordinate origin of a magnetic detection element changes with temperature drift by embodiment of this invention. 本発明の実施の形態による磁気検出素子の検出座標原点の更新を説明するグラフ図である。It is a graph explaining the update of the detection coordinate origin of the magnetic detection element by embodiment of this invention. 図8に示した磁石検知装置81のメイン処理を説明するフローチャートである。It is a flowchart explaining the main process of the magnet detection apparatus 81 shown in FIG. 図10のステップ103における原点決定処理の詳細を説明するフローチャートである。It is a flowchart explaining the detail of the origin determination process in step 103 of FIG. 図10のステップ104における磁石検知処理の詳細を説明するフローチャートである。It is a flowchart explaining the detail of the magnet detection process in step 104 of FIG. 図12のステップ121における磁束密度の大きさの計算処理の詳細を説明するフローチャートである。13 is a flowchart illustrating details of a magnetic flux density calculation process in step 121 of FIG. 12. 図10のステップ105の原点補正処理の詳細を説明するフローチャートである。It is a flowchart explaining the detail of the origin correction process of step 105 of FIG. 本発明の実施の形態による磁石検知装置81の外観斜視図である。It is an external appearance perspective view of the magnet detection apparatus 81 by embodiment of this invention. 図15に示した磁石検知装置81の内部を示す斜視図である。It is a perspective view which shows the inside of the magnet detection apparatus 81 shown in FIG.

以下、本発明を実施するための最良の形態を図面より詳述する。全図を通して同一参照番号は同一のものを示す。   Hereinafter, the best mode for carrying out the present invention will be described in detail with reference to the drawings. Throughout the drawings, the same reference numerals denote the same parts.

図1は本発明の背景を説明するための、磁石検知センサが搭載されているパチンコ遊技機の外観斜視図、図2は図1に示した遊技機の正面図である。図1及び図2において、パチンコ遊技機3は、遊技枠12と、遊技枠12に組み込まれた遊技盤14と、遊技盤14の前面に設けられた遊技枠12にガラス扉16と、遊技盤14上に設けられた複数の役物18と、ガラス扉16の下側で遊技枠12の前面に設けられたパチンコ玉受け皿20と、パチンコ玉受け皿20の右側に設けられたパチンコ玉発射ハンドル22とを備えている。遊技機3の外部からの不正磁石を検出可能な単一の磁石検知装置24がガラス扉16の枠の端面に取り付けられている。   FIG. 1 is an external perspective view of a pachinko gaming machine equipped with a magnet detection sensor for explaining the background of the present invention, and FIG. 2 is a front view of the gaming machine shown in FIG. 1 and 2, a pachinko gaming machine 3 includes a game frame 12, a game board 14 incorporated in the game frame 12, a game door 12 provided on the front surface of the game board 14, a glass door 16, and a game board. 14, a pachinko ball tray 20 provided on the front side of the game frame 12 below the glass door 16, and a pachinko ball launch handle 22 provided on the right side of the pachinko ball tray 20. And. A single magnet detection device 24 capable of detecting unauthorized magnets from the outside of the gaming machine 3 is attached to the end face of the frame of the glass door 16.

図3は本発明の背景を説明するための、磁石検知装置が搭載されているパチンコ遊技機の他の例の右斜め前方から見た外観斜視図、図4は図3に示した遊技機を右斜め後方から見た外観斜視図である。この例では、パチンコ遊技機10の背面に、主基板を覆う例えば透明なプラスチック製のケースであるバックパック26が設けられており、そのバックパック26の上に磁石検知装置24aが取り付けられている。   FIG. 3 is an external perspective view of another example of a pachinko gaming machine equipped with a magnet detector for explaining the background of the present invention as seen from the right front side, and FIG. 4 is a perspective view of the gaming machine shown in FIG. It is the external appearance perspective view seen from the right diagonally back. In this example, a backpack 26 that is a case made of, for example, a transparent plastic that covers the main board is provided on the back surface of the pachinko gaming machine 10, and a magnet detection device 24 a is attached on the backpack 26. .

磁石からの磁力を検知して予め設定された閾値を超えた磁力を検知した場合に磁石を検出したと判定する磁石検知装置24又は24aにおいて、パチンコ遊技機3に対する不正磁石を広範囲に検出しようとすると磁石検知装置24又は24aの検知感度を高くする必要がある。   In the magnet detection device 24 or 24a that determines that the magnet has been detected when the magnetic force from the magnet is detected and a magnetic force exceeding a preset threshold is detected, an attempt is made to detect a wide range of illegal magnets for the pachinko gaming machine 3 Then, it is necessary to increase the detection sensitivity of the magnet detection device 24 or 24a.

検知感度を高くするために、磁石検出装置24又は24aの出力の検出閾値を低くしていくと磁石検知装置24又は24aを設置する環境の温度変化が無視できなくなる。この温度変化による影響は、磁石検知装置24又は24aに搭載された磁気検出素子の温度ドリフト特性により発生する。この影響で、磁気検出素子に磁石を近づけなくても温度の変化で素子の磁気出力値が変化してしまう。磁気検出素子には、ホール素子や磁気抵抗素子、MI素子などがある。   If the detection threshold value of the output of the magnet detection device 24 or 24a is lowered in order to increase the detection sensitivity, the temperature change in the environment where the magnet detection device 24 or 24a is installed cannot be ignored. The influence due to the temperature change is caused by the temperature drift characteristic of the magnetic detection element mounted on the magnet detection device 24 or 24a. Due to this influence, even if the magnet is not brought close to the magnetic detection element, the magnetic output value of the element changes due to the temperature change. Examples of the magnetic detection element include a Hall element, a magnetoresistive element, and an MI element.

磁石検知装置24又は24aは、磁気がない状態の磁気検出素子の磁気出力値と磁気がある状態(磁石を近づけた状態)の磁気出力値の差が閾値を超えた場合に磁石を検出したと判定してオン出力をする装置なので、検知感度を高くするために検出閾値を低くしていくと、周辺温度の変化により、磁気がない状態にもかかわらず磁気検出素子の磁気出力値が変わることがあり、正しく磁石を検知してオン出力ができなくなるという課題がある。   The magnet detection device 24 or 24a detects the magnet when the difference between the magnetic output value of the magnetic detection element in a state where there is no magnetism and the magnetic output value in the state where the magnetism is present (a state where the magnet is brought closer) exceeds a threshold value. Since this is a device that determines and turns on the output, if the detection threshold is lowered to increase the detection sensitivity, the magnetic output value of the magnetic detection element changes due to changes in the ambient temperature despite the absence of magnetism. There is a problem that the magnet cannot be correctly detected and on-output cannot be performed.

特に本願における磁石検知装置は、パチンコ遊技機に取り付けることを目的としており、パチンコ遊技機の主基盤や大型液晶などの影響で周辺温度の変化は無視できない。   In particular, the magnet detection device in the present application is intended to be attached to a pachinko gaming machine, and changes in ambient temperature cannot be ignored due to the influence of the main base of the pachinko gaming machine, large liquid crystal, and the like.

また、パチンコ機の主基板や大型液晶、モータなどはパチンコ機の電源が投入されると磁気を発生する。本発明の前の磁石検知装置は、磁石検知装置の電源投入時に磁気検出素子の磁気出力値を検出座標原点として設定するので、磁石検知装置の電源投入後にパチンコ遊技機の電源を投入すると、この磁気の影響で検出座標原点がずれてしまい、正しく磁石を検知できなくなるという課題もある。   Also, the main board, large liquid crystal, motor, etc. of the pachinko machine generate magnetism when the power of the pachinko machine is turned on. The magnet detection device before the present invention sets the magnetic output value of the magnetic detection element as the detection coordinate origin when the magnet detection device is turned on, so when the pachinko gaming machine is turned on after the magnet detection device is turned on, There is also a problem that the detection coordinate origin shifts due to the influence of magnetism and the magnet cannot be detected correctly.

一般的には、温度センサなどを使って温度変化をモニタしてこの温度ドリフト特性を補正する方法があるが、この方法では、温度センサ追加によるコストや温度センサ自体の特性バラツキを補正するための調整コストなどが必要になり、磁気検出装置のコストアップにつながってしまう。また、この方法では、パチンコ機の主基板や大型液晶、モータなどの磁気オフセット変化を補正することができない。   In general, there is a method of correcting this temperature drift characteristic by monitoring temperature changes using a temperature sensor, etc., but this method is used to correct the cost due to the addition of the temperature sensor and the characteristic variation of the temperature sensor itself. Adjustment costs are required, leading to an increase in the cost of the magnetic detection device. Also, this method cannot correct the magnetic offset change of the main board, large liquid crystal, motor, etc. of the pachinko machine.

そこで、本発明の実施の形態により、安価で検知感度が高い磁石検知装置を実現するために温度センサなどを追加することなく温度変化による温度ドリフトおよびパチンコ機の主基板や大型液晶、モータの電源投入に起因する磁気オフセット変化を補正する装置及び方法を提供する。   Therefore, according to the embodiment of the present invention, a temperature drift due to temperature change and a main board of a pachinko machine, a large liquid crystal, and a power supply of a motor without adding a temperature sensor or the like to realize an inexpensive magnet detection device with high detection sensitivity. An apparatus and a method for correcting a magnetic offset change caused by charging are provided.

図5は本発明の前の技術において磁石の位置と磁気検出素子の出力との関係を説明するグラフ図である。図5において、上側のグラフは磁気検出素子の出力と時間の関係を示す図であり、下側のグラフは検知出力状態と時間との関係を示す図である。状態Aでは、磁石検知装置24又は24aは、その電源投入時の磁気検出素子の出力を検出座標原点として設定するとともに、磁石を検出するための閾値Tを設定する。閾値Tは、磁石が存在するときの、検出座標原点からの磁気検出素子の出力の変化量とする。   FIG. 5 is a graph for explaining the relationship between the position of the magnet and the output of the magnetic detection element in the technique prior to the present invention. In FIG. 5, the upper graph shows the relationship between the output of the magnetic detection element and time, and the lower graph shows the relationship between the detection output state and time. In the state A, the magnet detection device 24 or 24a sets the output of the magnetic detection element when the power is turned on as the detection coordinate origin, and sets a threshold T for detecting the magnet. The threshold T is the amount of change in the output of the magnetic detection element from the detection coordinate origin when a magnet is present.

状態Bにおいて、磁石を磁石検知装置24又は24aに近づけると磁気検出素子に入射される磁束が大きくなるので、時期検出素子の出力値は検出座標原点から離れていく。そして出力値が閾値Tを超えると磁石検知装置の検知出力状態が時刻t1で「検知オン」となって、磁石が磁石検知装置の近傍に存在すると判定する。   In the state B, when the magnet is brought close to the magnet detection device 24 or 24a, the magnetic flux incident on the magnetic detection element increases, so that the output value of the timing detection element moves away from the detection coordinate origin. When the output value exceeds the threshold value T, the detection output state of the magnet detection device becomes “detection on” at time t1, and it is determined that the magnet exists in the vicinity of the magnet detection device.

状態Cにおいて、磁石検知装置24又は24aに近づけた磁石を遠ざけていくと磁気検出素子に入射される磁束が小さくなり、磁気検出素子の出力値が閾値Tより小さくなると磁石検知装置24又は24aの検知出力状態が時刻t2で「検知オフ」となって、磁石が磁石検知装置の近傍に存在しないと判定する。   In state C, the magnetic flux incident on the magnetic detection element decreases as the magnet approaching the magnet detection device 24 or 24a is moved away, and when the output value of the magnetic detection element becomes smaller than the threshold T, the magnet detection device 24 or 24a The detection output state becomes “detection off” at time t2, and it is determined that the magnet does not exist in the vicinity of the magnet detection device.

状態Dにおいて、磁石が磁石検知装置の近傍に存在しない状態にすると、磁気検出素子の出力値は検出座標原点と同じになる。    In state D, if the magnet is not in the vicinity of the magnet detection device, the output value of the magnetic detection element is the same as the detection coordinate origin.

状態Eにおいて、磁石検知装置24又は24aの周辺温度が上昇して状態Aのときの周囲温度よりも高くなると、磁気検出素子の温度ドリフト特性によって検出座標原点から出力値が変化して、磁石を近づけていないにもかかわらず時刻t3で「検知オン」となってしまう。   In the state E, when the ambient temperature of the magnet detection device 24 or 24a rises and becomes higher than the ambient temperature in the state A, the output value changes from the detection coordinate origin due to the temperature drift characteristic of the magnetic detection element, and the magnet is Although it is not close, it becomes “detection on” at time t3.

図6は本発明の前の技術においてパチンコ遊技機への電源投入に起因する磁気検出素子の出力の変化を説明するグラフ図である。   FIG. 6 is a graph illustrating a change in the output of the magnetic detection element due to power-on to the pachinko gaming machine in the technology prior to the present invention.

図6において、状態Aでは、磁石検知装置24又は24aは、その電源投入時の磁気検出素子の出力を検出座標原点として設定するとともに、磁石を検出するための閾値Tを設定する。閾値Tは検出座標原点からの磁気検出素子の出力の変化量の最小値とする。   In FIG. 6, in the state A, the magnet detection device 24 or 24a sets the output of the magnetic detection element when the power is turned on as the detection coordinate origin, and sets a threshold T for detecting the magnet. The threshold T is the minimum value of the change amount of the output of the magnetic detection element from the detection coordinate origin.

その後、状態Bにて、パチンコ遊技機10の電源を投入すると主基板、液晶、モータなどの電子部品が発生する磁気により磁気検出素子の出力値が変化する。この出力変化により磁石が無い状態においても検出座標原点から出力値が変化してしまいオフセットが発生してしまう。   Thereafter, when the power of the pachinko gaming machine 10 is turned on in the state B, the output value of the magnetic detection element changes due to the magnetism generated by the electronic components such as the main board, liquid crystal, and motor. Even if there is no magnet due to this change in output, the output value changes from the detected coordinate origin and an offset occurs.

検知感度を高くするために閾値Tを小さくしていくと、温度ドリフトやオフセット変化の影響で、磁石を近づけていないのにもかかわらず低い検知出力で「検知オン」となってしまう課題が発生する。   If the threshold value T is decreased in order to increase the detection sensitivity, there is a problem that “detection on” occurs at a low detection output even though the magnet is not brought close due to the influence of temperature drift and offset change. To do.

このように、本発明の以前では、磁石を検出するための閾値のみで磁気検出素子の出力値を「検知オン」、「検知オフ」の2値出力していた。   As described above, before the present invention, the output value of the magnetic detection element is output as binary values of “detection on” and “detection off” using only the threshold value for detecting the magnet.

図7は本発明の実施の形態による磁石検知センサの構成を示すブロック図である。図7において、磁石検知装置71(図1、図2における磁石検知装置24又は図3、図4における磁石検知装置24aに対応するもの)は、磁気検出素子72と、磁気検出素子72の出力を処理する検出信号処理部73とを備えている。   FIG. 7 is a block diagram showing the configuration of the magnet detection sensor according to the embodiment of the present invention. In FIG. 7, a magnet detection device 71 (corresponding to the magnet detection device 24 in FIGS. 1 and 2 or the magnet detection device 24a in FIGS. 3 and 4) outputs a magnetic detection element 72 and the output of the magnetic detection element 72. And a detection signal processing unit 73 for processing.

検出信号処理部73は、本実施の形態ではマイコンにより実現されている。検出信号処理部73は、磁気検出素子72の出力に接続されたセンサ信号取得処理部74と、センサ信号取得処理部74の出力に接続された平均化フィルタ部75と、原点決定処理部76と、平均化フィルタ部75及び原点決定処理部76の出力に接続された磁石検知処理部77と、センサ信号取得処理部74及び磁石検知処理部77の出力に接続された原点補正決定処理部78とを備えている。   The detection signal processing unit 73 is realized by a microcomputer in the present embodiment. The detection signal processing unit 73 includes a sensor signal acquisition processing unit 74 connected to the output of the magnetic detection element 72, an averaging filter unit 75 connected to the output of the sensor signal acquisition processing unit 74, and an origin determination processing unit 76. A magnet detection processing unit 77 connected to the outputs of the averaging filter unit 75 and the origin determination processing unit 76, and an origin correction determination processing unit 78 connected to the outputs of the sensor signal acquisition processing unit 74 and the magnet detection processing unit 77. It has.

センサ信号取得処理部74は磁気検出素子72の出力信号を取得する。平均化フィルタ部75は検出信号処理部73に入力される信号に含まれる発射パルスの影響を除去するために移動平均法による平均化を行う。原点決定処理部76は磁石検知装置71の電源投入時の磁気検出素子72の出力を取得して検出座標原点を決定する。磁石検知処理部77は平均化フィルタ部75の出力と検出座標原点との差を計算して、その差に応じた磁束密度の大きさを求める。この磁束密度の大きさが、磁石を検知するための閾値以上の場合はオン、未満の場合はオフを出力する。原点補正決定処理部78は以下に記載する方法により検出座標原点を補正する。   The sensor signal acquisition processing unit 74 acquires the output signal of the magnetic detection element 72. The averaging filter unit 75 performs averaging by the moving average method in order to remove the influence of the emission pulse included in the signal input to the detection signal processing unit 73. The origin determination processing unit 76 acquires the output of the magnetic detection element 72 when the magnet detection device 71 is turned on, and determines the detection coordinate origin. The magnet detection processing unit 77 calculates the difference between the output of the averaging filter unit 75 and the detection coordinate origin, and obtains the magnitude of the magnetic flux density according to the difference. When the magnitude of the magnetic flux density is equal to or greater than the threshold for detecting the magnet, ON is output, and when it is less than OFF, OFF is output. The origin correction determination processing unit 78 corrects the detected coordinate origin by the method described below.

本発明の実施の形態により、検出座標原点を補正するための磁束変化閾値を設けて、磁気検出素子の出力値が所定時間連続して磁束変化閾値内に検出された場合は、磁気検出素子の出力値を新しい検出座標原点として設定し補正する。   According to the embodiment of the present invention, a magnetic flux change threshold for correcting the detection coordinate origin is provided, and when the output value of the magnetic detection element is detected within the magnetic flux change threshold continuously for a predetermined time, Set the output value as the new detection coordinate origin and correct it.

新しい検出座標原点とする磁気検出素子の出力値は、所定時間内の出力値の平均値や所定時間内の出力値の最大値と最小値を足して2で割った平均値を使う方法などがある。   For the output value of the magnetic detection element used as the new detection coordinate origin, the average value of the output value within a predetermined time or the average value obtained by adding the maximum value and the minimum value of the output value within a predetermined time and dividing by 2 is used. is there.

この補正により、磁石検知装置の周辺温度が変化しても磁気検出素子の温度ドリフトによる出力値を新しい検出座標原点とすることができるため、周辺温度の影響に左右されず磁石の飛来を検出することができる。   With this correction, even if the ambient temperature of the magnet detector changes, the output value due to the temperature drift of the magnetic sensing element can be used as the new detection coordinate origin, so that the flying of the magnet is detected regardless of the influence of the ambient temperature. be able to.

また、磁石検知装置71の電源投入後にパチンコ遊技機の電源が投入されて主基板や液晶、モータなどの磁気の影響で検出座標原点が変化しても同様に補正できる。   Further, even if the power of the pachinko gaming machine is turned on after the magnet detection device 71 is turned on and the detection coordinate origin changes due to the influence of magnetism such as the main board, the liquid crystal, and the motor, the same correction can be made.

また、この補正処理により温度の影響やパチンコ機の電源投入に起因する磁気オフセット変化を考慮する必要が無くなりパチンコ機の液晶近辺など温度変化が大きい場所にも磁石検知装置を取り付けることができるため、取り付け場所の制限が少なくなるメリットもある。   In addition, this correction process eliminates the need to consider the effects of temperature and magnetic offset changes due to power-on of the pachinko machine, and the magnet detector can be installed in places where there are large temperature changes such as near the liquid crystal of the pachinko machine. There is also an advantage that there are fewer restrictions on the installation location.

図8の(A)は本発明の実施の形態により温度ドリフトにより磁気検出素子72の検出座標原点が変化する様子を説明するグラフ図、図8の(B)は検出座標原点を補正しない従来の場合の磁石検知装置71の検出出力状態を示すグラフ図、図8の(C)は本発明の実施の形態により検出座標原点を補正した場合の検出出力状態を示すグラフ図である。図8の(A)において、縦軸は磁気検出素子72の出力に得られる磁束密度の大きさ、横軸は時間を表している。   FIG. 8A is a graph for explaining how the detection coordinate origin of the magnetic detection element 72 changes due to temperature drift according to the embodiment of the present invention, and FIG. 8B is a conventional diagram in which the detection coordinate origin is not corrected. FIG. 8C is a graph showing the detection output state when the detection coordinate origin is corrected according to the embodiment of the present invention. In FIG. 8A, the vertical axis represents the magnitude of the magnetic flux density obtained at the output of the magnetic detection element 72, and the horizontal axis represents time.

検出座標原点を変化させない従来技術では、図8の(B)に示すように、磁気検出素子72の出力と磁石検知装置71の電源投入時の時刻t0における検出座標原点org1との差が不正磁石検出閾値Δyより小さい時刻t0からt1まで、及びt4以降が検出出力オフ、磁気検出素子72の出力と磁石検知装置71の電源投入時の時刻t0における検出座標原点org1との差が不正磁石検出閾値Δy以上であるt1からt4までが検出出力オンである。   In the conventional technique in which the detection coordinate origin is not changed, as shown in FIG. 8B, the difference between the output of the magnetic detection element 72 and the detection coordinate origin org1 at time t0 when the magnet detection device 71 is turned on is an illegal magnet. The detection output is OFF from time t0 to t1 smaller than the detection threshold Δy, and after t4, and the difference between the output of the magnetic detection element 72 and the detection coordinate origin org1 at time t0 when the magnet detector 71 is turned on is the illegal magnet detection threshold. The detection output is on from t1 to t4 which is Δy or more.

これに対し、本発明の実施の形態では、図8の(C)に示すように、磁気検出素子72の検出座標原点は磁石検知装置71への電源投入時t0ではorg1であるが、所定時間tの間の温度ドリフト線の変化にしたがって検出座標原点は変化しているので、所定時間tの間の温度ドリフト線の例えば平均値をこの間における補正後の検出座標原点org2としている。この結果、磁気検出素子72の出力と磁石検知装置71の補正後の検出座標原点org2との差が不正磁石検出閾値Δyより小さい時刻t0からt2まで、及びt3以降が検出出力オフ、磁気検出素子72の出力と補正後の検出座標原点org2との差が不正磁石検出閾値Δy以上であるt2からt3までが検出出力オンとなる。   On the other hand, in the embodiment of the present invention, as shown in FIG. 8C, the detection coordinate origin of the magnetic detection element 72 is org1 at the time t0 when the power to the magnet detection device 71 is turned on. Since the detected coordinate origin changes according to the change of the temperature drift line during t, for example, the average value of the temperature drift line during the predetermined time t is set as the corrected detected coordinate origin org2 during this period. As a result, the difference between the output of the magnetic detection element 72 and the corrected detection coordinate origin org2 of the magnet detection device 71 is smaller than the illegal magnet detection threshold Δy from time t0 to t2, and after t3, the detection output is turned off. The detection output is turned on from t2 to t3 when the difference between the output 72 and the corrected detection coordinate origin org2 is equal to or greater than the illegal magnet detection threshold Δy.

これにより、検出座標原点が温度ドリフトにより変化しても不正磁石の検出を正確に行うことができる。   Thereby, even if the detection coordinate origin changes due to temperature drift, the illegal magnet can be detected accurately.

図9は本発明の実施の形態による磁気検出素子72の検出座標原点の更新を説明するグラフ図である。図9においても、縦軸は磁気検出素子72の出力に得られる磁束密度の大きさ、横軸は時間を表している。   FIG. 9 is a graph for explaining the update of the detection coordinate origin of the magnetic detection element 72 according to the embodiment of the present invention. Also in FIG. 9, the vertical axis represents the magnitude of the magnetic flux density obtained at the output of the magnetic detection element 72, and the horizontal axis represents time.

磁石検知装置71は、その電源投入時の磁気検出素子72の出力値を検出座標原点org1として設定する。org1が設定された後、所定時間tの間の磁気検出素子の出力変化量が磁束変化閾値Δy未満の場合、所定時間tの出力値を新しい検出座標原点org2として設定する。その後も同様に所定時間tの間の磁気検出素子の出力変化量が磁束変化閾値Δy未満かどうか評価して条件に一致する場合はorg3、org4〜org8と検出座標原点を設定して補正していく。   The magnet detection device 71 sets the output value of the magnetic detection element 72 when the power is turned on as the detection coordinate origin org1. After org1 is set, if the output change amount of the magnetic detection element during the predetermined time t is less than the magnetic flux change threshold Δy, the output value at the predetermined time t is set as the new detection coordinate origin org2. After that, similarly, evaluate whether the output change amount of the magnetic detection element during the predetermined time t is less than the magnetic flux change threshold Δy, and if it matches the condition, set org3, org4 to org8 and the detection coordinate origin to correct Go.

また、磁石の飛来で所定時間tの出力変化量が磁束変化閾値Δy以上で条件に一致しなかった場合は新しい検出座標原点を設定しないようにして磁石飛来を検出できるようにする。   Further, when the amount of change in output for a predetermined time t is greater than or equal to the magnetic flux change threshold Δy due to the flying of the magnet and does not match the condition, the flying of the magnet can be detected without setting a new detection coordinate origin.

磁束変化閾値Δyと所定時間tは、磁石検知装置71に搭載される磁気検出素子72の温度ドリフト特性と磁石検知装置71に対する取付け位置の周辺温度変化から決定することができる。   The magnetic flux change threshold Δy and the predetermined time t can be determined from the temperature drift characteristics of the magnetic detection element 72 mounted on the magnet detection device 71 and the ambient temperature change of the mounting position with respect to the magnet detection device 71.

例えば、パチンコ遊技機の裏面に磁石検知装置71を取り付けて設置した場合に液晶部品のバックライト等の放熱の影響による周辺温度の変化量が常温20℃ 〜 最大温度80℃となる。そして、この時の磁気検出素子72の出力変化の大きさは温度ドリフト特性から算出する事ができる。   For example, when the magnet detection device 71 is installed on the back surface of a pachinko gaming machine, the amount of change in the ambient temperature due to the influence of heat radiation from the backlight of the liquid crystal component is 20 ° C. to the maximum temperature 80 ° C. The magnitude of the output change of the magnetic detection element 72 at this time can be calculated from the temperature drift characteristic.

本実施の形態では、磁気検出素子72の出力変化は6μT(マイクロテスラ)であった。ここで温度が20℃から80℃に上昇するまでどのくらい時間が掛かるか分かれば単位時間(1秒)当たりの出力変化最大値(μT)が分かる。   In the present embodiment, the output change of the magnetic detection element 72 is 6 μT (micro Tesla). Here, if it is known how long it takes for the temperature to rise from 20 ° C. to 80 ° C., the maximum output change value (μT) per unit time (1 second) can be found.

仮に、パチンコ遊技機の裏面の周辺温度が電源投入前20℃から電源投入後に80℃まで15分で上昇すると、15分で6μTだけ磁気検出素子72の出力が変化することになる。単位時間(1秒)当たりでは6μT÷900秒=0.007μTの磁気検出素子の出力変化となる。前記所定時間tは不正磁石の飛来に伴う磁束変化が温度ドリフト線上を所定の閾値内でトレースする事が困難な時間として例えば3分と設定する。そして磁束変化閾値Δyは、設定した所定時間tの間の出力最大値を設定しておけば良いので磁束変化閾値Δy=単位時間(1秒)当たりのセンサ出力変化量最大値(μT)×所定時間tで求めることができ、0.007μT×180秒=1.44μTとなる。   If the ambient temperature on the back side of the pachinko gaming machine rises from 20 ° C. before power-on to 80 ° C. after power-on in 15 minutes, the output of the magnetic detection element 72 changes by 6 μT in 15 minutes. The output change of the magnetic detection element is 6 μT ÷ 900 seconds = 0.007 μT per unit time (1 second). The predetermined time t is set to 3 minutes, for example, as a time during which it is difficult for the magnetic flux change accompanying the flying of the illegal magnet to trace the temperature drift line within a predetermined threshold. The magnetic flux change threshold value Δy may be set to the maximum output value during the set predetermined time t, so the magnetic flux change threshold value Δy = the maximum sensor output change amount per unit time (1 second) (μT) × predetermined. It can be obtained at time t, and is 0.007 μT × 180 seconds = 1.44 μT.

図10は図7に示した磁石検知装置71のメイン処理を説明するフローチャートである。図10において、ステップ101にてセンサ信号取得処理部74により各軸の感度設定をする。感度は、各検知軸毎に持っているため各軸の磁束密度は以下の式で求める。なお、以下の説明では簡単のためにX軸の一次元について説明するが、実際には一次元、二次元および三次元のいずれにおいても処理できる。
磁束密度(μT)ΔX=(X−X0)÷X軸感度(mV/μT)
ここで、X0は、電源投入時の磁気検出素子72の出力であり、
Xは、磁気検出素子72の出力であり、
ΔXは、磁束密度変化量である。
Y、Z軸についても同様であるので、説明を省略する。
FIG. 10 is a flowchart for explaining the main processing of the magnet detection device 71 shown in FIG. In FIG. 10, the sensitivity of each axis is set by the sensor signal acquisition processing unit 74 in step 101. Since sensitivity is provided for each detection axis, the magnetic flux density of each axis is obtained by the following equation. In the following description, one dimension of the X axis will be described for the sake of simplicity, but in actuality, processing can be performed in any one dimension, two dimensions, and three dimensions.
Magnetic flux density (μT) ΔX = (X−X0) ÷ X-axis sensitivity (mV / μT)
Here, X0 is the output of the magnetic detection element 72 when the power is turned on,
X is the output of the magnetic detection element 72,
ΔX is a magnetic flux density change amount.
Since the same applies to the Y and Z axes, the description thereof is omitted.

次いでステップ102にて、原点決定処理部76は、磁石検知閾値S1、所定時間t、及び磁束変化閾値Δyを設定する。   Next, at step 102, the origin determination processing unit 76 sets the magnet detection threshold S1, the predetermined time t, and the magnetic flux change threshold Δy.

次いでステップ103にて、原点決定処理を行う。この処理の詳細は図11に示すフローチャートに示されている。ステップ103は無限ループであって、電源がオフになり、メイン処理が終了するまで継続して行う。   Next, in step 103, origin determination processing is performed. The details of this processing are shown in the flowchart shown in FIG. Step 103 is an infinite loop, and is continued until the power is turned off and the main process is completed.

ステップ103に次いでステップ104にて磁石検知処理を行う。この処理の詳細は図12のフローチャートに示されている。簡単に説明すると、(1)磁石が磁石検知装置71に近づくと、磁石の磁界によって磁気検出素子72の出力が変化する。(2)センサ出力基準値からの磁気検出素子72の出力の変化量を磁束密度の大きさとして求める。(3)磁石を近づけて、(2)によって求めた変化量が磁石を検知するための閾値S1を超えた場合は、検知出力をオンにする。また、近づけた磁石を遠ざけて変化量が磁石を検知するための閾値S1を下回った場合は、検知出力をオフとする。この場合、磁石が近傍にないときの磁気検出素子72の出力である検出座標原点としては上述の手法により補正されたものを用いる。   Following step 103, magnet detection processing is performed in step 104. The details of this processing are shown in the flowchart of FIG. Briefly, (1) when the magnet approaches the magnet detection device 71, the output of the magnetic detection element 72 changes due to the magnetic field of the magnet. (2) The amount of change in the output of the magnetic detection element 72 from the sensor output reference value is obtained as the magnitude of the magnetic flux density. (3) When the magnet is moved closer and the change amount obtained in (2) exceeds the threshold value S1 for detecting the magnet, the detection output is turned on. Further, when the close magnet is moved away and the amount of change falls below the threshold value S1 for detecting the magnet, the detection output is turned off. In this case, the detection coordinate origin that is the output of the magnetic detection element 72 when the magnet is not in the vicinity is the one corrected by the above-described method.

ステップ104に次いでステップ105にて原点補正処理を行う。ここでは、図8及び図9により説明したように、所定時間t内の磁気検出素子72の出力変化量が所定閾値Δyより小さい場合は、前記所定時間内の前記磁気検出素子の出力値の平均値に基づいて前記検出座標原点を補正して次ぎの所定時間における検出座標原点とし、所定時間t内の磁気検出素子72の出力変化量が所定閾値Δy以上の場合は磁石を検知したと判断する。   Following step 104, the origin correction process is performed in step 105. Here, as described with reference to FIGS. 8 and 9, when the output change amount of the magnetic detection element 72 within the predetermined time t is smaller than the predetermined threshold value Δy, the average of the output values of the magnetic detection elements within the predetermined time Based on the value, the detected coordinate origin is corrected to be the detected coordinate origin at the next predetermined time, and when the output change amount of the magnetic detection element 72 within the predetermined time t is equal to or greater than the predetermined threshold Δy, it is determined that the magnet has been detected. .

ステップ105も無限ループであって、電源がオフになり、メイン処理が終了するまで継続して行う。   Step 105 is also an infinite loop, and is continued until the power is turned off and the main process is completed.

図11は図10のステップ103の詳細を説明するフローチャートである。図11において、ステップ111にてサンプリング点数をN(Nは自然数)点とする。ステップ112にてデータ取得数Cntを0にリセットする。ステップ113にて磁石検知装置71の検出出力のX軸値XadをAD変換をする。ステップ114にてAD変換結果を前回のAD変換結果に加算して記憶する。また、データ取得数Cntをインクリメントする。ステップ115にてデータ取得数Cntが所定数Nになるまで、ステップ113〜115を繰り返す。ステップ115にてデータ取得数Cntが所定数N以上になると、ステップ116にてAD変換結果の合計をNで割って原点とする。即ち、X軸の原点X0はX0=Xsum/Nとなる。Y軸及びZ軸についてもX軸に関する原点決定処理と同様である。   FIG. 11 is a flowchart for explaining the details of step 103 in FIG. In FIG. 11, in step 111, the number of sampling points is N (N is a natural number). In step 112, the data acquisition number Cnt is reset to zero. In step 113, the X-axis value Xad of the detection output of the magnet detector 71 is AD converted. In step 114, the AD conversion result is added to the previous AD conversion result and stored. Further, the data acquisition number Cnt is incremented. Steps 113 to 115 are repeated until the data acquisition number Cnt reaches a predetermined number N in step 115. When the data acquisition number Cnt becomes equal to or greater than the predetermined number N in step 115, the sum of the AD conversion results is divided by N in step 116 to obtain the origin. That is, the X-axis origin X0 is X0 = Xsum / N. The Y axis and Z axis are the same as the origin determination process for the X axis.

図12は図10のステップ104における磁石検知処理の詳細を説明するフローチャートである。図12において、ステップ121にてセンサ信号取得処理部74は磁気検出素子72の出力から磁束密度の大きさ(ΔX)を計算する。次いでステップ122にて平均化フィルタ部75により平均化処理を行う。この処理は、標本化間隔Δt(秒)、N点移動平均した場合の平均化時間TaveはTave=NΔt(秒)となるので信号X(t)をTave(秒)の間で平均したときの出力は次の式で表わせる。   FIG. 12 is a flowchart for explaining the details of the magnet detection process in step 104 of FIG. In FIG. 12, in step 121, the sensor signal acquisition processing unit 74 calculates the magnitude (ΔX) of the magnetic flux density from the output of the magnetic detection element 72. Next, at step 122, the averaging filter unit 75 performs an averaging process. In this process, the sampling interval Δt (seconds) and the averaging time Tave when N points moving average is Tave = NΔt (seconds), so that the signal X (t) is averaged between Tave (seconds). The output can be expressed as:

Figure 2010273799
Figure 2010273799

次いでステップ123にてΔXave>検知閾値S1が成立するか否かを判定し、成立すればステップ12に進んで検知出力をオンにし、否であればステップ125にて検知出力をオフにする。   Next, at step 123, it is determined whether or not ΔXave> detection threshold S1 is established. If it is established, the routine proceeds to step 12 where the detection output is turned on, and if not, the detection output is turned off at step 125.

図13は図12のステップ121における磁束密度の大きさの計算処理の詳細を説明するフローチャートである。図13において、ステップ131にて磁気検出素子72の出力をAD変換してデジタル値Xadを得る。次いでステップ132にて上記デジタル値の原点からの変化量を計算する。すなわち、ΔX=(Xad−X0)÷Xk(X軸感度)を計算する。Y軸及びZ軸についてもX軸に関する磁束密度の大きさの計算処理と同様である。   FIG. 13 is a flowchart for explaining the details of the magnetic flux density calculation process in step 121 of FIG. In FIG. 13, in step 131, the output of the magnetic detection element 72 is AD converted to obtain a digital value Xad. Next, at step 132, the amount of change from the origin of the digital value is calculated. That is, ΔX = (Xad−X0) ÷ Xk (X-axis sensitivity) is calculated. The Y axis and the Z axis are the same as the calculation processing of the magnetic flux density with respect to the X axis.

図14は図10のステップ105の原点補正処理の詳細を説明するフローチャートである。原点補正処理は原点補正処理部78にて行われる。図14において、ステップ141にて磁石検知装置71の検出出力はオンかを判定する。オンであればステップ142に進み処理ステップ0かを判定する。初期状態では処理ステップは0に設定されているのでステップ143に進む。ステップ143では、磁気検出素子72の出力電圧の最大変化量Δy_maxを0に初期化し、計算基準値X_startをXadに初期化し、補正された検出座標原点を取得するための取得時間Cnt2をtに設定し、合計値Xsum2をXadに初期化する。そしてステップ144にて処理ステップを1(STEP=1)に更新する。   FIG. 14 is a flowchart for explaining the details of the origin correction processing in step 105 of FIG. The origin correction process is performed by the origin correction processing unit 78. In FIG. 14, it is determined in step 141 whether the detection output of the magnet detection device 71 is on. If it is ON, the process proceeds to step 142 and it is determined whether the process is step 0. Since the processing step is set to 0 in the initial state, the process proceeds to step 143. In step 143, the maximum change amount Δy_max of the output voltage of the magnetic detection element 72 is initialized to 0, the calculation reference value X_start is initialized to Xad, and the acquisition time Cnt2 for acquiring the corrected detection coordinate origin is set to t. The total value Xsum2 is initialized to Xad. In step 144, the processing step is updated to 1 (STEP = 1).

ステップ142の判定がノーであればステップ146に進み、処理ステップが1(STEP=1)か否かを判定する。否であればステップ1407に進み検出座標原点X0を設定して更新する。すなわち、X0=XSum2/Cnt2とする。次いでステップ1408に進み、ステップをSTEP=0に更新する。   If the determination in step 142 is no, the process proceeds to step 146 to determine whether the processing step is 1 (STEP = 1). If not, the process proceeds to step 1407, where the detected coordinate origin X0 is set and updated. That is, X0 = XSum2 / Cnt2. Next, the routine proceeds to step 1408, where the step is updated to STEP = 0.

ステップ146の判定でSTEP=1であればステップ147に進み、磁気検出素子72の出力電圧の現在の変化量(ΔXnow=|X_start−Xad|)を計算する。次いでステップ148に進み変化量を、式ΔXnow=ΔXnow÷Xk(X軸感度)に従って磁束の大きさに変換する。   If STEP = 1 in step 146, the process proceeds to step 147, and the current change amount (ΔXnow = | X_start−Xad |) of the output voltage of the magnetic detection element 72 is calculated. Next, the routine proceeds to step 148, where the amount of change is converted into the magnitude of the magnetic flux according to the equation ΔXnow = ΔXnow ÷ Xk (X-axis sensitivity).

次いでステップ149にて、磁気検出素子72の出力磁束の現在の変化量ΔXnowが最大変化量Δy_maxより大きいかを判定する。大きければステップ1401にて最大変化量を現在の変化量に更新する。ステップ149の判定でノーの場合、またはステップ1401の後に、ステップ1402に進み、最大変化量Δy_maxが磁束変化閾値Δyより小さいかを判定する。小さければステップ1403に進み取得時間CNT2をデクリメントするとともに合計値XSUM2+=XADにより合計値を更新する。   Next, at step 149, it is determined whether the current change amount ΔXnow of the output magnetic flux of the magnetic detection element 72 is larger than the maximum change amount Δy_max. If it is larger, the maximum change amount is updated to the current change amount in step 1401. If the determination in step 149 is no, or after step 1401, the process proceeds to step 1402, where it is determined whether the maximum change amount Δy_max is smaller than the magnetic flux change threshold value Δy. If it is smaller, the process proceeds to step 1403, and the acquisition time CNT2 is decremented and the total value is updated by the total value XSUM2 + = XAD.

ステップ141の判定がイエスであればステップ1409に進み、処理ステップを0(STEP=0)に更新する。   If the determination in step 141 is yes, the process proceeds to step 1409 and the processing step is updated to 0 (STEP = 0).

ステップ146の判定がノーであれば所定時間tが経過しステップSTEP=2になったと判定されてステップ1407にて検出座標原点をたとえばX0=Xsum2/Cnt2により更新し、ステップ1408にてステップを0に更新する。   If the determination in step 146 is no, it is determined that a predetermined time t has passed and step STEP = 2 has been reached, and the detected coordinate origin is updated by, for example, X0 = Xsum2 / Cnt2 in step 1407. Update to

ステップ1405、1406、1408、1409の後はステップ141に戻り、上記と同じ動作を磁石検知装置71の電源がオフになるまで繰り返す。   After Steps 1405, 1406, 1408, and 1409, the process returns to Step 141, and the same operation as described above is repeated until the power of the magnet detector 71 is turned off.

図15は本発明の実施の形態による磁石検知装置71の外観斜視図である。図15において、磁石検知装置71は、VCC電源ピン151と、グランド(GDN)ピン152よ。検知出力ピン153とを備えた3ピンコネクタ154を備えている。   FIG. 15 is an external perspective view of the magnet detector 71 according to the embodiment of the present invention. In FIG. 15, the magnet detection device 71 includes a VCC power supply pin 151 and a ground (GDN) pin 152. A 3-pin connector 154 including a detection output pin 153 is provided.

図16は図15に示した磁石検知装置71の内部を示す斜視図である。図16において、磁石検知装置71は磁気検出素子72と検出信号処理部73と3ピンコネクタ154とを含んでいる。検出信号処理部73はマイコンで実現される。   FIG. 16 is a perspective view showing the inside of the magnet detector 71 shown in FIG. In FIG. 16, the magnet detection device 71 includes a magnetic detection element 72, a detection signal processing unit 73, and a 3-pin connector 154. The detection signal processing unit 73 is realized by a microcomputer.

本発明は上記実施の形態に限定されるものではなく、様々の変形が可能である。例えば、検出信号処理部73はマイコンに替えて他の信号処理機能を有する電子機器により実現してもよい。   The present invention is not limited to the above embodiment, and various modifications can be made. For example, the detection signal processing unit 73 may be realized by an electronic device having another signal processing function instead of the microcomputer.

本発明によれば、パチンコ遊技機における不正磁石検出を、周辺温度が上昇する環境下でも、また、磁気検出素子の周辺に投入電源が異なる電子機器が存在した場合でも、正確に行うことが可能になる。   According to the present invention, it is possible to accurately detect illegal magnets in a pachinko machine even in an environment where the ambient temperature rises and even when there are electronic devices with different input power sources around the magnetic detection element. become.

10 パチンコ遊技機
24 磁石検知装置
71 磁石検知装置
72 磁気検出素子
73 検出信号処理部
74 センサ信号取得処理部
75 平均化フィルタ部
76 原点決定処理部
77 磁石検知処理部
78 原点補正処理部
DESCRIPTION OF SYMBOLS 10 Pachinko machine 24 Magnet detection apparatus 71 Magnet detection apparatus 72 Magnetic detection element 73 Detection signal processing part 74 Sensor signal acquisition process part 75 Average filter part 76 Origin determination process part 77 Magnet detection process part 78 Origin correction process part

Claims (4)

磁石検知装置に含まれる磁気検出素子の出力が、前記磁石検知装置の近傍に磁石が存在しない時の前記磁気検出素子の出力である検出座標原点より所定閾値以上大きい場合に磁石が前記磁石検知装置の近傍に存在すると判定する磁石検知装置において、
原点補正処理部を備え、該原点補正処理部は、前記磁石検知装置の電源投入後の前記磁気検出素子の出力値を所定時間毎に不連続に又は連続して取得し、該所定時間内の前記磁気検出素子の出力変化量が前記所定閾値より小さい場合は、前記所定時間内の前記磁気検出素子の出力値の平均値に基づいて前記検出座標原点を補正して次ぎの所定時間における検出座標原点とし、前記所定時間内の前記磁気検出素子の出力変化量が前記所定閾値以上の場合は磁石を検知したと判断することを特徴とする磁石検出装置。
When the output of the magnetic detection element included in the magnet detection device is larger than a detection coordinate origin that is an output of the magnetic detection element when no magnet is present in the vicinity of the magnet detection device, the magnet is detected by the magnet detection device. In the magnet detection device that determines that it exists in the vicinity of
An origin correction processing unit is provided, and the origin correction processing unit obtains an output value of the magnetic detection element after power-on of the magnet detection device discontinuously or continuously every predetermined time, and within the predetermined time When the output change amount of the magnetic detection element is smaller than the predetermined threshold value, the detection coordinate origin is corrected based on the average value of the output values of the magnetic detection element within the predetermined time to detect the detection coordinates at the next predetermined time A magnet detection device characterized by determining that a magnet has been detected when an output change amount of the magnetic detection element within the predetermined time is equal to or greater than the predetermined threshold value.
前記磁石検出装置は遊技機の不正行為に用いられる磁石を検出するためのものである、請求項1に記載の磁石検出装置。   The magnet detection device according to claim 1, wherein the magnet detection device is for detecting a magnet used for an illegal act of a gaming machine. 磁石検知装置に含まれる磁気検出素子の出力が、前記磁石検知装置の近傍に磁石が存在しない時の前記磁気検出素子の出力である検出座標原点より所定閾値以上大きい場合に磁石が前記磁石検知装置の近傍に存在すると判定する磁石検知方法において、
前記磁石検知装置の電源投入後の前記磁気検出素子の出力値を所定時間毎に不連続に又は連続して取得し、該所定時間内の前記磁気検出素子の出力変化量が前記所定閾値より小さい場合は、前記所定時間内の前記磁気検出素子の出力値の平均値に基づいて前記検出座標原点を補正して次ぎの所定時間における検出座標原点とし、前記所定時間内の前記磁気検出素子の出力変化量が前記所定閾値以上の場合は磁石を検知したと判断することを特徴とする磁石検出方法。
When the output of the magnetic detection element included in the magnet detection device is larger than a detection coordinate origin that is an output of the magnetic detection element when no magnet is present in the vicinity of the magnet detection device, the magnet is detected by the magnet detection device. In the magnet detection method for determining that it exists in the vicinity of
The output value of the magnetic detection element after power-on of the magnet detection device is obtained discontinuously or continuously every predetermined time, and the output change amount of the magnetic detection element within the predetermined time is smaller than the predetermined threshold value In the case, the detection coordinate origin is corrected based on an average value of the output values of the magnetic detection element within the predetermined time to be a detection coordinate origin at the next predetermined time, and the output of the magnetic detection element within the predetermined time A magnet detection method characterized by determining that a magnet has been detected when the amount of change is equal to or greater than the predetermined threshold.
前記磁石検出装置は遊技機の不正行為に用いられる磁石を検出するためのものである、請求項3に記載の磁石検出方法。   The magnet detection method according to claim 3, wherein the magnet detection device is for detecting a magnet used for an illegal act of a gaming machine.
JP2009127991A 2009-05-27 2009-05-27 Magnet detection apparatus and magnet detection method Active JP5391835B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009127991A JP5391835B2 (en) 2009-05-27 2009-05-27 Magnet detection apparatus and magnet detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009127991A JP5391835B2 (en) 2009-05-27 2009-05-27 Magnet detection apparatus and magnet detection method

Publications (2)

Publication Number Publication Date
JP2010273799A true JP2010273799A (en) 2010-12-09
JP5391835B2 JP5391835B2 (en) 2014-01-15

Family

ID=43421329

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009127991A Active JP5391835B2 (en) 2009-05-27 2009-05-27 Magnet detection apparatus and magnet detection method

Country Status (1)

Country Link
JP (1) JP5391835B2 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013051997A (en) * 2011-08-31 2013-03-21 Sanyo Product Co Ltd Game machine
JP2013081608A (en) * 2011-10-07 2013-05-09 Sanyo Product Co Ltd Game machine
JP2013212347A (en) * 2012-03-08 2013-10-17 Sanyo Product Co Ltd Game machine
JP5839527B1 (en) * 2015-02-16 2016-01-06 マグネデザイン株式会社 Ultra-sensitive micro magnetic sensor
JP2016220835A (en) * 2015-05-28 2016-12-28 株式会社大都技研 Game machine
JP2016220836A (en) * 2015-05-28 2016-12-28 株式会社大都技研 Game machine
JP2018086580A (en) * 2018-03-12 2018-06-07 株式会社三洋物産 Game machine
JP2018143544A (en) * 2017-03-06 2018-09-20 オムロン株式会社 Magnet detection device and game machine
JP2019080995A (en) * 2019-02-27 2019-05-30 株式会社三洋物産 Game machine

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6040078A (en) * 1983-08-12 1985-03-02 株式会社ソフィア Unjustice detector of pinball machine
JPH06317492A (en) * 1993-05-07 1994-11-15 Kubota Corp Zero point error correction method for torque sensor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6040078A (en) * 1983-08-12 1985-03-02 株式会社ソフィア Unjustice detector of pinball machine
JPH06317492A (en) * 1993-05-07 1994-11-15 Kubota Corp Zero point error correction method for torque sensor

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013051997A (en) * 2011-08-31 2013-03-21 Sanyo Product Co Ltd Game machine
JP2013081608A (en) * 2011-10-07 2013-05-09 Sanyo Product Co Ltd Game machine
JP2013212347A (en) * 2012-03-08 2013-10-17 Sanyo Product Co Ltd Game machine
JP2018051410A (en) * 2012-03-08 2018-04-05 株式会社三洋物産 Game machine
JP5839527B1 (en) * 2015-02-16 2016-01-06 マグネデザイン株式会社 Ultra-sensitive micro magnetic sensor
JP2016151413A (en) * 2015-02-16 2016-08-22 マグネデザイン株式会社 Superhigh sensitivity micro magnetic sensor
US9857436B2 (en) 2015-02-16 2018-01-02 Magnedesign Corporation High sensitive micro sized magnetometer
JP2016220835A (en) * 2015-05-28 2016-12-28 株式会社大都技研 Game machine
JP2016220836A (en) * 2015-05-28 2016-12-28 株式会社大都技研 Game machine
JP2018143544A (en) * 2017-03-06 2018-09-20 オムロン株式会社 Magnet detection device and game machine
JP2018086580A (en) * 2018-03-12 2018-06-07 株式会社三洋物産 Game machine
JP2019080995A (en) * 2019-02-27 2019-05-30 株式会社三洋物産 Game machine

Also Published As

Publication number Publication date
JP5391835B2 (en) 2014-01-15

Similar Documents

Publication Publication Date Title
JP5391835B2 (en) Magnet detection apparatus and magnet detection method
US8222888B2 (en) Micro-power magnetic switch
CN106781144B (en) Magnetic sensor
US9520871B2 (en) Methods and apparatus for supply voltage transient protection for maintaining a state of a sensor output signal
JP5195203B2 (en) Magnet detecting device and magnet detecting method for gaming machine
TW200801565A (en) Magnetic sensor, production method thereof, rotation detection device, and position detection device
WO2007016300A3 (en) Magnetic crash sensor
ATE358812T1 (en) MEASURING DEVICE AND METHOD
CN110784601B (en) Motion sensor
WO2005028254A3 (en) Magnetic crash sensor
CN103206915B (en) method for activating sensor
JP5310254B2 (en) Magnet detection device for gaming machine and magnet detection method for gaming machine
WO2007126881A3 (en) Oscillating- beam magnetometer
JP2009201769A (en) Magnetic detection device equipped in pachinko game machine
US7242187B1 (en) Hall effect switching circuit and apparatus and method using the same
US9778327B2 (en) Methods and apparatus for magnetic sensor with integrated calibration mechanism
JP2006304007A (en) Electronic switch and operating method of electronic switch
US6684141B2 (en) Electrical circuit module with magnetic detection of loose or detached state
US8080955B2 (en) Driving method and related driving device for a motor
JP5446124B2 (en) Gaming machine and detection method of illegal magnet for gaming machine
JP6026773B2 (en) Electronics
JP5670073B2 (en) Magnetic field detection apparatus and ball game apparatus using the same
JP5446129B2 (en) Magnet detection device for gaming machine and magnet detection method for gaming machine
JP2013156029A (en) Current sensor
CN104321712A (en) Programmable sensors

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120309

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130604

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130802

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130930

R150 Certificate of patent or registration of utility model

Ref document number: 5391835

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150