JP2017213207A - Game machine and game medium discrimination device - Google Patents

Game machine and game medium discrimination device Download PDF

Info

Publication number
JP2017213207A
JP2017213207A JP2016109463A JP2016109463A JP2017213207A JP 2017213207 A JP2017213207 A JP 2017213207A JP 2016109463 A JP2016109463 A JP 2016109463A JP 2016109463 A JP2016109463 A JP 2016109463A JP 2017213207 A JP2017213207 A JP 2017213207A
Authority
JP
Japan
Prior art keywords
medal
determination
circuit
image
image data
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.)
Pending
Application number
JP2016109463A
Other languages
Japanese (ja)
Inventor
鈴木 雄一郎
Yuichiro Suzuki
雄一郎 鈴木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Universal Entertainment Corp
Original Assignee
Universal Entertainment Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Universal Entertainment Corp filed Critical Universal Entertainment Corp
Priority to JP2016109463A priority Critical patent/JP2017213207A/en
Publication of JP2017213207A publication Critical patent/JP2017213207A/en
Priority to JP2020047246A priority patent/JP6964701B2/en
Pending legal-status Critical Current

Links

Landscapes

  • Slot Machines And Peripheral Devices (AREA)

Abstract

PROBLEM TO BE SOLVED: To detect a fraud of executing a game by making a game machine misconceive that normal game media are used.SOLUTION: Game medium detection means includes: game medium determination means for determining whether or not an object passing through a passage is a normal game medium on the basis of a proximity sensor, imaging means, and image data; guide means provided movably between a guide position and a discharge position; drive means for driving the guide means; and drive control means for controlling the drive means to move the guide means to the guide position or the discharge position according to determination of the game medium determination means. A first control unit counts game media on the basis of a detection result of the proximity sensor, when it is in a state of permitting insertion of game media, outputs a signal with a content of permission of the insertion, however, when it is in a state of not permitting the insertion of the game media, outputs a signal with a content of disapproval of the insertion. The drive control means, after detecting a signal with the content of the disapproval of the insertion, output from a second control unit, controls the drive means to move the guide means to the discharge position.SELECTED DRAWING: Figure 43

Description

本発明は、遊技機に関する。   The present invention relates to a gaming machine.

従来、複数の図柄がそれぞれの表面に配された複数のリールと、スタートスイッチと、ストップスイッチと、各リールに対応して設けられたステッピングモータと、制御部とを備えた、パチスロと呼ばれる遊技機が知られている。スタートスイッチは、メダルなどの遊技媒体が遊技機に投入された後、スタートレバーが遊技者により操作されたこと(以下、「開始操作」ともいう)を検出し、全てのリールの回転の開始を要求する信号を出力する。ストップスイッチは、各リールに対応して設けられたストップボタンが遊技者により押されたこと(以下、「停止操作」ともいう)を検出し、該当するリールの回転の停止を要求する信号を出力する。ステッピングモータは、その駆動力を対応するリールに伝達する。また、制御部は、スタートスイッチ及びストップスイッチにより出力された信号に基づいて、ステッピングモータの動作を制御し、各リールの回転動作及び停止動作を行う。   Conventionally, a game called pachislot, comprising a plurality of reels each having a plurality of symbols arranged on each surface, a start switch, a stop switch, a stepping motor provided for each reel, and a control unit. The machine is known. The start switch detects that the start lever has been operated by the player after a game medium such as a medal has been inserted into the gaming machine (hereinafter also referred to as “start operation”), and starts the rotation of all reels. Output the requested signal. The stop switch detects that a stop button provided for each reel has been pressed by the player (hereinafter also referred to as “stop operation”), and outputs a signal requesting the rotation of the corresponding reel to stop. To do. The stepping motor transmits the driving force to the corresponding reel. Further, the control unit controls the operation of the stepping motor based on the signals output from the start switch and the stop switch, and performs the rotation operation and stop operation of each reel.

このような遊技機では、開始操作が検出されると、プログラム上で乱数を用いた抽籤処理(以下、「内部抽籤処理」という)が行われ、その抽籤の結果(以下、「内部当籤役」という)と停止操作のタイミングとに基づいてリールの回転の停止を行う。そして、全てのリールの回転が停止され、入賞の成立に係る図柄の組合せが表示されると、その図柄の組合せに対応する特典が遊技者に付与される。   In such a gaming machine, when a start operation is detected, lottery processing using random numbers (hereinafter referred to as “internal lottery processing”) is performed on the program, and the result of the lottery (hereinafter referred to as “internal winning combination”). And the rotation of the reel is stopped based on the timing of the stop operation. Then, when the rotation of all the reels is stopped and the symbol combination related to the winning is displayed, a privilege corresponding to the symbol combination is given to the player.

また、このような遊技機には、メダル投入口の先に投入されたメダルを検知するためのメダルセレクタが設けられている。また、このメダルセレクタに対しては、メダル投入口に適正なメダル(正規メダル)でないメダル(不正メダル)を投入したり、器具をメダル投入口に挿入したりして、遊技機に正規メダルが投入されたと誤認させて遊技を行う不正行為に対する対策がとられている。   In addition, such a gaming machine is provided with a medal selector for detecting a medal inserted at the end of the medal slot. In addition, for this medal selector, a medal (illegal medal) that is not a proper medal (regular medal) is inserted into the medal insertion slot, or a device is inserted into the medal insertion slot, so that a regular medal is inserted into the gaming machine. Measures are taken against fraudulent acts of misrecognizing that the game has been thrown into the game.

例えば、特許文献1には、メダル通路に2個のメダル検知用の近接センサを設け、各近接センサの出力に基づいてメダル通路を遊技用のメダルが通過したかどうかを判断することで、板状体のような器具が用いられた不正行為を検知するスロットマシンが記載されている。   For example, in Patent Document 1, two medal detection proximity sensors are provided in a medal passage, and it is determined whether a game medal has passed through the medal passage based on the output of each proximity sensor. A slot machine is described that detects fraud using a tool such as a body.

特開2002−342814号公報JP 2002-342814 A

しかしながら、特許文献1に記載されたスロットマシンでは、板状体のような器具を用いず、不正メダルを用いて行われる不正行為を検知することができない。例えば、このスロットマシンが設置されるホールで貸し出される貸出単価が1枚20円のメダルと1枚5円のメダルとが同径で色や刻印(模様)のみ異なる場合、このスロットマシンでは、これらを判別することができない。このため、貸出単価が1枚20円のメダルを正規メダルとして扱う遊技機で、貸出単価が1枚5円のメダル(不正メダル)を用いて遊技を行う不正行為を検知することができなかった。   However, the slot machine described in Patent Document 1 cannot detect an illegal act performed using an illegal medal without using an instrument such as a plate-like body. For example, if the lending unit loaned in the hall where this slot machine is installed is a medals with 20 yen per piece and medals with 5 yen per piece having the same diameter and only different colors and stamps (patterns), Cannot be determined. For this reason, a gaming machine that handles a medal with a lending unit price of 20 yen as a regular medal could not detect an illegal act of playing a game using a medal with a lending unit price of 5 yen (unauthorized medal). .

また、特許文献1に記載されたスロットマシンでは、遊技機が設置されているホールで貸し出されたメダルと、別のホールで貸し出されたメダルや中古機販売店で購入した遊技機に附属しているメダル、又は、偽造メダル(メダルに見せかけた器具を含む)等とが同径で色や刻印(模様)のみ異なる場合、これらを判別することができない。このため、正規メダル以外のメダル(不正メダル)を用いて遊技を行う不正行為を検知(検出)することが困難だった。   In addition, the slot machine described in Patent Document 1 is attached to a medal lent out in a hall in which a gaming machine is installed, a medal lent out in another hall, or a gaming machine purchased at a used machine dealer. If a medal or a counterfeit medal (including an instrument pretending to be a medal) has the same diameter and differs only in color or stamp (pattern), these cannot be discriminated. For this reason, it has been difficult to detect (detect) an illegal act of playing a game using medals other than regular medals (unauthorized medals).

本発明は、上記課題を解決するためになされたものであり、本発明の目的は、遊技機に正規の遊技媒体が用いられていると誤認させて遊技を行う不正行為を検知することができる遊技機を提供することにある。   The present invention has been made to solve the above-described problems, and an object of the present invention is to detect an illegal act of playing a game by misidentifying that a regular gaming medium is used in the gaming machine. It is to provide a gaming machine.

上記目的を達成するために、本発明は、以下のような構成の遊技機を提供する。   In order to achieve the above object, the present invention provides a gaming machine having the following configuration.

遊技媒体を投入する投入口(例えば、後述のメダル投入口21)と、
前記投入口から投入された遊技媒体を検出する遊技媒体検出手段(例えば、後述のメダルセレクタ601)と、
遊技に関する制御を実行する第1制御部(例えば、後述の主制御回路91)と、
遊技の演出に関する制御を実行する第2制御部(例えば、後述の副制御回路101)と、
遊技媒体を貯留する貯留手段(例えば、後述のホッパー装置51)と、を備える遊技機であって、
前記遊技媒体検出手段は、
遊技媒体が通過する通路を形成する通路形成部(例えば、後述のメダルレール210)と、
前記通路を移動する物体を検知する近接センサ(例えば、後述のダブルフォトセンサ502)と、
前記通路を撮像する撮像手段(例えば、後述のカメラユニット209)と、
前記撮像手段を介して得られる画像データに基づいて、前記通路を通過する物体が正規の遊技媒体であるか否かを判定する遊技媒体判定手段(例えば、後述のカラー認識回路247及び画像認識DSP回路242)と、
前記通路を通過する物体を前記貯留手段に導くガイド位置と、前記物体を遊技機外に排出する排出位置と、に移動可能に設けられたガイド手段(例えば、後述のセレクトプレート207)と、
前記ガイド手段を駆動させる駆動手段(例えば、後述のメダルソレノイド208)と、
前記駆動手段を制御して、前記遊技媒体判定手段が前記通路を通過する物体が正規の遊技媒体であると判定するとき、前記ガイド手段を前記ガイド位置に移動させ、前記遊技媒体判定手段が前記通路を通過する物体が正規の遊技媒体でないと判定するとき、前記ガイド手段を前記排出位置に移動させる駆動制御手段(例えば、後述の制御LSI234)と、
前記遊技媒体判定手段が前記通路を通過する物体が正規の遊技媒体でないと判定すると、所定の条件に応じて前記第2制御部にエラーを通知するエラー通知手段(例えば、後述の制御LSI234)と、を有し、
前記第1制御部は、
前記近接センサの検知結果に基づいて遊技媒体のカウントを行い、
遊技媒体の投入を許可する状態のときは、投入許可の内容の信号を出力し、
遊技媒体の投入を許可する状態でないときは、投入不可の内容の信号を出力し、
前記第2制御部は、
前記エラー通知手段から通知されたエラーを報知し、
前記第1制御部から前記投入許可の内容の信号又は前記投入不可の内容の信号を検出すると、同内容の信号を前記駆動制御手段に出力し、
前記駆動制御手段は、前記第2制御部から出力された投入不可の内容の信号を検出すると、前記駆動手段を制御して、前記ガイド手段を前記排出位置に移動させ、
前記第2制御部から出力された投入許可の内容の信号を検出すると、前記駆動手段を制御して、前記ガイド手段を前記ガイド位置に移動させる
ことを特徴とする遊技機。
An insertion slot (for example, a medal insertion slot 21 described later) for inserting a game medium;
Game medium detecting means (for example, a medal selector 601 described later) for detecting a game medium inserted from the insertion slot;
A first control unit (for example, a main control circuit 91 to be described later) that executes control related to the game;
A second control unit (for example, a sub-control circuit 101 to be described later) that executes control related to game effects;
A storage device (for example, a hopper device 51 described later) for storing a game medium,
The game medium detection means includes
A passage forming portion (for example, a medal rail 210 described later) that forms a passage through which game media pass;
A proximity sensor (for example, a double photo sensor 502 described later) for detecting an object moving in the passage;
Imaging means for imaging the passage (for example, a camera unit 209 described later);
Based on image data obtained through the imaging means, game medium determination means for determining whether or not an object passing through the passage is a regular game medium (for example, a color recognition circuit 247 and an image recognition DSP described later). Circuit 242);
A guide means (for example, a select plate 207 described later) movably provided at a guide position for guiding an object passing through the passage to the storage means, and a discharge position for discharging the object out of the gaming machine;
Drive means for driving the guide means (for example, medal solenoid 208 described later);
When the driving means is controlled so that the game medium determining means determines that the object passing through the passage is a regular game medium, the guide means is moved to the guide position, and the game medium determining means is Drive control means (for example, control LSI 234 described later) that moves the guide means to the discharge position when it is determined that the object passing through the passage is not a regular game medium;
When the game medium determination means determines that the object passing through the passage is not a regular game medium, an error notification means (for example, a control LSI 234 described later) for notifying the second control unit of an error according to a predetermined condition; Have
The first controller is
Based on the detection result of the proximity sensor, the game medium is counted,
When the game media is allowed to be inserted, a signal indicating the content of the input permission is output,
When it is not in a state that permits the insertion of game media, it outputs a signal indicating that it cannot be inserted,
The second controller is
Informing the error notified from the error notification means,
When detecting the signal of the content of permission of insertion or the signal of the content of impossible to input from the first control unit, the signal of the same content is output to the drive control means,
When the drive control means detects a signal indicating that the input cannot be performed and is output from the second control unit, the drive control means controls the drive means to move the guide means to the discharge position,
A gaming machine, wherein when the signal of the content of permission to be output outputted from the second control unit is detected, the driving means is controlled to move the guide means to the guide position.

本発明によれば、遊技機に正規の遊技媒体が用いられていると誤認させて遊技を行う不正行為を検知することができる。   According to the present invention, it is possible to detect an illegal act of playing a game by misidentifying that a regular gaming medium is used in the gaming machine.

本発明の一実施形態の遊技機における機能フローを説明する説明図である。It is explanatory drawing explaining the functional flow in the game machine of one Embodiment of this invention. 本発明の一実施形態の遊技機における外観構成例を示す斜視図である。It is a perspective view which shows the example of an external appearance structure in the game machine of one Embodiment of this invention. 本発明の一実施形態の遊技機における内部構造を示すものであり、ミドルドアを閉じた状態の斜視図である。BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a perspective view showing an internal structure of a gaming machine according to an embodiment of the present invention, with a middle door closed. 本発明の一実施形態の遊技機における内部構造を示すものであり、ミドルドアを開けた状態の斜視図である。BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a perspective view showing an internal structure of a gaming machine according to an embodiment of the present invention, with a middle door opened. 本発明の一実施形態の遊技機におけるキャビネットの内部を示す説明図である。It is explanatory drawing which shows the inside of the cabinet in the game machine of one Embodiment of this invention. 本発明の一実施形態の遊技機におけるフロントドアの裏面側を示す説明図である。It is explanatory drawing which shows the back surface side of the front door in the game machine of one Embodiment of this invention. 本発明の一実施形態の遊技機におけるメダルセレクタを遊技機の斜め後方から見た斜視図である。It is the perspective view which looked at the medal selector in the gaming machine of one embodiment of the present invention from the slanting back of the gaming machine. 本発明の一実施形態の遊技機におけるメダルセレクタの分解図である。It is an exploded view of the medal selector in the gaming machine of one embodiment of the present invention. 本発明の一実施形態の遊技機におけるメダルセレクタを遊技機の斜め前方から見た斜視図である。It is the perspective view which looked at the medal selector in the gaming machine of one embodiment of the present invention from the diagonal front of the gaming machine. 本発明の一実施形態の遊技機におけるメダルセレクタのベース板部の背面図である。It is a rear view of the base board part of the medal selector in the gaming machine of one embodiment of the present invention. 本発明の一実施形態の遊技機におけるメダルセレクタのセレクトプレートの斜視図である。It is a perspective view of the select plate of the medal selector in the gaming machine of one embodiment of the present invention. 発明の一実施形態の遊技機におけるメダルセレクタがメダルをホッパー装置へ案内する場合のメダルの経路を示す図である。It is a figure which shows the path | route of a medal when the medal selector in the game machine of one Embodiment of this invention guides a medal to a hopper apparatus. 発明の一実施形態の遊技機におけるメダルセレクタがメダルをメダルシュートに案内する場合のメダルの経路を示す図である。It is a figure which shows the path | route of a medal when the medal selector in the gaming machine of one embodiment of the invention guides the medal to the medal shoot. 本発明の一実施形態の遊技機における制御系を示すブロック図である。It is a block diagram which shows the control system in the game machine of one Embodiment of this invention. 本発明の一実施形態の遊技機における主制御回路の構成例を示すブロック図である。It is a block diagram which shows the structural example of the main control circuit in the game machine of one Embodiment of this invention. 本発明の一実施形態の遊技機における副制御回路の構成例を示すブロック図である。It is a block diagram which shows the structural example of the sub control circuit in the game machine of one Embodiment of this invention. 本発明の一実施形態の遊技機におけるメダルセレクタの回路構成例を示すブロック図である。It is a block diagram which shows the circuit structural example of the medal selector in the game machine of one Embodiment of this invention. 本発明の一実施形態の遊技機における制御LSIの回路構成例を示すブロック図である。It is a block diagram which shows the circuit structural example of control LSI in the game machine of one Embodiment of this invention. 本発明の一実施形態の遊技機におけるレンズの歪みを説明するための図である。It is a figure for demonstrating distortion of the lens in the game machine of one Embodiment of this invention. 本発明の一実施形態の遊技機における射影変換処理を説明するための図であり、Aは射影変換前のRGBベイヤ画像を示し、Bは射影変換後のRGBベイヤ画像を示す。It is a figure for demonstrating the projective transformation process in the game machine of one Embodiment of this invention, A shows the RGB Bayer image before projective transformation, B shows the RGB Bayer image after projective transformation. 本発明の一実施形態の遊技機における閾値グラフを説明するための図である。It is a figure for demonstrating the threshold value graph in the game machine of one Embodiment of this invention. 本発明の一実施形態の遊技機における判定領域を説明するための図(その1)である。It is FIG. (1) for demonstrating the determination area | region in the gaming machine of one Embodiment of this invention. 本発明の一実施形態の遊技機における判定領域を説明するための図(その2)である。It is FIG. (2) for demonstrating the determination area | region in the gaming machine of one Embodiment of this invention. 本発明の一実施形態の遊技機における判定領域を説明するための図(その3)である。It is FIG. (3) for demonstrating the determination area | region in the gaming machine of one Embodiment of this invention. 本発明の一実施形態の遊技機における判定領域を説明するための図(その4)である。It is FIG. (4) for demonstrating the determination area | region in the gaming machine of one Embodiment of this invention. 本発明の一実施形態の遊技機におけるSRAMに記憶される判定領域判定結果データの一例を示す図である。It is a figure which shows an example of the determination area | region determination result data memorize | stored in SRAM in the gaming machine of one Embodiment of this invention. 本発明の一実施形態の遊技機におけるメダルカウント判定表を説明するための図である。It is a figure for demonstrating the medal count determination table in the game machine of one Embodiment of this invention. 本発明の一実施形態の遊技機におけるガウシアンフィルタを説明するための図である。It is a figure for demonstrating the Gaussian filter in the game machine of one Embodiment of this invention. 本発明の一実施形態の遊技機における円領域検出処理を説明するための図である。It is a figure for demonstrating the circular area | region detection process in the game machine of one Embodiment of this invention. 本発明の一実施形態の遊技機における3σ修正処理を説明するための図である。It is a figure for demonstrating the 3σ correction process in the gaming machine of one embodiment of the present invention. 本発明の一実施形態の遊技機におけるフィルタ処理を説明するための図であり、Aは3σ修正処理後の円領域画像データを模式的に表しており、Bはエッジ画像X用係数を示し、Cはエッジ画像Y用係数を示している。It is a figure for demonstrating the filter process in the game machine of one Embodiment of this invention, A represents typically the circular area image data after a 3σ correction process, B shows the coefficient for edge images X, C represents an edge image Y coefficient. 本発明の一実施形態の遊技機に用いられる正規メダルの一例を示す図であり、Aは正規メダルの一方の面を示し、Bは正規メダルの勾配平均画像データを示す。It is a figure which shows an example of the regular medal used for the game machine of one Embodiment of this invention, A shows one side of a regular medal, B shows the gradient average image data of a regular medal. 本発明の一実施形態の遊技機におけるHOG変換処理を説明するための図である。It is a figure for demonstrating the HOG conversion process in the game machine of one Embodiment of this invention. 本発明の一実施形態の遊技機における制御LSIが行う処理のフロー図である。It is a flowchart of the process which the control LSI in the game machine of one Embodiment of this invention performs. 本発明の一実施形態の遊技機における制御LSIが行う処理のタイミングチャート(その1)である。It is a timing chart (the 1) of the processing which control LSI in the gaming machine of one execution form of this invention performs. 本発明の一実施形態の遊技機における制御LSIが行う処理のタイミングチャート(その2)である。It is a timing chart (the 2) of the processing which control LSI in the gaming machine of one execution form of this invention performs. 本発明の変形例1の遊技機におけるメダルセレクタを説明するための図である。It is a figure for demonstrating the medal selector in the game machine of the modification 1 of this invention. 本発明の変形例2の遊技機におけるメダルセレクタの回路構成例を示すブロック図である。It is a block diagram which shows the circuit structural example of the medal selector in the game machine of the modification 2 of this invention. 本発明の変形例2の遊技機における制御LSIの回路構成例を示すブロック図である。It is a block diagram which shows the circuit structural example of control LSI in the game machine of the modification 2 of this invention. 本発明の変形例3の遊技機における制御系を示すブロック図である。It is a block diagram which shows the control system in the game machine of the modification 3 of this invention. 本発明の変形例3の遊技機におけるメダルセレクタの回路構成例を示すブロック図である。It is a block diagram which shows the circuit structural example of the medal selector in the game machine of the modification 3 of this invention. 本発明の変形例3の遊技機におけるメダルセレクタのダブルフォトセンサの設置位置を説明するための図である。It is a figure for demonstrating the installation position of the double photo sensor of the medal selector in the game machine of the modification 3 of this invention. 本発明の変形例4の遊技機におけるメダルセレクタの回路構成例を示すブロック図である。It is a block diagram which shows the circuit structural example of the medal selector in the game machine of the modification 4 of this invention. 本発明の変形例5の遊技機におけるメダルセレクタの背面図である。It is a rear view of the medal selector in the gaming machine of Modification 5 of the present invention. 本発明の変形例5の遊技機におけるメダルセレクタの回路構成例を示すブロック図である。It is a block diagram which shows the circuit structural example of the medal selector in the game machine of the modification 5 of this invention. 本発明の変形例6の遊技機におけるメダルセレクタの回路構成例を示すブロック図である。It is a block diagram which shows the circuit structural example of the medal selector in the game machine of the modification 6 of this invention.

以下、本発明の一実施形態を示す遊技機であるパチスロについて、図1〜図36を参照しながら説明する。   Hereinafter, a pachislot machine that is a gaming machine according to an embodiment of the present invention will be described with reference to FIGS.

<機能フロー>
まず、図1を参照して、パチスロの機能フローについて説明する。
本実施の形態のパチスロでは、遊技を行うための遊技媒体としてメダルを用いる。なお、遊技媒体としては、メダル以外にも、コイン、遊技球、遊技用のポイントデータ又はトークン等を適用することもできる。
<Function flow>
First, the functional flow of the pachislot will be described with reference to FIG.
In the pachislot of this embodiment, medals are used as game media for playing games. In addition to the medals, coins, game balls, game point data, tokens, or the like can be applied as game media.

遊技者によりメダルが投入され、スタートレバーが操作されると、予め定められた数値の範囲(例えば、0〜65535)の乱数から1つの値(以下、乱数値)が抽出される。   When a player inserts a medal and operates the start lever, one value (hereinafter, random number value) is extracted from random numbers in a predetermined numerical range (for example, 0 to 65535).

内部抽籤手段は、抽出された乱数値に基づいて抽籤を行い、内部当籤役を決定する。この内部抽籤手段は、後述する主制御回路が担う。内部当籤役の決定により、後述の入賞判定ラインに沿って表示を行うことを許可する図柄の組合せが決定される。なお、図柄の組合せの種別としては、メダルの払い出し、再遊技の作動、ボーナスの作動等といった特典が遊技者に与えられる「入賞」に係るものと、それ以外のいわゆる「ハズレ」に係るものとが設けられている。   The internal lottery means performs lottery based on the extracted random number value and determines an internal winning combination. This internal lottery means is carried out by a main control circuit described later. By determining the internal winning combination, a combination of symbols that permits display along a winning determination line described later is determined. The types of symbol combinations include those related to “winning” in which benefits such as paying out medals, re-games, bonuses, etc. are given to players, and other so-called “loses”. Is provided.

また、スタートレバーが操作されると、複数のリールの回転が行われる。その後、遊技者により所定のリールに対応するストップボタンが押されると、リール停止制御手段は、内部当籤役とストップボタンが押されたタイミングとに基づいて、該当するリールの回転を停止する制御を行う。このリール停止制御手段は、後述する主制御回路が担う。   Further, when the start lever is operated, a plurality of reels are rotated. Thereafter, when the player presses the stop button corresponding to the predetermined reel, the reel stop control means performs control to stop the rotation of the corresponding reel based on the internal winning combination and the timing when the stop button is pressed. Do. The reel stop control means is responsible for a main control circuit described later.

パチスロでは、基本的に、ストップボタンが押されたときから規定時間(190msec又は75msec)内に、該当するリールの回転を停止する制御が行われる。本実施形態では、この規定時間内にリールの回転に伴って移動する図柄の数を「滑り駒数」と呼ぶ。規定期間が190msecである場合には、滑り駒数の最大数を図柄4個分に定め、規定期間が75msecである場合には、滑り駒数の最大数を図柄1個分に定める。   In the pachislot, basically, a control for stopping the rotation of the corresponding reel is performed within a specified time (190 msec or 75 msec) from when the stop button is pressed. In the present embodiment, the number of symbols that move with the rotation of the reel within the specified time is referred to as “the number of sliding symbols”. When the specified period is 190 msec, the maximum number of sliding symbols is set to 4 symbols, and when the specified period is 75 msec, the maximum number of sliding symbols is set to 1 symbol.

リール停止制御手段は、入賞に係る図柄の組合せ表示を許可する内部当籤役が決定されているときは、通常、190msec(図柄4コマ分)の規定時間内に、その図柄の組合せが入賞判定ラインに沿って極力表示されるようにリールの回転を停止させる。また、リール停止制御手段は、例えば、第2種特別役物であるチャレンジボーナス(CB)及びCBを連続して作動させるミドルボーナス(MB)の動作時には、1つ以上のリールに対して、規定時間75msec(図柄1コマ分)内に、その図柄の組合せが入賞判定ラインに沿って極力表示されるようにリールの回転を停止させる。さらに、リール停止制御手段は、遊技状態に対応する各種規定時間を利用して、内部当籤役によってその表示が許可されていない図柄の組合せが入賞判定ラインに沿って表示されないようにリールの回転を停止させる。   When the internal winning combination allowing the symbol combination display related to winning is determined, the reel stop control means usually displays the symbol combination within the specified time of 190 msec (four symbols) for the winning determination line. The rotation of the reel is stopped so as to display as much as possible. In addition, the reel stop control means is defined for one or more reels when, for example, a challenge bonus (CB), which is a second-type special accessory, and a middle bonus (MB) for continuously operating the CB are operated. The reel rotation is stopped so that the combination of symbols is displayed as much as possible along the winning determination line within a time of 75 msec (for one symbol). Furthermore, the reel stop control means uses various specified times corresponding to the gaming state to rotate the reels so that combinations of symbols that are not permitted to be displayed by the internal winning combination are not displayed along the winning determination line. Stop.

こうして、複数のリールの回転がすべて停止されると、入賞判定手段は、入賞判定ラインに沿って表示された図柄の組合せが、入賞に係るものであるか否かの判定を行う。この入賞判定手段は、後述する主制御回路が担う。入賞判定手段により入賞に係るものであるとの判定が行われると、メダルの払い出し等の特典が遊技者に与えられる。パチスロでは、以上のような一連の流れが1回の遊技として行われる。   Thus, when the rotation of the plurality of reels is all stopped, the winning determination means determines whether or not the combination of symbols displayed along the winning determination line is related to winning. This winning determination means is carried out by a main control circuit described later. When it is determined by the winning determination means that it is related to winning, a privilege such as paying out medals is given to the player. In the pachislot, a series of flows as described above is performed as one game.

また、パチスロでは、前述した一連の流れの中で、液晶表示装置などの表示装置により行う映像の表示、各種ランプにより行う光の出力、スピーカにより行う音の出力、或いはこれらの組合せを利用して様々な演出が行われる。   Further, in the pachislot, in the above-described series of flows, video display performed by a display device such as a liquid crystal display device, light output performed by various lamps, sound output performed by a speaker, or a combination thereof is used. Various productions are performed.

スタートレバーが操作されると、上述した内部当籤役の決定に用いられた乱数値とは別に、演出用の乱数値(以下、演出用乱数値)が抽出される。演出用乱数値が抽出されると、演出内容決定手段は、内部当籤役に対応づけられた複数種類の演出内容の中から今回実行するものを抽籤により決定する。この演出内容決定手段は、後述する副制御回路が担う。   When the start lever is operated, an effect random number value (hereinafter referred to as effect random number value) is extracted separately from the random number value used for determining the internal winning combination. When the effect random number value is extracted, the effect content determining means determines, by lottery, what is to be executed this time from among a plurality of types of effect contents associated with the internal winning combination. This effect content determination means is carried out by a sub-control circuit described later.

演出内容が決定されると、演出実行手段は、リールの回転開始時、各リールの回転停止時、入賞の有無の判定時等の各契機に連動させて対応する演出を実行する。このように、パチスロでは、内部当籤役に対応づけられた演出内容を実行することによって、決定された内部当籤役(言い換えると、狙うべき図柄の組合せ)を知る機会又は予想する機会が遊技者に提供され、遊技者の興味の向上を図ることができる。   When the contents of the effect are determined, the effect executing means executes the corresponding effect in conjunction with each opportunity, such as when the rotation of the reels starts, when the rotation of each reel stops, or when determining whether there is a winning. In this way, in the pachislot machine, the player has the opportunity to know or predict the determined internal winning combination (in other words, the combination of symbols to be aimed at) by executing the production contents associated with the internal winning combination. It is possible to improve the player's interest.

<パチスロの構造>
次に、図2〜図6を参照して、一実施形態におけるパチスロ1の構造について説明する。
<Pachislot structure>
Next, the structure of the pachislot machine 1 according to one embodiment will be described with reference to FIGS.

[外観構造]
図2は、パチスロ1の外部構造を示す斜視図である。
[Appearance structure]
FIG. 2 is a perspective view showing the external structure of the pachi-slot 1.

図2に示すように、パチスロ1は、外装体2を備えている。外装体2は、後述するホッパー装置51やメダル補助収納庫52等(図5参照)を収容するキャビネット2aと、キャビネット2aに対して開閉可能に取り付けられるフロントドア2bとを有している。
キャビネット2aの両側面には、把手7が設けられている(図2では一側面の把手7のみを示す)。この把手7は、パチスロ1を運搬するときに手をかける凹部である。
As shown in FIG. 2, the pachi-slot 1 includes an exterior body 2. The exterior body 2 includes a cabinet 2a that houses a hopper device 51, a medal auxiliary storage 52, and the like (see FIG. 5), which will be described later, and a front door 2b that is attached to the cabinet 2a so as to be opened and closed.
Handles 7 are provided on both side surfaces of the cabinet 2a (only one handle 7 is shown in FIG. 2). The handle 7 is a recess that is put on when carrying the pachi-slot 1.

外装体2の内部には、3つのリール3L,3C,3Rが横並びに設けられている。以下、各リール3L,3C,3Rを、それぞれ左リール3L、中リール3C、右リール3Rという。各リール3L,3C,3Rは、円筒状に形成されたリール本体と、リール本体の周面に装着された透光性のシート材を有している。シート材の表面には、複数(例えば20個)の図柄が周方向に沿って所定の間隔をあけて描かれている。   Inside the exterior body 2, three reels 3L, 3C, 3R are provided side by side. Hereinafter, the reels 3L, 3C, and 3R are referred to as a left reel 3L, a middle reel 3C, and a right reel 3R, respectively. Each reel 3L, 3C, 3R has a reel body formed in a cylindrical shape and a translucent sheet material mounted on the peripheral surface of the reel body. A plurality of (for example, 20) symbols are drawn on the surface of the sheet material at predetermined intervals along the circumferential direction.

フロントドア2bは、ドア本体9と、フロントパネル10と、表示装置の一具体例を示す液晶表示装置11とを備えている。   The front door 2b includes a door body 9, a front panel 10, and a liquid crystal display device 11 showing a specific example of the display device.

ドア本体9は、ヒンジ(不図示)を用いてキャビネット2aに取り付けられており、キャビネット2aの開口部を開閉する。ヒンジは、パチスロ1の前方からドア本体9を見た場合に、ドア本体9における左側の端部に設けられている。液晶表示装置11は、ドア本体9の上部に取り付けられている。この液晶表示装置11は、表示部(表示画面)11aを備えており、液晶表示装置11を用いて映像の表示による演出が実行される。   The door body 9 is attached to the cabinet 2a using a hinge (not shown), and opens and closes the opening of the cabinet 2a. The hinge is provided at the left end of the door body 9 when the door body 9 is viewed from the front of the pachi-slot 1. The liquid crystal display device 11 is attached to the upper part of the door body 9. The liquid crystal display device 11 includes a display unit (display screen) 11a, and the liquid crystal display device 11 performs an effect by displaying an image.

フロントパネル10は、液晶表示装置11の表示部11a側に重畳して配置され、液晶表示装置11の表示部11aを露出させるパネル開口10aを有する枠状に形成されている。フロントパネル10には、ランプ群18が設けられている。ランプ群18は、LED(Light Emitting Diode)等で構成され、演出内容に対応するパターンで、光を点灯及び消灯する。   The front panel 10 is disposed so as to overlap the display unit 11 a side of the liquid crystal display device 11, and is formed in a frame shape having a panel opening 10 a that exposes the display unit 11 a of the liquid crystal display device 11. A lamp group 18 is provided on the front panel 10. The lamp group 18 is configured by an LED (Light Emitting Diode) or the like, and turns on and off the light in a pattern corresponding to the effect content.

フロントドア2bの中央には、台座部12が形成されている。この台座部12には、図柄表示領域4と、遊技者による操作の対象となる各種装置が設けられている。   A pedestal 12 is formed in the center of the front door 2b. The pedestal portion 12 is provided with a symbol display area 4 and various devices to be operated by the player.

図柄表示領域4は、正面から見て3つのリール3L,3C,3Rに重畳する手前側に配置されており、3つのリール3L,3C,3Rに対応して設けられている。この図柄表示領域4は、表示窓としての機能を果たすものであり、その背後に設けられた各リール3L,3C,3Rを透過することが可能な構成になっている。以下、図柄表示領域4を、リール表示窓4という。   The symbol display area 4 is arranged on the front side superimposed on the three reels 3L, 3C, 3R when viewed from the front, and is provided corresponding to the three reels 3L, 3C, 3R. The symbol display area 4 functions as a display window, and has a configuration capable of transmitting through the reels 3L, 3C, 3R provided behind the display window. Hereinafter, the symbol display area 4 is referred to as a reel display window 4.

リール表示窓4は、その背後に設けられたリール3L,3C,3Rの回転が停止されたとき、各リール3L,3C,3Rの複数種類の図柄のうち、その枠内における上段、中段及び下段の各領域にそれぞれ1個の図柄(合計で3個)を表示する。本実施の形態では、リール表示窓4の上段、中段及び下段からなる3つの領域のうち予め定められたいずれかを組み合わせて構成される擬似的なラインを、入賞か否かの判定を行う対象となるライン(入賞判定ライン)として定義する。   When the reels 3L, 3C, and 3R provided behind the reel display window 4 stop rotating, the reel display window 4 has an upper stage, a middle stage, and a lower stage within the frame among a plurality of types of symbols of the reels 3L, 3C, and 3R. One symbol (three in total) is displayed in each area. In the present embodiment, a target for determining whether or not to win a pseudo line configured by combining any one of the three regions including the upper, middle and lower regions of the reel display window 4 is determined. Is defined as a line (winning determination line).

リール表示窓4は、台座部12に設けられた枠部材13により形成されている。この枠部材13は、リール表示窓4と、情報表示窓14と、ストップボタン取付部15を有している。   The reel display window 4 is formed by a frame member 13 provided on the pedestal portion 12. The frame member 13 has a reel display window 4, an information display window 14, and a stop button attachment portion 15.

情報表示窓14は、リール表示窓4の下部に連続して設けられており、上方に向かって開口している。すなわち、リール表示窓4と情報表示窓14は、連続する1つの開口部として形成されている。この情報表示窓14及びリール表示窓4は、透明の窓カバー16によって覆われている。   The information display window 14 is provided continuously below the reel display window 4 and opens upward. That is, the reel display window 4 and the information display window 14 are formed as one continuous opening. The information display window 14 and the reel display window 4 are covered with a transparent window cover 16.

窓カバー16は、枠部材13の内面側に配置されており、フロントドア2bの前面側から取り外し不可能になっている。また、枠部材13は、窓カバー16を挟んで情報表示窓14の開口に対向するシート載置部17を有している。そして、シート載置部17と窓カバー16との間には、遊技に関する情報が記載されたシート部材(情報シート)が配置されている。したがって、情報シートは、凹凸や隙間の無い滑らかな表面を有する窓カバー16により覆われている。   The window cover 16 is disposed on the inner surface side of the frame member 13 and cannot be removed from the front side of the front door 2b. In addition, the frame member 13 includes a sheet placement portion 17 that faces the opening of the information display window 14 with the window cover 16 interposed therebetween. And between the sheet | seat mounting part 17 and the window cover 16, the sheet | seat member (information sheet) in which the information regarding a game was described is arrange | positioned. Therefore, the information sheet is covered with the window cover 16 having a smooth surface without unevenness or gaps.

情報シートの取付部を構成する窓カバー16は、フロントドア2bの前面側から取り外し不可能であり、凹凸や隙間の無い滑らかな表面であるため、情報シートの取付部を利用して、パチスロ1の内部にアクセスする不正行為を防ぐことができる。   The window cover 16 that constitutes the information sheet attachment portion cannot be removed from the front side of the front door 2b, and has a smooth surface with no irregularities or gaps. Can prevent fraudulent access to the inside.

ストップボタン取付部15は、情報表示窓14の下方に設けられており、正面を向いた平面に形成されている。このストップボタン取付部15には、ストップボタン19L,19C,19Rが貫通する貫通孔が設けられている。ストップボタン19L,19C,19Rは、3つのリール3L,3C,3Rのそれぞれに対応づけられ、対応するリールの回転を停止するために設けられる。以下、ストップボタン19L,19C,19Rを、それぞれ左ストップボタン19L、中ストップボタン19C、右ストップボタン19Rという。   The stop button mounting portion 15 is provided below the information display window 14 and is formed on a plane facing the front. The stop button mounting portion 15 is provided with a through hole through which the stop buttons 19L, 19C, 19R pass. Stop buttons 19L, 19C, 19R are associated with each of the three reels 3L, 3C, 3R, and are provided to stop the rotation of the corresponding reels. Hereinafter, the stop buttons 19L, 19C, and 19R are referred to as a left stop button 19L, a middle stop button 19C, and a right stop button 19R, respectively.

ストップボタン19L,19C,19Rは、遊技者による操作の対象となる各種装置の一例を示す。また、台座部12には、遊技者による操作の対象となる各種装置として、メダル投入口21、BETボタン22、スタートレバー23が設けられている。   The stop buttons 19L, 19C, and 19R show examples of various devices that are targets of operations by the player. In addition, the pedestal portion 12 is provided with a medal slot 21, a BET button 22, and a start lever 23 as various devices to be operated by the player.

メダル投入口21は、遊技者によって外部から投下されるメダルを受け入れるために設けられる。メダル投入口21に受け入れられたメダルは、予め定められた規定数(例えば、3枚)を上限として1回の遊技に投入されることとなり、規定数を超えた分はパチスロ1の内部に預けることが可能となる(いわゆるクレジット機能)。   The medal slot 21 is provided to accept a medal dropped from the outside by the player. The medals accepted by the medal slot 21 are inserted into one game with a predetermined number (for example, three) as the upper limit, and the amount exceeding the specified number is deposited inside the pachislot 1. (So-called credit function).

BETボタン22は、パチスロ1の内部に預けられているメダルから1回の遊技に投入する枚数を決定するために設けられる。スタートレバー23は、全てのリール(3L,3C,3R)の回転を開始するために設けられる。   The BET button 22 is provided to determine the number of coins to be inserted into one game from medals deposited inside the pachislot 1. The start lever 23 is provided to start rotation of all reels (3L, 3C, 3R).

また、フロントドア2bを正面から見てリール表示窓4の左側方には、7セグメントLED(Light Emitting Diode)からなる7セグ表示器24が設けられている。この7セグ表示器24は、特典として遊技者に対して払い出すメダルの枚数(以下、払出枚数)、パチスロ内部に預けられているメダルの枚数(以下、クレジット枚数)等の情報をデジタル表示する。   In addition, a 7-segment display 24 including a 7-segment LED (Light Emitting Diode) is provided on the left side of the reel display window 4 when the front door 2b is viewed from the front. The 7-segment display 24 digitally displays information such as the number of medals to be paid out to the player as a privilege (hereinafter referred to as the number of payouts), the number of medals deposited inside the pachislot (hereinafter referred to as the number of credits), and the like. .

フロントドア2bを正面から見て台座部12の左側には、精算ボタン27が設けられている。この精算ボタン27は、パチスロ1の内部に預けられている外部に引き出す(排出する)ために設けられる。台座部12の下方には、腰部パネルユニット31が設けられている。腰部パネルユニット31は、任意の画像が描かれた装飾パネルと、この装飾パネルを背面側から照明するための光を出射する光源を有している。   A settlement button 27 is provided on the left side of the base 12 when the front door 2b is viewed from the front. The checkout button 27 is provided to pull out (discharge) the outside stored in the interior of the pachislot machine 1. A lower panel unit 31 is provided below the pedestal 12. The waist panel unit 31 includes a decorative panel on which an arbitrary image is drawn and a light source that emits light for illuminating the decorative panel from the back side.

腰部パネルユニット31の下方には、メダル払出口32と、スピーカ用孔33L,33Rと、メダルトレイユニット34が設けられている。メダル払出口32は、後述のメダルセレクタ201から排出されるメダルや後述のホッパー装置51の駆動により排出されるメダルを外部に導く。メダル払出口32から排出されたメダルは、メダルトレイユニット34に貯められる。スピーカ用孔33L,33Rは、演出内容に応じた効果音や楽曲等の音を出力するために設けられている。   Below the waist panel unit 31, a medal payout port 32, speaker holes 33L and 33R, and a medal tray unit 34 are provided. The medal payout port 32 guides medals discharged from a medal selector 201 described later and medals discharged by driving a hopper device 51 described later to the outside. The medals discharged from the medal payout opening 32 are stored in the medal tray unit 34. The speaker holes 33L and 33R are provided for outputting sound such as sound effects and music corresponding to the contents of the performance.

[内部構造]
図3及び図4は、パチスロ1の内部構造を示す斜視図である。この図3では、フロントドア2bが開放され、フロントドア2bの裏面側に設けられたミドルドア41がフロントドア2bに対して閉じた状態を示している。また、図4では、フロントドア2bが開放され、ミドルドア41がフロントドア2bに対して開いた状態を示している。
また、図5は、キャビネット2aの内部を示す説明図である。図6は、フロントドア2bの裏面側を示す説明図である。
[Internal structure]
3 and 4 are perspective views showing the internal structure of the pachi-slot 1. FIG. 3 shows a state in which the front door 2b is opened and the middle door 41 provided on the back side of the front door 2b is closed with respect to the front door 2b. FIG. 4 shows a state where the front door 2b is opened and the middle door 41 is opened with respect to the front door 2b.
FIG. 5 is an explanatory diagram showing the inside of the cabinet 2a. FIG. 6 is an explanatory view showing the back side of the front door 2b.

キャビネット2aは、上面板20aと、底面板20bと、左右の側面板20c,20dと、背面板20eを有している(図5参照)。キャビネット2a内部の上側には、キャビネット側スピーカ42が配設されている。このキャビネット側スピーカ42は、取付ブラケット43L,43Rを介してキャビネット2aの背面板20eに取り付けられている。キャビネット側スピーカ42は、例えば、効果音を出力するためのスピーカである。   The cabinet 2a includes a top plate 20a, a bottom plate 20b, left and right side plates 20c and 20d, and a back plate 20e (see FIG. 5). A cabinet-side speaker 42 is disposed on the upper side inside the cabinet 2a. The cabinet-side speaker 42 is attached to the back plate 20e of the cabinet 2a via attachment brackets 43L and 43R. The cabinet side speaker 42 is, for example, a speaker for outputting sound effects.

キャビネット2a内部を正面から見て、キャビネット側スピーカ42の左側方には、キャビネット側中継基板44が配設されている。このキャビネット側中継基板44は、キャビネット2aの左側面板20cに取り付けられている。キャビネット側中継基板44は、ミドルドア41(図3及び図4参照)に取り付けられた後述する主制御基板71(図14参照)と、ホッパー装置51、メダル補助収納庫スイッチ(不図示)、メダル払出カウントスイッチ(不図示)とを接続する配線の中継を行う。   A cabinet-side relay board 44 is disposed on the left side of the cabinet-side speaker 42 when the inside of the cabinet 2a is viewed from the front. The cabinet side relay board 44 is attached to the left side plate 20c of the cabinet 2a. The cabinet-side relay board 44 includes a main control board 71 (see FIG. 14), which will be described later, attached to the middle door 41 (see FIGS. 3 and 4), a hopper device 51, a medal auxiliary storage switch (not shown), and a medal payout. The wiring connecting the count switch (not shown) is relayed.

キャビネット2a内部の中央部には、キャビネット側スピーカ42による音の出力を制御するアンプ基板45が配設されている。このアンプ基板45は、左右の側面板20c,20dに固定された取付棚46に取り付けられている。   An amplifier board 45 that controls the output of sound from the cabinet-side speaker 42 is disposed in the center of the cabinet 2a. The amplifier board 45 is attached to a mounting shelf 46 fixed to the left and right side plates 20c, 20d.

また、キャビネット2a内部を正面から見て、アンプ基板45の右側には、外部集中端子板47が配設されている(図5参照)。この外部集中端子板47は、キャビネット2aの右側面板20dに取り付けられている。外部集中端子板47は、メダル投入信号、メダル払出信号及びセキュリティー信号などの信号をパチスロ1の外部へ出力するために設けられている。   Further, an external concentrated terminal plate 47 is disposed on the right side of the amplifier board 45 when the inside of the cabinet 2a is viewed from the front (see FIG. 5). The external concentrated terminal plate 47 is attached to the right side plate 20d of the cabinet 2a. The external concentration terminal board 47 is provided for outputting signals such as a medal insertion signal, a medal payout signal, and a security signal to the outside of the pachislot machine 1.

キャビネット2a内部を正面から見て、アンプ基板45の左側には、サブ電源装置48が配設されている。このサブ電源装置48は、キャビネット2aの左側面板20cに取り付けられている。サブ電源装置48は、交流電圧100Vの電力を後述する電源装置53に供給する。また、交流電圧100Vの電力を直流電圧の電力に変換して、アンプ基板45に供給する。   A sub power supply device 48 is disposed on the left side of the amplifier board 45 when the inside of the cabinet 2a is viewed from the front. The sub power supply 48 is attached to the left side plate 20c of the cabinet 2a. The sub power supply device 48 supplies power with an AC voltage of 100 V to the power supply device 53 described later. In addition, the power of AC voltage 100V is converted to the power of DC voltage and supplied to the amplifier board 45.

キャビネット2aの内部の下側には、メダル払出装置(以下、ホッパー装置)51と、メダル補助収納庫52と、電源装置53が配設されている。   A medal payout device (hereinafter referred to as a hopper device) 51, a medal auxiliary storage 52, and a power supply device 53 are disposed on the lower side of the cabinet 2a.

ホッパー装置51は、キャビネット2aにおける底面板20bの中央部に取り付けられている。このホッパー装置51は、多量のメダルを収容可能であり、それらを1枚ずつ排出可能な構造を有する。ホッパー装置51は、例えば、精算ボタン27(図2参照)が押圧されてパチスロ内部に預けられているメダルの精算を行うときに、収容したメダルをクレジット枚数分排出する。ホッパー装置51によって払い出されたメダルは、メダル払出口32(図2参照)から排出される。   The hopper device 51 is attached to the central portion of the bottom plate 20b in the cabinet 2a. This hopper device 51 can accommodate a large amount of medals, and has a structure capable of discharging them one by one. For example, when the settlement button 27 (see FIG. 2) is pressed to settle the medals stored in the pachislot, the hopper device 51 discharges the stored medals by the number of credits. The medals paid out by the hopper device 51 are discharged from the medal payout port 32 (see FIG. 2).

メダル補助収納庫52は、ホッパー装置51から溢れ出たメダルを収納する。このメダル補助収納庫52は、キャビネット2a内部を正面から見て、ホッパー装置51の右側に配置されている。メダル補助収納庫52は、キャビネット2aの底面板20bに係合されており、底面板20bに対して着脱可能に構成されている。   The medal auxiliary storage 52 stores medals overflowing from the hopper device 51. The medal auxiliary storage 52 is disposed on the right side of the hopper device 51 when the inside of the cabinet 2a is viewed from the front. The medal auxiliary storage 52 is engaged with the bottom plate 20b of the cabinet 2a, and is configured to be detachable from the bottom plate 20b.

電源装置53は、キャビネット2a内部を正面から見て、ホッパー装置51の左側に配置されており、左側面板20cに取り付けられている。この電源装置53は、電源スイッチ53aと、電源基板53bを有している(図14参照)。電源装置53は、サブ電源装置48から供給された交流電圧100Vの電力を各部で必要な直流電圧の電力に変換して、変換した電力を各部へ供給する。   The power supply device 53 is disposed on the left side of the hopper device 51 when the inside of the cabinet 2a is viewed from the front, and is attached to the left side plate 20c. The power supply device 53 includes a power switch 53a and a power supply board 53b (see FIG. 14). The power supply device 53 converts the power of the AC voltage 100V supplied from the sub power supply device 48 into the power of the DC voltage necessary for each part, and supplies the converted power to each part.

図3,図4及び図6に示すように、ミドルドア41は、フロントドア2bの裏面における中央部に配置され、リール表示窓4(図4参照)を裏側から開閉可能に構成されている。ミドルドア41の上部と下部には、ドアストッパ41a,41b,41cが設けられている。このドアストッパ41a,41b,41cは、リール表示窓4を裏側から閉じた状態のミドルドア41の開動作を固定(禁止)する。すなわち、ミドルドア41を開くには、ドアストッパ41a,41b,41cを回転させてミドルドア41の固定を解除する必要がある。   As shown in FIGS. 3, 4 and 6, the middle door 41 is arranged at the center of the back surface of the front door 2b, and is configured such that the reel display window 4 (see FIG. 4) can be opened and closed from the back side. Door stoppers 41a, 41b, and 41c are provided on the upper and lower portions of the middle door 41. The door stoppers 41a, 41b and 41c fix (prohibit) the opening operation of the middle door 41 in a state where the reel display window 4 is closed from the back side. That is, in order to open the middle door 41, it is necessary to rotate the door stoppers 41a, 41b, and 41c to release the middle door 41 from being fixed.

ミドルドア41には、主制御基板71(図14参照)を収納した主制御基板ケース55と、3つのリール3L,3C,3Rが取り付けられている。3つのリール3L,3C,3Rには、所定の減速比をもったギアを介してステッピングモータが接続されている。   A main control board case 55 that houses a main control board 71 (see FIG. 14) and three reels 3L, 3C, and 3R are attached to the middle door 41. Stepping motors are connected to the three reels 3L, 3C, 3R through gears having a predetermined reduction ratio.

図6に示すように、主制御基板ケース55には、設定用鍵型スイッチ56が設けられている。この設定用鍵型スイッチ56は、パチスロ1の設定を変更もしくはパチスロ1の設定の確認を行うときに使用する。
本実施の形態では、主制御基板ケース55と、この主制御基板ケース55に収納された主制御基板71により、主制御基板ユニットが構成されている。
As shown in FIG. 6, the main control board case 55 is provided with a setting key type switch 56. The setting key type switch 56 is used when changing the setting of the pachislot 1 or confirming the setting of the pachislot 1.
In the present embodiment, a main control board unit is configured by the main control board case 55 and the main control board 71 accommodated in the main control board case 55.

主制御基板ケース55に収納された主制御基板71は、後述する主制御回路91(図15参照)を構成する。主制御回路91は、内部当籤役の決定、リール3L,3C,3Rの回転及び停止、入賞の有無の判定といった、パチスロ1における遊技の主な流れを制御する回路である。主制御回路91の具体的な構成は後述する。   The main control board 71 accommodated in the main control board case 55 constitutes a main control circuit 91 (see FIG. 15) described later. The main control circuit 91 is a circuit that controls the main flow of the game in the pachislot 1 such as determination of an internal winning combination, rotation and stop of the reels 3L, 3C, 3R, and determination of the presence or absence of winning. A specific configuration of the main control circuit 91 will be described later.

ミドルドア41の上方には、副制御基板72(図14参照)を収容する副制御基板ケース57が配設されおり、副制御基板ケース57の上方には、センタースピーカ58が配設されている。副制御基板ケース57に収納された副制御基板72は、副制御回路101(図16参照)を構成する。この副制御回路101は、映像の表示等による演出の実行を制御する回路である。副制御回路101の具体的な構成は後述する。   A sub control board case 57 that accommodates the sub control board 72 (see FIG. 14) is disposed above the middle door 41, and a center speaker 58 is disposed above the sub control board case 57. The sub control board 72 housed in the sub control board case 57 constitutes the sub control circuit 101 (see FIG. 16). The sub-control circuit 101 is a circuit that controls execution of effects by displaying images. A specific configuration of the sub control circuit 101 will be described later.

フロントドア2bを裏面側から見て、副制御基板ケース57の右側方には、副中継基板61が配設されている。この副中継基板61は、副制御基板72と主制御基板71とを接続する配線を中継する。また、副制御基板72と副制御基板72の周辺に配設された基板とを接続する配線を中継する基板である。なお、副制御基板72の周辺に配設される基板としては、後述するLED基板62A,62B,62Cが挙げられる。   A sub relay board 61 is disposed on the right side of the sub control board case 57 when the front door 2b is viewed from the back side. The sub relay board 61 relays the wiring connecting the sub control board 72 and the main control board 71. Further, it is a board that relays the wiring that connects the sub-control board 72 and the board disposed around the sub-control board 72. In addition, as a board | substrate arrange | positioned around the sub control board 72, LED board 62A, 62B, 62C mentioned later is mentioned.

LED基板62A,62B,62Cは、フロントドア2bの裏面側から見て、副制御基板ケース57の両側に配設されている。これらLED基板62A,62B,62Cは、副制御回路101(図16参照)の制御により実行される演出に応じて、光源の一具体例を示す複数のLED(Light Emitting Diode)85(図14参照)を発光させて、点滅パターンを表示する。なお、本実施の形態のパチスロ1には、LED基板62A,62B,62C以外に複数のLED基板を備えている。   The LED boards 62A, 62B, and 62C are disposed on both sides of the sub control board case 57 when viewed from the back side of the front door 2b. These LED boards 62A, 62B, and 62C have a plurality of LEDs (Light Emitting Diodes) 85 (see FIG. 14) showing a specific example of the light source according to the effects executed by the control of the sub-control circuit 101 (see FIG. 16). ) To display a blinking pattern. Note that the pachislot machine 1 of the present embodiment includes a plurality of LED boards in addition to the LED boards 62A, 62B, and 62C.

副中継基板61の下方には、24hドア開閉監視ユニット63が配設されている。この24hドア開閉監視ユニット63は、ミドルドア41の開閉の履歴を保存する。また、ミドルドア41を開放したときに、液晶表示装置11にエラー表示を行うための信号を副制御基板72(副制御回路101)に出力する。   Below the sub-relay board 61, a 24h door opening / closing monitoring unit 63 is disposed. The 24h door opening / closing monitoring unit 63 stores the opening / closing history of the middle door 41. When the middle door 41 is opened, a signal for displaying an error on the liquid crystal display device 11 is output to the sub control board 72 (sub control circuit 101).

ミドルドア41の下方には、ボードスピーカ64と、下部スピーカ65L,65Rが配設されている。ボードスピーカ64は、腰部パネルユニット31(図2参照)に対向しており、下部スピーカ65L,65Rは、それぞれスピーカ用孔33L,33R(図2参照)に対向している。   Below the middle door 41, a board speaker 64 and lower speakers 65L and 65R are arranged. The board speaker 64 faces the waist panel unit 31 (see FIG. 2), and the lower speakers 65L and 65R face the speaker holes 33L and 33R (see FIG. 2), respectively.

下部スピーカ65Lの上方には、メダルセレクタ201と、メダルシュート202と、ドア開閉監視スイッチ67と、が配設されている。メダルセレクタ201は、メダルの材質や形状等が適正であるか否かを判別する装置であり、メダル投入口21に投入されたメダルを、スロープ203を介してホッパー装置51へ案内し、又はメダルシュート202へ案内する。メダルセレクタ201の具体的な構成については後述する。   Above the lower speaker 65L, a medal selector 201, a medal chute 202, and a door open / close monitoring switch 67 are disposed. The medal selector 201 is a device that determines whether or not the material and shape of the medal are appropriate, and guides the medal inserted into the medal insertion slot 21 to the hopper device 51 via the slope 203 or the medal. Guide to the chute 202. A specific configuration of the medal selector 201 will be described later.

メダルシュート202は、略Y字状の筒状の部材であり、メダルセレクタ201によって案内されたメダルやホッパー装置51から排出されたメダルをメダル払出口32(図2参照)に案内する。   The medal chute 202 is a substantially Y-shaped cylindrical member, and guides the medal guided by the medal selector 201 and the medal discharged from the hopper device 51 to the medal payout opening 32 (see FIG. 2).

ドア開閉監視スイッチ67は、フロントドア2bを裏面側から見て、メダルセレクタ201の左側方に配置されている。このドア開閉監視スイッチ67は、パチスロ1の外部へ、フロントドア2bの開閉を報知するためのセキュリティー信号を出力する。   The door open / close monitoring switch 67 is disposed on the left side of the medal selector 201 when the front door 2b is viewed from the back side. The door open / close monitoring switch 67 outputs a security signal for notifying the opening / closing of the front door 2b to the outside of the pachi-slot 1.

また、リール表示窓4の下方であってミドルドア41により開閉される領域には、ドア中継端子板68が配設されている(図4参照)。このドア中継端子板68は、主制御基板ケース55内の主制御基板71(図14参照)と、各種のボタンやスイッチ、副制御基板72(図14参照)、メダルセレクタ201及び遊技動作表示基板81(図14参照)との配線を中継する基板である。なお、各種のボタン及びスイッチとしては、例えば、BETボタン22、精算ボタン27、ドア開閉監視スイッチ67、後述するBETスイッチ77、スタートスイッチ79等を挙げることができる。   Further, a door relay terminal plate 68 is disposed in a region below the reel display window 4 and opened and closed by the middle door 41 (see FIG. 4). The door relay terminal board 68 includes a main control board 71 (see FIG. 14) in the main control board case 55, various buttons and switches, a sub-control board 72 (see FIG. 14), a medal selector 201, and a game operation display board. It is a board | substrate which relays wiring with 81 (refer FIG. 14). Examples of the various buttons and switches include a BET button 22, a settlement button 27, a door open / close monitoring switch 67, a BET switch 77, a start switch 79, and the like, which will be described later.

<メダルセレクタの構成>
次に、図7〜図13を参照して、メダルセレクタ201の具体的な構成について説明する。図7は、メダルセレクタ201をパチスロ1の斜め後方から見た斜視図である。図8は、メダルセレクタ201の分解図である。図9は、メダルセレクタ201をパチスロ1の斜め前方から見た斜視図である。図10は、メダルセレクタ201の後述するベース板部204の背面図である。図11は、メダルセレクタ201の後述するセレクトプレート207の斜視図である。図12は、メダルセレクタ201がメダルをホッパー装置51へ案内する場合のメダルの経路を示す図である。図13は、メダルセレクタ201がメダルをメダルシュート202に案内する場合のメダルの経路を示す図である。なお、図7〜図13に示す矢印Xはパチスロ1の左右方向を示し、矢印Yはパチスロ1の前後方向を示し、矢印Zは上下方向を示す。
<Composition of medal selector>
Next, a specific configuration of the medal selector 201 will be described with reference to FIGS. FIG. 7 is a perspective view of the medal selector 201 when viewed from an oblique rear side of the pachi-slot 1. FIG. 8 is an exploded view of the medal selector 201. FIG. 9 is a perspective view of the medal selector 201 as viewed obliquely from the front of the pachi-slot 1. FIG. 10 is a rear view of a base plate portion 204 (to be described later) of the medal selector 201. FIG. 11 is a perspective view of a later-described select plate 207 of the medal selector 201. FIG. 12 is a diagram showing a medal path when the medal selector 201 guides the medal to the hopper device 51. FIG. 13 is a diagram showing a medal path when the medal selector 201 guides the medal to the medal chute 202. In addition, the arrow X shown in FIGS. 7-13 shows the left-right direction of the pachislot 1, the arrow Y shows the front-back direction of the pachislot 1, and the arrow Z shows the up-down direction.

図7〜図9に示すように、メダルセレクタ201は、ベース板部204と、サブプレート205と、キャンセルシュータ206と、セレクトプレート207と、メダルソレノイド208(図9参照)、カメラユニット209と、を備えている。   As shown in FIGS. 7 to 9, the medal selector 201 includes a base plate portion 204, a sub plate 205, a cancel shooter 206, a select plate 207, a medal solenoid 208 (see FIG. 9), a camera unit 209, It has.

ベース板部204は、メダルセレクタ201の外枠筐体を構成する略板状の部材であり、パチスロ1の左右方向の両端部がパチスロ1の後方に折曲するように成型されている。ベース板部204は、パチスロ1の前後方向に直交する一方の平面である後面204bと他方の平面である前面204a(図9参照)を有している。後面204bには、メダルレール210が、パチスロ1の前方へ凹むように、且つ、略L字状に形成されている。メダルレール210の表面には、複数の突条部210aが形成されている。   The base plate portion 204 is a substantially plate-like member that constitutes the outer frame housing of the medal selector 201, and is molded so that both left and right end portions of the pachi-slot 1 bend to the rear of the pachi-slot 1. The base plate portion 204 has a rear surface 204b that is one plane orthogonal to the front-rear direction of the pachislot 1 and a front surface 204a (see FIG. 9) that is the other plane. A medal rail 210 is formed on the rear surface 204b so as to be recessed forward of the pachi-slot 1 and in a substantially L shape. A plurality of protrusions 210 a are formed on the surface of the medal rail 210.

ベース板部204の上端部には、メダル投入口21(図2参照)から投入されるメダルを受け入れるメダル入口部211が設けられている。メダル入口部211からメダルセレクタ201内に投入されたメダルは、メダルレール210に沿って上方から下方へ移動する。ベース板部204の下部には、メダル出口部204c(図8参照)が設けられている。メダルセレクタ201内を移動したメダルは、メダル出口部204cから排出され、スロープ203(図4参照)を介してホッパー装置51に収容される。   At the upper end portion of the base plate portion 204, a medal entrance portion 211 that receives a medal inserted from the medal insertion port 21 (see FIG. 2) is provided. A medal inserted into the medal selector 201 from the medal entrance 211 moves along the medal rail 210 from above to below. A medal outlet portion 204c (see FIG. 8) is provided at the lower portion of the base plate portion 204. The medals that have moved in the medal selector 201 are discharged from the medal outlet 204c and are accommodated in the hopper device 51 via the slope 203 (see FIG. 4).

メダルレール210の略中間位置には前後方向に貫通する中央孔212が形成されており、この中央孔212からはメダルプレッシャ213(図8参照)の端部が露出している。図9に示すように、メダルプレッシャ213は、ベース板部204の前面204aに設けられた軸部214に回動可能に支持されている。この軸部214には、コイルばね215が取り付けられており、メダルプレッシャ213は、コイルばね215により、メダルプレッシャ213が中央孔212から突出するように付勢されている。   A central hole 212 penetrating in the front-rear direction is formed at a substantially intermediate position of the medal rail 210, and an end of the medal pressure 213 (see FIG. 8) is exposed from the central hole 212. As shown in FIG. 9, the medal pressure 213 is rotatably supported by a shaft portion 214 provided on the front surface 204 a of the base plate portion 204. A coil spring 215 is attached to the shaft portion 214, and the medal pressure 213 is urged by the coil spring 215 so that the medal pressure 213 protrudes from the central hole 212.

図9に示すように、ベース板部204の前面204aには、磁石217が設けられている。磁石217は、メダルレール210上を移動するメダルの内、適正な材質でない不正メダルを吸着(着磁)する。   As shown in FIG. 9, a magnet 217 is provided on the front surface 204 a of the base plate portion 204. The magnet 217 attracts (magnetizes) an illegal medal that is not an appropriate material among medals moving on the medal rail 210.

また、図8に示すように、メダルレール210の下流領域の略中央部には、前後方向に貫通し、後述するアフタメダルプレッシャ218の後端部が露出する上露出孔219が形成されている。また、メダルレール210の下流領域の下部には、前後方向に貫通し、セレクトプレート207の後述するメダルストッパ部227が露出する下露出孔220が形成されている。   As shown in FIG. 8, an upper exposure hole 219 that penetrates in the front-rear direction and exposes a rear end portion of an after-medal pressure 218, which will be described later, is formed in a substantially central portion of the downstream region of the medal rail 210. . Further, a lower exposure hole 220 that penetrates in the front-rear direction and exposes a later-described medal stopper portion 227 of the select plate 207 is formed in the lower portion of the downstream area of the medal rail 210.

また、図10に示すように、メダルレール210には、6つの基準マーカー260が形成されている。基準マーカー260は、カメラユニット209が撮像するメダルレール210上の領域である撮像領域A1(図10では1点鎖線で示す)内に配置されている。   Further, as shown in FIG. 10, six reference markers 260 are formed on the medal rail 210. The reference marker 260 is arranged in an imaging area A1 (indicated by a one-dot chain line in FIG. 10) that is an area on the medal rail 210 that the camera unit 209 images.

基準マーカー260は、上部基準マーカー261と、下部基準マーカー262とからなり、上部基準マーカー261は、メダルレール210の上部で、傾斜しながら、左右方向に3つ並ぶように配置されている。また、下部基準マーカー262は、メダルレール210の下部で、傾斜しながら左右方向に3つ並ぶように配置されている。   The reference marker 260 includes an upper reference marker 261 and a lower reference marker 262. The upper reference marker 261 is arranged on the top of the medal rail 210 so as to be aligned in the left-right direction while being inclined. Further, the lower reference markers 262 are arranged at the lower part of the medal rail 210 so as to be arranged in the left-right direction while being inclined.

基準マーカー260は、カメラユニット209が撮像した撮像領域の画像データにおいて、基準マーカー260が形成されている箇所の画素に係る輝度と、基準マーカー260が形成されていない箇所の画素に係る輝度と、が所定値以上異なるように、形成されている。本実施形態では、各基準マーカー260は、メダルレール210に三角形の孔を空けることで形成されている。なお、基準マーカー260の形成態様はこれに限らず、孔の形状は適宜選択可能である。また、例えば、基準マーカー260を、メダルレール210上に、メダルレール210の地の色とは、異なる色の図形を印刷することで、形成してもよい。   In the image data of the imaging area captured by the camera unit 209, the reference marker 260 includes the luminance related to the pixel at the location where the reference marker 260 is formed, the luminance related to the pixel where the reference marker 260 is not formed, Are formed so as to be different from each other by a predetermined value or more. In the present embodiment, each reference marker 260 is formed by making a triangular hole in the medal rail 210. In addition, the formation aspect of the reference | standard marker 260 is not restricted to this, The shape of a hole can be selected suitably. Further, for example, the reference marker 260 may be formed on the medal rail 210 by printing a graphic having a color different from the color of the ground of the medal rail 210.

図9に示すように、メダルソレノイド208は、ソレノイド本体部208aと、板状に形成され、一端部及び他端部が前後方向に移動可能にソレノイド本体部208aに支持されている可動板部208bを備えている。アフタメダルプレッシャ218は、ベース板部204の前面204aに回動可能に軸支されている。アフタメダルプレッシャ218の前端部がメダルソレノイド208の可動板部208bによってパチスロ1の後方へ押圧されると、アフタメダルプレッシャ218は回動し、アフタメダルプレッシャ218の後端部が上露出孔219(図8参照)から露出する。   As shown in FIG. 9, the medal solenoid 208 is formed in a plate shape with a solenoid body 208a, and a movable plate 208b supported by the solenoid body 208a so that one end and the other end are movable in the front-rear direction. It has. The after medal pressure 218 is pivotally supported on the front surface 204a of the base plate portion 204 so as to be rotatable. When the front end portion of the after medal pressure 218 is pressed rearward of the pachislot 1 by the movable plate portion 208b of the medal solenoid 208, the after medal pressure 218 rotates and the rear end portion of the after medal pressure 218 is the upper exposure hole 219 ( (See FIG. 8).

図7及び図8に示すように、キャンセルシュータ206は、略板状の部材であり、パチスロ1の左右方向の両端部がパチスロ1の前方に折曲するように成型されている。キャンセルシュータ206は、ベース板部204に着脱可能に固定され、ベース板部204の下部を後方から覆っている。キャンセルシュータ206は、メダル出口部204cを介することなく排出されるメダルをメダルシュート202(図4参照)に案内する。キャンセルシュータ206の左右方向の略中央部の上部には、下方に略矩形状に切り欠いた切欠き部206aが形成されている。   As shown in FIGS. 7 and 8, the cancel shooter 206 is a substantially plate-like member, and is molded so that both ends in the left-right direction of the pachislot 1 bend forward of the pachislot 1. The cancel shooter 206 is detachably fixed to the base plate portion 204 and covers the lower portion of the base plate portion 204 from the rear. The cancel shooter 206 guides the medals discharged without going through the medal outlet 204c to the medal chute 202 (see FIG. 4). A cutout portion 206 a that is cut out in a substantially rectangular shape is formed at the upper portion of the substantially central portion in the left-right direction of the cancel shooter 206.

また、キャンセルシュータ206には、報知用LED206cが設けられている。報知用LED206cは、後述するAE補正処理においてエラーが発生した旨を点灯して報知する報知手段を構成する。   The cancel shooter 206 is provided with a notification LED 206c. The notification LED 206c constitutes notification means for lighting and notifying that an error has occurred in an AE correction process described later.

図7及び図8に示すように、サブプレート205は、メダルレール210を後方から覆う板状の部材である。サブプレート205は、平板状の本体部221と、この本体部221の上部に設けた軸部222と、を有している。本体部221の略中央部には、前後方向に貫通する貫通孔221aが設けられており、貫通孔221aからはメダルレール210の略中央部から下流領域が露出している。   As shown in FIGS. 7 and 8, the sub plate 205 is a plate-like member that covers the medal rail 210 from behind. The sub-plate 205 has a flat plate-like main body part 221 and a shaft part 222 provided on the upper part of the main body part 221. A through hole 221a penetrating in the front-rear direction is provided in a substantially central portion of the main body portion 221, and a downstream region is exposed from the substantially central portion of the medal rail 210 from the through hole 221a.

軸部222は、ベース板部204に支持されており、サブプレート205は、軸部222を中心に回動可能にベース板部204に取り付けられている。軸部222には、にはコイルばね223が取り付けられている。通常時、サブプレート205は、コイルばね223の付勢力により、ベース板部204側に押し付けられている。このとき、サブプレート205と、サブプレート205に覆われたメダルレール210の上部との間には、メダルが通過可能な空間が形成されている。すなわち、サブプレート205は、メダルを通過させるガイド板として機能する。   The shaft portion 222 is supported by the base plate portion 204, and the sub-plate 205 is attached to the base plate portion 204 so as to be rotatable about the shaft portion 222. A coil spring 223 is attached to the shaft portion 222. Under normal conditions, the sub plate 205 is pressed against the base plate portion 204 side by the biasing force of the coil spring 223. At this time, a space through which medals can pass is formed between the sub plate 205 and the upper part of the medal rail 210 covered with the sub plate 205. That is, the sub plate 205 functions as a guide plate that allows the medal to pass therethrough.

ここで、例えば、メダルセレクタ201内にメダル詰まりが生じた場合、サブプレート205をコイルばね223の付勢力に抗して回動させて、メダル詰まりを解消することができる。 Here, for example, when a medal jam occurs in the medal selector 201, the sub plate 205 can be rotated against the urging force of the coil spring 223 to eliminate the medal jam.

図7に示すように、セレクトプレート207は、サブプレート205に覆われていないメダルレール210の略中央部を移動するメダルをガイドする部材である。図11に示すように、セレクトプレート207は、略台形板状のプレート本体224と、プレート本体224の左右方向の両端部がパチスロ1の前方へ折曲することで形成されている一対の軸受部225と、を有している。また、プレート本体224の上部には、パチスロ1の前方へ折曲し、後端部が上方へ折曲することで形成されているフランジ部226が形成されている。また、一方の軸受部225には、下方へ延びるメダルストッパ部227が形成されている。   As shown in FIG. 7, the select plate 207 is a member that guides a medal that moves in a substantially central portion of the medal rail 210 that is not covered by the sub plate 205. As shown in FIG. 11, the select plate 207 includes a substantially trapezoidal plate main body 224 and a pair of bearing portions formed by bending both left and right end portions of the plate main body 224 forward of the pachislot 1. 225. A flange portion 226 is formed on the upper portion of the plate main body 224. The flange portion 226 is formed by bending the pachislot 1 forward and bending the rear end portion upward. One bearing portion 225 is formed with a medal stopper portion 227 extending downward.

図7に示すように、プレート本体224は、サブプレート205に覆われていないメダルレール210の略中央部とパチスロ1の前後方向に対向している。   As shown in FIG. 7, the plate main body 224 faces the substantially central portion of the medal rail 210 not covered by the sub plate 205 in the front-rear direction of the pachislot 1.

図9に示すように、セレクトプレート207は、ベース板部204の前面204aに設けられた軸部228に回動可能に支持されている。軸部228にはコイルばね229が設けられており、フランジ部226をパチスロ1の前方へ付勢する。フランジ部226は、メダルソレノイド208の可動板部208bの一端部と接触している。メダルソレノイド208がON状態にあるとき、フランジ部226はメダルソレノイド208の可動板部208bの一端部に押圧され、コイルばね229の付勢力に抗してパチスロ1の後方へ移動する。このときの、セレクトプレート207の回動位置を「ガイド位置」と称する。ガイド位置にあるセレクトプレート207のプレート本体224とメダルレール210との距離は、メダルをキャンセルシュータ206側に排出することなくホッパー装置51へガイド可能な所定の距離に設定されている。また、このときメダルストッパ部227は、下露出孔220(図8参照)から突出しない。   As shown in FIG. 9, the select plate 207 is rotatably supported by a shaft portion 228 provided on the front surface 204 a of the base plate portion 204. The shaft portion 228 is provided with a coil spring 229 and biases the flange portion 226 forward of the pachislot 1. The flange portion 226 is in contact with one end portion of the movable plate portion 208b of the medal solenoid 208. When the medal solenoid 208 is in the ON state, the flange portion 226 is pressed against one end of the movable plate portion 208 b of the medal solenoid 208 and moves to the rear of the pachislot 1 against the biasing force of the coil spring 229. The rotation position of the select plate 207 at this time is referred to as a “guide position”. The distance between the plate body 224 of the select plate 207 at the guide position and the medal rail 210 is set to a predetermined distance that allows the medal to be guided to the hopper device 51 without discharging the medal to the cancel shooter 206 side. At this time, the medal stopper portion 227 does not protrude from the lower exposure hole 220 (see FIG. 8).

また、メダルソレノイド208がOFF状態にあるとき、フランジ部226はメダルソレノイド208の押圧から解放され、コイルばね229の付勢力によってパチスロ1の前方へ移動する。このときの、セレクトプレート207の回動位置を「排出位置」と称する。排出位置にあるセレクトプレート207のプレート本体224とメダルレール210との距離は、所定の距離よりも長い距離に設定されている。このとき、パチスロ1の前方へ移動するフランジ部226に押圧され、メダルソレノイド208の可動板部208bの一端部はパチスロ1の前方へ移動する。これに伴ってメダルソレノイド208の可動板部208bの他端部がパチスロ1の後方へ移動し、アフタメダルプレッシャ218の前端部を押圧する。これによってアフタメダルプレッシャ218は回動し、アフタメダルプレッシャ218の後端部が上露出孔219(図8参照)から露出する。   When the medal solenoid 208 is in the OFF state, the flange portion 226 is released from the pressing of the medal solenoid 208 and moves forward of the pachislot 1 by the biasing force of the coil spring 229. The rotation position of the select plate 207 at this time is referred to as a “discharge position”. The distance between the plate body 224 of the select plate 207 at the discharge position and the medal rail 210 is set to be longer than a predetermined distance. At this time, the flange portion 226 that moves forward of the pachi-slot 1 is pressed, and one end of the movable plate portion 208 b of the medal solenoid 208 moves forward of the pachi-slot 1. Accordingly, the other end portion of the movable plate portion 208b of the medal solenoid 208 moves to the rear of the pachislot 1 and presses the front end portion of the after medal pressure 218. As a result, the after medal pressure 218 rotates and the rear end of the after medal pressure 218 is exposed from the upper exposure hole 219 (see FIG. 8).

メダルストッパ部227は、セレクトプレート207がガイド位置にあるときは下露出孔220(図8参照)から突出せず、排出位置にあるときは下露出孔220から突出する。   The medal stopper 227 does not protrude from the lower exposure hole 220 (see FIG. 8) when the select plate 207 is at the guide position, and protrudes from the lower exposure hole 220 when at the discharge position.

図12に示すように、ガイド位置にあるセレクトプレート207は、メダルレール210上を移動するメダルが規格寸法を満たす場合、移動するメダルの上部と接触し、メダルをメダル出口部204c(図8参照)へ案内する。メダルは、セレクトプレート207に案内されているとき、メダルプレッシャ213をパチスロ1の前方へ押圧する。なお、図12では、メダルセレクタ201のサブプレート205やキャンセルシュータ206の図示を省略している。   As shown in FIG. 12, when the medal moving on the medal rail 210 meets the standard dimension, the select plate 207 at the guide position contacts the upper part of the moving medal, and the medal exit portion 204c (see FIG. 8). ) When the medal is guided by the select plate 207, the medal pressure 213 is pressed forward of the pachislot 1. In FIG. 12, illustration of the sub plate 205 and the cancel shooter 206 of the medal selector 201 is omitted.

一方、図13に示すように、排出位置にあるセレクトプレート207は、メダルレール210上を移動するメダルが規格寸法を満たす場合であっても、プレート本体224とメダルレール210との距離が離れているため、メダルをメダル出口部204c(図8参照)へ案内することができない。また、メダルは、メダルプレッシャ213、上露出孔219から突出するアフタメダルプレッシャ218、又は、下露出孔220から突出するメダルストッパ部227に押し出され、キャンセルシュータ206に向けて排出される。なお、図13では、図12と同様に、メダルセレクタ201のサブプレート205やキャンセルシュータ206の図示を省略している。   On the other hand, as shown in FIG. 13, the select plate 207 at the discharge position has a distance between the plate main body 224 and the medal rail 210 even when the medal moving on the medal rail 210 satisfies the standard dimension. Therefore, the medal cannot be guided to the medal outlet 204c (see FIG. 8). The medal is pushed out by the medal pressure 213, the after medal pressure 218 protruding from the upper exposure hole 219, or the medal stopper portion 227 protruding from the lower exposure hole 220, and discharged toward the cancel shooter 206. In FIG. 13, as in FIG. 12, illustration of the sub plate 205 and the cancel shooter 206 of the medal selector 201 is omitted.

また、本実施形態においてセレクトプレート207は、通常、ガイド位置に位置付けされているが、所定の条件下(例えば、規定枚数のメダル投入時、エラー発生時、遊技開始時など)では、排出位置に位置付けされている。   In this embodiment, the select plate 207 is normally positioned at the guide position. However, under a predetermined condition (for example, when a predetermined number of medals are inserted, when an error occurs, when a game starts, etc.), It is positioned.

また、メダルレール210上を移動するメダルが規格寸法よりも小径の場合、セレクトプレート207がガイド位置にあっても、メダルはセレクトプレート207に案内されず、メダルプレッシャ213に押し出され、キャンセルシュータ206に向けて排出される。   If the medal moving on the medal rail 210 has a smaller diameter than the standard dimension, even if the select plate 207 is in the guide position, the medal is not guided to the select plate 207 but pushed out to the medal pressure 213 and the cancel shooter 206 It is discharged toward

図7及び図8に示すように、カメラユニット209は、第1の基板230、第2の基板231及び図示しないレンズで構成されており、メダルレール210上を移動する物体が正規メダルか否かを判定し、判定結果を主制御回路91に出力するユニットである。第1の基板230には、CMOSイメージセンサ232(図17参照)及びLED233(図17参照)が設けられている。第2の基板231には、CMOSイメージセンサ232及びLED233と通信可能、及び、制御可能に接続されている制御LSI234(図17参照)が設けられている。   As shown in FIGS. 7 and 8, the camera unit 209 includes a first substrate 230, a second substrate 231 and a lens (not shown), and whether or not an object moving on the medal rail 210 is a regular medal. Is a unit that outputs the determination result to the main control circuit 91. The first substrate 230 is provided with a CMOS image sensor 232 (see FIG. 17) and an LED 233 (see FIG. 17). The second substrate 231 is provided with a control LSI 234 (see FIG. 17) that is communicably connected to the CMOS image sensor 232 and the LED 233 and is controllably connected.

第1の基板230と第2の基板231は、BtoB(Board-to-Board)形式のコネクタ(不図示)で接続され、また、各基板230,231の角部に設けられた脚部235によって固定されている。なお、カメラユニット209の回路の具体的な構成については後述する。また、本実施形態では、カメラユニット209を2つの基板230,231とレンズで構成する態様を説明したが、これに代えて、CMOSイメージセンサ232、LED233及び制御LSI234を設けた一つの基板で、カメラユニットを構成してもよい。また、絞り機構を追加してもよい。   The first board 230 and the second board 231 are connected by a BtoB (Board-to-Board) type connector (not shown), and by legs 235 provided at the corners of the boards 230 and 231. It is fixed. The specific configuration of the camera unit 209 circuit will be described later. In this embodiment, the camera unit 209 is described as having two substrates 230 and 231 and a lens. However, instead of this, a single substrate having the CMOS image sensor 232, the LED 233, and the control LSI 234 is provided. You may comprise a camera unit. An aperture mechanism may be added.

カメラユニット209は、キャンセルシュータ206の上部の切欠き部206aの周囲に設けられたビス穴206bに、第1の基板230がビス止めされることで、固定されている。   The camera unit 209 is fixed by screwing the first substrate 230 into a screw hole 206b provided around a notch 206a at the top of the cancel shooter 206.

CMOSイメージセンサ232(図17参照)は、第1の基板230の略中央部分に設けられている。CMOSイメージセンサ232は、キャンセルシュータ206の切欠き部206a(図8参照)を介して、メダルレール210上の撮像領域A1(図10参照)を撮像し、撮像した画像データを制御LSI234(図17参照)に出力する。   The CMOS image sensor 232 (see FIG. 17) is provided at a substantially central portion of the first substrate 230. The CMOS image sensor 232 images the imaging area A1 (see FIG. 10) on the medal rail 210 via the notch portion 206a (see FIG. 8) of the cancel shooter 206, and controls the captured image data to the control LSI 234 (FIG. 17). Output).

LED233(図17参照)は、CMOSイメージセンサ232の周囲で面発光し、メダルレール210上を移動する物体に光を照射する。制御LSI234(図17参照)は、CMOSイメージセンサ232から出力された画像データに基づいて、メダルレール210上を移動する物体が正規メダルか否かを判定し、判定結果を主制御回路91に出力する。なお、本実施形態では、切欠き部206aの周囲に形成したビス穴206bにビス止めすることでカメラユニット209をキャンセルシュータ206に固定する態様を説明したが、カメラユニットの固定態様はこれに限定されない。例えば、第1の基板230と第2の基板231の間に取り付けレールを設け、また、キャンセルシュータ206の上部に凹部を設け、この凹部に取り付けレールを嵌めた上で、取り付けレールとキャンセルシュータ206をビス止め又は接着剤で固定するようにしてもよい。   The LED 233 (see FIG. 17) emits light around the CMOS image sensor 232, and irradiates the object moving on the medal rail 210 with light. The control LSI 234 (see FIG. 17) determines whether the object moving on the medal rail 210 is a regular medal based on the image data output from the CMOS image sensor 232 and outputs the determination result to the main control circuit 91. To do. In this embodiment, the mode in which the camera unit 209 is fixed to the cancel shooter 206 by screwing in the screw hole 206b formed around the notch portion 206a has been described. However, the camera unit fixing mode is limited to this. Not. For example, an attachment rail is provided between the first substrate 230 and the second substrate 231, and a recess is provided in the upper part of the cancel shooter 206. The attachment rail and the cancel shooter 206 are fitted in the recess. May be fixed with screws or an adhesive.

<パチスロが備える回路の構成>
次に、パチスロ1が備える回路の構成について、図14〜図18を参照して説明する。
まず、図14を参照してパチスロ1が備える回路全体の概要について説明する。図14は、パチスロ1が備える回路全体のブロック構成図である。
<Configuration of circuits provided in pachislot>
Next, a configuration of a circuit included in the pachislo 1 will be described with reference to FIGS.
First, the outline of the entire circuit provided in the pachislot machine 1 will be described with reference to FIG. FIG. 14 is a block configuration diagram of the entire circuit provided in the pachislot 1.

パチスロ1は、ミドルドア41に配設された主制御基板71と、フロントドア2bに配設された副制御基板72を有している。
主制御基板71には、リール中継端子板74と、設定用鍵型スイッチ56と、外部集中端子板47と、ホッパー装置51と、メダル補助収納庫スイッチ75と、電源装置53の電源基板53bが接続されている。設定用鍵型スイッチ56、外部集中端子板47、ホッパー装置51及びメダル補助収納庫スイッチ75は、キャビネット側中継基板44を介して主制御基板71に接続されている。外部集中端子板47及びホッパー装置51については、上述したため、説明を省略する。
The pachi-slot 1 has a main control board 71 disposed on the middle door 41 and a sub-control board 72 disposed on the front door 2b.
The main control board 71 includes a reel relay terminal board 74, a setting key switch 56, an external concentration terminal board 47, a hopper device 51, a medal auxiliary storage switch 75, and a power supply board 53b of the power supply 53. It is connected. The setting key switch 56, the external concentration terminal board 47, the hopper device 51, and the medal auxiliary storage switch 75 are connected to the main control board 71 via the cabinet-side relay board 44. Since the external concentration terminal board 47 and the hopper device 51 have been described above, description thereof will be omitted.

リール中継端子板74は、各リール3L,3C,3Rのリール本体の内側に配設されている。このリール中継端子板74は、各リール3L,3C,3Rのステッピングモータ(不図示)に電気的に接続されており、主制御基板71からステッピングモータに出力される信号を中継する。   The reel relay terminal plate 74 is disposed inside the reel body of each reel 3L, 3C, 3R. The reel relay terminal plate 74 is electrically connected to stepping motors (not shown) of the reels 3L, 3C, 3R, and relays signals output from the main control board 71 to the stepping motors.

メダル補助収納庫スイッチ75は、メダル補助収納庫52のスイッチ貫通孔(非表示)を貫通している。このメダル補助収納庫スイッチ75は、メダル補助収納庫52がメダルで満杯になっているか否かを検出する。   The medal auxiliary storage switch 75 passes through a switch through hole (not shown) of the medal auxiliary storage 52. The medal auxiliary storage switch 75 detects whether or not the medal auxiliary storage 52 is full of medals.

電源装置53の電源基板53bには、電源スイッチ53aが接続されている。この電源スイッチ53aは、パチスロ1に必要な電源を供給するときにONにする。   A power switch 53 a is connected to the power supply board 53 b of the power supply device 53. The power switch 53a is turned on when supplying necessary power to the pachislot machine 1.

また、主制御基板71には、ドア中継端子板68を介して、メダルセレクタ201、ドア開閉監視スイッチ67、BETスイッチ77、精算スイッチ78、スタートスイッチ79、ストップスイッチ基板80、遊技動作表示基板81及び副中継基板61が接続されている。ドア開閉監視スイッチ67及び副中継基板61については、上述したため、説明を省略する。メダルセレクタ201の回路構成については後述する。   The main control board 71 has a medal selector 201, a door open / close monitoring switch 67, a BET switch 77, a settlement switch 78, a start switch 79, a stop switch board 80, and a game operation display board 81 via a door relay terminal board 68. The sub-relay board 61 is connected. Since the door opening / closing monitoring switch 67 and the sub relay board 61 have been described above, the description thereof will be omitted. The circuit configuration of the medal selector 201 will be described later.

BETスイッチ77は、BETボタン22が遊技者により押されたことを検出する。精算スイッチ78は、精算ボタン27が遊技者により押されたことを検出する。スタートスイッチ79は、スタートレバー23が遊技者により操作されたこと(開始操作)を検出する。   The BET switch 77 detects that the BET button 22 has been pressed by the player. The settlement switch 78 detects that the settlement button 27 has been pressed by the player. The start switch 79 detects that the start lever 23 has been operated by the player (start operation).

ストップスイッチ基板80は、回転しているリールを停止させるための回路と、停止可能なリールをLEDなどにより表示するための回路を構成する基板である。このストップスイッチ基板80には、ストップスイッチが設けられている。ストップスイッチは、各ストップボタン19L,19C,19Rが遊技者により押されたこと(停止操作)を検出する。   The stop switch substrate 80 is a substrate constituting a circuit for stopping the rotating reel and a circuit for displaying the stopable reel by an LED or the like. The stop switch substrate 80 is provided with a stop switch. The stop switch detects that each stop button 19L, 19C, 19R has been pressed by the player (stop operation).

遊技動作表示基板81は、メダルの投入を受け付けるとき、3つのリール3L,3C,3Rが回動可能なとき及び再遊技を行うときに、投入されたメダルの枚数を7セグ表示器24に表示させるための基板である。この遊技動作表示基板81には、7セグ表示器24とLED82が接続されている。LED82は、例えば、遊技の開始を表示するマークや再遊技を行うマークなどを点灯させる。   The game operation display board 81 displays the number of inserted medals on the 7-segment display 24 when accepting insertion of medals, when the three reels 3L, 3C, 3R are rotatable and when replaying. It is a substrate for making it. A 7-segment display 24 and an LED 82 are connected to the game operation display board 81. The LED 82 lights, for example, a mark for displaying the start of a game or a mark for performing a re-game.

副制御基板72は、ドア中継端子板68と副中継基板61を介して主制御基板71に接続されている。この副制御基板72には、副中継基板61を介して、サウンドI/O基板84、LED基板62A,62B,62C、24hドア開閉監視ユニット63が接続されている。これらLED基板62A,62B,62C及び24hドア開閉監視ユニット63については、上述したため、説明を省略する。   The sub control board 72 is connected to the main control board 71 via the door relay terminal board 68 and the sub relay board 61. A sound I / O board 84, LED boards 62A, 62B, 62C, and a 24h door open / close monitoring unit 63 are connected to the sub control board 72 via a sub relay board 61. Since these LED boards 62A, 62B, 62C and the 24h door opening / closing monitoring unit 63 have been described above, the description thereof will be omitted.

サウンドI/O基板84は、センタースピーカ58、ボードスピーカ64、下部スピーカ65L,65R及びフロントドア2bに設けられた不図示のスピーカへの音声の出力を行う。   The sound I / O board 84 outputs sound to a center speaker 58, a board speaker 64, lower speakers 65L and 65R, and a speaker (not shown) provided on the front door 2b.

また、副制御基板72には、ロムカートリッジ基板86と、液晶中継基板87が接続されている。これらロムカートリッジ基板86及び液晶中継基板87は、副制御基板72と共に副制御基板ケース57に収納されている。
ロムカートリッジ基板86は、演出用の画像(映像)、音声、LED基板62A,62B及びその他のLED基板(不図示)、通信のデータを管理するための基板である。液晶中継基板87は、副制御基板72と液晶表示装置11とを接続する配線を中継する基板である。
The sub-control board 72 is connected to a ROM cartridge board 86 and a liquid crystal relay board 87. The ROM cartridge substrate 86 and the liquid crystal relay substrate 87 are housed in the sub control board case 57 together with the sub control board 72.
The ROM cartridge substrate 86 is a substrate for managing production images (video), sound, LED substrates 62A and 62B, other LED substrates (not shown), and communication data. The liquid crystal relay substrate 87 is a substrate that relays wiring that connects the sub-control board 72 and the liquid crystal display device 11.

<主制御回路>
次に、主制御基板71により構成される主制御回路91について、図15を参照して説明する。
図15は、パチスロ1の主制御回路91の構成例を示すブロック図である。
<Main control circuit>
Next, the main control circuit 91 constituted by the main control board 71 will be described with reference to FIG.
FIG. 15 is a block diagram illustrating a configuration example of the main control circuit 91 of the pachi-slot 1.

主制御回路91は、主制御基板71上に設置されたマイクロコンピュータ92を主たる構成要素としている。マイクロコンピュータ92は、メインCPU93、メインROM94及びメインRAM95により構成される。メインCPU93と前述のホッパー装置51は、本発明の遊技媒体払出装置を構成している。   The main control circuit 91 includes a microcomputer 92 installed on the main control board 71 as a main component. The microcomputer 92 includes a main CPU 93, a main ROM 94, and a main RAM 95. The main CPU 93 and the hopper device 51 described above constitute a game medium payout device of the present invention.

メインROM94には、メインCPU93により実行される制御プログラム(例えば、上述した内部抽籤処理の実行のためのプログラム)、データテーブル、副制御回路101に対して各種制御指令(コマンド)を送信するためのデータ等が記憶されている。メインRAM95には、制御プログラムの実行により決定された内部当籤役等の各種データを格納する格納領域が設けられる。   The main ROM 94 is used to transmit various control commands (commands) to the control program executed by the main CPU 93 (for example, the program for executing the internal lottery process described above), the data table, and the sub-control circuit 101. Data etc. are stored. The main RAM 95 is provided with a storage area for storing various data such as an internal winning combination determined by execution of the control program.

メインCPU93には、クロックパルス発生回路96、分周器97、乱数発生器98及びサンプリング回路99が接続されている。クロックパルス発生回路96及び分周器97は、クロックパルスを発生する。メインCPU93は、発生されたクロックパルスに基づいて、制御プログラムを実行する。乱数発生器98は、予め定められた範囲の乱数(例えば、0〜65535)を発生する。サンプリング回路99は、発生された乱数の中から1つの値を抽出する。   The main CPU 93 is connected to a clock pulse generation circuit 96, a frequency divider 97, a random number generator 98, and a sampling circuit 99. The clock pulse generation circuit 96 and the frequency divider 97 generate clock pulses. The main CPU 93 executes a control program based on the generated clock pulse. The random number generator 98 generates a random number in a predetermined range (for example, 0 to 65535). The sampling circuit 99 extracts one value from the generated random numbers.

メインCPU93は、リールインデックスを検出してから各リール3L,3C,3Rのステッピングモータに対してパルスを出力した回数をカウントする。これにより、メインCPU93は、各リール3L,3C,3Rの回転角度(主に、リールが図柄何個分だけ回転したか)を管理する。
なお、リールインデックスとは、リールが一回転したことを示す情報である。このリールインデックスは、例えば、発光部及び受光部を有する光センサと、各リール3L,3C,3Rの所定の位置に設けられ、各リール3L,3C,3Rの回転により発光部と受光部との間に介在される検知片を備えたリール位置検出部(不図示)により検出する。
The main CPU 93 counts the number of times pulses are output to the stepping motors of the reels 3L, 3C, 3R after detecting the reel index. Thereby, the main CPU 93 manages the rotation angle of each reel 3L, 3C, 3R (mainly, how many symbols the reel has rotated).
The reel index is information indicating that the reel has made one revolution. This reel index is provided at a predetermined position of each of the reels 3L, 3C, 3R, for example, with a light emitting unit and a light receiving unit, and between the light emitting unit and the light receiving unit by the rotation of each reel 3L, 3C, 3R. Detection is performed by a reel position detection unit (not shown) including a detection piece interposed therebetween.

ここで、各リール3L,3C,3Rの回転角度の管理について、具体的に説明する。ステッピングモータに対して出力されたパルスの数は、メインRAM95に設けられたパルスカウンタによって計数される。そして、図柄1つ分の回転に必要な所定回数(例えば16回)のパルスの出力がパルスカウンタで計数される毎に、メインRAM95に設けられた図柄カウンタが1ずつ加算される。図柄カウンタは、各リール3L,3C,3Rに応じて設けられている。図柄カウンタの値は、リール位置検出部(不図示)によってリールインデックスが検出されるとクリアされる。   Here, the management of the rotation angle of each reel 3L, 3C, 3R will be specifically described. The number of pulses output to the stepping motor is counted by a pulse counter provided in the main RAM 95. Each time the output of a predetermined number of pulses (for example, 16 times) necessary for the rotation of one symbol is counted by the pulse counter, the symbol counter provided in the main RAM 95 is incremented by one. The symbol counter is provided for each reel 3L, 3C, 3R. The value of the symbol counter is cleared when a reel index is detected by a reel position detector (not shown).

つまり、本実施の形態では、図柄カウンタを管理することにより、リールインデックスが検出されてから図柄何個分の回転が行われたのかを管理するようになっている。したがって、各リール3L,3C,3Rの各図柄の位置は、リールインデックスが検出される位置を基準として検出される。   In other words, in the present embodiment, by managing the symbol counter, it is possible to manage how many symbols have been rotated since the reel index was detected. Therefore, the position of each symbol on each reel 3L, 3C, 3R is detected with reference to the position where the reel index is detected.

上述したように、滑り駒数の最大数を図柄4個分に定めた場合は、左ストップボタン19Lが押されたときにリール表示窓4の中段にある左リール3Lの図柄と、その4個先の図柄までの範囲内にある各図柄が、リール表示窓4の中段に停止可能な図柄となる。   As described above, when the maximum number of sliding symbols is set to four symbols, the symbol of the left reel 3L in the middle of the reel display window 4 when the left stop button 19L is pressed, and the four symbols. Each symbol within the range up to the previous symbol becomes a symbol that can be stopped at the middle stage of the reel display window 4.

また、メインCPU93は、後述するようにメダルセレクタ201の制御LSI234から判定結果が入力されると、入力された判定結果に基づいて、遊技機に正規の遊技媒体が用いられていると誤認させて遊技を行う不正行為を検知する。   Further, when a determination result is input from the control LSI 234 of the medal selector 201 as will be described later, the main CPU 93 causes the gaming machine to mistakenly recognize that a regular gaming medium is used based on the input determination result. Detect fraudulent acts that play games.

<副制御回路>
次に、副制御基板72により構成される副制御回路101について、図16を参照して説明する。
図16は、パチスロ1の副制御回路101の構成例を示すブロック図である。
<Sub control circuit>
Next, the sub control circuit 101 constituted by the sub control board 72 will be described with reference to FIG.
FIG. 16 is a block diagram illustrating a configuration example of the sub control circuit 101 of the pachi-slot 1.

副制御回路101は、主制御回路91と電気的に接続されており、主制御回路91から送信されるコマンドに基づいて演出内容の決定や実行等の処理を行う。副制御回路101は、基本的に、サブCPU102、サブRAM103、レンダリングプロセッサ104、描画用RAM105、ドライバ106を含んで構成されている。   The sub control circuit 101 is electrically connected to the main control circuit 91 and performs processing such as determination and execution of effect contents based on a command transmitted from the main control circuit 91. The sub control circuit 101 basically includes a sub CPU 102, a sub RAM 103, a rendering processor 104, a drawing RAM 105, and a driver 106.

サブCPU102は、主制御回路91から送信されたコマンドに応じて、ロムカートリッジ基板86に記憶されている制御プログラムに従い、映像、音、光の出力の制御を行う。ロムカートリッジ基板86は、基本的に、プログラム記憶領域とデータ記憶領域によって構成される。   The sub CPU 102 controls the output of video, sound, and light according to the control program stored in the ROM cartridge substrate 86 in accordance with the command transmitted from the main control circuit 91. The ROM cartridge substrate 86 basically includes a program storage area and a data storage area.

プログラム記憶領域には、サブCPU102が実行する制御プログラムが記憶されている。例えば、制御プログラムには、主制御回路91との通信を制御するための主基板通信タスクや、演出用乱数値を抽出し、演出内容(演出データ)の決定及び登録を行うための演出登録タスクが含まれる。また、決定した演出内容に基づいて液晶表示装置11(図2参照)による映像の表示を制御する描画制御タスク、LED85等の光源による光の出力を制御するランプ制御タスク、スピーカ58,64,65L,65R等のスピーカによる音の出力を制御する音声制御タスク等が含まれる。   A control program executed by the sub CPU 102 is stored in the program storage area. For example, the control program includes a main board communication task for controlling communication with the main control circuit 91 and an effect registration task for extracting and registering effect contents (effect data) by extracting effect random numbers. Is included. In addition, a drawing control task for controlling display of an image by the liquid crystal display device 11 (see FIG. 2) based on the determined contents of the effect, a lamp control task for controlling light output by a light source such as the LED 85, and the speakers 58, 64, and 65L. , 65R, etc., and a voice control task for controlling the sound output from the speaker.

データ記憶領域は、各種データテーブルを記憶する記憶領域、各演出内容を構成する演出データを記憶する記憶領域、映像の作成に関するアニメーションデータを記憶する記憶領域が含まれている。また、BGMや効果音に関するサウンドデータを記憶する記憶領域、光の点消灯のパターンに関するランプデータを記憶する記憶領域等が含まれている。   The data storage area includes a storage area for storing various data tables, a storage area for storing effect data constituting each effect content, and a storage area for storing animation data related to creation of video. Also included are a storage area for storing sound data related to BGM and sound effects, a storage area for storing lamp data related to the light on / off pattern, and the like.

サブRAM103は、決定された演出内容や演出データを登録する格納領域や、主制御回路91から送信される内部当籤役等の各種データを格納する格納領域が設けられている。   The sub-RAM 103 is provided with a storage area for registering the determined contents and effects data, and a storage area for storing various data such as an internal winning combination transmitted from the main control circuit 91.

サブCPU102、レンダリングプロセッサ104、描画用RAM(フレームバッファを含む)105及びドライバ106は、演出内容により指定されたアニメーションデータに従って映像を作成し、作成した映像を液晶表示装置11に表示させる。   The sub CPU 102, the rendering processor 104, the drawing RAM (including the frame buffer) 105, and the driver 106 create a video according to the animation data designated by the content of the presentation, and display the created video on the liquid crystal display device 11.

また、サブCPU102は、演出内容により指定されたサウンドデータに従ってBGMなどの音をスピーカ58,64,65L,65R等のスピーカにより出力させる。また、サブCPU102は、演出内容により指定されたランプデータに従ってLED85等の光源の点灯及び消灯を制御する。   Further, the sub CPU 102 causes a sound such as BGM to be output from a speaker such as speakers 58, 64, 65L, and 65R in accordance with the sound data specified by the contents of the effect. Further, the sub CPU 102 controls the turning on and off of the light source such as the LED 85 according to the lamp data designated by the contents of the effect.

<メダルセレクタの回路構成>
次に、メダルセレクタ201の回路構成について、図17を参照して説明する。
図17は、メダルセレクタ201の回路構成例を示すブロック図である。
<Circuit configuration of medal selector>
Next, the circuit configuration of the medal selector 201 will be described with reference to FIG.
FIG. 17 is a block diagram illustrating a circuit configuration example of the medal selector 201.

図17に示すように、メダルセレクタ201は、カメラユニット209とメダルソレノイド208を備えている。
また、メダルセレクタ201は、ドア中継端子板68を介して、主制御基板71に接続されている。すなわちメダルセレクタ201は、主制御回路91と電気的に接続されている。したがって、主制御回路91は、メダルセレクタ201のメダルソレノイド208をON状態又はOFF状態に設定することができる。
As shown in FIG. 17, the medal selector 201 includes a camera unit 209 and a medal solenoid 208.
The medal selector 201 is connected to the main control board 71 via the door relay terminal board 68. That is, the medal selector 201 is electrically connected to the main control circuit 91. Therefore, the main control circuit 91 can set the medal solenoid 208 of the medal selector 201 to the ON state or the OFF state.

カメラユニット209は、制御LSI234、CMOSイメージセンサ232及びLED233で構成されている。カメラユニット209の制御LSI234は、ASIC(Application Specific Integrated Circuit)で構成され、CMOSイメージセンサ232
及びLED233と電気的に接続されている。制御LSI234は、LED233の発光を制御する。また、制御LSI234は、CMOSイメージセンサ232から出力された画像データに基づいて、メダルレール210上を移動する物体が正規メダルか否かを判定し、判定結果を、GPIO250に割り付けられた出力PORTから後述の所定の出力条件が成立したときに、ドア中継端子板68を介して主制御基板71に出力する。
The camera unit 209 includes a control LSI 234, a CMOS image sensor 232, and an LED 233. The control LSI 234 of the camera unit 209 is composed of an ASIC (Application Specific Integrated Circuit) and a CMOS image sensor 232.
And the LED 233 are electrically connected. The control LSI 234 controls the light emission of the LED 233. Further, the control LSI 234 determines whether or not the object moving on the medal rail 210 is a regular medal based on the image data output from the CMOS image sensor 232, and the determination result is output from the output PORT assigned to the GPIO 250. When a predetermined output condition described later is satisfied, the signal is output to the main control board 71 via the door relay terminal board 68.

CMOSイメージセンサ232は、露光時間(シャッタースピード)を1〜25段階で設定する露光時間設定機構を備えている。1段階上がる毎に、露光時間は、7μ秒延びるように設定される。本実施形態では、露光時間の初期値(パチスロ1の電源投入時の値)は、段階10、すなわち70μ秒に設定されている。したがって、本実施形態では、露光時間を、70μ秒から最大175μ秒(段階25に対応する露光時間)の範囲で設定可能となっている。
なお、本実施形態において、採用されているCMOSイメージセンサ232は、解像度が648×488ピクセルであり、フレームレートが240fps(Frames Per Second)のCMOSイメージセンサである。
The CMOS image sensor 232 includes an exposure time setting mechanism that sets the exposure time (shutter speed) in 1 to 25 stages. The exposure time is set to extend by 7 μs every time one step is increased. In this embodiment, the initial value of the exposure time (the value when the pachislot 1 is turned on) is set to stage 10, that is, 70 μsec. Therefore, in this embodiment, the exposure time can be set in a range from 70 μsec to a maximum of 175 μsec (exposure time corresponding to the stage 25).
In the present embodiment, the adopted CMOS image sensor 232 is a CMOS image sensor having a resolution of 648 × 488 pixels and a frame rate of 240 fps (Frames Per Second).

また、制御LSI234は、報知用LED206cと電気的に接続されている。報知用LED206cは、制御LSI234からの指示に応じて点灯及び消灯する。   The control LSI 234 is electrically connected to the notification LED 206c. The notification LED 206c is turned on and off in response to an instruction from the control LSI 234.

<制御LSIの回路構成>
次に、制御LSI234の回路構成について、図18を参照して説明する。
図18は、制御LSI234の回路構成例を示すブロック図である。
<Circuit configuration of control LSI>
Next, the circuit configuration of the control LSI 234 will be described with reference to FIG.
FIG. 18 is a block diagram illustrating a circuit configuration example of the control LSI 234.

制御LSI234は、ホストコントローラ241、画像認識DSP(digital signal processor)回路242、バックアップ電源(不図示)が接続されたSRAM(Static Random Access Memory)243、フラッシュメモリ244、ISP(Image Signal Processing)回路245及びメダルカウント回路246を備えている。また、制御LSI234は、カラー認識回路247、魚眼補正スケーラ回路248、画像認識アクセラレータ回路249及びGPIO(General Purpose Input/Output)250を備えている。これら制御LSI234を構成するデバイスは、バスを介して相互に接続されおり、本実施形態の制御LSI234では、バスのプロトコルとしてAXI(Advanced eXtensible Interface)
が採用されている。
The control LSI 234 includes a host controller 241, an image recognition DSP (digital signal processor) circuit 242, an SRAM (Static Random Access Memory) 243 to which a backup power supply (not shown) is connected, a flash memory 244, an ISP (Image Signal Processing) circuit 245. And a medal count circuit 246. The control LSI 234 includes a color recognition circuit 247, a fisheye correction scaler circuit 248, an image recognition accelerator circuit 249, and a GPIO (General Purpose Input / Output) 250. The devices constituting the control LSI 234 are connected to each other via a bus. In the control LSI 234 of the present embodiment, an AXI (Advanced eXtensible Interface) is used as a bus protocol.
Is adopted.

また、制御LSI234は、ISI(Image Sensor Interface)回路251を備えている。ISI回路251は、CMOSイメージセンサ232とISP回路に電気的に接続されている。ISI回路251は、CMOSイメージセンサ232からLVDS(Low voltage differential signaling)方式で送信された画像データをRGBベイヤ画像に変換して出力する。   The control LSI 234 includes an ISI (Image Sensor Interface) circuit 251. The ISI circuit 251 is electrically connected to the CMOS image sensor 232 and the ISP circuit. The ISI circuit 251 converts the image data transmitted from the CMOS image sensor 232 by the LVDS (Low voltage differential signaling) method into an RGB Bayer image and outputs it.

<ISP回路>
ISP回路245は、ISI回路251からRGBベイヤ画像が出力されると(RGBベイヤ画像が入力される)と、VSYNC(Vertical Synchronization)割込信号を、ホストコントローラ241に出力する。
また、ISP回路245は、ISI回路251から出力されたRGBベイヤ画像にレンズ歪み補正処理と射影変換(ホモグラフィ)処理を施す画像補正処理を行う。
<ISP circuit>
When an RGB Bayer image is output from the ISI circuit 251 (RGB Bayer image is input), the ISP circuit 245 outputs a VSYNC (Vertical Synchronization) interrupt signal to the host controller 241.
Further, the ISP circuit 245 performs image correction processing for subjecting the RGB Bayer image output from the ISI circuit 251 to lens distortion correction processing and projective transformation (homography) processing.

レンズ歪み補正処理は、後述する各種判別・判定処理の精度を高めるため、CMOSイメージセンサ232が撮像した画像データ上の、カメラユニット209におけるレンズの特性に起因して発生する歪みを補正する処理である。   The lens distortion correction process is a process for correcting distortion caused by the characteristics of the lens in the camera unit 209 on the image data captured by the CMOS image sensor 232 in order to increase the accuracy of various determination / determination processes described later. is there.

例えば、カメラユニット209のレンズとして、凸レンズを採用した場合、レンズの端の厚みがレンズの中央部の厚みに比べて薄いため、図19に示すような歪みが生じる。図19では、CMOSイメージセンサ232の撮像領域A1と、CMOSイメージセンサ232が撮像した撮像領域A1の画像データG1を模式的に表している。画像データG1における黒点は、撮像領域A1の各格子の頂点に対応する箇所を表している。   For example, when a convex lens is employed as the lens of the camera unit 209, the thickness of the lens end is thinner than the thickness of the central portion of the lens, so that distortion as shown in FIG. 19 occurs. In FIG. 19, the imaging area A1 of the CMOS image sensor 232 and the image data G1 of the imaging area A1 captured by the CMOS image sensor 232 are schematically shown. The black dots in the image data G1 represent locations corresponding to the vertices of each grid in the imaging area A1.

図19に示すように、画像データG1では、中央部に比べて端部に比較的大きな歪みが発生している。ISP回路245は、予め設定されている各種補正パラメータに基づきレンズ歪み補正処理を行って画像データG1(ISI回路251から出力されたRGBベイヤ画像)を加工する。具体的には、画像データG1の黒点の位置が、対応する撮像領域A1の格子の頂点と同位置になるように、画像データG1を補完する。これによって、この歪みが後述する各種判別処理に与える影響を抑制する。   As shown in FIG. 19, in the image data G1, a relatively large distortion occurs at the end compared to the center. The ISP circuit 245 performs lens distortion correction processing based on various correction parameters set in advance to process the image data G1 (RGB Bayer image output from the ISI circuit 251). Specifically, the image data G1 is complemented so that the position of the black dot of the image data G1 is the same position as the vertex of the grid of the corresponding imaging region A1. This suppresses the influence of this distortion on various types of discrimination processing described later.

なお、各種補正パラメータは、カメラユニット209に採用されるレンズに対する事前の特性評価に基づいて予めプログラム上で規定されている。なお、上記各種補正パラメータをフラッシュメモリ244に記憶させ、レンズ歪み補正処理時にISP回路245に参照されるようにしてもよい。   Note that the various correction parameters are defined in advance in the program based on the prior characteristic evaluation for the lens employed in the camera unit 209. The various correction parameters may be stored in the flash memory 244 and referred to the ISP circuit 245 during the lens distortion correction process.

射影変換処理は、カメラユニット209の取り付け位置のずれが、後述する各種判別・判定処理の精度に影響を与えないように、画像データを補正する処理である。
例えば、カメラユニット209がキャンセルシュータ206に対して、好適な角度でない角度で傾いて取り付けられると、図20Aに示すように、後述する各種判別・判定処理に必要な画像領域A2が歪んで撮像される場合がある。射影変換処理では、この歪みを補正し、画像データを、後述する各種判別・判定処理に好適な態様に補完する。
The projective transformation process is a process of correcting the image data so that the displacement of the mounting position of the camera unit 209 does not affect the accuracy of various determination / determination processes described later.
For example, when the camera unit 209 is attached to the cancel shooter 206 at an angle other than a suitable angle, as shown in FIG. 20A, an image area A2 required for various determination / determination processes described later is distorted and imaged. There is a case. In the projective transformation process, this distortion is corrected, and the image data is complemented with a mode suitable for various discrimination / determination processes to be described later.

具体的には、射影変換処理において、ISP回路245は、レンズ歪み補正処理後のRGBベイヤ画像を解析し、このRGBベイヤ画像における少なくとも4つの基準マーカー260の位置(座標:x,y)を検出する。   Specifically, in the projective transformation process, the ISP circuit 245 analyzes the RGB Bayer image after the lens distortion correction process, and detects the positions (coordinates: x, y) of at least four reference markers 260 in the RGB Bayer image. To do.

次に、検出した4つの基準マーカーに対応する、プログラム上で予め規定されている後述する各種判別処理の精度を高めるために好適な画像データにおける基準マーカー260の位置(座標:u,v)に基づき、以下の式1及び式2における変換係数a,b,c,d,e,f,g,hを算出する。
u=(x×a+y×b+c)/(x×g+y×h+1) ・・・式(1)
v=(x×d+y×e+f)/(x×g+y×h+1) ・・・式(2)
Next, the position of the reference marker 260 (coordinates: u, v) in image data suitable for improving the accuracy of various determination processes described later, which are defined in advance in the program, corresponding to the detected four reference markers. Based on the following formulas 1 and 2, conversion coefficients a, b, c, d, e, f, g, and h are calculated.
u = (x * a + y * b + c) / (x * g + y * h + 1) Formula (1)
v = (x × d + y × e + f) / (x × g + y × h + 1) (2)

そして、算出した変換係数a,b,c,d,e,f,g,hと、レンズ歪み補正処理後のRGBベイヤ画像における各画素の座標値を、上記式1及び式2に代入して、各画素についての変換後の座標を算出し、各画素が算出した変換後の座標に位置するようにこのRGBベイヤ画像を加工する。図20Bは、射影変換処理後のRGBベイヤ画像における図20Aに示す画像領域A2を模式的に表している。   Then, the calculated conversion coefficients a, b, c, d, e, f, g, h, and the coordinate values of each pixel in the RGB Bayer image after the lens distortion correction process are substituted into the above-described Expression 1 and Expression 2. The coordinates after conversion for each pixel are calculated, and this RGB Bayer image is processed so that each pixel is positioned at the calculated coordinates after conversion. FIG. 20B schematically shows the image area A2 shown in FIG. 20A in the RGB Bayer image after the projective transformation processing.

なお、本実施形態では、各種判別処理の精度を高めるために好適な画像データにおける基準マーカー260の位置(座標:u,v)をプログラム上で規定する態様を説明した。しかし、これに代えて、例えば、この基準マーカー260の位置をフラッシュメモリ244に記憶させ、射影変換処理時にISP回路245に参照されるようにしてもよい。   In the present embodiment, the mode in which the position (coordinates: u, v) of the reference marker 260 in image data suitable for improving the accuracy of various determination processes is defined on the program has been described. However, instead of this, for example, the position of the reference marker 260 may be stored in the flash memory 244 and referred to by the ISP circuit 245 during the projective transformation process.

次に、ISP回路245は、レンズ歪み補正処理と射影変換処理後のRGBベイヤ画像を各種フォーマットに変換する色変換処理を行う。色変換処理において、ISP回路245は、RGBベイヤ画像を、YUV色空間に対応する画像データ(YUV画像データ)に変換し、このYUV画像データにおける輝度に係るデータ(以下、「グレースケール画像データ」と称する場合がある)をメダルカウント回路246に出力する(メダルカウント回路246が参照するSRAM243の所定の領域に出力する)。また、グレースケール画像データをSRAM243に記憶させる。なお、SRAM243には、所定数のグレースケール画像データが記憶可能な記憶領域が設けられている。SRAM243に記憶されているグレースケール画像データの数が上限数に達した場合、記憶された順序が古いグレースケール画像データから上書きされる。   Next, the ISP circuit 245 performs color conversion processing for converting the RGB Bayer image after the lens distortion correction processing and the projective conversion processing into various formats. In the color conversion process, the ISP circuit 245 converts the RGB Bayer image into image data (YUV image data) corresponding to the YUV color space, and data relating to luminance in the YUV image data (hereinafter “grayscale image data”). Are output to the medal count circuit 246 (output to a predetermined area of the SRAM 243 referenced by the medal count circuit 246). Further, the gray scale image data is stored in the SRAM 243. The SRAM 243 is provided with a storage area capable of storing a predetermined number of gray scale image data. When the number of grayscale image data stored in the SRAM 243 reaches the upper limit, the stored order is overwritten from the old grayscale image data.

また、色変換処理において、ISP回路245は、RGBベイヤ画像を、三つの成分(H:色相、S:彩度、V:明度)からなる色空間(HSV色空間)に対応する画像データ(HSV画像データ)に変換し、このHSV画像データをカラー認識回路247に出力する(カラー認識回路247が参照するSRAM243の所定の領域に出力する)。   In the color conversion process, the ISP circuit 245 converts the RGB Bayer image into image data (HSV color space) corresponding to a color space (HSV color space) composed of three components (H: hue, S: saturation, V: lightness). Image data) and output the HSV image data to the color recognition circuit 247 (output to a predetermined area of the SRAM 243 referenced by the color recognition circuit 247).

また、ISP回路245は、パチスロ1の電源投入時に、ISI回路251からRGBベイヤ画像が出力される(RGBベイヤ画像が入力される)と、出力された画像に所定の画像が含まれているか否かを判定するAE(Auto Exposure)判定処理を行う。本実施形
態において、所定の画像とは、メダルレール210の表面に形成された突条部210a(図8参照)の画像である。すなわち、本実施形態では、ISP回路245は、画像データ内に所定の画像が含まれているか否かを判定する画像判定手段を構成する。
In addition, when the RGB circuit image is output from the ISI circuit 251 when the power of the pachislot machine 1 is turned on (an RGB Bayer image is input), the ISP circuit 245 determines whether or not a predetermined image is included in the output image. AE (Auto Exposure) determination processing is performed to determine whether or not. In the present embodiment, the predetermined image is an image of the ridge 210a (see FIG. 8) formed on the surface of the medal rail 210. That is, in the present embodiment, the ISP circuit 245 constitutes an image determination unit that determines whether or not a predetermined image is included in the image data.

ISP回路245は、ISI回路251から出力された画像から所定の長さ以上の直線成分を抽出可能なときに、出力された画像に突条部210aの画像が含まれていると判定し、抽出できないときには、出力された画像に突条部210aの画像が含まれていないと判定する。なお、出力された画像からの所定の長さ以上の直線成分の抽出は、例えば出力された画像にハフ変換処理を施すことにより行われるが、これに限らず、他の特徴抽出方法を用いてもよい。   When the ISP circuit 245 can extract a linear component having a predetermined length or more from the image output from the ISI circuit 251, the ISP circuit 245 determines that the image of the protruding portion 210 a is included in the output image, and extracts it. When it cannot, it determines with the image of the protrusion part 210a not being included in the output image. Extraction of a linear component having a predetermined length or more from the output image is performed by, for example, performing a Hough transform process on the output image, but the present invention is not limited to this, and other feature extraction methods are used. Also good.

ISP回路245は、ISI回路251から出力された画像に突条部210aの画像が含まれていると判定するとき、このAE判定処理の判定結果をホストコントローラ241に出力せず、また、以降に、ISI回路251から出力された画像については、AE判定処理を行わない。   When the ISP circuit 245 determines that the image output from the ISI circuit 251 includes the image of the protrusion 210a, the ISP circuit 245 does not output the determination result of the AE determination process to the host controller 241. The AE determination process is not performed on the image output from the ISI circuit 251.

一方、ISP回路245は、ISI回路251から出力された画像に突条部210aの画像が含まれていないと判定するとき、このAE判定処理の判定結果をホストコントローラ241に出力する。また、ISP回路245は、CMOSイメージセンサ232の露光時間が、本実施形態における上限の175μ秒(段階25に対応する露光時間)に設定されるまで、ISI回路251から画像が出力されると、出力された画像に対して、AE判定処理を行う。   On the other hand, when the ISP circuit 245 determines that the image output from the ISI circuit 251 does not include the image of the protrusion 210a, the ISP circuit 245 outputs the determination result of the AE determination process to the host controller 241. Further, the ISP circuit 245 outputs an image from the ISI circuit 251 until the exposure time of the CMOS image sensor 232 is set to the upper limit of 175 μsec (exposure time corresponding to step 25) in the present embodiment. AE determination processing is performed on the output image.

なお、本実施形態では、所定の画像を、メダルレール210の表面に形成された突条部210aとする態様を説明した。しかし、これに限らず、所定の画像を、例えば、メダルレール210に形成されている基準マーカー260としてもよい。また、出力された画像から直線成分が抽出できるか否かを判定する態様を説明したが、これに限らず、抽出した直線成分の画角強度に基づく判定を行ってもよい。   In the present embodiment, the aspect in which the predetermined image is the ridge 210a formed on the surface of the medal rail 210 has been described. However, the present invention is not limited to this, and the predetermined image may be, for example, the reference marker 260 formed on the medal rail 210. Moreover, although the aspect which determines whether a linear component can be extracted from the output image was demonstrated, you may perform the determination based not only on this but the angle-of-view intensity | strength of the extracted linear component.

<カラー認識回路>
カラー認識回路247は、ISP回路245から出力されたHSV画像データの内の色相と彩度に基づいて色判定処理を行う。色判定処理には、メダル検出処理、閾値判定処理、彩度・色相乗算処理、色テンプレート生成処理、及び、色テンプレート比較処理が含まれる。
<Color recognition circuit>
The color recognition circuit 247 performs color determination processing based on the hue and saturation in the HSV image data output from the ISP circuit 245. The color determination processing includes medal detection processing, threshold determination processing, saturation / hue multiplication processing, color template generation processing, and color template comparison processing.

(1)メダル検出処理
色判定処理において、カラー認識回路247は、ISP回路245から出力されたHSV画像データをSRAM243に記憶させる。なお、SRAM243には、所定数のHSV画像データが記憶可能な記憶領域が設けられている。SRAM243に記憶されているHSV画像データの数が上限数に達した場合、記憶された順序が古いHSV画像データから上書きされる。
(1) Medal Detection Processing In the color determination processing, the color recognition circuit 247 stores the HSV image data output from the ISP circuit 245 in the SRAM 243. The SRAM 243 is provided with a storage area capable of storing a predetermined number of HSV image data. When the number of HSV image data stored in the SRAM 243 reaches the upper limit, the stored order is overwritten from the old HSV image data.

また、カラー認識回路247は、ISP回路245から出力されたHSV画像データにメダルの画像が含まれているか否かを判別するメダル検出処理を行う。具体的には、今回、ISP回路245から出力されたHSV画像データと、SRAM243に記憶されている背景HSV画像データと、の差分を検出し、差分部分がメダルの形状と一致する場合は、メダルの画像が含まれていると判別する。なお、背景HSV画像データは、メダルの画像が含まれていないHSV画像データであり、メダルがメダルレール210上を移動していないとき、例えば、電源投入直後に、CMOSイメージセンサ232が撮像した画像データをISP回路245がHSV画像データに変換することで得られる。本実施形態では、ISP回路245は、得られた背景HSV画像データをSRAM243に記憶する。なお、検出された差分部分がメダル形状と一致するか否かは、予めフラッシュメモリ244に保存されたメダル形状のHSV画像データと比較することで判別される。   The color recognition circuit 247 performs a medal detection process for determining whether or not a medal image is included in the HSV image data output from the ISP circuit 245. Specifically, the difference between the HSV image data output from the ISP circuit 245 this time and the background HSV image data stored in the SRAM 243 is detected, and if the difference portion matches the medal shape, the medal Is determined to be included. The background HSV image data is HSV image data that does not include an image of a medal. When the medal is not moving on the medal rail 210, for example, an image captured by the CMOS image sensor 232 immediately after the power is turned on. The data is obtained by the ISP circuit 245 converting the data into HSV image data. In the present embodiment, the ISP circuit 245 stores the obtained background HSV image data in the SRAM 243. Whether or not the detected difference portion matches the medal shape is determined by comparing with the medal shape HSV image data stored in the flash memory 244 in advance.

(2)閾値判定処理
HSV画像データにメダルの画像が含まれていると判別した場合、カラー認識回路247は、このHSV画像データに基づいて、閾値判定処理を行う。閾値判定処理において、カラー認識回路247は、HSV画像データにおけるメダルの画像の所定領域、例えば本実施形態ではメダルの中心を含む略正方形の領域(以下、「メダル領域」と称する場合がある)内の全画素の彩度の値を積算し、また、色相の値を積算する。そして、積算値をメダル領域内の画素数で割って、平均彩度値と、平均色相値と、を算出し、算出した値に基づいて、図21に示す閾値グラフ上の位置を特定する。
(2) Threshold Determination Processing When it is determined that the medal image is included in the HSV image data, the color recognition circuit 247 performs threshold determination processing based on the HSV image data. In the threshold determination processing, the color recognition circuit 247 is in a predetermined area of the medal image in the HSV image data, for example, a substantially square area including the center of the medal in the present embodiment (hereinafter, sometimes referred to as “medal area”). The saturation values of all the pixels are integrated, and the hue values are integrated. Then, the average saturation value and the average hue value are calculated by dividing the integrated value by the number of pixels in the medal area, and the position on the threshold graph shown in FIG. 21 is specified based on the calculated values.

ここで、図21の閾値グラフは、縦軸を彩度の値、横軸を色相の値とするグラフである。閾値グラフでは、所定の式に基づいて、グラフ上が許容領域と、非許容領域と、に区分けされている。図21では、許容領域の背景を白地で表し、非許容領域の背景を網掛けで表している。   Here, the threshold graph of FIG. 21 is a graph in which the vertical axis represents the saturation value and the horizontal axis represents the hue value. In the threshold graph, the graph is divided into an allowable region and a non-permissible region based on a predetermined formula. In FIG. 21, the background of the allowable area is represented by a white background, and the background of the non-allowable area is represented by shading.

平均彩度値と、平均色相値とに基づく閾値グラフ上の位置が、許容領域内の場合は、色判定処理を継続する。一方、非許容領域内の場合は、色判定処理の判定結果として、「閾値判定不可」をSRAM243の色判定記憶領域に記憶させ、色判定処理を終了する。なお、SRAM243の色判定記憶領域には、所定数の判定結果が記憶可能であり、記憶されている判定結果が上限数に達した場合、記憶された順序が早い判定結果から上書きされる。   If the position on the threshold graph based on the average saturation value and the average hue value is within the allowable region, the color determination process is continued. On the other hand, if it is within the non-allowable area, “threshold value determination impossible” is stored in the color determination storage area of the SRAM 243 as the determination result of the color determination process, and the color determination process is terminated. Note that a predetermined number of determination results can be stored in the color determination storage area of the SRAM 243, and when the stored determination results reach the upper limit number, the stored determination results are overwritten from the earlier determination results.

なお、上記に代えて、カラー認識回路247は、メダル領域内の各画素について、その画素の彩度の値と色相の値とに基づいて、図21に示す閾値グラフ上の位置を特定してもよい。この場合、非許容領域内に位置付けられる画素の数が、所定数、例えばメダル領域内の画素数の20%を超えるか否かを判定し、超えない場合は、色判定処理を継続し、超える場合は、色判定処理の判定結果として、「閾値判定不可」をSRAM243に記憶させ、色判定処理を終了させてもよい。   Instead of the above, the color recognition circuit 247 specifies the position on the threshold graph shown in FIG. 21 based on the saturation value and the hue value of each pixel in the medal area. Also good. In this case, it is determined whether or not the number of pixels positioned in the non-allowable area exceeds a predetermined number, for example, 20% of the number of pixels in the medal area. If not, the color determination process is continued and exceeded. In this case, “threshold value determination impossible” may be stored in the SRAM 243 as the determination result of the color determination process, and the color determination process may be terminated.

また、閾値グラフにおける許容領域と非許容領域は適宜設定可能である。例えば、図21の非許容領域に加えて、彩度の値が所定値以上、例えば90以上の場合は、非許容領域に位置するような非許容領域を設けてもよい。   Further, the allowable region and the non-permissible region in the threshold graph can be set as appropriate. For example, in addition to the non-permissible area in FIG. 21, when the saturation value is equal to or greater than a predetermined value, for example, 90 or greater, a non-permissible area positioned in the non-permissible area may be provided.

(3)彩度・色相乗算処理
閾値判定処理後、カラー認識回路247は、閾値判定処理において、彩度・色相乗算処理を行う。彩度・色相乗算処理において、メダル領域内の各画素の彩度の値と色相の値を乗算し、また、乗算して算出した値を、その画素の位置と対応づけてSRAM243に記憶させる。なお、以後の説明において、メダル領域内の各画素の彩度の値と色相の値との乗算値をその画素の位置に対応づけて記憶したデータのまとまりを「色判定用データ」と称する場合がある。
(3) Saturation / Hue Multiplication Processing After the threshold determination processing, the color recognition circuit 247 performs saturation / hue multiplication processing in the threshold determination processing. In the saturation / hue multiplication process, the saturation value of each pixel in the medal area is multiplied by the hue value, and the value calculated by the multiplication is stored in the SRAM 243 in association with the position of the pixel. In the following description, a group of data stored by associating the multiplication value of the saturation value and the hue value of each pixel in the medal area with the position of the pixel is referred to as “color determination data”. There is.

(4)色テンプレート生成処理
色テンプレート生成処理は、後述する色テンプレート比較処理において用いられる色テンプレートを生成する処理である。色テンプレート生成処理において、カラー認識回路247は、電源投入後に投入されたメダルが規定初期投入枚数、本実施形態では50枚に達するまでの各メダルに係る色判定用データを相互に比較し、一致する又は所定程度類似する色判定用データをグループ化する。
(4) Color template generation process The color template generation process is a process of generating a color template used in a color template comparison process described later. In the color template generation process, the color recognition circuit 247 compares the color determination data relating to each medal until the number of medals inserted after power-on reaches the specified initial number of inserted medals, 50 in this embodiment, and matches. Or color determination data similar to a predetermined degree are grouped.

例えば、カラー認識回路247は、50枚のメダルに係る色判定用データについて、彩度の値と色相の値との乗算値を、対応づけられている画素の位置毎に比較する。そして、一致する又は所定の誤差範囲(例えば、±5)内である乗算値の数が所定数以上(例えば、全乗算値の80%以上)の場合にこれらの色判定用データをグループ化する。   For example, the color recognition circuit 247 compares the multiplication value of the saturation value and the hue value with respect to the data for color determination related to 50 medals for each position of the associated pixel. Then, when the number of multiplication values that coincide or fall within a predetermined error range (for example, ± 5) is a predetermined number or more (for example, 80% or more of all the multiplication values), these color determination data are grouped. .

次いで、カラー認識回路247は、属する色判定用データの数の多い順で、上位4つのグループを選定する。そして、選定した上位4つのグループのそれぞれについて、任意の一つの色判定用データを選定し、その4つの色判定用データを色テンプレートとして、SRAM243の色テンプレートを記憶する記憶領域に記憶させる。なお、選定した上位4つのグループのそれぞれについて、任意の一つの色判定用データを選定することに代えて、同一のグループに属する色判定用データの平均値(各画素に係る乗算値の平均値)を算出することで色テンプレートを生成してもよい。また、SRAM243に記憶された色テンプレートは、遊技機の電源投入時に、ホストコントローラ241の初期化処理(不図示)により消去してもよい。   Next, the color recognition circuit 247 selects the upper four groups in the descending order of the number of color determination data to which they belong. Then, for each of the selected top four groups, one arbitrary color determination data is selected, and the four color determination data are stored as color templates in the storage area for storing the color template in the SRAM 243. For each of the selected top four groups, instead of selecting any one color determination data, the average value of the color determination data belonging to the same group (the average value of the multiplication values for each pixel) ) May be generated to generate a color template. Further, the color template stored in the SRAM 243 may be erased by initialization processing (not shown) of the host controller 241 when the gaming machine is turned on.

上記のように、色テンプレートを生成することで、例えば、表と裏で刻印(模様)や色が異なる2種類のメダルを正規メダルとして使用する場合で、且つ、色テンプレートがSRAM243の記憶領域に記憶されていない場合に、電源投入後にこれら正規メダルを50枚投入することで、これら2種類のメダルの表と裏に係る4種類の色テンプレートを生成することができる。なお、色テンプレートがSRAM243の記憶領域に記憶されていない場合に、電源投入後に投入された50枚の正規メダルが1種類であったときは、この正規メダルの表と裏に係る2種類の色テンプレートが生成され、後述の色テンプレート比較処理では、生成された2種類の色テンプレートが用いられる。   As described above, by generating a color template, for example, when two kinds of medals having different markings (patterns) and colors on the front and back are used as regular medals, and the color template is stored in the storage area of the SRAM 243. If not stored, by inserting 50 of these regular medals after the power is turned on, four types of color templates relating to the front and back of these two types of medals can be generated. In addition, when the color template is not stored in the storage area of the SRAM 243 and there are one kind of 50 regular medals inserted after the power is turned on, two kinds of colors related to the front and back of the regular medals A template is generated, and two types of generated color templates are used in the color template comparison process described later.

なお、色テンプレートがSRAM243の記憶領域に記憶されていない場合に、電源投入後に投入されたメダルが規定初期投入枚数、本実施形態では50枚に達するまでの各メダルに係る色判定用データは、ホストコントローラ241の指示に応じて生成される。ホストコントローラ241は、後述するメダルカウント回路246がメダルレール210上を「メダルが通過した」と判定したことを契機に、該判定時から所定時間前の(すなわち、所定フレーム前の)HSV画像データを用いて、色判定用データを生成するように、カラー認識回路247に指示する。なお、この所定時間は、所定時間前のHSV画像データに、必ずメダルの画像が含まれるように、実験やシミュレーションに基づいて予め設定される。   In addition, when the color template is not stored in the storage area of the SRAM 243, the color determination data relating to each medal until the number of medals inserted after power-on reaches the specified initial number of sheets, in this embodiment, 50 is It is generated in response to an instruction from the host controller 241. When the medal count circuit 246 described later determines that the medal has passed on the medal rail 210, the host controller 241 triggers HSV image data a predetermined time before (ie, a predetermined frame before) the determination. Is used to instruct the color recognition circuit 247 to generate color determination data. The predetermined time is set in advance based on experiments and simulations so that the HSV image data before the predetermined time always includes a medal image.

また、この色判定用データは、上述したメダル検出処理、閾値判定処理、彩度・色相乗算処理を経て生成され、SRAM243の色判定用データ記憶領域に記憶される。カラー認識回路247は、色判定用データ記憶領域に記憶された色判定用データが50個に達すると、すなわち50枚のメダルに係る色判定用データが作成されると、色テンプレート生成処理を実行する。   The color determination data is generated through the above-described medal detection process, threshold determination process, and saturation / hue multiplication process, and is stored in the color determination data storage area of the SRAM 243. When the number of color determination data stored in the color determination data storage area reaches 50, that is, when color determination data relating to 50 medals is created, the color recognition circuit 247 executes color template generation processing. To do.

(5)色テンプレート比較処理
色テンプレート生成処理後のメダル検出処理でメダルの画像が含まれていると判別すると、カラー認識回路247は、色テンプレート比較処理を行う。
(5) Color template comparison processing If the medal detection processing after the color template generation processing determines that a medal image is included, the color recognition circuit 247 performs color template comparison processing.

色テンプレート比較処理では、メダルの画像が含まれていると判別されたHSV画像データについて、閾値判定処理、彩度・色相乗算処理を経て作成された色判定用データと、色テンプレートとを比較し、一致又は所定程度類似するか否かの可否判定を行い、判定結果として「可」又は「否」をSRAM243の色判定記憶領域に記憶させる。本実施形態では、最大4つの色テンプレートを用いるため、最大4つのテンプレートに対する判定結果をSRAM243に記憶させる。また、色テンプレート比較処理では、色判定結果をSRAM243の色判定記憶領域に記憶させる。ここで、色判定結果としては、最大4つのテンプレートに対する判定結果として1つでも「可」が記憶されている場合には「可」が記憶され、全て「否」が記憶されている場合には「否」が記憶される。したがって、1回の色テンプレート比較処理において、最大4つの色テンプレートに対する最大4つの判定結果と、これらの判定結果に基づく1つの色判定結果が記憶される。なお、SRAM243の色判定記憶領域には、所定数の判定結果が記憶可能であり、記憶されている判定結果が上限数に達した場合、記憶された順序が早い判定結果から上書きされる。   In the color template comparison process, for the HSV image data determined to contain the medal image, the color determination data created through the threshold determination process and the saturation / hue multiplication process are compared with the color template. Then, it is determined whether or not they match or are similar to a predetermined degree, and “Yes” or “No” is stored in the color determination storage area of the SRAM 243 as the determination result. In this embodiment, since up to four color templates are used, determination results for up to four templates are stored in the SRAM 243. In the color template comparison process, the color determination result is stored in the color determination storage area of the SRAM 243. Here, as a color determination result, if “Yes” is stored as one of the determination results for up to four templates, “Yes” is stored, and if all “No” is stored. “No” is stored. Therefore, in one color template comparison process, a maximum of four determination results for a maximum of four color templates and a single color determination result based on these determination results are stored. Note that a predetermined number of determination results can be stored in the color determination storage area of the SRAM 243, and when the stored determination results reach the upper limit number, the stored determination results are overwritten from the earlier determination results.

例えば、カラー認識回路247は、色判定用データと色テンプレートにおける彩度の値と色相の値との乗算値を、対応づけられている画素の位置毎に比較する。そして、一致する又は所定の誤差範囲(例えば、±5)内である乗算値の数が所定数以上(例えば、全乗算値の80%以上)の場合に一致又は所定程度類似すると判定する。なお、この処理における、一致又は所定程度類似するか否かの判定基準は、適宜設定可能である。   For example, the color recognition circuit 247 compares the product of the color determination data, the saturation value in the color template, and the hue value for each associated pixel position. Then, when the number of multiplication values that match or are within a predetermined error range (for example, ± 5) is equal to or greater than a predetermined number (for example, 80% or more of all the multiplication values), it is determined that they match or are similar to a certain degree. It should be noted that the criteria for determining whether or not they match or are similar to a predetermined degree in this process can be set as appropriate.

以上のように、色判定処理において、閾値判定処理を行い、また、色テンプレート比較処理を行い、色判定用データと、色テンプレートとを比較し、一致又は所定程度類似するか否かを判定するカラー認識回路247は、メダルレール210上を通過した物体が正規メダルであるか否かを判定する遊技媒体判定手段を構成する。   As described above, in the color determination process, the threshold value determination process is performed, and the color template comparison process is performed, and the color determination data is compared with the color template to determine whether they match or are similar to a predetermined degree. The color recognition circuit 247 constitutes a game medium determination unit that determines whether an object that has passed on the medal rail 210 is a regular medal.

<メダルカウント回路>
メダルカウント回路246は、ISP回路245から出力されたグレースケール画像データに基づいてカウント処理を行う。カウント処理には、メダル画像判別処理、メダル位置検出処理及び順序判定処理が含まれる。
<Medal count circuit>
The medal count circuit 246 performs count processing based on the gray scale image data output from the ISP circuit 245. The count process includes a medal image determination process, a medal position detection process, and an order determination process.

(1)メダル画像判別処理
カウント処理において、メダルカウント回路246は、まず、メダル画像判別処理を行う。メダル画像判別処理において、メダルカウント回路246は、ISP回路245から出力されたグレースケール画像データに、メダルの画像が含まれているか否かを判別する。具体的には、今回、ISP回路245から出力されたグレースケール画像データと、SRAM243に記憶されている背景グレースケール画像データの各画素について差分を検出し、差分が検出された複数の画素によって形成される形状が、フラッシュメモリ244に保存されているメダル形状のテンプレートデータと一致する場合は、メダルの画像が含まれていると判別する。なお、背景グレースケール画像データは、メダルの画像が含まれていないグレースケール画像データであり、メダルがメダルレール210上を移動していないとき、例えば、電源投入直後に、CMOSイメージセンサ232が撮像した画像データをISP回路245がグレースケール画像データに変換することで得られる。本実施形態では、ISP回路245は、得られた背景グレースケール画像データをSRAM243に記憶する。なお、本実施形態では、メダルカウント回路246が背景グレースケール画像データとISP回路245から出力されたグレースケール画像データの差分を検出し、検出した差分がメダル形状と一致するか否かでメダルの画像が含まれているか否かを判別した。しかし、これに限らず、検出した差分の画素の数が一定数以上ある場合に、メダルの画像が含まれていると判別してもよい。
(1) Medal image discrimination process In the count process, the medal count circuit 246 first performs a medal image discrimination process. In the medal image determination process, the medal count circuit 246 determines whether or not the grayscale image data output from the ISP circuit 245 includes a medal image. Specifically, a difference is detected for each pixel of the grayscale image data output from the ISP circuit 245 and the background grayscale image data stored in the SRAM 243 this time, and formed by a plurality of pixels from which the difference is detected. If the shape to be matched matches the medal shape template data stored in the flash memory 244, it is determined that a medal image is included. The background grayscale image data is grayscale image data that does not include an image of a medal. When the medal is not moving on the medal rail 210, for example, immediately after the power is turned on, the CMOS image sensor 232 captures an image. The obtained image data is obtained by the ISP circuit 245 converting it to gray scale image data. In the present embodiment, the ISP circuit 245 stores the obtained background grayscale image data in the SRAM 243. In the present embodiment, the medal count circuit 246 detects a difference between the background grayscale image data and the grayscale image data output from the ISP circuit 245, and whether or not the medal is determined according to whether or not the detected difference matches the medal shape. It was determined whether or not an image was included. However, the present invention is not limited to this, and it may be determined that a medal image is included when the number of detected difference pixels is equal to or greater than a certain number.

(2)メダル位置検出処理
次に、メダルカウント回路246は、ISP回路245から出力されたグレースケール画像データについて、メダル位置検出処理を行う。メダル位置検出処理において、メダルカウント回路246は、出力されたグレースケール画像データにおける所定の判定領域にメダルの画像が存在するか否かを判別し、判別結果をSRAM243に記憶させる。
(2) Medal Position Detection Processing Next, the medal count circuit 246 performs medal position detection processing on the grayscale image data output from the ISP circuit 245. In the medal position detection process, the medal count circuit 246 determines whether or not a medal image exists in a predetermined determination area in the output grayscale image data, and stores the determination result in the SRAM 243.

所定の判定領域は、グレースケール画像データG2内の複数の矩形状の領域であり、本実施形態では、図22〜図24に示すように、判定領域A1〜A4,B1〜B4,C1,C2,D1〜D4,E及びFの合計16個の判定領域が設定されている。なお、図22A〜C、図23D〜F、図24Gは、メダルレール210上を通過し、メダル出口部204cから排出されるメダルMと判定領域との関係を説明するための図である。また、図24Hは、メダルシュート202に案内されるメダルと判定領域との関係を説明するための図である。   The predetermined determination area is a plurality of rectangular areas in the grayscale image data G2. In this embodiment, as shown in FIGS. 22 to 24, the determination areas A1 to A4, B1 to B4, C1, and C2 are used. , D1 to D4, E, and F, a total of 16 determination areas are set. 22A to 22C, FIGS. 23D to F, and FIG. 24G are diagrams for explaining the relationship between the determination area and the medal M that passes on the medal rail 210 and is discharged from the medal outlet portion 204c. FIG. 24H is a diagram for explaining the relationship between the medal guided by the medal chute 202 and the determination area.

各判定領域は、判定領域内に複数の画素が含まれるように、グレースケール画像データG2における各判定領域の角部の座標値(X,Y)を規定することで、プログラム上で予め規定されている。例えば、図25に示すように、C1の判定領域は、領域内に8つの画素を含み、4つの角部の座標値(450,95),(454,95),(450,96),(454,96)によって、その位置が規定されている。なお、図25では、格子の一マスが一画素を示している。   Each determination area is preliminarily defined on the program by defining the coordinate value (X, Y) of the corner of each determination area in the grayscale image data G2 so that a plurality of pixels are included in the determination area. ing. For example, as shown in FIG. 25, the determination region of C1 includes eight pixels in the region, and the coordinate values (450, 95), (454, 95), (450, 96), ( 454, 96) define the position. In FIG. 25, one square of the grid represents one pixel.

図22A〜C、図23D〜F、図24Gに示すように、判定領域A1〜A4,B1〜B4は、メダルレール210上を通過し、メダル出口部204cから排出されるメダルMの画像の下部に重なるように配置される。また、判定領域C1,C2は、メダルレール210上を通過し、メダル出口部204cから排出されるメダルMの画像の上部に重なるように配置される。また、判定領域E及びFは、メダルレール210上を通過し、メダル出口部204cから排出されるメダルMの画像に重ならないように、配置されている。   As shown in FIGS. 22A to C, FIGS. 23D to F, and FIG. 24G, the determination areas A1 to A4 and B1 to B4 pass on the medal rail 210 and are below the image of the medal M that is discharged from the medal outlet portion 204c. It is arranged to overlap. In addition, the determination areas C1 and C2 are arranged so as to pass on the medal rail 210 and overlap with the upper part of the image of the medal M discharged from the medal outlet 204c. The determination areas E and F are arranged so as not to overlap the image of the medal M passing through the medal rail 210 and discharged from the medal exit portion 204c.

また、判定領域Fは、図24Hに示すように、メダルがメダルシュート202に案内される場合のメダルMの画像に重なるように、グレースケール画像データG2の下部に配置される。また、判定領域Eは、メダルMの経路の上方に位置し、不正行為に用いられる各種器具の画像に重なるように、グレースケール画像データG2の上部に配置される。   Further, as shown in FIG. 24H, the determination area F is arranged below the grayscale image data G2 so as to overlap the image of the medal M when the medal is guided to the medal chute 202. The determination area E is located above the route of the medal M, and is arranged above the grayscale image data G2 so as to overlap images of various instruments used for fraud.

メダルカウント回路246は、処理の対象であるグレースケール画像データと背景グレースケール画像データの各判定領域における各画素の輝度の差分値を算出し、算出した差分値が閾値以上の画素の数を、判定領域毎にカウントする。そして、メダルカウント回路246は、判定領域毎に、カウントした画素の数が、所定数以上であるか否かを判定し、所定数以上であると判定した場合は、その判定領域にメダルの画像が存在する(メダルがある)と判定する。一方、カウントした画素の数が、所定数に満たないと判定した場合は、その判定領域にメダルの画像が存在しない(メダルがない)と判定する。なお、本実施形態では、本処理においてグレースケール画像データを用いる態様を説明したが、これに限らず、例えば上述の色判定処理で用いた彩度と色相を乗算して生成された色判定用データを用いてもよい。   The medal count circuit 246 calculates a luminance difference value of each pixel in each determination region of the grayscale image data and background grayscale image data to be processed, and calculates the number of pixels having the calculated difference value equal to or larger than a threshold value. Count for each judgment area. Then, the medal count circuit 246 determines whether or not the number of counted pixels is greater than or equal to a predetermined number for each determination area. If it is determined that the number is greater than or equal to the predetermined number, the medal image is displayed in the determination area. Is present (there is a medal). On the other hand, when it is determined that the number of counted pixels is less than the predetermined number, it is determined that there is no medal image (no medal) in the determination area. In this embodiment, the aspect of using grayscale image data in this processing has been described. However, the present invention is not limited to this. For example, for color determination generated by multiplying the saturation and hue used in the color determination processing described above. Data may be used.

また、メダルカウント回路246は、メダル位置検出処理において、メダルの画像が存在する(メダルがある)と判定した判定領域について、メダルエッジ検出処理を行う。   In addition, the medal count circuit 246 performs medal edge detection processing on a determination region in which it is determined that a medal image is present (there is a medal) in the medal position detection processing.

メダルエッジ検出処理では、メダルの画像が存在すると判定した判定領域において、輝度の差分値が閾値に満たない画素の配置に基づきメダルの外縁(エッジ)を検出する処理である。本実施形態において、メダルの移動方向は、図22〜図25における左から右方向である。したがって、メダル画像が存在する判定した判定領域について、輝度の差分値が閾値に満たない画素が右側に一つでもあると、メダルカウント回路246は、メダルの移動方向における前側の外縁(移動先方向メダルエッジ)が存在すると判定する。   The medal edge detection process is a process for detecting an outer edge (edge) of a medal based on an arrangement of pixels whose luminance difference value is less than a threshold value in a determination area where it is determined that a medal image exists. In the present embodiment, the movement direction of medals is from left to right in FIGS. Therefore, in the determined determination area where the medal image exists, if there is at least one pixel on the right side whose luminance difference value does not satisfy the threshold value, the medal count circuit 246 determines the front edge in the movement direction of the medal (movement destination direction). It is determined that there is a medal edge.

一方、メダル画像が存在する判定した判定領域について、輝度の差分値が閾値に満たない画素が左側に一つでもあると、メダルカウント回路246は、メダルの移動方向における後側の外縁(移動後方向メダルエッジ)が存在すると判定する。なお、輝度の差分値が閾値に満たない画素が一つもない場合は、メダルカウント回路246は、当該判定領域にメダルの外縁がないと、判定する。   On the other hand, if there is at least one pixel on the left side whose luminance difference value is less than the threshold value in the determined determination area where a medal image exists, the medal count circuit 246 determines the rear edge (after movement) in the movement direction of the medal. (Direction medal edge) is determined to exist. When there is no pixel whose luminance difference value does not satisfy the threshold value, the medal count circuit 246 determines that there is no outer edge of the medal in the determination area.

例えば、図25に示す判定領域C1において、右側に位置する画素である5C〜8Cのいずれかの画素において、輝度の差分値が閾値に満たない画素が一つでもある場合は、移動先方向メダルエッジがあると判定する。一方、左側に位置する画素である1C〜4Cのいずれかの画素において、輝度の差分値が閾値に満たない画素が一つでもある場合は、移動後方向メダルエッジがあると判定する。   For example, in the determination area C1 illustrated in FIG. 25, in any of the pixels 5C to 8C that are pixels on the right side, if there is even one pixel whose luminance difference value does not satisfy the threshold value, the movement direction medals It is determined that there is an edge. On the other hand, if any one of the pixels 1C to 4C located on the left side has a luminance difference value less than the threshold value, it is determined that there is a post-movement direction medal edge.

なお、判定領域E及びFについては、メダル又は各種器具の移動方向が、図22〜24における上から下方向であると考えられることから、輝度の差分値が閾値以上の画素よりも下方に輝度の差分値が閾値に満たない画素が一つでもあるときは、メダルカウント回路246は、メダルの移動方向における下側の外縁(移動先方向メダルエッジ)が存在すると判定する。一方、輝度の差分値が閾値以上の画素よりも上方に輝度の差分値が閾値に満たない画素が一つでもあるときは、メダルカウント回路246は、メダルの移動方向における上側の外縁(移動後方向メダルエッジ)が存在すると判定する。また、輝度の差分値が閾値以上の画素よりも下方又は上方に位置する画素について、輝度の差分値が閾値に満たない画素が一つもない場合は、メダルカウント回路246は、当該判定領域にメダル画像は存在するが、メダルの外縁はないと、判定する。   For determination areas E and F, the movement direction of medals or various instruments is considered to be the downward direction from the top in FIGS. When there is even one pixel whose difference value is less than the threshold value, the medal count circuit 246 determines that there is a lower outer edge (moving destination direction medal edge) in the medal movement direction. On the other hand, when there is at least one pixel whose luminance difference value is lower than the threshold value above the pixel whose luminance difference value is equal to or higher than the threshold value, the medal counting circuit 246 determines that the medal counting circuit 246 has an upper outer edge (after movement) (Direction medal edge) is determined to exist. If there is no pixel whose luminance difference value is less than or equal to the threshold value for pixels located below or above the pixel whose luminance difference value is greater than or equal to the threshold value, the medal counting circuit 246 displays the medal in the determination area. It is determined that the image exists but there is no outer edge of the medal.

そして、メダルカウント回路246は、ISP回路245から出力されたグレースケール画像データの各判定領域について、上記判定結果、すなわち、判定領域に、メダル画像が存在するか否かの判定結果、及び、移動先方向メダルエッジ又は移動後方向メダルエッジが存在するか否かの判定結果を、入力順にSRAM243に記憶させる。例えば、メダルカウント回路246は、メダルの画像が存在しないと判定した判定領域に対しては「OFF」というデータを記憶させる。また、移動先方向メダルエッジが存在すると判定した判定領域に対しては「IN」というデータ、移動後方向メダルエッジが存在すると判定した判定領域に対しては「OUT」というデータ、そして、メダル画像は存在するが、メダルの外縁はないと判定した判定領域に対しては「ON」というデータを記憶させる。なお、メダル画像判別処理において、メダルの画像が含まれていないと判別した場合は、メダルカウント回路246は、メダル位置検出処理を省略し、全判定領域に対して「OFF」というデータを記憶させてもよい。   Then, the medal count circuit 246, for each determination area of the grayscale image data output from the ISP circuit 245, the determination result, that is, the determination result of whether or not a medal image exists in the determination area, and the movement The determination result of whether or not there is a forward medal edge or a post-movement medal edge is stored in the SRAM 243 in the order of input. For example, the medal count circuit 246 stores data “OFF” for the determination region where it is determined that there is no medal image. In addition, data “IN” is determined for a determination area where it is determined that a movement direction medal edge exists, data “OUT” is determined for a determination area where it is determined that a movement direction medal edge exists, and a medal image. “ON” is stored in the determination area determined that there is no outer edge of the medal. If it is determined in the medal image determination process that the medal image is not included, the medal count circuit 246 omits the medal position detection process and stores data “OFF” for all determination areas. May be.

また、メダルカウント回路246は、メダルが投入不可の場合、例えば、後述するようにクレジットカウンタが最大値の場合、判定領域A1〜A4,B1〜B4,C1,C2,D1〜D4の判定を省略する。また、この場合、メダルカウント回路246は、SRAMに判定領域A1〜A4,B1〜B4,C1,C2,D1〜D4に対して、上記判定を省略した旨、すなわち未判定である旨を示す「*」データ(具体的な数値としては、16進数の「FF」)を記憶させる。   Further, the medal count circuit 246 omits the determination of the determination areas A1 to A4, B1 to B4, C1, C2, and D1 to D4 when the medal cannot be inserted, for example, when the credit counter is the maximum value as described later. To do. Further, in this case, the medal count circuit 246 indicates to the SRAM that the above determination is omitted for the determination areas A1 to A4, B1 to B4, C1, C2, and D1 to D4, that is, “not determined”. * ”Data (a specific numerical value is hexadecimal“ FF ”).

したがって、図22A〜C、図23D〜F、図24G,Hに示す8個のグレースケール画像データG2について、SRAM243には、図26に示すような、判定領域判定結果データが記憶される。例えば、図22Aのグレースケール画像データG2については、判定領域A1,A2に対して、移動先方向メダルエッジが存在すると判定されるので、「IN」というデータ(具体的な数値としては、16進数の「01」)が記憶され、その他の判定領域に対しては、メダル画像が存在しないと判定されるので、「OFF」というデータ(具体的な数値としては、16進数の「00」)が記憶される。   Therefore, the determination area determination result data as shown in FIG. 26 is stored in the SRAM 243 for the eight gray scale image data G2 shown in FIGS. For example, for the grayscale image data G2 in FIG. 22A, since it is determined that there is a moving direction medal edge for the determination areas A1 and A2, data “IN” (specific numerical values are hexadecimal numbers). “01”) is stored, and it is determined that no medal image exists for the other determination areas. Therefore, data “OFF” (specifically, “00” in hexadecimal) is stored. Remembered.

また、図23Eのグレースケール画像データについては、判定領域A1〜A4,E及びFに対しては、メダル画像が存在しないと判定されるので、「OFF」というデータが記憶される。また、判定領域B1,B2,C1及びC2に対しては、移動後方向メダルエッジが存在すると判定されるので「OUT」というデータ(具体的な数値としては、16進数の「02」)が記憶される。また、判定領域B3,B4,D1〜D4に対しては、メダル画像は存在するが、メダルの外縁がないと判定されるので「ON」というデータ(具体的な数値としては、16進数の「03」)が記憶される。   For the grayscale image data in FIG. 23E, since it is determined that no medal image exists for the determination areas A1 to A4, E, and F, data “OFF” is stored. For the determination areas B1, B2, C1, and C2, since it is determined that there is a post-movement medal edge, data “OUT” (specifically, “02” in hexadecimal) is stored. Is done. In addition, for the determination areas B3, B4, D1 to D4, there is a medal image, but it is determined that there is no outer edge of the medal. Therefore, data “ON” (specific numerical values are hexadecimal “ 03 ") is stored.

また、図24Hに示すグレースケール画像データG2について、判定領域Fに対して、メダル画像は存在するが、メダルの外縁がないと判定されるので「ON」というデータが記憶される。また、判定領域A1〜A4,B1〜B4,C1,C2,D1〜D4については、未判定である旨を示す「*」というデータが記憶される。   In addition, regarding the grayscale image data G2 shown in FIG. 24H, it is determined that there is a medal image in the determination area F, but there is no outer edge of the medal, so data “ON” is stored. For the determination areas A1 to A4, B1 to B4, C1, C2, and D1 to D4, data “*” indicating that the determination is not made is stored.

なお、図22A〜C、図23D〜F、図24Gのグレースケール画像データG2は、メダルがメダルレール210上を通過し、メダル出口部204cから排出される場合に、ISP回路245から出力されるグレースケール画像データG2のうち、説明の便宜上、7つのグレースケール画像データG2を抜粋したものである。すなわち、同場合に、ISP回路245から出力されるグレースケール画像データは、図22A〜C、図23D〜F、図24Gに示すグレースケール画像データG2の他にも存在する。   Note that the grayscale image data G2 in FIGS. 22A to 22C, 23D to 23F, and 24G is output from the ISP circuit 245 when a medal passes over the medal rail 210 and is ejected from the medal outlet 204c. Of the grayscale image data G2, seven grayscale image data G2 are extracted for convenience of explanation. That is, in this case, the grayscale image data output from the ISP circuit 245 exists in addition to the grayscale image data G2 shown in FIGS. 22A to 22C, FIGS. 23D to 23F, and 24G.

また、SRAM243には、判定領域判定結果データとして、所定数のグレースケール画像データに係る上記判定結果を記憶する記憶領域が設けられている。SRAM243に記憶されている判定結果が上限数に達した場合、記憶された順序が古いグレースケール画像データに係る判定結果から上書きされる。   In addition, the SRAM 243 is provided with a storage area for storing the determination results relating to a predetermined number of grayscale image data as determination area determination result data. When the determination result stored in the SRAM 243 reaches the upper limit number, the stored order is overwritten from the determination result related to the old grayscale image data.

(3)順序判定処理
メダル画像検出処理及びメダル位置検出処理の後、メダルカウント回路246は、順序判定処理を行う。順序判定処理は、時系列的に並ぶ所定の数のグレースケール画像データにおいて、各判定領域についての「IN」,「OUT」,「ON」,「OFF」のデータの遷移の態様が所定の遷移の態様と一致しているか否かを判定し、一致している場合は、メダルレール210上をメダルが通過したと判定する。
(3) Order determination process After the medal image detection process and the medal position detection process, the medal count circuit 246 performs the order determination process. In the order determination process, in a predetermined number of grayscale image data arranged in time series, the transition mode of data “IN”, “OUT”, “ON”, “OFF” for each determination region is a predetermined transition. It is determined whether or not the medals match, and if they match, it is determined that the medals have passed on the medal rail 210.

ここで、所定の遷移の態様として、本実施形態では、フラッシュメモリ244に図27に示すメダルカウント判定表が数値に変換されて記憶されている。メダルカウント判定表では、メダルがメダルレール210上を通過し、メダル出口部204cから排出される場合の時系列的に並んだ14個のグレースケール画像データ上の各判定領域における「IN」,「OUT」,「ON」,「OFF」のデータの遷移の態様が規定されている。なお、これらのデータの遷移の態様は、シミュレーションや実験などによって予め規定される。   Here, as a predetermined transition mode, in this embodiment, the medal count determination table shown in FIG. 27 is converted into a numerical value and stored in the flash memory 244. In the medal count determination table, “IN” and “IN” in each determination area on the 14 grayscale image data arranged in time series when the medal passes on the medal rail 210 and is ejected from the medal exit portion 204c. The mode of data transition of “OUT”, “ON”, “OFF” is defined. Note that these data transition modes are defined in advance by simulations and experiments.

順序判定処理において、メダルカウント回路246は、SRAM243に記憶されている直近の14個のグレースケール画像データの各判定領域におけるデータの遷移の態様と、メダルカウント判定表で規定されている時系列1〜14に対応するデータの遷移の態様と、を比較し、完全に一致する場合は、「メダルが通過した」と判定する。また、一致しない場合は、「異常が発生した」と判定する。一致しない場合には、例えば、直近の14個のグレースケール画像データの各判定領域におけるデータの遷移の態様(以下、「比較対象のデータの遷移の態様」と称する場合がある)の、前半部分はメダルカウント判定表で規定されている時系列1〜8に対応するデータの遷移の態様と一致するが、続く部分がメダルカウント判定表で規定されている時系列8〜4に対応するデータの遷移の態様と一致する場合(以下、この場合を「時系列の逆行」と称する場合がある)がある。また、一致しない場合には、例えば、比較対象のデータの遷移の態様の、前半部分はメダルカウント判定表で規定されている時系列1〜7に対応するデータの遷移の態様と一致するが、続く部分が、メダルカウント判定表で規定されている時系列10〜14に対応するデータの遷移の態様と一致する場合、すなわちメダルカウント判定表で規定されている時系列8,9に対応するデータが抜けている場合がある。また、一致しない場合には、例えば、比較対象のデータの遷移の態様の、前半部分はメダルカウント判定表で規定されている時系列1〜8に対応するデータの遷移の態様と一致するが、続く部分が、全てメダルカウント判定表で規定されている時系列9に対応するデータの遷移の態様と一致する場合、すなわち同一の遷移の態様が重複する場合がある。なお、上述の時系列の逆行は、既存のメダル逆行エラーに相当し、また、同一の遷移の態様が重複する場合は、既存のメダル詰まりエラーに相当する。また、上述のデータが抜けている場合は、既存のメダルセレクタでは検知することができなかったエラーであり、当該エラーを検知できるメダルセレクタ201は、既存のメダルセレクタよりエラー検出性能が優れているといえる。   In the order determination process, the medal count circuit 246 displays the data transition mode in each determination area of the latest 14 grayscale image data stored in the SRAM 243 and the time series 1 defined by the medal count determination table. The data transition modes corresponding to ˜14 are compared, and when they completely match, it is determined that “the medal has passed”. If they do not match, it is determined that “abnormality has occurred”. If they do not match, for example, the first half of the data transition mode (hereinafter referred to as “transition mode of data to be compared” in some cases) in each determination region of the latest 14 grayscale image data Is consistent with the data transition mode corresponding to the time series 1 to 8 specified in the medal count determination table, but the following part is the data corresponding to the time series 8 to 4 specified in the medal count determination table. There is a case where it coincides with the mode of transition (hereinafter, this case may be referred to as “reverse in time series”). In addition, if they do not match, for example, the first half of the transition mode of the comparison target data matches the transition mode of the data corresponding to the time series 1 to 7 defined in the medal count determination table. When the subsequent portion matches the data transition mode corresponding to the time series 10 to 14 specified in the medal count determination table, that is, the data corresponding to the time series 8 and 9 specified in the medal count determination table May be missing. In the case where they do not match, for example, the first half part of the transition mode of the data to be compared matches the transition mode of the data corresponding to the time series 1 to 8 defined in the medal count determination table. When the subsequent portions all match the data transition mode corresponding to the time series 9 defined in the medal count determination table, that is, the same transition mode may overlap. Note that the above-mentioned time-series retrograde corresponds to an existing medal retrograde error, and if the same transition mode overlaps, it corresponds to an existing medal jamming error. Further, when the above data is missing, it is an error that could not be detected by the existing medal selector, and the medal selector 201 that can detect the error has better error detection performance than the existing medal selector. It can be said.

なお、順序判定処理において、直近の14個のグレースケール画像データの各判定領域におけるデータの遷移の態様と、メダルカウント判定表で規定されている時系列1〜14に対応するデータの遷移の態様と、を比較し、一致しない場合は、「異常が発生した」と判定することに代えて、直近の14個のグレースケール画像データに基づいて、上述の時系列の逆行、同一の遷移の態様の重複やデータの抜けが発生したか否かを判定し、発生したと判定する場合に「異常が発生した」と判定してもよい。例えば、メダルカウント回路246は、連続するグレースケール画像データに変化があり、その変化の態様がメダルカウント判定表で規定されているデータの遷移の態様と比して時系列的に逆行している場合は、時系列の逆行が発生したと判定する。また、上述のように比較対象のデータの遷移の態様の、前半部分はメダルカウント判定表で規定されている時系列1〜7に対応するデータの遷移の態様と一致するが、続く部分が、メダルカウント判定表で規定されている時系列10〜14に対応するデータの遷移の態様と一致するような場合には、データの抜けが発生したと判定する。また、比較対象のデータの遷移の態様の、前半部分はメダルカウント判定表で規定されている時系列1〜8に対応するデータの遷移の態様と一致するが、続く部分が、全てメダルカウント判定表で規定されている時系列9に対応するデータの遷移の態様と一致するような場合は、同一の遷移の態様の重複が発生したと判定する。   In the order determination process, the data transition mode in each determination region of the latest 14 grayscale image data and the data transition mode corresponding to the time series 1 to 14 defined in the medal count determination table In the case where they do not coincide with each other, instead of determining that “abnormality has occurred”, based on the latest 14 grayscale image data, the above-mentioned time-series retrograde, the same transition mode It may be determined that “abnormality has occurred” when it is determined whether or not data overlap or data omission has occurred. For example, the medal count circuit 246 has a change in continuous grayscale image data, and the mode of the change reverses in time series as compared to the data transition mode defined in the medal count determination table. In this case, it is determined that time-series retrograde has occurred. In addition, as described above, the first half of the transition mode of the data to be compared matches the transition mode of the data corresponding to the time series 1 to 7 defined in the medal count determination table. If it matches the data transition mode corresponding to the time series 10 to 14 defined in the medal count determination table, it is determined that data loss has occurred. In addition, the first half of the data transition mode of the comparison target matches the data transition mode corresponding to the time series 1 to 8 defined in the medal count determination table, but all the subsequent portions are the medal count determination. When the data transition mode corresponding to the time series 9 defined in the table matches, it is determined that the same transition mode overlap has occurred.

また、メダルカウント回路246は、メダルが投入不可の場合、SRAM243に記憶されている直近の4個のグレースケール画像データの各判定領域におけるデータの遷移の態様と、メダルカウント判定表で規定されている時系列E1〜E4に対応するデータの遷移の態様と、を比較し、完全に一致する場合は、「メダルがメダルシュート202に案内された」と判定する。   Further, the medal count circuit 246 is defined by the data transition mode in each determination region of the latest four gray scale image data stored in the SRAM 243 and the medal count determination table when the medal cannot be inserted. The data transition modes corresponding to the current time series E1 to E4 are compared, and if they completely match, it is determined that “the medal is guided to the medal chute 202”.

なお、SRAM243に記憶されているグレースケール画像データの数が、所定数に満たない場合、例えば4個又は14個に満たない場合は、データの数の不足により遷移の態様が一致しないため、上記比較処理において、「メダルが通過した」、又は、「メダルがメダルシュート202に案内された」と判定されることはない。なお、この場合、上記比較処理を省略してもよい。   Note that when the number of grayscale image data stored in the SRAM 243 is less than a predetermined number, for example, less than 4 or 14, the transition mode does not match due to the lack of the number of data. In the comparison processing, it is not determined that “the medal has passed” or “the medal has been guided to the medal chute 202”. In this case, the comparison process may be omitted.

また、メダルカウント回路246は、SRAM243に記憶されている直近のグレースケール画像データの判定領域Eに対して「IN」,「OUT」,「ON」のいずれかのデータが記憶されている場合は、異常が発生したと判定する。   In addition, the medal count circuit 246 stores data “IN”, “OUT”, or “ON” for the determination region E of the latest grayscale image data stored in the SRAM 243. It is determined that an abnormality has occurred.

また、順序判定処理において、メダルカウント回路246は、順序判定処理における上記の判定結果をカウント処理の判定結果としてSRAM243に記憶させる。すなわち、SRAM243には、カウント処理の判定結果として、「メダルが通過した」(具体的な数値としては16進数の「01」)、「メダルがメダルシュート202に案内された」(具体的な数値としては16進数の「02」)、及び、「異常が発生した」(具体的な数値としては16進数の「10」)、の3種類の判定結果が記憶される。なお、ここで、「メダルが通過した」と判定される場合とは、例えば主制御回路91でメダル投入可の状態で、メダルが投入された場合である。また、「メダルがメダルシュート202に案内された」と判定される場合とは、主制御回路91でメダル投入可の状態で、規定メダルより外径の小さい不正メダルが投入された場合や、主制御回路91でメダル投入不可の状態で、メダルが投入された場合である。また、「異常が発生した」と判定される場合とは、メダルが通過する範囲外で、何らかの異物を検出した場合や、上述のメダルカウンタ判定表に規定されているデータの遷移の態様と比較対象のデータの遷移の態様とが一致しない場合である。   In the order determination process, the medal count circuit 246 stores the determination result in the order determination process in the SRAM 243 as the determination result of the count process. That is, in the SRAM 243, as the determination result of the count process, “medal has passed” (a specific value is hexadecimal “01”), “a medal is guided to the medal chute 202” (specific value) Three types of determination results are stored: “02” in hexadecimal number) and “abnormality has occurred” (specific numerical value is “10” in hexadecimal number). Here, the case where it is determined that “a medal has passed” is, for example, a case where a medal is inserted in a state where the main control circuit 91 can insert a medal. The case where it is determined that “the medal has been guided to the medal chute 202” means that the main control circuit 91 is in a state where the medal can be inserted and an illegal medal having an outer diameter smaller than the prescribed medal is inserted, This is a case where a medal is inserted while the control circuit 91 cannot insert a medal. In addition, the case where it is determined that “abnormality has occurred” is compared with the case where some foreign object is detected outside the range where the medal passes or the data transition mode defined in the medal counter determination table described above. This is a case where the transition mode of the target data does not match.

なお、上記比較の結果、完全一致の場合に「メダルが通過した」又は「メダルがメダルシュート202に案内された」と判定することに代えて、所定の程度、例えば一致の度合いが80%以上の場合に、「メダルが通過した」又は「メダルシュート202に案内された」と、所定の判定マージンを考慮して判定してもよい。   As a result of the comparison, instead of determining that “the medal has passed” or “the medal has been guided to the medal chute 202” in the case of a perfect match, the degree of match is 80% or more, for example. In this case, it may be determined in consideration of a predetermined determination margin that “the medal has passed” or “the medal chute 202 has been guided”.

また、メダル位置検出処理において、メダルエッジ検出処理を省略してもよい。この場合、メダルカウント回路246は、SRAM243に、メダル画像が存在しないと判定した判定領域に対しては「OFF」というデータを記憶させ、メダル画像は存在すると判定した判定領域に対しては「ON」というデータを記憶させる。そして、図27に示すメダルカウント判定表に、各判定領域における「ON」,「OFF」のデータの遷移の態様を規定する。   In the medal position detection process, the medal edge detection process may be omitted. In this case, the medal count circuit 246 stores data “OFF” in the SRAM 243 for the determination area determined that the medal image does not exist, and “ON” for the determination area determined that the medal image exists. Is stored. Then, the mode of transition of “ON” and “OFF” data in each determination area is defined in the medal count determination table shown in FIG.

また、順序判定処理において、図27に示すメダルカウント判定表を用いた比較に代えて、「ON」のデータが記憶される判定領域の順序を予め規定しておき、この予め規定した順序と実際に「ON」のデータが記憶された判定領域の順序とを、比較して、メダルの通過を判定してもよい。この場合、予め規定する順序を、判定領域A1〜A4をA領域、判定領域B1〜B4をB領域、判定領域C1,C2をC領域、判定領域D1〜D4をD領域と、グループ化した上で規定してもよい。例えば、予め規定する順序を、A〜D領域のいずれも「OFF」、次いでA領域のみ「ON」、次いでA領域、B領域及びC領域が「ON」、次いでB領域、C領域及びD領域が「ON」、次いでD領域のみ「ON」、最後にA〜D領域のいずれも「OFF」としてもよい。なお、この場合、A領域が「ON」とは、判定領域A1〜A4のいずれかについて「ON」のデータが記憶されていることである。   Further, in the order determination process, instead of the comparison using the medal count determination table shown in FIG. 27, the order of the determination areas in which “ON” data is stored is defined in advance, and the predetermined order and the actual order are determined. It is also possible to determine the passage of medals by comparing the order of the determination areas in which the data “ON” is stored. In this case, the predetermined order is grouped into the determination areas A1 to A4 as the A area, the determination areas B1 to B4 as the B area, the determination areas C1 and C2 as the C area, and the determination areas D1 to D4 as the D area. It may be defined by For example, in a predetermined order, all of the A to D areas are “OFF”, then only the A area is “ON”, then the A area, the B area, and the C area are “ON”, and then the B area, the C area, and the D area. May be “ON”, then only the D region may be “ON”, and finally any of the A to D regions may be “OFF”. In this case, the A area is “ON” means that “ON” data is stored in any of the determination areas A1 to A4.

また、グレースケール画像データ上に設定する判定領域の数、形状及び配置場所は、許容される判定所要時間や求める判定の精度に応じ適宜設定可能である。例えば、図22A〜C、図23D〜F、図24G,Hにおいてグレースケール画像データG2の上端部から下端部に亘って上下方向に延びる判定領域を設定してもよい。   Further, the number, shape, and arrangement location of the determination areas set on the gray scale image data can be set as appropriate according to the allowable determination required time and the accuracy of the determination to be obtained. For example, a determination region extending in the vertical direction from the upper end portion to the lower end portion of the grayscale image data G2 in FIGS. 22A to 22C, FIGS. 23D to 24F, and FIGS.

<魚眼補正スケーラ回路>
魚眼補正スケーラ回路248は、SRAM243からグレースケール画像データを取得し、取得したグレースケール画像データを魚眼補正する魚眼補正処理を行う。
<Fisheye correction scaler circuit>
The fisheye correction scaler circuit 248 acquires the grayscale image data from the SRAM 243, and performs fisheye correction processing for correcting the acquired grayscale image data with fisheye.

また、魚眼補正スケーラ回路248は、魚眼補正処理を行ったグレースケール画像データに対して、イコライズ処理を行う。イコライズ処理において、魚眼補正スケーラ回路248は、1/2,1/4,1/8に縮小した縮小画像データを作成する。   The fisheye correction scaler circuit 248 performs equalization processing on the grayscale image data that has been subjected to fisheye correction processing. In the equalization processing, the fisheye correction scaler circuit 248 creates reduced image data reduced to 1/2, 1/4, and 1/8.

また、魚眼補正スケーラ回路248は、イコライズ処理において、作成した縮小画像データそれぞれに対して、バイラテラル変換処理を行う。本実施形態では、縮小画像データのノイズを除去するために、図28に示す3×3のカーネル(画像処理におけるカーネルであって、OSの機能を示すカーネルではない。)のガウシアンフィルタを用いる。しかし、ガウシアンフィルタには、画像データ内のエッジが目立たなくなる(ボケる)という欠点がある。そこで、この欠点を解消するために、バイラテラル変換処理の処理アルゴリズムとして、以下の式3に示すバイラテラルフィルタを採用する。すなわち、バイラテラルフィルタは、ガウシアンフィルタのカーネルを使用して画像データのノイズを除去するとともにエッジ補正及び強調を行うフィルタである。   In addition, the fisheye correction scaler circuit 248 performs bilateral conversion processing on each of the created reduced image data in the equalization processing. In this embodiment, a Gaussian filter of a 3 × 3 kernel (a kernel in image processing, not a kernel indicating an OS function) shown in FIG. 28 is used to remove noise from reduced image data. However, the Gaussian filter has a drawback that the edges in the image data are not noticeable (blur). Therefore, in order to eliminate this drawback, a bilateral filter represented by the following Expression 3 is adopted as a processing algorithm for bilateral conversion processing. That is, the bilateral filter is a filter that removes noise of image data and performs edge correction and enhancement using a Gaussian filter kernel.

数1において、バイラテラル変換処理前の画像データの配列をf(i, j)、処理後の画像
データの配列をg(i, j)とする。また、wはカーネルサイズ、σは標準偏差、dは輝度値の差を表している。
In Equation 1, the array of image data before bilateral conversion processing is f (i, j), and the array of image data after processing is g (i, j). In addition, w represents a kernel size, σ represents a standard deviation, and d represents a difference in luminance value.

そして、魚眼補正スケーラ回路248は、イコライズ処理を施した縮小画像データをSRAM243に記憶させる。なお、SRAM243には、所定数の縮小画像データが記憶可能な記憶領域が設けられている。SRAM243に記憶されている縮小画像データの数が上限数に達した場合、記憶された順序が古い縮小画像データから上書きされる。   Then, the fish-eye correction scaler circuit 248 stores the reduced image data subjected to equalization processing in the SRAM 243. The SRAM 243 is provided with a storage area capable of storing a predetermined number of reduced image data. When the number of reduced image data stored in the SRAM 243 reaches the upper limit, the stored order is overwritten from the old reduced image data.

<画像認識DSP回路>
ホストコントローラ241は、メダルカウント回路246がメダルレール210上を「メダルが通過した」と判定したことを契機に、該判定時から所定時間前の(すなわち、所定フレーム前の)縮小画像データを用いて、前処理を行うよう、画像認識DSP回路に指示する。なお、この所定時間は、所定時間前の縮小画像に、必ずメダルの画像が含まれるように、実験やシミュレーションに基づいて予め設定される。
<Image recognition DSP circuit>
When the medal count circuit 246 determines that the medal has passed on the medal rail 210, the host controller 241 uses the reduced image data a predetermined time before (ie, a predetermined frame before) the determination. The image recognition DSP circuit is instructed to perform preprocessing. Note that the predetermined time is set in advance based on experiments and simulations so that a reduced image before the predetermined time always includes a medal image.

画像認識DSP回路242は、前処理において、SRAM243から縮小画像データ(本実施形態では、1/4に縮小した縮小画像データ)を取得し、取得した縮小画像データから円領域を検出する円領域検出処理と、非線形拡散フィルタ処理を行いエッジ画像を作成してSRAM243に記憶させるフィルタ処理を行う。また、画像認識DSP回路242は、後述する各種判定処理を行う。なお、本実施形態では、1/4に縮小した画像データを使用しているが、これに限らず、フラッシュメモリ244に使用する縮小画像データを選択するための設定を記憶させ、その設定に応じて、1/2に縮小した画像データ、又は、1/8に縮小した画像データを選択できるようにしてもよい。   In the preprocessing, the image recognition DSP circuit 242 acquires reduced image data (in this embodiment, reduced image data reduced to ¼) from the SRAM 243, and detects a circular area from the acquired reduced image data. Processing and non-linear diffusion filter processing are performed to create an edge image and store it in the SRAM 243. The image recognition DSP circuit 242 performs various determination processes described later. In this embodiment, the image data reduced to ¼ is used. However, the present invention is not limited to this, and the setting for selecting the reduced image data to be used is stored in the flash memory 244, and according to the setting. Thus, the image data reduced to ½ or the image data reduced to 8 may be selected.

(1)円領域検出処理
画像認識DSP回路242は、円領域検出処理において、取得した縮小画像データと、当該縮小画像データに対応する縮小背景グレースケール画像データとの差分を示す背景差分画像を生成する。ここで縮小背景グレースケール画像データとは、SRAM243に記憶されている背景グレースケール画像データに、魚眼補正スケーラ回路248による魚眼補正処理及びイコライズ処理を施した画像データあり、円領域検出処理の前にSRAM243に記憶されている。
(1) Circle Area Detection Processing In the circle area detection process, the image recognition DSP circuit 242 generates a background difference image indicating a difference between the acquired reduced image data and reduced background grayscale image data corresponding to the reduced image data. To do. Here, the reduced background grayscale image data is image data obtained by performing fisheye correction processing and equalization processing by the fisheye correction scaler circuit 248 on the background grayscale image data stored in the SRAM 243. Previously stored in SRAM 243.

次いで、画像認識DSP回路242は、生成した背景差分画像を2値化する。そして、図29に示すように、2値の背景差分画像G3に対して、メダルの外形を示す2値の外形テンプレートT1を用いたテンプレートマッチングを行う。つまり、画像認識DSP回路242は、背景差分画像G3において、外形テンプレートT1と類似する領域がどこに存在するかを特定する。言い換えると、画像認識DSP回路242は、背景差分画像G3において、外形テンプレートT1が示すメダルの外形と一致する領域がどこに存在するかを特定する。なお、外形テンプレートT1は、予めフラッシュメモリ244に記憶されている。   Next, the image recognition DSP circuit 242 binarizes the generated background difference image. Then, as shown in FIG. 29, template matching is performed on the binary background difference image G3 using a binary outline template T1 indicating the outline of the medal. That is, the image recognition DSP circuit 242 specifies where in the background difference image G3 a region similar to the outer shape template T1 exists. In other words, the image recognition DSP circuit 242 specifies where in the background difference image G3 there is an area that matches the outline of the medal indicated by the outline template T1. Note that the outline template T1 is stored in the flash memory 244 in advance.

テンプレートマッチングでは、背景差分画像G3上で外形テンプレートT1をラスタスキャン方向に少しずつ(例えば、1画素(ピクセル)ずつ)移動させる。言い換えれば、画像認識DSP回路242は、背景差分画像G3上で外形テンプレートT1をラスタスキャンさせる。このとき、画像認識DSP回路242は、外形テンプレートT1の各位置において、外形テンプレートT1と、それに重なる、背景差分画像G3の部分領域とのAND画像を生成する。これにより、複数の2値のAND画像が生成される。そして、画像認識DSP回路242は、生成した複数のAND画像のうち、画素値が「1」の画素(高輝度画素)の数が最も多いAND画像の生成で使用された外形テンプレートT1の背景差分画像G3上の位置を特定する。この位置は、背景差分画像G3において、外形テンプレートT1と類似した領域が存在する位置である。   In template matching, the outline template T1 is moved little by little (for example, one pixel (pixel) at a time) in the raster scan direction on the background difference image G3. In other words, the image recognition DSP circuit 242 raster scans the outer shape template T1 on the background difference image G3. At this time, the image recognition DSP circuit 242 generates an AND image of the outline template T1 and the partial region of the background difference image G3 that overlaps the outline template T1 at each position of the outline template T1. Thereby, a plurality of binary AND images are generated. Then, the image recognition DSP circuit 242 calculates the background difference of the outline template T1 used in generating the AND image having the largest number of pixels (high luminance pixels) having the pixel value “1” among the plurality of generated AND images. A position on the image G3 is specified. This position is a position where a region similar to the outline template T1 exists in the background difference image G3.

そして、画像認識DSP回路242は、特定した位置と同じ位置に存在する、取得した縮小画像データでの部分領域を、円領域として検出する。言い換えれば、画像認識DSP回路242は、特定した位置と同じ位置に外形テンプレートT1を縮小画像データに配置した際に、外形テンプレートT1と重なる、縮小画像データでの部分領域を、円領域として検出する。このとき、部分領域において、その上の外形テンプレートT1が示す円形よりも外側の各画素の画素値を零としたものを円領域としてもよい。画像認識DSP回路242で抽出される円領域はグレースケール画像である。本実施形態では、円領域の外形は四角形であるが、円形等の他の形状であってもよい。   Then, the image recognition DSP circuit 242 detects a partial area in the acquired reduced image data that exists at the same position as the specified position as a circular area. In other words, the image recognition DSP circuit 242 detects a partial region in the reduced image data that overlaps the outer shape template T1 as a circular region when the outer shape template T1 is arranged in the reduced image data at the same position as the specified position. . At this time, in the partial area, a circular area may be defined by setting the pixel value of each pixel outside the circle indicated by the outer shape template T1 above to zero. The circular area extracted by the image recognition DSP circuit 242 is a gray scale image. In the present embodiment, the outer shape of the circular region is a quadrangle, but may be another shape such as a circle.

なお、取得した縮小画像データから円領域を抽出する方法として他の方法を採用してもよい。例えば、メダルの外形が円形であることを利用した抽出方法を採用してもよい。この抽出方法では、まず、取得した縮小画像データに対してエッジ検出が行われてエッジ画像が生成される。エッジ画像の生成方法としては、例えば、Sobel法、Laplacian法、Canny法などが使用される。次に、生成されたエッジ画像から円形領域が抽出される。円形領
域の抽出方法としては、例えばハフ変換が使用される。そして、エッジ画像における当該円形領域の位置と同じ位置に存在する、取得した縮小画像データでの円形領域が、円領域とされる。
It should be noted that other methods may be employed as a method for extracting the circular area from the acquired reduced image data. For example, you may employ | adopt the extraction method using that the external shape of a medal is circular. In this extraction method, first, edge detection is performed on the acquired reduced image data to generate an edge image. As an edge image generation method, for example, Sobel method, Laplacian method, Canny method and the like are used. Next, a circular area is extracted from the generated edge image. For example, Hough transform is used as a method for extracting a circular region. A circular area in the acquired reduced image data that exists at the same position as the position of the circular area in the edge image is set as a circular area.

また、背景差分法とラベリングを用いて取得した縮小画像データから円領域を抽出する抽出方法を採用してもよい。この抽出方法では、まず、取得した縮小画像データと縮小背景グレースケール画像データとの差分を示す背景差分画像が生成され、生成された背景差分画像が2値化される。そして、2値の背景差分画像に対して4連結等のラベリングが行われる。そして、2値の背景差分画像における、ラベリングの結果得られた連結領域(独立領域)の位置と同じ位置に存在する、取得した縮小画像データの部分領域が、円領域とされる。   Further, an extraction method for extracting a circular region from reduced image data acquired using the background difference method and labeling may be employed. In this extraction method, first, a background difference image indicating a difference between the acquired reduced image data and reduced background grayscale image data is generated, and the generated background difference image is binarized. Then, labeling such as 4-connection is performed on the binary background difference image. A partial area of the acquired reduced image data that exists at the same position as the connected area (independent area) obtained as a result of labeling in the binary background difference image is set as a circular area.

(2)フィルタ処理
画像認識DSP回路242は、円領域検出処理後に、フィルタ処理を行う。フィルタ処理は、3σ修正処理と、非線形拡散フィルタ処理からなる。
まず、3σ修正処理において、画像認識DSP回路242は、円領域検出処理で検出した円領域に基づいて、取得した縮小画像データにおける円領域の画像データを切り出す。以下、切り出した画像データを円領域画像データと称する場合がある。
(2) Filter processing The image recognition DSP circuit 242 performs filter processing after the circular area detection processing. The filter process includes a 3σ correction process and a non-linear diffusion filter process.
First, in the 3σ correction process, the image recognition DSP circuit 242 cuts out the image data of the circular area in the acquired reduced image data based on the circular area detected by the circular area detection process. Hereinafter, the cut-out image data may be referred to as circle area image data.

次に、画像認識DSP回路242は、切り出した円領域画像データにおける輝度の値について、一定範囲のデータの平均値を中心とした正規分布(図30参照)を作成する。ここで、3σとは、標準偏差の3倍であって、平均値±3σの範囲内にほぼ全てのデータが属する(ばらつきが正規分布である場合、99.7%のデータがこの範囲内に属する)ものである。
そして、輝度の値が−3σよりも小さい画素の輝度、例えば−4σの画素の輝度を、−3σの輝度の値に置き換える。また、輝度の値が3σよりも大きい画素の輝度、例えば4σの画素の輝度を、3σの輝度の値に置き換える。このようにすることで、イレギュラーなデータである輝度の値が極端に大きい画素(明る過ぎる画素)や輝度の値が極端に小さい画素(暗過ぎる画素)が、その後の処理に影響することを抑制することができる。
Next, the image recognition DSP circuit 242 creates a normal distribution (see FIG. 30) centering on the average value of the data in a certain range for the luminance value in the extracted circular area image data. Here, 3σ is three times the standard deviation, and almost all data belongs within the range of the average value ± 3σ (if the variation is a normal distribution, 99.7% of the data falls within this range. Belonging).
Then, the luminance of a pixel having a luminance value smaller than −3σ, for example, the luminance of a pixel of −4σ is replaced with a luminance value of −3σ. Further, the luminance of a pixel having a luminance value larger than 3σ, for example, the luminance of a pixel of 4σ is replaced with a luminance value of 3σ. By doing so, pixels that have extremely large luminance values (pixels that are too bright) or pixels that have extremely small luminance values (pixels that are too dark), which are irregular data, affect subsequent processing. Can be suppressed.

次に、画像認識DSP回路242は、3σ修正処理後の円領域画像データに対して、非線形拡散フィルタ処理を行いX(縦)方向のエッジ画像XとY(横)方向のエッジ画像Yを作成する。   Next, the image recognition DSP circuit 242 performs non-linear diffusion filter processing on the circular region image data after the 3σ correction processing, and generates an edge image X in the X (vertical) direction and an edge image Y in the Y (horizontal) direction. To do.

図31Aは、3σ修正処理後の円領域画像データを模式的に表している。図31Aにおいて、格子の一マスは、画素を示している。また、図31Bはエッジ画像X用係数を示している。ここで図31Aの画素A1〜A8,Pの輝度の値を、それぞれa1〜a8,pとした場合、エッジ画像Xにおける注目画素Pの輝度の値は、エッジ画像X用係数を用いて、以下の式4によって算出される。
Pの輝度(PX)=a1×(−3)+a2×0+a3×3+a4×(−10)+p×0+a5×10+a6×(−3)+a7×0+a8×3…式(4)
FIG. 31A schematically shows the circular area image data after the 3σ correction processing. In FIG. 31A, one square of the grid indicates a pixel. FIG. 31B shows edge image X coefficients. Here, when the luminance values of the pixels A1 to A8 and P in FIG. 31A are a1 to a8 and p, respectively, the luminance value of the pixel of interest P in the edge image X is as follows using the coefficient for the edge image X: It is calculated by the following formula 4.
P brightness (PX) = a1 × (−3) + a2 × 0 + a3 × 3 + a4 × (−10) + p × 0 + a5 × 10 + a6 × (−3) + a7 × 0 + a8 × 3 (4)

画像認識DSP回路242は、3σ修正処理後の円領域画像データの全ての画素について、上記式4を用いて輝度を算出することで、エッジ画像Xを作成する。   The image recognition DSP circuit 242 creates the edge image X by calculating the luminance using the above equation 4 for all the pixels of the circular area image data after the 3σ correction process.

図31Cはエッジ画像Y用係数を示している。ここで図31Aの画素A1〜A8,Pの輝度の値を、それぞれa1〜a8,pとした場合、エッジ画像Yにおける注目画素Pの輝度の値は、エッジ画像Y用係数を用いて、以下の式5によって算出される。
Pの輝度(PY)=a1×(−3)+a2×(−10)+a3×(−3)+a4×0+P×0+a5×0+a6×3+a7×10+a8×3…式(5)
FIG. 31C shows the edge image Y coefficient. Here, assuming that the luminance values of the pixels A1 to A8 and P in FIG. 31A are a1 to a8 and p, respectively, the luminance value of the target pixel P in the edge image Y is as follows using the edge image Y coefficient. It is calculated by the following formula 5.
P brightness (PY) = a1 × (−3) + a2 × (−10) + a3 × (−3) + a4 × 0 + P × 0 + a5 × 0 + a6 × 3 + a7 × 10 + a8 × 3 (5)

画像認識DSP回路242は、3σ修正処理後の円領域画像データの全ての画素について、上記式5を用いて輝度を算出することで、エッジ画像Yを作成する。   The image recognition DSP circuit 242 creates the edge image Y by calculating the luminance using the above equation 5 for all the pixels of the circular area image data after the 3σ correction processing.

エッジ画像X及びエッジ画像Yを作成した後、画像認識DSP回路242は、両画像からエッジ画像XYを作成する。エッジ画像XYにおける各画素の輝度PXYは、エッジ画像Xにおける画素の輝度の値をPXとし、同一位置にあるエッジ画像Yにおける画素の輝度の値をPYとした場合、以下の式6によって算出することができる。   After creating the edge image X and the edge image Y, the image recognition DSP circuit 242 creates the edge image XY from both images. The luminance PXY of each pixel in the edge image XY is calculated by the following formula 6 when the luminance value of the pixel in the edge image X is PX and the luminance value of the pixel in the edge image Y at the same position is PY. be able to.

画像認識DSP回路242は、エッジ画像X及びエッジ画像Yの全ての画素について、上記式6を用いて輝度PXYを算出することで、エッジ画像XYを作成し、作成したエッジ画像XYをSRAM243に記憶させる。
なお、画像認識DSP回路242が行う各種判定処理については、後述する。
The image recognition DSP circuit 242 creates the edge image XY by calculating the luminance PXY using the above equation 6 for all the pixels of the edge image X and the edge image Y, and stores the created edge image XY in the SRAM 243. Let
Various determination processes performed by the image recognition DSP circuit 242 will be described later.

<画像認識アクセラレータ回路>
画像認識アクセラレータ回路249は、勾配平均画像データに係る処理と、エッジ勾配画像に係る処理を行う。
<Image recognition accelerator circuit>
The image recognition accelerator circuit 249 performs processing related to the gradient average image data and processing related to the edge gradient image.

[勾配平均画像データに係る処理]
勾配平均画像データに係る処理には、回転画像生成処理と、勾配平均画像データ生成処理と、勾配平均画像テンプレート生成処理が含まれる。
[Processing related to gradient average image data]
The process related to the gradient average image data includes a rotation image generation process, a gradient average image data generation process, and a gradient average image template generation process.

(1)回転画像生成処理
回転画像生成処理において、画像認識アクセラレータ回路249は、SRAM243からエッジ画像XYを取得し、取得したエッジ画像XYを1度単位で回転させて、360度分の回転画像を生成する。
(1) Rotated Image Generation Processing In the rotated image generation processing, the image recognition accelerator circuit 249 acquires the edge image XY from the SRAM 243, rotates the acquired edge image XY in units of 1 degree, and generates a rotated image for 360 degrees. Generate.

(2)勾配平均画像データ生成処理
勾配平均画像データ生成処理において、画像認識アクセラレータ回路249は、回転画像生成処理で生成した360度分の回転画像を累積加算して(重ね合わせて)、勾配平均画像データを生成する。勾配平均画像データの例として、図32Aに示す正規メダルの勾配平均画像データを図32Bに示す。そして、画像認識アクセラレータ回路249は生成した勾配平均画像データをSRAM243に記憶させる。
(2) Gradient average image data generation processing In the gradient average image data generation processing, the image recognition accelerator circuit 249 cumulatively adds (superimposes) the 360-degree rotated images generated in the rotated image generation processing, and then calculates the gradient average. Generate image data. As an example of the gradient average image data, the average medal gradient average image data shown in FIG. 32A is shown in FIG. 32B. Then, the image recognition accelerator circuit 249 stores the generated gradient average image data in the SRAM 243.

(3)勾配平均画像テンプレート生成処理
勾配平均画像テンプレート生成処理は、後述する画像認識DSP回路242の判定処理において用いられる画像データである勾配平均画像テンプレートを生成する処理である。
(3) Gradient average image template generation process The gradient average image template generation process is a process of generating a gradient average image template that is image data used in the determination process of the image recognition DSP circuit 242 described later.

勾配平均画像テンプレート生成処理において、画像認識アクセラレータ回路249は、SRAM243に記憶されている50個の(すなわち、50枚のメダルに係る)勾配平均画像データを相互に比較し、一致する又は所定程度類似する勾配平均画像データをグループ化する。次いで、画像認識アクセラレータ回路249は、属する勾配平均画像データの数の多い順で、上位4つのグループを選定する。そして、選定した上位4つのグループのそれぞれについて、任意の一つの勾配平均画像データを選定し、その4つの勾配平均画像データを勾配平均画像テンプレートとして、SRAM243の勾配平均画像テンプレートを記憶する記憶領域に記憶させる。なお、選定した上位4つのグループのそれぞれについて、任意の一つの勾配平均画像テンプレートを選定することに代えて、同一のグループに属する勾配平均画像データの平均値(各画素に係る輝度の平均値)を算出することで勾配平均画像テンプレートを生成してもよい。また、SRAM243に記憶された勾配平均画像テンプレートは、遊技機の電源投入時に、ホストコントローラ241の初期化処理(不図示)により消去してもよい。   In the gradient average image template generation processing, the image recognition accelerator circuit 249 compares the 50 gradient average image data stored in the SRAM 243 (that is, related to 50 medals) with each other and matches or is similar to a predetermined degree. The gradient average image data to be grouped. Next, the image recognition accelerator circuit 249 selects the top four groups in descending order of the number of gradient average image data to which the image recognition accelerator circuit 249 belongs. Then, for each of the selected top four groups, any one gradient average image data is selected, and the four gradient average image data are used as the gradient average image template in the storage area for storing the gradient average image template of the SRAM 243. Remember me. For each of the selected top four groups, instead of selecting any one gradient average image template, the average value of the gradient average image data belonging to the same group (the average value of the luminance associated with each pixel) May be used to generate a gradient average image template. Further, the gradient average image template stored in the SRAM 243 may be deleted by initialization processing (not shown) of the host controller 241 when the gaming machine is turned on.

上記のように、勾配平均画像テンプレートを生成することで、例えば、表と裏で刻印(模様)が異なる2種類のメダルを正規メダルとして使用する場合に、電源投入後にこれら正規メダルを50枚投入することで、これら2種類のメダルの表と裏に係る最大4種類の勾配平均画像テンプレートを生成することができる。なお、電源投入後に投入された50枚の正規メダルが1種類であった場合は、この正規メダルの表と裏に係る2種類の勾配平均画像テンプレートが生成され、後述の勾配平均画像テンプレート比較処理では、生成された2種類の勾配平均画像テンプレートが用いられる。   As described above, by generating a gradient average image template, for example, when two kinds of medals with different markings (patterns) on the front and back are used as regular medals, 50 regular medals are inserted after the power is turned on. By doing so, it is possible to generate a maximum of four types of gradient average image templates related to the front and back of these two types of medals. When there is one type of 50 regular medals inserted after power-on, two types of gradient average image templates related to the front and back of the regular medals are generated, and a gradient average image template comparison process described later is performed. Then, the two types of generated gradient average image templates are used.

ここで、勾配平均画像テンプレート生成処理は、勾配平均画像テンプレートがSRAM243の記憶領域に記憶されていない場合に、電源投入後に投入されたメダルが規定初期投入枚数、本実施形態では50枚に達するまでの勾配平均画像データを用いて行われる。画像認識アクセラレータ回路249は、勾配平均画像データ生成処理において生成した勾配平均画像データが50個に達するまで、生成した勾配平均画像データをSRAM243の勾配平均画像テンプレート生成用データ記憶領域に記憶させる。また、画像認識アクセラレータ回路249は、SRAM243の勾配平均画像テンプレート生成用データ記憶領域に50個の勾配平均画像データが記憶されると、勾配平均画像テンプレート生成処理を行う。なお、画像認識アクセラレータ回路249は、勾配平均画像テンプレート生成処理の実行後に、勾配平均画像データ生成処理によって生成した勾配平均画像データをSRAM243の判定対象勾配平均画像データ記憶領域に記憶させる。なお、本実施形態では、SRAM243に50個の勾配平均画像データが記憶されると、一致する又は所定程度類似する勾配平均画像データをグループ化して勾配平均画像テンプレートを生成する態様を説明した。しかし、これに限らず、勾配平均画像データが生成される毎に、先に記憶されている勾配平均画像データと比較を行い、一致する又は所定程度類似する勾配平均画像データをグループ化し、勾配平均画像テンプレートを生成してもよい。   Here, in the gradient average image template generation process, when the gradient average image template is not stored in the storage area of the SRAM 243, until the number of medals inserted after power-on reaches the specified initial number, in this embodiment, 50. The gradient average image data is used. The image recognition accelerator circuit 249 stores the generated gradient average image data in the gradient average image template generation data storage area of the SRAM 243 until the gradient average image data generated in the gradient average image data generation process reaches 50 pieces. Further, when 50 gradient average image data are stored in the gradient average image template generation data storage area of the SRAM 243, the image recognition accelerator circuit 249 performs gradient average image template generation processing. The image recognition accelerator circuit 249 stores the gradient average image data generated by the gradient average image data generation process in the determination target gradient average image data storage area of the SRAM 243 after the execution of the gradient average image template generation process. In the present embodiment, when 50 gradient average image data are stored in the SRAM 243, the gradient average image template is generated by grouping the gradient average image data that coincides or is similar to a predetermined degree. However, the present invention is not limited to this. Every time gradient average image data is generated, the gradient average image data is compared with the previously stored gradient average image data, and the gradient average image data that matches or is similar to a certain degree is grouped to obtain the gradient average. An image template may be generated.

[エッジ勾配画像に係る処理]
エッジ勾配画像に係る処理には、極座標変換処理、Scharr変換処理、HOG変換処理、HOGテンプレート生成処理が含まれる。
[Processing related to edge gradient image]
The processing related to the edge gradient image includes polar coordinate conversion processing, Charrr conversion processing, HOG conversion processing, and HOG template generation processing.

(1)極座標変換処理
極座標変換処理において、画像認識アクセラレータ回路249は、SRAM243からエッジ画像XYを取得し、取得したエッジ画像XYについて、直交座標を極座標に変換し、極座標画像データを作成する。具体的には、画像認識アクセラレータ回路249は、エッジ画像XYの各画素の直交座標(x,y)を、動径の長さrと、基準位置からの角度φで表した極座標(r, φ)に変換する。極座標(r, φ)と直交座標(x,y)との関係は、以下の式7,8で表される。
x=r cos(φ)・・・式(7)
y=r sin(φ)・・・式(8)
(1) Polar Coordinate Conversion Processing In the polar coordinate conversion processing, the image recognition accelerator circuit 249 acquires the edge image XY from the SRAM 243, converts the orthogonal coordinates into polar coordinates for the acquired edge image XY, and creates polar coordinate image data. Specifically, the image recognition accelerator circuit 249 displays polar coordinates (r, φ) representing the orthogonal coordinates (x, y) of each pixel of the edge image XY by the length r of the moving radius and the angle φ from the reference position. ). The relationship between polar coordinates (r, φ) and orthogonal coordinates (x, y) is expressed by the following equations 7 and 8.
x = r cos (φ) (7)
y = r sin (φ) (8)

そして、画像認識アクセラレータ回路249は、作成した極座標画像データをSRAM243に記憶させる。   Then, the image recognition accelerator circuit 249 stores the created polar coordinate image data in the SRAM 243.

(2)Scharr変換処理
Scharr変換処理において、画像認識アクセラレータ回路249は、SRAM243から極座標画像データを取得し、X(縦)方向のエッジ極座標画像XとY(横)方向のエッジ極座標画像Yを作成する。したがって、Scharr変換処理を行う画像認識アクセラレータ回路249は、極座標画像を縦方向画像と横方向画像に分離する方向画像分離手段を構成する。
なお、Scharr変換処理においてエッジ極座標画像Xとエッジ極座標画像Yを作成する態様は、上述した非線形拡散フィルタ処理において、エッジ画像Xとエッジ画像Yを作成する態様と用いる係数を含めて同様のため、ここでは説明を省略する。
(2) Charr Conversion Processing In the Charr conversion processing, the image recognition accelerator circuit 249 obtains polar coordinate image data from the SRAM 243 and creates an edge polar coordinate image X in the X (vertical) direction and an edge polar coordinate image Y in the Y (horizontal) direction. To do. Therefore, the image recognition accelerator circuit 249 that performs the Charr conversion process constitutes a directional image separation unit that separates the polar coordinate image into a vertical image and a horizontal image.
In addition, since the aspect which creates the edge polar coordinate image X and the edge polar coordinate image Y in the Scherr transform process is the same as the aspect in which the edge image X and the edge image Y are created in the nonlinear diffusion filter process described above, The description is omitted here.

(3)HOG変換処理
HOG変換処理において、画像認識アクセラレータ回路249は、エッジ勾配画像を作成し、作成したエッジ勾配画像にHOG変換を施す。ここで、HOG(Histograms of Oriented Gradients)変換とは、画像データにおける局所領域(セル)の輝度の勾配方向をヒストグラム化することであり、HOG変換を伴う画像マッチングには、局所的な形状変化(幾何学的変換)に強いことや照明の変動に影響を受けにくいという特徴がある。
(3) HOG Conversion Processing In the HOG conversion processing, the image recognition accelerator circuit 249 creates an edge gradient image and performs HOG conversion on the created edge gradient image. Here, HOG (Histograms of Oriented Gradients) conversion is a histogram of the luminance gradient direction of a local region (cell) in image data. For image matching accompanied by HOG conversion, local shape change ( It has a feature that it is resistant to geometric transformation and is not easily influenced by fluctuations in illumination.

具体的には、Scharr変換処理で作成したエッジ極座標画像Xとエッジ極座標画像Yからエッジ勾配画像を作成する。エッジ勾配画像における各画素の輝度すなわち勾配強度は、エッジ極座標画像Xにおける画素の輝度の値をQX、同一位置にあるエッジ極座標画像Yにおける画素の輝度の値をQYとした場合、以下の式9によって算出することができる。   Specifically, an edge gradient image is created from the edge polar coordinate image X and the edge polar coordinate image Y created by the Charrr conversion process. The brightness of each pixel in the edge gradient image, that is, the gradient strength, is expressed by the following formula 9 when the pixel brightness value in the edge polar coordinate image X is QX and the pixel brightness value in the edge polar coordinate image Y at the same position is QY. Can be calculated.

また、エッジ勾配画像における各画素の勾配角度は、以下の式10によって算出することができる。
勾配角度=tan−1(QY/QX)・・・式(10)
In addition, the gradient angle of each pixel in the edge gradient image can be calculated by the following Expression 10.
Gradient angle = tan-1 (QY / QX) (10)

図33では、作成したエッジ勾配画像G4を模式的に示している。画像認識アクセラレータ回路249は、作成したエッジ勾配画像G4における2点鎖線で示した長方形の枠Sを局所領域(セル)として、局所領域毎に局所領域内の輝度の勾配方向のヒストグラムを、作成する。そして作成したヒストグラム一式をSRAM243に記憶させる。   In FIG. 33, the created edge gradient image G4 is schematically shown. The image recognition accelerator circuit 249 creates a histogram of the luminance gradient direction in the local area for each local area, with the rectangular frame S indicated by the two-dot chain line in the created edge gradient image G4 as the local area (cell). . Then, the created histogram set is stored in the SRAM 243.

[HOGテンプレート生成処理]
HOGテンプレート生成処理は、後述する画像認識DSP回路242の判定処理において用いられるHOGテンプレートを生成する処理である。
[HOG template generation processing]
The HOG template generation process is a process for generating an HOG template used in the determination process of the image recognition DSP circuit 242 described later.

HOGテンプレート生成処理において、画像認識アクセラレータ回路249は、SRAM243に記憶されている50セットの(すなわち、50枚のメダルに係る)上記ヒストグラム一式を相互に比較し、一致する又は所定程度類似するヒストグラム一式をグループ化する。次いで、画像認識アクセラレータ回路249は、属するヒストグラム一式の数の多い順で、上位4つのグループを選定する。そして、選定した上位4つのグループのそれぞれについて、任意の一つのヒストグラム一式をHOGテンプレートとして、SRAM243のHOGテンプレートを記憶する記憶領域に記憶させる。なお、選定した上位4つのグループのそれぞれについて、任意の一つのヒストグラム一式を選定することに代えて、同一のグループに属するヒストグラム一式の平均値(同一局所領域における勾配強度の平均値)を算出することで、HOGテンプレートを生成してもよい。また、本実施形態では、50セットのヒストグラム一式がSRAM243に記憶されると、記憶されているヒストグラム一式を相互に比較し、一致する又は所定程度類似するヒストグラム一式をグループ化してHOGテンプレートを生成する態様を説明した。しかし、これに限らず、ヒストグラム一式が生成される毎に、先に記憶されているヒストグラム一式と比較を行い、一致する又は所定程度類似するヒストグラム一式をグループ化し、HOGテンプレートを生成してもよい。   In the HOG template generation process, the image recognition accelerator circuit 249 compares the above set of histograms stored in the SRAM 243 (that is, related to 50 medals) with each other, and a set of histograms that match or are similar to a predetermined degree. Group. Next, the image recognition accelerator circuit 249 selects the top four groups in descending order of the number of histogram sets to which the image recognition accelerator circuit belongs. Then, for each of the selected top four groups, an arbitrary set of histograms is stored as a HOG template in a storage area for storing the HOG template in the SRAM 243. For each of the selected top four groups, instead of selecting an arbitrary set of histograms, the average value of the set of histograms belonging to the same group (the average value of the gradient strength in the same local region) is calculated. Thus, the HOG template may be generated. In this embodiment, when 50 sets of histograms are stored in the SRAM 243, the stored histograms are compared with each other, and a set of histograms that match or are similar to a certain degree are grouped to generate a HOG template. The embodiment has been described. However, the present invention is not limited to this, and each time a set of histograms is generated, a set of histograms that are matched or similar to a predetermined degree may be grouped by comparing with a previously stored set of histograms to generate a HOG template. .

上記のように、HOGテンプレートを生成することで、例えば、表と裏で刻印(模様)が異なる2種類のメダルを正規メダルとして使用する場合で、且つ、HOGテンプレートがSRAM243の記憶領域に記憶されていない場合に、電源投入後にこれら正規メダルを50枚投入することで、これら2種類のメダルの表と裏に係る4種類のHOGテンプレートを生成することができる。また、HOGテンプレートがSRAM243の記憶領域に記憶されていない場合に、電源投入後に投入された50枚の正規メダルが1種類であったときは、この正規メダルの表と裏に係る2種類のHOGテンプレートが生成され、後述のHOGテンプレート比較処理では、生成された2種類のHOGテンプレートが用いられる。   As described above, by generating the HOG template, for example, when two types of medals with different markings (patterns) on the front and back are used as regular medals, the HOG template is stored in the storage area of the SRAM 243. If not, 50 types of regular medals are inserted after the power is turned on, so that four types of HOG templates related to the front and back of these two types of medals can be generated. In addition, when the HOG template is not stored in the storage area of the SRAM 243 and there are one type of 50 regular medals inserted after power-on, two types of HOGs related to the front and back of the regular medals A template is generated, and two types of generated HOG templates are used in the HOG template comparison process described later.

なお、ヒストグラム一式の一致又は類似度の判定は、ヒストグラム一式における同一位置(エッジ勾配画像における同一位置にある局所領域)についてのヒストグラムを比較することで行われる。また、判定の基準は適宜設定可能である。例えば、全ヒストグラムについて完全一致することを条件に、両ヒストグラム一式が一致すると判定してもよい。また、一致の程度が所定の程度以下の、例えば80%以下のヒストグラムがないことを条件に、両ヒストグラム一式が類似すると判定してもよい。   Note that the matching or similarity determination of a set of histograms is performed by comparing histograms for the same position (local region at the same position in the edge gradient image) in the set of histograms. Moreover, the criterion of determination can be set as appropriate. For example, it may be determined that both sets of histograms match on condition that all histograms match completely. Alternatively, it may be determined that both sets of histograms are similar on the condition that there is no histogram having a degree of coincidence of a predetermined degree or less, for example, 80% or less.

ここで、HOGテンプレート生成処理は、電源投入後に投入されたメダルが規定初期投入枚数、本実施形態では50枚に達するまでのエッジ勾配画像に係るヒストグラム一式を用いて行われる。画像認識アクセラレータ回路249は、HOG変換処理において作成したヒストグラム一式が、50セットに達するまで、作成したヒストグラム一式をSRAM243のHOGテンプレート生成用データ記憶領域に記憶させる。また、画像認識アクセラレータ回路249は、SRAM243のHOGテンプレート生成用データ記憶領域に50セットのヒストグラム一式が記憶されると、HOGテンプレート生成処理を行う。なお、画像認識アクセラレータ回路249は、HOGテンプレート生成処理の実行後に、HOG変換処理によって作成したヒストグラム一式をSRAM243の判定対象ヒストグラム記憶領域に記憶させる。   Here, the HOG template generation process is performed using a set of histograms related to the edge gradient image until the number of medals inserted after power-on reaches the specified initial number of sheets, in this embodiment, 50 sheets. The image recognition accelerator circuit 249 stores the created histogram set in the HOG template generation data storage area of the SRAM 243 until the set of histograms created in the HOG conversion process reaches 50 sets. The image recognition accelerator circuit 249 performs HOG template generation processing when 50 sets of histograms are stored in the HOG template generation data storage area of the SRAM 243. The image recognition accelerator circuit 249 stores the set of histograms created by the HOG conversion process in the determination target histogram storage area of the SRAM 243 after executing the HOG template generation process.

<画像認識DSP回路による判定処理>
次に、画像認識DSP回路242が実行する判定処理について、説明する。判定処理は、勾配平均画像テンプレート比較処理と、HOGテンプレート比較処理を含む。
<Determination Processing by Image Recognition DSP Circuit>
Next, determination processing executed by the image recognition DSP circuit 242 will be described. The determination process includes a gradient average image template comparison process and a HOG template comparison process.

(1)勾配平均画像テンプレート比較処理
勾配平均画像テンプレート比較処理において、画像認識DSP回路242は、画像認識アクセラレータ回路249が生成した勾配平均画像データをSRAM243の判定対象勾配平均画像データ記憶領域から取得する。
(1) Gradient average image template comparison process In the gradient average image template comparison process, the image recognition DSP circuit 242 acquires the gradient average image data generated by the image recognition accelerator circuit 249 from the determination target gradient average image data storage area of the SRAM 243. .

次に、画像認識DSP回路242は、取得した勾配平均画像データと、SRAM243に記憶されている勾配平均画像テンプレートとの差分を算出する。そして、画像認識DSP回路242は、算出した差分値と刻印判定用の閾値とに基づいて、勾配平均画像データと勾配平均画像テンプレートとが一致する又は所定程度類似するか否かの可否判定を行い、判定結果として「可」又は「否」をSRAM243に記憶させる。本実施形態では、最大4つの勾配平均画像テンプレートを用いるため、最大4つの判定結果をSRAM243に記憶させる。また、勾配平均画像テンプレート比較処理では、勾配平均判定結果をSRAM243に記憶させる。ここで、最大4つのテンプレートに対する判定結果として1つでも「可」が記憶されている場合には、勾配平均判定結果として「可」がSRAM243に記憶され、全て「否」が記憶されている場合には、勾配平均判定結果として「否」がSRAM243に記憶される。したがって、1回の勾配平均画像テンプレート比較処理において、最大4つの勾配平均画像テンプレートに対する最大4つの判定結果と、これらの判定結果に基づく1つの勾配平均判定結果が記憶される。   Next, the image recognition DSP circuit 242 calculates a difference between the acquired gradient average image data and the gradient average image template stored in the SRAM 243. Then, the image recognition DSP circuit 242 determines whether or not the gradient average image data and the gradient average image template match or are similar to each other based on the calculated difference value and the threshold value for marking determination. Then, “Yes” or “No” is stored in the SRAM 243 as the determination result. In this embodiment, since up to four gradient average image templates are used, up to four determination results are stored in the SRAM 243. In the gradient average image template comparison process, the gradient average determination result is stored in the SRAM 243. Here, when at least one “Yes” is stored as the determination result for the maximum of four templates, “Yes” is stored in the SRAM 243 as the gradient average determination result, and all “No” is stored. Is stored in the SRAM 243 as the gradient average determination result. Accordingly, in one gradient average image template comparison process, a maximum of four determination results for up to four gradient average image templates and one gradient average determination result based on these determination results are stored.

例えば、画像認識DSP回路242は、取得した勾配平均画像データと勾配平均画像テンプレートとの各画素における輝度を比較し(差分を算出し)、差分値からこれらの画素の輝度が一致するか否か又は差分が所定の範囲以内かを判定し、一致する又は差分が所定範囲内の画素が一定数以上ある場合は、勾配平均画像データと勾配平均画像テンプレートとが一致する又は所定程度類似すると判定する。一方、一致する画素が一定数に満たない場合は、勾配平均画像データと勾配平均画像テンプレートとが一致又は所定程度類似しないと判定する。   For example, the image recognition DSP circuit 242 compares the luminance of each pixel of the acquired gradient average image data and the gradient average image template (calculates a difference), and determines whether the luminance of these pixels matches from the difference value. Alternatively, it is determined whether or not the difference is within a predetermined range. If there is a certain number of pixels that match or the difference is within the predetermined range, it is determined that the gradient average image data and the gradient average image template match or are similar to a predetermined degree. . On the other hand, if the number of matching pixels is less than a certain number, it is determined that the gradient average image data and the gradient average image template are identical or not similar to a predetermined degree.

(2)HOGテンプレート比較処理
HOGテンプレート比較処理において、画像認識DSP回路242は、判定対象ヒストグラム記憶領域から判定対象のヒストグラム一式を取得する。次いで、取得したヒストグラム一式と、SRAM243に記憶されているHOGテンプレートとが一致する又は所定程度類似するか否かの可否判定を行い、判定結果として「可」又は「否」をSRAM243に記憶させる。本実施形態では、最大4つのHOGテンプレートを用いるため、最大4つの判定結果をSRAM243に記憶させる。また、HOGテンプレート比較処理では、HOG判定結果をSRAM243に記憶させる。ここで、最大4つのテンプレートに対する判定結果として1つでも「可」が記憶されている場合には、HOG判定結果として「可」がSRAM243に記憶され、全て「否」が記憶されている場合には、HOG判定結果として「否」がSRAM243に記憶される。したがって、1回のHOGテンプレート比較処理において、最大4つのHOGテンプレートに対する最大4つの判定結果と、これらの判定結果に基づく1つのHOG判定結果が記憶される。
(2) HOG Template Comparison Processing In the HOG template comparison processing, the image recognition DSP circuit 242 acquires a set of determination target histograms from the determination target histogram storage area. Next, it is determined whether or not the acquired histogram set matches the HOG template stored in the SRAM 243 or is similar to a predetermined degree, and “Yes” or “No” is stored in the SRAM 243 as a determination result. In the present embodiment, since a maximum of four HOG templates are used, a maximum of four determination results are stored in the SRAM 243. In the HOG template comparison process, the HOG determination result is stored in the SRAM 243. Here, when at least one “Yes” is stored as the determination result for the maximum of four templates, “Yes” is stored as the HOG determination result in the SRAM 243 and all “No” is stored. “NO” is stored in the SRAM 243 as the HOG determination result. Therefore, in one HOG template comparison process, a maximum of four determination results for a maximum of four HOG templates and a single HOG determination result based on these determination results are stored.

なお、取得したヒストグラム一式と、HOGテンプレートとの一致又は類似度の判定は、上述したHOGテンプレート生成処理におけるヒストグラム一式同士の一致又は類似度の判定と同様のため、ここではその説明を省略する。   Note that the determination of the match or similarity between the acquired histogram set and the HOG template is the same as the determination of the match or similarity between the histogram sets in the HOG template generation process described above, and thus the description thereof is omitted here.

以上のように、勾配平均画像テンプレート比較処理及びHOGテンプレート比較処理を行う画像認識DSP回路242は、メダルレール210上を通過した物体が正規メダルであるか否かを判定する遊技媒体判定手段を構成する。   As described above, the image recognition DSP circuit 242 that performs the gradient average image template comparison process and the HOG template comparison process constitutes a game medium determination unit that determines whether or not an object that has passed on the medal rail 210 is a regular medal. To do.

<GPIO>
GPIO250(図18参照)は、メダルセレクタ201に接続されている各機器と、制御LSI234と、の入出力のためのデバイスである。また、制御LSI234と、メダルセレクタ201を構成する各種デバイスと、の入出力のためのデバイスである。
例えば、GPIO250のメダルカウント出力PORT及びメダル判定出力PORTが、ドア中継端子板68を介して(図18ではドア中継端子板68の図示を省略している)、主制御回路91に接続されている。また、GPIO250のLED制御出力PORTが、LED233に接続され、制御LSI234によるLED233の点灯及び消灯制御が可能となっている。また、GPIO250の報知用LED制御出力PORTが、報知用LED206cに接続され、制御LSI234による報知用LED206cの点灯及び消灯制御が可能となっている。また、GPIO250のAE設定用ポートがCMOSイメージセンサ232に接続され、制御LSI234によるCMOSイメージセンサ232の露光時間設定機構の制御(露光時間の設定)が可能となっている。
<GPIO>
The GPIO 250 (see FIG. 18) is a device for input / output between each device connected to the medal selector 201 and the control LSI 234. In addition, it is a device for input / output between the control LSI 234 and various devices constituting the medal selector 201.
For example, the medal count output PORT and the medal determination output PORT of the GPIO 250 are connected to the main control circuit 91 via the door relay terminal plate 68 (the door relay terminal plate 68 is not shown in FIG. 18). . Further, the LED control output PORT of the GPIO 250 is connected to the LED 233 so that the control LSI 234 can turn on and off the LED 233. Further, the notification LED control output PORT of the GPIO 250 is connected to the notification LED 206c, so that the notification LED 206c can be turned on and off by the control LSI 234. Further, the AE setting port of the GPIO 250 is connected to the CMOS image sensor 232 so that the control LSI 234 can control the exposure time setting mechanism of the CMOS image sensor 232 (setting of the exposure time).

<ホストコントローラ>
ホストコントローラ241は、制御LSI234を構成する各デバイス、例えばメダルカウント回路246、カラー認識回路247、魚眼補正スケーラ回路248、画像認識DSP回路242、画像認識アクセラレータ回路249、GPIO250の制御を行う。
<Host controller>
The host controller 241 controls each device constituting the control LSI 234, for example, the medal count circuit 246, the color recognition circuit 247, the fisheye correction scaler circuit 248, the image recognition DSP circuit 242, the image recognition accelerator circuit 249, and the GPIO 250.

また、ホストコントローラ241は、ISP回路245からAE判定処理の判定結果を受信すると、まず、SRAM243において露光時間の段階の値を記憶している領域を参照する。次に、露光時間の段階が「25」すなわち露光時間が上限の175μ秒に設定されていない場合は、CMOSイメージセンサ232の露光時間設定機構に対して、GPIO250のAE設定用PORTを介して、露光時間を1段階上げるように指示する旨の信号を出力する。そして、SRAM243において露光時間の段階の値を記憶している領域の値に1を加算する。なお、本実施形態では、露光時間の初期値が70μ秒に設定されていることから、露光時間の段階の値を記憶している領域に記憶される初期値は10に設定されている。すなわち、本実施形態では、制御LSI234のホストコントローラ241は、CMOSイメージセンサ232の露光時間の設定を行う露光時間設定手段を構成する。   When the host controller 241 receives the determination result of the AE determination process from the ISP circuit 245, the host controller 241 first refers to an area in the SRAM 243 that stores the value of the stage of the exposure time. Next, when the stage of the exposure time is “25”, that is, when the exposure time is not set to the upper limit of 175 μsec, the exposure time setting mechanism of the CMOS image sensor 232 is connected to the AE setting PORT of the GPIO 250. A signal for instructing to increase the exposure time by one step is output. Then, 1 is added to the value of the area where the value of the stage of the exposure time is stored in the SRAM 243. In this embodiment, since the initial value of the exposure time is set to 70 μsec, the initial value stored in the area storing the value of the stage of the exposure time is set to 10. That is, in the present embodiment, the host controller 241 of the control LSI 234 constitutes an exposure time setting unit that sets the exposure time of the CMOS image sensor 232.

一方、露光時間の段階が「25」すなわち露光時間が上限の175μ秒に設定されている場合は、ホストコントローラ241は、GPIO250の報知用LED制御出力PORTを介して、報知用LED206cに点灯を指示する信号を出力する。また、ホストコントローラ241は、主制御基板71に、メダル異常信号を、GPIO250のメダル判定出力PORTを介して、出力する。
また、ホストコントローラ241は、メダルセレクタ201の任意の場所(例えば、第1の基板230の近辺)に設けられた、スイッチ基板(不図示)上に配置された初期化スイッチ(不図示)が押下されると、露光時間の段階を初期値の「10」、すなわち露光時間を70μ秒に設定する。これによって、例えば、遊技ホールの従業員が、カメラユニット209のレンズのメンテナンス(清掃等)した後に、初期化スイッチを押下することで、CMOSイメージセンサ232の適正な露光時間の再設定が可能となる。
On the other hand, when the stage of the exposure time is “25”, that is, the upper limit of the exposure time is set to 175 μsec, the host controller 241 instructs the notification LED 206c to be turned on via the notification LED control output PORT of the GPIO 250. Output a signal. The host controller 241 also outputs a medal abnormality signal to the main control board 71 via the medal determination output PORT of the GPIO 250.
Further, the host controller 241 depresses an initialization switch (not shown) disposed on a switch board (not shown) provided at an arbitrary location of the medal selector 201 (for example, in the vicinity of the first board 230). Then, the stage of the exposure time is set to the initial value “10”, that is, the exposure time is set to 70 μsec. Thereby, for example, an employee of a game hall can reset the appropriate exposure time of the CMOS image sensor 232 by pressing the initialization switch after maintenance (cleaning, etc.) of the lens of the camera unit 209. Become.

また、ホストコントローラ241は、GPIO250を介して、LED233へ点灯指示や消灯指示に係る信号を出力する。また、ホストコントローラ241は、GPIO250を介して、SRAM243に記憶されているカウント処理に係る判定結果、すなわち、「メダルが通過した」、「メダルがメダルシュート202に案内された」、及び、「異常が発生した」、のいずれかの判定結果を出力する。具体的には、判定結果が「メダルが通過した」である場合は、メダルカウント出力PORTからメダルカウント信号を出力し、「異常が発生した」である場合は、メダル判定出力PORTからメダル異常信号を出力する。また、色判定処理に係る判定結果を出力する。具体的には、閾値判定処理の判定結果として「閾値判定不可」がSRAM243に記憶されている場合、又は、色判定結果として「否」が記憶されている場合、GPIO250に割り付けられたメダル判定出力PORTからメダル異常信号を、所定の出力条件が成立したときに出力する。また、画像認識DSP回路242による判定処理に係る判定結果を出力する。具体的には、SRAM243に、勾配平均判定結果、又は、HOG判定結果として「否」が記憶されている場合に、GPIO250に割り付けられたメダル判定出力PORTからメダル異常信号を、所定の出力条件が成立したときに出力する。   In addition, the host controller 241 outputs a signal relating to a lighting instruction or a lighting instruction to the LED 233 via the GPIO 250. Further, the host controller 241 determines the determination result related to the count processing stored in the SRAM 243 via the GPIO 250, that is, “medal passed”, “medal guided to the medal chute 202”, and “abnormal” Is output ”. Specifically, when the determination result is “medal has passed”, the medal count signal is output from the medal count output PORT, and when “the abnormality has occurred”, the medal abnormality signal is output from the medal determination output PORT. Is output. In addition, a determination result related to the color determination process is output. Specifically, when “threshold determination impossible” is stored in the SRAM 243 as the determination result of the threshold determination process, or when “not” is stored as the color determination result, the medal determination output assigned to the GPIO 250 A medal abnormality signal is output from the PORT when a predetermined output condition is satisfied. In addition, a determination result related to the determination process by the image recognition DSP circuit 242 is output. Specifically, when “No” is stored in the SRAM 243 as the gradient average determination result or the HOG determination result, the medal abnormality signal is output from the medal determination output PORT assigned to the GPIO 250 under a predetermined output condition. Output when established.

各判定結果の上記所定の出力条件は、それぞれ適宜設定可能である。例えば、カウント処理に係る判定結果については、SRAM243にカウント処理の判定結果として、「異常が発生した」が記憶されたとき、と設定してもよいし、或いは、連続して、又は、直近のカウント処理の所定判定数(例えば、50回)の累計で、規定数(例えば、10回)以上、「異常が発生した」が記憶されたとき、と設定してもよい。また、閾値判定処理の判定結果については、SRAM243に、判定結果として「閾値判定不可」が記憶されたとき、と設定してもよいし、或いは、連続して、又は、直近の閾値判定処理の所定判定数(例えば、50回)の累計で、規定数(例えば、10回)以上、「閾値判定不可」が記憶されたとき、と設定してもよい。また、色判定処理の色判定結果については、SRAM243に、「否」が記憶されたとき、と設定してもよいし、或いは、連続して、又は、直近の色判定処理の所定判定数(例えば、50回)の累計で、規定数(例えば、10回)以上、「否」が記憶されたとき、と設定してもよい。また、刻印判定処理の勾配平均判定結果、又は、HOG判定結果については、SRAM243に「否」が、が記憶されたとき、と設定してもよいし、或いは、連続して、又は、直近の刻印判定処理の所定判定数(例えば、50回)の累計で、規定数(例えば、10回)以上、「否」が記憶されたとき、と設定してもよい。   The predetermined output condition of each determination result can be set as appropriate. For example, the determination result relating to the count process may be set as “when an abnormality has occurred” stored in the SRAM 243 as the determination result of the count process, or may be set continuously or immediately. It may be set that “abnormality has occurred” is stored for a predetermined number (for example, 50 times) or more of a predetermined number (for example, 50 times) in the count process. Further, the determination result of the threshold determination process may be set as “when threshold determination is impossible” is stored in the SRAM 243 as a determination result, or may be set continuously or in the latest threshold determination process. It may be set that “threshold judgment impossible” is stored for a predetermined number (for example, 50 times) or more and a predetermined number (for example, 10 times) or more. The color determination result of the color determination process may be set as “NO” stored in the SRAM 243, or may be set continuously or a predetermined number of determinations of the most recent color determination process ( For example, it may be set that “No” is stored for a predetermined number (for example, 10 times) or more in a total of 50 times. Further, the gradient average determination result or the HOG determination result of the stamp determination process may be set as “No” is stored in the SRAM 243, or may be set continuously or immediately. It may be set that “No” is stored for a predetermined number (for example, 10 times) or more in a cumulative number of predetermined determination numbers (for example, 50 times) of the marking determination process.

なお、SRAM243には、バックアップ電源(不図示)が接続されており、パチスロ1の電源切断時も一定期間(例えば、1週間程度)はSRAM243に記憶された内容は保持される。また、ホストコントローラ241は、メダルセレクタ201に設けられた初期化スイッチ(不図示)によりSRAM243に記憶された各種テンプレート、例えば、色テンプレート、勾配平均画像テンプレート、HOGテンプレート、を消去可能となっている。具体的には、初期化スイッチを押下した状態でパチスロ1の電源を投入することで、ホストコントローラ241の初期化処理時に、SRAM243の各種テンプレートが記憶されている領域を初期化(0の値を書き込む)、すなわち各種テンプレートを消去する。   The SRAM 243 is connected to a backup power source (not shown), and the contents stored in the SRAM 243 are retained for a certain period (for example, about one week) even when the power of the pachislot machine 1 is turned off. Further, the host controller 241 can erase various templates stored in the SRAM 243, for example, a color template, a gradient average image template, and a HOG template, by an initialization switch (not shown) provided in the medal selector 201. . Specifically, by turning on the power of the pachislot 1 while the initialization switch is pressed, the initialization area of the SRAM 243 in which various templates are stored is initialized (a value of 0 is set) during the initialization process of the host controller 241. Write), that is, erase various templates.

<フラッシュメモリ>
フラッシュメモリ244には、制御LSI234を構成する各種デバイス、例えば、ホストコントローラ241、画像認識DSP回路242、魚眼補正スケーラ回路248、画像認識アクセラレータ回路249が各種処理に用いるパラメータや各種処理に必要なデータが記憶されている。また、フラッシュメモリ244には、上述の露光時間の段階の値を記憶している領域が設けられている。
<Flash memory>
In the flash memory 244, various devices constituting the control LSI 234, for example, a host controller 241, an image recognition DSP circuit 242, a fisheye correction scaler circuit 248, an image recognition accelerator circuit 249, parameters used for various processes and necessary for various processes. Data is stored. Further, the flash memory 244 is provided with an area for storing the value of the above-described exposure time stage.

<制御LSIの処理フロー>
次に、制御LSI234が行う処理について、図34を参照して説明する。図34は、制御LSI234が行う処理を説明するための処理フロー図である。
図34に示すように、制御LSI234では、大きく分けて入力処理、変換処理、色判定処理、カウント処理及び刻印判定処理が行われる。
<Processing flow of control LSI>
Next, processing performed by the control LSI 234 will be described with reference to FIG. FIG. 34 is a processing flowchart for explaining the processing performed by the control LSI 234.
As shown in FIG. 34, the control LSI 234 roughly performs input processing, conversion processing, color determination processing, count processing, and marking determination processing.

<入力処理>
入力処理は、ISI回路251によって行われる。入力処理において、ISI回路251は、上述したとおり、CMOSイメージセンサ232からLVDS方式で送信された画像データをRGBベイヤ画像に変換して、ISP回路245に出力する。
<Input processing>
Input processing is performed by the ISI circuit 251. In the input process, as described above, the ISI circuit 251 converts the image data transmitted from the CMOS image sensor 232 by the LVDS method into an RGB Bayer image and outputs the RGB Bayer image to the ISP circuit 245.

<AE補正処理>
AE補正処理は、パチスロ1の電源投入時に、ISP回路245と、ホストコントローラ241によって行われる。また、AE補正処理は、後述する変換処理、色判定処理やカウント処理と並行して行われる。
<AE correction processing>
The AE correction process is performed by the ISP circuit 245 and the host controller 241 when the pachislot 1 is powered on. The AE correction process is performed in parallel with a conversion process, a color determination process, and a count process, which will be described later.

AE補正処理において、ISP回路245は、ISI回路251から出力されたRGBベイヤ画像にメダルレール210の表面に形成された突条部210a(図8参照)の画像が含まれているか否かを判定するAE判定処理を行う。また、ISP回路245は、出力された画像に突条部210aの画像が含まれていないと判定するとき、このAE判定処理の判定結果をホストコントローラ241に出力する。   In the AE correction process, the ISP circuit 245 determines whether the RGB Bayer image output from the ISI circuit 251 includes an image of the protrusion 210a (see FIG. 8) formed on the surface of the medal rail 210. AE determination processing is performed. Further, when the ISP circuit 245 determines that the output image does not include the image of the protruding portion 210 a, the ISP circuit 245 outputs the determination result of the AE determination process to the host controller 241.

また、AE補正処理において、ホストコントローラ241は、ISP回路245からAE判定処理の判定結果が出力されると、まず、SRAM243において露光時間の段階の値を記憶している領域を参照する。次に、露光時間の段階が「25」すなわち露光時間が上限の175μ秒に設定されていない場合は、CMOSイメージセンサ232の露光時間設定機構に対して、GPIO250のAE設定用PORTを介して、露光時間を1段階上げる(7μ秒延長させる)ように指示する旨の制御信号を出力する。そして、SRAM243において露光時間の段階の値を記憶している領域の値に1を加算する。   In the AE correction process, when the determination result of the AE determination process is output from the ISP circuit 245, the host controller 241 first refers to the area in the SRAM 243 that stores the value of the stage of the exposure time. Next, when the stage of the exposure time is “25”, that is, when the exposure time is not set to the upper limit of 175 μsec, the exposure time setting mechanism of the CMOS image sensor 232 is connected to the AE setting PORT of the GPIO 250. A control signal for instructing to increase the exposure time by one step (extend it by 7 μs) is output. Then, 1 is added to the value of the area where the value of the stage of the exposure time is stored in the SRAM 243.

このようにすることで、次に、ISP回路245がAE判定処理を行う画像は、露光時間が1段階上がったCMOSイメージセンサ232によって取得された画像に基づくRGBベイヤ画像となる。AE補正処理は、ISP回路245が、AE判定処理で、画像に突条部210aの画像が含まれると判定するまで、又は、露光時間が上限の175μ秒に設定されるまで、繰り返し行われる。   In this way, the image for which the ISP circuit 245 performs the AE determination processing next becomes an RGB Bayer image based on the image acquired by the CMOS image sensor 232 whose exposure time has increased by one stage. The AE correction process is repeatedly performed until the ISP circuit 245 determines in the AE determination process that the image of the protrusion 210a is included in the image, or until the exposure time is set to the upper limit of 175 μsec.

ISP回路245が、AE判定処理において、ISI回路251から出力された画像に突条部210aの画像が含まれていると判定するとき、このAE判定処理の判定結果をホストコントローラに出力せず、また、以降に、ISI回路251から出力された画像については、AE判定処理を行わない。すなわち、CMOSイメージセンサ232の露光時間は、ISP回路245がISI回路251から出力された画像に突条部210aの画像が含まれていると判定するときの露光時間に設定される。なお、ISP回路245が、電源投入後に最初にISI回路251から出力された画像に突条部210aの画像が含まれていると判定する場合は、CMOSイメージセンサ232の露光時間は、初期値の70μ秒(段階10)となる。   When the ISP circuit 245 determines that the image output from the ISI circuit 251 includes the image of the ridge 210a in the AE determination process, the determination result of the AE determination process is not output to the host controller. Thereafter, the AE determination process is not performed on the image output from the ISI circuit 251. That is, the exposure time of the CMOS image sensor 232 is set to the exposure time when the ISP circuit 245 determines that the image of the protrusion 210a is included in the image output from the ISI circuit 251. When the ISP circuit 245 determines that the image of the protrusion 210a is included in the image first output from the ISI circuit 251 after the power is turned on, the exposure time of the CMOS image sensor 232 is the initial value. 70 μs (step 10).

AE補正処理において、ホストコントローラ241は、ISP回路245からAE判定処理の判定結果が出力されたとき、露光時間の段階が「25」すなわち露光時間が上限の175μ秒に設定されている場合は、ホストコントローラ241は、GPIO250の報知用LED制御出力PORTを介して、報知用LED206cに点灯を指示する制御信号を出力する。また、ホストコントローラ241は、主制御基板71に、メダル異常信号を、GPIO250のメダル判定出力PORTを介して、出力する。   In the AE correction process, when the host controller 241 outputs the determination result of the AE determination process from the ISP circuit 245, the exposure time stage is set to “25”, that is, the exposure time is set to the upper limit of 175 μsec. The host controller 241 outputs a control signal instructing lighting to the notification LED 206 c via the notification LED control output PORT of the GPIO 250. The host controller 241 also outputs a medal abnormality signal to the main control board 71 via the medal determination output PORT of the GPIO 250.

このように、ホストコントローラ241が、報知用LED206cに点灯を指示する制御信号を出力するとともに、主制御基板71に、メダル異常信号を出力する場合とは、露光時間を上限値の175μ秒に設定してもメダルレール210の突条部210aが撮像できなかった場合である。このような場合、カメラユニット209に何らかの障害(例えばレンズにほこりなどの汚れが付着している)が発生していることが考えられる。このため、この状態ではカメラユニット209を用いた遊技メダルの投入検知及び、不正行為の検知を有効に行えないことから、主制御回路91は、不正行為があった場合の種々の処理と同様の処理を行う。例えば、主制御回路91が遊技を強制的に中断させ、7セグ表示器24にエラーコードを表示するとともに、副制御回路101にエラーコマンドを送信して、副制御回路101を介して、エラーを報知する(例えば、液晶表示装置11に所定のエラー画面を表示する)。   As described above, when the host controller 241 outputs a control signal instructing lighting to the notification LED 206c and outputs a medal abnormality signal to the main control board 71, the exposure time is set to an upper limit value of 175 μsec. Even in this case, the protrusion 210a of the medal rail 210 cannot be imaged. In such a case, it is considered that some kind of trouble (for example, dirt such as dust adheres to the lens) has occurred in the camera unit 209. For this reason, in this state, it is not possible to effectively detect the insertion of game medals using the camera unit 209 and the detection of fraudulent acts. Therefore, the main control circuit 91 is similar to various processes in the case of fraudulent acts. Process. For example, the main control circuit 91 forcibly interrupts the game, displays an error code on the 7-segment display 24, transmits an error command to the sub-control circuit 101, and sends an error via the sub-control circuit 101. Notification is performed (for example, a predetermined error screen is displayed on the liquid crystal display device 11).

<変換処理>
変換処理は、ISP回路245によって行われる。変換処理において、ISP回路245は、ISI回路251から出力されたRGBベイヤ画像にレンズ歪み補正処理と射影変換(ホモグラフィ)処理を施す画像補正処理を行う。次いで、ISP回路245は、補正後のRGBベイヤ画像を、YUV画像データに変換し、グレースケール画像データをメダルカウント回路246に出力する色変換処理を行う。また、RGBベイヤ画像を、HSV画像データに変換し、このHSV画像データをカラー認識回路247に出力する色変換処理を行う。
<Conversion processing>
The conversion process is performed by the ISP circuit 245. In the conversion process, the ISP circuit 245 performs an image correction process that performs a lens distortion correction process and a projective conversion (homography) process on the RGB Bayer image output from the ISI circuit 251. Next, the ISP circuit 245 performs color conversion processing for converting the corrected RGB Bayer image into YUV image data and outputting the grayscale image data to the medal count circuit 246. Further, the RGB Bayer image is converted into HSV image data, and color conversion processing for outputting the HSV image data to the color recognition circuit 247 is performed.

変換処理の後、制御LSI234は、色判定処理、カウント処理、刻印判定処理を行う。なお、これらの処理は、各々の処理を実行する回路が別々の回路として構成されているため、各々の実行可能なタイミングで、並列的に実行される。   After the conversion processing, the control LSI 234 performs color determination processing, count processing, and marking determination processing. These processes are executed in parallel at each executable timing because the circuits for executing the processes are configured as separate circuits.

<色判定処理>
色判定処理は、カラー認識回路247によって行われる。色判定処理には、メダル検出処理、閾値判定処理、彩度・色相乗算処理、色テンプレート生成処理、及び、色テンプレート比較処理が含まれる。
<Color judgment processing>
The color determination process is performed by the color recognition circuit 247. The color determination processing includes medal detection processing, threshold determination processing, saturation / hue multiplication processing, color template generation processing, and color template comparison processing.

まず、カラー認識回路247は、ISP回路245から出力されたHSV画像データにメダルの画像が含まれているか否かを判別するメダル検出処理を行う。HSV画像データにメダルの画像が含まれていると判別した場合、カラー認識回路247は、このHSV画像データに基づいて、閾値判定処理を行う。閾値判定処理において、平均彩度値と、平均色相値とに基づく閾値グラフ(図21参照)上の位置が許容領域内の場合は、色判定処理を継続する。一方、非許容領域内の場合は、判定結果として、「閾値判定不可」をSRAM243に記憶させ、色判定処理を終了する。   First, the color recognition circuit 247 performs a medal detection process for determining whether or not a medal image is included in the HSV image data output from the ISP circuit 245. When it is determined that a medal image is included in the HSV image data, the color recognition circuit 247 performs a threshold determination process based on the HSV image data. In the threshold determination process, if the position on the threshold graph (see FIG. 21) based on the average saturation value and the average hue value is within the allowable region, the color determination process is continued. On the other hand, if it is within the non-permissible region, “threshold value determination impossible” is stored in the SRAM 243 as the determination result, and the color determination process is terminated.

閾値判定処理後、カラー認識回路247は、彩度・色相乗算処理を行い、色判定用データを作成する。そして、作成した色判定用データと、色テンプレートとを比較し、一致又は所定程度類似するか否かを判定し、判定結果をSRAM243に記憶させる。   After the threshold determination processing, the color recognition circuit 247 performs saturation / hue multiplication processing to create color determination data. Then, the created color determination data is compared with the color template to determine whether they match or are similar to a predetermined degree, and the determination result is stored in the SRAM 243.

なお、電源投入後に投入されたメダルが規定初期投入枚数、本実施形態では50枚に達するまでは、色テンプレートが生成されていないため、色テンプレート比較処理は実行されない。   It should be noted that the color template comparison process is not executed until the number of medals inserted after power-on reaches the specified initial insertion number, which is 50 in this embodiment, since no color template has been generated.

また、カラー認識回路247は、電源投入後に投入されたメダルが規定初期投入枚数の50枚に達し、色判定用データ記憶領域に記憶された色判定用データが50個に達すると、すなわち50枚のメダルに係る色判定用データが作成されると、色テンプレート生成処理を実行する。   Further, the color recognition circuit 247 determines that when the number of medals inserted after power-on reaches the prescribed initial insertion number of 50 and the number of color determination data stored in the color determination data storage area reaches 50, that is, 50 sheets. When the color determination data relating to the medal is created, a color template generation process is executed.

<カウント処理>
カウント処理は、メダルカウント回路246によって行われる。カウント処理には、メダル検出処理と、順序判定処理が含まれる。メダル検出処理には、上述したメダル画像判別処理及びメダル位置検出処理が対応する。メダル検出処理において、メダルカウント回路246は、ISP回路245から出力されたグレースケール画像データに、メダルの画像が含まれているか否かを判別する。また、ISP回路245から出力されたグレースケール画像データにおける所定の判定領域にメダル画像が存在するか否かを判別し、判別結果(「IN」,「OUT」,「ON」,「OFF」のデータ)をSRAM243に記憶させる。
<Count processing>
The count process is performed by the medal count circuit 246. The count process includes a medal detection process and an order determination process. The medal detection process and the medal position detection process described above correspond to the medal detection process. In the medal detection process, the medal count circuit 246 determines whether the grayscale image data output from the ISP circuit 245 includes a medal image. Further, it is determined whether or not a medal image exists in a predetermined determination area in the grayscale image data output from the ISP circuit 245, and the determination results (“IN”, “OUT”, “ON”, “OFF”) are determined. Data) is stored in the SRAM 243.

順序判定処理において、メダルカウント回路246は、時系列的に並ぶ所定の数のグレースケール画像データにおいて、各判定領域についての「IN」,「OUT」,「ON」,「OFF」のデータの遷移の態様が所定の遷移の態様と一致しているか否かを判定する。そして、判定結果として、「メダルが通過した」、「メダルがメダルシュート202に案内された」又は「異常が発生した」のいずれかをSRAM243に記憶させる。さらに、SRAM243に「メダルが通過した」と記憶された場合には、ホストコントローラ241は、GPIO250に割り付けられたメダルカウント出力PORTから、メダルカウント信号を出力する。このメダルカウント信号によって、主制御回路91は、メダルが投入されたことを検知し、投入枚数又はクレジット枚数の加算カウントを行う。すなわち本実施形態では、順序判定処理を行うメダルカウント回路246は、撮像手段を介して得られる画像データに基づいて、通路を物体が通過したか否かを判定する通過判定手段を構成する。   In the order determination process, the medal count circuit 246 changes the data of “IN”, “OUT”, “ON”, and “OFF” for each determination region in a predetermined number of grayscale image data arranged in time series. It is determined whether or not the mode of is consistent with the mode of the predetermined transition. Then, the determination result is stored in the SRAM 243 as “medal has passed”, “medal was guided to the medal chute 202”, or “abnormality has occurred”. Further, when “S medal passed” is stored in the SRAM 243, the host controller 241 outputs a medal count signal from the medal count output PORT allocated to the GPIO 250. Based on the medal count signal, the main control circuit 91 detects that a medal has been inserted, and counts the number of inserted coins or the number of credits. That is, in this embodiment, the medal count circuit 246 that performs the order determination process constitutes a passage determination unit that determines whether an object has passed through the passage based on image data obtained through the imaging unit.

<刻印判定処理>
刻印判定処理は、魚眼補正スケーラ回路248によって行われる魚眼補正処理及びイコライズ処理、並びに、画像認識DSP回路242によって行われる円領域検出処理、フィルタ処理、勾配平均画像テンプレート比較処理及びHOGテンプレート比較処理が含まれる。また、画像認識アクセラレータ回路249によって行われる回転画像生成処理、勾配平均画像データ生成処理、勾配平均画像テンプレート生成処理、極座標変換処理、Scharr変換処理、HOG変換処理、HOGテンプレート生成処理が含まれる。
<Engraving process>
The marking determination processing includes fisheye correction processing and equalization processing performed by the fisheye correction scaler circuit 248, circle region detection processing performed by the image recognition DSP circuit 242, filter processing, gradient average image template comparison processing, and HOG template comparison. Processing is included. Also included are a rotation image generation process, a gradient average image data generation process, a gradient average image template generation process, a polar coordinate conversion process, a Charr conversion process, a HOG conversion process, and a HOG template generation process performed by the image recognition accelerator circuit 249.

魚眼補正処理において、魚眼補正スケーラ回路248は、SRAM243からグレースケール画像データを取得し、取得したグレースケール画像データを魚眼補正する魚眼補正処理を行う。次いで、イコライズ処理において、魚眼補正スケーラ回路248は、魚眼補正処理を行ったグレースケール画像データに対して、イコライズ処理を行い、縮小画像データを作成し、SRAM243に記憶させる。   In the fisheye correction process, the fisheye correction scaler circuit 248 acquires the grayscale image data from the SRAM 243 and performs a fisheye correction process for correcting the acquired grayscale image data with a fisheye. Next, in the equalization processing, the fisheye correction scaler circuit 248 performs equalization processing on the grayscale image data that has been subjected to fisheye correction processing, creates reduced image data, and stores the reduced image data in the SRAM 243.

ホストコントローラ241は、カウント処理においてメダルレール210上をメダルが通過したと判定された場合、刻印判定処理における円領域検出処理以降の処理の実行を画像認識DSP回路242及び画像認識アクセラレータ回路249に指示する。   When the host controller 241 determines that the medal has passed on the medal rail 210 in the counting process, the host controller 241 instructs the image recognition DSP circuit 242 and the image recognition accelerator circuit 249 to execute the process after the circular area detection process in the marking determination process. To do.

円領域検出処理において、画像認識DSP回路242は、縮小画像データをSRAM243から取得し、縮小画像データから円領域を検出する。また、フィルタ処理において、画像認識DSP回路242は、検出した円領域について、非線形拡散フィルタ処理を施してエッジ画像XYを作成し、SRAM243に記憶させる。   In the circular area detection processing, the image recognition DSP circuit 242 acquires reduced image data from the SRAM 243 and detects a circular area from the reduced image data. In the filter processing, the image recognition DSP circuit 242 performs non-linear diffusion filter processing on the detected circular area to create an edge image XY, and stores it in the SRAM 243.

次いで、回転画像生成処理において、画像認識アクセラレータ回路249は、SRAM243からエッジ画像XYを取得し、エッジ画像XYから360度分の回転画像を生成する。また、勾配平均画像データ生成処理において、画像認識アクセラレータ回路249は、360度分の回転画像を累積加算して(重ね合わせて)、勾配平均画像データを生成し、勾配平均画像データをSRAM243に記憶させる。なお、画像認識アクセラレータ回路249は、勾配平均画像データを、勾配平均画像テンプレートを生成する前は、勾配平均画像テンプレート生成用データ記憶領域に記憶させ、勾配平均画像テンプレートを生成した後は、判定対象勾配平均画像データ記憶領域に記憶させる。   Next, in the rotated image generation process, the image recognition accelerator circuit 249 acquires the edge image XY from the SRAM 243 and generates a rotated image of 360 degrees from the edge image XY. In the gradient average image data generation process, the image recognition accelerator circuit 249 cumulatively adds (superimposes) 360-degree rotated images to generate gradient average image data, and stores the gradient average image data in the SRAM 243. Let The image recognition accelerator circuit 249 stores the gradient average image data in the gradient average image template generation data storage area before generating the gradient average image template, and after generating the gradient average image template, Store in the gradient average image data storage area.

次いで、勾配平均画像テンプレート比較処理において、画像認識DSP回路242は、判定対象の勾配平均画像データと勾配平均画像テンプレートとが一致する又は所定程度類似するか否かを判定し、判定結果をSRAM243に記憶させる。ここで、勾配平均画像テンプレート比較処理の実行時に、勾配平均画像テンプレートが生成されていない場合(本実施形態では、電源投入後に投入されたメダルが50枚に満たない場合)は、勾配平均画像テンプレート比較処理は実行されない。   Next, in the gradient average image template comparison process, the image recognition DSP circuit 242 determines whether or not the gradient average image data to be determined matches the gradient average image template, or is similar to a predetermined degree, and the determination result is stored in the SRAM 243. Remember. Here, when the gradient average image template is not generated at the time of executing the gradient average image template comparison process (in this embodiment, when the number of medals inserted after power-on is less than 50), the gradient average image template is used. The comparison process is not executed.

なお、上述したように、電源投入後に投入されたメダルが規定初期投入枚数の50枚に達し、SRAM243の勾配平均画像データ生成用データ記憶領域に50個の勾配平均画像データが記憶されたタイミングで、画像認識アクセラレータ回路249は、勾配平均画像テンプレート生成処理を行う。   Note that, as described above, the number of medals inserted after power-on reaches the prescribed initial insertion number of 50, and 50 gradient average image data is stored in the gradient average image data generation data storage area of the SRAM 243. The image recognition accelerator circuit 249 performs gradient average image template generation processing.

また、回転画像生成処理に並行して、画像認識アクセラレータ回路249は、極座標変換処理を行う。極座標変換処理において、SRAM243からエッジ画像XYを取得し、取得したエッジ画像XYについて、直交座標を極座標に変換し、極座標画像データを作成し、極座標画像データをSRAM243に記憶させる。   In parallel with the rotation image generation processing, the image recognition accelerator circuit 249 performs polar coordinate conversion processing. In the polar coordinate conversion process, the edge image XY is acquired from the SRAM 243, the orthogonal coordinates are converted into polar coordinates for the acquired edge image XY, polar coordinate image data is created, and the polar coordinate image data is stored in the SRAM 243.

次いで、Scharr変換処理において、画像認識アクセラレータ回路249は、SRAM243から極座標画像データを取得し、非線形拡散フィルタ処理を行いエッジ極座標画像Xとエッジ極座標画像Yを作成する。   Next, in the Scherr transform process, the image recognition accelerator circuit 249 acquires polar coordinate image data from the SRAM 243, performs nonlinear diffusion filter processing, and creates an edge polar coordinate image X and an edge polar coordinate image Y.

次いで、HOG変換処理において、画像認識アクセラレータ回路249は、エッジ極座標画像Xとエッジ極座標画像Yに基づいてエッジ勾配画像を作成し、作成したエッジ勾配画像にHOG変換を施し、局所領域毎に局所領域内の輝度の勾配方向のヒストグラムを、作成する。そして作成したヒストグラム一式をSRAM243に記憶させる。なお、画像認識アクセラレータ回路249は、ヒストグラム一式を、HOGテンプレートを生成する前は、HOGテンプレート生成用データ記憶領域に記憶させ、HOGテンプレートを生成した後は、判定対象ヒストグラム記憶領域に記憶させる。   Next, in the HOG conversion process, the image recognition accelerator circuit 249 generates an edge gradient image based on the edge polar coordinate image X and the edge polar coordinate image Y, performs HOG conversion on the generated edge gradient image, and performs local region-by-local region. A histogram of the gradient direction of the brightness is created. Then, the created histogram set is stored in the SRAM 243. The image recognition accelerator circuit 249 stores the set of histograms in the HOG template generation data storage area before generating the HOG template, and stores the histogram set in the determination target histogram storage area after generating the HOG template.

次いで、HOGテンプレート比較処理において、画像認識DSP回路242は、判定対象のヒストグラム一式と、SRAM243に記憶されているHOGテンプレートとが一致する又は所定程度類似するか否かを判定する。そして、判定結果をSRAM243に記憶させる。なお、HOGテンプレートが生成されていない場合(本実施形態では、電源投入後に投入されたメダルが50枚に満たない場合)は、HOGテンプレート比較処理は実行されない。   Next, in the HOG template comparison process, the image recognition DSP circuit 242 determines whether the set of determination target histograms matches the HOG template stored in the SRAM 243 or is similar to a predetermined degree. Then, the determination result is stored in the SRAM 243. Note that when the HOG template is not generated (in this embodiment, the number of medals inserted after power-on is less than 50), the HOG template comparison process is not executed.

なお、上述したように、電源投入後に投入されたメダルが50枚に達し、SRAM243のHOGテンプレート生成用データ記憶領域に50セットのヒストグラム一式が記憶されたタイミングで、画像認識アクセラレータ回路249は、HOGテンプレート生成処理を行う。   As described above, the image recognition accelerator circuit 249 receives the HOG at the timing when 50 medals are inserted after the power is turned on and 50 sets of histograms are stored in the HOG template generation data storage area of the SRAM 243. Perform template generation processing.

<制御LSIの処理のタイミング>
次に、図35を参照して、制御LSI234が行う、各種処理のタイミングについて、説明する。
図35は、制御LSI234を構成するデバイスであるホストコントローラ241、ISP回路245、メダルカウント回路246、カラー認識回路247における処理の関係を時系列的に示している。各デバイス名の下方に延在する線における比較的太線の部分は、そのデバイスが上述した各種処理を行っている状態であることを示している。
<Control LSI processing timing>
Next, timing of various processes performed by the control LSI 234 will be described with reference to FIG.
FIG. 35 shows the relationship of processing in the host controller 241, ISP circuit 245, medal count circuit 246, and color recognition circuit 247, which are devices constituting the control LSI 234, in time series. A relatively thick line in the line extending below each device name indicates that the device is performing the various processes described above.

また、各デバイスに対応する線の間の破線矢印は、各デバイス間で入出力される信号を示している。また、ホストコントローラにおける「IN」の下方に延在する線と「OUT」の下方に延在する線との間の破線矢印は、ホストコントローラ241が検知した信号とホストコントローラ241から出力される信号との対応関係を示している。
なお、ホストコントローラ241及びISP回路245により行われるAE補正処理については図示を省略する。
In addition, broken-line arrows between lines corresponding to the devices indicate signals input / output between the devices. A broken line arrow between a line extending below “IN” and a line extending below “OUT” in the host controller indicates a signal detected by the host controller 241 and a signal output from the host controller 241. The correspondence relationship is shown.
Note that illustration of the AE correction processing performed by the host controller 241 and the ISP circuit 245 is omitted.

まず、CMOSイメージセンサ232(図17参照)が画像データを制御LSI234に出力すると、ISP回路245は、ISI回路251を介して画像データを取得し、VSYNC(Vertical Synchronization)割込信号♯0(1IH)を、ホストコントローラ241に出力する。また、ISP回路245は、RGBベイヤ画像を各種フォーマットに変換する変換処理を行う。そして、グレースケール画像データ、HSV画像データをSRAM243、メダルカウント回路246、カラー認識回路247に出力する。なお、変換処理の詳細な説明については上述したため省略する。   First, when the CMOS image sensor 232 (see FIG. 17) outputs image data to the control LSI 234, the ISP circuit 245 acquires the image data via the ISI circuit 251, and the VSYNC (Vertical Synchronization) interrupt signal # 0 (1IH). ) Is output to the host controller 241. Further, the ISP circuit 245 performs conversion processing for converting the RGB Bayer image into various formats. Then, the gray scale image data and HSV image data are output to the SRAM 243, the medal count circuit 246, and the color recognition circuit 247. The detailed description of the conversion process has been described above, and will not be repeated.

ホストコントローラ241は、VSYNC割込信号♯0が入力されると、所定時間経過後に、カラー認識回路247と、メダルカウント回路246に起動要求信号(1HC,1HM)を出力する。なお、この所定時間は、実験やシミュレーションに基いて、ISP回路245における変換処理の所要時間よりも長く設定されている。   When the VSYNC interrupt signal # 0 is input, the host controller 241 outputs an activation request signal (1HC, 1HM) to the color recognition circuit 247 and the medal count circuit 246 after a predetermined time has elapsed. This predetermined time is set longer than the time required for the conversion process in the ISP circuit 245 based on experiments and simulations.

カラー認識回路247は、起動要求信号が入力されると、また、ISP回路245から出力されたHSV画像データについて色判定処理を行い、判定結果をSRAM243に記憶させ、また、ホストコントローラ241に色判定割込信号(1CH)を出力する。なお、色判定処理の詳細な説明については上述したため省略する。   When the activation request signal is input, the color recognition circuit 247 performs color determination processing on the HSV image data output from the ISP circuit 245, stores the determination result in the SRAM 243, and causes the host controller 241 to perform color determination. An interrupt signal (1CH) is output. Note that the detailed description of the color determination process has been described above, and will be omitted.

メダルカウント回路246は、起動要求信号が入力されると、また、ISP回路245から出力されたデータに基づいてカウント処理を行い、判定結果をSRAM243に記憶させ、また、ホストコントローラ241にメダルカウント割込信号(1MH)を出力する。なお、カウント処理の詳細な説明については上述したため省略する。   When the activation request signal is input, the medal count circuit 246 performs a count process based on the data output from the ISP circuit 245, stores the determination result in the SRAM 243, and also stores the medal count allocation in the host controller 241. Output signal (1MH). Note that the detailed description of the count process has been described above, and is therefore omitted.

ホストコントローラ241は、色判定割込信号及びカウント割込信号を検知すると、SRAM243からカウント処理の判定結果を取得する。そして、判定結果として、「メダルが通過した」、「メダルがメダルシュート202に案内された」、及び、「異常が発生した」、のいずれかが記憶されているか否かを判別する。そして、いずれも記憶されていない場合は、ホストコントローラ241は、判定結果を、GPIO250を介して主制御基板71(主制御回路91)に出力する処理を省略する。ここで、本実施形態では、上述したように、カウント処理の順序判定処理においては、SRAM243上に複数のグレースケール画像データの各判定領域におけるデータの遷移の態様が記憶されていることを要するため、少なくともメダルカウント回路246が受信したグレースケール画像データの数が所定数(14又はメダルが投入不可の場合は4)に達するまでは、判定結果を主制御基板71に出力する処理は省略される場合がある。   When the host controller 241 detects the color determination interrupt signal and the count interrupt signal, the host controller 241 acquires the determination result of the count process from the SRAM 243. Then, as a determination result, it is determined whether or not “medal has passed”, “medal was guided to medal chute 202”, or “abnormality has occurred” is stored. If neither is stored, the host controller 241 omits the process of outputting the determination result to the main control board 71 (main control circuit 91) via the GPIO 250. Here, in the present embodiment, as described above, in the order determination process of the count process, it is necessary to store the data transition mode in each determination region of the plurality of grayscale image data in the SRAM 243. Until at least the number of grayscale image data received by the medal count circuit 246 reaches a predetermined number (14 or 4 when medals cannot be inserted), the process of outputting the determination result to the main control board 71 is omitted. There is a case.

図35に示す、VSYNC割込信号♯1〜4(2IH〜5IH)の入力を契機とする各デバイスの処理のタイミング及び信号の入出力については、上述したVSYNC割込信号♯0の入力(1IH)を契機とする各デバイスの処理のタイミング及び信号の入出力と同様のため、ここでは説明を省略する。   The processing timing and signal input / output of each device triggered by the input of the VSYNC interrupt signals # 1 to 4 (2IH to 5IH) shown in FIG. 35 are the same as the input of the VSYNC interrupt signal # 0 (1IH). ) Is the same as the processing timing and signal input / output of each device, and the description is omitted here.

次に、図35に示す、電源投入後n回目のVSYNC割込信号であるVSYNC割込信号♯n(nIH)の入力を契機とする各デバイスの処理のタイミング及び信号の入出力について、説明する。なお、ISP回路245が、VSYNC割込信号♯nを、ホストコントローラ241に出力してから(nIH)、ホストコントローラ241が、SRAM243からカウント処理の判定結果を取得するまでの処理及び信号の入出力については、上述したVSYNC割込信号♯0(1IH)の入力を契機とする各デバイスの処理のタイミング及び信号の入出力と同様のためここでは説明を省略する。   Next, the processing timing and signal input / output of each device triggered by the input of the VSYNC interrupt signal #n (nIH), which is the nth VSYNC interrupt signal after power-on, shown in FIG. 35 will be described. . Note that processing and signal input / output from when the ISP circuit 245 outputs the VSYNC interrupt signal #n to the host controller 241 (nIH) until the host controller 241 obtains the determination result of the count processing from the SRAM 243. Since this is the same as the processing timing and signal input / output of each device triggered by the input of the VSYNC interrupt signal # 0 (1IH) described above, description thereof is omitted here.

ホストコントローラ241は、カウント処理の判定結果として、「メダルが通過した」、「メダルがメダルシュート202に案内された」、及び、「異常が発生した」、のいずれかが記憶されていた場合、SRAM243から当該判定結果と、色判定処理の判定結果を取得し、これらの判定結果を、GPIO250の割り付けPORTに出力する(nHG)。すなわちホストコントローラ241は、カウント判定処理の判定結果及び色判定処理の判定結果を、GPIO250を介して主制御基板71(主制御回路91)に出力する。なお、ここで出力される色判定処理の判定結果は、複数の場合がある。   When the host controller 241 stores, as the determination result of the count process, any one of “medal has passed”, “medal was guided to the medal chute 202”, and “abnormality has occurred”, The determination result and the determination result of the color determination process are acquired from the SRAM 243, and these determination results are output to the allocation PORT of the GPIO 250 (nHG). That is, the host controller 241 outputs the determination result of the count determination process and the determination result of the color determination process to the main control board 71 (main control circuit 91) via the GPIO 250. The determination result of the color determination process output here may be plural.

また、ホストコントローラ241は、カウント処理の判定結果が「メダルが通過した」である場合、遊技機に投入されたメダルが規定初期投入枚数、本実施形態では50枚に達するまでの各メダルに係る色判定用データを生成するため、所定時間前のHSV画像データを用いて、色判定用データを生成するように、カラー認識回路247に指示する。また、ホストコントローラ241は、所定時間前の縮小画像データを用いて、前処理を行うよう、画像認識DSP回路242に指示する。   In addition, when the determination result of the count processing is “medal has passed”, the host controller 241 relates to each medal until the medal inserted into the gaming machine reaches the specified initial inserted number, in this embodiment, 50. In order to generate color determination data, the color recognition circuit 247 is instructed to generate color determination data using HSV image data of a predetermined time ago. Further, the host controller 241 instructs the image recognition DSP circuit 242 to perform preprocessing using the reduced image data of a predetermined time ago.

また、ホストコントローラ241は、主制御基板71に出力した判定結果を、SRAM243から削除する。   In addition, the host controller 241 deletes the determination result output to the main control board 71 from the SRAM 243.

カウント処理の判定結果が「メダルが通過した」である場合、主制御回路91のメインCPU93は、GPIO250のメダルカウント出力PORTから出力されたメダルカウント信号を検出して、投入されたメダルの枚数をメインCPU93が計数するために設けられたカウンタである投入枚数カウンタの値に1加算する。なお、投入枚数カウンタの値が最大値(例えば、3)の場合は、クレジットされているメダルの枚数をメインCPU93が計数するために設けられたカウンタであるクレジットカウンタの値に1加算する。クレジットカウンタが最大値(例えば、50)の場合は、主制御回路91は、メダルセレクタ201のメダルソレノイド208をOFF状態に設定する。これによって、セレクトプレート207が「排出位置」に位置付けされ、メダルが投入不可となり、クレジットカウンタが最大値となった後で投入されたメダルをメダルシュート202に案内してメダル払出口32からメダルトレイユニット34に排出する。本実施形態では、投入枚数カウンタの値が規定値(例えば、2又は3)のときに、スタートレバーが操作されると、メインCPU93は上述の内部抽籤処理を行う。   When the determination result of the count processing is “medal has passed”, the main CPU 93 of the main control circuit 91 detects the medal count signal output from the medal count output PORT of the GPIO 250 and determines the number of inserted medals. The main CPU 93 adds 1 to the value of the insertion number counter, which is a counter provided for counting. When the value of the inserted number counter is the maximum value (for example, 3), 1 is added to the value of a credit counter that is a counter provided for the main CPU 93 to count the number of credited medals. When the credit counter is the maximum value (for example, 50), the main control circuit 91 sets the medal solenoid 208 of the medal selector 201 to the OFF state. As a result, the select plate 207 is positioned at the “discharge position”, the medal cannot be inserted, and the medal inserted after the credit counter reaches the maximum value is guided to the medal chute 202 and the medal tray through the medal payout port 32. The unit 34 is discharged. In the present embodiment, when the value of the insertion number counter is a specified value (for example, 2 or 3), when the start lever is operated, the main CPU 93 performs the above-described internal lottery process.

また、色判定処理の判定結果が「閾値判定不可」の場合や、色判定結果が「否」の場合、また、カウント判定結果が「異常が発生した」である場合に、GPIO250のメダル判定出力PORTから所定の出力条件が成立したときに出力されるメダル異常信号(図35のJudgement)により、主制御回路91は、遊技機に正規の遊技媒体が用いられていると誤認させて遊技を行う不正行為があったことを検知する。そして、不正行為があった場合の種々の処理を行う。ここで、不正行為があった場合の種々の処理とは、例えば、主制御回路91が遊技を強制的に中断させ、7セグ表示器24にエラーコードを表示するとともに、副制御回路101にエラーコマンドを送信して、副制御回路101を介して、不正行為があった旨を報知する(例えば、液晶表示装置11に不正行為が発生した旨を表示する)処理である。   Further, when the determination result of the color determination process is “threshold determination impossible”, the color determination result is “no”, or the count determination result is “abnormal”, the medal determination output of the GPIO 250 Based on a medal abnormality signal (Judgment in FIG. 35) that is output when a predetermined output condition is established from the PORT, the main control circuit 91 misrecognizes that a regular gaming medium is used in the gaming machine and plays a game. Detects fraudulent activity. Then, various processes are performed when there is an illegal act. Here, the various processes when there is an illegal act are, for example, that the main control circuit 91 forcibly interrupts the game, displays an error code on the 7-segment display 24, and causes an error on the sub-control circuit 101. This is a process of transmitting a command and notifying that an illegal act has occurred via the sub-control circuit 101 (for example, displaying that an illegal act has occurred on the liquid crystal display device 11).

次に、図36を参照して、制御LSI234が行う、その他の処理のタイミングについて、説明する。
図36は、制御LSI234を構成するデバイスであるホストコントローラ241、ISP回路245、魚眼補正スケーラ回路248、画像認識DSP回路242、画像認識アクセラレータ回路249における処理の関係を時系列的に示している。なお、図36における各種表記の意味は、図35と同様のため、ここでは説明を省略する。また、図36は、電源投入後m回目のVSYNC割込信号であるVSYNC割込信号♯mがISP回路245から出力された以降の処理のタイミングについて示している。
Next, the timing of other processing performed by the control LSI 234 will be described with reference to FIG.
FIG. 36 shows the processing relationship in time series in the host controller 241, the ISP circuit 245, the fisheye correction scaler circuit 248, the image recognition DSP circuit 242, and the image recognition accelerator circuit 249 that are devices constituting the control LSI 234. . Note that the meanings of various notations in FIG. 36 are the same as those in FIG. FIG. 36 shows the processing timing after the VSYNC interrupt signal #m, which is the m-th VSYNC interrupt signal after the power is turned on, is output from the ISP circuit 245.

まず、CMOSイメージセンサ232(図17参照)が画像データを制御LSI234に出力すると、ISP回路245は、ISI回路251を介して画像データを取得し、VSYNC(Vertical Synchronization)割込信号♯m(1IH)を、ホストコントローラ241に出力する。また、ISP回路245は、RGBベイヤ画像を各種フォーマットに変換する変換処理を行う。そして、グレースケール画像データをSRAM243に記憶させる。なお、変換処理の詳細な説明については上述したため省略する。   First, when the CMOS image sensor 232 (see FIG. 17) outputs image data to the control LSI 234, the ISP circuit 245 acquires the image data via the ISI circuit 251, and the VSYNC (Vertical Synchronization) interrupt signal #m (1IH). ) Is output to the host controller 241. Further, the ISP circuit 245 performs conversion processing for converting the RGB Bayer image into various formats. Then, the gray scale image data is stored in the SRAM 243. The detailed description of the conversion process has been described above, and will not be repeated.

ホストコントローラ241は、VSYNC割込信号♯mが入力されると、ISP回路245の変換処理の終了を検出し、変換処理が終了したタイミングで、魚眼補正スケーラ回路248に起動要求信号(1HG)を出力する。なお、この所定時間は、実験やシミュレーションに基いて、ISP回路245における変換処理の所要時間よりも長く設定されている。   When the VSYNC interrupt signal #m is input, the host controller 241 detects the end of the conversion process of the ISP circuit 245, and at the timing when the conversion process is completed, the host controller 241 sends a start request signal (1HG) to the fisheye correction scaler circuit 248. Is output. This predetermined time is set longer than the time required for the conversion process in the ISP circuit 245 based on experiments and simulations.

魚眼補正スケーラ回路248は、起動要求信号が入力されると、グレースケール画像データをSRAM243から取得し、魚眼補正処理及びイコライズ処理を行い、作成した縮小画像データをSRAM243に記憶させ、また、ホストコントローラ241に縮小終了割込信号(1GH)を出力する。なお、魚眼補正処理及びイコライズ処理の詳細な説明については上述したため省略する。   When the activation request signal is input, the fisheye correction scaler circuit 248 acquires grayscale image data from the SRAM 243, performs fisheye correction processing and equalization processing, stores the generated reduced image data in the SRAM 243, and A reduction end interrupt signal (1GH) is output to the host controller 241. Note that the detailed description of the fisheye correction process and the equalization process has been described above, and will be omitted.

ホストコントローラ241は、前回の縮小終了割込信号が入力されてから今回の縮小割込信号が入力されるまでに主制御回路91に「メダルが通過した」というカウント処理の判定結果を出力したことを条件に、画像認識DSP回路242に前処理の開始を指示する信号(1HD)を入力する。なお、前処理の開始を指示する条件に、主制御回路91に出力した色判定処理の判定結果に、「閾値判定不可」、又は、4つの色テンプレートいずれにも一致又は所定程度類似しない、が含まれていないこと、すなわちいずれかの色テンプレートと一致又は所定程度類似しているという判定結果が含まれていることを条件に加えてもよい。   The host controller 241 outputs the determination result of the count process “medal has passed” to the main control circuit 91 from the input of the previous reduction end interrupt signal to the input of the current reduction interrupt signal. On the condition, a signal (1HD) instructing the image recognition DSP circuit 242 to start preprocessing is input. Note that the determination result of the color determination process output to the main control circuit 91 is “threshold determination impossible”, or does not match any of the four color templates or is not similar to a predetermined degree, under the condition for instructing the start of preprocessing. It may be added as a condition that it is not included, that is, a determination result is included that matches any one of the color templates or is similar to a predetermined degree.

画像認識DSP回路242は、ホストコントローラ241から上記信号が入力されると、前処理を行う。前処理は、上述のように、円領域検出処理とフィルタ処理からなり、前処理で作成したエッジ画像XYをSRAM243に記憶させ、ホストコントローラ241に前処理終了割込信号(1DH1)を出力する。なお、前処理の詳細な説明については上述したため省略する。   The image recognition DSP circuit 242 performs preprocessing when the signal is input from the host controller 241. As described above, the preprocessing includes a circular area detection process and a filter process. The edge image XY created by the preprocessing is stored in the SRAM 243, and a preprocessing end interrupt signal (1DH1) is output to the host controller 241. Note that the detailed description of the pre-processing has been described above and is omitted.

ホストコントローラ241は、前処理完了割込信号が入力されると、画像認識アクセラレータ回路249に、補正処理の開始を指示する信号(1HA)を出力する。ここで補正処理とは、上述した回転画像生成処理、勾配平均画像データ生成処理、極座標変換処理、Scharr変換処理、HOG変換処理である。なお、これらの処理の詳細な説明については上述したため省略する。   When the pre-processing completion interrupt signal is input, the host controller 241 outputs a signal (1HA) instructing the start of correction processing to the image recognition accelerator circuit 249. Here, the correction processing is the above-described rotation image generation processing, gradient average image data generation processing, polar coordinate conversion processing, Charrr conversion processing, and HOG conversion processing. Note that a detailed description of these processes has been described above, and will be omitted.

画像認識アクセラレータ回路249は、ホストコントローラ241から上記信号が入力されると、補正処理を行う。そして、生成した勾配平均画像データを、勾配平均画像テンプレートを既に生成していた場合は、SRAM243の判定対象勾配平均画像データ記憶領域に記憶させ、一方、勾配平均画像テンプレートを未だ生成していない場合は、勾配平均画像テンプレート生成用データ記憶領域に記憶させる。また、生成したヒストグラム一式を、HOGテンプレートを既に生成していた場合はSRAM243の判定対象ヒストグラム記憶領域に記憶させ、一方、HOGテンプレートを未だ生成していない場合は、HOGテンプレート生成用データ記憶領域に記憶させる。   The image recognition accelerator circuit 249 performs correction processing when the signal is input from the host controller 241. If the gradient average image template has already been generated, the generated gradient average image data is stored in the determination target gradient average image data storage area of the SRAM 243, while the gradient average image template has not yet been generated. Are stored in the gradient average image template generation data storage area. If the HOG template has already been generated, the generated histogram set is stored in the determination target histogram storage area of the SRAM 243. On the other hand, if the HOG template has not yet been generated, the HOG template generation data storage area is stored. Remember.

次いで、画像認識アクセラレータ回路249は、勾配平均画像テンプレートとHOGテンプレートを既に生成していた場合は、画像認識DSP回路242に補正処理終了割込信号(1AD)を出力する。一方、勾配平均画像テンプレートとHOGテンプレートを未だ生成していない場合は、画像認識DSP回路242に補正処理終了割込信号を出力する処理を省略する。なお、画像認識アクセラレータ回路249は、SRAM243の勾配平均画像データ生成用データ記憶領域に50個の勾配平均画像データが記憶されると、勾配平均画像テンプレート生成処理を行う。また、画像認識アクセラレータ回路249は、SRAM243のHOGテンプレート生成用データ記憶領域に50セットのヒストグラム一式が記憶されると、HOGテンプレート生成処理を行う。   Next, when the gradient average image template and the HOG template have already been generated, the image recognition accelerator circuit 249 outputs a correction processing end interrupt signal (1AD) to the image recognition DSP circuit 242. On the other hand, if the gradient average image template and the HOG template have not yet been generated, the process of outputting the correction process end interrupt signal to the image recognition DSP circuit 242 is omitted. The image recognition accelerator circuit 249 performs gradient average image template generation processing when 50 gradient average image data are stored in the gradient average image data generation data storage area of the SRAM 243. The image recognition accelerator circuit 249 performs HOG template generation processing when 50 sets of histograms are stored in the HOG template generation data storage area of the SRAM 243.

画像認識DSP回路242は、補正処理終了割込信号が入力されると、刻印判定処理を行う。ここでの刻印判定処理は、勾配平均画像テンプレート比較処理とHOGテンプレート比較処理からなる。具体的には、画像認識DSP回路242は、SRAM243の判定対象勾配平均画像データ記憶領域から勾配平均画像データを取得し、勾配平均画像テンプレートと比較する勾配平均画像テンプレート比較処理を行う。そして、勾配平均画像テンプレート比較処理の判定結果を、SRAM243に記憶させる。また、SRAM243の判定対象ヒストグラム記憶領域からヒストグラム一式を取得し、HOGテンプレートと比較するHOGテンプレート比較処理を行う。そして、HOGテンプレート比較処理の判定結果を、SRAM243に記憶させる。その後、画像認識DSP回路242は、刻印判定終了割込信号(1DH2)をホストコントローラ241に出力する。   When the correction processing end interrupt signal is input, the image recognition DSP circuit 242 performs a marking determination process. The marking determination process here includes a gradient average image template comparison process and a HOG template comparison process. Specifically, the image recognition DSP circuit 242 acquires gradient average image data from the determination target gradient average image data storage area of the SRAM 243, and performs gradient average image template comparison processing for comparison with the gradient average image template. Then, the determination result of the gradient average image template comparison process is stored in the SRAM 243. Further, a set of histograms is acquired from the determination target histogram storage area of the SRAM 243, and a HOG template comparison process for comparing with the HOG template is performed. Then, the determination result of the HOG template comparison process is stored in the SRAM 243. Thereafter, the image recognition DSP circuit 242 outputs a marking determination end interrupt signal (1DH2) to the host controller 241.

ホストコントローラ241は、刻印判定終了割込信号が入力されると、SRAM243に記憶されている刻印判定処理の判定結果として、勾配平均判定結果及びHOG判定結果を取得する。また、ホストコントローラ241は、取得した勾配平均判定結果として「否」が記憶されている場合、又は、HOG判定結果として「否」が記憶されている場合、上述した所定の出力条件が成立したときに、GPIO250のメダル判定出力PORTからメダル異常信号(図36のJudgement)を主制御回路91に出力する(1HG)。すなわちホストコントローラ241は、刻印判定処理の判定結果を、GPIO250を介して主制御基板71(主制御回路91)に出力する。また、ホストコントローラ241は、主制御基板71に出力した刻印判定処理の判定結果を、SRAM243から削除する。なお、本実施形態では、色判定処理の判定結果の主制御回路91への出力と、刻印判定処理の判定結果の主制御回路91への出力は、GPIO250の同じ出力PORTを割り付けているが、これに限らず、別々の出力PORTに割り付けてもよい。この場合、主制御回路91は、色判定処理の判定結果に基づくメダル異常信号か、刻印判定処理の判定結果に基づくメダル異常信号か、を判別することができる。   When the stamp determination end interrupt signal is input, the host controller 241 acquires the gradient average determination result and the HOG determination result as the determination result of the stamp determination process stored in the SRAM 243. Further, when “No” is stored as the acquired gradient average determination result, or when “No” is stored as the HOG determination result, the host controller 241 satisfies the above-described predetermined output condition. Then, a medal abnormality signal (Judgment in FIG. 36) is output from the medal determination output PORT of the GPIO 250 to the main control circuit 91 (1HG). That is, the host controller 241 outputs the determination result of the marking determination process to the main control board 71 (main control circuit 91) via the GPIO 250. In addition, the host controller 241 deletes the determination result of the marking determination process output to the main control board 71 from the SRAM 243. In this embodiment, the same output PORT of the GPIO 250 is assigned to the output of the determination result of the color determination process to the main control circuit 91 and the output of the determination result of the marking determination process to the main control circuit 91. However, the present invention is not limited to this, and it may be assigned to different output PORTs. In this case, the main control circuit 91 can determine whether it is a medal abnormality signal based on the determination result of the color determination process or a medal abnormality signal based on the determination result of the stamp determination process.

主制御回路91は、入力された刻印判定処理の判定結果、すなわち勾配平均判定結果及びHOG判定結果のいずれかが「否」である場合、遊技機に正規の遊技媒体が用いられていると誤認させて遊技を行う不正行為があったことを検知する。そして、不正行為があった場合の種々の処理を行う。ここで、不正行為があった場合の種々の処理とは、例えば、主制御回路91が遊技を強制的に中断させ、7セグ表示器24にエラーコードを表示するとともに、副制御回路101にエラーコマンドを送信して、副制御回路101を介して、不正行為があった旨を報知する(例えば、液晶表示装置11に不正行為が発生した旨を表示する)処理である。   The main control circuit 91 misidentifies that a regular gaming medium is used in the gaming machine when either of the determination results of the input marking determination processing, that is, the gradient average determination result or the HOG determination result is “No”. It detects that there was an illegal act to play a game. Then, various processes are performed when there is an illegal act. Here, the various processes when there is an illegal act are, for example, that the main control circuit 91 forcibly interrupts the game, displays an error code on the 7-segment display 24, and causes an error on the sub-control circuit 101. This is a process of transmitting a command and notifying that an illegal act has occurred via the sub-control circuit 101 (for example, displaying that an illegal act has occurred on the liquid crystal display device 11).

なお、図36では、VSYNC♯mに続く、VSYNC♯m+1,VSYNC♯m+2,VSYNC♯m+3,VSYNC♯m+4,VSYNC♯m+5,VSYNC♯m+6を契機とする各種処理について、上述したVSHYC♯mを契機とする各種処理と同様のものについては、当該処理に応じて出力される各種信号に先頭の数字のみ変更する符号を付し、詳細な説明を省略する。   In FIG. 36, VSYNC # m, VSYNC # m + 2, VSYNC # m + 3, VSYNC # m + 4, VSYNC # m + 5, and VSYNC # m + 6 following VSYNC # m are triggered by the above-mentioned VSHYC # m. For the same processing as those described above, the various signals output in accordance with the processing are denoted by reference numerals for changing only the leading numerals, and detailed description thereof is omitted.

ここで、魚眼補正スケーラ回路248からホストコントローラ241に縮小終了割込信号(2GH,3GH,4GH,6GH)を出力する処理の後、ホストコントローラ241から画像認識DSP回路242に、前処理の開始を指示する信号を出力する処理が行われていない。   Here, after processing to output a reduction end interrupt signal (2GH, 3GH, 4GH, 6GH) from the fisheye correction scaler circuit 248 to the host controller 241, the preprocessing is started from the host controller 241 to the image recognition DSP circuit 242. The process of outputting a signal for instructing is not performed.

これは、ホストコントローラ241が、前回の縮小終了割込信号が入力されてから今回の縮小割込信号が入力されるまで、主制御回路91に「メダルが通過した」というカウント処理の判定結果を出力していないからである。本例では、4GHに係る縮小終了割込信号が入力されてから5GHに係る縮小終了割込信号が入力されるまでの間に、ホストコントローラ241は、主制御回路91に「メダルが通過した」というカウント処理の判定結果を出力している。このため、5GHに係る縮小終了割込信号が入力された後、ホストコントローラ241は、画像認識DSP回路242に前処理の開始を指示する信号(2HD)を出力する。   This is because the host controller 241 displays the determination result of the count process “medal has passed” to the main control circuit 91 from when the previous reduction end interrupt signal is input until the current reduction interrupt signal is input. This is because they are not output. In this example, the host controller 241 indicates that “the medal has passed” to the main control circuit 91 between the time when the reduction end interrupt signal according to 4GH is input and the time when the reduction end interrupt signal according to 5GH is input. Is output. For this reason, after the 5GH reduction end interrupt signal is input, the host controller 241 outputs a signal (2HD) instructing the image recognition DSP circuit 242 to start preprocessing.

また、本実施形態においては、投入される全てのメダルについて、刻印判定処理が行われることが好ましい。しかし、ホストコントローラ241は、画像認識DSP回路242に前処理の開始を指示する信号を出力する際に、画像認識DSP回路242又は画像認識アクセラレータ回路249が処理中(ビジー状態)か否かを確認し、いずれかが処理中の場合は当該信号を出力せず、また、いずれも処理中でない場合に、当該信号を出力するようにしてもよい。この場合、連続して投入されたメダルについて、間歇的に刻印判定処理を行うことになる。例えば、連続して3枚のメダルが投入された場合は、1枚目と3枚目について刻印判定処理を行うことになる。   In the present embodiment, it is preferable that the marking determination process is performed for all medals inserted. However, when the host controller 241 outputs a signal instructing the image recognition DSP circuit 242 to start preprocessing, the host controller 241 checks whether the image recognition DSP circuit 242 or the image recognition accelerator circuit 249 is processing (busy state). However, the signal may not be output when any of the signals is being processed, and may be output when none of the signals is being processed. In this case, the marking determination process is intermittently performed for medals continuously inserted. For example, when three medals are inserted in succession, the marking determination process is performed on the first and third sheets.

図35及び図36に示した、制御LSI234における各デバイスの処理タイミングは、例示に過ぎない。各デバイスの処理能力や処理内容・処理手順に応じて、様々な処理タイミングで正規メダル判別処理が行われうる。   The processing timing of each device in the control LSI 234 shown in FIGS. 35 and 36 is merely an example. The regular medal determination process can be performed at various processing timings according to the processing capability, processing content, and processing procedure of each device.

<第1の作用>
本実施形態のパチスロ1では、カラー認識回路247が行う、CMOSイメージセンサ232から出力された画像データに基づく色判定処理の結果に、「閾値判定不可」、又は、4つの色テンプレートいずれにも一致又は所定程度類似しない、が含まれている場合、すなわち、投入されたメダルの色が正規メダルの色と一致しない場合、主制御回路91は、遊技機に正規の遊技媒体が用いられていると誤認させて遊技を行う不正行為があったことを検知する。
<First action>
In the pachi-slot 1 of the present embodiment, the result of the color determination process based on the image data output from the CMOS image sensor 232 performed by the color recognition circuit 247 matches “no threshold determination” or any of the four color templates. Alternatively, when the similarity is included to a predetermined degree, that is, when the color of the inserted medal does not match the color of the regular medal, the main control circuit 91 indicates that a regular gaming medium is used for the gaming machine. Detects that there was an illegal act of misrecognizing and playing a game.

また、CMOSイメージセンサ232から出力された画像データに基づくカウント処理の結果が「異常が発生した」である場合、主制御回路91は、遊技機に正規の遊技媒体が用いられていると誤認させて遊技を行う不正行為があったことを検知する。   Further, when the result of the count process based on the image data output from the CMOS image sensor 232 is “abnormality has occurred”, the main control circuit 91 misidentifies that a regular game medium is used for the game machine. Detecting that there was an illegal act of playing games.

また、画像認識DSP回路242が行う、CMOSイメージセンサ232から出力された画像データに基づく刻印判定処理の結果(本実施形態では、勾配平均判定結果、又は、HOG判定結果)が「否」である場合、すなわち投入されたメダルの刻印と正規メダルの刻印が異なる場合、主制御回路91は、遊技機に正規の遊技媒体が用いられていると誤認させて遊技を行う不正行為があったことを検知する。   In addition, the result of the marking determination process performed by the image recognition DSP circuit 242 based on the image data output from the CMOS image sensor 232 (in this embodiment, the gradient average determination result or the HOG determination result) is “No”. In this case, that is, when the stamp of the inserted medal is different from the stamp of the regular medal, the main control circuit 91 confirms that the gaming machine has misconducted to play a game by misidentifying that the regular gaming medium is used. Detect.

したがって、主制御回路91は、特殊な器具をメダル投入口に挿入して行われる不正行為や、正規メダルと同径で色や刻印(模様)のみ異なるメダルを使用して行われる不正行為を、精度よく検知することができる。   Therefore, the main control circuit 91 performs cheating performed by inserting a special instrument into the medal slot, or cheating performed using a medal having the same diameter and color and stamp (pattern) as the regular medal. It can be detected with high accuracy.

そして、不正行為があったことを検知すると、主制御回路91は、遊技を強制的に中断させ、副制御回路101を介して、不正行為があった旨を報知する。したがって、上記不正行為による被害の拡大を抑えることができる。   When it is detected that there has been a cheating, the main control circuit 91 forcibly interrupts the game and notifies the sub-control circuit 101 that there has been a cheating. Therefore, it is possible to suppress the spread of damage due to the fraud.

<第2の作用>
また、本実施形態のパチスロ1では、メダルセレクタ201の制御LSI234が、電源投入後、投入されたメダルが規定初期投入枚数、本実施形態では50枚に達するまでのメダルレール210上を通過するメダルを含む画像に基づいて、色判定処理に用いられる色テンプレートを生成する。また、同様に刻印判定処理に用いられる勾配平均画像テンプレート及びHOGテンプレートを生成する。
<Second action>
Further, in the pachi-slot 1 of this embodiment, the control LSI 234 of the medal selector 201 passes medals that pass on the medal rail 210 until the number of inserted medals reaches the specified initial number of inserted coins, that is, 50 in this embodiment. A color template used for the color determination process is generated based on the image including. Similarly, a gradient average image template and an HOG template used for the marking determination process are generated.

したがって、遊技店において、正規メダルとして使用するメダルの変更があった場合に、電源投入後、変更後の正規メダルを50枚連続して投入することで、変更後の正規メダルに係る色テンプレート、勾配平均画像テンプレート及びHOGテンプレートを容易に作成することができる。また、正規メダルが、例えば遊技機への投入や、払出し、また、遊技店での洗浄によって劣化し、刻印が当初よりも目立たなくなった場合でも、正規メダルの現状の状態に対応した色テンプレート、勾配平均画像テンプレート及びHOGテンプレートを生成することができるので、各種判定の結果の精度を保つことができる。   Therefore, when there is a change in a medal used as a regular medal at an amusement store, after the power is turned on, by inserting 50 regular medals after the change, the color template related to the regular medals after the change, Gradient average image templates and HOG templates can be easily created. In addition, even if the regular medal is deteriorated due to, for example, insertion into a gaming machine, payout, or washing at a gaming store, the color template corresponding to the current state of the regular medal even if the stamp is less noticeable than the original, Since the gradient average image template and the HOG template can be generated, the accuracy of various determination results can be maintained.

<第3の作用>
また、本実施形態のパチスロ1では、制御LSI234のメダルカウント回路246が、ISP回路245から出力されたグレースケール画像データに基づいてカウント処理を行う。メダルカウント回路246は、カウント処理における順序判定処理において、時系列的に並ぶ所定の数のグレースケール画像データについて、複数(本実施形態では16個)の判定領域についての輝度の変化に基づく「IN」,「OUT」,「ON」,「OFF」のデータの遷移の態様がメダルカウント判定表(図27参照)の遷移の態様と一致しているか否かを判定する。そして、一致している場合は、メダルレール210上を「メダルが通過した」又は「メダルがメダルシュート202に案内された」と判定する。また、判定領域Eに対して「IN」,「OUT」,「ON」のいずれかのデータが記憶されている場合は、異常が発生したと判定する。
<Third action>
In the pachislot machine 1 of this embodiment, the medal count circuit 246 of the control LSI 234 performs a count process based on the grayscale image data output from the ISP circuit 245. In the order determination process in the count process, the medal count circuit 246 performs “IN” based on a change in luminance for a plurality (16 in the present embodiment) of determination areas for a predetermined number of grayscale image data arranged in time series. ”,“ OUT ”,“ ON ”,“ OFF ”data transition mode is determined whether it matches the transition mode of the medal count determination table (see FIG. 27). If they match, it is determined that “medal has passed” on the medal rail 210 or “medal was guided to the medal chute 202”. Further, if any of the data “IN”, “OUT”, and “ON” is stored for the determination area E, it is determined that an abnormality has occurred.

以上のように、複数の判定領域における輝度の変化に基づいてメダルの通過などを判定するため、判定の精度を高めることができる。   As described above, since the passage of medals is determined based on the change in luminance in the plurality of determination regions, the determination accuracy can be improved.

また、グレースケール画像データ上に設定する判定領域の数は、許容される判定所要時間や求める判定の精度に応じ適宜設定可能である。したがって、例えば、判定の精度を更に高めるために、判定領域の数を増加させた場合でも、メダルカウント用のフォトセンサなどの部品を新たに設置する必要がない。このため、製造コストの増加を抑制することができる。   In addition, the number of determination regions set on the grayscale image data can be set as appropriate according to the allowable determination required time and the accuracy of determination to be obtained. Therefore, for example, even when the number of determination regions is increased in order to further increase the accuracy of determination, it is not necessary to newly install components such as a photo sensor for medal counting. For this reason, the increase in manufacturing cost can be suppressed.

また、主制御回路91は、カウント処理の判定結果が、「異常が発生した」である場合、遊技機に正規の遊技媒体が用いられていると誤認させて遊技を行う不正行為があったことを検知する。すなわち、カウント処理の判定結果に基づいて、不正行為を検知することができる。   In addition, when the determination result of the count processing is “abnormality has occurred”, the main control circuit 91 has misconducted that the gaming machine misidentifies that a legitimate gaming medium is used and plays a game. Is detected. That is, an illegal act can be detected based on the determination result of the count process.

<第4の作用>
また、本実施形態のパチスロ1では、制御LSI234のISP回路245が、ISI回路251から出力されたRGBベイヤ画像にレンズ歪み補正処理と射影変換(ホモグラフィ)処理を施す画像補正処理を行う。
<Fourth action>
Also, in the pachislot machine 1 of the present embodiment, the ISP circuit 245 of the control LSI 234 performs image correction processing that performs lens distortion correction processing and projective transformation (homography) processing on the RGB Bayer image output from the ISI circuit 251.

このため、カメラユニット209のレンズの特性やカメラユニット209の取り付け位置のずれが各種判別・判定処理に影響を与えないようにRGBベイヤ画像を補完し、各種判定処理の精度を高めることができる。   For this reason, it is possible to complement the RGB Bayer image so that the lens characteristics of the camera unit 209 and the displacement of the mounting position of the camera unit 209 do not affect the various determination / determination processes, thereby improving the accuracy of the various determination processes.

<第5の作用>
また、本実施形態のパチスロ1では、制御LSI234のカラー認識回路247が、閾値判定処理を行う。これによって、明らかに色相又は彩度の値が正規メダルと異なものについて、色テンプレートと一致又は所定程度類似すると誤判定されることを抑制することができる。すなわち、色テンプレートとの一致度に基づく判定に加えて、判定対象の色自体が有効な色であるか否かを判定できるので、色判定処理の判定結果の精度を高めることができる。
<Fifth action>
In the pachislot machine 1 of the present embodiment, the color recognition circuit 247 of the control LSI 234 performs threshold value determination processing. As a result, it is possible to suppress an erroneous determination that a hue or saturation value that is clearly different from a regular medal matches the color template or is similar to a predetermined degree. That is, in addition to the determination based on the degree of coincidence with the color template, it can be determined whether or not the determination target color itself is an effective color, so the accuracy of the determination result of the color determination process can be improved.

<第6の作用>
また、本実施形態のパチスロ1では、制御LSI234の魚眼補正スケーラ回路248が、イコライズ処理において、作成した縮小画像データそれぞれに対して、バイラテラル変換処理を行う。
これによって、グレースケール画像データのノイズを減少させ、且つ、グレースケール画像データ内のエッジを強調することができる。このため、刻印判定処理における判定結果の精度を高めることができる。
<Sixth action>
Further, in the pachislot machine 1 of the present embodiment, the fish-eye correction scaler circuit 248 of the control LSI 234 performs bilateral conversion processing on each of the created reduced image data in the equalization processing.
As a result, noise in the grayscale image data can be reduced, and edges in the grayscale image data can be emphasized. For this reason, the accuracy of the determination result in the marking determination process can be increased.

<第7の作用>
また、本実施形態のパチスロ1では、制御LSI234の画像認識アクセラレータ回路249が、HOG変換処理を行う。また、画像認識DSP回路242が、刻印判定処理において、HOG変換処理によって作成された判定対象のヒストグラム一式とHOGテンプレートとが一致する又は所定程度類似するか否かを判定する。
<Seventh action>
Further, in the pachislot machine 1 of the present embodiment, the image recognition accelerator circuit 249 of the control LSI 234 performs HOG conversion processing. Further, the image recognition DSP circuit 242 determines whether or not the set of determination target histograms created by the HOG conversion process and the HOG template match or are similar to a predetermined degree in the marking determination process.

したがって、回転しながらメダルレール210上を通過するメダルの撮像データに対して、局所的な形状変化(幾何学的変換)に強みを有するHOG変換処理を伴う画像マッチングを行うことで、刻印判定処理の判定結果の精度を高めることができる。   Therefore, the marking determination processing is performed by performing image matching with HOG conversion processing having strength in local shape change (geometric conversion) on the imaging data of the medal passing on the medal rail 210 while rotating. The accuracy of the determination result can be improved.

<第8の作用>
本実施形態のパチスロ1では、制御LSI234の画像認識アクセラレータ回路249が、HOG変換処理の前に、極座標変換処理を行う。
これによって、正規メダルの外周領域の特徴が、HOG変換処理によって作成されるヒストグラム一式に反映され易くなる。したがって、外周領域に特徴的な刻印(模様)が施されているメダルについて、その後の刻印判定処理の判定結果の精度を高めることができる。
<Eighth action>
In the pachislot machine 1 of this embodiment, the image recognition accelerator circuit 249 of the control LSI 234 performs polar coordinate conversion processing before the HOG conversion processing.
As a result, the feature of the outer peripheral area of the regular medal is easily reflected in the set of histograms created by the HOG conversion process. Therefore, it is possible to improve the accuracy of the determination result of the subsequent stamp determination process for medals having a characteristic stamp (pattern) on the outer peripheral region.

<第9の作用>
従来の遊技機では、投入されたメダルのカウントや、投入メダルのセレクタ内でのメダル詰まり等の検知は、主制御回路内のメインCPUが、メインROMに記憶されたプログラムを実行することによって、行われていた。しかし、本実施形態のパチスロ1では、メダルセレクタ201の制御LSI234が、これらの検知を、従来よりも高精度に行う。したがって、これらの検知のためのプログラムをメインROM94に記憶させる必要がないので、メインROM94の記憶容量が削減される。
<Ninth action>
In a conventional gaming machine, the detection of a count of medals inserted, a clogging of medals in a selector of inserted medals, and the like is performed by the main CPU in the main control circuit executing a program stored in the main ROM. It was done. However, in the pachi-slot 1 of the present embodiment, the control LSI 234 of the medal selector 201 performs these detections with higher accuracy than before. Accordingly, since it is not necessary to store these detection programs in the main ROM 94, the storage capacity of the main ROM 94 is reduced.

<第10の作用>
本実施形態のパチスロ1では、制御LSI234のISP回路245及びホストコントローラ241によってAE補正処理が行われる。このため、CMOSイメージセンサ232の露光時間を、メダルレール210の突条部210aが撮像可能な露光時間に設定することができる。これによって、適切な露光時間を設定できるので、CMOSイメージセンサ232を備えるカメラユニット209で撮像した画像に基づく色判定処理、刻印判定処理やカウント処理の精度を確保することができる。
<Tenth action>
In the pachislot machine 1 of this embodiment, the AE correction process is performed by the ISP circuit 245 and the host controller 241 of the control LSI 234. For this reason, the exposure time of the CMOS image sensor 232 can be set to an exposure time that allows the protrusion 210a of the medal rail 210 to capture an image. Accordingly, since an appropriate exposure time can be set, it is possible to ensure the accuracy of the color determination process, the marking determination process, and the count process based on the image captured by the camera unit 209 including the CMOS image sensor 232.

また、カメラユニット209のレンズに多少ほこりなどが付着し汚れても、LED233の輝度を上げることに代えて露光時間を延長させることにより、LED233の寿命の短命化を抑制しつつ、色判定処理、刻印判定処理やカウント処理の精度を確保することができる。また、レンズの汚れの除去の頻度を下げることができるので、遊技ホールの従業員の作業負荷を低減できる。   Further, even if dust or the like adheres to the lens of the camera unit 209, the color determination process is performed while suppressing the shortening of the life of the LED 233 by extending the exposure time instead of increasing the brightness of the LED 233. The accuracy of the marking determination process and the count process can be ensured. In addition, since the frequency of removing dirt on the lens can be reduced, the work load of the game hall employees can be reduced.

<第11の作用>
本実施形態のパチスロ1では、AE補正処理において、ISP回路245からAE判定処理の判定結果が出力されたとき、ホストコントローラ241は、露光時間が上限の175μ秒に設定されている場合は、報知用LED206cに点灯を指示する信号を出力し、報知用LED206cが点灯する。これによって、報知用LED206cを見る者、例えば遊技ホールの管理者は、カメラユニット209に何らかの障害(例えばレンズにほこりなどの汚れが付着している)が発生していることを把握することができる。
<Eleventh action>
In the pachi-slot 1 of the present embodiment, when the determination result of the AE determination process is output from the ISP circuit 245 in the AE correction process, the host controller 241 notifies when the exposure time is set to the upper limit of 175 μsec. A signal instructing lighting to be output to the LED 206c is output, and the notification LED 206c is turned on. Accordingly, a person who views the notification LED 206c, for example, a manager of the game hall, can grasp that the camera unit 209 has some trouble (for example, dirt such as dust is attached to the lens). .

また、AE補正処理において、ISP回路245からAE判定処理の判定結果が出力されたとき、ホストコントローラ241は、露光時間が上限の175μ秒に設定されている場合は、主制御基板71に、メダル異常信号を出力する。そして、メダル異常信号が出力されると、主制御基板71(主制御回路91)は、遊技を強制的に中断させ、7セグ表示器24にエラーコードを表示するとともに、副制御回路101にエラーコマンドを送信して、エラーを報知する(例えば、液晶表示装置11に所定のエラー画面を表示する)。これによって、色判定処理、刻印判定処理やカウント処理の精度が確保できない、すなわち不正行為の検知が有効に行えない状態で遊技が行われることを抑制することができる。   In addition, in the AE correction process, when the determination result of the AE determination process is output from the ISP circuit 245, the host controller 241 sends a medal to the main control board 71 if the exposure time is set to the upper limit of 175 μsec. An abnormal signal is output. When the medal abnormality signal is output, the main control board 71 (main control circuit 91) forcibly interrupts the game, displays an error code on the 7-segment display 24, and displays an error in the sub-control circuit 101. An error is notified by transmitting a command (for example, a predetermined error screen is displayed on the liquid crystal display device 11). Accordingly, it is possible to prevent the game from being performed in a state where the accuracy of the color determination process, the marking determination process, and the count process cannot be ensured, that is, the illegal act cannot be detected effectively.

なお、本実施形態では、パチスロ1の電源投入時にAE補正処理を行う態様を説明したが、AT補正処理の実行タイミングは適宜設定可能である。例えば、フロントドア2bが開放され、ドア開閉監視スイッチ67から出力されたセキュリティー信号を主制御回路91が検知したときに、AE補正処理を実行してもよい。また、パチスロ1に対する操作が検出されなくなってから所定の時間が経過したときに、AE補正処理を実行してもよい。また、所定時間、例えば1時間、経過する毎にAE補正処理を実行してもよい。   In the present embodiment, the aspect in which the AE correction process is performed when the power of the pachislot machine 1 is turned on has been described. For example, the AE correction process may be executed when the front door 2b is opened and the main control circuit 91 detects a security signal output from the door opening / closing monitoring switch 67. Further, the AE correction process may be executed when a predetermined time has elapsed since no operation on the pachislot 1 is detected. Further, the AE correction process may be executed every elapse of a predetermined time, for example, 1 hour.

また、ホストコントローラ241が、報知用LED206cに点灯を指示する信号を出力し、また、主制御基板71に、メダル異常信号を出力する場合に、このメダル異常信号のための出力PORTを、メダル判定出力PORTとは別個に設けてもよい。このようにすることで、主制御基板71は、メダル判定出力PORTから出力されたメダル異常信号と、別個に設けた出力PORTから出力されたメダル異常信号とを区別することができる。   Further, when the host controller 241 outputs a signal instructing to turn on the notification LED 206c and outputs a medal abnormality signal to the main control board 71, the output PORT for the medal abnormality signal is determined as a medal determination. It may be provided separately from the output PORT. By doing in this way, the main control board 71 can distinguish the medal abnormality signal output from the medal determination output PORT and the medal abnormality signal output from the separately provided output PORT.

これによって、メダル判定出力PORTとは別個に設けられた出力PORTからメダル異常信号が入力された場合、主制御基板71は、露光時間を調整しても、CMOSイメージセンサ232が取得した画像データに所定の画像が含まれない旨を把握することができる。このため、主制御基板71は、例えば、副制御回路101にエラーコマンドを送信して、副制御回路101を介して、レンズの汚れの除去を促すメッセージを報知する(例えば、液晶表示装置11にその旨を表示する)ことができる。これによって、遊技ホールの従業員にレンズの汚れの除去を促すことができる。   Accordingly, when a medal abnormality signal is input from an output PORT provided separately from the medal determination output PORT, the main control board 71 converts the image data acquired by the CMOS image sensor 232 even if the exposure time is adjusted. It can be understood that the predetermined image is not included. For this reason, the main control board 71 transmits an error command to the sub control circuit 101, for example, and notifies a message prompting the removal of lens dirt via the sub control circuit 101 (for example, to the liquid crystal display device 11). To that effect). As a result, the employees of the game hall can be encouraged to remove the dirt on the lens.

<変形例>
以上、本発明の一実施形態に係る遊技機について、その作用効果も含めて説明した。しかし、本発明の遊技機は、上述の実施の形態に限定されるものではなく、特許請求の範囲に記載した本発明の要旨を逸脱しない限り、種々の変形実施が可能である。なお、以下の変形例の説明において、上述した実施形態における構成要素と同一または類似の構成要素については、その説明を省略し、また、図面においては同一の符号を付す。
<Modification>
The gaming machine according to one embodiment of the present invention has been described above including the effects thereof. However, the gaming machine of the present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the gist of the present invention described in the claims. In the following description of the modification, the description of the same or similar components as those in the above-described embodiment will be omitted, and the same reference numerals will be given in the drawings.

<変形例1>
例えば、図22〜図24に示す判定領域に対応する位置に、孔を設けたメダルセレクタ301を用いてもよい。
変形例1に係るメダルセレクタ301の構成について、図37を参照して説明する。図37は、変形例1におけるメダルセレクタを説明するための図である。なお、図37においては、メダルセレクタ301のキャンセルシュータ206及びカメラユニット209(図7参照)の図示を省略している。
<Modification 1>
For example, a medal selector 301 having a hole at a position corresponding to the determination region shown in FIGS. 22 to 24 may be used.
A configuration of the medal selector 301 according to the first modification will be described with reference to FIG. FIG. 37 is a diagram for explaining a medal selector in the first modification. In FIG. 37, illustration of the cancel shooter 206 and the camera unit 209 (see FIG. 7) of the medal selector 301 is omitted.

メダルセレクタ301のベース板部304にはメダルレール310が、パチスロ1の前方へ凹むように、且つ、略L字状に形成されている。メダルレール310の表面には、複数の突条部310aが形成されている。   A medal rail 310 is formed in the base plate portion 304 of the medal selector 301 so as to be recessed forward of the pachi-slot 1 and is substantially L-shaped. A plurality of protrusions 310 a are formed on the surface of the medal rail 310.

また、メダルレール310において、図22〜図24に示す判定領域A1〜A4及び判定領域B1〜B4に対応する位置に、これらの判定領域を合わせた形状と同形状の判定領域AB孔310bが形成されている。また、同様に判定領域C1,C2に対応する位置に同形状の判定領域C孔310cが形成され、また、判定領域D1〜D4に対応する位置に同形状の判定領域D310d孔が形成されている。また、図示は省略するが、ベース板部304には、図22〜図24に示す判定領域Fに対応する位置に、判定領域F孔310eが形成されている。   Further, in the medal rail 310, a determination area AB hole 310b having the same shape as the combined shape of the determination areas is formed at positions corresponding to the determination areas A1 to A4 and the determination areas B1 to B4 shown in FIGS. Has been. Similarly, determination region C holes 310c having the same shape are formed at positions corresponding to the determination regions C1 and C2, and determination regions D310d holes having the same shape are formed at positions corresponding to the determination regions D1 to D4. . Although not shown in the drawings, a determination region F hole 310e is formed in the base plate portion 304 at a position corresponding to the determination region F shown in FIGS.

また、図37に示すようにメダルセレクタ301のサブプレート305には、図22〜図24に示す判定領域Fに対応する位置に、判定領域F孔305aが形成されている。サブプレート305に形成されている判定領域F孔305aと、ベース板部304に形成されている判定領域F孔310eとは、前後方向に連通している。
なお、メダルセレクタ301のその他の点においては、メダルセレクタ201と同様のため、説明を省略する。
As shown in FIG. 37, a determination region F hole 305a is formed in the sub plate 305 of the medal selector 301 at a position corresponding to the determination region F shown in FIGS. The determination region F hole 305a formed in the sub plate 305 and the determination region F hole 310e formed in the base plate portion 304 communicate with each other in the front-rear direction.
Since the other points of the medal selector 301 are the same as those of the medal selector 201, description thereof is omitted.

本変形例では、判定領域A1〜A4,B1〜B4,C1,C2,D1〜D4,及びFのそれぞれの対応する位置に、孔(判定領域AB孔310b,判定領域C孔310c,判定領域D310d孔及び判定領域F孔310e,305a)を設けた。したがって、メダルカウント回路246が行うメダル位置検出処理において用いられる背景グレースケール画像データ(メダルの画像が含まれていないグレースケール画像データ)の各判定領域に対応する位置の輝度の値が、これらの孔を設けていない場合に比べて、より低い値(光源用のLED233の光が孔を通過することでCMOSイメージセンサ232に反射しないため)となる。このため、メダルレール310の表面に近い輝度のメダルが使用されても、背景グレースケール画像データの各判定領域における輝度と、処理の対象であるグレースケール画像データにおけるメダルの画像の輝度との差分を算出できる(例えば、メダルレール310の表面の輝度の値を50とした場合に、孔の部分の輝度の値が22であれば、差分として28の値が算出される)。したがって、メダル位置検出処理においてメダルレール310の表面に近い輝度のメダル(表面をブラック、グレー、ブラウン系の色に加工したメダルや、表面が劣化、又は、汚れて、光の反射が十分でないメダル等)を含む多様なメダルを正確に検出することができる。また、同様に、メダルカウント回路246が行うメダルエッジ検出処理の精度も高めることができる。すなわち、本変形例では、メダル位置検出処理を行うメダルカウント回路246は、物体有無検出手段を構成する。   In this modification, holes (determination area AB hole 310b, determination area C hole 310c, and determination area D310d are provided at positions corresponding to determination areas A1 to A4, B1 to B4, C1, C2, D1 to D4, and F, respectively. Holes and determination area F holes 310e, 305a) were provided. Therefore, the luminance value at the position corresponding to each determination area of the background grayscale image data (grayscale image data not including the medal image) used in the medal position detection process performed by the medal count circuit 246 is determined by these values. Compared with the case where no hole is provided, the value is lower (because the light of the LED 233 for the light source does not reflect to the CMOS image sensor 232 by passing through the hole). For this reason, even when a medal having a luminance close to the surface of the medal rail 310 is used, the difference between the luminance in each determination region of the background grayscale image data and the luminance of the medal image in the grayscale image data to be processed (For example, if the luminance value of the surface of the medal rail 310 is 50 and the luminance value of the hole portion is 22, the value of 28 is calculated as the difference). Therefore, in a medal position detection process, a medal having a brightness close to the surface of the medal rail 310 (a medal whose surface is processed into black, gray, or brown colors, or a medal whose surface is deteriorated or dirty and does not reflect light sufficiently) Etc.) can be accurately detected. Similarly, the accuracy of the medal edge detection process performed by the medal count circuit 246 can be improved. That is, in this modification, the medal count circuit 246 that performs the medal position detection process constitutes an object presence / absence detection means.

なお、メダルレール310における図22〜図24に示す判定領域Eに対応する位置に、同形状の孔を設けてもよい。また、本変形例のその他の点については、上記の実施形態と同様のため、説明を省略する。   In the medal rail 310, holes having the same shape may be provided at positions corresponding to the determination area E shown in FIGS. Further, since other points of the present modification are the same as those of the above-described embodiment, description thereof is omitted.

<変形例2>
次に、変形例2の遊技機について、図38及び図39を参照して説明する。
図38は、変形例2の遊技機におけるメダルセレクタの回路構成例を示すブロック図である。また、図39は、変形例2の遊技機における制御LSIの回路構成例を示すブロック図である。
なお、変形例2に係る遊技機についての以下の説明において、上述した実施形態におけるパチスロ1と共通する構成や機能については、説明を省略する。
<Modification 2>
Next, a gaming machine according to Modification 2 will be described with reference to FIGS.
FIG. 38 is a block diagram showing a circuit configuration example of the medal selector in the gaming machine of the second modification. FIG. 39 is a block diagram showing a circuit configuration example of a control LSI in the gaming machine of the second modification.
In the following description of the gaming machine according to the modified example 2, the description of the configuration and functions common to the pachislot machine 1 in the above-described embodiment will be omitted.

図38及び図39に示すように、変形例2のメダルセレクタ401における制御LSI234とメダルソレノイド208とは電気的に接続されている。したがって、制御LSI234は、メダルソレノイド208をON状態又はOFF状態に設定することができる。具体的には、制御LSI234は、GPIO250を介して、GPIO250に割り付けられた出力PORTから、メダルソレノイド208をON状態又はOFF状態に設定する制御信号をメダルソレノイド208に出力する。   As shown in FIGS. 38 and 39, the control LSI 234 and the medal solenoid 208 in the medal selector 401 of the second modification are electrically connected. Therefore, the control LSI 234 can set the medal solenoid 208 to the ON state or the OFF state. Specifically, the control LSI 234 outputs a control signal for setting the medal solenoid 208 to the ON state or the OFF state to the medal solenoid 208 from the output PORT assigned to the GPIO 250 via the GPIO 250.

上記実施形態では、刻印判定処理において、制御LSI234のホストコントローラ241は、メダルカウント回路246がメダルレール210上を「メダルが通過した」と判定したことを契機に、該判定時から所定時間前の(すなわち、所定フレーム前の)縮小画像データを用いて、前処理を行うよう、画像認識DSP回路に指示する態様を説明した。すなわち、制御LSI234が、すでに通過したメダルについて事後的に刻印判定処理を行う態様を説明した。しかし、本変形例における制御LSI234は同様の刻印判定処理を行うが、リアルタイムでメダルレール210上を移動する物体について刻印判定処理を行う点が上記実施形態とは異なる。なお、以下では、メダルセレクタ401のメダルセレクタ201と共通する内容については、その説明を省略する。   In the above embodiment, in the marking determination process, the host controller 241 of the control LSI 234 triggers that the medal count circuit 246 determines that “the medal has passed” on the medal rail 210, and a predetermined time before the determination. A mode has been described in which the image recognition DSP circuit is instructed to perform preprocessing using reduced image data (that is, before a predetermined frame). That is, a mode has been described in which the control LSI 234 performs post-marking determination processing on medals that have already passed. However, the control LSI 234 in the present modification performs the same marking determination process, but differs from the above embodiment in that the marking determination process is performed on an object moving on the medal rail 210 in real time. In the following, description of the contents common to the medal selector 201 of the medal selector 401 is omitted.

具体的には、本変形例におけるメダルセレクタ401のホストコントローラ241は、魚眼補正スケーラ回路248が、縮小画像データを作成して、SRAM243に記憶させると、当該記憶させた縮小画像データに対して、刻印判定処理における円領域検出処理以降の処理の実行を画像認識DSP回路242及び画像認識アクセラレータ回路249に指示する。なお、円領域検出処理において、円領域が抽出できなかった場合は、刻印判定処理における以降の処理は省略される。   Specifically, when the fisheye correction scaler circuit 248 creates reduced image data and stores the reduced image data in the SRAM 243, the host controller 241 of the medal selector 401 in the present modification example applies to the stored reduced image data. The image recognition DSP circuit 242 and the image recognition accelerator circuit 249 are instructed to execute the processes after the circular area detection process in the marking determination process. In the circular area detection process, when the circular area cannot be extracted, the subsequent processes in the marking determination process are omitted.

このようにすることで、本変形例では、メダルレール210上を移動する物体が、メダルレール210の上露出孔219又は下露出孔220(図8参照)に達する前に、画像認識DSP回路242は、この物体に対する刻印判定処理の判定結果として、勾配平均判定結果及びHOG判定結果をSRAM243に記憶させることができる。また、ホストコントローラ241は、画像認識DSP回路242からの刻印判定終了割込信号に応じて、SRAM243に記憶されている刻印判定処理の判定結果として、勾配平均判定結果及びHOG判定結果を取得することができる。   In this way, in this modification, the image recognition DSP circuit 242 before the object moving on the medal rail 210 reaches the upper exposed hole 219 or the lower exposed hole 220 (see FIG. 8) of the medal rail 210. Can store the gradient average determination result and the HOG determination result in the SRAM 243 as the determination result of the marking determination process for this object. In addition, the host controller 241 acquires the gradient average determination result and the HOG determination result as the determination result of the stamp determination process stored in the SRAM 243 in response to the stamp determination end interrupt signal from the image recognition DSP circuit 242. Can do.

勾配平均判定結果及びHOG判定結果を取得したホストコントローラ241は、取得した勾配平均判定結果として「否」が記憶されている場合、又は、HOG判定結果として「否」が記憶されている場合、メダルソレノイド208をOFF状態に設定する制御信号をメダルソレノイド208に出力する。この場合、判定対象の物体を、上露出孔219から突出するアフタメダルプレッシャ218、又は、下露出孔220から突出するメダルストッパ部227に押し出させ、キャンセルシュータ206に向けて排出させることができる。   The host controller 241 that acquired the gradient average determination result and the HOG determination result stores a medal when “No” is stored as the acquired gradient average determination result or when “No” is stored as the HOG determination result. A control signal for setting the solenoid 208 to the OFF state is output to the medal solenoid 208. In this case, the object to be determined can be pushed out by the after medal pressure 218 protruding from the upper exposure hole 219 or the medal stopper 227 protruding from the lower exposure hole 220 and discharged toward the cancel shooter 206.

また、本変形例におけるメダルセレクタ401のホストコントローラ241は、色判定割込信号が入力される毎に、SRAM243に記憶されている最新の色判定処理の判定結果を取得し、色判定処理の判定結果に応じて、メダルソレノイド208をON状態又はOFF状態に設定する制御信号をメダルソレノイド208に出力する。   Further, the host controller 241 of the medal selector 401 in this modification example obtains the latest color determination processing determination result stored in the SRAM 243 each time a color determination interrupt signal is input, and determines the color determination processing. Depending on the result, a control signal for setting the medal solenoid 208 to the ON state or the OFF state is output to the medal solenoid 208.

このため、本変形例では、メダルレール210上を移動する物体が、メダルレール210の上露出孔219又は下露出孔220(図8参照)に達する前に、この物体に対する色判定処理の判定結果に応じて、メダルソレノイド208をON状態又はOFF状態に設定することができる。   For this reason, in this modification, before the object moving on the medal rail 210 reaches the upper exposed hole 219 or the lower exposed hole 220 (see FIG. 8) of the medal rail 210, the determination result of the color determination process for this object Accordingly, the medal solenoid 208 can be set to an ON state or an OFF state.

具体的には、ホストコントローラ241は、取得した閾値判定処理の判定結果として「閾値判定不可」が記憶されている場合、又は、色判定結果として「否」が記憶されている場合、メダルソレノイド208をOFF状態に設定する制御信号をメダルソレノイド208に出力する。この場合、判定対象の物体を、上露出孔219から突出するアフタメダルプレッシャ218、又は、下露出孔220から突出するメダルストッパ部227に押し出させ、キャンセルシュータ206に向けて排出させることができる。   Specifically, the host controller 241 stores the medal solenoid 208 when “threshold determination impossible” is stored as the determination result of the acquired threshold determination processing, or when “no” is stored as the color determination result. Is output to the medal solenoid 208. In this case, the object to be determined can be pushed out by the after medal pressure 218 protruding from the upper exposure hole 219 or the medal stopper 227 protruding from the lower exposure hole 220 and discharged toward the cancel shooter 206.

一方、閾値判定処理の判定結果として「閾値判定不可」が記憶されておらず、色判定結果として「可」が記憶されている場合で、且つ、取得した勾配平均判定結果及びHOG判定結果として「可」が記憶されている場合、ホストコントローラ241は、メダルソレノイド208の状態がON状態のまま維持されるようにする。この場合、判定対象の物体はホッパー装置51に案内される。   On the other hand, “threshold determination impossible” is not stored as the determination result of the threshold determination process, and “possible” is stored as the color determination result, and the acquired gradient average determination result and HOG determination result are “ When “possible” is stored, the host controller 241 keeps the medal solenoid 208 in the ON state. In this case, the object to be determined is guided to the hopper device 51.

変形例におけるメダルセレクタ401のホストコントローラ241は、SRAM243に記憶させた縮小画像データに対して行った円領域検出処理において円領域が検出できなくなったとき、メダルソレノイド208をON状態に設定する制御信号をメダルソレノイド208に出力する。このようにすることで、次に投入された物体が正規のメダルの場合に、このメダルをホッパー装置51に適切に導くことができる。すなわち、メダルソレノイド208は、セレクトプレート207を正規のメダルをホッパー装置51に導くガイド位置、又は、キャンセルシュータ206に向けて排出する排出位置に配置する駆動手段を構成し、制御LSI234は、メダルソレノイド208の駆動を制御する駆動制御手段を構成する。   The host controller 241 of the medal selector 401 in the modification example is a control signal for setting the medal solenoid 208 to the ON state when the circle area cannot be detected in the circle area detection process performed on the reduced image data stored in the SRAM 243. Is output to the medal solenoid 208. In this way, when the next thrown object is a regular medal, this medal can be appropriately guided to the hopper device 51. That is, the medal solenoid 208 constitutes drive means for arranging the select plate 207 at a guide position for guiding a regular medal to the hopper device 51 or a discharge position for discharging the select plate 207 toward the cancel shooter 206. The control LSI 234 A drive control means for controlling the drive of 208 is configured.

また、本変形例におけるメダルセレクタ401のホストコントローラ241は、所定の条件が成立すると、GPIO250のメダル判定出力PORTから、刻印判定処理と色判定処理に係るメダル異常信号を、ドア中継端子板68を介して、主制御基板71に出力する。上記所定の出力条件は、適宜設定可能である。例えば、SRAM243に、本変形例の刻印判定処理及び色判定処理の結果に基づいて、メダルソレノイド208がON状態からOFF状態に設定された回数の値を記憶する領域を設ける。また、ホストコントローラ241は、メダルソレノイド208をON状態からOFF状態に設定する毎に、この領域の値に「1」を加算する。そして、ホストコントローラ241は、記憶された当該値が所定値、例えば「10」に達した場合に、メダル異常信号を主制御基板71に出力する。すなわち、制御LSI234のホストコントローラ241は、エラー通知手段を構成する。   Further, the host controller 241 of the medal selector 401 in this modification example outputs a medal abnormality signal related to the marking determination process and the color determination process from the medal determination output PORT of the GPIO 250 to the door relay terminal board 68 when a predetermined condition is satisfied. To the main control board 71. The predetermined output condition can be set as appropriate. For example, the SRAM 243 is provided with an area for storing the value of the number of times that the medal solenoid 208 is set from the ON state to the OFF state based on the results of the marking determination process and the color determination process of the present modification. The host controller 241 adds “1” to the value in this area every time the medal solenoid 208 is set from the ON state to the OFF state. Then, the host controller 241 outputs a medal abnormality signal to the main control board 71 when the stored value reaches a predetermined value, for example, “10”. That is, the host controller 241 of the control LSI 234 constitutes an error notification unit.

当該領域に記憶された回数の値は、電源投入時、又は、電源投入後に初期化スイッチ(不図示)が押下されたときに、クリアされる。また、所定時間、例えば1時間、が経過する毎にクリアされる。なお、クリアの条件は適宜設定可能である。   The value of the number of times stored in the area is cleared when the power is turned on or when an initialization switch (not shown) is pressed after the power is turned on. Further, it is cleared every time a predetermined time, for example, 1 hour elapses. The clear condition can be set as appropriate.

本変形例において、主制御回路91(主制御基板71)は、所定の周期でメダルセレクタにメダル投入信号を出力する。具体的には、主制御回路91は、パチスロ1がメダルを投入可能なメダル投入許可状態ではないとき、又は、メダルセレクタ401からメダル異常信号が出力されたとき、投入不可の内容のメダル投入信号を、メダルセレクタ401へ出力する。なお、メダルセレクタ401から出力されるメダル異常信号には、上述の刻印判定処理及び色判定処理の結果に基づいて、メダルソレノイド208がON状態からOFF状態に設定された回数の値が所定値に達した場合に出力されたメダル異常信号の他、カウント処理に係る判定結果が「異常が発生した」であったことに基づくメダル異常信号も含まれる。   In this modification, the main control circuit 91 (main control board 71) outputs a medal insertion signal to the medal selector at a predetermined cycle. Specifically, when the pachislot machine 1 is not in a medal insertion permission state in which the pachislot 1 can insert medals, or when a medal abnormality signal is output from the medal selector 401, a medal insertion signal with contents that cannot be inserted. Is output to the medal selector 401. In the medal abnormality signal output from the medal selector 401, the value of the number of times that the medal solenoid 208 is set from the ON state to the OFF state is set to a predetermined value based on the results of the above-described engraving determination processing and color determination processing. In addition to the medal abnormality signal output when it reaches, the medal abnormality signal based on the fact that the determination result related to the count processing is “abnormality has occurred” is also included.

ここで、パチスロ1がメダルを投入可能なメダル投入許可状態ではないときとは、例えば、単位遊技においてスタートレバー23が遊技者により操作された後、また、クレジットカウンタが最大値(例えば、50)のとき、である。   Here, when the pachislot 1 is not in the medal insertion permission state where the medal can be inserted, for example, after the start lever 23 is operated by the player in the unit game, the credit counter is set to the maximum value (for example, 50). At the time.

主制御回路91から投入不可の内容のメダル投入信号が出力されると、メダルセレクタ401のホストコントローラ241は、メダルソレノイド208をOFF状態に設定する。すなわち、本変形例では、ホストコントローラ241は、色判定処理の判定結果が「閾値判定不可」又は「否」のとき、及び、刻印判定処理の判定結果が「否」のとき、並びに、主制御回路91から投入不可の内容のメダル投入信号が出力されたときに、メダルソレノイド208をOFF状態に設定する。なお、カウント処理の結果が「異常が発生した」である場合に出力されるメダル異常信号に基づく投入不可の内容のメダル投入信号を、ホストコントローラ241が検出したとき、メダルソレノイド208をOFF状態に設定することに代えて、「異常が発生した」というカウント処理の判定結果が出た時点で、ホストコントローラ241は、メダルソレノイド208をOFF状態に設定してもよい。   When a medal insertion signal with a content that cannot be inserted is output from the main control circuit 91, the host controller 241 of the medal selector 401 sets the medal solenoid 208 to an OFF state. In other words, in this modification, the host controller 241 determines that the determination result of the color determination process is “threshold determination impossible” or “no”, the determination result of the stamp determination process is “No”, and the main control. When a medal insertion signal having a content that cannot be inserted is output from the circuit 91, the medal solenoid 208 is set to an OFF state. It should be noted that when the host controller 241 detects a medal insertion signal that cannot be inserted based on the medal abnormality signal output when the result of the counting process is “abnormality has occurred”, the medal solenoid 208 is turned off. Instead of the setting, the host controller 241 may set the medal solenoid 208 to the OFF state when the determination result of the count process “abnormality has occurred” comes out.

また、主制御回路91は、パチスロ1がメダルを投入可能なメダル投入許可状態のときで、且つ、メダルセレクタ401からメダル異常信号が出力されていないとき、投入許可の内容のメダル投入信号を、メダルセレクタ401へ出力する。なお、ホストコントローラ241は、主制御回路91から投入許可の内容のメダル投入信号が出力されると、メダルソレノイド208をON状態に設定する。   Further, when the pachislot 1 is in a medal insertion permission state where the medal can be inserted and when the medal abnormality signal is not output from the medal selector 401, the main control circuit 91 outputs a medal insertion signal of the content of permission insertion. Output to medal selector 401. Note that the host controller 241 sets the medal solenoid 208 to the ON state when the medal insertion signal indicating the insertion permission is output from the main control circuit 91.

本変形例において、メダル異常信号が出力されたとき、主制御回路91は、メダルセレクタ401に何らかの異常(メダル詰まり等)が発生したか、又は、遊技機に正規の遊技媒体が用いられていると誤認させて遊技を行う不正行為があったことを検知する。そして、不正行為があった場合の種々の処理を行う。不正行為があった場合の種々の処理として、主制御回路91は、遊技を強制的に中断させ、7セグ表示器24にエラーコードを表示するとともに、副制御回路101にエラーコマンドを送信して、副制御回路101を介して、メダルセレクタ401に何らかの異常が発生したか、又は、不正行為があった旨を報知する(例えば、液晶表示装置11に、異常又は不正行為が発生した旨を表示する)。   In this modification, when a medal abnormality signal is output, the main control circuit 91 has some abnormality (medal clogging etc.) in the medal selector 401 or a regular game medium is used for the gaming machine. It is detected that there has been a fraudulent act of playing a game. Then, various processes are performed when there is an illegal act. As various processing in the case of an illegal act, the main control circuit 91 forcibly interrupts the game, displays an error code on the 7-segment display 24, and transmits an error command to the sub-control circuit 101. Then, the sub-control circuit 101 notifies the medal selector 401 that some abnormality has occurred or that there has been an illegal act (for example, the liquid crystal display device 11 displays that an abnormality or an illegal act has occurred). To do).

また、主制御回路91は、メダルセレクタ401に設ける初期化スイッチ(不図示)が押下されるまで、遊技が中断された状態、すなわち遊技不能の状態を維持する。また、投入不可の内容のメダル投入信号をメダルセレクタ401に出力し続ける。初期化スイッチが押下され、OFF状態からON状態となると、ホストコントローラ241は、メダル異常信号を、主制御回路91に出力することを終了する。メダル異常信号の出力が終了すると、主制御回路91は、上述した不正行為があった場合の種々の処理を終了し、遊技を中断した所から再開させる。
なお、本変形例のその他の点については、上記の実施形態と同様のため、説明を省略する。
Further, the main control circuit 91 maintains the state where the game is interrupted, that is, the state where the game is not possible, until an initialization switch (not shown) provided in the medal selector 401 is pressed. Further, the medal insertion signal with the contents that cannot be inserted is continuously output to the medal selector 401. When the initialization switch is pressed to change from the OFF state to the ON state, the host controller 241 ends outputting the medal abnormality signal to the main control circuit 91. When the output of the medal abnormality signal is completed, the main control circuit 91 ends the various processes in the case where there is an illegal act described above, and resumes the game from the place where it was interrupted.
Since other points of the present modification are the same as those in the above embodiment, description thereof is omitted.

本変形例のパチスロ1では、メダルレール210上を通過する物体について、リアルタイムで刻印判定処理及び色判定処理を行い、その結果に基づいて、メダルソレノイド208を動作させる。このため、判定対象の物体を、判定の結果に基づいて、適切に、キャンセルシュータ206、又は、ホッパー装置51に導くことができる。   In the pachislot machine 1 of this modification, the marking determination process and the color determination process are performed in real time on the object passing on the medal rail 210, and the medal solenoid 208 is operated based on the result. Therefore, the object to be determined can be appropriately guided to the cancel shooter 206 or the hopper device 51 based on the determination result.

また、ホストコントローラ241は、色判定処理及び刻印判定処理の結果に基づいてメダルソレノイド208をON状態からOFF状態に設定した回数の値が「10」に達した場合に、メダル異常信号を主制御基板71に出力する。そして、メダル異常信号が出力されたとき、主制御回路91(主制御基板71)は、遊技機に正規の遊技媒体が用いられていると誤認させて遊技を行う不正行為があったことを検知して、遊技を強制的に中断させることを含む不正行為があった場合の種々の処理を行う。これによって、正規メダルでない不正メダルが、短期間(本変形例では、上述のとおりON状態からOFF状態に設定した回数の値は1時間毎にクリアされる)に頻繁に用いられた場合に、主制御回路91は、不正行為があったことを検知することができ、また、遊技を不能とし、不正行為を伴う遊技の続行を阻止することができる。   In addition, the host controller 241 performs main control on the medal abnormality signal when the value of the number of times that the medal solenoid 208 is set from the ON state to the OFF state reaches “10” based on the results of the color determination process and the marking determination process. Output to the substrate 71. When the medal abnormality signal is output, the main control circuit 91 (main control board 71) detects that the gaming machine has misconducted that the game machine is misidentified that a legitimate game medium is used. Then, various processes are performed when there is an illegal act including forcibly interrupting the game. As a result, when an illegal medal that is not a regular medal is frequently used in a short period of time (in this modification, the value of the number of times set from the ON state to the OFF state is cleared every hour), The main control circuit 91 can detect that an illegal act has occurred, disable the game, and prevent the game from being continued with the illegal action.

また、ホストコントローラ241は、色判定処理及び刻印判定処理の結果に基づいてメダルソレノイド208をON状態からOFF状態に設定した回数の値が「10」に達していない場合は、メダル異常信号を主制御基板71に出力しない。したがって、例えば、混入してしまった不正メダルを、遊技者が故意によらずパチスロ1に投入してしまった場合など、不正メダルが短期間に頻繁に用いられていない場合に、遊技不能となってしまうことを防止することができる。   Further, when the value of the number of times the medal solenoid 208 is set from the ON state to the OFF state based on the results of the color determination process and the marking determination process does not reach “10”, the host controller 241 outputs the medal abnormality signal as the main Does not output to the control board 71. Therefore, for example, when an illegal medal is not frequently used in a short period of time, such as when an illegal medal that has been mixed is unintentionally thrown into the pachislot 1, the game becomes impossible. Can be prevented.

<変形例3>
次に、変形例3の遊技機について、図40、図41及び図42を参照して説明する。
図40は、変形例3の遊技機が備える回路全体のブロック構成図である。また、図41は、変形例3の遊技機におけるメダルセレクタの回路構成例を示すブロック図である。また、図42は、変形例3の遊技機におけるメダルセレクタのダブルフォトセンサの設置位置を説明するための図である。
なお、変形例3に係る遊技機についての以下の説明において、上述した実施形態におけるパチスロ1と共通する構成や機能については、説明を省略する。
<Modification 3>
Next, a gaming machine of Modification 3 will be described with reference to FIG. 40, FIG. 41 and FIG.
FIG. 40 is a block configuration diagram of the entire circuit provided in the gaming machine of the third modification. FIG. 41 is a block diagram showing a circuit configuration example of the medal selector in the gaming machine of the third modification. FIG. 42 is a view for explaining the installation position of the double photo sensor of the medal selector in the gaming machine of the third modification.
In the following description of the gaming machine according to the modified example 3, the description of the configuration and functions common to the pachislot machine 1 in the above-described embodiment will be omitted.

図40に示すように、メダルセレクタ501は、上述したメダルセレクタ201とは異なり、ドア中継端子板68を介して、主制御基板71に接続されているだけでなく、副中継基板61を介して、副制御基板72にも接続されている。   As shown in FIG. 40, unlike the medal selector 201 described above, the medal selector 501 is not only connected to the main control board 71 via the door relay terminal board 68 but also via the sub-relay board 61. The sub-control board 72 is also connected.

図41に示すように、本変形例では、上述したメダルセレクタ201と同様に、メダルセレクタ501のメダルソレノイド208は、ドア中継端子板68を介して、主制御基板71に接続されている。したがって、主制御基板71で構成される主制御回路91が、メダルソレノイド208をON状態又はOFF状態に設定することができる。   As shown in FIG. 41, in this modified example, the medal solenoid 208 of the medal selector 501 is connected to the main control board 71 via the door relay terminal plate 68 as in the case of the medal selector 201 described above. Therefore, the main control circuit 91 configured by the main control board 71 can set the medal solenoid 208 to the ON state or the OFF state.

また、図41及び図42に示すように、メダルセレクタ501は、メダルセレクタ201が備える各構成要素に加えて、第1フォトセンサ503と第2フォトセンサ504からなるダブルフォトセンサ502を備えている。ダブルフォトセンサ502は、ドア中継端子板68を介して、主制御基板71に接続されている。   As shown in FIGS. 41 and 42, the medal selector 501 includes a double photosensor 502 including a first photosensor 503 and a second photosensor 504 in addition to the components included in the medal selector 201. . The double photo sensor 502 is connected to the main control board 71 via the door relay terminal board 68.

図42に示すように、第1フォトセンサ503は、メダルセレクタ501のベース板部204におけるメダル出口部204cの付近に設けられている。第1フォトセンサ503は、ベース板部204のメダルレール210上に埋め込まれたフォトダイオード(不図示)と、このフォトダイオードに光(赤外線光)を照射する発光体(不図示)と、を有する。フォトダイオードと発光体は、メダルの厚み以上離れて対向しており、セレクトプレート207がガイド位置にあるときに、メダルレール210上を移動するメダルは、フォトダイオードと発光体との間を通過可能となっている。なお、図42では、メダルセレクタ501のサブプレート205やキャンセルシュータ206(図8参照)などの図示を省略している。   As shown in FIG. 42, the first photosensor 503 is provided in the vicinity of the medal outlet portion 204c in the base plate portion 204 of the medal selector 501. The first photosensor 503 includes a photodiode (not shown) embedded on the medal rail 210 of the base plate portion 204, and a light emitter (not shown) that irradiates light (infrared light) to the photodiode. . The photodiode and the light emitter face each other more than the thickness of the medal. When the select plate 207 is at the guide position, the medal moving on the medal rail 210 can pass between the photodiode and the light emitter. It has become. In FIG. 42, illustration of the sub plate 205 and the cancel shooter 206 (see FIG. 8) of the medal selector 501 is omitted.

発光体は所定光量の光を常に発光する。フォトダイオードが発光体から所定光量以上の光を受光すると、第1フォトセンサ503は、ハイレベルの信号を出力する。一方、フォトダイオードが受光する光の量が所定光量に満たなくなると、第1フォトセンサ503は、ローレベルの信号(メダル検知信号)を出力する。したがって、メダルがフォトダイオードと発光体との間を通過する際に発光体の光を遮ると、第1フォトセンサ503は、メダル検知信号を出力する。   The light emitter always emits a predetermined amount of light. When the photodiode receives more than a predetermined amount of light from the light emitter, the first photosensor 503 outputs a high level signal. On the other hand, when the amount of light received by the photodiode is less than the predetermined light amount, the first photosensor 503 outputs a low level signal (medal detection signal). Therefore, when the medal blocks light from the light emitter when passing between the photodiode and the light emitter, the first photosensor 503 outputs a medal detection signal.

第2フォトセンサ504は、メダルセレクタ501のベース板部204におけるメダル出口部204cの付近で、且つ、第1フォトセンサ503の近傍に、第1フォトセンサ503よりも、メダルレール210上を移動するメダルの移動方向の下流側に、設けられている。なお、その他の点については、第1フォトセンサ503と同様のため、説明を省略する。   The second photosensor 504 moves on the medal rail 210 near the medal outlet 204c in the base plate portion 204 of the medal selector 501 and closer to the first photosensor 503 than the first photosensor 503. It is provided downstream in the movement direction of medals. Since other points are the same as those of the first photosensor 503, description thereof is omitted.

上述したように第1フォトセンサ503はメダル出口部204cの付近に設けられ、第2フォトセンサ504は第1フォトセンサ503よりもメダルレール210上の下流に設けられている。このため、第1フォトセンサ503及び第2フォトセンサ504は、セレクトプレート207がガイド位置にあり、メダル出口部204c(図8参照)側へ移動するメダルは検知するが、セレクトプレート207が排出位置にあり、メダルシュート202(図6参照)に案内されるメダルは検知しない。   As described above, the first photosensor 503 is provided in the vicinity of the medal outlet portion 204c, and the second photosensor 504 is provided downstream of the medal rail 210 with respect to the first photosensor 503. Therefore, in the first photo sensor 503 and the second photo sensor 504, the select plate 207 is in the guide position, and the medal moving to the medal outlet 204c (see FIG. 8) side is detected, but the select plate 207 is in the discharge position. The medal guided to the medal chute 202 (see FIG. 6) is not detected.

本変形例では、第1フォトセンサ503及び第2フォトセンサ504から出力されたメダル検知信号は、ドア中継端子板68を介して、主制御基板71(主制御回路91)に入力される。主制御基板71のメインCPU93(図15参照)が、第1フォトセンサ503から入力されたメダル検知信号を検出してから、所定時間内に、第2フォトセンサ504から入力されたメダル検知信号を検出すると、投入されたメダルの枚数をメインCPU93が計数するために設けられたカウンタである投入枚数カウンタの値に1加算する。なお、投入枚数カウンタの値が最大値(例えば、3)の場合は、クレジットされているメダルの枚数をメインCPU93が計数するために設けられたカウンタであるクレジットカウンタの値に1加算する。   In this modification, the medal detection signals output from the first photosensor 503 and the second photosensor 504 are input to the main control board 71 (main control circuit 91) via the door relay terminal board 68. The main CPU 93 (see FIG. 15) of the main control board 71 detects the medal detection signal input from the first photosensor 503, and then receives the medal detection signal input from the second photosensor 504 within a predetermined time. When detected, the number of inserted medals is incremented by 1 to the value of the inserted number counter which is a counter provided for the main CPU 93 to count. When the value of the inserted number counter is the maximum value (for example, 3), 1 is added to the value of a credit counter that is a counter provided for the main CPU 93 to count the number of credited medals.

クレジットカウンタが最大値(例えば、50)の場合は、主制御回路91は、メダルセレクタ501のメダルソレノイド208をOFF状態に設定する。これによって、セレクトプレート207(図8参照)が「排出位置」に位置付けされ、メダルが投入不可となり、クレジットカウンタが最大値となった後で投入されたメダルをメダルシュート202(図6参照)に案内してメダル払出口32(図2参照)からメダルトレイユニット34に排出する。   When the credit counter is the maximum value (for example, 50), the main control circuit 91 sets the medal solenoid 208 of the medal selector 501 to the OFF state. As a result, the select plate 207 (see FIG. 8) is positioned at the “discharge position”, the medal cannot be inserted, and the medal inserted after the credit counter reaches the maximum value is placed in the medal chute 202 (see FIG. 6). Guide and discharge from the medal payout port 32 (see FIG. 2) to the medal tray unit 34.

なお、主制御回路91は、単位遊技においてスタートレバー23が遊技者により操作された後においても、メダルセレクタ501のメダルソレノイド208をOFF状態に設定する。   The main control circuit 91 sets the medal solenoid 208 of the medal selector 501 in the OFF state even after the start lever 23 is operated by the player in the unit game.

また、メインCPU93が、第2フォトセンサ504から入力されたメダル検知信号、第1フォトセンサ503から入力されたメダル検知信号の順で、メダル検知信号を受信した場合、メダルがメダルレール210上を適正な移動方向とは異なる(逆の)移動方向で移動する、いわゆる逆行エラーが発生したことを検知する。   Further, when the main CPU 93 receives the medal detection signal in the order of the medal detection signal input from the second photosensor 504 and the medal detection signal input from the first photosensor 503, the medal moves on the medal rail 210. It is detected that a so-called retrograde error has occurred in which the movement direction is different (reverse) from the proper movement direction.

また、メインCPU93が、メダル検知信号を検出してから一定時間を経過しても、第1フォトセンサ503、第2フォトセンサ504のいずれか、若しくは両方から、メダル検知信号が出力され続けている場合や、第1フォトセンサ503からのメダル検知信号を検出してから一定時間経過しても、第2フォトセンサ504からのメダル検知信号を検出できない場合、メダルがメダルレール210上で留まる、いわゆるメダル詰まりエラーが発生したことを検知する。   Further, even if a predetermined time has elapsed after the main CPU 93 detects the medal detection signal, the medal detection signal is continuously output from either or both of the first photosensor 503 and the second photosensor 504. If the medal detection signal from the second photosensor 504 cannot be detected even after a lapse of a certain time from the detection of the medal detection signal from the first photosensor 503, the medal stays on the medal rail 210. Detects that a medal clogging error has occurred.

主制御回路91(メインCPU93)は、逆行エラーやメダル詰まりエラーを検知すると、遊技を強制的に中断させ、7セグ表示器24(図2参照)に、検知したエラーの内容に応じたエラーコードを表示するとともに、副制御回路101に検知したエラーの内容に応じたエラーコマンドを送信して、副制御回路101を介して、エラーを報知する。例えば、液晶表示装置11にエラーの内容を示すエラー画面を表示したり、副制御回路101が表示を制御する副7セグ表示器(不図示)を設ける場合は、この副7セグ表示器に所定の表示をしたりする。   When the main control circuit 91 (main CPU 93) detects a retrograde error or a medal jamming error, the main control circuit 91 (main CPU 93) forcibly interrupts the game and causes the 7-segment display 24 (see FIG. 2) to display an error code corresponding to the detected error content. Is displayed, and an error command corresponding to the detected error content is transmitted to the sub-control circuit 101 to notify the error via the sub-control circuit 101. For example, when an error screen indicating the content of the error is displayed on the liquid crystal display device 11 or when a sub 7-segment display (not shown) for controlling the display is provided by the sub-control circuit 101, a predetermined value is provided on the sub 7-segment display Is displayed.

図41に示すように、メダルセレクタ501におけるカメラユニット209の制御LSI234は、副中継基板61を介して、副制御基板72に接続されている。したがって、本変形例では、制御LSI234のホストコントローラ241から出力される各種信号、すなわちメダルカウント信号やメダル異常信号は、副制御基板72で構成される副制御回路101(のサブCPU102)が検出可能となっている。   As shown in FIG. 41, the control LSI 234 of the camera unit 209 in the medal selector 501 is connected to the sub control board 72 via the sub relay board 61. Therefore, in this modification, various signals output from the host controller 241 of the control LSI 234, that is, a medal count signal and a medal abnormality signal can be detected by the sub control circuit 101 (the sub CPU 102) configured by the sub control board 72. It has become.

副制御回路101は、メダルカウント信号やメダル異常信号を検出すると、検出日時及び検出内容を、サブRAM103のバックアップ領域に記憶させる。サブRAM103に記憶されたメダル異常信号に係る情報は、遊技機の管理者(例えば、遊技ホールの従業員)が設定用鍵型スイッチ56(図6参照)を操作することで液晶表示装置11に表示されるホールメニュー画面(不図示)において、エラー履歴メニューが選択された場合に、参照可能となっている。   When the sub control circuit 101 detects the medal count signal or the medal abnormality signal, the sub control circuit 101 stores the detection date and time and the detected contents in the backup area of the sub RAM 103. Information related to the medal abnormality signal stored in the sub-RAM 103 is stored in the liquid crystal display device 11 by operating the setting key switch 56 (see FIG. 6) by the administrator of the gaming machine (for example, an employee of the gaming hall). When the error history menu is selected on the displayed hall menu screen (not shown), it can be referred to.

設定用鍵型スイッチ56が操作されると、メインCPU93は所定のコマンドを出力し、サブCPU102はこの所定のコマンドを検出すると、液晶表示装置11にホールメニュー画面を表示する。ホールメニュー画面には、台座部12(図2参照)に設けられたセレクトボタン及びエンターボタン(不図示)の操作によって、選択可能な各種メニュー、日時設定変更メニューやエラー履歴メニュー、が表示されており、エラー履歴メニューが選択されると、副制御回路101は、サブRAM103に記憶されているメダルカウント信号やメダル異常信号の検出日時及び検出内容を、液晶表示装置11に表示させる。例えば、液晶表示装置11には、「2016年01月09日11時10分20秒 メダル異常信号」と表示される。   When the setting key switch 56 is operated, the main CPU 93 outputs a predetermined command, and when the sub CPU 102 detects this predetermined command, the hall menu screen is displayed on the liquid crystal display device 11. The hall menu screen displays various menus that can be selected by operating the select button and enter button (not shown) provided on the pedestal 12 (see FIG. 2), a date setting change menu, and an error history menu. When the error history menu is selected, the sub control circuit 101 causes the liquid crystal display device 11 to display the detection date / time and detection contents of the medal count signal and the medal abnormality signal stored in the sub RAM 103. For example, on the liquid crystal display device 11, “2016/01/09 11:10:20 medal abnormality signal” is displayed.

また、上述したように、色判定処理の判定結果に基づくメダル異常信号、刻印判定処理の判定結果に基づくメダル異常信号、AE補正処理に基づくメダル異常信号、カウント処理の判定結果が「異常が発生した」であることに基づくメダル異常信号、それぞれについて、別々に出力PORTを設けた場合は、例えば、「2016年01月01日11時10分20秒 色判定異常」、「2016年01月01日12時00分05秒 刻印判定異常」、「2016年01月02日10時01分05秒 AE補正異常」、「2016年01月02日11時11分05秒 カウント処理異常」と、表示される。すなわち、サブRAM103に記憶されているメダル異常信号に係る情報が、メダル異常信号の出力された日時と出力された原因とを、確認可能な態様で表示される。   Further, as described above, the medal abnormality signal based on the determination result of the color determination process, the medal abnormality signal based on the determination result of the engraving determination process, the medal abnormality signal based on the AE correction process, and the determination result of the count process indicate that “abnormality has occurred. When the output PORT is provided separately for each of the medal abnormality signals based on the fact that “they have been performed”, for example, “01/01/2016 11:10:20 color determination abnormality”, “2016/01/01 12:00:05 Date stamping abnormality ”,“ 2016/01/02 10:01:05 AE correction error ”,“ 2016/01/02 11:11:05 Count processing error ” Is done. That is, the information related to the medal abnormality signal stored in the sub RAM 103 is displayed in a manner in which the date and time when the medal abnormality signal is output and the cause of the output can be confirmed.

また、副制御回路101が表示を制御する副7セグ表示器(不図示)を設ける場合は、副制御回路101は、メダル異常信号を検出すると、この副7セグ表示器に所定の表示(例えば「CC」)を表示させる。また、上述したように、色判定処理の判定結果に基づくメダル異常信号、刻印判定処理の判定結果に基づくメダル異常信号、AE補正処理に基づくメダル異常信号、カウント処理の判定結果が「異常が発生した」であることに基づくメダル異常信号、それぞれについて、別々に出力PORTを設けた場合は、この副7セグ表示器に、メダル異常信号が出力されたこと、又は、メダル異常信号が出力された原因を確認可能な文字や記号(例えば、色判定処理の判定結果に基づくメダル異常信号を検出した場合は「CE」、刻印判定処理の判定結果に基づくメダル異常信号を検出した場合は「KE」)を表示させてもよい。   Further, when the sub control circuit 101 is provided with a sub 7-segment display (not shown) for controlling the display, when the sub-control circuit 101 detects a medal abnormality signal, a predetermined display (for example, on the sub 7-segment display) “CC”) is displayed. Further, as described above, the medal abnormality signal based on the determination result of the color determination process, the medal abnormality signal based on the determination result of the engraving determination process, the medal abnormality signal based on the AE correction process, and the determination result of the count process indicate that “abnormality has occurred. If there is a separate output PORT for each of the medal abnormality signals based on the fact that the medal abnormality signal is output, the sub 7-segment display device outputs a medal abnormality signal or a medal abnormality signal. Characters and symbols whose cause can be confirmed (for example, “CE” when a medal abnormality signal based on the determination result of the color determination process is detected, and “KE” when a medal abnormality signal based on the determination result of the stamp determination process is detected) ) May be displayed.

本変形例では、主制御回路91が、クレジットカウンタが最大値(例えば、50)の場合、または、単位遊技においてスタートレバー23が遊技者により操作された後において、メダルセレクタ501のメダルソレノイド208をOFF状態に設定する。   In this modification, the main control circuit 91 controls the medal solenoid 208 of the medal selector 501 when the credit counter is the maximum value (for example, 50) or after the start lever 23 is operated by the player in the unit game. Set to OFF state.

また、投入されたメダルの重量が正規メダルの重量と異なる場合(正規メダルの重量よりも軽い場合)は、メダルがメダルプレッシャ213(図8参照)をパチスロ1の前方へ押圧して移動させることができず、メダルがガイド位置にあるセレクトプレート207とメダルプレッシャ213とで挟持されるので、正規メダルの重量と異なる重量のメダルを用いた不正行為を防止できる。また、メダルの外径が正規メダルの外径と異なる場合、例えば正規メダルよりも小径の場合、セレクトプレート207がガイド位置にあっても、メダルはセレクトプレート207に案内されず、メダルプレッシャ213に押し出され、キャンセルシュータ206に向けて排出されるので、正規メダルの外径と異なる外径のメダルを用いた不正行為を防止できる。   Further, when the weight of the inserted medal is different from the weight of the regular medal (when it is lighter than the weight of the regular medal), the medal presses the medal pressure 213 (see FIG. 8) and moves the pachislot 1 forward. Since the medal is held between the select plate 207 and the medal pressure 213 at the guide position, it is possible to prevent an illegal act using a medal having a weight different from the weight of the regular medal. Further, when the outer diameter of the medal is different from the outer diameter of the regular medal, for example, when the diameter is smaller than that of the regular medal, even if the select plate 207 is in the guide position, the medal is not guided to the select plate 207 and the medal pressure 213 is Since it is pushed out and discharged toward the cancel shooter 206, an illegal act using a medal having an outer diameter different from the outer diameter of the regular medal can be prevented.

また、正規メダルとは、色や刻印(模様)のみ異なるメダルを用いた不正行為が行われたことを、上述したようにホールメニュー画面でエラー履歴メニューを選択することで、また、副7セグ表示器の表示を確認することで、把握することができる。   Also, the regular medal means that an illegal act using a medal that differs only in color or inscription (pattern) is performed by selecting the error history menu on the hall menu screen as described above, This can be grasped by checking the display on the display.

ここで、正規メダルが投入されても、正規メダルが汚れていた場合や使用による摩耗で刻印や色が変化していた場合に、メダルセレクタ501からメダル異常信号が出力されることが考えられる。この場合、メダル異常信号の出力の結果、遊技が強制的に中止されてしまうと、遊技者にとっては正規メダルを投入しているのに遊技が中止されることになるので、遊技者に不快感を与える虞がある。本変形例では、副制御回路101がメダル異常信号を検出しても、主制御回路91は、遊技を中止させないので、遊技者に不快感を与えることを抑止できる。   Here, even if a regular medal is inserted, a medal abnormality signal may be output from the medal selector 501 when the regular medal is dirty or when the marking or color changes due to wear due to use. In this case, if the game is forcibly stopped as a result of the output of the medal abnormality signal, the player is discomforted because the game is stopped even though the regular medal is inserted. There is a risk of giving. In this modification, even if the sub-control circuit 101 detects a medal abnormality signal, the main control circuit 91 does not stop the game, so that it is possible to prevent the player from feeling uncomfortable.

また、上述したようにダブルフォトセンサ502から出力される信号に基づいて、主制御回路91が逆行エラーやメダル詰まりエラーを検知すると、主制御回路91は、遊技を強制的に中断させる。したがって、不正器具、を用いた不正行為を防止できる。   As described above, when the main control circuit 91 detects a retrograde error or a medal clogging error based on the signal output from the double photosensor 502, the main control circuit 91 forcibly interrupts the game. Therefore, it is possible to prevent an illegal act using an illegal instrument.

ここで、本変形例では、上述したように、主制御基板71(主制御回路91)のメインCPU93(図15参照)が、第1フォトセンサ503から入力されたメダル検知信号を検出してから、所定時間内に、第2フォトセンサ504から入力されたメダル検知信号を検出すると、投入されたメダルの枚数をメインCPU93が計数するために設けられたカウンタである投入枚数カウンタの値に1加算する。また、投入枚数カウンタの値が最大値(例えば、3)の場合は、クレジットされているメダルの枚数をメインCPU93が計数するために設けられたカウンタであるクレジットカウンタの値に1加算する。これに加えて、副制御回路101が、メダルセレクタ501から出力されたメダルカウント信号に基づいて、投入枚数カウンタ及びクレジットカウンタとは別に、サブRAM103上で、投入枚数やクレジットされているメダルの枚数を管理してもよい。   Here, in this modification, as described above, after the main CPU 93 (see FIG. 15) of the main control board 71 (main control circuit 91) detects the medal detection signal input from the first photosensor 503. When a medal detection signal input from the second photosensor 504 is detected within a predetermined time, 1 is added to the value of the inserted number counter which is a counter provided for the main CPU 93 to count the number of inserted medals. To do. Further, when the value of the inserted number counter is the maximum value (for example, 3), 1 is added to the value of the credit counter which is a counter provided for the main CPU 93 to count the number of credited medals. In addition to this, the sub control circuit 101, based on the medal count signal output from the medal selector 501, separately from the inserted number counter and the credit counter, the number of inserted medals and the number of credited medals on the sub RAM 103. May be managed.

また、上述した変形例2のメダルセレクタ401と同様に、リアルタイムでメダルレール210上を移動する物体について刻印判定処理を行ってもよい。
なお、メダルセレクタ501のその他の点については、メダルセレクタ201と同様のため、説明を省略する。
Further, similarly to the medal selector 401 of the second modification described above, the marking determination process may be performed on an object moving on the medal rail 210 in real time.
Since the other points of the medal selector 501 are the same as those of the medal selector 201, description thereof is omitted.

<変形例4>
次に、変形例4の遊技機について、図43を参照して説明する。
図43は、変形例4の遊技機におけるメダルセレクタの回路構成例を示すブロック図である。
なお、変形例4に係る遊技機についての以下の説明において、上述した実施形態におけるパチスロ1と共通する構成や機能については、説明を省略する。
<Modification 4>
Next, a gaming machine of Modification 4 will be described with reference to FIG.
FIG. 43 is a block diagram illustrating a circuit configuration example of the medal selector in the gaming machine of the fourth modification.
In the following description of the gaming machine according to the modification example 4, the description of the configuration and functions common to the pachislot machine 1 in the above-described embodiment will be omitted.

図43に示すように、本変形例のメダルセレクタ601では、上述した変形例2に係るメダルセレクタ401と同様に、制御LSI234とメダルソレノイド208とが電気的に接続されている。したがって、制御LSI234は、メダルソレノイド208をON状態又はOFF状態に設定することができる。
また、本変形例における制御LSI234は、上述した変形例2における制御LSI234と同様に、リアルタイムでメダルレール210上を移動する物体について刻印判定処理を行う。
As shown in FIG. 43, in the medal selector 601 of the present modification, the control LSI 234 and the medal solenoid 208 are electrically connected in the same manner as the medal selector 401 according to Modification 2 described above. Therefore, the control LSI 234 can set the medal solenoid 208 to the ON state or the OFF state.
Further, the control LSI 234 in this modification example performs the marking determination process on the object moving on the medal rail 210 in real time, as in the control LSI 234 in the modification example 2 described above.

すなわち、本変形例では、変形例2と同様に、メダルレール210上を移動する物体が、メダルレール210の上露出孔219又は下露出孔220に達する前に、制御LSI234の画像認識DSP回路242は、この物体に対する刻印判定処理の判定結果として、勾配平均判定結果及びHOG判定結果をSRAM243に記憶させる。また、制御LSI234のホストコントローラ241は、画像認識DSP回路242からの刻印判定終了割込信号に応じて、SRAM243に記憶されている刻印判定処理の判定結果として、勾配平均判定結果及びHOG判定結果を取得する。   That is, in the present modified example, as in the modified example 2, before the object moving on the medal rail 210 reaches the upper exposed hole 219 or the lower exposed hole 220 of the medal rail 210, the image recognition DSP circuit 242 of the control LSI 234. Stores the gradient average determination result and the HOG determination result in the SRAM 243 as the determination result of the marking determination process for this object. The host controller 241 of the control LSI 234 also uses the gradient average determination result and the HOG determination result as the determination result of the stamp determination process stored in the SRAM 243 in response to the stamp determination end interrupt signal from the image recognition DSP circuit 242. get.

勾配平均判定結果及びHOG判定結果を取得したホストコントローラ241は、取得した勾配平均判定結果として「否」が記憶されている場合、又は、HOG判定結果として「否」が記憶されている場合、メダルソレノイド208をOFF状態に設定する制御信号をメダルソレノイド208に出力する。この場合、判定対象の物体を、上露出孔219から突出するアフタメダルプレッシャ218、又は、下露出孔220から突出するメダルストッパ部227に押し出させ、キャンセルシュータ206に向けて排出させることができる。   The host controller 241 that acquired the gradient average determination result and the HOG determination result stores a medal when “No” is stored as the acquired gradient average determination result or when “No” is stored as the HOG determination result. A control signal for setting the solenoid 208 to the OFF state is output to the medal solenoid 208. In this case, the object to be determined can be pushed out by the after medal pressure 218 protruding from the upper exposure hole 219 or the medal stopper 227 protruding from the lower exposure hole 220 and discharged toward the cancel shooter 206.

また、ホストコントローラ241は、色判定割込信号が入力される毎に、SRAM243に記憶されている最新の色判定処理の判定結果を取得し、色判定処理の判定結果に応じて、メダルソレノイド208をON状態又はOFF状態に設定する制御信号をメダルソレノイド208に出力する。   The host controller 241 obtains the latest determination result of the color determination process stored in the SRAM 243 every time a color determination interrupt signal is input, and the medal solenoid 208 according to the determination result of the color determination process. Is output to the medal solenoid 208.

このため、メダルレール210上を移動する物体が、メダルレール210の上露出孔219又は下露出孔220(図8参照)に達する前に、この物体に対する色判定処理の判定結果に応じて、メダルソレノイド208をON状態又はOFF状態に設定することができる。   Therefore, before the object moving on the medal rail 210 reaches the upper exposed hole 219 or the lower exposed hole 220 (see FIG. 8) of the medal rail 210, the medal is determined according to the determination result of the color determining process for the object. The solenoid 208 can be set to an ON state or an OFF state.

具体的には、ホストコントローラ241は、取得した閾値判定処理の判定結果として「閾値判定不可」が記憶されている場合、又は、色判定結果として「否」が記憶されている場合、メダルソレノイド208をOFF状態に設定する制御信号をメダルソレノイド208に出力する。この場合、判定対象の物体を、上露出孔219から突出するアフタメダルプレッシャ218、又は、下露出孔220から突出するメダルストッパ部227に押し出させ、キャンセルシュータ206に向けて排出させることができる。   Specifically, the host controller 241 stores the medal solenoid 208 when “threshold determination impossible” is stored as the determination result of the acquired threshold determination processing, or when “no” is stored as the color determination result. Is output to the medal solenoid 208. In this case, the object to be determined can be pushed out by the after medal pressure 218 protruding from the upper exposure hole 219 or the medal stopper 227 protruding from the lower exposure hole 220 and discharged toward the cancel shooter 206.

また、ホストコントローラ241は、SRAM243に記憶されている直近のカウント処理に係る判定結果が「異常が発生した」である場合は、メダルソレノイド208をOFF状態に設定する制御信号をメダルソレノイド208に出力する。   In addition, when the determination result related to the latest count process stored in the SRAM 243 is “abnormal”, the host controller 241 outputs a control signal for setting the medal solenoid 208 to the OFF state to the medal solenoid 208. To do.

一方、SRAM243に記憶されている直近のカウント処理に係る判定結果が「異常が発生した」でなく、閾値判定処理の判定結果として「閾値判定不可」が記憶されておらず、色判定結果として「可」が記憶されている場合で、且つ、取得した勾配平均判定結果及びHOG判定結果として「可」が記憶されている場合、ホストコントローラ241は、メダルソレノイド208の状態がON状態のまま維持されるようにする。この場合、判定対象の物体はホッパー装置51に案内される。   On the other hand, the determination result related to the most recent count process stored in the SRAM 243 is not “abnormal”, and “threshold determination impossible” is not stored as the determination result of the threshold determination process. When “possible” is stored, and when “acceptable” is stored as the obtained gradient average determination result and HOG determination result, the host controller 241 maintains the medal solenoid 208 in the ON state. So that In this case, the object to be determined is guided to the hopper device 51.

また、本変形例におけるメダルセレクタ601のホストコントローラ241は、SRAM243に記憶させた縮小画像データに対して行った円領域検出処理において円領域が検出できなくなったとき、メダルソレノイド208をON状態に設定する制御信号をメダルソレノイド208に出力する。   Further, the host controller 241 of the medal selector 601 in the present modification sets the medal solenoid 208 to the ON state when the circle area cannot be detected in the circle area detection process performed on the reduced image data stored in the SRAM 243. The control signal to be output is output to the medal solenoid 208.

図43に示すように、メダルセレクタ601は、第1フォトセンサ503と第2フォトセンサ504からなるダブルフォトセンサ502を備えている。ダブルフォトセンサ502は、ドア中継端子板68を介して、主制御基板71に接続されている。なお、本変形例のダブルフォトセンサ502の構成及び機能、また、ダブルフォトセンサ502(の第1フォトセンサ503及び第2フォトセンサ504)から出力されるメダル検知信号に基づく、主制御回路91での投入枚数カウンタ及びクレジットカウンタの値の管理の態様については、変形例3と同様のため、ここでの説明は省略する。   As shown in FIG. 43, the medal selector 601 includes a double photosensor 502 including a first photosensor 503 and a second photosensor 504. The double photo sensor 502 is connected to the main control board 71 via the door relay terminal board 68. Note that the main control circuit 91 is based on the configuration and function of the double photosensor 502 of this modification and the medal detection signal output from the double photosensor 502 (the first photosensor 503 and the second photosensor 504). Since the manner of managing the values of the inserted number counter and the credit counter is the same as in the third modification, the description thereof is omitted here.

図43に示すように、メダルセレクタ601におけるカメラユニット209の制御LSI234は、副中継基板61を介して、副制御基板72に接続されている。したがって、本変形例では、メダルセレクタ601の制御LSI234におけるホストコントローラ241から出力される各種信号、すなわちメダルカウント信号やメダル異常信号、は、副制御基板72で構成される副制御回路101(のサブCPU102)が検出可能となっている。   As shown in FIG. 43, the control LSI 234 of the camera unit 209 in the medal selector 601 is connected to the sub control board 72 via the sub relay board 61. Therefore, in this modification, various signals output from the host controller 241 in the control LSI 234 of the medal selector 601, that is, a medal count signal and a medal abnormality signal, are sub-control circuits 101 (sub-components of the sub-control circuit board 72). CPU 102) can be detected.

副制御基板72で構成される副制御回路101は、メダルカウント信号やメダル異常信号を検出すると、検出日時及び検出内容を、サブRAM103のバックアップ領域に記憶させる。サブRAM103に記憶されたメダル異常信号に係る情報は、遊技機の管理者(例えば、遊技ホールの従業員)が設定用鍵型スイッチ56(図6参照)を操作することで液晶表示装置11に表示されるホールメニュー画面(不図示)において、エラー履歴メニューが選択された場合に、参照可能となっている。なお、エラー履歴メニューを選択するための操作やエラー履歴メニューにおけるサブRAM103に記憶されたメダル異常信号に係る情報の表示態様は、変形例3と同様のため、ここでの説明は省略する。   When the sub control circuit 101 configured by the sub control board 72 detects the medal count signal or the medal abnormality signal, the sub control circuit 101 stores the detection date and time and the detected contents in the backup area of the sub RAM 103. Information related to the medal abnormality signal stored in the sub-RAM 103 is stored in the liquid crystal display device 11 by operating the setting key switch 56 (see FIG. 6) by the administrator of the gaming machine (for example, an employee of the gaming hall). When the error history menu is selected on the displayed hall menu screen (not shown), it can be referred to. Note that the operation for selecting the error history menu and the display mode of the information related to the medal abnormality signal stored in the sub RAM 103 in the error history menu are the same as in the third modification, and thus the description thereof is omitted here.

本変形例における主制御基板71で構成される主制御回路91は、パチスロ1がメダルを投入可能なメダル投入許可状態ではないとき、例えば、単位遊技においてスタートレバー23が遊技者により操作された後、また、クレジットカウンタが最大値のときは、メダル投入不可の内容のメダル投入コマンドを副制御基板72で構成される副制御回路101に送信する。また、パチスロ1がメダルを投入可能なメダル投入許可状態のときは、投入許可の内容のメダル投入コマンドを副制御回路101に送信する。   When the pachislot 1 is not in a medal insertion permission state in which the medal can be inserted, for example, after the start lever 23 is operated by a player in a unit game, the main control circuit 91 configured by the main control board 71 in the present modification example. In addition, when the credit counter is at the maximum value, a medal insertion command indicating that the medal cannot be inserted is transmitted to the sub control circuit 101 configured by the sub control board 72. When the pachi-slot 1 is in a medal insertion permission state in which a medal can be inserted, a medal insertion command indicating the insertion permission is transmitted to the sub-control circuit 101.

副制御回路101は、主制御回路91から送信されたメダル投入コマンドを、ドア中継端子板68及び副中継基板61を介して、受信する。メダル投入コマンドを受信した副制御回路101は、受信したメダル投入コマンドと同内容の副メダル投入信号を出力する。副メダル投入信号は、副中継基板61を介して、メダルセレクタ601の制御LSI234が検出する。   The sub control circuit 101 receives the medal insertion command transmitted from the main control circuit 91 via the door relay terminal board 68 and the sub relay board 61. Receiving the medal insertion command, the sub control circuit 101 outputs a sub medal insertion signal having the same content as the received medal insertion command. The sub medal insertion signal is detected by the control LSI 234 of the medal selector 601 via the sub relay board 61.

副制御回路101から出力された投入不可の内容の副メダル投入信号を検出すると、制御LSI234のホストコントローラ241は、メダルソレノイド208をOFF状態に設定する。すなわち、本変形例では、ホストコントローラ241は、直近のカウント処理の結果が「異常が発生した」のとき、色判定処理の判定結果が「閾値判定不可」又は「否」のとき、及び、刻印判定処理の判定結果が「否」のとき、並びに、副制御回路101から出力された投入不可の内容の副メダル投入信号を検出したときに、メダルソレノイド208をOFF状態に設定する。   When detecting the sub medal insertion signal of the non-insertable content output from the sub control circuit 101, the host controller 241 of the control LSI 234 sets the medal solenoid 208 to the OFF state. In other words, in this modification, the host controller 241 determines that the most recent count processing result is “abnormal”, the color determination processing determination result is “threshold determination impossible” or “no”, and the marking is performed. When the determination result of the determination process is “No”, and when a sub medal insertion signal output from the sub-control circuit 101 and having a non-insertable content is detected, the medal solenoid 208 is set to an OFF state.

また、変形例3と同様に、主制御回路91は、ダブルフォトセンサ502から出力されるメダル検知信号に基づいて、逆行エラーやメダル詰まりエラーを検知し、これらのエラーが検知されたときは、遊技を強制的に終了させる。
なお、これらのエラーは、メダルセレクタ601(制御LSI234によるカウント処理等)で検知可能であるので、主制御回路91による逆行エラーやメダル詰まりエラーの検知に係る処理を省略してもよい。省略した場合は、逆行エラーやメダル詰まりエラーが発生した場合、副制御回路101にその旨(カウント処理の判定結果が「異常が発生した」に基づくメダル異常信号を検出した旨)を示す信号を出力させ、主制御回路91は、この信号を検出した場合に、逆行エラーやメダル詰まりエラーの発生を検知し、遊技を強制的に終了させる。
なお、メダルセレクタ601のその他の点については、変形例2で説明したメダルセレクタ401と同様のため、説明を省略する。
Similarly to the third modification, the main control circuit 91 detects a retrograde error or a medal clogging error based on the medal detection signal output from the double photo sensor 502, and when these errors are detected, Force the game to end.
Since these errors can be detected by the medal selector 601 (counting processing by the control LSI 234, etc.), the processing related to the detection of the retrograde error and the medal clogging error by the main control circuit 91 may be omitted. If omitted, when a retrograde error or a medal clogging error occurs, a signal indicating that (a medal abnormality signal is detected based on the result of the count process being “abnormal” has been detected) is sent to the sub-control circuit 101. When this signal is detected, the main control circuit 91 detects the occurrence of a retrograde error or a medal clogging error, and forcibly ends the game.
Since the other points of the medal selector 601 are the same as those of the medal selector 401 described in the second modification, the description thereof is omitted.

本変形例では、パチスロ1が上述したメダル投入許可状態でないとき、主制御回路91は、投入不可の内容のメダル投入コマンド送信し、当該メダル投入コマンドを受信した副制御回路101は、同内容の副メダル投入信号を出力する。そして、メダルセレクタ601の制御LSI234が投入不可の内容の副メダル投入信号を検出すると、メダルソレノイド208をOFF状態に設定し、メダルをキャンセルシュータ206に向けて排出させる。また、メダル投入許可状態であっても、メダルセレクタ601の制御LSI234は、カウント処理の判定結果が「異常が発生した」のとき、色判定処理の判定結果が「閾値判定不可」或いは「否」のとき、又は、刻印判定処理の結果が「否」のとき、はメダルソレノイド208をOFF状態に設定し、メダルをキャンセルシュータ206に向けて排出させる。したがって、投入されたメダルを適切にカウントできる。また、投入されたメダルを、キャンセルシュータ206、又は、ホッパー装置51に、適切に導くことができる。   In this modification, when the pachi-slot 1 is not in the medal insertion permission state described above, the main control circuit 91 transmits a medal insertion command with a content that cannot be inserted, and the sub control circuit 101 that has received the medal insertion command has the same content. A secondary medal insertion signal is output. Then, when the control LSI 234 of the medal selector 601 detects a sub medal insertion signal that cannot be inserted, the medal solenoid 208 is set to the OFF state, and the medal is discharged toward the cancel shooter 206. Even in the medal insertion permission state, the control LSI 234 of the medal selector 601 determines that the determination result of the color determination process is “threshold determination impossible” or “no” when the determination result of the count process is “abnormal”. When the result of the marking determination process is “No”, the medal solenoid 208 is set to the OFF state, and the medal is ejected toward the cancel shooter 206. Therefore, the inserted medals can be counted appropriately. Further, the inserted medal can be appropriately guided to the cancel shooter 206 or the hopper device 51.

<変形例5>
次に、変形例5の遊技機について、図44及ぶ図45を参照して説明する。
図44は、変形例5の遊技機におけるメダルセレクタの背面図である。なお、図44では、メダルセレクタ701のサブプレート205、キャンセルシュータ206や基準マーカー260の図示を省略している。
また、図45は、変形例5の遊技機におけるメダルセレクタの回路構成例を示すブロック図である。
なお、変形例5に係る遊技機についての以下の説明において、上述した実施形態におけるパチスロ1と共通する構成や機能については、説明を省略する。
<Modification 5>
Next, a gaming machine of Modification 5 will be described with reference to FIG. 44 and FIG.
FIG. 44 is a rear view of the medal selector in the gaming machine of the fifth modification. In FIG. 44, the sub plate 205, the cancel shooter 206, and the reference marker 260 of the medal selector 701 are not shown.
FIG. 45 is a block diagram showing a circuit configuration example of the medal selector in the gaming machine of the fifth modification.
In the following description of the gaming machine according to the modified example 5, the description of the configuration and functions common to the pachislot machine 1 in the above-described embodiment will be omitted.

図44に示すように、本変形例のメダルセレクタ701は、2つのセレクトプレート、セレクトプレート707a及びセレクトプレート707bを備えている。また、図45に示すように、メダルセレクタ701は、2つのメダルソレノイド、第1メダルソレノイド708a及び第2メダルソレノイド708bを備えている。第1メダルソレノイド708a及び第2メダルソレノイド708bは、メダルソレノイド208(図9参照)と同様のソレノイド本体部(不図示)と可動板部(不図示)を備えている。   As shown in FIG. 44, the medal selector 701 of this modification includes two select plates, a select plate 707a, and a select plate 707b. As shown in FIG. 45, the medal selector 701 includes two medal solenoids, a first medal solenoid 708a and a second medal solenoid 708b. The first medal solenoid 708a and the second medal solenoid 708b include a solenoid body (not shown) and a movable plate (not shown) similar to the medal solenoid 208 (see FIG. 9).

図44に示すように、セレクトプレート707aは、板状のプレート本体724aと、プレート本体724aの左右方向の両端部がパチスロ1の前方へ折曲することで形成されている一対の軸受部(不図示)と、を有している。また、プレート本体724aの上部には、パチスロ1の前方へ折曲し、後端部が上方へ折曲することで形成されているフランジ部726aが形成されている。   As shown in FIG. 44, the select plate 707a is composed of a plate-shaped plate body 724a and a pair of bearing portions (not configured) formed by bending the left and right ends of the plate body 724a forward of the pachislot 1. (Shown). A flange portion 726a is formed on the upper portion of the plate main body 724a. The flange portion 726a is formed by bending the pachislot 1 forward and bending the rear end portion upward.

セレクトプレート707aは、ベース板部204の前面204aに設けられた軸部(不図示)に回動可能に支持されている。軸部にはコイルばねが設けられており、フランジ部726aをパチスロ1の前方へ付勢する。フランジ部726aは、第1メダルソレノイド708aの可動板部の一端部と接触している。第1メダルソレノイド708aがON状態にあるとき、フランジ部726aは第1メダルソレノイド708aの可動板部の一端部に押圧され、コイルばねの付勢力に抗してパチスロ1の後方へ移動する。このときの、セレクトプレート707aの回動位置を「ガイド位置」と称する。ガイド位置にあるセレクトプレート707aのプレート本体724aとメダルレール210との距離は、メダルをキャンセルシュータ206側に排出することなくメダル出口部204c(図8参照)側へガイド可能な所定の距離に設定されている。   The select plate 707a is rotatably supported by a shaft portion (not shown) provided on the front surface 204a of the base plate portion 204. The shaft portion is provided with a coil spring, and urges the flange portion 726 a forward of the pachislot 1. The flange portion 726a is in contact with one end portion of the movable plate portion of the first medal solenoid 708a. When the first medal solenoid 708a is in the ON state, the flange portion 726a is pressed against one end of the movable plate portion of the first medal solenoid 708a and moves to the rear of the pachislot 1 against the biasing force of the coil spring. The rotation position of the select plate 707a at this time is referred to as a “guide position”. The distance between the plate main body 724a of the select plate 707a in the guide position and the medal rail 210 is set to a predetermined distance that can guide the medal to the medal outlet 204c (see FIG. 8) without discharging the medal to the cancel shooter 206. Has been.

また、第1メダルソレノイド708aがOFF状態にあるとき、フランジ部726aは第1メダルソレノイド708aの押圧から解放され、コイルばねの付勢力によってパチスロ1の前方へ移動する。このときの、セレクトプレート707aの回動位置を「排出位置」と称する。排出位置にあるセレクトプレート707aのプレート本体724aとメダルレール210との距離は、所定の距離よりも長い距離に設定されている。   When the first medal solenoid 708a is in the OFF state, the flange portion 726a is released from the pressing of the first medal solenoid 708a and moves forward of the pachislot 1 by the biasing force of the coil spring. The rotation position of the select plate 707a at this time is referred to as a “discharge position”. The distance between the plate body 724a of the select plate 707a at the discharge position and the medal rail 210 is set to a distance longer than a predetermined distance.

ガイド位置にあるセレクトプレート707aは、メダルレール210上を移動するメダルが規格寸法を満たす場合、移動するメダルの上部と接触し、メダルをメダル出口部204c(図8参照)側(図44における右側)へ移動するように案内する。メダルは、セレクトプレート707aに案内されているとき、メダルプレッシャ213をパチスロ1の前方へ押圧する。   When the medal moving on the medal rail 210 satisfies the standard size, the select plate 707a at the guide position contacts the upper part of the moving medal and places the medal on the medal outlet portion 204c (see FIG. 8) side (right side in FIG. 44). Guide to move to). When the medal is guided by the select plate 707a, the medal pressure 213 is pressed forward of the pachislot 1.

一方、排出位置にあるセレクトプレート707aは、メダルレール210上を移動するメダルが規格寸法を満たす場合であっても、プレート本体724aとメダルレール210との距離が離れているため、メダルをメダル出口部204c(図8参照)側へ案内することができない。また、メダルは、メダルプレッシャ213に押し出され、キャンセルシュータ206(図7参照)に向けて排出される。   On the other hand, the select plate 707a at the discharge position allows the medal to be removed from the medal exit because the distance between the plate main body 724a and the medal rail 210 is long even if the medal moving on the medal rail 210 satisfies the standard dimension. It cannot guide to the part 204c (refer FIG. 8) side. The medal is pushed out by the medal pressure 213 and discharged toward the cancel shooter 206 (see FIG. 7).

また、メダルレール210上を移動するメダルが規格寸法よりも小径の場合、セレクトプレート707aがガイド位置にあっても、メダルはセレクトプレート707aに案内されず、メダルプレッシャ213に押し出され、キャンセルシュータ206に向けて排出される。   Further, when the medal moving on the medal rail 210 has a smaller diameter than the standard dimension, even if the select plate 707a is at the guide position, the medal is not guided to the select plate 707a but pushed out to the medal pressure 213, and the cancel shooter 206 It is discharged toward

図44に示すように、セレクトプレート707bは、セレクトプレート707aよりも、メダルレール210をメダルが移動する方向の下流側に、設けられている。セレクトプレート707bは、板状のプレート本体724bと、プレート本体724bの左右方向の両端部がパチスロ1の前方へ折曲することで形成されている一対の軸受部(不図示)と、を有している。また、プレート本体724bの上部には、パチスロ1の前方へ折曲し、後端部が上方へ折曲することで形成されているフランジ部726bが形成されている。また、一方の軸受部には、下方へ延びるメダルストッパ部727bが形成されている。   As shown in FIG. 44, the select plate 707b is provided downstream of the select plate 707a in the direction in which the medal moves on the medal rail 210. The select plate 707b has a plate-shaped plate main body 724b and a pair of bearing portions (not shown) formed by bending both ends in the left-right direction of the plate main body 724b forward of the pachislot 1. ing. A flange portion 726b is formed on the upper portion of the plate body 724b. The flange portion 726b is formed by bending the pachislot 1 forward and bending the rear end portion upward. One bearing portion is formed with a medal stopper portion 727b extending downward.

セレクトプレート707bは、ベース板部204の前面204aに設けられた軸部(不図示)に回動可能に支持されている。軸部にはコイルばねが設けられており、フランジ部726bをパチスロ1の前方へ付勢する。フランジ部726bは、第2メダルソレノイド708bの可動板部の一端部と接触している。第2メダルソレノイド708bがON状態にあるとき、フランジ部726aは第2メダルソレノイド708bの可動板部の一端部に押圧され、コイルばねの付勢力に抗してパチスロ1の後方へ移動する。このときの、セレクトプレート707bの回動位置を「ガイド位置」と称する。ガイド位置にあるセレクトプレート707bのプレート本体724bとメダルレール210との距離は、メダルをキャンセルシュータ206側に排出することなくメダル出口部204c側へガイド可能な所定の距離に設定されている。また、このときメダルストッパ部727bは、下露出孔220から突出しない。   The select plate 707b is rotatably supported by a shaft portion (not shown) provided on the front surface 204a of the base plate portion 204. The shaft portion is provided with a coil spring, and urges the flange portion 726b forward of the pachi-slot 1. The flange portion 726b is in contact with one end portion of the movable plate portion of the second medal solenoid 708b. When the second medal solenoid 708b is in the ON state, the flange portion 726a is pressed against one end of the movable plate portion of the second medal solenoid 708b and moves to the rear of the pachislot 1 against the biasing force of the coil spring. The rotation position of the select plate 707b at this time is referred to as a “guide position”. The distance between the plate main body 724b of the select plate 707b at the guide position and the medal rail 210 is set to a predetermined distance that allows the medal to be guided to the medal outlet 204c side without being discharged to the cancel shooter 206 side. At this time, the medal stopper portion 727 b does not protrude from the lower exposure hole 220.

また、第2メダルソレノイド708bがOFF状態にあるとき、フランジ部726bは第2メダルソレノイド708bの押圧から解放され、コイルばねの付勢力によってパチスロ1の前方へ移動する。このときの、セレクトプレート707bの回動位置を「排出位置」と称する。排出位置にあるセレクトプレート707bのプレート本体724bとメダルレール210との距離は、所定の距離よりも長い距離に設定されている。このとき、パチスロ1の前方へ移動するフランジ部726bに押圧され、第2メダルソレノイド708bの可動板部の一端部はパチスロ1の前方へ移動する。これに伴って第2メダルソレノイド708bの可動板部の他端部がパチスロ1の後方へ移動し、アフタメダルプレッシャ218(図8参照)の前端部を押圧する。これによってアフタメダルプレッシャ218は回動し、アフタメダルプレッシャ218の後端部が上露出孔219から露出する。また、メダルストッパ部727bが下露出孔220から突出する。   When the second medal solenoid 708b is in the OFF state, the flange portion 726b is released from the pressing of the second medal solenoid 708b, and moves forward of the pachislot 1 by the biasing force of the coil spring. The rotation position of the select plate 707b at this time is referred to as a “discharge position”. The distance between the plate main body 724b of the select plate 707b at the discharge position and the medal rail 210 is set to be longer than a predetermined distance. At this time, one end of the movable plate portion of the second medal solenoid 708b moves forward of the pachislot 1 by being pressed by the flange portion 726b moving forward of the pachislot 1. Accordingly, the other end portion of the movable plate portion of the second medal solenoid 708b moves to the rear of the pachislot 1 and presses the front end portion of the after medal pressure 218 (see FIG. 8). As a result, the after medal pressure 218 rotates and the rear end of the after medal pressure 218 is exposed from the upper exposure hole 219. In addition, the medal stopper portion 727 b protrudes from the lower exposure hole 220.

ガイド位置にあるセレクトプレート707bは、メダルレール210上を移動するメダルが規格寸法を満たす場合、移動するメダルの上部と接触し、メダルをメダル出口部204c(図8参照)側(図44の右側)へ案内する。   When the medal moving on the medal rail 210 satisfies the standard dimension, the select plate 707b at the guide position contacts the upper part of the moving medal, and the medal is positioned on the medal outlet 204c (see FIG. 8) side (right side in FIG. 44). )

一方、排出位置にあるセレクトプレート707bは、メダルレール210上を移動するメダルが規格寸法を満たす場合であっても、プレート本体724bとメダルレール210との距離が離れているため、メダルをメダル出口部204c(図8参照)側へ案内することができない。また、メダルは、上露出孔219から突出するアフタメダルプレッシャ218、又は、下露出孔220から突出するメダルストッパ部727bに押し出され、キャンセルシュータ206に向けて排出される。   On the other hand, the select plate 707b at the discharge position removes the medal from the medal exit because the distance between the plate main body 724b and the medal rail 210 is long even if the medal moving on the medal rail 210 satisfies the standard dimension. It cannot guide to the part 204c (refer FIG. 8) side. Further, the medal is pushed out to the after medal pressure 218 protruding from the upper exposure hole 219 or the medal stopper portion 727 b protruding from the lower exposure hole 220 and discharged toward the cancel shooter 206.

図45に示すように、メダルセレクタ701は、第1フォトセンサ503と第2フォトセンサ504からなるダブルフォトセンサ502を備えている。ダブルフォトセンサ502は、ドア中継端子板68を介して、主制御基板71に接続されている。   As shown in FIG. 45, the medal selector 701 includes a double photosensor 502 including a first photosensor 503 and a second photosensor 504. The double photo sensor 502 is connected to the main control board 71 via the door relay terminal board 68.

なお、変形例3と同様に、ダブルフォトセンサ502の第1フォトセンサ503はメダル出口部204c(図8参照)の付近に設けられ、第2フォトセンサ504は第1フォトセンサ503よりもメダルレール210上の下流に設けられている。このため、第1フォトセンサ503及び第2フォトセンサ504は、セレクトプレート707bがガイド位置にあり、メダル出口部204c(図8参照)側へ移動するメダルは検知するが、セレクトプレート707a又はセレクトプレート707bが排出位置にあり、メダルシュート202(図6参照)に案内されるメダルは検知しない。
また、本変形例のダブルフォトセンサ502のその他の構成及び機能、また、ダブルフォトセンサ502(の第1フォトセンサ503及び第2フォトセンサ504)から出力されるメダル検知信号に基づく、主制御回路91での投入枚数カウンタ及びクレジットカウンタの値の管理の態様については、変形例3と同様のため、ここでの説明は省略する。
As in the third modification, the first photosensor 503 of the double photosensor 502 is provided in the vicinity of the medal outlet portion 204c (see FIG. 8), and the second photosensor 504 is more medal rail than the first photosensor 503. It is provided downstream on 210. For this reason, the first photosensor 503 and the second photosensor 504 detect the medal moving to the medal outlet 204c (see FIG. 8) side while the select plate 707b is at the guide position, but the select plate 707a or the select plate. 707b is at the discharge position, and the medal guided to the medal chute 202 (see FIG. 6) is not detected.
Further, the main control circuit based on other configurations and functions of the double photosensor 502 of the present modification and medal detection signals output from the double photosensor 502 (the first photosensor 503 and the second photosensor 504). The manner of managing the values of the inserted number counter and the credit counter at 91 is the same as that of the third modification, and the description thereof is omitted here.

また、第1メダルソレノイド708aは、ドア中継端子板68を介して、主制御基板71に接続されている。したがって、主制御基板71から構成される主制御回路91は、第1メダルソレノイド708aをON状態又はOFF状態に設定することができる。   The first medal solenoid 708a is connected to the main control board 71 through the door relay terminal board 68. Therefore, the main control circuit 91 configured by the main control board 71 can set the first medal solenoid 708a to the ON state or the OFF state.

主制御回路91は、パチスロ1がメダルを投入可能なメダル投入許可状態ではないとき、例えば、単位遊技においてスタートレバー23が遊技者により操作された後、また、クレジットカウンタが最大値のときは、第1メダルソレノイド708aをOFF状態に設定する。また、パチスロ1がメダルを投入可能なメダル投入許可状態のときは、第1メダルソレノイド708aをON状態に設定する。   When the pachislot 1 is not in a medal insertion permission state where the medal can be inserted, for example, after the start lever 23 is operated by the player in the unit game, or when the credit counter is at the maximum value, The first medal solenoid 708a is set to the OFF state. Further, when the pachislot 1 is in a medal insertion permission state in which a medal can be inserted, the first medal solenoid 708a is set to the ON state.

また、図45に示すように、メダルセレクタ701における制御LSI234と第2メダルソレノイド708bとは電気的に接続されている。したがって、制御LSI234は、第2メダルソレノイド708bをON状態又はOFF状態に設定することができる。
また、本変形例における制御LSI234は、上述した変形例2におけるメダルセレクタ401の制御LSI234と同様に、リアルタイムでメダルレール210上を移動する物体について刻印判定処理や色判定処理を行う。
As shown in FIG. 45, the control LSI 234 and the second medal solenoid 708b in the medal selector 701 are electrically connected. Therefore, the control LSI 234 can set the second medal solenoid 708b to the ON state or the OFF state.
In addition, the control LSI 234 in the present modification performs a marking determination process and a color determination process on an object moving on the medal rail 210 in real time, like the control LSI 234 of the medal selector 401 in the modification 2 described above.

すなわち、本変形例では、変形例2と同様に、メダルレール210上を移動する物体が、メダルレール210の上露出孔219又は下露出孔220に達する前に、制御LSI234の画像認識DSP回路242は、この物体に対する刻印判定処理の判定結果として、勾配平均判定結果及びHOG判定結果をSRAM243に記憶させる。また、制御LSI234のホストコントローラ241は、画像認識DSP回路242からの刻印判定終了割込信号に応じて、SRAM243に記憶されている刻印判定処理の判定結果として、勾配平均判定結果及びHOG判定結果を取得する。   That is, in the present modified example, as in the modified example 2, before the object moving on the medal rail 210 reaches the upper exposed hole 219 or the lower exposed hole 220 of the medal rail 210, the image recognition DSP circuit 242 of the control LSI 234. Stores the gradient average determination result and the HOG determination result in the SRAM 243 as the determination result of the marking determination process for this object. The host controller 241 of the control LSI 234 also uses the gradient average determination result and the HOG determination result as the determination result of the stamp determination process stored in the SRAM 243 in response to the stamp determination end interrupt signal from the image recognition DSP circuit 242. get.

勾配平均判定結果及びHOG判定結果を取得したホストコントローラ241は、取得した勾配平均判定結果として「否」が記憶されている場合、又は、HOG判定結果として「否」が記憶されている場合、第2メダルソレノイド708bをOFF状態に設定する制御信号を第2メダルソレノイド708bに出力する。この場合、判定対象の物体を、上露出孔219から突出するアフタメダルプレッシャ218、又は、下露出孔220から突出するメダルストッパ部727bに押し出させ、キャンセルシュータ206に向けて排出させることができる。   When the host controller 241 that has acquired the gradient average determination result and the HOG determination result stores “No” as the acquired gradient average determination result, or when “No” is stored as the HOG determination result, A control signal for setting the two medal solenoid 708b to the OFF state is output to the second medal solenoid 708b. In this case, the object to be determined can be pushed out by the after medal pressure 218 protruding from the upper exposure hole 219 or the medal stopper portion 727 b protruding from the lower exposure hole 220 and discharged toward the cancel shooter 206.

また、ホストコントローラ241は、色判定割込信号が入力される毎に、SRAM243に記憶されている最新の色判定処理の判定結果を取得し、色判定処理の判定結果に応じて、第2メダルソレノイド708bをON状態又はOFF状態に設定する制御信号を第2メダルソレノイド708bに出力する。   The host controller 241 obtains the latest determination result of the color determination process stored in the SRAM 243 each time the color determination interrupt signal is input, and the second medal is determined according to the determination result of the color determination process. A control signal for setting the solenoid 708b to the ON state or the OFF state is output to the second medal solenoid 708b.

このため、メダルレール210上を移動する物体が、メダルレール210の上露出孔219又は下露出孔220に達する前に、この物体に対する色判定処理の判定結果に応じて、第2メダルソレノイド708bをON状態又はOFF状態に設定することができる。   For this reason, before the object moving on the medal rail 210 reaches the upper exposure hole 219 or the lower exposure hole 220 of the medal rail 210, the second medal solenoid 708b is set according to the determination result of the color determination process for the object. It can be set to ON state or OFF state.

具体的には、ホストコントローラ241は、取得した閾値判定処理の判定結果として「閾値判定不可」が記憶されている場合、又は、色判定結果として「否」が記憶されている場合、第2メダルソレノイド708bをOFF状態に設定する制御信号を第2メダルソレノイド708bに出力する。この場合、判定対象の物体を、上露出孔219から突出するアフタメダルプレッシャ218、又は、下露出孔220から突出するメダルストッパ部727bに押し出させ、キャンセルシュータ206に向けて排出させることができる。   Specifically, the host controller 241 determines the second medal when “threshold determination impossible” is stored as the determination result of the acquired threshold determination processing, or when “no” is stored as the color determination result. A control signal for setting the solenoid 708b to the OFF state is output to the second medal solenoid 708b. In this case, the object to be determined can be pushed out by the after medal pressure 218 protruding from the upper exposure hole 219 or the medal stopper portion 727 b protruding from the lower exposure hole 220 and discharged toward the cancel shooter 206.

また、ホストコントローラ241は、SRAM243に記憶されている直近のカウント処理に係る判定結果が「異常が発生した」である場合は、第2メダルソレノイド708bをOFF状態に設定する制御信号を第2メダルソレノイド708bに出力する。   If the determination result related to the most recent count process stored in the SRAM 243 is “abnormal”, the host controller 241 sends a control signal for setting the second medal solenoid 708b to the OFF state. Output to the solenoid 708b.

一方、直近のカウント処理に係る判定結果が「異常が発生した」でなく、閾値判定処理の判定結果として「閾値判定不可」が記憶されておらず、色判定結果として「可」が記憶されている場合で、且つ、取得した勾配平均判定結果及びHOG判定結果として「可」が記憶されている場合、ホストコントローラ241は、第2メダルソレノイド708bの状態がON状態のまま維持されるようにする。この場合、判定対象の物体はホッパー装置51に案内される。   On the other hand, the determination result related to the most recent count process is not “abnormal”, “threshold determination impossible” is not stored as the determination result of the threshold determination process, and “permitted” is stored as the color determination result. If “Yes” is stored as the acquired gradient average determination result and HOG determination result, the host controller 241 maintains the state of the second medal solenoid 708b in the ON state. . In this case, the object to be determined is guided to the hopper device 51.

また、変形例におけるメダルセレクタ701のホストコントローラ241は、SRAM243に記憶させた縮小画像データに対して行った円領域検出処理において円領域が検出できなくなったとき、第2メダルソレノイド708bをON状態に設定する制御信号を第2メダルソレノイド708bに出力する。   The host controller 241 of the medal selector 701 in the modified example turns on the second medal solenoid 708b when the circle area cannot be detected in the circle area detection process performed on the reduced image data stored in the SRAM 243. A control signal to be set is output to the second medal solenoid 708b.

図45に示すように、メダルセレクタ701におけるカメラユニット209の制御LSI234は、副中継基板61を介して、副制御基板72に接続されている。したがって、本変形例では、メダルセレクタ701の制御LSI234におけるホストコントローラ241から出力される各種信号、すなわちメダルカウント信号やメダル異常信号、は、副制御基板72で構成される副制御回路101(のサブCPU102)が検出可能となっている。
また、副制御回路101は、メダルセレクタ701の制御LSI234におけるホストコントローラ241を介して、第2メダルソレノイド708bをON状態又はOFF状態に設定することができる。具体的には、副制御回路101は、メダルセレクタ701のホストコントローラ241から出力されるメダルカウント信号を検出すると、サブRAM103に設けられた投入枚数カウンタの値に1加算する。なお、サブRAM103の投入枚数カウンタの値が最大値(例えば、3)の場合は、クレジットされているメダルの枚数をサブCPU102が計数するためにサブRAM103に設けられたカウンタであるクレジットカウンタの値に1加算する。副制御回路101は、単位遊技においてスタートレバー23が遊技者により操作された後(スタートコマンドを受信した時)、また、サブRAM103のクレジットカウンタが最大値(例えば、50)のときは、第2メダルソレノイド708bをメダルセレクタ701のホストコントローラ241を介してOFF状態に設定する。また、パチスロがメダルを投入可能なメダル投入許可状態のときは、第2メダルソレノイド708bをホストコントローラ241を介してON状態に設定する。
As shown in FIG. 45, the control LSI 234 of the camera unit 209 in the medal selector 701 is connected to the sub control board 72 through the sub relay board 61. Therefore, in this modification, various signals output from the host controller 241 in the control LSI 234 of the medal selector 701, that is, a medal count signal and a medal abnormality signal, are sub-control circuit 101 (sub sub-circuit of the sub-control board 72). CPU 102) can be detected.
Further, the sub control circuit 101 can set the second medal solenoid 708b to the ON state or the OFF state via the host controller 241 in the control LSI 234 of the medal selector 701. Specifically, when the sub control circuit 101 detects a medal count signal output from the host controller 241 of the medal selector 701, the sub control circuit 101 adds 1 to the value of the inserted number counter provided in the sub RAM 103. When the value of the inserted number counter in the sub RAM 103 is the maximum value (for example, 3), the value of the credit counter that is a counter provided in the sub RAM 103 so that the sub CPU 102 counts the number of credited medals. Add 1 to. After the start lever 23 is operated by the player in the unit game (when the start command is received), and when the credit counter of the sub RAM 103 is the maximum value (for example, 50), the sub control circuit 101 The medal solenoid 708b is set to the OFF state via the host controller 241 of the medal selector 701. Further, when the pachislot is in a medal insertion permission state in which a medal can be inserted, the second medal solenoid 708b is set to the ON state via the host controller 241.

副制御基板72で構成される副制御回路101は、メダルカウント信号やメダル異常信号を検出すると、検出日時及び検出内容を、サブRAM103のバックアップ領域に記憶させる。サブRAM103に記憶されたメダル異常信号に係る情報は、遊技機の管理者(例えば、遊技ホールの従業員)が設定用鍵型スイッチ56(図6参照)を操作することで液晶表示装置11に表示されるホールメニュー画面(不図示)において、エラー履歴メニューが選択された場合に、参照可能となっている。なお、エラー履歴メニューを選択するための操作やエラー履歴メニューにおけるサブRAM103に記憶されたメダル異常信号に係る情報の表示態様は、変形例3と同様のため、ここでの説明は省略する。   When the sub control circuit 101 configured by the sub control board 72 detects the medal count signal or the medal abnormality signal, the sub control circuit 101 stores the detection date and time and the detected contents in the backup area of the sub RAM 103. Information related to the medal abnormality signal stored in the sub-RAM 103 is stored in the liquid crystal display device 11 by operating the setting key switch 56 (see FIG. 6) by the administrator of the gaming machine (for example, an employee of the gaming hall). When the error history menu is selected on the displayed hall menu screen (not shown), it can be referred to. Note that the operation for selecting the error history menu and the display mode of the information related to the medal abnormality signal stored in the sub RAM 103 in the error history menu are the same as in the third modification, and thus the description thereof is omitted here.

また、変形例3と同様に、主制御回路91は、ダブルフォトセンサ502から出力されるメダル検知信号に基づいて、逆行エラーやメダル詰まりエラーを検知し、これらのエラーが検知されたときは、遊技を強制的に終了させる。また、主制御回路91は、副制御回路101に、検知したエラーの内容に応じたエラーコマンドを送信する。
副制御回路101は、主制御回路91から、逆行エラーやメダル詰まりエラーに係るエラーコマンドを受信した場合には、メダルセレクタ701の制御LSI234におけるホストコントローラ241を介して、第2メダルソレノイド708bをOFF状態に設定する。
なお、これらのエラーは、メダルセレクタ701(制御LSI234によるカウント処理等)で検知可能であるので、主制御回路91による逆行エラーやメダル詰まりエラーの検知に係る処理を省略してもよい。省略した場合は、逆行エラーやメダル詰まりエラーが発生した場合、副制御回路101にその旨(カウント処理の判定結果が「異常が発生した」に基づくメダル異常信号を検出した旨)を示す信号を出力させ、主制御回路91は、この信号を検出した場合に、逆行エラーやメダル詰まりエラーの発生を検知し、遊技を強制的に終了させる。
Similarly to the third modification, the main control circuit 91 detects a retrograde error or a medal clogging error based on the medal detection signal output from the double photo sensor 502, and when these errors are detected, Force the game to end. Further, the main control circuit 91 transmits an error command corresponding to the detected error content to the sub control circuit 101.
When the sub control circuit 101 receives an error command relating to a retrograde error or a medal jam error from the main control circuit 91, the sub control circuit 101 turns off the second medal solenoid 708 b via the host controller 241 in the control LSI 234 of the medal selector 701. Set to state.
Since these errors can be detected by the medal selector 701 (counting processing by the control LSI 234, etc.), the processing related to the detection of the retrograde error and the medal clogging error by the main control circuit 91 may be omitted. If omitted, when a retrograde error or a medal clogging error occurs, a signal indicating that (a medal abnormality signal is detected based on the result of the count process being “abnormal” has been detected) is sent to the sub-control circuit 101. When this signal is detected, the main control circuit 91 detects the occurrence of a retrograde error or a medal clogging error, and forcibly ends the game.

本変形例では、パチスロ1が上述したメダル投入許可状態でないとき、主制御回路91は、第1メダルソレノイド708aをOFF状態に設定し、メダルをキャンセルシュータ206に向けて排出させる。また、第1メダルソレノイド708aがON状態であっても、メダルセレクタ701の制御LSI234は、カウント処理の判定結果が「異常が発生した」のとき、色判定処理の判定結果が「閾値判定不可」或いは「否」のとき、又は、刻印判定処理の結果が「否」のとき、は第2メダルソレノイド708bをOFF状態に設定し、メダルをキャンセルシュータ206に向けて排出させる。したがって、投入されたメダルを適切にカウントできる。また、投入されたメダルを、キャンセルシュータ206、又は、ホッパー装置51に、適切に導くことができる。   In the present modification, when the pachi-slot 1 is not in the medal insertion permission state described above, the main control circuit 91 sets the first medal solenoid 708a to the OFF state and discharges the medal toward the cancel shooter 206. Even if the first medal solenoid 708a is in the ON state, the control LSI 234 of the medal selector 701 determines that the determination result of the color determination process is “threshold determination impossible” when the determination result of the count process is “abnormal”. Alternatively, when “No” or when the result of the marking determination process is “No”, the second medal solenoid 708b is set to the OFF state, and the medal is discharged toward the cancel shooter 206. Therefore, the inserted medals can be counted appropriately. Further, the inserted medal can be appropriately guided to the cancel shooter 206 or the hopper device 51.

<変形例6>
次に、変形例6の遊技機について、図46を参照して説明する。
図46は、変形例6の遊技機におけるメダルセレクタの回路構成例を示すブロック図である。
なお、変形例6に係る遊技機についての以下の説明において、上述した実施形態におけるパチスロ1と共通する構成や機能については、説明を省略する。
<Modification 6>
Next, a gaming machine of Modification 6 will be described with reference to FIG.
FIG. 46 is a block diagram showing a circuit configuration example of the medal selector in the gaming machine of the sixth modification.
In the following description of the gaming machine according to the modified example 6, the description of the configuration and functions common to the pachislot machine 1 in the above-described embodiment will be omitted.

本変形例におけるメダルセレクタ801は、変形例5のメダルセレクタ701と同様に、2つのセレクトプレート、セレクトプレート707a及びセレクトプレート707bを備えている(図44参照)。   Similar to the medal selector 701 in the fifth modification, the medal selector 801 in the present modification includes two select plates, a select plate 707a, and a select plate 707b (see FIG. 44).

また、図46に示すように、メダルセレクタ801における第2メダルソレノイド708bと、副制御基板72が、副中継基板61を介して、電気的に接続されている。このため、副制御基板72で構成される副制御回路101は、第2メダルソレノイド708bをON状態又はOFF状態に設定することができる。一方、制御LSI234と第2メダルソレノイド708bとは、電気的に接続されていない。この点が変形例5との相違点である。以下では、この相違点に関して説明を行い、変形例5と共通する点については説明を省略する。   Also, as shown in FIG. 46, the second medal solenoid 708 b in the medal selector 801 and the sub control board 72 are electrically connected via the sub relay board 61. Therefore, the sub control circuit 101 configured by the sub control board 72 can set the second medal solenoid 708b to the ON state or the OFF state. On the other hand, the control LSI 234 and the second medal solenoid 708b are not electrically connected. This is the difference from the fifth modification. Below, this difference is demonstrated and description is abbreviate | omitted about the point which is common in the modification 5. FIG.

図46に示すように、変形例5と同様に、メダルセレクタ801におけるカメラユニット209の制御LSI234は、副中継基板61を介して、副制御基板72に接続されている。したがって、本変形例では、制御LSI234のホストコントローラ241から出力される各種信号、すなわちメダルカウント信号やメダル異常信号、は、副制御基板72で構成される副制御回路101(のサブCPU102)が検出可能となっている。   As shown in FIG. 46, as in the fifth modification, the control LSI 234 of the camera unit 209 in the medal selector 801 is connected to the sub control board 72 via the sub relay board 61. Therefore, in this modification, various signals output from the host controller 241 of the control LSI 234, that is, the medal count signal and the medal abnormality signal are detected by the sub control circuit 101 (the sub CPU 102) configured by the sub control board 72. It is possible.

本変形例では、変形例2のメダルセレクタ401と同様に、メダルレール210上を移動する物体が、メダルレール210の上露出孔219又は下露出孔220に達する前に、制御LSI234の画像認識DSP回路242は、この物体に対する刻印判定処理の判定結果として、勾配平均判定結果及びHOG判定結果をSRAM243に記憶させる。また、制御LSI234のホストコントローラ241は、画像認識DSP回路242からの刻印判定終了割込信号に応じて、SRAM243に記憶されている刻印判定処理の判定結果として、勾配平均判定結果及びHOG判定結果を取得する。   In the present modification, similar to the medal selector 401 in the second modification, before the object moving on the medal rail 210 reaches the upper exposed hole 219 or the lower exposed hole 220 of the medal rail 210, the image recognition DSP of the control LSI 234 is used. The circuit 242 stores the gradient average determination result and the HOG determination result in the SRAM 243 as the determination result of the marking determination process for the object. The host controller 241 of the control LSI 234 also uses the gradient average determination result and the HOG determination result as the determination result of the stamp determination process stored in the SRAM 243 in response to the stamp determination end interrupt signal from the image recognition DSP circuit 242. get.

勾配平均判定結果及びHOG判定結果を取得したホストコントローラ241は、取得した勾配平均判定結果として「否」が記憶されている場合、又は、HOG判定結果として「否」が記憶されている場合、メダル異常信号を出力する。   The host controller 241 that acquired the gradient average determination result and the HOG determination result stores a medal when “No” is stored as the acquired gradient average determination result or when “No” is stored as the HOG determination result. An abnormal signal is output.

また、ホストコントローラ241は、色判定割込信号が入力される毎に、SRAM243に記憶されている最新の色判定処理の判定結果を取得し、取得した閾値判定処理の判定結果として「閾値判定不可」が記憶されている場合、又は、色判定結果として「否」が記憶されている場合、メダル異常信号を出力する。   The host controller 241 acquires the latest determination result of the color determination process stored in the SRAM 243 each time a color determination interrupt signal is input, and the “threshold determination is impossible” as the acquired determination result of the threshold determination process. ”Is stored, or when“ No ”is stored as the color determination result, a medal abnormality signal is output.

また、ホストコントローラ241は、SRAM243に記憶されている直近のカウント処理に係る判定結果が「異常が発生した」である場合は、メダル異常信号を出力する。   The host controller 241 outputs a medal abnormality signal when the determination result related to the most recent count process stored in the SRAM 243 is “abnormality has occurred”.

副制御回路101(のサブCPU102)は、制御LSI234のホストコントローラ241から出力されたメダル異常信号を検出すると、又は、主制御回路91から逆行エラーやメダル詰まりエラーに係るエラーコマンドを受信すると、第2メダルソレノイド708bをOFF状態に設定する制御信号を、第2メダルソレノイド708bに出力する。この場合、判定対象の物体を、上露出孔219から突出するアフタメダルプレッシャ218、又は、下露出孔220から突出するメダルストッパ部727bに押し出させ、キャンセルシュータ206に向けて排出させることができる。   When the sub control circuit 101 (the sub CPU 102) detects a medal abnormality signal output from the host controller 241 of the control LSI 234 or receives an error command related to a retrograde error or a medal clogging error from the main control circuit 91, A control signal for setting the two medal solenoid 708b to the OFF state is output to the second medal solenoid 708b. In this case, the object to be determined can be pushed out by the after medal pressure 218 protruding from the upper exposure hole 219 or the medal stopper portion 727 b protruding from the lower exposure hole 220 and discharged toward the cancel shooter 206.

一方、直近のカウント処理に係る判定結果が「異常が発生した」でなく、閾値判定処理の判定結果として「閾値判定不可」が記憶されておらず、色判定結果として「可」が記憶されている場合で、且つ、取得した勾配平均判定結果及びHOG判定結果として「可」が記憶されている場合は、ホストコントローラ241は、メダル異常信号を出力しない。このため、第2メダルソレノイド708bの状態はON状態のまま維持される。この場合、判定対象の物体はメダル出口部204c側へ案内され、すなわちホッパー装置51に案内される。   On the other hand, the determination result related to the most recent count process is not “abnormal”, “threshold determination impossible” is not stored as the determination result of the threshold determination process, and “permitted” is stored as the color determination result. If “Yes” is stored as the obtained gradient average determination result and HOG determination result, the host controller 241 does not output a medal abnormality signal. For this reason, the state of the second medal solenoid 708b is maintained in the ON state. In this case, the object to be determined is guided to the medal outlet 204c side, that is, guided to the hopper device 51.

また、変形例におけるメダルセレクタ801のホストコントローラ241は、SRAM243に記憶させた縮小画像データに対して行った円領域検出処理において円領域が検出できなくなったとき、その旨を示す信号を出力する。副制御回路101(のサブCPU102)は、この信号を検出すると、第2メダルソレノイド708bをON状態に設定する制御信号を第2メダルソレノイド708bに出力する。   Further, when the circle area cannot be detected in the circle area detection process performed on the reduced image data stored in the SRAM 243, the host controller 241 of the medal selector 801 in the modified example outputs a signal indicating that effect. Upon detecting this signal, the sub control circuit 101 (the sub CPU 102) outputs a control signal for setting the second medal solenoid 708b to the ON state to the second medal solenoid 708b.

本変形例では、パチスロ1が上述したメダル投入許可状態でないとき、主制御回路91は、第1メダルソレノイド708aをOFF状態に設定し、メダルをキャンセルシュータ206に向けて排出させる。また、第1メダルソレノイド708aがON状態であっても、メダルセレクタ701の制御LSI234は、カウント処理の判定結果が「異常が発生した」のとき、色判定処理の判定結果が「閾値判定不可」或いは「否」のとき、又は、刻印判定処理の結果が「否」のとき、はメダル異常信号を出力する。そして、このメダル異常信号を検出した副制御回路101は、第2メダルソレノイド708bをOFF状態に設定し、メダルをキャンセルシュータ206に向けて排出させる。したがって、投入されたメダルを適切にカウントできる。また、投入されたメダルを、キャンセルシュータ206、又は、ホッパー装置51に、適切に導くことができる。   In the present modification, when the pachi-slot 1 is not in the medal insertion permission state described above, the main control circuit 91 sets the first medal solenoid 708a to the OFF state and discharges the medal toward the cancel shooter 206. Even if the first medal solenoid 708a is in the ON state, the control LSI 234 of the medal selector 701 determines that the determination result of the color determination process is “threshold determination impossible” when the determination result of the count process is “abnormal”. Alternatively, when it is “NO” or when the result of the marking determination process is “NO”, a medal abnormality signal is output. Then, the sub control circuit 101 that has detected the medal abnormality signal sets the second medal solenoid 708b to the OFF state, and discharges the medal toward the cancel shooter 206. Therefore, the inserted medals can be counted appropriately. Further, the inserted medal can be appropriately guided to the cancel shooter 206 or the hopper device 51.

<その他の変形例>
また、上記実施形態では、4つの色テンプレート、勾配平均画像テンプレート及びHOGテンプレートを生成する態様を説明したが、これらテンプレートの数は、許容される判定所要時間や求める判定の精度に応じ適宜設定可能である。
<Other variations>
In the above-described embodiment, the mode of generating four color templates, the gradient average image template, and the HOG template has been described. However, the number of these templates can be set as appropriate according to the required determination time and the accuracy of determination to be obtained. It is.

また、上記実施形態では、色判定処理及び刻印判定処理を投入された全てのメダルに対して実行する態様を説明した。しかし、これに限らず、メダルセレクタ201の任意の場所(例えば、第1の基板230の近辺)に、スイッチ基板を設け、スイッチ基板上に、色判定ON/OFFスイッチ、刻印判定ON/OFFスイッチを設け、スイッチの状態をホストコントローラ241が読み取ることで、色判定処理と刻印判定処理を実行するか否かを選択できるようにしてもよい。   In the above-described embodiment, the aspect in which the color determination process and the marking determination process are executed for all medals that have been input has been described. However, the present invention is not limited to this, and a switch board is provided at an arbitrary location of the medal selector 201 (for example, in the vicinity of the first board 230), and the color determination ON / OFF switch and the stamp determination ON / OFF switch are provided on the switch board. And the host controller 241 reads the state of the switch so that it can be selected whether or not to execute the color determination process and the marking determination process.

また、上記実施形態では、主制御回路91に、勾配平均判定結果として「否」が入力された場合に、又は、HOG判定結果として「否」が入力された場合に、主制御回路91が、不正行為があったことを検知する態様を説明した。しかし、これに代えて、主制御回路91に、勾配平均判定結果として「否」が入力され、且つ、HOG判定結果として「否」が入力された場合に、主制御回路91が、不正行為があったことを検知してもよい。   In the above embodiment, when “NO” is input as the gradient average determination result to the main control circuit 91 or when “NO” is input as the HOG determination result, the main control circuit 91 An aspect of detecting that there has been a fraud has been described. However, instead of this, when “NO” is input as the gradient average determination result and “NO” is input as the HOG determination result to the main control circuit 91, the main control circuit 91 performs an illegal act. You may detect that there was.

また、上記実施形態では、SRAM243に記憶された、色テンプレート、勾配平均画像テンプレート及びHOGテンプレートが、遊技機の電源投入時に初期化スイッチを押下すると消去される態様を説明した。しかし、これに代えて、SRAM243に記憶されている各種テンプレートを消去するために任意の操作を設定してもよい。例えば、遊技機の設定の変更に連動して、SRAM243の各種テンプレートを消去してもよい。   In the above-described embodiment, the color template, the gradient average image template, and the HOG template stored in the SRAM 243 are erased when the initialization switch is pressed when the gaming machine is turned on. However, instead of this, an arbitrary operation may be set in order to delete various templates stored in the SRAM 243. For example, various templates in the SRAM 243 may be deleted in conjunction with a change in the setting of the gaming machine.

また、メダルが投入不可の場合の順序判定処理において、SRAM243に記憶されている直近の4個のグレースケール画像データの各判定領域におけるデータの遷移の態様と、メダルカウント判定表で規定されているE1〜E4に対応するデータの遷移の態様と、が一致しない場合は、「異常が発生した」と判定し、判定結果をSRAM243に記憶してもよい。   Further, in the order determination process in the case where medals cannot be inserted, the data transition mode in each determination area of the latest four grayscale image data stored in the SRAM 243 and the medal count determination table are defined. If the data transition modes corresponding to E1 to E4 do not match, it may be determined that “abnormality has occurred” and the determination result may be stored in the SRAM 243.

また、上記実施形態では、ホストコントローラ241が、前回の縮小終了割込信号が入力されてから今回の縮小割込信号が入力されるまでに主制御回路91に「メダルが通過した」というカウント処理の判定結果を出力したことを条件に、画像認識DSP回路242に前処理の開始を指示する態様を説明した。すなわち、カウント処理においてメダルレール210上をメダルが通過したと判定された場合、ホストコントローラ241が、刻印判定処理における円領域検出処理以降の処理の実行を画像認識DSP回路242及び画像認識アクセラレータ回路249に指示する態様を説明した。しかし、これに代えて、前回の縮小終了割込信号が入力されてから今回の縮小割込信号が入力されるまでに主制御回路91に何らかのカウント処理の判定結果(すなわち、「メダルがメダルシュート202に案内された」又は「異常が発生した」を含む)を出力したことを条件に、画像認識DSP回路242に前処理の開始を指示するようにしてもよい。   In the above-described embodiment, the host controller 241 performs a count process that “the medal has passed” to the main control circuit 91 from when the previous reduction end interrupt signal is input to when the current reduction interrupt signal is input. In the above description, the image recognition DSP circuit 242 is instructed to start preprocessing on the condition that the determination result is output. That is, when it is determined that the medal has passed on the medal rail 210 in the counting process, the host controller 241 executes the processing subsequent to the circular area detection process in the marking determination process to perform the image recognition DSP circuit 242 and the image recognition accelerator circuit 249. The mode instructed to have been described. However, instead of this, the determination result of some count processing (that is, “medal is medal shot” is applied to the main control circuit 91 from when the previous reduction end interrupt signal is input to when the current reduction interrupt signal is input. The image recognition DSP circuit 242 may be instructed to start pre-processing on the condition that “instructed to 202” or “an error has occurred” is output.

また、色判定処理における閾値判定処理を省略してもよい。
また、本発明を、遊技媒体を用いる他の遊技機、例えばパチンコに採用してもよい。
また、変形例3乃至6では、メダルレール210上を移動する物体を検知する近接センサの一例としてダブルフォトセンサ502を用いる態様を説明したが、これに限らず、物体の接近や近傍の検出対象の有無を非接触で検出できる他の近接センサ(誘導形、静電容量形、超音波形、光電形、磁気形近接スイッチ)を用いてもよい。
Further, the threshold determination process in the color determination process may be omitted.
Further, the present invention may be employed in other gaming machines that use gaming media, such as pachinko machines.
Moreover, although the modification 3 thru | or 6 demonstrated the aspect which uses the double photosensor 502 as an example of the proximity sensor which detects the object which moves on the medal rail 210, it is not restricted to this, Object proximity | contact or the detection object of vicinity Other proximity sensors (inductive type, electrostatic capacitance type, ultrasonic type, photoelectric type, magnetic type proximity switch) that can detect the presence or absence of non-contact may be used.

1…パチスロ、 3L…左リール、 3C…中リール、 3R…右リール、 4…リール表示窓、 21…メダル投入口、 23…スタートレバー、 32…メダル払出口、 51…ホッパー装置、 71…主制御基板、 72…副制御基板、 79…スタートスイッチ、 80…ストップスイッチ基板、 91…主制御回路、 101…副制御回路、 140…キャンセルシュータ、 201…メダルセレクタ、 202…メダルシュート、
203…スロープ、 204…ベース板部、 205…サブプレート、 206…キャンセルシュータ、 207…セレクトプレート、 208…メダルソレノイド、 209…カメラユニット、 210…メダルレール、 211…メダル入口部、 212…中央孔、 213…メダルプレッシャ、 217…磁石、 218…アフタメダルプレッシャ、 227…メダルストッパ部、 230…第1の基板、 231…第2の基板、 232…CMOSイメージセンサ、 233…LED、 234…制御LSI、 235…脚部、 241…ホストコントローラ、 242…画像認識DSP回路、 243…SRAM、 244…フラッシュメモリ、 245…ISP回路、 246…メダルカウント回路、 247…カラー認識回路、 248…魚眼補正スケーラ回路、 249…画像認識アクセラレータ回路、 250…GPIO、 251…ISI回路
DESCRIPTION OF SYMBOLS 1 ... Pachislot, 3L ... Left reel, 3C ... Middle reel, 3R ... Right reel, 4 ... Reel display window, 21 ... Medal insertion slot, 23 ... Start lever, 32 ... Medal paying exit, 51 ... Hopper device, 71 ... Main Control board 72 ... Sub control board 79 ... Start switch 80 ... Stop switch board 91 ... Main control circuit 101 ... Sub control circuit 140 ... Cancel shooter 201 ... Medal selector 202 ... Medal shoot
203 ... Slope, 204 ... Base plate, 205 ... Sub-plate, 206 ... Cancel shooter, 207 ... Select plate, 208 ... Medal solenoid, 209 ... Camera unit, 210 ... Medal rail, 211 ... Medal entrance, 212 ... Central hole 213 ... Medal pressure, 217 ... Magnet, 218 ... After medal pressure, 227 ... Medal stopper, 230 ... First board, 231 ... Second board, 232 ... CMOS image sensor, 233 ... LED, 234 ... Control LSI 235: Legs, 241: Host controller, 242 ... Image recognition DSP circuit, 243 ... SRAM, 244 ... Flash memory, 245 ... ISP circuit, 246 ... Medal count circuit, 247 ... Color recognition circuit, 248 ... Fisheye correction scaler Circuit, 2 49 ... Image recognition accelerator circuit, 250 ... GPIO, 251 ... ISI circuit

本発明は、上記課題を解決するためになされたものであり、本発明の目的は、正規の遊技媒体が用いられていると誤認させる不正行為を検知することができる遊技機及び遊技媒体判別装置を提供することにある。 The present invention has been made to solve the above problems, an object of the present invention, a gaming machine and a game that can detect the fraud that is mistaken game media regular is used The object is to provide a medium discrimination device .

遊技媒体を投入する投入口(例えば、後述のメダル投入口21)と、
前記投入口から投入された遊技媒体を検出する遊技媒体検出手段(例えば、後述のメダルセレクタ601)と、
遊技に関する制御を実行する第1制御部(例えば、後述の主制御回路91)と、
遊技の演出に関する制御を実行する第2制御部(例えば、後述の副制御回路101)と、
遊技媒体を貯留する貯留手段(例えば、後述のホッパー装置51)と、を備える遊技機であって、
前記遊技媒体検出手段は、
遊技媒体が通過する通路を形成する通路形成部(例えば、後述のメダルレール210)と、
前記通路を移動する物体を検知する近接センサ(例えば、後述のダブルフォトセンサ502)と、
前記通路を撮像する撮像手段(例えば、後述のカメラユニット209)と、
前記撮像手段を介して得られる画像データに基づいて、前記通路を通過する物体が正規の遊技媒体であるか否かを判定する遊技媒体判定手段(例えば、後述のカラー認識回路247及び画像認識DSP回路242)と、
前記通路を通過する物体を前記貯留手段に導くガイド位置と、前記物体を遊技機外に排出する排出位置と、に移動可能に設けられたガイド手段(例えば、後述のセレクトプレート207)と、
前記ガイド手段を駆動させる駆動手段(例えば、後述のメダルソレノイド208)と、
前記駆動手段を制御して、前記遊技媒体判定手段が前記通路を通過する物体が正規の遊技媒体であると判定するとき、前記ガイド手段を前記ガイド位置に移動させ、前記遊技媒体判定手段が前記通路を通過する物体が正規の遊技媒体でないと判定するとき、前記ガイド手段を前記排出位置に移動させる駆動制御手段(例えば、後述の制御LSI234)と、
前記遊技媒体判定手段が前記通路を通過する物体が正規の遊技媒体でないと判定すると、所定の条件に応じて前記第2制御部にエラーを通知するエラー通知手段(例えば、後述の制御LSI234)と、を有し、
前記第1制御部は、
前記近接センサの検知結果に基づいて遊技媒体のカウントを行い、
遊技媒体の投入を許可する状態のときは、投入許可の内容の信号を出力し、
遊技媒体の投入を許可する状態でないときは、投入不可の内容の信号を出力し、
前記第2制御部は、
前記エラー通知手段から通知されたエラーを報知し、
前記第1制御部から前記投入許可の内容の信号又は前記投入不可の内容の信号を検出すると、同内容の信号を前記駆動制御手段に出力し、
前記駆動制御手段は、前記第2制御部から出力された投入不可の内容の信号を検出すると、前記駆動手段を制御して、前記ガイド手段を前記排出位置に移動させ、
前記第2制御部から出力された投入許可の内容の信号を検出すると、前記駆動手段を制御して、前記ガイド手段を前記ガイド位置に移動させる
ことを特徴とする遊技機。
また、上記目的を達成するために、本発明は、以下のような構成の遊技媒体判別装置を提供する。
遊技媒体が通過する通路を形成する通路形成部(例えば、後述のメダルレール210)と、
前記通路を移動する物体を検知する近接センサ(例えば、後述のダブルフォトセンサ502)と、
前記通路を撮像する撮像手段(例えば、後述のカメラユニット209)と、
前記撮像手段を介して得られる画像データに基づいて、前記通路を通過する物体が正規の遊技媒体であるか否かを判定する遊技媒体判定手段(例えば、後述のカラー認識回路247及び画像認識DSP回路242)と、
前記通路を通過する物体を導くガイド位置と、前記物体を排出する排出位置と、に移動可能に設けられたガイド手段(例えば、後述のセレクトプレート207)と、
前記ガイド手段を駆動させる駆動手段(例えば、後述のメダルソレノイド208)と、
前記駆動手段を制御して、前記遊技媒体判定手段が前記通路を通過する物体が正規の遊技媒体であると判定するとき、前記ガイド手段を前記ガイド位置に移動させ、前記遊技媒体判定手段が前記通路を通過する物体が正規の遊技媒体でないと判定するとき、前記ガイド手段を前記排出位置に移動させる駆動制御手段(例えば、後述の制御LSI234)と、
前記遊技媒体判定手段が前記通路を通過する物体が正規の遊技媒体でないと判定すると、所定の条件に応じてエラーを通知するエラー通知手段(例えば、後述の制御LSI234)と、を有する
ことを特徴とする遊技媒体判別装置。
An insertion slot (for example, a medal insertion slot 21 described later) for inserting a game medium;
Game medium detecting means (for example, a medal selector 601 described later) for detecting a game medium inserted from the insertion slot;
A first control unit (for example, a main control circuit 91 to be described later) that executes control related to the game;
A second control unit (for example, a sub-control circuit 101 to be described later) that executes control related to game effects;
A storage device (for example, a hopper device 51 described later) for storing a game medium,
The game medium detection means includes
A passage forming portion (for example, a medal rail 210 described later) that forms a passage through which game media pass;
A proximity sensor (for example, a double photo sensor 502 described later) for detecting an object moving in the passage;
Imaging means for imaging the passage (for example, a camera unit 209 described later);
Based on image data obtained through the imaging means, game medium determination means for determining whether or not an object passing through the passage is a regular game medium (for example, a color recognition circuit 247 and an image recognition DSP described later). Circuit 242);
A guide means (for example, a select plate 207 described later) movably provided at a guide position for guiding an object passing through the passage to the storage means, and a discharge position for discharging the object out of the gaming machine;
Drive means for driving the guide means (for example, medal solenoid 208 described later);
When the driving means is controlled so that the game medium determining means determines that the object passing through the passage is a regular game medium, the guide means is moved to the guide position, and the game medium determining means is Drive control means (for example, control LSI 234 described later) that moves the guide means to the discharge position when it is determined that the object passing through the passage is not a regular game medium;
When the game medium determination means determines that the object passing through the passage is not a regular game medium, an error notification means (for example, a control LSI 234 described later) for notifying the second control unit of an error according to a predetermined condition; Have
The first controller is
Based on the detection result of the proximity sensor, the game medium is counted,
When the game media is allowed to be inserted, a signal indicating the content of the input permission is output,
When it is not in a state that permits the insertion of game media, it outputs a signal indicating that it cannot be inserted,
The second controller is
Informing the error notified from the error notification means,
When detecting the signal of the content of permission of insertion or the signal of the content of impossible to input from the first control unit, the signal of the same content is output to the drive control means,
When the drive control means detects a signal indicating that the input cannot be performed and is output from the second control unit, the drive control means controls the drive means to move the guide means to the discharge position,
A gaming machine, wherein when the signal of the content of permission to be output outputted from the second control unit is detected, the driving means is controlled to move the guide means to the guide position.
In order to achieve the above object, the present invention provides a game medium discriminating apparatus having the following configuration.
A passage forming portion (for example, a medal rail 210 described later) that forms a passage through which game media pass;
A proximity sensor (for example, a double photo sensor 502 described later) for detecting an object moving in the passage;
Imaging means for imaging the passage (for example, a camera unit 209 described later);
Based on image data obtained through the imaging means, game medium determination means for determining whether or not an object passing through the passage is a regular game medium (for example, a color recognition circuit 247 and an image recognition DSP described later). Circuit 242);
A guide means (for example, a select plate 207 described later) movably provided at a guide position for guiding an object passing through the passage and a discharge position for discharging the object;
Drive means for driving the guide means (for example, medal solenoid 208 described later);
When the driving means is controlled so that the game medium determining means determines that the object passing through the passage is a regular game medium, the guide means is moved to the guide position, and the game medium determining means is Drive control means (for example, control LSI 234 described later) that moves the guide means to the discharge position when it is determined that the object passing through the passage is not a regular game medium;
When the game medium determination means determines that the object passing through the passage is not a regular game medium, the game medium determination means has error notification means (for example, a control LSI 234 described later) for notifying an error according to a predetermined condition.
A game medium discrimination device.

本発明によれば、正規の遊技媒体が用いられていると誤認させる不正行為を検知することができる。 According to the present invention, it is possible to detect the fraud that is mistaken game media regular is used.

Claims (2)

遊技媒体を投入する投入口と、
前記投入口から投入された遊技媒体を検出する遊技媒体検出手段と、
遊技に関する制御を実行する第1制御部と、
遊技の演出に関する制御を実行する第2制御部と、
遊技媒体を貯留する貯留手段と、を備える遊技機であって、
前記遊技媒体検出手段は、
遊技媒体が通過する通路を形成する通路形成部と、
前記通路を移動する物体を検知する近接センサと、
前記通路を撮像する撮像手段と、
前記撮像手段を介して得られる画像データに基づいて、前記通路を通過する物体が正規の遊技媒体であるか否かを判定する遊技媒体判定手段と、
前記通路を通過する物体を前記貯留手段に導くガイド位置と、前記物体を遊技機外に排出する排出位置と、に移動可能に設けられたガイド手段と、
前記ガイド手段を駆動させる駆動手段と、
前記駆動手段を制御して、前記遊技媒体判定手段が前記通路を通過する物体が正規の遊技媒体であると判定するとき、前記ガイド手段を前記ガイド位置に移動させ、前記遊技媒体判定手段が前記通路を通過する物体が正規の遊技媒体でないと判定するとき、前記ガイド手段を前記排出位置に移動させる駆動制御手段と、
前記遊技媒体判定手段が前記通路を通過する物体が正規の遊技媒体でないと判定すると、所定の条件に応じて前記第2制御部にエラーを通知するエラー通知手段と、を有し、
前記第1制御部は、
前記近接センサの検知結果に基づいて遊技媒体のカウントを行い、
遊技媒体の投入を許可する状態のときは、投入許可の内容の信号を出力し、
遊技媒体の投入を許可する状態でないときは、投入不可の内容の信号を出力し、
前記第2制御部は、
前記エラー通知手段から通知されたエラーを報知し、
前記第1制御部から前記投入許可の内容の信号又は前記投入不可の内容の信号を検出すると、同内容の信号を前記駆動制御手段に出力し、
前記駆動制御手段は、前記第2制御部から出力された投入不可の内容の信号を検出すると、前記駆動手段を制御して、前記ガイド手段を前記排出位置に移動させ、
前記第2制御部から出力された投入許可の内容の信号を検出すると、前記駆動手段を制御して、前記ガイド手段を前記ガイド位置に移動させる
ことを特徴とする遊技機。
A slot for gaming media;
A game medium detecting means for detecting a game medium thrown from the slot;
A first control unit that executes control related to a game;
A second control unit that executes control related to the effect of the game;
A game machine comprising a storage means for storing game media,
The game medium detection means includes
A passage forming section for forming a passage through which game media pass;
A proximity sensor for detecting an object moving in the passage;
Imaging means for imaging the passage;
Game medium determination means for determining whether or not an object passing through the passage is a regular game medium based on image data obtained through the imaging means;
A guide means movably provided at a guide position for guiding an object passing through the passage to the storage means, and a discharge position for discharging the object out of the gaming machine;
Drive means for driving the guide means;
When the driving means is controlled so that the game medium determining means determines that the object passing through the passage is a regular game medium, the guide means is moved to the guide position, and the game medium determining means is Drive control means for moving the guide means to the discharge position when it is determined that the object passing through the passage is not a regular game medium;
An error notification means for notifying the second control unit of an error according to a predetermined condition when the game medium determination means determines that the object passing through the passage is not a regular game medium;
The first controller is
Based on the detection result of the proximity sensor, the game medium is counted,
When the game media is allowed to be inserted, a signal indicating the content of the input permission is output,
When it is not in a state that permits the insertion of game media, it outputs a signal indicating that it cannot be inserted,
The second controller is
Informing the error notified from the error notification means,
When detecting the signal of the content of permission of insertion or the signal of the content of impossible to input from the first control unit, the signal of the same content is output to the drive control means,
When the drive control means detects a signal indicating that the input cannot be performed and is output from the second control unit, the drive control means controls the drive means to move the guide means to the discharge position,
A gaming machine, wherein when the signal of the content of permission to be output outputted from the second control unit is detected, the driving means is controlled to move the guide means to the guide position.
前記遊技媒体検出手段は、前記第1制御部が前記近接センサの検知結果に基づいて投入された前記遊技媒体の異常を検知した場合にも、前記駆動制御手段を制御して前記ガイド手段を前記排出位置に移動させる
ことを特徴とする請求項1に記載の遊技機。
The game medium detection means controls the drive control means to control the guide means even when the first control unit detects an abnormality of the game medium input based on the detection result of the proximity sensor. The game machine according to claim 1, wherein the game machine is moved to a discharge position.
JP2016109463A 2016-05-31 2016-05-31 Game machine and game medium discrimination device Pending JP2017213207A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2016109463A JP2017213207A (en) 2016-05-31 2016-05-31 Game machine and game medium discrimination device
JP2020047246A JP6964701B2 (en) 2016-05-31 2020-03-18 Pachinko machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016109463A JP2017213207A (en) 2016-05-31 2016-05-31 Game machine and game medium discrimination device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2020047246A Division JP6964701B2 (en) 2016-05-31 2020-03-18 Pachinko machine

Publications (1)

Publication Number Publication Date
JP2017213207A true JP2017213207A (en) 2017-12-07

Family

ID=60576124

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016109463A Pending JP2017213207A (en) 2016-05-31 2016-05-31 Game machine and game medium discrimination device

Country Status (1)

Country Link
JP (1) JP2017213207A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004049421A (en) * 2002-07-18 2004-02-19 Olympia:Kk Game machine, program for the same, and computer-readable recording medium with the program recorded thereon
JP2006004315A (en) * 2004-06-21 2006-01-05 Kita Denshi Corp Slot machine
JP2006262956A (en) * 2005-03-22 2006-10-05 Aruze Corp Game machine and token sorting device
JP2007195605A (en) * 2006-01-24 2007-08-09 Olympia:Kk Game machine, and method and program for detecting fraud in game machine
JP2012000244A (en) * 2010-06-16 2012-01-05 Daito Giken:Kk Gaming machine

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004049421A (en) * 2002-07-18 2004-02-19 Olympia:Kk Game machine, program for the same, and computer-readable recording medium with the program recorded thereon
JP2006004315A (en) * 2004-06-21 2006-01-05 Kita Denshi Corp Slot machine
JP2006262956A (en) * 2005-03-22 2006-10-05 Aruze Corp Game machine and token sorting device
JP2007195605A (en) * 2006-01-24 2007-08-09 Olympia:Kk Game machine, and method and program for detecting fraud in game machine
JP2012000244A (en) * 2010-06-16 2012-01-05 Daito Giken:Kk Gaming machine

Similar Documents

Publication Publication Date Title
JP6679141B2 (en) Amusement machine
JP6823967B2 (en) Game machine
JP6823968B2 (en) Game machine and game medium discrimination device
JP6679138B2 (en) Amusement machine
JP6679136B2 (en) Amusement machine
JP6823970B2 (en) Game machine
JP6679139B2 (en) Amusement machine
JP6714376B2 (en) Amusement machine
JP6678014B2 (en) Gaming machine
JP2017136311A (en) Game machine
JP6964701B2 (en) Pachinko machine
JP6916923B2 (en) Pachinko machine
JP6785358B2 (en) Game machine and game medium discrimination device
JP6714375B2 (en) Gaming machine and gaming medium discrimination device
JP6974958B2 (en) Gaming machines and gaming devices
JP6812294B2 (en) Game machines and game equipment
JP6823969B2 (en) Game machine
JP6850554B2 (en) Game machine
JP6902908B2 (en) Gaming machines and gaming devices
JP6902907B2 (en) Gaming machines and gaming devices
JP6902909B2 (en) Gaming machines and gaming devices
JP6679137B2 (en) Amusement machine
JP6679140B2 (en) Amusement machine
JP2020099741A (en) Game machine
JP2017213207A (en) Game machine and game medium discrimination device

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20161212

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190305

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200121

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200117

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20200714