JP4420540B2 - Control device for gaming machine - Google Patents
Control device for gaming machine Download PDFInfo
- Publication number
- JP4420540B2 JP4420540B2 JP2000229635A JP2000229635A JP4420540B2 JP 4420540 B2 JP4420540 B2 JP 4420540B2 JP 2000229635 A JP2000229635 A JP 2000229635A JP 2000229635 A JP2000229635 A JP 2000229635A JP 4420540 B2 JP4420540 B2 JP 4420540B2
- Authority
- JP
- Japan
- Prior art keywords
- payout
- power
- ball
- prize ball
- power supply
- 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】
【従来の技術及び発明が解決しようとする課題】
遊技機、例えばパチンコ機において、遊技者の遊技している途中で停電があった場合、パチンコ機に搭載される電子制御機器がダウンするため、遊技の継続ができなくなる。この場合、パーラー等の設備において、予備電源等を備えていれば比較的短い時間で復旧することができるが、商用電源をそのまま用いている場合には、復旧は電力会社等の復旧作業に頼るしかない。
【0003】
一般に、パチンコ機には、電源モジュール(基板構成)が備えられ、各電子制御機器に対応した電圧(5V、12V等)を電源電圧として供給している。具体的には、電源モジュールから、中継基板を介して、主基板、払出制御基板、図柄表示基板、音声制御基板、ランプ制御基板等に必要な電源を供給している。なお、発射制御基板へは払出制御基板を経由して電源が供給されている。
【0004】
上記主基板は、遊技プログラムの実行経過に対応する状態をRAM(揮発性メモリ)に記憶しながら、遊技機全体のゲーム進行制御を行うものである(遊技機能)。なお、上記遊技プログラムの他、入賞した場合のパチンコ球の払い出し数(賞球)の制御(賞球機能)についても主基板によって管理している。
【0005】
払出制御基板は、パチンコ球の賞球払出プログラムの実行経過に対応する状態をRAMに記憶しながら、主制御基板からのパチンコ球の払出しに関するコマンドに基づく払出制御を行うと共に、パチンコ機の貸出プログラムの実行経過に対応する状態をRAMに記憶しながら、プリペイドカードユニットとの間での通信により、パチンコ球の貸出制御を行うものである。
【0006】
なお、払出制御基板、図柄表示基板、音声制御基板、ランプ制御基板は、基本的には、主基板から送られるコマンド信号に基づいて動作するようになっている。
【0007】
このようなパチンコ機において、停電があると、パチンコ球が入賞し、その入賞に応じたパチンコ球の払出残数記憶データが消去されてしまい、現実に停電前に入賞した分の払出ができなくなってしまう。このために遊技者は、不利益をこうむることになる。
【0008】
本発明は上記事実を考慮し、停電等予期せぬ電源断が発生し、電子制御機器に正規の電源電圧が供給されない間(停電中)において、電源復帰時に停電復帰前の状態に戻すことができる必要最小限の記憶能力を継続維持し、少ない消費電力で遊技者に不利益がこうむることを防止することができる遊技機の制御装置を得ることが目的である。
【0009】
また、上記目的に加えて、バックアップ電源の電源断時からの所定時間算出時間及びバックアップ電源からの電源供給の強制解除により、電源復旧時に、電源装置に接続された外部機器が誤作動を起こす可能性を未然に防ぐことのできる遊技機の制御装置の提供を目的とする。
【0010】
【課題を解決するための手段】
請求項1に記載の発明は、複数の電子部品が機能別に分類され、それぞれの機能に対して、各電子部品を制御する複数の制御部と、当該複数の制御部とは分離され、それぞれの制御部へ所定の電圧の電源を供給する電源モジュールと、で構成される遊技機の制御装置であって、入賞球の払出残数を記憶する揮発性のメモリと、入賞口に入賞したことを検出する入賞球検出手段と、予め定められた前記入賞口毎の払出し数に基づいて前記入賞球検出手段による入賞球の検出毎に、当該払出し数を前記メモリに記憶した払出残数に加算する加算手段と、払出機構によって払い出された球を検出する払出済球検出手段と、前記払出済球検出手段で払出球を検出する毎に、払い出された球数を前記メモリに記憶された払出残数から減算する減算手段と、停電等の電源断時に、前記メモリに記憶された少なくとも払出残数を、前記電源の復帰まで保持可能なバックアップ電源を供給するバックアップ手段とを有し、払出制御部では、前記電源断時でかつ、前記払出機構による払出が停止してから前記払出済球検出手段で払出球を検出するのに要する最長時間経過後に前記電源モジュールから出力される電源断検出信号に基づいて、予め定められ、少なくとも最終的な払出残数を含む情報を前記メモリに記憶するための電源断処理が実行され、かつ前記電源断検出信号の発生から第1の所定時間が経過した後にリセットが開始されることを特徴としている。
【0011】
請求項1に記載の発明によれば、バックアップ手段によって、メモリに記憶された記憶データ(払出残数)を保持する。これにより、停電中は継続して払出残数を記憶でき、停電復帰直後には停電直前の払出残数に基づいて球の払出しが可能となり、遊技者にとって不利益をこうむるようなことを防止することができる。
【0043】
【発明の実施の形態】
図1には、本実施の形態に係る球(ここでは、パチンコ球)300の払出機構部302及びその制御ブロック図が示されている。
【0044】
この払出機構部302は、パチンコ遊技機304(図2参照)における複数の入賞口306に入賞したパチンコ球300を、それぞれ別個に検出する入賞検出スイッチ308を備えている。これらの入賞検出スイッチ308は、賞球制御装置310の入賞球演算部312に接続されている。入賞球演算部312では、各入賞検出スイッチ308毎の払出数が定められている.例えば、ある入賞口306に入賞すると10個の払出し、他の入賞口306に入賞すると15個の払出し、といったように、入賞口306毎に決められている。
【0045】
この入賞球演算部312は、賞球払出残数計数部314に接続され、演算結果をこの賞球払出残数計数部314に送出している。賞球払出残数計数部314では、送られてくる球数を加算すると共に、この加算値をメモリ316に記憶するようにしている。
【0046】
また、賞球払出残数計数部314には、賞球払出指示部318が接続されており、賞球払出残数計数値(すなわち、払出残数)が0以外の時、この賞球払出指示部318へ払出し要求を行う。
【0047】
賞球払出指示部318では、このパルス信号に基づいて、払出機構部302の一部を構成する賞球ソレノイド320を制御する賞球ソレノイドコントローラ322へ払出信号(H又はLの2値信号)を送出するようになっている。なお、ハイレベル(H)信号が払出信号であり、ローレベル(L)信号が払出停止信号である。
【0048】
賞球ソレノイドコントローラ322では、この賞球ソレノイドコントローラ322に入力された信号がハイレベルの場合には賞球ソレノイド320を励磁とし、ローレベルの場合には賞球ソレノイド320を非励磁とするように制御する。
【0049】
賞球ソレノイド320は、円筒形の払出球案内路324の側近に配設されている。払出球案内路324の図示しない上方はパチンコ球300のホッパ部が設けられており、図示しない下方は遊技者の受け皿に向けて開口されている。
【0050】
賞球ソレノイド320が配設される側面(周面)には、スリット状の貫通孔326が設けられている。
【0051】
賞球ソレノイド320は、励磁のときに収縮するロッド320Aを備えている。
【0052】
ストッパ部材330は、略三角形状でその頂点330Aの近傍に円孔332が設けられ、軸334に挿入されている。これにより、ストッパ部材330は、軸334を中心に回転可能となる。また、他の頂点(図1で示す底辺の右端の頂点)330Bは、前記払出球案内路324のスリット状の貫通孔326と対応しており、前記軸334を中心とする回転によって、この頂点330Bの近傍が貫通孔326に出没するようになっている。
【0053】
さらに、他の頂点(図1で示す底辺の左端の頂点)330Cの近傍にも円孔336が設けられ、前記賞球ソレノイド320のロッド320Aの先端に取り付けられた軸338が軸支されている。また、この軸338には引張コイルばね340の一端が取り付けられ、他端は図示しないベース板等に固定されている。
【0054】
これにより、ロッド320Aは、賞球ソレノイド320の非励磁状態で引張コイルばね340の付勢力で伸長される。
【0055】
このロッド320Aの伸縮に応じて、前記ストッパ部材330は、軸334を中心に回転するため、賞球ソレノイド320の非励磁状態では、ストッパ部材330が引張コイルばね340の付勢力で図1の反時計回り方向へ回転し、頂点330Bの近傍がスリット状の貫通孔326に入り込み、払出通路を閉鎖する。
【0056】
一方、賞球ソレノイド320の励磁状態では、ロッド320Aが磁力によって引き込まれ、これによりストッパ部材330が図1の時計回り方向へ回転し、頂点330Bの近傍が貫通孔326から抜け出て、払出通路を開放する。
【0057】
前記貫通孔326の直下には、払出球案内路324を囲むようにリング状の払出済球検出スイッチ342が配設されている。
【0058】
この払出済球検出スイッチ342では、前記ストッパ部材330を通過し、確実に遊技者のもとへ届くパチンコ球を検出するセンサである。この払出済球検出スイッチ342による検出信号は、賞球制御装置310の賞球払出球登録部344へ送出されるようになっている。賞球払出球登録部344では、賞球払出残数計数部314へパチンコ球300が払出されたことを前記払出済球検出スイッチ342で検出する毎に、パルス信号を送出するようになっている。賞球払出残数計数部314では、この賞球払出球登録部344から送られる1パルスに対して残数を1ずつ減算するようになっている。なお、減算の方法はパルス信号のカウント(加算カウント、減算カウント)に限らず、払出された球を確実に減算していくものであれば他の様々な周知の方法を用いてもよい。
【0059】
この結果、賞球払出残数計数部314では、入賞する毎に残数は加算され、払出しされる毎に残数は減算されるため、入賞が短時間に連続しても確実に正確な払出数で払出すことができる。
【0060】
ここで、本実施の形態では、前記賞球払出残数計数部314に、賞球制御装置310の全体として供給される動作電源電圧と同等の電圧を保持するバックアップ部346が接続されている。このバックアップ部346は、通常時に電荷を貯えることが可能な充電機能を有しており、電源断が発生したときには、バックアップ部346からの電源電圧で前記賞球払出残数計数部314のメモリに記録された払出残数を記憶保持しておくことができるようになっている。すなわち、電源が復帰した後、電源断直前の状態から動作が行われ、電源断による払出残数消去によって遊技者が不利益をこうむることを防止している。
【0061】
なお、本実施の形態では、電源断直後の電圧の低下開始から賞球制御装置310の動作可能までの期間中において、賞球ソレノイド320への通電を先に停止し、所定時間経過した後、賞球制御装置310の動作を停止する、ディレイ時間を設けている。これは、払出残数の正確性を保つためであり、ストッパ部材330の動作により、最後に払出されるパチンコ球300を確実に検出するためである。
【0062】
以下に本実施の形態の作用を説明する。
【0063】
入賞検出スイッチ308は、図示しない発射装置から発射されたパチンコ球300が入賞口306に入賞すると、この入賞球を検出し、入賞球演算部312において、当該入賞検出スイッチ308に対応した、予め設定された払出球数に換算し、賞球払出残数計数部314へその払出球数に応じた信号を送出する。
【0064】
賞球払出残数計数部314では、常にメモリ316に払出残数を記憶しており、この残数を読み出して、前記払出球数を加算し、記憶する。
【0065】
賞球払出残数計数部314に記憶している払出球数に残数がある(すなわち、0以外)場合には、賞球払出指示部318から賞球ソレノイドコントローラ322に払出しの指示信号(ハイレベル信号)が送出される。賞球ソレノイドコントローラ322では、このハイレベル信号を受けて、賞球ソレノイド320を励磁状態とする。
【0066】
賞球ソレノイド320が励磁されると、ロッド320Aが引き込まれ、ストッパ部材330が軸334を中心に図1の時計方向回りに回転する。この回転で、ストッパ部材330の頂点330Bの近傍が払出球案内路324の貫通孔326から退避して、通路が開放するため、パチンコ球300は、遊技者の受け皿へと流動する。基本的には、パチンコ球300は、前記ハイレレベルの指示信号出力中、払出しが継続されるようになっているが、このハイレベルの指示信号が継続して出力中は、ストッパ部材330が退避し、パチンコ球が連続して払出される。
【0067】
ストッパ部材330による閉鎖部分を通過したパチンコ球300は、賞球払出済球検出スイッチ342によって検出され、その信号は賞球払出登録部344へ送出される。
【0068】
この賞球払出登録部344では、賞球払出残数計数部314へパチンコ球300が払出される毎にパルス信号を送出する。賞球払出残数計数部314では、この賞球払出球登録部344から送られる信号の1パルスに対して残数を1ずつ減算する。
【0069】
この減算によって、賞球払出残数計数部314に記憶した払出残数がない(すなわち、0)場合は、前記指示信号がローレベルとなり、賞球ソレノイドコントローラ322では、賞球ソレノイド320を非励磁状態とする。このため、ロッド320Aが引張コイルばね340の付勢力で伸張状態となり、ストッパ部材330が軸334を中心に図1の反時計回り方向へ回転する。
【0070】
この結果、頂点330Bが貫通孔326へ入り込み、払出球案内路324を閉鎖し、パチンコ球300の流出を止める。
【0071】
上記を繰り返すことにより、入賞口306に入賞する毎に、適正な払出数で遊技者にパチンコ球300を払い出すことができる。
【0072】
上記通常の遊技が行われている最中に、停電等の突然の電源断(以下、単に停電という)が発生すると、各部に電源が行き渡らなくなり賞球ソレノイド320の動作が停止(非励磁状態)し、賞球制御装置310の動作も停止する。このため、記憶していた払出残数も消えてしまうことになり、遊技者に不利益を与える。
【0073】
そこで、本実施の形態では、必要最小限の電圧を維持し、遊技者の不利益を解消するべく、賞球払出残数計数部314へバックアップ部346からバックアップ電源を供給するようにしている。以下、図3のフローチャートに従い、停電時の処理の詳細を説明する。
【0074】
まず、ステップS600では、最先に賞球ソレノイド320への電源を断つ。これは、指示信号がローレベルとなったのと同等であり、賞球ソレノイド320は、非励磁状態となり、ストッパ部材330による払出球案内路324の閉鎖がなされる。なお、この閉鎖状態は、引張コイルばね340の付勢力で保持される。これにより、賞球払出しが停止される。
【0075】
次に、ステップS602、604、606において、払出球の検出を所定時間継続する。これは、賞球ソレノイド320の動作と、払い出されるパチンコ球300の位置の関係で、最後に払い出されるパチンコ球300まで正確に検出するためであり、賞球ソレノイド320への通電が断った後も賞球払出済球検出スイッチ342並びに賞球制御装置310を正常に動作させることで、上記正確な検出が可能となる。
【0076】
ステップS606で所定時間経過したと判断されると、ステップS608へ移行して、最終的な払出残数をメモリに記憶する。このメモリは、バックアップ部346からのバックアップ電源によって常に電源が確保されるため、払出残数記憶データを確実に保存しておくことができる。
【0077】
前記払出残数の記憶後は、リセット待ちとする。すなわち、上記制御は、停電直後の電圧低下中において、賞球制御装置310等が動作可能な電圧を維持している間に処理されるものであり、時間がたてば自然に電圧が低下し続け、最終的には電源電圧0の状態となる。しかし、上述の如く、払出残数のみは、バックアップ電源により充分な時間保持することができる。
【0078】
電源復帰後はリセットがかかり、賞球制御装置310は、通常の電源投入時と同様に立ち上がる。すなわち、停電がいつ起こるかわからないため、賞球制御装置310のメインプログラムを確実に立ち上げるためにリセットをかける。これにより、プログラムが暴走することが防止され、賞球制御装置310は確実に復帰する。
【0079】
また、復帰後は、賞球払出残数計数部314に記憶された払出残数の読出しから始まり、残数があれば、この電源復帰後直ちに実行することにより、停電前に入賞し、払い出されなかったパチンコ球300を正確に遊技者に払い出すことができる。また、電源復帰後、遊技者が遊技を開始し入賞があったとしても、前記記憶した払出残数に加算されるため、本実施の形態によるシステムは、停電による不具合を、遊技者にも、パチンコ店にも、一切与えることがない。
【0080】
なお、本実施の形態では、払出機構部302の一部として賞球ソレノイド320を用いたが、ストッパ部材330を作動させる機構として、ステッピングモータや電磁クラッチ等の他の駆動源を適用してもよい。いずれにしても、電源断状態で払出球案内路324を閉鎖する構造であればよい。
【0081】
以下に、上記実施の形態で説明した賞球払出機構並びにその制御システムが搭載された、パチンコ機の制御システムの好適な実施例を説明する。
(第1の実施例)
図4には、第1の実施例に係るパチンコ機の制御装置が示されている。
(電源制御装置の全体概略構成)
遊技機の制御装置は、パチンコ店の島側に設けられた電源(24V,50/60Hz)が供給される電源モジュールとしての電源基板12と、後述するパチンコ機の各機能の全般を制御するための主制御基板14と、パチンコ機に使用されるパチンコ球の入賞時の払い出し、並びに金銭等に代えてパチンコ球を貸与するための貸し出しを制御するための払出制御基板16と、払出制御基板16のもとで機能する発射制御基板24と、で構成されている。また、前記主制御基板14のもとで機能する図柄制御基板18、音声制御基板20、ランプ制御基板22と、が設けられている。なお、主制御基板14のもとで機能する制御基板は、前記の如く3つに分割されていることに限定されるものではなく、遊技機の構成に応じて統廃合されてもよい。
【0082】
電源基板12の出力線(DC24VRMS,DC12V-A,DC12V-B,DC5V,PDWN,VBACKUP,GND)は、中継基板26を介して、前記主制御基板14にはDC12V-A, DC12V-B,DC5Vの電源電圧が供給され、払出制御基板16にはDC12V-A, DC12V-B,DC5V,PDWN,VBACKUPの電源電圧が供給され、図柄表示制御基板18と音声制御基板20にはそれぞれDC12V-Aの電源電圧が供給され、ランプ制御基板22にはDC24VRMS,DC12V-Aの電源電圧が供給され、発射制御基板24にはDC24VRMS,DC12V-A, DC5Vの電源電圧が供給されている。
【0083】
この中継基板26を設けて電源基板12からの出力を必要な数に振り分けることにより、電源基板12を機種を越えて共通使用すること、電源基板12に設ける出力端子の数を減らすことが可能となる。
【0084】
なお、図柄表示制御基板18は図柄表示器28の表示を制御し、音声制御基板20は、スピーカ30の出力を制御し、ランプ制御基板22は各種ランプ32の点灯を制御し、発射制御基板24は、発射ソレノイド34の駆動を制御する。
【0085】
払出制御基板16には、通信回線120を介してプリペイドカードユニット36が接続されており、このプリペイドカードユニット36には、電源基板12から直接必要な電源電圧(AC24V,AC24V)が供給されている。
【0086】
プリペイドカードユニット36は、パチンコ機に接続され、遊技者の貸出要求に応じて、払出制御基板16に遊技球の貸出指示を行うようになっている。
(主制御基板の構成)
図4に示される如く、主制御基板14には、コントローラとしてのIC(ワンチップCPU)38が設けられている。IC38では、演算及び制御処理を行い、プログラムの手順を記憶し、プログラムの制御状態(賞球残数、タイマ値等)を記憶する機能を有しており、その構成は以下の通りである。
【0087】
すなわち、このIC38は、CPU40、RAM42、ROM44及びこれらを接続するコントロールバスやデータバス等のバス46で構成されている。IC38には、水晶発振器48並びに電圧監視回路50が接続されている。水晶発振器48は、IC38の動作タイミングの基準となるクロックを発生する素子である。電圧監視回路50は、IC38の電源である5V電源電圧を検出し、IC38を初期化する回路であり、電源投入時は5Vの電源電圧を規定値を超えてから、所定時間遅延させてリセットを解除し、電源断時は5Vの電源電圧が規定値以下となったら、リセットを発生させる仕様となっている。
【0088】
また、RAM42は、賞球払出残数42Aやタイマ42B等の制御状態を記憶している。
【0089】
主制御基板14には、前記中継基板26からDC12V-A,DC12V-B,DC5V,GNDの各線が接続されている。
【0090】
さらに、パチンコ機の各種入賞検出スイッチ56(本実施の形態の入賞検出スイッチ308に対応)からの信号が、入力ポート58を介してIC38に入力されている。また、入賞検出スイッチ56は、それぞれ賞球払出数が予め設定されている。
【0091】
IC38には、さらに5個の出力ポート60、62、64、66、68と3個の入力ポート70、71、73が接続されている。
【0092】
第1の出力ポート60は、出力バッファ72を介して図柄表示制御基板18に接続され、図柄表示に関するコマンドが主制御基板14から送出されるようになっている。なお、この図柄表示制御基板18には、中継基板26から所定の電源電圧(DC12V-B)が供給されている。
【0093】
第2の出力ポート62は、出力バッファ74を介して音声制御基板20に接続され、音声に関するコマンドが主制御基板14から送出されるようになっている。なお、この音声制御基板20には、中継基板26から所定の電源電圧(DC12V-B)が供給されている。
【0094】
第3の出力ポート64は、出力バッファ76を介してランプ制御基板22に接続され、ランプ点灯に関するコマンドが主制御基板14から送出されるようになっている。なお、このランプ制御基板22には、中継基板26から所定の電源電圧(DC24VRMS,DC12V-A)が供給されている。
【0095】
第4の出力ポート66は、出力バッファ78を介して、前記払出制御基板16の後述する入力バッファ84へパチンコ球の払出しに関するコマンドを送出するようになっている。
【0096】
第5の出力ポート68は、出力ドライバ80を介してパチンコ機の大入賞口(パチンコ球の入賞口を増加拡大するための入賞口)ソレノイド82に接続され、この大入賞口の開閉を制御するようになっている。なお、この大入賞口の開閉を動作する駆動源には、DC12V-Aの電源電圧が供給されている。大入賞口ソレノイド82は、大入賞口を遊技者によって有利な特別状態となった場合に開放する。
【0097】
入力ポート70には、賞球払出装置86に設けられた準備球検出スイッチ86Aからの信号が入力されるようになっている。なお、この準備球検出スイッチ86Aは、DC12V-Bの電源電圧で動作する。
【0098】
入力ポート71には、オーバーフロースイッチ86Bからの信号が入力されるようになっている。このオーバーフロースイッチ86Bは、DC12V-Bの電源電圧で動作する。
【0099】
入力ポート73には、抵抗73Bを介してDC5Vの電源線73Aと、フォトカプラ88を構成するトランジスタ部88Aのコレクタが接続されている。
【0100】
このトランジスタ部88Aのエミッタはアースされており、この結果入力ポート73に印加される電圧値は、トランジスタ部88Aのオフ状態で5V、オン状態で0Vとなる。
【0101】
トランジスタ部88Aのベース部は発光部88Bの受光部となっており、発光部88Bの発光によってベース−エミッタ間で電流が流れることで、コレクタ−エミッタ間をオンとすることができる。
【0102】
発光部(発光ダイオード)のアノード側はDC12-Bの電源線73Cが接続され、発光電源として利用されている。この電源線73Cは、賞球払出済球検出スイッチ86Cにも接続され、賞球払出済球検出スイッチ86C(本実施の形態の払出済球検出スイッチ342に相当)の動作電源としても利用されている。
【0103】
発光部のカソード側は抵抗73Dを介して、賞球払出済球検出スイッチ86Cの出力信号線86Dと接続されており、この賞球払出済球検出スイッチ86Cによるパチンコ球の検出の有無による電圧変化により、発光部の発光を制御している。
【0104】
前記賞球払出済球検出スイッチ86Cの電源線73Cと出力信号線86Dとは、賞球中継基板90において分岐され、電源分岐線90Aと出力信号分岐線90Bは、払出制御基板16に設けられたフォトカプラ188へ接続されている。
【0105】
上記構成は、結果としては賞球払出済球検出スイッチ86Cによるパチンコ球の検出の有無信号を入力ポート73を介してIC38へ供給するのに変わりはないが、フォトカプラ88、188を用いることで、主制御基板14と払出制御基板16間におけるグランドループの発生を防止することができ、かつノイズ耐性を向上することができる。
【0106】
また、賞球払出装置86には、賞球ソレノイド86E(本実施の形態の賞球ソレノイド320に相当)が設けられ、この賞球ソレノイド86Eは、後述する払出制御基板16によって制御されるべく、電源線86F、動作信号線86Gは、払出制御基板16へ接続されている(後述)。
【0107】
なお、前記準備球検出スイッチ86A、オーバーフロースイッチ86B並びに賞球払出済球検出スイッチ86Cは、共通のアース端子86Hに接続されアースされている。
(払出制御基板の構成)
払出制御基板16は、パチンコ機に使用される遊技球の入賞時の払出し、及び金銭等に代えてパチンコ球を貸与するための貸出を制御する基板である。
【0108】
入賞時の賞球払出しは、主制御基板14からの賞球制御コマンドに基づいて賞球払出装置86を制御することで行うようになっている。また、主制御基板14からのコマンドには、賞球払出を許可する賞球許可コマンドと、賞球払出を禁止する賞球禁止マンド、賞球払出数を指示する賞球数コマンドがある。
【0109】
パチンコ球の貸出しは、パチンコ機と接続されたプリペイドカードユニット36との通信に基づいて、貸出払出装置を制御することで行う。
【0110】
このような機能を持つ払出制御基板の構成は以下の通りである。
【0111】
図4に示される如く、払出制御基板16には、コントローラとしてのIC(ワンチップCPU)138が設けられている。このIC138は、CPU140、RAM142、ROM144及びこれらを接続するコントロールバスやデータバス等のバス146で構成されている。IC138には、水晶発振器148並びに電圧監視回路150が接続されている。
【0112】
また、RAM142は、賞球払出残数142Aやタイマー142B等の制御状態を記憶している。
【0113】
払出制御基板16には、前記中継基板26からDC12V-A, DC12V-B,DC5V,PDWN,VBACKUP,GNDの各線が接続されている。
【0114】
電源断検出信号としてのPDWNは、前記IC138のNMI端子に入力されている。このNMIは、CPU140に設けられたマスク不能な外部割り込み端子であり、この端子の信号がアクティブになると、CPU140は、ROM144に記憶されたNMI割込処理を実行する。なお、このNMIに対し、INT端子の適用も可能である。すなわち、INTは、マスク可能な外部割り込み端子であり、この端子がアクティブになるとCPU140はROM144に記憶されたINT割り込み処理を実行する。
【0115】
ここでは、処理の緊急度が高いNMIが適用され、停電が発生したときに、これを検出し、払出制御基板16のIC138に停電発生を報知する役目を有している。この報知を受けることによって、IC138では、NMI割込処理(予め定められた電源断処理)を実行する。
【0116】
また、バックアップ電源としてのVBACKUPは、前記IC138のRAM142に接続されている。このVBACKUPは、IC138のRAM142にバックアップ電源を供給する役目を有しており、そのバックアップ電源の電圧は、RAM142に記憶されたデータを所定時間保存維持できる程度の電圧(約4.5V)及び容量とされている。
【0117】
さらに、プリペイドカードユニット36からの通信回線120が、入出力ポート122を介してIC138に入力されている。
【0118】
IC138には、さらに3個の入力ポート160、162、164と、3個の出力ポート166、168、170が接続されている。
【0119】
第1の入力ポート160には、前記主制御基板14の出力バッファ78から送出されるコマンドが入力される入力バッファ84に接続されている。
【0120】
第2の入力ポート162には、前記フォトダイオード88と同一構成のフォトカプラ188が接続されている(構成説明省略)。フォトカプラ188には、前記賞球中継基板90で分岐された、主制御基板14からの電源分岐線90Aと前記賞球払出済球検出スイッチ86Cからの信号分岐線90Bが接続され、賞球払出済球検出スイッチ86からの信号が入力されるようになっている。
【0121】
第3の入力ポート164には、貸出払出装置178に設けられた貸出球検出スイッチ180からの信号線180Aが接続され、所定の信号が入力されるようになっている。この貸出球検出スイッチ180は、DC12V-Bの電源電圧で動作する(電源線180B、アース線180C参照)
第1の出力ポート166は、出力ドライバ182を介して、前記賞球払出装置86に設けられた賞球ソレノイド86Eの動作信号線86Gと接続されている。この賞球ソレノイド86Eの電源線86Fは、払出制御基板16からDC12V-Aの電源電圧を受けている。賞球ソレノイド86Eは、励磁によってパチンコ球を排出し、非励磁によってパチンコ球の流れを停止させるストッパ部材の開閉を実行する役目を有しており(実施の形態参照)、前記第1の出力ポート166からの信号に応じてストッパ部材の開閉が制御される。
【0122】
第2の出力ポート168は、出力ドライバ184介して貸出払出装置178に設けられた貸出ソレノイド192に接続されている。貸出ソレノイド192はDC12V-Aの電源電圧で動作する。また、この貸出ソレノイド192は、金銭(プリペイドカードを含む)に応じた球数を貸し出すために前記賞球ソレノイド86Eと同等に構成され、励磁によってパチンコ球を排出し、非励磁によってパチンコ球の流れを停止させるストッパー部材の開閉を実行する役目を有しており、前記第2の出力ポート168からの信号に応じてストッパー部材の開閉が制御される。
【0123】
第3の出力ポート170は、出力バッファ194を介して発射制御基板24に接続され、発射(パチンコ球を弾き飛ばすための機器(発射ソレノイド34)の動作)に関する許可及び禁止の信号が払出制御基板16から送出されるようになっている。なお、発射制御基板24には、中継基板26から所定の電源電圧が供給されている。
(電源基板の構成)
図5に示される如く、電源基板12の筐体(図示省略)には、商用電源AC24V(50/60Hz)が入力される電源プラグ200から電源線202A、202Bが接続される端子204A、204Bと、電源基板12の筐体をアースするための端子204Cが設けられている。なお、商用電源は、通常100V/50Hz或いは100V/60Hzであるが、図示しない島側に設けられたトランス等によりにより24Vに降圧されている。また、端子204Cには、サージアブソーバ205が接続されている。サージアブソーバ205は、電源基板12のグランドレベルがフレームグランドに対してある程度大きくなった場合、グランドの電荷をフレームグランドに放電するためのものである。これにより、グランドレベルの頻繁な変動を抑えることができ、静電気等に対するノイズ耐性を向上することができる。
【0124】
端子204A、204Bは連絡線206、207によって端子204D、204Eに接続されており、この端子204D、204Eには、前記プリペイドカードユニット36が接続されている。なお、連絡線206側には、ヒューズ208が介在されている。
【0125】
端子204A、204Bに接続される電源線202A、202Bは、それぞれ全波整流回路210に接続されている(電源線202Aには、過電流保護回路209が介在される)。
【0126】
過電流保護回路209は、電源基板12を過電流から保護する目的で設けられている。
【0127】
全波整流回路210は、4個ダイオードで構成されたブリッジ回路で構成されており、交流電源が直流電源に変換される。従って、全波整流回路210の出力は電源線212とアース線214とになる。
【0128】
電源線212は分割され、一方は過電流保護回路218を介して端子204F(DC24VRMS)に接続されている。この過電流保護回路218は、ランプ制御基板22や発射制御基板24、或いは電子部品等を過電流から保護することが目的である。
【0129】
また、電源線212の他方は、ダイオードと電解コンデンサで構成される平滑回路220を介してDC12V−Aレギュレータ222と、DC12V−Bレギュレータ223と、DC5Vレギュレータ224と、第1電源断検出回路226と、第2電源断検出回路227にそれぞれ入力されている。なお、DC12V−Aレギュレータ222とDC12V−Bレギュレータ223とDC5Vレギュレータ224には、それぞれ過電流保護回路が内蔵されている。
【0130】
このDC12V−Aレギュレータ222の出力端は端子204G(DC12V−A)に接続され、DC12V−Bレギュレータ223の出力端は端子204H(DC12V−B)に接続され、DC5Vレギュレータ224の出力端は端子204I(DC5V)に接続されている。
【0131】
また、第1電源断検出回路226は、入力電圧が所定値V1まで下がった時点でローレベル信号を出力する回路であり、出力停止信号としてDC12V−Aレギュレータ222へ入力されている。
【0132】
第2電源断検出回路227は、入力電圧が所定値V2(V2<V1)まで下がった時点でローレベル信号を出力する回路であり、端子204J(PDWN)に接続されている。また、この第2電源断検出回路227の出力線は分岐されて、遅延回路229の入力側に接続されている。この遅延回路229の出力側は、前記DC5Vレギュレータ224に出力停止信号として入力されるようになっている。
【0133】
また、DC5Vレギュレータ224は出力端において分岐されており、ショットキーダイオード228を介してバックアップ電源として適用される電気二重層コンデンサ230の一端に接続されている。なお、蓄電用コンデンサとして機能するものであれば、電気二重層コンデンサ230の代わりに電解コンデンサであってもよい。
【0134】
ショットキーダイオード228は、5V電源が復帰するときにDC5V電源からの電流を電気二重層コンデンサ230に供給し、5V電源断時に電気二重層コンデンサ230からDC5V端子に電流を逆流させないために設けたものである。
【0135】
前記電気二重層コンデンサ230の他端はアースされている。電気二重層コンデンサ230の一端側、すなわちプラス側は端子204K(VBACKUP)に接続されている。なお、端子204L(GND)はアースされている。
【0136】
また、端子204Kには、放電抵抗232が接続され、かつアースされている。これは、電気二重層コンデンサ230で蓄えられた電荷を放電するために設けられている。すなわち、一般的にRAM142の保持電流が少なくバラツキも大きいので、バックアップ時間の算出が難しい。そこで、RAM142の保持電流を無視できる程度の大きな放電電流値になるようにこの放電抵抗232を設定することで、バックアップ時間の算出を容易にしている。なお、図5に二点鎖線で示すように、放電抵抗234とスイッチ236とが直列接続された回路を、前記放電抵抗232に並設し、強制的にバックアップを解除したいときにスイッチ236をオンし、放電抵抗234によって迅速に放電させるようにしてもよい。また、放電抵抗234は強制的にバックアップを解除させる用途で使用されることから、放電電流値が大きくなるような抵抗値に設定することが必要である。なお、放電抵抗234を介さずにスイッチ236のみで放電させる構成でもよい。
【0137】
DC12V−Aレギュレータ222は、平滑回路220から入力される直流電源から安定化したDC12Vを生成するものである。この出力電源は、賞球ソレノイドなどスイッチ以外の一般的に消費電力が大きい大電力電子部品の電源として使用される。
【0138】
また、このDC12V−Aレギュレータ222は、第1電源断検出回路226からの出力停止信号により、強制的に出力が停止されるようになっている。
【0139】
これは、電源断時に消費電力の大きい電源系統を即時に出力停止とすることで、他の電源系統(DC12V−B及びDC5V)を長い時間維持するためである。これにより、平滑回路220を小型共通化することが可能となる。
【0140】
また、賞球ソレノイド電源として使用される電源を、電源断時に即時に停止させることで、賞球ソレノイド86Eの駆動停止から賞球払出済球検出スイッチ86Cの電源(DC12V−B)や制御基板電源(DC5V)の補償電圧の維持時間に求められる性能を緩和することができ、電源基板12の安価な構成が可能となる。
【0141】
DC12V−Bレギュレータ223は、賞球払出済球検出スイッチ86C等のスイッチ専用電源として使用され、消費電力が比較的小さい、小電力電気部品専用である。
【0142】
次に、DC5Vレギュレータ224は、IC38、138等の制御用電源として使用されるものであり、バックアップ電源蓄電用の電気二重層コンデンサ230の充電にも使用される。
【0143】
このDC5Vレギュレータ224には、前述のように遅延回路229から出力停止信号を受けるようになっており、第2電源断検出回路227が電源断を検出した時点で、所定時間遅延させた後強制的に出力が停止される構成となっている。なお、所定時間は、主制御基板14及び払出制御基板16における払出残数の記憶等のバックアップ処理に必要な時間である。これにより、前記DC12V−Bが動作可能な時間の維持、正確な払出済球検出スイッチ86Cによる検出処理が可能となる。
【0144】
上記構成の電源制御回路では、停電になると、まず、第2の電源断検出回路227によって電圧低下を検出し、主制御基板14及び払出制御基板16へ報知する。このときの電源電圧は各制御基板が動作可能な状態であるため、各制御基板は予め定められた電源断処理を実行する。
【0145】
本実施の形態では、上記電源断処理は、停電復帰後に停電直前の状態になるための処理が実行される。このとき、必ず記憶しておかなければならない情報があるため、これらの情報は、IC138のRAM142に格納しておく。このRAM142は、停電中に電気二重層コンデンサ230から供給される電源電圧(約4.5V)によって、記憶状態を維持することができるため、前記情報を停電復帰後まで保持しておくことができる。
【0146】
以下、図6及び図7のフローチャートに従い、第1の実施例の作用を説明する。
【0147】
まず、図6のフローチャートにおいて、主制御を説明する。
【0148】
ステップS100では、このプログラムのスタートが電源投入(或いは電源復帰)によるものなのか、周期的リセット信号によるものであるかを判断する。この判断は、RAM42のパワーオン監視用エリアに、電源投入時に1回書き込まれる特定データの有無により行う。
【0149】
特定データがある場合には、周期的リセット信号によるプログラムスタートと判断し、ステップS101へ移行する。特定データがない場合には、電源投入によるプログラムスタートと判断し、ステップS123へ移行して初期化処理を行う。このステップS123は、電源投入時に1回のみ処理されるルーチンであり、初期化処理の実行後RAM42のパワーオン監視用エリアに特定データの書き込みを行う。この結果、次回以降のプログラムスタート時には、ステップS100において周期的リセット信号によるプログラムスタートと判断され、ステップS101へ移行する。なお、ステップS123の処理後は、周期的リセット信号を待つことになる。
【0150】
ステップS101では、一般遊技処理を行う。このステップS101から移行するステップS102からステップS104では、入賞球による賞球数コマンドの送信処理と賞球残数カウンタへの加算処理を行う。本実施例においては、賞球払出が可能であるかどうかに拘らず、賞球数コマンドを払出制御基板16に送信する構成としたことを特徴としている。これは、賞球のバックアップを払出制御基板16にて行うためであり、これによって、不意の停電等が発生した場合においても正確な賞球残数の記憶保持を行うことが可能となる。
【0151】
まず、ステップS102では、入賞球(入賞口に入賞したパチンコ球)があったか否かを判断し、入賞球がなかった場合にはステップS105へ移行して、入賞球があった場合にはステップS103へ移行して、入賞球に対する賞球数の指示である賞球数コマンドを、払出制御基板に送信する。
【0152】
その後、ステップS104へ移行して送信した賞球払出数コマンドの賞球払出数をRAM42に設けられた賞球払出残数カウンタに加算する。なお、この賞球払出残数カウンタは、これから払い出されるべき賞球払出数を示すものであり、賞球払出数コマンド送信によって指示した賞球数が払出制御基板16によって正確に払い出されたかどうかの賞球払出結果に対するエラー確認を行うために使用されるものである。
【0153】
次に、ステップS105〜ステップS108では、賞球払出が可能であるかどうかを判断し、その判断結果である賞球許可コマンド、或いは賞球禁止コマンドを払出制御基板16へ送信する制御が行われる。
【0154】
まず、ステップS105では、賞球払出の可能/不能の状態が変化したかどうかを判断する。このステップS105は状態の変化点のみでコマンドを送信するためである。この賞球払出の可能/不能の判断は、準備球検出スイッチ86Aとオーバーフロースイッチ86Bにより行い、賞球払出用の準備球があり、かつオーバーフローでなければ賞球払出可能と判断し、その他の場合は賞球払出不能と判断する。
【0155】
賞球払出の可能/不能の状態が変化していない場合はステップS109へ移行して、状態が変化している場合はステップS106へ移行して、ステップS105による判定で賞球払出が可能状態であるか否かを判断する。賞球払出が可能であれば、ステップS107へ移行し、賞球払出許可コマンドを送信してステップS109へ移行する。賞球払出が可能でなければステップS108へ移行して、賞球払出禁止コマンドを送信してステップS109へ移行する。
【0156】
ステップS109並びにステップS118〜ステップS122の処理では、払出制御基板16におけるバックアアップ処理(賞球払出残数に基づく払出)の確認を行うステップであり、まずステップS109では、バックアップ処理が終了したか否かをRAM42のバックアップ処理終了フラグの特定コードの有無で判断し、特定コードがある場合はバックアップが終了していると判断してステップS110へ移行し賞球払出結果に対するエラー確認処理を行う。
【0157】
特定コードがない場合は、バックアップが終了していないと判断してステップS118へ移行し、バックアップ終了確認を行う。
【0158】
ステップS118では、賞球許可状態であるか否かを確認し、賞球許可状態でない場合は周期的リセット信号待ちとなる。これは、賞球許可状態で無い場合には、賞球払出が行われないので、バックアップ処理終了確認を行えないためである。
【0159】
賞球許可状態の場合は、ステップS119へ移行して賞球払出済球検出スイッチ86Cの信号状態が3秒以上変化無しか否かを判断する。賞球払出済球検出スイッチ86Cの信号状態に変化がある場合には、バックアップ処理中(賞球残数の払出中)と判断し、周期的リセット待ちとなる。賞球払出済球検出スイッチ86Cの信号の変化が3秒以上ない場合は、ステップS120へ移行して最後に賞球払出球数コマンドを送信してから3秒以上経過したかどうかを判断する。3秒以上経過していない場合は周期的リセット信号待ちの状態となり、3秒以上経過している場合はバックアップ処理が終了したと判断して、ステップS121へ移行する。
【0160】
ステップS121では賞球払出残数カウンタをクリアし、ステップS122ではバックアップ処理が終了したことを記憶するため、RAM42のバックアップ終了フラグに特定コードを書き込む。
【0161】
上記ステップS119と、ステップS120によるバックアップ終了確認方法は、賞球のバックアップを払出制御基板で行うことにより、主制御基板14がバックアップされた賞球残数値を把握できないためである。
【0162】
このステップS120の処理は、遊技者に不快感を与えないためにバックアップ処理の終了を待たずに、発射及び一般遊技処理を行う構成とするために設けられたステップであり、図8に示される如く、ステップS119のみでバックアップ処理終了判断を行って賞球払出残数カウンタをクリアした場合、賞球払出済球検出スイッチ86Cの信号状態に基づく賞球払出数分のマイナスカウントを行ってしまうという不具合を防止することを目的としている。
【0163】
次に、ステップS110〜ステップS117の処理では、賞球払出結果に対するエラー確認処理を行う。
【0164】
ステップS110では、賞球払出球の検出を行い、賞球払出球を検出した場合には、ステップS111へ移行し、賞球払出球を検出しない場合はステップS115へ移行する。ステップS111では賞球払出残数カウンタ値を減算し、ステップS112では賞球払出残数カウンタ値により賞球を払出しすぎたかの賞球超過エラー確認を行う。
【0165】
賞球払出残数カウンタ値が−50を超えた場合は、賞球超過エラーと判断し、ステップS113へ移行して賞球禁止コマンドを送信する。その後、ステップS114において賞球払出結果に対するエラーがあったことを、表示や音声によって遊技者或いはパチンコ店に報知する。
【0166】
一方、ステップS112において賞球払出残数カウンタ値が−50を超えない場合は周期的リセット信号待ちとなる。
【0167】
ステップS115〜ステップS117の一連の処理は、賞球払出数コマンドによる賞球数指示分の賞球が払い出されないという賞球障害エラーを確認する処理である。
【0168】
まず、ステップS115では、賞球許可状態であるか否かを確認し、賞球許可状態でない場合は周期的リセット待ちとなる。これは、賞球許可状態でない場合には、賞球払出が行われないので、賞球障害エラーと判断させないためである。
【0169】
賞球許可状態の場合は、ステップS116へ移行し、賞球残数カウンタ値の確認を行う。カウンタ値が50以下の場合は周期的リセット待ちとなり、50を超えた場合はステップS117へ移行する。
【0170】
ステップS117では、賞球払出済球検出スイッチ86Cの信号状態が3秒以上変化無しかどうかを判断する。
【0171】
賞球払出済球検出スイッチ86Cの信号状態の変化がある場合は、賞球障害エラーでないと判断し、周期的リセット信号待ちとなる。
【0172】
賞球払出済球検出スイッチ信号の変化が3秒以上ない場合は、賞球障害エラーと判断し、賞球超過エラーと同様にステップS113へ移行して賞球禁止コマンドを送信後、ステップS114において賞球払出結果に対するエラーがあったことを、表示や音声によって遊技者或いはパチンコ店に報知する。
【0173】
ステップS112及びステップS116において、賞球払出残数カウンタ値に幅を持たさせたのは、ノイズ等による主制御基板14と払出制御基板16のカウント誤差により、頻繁に賞球エラーを発生することを防止するためである。
【0174】
次に、図7のフローチャートにおいて、払出制御について説明する。
【0175】
払出制御では、周期的に発生するリセット信号により起動される方式をとらずに、メインのループ処理とタイマ割り込みによって構成されている。
(メイン処理)
ステップS200では、電源投入時(或いは電源復帰時)に1回のみ処理される初期化処理を行う。この初期化処理においてバックアップデータである賞球払出残数の復帰処理を行う。また、賞球許可状態フラグをクリアして、電源投入時を賞球禁止状態とする。この処理によって、主制御基板14から賞球許可コマンドを受信するまでは賞球払出停止状態となる。更に、タイマ割込の設定、INT割込の許可等も行う。この処理後、無限ループに移行して、タイマ割り込み処理及びINT割込処理が起動されるのを待つ状態となる。
(タイマ割込処理)
ステップS300〜ステップS307では、INT処理によって主制御基板14から受信したコマンドの解読とそれに伴う処理を行う。
【0176】
まず、ステップS300では、主制御基板14からコマンド受信があったか否かを判断する。コマンド受信があった場合はステップS301へ移行し、コマンド受信がなかった場合はステップS308へ移行する。
【0177】
ステップS301では、コマンドの解読処理を行い、ステップS302において、そのコマンドが賞球許可コマンドであるか否かを判断する。賞球許可コマンドの場合はステップS303へ移行してRAM142の賞球許可状態フラグをセットし、賞球許可コマンドでない場合はステップS304へ移行する。
【0178】
ステップS304では、受信したコマンドが賞球禁止コマンドであるか否かを判断する。賞球禁止コマンドの場合はステップS305へ移行してRAM142の賞球許可状態フラグをクリアし、賞球禁止コマンドでない場合はステップS306へ移行する。
【0179】
ステップS306では、受信したコマンドが賞球数コマンドであるか否かを判断する。賞球数コマンドの場合はステップS307へ移行して、受信した賞球数を賞球払出残数カウンタ値に加算し、賞球数コマンドでない場合は無効コマンドとして無処理のままステップS308へ移行する。
【0180】
次にステップS308〜ステップS314では、賞球残数の払出を行う。
【0181】
まず、ステップS308では、賞球許可状態であるか否かを判断する。この判断は、RAM142の賞球許可状態フラグがセットされているか否かによって行い、セットされている場合は、賞球許可状態と判断し、セットされていない場合は賞球禁止状態と判断する。
【0182】
賞球許可状態と判断した場合はステップS309へ移行し、賞球禁止状態と判断した場合はステップS314へ移行して賞球ソレノイド86Eの駆動を停止(非励磁)後、タイマ割込から復帰する。
【0183】
一方、ステップS309では、賞球払出残数カウンタ値がゼロであるか否かを確認し、ゼロの場合は払出を行う必要がないと判断してステップS314へ移行して賞球ソレノイド86Eの駆動停止後ステップS316でタイマ割込から復帰する。
【0184】
賞球残数カウンタ値がゼロでない場合は、払出を行うためステップS310へ移行して賞球ソレノイド86Eを駆動(励磁)する。賞球ソレノイド86Eの駆動後、ステップS311にて賞球払出球を検出しているかを確認し、検出した場合にはステップS312へ移行して賞球払出残数カウンタ値を減算後、ステップS313へ移行する。
【0185】
一方、賞球払出済球を検出しない場合は、ステップS315へ移行する。ステップS313では、賞球払出残数カウンタ値がゼロであるか否かを確認し、ゼロの場合は主制御基板14から受信した賞球数分の賞球払出が終了したと判断してステップS314へ移行して賞球ソレノイド86Eの駆動を停止後タイマ割込から復帰する。
【0186】
ステップS313において賞球払出残数カウンタ値がゼロでない場合は、主制御基板14から受信した賞球数分の賞球払出が終了していないと判断して賞球ソレノイド86Eを駆動したままタイマ割込から復帰する。
【0187】
ステップS315では、賞球ソレノド86Eを駆動しているにも拘らず、賞球払出球を検出しないエラー状態の確認を行う。具体的には、賞球払出済球検出スイッチ86Cの信号状態がtERROR(ここでは、5秒とする)以上変化無しか否かを判断する。5秒以上変化がない場合は、致命的なエラーである賞球払出済球検出スイッチ86Cの故障と判断し、ステップS314へ移行する。ステップS314では、賞球ソレノイド86Eの駆動を停止してタイマ割込から復帰する。
【0188】
一方、賞球払出済球検出スイッチ86Cの信号状態の変化無しが5秒未満の場合は、致命的なエラーではないと判断し、賞球ソレノイド86Eを駆動したままタイマ割込から復帰する。
【0189】
このステップS315は、主制御基板14が払出制御基板16の詳細な動作状態(賞球ソレノイド86Eの駆動状態)を把握できないために追加されている処理であり、電源復帰後の払出制御基板16におけるバックアップ処理中の賞球払出し結果に対するエラー確認ができないという不具合を補間する目的として有効な処理である。
(INT割込)
このINT割込は、主制御基板14からコマンドが送信された場合に起動し、ステップS400にて主制御基板14からのコマンドを受信する。コマンド受信後、INT割込から復帰する。
(NMI割込)
この割込は、電源断が発生して第2電源断検出回路227からの信号がアクティブ(電源断状態を検出)になった場合に起動する電源断処理である。ステップ500では、電源断後に払い出される賞球払出済球を検出する規定時間をバックアップタイマにセットする。なお、この規定時間は賞球ソレノイド86Eが電源断により非励磁状態となり賞球払出を停止してから、賞球払出済球検出スイッチ86Cを通過する全ての賞球払出済球を検出可能な値にする。
【0190】
次に、S501に移行して賞球払出済球を検出しているかを確認し、検出しない場合はS503は移行する。一方、賞球払出済球を検出した場合はステップS502へ移行して賞球払出算数カウント値を減算後、ステップS503へ移行する。
【0191】
ステップS503ではバックアップタイマを減算し、ステップS504に移行してバックアップタイマがゼロであるかどうかを確認する。このバックアップタイマがゼロである場合は、前述の規定時間が経過したと判断してS505に移行して電源復帰後において未払出分の賞球払出残数を払い出すために必要な賞球払出算数142A(賞球バックアップデータ)を保護するためにRAM142の書込禁止処理を行いリセットを待つ状態となる。なお、リセット待ちの処理のみによってRAM142のアクセスを禁止して、賞球バックアップデータを保護することも可能である。
【0192】
一方、S504にてバックアップタイマがゼロでない場合は、前述の規定時間が経過していないと判断してS501に移行して同様の処理をバックアップタイマがゼロになるまで繰り返す。
【0193】
上記第1の実施例に示すように、払出制御基板16の制御を周期的リセット方式を用いずにループ方式とする構成により、主制御基板14からのコマンドを割込(INT)によって受信することが可能となり、図9に示す如く、主制御基板系14における周期的リセット信号間の1回の処理において、払出制御基板16に対して複数個のコマンドを送信することが可能となる。
【0194】
また、第2電源断検出回路227からの電源断検出信号をマスク不能割込端子であるNMIに入力しているが、これは、電源断発生の処理が緊急性を要するためである。
【0195】
次に、図10のタイミングチャートに基づき、電源断時の処理について詳細に説明する。
【0196】
電源断が発生すると(図10の矢印A参照)、賞球ソレノイド86Eに適用される電源(DC12V−A)の電圧が、賞球ソレノイド86Eの吸引保持電圧以下、すなわち非励磁状態と同等となり、賞球払出が停止する(図10の矢印B参照)。
【0197】
前記矢印Bのタイミングで賞球払出が停止してから、最後に払い出される払出を検出した場合(ここでは、矢印Bを起点として時間t1後である図10の矢印C参照)、賞球払出残数から減算する。この処理を可能とするため、賞球払出済球検出スイッチ86Cの電源(DC12V−B)と、払出制御基板16の動作電源(DC5V)は、それぞれの動作保証電圧を前記t1より長い時間(t3)維持させている(t1<t3)。なお、時間t3は、実験等により予め求めておき、かつ安全を見て決定すればよい。
【0198】
次に、電源基板12の第2電源断検出回路227が電源断号を検出すると電源断信号を出力する(図10の矢印D参照)。この電源断信号は端子204Jを介して払出制御基板16のIC138のNMI端子に入力される。この入力により、IC138が電源断を検出すると、最優先で電源断処理が実行される。
【0199】
すなわち、RAM142に記憶されている賞球払出残数をメモリに記憶して保護する。その後、制御プログラムを無限ループによりリセット待ちとする。これにより、データを破壊したり、プログラムが暴走することを防止することができる。なお、リセットは払出制御基板16の動作電源(DC5V)が所定値以下となった時点でかけられ、これにより制御系の動作は停止する(図10の矢印E参照)。
【0200】
その後、スイッチ用電源(DC12V−B)も断となり(図10の矢印F参照)、装置機能は完全に停止する。
【0201】
しばらくして、電源が復帰すると(図10の矢印G参照)それぞれの電源が立ち上がるが、主制御基板14及び払出制御基板16のリセット解除は、DC5V電源監視リセット回路50、150の作用により、その制御基板内で使用する全ての電源(停電検出信号を使用する払出制御基板16の場合は停電検出信号を含む)が通常状態で復帰してから行うようにしている(図10の矢印H以降、ここでは図10の矢印I参照)。
【0202】
ここで、上記タイミングチャートにおいて、大電力用電源(DC12V−A)が電源断となって賞球ソレノイド86Eが非励磁状態となったとき(図10の矢印B参照)から、賞球払出済球検出に要する最長時間(t1)以上、賞球払出済球検出スイッチ86Cの電源が当該スイッチの動作保証電圧を維持していることを要件の1つとして挙げたが(t1<t3)、これとは別に、大電力用電源(DC12V−A)が電源断となって賞球ソレノイド86Eが非励磁状態となったとき(図10の矢印B参照)賞球払出済球検出に要する最長時間(t1)以上、払出制御基板16の動作が可能であることも重要な要件となる(t1<t2)。
【0203】
上記タイミングチャートによれば、スイッチ用、すなわち小電力電源(DC12V−B)の保証電圧が、DC5Vよりも長い時間維持しているため、主制御基板14及び払出制御基板16が5V電源監視リセット回路50、150によりリセットされるまで、入賞払出済球の検出を始めとして正確なスイッチ入力を行うことが可能となる。
【0204】
以上説明した如く、本実施例では、停電等の予期せぬ電源断が生じた場合でも、正確に払出残数を記憶しておくことができ、電源復帰後はこの記憶した払出残数に基づいて賞球払出を継続できるため、遊技者及びパチコン店の双方に対して全く不利益を与えずに遊技を継続することができることになる。
【0205】
また、この実施例では、上記最終的な目的を達成できる他、以下のように付随的な効果を得ることができる。
【0206】
▲1▼賞球払出済球検出スイッチ信号の主制御基板と払出制御基板への分離接続
主制御基板14と払出制御基板16には、独立して賞球払出済球検出スイッチ86Cの信号を入力させているため、主制御基板14では、賞球払出数コマンドにより払出制御基板16に指示した球数が正確に払い出されたか否かを確認することができる。この確認処理により、払出制御基板16への賞球払出数コマンドが不正に改造されたことをチェックすることができる。
【0207】
すなわち、主制御基板14では、賞球払出済球検出スイッチ86Cからの信号を適正確認のために用い、払出制御基板16では、賞球払出済球検出スイッチ86Cからの信号は、賞球ソレノイド駆動停止タイミングを制御するために用いるといった分業を確立することができる。
【0208】
▲2▼賞球払出済球検出スイッチ86Cの電源の性能
本実施例のバックアップシステムとして、賞球払出球を検出するスイッチの電源に求められる必要最小限な性能は、賞球ソレノイド86Eの駆動停止から、少なくとも賞球払出球検出に要する最長時間以上、スイッチの動作保証電圧を保持することである。これにより、電源断時に正確な賞球払出残数を記憶保持することができる。
【0209】
本実施例の賞球払出済球検出スイッチの電源はDC12Vであり、DC12V電源には賞球ソレノイド86E等の消費電流が多いものが接続されていることから、電源断後の保持時間が短くなり最後の賞球払出球が検出できなくなることがある。そこで、消費電力の多い12V電源(DC12V−A)とは別のスイッ専用の電源(DC12V−B)を保持時間が長くなるように構成し、最後に払い出される賞球を正確に検出できるようにした。
【0210】
また、入賞検出スイッチ56の電源も主制御基板14が正常に動作しているときに断となった場合は、入賞検出スイッチ56が入賞球無しでも入賞球有りの信号を誤出力し、入賞有りと判断してしまうことがある。
【0211】
そこで、このスイッチ専用の電源を入賞検出スイッチ56の電源に使用すると、正確な入賞球を検出することができる。
【0212】
なお、このスイッチ用電源、すなわち小電力用電源(DC12V−B)は、主制御基板14或いは払出制御基板16に設けてもよいが、電源基板12内に設けることにより、この電源基板12を機種を代え越えて共通化した電源として使用することが可能となる。
【0213】
▲3▼主制御基板及び払出制御基板の動作維持時間に関する性能
本実施例のバックアップシステムとして、主制御基板14及び払出制御基板16は、賞球ソレノイド駆動停止から、少なくとも賞球払出済球を検出に要する最長時間以上、必要最小限正常に動作していることが要求される。これにより、電源断時に正確な賞球払出残数を記憶保持することが可能となる。
(第2の実施例)
図11及び図12には本発明の第2の実施例が示されている。なお、基本的な構成は、前記第1の実施例と同様であるため、この構成の説明は同一の符号を付して省略し、第2の実施例の特徴的な構成についてのみ説明する。
【0214】
この第2の実施例の特徴は、第1の実施例が電源断発生時における賞球払出停止を賞球ソレノイド86E用の電源断による自然復帰(非励磁)によって行っているのに対し、第2の実施例では、電源断検出信号(PWDN2)より早い時間に電源断を検出する電源断予告信号(PWDN1)を設け、このPDWN1信号により賞球ソレノイド86Eの駆動停止を行っている点にある。
【0215】
なお、この電源断予告信号による賞球ソレノイド86Eの駆動停止は、CPU140で検出して駆動停止を行う構成(ソフト的構成)でも、この信号で直接駆動停止を行う構成(ハード構成)でも可能である。
【0216】
この第2の実施例の構成とすることで、賞球払出停止を賞球ソレノイド86Eの電源の立ち下がり特性(消費電流で時間が変わる)に依存されず、予測可能な時期に迅速に行うことが可能となる。
【0217】
なお、この第2の実施例では、電源断予告信号を生成する回路(第1電源断検出回路226)を電源基板12に設けているが、払出制御基板16に設ける構成でも可能である。
【0218】
但し、電源基板12内に設ける構成の場合は、機種を越えて共通回路として利用できるメリットがある。
(第3の実施例)
図13には、電源断時及び電源復帰時のタイミングチャートの他の実施例が示されている。
【0219】
この第3の実施例の特徴は、電源断検出信号に基づき電源断時に必要な全ての処理(賞球払出禁止→最後に払い出される賞球の検出→賞球バックアップデータの退避保護)を行う構成とした点にある。
【0220】
この構成としたことになり、瞬停(電源断検出信号がアクティブにならない程度の短い時間の電源断)による復帰の処理を削除(パス)することが可能となり、プログラム容量の節約及び検査機関での検査を容易にすることが可能となる。
(第4の実施例)
図14には、CPUのリセット方法の他の実施例が示されている。
【0221】
この第4の実施例の特徴は、CPU140の動作保証電圧内において、リセットを行う点であり、電源断検出信号をCPU140のNMIに入力し、この電源断検出信号に遅延回路を介して信号をCPU140にリセット信号としている。この遅延回路229に求められる性能は次の2点である。
(1) 立ち下がり遅延時間tRONは、電源断信号のアクティブからDC5V電源がCPU140の動作保証電圧を満足している時間未満、NMI処理に必要な時間以上であること。
(2) 断ち上がり遅延時間tROFFは、電源投入時にこの制御システムとしてCPU140のリセットに必要とされる時間以上であること。
【0222】
上記構成とすることにより、CPU140の動作保証電圧内で確実にリセットを行うことができる。
【0223】
なお、この遅延回路を電源基板12に設ける構成としても良い。
【0224】
本実施の形態(第1の実施例乃至第4の実施例を含む)全般における、その他の作用効果は以下の通りである。
【0225】
バックアップのための電気二重層コンデンサ230は、電源基板12により生成されるDC5V電源からショットキーダイオード228を介して充電させているため、ショットキーダイオード228の順方向電圧降下が少なく、適正な電圧のバックアップ電源を生成することができる。また、電気二重層コンデンサ230を用いているため、バックアップ電源のための回路が簡単な構成で作成することができる。
【0226】
さらに、電源基板12には、第1電源断検出回路226、第2電源断検出回路227を備え、完全にIC38、138がダウンする前に電源断検出信号によって各制御基板に報知することができるため、予め定められた電源断処理を確実に実行することができる。
【0227】
なお、本実施の形態では、IC38(IC138)として、CPU40(CPU140)とROM44(ROM144)とRAM42(RAM142)とが一体化したものを適用したが、これはノイズ耐性上最適であるからであり、それぞれが別体であってもよい。
【0228】
また、電源断検出信号の払出制御基板16への入力は, NMI(マスク不能割り込み)の他、一般入力ポートからのポーリングによって行ってもよいし、INT(割り込み)等であってもよい。
【0229】
さらに、本実施の形態では、賞球のバックアップ機能を払出制御基板16に持たせたが、賞球のバックアップ機能を主制御基板14に持たせても問題はない。賞球払出検出スイッチの出力信号が主制御基板14と払出制御基板16との両方に入力されるからである。
【0230】
また、本実施の形態では、発射制御基板24への電源電圧は中継基板26を介して供給しているが、中継基板26を介して更に、払出制御基板16を経由して供給する構成でもよい。この構成の場合は、払出制御基板16から発射制御基板24に送信する発射制御信号と電源電圧供給のコネクタ配線を一体化することが可能となるので、コネクタの抜き差しの作業性を向上させることができる。
(第5の実施例)
図15には、第5の実施例に係る電源基板12Aが示されている。図15では、主要部のみを記載する。なお、図5及び図11における全波整流回路、平滑回路、DC5Vレギュレータは、第5の実施例で特徴的な部分ではないため、ブロック図として示す。
【0231】
電源基板12Aには電力を供給されるためにパチンコ店島側電源コンセントと接続するための電源プラグ200が備え付けられている。電源プラグ200は、電源基板12Aへ電源を入力するための端子204を通して、交流電源を直流電源に変換するために接地された全波整流回路210に接続されている。全波整流回路210から供給される直流電源の脈粒成分を除去するために、接地された平滑回路220が全波整流回路210に接続されている。平滑回路220から供給される電源電圧を5Vに安定化させるために、接地されたDC5Vレギュレータ500が平滑回路220に接続されている。なお、DC5Vレギュレータ500はDC5Vに限らず必要な電圧値を生成するように複数設けても良い。DC5Vレギュレータ500からの出力を電源基板12Aから外部へ電力供給するため、接地された端子204がDC5Vレギュレータ500に接続されている。また、ショットキーダイオード228のアノード側がDC5Vレギュレータ500と端子204との間から分岐接続されており、ショットキーダイオード228のカソード側は接地された電気二重層コンデンサ230に接続されている。DC5Vレギュレータ500と端子204との間からショットキーダイオード228のアノード側に接続された分岐線の途中から更に、停電時間検出手段502に電力供給のための電力供給線が分岐接続されている。なお、この電力供給線はショットキーダイオード228と電気二重層コンデンサ230との間から分岐接続させてもよい。停電時間検出手段502からは信号線が遮断手段504に接続されている。遮断手段504にはショットキーダイオード228のカソード側と電気二重層コンデンサ230との間から電力を供給されるために分岐線が接続されている。また、遮断手段504が端子204に接続されている。
【0232】
図16には、停電時間検出手段502と遮断手段504との構成例が示されている。
【0233】
図16に示される如く、端子204とショットキーダイオード228の間からは停電時間検出手段502の電源線が分岐接続されており、分岐線の停電時間検出手段502側はショットキーダイオード510のアノード側と接続されている。一方、ショットキーダイオード510のカソード側には接地された電気二重層コンデンサ512に接続されており、ショットキーダイオード510のカソード側と電気二重層コンデンサ512との間からはタイマIC514(例えばNEC製 μPD5555など)へ電源を供給するために分岐線がタイマIC514の電源端子に接続されている。また、タイマIC514のディスチャージ端子には接地されたコンデンサ516が接続されており、タイマIC514とコンデンサ516との間からは抵抗518が、ショットキーダイオード510のカソード側と電気二重層コンデンサ512との間からタイマIC514へ電源を供給するために分岐接続している分岐線に更に分岐接続されている。また、タイマIC514のトリガ端子には前記停電時間検出手段502の電源線のショットキーダイオード510のアノード側から分岐線が接続されており、タイマIC514の出力端子には遮断手段504が接続されている。更にタイマICのGND端子は接地されている。
【0234】
タイマIC514の出力端子が抵抗520を介してNPNトランジスタ522のベース側と接続されている。NPNトランジスタ522のエミッタ側は接地されている。また、NPNトランジスタ522が安定した動作を行うために、NPNトランジスタ522のエミッタ側とベース側との間には抵抗524が接続されている。NPNトランジスタ522のコレクタ側は抵抗526を介してPNPトランジスタ528のベース側に接続されている。PNPトランジスタ528のエミッタ側にはショットキーダイオード228と電気二重層コンデンサ230との間からの分岐線がバックアップ電源線として接続されている。PNPトランジスタ528が安定した動作を行なうために、PNPトランジスタ528のエミッタ側とベース側との間には抵抗530が接続されている。バックアップ電源が出力されるために、PNPトランジスタ528のコレクタ側が端子204に接続されている。
【0235】
以下に第5の実施例の作用を説明する。
【0236】
電源基板12Aに島側電源から電源が供給されている間、DC5Vレギュレータ500からショットキーダイオード510を通じて電気二重層コンデンサ512に電荷が充電される。
【0237】
停電が発生すると(図17参照)、ショットキーダイオード510によって、ショットキーダイオード510と電気二重層コンデンサ512との間からの分岐線に電気二重層コンデンサ512に蓄えられた電荷が電流として流れ、電流はタイマIC514の電源となる。同時に、ショットキーダイオード510のアノード側からタイマIC514に分岐接続されている分岐線を通じて、DC5Vが断したことをトリガとしてタイマIC514は計時を開始する。
【0238】
なお、タイマIC514の出力パルス幅(遅延時間)の理論式は抵抗518の抵抗値とコンデンサ516の電気容量値との積に比例するため、 抵抗518の抵抗値とコンデンサ516の電気容量値とを設定することで、タイマIC514によるバックアップ時間t4を規定しておく。抵抗518の抵抗値或いはコンデンサ516の電気容量値の何れか一方が変更可能な可変タイプとすることにより、外部からバックアップ時間t4の設定変更が可能となるようにしてもよい。
【0239】
このように設定されたバックアップ時間t4に基づいてタイマIC514は、停電発生から規定時間(バックアップ時間t4)経過するまではHレベルの信号を、規定時間(バックアップ時間t4)経過後はLレベルの信号を遮断手段504へ出力する(図17(B)の信号参照)。
【0240】
抵抗520を介して、タイマIC514からHレベルの信号がNPNトランジスタ522のベース側に入力されると、NPNトランジスタ522がONとなり、PNPトランジスタ528のベース側から抵抗526を介してNPNトランジスタ522のコレクタ側に電流が流れる。
【0241】
この時、PNPトランジスタ528がONとなり、電気二重層コンデンサ230とショットキーダイオード228との間からPNPトランジスタ528のエミッタ側へ接続されている分岐線を通じて、電気二重層コンデンサ230に蓄えられた電荷がPNPトランジスタ528のエミッタ側へ流れる。
【0242】
電気二重層コンデンサ230と等電位の点Aでは電圧が下がり(図17(A)の信号参照)、PNPトランジスタ528のコレクタ側の点Cでも電圧が下がる(図17(C)の信号参照)。
【0243】
点Cから端子204に電流が流れてバックアップ電源電流となる。
【0244】
抵抗520を介して、タイマIC514からLレベルの信号がNPNトランジスタ522のベース側に入力されると、NPNトランジスタ522がOFFとなり、PNPトランジスタ528のベース側から抵抗526を介してNPNトランジスタ522のコレクタ側に電流が流れなくなる。
【0245】
この時、PNPトランジスタ528がOFFとなり、電気二重層コンデンサ230とショットキーダイオード228との間からPNPトランジスタ528のエミッタ側へ接続されている分岐線を、電気二重層コンデンサ230に蓄えられた電荷がPNPトランジスタ528のエミッタ側へ流れなくなる。
【0246】
電気二重層コンデンサ230と等電位の点Aでは電圧が下がり(図17(A)の信号参照)、PNPトランジスタ528のコレクタ側の点Cでも電圧が下がる(図17(C)の信号参照)。
【0247】
点Cから端子204に電流が流れなくなり、バックアップ電源電流は遮断される。
【0248】
なお、規定時間経過までバックアップ電源の放電カーブ(図17(A)の信号参照)がRAMの記憶保持可能電圧を維持できるように、回路設計をしておく。
(第6の実施例)
次に、第6の実施例について説明する。なお、第6の実施例に係る電源基板は、上述の図15に示す第5の実施例に係る電源基板12Aと同様であるため、同一部分には同一の符号を付して説明を省略する。
【0249】
図18に示すように、第6の実施例では、上述の図16に示す第5の実施例に係る停電時間検出手段502と遮断手段504との構成が異なっている(詳細は後述)。
【0250】
図18には第6の実施例に係る停電時間検出手段502と遮断手段504との構成が示されている。
【0251】
ショットキーダイオード228と接地された電気二重層コンデンサ230との間から遮断手段504へ分岐接続されている電源線の途中には接地された放電抵抗540が接続されている。
【0252】
停電時間検出手段502は端子204とショットキーダイオード228との間から分岐接続されており、ショットキーダイオード510のアノード側へと接続されている。ショットキーダイオード510のカソード側には接地された電気二重層コンデンサ512に接続されている。ショットキーダイオード510のカソード側と接地された電気二重層コンデンサ512との間からはコンパレータ542への電源線が分岐接続されている。ショットキーダイオード510と電気二重層コンデンサ512との間からコンパレータ542へ接続された分岐線の途中には、接地された抵抗546に直列に接続された抵抗544が接続されている。抵抗544と抵抗546との間にはコンパレータ542の非反転入力端子が分岐接続されている。一方、コンパレータ542の反転入力端子が、ショットキーダイオード228と電気二重層コンデンサ230との間から遮断手段504へのバックアップ電源線の途中に接続されている。停電時間検出手段502からの信号として、コンパレータ542からの出力端子が遮断手段504の内部のPNPトランジスタ528のベース側へ抵抗526を介して接続されている。ショットキーダイオード228と電気二重層コンデンサ230の間からはバックアップ電源線がPNPダイオード528のエミッタ側へ分岐接続されている。バックアップ電源が出力されるために、PNPトランジスタ528のコレクタ側が端子204に接続されている。
【0253】
以下に第6の実施例の作用を説明する。
【0254】
停電が発生すると、ショットキーダイオード510と電気二重層コンデンサ512との間からコンパレータ542へ分岐接続された電源線に、電気二重層コンデンサ512に蓄えられた電荷が電流として流れる。
【0255】
同時に、この分岐線から更に分岐接続されている抵抗544を介して、コンパレータ542の非反転入力端子に電圧が印加される。
【0256】
このとき、コンパレータ542の非反転入力端子に印加された前記電圧は電圧値の変動が少ない。
【0257】
一方、ショットキーダイオード228と電気二重層コンデンサ230との間から遮断手段504へ接続されている電源線に、電気二重層コンデンサ230に蓄えられた電荷が電流として流れ、電気二重層コンデンサ230と等電位の点Aの電圧が下がる(図19(A)の信号参照)。
【0258】
ショットキーダイオード228と電気二重層コンデンサ230との間から遮断手段504に接続されている分岐線の途中から更にコンパレータ542の反転入力端子へ接続されている分岐線を通じて、コンパレータ542の反転入力端子に電圧が印加される。
【0259】
コンパレータ542では、非反転入力端子に印加された電圧値と反転入力端子に入力された電圧値とが比較され、その大小関係に対応する電圧信号が遮断手段504に出力される(図19(B)の信号参照)。
【0260】
すなわち、電気二重層コンデンサ512及び抵抗544、546により設定された規定電圧値と電気二重層コンデンサ230の電圧値とがコンパレータ542によって比較され、その比較結果が遮断手段504に出力される。
【0261】
バックアップ電源電圧値が規定電圧値よりも大きい時には、コンパレータ542の出力はGNDに対してショートする。
【0262】
一方、PNPトランジスタ528のベース電流は、抵抗526を介してコンパレータ542に流れ、PNPトランジスタ528はONとなる。このため、電気二重層コンデンサ230に蓄えられた電荷が電流となり、ショットキーダイオード228と電気二重層コンデンサ230との間から遮断手段504へ接続された分岐線を通り、PNPトランジスタ528のエミッタ側へ流れる。
【0263】
PNPトランジスタ528のコレクタ側から端子204へ電流が流れてバックアップ電源となる。(図19(C)の信号参照)。
【0264】
バックアップ電源電圧値が規定電圧値よりも小さい時には、コンパレータ542の出力はGNDに対してオープンとなる。
【0265】
コンパレータ542から抵抗526を介してPNPトランジスタ528のベース側へ出力信号が出力されず、その結果、PNPトランジスタ528のベース電流が流れなくなるために、PNPトランジスタ528はOFFとなる。
【0266】
このため、電気二重層コンデンサ230に蓄えられた電荷がPNPトランジスタ528のコレクタ側からバックアップ電源電流として流れなくなり、バックアップ電源は遮断される(図19(C)の信号参照)。
【0267】
すなわち、バックアップ電源電圧値が規定電圧値Vth未満に達した場合にC点の電圧が下がり、電気二重層コンデンサ230から電源装置外部への電力供給が遮断される。
【0268】
ここで、規定時間(バックアップ時間)t5になるように規定電圧値Vthを設定しておく(図19参照)。
【0269】
このとき、電気二重層コンデンサ230の過剰な電荷が接地された抵抗540を通して放電される。
【0270】
なお、規定電圧値Vthは抵抗544、546によって設定されており、電源装置外部に接続されるRAMの記憶保持可能電圧値以上であるようにしておくとともに、電気二重層コンデンサ512のプラス端子電圧は、電気二重層コンデンサ230のプラス端子電圧の放電カーブに比して、十分変動が小さくなるようにしておく。もしくは、抵抗544、546の分圧で作るのではなく、図20に示すように三端子レギュレータで変動しない基準電圧を作成してもよい。
【0271】
第5の実施例が停電発生からの時間を直接計時しているのに対して、第6の実施例では電気二重層コンデンサ230の電圧値が規定電圧値未満になることを監視している。この方式では、電気二重層コンデンサ230の電圧値が規定電圧値未満になった場合に電気二重層コンデンサ230から電源装置外部への電力供給を遮断するので、電源装置外部に接続されるRAMの記憶保持可能電圧値のバラツキパラメータを無視することが可能となり、バックアップ時間のバラツキを従来の方式に対して小さくできたことを特徴としている。
【0272】
この方式の採用により、第5の実施例に対して停電時間検出手段502と遮断手段504との構成規模を小さく出来るメリットが生ずる。
【0273】
【発明の効果】
以上説明した如く本発明に係る遊技機の制御装置及び方法、並びに遊技機は、停電等予期せぬ電源断が発生し、電子制御機器に正規の電源電圧が供給されない間(停電中)において、電源復帰時に停電復帰前の状態に戻すことができる必要最小限の記憶能力を継続維持し、少ない消費電力で遊技者に不利益がこうむることを防止することができるという優れた効果を有する。
【0274】
また、停電時において、バックアップ電源の電力供給可能時間の精度を向上させることが可能となり、必要とする時間分のRAM内容の記憶保持を行い、RAM内容の記憶を消去したい時間経過後にRAM内容の記憶消去を行うことができるという効果をも有する。
【図面の簡単な説明】
【図1】本実施の形態に係る遊技機(パチンコ機)制御装置の概略構成図である。
【図2】本実施の形態に係るパチンコ遊技機の正面図である。
【図3】本実施の形態に係るバックアアップ処理ルーチンを示す制御フローチャートである。
【図4】第1の実施例に係る遊技機(パチンコ機)制御装置の概略構成図である。
【図5】第1の実施例に係る電源基板の概略構成図である。
【図6】第1の実施例に係る主制御ルーチンを示す制御フローチャートである。
【図7】第1の実施例に係る払出制御ルーチンを示す制御フローチャートである。
【図8】賞球払出済球検出スイッチと賞球数コマンド信号との関係を示すタイミングチャートである。
【図9】主制御基板の周期的リセット信号と、コマンド送信との関係を示すタイミングチャートである。
【図10】第1の実施例に係るバックアップ処理のタイミングチャートである。
【図11】第2の実施例に係る遊技機(パチンコ機)制御装置の概略構成図である。
【図12】第2の実施例に係るバックアップ処理のタイミングチャートである。
【図13】第3の実施例に係るバックアップ処理のタイミングチャートである。
【図14】第4の実施例に係るバックアップCPUリセット処理を示すものであり、(A)はそのブロック図、(B)はタイミングチャートである。
【図15】本発明の実施の形態に係る電源装置の構成図である。
【図16】第5の実施の形態に係る遊技機(パチンコ機)制御装置の概略構成図である。
【図17】第5の実施の形態に係る遊技機(パチンコ機)制御装置のタイミングチャートである。
【図18】第6の実施の形態に係る遊技機(パチンコ機)制御装置の概略構成図である。
【図19】第6の実施の形態に係る遊技機(パチンコ機)制御装置のタイミングチャートである。
【図20】第6の実施の形態に係る遊技機(パチンコ機)制御装置の概略構成図である。
【符号の説明】
10 制御装置
12 電源基板(電源モジュール)
14 主制御基板
16 払出制御基板
26 中継基板
42A バックアップエリア
56 入賞検出スイッチ
86C 賞球払出済球検出スイッチ
142A バックアップエリア
209 過電流保護回路
210 全波整流回路
218 過電流保護回路
220 平滑回路
222 DC12V−Aレギュレータ
223 DC12V−Bレギュレータ
224 DC5Vレギュレータ
226 第1電源断検出回路
227 第2電源断回路検出回路
229 遅延回路
230 電気二重層コンデンサ
232 放電抵抗
300 パチンコ球
302 払出機構部
306 入賞口
308 各入賞検出スイッチ
310 賞球制御装置
312 入賞球演算部
314 賞球払出残数計数部
314 前記賞球払出残数計数部
316 メモリ
318 賞球払出指示部
320A ロッド
320 賞球ソレノイド
322 賞球ソレノイドコントローラ
324 払出球案内路
326 貫通孔
330 ストッパ部材
342 賞球払出済球検出スイッチ
344 賞球払出登録部
346 バックアアップ部
500 DC5Vレギュレータ
502 停電時間検出手段
504 遮断手段
510 ショットキーダイオード
512 電気二重層コンデンサ
514 タイマIC
516 コンデンサ
518 抵抗
520 抵抗
522 NPNトランジスタ
524 抵抗
526 抵抗
528 PNPトランジスタ
530 抵抗
540 放電抵抗
542 コンパレータ
544 抵抗
546 抵抗[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a control device for a gaming machine provided with a power supply module that supplies power of a predetermined voltage to the payout control unit, a control method when the power supply is cut off in the payout control unit, and the number of prizes such as game balls or game coins acquired. It relates to a gaming machine that determines the superiority or inferiority of a player's gaming state.
[0002]
[Prior art and problems to be solved by the invention]
In a gaming machine, for example, a pachinko machine, when a power failure occurs while a player is playing, the electronic control device mounted on the pachinko machine goes down, and the game cannot be continued. In this case, if a facility such as a parlor is equipped with a standby power supply, it can be recovered in a relatively short time. There is only.
[0003]
Generally, a power module is used for a pachinko machine.(Board configuration)And a voltage (5V, 12V, etc.) corresponding to each electronic control device is supplied as a power supply voltage. Specifically, necessary power is supplied from the power supply module to the main board, the payout control board, the symbol display board, the voice control board, the lamp control board, and the like via the relay board. Note that power is supplied to the launch control board via the payout control board.
[0004]
The main board controls the game progress of the entire gaming machine (game function) while storing a state corresponding to the execution progress of the game program in a RAM (volatile memory). In addition to the above game program, the main board also manages the control (prize ball function) of the number of pachinko balls to be paid out (prize ball function) when winning.
[0005]
The payout control board performs payout control based on a command related to payout of the pachinko balls from the main control board while storing a state corresponding to the execution progress of the pachinko ball prize ball payout program in the RAM, and also a pachinko machine lending program The pachinko ball lending control is performed by communication with the prepaid card unit while storing the state corresponding to the progress of the execution in the RAM.
[0006]
The payout control board, the symbol display board, the sound control board, and the lamp control board are basically operated based on a command signal sent from the main board.
[0007]
In such a pachinko machine, if there is a power outage, the pachinko ball wins, and the payout amount storage data of the pachinko ball corresponding to the win is erased, so it is not possible to pay out the amount actually won before the power outage End up. For this reason, the player suffers a disadvantage.
[0008]
In consideration of the above facts, the present invention can return to the state before power failure recovery when power is restored while an unexpected power failure such as a power failure occurs and the normal power supply voltage is not supplied to the electronic control device (during power failure). A gaming machine that can maintain and maintain the minimum necessary memory capacity and prevent the player from suffering disadvantages with low power consumption.Get controlIs the purpose.
[0009]
In addition to the above purpose, the external device connected to the power supply unit may malfunction when the power is restored by calculating the predetermined time from when the backup power supply is turned off and forcibly releasing the power supply from the backup power supply. Of preventing sexualityAmusement machine that canThe purpose is to provide a control device.
[0010]
[Means for Solving the Problems]
According to the first aspect of the present invention, a plurality of electronic components are classified by function, and for each function, a plurality of control units that control each electronic component and the plurality of control units are separated from each other. A control device for a gaming machine comprising a power supply module for supplying power of a predetermined voltage to the control unit, a volatile memory for storing the number of remaining payout balls, and winning a prize Each time a winning ball is detected by the winning ball detection means based on a winning ball detection means to be detected and a predetermined number of payouts for each winning opening, the payout number is added to the remaining payout number stored in the memory. Addition means and, PaymentA paid-out ball detecting means for detecting a ball paid out by the payout mechanism, and the paid-outballA subtracting means for subtracting the number of balls paid out from the payout remaining number stored in the memory every time the detecting means detects a payout ball, and at least the payout remaining stored in the memory at the time of power failure such as a power failure Until the power is restored.KeepBackup means for supplying a portable backup power supply, PaymentIn the output control unit, when the power is cut offAnd after the longest time required for detecting the payout ball by the payout ball detecting means after the payout by the payout mechanism is stopped.Based on a power-off detection signal output from the power module, predetermined, at leastUltimateInformation including the remaining number of withdrawalsSaidA power-off process for storing in the memory is executed, and a reset is started after a first predetermined time has elapsed since the generation of the power-off detection signal.
[0011]
According to the first aspect of the present invention, the storage data (remaining payout number) stored in the memory is held by the backup means. As a result, the remaining payout number can be memorized continuously during a power failure, and the ball can be paid out immediately after the power failure recovers based on the remaining payout amount immediately before the power failure, thereby preventing the player from suffering a disadvantage. be able to.
[0043]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 shows a
[0044]
The
[0045]
The winning
[0046]
The prize ball payout remaining number counting
[0047]
Based on this pulse signal, the prize ball
[0048]
In the prize
[0049]
The
[0050]
A slit-like through
[0051]
The
[0052]
The
[0053]
Furthermore, a
[0054]
As a result, the
[0055]
The
[0056]
On the other hand, in the excited state of the
[0057]
A ring-shaped paid-out
[0058]
The paid-out
[0059]
As a result, the winning ball payout remaining
[0060]
Here, in the present embodiment, a
[0061]
In the present embodiment, the energization of the
[0062]
The operation of this embodiment will be described below.
[0063]
The winning
[0064]
The prize ball payout remaining
[0065]
When there is a remaining number of payout balls stored in the winning ball payout remaining number counting unit 314 (that is, other than 0), a payout instruction signal (high) is sent from the prize ball paying instructing
[0066]
When the
[0067]
The
[0068]
The prize ball
[0069]
As a result of this subtraction, when there is no payout remaining number stored in the prize ball payout remaining number counting unit 314 (that is, 0), the instruction signal becomes low level, and the prize
[0070]
As a result, the
[0071]
By repeating the above, the
[0072]
If a sudden power interruption such as a power outage (hereinafter simply referred to as a power outage) occurs during the normal game, the power supply does not spread to each part and the operation of the prize ball solenoid 320 stops (de-energized state) Then, the operation of the prize
[0073]
Therefore, in the present embodiment, backup power is supplied from the
[0074]
First, in step S600, the power to the
[0075]
Next, in steps S602, 604, and 606, detection of the payout ball is continued for a predetermined time. This is to accurately detect the
[0076]
If it is determined in step S606 that the predetermined time has elapsed, the process proceeds to step S608, and the final payout remaining number is stored in the memory. Since the memory is always secured by the backup power source from the
[0077]
After storing the payout remaining number, the process waits for reset. In other words, the above control is performed while the voltage drop immediately after a power failure is maintained while the prize
[0078]
After the power is restored, a reset is applied, and the prize
[0079]
After the return, starting from reading out the remaining payout stored in the prize ball payout remaining
[0080]
In this embodiment, the
[0081]
A preferred embodiment of a control system for a pachinko machine equipped with the prize ball payout mechanism and its control system described in the above embodiment will be described below.
(First embodiment)
FIG. 4 shows a control device for a pachinko machine according to the first embodiment.
(Overall schematic configuration of power supply control device)
The control device of the gaming machine is supplied with power (24V, 50/60 Hz) provided on the island side of the pachinko parlorAs a power moduleA
[0082]
The output lines (DC24VRMS, DC12V-A, DC12V-B, DC5V, PDWN, VBACKUP, GND) of the
[0083]
By providing this
[0084]
The symbol
[0085]
A
[0086]
The
(Configuration of main control board)
As shown in FIG. 4, the
[0087]
That is, the
[0088]
Further, the
[0089]
Each line of DC12V-A, DC12V-B, DC5V, and GND is connected to the
[0090]
Further, signals from various winning detection switches 56 of the pachinko machine (corresponding to the winning
[0091]
The
[0092]
The
[0093]
The
[0094]
The third output port 64 is connected to the
[0095]
The
[0096]
The
[0097]
A signal from a prepared
[0098]
A signal from the overflow switch 86B is input to the input port 71. The overflow switch 86B operates with a power supply voltage of DC12V-B.
[0099]
[0100]
The emitter of the
[0101]
The base portion of the
[0102]
A DC12-
[0103]
The cathode side of the light emitting section is connected to the output signal line 86D of the winning ball paid-off
[0104]
The prize ball paid-out
[0105]
As a result, the above-described configuration is not changed except that the presence / absence signal of the pachinko ball detected by the winning ball paid-off
[0106]
The prize
[0107]
The prepared
(Configuration of payout control board)
The
[0108]
The winning ball payout at the time of winning is performed by controlling the winning
[0109]
Pachinko ball lending is performed by controlling the lending / dispensing device based on communication with the
[0110]
The configuration of the payout control board having such a function is as follows.
[0111]
As shown in FIG. 4, the
[0112]
In addition, the
[0113]
Each line of DC12V-A, DC12V-B, DC5V, PDWN, VBACKUP, and GND is connected to the
[0114]
PDWN as a power-off detection signal is input to the NMI terminal of the
[0115]
Here, NMI with high urgency of processing is applied, and when a power failure occurs, this is detected and has a role of notifying the
[0116]
Also, VBACKUP as a backup power source is connected to the
[0117]
Further, the
[0118]
The
[0119]
The
[0120]
A
[0121]
The third input port 164 is connected to a
The first output port 166 is connected via an output driver 182 to an operation signal line 86G of a
[0122]
The
[0123]
The third output port 170 is connected to the
(Configuration of power supply board)
As shown in FIG. 5, the casing (not shown) of the
[0124]
The
[0125]
The
[0126]
The
[0127]
The full-
[0128]
The
[0129]
The other of the
[0130]
The output terminal of the DC12V-
[0131]
The first power-
[0132]
The second power-
[0133]
The
[0134]
The
[0135]
The other end of the electric
[0136]
Further, a
[0137]
The DC12V-
[0138]
The output of the DC12V-
[0139]
This is for maintaining the other power supply systems (DC12V-B and DC5V) for a long time by immediately stopping the output of the power supply system with large power consumption when the power is cut off. As a result, the smoothing
[0140]
Further, the power supply used as the prize ball solenoid power supply is stopped immediately when the power is cut off, so that the power supply of the prize ball paid-off
[0141]
The DC12V-
[0142]
Next, the
[0143]
As described above, the
[0144]
In the power supply control circuit having the above-described configuration, when a power failure occurs, first, a voltage drop is detected by the second power-
[0145]
In the present embodiment, the power-off process is performed for the state immediately before the power failure after the power failure is restored. At this time, since there is information that must be stored, the information is stored in the
[0146]
The operation of the first embodiment will be described below with reference to the flowcharts of FIGS.
[0147]
First, main control will be described with reference to the flowchart of FIG.
[0148]
In step S100, it is determined whether the start of the program is due to power-on (or power recovery) or a periodic reset signal. This determination is made based on the presence or absence of specific data written once in the power-on monitoring area of the
[0149]
If there is specific data, it is determined that the program is started by a periodic reset signal, and the process proceeds to step S101. If there is no specific data, it is determined that the program is started when the power is turned on, and the process proceeds to step S123 to perform initialization processing. This step S123 is a routine that is processed only once when the power is turned on, and the specific data is written into the power-on monitoring area of the
[0150]
In step S101, general game processing is performed. In step S102 to step S104, which is shifted from step S101, a winning ball number command transmission process by winning balls and an addition process to the remaining winning ball counter are performed. The present embodiment is characterized in that the configuration is such that a prize ball number command is transmitted to the
[0151]
First, in step S102, it is determined whether or not there is a winning ball (pachinko ball that has won a winning opening). If there is no winning ball, the process proceeds to step S105, and if there is a winning ball, step S103. Then, a prize ball number command which is an instruction of the number of prize balls for the winning ball is transmitted to the payout control board.
[0152]
Thereafter, the process proceeds to step S104, and the prize ball payout number of the prize ball payout number command transmitted is added to a prize ball payout remaining number counter provided in the RAM. This prize ball payout remaining counter indicates the number of prize balls to be paid out from now on, and whether or not the number of prize balls instructed by sending the prize ball payout number command has been paid out correctly by the
[0153]
Next, in steps S105 to S108, it is determined whether or not a prize ball can be paid out, and a control for transmitting a prize ball permission command or a prize ball prohibition command, which is the determination result, to the
[0154]
First, in step S105, it is determined whether or not the status of whether or not the prize ball can be paid out has changed. This step S105 is for transmitting the command only at the state change point. This determination as to whether or not the prize ball can be paid out is made by the prepared
[0155]
If the status of enabling / disabling of the winning ball has not changed, the process proceeds to step S109. If the status has changed, the process proceeds to step S106, and the determination in step S105 indicates that the winning ball can be paid out. Judge whether there is. If the prize ball can be paid out, the process proceeds to step S107, a prize ball payout permission command is transmitted, and the process proceeds to step S109. If the prize ball cannot be paid out, the process proceeds to step S108, a prize ball payout prohibiting command is transmitted, and the process proceeds to step S109.
[0156]
The processing in step S109 and steps S118 to S122 is a step of confirming the backup process (payout based on the number of winning ball payouts) in the
[0157]
If there is no specific code, it is determined that the backup has not ended, and the process proceeds to step S118 to confirm the backup end.
[0158]
In step S118, it is confirmed whether or not the prize ball is permitted. If the prize ball is not authorized, the process waits for a periodic reset signal. This is because if the prize ball is not permitted, the prize ball is not paid out, so that it is not possible to confirm the end of the backup process.
[0159]
In the case of the winning ball permission state, the process proceeds to step S119, and it is determined whether or not the signal state of the winning ball paid-out
[0160]
In step S121, the winning ball payout remaining number counter is cleared, and in step S122, a specific code is written in the backup end flag of the
[0161]
This is because the backup completion confirmation method in step S119 and step S120 is because the winning ball remaining value that the
[0162]
The process in step S120 is a step provided to perform the launch and the general game process without waiting for the end of the backup process in order not to give the player unpleasant feeling, and is shown in FIG. As described above, when the backup processing end determination is performed only in step S119 and the winning ball payout remaining number counter is cleared, a negative count corresponding to the number of winning ball payouts based on the signal state of the winning ball payout
[0163]
Next, in the processing from step S110 to step S117, error confirmation processing is performed for the prize ball payout result.
[0164]
In step S110, a prize ball payout ball is detected. If a prize ball payout ball is detected, the process proceeds to step S111. If no prize ball payout ball is detected, the process proceeds to step S115. In step S111, the prize ball payout remaining number counter value is subtracted, and in step S112, a prize ball excess error check is made as to whether or not the prize ball has been paid out excessively.
[0165]
If the winning ball payout remaining counter value exceeds -50, it is determined that there is a winning ball excess error, and the process proceeds to step S113 to transmit a winning ball prohibition command. Thereafter, in step S114, the player or the pachinko parlor is notified by an indication or voice that there is an error with respect to the result of paying out the prize ball.
[0166]
On the other hand, if the prize ball payout remaining number counter value does not exceed -50 in step S112, the process waits for a periodic reset signal.
[0167]
A series of processing from step S115 to step S117 is processing for confirming a prize ball failure error that prize balls for the number of prize balls designated by the prize ball payout number command are not paid out.
[0168]
First, in step S115, it is confirmed whether or not the prize ball is permitted. If the prize ball is not authorized, the process waits for a periodic reset. This is because when the prize ball is not permitted, no prize ball is paid out, so that a prize ball failure error is not determined.
[0169]
If the winning ball is permitted, the process proceeds to step S116, and the remaining winning ball counter value is checked. When the counter value is 50 or less, the process waits for a periodic reset, and when it exceeds 50, the process proceeds to step S117.
[0170]
In step S117, it is determined whether or not the signal state of the winning ball paid-out
[0171]
If there is a change in the signal state of the winning ball paid-out
[0172]
If there is no change in the prize ball paid out ball detection switch signal for 3 seconds or more, it is determined as a prize ball failure error, and in the same manner as the prize ball excess error, the process proceeds to step S113 and a prize ball prohibition command is transmitted. A player or a pachinko parlor is informed by an indication or voice that there has been an error in the result of paying out a prize ball.
[0173]
In step S112 and step S116, the range of the prize ball payout remaining number counter value is given because the prize ball error frequently occurs due to the count error between the
[0174]
Next, payout control will be described with reference to the flowchart of FIG.
[0175]
The payout control is configured by main loop processing and timer interruption without using a system activated by a periodically generated reset signal.
(Main process)
In step S200, an initialization process is performed that is performed only once when power is turned on (or when power is restored). In this initialization process, a return process of the remaining number of winning balls as backup data is performed. Further, the prize ball permission state flag is cleared, and the prize ball is prohibited when the power is turned on. By this process, the prize ball payout is stopped until a prize ball permission command is received from the
(Timer interrupt processing)
In steps S300 to S307, the command received from the
[0176]
First, in step S300, it is determined whether or not a command has been received from the
[0177]
In step S301, a command decoding process is performed. In step S302, it is determined whether or not the command is a winning ball permission command. If it is a winning ball permission command, the process proceeds to step S303, and the winning ball permission state flag in the
[0178]
In step S304, it is determined whether or not the received command is a prize ball prohibition command. If the command is a prize ball prohibition command, the process proceeds to step S305 to clear the prize ball permission state flag in the
[0179]
In step S306, it is determined whether or not the received command is a prize ball number command. If it is a prize ball number command, the process proceeds to step S307, and the received prize ball number is added to the prize ball payout remaining number counter value. If it is not a prize ball number command, the process proceeds to step S308 without processing as an invalid command. .
[0180]
Next, in Step S308 to Step S314, the remaining number of prize balls is paid out.
[0181]
First, in step S308, it is determined whether or not the winning ball is permitted. This determination is made based on whether or not the winning ball permission state flag of the
[0182]
If it is determined that the winning ball is permitted, the process proceeds to step S309. If it is determined that the winning ball is prohibited, the process proceeds to step S314, and the driving of the winning
[0183]
On the other hand, in step S309, it is confirmed whether or not the prize ball payout remaining counter value is zero. If it is zero, it is determined that there is no need to pay out, and the process proceeds to step S314 to drive the
[0184]
If the winning ball remaining number counter value is not zero, the process goes to step S310 to perform payout, and the winning
[0185]
On the other hand, if no winning ball paid-out ball is detected, the process proceeds to step S315. In step S313, it is confirmed whether or not the prize ball payout remaining number counter value is zero. If it is zero, it is determined that the prize ball payout for the number of prize balls received from the
[0186]
If the prize ball payout remaining counter value is not zero in step S313, it is determined that the prize ball payout for the number of prize balls received from the
[0187]
In step S315, an error state in which no winning ball payout ball is detected despite the driving of the winning
[0188]
On the other hand, if no change in the signal state of the winning ball paid-out
[0189]
This step S315 is added because the
(INT interrupt)
This INT interrupt is activated when a command is transmitted from the
(NMI interrupt)
This interruption is a power-off process that is started when a power-off occurs and the signal from the second power-
[0190]
Next, the process proceeds to S501, where it is confirmed whether or not a winning ball paid out ball is detected. If not, the process proceeds to S503. On the other hand, when a winning ball paid-out ball is detected, the process proceeds to step S502, the prize ball paying-out calculation count value is subtracted, and then the process proceeds to step S503.
[0191]
In step S503, the backup timer is subtracted, and the process proceeds to step S504 to check whether the backup timer is zero. If this backup timer is zero, it is determined that the above-mentioned specified time has elapsed, the process proceeds to S505, and the number of winning ball payouts required for paying out the remaining number of winning ball payouts after the power is restored. In order to protect 142A (prize ball backup data), a write prohibition process of the
[0192]
On the other hand, if the backup timer is not zero in S504, it is determined that the specified time has not elapsed, the process proceeds to S501, and the same processing is repeated until the backup timer becomes zero.
[0193]
As shown in the first embodiment, a command from the
[0194]
In addition, the power-off detection signal from the second power-
[0195]
Next, based on the timing chart of FIG. 10, the process at the time of power-off is demonstrated in detail.
[0196]
When the power interruption occurs (see arrow A in FIG. 10), the voltage of the power supply (DC12V-A) applied to the
[0197]
When the payout of the last payout is detected after the stop of the payout of the prize ball at the timing of the arrow B (refer to the arrow C in FIG. 10 after the time t1 from the arrow B here), Subtract from a number. In order to enable this processing, the power supply (DC12V-B) of the winning ball paid-out
[0198]
Next, when the second power-
[0199]
In other words, the number of remaining prize balls stored in the
[0200]
Thereafter, the switch power supply (DC12V-B) is also cut off (see arrow F in FIG. 10), and the device function is completely stopped.
[0201]
When the power supply is restored after a while (see arrow G in FIG. 10), the respective power supplies start up, but the reset release of the
[0202]
Here, in the above timing chart, when the power supply for high power (DC12V-A) is cut off and the
[0203]
According to the above timing chart, since the guaranteed voltage of the switch, that is, the low power supply (DC12V-B) is maintained for a time longer than DC5V, the
[0204]
As described above, in this embodiment, even when an unexpected power interruption such as a power failure occurs, the remaining payout can be accurately stored. After the power is restored, the remaining payout is based on the stored payout. Therefore, the game can be continued without causing any disadvantage to both the player and the pachikon store.
[0205]
Further, in this embodiment, in addition to achieving the final object, the following effects can be obtained.
[0206]
(1) Separate connection of prize ball paid-off ball detection switch signal to main control board and payout control board
Since the
[0207]
That is, the
[0208]
(2) Performance of the power supply of the prize ball paid-off
As the backup system of the present embodiment, the minimum required performance required for the power supply of the switch for detecting the winning ball payout ball is at least the longest time required for detecting the winning ball paying ball from the stop of the driving of the winning
[0209]
The power supply of the award ball paid-off ball detection switch of this embodiment is DC12V, and since a power consumption current such as a
[0210]
Also, if the power supply of the winning
[0211]
Therefore, if a power source dedicated to this switch is used as the power source of the winning
[0212]
The power source for switching, that is, the power source for low power (DC12V-B) may be provided on the
[0213]
(3) Performance related to operation maintenance time of main control board and payout control board
As the backup system of the present embodiment, the
(Second embodiment)
11 and 12 show a second embodiment of the present invention. Since the basic configuration is the same as that of the first embodiment, the description of this configuration will be omitted with the same reference numerals, and only the characteristic configuration of the second embodiment will be described.
[0214]
The feature of the second embodiment is that, in the first embodiment, the prize ball payout is stopped by the natural return (non-excitation) by turning off the power for the
[0215]
Note that the stop of driving of the
[0216]
By adopting the configuration of the second embodiment, the prize ball payout stop is promptly performed at a predictable time without depending on the power supply falling characteristic of the
[0217]
In the second embodiment, a circuit for generating a power-off notice signal (first power-off detection circuit 226) is provided on the
[0218]
However, the configuration provided in the
(Third embodiment)
FIG. 13 shows another embodiment of a timing chart when power is turned off and when power is restored.
[0219]
The feature of the third embodiment is a configuration for performing all processing required when the power is turned off based on the power-off detection signal (prohibition of paying out a winning ball → detecting a winning ball to be paid out last → saving protection of winning ball backup data). It is in the point.
[0220]
With this configuration, it is possible to delete (pass) the recovery process due to momentary power interruption (power interruption for a time that is short enough that the power interruption detection signal does not become active). It is possible to facilitate the inspection.
(Fourth embodiment)
FIG. 14 shows another embodiment of the CPU resetting method.
[0221]
The feature of the fourth embodiment is that the reset is performed within the guaranteed operation voltage of the
(1) Falling delay time tRONIs less than the time when the DC5V power supply satisfies the operation guarantee voltage of the
(2) Cut-off delay time tROFFIs more than the time required for resetting the
[0222]
With the above configuration, it is possible to reliably perform reset within the operation guarantee voltage of the
[0223]
The delay circuit may be provided on the
[0224]
Other functions and effects of the present embodiment (including the first to fourth embodiments) are as follows.
[0225]
Since the electric
[0226]
Further, the
[0227]
In the present embodiment, an integrated circuit of the CPU 40 (CPU 140), the ROM 44 (ROM 144), and the RAM 42 (RAM 142) is applied as the IC 38 (IC 138), which is optimal for noise resistance. , Each may be a separate body.
[0228]
Further, the power-off detection signal may be input to the
[0229]
Furthermore, in this embodiment, the payout ball backup function is provided to the
[0230]
In this embodiment, the power supply voltage to the
(Fifth embodiment)
FIG. 15 shows a
[0231]
The
[0232]
FIG. 16 shows a configuration example of the power failure
[0233]
As shown in FIG. 16, the power line of the power failure time detection means 502 is branched from between the terminal 204 and the
[0234]
The output terminal of the
[0235]
The operation of the fifth embodiment will be described below.
[0236]
While power is supplied from the island-side power supply to the
[0237]
When a power failure occurs (see FIG. 17), the electric charge stored in the electric
[0238]
Since the theoretical formula of the output pulse width (delay time) of the
[0239]
Based on the backup time t4 set in this way, the
[0240]
When an H level signal is input from the
[0241]
At this time, the
[0242]
The voltage drops at a point A that is equipotential to the electric double layer capacitor 230 (see the signal in FIG. 17A), and also drops at a point C on the collector side of the PNP transistor 528 (see the signal in FIG. 17C).
[0243]
A current flows from the point C to the terminal 204 and becomes a backup power supply current.
[0244]
When an L level signal is input from the
[0245]
At this time, the
[0246]
The voltage drops at a point A that is equipotential to the electric double layer capacitor 230 (see the signal in FIG. 17A), and also drops at a point C on the collector side of the PNP transistor 528 (see the signal in FIG. 17C).
[0247]
The current stops flowing from the point C to the terminal 204, and the backup power supply current is cut off.
[0248]
The circuit is designed so that the discharge curve of the backup power source (see the signal in FIG. 17A) can maintain the voltage that can be stored in the RAM until the specified time elapses.
(Sixth embodiment)
Next, a sixth embodiment will be described. The power supply board according to the sixth embodiment is the same as the
[0249]
As shown in FIG. 18, in the sixth embodiment, the configurations of the power failure time detection means 502 and the shut-off means 504 according to the fifth embodiment shown in FIG. 16 are different (details will be described later).
[0250]
FIG. 18 shows the configuration of the power failure time detection means 502 and the interruption means 504 according to the sixth embodiment.
[0251]
A grounded
[0252]
The power failure time detection means 502 is branched from the terminal 204 and the
[0253]
The operation of the sixth embodiment will be described below.
[0254]
When a power failure occurs, the charge stored in the electric
[0255]
At the same time, a voltage is applied to the non-inverting input terminal of the
[0256]
At this time, the voltage applied to the non-inverting input terminal of the
[0257]
On the other hand, the electric charge stored in the electric
[0258]
The inverting input terminal of the
[0259]
The
[0260]
That is, the specified voltage value set by the electric
[0261]
When the backup power supply voltage value is greater than the specified voltage value, the output of the
[0262]
On the other hand, the base current of the
[0263]
A current flows from the collector side of the
[0264]
When the backup power supply voltage value is smaller than the specified voltage value, the output of the
[0265]
An output signal is not output from the
[0266]
For this reason, the electric charge stored in the electric
[0267]
That is, when the backup power supply voltage value reaches less than the specified voltage value Vth, the voltage at the point C decreases, and power supply from the electric
[0268]
Here, the specified voltage value Vth is set so as to be the specified time (backup time) t5 (see FIG. 19).
[0269]
At this time, excessive electric charge of the electric
[0270]
The specified voltage value Vth is set by the
[0271]
While the fifth embodiment directly measures the time from the occurrence of a power failure, the sixth embodiment monitors that the voltage value of the electric
[0272]
By adopting this method, there is an advantage that the configuration scale of the power failure time detection means 502 and the interruption means 504 can be reduced as compared with the fifth embodiment.
[0273]
【The invention's effect】
As described above, the gaming machine control device and method according to the present invention, and the gaming machine, during an unexpected power failure such as a power failure, during which a normal power supply voltage is not supplied to the electronic control device (during a power failure) When the power is restored, the necessary minimum memory capacity that can be restored to the state before the power failure restoration is continuously maintained, and it is possible to prevent the player from being disadvantaged with less power consumption.
[0274]
In addition, in the event of a power failure, it becomes possible to improve the accuracy of the power supply possible time of the backup power supply, and the RAM contents are stored and retained for the required time, and the RAM contents are stored after the time when the RAM contents are to be erased. There is also an effect that the memory can be erased.
[Brief description of the drawings]
FIG. 1 is a schematic configuration diagram of a gaming machine (pachinko machine) control device according to the present embodiment.
FIG. 2 is a front view of the pachinko gaming machine according to the present embodiment.
FIG. 3 is a control flowchart showing a backup process routine according to the present embodiment.
FIG. 4 is a schematic configuration diagram of a gaming machine (pachinko machine) control device according to the first embodiment.
FIG. 5 is a schematic configuration diagram of a power supply substrate according to the first embodiment.
FIG. 6 is a control flowchart showing a main control routine according to the first embodiment.
FIG. 7 is a control flowchart showing a payout control routine according to the first embodiment.
FIG. 8 is a timing chart showing the relationship between a prize ball paid-out ball detection switch and a prize ball number command signal.
FIG. 9 is a timing chart showing a relationship between a periodic reset signal of the main control board and command transmission.
FIG. 10 is a timing chart of backup processing according to the first embodiment.
FIG. 11 is a schematic configuration diagram of a gaming machine (pachinko machine) control device according to a second embodiment.
FIG. 12 is a timing chart of backup processing according to the second embodiment.
FIG. 13 is a timing chart of backup processing according to the third embodiment.
14A and 14B show a backup CPU reset process according to a fourth embodiment, in which FIG. 14A is a block diagram and FIG. 14B is a timing chart.
FIG. 15 is a configuration diagram of a power supply device according to an embodiment of the present invention.
FIG. 16 is a schematic configuration diagram of a gaming machine (pachinko machine) control device according to a fifth embodiment.
FIG. 17 is a timing chart of the gaming machine (pachinko machine) control device according to the fifth embodiment.
FIG. 18 is a schematic configuration diagram of a gaming machine (pachinko machine) control device according to a sixth embodiment.
FIG. 19 is a timing chart of the gaming machine (pachinko machine) control device according to the sixth embodiment.
FIG. 20 is a schematic configuration diagram of a gaming machine (pachinko machine) control device according to a sixth embodiment.
[Explanation of symbols]
10 Control device
12 Power supply board(Power module)
14 Main control board
16 Discharge control board
26 Relay board
42A Backup area
56 Winning detection switch
86C prize ball paid-off ball detection switch
142A Backup area
209 Overcurrent protection circuit
210 Full-wave rectifier circuit
218 Overcurrent protection circuit
220 Smoothing circuit
222 DC12V-A regulator
223 DC12V-B regulator
224 DC5V regulator
226 First power-off detection circuit
227 Second power-off circuit detection circuit
229 delay circuit
230 Electric Double Layer Capacitor
232 Discharge resistance
300 Pachinko balls
302 Dispensing mechanism
306 Winning mouth
308 Each winning detection switch
310 Prize ball control device
312 winning ball calculation unit
314 Prize Ball Remaining Count Counter
314 The prize ball payout remaining number counting unit
316 memory
318 Prize ball payout instruction section
320A Rod
320 Prize ball solenoid
322 Prize ball solenoid controller
324 Dispensing ball guideway
326 Through hole
330 Stopper member
342 Prize ball paid out ball detection switch
344 Prize ball payout registration department
346 Back-up part
500 DC5V regulator
502 Power failure time detection means
504 Blocking means
510 Schottky diode
512 electric double layer capacitor
514 Timer IC
516 capacitor
518 resistance
520 resistance
522 NPN transistor
524 resistance
526 resistance
528 PNP transistor
530 resistance
540 Discharge resistance
542 Comparator
544 resistance
546 resistance
Claims (1)
当該複数の制御部とは分離され、それぞれの制御部へ所定の電圧の電源を供給する電源モジュールと、で構成される遊技機の制御装置であって、
入賞球の払出残数を記憶する揮発性のメモリと、
入賞口に入賞したことを検出する入賞球検出手段と、
予め定められた前記入賞口毎の払出し数に基づいて前記入賞球検出手段による入賞球の検出毎に、当該払出し数を前記メモリに記憶した払出残数に加算する加算手段と、
払出機構によって払い出された球を検出する払出済球検出手段と、
前記払出済球検出手段で払出球を検出する毎に、払い出された球数を前記メモリに記憶された払出残数から減算する減算手段と、
停電等の電源断時に、前記メモリに記憶された少なくとも払出残数を、前記電源の復帰まで保持可能なバックアップ電源を供給するバックアップ手段とを有し、
払出制御部では、
前記電源断時でかつ、前記払出機構による払出が停止してから前記払出済球検出手段で払出球を検出するのに要する最長時間経過後に前記電源モジュールから出力される電源断検出信号に基づいて、予め定められ、少なくとも最終的な払出残数を含む情報を前記メモリに記憶するための電源断処理が実行され、かつ前記電源断検出信号の発生から第1の所定時間が経過した後にリセットが開始されることを特徴とする遊技機の制御装置。A plurality of electronic components are classified by function, and for each function, a plurality of control units that control each electronic component,
A control device for a gaming machine that is separated from the plurality of control units and includes a power supply module that supplies power of a predetermined voltage to each control unit,
Volatile memory that stores the number of payout balls remaining,
A winning ball detecting means for detecting that a winning opening has been won;
An adding means for adding the payout number to the payout remaining number stored in the memory for each detection of a winning ball by the winning ball detecting means based on a predetermined payout number for each winning opening;
A payout completion ball detection means for detecting a sphere that has been paid out by the payment out mechanism,
Subtracting means for subtracting the number of balls paid out from the payout remaining number stored in the memory every time the paid-out ball detecting means detects a paid-out ball,
During the power failure such as a power failure, at least payout remaining number stored in said memory, and a backup means for supplying return until in hold possible backup power supply of the power supply,
In the payment out of the control unit,
Based on a power-off detection signal output from the power module after the longest time required for detecting the paid-out ball by the paid-out ball detecting means after the payout by the payout mechanism is stopped when the power is turned off. , predetermined reset information including at least the final payout remaining power-off processing for storage in the memory is executed, and after the elapse of the first predetermined time from the occurrence of the power failure detection signal A control device for a gaming machine, which is started.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000229635A JP4420540B2 (en) | 1999-12-02 | 2000-07-28 | Control device for gaming machine |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP11-343688 | 1999-12-02 | ||
JP34368899 | 1999-12-02 | ||
JP2000229635A JP4420540B2 (en) | 1999-12-02 | 2000-07-28 | Control device for gaming machine |
Related Child Applications (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006053548A Division JP4627735B2 (en) | 1999-12-02 | 2006-02-28 | Discharge control unit power-off control method |
JP2006053547A Division JP4608450B2 (en) | 1999-12-02 | 2006-02-28 | Control device for gaming machine |
JP2006053549A Division JP4627736B2 (en) | 1999-12-02 | 2006-02-28 | Game machine |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2001218948A JP2001218948A (en) | 2001-08-14 |
JP2001218948A5 JP2001218948A5 (en) | 2006-04-20 |
JP4420540B2 true JP4420540B2 (en) | 2010-02-24 |
Family
ID=26577586
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2000229635A Expired - Fee Related JP4420540B2 (en) | 1999-12-02 | 2000-07-28 | Control device for gaming machine |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4420540B2 (en) |
Families Citing this family (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4759794B2 (en) * | 2000-04-26 | 2011-08-31 | 株式会社三洋物産 | Game machine |
JP2002153605A (en) * | 2000-11-17 | 2002-05-28 | Takeya Co Ltd | Power supply device for game machine and game machine |
JP4715073B2 (en) * | 2001-09-26 | 2011-07-06 | 株式会社三洋物産 | Game machine |
JP5158741B2 (en) * | 2006-10-18 | 2013-03-06 | サミー株式会社 | Game machine |
JP2009017896A (en) * | 2007-07-10 | 2009-01-29 | Daito Giken:Kk | Game machine |
JP4500841B2 (en) * | 2007-10-03 | 2010-07-14 | 株式会社ニューギン | Pachinko machine |
JP4620715B2 (en) * | 2007-10-03 | 2011-01-26 | 株式会社ニューギン | Pachinko machine |
JP4620716B2 (en) * | 2007-10-03 | 2011-01-26 | 株式会社ニューギン | Pachinko machine |
JP5225803B2 (en) * | 2008-10-23 | 2013-07-03 | 株式会社藤商事 | Game machine |
JP5009338B2 (en) * | 2009-05-25 | 2012-08-22 | 株式会社藤商事 | Game machine |
JP4890630B2 (en) * | 2010-06-11 | 2012-03-07 | 株式会社ニューギン | Pachinko machine |
JP5318930B2 (en) * | 2011-10-27 | 2013-10-16 | 株式会社藤商事 | Game machine |
JP5285165B2 (en) * | 2012-02-14 | 2013-09-11 | 株式会社平和 | Game machine |
JP5443580B2 (en) * | 2012-12-10 | 2014-03-19 | 株式会社平和 | Game machine |
JP2015051197A (en) * | 2013-09-09 | 2015-03-19 | サミー株式会社 | Pachinko game machine |
JP6427162B2 (en) * | 2016-12-27 | 2018-11-21 | 株式会社三共 | Gaming machine |
JP6307148B1 (en) * | 2016-12-27 | 2018-04-04 | 株式会社三共 | Game machine |
JP7340358B2 (en) * | 2019-06-07 | 2023-09-07 | 株式会社平和 | game machine |
-
2000
- 2000-07-28 JP JP2000229635A patent/JP4420540B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2001218948A (en) | 2001-08-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4420540B2 (en) | Control device for gaming machine | |
JP3444485B2 (en) | Gaming machine | |
JP2016140427A (en) | Game machine and game device | |
JP4608450B2 (en) | Control device for gaming machine | |
JP3588035B2 (en) | Gaming machine | |
JP4627736B2 (en) | Game machine | |
JP4627735B2 (en) | Discharge control unit power-off control method | |
JP3112223U (en) | Bullet ball machine | |
JP3112223U7 (en) | ||
JP4632375B2 (en) | Game machine | |
JP2003325909A (en) | Game machine | |
JP2006246981A (en) | Game machine | |
JP3798286B2 (en) | Game machine | |
JP2006026441A (en) | Game machine | |
JP2002126304A (en) | Game machine | |
JP3747252B2 (en) | Game machine | |
JP2006166938A (en) | Game machine | |
JP2006246979A (en) | Game machine | |
JP2005198717A (en) | Game machine | |
JP4401941B2 (en) | Game machine | |
JP3640593B2 (en) | Power supply device for gaming machine | |
JP5597813B2 (en) | Enclosed game machine | |
JP2005278908A (en) | Game machine | |
JP3621671B2 (en) | Game machine | |
JP3621670B2 (en) | Game machine |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060228 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060228 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090217 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20090218 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090414 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20090512 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090807 |
|
A911 | Transfer of reconsideration by examiner before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20090819 |
|
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: 20091124 |
|
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: 20091201 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121211 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 Ref document number: 4420540 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131211 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 |
|
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 |