JP2015073760A - Game machine - Google Patents

Game machine Download PDF

Info

Publication number
JP2015073760A
JP2015073760A JP2013212539A JP2013212539A JP2015073760A JP 2015073760 A JP2015073760 A JP 2015073760A JP 2013212539 A JP2013212539 A JP 2013212539A JP 2013212539 A JP2013212539 A JP 2013212539A JP 2015073760 A JP2015073760 A JP 2015073760A
Authority
JP
Japan
Prior art keywords
signal
data
transmission
serial
control command
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
JP2013212539A
Other languages
Japanese (ja)
Other versions
JP5868369B2 (en
Inventor
貴史 野尻
Takashi Nojiri
貴史 野尻
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.)
Fuji Shoji Co Ltd
Original Assignee
Fuji Shoji Co Ltd
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 Fuji Shoji Co Ltd filed Critical Fuji Shoji Co Ltd
Priority to JP2013212539A priority Critical patent/JP5868369B2/en
Publication of JP2015073760A publication Critical patent/JP2015073760A/en
Application granted granted Critical
Publication of JP5868369B2 publication Critical patent/JP5868369B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a game machine capable of achieving a stable serial transmission without complicating a circuit configuration.SOLUTION: The game machine executes lottery processing on the basis of a prescribed switch signal and executes a game operation corresponding to the lottery result. The game machine comprises an upstream-side control part 21 that transmits a control command CMD for identifying the lottery result, and a downstream-side control part 22 for receiving the control command, where the control command CMD is transmitted as a form of an LVDS signal.

Description

本発明は、遊技動作に起因する抽選処理によって大当り状態を発生させる遊技機に関し、特に、複雑高度な演出制御を簡易な機器構成で実現できる遊技機に関する。   The present invention relates to a gaming machine that generates a big hit state by a lottery process resulting from a gaming operation, and more particularly to a gaming machine that can realize complicated and advanced performance control with a simple device configuration.

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

このような遊技状態を発生させるか否かは、図柄始動口に遊技球が入賞したことを条件に実行される大当り抽選で決定されており、上記の図柄変動動作は、この抽選結果を踏まえたものとなっている。例えば、抽選結果が当選状態である場合には、リーチアクションなどと称される演出動作を20秒前後実行し、その後、特別図柄を整列させている。一方、ハズレ状態の場合にも、同様のリーチアクションが実行されることがあり、この場合には、遊技者は、大当り状態になることを強く念じつつ演出動作の推移を注視することになる。そして、図柄変動動作の終了時に、停止ラインに所定図柄が揃えば、大当り状態であることが遊技者に保証されたことになる。   Whether or not to generate such a game state is determined by a jackpot lottery executed on the condition that a game ball has won at the symbol start opening, and the above symbol variation operation is based on this lottery result. It has become a thing. For example, when the lottery result is in a winning state, an effect operation called reach action or the like is executed for about 20 seconds, and then the special symbols are aligned. On the other hand, a similar reach action may be executed even in the case of a lost state. In this case, the player pays close attention to the big hit state and pays close attention to the transition of the performance operation. When the predetermined symbols are aligned on the stop line at the end of the symbol variation operation, the player is guaranteed to be in the big hit state.

特開2007−222690号公報JP 2007-222690 A

上記した演出動作は、液晶表示装置での画像演出が中心となるが、この画像演出に連動して、各種のランプを点滅させるランプ演出や、遊技者を盛り上げる音声を出力する音声演出や、可動物が移動する可動演出などが実行される。   The above-mentioned performance operation is centered on the image production on the liquid crystal display device. In conjunction with this image production, a lamp production that blinks various lamps, an audio production that outputs a sound that excites the player, Movable effects such as moving animals are executed.

そして、この種の遊技機は、一般に、遊技動作を中心統括的に制御する主制御基板と、主制御基板から受ける制御コマンドに基づいて演出動作を制御する演出制御基板とに区分される。また、演出制御基板も複数個に区分される場合があり、このような機器構成では、主制御基板や上流側の演出制御基板から制御コマンドを受ける演出制御基板が存在することになる。   In general, this type of gaming machine is divided into a main control board that centrally controls gaming operations and an effect control board that controls effect operations based on control commands received from the main control board. In addition, the effect control board may be divided into a plurality of parts, and in such a device configuration, there is an effect control board that receives a control command from the main control board or the upstream effect control board.

何れにしても、この種の遊技機では、制御基板の個数に対応して制御コマンドの伝送経路が必要となり、また、配線を引き回す総伝送距離も長くなるので、機器の最適配置や最適配線の設計が複雑化するという問題がある。   In any case, this type of gaming machine requires a transmission path for control commands corresponding to the number of control boards, and the total transmission distance for routing the wiring becomes long. There is a problem that the design becomes complicated.

そこで、制御コマンドをシリアル伝送することが考えられるが(特許文献1)、演出制御が高度化するほど、制御コマンドのビット長やコマンド種別が増え、これに対応して伝送頻度や、単位時間当たりの伝送ビット量も高まるので、単純なシリアル伝送では、その伝送路からのノイズ発生が問題になる。   Therefore, it is conceivable to serially transmit the control command (Patent Document 1). However, as the presentation control becomes more sophisticated, the bit length and command type of the control command increase, and the transmission frequency and per unit time correspond to this. Therefore, the generation of noise from the transmission path becomes a problem in simple serial transmission.

また、シリアル伝送路にノイズが重畳して、制御コマンドがビット化けする可能性が高まり、万一、不合理な演出を実行したのでは、遊技者を白けさせてしまうことになる。なお、このような問題に対処するべく回路構成を複雑化することはできるが、これでは、製造コストがいたずらに増加する。   In addition, noise is superimposed on the serial transmission path and the possibility that the control command will be garbled increases, and if an unreasonable presentation is executed, the player will be whitened. Although the circuit configuration can be complicated to cope with such a problem, this increases the manufacturing cost unnecessarily.

本発明は、上記の問題点に鑑みてなされたものであって、回路構成を複雑化することなく、安定したシリアル伝送を実現できる遊技機を提供することを目的とする。   The present invention has been made in view of the above problems, and an object of the present invention is to provide a gaming machine capable of realizing stable serial transmission without complicating the circuit configuration.

上記の目的を達成するため、本発明は、所定のスイッチ信号に基づいて抽選処理を実行して、抽選結果に対応した遊技動作を実行する遊技機であって、抽選結果を特定する制御コマンドを送信する上流側制御手段と、前記制御コマンドを受信する下流側制御手段とを有して構成され、前記制御コマンドは、LVDS信号の形式で伝送されるよう構成されている。なお、上流側制御手段は、実施例の主制御部などに限定されず、下流側の演出制御部に対して制御コマンドを送信する上流側の演出制御部も含まれる。   In order to achieve the above object, the present invention is a gaming machine that executes a lottery process based on a predetermined switch signal and executes a gaming operation corresponding to a lottery result, and provides a control command for specifying the lottery result. An upstream control means for transmitting and a downstream control means for receiving the control command are configured, and the control command is configured to be transmitted in the form of an LVDS signal. The upstream control means is not limited to the main control unit in the embodiment, and includes an upstream production control unit that transmits a control command to the downstream production control unit.

本発明は、Low voltage differential signalingを使用するので、小振幅かつ低消費電力でのコマンド伝送が実現し、且つ、差動信号によって必要データを伝送するので、高速伝送を実行してもノイズ発生が問題にならない。なお、シリアルデータである制御コマンドCMDの各ビットの区切り位置を特定する伝送クロックCLKを、制御コマンドCMDに対応して伝送する場合には、伝送クロックCLKも、LVDS形式で伝送するのが好ましい。   Since the present invention uses low voltage differential signaling, command transmission with small amplitude and low power consumption is realized, and necessary data is transmitted by differential signals, so that noise is generated even when high-speed transmission is performed. It doesn't matter. In addition, when transmitting the transmission clock CLK that specifies the break position of each bit of the control command CMD that is serial data in correspondence with the control command CMD, the transmission clock CLK is also preferably transmitted in the LVDS format.

この場合の回路構成は、例えば、図6の場合と同様であり、差動ラインドライバDriと差動ラインレシーバRecとで構成されたシリアル伝送路が二組設けられ、一方で制御コマンドCMDを伝送し、他方で伝送クロックCLKを伝送する。   The circuit configuration in this case is the same as that in FIG. 6, for example, and two sets of serial transmission paths composed of the differential line driver Dri and the differential line receiver Rec are provided, while the control command CMD is transmitted. On the other hand, the transmission clock CLK is transmitted.

この場合、上流側制御手段のシリアルポートSiは、制御コマンドCMDと伝送クロックCLKとを同期して出力し(図6参照)、これを受ける下流側制御手段のシリアルポート(不図示)では、伝送クロックCLKに同期して、シリアルデータ(制御コマンド)の各ビットを順番に取得して、これをパラレル変換するのが好適である。   In this case, the serial port Si of the upstream side control means outputs the control command CMD and the transmission clock CLK in synchronization (see FIG. 6), and the serial port (not shown) of the downstream side control means that receives this outputs the transmission. It is preferable to acquire each bit of serial data (control command) in order in synchronization with the clock CLK, and to convert it in parallel.

なお、例えば、制御コマンドCMDに伝送クロックCLKを埋め込むか(図13参照)、シリアルデータ(制御コマンド)の転送開始タイミングを特定するスタートビットを付加する構成(図14参照)を採ることで、伝送クロックCLKを伝送する伝送路を省略することもできる。   For example, transmission is performed by embedding the transmission clock CLK in the control command CMD (see FIG. 13) or adding a start bit for specifying the transfer start timing of serial data (control command) (see FIG. 14). A transmission path for transmitting the clock CLK may be omitted.

何れの方式を採る場合でも、簡易的には、例えば、図14や図16(a)のストローブ信号STB、図15のチップセレクト信号CSi、図16(b)のレディ信号RDYなど、前記制御コマンドの伝送に対応して、LVDS信号の伝送を通知する通知信号を、上流側制御手段から下流側制御手段に伝送するのが好適である。   Regardless of which method is used, for example, the control command such as the strobe signal STB in FIG. 14 or 16A, the chip select signal CSi in FIG. 15, or the ready signal RDY in FIG. Corresponding to the transmission, it is preferable to transmit a notification signal for notifying the transmission of the LVDS signal from the upstream control means to the downstream control means.

なお、通知信号は、下流側の制御部に、受信動作を開始させる信号であり、図15のチップセレクト信号CSiでも足りる。但し、図15の構成で制御コマンドを伝送する場合には、シリアル伝送素子70Rが、シリアル伝送素子71R(図16(c)参照)と同様の完了フラグRDYF/F、又はこれと同等の回路を内蔵しているのが好適である。   The notification signal is a signal for causing the control unit on the downstream side to start the reception operation, and the chip select signal CSi in FIG. 15 is sufficient. However, when the control command is transmitted with the configuration of FIG. 15, the serial transmission element 70R has a completion flag RDYF / F similar to the serial transmission element 71R (see FIG. 16C) or a circuit equivalent thereto. It is preferable to incorporate it.

何れにしても、本発明では、パラレルデータの制御コマンドをLVDS信号の形式に変換して出力するシリアル伝送素子が、上流側制御手段に配置されるのが好ましい。このような構成を採ると、図6の回路構成とは異なり、上流側のコンピュータ回路は、制御コマンドをパラレルデータとして出力すれば足り、コンピュータ回路の回路構成が複雑化することがない。   In any case, in the present invention, it is preferable that the serial transmission element for converting the parallel data control command into the LVDS signal format and outputting it is arranged in the upstream control means. When such a configuration is adopted, unlike the circuit configuration of FIG. 6, the upstream computer circuit only needs to output the control command as parallel data, and the circuit configuration of the computer circuit is not complicated.

また、本発明では、LVDS信号を受信して、パラレルデータの制御コマンドに変換して出力するシリアル伝送素子が、下流側制御手段に配置されるのが好ましい。この場合には、下流流側のコンピュータ回路は、制御コマンドをパラレルデータとして受け取ることができ、回路構成が複雑化することがない。   In the present invention, it is preferable that the serial transmission element that receives the LVDS signal, converts it into a parallel data control command and outputs it is arranged in the downstream control means. In this case, the downstream computer circuit can receive the control command as parallel data, and the circuit configuration is not complicated.

好ましくは、制御コマンドは、複数バイト長であり、1バイト毎に上流側制御手段のシリアル伝送素子に供給され、1バイト毎に下流側制御手段のシリアル伝送素子から取得されるか、或いは、複数バイト長の前記制御コマンドが、上流側制御手段のシリアル伝送素子に一の処理で供給され、下流側制御手段のシリアル伝送素子から一の処理で取得されるのが好適である。   Preferably, the control command has a length of a plurality of bytes, and is supplied to the serial transmission element of the upstream control unit for each byte, and is acquired from the serial transmission element of the downstream control unit for each byte, or It is preferable that the control command having a byte length is supplied to the serial transmission element of the upstream control unit in one process and acquired from the serial transmission element of the downstream control unit in one process.

上記した通り、本発明の遊技機によれば、回路構成を複雑化することなく、安定したシリアル伝送を実現できる遊技機を実現することができる。   As described above, according to the gaming machine of the present invention, it is possible to realize a gaming machine that can realize stable serial transmission without complicating the circuit configuration.

実施例に示すパチンコ機の斜視図である。It is a perspective view of the pachinko machine shown in an example. 図1のパチンコ機の遊技盤を図示した正面図である。It is the front view which illustrated the game board of the pachinko machine of FIG. 図1のパチンコ機の全体構成を示すブロック図である。It is a block diagram which shows the whole structure of the pachinko machine of FIG. 演出制御部の回路構成を例示するブロック図である。It is a block diagram illustrating a circuit configuration of an effect control unit. 3つのランプ駆動基板の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of three lamp drive boards. 演出制御基板とランプ駆動基板の接続関係と、シリアルポートの内部構成などと共に説明する図面である。It is drawing explaining with the connection relation of a production control board and a lamp drive board, an internal configuration of a serial port, etc. ランプ駆動基板に伝送されるシリアル信号を示すタイムチャートである。It is a time chart which shows the serial signal transmitted to a lamp drive board | substrate. 演出制御部の動作を説明するフローチャートである。It is a flowchart explaining operation | movement of an effect control part. 図8の一部を詳細に示すフローチャートである。It is a flowchart which shows a part of FIG. 8 in detail. LEDドライバの入力部を示す回路図である。It is a circuit diagram which shows the input part of a LED driver. 図9の変形例を示すフローチャートである。It is a flowchart which shows the modification of FIG. 図9の別の変形例を示すフローチャートである。It is a flowchart which shows another modification of FIG. クロック埋め込み方式のLVDS伝送を説明する図面である。It is a figure explaining LVDS transmission of a clock embedding system. スタートビットを付加するLVDS伝送を説明する図面である。It is a figure explaining LVDS transmission which adds a start bit. シリアル伝送素子を使用してランプ制御を実現する回路図である。It is a circuit diagram which implement | achieves lamp control using a serial transmission element. 別のシリアル伝送素子を使用して制御コマンドやスイッチ信号を伝送する場合の回路図である。It is a circuit diagram in the case of transmitting a control command and a switch signal using another serial transmission element.

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

ガラス扉6の外周には、LEDランプなどによる電飾ランプが、略C字状に配置されている。一方、ガラス扉6の上部左右位置と下側には、全3個のスピーカが配置されている。上部に配置された2個のスピーカは、各々、左右チャネルR,Lの音声を出力し、下側のスピーカは重低音を出力するよう構成されている。   On the outer periphery of the glass door 6, an electric lamp such as an LED lamp is arranged in a substantially C shape. On the other hand, at the upper left and right positions and the lower side of the glass door 6, all three speakers are arranged. The two speakers arranged in the upper part are each configured to output sound of the left and right channels R and L, and the lower speaker is configured to output heavy bass.

前面板7には、発射用の遊技球を貯留する上皿8が装着され、前枠3の下部には、上皿8から溢れ出し又は抜き取った遊技球を貯留する下皿9と、発射ハンドル10とが設けられている。発射ハンドル10は発射モータと連動しており、発射ハンドル10の回動角度に応じて動作する打撃槌によって遊技球が発射される。   The front plate 7 is provided with an upper plate 8 for storing game balls for launching, and a lower plate 9 for storing game balls overflowing or extracted from the upper plate 8 and a launch handle at the lower part of the front frame 3. 10 are provided. The launch handle 10 is interlocked with the launch motor, and a game ball is launched by a striking rod that operates according to the rotation angle of the launch handle 10.

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

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

図2に示すように、遊技盤5の表面には、金属製の外レールと内レールとからなるガイドレール13が環状に設けられ、その略中央には、中央開口HOが設けられている。そして、中央開口HOには、大型の液晶カラーディスプレイ(LCD)で構成された表示装置DSが配置されている。   As shown in FIG. 2, a guide rail 13 made of a metal outer rail and an inner rail is provided on the surface of the game board 5 in an annular shape, and a central opening HO is provided at the approximate center thereof. A display device DS composed of a large liquid crystal color display (LCD) is disposed in the central opening HO.

表示装置DSは、大当り状態に係わる特定図柄を変動表示すると共に背景画像や各種のキャラクタなどをアニメーション的に表示する装置である。この表示装置DSは、中央部に特別図柄表示部Da〜Dcと右上部に普通図柄表示部19とを有している。そして、特別図柄表示部Da〜Dcでは、大当り状態の招来を期待させるリーチ演出が実行されることがあり、特別図柄表示部Da〜Dc及びその周りでは、適宜な予告演出などが実行される。   The display device DS is a device that variably displays a specific symbol related to the big hit state and displays a background image and various characters in an animated manner. This display device DS has special symbol display portions Da to Dc in the center portion and a normal symbol display portion 19 in the upper right portion. In the special symbol display portions Da to Dc, there is a case where a reach effect that expects a big hit state is invited, and in the special symbol display portions Da to Dc and the surroundings, an appropriate notice effect is executed.

遊技球が落下移動する遊技領域には、図柄始動口15、大入賞口16、普通入賞口17、及び、ゲート18が配設されている。これらの入賞口15〜18は、それぞれ内部に検出スイッチを有しており、遊技球の通過を検出できるようになっている。   In the game area where the game ball falls and moves, a symbol start port 15, a big winning port 16, a normal winning port 17, and a gate 18 are arranged. Each of these winning openings 15 to 18 has a detection switch inside, and can detect the passage of a game ball.

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

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

大入賞口16は、前後方向に進退する開閉板16aを有して構成されている。大入賞口16の動作は、特に限定されないが、典型的な大当り状態では、大入賞口16の開閉板16aが開放された後、所定時間が経過し、又は所定数(例えば10個)の遊技球が入賞すると開閉板16aが閉じる。このような動作は、最大で例えば15回まで継続され、遊技者に有利な状態に制御される。なお、特別図柄表示部Da〜Dcの変動後の停止図柄が特別図柄のうちの特定図柄であった場合には、特別遊技の終了後のゲームが高確率状態(確変状態)となるという特典が付与される。   The special winning opening 16 includes an opening / closing plate 16a that advances and retreats in the front-rear direction. The operation of the special winning opening 16 is not particularly limited, but in a typical big hit state, a predetermined time elapses after the opening / closing plate 16a of the special winning opening 16 is opened, or a predetermined number (for example, ten) of games. When the ball wins, the opening / closing plate 16a is closed. Such an operation is continued up to 15 times, for example, and is controlled in a state advantageous to the player. In addition, when the stop symbol after the change of the special symbol display parts Da to Dc is a specific symbol among the special symbols, there is a privilege that the game after the end of the special game becomes a high probability state (probability variation state). Is granted.

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

但し、この実施例では、主制御基板21が出力する制御コマンドCMDは、コマンド中継基板26と演出インタフェイス基板27を経由して、演出制御基板22に伝送される。また、演出制御基板22が出力する制御コマンドCMD’は、演出インタフェイス基板27と画像インタフェイス基板28を経由して、画像制御基板23に伝送され、主制御基板21が出力する制御コマンドCMD”は、主基板中継基板32を経由して、払出制御基板24に伝送される。制御コマンドCMD,CMD’,CMD”は、何れも16ビット長であるが、主制御基板21や払出制御基板24が関係する制御コマンドは、8ビット長毎に2回に分けてパラレル送信されている。一方、演出制御基板22から画像制御基板23に伝送される制御コマンドCMD’は、16ビット長をまとめてパラレル伝送されている。そのため、可動予告演出を含む予告演出を、多様化して多数の制御コマンドを連続的に送受信するような場合でも、迅速にその処理を終えることができ、他の制御動作に支障を与えない。   However, in this embodiment, the control command CMD output from the main control board 21 is transmitted to the effect control board 22 via the command relay board 26 and the effect interface board 27. The control command CMD ′ output from the effect control board 22 is transmitted to the image control board 23 via the effect interface board 27 and the image interface board 28, and is output from the main control board 21. Is transmitted to the payout control board 24 via the main board relay board 32. Although the control commands CMD, CMD ′, and CMD ″ are all 16 bits long, the main control board 21 and the payout control board 24 are used. The control commands related to are transmitted in parallel every two 8 bit lengths. On the other hand, the control command CMD 'transmitted from the effect control board 22 to the image control board 23 is 16 bits in length and transmitted in parallel. Therefore, even when the notification effects including the movable notification effect are diversified and a large number of control commands are continuously transmitted and received, the processing can be completed quickly, and other control operations are not hindered.

ところで、本実施例では、演出インタフェイス基板27と演出制御基板22とは、配線ケーブルを経由することなく、雄型コネクタと雌型コネクタとを直結されて二枚の回路基板が積層されている。同様に、画像インタフェイス基板28と画像制御基板23についても、配線ケーブルを経由することなく、雄型コネクタと雌型コネクタとを直結されて二枚の回路基板が積層されている。そのため、各電子回路の回路構成を複雑高度化しても基板全体の収納空間を最小化できると共に、接続ラインを最短化することで耐ノイズ性を高めることができる。   By the way, in the present embodiment, the production interface board 27 and the production control board 22 are directly connected to each other by a male connector and a female connector without passing through a wiring cable, and two circuit boards are laminated. . Similarly, with respect to the image interface board 28 and the image control board 23, two circuit boards are laminated by directly connecting a male connector and a female connector without going through a wiring cable. Therefore, even if the circuit configuration of each electronic circuit is complicated and sophisticated, the storage space of the entire board can be minimized, and noise resistance can be improved by minimizing the connection lines.

これら主制御基板21、演出制御基板22、画像制御基板23、及び払出制御基板24には、ワンチップマイコンを備えるコンピュータ回路がそれぞれ搭載されている。そこで、これらの制御基板21〜24とインタフェイス基板27〜28に搭載された回路、及びその回路によって実現される動作を機能的に総称して、本明細書では、主制御部21、演出制御部22’、画像制御部23’、及び払出制御部24と言うことがある。すなわち、この実施例では、演出制御基板22と演出インタフェイス基板27とで演出制御部22’を構成し、画像制御基板23と画像インタフェイス基板28とで画像制御部23’を構成している。なお、演出制御部22’、画像制御部23’、及び払出制御部24の全部又は一部がサブ制御部である。   The main control board 21, the effect control board 22, the image control board 23, and the payout control board 24 are each equipped with a computer circuit including a one-chip microcomputer. Therefore, in this specification, the control board 21 to 24, the circuits mounted on the interface boards 27 to 28, and the operations realized by the circuits are generically named. May be referred to as a section 22 ′, an image control section 23 ′, and a payout control section 24. That is, in this embodiment, the effect control board 22 and the effect interface board 27 constitute an effect control part 22 ′, and the image control board 23 and the image interface board 28 constitute an image control part 23 ′. . Note that all or part of the effect control unit 22 ′, the image control unit 23 ′, and the payout control unit 24 are sub-control units.

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

図3の破線枠に示す通り、枠側部材GM1には、電源基板20と、払出制御基板24と、発射制御基板25と、枠中継基板35と、ランプ駆動基板36とが含まれており、これらの回路基板が、前枠3の適所に各々固定されている。   As shown in the broken line frame in FIG. 3, the frame side member GM1 includes a power supply board 20, a payout control board 24, a launch control board 25, a frame relay board 35, and a lamp drive board 36. These circuit boards are respectively fixed at appropriate positions of the front frame 3.

ランプ駆動基板36には、複数のLEDが接続されており、これらのLED群を駆動する駆動データSDATAは、クロック同期方式のシリアル信号として、クロック信号CKや、動作許可信号ENABLEや、点灯クリア信号CLRと共に、演出制御基板22→演出インタフェイス基板27→枠中継基板34→枠中継基板35を経由して、ランプ駆動基板36に搭載された複数のドライバDRijに伝送されている。   A plurality of LEDs are connected to the lamp driving board 36, and the driving data SDATA for driving these LED groups is a clock signal CK, an operation permission signal ENABLE, and a lighting clear signal as serial signals of the clock synchronization method. Along with the CLR, the signal is transmitted to the plurality of drivers DRij mounted on the lamp driving board 36 via the effect control board 22 → the effect interface board 27 → the frame relay board 34 → the frame relay board 35.

実施例のドライバDRij(ドライバIC)は、各々、LEDや電飾ランプなどのLED群を最高24個まで駆動可能なLEDドライバ(例えばLV5236V)であり、本実施例では、ランプ駆動基板36のLEDドライバDRijで駆動されるLEDを、便宜上、第0チャンネル(CH0)のLED群と称している。   The driver DRij (driver IC) of the embodiment is an LED driver (for example, LV5236V) capable of driving up to 24 LED groups such as LEDs and illumination lamps. In this embodiment, the LED of the lamp driving board 36 is used. For convenience, the LEDs driven by the driver DRij are referred to as a 0th channel (CH0) LED group.

なお、実施例のドライバDRijは、適宜なモータドライバと協働することで、ステッピングモータなどのモータ群を駆動することもでき、例えば、4相の駆動パルスΦ1〜Φ4で駆動されるステッピングモータであれば、1個のドライバDRijで6個のモータを駆動できることになる。   The driver DRij of the embodiment can drive a motor group such as a stepping motor by cooperating with an appropriate motor driver. For example, the driver DRij is a stepping motor driven by four-phase driving pulses Φ1 to Φ4. If so, six motors can be driven by one driver DRij.

何れにしても、本実施例のドライバDRijは、シリアル信号SDATAを受けるシリアル入力端子SDATAと、クロック信号CKを受けるクロック端子SCLKと、動作許可信号ENABLEを受けるイネーブル端子SDENと、点灯クリア信号CLRを受けるリセット端子RSTとを有して構成されている(図5参照)。   In any case, the driver DRij of this embodiment receives the serial input terminal SDATA that receives the serial signal SDATA, the clock terminal SCLK that receives the clock signal CK, the enable terminal SDEN that receives the operation enable signal ENABLE, and the lighting clear signal CLR. It has a reset terminal RST for receiving it (see FIG. 5).

ところで、遊技盤5の背面には、主制御基板21、演出制御基板22、画像制御基板23が、表示装置DSやその他の回路基板と共に固定されている。そして、枠側部材GM1と盤側部材GM2とは、一箇所に集中配置された接続コネクタC1〜C4によって電気的に接続されている。   By the way, on the back of the game board 5, the main control board 21, the effect control board 22, and the image control board 23 are fixed together with the display device DS and other circuit boards. And the frame side member GM1 and the board | substrate side member GM2 are electrically connected by the connection connectors C1-C4 concentratedly arranged in one place.

電源基板20は、接続コネクタC2を通して、主基板中継基板32に接続され、接続コネクタC3を通して、電源中継基板33に接続されている。電源基板20には、交流電源の投入と遮断とを監視する電源監視部MNTが設けられている。電源監視部MNTは、交流電源が投入されたことを検知すると、所定時間だけシステムリセット信号SYSをLレベルに維持した後に、これをHレベルに遷移させる。   The power supply board 20 is connected to the main board relay board 32 through the connection connector C2, and is connected to the power supply relay board 33 through the connection connector C3. The power supply board 20 is provided with a power supply monitoring unit MNT that monitors whether AC power is turned on or off. When power supply monitoring unit MNT detects that AC power is turned on, it maintains system reset signal SYS at L level for a predetermined time, and then transitions it to H level.

また、電源監視部MNTは、交流電源の遮断を検知すると、電源異常信号ABN1,ABN2を、直ちにLレベルに遷移させる。なお、電源異常信号ABN1,ABN2は、電源投入後に速やかにHレベルとなる。   Further, when power supply monitoring unit MNT detects the interruption of the AC power supply, power supply abnormality signals ABN1 and ABN2 are immediately shifted to the L level. The power supply abnormality signals ABN1 and ABN2 quickly become H level after the power is turned on.

ところで、本実施例のシステムリセット信号は、交流電源に基づく直流電源によって生成されている。そのため、交流電源の投入(通常は電源スイッチのON)を検知してHレベルに増加した後は、直流電源電圧が異常レベルまで低下しない限り、Hレベルを維持する。したがって、直流電源電圧が維持された状態で、交流電源が瞬停状態となっても、システムリセット信号SYSがCPUをリセットすることはない。なお、電源異常信号ABN1,ABN2は、交流電源の瞬停状態でも出力される。   Incidentally, the system reset signal of this embodiment is generated by a DC power supply based on an AC power supply. For this reason, after detecting the turning-on of the AC power supply (usually turning on the power switch) and increasing it to the H level, the H level is maintained unless the DC power supply voltage drops to an abnormal level. Therefore, even if the AC power supply is in an instantaneous power interruption state while the DC power supply voltage is maintained, the system reset signal SYS does not reset the CPU. The power supply abnormality signals ABN1 and ABN2 are also output even when the AC power supply is instantaneously stopped.

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

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

電源基板20が出力するシステムリセット信号SYSは、電源基板20に交流電源24Vが投入されたことを示す電源リセット信号であり、この電源リセット信号によって演出制御部22’と画像制御部23’のワンチップマイコンは、その他のIC素子と共に電源リセットされるようになっている。なお、点灯クリア信号CLRは、ドライバDRijの内蔵レジスタなどを初期状態にリセットするべく、必要時に演出制御部22’から出力されるリセット信号であり、システムリセット信号SYSとは直接関係しない。   The system reset signal SYS output from the power supply board 20 is a power supply reset signal indicating that the AC power supply 24V has been applied to the power supply board 20, and one of the effect control unit 22 ′ and the image control unit 23 ′ is generated by the power supply reset signal. The chip microcomputer is reset together with other IC elements. The lighting clear signal CLR is a reset signal output from the effect control unit 22 'when necessary to reset the internal register of the driver DRij to an initial state, and is not directly related to the system reset signal SYS.

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

ところで、主制御部21や払出制御部24に設けられたリセット回路RSTは、各々ウォッチドッグタイマを内蔵しており、各制御部21,24のCPUから、定時的なクリアパルスを受けない限り、各CPUは強制的にリセットされる。   By the way, the reset circuits RST provided in the main control unit 21 and the payout control unit 24 each have a built-in watchdog timer, and unless a regular clear pulse is received from the CPUs of the control units 21 and 24, Each CPU is forcibly reset.

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

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

図3に示す通り、主制御部21は、主基板中継基板32を経由して、払出制御部24に制御コマンドCMD”を送信する一方、払出制御部24からは、遊技球の払出動作を示す賞球計数信号や、払出動作の異常に係わるステイタス信号CONや、動作開始信号BGNを受信している。ステイタス信号CONには、例えば、補給切れ信号、払出不足エラー信号、下皿満杯信号が含まれる。動作開始信号BGNは、電源投入後、払出制御部24の初期動作が完了したことを主制御部21に通知する信号である。   As shown in FIG. 3, the main control unit 21 transmits a control command CMD ″ to the payout control unit 24 via the main board relay board 32, while the payout control unit 24 indicates a game ball payout operation. A prize ball counting signal, a status signal CON relating to an abnormality in the payout operation, and an operation start signal BGN are received, and the status signal CON includes, for example, a replenishment signal, a payout shortage error signal, and a lower plate full signal. The operation start signal BGN is a signal for notifying the main control unit 21 that the initial operation of the payout control unit 24 has been completed after the power is turned on.

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

先に説明した通り、演出制御基板22と演出インタフェイス基板27とはコネクタ連結によって一体化されており、演出制御部22’は、電源中継基板33を経由して、電源基板20から各レベルの直流電圧(5V,12V,32V)と、システムリセット信号SYSを受けている(図3及び図4参照)。また、演出制御部22’は、コマンド中継基板26を経由して、主制御部21から制御コマンドCMDとストローブ信号STBとを受けている(図3及び図4参照)。   As described above, the effect control board 22 and the effect interface board 27 are integrated by connector connection, and the effect control unit 22 ′ is connected to each level from the power supply board 20 via the power relay board 33. A DC voltage (5V, 12V, 32V) and a system reset signal SYS are received (see FIGS. 3 and 4). The effect control unit 22 'receives the control command CMD and the strobe signal STB from the main control unit 21 via the command relay board 26 (see FIGS. 3 and 4).

そして、演出制御部22’は、演出インタフェイス基板27を経由して、ランプ駆動基板29やランプ駆動基板30に搭載されたドライバDRijに対して、ランプ駆動データSDATA(シリアル信号)を、動作許可信号ENABLE、クロック信号CK、及び点灯クリア信号CLRと共に供給している。特に限定されるものではないが、ランプ駆動基板29,30に搭載されているドライバDRijは、ランプ駆動基板36に搭載されたドライバDRijと同一構成であり、ランプ駆動基板29,30には、各々、5個のドライバDRijが配置されている。   Then, the effect control unit 22 ′ permits the operation of lamp drive data SDATA (serial signal) to the driver DRij mounted on the lamp drive substrate 29 and the lamp drive substrate 30 via the effect interface board 27. It is supplied together with the signal ENABLE, the clock signal CK, and the lighting clear signal CLR. Although not particularly limited, the driver DRij mounted on the lamp driving boards 29 and 30 has the same configuration as the driver DRij mounted on the lamp driving board 36, and each of the lamp driving boards 29 and 30 includes Five drivers DRij are arranged.

このような構成の場合、各ドライバDRijは、各々、シリアル信号(ランプ駆動データSDATA)を、クロック信号CKに同期して受信することで、最高24個のランプを駆動可能となる。そこで、以下の説明では、ランプ駆動基板29に接続された合計24×5個のランプを、第1チャンネルCH1のランプ群と称し、ランプ駆動基板30に接続された合計24×5個のランプを、第2チャンネルCH2のランプ群と称する。   In such a configuration, each driver DRij can drive up to 24 lamps by receiving a serial signal (lamp drive data SDATA) in synchronization with the clock signal CK. Therefore, in the following description, a total of 24 × 5 lamps connected to the lamp driving substrate 29 will be referred to as a lamp group of the first channel CH1, and a total of 24 × 5 lamps connected to the lamp driving substrate 30 will be referred to. , Referred to as a lamp group of the second channel CH2.

このように、本実施例では、多数(3×24×5個)のランプが、チャンネルCH0〜チャンネルCH2のランプ群に三分されて、各々、ランプ駆動基板36、ランプ駆動基板29、ランプ駆動基板30に接続されている(図5参照)。そして、各チャンネルCH0〜CH2の3種類のシリアル信号SDATA0〜SDATA2は、各々、クロック信号CK0〜CK2に同期して伝送される。   As described above, in this embodiment, a large number (3 × 24 × 5) of lamps are divided into three groups of lamps of channel CH0 to channel CH2, respectively, and the lamp driving board 36, the lamp driving board 29, and the lamp driving, respectively. It is connected to the substrate 30 (see FIG. 5). The three types of serial signals SDATA0 to SDATA2 of the channels CH0 to CH2 are transmitted in synchronization with the clock signals CK0 to CK2.

この構成に対応して、動作許可信号ENABLE0〜ENABLE2は、各チャンネルCH0〜CH2に属する一群のドライバDRijをアクティブにするための選択信号として機能している。また、点灯クリア信号CLRは、演出制御動作の開始時など、必要時に全ドライバDRijを、一斉に初期状態にリセットするために使用される。   Corresponding to this configuration, the operation enable signals ENABLE0 to ENABLE2 function as selection signals for activating a group of drivers DRij belonging to the channels CH0 to CH2. Further, the lighting clear signal CLR is used for simultaneously resetting all the drivers DRij to the initial state when necessary, such as at the start of the effect control operation.

そして、特定のチャンネルCHiに属するドライバDRijは、演出制御部22’のワンチップマイコン40が出力する一連のシリアル信号SDATAiのうち、該当部分だけをクロック信号CKiに同期して受信し、動作許可信号ENABLEiに同期して担当するランプ群を駆動している。   Then, the driver DRij belonging to the specific channel CHi receives only the corresponding part of the series of serial signals SDATAi output from the one-chip microcomputer 40 of the effect control unit 22 ′ in synchronization with the clock signal CKi, and receives the operation permission signal. The lamp group in charge is driven in synchronization with ENABLEi.

図5は、ランプ駆動基板36,29,30の回路構成を確認的に図示したものである。図示の通り、ランプ駆動基板36には、5個のドライバDR00,DR01・・・DR04が搭載されて、第0チャンネルのLED群(合計5×24個のLED)を点灯駆動している。同様に、ランプ駆動基板29には、5個のドライバDR10,DR11・・・DR14が搭載され、また、ランプ駆動基板30には、5個のドライバDR18,DR19・・・DR1Cが搭載されて、各々、第1チャンネルと第2チャンネルのLED群(合計5×24個のLED)を点灯駆動している。   FIG. 5 shows the circuit configuration of the lamp driving substrates 36, 29, and 30 in a confirmed manner. As shown in the figure, on the lamp driving board 36, five drivers DR00, DR01... DR04 are mounted to drive the LED group of the 0th channel (5 × 24 LEDs in total). Similarly, five drivers DR10, DR11... DR14 are mounted on the lamp driving board 29, and five drivers DR18, DR19... DR1C are mounted on the lamp driving board 30. Each of the LED groups of the first channel and the second channel (a total of 5 × 24 LEDs) is driven to light.

各ドライバDRijには、5ビットの付番端子が設けられており、この付番端子に固定的なデジタルデータが供給される回路構成を採ることで、各々スレーブアドレスSLV(ポートアドレス)が一連に付番されている。すなわち、図示例の場合には、各ドライバ(DR00,DR01・・・DR04、DR10,DR11・・・DR14、DR18,DR19・・・DR1C)のスレーブアドレスSLVは、16進数表示で、00H,01H・・・04H、10H,11H・・・14H、18H,19H・・・1CHとなっている。   Each driver DRij is provided with a 5-bit numbering terminal. By adopting a circuit configuration in which fixed digital data is supplied to this numbering terminal, each slave address SLV (port address) is serially provided. It is numbered. That is, in the case of the illustrated example, the slave address SLV of each driver (DR00, DR01... DR04, DR10, DR11... DR14, DR18, DR19... DR1C) is 00H, 01H in hexadecimal notation. ... 04H, 10H, 11H ... 14H, 18H, 19H ... 1CH.

このように、本実施例では、各ランプ制御基板36,29,30のドライバDRijに、一連のスレーブアドレスSLVを付番することで、各ドライバDRijに対する輝度データなどの設定処理を迅速化している。但し、一連のスレーブアドレスSLVは、必ずしも+1の関係で一連させる必要はなく、+Nや−Nの関係であっても良いのは勿論である。   As described above, in this embodiment, a series of slave addresses SLV are assigned to the drivers DRij of the lamp control boards 36, 29, and 30, thereby speeding up the setting processing of luminance data and the like for each driver DRij. . However, the series of slave addresses SLV need not necessarily be arranged in a +1 relationship, and may be in a + N or -N relationship.

何れにしても、各ドライバDRijには、24個のLEDを駆動する点灯駆動信号のアナログレベルを各々規定可能な24個の階調レジスタGR0〜GR23が内蔵されている。なお、このドライバDRijには、階調レジスタGRn以外にも多数の設定レジスタが用意されているが、本実施例では、説明の都合上、階調レジスタGRnだけを活用することにする。   In any case, each of the drivers DRij includes 24 gradation registers GR0 to GR23 that can respectively define analog levels of lighting drive signals for driving 24 LEDs. The driver DRij is provided with a large number of setting registers in addition to the gradation register GRn, but in this embodiment, only the gradation register GRn is used for the sake of explanation.

階調レジスタGRnは、各々、8ビット長の輝度データを記憶可能であり、LEDの輝度レベルを00H〜FFHまで256段階で設定することができる。つまり、実施例で使用するドライバDRijによれば、各LEDの輝度レベルを256階調(PWM=Duty比=0〜255/256=0〜99.6%)に制御である。もっとも、本実施例では、人間の視認感度を考慮して輝度レベルを16階調に抑制することとし、4ビット長16階調の輝度データ(00H〜0FH)を16倍して、00H〜F0Hの輝度データとしている。なお、輝度データ00Hは、消灯(Duty比=0%)を意味し、F0Hは、最大輝度による点灯を意味する。   Each of the gradation registers GRn can store 8-bit long luminance data, and the luminance level of the LED can be set in 256 steps from 00H to FFH. In other words, according to the driver DRij used in the embodiment, the brightness level of each LED is controlled to 256 gradations (PWM = Duty ratio = 0 to 255/256 = 0 to 99.6%). However, in this embodiment, the luminance level is suppressed to 16 gradations in consideration of human visual sensitivity, and the luminance data (00H to 0FH) of 4 bits and 16 gradations is multiplied by 16 to obtain 00H to F0H. Brightness data. The luminance data 00H means extinguishing (Duty ratio = 0%), and F0H means lighting with maximum luminance.

そして、24個の階調レジスタGR0〜GR23に対する設定値(輝度データLUi)は、ドライバDRijを特定するスレーブアドレスSLV(ポートアドレス)を特定した上で、階調レジスタGRiを特定するレジスタ番号REiと共に伝送される。ここで、輝度データLUiとレジスタ番号REiとは、本来的には一対一に対応するが、本実施例のように、輝度データLUiを設定すべき階調レジスタGRiのレジスタ番号REiが、昇順に連続する場合には、先頭の最小レジスタ番号RE0を特定した後は、これに続く一連のレジスタ番号の特定を省略することができる。   The set values (luminance data LUi) for the 24 gradation registers GR0 to GR23, together with the slave address SLV (port address) that identifies the driver DRij, together with the register number REi that identifies the gradation register GRi. Is transmitted. Here, the luminance data LUi and the register number REi have a one-to-one correspondence. However, as in the present embodiment, the register numbers REi of the gradation registers GRi to which the luminance data LUi is to be set are in ascending order. In the case of being consecutive, after specifying the first minimum register number RE0, it is possible to omit specification of a series of register numbers that follow.

したがって、本実施例の駆動データSDATAは、スレーブアドレスSLVと、先頭レジスタ番号RE0と、24個の輝度データLU0〜LU24とで一組となり、この一群一組のシリアルデータSDATAによって、所定のドライバDRijに対する設定データが規定される。なお、この点は、図6に関して再度説明する。   Therefore, the drive data SDATA of this embodiment is a set of the slave address SLV, the head register number RE0, and the 24 luminance data LU0 to LU24, and a predetermined driver DRij is formed by this group of sets of serial data SDATA. Setting data for is defined. This point will be described again with reference to FIG.

以上、ドライバDRijについて説明したが、先に説明した通り、同じドライバDRijを使用してステッピングモータを駆動することもでき、例えば、図3の破線に示すように、ランプ駆動基板30を経由して、演出モータ群M1〜Mnを駆動するのも好適である。この場合、モータ駆動データは、ランプ駆動データと同様のスレーブアドレスSLVやレジスタ番号REiが付加されたシリアル信号であり、演出内容を豊富化するべく演出モータ個数を増やしても、配線ケーブルが増加することがなく、機器構成が簡素化される。   Although the driver DRij has been described above, as described above, the stepping motor can be driven using the same driver DRij. For example, as shown by the broken line in FIG. It is also preferable to drive the production motor groups M1 to Mn. In this case, the motor drive data is a serial signal to which the slave address SLV and register number REi similar to the lamp drive data are added, and the number of wiring cables increases even if the number of effect motors is increased to enrich the effect contents. The equipment configuration is simplified.

図3及び図4に示す通り、演出制御部22’は、画像制御部23’に対して、制御コマンドCMD’及びストローブ信号STB’と、電源基板20から受けたシステムリセット信号SYSと、2種類の直流電圧(12V,5V)とを出力している。   As shown in FIGS. 3 and 4, the effect control unit 22 ′ has two types of control commands CMD ′ and strobe signal STB ′, and a system reset signal SYS received from the power supply board 20, with respect to the image control unit 23 ′. DC voltage (12V, 5V).

そして、画像制御部23’では、制御コマンドCMD’に基づいて表示装置DSを駆動して各種の画像演出を実行している。表示装置DSは、LEDバックライトによって発光しており、画像インタフェイス基板28から5対のLVDS(低電圧差動伝送Low voltage differential signaling)信号と、バックライト電源電圧(12V)とを受けて駆動されている(図4参照)。   Then, the image controller 23 'drives the display device DS based on the control command CMD' to execute various image effects. The display device DS emits light by an LED backlight, and is driven by receiving five pairs of LVDS (Low voltage differential signaling) signals and a backlight power supply voltage (12 V) from the image interface board 28. (See FIG. 4).

続いて、上記した演出制御部22’の構成について更に詳細に説明する。図4に示す通り、演出インタフェイス基板27は、電源中継基板33を経由して、電源基板20から3種類の直流電圧(5V,12V,32V)を受けている。ここで、直流電圧5Vは、デジタル論理回路の電源電圧として、演出インタフェイス基板27、ランプ駆動基板29、ランプ駆動基板30、画像インタフェイス基板28、及び画像制御基板23に配電されて各デジタル回路を動作させている。   Next, the configuration of the effect control unit 22 'described above will be described in more detail. As shown in FIG. 4, the production interface board 27 receives three types of DC voltages (5V, 12V, and 32V) from the power supply board 20 via the power supply relay board 33. Here, the DC voltage 5V is distributed as power supply voltage of the digital logic circuit to the rendering interface board 27, the lamp driving board 29, the lamp driving board 30, the image interface board 28, and the image control board 23, and is supplied to each digital circuit. Is operating.

但し、演出制御基板22には、直流電圧5Vが配電されておらず、12VからDC/DCコンバータで降圧された直流電圧3.3Vと、3.3VからDC/DCコンバータで更に降圧された直流電圧1.8Vだけが、演出インタフェイス基板27から演出制御基板22に配電されている。   However, the direct current voltage 5V is not distributed on the effect control board 22, and the direct current voltage 3.3V stepped down from 12V by the DC / DC converter and the direct current stepped down from 3.3V by the DC / DC converter. Only the voltage 1.8V is distributed from the production interface board 27 to the production control board 22.

このように、本実施例の演出制御基板22は、全ての回路が、電源電圧3.3V又はそれ以下の電源電圧で駆動されるので、電源電圧を5Vで動作する場合と比較して大幅に低電力化することができ、仮に、演出制御基板22の直上に演出インタフェイス基板27を配置して積層しても放熱上の問題が生じない。   As described above, the production control board 22 of the present embodiment is driven by the power supply voltage of 3.3V or lower because all the circuits are driven. The power can be reduced, and even if the effect interface board 27 is arranged and stacked immediately above the effect control board 22, no heat dissipation problem occurs.

但し、電源基板20から受けた直流電圧12Vは、そのままデジタルアンプ46の電源電圧として使用されると共に、ランプ駆動基板30とランプ駆動基板29に配電されて各ランプ群の電源電圧となる。また、直流電圧32Vは、演出インタフェイス基板のDC/DCコンバータにおいて直流電圧13Vに降圧されて、必要に応じて、演出モータM1〜Mnの駆動電源として使用される。   However, the DC voltage 12V received from the power supply board 20 is used as it is as the power supply voltage of the digital amplifier 46 and is distributed to the lamp drive board 30 and the lamp drive board 29 to become the power supply voltage of each lamp group. The direct current voltage 32V is stepped down to the direct current voltage 13V in the DC / DC converter of the production interface board and used as a drive power source for the production motors M1 to Mn as necessary.

図4に示すように、演出制御部22’は、音声演出・ランプ演出・演出可動体による予告演出・データ転送などの処理を実行するワンチップマイコン40と、ワンチップマイコン40の制御プログラムなどを記憶するフラッシュメモリ(flash memory)41と、ワンチップマイコン40からの指示に基づいて音声信号を再生して出力する音声合成回路42と、再生される音声信号の元データである圧縮音声データを記憶する音声用メモリ43とを備えて構成されている。   As shown in FIG. 4, the effect control unit 22 ′ includes a one-chip microcomputer 40 that executes processing such as a sound effect, a lamp effect, a notice effect by the effect movable body, and data transfer, and a control program for the one-chip microcomputer 40. A flash memory 41 to be stored, a voice synthesis circuit 42 that reproduces and outputs a voice signal based on an instruction from the one-chip microcomputer 40, and compressed voice data that is original data of the reproduced voice signal are stored. And an audio memory 43 that is configured.

ワンチップマイコン40、フラッシュメモリ41、及び音声用メモリ43は、電源電圧3.3Vで動作しており、また、音声合成回路42は、電源電圧3.3V及び電源電圧1.8Vで動作しており大幅な省電力化が実現されている。ここで、1.8Vは、音声合成回路のコンピュータ・コア部の電源電圧であり、3.3Vは、I/O部の電源電圧である。   The one-chip microcomputer 40, the flash memory 41, and the voice memory 43 operate at a power supply voltage 3.3V, and the voice synthesis circuit 42 operates at a power supply voltage 3.3V and a power supply voltage 1.8V. As a result, significant power savings have been achieved. Here, 1.8V is the power supply voltage of the computer core part of the speech synthesis circuit, and 3.3V is the power supply voltage of the I / O part.

ワンチップマイコン40には、複数のパラレル入出力ポートPIO(Pi+Po+Po’)と、複数のシリアル出力ポートSIとが内蔵されている。ここで、シリアル出力ポートSIは、より詳細には、3チャンネルのシリアルポートSI(S0〜S2)を含んで構成されており(図6参照)、ランプ駆動基板36、29、30に搭載された各5個のドライバDRijに、各々、ランプ駆動データSDATA0〜SDATA2を、クロック信号CK0〜CK2に同期して出力している。   The one-chip microcomputer 40 includes a plurality of parallel input / output ports PIO (Pi + Po + Po ′) and a plurality of serial output ports SI. Here, more specifically, the serial output port SI includes three-channel serial ports SI (S0 to S2) (see FIG. 6) and is mounted on the lamp driving boards 36, 29, and 30. Lamp drive data SDATA0 to SDATA2 are output to each of the five drivers DRij in synchronization with the clock signals CK0 to CK2.

先に説明した通り、ランプ駆動データSDATA0〜SDATA2は、主として、各LEDの発光輝度をPWM制御(pulse width modulation)によって輝度調整するため輝度データであり、輝度データに先行して、ドライバDRijを特定するスレーブアドレスSLVと、階調レジスタGRiの先頭アドレスを特定するレジスタ番号RE0とが付加されている。   As described above, the lamp driving data SDATA0 to SDATA2 are mainly luminance data for adjusting the luminance of each LED by PWM control (pulse width modulation), and the driver DRij is specified prior to the luminance data. A slave address SLV to be registered and a register number RE0 for specifying the head address of the gradation register GRi are added.

また、ランプ駆動基板36、29、30は、パラレル入出力ポートPIOのパラレル出力ポートPo’にも接続されており、各ランプ駆動基板36、29、30に搭載されたドライバDRijは、パラレル出力ポートPo’が出力する点灯クリア信号CLRに基づいて一斉にリセット状態となり、その後、3ビット長の動作許可信号ENABLE0〜ENABLE2の何れかに基づいて動作を開始している。   The lamp driving boards 36, 29, 30 are also connected to the parallel output port Po ′ of the parallel input / output port PIO. The driver DRij mounted on each of the lamp driving boards 36, 29, 30 is a parallel output port. The reset state is simultaneously performed based on the lighting clear signal CLR output by Po ′, and thereafter, the operation is started based on any of the 3-bit operation enable signals ENABLE0 to ENABLE2.

一方、パラレル入出力ポートPIOの入力ポートPiには、主制御部21からの制御コマンドCMD及びストローブ信号STBが入力され、コマンド出力ポートPoからは、制御コマンドCMD’及びストローブ信号STB’が出力されるよう構成されている。   On the other hand, the control command CMD and the strobe signal STB from the main control unit 21 are input to the input port Pi of the parallel input / output port PIO, and the control command CMD ′ and the strobe signal STB ′ are output from the command output port Po. It is comprised so that.

具体的には、入力ポートPiには、主制御基板21から出力された制御コマンドCMDとストローブ信号(割込み信号)STBとが、演出インタフェイス基板27のバッファ44において、電源電圧3.3Vに対応する論理レベルに変換されて8ビット単位で供給される。割込み信号STBは、ワンチップマイコンの割込み端子に供給され、受信割込み処理によって、演出制御部22’は、制御コマンドCMDを取得するよう構成されている。   Specifically, a control command CMD and a strobe signal (interrupt signal) STB output from the main control board 21 correspond to the power supply voltage 3.3 V in the buffer 44 of the effect interface board 27 at the input port Pi. Converted to a logic level to be supplied in units of 8 bits. The interrupt signal STB is supplied to the interrupt terminal of the one-chip microcomputer, and the effect control unit 22 'is configured to acquire the control command CMD by the reception interrupt process.

演出制御部22’が取得する制御コマンドCMDには、(1)異常報知その他の報知用制御コマンドなどの他に、(2)図柄始動口への入賞に起因する各種演出動作の概要特定する制御コマンド(変動パターンコマンド)や、図柄種別を指定する制御コマンド(図柄指定コマンド)が含まれている。ここで、変動パターンコマンドで特定される演出動作の概要には、演出開始から演出終了までの演出総時間と、大当たり抽選における当否結果とが含まれている。   The control command CMD acquired by the effect control unit 22 ′ includes (1) an abnormality notification and other notification control commands, and (2) control for specifying an outline of various effect operations resulting from winning at the symbol start opening. A command (variation pattern command) and a control command (symbol designation command) for designating a symbol type are included. Here, the outline of the production operation specified by the variation pattern command includes the production total time from the production start to the production end and the result of winning or failing in the jackpot lottery.

また、図柄指定コマンドには、大当たり抽選の結果に応じて、大当たりの場合には、大当たり種別に関する情報(15R確変、2R確変、15R通常、2R通常など)を特定する情報が含まれ、ハズレの場合には、ハズレを特定する情報が含まれている。変動パターンコマンドで特定される演出動作の概要には、演出開始から演出終了までの演出総時間と、大当り抽選における当否結果とが含まれている。なお、これらに加えて、リーチ演出や予告演出の有無などを含めて変動パターンコマンドで特定しても良いが、この場合でも、演出内容の具体的な内容は特定されていない。   In addition, the symbol designating command includes information for identifying information on the jackpot type (15R probability variation, 2R probability variation, 15R normal, 2R normal, etc.) in the case of a jackpot according to the result of the jackpot lottery. In some cases, information for identifying a loss is included. The outline of the production operation specified by the variation pattern command includes the production total time from the production start to the production end, and the result of success or failure in the big hit lottery. In addition to these, the change pattern command including the presence or absence of the reach effect or the notice effect may be specified, but even in this case, the specific content of the effect content is not specified.

そのため、演出制御部22’では、変動パターンコマンドを取得すると、これに続いて演出抽選を行い、取得した変動パターンコマンドで特定される演出概要を更に具体化している。例えば、リーチ演出や予告演出について、その具体的な内容が決定される。そして、決定された具体的な遊技内容にしたがい、LED群などの点滅によるランプ演出や、スピーカによる音声演出の準備動作を行うと共に、画像制御部23’に対して、ランプやスピーカによる演出動作に同期した画像演出に関する制御コマンドCMD’を出力する。   Therefore, when the change pattern command is acquired, the effect control unit 22 ′ performs an effect lottery subsequently to further specify the effect outline specified by the acquired change pattern command. For example, the specific contents of the reach effect and the notice effect are determined. Then, in accordance with the determined specific game content, a lamp effect by blinking LEDs and a sound effect preparation operation by a speaker are performed, and an effect operation by a lamp or speaker is performed on the image control unit 23 ′. A control command CMD ′ relating to the synchronized image effect is output.

このような演出動作に同期した画像演出を実現するため、演出制御部22’は、コマンド出力ポートPoを通して、画像制御部23’に対するストローブ信号(割込み信号)STB’と共に、16ビット長の制御コマンドCMD’を演出インタフェイス基板27に向けて出力している。なお、演出制御部22’は、図柄指定コマンドや、表示装置DSに関連する報知用制御コマンドや、その他の制御コマンドを受信した場合は、その制御コマンドを、16ビット長に纏めた状態で、割込み信号STB’と共に演出インタフェイス基板27に向けて出力している。   In order to realize such an image effect synchronized with the effect operation, the effect control unit 22 ′, along with the strobe signal (interrupt signal) STB ′ for the image control unit 23 ′, is sent to the image control unit 23 ′ through the command output port Po. CMD ′ is output toward the production interface board 27. When the production control unit 22 ′ receives a design designation command, a notification control command related to the display device DS, and other control commands, the control command is summarized in a 16-bit length. It is output toward the production interface board 27 together with the interrupt signal STB ′.

上記した演出制御基板22の構成に対応して、演出インタフェイス基板27には出力バッファ45が設けられており、16ビット長の制御コマンドCMD’と1ビット長の割込み信号STB’を画像インタフェイス基板28に出力している。そして、これらのデータCMD’,STB’は、画像インタフェイス基板28を経由して、画像制御基板23に伝送される。   Corresponding to the configuration of the production control board 22 described above, the production interface board 27 is provided with an output buffer 45, and a 16-bit control command CMD ′ and a 1-bit interrupt signal STB ′ are sent to the image interface. It is output to the substrate 28. These data CMD ′ and STB ′ are transmitted to the image control board 23 via the image interface board 28.

また、演出インタフェイス基板27には、音声合成回路42から出力される音声信号を受けるデジタルアンプ46が配置されている。先に説明した通り、音声合成回路42は、3.3Vと1.8Vの電源電圧で動作しており、また、デジタルアンプ46は、電源電圧12VでD級増幅動作しており、消費電力を抑制しつつ大音量の音声演出を可能にしている。   The effect interface board 27 is provided with a digital amplifier 46 that receives the audio signal output from the audio synthesis circuit 42. As described above, the speech synthesis circuit 42 operates with power supply voltages of 3.3 V and 1.8 V, and the digital amplifier 46 performs class D amplification operation with a power supply voltage of 12 V, reducing power consumption. It is possible to produce a loud sound while suppressing it.

そして、デジタルアンプ46の出力によって、遊技機上部の左右スピーカと、遊技機下部のスピーカとを駆動している。そのため、音声合成回路42は、3チャネルの音声信号を生成する必要があり、これをパラレル伝送すると、音声合成回路42とデジタルアンプ46との配線が複雑化する。   The left and right speakers at the upper part of the gaming machine and the speakers at the lower part of the gaming machine are driven by the output of the digital amplifier 46. Therefore, the voice synthesis circuit 42 needs to generate a three-channel voice signal, and if this is transmitted in parallel, the wiring between the voice synthesis circuit 42 and the digital amplifier 46 becomes complicated.

そこで、本実施例では、音質の劣化を防止すると共に、配線の複雑化を回避するため、音声合成回路42とデジタルアンプ46との間は、4本の信号線で接続されており、具体的には、転送クロック信号SCLKと、チャネル制御信号LRCLKと、2ビット長のシリアル信号SD1,SD2との合計4ビットの信号線に抑制されている。なお、何れの信号も、通常のシングルエンド(single-ended)信号であって、その振幅レベルは理論値3.3Vである。   Therefore, in this embodiment, the voice synthesis circuit 42 and the digital amplifier 46 are connected by four signal lines in order to prevent deterioration of sound quality and avoid complicated wiring. In this case, the transfer clock signal SCLK, the channel control signal LRCLK, and the 2-bit serial signals SD1 and SD2 are suppressed to a total of 4 bit signal lines. Each signal is a normal single-ended signal, and its amplitude level is a theoretical value of 3.3V.

ここで、シリアル信号SD1は、遊技機上部に配置された左右スピーカのステレオ信号R,Lを特定するPCMデータについてのシリアル信号であり、シリアル信号SD2は、遊技機下部に配置された重低音スピーカのモノラル信号を特定するPCMデータについてのシリアル信号である。そして、音声合成回路42は、チャネル制御信号LRCLKをLレベルに維持した状態で、左チャネルの音声信号Lを伝送し、チャネル制御信号LRCLKをHレベルに維持した状態で、右チャネルの音声信号Rを伝送する(図4(b)参照)。なお、重低音スピーカは本実施例では1個であるので、モノラル音声信号が伝送されているが、ステレオ音声信号として伝送できるのは勿論である。   Here, the serial signal SD1 is a serial signal for PCM data specifying the stereo signals R and L of the left and right speakers arranged at the upper part of the gaming machine, and the serial signal SD2 is a heavy bass speaker arranged at the lower part of the gaming machine. This is a serial signal for PCM data specifying a monaural signal. The voice synthesis circuit 42 transmits the left channel audio signal L while maintaining the channel control signal LRCLK at the L level, and maintains the channel control signal LRCLK at H level while maintaining the channel control signal LRCLK at the L level. Is transmitted (see FIG. 4B). Note that since there is only one heavy bass speaker in this embodiment, a monaural audio signal is transmitted, but it is of course possible to transmit it as a stereo audio signal.

何れにしても本実施例では、4種類の音声信号を4本のケーブルで伝送可能であるので、最小のケーブル本数によってノイズによる音声劣化のない信号伝達が可能となる。すなわち、シリアル伝送であるのでパラレル伝送より圧倒的にケーブル本数が少な。なお、アナログ伝送を採る場合には、ケーブル本数は同数であるが、3.3V振幅のアナログ信号に、少なからずノイズが重畳して、音質が大幅に劣化する。一方、振幅レベルを上げると、電源配線が複雑化する上に消費電力が増加する。   In any case, in this embodiment, four types of audio signals can be transmitted with four cables, and therefore, signal transmission without audio deterioration due to noise can be performed with the minimum number of cables. That is, since it is serial transmission, the number of cables is far smaller than that of parallel transmission. Note that when analog transmission is employed, the number of cables is the same, but noise is superimposed on an analog signal having an amplitude of 3.3 V, and the sound quality is greatly deteriorated. On the other hand, when the amplitude level is increased, the power supply wiring becomes complicated and the power consumption increases.

このようなシリアル信号SD1,SD2は、クロック信号SCLKの立上りエッジに同期して、デジタルアンプ46に取得される。そして、デジタルアンプ46内部で、所定ビット長毎にパラレル変換され、DA変換後にD級増幅されて各スピーカに供給されている。   Such serial signals SD1 and SD2 are acquired by the digital amplifier 46 in synchronization with the rising edge of the clock signal SCLK. In the digital amplifier 46, parallel conversion is performed for each predetermined bit length, and after D / A conversion, D-class amplification is performed and supplied to each speaker.

また、演出インタフェイス基板27には、ワンチップマイコン40のパラレル出力ポートPo’や、シリアルポートSIや出力される各種の信号を伝送する出力バッファ回路47,48,49が設けられている。ここで、出力バッファ47は、第0チャンネルのLED群に関連しており、ワンチップマイコン40が出力する動作許可信号ENABLE0、及び、点灯クリア信号CLRを、通常のシングルエンド信号として、枠中継基板34に出力している。なお、このシングルエンド信号の振幅は、理論値で3.3Vである。   The effect interface board 27 is provided with parallel output port Po 'of the one-chip microcomputer 40, serial buffer SI, and output buffer circuits 47, 48, and 49 for transmitting various signals to be output. Here, the output buffer 47 is related to the LED group of the 0th channel, and the frame relay board uses the operation enable signal ENABLE0 and the lighting clear signal CLR output from the one-chip microcomputer 40 as normal single end signals. 34 is output. The amplitude of this single end signal is 3.3 V in theory.

一方、ワンチップマイコン40から伝送されたランプ駆動データSDATA0及びクロック信号CK0については、各々、差動ラインドライバDri(Differential Line Driver DS90C031Bなど)を通して、差動(differential)信号として、枠中継基板34に出力される。   On the other hand, the lamp driving data SDATA0 and the clock signal CK0 transmitted from the one-chip microcomputer 40 are respectively transmitted to the frame relay board 34 as differential signals through a differential line driver Dri (Differential Line Driver DS90C031B, etc.). Is output.

このように、本実施例では、高速にレベル変化する伝送信号SDATAi,CKiについては、差動ラインドライバDriによって、その電圧振幅が数100mV(例えば±350mV)に抑制されているので、各伝送線から漏洩する伝送信号SDATAi,CKiの高調波成分のエネルギーが効果的に抑制されることになり、仮に、各伝送線がアンテナとして機能しても、電波法上の問題を起こすおそれが解消される。また、伝送信号SDATAi,CKiは、差動信号として伝送されることで、コモンモードノイズの影響が排除されるので、枠側部材GM1までの伝送距離が長い場合でも、外乱に基づくシリアル信号のビット化けが防止される。   As described above, in this embodiment, the transmission signals SDATAi and CKi whose levels change at high speed are suppressed to a few hundred mV (for example, ± 350 mV) by the differential line driver Dri. The energy of the harmonic components of the transmission signals SDATAi and CKi leaking from the antenna is effectively suppressed, and even if each transmission line functions as an antenna, the possibility of causing problems in the radio law is eliminated. . Further, since the transmission signals SDATAi and CKi are transmitted as differential signals, the influence of common mode noise is eliminated, so even if the transmission distance to the frame side member GM1 is long, the bit of the serial signal based on disturbance Garbage is prevented.

枠中継基板34に出力された4種類の信号(ENABLE0,CLR,SDATA0,CK0)は、その信号形式を維持した状態で、枠中継基板34、及び、枠中継基板35を経由して、ランプ駆動基板36に伝送され、シングルエンド信号はそのままドライバDRijに供給され、差動信号については、差動ラインレシーバRec(Differential Line Receiver DS90C402 など)においてシングルエンド信号に変換されてドライバDRijに供給される(図5参照)。   The four types of signals (ENABLE0, CLR, SDATA0, CK0) output to the frame relay board 34 are lamp driven via the frame relay board 34 and the frame relay board 35 while maintaining the signal format. The single-ended signal is transmitted to the board 36 and supplied as it is to the driver DRij, and the differential signal is converted into a single-ended signal by a differential line receiver Rec (Differential Line Receiver DS90C402 or the like) and supplied to the driver DRij ( (See FIG. 5).

また、出力バッファ48は、ワンチップマイコン40が出力するランプ駆動データSDATA1、クロック信号CK1、動作許可信号ENABLE1、及び、点灯クリア信号CLRを、直接、又は差動ラインドライバDriを経由して、ランプ駆動基板29に伝送し、ランプ駆動基板29では、受信した差動信号については、差動ラインレシーバRecでシングルエンド信号に変換した上でドライバDRijに供給している。   The output buffer 48 outputs the lamp drive data SDATA1, the clock signal CK1, the operation enable signal ENABLE1, and the lighting clear signal CLR output from the one-chip microcomputer 40 directly or via the differential line driver Dri. The differential signal received and transmitted to the drive board 29 is converted to a single-ended signal by the differential line receiver Rec and supplied to the driver DRij.

同様に、出力バッファ49は、ランプ駆動データSDATA2、クロック信号CK2、動作許可信号ENABLE2、及び、点灯クリア信号CLRを、直接、又は差動ラインドライバDriを経由して、ランプ駆動基板30に伝送し、ランプ駆動基板30では、受信した差動信号については、差動ラインレシーバRecでシングルエンド信号に変換した上でドライバDRijに供給している(図5参照)。   Similarly, the output buffer 49 transmits the lamp drive data SDATA2, the clock signal CK2, the operation enable signal ENABLE2, and the lighting clear signal CLR to the lamp drive substrate 30 directly or via the differential line driver Dri. In the lamp driving substrate 30, the received differential signal is converted into a single-ended signal by the differential line receiver Rec and then supplied to the driver DRij (see FIG. 5).

そして、ランプ駆動基板36とランプ駆動基板29とランプ駆動基板30のドライバDRijは、各々、第0チャンネルと第1チャンネルと第2チャンネルのLED群を駆動している。なお、ランプ駆動基板29やランプ駆動基板30へのランプ駆動データSDATAやクロック信号CKについては、必ずしも、差動信号での伝送に限定されず、例えば、伝送距離が短いような場合には、シングルエンド信号での伝送でも良い。   The drivers DRij of the lamp driving board 36, the lamp driving board 29, and the lamp driving board 30 drive the LED groups of the 0th channel, the 1st channel, and the 2nd channel, respectively. Note that the lamp drive data SDATA and the clock signal CK to the lamp drive board 29 and the lamp drive board 30 are not necessarily limited to transmission by differential signals. For example, when the transmission distance is short, a single signal is used. Transmission using an end signal is also possible.

次に、図6(a)は、演出制御基板22’と、ランプ駆動基板29,30,36に搭載されたドライバDRijとの接続関係を、ワンチップマイコン40に内蔵されたシリアルポートSIの内部構成と共に図示したものである。   Next, FIG. 6A shows the connection relationship between the effect control board 22 ′ and the driver DRij mounted on the lamp drive boards 29, 30, 36 inside the serial port SI built in the one-chip microcomputer 40. It is shown together with the configuration.

図示の通り、この実施例では、ランプ駆動データSDATAiと、クロック信号CKiは、演出制御基板22’のシリアルポートSIにおいて生成され、各々、差動ラインドライバDriと、差動ラインレシーバRecとの間は、LVDS(Low voltage differential signaling)信号として伝送される。   As shown in the figure, in this embodiment, the lamp drive data SDATAi and the clock signal CKi are generated at the serial port SI of the effect control board 22 ′, and are respectively between the differential line driver Dri and the differential line receiver Rec. Is transmitted as an LVDS (Low voltage differential signaling) signal.

先に説明した通り、ランプ駆動基板29,30,36まで伝送されたLVDS信号は、差動ラインレシーバRecによって、TTLレベル又はCMOSレベルの電圧レベルに変換されてドライバDRijに供給される。なお、高速で変化することのない動作許可信号ENABLEiと点灯クリア信号CLRについては、パラレル出力ポートPo’の出力が、そのまま伝送される。   As described above, the LVDS signal transmitted to the lamp driving substrates 29, 30, and 36 is converted into a voltage level of TTL level or CMOS level by the differential line receiver Rec and supplied to the driver DRij. As for the operation enable signal ENABLEi and the lighting clear signal CLR that do not change at high speed, the output of the parallel output port Po 'is transmitted as it is.

図5や図6(a)に示す通り、ランプ駆動データSDATAiとクロック信号CKiは、各チャンネルCHiのランプ駆動基板に搭載された全ドライバDRijの信号入力端子SDATAとクロック端子SCLKに共通的に供給される。同様に、動作許可信号ENABLEiと点灯クリア信号CLRは、各チャンネルCHiのランプ駆動基板に搭載された全てのドライバDRijのイネーブル端子SDENとリセット端子RSTに共通的に供給される。   As shown in FIGS. 5 and 6A, the lamp driving data SDATAi and the clock signal CKi are commonly supplied to the signal input terminals SDATA and the clock terminals SCLK of all the drivers DRij mounted on the lamp driving board of each channel CHi. Is done. Similarly, the operation permission signal ENABLEi and the lighting clear signal CLR are commonly supplied to the enable terminal SDEN and the reset terminal RST of all the drivers DRij mounted on the lamp driving board of each channel CHi.

そして、点灯クリア信号CLRがLレベルになると、全てのチャンネルCH0〜CH2の全ドライバDRijが一斉にリセット状態となり、動作許可信号ENABLEiがアクティブレベルになると、そのチャンネルCHiの全ドライバDRijが動作可能状態となり、ランプ駆動データSDATAiの読込動作が可能となる。   When the lighting clear signal CLR becomes L level, all the drivers DRij of all the channels CH0 to CH2 are simultaneously reset, and when the operation permission signal ENABLEi becomes the active level, all the drivers DRij of the channel CHi are operable. Thus, the reading operation of the lamp driving data SDATAi becomes possible.

続いて、ワンチップマイコン40に内蔵されたシリアルポートSIについて説明する(図6(a)参照)。シリアルポートS0〜シリアルポートS2は全ての同一構成であり、CPUコアから1バイトデータを受ける送信データレジスタDRと、送信データレジスタDRから1バイトデータの転送を受けて、ランプ駆動データSDATAiとしてシリアル出力する送信シフトレジスタSRと、シリアルポートの内部動作状態を管理する多数の制御レジスタRGと、カウンタ回路CTの出力パルスΦを受けて制御レジスタRGが指定する分周比のクロック信号CKiを出力するボーレートジェネレータBGと、を有して構成されている。   Next, the serial port SI built in the one-chip microcomputer 40 will be described (see FIG. 6A). The serial port S0 to serial port S2 all have the same configuration, and receive serial data as lamp drive data SDATAi upon receiving 1-byte data from the CPU core and 1-byte data transferred from the transmission data register DR. Transmission shift register SR, a number of control registers RG for managing the internal operation state of the serial port, and a baud rate for receiving the output pulse Φ of the counter circuit CT and outputting a clock signal CKi having a frequency division ratio designated by the control register RG And a generator BG.

ここで、制御レジスタRGには、エンプティビットEMPを含んだREAD可能な制御レジスタが含まれており、送信データレジスタDRが、新規データを受け入れ可能か否かを示している。すなわち、送信シフトレジスタSRの1バイトデータの送信が完了すると、エンプティビットEMPがHレベル(empty レベル)に遷移して、送信データレジスタDRに、新規データを書込むことができることが示される。したがって、CPUコア(以下、CPUと称す)は、エンプティビットEMPがHレベルであることを確認した上で、新規データを送信データレジスタDRに書込むことになる。   Here, the control register RG includes a READable control register including the empty bit EMP, and indicates whether or not the transmission data register DR can accept new data. That is, when transmission of 1-byte data in transmission shift register SR is completed, empty bit EMP changes to H level (empty level), indicating that new data can be written into transmission data register DR. Therefore, the CPU core (hereinafter referred to as CPU) writes new data into the transmission data register DR after confirming that the empty bit EMP is at the H level.

また、制御レジスタRGには、送信許可ビットTXEを含んだWRITE可能な制御レジスタが含まれており、CPUが送信許可ビットTXEをON(H)レベルに設定すると、シリアルポートの送信動作が許可され、OFFレベルに設定すると送信動作が禁止される。そこで、本実施例では、CPUは、送信処理の開始時に送信許可ビットTXEをON状態にセットし、送信処理の終了時に送信許可ビットTXEをOFFレベルにリセットしている。   The control register RG includes a WRITE control register including a transmission permission bit TXE. When the CPU sets the transmission permission bit TXE to the ON (H) level, the serial port transmission operation is permitted. When set to the OFF level, the transmission operation is prohibited. Therefore, in this embodiment, the CPU sets the transmission permission bit TXE to the ON state at the start of the transmission process, and resets the transmission permission bit TXE to the OFF level at the end of the transmission process.

図6(b)は、シリアルポートS0〜S2について、送信開始時の動作を示すタイムチャートである。図示の通り、シリアルポートS0〜S2が送信禁止状態(TXE=L)である場合や、送信データレジスタDRのデータがシリアル出力された後は、クロック信号CKが固定状態のHレベルである。また、送信データレジスタDRは空であり、エンプティビットEMPもHレベル(empty レベル)である。   FIG. 6B is a time chart showing the operation at the start of transmission for the serial ports S0 to S2. As shown in the figure, when the serial ports S0 to S2 are in the transmission prohibited state (TXE = L), or after the data of the transmission data register DR is serially output, the clock signal CK is at the fixed H level. The transmission data register DR is empty, and the empty bit EMP is also at the H level (empty level).

そして、CPUが送信許可ビットTXEをON状態(送信許可状態)にセットした後、送信データレジスタDRに1バイト目の送信データを書込むと、エンプティビットEMPがLレベルに遷移すると共に、その後、所定時間(τ)経過後に、1バイト目の送信データが送信シフトレジスタSRに転送されて、シリアル送信動作が開始される。   Then, after the CPU sets the transmission permission bit TXE to the ON state (transmission permission state) and then writes the first byte of transmission data to the transmission data register DR, the empty bit EMP transitions to the L level, and then After a predetermined time (τ) elapses, the first byte of transmission data is transferred to the transmission shift register SR, and the serial transmission operation is started.

また、送信データが送信シフトレジスタSRに転送されたことで、1ビット目のシリアル送信開始に対応して、その後は、エンプティビットEMPがHレベル(empty レベル)に遷移する。したがって、CPUは、HレベルのエンプティビットEMPを確認した上で、2バイト目の送信データを、送信データレジスタDRに書込むことになる。   Further, since the transmission data is transferred to the transmission shift register SR, the empty bit EMP transitions to the H level (empty level) thereafter in response to the start of serial transmission of the first bit. Therefore, after confirming the H level empty bit EMP, the CPU writes the second byte of transmission data into the transmission data register DR.

すると、送信データレジスタDRへのデータ書込み動作に対応して、エンプティビットEMPがLレベル(fullレベル)に遷移する。そして、その後、1バイト目の送信データが全て送信されると、送信データレジスタDRから送信シフトレジスタSRに2バイト目のデータが転送され、2バイト目のデータ送信が開始されて、エンプティビットEMPがHレベルに遷移する。   Then, in response to the data write operation to the transmission data register DR, the empty bit EMP transitions to the L level (full level). After that, when all the transmission data of the first byte is transmitted, the second byte of data is transferred from the transmission data register DR to the transmission shift register SR, and the data transmission of the second byte is started, and the empty bit EMP Transitions to the H level.

このエンプティビットEMPは、送信データレジスタDRへの3バイト目のデータ書込み動作に対応して、Lレベルに変化するが、図示のように、新規データの書き込みがない場合にはHレベルを維持する。また、全てのデータが送信された後は、クロック信号CKがHレベルを維持して変化しない。   The empty bit EMP changes to the L level in response to the data write operation of the third byte to the transmission data register DR. However, as shown in the figure, the empty bit EMP maintains the H level when no new data is written. . Further, after all the data is transmitted, the clock signal CK maintains the H level and does not change.

特に限定されないが、この実施例では、ドライバDRijの内部動作に対応して、1バイトデータのMSB(Most Significant Bit)からLSB(Least Significant Bit )に向けて、クロック信号CKに同期して送信動作が実行されるよう設定されている(MSBファースト)。具体的には、該当する制御レジスタRGに適宜な設定値が設定されている。また、クロック信号CKの立下りエッジに同期して、送信動作が進行することも図示の通りである。   Although not particularly limited, in this embodiment, in response to the internal operation of the driver DRij, transmission operation is performed in synchronization with the clock signal CK from the MSB (Most Significant Bit) of 1-byte data to the LSB (Least Significant Bit). Is set to be executed (MSB first). Specifically, an appropriate set value is set in the corresponding control register RG. Further, as shown in the figure, the transmission operation proceeds in synchronization with the falling edge of the clock signal CK.

なお、本実施例では、CPUは、シリアルポートS0→シリアルポートS1→シリアルポートS2の順に、送信データレジスタDRiに1バイト目のデータ書込んだ後、各エンプティビットEMPiのHレベルを判定した上で、同じ順番に、各送信データレジスタDRiに2バイト目のデータを書込んでいる。   In this embodiment, the CPU writes the first byte data in the transmission data register DRi in the order of serial port S0 → serial port S1 → serial port S2, and then determines the H level of each empty bit EMPi. Thus, the second byte data is written in each transmission data register DRi in the same order.

しかし、シリアルポートS0→シリアルポートS1→シリアルポートS2の順番で一連に実行されるデータ書込み処理において、1バイトデータの書込み時間差は事実上ゼロであるので、チャンネルCH0〜CH2のドライバDRijへのデータ送信処理は、ほぼ同時に開始されることになる。したがって、チャンネルCH0〜CH2のドライバDRijへのデータ送信処理の終了も、送信データ量が同じである限り、ほぼ同一タイミングとなり、迅速にシリアル送信処理を終えることができる。   However, in the data writing process executed in series in the order of serial port S0 → serial port S1 → serial port S2, the write time difference of 1-byte data is practically zero. The transmission process is started almost simultaneously. Therefore, the end of the data transmission process to the driver DRij of the channels CH0 to CH2 is almost the same timing as long as the transmission data amount is the same, and the serial transmission process can be completed quickly.

図7は、各ドライバDRijの動作とCPUの動作を説明するタイムチャートである。まず、ワンチップマイコン40が出力するランプ駆動データSDATA0〜SDATA2に基づいて、各ドライバDRijの階調レジスタGR0〜GR23に対する輝度データの設定処理について説明する。   FIG. 7 is a time chart for explaining the operation of each driver DRij and the operation of the CPU. First, luminance data setting processing for the gradation registers GR0 to GR23 of each driver DRij will be described based on the lamp driving data SDATA0 to SDATA2 output from the one-chip microcomputer 40.

階調レジスタGR0〜GR23に輝度データを設定するためには、これに先行して、各ドライバDRijを特定するスレーブアドレスSLVの送信処理と、階調レジスタGR0〜GR23のレジスタ番号N(例えば、N=15H〜1CH)の送信処理とを実行する必要がある。但し、先に説明した通り、レジスタ番号N(=15H〜1CH)が連続する場合には、最初のレジスタ番号N(=15H)を送信した後は、レジスタ番号15H以降の階調レジスタGRnに設定すべき輝度データDnを1バイト毎に出力したので足りる。   In order to set the luminance data in the gradation registers GR0 to GR23, prior to this, transmission processing of the slave address SLV for specifying each driver DRij and the register number N (for example, N for the gradation registers GR0 to GR23) = 15H to 1CH) transmission processing needs to be executed. However, as described above, when the register numbers N (= 15H to 1CH) are continuous, after the first register number N (= 15H) is transmitted, it is set in the gradation registers GRn after the register number 15H. It is sufficient that the luminance data Dn to be output is output for each byte.

また、スレーブアドレスは、ドライバDRijを特定する5ビット長のポートアドレスであるが、適宜に3ビットを付加した8ビット長とされる。そして、この8ビット長のスレーブアドレスは、MSBからLSBに向けて送信される。図5の回路構成から明らかなように、8ビット長のスレーブアドレスは、5個のドライバDRij(例えば、DR00〜DR04)に、共通的に送信されるが、送信されたスレーブアドレスに対応する特定のドライバDRijだけが、その後の送信データを受信することになる。   The slave address is a 5-bit length port address that identifies the driver DRij, but is an 8-bit length with an appropriate addition of 3 bits. This 8-bit slave address is transmitted from the MSB to the LSB. As is apparent from the circuit configuration of FIG. 5, the 8-bit slave address is commonly transmitted to the five drivers DRij (for example, DR00 to DR04), but the identification corresponding to the transmitted slave address. Only the driver DRij will receive the subsequent transmission data.

具体的には、全てのドライバDRij(例えば、DR00〜DR04)において、24個目(=8×3)のクロック信号CKiの立上りエッジで、1バイト目のデータ(スレーブアドレス)が取得され、自らのスレーブアドレスに一致するドライバDRijだけが、その後の受信処理を継続する。   Specifically, in all drivers DRij (for example, DR00 to DR04), the first byte of data (slave address) is acquired at the rising edge of the 24th (= 8 × 3) clock signal CKi, Only the driver DRij that matches the slave address of the receiver continues the subsequent reception process.

先に説明した通り、本実施例のドライバDRijに対しては、その後、階調レジスタGRnのレジスタ番号Nを送信し、これに続いて、その階調レジスタGRnへの設定データDnを送信するようになっている。そして、その後は、指定されたスレーブアドレスに対応するドライバDRijにおいて、レジスタ番号Nが自動的にインクリメントされ、その後に受信した設定データDn+1、Dn+2・・・・が、各々、階調レジスタGRn+1,GRn+2・・・・に設定される。   As described above, the register number N of the gradation register GRn is then transmitted to the driver DRij of this embodiment, and subsequently, the setting data Dn to the gradation register GRn is transmitted. It has become. Then, in the driver DRij corresponding to the designated slave address, the register number N is automatically incremented, and the setting data Dn + 1, Dn + 2,... Received thereafter are the gradation registers GRn + 1, GRn + 2, respectively. ... is set.

先に説明した通り、本実施例では、階調レジスタGRiだけを活用しているので、ワンチップマイコン40から各チャンネル(0〜2)のドライバDRijに送信されるシリアルデータの個数は、スレーブアドレス(1バイト)と、階調レジスタGR0のレジスタ番号(15Hの1バイト)と、24個の階調レジスタGR0〜GR23に設定すべき輝度データ(24バイト)とで、総計26バイトとなる。   As described above, in this embodiment, only the gradation register GRi is used. Therefore, the number of serial data transmitted from the one-chip microcomputer 40 to the driver DRij of each channel (0 to 2) is the slave address. (1 byte), the register number of the gradation register GR0 (1 byte of 15H), and the luminance data (24 bytes) to be set in the 24 gradation registers GR0 to GR23, total 26 bytes.

図6(b)に関して説明した通り、ワンチップマイコン40のシリアルポートS0〜S2では、23バイト目の輝度データを出力した後は、制御レジスタRGのエンプティビットEMPをHレベルに維持する。また、送信データレジスタDRに書込み済みの24バイト目の輝度データは、エンプティビットEMP=Hレベルが維持された状態で、送信シフトレジスタSRから1ビット毎にMSBからLSBに向けて出力される。そして、ワンチップマイコン40のシリアルポートS0〜S2が、24バイト目の輝度データのLSBを出力した後は、クロック信号CKがHレベルを維持する。   As described with reference to FIG. 6B, the serial port S0 to S2 of the one-chip microcomputer 40 maintains the empty bit EMP of the control register RG at the H level after outputting the 23rd byte luminance data. The 24th byte of luminance data written in the transmission data register DR is output from the transmission shift register SR toward the LSB for each bit from the transmission shift register SR in a state where the empty bit EMP = H level is maintained. Then, after the serial ports S0 to S2 of the one-chip microcomputer 40 output the LSB of the luminance data of the 24th byte, the clock signal CK maintains the H level.

そのため、ワンチップマイコン40のCPUは、24バイト目の輝度データが、該当するドライバDRijに取得されたと思われるタイミングで、動作許可信号ENABLE0〜2をLレベルに戻すとともに、制御レジスタRGの送信許可ビットTXEを送信禁止レベルに戻している(図7参照)。すると、動作許可信号ENABLE0〜2=Lに対応して、その後、各ドライバDRijでは、階調レジスタGR0〜GR23に新規設定された、又は設定されている輝度データに基づいてLEDを駆動することになる。   Therefore, the CPU of the one-chip microcomputer 40 returns the operation permission signals ENABLE0 to ENABLE2 to the L level at the timing when the 24th byte luminance data is assumed to have been acquired by the corresponding driver DRij, and permits transmission of the control register RG. The bit TXE is returned to the transmission inhibition level (see FIG. 7). Then, in response to the operation enable signals ENABLE0 to 2 = L, each driver DRij then drives the LED based on the brightness data newly set or set in the gradation registers GR0 to GR23. Become.

なお、この実施例では、ドライバ1個分のシリアルデータを送信する毎に、送信許可ビットTXEを禁止レベルに戻しているが、何ら限定されず、全てのドライバに対する送信処理が終えた後に、禁止レベルに戻しても良い。また、特に、禁止レベルに戻す必要もない。   In this embodiment, every time serial data for one driver is transmitted, the transmission permission bit TXE is returned to the prohibited level. However, the transmission permission bit TXE is not limited at all, and is prohibited after the transmission processing for all the drivers is completed. You may return to the level. In particular, there is no need to return to the prohibited level.

図8は、演出制御部22’の動作内容を説明するフローチャートであり、ワンチップマイコン40のCPUによって実行される。演出制御部22’の動作は、CPUリセット後に無限ループ状に実行されるメイン処理(図8(a))と、1mS毎に起動されるタイマ割込み処理(図8(b))と、主制御部が送信する制御コマンドを受信する受信割込み処理(不図示)と、を含んで実現される。   FIG. 8 is a flowchart for explaining the operation content of the effect control unit 22 ′, which is executed by the CPU of the one-chip microcomputer 40. The operation of the effect control unit 22 ′ includes a main process (FIG. 8A) executed in an infinite loop after the CPU reset, a timer interrupt process started every 1 mS (FIG. 8B), and a main control. And reception interrupt processing (not shown) for receiving a control command transmitted by the unit.

そこで、まず、タイマ割込み処理から説明する。なお、図8(b)は、演出モータM1〜Mnを設けた場合の処理を破線で記載している。演出モータM1〜Mnを設けた実施態様では、所定タイミング毎に、ステッピングモータを1ステップ歩進させるべく、必要時に駆動データを更新する(ST20)。そして、この駆動データを各演出モータM1〜Mnに出力し、また、画像制御部23’に送信すべき制御コマンドCMD’が存在する場合には、これを画像制御部23’に向けて出力する(ST22)。最後に、割込みカウンタをインクリメントして割込み処理を終える(ST23)。   First, the timer interrupt process will be described. In FIG. 8B, the process when the production motors M1 to Mn are provided is indicated by broken lines. In the embodiment in which the effect motors M1 to Mn are provided, the drive data is updated when necessary to advance the stepping motor by one step at every predetermined timing (ST20). And this drive data is output to each effect motor M1-Mn, and when there exists control command CMD 'which should be transmitted to image control part 23', this is output toward image control part 23 '. (ST22). Finally, the interrupt counter is incremented to finish the interrupt process (ST23).

続いて、メイン処理について説明すると、CPUは、割込みカウンタを繰り返しチェックして、割込みカウンタの値が16になるのを待機する(ST10)。上記したように、割込みカウンタは、1mS毎に更新されているので(ST23)、ステップST10では、前回のステップST11の処理から、16mS経過するまでの経過時間を待機することになる。すなわち、この実施例では、ステップST11〜ST17の処理が16mS毎に繰り返される。   Next, the main process will be described. The CPU repeatedly checks the interrupt counter and waits until the value of the interrupt counter becomes 16 (ST10). As described above, since the interrupt counter is updated every 1 mS (ST23), in step ST10, an elapsed time until 16 mS elapses from the process of the previous step ST11 is waited. That is, in this embodiment, steps ST11 to ST17 are repeated every 16 ms.

そこで、16mSの待機時間が経過した場合には、割込みカウンタをゼロクリアした上で(ST11)、主制御部21から送信された制御コマンドCMDを解析して、制御コマンドCMDに対応した動作を実行するべく、必要な開始処理を実行する。例えば、変動パターンコマンドCMDを受けた場合には、その制御コマンドCMDに基づいてランプ演出や音声演出などの開始処理を実行する。   Therefore, when the standby time of 16 mS has elapsed, the interrupt counter is cleared to zero (ST11), the control command CMD transmitted from the main control unit 21 is analyzed, and the operation corresponding to the control command CMD is executed. Therefore, necessary start processing is executed. For example, when a variation pattern command CMD is received, start processing such as a lamp effect and a sound effect is executed based on the control command CMD.

次に、チャンスボタン11などのスイッチ信号を判定し(ST13)、新規に実行を開始する演出について、その演出シナリオを構築するか、実行中の演出についての演出シナリオを更新する(ST14)。そして、演出シナリオに対応して、音声再生動作を進行させる(ST15)。   Next, a switch signal such as the chance button 11 is determined (ST13), and an effect scenario for the effect to be newly executed is constructed or an effect scenario for the effect being executed is updated (ST14). Then, the audio reproduction operation is advanced in response to the production scenario (ST15).

続いて、各ランプ駆動基板36,29,30に接続されているLEDについて、その輝度を規定した輝度データを更新して、出力バッファテーブルTBLに格納する(ST16)。この実施例では、3個のランプ駆動基板36,29,30に、合計で3×5×24個のLEDが配置されており、各LEDは、16階調の4ビット長の輝度データに基づいて点灯制御がされている。したがって、出力バッファテーブルTBLは、3×5×24/2バイト長である。   Subsequently, for the LEDs connected to each of the lamp drive substrates 36, 29, and 30, the brightness data defining the brightness is updated and stored in the output buffer table TBL (ST16). In this embodiment, a total of 3 × 5 × 24 LEDs are arranged on the three lamp driving substrates 36, 29, and 30, and each LED is based on 16-gradation 4-bit long luminance data. Lighting control. Therefore, the output buffer table TBL is 3 × 5 × 24/2 bytes long.

次に、ステップST16の処理で更新された出力バッファテーブルTBLの輝度データを、シリアルポートS0〜S2を経由して、各ランプ駆動基板36,29,30に伝送する(ST17)。但し、CPUは、伝送処理そのものを担当するのではなく、CPUは、シリアルポートS0〜S2の送信データレジスタDRに、適宜なタイミングで必要データを書込むだけであり、CPUの制御負担は極めて軽微である。また、図7に示す通り、3つのランプ駆動基板36,29,30に一斉にシリアルデータが送信されるので、ステップST17の処理時間は、送信データ量に拘わらず長くない。   Next, the brightness data of the output buffer table TBL updated in the process of step ST16 is transmitted to each of the lamp drive boards 36, 29, 30 via the serial ports S0 to S2 (ST17). However, the CPU is not in charge of the transmission process itself, but the CPU only writes necessary data to the transmission data register DR of the serial ports S0 to S2 at an appropriate timing, and the control burden on the CPU is extremely small. It is. Further, as shown in FIG. 7, serial data is transmitted to the three lamp driving substrates 36, 29, and 30 all at once, so the processing time of step ST17 is not long regardless of the amount of transmission data.

図7に示す通り、3つのランプ駆動基板36,29,30に搭載された3つのドライバDRに輝度データを設定するに要するクロック信号CKは、8×(2+24)個であり、しかも、伝送開始タイミングと伝送終了タイミングは、全3個のドライバDRにおいてほぼ同じである。   As shown in FIG. 7, the number of clock signals CK required to set the luminance data in the three drivers DR mounted on the three lamp driving boards 36, 29, and 30 is 8 × (2 + 24), and transmission starts. The timing and the transmission end timing are substantially the same for all three drivers DR.

そのため、3つのランプ駆動基板36,29,30に搭載された3個のドライバDRの点灯状態を更新するに要する時間は、ほぼ、8×(2+24)×Tとなり、8×26×5×T程度の処理時間で、全15個のドライバの点灯状態を更新することができる。なお、この全15個のドライバに対する処理時間は、5個のドライバの点灯状態を更新するに要する時間とほぼ同じである。   Therefore, the time required to update the lighting states of the three drivers DR mounted on the three lamp driving substrates 36, 29, and 30 is approximately 8 × (2 + 24) × T, and 8 × 26 × 5 × T. It is possible to update the lighting states of all 15 drivers in a certain processing time. The processing time for all the 15 drivers is substantially the same as the time required to update the lighting states of the five drivers.

ここで、Tはクロック信号のパルス周期であり、この実施例では、ボーレートジェネレータBGへの設定値に基づいて、周波数4〜5MHz程度のクロック信号に対応して、T=0.25〜0.2μSとなっている。したがって、全体の処理時間は、0.2mS程度であり、他の処理のための処理時間を消費することがない。   Here, T is the pulse period of the clock signal, and in this embodiment, T = 0.25 to 0... Corresponding to the clock signal having a frequency of about 4 to 5 MHz based on the set value to the baud rate generator BG. 2 μS. Therefore, the entire processing time is about 0.2 mS, and processing time for other processing is not consumed.

また、このような高速処理を実行しても、クロック信号CKiと、ランプ駆動データSDATAiについては、低レベルの差動信号(LVDS信号)として伝送されるので、伝送信号の高調波によって電波法上の問題が生じることがない。また、差動信号として伝送されることで、コモンモードノイズの影響が排除されるので、外乱に基づくシリアル信号のビット化けが防止されることも先に説明した通りである。   Even when such high-speed processing is executed, the clock signal CKi and the lamp drive data SDATAi are transmitted as a low-level differential signal (LVDS signal). The problem does not occur. Further, as described above, since the influence of common mode noise is eliminated by being transmitted as a differential signal, bit corruption of the serial signal due to disturbance is prevented.

図9は、LED出力処理(ST17)を、より詳細に説明するフローチャートである。LED出力処理では、まず、15個全てのドライバDRijに対して、初期化データを送信して、階調レジスタに書込んだ輝度データ(PWM値)に対応してLEDが点灯されるよう設定する。   FIG. 9 is a flowchart for explaining the LED output processing (ST17) in more detail. In the LED output process, first, initialization data is transmitted to all 15 drivers DRij, and the LED is set to be turned on in accordance with the luminance data (PWM value) written in the gradation register. .

なお、このステップST17の処理についても、図7に示す手順と同じであり、以下に示すステップST31〜ST45の処理手順が採用される。すなわち、チャンネルCH0〜CH2の所定ドライバ(3個)に対して、スレーブアドレスの送信→レジスタ番号の送信→初期化データの送信処理を一括して実行し、この処理を5回繰り返すことで、15個のドライバDRijについての初期化処理を完了させる。したがって、全処理時間は、8×3×5×T[=データビット長8×データ個数3×繰り返し処理回数5×クロック周期T]程度である。   Note that the processing in step ST17 is the same as the procedure shown in FIG. 7, and the processing procedures in steps ST31 to ST45 shown below are adopted. That is, the slave address transmission → register number transmission → initialization data transmission processing is collectively executed for predetermined drivers (three) of the channels CH0 to CH2, and this processing is repeated five times to obtain 15 The initialization process for each driver DRij is completed. Therefore, the total processing time is about 8 × 3 × 5 × T [= data bit length 8 × data number 3 × repetition processing count 5 × clock cycle T].

このような初期化処理を16mS毎に繰り返す必要は必ずしもないが、本実施例では、点滅状態を更新する毎に全てのドライバDRijの初期化データを送信するので、万一、初期化データの一部がビット化けしても、設定データのビット化けによる異常動作は、16mS後に自動的に解消される。   It is not always necessary to repeat such initialization processing every 16 ms, but in this embodiment, initialization data of all drivers DRij is transmitted every time the blinking state is updated. Even if the part is garbled, the abnormal operation due to garbled setting data is automatically resolved after 16 mS.

以上のようにして初期化処理が終わると(ST30)、輝度データの設定処理(ST31〜ST45)に移行する。なお、この開始タイミングでは、図6(b)に示す通り、各制御レジスタRGの送信許可ビットTXEは、OFF(L)レベルであり、エンプティビットEMPは、Hレベル(empty レベル)であり、クロック信号CKはHレベルを維持している。また、動作許可信号ENABLE0〜ENABL2はLレベルである。   When the initialization process is completed as described above (ST30), the process proceeds to the brightness data setting process (ST31 to ST45). At this start timing, as shown in FIG. 6B, the transmission permission bit TXE of each control register RG is at the OFF (L) level, the empty bit EMP is at the H level (empty level), and the clock The signal CK maintains the H level. Further, the operation enable signals ENABLE0 to ENABLE2 are at the L level.

以上を踏まえて説明を続けると、輝度データの設定処理では、最初に、チャンネルCH0〜CH2の各5個のドライバDRijについて、各々、開始スレーブアドレスを特定する(ST31)。図5に示すように、この実施例では、各ランプ駆動基板に搭載された5個のドライバDRijには、インクリメント関係にある一連のスレーブアドレスが付番されており、その先頭アドレスは、00H,10H,18Hである。   Continuing the description based on the above, in the brightness data setting process, first, the start slave address is specified for each of the five drivers DRij of the channels CH0 to CH2 (ST31). As shown in FIG. 5, in this embodiment, a series of slave addresses having an increment relationship are assigned to the five drivers DRij mounted on each lamp driving board, and the head address is 00H, 10H and 18H.

次に、パラレル出力ポートPo’から、各々、ON(H)レベルの動作許可信号ENABLE0〜ENABL2を出力する(ST32)。この結果、全チャンネルCH0〜CH2の全てのドライバDRijは、シリアルデータの受信動作が可能となる。   Next, ON (H) level operation enable signals ENABLE0 to ENABLE2 are respectively output from the parallel output port Po '(ST32). As a result, all drivers DRij of all channels CH0 to CH2 can receive serial data.

そこで、続いて、シリアルポートS0〜S2について、各制御レジスタRGの送信許可ビットTXEを各々ONレベルに設定して、シリアルポートS0〜S2の送信処理を許可状態に設定する(ST33)。また、ステップST31の処理で初期設定されたか、或いは、その後、ステップST44の処理で更新された3種類のスレーブアドレスを、各々、シリアルポートS0〜S2の送信データレジスタDRに書込む(ST33)。   Therefore, for the serial ports S0 to S2, the transmission permission bit TXE of each control register RG is set to the ON level, and the transmission processing of the serial ports S0 to S2 is set to the permitted state (ST33). In addition, the three types of slave addresses that have been initially set in the process of step ST31 or are updated in the process of step ST44 are respectively written in the transmission data registers DR of the serial ports S0 to S2 (ST33).

図7に示す通り、このステップST33の処理によって、各シリアルポートS0〜S2の制御レジスタRGのエンプティビットEMPは、Lレベルに遷移し、所定時間(τ)後に、エンプティビットEMPがHレベルに戻ると共に、スレーブアドレスの送信動作が開始される。   As shown in FIG. 7, the empty bit EMP of the control register RG of each of the serial ports S0 to S2 transitions to the L level by the process of step ST33, and after a predetermined time (τ), the empty bit EMP returns to the H level. At the same time, the slave address transmission operation is started.

そこで、エンプティビットEMPがHレベルに戻った場合には(ST34)、各ドライバDRijの階調レジスタGR0〜GR23について、そのレジスタ番号の先頭アドレスを、シリアルポートS0〜S2の送信データレジスタDRに書込む(ST35)。この実施例では、階調レジスタGR0〜GR4のレジスタ番号は、N=15H〜1CHであるので、ステップST35の処理では、シリアルポートS0〜S2の送信データレジスタDRに、各々、15Hが書込まれる。また、ステップST35の処理によって、エンプティビットEMPは、HレベルからLレベル(fullレベル)に遷移する。   Therefore, when the empty bit EMP returns to the H level (ST34), for the gradation registers GR0 to GR23 of each driver DRij, the head address of the register number is written to the transmission data register DR of the serial ports S0 to S2. (ST35). In this embodiment, since the register numbers of the gradation registers GR0 to GR4 are N = 15H to 1CH, 15H is written in the transmission data registers DR of the serial ports S0 to S2 in the process of step ST35, respectively. . In addition, the empty bit EMP changes from the H level to the L level (full level) by the process of step ST35.

その後、最初のスレーブアドレスの送信が完了すると、エンプティビットEMPがHレベル(empty レベル)に戻るので(ST36)、その後は、24個の輝度データの送信処理に移行する。   Thereafter, when the transmission of the first slave address is completed, the empty bit EMP returns to the H level (empty level) (ST36), and thereafter, the process proceeds to a transmission process of 24 luminance data.

具体的には、まず、変数nをゼロに初期設定する(ST37)。ここで、変数nは、階調レジスタGR0〜GR23を特定し、変数n=1〜24が、階調レジスタGR0〜GR23に対応している。   Specifically, first, the variable n is initialized to zero (ST37). Here, the variable n specifies the gradation registers GR0 to GR23, and the variable n = 1 to 24 corresponds to the gradation registers GR0 to GR23.

そこで、次に、変数nをインクリメントした後(ST38)、各チャンネルCH0〜CH2の階調レジスタGRn−1に対する輝度データ(PWM値)を、出力バッファテーブルTBLから読み出して、シリアルポートS0〜S2の送信データレジスタDRに各々書込む(ST39)。なお、ステップST36の判定で、エンプティビットEMPがHレベルに遷移した後、エンプティビットEMPがLレベルに戻って、レジスタ番号の送信動作が繰り返されており、この送信動作が終わると、エンプティビットEMPがHレベルに遷移する。   Therefore, next, after incrementing the variable n (ST38), the luminance data (PWM value) for the gradation register GRn-1 of each channel CH0 to CH2 is read from the output buffer table TBL, and the serial ports S0 to S2 are read. Each is written in the transmission data register DR (ST39). In step ST36, after the empty bit EMP transits to the H level, the empty bit EMP returns to the L level, and the register number transmission operation is repeated. When this transmission operation ends, the empty bit EMP Transitions to the H level.

そこで、次に、エンプティビットEMPがHレベルに遷移するのを待機し(ST40)、Hレベルに遷移すれば、変数nが24に達しない限り、ステップST38の処理に移行する(ST41)。そのため、このステップST38〜ST41の処理によって、階調レジスタGR0〜GR23への輝度データが、シリアルポートS0〜S2の送信データレジスタDRに順番に書込まれることになる。   Therefore, next, the process waits for the empty bit EMP to transition to the H level (ST40). If the transition to the H level occurs, the process proceeds to step ST38 unless the variable n reaches 24 (ST41). Therefore, the luminance data to the gradation registers GR0 to GR23 are sequentially written in the transmission data register DR of the serial ports S0 to S2 by the processing of steps ST38 to ST41.

なお、変数nが24に達したタイミングは、シリアルポートS0〜S2の送信データレジスタDRに24バイト目の輝度データが書込まれたに過ぎず、これがドライバDRijに取得されるのは、更に、8個程度のクロック信号CKが出力された後である。   Note that the timing at which the variable n reaches 24 is only that the 24th byte of luminance data is written in the transmission data register DR of the serial ports S0 to S2, and this is acquired by the driver DRij. After about eight clock signals CK are output.

そこで、クロック信号CKの8個分程度の時間を消費した後(ST42)、動作許可信号ENABLEを禁止レベルに戻すと共に、制御レジスタRGの送信許可ビットTXEを禁止レベルに戻す(ST43)。その結果、輝度データが更新されたドライバDRijが駆動するLEDの点灯状態が更新される。   Therefore, after consuming about eight clock signals CK (ST42), the operation permission signal ENABLE is returned to the prohibited level, and the transmission permission bit TXE of the control register RG is returned to the prohibited level (ST43). As a result, the lighting state of the LED driven by the driver DRij whose luminance data has been updated is updated.

以上の処理によって各チャンネル0〜2の3個のドライバDRijについての輝度データの設定処理と点灯更新が終わるので、次に、スレーブアドレスを更新して(ST44)、次の3個のドライバDRijに対する設定処理を繰り返す(ST45)。   With the above processing, the luminance data setting processing and lighting update for the three drivers DRij for each channel 0 to 2 are completed. Next, the slave address is updated (ST44), and the next three drivers DRij are updated. The setting process is repeated (ST45).

以上の通り、本実施例では、ステップST32〜ST43の処理によって、3個のドライバDRijの各24個の階調レジスタに対する設定処理が一括して完了し、これを5回繰り返すことで、全ての処理が完了することができる。   As described above, in the present embodiment, the setting process for each of the 24 gradation registers of the three drivers DRij is completed at once by the processes of steps ST32 to ST43, and this process is repeated five times. Processing can be completed.

そして、3個のドライバに対する設定処理は、ほぼ同時に開始され、ほぼ同時に終了する。そのため、処理総時間は、クロック信号のパルス周期Tと、ドライバDRijの総個数TOTAL=NUM×3とに対応して、8×26×NUM×T程度であり、24×NUM×3個のLEDについて、極めて迅速に輝度データの設定処理を終えることができる。   Then, the setting process for the three drivers starts almost simultaneously and ends almost simultaneously. Therefore, the total processing time is about 8 × 26 × NUM × T corresponding to the pulse period T of the clock signal and the total number TOTAL = NUM × 3 of the drivers DRij, and 24 × NUM × 3 LEDs. The setting process of luminance data can be finished very quickly.

以上、第1の実施例について詳細に説明したが、適宜な変更も可能である。例えば、上記の実施例では、説明の便宜上、3チャンネルのランプ駆動基板36,29,30におけるドライバDRijやLEDの個数が同一であるとしたが、実際には、適宜に相違するのは当然である。このような場合、必要なドライバDRijに対する設定処理(図9のST32〜ST45)が終われば、そのチャンネルについては、その後の設定処理(ST32〜ST45)がスキップされる。   The first embodiment has been described in detail above, but appropriate modifications can be made. For example, in the above embodiment, for convenience of explanation, the number of drivers DRij and LEDs in the three-channel lamp driving boards 36, 29, and 30 is the same. is there. In such a case, when the setting process for the necessary driver DRij (ST32 to ST45 in FIG. 9) is completed, the subsequent setting process (ST32 to ST45) is skipped for that channel.

同様に、駆動するLEDの個数が24個未満のドライバDRijに関しては、図9のステップST41の処理を変更することで、不要な設定処理(ST38〜ST41)がスキップされる。   Similarly, for the driver DRij in which the number of LEDs to be driven is less than 24, unnecessary setting processing (ST38 to ST41) is skipped by changing the processing in step ST41 in FIG.

また、上記の実施例では、説明の都合上、16mS毎に全てのドライバに対する設定処理を実行したが、これを適宜に分割するのも好適である。図8(c)は、このような動作を例示したものであり、図8(a)のステップST17のLED出力処理に代えて、割込みカウンタの値CNTに応じたLED出力処理(ST24)を実行している。   In the above embodiment, for convenience of explanation, the setting process for all the drivers is executed every 16 ms. However, it is also preferable to divide this appropriately. FIG. 8C illustrates such an operation. Instead of the LED output process in step ST17 of FIG. 8A, the LED output process (ST24) corresponding to the value CNT of the interrupt counter is executed. doing.

具体的には、CT=10の場合には、全てのドライバに初期化データを送信し、CT=11の場合には、1段目のドライバ3個に設定データを送信している。以下同様に、割込みカウンタの値CNTに対応するドライバ3個に設定データを送信するので、設定データを増加させても問題が生じない。   Specifically, when CT = 10, initialization data is transmitted to all drivers, and when CT = 11, setting data is transmitted to three drivers in the first stage. Similarly, since the setting data is transmitted to the three drivers corresponding to the interrupt counter value CNT, no problem occurs even if the setting data is increased.

設定データとしては、Duty比(PWM)を規定する輝度データに加えて、フェードインやフェードアウトの動作態様を規定するデータを送信することが考えられる。一方、輝度データに代えて、ON/OFF状態を規定するスイッチデータを送信し、これにフェードインやフェードアウトの動作態様を規定するデータを追加して送信することも考えられる。   As setting data, it is conceivable to transmit data defining the operation mode of fade-in and fade-out in addition to the luminance data defining the duty ratio (PWM). On the other hand, it is also conceivable to transmit switch data defining the ON / OFF state instead of the luminance data, and additionally transmitting data defining the operation mode of fade-in and fade-out.

なお、実施例では、3チャンネルCH0〜CH2のランプ駆動基板について説明したが、ランプ駆動基板の個数に対応して、使用するシリアルポートの個数を増加すれば良い。   In the embodiment, the three-channel CH0 to CH2 lamp driving board has been described. However, the number of serial ports to be used may be increased in accordance with the number of lamp driving boards.

また、同じドライバDRijを使用してステッピングモータを駆動するもの好適であり、この場合には、モータ駆動基板を別に設けて、例えば、1mS毎にシリアル駆動データ(スイッチデータ)を送信する態様が考えられる(図8(b)のST21参照)。一方、ランプ駆動基板に、ステッピングモータを接続しても良いが、この場合には、ステッピングモータを駆動するドライバDRijについては、短い周期でシリアル駆動データの送信処理を繰り返すのが好ましい。   Further, it is preferable to drive the stepping motor using the same driver DRij. In this case, a mode in which a motor drive board is separately provided and serial drive data (switch data) is transmitted every 1 mS, for example, is considered. (Refer to ST21 in FIG. 8B). On the other hand, a stepping motor may be connected to the lamp driving board. In this case, it is preferable that the driver DRij for driving the stepping motor repeats the serial driving data transmission process in a short cycle.

また、図6に示す実施例では、1バイトのシリアルデータが送信される毎に、CPUが、送信データレジスタDRに次の1バイトのパラレルデータを書込む構成を採っているが、何ら限定されない。すなわち、所定単位長(複数バイト)のパラレルデータを一時保存可能なFIFO(First In First Out)バッファを確保し、1バイトのシリアルデータが送信さる毎に、次のデータが送信データレジスタDRに自動的に補給される構成を採ることもでき、この場合には、CPUは、FIFOバッファに、例えば1バイト分の空き(空き領域)が生じたタイミングで、次の1バイトデータをFIFOバッファに補充したので足りる。   Further, in the embodiment shown in FIG. 6, every time 1-byte serial data is transmitted, the CPU writes the next 1-byte parallel data in the transmission data register DR. . That is, a FIFO (First In First Out) buffer capable of temporarily storing parallel data of a predetermined unit length (multiple bytes) is secured, and each time 1-byte serial data is transmitted, the next data is automatically stored in the transmission data register DR. In this case, the CPU replenishes the FIFO buffer with the next 1-byte data when, for example, a 1-byte space (empty area) is generated in the FIFO buffer. It was enough.

また、上記の各実施例では、専ら、CPUが、制御レジスタを繰り返しreadして、制御レジスタのempty ビットEMPをチェックする構成を採ったが、送信データレジスタDRが空(empty )になったタイミングや、FIFOバッファに空き(空き領域)が生じたタイミングで、CPUに割込みをかける構成を採るのも好適である。この場合、CPUは割込み要求に対応して、送信データレジスタDRに1バイトデータを書込むか、FIFOバッファに所定単位長のデータを書込めば良い。   In each of the above embodiments, the CPU exclusively reads the control register repeatedly and checks the empty bit EMP of the control register. However, the timing when the transmission data register DR becomes empty is used. It is also preferable to adopt a configuration in which the CPU is interrupted at the timing when the FIFO buffer is empty (empty area). In this case, in response to the interrupt request, the CPU may write 1-byte data into the transmission data register DR or write data of a predetermined unit length into the FIFO buffer.

更にまた、実施例のドライバには、処理時間を最小化するため、スレーブアドレス→レジスタアドレス→1バイトの駆動データ→1バイトの駆動データ→1バイトの駆動データ→・・・→1バイトの駆動データ・・・の手順を採ったが何ら限定されない。すなわち、送信するデータ個数を2バイト追加し、最初に、開始コマンド(スタートコマンド)を送信し、最後に、終了コマンド(ピリオドコマンド)を送信する構成を採っても良い。但し、この場合もスタートビットや、ストップビットは使用せず、各コマンドは、1単位長(1バイト長)である。   Furthermore, in order to minimize the processing time, the driver of the embodiment is slave address → register address → 1 byte drive data → 1 byte drive data → 1 byte drive data →... → 1 byte drive. Although the procedure of data ... was taken, it is not limited at all. That is, it is possible to add 2 bytes to the number of data to be transmitted, first transmit a start command (start command), and finally transmit an end command (period command). However, in this case as well, the start bit and stop bit are not used, and each command has a unit length (1 byte length).

また、例えば、24個のランプを駆動可能なドライバに対して、駆動対象のランプを個々的に特定した状態で、各ランプの点灯状態を規定する駆動データを送信しても良い。この場合には、例えば、スタートコマンド→当該ドライバを規定するスレーブアドレス→ランプを特定するサブアドレス→そのランプに対する駆動データ→ランプを特定するサブアドレス→そのランプに対する駆動データ→・・・・→ピリオドコマンドの手順でシリアルデータが送信される。この場合、送信されるデータの合計バイト数は、一つのドライバに対して24×2+3バイトである。   Further, for example, drive data that defines the lighting state of each lamp may be transmitted to a driver capable of driving 24 lamps in a state where the lamps to be driven are individually specified. In this case, for example, a start command → a slave address that defines the driver → a subaddress that specifies a lamp → a driving data for the lamp → a subaddress that specifies a lamp → a driving data for the lamp → a period command Serial data is sent in the procedure. In this case, the total number of bytes of data to be transmitted is 24 × 2 + 3 bytes for one driver.

また、図6〜図9の実施例では、点灯状態を更新するタイミングが、動作許可信号ENABLE0〜ENABLE2によって規定されているが、この点は、何ら限定されない。すなわち、一連のシリアルデータの最後に、終了コマンド(ピリオドコマンド)を送信する構成を採れば、ピリオドコマンド受信したことを認識したドライバDRijの内部処理に基づいて点灯状態を更新することができる。   6 to 9, the timing for updating the lighting state is defined by the operation permission signals ENABLE0 to ENABLE2, but this point is not limited at all. That is, if a configuration in which an end command (period command) is transmitted at the end of a series of serial data, the lighting state can be updated based on the internal processing of the driver DRij that recognizes that the period command has been received.

この場合、各ドライバDRijに、例えば、0〜127の範囲で循環する内部カウンタを設けておき、ピリオドコマンド受信した後、内部カウンタが所定値(例えば127)に達したタイミングで点灯状態を更新するのが好適である。なお、このような構成を採った場合には、点灯状態が更新された後は(つまり、内部カウンタが所定値に達した後は)、同様のシリアルデータの伝送処理を開始することもでき、この意味でも、動作許可信号ENABLE0〜ENABLE2やその他の制御信号が不要となる。   In this case, for example, an internal counter that circulates in the range of 0 to 127 is provided in each driver DRij, and after receiving a period command, the lighting state is updated when the internal counter reaches a predetermined value (for example, 127). Is preferred. When such a configuration is adopted, after the lighting state is updated (that is, after the internal counter reaches a predetermined value), the same serial data transmission process can be started. In this sense, the operation permission signals ENABLE0 to ENABLE2 and other control signals are not necessary.

また、図6〜図9の実施例では、3チャンネルのシリアルポート(S0〜S2)に、各5個のドライバDRi0〜DRi04が接続されているが(合計15個)、特に限定されず、ドライバDRijの個数を更に増加させても良い。なお、以下の説明では、ドライバとバッファとを明示的に区別するため、便宜上、LEDドライバDRijと称す。   In the embodiment shown in FIGS. 6 to 9, five drivers DRi0 to DRi04 are connected to the three-channel serial ports (S0 to S2) (total of 15 drivers). The number of DRij may be further increased. In the following description, the driver and the buffer are explicitly referred to as an LED driver DRij for convenience.

1つのシリアルポートSIに多数のLEDドライバDRijを接続する場合には、シリアルポートSIやバッファの出力電流の最大容量を考慮して、LEDドライバDRijの入力部を、バイポーラ型の電流駆動方式ではなく、ユニポーラ型の電圧駆動方式とするのが好適である。図10(a)と図10(b)には、好ましいユニポーラ型の入力回路が2つ示されており、このような入力回路を有するLEDドライバDRijが好適に使用される。   When a large number of LED drivers DRij are connected to one serial port SI, the input part of the LED driver DRij is not a bipolar type current drive system in consideration of the maximum capacity of the output current of the serial port SI and the buffer. A unipolar voltage drive system is preferable. FIG. 10A and FIG. 10B show two preferable unipolar input circuits, and an LED driver DRij having such an input circuit is preferably used.

また、必ずしも、複数チャンネルのシリアルポート(S0〜S2)を使用する必要はなく、単一のシリアルポートに、多数のLEDドライバDRijを接続しても良い。但し、この場合には、LEDドライバの個数分だけシリアルデータ送信処理(図9のST32〜ST43参照)を繰り返す必要があるので、クロック信号CKを限界まで高速化するのが好適である。   Also, it is not always necessary to use a plurality of channel serial ports (S0 to S2), and a large number of LED drivers DRij may be connected to a single serial port. However, in this case, since it is necessary to repeat the serial data transmission process (see ST32 to ST43 in FIG. 9) for the number of LED drivers, it is preferable to speed up the clock signal CK to the limit.

また、動作許可信号ENABLEiの使用を省略することもでき、この場合には、配線を簡素化できる利点がある。但し、動作許可信号ENABLEiを省略することに対応して、スタートコマンド(開始コマンド)と、ピリオドコマンド(終了コマンド)とが付加される。   Further, the use of the operation permission signal ENABLEi can be omitted, and in this case, there is an advantage that the wiring can be simplified. However, a start command (start command) and a period command (end command) are added in response to the omission of the operation permission signal ENABLEi.

すなわち、24個のランプの輝度データを更新する場合には、[スタートコマンド]→[当該LEDドライバを規定するスレーブアドレス]→[1番目のランプに対応するレジスタを特定するサブアドレス]→[そのレジスタに対する階調データ]→[2番目のランプに対応するレジスタを特定するサブアドレス]→[そのレジスタに対する階調データ]→・・・・→[24番目のランプに対応するレジスタを特定するサブアドレス]→[そのランプに対する階調データ]→[ピリオドコマンド]の手順で、一つのドライバに対して24×2+3バイトのシリアルデータが送信される。なお、輝度データが更新されるランプ個数がN(<24)の場合には、N×2+3バイトのシリアルデータが送信される。   That is, when updating the luminance data of 24 lamps, [start command] → [slave address that defines the LED driver] → [sub-address specifying the register corresponding to the first lamp] → [the register [Gradation data for] → [Subaddress specifying register corresponding to second lamp] → [Gradation data for that register] →... → [Subaddress specifying register corresponding to 24th lamp] → 24 × 2 + 3 bytes of serial data are transmitted to one driver in the procedure of [gradation data for the lamp] → [period command]. When the number of lamps whose luminance data is updated is N (<24), serial data of N × 2 + 3 bytes is transmitted.

図11は、動作許可信号ENABLEを使用しない実施例において、輝度データを更新する処理(シリアルデータ送信処理)を示すフローチャートである。特に限定されるものではないが、この送信処理でも、図9の場合と同様に、最初に、全てのLEDドライバについて初期設定処理が実行される(ST50)。具体的には、例えば、各LEDドライバの階調レジスタ(各24個)に書込んだPWM値に対応して、24個のLEDが点灯されるようLEDドライバ毎に初期設定される。   FIG. 11 is a flowchart showing a process of updating luminance data (serial data transmission process) in an embodiment that does not use the operation permission signal ENABLE. Although not particularly limited, as in the case of FIG. 9, the initial setting process is first executed for all the LED drivers in this transmission process (ST50). Specifically, for example, in accordance with the PWM value written in the gradation register (24 each) of each LED driver, initial setting is performed for each LED driver so that 24 LEDs are turned on.

次に、シリアルポートS0の送信データレジスタDRに、1バイト長のスタートコマンド(例えばFFH)を書込む(ST51)。そして、制御レジスタRGのエンプティビットEMPを判定することで、スタートコマンドのシリアル送信が開始されるのを待つ(ST52)。そして、制御レジスタRGのエンプティビットEMPがEMP=1となると、当該LEDドライバのスレーブアドレスを、送信データレジスタDRに書込む(ST53)。なお、スレーブアドレスは、そのLEDドライバに付番されたポート番号に他ならない。   Next, a 1-byte start command (for example, FFH) is written in the transmission data register DR of the serial port S0 (ST51). Then, the start bit serial transmission of the start command is awaited by determining the empty bit EMP of the control register RG (ST52). When the empty bit EMP of the control register RG becomes EMP = 1, the slave address of the LED driver is written in the transmission data register DR (ST53). The slave address is nothing but the port number assigned to the LED driver.

次に、エンプティビットEMPがEMP=1となるのを待ち(ST54)、スレーブアドレス(ポート番号)のシリアル送信が開始されると、変数nをゼロに初期設定する(ST55)。変数nは、階調レジスタGR0〜GR23を特定し、変数nの値(1〜24)が、階調レジスタGR0〜GR23に対応している。   Next, it waits for the empty bit EMP to become EMP = 1 (ST54), and when serial transmission of the slave address (port number) is started, the variable n is initialized to zero (ST55). The variable n specifies the gradation registers GR0 to GR23, and the value (1 to 24) of the variable n corresponds to the gradation registers GR0 to GR23.

次に、変数nをインクリメントした後(ST56)、サブアドレスをシリアルポートS0の送信データレジスタDRに書込む(ST57)。ここで、サブアドレスとは、階調レジスタGR0〜GR23を特定するレジスタ番号であり、簡易的には、変数nに対応した値となる。次に、エンプティビットEMPがEMP=1となるのを待ち(ST58)、EMP=1となれば、先のサブアドレス(レジスタ番号)で特定される階調レジスタに送信すべき輝度データを送信データレジスタDRに書込む(ST59)。なお、輝度データ(PWM値)は、適宜に構成された出力バッファテーブルTBL(図8参照)から読み出される。   Next, after incrementing the variable n (ST56), the subaddress is written to the transmission data register DR of the serial port S0 (ST57). Here, the sub-address is a register number that specifies the gradation registers GR0 to GR23, and is simply a value corresponding to the variable n. Next, it waits for the empty bit EMP to become EMP = 1 (ST58), and if EMP = 1, the luminance data to be transmitted to the gradation register specified by the previous subaddress (register number) is transmitted to the transmission data register. Write to DR (ST59). The luminance data (PWM value) is read from an appropriately configured output buffer table TBL (see FIG. 8).

以下、同様であり、輝度データのシリアル送信が開始されると(ST60)、それが24番目の輝度データでない限り(ST61がNo)、次のサブアドレス(レジスタ番号)をシリアルポートS0の送信データレジスタDRに書込み(ST56〜ST57)、同様のシリアルデータ送信処理を繰り返す。   The same applies to the following, and when serial transmission of luminance data is started (ST60), unless it is the 24th luminance data (ST61 is No), the next subaddress (register number) is used as the transmission data register of the serial port S0. Writing to DR (ST56 to ST57), the same serial data transmission processing is repeated.

一方、24番目の輝度データのシリアル送信が開始された場合には(ST61がYes)、続いて、当該LEDドライバへのシリアル送信が終了したことを示すピリオドコマンドを送信データレジスタDRに書込む(ST62)。そして、ピリオドコマンドのシリアル送信が開始されたら(ST63)、この送信時間を確保した上で(ST64)、スレーブアドレス(ポート番号)を更新して、同様のシリアルデータ送信処理(ST51〜ST65)を繰り返す。なお、この実施例では、シリアルデータ送信処理(ST51〜ST65)が、LEDドライバの個数に対応して、合計16回繰り返されるが、高速のクロック信号CKを使用することで、送信処理(輝度データの更新処理)を迅速に終えることができる。   On the other hand, when serial transmission of the 24th luminance data is started (Yes in ST61), a period command indicating that serial transmission to the LED driver is completed is subsequently written in the transmission data register DR ( ST62). When serial transmission of a period command is started (ST63), the transmission time is secured (ST64), the slave address (port number) is updated, and the same serial data transmission processing (ST51 to ST65) is performed. repeat. In this embodiment, serial data transmission processing (ST51 to ST65) is repeated a total of 16 times corresponding to the number of LED drivers. However, transmission processing (luminance data) is performed by using a high-speed clock signal CK. Update processing) can be completed quickly.

ちなみに、合計N個のLEDドライバDRijを使用し、各LEDドライバDRijがM個のLEDを駆動する場合であって、全ての輝度データを更新する場合、全データ数は、(M×2+3)×Nであり、N=16、M=24の場合には816バイト=6528ビットとかなりの値となる。しかし、例えば、10Mz程度のクロック信号を使用すると、0.653mS程度の処理時間で全処理を終えることができ、他の制御処理の処理時間が不足するということはない。   Incidentally, in the case where a total of N LED drivers DRij are used and each LED driver DRij drives M LEDs, and all luminance data is updated, the total number of data is (M × 2 + 3) × If N = 16 and M = 24, 816 bytes = 6528 bits, which is a considerable value. However, for example, when a clock signal of about 10 Mz is used, the entire processing can be completed in a processing time of about 0.653 mS, and the processing time of other control processing is not short.

しかも、クロック信号CKを高速化しても、本実施例では、CKラインやSDATAラインに直結される素子の入力部がユニポーラ型であって、しかも、このような素子の個数が限定されているので、波形ナマリによる誤動作のおそれがない。なお、ここでは、説明の都合上、各LEDドライバDRijが24個のLEDを駆動する場合であって、全ての輝度データを毎回更新するとしたが、一回の更新処理で更新される階調レジスタを1/Xに間引くことで、毎回の更新処理時間を、ほぼ1/Xに短縮できる。この場合、毎回の更新処理時間は、クロック信号CKの周期τに対応して、(M×2/X+3)×N×τとなる。   Moreover, even if the clock signal CK is increased in speed, in this embodiment, the input part of the element directly connected to the CK line or the SDATA line is a unipolar type, and the number of such elements is limited. There is no risk of malfunction due to waveform numeration. Here, for convenience of explanation, it is assumed that each LED driver DRij drives 24 LEDs, and all luminance data is updated every time. However, a gradation register that is updated by one update process. By thinning out to 1 / X, the update processing time for each time can be reduced to about 1 / X. In this case, each update processing time is (M × 2 / X + 3) × N × τ corresponding to the cycle τ of the clock signal CK.

また、FIFOバッファを設けたシリアルポートを使用する場合には、図11に示すシリアルデータ送信処理を簡素化することもできる。図12(b)に示す通り、FIFOバッファは、CPUコアからアクセス可能に構成され、最初にFIFOバッファに格納されたデータから順番に、1バイト毎に、送信データレジスタDRに自動転送され(First In First Out)、送信シフトレジスタSRを経由して、シリアルデータSDATAとして出力される。   Further, when a serial port provided with a FIFO buffer is used, the serial data transmission process shown in FIG. 11 can be simplified. As shown in FIG. 12B, the FIFO buffer is configured to be accessible from the CPU core, and is automatically transferred to the transmission data register DR for each byte sequentially from the data stored in the FIFO buffer first (First In First Out), the data is output as serial data SDATA via the transmission shift register SR.

この場合の処理は、例えば、図12(a)に示す通りであり、FIFOバッファを使用すること、及び、その使用バイト長をシリアルポートS0の制御レジスタRGに設定した上でステップST50〜ST66の処理が実行される。   The processing in this case is, for example, as shown in FIG. 12A. Using the FIFO buffer and setting the byte length to be used in the control register RG of the serial port S0, steps ST50 to ST66 are performed. Processing is executed.

具体的には、LEDドライバに初期化データを出力した後(ST50)、一群のデータをFIFOバッファに書込み(ST53)、FIFOバッファに空き領域が生じるのを待つ(ST54)。先に説明した通り、FIFOバッファに書込まれた複数バイト長のデータは、1バイト毎に送信データレジスタDRに自動転送され、送信シフトレジスタSRを経由して、シリアルデータSDATAとして出力される。そして、1バイトのシリアルデータの出力が完了すると、その旨が制御レジスタRGの該当フラグに示されるので、変数nを適宜に更新した上で(ST55〜ST56)、次の1バイトデータをFIFOバッファに補充すればよい(ST57)。   Specifically, after the initialization data is output to the LED driver (ST50), a group of data is written to the FIFO buffer (ST53), and a wait is made for an empty area to be generated in the FIFO buffer (ST54). As described above, the data having a plurality of bytes written in the FIFO buffer is automatically transferred to the transmission data register DR for each byte, and is output as serial data SDATA via the transmission shift register SR. When the output of 1-byte serial data is completed, the fact is indicated in the corresponding flag of the control register RG. Therefore, the variable n is appropriately updated (ST55 to ST56), and the next 1-byte data is stored in the FIFO buffer. (ST57).

その後の処理も同様であり、FIFOバッファに1バイト長の空き領域が生じる毎に(ST58)、次の1バイトデータをFIFOバッファに補充する処理(ST59)を繰り返す。そして、全てのデータのシリアル送信が終われば、ピリオドコマンドをFIFOバッファに書込めば良い(ST62)。   The subsequent process is the same, and whenever a 1-byte length free area is generated in the FIFO buffer (ST58), the process of replenishing the next 1-byte data to the FIFO buffer (ST59) is repeated. When serial transmission of all data is completed, a period command may be written into the FIFO buffer (ST62).

なお、図12の実施例では、FIFOバッファの記憶容量より、送信すべき一群のデータ量(M×2+3)が多い場合を例示しているが、M×2+3バイトの記憶容量を有するFIFOバッファを確保すれば、ステップST53〜ST63の処理をまとめることができ、CPUの処理負担が極限的に軽減される。例えば、M=24とすると51バイト長のFIFOバッファが必要となるが、例えば、24個の階調レジスタを4等分して、時間的に区分された4回のLED出力処理によって階調データを更新する構成を採れば、FIFOバッファの記憶容量は15バイト長で足りて極めて合理的である。   In the embodiment of FIG. 12, the group of data (M × 2 + 3) to be transmitted is larger than the storage capacity of the FIFO buffer. However, a FIFO buffer having a storage capacity of M × 2 + 3 bytes is illustrated. If secured, the processing of steps ST53 to ST63 can be integrated, and the processing load on the CPU is reduced to a limit. For example, if M = 24, a 51-byte FIFO buffer is required. For example, the gradation data is divided into four gradation registers by dividing the 24 gradation registers into four equal parts and time-divided four times of LED output processing. If the configuration is used, the storage capacity of the FIFO buffer is 15 bytes long, which is very reasonable.

また、スタートコマンドとピリオドコマンドを使用しない構成であれば、M個の諧調レジスタを更新するのに要するシリアルデータがM+2バイトであるので、M=24の場合でも、諧調レジスタを2分してLED出力処理を2区分するだけで、14バイト長のFIFOバッファの記憶容量で足りることになる。   If the configuration does not use the start command and the period command, the serial data required to update the M gradation registers is M + 2 bytes. Therefore, even when M = 24, the gradation register is divided into two. The storage capacity of a 14-byte FIFO buffer is sufficient by dividing the output processing into two.

更にまた、1個のドライバでN個の演出モータを駆動する場合には、N個の演出モータに供給する諧調レジスタへのPWM設定値(=駆動データ:LEDの輝度を規定する輝度データに対応)が、全体としてNバイトとなる。   Furthermore, when N effect motors are driven by one driver, the PWM setting value (= drive data: corresponding to the brightness data defining the brightness of the LED) to the gradation register supplied to the N effect motors. ) Becomes N bytes as a whole.

そのため、スタートコマンドとピリオドコマンドを使用しない構成であれば、N個の演出モータの動作状態を更新するのにN+2バイト長のデータ送信で足り、16バイト長のFIFOバッファを使用すれば、FIFOバッファへの一回の書込み処理で、14個の演出モータへの設定値を書き換えることができる。例えば、1mSの割込み間隔で演出モータを歩進させる場合、CPUは、各割込み処理において、FIFOバッファに16バイトの駆動データを一気に書込めば足りるので、CPUの処理負担が極限的に軽減化される。   Therefore, if the start command and the period command are not used, it is sufficient to transmit N + 2 byte data to update the operation state of N effect motors, and if a 16 byte FIFO buffer is used, the FIFO buffer The set values for the 14 effect motors can be rewritten with a single write process. For example, when the production motor is stepped at an interrupt interval of 1 mS, the CPU only has to write 16 bytes of drive data to the FIFO buffer at a time in each interrupt process, so the processing burden on the CPU is extremely reduced. The

<クロック埋め込み方式の複合差動信号DIFによる伝送>
ところで、ここまでの説明では、クロック信号CKiと、シリアル信号(ランプ駆動データ)SDATAiについて、別々の伝送ラインを設けていた。しかし、回路構成を簡略化する意味から、これを一体化させるのも好適である。
<Transmission by clock-embedded composite differential signal DIF>
In the above description, separate transmission lines are provided for the clock signal CKi and the serial signal (lamp drive data) SDATAi. However, it is also preferable to integrate them in order to simplify the circuit configuration.

図13は、クロック信号CKと、シリアル信号SDATAとを結合回路50で一体化させた後に差動ラインドライバDriに供給し、差動ラインレシーバRecの出力を分離回路56で、元の2つの信号CK,SDATAに戻す回路構成を示している。   In FIG. 13, the clock signal CK and the serial signal SDATA are integrated by the coupling circuit 50 and then supplied to the differential line driver Dri. The output of the differential line receiver Rec is output by the separation circuit 56 to the original two signals. A circuit configuration for returning to CK and SDATA is shown.

結合回路50は、NRZ(Non-Return-to-Zero)信号であるシリアル信号SDATA(図13(a))を、図13(b)に示すRZ(Return-to-Zero)信号に変換すると共に、論理反転した幅狭のクロック信号CK(=PL1)に重合させる回路である。   The combining circuit 50 converts the serial signal SDATA (FIG. 13A), which is an NRZ (Non-Return-to-Zero) signal, into an RZ (Return-to-Zero) signal shown in FIG. 13B. , A circuit that superimposes a logically inverted clock signal CK (= PL1).

結合回路50の回路構成は、図13(h)に示す通りであり、クロック信号CKの立下りエッジで動作するワンショットマルチバイブレータ51と、クロック信号CKの立上りエッジで動作するワンショットマルチバイブレータ52と、3個のNOTゲートによる遅延回路53と、ANDゲート54と、ORゲート55とを有して構成されている。   The circuit configuration of the coupling circuit 50 is as shown in FIG. 13H. The one-shot multivibrator 51 that operates at the falling edge of the clock signal CK and the one-shot multivibrator 52 that operates at the rising edge of the clock signal CK. And a delay circuit 53 including three NOT gates, an AND gate 54, and an OR gate 55.

ここで、ワンショットマルチバイブレータ51は、パルス幅τ(例えばduty比50%)のクロック信号CKの立下りエッジに同期して動作することで、論理反転されたパルス幅=τ/2(例えばduty比25%)程度のクロック信号PL1を生成している。一方、ワンショットマルチバイブレータ52は、クロック信号CKの立上りエッジに同期して動作することで、パルス幅=τ×4/5(例えばduty比40%)程度に変形されたクロック信号PL2を生成している(図13(g)参照)。   Here, the one-shot multivibrator 51 operates in synchronization with the falling edge of the clock signal CK having the pulse width τ (for example, duty ratio 50%), so that the logically inverted pulse width = τ / 2 (for example, duty) The clock signal PL1 of about 25%) is generated. On the other hand, the one-shot multivibrator 52 operates in synchronization with the rising edge of the clock signal CK, thereby generating a clock signal PL2 that has been transformed to a pulse width = τ × 4/5 (for example, a duty ratio of 40%). (See FIG. 13 (g)).

そして、クロック信号PL2は、3個のNOTゲートによる遅延回路53を通過して時間遅延すると共に、論理反転されて反転クロック信号PL2”として、ANDゲート54に供給される(図13(g))。このANDゲート54には、NRZ信号であるシリアル信号SDATAも供給されているので、ANDゲート54の出力は、RZ信号となり、これがクロック信号PL1とOR演算されることで、図13(d)に示す複合差動信号DIFとなる。   Then, the clock signal PL2 passes through the delay circuit 53 including three NOT gates and is time-delayed, and logically inverted and supplied to the AND gate 54 as an inverted clock signal PL2 ″ (FIG. 13 (g)). Since the serial signal SDATA, which is an NRZ signal, is also supplied to the AND gate 54, the output of the AND gate 54 becomes an RZ signal, and this is ORed with the clock signal PL1, so that FIG. The composite differential signal DIF shown in FIG.

なお、ANDゲート54の出力は、反転クロック信号PL2”によってL期間がやや延長されるため、図13(b)に示すRZ信号とは正確には一致しないが、クロック信号PL1と重合されることで、実質的に、図13(b)と同一のRZ波形となる。また、結合回路50は、必ずしも必須ではなく、例えば、図13(b)に示すRZ信号や、図13(c)に示すクロック信号をシリアルポートSIから出力するのも好適である。また、図13(d)に示す複合差動信号DIFをシリアルポートから出力する構成を採っても良い。   Note that the output of the AND gate 54 is not exactly coincident with the RZ signal shown in FIG. 13B because the L period is slightly extended by the inverted clock signal PL2 ″, but is superimposed on the clock signal PL1. Thus, the RZ waveform is substantially the same as that in Fig. 13 (b), and the coupling circuit 50 is not necessarily required, for example, the RZ signal shown in Fig. 13 (b) or the RZ signal shown in Fig. 13 (c). It is also preferable to output the clock signal shown from the serial port SI, or the composite differential signal DIF shown in FIG.

このような複合差動信号DIF(クロック信号PL1+RZ信号)は、差動ラインドライバDriに供給され、低レベルの複合差動信号DIFとして、差動ラインレシーバRecまで伝送され、その後、分離回路56において、元の信号CK,SDATAに戻される。なお、シリアル信号SDATAを伝送しないタイミングでは、複合差動信号DIFはLレベルに維持されるよう構成されている。   Such a composite differential signal DIF (clock signal PL1 + RZ signal) is supplied to the differential line driver Dri and transmitted to the differential line receiver Rec as a low-level composite differential signal DIF. Return to the original signals CK and SDATA. Note that, at the timing when the serial signal SDATA is not transmitted, the composite differential signal DIF is configured to be maintained at the L level.

分離回路56は、図13(i)に示の通りであり、複合差動信号DIFの立上りエッジで動作するワンショットマルチバイブレータ57と、ワンショットマルチバイブレータ57の出力信号の立下りエッジに同期して、そのタイミングの複合差動信号DIFのレベルを記憶するDラッチ58とを有して構成されている。   The separation circuit 56 is as shown in FIG. 13 (i), and is synchronized with the one-shot multivibrator 57 operating at the rising edge of the composite differential signal DIF and the falling edge of the output signal of the one-shot multivibrator 57. The D latch 58 stores the level of the composite differential signal DIF at that timing.

分離回路56の動作内容は、図13(d)〜図13(f)に示す通りであり、クロック信号CKと、シリアル信号SDATAとが、クロック信号CKの半周期分だけ位相遅れした状態で復元される。そして、復元されたクロック信号CKと、シリアル信号SDATAは、ドライバDRijに供給されることで、所定のランプを、シリアル信号SDATAで指定された輝度で点灯させることになる。   The operation content of the separation circuit 56 is as shown in FIGS. 13D to 13F, and the clock signal CK and the serial signal SDATA are restored in a state in which the phase is delayed by a half cycle of the clock signal CK. Is done. Then, the restored clock signal CK and the serial signal SDATA are supplied to the driver DRij, so that a predetermined lamp is lit with the luminance specified by the serial signal SDATA.

<クロック埋め込み方式を採らない場合>
以上、LVDS信号として、RZ信号にクロック信号PL1を重合させたクロック埋め込み式の複合差動信号DIFについて説明したが、特に限定されるものではない。例えば、一連のシリアル信号SDATAに先行してスタートビットSTを付記することで、クロック信号の伝送を省略することもできる。
<When not using the clock embedding method>
As described above, the clock-embedded composite differential signal DIF obtained by superimposing the clock signal PL1 on the RZ signal has been described as the LVDS signal, but is not particularly limited. For example, the transmission of the clock signal can be omitted by adding the start bit ST prior to the series of serial signals SDATA.

また、LVDS信号による伝送は、LEDランプやモータを駆動する駆動データSDATAiに限定されず、例えば、制御コマンドCMD,CMD’,CMD”についてもLVDS信号によって伝送するのも好適である。   Further, the transmission by the LVDS signal is not limited to the drive data SDATAi for driving the LED lamp and the motor, and for example, it is also preferable to transmit the control commands CMD, CMD ′, and CMD ″ by the LVDS signal.

図14は、このような回路構成を例示したものであり、上流側の制御部から下流側の制御部に対して、16ビット長の制御コマンドCMDを、LVDS伝送する場合を示している。なお、スタートビットSTの論理値は、適宜に設定されるが、例えば、非伝送時のシリアル信号SDATAがHレベルに維持される場合には、スタートビットSTの論理値がLとなる(図14(a))。また、スタートビットは、例えば、シリアルポートにおいて自動的に付加される。   FIG. 14 exemplifies such a circuit configuration, and shows a case where a 16-bit control command CMD is transmitted from the upstream control unit to the downstream control unit by LVDS transmission. Note that the logical value of the start bit ST is appropriately set. For example, when the serial signal SDATA during non-transmission is maintained at the H level, the logical value of the start bit ST becomes L (FIG. 14). (A)). Also, the start bit is automatically added, for example, at the serial port.

この場合のLVDS信号(シリアル伝送信号SGN)は、定常レベル(H)からLレベルに立下るスタートビットSTが、16ビット長の制御コマンドCMDに先行するビットパターンとなる(図14(a))。なお、この場合、上流側の制御部から下流側の制御部には、例えば、制御コマンドCMDを取得すべき旨を指示するストローブ信号STBが伝送される(図14(b)参照)。   In this case, in the LVDS signal (serial transmission signal SGN), the start bit ST that falls from the steady level (H) to the L level has a bit pattern preceding the 16-bit control command CMD (FIG. 14A). . In this case, for example, a strobe signal STB instructing that the control command CMD should be acquired is transmitted from the upstream control unit to the downstream control unit (see FIG. 14B).

この上流側制御部の構成に対応して、下流側の制御部には、シリアル伝送信号SGNの16ビット区間だけ再生クロックRCKを生成する再生クロック生成部80と、シリアル伝送信号SGNと再生クロックRCKを受けて制御コマンドCMDを再生する信号再生部81と、が設けられている。信号再生部81は、16ビット長の制御コマンドCMDを、シリアルデータとして受けるシフトレジスタRGと、16ビット長の制御コマンドCMDを、パラレルデータとして保存する出力バッファBUFとを有して構成されている。   Corresponding to the configuration of the upstream control unit, the downstream control unit includes a reproduction clock generation unit 80 that generates a reproduction clock RCK for a 16-bit section of the serial transmission signal SGN, a serial transmission signal SGN, and a reproduction clock RCK. And a signal reproduction unit 81 for reproducing the control command CMD. The signal reproducing unit 81 includes a shift register RG that receives a 16-bit control command CMD as serial data, and an output buffer BUF that stores the 16-bit control command CMD as parallel data. .

図14(d)に示す通り、再生クロック生成部80は、所定の時間区間だけ基準クロックCKを受ける16×N進カウンタ82と、スタートビットSTの立下りエッジに対応してセットパルスを生成するワンショットマルチバイブレータ83と、ワンショットマルチバイブレータ83からのセットパルス、及び、16×N進カウンタ82からのリセットパルスを受けるRSフリップフロップ84と、を備えて構成されている。   As shown in FIG. 14 (d), the recovered clock generation unit 80 generates a set pulse corresponding to the falling edge of the start bit ST, and a 16 × N-ary counter 82 that receives the reference clock CK for a predetermined time interval. A one-shot multivibrator 83, an RS flip-flop 84 that receives a set pulse from the one-shot multivibrator 83 and a reset pulse from the 16 × N-ary counter 82 are configured.

そして、ワンショットマルチバイブレータ83には、シリアル伝送信号SGNの反転信号と、RSフリップフロップ84のQバー出力と、を受けるANDゲート85の出力信号が供給される。また、16×N進カウンタ82の計数端子には、基準クロックCKと、RSフリップフロップ84のQ出力と、を受けるANDゲート86の出力信号が供給される。なお、この実施例では、例えば、N=2であるので、以下、16×N進カウンタ82を32進カウンタ82と表現する。   The one-shot multivibrator 83 is supplied with an output signal of an AND gate 85 that receives the inverted signal of the serial transmission signal SGN and the Q-bar output of the RS flip-flop 84. An output signal of the AND gate 86 that receives the reference clock CK and the Q output of the RS flip-flop 84 is supplied to the count terminal of the 16 × N-ary counter 82. In this embodiment, for example, since N = 2, the 16 × N-ary counter 82 is hereinafter expressed as a 32-ary counter 82.

このような回路構成の再生クロック生成部80において、RSフリップフロップ84は、初期状態でリセット状態であり、そのQ出力がLレベル、Qバー出力がHレベルである。そのため、ANDゲート85は開状態で待機し、ANDゲート86は閉状態で動作開始を待機することになる。   In the recovered clock generation unit 80 having such a circuit configuration, the RS flip-flop 84 is in the reset state in the initial state, the Q output thereof is L level, and the Q bar output is H level. Therefore, the AND gate 85 waits in an open state, and the AND gate 86 waits for an operation start in a closed state.

このような待機状態において、シリアル伝送信号SGNが伝送されると、スタートビットSTが反転してワンショットマルチバイブレータ83に供給されることになり、所定時間だけHレベルを維持するセットパルスが生成される。この時、RSフリップフロップ84のリセット端子はLレベルであるので、RSフリップフロップ84はセット状態となり、Q出力がHレベルに遷移する一方、Qバー出力がLレベルに遷移する。   In such a standby state, when the serial transmission signal SGN is transmitted, the start bit ST is inverted and supplied to the one-shot multivibrator 83, and a set pulse that maintains the H level for a predetermined time is generated. The At this time, since the reset terminal of the RS flip-flop 84 is at the L level, the RS flip-flop 84 is set and the Q output transitions to the H level, while the Q bar output transitions to the L level.

その結果、HレベルのQ出力を受けるANDゲート86が閉状態から開状態に変化する。また、LレベルのQバー出力が多少の時間遅延の後にANDゲート85に供給されるので、その後は、ANDゲート85は閉状態となる。このRSフリップフロップ84の動作状態は、セットパルスが消滅した後も維持されるので、スタートビットST以降のシリアル伝送信号SGNが、ワンショットマルチバイブレータ83に影響を与えることがない。そのため、ANDゲート86の開状態と、ANDゲート85の閉状態は、その後も維持されることになる。   As a result, the AND gate 86 that receives the Q output at the H level changes from the closed state to the open state. Further, since the L level Q-bar output is supplied to the AND gate 85 after some time delay, the AND gate 85 is closed thereafter. Since the operation state of the RS flip-flop 84 is maintained even after the set pulse disappears, the serial transmission signal SGN after the start bit ST does not affect the one-shot multivibrator 83. Therefore, the open state of the AND gate 86 and the closed state of the AND gate 85 are maintained thereafter.

このような動作状態において、32進カウンタ82は、計数動作を繰り返すが、そのN分周出力は、再生クロックRCKとして信号再生部81に供給される。図14(b)と図14(c)は、基準クロックCKと、再生クロックRCKとの関係を図示したものであり、N=2であるこの実施例では、基準クロックCKの2分周出力が再生クロックRCKとなることを示している。   In such an operating state, the 32-bit counter 82 repeats the counting operation, but its N-divided output is supplied to the signal reproduction unit 81 as the reproduction clock RCK. FIGS. 14B and 14C illustrate the relationship between the reference clock CK and the recovered clock RCK. In this embodiment in which N = 2, the divide-by-2 output of the reference clock CK is It shows that it becomes the reproduction clock RCK.

ところで、32進カウンタ82は、32個目の基準クロックCKを受けるとキャリー信号CYを出力する。このキャリー信号CYは、RSフリップフロップ84のリセット端子に供給されるので、RSフリップフロップ84は、このタイミングでリセット状態となり、その結果、ANDゲート86が開状態に遷移する一方、ANDゲート85は開状態に遷移する。   By the way, the 32nd counter 82 outputs a carry signal CY when receiving the 32nd reference clock CK. Since the carry signal CY is supplied to the reset terminal of the RS flip-flop 84, the RS flip-flop 84 is reset at this timing, and as a result, the AND gate 86 changes to the open state, while the AND gate 85 is Transition to the open state.

RSフリップフロップ84のリセット状態は、キャリー信号CYの消滅後も維持されるので、ANDゲート86の開状態と、ANDゲート85の開状態が、その後も維持されることになり、その後のシリアル伝送信号SGNのスタートビットSTを待つ待機状態を維持する。なお、キャリー信号CYは時間遅延を経て、論理反転されて32進カウンタ82のクリア端子に供給されるので、カウンタ値は初期状態に戻ることになり、再生クロック生成部80が次のシリアル伝送信号SGNのスタートビットSTを受けた後は、上記と同じ動作を実行することになる。   Since the reset state of the RS flip-flop 84 is maintained even after the carry signal CY disappears, the open state of the AND gate 86 and the open state of the AND gate 85 are maintained thereafter, and serial transmission thereafter. The standby state waiting for the start bit ST of the signal SGN is maintained. The carry signal CY undergoes a time delay, is logically inverted, and is supplied to the clear terminal of the binary counter 82, so that the counter value returns to the initial state, and the reproduction clock generation unit 80 receives the next serial transmission signal. After receiving the start bit ST of SGN, the same operation as described above is executed.

以上の通り、この実施例では、シリアル伝送信号SGNの16ビット区間だけ、再生クロック生成部80が再生クロックRCKを出力することで、シリアル伝送信号SGNから制御コマンドCMDが抽出される。抽出された制御コマンドCMDは、シリアル信号からパラレル信号に変換されて信号再生部81の出力バッファBUFに格納される。したがって、ストローブ信号STBによって制御コマンドが伝送されたことを通知された下流側制御部では、信号再生部81の出力バッファBUFから制御コマンドを取得すれば良いことになる。   As described above, in this embodiment, the reproduction clock generator 80 outputs the reproduction clock RCK only in the 16-bit section of the serial transmission signal SGN, whereby the control command CMD is extracted from the serial transmission signal SGN. The extracted control command CMD is converted from a serial signal to a parallel signal and stored in the output buffer BUF of the signal reproducing unit 81. Therefore, the downstream control unit that has been notified that the control command has been transmitted by the strobe signal STB has only to acquire the control command from the output buffer BUF of the signal reproduction unit 81.

以上説明した図14(d)の回路構成によれば、クロック信号を埋め込むことなく、簡易にLVDS伝送することができる。しかも、制御コマンドCMD,CMD’,CMD”などが、低レベルの差動信号(LVDS信号)として伝送されるので、伝送信号の高調波によって電波法上の問題が生じることがない。また、制御コマンドが差動信号として伝送されコモンモードノイズの影響が排除されるので、制御コマンドのビット化けが効果的に防止される。   According to the circuit configuration of FIG. 14D described above, LVDS transmission can be easily performed without embedding a clock signal. In addition, since the control commands CMD, CMD ′, CMD ”and the like are transmitted as low-level differential signals (LVDS signals), there is no problem in the radio law due to the harmonics of the transmission signal. Since the command is transmitted as a differential signal and the influence of common mode noise is eliminated, the bit corruption of the control command is effectively prevented.

<シリアルポートに代えてシリアル伝送素子を使用する場合>
ところで、これまでの説明では、シリアルポートSIを使用してシリアル信号を生成していたが、必ずしも、このような構成に限定されず、シリアルポートSIを使用しない構成も簡易性において極めて好適である。
<When using a serial transmission element instead of a serial port>
In the above description, the serial signal is generated using the serial port SI. However, the configuration is not necessarily limited to such a configuration, and a configuration that does not use the serial port SI is also very suitable in terms of simplicity. .

図15は、シリアルポートSIの動作を、専用のシリアル伝送素子(IC)70に代用させる構成例を示している。図示の通り、このシリアル伝送素子70は、動作クロックを生成する発振回路OSCと、16ビット長の入力/出力バッファ60(60T/60R)と、シリアライザ/デシリアライザ61(61T/61R)と、クロック抽出回路62と、差動ラインドライバDriと、差動ラインレシーバRecなどを内蔵して構成されている。また、動作制御端子DIRと、動作可否状態を制御するリセット端子RSTNと、素子選択用のチップセレクト端子CSとを備えている。   FIG. 15 shows a configuration example in which the operation of the serial port SI is substituted for a dedicated serial transmission element (IC) 70. As illustrated, the serial transmission element 70 includes an oscillation circuit OSC that generates an operation clock, a 16-bit input / output buffer 60 (60T / 60R), a serializer / deserializer 61 (61T / 61R), and a clock extraction. The circuit 62, the differential line driver Dri, and the differential line receiver Rec are built in. In addition, an operation control terminal DIR, a reset terminal RSTN for controlling the operation availability state, and a chip selection terminal CS for element selection are provided.

動作制御端子DIRは、シリアル伝送素子70を、送信モード(DIR=L)で動作させるか、受信モード(DIR=H)で動作させるかを規定する制御端子である。そして、送信モードのシリアル伝送素子70の入力バッファ60Tには、例えば、演出制御部22’のワンチップマイコン40のパラレルポートP0’から、16ビット長のパラレルデータが供給される。一方、受信モードのシリアル伝送素子70は、例えば、LEDドライバに接続されて、出力バッファ60Rが16個のLEDを点灯制御している。   The operation control terminal DIR is a control terminal that defines whether the serial transmission element 70 is operated in the transmission mode (DIR = L) or the reception mode (DIR = H). The input buffer 60T of the serial transmission element 70 in the transmission mode is supplied with 16-bit parallel data from, for example, the parallel port P0 'of the one-chip microcomputer 40 of the effect control unit 22'. On the other hand, the serial transmission element 70 in the reception mode is connected to, for example, an LED driver, and the output buffer 60R controls lighting of 16 LEDs.

図示の通り、図15の回路構成では、シリアル伝送素子70R・・・70Rは、その動作制御端子DIRがHレベルに固定されているので、シリアル信号の受信動作を繰り返し、受信した16ビットデータをLEDドライバに出力することになる。特に限定されないが、この実施例の場合、伝送されるシリアル信号は、16個のLEDをON/OFFレベルを規定する16ビット長の単純な点灯データである。   As shown in the figure, in the circuit configuration of FIG. 15, since the operation control terminal DIR of the serial transmission elements 70R... 70R is fixed at the H level, the serial signal receiving operation is repeated, Output to the LED driver. Although not particularly limited, in the case of this embodiment, the serial signal to be transmitted is simple lighting data having a 16-bit length that defines the ON / OFF level of 16 LEDs.

一方、図15のシリアル伝送素子70Tの動作制御端子DIRは、必要時に、演出制御部22’のワンチップマイコン40によって、所定時間だけLレベルを維持するよう構成されている。なお、16ビット長のシリアル伝送処理が完了するまで、動作制御端子DIRがLレベルとされる。そして、動作制御端子DIRがLレベルに遷移するタイミングで、リセット端子RSTNが同期してHレベルになることで、シリアル伝送素子70のシリアライザ61Tの送信動作が開始されるよう構成されている。   On the other hand, the operation control terminal DIR of the serial transmission element 70T in FIG. 15 is configured to maintain the L level for a predetermined time by the one-chip microcomputer 40 of the effect control unit 22 'when necessary. The operation control terminal DIR is kept at the L level until the 16-bit serial transmission processing is completed. The transmission operation of the serializer 61T of the serial transmission element 70 is started when the reset terminal RSTN is synchronized with the H level at the timing when the operation control terminal DIR transitions to the L level.

そして、送信動作を開始したシリアライザ61Tは、発振回路OSCの動作クロックに同期して、入力バッファ60Tの16ビットデータを1ビットずつ受けて、差動ラインドライバDriに、LVDS信号を供給する。   The serializer 61T that has started the transmission operation receives the 16-bit data of the input buffer 60T bit by bit in synchronization with the operation clock of the oscillation circuit OSC, and supplies the LVDS signal to the differential line driver Dri.

特に限定されるのではないが、このLVDS信号は、クロック埋め込み式のシリアル信号であり、図13に示したRZ信号に、クロック信号(発振回路OSCが出力する動作クロック)を重合させた複合差動信号DIFである。そして、クロック抽出回路62は、図13の分離回路56と同様に動作して、複合差動信号DIFに埋め込まれたクロック信号を抽出している。   Although not particularly limited, the LVDS signal is a clock-embedded serial signal, and is a composite difference in which a clock signal (an operation clock output from the oscillation circuit OSC) is superimposed on the RZ signal shown in FIG. This is a motion signal DIF. The clock extraction circuit 62 operates in the same manner as the separation circuit 56 in FIG. 13 and extracts the clock signal embedded in the composite differential signal DIF.

デシリアライザ61Rは、抽出回路62が抽出したクロック信号に同期して機能して、複合差動信号DIFから16ビット長のシリアル信号(RZ信号)を抽出して、これを出力バッファ60Rに16ビットパラレルデータとして出力している。先に説明した通り、この実施例の場合、伝送されるシリアル信号は、16個のLEDをON/OFFレベルを規定する16ビット長の点灯データであり、出力バッファ60Rのパラレルデータは、LEDドライバに供給されて、16個のLEDを点灯制御している。   The deserializer 61R functions in synchronization with the clock signal extracted by the extraction circuit 62, extracts a 16-bit long serial signal (RZ signal) from the composite differential signal DIF, and outputs the 16-bit parallel signal to the output buffer 60R. Output as data. As described above, in this embodiment, the serial signal to be transmitted is 16-bit lighting data that defines the ON / OFF level of 16 LEDs, and the parallel data of the output buffer 60R is the LED driver. To control the lighting of 16 LEDs.

以上の説明を踏まえて、演出制御部22’のワンチップマイコン40が、所定時間毎に、N個のシリアル伝送素子70R・・・70Rを経由してN×16個のLEDランプの点灯制御動作を繰り返す定時動作(点灯更新処理)について説明する。   Based on the above description, the one-chip microcomputer 40 of the production control unit 22 ′ performs the lighting control operation of N × 16 LED lamps via the N serial transmission elements 70R... 70R every predetermined time. The scheduled operation (lighting update process) that repeats the above will be described.

ワンチップマイコン40は、N個のシリアル伝送素子70Rの先頭のアドレス値(チップ番号)をアドレスデコーダ63に出力することで、チップセレクト信号CS0をアクティブにした後、ワンチップマイコン40のパラレルポートPo’に点灯データをセットし、所定時間だけ、送信指令信号CTLをLレベルに維持する。   The one-chip microcomputer 40 outputs the first address value (chip number) of the N serial transmission elements 70R to the address decoder 63, thereby activating the chip select signal CS0, and then the parallel port Po of the one-chip microcomputer 40. The lighting data is set to 'and the transmission command signal CTL is maintained at the L level for a predetermined time.

すると、送信指令信号CTLがLレベルになったことで、シリアル伝送素子70Tは、上記した送信処理を自動的に開始して、複合差動信号DIFを差動ラインドライバDriから出力する。この動作に対応して、チップセレクトされているシリアル伝送素子70Rの差動ラインレシーバRecは、複合差動信号DIFを受信し、受信された複合差動信号DIFは、デシリアライザ61Rにおいて点灯データに復元されて、復元された点灯データをLEDドライバに出力する。   Then, when the transmission command signal CTL becomes L level, the serial transmission element 70T automatically starts the transmission process described above and outputs the composite differential signal DIF from the differential line driver Dri. Corresponding to this operation, the differential line receiver Rec of the serial transmission element 70R that is chip-selected receives the composite differential signal DIF, and the received composite differential signal DIF is restored to lighting data in the deserializer 61R. Then, the restored lighting data is output to the LED driver.

次に、ワンチップマイコン40は、2番目のアドレス値をアドレスデコーダ63に出力し、対応する点灯データをパラレルポートPo’セットし、所定時間だけ、送信指令信号CTLをLレベルに維持する。以下、同様であり、N個のシリアル伝送素子70Rに対して、同じ送信動作を繰り返すことで、N×16個のランプ点灯状態を更新する定時処理を終えることができる。   Next, the one-chip microcomputer 40 outputs the second address value to the address decoder 63, sets the corresponding lighting data to the parallel port Po ', and maintains the transmission command signal CTL at the L level for a predetermined time. The same is true for the following, and the same transmission operation is repeated for the N serial transmission elements 70R, thereby completing the scheduled processing for updating the N × 16 lamp lighting states.

以上の動作から確認される通り、図15の実施例では、ワンチップマイコン40の制御負担が大幅に軽減される利点がある。しかも、シリアル伝送素子70Rへの信号線は、3本であり(DIF+CSi)であり、機器構成を大幅に簡素化することができる。更に、LVDS信号を使用するので、コモンモードノイズに強い上に、電波法上のトラブルも防止される。   As confirmed from the above operation, the embodiment of FIG. 15 has an advantage that the control burden of the one-chip microcomputer 40 is greatly reduced. Moreover, the number of signal lines to the serial transmission element 70R is three (DIF + CSi), and the device configuration can be greatly simplified. Furthermore, since the LVDS signal is used, it is strong against common mode noise, and troubles in the radio law are prevented.

<別のシリアル伝送素子を使用する場合>
ところで、図15に示すシリアル伝送素子は、16ビット長のパラレルデータを入出力しているが、2バイト長のパラレルデータを1バイト単位で処理するシリアル伝送素子71を使用するのも好適である。
<When using another serial transmission element>
Incidentally, the serial transmission element shown in FIG. 15 inputs / outputs 16-bit parallel data, but it is also preferable to use a serial transmission element 71 that processes 2-byte parallel data in units of 1 byte. .

図16(a)は、この場合の回路例であり、このシリアル伝送素子71は、動作クロックを生成する発振回路OSCと、8ビット長の入力/出力バッファ65(65T/65R)と、16ビットデータを扱うシリアライザ/デシリアライザ66(66T/66R)と、クロック抽出回路67と、差動ラインドライバDriと、差動ラインレシーバRecなどを内蔵して構成されている。また、動作制御端子TXEN,RXENと、入出力データが16ビットデータの上位バイトか下位バイトかを規定する上下イネーブル端子LEN_U,LEN_Lとを備えている。   FIG. 16A shows a circuit example in this case. The serial transmission element 71 includes an oscillation circuit OSC that generates an operation clock, an 8-bit input / output buffer 65 (65T / 65R), and a 16-bit circuit. It includes a serializer / deserializer 66 (66T / 66R) that handles data, a clock extraction circuit 67, a differential line driver Dri, a differential line receiver Rec, and the like. In addition, operation control terminals TXEN and RXEN, and upper and lower enable terminals LEN_U and LEN_L for defining whether the input / output data is an upper byte or a lower byte of 16-bit data are provided.

ここで、動作制御端子TXENがLレベルである図16(a)左側のシリアル伝送素子71は送信動作を実行し、動作制御端子RXENがLレベルである図16(a)右側のシリアル伝送素子71は受信動作を実行することになる。   Here, the serial transmission element 71 on the left side of FIG. 16A whose operation control terminal TXEN is at the L level performs a transmission operation, and the serial transmission element 71 on the right side of FIG. 16A where the operation control terminal RXEN is at the L level. Performs the receiving operation.

なお、シリアライザ/デシリアライザ66(66T/66R)や、クロック抽出回路67は、図15のシリアル伝送素子70の場合と同様に機能し、例えば、2バイト長の制御コマンドが、図13に示すクロック埋め込み式のシリアル信号として伝送される。また、ここでは、上流側の制御基板から下流側の制御基板に制御コマンドCMDを伝送するので、制御コマンドCMDを送信したことを示すストローブ信号STBも、下流側の制御基板に伝送される。   Note that the serializer / deserializer 66 (66T / 66R) and the clock extraction circuit 67 function in the same manner as in the case of the serial transmission element 70 of FIG. 15, for example, a control command having a 2-byte length is embedded in the clock shown in FIG. Is transmitted as a serial signal. Here, since the control command CMD is transmitted from the upstream control board to the downstream control board, the strobe signal STB indicating that the control command CMD has been transmitted is also transmitted to the downstream control board.

上流側の制御部が制御コマンドを送信する場合には、上流側のコンピュータ素子は、2バイトの制御コマンドの1バイト目を出力した後に、上下イネーブル端子LEN_U,LEN_Lの何れか一方側をアクティブにする。すると、シリアル伝送素子70では、1バイト目の制御コマンドが、入力バッファ65Tに取得されると共に、1バイト目の制御コマンドのシリアライザ66Tへの転送動作が開始される。   When the upstream control unit transmits a control command, the upstream computer element outputs the first byte of the 2-byte control command and then activates one of the upper and lower enable terminals LEN_U and LEN_L. To do. Then, in the serial transmission element 70, the control command for the first byte is acquired in the input buffer 65T, and the transfer operation of the control command for the first byte to the serializer 66T is started.

そこで、上流側のコンピュータ素子は、1バイト目の転送動作が完了するまで待機した後、制御コマンドの2バイト目を出力し、上下イネーブル端子LEN_U,LEN_Lの他方側をアクティブにする。すると、シリアル伝送素子70では、2バイト目の制御コマンドが、入力バッファ65Tに取得されると共に、2バイト目の制御コマンドのシリアライザ66Tへの転送動作が開始される。また、2バイト長の制御コマンドについてシリアル伝送が開始され、差動ラインドライバDriから時間順次にLVDS信号が出力される。   Therefore, after waiting until the transfer operation for the first byte is completed, the upstream computer element outputs the second byte of the control command and activates the other side of the upper and lower enable terminals LEN_U and LEN_L. Then, in the serial transmission element 70, the control command for the second byte is acquired in the input buffer 65T, and the transfer operation of the control command for the second byte to the serializer 66T is started. Further, serial transmission is started for a control command having a length of 2 bytes, and LVDS signals are output in time sequence from the differential line driver Dri.

出力されたLVDS信号は、シリアル伝送素子71の差動ラインレシーバRecで受信され、クロック抽出回路67やデシリアライザ66Rが機能することで、2バイト長の制御コマンドがパラレルデータに変換されて、出力バッファ65Rに保存される。   The output LVDS signal is received by the differential line receiver Rec of the serial transmission element 71, and the clock extraction circuit 67 and the deserializer 66R function, so that a 2-byte control command is converted into parallel data, and the output buffer Stored in 65R.

一方、ストローブ信号STBを受けた下流側の制御基板のコンピュータ素子は、出力バッファ65Rから制御コマンドを1バイト毎に取得する。この場合、下流側のコンピュータ素子は、上位イネーブル端子LEN_Uをアクティブにして、上位1バイトを取得し、下位イネーブル端子LEN_Lをアクティブにして、下位1バイトを取得することになる。   On the other hand, the computer element of the downstream control board that has received the strobe signal STB acquires a control command from the output buffer 65R for each byte. In this case, the downstream computer element activates the upper enable terminal LEN_U to acquire the upper 1 byte, and activates the lower enable terminal LEN_L to acquire the lower 1 byte.

なお、上記の説明では、クロック埋め込み方式を採ることにしているが、LVDS信号は、特に、クロック埋め込み式のシリアル信号である必要はなく、例えば、クロック抽出回路67を、図14(d)に示す再生クロック生成部80や信号再生部81と同様の回路構成にすれば、制御コマンドCMDにスタートビットを付加した単純なシリアル信号を使用することができる。   In the above description, the clock embedding method is adopted. However, the LVDS signal is not particularly required to be a clock embedded serial signal. For example, the clock extraction circuit 67 is shown in FIG. If a circuit configuration similar to that of the reproduction clock generation unit 80 and the signal reproduction unit 81 shown in FIG.

また、図16(a)では、制御コマンドの伝送について説明したが、枠側部材GM1としてのチャンスボタン11やその他のスイッチ信号をまとめて、シリアル伝送素子71を使用して伝送するのも好適である。   In addition, in FIG. 16A, transmission of the control command has been described. However, it is also preferable that the chance button 11 as the frame side member GM1 and other switch signals are collectively transmitted using the serial transmission element 71. is there.

図16(b)は、チャンスボタン11その他のスイッチ信号を受ける送信モードのシリアル伝送素子71Tと、演出制御部22’に配置される受信モードのシリアル伝送素子71Rとを示している。特に限定されるものではないが、スイッチ信号は、最高16ビットとし、これが、8ビット毎に演出制御部22’のワンチップマイコン40に取得されることにする。   FIG. 16B shows a serial transmission element 71T in transmission mode that receives the chance button 11 and other switch signals, and a serial transmission element 71R in reception mode that is arranged in the effect control unit 22 '. Although not particularly limited, the switch signal has a maximum of 16 bits and is acquired by the one-chip microcomputer 40 of the effect control unit 22 'every 8 bits.

図16(b)の回路構成では、シリアル伝送素子71Tに近接して、発振回路OSCと、8進カウンタ90と、3−8デコーダ91とが設けられている。ここで、発振回路OSCの発振周期Tは、スイッチ信号のサンプリング周期に対応して、例えば、1mS〜10mS程度に設定される。   In the circuit configuration of FIG. 16B, an oscillation circuit OSC, an octal counter 90, and a 3-8 decoder 91 are provided in the vicinity of the serial transmission element 71T. Here, the oscillation period T of the oscillation circuit OSC is set to about 1 mS to 10 mS, for example, corresponding to the sampling period of the switch signal.

この場合には、3−8デコーダ91からは、各々、8×T毎に、各デコード出力OT、OT、・・・OTが出力され、デコード出力OTは、上位イネーブル端子LEN_Uに供給され、デコード出力OTは、下位イネーブル端子LEN_Lに供給されている。また、デコード出力OTは、送信開始を示す通知信号RDYとして、演出制御部22’に伝送される。 In this case, from 3-8 decoder 91, respectively, for each 8 × T, the decoded output OT 0, OT 1, ··· OT 7 is outputted, the decoded output OT 0 is the upper enable terminal LEN_U is supplied, the decoded output OT 1 is supplied to the lower enable terminal LEN_L. The decode output OT 7 is transmitted to the effect control unit 22 ′ as a notification signal RDY indicating the start of transmission.

この回路構成では、発振回路OSCの発振周期Tに対応して、8×T毎(1mS〜10mS程度)に、上位イネーブル端子LEN_Uと下位イネーブル端子LEN_Lとが、この順番にアクティブになる。そのため、2バイト長のスイッチ信号が、上位バイト→下位バイトの順番に、シリアル伝送素子71Tの入力バッファ65Tに取得され、シリアライザ66T及び差動ラインドライバDriを経由して、クロック埋め込み式その他の形式のLVDS信号として、演出制御部22’に向けて送信される。一方、LVDS信号を受けるシリアル伝送素子71Rでは、差動ラインレシーバRec及びデシリアライザ66Rを経由して、受信したLVDS信号を2バイト長のスイッチ信号に復元する。   In this circuit configuration, the upper enable terminal LEN_U and the lower enable terminal LEN_L are activated in this order every 8 × T (about 1 mS to 10 mS) corresponding to the oscillation period T of the oscillation circuit OSC. Therefore, a 2-byte long switch signal is acquired in the input buffer 65T of the serial transmission element 71T in the order of the upper byte → the lower byte, and is embedded in the clock or other format via the serializer 66T and the differential line driver Dri. The LVDS signal is transmitted toward the effect control unit 22 ′. On the other hand, the serial transmission element 71R that receives the LVDS signal restores the received LVDS signal into a 2-byte switch signal via the differential line receiver Rec and the deserializer 66R.

そして、下位イネーブル端子LEN_Lがアクティブレベルになってから、6×T後には、デコード出力OT(通知信号RDY)がアクティブレベルとなるので、これを受けた演出制御部22’では、2バイト長のスイッチ信号を、1バイト毎に取得することになる。 Then, after 6 × T after the lower enable terminal LEN_L becomes the active level, the decode output OT 7 (notification signal RDY) becomes the active level. This switch signal is acquired for each byte.

なお、図16(b)の回路構成では、端末機器側から演出制御部に対して、通知信号RDYの伝送が必要になる。しかし、シリアル伝送素子71に、デシリアライザ66Rの動作完了を示すフラグレジスタ93を内蔵させれば、演出制御部22’のワンチップマイコンがフラグレジスタ93を参照することで、LVDS信号の受信完了を知ることができ、通知信号RDYの伝送を不要にすることができる。   In the circuit configuration of FIG. 16B, it is necessary to transmit the notification signal RDY from the terminal device side to the effect control unit. However, if the serial transmission element 71 includes the flag register 93 indicating the completion of the operation of the deserializer 66R, the one-chip microcomputer of the effect control unit 22 ′ refers to the flag register 93 to know the completion of reception of the LVDS signal. And transmission of the notification signal RDY can be made unnecessary.

以上、図15〜図16では、シリアル伝送素子71を使用して差動伝送を実現する回路構成を説明したが、(1)ノイズ上のトラブルが懸念されない場合、(2)伝送距離が近い場合、(3)簡易性を重視したい場合などは、差動信号に代えてシングルエンド信号を伝送しても良い。この場合には、制御コマンドやスイッチ信号が1本の信号線で伝送できる大きなメリットがある。   As described above, in FIGS. 15 to 16, the circuit configuration for realizing the differential transmission using the serial transmission element 71 has been described. However, (1) When there is no concern about noise, (2) When the transmission distance is short (3) When it is desired to emphasize simplicity, a single-ended signal may be transmitted instead of the differential signal. In this case, there is a great merit that the control command and the switch signal can be transmitted through one signal line.

以上、各種の実施例を説明したが、スイッチ信号や点灯信号を伝送する回路構成や回路動作手法が、制御コマンドCMDを伝送する場合にも活用できるのは言うまでもない。また、ここでは、もっぱら弾給遊技機を例にして各種の実施例を説明したが、本発明の適用は、弾球遊技機に限定されないのは勿論である。   Although various embodiments have been described above, it goes without saying that the circuit configuration and circuit operation method for transmitting the switch signal and the lighting signal can also be used for transmitting the control command CMD. In addition, although various embodiments have been described here by taking a bullet feeding game machine as an example, the application of the present invention is not limited to a bullet ball game machine.

GM 遊技機
CK クロック信号
CMD 制御コマンド
21 上流側制御手段
22 下流側制御手段
GM gaming machine CK clock signal CMD control command 21 upstream control means 22 downstream control means

Claims (10)

所定のスイッチ信号に基づいて抽選処理を実行して、抽選結果に対応した遊技動作を実行する遊技機であって、
抽選結果を特定する制御コマンドを送信する上流側制御手段と、前記制御コマンドを受信する下流側制御手段とを有して構成され、
前記制御コマンドは、LVDS信号の形式で伝送されるよう構成されていることを特徴とする遊技機。
A gaming machine that executes a lottery process based on a predetermined switch signal and executes a gaming operation corresponding to the lottery result,
An upstream control means for transmitting a control command for specifying the lottery result, and a downstream control means for receiving the control command,
A gaming machine, wherein the control command is configured to be transmitted in the form of an LVDS signal.
前記制御コマンドの各ビットの区切り位置を特定する伝送クロックが、制御コマンドに対応してLVDS信号の形式で伝送されている請求項1に記載の遊技機。   The gaming machine according to claim 1, wherein a transmission clock that specifies a break position of each bit of the control command is transmitted in the form of an LVDS signal corresponding to the control command. 前記制御コマンドの各ビットの区切り位置を特定する伝送クロックの伝送路が設けられていない請求項1に記載の遊技機。   The gaming machine according to claim 1, wherein a transmission path of a transmission clock that specifies a break position of each bit of the control command is not provided. 前記制御コマンドの伝送に対応して、LVDS信号の伝送を通知する通知信号が上流側制御手段から下流側制御手段に伝送されるよう構成されている請求項1〜3の何れかに記載の遊技機。   The game according to any one of claims 1 to 3, wherein a notification signal for notifying transmission of an LVDS signal is transmitted from the upstream control means to the downstream control means in response to the transmission of the control command. Machine. パラレルデータの制御コマンドをLVDS信号の形式に変換して出力するシリアル伝送素子が、上流側制御手段に配置される請求項1〜4の何れかに記載の遊技機。   The gaming machine according to any one of claims 1 to 4, wherein a serial transmission element that converts a parallel data control command into an LVDS signal format and outputs the same is arranged in the upstream control means. LVDS信号を受信して、パラレルデータの制御コマンドに変換して出力するシリアル伝送素子が、下流側制御手段に配置される請求項1〜5の何れかに記載の遊技機。   The gaming machine according to any one of claims 1 to 5, wherein a serial transmission element that receives an LVDS signal, converts it into a parallel data control command, and outputs the parallel data control command is arranged in the downstream control means. 前記LVDS信号は、シリアル形式の制御コマンドに伝送クロックを重合させた複合信号である請求項1、又は請求項3〜6の何れかに記載の遊技機。   7. The gaming machine according to claim 1, wherein the LVDS signal is a composite signal obtained by superimposing a transmission clock on a serial control command. 前記LVDS信号は、シリアル形式の制御コマンドにスタートビットを付加した複合信号である請求項1、又は請求項3〜6の何れかに記載の遊技機。   The gaming machine according to claim 1, wherein the LVDS signal is a composite signal in which a start bit is added to a serial control command. 前記制御コマンドは、複数バイト長であり、1バイト毎に上流側制御手段のシリアル伝送素子に供給され、1バイト毎に下流側制御手段のシリアル伝送素子から取得されるよう構成されている請求項1〜8の何れかに記載の遊技機。   The control command has a length of a plurality of bytes, and is configured to be supplied to the serial transmission element of the upstream control unit for each byte and to be acquired from the serial transmission element of the downstream control unit for each byte. The gaming machine according to any one of 1 to 8. 複数バイト長の前記制御コマンドが、上流側制御手段のシリアル伝送素子に一の処理で供給され、下流側制御手段のシリアル伝送素子から一の処理で取得されるよう構成されている請求項1〜8の何れかに記載の遊技機。
The control command having a length of a plurality of bytes is configured to be supplied to the serial transmission element of the upstream side control means in one process and acquired from the serial transmission element of the downstream side control means in one process. 8. The gaming machine according to any one of 8.
JP2013212539A 2013-10-10 2013-10-10 Game machine Active JP5868369B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013212539A JP5868369B2 (en) 2013-10-10 2013-10-10 Game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013212539A JP5868369B2 (en) 2013-10-10 2013-10-10 Game machine

Publications (2)

Publication Number Publication Date
JP2015073760A true JP2015073760A (en) 2015-04-20
JP5868369B2 JP5868369B2 (en) 2016-02-24

Family

ID=52999084

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013212539A Active JP5868369B2 (en) 2013-10-10 2013-10-10 Game machine

Country Status (1)

Country Link
JP (1) JP5868369B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003134098A (en) * 2001-10-24 2003-05-09 Matsushita Electric Ind Co Ltd Serial receiver
JP2004174097A (en) * 2002-11-28 2004-06-24 Sansei R & D:Kk Game machine
JP2009261682A (en) * 2008-04-25 2009-11-12 Omron Corp Light-emitting diode drive device and method, and program
JP2010005055A (en) * 2008-06-26 2010-01-14 Olympia:Kk Game machine
JP2012170562A (en) * 2011-02-19 2012-09-10 Heiwa Corp Game machine
JP2013135986A (en) * 2013-04-11 2013-07-11 Fujishoji Co Ltd Game machine

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003134098A (en) * 2001-10-24 2003-05-09 Matsushita Electric Ind Co Ltd Serial receiver
JP2004174097A (en) * 2002-11-28 2004-06-24 Sansei R & D:Kk Game machine
JP2009261682A (en) * 2008-04-25 2009-11-12 Omron Corp Light-emitting diode drive device and method, and program
JP2010005055A (en) * 2008-06-26 2010-01-14 Olympia:Kk Game machine
JP2012170562A (en) * 2011-02-19 2012-09-10 Heiwa Corp Game machine
JP2013135986A (en) * 2013-04-11 2013-07-11 Fujishoji Co Ltd Game machine

Also Published As

Publication number Publication date
JP5868369B2 (en) 2016-02-24

Similar Documents

Publication Publication Date Title
JP6022660B2 (en) Game machine
JP6231048B2 (en) Game machine
JP5932900B2 (en) Game machine
JP6231053B2 (en) Game machine
JP5823418B2 (en) Game machine
JP2016016150A (en) Game machine
JP6140452B2 (en) Game machine
JP5868368B2 (en) Game machine
JP5778734B2 (en) Game machine
JP5868369B2 (en) Game machine
JP5868370B2 (en) Game machine
JP5868371B2 (en) Game machine
JP5868372B2 (en) Game machine
JP6325623B2 (en) Game machine
JP5787966B2 (en) Game machine
JP6053855B2 (en) Game machine
JP5443582B1 (en) Game machine
JP5731551B2 (en) Game machine
JP6444335B2 (en) Game machine
JP6231052B2 (en) Game machine
JP6132741B2 (en) Game machine
JP5787967B2 (en) Game machine
JP5400214B1 (en) Game machine
JP6132742B2 (en) Game machine
JP6370330B2 (en) Game machine

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150331

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150529

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160105

R150 Certificate of patent or registration of utility model

Ref document number: 5868369

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250