JP2018174980A - Game machine and game device - Google Patents

Game machine and game device Download PDF

Info

Publication number
JP2018174980A
JP2018174980A JP2017073872A JP2017073872A JP2018174980A JP 2018174980 A JP2018174980 A JP 2018174980A JP 2017073872 A JP2017073872 A JP 2017073872A JP 2017073872 A JP2017073872 A JP 2017073872A JP 2018174980 A JP2018174980 A JP 2018174980A
Authority
JP
Japan
Prior art keywords
medal
image data
determination
image
circuit
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.)
Granted
Application number
JP2017073872A
Other languages
Japanese (ja)
Other versions
JP6902907B2 (en
Inventor
邦広 真鍋
Kunihiro Manabe
邦広 真鍋
徹 菅原
Toru Sugawara
徹 菅原
洋一 小山
Yoichi Koyama
洋一 小山
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 JP2017073872A priority Critical patent/JP6902907B2/en
Publication of JP2018174980A publication Critical patent/JP2018174980A/en
Application granted granted Critical
Publication of JP6902907B2 publication Critical patent/JP6902907B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Slot Machines And Peripheral Devices (AREA)

Abstract

PROBLEM TO BE SOLVED: To detect a fraudulent act to cause false recognition that a normal game medium is being used.SOLUTION: Game medium determination means includes: image conversion means for converting image data to first image data, second image data, and third image data which are different from each other; first comparison result derivation means for comparing first template data created beforehand with the first image data, and deriving a first comparison result; second comparison result derivation means for comparing second template data created beforehand with the second image data, and deriving a second comparison result; and third comparison result derivation means for comparing third template data created beforehand with the third image data, and deriving a third comparison result. The game medium determination means determines whether or not an object passing through a passage is a normal game medium based on the first comparison result, the second comparison result, the third comparison result, and a determination threshold set beforehand.SELECTED DRAWING: Figure 35

Description

本発明は、遊技機及び遊技用装置に関する。   The present invention relates to a gaming machine and a gaming apparatus.

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

このような遊技機では、開始操作が検出されると、プログラム上で乱数を用いた抽籤処理(以下、「内部抽籤処理」という)が行われ、その抽籤の結果(以下、「内部当籤役」という)と停止操作のタイミングとに基づいてリールの回転の停止を行う。そして、全てのリールの回転が停止され、入賞の成立に係る図柄の組合せが表示されると、その図柄の組合せに対応する特典が遊技者に付与される。   In such a gaming machine, when the 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") Stop the rotation of the reel based on the timing of the stop operation). Then, when the rotation of all the reels is stopped and the combination of symbols relating to the establishment of the winning is displayed, a bonus corresponding to the combination of the symbols is given to the player.

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

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

また、特許文献2には、CCDカメラを用いて、投入された不適正メダル(不正メダル)の判定を行うスロットマシンが記載されている。   In addition, Patent Document 2 describes a slot machine that uses a CCD camera to determine an inserted improper medal (illegal medal).

特開2002−342814号公報JP 2002-342814 A 特開2006−271462号公報Unexamined-Japanese-Patent No. 2006-271462

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

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

また、特許文献2に記載されたスロットマシンよりも精度よく不正メダルを検知することが望まれている。   Further, it is desired to detect an incorrect medal more accurately than the slot machine described in Patent Document 2.

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

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

遊技媒体を投入する投入口(例えば、後述のメダル投入口21)と、
前記投入口から投入された遊技媒体を検出する遊技媒体検出手段(例えば、後述のメダルセレクタ201)と、を備え、
前記遊技媒体検出手段は、
遊技媒体が通過する通路を形成する通路形成部(例えば、後述のメダルレール210)と、
前記通路を撮像する撮像手段(例えば、後述のカメラユニット209)と、
前記撮像手段を介して得られる画像データに基づいて、前記通路を通過する物体が正規の遊技媒体であるか否かを判定する遊技媒体判定手段(例えば、後述の制御LSI234)と、を有し、
前記遊技媒体判定手段は、
前記画像データを、それぞれ異なる第1画像データ(例えば、後述の勾配平均画像データ)、第2画像データ(例えば、後述のHOGデータ)及び第3画像データ(例えば、後述のFFTデータ)に変換する画像変換手段(例えば、後述の画像認識アクセラレータ回路249)と、
予め生成された第1テンプレートデータと前記第1画像データとを比較し、第1比較結果を導出する第1比較結果導出手段(例えば、後述の勾配平均画像テンプレート比較処理を行う画像認識DSP回路242)と、
予め生成された第2テンプレートデータと前記第2画像データとを比較し、第2比較結果を導出する第2比較結果導出手段(例えば、後述のHOGテンプレート比較処理を行う画像認識DSP回路242)と、
予め生成された第3テンプレートデータと前記第3画像データとを比較し、第3比較結果を導出する第3比較結果導出手段(例えば、後述のFFTテンプレート比較処理を行う画像認識DSP回路242)と、を有し、
前記第1比較結果、前記第2比較結果及び前記第3比較結果と、予め設定した判定閾値と、に基づいて、前記通路を通過する物体が正規の遊技媒体であるか否かを判定する
ことを特徴とする遊技機。
An insertion slot (for example, a medal insertion slot 21 described later) for inserting game media;
A game medium detection unit (for example, a medal selector 201 described later) for detecting a game medium inserted from the insertion port;
The gaming medium detection means
A passage forming unit (for example, a medal rail 210 described later) which forms a passage through which game media pass;
An imaging unit (for example, a camera unit 209 described later) for imaging the passage;
Game medium determination means (for example, control LSI 234 described later) that determines whether or not an object passing through the passage is a legitimate game medium based on image data obtained through the imaging means ,
The gaming medium determination means
The image data is converted into different first image data (e.g. gradient average image data described later), second image data (e.g. HOG data described later) and third image data (e.g. FFT data described later) Image conversion means (for example, an image recognition accelerator circuit 249 described later);
First comparison result deriving means for comparing the first image data with the first template data generated in advance and deriving the first comparison result (for example, the image recognition DSP circuit 242 which performs gradient average image template comparison processing described later) )When,
Second comparison result deriving means (for example, an image recognition DSP circuit 242 performing HOG template comparison processing described later) for comparing the second image data with the second template data generated in advance and deriving a second comparison result ,
Third comparison result deriving means (for example, an image recognition DSP circuit 242 for performing FFT template comparison processing described later) for comparing the third image data with the third template data generated in advance and deriving the third comparison result And have
It is determined based on the first comparison result, the second comparison result and the third comparison result, and a preset determination threshold whether or not an object passing through the passage is a legitimate game medium. A game machine characterized by

遊技媒体を検出する遊技媒体検出手段を備え、
前記遊技媒体検出手段は、
遊技媒体が通過する通路を形成する通路形成部と、
前記通路を撮像する撮像手段と、
前記撮像手段を介して得られる画像データに基づいて、前記通路を通過する物体が正規の遊技媒体であるか否かを判定する遊技媒体判定手段と、を有し、
前記遊技媒体判定手段は、
前記画像データを、それぞれ異なる第1画像データ、第2画像データ及び第3画像データに変換する画像変換手段と、
予め生成された第1テンプレートデータと前記第1画像データとを比較し、第1比較結果を導出する第1比較結果導出手段と、
予め生成された第2テンプレートデータと前記第2画像データとを比較し、第2比較結果を導出する第2比較結果導出手段と、
予め生成された第3テンプレートデータと前記第3画像データとを比較し、第3比較結果を導出する第3比較結果導出手段と、を有し、
前記第1比較結果、前記第2比較結果及び前記第3比較結果と、予め設定した判定閾値と、に基づいて、前記通路を通過する物体が正規の遊技媒体であるか否かを判定する
ことを特徴とする遊技用装置。
A game medium detection unit for detecting game media;
The gaming medium detection means
A passage forming unit that forms a passage through which game media pass;
Imaging means for imaging the passage;
Game medium determination means for determining whether or not an object passing through the passage is a legitimate game medium based on image data obtained through the imaging means;
The gaming medium determination means
Image conversion means for converting the image data into different first image data, second image data and third image data;
First comparison result deriving means for comparing a first template data generated in advance with the first image data and deriving a first comparison result;
Second comparison result deriving means for comparing a second template data generated in advance with the second image data and deriving a second comparison result;
Third comparison result deriving means for comparing a third template data generated in advance with the third image data, and deriving a third comparison result;
It is determined based on the first comparison result, the second comparison result and the third comparison result, and a preset determination threshold whether or not an object passing through the passage is a legitimate game medium. A gaming apparatus characterized by

また、前記第1画像データは、前記画像データを回転させて累積した勾配平均画像データであり、前記第2画像データは、前記画像データをHOG(Histograms of Oriented Gradients)変換したHOGデータであり、前記第3画像データは、前記画像データをフーリエ変換したフーリエ変換データあってもよい。   The first image data is gradient average image data obtained by rotating and accumulating the image data, and the second image data is HOG data obtained by HOG (Histograms of Oriented Gradients) conversion of the image data, The third image data may be Fourier transform data obtained by Fourier transforming the image data.

本発明によれば、正規の遊技媒体が用いられていると誤認させる不正行為を検知することができる。   According to the present invention, it is possible to detect an illegal act that causes a player to be misidentified as using a legitimate game medium.

本発明の一実施形態の遊技機における機能フローを説明する説明図である。It is an explanatory view explaining a functional flow in a game machine of one embodiment of the present invention. 本発明の一実施形態の遊技機における外観構成例を示す斜視図である。It is a perspective view showing an example of appearance composition in a game machine of one embodiment of the present invention. 本発明の一実施形態の遊技機における内部構造を示すものであり、ミドルドアを閉じた状態の斜視図である。It is an internal structure in the game machine of one Embodiment of this invention, and is a perspective view of the state which closed the middle door. 本発明の一実施形態の遊技機における内部構造を示すものであり、ミドルドアを開けた状態の斜視図である。It is an internal structure in the game machine of one Embodiment of this invention, and is a perspective view of the state which opened the middle door. 本発明の一実施形態の遊技機におけるキャビネットの内部を示す説明図である。It is an explanatory view showing the inside of the cabinet in the game machine of one embodiment of the present invention. 本発明の一実施形態の遊技機におけるフロントドアの裏面側を示す説明図である。It is an explanatory view showing the back side of the front door in the game machine of one embodiment of the present invention. 本発明の一実施形態の遊技機におけるメダルセレクタを遊技機の斜め後方から見た斜視図である。It is the perspective view which looked at the medal selector in the game machine of one embodiment of the present invention from the slanting back of a game machine. 本発明の一実施形態の遊技機におけるメダルセレクタの分解図である。It is an exploded view of the medal selector in the game machine of one embodiment of the present invention. 本発明の一実施形態の遊技機におけるメダルセレクタを遊技機の斜め前方から見た斜視図である。It is the perspective view which looked at the medal selector in the game machine of one embodiment of the present invention from the slanting front of a game machine. 本発明の一実施形態の遊技機におけるメダルセレクタのベース板部の背面図である。It is a rear view of the base board part of the medal selector in the game machine of one embodiment of the present invention. 本発明の一実施形態の遊技機におけるメダルセレクタのセレクトプレートの斜視図である。It is a perspective view of the select plate of the medal selector in the game machine of one embodiment of the present invention. 発明の一実施形態の遊技機におけるメダルセレクタがメダルをホッパー装置へ案内する場合のメダルの経路を示す図である。It is a figure which shows the path | route of the medal | token in case the medal | token selector in the game machine of one Embodiment of invention guides a medal | token to a hopper apparatus. 発明の一実施形態の遊技機におけるメダルセレクタがメダルをメダルシュートに案内する場合のメダルの経路を示す図である。It is a figure which shows the path | route of the medal in case the medal selector in the game machine of one Embodiment of invention guides a medal to a medal chute. 本発明の一実施形態の遊技機における制御系を示すブロック図である。It is a block diagram showing a control system in a game machine of one embodiment of the present invention. 本発明の一実施形態の遊技機における主制御回路の構成例を示すブロック図である。It is a block diagram showing an example of composition of a main control circuit in a game machine of one embodiment of the present invention. 本発明の一実施形態の遊技機における副制御回路の構成例を示すブロック図である。It is a block diagram showing an example of composition of a sub control circuit in a game machine of one embodiment of the present invention. 本発明の一実施形態の遊技機におけるメダルセレクタの回路構成例を示すブロック図である。It is a block diagram showing an example of circuit composition of a medal selector in a game machine of one embodiment of the present invention. 本発明の一実施形態の遊技機における制御LSIの回路構成例を示すブロック図である。It is a block diagram showing an example of circuit composition of control LSI in a game machine of one embodiment of the present 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 projection conversion process in the game machine of one Embodiment of this invention, A shows an RGB Bayer image before projective conversion, B shows the RGB Bayer image after projective conversion. 本発明の一実施形態の遊技機における閾値グラフを説明するための図である。It is a figure for demonstrating the threshold value graph in the game machine of one Embodiment of this invention. 本発明の一実施形態の遊技機における判定領域を説明するための図(その1)である。It is a figure (the 1) for demonstrating the determination area | region in the game machine of one Embodiment of this invention. 本発明の一実施形態の遊技機における判定領域を説明するための図(その2)である。FIG. 16 is a second diagram illustrating the determination region in the gaming machine of the embodiment of the present invention. 本発明の一実施形態の遊技機における判定領域を説明するための図(その3)である。FIG. 21 is a third diagram illustrating the determination regions in the gaming machine of the embodiment of the present invention. 本発明の一実施形態の遊技機における判定領域を説明するための図(その4)である。FIG. 16 is a diagram (No. 4) for explaining the determination area in the gaming machine of one embodiment of the present invention. 本発明の一実施形態の遊技機におけるSRAMに記憶される判定領域判定結果データの一例を示す図である。It is a figure which shows an example of the determination area | region determination result data memorize | stored in SRAM in the game machine of one Embodiment of this invention. 本発明の一実施形態の遊技機におけるメダルカウント判定表を説明するための図である。It is a figure for demonstrating the medal | token 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 3 (sigma) correction processing in the game machine of one Embodiment of this 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 the circular area image data after 3 (sigma) correction processing typically, B shows the coefficient for edge image X, C indicates a coefficient for edge image Y. 本発明の一実施形態の遊技機に用いられる正規メダルの一例を示す図であり、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. 本発明の一実施形態の遊技機におけるFFT変換処理を説明するための図である。It is a figure for demonstrating the FFT conversion process in the game machine of one Embodiment of this invention. 本発明の一実施形態の遊技機における制御LSIが行う処理のフロー図である。It is a flowchart of a process which control LSI in a game machine of one embodiment of the present invention performs. 本発明の一実施形態の遊技機における制御LSIが行う処理のタイミングチャート(その1)である。It is a timing chart (the 1) of processing which control LSI in a game machine of one embodiment of the present invention performs. 本発明の一実施形態の遊技機における制御LSIが行う処理のタイミングチャート(その2)である。It is a timing chart (the 2) of processing which control LSI in a game machine of one embodiment of the present invention performs. 本発明の一実施形態の遊技機におけるテンプレート生成処理の一例を示すフローチャート(その1)である。It is a flowchart (the 1) which shows an example of the template production | generation processing in the game machine of one Embodiment of this invention. 本発明の一実施形態の遊技機におけるテンプレート生成処理の一例を示すフローチャート(その2)である。It is a flowchart (the 2) which shows an example of the template production | generation processing in the game machine of one Embodiment of this invention. 本発明の一実施形態の遊技機における本テンプレート更新処理の一例を示すフローチャートである。It is a flowchart which shows an example of this template update process in the game machine of one Embodiment of this invention. 本発明の一実施形態の遊技機における係数更新処理の一例を示すフローチャートである。It is a flowchart which shows an example of the coefficient update process in the game machine of one Embodiment of this invention. 本発明の一実施形態の遊技機における閾値平面を説明するための図である。It is a figure for demonstrating the threshold value plane in the game machine of one Embodiment of this invention. 本発明の変形例1の遊技機におけるメダルセレクタを説明するための図である。It is a figure for demonstrating the medal | token 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 | token selector in the game machine of the modification 2 of this invention. 本発明の変形例2の遊技機における制御LSIの回路構成例を示すブロック図である。FIG. 16 is a block diagram showing an example of a circuit configuration of a control LSI in a gaming machine of a second variation of the present invention. 本発明の変形例3の遊技機におけるメダルセレクタの回路構成例を示すブロック図である。It is a block diagram which shows the circuit structural example of the medal | token 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 photosensor of the medal selector in the game machine of modification 3 of this invention. 本発明の変形例3の遊技機におけるセレクタ監視機能を説明するための説明図である。FIG. 21 is an explanatory view for explaining a selector monitoring function in the gaming machine of Modification 3 of the present invention. 本発明の変形例3の遊技機におけるエラーマスク機能を説明するためのタイミングチャートである。It is a timing chart for explaining the error mask function in the game machine of modification 3 of the present invention. 本発明の変形例4の遊技機におけるメダルセレクタの回路構成例を示すブロック図である。FIG. 21 is a block diagram showing an example of a circuit configuration of a medal selector in a gaming machine according to a fourth variation of the present invention. 本発明の変形例5の遊技機におけるメダルセレクタの背面図である。It is a rear view of the medal selector in the game machine of modification 5 of the present invention. 本発明の変形例5の遊技機におけるメダルセレクタの回路構成例を示すブロック図である。FIG. 21 is a block diagram showing an example of a circuit configuration of a medal selector in a gaming machine according to a fifth variation of the present invention. 本発明の変形例6の遊技機におけるメダルセレクタの回路構成例を示すブロック図である。FIG. 21 is a block diagram showing an example of a circuit configuration of a medal selector in a gaming machine of Modification 6 of the present invention. 本発明の実施形態の応用例1に係る遊技用装置を上面から見た平面図である。It is the top view which looked at the game device concerning the application example 1 of embodiment of this invention from the upper surface. 本発明の実施形態の応用例2に係る遊技用装置の内部構成を示す斜視図である。FIG. 16 is a perspective view showing an internal configuration of a game device according to an application example 2 of the embodiment of the present invention. 本発明の実施形態の応用例2に係る計数用ホッパの断面図である。It is sectional drawing of the hopper for counting which concerns on the application example 2 of embodiment of this invention. 本発明の実施形態の応用例3に係る遊技用装置の内部構造例を示す斜視図である。It is a perspective view showing an example of internal structure of a game device concerning application example 3 of an embodiment of the present invention.

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

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

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

内部抽籤手段は、抽出された乱数値に基づいて抽籤を行い、内部当籤役を決定する。この内部抽籤手段は、後述する主制御回路が担う。内部当籤役の決定により、後述の入賞判定ラインに沿って表示を行うことを許可する図柄の組合せが決定される。なお、図柄の組合せの種別としては、メダルの払い出し、再遊技の作動、ボーナスの作動等といった特典が遊技者に与えられる「入賞」に係るものと、それ以外のいわゆる「ハズレ」に係るものとが設けられている。   The internal lottery means performs lottery based on the extracted random number value to determine an internal winning combination. The internal lottery means is carried by a main control circuit described later. By the determination of the internal winning combination, a combination of symbols permitting display along the later-described winning determination line is determined. In addition, as a classification of combination of the symbol, it is something which relates to the “prize” to which the player is given a privilege such as payout of medals, operation of replay, activation of bonus, etc. Is provided.

また、スタートレバーが操作されると、複数のリールの回転が行われる。その後、遊技者により所定のリールに対応するストップボタンが押されると、リール停止制御手段は、内部当籤役とストップボタンが押されたタイミングとに基づいて、該当するリールの回転を停止する制御を行う。このリール停止制御手段は、後述する主制御回路が担う。   In addition, when the start lever is operated, rotation of the plurality of reels is performed. 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 carried by a main control circuit described later.

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

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

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

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

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

演出内容が決定されると、演出実行手段は、リールの回転開始時、各リールの回転停止時、入賞の有無の判定時等の各契機に連動させて対応する演出を実行する。このように、パチスロでは、内部当籤役に対応づけられた演出内容を実行することによって、決定された内部当籤役(言い換えると、狙うべき図柄の組合せ)を知る機会又は予想する機会が遊技者に提供され、遊技者の興味の向上を図ることができる。   When the contents of the effect are determined, the effect executing means interlocks with respective triggers such as the start of the rotation of the reels, the stop of the rotations of the respective reels, the determination of the presence or absence of winning, etc. to execute the corresponding effects. Thus, in Pachislot, the player has an opportunity or opportunity to know the determined internal winning combination (in other words, the combination of the symbols to be aimed) by executing the presentation content associated with the internal winning combination. Thus, the player's interest can be improved.

<パチスロの構造>
次に、図2〜図6を参照して、一実施形態におけるパチスロ1の構造について説明する。
<Structure of Pachislot>
Next, the structure of the pachi slot 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 has a cabinet 2a that accommodates a hopper device 51 described later, a medal auxiliary storage 52 and the like (see FIG. 5), and a front door 2b attached to the cabinet 2a so as to be able to open and close. Handles 7 are provided on both side surfaces of the cabinet 2a (only the handle 7 on one side is shown in FIG. 2). The handle 7 is a concave portion which is used when carrying the pachislot 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 of the reels 3L, 3C, 3R has a cylindrical reel body and a translucent sheet material mounted on the peripheral surface of the reel body. On the surface of the sheet material, a plurality of (for example, 20) designs are drawn at predetermined intervals along the circumferential direction.

フロントドア2bは、ドア本体9と、フロントパネル10と、表示装置の一具体例を示す液晶表示装置11とを備えている。   The front door 2 b includes a door body 9, a front panel 10, and a liquid crystal display device 11 showing one 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 top of the door body 9. The liquid crystal display device 11 includes a display unit (display screen) 11 a, and the liquid crystal display device 11 is used to execute effects 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. The front panel 10 is provided with a lamp group 18. The lamp group 18 is configured of an LED (Light Emitting Diode) or the like, and lights and extinguishes light in a pattern corresponding to the contents of effects.

フロントドア2bの中央には、台座部12が形成されている。この台座部12には、図柄表示領域4と、遊技者による操作の対象となる各種装置が設けられている。   A pedestal 12 is formed at 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 disposed on the front side overlapping 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 serves as a display window, and is configured to be able to transmit the respective reels 3L, 3C, 3R provided behind it. 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 rotation of the reels 3L, 3C and 3R provided behind the reel display window 4 is stopped, the upper, middle and lower stages in the frame of the plural types of symbols of the respective reels 3L, 3C and 3R One symbol (3 in total) is displayed in each area of. In the present embodiment, it is determined whether or not a pseudo line constituted by combining any one of three predetermined areas among the upper, middle and lower regions of the reel display window 4 is to be won or not. It defines as a line (winning determination line) which becomes.

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

情報表示窓14は、リール表示窓4の下部に連続して設けられており、上方に向かって開口している。すなわち、リール表示窓4と情報表示窓14は、連続する1つの開口部として形成されている。この情報表示窓14及びリール表示窓4は、透明の窓カバー16によって覆われている。   The information display window 14 is provided continuously to the lower part of 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 by 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 can not be removed from the front surface side of the front door 2b. Further, the frame member 13 has a sheet placement portion 17 facing the opening of the information display window 14 with the window cover 16 interposed therebetween. Then, between the sheet placement unit 17 and the window cover 16, a sheet member (information sheet) in which information about the game is described is disposed. Therefore, the information sheet is covered by the window cover 16 having a smooth surface without unevenness and gaps.

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

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

ストップボタン19L,19C,19Rは、遊技者による操作の対象となる各種装置の一例を示す。また、台座部12には、遊技者による操作の対象となる各種装置として、メダル投入口21、BETボタン22、スタートレバー23が設けられている。   The stop buttons 19L, 19C, 19R show examples of various devices to be operated by the player. Further, the pedestal portion 12 is provided with a medal insertion 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 insertion slot 21 is provided to receive medals dropped from the outside by the player. The medals accepted in the medal insertion slot 21 will be inserted into one game with a predetermined number (for example, 3 sheets) as the upper limit, and the amount exceeding the specified number will be deposited inside the pachislot 1 It becomes possible (so-called credit function).

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

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

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

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

[内部構造]
図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. In FIG. 3, 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. Moreover, in FIG. 4, the front door 2b is open | released and the state which the middle door 41 opened with respect to the front door 2b is shown.
FIG. 5 is an explanatory view 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 has a top plate 20a, a bottom plate 20b, left and right side plates 20c and 20d, and a back plate 20e (see FIG. 5). The cabinet side speaker 42 is arrange | positioned by the upper side inside cabinet 2a. The cabinet-side speaker 42 is attached to the back plate 20e of the cabinet 2a via the mounting 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、メダル補助収納庫スイッチ(不図示)、メダル払出カウントスイッチ(不図示)とを接続する配線の中継を行う。   The 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) 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 medal payout Relay the wiring connecting the count switch (not shown).

キャビネット2a内部の中央部には、キャビネット側スピーカ42による音の出力を制御するアンプ基板45が配設されている。このアンプ基板45は、左右の側面板20c,20dに固定された取付棚46に取り付けられている。   At a central portion inside the cabinet 2a, an amplifier substrate 45 for controlling the output of sound from the cabinet side speaker 42 is disposed. The amplifier substrate 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, when the inside of the cabinet 2a is viewed from the front, an external concentrated terminal plate 47 is disposed on the right side of the amplifier substrate 45 (see FIG. 5). The external concentrated terminal plate 47 is attached to the right side plate 20d of the cabinet 2a. The external concentrated terminal plate 47 is provided to output signals such as a medal insertion signal, a medal payout signal, and a security signal to the outside of the pachi-slot 1.

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

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

ホッパー装置51(貯留手段)は、キャビネット2aにおける底面板20bの中央部に取り付けられている。このホッパー装置51は、多量のメダルを収容可能であり、それらを1枚ずつ排出可能な構造を有する。ホッパー装置51は、例えば、精算ボタン27(図2参照)が押圧されてパチスロ内部に預けられているメダルの精算を行うときに、収容したメダルをクレジット枚数分排出する。ホッパー装置51によって払い出されたメダルは、メダル払出口32(図2参照)から排出される。   The hopper device 51 (storage means) is attached to the central portion of the bottom plate 20b of 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 deposited inside the pachislot, the hopper device 51 discharges the accommodated medals by the number of credits. The medals paid out by the hopper device 51 are discharged from the medal payout opening 32 (see FIG. 2).

メダル補助収納庫52は、ホッパー装置51から溢れ出たメダルを収納する。このメダル補助収納庫52は、キャビネット2a内部を正面から見て、ホッパー装置51の右側に配置されている。メダル補助収納庫52は、キャビネット2aの底面板20bに係合されており、底面板20bに対して着脱可能に構成されている。   The medal auxiliary storage 52 stores the 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 removable 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 substrate 53b (see FIG. 14). The power supply device 53 converts the power of the AC voltage 100 V supplied from the sub power supply device 48 into the power of the required DC voltage at 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 disposed at the center of the back of the front door 2b, and is configured to be able to open and close the reel display window 4 (see FIG. 4) from the back. Door stoppers 41a, 41b and 41c are provided at the upper and lower portions of the middle door 41, respectively. The door stoppers 41a, 41b and 41c fix (prohibit) the opening operation of the middle door 41 in a state in which 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 fixation of the middle door 41.

ミドルドア41には、主制御基板71(図14参照)を収納した主制御基板ケース55と、3つのリール3L,3C,3Rが取り付けられている。3つのリール3L,3C,3Rには、所定の減速比をもったギアを介してステッピングモータが接続されている。   On the middle door 41, a main control board case 55 housing a main control board 71 (see FIG. 14) and three reels 3L, 3C, 3R are attached. A stepping motor is connected to the three reels 3L, 3C, 3R via gears having a predetermined speed 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 pachi slot 1 or confirming the setting of the pachi slot 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 housed in the main control board case 55.

主制御基板ケース55に収納された主制御基板71(第1制御部)は、後述する主制御回路91(図15参照)を構成する。主制御回路91は、内部当籤役の決定、リール3L,3C,3Rの回転及び停止、入賞の有無の判定といった、パチスロ1における遊技の主な流れを制御する回路である。主制御回路91の具体的な構成は後述する。   The main control board 71 (first control unit) housed 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 internal winning combinations, rotation and stop of the reels 3L, 3C, 3R, and determination of the presence or absence of a prize. The specific configuration of the main control circuit 91 will be described later.

ミドルドア41の上方には、副制御基板72(図14参照)を収容する副制御基板ケース57が配設されおり、副制御基板ケース57の上方には、センタースピーカ58が配設されている。副制御基板ケース57に収納された副制御基板72は、副制御回路101(図16参照)を構成する。この副制御回路101(第2制御部)は、映像の表示等による演出の実行を制御する回路である。副制御回路101の具体的な構成は後述する。   Above the middle door 41, a sub control board case 57 for accommodating the sub control board 72 (see FIG. 14) is disposed, and above the sub control board case 57, a center speaker 58 is disposed. The sub control board 72 housed in the sub control board case 57 constitutes a sub control circuit 101 (see FIG. 16). The sub control circuit 101 (second control unit) is a circuit that controls execution of effects by displaying an image or the like. The 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が挙げられる。   When the front door 2b is viewed from the back side, a sub relay board 61 is disposed on the right side of the sub control board case 57. The sub relay board 61 relays a wire connecting the sub control board 72 and the main control board 71. In addition, it is a board which relays the wiring connecting 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 substrates 62A, 62B, and 62C are disposed on both sides of the sub control substrate case 57 as viewed from the back surface side of the front door 2b. These LED boards 62A, 62B, 62C are a plurality of LEDs (Light Emitting Diodes) 85 (see FIG. 14) showing one specific example of the light source according to the effects executed by the control of the sub control circuit 101 (see FIG. 16). ) To light and display a blinking pattern. The pachi slot 1 of the present embodiment is provided with a plurality of LED substrates in addition to the LED substrates 62A, 62B and 62C.

副中継基板61の下方には、24hドア開閉監視ユニット63が配設されている。この24hドア開閉監視ユニット63は、ミドルドア41の開閉の履歴を保存する。また、ミドルドア41を開放したときに、液晶表示装置11にエラー表示を行うための信号を副制御基板72(副制御回路101)に出力する。   Below the sub relay board 61, a 24h door open / close monitoring unit 63 is disposed. The 24h door opening and closing monitoring unit 63 stores the history of the opening and closing 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 disposed. 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).

下部スピーカ65Lの上方には、メダルセレクタ201と、メダルシュート202と、ドア開閉監視スイッチ67と、が配設されている。メダルセレクタ201は、メダルの材質や形状等が適正であるか否かを判別する装置であり、メダル投入口21に投入されたメダルを、スロープ203を介してホッパー装置51へ案内し、又はメダルシュート202へ案内する。メダルセレクタ201の具体的な構成については後述する。   A medal selector 201, a medal chute 202, and a door open / close monitoring switch 67 are disposed above the lower speaker 65L. The medal selector 201 is a device that determines whether or not the material, shape, and the like 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. The 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 tubular member, and guides the medal guided by the medal selector 201 and the medal discharged from the hopper device 51 to the medal payout port 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 2 b 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等を挙げることができる。   A door relay terminal plate 68 is disposed below the reel display window 4 and in an area opened and closed by the middle door 41 (see FIG. 4). The door relay terminal board 68 includes the main control board 71 (see FIG. 14) in the main control board case 55, various buttons and switches, the sub control board 72 (see FIG. 14), the medal selector 201 and the game operation display board It is a board which relays wiring with 81 (see 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 described later, and a start switch 79.

<メダルセレクタの構成>
次に、図7〜図13を参照して、メダルセレクタ201の具体的な構成について説明する。図7は、メダルセレクタ201をパチスロ1の斜め後方から見た斜視図であり、メダルセレクタ201に固定されるカバー部材240を外した態様を示している。図8は、メダルセレクタ201の分解図である。図9は、メダルセレクタ201をパチスロ1の斜め前方から見た斜視図である。図10は、メダルセレクタ201の後述するベース板部204の背面図である。図11は、メダルセレクタ201の後述するセレクトプレート207の斜視図である。図12は、メダルセレクタ201がメダルをホッパー装置51へ案内する場合のメダルの経路を示す図である。図13は、メダルセレクタ201がメダルをメダルシュート202に案内する場合のメダルの経路を示す図である。なお、図7〜図13に示す矢印Xはパチスロ1の左右方向を示し、矢印Yはパチスロ1の前後方向を示し、矢印Zは上下方向を示す。なお、本実施形態のメダルセレクタ201並びに後述する各変形例におけるメダルセレクタ301,メダルセレクタ401、メダルセレクタ501、メダルセレクタ601、メダルセレクタ701及びメダルセレクタ801のそれぞれは、遊技媒体検出手段を構成する。
<Configuration of medal selector>
Next, the specific configuration of the medal selector 201 will be described with reference to FIGS. 7 to 13. FIG. 7 is a perspective view of the medal selector 201 as viewed obliquely from the rear of the pachislot 1 and shows an aspect in which the cover member 240 fixed to the medal selector 201 is removed. FIG. 8 is an exploded view of the medal selector 201. As shown in FIG. FIG. 9 is a perspective view of the medal selector 201 as viewed obliquely from the front of the pachislot 1. FIG. 10 is a rear view of a base plate portion 204 of the medal selector 201 described later. FIG. 11 is a perspective view of a select plate 207 of the medal selector 201 described later. FIG. 12 is a diagram showing a path of medals when the medal selector 201 guides the medals to the hopper device 51. As shown in FIG. FIG. 13 is a diagram showing the path of the medal when the medal selector 201 guides the medal to the medal shoot 202. In addition, arrow X shown to FIGS. 7-13 shows the left-right direction of pachislot 1, arrow Y shows the front-back direction of pachislot 1, and arrow Z shows an up-down direction. The medal selector 201 of this embodiment and the medal selector 301, the medal selector 401, the medal selector 501, the medal selector 601, the medal selector 601, the medal selector 701, and the medal selector 801 in each of the modifications described later constitute gaming medium detection means. .

図7〜図9に示すように、メダルセレクタ201は、ベース板部204と、サブプレート205と、キャンセルシュータ206と、セレクトプレート207(ガイド手段)と、メダルソレノイド208(駆動手段、図9参照)、カメラユニット209(撮像手段)と、を備えている。また、図7に示すように、メダルセレクタ201には、メダルセレクタ201のパチスロ1の前後方向の後側を覆うカバー部材240が固定されている。図7では、メダルセレクタ201から取り外したカバー部材240を破線で示している。カバー部材240は、メダルセレクタ201におけるパチスロ1の前後方向の後側を覆う閉鎖状態と、同後側を露出する開放状態に設定可能である。   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 (guide means), and a medal solenoid 208 (drive means, see FIG. 9). And a camera unit 209 (imaging means). Further, as shown in FIG. 7, a cover member 240 that covers the rear side in the front-rear direction of the pachislot 1 of the medal selector 201 is fixed to the medal selector 201. In FIG. 7, the cover member 240 removed from the medal selector 201 is indicated by a broken line. The cover member 240 can be set in a closed state that covers the rear side in the front-rear direction of the pachislot 1 in the medal selector 201 and an open state in which the rear side is exposed.

ベース板部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 casing of the medal selector 201, and is molded such that both ends in the left-right direction of the pachi slot 1 are bent rearward of the pachi slot 1. The base plate portion 204 has a rear surface 204b which is one plane orthogonal to the longitudinal direction of the pachi slot 1 and a front surface 204a (see FIG. 9) which is the other plane. A medal rail 210 (passage forming portion) is formed in a substantially L shape on the rear surface 204 b so as to be recessed forward of the pachi slot 1. A plurality of protruding portions 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 an upper end portion of the base plate portion 204, a medal inlet portion 211 for receiving a medal inserted from the medal insertion slot 21 (see FIG. 2) is provided. The medals inserted into the medal selector 201 from the medal entrance portion 211 move downward from above along the medal rails 210. At the lower part of the base plate portion 204, a medal outlet portion 204c (see FIG. 8) is provided. The medals moved in the medal selector 201 are discharged from the medal outlet portion 204c and accommodated in the hopper device 51 through 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 biased 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 which is not a proper material among the medals moving on the medal rail 210.

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

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

基準マーカー260は、上部基準マーカー261と、下部基準マーカー262とからなり、上部基準マーカー261は、メダルレール210の上部で、傾斜しながら、左右方向に3つ並ぶように配置されている。また、下部基準マーカー262は、メダルレール210の下部で、傾斜しながら左右方向に3つ並ぶように配置されている。   The fiducial markers 260 are composed of an upper fiducial marker 261 and a lower fiducial marker 262, and the upper fiducial markers 261 are arranged at the upper part of the medal rail 210 so as to line up three in the lateral direction while tilting. Further, three lower reference markers 262 are arranged at the lower part of the medal rail 210 so as to line up 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 brightness of the pixel at the position where the reference marker 260 is formed, and the brightness of the pixel at the position where the reference marker 260 is not formed. Are formed so as to differ by a predetermined value or more. In the present embodiment, each reference marker 260 is formed by forming a triangular hole in the medal rail 210. The formation mode of the reference marker 260 is not limited to this, and the shape of the hole can be appropriately selected. Also, for example, the reference marker 260 may be formed on the medal rail 210 by printing a graphic having a color different from that 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 main body 208a, and one end and another end are movable plate portions 208b supported so as to be movable in the front and rear direction. Is equipped. The after medal pressure 218 is rotatably supported on the front surface 204 a of the base plate portion 204. When the front end of the after medal pressure 218 is pushed to the rear of the pachislot 1 by the movable plate portion 208 b of the medal solenoid 208, the after medal pressure 218 rotates and the rear end of the after medal pressure 218 is exposed to the upper exposed 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 such that both ends in the left-right direction of the pachi slot 1 are bent in front of the pachi slot 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 the medal outlet portion 204c to the medal shoot 202 (see FIG. 4). At an upper portion of a substantially central portion in the left-right direction of the cancel shooter 206, a cut-out portion 206a cut out in a substantially rectangular shape is formed below.

また、キャンセルシュータ206には、報知用LED206cが設けられている。報知用LED206cは、後述するAE補正処理においてエラーが発生した旨を点灯して報知する報知手段を構成する。   The cancel shooter 206 is provided with a notification LED 206c. The notification LED 206c configures notification means to light up and notify that an error has occurred in the AE correction processing 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 the rear. The sub plate 205 has a flat plate-like main body portion 221 and a shaft portion 222 provided on the upper portion of the main body portion 221. A through hole 221 a 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 a substantially central portion of the medal rail 210 from the through hole 221 a.

軸部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 rotatably around 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 by the biasing force of the coil spring 223. At this time, a space through which the medal can pass is formed between the sub plate 205 and the upper portion of the medal rail 210 covered by the sub plate 205. That is, the sub plate 205 functions as a guide plate for passing the medals.

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

図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 for guiding a medal moving in a substantially central portion of the medal rail 210 not covered by the sub plate 205. As shown in FIG. 11, in the select plate 207, a pair of bearing portions formed by bending the substantially trapezoidal plate-like plate main body 224 and both lateral ends of the plate main body 224 forward of the pachi slot 1. 225, and. Further, at the upper portion of the plate main body 224, a flange portion 226 formed by bending the pachi slot 1 forward and bending its rear end upward is formed. Further, on one of the bearing portions 225, a medal stopper portion 227 extending downward is formed.

図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 pachi slot 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 to the front of the pachi slot 1. The flange portion 226 is in contact with one end of the movable plate portion 208 b of the medal solenoid 208. When the medal solenoid 208 is in the ON state, the flange portion 226 is pressed by one end of the movable plate portion 208 b of the medal solenoid 208 and moves to the rear of the pachi slot 1 against the biasing force of the coil spring 229. The rotational 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 can guide the hopper device 51 without discharging the medal to the cancel shooter 206 side. Also, 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参照)から露出する。   Further, when the medal solenoid 208 is in the OFF state, the flange portion 226 is released from the pressure of the medal solenoid 208 and moved to the front of the pachi slot 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 ejection position and the medal rail 210 is set to be longer than a predetermined distance. At this time, it is pressed by the flange portion 226 moving forward of the pachi slot 1, and one end of the movable plate portion 208 b of the medal solenoid 208 moves forward of the pachi slot 1. Along with this, the other end of the movable plate portion 208b of the medal solenoid 208 moves to the rear of the pachi slot 1 and presses the front end 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 portion 227 does not protrude from the lower exposure hole 220 (see FIG. 8) when the select plate 207 is in the guide position, and protrudes from the lower exposure hole 220 when in the discharging 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 satisfies the standard size, the select plate 207 at the guide position contacts the upper portion of the moving medal, and the medal exits the medal outlet portion 204c (see FIG. 8). Guide to). The medal, when being guided by the select plate 207, pushes the medal pressure 213 to the front of the pachi slot 1. In FIG. 12, the sub plate 205 of the medal selector 201 and the cancel shooter 206 are not shown.

一方、図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, in the select plate 207 at the discharge position, the distance between the plate body 224 and the medal rail 210 is large even when the medal moving on the medal rail 210 satisfies the standard dimensions. Therefore, the medal can not be guided to the medal exit portion 204c (see FIG. 8). Further, the medal is pushed out to the medal pressure 213, the after medal pressure 218 projecting from the upper exposure hole 219, or the medal stopper portion 227 projecting from the lower exposure hole 220, and is discharged toward the cancel shooter 206. In FIG. 13, the sub plate 205 of the medal selector 201 and the cancel shooter 206 are not shown, as in FIG. 12.

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

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

図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). Whether an object moving on the medal rail 210 is a regular medal or not And outputs the result of the determination 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) communicably and controllably connected to the CMOS image sensor 232 and the LED 233.

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

カメラユニット209は、キャンセルシュータ206の上部の切欠き部206aの周囲に設けられたビス穴206bに、第1の基板230がビス止めされることで、固定されている。   The camera unit 209 is fixed by screwing the first substrate 230 in a screw hole 206 b provided around the notch 206 a 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 captures an image of the imaging area A1 (see FIG. 10) on the medal rail 210 via the notch 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 surface light around the CMOS image sensor 232 and applies light to an object moving on the medal rail 210. The control LSI 234 (see FIG. 17) 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 outputs the determination result to the main control circuit 91. Do. In the present embodiment, the mode is described in which the camera unit 209 is fixed to the cancel shooter 206 by screwing in the screw holes 206b formed around the notch 206a, but the fixing mode of the camera unit is limited to this. I will not. For example, a mounting rail is provided between the first substrate 230 and the second substrate 231, and a recess is provided in the upper portion of the cancel shooter 206, and the mounting rail is fitted in the recess. May be fixed with screws or an adhesive.

<パチスロが備える回路の構成>
次に、パチスロ1が備える回路の構成について、図14〜図18を参照して説明する。 まず、図14を参照してパチスロ1が備える回路全体の概要について説明する。図14は、パチスロ1が備える回路全体のブロック構成図である。
<Circuit configuration of pachislot>
Next, the configuration of the circuit included in the pachi slot 1 will be described with reference to FIGS. 14 to 18. First, an overview of the entire circuit provided in the pachi slot 1 will be described with reference to FIG. FIG. 14 is a block diagram of the entire circuit provided in the pachi slot 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 in the middle door 41 and a sub control board 72 disposed in the front door 2b.
The main control board 71 includes a reel relay terminal board 74, a setting key type switch 56, an external concentrated terminal board 47, a hopper device 51, a medal auxiliary storage switch 75, and a power supply board 53b of the power supply device 53. It is connected. The setting key type switch 56, the external concentrated terminal plate 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. The external concentrated terminal plate 47 and the hopper device 51 have been described above, and thus the description thereof is omitted.

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

メダル補助収納庫スイッチ75は、メダル補助収納庫52のスイッチ貫通孔(非表示)を貫通している。このメダル補助収納庫スイッチ75は、メダル補助収納庫52がメダルで満杯になっているか否かを検出する。   The medal auxiliary storage switch 75 penetrates a switch through hole (not shown) of the medal auxiliary storage 52. The medal auxiliary storage switch 75 detects whether 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 substrate 53 b of the power supply device 53. The power switch 53a is turned on when the necessary power is supplied to the pachi slot 1.

また、主制御基板71には、ドア中継端子板68を介して、メダルセレクタ201、ドア開閉監視スイッチ67、BETスイッチ77、精算スイッチ78、スタートスイッチ79、ストップスイッチ基板80、遊技動作表示基板81及び副中継基板61が接続されている。ドア開閉監視スイッチ67及び副中継基板61については、上述したため、説明を省略する。メダルセレクタ201の回路構成については後述する。   Further, on the main control board 71, via the door relay terminal board 68, the medal selector 201, the door open / close monitoring switch 67, the BET switch 77, the settlement switch 78, the start switch 79, the stop switch board 80, and the game operation display board 81 And the sub relay board 61 are connected. The door open / close monitoring switch 67 and the sub relay board 61 have been described above, so the description 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 player has operated the start lever 23 (start operation).

ストップスイッチ基板80は、回転しているリールを停止させるための回路と、停止可能なリールをLEDなどにより表示するための回路を構成する基板である。このストップスイッチ基板80には、ストップスイッチが設けられている。ストップスイッチは、各ストップボタン19L,19C,19Rが遊技者により押されたこと(停止操作)を検出する。   The stop switch board 80 is a board that constitutes a circuit for stopping a rotating reel and a circuit for displaying a stoppable 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 the three reels 3L, 3C, 3R can be turned and replay is performed when accepting the insertion of medals. It is a substrate for 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 indicating the start of a game, a mark to be played again, and the like.

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

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

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

<主制御回路>
次に、主制御基板71により構成される主制御回路91について、図15を参照して説明する。
図15は、パチスロ1の主制御回路91の構成例を示すブロック図である。
<Main control circuit>
Next, the main control circuit 91 configured by the main control board 71 will be described with reference to FIG.
FIG. 15 is a block diagram showing 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 mainly includes a microcomputer 92 installed on the main control board 71. The microcomputer 92 includes a main CPU 93, a main ROM 94 and a main RAM 95. The main CPU 93 and the above-described hopper device 51 constitute a gaming 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 (for example, a program for executing the above-mentioned internal lottery process) executed by the main CPU 93, 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 the execution of the control program.

メインCPU93には、クロックパルス発生回路96、分周器97、乱数発生器98及びサンプリング回路99が接続されている。クロックパルス発生回路96及び分周器97は、クロックパルスを発生する。メインCPU93は、発生されたクロックパルスに基づいて、制御プログラムを実行する。乱数発生器98は、予め定められた範囲の乱数(例えば、0〜65535)を発生する。サンプリング回路99は、発生された乱数の中から1つの値を抽出する。   To the main CPU 93, a clock pulse generation circuit 96, a frequency divider 97, a random number generator 98 and a sampling circuit 99 are connected. Clock pulse generation circuit 96 and frequency divider 97 generate clock pulses. The main CPU 93 executes the control program based on the generated clock pulse. The random number generator 98 generates a predetermined range of random numbers (e.g., 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 of pulse output to the stepping motor of each of the reels 3L, 3C, 3R after detecting the reel index. Thus, the main CPU 93 manages the rotation angles of the respective reels 3L, 3C, 3R (mainly, how many reels have been rotated).
The reel index is information indicating that the reel has made one rotation. The reel index is provided, for example, at a predetermined position of each of the reels 3L, 3C, 3R, and an optical sensor having a light emitting part and a light receiving part. Detection is performed by a reel position detection unit (not shown) provided with a detection piece interposed therebetween.

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

つまり、本実施の形態では、図柄カウンタを管理することにより、リールインデックスが検出されてから図柄何個分の回転が行われたのかを管理するようになっている。したがって、各リール3L,3C,3Rの各図柄の位置は、リールインデックスが検出される位置を基準として検出される。   That is, in the present embodiment, by managing the symbol counter, it is managed to manage how many symbols have been rotated since the reel index was detected. Therefore, the position of each symbol of 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 determined to be four symbols, the symbols of the left reel 3L in the middle of the reel display window 4 and its four when the left stop button 19L is pressed Each symbol within the range to the previous symbol is a symbol that can be stopped at the middle of the reel display window 4.

<副制御回路>
次に、副制御基板72により構成される副制御回路101について、図16を参照して説明する。
図16は、パチスロ1の副制御回路101の構成例を示すブロック図である。
<Sub control circuit>
Next, the sub control circuit 101 configured by the sub control board 72 will be described with reference to FIG.
FIG. 16 is a block diagram showing a configuration example of the sub control circuit 101 of the pachislot 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 effects based on commands 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 response to 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等のスピーカによる音の出力を制御する音声制御タスク等が含まれる。   The program storage area stores a control program to be executed by the sub CPU 102. For example, in the control program, a main board communication task for controlling communication with the main control circuit 91, and a random number value for effect extraction, and an effect registration task for determining and registering effect contents (effect data) Is included. In addition, a drawing control task that controls the display of an image by the liquid crystal display device 11 (see FIG. 2) based on the determined effect content, a lamp control task that controls the output of light by a light source such as an LED 85, , An audio control task for controlling the output of sound from the speaker such as 65R, and the like.

データ記憶領域は、各種データテーブルを記憶する記憶領域、各演出内容を構成する演出データを記憶する記憶領域、映像の作成に関するアニメーションデータを記憶する記憶領域が含まれている。また、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 relating to creation of a video. Also, a storage area for storing sound data relating to BGM and sound effects, a storage area for storing lamp data relating to a light on / off pattern, and the like are included.

サブRAM103は、決定された演出内容や演出データを登録する格納領域や、主制御回路91から送信される内部当籤役等の各種データを格納する格納領域が設けられている。   The sub RAM 103 is provided with a storage area for registering the determined effect contents and effect 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 an image according to the animation data specified by the effect content, and cause the liquid crystal display device 11 to display the created image.

また、サブCPU102は、演出内容により指定されたサウンドデータに従ってBGMなどの音をスピーカ58,64,65L,65R等のスピーカにより出力させる。また、サブCPU102は、演出内容により指定されたランプデータに従ってLED85等の光源の点灯及び消灯を制御する。   Further, the sub CPU 102 causes the speakers such as the speakers 58, 64, 65L, 65R to output the sound such as BGM according to the sound data designated by the contents of the effect. Further, the sub CPU 102 controls lighting and extinguishing of the light source such as the LED 85 in accordance with 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 showing an example of the circuit configuration of the medal selector 201. As shown in FIG.

図17に示すように、メダルセレクタ201は、カメラユニット209とメダルソレノイド208を備えている。
また、メダルセレクタ201は、ドア中継端子板68を介して、主制御基板71に接続されている。また、メダルセレクタ201は、副中継基板61を介して、副制御基板72に接続されている。すなわちメダルセレクタ201は、主制御回路91及び副制御回路101と電気的に接続されている。
As shown in FIG. 17, the medal selector 201 includes a camera unit 209 and a medal solenoid 208.
In addition, the medal selector 201 is connected to the main control board 71 via the door relay terminal plate 68. In addition, the medal selector 201 is connected to the sub control board 72 via the sub relay board 61. That is, the medal selector 201 is electrically connected to the main control circuit 91 and the sub control circuit 101.

主制御回路91は、メダルセレクタ201のメダルソレノイド208をON状態又はOFF状態に設定することができる。すなわち主制御回路91は、セレクトプレート207をガイド位置又は排出位置に移動させることができる。   The main control circuit 91 can set the medal solenoid 208 of the medal selector 201 to the ON state or the OFF state. That is, the main control circuit 91 can move the select plate 207 to the guide position or the discharge position.

具体的には、主制御回路91は、パチスロ1がメダルを投入可能な状態であるときは投入可の内容のメダル投入信号を出力する。また、主制御回路91は、パチスロ1がメダルを投入可能な状態でないときは投入不可の内容のメダル投入信号を出力する。ここで、「投入可の内容のメダル投入信号を出力する」とは、主制御回路91と接続されている機器(本実施形態ではメダルソレノイド208)間の信号線をON状態に設定することである。また、「投入不可の内容のメダル投入信号を出力する」とは、主制御回路91と接続されている機器(本実施形態ではメダルソレノイド208)間の信号線をOFF状態に設定することである。メダルソレノイド208は、主制御回路91とメダルソレノイド208間の信号線がON状態になったことを検知すると、自身をON状態に設定する。また、メダルソレノイド208は、主制御回路91とメダルソレノイド208間の信号線がOFF状態になったことを検知すると、自身をOFF状態に設定する。   Specifically, when the pachi slot 1 is in a state where medals can be inserted, the main control circuit 91 outputs a medal insertion signal of the contents that can be inserted. Further, when the pachi slot 1 is not in the state where the medals can be inserted, the main control circuit 91 outputs a medal insertion signal of the content that the insertion is not possible. Here, “output the medal insertion signal of the content that can be inserted” means that the signal line between the devices connected to the main control circuit 91 (in the present embodiment, the medal solenoid 208) is set to the ON state. is there. Further, “output the medal insertion signal of the content that can not be inserted” means to set the signal line between the devices connected to the main control circuit 91 (the medal solenoid 208 in the present embodiment) to the OFF state. . When the medal solenoid 208 detects that the signal line between the main control circuit 91 and the medal solenoid 208 is turned on, it sets itself to the on state. Further, when the medal solenoid 208 detects that the signal line between the main control circuit 91 and the medal solenoid 208 is turned off, the medal solenoid 208 sets itself to the off state.

ここで、主制御基板71(主制御回路91)には、メダルセレクタ201に設けられたメダル検知用のフォトセンサ(図示省略)が接続されている。このフォトセンサがメダルを検知し、メダル検知信号を出力すると、主制御回路91のメインCPU93は、投入されたメダルの枚数を計数するために設けられたカウンタである投入枚数カウンタの値に1加算する。なお、投入枚数カウンタの値が最大値(例えば、3)の場合は、クレジットされているメダルの枚数をメインCPU93が計数するために設けられたカウンタであるクレジットカウンタの値に1加算する。   Here, to the main control board 71 (main control circuit 91), a photosensor (not shown) for detecting medals provided in the medal selector 201 is connected. When the photosensor detects a medal and outputs a medal detection signal, the main CPU 93 of the main control circuit 91 adds 1 to the value of the inserted number counter, which is a counter provided to count the number of inserted medals. Do. When the value of the insertion number counter is the maximum value (for example, 3), the number of medals being credited is incremented by one to the value of the credit counter which is a counter provided for the main CPU 93 to count.

クレジットカウンタが最大値(例えば、50)の場合は、主制御回路91は、メダルセレクタ501のメダルソレノイド208をOFF状態に設定する。これによって、セレクトプレート207(図8参照)が「排出位置」に位置付けされ、メダルが投入不可となり、クレジットカウンタが最大値となった後で投入されたメダルをメダルシュート202(図6参照)に案内してメダル払出口32(図2参照)からメダルトレイユニット34に排出する。   When the credit counter has 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 medals can not be inserted, and the medals inserted after the credit counter reaches the maximum value are transferred to the medal chute 202 (see FIG. 6). It guides and discharges to the medal tray unit 34 from the medal payout opening 32 (see FIG. 2).

副制御回路101は、メダルセレクタ201の制御LSI234から後述するカラー判定の判定結果、刻印判定の判定結果、各種信号やコマンドを受信する。   The sub control circuit 101 receives various signals and commands from the control LSI 234 of the medal selector 201 as a result of determination of color determination described later, a result of determination of marking determination, and various results.

カメラユニット209は、制御LSI234、CMOSイメージセンサ232及びLED233で構成されている。カメラユニット209の制御LSI234は、ASIC(Application Specific Integrated Circuit)で構成され、CMOSイメージセンサ232及びLED233と電気的に接続されている。制御LSI234は、LED233の発光を制御する。また、制御LSI234は、CMOSイメージセンサ232から出力された画像データに基づいて、メダルレール210上を移動する物体が正規メダルか否かを判定し、判定結果を、GPIO250に割り付けられた出力PORTから後述の所定の出力条件が成立したときに、副中継基板61を介して副制御基板72(副制御回路101)に出力する。   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 configured by an application specific integrated circuit (ASIC), and is electrically connected to the CMOS image sensor 232 and the LED 233. 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 determines the determination result from the output PORT allocated to the GPIO 250. When a predetermined output condition to be described later is satisfied, the signal is output to the sub control board 72 (sub control circuit 101) via the sub relay board 61.

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 an exposure time (shutter speed) in 1 to 25 steps. The exposure time is set to extend by 7 μs each time it is raised by one step. In the present embodiment, the initial value of the exposure time (the value when the pachislot 1 is turned on) is set to the stage 10, that is, 70 μ seconds. Therefore, in the present embodiment, the exposure time can be set in the range of 70 μsec to a maximum of 175 μsec (exposure time corresponding to the step 25).
In the present embodiment, the CMOS image sensor 232 employed 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 also electrically connected to the notification LED 206c. The notification LED 206 c is turned on and off according 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 showing an example of the circuit configuration of the control LSI 234. As shown in FIG.

制御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, a static random access memory (SRAM) 243 to which a backup power supply (not shown) is connected, a flash memory 244, and an image signal processing (ISP) circuit 245. And a medal counting circuit 246. The control LSI 234 further 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 forming the control LSI 234 are mutually connected via a bus, and in the control LSI 234 of this embodiment, AXI (Advanced eXtensible Interface) is adopted as a protocol of the bus.

また、制御LSI234は、ISI(Image Sensor Interface)回路251を備えている。ISI回路251は、CMOSイメージセンサ232とISP回路に電気的に接続されている。ISI回路251は、CMOSイメージセンサ232からLVDS(Low voltage differential signaling)方式で送信された画像データをRGBベイヤ画像に変換して出力する。   Further, 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 according to the low voltage differential signaling (LVDS) method into an RGB Bayer image and outputs the image data.

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

レンズ歪み補正処理は、後述する各種判別・判定処理の精度を高めるため、CMOSイメージセンサ232が撮像した画像データ上の、カメラユニット209におけるレンズの特性に起因して発生する歪みを補正する処理である。   The lens distortion correction process is a process of correcting distortion generated due to the characteristics of the lens in the camera unit 209 on the image data captured by the CMOS image sensor 232 in order to enhance the accuracy of various discrimination / judgment 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, distortion as shown in FIG. 19 occurs because the thickness of the end of the lens is thinner than the thickness of the central portion of the lens. FIG. 19 schematically shows an image pickup area A1 of the CMOS image sensor 232 and image data G1 of the image pickup area A1 picked up by the CMOS image sensor 232. The black points in the image data G1 represent locations corresponding to the vertices of each grid of 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, 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, and processes 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 point of the image data G1 becomes the same position as the vertex of the lattice of the corresponding imaging area A1. By this, the influence of this distortion on various discrimination processing described later is suppressed.

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

射影変換処理は、カメラユニット209の取り付け位置のずれが、後述する各種判別・判定処理の精度に影響を与えないように、画像データを補正する処理である。
例えば、カメラユニット209がキャンセルシュータ206に対して、好適な角度でない角度で傾いて取り付けられると、図20Aに示すように、後述する各種判別・判定処理に必要な画像領域A2が歪んで撮像される場合がある。射影変換処理では、この歪みを補正し、画像データを、後述する各種判別・判定処理に好適な態様に補完する。
The projective transformation process is a process of correcting the image data so that the displacement of the attachment 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 preferable angle, as shown in FIG. 20A, an image area A2 necessary for various determination / determination processing described later is distorted and captured. May be In the projective transformation process, the distortion is corrected, and the image data is complemented in a mode suitable for various determination / determination processes 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. 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, at the position (coordinates: u, v) of the reference marker 260 in the image data suitable for enhancing the accuracy of various discrimination processes described later, which are predetermined in the program, corresponding to the four reference markers detected. Based on the conversion coefficients a, b, c, d, e, f, g, h in the following Equations 1 and 2, respectively.
u = (x × a + y × b + c) / (x × g + y × h + 1) Formula (1)
v = (x x d + y x e + f) / (x x g + y x h + 1) formula (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 lens distortion correction processing are substituted into the above Equations 1 and 2. The coordinates after conversion for each pixel are calculated, and this RGB Bayer image is processed so that each pixel is located at the calculated coordinates after conversion. FIG. 20B schematically shows an image area A2 shown in FIG. 20A in the RGB Bayer image after the projective transformation process.

なお、本実施形態では、各種判別処理の精度を高めるために好適な画像データにおける基準マーカー260の位置(座標:u,v)をプログラム上で規定する態様を説明した。しかし、これに代えて、例えば、この基準マーカー260の位置をフラッシュメモリ244に記憶させ、射影変換処理時にISP回路245に参照されるようにしてもよい。   In the present embodiment, the aspect has been described in which the position (coordinates: u, v) of the reference marker 260 in the image data suitable for enhancing the accuracy of the various discrimination processing is defined on the program. 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 at the time of projection conversion processing.

次に、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 lens distortion correction processing and projection 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 the luminance in the YUV image data (hereinafter referred to as “gray scale image data”) And may be output to the medal counting circuit 246 (output to a predetermined area of the SRAM 243 to which the medal counting circuit 246 refers). Also, gray scale image data is stored in the SRAM 243. The SRAM 243 is provided with a storage area in which a predetermined number of gray scale image data can be stored. When the number of gray scale image data stored in the SRAM 243 reaches the upper limit number, the stored order is overwritten from the old gray scale image data.

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

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

ISP回路245は、ISI回路251から出力された画像から所定の長さ以上の直線成分を抽出可能なときに、出力された画像に突条部210aの画像が含まれていると判定し、抽出できないときには、出力された画像に突条部210aの画像が含まれていないと判定する。なお、出力された画像からの所定の長さ以上の直線成分の抽出は、例えば出力された画像にハフ変換処理を施すことにより行われるが、これに限らず、他の特徴抽出方法を用いてもよい。   When it is possible to 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 output image includes the image of the ridge portion 210a, and extracts the linear component. When it can not be determined, it is determined that the output image does not include the image of the protrusion 210a. In addition, although extraction of the linear component more than predetermined length from the output image is performed by, for example, performing Hough transform processing to the output image, it does not restrict to this, It uses another feature extraction method. It is also good.

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

一方、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 210 a, the ISP circuit 245 outputs the determination result of the AE determination process to the host controller 241. Further, when the image is output from the ISI circuit 251 until the exposure time of the CMOS image sensor 232 is set to the upper limit of 175 μs (exposure time corresponding to the step 25) in the ISP circuit 245, AE determination processing is performed on the output image.

なお、本実施形態では、所定の画像を、メダルレール210の表面に形成された突条部210aとする態様を説明した。しかし、これに限らず、所定の画像を、例えば、メダルレール210に形成されている基準マーカー260としてもよい。また、出力された画像から直線成分が抽出できるか否かを判定する態様を説明したが、これに限らず、抽出した直線成分の画角強度に基づく判定を行ってもよい。   In the present embodiment, the aspect has been described in which the predetermined image is the protrusion 210 a formed on the surface of the medal rail 210. However, the present invention is not limited to this, and a predetermined image may be used as the reference marker 260 formed on the medal rail 210, for example. Further, although the aspect of determining whether or not the linear component can be extracted from the output image has been described, the present invention is not limited to this, and the determination may be performed based on the angle of view 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 of 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 in which a predetermined number of HSV image data can be stored. When the number of HSV image data stored in the SRAM 243 reaches the upper limit number, the stored order is overwritten from 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画像データと比較することで判別される。   In addition, the color recognition circuit 247 performs medal detection processing to determine whether the image of the medal 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 and the background HSV image data stored in the SRAM 243 is detected this time, and if the difference portion matches the shape of the medal, the medal It is determined that the image of is included. The background HSV image data is HSV image data not including an image of a medal, and 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 it 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 HSV image data of the medal shape stored in advance in the flash memory 244.

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

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

平均彩度値と、平均色相値とに基づく閾値グラフ上の位置が、許容領域内の場合は、色判定処理を継続する。一方、非許容領域内の場合は、色判定処理の判定結果として、「閾値判定不可」をSRAM243の色判定記憶領域に記憶させ、色判定処理を終了する。なお、SRAM243の色判定記憶領域には、所定数の判定結果が記憶可能であり、記憶されている判定結果が上限数に達した場合、記憶された順序が早い判定結果から上書きされる。   If the position on the threshold graph based on the average saturation value and the average hue value is within the allowable range, the color determination processing is continued. On the other hand, in the case of the non-permissible 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 ended. 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 earlier determination results.

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

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

(3)彩度・色相乗算処理
閾値判定処理後、カラー認識回路247は、閾値判定処理において、彩度・色相乗算処理を行う。彩度・色相乗算処理において、メダル領域内の各画素の彩度の値と色相の値を乗算し、また、乗算して算出した値を、その画素の位置と対応づけてSRAM243に記憶させる。なお、以後の説明において、メダル領域内の各画素の彩度の値と色相の値との乗算値をその画素の位置に対応づけて記憶したデータのまとまりを「色判定用データ」と称する場合がある。
(3) Saturation and Hue Multiplication Processing After the threshold determination processing, the color recognition circuit 247 performs saturation and hue multiplication processing in the threshold determination processing. In the saturation / hue multiplication processing, the saturation value of each pixel in the medal area is multiplied by the hue value, and the value calculated by multiplication is stored in the SRAM 243 in association with the position of the pixel. In the following description, a group of data in which the multiplication value of the saturation value of each pixel in the medal area and the hue value is stored in association with the position of that 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 (creating) a color template used in color template comparison processing described later. In the color template generation process, the color recognition circuit 247 compares the data for color judgment concerning the medals until the medals inserted after the power-on reach the prescribed initial insertion number, 50 in the present embodiment, and agrees with each other. The color determination data that are similar or similar to a predetermined degree are grouped.

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

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

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

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

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

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

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

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

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

<メダルカウント回路>
メダルカウント回路246は、ISP回路245から出力されたグレースケール画像データに基づいてカウント処理を行う。カウント処理には、メダル画像判別処理、メダル位置検出処理及び順序判定処理が含まれる。
<Medal counting circuit>
The medal counting circuit 246 performs a counting process based on the gray scale image data output from the ISP circuit 245. The count process includes a medal image discrimination 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 Processing In the count processing, the medal counting circuit 246 first performs medal image discrimination processing. In the medal image discriminating process, the medal counting circuit 246 discriminates whether or not the gray scale image data outputted from the ISP circuit 245 includes the image of the medal. Specifically, the difference is detected for each pixel of the gray scale image data output from the ISP circuit 245 and the background gray scale image data stored in the SRAM 243 this time, and the difference is formed by a plurality of detected pixels. If the shape to be detected matches the template data of the medal shape stored in the flash memory 244, it is determined that the image of the medal is included. The background grayscale image data is grayscale image data not including the image of the medal, and when the medal is not moving on the medal rail 210, for example, the CMOS image sensor 232 captures an image immediately after the power is turned on. The obtained image data is obtained by the ISP circuit 245 converting it into grayscale 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 counting circuit 246 detects the difference between the background grayscale image data and the gray scale image data output from the ISP circuit 245, and the shape formed by the plurality of pixels for which the difference is detected is a medal. It was determined whether or not the image of the medal was included depending on whether or not it matched the shape. However, the present invention is not limited to this, and it may be determined that the image of the medal is included depending on whether a part of the shape formed by the plurality of pixels for which the difference is detected matches the part of the medal shape. If the number of pixels of the detected difference is equal to or more than a predetermined number, it may be determined that the image of the medal is included.

(2)メダル位置検出処理
次に、メダルカウント回路246は、ISP回路245から出力されたグレースケール画像データで、且つ、メダル画像判別処理においてメダルの画像が含まれていると判別されたグレースケール画像データについて、メダル位置検出処理を行う。メダル位置検出処理において、メダルカウント回路246は、上記のグレースケール画像データにおける所定の判定領域にメダルの画像が存在するか否かを判別し、判別結果をSRAM243に記憶させる。
(2) Medal Position Detection Process Next, the medal count circuit 246 is gray scale image data output from the ISP circuit 245, and is gray scale determined to include an image of a medal in the medal image discrimination process. A medal position detection process is performed on the image data. In the medal position detection process, the medal counting circuit 246 determines whether or not a medal image is present in a predetermined determination area in the gray scale image data described above, 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 gray scale image data G2, and in the present embodiment, as shown in FIGS. 22 to 24, determination areas A1 to A4, B1 to B4, C1 and C2 , D1 to D4, E, and F in total of 16 determination areas are set. FIGS. 22A to 22C, 23D to 23F, and 24G are diagrams for explaining the relationship between the medal M and the determination area which are passed on the medal rail 210 and discharged from the medal outlet portion 204c. FIG. 24H is a view for explaining the relationship between the medals guided by the medal shooter 202 and the determination area.

各判定領域は、判定領域内に複数の画素が含まれるように、グレースケール画像データG2における各判定領域の角部の座標値(X,Y)を規定することで、プログラム上で予め規定されている。例えば、図25に示すように、C1の判定領域は、領域内に8つの画素を含み、4つの角部の座標値(450,95),(453,95),(450,96),(453,96)によって、その位置が規定されている。なお、図25では、格子の一マスが一画素を示している。   Each determination area is previously defined on the program by defining coordinate values (X, Y) of the corner of each determination area in the gray scale 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), (453, 95), (450, 96), (of four corners) 453, 96) define its position. In FIG. 25, one square of the grid indicates 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, 23D to F, and 24G, the determination areas A1 to A4 and B1 to B4 pass on the medal rail 210, and the lower part of the image of the medal M discharged from the medal outlet portion 204c. It is arranged to overlap with. In addition, the determination areas C1 and C2 are disposed so as to pass over the medal rail 210 and overlap the upper part of the image of the medal M discharged from the medal outlet portion 204c. In addition, the determination areas E and F are arranged so as not to overlap the image of the medal M which passes over the medal rail 210 and is discharged from the medal outlet portion 204c.

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

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

また、メダルカウント回路246は、メダル位置検出処理において、メダルの画像が存在する(メダルがある)と判定した判定領域について、メダルエッジ検出処理を行う。   Further, the medal counting circuit 246 performs a medal edge detection process on the determination area determined to have an image of a medal (there is a medal) in the medal position detection process.

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

一方、メダル画像が存在する判定した判定領域について、輝度の差分値が閾値に満たない画素が左側に一つでもあると、メダルカウント回路246は、メダルの移動方向における後側の外縁(移動後方向メダルエッジ)が存在すると判定する。なお、輝度の差分値が閾値に満たない画素が一つもない場合は、メダルカウント回路246は、当該判定領域にメダルの外縁がないと、判定する。   On the other hand, with regard to the determined determination area in which the medal image is present, the medal count circuit 246 determines that the outer edge on the rear side in the movement direction of the medal (after movement) It is determined that the direction medal edge is present. If there is no pixel whose luminance difference value does not meet the threshold value, the medal counting 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 shown in FIG. 25, when there is even one pixel whose luminance difference value does not satisfy the threshold in any of the pixels 5C to 8C located on the right side, the move destination direction medal It is determined that there is an edge. On the other hand, if any of the pixels 1C to 4C, which are the pixels located on the left side, has at least one pixel whose luminance difference value does not satisfy the threshold, it is determined that there is a moving backward direction medal edge.

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

そして、メダルカウント回路246は、判定対象のグレースケール画像データの各判定領域について、上記判定結果、すなわち、判定領域に、メダル画像が存在するか否かの判定結果、及び、移動先方向メダルエッジ又は移動後方向メダルエッジが存在するか否かの判定結果を、SRAM243に記憶させる。例えば、メダルカウント回路246は、メダルの画像が存在しないと判定した判定領域に対しては「OFF」というデータを記憶させる。また、移動先方向メダルエッジが存在すると判定した判定領域に対しては「IN」というデータ、移動後方向メダルエッジが存在すると判定した判定領域に対しては「OUT」というデータ、そして、メダル画像は存在するが、メダルの外縁はないと判定した判定領域に対しては「ON」というデータを記憶させる。
なお、既に、SRAM243に判定結果が記憶されている場合は、メダルカウント回路246は、直近の判定結果と、今回の判定結果と、を比較し、判定領域のいずれか一つでも判定結果に変化があった場合は、SRAM243に今回の全判定領域についての判定結果を記憶させる。一方、いずれの判定領域の判定結果にも変化がなかった場合は、SRAM243に今回の全判定領域についての判定結果を記憶させない。
The medal counting circuit 246 determines the above determination result for each determination area of the grayscale image data to be determined, that is, the determination result of whether or not a medal image is present in the determination area, and the movement direction medal edge Alternatively, the determination result as to whether or not there is a movement backward direction medal edge is stored in the SRAM 243. For example, the medal counting circuit 246 stores data "OFF" for the determination area determined to have no medal image. In addition, data “IN” is determined for the determination area determined to have a movement destination direction medal edge, data “OUT” for a determination area determined to have a movement direction medal edge, and the medal image The data “ON” is stored for the determination area determined to have no medals but no outer edge of the medal.
When the determination result is already stored in the SRAM 243, the medal counting circuit 246 compares the latest determination result with the current determination result, and changes any one of the determination areas to the determination result. If there is a problem, the SRAM 243 stores the determination result for the entire determination area of this time. On the other hand, when there is no change in the determination result of any of the determination regions, the determination result of all the determination regions of this time is not stored in the SRAM 243.

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

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

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

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

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

また、SRAM243には、判定領域判定結果データとして、所定数、本実施形態では14個分のグレースケール画像データに係る上記判定結果を記憶する記憶領域が設けられている。   In addition, the SRAM 243 is provided with a storage area for storing the above-described determination results relating to a predetermined number of gray scale image data of 14 in the present embodiment as determination area determination result data.

(3)順序判定処理
メダルカウント回路246は、パチスロ1がメダル投入可の状態のときは、SRAM243に、判定領域判定結果データとして、所定数、本実施形態では14個分のグレースケール画像データに係る上記判定結果が記憶されると、順序判定処理を行う。また、メダルカウント回路246は、パチスロ1がメダル投入不可の状態のときは、SRAM243に、判定領域判定結果データとして、所定数、本実施形態では4個分のグレースケール画像データに係る上記判定結果が記憶されると、順序判定処理を行う。順序判定処理では、時系列的に並ぶ所定の数のグレースケール画像データにおいて、各判定領域についての「IN」,「OUT」,「ON」,「OFF」のデータの遷移の態様が所定の遷移の態様と一致しているか否かを判定し、一致している場合は、メダルレール210上をメダルが通過したと判定する。
(3) Order Determination Process When the pachislot 1 is in the medal insertable state, the medal count circuit 246 causes the SRAM 243 to determine gray scale image data of a predetermined number, 14 in the present embodiment, as determination area judgment result data. When the determination result is stored, an order determination process is performed. In addition, when the pachislot 1 is in the medal insertion impossible state, the medal counting circuit 246 causes the SRAM 243 to perform the above-described determination result on a predetermined number of, in the present embodiment, four gray scale image data as determination area determination result data. When is stored, order determination processing is performed. In the order determination process, in the predetermined number of gray scale image data arranged in time series, the transition mode of the data of "IN", "OUT", "ON", "OFF" for each determination area is a predetermined transition It is determined whether or not it matches with the aspect of, and when it matches, it is determined that the medal has passed on the medal rail 210.

ここで、所定の遷移の態様として、本実施形態では、フラッシュメモリ244に図27に示すメダルカウント判定表が数値に変換されて記憶されている。メダルカウント判定表では、メダルがメダルレール210上を通過し、メダル出口部204cから排出される場合の時系列的に並んだ14個のグレースケール画像データ上の各判定領域における「IN」,「OUT」,「ON」,「OFF」のデータの遷移の態様が規定されている。また、メダルがメダルシュート202に案内される場合の時系列的に並んだ4個のグレースケール画像データ上の各判定領域における「IN」,「OUT」,「ON」,「OFF」のデータの遷移の態様が規定されている。なお、これらのデータの遷移の態様は、シミュレーションや実験などによって最も速い速度でメダルが移動した場合を想定して予め規定されている。   Here, as a predetermined transition mode, in the present 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 gray scale image data arranged in time series when the medal passes on the medal rail 210 and is discharged from the medal exit portion 204 c An aspect of transition of data of OUT "," ON "and" OFF "is defined. In addition, “IN”, “OUT”, “ON”, and “OFF” data in each determination area on four gray scale image data arranged in chronological order when the medal is guided to the medal shoot 202 Aspects of the transition are defined. In addition, the mode of transition of these data is previously defined on the assumption that the medal has moved at the fastest speed by simulation, experiment, or the like.

パチスロ1がメダル投入可の状態のときの順序判定処理において、メダルカウント回路246は、SRAM243に記憶されている14個分のグレースケール画像データの各判定領域におけるデータ(「IN」,「OUT」,「ON」,「OFF」)の遷移の態様と、メダルカウント判定表で規定されている時系列1〜14に対応するデータの遷移の態様と、を比較し、完全に一致する場合は、「メダルが通過した」と判定する。   In the order determination process when Pachi-Slot 1 is in the state where medals can be inserted, medal count circuit 246 outputs data ("IN", "OUT") in each of the determination areas of 14 gray scale image data stored in SRAM 243. , “ON”, “OFF”) and the mode of transition of data corresponding to time series 1 to 14 defined in the medal count determination table, and if they completely match, It is determined that "the medal has passed".

また、一致しない場合は、「異常が発生した」と判定する。一致しない場合には、例えば、14個分のグレースケール画像データの各判定領域におけるデータの遷移の態様(以下、「比較対象のデータの遷移の態様」と称する場合がある)の、前半部分はメダルカウント判定表で規定されている時系列1〜8に対応するデータの遷移の態様と一致するが、続く部分がメダルカウント判定表で規定されている時系列8〜4に対応するデータの遷移の態様と一致する場合、いわゆる「時系列の逆行」が発生した場合がある。   If they do not match, it is determined that "an abnormality has occurred". If they do not match, for example, the first half of the aspect of data transition in each determination region of 14 gray scale image data (hereinafter, may be referred to as “a mode of transition of data to be compared”) A transition of data corresponding to time series 1 to 8 defined in the medal count judgment table corresponds to a transition mode of data corresponding to the time series 8 to 4 defined in the medal count judgment table. If it matches the aspect of, so-called "time series retrogression" may occur.

また、パチスロ1がメダル投入不可の状態のときの順序判定処理において、メダルカウント回路246は、SRAM243に記憶されている4個分のグレースケール画像データの各判定領域におけるデータの遷移の態様と、メダルカウント判定表で規定されている時系列E1〜E4に対応するデータの遷移の態様と、を比較し、完全に一致する場合は、「メダルがメダルシュート202に案内された」と判定する。   Further, in the order determination process when the pachislot 1 is in the medal insertion impossible state, the medal count circuit 246 determines the transition of data in each determination area of the four gray scale image data stored in the SRAM 243; The mode of transition of data corresponding to the time series E1 to E4 defined in the medal count determination table is compared, and when the two completely match, it is determined that "the medal has been guided to the medal shoot 202".

また、SRAM243に各判定領域におけるデータ(「IN」,「OUT」,「ON」,「OFF」)を最初に記憶してから、所定時間(例えば、1秒)経過しても、SRAM243に投入可の場合は14個分又は投入不可の場合は4個分のグレースケール画像データの各判定領域におけるデータが記憶されない場合は、メダル詰まりが発生していると考えられる。このため、この場合、メダルカウント回路246は、「異常が発生した」と判定する。   In addition, the data ("IN", "OUT", "ON", "OFF") in each determination area is stored in the SRAM 243 first, and then the data is input to the SRAM 243 even if a predetermined time (for example, 1 second) elapses. If the data in each determination area of the gray scale image data of 14 pieces or 4 pieces of gray scale image data is not stored if yes, it is considered that a medal jam occurs. Therefore, in this case, the medal counting circuit 246 determines that "an abnormality has occurred".

なお、SRAM243に記憶されているグレースケール画像データの各判定領域におけるデータ(「IN」,「OUT」,「ON」,「OFF」)の数が、所定数に満たない場合、例えば4個又は14個に満たない場合は、データの数の不足により遷移の態様が一致しないため、上記比較処理において、「メダルが通過した」、又は、「メダルがメダルシュート202に案内された」と判定されることはない。なお、この場合、上記比較処理を省略してもよい。また、メダルカウント回路246は、順序判定処理を行った後、SRAM243に記憶されている14個分又は4個分のグレースケール画像データの各判定領域におけるデータを削除する。   When the number of data (“IN”, “OUT”, “ON”, “OFF”) in each determination area of the gray scale image data stored in the SRAM 243 is less than a predetermined number, for example, four or If the number is less than 14, it is determined that "the medal has passed" or "the medal has been guided to the medal chute 202" in the comparison processing because the mode of transition does not match due to the lack of data. There is nothing to do. In this case, the comparison process may be omitted. In addition, after performing the order determination processing, the medal counting circuit 246 deletes data in each of the determination regions of 14 or 4 gray scale image data stored in the SRAM 243.

また、メダルカウント回路246は、SRAM243にグレースケール画像データの判定領域Eに対して「IN」,「OUT」,「ON」のいずれかのデータが記憶された場合は、SRAM243に14個分又は4個分のグレースケール画像データの各判定領域におけるデータが記憶されることを待たずに、「異常が発生した」と判定する。   In addition, the medal counting circuit 246 causes 14 pieces of the SRAM 243 to be stored in the case where any one of “IN”, “OUT” and “ON” is stored in the determination area E of the gray scale image data in the SRAM 243. It is determined that "an abnormality has occurred" without waiting for the data in each determination area of four gray scale image data to be stored.

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

また、メダル位置検出処理において、メダルエッジ検出処理を省略してもよい。この場合、メダルカウント回路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 counting circuit 246 causes the SRAM 243 to store data "OFF" for the determination area determined to have no medal image, and "ON" to the determination area determined to have a medal image. "" Is stored. Then, in the medal count determination table shown in FIG. 27, the mode of transition of data of "ON" and "OFF" in each determination area is defined.

また、順序判定処理において、図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 comparison using the medal count determination table shown in FIG. 27, the order of the determination area in which the data of "ON" is stored is defined in advance, The passage of the medal may be determined by comparing the order of the determination areas in which the data of “ON” is stored in the table. In this case, the order defined in advance 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, the predefined order is "OFF" for all areas A to D, then "ON" for area A only, then "A" for area A, area B and area C, and then area B, area C and area D. May be "ON", then only the D area may be "ON", and finally any of the A to D areas may be "OFF". In this case, when the area A is "ON", data of "ON" is stored for any of the determination areas A1 to A4.

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

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

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

また、魚眼補正スケーラ回路248は、イコライズ処理において、作成した縮小画像データそれぞれに対して、バイラテラル変換処理を行う。本実施形態では、縮小画像データのノイズを除去するために、図28に示す3×3のカーネル(画像処理におけるカーネルであって、OSの機能を示すカーネルではない。)のガウシアンフィルタを用いる。しかし、ガウシアンフィルタには、画像データ内のエッジが目立たなくなる(ボケる)という欠点がある。そこで、この欠点を解消するために、バイラテラル変換処理の処理アルゴリズムとして、以下の式3に示すバイラテラルフィルタを採用する。すなわち、バイラテラルフィルタは、ガウシアンフィルタのカーネルを使用して画像データのノイズを除去するとともにエッジ補正及び強調を行うフィルタである。   Further, 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, in order to remove noise of the reduced image data, a Gaussian filter of 3 × 3 kernel (a kernel in image processing and not a kernel indicating the function of the OS) shown in FIG. 28 is used. However, Gaussian filters have the disadvantage that the edges in the image data become unnoticeable (blurred). Then, in order to eliminate this fault, the bilateral filter shown in the following formula 3 is adopted as a processing algorithm of bilateral conversion processing. That is, the bilateral filter is a filter that performs noise correction and edge correction and enhancement using image processing noise using a Gaussian filter kernel.

Figure 2018174980
Figure 2018174980

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

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

<画像認識DSP回路>
ホストコントローラ241は、縮小画像データがSRAM243に記憶されると、前処理を行うよう、画像認識DSP回路に指示する。
<Image recognition DSP circuit>
When the reduced image data is stored in the SRAM 243, the host controller 241 instructs the image recognition DSP circuit to perform preprocessing.

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

(1)円領域検出処理
画像認識DSP回路242は、円領域検出処理において、取得した縮小画像データと、当該縮小画像データに対応する縮小背景グレースケール画像データとの差分を示す背景差分画像を生成する。ここで縮小背景グレースケール画像データとは、SRAM243に記憶されている背景グレースケール画像データに、魚眼補正スケーラ回路248による魚眼補正処理及びイコライズ処理を施した画像データあり、円領域検出処理の前にSRAM243に記憶されている。
(1) Circle Area Detection Process In the circle area detection process, the image recognition DSP circuit 242 generates a background difference image indicating the difference between the acquired reduced image data and the reduced background grayscale image data corresponding to the reduced image data. Do. Here, the reduced background grayscale image data is image data obtained by applying fisheye correction processing and equalization processing by the fisheye correction scaler circuit 248 to the background grayscale image data stored in the SRAM 243, and circular area detection processing It is previously stored in the 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 the binary outer shape template T1 indicating the outer shape of the medal. That is, the image recognition DSP circuit 242 specifies where the region similar to the outline template T1 exists in the background difference image G3. In other words, the image recognition DSP circuit 242 specifies where in the background difference image G3 an area that matches the outline of the medal indicated by the outline template T1 is present. The outer shape template T1 is stored in advance in the flash memory 244.

テンプレートマッチングでは、背景差分画像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, by one pixel) on the background difference image G3 in the raster scan direction. In other words, the image recognition DSP circuit 242 raster scans the outline template T1 on the background difference image G3. At this time, the image recognition DSP circuit 242 generates an AND image of the outer shape template T1 and the partial region of the background difference image G3 overlapping the outer shape template T1 at each position of the outer shape template T1. Thereby, a plurality of binary AND images are generated. Then, the image recognition DSP circuit 242 compares the background difference of the outer shape template T1 used in the generation of the AND image having the largest number of pixels (high luminance pixels) with the pixel value “1” among the plurality of generated AND images. The position on the image G3 is specified. This position is a position where an area 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, which 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 area in the reduced image data overlapping with the outer shape template T1 as a circular area when the outer shape template T1 is arranged in the same position as the specified position in the reduced image data. . At this time, in the partial area, a circular area may be used in which the pixel value of each pixel outside the circular shape indicated by the outer shape template T1 is 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 area is square, but may be another shape such as circular.

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

また、背景差分法とラベリングを用いて取得した縮小画像データから円領域を抽出する抽出方法を採用してもよい。この抽出方法では、まず、取得した縮小画像データと縮小背景グレースケール画像データとの差分を示す背景差分画像が生成され、生成された背景差分画像が2値化される。そして、2値の背景差分画像に対して4連結等のラベリングが行われる。そして、2値の背景差分画像における、ラベリングの結果得られた連結領域(独立領域)の位置と同じ位置に存在する、取得した縮小画像データの部分領域が、円領域とされる。   Further, an extraction method of extracting a circular area from reduced image data acquired using the background difference method and labeling may be adopted. In this extraction method, first, a background difference image indicating the difference between the acquired reduced image data and the 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. Then, in the binary background difference image, a partial area of the acquired reduced image data, which exists at the same position as the position of the connected area (independent area) obtained as a result of the labeling, 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 circular area detection processing. The filtering process consists of 3σ correction process and non-linear diffusion filter process.
First, in the 3σ correction process, the image recognition DSP circuit 242 cuts out the image data of the circle area in the acquired reduced image data based on the circle area detected by the circle 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 data within a predetermined range for the values of luminance in the cut out circular region image data. Here, 3σ is three times the standard deviation, and almost all data falls within the range of average value ± 3σ (99.7% of data falls within this range when the variation is normal distribution) Belongs).
Then, the luminance of a pixel whose luminance value is smaller than -3σ, for example, the luminance of a pixel of -4σ, is replaced with the luminance value of -3σ. In addition, the luminance of a pixel whose luminance value is larger than 3σ, for example, the luminance of a pixel of 4σ is replaced with the luminance value of 3σ. By doing this, it is possible that the pixels having extremely large luminance values (pixels too bright) and pixels having extremely small luminance values (pixel too dark), which are irregular data, affect the subsequent processing. It 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 area image data after the 3σ correction processing to create edge images X in the X (vertical) direction and edge images Y in the Y (horizontal) direction. 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 circular area image data after 3σ correction processing. In FIG. 31A, one square of the grid indicates a pixel. Further, FIG. 31B shows the coefficients for the edge image X. 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 value of the luminance of the target pixel P in the edge image X is It is calculated by Equation 4.
Brightness of P (PX) = a1 x (-3) + a2 x 0 + a3 x 3 + a4 x (-10) + p x 0 + a5 x 10 + a6 x (-3) + a7 x 0 + a8 x 3 (4)

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

図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 coefficients for edge image Y. 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 value of the luminance of the target pixel P in the edge image Y is as follows using the coefficient for edge image Y: It is calculated by Equation 5.
Brightness of P (PY) = a1 x (-3) + a2 x (-10) + a3 x (-3) + a4 x 0 + P x 0 + a5 x 0 + a6 x 3 + a7 x 10 + a8 x 3 (5)

画像認識DSP回路242は、3σ修正処理後の円領域画像データの全ての画素について、上記式5を用いて輝度を算出することで、エッジ画像Yを作成する。   The image recognition DSP circuit 242 generates 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 an edge image XY from the two images. Assuming that 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, the luminance PXY of each pixel in the edge image XY is calculated by Equation 6 below. be able to.

Figure 2018174980
Figure 2018174980

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

<画像認識アクセラレータ回路>
画像認識アクセラレータ回路249は、勾配平均画像データに係る処理、エッジ勾配画像に係る処理及び高速フーリエ変換(Fast Fourier Transform,以下「FFT変換」と称する場合がある)処理を行う。また、画像認識アクセラレータ回路249は、刻印判定処理に用いられる各種テンプレートを作成するテンプレート生成処理を行う。
<Image recognition accelerator circuit>
The image recognition accelerator circuit 249 performs processing relating to gradient average image data, processing relating to edge gradient images, and processing relating to Fast Fourier Transform (hereinafter sometimes referred to as “FFT conversion”). The image recognition accelerator circuit 249 also performs template generation processing for generating various templates used in the marking determination processing.

[勾配平均画像データに係る処理]
勾配平均画像データに係る処理には、回転画像生成処理と、勾配平均画像データ生成処理が含まれる。
[Process related to gradient average image data]
The processing relating to gradient average image data includes rotational image generation processing and gradient average image data generation processing.

(1)回転画像生成処理
回転画像生成処理において、画像認識アクセラレータ回路249は、SRAM243からエッジ画像XYを取得し、取得したエッジ画像XYを1度単位で回転させて、360度分の回転画像を生成する。
(1) Rotational Image Generation Processing In rotational image generation processing, the image recognition accelerator circuit 249 acquires an edge image XY from the SRAM 243, rotates the acquired edge image XY by 1 degree, and rotates a 360-degree rotational image. 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 rotation images generated in the rotation image generation processing, Generate image data. As an example of gradient average image data, gradient average image data of a regular medal 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.

[エッジ勾配画像に係る処理]
エッジ勾配画像に係る処理には、極座標変換処理、Scharr変換処理、HOG変換処理が含まれる。
[Process related to edge gradient image]
The processing related to the edge gradient image includes polar coordinate conversion processing, Scharr conversion processing, and HOG conversion 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 polar coordinate conversion processing, the image recognition accelerator circuit 249 acquires an edge image XY from the SRAM 243, converts orthogonal coordinates of the acquired edge image XY into polar coordinates, and creates polar coordinate image data. Specifically, the image recognition accelerator circuit 249 is a polar coordinate (r, φ) representing the rectangular coordinate (x, y) of each pixel of the edge image XY by the radius r and the angle φ from the reference position. Convert to). The relationship between polar coordinates (r, φ) and orthogonal coordinates (x, y) is expressed by the following equations 7 and 8.
x = r cos (φ) formula (7)
y = r sin (φ) formula (8)

そして、画像認識アクセラレータ回路249は、作成した極座標画像データをSRAM243に記憶させる。   Then, the image recognition accelerator circuit 249 stores the generated 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) Scharr conversion processing In the Scharr conversion processing, the image recognition accelerator circuit 249 acquires 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. Do. Therefore, the image recognition accelerator circuit 249 that performs Scharr conversion processing constitutes a directional image separation unit that separates the polar coordinate image into the longitudinal image and the transverse image.
The mode of creating the edge polar coordinate image X and the edge polar coordinate image Y in the Scharr conversion process is the same as the mode of creating the edge image X and the edge image Y in the non-linear diffusion filter process described above, including the coefficients used. The description is omitted here.

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

具体的には、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 Scharr transformation process. Assuming that the luminance value of each pixel in the edge polar coordinate image X is QX, and the luminance value of the pixel in the edge polar coordinate image Y at the same position is QY, the following formula 9 It can be calculated by

Figure 2018174980
Figure 2018174980

また、エッジ勾配画像における各画素の勾配角度は、以下の式10によって算出することができる。   The gradient angle of each pixel in the edge gradient image can be calculated by the following equation 10.

Figure 2018174980
Figure 2018174980

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

[FFT変換処理]
FFT変換処理において、画像認識アクセラレータ回路249は、上述の極座標変化処理によって作成され、SRAM243に記憶された極座標画像データを取得し、取得した極座標画像データに対して、FFT変換処理を施す。
[FFT conversion processing]
In the FFT conversion processing, the image recognition accelerator circuit 249 acquires polar coordinate image data created by the above-described polar coordinate change processing and stored in the SRAM 243, and performs FFT conversion processing on the acquired polar coordinate image data.

具体的には、図34に示すように、画像認識アクセラレータ回路249は、取得した極座標画像データを、複数の領域に区画し、区画した各領域について、周波数と振幅の値を算出する。図では、極座標画像データを所定の角度ごとに区画し、当該区画した領域それぞれについて、周波数と振幅の値を算出した例を示している。   Specifically, as shown in FIG. 34, the image recognition accelerator circuit 249 divides the acquired polar coordinate image data into a plurality of regions, and calculates values of frequency and amplitude for each of the divided regions. The figure shows an example in which polar coordinate image data is divided at predetermined angles, and values of frequency and amplitude are calculated for each of the divided regions.

そして、画像認識アクセラレータ回路249は、取得した極座標画像データについて、算出した周波数と振幅の値(以下、これらを「FFTデータ」と称する場合がある)をSRAM243に記憶する。   Then, the image recognition accelerator circuit 249 stores the calculated frequency and amplitude values (hereinafter, these may be referred to as “FFT data”) in the SRAM 243 for the acquired polar coordinate image data.

[テンプレート生成処理]
画像認識アクセラレータ回路249は、テンプレート生成処理を実行し、本テンプレートを生成する。本テンプレートとは、勾配平均画像データ、HOGデータ及びFFTデータのセットからなる。実施形態では、最大で4種類の本テンプレートが生成される。また、本テンプレートは、後述する画像認識DSP回路242が実行する判定処理において用いられる。なお、テンプレート生成処理の詳細については、後述する。
[Template generation process]
The image recognition accelerator circuit 249 executes a template generation process to generate this template. This template consists of a set of gradient average image data, HOG data and FFT data. In the embodiment, up to four types of main templates are generated. Further, the present template is used in the determination processing executed by the image recognition DSP circuit 242 described later. The details of the template generation process will be described later.

<画像認識DSP回路による判定処理>
次に、画像認識DSP回路242が実行する判定処理について、説明する。判定処理は、テンプレート生成処理において、本テンプレートが生成され、登録された後に、実行される。判定処理には、勾配平均画像テンプレート比較処理、HOGテンプレート比較処理、FFTテンプレート比較処理及び3次元判定処理が含まれる。
<Determination processing by image recognition DSP circuit>
Next, the determination process performed by the image recognition DSP circuit 242 will be described. The determination process is executed after the template is generated and registered in the template generation process. The determination processing includes gradient average image template comparison processing, HOG template comparison processing, FFT template comparison processing, and three-dimensional determination processing.

(1)勾配平均画像テンプレート比較処理
勾配平均画像テンプレート比較処理において、画像認識DSP回路242は、投入されたメダルについて、画像認識アクセラレータ回路249が生成した勾配平均画像データをSRAM243から取得する。
(1) Gradient Average Image Template Comparison Processing In the gradient average image template comparison processing, the image recognition DSP circuit 242 acquires, from the SRAM 243, gradient average image data generated by the image recognition accelerator circuit 249 for inserted medals.

次に、画像認識DSP回路242は、取得した勾配平均画像データと、各本テンプレートの勾配平均画像データとを比較し、ゼロ平均正規化相互相関マッチング(Zero-mean Normalized Cross Correlation,以降の説明において「ZNCC」と称する場合がある)によって、類似度の評価値xを算出する。なお、ZNCCによって得られる類似度の評価値は、−1.0000000〜1.0000000の範囲で算出され、1.0000000が最も類似度が高い(似ている)評価値となる。   Next, the image recognition DSP circuit 242 compares the acquired gradient average image data with the gradient average image data of each main template, and performs zero-mean normalized cross correlation matching (in the following description). The evaluation value x of the degree of similarity is calculated by "ZNCC". In addition, the evaluation value of the similarity obtained by ZNCC is calculated in the range of −1.0000000 to 1.0000000, and 1.0000000 is the evaluation value with the highest similarity (similar).

(2)HOGテンプレート比較処理
HOGテンプレート比較処理において、画像認識DSP回路242は、投入されたメダルのHOGデータを取得する。次いで、取得したHOGデータと、各本テンプレートのHOGデータとを比較し、ZNCCによって類似度の評価値yを算出する。
(2) HOG Template Comparison Process In the HOG template comparison process, the image recognition DSP circuit 242 acquires HOG data of the inserted medal. Next, the acquired HOG data is compared with the HOG data of each main template to calculate the evaluation value y of similarity by ZNCC.

(3)FFTテンプレート比較処理
FFTテンプレート比較処理において、画像認識DSP回路242は、投入されたメダルのFFTデータを取得する。次いで、取得したFFTデータと、各本テンプレートのFFTデータとを比較し、ZNCCによって類似度の評価値zを算出する。
(3) FFT Template Comparison Process In the FFT template comparison process, the image recognition DSP circuit 242 acquires FFT data of the inserted medal. Next, the acquired FFT data is compared with the FFT data of each main template, and the evaluation value z of similarity is calculated by ZNCC.

(4)3次元判定処理
3次元判定処理において、画像認識DSP回路242は、上述の処理で算出した評価値x,y,zと、予め設定した係数A,C,Dからなる以下の式が成立する場合に、投入されたメダルと、本テンプレートとが、同一であると判定する。
x+Ay+Cz≧D ・・・式(11)
(4) Three-Dimensional Judgment Processing In the three-dimensional judgment processing, the image recognition DSP circuit 242 calculates the following formula consisting of the evaluation values x, y, z calculated in the above processing and the preset coefficients A, C, D: When it is established, it is determined that the inserted medal and the present template are identical.
x + Ay + Cz D D formula (11)

本実施形態において、本テンプレートは、最大で4種類作成される。画像認識DSP回路242は、各本テンプレートについて、3次元判定処理を行う。また、全ての本テンプレートについて上記式(11)が成り立たない場合は、判定対象のメダルは正規メダルでないと判定する。一方、上記式(11)が成り立つ本テンプレートが1以上あれば、判定対象のメダルが正規メダルと判定する。そして、画像認識DSP回路242は、判定結果として「正規メダル」又は「不正メダル」をSRAM243に記憶させる。   In the present embodiment, up to four types of templates are created. The image recognition DSP circuit 242 performs three-dimensional determination processing on each main template. If the above equation (11) does not hold for all the main templates, it is determined that the medal to be determined is not a regular medal. On the other hand, if there is one or more main templates in which the above equation (11) holds, it is determined that the medal to be determined is a regular medal. Then, the image recognition DSP circuit 242 stores the “regular medal” or the “illegal medal” in the SRAM 243 as the determination result.

<GPIO>
GPIO250(図18参照)は、メダルセレクタ201に接続されている各機器と、制御LSI234と、の入出力のためのデバイスである。また、制御LSI234と、メダルセレクタ201を構成する各種デバイスと、の入出力のためのデバイスである。
例えば、GPIO250のメダルカウント出力PORT及びメダル判定出力PORTが、副中継基板61を介して(図18では副中継基板61の図示を省略している)、副制御基板72(副制御回路101)に接続されている。また、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 and output of 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 sub control board 72 (sub control circuit 101) via the sub relay board 61 (the illustration of the sub relay board 61 is omitted in FIG. 18). It is connected. Further, the LED control output PORT of the GPIO 250 is connected to the LED 233, and the control of the LED 233 by the control LSI 234 can be controlled. Further, the notification LED control output PORT of the GPIO 250 is connected to the notification LED 206c, and the control LSI 234 can control the turning on and off of the notification LED 206c. In addition, the AE setting port of the GPIO 250 is connected to the CMOS image sensor 232, and control of the exposure time setting mechanism of the CMOS image sensor 232 by the control LSI 234 (setting of exposure time) is possible.

<ホストコントローラ>
ホストコントローラ241は、制御LSI234を構成する各デバイス、例えばメダルカウント回路246、カラー認識回路247、魚眼補正スケーラ回路248、画像認識DSP回路242、画像認識アクセラレータ回路249、GPIO250の制御を行う。
<Host controller>
The host controller 241 controls each device constituting the control LSI 234, such as 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 the area storing the value of the exposure time in the SRAM 243. Next, when the exposure time step is not set to “25”, that is, the upper limit of 175 μs, the exposure time setting mechanism of the CMOS image sensor 232 via the AE setting port of GPIO 250 A signal indicating that the exposure time should be increased by one step is output. Then, 1 is added to the value of the area storing the value of the exposure time in the SRAM 243. In the present 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 exposure time is set to 10. That is, in the present embodiment, the host controller 241 of the control LSI 234 configures an exposure time setting unit that sets the exposure time of the CMOS image sensor 232.

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

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

各判定結果の上記所定の出力条件は、それぞれ適宜設定可能である。例えば、カウント処理に係る判定結果については、SRAM243にカウント処理の判定結果として、「異常が発生した」が記憶されたとき、と設定してもよいし、或いは、連続して、又は、直近のカウント処理の所定判定数(例えば、50回)の累計で、規定数(例えば、10回)以上、「異常が発生した」が記憶されたとき、と設定してもよい。また、閾値判定処理の判定結果については、SRAM243に、判定結果として「閾値判定不可」が記憶されたとき、と設定してもよいし、或いは、連続して、又は、直近の閾値判定処理の所定判定数(例えば、50回)の累計で、規定数(例えば、10回)以上、「閾値判定不可」が記憶されたとき、と設定してもよい。また、色判定処理の色判定結果については、SRAM243に、「否」が記憶されたとき、と設定してもよいし、或いは、連続して、又は、直近の色判定処理の所定判定数(例えば、50回)の累計で、規定数(例えば、10回)以上、「否」が記憶されたとき、と設定してもよい。また、3次元判定処理の結果については、SRAM243に「不正メダル」が、が記憶されたとき、と設定してもよいし、或いは、連続して、又は、直近の判定処理の所定判定数(例えば、50回)の累計で、規定数(例えば、10回)以上、「不正メダル」が記憶されたとき、と設定してもよい。   The predetermined output conditions of each determination result can be set as appropriate. For example, with regard to the determination result related to the count process, when “an abnormality has occurred” is stored in the SRAM 243 as the determination result of the count process, it may be set, continuously, or immediately. It may be set that “the abnormality has occurred” is stored as a total of a predetermined determination number (for example, 50 times) of the count processing, and a predetermined number (for example, 10 times) or more. Further, as for the determination result of the threshold determination process, it may be set when the “threshold determination impossible” is stored in the SRAM 243 as the determination result, or may be set continuously or in the latest threshold determination process. It may be set that “threshold value determination impossibility” is stored in a total of a predetermined determination number (for example, 50 times) and a predetermined number (for example, 10 times) or more. In addition, the color judgment result of the color judgment process may be set to “when no” is stored in the SRAM 243, or may be set continuously or a predetermined number of judgments of the latest color judgment process ( For example, it may be set that “no” is stored at a predetermined number (for example, 10 times) or more in a total of 50 times). In addition, with regard to the result of the three-dimensional determination process, it may be set that “incorrect medal” is stored in the SRAM 243, or it may be set continuously or a predetermined number of determinations of the latest determination process ( For example, it may be set that “the fraudulent medal” is stored at a predetermined number (for example, 10 times) or more in a total of 50 times).

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

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

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

<入力処理>
入力処理は、ISI回路251によって行われる。入力処理において、ISI回路251は、上述したとおり、CMOSイメージセンサ232からLVDS方式で送信された画像データをRGBベイヤ画像に変換して、ISP回路245に出力する。
<Input processing>
Input processing is performed by the ISI circuit 251. In the input processing, 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>
AE correction processing is performed by the ISP circuit 245 and the host controller 241 when the pachislot 1 is powered on. Further, the AE correction processing is performed in parallel with conversion processing, color determination processing, and counting processing 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 or not the RGB Bayer image output from the ISI circuit 251 includes the image of the protrusion 210 a (see FIG. 8) formed on the surface of the medal rail 210. Perform AE determination processing. When it is determined that the output image 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.

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

このようにすることで、次に、ISP回路245がAE判定処理を行う画像は、露光時間が1段階上がったCMOSイメージセンサ232によって取得された画像に基づくRGBベイヤ画像となる。AE補正処理は、ISP回路245が、AE判定処理で、画像に突条部210aの画像が含まれると判定するまで、又は、露光時間が上限の175μ秒に設定されるまで、繰り返し行われる。   By doing this, the image on which the ISP circuit 245 performs the AE determination process next becomes an RGB Bayer image based on the image acquired by the CMOS image sensor 232 whose exposure time has been increased by one step. The AE correction process is repeated until the ISP circuit 245 determines that the image includes the image of the ridge 210a in the AE determination process 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 protrusion 210a in the AE determination process, the determination result of the AE determination process is not output to the host controller. Also, the AE determination processing is not performed on the image output from the ISI circuit 251 thereafter. 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 output from the ISI circuit 251 includes the image of the protrusion 210a. When the ISP circuit 245 determines that the image output from the ISI circuit 251 is the first to be output from the ISI circuit 251, the exposure time of the CMOS image sensor 232 is an initial value. It becomes 70 microseconds (step 10).

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

このように、ホストコントローラ241が、報知用LED206cに点灯を指示する制御信号を出力するとともに、副制御基板72に、メダル異常信号を出力する場合とは、露光時間を上限値の175μ秒に設定してもメダルレール210の突条部210aが撮像できなかった場合である。このような場合、カメラユニット209に何らかの障害(例えばレンズにほこりなどの汚れが付着している)が発生していることが考えられる。このため、この状態ではカメラユニット209を用いた遊技メダルの投入検知及び、不正行為の検知を有効に行えないことから、副制御回路101は、不正行為があった場合の種々の処理と同様の処理を行う。例えば、液晶表示装置11に所定のエラー画面を表示する。   As described above, when the host controller 241 outputs a control signal instructing lighting to the notification LED 206c, the exposure time is set to 175 μsec, which is the upper limit value, when the medal abnormality signal is output to the sub control board 72. Even in this case, the projection 210a of the medal rail 210 can not be imaged. In such a case, it is conceivable that some failure (for example, dirt such as dust is attached to the lens) has occurred in the camera unit 209. Therefore, in this state, since the insertion detection of game medals using the camera unit 209 and the detection of an illegal activity can not be effectively performed, the sub control circuit 101 performs the same processing as various processes when there is an illegal activity. Do the processing. 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 of performing a lens distortion correction process and a projection conversion (homography) process on the RGB Bayer image output from the ISI circuit 251. Next, the ISP circuit 245 performs color conversion processing to convert the corrected RGB Bayer image into YUV image data and to output gray scale image data to the medal counting circuit 246. Also, color conversion processing is performed to convert the RGB Bayer image into HSV image data and output this HSV image data to the color recognition circuit 247.

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

<色判定処理>
色判定処理は、カラー認識回路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 medal detection processing to determine whether the HSV image data output from the ISP circuit 245 includes a medal image. If it is determined that the HSV image data includes an image of a medal, the color recognition circuit 247 performs threshold determination processing 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 range, the color determination process is continued. On the other hand, in the case of the non-permissible area, “Threshold determination impossible” is stored in the SRAM 243 as the determination result, and the color determination processing is ended.

閾値判定処理後、カラー認識回路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枚に達するまでは、色テンプレートが生成されていないため、色テンプレート比較処理は実行されない。   Note that color template comparison processing is not performed because color templates are not generated until the number of medals inserted after power-on reaches the prescribed initial insertion number, which is 50 in the present embodiment.

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

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

順序判定処理において、メダルカウント回路246は、SRAM243に記憶されている各判定領域についての「IN」,「OUT」,「ON」,「OFF」のデータの遷移の態様が所定の遷移の態様と一致しているか否かを判定する。そして、判定結果として、「メダルが通過した」、「メダルがメダルシュート202に案内された」又は「異常が発生した」のいずれかをSRAM243に記憶させる。さらに、SRAM243に「メダルが通過した」と記憶された場合には、ホストコントローラ241は、GPIO250に割り付けられたメダルカウント出力PORTから、メダルカウント信号を出力する。このメダルカウント信号によって、副制御回路101は、メダルが投入されたことを検知する。   In the order determination process, the medal counting circuit 246 determines that the mode of transition of data of “IN”, “OUT”, “ON”, and “OFF” for each determination area stored in the SRAM 243 is a mode of predetermined transition. It is determined whether or not they match. Then, as the determination result, the SRAM 243 stores one of “the medal has passed”, “the medal has been guided to the medal shoot 202”, and “the abnormality has occurred”. Furthermore, when “the medal has 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. The sub control circuit 101 detects that a medal has been inserted based on the medal count signal.

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

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

ホストコントローラ241は、SRAM243に記憶された縮小画像データに対して、刻印判定処理における円領域検出処理以降の処理の実行を画像認識DSP回路242及び画像認識アクセラレータ回路249に指示する。   The host controller 241 instructs the image recognition DSP circuit 242 and the image recognition accelerator circuit 249 to execute processing after the circle area detection processing in the marking determination processing with respect to the reduced image data stored in the SRAM 243.

円領域検出処理において、画像認識DSP回路242は、縮小画像データをSRAM243から取得し、縮小画像データから円領域を検出する。なお、円領域検出処理において、円領域が抽出できなかった場合は、刻印判定処理における以降の処理は省略される。また、フィルタ処理において、画像認識DSP回路242は、検出した円領域について、非線形拡散フィルタ処理を施してエッジ画像XYを作成し、SRAM243に記憶させる。   In the circular area detection process, the image recognition DSP circuit 242 acquires the reduced image data from the SRAM 243 and detects the circular area from the reduced image data. In the circle area detection process, when the circle area can not be extracted, the subsequent processes in the marking determination process are omitted. Further, 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 the edge image XY in the SRAM 243.

次いで、回転画像生成処理において、画像認識アクセラレータ回路249は、SRAM243からエッジ画像XYを取得し、エッジ画像XYから360度分の回転画像を生成する。また、勾配平均画像データ生成処理において、画像認識アクセラレータ回路249は、360度分の回転画像を累積加算して(重ね合わせて)、勾配平均画像データを生成し、勾配平均画像データをSRAM243に記憶させる。   Next, in the rotation image generation processing, the image recognition accelerator circuit 249 acquires the edge image XY from the SRAM 243, and generates a rotation image for 360 degrees from the edge image XY. Further, in the gradient average image data generation process, the image recognition accelerator circuit 249 accumulates (overlaps) the rotated images for 360 degrees to generate gradient average image data, and stores the gradient average image data in the SRAM 243. Let

次いで、本テンプレートが登録されている場合は、画像認識DSP回路242が、勾配平均画像テンプレート比較処理において、画像認識アクセラレータ回路249が生成した勾配平均画像データをSRAM243から取得する。そして、取得した勾配平均画像データと、各本テンプレートの勾配平均画像データとを比較し、ZNCCによって類似度の評価値xを算出する。
一方、本テンプレートが登録されていない場合は、画像認識アクセラレータ回路249が後述する勾配平均画像テンプレート生成処理を行う。
Next, when the template is registered, the image recognition DSP circuit 242 acquires gradient average image data generated by the image recognition accelerator circuit 249 from the SRAM 243 in the gradient average image template comparison process. Then, the acquired gradient average image data and the gradient average image data of each main template are compared, and the evaluation value x of similarity is calculated by ZNCC.
On the other hand, when the template is not registered, the image recognition accelerator circuit 249 performs gradient average image template generation processing described later.

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

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

次いで、HOG変換処理において、画像認識アクセラレータ回路249は、エッジ極座標画像Xとエッジ極座標画像Yに基づいてエッジ勾配画像を作成し、作成したエッジ勾配画像にHOG変換を施し、局所領域毎に局所領域内の輝度の勾配方向のヒストグラムを、作成する。そして作成したヒストグラム一式(すなわちHOGデータ)をSRAM243に記憶させる。   Next, in the HOG conversion processing, the image recognition accelerator circuit 249 creates an edge gradient image based on the edge polar coordinate image X and the edge polar coordinate image Y, performs HOG conversion on the created edge gradient image, and performs local regions for each local region. Create a histogram of the gradient direction of the brightness within the Then, the generated histogram set (ie, HOG data) is stored in the SRAM 243.

次いで、本テンプレートが登録されている場合は、画像認識DSP回路242が、HOGテンプレート比較処理において、判定対象のHOGデータを取得し、取得したHOGデータと、各本テンプレートのHOGデータとを比較し、ZNCCによって類似度の評価値yを算出する。
一方、本テンプレートが登録されていない場合は、画像認識アクセラレータ回路249が後述するHOGテンプレート生成処理を行う。
Next, when the template is registered, the image recognition DSP circuit 242 acquires HOG data to be determined in the HOG template comparison process, and compares the acquired HOG data with the HOG data of each template. , ZNCC to calculate the evaluation value y of the degree of similarity.
On the other hand, when the template is not registered, the image recognition accelerator circuit 249 performs HOG template generation processing described later.

また、Scharr変換処理に並行して、画像認識アクセラレータ回路249は、FFT変換処理を行う。FFT変換処理において、画像認識アクセラレータ回路249は、SRAM243から極座標画像データを取得し、取得した極座標画像データに対して、FFT変換処理を施す。   Further, in parallel with the Scharr conversion process, the image recognition accelerator circuit 249 performs an FFT conversion process. In the FFT conversion processing, the image recognition accelerator circuit 249 acquires polar coordinate image data from the SRAM 243, and performs the FFT conversion processing on the acquired polar coordinate image data.

次いで、本テンプレートが登録されている場合は、画像認識DSP回路242は、FFTテンプレート比較処理において、判定対象のFFTデータを取得し、取得したFFTデータと、各本テンプレートのFFTデータとを比較し、ZNCCによって類似度の評価値zを算出する。
一方、本テンプレートが登録されていない場合は、画像認識アクセラレータ回路249が後述するFFTテンプレート生成処理を行う。
Next, when the main template is registered, the image recognition DSP circuit 242 acquires FFT data to be determined in the FFT template comparison process, and compares the acquired FFT data with the FFT data of each main template. , ZNCC to calculate the evaluation value z of the degree of similarity.
On the other hand, when the template is not registered, the image recognition accelerator circuit 249 performs FFT template generation processing described later.

勾配平均画像テンプレート比較処理、HOGテンプレート比較処理及びFFTテンプレート比較処理の結果、評価値x,y,zが算出された後、画像認識DSP回路242は、3次元判定処理を行い、判定結果をSRAM243に記憶する。   After evaluation values x, y and z are calculated as a result of gradient average image template comparison processing, HOG template comparison processing and FFT template comparison processing, the image recognition DSP circuit 242 performs three-dimensional determination processing, and the determination result is SRAM243. Remember to

<制御LSIの処理のタイミング>
次に、図36を参照して、制御LSI234が行う、各種処理のタイミングについて、説明する。
図36は、制御LSI234を構成するデバイスであるホストコントローラ241、ISP回路245、メダルカウント回路246、カラー認識回路247における処理の関係を時系列的に示している。各デバイス名の下方に延在する線における比較的太線の部分は、そのデバイスが上述した各種処理を行っている状態であることを示している。
<Process timing of control LSI>
Next, with reference to FIG. 36, the timings of various processes performed by the control LSI 234 will be described.
FIG. 36 shows the relationship of processing in the host controller 241, the ISP circuit 245, the medal count circuit 246 and the color recognition circuit 247 which are devices constituting the control LSI 234 in time series. A relatively thick line in the line extending downward of 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 arrows between lines corresponding to the devices indicate signals input and output between the devices. Also, the broken arrows between the line extending below “IN” and the line extending below “OUT” in the host controller indicate signals detected by the host controller 241 and signals output from the host controller 241. And their corresponding relationship with
The AE correction process performed by the host controller 241 and the ISP circuit 245 is not shown.

まず、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 image data via the ISI circuit 251, and the VSYNC (Vertical Synchronization) interrupt signal # 0 (1IH). ) Is output to the host controller 241. Also, the ISP circuit 245 performs conversion processing for converting an RGB Bayer image into various formats. Then, the gray scale image data and the HSV image data are output to the SRAM 243, the medal counting circuit 246, and the color recognition circuit 247. The detailed description of the conversion process is omitted because it has been described above.

ホストコントローラ241は、VSYNC割込信号♯0が入力されると、所定時間経過後に、カラー認識回路247と、メダルカウント回路246に起動要求信号(1HC,1HM)を出力する。なお、この所定時間は、実験やシミュレーションに基いて、ISP回路245における変換処理の所要時間よりも長く設定されている。   When the VSYNC interrupt signal # 0 is input, the host controller 241 outputs a start request signal (1HC, 1HM) to the color recognition circuit 247 and the medal count circuit 246 after a predetermined time has elapsed. The predetermined time is set to be 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 start 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. Output interrupt signal (1CH). The detailed description of the color determination process is omitted because it is described above.

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

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

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

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

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

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

また、ホストコントローラ241は、副制御基板72に出力した判定結果を、SRAM243から削除する。
カウント処理の判定結果が「メダルが通過した」である場合、副制御回路101のサブCPU102は、GPIO250のメダルカウント出力PORTから出力されたメダルカウント信号を検出して、投入されたメダルの枚数をサブCPU102が計数するために設けられたカウンタである投サブカウント枚数記憶領域の値に1加算する。
In addition, the host controller 241 deletes the determination result output to the secondary control board 72 from the SRAM 243.
If the determination result of the count process is "the medal has passed", the sub CPU 102 of the sub control circuit 101 detects the medal count signal output from the medal count output PORT of the GPIO 250, and determines the number of inserted medals. The sub CPU 102 adds 1 to the value of the throw sub count sheet number storage area, which is a counter provided for counting.

また、色判定処理の判定結果が「閾値判定不可」の場合や、色判定結果が「否」の場合、また、カウント判定結果が「異常が発生した」である場合に、GPIO250のメダル判定出力PORTから所定の出力条件が成立したときに出力されるメダル異常信号(図36のJudgement)により、副制御回路101は、遊技機に正規の遊技媒体が用いられていると誤認させて遊技を行う不正行為があったことを検知する。そして、不正行為があった場合の種々の処理を行う。ここで、不正行為があった場合の種々の処理とは、例えば、液晶表示装置11に不正行為が発生した旨を表示する処理である。   In addition, when the judgment result of the color judgment processing is "Threshold judgment impossible" or when the color judgment result is "No" or when the count judgment result is "Abnormal", the medal judgment output of the GPIO 250 By the medal abnormality signal (Judgement in FIG. 36) which is output when a predetermined output condition is established from the PORT, the sub control circuit 101 causes the gaming machine to falsely recognize that the regular game medium is used, and plays the game. Detect that there has been a fraud. Then, various processes are performed when there is a fraud. Here, the various types of processing when there is a fraudulent activity are, for example, processing for displaying that the fraudulent activity has occurred on the liquid crystal display device 11.

次に、図37を参照して、制御LSI234が行う、その他の処理のタイミングについて、説明する。
図37は、制御LSI234を構成するデバイスであるホストコントローラ241、ISP回路245、魚眼補正スケーラ回路248、画像認識DSP回路242、画像認識アクセラレータ回路249における処理の関係を時系列的に示している。なお、図37における各種表記の意味は、図36と同様のため、ここでは説明を省略する。また、図37は、電源投入後m回目のVSYNC割込信号であるVSYNC割込信号♯mがISP回路245から出力された以降の処理のタイミングについて示している。
Next, with reference to FIG. 37, the timings of other processes performed by the control LSI 234 will be described.
FIG. 37 shows in chronological order the relationship of processing 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 which are devices constituting the control LSI 234. . In addition, since the meaning of the various description in FIG. 37 is the same as that of FIG. 36, description is abbreviate | omitted here. FIG. 37 shows the timing of processing after the VSYNC interrupt signal #m, which is the mth VSYNC interrupt signal after power 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 (1 IH) ) Is output to the host controller 241. Also, the ISP circuit 245 performs conversion processing for converting an 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 is omitted because it has been described above.

ホストコントローラ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 conversion processing of the ISP circuit 245, and at the timing when the conversion processing ends, the start request signal (1HG) to the fisheye correction scaler circuit 248 Output The predetermined time is set to be 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 gray scale image data from the SRAM 243, performs fisheye correction processing and equalization processing, and stores the generated reduced image data in the SRAM 243, and The reduction end interrupt signal (1GH) is output to the host controller 241. The detailed description of the fisheye correction process and the equalization process is omitted because it has been described above.

ホストコントローラ241は、画像認識DSP回路242に前処理の開始を指示する信号(1HD)を入力する。
画像認識DSP回路242は、ホストコントローラ241から上記信号が入力されると、前処理を行う。前処理は、上述のように、円領域検出処理とフィルタ処理からなり、前処理で作成したエッジ画像XYをSRAM243に記憶させ、ホストコントローラ241に前処理終了割込信号(1DH1)を出力する。なお、上述のように、円領域検出処理において、円領域が検出できなかった場合は、以降の処理は行われない。前処理の詳細な説明については上述したため省略する。
The host controller 241 inputs a signal (1HD) instructing the image recognition DSP circuit 242 to start preprocessing.
The image recognition DSP circuit 242 performs preprocessing when the above signal is input from the host controller 241. The preprocessing includes circular area detection processing and filter processing as described above, stores the edge image XY created in the preprocessing in the SRAM 243, and outputs a preprocessing end interrupt signal (1DH1) to the host controller 241. Note that, as described above, when the circular area can not be detected in the circular area detection process, the subsequent processes are not performed. The detailed description of the pre-processing is omitted because it is described above.

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

画像認識アクセラレータ回路249は、ホストコントローラ241から上記信号が入力されると、補正処理を行う。そして、生成した勾配平均画像データをSRAM243に記憶させる。また、生成したHOGデータをSRAM243記憶させる。また、生成したFFTデータをSRAMに記憶させる。   The image recognition accelerator circuit 249 performs correction processing when the above signal is input from the host controller 241. Then, the generated gradient average image data is stored in the SRAM 243. The generated HOG data is stored in the SRAM 243. Also, the generated FFT data is stored in the SRAM.

次いで、既に本テンプレートが登録されていた場合は、画像認識アクセラレータ回路249は、画像認識DSP回路242に補正処理終了割込信号(1AD)を出力する。一方、未だ本テンプレートが生成されていない場合は、画像認識DSP回路242に補正処理終了割込信号を出力する処理を省略する。   Next, when the template is already registered, 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, when the main template is not generated yet, the process of outputting the correction process end interrupt signal to the image recognition DSP circuit 242 is omitted.

画像認識DSP回路242は、補正処理終了割込信号が入力されると、刻印判定処理を行う。ここでの刻印判定処理は、勾配平均画像テンプレート比較処理、HOGテンプレート比較処理、FFTテンプレート比較処理及び3次元判定処理からなる。そして、判定結果を、SRAM243に記憶させる。その後、画像認識DSP回路242は、刻印判定終了割込信号(1DH2)をホストコントローラ241に出力する。   The image recognition DSP circuit 242 performs marking determination processing when a correction processing end interrupt signal is input. The marking determination processing here includes gradient average image template comparison processing, HOG template comparison processing, FFT template comparison processing, and three-dimensional determination processing. Then, the determination result is stored in the SRAM 243. Thereafter, the image recognition DSP circuit 242 outputs the marking determination end interrupt signal (1DH2) to the host controller 241.

ホストコントローラ241は、刻印判定終了割込信号が入力されると、SRAM243に記憶されている刻印判定処理(における3次元判定処理)の判定結果を取得する。また、ホストコントローラ241は、取得した判定結果として「不正メダル」が記憶されている場合、上述した所定の出力条件が成立したときに、GPIO250のメダル判定出力PORTからメダル異常信号(図37のJudgement)を副制御回路101に出力する(1HG)。すなわちホストコントローラ241は、刻印判定処理の判定結果を、GPIO250を介して副制御基板72(副制御回路101)に出力する。また、ホストコントローラ241は、出力した刻印判定処理の判定結果を、SRAM243から削除する。なお、本実施形態では、色判定処理の判定結果の出力と、刻印判定処理の判定結果の出力は、GPIO250の同じ出力PORTを割り付けているが、これに限らず、別々の出力PORTに割り付けてもよい。この場合、副制御回路101は、色判定処理の判定結果に基づくメダル異常信号か、刻印判定処理の判定結果に基づくメダル異常信号か、を判別することができる。   When the marking determination end interrupt signal is input, the host controller 241 acquires the determination result of the marking determination process (in the three-dimensional determination process) stored in the SRAM 243. Further, when the “unauthorized medal” is stored as the acquired determination result, the host controller 241 determines the medal abnormality signal (judgment in FIG. 37) from the medal determination output PORT of the GPIO 250 when the above-described predetermined output condition is satisfied. ) To the sub control circuit 101 (1 HG). That is, the host controller 241 outputs the determination result of the marking determination process to the sub control board 72 (sub control circuit 101) via the GPIO 250. In addition, the host controller 241 deletes the output determination result of the marking determination process from the SRAM 243. In the present embodiment, the output of the judgment result of the color judgment processing and the output of the judgment result of the marking judgment processing are allocated to the same output PORT of the GPIO 250, but the present invention is not limited to this. It is also good. In this case, the sub control circuit 101 can determine whether it is a medal abnormality signal based on the determination result of the color determination processing or a medal abnormality signal based on the determination result of the marking determination processing.

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

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

これは、前回の縮小終了割込信号が入力されてから今回の縮小割込信号が入力されるまで、画像認識DSP回路242又は画像認識アクセラレータ回路249が処理中(ビジー状態)のためである。   This is because the image recognition DSP circuit 242 or the image recognition accelerator circuit 249 is in processing (busy state) until the current reduction interrupt signal is input after the previous reduction end interrupt signal is input.

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

[テンプレート生成処理]
次に、画像認識アクセラレータ回路249が行うテンプレート生成処理について、図38及び図39に示すフローチャートを参照して、説明する。図38及び図39は、テンプレート生成処理の一例を示すフローチャートである。なお、テンプレート生成処理は、所定の周期で繰り返し実行される。また、テンプレート生成処理には、図35に示す勾配平均画像テンプレート生成処理、HOGテンプレート生成処理、FFTテンプレート生成処理を含む処理である。
[Template generation process]
Next, template generation processing performed by the image recognition accelerator circuit 249 will be described with reference to the flowcharts shown in FIGS. 38 and 39. 38 and 39 are flowcharts showing an example of the template generation process. The template generation process is repeatedly performed in a predetermined cycle. The template generation processing is processing including gradient average image template generation processing, HOG template generation processing, and FFT template generation processing shown in FIG.

まず、画像認識アクセラレータ回路249は、メダルが投入されたか否かを判定する(S1)。具体的には、メダルカウント回路246が、ISP回路245から出力されたグレースケール画像データに、メダルの画像が含まれていると判別したか否かを確認する。つまり、メダルカウント回路246がカウント処理を開始したか否かを確認する。メダルが投入されたと判定する場合(S1がYES判定の場合)、画像認識アクセラレータ回路249は、処理をステップS2に移行する。一方、メダルが投入されていないと判定する場合(S1がNO判定の場合)、画像認識アクセラレータ回路249は、テンプレート生成処理を終了する。   First, the image recognition accelerator circuit 249 determines whether a medal has been inserted (S1). Specifically, it is checked whether or not the medal count circuit 246 determines that the grayscale image data output from the ISP circuit 245 includes an image of a medal. That is, it is confirmed whether the medal counting circuit 246 has started the counting process. When it is determined that the medal has been inserted (when the determination in S1 is YES), the image recognition accelerator circuit 249 shifts the process to step S2. On the other hand, when it is determined that the medal has not been inserted (when the determination in S1 is NO), the image recognition accelerator circuit 249 ends the template generation process.

ステップS2において、画像認識アクセラレータ回路249は、仮刻印を保持する(S2)。具体的には、メダルカウント回路246がメダルの画像が含まれていると判別したグレースケール画像データに対して魚眼補正スケーラ回路248及び画像認識DSP回路242が各種処理を施して作成したエッジ画像XYを用いて、投入されたメダルの勾配平均画像データ、HOGデータ、FFTデータを生成する。そして、これら生成したデータのセットを、SRAM243に記憶する。   In step S2, the image recognition accelerator circuit 249 holds the temporary marking (S2). Specifically, an edge image created by the fisheye correction scaler circuit 248 and the image recognition DSP circuit 242 performing various processes on grayscale image data that the medal counting circuit 246 has determined to include an image of a medal. Using XY, gradient average image data, HOG data, and FFT data of the inserted medal are generated. Then, the set of the generated data is stored in the SRAM 243.

次に、画像認識アクセラレータ回路249は、メダルカウントがOKか否かを判定する(S3)。具体的には、ステップS1で開始を確認したメダルカウント回路246によるカウント処理の判定結果が、メダルレール210上を「メダルが通過した」であるか否かを判定する(S3)。ステップS3で、メダルカウントがOKでない場合(判定結果が「メダルが通過した」でない場合,すなわちS3がNO判定の場合)、画像認識アクセラレータ回路249は、仮刻印を破棄する(S4)。すなわち、画像認識アクセラレータ回路249は、ステップS2でSRAM243に記憶させた勾配平均画像データ、HOGデータ、FFTデータを破棄する。そして、画像認識アクセラレータ回路249は、テンプレート生成処理を終了する。   Next, the image recognition accelerator circuit 249 determines whether or not the medal count is OK (S3). Specifically, it is determined whether or not the determination result of the counting process by the medal counting circuit 246 that has confirmed the start in step S1 is "the medal has passed" on the medal rail 210 (S3). When the medal count is not OK in step S3 (when the determination result is not "the medal has passed", that is, when S3 is NO determination), the image recognition accelerator circuit 249 discards the temporary marking (S4). That is, the image recognition accelerator circuit 249 discards the gradient average image data, the HOG data, and the FFT data stored in the SRAM 243 in step S2. Then, the image recognition accelerator circuit 249 ends the template generation process.

一方、ステップS3において、メダルカウントがOKである場合(判定結果が「メダルが通過した」である場合,すなわちステップS3がYES判定の場合)、画像認識アクセラレータ回路249は、仮テンプレートがあるか否かを判定する(S5)。具体的には、SRAM243の仮テンプレート記憶領域を参照し、仮テンプレート(勾配平均画像データ、HOGデータ及びFFTデータのセット)が記憶されているか否かを判定する。ここで、本実施形態における仮テンプレート記憶領域として、仮テンプレートを10個(セット)記憶可能なように、仮テンプレート記憶領域No.1〜No.10が設定されている。   On the other hand, if the medal count is OK in step S3 (if the determination result is "the medal has passed", that is, if the determination in step S3 is YES), the image recognition accelerator circuit 249 determines whether there is a temporary template. It is determined (S5). Specifically, the temporary template storage area of the SRAM 243 is referenced to determine whether a temporary template (set of gradient average image data, HOG data and FFT data) is stored. Here, as temporary template storage areas in the present embodiment, ten temporary templates (set) can be stored. 1 to No. 10 is set.

仮テンプレートが記憶されていないと判定する場合(S5がNO判定の場合)、画像認識アクセラレータ回路249は、ステップS2でSRAM243に記憶させた勾配平均画像データ、HOGデータ、FFTデータを、仮テンプレートとして仮テンプレート記憶領域No.1〜No.10の中の空き領域に記憶し、空き領域Noに応じた仮テンプレートの累積カウンタの値を1にする(S6)。なお、以降の説明において、仮テンプレート記憶領域No.1〜No.10のそれぞれに記憶されている仮テンプレートを「仮テンプレートNo.1〜No.10」と称する場合がある。すなわち、例えば、仮テンプレート記憶領域No.1に記憶されている仮テンプレートを「仮テンプレートNo.1」と称する場合がある。   When it is determined that the temporary template is not stored (when the determination in S5 is NO), the image recognition accelerator circuit 249 sets the gradient average image data, the HOG data, and the FFT data stored in the SRAM 243 in step S2 as the temporary template. Temporary template storage area No. 1 to No. The value is stored in the free space in 10, and the value of the temporary template cumulative counter according to the free space No is set to 1 (S6). In the following description, temporary template storage area no. 1 to No. The temporary templates stored in each of 10 may be referred to as “temporary template Nos. 1 to 10”. That is, for example, temporary template storage area No. The temporary template stored in 1 may be referred to as "temporary template No. 1".

次に、画像認識アクセラレータ回路249は、学習メダルカウントを行う(S7)。具体的には、画像認識アクセラレータ回路249は、SRAM243に設けられた学習メダルカウンタの値に1を加算する。   Next, the image recognition accelerator circuit 249 counts learning medals (S7). Specifically, the image recognition accelerator circuit 249 adds 1 to the value of the learning medal counter provided in the SRAM 243.

次に、画像認識アクセラレータ回路249は、学習メダルカウンタの値が127か否かを判定する(S8)。学習メダルカウンタの値が127の場合(S8がYES判定の場合)、画像認識アクセラレータ回路249は、処理を後述するステップS14に移行させる。一方、学習メダルカウンタの値が127でない場合(S8がNO判定の場合)、画像認識アクセラレータ回路249は、学習メダルカウンタの値が259か否かを判定する(S9)。学習メダルカウンタの値が259の場合(S9がYES判定の場合)、画像認識アクセラレータ回路249は、処理を後述するステップS16に移行させる。一方、学習メダルカウンタの値が259でない場合(S9がNO判定の場合)、画像認識アクセラレータ回路249は、テンプレート生成処理を終了する。   Next, the image recognition accelerator circuit 249 determines whether the value of the learning medal counter is 127 (S8). If the value of the learning medal counter is 127 (if the determination in step S8 is YES), the image recognition accelerator circuit 249 shifts the process to step S14 described later. On the other hand, when the value of the learning medal counter is not 127 (when the determination in S8 is NO), the image recognition accelerator circuit 249 determines whether the value of the learning medal counter is 259 (S9). When the value of the learning medal counter is 259 (when the determination in S9 is YES), the image recognition accelerator circuit 249 shifts the processing to step S16 described later. On the other hand, when the value of the learning medal counter is not 259 (when the determination in S9 is NO), the image recognition accelerator circuit 249 ends the template generation process.

ここで、説明をステップS5に戻し、仮テンプレートが記憶されていると判定する場合(S5がYES判定の場合)、画像認識アクセラレータ回路249は、ステップS2でSRAM243に記憶させた勾配平均画像データ、HOGデータ、FFTデータが、仮テンプレートNo.1〜No.10のいずれかと同じか否かを判定する(S10)。すなわち、投入されたメダルが、仮テンプレートNo.1〜No.10のいずれかと同じかを判定する。   Here, if the description is returned to step S5 and it is determined that the temporary template is stored (if S5 is a YES determination), the image recognition accelerator circuit 249 stores the gradient average image data stored in the SRAM 243 in step S2. The HOG data and the FFT data are temporary template No. 1 to No. It is determined whether it is the same as one of 10 (S10). That is, the inserted medal is temporary template No. 1 to No. Determine whether it is the same as one of 10.

この比較において、画像認識アクセラレータ回路249は、ステップS2でSRAM243に記憶させた勾配平均画像データ、HOGデータ、FFTデータと、仮テンプレートNo.1〜No.10(の勾配平均画像データ、HOGデータ、FFTデータ)とを比較し、類似度の評価値x,y,zを算出する。具体的には、ZNCCによって、勾配平均画像データについて評価値xを算出し、HOGデータについて評価値yを算出し、FFTデータについて評価値zを算出する。そして、算出した評価値x,y,zと、予め設定した係数A,C,Dからなる上述の式(11)が成立する場合に、投入されたメダルと、仮テンプレートとが、同一であると判定する。   In this comparison, the image recognition accelerator circuit 249 makes the gradient average image data, the HOG data, the FFT data, and the temporary template No. 1 stored in the SRAM 243 in step S2. 1 to No. 10 (gradient average image data, HOG data, FFT data) are compared, and evaluation values x, y, z of similarity are calculated. Specifically, an evaluation value x is calculated for gradient average image data by ZNCC, an evaluation value y is calculated for HOG data, and an evaluation value z is calculated for FFT data. And, when the above-mentioned equation (11) consisting of the calculated evaluation values x, y, z and the preset coefficients A, C, D holds, the inserted medal and the temporary template are the same. It is determined that

ステップS10において、ステップS2で投入されたメダルが、仮テンプレートNo.1〜No.10のいずれかと同じと判定する場合(S10がYES判定の場合)、画像認識アクセラレータ回路249は、処理をステップS11に移行させる。ステップS11において、画像認識アクセラレータ回路249は、上記式が成立する(すなわち投入メダルと同じと判定された)仮テンプレートについて、累積カウントを行い、且つ、更新処理を行う(S11)。   In step S10, the medal inserted in step S2 is a temporary template No. 1 to No. If it is determined that it is the same as any one of 10 (if S10 is a YES determination), the image recognition accelerator circuit 249 shifts the processing to step S11. In step S11, the image recognition accelerator circuit 249 performs an accumulation count and performs an update process on the temporary template for which the above equation is established (that is, determined to be the same as the inserted medal) (S11).

具体的には、画像認識アクセラレータ回路249は、SRAM243に仮テンプレートNo.1〜No.10毎に設けられた累積カウンタの内で、ステップS10で投入メダルと同じと判定された仮テンプレートの累積カウンタの値に1を加算する。また、同じと判定された仮テンプレートの勾配平均画像データ、HOGデータ、FFTデータについて、これらのデータのそれぞれとステップS2でSRAM243に記憶させた投入メダルの勾配平均画像データ、HOGデータ、FFTデータのそれぞれとを平均化し、更新する。そして、画像認識アクセラレータ回路249は、処理をステップS7に移行させる。   Specifically, the image recognition accelerator circuit 249 transmits the temporary template No. 1 to No. Among the accumulated counters provided every 10, 1 is added to the value of the accumulated counter of the temporary template determined to be the same as the inserted medal in step S10. Also, for gradient average image data, HOG data, and FFT data of temporary templates determined to be the same, gradient average image data, HOG data, and FFT data of the input medals stored in the SRAM 243 in step S2 respectively. Average each and update. Then, the image recognition accelerator circuit 249 shifts the processing to step S7.

一方、ステップS10において、式(11)が成り立たず、投入されたメダルが、仮テンプレートNo.1〜No.10のいずれとも同じでないと判定する場合(S10がNO判定の場合)、画像認識アクセラレータ回路249は、処理をステップS12に移行させる。ステップS12において、画像認識アクセラレータ回路249は、仮テンプレートが10個あるか否かを判定する(S12)。具体的には、画像認識アクセラレータ回路249は、仮テンプレート記憶領域No.1〜No.10を参照し、すべてに仮テンプレートが記憶されているか否かを判定する。   On the other hand, in step S10, equation (11) does not hold, and the inserted medals are temporary template No. 1 to No. If it is determined that none of 10 is the same (if S10 is NO), the image recognition accelerator circuit 249 shifts the processing to step S12. In step S12, the image recognition accelerator circuit 249 determines whether there are ten temporary templates (S12). Specifically, the image recognition accelerator circuit 249 uses the temporary template storage area no. 1 to No. Referring to 10, it is determined whether temporary templates are stored in all.

仮テンプレート記憶領域No.1〜No.10のすべてに仮テンプレートが記憶されていない場合(S12がNO判定の場合)、画像認識アクセラレータ回路249は、処理をステップS6に移行させる。そして、ステップS6で、ステップS2でSRAM243に記憶させた勾配平均画像データ、HOGデータ、FFTデータを仮テンプレートとして、仮テンプレート記憶領域No.1〜No.10の中の空き領域に記憶する。   Temporary template storage area No. 1 to No. If temporary templates are not stored in all 10 (if S12 is NO), the image recognition accelerator circuit 249 shifts the processing to step S6. Then, in step S6, using the gradient average image data, the HOG data, and the FFT data stored in the SRAM 243 in step S2 as a temporary template, the temporary template storage area No. 1 is used. 1 to No. Store in the free space of 10.

一方、仮テンプレート記憶領域No.1〜No.10のすべてに仮テンプレートが記憶されている場合(S12がYES判定の場合)、画像認識アクセラレータ回路249は、処理をステップS13に移行させる。ステップS13において、画像認識アクセラレータ回路249は、最下位の仮テンプレートとして記憶されている勾配平均画像データ、HOGデータ、FFTデータを破棄する。(S13)。また、破棄した仮テンプレートNoの累積カウントの値を0にする。そして、画像認識アクセラレータ回路249は、処理をステップS6に移行させる。なお、移行したステップS6において、ステップS2でSRAM243に記憶させた勾配平均画像データ、HOGデータ、FFTデータが仮テンプレートとして記憶される。すなわち、ステップS2でSRAM243に記憶させた勾配平均画像データ、HOGデータ、FFTデータがS13で破棄した仮テンプレートに入れ替わるように記憶される。   On the other hand, temporary template storage area No. 1 to No. When temporary templates are stored in all of 10 (when S12 is a YES determination), the image recognition accelerator circuit 249 shifts the processing to step S13. In step S13, the image recognition accelerator circuit 249 discards the gradient average image data, the HOG data, and the FFT data stored as the lowest temporary template. (S13). Further, the accumulated count value of the discarded temporary template No is set to 0. Then, the image recognition accelerator circuit 249 shifts the processing to step S6. In step S6 after transition, the gradient average image data, the HOG data, and the FFT data stored in the SRAM 243 in step S2 are stored as a temporary template. That is, the gradient average image data, the HOG data, and the FFT data stored in the SRAM 243 in step S2 are stored so as to replace the temporary template discarded in S13.

ここで、説明をステップS8に戻し、学習メダルカウンタの値が127の場合(S8がYES判定の場合)、画像認識アクセラレータ回路249は、累積カウンタの値が10以上の仮テンプレートが1種類又は2種類かを判定する(S14)。累積カウンタの値が10以上の仮テンプレートが1種類又は2種類でないと判定する場合(ステップS14がNO判定の場合)、画像認識アクセラレータ回路249は、テンプレート生成処理を終了する。なお、累積カウンタの値が10以上の仮テンプレートが1種類又は2種類でない場合とは、累積カウンタの値が10以上の仮テンプレートが0又は3種類以上ある場合である。   Here, the description returns to step S8, and when the value of the learning medal counter is 127 (when S8 is a YES determination), the image recognition accelerator circuit 249 has one or two temporary templates with a value of accumulation counter of 10 or more. It is determined whether the type is (S14). If it is determined that the value of the cumulative counter is not one or two of the temporary templates of ten or more (if the determination in step S14 is NO), the image recognition accelerator circuit 249 ends the template generation process. The case where the value of the accumulation counter is 10 or more is not one type or 2 types means the case where the value of the accumulation counter is 0 or 3 or more types.

一方、累積カウンタの値が10以上の仮テンプレートが1種類又は2種類であると判定する場合(ステップS14がYES判定の場合)、画像認識アクセラレータ回路249は、累積カウンタが10以上の仮テンプレートを、本テンプレートに登録し、仮テンプレート記憶領域に記憶されている他の仮テンプレートは破棄する(S15)。ここで、本テンプレートに登録とは、SRAM243に設定されている本テンプレート記憶領域に、累積カウンタが10以上の仮テンプレートを、記憶させること、すなわちテンプレートの生成を完了することを意味する。そして、画像認識アクセラレータ回路249は、テンプレート生成処理を終了する。なお、以降の説明において、本テンプレート記憶領域に記憶されている仮テンプレートを「本テンプレート」と称する場合がある。   On the other hand, when it is determined that one or two types of temporary templates having a cumulative counter value of 10 or more are determined (if YES in step S14), the image recognition accelerator circuit 249 selects temporary templates having 10 or more cumulative counters. , And other temporary templates registered in this template and stored in the temporary template storage area are discarded (S15). Here, registration in the present template means storing a temporary template having an accumulation counter of 10 or more in the present template storage area set in the SRAM 243, that is, completing generation of the template. Then, the image recognition accelerator circuit 249 ends the template generation process. In the following description, a temporary template stored in the main template storage area may be referred to as a "main template".

ここで、説明をステップS9に戻し、学習メダルカウンタの値が259の場合(S9がYES判定の場合)、画像認識アクセラレータ回路249は、累積カウンタの値が10以上の仮テンプレートは0種類か否かを判定する(S16)。累積カウンタの値が10以上の仮テンプレートは0種類であると判定する場合(S16がYES判定の場合)、画像認識アクセラレータ回路249は、処理を後述するステップS20に移行する。   Here, the description returns to step S9, and when the value of the learning medal counter is 259 (when S9 is a YES determination), the image recognition accelerator circuit 249 determines whether or not there are 0 types of temporary templates with an accumulation counter of 10 or more. It is determined (S16). When it is determined that the temporary template having the accumulation counter value of 10 or more is 0 type (when the determination in S16 is YES), the image recognition accelerator circuit 249 shifts the process to step S20 described later.

一方、累積カウンタの値が10以上の仮テンプレートが0種類でないと判定する場合(S16がNO判定の場合)、画像認識アクセラレータ回路249は、累積カウンタの値が10以上の仮テンプレートは5種類以上か否かを判定する(S17)。累積カウンタの値が10以上の仮テンプレートは5種類以上でないと判定する場合(S17がNO判定の場合,すなわち10以上の仮テンプレートが1〜4種類の場合)、画像認識アクセラレータ回路249は、累積カウンタの値が10以上の仮テンプレートを本テンプレートに登録し、仮テンプレート記憶領域に記憶されている他の仮テンプレートは破棄する(S18)。そして、画像認識アクセラレータ回路249は、テンプレート生成処理を終了する。   On the other hand, when it is determined that the temporary template whose cumulative counter value is 10 or more is not 0 type (when S16 is NO determination), the image recognition accelerator circuit 249 has 5 or more temporary template types whose cumulative counter value is 10 or more. It is determined whether or not (S17). When it is determined that the value of the cumulative counter is 10 or more and that the number of temporary templates is not 5 or more (when S17 is NO, that is, 1 to 4 types of temporary templates of 10 or more), the image recognition accelerator circuit 249 A temporary template having a counter value of 10 or more is registered in the template, and the other temporary templates stored in the temporary template storage area are discarded (S18). Then, the image recognition accelerator circuit 249 ends the template generation process.

一方、累積カウンタの値が10以上の仮テンプレートが5種類以上であると判定する場合(S17がYES判定の場合)、画像認識アクセラレータ回路249は、累積カウンタの値が上位4位と5位の仮テンプレートについて、累積カウンタの値が等しいか否かを判定する(S19)。累積カウンタの値が等しくない場合(19がNO判定の場合)、画像認識アクセラレータ回路249は、累積カウンタの値が上位1位から4位までの4種類の仮テンプレートを本テンプレートに登録し、仮テンプレート記憶領域に記憶されている他の仮テンプレートは破棄する(S21)。そして、画像認識アクセラレータ回路249は、テンプレート生成処理を終了する。   On the other hand, when it is determined that the number of temporary templates whose cumulative counter value is 10 or more is 5 or more (when S17 is a YES determination), the image recognition accelerator circuit 249 determines that the cumulative counter values are the fourth and fifth highest. For the temporary template, it is determined whether the values of the cumulative counters are equal (S19). When the values of the accumulation counters are not equal (when the determination of 19 is NO), the image recognition accelerator circuit 249 registers four types of temporary templates with the values of the accumulation counters from the top 1 to the 4 in the template. The other temporary templates stored in the template storage area are discarded (S21). Then, the image recognition accelerator circuit 249 ends the template generation process.

ステップS16で、累積カウンタの値が10以上の仮テンプレートは0種類であると判定する場合(S16がYES判定の場合)及びステップS19で、累積カウンタの値が等しいと判定する場合(S19がYES判定の場合)、画像認識アクセラレータ回路249は、テンプレートエラー信号(メダル異常信号)を出力する(S20)。そして、画像認識アクセラレータ回路249は、テンプレート生成処理を終了する。   In step S16, if it is determined that the temporary template having a cumulative counter value of 10 or more is 0 type (if YES in S16) and if it is determined in step S19 that the values of the cumulative counter are equal (YES in S19) In the case of determination), the image recognition accelerator circuit 249 outputs a template error signal (medal abnormality signal) (S20). Then, the image recognition accelerator circuit 249 ends the template generation process.

[本テンプレート更新処理]
次に、画像認識アクセラレータ回路249が行う本テンプレート更新処理について、図40を参照して、説明する。図40は、本テンプレート更新処理の一例を示すフローチャートである。本テンプレート更新処理は、画像認識DSP回路242が3次元判定処理を行う度に実行される。
[This template update process]
Next, the template updating process performed by the image recognition accelerator circuit 249 will be described with reference to FIG. FIG. 40 is a flowchart showing an example of the template update process. This template update process is executed each time the image recognition DSP circuit 242 performs the three-dimensional determination process.

まず、画像認識アクセラレータ回路249は、画像認識DSP回路242の3次元判定処理の判定結果が「正規メダル」か否かを判定する(S31)。判定結果が「正規メダル」でない場合(S31がNO判定の場合)、画像認識アクセラレータ回路249は、本テンプレート更新処理を終了する。   First, the image recognition accelerator circuit 249 determines whether the determination result of the three-dimensional determination process of the image recognition DSP circuit 242 is a "regular medal" (S31). If the determination result is not the “regular medal” (if the determination in S31 is NO), the image recognition accelerator circuit 249 ends the template update process.

一方、判定結果が「正規メダル」である場合(S31がYES判定の場合)、画像認識アクセラレータ回路249は、SRAM243に設定されている正規メダルカウンタの値に1を加算する(S32)。   On the other hand, if the determination result is "regular medal" (if S31 is a YES determination), the image recognition accelerator circuit 249 adds 1 to the value of the regular medal counter set in the SRAM 243 (S32).

次いで、画像認識アクセラレータ回路249は、正規メダルカウンタの値が4であるか否かを判定する(S33)。正規メダルカウンタの値が4でない場合(S33がNO判定の場合)、画像認識アクセラレータ回路249は、本テンプレート更新処理を終了する。   Next, the image recognition accelerator circuit 249 determines whether the value of the regular medal counter is 4 (S33). When the value of the regular medal counter is not 4 (when the determination in S33 is NO), the image recognition accelerator circuit 249 ends the template updating process.

一方、正規メダルカウンタの値が4である場合(S33がYES判定の場合)、画像認識アクセラレータ回路249は、本テンプレート更新処理を行う(S34)。具体的には、直近の3次元判定処理で、式(11)が成立した本テンプレートの勾配平均画像データ、HOGデータ、FFTデータのそれぞれに、投入されたメダルの勾配平均画像データ、HOGデータ、FFTデータを合成する。本実施形態では、投入されたメダルの勾配平均画像データ、HOGデータ、FFTデータを1/256の加重平均で、本テンプレートの勾配平均画像データ、HOGデータ、FFTデータのそれぞれに合成する。なお、投入されたメダルの勾配平均画像データ、HOGデータ、FFTデータに対する重み付けは1/256に限らず、任意に設定可能である。また、本実施形態では、加重平均で合成する方法を説明したが、これに限らず、単純平均、又は、指数平均で合成してもよい。   On the other hand, when the value of the regular medal counter is 4 (when the determination in S33 is YES), the image recognition accelerator circuit 249 performs the template updating process (S34). Specifically, gradient average image data, HOG data, HOG data, and the like for each of the gradient average image data, HOG data, and FFT data of the present template for which equation (11) holds in the latest three-dimensional determination process. Synthesize FFT data. In this embodiment, the gradient average image data, HOG data, and FFT data of the inserted medal are combined with the gradient average image data, HOG data, and FFT data of the present template by a weighted average of 1/256. The weighting for the gradient average image data, HOG data, and FFT data of the inserted medal is not limited to 1/256, and can be set arbitrarily. Moreover, although the method to combine by a weighted average was described in this embodiment, it may combine not only with this but a simple average or an exponential average.

ステップS34の後、画像認識アクセラレータ回路249は、正規メダルカウンタをクリアし、本テンプレート更新処理を終了する。
なお、式(11)が成立する本テンプレートが複数ある場合は、x+Ay+Czで算出される値がもっとも大きな値に係る本テンプレートを更新する。例えば、本テンプレートとして、本テンプレートA,Bの二つが登録されていた場合で、投入されたメダルを本テンプレートAと比較した場合のx+Ay+Czの値が2.4であり、投入されたメダルを本テンプレートBと比較した場合のx+Ay+Czの値が2である場合は、本テンプレートAを更新する。
After step S34, the image recognition accelerator circuit 249 clears the regular medal counter, and ends the template update process.
When there are a plurality of main templates for which the equation (11) holds, the main template is updated in which the value calculated by x + Ay + Cz is the largest. For example, when two of the templates A and B are registered as the template, the value of x + Ay + Cz is 2.4 when the inserted medal is compared with the template A, and the inserted medal is If the value of x + Ay + Cz in comparison with the template B is 2, this template A is updated.

上述のテンプレート生成処理(図38及び図39参照)によって、例えば、表と裏で刻印(模様)が異なる2種類のメダルを正規メダルとして使用する場合は、これら2種類のメダルの表と裏に係る4種類のテンプレートを生成することができる。また、正規メダルが1種類であったときは、この正規メダルの表と裏に係る2種類のテンプレートが生成することができる。   For example, in the case where two types of medals with different markings (patterns) on the front and back sides are used as regular medals by the above-described template generation process (see FIGS. 38 and 39), the front and back sides of these two types of medals Four types of templates can be generated. When one type of regular medal is used, two types of templates can be generated according to the front and back of the regular medal.

なお、テンプレートエラー信号(メダル異常信号)を検知した副制御回路101は、副7セグ表示器に所定の表示(例えば「CC」)を表示させてもよい。また、出力原因の異なる各種のメダル異常信号、それぞれについて、別々に出力PORTを設けた場合は、副制御回路101は副7セグ表示器に、メダル異常信号が出力されたこと、又は、メダル異常信号が出力された原因を確認可能な文字や記号、例えば、テンプレート生成エラー処理に基づくメダル異常信号を検出した場合は「TE」を表示させてもよい。   The sub control circuit 101 that has detected the template error signal (the medal abnormality signal) may cause the sub 7-segment display to display a predetermined display (for example, “CC”). In addition, when the output PORT is provided separately for each of the various types of medal abnormality signals having different output causes, the secondary control circuit 101 outputs the medal abnormality signal to the secondary 7-segment display, or the medal abnormality Characters or symbols that can confirm the cause of the signal output may be displayed, for example, “TE” when a medal abnormality signal based on template generation error processing is detected.

[係数更新処理]
次に、画像認識アクセラレータ回路249が行う係数更新処理について、図41を参照して、説明する。図41は、係数更新処理の一例を示すフローチャートである。係数更新処理は、式(11)における係数A,C,Dの値を更新する処理である。係数更新処理は、画像認識DSP回路242が3次元判定処理を行う度に実行される。
[Coefficient update processing]
Next, coefficient update processing performed by the image recognition accelerator circuit 249 will be described with reference to FIG. FIG. 41 is a flowchart showing an example of the coefficient update process. The coefficient update process is a process of updating the values of the coefficients A, C, and D in equation (11). The coefficient update process is executed each time the image recognition DSP circuit 242 performs the three-dimensional determination process.

まず、画像認識アクセラレータ回路249は、画像認識DSP回路242の3次元判定処理の判定結果がOKか、すなわち「正規メダル」か否かを判定する(S41)。判定結果が「正規メダル」でない場合(S41がNO判定の場合)、画像認識アクセラレータ回路249は、係数更新処理を終了する。   First, the image recognition accelerator circuit 249 determines whether the determination result of the three-dimensional determination process of the image recognition DSP circuit 242 is OK, that is, whether it is a "regular medal" (S41). If the determination result is not the “regular medal” (if the determination in S41 is NO), the image recognition accelerator circuit 249 ends the coefficient update process.

一方、判定結果が「正規メダル」である場合(S41がYES判定の場合)、画像認識アクセラレータ回路249は、SRAM243に設定されている更新用メダルカウンタの値に1を加算する(S42)。   On the other hand, if the determination result is "regular medal" (if S41 is a YES determination), the image recognition accelerator circuit 249 adds 1 to the value of the update medal counter set in the SRAM 243 (S42).

次に、画像認識アクセラレータ回路249は、テンプレート比較の結果を累積する(S43)。具体的には、3次元判定処理において「正規メダル」と判定されたときの評価値x,y,zの平均値と、標準偏差を算出する。そして、算出したx,y,zの平均値と標準偏差をSRAM243の所定の領域に記憶する。   Next, the image recognition accelerator circuit 249 accumulates the result of the template comparison (S43). Specifically, the standard deviation and the average value of the evaluation values x, y, and z when it is determined that the “normal medal” is determined in the three-dimensional determination process is calculated. Then, the calculated average value and standard deviation of x, y and z are stored in a predetermined area of the SRAM 243.

次に、画像認識アクセラレータ回路249は、更新用メダルカウンタの値が所定値か否かを判定する(S44)。本実施形態において所定値は、例えば、500,1000,以降は1000の倍数(例えば、2000,3000,4000)に設定されている。   Next, the image recognition accelerator circuit 249 determines whether the value of the update medal counter is a predetermined value (S44). In the present embodiment, the predetermined value is set, for example, to 500, 1000, and thereafter to a multiple of 1000 (for example, 2000, 3000, 4000).

更新用メダルカウンタの値が所定値でない場合(S44がNO判定の場合)、画像認識アクセラレータ回路249は、係数更新処理を終了する。一方、更新用メダルカウンタの値が所定値の場合(S44がYES判定の場合)、画像認識アクセラレータ回路249は、閾値を更新する。   If the value of the updating medal counter is not the predetermined value (if the determination in S44 is NO), the image recognition accelerator circuit 249 ends the coefficient updating process. On the other hand, when the value of the update medal counter is a predetermined value (when S44 is YES), the image recognition accelerator circuit 249 updates the threshold.

ここで、閾値の更新方法について、更新用メダルカウンタの値が500のとき、すなわちテンプレート生成後に投入された正規メダルが500枚に達したときを例に説明する。まず、評価値xと評価値yに着目し、x+Ay≧Bが成り立つとき、正規メダルと判別すると考える。この場合、テンプレート生成後に投入され、正規メダルと判断された500枚のメダルについて、xの平均を「μx」、標準偏差を「σx」とし、yの平均を「μy」、標準偏差を「σy」とするとき、y=1のときの閾値直線上のxの値は、以下の式で与えられる。
x1=μx−σx×kx ・・・式(12)
Here, the method of updating the threshold value will be described by way of example when the value of the update medal counter is 500, that is, when the number of regular medals inserted after the template generation reaches 500. First, paying attention to the evaluation value x and the evaluation value y, when x + Ay 成 り 立 つ B holds, it is considered to be determined as a regular medal. In this case, for 500 medals inserted after template generation and determined to be regular medals, the average of x is “μx”, the standard deviation is “σx”, the average of y is “μy”, and the standard deviation is “σy The value of x on the threshold line when y = 1 is given by the following equation.
x1 = μx−σx × kx formula (12)

また、x=1のときの閾値直線上のyの値は、以下の式で与えられる。
y1=μy−σy×ky ・・・式(13)
なお、kは別途定める定数、例えば12αである。
Further, the value of y on the threshold line when x = 1 is given by the following equation.
y1 = μy−σy × ky formula (13)
Here, k is a constant determined separately, such as 12α.

上記の式(12),(13)によって、係数A,Bを以下の式で求めることができる。
A=(x1−1)/(y1−1)
B=x1+A
The coefficients A and B can be obtained by the following equations using the above equations (12) and (13).
A = (x1-1) / (y1-1)
B = x1 + A

次に、上記で求めた係数Aを用いて、同様に、式(11)のx+Ay+Cz≧Dにおける係数C,Dについて求める。
ここで、x+Ay=wとし、w+Cz≧Dとした場合、テンプレート生成後に投入され、正規メダルと判断された500枚のメダルについて、zの平均「μz」とし、zの標準偏差を「σz」とするとき、w=1のときの閾値直線上のzの値は、以下の式で与えられる。
z1=μz−σz×kz ・・・式(14)
Next, coefficients C and D in x + Ay + CzzD in equation (11) are similarly determined using the coefficient A determined above.
Here, assuming that x + Ay = w and w + CzDD, 500 pieces of medals inserted after the template generation and judged as regular medals are made the average “μz” of z, and the standard deviation of z is “σz” Then, the value of z on the threshold line when w = 1 is given by the following equation.
z1 = μz−σz × kz formula (14)

また、z=1のときの閾値直線上のwの値は、以下の式で与えられる。
w1=μw−σw×kw ・・・式(15)
なお、μw=μx+Aμy、σw=σx+Aσyとする。
Also, the value of w on the threshold line when z = 1 is given by the following equation.
w1 = μw−σw × kw formula (15)
Here, μw = μx + Aμy, σw = σx + Aσy.

上記式(14),(15)によって、C,Dを以下の式で求めることができる。
C=(w1−1)/(z1−1) ・・・式(16)
D=w1+C ・・・式(17)
By the above equations (14) and (15), C and D can be determined by the following equations.
C = (w1-1) / (z1-1) formula (16)
D = w1 + C .. Formula (17)

ここで、図42において、x1,y1,z1について3次元のグラフで示す。図42において、x1,y1,z1をつなぐ太線が、閾値平面の輪郭を示している。図42において、閾値平面と、破線で囲まれた空間の内で、原点から遠い部分(図42の手前の部分、網掛けで表示)に、本テンプレートとの比較の結果としての評価値x,y,zが示す点が含まれる場合(すなわち、3次元判定処理で判定結果がOKの場合)、投入されたメダルは、正規メダルと判定される。すなわち、本実施形態において、上記式(12)〜(14)で算出されたx1,y1,z1が形成する閾値平面と判定基準座標(1,1,1)との間に、評価値x,y,zが内包されるか否かを判定する判定方式を、3次元判定処理と称している。なお、図42では、便宜上、座標(0,0,0)〜(−1,−1,−1)の空間の図示を省略している。   Here, in FIG. 42, x1, y1, and z1 are shown as a three-dimensional graph. In FIG. 42, thick lines connecting x1, y1, z1 indicate the contour of the threshold plane. In FIG. 42, the evaluation value x, as a result of comparison with the present template, in a portion (indicated by hatching in the portion in front of FIG. 42) within the threshold plane and the space surrounded by the broken line. When the points indicated by y and z are included (that is, when the determination result is OK in the three-dimensional determination process), the inserted medal is determined to be a regular medal. That is, in the present embodiment, the evaluation value x, between the threshold plane formed by x1, y1, z1 calculated by the above equations (12) to (14) and the determination reference coordinates (1, 1, 1) The determination method of determining whether y and z are included is referred to as three-dimensional determination processing. In FIG. 42, the space of coordinates (0, 0, 0) to (-1, -1, -1) is omitted for convenience.

次に、画像認識アクセラレータ回路249は、フラッシュメモリ244の記憶されている係数A,C,Dを算出した係数A,C,Dに更新する(S46)。そして、画像認識アクセラレータ回路249は、係数更新処理を終了する。   Next, the image recognition accelerator circuit 249 updates the coefficients A, C, D stored in the flash memory 244 to the calculated coefficients A, C, D (S46). Then, the image recognition accelerator circuit 249 ends the coefficient update process.

[カバー開放検出処理]
次に、メダルカウント回路246が行うカバー開放検出処理について説明する。
上述したように、メダルセレクタ201には、メダルセレクタ201のパチスロ1の前後方向の後側を覆うカバー部材240が固定されている(図7参照)。このカバー部材240がメダルセレクタ201におけるパチスロ1の前後方向の後側を露出する開放状態に設定されていると、同後側を覆う閉鎖状態に設定されている場合に比べて、メダルレール210上に、余計な光が当たってしまう。これによって、メダルセレクタ201が行う刻印判定処理に悪影響が及び、判定精度が落ちてしまうことが考えられる。また、通常の運用では、カバー部材240が開放状態となる原因としては、メダルセレクタ201のメンテナンス時のカバー部材240の取付不備、又は、メダルセレクタ201へのゴト行為(例えば、クレジット満杯ゴト等)が考えられる。
[Cover opening detection processing]
Next, the cover opening detection process performed by the medal counting circuit 246 will be described.
As described above, the medal selector 201 is fixed with a cover member 240 that covers the rear side of the pachislot 1 of the medal selector 201 in the front-rear direction (see FIG. 7). When the cover member 240 is set to an open state exposing the rear side in the front-rear direction of the pachislot 1 in the medal selector 201, it is on the medal rail 210 compared to the case where the cover member 240 is set to a closed state covering the rear side. An extra light strikes the As a result, the mark determination processing performed by the medal selector 201 may be adversely affected and the determination accuracy may be degraded. Also, in normal operation, the cover member 240 may be in the open state due to defective attachment of the cover member 240 at the time of maintenance of the medal selector 201 or a goto action to the medal selector 201 (for example, a full credit goto etc.) Is considered.

そこで、本実施形態のメダルカウント回路246は、カバー部材240が開放状態になっていることを検出するカバー開放検出処理を行う。ここで、グレースケール画像において、メダルの通過に係る輝度の変化と、メダルレール210上に、余計な光が当たっている場合の輝度の変化とは類似している場合がある。このため、本処理において、メダルカウント回路246は、複数の判定領域、例えば判定領域A1〜A4,B1〜B4,C1,C2,D1〜D4(図22参照)において、判定結果が「ON」の状態が所定時間(例えば、10秒)続いた場合に、カバー部材240が開放状態になっていると判定する。そして、判定結果を、ホストコントローラ241に出力する。ホストコントローラは、判定結果を検知すると、副制御回路101に対し、カバー開放エラー信号(又はコマンド)を出力する。   Therefore, the medal counting circuit 246 according to the present embodiment performs a cover open detection process for detecting that the cover member 240 is in the open state. Here, in the gray scale image, there are cases where the change of the brightness related to the passage of the medal and the change of the brightness when the extra light is hit on the medal rail 210 are similar. Therefore, in the present process, medal count circuit 246 determines that the determination result is "ON" in a plurality of determination areas, for example, determination areas A1 to A4, B1 to B4, C1, C2, D1 to D4 (see FIG. 22). When the state continues for a predetermined time (for example, 10 seconds), it is determined that the cover member 240 is in the open state. Then, the determination result is output to the host controller 241. When the host controller detects the determination result, the host controller outputs a cover open error signal (or command) to the sub control circuit 101.

副制御回路101は、カバー開放エラー信号(又はコマンド)を検知すると、カバー開放エラー報知処理を実行する。ここで、カバー開放エラー報知処理とは、例えば液晶表示装置11に、カバー部材240が開放状態であることを示す報知画面を表示する処理である。これによって、この報知画面を見る者、例えば遊技ホールの従業員は、カバー部材240が開放状態であることを把握できる。   When the sub control circuit 101 detects a cover open error signal (or command), the sub control circuit 101 executes cover open error notification processing. Here, the cover opening error notification processing is processing for displaying, for example, a notification screen indicating that the cover member 240 is in the open state on the liquid crystal display device 11. Thus, a person who watches this notification screen, for example, an employee of the game hall, can grasp that the cover member 240 is in the open state.

なお、本実施形態では、カバー開放検出処理において、判定領域A1〜A4,B1〜B4,C1,C2,D1〜D4(図22参照)について、判定結果が「ON」の状態が所定時間続いた場合に、カバー開放と判定する態様を説明した。しかし、カバー開放検出処理において着目する複数の判定領域は、適宜設定可能である。ただし、メダル詰まりの場合に、誤ってカバー開放と判定しないように、一枚のメダルが問題なく通過するときに、同時に「ON」状態にならない領域(例えば、A2とD4)が含まれていることが望ましい。   In the present embodiment, in the cover open detection process, the state of the determination result “ON” continues for a predetermined time for the determination regions A1 to A4, B1 to B4, C1, C2, D1 to D4 (see FIG. 22). In this case, the aspect of determining that the cover is open is described. However, a plurality of determination areas to which attention is paid in the cover open detection process can be set as appropriate. However, in the case of medal clogging, there is an area (for example, A2 and D4) that is not simultaneously turned ON when one medal passes without problems so that the cover is not determined to be open by mistake. Is desirable.

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

また、CMOSイメージセンサ232から出力された画像データに基づくカウント処理の結果が「異常が発生した」である場合、副制御回路101は、遊技機に正規の遊技媒体が用いられていると誤認させて遊技を行う不正行為があったことを検知する。   Also, if the result of the count processing based on the image data output from the CMOS image sensor 232 is "an abnormality has occurred", the sub control circuit 101 misinterprets that the gaming machine is using a legitimate gaming medium. To detect that there has been a fraudulent act of playing a game.

また、画像認識DSP回路242が行う、CMOSイメージセンサ232から出力された画像データに基づく刻印判定処理の結果(本実施形態では、3次元判定の結果)が「不正メダル」である場合、すなわち投入されたメダルの刻印と正規メダルの刻印が異なる場合、副制御回路101は、遊技機に正規の遊技媒体が用いられていると誤認させて遊技を行う不正行為があったことを検知する。   Further, when the result of the marking determination processing (in the present embodiment, the result of the three-dimensional determination) performed by the image recognition DSP circuit 242 based on the image data output from the CMOS image sensor 232 is "illegal medal", that is, If the stamp of the medals and the stamp of the regular medals are different, the sub control circuit 101 detects that there has been an illegal act of making the gaming machine misidentify that the regular game medium is used and performing the game.

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

<第2の作用>
また、本実施形態のパチスロ1では、メダルセレクタ201の制御LSI234が、電源投入後、投入されたメダルが規定初期投入枚数、本実施形態では50枚に達するまでのメダルレール210上を通過するメダルを含む画像に基づいて、色判定処理に用いられる色テンプレートを生成する。
<Second action>
Further, in the pachislot 1 of the present embodiment, the control LSI 234 of the medal selector 201 passes on the medal rail 210 until the number of inserted medals reaches the prescribed initial insertion number, 50 in the present embodiment, after the power is turned on. The color template used in the color determination process is generated based on the image including.

したがって、遊技店において、正規メダルとして使用するメダルの変更があった場合に、電源投入後、変更後の正規メダルを50枚連続して投入することで、変更後の正規メダルに係る色テンプレートを容易に生成することができる。また、正規メダルが、例えば遊技機への投入や、払出し、また、遊技店での洗浄によって劣化し、正規メダルの現状の状態に対応した色テンプレートを生成することができるので、各種判定の結果の精度を保つことができる。   Therefore, when there is a change in medals used as regular medals in the game arcade, after the power is turned on, 50 regular medals after the change are continuously inserted to obtain a color template for the regular medals after the change. It can be easily generated. In addition, regular medals deteriorate due to, for example, insertion into a gaming machine, payout, or washing in a game arcade, and a color template corresponding to the current state of regular medals can be generated, so the results of various determinations Can maintain the accuracy of

<第3の作用>
また、本実施形態のパチスロ1では、刻印判定処理で用いる本テンプレートを上述のテンプレート生成処理によって生成する。したがって、メダルを所定枚数投入すれば本テンプレートを生成できるので、本テンプレートを容易に生成することができる。
<Third Action>
Further, in the pachi slot 1 of the present embodiment, the present template used in the marking determination process is generated by the above-described template generation process. Therefore, since the main template can be generated by inserting a predetermined number of medals, the main template can be easily generated.

また、上述の本テンプレート更新処理によって、本テンプレートを逐次更新する。このため、例えば遊技機への投入や、払出し、また、遊技店での洗浄などで劣化し、刻印が当初よりも目立たなくなった場合でも、正規メダルの現状の状態に応じて本テンプレートを更新できる。このため、各種判定の結果の精度を保つことができる。   Further, the template is sequentially updated by the above-described template update process. Therefore, for example, even if the mark is deteriorated by being inserted into a game machine, paid out, or washed in a game arcade, and the mark becomes less noticeable than the initial mark, the template can be updated according to the current state of the regular medal. . Therefore, the accuracy of the results of various determinations can be maintained.

また、3次元判定処理によって、1つの判定対象に対し、異なる3種類のテンプレート比較処理の結果に基づいて刻印の判定を行うことができる。このため、判定の精度が向上する。   Further, with the three-dimensional determination process, determination of marking can be performed on one determination target based on the results of three different types of template comparison processes. Therefore, the accuracy of the determination is improved.

また、上述の係数更新処理によって、3次元判定処理において用いる上記式(11)における係数A,C,Dを更新するので、経年劣化などによって、刻印に変化が生じた場合でも、正規メダルの現状の状態に応じて係数を更新できる。このため、各種判定の結果の精度を保つことができる。   Further, since the coefficients A, C, and D in the above equation (11) used in the three-dimensional determination process are updated by the above-described coefficient update process, the current situation of regular medals even when a change occurs in marking due to aged deterioration or the like. The coefficients can be updated according to the state of Therefore, the accuracy of the results of various determinations can be maintained.

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

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

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

また、副制御回路101は、カウント処理の判定結果が、「異常が発生した」である場合、遊技機に正規の遊技媒体が用いられていると誤認させて遊技を行う不正行為があったことを検知する。すなわち、カウント処理の判定結果に基づいて、不正行為を検知することができる。   In addition, when the determination result of the counting process is "an abnormality has occurred", the sub control circuit 101 misrepresents that the gaming machine is using a legitimate gaming medium, and there is a fraudulent act of playing a game. To detect That is, based on the determination result of the counting process, it is possible to detect fraud.

<第5の作用>
また、本実施形態のパチスロ1では、制御LSI234のISP回路245が、ISI回路251から出力されたRGBベイヤ画像にレンズ歪み補正処理と射影変換(ホモグラフィ)処理を施す画像補正処理を行う。
<Fifth operation>
Further, in the pachislot 1 of the present embodiment, the ISP circuit 245 of the control LSI 234 performs an image correction process in which a lens distortion correction process and a projection conversion (homography) process are performed 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 characteristics of the lens of the camera unit 209 and the displacement of the attachment position of the camera unit 209 do not affect the various determination / determination processing, thereby enhancing the accuracy of the various determination processing.

<第6の作用>
また、本実施形態のパチスロ1では、制御LSI234のカラー認識回路247が、閾値判定処理を行う。これによって、明らかに色相又は彩度の値が正規メダルと異なものについて、色テンプレートと一致又は所定程度類似すると誤判定されることを抑制することができる。すなわち、色テンプレートとの一致度に基づく判定に加えて、判定対象の色自体が有効な色であるか否かを判定できるので、色判定処理の判定結果の精度を高めることができる。
<Sixth Action>
Further, in the pachislot 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 false determination that the value of the hue or saturation is different from that of the regular medal as being identical to the color template or similar to a predetermined degree. That is, in addition to the determination based on the degree of coincidence with the color template, it is possible to determine whether the color to be determined itself is a valid color, so the accuracy of the determination result of the color determination process can be enhanced.

<第7の作用>
また、本実施形態のパチスロ1では、制御LSI234の魚眼補正スケーラ回路248が、イコライズ処理において、作成した縮小画像データそれぞれに対して、バイラテラル変換処理を行う。
これによって、グレースケール画像データのノイズを減少させ、且つ、グレースケール画像データ内のエッジを強調することができる。このため、刻印判定処理における判定結果の精度を高めることができる。
<Seventh operation>
Further, in the pachislot 1 of the present embodiment, the fisheye 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.
This can reduce noise in the gray scale image data and enhance edges in the gray scale image data. Therefore, the accuracy of the determination result in the marking determination process can be enhanced.

<第8の作用>
また、本実施形態のパチスロ1では、制御LSI234の画像認識アクセラレータ回路249が、HOG変換処理を行う。また、画像認識DSP回路242が、刻印判定処理において、HOG変換処理によって作成された判定対象のHOGデータと本テンプレートのHOGデータとの一致度合いを評価し、評価値を算出する。そして、算出した評価値を用いて刻印判定を行う。
<Eighth Action>
Further, in the pachislot 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 evaluates, in the marking determination process, the degree of coincidence between the HOG data to be determined created by the HOG conversion process and the HOG data of the template, and calculates an evaluation value. And marking determination is performed using the calculated evaluation value.

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

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

<第10の作用>
本実施形態のパチスロ1では、制御LSI234の画像認識アクセラレータ回路249が、FFT変換処理を行う。また、画像認識DSP回路242が、刻印判定処理において、FFT変換処理によって作成された判定対象のFFTデータと本テンプレートのFFTデータとが一致度合いを評価し、評価値を算出する。そして、算出した評価値を用いて刻印判定を行う。
<10th action>
In the pachislot 1 of the present embodiment, the image recognition accelerator circuit 249 of the control LSI 234 performs FFT conversion processing. Further, in the marking determination process, the image recognition DSP circuit 242 evaluates the degree of coincidence between the FFT data of the determination target created by the FFT conversion process and the FFT data of the template, and calculates an evaluation value. And marking determination is performed using the calculated evaluation value.

このため、画像全体の比較だけでなく、所定角度単位での個別の比較が容易にできる。このため、メダルの刻印の特徴がでにくい部分(平面)についての判定を省略し、傷等によるノイズ成分の除去することで、刻印判定処理の判定結果の精度を高めることができる。   For this reason, not only comparison of the whole image but individual comparison in a predetermined angle unit can be facilitated. Therefore, it is possible to improve the accuracy of the determination result of the marking determination process by omitting the determination on the portion (plane) where the characteristic of the marking of the medal is hard to appear and removing the noise component due to the scratch or the like.

<第11の作用>
本実施形態のパチスロ1では、制御LSI234のISP回路245及びホストコントローラ241によってAE補正処理が行われる。このため、CMOSイメージセンサ232の露光時間を、メダルレール210の突条部210aが撮像可能な露光時間に設定することができる。これによって、適切な露光時間を設定できるので、CMOSイメージセンサ232を備えるカメラユニット209で撮像した画像に基づく色判定処理、刻印判定処理やカウント処理の精度を確保することができる。
<Eleventh Action>
In the pachi slot 1 of this embodiment, the AE correction processing is performed by the ISP circuit 245 and the host controller 241 of the control LSI 234. Therefore, the exposure time of the CMOS image sensor 232 can be set to an exposure time that allows the projection 210a of the medal rail 210 to pick up an image. As a result, an appropriate exposure time can be set, and therefore, 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 can be secured.

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

<第12の作用>
本実施形態のパチスロ1では、AE補正処理において、ISP回路245からAE判定処理の判定結果が出力されたとき、ホストコントローラ241は、露光時間が上限の175μ秒に設定されている場合は、報知用LED206cに点灯を指示する信号を出力し、報知用LED206cが点灯する。これによって、報知用LED206cを見る者、例えば遊技ホールの管理者は、カメラユニット209に何らかの障害(例えばレンズにほこりなどの汚れが付着している)が発生していることを把握することができる。
<12th 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 175 μsec, which is the upper limit. A signal instructing lighting is output to the LED 206c, and the notification LED 206c lights. By this, a person who watches 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μ秒に設定されている場合は、副制御基板72に、メダル異常信号を出力する。そして、メダル異常信号が出力されると、副制御回路101はエラーを報知する(例えば、液晶表示装置11に所定のエラー画面を表示する)。これによって、色判定処理、刻印判定処理やカウント処理の精度が確保できない、すなわち不正行為の検知が有効に行えない状態で遊技が行われることを抑制することができる。   Further, in the AE correction processing, when the determination result of the AE determination processing is output from the ISP circuit 245, the host controller 241 sets the medal on the sub control board 72 when the exposure time is set to 175 μsec, which is the upper limit. Output an abnormal signal. Then, when the medal abnormality signal is output, the sub control circuit 101 notifies an error (for example, the liquid crystal display device 11 displays a predetermined error screen). As a result, it is possible to prevent the game from being performed in a state in which the accuracy of the color determination process, the marking determination process, and the count process can not be secured, that is, the fraud detection can not be performed effectively.

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

また、ホストコントローラ241が、報知用LED206cに点灯を指示する信号を出力し、また、副制御基板72に、メダル異常信号を出力する場合に、このメダル異常信号のための出力PORTを、メダル判定出力PORTとは別個に設けてもよい。このようにすることで、副制御基板72は、メダル判定出力PORTから出力されたメダル異常信号と、別個に設けた出力PORTから出力されたメダル異常信号とを区別することができる。   Further, when the host controller 241 outputs a signal instructing lighting to the notification LED 206c, and outputs a medal abnormality signal to the sub control board 72, the output PORT for the medal abnormality signal is determined as a medal. It may be provided separately from the output PORT. By doing this, the secondary control board 72 can distinguish between 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からメダル異常信号が入力された場合、副制御基板72は、露光時間を調整しても、CMOSイメージセンサ232が取得した画像データに所定の画像が含まれない旨を把握することができる。また、副制御回路101は、レンズの汚れの除去を促すメッセージを報知する(例えば、液晶表示装置11にその旨を表示する)ことができる。これによって、遊技ホールの従業員にレンズの汚れの除去を促すことができる。   Thus, when the medal abnormality signal is input from the output PORT provided separately from the medal determination output PORT, the sub control board 72 converts the image data acquired by the CMOS image sensor 232 even if the exposure time is adjusted. It can be understood that a predetermined image is not included. In addition, the sub control circuit 101 can notify a message prompting removal of dirt on the lens (for example, the liquid crystal display device 11 can display a message to that effect). By this, it is possible to urge the employee of the game hall to remove the dirt of the lens.

<変形例>
以上、本発明の一実施形態に係る遊技機について、その作用効果も含めて説明した。しかし、本発明の遊技機は、上述の実施の形態に限定されるものではなく、特許請求の範囲に記載した本発明の要旨を逸脱しない限り、種々の変形実施が可能である。なお、以下の変形例の説明において、上述した実施形態における構成要素と同一または類似の構成要素については、その説明を省略し、また、図面においては同一の符号を付す。
<Modification>
As described above, the gaming machine according to the embodiment of the present invention has been described including its effects. 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 scope of the present invention described in the claims. In the following description of the modification, the description of the same or similar components as the components 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の構成について、図43を参照して説明する。図43は、変形例1におけるメダルセレクタを説明するための図である。なお、図43においては、メダルセレクタ301のキャンセルシュータ206及びカメラユニット209(図7参照)の図示を省略している。
<Modification 1>
For example, the medal selector 301 provided with a hole at a position corresponding to the determination area shown in FIGS. 22 to 24 may be used.
The configuration of the medal selector 301 according to the first modification will be described with reference to FIG. FIG. 43 is a diagram for explaining the medal selector in the first modification. In FIG. 43, the cancel shooter 206 of the medal selector 301 and the camera unit 209 (see FIG. 7) are not shown.

メダルセレクタ301のベース板部304にはメダルレール310が、パチスロ1の前方へ凹むように、且つ、略L字状に形成されている。メダルレール310の表面には、複数の突条部310aが形成されている。   A medal rail 310 is formed in a substantially L shape on the base plate portion 304 of the medal selector 301 so as to be recessed forward of the pachi slot 1. A plurality of protruding portions 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 shape obtained by combining these determination areas is formed at the position corresponding to the determination areas A1 to A4 and the determination areas B1 to B4 shown in FIGS. It is done. Similarly, a determination area C hole 310c of the same shape is formed at the position corresponding to determination areas C1 and C2, and a determination area D310d hole of the same shape is formed at the position corresponding to determination areas D1 to D4. . Although illustration is omitted, in the base plate portion 304, a determination area F hole 310e is formed at a position corresponding to the determination area F shown in FIGS.

また、図43に示すようにメダルセレクタ301のサブプレート305には、図22〜図24に示す判定領域Fに対応する位置に、判定領域F孔305aが形成されている。サブプレート305に形成されている判定領域F孔305aと、ベース板部304に形成されている判定領域F孔310eとは、前後方向に連通している。
なお、メダルセレクタ301のその他の点においては、メダルセレクタ201と同様のため、説明を省略する。
Further, as shown in FIG. 43, on the sub plate 305 of the medal selector 301, a determination area F hole 305a is formed at a position corresponding to the determination area F shown in FIGS. The determination area F holes 305 a formed in the sub plate 305 and the determination area F holes 310 e formed in the base plate portion 304 communicate with each other in the front-rear direction.
The other points of the medal selector 301 are the same as those of the medal selector 201, and thus the 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 corresponding positions of determination areas A1 to A4, B1 to B4, C1, C2, D1 to D4, and F, respectively. Holes and judgment area F holes 310e, 305a) were provided. Therefore, the value of the luminance of the position corresponding to each determination area of the background grayscale image data (grayscale image data not including the image of the medal) used in the medal position detection process performed by the medal counting circuit 246 This is a lower value (since the light from the light source LED 233 does not reflect to the CMOS image sensor 232 by passing through the hole) as compared with the case where the hole is not provided. Therefore, even if medals of luminance close to the surface of the medal rail 310 are used, the difference between the luminance in each determination area of the background grayscale image data and the luminance of the medal image in the grayscale image data to be processed (For example, when the value of the luminance of the surface of the medal rail 310 is 50, if the value of the luminance of the hole portion is 22, the value of 28 is calculated as the difference). Therefore, in the medal position detection process, a medal whose luminance is close to the surface of the medal rail 310 (a medal whose surface is processed to a black, gray, or brown color), a medal whose surface is deteriorated or stained and light reflection is not sufficient Etc.) can be accurately detected. Similarly, the accuracy of the medal edge detection process performed by the medal counting circuit 246 can be enhanced. That is, in the present modification, the medal counting circuit 246 which performs the medal position detecting process constitutes an object presence / absence detecting means.

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

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

図44及び図45に示すように、変形例2のメダルセレクタ401における制御LSI234とメダルソレノイド208とは電気的に接続されている。したがって、制御LSI234は、メダルソレノイド208をON状態又はOFF状態に設定することができる。具体的には、制御LSI234は、GPIO250を介して、GPIO250に割り付けられた出力PORTから、メダルソレノイド208をON状態又はOFF状態に設定する制御信号をメダルソレノイド208に出力する。   As shown in FIGS. 44 and 45, 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 from the output PORT allocated to the GPIO 250 via the GPIO 250 to the medal solenoid 208.

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

このようにすることで、メダルレール210上を移動する物体が、メダルレール210の上露出孔219又は下露出孔220(図8参照)に達する前に、画像認識DSP回路242は、この物体に対する刻印判定処理の判定結果(3次元判定の結果)をSRAM243に記憶させることができる。また、ホストコントローラ241は、画像認識DSP回路242からの刻印判定終了割込信号に応じて、SRAM243に記憶されている刻印判定処理の判定結果を取得することができる。   By doing this, before the object moving on the medal rail 210 reaches the upper exposure hole 219 or the lower exposure hole 220 (see FIG. 8) of the medal rail 210, the image recognition DSP circuit 242 performs the process for the object. The determination result of the marking determination process (the result of the three-dimensional determination) can be stored in the SRAM 243. Further, the host controller 241 can obtain the determination result of the marking determination processing stored in the SRAM 243 in accordance with the marking determination end interrupt signal from the image recognition DSP circuit 242.

刻印判定の結果を取得したホストコントローラ241は、取得した判定結果が「不正メダル」である場合、メダルソレノイド208をOFF状態に設定する制御信号をメダルソレノイド208に出力する。この場合、判定対象の物体を、上露出孔219から突出するアフタメダルプレッシャ218、又は、下露出孔220から突出するメダルストッパ部227に押し出させ、キャンセルシュータ206に向けて排出させることができる。   The host controller 241 that has acquired the result of the marking determination outputs a control signal for setting the medal solenoid 208 to the OFF state to the medal solenoid 208 when the obtained determination result is “illegal medal”. In this case, the object to be determined can be pushed out to the after medal presser 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.

また、本変形例におけるメダルセレクタ401のホストコントローラ241は、上述したメダルセレクタ201と同様に、色判定割込信号が入力される毎に、SRAM243に記憶されている最新の色判定処理の判定結果を取得し、色判定処理の判定結果に応じて、メダルソレノイド208をON状態又はOFF状態に設定する制御信号をメダルソレノイド208に出力する。   In addition, the host controller 241 of the medal selector 401 in the present modification, similarly to the above-described medal selector 201, determines the result of the latest color determination processing stored in the SRAM 243 each time the color determination interrupt signal is input. And outputs a control signal to the medal solenoid 208 to set the medal solenoid 208 in the ON state or the OFF state according to the determination result of the color determination process.

このため、本変形例では、メダルレール210上を移動する物体が、メダルレール210の上露出孔219又は下露出孔220(図8参照)に達する前に、この物体に対する色判定処理の判定結果に応じて、メダルソレノイド208をON状態又はOFF状態に設定することができる。   For this reason, in the present modification, before the object moving on the medal rail 210 reaches the upper exposure hole 219 or the lower exposure 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 the ON state or the OFF state.

具体的には、ホストコントローラ241は、取得した閾値判定処理の判定結果として「閾値判定不可」が記憶されている場合、又は、色判定結果として「否」が記憶されている場合、メダルソレノイド208をOFF状態に設定する制御信号をメダルソレノイド208に出力する。この場合、判定対象の物体を、上露出孔219から突出するアフタメダルプレッシャ218、又は、下露出孔220から突出するメダルストッパ部227に押し出させ、キャンセルシュータ206に向けて排出させることができる。   Specifically, the host controller 241 stores the token 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 to the after medal presser 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.

一方、閾値判定処理の判定結果として「閾値判定不可」が記憶されておらず、色判定結果として「可」が記憶されている場合で、且つ、取得した刻印判定処理の判定結果が「正規メダル」の場合、ホストコントローラ241は、メダルソレノイド208の状態がON状態のまま維持されるようにする。この場合、判定対象の物体はホッパー装置51に案内される。   On the other hand, when "threshold judgment impossible" is not stored as the judgment result of the threshold judgment processing, and "OK" is stored as the color judgment result, the judgment result of the acquired marking judgment processing is "normal medal" In the case of “,” the host controller 241 causes the state of the medal solenoid 208 to be maintained 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に適切に導くことができる。すなわち、制御LSI234は、メダルソレノイド208の駆動を制御する駆動制御手段を構成する。   The host controller 241 of the medal selector 401 in the modification sets the medal solenoid 208 in the ON state when the circle area can not be detected in the circle area detection processing performed on the reduced image data stored in the SRAM 243. Is output to the medal solenoid 208. By doing this, when the object inserted next is a regular medal, this medal can be appropriately guided to the hopper device 51. That is, the control LSI 234 constitutes drive control means for controlling the drive of the medal solenoid 208.

また、本変形例におけるメダルセレクタ401のホストコントローラ241は、所定の条件が成立すると、GPIO250のメダル判定出力PORTから、刻印判定処理と色判定処理に係るメダル異常信号を、副中継基板61を介して、副制御基板72に出力する。上記所定の出力条件は、適宜設定可能である。例えば、SRAM243に、本変形例の刻印判定処理及び色判定処理の結果に基づいて、メダルソレノイド208がON状態からOFF状態に設定された回数の値を記憶する領域を設ける。また、ホストコントローラ241は、メダルソレノイド208をON状態からOFF状態に設定する毎に、この領域の値に「1」を加算する。そして、ホストコントローラ241は、記憶された当該値が所定値、例えば「10」に達した場合に、メダル異常信号を副制御基板72に出力する。すなわち、制御LSI234のホストコントローラ241は、エラー通知手段を構成する。   Further, when the predetermined condition is satisfied, the host controller 241 of the medal selector 401 in the present modification uses the medal determination output PORT of the GPIO 250 via the sub relay board 61 for the medal abnormality signal related to the marking determination process and the color determination process. Output to the sub control board 72. 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 the medal solenoid 208 is set from the ON state to the OFF state based on the result of the marking determination process and the color determination process of this modification. The host controller 241 adds “1” to the value of this area each time the medal solenoid 208 is set from the ON state to the OFF state. Then, when the stored value reaches a predetermined value, for example, “10”, the host controller 241 outputs a medal abnormality signal to the sub control board 72. 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 the initialization switch (not shown) is pressed after the power is turned on. Also, it is cleared each time a predetermined time, for example, one hour, has elapsed. The clear condition can be set appropriately.

本変形例において、主制御回路91(主制御基板71)は、メダルセレクタにメダル投入信号を出力する。具体的には、主制御回路91は、パチスロ1がメダルを投入可能なメダル投入許可状態ではないとき、投入不可の内容のメダル投入信号を、メダルセレクタ401へ出力する。   In the present modification, the main control circuit 91 (main control board 71) outputs a medal insertion signal to the medal selector. Specifically, when the pachislot 1 is not in the medal insertion permission state capable of inserting the medal, the main control circuit 91 outputs a medal insertion signal of the content that the insertion is not possible to the medal selector 401.

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

主制御回路91から投入不可の内容のメダル投入信号が出力されると、メダルセレクタ401のホストコントローラ241は、メダルソレノイド208をOFF状態に設定する。   When the main control circuit 91 outputs a medal insertion signal indicating that insertion is not possible, the host controller 241 of the medal selector 401 sets the medal solenoid 208 to the OFF state.

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

本変形例において、メダル異常信号が出力されたとき、副制御回路101は、メダルセレクタ401に何らかの異常(メダル詰まり等)が発生したか、又は、遊技機に正規の遊技媒体が用いられていると誤認させて遊技を行う不正行為があったことを検知する。そして、不正行為があった場合の種々の処理を行う。不正行為があった場合の種々の処理として、メダルセレクタ401に何らかの異常が発生したか、又は、不正行為があった旨を、液晶表示装置11に表示して報知する。   In the present modification, when the medal abnormality signal is output, the sub control circuit 101 causes the medal selector 401 to have some abnormality (such as medal clogging), or a regular game medium is used for the gaming machine. To detect that there has been an illegal act of making a mistake. Then, various processes are performed when there is a fraud. As various processes when there is an illegal activity, the liquid crystal display device 11 displays and notifies that the medal selector 401 has some abnormality or that there is an illegal activity.

また、副制御回路101は、メダルセレクタ401に設ける初期化スイッチ(不図示)が押下されるまで、上述した報知を続ける。初期化スイッチが押下され、OFF状態からON状態となると、ホストコントローラ241は、メダル異常信号を、副制御回路101に出力することを終了する。メダル異常信号の出力が終了すると、副制御回路101は、上述した不正行為があった場合の種々の処理を終了する。
なお、本変形例のその他の点については、上記の実施形態と同様のため、説明を省略する。
In addition, the sub control circuit 101 continues the above-described notification until the initialization switch (not shown) provided to the medal selector 401 is pressed. When the initialization switch is pressed and it changes from the OFF state to the ON state, the host controller 241 ends outputting the medal abnormality signal to the sub control circuit 101. When the output of the medal abnormality signal ends, the sub control circuit 101 ends various processing when there is the above-mentioned fraudulent act.
In addition, about the other point of this modification, since it is the same as that of said embodiment, description is abbreviate | omitted.

本変形例のパチスロ1でも、メダルレール210上を通過する物体について刻印判定処理及び色判定処理を行い、その結果に基づいて、メダルソレノイド208を動作させる。このため、判定対象の物体を、判定の結果に基づいて、適切に、キャンセルシュータ206、又は、ホッパー装置51に導くことができる。   Also in the pachi-slot 1 of the present modification, the marking determination process and the color determination process are performed on an 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 result of the determination.

また、ホストコントローラ241は、色判定処理及び刻印判定処理の結果に基づいてメダルソレノイド208をON状態からOFF状態に設定した回数の値が「10」に達した場合に、メダル異常信号を副制御基板72に出力する。そして、メダル異常信号が出力されたとき、副制御回路101は、遊技機に正規の遊技媒体が用いられていると誤認させて遊技を行う不正行為があったことを検知して、種々の処理を行う。これによって、正規メダルでない不正メダルが、短期間(本変形例では、上述のとおりON状態からOFF状態に設定した回数の値は1時間毎にクリアされる)に頻繁に用いられた場合に、副制御回路101は、不正行為があったことを検知することができる。   In addition, the host controller 241 sub-controls 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 result of the color determination process and the marking determination process. Output to the substrate 72. Then, when the medal abnormality signal is output, the sub control circuit 101 detects that there is an illegal act of causing the gaming machine to misidentify that the regular game medium is used, and performs various processes. I do. Thereby, when an illegal medal which is not a regular medal is frequently used for a short period (in the present modification, the value of the number of times from ON state to OFF state as described above is cleared every hour), The sub control circuit 101 can detect that there has been a fraudulent act.

また、ホストコントローラ241は、色判定処理及び刻印判定処理の結果に基づいてメダルソレノイド208をON状態からOFF状態に設定した回数の値が「10」に達していない場合は、メダル異常信号を副制御基板72に出力しない。したがって、例えば、混入してしまった不正メダルを、遊技者が故意によらずパチスロ1に投入してしまった場合など、不正メダルが短期間に頻繁に用いられていない場合に、上述の報知が行われることを防止できる。
なお、主制御回路91は、ホストコントローラ241を介さず、直接メダルソレノイド208をON状態又はOFF状態に設定してもよい。
Further, when the value of the number of times of setting the medal solenoid 208 from the ON state to the OFF state based on the result of the color determination processing and the marking determination processing does not reach “10”, the host controller 241 It does not output to the control board 72. Therefore, for example, when the illegal medal is not used frequently in a short period of time, such as when the player has intentionally inserted the illegal medal into the pachislot 1 regardless of intention, the above notification is It can prevent being done.
The main control circuit 91 may directly set the medal solenoid 208 to the ON state or the OFF state without the intervention of the host controller 241.

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

図46に示すように、本変形例では、上述したメダルセレクタ201と同様に、メダルセレクタ501のメダルソレノイド208は、ドア中継端子板68を介して、主制御基板71に接続されている。したがって、主制御基板71で構成される主制御回路91が、メダルソレノイド208をON状態又はOFF状態に設定することができる。   As shown in FIG. 46, in the present modification, 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 above-described medal selector 201. Therefore, the main control circuit 91 configured of the main control board 71 can set the medal solenoid 208 to the ON state or the OFF state.

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

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

発光体は所定光量の光を常に発光する。フォトダイオードが発光体から所定光量以上の光を受光すると、第1フォトセンサ503は、ハイレベルの信号を出力する。一方、フォトダイオードが受光する光の量が所定光量に満たなくなると、第1フォトセンサ503は、ローレベルの信号(メダル検知信号)を出力する。したがって、メダルがフォトダイオードと発光体との間を通過する際に発光体の光を遮ると、第1フォトセンサ503は、メダル検知信号を出力する。   The light emitter always emits light of a predetermined light amount. When the photodiode receives light of a predetermined light amount or more 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 does not reach the predetermined light amount, the first photosensor 503 outputs a low level signal (medal detection signal). Therefore, when the medal passes between the photodiode and the light emitter and the light of the light emitter is blocked, 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 in the vicinity of the medal outlet portion 204 c of the base plate portion 204 of the medal selector 501 and in the vicinity of the first photosensor 503 more than the first photosensor 503. It is provided on the downstream side of the moving direction of the medal. The other points are similar to those of the first photosensor 503, and thus the 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 204 c, and the second photosensor 504 is provided downstream of the first photosensor 503 on the medal rail 210. Therefore, in the first photosensor 503 and the second photosensor 504, the select plate 207 is at the guide position, and the medal moving to the medal outlet portion 204c (see FIG. 8) side is detected. And does not detect a medal guided to the medal shoot 202 (see FIG. 6).

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

クレジットカウンタが最大値(例えば、50)の場合は、主制御回路91は、メダルセレクタ501のメダルソレノイド208をOFF状態に設定する。これによって、セレクトプレート207(図8参照)が「排出位置」に位置付けされ、メダルが投入不可となり、クレジットカウンタが最大値となった後で投入されたメダルをメダルシュート202(図6参照)に案内してメダル払出口32(図2参照)からメダルトレイユニット34に排出する。   When the credit counter has 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 medals can not be inserted, and the medals inserted after the credit counter reaches the maximum value are transferred to the medal chute 202 (see FIG. 6). It guides and discharges to the medal tray unit 34 from the medal payout opening 32 (see FIG. 2).

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

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

また、メインCPU93が、メダル検知信号を検出してから一定時間を経過しても、第1フォトセンサ503、第2フォトセンサ504のいずれか、若しくは両方から、メダル検知信号が出力され続けている場合や、第1フォトセンサ503からのメダル検知信号を検出してから一定時間経過しても、第2フォトセンサ504からのメダル検知信号を検出できない場合、メダルがメダルレール210上で留まる、いわゆるメダル詰まりエラーが発生したことを検知する。   Also, even if a predetermined time has passed since the main CPU 93 detected the medal detection signal, the medal detection signal continues to be output from one or both of the first photosensor 503 and the second photosensor 504. In the case where the medal detection signal from the second photosensor 504 can not be detected even if a predetermined time has passed after detection of the medal detection signal from the first photosensor 503, the medal stays on the medal rail 210, so-called Detect 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 retrogression error or a medal clogging error, it forcibly suspends the game, and an error code corresponding to the contents of the detected error in the 7-segment display 24 (see FIG. 2) While displaying an error command according to the content of the detected error to the sub control circuit 101 and notifying the error via the sub control circuit 101. For example, when an error screen indicating the content of an error is displayed on the liquid crystal display device 11 or a sub 7-segment display (not shown) for controlling the display by the sub control circuit 101 is provided, this sub 7-segment display To display the

図46に示すように、メダルセレクタ501におけるカメラユニット209の制御LSI234は、副中継基板61を介して、副制御基板72に接続されている。したがって、本変形例においても、制御LSI234のホストコントローラ241から出力される各種信号、すなわちGPIO250に割り付けられたメダルカウント出力PORTから出力されるメダルカウント信号や、GPIO250に割り付けられたメダル判定出力PORTから出力されるメダル異常信号は、副制御基板72で構成される副制御回路101(のサブCPU102)が検出可能となっている。   As shown in FIG. 46, 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, also in the present modification, various signals output from the host controller 241 of the control LSI 234, that is, medal count signals output from the medal count output PORT allocated to the GPIO 250, and from the medal determination output PORT allocated to the GPIO 250 The medal abnormality signal to be output can be detected by (the sub CPU 102 of) the sub control circuit 101 configured by the sub control board 72.

副制御回路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 the detection content in the backup area of the sub RAM 103. Information related to the medal abnormality signal stored in the sub RAM 103 can be displayed on the liquid crystal display device 11 by the administrator of the gaming machine (for example, an employee of the gaming hall) operating the setting key switch 56 (see FIG. 6). When the error history menu is selected on the displayed hole menu screen (not shown), reference can be made.

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

また、上述したように、色判定処理の判定結果に基づくメダル異常信号、刻印判定処理の判定結果に基づくメダル異常信号、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に記憶されているメダル異常信号に係る情報が、メダル異常信号の出力された日時と出力された原因とを、確認可能な態様で表示される。   In addition, 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 marking determination process, the medal abnormality signal based on the AE correction process, the determination result of the count process For example, if an output PORT is provided separately for each of the medal abnormality signals based on the fact that “it has been done,” “01.01.01 11:10:20 color judgment abnormality”, “Jan. 01, 2016,” Day 12:00 00:05 Marking judgment abnormality ", January 2, 2016 10: 01: 05 AE correction error", "Jan 02, 02 11 11: 05, Count processing error", and display Be done. That is, the information related to the token abnormality signal stored in the sub RAM 103 is displayed in such a manner that the date and time when the token abnormality signal is output and the output cause can be confirmed.

また、副制御回路101が表示を制御する副7セグ表示器(不図示)を設ける場合は、副制御回路101は、メダル異常信号を検出すると、この副7セグ表示器に所定の表示(例えば「CC」)を表示させる。また、上述したように、色判定処理の判定結果に基づくメダル異常信号、刻印判定処理の判定結果に基づくメダル異常信号、AE補正処理に基づくメダル異常信号、カウント処理の判定結果が「異常が発生した」であることに基づくメダル異常信号、それぞれについて、別々に出力PORTを設けた場合は、この副7セグ表示器に、メダル異常信号が出力されたこと、又は、メダル異常信号が出力された原因を確認可能な文字や記号(例えば、色判定処理の判定結果に基づくメダル異常信号を検出した場合は「CE」、刻印判定処理の判定結果に基づくメダル異常信号を検出した場合は「KE」)を表示させてもよい。   When the sub control circuit 101 is provided with a sub 7-segment display (not shown) for controlling display, when the sub-control circuit 101 detects a medal abnormality signal, a predetermined display is made on the sub 7-segment display (for example, Display “CC”). In addition, 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 marking determination process, the medal abnormality signal based on the AE correction process, the determination result of the count process When an output PORT is provided separately for each of the medal abnormality signals based on the fact that “is done,” a medal abnormality signal is output to this sub 7-segment display, or a medal abnormality signal is output. Characters or symbols that can confirm the cause (for example, "CE" when detecting a medal abnormality signal based on the judgment result of the color judgment processing, "KE" when detecting a medal abnormality signal based on the judgment result of the marking judgment processing ) 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 at the maximum value (for example, 50) or after the player operates the start lever 23 in a unit game. Set to OFF state.

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

また、正規メダルとは、色や刻印(模様)のみ異なるメダルを用いた不正行為が行われたことを、上述したようにホールメニュー画面でエラー履歴メニューを選択することで、また、副7セグ表示器の表示を確認することで、把握することができる。   In addition, by selecting the error history menu on the hall menu screen as described above, it is also possible to use the medals that the illegal medals that differ in color and markings (patterns) have been used with regular medals as well, It can be grasped by confirming the display of the display.

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

また、上述したようにダブルフォトセンサ502から出力される信号に基づいて、主制御回路91が逆行エラーやメダル詰まりエラーを検知すると、主制御回路91は、遊技を強制的に中断させる。したがって、不正器具、を用いた不正行為を防止できる。   Also, 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 photo sensor 502, the main control circuit 91 forcibly interrupts the game. Therefore, it is possible to prevent cheating using cheating equipment.

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

<差枚数報知機能>
また、本変形例のパチスロでは、主制御回路91で管理しているメダルのカウント枚数と、副制御回路101で管理しているメダルのカウント枚数と、を所定のタイミングで比較し、差枚数が所定枚数を超えた場合に、報知するという差枚数報知機能を備えてもよい。なお、差枚数報知機能については以下に詳細に説明する。
<Difference sheet number notification function>
Further, in the pachislot of this modification, the number of medals managed by the main control circuit 91 is compared with the number of medals managed by the sub control circuit 101 at a predetermined timing, and the difference is A difference number notification function may be provided to notify when the predetermined number is exceeded. The difference sheet number notification function will be described in detail below.

主制御回路91のメインCPU93は、ダブルフォトセンサ502の第1フォトセンサ503から入力されたメダル検知信号を検出してから、所定時間内に、第2フォトセンサ504から入力されたメダル検知信号を検出すると、投入されたメダルの枚数をメインCPU93が計数するために設けられたカウンタである投入枚数カウンタ又はクレジットカウントの値に1加算するともに、メインRAM95に設けられたメインカウント枚数記憶領域の値に1加算する。メインカウント枚数記憶領域は、2バイトの記憶領域からなる。すなわち、メインカウント枚数記憶領域の値は、0〜65535の範囲で変化可能となっている。なお、メインカウント枚数記憶領域の値に1加算する際、メインカウント枚数記憶領域の値が65535の場合は、メインCPU93は、メインカウント枚数記憶領域の値を0に設定する。   The main CPU 93 of the main control circuit 91 detects the medal detection signal input from the first photosensor 503 of the double photosensor 502, and then detects the medal detection signal input from the second photosensor 504 within a predetermined time. When detected, the number of inserted medals is added to the value of the number-of-insertions counter or the credit count which is a counter provided for the main CPU 93 to count, and the value of the main count number storage area provided in the main RAM 95 Add 1 to The main count sheet number storage area consists of a 2-byte storage area. That is, the value of the main count sheet number storage area can be changed in the range of 0 to 65535. When one is added to the value of the main count sheet storage area, if the value of the main count sheet storage area is 65535, the main CPU 93 sets the value of the main count sheet storage area to 0.

ここで、主制御回路91から副制御回路101に送信されるコマンドには、上述のエラーコマンドの他に、入賞作動コマンド、メダル投入コマンド、入力状態コマンドや無操作コマンドがある。
入賞作動コマンドには、例えば表示役の種別、ロック演出に係るフラグ、メダルの払出枚数等を示すパラメータを含んで構成される。副制御回路101は、入賞作動コマンドを受信することで、入賞判定ラインに沿って表示された図柄組合せを認識することができるようになり、各種の演出を実行するタイミング等を決定することができる。
Here, the commands transmitted from the main control circuit 91 to the sub control circuit 101 include a winning operation command, a medal insertion command, an input state command and a no-operation command in addition to the above-mentioned error command.
The winning operation command includes, for example, parameters indicating the type of display combination, a flag relating to a lock effect, the number of medals paid out, and the like. The sub control circuit 101 can recognize the symbol combination displayed along the winning determination line by receiving the winning operation command, and can determine the timing etc. of executing various effects. .

メダル投入コマンドには、メダルの投入枚数及びクレジットカウンタの値を示すパラメータを含んで構成される。メダル投入コマンドは、再遊技の作動時や、遊技者の投入操作(BETボタン22の押下やメダル投入口21へのメダルの投入)時に、主制御回路91から副制御回路101に送信される。なお、サブRAM103に設けられたサブ投入枚数カウンタ及びサブクレジットカウンタの値には、メダル投入コマンドのパラメータに含まれるメダルの投入枚数及びクレジットカウントの値が反映される。   The medal insertion command is configured to include parameters indicating the number of inserted medals and the value of the credit counter. The medal insertion command is transmitted from the main control circuit 91 to the sub control circuit 101 at the time of operation of replay or at the player's insertion operation (depression of the BET button 22 or insertion of a medal into the medal insertion slot 21). The values of the number of inserted medals and the value of the credit count included in the parameters of the medal insertion command are reflected in the values of the sub insertion number counter and the sub credit counter provided in the sub RAM 103.

入力状態コマンド及び無操作コマンドは、メインCPU93が所定の時間(例えば、1.1173ms)毎に実行する割込の処理において、送信されるコマンドである。入力状態コマンドは、各種ボタン(BETボタン22やストップボタン19L,19C,19R)が押されたとき、あるいは離されたときに、送信される。入力状態コマンドには、各種ボタンが押されたこと、あるいは離されたことを示すパラメータを含んで構成される。副制御回路101は、入力状態コマンドを受信することで、各種ボタンの操作に同期して各種演出を実行することができる。
無操作コマンドは、上述の割込の処理において、上述の無操作コマンド以外の全てのコマンドを送信しないときに送信される。無操作コマンドには、任意のパラメータを含めることができる。
The input state command and the no-operation command are commands transmitted in the processing of an interrupt which the main CPU 93 executes every predetermined time (for example, 1.173 ms). The input state command is transmitted when the various buttons (the BET button 22 and the stop buttons 19L, 19C, 19R) are pressed or released. The input state command includes parameters indicating that various buttons have been pressed or released. The sub control circuit 101 can execute various effects in synchronization with the operation of the various buttons by receiving the input state command.
A no-operation command is transmitted when not transmitting all commands other than the above-mentioned no-operation command in the above-mentioned interrupt processing. The no-operation command can include any parameter.

本変形例では、主制御回路91(のメインCPU93)は、無操作コマンドを副制御回路101に送信する際に、その時点におけるメインカウント枚数記憶領域の値を、パラメータとして無操作コマンドに含ませる。   In the present modification, when (the main CPU 93 of) the main control circuit 91 transmits a non-operation command to the sub control circuit 101, the main control circuit 91 includes the value of the main count number storage area at that time in the non-operation command as a parameter. .

副制御回路101が、メダルセレクタ501からメダルカウント信号を受信すると、サブCPU102は、サブRAM103に設けられたサブカウント枚数記憶領域の値に1加算する。サブカウント枚数記憶領域は、2バイトの記憶領域からなる。すなわち、サブカウント枚数記憶領域の値は、0〜65535の範囲で変化可能となっている。なお、サブカウント枚数記憶領域の値に1加算する際、サブカウント枚数記憶領域の値が65535の場合は、サブCPU102は、サブカウント枚数記憶領域の値を0に設定する。   When the sub control circuit 101 receives a medal count signal from the medal selector 501, the sub CPU 102 adds 1 to the value of the sub count sheet number storage area provided in the sub RAM 103. The subcount sheet number storage area consists of a 2-byte storage area. That is, the value of the subcount sheet number storage area can be changed in the range of 0 to 65535. When one is added to the value of the sub count sheet storage area, if the value of the sub count sheet storage area is 65535, the sub CPU 102 sets the value of the sub count sheet storage area to 0.

副制御回路101が主制御回路91から無操作コマンドを受信すると、サブCPU102は、サブカウント枚数記憶領域を参照し、サブカウント枚数記憶領域の値から、無操作コマンドに含まれているメインカウント枚数記憶領域の値を、減算する。そして、サブCPU102は、減算の結果の絶対値が5以上であるか否かを判定する。判定の結果が、5以上である場合は、サブCPU102は、副7セグ表示器に所定の表示(例えば「CC」)を表示させ、エラーを報知する。一方、判定の結果が、5以上でない場合は、サブCPU102は、副7セグ表示器に所定の表示(例えば「CC」)を表示させない。
なお、副7セグ表示器に所定の表示を「CC」に代えて、主制御回路91で管理しているメダルのカウント枚数(メインカウント枚数記憶領域の値)と、副制御回路101で管理しているメダルのカウント枚数(サブカウント枚数記憶領域の値)との差枚数が所定枚数以上(本変形例では5枚以上)であるエラーが発生していることを容易に認識可能なように他の表示、例えば「CE」と表示させてもよい。また、所定数は、適宜設定可能である。例えば、10枚と設定してもよい。
When the sub control circuit 101 receives a non-operation command from the main control circuit 91, the sub CPU 102 refers to the sub count sheet number storage area, and based on the value of the sub count sheet number storage area, the main count sheet number included in the non operation command. Subtract the value of the storage area. Then, the sub CPU 102 determines whether or not the absolute value of the subtraction result is 5 or more. If the result of the determination is five or more, the sub CPU 102 causes the sub 7-segment display to display a predetermined display (for example, "CC") and reports an error. On the other hand, if the result of the determination is not 5 or more, the sub CPU 102 does not display a predetermined display (for example, “CC”) on the sub 7-segment display.
It should be noted that, instead of "CC", the predetermined display on the sub 7-segment display is managed by the sub control circuit 101 with the counted number of medals (main count number storage area value) managed by the main control circuit 91. In order to be able to easily recognize that an error occurs in which the difference between the counted number of medals (the value of the sub count number storage area) and the number of medals being counted is equal to or more than the predetermined number (five or more in this modification) , And may be displayed, for example, "CE". Further, the predetermined number can be set as appropriate. For example, ten sheets may be set.

差枚数報知機能を備えるパチスロでは、主制御回路91で管理しているメダルのカウント枚数と、副制御回路101で管理しているメダルのカウント枚数との差枚数が所定枚数以上の場合に、副7セグ表示器に所定の表示を表示させることで、その旨を報知できる。なお、本変形例では、サブカウント枚数記憶領域の値とメインカウント枚数記憶領域の値とを減算し、その結果の絶対値が5以上の場合に、副7セグ表示器でエラーを報知する例を説明した。しかし、エラーの報知の態様は、これに限らない。例えば、副7セグ表示器に所定の表示を表示させることに代えて、液晶表示装置11(図14参照)にエラー画面を表示してもよい。また、副7セグ表示器に所定の表示を表示させることに加えて、スピーカ58,64,65L及び65R(図14参照)の全て又はいずれかから警告音を出力するようにしてもよい。また、上述した副7セグ表示器を用いた報知、液晶表示装置11を用いた報知及びスピーカ58,64,65L,65Rを用いた報知を適宜組み合わせて報知を行ってもよい。   In a pachislot machine equipped with a difference number notification function, if the difference between the counted number of medals managed by the main control circuit 91 and the counted number of medals managed by the sub control circuit 101 is equal to or greater than a predetermined number, By displaying a predetermined display on the 7-segment display, it is possible to notify of that. In this modification, the value of the sub count sheet number storage area and the value of the main count sheet number storage area are subtracted, and when the absolute value of the result is 5 or more, an example of notifying an error with the sub 7 segment indicator Explained. However, the manner of notification of an error is not limited to this. For example, instead of displaying a predetermined display on the secondary 7-segment display, an error screen may be displayed on the liquid crystal display device 11 (see FIG. 14). Further, in addition to displaying a predetermined display on the secondary 7-segment display, a warning sound may be output from all or any of the speakers 58, 64, 65L and 65R (see FIG. 14). In addition, notification may be performed by appropriately combining notification using the sub 7-segment display described above, notification using the liquid crystal display device 11, and notification using the speakers 58, 64, 65L, and 65R.

ここで、主制御回路91で管理しているメダルのカウント枚数と、副制御回路101で管理しているメダルのカウント枚数との差枚数が所定枚数以上となる場合としては、ダブルフォトセンサ502に障害が発生したことによりメダル検知信号が適切に出力されていない場合や、メダルセレクタ501の制御LSI234に障害が発生したことにより制御LSI234(のメダルカウント回路246)が行うメダルカウント処理に適切に行われない場合などが考えられる。   Here, in the case where the difference between the counted number of medals managed by the main control circuit 91 and the counted number of medals managed by the sub control circuit 101 is equal to or more than a predetermined number, the double photo sensor 502 is used. If the medal detection signal is not output properly due to the occurrence of a fault, or if a fault occurs in the control LSI 234 of the medal selector 501, the medal count processing performed by (the medal count circuit 246) of the control LSI 234 is appropriately performed. If not, it is possible.

このため、差枚数報知機能に係る報知があると、遊技機の管理者(例えば、遊技ホールの従業員)は、ダブルフォトセンサ502や制御LSI234の挙動をチェックすることで、これらに生じた障害を認識することができ、障害を除去できる。このため、障害がない状態で各種処理を行わせることができるので、ダブルフォトセンサ502から出力されるメダル検知信号に基づく主制御回路91でのメダルのカウント処理などの信頼性が向上する。また、制御LSI234が行うメダルカウント処理を含む各種処理の信頼性が向上する。   For this reason, when there is a notification related to the difference number notification function, a manager of the gaming machine (for example, an employee of the game hall) checks the behavior of the double photosensor 502 and the control LSI 234, thereby causing a failure. Can be recognized and the fault can be eliminated. Therefore, since various processes can be performed without a fault, the reliability of the process of counting medals in the main control circuit 91 based on the medal detection signal output from the double photo sensor 502 is improved. Further, the reliability of various processes including the token counting process performed by the control LSI 234 is improved.

なお、無操作コマンドにメインカウント枚数の値を示すパラメータを含ませる例を説明したが、当パラメータを含ませるコマンドは、これに限らず、例えば入賞作動コマンド又はメダル投入コマンドに、当パラメータを含ませてもよい。   Although the example in which the parameter indicating the value of the main count is included in the non-operation command has been described, the command including the parameter is not limited to this, and for example, the prize operation command or the medal insertion command includes the parameter. It may not be.

<セレクタ監視機能>
また、本変形例のパチスロでは、主制御回路91からの指示に応じてセレクトプレート207がガイド位置又は排出位置に移動したか否かを判定し、主制御回路91からの指示に応じてセレクトプレート207が移動していないと判定する場合は、エラー報知するセレクタ監視機能を備えてもよい。なお、以下に説明するセレクタ監視機能に係る主制御回路91、副制御回路101及びメダルセレクタ501(の制御LSI234)が行う各種処理は、上述の各デバイスが実施する各種処理と並行して行われる。
<Selector monitoring function>
Further, in the pachislot of this modification, it is determined whether the select plate 207 has moved to the guide position or the discharge position according to the instruction from the main control circuit 91, and the select plate according to the instruction from the main control circuit 91. If it is determined that the position 207 does not move, a selector monitoring function may be provided to notify an error. Note that various processes performed by the main control circuit 91, the sub control circuit 101, and (the control LSI 234 of the medal selector 501) related to the selector monitoring function described below are performed in parallel with the various processes performed by each device described above. .

セレクタ監視機能を備えたパチスロにおいて、主制御回路91は、無操作コマンドを副制御回路101に送信する際に、その時点においてメダルソレノイド208をON状態に設定しているかOFF状態に設定しているかを示すパラメータを無操作コマンドに含ませる。具体的には、主制御回路91は、主制御回路91とメダルソレノイド208間の信号線をON状態に設定している場合は、メダルソレノイド208をON状態に設定している旨を示すパラメータを無操作コマンドに含ませ、一方、主制御回路91は、主制御回路91とメダルソレノイド208間の信号線を、OFF状態に設定している場合は、メダルソレノイド208をOFF状態に設定している旨を示すパラメータを無操作コマンドに含ませる。すなわち、主制御回路91は、メダルソレノイド208を、セレクトプレート207がガイド位置に移動するように制御している(ON状態に設定している)のか、排出位置に移動するように制御している(OFF状態に設定している)のかを示す情報を無操作コマンドに含ませて出力する。   In a pachislot equipped with a selector monitoring function, when transmitting a no-operation command to the sub control circuit 101, whether the medal solenoid 208 is set to the ON state or to the OFF state at that time. The parameter which indicates is included in the no operation command. Specifically, when the signal line between the main control circuit 91 and the medal solenoid 208 is set to the ON state, the main control circuit 91 sets a parameter indicating that the medal solenoid 208 is set to the ON state. When the signal line between the main control circuit 91 and the medal solenoid 208 is set to the OFF state, the main control circuit 91 sets the medal solenoid 208 to the OFF state. A parameter indicating that is included in the no-operation command. That is, the main control circuit 91 controls the medal solenoid 208 to move to the ejection position whether the select plate 207 is controlled to move to the guide position (set to the ON state). Information indicating whether (set to OFF state) is included in the non-operation command and output.

副制御回路101は、無操作コマンドを受信すると、受信した無操作コマンドに含まれているメダルソレノイド208をON状態に設定しているかOFF状態に設定しているかを示すパラメータに基づいて、メダルソレノイド208をON状態に設定しているかOFF状態に設定しているかを示す信号であるソレノイド信号を制御LSI234に出力する。具体的には、受信した無操作コマンドにメダルソレノイド208をON状態に設定している旨を示すパラメータが含まれている場合は、副制御回路101と制御LSI234間のソレノイド信号のための信号線をON状態に設定する。一方、受信した無操作コマンドにメダルソレノイド208をOFF状態に設定している旨を示すパラメータが含まれている場合は、副制御回路101と制御LSI234間のソレノイド信号のための信号線をOFF状態に設定する。   When the sub-control circuit 101 receives the non-operation command, the sub-control circuit 101 selects the medal solenoid based on the parameter indicating whether the medal solenoid 208 included in the received non-operation command is set in the ON state or in the OFF state. A solenoid signal, which is a signal indicating whether 208 is set to ON or OFF, is output to the control LSI 234. Specifically, when the received no-operation command includes a parameter indicating that the medal solenoid 208 is set to the ON state, a signal line for a solenoid signal between the sub control circuit 101 and the control LSI 234 Set to ON state. On the other hand, when the parameter indicating that the medal solenoid 208 is set to the OFF state is included in the received no-operation command, the signal line for the solenoid signal between the sub control circuit 101 and the control LSI 234 is in the OFF state. Set to

制御LSI234は、所定の周期で副制御回路101と制御LSI234間のソレノイド信号のための信号線の状態(GPIO250の入力PORTの状態)を監視する。そして、ON状態からOFF状態に変化したとき、又は、OFF状態からON状態に変化したとき、すなわち状態に変化があったとき、位置判定処理を行う。本変形例では、位置判定処理を行う制御LSI234が、位置判定手段を構成する。   The control LSI 234 monitors the state of the signal line for the solenoid signal between the sub control circuit 101 and the control LSI 234 (the state of the input PORT of the GPIO 250) at a predetermined cycle. When the state changes from the ON state to the OFF state, or when the state changes from the OFF state to the ON state, that is, when the state changes, the position determination processing is performed. In the present modification, the control LSI 234 that performs position determination processing constitutes position determination means.

位置判定処理において、制御LSI234は、ISP回路245が、レンズ歪み補正処理と射影変換処理後のRGBベイヤ画像を各種フォーマットに変換する色変換処理を行うことによって、生成され、SRAM243に記憶された一番新しいグレースケール画像データを取得する。   In position determination processing, the control LSI 234 is generated by the ISP circuit 245 performing color conversion processing for converting the RGB Bayer image after lens distortion correction processing and projection conversion processing into various formats, and is stored in the SRAM 243. Get new grayscale image data.

次いで、制御LSI234は、取得したグレースケール画像データを解析し、セレクトプレート207がガイド位置にあるか排出位置にあるかを判定する。具体的には、制御LSI234は、グレースケール画像データにおけるメダルの進行方向(図48の矢印A方向)に直交する方向のメダルレール210の幅(以下、単に「レール幅」と称する場合がある)に基づいて、ガイド位置にあるか排出位置にあるかを判定する。   Next, the control LSI 234 analyzes the acquired grayscale image data, and determines whether the select plate 207 is at the guide position or at the discharge position. Specifically, in the control LSI 234, the width of the medal rail 210 in a direction orthogonal to the traveling direction of the medal in the gray scale image data (direction of arrow A in FIG. 48) (hereinafter, may simply be referred to as "rail width") It is determined based on whether the guide position or the discharge position is present.

図48では、ガイド位置にあるときのセレクトプレート207を実線で示し、排出位置にあるセレクトプレート207におけるプレート本体224の端部(メダルの進行方向に沿って延存する箇所)を鎖線で示している。図48に示すように、セレクトプレート207がガイド位置にあるときのレール幅W1は、セレクトプレート207が排出位置にあるときのレール幅W2よりも狭くなる。制御LSI234は、実験やシミュレーションに基づいて予め設定されたガイド位置にあるときのレール幅と、グレースケール画像データにおけるレール幅とを比較し、一致する場合は、セレクトプレート207がガイド位置にあると判定する。一方、グレースケール画像データにおけるレール幅の方が広い場合は、セレクトプレート207が排出位置にあると判定する。   In FIG. 48, the select plate 207 in the guide position is indicated by a solid line, and the end of the plate body 224 (a part extending along the advancing direction of the medal) in the select plate 207 at the discharge position is indicated by a chain line. . As shown in FIG. 48, the rail width W1 when the select plate 207 is at the guide position is smaller than the rail width W2 when the select plate 207 is at the discharge position. The control LSI 234 compares the rail width at the guide position set in advance based on experiment and simulation with the rail width in the gray scale image data, and if they match, it is assumed that the select plate 207 is at the guide position. judge. On the other hand, when the rail width in the grayscale image data is wider, it is determined that the select plate 207 is at the discharge position.

なお、セレクトプレート207がガイド位置にあるか排出位置にあるかの判定方法は、上述した方法以外の方法を適宜採用可能である。例えば、制御LSI234は、実験やシミュレーションに基づいて予め設定されたガイド位置にあるときのセレクトプレート207の形状データと、グレースケール画像データにおけるセレクトプレート207の形状とを比較し、一致する場合は、セレクトプレート207がガイド位置にあると判定し、一致しない場合は、セレクトプレート207が排出位置にあると判定してもよい。   As a method of determining whether the select plate 207 is at the guide position or at the discharge position, any method other than the method described above can be adopted as appropriate. For example, the control LSI 234 compares the shape data of the select plate 207 at the guide position set in advance based on experiments and simulations with the shape of the select plate 207 in gray scale image data, and if they match, If it is determined that the select plate 207 is at the guide position, and if it does not match, it may be determined that the select plate 207 is at the discharge position.

次いで、制御LSI234は、ソレノイド信号のための信号線の状態がON状態の場合、位置判定処理においてセレクトプレート207が排出位置にある(ガイド位置にない)と判定したときは、メダル異常信号を、GPIO250のメダル判定出力PORTを介して出力する。一方、同場合に、セレクトプレート207がガイド位置にあると判定したときは、メダル異常信号を出力することなく位置判定処理を終了する。
また、制御LSI234は、ソレノイド信号のための信号線の状態がOFF状態の場合、位置判定処理においてセレクトプレート207がガイド位置にあると判定したときは、メダル異常信号を、GPIO250のメダル判定出力PORTを介して出力する。一方、同場合に、セレクトプレート207が排出位置にある(ガイド位置にない)と判定したときは、メダル異常信号を出力することなく位置判定処理を終了する。
Next, when the control LSI 234 determines that the select plate 207 is at the ejection position (not at the guide position) in the position determination processing when the signal line for the solenoid signal is in the ON state, the medal abnormality signal is Output via the medal determination output PORT of the GPIO 250. On the other hand, in the same case, when it is determined that the select plate 207 is at the guide position, the position determination processing is ended without outputting the medal abnormality signal.
When the control LSI 234 determines that the select plate 207 is at the guide position in the position determination process when the signal line for the solenoid signal is in the OFF state, the medal abnormality signal is output as the medal determination output PORTO of the GPIO 250. Output through On the other hand, in the same case, when it is determined that the select plate 207 is at the ejection position (not at the guide position), the position determination processing is ended without outputting the medal abnormality signal.

出力されたメダル異常信号は、接続されている副制御基板72で構成される副制御回路101が検知可能となっている。メダル異常信号を検知すると副制御回路101は、副7セグ表示器に所定の表示(例えば「CC」)を表示させる。すなわち、本変形例では、メダル異常信号を出力する制御LSI234は、エラー通知手段を構成する。   The outputted medal abnormality signal can be detected by the sub control circuit 101 configured by the connected sub control board 72. When the medal abnormality signal is detected, the sub control circuit 101 causes the sub 7-segment display to display a predetermined display (for example, "CC"). That is, in the present modification, the control LSI 234 that outputs the token abnormality signal constitutes an error notification means.

なお、出力原因の異なる各種のメダル異常信号、それぞれについて、別々に出力PORTを設けた場合は、副制御回路101は副7セグ表示器に、メダル異常信号が出力されたこと、又は、メダル異常信号が出力された原因を確認可能な文字や記号、例えば、位置判定処理の判定結果に基づくメダル異常信号を検出した場合は「SE」を表示させてもよい。   When the output PORT is provided separately for each of the various types of medal abnormality signals having different output causes, the secondary control circuit 101 outputs the medal abnormality signal to the secondary 7-segment display, or the medal abnormality For example, when a medal abnormality signal based on the determination result of the position determination processing is detected, "SE" may be displayed.

本変形例のパチスロでは、主制御回路91がメダルソレノイド208をON状態に設定している(投入可のメダル投入信号を出力している)にも関わらず、セレクトプレート207が排出位置にある(ガイド位置にない)ときに、エラーが報知される。また、主制御回路91がメダルソレノイド208をOFF状態に設定している(投入不可のメダル投入信号を出力して)にも関わらず、セレクトプレート207がガイド位置にある(排出位置にない)ときに、エラーが報知される。すなわち、主制御回路91からの指示に応じてセレクトプレート207が移動していない場合に、エラーを報知することができる。   In the pachi-slot of this modification, the select plate 207 is in the discharge position despite the fact that the main control circuit 91 sets the medal solenoid 208 in the ON state (the medal insertion signal which can be inserted is output) ( An error is signaled when not in the guide position). When the select plate 207 is at the guide position (not at the discharge position) despite the fact that the main control circuit 91 sets the medal solenoid 208 to the OFF state (outputs the medal insertion signal which can not be inserted). An error is reported to That is, when the select plate 207 is not moved according to the instruction from the main control circuit 91, an error can be notified.

主制御回路91からの指示に応じてセレクトプレート207が移動していない場合としては、例えばメダルソレノイド208が故障している場合が考えられる。また、例えばメダルレール210上に異物が存在し、セレクトプレート207がガイド位置に移動することを妨げている場合が考えられる。本変形例では、遊技機の管理者(例えば、遊技ホールの従業員)は、エラーの報知によって、メダルソレノイド208の故障や、メダルレール210上の異物の存在を把握できるので、これらの不備に早期に対応することができる。   As a case where the select plate 207 is not moved according to an instruction from the main control circuit 91, for example, a case where the medal solenoid 208 is broken can be considered. Further, for example, there may be a case where a foreign object is present on the medal rail 210 and prevents the select plate 207 from moving to the guide position. In this modification, the manager of the gaming machine (for example, an employee of the gaming hall) can grasp the failure of the medal solenoid 208 and the presence of the foreign matter on the medal rail 210 by the notification of the error. It is possible to respond early.

なお、本変形例では、上述のように制御LSI234が、取得したグレースケール画像データと、副制御回路101が出力するソレノイド信号と、に基づいて、メダル投入信号の内容とセレクトプレート207の位置とが一致するか否かを判定し、不一致の場合に、メダル異常信号を副制御回路101に出力する。これによって、主制御回路91からの指示に対応した位置にセレクトプレート207が移動していない場合にエラーを報知する例を説明した。しかし、これに代えて、例えば、副制御回路101のソレノイド信号の出力を省略してもよい。この場合、制御LSI234が、取得したグレースケール画像データに基づいてセレクトプレート207がガイド位置にあるか排出位置にあるかを判定し、判定結果を副制御回路101に出力する。そして、副制御回路101は、この判定結果と、無操作コマンドに含まれているメダルソレノイド208をON状態に設定しているかOFF状態に設定しているかを示すパラメータとに基づいて、主制御回路91からの指示に応じてセレクトプレート207が移動したか否かを判定し、指示に対応した位置に移動していない場合にエラーを報知する。   In the present modification, as described above, the content of the medal insertion signal and the position of the select plate 207 are determined based on the grayscale image data acquired by the control LSI 234 and the solenoid signal output from the sub control circuit 101. It is determined whether or not there is a match, and in the case of a mismatch, a medal abnormality signal is output to the sub control circuit 101. An example in which an error is notified when the select plate 207 is not moved to the position corresponding to the instruction from the main control circuit 91 has been described. However, instead of this, for example, the output of the solenoid signal of the sub control circuit 101 may be omitted. In this case, the control LSI 234 determines whether the select plate 207 is at the guide position or the discharge position based on the acquired gray scale image data, and outputs the determination result to the sub control circuit 101. Then, based on the determination result and the parameter indicating whether the medal solenoid 208 included in the no-operation command is set to ON or OFF, the sub control circuit 101 determines the main control circuit. It is determined whether or not the select plate 207 has moved in accordance with the instruction from 91, and an error is notified when it has not moved to the position corresponding to the instruction.

また、上述した画像データを解析してセレクトプレート207がガイド位置にあるか排出位置にあるかを判定するセレクタ監視機能に代えて、他の態様のセレクタ監視機能を採用してもよい。例えば、メダルソレノイド208と制御LSI234とを信号線で接続し、メダルソレノイド208は、自身がON状態の場合は、当該信号線をON状態に設定し、また、自身がOFF状態の場合は、当該信号線をOFF状態に設定する。そして、制御LSI234は、無操作コマンドを受信すると、この信号線の状態を確認し、受信した無操作コマンドが示すメダルソレノイド208の状態(ON状態又はOFF状態)と、この信号線の状態とが一致しているか否かを判定し、一致しない場合は、メダル異常信号を、GPIO250のメダル判定出力PORTを介して、出力してもよい。   Also, instead of the selector monitoring function of analyzing the image data described above and determining whether the select plate 207 is at the guide position or the discharge position, a selector monitoring function of another form may be adopted. For example, the medal solenoid 208 and the control LSI 234 are connected by a signal line, and when the medal solenoid 208 is in the ON state, the medal solenoid 208 sets the signal line in the ON state. Set the signal line to the OFF state. Then, when the control LSI 234 receives the non-operation command, the control LSI 234 confirms the state of this signal line, and the state (ON state or OFF state) of the medal solenoid 208 indicated by the received non-operation command and the state of this signal line It is determined whether or not they match. If they do not match, a medal abnormality signal may be output via the medal determination output PORT of the GPIO 250.

また、他の態様のセレクタ監視機能として、制御LSI234は、無操作コマンドを受信すると、主制御回路91とメダルソレノイド208とを接続する信号線の状態を確認し、受信した無操作コマンドが示すメダルソレノイド208の状態(ON状態又はOFF状態)と、この信号線の状態とが一致しているか否かを判定し、一致しない場合は、メダル異常信号を、GPIO250のメダル判定出力PORTを介して、出力してもよい。   Further, as a selector monitoring function of another aspect, when the control LSI 234 receives a non-operation command, the control LSI 234 confirms the state of a signal line connecting the main control circuit 91 and the medal solenoid 208, and the medal indicated by the received non-operation command. It is determined whether or not the state of the solenoid 208 (ON state or OFF state) matches the state of this signal line, and if they do not match, a medal abnormality signal is output via the medal determination output PORT of GPIO 250. You may output it.

<エラーマスク機能>
また、本変形例のパチスロは、エラーマスク機能を備えてもよい。エラーマスク機能は、副制御回路101の、パチスロの電源投入から正常に動作するまでの時間すなわち起動が完了するまでの時間(以下、「起動時間」と称する場合がある)と、メダルセレクタ501(の制御LSI234)の起動時間と、がそれぞれ異なることなどが原因でエラーに係る処理が無駄に発生しないように、用いられる機能である。
<Error mask function>
In addition, the pachi slot of this modification may have an error mask function. In the error mask function, the time from the power-on of the pachislot to the normal operation of the sub control circuit 101, that is, the time until the activation is completed (hereinafter sometimes referred to as “activation time”) This is a function that is used so that processing relating to an error does not occur wastefully because the activation time of the control LSI 234) and the like differ from each other.

図49は、エラーマスク機能を説明するためのタイミングチャートである。
図49に示すように、本変形例では、副制御回路101の起動が完了するには、電源投入から5秒(第2の起動時間)を要する。また、メダルセレクタ501(の制御LSI234)の起動が完了するには、電源投入から18秒(第3の起動時間)を要する。
FIG. 49 is a timing chart for explaining the error mask function.
As shown in FIG. 49, in the present modification, it takes 5 seconds (second startup time) after the power-on to complete the startup of the sub control circuit 101. In addition, it takes 18 seconds (third activation time) after the power is turned on to complete activation of (the control LSI 234) of the medal selector 501.

ここで、電源投入からメダルセレクタ501の起動が完了するまでの18秒の間は、GPIO250に割り付けられたメダル判定出力PORTは、起動時のノイズの影響を受けることがないように、ON状態に設定される。すなわち、GPIO250に割り付けられたメダル判定出力PORTと副制御回路101とを接続する信号線がON状態に設定される。よって、電源投入から起動が完了するまでの18秒の間、出力する条件が成立しているか否かに関わらずメダル異常信号が出力し続けられる状態となっている。
なお、電源投入から18秒を経過したとき、制御LSI234は、メダル異常信号を出力する条件が成立していなければ、メダル判定出力PORTをOFF状態に設定する(GPIO250に割り付けられたメダル判定出力PORTと副制御回路101とを接続する信号線をOFF状態に設定する)。すなわち、メダル異常信号の出力を停止する。以後、制御LSI234は、メダル異常信号を出力する条件の成立に応じて、メダル異常信号を出力する。
Here, during 18 seconds from the power-on to the completion of activation of the medal selector 501, the medal determination output PORT allocated to the GPIO 250 is in the ON state so as not to be affected by the noise at the time of activation. It is set. That is, the signal line connecting the medal determination output PORT allocated to the GPIO 250 and the sub control circuit 101 is set to the ON state. Therefore, during the 18 seconds from the power-on to the completion of activation, the medal abnormality signal can be continuously output regardless of whether the output condition is satisfied.
When 18 seconds have passed since the power was turned on, the control LSI 234 sets the medal determination output PORT to the OFF state if the condition for outputting the medal abnormality signal is not satisfied (the medal determination output PORT allocated to GPIO 250 is And the signal line connecting the sub control circuit 101 to the OFF state). That is, the output of the medal abnormality signal is stopped. Thereafter, the control LSI 234 outputs the medal abnormality signal in response to the establishment of the condition for outputting the medal abnormality signal.

副制御回路101は、電源投入から5秒を経過した後は、正常に動作している。したがって、副制御回路101は、電源投入から5秒を経過した後は、メダル異常信号を検知可能となっている。具体的には、副制御回路101は、所定の周期で、GPIO250に割り付けられたメダル判定出力PORTと副制御回路101とを接続する信号線の状態を確認し、ON状態に設定されているときはメダル異常信号を検知する。   The sub control circuit 101 operates normally after 5 seconds have passed since the power was turned on. Therefore, the sub control circuit 101 can detect the medal abnormality signal after 5 seconds have passed since the power was turned on. Specifically, when the sub control circuit 101 confirms the state of the signal line connecting the sub-control circuit 101 and the medal determination output PORT assigned to the GPIO 250 at a predetermined cycle, and is set to the ON state Detects a medal abnormality signal.

上述したように、電源投入から18秒の間、出力する条件が成立しているか否かに関わらず、メダル異常信号は出力し続けられている。このため、副制御回路101が、電源投入から5秒〜18秒の間にメダル異常信号を検知したことに基づいて、副7セグ表示器に所定の表示(例えば「CC」)を表示させるなどエラーの報知を行うと、実際はエラーが生じていないのにエラーの報知が発生してしまう場合がある。   As described above, during the 18 seconds after the power is turned on, the medal abnormality signal continues to be output regardless of whether the output condition is satisfied. For this reason, based on the fact that the sub control circuit 101 has detected a medal abnormality signal within 5 seconds to 18 seconds after the power is turned on, a predetermined display (for example, "CC") is displayed on the sub 7-segment display, etc. If an error notification is given, an error notification may occur although no error has actually occurred.

そこで、本変形例では、副制御回路101は、電源投入してから5秒〜18秒の間にメダル異常信号を検知しても副7セグ表示器に所定の表示を表示させるなどエラーの報知を行わない。すなわち、副制御回路101は、エラーをマスクする。これによって、実際はエラーが生じていないのに無駄にエラーの報知が発生してしまうことを防止することができる。
なお、副制御回路101は、電源投入してから18秒を経過した後に、メダル異常信号を検知した場合は、副7セグ表示器に所定の表示を表示させるなどエラーの報知を行う。
Therefore, in the present modification, even if the sub control circuit 101 detects a medal abnormality signal within 5 seconds to 18 seconds after the power is turned on, notification of an error, such as displaying a predetermined display on the sub 7-segment display Do not do. That is, the sub control circuit 101 masks an error. In this way, it is possible to prevent the occurrence of an error notification as it is, even though no error has actually occurred.
If 18 seconds have passed after the power is turned on and the medal abnormality signal is detected, the sub control circuit 101 notifies an error such as displaying a predetermined display on the sub 7-segment display.

ところで、図49に示すように、本変形例では、主制御回路91の起動が完了するには、電源投入から20秒(第1の起動時間)を要する。電源投入から20秒を経過し、主制御回路91が正常に動作すると、主制御回路91は、メダルを投入可能な場合であれば、投入可のメダル投入信号を出力し、メダルを投入不可な場合であれば、投入不可のメダル投入信号を出力する。すなわち、メダルを投入可能な場合であれば、主制御回路91とメダルソレノイド208間の信号線をON状態に設定し、メダルを投入不可な場合であればOFF状態に設定する。なお、電源投入時にメダルを投入不可の場合には、設定用鍵型スイッチ56がON状態の場合、主制御回路91が何らかのエラーを検知した場合や遊技動作中に電断が発生した後に電源が投入された場合などがある。   By the way, as shown in FIG. 49, in the present modification, it takes 20 seconds (first start time) after the power is turned on to complete the start of the main control circuit 91. When 20 seconds have passed since the power was turned on, and the main control circuit 91 operates normally, the main control circuit 91 outputs a medal insertion signal that can be inserted if the medal can be inserted, and can not insert the medal. If it is the case, a medal insertion signal that can not be inserted is output. That is, when the medal can be inserted, the signal line between the main control circuit 91 and the medal solenoid 208 is set to the ON state, and when the medal can not be inserted, the signal line is set to the OFF state. If the medal can not be inserted when the power is turned on, if the setting key type switch 56 is in the ON state, the main control circuit 91 detects a certain error, or the power is turned off after a power failure occurs during the game operation. There are cases such as when it is thrown.

そして、主制御回路91は、次に送信する無操作コマンドに、メダルソレノイド208をON状態に設定している旨を示すパラメータを含ませて、副制御回路101に送信する。
副制御回路101は、メダルソレノイド208をON状態に設定している旨を示すパラメータを含む無操作コマンドを受信すると、副制御回路101とメダルセレクタ501の制御LSI234間のソレノイド信号のための信号線をON状態に設定する。
Then, the main control circuit 91 transmits a parameter indicating that the medal solenoid 208 is set to the ON state to the non-operation command to be transmitted next, to the sub control circuit 101.
When the sub control circuit 101 receives a non-operation command including a parameter indicating that the medal solenoid 208 is set to the ON state, a signal line for a solenoid signal between the sub control circuit 101 and the control LSI 234 of the medal selector 501. Set to ON state.

なお、メダルセレクタ501のその他の点については、メダルセレクタ201と同様のため、説明を省略する。   The other points of the medal selector 501 are the same as those of the medal selector 201, and thus the description thereof is omitted.

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

図50に示すように、本変形例のメダルセレクタ601では、上述した変形例2に係るメダルセレクタ401と同様に、制御LSI234とメダルソレノイド208とが電気的に接続されている。したがって、制御LSI234は、メダルソレノイド208をON状態又はOFF状態に設定することができる。
また、本変形例における制御LSI234は、上述した変形例と同様に、メダルレール210上を移動する物体について刻印判定処理を行い、その結果に応じてメダルソレノイド208の動作を制御する。
As shown in FIG. 50, in the medal selector 601 of this modification, the control LSI 234 and the medal solenoid 208 are electrically connected, as in the medal selector 401 according to the above-described second modification. 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 the present modification performs marking determination processing on an object moving on the medal rail 210 as in the above-described modification, and controls the operation of the medal solenoid 208 according to the result.

すなわち、本変形例では、変形例2と同様に、メダルレール210上を移動する物体が、メダルレール210の上露出孔219又は下露出孔220に達する前に、制御LSI234の画像認識DSP回路242は、この物体に対する刻印判定処理の判定結果をSRAM243に記憶させる。また、制御LSI234のホストコントローラ241は、画像認識DSP回路242からの刻印判定終了割込信号に応じて、SRAM243に記憶されている刻印判定処理の判定結果を取得する。   That is, in this modification, as in the second modification, 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 image recognition DSP circuit 242 of the control LSI 234 Makes the SRAM 243 store the determination result of the marking determination process for this object. Further, the host controller 241 of the control LSI 234 obtains the determination result of the marking determination processing stored in the SRAM 243 in accordance with the marking determination end interrupt signal from the image recognition DSP circuit 242.

刻印判定処理の判定結果を取得したホストコントローラ241は、取得した判定結果として「不正メダル」が記憶されている場合、メダルソレノイド208をOFF状態に設定する制御信号をメダルソレノイド208に出力する。この場合、判定対象の物体を、上露出孔219から突出するアフタメダルプレッシャ218、又は、下露出孔220から突出するメダルストッパ部227に押し出させ、キャンセルシュータ206に向けて排出させることができる。   The host controller 241 that has acquired the determination result of the marking determination process outputs, to the medal solenoid 208, a control signal for setting the medal solenoid 208 in the OFF state when “illegal medal” is stored as the acquired determination result. In this case, the object to be determined can be pushed out to the after medal presser 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.

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

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

具体的には、ホストコントローラ241は、取得した閾値判定処理の判定結果として「閾値判定不可」が記憶されている場合、又は、色判定結果として「否」が記憶されている場合、メダルソレノイド208をOFF状態に設定する制御信号をメダルソレノイド208に出力する。この場合、判定対象の物体を、上露出孔219から突出するアフタメダルプレッシャ218、又は、下露出孔220から突出するメダルストッパ部227に押し出させ、キャンセルシュータ206に向けて排出させることができる。   Specifically, the host controller 241 stores the token 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 to the after medal presser 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.

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

一方、SRAM243に記憶されている直近のカウント処理に係る判定結果が「異常が発生した」でなく、閾値判定処理の判定結果として「閾値判定不可」が記憶されておらず、色判定結果として「可」が記憶されている場合で、且つ、刻印判定処理の判定結果として「正規メダル」が記憶されている場合、ホストコントローラ241は、メダルソレノイド208の状態がON状態のまま維持されるようにする。この場合、判定対象の物体はホッパー装置51に案内される。   On the other hand, the determination result related to the latest count processing stored in the SRAM 243 is not "an abnormality has occurred", and "a threshold determination is not possible" is not stored as a determination result of the threshold determination processing, and "a color determination result is When “OK” is stored and “regular medal” is stored as the determination result of the marking determination process, the host controller 241 maintains the state of the medal solenoid 208 in the ON state. Do. In this case, the object to be determined is guided to the hopper device 51.

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

図50に示すように、メダルセレクタ601は、第1フォトセンサ503と第2フォトセンサ504からなるダブルフォトセンサ502を備えている。ダブルフォトセンサ502は、ドア中継端子板68を介して、主制御基板71に接続されている。なお、本変形例のダブルフォトセンサ502の構成及び機能、また、ダブルフォトセンサ502(の第1フォトセンサ503及び第2フォトセンサ504)から出力されるメダル検知信号に基づく、主制御回路91での投入枚数カウンタ及びクレジットカウンタの値の管理の態様については、変形例3と同様のため、ここでの説明は省略する。   As shown in FIG. 50, the medal selector 601 is provided with a double photosensor 502 composed of 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 plate 68. Note that the main control circuit 91 is based on the configuration and function of the double photo sensor 502 of this modification, and the medal detection signal output from (the first photo sensor 503 and the second photo sensor 504 of) the double photo sensor 502. About the aspect of management of the value of the injection | throwing-in number counter of this, and a credit counter, since it is the same as that of the modification 3, description here is abbreviate | omitted.

図50に示すように、メダルセレクタ601におけるカメラユニット209の制御LSI234は、副中継基板61を介して、副制御基板72に接続されている。したがって、本変形例では、メダルセレクタ601の制御LSI234におけるホストコントローラ241から出力される各種信号、すなわちメダルカウント信号やメダル異常信号、は、副制御基板72で構成される副制御回路101(のサブCPU102)が検出可能となっている。   As shown in FIG. 50, 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 the present modification, various signals output from the host controller 241 in the control LSI 234 of the medal selector 601, that is, the medal count signal and the medal abnormality signal The 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 detection content in the backup area of the sub RAM 103. Information related to the medal abnormality signal stored in the sub RAM 103 can be displayed on the liquid crystal display device 11 by the administrator of the gaming machine (for example, an employee of the gaming hall) operating the setting key switch 56 (see FIG. 6). When the error history menu is selected on the displayed hole menu screen (not shown), reference can be made. The display mode of the operation for selecting the error history menu and the display mode of the information related to the token abnormality signal stored in the sub RAM 103 in the error history menu is the same as that of the third modification, so the description here is omitted.

本変形例における主制御基板71で構成される主制御回路91は、パチスロ1がメダルを投入可能なメダル投入許可状態ではないとき、例えば、単位遊技においてスタートレバー23が遊技者により操作された後、また、クレジットカウンタが最大値のときは、メダル投入不可の内容のメダル投入コマンドを副制御基板72で構成される副制御回路101に送信する。また、パチスロ1がメダルを投入可能なメダル投入許可状態のときは、投入許可の内容のメダル投入コマンドを副制御回路101に送信する。   The main control circuit 91 configured by the main control board 71 in the present modification is, for example, after the start lever 23 is operated by the player in the unit game when the pachislot 1 is not in the medal insertion permission state capable of inserting medals. Also, when the credit counter has the maximum value, the medal insertion command of the content that the medal can not be inserted is transmitted to the sub control circuit 101 configured by the sub control board 72. When the pachislot 1 is in the medal insertion permission state where medals can be inserted, a medal insertion command of the content of 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. The sub control circuit 101 having received the medal insertion command outputs a sub medal insertion signal having the same content as the received medal insertion command. The secondary medal insertion signal is detected by the control LSI 234 of the medal selector 601 via the secondary relay board 61.

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

また、変形例3と同様に、主制御回路91は、ダブルフォトセンサ502から出力されるメダル検知信号に基づいて、逆行エラーやメダル詰まりエラーを検知し、これらのエラーが検知されたときは、遊技を強制的に終了させる。
なお、これらのエラーは、メダルセレクタ601(制御LSI234によるカウント処理等)で検知可能であるので、主制御回路91による逆行エラーやメダル詰まりエラーの検知に係る処理を省略してもよい。省略した場合は、逆行エラーやメダル詰まりエラーが発生した場合、副制御回路101にその旨(カウント処理の判定結果が「異常が発生した」に基づくメダル異常信号を検出した旨)を示す信号を出力させ、主制御回路91は、この信号を検出した場合に、逆行エラーやメダル詰まりエラーの発生を検知し、遊技を強制的に終了させる。
なお、メダルセレクタ601のその他の点については、変形例2で説明したメダルセレクタ401と同様のため、説明を省略する。
Further, as in 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.
Note that since these errors can be detected by the medal selector 601 (counting process by the control LSI 234, etc.), the process relating to the detection of the retrogression error or the medal jam error by the main control circuit 91 may be omitted. If omitted, when a retrogression error or medal clogging error occurs, the sub control circuit 101 indicates to that effect (indicating that a medal abnormality signal is detected based on the result of the count processing determination “an abnormality occurred”). When the main control circuit 91 detects this signal, the main control circuit 91 detects the occurrence of a retrogression error or a medal clogging error and forcibly terminates the game.
The other points of the medal selector 601 are the same as the medal selector 401 described in the second modification, and thus 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 pachislot 1 is not in the above-described medal insertion permission state, the main control circuit 91 transmits the medal insertion command of the content that can not be inserted, and the sub control circuit 101 that has received the medal insertion command has the same content. Output a secondary medal insertion signal. Then, when the control LSI 234 of the medal selector 601 detects a secondary medal insertion signal of the content that can not be inserted, the medal solenoid 208 is set to the OFF state, and the medal is discharged toward the cancel shooter 206. Further, 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 processing is “threshold value can not be determined” or “not” when the determination result of the count processing is “error occurred”. At the time, or when the result of the marking determination process is "illegal medal", the medal solenoid 208 is set to the OFF state, and the medal is discharged toward the cancel shooter 206. Therefore, the inserted medals can be properly counted. In addition, the inserted medal can be appropriately guided to the cancel shooter 206 or the hopper device 51.

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

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

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

セレクトプレート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 707 a is rotatably supported by a shaft (not shown) provided on the front surface 204 a of the base plate 204. A coil spring is provided on the shaft portion, and urges the flange portion 726 a to the front of the pachi slot 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 726a is pressed against one end of the movable plate of the first medal solenoid 708a, and moves to the rear of the pachi slot 1 against the biasing force of the coil spring. The rotational position of the select plate 707a at this time is referred to as a "guide position". The distance between the plate body 724a of the select plate 707a at the guide position and the medal rail 210 is set to a predetermined distance that can be guided to the medal outlet 204c (see FIG. 8) without discharging the medal to the cancel shooter 206 side. It is done.

また、第1メダルソレノイド708aがOFF状態にあるとき、フランジ部726aは第1メダルソレノイド708aの押圧から解放され、コイルばねの付勢力によってパチスロ1の前方へ移動する。このときの、セレクトプレート707aの回動位置を「排出位置」と称する。排出位置にあるセレクトプレート707aのプレート本体724aとメダルレール210との距離は、所定の距離よりも長い距離に設定されている。   Further, 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 to the front of the pachi slot 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 main body 724a of the select plate 707a at the ejection position and the medal rail 210 is set to be longer than a predetermined distance.

ガイド位置にあるセレクトプレート707aは、メダルレール210上を移動するメダルが規格寸法を満たす場合、移動するメダルの上部と接触し、メダルをメダル出口部204c(図8参照)側(図51における右側)へ移動するように案内する。メダルは、セレクトプレート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 portion of the moving medal, and the medal is on the medal exit portion 204c (see FIG. 8) side (right side in FIG. 51). Guide to move to). The medal, when being guided by the select plate 707 a, pushes the medal pressure 213 to the front of the pachi slot 1.

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

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

セレクトプレート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 707 b is rotatably supported by a shaft (not shown) provided on the front surface 204 a of the base plate 204. A coil spring is provided on the shaft portion, and biases the flange portion 726 b to the front 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 by one end of the movable plate portion of the second medal solenoid 708b, and moves to the rear of the pachi slot 1 against the biasing force of the coil spring. The rotational position of the select plate 707 b at this time is referred to as a “guide position”. The distance between the plate body 724b of the select plate 707b at the guide position and the medal rail 210 is set to a predetermined distance that can guide the medal to the medal outlet 204c without discharging the medal to the cancel shooter 206. Further, 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から突出する。   Further, 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 to the front of the pachi slot 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 ejection position and the medal rail 210 is set to be longer than a predetermined distance. At this time, it is pressed by the flange portion 726 b moving forward of the pachi slot 1, and one end of the movable plate portion of the second medal solenoid 708 b moves forward of the pachi slot 1. Along with this, the other end of the movable plate portion of the second medal solenoid 708b moves to the rear of the pachi slot 1 and presses the front end of the after medal pressure 218 (see FIG. 8). As a result, the after medal pressure member 218 is rotated, and the rear end portion of the after medal pressure member 218 is exposed from the upper exposure hole 219. Further, the medal stopper portion 727 b protrudes from the lower exposure hole 220.

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

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

図52に示すように、メダルセレクタ701は、第1フォトセンサ503と第2フォトセンサ504からなるダブルフォトセンサ502を備えている。ダブルフォトセンサ502は、ドア中継端子板68を介して、主制御基板71に接続されている。   As shown in FIG. 52, 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 plate 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 a medal rail more than the first photosensor 503. It is provided downstream above 210. Therefore, in the first photosensor 503 and the second photosensor 504, the select plate 707b is at the guide position, and the medal moving to the medal outlet portion 204c (see FIG. 8) side is detected, 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.
In addition, the main control circuit based on the other configuration and function of the double photo sensor 502 of this modification, and the medal detection signal output from (the first photo sensor 503 and the second photo sensor 504 of) the double photo sensor 502. About the aspect of management of the value of the injection | throwing-in number counter and credit counter in 91, since it is the same as that of the modification 3, description here is abbreviate | omitted.

また、第1メダルソレノイド708aは、ドア中継端子板68を介して、主制御基板71に接続されている。したがって、主制御基板71から構成される主制御回路91は、第1メダルソレノイド708aをON状態又はOFF状態に設定することができる。   In addition, the first medal solenoid 708 a is connected to the main control board 71 via the door relay terminal plate 68. Therefore, the main control circuit 91 configured of 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 the medal insertion permission state where medals can be inserted, for example, after the start lever 23 is operated by the player in the unit game, the main control circuit 91 also operates when the credit counter is at the maximum value. The first medal solenoid 708a is set to the OFF state. In addition, when the pachi slot 1 is in the medal insertion permission state where medals can be inserted, the first medal solenoid 708a is set to the ON state.

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

すなわち、本変形例では、変形例2と同様に、メダルレール210上を移動する物体が、メダルレール210の上露出孔219又は下露出孔220に達する前に、制御LSI234の画像認識DSP回路242は、この物体に対する刻印判定処理の判定結果をSRAM243に記憶させる。また、制御LSI234のホストコントローラ241は、画像認識DSP回路242からの刻印判定終了割込信号に応じて、SRAM243に記憶されている刻印判定処理の判定結果を取得する。   That is, in this modification, as in the second modification, 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 image recognition DSP circuit 242 of the control LSI 234 Makes the SRAM 243 store the determination result of the marking determination process for this object. Further, the host controller 241 of the control LSI 234 obtains the determination result of the marking determination processing stored in the SRAM 243 in accordance with the marking determination end interrupt signal from the image recognition DSP circuit 242.

刻印判定処理の判定結果として「不正メダル」が記憶されている場合、第2メダルソレノイド708bをOFF状態に設定する制御信号を第2メダルソレノイド708bに出力する。この場合、判定対象の物体を、上露出孔219から突出するアフタメダルプレッシャ218、又は、下露出孔220から突出するメダルストッパ部727bに押し出させ、キャンセルシュータ206に向けて排出させることができる。   When the “incorrect medal” is stored as the determination result of the marking determination process, a control signal for setting the second medal solenoid 708 b to the OFF state is output to the second medal solenoid 708 b. In this case, the object to be determined can be pushed out to the after medal pressure member 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 acquires the determination result of the latest color determination processing stored in the SRAM 243 each time the color determination interrupt signal is input, and the second medal according to the determination result of the color determination processing. 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状態に設定することができる。   Therefore, before an 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 operated according to the determination result of the color determination process for this object. It can be set to the ON state or the OFF state.

具体的には、ホストコントローラ241は、取得した閾値判定処理の判定結果として「閾値判定不可」が記憶されている場合、又は、色判定結果として「否」が記憶されている場合、第2メダルソレノイド708bをOFF状態に設定する制御信号を第2メダルソレノイド708bに出力する。この場合、判定対象の物体を、上露出孔219から突出するアフタメダルプレッシャ218、又は、下露出孔220から突出するメダルストッパ部727bに押し出させ、キャンセルシュータ206に向けて排出させることができる。   Specifically, the host controller 241 stores the second medal when “threshold determination impossible” is stored as the determination result of the acquired threshold determination process, 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 to the after medal pressure member 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に出力する。   The host controller 241 sets a second medal to the control signal for setting the second medal solenoid 708b to the OFF state, when the determination result related to the latest count processing stored in the SRAM 243 is “an abnormality has occurred”. It outputs to the solenoid 708b.

一方、直近のカウント処理に係る判定結果が「異常が発生した」でなく、閾値判定処理の判定結果として「閾値判定不可」が記憶されておらず、色判定結果として「可」が記憶されている場合で、且つ、取得した刻印判定処理の判定結果が「正規メダル」の場合、ホストコントローラ241は、第2メダルソレノイド708bの状態がON状態のまま維持されるようにする。この場合、判定対象の物体はホッパー装置51に案内される。   On the other hand, the determination result according to the latest count process is not "abnormal", and "threshold determination impossible" is not stored as the determination result of the threshold determination process, and "OK" is stored as the color determination result If yes, and if the determination result of the acquired marking determination process is “regular medal”, the host controller 241 causes the state of the second medal solenoid 708 b to be maintained 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に出力する。   Also, the host controller 241 of the medal selector 701 in the modified example turns on the second medal solenoid 708b when the circular area can not be detected in the circular area detection processing 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.

図52に示すように、メダルセレクタ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. 52, the control LSI 234 of the camera unit 209 in the medal selector 701 is connected to the sub control board 72 via the sub relay board 61. Therefore, in the present modification, various signals output from the host controller 241 in the control LSI 234 of the medal selector 701, that is, the medal count signal and the medal abnormality signal The CPU 102) can be detected.
In addition, the secondary 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 detecting the 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 insertion number counter provided in the sub RAM 103. If the value of the insertion number counter of the sub RAM 103 is the maximum value (for example, 3), the value of the credit counter, which is a counter provided in the sub RAM 103 for the sub CPU 102 to count the number of medals credited. Add 1 to After the start lever 23 is operated by the player in the unit game (when the start command is received), and the credit counter of the sub RAM 103 has the maximum value (for example, 50), the sub control circuit 101 The medal solenoid 708 b is set to the OFF state via the host controller 241 of the medal selector 701. When the pachislot player is in the medal insertion permission state where the medal can be inserted, the second medal solenoid 708 b 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 detection content in the backup area of the sub RAM 103. Information related to the medal abnormality signal stored in the sub RAM 103 can be displayed on the liquid crystal display device 11 by the administrator of the gaming machine (for example, an employee of the gaming hall) operating the setting key switch 56 (see FIG. 6). When the error history menu is selected on the displayed hole menu screen (not shown), reference can be made. The display mode of the operation for selecting the error history menu and the display mode of the information related to the token abnormality signal stored in the sub RAM 103 in the error history menu is the same as that of the third modification, so the description here is omitted.

また、変形例3と同様に、主制御回路91は、ダブルフォトセンサ502から出力されるメダル検知信号に基づいて、逆行エラーやメダル詰まりエラーを検知し、これらのエラーが検知されたときは、遊技を強制的に終了させる。また、主制御回路91は、副制御回路101に、検知したエラーの内容に応じたエラーコマンドを送信する。
副制御回路101は、主制御回路91から、逆行エラーやメダル詰まりエラーに係るエラーコマンドを受信した場合には、メダルセレクタ701の制御LSI234におけるホストコントローラ241を介して、第2メダルソレノイド708bをOFF状態に設定する。
なお、これらのエラーは、メダルセレクタ701(制御LSI234によるカウント処理等)で検知可能であるので、主制御回路91による逆行エラーやメダル詰まりエラーの検知に係る処理を省略してもよい。省略した場合は、逆行エラーやメダル詰まりエラーが発生した場合、副制御回路101にその旨(カウント処理の判定結果が「異常が発生した」に基づくメダル異常信号を検出した旨)を示す信号を出力させ、主制御回路91は、この信号を検出した場合に、逆行エラーやメダル詰まりエラーの発生を検知し、遊技を強制的に終了させる。
Further, as in 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 content of the detected error to the sub control circuit 101.
The sub control circuit 101 turns off the second medal solenoid 708b via the host controller 241 in the control LSI 234 of the medal selector 701 when receiving an error command relating to a retrogression error or a medal clogging error from the main control circuit 91. Set to state.
Since these errors can be detected by the medal selector 701 (counting process by the control LSI 234, etc.), the process relating to the detection of the retrogression error and the medal jam error by the main control circuit 91 may be omitted. If omitted, when a retrogression error or medal clogging error occurs, the sub control circuit 101 indicates to that effect (indicating that a medal abnormality signal is detected based on the result of the count processing determination “an abnormality occurred”). When the main control circuit 91 detects this signal, the main control circuit 91 detects the occurrence of a retrogression error or a medal clogging error and forcibly terminates 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 above-described medal insertion permission state, the main control circuit 91 sets the first medal solenoid 708a to the OFF state, and discharges the medal to the cancel shooter 206. In addition, 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 “the threshold value can not be determined” when the determination result of the count process is “error occurred”. Alternatively, if 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 properly counted. In addition, the inserted medal can be appropriately guided to the cancel shooter 206 or the hopper device 51.

<変形例6>
次に、変形例6の遊技機について、図53を参照して説明する。
図53は、変形例6の遊技機におけるメダルセレクタの回路構成例を示すブロック図である。
なお、変形例6に係る遊技機についての以下の説明において、上述した実施形態におけるパチスロ1と共通する構成や機能については、説明を省略する。
<Modification 6>
Next, a gaming machine according to the sixth modification will be described with reference to FIG.
FIG. 53 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 sixth modification, the description of the configurations and functions common to those of the pachi slot 1 in the above-described embodiment will be omitted.

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

また、図53に示すように、メダルセレクタ801における第2メダルソレノイド708bと、副制御基板72が、副中継基板61を介して、電気的に接続されている。このため、副制御基板72で構成される副制御回路101は、第2メダルソレノイド708bをON状態又はOFF状態に設定することができる。一方、制御LSI234と第2メダルソレノイド708bとは、電気的に接続されていない。この点が変形例5との相違点である。以下では、この相違点に関して説明を行い、変形例5と共通する点については説明を省略する。   Further, as shown in FIG. 53, the second medal solenoid 708 b of 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 708 b to the ON state or the OFF state. On the other hand, the control LSI 234 and the second medal solenoid 708 b are not electrically connected. This point is the difference from the fifth modification. In the following, this difference will be described, and the description in common with the fifth modification will be omitted.

図53に示すように、変形例5と同様に、メダルセレクタ801におけるカメラユニット209の制御LSI234は、副中継基板61を介して、副制御基板72に接続されている。したがって、本変形例では、制御LSI234のホストコントローラ241から出力される各種信号、すなわちメダルカウント信号やメダル異常信号、は、副制御基板72で構成される副制御回路101(のサブCPU102)が検出可能となっている。   As shown in FIG. 53, 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 the present modification, the sub control circuit 101 formed of the sub control board 72 detects various signals output from the host controller 241 of the control LSI 234, that is, the token count signal and the token abnormality signal. It is possible.

本変形例では、変形例2のメダルセレクタ401と同様に、メダルレール210上を移動する物体が、メダルレール210の上露出孔219又は下露出孔220に達する前に、制御LSI234の画像認識DSP回路242は、この物体に対する刻印判定処理の判定結果をSRAM243に記憶させる。また、制御LSI234のホストコントローラ241は、画像認識DSP回路242からの刻印判定終了割込信号に応じて、SRAM243に記憶されている刻印判定処理の判定結果を取得する。   In this modification, as with the medal selector 401 of the second modification, the image recognition DSP of the control LSI 234 before an 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 circuit 242 causes the SRAM 243 to store the determination result of the marking determination process for the object. Further, the host controller 241 of the control LSI 234 obtains the determination result of the marking determination processing stored in the SRAM 243 in accordance with the marking determination end interrupt signal from the image recognition DSP circuit 242.

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

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

副制御回路101(のサブCPU102)は、制御LSI234のホストコントローラ241から出力されたメダル異常信号を検出すると、又は、主制御回路91から逆行エラーやメダル詰まりエラーに係るエラーコマンドを受信すると、第2メダルソレノイド708bをOFF状態に設定する制御信号を、第2メダルソレノイド708bに出力する。この場合、判定対象の物体を、上露出孔219から突出するアフタメダルプレッシャ218、又は、下露出孔220から突出するメダルストッパ部727bに押し出させ、キャンセルシュータ206に向けて排出させることができる。   The sub control circuit 101 (of 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 relating to a retrograde error or a medal jam 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 to the after medal pressure member 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 according to the latest count process is not "abnormal", and "threshold determination impossible" is not stored as the determination result of the threshold determination process, and "OK" 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 the medal abnormality signal. Therefore, 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 portion 204 c side, that is, guided to the hopper device 51.

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

本変形例では、パチスロ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 above-described medal insertion permission state, the main control circuit 91 sets the first medal solenoid 708a to the OFF state, and discharges the medal to the cancel shooter 206. In addition, 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 “the threshold value can not be determined” when the determination result of the count process is “error occurred”. Alternatively, when the result is "No" or when the result of the marking determination process is "No", the medal abnormality signal is output. Then, the sub control circuit 101 which has detected the medal abnormality signal sets the second medal solenoid 708 b to the OFF state, and discharges the medal to the cancel shooter 206. Therefore, the inserted medals can be properly counted. In addition, the inserted medal can be appropriately guided to the cancel shooter 206 or the hopper device 51.

<その他の変形例>
また、上記実施形態では、4つの色テンプレート及び本テンプレートを生成する態様を説明したが、これらテンプレートの数は、許容される判定所要時間や求める判定の精度に応じ適宜設定可能である。
<Other Modifications>
In the above embodiment, the four color templates and the aspect of generating the main template have been described. However, the number of these templates can be appropriately set in accordance with the required time required for determination and the accuracy of the determination to be obtained.

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

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

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

また、上記実施形態では、ホストコントローラ241が、縮小画像がSRAM243に記憶されると、画像認識DSP回路242に前処理の実行を指示する態様を説明した。しかし、これに代えて、ホストコントローラ241は、メダルカウント回路246がメダルレール210上を「メダルが通過した」と判定したことを契機に、該判定時から所定時間前の(すなわち、所定フレーム前の)縮小画像データを用いて、前処理を行うよう、画像認識DSP回路に指示してもよい。なお、この所定時間は、所定時間前の縮小画像に、必ずメダルの画像が含まれるように、実験やシミュレーションに基づいて予め設定される。この場合、メダル通過後に、通過したメダルについて、事後的に正規メダルか否かを判定することになる。   Further, in the above embodiment, the aspect has been described in which the host controller 241 instructs the image recognition DSP circuit 242 to execute preprocessing when the reduced image is stored in the SRAM 243. However, instead of this, the host controller 241 determines that the medal count circuit 246 has determined that "the medal has passed" on the medal rail 210, a predetermined time before the time of the determination (that is, a predetermined frame before Image processing DSP circuit may be instructed to perform preprocessing using the reduced image data). In addition, this predetermined time is preset based on experiment or simulation so that the image of the medal is always included in the reduced image before the predetermined time. In this case, after passing the medal, it is determined whether or not the medal passing through is a regular medal after the fact.

また、色判定処理における閾値判定処理を省略してもよい。また、カラー認識回路247は、ISP回路245から出力された色相と彩度に係るデータに基づいて以下のような色判定処理を行ってもよい。この色判定処理において、カラー認識回路247は、まず、画像データの中心付近の色相と彩度に係るデータの積算値をベクトルで表現し(ベクトル変換し)、3次元空間上でベクトルの角度を計算する。次に、カラー認識回路247は、計算したベクトルの角度と、所定の色閾値とを比較して、正規メダルの色と一致するか否かを判定する。所定の閾値は、正規メダルに係る画像データについて上述した処理と同様の方法で計算したベクトルの角度に基づいて予め定められている閾値(例えば、比較対象となる正規メダルに係る3次元空間上のベクトルの個々の座標(XYZ)上の角度の±10度以内)である。   Also, the threshold determination process in the color determination process may be omitted. Also, the color recognition circuit 247 may perform the following color judgment processing based on the data related to the hue and saturation output from the ISP circuit 245. In this color determination process, the color recognition circuit 247 first represents the integrated value of data relating to hue and saturation near the center of the image data as a vector (vector conversion), and the vector angle in three-dimensional space calculate. Next, the color recognition circuit 247 compares the calculated angle of the vector with a predetermined color threshold to determine whether or not the color of the regular medal matches. The predetermined threshold is a predetermined threshold based on the angle of the vector calculated by the same method as the above-described process for the image data related to the regular medal (for example, the three-dimensional space related to the regular medal to be compared) Within ± 10 degrees of the angle on the individual coordinates (XYZ) of the vector).

また、上記実施形態では、色テンプレートが生成されるタイミング(電源投入後メダルが50枚投入されたとき)と本テンプレートが生成されるタイミング(学習メダルカウンタの値が127又は259)が異なっている。このため、本テンプレートが生成されるまで、色判定処理を行わないようにしてもよい。または、本テンプレートの生成中に、色判定処理を行い、色判定処理の判定結果が「閾値判定不可」又は「否」に係るメダルに係るデータについて、本テンプレートの生成に用いないようにしてもよい。   In the above embodiment, the timing at which the color template is generated (when 50 medals are inserted after power on) and the timing at which the template is generated (the value of the learning medal counter is 127 or 259) are different. . Therefore, the color determination process may not be performed until the present template is generated. Alternatively, even if color determination processing is performed during generation of the template, and data relating to medals for which the determination result of the color determination processing is “threshold determination impossible” or “not” is not used for generation of the template Good.

また、本発明を、遊技媒体を用いる他の遊技機、例えばパチンコに採用してもよい。
また、変形例3乃至6では、メダルレール210上を移動する物体を検知する近接センサの一例としてダブルフォトセンサ502を用いる態様を説明したが、これに限らず、物体の接近や近傍の検出対象の有無を非接触で検出できる他の近接センサ(誘導形、静電容量形、超音波形、光電形、磁気形近接スイッチ)を用いてもよい。
Also, the present invention may be adopted to other gaming machines using gaming media, such as pachinko.
Further, in the third to sixth modifications, although the aspect using the double photo sensor 502 has been described as an example of the proximity sensor for detecting an object moving on the medal rail 210, the present invention is not limited thereto. Other proximity sensors (inductive type, capacitive type, ultrasonic type, photoelectric type, magnetic type proximity switch) that can detect the presence or absence of contactlessly may be used.

[本発明の一実施形態の応用例1]
次に、本発明の一実施形態の応用例1に係る遊技用装置1500について説明する。
遊技用装置1500は、ホールに設置されるメダル計数機であり、例えば、複数のパチスロ1が配列された島の端部に設けられている。また、遊技用装置1500は、上述の変形例において、制御LSI234が、メダルソレノイドをON状態又はOFF状態に設定することができるメダルセレクタ(例えば、変形例2,4,5のメダルセレクタ401,601,701)を備える。以下の説明では、変形例2のメダルセレクタ401を備える遊技用装置1500について説明する。
[Application 1 of one embodiment of the present invention]
Next, a game device 1500 according to the application example 1 of the embodiment of the present invention will be described.
The gaming device 1500 is a medal counter installed in a hall, and is provided, for example, at an end of an island where a plurality of pachislots 1 are arranged. Further, in the gaming apparatus 1500, in the above-described modified example, the medal selector in which the control LSI 234 can set the medal solenoid to the ON state or the OFF state (for example, the medal selectors 401 and 601 of the modified examples 2, 4 and 5) , 701). In the following description, the gaming apparatus 1500 provided with the medal selector 401 of the second modification will be described.

図54は、本発明の実施形態の応用例1に係る遊技用装置1500を上面から見た平面図である。図54に示すように、遊技用装置1500は、投入されたメダル(遊技媒体)を貯留する、すり鉢状の凹部が形成されたホッパ1543(遊技媒体貯留手段)を備えている。ホッパ1543の下部には、投入したメダルの一つ一つをメダル受穴1524に落とし込み、当該メダル受穴1524を偏芯回転させる受穴付回転盤1526を備えている。受穴付回転盤1526は、計数開始スイッチ1541を押下することによってその回転を開始する。受穴付回転盤1526のメダル受穴1524に入ったメダルは、受穴付回転盤1526の回転に伴って1ホッパ543の下部から排出され、ホッパ1543の下方に設けられたメダルセレクタ401により、正規のもののみ検出され、メダルセレクタ401からのメダルカウント信号に基づき計数機1549(遊技媒体計数手段)のメダル検出部1544及び計数機制御手段1542により検出、計数されて、貯留される。   FIG. 54 is a plan view of the gaming apparatus 1500 according to the application example 1 of the embodiment of the present invention as viewed from above. As shown in FIG. 54, the gaming apparatus 1500 is provided with a hopper 1543 (gaming medium storage means) in which a bowl-shaped concave portion is formed for storing inserted medals (gaming medium). At the lower part of the hopper 1543, there is provided a holed rotary disc 1526 for dropping each inserted medal into the medal receiving hole 1524 and eccentrically rotating the medal receiving hole 1524. The holed rotary disk 1526 starts its rotation by pressing the count start switch 1541. The medals in the medal receiving hole 1524 of the rotary disc 1526 with a receiving hole are discharged from the lower part of one hopper 543 with the rotation of the rotary disc 1526 with a receiving hole, and the medal selector 401 provided below the hopper 1543 Only legitimate ones are detected, detected and counted by the medal detecting portion 1544 and the counter control means 1542 of the counting machine 1549 (game medium counting means) based on the medal count signal from the medal selector 401, and stored.

遊技用装置1500の上面には、投入したメダルを計数した枚数を表示する投入枚数表示部1540aと、投入したメダルのうちレシート(記録媒体の一形態。)に印刷する枚数を設定する際に押下するレシート印刷枚数設定スイッチ1534rと、前記設定したレシート印刷枚数を表示するレシート印刷枚数表示部1540bと、投入したメダルのうち貯メダルカード(記録媒体の一形態。)に記録する貯メダル数を設定する際に押下するカード記録枚数設定スイッチ1534cと、前記設定したカード記録枚数を表示するカード記録枚数表示部1540cと、を備えている。   Pressed when setting the number of sheets to be printed on the receipt (one form of the recording medium) of the inserted medals on the upper surface of the gaming device 1500 and displaying the number of inserted medals and the number of inserted medals display portion 1540a Set the number of receipt print count setting switch 1534r, the number of receipt print count display unit 1540b for displaying the set number of print receipts, and the number of stored medals to be recorded on the stored medal card (one form of recording medium) of inserted medals. A card record count setting switch 1534c to be pressed when performing this operation, and a card record count display unit 1540c for displaying the set card record count.

また、遊技用装置1500の上面には、投入したメダルのうちレシートに印刷する枚数や、貯メダルカードに記録する貯メダル数を設定する0〜9までの数字スイッチ(入力手段1534の一形態。)と、入力した枚数を修正する際に押下して直前に入力した数値を消去するBSスイッチとが配されている。また遊技用装置1500の上面には、前記各メダルの枚数を設定した後に、レシートに印刷する処理、貯メダルカードに記録する処理の実行を指示するエントリースイッチ1534eが配置されている。   In addition, on the upper surface of the gaming device 1500, the number switches 0 to 9 for setting the number of medals to be printed on the receipt among the inserted medals and the number of medals to be recorded on the medal card (an embodiment of the input means 1534). And a BS switch that is pressed to correct the input number of sheets and that erases the numerical value input immediately before. Further, on the upper surface of the gaming device 1500, an entry switch 1534e is provided which instructs to execute processing of printing on a receipt and processing of recording on a stored medal card after setting the number of the medals.

また、遊技用装置1500は、磁気記録式又はICタグを内蔵した貯メダルカードに対して貯メダル数を読み書きしたり、遊技者を識別する固有の識別情報(カードID)を読み取るカードリーダライタ1537(記録媒体制御手段の一形態。)と、レシートの用紙にメダル枚数やバーコード、又はQRコード(登録商標)を印刷して出力するレシート印刷手段1539(記録媒体制御手段の一形態。)と、メダルセレクタ401により正規のメダルでないメダルとして検出されたメダルを貯留するメダル受皿1517と、を備えている。   In addition, the gaming device 1500 reads and writes the number of stored medals with respect to a stored medal card having a magnetic recording type or an IC tag, and a card reader / writer 1537 which reads unique identification information (card ID) for identifying a player. (One embodiment of recording medium control means) and receipt printing means 1539 (One embodiment of recording medium control means) for printing and outputting the number of medals, barcodes, or QR code (registered trademark) on the sheet of the receipt. And a medal receiver 1517 for storing medals detected as medals that are not regular medals by the medal selector 401.

このようなメダルセレクタを備える遊技用装置1500によれば、上記実施形態又は上記変形例と同様の作用効果を奏する。すなわち、正規の遊技媒体が用いられていると誤認させる不正行為を検知することができる。   According to the gaming device 1500 provided with such a medal selector, the same operational effects as those of the above-described embodiment or the above-described modification can be obtained. That is, it is possible to detect an illegal act that causes the game medium to be misidentified as being used.

[本発明の一実施形態の応用例2]
次に、本発明の一実施形態の応用例に係る遊技用装置1600について説明する。
遊技用装置1600は、ホールにおいて、各パチスロ1に併設され、隣接するパチスロ1に対応して設置されており、対応する当該パチスロ1との間で通信可能に接続されるメダル計数機である。また、遊技用装置1600は、上述の変形例において、制御LSI234が、メダルソレノイドをON状態又はOFF状態に設定することができるメダルセレクタ(例えば、変形例2,4,5のメダルセレクタ401,601,701)を備える。以下の説明では、変形例2のメダルセレクタ401を備える遊技用装置1600について説明する。
[Application 2 of one embodiment of the present invention]
Next, a gaming apparatus 1600 according to an application example of an embodiment of the present invention will be described.
The gaming apparatus 1600 is a medal counting machine which is juxtaposed to each pachi slot 1 and installed corresponding to the adjacent pachi slot 1 in the hall and is communicably connected to the corresponding pachi slot 1. Further, in the gaming apparatus 1600, in the above-described modified example, the medal selector in which the control LSI 234 can set the medal solenoid to the ON state or the OFF state (for example, the medal selectors 401 and 601 of the modified examples 2, 4 and 5) , 701). In the following description, the gaming apparatus 1600 including the medal selector 401 of the second modification will be described.

図55は、本発明の実施形態の応用例2に係る遊技用装置1600の内部構成を示す斜視図である。図55に示すように、遊技用装置1600の前面部1621には、LED(light emitting diode)部1631、カード挿入口1632、紙幣を投入可能な紙幣挿入口1633、タッチパネルLCD(liquid crystal display)により構成された操作ユニット1634、カメラ1635、非接触ICカードリーダライタ1636、メダル(遊技媒体)払出トレー1637、スピーカカバー1638、メダル(遊技媒体)計数用投入口1639等が設けられている。カード挿入口1632は、例えばホールのカード発行機(図示せず)によって発行された情報カードを受け付け可能な挿入口である。LED部1631は、フルカラーLED1631A、赤外LED(赤外線発光ダイオード)1631Bから構成されている。   FIG. 55 is a perspective view showing an internal configuration of the gaming device 1600 according to the application 2 of the embodiment of the present invention. As shown in FIG. 55, an LED (light emitting diode) portion 1631, a card insertion slot 1632, a bill insertion slot 1633 capable of inserting a bill, and a touch panel LCD (liquid crystal display) are provided on the front portion 1621 of the gaming apparatus 1600. An operation unit 1634, a camera 1635, a noncontact IC card reader / writer 1636, a medal (gaming medium) payout tray 1637, a speaker cover 1638, a medal (gaming medium) counting slot 1639, and the like are provided. The card insertion slot 1632 is, for example, an insertion slot capable of receiving an information card issued by a card issuing machine (not shown) in the hall. The LED unit 1631 is configured of a full color LED 1631A and an infrared LED (infrared light emitting diode) 1631B.

遊技者は、情報カード又は所定金額の紙幣を、カード挿入口1632又は紙幣挿入口1633に投入することで、遊技に必要な遊技媒体としてのメダルの貸し出しを受けることができる。また、遊技者は、非接触ICカードを、非接触ICカードリーダライタ1636にかざすことで、遊技に必要なメダルの貸し出しを受けることができる。   By inserting an information card or a bill of a predetermined amount into the card insertion slot 1632 or the bill insertion slot 1633, the player can receive the lending of medals as game media necessary for playing a game. Also, by holding the non-contact IC card over the non-contact IC card reader / writer 1636, the player can receive the medals necessary for the game.

遊技用装置1600は、情報カード、紙幣及びICカードといった価値媒体の投入を受けると、投入された価値媒体の金額に応じた数のメダルを、内部に設けられた払出用ホッパ(第1の計数部)1651によって計数してメダル払出トレー1637から払い出す。遊技者は、メダル払出トレー1637から払い出されたメダルをパチスロ1のメダル投入口21(図2参照)へ投入することにより、パチスロ1において遊技を行うことができる。   When receiving the insertion of the value medium such as the information card, the bill, and the IC card, the gaming device 1600 receives the number of medals corresponding to the amount of the inserted value medium, and the dispensing hopper provided therein (first counting Department) counting by 1651 and paying out from the medal payout tray 1637. The player can play a game in the pachislot 1 by inserting the medals paid out from the medal payout tray 1637 into the medal slot 21 (see FIG. 2) of the pachislot 1 (see FIG. 2).

また、パチスロ1においては、遊技の結果に応じて、メダルトレイユニット34にメダルを払い出すようになされている。遊技者は、このメダルをメダルトレイユニット34から掬い取って、遊技用装置1600のメダル計数用投入口1639へ投入することにより、このメダルを遊技用装置1600によって計数させることができる。遊技用装置1600は、メダル計数用投入口1639から投入されたメダルを、内部に設けられた計数用ホッパ(第2の計数部)によって計数する。   Further, in the pachislot 1, medals are paid out to the medal tray unit 34 according to the result of the game. The player can count this medal by the gaming device 1600 by picking up the medal from the medal tray unit 34 and inserting it into the medal counting insertion slot 1639 of the gaming device 1600. The gaming device 1600 counts the medals inserted from the medal counting slot 1639 using a counting hopper (second counting unit) provided therein.

計数された結果は、カード挿入口1632から挿入されたカードに記録され、又は、ホールコンピュータに設けられた記憶部に記憶される。   The counted results are recorded on the card inserted from the card insertion slot 1632 or stored in the storage unit provided in the hall computer.

計数用ホッパにおいて計数されたメダルは、遊技用装置1600の底面部に設けられた排出口から搬送コンベアに排出され、回収される。なお、搬送コンベアが設けられていない場所では、遊技用装置1600の下部にメダルを貯留するための貯留ボックスを設置し、この貯留ボックスへメダルを排出するようにしてもよい。   The medals counted in the counting hopper are discharged from the discharge port provided on the bottom of the gaming apparatus 1600 to the transport conveyor and collected. In a place where the transfer conveyor is not provided, a storage box for storing medals may be installed at the lower part of the gaming apparatus 1600, and the medals may be discharged to the storage box.

遊技用装置1600は、筐体1622の内部に、情報カード、紙幣、非接触ICカード等の価値媒体を識別する識別手段(情報カードリーダ、紙幣識別装置1661、ICカードリーダライタ等)と、電源ユニット1665とを収納する第1の収納空間AR11を有している。また、第1の収納空間AR11の下方には、払出用ホッパ1651と計数用ホッパ1671とを上下に併設して収納する第2の収納空間AR13を有している。第1の収納空間AR11には、上部に識別手段(情報カードリーダ、紙幣識別装置1661、ICカードリーダライタ等)が収納され、下部に電源ユニット1665が収納されている。すなわち、第1の収納空間AR11の下部は、電源ユニット1665を収納する電源ユニット収納空間AR12を形成している。   The gaming device 1600 includes an identification unit (an information card reader, a bill identification device 1661, an IC card reader / writer, etc.) for identifying value media such as an information card, a bill, a noncontact IC card, etc. A first storage space AR11 for storing the unit 1665 is provided. Further, below the first storage space AR11, there is provided a second storage space AR13 in which the dispensing hopper 1651 and the counting hopper 1671 are vertically arranged side by side. In the first storage space AR11, identification means (an information card reader, a bill identification device 1661, an IC card reader / writer, etc.) is stored at the top, and a power supply unit 1665 is stored at the bottom. That is, the lower part of the first storage space AR11 forms a power supply unit storage space AR12 for storing the power supply unit 1665.

第1の収納空間AR11の下方の第2の収納空間AR13に収納された払出用ホッパ1651は、その上部において筐体1622の背面部に設けられた補給用開口部1652を介して、ホールからの補給路によりメダルが補給されるようになっている。この補給用開口部1652と払出用ホッパ1651との間には、補給通路1653が設けられており、補給用開口部1652から補給されたメダルは、補給通路1653を介して払出用ホッパ1651に落下する。   The dispensing hopper 1651 stored in the second storage space AR13 below the first storage space AR11 is provided from the hole via the replenishment opening 1652 provided on the back of the housing 1622 at the upper part thereof. Medals are supplied by the supply route. A replenishment passage 1653 is provided between the replenishment opening 1652 and the dispensing hopper 1651, and the medals replenished from the replenishment opening 1652 fall into the dispensing hopper 1651 via the replenishment passage 1653. Do.

一方、筐体1622の前面部1621に設けられたメダル計数用投入口1639と計数用ホッパ1671との間には、導入通路1672が設けられたおり、メダル計数用投入口1639から投入されたメダルは、この導入通路1672を介して計数用ホッパ1671に落下する(矢印a)。計数用ホッパ1671には、不正なメダルを排除するメダルセレクタ401と、メダルを計数する計数手段と、が設けられている。メダル計数用投入口1639から投入されたメダルは、メダルセレクタ401により、正規のメダルのみ検出され、正規のメダルのみが計数手段により計数され、筐体1622の底面部に設けられた排出口1673から搬送コンベアに排出され(矢印b)、回収される。   On the other hand, an introduction passage 1672 is provided between the medal counting slot 1639 and the counting hopper 1671 provided in the front face portion 1621 of the housing 1622, and the medals inserted from the medal counting slot 1639. Drops into the counting hopper 1671 through the introduction passage 1672 (arrow a). The counting hopper 1671 is provided with a medal selector 401 for removing illegal medals and counting means for counting medals. Only the regular medals are detected by the medal selector 401 for the medals inserted from the medal counting slot 1639, and only the regular medals are counted by the counting means, and from the outlet 1673 provided on the bottom of the housing 1622 It is discharged to the conveyer (arrow b) and collected.

遊技用装置1600の前面部1621には、前面パネル1623が設けられており、この前面パネル1623には、スピーカカバー1638が設けられている。このスピーカカバー1638は、前面パネル1623(スピーカカバー1638)の裏面側に設けられたスピーカからの音を前方に透過させる複数の透過口を有している。   A front panel 1623 is provided on the front portion 1621 of the gaming apparatus 1600, and a speaker cover 1638 is provided on the front panel 1623. The speaker cover 1638 has a plurality of transmission ports for transmitting the sound from the speaker provided on the back side of the front panel 1623 (speaker cover 1638) to the front.

図56は、本発明の実施形態の応用例2に係る計数用ホッパ1671の断面図である。図56に示すように、計数用ホッパ1671のメダル通路1676の前面部にはメダルを受けるための開口部1675が設けられており、この開口部1675には、外部からメダルを投入するためのメダル計数用投入口1639(図55参照)が取り付けられる。これにより、メダル計数用投入口1639へ投入されたメダルは、開口部1675及びメダル通路1676を介して計数用ホッパ1671へ導かれる。計数用ホッパ1671へ導かれたメダルは、セレクタ401により、正規のもののみ検出され、メダルセレクタ401からのメダルカウント信号に基づき計数手段により計数され、計数用ホッパ1671の底面部に設けられた排出口1674から筐体1622の排出口1673(図55参照)を介して搬送コンベアに排出される。計数用ホッパ1671の排出口1674には、排出されるメダルをガイドするガイド部1674A、1674Bが設けられており、このガイド部1674A、1674Bによって、メダルの排出方向を斜め方向にすることができる。これにより、計数用ホッパ1671の排出口から排出されるメダル(すなわち筐体1622の排出口1673(図55)から排出されるメダル)の排出方向を、遊技用装置1600の下方近傍に配された搬送コンベアの方向にすることができる。   FIG. 56 is a cross-sectional view of a counting hopper 1671 according to Application 2 of the embodiment of the present invention. As shown in FIG. 56, an opening 1675 for receiving medals is provided on the front surface of the medal passage 1676 of the counting hopper 1671. In the opening 1675, medals for inserting medals from the outside are provided. A counting inlet 1639 (see FIG. 55) is attached. Thus, the medals inserted into the medal counting slot 1639 are guided to the counting hopper 1671 through the opening portion 1675 and the medal passage 1676. The medals introduced to the counting hopper 1671 are detected only by the selector 401 by the selector 401, counted by the counting means on the basis of the medal count signal from the medal selector 401, and provided on the bottom of the counting hopper 1671 From the outlet 1674, the sheet is discharged to the transfer conveyer through the discharge port 1673 (see FIG. 55) of the housing 1622. The discharge port 1674 of the counting hopper 1671 is provided with guide portions 1674A and 1674B for guiding the discharged medals, and the discharge direction of the medal can be made oblique by the guide portions 1674A and 1674B. Thus, the discharge direction of the medals discharged from the discharge port of counting hopper 1671 (that is, the medals discharged from discharge port 1673 (FIG. 55) of housing 1622) is disposed in the vicinity below the gaming apparatus 1600. It can be in the direction of the transport conveyor.

因みに、計数用ホッパ1671の開口部1675及びメダル計数用投入口1639(図55参照)の大きさは、遊技者の手が入り難い大きさとされている。メダル計数用投入口1639には、前面パネル1623(図55参照)に併設して、板状のメダルガイド部材1629(図55参照)が固定されている。これにより、遊技者の手がメダル計数用投入口1639から入り難くすることができる。   Incidentally, the sizes of the opening 1675 of the counting hopper 1671 and the medal counting slot 1639 (see FIG. 55) are set so that the hand of the player can not easily enter. A plate-like medal guide member 1629 (see FIG. 55) is fixed to the medal counting slot 1639 in parallel with the front panel 1623 (see FIG. 55). This makes it difficult for the player's hand to enter from the medal counting slot 1639.

また、開口部1675にはフォトセンサ(図示せず)が設けられており、遊技者の手が入った場合にこれを検出するようになっている。これにより、遊技者の手が誤って挿入された場合、又は、不正により手が挿入された場合等に、フォトセンサによって検出し、計数用ホッパ1671の動作を停止させることができる。なお、このフォトセンサの取り付け位置は、メダル計数用投入口1639(図55参照)及び開口部1675を介して投入されるメダルを誤検出しない位置に設けられている。例えば、開口部1675の上部の状態のみを検出するように設けることにより、開口部1675の下方を滑り込むメダルは検出せずに、開口部1675の上部まで入り込む遊技者の手だけを検出することができる。因みに、計数用ホッパ1671には、メダルの投入を検出するためのセンサ(図示せず)も設けられている。   Further, a photo sensor (not shown) is provided in the opening 1675 so as to detect a player's hand when it enters. As a result, when the player's hand is inserted erroneously, or when the hand is inserted illegitimately, etc., the operation of the counting hopper 1671 can be stopped by the detection by the photo sensor. Note that the attachment position of the photo sensor is provided at a position where the medal inserted via the medal counting slot 1639 (see FIG. 55) and the opening 1675 is not erroneously detected. For example, by detecting only the state of the upper part of the opening 1675, it is possible to detect only the player's hand entering the upper part of the opening 1675 without detecting the medal sliding in the lower part of the opening 1675. it can. Incidentally, the counting hopper 1671 is also provided with a sensor (not shown) for detecting insertion of a medal.

このようなメダルセレクタ401を備える遊技用装置1600によれば、上記実施形態又は変形例と同様の作用効果を奏する。すなわち、正規の遊技媒体が用いられていると誤認させる不正行為を検知することができる。   According to the gaming device 1600 including such a medal selector 401, the same operational effects as those of the embodiment or the modification can be obtained. That is, it is possible to detect an illegal act that causes the game medium to be misidentified as being used.

[本発明の一実施形態の応用例3]
次に、本発明の一実施形態の応用例3に係る遊技用装置1700について説明する。
遊技用装置1700は、上述の変形例において、制御LSI234が、メダルソレノイドをON状態又はOFF状態に設定することができるメダルセレクタ(例えば、変形例2,4,5のメダルセレクタ401,601,701)を備える。以下の説明では、変形例2のメダルセレクタ401を備える遊技用装置1700について説明する。また、遊技用装置1700は、スタンドアローンで遊技媒体の選別のみを行うものであってもよいし、遊技媒体の数を計数するための装置(所謂、ジェットカウンタ、各台計数機)に接続、内蔵されるものであってもよいし、遊技機に内蔵されるものであってもよい。
[Application 3 of one embodiment of the present invention]
Next, a gaming apparatus 1700 according to Application 3 of the embodiment of the present invention will be described.
In the gaming apparatus 1700, in the above-described modified example, the medal selector in which the control LSI 234 can set the medal solenoid to the ON state or the OFF state (for example, the medal selectors 401, 601, 701 of the modified examples 2, 4 and 5). ). In the following description, the gaming apparatus 1700 provided with the medal selector 401 of the second modification will be described. Also, the gaming apparatus 1700 may be a stand-alone device that only selects gaming media, or is connected to a device for counting the number of gaming media (a so-called jet counter, each machine counter). It may be built in or may be built in a game machine.

図57は、本発明の一実施形態の応用例3に係る遊技用装置1700の内部構造例を示す斜視図である。
図57に示すように、遊技用装置1700は、筐体M2と、筐体M2の上側に設けられ、選別対象となるメダルが収容される収容部M21と、筐体M2の内部に配置され、投入されたメダルを1つずつ送り出す送り出し部としてのホッパ装置M20と、メダルを選別するメダルセレクタ401と、ホッパ装置M20から送り出されたメダルを受け入れてメダルセレクタに案内する第1の案内部としてのガイド部材M40と、を有している。上述のように、本応用例3では、2つのメダルセレクタ401が設けられている。即ち、ホッパ装置M20から2つのガイド部材M40・M40を介して、夫々2つのメダルセレクタ401にメダルを供給するように構成されている。また、遊技用装置700は、筐体M2内部の下側後方に電源ユニットM10を有している。図示しないが、電源ユニットM10は、ホッパ装置M20やメダルセレクタ401に電源を供給するように電気的に接続されている。
FIG. 57 is a perspective view showing an internal structure example of the gaming device 1700 according to the application example 3 of the embodiment of the present invention.
As shown in FIG. 57, the gaming apparatus 1700 is provided in the housing M2 and the upper side of the housing M2, and is disposed inside the housing M21 in which the medals to be sorted are housed, and inside the housing M2, A hopper device M20 as a delivery unit for delivering the inserted medals one by one, a medal selector 401 for selecting medals, and a first guide portion for receiving the medals sent out from the hopper device M20 and guiding the medals to the medal selector And a guide member M40. As described above, in the application example 3, two medal selectors 401 are provided. That is, medals are supplied from the hopper device M20 to the two medal selectors 401 via the two guide members M40 and M40. Also, the gaming apparatus 700 has a power supply unit M10 at the lower rear of the inside of the housing M2. Although not shown, the power supply unit M10 is electrically connected to supply power to the hopper device M20 and the medal selector 401.

また、2つのメダルセレクタ401の下方には、2つのメダルセレクタ401により、正規のメダルであると検知されたメダルを排出口に導く第1排出通路M50が配置されている。また、2つのメダルセレクタ401の下方には、2つのメダルセレクタ401により、正規でないと判定されたメダルを通過させて下皿に案内する通路である第2排出通路M8・M8が夫々に配置されている。また、筐体M2内の底面には、第2排出通路M8・M8に対応する位置に、第2排出口M11・M11が形成されている。   Further, below the two medal selectors 401, a first discharge passage M50 for guiding the medals detected as regular medals by the two medal selectors 401 to the discharge port is disposed. Further, below the two medal selectors 401, second discharge passages M8 and M8, which are passages for passing the medals determined to be incorrect by the two medal selectors 401 and guiding them to the lower tray, are respectively arranged. ing. Further, second discharge ports M11 and M11 are formed on the bottom surface of the case M2 at positions corresponding to the second discharge passages M8 and M8.

このようなメダルセレクタ401を備える遊技用装置1700によれば、上記実施形態又は上記変形例と同様の作用効果を奏する。すなわち、正規の遊技媒体が用いられていると誤認させる不正行為を検知することができる。   According to the gaming apparatus 1700 provided with such a medal selector 401, the same operational effects as those of the above-described embodiment or the above-described modification can be obtained. That is, it is possible to detect an illegal act that causes the game medium to be misidentified as being used.

以上、本実施形態の変形例及び応用例1〜3について説明したが、本実施形態の各構成と変形例の各構成と応用例1〜3各構成とは、矛盾が無い限り、任意に組み合わせることができる。   As mentioned above, although the modification of this embodiment and the application examples 1 to 3 have been described, each configuration of the present embodiment and each configuration of the modification and the application examples 1 to 3 are arbitrarily combined with each other as long as there is no contradiction. be able to.

以上、本発明に係る遊技機の実施形態、各種変形例及び応用例について説明したが、本発明はこれに限定されず、上記実施形態及び各種変形例の構成を適宜組み合わせてもよい。   As mentioned above, although the embodiment of the gaming machine concerning the present invention, various modifications, and an application example were explained, the present invention is not limited to this, You may combine the composition of the above-mentioned embodiment and various modifications suitably.

<まとめ>
[差枚数報知機能]
遊技媒体検出手段が備える近接センサの検知結果に基づいて、遊技媒体のカウント処理を行う第1制御部と、遊技媒体検出手段が備える通過判定手段が通路を通過する物体を撮像した画像データに基づいて通路を物体が通過したと判定したとき、遊技媒体をカウントするカウント処理を行う第2制御部と、を備える遊技機において、第1制御部が行うカウント処理の信頼性の向上が望まれている。また、第2制御部が行う各種処理の信頼性の向上が望まれている。
<Summary>
[Difference sheet number notification function]
Based on the detection result of the proximity sensor included in the gaming medium detection unit, the first control unit performing counting processing of gaming media, and the image data obtained by imaging the object passing through the passage by the passage determination unit included in the gaming medium detection unit In the gaming machine provided with a second control unit that performs counting processing for counting gaming media when it is determined that an object has passed the passage, it is desired to improve the reliability of the counting processing performed by the first control unit. There is. Further, it is desired to improve the reliability of various processes performed by the second control unit.

本発明は、上記第1の課題を解決するためになされたものであり、本発明の第1の目的は、第1制御部及び第2制御部が行うカウント処理の信頼性の向上させることにある。   The present invention has been made to solve the above first problem, and a first object of the present invention is to improve the reliability of the counting process performed by the first control unit and the second control unit. is there.

上記第1の課題を解決するために、本発明では、以下のような構成の第1の遊技機を提供する。   In order to solve the first problem, the present invention provides a first gaming machine having the following configuration.

遊技媒体を投入する投入口(例えば、メダル投入口21)と、
前記投入口から投入された遊技媒体を検出する遊技媒体検出手段(例えば、メダルセレクタ501)と、
遊技に関する制御を実行する第1制御部(例えば、主制御回路91)と、
遊技の演出に関する制御を実行する第2制御部(例えば、副制御回路101)と、
遊技媒体を貯留する貯留手段(例えば、ホッパー装置51)と、を備える遊技機であって、
前記遊技媒体検出手段は、
遊技媒体が通過する通路を形成する通路形成部(例えば、メダルレール210)と、 前記通路を移動する物体を検知する近接センサ(例えば、ダブルフォトセンサ502)と、
前記通路を撮像する撮像手段(例えば、カメラユニット209)と、
前記撮像手段を介して得られる画像データに基づいて前記通路を物体が通過したか否かを判定する通過判定手段(例えば、制御LSI234)と、
前記通過判定手段が前記通路を物体が通過したと判定したとき、その旨を前記第2制御部へ通知する通過判定通知手段(例えば、制御LSI234)と、
前記画像データに基づいて、前記通路を通過した物体が正規の遊技媒体であるか否かを判定する遊技媒体判定手段(例えば、制御LSI234のカラー認識回路247及び画像認識DSP回路242)と、
前記通路を通過する物体を前記貯留手段に導くガイド位置と、前記物体を遊技機外に排出する排出位置との間を移動可能に設けられたガイド手段(例えば、セレクトプレート207)と、
前記ガイド手段を駆動させる駆動手段(例えば、メダルソレノイド208)と、を有し、
前記第1制御部は、
前記近接センサの検知結果に基づいて前記通路を移動する物体のカウントを行い、
遊技媒体の投入を許可する状態のときは、前記駆動手段を制御して、前記ガイド手段を前記ガイド位置に移動させ、
遊技媒体の投入を許可する状態でないときは、前記駆動手段を制御して、前記ガイド手段を前記排出位置に移動させ、
前記第2制御部は、前記通過判定通知手段からの通知に基づいて前記通路を通過した物体のカウントを行い、
前記第1制御部がカウントした値と前記第2制御部がカウントした値との差が所定の値以上のとき、エラーを報知する
ことを特徴とする遊技機。
An insertion slot (for example, a medal insertion slot 21) for inserting game media;
Gaming medium detection means (for example, medal selector 501) for detecting game media inserted from the insertion slot;
A first control unit (for example, the main control circuit 91) that executes control related to gaming;
A second control unit (for example, the sub control circuit 101) that executes control relating to a game effect;
A storage unit (for example, a hopper device 51) for storing gaming media, the gaming machine comprising:
The gaming medium detection means
A passage forming unit (for example, a medal rail 210) forming a passage through which game media pass; a proximity sensor (for example, a double photosensor 502) for detecting an object moving in the passage;
An imaging unit (for example, a camera unit 209) for imaging the passage;
Passage determining means (for example, control LSI 234) for determining whether or not an object has passed through the passage based on image data obtained through the imaging means;
Passing determination notifying means (for example, control LSI 234) for notifying the second control unit of the fact that the object has determined that the passage has passed through the passage;
Game medium determination means (for example, a color recognition circuit 247 and an image recognition DSP circuit 242 of the control LSI 234) for determining whether or not an object passing through the passage is a legitimate game medium based on the image data;
Guide means (for example, select plate 207) provided so as to be movable between a guide position for guiding an object passing through the passage to the storage means, and a discharge position for discharging the object to the outside of the gaming machine;
Drive means (eg, medal solenoid 208) for driving the guide means;
The first control unit is
Counting of an object moving in the passage based on the detection result of the proximity sensor;
When the game medium is allowed to be inserted, the drive means is controlled to move the guide means to the guide position,
When the game medium is not allowed to be inserted, the drive means is controlled to move the guide means to the discharge position,
The second control unit counts an object that has passed through the passage based on the notification from the passage determination notifying unit,
An error is notified when the difference between the value counted by the first control unit and the value counted by the second control unit is equal to or more than a predetermined value.

前記近接センサは、前記通路を通過する物体を検知すると検知結果を出力する第1のセンサ(例えば、第1フォトセンサ503)と第2のセンサ(例えば、第2フォトセンサ504)を有し、
前記第1制御部は、前記第1のセンサの検知結果の出力と前記第2のセンサの検知結果の出力の順序が所定の順序の場合に、前記通路を移動する物体のカウントを行ってもよい。
The proximity sensor has a first sensor (for example, a first photosensor 503) and a second sensor (for example, a second photosensor 504) that output a detection result when detecting an object passing through the passage.
The first control unit counts an object moving in the passage, when the order of the output of the detection result of the first sensor and the output of the detection result of the second sensor is a predetermined order. Good.

前記第1制御部がカウントした値を記憶する第1カウント記憶手段(例えば、メインRAM95)と、
前記第2制御部がカウントした値を記憶する第2カウント記憶手段(例えば、サブRAM103)と、を備え、
前記第1カウント記憶手段及び前記第2カウント記憶手段は、それぞれ2バイトの記憶領域により構成されていてもよい。
First count storage means (for example, main RAM 95) for storing the value counted by the first control unit;
A second count storage unit (for example, a sub RAM 103) for storing the value counted by the second control unit;
Each of the first count storage unit and the second count storage unit may be configured by a storage area of 2 bytes.

上記構成の本発明の第1の遊技機では、第1制御部がカウントした値と第2制御部がカウントした値との差が所定の値以上のとき、エラーを報知する。
ここで、第1制御部がカウントした値と第2制御部がカウントした値との差が所定の値以上となる場合としては、近接センサや通過判定手段に障害が発生したこと等が考えられる。
In the first gaming machine of the present invention of the above configuration, an error is notified when the difference between the value counted by the first control unit and the value counted by the second control unit is equal to or more than a predetermined value.
Here, as a case where the difference between the value counted by the first control unit and the value counted by the second control unit is equal to or more than a predetermined value, it is conceivable that a fault occurs in the proximity sensor or the passage judging means, etc. .

このため、エラーの報知があると、遊技機の管理者(例えば、遊技ホールの従業員)は、近接センサや通過判定手段の挙動をチェックすることで、これらに生じた障害を認識することができ、障害を除去できる。このため、障害がない状態で各種処理を行うことができるので、第1制御部が行うカウント処理の信頼性の向上させることができる。また、第2制御部が行う各種処理の信頼性の向上させることができる。   Therefore, upon notification of an error, the administrator of the gaming machine (e.g., an employee of the gaming hall) may recognize a failure that has occurred in these by checking the behavior of the proximity sensor or the passage determining means. Yes, you can eliminate obstacles. Therefore, since various processes can be performed without a failure, the reliability of the counting process performed by the first control unit can be improved. In addition, the reliability of various processes performed by the second control unit can be improved.

[セレクタ監視機能]
遊技媒体をガイドするガイド手段を駆動させる駆動手段の故障や、遊技媒体が通過する通路上に異物が存在するなどの不備を早期に把握し対応することが望まれている。
[Selector monitoring function]
It is desirable to quickly grasp and cope with deficiencies such as failure of drive means for driving guide means for guiding game media, and presence of foreign matter on a passage through which game media passes.

本発明は、上記第2の課題を解決するためになされたものであり、本発明の第2の目的は、遊技媒体をガイドするガイド手段を駆動させる駆動手段の故障や、遊技媒体が通過する通路上の異物の存在を報知可能な遊技機を提供することにある。   The present invention has been made to solve the above second problem, and the second object of the present invention is the failure of the drive means for driving the guide means for guiding the game media, and the passage of the game media. An object of the present invention is to provide a gaming machine capable of notifying of the presence of foreign matter on a passage.

上記第2の課題を解決するために、本発明では、以下のような構成の第2の遊技機を提供する。   In order to solve the second problem, the present invention provides a second gaming machine having the following configuration.

遊技媒体を投入する投入口(例えば、メダル投入口21)と、
前記投入口から投入された遊技媒体を検出する遊技媒体検出手段(例えば、メダルセレクタ501)と、
遊技に関する制御を実行する第1制御部(例えば、主制御回路91)と、
遊技の演出に関する制御を実行する第2制御部(例えば、副制御回路101)と、
遊技媒体を貯留する貯留手段(例えば、ホッパー装置51)と、を備える遊技機であって、
前記遊技媒体検出手段は、
遊技媒体が通過する通路を形成する通路形成部(例えば、メダルレール210)と、 前記通路を移動する物体を検知する近接センサ(例えば、ダブルフォトセンサ502)と、
前記通路を撮像する撮像手段(例えば、カメラユニット209)と、
前記撮像手段を介して得られる画像データに基づいて、前記通路を通過する物体が正規の遊技媒体であるか否かを判定する遊技媒体判定手段(例えば、制御LSI234のカラー認識回路247及び画像認識DSP回路242)と、
前記通路を通過する物体を前記貯留手段に導くガイド位置と、前記物体を遊技機外に排出する排出位置との間を移動可能に設けられたガイド手段(例えば、セレクトプレート207)と、
前記ガイド手段を駆動させる駆動手段(例えば、メダルソレノイド208)と、を有し、
前記第1制御部は、
前記近接センサの検知結果に基づいて遊技媒体のカウントを行い、
遊技媒体の投入を許可する状態のときは、前記駆動手段を制御して、前記ガイド手段を前記ガイド位置に移動させ、
遊技媒体の投入を許可する状態でないときは、前記駆動手段を制御して、前記ガイド手段を前記排出位置に移動させ、
前記駆動手段を、前記ガイド手段が前記ガイド位置に移動するように制御しているのか、前記排出位置に移動するように制御しているのかを示す制御内容情報を出力し、
前記遊技媒体検出手段は、
前記撮像手段を介して得られる画像データに基づいて、前記制御内容情報が前記ガイド手段が前記ガイド位置に移動するように制御している旨を示すときに、前記ガイド手段が前記ガイド位置にあるか否かを判定し、且つ、前記制御内容情報が前記ガイド手段が前記排出位置に移動するように制御している旨を示すときに、前記ガイド手段が前記排出位置にあるか否かを判定する位置判定手段と、
前記位置判定手段が前記ガイド手段が前記ガイド位置にないと判定するとき、又は、前記位置判定手段が前記ガイド手段が前記排出位置にないと判定するとき、前記第2制御部にエラーを通知するエラー通知手段と、を更に有し、
前記第2制御部は、前記エラー通知手段から通知されたエラーを報知する
ことを特徴とする遊技機。
An insertion slot (for example, a medal insertion slot 21) for inserting game media;
Gaming medium detection means (for example, medal selector 501) for detecting game media inserted from the insertion slot;
A first control unit (for example, the main control circuit 91) that executes control related to gaming;
A second control unit (for example, the sub control circuit 101) that executes control relating to a game effect;
A storage unit (for example, a hopper device 51) for storing gaming media, the gaming machine comprising:
The gaming medium detection means
A passage forming unit (for example, a medal rail 210) forming a passage through which game media pass; a proximity sensor (for example, a double photosensor 502) for detecting an object moving in the passage;
An imaging unit (for example, a camera unit 209) for imaging the passage;
Game medium determination means (for example, color recognition circuit 247 of control LSI 234 and image recognition for determining whether or not an object passing through the passage is a legitimate game medium based on image data obtained through the imaging means DSP circuit 242),
Guide means (for example, select plate 207) provided so as to be movable between a guide position for guiding an object passing through the passage to the storage means, and a discharge position for discharging the object to the outside of the gaming machine;
Drive means (eg, medal solenoid 208) for driving the guide means;
The first control unit is
The game media is counted based on the detection result of the proximity sensor,
When the game medium is allowed to be inserted, the drive means is controlled to move the guide means to the guide position,
When the game medium is not allowed to be inserted, the drive means is controlled to move the guide means to the discharge position,
Outputting control content information indicating whether the driving means is controlled to move the guide means to the guide position or to move to the discharge position;
The gaming medium detection means
The guide means is at the guide position when the control content information indicates that the guide means is controlled to move to the guide position, based on the image data obtained via the imaging means. It is determined whether or not the guide means is in the discharge position when the control content information indicates that the guide means is controlled to move to the discharge position. Position determination means,
When the position determination means determines that the guide means is not at the guide position, or when the position determination means determines that the guide means is not at the discharge position, an error is notified to the second control unit Further comprising error notification means;
A game machine characterized in that the second control unit reports an error notified from the error notification unit.

また、前記撮像手段を介して得られる画像データにおいて、前記通路の幅は、前記ガイド手段が前記ガイド位置にあるとき、前記ガイド手段が前記排出位置にあるときに比べて狭くなり、
前記位置判定手段は、前記撮像手段を介して得られる画像データにおける前記通路の幅(例えば、レール幅W1,W2)に基づいて、前記ガイド手段が前記ガイド位置にあるか否か、又は、前記ガイド手段が前記排出位置にあるか否か、を判定してもよい。
Further, in the image data obtained through the imaging means, the width of the passage becomes narrower when the guide means is at the guide position than when the guide means is at the discharge position.
The position determination means determines whether the guide means is at the guide position or not, based on the width (for example, rail widths W1 and W2) of the passage in the image data obtained through the imaging means. It may be determined whether or not the guide means is in the discharge position.

また、前記位置判定手段は、前記撮像手段を介して得られるカラー画像データをグレースケールデータに変換した画像データに基づいて、前記ガイド手段が前記ガイド位置にあるか否か、又は、前記ガイド手段が前記排出位置にあるか否か、を判定してもよい。   Further, the position determination means may determine whether the guide means is at the guide position or not based on image data obtained by converting color image data obtained through the imaging means into gray scale data, or the guide means It may be determined whether or not the discharge position is at the discharge position.

上記構成の本発明の第2の遊技機では、第1制御部が駆動手段を、ガイド手段がガイド位置に移動するように制御しているにも関わらず、ガイド手段がガイド位置にないときにエラーが報知される。また、第1制御部が駆動手段を、ガイド手段が排出位置に移動するように制御しているにも関わらず、ガイド手段が排出位置にないときにエラーが報知される。すなわち、第1制御部からの指示に応じてガイド手段が移動していない場合に、エラーを報知することができる。   In the second gaming machine of the present invention of the above configuration, when the first control unit controls the drive unit to move the guide unit to the guide position, the guide unit is not at the guide position. An error is reported. In addition, although the first control unit controls the drive unit to move the guide unit to the discharge position, an error is notified when the guide unit is not at the discharge position. That is, when the guide means is not moved according to the instruction from the first control unit, an error can be notified.

第1制御部からの指示に応じてガイド手段が移動していない場合としては、例えば駆動手段が故障している場合が考えられる。また、例えば遊技媒体が通過する通路上に異物が存在し、ガイド手段がガイド位置に移動することを妨げている場合が考えられる。本変形例では、遊技機の管理者(例えば、遊技ホールの従業員)は、エラーの報知によって、駆動手段の故障や遊技媒体が通過する通路上の異物の存在を把握できるので、これらの不備に早期に対応することができる。   As a case where the guide means is not moved according to an instruction from the first control unit, for example, a case where the drive means is broken can be considered. Further, for example, there may be a case where foreign matter is present on the passage through which the game medium passes and the guide means is prevented from moving to the guide position. In this modification, the manager of the game machine (for example, an employee of the game hall) can recognize the failure of the drive means and the existence of the foreign matter on the passage through which the game medium passes by notifying the error. You can respond early to

[エラーマスク機能]
遊技媒体検出手段にエラーが起きていないのに無駄にエラーの報知が発生してしまうことを防止することが望まれている。
[Error mask function]
It is desirable to prevent generation of an error notification in vain even when an error has not occurred in the game medium detection means.

本発明は、上記第3の課題を解決するためになされたものであり、本発明の第3の目的は、遊技媒体検出手段にエラーが起きていないのに無駄にエラーの報知が発生してしまうことを防止することが可能な遊技機を提供することにある。   The present invention has been made to solve the above-mentioned third problem, and the third object of the present invention is that the error of the game medium detection means has not occurred but a notification of the error is generated in vain. An object of the present invention is to provide a gaming machine capable of preventing the end of the game.

上記第3の課題を解決するために、本発明では、以下のような構成の第3の遊技機を提供する。   In order to solve the third problem, the present invention provides a third gaming machine having the following configuration.

遊技媒体を投入する投入口(例えば、メダル投入口21)と、
前記投入口から投入された遊技媒体を検出する遊技媒体検出手段(例えば、メダルセレクタ501)と、
遊技に関する制御を実行する第1制御部(例えば、主制御回路91)と、
遊技の演出に関する制御を実行する第2制御部(例えば、副制御回路101)と、
遊技媒体を貯留する貯留手段(例えば、ホッパー装置51)と、を備える遊技機であって、
前記遊技媒体検出手段は、
遊技媒体が通過する通路を形成する通路形成部(例えば、メダルレール210)と、 前記通路を移動する物体を検知する近接センサ(例えば、ダブルフォトセンサ502)と、
前記通路を撮像する撮像手段(例えば、カメラユニット209)と、
前記撮像手段を介して得られる画像データに基づいて、前記通路を通過する物体が正規の遊技媒体であるか否かを判定する遊技媒体判定手段(例えば、制御LSI234のカラー認識回路247及び画像認識DSP回路242)と、
所定の条件が成立したときにエラーを前記第2制御部に通知するエラー通知手段(例えば、GPIO250)と、
前記通路を通過する物体を前記貯留手段に導くガイド位置と、前記物体を遊技機外に排出する排出位置と、に移動可能に設けられたガイド手段(例えば、セレクトプレート207)と、
前記ガイド手段を駆動させる駆動手段(例えば、メダルソレノイド208)と、を有し、
前記第1制御部は、
前記近接センサの検知結果に基づいて遊技媒体のカウントを行い、
遊技媒体の投入を許可する状態のときは、前記駆動手段を制御して、前記ガイド手段を前記ガイド位置に移動させ、
遊技媒体の投入を許可する状態でないときは、前記駆動手段を制御して、前記ガイド手段を前記排出位置に移動させ、
前記エラー通知手段は、前記遊技機の電源投入から前記遊技媒体検出手段が起動するまでの間は、前記所定の条件の成否に関わらずエラーを前記第2制御部に通知し、
前記第2制御部は、
前記遊技機の電源投入から前記遊技媒体検出手段が起動するまでの間に、前記エラー通知手段から通知されたエラーについては報知せず、
前記遊技媒体検出手段が起動後に、前記エラー通知手段から通知されたエラーについては報知する
ことを特徴とする遊技機。
An insertion slot (for example, a medal insertion slot 21) for inserting game media;
Gaming medium detection means (for example, medal selector 501) for detecting game media inserted from the insertion slot;
A first control unit (for example, the main control circuit 91) that executes control related to gaming;
A second control unit (for example, the sub control circuit 101) that executes control relating to a game effect;
A storage unit (for example, a hopper device 51) for storing gaming media, the gaming machine comprising:
The gaming medium detection means
A passage forming unit (for example, a medal rail 210) forming a passage through which game media pass; a proximity sensor (for example, a double photosensor 502) for detecting an object moving in the passage;
An imaging unit (for example, a camera unit 209) for imaging the passage;
Game medium determination means (for example, color recognition circuit 247 of control LSI 234 and image recognition for determining whether or not an object passing through the passage is a legitimate game medium based on image data obtained through the imaging means DSP circuit 242),
Error notification means (for example, GPIO 250) for notifying the second control unit of an error when a predetermined condition is satisfied;
Guide means (for example, select plate 207) 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 to the outside of the gaming machine;
Drive means (eg, medal solenoid 208) for driving the guide means;
The first control unit is
The game media is counted based on the detection result of the proximity sensor,
When the game medium is allowed to be inserted, the drive means is controlled to move the guide means to the guide position,
When the game medium is not allowed to be inserted, the drive means is controlled to move the guide means to the discharge position,
The error notification means notifies the second control unit of an error regardless of the success or failure of the predetermined condition from the time the power of the gaming machine is turned on to the time the game medium detection means is activated.
The second control unit is
Between the power on of the gaming machine and the activation of the gaming medium detection means, the error notified from the error notifying means is not notified,
A game machine characterized by notifying an error notified from the error notification means after the game medium detection means is activated.

また、前記第1制御部の起動には、電源投入から第1の起動時間(例えば、20秒)を要し、
前記第2制御部の起動には、電源投入から前記第1の起動時間よりも短い第2の起動時間(例えば、5秒)を要し、
前記遊技媒体検出手段の起動には、電源投入から前記第2の起動時間より長く、且つ、前記第1の起動時間より短い第3の起動時間(例えば、18秒)を要してもよい。
In addition, starting of the first control unit requires a first start-up time (for example, 20 seconds) after the power is turned on.
Starting of the second control unit requires a second start time (for example, 5 seconds) shorter than the first start time after the power is turned on.
The activation of the game medium detection means may require a third activation time (e.g., 18 seconds) longer than the second activation time and shorter than the first activation time after the power is turned on.

前記第2制御部が前記エラー通知手段から通知されたエラーについて報知しない期間は、前記第2の起動時間が経過した後から前記第3の起動時間が経過するまでの間であってもよい。   The period in which the second control unit does not notify about the error notified from the error notification unit may be from the elapse of the second activation time to the elapse of the third activation time.

上記構成の本発明の第3の遊技機では、第2制御部は、遊技機の電源投入から遊技媒体検出手段が起動するまでの間に、エラー通知手段から通知されたエラーについては報知しない。すなわち、第2制御部は、遊技機の電源投入から遊技媒体検出手段が起動するまでの間のエラーをマスクする。これによって、実際はエラーが起きていないのに無駄にエラーの報知が発生してしまうことを防止することができる。   In the third gaming machine of the present invention of the above configuration, the second control unit does not notify of an error notified from the error notifying unit during the period from the power-on of the gaming machine to the activation of the gaming medium detection unit. That is, the second control unit masks an error between the power on of the gaming machine and the activation of the gaming medium detection means. In this way, it is possible to prevent unnecessary notification of an error from occurring even though no error has actually occurred.

[テンプレート生成処理]
遊技媒体検出手段が、通路を通過する物体を撮像した画像データと、テンプレートデータとが一致するか又は所定程度類似するか否かに基づいて、通路を通過した物体が正規の遊技媒体であるか否かを判定する場合で、テンプレートデータを生成するテンプレート生成手段を備えている場合、大多数の正規メダルの中に混入していた不正メダルに基づいてテンプレートデータが生成されてしまうことを抑制することが望まれている。
[Template generation process]
Whether the object passed through the passage is a legitimate game medium based on whether the image data obtained by imaging the object passing through the passage and the template data match or are similar to a predetermined degree. In the case of determining whether or not the template data generation means is provided to generate template data, it is possible to suppress generation of template data based on an illegal medal mixed in a large number of regular medals. Is desired.

本発明は、上記第4の課題を解決するためになされたものであり、本発明の第4の目的は、大多数の正規メダルの中に混入していた不正メダルに基づいてテンプレートが生成されてしまうことを抑制することが可能な遊技機を提供することにある。   The present invention has been made to solve the fourth problem, and a fourth object of the present invention is to generate a template based on an incorrect medal mixed in a large number of regular medals. An object of the present invention is to provide a gaming machine capable of suppressing the

上記第4の課題を解決するために、本発明では、以下のような構成の第4の遊技機を提供する。   In order to solve the fourth problem, the present invention provides a fourth gaming machine having the following configuration.

遊技媒体を投入する投入口(例えば、メダル投入口21)と、
前記投入口から投入された遊技媒体を検出する遊技媒体検出手段(例えば、メダルセレクタ201)と、を備える遊技機であって、
前記遊技媒体検出手段は、
遊技媒体が通過する通路を形成する通路形成部(例えば、メダルレール210)と、 前記通路を撮像する撮像手段(例えば、カメラユニット209)と、
前記撮像手段が撮像した画像データに基づいて、前記通路を通過した物体が正規の遊技媒体であるか否かを判定する判定処理を行う遊技媒体判定手段(例えば、制御LSI234のカラー認識回路247及び画像認識DSP回路242)と、
判定処理に用いられるテンプレートデータを生成するテンプレート生成手段(例えば、制御LSI234のカラー認識回路247及び、画像認識アクセラレータ回路249)と、を有し、
前記遊技媒体判定手段は、前記画像データと、前記テンプレートデータとが一致するか又は所定程度類似するか否かに基づいて、前記通路を通過した物体が正規の遊技媒体であるか否かを判定し、
前記テンプレート生成手段は、複数の前記画像データを、同一又は所定程度類似する前記画像データのグループにグループ化し、同一の前記グループに属する前記画像データの数が多い順の上位所定順位内の前記グループの内で、属する前記画像データの数が所定数以上の前記グループそれぞれについて、各前記グループに属する前記画像データに基づいて前記テンプレートデータを生成する
ことを特徴とする遊技機。
An insertion slot (for example, a medal insertion slot 21) for inserting game media;
A gaming medium detection unit (for example, a medal selector 201) for detecting gaming media inserted from the insertion slot;
The gaming medium detection means
A passage forming unit (for example, a medal rail 210) for forming a passage through which game media pass; an imaging unit (for example, a camera unit 209) for imaging the passage;
A game medium determination unit (for example, a color recognition circuit 247 of the control LSI 234 and the like) which performs a determination process of determining whether an object passing through the passage is a legitimate game medium based on image data taken by the imaging means. Image recognition DSP circuit 242),
Template generation means (for example, a color recognition circuit 247 of the control LSI 234 and an image recognition accelerator circuit 249) for generating template data used in the determination process;
The game medium determination means determines whether or not an object passing through the passage is a legitimate game medium based on whether the image data and the template data match or are similar to a predetermined degree. And
The template generation unit groups a plurality of the image data into a group of the image data that is the same or similar to a certain degree, and the group within a predetermined top priority order in descending order of the number of the image data belonging to the same group The gaming machine, wherein the template data is generated on the basis of the image data belonging to each of the groups, for each of the groups having a predetermined number or more of the image data belonging thereto.

また、前記投入口から投入された遊技媒体の数が特定の数(例えば、259)を超える前に、前記テンプレート生成手段によって前記画像データの数が前記所定数以上の前記グループを生成できない場合には、テンプレート異常を通知するテンプレート異常通知手段(例えば、制御LSI234)を備えてもよい。   Further, before the number of the image data can not generate the predetermined number or more of the groups by the template generation unit before the number of game media inserted from the insertion port exceeds a specific number (for example, 259). May include template abnormality notification means (for example, control LSI 234) for notifying a template abnormality.

また、前記テンプレート生成手段は、
前記投入口から投入された前記遊技媒体が第1の規定数(例えば、127)のときに、前記画像データの数が前記所定数以上の前記グループの数が第1のグループ数(例えば、1又は2)の場合、又は、前記投入口から投入された前記遊技媒体が第2の規定数(例えば、259)のときに、前記画像データの数が前記所定数以上の前記グループの数が第2のグループ数(例えば、1〜4)の場合、前記テンプレートデータを生成してもよい。
Further, the template generation unit
When the number of gaming media inserted from the insertion slot is a first prescribed number (for example, 127), the number of the groups of image data is greater than or equal to the predetermined number is a first number of groups (for example, 1) In the case of 2), or when the number of game media inserted from the insertion slot is a second prescribed number (for example, 259), the number of the image data is greater than or equal to the predetermined number. In the case of two groups (for example, 1 to 4), the template data may be generated.

上記構成の本発明の第4の遊技機では、属するデータの数が所定数に満たないグループに基づいてテンプレートデータを生成することがない。このため、大多数の正規メダルの中に混入していた不正メダルに基づいてテンプレートデータが生成されてしまうことを抑制することができる。   In the fourth gaming machine of the present invention having the above configuration, template data is not generated based on a group in which the number of belonging data does not reach a predetermined number. For this reason, it is possible to suppress that the template data is generated based on the illegal medals mixed in the majority of regular medals.

[FFT刻印判定]
従来、メダル通路に2個のメダル検知用の近接センサを設け、各近接センサの出力に基づいてメダル通路を遊技用のメダルが通過したかどうかを判断することで、板状体のような器具が用いられた不正行為を検知するスロットマシンが知られている(例えば、特開2002−342814号公報参照)。また、CCDカメラを用いて、投入された不適正メダル(不正メダル)の判定を行うスロットマシンが知られている(例えば、特開2006−271462号公報参照)。
本発明の第5の目的は、正規の遊技媒体が用いられていると誤認させる不正行為の検知の精度を高めることにある。
[FFT imprint judgment]
Conventionally, a proximity sensor for detecting two medals is provided in the medal passage, and it is determined whether or not a medal for game has passed through the medal passage based on the output of each proximity sensor, thereby a device such as a plate-like body There is known a slot machine for detecting a fraudulent act in which the player is used (see, for example, JP-A-2002-342814). There is also known a slot machine that uses a CCD camera to determine an inserted improper medal (illegal medal) (see, for example, Japanese Patent Laid-Open No. 2006-271462).
A fifth object of the present invention is to improve the accuracy of detection of fraud which causes a game medium to be misidentified as being used.

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

遊技媒体を投入する投入口(例えば、後述のメダル投入口21)と、
前記投入口から投入された遊技媒体を検出する遊技媒体検出手段(例えば、後述のメダルセレクタ201)と、を備え、
前記遊技媒体検出手段は、
遊技媒体が通過する通路を形成する通路形成部(例えば、後述のメダルレール210)と、
前記通路を撮像する撮像手段(例えば、後述のカメラユニット209)と、
前記撮像手段を介して得られる画像データに基づいて、前記通路を通過する物体が正規の遊技媒体であるか否かを判定する遊技媒体判定手段(例えば、後述の制御LSI234)と、を有し、
前記遊技媒体判定手段は、
前記画像データを、直交座標画像データであり、且つ、グレースケール画像である第1画像データに変換する第1画像変換手段(例えば、後述の色変換処理を行うISP回路245)と、
前記第1画像データを極座標画像データである第2画像データに変換する第2画像変換手段(例えば、後述の極座標変換処理を行う画像認識アクセラレータ回路249)と、
前記第2画像データを所定の角度単位でフーリエ変換し第3画像データに変換する第3画像変換手段(例えば、後述のFFT変換処理を行う画像認識アクセラレータ回路249)と、
予め生成されたテンプレートデータと前記第3画像データとを比較し、比較結果を導出する比較結果導出手段(例えば、後述のFFTテンプレート比較処理を行う画像認識DSP回路242)と、を有し、
前記比較結果に基づいて、前記通路を通過する物体が正規の遊技媒体であるか否かを判定する
ことを特徴とする遊技機。
An insertion slot (for example, a medal insertion slot 21 described later) for inserting game media;
A game medium detection unit (for example, a medal selector 201 described later) for detecting a game medium inserted from the insertion port;
The gaming medium detection means
A passage forming unit (for example, a medal rail 210 described later) which forms a passage through which game media pass;
An imaging unit (for example, a camera unit 209 described later) for imaging the passage;
Game medium determination means (for example, control LSI 234 described later) that determines whether or not an object passing through the passage is a legitimate game medium based on image data obtained through the imaging means ,
The gaming medium determination means
First image conversion means (e.g., an ISP circuit 245 which performs color conversion processing described later) which converts the image data into first image data which is rectangular coordinate image data and is a grayscale image;
A second image conversion unit (for example, an image recognition accelerator circuit 249 that performs polar coordinate conversion processing described later) that converts the first image data into second image data that is polar coordinate image data;
Third image conversion means (for example, an image recognition accelerator circuit 249 that performs FFT conversion processing described later) that Fourier-transforms the second image data in predetermined angle units and converts it into third image data;
A comparison result deriving unit (for example, an image recognition DSP circuit 242 that performs FFT template comparison processing described later) that compares the template data generated in advance with the third image data and derives a comparison result;
It is determined whether or not an object passing through the passage is a legitimate game medium based on the comparison result.

遊技媒体を検出する遊技媒体検出手段を備え、
前記遊技媒体検出手段は、
遊技媒体が通過する通路を形成する通路形成部と、
前記通路を撮像する撮像手段と、
前記撮像手段を介して得られる画像データに基づいて、前記通路を通過する物体が正規の遊技媒体であるか否かを判定する遊技媒体判定手段と、を有し、
前記遊技媒体判定手段は、
前記画像データを、直交座標画像データであり、且つ、グレースケール画像である第1画像データに変換する第1画像変換手段と、
前記第1画像データを極座標画像データである第2画像データに変換する第2画像変換手段と、
前記第2画像データを所定の角度単位でフーリエ変換し第3画像データに変換する第3画像変換手段と、
予め生成されたテンプレートデータと前記第3画像データとを比較し、比較結果を導出する比較結果導出手段と、を有し、
前記比較結果に基づいて、前記通路を通過する物体が正規の遊技媒体であるか否かを判定する
ことを特徴とする遊技用装置。
A game medium detection unit for detecting game media;
The gaming medium detection means
A passage forming unit that forms a passage through which game media pass;
Imaging means for imaging the passage;
Game medium determination means for determining whether or not an object passing through the passage is a legitimate game medium based on image data obtained through the imaging means;
The gaming medium determination means
First image conversion means for converting the image data into first image data which is rectangular coordinate image data and is a gray scale image;
Second image conversion means for converting the first image data into second image data which is polar coordinate image data;
Third image conversion means for performing Fourier transform on the second image data in predetermined angle units to convert it into third image data;
Comparison result deriving means for comparing a template data generated in advance with the third image data and deriving a comparison result;
It is determined whether or not an object passing through the passage is a legitimate game medium based on the comparison result.

上記構成の本発明の第5の遊技機又は遊技用装置では、画像全体の比較だけでなく、角度単位での個別の比較が容易にできるので、正規の遊技媒体が用いられていると誤認させる不正行為の検知の精度が高まる。   In the fifth gaming machine or gaming device of the present invention configured as described above, not only comparison of whole images but also individual comparison in angle units can be easily made, so it is misidentified as legitimate gaming media being used. The accuracy of fraud detection is increased.

[3次元判定]
また、上記第5の目的を達成するために、本発明は、以下のような構成の第6の遊技機又は遊技用装置を提供する。
[3D judgment]
In addition, to achieve the fifth object, the present invention provides a sixth gaming machine or gaming device having the following configuration.

遊技媒体を投入する投入口(例えば、後述のメダル投入口21)と、
前記投入口から投入された遊技媒体を検出する遊技媒体検出手段(例えば、後述のメダルセレクタ201)と、を備え、
前記遊技媒体検出手段は、
遊技媒体が通過する通路を形成する通路形成部(例えば、後述のメダルレール210)と、
前記通路を撮像する撮像手段(例えば、後述のカメラユニット209)と、
前記撮像手段を介して得られる画像データに基づいて、前記通路を通過する物体が正規の遊技媒体であるか否かを判定する遊技媒体判定手段(例えば、後述の制御LSI234)と、を有し、
前記遊技媒体判定手段は、
前記画像データを、それぞれ異なる第1画像データ(例えば、後述の勾配平均画像データ)、第2画像データ(例えば、後述のHOGデータ)及び第3画像データ(例えば、後述のFFTデータ)に変換する画像変換手段(例えば、後述の画像認識アクセラレータ回路249)と、
予め生成された第1テンプレートデータと前記第1画像データとを比較し、第1比較結果を導出する第1比較結果導出手段(例えば、後述の勾配平均画像テンプレート比較処理を行う画像認識DSP回路242)と、
予め生成された第2テンプレートデータと前記第2画像データとを比較し、第2比較結果を導出する第2比較結果導出手段(例えば、後述のHOGテンプレート比較処理を行う画像認識DSP回路242)と、
予め生成された第3テンプレートデータと前記第3画像データとを比較し、第3比較結果を導出する第3比較結果導出手段(例えば、後述のFFTテンプレート比較処理を行う画像認識DSP回路242)と、を有し、
前記第1比較結果、前記第2比較結果及び前記第3比較結果と、予め設定した判定閾値と、に基づいて、前記通路を通過する物体が正規の遊技媒体であるか否かを判定する
ことを特徴とする遊技機。
An insertion slot (for example, a medal insertion slot 21 described later) for inserting game media;
A game medium detection unit (for example, a medal selector 201 described later) for detecting a game medium inserted from the insertion port;
The gaming medium detection means
A passage forming unit (for example, a medal rail 210 described later) which forms a passage through which game media pass;
An imaging unit (for example, a camera unit 209 described later) for imaging the passage;
Game medium determination means (for example, control LSI 234 described later) that determines whether or not an object passing through the passage is a legitimate game medium based on image data obtained through the imaging means ,
The gaming medium determination means
The image data is converted into different first image data (e.g. gradient average image data described later), second image data (e.g. HOG data described later) and third image data (e.g. FFT data described later) Image conversion means (for example, an image recognition accelerator circuit 249 described later);
First comparison result deriving means for comparing the first image data with the first template data generated in advance and deriving the first comparison result (for example, the image recognition DSP circuit 242 which performs gradient average image template comparison processing described later) )When,
Second comparison result deriving means (for example, an image recognition DSP circuit 242 performing HOG template comparison processing described later) for comparing the second image data with the second template data generated in advance and deriving a second comparison result ,
Third comparison result deriving means (for example, an image recognition DSP circuit 242 for performing FFT template comparison processing described later) for comparing the third image data with the third template data generated in advance and deriving the third comparison result And have
It is determined based on the first comparison result, the second comparison result and the third comparison result, and a preset determination threshold whether or not an object passing through the passage is a legitimate game medium. A game machine characterized by

遊技媒体を検出する遊技媒体検出手段を備え、
前記遊技媒体検出手段は、
遊技媒体が通過する通路を形成する通路形成部と、
前記通路を撮像する撮像手段と、
前記撮像手段を介して得られる画像データに基づいて、前記通路を通過する物体が正規の遊技媒体であるか否かを判定する遊技媒体判定手段と、を有し、
前記遊技媒体判定手段は、
前記画像データを、それぞれ異なる第1画像データ、第2画像データ及び第3画像データに変換する画像変換手段と、
予め生成された第1テンプレートデータと前記第1画像データとを比較し、第1比較結果を導出する第1比較結果導出手段と、
予め生成された第2テンプレートデータと前記第2画像データとを比較し、第2比較結果を導出する第2比較結果導出手段と、
予め生成された第3テンプレートデータと前記第3画像データとを比較し、第3比較結果を導出する第3比較結果導出手段と、を有し、
前記第1比較結果、前記第2比較結果及び前記第3比較結果と、予め設定した判定閾値と、に基づいて、前記通路を通過する物体が正規の遊技媒体であるか否かを判定する
ことを特徴とする遊技用装置。
A game medium detection unit for detecting game media;
The gaming medium detection means
A passage forming unit that forms a passage through which game media pass;
Imaging means for imaging the passage;
Game medium determination means for determining whether or not an object passing through the passage is a legitimate game medium based on image data obtained through the imaging means;
The gaming medium determination means
Image conversion means for converting the image data into different first image data, second image data and third image data;
First comparison result deriving means for comparing a first template data generated in advance with the first image data and deriving a first comparison result;
Second comparison result deriving means for comparing a second template data generated in advance with the second image data and deriving a second comparison result;
Third comparison result deriving means for comparing a third template data generated in advance with the third image data, and deriving a third comparison result;
It is determined based on the first comparison result, the second comparison result and the third comparison result, and a preset determination threshold whether or not an object passing through the passage is a legitimate game medium. A gaming apparatus characterized by

また、前記第1画像データは、前記画像データを回転させて累積した勾配平均画像データであり、前記第2画像データは、前記画像データをHOG(Histograms of Oriented Gradients)変換したHOGデータであり、前記第3画像データは、前記画像データをフーリエ変換したフーリエ変換データあってもよい。   The first image data is gradient average image data obtained by rotating and accumulating the image data, and the second image data is HOG data obtained by HOG (Histograms of Oriented Gradients) conversion of the image data, The third image data may be Fourier transform data obtained by Fourier transforming the image data.

上記構成の本発明の第6の遊技機又は遊技用装置によれば、1つの判定対象に対し、異なる3種類のテンプレート比較処理の結果に基づいて刻印の判定を行うことができる。このため、判定の精度が向上し、正規の遊技媒体が用いられていると誤認させる不正行為の検知の精度が高まる。   According to the sixth gaming machine or gaming device of the present invention having the above-described configuration, it is possible to perform marking determination on one determination target based on the results of three different types of template comparison processing. For this reason, the accuracy of the determination is improved, and the accuracy of the detection of the cheating that misrepresents that a regular game medium is used is enhanced.

[係数更新処理]
また、上記第5の目的を達成するために、本発明は、以下のような構成の第7の遊技機又は遊技用装置を提供する。
[Coefficient update processing]
Further, to achieve the fifth object, the present invention provides a seventh gaming machine or gaming device having the following configuration.

遊技媒体を投入する投入口(例えば、後述のメダル投入口21)と、
前記投入口から投入された遊技媒体を検出する遊技媒体検出手段(例えば、後述のメダルセレクタ201)と、を備え、
前記遊技媒体検出手段は、
遊技媒体が通過する通路を形成する通路形成部(例えば、後述のメダルレール210)と、
前記通路を撮像する撮像手段(例えば、後述のカメラユニット209)と、
前記撮像手段を介して得られる画像データに基づいて、前記通路を通過する物体が正規の遊技媒体であるか否かを判定する遊技媒体判定手段(例えば、後述の制御LSI234)と、を有し、
前記遊技媒体判定手段は、
前記画像データを、それぞれ異なる第1画像データ(例えば、後述の勾配平均画像データ)、第2画像データ(例えば、後述のHOGデータ)及び第3画像データ(例えば、後述のFFTデータ)に変換する画像変換手段(例えば、後述の画像認識アクセラレータ回路249)と、
予め生成された第1テンプレートデータと前記第1画像データとを比較し、第1比較結果を導出する第1比較結果導出手段(例えば、後述の勾配平均画像テンプレート比較処理を行う画像認識DSP回路242)と、
予め生成された第2テンプレートデータと前記第2画像データとを比較し、第2比較結果を導出する第2比較結果導出手段(例えば、後述のHOGテンプレート比較処理を行う画像認識DSP回路242)と、
予め生成された第3テンプレートデータと前記第3画像データとを比較し、第3比較結果を導出する第3比較結果導出手段(例えば、後述のFFTテンプレート比較処理を行う画像認識DSP回路242)と、を有し、
前記第1比較結果、前記第2比較結果及び前記第3比較結果と、予め設定した判定閾値(例えば、後述の係数D)と、に基づいて、前記通路を通過する物体が正規の遊技媒体であるか否かを判定し、
前記第1比較結果、前記第2比較結果及び前記第3比較結果のそれぞれの平均及び偏差に基づいて、前記判定閾値を更新する
ことを特徴とする遊技機。
An insertion slot (for example, a medal insertion slot 21 described later) for inserting game media;
A game medium detection unit (for example, a medal selector 201 described later) for detecting a game medium inserted from the insertion port;
The gaming medium detection means
A passage forming unit (for example, a medal rail 210 described later) which forms a passage through which game media pass;
An imaging unit (for example, a camera unit 209 described later) for imaging the passage;
Game medium determination means (for example, control LSI 234 described later) that determines whether or not an object passing through the passage is a legitimate game medium based on image data obtained through the imaging means ,
The gaming medium determination means
The image data is converted into different first image data (e.g. gradient average image data described later), second image data (e.g. HOG data described later) and third image data (e.g. FFT data described later) Image conversion means (for example, an image recognition accelerator circuit 249 described later);
First comparison result deriving means for comparing the first image data with the first template data generated in advance and deriving the first comparison result (for example, the image recognition DSP circuit 242 which performs gradient average image template comparison processing described later) )When,
Second comparison result deriving means (for example, an image recognition DSP circuit 242 performing HOG template comparison processing described later) for comparing the second image data with the second template data generated in advance and deriving a second comparison result ,
Third comparison result deriving means (for example, an image recognition DSP circuit 242 for performing FFT template comparison processing described later) for comparing the third image data with the third template data generated in advance and deriving the third comparison result And have
An object passing through the passage is a regular game medium based on the first comparison result, the second comparison result and the third comparison result, and a preset determination threshold (for example, a coefficient D described later) Determine if there is,
A game machine characterized by updating the judgment threshold based on an average and a deviation of each of the first comparison result, the second comparison result and the third comparison result.

遊技媒体を検出する遊技媒体検出手段を備え、
前記遊技媒体検出手段は、
遊技媒体が通過する通路を形成する通路形成部と、
前記通路を撮像する撮像手段と、
前記撮像手段を介して得られる画像データに基づいて、前記通路を通過する物体が正規の遊技媒体であるか否かを判定する遊技媒体判定手段と、を有し、
前記遊技媒体判定手段は、
前記画像データを、それぞれ異なる第1画像データ、第2画像データ及び第3画像データに変換する画像変換手段と、
予め生成された第1テンプレートデータと前記第1画像データとを比較し、第1比較結果を導出する第1比較結果導出手段と、
予め生成された第2テンプレートデータと前記第2画像データとを比較し、第2比較結果を導出する第2比較結果導出手段と、
予め生成された第3テンプレートデータと前記第3画像データとを比較し、第3比較結果を導出する第3比較結果導出手段と、を有し、
前記第1比較結果、前記第2比較結果及び前記第3比較結果と、予め設定した判定閾値と、に基づいて、前記通路を通過する物体が正規の遊技媒体であるか否かを判定し、
前記第1比較結果、前記第2比較結果及び前記第3比較結果のそれぞれの平均及び偏差に基づいて、前記判定閾値を更新する
ことを特徴とする遊技用装置。
A game medium detection unit for detecting game media;
The gaming medium detection means
A passage forming unit that forms a passage through which game media pass;
Imaging means for imaging the passage;
Game medium determination means for determining whether or not an object passing through the passage is a legitimate game medium based on image data obtained through the imaging means;
The gaming medium determination means
Image conversion means for converting the image data into different first image data, second image data and third image data;
First comparison result deriving means for comparing a first template data generated in advance with the first image data and deriving a first comparison result;
Second comparison result deriving means for comparing a second template data generated in advance with the second image data and deriving a second comparison result;
Third comparison result deriving means for comparing a third template data generated in advance with the third image data, and deriving a third comparison result;
Based on the first comparison result, the second comparison result and the third comparison result, and a preset determination threshold value, it is determined whether an object passing through the passage is a legitimate game medium.
The game threshold value is updated based on an average and a deviation of each of the first comparison result, the second comparison result and the third comparison result.

また、前記遊技媒体判定手段は、前記通路を通過する物体が正規の遊技媒体であると所定回数判定したときに、前記判定閾値を更新してもよい。   Further, the game medium determination means may update the determination threshold when it is determined that the object passing through the passage is a regular game medium a predetermined number of times.

上記構成の本発明の第7の遊技機又は遊技用装置によれば、経年劣化などによって、刻印に変化が生じた場合でも、正規メダルの現状の状態に応じて、判定に用いる閾値を含む各種係数を更新することができる。このため、各種判定の結果の精度を保つことができる。したがって、正規の遊技媒体が用いられていると誤認させる不正行為の検知の精度を高めることができる。   According to the seventh gaming machine or gaming apparatus of the present invention having the above-described configuration, even if a change occurs in marking due to age-related deterioration, various types of thresholding used for determination are made according to the current state of the regular medals. The coefficients can be updated. Therefore, the accuracy of the results of various determinations can be maintained. Therefore, it is possible to enhance the accuracy of detection of fraudulent behavior that causes the game medium to be misidentified as being used.

[テンプレート更新処理]
上記第5の目的を達成するために、本発明は、以下のような構成の第8の遊技機又は遊技用装置を提供する。
[Template update process]
In order to achieve the fifth object, the present invention provides an eighth gaming machine or gaming device having the following configuration.

遊技媒体を投入する投入口(例えば、後述のメダル投入口21)と、
前記投入口から投入された遊技媒体を検出する遊技媒体検出手段(例えば、後述のメダルセレクタ201)と、を備え、
前記遊技媒体検出手段は、
遊技媒体が通過する通路を形成する通路形成部(例えば、後述のメダルレール210)と、
前記通路を撮像する撮像手段(例えば、後述のカメラユニット209)と、
前記撮像手段を介して得られる画像データに基づいて、前記通路を通過する物体が正規の遊技媒体であるか否かを判定する遊技媒体判定手段(例えば、後述の制御LSI234)と、を有し、
前記遊技媒体判定手段は、
前記画像データを、それぞれ異なる第1画像データ(例えば、後述の勾配平均画像データ)、第2画像データ(例えば、後述のHOGデータ)及び第3画像データ(例えば、後述のFFTデータ)に変換する画像変換手段(例えば、後述の画像認識アクセラレータ回路249)と、
前記第1画像データ、前記第2画像データ及び前記第3画像データのそれぞれに対応する第1テンプレートデータ、第2テンプレートデータ及び第3テンプレートデータを生成するテンプレート生成手段と、
前記第1テンプレートデータと前記第1画像データとを比較し、第1比較結果を導出する第1比較結果導出手段(例えば、後述の勾配平均画像テンプレート比較処理を行う画像認識DSP回路242)と、
前記第2テンプレートデータと前記第2画像データとを比較し、第2比較結果を導出する第2比較結果導出手段(例えば、後述のHOGテンプレート比較処理を行う画像認識DSP回路242)と、
前記第3テンプレートデータと前記第3画像データとを比較し、第3比較結果を導出する第3比較結果導出手段(例えば、後述のFFTテンプレート比較処理を行う画像認識DSP回路242)と、を有し、
前記第1比較結果、前記第2比較結果及び前記第3比較結果と、予め設定した判定閾値(例えば、後述の係数D)と、に基づいて、前記通路を通過する物体が正規の遊技媒体であるか否かを判定し、
前記テンプレート生成手段は、正規の遊技媒体と判定された遊技媒体に係る前記第1画像データ、前記第2画像データ及び前記第3画像データと、前記第1テンプレートデータ、前記第2テンプレートデータ及び前記第3テンプレートデータと、を合成するテンプレート更新処理を行う
ことを特徴とする遊技機。
An insertion slot (for example, a medal insertion slot 21 described later) for inserting game media;
A game medium detection unit (for example, a medal selector 201 described later) for detecting a game medium inserted from the insertion port;
The gaming medium detection means
A passage forming unit (for example, a medal rail 210 described later) which forms a passage through which game media pass;
An imaging unit (for example, a camera unit 209 described later) for imaging the passage;
Game medium determination means (for example, control LSI 234 described later) that determines whether or not an object passing through the passage is a legitimate game medium based on image data obtained through the imaging means ,
The gaming medium determination means
The image data is converted into different first image data (e.g. gradient average image data described later), second image data (e.g. HOG data described later) and third image data (e.g. FFT data described later) Image conversion means (for example, an image recognition accelerator circuit 249 described later);
Template generation means for generating first template data, second template data and third template data corresponding to each of the first image data, the second image data and the third image data;
A first comparison result deriving unit (e.g., an image recognition DSP circuit 242 that performs gradient average image template comparison processing described later) that compares the first template data with the first image data and derives a first comparison result;
A second comparison result deriving unit (e.g., an image recognition DSP circuit 242 that performs HOG template comparison processing described later) that compares the second template data with the second image data and derives a second comparison result;
Third comparison result deriving means for comparing the third template data with the third image data and for deriving a third comparison result (for example, an image recognition DSP circuit 242 for performing an FFT template comparison process described later) And
An object passing through the passage is a regular game medium based on the first comparison result, the second comparison result and the third comparison result, and a preset determination threshold (for example, a coefficient D described later) Determine if there is,
The template generation unit is configured to generate the first image data, the second image data, the third image data, the first template data, the second template data, and the second image data relating to a game medium determined to be a legitimate game medium. A gaming machine characterized by performing a template update process for synthesizing the third template data.

遊技媒体検出手段を備え、
前記遊技媒体検出手段は、
遊技媒体が通過する通路を形成する通路形成部と、
前記通路を撮像する撮像手段と、
前記撮像手段を介して得られる画像データに基づいて、前記通路を通過する物体が正規の遊技媒体であるか否かを判定する遊技媒体判定手段と、を有し、
前記遊技媒体判定手段は、
前記画像データを、それぞれ異なる第1画像データ、第2画像データ及び第3画像データに変換する画像変換手段と、
前記第1画像データ、前記第2画像データ及び前記第3画像データのそれぞれに対応する第1テンプレートデータ、第2テンプレートデータ及び第3テンプレートデータを生成するテンプレート生成手段と、
前記第1テンプレートデータと前記第1画像データとを比較し、第1比較結果を導出する第1比較結果導出手段と、
前記第2テンプレートデータと前記第2画像データとを比較し、第2比較結果を導出する第2比較結果導出手段と、
前記第3テンプレートデータと前記第3画像データとを比較し、第3比較結果を導出する第3比較結果導出手段と、を有し、
前記第1比較結果、前記第2比較結果及び前記第3比較結果と、予め設定した判定閾値と、に基づいて、前記通路を通過する物体が正規の遊技媒体であるか否かを判定し、
前記テンプレート生成手段は、正規の遊技媒体と判定された遊技媒体に係る前記第1画像データ、前記第2画像データ及び前記第3画像データと、前記第1テンプレートデータ、前記第2テンプレートデータ及び前記第3テンプレートデータと、を合成するテンプレート更新処理を行う
ことを特徴とする遊技用装置。
A game medium detection means is provided,
The gaming medium detection means
A passage forming unit that forms a passage through which game media pass;
Imaging means for imaging the passage;
Game medium determination means for determining whether or not an object passing through the passage is a legitimate game medium based on image data obtained through the imaging means;
The gaming medium determination means
Image conversion means for converting the image data into different first image data, second image data and third image data;
Template generation means for generating first template data, second template data and third template data corresponding to each of the first image data, the second image data and the third image data;
First comparison result deriving means for comparing the first template data with the first image data and deriving a first comparison result;
Second comparison result deriving means for comparing the second template data with the second image data and deriving a second comparison result;
And third comparison result deriving means for comparing the third template data with the third image data and deriving a third comparison result.
Based on the first comparison result, the second comparison result and the third comparison result, and a preset determination threshold value, it is determined whether an object passing through the passage is a legitimate game medium.
The template generation unit is configured to generate the first image data, the second image data, the third image data, the first template data, the second template data, and the second image data relating to a game medium determined to be a legitimate game medium. A gaming apparatus characterized by performing a template update process that combines the third template data.

また、前記テンプレート生成手段は、前記遊技媒体判定手段が、正規の遊技媒体と判定した遊技媒体が所定枚数に達する毎に、正規の遊技媒体と判定した遊技媒体に係る前記第1画像データ、前記第2画像データ及び前記第3画像データのそれぞれを加重平均化し、加重平均化したそれぞれと、前記第1テンプレートデータ、前記第2テンプレートデータ及び前記第3テンプレートデータと、を合成するテンプレート更新処理を行ってもよい。   Further, the template generation means may be configured to determine the first image data relating to a game medium determined to be a regular game medium whenever the game medium determined to be a regular game medium by the game medium determination means reaches a predetermined number. A template updating process for combining each of the second image data and the third image data by weighted averaging, weighted averaging, and combining the first template data, the second template data, and the third template data; You may go.

上記構成の本発明の第8の遊技機又は遊技用装置によれば、テンプレートを逐次更新する。このため、例えば遊技機への投入や、払出し、また、遊技店での洗浄などで劣化し、刻印が当初よりも目立たなくなった場合でも、正規メダルの現状の状態に応じてテンプレートを更新できる。このため、各種判定の結果の精度を保つことができる。したがって、正規の遊技媒体が用いられていると誤認させる不正行為の検知の精度が高まる。   According to the eighth gaming machine or gaming device of the present invention configured as described above, the template is successively updated. For this reason, for example, even if it is deteriorated due to insertion into a gaming machine, payout, washing in a game arcade, or the like, and the marking becomes less noticeable than in the beginning, the template can be updated according to the current state of regular medals. Therefore, the accuracy of the results of various determinations can be maintained. Therefore, the accuracy of the detection of the fraudulent act which misindicates that the formal game media are used is enhanced.

[カバー開放検出]
従来、CCDカメラを用いて、投入された不適正メダル(不正メダル)の判定を行うスロットマシンが知られている(例えば、特開2006−271462号公報参照)。
しかしながら、上記のスロットマシンでは、メダルセレクタのCCDカメラが撮像する箇所、投入されたメダルやCCDカメラ自体などに、不要な光が当たると、撮像画像に基づく、投入されたメダルが正規メダルか否かの判定の精度が、低下する虞がある。また、そのために、不要な光を検出するセンサ等を設けると、メダルセレクタの部品点数が増え製造コストが上がってしまう。
本発明の第6の目的は、製造コストを抑制するとともに、正規メダルか否かの判定の精度が低下することを防止できる遊技機又は遊技用装置を提供することにある。
上記第6の目的を達成するために、本発明は、以下のような構成の第9の遊技機又は遊技用装置を提供する。
[Open cover detection]
Conventionally, there has been known a slot machine which determines an inserted improper medal (illegal medal) using a CCD camera (see, for example, JP-A-2006-271462).
However, in the above-mentioned slot machine, when unnecessary light strikes the location where the CCD camera of the medal selector captures an image, the inserted medal, the CCD camera, etc., the inserted medal based on the captured image is a normal medal or not. The accuracy of this determination may be reduced. In addition, if a sensor or the like for detecting unnecessary light is provided for that purpose, the number of parts of the medal selector increases and the manufacturing cost increases.
A sixth object of the present invention is to provide a gaming machine or a gaming apparatus which can suppress the manufacturing cost and prevent the accuracy of the determination of whether or not a regular medal is lowered.
In order to achieve the sixth object, the present invention provides a ninth gaming machine or gaming device having the following configuration.

遊技媒体を投入する投入口(例えば、後述のメダル投入口21)と、
前記投入口から投入された遊技媒体を検出する遊技媒体検出手段(例えば、後述のメダルセレクタ201)と、を備え、
前記遊技媒体検出手段は、
遊技媒体が通過する通路を形成する通路形成部(例えば、後述のメダルレール210)と、
前記通路を撮像する撮像手段(例えば、後述のカメラユニット209)と、
前記撮像手段を介して得られる画像データに基づいて、前記通路を通過する物体が正規の遊技媒体であるか否かを判定する遊技媒体判定手段(例えば、後述の制御LSI234)と、
前記画像データに予め設定されている複数の通過判定領域について遊技媒体の有無を判定し、時系列的に連続する複数の前記画像データにおける前記複数の通過判定領域の遊技媒体の有無の変化態様が所定の態様と一致する場合に遊技媒体をカウントするカウント手段(例えば、後述のメダルカウント回路246)と、を有し、
前記遊技媒体検出手段の所定の位置には、前記遊技媒体判定手段の判定に不要な光を遮る遮光手段(例えば、後述のカバー部材240)が配置され、
前記カウント手段は、前記遮光手段が所定の位置に配置されているか否かを判断する遮光判断手段を有し、
前記遮光判断手段は、所定の前記通過判定領域の輝度の変化を所定時間以上検出した場合に、前記遮光手段が所定の位置に配置されていない異常を検知する(例えば、後述のカバー開放検出処理)
ことを特徴とする遊技機。
An insertion slot (for example, a medal insertion slot 21 described later) for inserting game media;
A game medium detection unit (for example, a medal selector 201 described later) for detecting a game medium inserted from the insertion port;
The gaming medium detection means
A passage forming unit (for example, a medal rail 210 described later) which forms a passage through which game media pass;
An imaging unit (for example, a camera unit 209 described later) for imaging the passage;
Game medium determination means (for example, control LSI 234 described later) that determines whether or not an object passing through the passage is a legitimate game medium based on image data obtained through the imaging means;
The presence or absence of game media is determined for a plurality of passage determination areas preset in the image data, and the change mode of the presence or absence of game media for the plurality of passage determination areas in a plurality of the image data continuous in time series is And a counting unit (for example, a medal counting circuit 246 described later) for counting game media when it matches a predetermined mode,
At a predetermined position of the game medium detection means, a light shielding means (for example, a cover member 240 described later) for blocking light unnecessary for the judgment of the game medium judgment means is disposed,
The counting means has a light blocking judgment means for judging whether the light blocking means is disposed at a predetermined position,
The light shielding judgment means detects an abnormality in which the light shielding means is not arranged at a predetermined position when detecting a change in luminance of the predetermined passage judgment area for a predetermined time or more (for example, cover open detection processing described later) )
A game machine characterized by

遊技媒体検出手段を備え、
前記遊技媒体検出手段は、
遊技媒体が通過する通路を形成する通路形成部と、
前記通路を撮像する撮像手段と、
前記撮像手段を介して得られる画像データに基づいて、前記通路を通過する物体が正規の遊技媒体であるか否かを判定する遊技媒体判定手段と、
前記画像データに予め設定されている複数の通過判定領域について遊技媒体の有無を判定し、時系列的に連続する複数の前記画像データにおける前記複数の通過判定領域の遊技媒体の有無の変化態様が所定の態様と一致する場合に遊技媒体をカウントするカウント手段と、を有し、
前記遊技媒体検出手段の所定の位置には、前記遊技媒体判定手段の判定に不要な光を遮る遮光手段が配置され、
前記カウント手段は、前記遮光手段が所定の位置に配置されているか否かを判断する遮光判断手段を有し、
前記遮光判断手段は、所定の前記通過判定領域の輝度の変化を所定時間以上検出した場合に、前記遮光手段が所定の位置に配置されていない異常を検知する
ことを特徴とする遊技用装置。
A game medium detection means is provided,
The gaming medium detection means
A passage forming unit that forms a passage through which game media pass;
Imaging means for imaging the passage;
Game medium determination means for determining whether or not an object passing through the passage is a legitimate game medium based on image data obtained through the imaging means;
The presence or absence of game media is determined for a plurality of passage determination areas preset in the image data, and the change mode of the presence or absence of game media for the plurality of passage determination areas in a plurality of the image data continuous in time series is And counting means for counting game media when it matches the predetermined mode,
At a predetermined position of the game medium detecting means, a light shielding means for blocking light unnecessary for the judgment of the game medium judging means is disposed,
The counting means has a light blocking judgment means for judging whether the light blocking means is disposed at a predetermined position,
The game apparatus characterized in that the light shielding judgment means detects an abnormality in which the light shielding means is not arranged at a predetermined position, when the change of the luminance of the predetermined passage judging area is detected for a predetermined time or more.

上記構成の本発明の第9の遊技機又は遊技用装置によれば、製造コストを上げることなく、正規メダルか否かの判定の精度が低下することを防止できる。すなわち、判定に不要な光が当たるのを防止できるので、判定の結果の精度を保つことができる。したがって、正規の遊技媒体が用いられていると誤認させる不正行為の検知の精度が高まる。
また、撮像手段を介して得られる画像データに基づいて、遮光手段が所定の位置に配置されているか否かを判断するので、当該判断のために他のセンサを取り付ける必要がない。このため、部品点数を減らすことができ、製造コストの増加を抑制できる。また、画像データに基づく判断のため、専用のセンサを設ける場合に比べて、当該判断の条件を容易に変更することができる。
According to the ninth gaming machine or gaming apparatus of the present invention having the above-described structure, it is possible to prevent a decrease in the accuracy of determination of whether or not a regular medal without raising the manufacturing cost. That is, since it is possible to prevent an unnecessary light from striking the determination, it is possible to maintain the accuracy of the determination result. Therefore, the accuracy of the detection of the fraudulent act which misindicates that the formal game media are used is enhanced.
In addition, since it is determined whether the light shielding means is disposed at a predetermined position based on image data obtained through the imaging means, it is not necessary to attach another sensor for the determination. For this reason, the number of parts can be reduced, and an increase in manufacturing cost can be suppressed. In addition, because of the determination based on the image data, the condition of the determination can be easily changed as compared with the case where a dedicated sensor is provided.

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 ... Pachi slot, 3L ... left reel, 3C ... inside reel, 3R ... right reel, 4 ... reel display window, 21 ... medal insertion slot, 23 ... start lever, 32 ... medal payout opening, 51 ... hopper device, 71 ... main Control board, 72: secondary control board, 79: start switch, 80: stop switch board, 91: main control circuit, 101: secondary control circuit, 140: cancel shooter, 201: medal selector, 202: medal shoot, 203: slope , 204: base plate portion, 205: sub plate, 206: cancel shooter, 207: select plate, 208: medal solenoid, 209: camera unit, 210: medal rail, 211: medal entry portion, 212: central hole, 213 ... Medal pressure, 217 ... magnet, 218: After medal pressure, 227: medal stopper portion, 230: first substrate, 231: second substrate, 232: CMOS image sensor, 233: LED, 234: control LSI, 235: leg portion, 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, 249: image recognition accelerator circuit, 250 ... GPIO, 251 ... ISI circuit

Claims (3)

遊技媒体を投入する投入口と、
前記投入口から投入された遊技媒体を検出する遊技媒体検出手段と、を備え、
前記遊技媒体検出手段は、
遊技媒体が通過する通路を形成する通路形成部と、
前記通路を撮像する撮像手段と、
前記撮像手段を介して得られる画像データに基づいて、前記通路を通過する物体が正規の遊技媒体であるか否かを判定する遊技媒体判定手段と、を有し、
前記遊技媒体判定手段は、
前記画像データを、それぞれ異なる第1画像データ、第2画像データ及び第3画像データに変換する画像変換手段と、
予め生成された第1テンプレートデータと前記第1画像データとを比較し、第1比較結果を導出する第1比較結果導出手段と、
予め生成された第2テンプレートデータと前記第2画像データとを比較し、第2比較結果を導出する第2比較結果導出手段と、
予め生成された第3テンプレートデータと前記第3画像データとを比較し、第3比較結果を導出する第3比較結果導出手段と、を有し、
前記第1比較結果、前記第2比較結果及び前記第3比較結果と、予め設定した判定閾値と、に基づいて、前記通路を通過する物体が正規の遊技媒体であるか否かを判定する
ことを特徴とする遊技機。
An insertion slot for inserting game media,
Game medium detection means for detecting game medium inserted from the insertion port;
The gaming medium detection means
A passage forming unit that forms a passage through which game media pass;
Imaging means for imaging the passage;
Game medium determination means for determining whether or not an object passing through the passage is a legitimate game medium based on image data obtained through the imaging means;
The gaming medium determination means
Image conversion means for converting the image data into different first image data, second image data and third image data;
First comparison result deriving means for comparing a first template data generated in advance with the first image data and deriving a first comparison result;
Second comparison result deriving means for comparing a second template data generated in advance with the second image data and deriving a second comparison result;
Third comparison result deriving means for comparing a third template data generated in advance with the third image data, and deriving a third comparison result;
It is determined based on the first comparison result, the second comparison result and the third comparison result, and a preset determination threshold whether or not an object passing through the passage is a legitimate game medium. A game machine characterized by
前記第1画像データは、前記画像データを回転させて累積した勾配平均画像データであり、
前記第2画像データは、前記画像データをHOG(Histograms of Oriented Gradients)変換したHOGデータであり、
前記第3画像データは、前記画像データをフーリエ変換したフーリエ変換データある
ことを特徴とする請求項1に記載の遊技機。
The first image data is gradient average image data accumulated by rotating the image data,
The second image data is HOG data obtained by converting the image data into HOG (Histograms of Oriented Gradients),
The gaming machine according to claim 1, wherein the third image data is Fourier transform data obtained by Fourier transforming the image data.
遊技媒体を検出する遊技媒体検出手段を備え、
前記遊技媒体検出手段は、
遊技媒体が通過する通路を形成する通路形成部と、
前記通路を撮像する撮像手段と、
前記撮像手段を介して得られる画像データに基づいて、前記通路を通過する物体が正規の遊技媒体であるか否かを判定する遊技媒体判定手段と、を有し、
前記遊技媒体判定手段は、
前記画像データを、それぞれ異なる第1画像データ、第2画像データ及び第3画像データに変換する画像変換手段と、
予め生成された第1テンプレートデータと前記第1画像データとを比較し、第1比較結果を導出する第1比較結果導出手段と、
予め生成された第2テンプレートデータと前記第2画像データとを比較し、第2比較結果を導出する第2比較結果導出手段と、
予め生成された第3テンプレートデータと前記第3画像データとを比較し、第3比較結果を導出する第3比較結果導出手段と、を有し、
前記第1比較結果、前記第2比較結果及び前記第3比較結果と、予め設定した判定閾値と、に基づいて、前記通路を通過する物体が正規の遊技媒体であるか否かを判定する
ことを特徴とする遊技用装置。
A game medium detection unit for detecting game media;
The gaming medium detection means
A passage forming unit that forms a passage through which game media pass;
Imaging means for imaging the passage;
Game medium determination means for determining whether or not an object passing through the passage is a legitimate game medium based on image data obtained through the imaging means;
The gaming medium determination means
Image conversion means for converting the image data into different first image data, second image data and third image data;
First comparison result deriving means for comparing a first template data generated in advance with the first image data and deriving a first comparison result;
Second comparison result deriving means for comparing a second template data generated in advance with the second image data and deriving a second comparison result;
Third comparison result deriving means for comparing a third template data generated in advance with the third image data, and deriving a third comparison result;
It is determined based on the first comparison result, the second comparison result and the third comparison result, and a preset determination threshold whether or not an object passing through the passage is a legitimate game medium. A gaming apparatus characterized by
JP2017073872A 2017-04-03 2017-04-03 Gaming machines and gaming devices Active JP6902907B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017073872A JP6902907B2 (en) 2017-04-03 2017-04-03 Gaming machines and gaming devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017073872A JP6902907B2 (en) 2017-04-03 2017-04-03 Gaming machines and gaming devices

Publications (2)

Publication Number Publication Date
JP2018174980A true JP2018174980A (en) 2018-11-15
JP6902907B2 JP6902907B2 (en) 2021-07-14

Family

ID=64279716

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017073872A Active JP6902907B2 (en) 2017-04-03 2017-04-03 Gaming machines and gaming devices

Country Status (1)

Country Link
JP (1) JP6902907B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06274736A (en) * 1993-03-24 1994-09-30 Mitsubishi Heavy Ind Ltd Coin recognition device
JP2013232080A (en) * 2012-04-27 2013-11-14 Denso Corp Object identification device
JP2016002153A (en) * 2014-06-13 2016-01-12 オムロン株式会社 Token identification device and token identification method
JP2016131676A (en) * 2015-01-19 2016-07-25 株式会社ユニバーサルエンターテインメント Game machine
JP2017010322A (en) * 2015-06-23 2017-01-12 国立大学法人 鹿児島大学 Authentication processing device and authentication processing method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06274736A (en) * 1993-03-24 1994-09-30 Mitsubishi Heavy Ind Ltd Coin recognition device
JP2013232080A (en) * 2012-04-27 2013-11-14 Denso Corp Object identification device
JP2016002153A (en) * 2014-06-13 2016-01-12 オムロン株式会社 Token identification device and token identification method
JP2016131676A (en) * 2015-01-19 2016-07-25 株式会社ユニバーサルエンターテインメント Game machine
JP2017010322A (en) * 2015-06-23 2017-01-12 国立大学法人 鹿児島大学 Authentication processing device and authentication processing method

Also Published As

Publication number Publication date
JP6902907B2 (en) 2021-07-14

Similar Documents

Publication Publication Date Title
JP6909046B2 (en) Gaming machines and gaming devices
JP6823967B2 (en) Game machine
JP6823968B2 (en) Game machine and game medium discrimination device
JP6823970B2 (en) Game machine
JP6974958B2 (en) Gaming machines and gaming devices
JP6812294B2 (en) Game machines and game equipment
JP6902907B2 (en) Gaming machines and gaming devices
JP6902909B2 (en) Gaming machines and gaming devices
JP6902908B2 (en) Gaming machines and gaming devices
JP6714376B2 (en) Amusement machine
JP6964701B2 (en) Pachinko machine
JP6951861B2 (en) Pachinko machine
JP6894755B2 (en) Gaming machines and gaming devices
JP6823969B2 (en) Game machine
JP6850674B2 (en) Game machines and game equipment
JP6850676B2 (en) Game machines and game equipment
JP6850672B2 (en) Game machine
JP6850675B2 (en) Game machines and game equipment
JP2017136311A (en) Game machine
JP6850673B2 (en) Game machines and game equipment
JP6850554B2 (en) Game machine
JP6714375B2 (en) Gaming machine and gaming medium discrimination device
JP2020099741A (en) Game machine
JP2020044363A (en) Game machine and game medium determination device
JP2020099740A (en) Game machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200115

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20201113

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20201117

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210112

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20210608

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210622

R150 Certificate of patent or registration of utility model

Ref document number: 6902907

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250