Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3173197B2 - Detector - Google Patents
[go: Go Back, main page]

JP3173197B2 - Detector - Google Patents

Detector

Info

Publication number
JP3173197B2
JP3173197B2 JP34165292A JP34165292A JP3173197B2 JP 3173197 B2 JP3173197 B2 JP 3173197B2 JP 34165292 A JP34165292 A JP 34165292A JP 34165292 A JP34165292 A JP 34165292A JP 3173197 B2 JP3173197 B2 JP 3173197B2
Authority
JP
Japan
Prior art keywords
resonance
circuit
detection
contact
detecting
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.)
Expired - Fee Related
Application number
JP34165292A
Other languages
Japanese (ja)
Other versions
JPH06167573A (en
Inventor
洋二 籠宮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sanyo Bussan Co Ltd
Original Assignee
Sanyo Bussan 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 Sanyo Bussan Co Ltd filed Critical Sanyo Bussan Co Ltd
Priority to JP34165292A priority Critical patent/JP3173197B2/en
Publication of JPH06167573A publication Critical patent/JPH06167573A/en
Application granted granted Critical
Publication of JP3173197B2 publication Critical patent/JP3173197B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Pinball Game Machines (AREA)
  • Geophysics And Detection Of Objects (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、人体など高インピーダ
ンスを有する物体が複数の検出部に対して接触または非
接触の状態にあることを検出する検出装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a detecting device for detecting that an object having a high impedance such as a human body is in contact or non-contact with a plurality of detecting portions.

【0002】[0002]

【従来技術】従来、種々の分野で、人体などの高インピ
ーダンスの物体がスイッチやハンドルなどに接触したこ
とを検出するいわゆるタッチセンサが使用されている。
例えば、パチンコ遊技装置では、玉発射ハンドルを遊技
者が握っているか否かを検出する検出装置が各遊技装置
毎に内蔵されている。こうした検出装置としては、発振
回路を構成し、この発振回路の構成素子の一部を検出部
まで延出させる構成が知られている。この回路構成で
は、遊技者がハンドルを握るすることによるインピーダ
ンスの変化によって、発振回路の発振が停止もしくは開
始するものとし、その発振回路の発振状態を検出する。
即ち、発振の有無により、人体などの接触状態を検出し
ているのである。
2. Description of the Related Art In various fields, so-called touch sensors for detecting that a high-impedance object such as a human body has come into contact with a switch or a handle have been used.
For example, in a pachinko gaming device, a detecting device for detecting whether or not a player is holding a ball firing handle is built in each gaming device. As such a detection device, a configuration is known in which an oscillation circuit is configured and some of the components of the oscillation circuit are extended to a detection unit. In this circuit configuration, the oscillation of the oscillation circuit is stopped or started by a change in impedance caused by the player gripping the steering wheel, and the oscillation state of the oscillation circuit is detected.
That is, the contact state of the human body or the like is detected based on the presence or absence of oscillation.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、こうし
た検出装置では、高インピーダンスの物体の接触により
発振が継続もしくは停止する発振回路を用いるため、構
成部品点数が増え、調整に手間を要するという問題があ
った。発振回路として、簡易な高周波発振回路であるL
C発振回路、例えばコルピッツ形やハートレー形発振回
路を用いても、発振のために帰還回路を有するため、そ
の回路構成部品は多数に及び、かつ発振状態を持続させ
るための帰還増幅率やインピーダンスの調整に、かなり
の手間を要していたのである。
However, such a detection device has a problem that the number of components increases and the adjustment requires time because an oscillation circuit that continues or stops oscillation due to contact with a high-impedance object is used. Was. As an oscillation circuit, a simple high-frequency oscillation circuit L
Even if a C oscillation circuit, such as a Colpitts or Hartley oscillation circuit, is used, since a feedback circuit is provided for oscillation, the number of circuit components is large and the feedback amplification factor and impedance for maintaining the oscillation state are large. The adjustment required a lot of work.

【0004】また、発振回路が発振しているか否かの二
値判断により、人体などの高インピーダンスの物体の接
触・非接触を正確に判断するのは、現実には極めて困難
であった。即ち、人体のインピーダンスは、環境の湿度
変化や人体の発汗の状態、あるいは年齢,体質等によっ
てもかなりばらつき、更に検出部に対する接触の状態
(握り方、接し方など)により異なるので、これらの相
違によらず、接触・非接触を正しく判断することは困難
であった。
In addition, it has been extremely difficult in practice to accurately determine whether a high impedance object such as a human body is in contact or not with a binary determination of whether or not the oscillation circuit is oscillating. In other words, the impedance of the human body varies considerably depending on changes in the humidity of the environment, the state of sweating of the human body, age, constitution, and the like, and furthermore, varies depending on the state of contact with the detection unit (such as how to grip and contact). Regardless of this, it was difficult to correctly determine contact / non-contact.

【0005】しかも、検出部の数が増えると、この様に
取り扱いの難しい発振回路が複数必要となり、上記の問
題を看過することができない。更に、各発振回路の配置
される環境(例えば、温度や湿度)が微妙に異なり、ま
た、各発振回路が検出すべき対象物のインピーダンスが
異なることもあり、検出精度を一定以上に保つことは極
めて困難となる。
In addition, when the number of detectors increases, a plurality of oscillation circuits that are difficult to handle are required, and the above problem cannot be overlooked. Further, the environment (for example, temperature and humidity) in which each oscillation circuit is arranged is slightly different, and the impedance of an object to be detected by each oscillation circuit may be different. Extremely difficult.

【0006】本発明は、こうした問題を解決し、複雑な
回路調整などを不要とし、かつ、複数個の検出部の何れ
かに高インピーダンス物体が接触または非接触状態にあ
ることを的確に判断することができる検出装置を提供す
ることを目的としてなされ、次の構成をとった。
The present invention solves such a problem, eliminates the need for complicated circuit adjustments, and accurately determines whether a high impedance object is in contact or non-contact with any of the plurality of detection units. The present invention has been made in order to provide a detection device capable of performing the following, and has the following configuration.

【0007】[0007]

【課題を解決するための手段】本発明の第1の検出装置
は、m個(但し、mは任意の自然数)の検出部の何れか
に、人体など高インピーダンスを有する物体が接触また
は非接触状態にあることを検出する検出装置であって、
前記m個の検出部それぞれに対応して設けられ、その対
応する検出部にまで回路構成素子を延出させたm個の共
振回路と、該共振回路の電源電圧を所定周期でオン・オ
フすることにより、該共振回路を発振させると共に、該
オン・オフの周期を該共振回路の共振周波数の近傍を含
む範囲で可変する共振励起手段と、該オン・オフ周期の
変化に伴う該共振回路の共振状態を検出する共振状態検
出手段と、該検出結果に応じて、前記検出部に対する前
記高インピーダンスの物体の接触・非接触を判別する判
別手段と、を備え、前記共振励起手段、共振状態検出手
段、判別手段を1チップマイクロコンピュータに組み込
んだことを要旨とする。
According to a first detection device of the present invention, an object having a high impedance such as a human body is brought into contact or non-contact with any of m (where m is an arbitrary natural number) detection units. A detection device for detecting that the device is in a state,
M resonance circuits provided corresponding to the m detection units and extending circuit components up to the corresponding detection units, and turning on / off a power supply voltage of the resonance circuits at a predetermined cycle. Thereby, while oscillating the resonance circuit, resonance excitation means for varying the on / off cycle in a range including the vicinity of the resonance frequency of the resonance circuit, and a resonance excitation means for changing the on / off cycle with the change of the on / off cycle Resonance state detection means for detecting a resonance state, and determination means for determining contact / non-contact of the high impedance object with the detection unit according to the detection result, wherein the resonance excitation means, resonance state detection The gist is that the means and the determination means are incorporated in a one-chip microcomputer.

【0008】一方、本発明の第2の検出装置は、m個
(但し、mは任意の自然数)の検出部の何れかに、人体
など高インピーダンスを有する物体が接触または非接触
状態にあることを検出する検出装置であって、前記検出
部の数より少ない個数用意された共振回路と、該共振回
路の回路構成素子を延出して、前記m個の検出部に選択
的に接続する選択接続手段と、該共振回路の電源電圧を
所定周期でオン・オフすることにより、該共振回路を発
振させると共に、該オン・オフの周期を該共振回路の共
振周波数の近傍を含む範囲で可変する共振励起手段と、
該オン・オフ周期の変化に伴う該共振回路の共振状態を
検出する共振状態検出手段と、該検出結果に応じて、前
記検出部に対する前記高インピーダンスの物体の接触・
非接触を判別する判別手段と、を備え、前記選択接続手
段、共振励起手段、共振状態検出手段、判別手段を1チ
ップマイクロコンピュータに組み込んだことを要旨とす
る。
On the other hand, the second detecting device of the present invention is arranged such that an object having a high impedance such as a human body is in a contact or non-contact state with any of m (where m is an arbitrary natural number) detecting units. And a selective connection for selectively connecting the resonance circuits provided in a number smaller than the number of the detection units and the circuit components of the resonance circuit to the m detection units. Means for turning on and off the power supply voltage of the resonance circuit at a predetermined cycle to oscillate the resonance circuit and vary the on / off cycle within a range including the vicinity of the resonance frequency of the resonance circuit. An excitation means;
Resonance state detection means for detecting a resonance state of the resonance circuit in accordance with the change in the on / off cycle; and contacting the high impedance object with the detection unit in accordance with the detection result.
Determining means for determining non-contact, wherein the selective connection means, the resonance excitation means, the resonance state detecting means, and the determining means are incorporated in a one-chip microcomputer.

【0009】[0009]

【作用】以上のように構成された本発明の第1の検出装
置では、m個の検出部に接続されたm個の共振回路に対
して共振励起用の電力を供給し、かつそのオン・オフ周
期を共振回路の共振周波数近傍を含む範囲で可変すると
共に、その共振の状態から、高インピーダンスの物体の
接触・非接触を判別する。従って、m個の検出部に対し
て、簡単な共振回路をm個用意するだけで済み、検出部
に対する接触・非接触により発振が継続・停止するよう
調整された発振回路を必要としない。
In the first detecting device of the present invention having the above-described configuration, the power for resonance excitation is supplied to the m resonance circuits connected to the m detection units, and the ON / OFF power is supplied to the m resonance circuits. The off period is varied in a range including the vicinity of the resonance frequency of the resonance circuit, and contact / non-contact of a high impedance object is determined based on the resonance state. Accordingly, it is only necessary to prepare m simple resonance circuits for m detection units, and there is no need for an oscillation circuit adjusted so that oscillation is continued or stopped by contact / non-contact with the detection units.

【0010】しかも、共振励起手段,共振状態検出手段
および判別手段を、1チップマイクロプロセッサに組み
込んでいる。1チップマイクロプロセッサを用いて各手
段を実現するのは、いくつかの構成が考えられるが、例
えば、共振励起手段は、1チップマイクプロセッサの出
力ポートを共振回路の電源ラインに接続すると共に、こ
の出力ポートの電圧を所定周期でオン・オフすることに
より、共振回路を発振させれば良い。また、共振状態検
出手段としては、例えば、共振回路の出力に平滑回路を
接続し、平滑回路の出力を1チップマイクロプロセッサ
のアナログ入力ポートに接続することにより、共振回路
の共振状態を、平滑回路の出力電圧として読み取るもの
とすれば良い。判断手段は、検出部への高インピーダン
スの物体の接触・非接触のいずれか一方の状態での共振
状態を、共振の鋭さQや共振周波数等のデータに変えて
記憶し、これを他方の状態でのデータと比較するといっ
た構成が可能である。
In addition, the resonance exciting means, the resonance state detecting means and the discriminating means are incorporated in a one-chip microprocessor. Several means can be considered to realize each means using a one-chip microprocessor. For example, the resonance excitation means connects the output port of the one-chip microprocessor to the power supply line of the resonance circuit, and The resonance circuit may be oscillated by turning on / off the voltage of the output port at a predetermined cycle. As the resonance state detecting means, for example, a smoothing circuit is connected to the output of the resonance circuit, and the output of the smoothing circuit is connected to an analog input port of the one-chip microprocessor, so that the resonance state of the resonance circuit is determined. Should be read as the output voltage. The determination means stores the resonance state in one of the contact state and the non-contact state of the high-impedance object with the detection unit by converting the resonance state into data such as the resonance sharpness Q and the resonance frequency, and stores this in the other state. It is possible to adopt a configuration in which the data is compared with the data in the above.

【0011】一方、本発明の第2の検出装置は、第1の
検出装置がm個の検出部に対してm個の共振回路を備え
ていたのに対して、m個より少ない数の共振回路を備
え、選択接続手段により、これにm個の検出部を選択的
に接続する。選択的な接続としては、例えば時分割によ
り接続し、見かけ上、m個の検出部が総て共振回路の共
振状態を用いて検出可能とすることができる。重なりの
ない、あるいは重なりの少ないバンドパスフィルタを介
して一つの共振回路に複数の検出部を接続し、周波数的
に検出部を弁別可能とすることで、選択的な接続を実現
する構成も可能である。
On the other hand, in the second detecting device of the present invention, while the first detecting device has m resonance circuits for m detection units, the number of resonance circuits less than m is small. A circuit is provided, and m detectors are selectively connected to the circuit by the selective connection means. As the selective connection, for example, the connection is made in a time-division manner, so that apparently m detection units can all be detected using the resonance state of the resonance circuit. Multiple detection units can be connected to one resonance circuit via a non-overlapping or non-overlapping bandpass filter, and the detection units can be discriminated in terms of frequency. It is.

【0012】[0012]

【実施例】以上説明した本発明の構成・作用を一層明ら
かにするために、以下本発明の検出装置の好適な実施例
について説明する。図1は実施例である検出装置が適用
されるスロットル遊技装置10の概略斜視図である。な
お、実施例としての検出装置は、スロットル遊技装置1
0の制御回路40に内蔵されている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS In order to further clarify the configuration and operation of the present invention described above, a preferred embodiment of the detecting device of the present invention will be described below. FIG. 1 is a schematic perspective view of a throttle game device 10 to which a detection device according to an embodiment is applied. The detection device according to the embodiment is a throttle game device 1
0 in the control circuit 40.

【0013】一般にスロットル遊技装置10では、遊技
のために手持ちのコイン1枚ないし3枚をコイン投入口
12から投入し、スロットルレバー14を矢印方向に操
作する。これにより、中央の3本のドラム16,18,
20がそれぞれ回転を始め、遊技者が各ドラム16,1
8,20の直下に設けれたストップスイッチ22,2
4,26に触れたときに各ストップスイッチ22,2
4,26に対応したドラム16,18,20の回転が停
止する。この時、各ドラム16,18,20に描かれた
特定の英数字あるいは記号が中央あるいは左右斜めに揃
ったならば、その特定の英数字あるいは記号毎に予め定
められた枚数のコインが受け皿30に払出される。コイ
ン投入口12からのコインの投入枚数は、英数字が揃っ
た場合の支払枚数の計算の基礎となる。また、コインの
投入枚数により、3本のドラム16,18,20の英数
字の揃い条件を決定することも行なっている。本実施例
では、投入枚数が1枚であるときには中央の位置(図中
の777)で英数字などが揃ったときにのみコイン支払
い条件が成立と判断し、投入枚数が3枚であるときには
中央および左右斜めいずれかの位置で英数字などが揃っ
たときにコインの支払い条件が成立と判断している。
In general, in the throttle gaming device 10, one to three coins are held for playing a game through the coin insertion slot 12, and the throttle lever 14 is operated in the direction of the arrow. As a result, the central three drums 16, 18,
20 starts to rotate, and the player
Stop switches 22, 2 provided directly below 8, 20
When the stop switches 22 and 2 are touched,
The rotation of the drums 16, 18, 20 corresponding to 4, 26 stops. At this time, if the specific alphanumeric characters or symbols drawn on each of the drums 16, 18, and 20 are aligned at the center or obliquely to the left and right, a predetermined number of coins for each specific alphanumeric character or symbol are received in the tray 30. Paid out. The number of coins inserted from the coin insertion slot 12 is the basis for calculating the number of coins to be paid when the alphanumeric characters are aligned. In addition, the condition for aligning the alphanumeric characters of the three drums 16, 18, and 20 is determined based on the number of coins inserted. In the present embodiment, when the number of inserted coins is one, it is determined that the coin payment condition is satisfied only when the alphanumeric characters and the like are aligned at the center position (777 in the figure). It is determined that the coin payment condition is satisfied when alphanumeric characters and the like are aligned at one of the left and right diagonal positions.

【0014】この様にスロットル遊技装置10において
は、遊技者がストップスイッチ22,24,26に触れ
た瞬間の検出が遊技条件を決定する重要要因となる。そ
こで、本実施例の検出装置40の3つの検出部42,4
4,46は、このストップスイッチ22,24,26と
一体に設けられ、遊技者のストップスイッチ接触・非接
触を検出するために利用される。
As described above, in the throttle game device 10, the detection of the moment when the player touches the stop switches 22, 24, 26 is an important factor for determining the game condition. Therefore, the three detection units 42 and 4 of the detection device 40 of the present embodiment are
4, 46 are provided integrally with the stop switches 22, 24, 26, and are used for detecting contact / non-contact of the stop switch of the player.

【0015】スロットル遊技装置10の制御回路40
は、前述のごとく本実施例の検出装置を内蔵すると共
に、ドラム16,18,20の回転や払出コイン枚数な
どの遊技全般を管理する高度の情報処理機能を有してい
る。この制御回路40の電気回路ブロック図を、図2に
示した。
Control circuit 40 of throttle game device 10
Has the built-in detection device of the present embodiment as described above, and has an advanced information processing function for managing the entire game such as rotation of the drums 16, 18, and 20 and the number of coins to be paid out. An electric circuit block diagram of the control circuit 40 is shown in FIG.

【0016】制御回路40は、図示するように、周辺回
路を1チップに収納したワンチップ・マイクロコンピュ
ータ(以下、MPUという)50を中心として構成され
る。本実施例では、このMPU50として、東芝製TM
P68HC11E9を使用した。すなわちMPU50
は、コアとなるCPU50a、後述する各種プログラム
を記憶しているROM50b、情報の一時的な記憶を行
なうRAM50c、時間をカウントしたり必要なタイミ
ングで割込を発生するカウンタ・タイマ50d、MPU
50の外部回路と各種情報の入出力をサポートする入出
力ポート(以下、I/Oポートという)50e、8つの
アナログ入力ポートPA1〜PA8に入力するアナログ
信号を選択的にディジタル信号に変換する8ビットのA
/Dコンバータ50fとからなる。このMPU50は、
ドラム16,18,20の停止位置の検出やコインの排
出などを含むスロットルマシンの全機能を制御している
が、以下の説明においては、本願発明に直接関与しない
機能については省略するものとし、図示も省略する。
As shown in the figure, the control circuit 40 is composed mainly of a one-chip microcomputer (hereinafter, referred to as an MPU) 50 in which peripheral circuits are housed in one chip. In this embodiment, the MPU 50 is TM
P68HC11E9 was used. That is, MPU50
Are a core CPU 50a, a ROM 50b storing various programs to be described later, a RAM 50c for temporarily storing information, a counter / timer 50d for counting time and generating an interrupt at a required timing, and an MPU.
An input / output port (hereinafter, referred to as an I / O port) 50e for supporting input / output of various information with 50 external circuits, and selectively converts analog signals input to eight analog input ports PA1 to PA8 into digital signals. Bit A
/ D converter 50f. This MPU 50
Although all the functions of the throttle machine including the detection of the stop positions of the drums 16, 18, and 20 and the discharge of coins are controlled, functions that are not directly related to the present invention will be omitted in the following description. Illustration is also omitted.

【0017】カウンタ・タイマ50dは、MPU50に
外付けされたクリスタル52により定まるクロック周波
数をカウントし、そのカウント値とCPU50aにより
セットされた値CXとが一致したとき、CPU50aへ
カウントアップ信号を送出する。この信号は、CPU5
0aに対して割込処理を要求する割込信号として扱われ
る。従って、この割込要求により起動される割込処理ル
ーチンで、他の処理と共に再度セット値CXをセットす
るものとすれば、CPU50aは、クロック周波数を所
望の分周比を分周して定まる時間間隔で、特定の割込処
理を起動・実行することができる。この処理の中で、カ
ウンタ・タイマ50dへのセット値CXを適宜変更して
分周比を可変すれば、割込処理を起動するインターバル
を可変することも容易である。
The counter / timer 50d counts a clock frequency determined by the crystal 52 externally connected to the MPU 50, and sends a count-up signal to the CPU 50a when the count value matches the value CX set by the CPU 50a. . This signal is sent to the CPU 5
0a is treated as an interrupt signal requesting an interrupt process. Therefore, if the set value CX is set again together with other processing in the interrupt processing routine started by this interrupt request, the CPU 50a determines the clock frequency by dividing the clock frequency by the desired frequency division ratio. At intervals, a specific interrupt process can be activated and executed. In this process, if the set value CX to the counter / timer 50d is appropriately changed to change the frequency division ratio, it is easy to change the interval at which the interrupt process is started.

【0018】MPU50の出力ポートPC1〜PC4の
4つは、ドラム16,18,20を回転させるステッピ
ングモータ70,72,74の各々についての各相励磁
信号として利用される。出力ポートPC1〜PC4に出
力された信号が、どのモータ70,72,74に対応し
たものであるかを示す信号は、出力ポートPG1および
PG2から出力される。このため、各励磁相への励磁タ
イミングを、出力ポートPC1ないし4から出力してド
ライバ54に出力するだけで、各モータ70,72,7
4の回転数を正確に制御することができる。
The four output ports PC1 to PC4 of the MPU 50 are used as phase excitation signals for each of the stepping motors 70, 72, 74 for rotating the drums 16, 18, 20. Signals indicating which motors 70, 72, 74 the signals output to output ports PC1 to PC4 correspond to are output from output ports PG1 and PG2. Therefore, the excitation timing for each excitation phase is only output from the output ports PC1 to PC4 to the driver 54, and the motors 70, 72, 7
4 can be accurately controlled.

【0019】なお、MPU50のポートPC1〜PC4
と各ステッピングモータ70,72,74との間に設け
られているドライバ54は、上述したように、各ステッ
ピングモータ70,72,74への励磁タイミングを独
立に制御するという目的の他、ステッピングモータ7
0,72,74を駆動するのに十分な電流を供給すると
いう点でも用いられている。このドライバ54のゲート
回路機能はMPU50の出力ポートPG1,2からのゲ
ート信号により制御され、各ステッピングモータ70,
72,74の励磁を独立してオン/オフする。従って、
ドラム16,18,20の回転を、独立して制御するこ
とが可能である。
The ports PC1 to PC4 of the MPU 50
As described above, the driver 54 provided between the stepping motors 70, 72, and 74 has the purpose of independently controlling the excitation timing of the stepping motors 70, 72, and 74, as well as the stepping motor. 7
It is also used in that it supplies enough current to drive 0,72,74. The gate circuit function of the driver 54 is controlled by the gate signals from the output ports PG1 and PG2 of the MPU 50.
The excitation of 72 and 74 is turned on / off independently. Therefore,
The rotation of the drums 16, 18, 20 can be controlled independently.

【0020】MPU50の他の出力ポートPSからは、
MPU50の処理により、所定周期の矩形波が出力され
る。このポートPS1ないしPS3には、実施例では、
矩形波を正弦波へ変換する矩形波−正弦波変換回路(以
下、波形変換回路という)56を接続している。これ
は、後述する並列共振回路60での共振条件を単純なも
のとするためであるが、矩形波に重畳されている高周波
成分の影響を無視すれば、この波形変換回路56はなく
ても構成することができる。波形変換回路56は、歪み
の少ない正弦波を得るためには矩形波の基本波のみを取
り出すアクティブ帯域フィルタにより構成され、最も簡
単には矩形波のレベルをシフトさせるレベルシフト回路
や簡単な積分回路により構成される。この他、MPU5
0の複数の出力ポートを抵抗ネットワークに接続して構
成したディジタル−アナログ変換器を用いて擬似的な正
弦波を出力する構成や、アナログ出力を直接サポートす
るMPU50を用いて同様に正弦波を出力する構成等を
とるこも差し支えない。
From another output port PS of the MPU 50,
By the processing of the MPU 50, a rectangular wave having a predetermined period is output. In the embodiment, the ports PS1 to PS3 have:
A rectangular wave-sine wave conversion circuit (hereinafter, referred to as a waveform conversion circuit) 56 for converting a rectangular wave into a sine wave is connected. This is for simplifying the resonance condition in the parallel resonance circuit 60 described later. However, if the influence of the high frequency component superimposed on the rectangular wave is ignored, the configuration is unnecessary even if the waveform conversion circuit 56 is not provided. can do. In order to obtain a sine wave with little distortion, the waveform conversion circuit 56 is constituted by an active band-pass filter for extracting only a fundamental wave of a square wave, and most simply, a level shift circuit for shifting the level of the square wave and a simple integration circuit It consists of. In addition, MPU5
A configuration in which a pseudo sine wave is output using a digital-analog converter configured by connecting a plurality of output ports of 0 to a resistance network, or a sine wave is output in the same manner using an MPU 50 that directly supports analog output It is also acceptable to adopt a configuration or the like.

【0021】波形変換回路56の出力する正弦波信号
は、互いに連続する3種の帯域(1#,2#,3#)を
有するバンドパスフィルタ58に入力され、その周波数
に応じて3つに分配される。この様なバンドパスフィル
タ58は、オペアンプなどの能動素子を利用したアクテ
ィブフィルタを単独あるいは3つ組み合わせることによ
り構成される。こうして3分割された正弦波信号は、コ
イルLとコンデンサCの並列共振回路60a,60b,
60cの電源として利用され、それぞれの並列共振回路
60の共振電流iが8入力の電流検出回路62の3つの
ポートにて検出され、電圧信号として、MPU50に内
蔵されたA/Dコンバータ50fの各アナログ入力ポー
トPA1〜PA3へ入力される。
The sine wave signal output from the waveform conversion circuit 56 is input to a band-pass filter 58 having three kinds of continuous bands (1 #, 2 #, 3 #). Be distributed. Such a bandpass filter 58 is configured by an active filter using an active element such as an operational amplifier alone or by combining three active filters. The sine wave signal divided into three in this manner is a parallel resonance circuit 60a, 60b of a coil L and a capacitor C,
60c, the resonance current i of each parallel resonance circuit 60 is detected at three ports of the 8-input current detection circuit 62, and the voltage of each of the A / D converters 50f built in the MPU 50 is detected as a voltage signal. Input to analog input ports PA1 to PA3.

【0022】ここで、3つの並列共振回路60a,60
b,60cの各共振周波数とバンドパスフィルタ58の
出力する3つの帯域とは、図3のごとき関係を保ってい
る。即ち、並列共振回路60a〜60cの各共振周波数
fa,fb,fcは、各バンド幅1#,2#,3#のほ
ぼ中央に位置し、互いに干渉しないように十分な周波数
間隔をもって設計される。
Here, the three parallel resonance circuits 60a, 60
Each of the resonance frequencies b and 60c and the three bands output by the band-pass filter 58 maintain the relationship as shown in FIG. That is, the resonance frequencies fa, fb, and fc of the parallel resonance circuits 60a to 60c are located substantially at the center of the bandwidths 1 #, 2 #, and 3 #, and are designed with sufficient frequency intervals so as not to interfere with each other. .

【0023】前述した各ストップスイッチ22,24,
26に対応して設けられた検出部42,44,46は、
この3つの並列共振回路60a〜60cと電気的に接続
されている。また、従って、遊技者がストップスイッチ
22,24,26に触れてドラム16,18,20の回
転停止を要求すると、図2に示すように、遊技者の呈す
るインピーダンスZが検出部42,44,46を介して
並列共振回路60a〜60cにそれぞれ並列接続され、
並列共振回路60a〜60cの共振状態に影響を及ぼ
す。
Each of the stop switches 22, 24,
The detection units 42, 44, 46 provided corresponding to the
The three parallel resonance circuits 60a to 60c are electrically connected. Therefore, when the player touches the stop switches 22, 24, 26 to request the rotation of the drums 16, 18, 20 to stop, as shown in FIG. 2, the impedance Z presented by the player is detected by the detecting units 42, 44, 46, are connected in parallel to the parallel resonance circuits 60a to 60c, respectively.
This affects the resonance state of the parallel resonance circuits 60a to 60c.

【0024】以上のように構成された本実施例のスロッ
トル遊技装置10は、次のように作動する。図4および
図5は、MPU50のROM50bに格納されているプ
ログラムを示すフローチャートである。図4は、ストッ
プスイッチ22,24,26への遊技者の接触を検出す
る検出プログラムを示し、図5は、カウンタ・タイマ5
0dのカウントアップ割込み時に実行されるカウンタ・
タイマ割込みプログラムを示す。これら2つのプログラ
ムは相互に密接な関係で処理されることから、両フロー
チャートを相互参照しながらスロットル遊技装置10の
動作を説明する。
The throttle game apparatus 10 according to the present embodiment having the above-described structure operates as follows. FIG. 4 and FIG. 5 are flowcharts showing programs stored in the ROM 50b of the MPU 50. FIG. 4 shows a detection program for detecting the contact of the player with the stop switches 22, 24, and 26. FIG.
Counter executed at 0d count-up interrupt
This shows a timer interrupt program. Since these two programs are processed in close relation to each other, the operation of the throttle gaming device 10 will be described with reference to both flowcharts.

【0025】まず、スロットル遊技装置10に電源が投
入されると、MPU50は検出プログラムをROM50
bから読み込み、初期処理を実行する(ステップ10
0)。ここで初期処理とは、RAM50cのチェックを
始めとしたハードチェックを実行した後に、カウンタ・
タイマ割込みプログラムで利用されるカウンタ・タイマ
50dおよびフラグFに初期値をセットする処理であ
る。こうした初期処理(ステップ100)が終了する
と、MPU50は基準Qn(nは、添字a,b,cを表
す)の記憶処理(ステップ110)に移行する。
First, when power is supplied to the throttle game device 10, the MPU 50 stores a detection program in the ROM 50.
b and performs the initial processing (step 10
0). Here, the initial processing means that after performing a hard check including a check of the RAM 50c,
This is a process for setting an initial value to the counter / timer 50d and the flag F used in the timer interrupt program. When the initial processing (Step 100) is completed, the MPU 50 shifts to the storage processing (Step 110) of the reference Qn (n represents the suffixes a, b, and c).

【0026】ここで基準Qnの記憶処理(ステップ11
0)とは、検出部42,44,46までを含んだ並列共
振回路60a〜60cの共振の鋭さQa〜Qcの判断基
準を記憶する処理である。基準の鋭さQnは、予め所定
値として与えても良いし、電源投入直後に遊技者がスト
ップスイッチ22,24,26に触っていないという前
提が成り立つなら、電源投入直後に各並列共振回路60
a〜60cへの電源周波数をスキャンして学習しても差
し支えない。以下、MPU50は、ステップ120以下
の処理を実行するが、初期処理によりセット値CXが設
定されたカウンタ・タイマ50dからの割込信号によ
り、CPU50aは、基準Qnの記憶の直後から、図5
に示すカウンタ・タイマ割込みプログラムの処理を、所
定のインターバルで繰り返し実行する。以下、図5に示
すカウンタ・タイマ割込処理ルーチンについて説明す
る。
Here, the reference Qn is stored (step 11).
0) is a process of storing the criterion for determining the sharpness Qa to Qc of the resonance of the parallel resonance circuits 60a to 60c including the detection units 42, 44, and 46. The reference sharpness Qn may be given as a predetermined value in advance, or if it is assumed that the player does not touch the stop switches 22, 24, and 26 immediately after power-on, the respective parallel resonance circuits 60 immediately after power-on.
The power supply frequency to a to 60c may be scanned and learned. Hereinafter, the MPU 50 executes the processing of step 120 and subsequent steps. The CPU 50a receives the interrupt signal from the counter / timer 50d in which the set value CX has been set by the initial processing, and immediately after storing the reference Qn,
The processing of the counter / timer interrupt program shown in (1) is repeatedly executed at predetermined intervals. Hereinafter, the counter / timer interrupt processing routine shown in FIG. 5 will be described.

【0027】この割込処理ルーチンを起動すると、CP
U50aは、出力ポートPSの出力状態がハイレベル
「H」であるか否かを判断し(ステップ200)、既に
出力が「H」であればこれをロウレベル「L」に変更し
(ステップ210)、出力が「L」であればこれを
「H」へ変更する(ステップ220)。その後、周波数
の増減指示を示すフラグFの状態を確認し(ステップ2
30)、フラグFが「H」であればカウンタ・タイマ5
0dのセット値CXをインクリメント(ステップ24
0)、フラグFが「L」であればセット値CXをデクリ
メントする(ステップ250)。
When this interrupt processing routine is started, CP
The U50a determines whether or not the output state of the output port PS is at the high level "H" (Step 200). If the output is already "H", it changes this to the low level "L" (Step 210). If the output is "L", it is changed to "H" (step 220). Thereafter, the state of the flag F indicating the frequency increase / decrease instruction is confirmed (step 2).
30) If the flag F is "H", the counter timer 5
The set value CX of 0d is incremented (step 24)
0), if the flag F is "L", the set value CX is decremented (step 250).

【0028】このカウンタ・タイマ50dのセット値の
インクリメントあるいはデクリメント処理により、出力
ポートPSの出力が「H」から「L」、「L」から
「H」に変化する期間は漸増あるいは漸減することにな
る。換言するならば、この処理により出力ポートPSか
ら出力される矩形波の周期Tは徐々に長くあるいは短く
変更され、その周期Tの増減を切り替えるスイッチとし
てフラグFが利用されるのである。
By the increment or decrement of the set value of the counter / timer 50d, the period during which the output of the output port PS changes from "H" to "L" and from "L" to "H" gradually increases or decreases. Become. In other words, the cycle T of the rectangular wave output from the output port PS is gradually increased or shortened by this processing, and the flag F is used as a switch for switching the increase or decrease of the cycle T.

【0029】カウンタ・タイマ50dのセット値CXを
インクリメントした場合にはその値が上限値CH以上と
なったか否かを判断し(ステップ260)、上限値CH
以上となった場合には、周期の増加は限界に至ったとし
て、フラグFを「L」へセットし(ステップ270)、
本処理プログラムの1回の処理を終了する。同様に、カ
ウンタ・タイマ50dのセット値CXをデクリメントし
た場合には、その値が下限値CL以下となったか否かを
判断し(ステップ280)、下限値以下となった場合に
はフラグFを「H」にセットして(ステップ29)プロ
グラムを終了する。
When the set value CX of the counter / timer 50d has been incremented, it is determined whether or not the value has exceeded the upper limit value CH (step 260).
If the above is the case, it is determined that the increase in the cycle has reached the limit, and the flag F is set to “L” (step 270),
One process of this processing program ends. Similarly, when the set value CX of the counter / timer 50d is decremented, it is determined whether or not the value has become equal to or less than the lower limit value CL (step 280). It is set to "H" (step 29) and the program ends.

【0030】図6は、このカウンタ・タイマ割込みプロ
グラムによりMPU50の出力ポートPSから出力され
る矩形波信号、この矩形波信号を入力する波形変換回路
56から得られる正弦波信号を説明するための説明図で
ある。この図からも容易に理解されるように、カウンタ
・タイマ割込プログラムにより並列共振回路60a〜6
0cに印加される交流信号の周波数fは漸増あるいは漸
減する。本実施例では、並列共振回路60a〜60cの
共振周波数faは約8.0[KHz]、同じくfbは1
2.0[KHz]、同じくfcは16.0[KHz]に
設計されており、その全共振周波数をカバーするように
出力ポートPSから出力される信号の周波数がスキャン
するようにセット値CXの上限値CHおよび下限値CL
が決定され、実施例では、約6[KHz]〜約18[K
Hz]の周波数帯でスキャンが繰り返される。
FIG. 6 is a diagram for explaining a rectangular wave signal output from the output port PS of the MPU 50 by this counter / timer interrupt program, and a sine wave signal obtained from the waveform conversion circuit 56 for inputting the rectangular wave signal. FIG. As can be easily understood from this figure, the parallel resonance circuits 60a to 60
The frequency f of the AC signal applied to 0c gradually increases or decreases. In this embodiment, the resonance frequency fa of the parallel resonance circuits 60a to 60c is about 8.0 [KHz], and fb is 1
2.0 [KHz], and fc is designed to be 16.0 [KHz]. The set value CX is set so that the frequency of the signal output from the output port PS scans so as to cover the entire resonance frequency. Upper limit value CH and lower limit value CL
Is determined, and in the embodiment, about 6 [KHz] to about 18 [K
[Hz].

【0031】図4に示した基準Qnの記憶処理(ステッ
プ110)として、基準Qnを学習する構成をとる場合
には、電源投入直後に、このカウンタ・タイマ割込みプ
ログラム(図5)の周波数スキャンにより周波数帯6〜
18[KHz]の交流信号を並列共振回路60a〜60
cへ印加し、各周波数での電流検出回路62からの出力
値inを読み込むことで並列共振回路60a〜60cの
共振の鋭さQnを検出し、これを記憶する。ただし、こ
の場合には、ストップスイッチ22,24,26を遊技
者が握っていないことが前提となる。この基準Qnの記
憶処理(ステップ110)により、図3に実線で示した
3つの共振周波数特性が学習もしくは予め設定される周
波数特性として認識され、基準QnとしてRAM50c
の所定領域に記憶される。
When the reference Qn is learned as the storage process (step 110) of the reference Qn shown in FIG. 4, the counter / timer interrupt program (FIG. 5) scans the frequency immediately after the power is turned on. Frequency band 6 ~
The 18 [KHz] AC signal is supplied to the parallel resonance circuits 60a-60.
c, and read the output value in from the current detection circuit 62 at each frequency to detect the sharpness Qn of resonance of the parallel resonance circuits 60a to 60c, and store this. However, in this case, it is assumed that the player does not hold the stop switches 22, 24, and 26. By storing the reference Qn (step 110), the three resonance frequency characteristics indicated by the solid lines in FIG. 3 are recognized as learning or preset frequency characteristics, and the RAM 50c is used as the reference Qn.
Is stored in a predetermined area.

【0032】上記初期処理(ステップ100)および基
準Qnの記憶処理(ステップ110)によりスロットル
遊技装置10の初期状態が確定されると、制御回路40
は定常処理(ステップ120〜180)に入り、電源が
オフされるまでこの定常処理を繰り返し実行する。な
お、改めて言うまでもなく、この定常処理の繰り返し期
間にも、図5に示したカウンタ・タイマ割込プログラム
は、CPU50aが設定するタイミングで繰り返し実行
されている。
When the initial state of the throttle game apparatus 10 is determined by the initial processing (step 100) and the storage processing of the reference Qn (step 110), the control circuit 40
Enters a stationary process (steps 120 to 180), and repeatedly executes the stationary process until the power is turned off. Needless to say again, the counter / timer interrupt program shown in FIG. 5 is repeatedly executed at the timing set by the CPU 50a even during the repetition period of the steady processing.

【0033】定常処理の始めには、カウンタ・タイマ5
0dの現在のセット値CXおよびフラグFの値を入力し
(ステップ120)、その時の電流検出回路62の出力
値ia,ib,ic(以下、これら3つの値を代表させ
てinで表わす)を記憶する(ステップ130)。この
処理により、カウンタ・タイマ割込みプログラムの実行
によって並列共振回路60a〜60cに印加されている
交流信号の周波数f値、周波数スキャン状態(漸増ある
いは漸減)、そして並列共振回路60a〜60cの共振
状態を入力することができる。
At the beginning of the regular processing, the counter / timer 5
The current set value CX of 0d and the value of the flag F are input (step 120), and the output values ia, ib, ic of the current detection circuit 62 at that time (hereinafter, these three values are represented by in) are represented. It is stored (step 130). By this processing, the frequency f value of the AC signal applied to the parallel resonance circuits 60a to 60c by execution of the counter / timer interrupt program, the frequency scan state (gradual increase or decrease), and the resonance state of the parallel resonance circuits 60a to 60c are changed. Can be entered.

【0034】次に、前回の状態からフラグFが値を反転
させたか否かを判断し(ステップ140)、未だに反転
していなければステップ120ないしステップ140の
処理を繰り返し実行する。すなわち、並列共振回路60
a〜60cに印加される交流信号の周波数を、6[KH
z]から18[KHz]の範囲に亘って1回スキャンし
終わるまでステップ120ないしステップ140を繰り
返し実行する。この1回の周波数スキャンが終了する
と、フラグFが反転されるから(図5ステップ270も
しくは290)、これをステップ140の判断処理によ
り判定したとき、その1回の周波数スキャンにより得ら
れた出力値inのデータに基づき現在の各並列共振回路
60a〜60cの共振の鋭さQ1,Q2,Q3を算出し
(図3の一点鎖線参照)、次回の処理のためにこれまで
に得られたデータを消去する(ステップ150)。
Next, it is determined whether or not the value of the flag F has been inverted from the previous state (step 140). If it has not been inverted yet, the processing of steps 120 to 140 is repeatedly executed. That is, the parallel resonance circuit 60
The frequency of the AC signal applied to each of the a to c is 6 [KH
Steps 120 to 140 are repeatedly executed until one scan is completed in the range from [z] to 18 [KHz]. When this one frequency scan is completed, the flag F is inverted (step 270 or 290 in FIG. 5). When this is determined by the determination processing of step 140, the output value obtained by the one frequency scan is determined. The current resonance sharpness Q1, Q2, Q3 of each of the parallel resonance circuits 60a to 60c is calculated based on the data in (see the dashed line in FIG. 3), and the data obtained so far for the next processing is deleted. (Step 150).

【0035】そして、次のステップ160にて、ステッ
プ150にて算出された現在の共振の鋭さQ1〜Q3と
前記ステップ110にて記憶された基準Qa〜Qcとが
近似しているか否かをそれぞれ判断する。ここで近似す
るか否かの判断とは、図3に示すような共振周波数fn
のずれ幅Δf、共振周波数での最大インピーダンスの差
異ΔZ、最大インピーダンスが1/2となる周波数幅f
zの差などを単独に、あるいはこれらの情報を適宜組み
合わせ、共振状態の変化を判断することである。
Then, in the next step 160, it is determined whether or not the current resonance sharpness Q1 to Q3 calculated in step 150 is close to the reference Qa to Qc stored in step 110. to decide. Here, the determination of whether or not approximation is made refers to the resonance frequency fn as shown in FIG.
Width Δf, maximum impedance difference ΔZ at the resonance frequency, frequency width f at which the maximum impedance is と
It is to judge the change of the resonance state by using the difference of z alone or by appropriately combining these information.

【0036】このステップ160により基準Qa〜Qc
と現在のQ1〜Q3との何れかが近似しないと判断され
たとき、すなわち遊技者がストップスイッチ22,2
4,26の何れかに触れることで並列共振回路60a〜
60cの何れかの共振状態が大きく変化したと判断され
たときは、出力ポートPGから共振状態が変化したスト
ップスイッチ22,24,26に対応するステッピング
モータ70,72,74の励磁信号ゲートを閉じるため
の信号を出力してそれに対応するドラム16,18,2
0の回転駆動を中止し、かつモニタ1処理を実行する
(ステップ170)。なお、モニタ1処理とは基準Qa
〜Qcと現在のQ1〜Q3とのずれ量を学習記憶し、並
列共振回路60a〜60cに与える遊技者固有のインピ
ーダンスZの影響度を測定し、前記ステップ160にて
実行した近似判断の精度を向上させる処理等を言う。な
お、ストップスイッチ22,24,26が操作されたと
判断してドラム16,18,20を停止し、それらの図
柄が一致したか否かの等の判断は、メインプログラムに
おいて行なわれているが、それらの処理の図示および説
明は省略する。
In step 160, the reference values Qa to Qc
When any one of the current Q1 to Q3 is not approximated, that is, when the player
4 or 26, the parallel resonance circuits 60a to 60
When it is determined that any of the resonance states 60c greatly changes, the excitation signal gates of the stepping motors 70, 72, 74 corresponding to the stop switches 22, 24, 26 whose resonance states have changed from the output port PG are closed. For the corresponding drums 16, 18, 2
The rotation drive of 0 is stopped, and the monitor 1 process is executed (step 170). The monitor 1 process is defined as the reference Qa
QQc and the current deviation amount of Q1 学習 Q3 are learned and stored, the degree of influence of the player's unique impedance Z on the parallel resonance circuits 60a〜60c is measured, and the accuracy of the approximation judgment performed in step 160 is determined. It refers to processing to improve. It should be noted that although the drums 16, 18, and 20 are stopped upon determining that the stop switches 22, 24, and 26 have been operated, and whether or not the symbols match, the determination is made in the main program. Illustration and explanation of those processes are omitted.

【0037】一方、ステップ160の近似判断処理によ
り基準Qa〜Qcと現在のQ1〜Q3とが近似している
と判断されたときは、上記ステップ170に替えてステ
ップ180の処理を行なう。即ち、出力ポートPGから
ゲート信号を出力することなく各ステッピングモータ7
0,72,74の回転駆動を継続し、モニタ2処理を実
行する。ここで言うモニタ2処理とは、ステップ160
にて算出された基準Qa〜Qcと現在のQ1〜Q3との
ずれ量から、湿度や温度等の環境変化あるいは経時変化
による基準Qnの微妙な変化を記憶し、ステップ160
の処理に利用する基準Qnの値を更新して、検出精度を
向上する処理等を言う。
On the other hand, when it is determined by the approximation determination processing in step 160 that the references Qa to Qc and the current Q1 to Q3 are similar, the processing in step 180 is performed instead of the step 170. That is, each stepping motor 7 is output without outputting a gate signal from the output port PG.
The rotation drive of 0, 72, and 74 is continued, and the monitor 2 process is executed. The monitor 2 processing referred to here is a step 160
The subtle changes in the reference Qn due to environmental changes such as humidity and temperature or changes over time are stored based on the amounts of deviation between the references Qa to Qc and the current Q1 to Q3 calculated in step 160.
Means to improve the detection accuracy by updating the value of the reference Qn used in the processing.

【0038】なお、予め与えた基準Qnに対して、近似
・非近似だけの判断で、ストップスイッチ22,24,
26への遊技者の接触の有無を判断するだけであれば、
これらのモニタ1処理,モニタ2処理は、必ずしも行な
う必要はない。
Note that the stop switches 22, 24, and
If it is only necessary to determine whether or not the player has touched 26,
These monitor 1 processing and monitor 2 processing need not always be performed.

【0039】以上のように構成される本実施例の検出装
置によれば、次の効果が得られる。遊技者が何れかのス
トップスイッチ22,24,26に接触したことを検出
するために、本実施例ではコイルLおよびコンデンサC
とからなる簡単な回路構成の並列共振回路60a〜60
cを採用している。このため、検出装置全体としての構
成回路素子が大幅に省略され、小型かつ安価に構成する
ことができる。また、従来の発振回路のように増幅率や
フィードバック位相などの回路調整を行なうことが一切
不要となり、製造工程が簡略化されると共に品質の安定
した製品を大量生産することが可能となる。こうした利
点は、検出するスイッチの数が増加するほど顕著なもの
となる。更に、本実施例では、接触・非接触を単一のM
PU50により検出している。従って、ストップスイッ
チの数が増減した場合でも、僅かなハードウェアの追加
・削除により対処することができる。
According to the detection apparatus of the present embodiment configured as described above, the following effects can be obtained. In order to detect that the player has touched any of the stop switches 22, 24, 26, in this embodiment, the coil L and the capacitor C are used.
The parallel resonance circuits 60a to 60 having a simple circuit configuration
c is adopted. For this reason, the constituent circuit elements of the entire detection device are largely omitted, and the detection device can be configured to be small and inexpensive. Further, it is not necessary to perform any circuit adjustment such as the amplification factor and the feedback phase as in the conventional oscillation circuit, which simplifies the manufacturing process and enables mass production of products with stable quality. These advantages become more pronounced as the number of switches to be detected increases. Further, in this embodiment, the contact / non-contact
Detected by PU50. Therefore, even if the number of stop switches increases or decreases, it can be dealt with by adding or deleting a small amount of hardware.

【0040】また、遊技者がストップスイッチ22,2
4,26に接触しているか否かの判断は、基準Qa〜Q
cと現在のQ1〜Q3との変化状態を共振周波数fQの
ずれ幅Δf、共振周波数での最大インピーダンスの差異
ΔZ、最大インピーダンスが1/2となる周波数幅fz
の差などを単独に、あるいはこれらの情報を組み合わせ
て適宜判断される。従って、従来の発振回路が発振して
いるか否かの2値判断に比較して判断精度は格段に向上
する。
When the player operates the stop switches 22 and 2
4, 26 are determined based on the criteria Qa to Q
The change state between c and the current Q1 to Q3 is represented by the deviation width Δf of the resonance frequency fQ, the difference ΔZ of the maximum impedance at the resonance frequency, and the frequency width fz at which the maximum impedance becomes 1 /.
The difference is determined singly or by combining these pieces of information. Therefore, the accuracy of the determination is significantly improved as compared with the conventional binary determination of whether the oscillation circuit is oscillating.

【0041】しかも、出力ポートPSからの出力電力
は、その出力周波数に応じてバンドパスフィルタ58に
より3つに分配され任意の時間では単に1つの共振回路
60a〜60cを共振励起しているだけであり、僅かな
電源容量でこと足りる。このため、図2に示したように
1チップのMPU50を利用して全体システムを安価、
簡易に構成することができる。
Moreover, the output power from the output port PS is divided into three by the band-pass filter 58 in accordance with the output frequency, and only one resonance circuit 60a to 60c is resonantly excited at any time. Yes, a small amount of power is sufficient. For this reason, as shown in FIG.
It can be easily configured.

【0042】更に、この様な高精度の判断を実行した後
には、モニタ1あるいはモニタ2処理を実行して各遊技
者固有のインピーダンス情報や検出装置の置かれた状況
を学習あるいは更新し、上記判断精度が低下しないよう
に各種変化に適応することができる。
Further, after such a high-precision determination is made, the monitor 1 or monitor 2 process is executed to learn or update the impedance information unique to each player and the situation where the detecting device is placed, and It is possible to adapt to various changes so that the judgment accuracy does not decrease.

【0043】以上説明した実施例は、出力ポートPSか
らの出力を周波数に基づき分配した一例を示したもので
ある。この他に、容易に類推される構成として、検出部
毎に出力ポートPSを用意する構成が考えられる。例え
ば、図7に示すように、MPU50の出力ポートPS
1,PS2,PS3を用い、これらの出力に対して波形
変換回路56,57,59を接続し、各々の出力を並列
共振回路60a〜60cに接続するのである。この場合
には、出力ポートPS1ないしPS3の状態を同時にま
たは独立にオンオフして、その周波数を10ないし14
[KHz]の範囲2#でスキャンし、それぞれの共振状
態の変化から、高インピーダンスの物体の接触・非接触
を検出することができる。
The embodiment described above is an example in which the output from the output port PS is distributed based on the frequency. In addition, as a configuration that can be easily analogized, a configuration in which an output port PS is prepared for each detection unit can be considered. For example, as shown in FIG.
1, PS2, and PS3, these outputs are connected to waveform conversion circuits 56, 57, and 59, and each output is connected to the parallel resonance circuits 60a to 60c. In this case, the state of the output ports PS1 to PS3 is turned on / off simultaneously or independently, and the frequency is set to 10 to 14
Scanning is performed in the range 2 # of [KHz], and contact / non-contact of a high-impedance object can be detected from a change in each resonance state.

【0044】この他、検出部の数に応じて、出力ポート
PSからの出力を時分割し、所定の時間毎に並列共振回
路60a〜60cに供給することも可能である。この様
な時分割システムの構成は、当業者ならば容易に為しえ
る設計変更のひとつであって、上記バンドパスフィルタ
58に替えて一定期間毎に出力先を変更する公知のスイ
ッチング回路を採用すれば足りる。また、この様にして
時分割システムを構築する場合には、各並列共振回路6
0a〜60cの共振周波数fQが互いに異なる必要はな
く、略同一としてもよい。即ち、単一の共振周波数fQ
をカバーする周波数帯の信号を出力ポートPSからスキ
ャン出力すれば、この信号がスイッチング回路により時
分割されて各共振回路60a〜60cに供給されるた
め、1回のスキャン走査に要する時間が短くなり共振状
態の判断処理が高速化されるからである。なお、電流検
出回路62と並列共振回路60との間にもアナログスイ
ッチなどのスイッチング回路を介装し、電流検出回路6
2の数を減らすことも可能である。
In addition, the output from the output port PS can be time-divided in accordance with the number of detection units and supplied to the parallel resonance circuits 60a to 60c at predetermined time intervals. The configuration of such a time-division system is one of design changes that can be easily made by those skilled in the art, and employs a known switching circuit that changes the output destination at regular intervals in place of the bandpass filter 58. I suffice. When a time division system is constructed in this manner, each parallel resonance circuit 6
The resonance frequencies fQ of 0a to 60c need not be different from each other, and may be substantially the same. That is, a single resonance frequency fQ
Is output from the output port PS, the signal is time-divided by the switching circuit and supplied to each of the resonance circuits 60a to 60c, so that the time required for one scan scan is reduced. This is because the process of determining the resonance state is sped up. A switching circuit such as an analog switch is also interposed between the current detection circuit 62 and the parallel resonance circuit 60 so that the current detection circuit 6
It is also possible to reduce the number of twos.

【0045】以上の実施例、変形例では、検出部の数だ
け並列共振回路を用意したが、時分割用のスイッチング
回路を一つの並列共振回路60と複数の検出部42,4
4,46との間に接続すれば、並列共振回路60も減ら
すことができる。従って、部品点数や組立工数の低減を
図ることができる。なお、この場合には、電流検出回路
62も一つで済ませることができる。
In the above-described embodiments and modified examples, the parallel resonance circuits are prepared by the number of the detection units, but the switching circuit for time division is composed of one parallel resonance circuit 60 and the plurality of detection units 42 and 4.
4 and 46, the parallel resonance circuit 60 can be reduced. Therefore, the number of parts and the number of assembly steps can be reduced. In this case, only one current detection circuit 62 is required.

【0046】以上、本発明の実施例について説明した
が、本発明はこうした実施例に何等限定されるものでは
なく、本発明の要旨を逸脱しない範囲内において、種々
の態様で実施できることは勿論である。例えば、本実施
例ではストップスイッチ22,24,26への接触・非
接触状態をLC並列共振回路60a〜60cにより検出
しているが、これに替えてCR共振回路や直列共振回路
を採用してもよい。また、これら共振回路の共振状態を
検出するためにその回路に流れる電流inを検出するの
でなく、ブリッジ回路等を利用してその共振回路のイン
ピーダンスZを検出したり、電圧vと電流iとの位相差
Θを検出するなど各種の態様で具現化される。共振状態
のずれ量判断も、本実施例で示した共振周波数fQのず
れ量Δfなどのパラメータに限定されるものでもない。
なお、言うまでもなく、人体以外の高インピーダンスの
物体の接触・非接触の検出に用いても良いことは勿論で
ある。
The embodiments of the present invention have been described above. However, the present invention is not limited to these embodiments, and it is needless to say that the present invention can be carried out in various modes without departing from the gist of the present invention. is there. For example, in this embodiment, the contact / non-contact state to the stop switches 22, 24, and 26 is detected by the LC parallel resonance circuits 60a to 60c. Instead, a CR resonance circuit or a series resonance circuit is used. Is also good. Further, instead of detecting the current in flowing through the resonance circuit in order to detect the resonance state of the resonance circuit, the impedance Z of the resonance circuit is detected using a bridge circuit or the like, or the voltage V and the current i are not detected. It is embodied in various modes such as detecting the phase difference Θ. The determination of the deviation amount of the resonance state is not limited to parameters such as the deviation amount Δf of the resonance frequency fQ shown in the present embodiment.
Needless to say, it may be used for detecting contact / non-contact of a high impedance object other than the human body.

【0047】また、本実施例では、遊技者がストップス
イッチ22,24,26に接触していない状態において
各並列共振回路60a〜60cが最も鋭い共振状態を示
すようにその回路定数を設計しているが、一般的な遊技
者がストップスイッチ22,24,26に接触している
状態において最も鋭い共振状態が得られるように設計し
てもよい。また、共振状態の変化が検出できれば足りる
から、回路定数を、必ずしも接触・非接触のいずれかで
最も鋭い共振状態を示すように設計する必要はない。
In this embodiment, the circuit constants are designed so that the parallel resonance circuits 60a to 60c exhibit the sharpest resonance state when the player is not in contact with the stop switches 22, 24 and 26. However, it may be designed so that the sharpest resonance state is obtained when a general player is in contact with the stop switches 22, 24, 26. Further, since it is sufficient to detect a change in the resonance state, it is not always necessary to design the circuit constant so as to show the sharpest resonance state in either contact or non-contact.

【0048】一般にワンチップ・マイクロコンピュータ
50は4〜16個の入出力ポートを有していることか
ら、未使用の入出力ポートを利用して、検出するスイッ
チの個数を増加することも容易である。出力ポートが8
つの場合、本実施例のように3つの周波数帯に分割すれ
ば、8×3=24のスイッチの操作を検出することが可
能となる。これらのスイッチを遊技装置の枠体や内部の
機構等に割り当て、本来ならば遊技者が触れる筈のない
箇所のインピーダンスZが大きく変化したことを検出し
て不正遊技と判断し、警報を発したり、ドラム16,1
8,20の回転を禁止するといった対応を採ることもで
きる。
Since the one-chip microcomputer 50 generally has 4 to 16 input / output ports, it is easy to increase the number of switches to be detected by using unused input / output ports. is there. 8 output ports
In this case, if the frequency band is divided into three frequency bands as in the present embodiment, it is possible to detect the operation of 8 × 3 = 24 switches. These switches are assigned to the frame of the gaming machine, internal mechanisms, and the like, and it is determined that the impedance Z at a location that the player should not touch is largely changed. , Drum 16, 1
It is also possible to take measures such as prohibiting rotation of 8, 20.

【0049】実施例では、検出装置を、スロットル遊技
装置のストップスイッチの接触・非接触判断に用いた
が、この検出装置は、スロットル遊技装置に限らず、人
体のような高インピーダンスの物体の検出部への接触を
検出するあらゆる用途に用いてることができる。例え
ば、自動販売機のスイッチの操作の検出装置として、保
安施設等における人体の接触の検出装置として、あるい
は可動部のないタッチスイッチとして、など広範な用途
に適用することができる。こうした用途においても、本
発明の検出装置は、小型化、高い検出精度、低コスト等
の効果を奏する。
In the embodiment, the detection device is used for judging whether the stop switch of the throttle game device is in contact or non-contact. However, the detection device is not limited to the throttle game device, and can detect a high impedance object such as a human body. It can be used for any application that detects contact with a part. For example, the present invention can be applied to a wide range of applications, such as a device for detecting operation of a switch of a vending machine, a device for detecting contact of a human body in a security facility or the like, or a touch switch having no moving parts. Even in such applications, the detection device of the present invention has effects such as miniaturization, high detection accuracy, and low cost.

【0050】[0050]

【発明の効果】以上説明したように本発明の検出装置に
よれば、簡単な構成の共振回路を複数用いることによ
り、複数箇所への人体などの高インピーダンスの物体の
接触・非接触を正確に判断することが可能となる。ま
た、共振回路を用いる結果、煩雑な回路調整などの労力
を省くことができる。
As described above, according to the detection apparatus of the present invention, by using a plurality of resonance circuits having a simple configuration, it is possible to accurately contact / non-contact a high impedance object such as a human body at a plurality of locations. It is possible to make a judgment. Further, as a result of using the resonance circuit, labor such as complicated circuit adjustment can be saved.

【0051】更に、本発明の検出装置は、複数のスイッ
チのオン・オフを検出する装置として実現することがで
きるが、高インピーダンスの物体の接触の検出は、マイ
クロコンピュータの能力からみて十分に余裕のある処理
なので、検出のための処理と共に、他の処理をマイクロ
コンピュータに実行させる構成も容易である。特に、検
出と密接な関係を有する処理を実行させれば、そのメリ
ットは大きい。例えば、本発明の検出装置をキーボード
のキーの操作を検出する装置として用い、同時に仮名漢
字変換などの処理をマイクロコンピュータで行なう構成
等に応用することも可能である。また、実施例で示した
ように、スロットル遊技装置やパチンコ遊技装置におけ
るスイッチやハンドル操作の検出と遊技処理を共に行な
う構成とすることも有用である。
Further, the detecting device of the present invention can be realized as a device for detecting on / off of a plurality of switches. However, detection of contact with a high-impedance object has a sufficient margin in view of the capability of the microcomputer. Therefore, the configuration for causing the microcomputer to execute other processing together with the detection processing is also easy. In particular, if a process closely related to detection is executed, the merit is great. For example, it is also possible to use the detection device of the present invention as a device for detecting an operation of a key on a keyboard, and at the same time, apply a configuration in which processing such as kana-kanji conversion is performed by a microcomputer. Further, as shown in the embodiment, it is also useful to adopt a configuration in which the detection of the operation of the switch or the steering wheel and the game processing are both performed in the throttle game device or the pachinko game device.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施例である検出装置が備えられる
スロットル遊技装置の正面図である。
FIG. 1 is a front view of a throttle game device provided with a detection device according to one embodiment of the present invention.

【図2】実施例である検出装置を備えたスロットル遊技
装置の電気回路を示すブロック図である。
FIG. 2 is a block diagram showing an electric circuit of the throttle game device provided with the detection device according to the embodiment.

【図3】MPU50のスキャン周波数と共振回路60の
共振周波数との関係および共振状態ずれ判断の各種パラ
メータの説明図である。
FIG. 3 is an explanatory diagram of a relationship between a scan frequency of an MPU 50 and a resonance frequency of a resonance circuit 60 and various parameters for determining a resonance state shift.

【図4】そのMPU50が実行する検出プログラムのフ
ローチャートである。
FIG. 4 is a flowchart of a detection program executed by the MPU 50.

【図5】同じくカウンタ・タイマ割込みプログラムのフ
ローチャートである。
FIG. 5 is a flowchart of a counter / timer interrupt program.

【図6】そのカウンタ・タイマ割込みプログラムにて実
行される周波数スキャンの説明図である。
FIG. 6 is an explanatory diagram of a frequency scan executed by the counter / timer interrupt program.

【図7】他の実施例の電気回路を示すブロック図であ
る。
FIG. 7 is a block diagram showing an electric circuit of another embodiment.

【符号の説明】[Explanation of symbols]

10…スロットル遊技装置 12…コイン投入口 14…スロットルレバー 16,18,20…ドラム 22,24,26…ストップスイッチ 30…受け皿 40…検出装置 42,44,46…検出部 50…マイクロコンピュータ(MPU) 50a…CPU 50b…ROM 50c…RAM 50d…タイマ 50f…A/Dコンバータ 52…クリスタル 54…ドライバ 56…波形変換回路 58…バンドパスフィルタ 60…並列共振回路 60a,60b,60c…並列共振回路 62…電流検出回路 70,72,74…ステッピングモータ DESCRIPTION OF SYMBOLS 10 ... Throttle game device 12 ... Coin slot 14 ... Throttle lever 16, 18, 20 ... Drum 22, 24, 26 ... Stop switch 30 ... Receiving tray 40 ... Detector 42, 44, 46 ... Detector 50 ... Microcomputer (MPU ) 50a CPU 50b ROM 50c RAM 50d Timer 50f A / D converter 52 Crystal 54 Driver 56 Waveform conversion circuit 58 Bandpass filter 60 Parallel resonance circuit 60a, 60b, 60c Parallel resonance circuit 62 ... Current detection circuit 70,72,74 ... Stepping motor

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 m個(但し、mは任意の自然数)の検出
部の何れかに、人体など高インピーダンスを有する物体
が接触または非接触状態にあることを検出する検出装置
であって、 前記m個の検出部それぞれに対応して設けられ、その対
応する検出部にまで回路構成素子を延出させたm個の共
振回路と、 該共振回路の電源電圧を所定周期でオン・オフすること
により、該共振回路を発振させると共に、該オン・オフ
の周期を該共振回路の共振周波数の近傍を含む範囲で可
変する共振励起手段と、 該オン・オフ周期の変化に伴う該共振回路の共振状態を
検出する共振状態検出手段と、 該検出結果に応じて、前記検出部に対する前記高インピ
ーダンスの物体の接触・非接触を判別する判別手段と、 を備え、前記共振励起手段、共振状態検出手段、判別手
段を1チップマイクロコンピュータにより実現した検出
装置。
1. A detection device for detecting that one of m (where m is an arbitrary natural number) detection units is in contact or non-contact with an object having high impedance such as a human body, m resonant circuits provided corresponding to each of the m detectors and extending circuit components to the corresponding detectors, and turning on / off a power supply voltage of the resonant circuits at a predetermined cycle. Means for oscillating the resonance circuit and varying the on / off cycle within a range including the vicinity of the resonance frequency of the resonance circuit; and resonance of the resonance circuit with a change in the on / off cycle. Resonance state detection means for detecting a state, and determination means for determining contact / non-contact of the high impedance object with the detection unit according to the detection result; the resonance excitation means and the resonance state detection means , Another means detecting device realized by one-chip microcomputer.
【請求項2】 m個(但し、mは任意の自然数)の検出
部の何れかに、人体など高インピーダンスを有する物体
が接触または非接触状態にあることを検出する検出装置
であって、 前記検出部の数より少ない個数用意された共振回路と、 該共振回路の回路構成素子を延出して、前記m個の検出
部に選択的に接続する選択接続手段と、 該共振回路の電源電圧を所定周期でオン・オフすること
により、該共振回路を発振させると共に、該オン・オフ
の周期を該共振回路の共振周波数の近傍を含む範囲で可
変する共振励起手段と、 該オン・オフ周期の変化に伴う該共振回路の共振状態を
検出する共振状態検出手段と、 該検出結果に応じて、前記検出部に対する前記高インピ
ーダンスの物体の接触・非接触を判別する判別手段と、 を備え、前記選択接続手段、共振励起手段、共振状態検
出手段、判別手段を1チップマイクロコンピュータによ
り実現した検出装置。
2. A detection device for detecting that one of m (where m is an arbitrary natural number) detection units is in contact or non-contact with an object having high impedance such as a human body, A number of resonance circuits prepared less than the number of the detection units; a selection connection means for extending circuit components of the resonance circuit to selectively connect to the m detection units; and a power supply voltage of the resonance circuit. A resonance excitation unit that oscillates the resonance circuit by turning on and off at a predetermined cycle, and varies the on / off cycle within a range including the vicinity of the resonance frequency of the resonance circuit; Resonance state detection means for detecting a resonance state of the resonance circuit due to a change; anddetermination means for determining contact / non-contact of the high impedance object with respect to the detection unit according to the detection result, Selective connection A detection device in which the connection means, the resonance excitation means, the resonance state detection means, and the determination means are realized by a one-chip microcomputer.
JP34165292A 1992-11-27 1992-11-27 Detector Expired - Fee Related JP3173197B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP34165292A JP3173197B2 (en) 1992-11-27 1992-11-27 Detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP34165292A JP3173197B2 (en) 1992-11-27 1992-11-27 Detector

Publications (2)

Publication Number Publication Date
JPH06167573A JPH06167573A (en) 1994-06-14
JP3173197B2 true JP3173197B2 (en) 2001-06-04

Family

ID=18347752

Family Applications (1)

Application Number Title Priority Date Filing Date
JP34165292A Expired - Fee Related JP3173197B2 (en) 1992-11-27 1992-11-27 Detector

Country Status (1)

Country Link
JP (1) JP3173197B2 (en)

Also Published As

Publication number Publication date
JPH06167573A (en) 1994-06-14

Similar Documents

Publication Publication Date Title
JP3173197B2 (en) Detector
US5461192A (en) Electronic musical instrument using a plurality of registration data
JP2004005223A (en) Random number generator and game machine with the same applied
JP3905927B2 (en) Pachinko ball launcher
KR100291270B1 (en) Detection device
JP3680400B2 (en) Graph display device and graph display control method
JP2830065B2 (en) Electronic musical instrument
JP3282224B2 (en) Detector
JP2968912B2 (en) Electronic musical instrument parameter setting device
JPH06238036A (en) Detecting device
JPH0720869A (en) Parameter setting device for electronic musical instruments
JPH01260518A (en) Microcomputer
JP2877075B2 (en) Instrument control device and method
JPS5840759B2 (en) daily rhythm ensouchi
JP2002014175A (en) Proximity switch
KR100267958B1 (en) Detection device
JPH052448A (en) Coordinate detector
JPH05181593A (en) Coordinate input device capable of detecting many switches
JPH0739649A (en) Game device for storing degree of difficulty
JPH024400A (en) Automatic embroidery sewing machine
JPH0611664Y2 (en) Electronics
JPH07110680A (en) Tuning device
JPH0611621Y2 (en) Frequency sweep signal oscillator
JPH0398186A (en) Reader/writer for ic card
JPH10240370A (en) Computer device and device using the same

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100330

Year of fee payment: 9

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120330

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees