JP4414520B2 - Control device for pachinko machines - Google Patents
Control device for pachinko machines Download PDFInfo
- Publication number
- JP4414520B2 JP4414520B2 JP26522099A JP26522099A JP4414520B2 JP 4414520 B2 JP4414520 B2 JP 4414520B2 JP 26522099 A JP26522099 A JP 26522099A JP 26522099 A JP26522099 A JP 26522099A JP 4414520 B2 JP4414520 B2 JP 4414520B2
- Authority
- JP
- Japan
- Prior art keywords
- terminal
- cpu
- monitoring
- circuit
- signal
- 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
Links
Images
Landscapes
- Pinball Game Machines (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、パチンコ遊技機の制御装置にかかり、特に、パチンコ遊技機やスロットマシン等に代表される遊技機を制御すると共に、誤動作発生を正常動作に復帰させる機能を持ったパチンコ遊技機の制御装置に関する。
【0002】
【従来の技術】
パチンコ遊技機は一般的に、パチンコ遊技機の遊技動作に対して入力される信号に応じて、パチンコ球を遊技者に払出すための賞球制御、所定の条件が成立すると遊技者にとって特別有利な状態に変換する遊技制御、及び球を払出しすると共に金銭に代えて球を貸与する球払出制御などの制御をCPUによって制御する構成とされている。
【0003】
このパチンコ遊技機を制御するCPUはノイズ等によって正常に動作しなくなり暴走する可能性がある。そこで、CPUの暴走を阻止する方法として、特開平9−253312号公報にセキュリティチェック機能付きのCPUにノイズや電源電圧の低下等の原因による誤動作(暴走)を検出して正常な状態に戻す機能を提供するウォッチドグ機能を内蔵したCPUが提案されている。これは、CPUから監視手段(所謂ウォッチドグ回路)に定期的に予め定められた信号を出力しておき、プログラムが暴走して予め定められて信号が出力されなくなった時には、このウォッチドグ回路で判断するものである。ウォッチドグ回路で設定する監視時間の間にCPUから信号が入力されなかった時、CPUの暴走と判断してウォッチドグ回路からCPUを初期化するリセット信号を出力してプログラムの実行をプログラムの初期番地に戻して暴走を阻止する方法である。
【0004】
また、特開平10−15201号公報では、遊技機においてCPUの外部から定期的なパルス信号をCPUのリセット端子に入力し、そのリセット毎にプログラムを最初の番地から実行するリセット方式が提案されている。
【0005】
【発明が解決しようとする課題】
しかしながら、特開平9−253312号公報に記載の技術では、CPUにウォッチドグ回路を内蔵しているため、CPUが暴走するような要因が発生した場合にはウォッチドグ回路も正常に動作しない可能性がある。
【0006】
また、セキュリティチェック機能を有するCPUでは、CPUが正常に動作している時は、ウォッチドグ回路に対して定期的に信号を出力するプログラムが実行される。ところが、このプログラムは、セキュリティチェック後プログラムが適正であると判断されるまでは実行されず、ウォッチドグ回路に信号を出力することができない。ウォッチドグ回路の監視時間がセキュリティチェック時間に比べて短ければ、セキュリティチェック終了前にウォッチドグ回路からリセットパルス信号がCPUに入力されるので、再びセキュリティチェックをやり直すという循環になりユーザープログラムを実行するユーザーモードに移行することができない。逆にウォッチドグ回路の監視時間がセキュリティチェック時間に比べて長ければ、ユーザーモードに移行後、CPUが暴走した時CPUを速やかに復帰させられない、という問題がある。
【0007】
また、特開平10−15201号公報に記載の技術では、プログラムの処理がハードウェアで生成されるパルス信号に同期して実行されるので、不正が行われやすいという欠点がある。また、プログラムの処理はこのリセット間隔内で全て終了しなければならないので、プログラムされる処理量に応じて、場合によってはハードウェアを変更しなければならない、という問題がある。
【0008】
本発明は、上記問題を解決すべく成されたもので、監視手段の監視時間を最も効率的な時間に設定できると共に、制御手段が暴走するような要因が発生した場合でも監視手段を正常に動作させることのできるパチンコ遊技機の制御装置の提供を目的とする。
【0009】
【課題を解決するための手段】
上記目的を達成するために請求項1に記載の発明は、予め定められたパチンコ遊技機の制御手順を順次実行すると共に、前記制御を行うプログラムが適正か否かの判定を行うセキュリティチェックを電源投入から所定時間実行する制御手段と、前記制御手段から出力される定期的な信号を監視し、この定期的な信号が途絶えた場合に、前記制御手段をリセットする監視手段と、前記制御手段のセキュリティチェック期間中に、前記定期的な信号とは別の、前記定期的な信号を表す擬似信号を前記監視手段へ出力することにより、前記監視手段の監視を規制する監視規制手段と、を備えることを特徴としている。
【0010】
請求項1に記載の発明は、制御手段は、予め定められたパチンコ遊技機の制御手順を順次実行することによってパチンコ遊技機の各種制御を実行する。例えば、パチンコ遊技機の遊技動作に対して入力される信号に応じて、パチンコ球を遊技者に払出すための賞球制御、所定の条件が成立すると遊技者にとって特別有利な状態に変換する遊技制御、及び、パチンコ球を払出しすると共に金銭に代えてパチンコ球を貸与する玉払出制御などの各種の制御を行うための演算処理を行う。更に、制御手段は上述した各種の制御を行うためのプログラムが正常に行われるか否かの診断を行うセキュリティチェックを電源投入時から所定時間実行する。
【0011】
監視手段は、制御手段より出力される定期的な信号(上述の制御を行う際に出力される信号や基本クロック信号など)を監視し、この定期的な信号が途絶えた場合に、制御手段が正常に作動してないとして制御手段のリセットを行う。従って、制御手段が暴走等によって正常に作動していない場合には、制御手段をリセットすることができる。
【0012】
そして、監視規制手段は制御手段のセキュリティチェック期間中に、定期的な信号とは別の、定期的な信号を表す擬似信号を監視手段へ出力することにより、監視手段による制御手段の監視を規制することによって、監視手段による制御手段の監視をセキュリティチェック期間中のみ規制することができる。また、セキュリティチェックが終了した場合には、監視規制手段による監視手段の無効化が解除され、監視手段による制御手段の監視を行うことができる。
【0013】
すなわち、セキュリティチェック期間だけ、監視手段による制御手段の監視が規制されるので、監視手段による制御手段の監視時間を最も効率的な時間に設定することができ、セキュリティチェック期間が終了してから、制御手段が暴走するような要因が発生した場合でも監視手段を正常に動作させることができる。
【0014】
請求項2に記載の発明は、請求項1に記載の発明において、前記監視規制手段は、所定のクロックを発生する前記制御手段のモード端子からの信号を前記擬似信号として前記監視手段へ出力することを特徴としている。
【0015】
請求項2に記載の発明によれば、請求項1に記載の発明において、監視規制手段が、所定のクロックを発生する制御手段のモード端子からの信号を擬似信号として監視手段へ出力することによって、監視手段の制御手段の監視をセキュリティチェック期間中のみ規制することができる。また、セキュリティチェックが終了した場合には、擬似信号出力手段から出力される擬似信号の代わりに制御手段より定期的な信号が出力されるので、監視手段による制御手段の監視を行うことができる。
【0016】
すなわち、セキュリティチェック期間だけ、監視手段による制御手段の監視が規制されるので、監視手段による制御手段の監視時間を最も効率的な時間に設定することができ、セキュリティチェック期間が終了してから、制御手段が暴走するような要因が発生した場合でも監視手段を正常に動作させることができる。
【0017】
請求項3に記載の発明は、請求項1に記載の発明において、前記監視規制手段は、所定のクロックを発生する前記制御手段のモード端子からの信号を分周して調整した信号を前記擬似信号として前記監視手段へ出力することを特徴としている。
【0018】
請求項3に記載の発明によれば、請求項1に記載の発明において、所定のクロックを発生する制御モード端子からの信号を分周して調整した信号を監視手段へ出力することによって、監視手段のセキュリティチェック時の動作を規制することができる。また、セキュリティチェックが終了した場合には、監視手段の監視機能が実行されるので、監視手段による制御手段の監視を行うことができる。
【0019】
すなわち、セキュリティチェック期間だけ、監視手段による制御手段の監視が規制されるので、監視手段による制御手段の監視時間を最も効率的な時間に設定することができ、セキュリティチェック期間が終了してから、制御手段が暴走するような要因が発生した場合でも監視手段を正常に動作させることができる。
【0020】
請求項4に記載の発明は、請求項1乃至請求項3の何れか1項に記載の発明において、前記制御手段と前記監視手段を別の位置に設けることを特徴としている。
【0021】
請求項4に記載の発明によれば、請求項1乃至請求項3の何れか1項に記載の発明において、制御手段と監視手段を別の位置に設けることによって、それぞれの手段が設けられた環境による差異を確保することができるので制御手段に不都合が生じるような要因が発生した場合でも監視手段を正常に動作させることができる。また、それぞれの環境に応じた効果的なノイズ対策回路等を設けることが可能であり、制御手段の信頼性を向上することが可能である。
【0022】
従って、監視手段の監視時間を最も効率的な時間に設定できると共に、制御手段が暴走するような要因が発生した場合でも監視手段が正常に動作させることのできるパチンコ遊技機の制御装置を提供することができる。
【0023】
【発明の実施の形態】
以下、図面を参照して本発明の実施の形態の一例を詳細に説明する。図1には、本実施の形態のパチンコ遊技機の制御装置10が示されている。
【0024】
パチンコ遊技機の制御装置10は、例えば、パチンコ遊技機の遊技動作に対して入力される信号に応じて、パチンコ球を遊技者に払出すための賞球制御、所定の条件が成立する遊技者にとって有利な状態に変換する遊技制御などのパチンコ遊技機の制御の要部であり、電源投入時にセキュリティチェックを行う機能を持った、所謂V2と呼ばれるCPUチップ12(以下、CPUと称す)と、CPU監視手段14と、パワーオンリセット回路16と、基準クロックを発生するクロック発生手段18と、CPU監視手段14の動作を規制する監視規制手段20と、を主構成とされ、他には制御装置10とパチンコ遊技機の整合を図るインターフェイス22とが、制御装置10を作動させるプログラムや各種データ等を格納したROM24及びアドレスデコーダ26をデータバス28とアドレスバス30とを介して接続され、クロック発生手段18がクロック端子CLに接続されている。なお、クロック発生手段18は、CPU12の基本クロックを発生させるものである。
【0025】
なお、本実施の形態においてはCPU12と、ROM24及びアドレスデコーダ26の一部を含む制御手段からなるものを、所謂V2と呼んでいる。V2は、第3者機関の試験によりプログラムの適正が合格と判断されたことを表すセキュリティ情報が予めROM24に記憶されており、該セキュリティ情報に基づいて、電源投入時にセキュリティチェック機能としてセキュリティ情報の照合が行われる。ここで、ROM24に記憶されたプログラムが改ざんされたり、不正に作られたROMが実装されたりした場合には、該セキュリティ情報が食い違い、プログラムが不正に改造されたことを判定することができるよう構成されている。
【0026】
CPU12は、予め定められたパチンコ遊技機の制御手順を順次実行するもので、上述したように電源投入時には、プログラムの適否判定を行うセキュリティ機能を有している。また、CPU12とパチンコ遊技機は、交信可能に接続されている。
【0027】
CPU12のアドレス端子Aにはアドレスバス30を介してアドレスでコーダ26が接続されており、アドレスデコーダ26はアドレス端子Aからあるアドレスデータが出力された時に、入出力ポート32のうち対応する入出力ポートを有効にする機能を持つ。プログラムが実行され、正常に進行すれば、予めプログラムで定められた時間間隔でCPU12からデータバスに定期的なクロックが出力される。このクロックが出力されるタイミングに合わせてCPU監視手段14に接続される入出力ポートを有効にするアドレスデータがCPU12からアドレスデコーダ26に出力されることによって、CPU12から定期的にCPU監視手段14にCPU監視手段14クリア用クロックを入力する。また、CPU監視手段14クリア用クロックは、CPU12のデータバスから直接出力する構成としてもよい。
【0028】
CPU監視手段14は、所謂ウォッチドグ回路と呼ばれるもので、CPU監視手段14クリア用クロックが予め定められた所定時間より長い時間入力されない時のみ、CPU12を初期化させるリセット信号をCPU12のリセット端子RESに入力する。
【0029】
監視規制手段20は、本発明の擬似信号出力手段及び監視機能停止手段に相当し、CPU監視手段14の動作を規制するものであり、CPU12によるセキュリティチェック期間中におけるCPU監視手段14のCPU12の監視を規制する。
【0030】
続いて、本発明の実施の形態に係るパチンコ遊技機の制御装置10の作用について説明する。
【0031】
まず、制御装置10及びパチンコ遊技機の電源が投入されると、パワーオンリセット回路16が作動して、リセット信号をCPU12のリセット端子RESに出力する。これにより、CPU12は初期化されると同時に、CPU12には基本クロック発生手段より基本クロックが入力される。そして、CPU12によって上述したセキュリティチェック機能が作動する。この時、監視規制手段20によってCPU監視手段14に上述したCPU監視手段14クリア用クロックと同等の信号を入力するように制御される。なお、CPU監視手段14の動作が停止するように制御するようにしてもよい。
【0032】
セキュリティチェックが終了するとCPU12よりCPU監視手段14に対して定期的にCPU監視手段14クリア用クロックを出力するプログラムが実行される。そして、該プログラムの実行と同時に監視規制手段によってCPU監視手段14の通常の動作が開始されるように制御される。
【0033】
すなわち、セキュリティチェック終了前にCPU監視手段14にCPU12よりCPU監視手段14クリア用クロックが入力さないことによって、CPU監視手段14がCPU12の暴走と判断してリセット信号をCPU12に出力してしまい、ユーザープログラムを実行するユーザーモードに移行できなくなるのを防止することができると共に、CPU監視手段14クリア用クロックがCPU監視手段14に入力されると同時にCPU監視手段の動作が開始されるので、ユーザーモードに移行後に、CPU12が暴走した場合に速やかにCPU12を復帰させることができる。
【0034】
また、CPU12とCPU監視手段14を各々別に設けることによって、それぞれの配置される位置の違いによるノイズ環境の差異を確保することができることができので、CPU12が暴走するような要因が発生した場合でもCPU監視手段14を正常に作動させることができる。また、CPU12とCPU監視手段14を別に設けることによってそれぞれの環境に応じた効果的なノイズ対策回路をそれぞれに設けることが可能となり、CPU12自体の信頼性を向上させることができる。
【0035】
【実施例】
以下、図面を参照して、参考例及び本発明のCPU監視手段14及び監視規制手段20の実施例を詳細に説明する。なお、実施の形態において、CPU12、ROM24及びアドレスデコーダ26を別々の構成として説明したが、以下の実施例では、CPU12を上述したように、CPU12、ROM24及びアドレスデコーダ26を含んだV2として説明する。
[第1参考例]
図2に示すように、電源投入時にセキュリティチェックを行う機能を有するV2と呼ばれるCPU12のVD1端子及びVD2端子が電源電圧Vに接続され、CPU12のVSS1端子及びVSS2端子が接地されている。
【0036】
CPU12のモード(MODE)端子は、所定のクロックを発生すると共に、Ex−OR回路(排他的論理和回路)34の入力端子に接続されている。Ex−OR回路34のもう一方の入力端子は接地されており、出力端子はダイオードD1のカソード側端子が接続されており、ダイオードD1のアノード側端子には直列に抵抗R1が接続され、抵抗R1の他端は、インバータ回路36の入力端子に接続されている。
【0037】
また、Ex−OR回路34の出力端子とインバータ回路36の入力端子の間には、ダイオードD1及び抵抗R1と並列に抵抗R2が接続されており、インバータ回路36の入力端子は、更にコンデンサC1を介して接地されている。
【0038】
インバータ回路36の出力端子には、主に抵抗及びトランジスタからなるスイッチング回路38の入力端子に接続されている。該スイッチング回路38の出力端子は、図2に示すようにトランジスタTrのエミッタ端子とコレクタ端子からなり、エミッタ端子は接地されており、コレクタ端子はウォッチドグ回路(CPU監視手段)20のハイインピーダンスが入力されている間機能し、ローレベルになると機能を停止するRCT端子に接続されている。
【0039】
ウォッチドグ回路14は、CK(クロック)端子にクロックが入力されてからRESET_端子からリセット信号を出力するまでの時間を規定するためのCT端子及びCK端子に入力されるクロックのHレベル又はLレベルの境界電圧を設定するためのVS端子がコンデンサC3、C4を介して接地されていると共にGRD端子が接地されている。VCC端子は、電源電圧Vに接続されていると共にコンデンサC2を介して接地されている。
【0040】
また、ウォッチドグ回路14のリセット信号としてローレベルを出力するRESET_(リセット)端子は、Ex−OR回路40の入力端子に接続され、Ex−OR回路40のもう一方の入力端子が接地されており、出力端子は抵抗R3及び反転回路を介してCPU12のリセット端子に接続されている。
【0041】
また、CPU12のリセット端子は、反転回路を介して上述した抵抗R3に接続されていると共に、コンデンサC5を介して接地されている。
【0042】
続いて、第1参考例の作用について説明する。
【0043】
CPU12のセキュリティチェック期間中はEx−OR回路34の出力端子は、CPU12のモード端子から出力される信号と同様の信号が出力される。すなわち、電源投入後セキュリティチェック期間のモード端子は所定の幅のクロックを発生し、セキュリティチェックで正常である場合には、セキュリティチェック期間にモード端子が出力するクロック3つ分の期間のROMフェッチ待ち時間を経て、ユーザーモードへ移行する。この時モード端子はハイレベル(Hレベル)になる。ここでモード端子よりHレベルが出力されると抵抗R2を介してコンデンサC1に電荷が充電される。
【0044】
なお、充電されていくとコンデンサC1にかかる電圧は次第に上昇するが、インバータ回路36のスレッショルド電圧に達する前にEx−OR回路34の出力端子がローレベル(Lレベル)となり放電が開始されるように抵抗R2とコンデンサC1の値が設定されており、放電時の電荷はEx−OR回路34を介して放電される。
【0045】
モード端子より出力されたHレベルの信号は上述したように抵抗R2とコンデンサC1からなる積分回路を介してインバータ回路36に入力される。抵抗R2とコンデンサC1の値をモード端子から出力されるクロック信号のクロック幅と比べて大きく選ぶことによって、電源投入時とセキュリティチェック期間を図2に示すA点の電位をLレベルに保つことができる。その後、ユーザーモードに移行したときにモード端子から出力される信号の幅はセキュリティチェック期間にモード端子から出力されるクロック幅に比べて十分大きいのでA点の電位は、モード端子からユーザーモードへ移行した信号が出力された後、一定時間の後Hレベルになる。なお、該一定時間は抵抗R2及びコンデンサC1の値によって定まる。従って、B点の電位は電源投入時からユーザーモードへ移行して一定時間後までHレベルとなるが、その後Lレベルに変化する。このようにして、ウォッチドグ回路14の機能を電源投入時から一定期間の間、機能を制限することができる。
[第2参考例]
図3に示すように、CPU12のVD01端子及びVD02端子が電源電圧Vに接続され、CPU12のVSS1端子及びVSS2端子が接地されている。
【0046】
CPU12のRES_端子はウォッチドグ回路14のRESET_端子に接続され、CPU12のOUT端子はウォッチドグ回路14のCPU12の暴走を判断するための定期的なクロックを入力するためのCK端子に接続されている。
【0047】
ウォッチドグ回路14のGRD端子は接地されており、CT端子はコンデンサC10を介して接地されている。VCC端子は電源電圧Vに接続され、RCT端子はトランジスタTr1のコレクタ端子に接続されており、トランジスタTr1のエミッタ端子が接地され、ベース端子が抵抗R10を介してインバータ回路42の出力端子に接続されている。
【0048】
インバータ回路42の入力端子はコンデンサC11を介して接地されていると共に、抵抗R11とダイオードD2の並列回路に接続されており、該並列回路の他端は電源電圧Vに接続されている。
【0049】
続いて、第2参考例の作用について説明する。
【0050】
電源電圧投入直後はコンデンサC11には電荷が蓄積されていないので、C点の電位はグランドレベルとなっている。その後、電源電圧Vから抵抗R11を介してコンデンサC11に電流が流れてコンデンサC11に電荷が蓄積され、C点の電位は上昇して所定時間経過後に電源電圧Vと等しくなる。この過程で必ずC点に接続されているインバータ回路42のスレッショルド電圧に達するのでD点の電位は電源投入直後はHレベルとなり所定時間経過後にLレベルへ移行する。D点がHレベルの間はその後段のトランジスタTr1がオン状態となるのでウォッチドグ回路14のRCT端子はLレベルとなる。所定時間後にD点がLレベルとなると、トランジスタTr1はオフ状態へ移行してRCT端子はオーブン状態となる。従って、このようにして電源投入より所定時間のみウォッチドグ回路14の機能を停止させ、ウォッチドグ回路14からCPU12への出力を規制することができる。
【0051】
また、所定時間経過後にコンデンサC10によって設定された監視時が経過してもCPU12からの定期的なクロックが出力されなかった場合には、ウォッチドグ回路14よりCPU12へリセット信号が出力されてCPU12がリセットされる。この所定時間は抵抗R11とコンデンサC11の値を設定することによって設定することが可能である。なお、ダイオードD2は電源断時にコンデンサC11の電荷を速やかに放電して次の電源投入に備えるためのものである。
[第3参考例]
図4に示すように、CPU12のVD01端子及びVD02端子が電源電圧Vに接続され、CPU12のVSS1端子及びVSS2端子が接地されている。
【0052】
CPU12のRES_端子はウォッチドグ回路14のRESET_端子に接続され、CPU12のOUT端子はウォッチドグ回路14のCK端子に接続されている。
【0053】
ウォッチドグ回路14のGRD端子は接地されており、CT端子はコンデンサC21を介して接地されている。VCC端子は電源電圧Vに接続され、RCT端子はトランジスタTr2のコレクタ端子に接続されており、トランジスタTr2のエミッタ端子が接地され、ベース端子が抵抗R21を介してインバータ回路44に出力端子に接続されている。
【0054】
インバータ回路44の入力端子はコンデンサC22を介して接地されていると共に、抵抗R22に接続されている。抵抗R22の他端はCPU12のモード端子に接続されている。
【0055】
続いて、第3参考例の作用について説明する。
【0056】
電源投入後セキュリティチェック期間において、モード端子はクロックを発生する。なお、該クロック幅はCPU12に入力される基本クロック幅の4倍である。セキュリティチェックが正常である場合には、セキュリティチェック期間にモード端子が出力するクロック3つ分の期間のROMフェッチ待ち期間を経て、ユーザーモードへ移行する。この時モード端子はHレベルとなる。モード端子から出力される信号は抵抗R22とコンデンサC22からなる積分回路を介してインバータ回路44へ入力される。抵抗R22とコンデンサC22の値をモード端子から出力されるクロック信号のクロック幅と比べて大きく設定すれば、電源投入時とセキュリティチェック期間を、E点の電位をLレベルに保つことができる。その後、ユーザーモードへ移行したときにモード端子から出力される信号の幅はセキュリティチェック期間にモード端子から出力されるクロックの幅と比べて十分大きいので、E点の電位はモード端子からユーザーモードへ移行した信号が出力された後、所定時間後にHレベルへ移行する。所定時間は抵抗R22とコンデンサC22の値によって定まる。従って、F点の電位は電源投入時からユーザーモードへ移行して所定時間後までHレベルへ移行するが、その後Lレベルへ移行する。このようにしてウォッチドグ回路14の機能を電源投入時より所定時間の間、機能を制限することができる。
【0057】
[第4参考例]
図5に示すように、CPU12のVD01端子及びVD02端子が電源電圧Vに接続され、CPU12のVSS1端子及びVSS2端子が接地されている。
【0058】
CPU12のRES_端子はウォッチドグ回路14のRESET_端子に接続され、CPU12のOUT端子はウォッチドグ回路14のCK端子に接続されている。
【0059】
ウォッチドグ回路14のGRD端子は接地されており、CT端子はコンデンサC31を介して接地されている。VCC端子は電源電圧Vに接続され、RCT端子はトランジスタTr3のコレクタ端子に接続されており、トランジスタTr3のエミッタ端子が接地され、ベース端子が抵抗R31を介してラッチ回路を有するIC回路46の1Q_端子に接続されている。なお、IC回路46は汎用ICの74HC73を使用することが可能である。
【0060】
IC回路46の1J端子及びVCC端子は電源電圧Vに接続され、1K端子及びGRD端子は接地されている。また、IC回路46の1CK端子はCPU12のLIR端子に接続されていると共に、抵抗R32を介して電源電圧Vに接続されている。更に、IC回路46の1CLR端子はコンデンサC32を介して接地されていると共に、抵抗R33及びダイオードD3からなる並列回路を介して電源電圧Vに接続されている。
【0061】
続いて、第4参考例の作用について説明する。
【0062】
CPU12のLIR端子はCPU12が命令のフェッチを開始したことを示す信号を出力する。LIR端子はシステムリセット中及びセキュリティチェック中はハイインピーダンス状態となり、この信号は抵抗R32を介して電源電圧Vに接続されているので、LIR端子がハイインピーダンス状態の間、IC回路46の1CK端子はHレベルとなる。
【0063】
電源投入直後には抵抗R33、コンデンサC32及びダイオードD3によって構成されるリセット回路によってIC回路46は初期化され、1Q_端子はHレベルへ移行する。CPU12のLIR端子はセキュリティチェック期間後、ユーザーモードへ移行し、最初の命令をフェッチするとLレベルへ移行する。すなわち、電源投入後セキュリティチェック期間中は1CK端子はHレベルとなり、ユーザーモードへ移行して最初の命令をフェッチするとLレベルへ移行し、1CK端子の信号の立ち下がりが入力される。その時、1K端子に入力されているので、Lレベルが1Q_端子に出力される。その後、電源が切断されない限り1Q_端子にはLレベルがラッチされるので、電源投入時からユーザーモードへ移行して最初の命令をフェッチするまでの期間のみ、ウォッチドグ回路14の機能を停止させることができる。
[第1実施例]
図6に示すように、CPU12のVD01端子及びVD02端子が電源電圧Vに接続され、CPU12のVSS1端子及びVSS2端子が接地されている。
【0064】
CPU12のRES_端子はウォッチドグ回路14のRESET_端子に接続され、CPU12のOUT端子は抵抗R41を介して接地されていると共に、OR回路48の入力端子に接続されている。OR回路48のもう一方の入力端子には、反転回路を含むインバータ回路50を介してCPU12のモード端子に接続されている。
【0065】
OR回路48の出力端子はウォッチドグ回路14のCK端子に接続されており、ウォッチドグ回路14のGRD端子は接地され、CT端子はコンデンサC41を介して接地されている。また、ウォッチドグ回路14のVCC端子は電源電圧Vに接続されている。
【0066】
続いて、第1実施例の作用について説明する。
【0067】
電源投入後ユーザーモードに移行するまでの期間はCPU12のOUT端子の出力はプログラムで制御することができない。この信号は抵抗R41を介してGRD端子に接続されているので、後段のOR回路48の入力端子は、この期間Lレベルになる。この期間CPU12のモード端子はクロックを出力しているので、ウォッチドグ回路14のCK端子にはこのクロックがそのまま入力される。そして、ウォッチドグ回路14にはこの期間も定期的にクロックを入力することができるので、ウォッチドグ回路14からCPU12へリセット信号を出力させないことができる。
【0068】
ユーザーモードへ移行した後はCPU12のモード端子はHレベルへ移行し、インバータ回路50で反転されてOR回路48へ入力されるので、このインバータ回路50が接続されるOR回路48の入力端子はLレベルへ移行する。この期間はプログラムに従ってCPU12のOUT端子よりクロックが出力されれば、このクロックがウォッチドグ回路14のクリア信号となる。
【0069】
従って、セキュリティチェック期間中はウォッチドグ回路14の機能を規制することができ、ユーザーモードへ移行と共にウォッチドグ回路14を作動させることができる。
[第2実施例]
図7に示すように、CPU12のVD01端子及びVD02端子が電源電圧Vに接続され、CPU12のVSS1端子及びVSS2端子が接地されている。
【0070】
CPU12のRES_端子はウォッチドグ回路14のRESET_端子に接続され、OUT端子は分周機能を有するIC回路52の1Clear端子に接続されると共に、OR回路54の入力端子に接続されており、更に、IC回路52の1Clear端子は抵抗R51を介して接地されている。なお、IC回路52は汎用IC74HC393を使用することが可能である。
【0071】
OR回路54のもう一方の入力端子はIC回路52のQD端子に接続され、出力端子はウォッチドグ回路14のCK端子に接続されている。
【0072】
ウォッチドグ回路14のGRD端子は接地され、CT端子はコンデンサC51を介して接地されており、VCC端子は電源電圧Vに接続されている。
【0073】
また、IC回路52の1A端子とCPU12のモード端子が接続され、IC回路52のGRD端子が接地されており、VCC端子が電源電圧Vに接続されている。
【0074】
続いて、第2実施例の作用について説明する。
【0075】
第2実施例は、CPU12のモード端子から出力されるクロック信号とウォッチドグ回路14に入力すべきクロック信号の周期、又はクロック幅に開きがある場合に分周によって調整するものである。
【0076】
電源投入時からユーザーモードへ移行するまでの期間はCPU12のOUT端子はLレベルとなり、IC回路52は1A端子に入力される信号の立ち下がりでQA〜QDの出力を変化させる。QD端子の出力は1A端子に入力されるクロック16個分の幅のクロックとなり、これがOR回路54の一方に入力される。この期間OR回路54のもう一方の入力はLレベルであるので、QD端子のクロックによってウォッチドグ回路14からCPU12へリセット信号を出力させないことができる。
【0077】
ユーザーモードへ移行してCPU12のOUT端子からクロックが出力されるときにはIC回路52がクリアされ、IC回路52のQD端子の出力がLレベルとなる。このためCPU12のOUT端子から出力されるクロックがウォッチドグ回路14のクリア信号となる。
【0078】
従って、セキュリティチェック期間中はウォッチドグ回路14の機能を規制することができ、ユーザーモードへ移行と共にウォッチドグ回路14を動作させることができる。
【0079】
上記参考例及び実施例に示される如く、ウォッチドグ回路14の監視時間を最も効率的な時間に設定することができる。また、上記参考例及び実施例はいずれもCPU12とウォッチドグ回路14を別に設ける構成であるため、CPU12が暴走するような要因が発生しても環境の差異が確保されているので、ウォッチドグ回路14を正常に動作させることができる。
【0080】
【発明の効果】
以上説明したように本発明によれば、監視手段の監視時間を最も効率的な時間に設定できると共に、制御手段が暴走するような要因が発生した場合でも監視手段を正常に動作させることのできるパチンコ遊技機の制御装置を提供することができる、という効果がある。
【図面の簡単な説明】
【図1】 本発明の実施の形態に係るパチンコ遊技機の制御装置の概略構成を示すブロック図である。
【図2】 第1参考例の制御装置を示す図である。
【図3】 第2参考例の制御装置を示す図である。
【図4】 第3参考例の制御装置を示す図である。
【図5】 第4参考例の制御装置を示す図である。
【図6】 第1実施例の制御装置を示す図である。
【図7】 第2実施例の制御装置を示す図である。
【符号の説明】
10 パチンコ遊技機の制御装置
12 CPU(制御手段)
14 ウォッチドグ回路(監視手段)
20 監視規制手段(擬似信号出力手段及び監視機能停止手段)[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a control device for a pachinko gaming machine, and in particular, controls a pachinko gaming machine having a function of controlling a gaming machine represented by a pachinko gaming machine, a slot machine, etc. and returning a malfunction to a normal operation. Relates to the device.
[0002]
[Prior art]
In general, pachinko machines have special advantages for players when a predetermined condition is established according to a signal input to the game operation of the pachinko machine, and a predetermined condition is established for paying the pachinko balls to the player. The control is performed by the CPU, such as a game control for converting to a different state and a ball payout control for paying out a ball and lending a ball instead of money.
[0003]
The CPU that controls the pachinko gaming machine may not operate normally due to noise or the like and may run away. Therefore, as a method of preventing runaway of the CPU, Japanese Patent Laid-Open No. 9-253312, a function with a security check function, detects a malfunction (runaway) due to causes such as noise or a decrease in power supply voltage and returns it to a normal state. A CPU with a built-in watchdog function has been proposed. This is because a predetermined signal is periodically output from the CPU to the monitoring means (so-called watch dog circuit), and when the program runs out of control and the predetermined signal is not output, the watch dog circuit makes a determination. Is. When no signal is input from the CPU during the monitoring time set by the watchdog circuit, it is determined that the CPU is out of control and a reset signal for initializing the CPU is output from the watchdog circuit to execute the program to the initial address of the program. It is a method to prevent runaway by returning.
[0004]
Japanese Patent Application Laid-Open No. 10-15201 proposes a reset method in which a periodic pulse signal is input from the outside of the CPU to the reset terminal of the CPU in the gaming machine, and the program is executed from the first address for each reset. Yes.
[0005]
[Problems to be solved by the invention]
However, in the technique described in Japanese Patent Application Laid-Open No. 9-253312, since the CPU has a built-in watch dog circuit, there is a possibility that the watch dog circuit may not operate normally when a factor causing the CPU to run away occurs. .
[0006]
Further, in a CPU having a security check function, when the CPU is operating normally, a program that periodically outputs a signal to the watchdog circuit is executed. However, this program is not executed until it is determined that the program is appropriate after the security check, and a signal cannot be output to the watchdog circuit. If the watchdog circuit monitoring time is shorter than the security check time, the reset pulse signal is input from the watchdog circuit to the CPU before the security check is completed. Cannot transition to. On the other hand, if the watchdog circuit monitoring time is longer than the security check time, there is a problem that the CPU cannot be promptly restored when the CPU runs out of control after shifting to the user mode.
[0007]
Further, the technique described in Japanese Patent Laid-Open No. 10-15201 has a drawback that fraud is easily performed because the program processing is executed in synchronization with a pulse signal generated by hardware. Further, since all the program processing must be completed within the reset interval, there is a problem that the hardware must be changed depending on the amount of processing to be programmed.
[0008]
The present invention has been made to solve the above-mentioned problem. The monitoring time of the monitoring means can be set to the most efficient time, and the monitoring means can be normally operated even when a factor causing the control means to run away occurs. An object of the present invention is to provide a control device for a pachinko gaming machine that can be operated.
[0009]
[Means for Solving the Problems]
In order to achieve the above-mentioned object, the invention according to
[0010]
According to the first aspect of the present invention, the control means executes various controls of the pachinko gaming machine by sequentially executing predetermined control procedures of the pachinko gaming machine. For example, a prize ball control for paying out a pachinko ball to the player in accordance with a signal input to the game operation of the pachinko gaming machine, a game that is converted into a special advantageous state for the player when a predetermined condition is satisfied Arithmetic processing for performing various controls such as control and ball payout control for paying out pachinko balls and lending pachinko balls instead of money is performed. Further, the control means executes a security check for diagnosing whether or not the program for performing the various controls described above is normally performed for a predetermined time from the time of power-on.
[0011]
The monitoring unit monitors a periodic signal output from the control unit (a signal output when performing the above control, a basic clock signal, etc.), and when the periodic signal is interrupted, the control unit The control means is reset because it is not operating normally. Therefore, when the control means is not operating normally due to runaway or the like, the control means can be reset.
[0012]
And the monitoring and regulating means during the security check period of the controlling means, By outputting to the monitoring means a pseudo signal representing a periodic signal, which is different from the periodic signal, Monitoring of control means by monitoring means Regulation By doing so, monitoring of the control means by the monitoring means can be restricted only during the security check period. Further, when the security check is completed, the invalidation of the monitoring unit by the monitoring restriction unit is canceled, and the control unit can be monitored by the monitoring unit.
[0013]
That is, since monitoring of the control means by the monitoring means is restricted only during the security check period, the monitoring time of the control means by the monitoring means can be set to the most efficient time, and after the security check period ends, Even when a factor that causes the control means to run away occurs, the monitoring means can be operated normally.
[0014]
According to a second aspect of the present invention, in the first aspect of the invention, the monitoring and regulating means is A signal from the mode terminal of the control means for generating a predetermined clock is output to the monitoring means as the pseudo signal. It is characterized by that.
[0015]
According to the invention of claim 2, in the invention of
[0016]
That is, since monitoring of the control means by the monitoring means is restricted only during the security check period, the monitoring time of the control means by the monitoring means can be set to the most efficient time, and after the security check period ends, Even when a factor that causes the control means to run away occurs, the monitoring means can be operated normally.
[0017]
According to a third aspect of the present invention, in the first aspect of the present invention, the monitoring and regulating means includes: A signal adjusted by dividing the signal from the mode terminal of the control means for generating a predetermined clock is output to the monitoring means as the pseudo signal. It is characterized by that.
[0018]
According to the invention of claim 3, in the invention of
[0019]
That is, since monitoring of the control means by the monitoring means is restricted only during the security check period, the monitoring time of the control means by the monitoring means can be set to the most efficient time, and after the security check period ends, Even when a factor that causes the control means to run away occurs, the monitoring means can be operated normally.
[0020]
According to a fourth aspect of the invention, in the invention according to any one of the first to third aspects, the control means and the monitoring means are provided at different positions.
[0021]
According to the invention described in claim 4, in the invention described in any one of
[0022]
Accordingly, there is provided a control device for a pachinko machine in which the monitoring time of the monitoring means can be set to the most efficient time, and the monitoring means can be operated normally even when a factor causing the control means to run away occurs. be able to.
[0023]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an example of an embodiment of the present invention will be described in detail with reference to the drawings. FIG. 1 shows a
[0024]
The
[0025]
In the present embodiment, what is constituted by the control means including the
[0026]
The
[0027]
A
[0028]
The CPU monitoring means 14 is a so-called watch dog circuit, and a reset signal for initializing the
[0029]
The
[0030]
Next, the operation of the
[0031]
First, when the
[0032]
When the security check is completed, the
[0033]
That is, the CPU monitoring means 14 determines that the
[0034]
Further, by providing the
[0035]
【Example】
Hereinafter, with reference to the drawings, a reference example and embodiments of the CPU monitoring means 14 and the monitoring restriction means 20 of the present invention will be described in detail. In the embodiment, the
[First reference Example]
As shown in FIG. 2, the VD1 terminal and the VD2 terminal of the
[0036]
A mode (MODE) terminal of the
[0037]
A resistor R2 is connected in parallel with the diode D1 and the resistor R1 between the output terminal of the
[0038]
The output terminal of the
[0039]
The
[0040]
Further, a RESET_ (reset) terminal that outputs a low level as a reset signal of the
[0041]
The reset terminal of the
[0042]
Next, the first reference The operation of the example will be described.
[0043]
During the security check period of the
[0044]
As the battery is charged, the voltage applied to the capacitor C1 gradually increases. However, before reaching the threshold voltage of the
[0045]
As described above, the H level signal output from the mode terminal is input to the
[Second reference Example]
As shown in FIG. 3, the VD01 terminal and the VD02 terminal of the
[0046]
The RES_ terminal of the
[0047]
The GRD terminal of the
[0048]
An input terminal of the
[0049]
Then, the second reference The operation of the example will be described.
[0050]
Immediately after the power supply voltage is turned on, no electric charge is accumulated in the capacitor C11, so that the potential at the point C is at the ground level. Thereafter, a current flows from the power supply voltage V to the capacitor C11 through the resistor R11, and electric charge is accumulated in the capacitor C11. In this process, the threshold voltage of the
[0051]
If a periodic clock is not output from the
[Third reference Example]
As shown in FIG. 4, the VD01 terminal and the VD02 terminal of the
[0052]
The RES_ terminal of the
[0053]
The GRD terminal of the
[0054]
The input terminal of the
[0055]
Then, the third reference The operation of the example will be described.
[0056]
In the security check period after power-on, the mode terminal generates a clock. The clock width is four times the basic clock width input to the
[0057]
[4th reference Example]
As shown in FIG. 5, the VD01 terminal and the VD02 terminal of the
[0058]
The RES_ terminal of the
[0059]
The GRD terminal of the
[0060]
The 1J terminal and the VCC terminal of the
[0061]
Then, the fourth reference The operation of the example will be described.
[0062]
The LIR terminal of the
[0063]
Immediately after the power is turned on, the
[No. 1 Example]
As shown in FIG. 6, the VD01 terminal and the VD02 terminal of the
[0064]
The RES_ terminal of the
[0065]
The output terminal of the
[0066]
Followed by 1 The operation of the embodiment will be described.
[0067]
The output of the OUT terminal of the
[0068]
After shifting to the user mode, the mode terminal of the
[0069]
Therefore, during the security check period, the function of the
[No. 2 Example]
As shown in FIG. 7, the VD01 terminal and the VD02 terminal of the
[0070]
The RES_ terminal of the
[0071]
The other input terminal of the
[0072]
The GRD terminal of the
[0073]
Further, the 1A terminal of the
[0074]
Followed by 2 The operation of the embodiment will be described.
[0075]
First 2 In the embodiment, the clock signal output from the mode terminal of the
[0076]
During the period from when the power is turned on to the transition to the user mode, the OUT terminal of the
[0077]
When the mode is shifted to the user mode and the clock is output from the OUT terminal of the
[0078]
Accordingly, the function of the
[0079]
the above Reference examples and As shown in the embodiment, the monitoring time of the
[0080]
【The invention's effect】
As described above, according to the present invention, the monitoring time of the monitoring means can be set to the most efficient time, and the monitoring means can be operated normally even when a factor that causes the control means to run away occurs. There is an effect that a control device for a pachinko gaming machine can be provided.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a schematic configuration of a control device for a pachinko gaming machine according to an embodiment of the present invention.
FIG. 2 reference It is a figure which shows the control apparatus of an example.
FIG. 3 reference It is a figure which shows the control apparatus of an example.
FIG. 4 reference It is a figure which shows the control apparatus of an example.
FIG. 5 reference It is a figure which shows the control apparatus of an example.
FIG. 6 1 It is a figure which shows the control apparatus of an Example.
FIG. 7 2 It is a figure which shows the control apparatus of an Example.
[Explanation of symbols]
10 Pachinko machine control device
12 CPU (control means)
14 Watchdog circuit (monitoring means)
20 Monitoring restriction means (pseudo signal output means and monitoring function stop means)
Claims (4)
前記制御手段から出力される定期的な信号を監視し、この定期的な信号が途絶えた場合に、前記制御手段をリセットする監視手段と、
前記制御手段のセキュリティチェック期間中に、前記定期的な信号とは別の、前記定期的な信号を表す擬似信号を前記監視手段へ出力することにより、前記監視手段の監視を規制する監視規制手段と、
を備えることを特徴とするパチンコ遊技機の制御装置。Control means for sequentially executing a predetermined pachinko gaming machine control procedure and executing a security check for determining whether or not the program for performing the control is appropriate for a predetermined time from power-on;
Monitoring means for monitoring a periodic signal output from the control means, and resetting the control means when the periodic signal is interrupted;
A monitoring regulation unit that regulates monitoring of the monitoring unit by outputting a pseudo signal representing the periodic signal, which is different from the periodic signal, to the monitoring unit during a security check period of the control unit. When,
A control device for a pachinko gaming machine, comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP26522099A JP4414520B2 (en) | 1999-09-20 | 1999-09-20 | Control device for pachinko machines |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP26522099A JP4414520B2 (en) | 1999-09-20 | 1999-09-20 | Control device for pachinko machines |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2001087524A JP2001087524A (en) | 2001-04-03 |
JP4414520B2 true JP4414520B2 (en) | 2010-02-10 |
Family
ID=17414202
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP26522099A Expired - Fee Related JP4414520B2 (en) | 1999-09-20 | 1999-09-20 | Control device for pachinko machines |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4414520B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4890303B2 (en) * | 2007-03-12 | 2012-03-07 | 株式会社ソフイア | Game machine |
-
1999
- 1999-09-20 JP JP26522099A patent/JP4414520B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2001087524A (en) | 2001-04-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5250804B2 (en) | Game machine | |
JP4000237B2 (en) | Game machine | |
JP6101900B2 (en) | Game machine | |
JP4264593B2 (en) | Game machine | |
JP2000237435A (en) | Game machine | |
JP5572829B2 (en) | Game machine | |
JP5906219B2 (en) | Game machine | |
JP4867106B2 (en) | Game machine | |
JP5799472B2 (en) | Game machine | |
JP2011104072A (en) | Game machine | |
JP4414520B2 (en) | Control device for pachinko machines | |
JP2004337245A (en) | Game machine | |
JP2009000241A (en) | Game machine | |
JP2018102621A (en) | Game machine | |
JP2001198271A (en) | Playing machine | |
JP2001198329A (en) | Game machine | |
JP5560420B1 (en) | Gaming machines and anti-fraud prevention programs for gaming machines | |
JP4419000B2 (en) | Game machine | |
JP4744591B2 (en) | Game machine | |
JP6102023B2 (en) | Game machine | |
JP5250803B2 (en) | Game machine | |
JP2009061344A (en) | Game machine | |
JP2009061345A (en) | Game machine | |
JP4744574B2 (en) | Game machine | |
JP4679545B2 (en) | Game machine |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060626 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20090709 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090728 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090918 |
|
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: 20091117 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20091120 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121127 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121127 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131127 Year of fee payment: 4 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |