JP5005776B2 - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP5005776B2
JP5005776B2 JP2010006083A JP2010006083A JP5005776B2 JP 5005776 B2 JP5005776 B2 JP 5005776B2 JP 2010006083 A JP2010006083 A JP 2010006083A JP 2010006083 A JP2010006083 A JP 2010006083A JP 5005776 B2 JP5005776 B2 JP 5005776B2
Authority
JP
Japan
Prior art keywords
power supply
counter
circuit
power
voltage
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
JP2010006083A
Other languages
Japanese (ja)
Other versions
JP2011143058A (en
Inventor
一寛 中村
Original Assignee
株式会社藤商事
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 株式会社藤商事 filed Critical 株式会社藤商事
Priority to JP2010006083A priority Critical patent/JP5005776B2/en
Publication of JP2011143058A publication Critical patent/JP2011143058A/en
Application granted granted Critical
Publication of JP5005776B2 publication Critical patent/JP5005776B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明は、弾球遊技機やスロットマシンなど、遊技動作に起因する抽選処理によって大当たり状態を発生させる遊技機に関し、特に、不正遊技を効果的に排除可能にした遊技機に関する。   The present invention relates to a gaming machine such as a ball game machine or a slot machine that generates a big hit state by a lottery process resulting from a gaming operation, and more particularly to a gaming machine that can effectively eliminate illegal games.

パチンコ機などの弾球遊技機は、遊技盤に設けた図柄始動口と、複数の表示図柄による一連の図柄変動態様を表示する図柄表示部と、開閉板が開閉される大入賞口などを備えて構成されている。そして、図柄始動口に設けられた検出スイッチが遊技球の通過を検出すると入賞状態となり、遊技球が賞球として払出された後、図柄表示部では表示図柄が所定時間変動される。その後、7−7−7などの所定の態様で図柄が停止すると大当り状態となり、大入賞口が繰返し開放されて、遊技者に有利な遊技状態を発生させている。   A ball game machine such as a pachinko machine has a symbol start opening provided on the game board, a symbol display section for displaying a series of symbol variation patterns by a plurality of display symbols, and a big winning opening for opening and closing the opening and closing plate. Configured. When the detection switch provided at the symbol start port detects the passage of the game ball, the winning state is entered, and after the game ball is paid out as a prize ball, the display symbol is changed for a predetermined time in the symbol display section. Thereafter, when the symbol is stopped in a predetermined manner such as 7-7-7, a big hit state is established, and the big winning opening is repeatedly opened to generate a gaming state advantageous to the player.

但し、実際には、遊技球の入賞に基づいて実行される大当り抽選処理によって、大当り状態か否かが予め決定されており、図柄表示部では、専ら遊技者を盛上げるために図柄変動動作を行っている。大当り抽選処理では、例えば、ハードウェア構成された乱数生成回路の出力値が、大当り判定用の乱数値RNDとして使用され、これを大当り当選値Hitと比較することで大当り状態か否かが決定される。   However, in actuality, whether or not the big hit state is determined in advance by the big hit lottery process executed based on the winning of the game ball, and the symbol display section performs the symbol variation operation exclusively to revitalize the player. Is going. In the jackpot lottery process, for example, the output value of a hardware-configured random number generation circuit is used as a random number value RND for jackpot determination, and it is determined whether or not it is a jackpot state by comparing this with a jackpot winning value Hit. The

ここで、乱数生成回路を構成するカウンタやラッチは、電源投入時に強制的に電源リセットされるので、この点を悪用した不正遊技が懸念されるところである。すなわち、カウンタに供給される計数クロックΦの周波数や、大当り当選値Hitの値は、遊技機を入手して調査すれば明らかとなるので、何らかの方法で遊技機を電源リセット状態にすると共に、カウンタの計数値が大当り当選値Hitの値に一致するタイミングを狙って、コネクタ部から違法な入賞スイッチ信号を入力すれば、大当たり状態を意図的に発生できることになる。   Here, since the counters and latches constituting the random number generation circuit are forcibly reset when the power is turned on, there is a concern about illegal games exploiting this point. That is, since the frequency of the count clock Φ supplied to the counter and the value of the big hit winning value Hit are made clear by obtaining and investigating the gaming machine, the gaming machine is brought into a power reset state by some method, and the counter If an illegal winning switch signal is input from the connector unit aiming at the timing when the counted value coincides with the value of the jackpot winning value Hit, the jackpot state can be intentionally generated.

この点は、スタートレバーの操作タイミングに、大当り判定用の乱数値RNDを取得するスロットマシンにおいても同様であり、大当り当選値Hitの値に一致するタイミングを狙って、コネクタ部から違法なスタートレバー信号を供給する違法が懸念される。   The same applies to the slot machine that acquires the random value RND for jackpot determination at the start lever operation timing, and the illegal start lever from the connector section is aimed at the timing that matches the value of the jackpot winning value Hit. There are concerns about illegal provision of signals.

そこで、出願人は、電源リセット時においても遊技機毎に電源リセットタイミングを変えた遊技機の構成を提案している。具体的には、電源リセット信号を生成する受動素子や能動素子の特性上のバラツキを活用することで、電源リセット動作のランダム化を図っている。   Therefore, the applicant has proposed a configuration of a gaming machine in which the power reset timing is changed for each gaming machine even when the power is reset. Specifically, the power reset operation is randomized by utilizing variations in the characteristics of the passive elements and active elements that generate the power reset signal.

特開2008−295492号公報JP 2008-295492 A

しかしながら、上記の構成を採った場合にも、個々の遊技機が持っているクセ、つまり、電源リセット動作の特性は、何回かの違法行為の繰り返しによって明らかとなるので、対策として完全とまでは言えない。   However, even in the case of adopting the above configuration, the characteristics of individual gaming machines, that is, the characteristics of the power reset operation, will be clarified by repeated illegal actions several times. I can't say that.

本発明は、上記の問題点に鑑みてなされたものであって、電源リセット動作を悪用する違法行為を確実に排除できる遊技機を提供することを目的とする。   The present invention has been made in view of the above-described problems, and an object of the present invention is to provide a gaming machine that can reliably eliminate an illegal act of misusing a power reset operation.

上記の目的を達成するため、本発明は、所定の遊技動作の発生を示す検出信号に起因して抽選処理を実行し、遊技者に有利な遊技状態を発生させるか否かを決定する遊技機であって、前記抽選処理は、計数動作を禁止可能なカウンタのカウンタ値を取得し、この取得値を当選値と比較して実行され、電源投入後において、前記カウンタの計数動作が禁止される時間は、電源遮断後も動作可能な記憶回路に記憶されたランダム情報に基づいて設定されるよう構成されたことを特徴とする。   In order to achieve the above object, the present invention executes a lottery process based on a detection signal indicating the occurrence of a predetermined gaming operation, and determines whether or not to generate a gaming state advantageous to the player The lottery process is executed by acquiring a counter value of a counter capable of prohibiting the counting operation and comparing the acquired value with the winning value, and the counting operation of the counter is prohibited after the power is turned on. The time is configured to be set based on random information stored in a memory circuit operable even after the power is shut off.

前記カウンタは、好ましくは、動作禁止信号が禁止レベルでない限り、計数クロックに同期して計数動作を実行するよう構成され、保持指令を受けると前記カウンタのカウンタ値を記憶するラッチ回路と、読出指令を受けると前記ラッチ回路が記憶している前記カウンタ値を出力する出力回路とを、前記カウンタの後段側に設けられる。   Preferably, the counter is configured to execute a counting operation in synchronization with a counting clock unless the operation prohibiting signal is at a prohibiting level, and receives a holding command, a latch circuit that stores the counter value of the counter, and a read command And an output circuit for outputting the counter value stored in the latch circuit is provided on the rear stage side of the counter.

また、前記カウンタの計数動作が禁止される時間は、好ましくは、コンデンサと抵抗とで構成された充電回路におけるコンデンサの充電時間で規定される。   The time during which the counting operation of the counter is prohibited is preferably defined by the capacitor charging time in the charging circuit composed of the capacitor and the resistor.

また、本発明は、前記カウンタの計数動作が禁止される時間を規定する始動回路を設け、前記始動回路は、Nビット長のランダム情報に対応して配置されたN個のコンデンサと、N個のコンデンサに各々直列接続されたN個のスイッチ回路と、N個のスイッチ回路に直流電圧を供給する給電部と、を有して構成されているのが好ましい。   Further, the present invention provides a starting circuit that defines a time during which the counting operation of the counter is prohibited, and the starting circuit includes N capacitors arranged corresponding to N-bit random information, and N capacitors It is preferable to have N switch circuits connected in series to each of the capacitors and a power supply unit that supplies a DC voltage to the N switch circuits.

また、前記記憶回路は、好ましくは、交流電源が遮断されたことに基づいて、前記計数クロック、及び/又は、前記カウンタの桁上げ信号を取得して記憶するよう構成されているか、或いは、前記カウンタのカウンタ値を取得されたことに基づいて、前記カウンタ値の一部を取得して記憶するよう構成されるのが好ましい。   Also, the storage circuit is preferably configured to acquire and store the count clock and / or the carry signal of the counter based on the fact that the AC power supply is cut off, or It is preferable that a part of the counter value is acquired and stored based on the acquisition of the counter value of the counter.

ここで、前記カウンタは、電源投入時に他の回路基板からリセット信号を受けることなく電源リセットされるのが防犯上好ましい。   Here, it is preferable for crime prevention that the counter is reset without receiving a reset signal from another circuit board when the power is turned on.

前記保持指令は、遊技媒体が所定の入賞口に入賞したことに基づいて出力されるか、或いは、遊技者の遊技動作に基づいて出力されるのが典型的である。何れにしても、前記保持指令は、前記計数クロックの一方エッジに同期するよう波形整形されるのが好ましく、前記カウンタは、前記計数クロックの他方エッジに同期して更新されるのが好ましい。   Typically, the holding command is output based on a game medium having won a predetermined winning opening, or is output based on a player's gaming operation. In any case, it is preferable that the hold command is waveform-shaped so as to be synchronized with one edge of the counting clock, and the counter is preferably updated in synchronization with the other edge of the counting clock.

上記した本発明によれば、電源リセット動作を悪用する違法行為を確実に排除することができる。   According to the present invention described above, illegal acts that abuse the power reset operation can be reliably eliminated.

実施例に示すパチンコ機の斜視図である。It is a perspective view of the pachinko machine shown in an example. 図1のパチンコ機の遊技盤を詳細に図示した正面図である。It is the front view which illustrated in detail the game board of the pachinko machine of FIG. 図1のパチンコ機の全体構成を示すブロック図である。It is a block diagram which shows the whole structure of the pachinko machine of FIG. 電源基板の回路構成を示す回路図である。It is a circuit diagram which shows the circuit structure of a power supply board. 主制御部と払出制御部のリセット回路の回路図である。It is a circuit diagram of the reset circuit of a main control part and a payout control part. 電源監視部とリセット回路の動作を示すタイミングチャートである。It is a timing chart which shows operation | movement of a power supply monitoring part and a reset circuit. 乱数生成回路の回路例を示す回路図である。It is a circuit diagram which shows the circuit example of a random number generation circuit. カウンタ回路の動作を説明するタイミングチャートである。It is a timing chart explaining operation | movement of a counter circuit. カウンタICの内部回路を示す回路図である。It is a circuit diagram which shows the internal circuit of counter IC. 主制御部のシステムリセット処理を説明するフローチャートである。It is a flowchart explaining the system reset process of a main control part. 主制御部のタイマ割込み処理を説明するフローチャートである。It is a flowchart explaining the timer interruption process of a main control part. 乱数生成回路の変形回路例を示す回路図である。It is a circuit diagram which shows the modification circuit example of a random number generation circuit. 図7の乱数生成回路を改善した回路例を示す回路図である。FIG. 8 is a circuit diagram illustrating a circuit example in which the random number generation circuit of FIG. 7 is improved. 図13の回路動作を説明するタイミングチャートである。14 is a timing chart for explaining the circuit operation of FIG. 13.

以下、本発明の実施例について詳細に説明する。図1は、本実施例のパチンコ機GMを示す斜視図である。このパチンコ機GMは、島構造体に着脱可能に装着される矩形枠状の木製外枠1と、外枠1に固着されたヒンジ2を介して開閉可能に枢着される前枠3とで構成されている。この前枠3には、遊技盤5が、裏側からではなく表側から着脱自在に装着され、その前側には、ガラス扉6と前面板7とが夫々開閉自在に枢着されている。   Examples of the present invention will be described in detail below. FIG. 1 is a perspective view showing a pachinko machine GM of the present embodiment. This pachinko machine GM includes a rectangular frame-shaped wooden outer frame 1 that is detachably mounted on an island structure, and a front frame 3 that is pivotably mounted via a hinge 2 fixed to the outer frame 1. It is configured. A game board 5 is detachably attached to the front frame 3 from the front side rather than from the back side, and a glass door 6 and a front plate 7 are pivotally attached to the front side so as to be openable and closable.

ガラス扉6の外周には、LEDランプなどによる電飾ランプが、略C字状に配置されている。前面板7には発射用の遊技球を貯留する上皿8が装着され、前枠3の下部には、上皿8から溢れ出し又は抜き取った遊技球を貯留する下皿9と、発射ハンドル10とが設けられている。発射ハンドル10は発射モータと連動しており、発射ハンドル10の回動角度に応じて動作する打撃槌によって遊技球が発射される。   On the outer periphery of the glass door 6, an electric lamp such as an LED lamp is arranged in a substantially C shape. An upper plate 8 for storing game balls for launch is mounted on the front plate 7, and a lower plate 9 for storing game balls overflowing from or extracted from the upper plate 8 and a launch handle 10 are mounted at the bottom of the front frame 3. And are provided. The launch handle 10 is interlocked with the launch motor, and a game ball is launched by a striking rod that operates according to the rotation angle of the launch handle 10.

上皿8の外周面には、チャンスボタン11が設けられている。このチャンスボタン11は、遊技者の左手で操作できる位置に設けられており、遊技者は、発射ハンドル10から右手を離すことなくチャンスボタン11を操作できる。このチャンスボタン11は、通常時には機能していないが、ゲーム状態がボタンチャンス状態となると内蔵ランプが点灯されて操作可能となる。なお、ボタンチャンス状態は、必要に応じて設けられるゲーム状態である。   A chance button 11 is provided on the outer peripheral surface of the upper plate 8. The chance button 11 is provided at a position where it can be operated with the left hand of the player, and the player can operate the chance button 11 without releasing the right hand from the firing handle 10. The chance button 11 does not function normally, but when the game state becomes the button chance state, the built-in lamp is turned on and can be operated. The button chance state is a game state provided as necessary.

上皿8の右部には、カード式球貸し機に対する球貸し操作用の操作パネル12が設けられ、カード残額を3桁の数字で表示する度数表示部と、所定金額分の遊技球の球貸しを指示する球貸しスイッチと、ゲーム終了時にカードの返却を指令する返却スイッチとが設けられている。   On the right side of the upper plate 8, an operation panel 12 for ball lending operation with respect to the card-type ball lending machine is provided, a frequency display unit for displaying the remaining amount of the card with a three-digit number, and a ball of game balls for a predetermined amount A ball lending switch for instructing lending and a return switch for instructing to return the card at the end of the game are provided.

図2に示すように、遊技盤5には、金属製の外レールと内レールとからなるガイドレール13が環状に設けられ、その内側の遊技領域5aの略中央には、液晶カラーディスプレイである表示装置DISPが配置されている。また、遊技領域5aの適所には、図柄始動口15、大入賞口16、複数個の普通入賞口17(大入賞口16の左右に4つ)、通過口であるゲート18が配設されている。これらの入賞口15〜18は、それぞれ内部に検出スイッチを有しており、遊技球の通過を検出できるようになっている。   As shown in FIG. 2, the game board 5 is provided with a guide rail 13 formed of a metal outer rail and an inner rail in an annular shape, and a liquid crystal color display is provided at the approximate center of the game area 5a inside. A display device DISP is arranged. In addition, at a suitable place in the game area 5a, a symbol start opening 15, a big winning opening 16, a plurality of normal winning openings 17 (four on the right and left of the large winning opening 16), and a gate 18 serving as a passing opening are arranged. Yes. Each of these winning openings 15 to 18 has a detection switch inside, and can detect the passage of a game ball.

表示装置DISPは、大当り状態に係わる特定図柄を変動表示すると共に背景画像や各種のキャラクタなどをアニメーション的に表示する。この表示装置DISPは、中央部に特別図柄表示部Da〜Dcと右上部に普通図柄表示部19を有している。そして、特別図柄表示部Da〜Dcでは、大当り状態の招来を期待させるリーチ演出が実行されたり、特別図柄表示部Da〜Dc及びその周りでは、当否結果を不確定に報知する予告演出などが実行される。   The display device DISP variably displays a specific symbol related to the big hit state and also displays a background image, various characters, and the like in an animated manner. This display device DISP has a special symbol display part Da to Dc in the center and a normal symbol display part 19 in the upper right part. And, in the special symbol display parts Da to Dc, a reach effect that expects the invitation of a big hit state is executed, or in the special symbol display parts Da to Dc and the surroundings, a notice effect that informs the result of the success or failure is executed. Is done.

普通図柄表示部19は普通図柄を表示するものであり、ゲート18を通過した遊技球が検出されると、普通図柄が所定時間だけ変動し、遊技球のゲート18の通過時点において抽出された抽選用乱数値により決定される停止図柄を表示して停止するようになっている。   The normal symbol display unit 19 displays a normal symbol. When a game ball that has passed through the gate 18 is detected, the normal symbol fluctuates for a predetermined time, and the lottery extracted at the time when the game ball passes through the gate 18 is extracted. The stop symbol determined by the random number for use is displayed and stopped.

図柄始動口15は、左右1対の開閉爪15aを備えた電動式チューリップで開閉されるよう例えば構成され、普通図柄表示部19の変動後の停止図柄が当り図柄を表示した場合には、開閉爪15aが所定時間だけ、若しくは、所定個数の遊技球を検出するまで開放されるようになっている。   For example, the symbol start opening 15 is configured to be opened and closed by an electric tulip having a pair of left and right opening and closing claws 15a. When the stop symbol after the fluctuation of the normal symbol display unit 19 displays a winning symbol, the symbol start port 15 is opened and closed. The claw 15a is opened only for a predetermined time or until a predetermined number of game balls are detected.

図柄始動口15に遊技球が入賞すると、特別図柄表示部Da〜Dcの表示図柄が所定時間だけ変動し、図柄始動口15への遊技球の入賞タイミングに応じた抽選結果に基づいて決定される停止図柄で停止する。なお、特別図柄表示部Da〜Dc及びその周りでは、一連の図柄演出の間に、予告演出が実行される場合がある。   When a game ball wins the symbol start port 15, the display symbols of the special symbol display portions Da to Dc change for a predetermined time and are determined based on the lottery result corresponding to the winning timing of the game ball to the symbol start port 15. Stop at the stop symbol. In addition, in special symbol display parts Da-Dc and its circumference, a notice effect may be performed between a series of symbol effects.

大入賞口16は、例えば前方に開放可能な開閉板16aで開閉制御されるが、特別図柄表示部Da〜Dcの図柄変動後の停止図柄が「777」などの大当り図柄のとき、「大当りゲーム」と称する特別遊技が開始され、開閉板16aが開放されるようになっている。   The big winning opening 16 is controlled to open and close by, for example, an opening / closing plate 16a that can be opened forward, but when the stop symbol after the symbol change of the special symbol display portions Da to Dc is a big hit symbol such as “777”, the “big hit game” Is started, and the opening / closing plate 16a is opened.

大入賞口16の開閉板16aが開放された後、所定時間が経過し、又は所定数(例えば10個)の遊技球が入賞すると開閉板16aが閉じる。このような動作は、最大で例えば15回まで特別遊技が継続され、遊技者に有利な状態に制御される。なお、特別図柄表示部Da〜Dcの変動後の停止図柄が特別図柄のうちの特定図柄であった場合には、特別遊技の終了後のゲームが高確率状態となるという特典が付与される。   After the opening / closing plate 16a of the big prize opening 16 is opened, the opening / closing plate 16a is closed when a predetermined time elapses or when a predetermined number (for example, 10) of game balls wins. In such an operation, the special game is continued up to 15 times, for example, and is controlled in a state advantageous to the player. In addition, when the stop symbol after the change of the special symbol display parts Da to Dc is a specific symbol of the special symbols, a privilege that the game after the end of the special game is in a high probability state is given.

図3は、上記した各動作を実現するパチンコ機GMの全体回路構成を示すブロック図である。図中の一点破線は、主に、直流電圧ラインを示している。   FIG. 3 is a block diagram showing an overall circuit configuration of the pachinko machine GM that realizes the above-described operations. A dashed line in the figure mainly indicates a DC voltage line.

図示の通り、このパチンコ機GMは、AC24Vを受けて各種の直流電圧や、電源異常信号ABN1、ABN2やシステムリセット信号(電源リセット信号)SYSなどを出力する電源基板20と、遊技制御動作を中心統括的に担う主制御基板21と、主制御基板21から受けた制御コマンドCMDに基づいてランプ演出及び音声演出を実行する演出制御基板22と、演出制御基板22から受けた制御コマンドCMD’に基づいて表示装置DISPを駆動する画像制御基板23と、主制御基板21から受けた制御コマンドCMD”に基づいて払出モータMを制御して遊技球を払い出す払出制御基板24と、遊技者の操作に応答して遊技球を発射させる発射制御基板25と、を中心に構成されている。   As shown in the figure, this pachinko machine GM mainly receives a 24V AC and outputs various DC voltages, power supply abnormality signals ABN1, ABN2, a system reset signal (power reset signal) SYS, and the like, and a game control operation. Based on the main control board 21 that performs overall control, the effect control board 22 that executes the lamp effect and the sound effect based on the control command CMD received from the main control board 21, and the control command CMD ′ received from the effect control board 22 The image control board 23 for driving the display device DISP, the payout control board 24 for controlling the payout motor M based on the control command CMD "received from the main control board 21, and paying out the game balls. It is mainly composed of a launch control board 25 that responds and launches a game ball.

但し、この実施例では、主制御基板21が出力する制御コマンドCMDは、コマンド中継基板26と演出インタフェイス基板27を経由して、演出制御基板22に伝送される。また、演出制御基板22が出力する制御コマンドCMD’は、演出インタフェイス基板27を経由して、画像制御基板23に伝送され、主制御基板21が出力する制御コマンドCMD”は、主基板中継基板28を経由して、払出制御基板24に伝送される。   However, in this embodiment, the control command CMD output from the main control board 21 is transmitted to the effect control board 22 via the command relay board 26 and the effect interface board 27. Further, the control command CMD ′ output from the effect control board 22 is transmitted to the image control board 23 via the effect interface board 27, and the control command CMD ″ output from the main control board 21 is the main board relay board. It is transmitted to the payout control board 24 via 28.

これら主制御基板21、演出制御基板22、画像制御基板23、及び払出制御基板24には、ワンチップマイコンを備えるコンピュータ回路がそれぞれ搭載されている。そこで、これらの制御基板21〜24に搭載された回路、及びその回路によって実現される動作を機能的に総称して、本明細書では、主制御部21、演出制御部22、画像制御部23、及び払出制御部24と言うことがある。なお、演出制御部22、画像制御部23、及び払出制御部24の全部又は一部がサブ制御部である。   The main control board 21, the effect control board 22, the image control board 23, and the payout control board 24 are each equipped with a computer circuit including a one-chip microcomputer. Thus, the circuits mounted on the control boards 21 to 24 and the operations realized by the circuits are collectively referred to as a function. In this specification, the main control unit 21, the effect control unit 22, and the image control unit 23 are used. , And the payout control unit 24. All or part of the effect control unit 22, the image control unit 23, and the payout control unit 24 is a sub-control unit.

ところで、このパチンコ機GMは、図3の破線で囲む枠側部材GM1と、遊技盤5の背面に固定された盤側部材GM2とに大別されている。枠側部材GM1には、ガラス扉6や前面板7が枢着された前枠3と、その外側の木製外枠1とが含まれており、機種の変更に拘わらず、長期間にわたって遊技ホールに固定的に設置される。一方、盤側部材GM2は、機種変更に対応して交換され、新たな盤側部材GM2が、元の盤側部材の代わりに枠側部材GM1に取り付けられる。なお、枠側部材1を除く全てが、盤側部材GM2である。   By the way, the pachinko machine GM is roughly divided into a frame side member GM1 surrounded by a broken line in FIG. 3 and a board side member GM2 fixed to the back of the game board 5. The frame side member GM1 includes a front frame 3 on which a glass door 6 and a front plate 7 are pivotally attached, and a wooden outer frame 1 on the outside thereof. Is fixedly installed. On the other hand, the board side member GM2 is replaced in response to the model change, and a new board side member GM2 is attached to the frame side member GM1 instead of the original board side member. All except the frame side member 1 is the panel side member GM2.

図3の破線枠に示す通り、枠側部材GM1には、電源基板20と、払出制御基板24と、発射制御基板25と、枠中継基板32とが含まれており、これらの回路基板が、前枠3の適所に各々固定されている。一方、遊技盤5の背面には、主制御基板21、演出制御基板22、画像制御基板23が、表示装置DISPやその他の回路基板と共に固定されている。そして、枠側部材GM1と盤側部材GM2とは、一箇所に集中配置された接続コネクタC1〜C4によって電気的に接続されている。   As shown in the broken line frame in FIG. 3, the frame-side member GM1 includes a power supply board 20, a payout control board 24, a launch control board 25, and a frame relay board 32, and these circuit boards are Each is fixed in place on the front frame 3. On the other hand, on the back of the game board 5, a main control board 21, an effect control board 22, and an image control board 23 are fixed together with the display device DISP and other circuit boards. And the frame side member GM1 and the board | substrate side member GM2 are electrically connected by the connection connectors C1-C4 concentratedly arranged in one place.

電源基板20は、接続コネクタC2を通して、主基板中継基板28に接続され、接続コネクタC3を通して、電源中継基板30に接続されている。そして、主基板中継基板28は、電源基板20から受けた電源異常信号ABN1、バックアップ電源BAK、及びDC5V,DC12V,DC32Vを、そのまま主制御部21に出力している。一方、電源中継基板30は、電源基板20から受けたシステムリセット信号SYSや、交流及び直流の電源電圧を、そのまま演出インタフェイス基板27に出力している。なお、演出インタフェイス基板27は、受けたシステムリセット信号SYSを、そのまま演出制御部22と画像制御部23に出力している。   The power supply board 20 is connected to the main board relay board 28 through the connection connector C2, and is connected to the power supply relay board 30 through the connection connector C3. The main board relay board 28 outputs the power supply abnormality signal ABN1, the backup power supply BAK, and DC5V, DC12V, and DC32V received from the power supply board 20 to the main control unit 21 as they are. On the other hand, the power relay board 30 outputs the system reset signal SYS received from the power board 20 and the AC and DC power supply voltages to the effect interface board 27 as they are. The production interface board 27 outputs the received system reset signal SYS to the production control unit 22 and the image control unit 23 as they are.

一方、払出制御基板24は、中継基板を介することなく、電源基板20に直結されており、主制御部21が受けると同様の電源異常信号ABN2や、バックアップ電源BAKを、その他の電源電圧と共に直接的に受けている。   On the other hand, the payout control board 24 is directly connected to the power supply board 20 without going through the relay board, and directly receives the same power abnormality signal ABN2 and backup power supply BAK as the main control unit 21 receives together with other power supply voltages. Is receiving.

電源基板20が出力するシステムリセット信号SYSは、電源基板20に交流電源24Vが投入されたことを示す電源リセット信号であり、この電源リセット信号によって演出制御部22と画像制御部23のワンチップマイコンは、その他のIC素子と共に電源リセットされるようになっている。   The system reset signal SYS output from the power supply board 20 is a power supply reset signal indicating that the AC power supply 24V has been turned on to the power supply board 20, and the one-chip microcomputer of the effect control unit 22 and the image control unit 23 by this power supply reset signal. The power is reset together with other IC elements.

但し、このシステムリセット信号SYSは、主制御部21と払出制御部24には、供給されておらず、各々の回路基板21,24のリセット回路RSTにおいて電源リセット信号(CPUリセット信号)が生成されている。そのため、例えば、接続コネクタC2がガタついたり、或いは、配線ケーブルにノイズが重畳しても、主制御部21や払出制御部24のCPUが異常リセットされるおそれはない。なお、演出制御部22と画像制御部23は、主制御部21からの制御コマンドに基づいて、従属的に演出動作を実行することから、回路構成の複雑化を回避するために、電源基板20から出力されるシステムリセット信号SYSを利用している。   However, the system reset signal SYS is not supplied to the main control unit 21 and the payout control unit 24, and a power reset signal (CPU reset signal) is generated in the reset circuit RST of each of the circuit boards 21 and 24. ing. Therefore, for example, even if the connection connector C2 is rattled or noise is superimposed on the wiring cable, there is no possibility that the CPU of the main control unit 21 or the payout control unit 24 is abnormally reset. The effect control unit 22 and the image control unit 23 execute the effect operation in a dependent manner based on the control command from the main control unit 21, so that the power supply board 20 is avoided in order to avoid complication of the circuit configuration. The system reset signal SYS output from is used.

また、この実施例では、RAMクリア信号CLRは、主制御部21で生成されて主制御部21と払出制御部24のワンチップマイコンに伝送されている。ここで、RAMクリア信号CLRは、各制御部21,24のワンチップマイコンの内蔵RAMの全領域を初期設定するか否かを決定する信号であって、係員が操作する初期化スイッチSWのON/OFF状態に対応した値を有している。   In this embodiment, the RAM clear signal CLR is generated by the main control unit 21 and transmitted to the one-chip microcomputer of the main control unit 21 and the payout control unit 24. Here, the RAM clear signal CLR is a signal for deciding whether or not to initialize all the areas of the built-in RAM of the one-chip microcomputer of each control unit 21 and 24. The initialization switch SW operated by the attendant is turned on. It has a value corresponding to the / OFF state.

主制御部21及び払出制御部24が、電源基板20から受ける電源異常信号ABN1,ABN2は、交流入力電源AC24Vが降下し始めたことを示す信号であり、この電源異常信号ABN1,ABN2を受けることによって、各制御部21、24では、停電や営業終了に先立って、必要な終了処理を開始するようになっている。また、バックアップ電源BAKは、営業終了や停電により交流電源24Vが遮断された後も、主制御部21と払出制御部24のワンチップマイコンの内蔵RAMのデータを保持するDC5Vの直流電源である。したがって、主制御部21と払出制御部25は、電源遮断前の遊技動作を電源投入後に再開できることになる(電源バックアップ機能)。このパチンコ機では少なくとも数日は、各ワンチップマイコンのRAMの記憶内容が保持されるよう設計されている。   The power supply abnormality signals ABN1 and ABN2 received from the power supply board 20 by the main control unit 21 and the payout control unit 24 are signals indicating that the AC input power supply AC24V starts to drop, and receive the power supply abnormality signals ABN1 and ABN2. Thus, the control units 21 and 24 start necessary termination processing prior to a power failure or business termination. The backup power supply BAK is a DC5V DC power source that retains data in the RAM of the one-chip microcomputer of the main control unit 21 and the payout control unit 24 even after the AC power supply 24V is shut off due to business termination or power failure. Therefore, the main control unit 21 and the payout control unit 25 can resume the game operation before power-off after power-on (power backup function). This pachinko machine is designed to retain the stored contents of the RAM of each one-chip microcomputer for at least several days.

図3に示す通り、主制御部21は、主基板中継基板28を経由して、払出制御部25に制御コマンドCMD”を送信する一方、払出制御部25からは、遊技球の払出動作を示す賞球計数信号や、払出動作の異常に係わるステイタス信号CONを受信している。ステイタス信号CONには、例えば、補給切れ信号、払出不足エラー信号、下皿満杯信号が含まれる。   As shown in FIG. 3, the main control unit 21 transmits a control command CMD ″ to the payout control unit 25 via the main board relay board 28, while the payout control unit 25 indicates a game ball payout operation. A prize ball counting signal and a status signal CON related to an abnormality in the payout operation are received, and the status signal CON includes, for example, a replenishment signal, a payout shortage error signal, and a lower plate full signal.

また、主制御部21は、遊技盤中継基板29を経由して、遊技盤5の各遊技部品に接続されている。そして、遊技盤上の各入賞口16〜18に内蔵された検出スイッチのスイッチ信号を受ける一方、電動チューリップなどのソレノイド類を駆動している。ソレノイド類や検出スイッチは、主制御部21から給電された電源電圧VB(12V)で動作するよう構成されている。そして、図柄始動口15への入賞状態などを示す各スイッチ信号は、電源電圧VB(12V)と電源電圧Vcc(5V)とで動作するインタフェイスICで、TTLレベルのスイッチ信号に変換された上で、主制御部21に伝送される。   The main control unit 21 is connected to each game component of the game board 5 via the game board relay board 29. And while receiving the switch signal of the detection switch built in each winning opening 16-18 on a game board, solenoids, such as an electric tulip, are driven. The solenoids and the detection switch are configured to operate with a power supply voltage VB (12 V) supplied from the main control unit 21. Each switch signal indicating a winning state to the symbol starting port 15 is converted to a TTL level switch signal by an interface IC that operates with the power supply voltage VB (12 V) and the power supply voltage Vcc (5 V). Then, the data is transmitted to the main control unit 21.

図4は、電源基板20の電源回路を示す回路図である。この電源回路は、演出インタフェイス基板27に供給される直流電圧を生成する第二電源部SDと、主制御部21と払出制御部24に供給される直流電圧を生成する第一電源部FRと、電源投入と電源遮断とを監視する電源監視部MNTと、過大な交流電圧を受けるとグランドラインを遮断する電源遮断部CUTと、を有して構成されている。なお、払出制御部24に供給される他の直流電圧(DC32V)や、演出インタフェイス基板27に供給される他の直流電圧(DC32V,DC15V)については、図示を省略している。   FIG. 4 is a circuit diagram showing a power supply circuit of the power supply board 20. This power supply circuit includes a second power supply unit SD that generates a DC voltage supplied to the production interface board 27, and a first power supply unit FR that generates a DC voltage supplied to the main control unit 21 and the payout control unit 24. A power monitoring unit MNT that monitors power-on and power-off, and a power-cut-off unit CUT that cuts off the ground line when an excessive AC voltage is received. Note that illustration of other DC voltages (DC 32 V) supplied to the payout control unit 24 and other DC voltages (DC 32 V, DC 15 V) supplied to the production interface board 27 is omitted.

<第二電源部SD>
第二電源部SDは、ダイオードD1〜D4による全波整流回路と、平滑コンデンサC1と、直流電圧VB(12V)を生成するDC−DCコンバータと、直流電圧Vcc(5V)を生成するDC−DCコンバータと、平滑コンデンサC2,C3とを有して構成されている。2つのDC−DCコンバータは、何れもチョッパ型であり、平滑コンデンサC1を共通的に受けて動作している。第二電源部SDで生成された直流電圧は、演出インタフェイス基板27に伝送された後、適宜に降圧されて、演出インタフェイス基板27と、演出制御基板22と、画像制御基板23とで使用される。
<Second power supply unit SD>
The second power supply unit SD includes a full-wave rectifier circuit including diodes D1 to D4, a smoothing capacitor C1, a DC-DC converter that generates a DC voltage VB (12V), and a DC-DC that generates a DC voltage Vcc (5V). The converter includes smoothing capacitors C2 and C3. Each of the two DC-DC converters is a chopper type, and operates in common with the smoothing capacitor C1. The direct-current voltage generated by the second power supply unit SD is transmitted to the effect interface board 27 and then stepped down as appropriate to be used by the effect interface board 27, the effect control board 22, and the image control board 23. Is done.

<第一電源部FR>
第一電源部FRは、ダイオードD1,D2,D5,D6による全波整流回路と、平滑コンデンサC4と、直流電圧VB(12V)を生成するDC−DCコンバータと、直流電圧Vcc(5V)を生成するDC−DCコンバータと、平滑コンデンサC5,C6と、ダイオードD7及びコンデンサCbとで構成された蓄電部BKとを有して構成されている。この2つのDC−DCコンバータも、チョッパ型であり、平滑コンデンサC4を共通的に受けて動作している。また、蓄電部BKで生成された直流電圧は、主制御部21と払出制御部24のワンチップマイコンの内蔵RAMのデータを保持するバックアップ電源BAKとなる。
<First power supply FR>
The first power supply unit FR generates a full-wave rectifier circuit using diodes D1, D2, D5, and D6, a smoothing capacitor C4, a DC-DC converter that generates a DC voltage VB (12V), and a DC voltage Vcc (5V). The power storage unit BK is configured by a DC-DC converter, smoothing capacitors C5 and C6, a diode D7, and a capacitor Cb. These two DC-DC converters are also of a chopper type and operate in common with the smoothing capacitor C4. The DC voltage generated by the power storage unit BK serves as a backup power supply BAK that holds data in the built-in RAM of the one-chip microcomputer of the main control unit 21 and the payout control unit 24.

第一電源部FRで生成された直流電圧VBと直流電圧Vccは、主制御部21と払出制御部24だけに供給されており、演出インタフェイス基板27に伝送される直流電圧とは配線上で区別されている。そのため、主制御部21や払出制御部24が、他のサブ制御部22,23と電源ラインを経由して接続されることがなく、高周波ノイズなどの伝送が阻止される。   The DC voltage VB and the DC voltage Vcc generated by the first power supply unit FR are supplied only to the main control unit 21 and the payout control unit 24, and the DC voltage transmitted to the effect interface board 27 is on the wiring. It is distinguished. Therefore, the main control unit 21 and the payout control unit 24 are not connected to the other sub-control units 22 and 23 via the power line, and transmission of high-frequency noise and the like is prevented.

なお、主制御部21や払出制御部24での総電流は、最大でも、電源電圧VBラインで600mAを超えることがなく、また、電源電圧Vccラインでも300mAを超えることがないので、各電源電圧VB,Vccの給電ラインの電圧降下は、全く問題にならない。   The total current in the main control unit 21 and the payout control unit 24 does not exceed 600 mA on the power supply voltage VB line and does not exceed 300 mA on the power supply voltage Vcc line. The voltage drop of the VB and Vcc power supply lines is not a problem at all.

<電源遮断部CUT>
電源遮断部CUTは、交流電圧AC24Vから所定レベルの直流電圧を生成する整流部51と、交流電源ラインLN1,LN2の過電圧時にON動作する交流監視部52と、交流監視部52のON動作に対応してOFF動作するスイッチ回路53と、を有して構成されている。
<Power cutoff unit CUT>
The power cut-off unit CUT corresponds to the rectifying unit 51 that generates a DC voltage of a predetermined level from the AC voltage AC24V, the AC monitoring unit 52 that is turned on when the AC power supply lines LN1 and LN2 are overvoltage, and the AC monitoring unit 52 that is turned on. And a switch circuit 53 that performs an OFF operation.

整流部51は、交流電源ラインLN2から交流電圧を受けるダイオードD12と、電流制限抵抗R1と、コンデンサC8及びツェナーダイオードZD2の並列回路と、が直列に接続されて構成されている。そして、正常時には、コンデンサC8の両端電圧は、ツェナーダイオードZD2の降伏電圧に一定化されている。   The rectifier 51 includes a diode D12 that receives an AC voltage from the AC power supply line LN2, a current limiting resistor R1, and a parallel circuit of a capacitor C8 and a Zener diode ZD2, which are connected in series. During normal operation, the voltage across the capacitor C8 is constant at the breakdown voltage of the Zener diode ZD2.

スイッチ回路53は、大電流容量のMOSトランジスタQ2と、コンデンサC8に並列接続されたバイアス抵抗R5と、を有して構成されている。ここで、トランジスタQ2は、コンデンサC8の両端電圧が所定レベルである限り、ON状態であって、遊技機の全回路のグランドラインとフレームグランドFGとを接続状態にしている。   The switch circuit 53 includes a MOS transistor Q2 having a large current capacity and a bias resistor R5 connected in parallel to the capacitor C8. Here, the transistor Q2 is in an ON state as long as the voltage across the capacitor C8 is at a predetermined level, and connects the ground line of all the circuits of the gaming machine and the frame ground FG.

交流監視部52は、交流電源ラインLN1,LN2に接続された2つのダイオードD8,D9と、ダイオードD8,D9の接続点に接続されたツェナーダイオードZD1と、バイアス抵抗R2,R3及びコンデンサC7の並列回路と、バイアス抵抗R3の両端電圧が上昇するとON動作するトランジスタQ1と、トランジスタQ1の電流制限抵抗R4とを有して構成されている。   The AC monitoring unit 52 includes two diodes D8 and D9 connected to the AC power supply lines LN1 and LN2, a Zener diode ZD1 connected to the connection point of the diodes D8 and D9, a bias resistor R2 and R3, and a capacitor C7 in parallel. The circuit includes a transistor Q1 that is turned on when the voltage across the bias resistor R3 increases, and a current limiting resistor R4 of the transistor Q1.

ツェナーダイオードZD1は、通常は、OFF状態であるが、交流電源ラインLN1,LN2に過大な交流電圧(例えばAC100V)が加わると、降伏状態となる。この降伏状態では、バイアス抵抗R3の両端電圧が上昇してトランジスタQ1がON動作することでコンデンサC8の両端電圧が降下する。   Zener diode ZD1 is normally in an OFF state, but when an excessive AC voltage (for example, AC 100V) is applied to AC power supply lines LN1 and LN2, it enters a breakdown state. In this breakdown state, the voltage at both ends of the bias resistor R3 increases and the transistor Q1 is turned on, so that the voltage at both ends of the capacitor C8 decreases.

すると、それまでON状態であったトランジスタQ2がOFF遷移することで、回路グランドとフレームグランドFGとが非接続となって、全ての遊技機の全ての電源電圧が遮断状態となる。電源遮断部CUTの動作内容は、以上の通りであり、交流電源ラインLN1,LN2の両端電圧が限界値を超えると、全ての遊技機の全ての電源電圧を一気に遮断する機能を果たしている。   Then, the transistor Q2 that has been in the ON state until then is turned OFF, whereby the circuit ground and the frame ground FG are disconnected, and all the power supply voltages of all the gaming machines are cut off. The operation content of the power cut-off unit CUT is as described above. When the voltage across the AC power supply lines LN1 and LN2 exceeds the limit value, the power cut-off unit CUT functions to cut off all the power supply voltages of all the gaming machines at once.

<電源監視部MNT>
次に、電源監視部MNTについて説明する。電源監視部MNTは、交流電源ラインLN1,LN2の電圧レベルを監視する給電監視部54と、電源電圧Vccを受けて比較基準電圧Voを出力する比較電圧部55と、給電監視部54と比較電圧部55の出力電圧を対比して電源異常を検出する異常検出部56と、システムリセット信号SYSを生成する電源リセット部57と、を有して構成されている。
<Power supply monitoring unit MNT>
Next, the power supply monitoring unit MNT will be described. The power supply monitoring unit MNT includes a power supply monitoring unit 54 that monitors the voltage levels of the AC power supply lines LN1 and LN2, a comparison voltage unit 55 that receives the power supply voltage Vcc and outputs a comparison reference voltage Vo, and a power supply monitoring unit 54. An abnormality detection unit 56 that detects a power supply abnormality by comparing output voltages of the unit 55 and a power supply reset unit 57 that generates a system reset signal SYS are configured.

[給電監視部54]
給電監視部54は、交流電源ラインLN1,LN2に接続された2つのダイオードD10,D11と、ダイオードD10,D11の接続点に接続された抵抗R6及びツェナーダイオードZD3の直列回路と、ツェナーダイオードZD3に並列接続されたダイオードD13及び平滑コンデンサC9の直列回路と、平滑コンデンサC9に並列接続された抵抗R7,R8の直列回路と、抵抗R8を短絡させるコンパレータA3と、を有して構成されている。
[Power supply monitoring unit 54]
The power supply monitoring unit 54 includes two diodes D10 and D11 connected to the AC power supply lines LN1 and LN2, a series circuit of a resistor R6 and a Zener diode ZD3 connected to a connection point of the diodes D10 and D11, and a Zener diode ZD3. A series circuit of a diode D13 and a smoothing capacitor C9 connected in parallel, a series circuit of resistors R7 and R8 connected in parallel to the smoothing capacitor C9, and a comparator A3 that short-circuits the resistor R8 are configured.

この実施例では、ツェナーダイオードZD3の降伏電圧が5.1V程度であり、ツェナーダイオードZD3は、電流制限抵抗R6を通して、交流電圧AC24Vを受けている。そのため、交流入力電源の給電状態であれば、平滑コンデンサC9の両端電圧は、4.5V程度の一定値となる。また、2つの抵抗R7,R8は、その抵抗値がR8>>R7に設定されているので、抵抗R8の両端電圧Vsは、正常レベルの交流電圧AC24Vに対応して約4.5Vとなる。但し、コンパレータA3の出力がLレベルであると、これに対応して、抵抗R8の両端電圧Vsは、ほぼ0Vとなる。なお、抵抗R7は、Lレベル出力時のコンパレータA3に対する電流制限抵抗として機能する。   In this embodiment, the breakdown voltage of the Zener diode ZD3 is about 5.1V, and the Zener diode ZD3 receives the AC voltage AC24V through the current limiting resistor R6. For this reason, when the AC input power supply is in a power supply state, the voltage across the smoothing capacitor C9 is a constant value of about 4.5V. Since the resistance values of the two resistors R7 and R8 are set to R8 >> R7, the both-ends voltage Vs of the resistor R8 is about 4.5V corresponding to the normal level AC voltage AC24V. However, if the output of the comparator A3 is at L level, the voltage Vs across the resistor R8 is substantially 0V correspondingly. The resistor R7 functions as a current limiting resistor for the comparator A3 when the L level is output.

コンパレータA3は、他のコンパレータA1〜A4と共に、QUADコンパレータ(NJM2901)で構成されている。このQUADコンパレータには、4つのコンパレータA1〜A4が内蔵されているが、何れのコンパレータA1〜A4も、オープンコレクタタイプとなっている(図6(i)参照)。   The comparator A3 is composed of a QUAD comparator (NJM2901) together with other comparators A1 to A4. This QUAD comparator includes four comparators A1 to A4, but each of the comparators A1 to A4 is an open collector type (see FIG. 6 (i)).

そして、コンパレータA3のマイナス端子には、比較電圧部55の出力電圧Voが供給され、プラス端子には、定常状態では2.8V程度の比較電圧V1が供給されている。この比較電圧V1は、第一電源部FRが生成した二種類の電源電圧Vcc,VBを抵抗で分圧して生成されている。   The output voltage Vo of the comparison voltage unit 55 is supplied to the minus terminal of the comparator A3, and the comparison voltage V1 of about 2.8V is supplied to the plus terminal in the steady state. The comparison voltage V1 is generated by dividing the two types of power supply voltages Vcc and VB generated by the first power supply unit FR with resistors.

後述するように、電源投入時には、比較電圧部55の出力電圧Voは、レベル上昇中の電源電圧Vccに対応したレベルとなる(Vo=Vcc−Vf−Δ)。なお、VfとΔは、ダイオードD14,D15と、抵抗R9における電圧降下である。   As will be described later, when the power is turned on, the output voltage Vo of the comparison voltage unit 55 becomes a level corresponding to the power supply voltage Vcc whose level is rising (Vo = Vcc−Vf−Δ). Vf and Δ are voltage drops in the diodes D14 and D15 and the resistor R9.

一方、比較電圧V1は、電源電圧Vcc,VBを分圧して生成されるので、電源投入直後は、比較電圧部55の出力電圧Voより低い。そのため、電源投入直後の過渡状態では、コンパレータA3の出力がLレベルとなって抵抗R8を短絡させ、その結果、給電監視部54の出力電圧Vsがほぼ0Vとなる。   On the other hand, since the comparison voltage V1 is generated by dividing the power supply voltages Vcc and VB, immediately after the power is turned on, it is lower than the output voltage Vo of the comparison voltage unit 55. Therefore, in a transient state immediately after the power is turned on, the output of the comparator A3 becomes L level to short-circuit the resistor R8. As a result, the output voltage Vs of the power supply monitoring unit 54 becomes almost 0V.

一方、電源電圧Vcc,VBが所定レベルに達した定常状態では、比較電圧V1が、2.8V程度となる一方、比較電圧部55の出力電圧Voは2.5V程度に一定化される。つまり、コンパレータA3は、[プラス入力への入力電圧]>[マイナス端子への入力電圧]の大小関係となるが、コンパレータA3の出力部がオープンコレクタであり(図6(i)参照)、図4に示す通り、その出力端子がプルアップされていないので、コンパレータA3の出力部は開放状態となって他の回路に影響を与えない。   On the other hand, in a steady state in which the power supply voltages Vcc and VB have reached a predetermined level, the comparison voltage V1 is about 2.8V, while the output voltage Vo of the comparison voltage unit 55 is kept constant at about 2.5V. That is, the comparator A3 has a magnitude relationship of [input voltage to the plus input]> [input voltage to the minus terminal], but the output part of the comparator A3 is an open collector (see FIG. 6 (i)). As shown in FIG. 4, since the output terminal is not pulled up, the output section of the comparator A3 is opened and does not affect other circuits.

以上説明した給電監視部54の動作を整理すると以下の通りである。
(1)交流電圧AC24Vが投入された電源投入直後は、抵抗R8がコンパレータA3の出力部によって短絡されるので、抵抗R8の両端電圧Vsがほぼ0Vとなる。
(2)その後、電源電圧Vccが正常レベル近くまで増加すると、コンパレータA3の出力部が開放状態となるので、抵抗R8の両端電圧Vsは、ツェナーダイオードZD3の両端電圧に対応してほぼ4.5Vとなる。
(3)交流電圧AC24Vが遮断状態となると、抵抗R8の両端電圧Vsは、素早く0Vまで降下する。しかし、交流電圧AC24Vが遮断されても、しばらくは、電源電圧Vcc,VBが所定レベルを維持するので、コンパレータA3の出力部は、そのまま開放状態を維持する。
The operation of the power supply monitoring unit 54 described above is organized as follows.
(1) Immediately after the power is turned on when the AC voltage AC24V is turned on, the resistor R8 is short-circuited by the output part of the comparator A3, so that the voltage Vs across the resistor R8 becomes approximately 0V.
(2) Thereafter, when the power supply voltage Vcc increases to near the normal level, the output part of the comparator A3 is opened, so that the voltage Vs across the resistor R8 is approximately 4.5 V corresponding to the voltage across the Zener diode ZD3. It becomes.
(3) When the AC voltage AC24V is cut off, the voltage Vs across the resistor R8 quickly drops to 0V. However, even if the AC voltage AC24V is cut off, the power supply voltages Vcc and VB maintain a predetermined level for a while, so that the output unit of the comparator A3 maintains the open state as it is.

[比較電圧部55]
比較電圧部55は、第一電源部FRと第二電源部SDとで別々に生成された2つの電源電圧Vcc,Vccを各アノード端子に受けるダイオードD14,D15と、ダイオードD14,D15の各カソード端子に接続される電流制限抵抗R9と、電圧生成部GNと、が直列に接続されて構成されている。この実施例では、電圧生成部GNとして、シャントレギュレータ(HA17431:RENESAS)を使用している。
[Comparison voltage unit 55]
The comparison voltage unit 55 includes diodes D14 and D15 that receive two power supply voltages Vcc and Vcc generated separately by the first power supply unit FR and the second power supply unit SD at respective anode terminals, and cathodes of the diodes D14 and D15. A current limiting resistor R9 connected to the terminal and the voltage generator GN are connected in series. In this embodiment, a shunt regulator (HA17431: RENESAS) is used as the voltage generator GN.

このシャントレギュレータは、アノード端子Aとカソード端子Kと比較端子REFとを有するが、アノード端子Aとカソード端子Kとを接続した図示の状態では、ツェナーダイオードと同等に機能して、降伏動作時には、アノード・カソード端子間に一定の基準電圧Vo(2.5V)を出力する(図6(h)参照)。一方、非降伏動作時には、内部回路がOFF動作して、アノード・カソード端子間が開放状態となる。   This shunt regulator has an anode terminal A, a cathode terminal K, and a comparison terminal REF. In the state shown in the figure, in which the anode terminal A and the cathode terminal K are connected, the shunt regulator functions in the same manner as a Zener diode. A constant reference voltage Vo (2.5 V) is output between the anode and cathode terminals (see FIG. 6H). On the other hand, during the non-breakdown operation, the internal circuit is turned OFF, and the anode and cathode terminals are opened.

したがって、電源投入時、電源電圧Vccが所定レベルに達するまでは、比較電圧部55(電圧生成部GN)の出力電圧Voは、レベル上昇中の電源電圧Vccに対応して、Vo=Vcc−Vf−Δとなる。一方、電源電圧Vccが所定レベルに達すると、比較電圧部55の出力電圧Voは、一定の比較基準電圧(2.5V)となる。   Therefore, when the power is turned on, until the power supply voltage Vcc reaches a predetermined level, the output voltage Vo of the comparison voltage unit 55 (voltage generation unit GN) corresponds to the power supply voltage Vcc whose level is rising, Vo = Vcc−Vf. −Δ. On the other hand, when the power supply voltage Vcc reaches a predetermined level, the output voltage Vo of the comparison voltage unit 55 becomes a constant comparison reference voltage (2.5 V).

[異常検出部56]
異常検出部56は、主制御部21への電源異常信号ABN1を生成するコンパレータA1と、払出制御部24への電源異常信号ABN2を生成するコンパレータA2と、各コンパレータA1,A2のプルアップ抵抗R10,R11と、各コンパレータA1,A2の入力端子間に接続されたコンデンサCsとを有して構成されている。各コンパレータA1,A2のマイナス端子には、比較電圧部55の出力電圧Voが供給され、プラス端子には、抵抗R8の両端電圧Vsが供給されている。なお、コンパレータA1,A2は、先に説明したQUADコンパレータ(NJM2901)に内蔵されている。
[Abnormality detection unit 56]
The abnormality detection unit 56 includes a comparator A1 that generates a power supply abnormality signal ABN1 to the main control unit 21, a comparator A2 that generates a power supply abnormality signal ABN2 to the payout control unit 24, and pull-up resistors R10 of the comparators A1 and A2. , R11 and a capacitor Cs connected between the input terminals of the comparators A1, A2. The output voltage Vo of the comparison voltage unit 55 is supplied to the minus terminals of the comparators A1 and A2, and the voltage Vs across the resistor R8 is supplied to the plus terminal. The comparators A1 and A2 are built in the QUAD comparator (NJM2901) described above.

図示を省略しているが、コンパレータA1,A2から出力される電源異常信号ABN1、ABN2は、主制御部21と払出制御部24の入力ポートに供給されている。そして、各入力ポートの入力端子とグランド間には、適宜なコンデンサを接続されており、各入力ポートが、適宜な抵抗を経由して電源異常信号を受けることで耐ノイズ性を確保している。また、適宜なソフトウェア処理(図8のST34〜ST35)によって、スパイクノイズの影響を排除している。   Although not shown, power supply abnormality signals ABN1 and ABN2 output from the comparators A1 and A2 are supplied to input ports of the main control unit 21 and the payout control unit 24. An appropriate capacitor is connected between the input terminal of each input port and the ground, and each input port receives a power supply abnormality signal via an appropriate resistor to ensure noise resistance. . Further, the influence of spike noise is eliminated by appropriate software processing (ST34 to ST35 in FIG. 8).

給電監視部54が前記した(1)〜(3)の通りに動作するので、これに対応して異常検出部56は、以下の通りに動作する。   Since the power supply monitoring unit 54 operates as described above in (1) to (3), the abnormality detection unit 56 operates as follows in response to this.

(1)交流電圧AC24Vが投入された電源投入直後は、抵抗R8の両端電圧Vsがほぼ0Vであり、一方、比較電圧部55の出力電圧Voは、レベル上昇中の電源電圧Vccに対応して、Vcc−Vf−Δとなる。そのため、コンパレータA1,A2が出力する電源異常信号ABN1,ABN2は、レベル変動することなく、Lレベルを安定的に維持する。図6(c)のタイミングT0〜T1は、この電源投入時の安定したLレベル状態を示している。   (1) Immediately after the power is turned on when the AC voltage AC24V is turned on, the voltage Vs across the resistor R8 is almost 0V, while the output voltage Vo of the comparison voltage unit 55 corresponds to the power supply voltage Vcc whose level is rising. Vcc−Vf−Δ. Therefore, the power supply abnormality signals ABN1 and ABN2 output from the comparators A1 and A2 stably maintain the L level without changing the level. Timings T0 to T1 in FIG. 6C show a stable L level state when the power is turned on.

(2)その後、レベル上昇中の電源電圧Vccが所定レベルを超えた後は、比較電圧部55の出力電圧Voは、2.5Vを維持する。また、電源電圧Vccが正常レベル近くまで増加すると、コンパレータA3の出力部が開放状態となるので、抵抗R8の両端電圧Vsは、ツェナーダイオードZD3の両端電圧に対応してほぼ4.5Vとなる。   (2) Thereafter, after the power supply voltage Vcc whose level is rising exceeds a predetermined level, the output voltage Vo of the comparison voltage unit 55 is maintained at 2.5V. Further, when the power supply voltage Vcc increases to near the normal level, the output part of the comparator A3 is opened, so that the voltage Vs across the resistor R8 becomes approximately 4.5V corresponding to the voltage across the Zener diode ZD3.

そのため、コンパレータA1,A2が出力する電源異常信号ABN1,ABN2がHレベルに遷移して、その後は、正常状態を示すHレベルを定常的に維持する。図6(c)のタイミングT1以降は、正常レベルの電源異常信号ABN1,ABN2を示している。   Therefore, the power supply abnormality signals ABN1 and ABN2 output from the comparators A1 and A2 transition to the H level, and thereafter the H level indicating the normal state is constantly maintained. After timing T1 in FIG. 6C, normal level power supply abnormality signals ABN1, ABN2 are shown.

(3)その後、何らかの理由で交流電圧AC24Vが遮断状態となると、抵抗R8の両端電圧Vsは、素早く0Vまで降下する。しかし、電源電圧Vcc,VBは、しばらく所定レベルを維持するので、コンパレータA3や比較電圧部55は、それまでの動作を維持する。   (3) Thereafter, when the AC voltage AC24V is cut off for some reason, the voltage Vs across the resistor R8 quickly drops to 0V. However, since the power supply voltages Vcc and VB are maintained at a predetermined level for a while, the comparator A3 and the comparison voltage unit 55 maintain the operation so far.

したがって、図6(a)のタイミングT7において、交流電圧AC24Vが遮断状態になると、コンパレータA1,A2が出力する電源異常信号ABN1,ABN2は、直ちに、HレベルからLレベルに遷移して異常事態の発生を示す。なお、主制御部21と払出制御部24では、この電源異常信号ABN1,ABN2を定時的にチェックしており、電源異常信号ABN1,ABN2がLレベルに遷移したことを確認すると、直ちにバックアップ処理を開始するようになっている。   Therefore, when the AC voltage AC24V is cut off at the timing T7 in FIG. 6A, the power supply abnormality signals ABN1 and ABN2 output from the comparators A1 and A2 immediately transition from the H level to the L level to cause an abnormal situation. Indicates occurrence. The main control unit 21 and the payout control unit 24 regularly check the power supply abnormality signals ABN1 and ABN2, and immediately confirm that the power supply abnormality signals ABN1 and ABN2 have transitioned to the L level. It is supposed to start.

[電源リセット部57]
次に、コンパレータA4で構成された電源リセット部57について説明する。図示の通り、コンパレータA4の出力端子には、プルアップ抵抗R12が接続され、出力端子とプラス端子との間には、抵抗RfとコンデンサCfの直列回路が接続されている。また、コンパレータA4のマイナス端子には、比較電圧部55の出力電圧Voが供給され、プラス端子には、定常状態では2.95V程度の比較電圧V2が供給されている。この比較電圧V2は、第二電源部SDが生成した二種類の電源電圧Vcc,VBを抵抗で分圧して生成されている。
[Power reset unit 57]
Next, the power reset unit 57 composed of the comparator A4 will be described. As illustrated, a pull-up resistor R12 is connected to the output terminal of the comparator A4, and a series circuit of a resistor Rf and a capacitor Cf is connected between the output terminal and the plus terminal. Further, the output voltage Vo of the comparison voltage unit 55 is supplied to the minus terminal of the comparator A4, and the comparison voltage V2 of about 2.95V is supplied to the plus terminal in the steady state. The comparison voltage V2 is generated by dividing the two types of power supply voltages Vcc and VB generated by the second power supply unit SD with resistors.

電源リセット部57は、上記の通りに構成されているので、以下の通りに動作する。   Since the power reset unit 57 is configured as described above, it operates as follows.

(1)交流電圧AC24Vが投入された電源投入直後は、比較電圧部55の出力電圧Voは、レベル上昇中の電源電圧Vccに対応して、Vcc−Vf−Δとなる。一方、比較電圧V2は、第二電源部SDの電源電圧Vcc,VBを分圧して生成されるので、レベル上昇中の出力電圧Voより低い。そのため、このような過渡状態では、コンパレータA4から出力されるシステムリセット信号SYSがLレベルとなる(図6(a)参照)。   (1) Immediately after the power is turned on when the AC voltage AC24V is turned on, the output voltage Vo of the comparison voltage unit 55 becomes Vcc−Vf−Δ corresponding to the power supply voltage Vcc whose level is rising. On the other hand, since the comparison voltage V2 is generated by dividing the power supply voltages Vcc and VB of the second power supply unit SD, it is lower than the output voltage Vo during the level increase. Therefore, in such a transient state, the system reset signal SYS output from the comparator A4 becomes L level (see FIG. 6A).

(2)その後、レベル上昇中の電源電圧Vccが所定レベルに達した後は、比較電圧部55の出力電圧Voは、2.5Vを維持する。また、電源電圧Vcc,VBが正常レベル近くまで増加すると、比較電圧V2が定常値2.95Vに近づく。そのため、コンパレータA4から出力されるシステムリセット信号SYSは、適宜なタイミングで、LレベルからHレベルに遷移する。   (2) Thereafter, after the power supply voltage Vcc whose level is rising reaches a predetermined level, the output voltage Vo of the comparison voltage unit 55 is maintained at 2.5V. Further, when the power supply voltages Vcc and VB increase to near the normal level, the comparison voltage V2 approaches the steady value 2.95V. Therefore, the system reset signal SYS output from the comparator A4 transitions from the L level to the H level at an appropriate timing.

このようにして生成されたシステムリセット信号SYSは、演出インタフェイス基板27を経由して、演出制御部22と画像制御部23に伝送されるが、各制御部22,制御部23に設けられた遅延回路を経由してCPUやその他のICを電源リセットしている。なお、抵抗RfとコンデンサCfの直列回路も、遷移動作を遅延させる機能を発揮する。   The system reset signal SYS generated in this way is transmitted to the effect control unit 22 and the image control unit 23 via the effect interface board 27, and is provided in each control unit 22 and control unit 23. The power of the CPU and other ICs is reset via the delay circuit. Note that the series circuit of the resistor Rf and the capacitor Cf also exhibits a function of delaying the transition operation.

図5(a)は、主制御部21と払出制御部24に配置されたリセット回路RSTを示す回路図である。この実施例では、電源電圧監視用IC1(MB3771富士通マイクロエレクトロニクス)と、ウォッチドッグタイマ機能付き電源電圧監視用IC2(MB3773富士通マイクロエレクトロニクス)とを活用してリセット回路RSTを構成している。   FIG. 5A is a circuit diagram showing the reset circuit RST arranged in the main control unit 21 and the payout control unit 24. In this embodiment, the reset circuit RST is configured by utilizing the power supply voltage monitoring IC 1 (MB3771 Fujitsu Microelectronics) and the power supply voltage monitoring IC2 with a watchdog timer function (MB3773 Fujitsu Microelectronics).

図5(b)の等価回路を示す通り、電源電圧監視用IC1は、2つのコンパレータCompA,CompBを内蔵して構成されている。そして、2つのコンパレータCompA,CompBのプラス端子は、内蔵回路によって1.24V程度に設定される。   As shown in the equivalent circuit of FIG. 5B, the power supply voltage monitoring IC 1 includes two comparators CompA and CompB. The plus terminals of the two comparators CompA and CompB are set to about 1.24V by the built-in circuit.

また、実施例の回路構成では、Vsa端子がコンデンサC11を経由してグランドに接続されているので、コンパレータCompAのマイナス端子の電位は、内蔵された抵抗で分圧されて1.4V程度となる。一方、Vsb端子には、外付けの分圧抵抗R20、R21によって電源電圧VBが分圧して供給されているので、Vsb端子の電位は、VB*R21/(R20+R21)である。なお、抵抗R21には、電圧安定用のコンデンサC12が並列接続されている。また、Ct端子には遅延コンデンサC10が接続されている。   In the circuit configuration of the embodiment, since the Vsa terminal is connected to the ground via the capacitor C11, the potential of the negative terminal of the comparator CompA is divided by the built-in resistor and becomes about 1.4V. . On the other hand, since the power supply voltage VB is divided and supplied to the Vsb terminal by external voltage dividing resistors R20 and R21, the potential of the Vsb terminal is VB * R21 / (R20 + R21). A voltage stabilizing capacitor C12 is connected in parallel to the resistor R21. A delay capacitor C10 is connected to the Ct terminal.

電源電圧監視用IC1は、図5(b)の内部回路を有しているので、電源投入後、電源電圧Vccが所定レベルまで上昇すると(図6(d)のタイミングT2参照)、内蔵された定電流源によって、遅延コンデンサC10の充電が開始される。そして、遅延コンデンサC10が所定レベルまで充電されるまでの間は(図6(e)のT3参照)、リセット端子から出力される基礎リセット信号RS1がLレベルに維持される。なお、このリセットホールド時間Tpo[S]は、外付けコンデンサC10の容量に対応してTpo[S]=10*C10[F]となっている。 Since the power supply voltage monitoring IC 1 has the internal circuit of FIG. 5B, when the power supply voltage Vcc rises to a predetermined level after the power is turned on (see timing T2 in FIG. 6D), it is built in. Charging of the delay capacitor C10 is started by the constant current source. Until the delay capacitor C10 is charged to a predetermined level (see T3 in FIG. 6E), the basic reset signal RS1 output from the reset terminal is maintained at the L level. The reset hold time Tpo [S] is Tpo [S] = 10 5 * C10 [F] corresponding to the capacitance of the external capacitor C10.

このようにして、タイミングT3でHレベルとなった基礎リセット信号RS1は、電源電圧Vcc,VBが降下しない限り、そのレベルを維持する。しかし、Vsb端子の電位は、VB*R21/(R20+R21)であって、このVsb端子において電源電圧VBのレベルを監視している。同様に、Vsa端子の電位は、内蔵抵抗40kΩ、100kΩに対応して、Vcc*40/(40+1001)であって、このVsa端子において電源電圧Vccのレベルを監視している。   In this way, the basic reset signal RS1 that has become H level at the timing T3 maintains that level unless the power supply voltages Vcc and VB drop. However, the potential of the Vsb terminal is VB * R21 / (R20 + R21), and the level of the power supply voltage VB is monitored at this Vsb terminal. Similarly, the potential of the Vsa terminal is Vcc * 40 / (40 + 1001) corresponding to the built-in resistors 40 kΩ and 100 kΩ, and the level of the power supply voltage Vcc is monitored at this Vsa terminal.

そのため、交流入力AC24Vの遮断や、電源部FR,SDの故障などによって、電源電圧Vcc,VBの双方又は一方の電圧レベルが降下すると(図6(d)のタイミングT8参照)、内蔵コンパレータCompA,CompBのいずれかの出力端子がHレベルに遷移する。すると、内蔵されたフリップフロップがセットされて、リセット端子から出力される基礎リセット信号RS1が、直ちにLレベルに降下する(図6(e)のタイミングT8参照)。   For this reason, when the voltage level of both or one of the power supply voltages Vcc and VB drops due to interruption of the AC input AC 24V or failure of the power supply units FR and SD (see timing T8 in FIG. 6D), the built-in comparators CompA, Any output terminal of CompB transitions to the H level. Then, the built-in flip-flop is set, and the basic reset signal RS1 output from the reset terminal immediately falls to the L level (see timing T8 in FIG. 6E).

ところで、本実施例では、Vsa端子とグランド間には、コンデンサC11が接続され、Vsb端子とグランド間には、コンデンサC12が接続されている。図5(b)の等価回路から明らかな通り、これらのコンデンサC11,C12は、内部回路の動作を遅延させる機能を果しており、電源電圧Vcc,VBが短時間だけ、例えば4V以下に低下して回復する瞬低状態や瞬断状態では、基礎リセット信号RS1が出力されることはない。   By the way, in this embodiment, a capacitor C11 is connected between the Vsa terminal and the ground, and a capacitor C12 is connected between the Vsb terminal and the ground. As is apparent from the equivalent circuit of FIG. 5B, these capacitors C11 and C12 have a function of delaying the operation of the internal circuit, and the power supply voltages Vcc and VB are reduced to, for example, 4 V or less for a short time. The basic reset signal RS1 is not output in the recovering instantaneous low state or instantaneous interruption state.

本実施例では、Cll=C12=1000pF程度に設定されており、これに対応して、直流電圧(5V,12V)のレベル降下が、40μS以内に回復する瞬断状態や瞬低状態では、電源電圧監視用IC1が反応しないよう構成されている。したがって、電源基板20から供給される電源電圧Vcc,VBの給電ラインの何れかに、パルス幅40μS以内のスパイクノイズが重畳しても、基礎リセット信号RS1が異常に出力されることはない。   In the present embodiment, Cll = C12 = 1000 pF is set, and in response to this, in the instantaneous interruption state or instantaneous low state where the level drop of the DC voltage (5V, 12V) recovers within 40 μS, The voltage monitoring IC 1 is configured not to react. Therefore, even if spike noise within a pulse width of 40 μS is superimposed on any of the power supply lines of the power supply voltages Vcc and VB supplied from the power supply substrate 20, the basic reset signal RS1 is not abnormally output.

上記の通りに動作する電源電圧監視用IC1に対応して、基礎リセット信号RS1は、2つのNOTゲートG1,G2を経由して、I/Oリセット信号として主制御部21や払出制御部24に搭載されたデータ入出力用ICのリセット端子に供給される。好ましくは、ラッチ機能を有するデータ入出力用ICに基礎リセット信号(I/Oリセット信号)RS1が供給される。そのため、電源投入時にランダムにラッチされたデータ入出力用IC(例えば、SN74273、SN74LV8155など)のデータが、基礎リセット信号RS1によって確実にクリアされる。   Corresponding to the power supply voltage monitoring IC 1 operating as described above, the basic reset signal RS1 is sent to the main control unit 21 and the payout control unit 24 as an I / O reset signal via the two NOT gates G1 and G2. It is supplied to the reset terminal of the mounted data input / output IC. Preferably, a basic reset signal (I / O reset signal) RS1 is supplied to a data input / output IC having a latch function. Therefore, the data of the data input / output ICs (for example, SN74273, SN74LV8155, etc.) latched at random when the power is turned on is surely cleared by the basic reset signal RS1.

またNOTゲートG1を経由した基礎リセット信号RS1バーは、ウォッチドッグタイマ機能付き電源電圧監視用IC2に供給されている。図示の通り、電源電圧監視用IC2は、CPUリセット信号RS2を出力するが、電源電圧監視用IC2のCt端子には、遅延コンデンサC15が接続され、CK端子には、ワンチップマイコンからクリアパルスが供給されるよう構成されている。   The basic reset signal RS1 bar via the NOT gate G1 is supplied to the power supply voltage monitoring IC 2 with a watchdog timer function. As shown in the figure, the power supply voltage monitoring IC 2 outputs a CPU reset signal RS2, but a delay capacitor C15 is connected to the Ct terminal of the power supply voltage monitoring IC 2, and a clear pulse is sent from the one-chip microcomputer to the CK terminal. Configured to be supplied.

また、電源電圧監視用IC2のVs端子は、コンデンサC14を経由してグランドに接続され、コンデンサC14には、トランジスタQ3のコレクタ端子とエミッタ端子とが並列接続されている。そして、トランジスタQ3のベース端子には、バイアス抵抗R23,R24によって分圧された基礎リセット信号RS1バーが供給されている。   The Vs terminal of the power supply voltage monitoring IC 2 is connected to the ground via the capacitor C14, and the collector terminal and the emitter terminal of the transistor Q3 are connected in parallel to the capacitor C14. The base reset signal RS1 bar divided by the bias resistors R23 and R24 is supplied to the base terminal of the transistor Q3.

コンテンサC14は、内部回路の動作を遅延させる遅延素子である。電源電圧監視用IC1の場合と同様、コンデンサC14の静電容量を適宜に設定することで、電源電圧Vccの瞬断状態や瞬低状態では、電源電圧監視用IC2が反応しないよう構成することができる。   The contentor C14 is a delay element that delays the operation of the internal circuit. As in the case of the power supply voltage monitoring IC1, by appropriately setting the capacitance of the capacitor C14, the power supply voltage monitoring IC2 may be configured not to react in an instantaneous interruption or low state of the power supply voltage Vcc. it can.

電源電圧監視用IC2は、図5(c)の内部回路を有しており、Vs端子が開放状態であれば、Vs端子の電位は、内蔵抵抗によって1.4V程度に設定されている。また、このVs端子は、内蔵されたコンパレータCompSのマイナス端子に接続され、コンパレータCompSのプラス端子には、内蔵回路によって1.24V程度の電圧が供給されている。   The power supply voltage monitoring IC 2 has the internal circuit of FIG. 5C, and when the Vs terminal is in an open state, the potential of the Vs terminal is set to about 1.4 V by a built-in resistor. The Vs terminal is connected to the minus terminal of the built-in comparator CompS, and a voltage of about 1.24 V is supplied to the plus terminal of the comparator CompS by the built-in circuit.

以下、電源電圧監視用IC2の動作を説明すると、電源投入後、タイミングT3(図6(f)参照)に至るまでの期間は、基礎リセット信号RS1バーがHレベルであるので、トランジスタQ3がON状態である。そのため、電源電圧監視用IC2のVs端子の電位が0Vであって、コンパレータCompSの出力がHレベルとなる。   Hereinafter, the operation of the power supply voltage monitoring IC 2 will be described. Since the basic reset signal RS1 bar is at the H level during the period from the power-on to the timing T3 (see FIG. 6F), the transistor Q3 is turned on. State. Therefore, the potential of the Vs terminal of the power supply voltage monitoring IC 2 is 0 V, and the output of the comparator CompS becomes H level.

ところが、タイミングT3において、基礎リセット信号RS1バーがLレベルに遷移してトランジスタQ3がOFF状態となると、コンパレータCompSの出力がLレベルに遷移することで、内蔵されたフリップフロップがリセット状態となり、遅延コンデンサC15への充電動作が開始される。そして、遅延コンデンサC15が所定レベルまで充電された後(図6(g)のタイミングT4参照)、CPUリセット信号RS2がLレベルからHレベルに遷移する。   However, when the basic reset signal RS1 bar transits to L level and the transistor Q3 enters the OFF state at timing T3, the output of the comparator CompS transits to L level, so that the built-in flip-flop enters the reset state and delays. The charging operation to the capacitor C15 is started. Then, after the delay capacitor C15 is charged to a predetermined level (see timing T4 in FIG. 6G), the CPU reset signal RS2 changes from the L level to the H level.

CPUリセット信号RS2がLレベルの間は、ワンチップマイコンのリセット端子がLレベルに維持されるので、CPUコアその他は確実にリセット状態となる。なお、リセットホールド時間Tpr[mS]は、外付けコンデンサC15の容量に対応して、Tpr[mS]=1000*C15[μF]となっている。   While the CPU reset signal RS2 is at the L level, the reset terminal of the one-chip microcomputer is maintained at the L level, so that the CPU core and others are surely reset. The reset hold time Tpr [mS] is Tpr [mS] = 1000 * C15 [μF] corresponding to the capacitance of the external capacitor C15.

この電源電圧監視用IC2では、CPUリセット信号RS2がHレベルに遷移して、ワンチップマイコンが動作開始するタイミングに合わせ、電源電圧監視用IC2に内蔵されたウォッチドッグタイマ回路が動作を開始するよう構成されている。   In this power supply voltage monitoring IC 2, the watchdog timer circuit built in the power supply voltage monitoring IC 2 starts to operate at the timing when the CPU reset signal RS 2 transitions to the H level and the one-chip microcomputer starts operating. It is configured.

そのため、その後は、ウォッチドッグタイマ機能が発揮される。具体的に確認すると、ワンチップマイコンの動作開始に合わせて、電源電圧監視用IC2では、遅延コンデンサC15の放電動作が開始され、ワンチップマイコンがクリアパルスを供給する毎に、遅延コンデンサC15の放電動作が充電動作に切り替わる。   Therefore, after that, the watchdog timer function is exhibited. Specifically, when the operation of the one-chip microcomputer is started, the power supply voltage monitoring IC 2 starts the discharge operation of the delay capacitor C15. Every time the one-chip microcomputer supplies a clear pulse, the discharge of the delay capacitor C15 is started. The operation switches to the charging operation.

しかし、プログラム暴走などのトラブルが発生すると(図6(g)のタイミングT5参照)、遅延コンデンサC15の放電動作が継続されることになり、Ct端子の電位が0.4V程度まで降下すると、CPUリセット信号RS2が強制的にLレベルに遷移される。その後、CPUリセット信号RS2は、Lレベルに維持されるが、所定の維持時間Twrの経過後、CPUリセット信号RS2がHレベルに復帰すると、CPUは、電源投入状態と同様の初期処理プログラムの実行を開始する。なお、継続時間Twr[mS]は、遅延コンデンサC15の容量に対応して、Twr[mS]=20*C15[μF]となっている。   However, when trouble such as program runaway occurs (see timing T5 in FIG. 6G), the discharging operation of the delay capacitor C15 is continued, and when the potential of the Ct terminal drops to about 0.4 V, the CPU The reset signal RS2 is forcibly transitioned to the L level. Thereafter, the CPU reset signal RS2 is maintained at the L level. However, when the CPU reset signal RS2 returns to the H level after the elapse of the predetermined maintenance time Twr, the CPU executes an initial processing program similar to that in the power-on state. To start. The duration Twr [mS] is Twr [mS] = 20 * C15 [μF] corresponding to the capacity of the delay capacitor C15.

次に、電源遮断時における電源電圧監視用IC2の動作を説明する。電源電圧Vccが所定レベル(4.2V)まで降下すると、CPUリセット信号RS2がLレベルに遷移する(図6(g)のタイミングT8)。そして、その後は、ウォッチドッグタイマ回路の動作が禁止される。   Next, the operation of the power supply voltage monitoring IC 2 when the power is shut off will be described. When the power supply voltage Vcc drops to a predetermined level (4.2 V), the CPU reset signal RS2 changes to the L level (timing T8 in FIG. 6 (g)). Thereafter, the operation of the watchdog timer circuit is prohibited.

ところで、本実施例では、ワンチップマイコンに内蔵されたウォッチドッグタイマ回路を活用せず、あえて、外付けの専用IC2を使用している。それは、CPUが暴走するような異常時には、ワンチップマイコンの内蔵回路にも、何らかの異常が発生している可能性を否定できないため、万全の安全対策を採ったことによる。   By the way, in this embodiment, the watchdog timer circuit built in the one-chip microcomputer is not utilized, and an external dedicated IC 2 is used. This is because when the CPU runs out of control, it is impossible to deny the possibility that some kind of abnormality has occurred in the built-in circuit of the one-chip microcomputer.

また、本実施例では、電源電圧監視用IC1と電源電圧監視用IC2とを重複して配置し、電源電圧監視用IC2から出力される電源リセット信号(CPUリセット信号)RS2を、ワンチップマイコンだけに供給し、電源電圧監視用IC1から出力される電源リセット信号(基礎リセット信号)RS1を、ワンチップマイコン以外のデータ入出力用ICや乱数生成回路に供給している。また、電源電圧監視用IC2のウォッチドッグタイマ機能によって生成されたCPUリセット信号RS2は、ワンチップマイコンだけに供給されているが、このような構成を採る理由は以下の通りである。   Further, in this embodiment, the power supply voltage monitoring IC 1 and the power supply voltage monitoring IC 2 are arranged in an overlapping manner, and the power supply reset signal (CPU reset signal) RS2 output from the power supply voltage monitoring IC 2 is used only for the one-chip microcomputer. The power reset signal (basic reset signal) RS1 output from the power supply voltage monitoring IC 1 is supplied to a data input / output IC other than the one-chip microcomputer and a random number generation circuit. The CPU reset signal RS2 generated by the watchdog timer function of the power supply voltage monitoring IC 2 is supplied only to the one-chip microcomputer. The reason for adopting such a configuration is as follows.

先ず、本実施例の弾球遊技機は、電源バックアップ機能を有しているので、電源投入時に、電源遮断前(前日や停電前)の遊技を再開することもある。そのため、電源投入時には、特に、ラッチ機能を有するデータ入出力用ICを確実にリセット状態にする必要がある。但し、リセットホールド時間は、短くて足りるので、電源電圧監視用IC1を利用して電源リセット信号(基礎リセット信号)RS1を生成している。   First, since the ball game machine of the present embodiment has a power backup function, the game before the power interruption (before the previous day or before a power failure) may be resumed when the power is turned on. Therefore, when the power is turned on, in particular, it is necessary to reliably reset the data input / output IC having a latch function. However, since the reset hold time is short enough, the power supply reset signal (basic reset signal) RS1 is generated using the power supply voltage monitoring IC1.

一方、ワンチップマイコンについては、電源電圧Vcc,VBが安定した後、十分なリセットホールド時間が必要である。また、前記した理由から、ウォッチドッグタイマ回路を外付けするのが好ましく、このウォッチドッグタイマによるCPUリセット信号RS2についても、所望のリセットホールド時間が必要となる。そこで、本実施例では、電源電圧監視用IC1と電源電圧監視用IC2とを直列的に接続して、最適なリセットホールド時間(=Tpo+Tpr)を有する電源リセット信号(CPUリセット信号)RS2を生成すると共に、電源電圧監視用IC2を利用して、異常発生時のCPUリセット信号RS2を生成している。リセットホールド時間は、CPUリセット後の初期処理時間なども考慮して、主制御部20と払出制御部24とで各々最適値に設定される。したがって、例えば、払出制御部24の初期処理動作中に、制御コマンドが送信されることはない。もっとも、初期処理時間において、主制御部20の方が、払出制御部より明らかに長い場合には、リセットホールド時間を同一に設定したので足りる。   On the other hand, for the one-chip microcomputer, a sufficient reset hold time is required after the power supply voltages Vcc and VB are stabilized. For the reason described above, it is preferable to provide a watchdog timer circuit externally, and a desired reset hold time is required for the CPU reset signal RS2 by the watchdog timer. Therefore, in this embodiment, the power supply voltage monitoring IC 1 and the power supply voltage monitoring IC 2 are connected in series to generate a power reset signal (CPU reset signal) RS2 having an optimal reset hold time (= Tpo + Tpr). At the same time, the CPU reset signal RS2 when an abnormality occurs is generated using the power supply voltage monitoring IC2. The reset hold time is set to an optimum value in the main control unit 20 and the payout control unit 24 in consideration of the initial processing time after the CPU reset. Therefore, for example, the control command is not transmitted during the initial processing operation of the payout control unit 24. However, if the main control unit 20 is clearly longer than the payout control unit in the initial processing time, it is sufficient that the reset hold time is set to be the same.

なお、プログラム暴走などによる異常発生時には、基礎リセット信号RS1が発生されることはないので、データ入出力用ICはリセットされない。しかし、電源投入時とは異なり、異常リセット時に、データ入出力用ICにランダムなデータがラッチされることはなく、また、異常リセット時には、RAMクリア処理が実行され、遊技動作が再開されることはないので、データ入出力用ICをリセットしないことに何の問題も生じない。   When an abnormality occurs due to program runaway or the like, the basic reset signal RS1 is not generated, so the data input / output IC is not reset. However, unlike when the power is turned on, random data is not latched in the data input / output IC at the time of abnormal reset, and at the time of abnormal reset, the RAM clear process is executed and the game operation is resumed. There is no problem in not resetting the data input / output IC.

一方、電源電庄(VB,Vccc)の瞬断状態が短時間とはいうものの、コンデンサCll,C12で吸収できない程度に継続した場合には、電源電圧監視用1Clから、短いパルス幅の基礎リセット信号RSlが出力される。そして、この基礎リセット信号RS1は、トランジスタQ3を短時間だけON動作させる。しかし、トランジスタQ3のON抵抗を適宜な値に設定すると共に、トランジスタQ3に並列接続されるコンデンサC14を適度な静電容量に設定することで、CPUリセット信号RS2の出力を回避することもできる。   On the other hand, if the power supply voltage (VB, Vccc) continues for a short time but cannot be absorbed by the capacitors Cll, C12, a basic reset with a short pulse width is started from the power supply voltage monitoring 1Cl. Signal RSl is output. The basic reset signal RS1 turns on the transistor Q3 for a short time. However, by setting the ON resistance of the transistor Q3 to an appropriate value and setting the capacitor C14 connected in parallel to the transistor Q3 to an appropriate capacitance, it is possible to avoid the output of the CPU reset signal RS2.

このような場合、データ入出力用ICだけがリセットされることになるが、このリセット動作は、特に、図柄始動口などのスイッチ信号を生成するために使用される電源電圧VB(12V)が、瞬低状態に陥った場合に、データ入出力用ICだけがクリアされる点で効果的である。   In such a case, only the data input / output IC is reset. In particular, this reset operation is performed when the power supply voltage VB (12 V) used for generating a switch signal such as a symbol start port is This is effective in that only the data input / output IC is cleared when it falls into a momentary low state.

図7は、主制御部21のワンチップマイコン21Aと、乱数生成回路との接続関係を示す回路図である。この乱数生成回路は、図柄始動口15への遊技球の入賞に基づいて実行される大当り抽選処理(図11のST27)で使用される乱数値RNDを生成する回路である。   FIG. 7 is a circuit diagram showing a connection relationship between the one-chip microcomputer 21A of the main control unit 21 and the random number generation circuit. This random number generation circuit is a circuit for generating a random value RND used in the big hit lottery process (ST27 in FIG. 11) executed based on the winning of a game ball to the symbol start port 15.

図7に示す通り、乱数生成回路は、周波数8MHz程度の計数クロックΦを生成する発振回路40と、図柄始動口15への遊技球入賞を示す入賞スイッチ信号Honを保持する保持回路41と、2つの8ビットカウンタCNT1,CNT2をカスケード接続してなるカウンタ回路42と、電源遮断時にランダム情報D1〜D3を取得して電源遮断後も維持する記憶回路43と、電源投入時にランダムな始動充電動作を実現する始動回路44と、を中心に構成されている。   As shown in FIG. 7, the random number generation circuit includes an oscillation circuit 40 that generates a counting clock Φ having a frequency of about 8 MHz, a holding circuit 41 that holds a winning switch signal Hon indicating a game ball winning to the symbol start port 15, and 2 A counter circuit 42 formed by cascading two 8-bit counters CNT1 and CNT2, a storage circuit 43 that acquires random information D1 to D3 when the power is turned off and maintains it after the power is turned off, and a random start-up charging operation when the power is turned on And a starting circuit 44 to be realized.

カウンタ回路42は、ワンチップマイコン21Aのデータバスに接続されており、16ビット長の乱数値RNDが、8ビット毎に取得されるようになっている。また、ワンチップマイコン21Aには、入力ポートP1,P2が接続されており、入賞スイッチ信号Hon、電源異常信号ABN1、及びRAMクリア信号CLRなどが適宜なタイミングで取得可能に構成されている。   The counter circuit 42 is connected to the data bus of the one-chip microcomputer 21A, and a 16-bit random number value RND is acquired every 8 bits. Further, input ports P1 and P2 are connected to the one-chip microcomputer 21A, and a winning switch signal Hon, a power supply abnormality signal ABN1, a RAM clear signal CLR, and the like can be acquired at appropriate timing.

<保持回路41>
保持回路41は、2つのD型フリップフロップFF1,FF2が直列接続されて構成され、各クロック端子CLKには、発振回路40の計数クロックΦが供給されている。D型フリップフロップは、特に限定されないが、この実施例では、SN74HC74(TI社)を使用しており、計数クロックΦの立上りエッジで、D入力端子のデータがQ出力端子に出力される。したがって、図8(a)〜図8(d)に示す通り、遊技動作に対応して発生する入賞スイッチ信号Honは、フリップフロップFF1において、計数クロックΦに同期してパルス幅が調整された上で(Hon’)、更に計数クロックの1クロック分だけ遅延して(Hon”)、フリップフロップFF2から出力される。
<Holding circuit 41>
The holding circuit 41 is configured by connecting two D-type flip-flops FF1 and FF2 in series, and the count clock Φ of the oscillation circuit 40 is supplied to each clock terminal CLK. Although the D-type flip-flop is not particularly limited, in this embodiment, SN74HC74 (TI) is used, and data at the D input terminal is output to the Q output terminal at the rising edge of the count clock Φ. Therefore, as shown in FIGS. 8A to 8D, the winning switch signal Hon generated in response to the gaming operation is adjusted in pulse width in the flip-flop FF1 in synchronization with the count clock Φ. (Hon '), and further delayed by one count clock (Hon ") and output from the flip-flop FF2.

また、2つのフリップフロップFF1,FF2のクリア端子CLRには、電源電圧監視用IC1から出力される電源リセット信号(基礎リセット信号)RS1が供給されており、他のデータ入出力用ICと共に電源リセットされる。なお、電源リセット信号RS1は、2つの8ビットカウンタCNT1,CNT2のクリア端子CCLRにも供給されており、同じタイミングで電源リセットされる。   The clear terminals CLR of the two flip-flops FF1 and FF2 are supplied with a power supply reset signal (basic reset signal) RS1 output from the power supply voltage monitoring IC1, and reset the power supply together with other data input / output ICs. Is done. The power reset signal RS1 is also supplied to the clear terminals CCLR of the two 8-bit counters CNT1 and CNT2, and the power is reset at the same timing.

先に説明した通り、本実施例では、電源リセット信号を主制御部21や払出制御部24で生成し、他の回路基板から供給を受ける構成を採らない。そのため、違法遊技者は、乱数生成回路のリセットタイミングを正確に把握することができず、防犯上も有効である。この構成とは逆に、例えば、電源基板20から電源リセット信号を受ける構成を採ると、電源基板20との接続コネクタに違法基板を介在させることで、違法基板で乱数生成回路のリセットタイミングを正確に把握することができ、大当りタイミングを正確に予測することが可能となる。   As described above, in this embodiment, a configuration in which the power supply reset signal is generated by the main control unit 21 or the payout control unit 24 and is supplied from another circuit board is not employed. Therefore, an illegal player cannot accurately grasp the reset timing of the random number generation circuit, which is effective for crime prevention. Contrary to this configuration, for example, when a configuration for receiving a power supply reset signal from the power supply board 20 is adopted, an illegal board is interposed in a connector connected to the power supply board 20 so that the reset timing of the random number generation circuit can be accurately set by the illegal board. It is possible to accurately grasp the big hit timing.

<カウンタ回路42>
本実施例のカウンタ回路42は、2つのSN74HC590A(8-BIT BINARY COUNTERS WITH 3-STATE OUTPUT REGISTERS:TI社)CNT1,CNT2で構成されている。図9に等価回路を示す通り、各8ビットカウンタには、2進カウンタCTと、8ビットラッチLaと、8ビットの出力レジスタRoとが内蔵されている。そして、クロック端子CCLKに供給される計数クロックの立上りエッジで、2進カウンタCTのカウンタ値が更新される。
<Counter circuit 42>
The counter circuit 42 of this embodiment is composed of two SN74HC590A (8-BIT BINARY COUNTERS WITH 3-STATE OUTPUT REGISTERS: TI) CNT1 and CNT2. As shown the equivalent circuit in FIG. 9, each 8-bit counter, and 2 octal counter CT, and 8-bit latch La, and the 8-bit output register Ro is incorporated. Then, the rising edge of the count clock supplied to a clock terminal CCLK, the counter value of 2 octal counter CT is updated.

この実施例では、第1カウンタCNT1のクロック端子CCLKには、計数クロックΦを位相反転させた計数クロックΦバーが供給され、内部2進カウンタCTの桁上り信号(ripple carry)RCOは、第2カウンタCNT2のクロック端子CCLKに供給されている。そのため、本実施例のカウンタ回路42は、全体として、216進カウンタとして機能して、0000H〜FFFFHの数値範囲(Hは16進数を示す)で循環している。 In this embodiment, the clock terminal CCLK of the first counter CNT1, counting the clock Φ is counting clocks Φ bar is phase-inverted is supplied to the internal 2 octal counter CT of the carry signals (ripple carry) RCO is a 2 is supplied to the clock terminal CCLK of the counter CNT2. Therefore, the counter circuit 42 of this embodiment, as a whole, functions as a two hexadecimal counter, circulating in the numerical range of 0000h to FFFFh (H indicates a hexadecimal number).

但し、各カウンタCNT1,CNT2の動作禁止端子CCKENの電圧がHレベルであると、計数動作が禁止され、クロック端子CCLKの電圧変化に拘らず、216進カウンタCTのカウンタ値が変化しない。図8(f)と図8(g)は、この関係を示しており、動作禁止端子CCKENの電圧がHレベルである区間は、計数クロックΦバーの供給に拘らず、カウンタ値がN+1のままで変化しないことを示している。 However, the voltage of the operation inhibition terminal CCKEN of each counter CNT1, CNT2 is when is H level, the counting operation is prohibited, regardless of the voltage change of the clock terminal CCLK, the counter value of 2 hexadecimal counter CT is not changed. FIG. 8 (f) and FIG. 8 (g) show this relationship. In the section where the voltage of the operation inhibition terminal CCKEN is at the H level, the counter value remains N + 1 regardless of the supply of the count clock Φbar. Indicates no change.

また、2進カウンタCTのカウンタ値は、ラッチクロック端子RCLKのラッチ信号の立上りエッジで、8ビットラッチLaに保持され、8ビットラッチLaの出力値は、制御端子OEの制御信号がLレベルであることを条件に、出力レジスタRoから出力される。なお、制御端子OEの制御信号がHレベルであると、出力レジスタRoの出力端子は、ハイインピーダンス状態(HiZ)となる。 Further, the counter value of 2 octal counter CT, at the rising edge of the latch signal of the latch clock terminal RCLK, is held in the 8-bit latch La, 8 output values of bit latches La, the control signal is L level at the control terminal OE On the condition that it is output from the output register Ro. When the control signal of the control terminal OE is at the H level, the output terminal of the output register Ro is in a high impedance state (HiZ).

本実施例では、第1カウンタCNT1と第1カウンタCNT2の各ラッチクロック端子RCLKに、フリップフロップFF2の出力(Hon”)が供給されている。そのため、入賞スイッチ信号Hon”の立上りエッジで、2つの2進カウンタCTのカウンタ値が、2つの8ビットラッチLaに各々保持される。図8(d)と、図8(g)は、その関係を図示したものであり、M−1からインクリメントされたカウンタ値(16ビット長)Mが、D型フリップフロップFF2の出力Hon”の立上りエッジで、第1カウンタCNT1と第2カウンタCNT2の8ビットラッチLaに取得されることを示している。 In this embodiment, the output (Hon ″) of the flip-flop FF2 is supplied to each latch clock terminal RCLK of the first counter CNT1 and the first counter CNT2. Therefore, at the rising edge of the winning switch signal Hon ″, counter value one of 2 octal counter CT is respectively held in the two 8-bit latches La. FIG. 8D and FIG. 8G illustrate the relationship, and the counter value (16-bit length) M incremented from M−1 is the output Hon ″ of the D-type flip-flop FF2. It indicates that the 8-bit latch La of the first counter CNT1 and the second counter CNT2 is acquired at the rising edge.

本発明では、ランダムなタイミングでON状態となる入賞スイッチ信号Honを、計数クロックΦに同期させて波形整形する一方で、計数クロックΦを位相反転させた計数クロックΦバーに同期して216進カウンタを更新している。そのため、各2進カウンタCTのカウンタ値が、各8ビットラッチLaにラッチされるタイミングでは、カウンタの更新動作が確実に完了しており、例えば、M−1→Mへの更新途中の不安定なカウンタ値がラッチされるおそれがない。なお、計数クロックΦに同期してカウンタを更新したのでは、更新途中の不合理なカウンタ値をラッチしてしまうおそれがある。 In the present invention, the winning switch signal Hon to the ON state at a random timing, in synchronization while shaping the waveform to count clocks [Phi, in synchronization with the count clock [Phi the count clock [Phi bar is phase-inverted 2 hex The counter is updated. Therefore, the counter value of each 2 octal counter CT is the timing latched by the 8-bit latch La, counter update operation has been completed reliably, for example, of being updated to M-1 → M not There is no possibility that a stable counter value is latched. If the counter is updated in synchronization with the count clock Φ, an unreasonable counter value during the update may be latched.

<記憶回路43>
記憶回路43は、トランジスタQ5とエミッタ抵抗R30によるエミッタホロワー回路と、エミッタホロワー回路の出力を受けるNOTゲートG6と、5つのD型フリップフロップFF3〜FF7とを中心に構成されている。ここで、トランジスタQ5のベース端子に電源異常信号ABN1が供給され、NOTゲートG6は、終端抵抗R31でプルダウンされている。また、この実施例では、D型フリップフロップFF3〜FF7として、SN74HC74(TI社)を使用している。
<Storage circuit 43>
The memory circuit 43 is mainly configured by an emitter follower circuit including a transistor Q5 and an emitter resistor R30, a NOT gate G6 that receives the output of the emitter follower circuit, and five D-type flip-flops FF3 to FF7. Here, the power supply abnormality signal ABN1 is supplied to the base terminal of the transistor Q5, and the NOT gate G6 is pulled down by the termination resistor R31. In this embodiment, SN74HC74 (TI) is used as the D-type flip-flops FF3 to FF7.

3つのフリップフロップFF3〜FF5は、クロック端子CLKの信号の立上りエッジに同期して、D入力端子のデータを保持するラッチ回路として機能している。一方、他の2つのフリップフロップFF6〜FF7は、そのQバー出力端子が、D入力端子に接続されており、クロック端子の信号の立上りエッジに同期して、Q出力が反転するT型フリップフロップとして機能している。   The three flip-flops FF3 to FF5 function as a latch circuit that holds data at the D input terminal in synchronization with the rising edge of the signal at the clock terminal CLK. On the other hand, the other two flip-flops FF6 to FF7 have their Q-bar output terminals connected to the D input terminal, and T-type flip-flops whose Q outputs are inverted in synchronization with the rising edge of the signal at the clock terminal. Is functioning as

そして、フリップフロップFF6のクロック端子CLKには、第1カウンタCNT1の桁上り信号(ripple carry)RCO1が供給され、フリップフロップFF7のクロック端子CLKには、第2カウンタCNT1の桁上り信号(ripple carry)RCO2が供給されている。   A carry signal (ripple carry) RCO1 of the first counter CNT1 is supplied to the clock terminal CLK of the flip-flop FF6, and a carry signal (ripple carry) of the second counter CNT1 is supplied to the clock terminal CLK of the flip-flop FF7. ) RCO2 is supplied.

ここで、桁上り信号RCO1は、256個目の計数クロックΦバーがカウンタ回路42に供給される毎に出力され、桁上り信号RCO2は、256*256個目の計数クロックΦバーがカウンタ回路42に供給される毎に出力される(図9参照)。一方、フリップフロップFF6,FF7は、各々、桁上り信号RCO1,RCO2を受けてトグル動作を実行する。そのため、フリップフロップFF6のQ出力は、256個の計数クロックΦバーを受ける間はLレベルを維持し、次の256個の計数クロックΦバーを受ける間はHレベルを維持する。同様に、フリップフロップFF7のQ出力は、256*256個の計数クロックΦバーを受ける間はLレベルを維持し、次の256*256個の計数クロックΦバーを受ける間はHレベルを維持する。   Here, the carry signal RCO1 is output every time the 256th count clock Φbar is supplied to the counter circuit 42, and the carry signal RCO2 is output from the 256 * 256th count clock Φbar to the counter circuit 42. Is output each time the signal is supplied to (see FIG. 9). On the other hand, the flip-flops FF6 and FF7 receive the carry signals RCO1 and RCO2 and execute a toggle operation. Therefore, the Q output of the flip-flop FF6 maintains the L level while receiving 256 count clocks Φbar, and maintains the H level while receiving the next 256 count clocks Φbar. Similarly, the Q output of the flip-flop FF7 maintains the L level while receiving 256 * 256 count clocks Φbar, and maintains the H level while receiving the next 256 * 256 count clocks Φbar. .

次に、D型フリップフロップFF3〜FF5について説明する。図示の通り、フリップフロップFF3〜FF5のクロック端子CLKには、NOTゲートG6の出力が共通的に供給されている。また、フリップフロップFF3のD入力端子は、終端抵抗R32でプルダウンされた状態で、計数クロックΦバーを受けている。一方、フリップフロップFF4,FF5のD入力端子は、終端抵抗R33,R34でプルダウンされた状態で、フリップフロップFF6,FF7のQ出力を受けている。   Next, the D-type flip-flops FF3 to FF5 will be described. As shown in the figure, the output of the NOT gate G6 is commonly supplied to the clock terminals CLK of the flip-flops FF3 to FF5. The D input terminal of the flip-flop FF3 receives the count clock Φbar while being pulled down by the termination resistor R32. On the other hand, the D input terminals of the flip-flops FF4 and FF5 receive the Q outputs of the flip-flops FF6 and FF7 while being pulled down by the termination resistors R33 and R34.

本実施例では、フリップフロップFF3〜FF5のクリア端子CLRと電源端子Vccには、各々、バックアップ電源BAKが供給されている。そのため、フリップフロップFF3〜FF5については、電源遮断後も引き続き正常にラッチ機能を維持し、また、電源復帰時にQ出力がクリアされることもない。なお、フリップフロップFF3〜FF5のクロック端子CLKとD入力端子は、各々、抵抗R31〜R34を経由してプルダウンされているので、電源遮断時や電源復帰時に、各フリップフロップFF3〜FF5が異常動作することもない。   In this embodiment, the backup power supply BAK is supplied to the clear terminal CLR and the power supply terminal Vcc of the flip-flops FF3 to FF5, respectively. Therefore, the flip-flops FF3 to FF5 continue to normally maintain the latch function even after the power is shut off, and the Q output is not cleared when the power is restored. Note that the clock terminals CLK and D input terminals of the flip-flops FF3 to FF5 are pulled down via the resistors R31 to R34, respectively, so that the flip-flops FF3 to FF5 operate abnormally when the power is shut off or when the power is restored. I don't have to.

図6に関して説明した通り、交流電源がOFF状態となるタイミング(T7)では、直流電圧Vccは正常値を維持した状態で、電源異常信号ABN1だけが素早くLレベルに降下する。すると、これに対応して、NOTゲートG6の出力が立上るので、3つのフリップフロップFF3〜FF5は、各々、そのタイミングにおける、計数クロックΦバー(D1)、フリップフロップFF6のQ出力(D2)、及び、フリップフロップFF7のQ出力(D3)を取得して記憶する。   As described with reference to FIG. 6, at the timing (T7) when the AC power supply is turned off, only the power supply abnormality signal ABN1 quickly drops to the L level while the DC voltage Vcc is maintained at a normal value. Accordingly, since the output of the NOT gate G6 rises correspondingly, the three flip-flops FF3 to FF5 each have the count clock Φ bar (D1) and the Q output (D2) of the flip-flop FF6 at that timing, respectively. The Q output (D3) of the flip-flop FF7 is acquired and stored.

ここで、計数クロックΦのディーティ比が50%であり、周波数が8MHzであると仮定すると、計数クロックΦバーの電圧レベルD1は、1/(2*8*10)[秒]の均一時間幅で、LレベルとHレベルとを繰り返す。また、この場合、フリップフロップFF6のQ出力D2は、256/(8*10)[秒]の均一時間幅で、LレベルとHレベルとを繰り返し、フリップフロップFF7のQ出力D3は、256*256/(8*10)[秒]の均一時間幅で、LレベルとHレベルとを繰り返す。 Here, assuming that the duty ratio of the count clock Φ is 50% and the frequency is 8 MHz, the voltage level D1 of the count clock Φ bar is equal to 1 / (2 * 8 * 10 6 ) [seconds]. The L level and the H level are repeated with the width. In this case, the Q output D2 of the flip-flop FF6 repeats the L level and the H level with a uniform time width of 256 / (8 * 10 6 ) [seconds], and the Q output D3 of the flip-flop FF7 is 256. * L level and H level are repeated with a uniform time width of 256 / (8 * 10 6 ) [seconds].

そのため、3ビットのデータD3〜D1(ランダム情報D3〜D1)を、ある程度長い時間幅(例えば、216進カウンタ値が30回循環する0.5秒程度)で評価した場合には、データD3〜D1は1/8の均等確率で、000〜111の何れかの値を採ることになる。そして、このランダムな3ビットデータD3〜D1は、NOTゲートG6の出力の立上りエッジに同期して、各フリップフロップFF3〜FF5に不揮発的に保持される。先に説明した通り、NOTゲートG6の出力は、交流電源がOFF状態となるタイミング(T7)で立上るので、3つのフリップフロップFF3〜FF5は、その瞬間のランダム情報D1〜D3を記憶する。 Therefore, when the 3-bit data D3~D1 (Random information D3~D1), were evaluated in a relatively long duration (e.g., about 0.5 second to 2 hexadecimal counter value is circulated 30 times), the data D3 ~ D1 is an equal probability of 1/8 and takes any value from 000 to 111. The random 3-bit data D3 to D1 are held in the flip-flops FF3 to FF5 in a nonvolatile manner in synchronization with the rising edge of the output of the NOT gate G6. As described above, since the output of the NOT gate G6 rises at the timing (T7) when the AC power supply is turned off, the three flip-flops FF3 to FF5 store the random information D1 to D3 at that moment.

<始動回路44>
始動回路44は、3ビットデータD1〜D3に対応してON/OFF動作するアナログスイッチAS1〜AS3と、アナログスイッチAS1〜AS3の一方側端子と電源電圧Vccとの間に共通的に接続されるプルアップ抵抗R35と、アナログスイッチAS1〜AS3の他方側端子とグランド間に個々的に接続されるコンデンサC30〜C32と、NチャンネルMOSトランジスタQ6と、トランジスタQ6のドレイン端子と電源電圧Vccとの間に接続される負荷抵抗R36とを有して構成されている。
<Starting circuit 44>
The starting circuit 44 is connected in common between the analog switches AS1 to AS3 that perform ON / OFF operations corresponding to the 3-bit data D1 to D3, and one side terminals of the analog switches AS1 to AS3 and the power supply voltage Vcc. Between the pull-up resistor R35, capacitors C30 to C32 individually connected between the other terminals of the analog switches AS1 to AS3 and the ground, the N-channel MOS transistor Q6, the drain terminal of the transistor Q6 and the power supply voltage Vcc And a load resistor R36 connected to the.

図示の通り、トランジスタQ6のゲート端子は、アナログスイッチAS1〜AS3の一方側端子に共通的に接続され、ソース端子は、グランドに接続されている。なお、アナログスイッチAS1〜AS3として、単一電源で動作する素子が好適に採用され、例えば、TS5A3159A(TI社)が使用される。このアナログスイッチAS1〜AS3は、制御端子の電圧がHレベルあるとON動作するが、各制御端子には、ランダム情報D1〜D3が供給されている。   As illustrated, the gate terminal of the transistor Q6 is commonly connected to one side terminals of the analog switches AS1 to AS3, and the source terminal is connected to the ground. Note that, as the analog switches AS1 to AS3, elements that operate with a single power source are suitably employed, and for example, TS5A3159A (TI Corporation) is used. The analog switches AS1 to AS3 are turned on when the voltage at the control terminal is at the H level, but random information D1 to D3 is supplied to each control terminal.

3つのコンデンサC30〜C32は、数μF以上のキャパシタンスを有し、各キャパシタンス値は、C31=2*C30、C32=4*C30に設定されている。そのため、アナログスイッチAS1〜AS3がON状態となると、ON状態のアナログスイッチに接続されたコンデンサC30〜C32が互いに並列接続されることになり、これらのコンデンサが、プルアップ抵抗R35を経由して正方向に充電される。   The three capacitors C30 to C32 have a capacitance of several μF or more, and the capacitance values are set to C31 = 2 * C30 and C32 = 4 * C30. Therefore, when the analog switches AS1 to AS3 are turned on, the capacitors C30 to C32 connected to the analog switches in the ON state are connected in parallel to each other, and these capacitors are positively connected via the pull-up resistor R35. Charged in the direction.

本実施例では、C31=2*C30、C32=4*C30のキャパシタンス値に設定されているので、アナログスイッチAS1〜AS3の制御端子に供給される3ビットのランダム情報D3〜D1に対応して、合成キャパシタンス値が直線的に変化する。具体的には、D3〜D1=000,001,010,011,・・・・111に対応して、合成キャパシタンス値が、0,C30,2*C30,3*C30,・・・7*C30となる。   In this embodiment, the capacitance values are set to C31 = 2 * C30 and C32 = 4 * C30. Therefore, corresponding to the 3-bit random information D3 to D1 supplied to the control terminals of the analog switches AS1 to AS3. The combined capacitance value changes linearly. Specifically, the combined capacitance values are 0, C30, 2 * C30, 3 * C30,... 7 * C30 corresponding to D3 to D1 = 000,001,010,011,. It becomes.

したがって、プルアップ抵抗R35と合成キャパシタンスとで構成される充電回路の時定数は、3ビッのランダム情報D3〜D1に対応して、0,τ,2τ,3τ,・・・7τのように直線的に変化する。この充電回路は、電源電圧Vccが供給され始める電源投入時に機能し、0〜7τの時定数に対応する充電時間を経て、トランジスタQ6のゲート端子を0ボルトから論理Hレベルの電圧レベルまで増加させる。   Therefore, the time constant of the charging circuit constituted by the pull-up resistor R35 and the combined capacitance is a straight line such as 0, τ, 2τ, 3τ,... 7τ corresponding to the 3-bit random information D3 to D1. Changes. This charging circuit functions when the power supply voltage Vcc starts to be supplied, and increases the gate terminal of the transistor Q6 from 0 volts to a logic H level voltage level after a charging time corresponding to a time constant of 0 to 7τ. .

そして、トランジスタQ6のゲート端子にHレベルの電圧が供給されると、トランジスタQ6がON状態に遷移することで、ドレイン端子が0レベルとなる。トランジスタQ6のドレイン端子は、カウンタ回路42の動作禁止端子CCKENに接続されているので、トランジスタQ6のドレイン端子が0レベルになった後は、カウンタ回路42の計数動作が許可され、逆に、ドレイン端子が0レベルに降下するまでの電源始動時には、カウンタ回路42の計数動作が禁止される。   Then, when an H level voltage is supplied to the gate terminal of the transistor Q6, the transistor Q6 changes to the ON state, so that the drain terminal becomes 0 level. Since the drain terminal of the transistor Q6 is connected to the operation prohibiting terminal CCKEN of the counter circuit 42, the counting operation of the counter circuit 42 is permitted after the drain terminal of the transistor Q6 becomes 0 level. At the time of starting the power supply until the terminal drops to 0 level, the counting operation of the counter circuit 42 is prohibited.

この計数動作が禁止される時間は、3ビットのランダム情報D3〜D1に対応してランダムとなるので、不正遊技者が電源投入時からの経過時間に応じて大当り状態のタイミングを知ることはできない。すなわち、電源投入時からの経過時間が同じでも、遊技機毎に、また、営業日毎に、カウンタ回路42の動作禁止端子CCKENがHレベルを維持する動作禁止期間が異なるので、大当りタイミングを狙った不正遊技を成功させることができない。   Since the time during which the counting operation is prohibited is random corresponding to the 3-bit random information D3 to D1, the illegal player cannot know the timing of the big hit state according to the elapsed time since the power is turned on. . That is, even if the elapsed time from the time of power-on is the same, the operation prohibition period in which the operation prohibition terminal CCKEN of the counter circuit 42 maintains the H level is different for each gaming machine and for each business day. Unauthorized gaming cannot be successful.

動作禁止期間は、適宜に設定されるが、例えば、3ビットのランダム情報D3〜D1に対応して、0.1秒、0.2秒、・・・0.7秒程度に設定すればよい。このような設計の場合、ランダム情報の最下位桁D1の相違だけで0.1秒の差が生じ、その0.1秒の間に、216進カウンタ値が6回程度循環するので、不正遊技を確実に防止できると考えられる。しかも、C31、C32、C30として、敢えて、低精度の部品を使用することで、動作禁止期間を更に微妙にランダム化することができる。 The operation prohibition period is set as appropriate, but may be set to about 0.1 seconds, 0.2 seconds,..., 0.7 seconds, for example, corresponding to the 3-bit random information D3 to D1. . For such a design, the difference between the differences only 0.1 second least significant digit D1 random information is generated, during the 0.1 second, since 2 16 binary counter value to circulate about 6 times, unauthorized It is thought that gaming can be surely prevented. In addition, the operation prohibition period can be further subtly randomized by using low-precision parts as C31, C32, and C30.

続いて、遊技動作を統括的に制御する主制御部21のプログラムの概要を説明する。図10〜図11は、主制御部21の制御プログラムを示すフローチャートである。主制御部21の制御プログラムは、電源電圧の復旧や投入に基づいて起動されるシステムリセット処理(図10)と、所定時間毎(2mS)に起動されるマスク可能なタイマ割込み処理(図11(a))とで構成されている。なお、払出制御部24の動作内容も、システムリセット処理とタイマ割込み処理の基本構成において共通している。   Next, an outline of a program of the main control unit 21 that controls the game operation in an integrated manner will be described. 10 to 11 are flowcharts showing a control program of the main control unit 21. The control program of the main control unit 21 includes a system reset process (FIG. 10) that is activated based on the restoration or input of the power supply voltage, and a maskable timer interrupt process (FIG. 11 (FIG. 11) that is activated every predetermined time (2 mS). a)). The operation content of the payout control unit 24 is also common in the basic configuration of the system reset process and the timer interrupt process.

以下、図10を参照しつつ、システムリセット処理プログラム(メイン処理)について説明する。メイン処理が開始されるのは、停電状態からの復旧時のように初期化スイッチSWがOFF状態で電源がON状態になる場合と、遊技ホールの開店時のように、初期化スイッチSWがON操作されて電源がON状態になる場合とがある。なお、制御プログラムが暴走したことにより、電源電圧監視用IC2のウォッチドッグタイマ機能が発揮されてCPUが強制的にリセットされる場合もある。   Hereinafter, the system reset processing program (main processing) will be described with reference to FIG. The main process is started when the initialization switch SW is turned off and the power is turned on, such as when recovering from a power failure, and when the game hall is opened, the initialization switch SW is turned on. There is a case where the power source is turned on by being operated. Note that when the control program runs away, the watchdog timer function of the power supply voltage monitoring IC 2 is exhibited and the CPU may be forcibly reset.

何れの場合でも、Z80CPUは、最初に自らを割込み禁止状態に設定すると共に(ST1)、割込みモード2に設定する(ST2)。また、CPU内部のスタックポインタSPの値を、スタック領域の最終アドレスに初期設定すると共に(ST3)、ワンチップマイコンの各部を含めて内部レジスタの値を初期設定する(ST4)。   In any case, the Z80 CPU first sets itself to the interrupt disabled state (ST1) and sets to the interrupt mode 2 (ST2). Further, the value of the stack pointer SP in the CPU is initialized to the final address of the stack area (ST3), and the values of internal registers including each part of the one-chip microcomputer are initialized (ST4).

続いて、入力ポートから電源異常信号ABN1を取得し、これが正常レベルに変化するまで、同一の処理を繰返す(ST5〜ST6)。これは、電源遮断時に、図11(b)のST41の処理を終えた後でも、電源電圧Vccが降下し切らない場合もあることを考慮したものである。すなわち、図11(b)の電源監視処理を終えて、無限ループ処理を繰返しているタイミングで、ウォッチドッグタイマ機能が発揮されてCPUがリセットされることがあっても、その後の処理は、ステップST7以降に進むことはない。   Subsequently, the power supply abnormality signal ABN1 is acquired from the input port, and the same processing is repeated until it changes to a normal level (ST5 to ST6). This takes into consideration that the power supply voltage Vcc may not drop down even after the processing of ST41 in FIG. That is, even if the watchdog timer function is exhibited and the CPU is reset at the timing when the power monitoring process of FIG. There is no progress after ST7.

このような待機処理(ST5〜ST6)を設けていないと、ステップST5から進行した定常処理によってRAMのデータ(チェックサム演算の基礎データや、ST33で更新されるバックアップフラグBFL)が書き換えられ、しかも、そのデータが電源遮断後も保存されることになる。このような場合、翌日の判定において、バックアップフラグBFL=0となるか、或いは、前日にバックアップされたチェックサム値(ST38)と、翌日の電源投入後に算出するチェックサム値に不一致となるので、せっかくのバックアップ処理(ST37〜ST38)が無駄になる。   If such standby processing (ST5 to ST6) is not provided, the RAM data (the basic data of the checksum calculation and the backup flag BFL updated in ST33) is rewritten by the steady processing that has proceeded from step ST5. The data will be saved even after the power is turned off. In such a case, in the next day determination, the backup flag BFL = 0, or the checksum value backed up on the previous day (ST38) does not match the checksum value calculated after powering on the next day. Precious backup processing (ST37 to ST38) is wasted.

また、ステップST5〜ST6の処理は、電源電圧監視用IC2によるウォッチドッグタイマ機能と協働することで、交流入力電圧の給電が一瞬だけ停止される瞬停状態でも有効に機能する。すなわち、図5に関して説明した通り、たとえ瞬停状態であっても、電源異常信号ABN1,ABN2が主制御部21と払出制御部24に供給されるので、図11(b)の電源監視処理が開始されることがある。そして、電源異常信号ABN1,ABN2のパルス幅によっては、ステップST36〜ST40の処理を終えて無限ループ処理に移行する可能性もある。しかし、このような場合であっても、その後ウォッチドッグタイマ機能によってCPUがリセットされ、その後、ステップST5〜ST6の処理を通過することで、それまでの遊技動作を再開することができる。   In addition, the processes in steps ST5 to ST6 function effectively even in a momentary power interruption state in which the supply of the AC input voltage is stopped for a moment by cooperating with the watchdog timer function of the power supply voltage monitoring IC 2. That is, as described with reference to FIG. 5, the power supply abnormality signals ABN1 and ABN2 are supplied to the main control unit 21 and the payout control unit 24 even in the instantaneous power failure state. May be started. Depending on the pulse widths of the power supply abnormality signals ABN1 and ABN2, there is a possibility that the processing of steps ST36 to ST40 is finished and the processing proceeds to an infinite loop processing. However, even in such a case, after that, the CPU is reset by the watchdog timer function, and then the game operation up to that point can be resumed by passing through the processing of steps ST5 to ST6.

このような場合も含め、ステップST6の処理において、電源異常信号ABN1が正常レベルであることが確認されたら、続いて、入力ポートP2(図7)からRAMクリア信号CLRを取得する(ST7)。先に説明した通り、RAMクリア信号CLRとは、ワンチップマイコンの内蔵RAMの全領域を初期設定するか否かを決定する信号であって、係員が操作する初期化スイッチSWのON/OFF状態に対応した値を有している。   Including the above case, if it is confirmed in step ST6 that the power supply abnormality signal ABN1 is at a normal level, the RAM clear signal CLR is subsequently acquired from the input port P2 (FIG. 7) (ST7). As described above, the RAM clear signal CLR is a signal for determining whether or not to initialize all areas of the built-in RAM of the one-chip microcomputer, and the ON / OFF state of the initialization switch SW operated by the attendant It has a value corresponding to.

次にRAMクリア信号のレベルが判定されるが(ST8)、RAMクリア信号がON状態であったと仮定すると、内蔵RAMの全領域がゼロクリアされる(ST12)。したがって、図11(b)のステップST37の処理でセットされたバックアップフラグBFLの値は、他のチェックサム値などと共にゼロとなる。   Next, the level of the RAM clear signal is determined (ST8). Assuming that the RAM clear signal is in the ON state, the entire area of the built-in RAM is cleared to zero (ST12). Therefore, the value of the backup flag BFL set in the process of step ST37 in FIG. 11B becomes zero together with other checksum values.

次に、RAM領域がゼロクリアされたことを報知するための電源投入コマンドが出力され(ST13)、タイマ割込み動作(図11(a))を起動する割込み信号INTを出力するCTCを初期設定する(ST14)。そして、CPUを割込み禁止状態にセットした状態で(ST15)、各種のカウンタついて更新処理を実行し(ST16)、その後、CPUを割込み許可状態に戻してステップST15に戻る。なお、ステップST16で更新されるカウンタには、外れ図柄用カウンタが含まれているが、この外れ図柄用カウンタは、図11(a)の特別図柄処理(ST27)における大当り抽選処理の結果が外れ状態となった場合に、どのような態様の外れゲームを演出するかを決定するためのカウンタである。   Next, a power-on command for notifying that the RAM area has been cleared to zero is output (ST13), and the CTC that outputs the interrupt signal INT for starting the timer interrupt operation (FIG. 11A) is initialized ( ST14). Then, with the CPU set to the interrupt disabled state (ST15), update processing is executed for various counters (ST16), and then the CPU is returned to the interrupt enabled state and returns to step ST15. The counter updated in step ST16 includes a miss symbol counter, but this miss symbol counter is out of the result of the big hit lottery process in the special symbol process (ST27) of FIG. It is a counter for deciding what kind of out-of-game to produce when it becomes a state.

さて、ステップST8の判定処理に戻って説明すると、CPUがウォッチドッグタイマによって強制的にリセットされた場合や、停電状態からの復旧時には、RAMクリア信号はOFF状態である。そして、このような場合には、ステップST8の判定に続いて、バックアップフラグBFLの内容が判定される(ST9)。バックアップフラグBFLとは、図11(b)の電源監視処理の動作が実行されたことを示すデータであり、この実施例では、電源遮断時のステップST37の処理でバックアップフラグBFLが5AHとされ、電源復帰後のステップST33の処理でゼロクリアされる。   Returning to the determination process in step ST8, the RAM clear signal is OFF when the CPU is forcibly reset by the watchdog timer or when recovering from the power failure state. In such a case, following the determination in step ST8, the content of the backup flag BFL is determined (ST9). The backup flag BFL is data indicating that the operation of the power supply monitoring process of FIG. 11 (b) has been executed. In this embodiment, the backup flag BFL is set to 5AH in the process of step ST37 when the power is turned off. It is cleared to zero in the process of step ST33 after the power is restored.

電源投入時や、停電状態からの復旧時である場合には、バックアップフラグBFLの内容が5AHの筈である。但し、何らかの理由でプログラムが暴走状態となり、ウォッチドッグタイマによるCPUリセット動作が生じたような場合には、バックアップフラグBFL=00Hである。したがって、BFL≠5AH(通常はBFL=00H)となる場合には、ステップST9からステップST12の処理に移行させて遊技機の動作を初期状態に戻す。   When the power is turned on or when recovering from a power failure, the content of the backup flag BFL is 5AH. However, if the program goes into a runaway state for some reason and a CPU reset operation is caused by the watchdog timer, the backup flag BFL = 00H. Therefore, when BFL ≠ 5AH (normally BFL = 00H), the process proceeds from step ST9 to step ST12 to return the operation of the gaming machine to the initial state.

一方、バックアップフラグBFL=5AHであれば、チェックサム値を算出するためのチェックサム演算を実行する(ST10)。ここで、チェックサム演算とは、内蔵RAMのワーク領域を対象とする8ビット加算演算である。そして、チェックサム値が算出されたら、この演算結果を、RAMのSUM番地の記憶値と比較をする(ST11)。   On the other hand, if backup flag BFL = 5AH, checksum calculation for calculating the checksum value is executed (ST10). Here, the checksum operation is an 8-bit addition operation for the work area of the built-in RAM. When the checksum value is calculated, the calculation result is compared with the stored value at the SUM address in the RAM (ST11).

SUM番地には、電圧降下時に実行される電源監視処理(図11(b))において、同じチェックサム演算によるチェックサム値が記憶されている(ST38)。そして、記憶された演算結果は、内蔵RAMの他のデータと共に、バックアップ電源によって維持されている。したがって、本来は、ステップST11の判定によって両者が一致する筈である。   In the SUM address, the checksum value by the same checksum calculation is stored in the power supply monitoring process (FIG. 11B) executed when the voltage drops (ST38). The stored calculation results are maintained by a backup power source together with other data in the built-in RAM. Therefore, the two should be matched by the determination in step ST11.

しかし、電源降下時にチェックサム演算(ST38)の実行できなかった場合や、実行できても、その後、メイン処理のチェックサム演算(ST10)の実行時までの間に、ワーク領域のデータが破損している場合もあり、このような場合にはステップST11の判定結果は不一致となる。判定結果の不一致によりデータ破損が検出された場合には、ステップST12の処理に移行させてRAMクリア処理を実行し、遊技機の動作を初期状態に戻す。一方、ステップST9の判定において、チェックサム演算(ST10)によるチェックサム値と、SUM番地の記憶値とが一致する場合には、ステップST14の処理に移行する。   However, if the checksum calculation (ST38) cannot be executed when the power is turned off, or if it can be executed, the data in the work area will be damaged until the checksum calculation (ST10) of the main process is executed. In such a case, the determination result in step ST11 is inconsistent. If data corruption is detected due to a discrepancy between the determination results, the process proceeds to step ST12 to execute a RAM clear process, and the operation of the gaming machine is returned to the initial state. On the other hand, if it is determined in step ST9 that the checksum value obtained by the checksum calculation (ST10) matches the stored value at the SUM address, the process proceeds to step ST14.

続いて、上記したメイン処理を中断させて、2mS毎に開始されるタイマ割込み処理プログラム(図11(a))を説明する。タイマ割込みが生じると、CPUのレジスタを保存することなく、直ちに電源監視処理が実行される(ST20)。これは、タイマ割込み処理が起動されるタイミングが、ステップST15の直後に固定されているためである。   Next, a timer interrupt processing program (FIG. 11 (a)) that is started every 2 mS while interrupting the main processing described above will be described. When the timer interrupt occurs, the power supply monitoring process is immediately executed without saving the CPU register (ST20). This is because the timing at which the timer interrupt process is started is fixed immediately after step ST15.

電源監視処理(ST20)では、電源基板20から供給されている電源異常信号のレベルを判定するが、具体的な処理内容については後述する。電源監視処理(ST20)が終わると、普通図柄処理(ST26)における抽選動作で使用される当り用カウンタRGが更新される(ST21)。なお、特別図柄処理(ST27)における抽選動作で使用される大当り判定用の乱数値RNDは、図7に示す乱数生成回路において高速度(1/8MHzの時間間隔)で自動的に更新されている。   In the power supply monitoring process (ST20), the level of the power supply abnormality signal supplied from the power supply board 20 is determined. The specific processing content will be described later. When the power supply monitoring process (ST20) ends, the winning counter RG used in the lottery operation in the normal symbol process (ST26) is updated (ST21). The jackpot determination random number RND used in the lottery operation in the special symbol processing (ST27) is automatically updated at a high speed (1/8 MHz time interval) in the random number generation circuit shown in FIG. .

カウンタRGの更新処理(ST21)が終わると、各遊技動作の時間を管理しているタイマについて、タイマ減算処理が行なわれる(ST22)。ここで減算されるタイマは、主として、電動チューリップや大入賞口の開放時間やその他の遊技演出時間を管理するために使用される。   When the counter RG update process (ST21) is completed, a timer subtraction process is performed for the timer managing the time of each gaming operation (ST22). The timer to be subtracted here is mainly used for managing the opening time of the electric tulip and the special winning opening and other game effect times.

続いて、電源電圧監視用IC2のCK端子にクリアパルスを出力すると共に、図柄始動口15や大入賞口16の入賞検出スイッチを含む各種スイッチ類のON/OFF信号が入力され、ワーク領域にON/OFF信号レベルや、その立上り状態が記憶される(ST23)。なお、遊技球が図柄始動口15に入賞したか否かを示す入賞スイッチ信号Honは、図7に示す入力ポートP1を経由して取得される。次に、エラー管理処理が行われる(ST24)。エラー管理処理は、遊技球の補給が停止したり、遊技球が詰まっていないかなど、機器内部に異常が生じていないかの判定を含んでいる。   Subsequently, a clear pulse is output to the CK terminal of the power supply voltage monitoring IC 2, and ON / OFF signals of various switches including a winning detection switch of the symbol start opening 15 and the big winning opening 16 are input, and the work area is turned ON. The / OFF signal level and its rising state are stored (ST23). The winning switch signal Hon indicating whether or not the game ball has won the symbol start port 15 is acquired via the input port P1 shown in FIG. Next, error management processing is performed (ST24). The error management process includes a determination as to whether an abnormality has occurred inside the device, such as whether or not the supply of game balls has stopped or the game balls are clogged.

続いて、図柄始動口や大入賞口などからの検出信号に基づく管理処理を実行した後(ST25)、普通図柄処理を行う(ST26)。普通図柄処理とは、電動チューリップなど、普通電動役物を作動させるか否かの判定を意味する。具体的には、ステップST23のスイッチ入力処理で、遊技球がゲートを通過していると判定された場合に、乱数更新処理(ST21)で更新された当り用カウンタRGを、当り当選値と対比して行われる。そして、対比結果が当選状態であれば当り中の動作モードに変更する。また、当り中となれば、電動チューリップなど、普通電動役物の作動に向けた処理を行う。   Subsequently, after executing a management process based on detection signals from the symbol start opening and the big winning opening (ST25), a normal symbol process is performed (ST26). The normal symbol processing means determination as to whether or not to operate an ordinary electric accessory such as an electric tulip. Specifically, when it is determined in the switch input process in step ST23 that the game ball has passed through the gate, the winning counter RG updated in the random number update process (ST21) is compared with the winning winning value. Done. If the comparison result is a winning state, the operation mode is changed to the winning operation mode. In addition, if it is a hit, processing for the operation of a normal electric accessory such as an electric tulip is performed.

続いて、特別図柄処理を行う(ST27)。特別図柄処理とは、大入賞口16など特別電動役物を作動させるか否かの判定であり、ステップST23のスイッチ入力処理で、図柄始動口に遊技球が入賞したと判定された場合には、乱数生成回路のカウンタ回路42から16ビット長の乱数値RNDを8ビット毎に取得する。図7に示す通り、チップセレクト信号(負論理)CS3に同期して下位8ビットデータが取得され、チップセレクト信号CS4(負論理)に同期して下位8ビットデータが取得される。   Subsequently, special symbol processing is performed (ST27). The special symbol process is a determination as to whether or not a special electric accessory such as the big prize opening 16 is to be operated. When it is determined in the switch input process of step ST23 that a game ball has won a symbol start port. The 16-bit random number value RND is acquired every 8 bits from the counter circuit 42 of the random number generation circuit. As shown in FIG. 7, lower 8 bit data is acquired in synchronization with the chip select signal (negative logic) CS3, and lower 8 bit data is acquired in synchronization with the chip select signal CS4 (negative logic).

そして、取得した乱数値RNDに使用して大当り抽選処理を実行する(ST66)。図示省略しているが、抽選結果が当選状態であれば大当り中の動作モードに変更する。また、大当り中となれば、大入賞口など種特別電動役物の作動に向けた処理を行う。   Then, the jackpot lottery process is executed using the acquired random number value RND (ST66). Although not shown in the drawing, if the lottery result is a winning state, the operation mode is changed to a big hit mode. In addition, if it is a big hit, processing for the operation of special electric accessories such as a big prize opening is performed.

このような特別図柄処理(ST27)の後、主制御部21で管理するLEDについて点灯動作を進行させると共に(ST28)、電動チューリップや大入賞口などの開閉動作を実現するソレノイド駆動処理を実行した後(ST29)、CPUを割込み許可状態EIに戻してタイマ割込みを終える(ST30)。その結果、割込み処理ルーチンからメイン処理の無限ループ処理(図10)に戻り、ステップST17の処理が実行される。   After such special symbol processing (ST27), the lighting operation of the LEDs managed by the main control unit 21 is advanced (ST28), and the solenoid drive processing for realizing the opening / closing operation of the electric tulip, the big prize opening, etc. is executed. Later (ST29), the CPU is returned to the interrupt permission state EI and the timer interrupt is finished (ST30). As a result, the process returns from the interrupt process routine to the infinite loop process (FIG. 10) of the main process, and the process of step ST17 is executed.

続いて、図11(b)に示す電源監視処理(ST20)について説明する。電源監視処理(ST20)では、先ず、電源基板20から供給される電源異常信号ABN1を、入力ポートP2(図7)を通して取得し(ST31)、それが異常レベルでないか判定する(ST32)。そして、異常レベルでない場合には、異常回数カウンタとバックアップフラグBFLをゼロクリアして処理を終える(ST33)。   Then, the power supply monitoring process (ST20) shown in FIG.11 (b) is demonstrated. In the power supply monitoring process (ST20), first, a power supply abnormality signal ABN1 supplied from the power supply board 20 is acquired through the input port P2 (FIG. 7) (ST31), and it is determined whether or not it is an abnormal level (ST32). If it is not an abnormal level, the abnormal number counter and the backup flag BFL are cleared to zero and the process is terminated (ST33).

一方、電源異常信号ABN1が異常レベルである場合には、異常回数カウンタをインクリメント(+1)して(ST34)、計数結果が上限値MAXを超えていないかを判定する(ST35)。これは、入力ポートからの取得データが、ノイズなどの影響でビット化けしている可能性があることを考慮したものであり、所定回数(例えば、上限値MAX=2)連続して異常レベルを維持する場合には、交流電源が現に遮断されたと判定する。   On the other hand, if the power supply abnormality signal ABN1 is at the abnormal level, the abnormality number counter is incremented (+1) (ST34), and it is determined whether the counting result exceeds the upper limit value MAX (ST35). This is because the data acquired from the input port may be garbled due to the influence of noise or the like, and the abnormal level is continuously set for a predetermined number of times (for example, upper limit MAX = 2). In the case of maintaining, it is determined that the AC power source is actually shut off.

このように、本実施例では、電源遮断時にも、直ぐには以降のバックアップ処理を開始せず、動作開始のタイミングが、MAX×2mSだけ遅れる。しかし、(1)電源降下信号は、直流電源電圧の降下ではなく、交流直流電圧の降下を検出すること、(2)直流電源電圧は、大容量のコンデンサによって交流電源の遮断後もしばらくは維持されること、(3)電源監視処理が高速度(2mS毎)で繰り返されること、(4)バックアップ処理が極めてシンプルであり、迅速に終わることから、実質的には何の弊害もない。   As described above, in this embodiment, the subsequent backup processing is not started immediately even when the power is turned off, and the operation start timing is delayed by MAX × 2 mS. However, (1) The power supply drop signal is not a drop in the DC power supply voltage, but a drop in the AC DC voltage is detected. (2) The DC power supply voltage is maintained for a while after the AC power supply is shut off by a large capacity capacitor. (3) The power supply monitoring process is repeated at a high speed (every 2 ms), and (4) the backup process is extremely simple and finishes quickly, so there is virtually no adverse effect.

ところで、ステップST35の判定の結果、異常回数カウンタの計数値が上限値MAXに一致した場合には、異常回数カウンタをゼロクリアした後(ST36)、バックアップフラグBFLに5AHを設定する(ST37)。次に、メインルーチンのステップST7の場合と、全く同じ演算を、全く同じ作業領域(ワークエリア)に対して実行し、その演算結果を記憶する(ST38)。なお、実行される演算は、典型的には8ビット加算演算である。   By the way, as a result of the determination in step ST35, if the count value of the abnormal number counter coincides with the upper limit value MAX, the abnormal number counter is cleared to zero (ST36), and then 5AH is set to the backup flag BFL (ST37). Next, the same calculation as in step ST7 of the main routine is executed for the same work area (work area), and the calculation result is stored (ST38). The operation to be executed is typically an 8-bit addition operation.

そして、その後はワンチップマイコンをRAMアクセス禁止状態に設定すると共に(ST39)、全ての出力ポートの出力データをクリアする(ST40)。以上のバックアップ処理が終われば、CTCに対する設定処理によって割込み信号INTの生成を禁止すると共に、無限ループ処理を繰り返しつつ直流電源電圧が降下するのを待つ(ST41)。なお、このタイミングでは、CPUは、もともと割込み禁止状態であるが(ST30参照)、電源電圧の降下による誤動作の可能性を、可能な限り排除する趣旨から、本実施例では、CTCからの割込み信号INTの出力も禁止している。   Thereafter, the one-chip microcomputer is set to a RAM access prohibited state (ST39), and output data of all output ports is cleared (ST40). When the above backup process is completed, the generation of the interrupt signal INT is prohibited by the setting process for the CTC, and the DC power supply voltage is lowered while repeating the infinite loop process (ST41). At this timing, the CPU is originally in an interrupt disabled state (see ST30). However, in this embodiment, an interrupt signal from the CTC is used to eliminate as much as possible the possibility of malfunction due to a drop in power supply voltage. INT output is also prohibited.

ところで、先に説明した通り、ステップST20の処理は、交流電源の遮断後(図6のタイミングT7参照)、2mS以内に迅速に開始され、速やかに終了される。一方、電源電圧Vccが所定レベルまで降下するのは、電源回路などに配置された平滑コンデンサの影響でかなり遅れる(図6のタイミングT8参照)。   By the way, as described above, the process of step ST20 is quickly started within 2 mS after the AC power supply is shut off (see timing T7 in FIG. 6) and is quickly ended. On the other hand, the drop in power supply voltage Vcc to a predetermined level is considerably delayed due to the influence of a smoothing capacitor arranged in a power supply circuit or the like (see timing T8 in FIG. 6).

そして、電源電圧Vccが所定レベルまで降下しない限り、電源電圧監視用IC2のウォッチドッグタイマは機能し続ける。そのため、ステップST20の処理が開始され、全ての処理が終わった後、無限ループ処理中に、ウォッチドッグタイマによってCPUが異常リセットされる可能性もある。しかし、前記した通り、本実施例では、ステップST5〜ST6の待機処理を設けているので、バックアップ処理が無駄になることはない。なお、ST31→ST32→ST34→ST35→ST36→・・・ST41までの電源監視処理の全処理時間は、クリアパルスの出力周期(2mS)より短く設定されており、電源監視処理を終えるまでにウォッチドッグタイマが起動することはない。   As long as the power supply voltage Vcc does not drop to a predetermined level, the watchdog timer of the power supply voltage monitoring IC 2 continues to function. Therefore, there is a possibility that the CPU is abnormally reset by the watchdog timer during the infinite loop process after the process of step ST20 is started and all processes are completed. However, as described above, in this embodiment, the standby process of steps ST5 to ST6 is provided, so that the backup process is not wasted. Note that the entire processing time of the power supply monitoring process from ST31 → ST32 → ST34 → ST35 → ST36 →... ST41 is set shorter than the output period (2 mS) of the clear pulse, The dog timer will not start.

以上、本発明の実施例を具体的に説明したが、具体的な記載内容は何ら本発明を限定するものではなく、各種の改変が可能である。例えば、実施例では、専ら弾球遊技機について説明したが、本発明をスロットマシンなど他の遊技機にも適用できるのは勿論である。   Although the embodiments of the present invention have been specifically described above, the specific description content is not intended to limit the present invention, and various modifications can be made. For example, in the embodiments, only the ball ball game machine has been described, but it is needless to say that the present invention can be applied to other game machines such as a slot machine.

また、図7の回路構成も特に限定されるものではなく、適宜に変更可能である。特に、記憶回路43について、本実施例では、計数クロックΦバーと、2つ桁上げ信号RCOを活用したが何ら限定されない。また、簡易的には、フリップフロップFF6,FF7を設けることなく、計数クロックΦバーや、2つ桁上げ信号RCOを、直接、フリップフロップFF3〜FF5のD入力端子に供給しても良い。   Also, the circuit configuration of FIG. 7 is not particularly limited, and can be changed as appropriate. In particular, for the memory circuit 43, the count clock Φ bar and the double carry signal RCO are used in the present embodiment, but the present invention is not limited thereto. For simplicity, the count clock Φ bar and the double carry signal RCO may be directly supplied to the D input terminals of the flip-flops FF3 to FF5 without providing the flip-flops FF6 and FF7.

図12(a)は、記憶回路43の第1変形例を例示したものである。ここでは、ワンチップマイコン21Aからカウンタ回路42に供給されるチップセレクト信号CS3を、3つのD型フリップフロップFF3〜FF5のクロック端子CLKに共通的に供給している。なお、チップセレクト信号CS3は、プルアップ抵抗Rpを通してバックアップ電源BAKに接続されている。   FIG. 12A illustrates a first modification of the memory circuit 43. Here, the chip select signal CS3 supplied from the one-chip microcomputer 21A to the counter circuit 42 is commonly supplied to the clock terminals CLK of the three D-type flip-flops FF3 to FF5. The chip select signal CS3 is connected to the backup power supply BAK through the pull-up resistor Rp.

また、この第1変形例では、カウンタ回路42の下位3ビットBit0〜Bit3を、フリップフロップFF3〜FF5のD入力端子に供給している。そのため、アクティブレベルとなったチップセレクト信号CS3の立上りエッジで、3ビットデータBit0〜Bit3が、フリップフロップFF3〜FF5に記憶される。なお、チップセレクト信号CS3がHレベルに立上った後は、3ビットデータBit0〜Bit3はHiZ状態である。   In the first modification, the lower 3 bits Bit0 to Bit3 of the counter circuit 42 are supplied to the D input terminals of the flip-flops FF3 to FF5. Therefore, the 3-bit data Bit0 to Bit3 are stored in the flip-flops FF3 to FF5 at the rising edge of the chip select signal CS3 that has reached the active level. After the chip select signal CS3 rises to the H level, the 3-bit data Bit0 to Bit3 are in the HiZ state.

チップセレクト信号CS3がアクティブレベル(Lレベル)になるのは、ワンチップマイコン21Aがカウンタ回路42から乱数値RNDを取得する時であるので、この実施例では、取得された乱数値RNDの下位3ビットが、フリップフロップFF3〜FF5に、順次、上書きされることになる。そして、電源遮断後は、最終に取得された乱数値RNDの下位3ビットが不揮発的に記憶維持される。なお、3ビットデータは、Bit0〜Bit15の任意の3Bitに代替可能であるのは勿論である。また、ランダム情報は、必ずしも3ビットである必要はなく、適宜に増加減少可能である。   The chip select signal CS3 becomes active level (L level) when the one-chip microcomputer 21A acquires the random number value RND from the counter circuit 42, and in this embodiment, the lower three of the acquired random number value RND. Bits are sequentially overwritten in the flip-flops FF3 to FF5. After the power is shut off, the lower 3 bits of the finally obtained random number value RND are stored and maintained in a nonvolatile manner. Of course, the 3-bit data can be replaced with any 3 bits of Bit0 to Bit15. The random information is not necessarily 3 bits, and can be increased or decreased as appropriate.

図12(b)は、記憶回路43の第2変形例を例示したものである。ここでは、2つのフリップフロップFF6〜FF7をT型フリップフロップとして動作させると共に、2ビットのバイナリカウンタを構成している。そして、計数クロックΦバーを、フリップフロップFF6のクロック端子CLKと、フリップフロップFF3のD入力端子に供給している。   FIG. 12B illustrates a second modification of the memory circuit 43. Here, the two flip-flops FF6 to FF7 are operated as T-type flip-flops, and a 2-bit binary counter is configured. The count clock Φbar is supplied to the clock terminal CLK of the flip-flop FF6 and the D input terminal of the flip-flop FF3.

そのため、3つのフリップフロップFF3〜FF5に供給される3ビットデータD1〜D3は、計数クロックΦバーに同期して、000〜111の数値範囲を循環する。そして、電源異常信号ABN1が降下する電源遮断時か、或いは、チップセレクト信号CS3がLアクティブとなる乱数値の取得時に、000〜111の何れかの値が、3つのフリップフロップFF3〜FF5にラッチされ、この値が電源遮断後も記憶維持される。この変形例でも、ランダム情報000〜111の出現確率は各々1/8であり、始動回路44は、電源投入時にランダムな始動動作を実行することができる。   Therefore, the 3-bit data D1 to D3 supplied to the three flip-flops FF3 to FF5 circulate in a numerical range of 000 to 111 in synchronization with the count clock Φbar. When the power failure occurs when the power supply abnormality signal ABN1 drops or when the random number value at which the chip select signal CS3 becomes L-active is acquired, any value from 000 to 111 is latched in the three flip-flops FF3 to FF5. This value is stored and maintained even after the power is turned off. Also in this modification, the appearance probability of the random information 000 to 111 is 1/8 each, and the starting circuit 44 can execute a random starting operation when the power is turned on.

ところで、電源投入時など、論理素子の動作が安定しないタイミングでも、正確な動作をする回路構成が望まれる。また、意図的に電源遮断動作と電源投入動作とを繰り返す違法行為も有り得る。そこで、好ましくは、図7に代えて、図13の回路構成を採るべきである。図13の乱数生成回路は、図7に示す記憶回路43及び始動回路44について、その回路構成を改善したものであり、図14は、回路動作を説明するタイミングチャートである。   By the way, a circuit configuration that operates accurately even when the operation of the logic element is not stable, such as when the power is turned on, is desired. In addition, there may be an illegal action that intentionally repeats the power-off operation and the power-on operation. Therefore, preferably, the circuit configuration of FIG. 13 should be adopted instead of FIG. The random number generation circuit of FIG. 13 is obtained by improving the circuit configuration of the memory circuit 43 and the start circuit 44 shown in FIG. 7, and FIG. 14 is a timing chart for explaining the circuit operation.

図13の乱数生成回路は、エミッタホロワー回路Q7,R36を経由して基礎リセット信号RS1を論理反転させるNOTゲートG6と、NOTゲートG6及びエミッタホロワー回路Q5,R30の出力を受けるNORゲートG7と、エミッタホロワー回路Q5,R30の出力に基づいてON/OFF動作するアナログスイッチAS4と、コンデンサC30〜C32の充電電荷を放電させるトランジスタQ7〜Q9とが追加して設けられている。   13 includes a NOT gate G6 that logically inverts the basic reset signal RS1 via the emitter follower circuits Q7 and R36, and a NOR gate G7 that receives the outputs of the NOT gate G6 and the emitter follower circuits Q5 and R30. In addition, an analog switch AS4 that performs an ON / OFF operation based on the outputs of the emitter follower circuits Q5 and R30, and transistors Q7 to Q9 that discharge the charged charges of the capacitors C30 to C32 are additionally provided.

NチャンネルMOSで構成されたトランジスタQ7〜Q9は、NOTゲートG6の出力がHレベルである場合に限りON動作する。また、フリップフロップFF3〜FF5は、NORゲートG7の出力が立上るタイミングでラッチ動作をする。   Transistors Q7 to Q9 composed of N-channel MOSs are turned on only when the output of NOT gate G6 is at the H level. The flip-flops FF3 to FF5 perform a latch operation at the timing when the output of the NOR gate G7 rises.

<電源遮断時>
以上の動作を踏まえて、先ず、電源遮断時の動作から説明する。NORゲートG7は、エミッタホロワー回路Q5,R30と、NOTゲートG6の出力に基づいて動作するため、NORゲートG7の出力は、基礎リセット信号RS1がRS1=Hであって、電源異常信号ABN1がABN1=LのタイミングだけがHレベルとなる(図14(d)参照)。
<When power is turned off>
Based on the above operation, the operation when the power is shut off will be described first. Since the NOR gate G7 operates based on the outputs of the emitter follower circuits Q5 and R30 and the NOT gate G6, the output of the NOR gate G7 is that the basic reset signal RS1 is RS1 = H and the power supply abnormality signal ABN1 is Only the timing of ABN1 = L becomes the H level (see FIG. 14D).

したがって、NORゲートG7の出力は、電源異常信号ABN1が立下る電源遮断時(タイミングT7)に立上り、その時のフロップフロップFF3〜FF5のD入力の値がラッチされ、ランダム情報D1〜D3として記憶保持される。なお、この電源遮断時(タイミングT7)には、電源異常信号ABN1が立下ることで、それまでON状態であったアナログスイッチAS4がOFF状態になる。   Therefore, the output of the NOR gate G7 rises when the power supply abnormality signal ABN1 falls when the power supply is cut off (timing T7), and the D input values of the flops FF3 to FF5 at that time are latched and stored as random information D1 to D3. Is done. When the power is shut off (timing T7), the power supply abnormality signal ABN1 falls, so that the analog switch AS4 that has been in the ON state is turned OFF.

その後、直流電源が降下し始めると(タイミングT8)、基礎リセット信号RS1がLレベルとなることに対応して、NOTゲートG6の出力がHレベルとなる。そのため、タイミングT8以降、トランジスタQ7〜Q9がON動作して、充電状態であったコンデンサC30〜C32について、その充電電荷が放電される。したがって、電源遮断後に直ちに電源が投入されても、設計通りの始動動作が実現される。   Thereafter, when the DC power supply starts to drop (timing T8), the output of the NOT gate G6 becomes H level corresponding to the basic reset signal RS1 becoming L level. Therefore, after the timing T8, the transistors Q7 to Q9 are turned on, and the charged charges are discharged from the charged capacitors C30 to C32. Therefore, even if the power is turned on immediately after the power is turned off, the start operation as designed is realized.

<電源投入時>
続いて、電源投入時の動作を説明する。電源が投入されると(タイミングT0)、先ず、電源異常信号ABN1が立上り(タイミングT1)、アナログスイッチAS4がON状態になる。そして、その後、基礎リセット信号RS1が立上るタイミングT3までは、トランジスタQ7〜Q9がON動作を維持するので、仮に充電されているコンデンサC30〜C32が存在しても、その充電電荷は確実に放電される。
<When power is turned on>
Next, the operation when the power is turned on will be described. When the power is turned on (timing T0), first, the power abnormality signal ABN1 rises (timing T1), and the analog switch AS4 is turned on. After that, until the timing T3 when the basic reset signal RS1 rises, the transistors Q7 to Q9 maintain the ON operation. Therefore, even if the capacitors C30 to C32 that are charged are present, the charged charges are surely discharged. Is done.

そして、電源電圧が正常レベルに立上ったタイミングT3の後、トランジスタQ7〜Q9がOFF状態となる。そのため、フリップフロップFF3〜FF5にラッチされているランダム情報D1〜D3に基づいて、コンデンサC30〜C32が充電され、ランダムな遅れ時間の後にカウンタCNT1,CNT2の更新動作が開始される。   Then, after the timing T3 when the power supply voltage rises to a normal level, the transistors Q7 to Q9 are turned off. Therefore, the capacitors C30 to C32 are charged based on the random information D1 to D3 latched in the flip-flops FF3 to FF5, and the updating operation of the counters CNT1 and CNT2 is started after a random delay time.

なお、ランダム情報D1〜D3が000の場合には、遅延時間なくカウンタの更新動作が開始されるのは、図7の回路構成の場合と同じである。   When the random information D1 to D3 is 000, the counter update operation is started without delay time, as in the circuit configuration of FIG.

GM 遊技機
Hon 検出信号
CT カウンタ
43 記憶回路
D3〜D1 ランダム情報
GM gaming machine Hon detection signal CT counter 43 memory circuit D3-D1 random information

Claims (11)

所定の遊技動作の発生を示す検出信号に起因して抽選処理を実行し、遊技者に有利な遊技状態を発生させるか否かを決定する遊技機であって、
前記抽選処理は、計数動作を禁止可能なカウンタのカウンタ値を取得し、この取得値を当選値と比較して実行され、
電源投入後において、前記カウンタの計数動作が禁止される時間は、電源遮断後も動作可能な記憶回路に記憶されたランダム情報に基づいて設定されるよう構成されたことを特徴とする遊技機。
A gaming machine that executes a lottery process due to a detection signal indicating the occurrence of a predetermined gaming action and determines whether or not to generate a gaming state advantageous to the player,
The lottery process is executed by acquiring a counter value of a counter that can prohibit the counting operation and comparing the acquired value with a winning value.
A gaming machine characterized in that after the power is turned on, the time during which the counting operation of the counter is prohibited is set based on random information stored in a memory circuit operable even after the power is turned off.
前記カウンタは、動作禁止信号が禁止レベルでない限り、計数クロックに同期して計数動作を実行するよう構成され、
保持指令を受けると前記カウンタのカウンタ値を記憶するラッチ回路と、読出指令を受けると前記ラッチ回路が記憶している前記カウンタ値を出力する出力回路とを、前記カウンタの後段側に設けた請求項1に記載の遊技機。
The counter is configured to perform a counting operation in synchronization with a counting clock unless the operation prohibiting signal is at a prohibiting level,
A latch circuit that stores a counter value of the counter when a holding command is received, and an output circuit that outputs the counter value stored in the latch circuit when a reading command is received are provided on the rear stage side of the counter. Item 1. A gaming machine according to Item 1.
前記カウンタの計数動作が禁止される時間は、コンデンサと抵抗とで構成された充電回路におけるコンデンサの充電時間で規定される請求項1又は2に記載の遊技機。   The gaming machine according to claim 1 or 2, wherein the time during which the counting operation of the counter is prohibited is defined by a capacitor charging time in a charging circuit including a capacitor and a resistor. 前記カウンタの計数動作が禁止される時間を規定する始動回路を設け、
前記始動回路は、Nビット長のランダム情報に対応して配置されたN個のコンデンサと、N個のコンデンサに各々直列接続されたN個のスイッチ回路と、N個のスイッチ回路に直流電圧を供給する給電部と、を有して構成されている
請求項1〜3の何れかに記載の遊技機。
A starting circuit for defining a time during which the counting operation of the counter is prohibited;
The starting circuit includes N capacitors arranged corresponding to random information of N bits length, N switch circuits connected in series to the N capacitors, and a DC voltage to the N switch circuits. A gaming machine according to any one of claims 1 to 3, further comprising: a power feeding unit to be supplied.
前記記憶回路は、交流電源が遮断されたことに基づいて、前記計数クロック、及び/又は、前記カウンタの桁上げ信号を取得して記憶するよう構成された請求項1〜4の何れかに記載の遊技機。   5. The storage circuit according to claim 1, wherein the storage circuit is configured to acquire and store the count clock and / or a carry signal of the counter based on the fact that the AC power supply is cut off. Game machines. 前記記憶回路は、前記カウンタのカウンタ値を取得されたことに基づいて、前記カウンタ値の一部を取得して記憶するよう構成された請求項1〜4の何れかに記載の遊技機。   The gaming machine according to claim 1, wherein the storage circuit is configured to acquire and store a part of the counter value based on the acquisition of the counter value of the counter. 前記カウンタは、電源投入時に他の回路基板からリセット信号を受けることなく電源リセットされる請求項1〜6の何れかに記載の遊技機。   The gaming machine according to claim 1, wherein the power of the counter is reset without receiving a reset signal from another circuit board when power is turned on. 前記保持指令は、遊技媒体が所定の入賞口に入賞したことに基づいて出力される請求項2に記載の遊技機。   The gaming machine according to claim 2, wherein the holding instruction is output based on a game medium having won a predetermined winning opening. 前記保持指令は、遊技者の遊技動作に基づいて出力される請求項2に記載の遊技機。   The gaming machine according to claim 2, wherein the holding command is output based on a game operation of the player. 前記保持指令は、前記計数クロックの一方エッジに同期するよう波形整形される請求項2〜9の何れかに記載の遊技機。   The gaming machine according to claim 2, wherein the holding command is waveform-shaped so as to be synchronized with one edge of the counting clock. 前記計数クロックの他方エッジに同期して、前記カウンタが更新される請求項10に記載の遊技機。   The gaming machine according to claim 10, wherein the counter is updated in synchronization with the other edge of the counting clock.
JP2010006083A 2010-01-14 2010-01-14 Game machine Expired - Fee Related JP5005776B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010006083A JP5005776B2 (en) 2010-01-14 2010-01-14 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010006083A JP5005776B2 (en) 2010-01-14 2010-01-14 Game machine

Publications (2)

Publication Number Publication Date
JP2011143058A JP2011143058A (en) 2011-07-28
JP5005776B2 true JP5005776B2 (en) 2012-08-22

Family

ID=44458442

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010006083A Expired - Fee Related JP5005776B2 (en) 2010-01-14 2010-01-14 Game machine

Country Status (1)

Country Link
JP (1) JP5005776B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5861138B2 (en) * 2010-07-23 2016-02-16 株式会社高尾 Game machine
JP7290144B2 (en) * 2020-11-02 2023-06-13 株式会社三洋物産 game machine
JP7290145B2 (en) * 2020-11-02 2023-06-13 株式会社三洋物産 game machine

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4425739B2 (en) * 2004-07-30 2010-03-03 株式会社三共 Game machine
JP4789862B2 (en) * 2007-05-29 2011-10-12 株式会社藤商事 Game machine
JP5466516B2 (en) * 2010-01-13 2014-04-09 株式会社ソフイア Game machine
JP5540264B2 (en) * 2010-01-13 2014-07-02 株式会社ソフイア Game machine

Also Published As

Publication number Publication date
JP2011143058A (en) 2011-07-28

Similar Documents

Publication Publication Date Title
JP4531844B1 (en) Game machine
JP5009247B2 (en) Game machine
JP4880737B2 (en) Game machine
JP5787936B2 (en) Game machine
JP5005776B2 (en) Game machine
JP4938121B2 (en) Game machine
JP5296858B2 (en) Game machine
JP5502916B2 (en) Game machine
JP4545218B1 (en) Game machine
JP2015013015A (en) Game machine
JP5356296B2 (en) Game machine
JP5665934B2 (en) Game machine
JP4724898B2 (en) Game machine
JP5612723B2 (en) Game machine
JP2012040128A (en) Game machine
JP5665935B2 (en) Game machine
JP5356295B2 (en) Game machine
JP4545220B1 (en) Game machine
JP4531845B1 (en) Game machine
JP6149136B2 (en) Game machine
JP2010279682A (en) Game machine
JP4681678B2 (en) Game machine
JP5497843B2 (en) Game machine
JP2014158889A (en) Game machine
JP5787938B2 (en) Game machine

Legal Events

Date Code Title Description
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: 20120501

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

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

Free format text: PAYMENT UNTIL: 20150601

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5005776

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

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