JP2013051794A - Movable body drive device - Google Patents
Movable body drive device Download PDFInfo
- Publication number
- JP2013051794A JP2013051794A JP2011187901A JP2011187901A JP2013051794A JP 2013051794 A JP2013051794 A JP 2013051794A JP 2011187901 A JP2011187901 A JP 2011187901A JP 2011187901 A JP2011187901 A JP 2011187901A JP 2013051794 A JP2013051794 A JP 2013051794A
- Authority
- JP
- Japan
- Prior art keywords
- movable body
- stepping motor
- rotation speed
- current position
- drive device
- 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
Links
Images
Landscapes
- Pinball Game Machines (AREA)
- Control Of Electric Motors In General (AREA)
- Control Of Stepping Motors (AREA)
Abstract
Description
本発明は、遊技機に設けられた可動体を駆動するための可動体駆動装置に関する。 The present invention relates to a movable body driving device for driving a movable body provided in a gaming machine.
回胴遊技機または弾球遊技機などの遊技機には、遊技者の興趣を高めるために、遊技者の視覚、聴覚または感覚に訴える演出を行うための工夫が凝らされている。特に、遊技者の視覚に訴える演出を行うために、遊技機には、移動する可動体、例えば、可動役物が設けられることがある。このような可動体は、例えば、ステッピングモータによって駆動される。そして上位の制御装置の一例である演出用のプロセッサユニット(以下、単に演出用CPUと呼ぶ)が、遊技の状態に応じて可動体が指定された位置へ移動する移動量に相当するステップ数だけステッピングモータを回転させる命令を、ステッピングモータの制御回路へ送信する。 In order to enhance the interest of the player, a device such as a spinning machine or a ball game machine has been devised to produce an effect that appeals to the player's visual, auditory, or senses. In particular, in order to perform an effect appealing to the player's vision, the game machine may be provided with a movable body that moves, for example, a movable accessory. Such a movable body is driven by, for example, a stepping motor. Then, the number of steps corresponding to the amount of movement of the processor unit for effecting (hereinafter simply referred to as the effecting CPU), which is an example of the higher-level control device, moves to the designated position according to the state of the game. A command to rotate the stepping motor is transmitted to the control circuit of the stepping motor.
また近年、遊技者の興趣を高めるために、遊技機に搭載される、演出用CPUの制御対象が増加する傾向にある。例えば、遊技機には、可動役物の他、多数の光源及び液晶ディスプレイといった表示装置が搭載される。そのため、演出用CPUから出力される端子の数、及び演出用CPUの演算量といった負荷も増大する傾向にある。そこで、可動体に所望の動作をさせるための演算に要する演算量を軽減することが望まれている。このような要望に対して、ステッピングモータの制御に要するハードウェアまたはソフトウェアのリソースを削減させるための技術が開発されている(例えば、特許文献1及び2を参照)。 In recent years, in order to increase the interest of the player, there is a tendency for the number of control targets of the directing CPU mounted on the gaming machine to increase. For example, a gaming machine is equipped with a display device such as a large number of light sources and a liquid crystal display in addition to a movable accessory. Therefore, loads such as the number of terminals output from the effect CPU and the amount of calculation of the effect CPU tend to increase. Therefore, it is desired to reduce the amount of calculation required for calculation for causing the movable body to perform a desired operation. In response to such a demand, a technique for reducing hardware or software resources required for controlling the stepping motor has been developed (see, for example, Patent Documents 1 and 2).
例えば、特許文献1に開示されたステッピングモータ駆動制御装置は、正転/逆転、スピード切替、モード切替などの入力信号に応じた4相の駆動制御信号をマイクロコンピュータが生成することにより、回路部品を増やすことなく励磁方法、回転方向、回転速度などの変更を実現できるようにしている。
また、特許文献2に開示された可動体駆動装置は、可動体の動作結果を上位の制御装置へ送信し、その制御装置からの指令、または動作結果に基づいて、駆動手段により可動体を駆動させる。
For example, in the stepping motor drive control device disclosed in Patent Document 1, a microcomputer generates a four-phase drive control signal corresponding to an input signal such as forward / reverse rotation, speed switching, and mode switching. The excitation method, rotation direction, rotation speed, etc. can be changed without increasing the value.
Moreover, the movable body drive device disclosed in
しかしながら、特許文献1及び2に開示された技術では、演出用CPUが可動体を所望の移動目的地へ移動させるには、演出用CPU自体が可動体の現在位置を把握していなければならない。そのために、演出用CPUは、可動体を移動させる度に、可動体の現在位置に関する情報を、ステッピングモータの制御回路、あるいは、可動体の位置を検出するためのセンサから受信する必要がある。また演出用CPUは、可動体の現在位置の座標と移動目的地の座標との差に基づいて、可動体を駆動するステッピングモータの回転方向、ステップ数などを決定するための演算を行う必要があった。このように、演出用CPUは、可動体を移動させる度に、可動体の現在位置に関する情報の受信、及びステッピングモータの回転方向、ステップ数などを決定するための処理を行わなければならない。そのため、可動体を駆動するに際し、演出用CPUといった上位の制御装置の負荷のさらなる軽減が要望されている。
However, in the techniques disclosed in
そこで、本発明は、上位の制御装置の負荷をより軽減可能な可動体駆動装置を提供することを目的とする。 Then, an object of this invention is to provide the movable body drive device which can reduce the load of a high-order control apparatus more.
本発明の一つの形態として、遊技機に設けられた可動体を駆動する駆動ユニットを制御する可動体駆動装置が提供される。この可動体駆動装置は、可動体の移動目的地を規定する制御コマンドを受信する通信部と、可動体の現在位置を記憶する記憶部と、その可動体の移動目的地と現在位置との差、またはその可動体の直前の動作における移動方向に基づいて、可動体の次の動作における移動方向を決定し、次の動作における移動方向に沿って可動体が移動目的地に達するまで可動体を移動させるように、駆動ユニットを制御する制御部とを有する。 As one embodiment of the present invention, a movable body drive device that controls a drive unit that drives a movable body provided in a gaming machine is provided. The movable body driving device includes a communication unit that receives a control command that defines a moving destination of the movable body, a storage unit that stores a current position of the movable body, and a difference between the moving destination and the current position of the movable body. Or the moving direction in the next operation of the movable body is determined based on the moving direction in the previous operation of the movable body, and the movable body is moved until the movable body reaches the moving destination along the moving direction in the next operation. And a control unit that controls the drive unit so as to be moved.
この可動体駆動装置において、駆動ユニットはステッピングモータであり、制御コマンドは、ステッピングモータの回転速度を表す第1の指標とステッピングモータの加速度または減速度を表す第2の指標とを含み、制御部は、可動体が、現在位置からステッピングモータの第1のステップ数に対応する距離を移動するまで、第2の指標により示された加速度または減速度でステッピングモータの回転速度を加速または減速させ、その距離を移動した時点で第1の指標により示された回転速度となるようにステッピングモータを制御することが好ましい。 In this movable body driving apparatus, the drive unit is a stepping motor, and the control command includes a first index indicating the rotation speed of the stepping motor and a second index indicating the acceleration or deceleration of the stepping motor, and the control unit Until the movable body moves a distance corresponding to the first step number of the stepping motor from the current position, to accelerate or decelerate the rotation speed of the stepping motor at the acceleration or deceleration indicated by the second index, It is preferable to control the stepping motor so that the rotation speed indicated by the first index is reached when the distance is moved.
またこの可動体駆動装置において、駆動ユニットはステッピングモータであり、制御コマンドは、ステッピングモータの回転速度を表す第1の指標とステッピングモータの加速度または減速度を表す第2の指標とを含み、制御部は、可動体が、ステッピングモータの第2のステップ数に対応する距離よりも移動目的地に近づくと、第2の指標により示された加速度または減速度でステッピングモータの回転速度を加速または減速し、移動目的地に達した時点でその回転速度が第1の指標により示された回転速度となるようにステッピングモータを制御することが好ましい。 Further, in this movable body drive device, the drive unit is a stepping motor, and the control command includes a first index that represents the rotation speed of the stepping motor and a second index that represents the acceleration or deceleration of the stepping motor. The unit accelerates or decelerates the rotation speed of the stepping motor at the acceleration or deceleration indicated by the second index when the movable body approaches the moving destination more than the distance corresponding to the second step number of the stepping motor. Then, it is preferable to control the stepping motor so that the rotation speed becomes the rotation speed indicated by the first index when the movement destination is reached.
あるいはまた、この可動体駆動装置において、駆動ユニットはステッピングモータであり、制御コマンドは、ステッピングモータの回転速度を表す第1の指標とステッピングモータの減速度を表す第3の指標とを含み、制御部は、可動体が、ステッピングモータの第3のステップ数に対応する距離よりも移動目的地に近づくと、第3の指標により示された減速度でステッピングモータの回転速度を減速し、移動目的地に達した時点で回転速度が0となるようにステッピングモータを制御することが好ましい。 Alternatively, in this movable body drive device, the drive unit is a stepping motor, and the control command includes a first index that represents the rotation speed of the stepping motor and a third index that represents the deceleration of the stepping motor. When the movable body is closer to the moving destination than the distance corresponding to the third number of steps of the stepping motor, the unit decelerates the rotation speed of the stepping motor at the deceleration indicated by the third index, It is preferable to control the stepping motor so that the rotation speed becomes zero when reaching the ground.
さらに、この可動体駆動装置において、駆動ユニットはステッピングモータであり、制御コマンドは、ステッピングモータの1ステップの動作に相当する第1の期間に対するステッピングモータに電圧を印加する期間の比を表す第4の指標を含むことが好ましい。この場合において、可動体駆動装置は、第1の期間よりも短い第2の期間を1周期とし、第2の期間において、第4の指標に表された比だけ所定の電圧値を持つパルスが連続する連続パルス信号を生成するデューティ比制御部をさらに有することが好ましい。そして制御部は、連続パルス信号によって、ステッピングモータのステップごとの動作を制御する駆動信号をパルス幅変調し、そのパルス幅変調された駆動信号をステッピングモータへ出力することが好ましい。 Furthermore, in this movable body drive device, the drive unit is a stepping motor, and the control command is a fourth ratio representing a ratio of a period during which a voltage is applied to the stepping motor with respect to a first period corresponding to one-step operation of the stepping motor. It is preferable that an index of In this case, the movable body drive device sets the second period shorter than the first period as one cycle, and in the second period, a pulse having a predetermined voltage value by the ratio represented by the fourth index is obtained. It is preferable to further include a duty ratio control unit that generates a continuous pulse signal. The control unit preferably performs pulse width modulation on the drive signal for controlling the operation of each step of the stepping motor by the continuous pulse signal, and outputs the pulse width modulated drive signal to the stepping motor.
さらに、この可動体駆動装置において、制御コマンドに規定される移動目的地は、現在位置を基準とする可動体の移動量で表され、記憶部は、可動体の直前の動作時の位置をさらに記憶し、制御部は、直前の動作時の位置と現在位置との差によって可動体の直前の動作における移動方向を求めることが好ましい。 Furthermore, in this movable body drive device, the movement destination specified by the control command is represented by the amount of movement of the movable body with reference to the current position, and the storage unit further determines the position of the movable body immediately before the operation. It is preferable that the control unit obtains the moving direction in the immediately preceding operation of the movable body from the difference between the position in the immediately preceding operation and the current position.
本発明に係る可動体駆動装置は、上位の制御装置の負荷をより軽減できるという効果を奏する。 The movable body drive device according to the present invention has an effect of further reducing the load on the host control device.
以下、本発明の一つの実施形態による可動体駆動装置を、図を参照しつつ説明する。この可動体駆動装置は、可動体の位置を検出するセンサからの検知信号及び可動体を駆動するステッピングモータといった駆動ユニットの動作に基づいて、可動体の現在位置を求め、その現在位置を記憶する。そしてこの可動体駆動装置は、演出用CPUといった上位の制御装置から受信した、可動体の移動目的地を表す情報と可動体の現在位置との差、あるいは、可動体の現在位置における直前の動作の際の移動方向に基づいて、可動体の移動方向を決定し、その移動目的地に達するまで可動体を駆動する。これにより、この可動体駆動装置は、上位の制御装置が可動体の現在位置を把握していなくても、可動体を所望の移動目的地まで移動させることを可能として、上位の制御装置の負荷を軽減する。 Hereinafter, a movable body driving apparatus according to an embodiment of the present invention will be described with reference to the drawings. The movable body drive device obtains the current position of the movable body based on a detection signal from a sensor that detects the position of the movable body and the operation of a drive unit such as a stepping motor that drives the movable body, and stores the current position. . And this movable body drive device is the difference between the information representing the moving destination of the movable body and the current position of the movable body received from a higher-level control device such as a production CPU, or the previous operation at the current position of the movable body. Based on the moving direction at that time, the moving direction of the movable body is determined, and the movable body is driven until the moving destination is reached. As a result, the movable body drive device can move the movable body to a desired movement destination even if the upper control device does not know the current position of the movable body, Reduce.
図1は、本発明の一つの実施形態に係る可動体駆動装置の概略構成図である。図1に示されるように、可動体駆動装置1は、通信回路2と、レジスタ3と、デューティ比制御回路4と、センサインターフェース部5と、モータ制御回路6と、ソレノイド制御回路7と、を有する。
可動体駆動装置1が有するこれらの各部は、それぞれ、別個の回路として回路基板(図示せず)上に実装されてもよく、あるいは、これらの各部が集積された集積回路として回路基板上に実装されてもよい。
本実施形態では、可動体駆動装置1は、複数の駆動ユニットを制御する機能を持つ。複数の駆動ユニットのそれぞれは、二つのステッピングモータと、一つのソレノイドである。ソレノイドは、例えば、コイルを励磁することにより、磁性体からなる可動体を吸引することによって、その可動体を駆動する。そのため、例えば、ソレノイドは、可動体の移動可能範囲に沿って、互いに異なる位置に配置された複数のコイルを有し、それらコイルが、可動体の移動方向に沿って順次励起されることにより、可動体がその移動方向に沿って移動する。
FIG. 1 is a schematic configuration diagram of a movable body driving apparatus according to an embodiment of the present invention. As shown in FIG. 1, the movable body drive device 1 includes a
Each of these units included in the movable body driving device 1 may be mounted on a circuit board (not shown) as a separate circuit, or may be mounted on the circuit board as an integrated circuit in which these units are integrated. May be.
In this embodiment, the movable body drive device 1 has a function of controlling a plurality of drive units. Each of the plurality of drive units includes two stepping motors and one solenoid. The solenoid drives the movable body by, for example, attracting the movable body made of a magnetic body by exciting a coil. Therefore, for example, the solenoid has a plurality of coils arranged at different positions along the movable range of the movable body, and these coils are sequentially excited along the moving direction of the movable body, The movable body moves along the moving direction.
また、可動体駆動装置1では、ステッピングモータにて駆動する可動体に関する移動目的地の座標の指定方法として、移動目的地の座標を絶対座標値で指定する絶対座標指定モードと、移動目的地の座標を現在位置を基準とする相対的な移動量及び移動方向で指定する相対座標指定モードと、可動体の移動目的地の座標を現在位置を基準とする相対的な移動量のみで指定する慣性移動モードとがある。そこで先ず、これらのモードについて説明する。 Moreover, in the movable body drive device 1, as a method of designating the coordinates of the moving destination relating to the movable body driven by the stepping motor, an absolute coordinate designation mode for designating the coordinates of the moving destination by an absolute coordinate value, Relative coordinate specification mode in which coordinates are specified by the relative movement amount and movement direction based on the current position, and inertia that specifies the coordinates of the moving destination of the movable body based only on the relative movement amount based on the current position There is a movement mode. First, these modes will be described.
図2(a)は、絶対座標指定モードにおける、現在位置の座標と移動目的地の座標との関係の一例を表す図である。図2(b)は、相対座標指定モードにおける、現在位置の座標と移動目的地の座標との関係の一例を表す図である。さらに図2(c)は、慣性移動モードにおける、現在位置の座標と移動目的地の座標との関係の一例を表す図である。図2(a)〜図2(c)において、横軸は、可動体の位置座標を、ステッピングモータのステップ数(-1023〜1022)で表す。またこの例では、可動体は水平方向に沿って直線的に移動するが、可動体駆動装置1により駆動される可動体は、任意の方法に沿って直線的に移動するものでもよく、あるいは、回転移動するものであってもよい。 FIG. 2A is a diagram illustrating an example of the relationship between the coordinates of the current position and the coordinates of the moving destination in the absolute coordinate designation mode. FIG. 2B is a diagram illustrating an example of the relationship between the coordinates of the current position and the coordinates of the moving destination in the relative coordinate designation mode. FIG. 2C is a diagram illustrating an example of the relationship between the coordinates of the current position and the coordinates of the moving destination in the inertial movement mode. 2A to 2C, the horizontal axis represents the position coordinates of the movable body by the number of steps of the stepping motor (−1023 to 1022). In this example, the movable body moves linearly along the horizontal direction. However, the movable body driven by the movable body drive device 1 may move linearly along an arbitrary method, or It may be one that rotates.
図2(a)に示す絶対座標指定モードでは、座標202が可動体の現在位置である場合のように、絶対座標で指定された移動目的地の座標201よりも可動体の現在位置が右側に位置すれば、可動体駆動装置1は、移動目的地の座標と現在位置の座標との比較結果に基づいて、可動体の移動方向を左方向と判定する。そして可動体駆動装置1は、演出用CPUが可動体の移動方向を指定しなくても、可動体を、移動目的地に達するまで自動的に左方向に移動させる。逆に、座標203が可動体の現在位置である場合のように、絶対座標で指定された移動目的地の座標201よりも可動体の現在位置が左側に位置する場合、可動体駆動装置1は、可動体の移動方向を右方向と判定し、可動体を、移動目的地に達するまで自動的に右方向に移動させる。 In the absolute coordinate designation mode shown in FIG. 2A, the current position of the movable body is on the right side of the coordinate 201 of the moving destination designated by the absolute coordinates, as in the case where the coordinate 202 is the current position of the movable body. If it is located, the movable body drive device 1 determines the moving direction of the movable body as the left direction based on the comparison result between the coordinates of the movement destination and the coordinates of the current position. Then, the movable body driving device 1 automatically moves the movable body in the left direction until reaching the moving destination even if the rendering CPU does not designate the moving direction of the movable body. On the other hand, when the current position of the movable body is located on the left side of the coordinate 201 of the moving destination specified by the absolute coordinates, as in the case where the coordinate 203 is the current position of the movable body, the movable body driving device 1 The moving direction of the movable body is determined as the right direction, and the movable body is automatically moved rightward until reaching the moving destination.
図2(b)に示す相対座標指定モードでは、演出用CPUは、可動体の現在位置に対する相対的な移動量と移動方向により、移動目的地を指定する。相対的な移動量は、例えば、ステッピングモータのステップ数で表される。また移動方向は、ステップ数の符号(+または-)により表される。例えば、可動体の現在位置の座標211に対して、相対的な移動方向及び移動量として+mステップ(mは正の整数)が指定されると、可動体駆動装置1は、可動体を右方向へmステップ分移動させる。また、可動体の現在位置の座標211に対して、相対的な移動方向及び移動量として-nステップ(nは正の整数)が指定されると、可動体駆動装置1は、可動体を左方向へnステップ分移動させる。 In the relative coordinate designation mode shown in FIG. 2B, the effect CPU designates the movement destination by the relative movement amount and movement direction of the movable body relative to the current position. The relative movement amount is represented by the number of steps of the stepping motor, for example. The movement direction is represented by a step number sign (+ or-). For example, if + m step (m is a positive integer) is designated as the relative movement direction and movement amount with respect to the coordinate 211 of the current position of the movable body, the movable body drive device 1 moves the movable body to the right. Move m steps in the direction. In addition, when −n step (n is a positive integer) is designated as the relative movement direction and movement amount with respect to the coordinate 211 of the current position of the movable body, the movable body driving device 1 moves the movable body to the left. Move n steps in the direction.
図2(c)に示す慣性移動モードでは、演出用CPUは、可動体の現在位置に対する相対的な移動量のみを指定する。このモードでは、可動体駆動装置1は、可動体の直前の動作における移動方向を次の動作の移動方向とし、現在位置221から指定された移動量kステップ(kは正の整数)だけ可動体を移動させる。これにより、可動体駆動装置1は、可動体の移動方向を急激に変化させずに、可動体を静止させることができる。この慣性移動モードは、例えば、可動体を緊急停止させる場合に適用される。
In the inertial movement mode shown in FIG. 2C, the effect CPU designates only the relative movement amount with respect to the current position of the movable body. In this mode, the movable body drive device 1 sets the movement direction in the immediately previous operation of the movable body as the movement direction of the next operation, and moves the movable body by a movement amount k steps (k is a positive integer) designated from the
演出用CPUは、ステッピングモータにより駆動される各可動体について、上記の何れかのモードに従って可動体の移動目的地を指定する制御コマンドを生成し、その制御コマンドを可動体駆動装置1へ送信することで、可動体をその移動目的地へ移動させることができる。
以下、可動体駆動装置1の各部について説明する。
The rendering CPU generates, for each movable body driven by the stepping motor, a control command for designating the moving destination of the movable body according to any of the above modes, and transmits the control command to the movable body driving device 1. As a result, the movable body can be moved to the moving destination.
Hereinafter, each part of the movable body drive device 1 will be described.
通信回路2は、例えば、可動体駆動装置1が実装された遊技機の演出用CPUと可動体駆動装置1とを接続する。そして通信回路2は、演出用CPUから、シリアル伝送される複数のビットを持つ制御コマンドと、制御コマンドを解析するために、制御コマンドに含まれる複数のビットのそれぞれと同期を取るためのクロック信号とを受信する。
制御コマンドは、例えば、何れかの駆動ユニットが駆動する可動体の動作を特定するための動作情報またはその駆動ユニットについての設定を規定する設定情報とを含む。一つの駆動ユニットに対する、動作情報と設定情報の組を、便宜上、以下ではコマンドセットと呼ぶ。一つのコマンドセットは、可動体の一つの動作を規定する。
クロック信号は、例えば、制御コマンド中の所定数のビットごとに、矩形状のパルスを持つ信号とすることができる。
The
The control command includes, for example, operation information for specifying the operation of the movable body driven by any one of the drive units or setting information for defining settings for the drive unit. A set of operation information and setting information for one drive unit is hereinafter referred to as a command set for convenience. One command set defines one operation of the movable body.
The clock signal can be, for example, a signal having a rectangular pulse for every predetermined number of bits in the control command.
図3は、駆動ユニットがステッピングモータである場合における、動作情報を含む制御コマンドのフォーマットの一例を示す図である。制御コマンド300は、先頭から順に、STARTフラグ301と、デバイスアドレス302と、動作/設定切替フラグ303と、系統指定フラグ304と、制御データ305と、ENDフラグ306とを有する。さらに、制御コマンド300は、隣接するフラグ、アドレス及びデータ間に、例えば'0'の値を持つ1ビットのスペーサを含んでもよい。
FIG. 3 is a diagram illustrating an example of a format of a control command including operation information when the drive unit is a stepping motor. The
STARTフラグ301は、制御コマンド300の先頭であることを表すビット列であり、本実施形態では、'1'の値を持つ9個のビットが連続したビット列である。なお、STARTフラグ301は、制御コマンド300内の任意の他の何れのビット列とも一致しないビット列であればよい。
デバイスアドレス302は、制御コマンド300が制御対象とする可動体駆動装置を特定するための識別情報であり、本実施形態では、8ビット長のビット列で表される。デバイスアドレス302は、通信回路2により、演出用CPUから別途受信する識別アドレスと一致するか否か判定され、一致する場合、可動体駆動装置1が制御コマンド300の制御対象であると判定される。
The
The
動作/設定切替フラグ303は、制御コマンドが動作情報を含むか設定情報を含むかを表す1ビットのフラグである。本実施形態では、動作/設定切替フラグ303が'0'であれば、制御コマンドは動作情報を含み、動作/設定切替フラグ303が'1'であれば、制御コマンドは設定情報を含む。図3の例では、制御コマンド300は動作情報を含むので、動作/設定切替フラグ303は'0'である。
系統指定フラグ304は、制御コマンド300の制御対象が、可動体駆動装置1が制御可能な二つのステッピングモータのうちの何れであるかを表す1ビットのフラグである。
The operation /
The
制御データ305は、可動体駆動装置1が制御するステッピングモータの動作情報を含む。具体的には、制御データ305は、速度データ3051と、保存先指定フラグ3052と、ウェイトフラグ3053と、自動補正フラグ3054と、自動加減速フラグ3055と、座標指定モードフラグ3056と、座標データ3057とを含む。
The
速度データ3051は、ステッピングモータの回転速度を表す。本実施形態では、速度データ3051は6ビット長のビット列であり、'0'〜'63'の何れかの値となる。速度データ3051が'0'であればステッピングモータが停止、すなわち、そのステッピングモータで駆動される可動体が停止することを表し、速度データ3051が'1'〜'63'であれば、その速度データ3051の値に対応する回転速度でステッピングモータを回転させることを表す。
保存先指定フラグ3052は、レジスタ3内の動作情報の保存先を指定する1ビットのフラグである。本実施形態では、保存先指定フラグ3052が'0'であれば、レジスタ3内の通常の可動体の動作を規定するコマンドセットを記憶する第1メモリ回路31に動作情報が格納され、一方、保存先指定フラグ3052が'1'であれば、レジスタ3内の緊急停止時の可動体の動作を規定するコマンドセットを記憶する第2メモリ回路32に動作情報が格納される。
The save
ウェイトフラグ3053は、ステッピングモータを指定された期間だけ停止させるウェイトモードか否かを表す1ビットのフラグである。本実施形態では、ウェイトフラグ3053が'0'であれば、ウェイトモードはOFFとなり、速度データ3051に指定された回転速度及び座標データ3057に指定されたステップ数にしたがって、可動体駆動装置1がステッピングモータを制御する。一方、ウェイトフラグ3053が'1'であれば、ウェイトモードがONとなり、速度データ3051に指定された回転速度に相当する1ステップの動作期間に、座標データ3057に指定されたステップ数を乗じた値に相当する期間、ステッピングモータを停止させることを表す。このようなウェイトモードを用いることにより、例えば、特定方向に沿って移動していた可動体をその特定方向の逆方向へ反転移動させるような場合に、その反転直前にウェイトモードで指定した期間、可動体を一時停止させることで、可動体駆動装置1は、ステッピングモータに過負荷が掛かることを防止できる。そのため、可動体駆動装置1は、ステッピングモータの回転に可動体が追従しなくなったり、ステッピングモータが脱調することを防止できる。
The
自動補正フラグ3054は、可動体の位置を検知するセンサ(図示せず)からの検知信号によって可動体の現在位置を自動的に補正するか否かを表す1ビットのフラグである。本実施形態では、自動補正フラグ3054が'0'であれば、可動体駆動装置1は可動体の現在位置を補正せず、一方、自動補正フラグ3054が'1'であれば、可動体駆動装置1は、センサからの検知信号を受信したときに可動体の現在位置を補正する。
The
自動加減速フラグ3055は、可動体の移動開始時または移動終了時に自動的に加速または減速する自動加減速モードがONかOFFかを表す1ビットのフラグである。本実施形態では、自動加減速フラグ3055が'0'であれば、自動加減速モードがOFFとなり、可動体駆動装置1は、可動体の移動開始直後から移動終了時点まで、速度データ3051で指定された回転速度でその可動体を駆動するステッピングモータを回転させる。一方、自動加減速フラグ3055が'1'であれば、自動加減速モードがONとなり、可動体駆動装置1は、可動体の移動開始直後、または移動終了直前において、別途指定された加速値または減速値に従って、ステッピングモータの回転速度を調節する。なお、自動加減速モードがONの時の動作の詳細は後述する。
The automatic acceleration /
座標指定モードフラグ3056は、座標データ3057に規定される移動目的地の指定方法を規定するモードを表す1ビットのフラグである。本実施形態では、座標指定モードフラグ3056が'0'であれば、移動目的地の座標が絶対座標値であること(すなわち、絶対座標指定モードが適用されること)を表し、一方、座標指定モードフラグ3056が'1'であれば、移動目的地の座標が現在位置の座標を基準とする相対的な移動量であること(すなわち、相対座標指定モードまたは慣性移動モードが適用されること)を表す。なお、保存先指定フラグ3052が'0'であれば、相対座標指定モードであり、保存先指定フラグ3052が'1'であれば、慣性移動モードである。
The coordinate
座標データ3057は、移動目的地の座標をステッピングモータのステップ数で表す。本実施形態では、座標データ3057は、11ビット長を持つビット列であり、移動目的地の座標を-1024〜1023の何れかのステップ数で表す。なお、慣性移動モードが適用される場合には、移動量のみが規定されるので、座標データ3057は0〜1023の何れかの値となる。
The coordinate
ENDフラグ306は、制御コマンド300の終端であることを表すビット列である。ENDフラグ306は、制御コマンドに含まれる、STARTフラグ及び他のビット列と一致しないビット列であればよい。
The
図4(a)は、駆動ユニットがステッピングモータである場合における、設定情報を含む制御コマンドのフォーマットの一例を示す図である。制御コマンド400は、先頭から順に、STARTフラグ401と、デバイスアドレス402と、動作/設定切替フラグ403と、系統指定フラグ404と、制御データ405と、ENDフラグ406とを有する。設定情報を含む制御コマンド400は、図3に示された動作情報を含む制御コマンド300と比較して、動作/設定切替フラグ403の値が'1'であること、及び制御データ405の内容が異なる。そこで以下では、制御データ405について説明する。
FIG. 4A is a diagram illustrating an example of a format of a control command including setting information when the drive unit is a stepping motor. The
制御データ405は、2ビット長を持つ設定モードフラグ4051と、設定データ4052とを含む。
設定モードフラグ4051は、個別コマンドごとの設定を行う個別設定モードか、全ての制御コマンドに共通の設定を行う初期設定モードかを規定する。本実施形態では、設定モードフラグ4051が'00'であれば、個別設定モードであることを表し、一方、設定モードフラグ4051が'01'であれば初期設定モードであることを表す。
The
The setting
図4(b)は、設定データ4052が個別設定モードで規定されている場合の設定データ4052のフォーマットの一例を示す図である。個別設定モードにおいて、設定データ4052は、先頭から順に、保存先指定フラグ4053と、停止時トルク4054と、動作時トルク4055と、励磁モードフラグ4056と、加速度データ4057とを含む。
FIG. 4B is a diagram illustrating an example of the format of the setting
保存先指定フラグ4053は、図3に示された保存先指定フラグ3052と同様に、レジスタ3内の設定情報の保存先を指定する1ビットのフラグである。本実施形態では、保存先指定フラグ4053が'0'であれば、レジスタ3内の第1メモリ回路31に設定情報が格納され、一方、保存先指定フラグ4052が'1'であれば、レジスタ3内の第2メモリ回路32に設定情報が格納される。
The save
停止時トルク4054は、3ビット長を持ち、ステッピングモータが停止している際における、ステッピングモータの1ステップ分の動作期間に占める、実際に電圧を印加する期間のデューティ比(以下、停止時デューティ比と呼ぶ)を表す。そして本実施形態では、停止時トルク4054の値が大きいほど、停止時デューテイ比も高くなり、その結果としてステッピングモータを現在のステップのまま維持させるためのトルクも大きくなる。本実施形態では、停止時トルク4054は3ビット長を持つので、停止時デューティ比は8段階で規定される。例えば、停止時トルク4054の値が'000'であれば、停止時デューティ比は0、すなわち、ステッピングモータに電圧が印加されず、トルクも0であることを表す。一方、停止時トルク4054が'111'であれば、停止時デューティ比は1となる。
The
動作時トルク4055は、2ビット長を持ち、ステッピングモータが回転している際における、ステッピングモータに1ステップ分の動作期間に占める、実際に電圧を印加する期間のデューティ比(以下、動作時デューティ比と呼ぶ)を表す。そして本実施形態では、動作時トルク4055の値が大きいほど、動作時デューテイ比も高くなり、その結果としてステッピングモータを回転させるトルクも大きくなる。本実施形態では、動作時トルク4055は2ビット長を持つので、動作時デューティ比は4段階で規定される。例えば、動作時トルク4055が'00'であれば、動作時デューティ比は0.5となる。一方、動作時トルク4055が'11'であれば、動作時デューティ比は1となる。
The operating
励磁モードフラグ4056は、2ビット長を持ち、ステッピングモータの励磁方法を規定する。本実施形態では、励磁モードフラグ4056が'00'であれば2相励磁、'01'であれば1-2相励磁、'10'であればW1-2相励磁、'11'であれば2W1-2相励磁であることを表す。なお、ステッピングモータの励磁方法として、上記以外の励磁方法が採用されてもよい。
加速度データ4057は、4ビット長を持ち、自動加減速モードがONである場合の加速度を表す。
The
The
図4(c)は、設定データ4052が初期設定モードで規定されている場合の設定データ4052のフォーマットの一例を示す図である。この場合において、設定データ4052は、先頭から順に、デフォルト動作設定フラグ4058と、停止時トルク4054と、動作時トルク4055と、励磁モードフラグ4056と、加速度データ4057と、減速度データ4059とを含む。
なお、停止時トルク4054、動作時トルク4055、励磁モードフラグ4056及び加速度データ4057は、図4(b)に示された対応するデータと同一であるので、説明を省略する。
FIG. 4C is a diagram illustrating an example of the format of the setting
The
デフォルト動作設定フラグ4058は、設定データ4052に含まれる設定情報が、レジスタ3に格納された動作情報に対応する個別の設定情報が規定されない場合に適用されるデフォルト設定情報か否かを表す1ビットのフラグである。本実施形態では、デフォルト動作設定フラグ4058が'0'であれば、設定データ4052に含まれる設定情報がデフォルト設定情報であることを表す。
減速度データ4059は、4ビット長を持ち、自動加減速モードがONである場合の減速度を表す。
The default
The
さらに、設定データ4052は、可動体の位置を検知するセンサから検知信号が入力されたときの可動体の位置座標、一つの可動体に対して複数のセンサが設置される場合に、何れのセンサについての位置座標かを指定するフラグなどを規定するデータを含んでいてもよい。
また、駆動ユニットがソレノイドである場合の制御コマンドは、可動体の移動目的地または移動方向、ソレノイドが有する各コイルへ出力される励磁信号のデューティ比などを規定するデータを含んでもよい。
Further, the setting
In addition, the control command when the drive unit is a solenoid may include data defining the moving destination or moving direction of the movable body, the duty ratio of the excitation signal output to each coil of the solenoid, and the like.
さらに、通信回路2は、演出用CPUから、制御コマンドが制御対象とする可動体駆動装置を特定するための識別アドレスを受信する。そして通信回路2は、識別アドレスと、制御コマンド中に含まれるデバイスアドレスとが一致する場合、その制御コマンドに含まれる動作情報または設定情報をレジスタ3に書き込む。一方、通信回路2は、識別アドレスとデバイスアドレスとが一致しない場合、受信した制御コマンドを廃棄する。
通信回路2は、識別アドレスと制御コマンドを受信するタイミングが異なっていても、識別アドレスとデバイスアドレスとが一致するか否かを判定できるようにするために、識別アドレスを記憶するメモリ回路を有していてもよい。
Furthermore, the
The
さらに、通信回路2は、可動体を緊急停止させるためのロードコマンドを演出用CPUから受け取ると、レジスタ3に格納されている緊急停止用の動作情報及び設定情報を、デューティ比制御回路4及びモータ制御回路6へ出力させる。なお、ロードコマンドのフォーマットは、上記の制御コマンドとは別個のフォーマットであってもよい。例えば、ロードコマンドは、先頭から順に、ロードコマンドであることを表す識別コードと、対象となる可動体を表すフラグを含む。識別コードは、例えば、上記の制御コマンドの何れの部分とも一致しないビット列であればよい。
Further, when the
さらに、通信回路2は、可動体駆動装置1が制御する駆動ユニットの何れかについて、レジスタ3に記憶されているコマンドセットが一つ実行される度に、そのコマンドセットが実行されたことを示す命令完了信号を演出用CPUへ出力する。命令完了信号は、例えば、駆動ユニットごとに設定される通信線を介して出力される、単パルス信号とすることができる。あるいは、命令完了信号は、駆動ユニットに応じて異なる数のパルスを持つ信号であり、各駆動ユニット共通の信号線を介して演出用CPUへ出力されるものでもよい。
さらに、通信回路2は、演出用CPUから、レジスタ3に格納されているコマンドセットを読み出すコマンドを受信すると、レジスタ3に格納されている全てのコマンドセットを読み出して、演出用CPUへ送信するようにしてもよい。
Further, the
Further, when receiving a command for reading the command set stored in the register 3 from the effect CPU, the
レジスタ3は、各駆動ユニットのコマンドセットを複数個記憶可能な記憶容量を持つ、いわゆる先入れ先出し(FIFO)方式の第1メモリ回路31と、駆動ユニットごとに緊急停止時のコマンドセット及びデフォルト設定情報を記憶可能な第2メモリ回路32とを有する。レジスタ3が有するこれらのメモリ回路は、例えば、揮発性の読み書き可能な半導体メモリ回路により構成される。
The register 3 has a storage capacity capable of storing a plurality of command sets for each drive unit, a
レジスタ3は、受信した制御コマンドに含まれる保存先指定フラグが通常の動作を規定することを表す値であれば、第1メモリ回路31に、その制御コマンドに含まれる動作情報または設定情報を書き込む。その際、レジスタ3は、注目する可動体について、一つの動作情報を受け取ってから次の動作情報を受け取るまでに、その可動体についての設定情報を受け取れば、その動作情報と設定情報を一つのコマンドセットとする。一方、レジスタ3は、注目する可動体についての一つの動作情報を受け取ってから次の動作情報を受け取るまでに、その可動体についての設定情報を受け取らなかった場合、その動作情報が読み出される際に、第2メモリ回路32に格納されているデフォルトの設定情報を第1メモリ回路31にコピーして、その動作情報とのコマンドセットを作成する。
The register 3 writes operation information or setting information included in the control command to the
図5は、ステッピングモータを制御するためのコマンドセットの書き込みと実行順序の関係を示す概念図である。なお、図5では、一つのステッピングモータに対するコマンドセットのみを図示している。レジスタ3は、可動体駆動装置1が制御するステッピングモータごとに、図5に示されるようなコマンドセットを記憶する。
図5において、第1メモリ回路31に記憶される各コマンドセット501〜505は、それぞれ、動作情報と設定情報とを含む。また、下側に位置するコマンドセットほど、先に書き込まれたものとする。したがって、この例では、コマンドセット501が最も先に書き込まれたものであり、コマンドセット505が最も後に書き込まれたものである。各コマンドセットは、それぞれ、バッファ511〜515の何れかに格納されている。そして一番読み出し側に近いバッファ(図5では、一番下側のバッファ511)からコマンドセットが読み出され、そのコマンドセットがデューティ比制御回路4とモータ制御回路6とに転送される。そしてそのコマンドセットに従って駆動ユニットが制御されることにより、可動体が駆動される。一つのコマンドセットが実行される度に、各コマンドセットは、一つ読み出し側のバッファに転送される。なお、全てのバッファにコマンドセットが格納されている状態で、さらに次の動作情報または設定情報をレジスタ3が受け取ると、書き込み側に最も近いバッファ515に格納されている動作情報または設定情報が、新たに受信した動作情報または設定情報に書き換えられる。
FIG. 5 is a conceptual diagram showing the relationship between the writing of a command set for controlling the stepping motor and the execution order. In FIG. 5, only the command set for one stepping motor is shown. The register 3 stores a command set as shown in FIG. 5 for each stepping motor controlled by the movable body driving device 1.
In FIG. 5, each command set 501 to 505 stored in the
また、第2メモリ回路32には、緊急停止用のコマンドセット506と、デフォルト設定情報507が記憶されている。この緊急停止用のコマンドセット506は、可動体駆動装置1がロードコマンドを受け取ると、一番読み出し側に近いバッファ511に転送され、バッファ511から読み出されて、デューティ比制御回路4とモータ制御回路6に転送される。その際、第1メモリ回路31の他のバッファに格納されているコマンドセットは消去される。
The
また、一番読み出し側に近いバッファ511に動作情報のみが格納されている場合、デフォルトの設定情報507がバッファ511に転送されてコマンドセットが作成される。その後に、そのコマンドセットが読み出されて、デューティ比制御回路4とモータ制御回路6に転送される。
If only the operation information is stored in the
デューティ比制御回路4は、所定の単位期間ごとに、コマンドセットの設定情報により規定される、停止時デューティ比または動作時デューティ比に応じた期間だけ所定の電圧値を持ち、その他の期間は、その所定の電圧値と異なる電圧値を持つパルスが連続する、連続パルス信号を生成する。そのために、デューティ比制御回路4は、例えば、プロセッサ及び不揮発性のメモリ回路を有する。そしてそのメモリ回路には、例えば、設定情報により規定された停止時デューティ比及び動作時デューティ比を表す値と実際のデューティ比との関係を表す参照テーブルが記憶される。そしてデューティ比制御回路4が有するプロセッサは、参照テーブルを参照することにより、実際のデューティ比を決定する。そしてそのプロセッサは、決定したデューティ比に従って、上記の連続パルス信号を生成する。なお、所定の単位期間は、例えば、動作情報に含まれるステッピングモータの回転速度が最大である場合の一つのステップの動作期間の1/100〜1/5に設定される。
デューティ比制御回路4は、生成した連続パルス信号をモータ制御回路6あるいはソレノイド制御回路7へ供給する。
The duty ratio control circuit 4 has a predetermined voltage value only for a period corresponding to the duty ratio at the time of stop or the duty ratio at the time of operation, which is defined by the setting information of the command set for each predetermined unit period. A continuous pulse signal in which pulses having a voltage value different from the predetermined voltage value continues is generated. For this purpose, the duty ratio control circuit 4 includes, for example, a processor and a nonvolatile memory circuit. In the memory circuit, for example, a reference table that represents the relationship between the actual duty ratio and the values representing the duty ratio at stop and the duty ratio during operation specified by the setting information is stored. The processor included in the duty ratio control circuit 4 determines an actual duty ratio by referring to the reference table. Then, the processor generates the continuous pulse signal according to the determined duty ratio. Note that the predetermined unit period is set to, for example, 1/100 to 1/5 of the operation period of one step when the rotation speed of the stepping motor included in the operation information is maximum.
The duty ratio control circuit 4 supplies the generated continuous pulse signal to the
センサインターフェース部5は、可動体の位置を検出するセンサからの検知信号を受信するインターフェース回路を有する。センサインターフェース部5は、例えば、センサごとに異なる入力端子を有してもよい。
ここで、センサは、例えば、発光ダイオードといった光源と、その光源と対向して、光源からの光を受光可能なように配置されるフォトダイオードといった受光素子を有する。そしてセンサは、例えば、可動体の移動可能範囲の何れかの一端、例えば、水平方向に移動可能な可動体であれば、その移動可能範囲の左端または右端に設置される。そして、可動体がセンサが設置された端部に達した場合に限り、光源からの光が可動体で遮られることにより、受光素子で検知される光量が低下することで、センサは、可動体がその端部に達したことを検知する。そして、センサは、可動体を検知すると、検知したことを表す検知信号をセンサインターフェース部5へ出力する。
なおセンサは、マグネットセンサといった、他の原理に基づく近接センサであってもよい。また、一つの可動体につき、複数のセンサが設置されてもよい。この場合、各センサは、それぞれ、可動体の移動可能範囲内の互いに異なる位置に設置される。例えば、一つの可動体に対して二つのセンサが設置される場合、その二つのセンサは、可動体の移動可能範囲の両端にそれぞれ設置される。
The sensor interface unit 5 includes an interface circuit that receives a detection signal from a sensor that detects the position of the movable body. The sensor interface unit 5 may have different input terminals for each sensor, for example.
Here, the sensor includes, for example, a light source such as a light emitting diode and a light receiving element such as a photodiode disposed so as to face the light source and receive light from the light source. For example, if the sensor is a movable body that can move in the horizontal direction, the sensor is installed at the left end or the right end of the movable range. And only when the movable body reaches the end where the sensor is installed, the light from the light source is blocked by the movable body, so that the amount of light detected by the light receiving element decreases, so that the sensor Detects that has reached its end. And if a sensor detects a movable body, it will output the detection signal showing having detected to the sensor interface part 5. FIG.
The sensor may be a proximity sensor based on another principle such as a magnet sensor. A plurality of sensors may be installed for one movable body. In this case, the sensors are installed at different positions within the movable range of the movable body. For example, when two sensors are installed for one movable body, the two sensors are respectively installed at both ends of the movable range of the movable body.
センサインターフェース部5は、ステッピングモータにより駆動される可動体の位置を検知するセンサから検知信号を受信した場合、その検知信号をモータ制御回路6へ通知する。またセンサインターフェース部5は、ソレノイドにより駆動される可動体の位置を検知するセンサから検知信号を受信した場合、その検知信号をソレノイド制御回路7へ通知する。その際、センサインターフェース部5は、どの可動部に対して設置されたセンサの検知信号か識別可能なように、検知信号を受信してからセンサごとに異なる遅延時間だけずらしてからその検知信号をモータ制御回路6またはソレノイド制御回路7へ転送してもよい。あるいは、センサインターフェース部5は、センサごとに異なる識別コードとともに、検知信号をモータ制御回路6またはソレノイド制御回路7へ転送してもよい。
When the sensor interface unit 5 receives a detection signal from a sensor that detects the position of the movable body driven by the stepping motor, the sensor interface unit 5 notifies the
モータ制御回路6は、レジスタ3から読み出したコマンドセットに従って、駆動ユニットの一例であるステッピングモータを制御する。本実施形態では、モータ制御回路6は、一方のステッピングモータを制御するための第1制御回路61と、他方のステッピングモータを制御するための第2制御回路62とを有する。各制御回路61、62は、それぞれ、例えば、プロセッサを有し、レジスタ3から別個にコマンドセットを受け取って、対応する可動体を駆動するステッピングモータを制御する。さらにモータ制御回路6は、各可動体の現在位置及び一つ前のステップの動作開始時における位置を記憶するメモリ回路63を有する。このメモリ回路63は、可動体の現在位置を記憶する記憶部の一例である。
The
また、各制御回路61、62は、例えば、ユニポーラ型のステッピングモータを制御可能なように、6本の出力端子を有する。あるいは、各制御回路61、62は、例えば、バイポーラ型のステッピングモータを制御可能なように、4本の出力端子を有してもよい。さらにまた、各制御回路61、62は、6本の出力端子を有し、演出用CPUから受信した、ユニポーラ型かバイポーラ型を表す識別信号に応じて、信号を出力する出力端子を異ならせてもよい。
Each
例えば、各制御回路61、62は、動作情報に含まれる移動目的地の座標が絶対値指定されている場合、可動体の現在位置の座標と移動目的地の座標を比較する。そして各制御回路61、62は、移動目的地の座標と現在位置の座標との差の符号により、可動体の移動方向を決定する。例えば、図2(a)に示されるように、可動体が水平方向に沿って直進移動するものであり、かつ、可動体の位置座標を表すステップ数が正の大きな値であるほど、可動体が移動可能範囲の右端に近い場合、各制御回路61、62は、移動目的地の座標から現在位置の座標を引いた差が正であれば、可動体を右方向へ移動させると決定し、一方、その差が負であれば、可動体を左方向へ移動させると決定する。また、可動体が、所定の固定点を回転軸として回転移動するものであり、可動体の位置座標を表すステップ数が正の大きな値であるほど、可動体が移動可能範囲の時計回り方向の端部に近い場合、各制御回路61、62は、移動目的地の座標から現在位置の座標を引いた差が正であれば、可動体を時計回り方向へ移動させると決定し、一方、その差が負であれば、可動体を反時計回り方向へ移動させると決定する。
For example, each
また、移動目的地の設定モードが相対座標指定モードである場合、各制御回路61、62は、可動体をその指定された移動方向へ移動させると決定する。
また、移動目的地の設定モードが慣性移動モードである場合、各制御回路61、62は、メモリ回路に記憶されている、可動体の現在位置と一つ前のステップにおける位置との差の符号から、可動体の直前の動作における移動方向を特定する。そして各制御回路61、62は、その特定された移動方向へ可動体を移動させると決定する。
Further, when the setting mode of the movement destination is the relative coordinate designation mode, each
Further, when the moving destination setting mode is the inertial movement mode, each
可動体の移動方向が決定すると、各制御回路61、62は、ステッピングモータの回転速度に応じて、一つのステップに対応する動作期間を決定する。
その際、自動加減速モードがONであれば、各制御回路61、62は、設定情報に含まれる加速度データまたは減速度データに従ってステッピングモータの回転速度を調整する。
When the moving direction of the movable body is determined, each
At this time, if the automatic acceleration / deceleration mode is ON, the
図6(a)は、ステッピングモータの回転速度を上昇させる場合の回転速度の時間変化の一例を示す図であり、図6(b)は、ステッピングモータの回転速度を低下させる場合の回転速度の時間変化の一例を示す図である。図6(a)及び図6(b)において、横軸は時間を表し、縦軸はステッピングモータの回転速度を表す。グラフ601は、回転速度が上昇する場合における、時間経過と回転速度の関係を表し、グラフ602は、回転速度が低下する場合における、時間経過と回転速度の関係を表す。そして、時刻t0は、各制御回路61、62が、注目するコマンドセットの実行を開始する時刻を表す。また、rsdは、動作情報に含まれる速度データに規定された速度データを表す。
FIG. 6A is a diagram illustrating an example of a temporal change in the rotation speed when the rotation speed of the stepping motor is increased. FIG. 6B is a diagram illustrating the rotation speed when the rotation speed of the stepping motor is decreased. It is a figure which shows an example of a time change. 6A and 6B, the horizontal axis represents time, and the vertical axis represents the rotation speed of the stepping motor. The
時刻t0よりも前では、ステッピングモータは、注目するコマンドセットよりも一つ前のコマンドセットで指定された回転速度で回転している。そして時刻t0になると、すなわち、注目するコマンドセットの実行が開始されると、各制御回路61、62は、可動体が現在位置からステッピングモータの所定の第1のステップ数(例えば、5〜20ステップ)に対応する距離を移動するまで、設定情報に含まれる加速度データまたは減速度データに規定される加速度または減速度でステッピングモータの回転速度を徐々に加速または減速する。そして、その距離を移動し終えた時刻t1で、ステッピングモータの回転速度が、動作情報に含まれる速度データに規定された回転速度となるように調整される。また時刻t1以降、ステッピングモータの回転速度は、その速度データに規定された回転速度で維持される。
Prior to time t 0 , the stepping motor rotates at the rotation speed specified in the command set immediately before the command set of interest. At time t 0 , that is, when execution of the command set of interest starts, each
なお、各制御回路61、62は、例えば、実行しようとするコマンドセットに指定された速度データに示された回転速度が、一つ前に実行されたコマンドセットに指定された速度データに示された回転速度よりも速ければ、ステッピングモータを加速する。一方、実行しようとするコマンドセットに指定された速度データに示された回転速度が、一つ前に実行されたコマンドセットに指定された速度データに示された回転速度よりも遅ければ、各制御回路61、62は、ステッピングモータを減速する。
Each of the
図7(a)は、変形例による、ステッピングモータの回転速度を上昇させる場合の回転速度の時間変化の一例を示す図であり、図7(b)は、変形例による、ステッピングモータの回転速度を低下させる場合の回転速度の時間変化の一例を示す図である。図7(a)及び図7(b)において、横軸は時間を表し、縦軸はステッピングモータの回転速度を表す。グラフ701は、回転速度が上昇する場合における、時間経過と回転速度の関係を表し、グラフ702は、回転速度が低下する場合における、時間経過と回転速度の関係を表す。そして、時刻t0は、各制御回路61、62が、注目するコマンドセットの実行を開始する時刻を表す。また、rsdは、動作情報に含まれる速度データに規定された速度データを表す。
FIG. 7A is a diagram illustrating an example of a temporal change in the rotation speed when the rotation speed of the stepping motor is increased according to the modification, and FIG. 7B is a rotation speed of the stepping motor according to the modification. It is a figure which shows an example of the time change of the rotational speed in the case of reducing. 7A and 7B, the horizontal axis represents time, and the vertical axis represents the rotation speed of the stepping motor. A
この変形例によれば、各制御回路61、62は、目標座標から、ステッピングモータの所定の第2のステップ数(例えば、5〜20ステップ)に対応する距離だけ手前の位置に可動体が達した時刻t2以降、設定情報に含まれる加速度または減速度の情報に応じた加速度または減速度でステッピングモータの回転速度を徐々に加速または減速させる。そして各制御回路61、62は、目標座標に達した時刻t3でステッピングモータの回転速度が速度データに示された回転速度となるように、ステッピングモータの回転速度を調整する。
According to this modified example, each
さらに、可動体駆動装置1は、一つのコマンドセットに相当する動作を開始する時点で可動体の移動を開始し、その動作を終える時点で、可動体を停止させてもよい。この場合には、自動加減速モードがONであれば、各制御回路61、62は、可動体を移動開始させる際、その移動開始時から設定情報に含まれる加速度でステッピングモータの回転速度を徐々に加速し、ステッピングモータの所定の第3のステップ数(例えば、5〜20ステップ)に相当する距離を可動体が移動した時点で、ステッピングモータの回転速度が速度データに規定された回転速度となるように、ステッピングモータの回転速度を調整する。そして各制御回路61、62は、目標座標からステッピングモータの第3のステップ数に対応する距離だけ手前の減速開始位置に可動体が達するまで、その回転速度を維持する。そして各制御回路61、62は、可動体が減速開始位置に達した以降、設定情報に含まれる減速度の情報に応じた減速度でステッピングモータの回転速度を徐々に減速させる。そして各制御回路61、62は、目標座標に達した時点でステッピングモータの回転速度が0rpmとなるように、ステッピングモータの回転速度を調整する。
Furthermore, the movable body drive device 1 may start the movement of the movable body when starting an operation corresponding to one command set, and stop the movable body when completing the operation. In this case, if the automatic acceleration / deceleration mode is ON, the
上記のように、自動加減速モードを用いることにより、可動体駆動装置1は、可動体が停止状態から移動開始する際に急加速となること、または動作情報に指定された動作を終えた時点で可動体が停止状態となる際に急制動が掛かることを抑制して、ステッピングモータに過負荷が掛かることを防止できる。そのため、可動体駆動装置1は、ステッピングモータの回転に可動体が追従しなくなったり、ステッピングモータが脱調することを防止できる。 As described above, when the automatic acceleration / deceleration mode is used, the movable body drive device 1 is suddenly accelerated when the movable body starts moving from the stopped state, or when the operation designated in the operation information is finished. Thus, it is possible to prevent sudden braking from being applied when the movable body is stopped, and to prevent the stepping motor from being overloaded. Therefore, the movable body drive device 1 can prevent the movable body from following the rotation of the stepping motor or the stepping motor from stepping out.
また、第1〜第3のステップ数、加速度及び減速度は、例えば、メモリ回路63に記憶された、設定情報中の加速度及び減速度の指標の値と、ステップ数、加速度及び減速度との関係を表す参照テーブルを参照することによって決定される。
The first to third step numbers, acceleration, and deceleration are, for example, the values of the index of acceleration and deceleration in the setting information stored in the
一方、自動加減速モードがOFFであれば、各制御回路61、62は、図6(a)及び図6(b)において点線で示されたグラフ603、604のように、ステッピングモータの回転速度を、可動体の移動開始直後から目標座標に達するまで、動作情報に含まれる速度データに規定された回転速度に設定する。
On the other hand, when the automatic acceleration / deceleration mode is OFF, the
各制御回路61、62は、例えば、メモリ回路63に記憶された、回転速度と1ステップ当たりの動作期間との関係を表す参照テーブルを参照することにより、回転速度に対応する1ステップの動作期間を決定する。
For example, each
その後、各制御回路61、62は、設定情報に含まれる励磁モードフラグの値に対応する励磁方式及び移動方向に従って、決定された動作期間に相当する、ステッピングモータの各端子に印加するパルス状の駆動信号を生成する。この場合、各制御回路61、62は、例えば、メモリ回路63に記憶され、各制御回路61、62により実行される、駆動信号を生成するためのプログラムに従って、1ステップ当たりの動作期間、励磁方式及び移動方向に対応する駆動信号を生成すればよい。なお、各端子へ出力される励磁方式に応じた駆動信号の信号波形は、例えば、特許文献1及び2にも開示されているように公知であるので、ここではその詳細な説明は省略する。
Thereafter, each of the
さらに各制御回路61、62は、デューティ比制御回路4から受け取った連続パルス信号とその駆動信号を乗じることにより、各端子に印加する駆動信号をパルス幅変調する。これにより、可動体駆動装置1は、パルス信号のデューティ比を小さくすることで、制御対象のステッピングモータの発熱量を抑制することができ、一方、パルス信号のデューティ比を大きくすることで、制御対象のステッピングモータのトルクを大きくすることができる。そして各制御回路61、62は、パルス幅変調された各端子の駆動信号を出力する。
Furthermore, each
各制御回路61、62は、一つのステップに相当する駆動信号を出力する度に、メモリ回路63に記憶されている可動体の現在位置及び一つ前のステップにおける動作開始時の位置を更新する。具体的には、ステップ数が増える方向へ可動体が移動する場合には、各制御回路61、62は、現在位置を表すステップ数及び一つ前のステップにおける位置を表すステップ数に、それぞれ1を加算する。一方、ステップ数が減る方向へ可動体が移動する場合には、各制御回路61、62は、現在位置を表すステップ数及び一つ前のステップにおける位置を表すステップ数から、それぞれ1を減算する。
Each time each
目標座標が絶対値指定されている場合、一つのステップに対応する駆動信号の出力が終了する度に、各制御回路61、62は、可動体の現在位置を表す座標が移動目的地の座標と一致するか否か判定する。そして可動体の現在位置を表す座標値が移動目的地の座標と一致しなければ、各制御回路61、62は、再度、一ステップ分のパルス幅変調された駆動信号を生成して各端子へ出力し、現在位置等を更新する。一方、可動体の現在位置を表す座標値が目標座標と一致すれば、各制御回路61、62は、一つのコマンドセットに相当する可動体の動作が終了したと判定する。
When the absolute value is designated as the target coordinate, each time the output of the drive signal corresponding to one step is completed, the
一方、移動目的地の座標が相対値指定されている場合には、各制御回路61、62は、その相対値で指定されたステップ数分の駆動信号を各端子へ出力し、そのステップ数分だけ、現在位置等を更新する。その後、各制御回路61、62は、一つのコマンドセットに相当する可動体の動作が終了したと判定する。
On the other hand, when the coordinates of the moving destination are designated with relative values, the
各制御回路61、62は、可動体の動作が終了したと判定すると、通信回路2を介して、命令完了信号を演出用CPUへ送信する。
When each
また、各制御回路61、62は、自動補正フラグがONである場合に、センサインターフェース部5から、その制御回路に対応するステッピングモータが駆動する可動体の位置を検知するセンサからの検知信号を受け取ると、メモリ回路63に記憶されている可動体の位置を表す座標値を、その検知信号に対応するセンサが可動体を検知する位置である検知位置を表す座標値に書き換える。これにより、可動体がセンサの検知位置に達する度に、可動体駆動装置1が記憶する可動体の現在位置が正しい位置に修正されるので、ステッピングモータの回転に可動体が追従できないことが生じても、可動体駆動装置1は、可動体の正確な位置を把握することができる。
Each
ソレノイド制御回路7は、レジスタ3から受け取った制御コマンドに従って、その制御コマンドに含まれる可動体の移動方向または移動目的地に従って、各コイルに対する励磁信号を生成し、その励磁信号を、ソレノイドが有する各コイルへ出力する。ソレノイド制御回路7は、モータ制御回路6と同様に、ソレノイドが駆動する可動体の現在位置を記憶するメモリ回路を有していてもよい。そして制御コマンドに可動体の移動目的地が含まれる場合、ソレノイド制御回路7も、その移動目的地の座標と現在位置の座標とを比較することにより、可動体の移動方向を決定し、その移動方向に沿って、現在位置に近い方から順に、コイルを順次励磁するように、各コイルに対する励磁信号を生成してもよい。
In accordance with the control command received from the register 3, the solenoid control circuit 7 generates an excitation signal for each coil in accordance with the moving direction or the moving destination of the movable body included in the control command. Output to the coil. Similar to the
以上に説明してきたように、この可動体駆動装置は、ステッピングモータで駆動される可動体の現在位置を把握しているので、演出用CPUといったい上位の制御装置が可動体の目標座標を指定するだけで、可動体の移動方向を決定することができ、その目標座標まで可動体を移動させることができる。そのため、上位の制御装置は、可動体の現在位置を把握する必要が無く、また現在位置の座標と目標座標との差に応じて可動体の移動方向を決定する必要が無い。したがって、この可動体駆動装置は、可動体の駆動に関する、上位の制御装置の負荷を軽減できる。 As described above, since this movable body drive device grasps the current position of the movable body driven by the stepping motor, a higher-level control device such as a production CPU designates the target coordinates of the movable body. Only by doing this, the moving direction of the movable body can be determined, and the movable body can be moved to the target coordinates. Therefore, the host control device does not need to grasp the current position of the movable body and does not need to determine the moving direction of the movable body according to the difference between the coordinates of the current position and the target coordinates. Therefore, this movable body drive device can reduce the load of the host control device related to the drive of the movable body.
なお、本発明は上記の実施形態に限定されるものではない。例えば、変形例によれば、可動体駆動装置は、ソレノイド制御回路を有さなくてもよい。また、他の変形例によれば、可動体駆動装置は、図2(c)に示される慣性移動モードのような、現在位置に対する相対的な移動量のみで目標座標を特定する制御コマンドを受け付けなくてもよい。この場合には、可動体駆動装置は、現時点での可動体の移動方向を求める必要が無いので、モータ制御回路のメモリ回路は、可動体の現在位置のみを記憶しておけばよい。
さらに他の変形例によれば、可動体の現在位置の座標及び一つ前のステップの実行時における位置の座標は、レジスタが記憶していてもよい。
さらに他の変形例によれば、一つの制御コマンドが、動作情報と設定情報の両方を含んでいてもよい。
In addition, this invention is not limited to said embodiment. For example, according to the modification, the movable body drive device may not have a solenoid control circuit. According to another modification, the movable body driving device accepts a control command for specifying the target coordinates only by the amount of relative movement with respect to the current position, such as the inertial movement mode shown in FIG. It does not have to be. In this case, since the movable body drive device does not need to obtain the current moving direction of the movable body, the memory circuit of the motor control circuit need only store the current position of the movable body.
According to still another modification, the register may store the coordinates of the current position of the movable body and the coordinates of the position when the previous step is executed.
According to still another modification, one control command may include both operation information and setting information.
上記の実施形態または変形例による可動体駆動装置は、弾球遊技機または回胴遊技機といった遊技機に搭載されてもよい。
図8は、上記の実施形態または変形例による可動体駆動装置を備えた弾球遊技機100の概略斜視図である。また図9は、弾球遊技機100の概略背面図である。図8に示すように、弾球遊技機100は、上部から中央部の大部分の領域に設けられ、遊技機本体である遊技盤101と、遊技盤101の下方に配設された球受け部102と、ハンドルを備えた操作部103と、遊技盤101の略中央に設けられた表示装置104とを有する。
また弾球遊技機100は、遊技の演出のために、遊技盤101の前面において遊技盤101の下方に配置された固定役物部105と、遊技盤101と固定役物部105との間に配置された可動役物部106とを有する。また遊技盤101の側方にはレール107が配設されている。また遊技盤101上には多数の障害釘(図示せず)及び少なくとも一つの入賞装置108が設けられている。
The movable body drive device according to the above-described embodiment or modification may be mounted on a gaming machine such as a ball game machine or a spinning game machine.
FIG. 8 is a schematic perspective view of the
Further, the
操作部103は、遊技者の操作によるハンドルの回動量に応じて図示しない発射装置より所定の力で遊技球を発射する。発射された遊技球は、レール107に沿って上方へ移動し、多数の障害釘の間を落下する。そして遊技球が何れかの入賞装置108に入ったことを、図示しないセンサにより検知すると、遊技盤101の背面に設けられた主制御回路110は、遊技球が入った入賞装置108に応じた所定個の遊技球を玉払い出し装置(図示せず)を介して球受け部102へ払い出す。さらに主制御回路110は、遊技盤101の背面に設けられた演出用CPU111を介して表示装置104に様々な映像を表示させる。
The
可動役物部106は、遊技の状態に応じて移動する可動体の一例であり、遊技盤101の背面に設けられた、本発明の実施形態またはその変形例による可動体駆動装置112により駆動される。なお、遊技機100が、可動役物部106以外にも可動体を有する場合、例えば、入賞装置107の開口部に、開口の大きさを可変にする可動体を有する場合、その可動体も、可動体駆動装置112によって駆動されてもよい。
The movable
図10(a)は、固定役物部105を透過して見た、可動体駆動装置112により駆動される可動役物部106の概略正面図であり、(b)は、固定役物部105の背面側から見た、可動役物部106が移動可能範囲の一端に位置する場合の概略背面図であり、(c)は、固定役物部105の背面側から見た、可動役物部106が移動可能範囲の他端に位置する場合の概略背面図である。
FIG. 10A is a schematic front view of the
この実施形態では、可動役物部106は、星型の装飾部材121と、その装飾部材121を一端にて保持する棒状の支持部材122とを有する。支持部材122は、固定役物部105の背面側に、遊技盤101の左下端から右上方へ向けて斜め方向に、支持部材122の下端と接するように設けられたレール123と係合し、そのレール123に沿って直進移動可能に保持されている。この例では、図10(b)に示されるように、可動役物部106がその移動可能範囲の左下方側の端部に位置する場合、遊技盤101の前面側から見て、装飾部材121が固定役物部105の背後に隠れて遊技者から見えなくなる。一方、図10(c)に示されるように、可動役物部106がその移動可能範囲の右上方側の端部に位置する場合、装飾部材121全体が固定役物部105よりも遊技盤101の中央側に位置することとなり、遊技者が装飾部材121全体を視認可能となる。
In this embodiment, the movable
支持部材122の上面側には、直線歯車としての歯が形成されており、この歯が、移動可能範囲の右上方側の端部に可動役物部106が位置する場合の支持部材122の左下端側の端部の位置近傍に設置された減速ギア124と係合する。また減速ギア124は、ステッピングモータ125の回転軸126に取り付けられたギア127と係合している。そのため、ステッピングモータ125が所定角度回転することにより、ギア127及び減速ギア124を介して、その回転角度に対応する所定の移動量だけ可動役物部106が移動する。そしてステッピングモータ125は、可動体駆動装置112により制御される。
Teeth as linear gears are formed on the upper surface side of the
また、移動可能範囲の左下方側の端部に可動役物部106が位置する場合の支持部材122の左下端側の端部の位置近傍には、センサ128が設けられ、可動役物部106が移動可能範囲の左下方側の端部に達した場合に検知信号を発生し、その検知信号を可動体駆動装置112へ送信する。なお、センサ128は、例えば、マグネットセンサとし、支持部材122の左下端側の端部に取り付けられた磁性体を検知することで、可動役物部106がその移動可能範囲の左下端に達したことを検知できる。あるいは、センサ128は、発光ダイオードと受光素子とを有する光学式のセンサであってもよい。
Further, a
主制御回路110から演出用CPU111に伝達された遊技の状態を表す状態信号に基づいて、演出用CPU111は、可動役物部106の目標座標を決定し、その決定に従った制御コマンドを生成する。そして演出用CPU111は、生成した制御コマンドを可動体駆動装置112へ出力する。例えば、遊技球が入賞装置107に入る前は、演出用CPU111は、可動役物部106が固定役物部105に隠れるように、可動役物部106をその移動可能範囲の左下方の端部を移動目的地として指定する制御コマンドを可動体駆動装置112へ送信する。一方、遊技球が入賞装置107に入ったことが検知され、そのことを示す状態信号が主制御回路110から演出用CPU111に入力されると、演出用CPU111は、可動役物部106をその移動可能範囲の右上方の端部を移動目的地として指定する制御コマンドを生成し、その制御コマンドを可動体駆動装置112へ送信する。
On the basis of the state signal indicating the state of the game transmitted from the
このように、当業者は、本発明の範囲内で、実施される形態に合わせて様々な変更を行うことができる。 As described above, those skilled in the art can make various modifications in accordance with the embodiment to be implemented within the scope of the present invention.
1 可動体駆動装置
2 通信回路
3 レジスタ
31 第1メモリ回路
32 第2メモリ回路
4 デューティ比制御回路
5 センサインターフェース部
6 モータ制御回路
61、62 制御回路
63 メモリ回路
7 ソレノイド制御回路
100 弾球遊技機
101 遊技盤
102 球受け部
103 操作部
104 表示装置
105 固定役物部
106 可動役物部
107 レール
108 入賞装置
110 主制御回路
111 演出用CPU
112 可動体駆動装置
121 装飾部材
122 支持部材
123 レール
124 減速ギア
125 ステッピングモータ
126 回転軸
127 ギア
128 センサ
DESCRIPTION OF SYMBOLS 1 Movable
DESCRIPTION OF
Claims (6)
前記可動体の移動目的地を規定する制御コマンドを受信する通信部と、
前記可動体の現在位置を記憶する記憶部と、
前記移動目的地と前記現在位置との差、または前記可動体の直前の動作における移動方向に基づいて、前記可動体の次の動作における移動方向を決定し、当該次の動作における移動方向に沿って前記可動体が前記移動目的地に達するまで、前記可動体を移動させるように、前記駆動ユニットを制御する制御部と、
を有することを特徴とする可動体駆動装置。 A movable body drive device for controlling a drive unit for driving a movable body provided in a gaming machine,
A communication unit that receives a control command that defines a moving destination of the movable body;
A storage unit for storing a current position of the movable body;
Based on a difference between the moving destination and the current position, or a moving direction in the previous operation of the movable body, a moving direction in the next operation of the movable body is determined, and along the moving direction in the next operation A control unit for controlling the drive unit to move the movable body until the movable body reaches the moving destination;
A movable body drive device comprising:
前記制御コマンドは、前記ステッピングモータの回転速度を表す第1の指標と前記ステッピングモータの加速度または減速度を表す第2の指標とを含み、
前記制御部は、前記可動体が、前記現在位置から前記ステッピングモータの第1のステップ数に対応する距離を移動するまで、前記第2の指標により示された加速度または減速度で前記ステッピングモータの回転速度を加速または減速させ、当該距離を移動した時点で前記第1の指標により示された回転速度となるように前記ステッピングモータを制御する、請求項1に記載の可動体駆動装置。 The drive unit is a stepping motor;
The control command includes a first index representing a rotation speed of the stepping motor and a second index representing an acceleration or deceleration of the stepping motor,
The controller controls the stepping motor at an acceleration or deceleration indicated by the second index until the movable body moves a distance corresponding to the first step number of the stepping motor from the current position. The movable body drive device according to claim 1, wherein the stepping motor is controlled so that the rotation speed is accelerated or decelerated and the rotation speed indicated by the first index is reached when the distance is moved.
前記制御コマンドは、前記ステッピングモータの回転速度を表す第1の指標と前記ステッピングモータの加速度または減速度を表す第2の指標とを含み、
前記制御部は、前記可動体が、前記ステッピングモータの第2のステップ数に対応する距離よりも前記移動目的地に近づくと、前記第2の指標により示された加速度または減速度で前記ステッピングモータの回転速度を加速または減速し、当該移動目的地に達した時点で当該回転速度が前記第1の指標により示された回転速度となるように前記ステッピングモータを制御する、請求項1に記載の可動体駆動装置。 The drive unit is a stepping motor;
The control command includes a first index representing a rotation speed of the stepping motor and a second index representing an acceleration or deceleration of the stepping motor,
When the movable body is closer to the moving destination than the distance corresponding to the second step number of the stepping motor, the control unit performs the stepping motor at the acceleration or deceleration indicated by the second index. 2. The stepping motor is controlled according to claim 1, wherein the rotation speed of the stepping motor is controlled so that the rotation speed becomes the rotation speed indicated by the first index when the movement destination is reached. Movable body drive device.
前記制御コマンドは、前記ステッピングモータの回転速度を表す第1の指標と前記ステッピングモータの減速度を表す第3の指標とを含み、
前記制御部は、前記可動体が、前記ステッピングモータの第3のステップ数に対応する距離よりも前記移動目的地に近づくと、前記第3の指標により示された減速度で前記ステッピングモータの回転速度を減速し、当該移動目的地に達した時点で当該回転速度が0となるように前記ステッピングモータを制御する、請求項1に記載の可動体駆動装置。 The drive unit is a stepping motor;
The control command includes a first index representing a rotation speed of the stepping motor and a third index representing a deceleration of the stepping motor,
The control unit rotates the stepping motor at a deceleration indicated by the third index when the movable body is closer to the moving destination than a distance corresponding to a third step number of the stepping motor. The movable body drive device according to claim 1, wherein the stepping motor is controlled so that the rotational speed becomes zero when the speed is reduced and the moving destination is reached.
前記制御コマンドは、前記ステッピングモータの1ステップの動作に相当する第1の期間に対する前記ステッピングモータに電圧を印加する期間の比を表す第4の指標を含み、
前記第1の期間よりも短い第2の期間を1周期とし、当該第2の期間において、前記第4の指標に表された前記比だけ所定の電圧値を持つパルスが連続する連続パルス信号を生成するデューティ比制御部をさらに有し、
前記制御部は、前記連続パルス信号によって、前記ステッピングモータのステップごとの動作を制御する駆動信号をパルス幅変調し、当該パルス幅変調された駆動信号を前記ステッピングモータへ出力する、
請求項1〜4の何れか一項に記載の可動体駆動装置。 The drive unit is a stepping motor;
The control command includes a fourth index representing a ratio of a period during which a voltage is applied to the stepping motor with respect to a first period corresponding to one-step operation of the stepping motor.
A second period shorter than the first period is defined as one cycle, and in the second period, a continuous pulse signal in which pulses having a predetermined voltage value corresponding to the ratio represented by the fourth index are continued. It further has a duty ratio control unit to generate,
The control unit performs pulse width modulation on a drive signal for controlling the operation of each step of the stepping motor by the continuous pulse signal, and outputs the pulse width modulated drive signal to the stepping motor.
The movable body drive apparatus as described in any one of Claims 1-4.
前記記憶部は、前記可動体の直前の動作時の位置をさらに記憶し、
前記制御部は、前記直前の動作時の位置と前記現在位置との差によって前記可動体の直前の動作における移動方向を求める、請求項1〜5の何れか一項に記載の可動体駆動装置。 The movement destination included in the control command is represented by a movement amount based on the current position,
The storage unit further stores a position at the time of the immediately preceding operation of the movable body,
6. The movable body drive device according to claim 1, wherein the control unit obtains a moving direction in the immediately preceding operation of the movable body based on a difference between the position at the time of the immediately preceding operation and the current position. .
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011187901A JP5879824B2 (en) | 2011-08-30 | 2011-08-30 | Movable body drive device |
PCT/JP2012/066045 WO2013031352A1 (en) | 2011-08-30 | 2012-06-22 | Movable object driving device and game machine |
US14/236,153 US9787233B2 (en) | 2011-08-30 | 2012-06-22 | Movable object driving device and game machine |
AU2012303305A AU2012303305B2 (en) | 2011-08-30 | 2012-06-22 | Movable object driving device and game machine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011187901A JP5879824B2 (en) | 2011-08-30 | 2011-08-30 | Movable body drive device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2013051794A true JP2013051794A (en) | 2013-03-14 |
JP5879824B2 JP5879824B2 (en) | 2016-03-08 |
Family
ID=48013419
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011187901A Active JP5879824B2 (en) | 2011-08-30 | 2011-08-30 | Movable body drive device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5879824B2 (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015154536A (en) * | 2014-02-12 | 2015-08-24 | オムロン株式会社 | Drive apparatus control device |
JP2017023379A (en) * | 2015-07-22 | 2017-02-02 | 株式会社オリンピア | Game machine |
JP2017131410A (en) * | 2016-01-28 | 2017-08-03 | 株式会社オリンピア | Game machine |
JP2017143902A (en) * | 2016-02-15 | 2017-08-24 | オムロン株式会社 | Game machine |
JP2017147790A (en) * | 2016-02-15 | 2017-08-24 | オムロン株式会社 | Drive device controller |
WO2017141549A1 (en) | 2016-02-15 | 2017-08-24 | オムロン株式会社 | Driving-device control apparatus and game machine |
JP2017536503A (en) * | 2014-12-01 | 2017-12-07 | エコラボ ユーエスエー インコーポレイティド | Diaphragm pump for dispensing fluid and method accordingly |
JP2018148936A (en) * | 2017-03-09 | 2018-09-27 | 株式会社平和 | Game machine |
JP2018153423A (en) * | 2017-03-17 | 2018-10-04 | サミー株式会社 | Game machine |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001104565A (en) * | 1999-10-06 | 2001-04-17 | Sankyo Kk | Game machine |
JP2001327194A (en) * | 2000-05-12 | 2001-11-22 | Oriental Motor Co Ltd | Pulse oscillation ic and motor positioning control method and device using the ic |
JP2010213755A (en) * | 2009-03-13 | 2010-09-30 | Daito Giken:Kk | Game machine |
JP2010220884A (en) * | 2009-03-24 | 2010-10-07 | Daito Giken:Kk | Game machine |
-
2011
- 2011-08-30 JP JP2011187901A patent/JP5879824B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001104565A (en) * | 1999-10-06 | 2001-04-17 | Sankyo Kk | Game machine |
JP2001327194A (en) * | 2000-05-12 | 2001-11-22 | Oriental Motor Co Ltd | Pulse oscillation ic and motor positioning control method and device using the ic |
JP2010213755A (en) * | 2009-03-13 | 2010-09-30 | Daito Giken:Kk | Game machine |
JP2010220884A (en) * | 2009-03-24 | 2010-10-07 | Daito Giken:Kk | Game machine |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015154536A (en) * | 2014-02-12 | 2015-08-24 | オムロン株式会社 | Drive apparatus control device |
JP2017536503A (en) * | 2014-12-01 | 2017-12-07 | エコラボ ユーエスエー インコーポレイティド | Diaphragm pump for dispensing fluid and method accordingly |
US11067072B2 (en) | 2014-12-01 | 2021-07-20 | Ecolab Usa Inc. | Diaphragm pump for dosing a fluid and an according method |
JP2017023379A (en) * | 2015-07-22 | 2017-02-02 | 株式会社オリンピア | Game machine |
JP2017131410A (en) * | 2016-01-28 | 2017-08-03 | 株式会社オリンピア | Game machine |
JP2017143902A (en) * | 2016-02-15 | 2017-08-24 | オムロン株式会社 | Game machine |
JP2017147790A (en) * | 2016-02-15 | 2017-08-24 | オムロン株式会社 | Drive device controller |
WO2017141549A1 (en) | 2016-02-15 | 2017-08-24 | オムロン株式会社 | Driving-device control apparatus and game machine |
US10614654B2 (en) | 2016-02-15 | 2020-04-07 | Omron Corporation | Driving-device control apparatus for driving moving body back and forth and game machine including driving-device control apparatus |
JP2018148936A (en) * | 2017-03-09 | 2018-09-27 | 株式会社平和 | Game machine |
JP2018153423A (en) * | 2017-03-17 | 2018-10-04 | サミー株式会社 | Game machine |
Also Published As
Publication number | Publication date |
---|---|
JP5879824B2 (en) | 2016-03-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5879824B2 (en) | Movable body drive device | |
JP5903804B2 (en) | Game machine | |
WO2013031352A1 (en) | Movable object driving device and game machine | |
JP6020011B2 (en) | DC motor control device and game machine | |
US8038525B2 (en) | Dynamic generation of a profile for a spinning reel of a gaming system | |
JP5867354B2 (en) | Motor control device | |
JP5949403B2 (en) | Game machine | |
JP6079454B2 (en) | Drive control device | |
JP5369477B2 (en) | Movable body driving apparatus and method, and program | |
AU2014202759B2 (en) | Drive control device and drive control system | |
JP2018007520A (en) | Motor controller and game machine | |
JP6892736B2 (en) | Drive equipment control device | |
JP2017143902A (en) | Game machine | |
US10614654B2 (en) | Driving-device control apparatus for driving moving body back and forth and game machine including driving-device control apparatus | |
JP2014236809A (en) | Game machine | |
JP6459390B2 (en) | DC motor controller | |
WO2016067787A1 (en) | Dc motor control device and game machine | |
JP6614064B2 (en) | Motor control device and game machine | |
JP6435775B2 (en) | Game machine | |
JP2001119995A (en) | Motor-control device and motor-control method | |
JP2019076378A (en) | Slot machine | |
JP2019093017A (en) | Game machine |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20140213 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20140729 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140925 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20141104 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20141219 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20150623 |
|
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: 20160105 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20160118 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5879824 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |