JP4414520B2 - Control device for pachinko machines - Google Patents

Control device for pachinko machines Download PDF

Info

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
Application number
JP26522099A
Other languages
Japanese (ja)
Other versions
JP2001087524A (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.)
Heiwa Corp
Original Assignee
Heiwa Corp
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 Heiwa Corp filed Critical Heiwa Corp
Priority to JP26522099A priority Critical patent/JP4414520B2/en
Publication of JP2001087524A publication Critical patent/JP2001087524A/en
Application granted granted Critical
Publication of JP4414520B2 publication Critical patent/JP4414520B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

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の機能を停止させることができる。
[第実施例]
図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】
続いて、第実施例の作用について説明する。
【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を作動させることができる。
[第実施例]
図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】
続いて、第実施例の作用について説明する。
【0075】
実施例は、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】 第実施例の制御装置を示す図である。
【図7】 第実施例の制御装置を示す図である。
【符号の説明】
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 claim 1 is configured to sequentially execute predetermined control procedures for pachinko gaming machines and to perform security check for determining whether or not the program for performing the control is appropriate. A control means for executing a predetermined time from the input, a periodic signal output from the control means, and a monitoring means for resetting the control means when the periodic signal is interrupted; and During the security check period, By outputting to the monitoring means a pseudo signal representing the periodic signal different from the periodic signal, Said monitoring means Regulating surveillance And a monitoring and regulating means.
[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 claim 1, the monitoring and regulating means is As a pseudo signal, the signal from the mode terminal of the control means for generating a predetermined clock Monitoring means What By outputting, monitoring of the control means of the monitoring means can be restricted only during the security check period. When the security check is completed, a periodic signal is output from the control unit instead of the pseudo signal output from the pseudo signal output unit, so that the control unit can be monitored by the monitoring unit.
[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 claim 1, A signal adjusted by dividing the signal from the control mode terminal that generates a predetermined clock is output to the monitoring means. As a result, the operation of the monitoring means during the security check can be restricted. When the security check is completed, the monitoring function of the monitoring unit is executed, so that the control unit can be monitored by the monitoring unit.
[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 claims 1 to 3, each means is provided by providing the control means and the monitoring means at different positions. Since the difference due to the environment can be ensured, the monitoring means can be operated normally even if a factor causing inconvenience occurs in the control means. Further, it is possible to provide an effective noise countermeasure circuit or the like according to each environment, and it is possible to improve the reliability of the control means.
[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 control device 10 for a pachinko gaming machine according to the present embodiment.
[0024]
The control device 10 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 gaming operation of the pachinko gaming machine, a player that satisfies a predetermined condition CPU chip 12 called V2 (hereinafter referred to as CPU), which is a main part of control of pachinko gaming machines such as game control to be converted to a state advantageous to the user, and has a function of performing a security check at power-on, The CPU monitoring means 14, the power-on reset circuit 16, the clock generating means 18 for generating the reference clock, and the monitoring restricting means 20 for restricting the operation of the CPU monitoring means 14 are the main components. 10 and the interface 22 for matching the pachinko gaming machine, the ROM 24 storing the program for operating the control device 10 and various data, and the like. Les decoder 26 is connected via a data bus 28 and address bus 30, clock generator 18 is connected to the clock terminal CL. The clock generator 18 generates a basic clock for the CPU 12.
[0025]
In the present embodiment, what is constituted by the control means including the CPU 12 and part of the ROM 24 and the address decoder 26 is referred to as so-called V2. In the V2, security information indicating that the program suitability is determined to have passed as a result of a test by a third-party organization is stored in the ROM 24 in advance. Based on the security information, the security information is stored as a security check function when the power is turned on. Verification is performed. Here, when a program stored in the ROM 24 is falsified or an illegally created ROM is mounted, it is possible to determine that the security information is inconsistent and the program has been illegally modified. It is configured.
[0026]
The CPU 12 sequentially executes predetermined control procedures for pachinko gaming machines, and has a security function for determining whether a program is appropriate when the power is turned on as described above. Further, the CPU 12 and the pachinko gaming machine are connected so as to be able to communicate with each other.
[0027]
A coder 26 is connected to the address terminal A of the CPU 12 by an address via an address bus 30, and when the address decoder 26 outputs certain address data from the address terminal A, the corresponding input / output port 32 has a corresponding input / output. Has the function to enable the port. If the program is executed and proceeds normally, a periodic clock is output from the CPU 12 to the data bus at time intervals determined in advance by the program. Address data for enabling the input / output port connected to the CPU monitoring means 14 is output from the CPU 12 to the address decoder 26 in accordance with the timing at which this clock is output, so that the CPU 12 periodically sends it to the CPU monitoring means 14. The CPU monitoring means 14 clearing clock is input. The CPU monitoring means 14 clearing clock may be directly output from the data bus of the CPU 12.
[0028]
The CPU monitoring means 14 is a so-called watch dog circuit, and a reset signal for initializing the CPU 12 is applied to the reset terminal RES of the CPU 12 only when the CPU monitoring means 14 clearing clock is not input for a time longer than a predetermined time. input.
[0029]
The monitoring restricting means 20 corresponds to the pseudo signal output means and the monitoring function stop means of the present invention, and restricts the operation of the CPU monitoring means 14, and the CPU 12 of the CPU monitoring means 14 monitors the CPU 12 during the security check period. To regulate.
[0030]
Next, the operation of the control device 10 for the pachinko gaming machine according to the embodiment of the present invention will be described.
[0031]
First, when the control device 10 and the pachinko gaming machine are powered on, the power-on reset circuit 16 operates to output a reset signal to the reset terminal RES of the CPU 12. As a result, the CPU 12 is initialized, and at the same time, the basic clock is input to the CPU 12 from the basic clock generating means. Then, the above-described security check function is activated by the CPU 12. At this time, the monitoring restricting means 20 controls the CPU monitoring means 14 to input a signal equivalent to the above-described CPU monitoring means 14 clearing clock. In addition, you may make it control so that operation | movement of the CPU monitoring means 14 stops.
[0032]
When the security check is completed, the CPU 12 periodically executes a program for outputting a CPU monitoring means 14 clearing clock to the CPU monitoring means 14. Then, simultaneously with the execution of the program, the normal operation of the CPU monitoring unit 14 is controlled by the monitoring restriction unit.
[0033]
That is, the CPU monitoring means 14 determines that the CPU 12 is out of control and outputs a reset signal to the CPU 12 because the CPU monitoring means 14 clear clock is not input from the CPU 12 to the CPU monitoring means 14 before the security check is completed. Since it is possible to prevent the user mode from being shifted to the user mode for executing the user program, the CPU monitoring means 14 starts its operation at the same time as the CPU monitoring means 14 clearing clock is input to the user monitor. After the transition to the mode, if the CPU 12 runs away, the CPU 12 can be quickly returned.
[0034]
Further, by providing the CPU 12 and the CPU monitoring means 14 separately, it is possible to ensure the difference in noise environment due to the difference in the position where they are arranged, so even when a factor causing the CPU 12 to run away occurs. The CPU monitoring means 14 can be operated normally. Further, by providing the CPU 12 and the CPU monitoring unit 14 separately, it is possible to provide an effective noise countermeasure circuit corresponding to each environment, and the reliability of the CPU 12 itself can be improved.
[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 CPU 12, the ROM 24, and the address decoder 26 are described as separate configurations. However, in the following embodiments, the CPU 12 is described as V2 including the CPU 12, the ROM 24, and the address decoder 26 as described above. .
[First reference Example]
As shown in FIG. 2, the VD1 terminal and the VD2 terminal of the CPU 12 called V2 having a function of performing a security check when the power is turned on are connected to the power supply voltage V, and the VSS1 terminal and the VSS2 terminal of the CPU 12 are grounded.
[0036]
A mode (MODE) terminal of the CPU 12 generates a predetermined clock and is connected to an input terminal of an Ex-OR circuit (exclusive OR circuit) 34. The other input terminal of the Ex-OR circuit 34 is grounded, the output terminal is connected to the cathode side terminal of the diode D1, the resistor R1 is connected in series to the anode side terminal of the diode D1, and the resistor R1. Is connected to the input terminal of the inverter circuit 36.
[0037]
A resistor R2 is connected in parallel with the diode D1 and the resistor R1 between the output terminal of the Ex-OR circuit 34 and the input terminal of the inverter circuit 36. The input terminal of the inverter circuit 36 further includes a capacitor C1. Is grounded.
[0038]
The output terminal of the inverter circuit 36 is connected to the input terminal of a switching circuit 38 mainly composed of resistors and transistors. The output terminal of the switching circuit 38 comprises an emitter terminal and a collector terminal of a transistor Tr as shown in FIG. 2, the emitter terminal is grounded, and the collector terminal receives the high impedance of the watchdog circuit (CPU monitoring means) 20. It is connected to the RCT terminal that functions while being stopped and stops functioning when it goes low.
[0039]
The watchdog circuit 14 has an H level or an L level of the clock input to the CT terminal and the CK terminal for defining the time from when the clock is input to the CK (clock) terminal to when the reset signal is output from the RESET_ terminal. The VS terminal for setting the boundary voltage is grounded via capacitors C3 and C4, and the GRD terminal is grounded. The VCC terminal is connected to the power supply voltage V and grounded via the capacitor C2.
[0040]
Further, a RESET_ (reset) terminal that outputs a low level as a reset signal of the watchdog circuit 14 is connected to an input terminal of the Ex-OR circuit 40, and the other input terminal of the Ex-OR circuit 40 is grounded. The output terminal is connected to the reset terminal of the CPU 12 via a resistor R3 and an inverting circuit.
[0041]
The reset terminal of the CPU 12 is connected to the above-described resistor R3 through an inverting circuit and grounded through a capacitor C5.
[0042]
Next, the first reference The operation of the example will be described.
[0043]
During the security check period of the CPU 12, the output terminal of the Ex-OR circuit 34 outputs a signal similar to the signal output from the mode terminal of the CPU 12. That is, after the power is turned on, the mode terminal in the security check period generates a clock having a predetermined width. If the security check is normal, the ROM fetch wait for the period of three clocks output by the mode terminal in the security check period After a while, shift to user mode. At this time, the mode terminal becomes high level (H level). When the H level is output from the mode terminal here, the capacitor C1 is charged through the resistor R2.
[0044]
As the battery is charged, the voltage applied to the capacitor C1 gradually increases. However, before reaching the threshold voltage of the inverter circuit 36, the output terminal of the Ex-OR circuit 34 becomes a low level (L level) so that discharging starts. Are set to the values of the resistor R2 and the capacitor C1, and the electric charge at the time of discharging is discharged via the Ex-OR circuit 34.
[0045]
As described above, the H level signal output from the mode terminal is input to the inverter circuit 36 through the integrating circuit including the resistor R2 and the capacitor C1. By selecting the values of the resistor R2 and the capacitor C1 to be larger than the clock width of the clock signal output from the mode terminal, the potential at the point A shown in FIG. it can. After that, the width of the signal output from the mode terminal when shifting to the user mode is sufficiently larger than the clock width output from the mode terminal during the security check period, so the potential at point A shifts from the mode terminal to the user mode. After the signal is output, it becomes H level after a certain time. The predetermined time is determined by the values of the resistor R2 and the capacitor C1. Therefore, the potential at the point B shifts to the user mode from when the power is turned on and remains at the H level until a certain time later, but then changes to the L level. In this way, the function of the watchdog circuit 14 can be limited for a certain period from the time of power-on.
[Second reference Example]
As shown in FIG. 3, the VD01 terminal and the VD02 terminal of the CPU 12 are connected to the power supply voltage V, and the VSS1 terminal and the VSS2 terminal of the CPU 12 are grounded.
[0046]
The RES_ terminal of the CPU 12 is connected to the RESET_ terminal of the watchdog circuit 14, and the OUT terminal of the CPU 12 is connected to a CK terminal for inputting a periodic clock for judging the runaway of the CPU 12 of the watchdog circuit 14.
[0047]
The GRD terminal of the watchdog circuit 14 is grounded, and the CT terminal is grounded via a capacitor C10. The VCC terminal is connected to the power supply voltage V, the RCT terminal is connected to the collector terminal of the transistor Tr1, the emitter terminal of the transistor Tr1 is grounded, and the base terminal is connected to the output terminal of the inverter circuit 42 via the resistor R10. ing.
[0048]
An input terminal of the inverter circuit 42 is grounded via a capacitor C11 and is connected to a parallel circuit of a resistor R11 and a diode D2. The other end of the parallel circuit is connected to a power supply voltage V.
[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 inverter circuit 42 connected to the point C is always reached, so that the potential at the point D becomes H level immediately after the power is turned on and shifts to L level after a predetermined time. While the point D is at the H level, the subsequent transistor Tr1 is turned on, so that the RCT terminal of the watchdog circuit 14 is at the L level. When the point D becomes L level after a predetermined time, the transistor Tr1 is turned off and the RCT terminal is in the oven state. Accordingly, the function of the watch dog circuit 14 can be stopped only for a predetermined time after the power is turned on, and the output from the watch dog circuit 14 to the CPU 12 can be regulated.
[0051]
If a periodic clock is not output from the CPU 12 even after the monitoring time set by the capacitor C10 has elapsed after a predetermined time has elapsed, a reset signal is output from the watchdog circuit 14 to the CPU 12 and the CPU 12 is reset. Is done. This predetermined time can be set by setting values of the resistor R11 and the capacitor C11. The diode D2 is for quickly discharging the charge of the capacitor C11 when the power is turned off to prepare for the next power-on.
[Third reference Example]
As shown in FIG. 4, the VD01 terminal and the VD02 terminal of the CPU 12 are connected to the power supply voltage V, and the VSS1 terminal and the VSS2 terminal of the CPU 12 are grounded.
[0052]
The RES_ terminal of the CPU 12 is connected to the RESET_ terminal of the watch dog circuit 14, and the OUT terminal of the CPU 12 is connected to the CK terminal of the watch dog circuit 14.
[0053]
The GRD terminal of the watchdog circuit 14 is grounded, and the CT terminal is grounded via a capacitor C21. The VCC terminal is connected to the power supply voltage V, the RCT terminal is connected to the collector terminal of the transistor Tr2, the emitter terminal of the transistor Tr2 is grounded, and the base terminal is connected to the output terminal of the inverter circuit 44 via the resistor R21. ing.
[0054]
The input terminal of the inverter circuit 44 is grounded via the capacitor C22 and is connected to the resistor R22. The other end of the resistor R22 is connected to the mode terminal of the CPU 12.
[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 CPU 12. When the security check is normal, the system shifts to the user mode after a ROM fetch waiting period corresponding to three clocks output from the mode terminal during the security check period. At this time, the mode terminal becomes H level. A signal output from the mode terminal is input to the inverter circuit 44 through an integrating circuit including a resistor R22 and a capacitor C22. If the values of the resistor R22 and the capacitor C22 are set to be larger than the clock width of the clock signal output from the mode terminal, the potential at the point E can be maintained at the L level during power-on and the security check period. After that, the width of the signal output from the mode terminal when the mode is shifted to the user mode is sufficiently larger than the width of the clock output from the mode terminal during the security check period. After the shifted signal is output, the signal shifts to the H level after a predetermined time. The predetermined time is determined by the values of the resistor R22 and the capacitor C22. Therefore, the potential at the point F shifts to the user mode from the time of power-on and shifts to the H level until a predetermined time later, but then shifts to the L level. In this way, the function of the watchdog circuit 14 can be limited for a predetermined time from when the power is turned on.
[0057]
[4th reference Example]
As shown in FIG. 5, the VD01 terminal and the VD02 terminal of the CPU 12 are connected to the power supply voltage V, and the VSS1 terminal and the VSS2 terminal of the CPU 12 are grounded.
[0058]
The RES_ terminal of the CPU 12 is connected to the RESET_ terminal of the watch dog circuit 14, and the OUT terminal of the CPU 12 is connected to the CK terminal of the watch dog circuit 14.
[0059]
The GRD terminal of the watch dog circuit 14 is grounded, and the CT terminal is grounded via a capacitor C31. The VCC terminal is connected to the power supply voltage V, the RCT terminal is connected to the collector terminal of the transistor Tr3, the emitter terminal of the transistor Tr3 is grounded, and the base terminal is 1Q_ of the IC circuit 46 having a latch circuit via the resistor R31. Connected to the terminal. The IC circuit 46 can use a general-purpose IC 74HC73.
[0060]
The 1J terminal and the VCC terminal of the IC circuit 46 are connected to the power supply voltage V, and the 1K terminal and the GRD terminal are grounded. The 1CK terminal of the IC circuit 46 is connected to the LIR terminal of the CPU 12 and is connected to the power supply voltage V via the resistor R32. Further, the 1CLR terminal of the IC circuit 46 is grounded via a capacitor C32, and is connected to the power supply voltage V via a parallel circuit including a resistor R33 and a diode D3.
[0061]
Then, the fourth reference The operation of the example will be described.
[0062]
The LIR terminal of the CPU 12 outputs a signal indicating that the CPU 12 has started fetching instructions. The LIR terminal is in a high impedance state during system reset and security check, and this signal is connected to the power supply voltage V through the resistor R32. Therefore, while the LIR terminal is in the high impedance state, the 1CK terminal of the IC circuit 46 is Becomes H level.
[0063]
Immediately after the power is turned on, the IC circuit 46 is initialized by the reset circuit constituted by the resistor R33, the capacitor C32, and the diode D3, and the 1Q_ terminal shifts to the H level. The LIR terminal of the CPU 12 shifts to the user mode after the security check period, and shifts to the L level when the first instruction is fetched. That is, during the security check period after the power is turned on, the 1CK terminal is at the H level. When the mode is shifted to the user mode and the first instruction is fetched, the level is shifted to the L level and the falling edge of the signal at the 1CK terminal is input. At that time, since it is input to the 1K terminal, the L level is output to the 1Q_ terminal. After that, since the L level is latched at the 1Q_ terminal unless the power is turned off, the function of the watch dog circuit 14 can be stopped only during the period from the time when the power is turned on to the time when the mode is shifted to the user mode and the first instruction is fetched. it can.
[No. 1 Example]
As shown in FIG. 6, the VD01 terminal and the VD02 terminal of the CPU 12 are connected to the power supply voltage V, and the VSS1 terminal and the VSS2 terminal of the CPU 12 are grounded.
[0064]
The RES_ terminal of the CPU 12 is connected to the RESET_ terminal of the watch dog circuit 14, and the OUT terminal of the CPU 12 is grounded via the resistor R 41 and is connected to the input terminal of the OR circuit 48. The other input terminal of the OR circuit 48 is connected to the mode terminal of the CPU 12 via an inverter circuit 50 including an inverting circuit.
[0065]
The output terminal of the OR circuit 48 is connected to the CK terminal of the watch dog circuit 14, the GRD terminal of the watch dog circuit 14 is grounded, and the CT terminal is grounded via a capacitor C41. The VCC terminal of the watch dog circuit 14 is connected to the power supply voltage V.
[0066]
Followed by 1 The operation of the embodiment will be described.
[0067]
The output of the OUT terminal of the CPU 12 cannot be controlled by the program during the period from when the power is turned on until the mode is changed to the user mode. Since this signal is connected to the GRD terminal via the resistor R41, the input terminal of the subsequent OR circuit 48 is at the L level during this period. Since the mode terminal of the CPU 12 outputs a clock during this period, this clock is input to the CK terminal of the watch dog circuit 14 as it is. Since the clock can be periodically input to the watchdog circuit 14 during this period, the reset signal cannot be output from the watchdog circuit 14 to the CPU 12.
[0068]
After shifting to the user mode, the mode terminal of the CPU 12 shifts to the H level and is inverted by the inverter circuit 50 and input to the OR circuit 48. Therefore, the input terminal of the OR circuit 48 to which the inverter circuit 50 is connected is L Move to level. During this period, if a clock is output from the OUT terminal of the CPU 12 in accordance with the program, this clock becomes a clear signal for the watchdog circuit 14.
[0069]
Therefore, during the security check period, the function of the watchdog circuit 14 can be restricted, and the watchdog circuit 14 can be operated along with the transition to the user mode.
[No. 2 Example]
As shown in FIG. 7, the VD01 terminal and the VD02 terminal of the CPU 12 are connected to the power supply voltage V, and the VSS1 terminal and the VSS2 terminal of the CPU 12 are grounded.
[0070]
The RES_ terminal of the CPU 12 is connected to the RESET_ terminal of the watch dog circuit 14, the OUT terminal is connected to the 1 Clear terminal of the IC circuit 52 having a frequency dividing function, and is connected to the input terminal of the OR circuit 54. The 1Clear terminal of the circuit 52 is grounded through a resistor R51. The IC circuit 52 can use a general-purpose IC 74HC393.
[0071]
The other input terminal of the OR circuit 54 is connected to the QD terminal of the IC circuit 52, and the output terminal is connected to the CK terminal of the watchdog circuit 14.
[0072]
The GRD terminal of the watchdog circuit 14 is grounded, the CT terminal is grounded via a capacitor C51, and the VCC terminal is connected to the power supply voltage V.
[0073]
Further, the 1A terminal of the IC circuit 52 and the mode terminal of the CPU 12 are connected, the GRD terminal of the IC circuit 52 is grounded, and the VCC terminal is connected to the power supply voltage V.
[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 CPU 12 and the clock signal to be input to the watchdog circuit 14 are adjusted by frequency division when there is a gap in the period or clock width.
[0076]
During the period from when the power is turned on to the transition to the user mode, the OUT terminal of the CPU 12 is at L level, and the IC circuit 52 changes the outputs of QA to QD at the fall of the signal input to the 1A terminal. The output of the QD terminal is a clock having a width of 16 clocks input to the 1A terminal, and this is input to one of the OR circuits 54. Since the other input of the OR circuit 54 during this period is at the L level, the reset signal cannot be output from the watchdog circuit 14 to the CPU 12 by the clock of the QD terminal.
[0077]
When the mode is shifted to the user mode and the clock is output from the OUT terminal of the CPU 12, the IC circuit 52 is cleared and the output of the QD terminal of the IC circuit 52 becomes L level. Therefore, the clock output from the OUT terminal of the CPU 12 becomes a clear signal for the watchdog circuit 14.
[0078]
Accordingly, the function of the watchdog circuit 14 can be restricted during the security check period, and the watchdog circuit 14 can be operated along with the shift to the user mode.
[0079]
the above Reference examples and As shown in the embodiment, the monitoring time of the watch dog circuit 14 can be set to the most efficient time. Also, above Reference examples and In each of the embodiments, the CPU 12 and the watch dog circuit 14 are separately provided. Therefore, even if a factor causing the CPU 12 to run away occurs, the difference in environment is ensured. Therefore, the watch dog circuit 14 can be operated normally. it can.
[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:
前記監視規制手段は、所定のクロックを発生する前記制御手段のモード端子からの信号を前記擬似信号として前記監視手段へ出力することを特徴とする請求項1に記載のパチンコ遊技機の制御装置。2. The control device for a pachinko gaming machine according to claim 1, wherein the monitoring restricting means outputs a signal from a mode terminal of the control means for generating a predetermined clock to the monitoring means as the pseudo signal . 前記監視規制手段は、所定のクロックを発生する前記制御手段のモード端子からの信号を分周して調整した信号を前記擬似信号として前記監視手段へ出力することを特徴とする請求項1に記載のパチンコ遊技機の制御装置。2. The monitoring restriction unit outputs a signal adjusted by dividing a signal from a mode terminal of the control unit that generates a predetermined clock to the monitoring unit as the pseudo signal. Control device for pachinko machines. 前記制御手段と前記監視手段を別の位置に設けることを特徴とする請求項1乃至請求項3の何れか1項に記載のパチンコ遊技機の制御装置。  4. The control device for a pachinko gaming machine according to claim 1, wherein the control unit and the monitoring unit are provided at different positions.
JP26522099A 1999-09-20 1999-09-20 Control device for pachinko machines Expired - Fee Related JP4414520B2 (en)

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)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4890303B2 (en) * 2007-03-12 2012-03-07 株式会社ソフイア Game machine

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