JPH11244512A - Race game device - Google Patents

Race game device

Info

Publication number
JPH11244512A
JPH11244512A JP5091198A JP5091198A JPH11244512A JP H11244512 A JPH11244512 A JP H11244512A JP 5091198 A JP5091198 A JP 5091198A JP 5091198 A JP5091198 A JP 5091198A JP H11244512 A JPH11244512 A JP H11244512A
Authority
JP
Japan
Prior art keywords
parameter group
control parameter
speed
section
traveling
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.)
Withdrawn
Application number
JP5091198A
Other languages
Japanese (ja)
Inventor
Koichi Sugino
光一 杉野
Naoki Tanabe
直樹 田辺
Yoichi Tokumasu
洋一 徳増
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.)
Sigma Corp
Seiko Precision Inc
Original Assignee
Sigma Corp
Seiko Precision Inc
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 Sigma Corp, Seiko Precision Inc filed Critical Sigma Corp
Priority to JP5091198A priority Critical patent/JPH11244512A/en
Publication of JPH11244512A publication Critical patent/JPH11244512A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)

Abstract

PROBLEM TO BE SOLVED: To make traveling bodies to accurately trace the target line in a racing game machine where plural traveling bodies conduct racing. SOLUTION: A truck 4 measures a deviation between a sequential target position determined according to a predetermined traveling pattern information and an actual measurement position read by a feeding pin 4b or the like, and sequentially travels toward the target position according to the PID control using a first control parameter group in such a deviation and a straight line traveling section and using a second control parameter group predetermined according to the curvature of the section in a curved traveling section. Thus, the effect of the PID control for the lateral speed change of the truck 4 is optimized whether the straight line traveling section or the curved traveling section, so that the trace operation of the truck 4 for a designated target line can be improved.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の技術分野】本発明は複数の走行体がレース動作
を行う競争ゲーム装置に関するものであり、特に上記走
行体の走行制御に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a racing game apparatus in which a plurality of running bodies race, and more particularly to a running control of the running bodies.

【0002】[0002]

【従来の技術】現在、所定のコース上において複数の走
行体がレース動作を行う競争ゲーム装置がある。例え
ば、図示しないが、コース上を複数の模型馬がレース動
作を行う競馬ゲーム装置がある。このようなものでは、
コースは、複数の模型馬が走行する天井面と床面との2
層構造となっている。各模型馬は天井面を挟んで床面を
走行する台車と磁気的に結合されて台車と一体的に走行
し、これら模型馬と台車により走行体が構成される。各
走行体(台車)はそれぞれ独立したモータにより駆動さ
れる左右の駆動輪を有し、光通信にてコントローラから
送られる制御命令に従った速度で左右の駆動輪をそれぞ
れ駆動して走行し、レース動作を行う。また、コース上
における各走行体の位置を実測する手段が設けてあり、
コントローラは各走行体について所定の時間間隔で逐
次、実測位置と予め定められた目標位置との誤差に基づ
いて、上記制御命令を発生する。このような制御命令
は、例えば、まず、逐次の目標位置と実測位置との偏差
を測定し、この位置偏差と演算される比例成分、積分成
分、微分成分のそれぞれの制御ゲインを定める各パラメ
ータよりなる制御用パラメータグループを用いたPID
(Proportional-Integral-Derivative)制御によって、
走行体が目標位置に向かうように左右のモータを制御す
るものである。
2. Description of the Related Art At present, there are competitive game machines in which a plurality of running bodies race on a predetermined course. For example, although not shown, there is a horse racing game device in which a plurality of model horses race on a course. In such a thing,
The course consists of a ceiling and a floor where multiple model horses run.
It has a layer structure. Each model horse is magnetically coupled to a bogie that runs on the floor across the ceiling surface and runs integrally with the bogie, and the model horse and the bogie constitute a running body. Each traveling body (cart) has left and right driving wheels driven by independent motors, respectively, and drives the left and right driving wheels at a speed according to a control command sent from a controller by optical communication, and travels. Perform a race action. In addition, means for actually measuring the position of each traveling body on the course is provided,
The controller generates the control command for each traveling body sequentially at predetermined time intervals based on an error between the actually measured position and a predetermined target position. Such a control command, for example, first measures the deviation between the successive target position and the actual measurement position, and calculates the position deviation and the respective parameters that determine the control gains of the proportional component, integral component, and differential component calculated. Using control parameter group
(Proportional-Integral-Derivative) control,
The left and right motors are controlled so that the traveling body moves toward the target position.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、コース
の直線走行区間、曲線走行区間に限らず、制御用パラメ
ータグループは1つであった。このため、図12に示す
ように走行体(台車)が直線走行区間s1において良好
に所定の目標ラインL0をトレースできるように各制御
パラメータを設定した場合、曲線走行区間s2におい
て、走行体(台車)の実際の走行ラインL2は目標ライ
ンL0のカーブの外側をトレースしてしまう。すなわ
ち、このようなパラメータによるPID制御では、曲線
走行区間において必要な走行体の左右方向の速度を変化
させる効果が得られない。このため、走行体をアウトコ
ース、インコースと様々な走行パターンにて走行させよ
うとしたとき、カーブのインコースでは進路変更が不十
分となってしまう。逆に、走行体(台車)が曲線走行区
間s2において良好に目標ラインL0をトレースできる
ように各制御パラメータを設定した場合、走行体の左右
方向の速度を変化させる効果が過大となり、図13に示
すように走行体(台車)の走行ラインL3は直線走行区
間s1において大きく蛇行してしまう。また、複数の走
行体が互いに干渉せずにレース動作を行うように各走行
体の走行パターンを設定するには、各走行体の走行パタ
ーンからのずれを加味して行わねばならず、この設定を
非常に煩雑なものとしていた。
However, the number of control parameter groups is not limited to the straight running section and the curved running section of the course. For this reason, as shown in FIG. 12, when each control parameter is set so that the traveling body (bogie) can trace the predetermined target line L0 in the straight traveling section s1, the traveling body (bogie) is curved in the curved traveling section s2. The actual traveling line L2 of ()) traces the outside of the curve of the target line L0. In other words, in the PID control using such parameters, the effect of changing the speed in the left-right direction of the traveling body required in the curved traveling section cannot be obtained. For this reason, when trying to make the traveling body travel in various traveling patterns such as an out-course and an in-course, the course change becomes insufficient in the in-course of the curve. Conversely, when the control parameters are set so that the traveling body (bogie) can trace the target line L0 well in the curved traveling section s2, the effect of changing the speed of the traveling body in the left-right direction becomes excessive, and FIG. As shown, the traveling line L3 of the traveling body (bogie) meanders greatly in the straight traveling section s1. In addition, in order to set the running pattern of each running body so that a plurality of running bodies perform a race operation without interfering with each other, it is necessary to take into account the deviation from the running pattern of each running body. Was very complicated.

【0004】[0004]

【課題を解決するための手段】そこで、発明において
は、走行体は、予め定められた走行パターン情報により
定まる逐次の目標位置および目標速度と読取り手段によ
り読み取られた実測位置および実測速度との偏差を測定
し、これらの偏差および直線走行区間では、第1の制御
用パラメータグループを用い、上記走行体の曲線走行区
間では当該区間の曲率に応じて定められた第2の制御用
パラメータグループを用いたPID制御によって逐次上
記目標位置に向かい走行する。これにより、直線走行区
間、曲線走行区間に関わらず、走行体の左右方向の速度
変化に対するPID制御の効果を最適なものとし、走行
体による所定ラインのトレース動作を良好なものとす
る。
Therefore, in the present invention, the traveling body is provided with a deviation between successive target positions and target speeds determined by predetermined traveling pattern information and actual measurement positions and actual speeds read by the reading means. Are measured, and the first control parameter group is used for the deviation and the straight running section, and the second control parameter group defined according to the curvature of the section is used for the curved running section of the running body. The vehicle sequentially travels to the target position by the PID control. Thereby, the effect of the PID control on the speed change of the traveling body in the left-right direction is optimized regardless of the straight traveling section and the curved traveling section, and the tracing operation of the predetermined line by the traveling body is improved.

【0005】[0005]

【発明の実施の形態】複数の走行体がレース動作を行う
競争ゲーム装置において、上記走行体の位置情報を与え
るための複数のパターンを有し、上記走行体はそれぞ
れ、上記パターンから上記位置情報を読みとる読取り手
段を備え、予め定められた走行パターン情報により定ま
る逐次の目標位置および目標速度と上記読取り手段によ
り読み取られた実測位置および実測速度との位置偏差お
よび速度偏差を測定し、これら位置偏差、速度偏差と制
御用パラメータを用いたPID制御によって逐次上記目
標速度にて上記目標位置に向かって走行するように制御
されるものであり、上記PID制御において、上記走行
体の直線走行区間では、第1の制御用パラメータグルー
プを用い、上記走行体の曲線走行区間では当該区間の曲
率に応じて定められた第2の制御用パラメータグループ
を用いる。
BEST MODE FOR CARRYING OUT THE INVENTION In a competitive game machine in which a plurality of running bodies perform a racing operation, a plurality of patterns for giving position information of the running bodies are provided. And a position deviation and a velocity deviation between successive target positions and target speeds determined by predetermined traveling pattern information and actual positions and actual speeds read by the reading unit. Is controlled so as to sequentially travel toward the target position at the target speed by PID control using a speed deviation and a control parameter. In the PID control, in the straight traveling section of the traveling body, In the curved traveling section of the traveling body, the first control parameter group is used in accordance with the curvature of the section. The second control parameter group is used.

【0006】ここで、上記第2の制御用パラメータグル
ープを用いたPID制御による上記走行体の左右方向の
速度を変化させる効果は上記第1の制御用パラメータグ
ループを用いたPID制御による効果より大きいことが
好ましい。
Here, the effect of changing the speed of the traveling body in the left-right direction by the PID control using the second control parameter group is greater than the effect by the PID control using the first control parameter group. Is preferred.

【0007】上記直線走行区間では、当該区間での目標
速度に対応して定められた第1の制御用パラメータグル
ープを用いるPID制御を行い、上記曲線走行区間では
当該区間の曲率および上記目標速度に対応して定められ
た第2の制御用パラメータグループを用いるPID制御
を行うことも好ましい。
In the straight running section, PID control is performed using a first control parameter group defined in correspondence with the target speed in the section. It is also preferable to perform PID control using a correspondingly determined second control parameter group.

【0008】複数の走行体がレース動作を行う競争ゲー
ム装置において、上記走行体に位置情報を与えるための
複数のパターンを有し、上記走行体はそれぞれ、上記パ
ターンから上記位置情報を読みとる読取り手段を備え、
予め定められた走行パターン情報により定まる逐次の目
標位置と上記読取り手段により読み取られた実測位置と
の偏差を測定し、この位置偏差と演算される比例成分、
積分成分、微分成分のそれぞれの制御ゲインを定める各
パラメータよりなる操舵制御用パラメータグループを用
いた第1のPID制御により、操舵量を決定し、この操
舵量にて決まる目標速度と上記実測位置から算出された
実測速度との偏差と、この速度偏差と演算される比例成
分、積分成分、微分成分のそれぞれの制御ゲインを定め
る各パラメータよりなる速度制御用パラメータグループ
を用いた第2のPID制御により定まる速度により走行
するものであり、上記第1、第2のPID制御におい
て、上記走行体の直線走行区間では、第1の操舵制御用
パラメータグループおよび第1の速度制御用パラメータ
グループを用い、上記コ走行体の曲線走行区間では当該
区間の曲率に応じて定められた第2の操舵制御用パラメ
ータグループおよび第2の速度制御用パラメータグルー
プを用いることも好ましい。
In a competitive game machine in which a plurality of running bodies perform a racing operation, a plurality of patterns for giving position information to the running body are provided, and each of the running bodies reads the position information from the pattern. With
A deviation between a successive target position determined by predetermined traveling pattern information and an actual measurement position read by the reading means is measured, and a proportional component calculated from the position deviation is calculated.
The steering amount is determined by the first PID control using a steering control parameter group including parameters that determine the respective control gains of the integral component and the differential component, and the target speed determined by the steering amount and the actual measurement position are used. The second PID control using a deviation from the calculated actual measured speed and a speed control parameter group including parameters that determine respective control gains of a proportional component, an integral component, and a differential component calculated with the speed deviation is performed. The vehicle travels at a determined speed. In the first and second PID controls, a first steering control parameter group and a first speed control parameter group are used in the straight traveling section of the traveling body. In the curved traveling section of the co-traveling body, a second steering control parameter group determined according to the curvature of the section and It is also preferable to use a second velocity control parameter group.

【0009】ここで、上記第2の操舵制御用パラメータ
グループおよび第2の速度制御用パラメータグループを
用いた第1、第2のPID制御による上記走行体の左右
方向の速度を変化させる効果は上記第1の操舵制御用パ
ラメータグループおよび第1の速度制御用パラメータグ
ループを用いた第1、第2のPID制御による効果より
大きいことを特徴とすることも好ましい。
Here, the effect of changing the left-right speed of the traveling body by the first and second PID control using the second steering control parameter group and the second speed control parameter group is as described above. It is also preferable that the first and second PID controls using the first steering control parameter group and the first speed control parameter group have greater effects.

【0010】ここで、上記直線区間では、当該区間での
目標速度に対応して定められた第1の操舵制御用パラメ
ータグループおよび第1の速度制御用パラメータグルー
プを用いる第1、第2のPID制御を行い、上記曲線区
間では当該区間の曲率および上記目標速度に対応して定
められた第2の操舵制御用パラメータグループおよび第
2の速度制御用パラメータグループを用いる第1、第2
のPID制御を行うことも好ましい。
Here, in the straight section, first and second PIDs using a first steering control parameter group and a first speed control parameter group determined corresponding to a target speed in the section. Control is performed, and in the curved section, a first steering control parameter group and a second speed control parameter group defined according to the curvature of the section and the target speed are used.
It is also preferable to perform the PID control described above.

【0011】[0011]

【実施例】本発明の実施例の競争ゲーム装置について説
明する。まず、その構成の概要について説明する。図1
は競争ゲーム装置の全体の外観を示したものであり、同
図において1はコースであり、基部2の上面に設けられ
ている。3〜3は模型馬であり、後述するように、下側
にあるそれぞれの後述する台車と磁気的に結合されて台
車とともに走行体をなし、コース1上にてレース動作を
呈する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A competition game machine according to an embodiment of the present invention will be described. First, an outline of the configuration will be described. FIG.
1 shows the overall appearance of the competition game apparatus. In FIG. 1, reference numeral 1 denotes a course, which is provided on the upper surface of the base 2. Reference numerals 3 to 3 denote model horses, which are magnetically coupled to the respective lower trucks, which will be described later, form a running body together with the trucks, and exhibit a racing operation on the course 1 as described later.

【0012】次に各走行体の構成の概要について説明す
る。図2は走行体の側面を模式的に示した図である。な
お、同図において、図1と同じ符号で示したものは図1
に示したものと同じものを示すものであり、以降に述べ
る各図においても同様である。さて、図2において、4
は台車であり、5は床面であり、6は天井面であり、コ
ース1は2層構造となっている。台車4は駆動輪4aに
て床面5上を走行し、駆動輪4aは左右にあり、それぞ
れ独立したモータにより駆動される。台車4は図示しな
い磁石により天井面6上の模型馬3と磁気的に結合され
ており、模型馬3は台車4と一体的に走行する。また、
天井面6の裏面には図3に示すように+極、−極の給電
ライン6a、6bが幅方向に交互に設けられている。な
お、図3は天井面6を上から透視した模式図であり、給
電ライン6a、6bについても同図に示すものより多く
設けられている。また、台車4は給電ライン6a、6b
と接触する複数の給電ピン4bを備え、電力供給を受け
る。また、図3には図示しなかったが、床面5には図4
に示すようにコース1を周回方向に複数の区間5a〜5
aに分割し、それぞれに位置情報を示すバーコード(図
示せず)が設けられており、さらに、給電ライン6a〜
6aに対応してそれぞれの位置情報を示すバーコード
(図示せず)が特定間隔で設けられている。台車4はこ
れらバーコードを読み取り位置情報を得るためのバーコ
ードセンサ4cを備える。また、台車4は赤外線発光器
4d、赤外線受光器4eを有し、これらにより、例え
ば、図3に示すように、光通信部7〜7を介して後述す
るコントローラに状態情報を送信し、また光通信部7〜
7を介してコントローラから送られる制御情報を受信す
る。
Next, an outline of the configuration of each traveling body will be described. FIG. 2 is a diagram schematically illustrating a side surface of the traveling body. In the same figure, the same reference numerals as those in FIG.
The same thing as that shown in FIG. 1 is shown, and the same applies to each of the drawings described below. Now, in FIG.
Is a truck, 5 is a floor surface, 6 is a ceiling surface, and course 1 has a two-layer structure. The carriage 4 travels on the floor 5 with the driving wheels 4a, and the driving wheels 4a are on the left and right sides, and are driven by independent motors. The cart 4 is magnetically coupled to the model horse 3 on the ceiling surface 6 by a magnet (not shown), and the model horse 3 runs integrally with the cart 4. Also,
As shown in FIG. 3, on the rear surface of the ceiling surface 6, power supply lines 6a and 6b of + and-poles are provided alternately in the width direction. FIG. 3 is a schematic view of the ceiling surface 6 seen from above, and more power supply lines 6a and 6b are provided than those shown in FIG. In addition, the trolley 4 has power supply lines 6a and 6b.
And a plurality of power supply pins 4b that are in contact with the power supply pins and receive power supply. Further, although not shown in FIG.
As shown in the figure, a plurality of sections 5a to 5
a, and a bar code (not shown) indicating position information is provided for each of them.
Bar codes (not shown) indicating respective position information are provided at specific intervals corresponding to 6a. The cart 4 includes a barcode sensor 4c for reading these barcodes and obtaining positional information. The cart 4 also has an infrared light emitter 4d and an infrared light receiver 4e, which, for example, transmit state information to a later-described controller via the optical communication units 7 to 7 as shown in FIG. Optical communication unit 7-
7 to receive control information sent from the controller.

【0013】次に本例の競争ゲーム装置全体の構成につ
いて図5のブロック図を参照しながら説明する。8はコ
ントローラであり、逐次のタイミングに台車4が向かう
べき目標位置および目標速度を指定する走行パターン情
報を定めるものである。7a、7bはそれぞれ赤外線発
光器、赤外線受光器であり、光通信部7を構成する。こ
れらにより、台車4、コントローラ8間で走行パターン
情報等の制御情報の送受信が行われる。
Next, the configuration of the entire competition game apparatus of this embodiment will be described with reference to the block diagram of FIG. Reference numeral 8 denotes a controller that determines travel pattern information that specifies a target position and a target speed to which the truck 4 should head at successive timings. Reference numerals 7a and 7b denote an infrared light emitter and an infrared light receiver, respectively, which constitute the optical communication unit 7. As a result, control information such as travel pattern information is transmitted and received between the carriage 4 and the controller 8.

【0014】また、図5において台車4については1つ
しか図示しないが、総て次のように構成される。4f、
4gはそれぞれ整流回路、電源回路である。整流回路4
fは7個の給電ピン4b〜4bに接続され、これらに流
れる電流を整流して電源回路4gに送り、電源回路4g
は台車4の各回路に電源を供給する。
Although only one truck 4 is shown in FIG. 5, all of them are configured as follows. 4f,
4g is a rectifier circuit and a power supply circuit, respectively. Rectifier circuit 4
f is connected to the seven power supply pins 4b to 4b, rectifies the current flowing therethrough and sends it to the power supply circuit 4g,
Supplies power to each circuit of the carriage 4.

【0015】4hは分圧回路であり、給電ピン4b〜4
bに接続され、これらそれぞれに印加される電圧を分圧
して出力する。分圧回路4hの出力は後述するワンチッ
プマイコンによって台車4の幅方向の位置測定に用いら
れる。ここで、給電ピン4b〜4bを用いた位置測定に
ついて図6を参照しながら簡単に述べる。給電ピン4b
〜4bは等間隔で配置され、また、台車4がコース1上
のどのような位置にあっても、これら給電ピン4b〜4
bの内少なくとも一つが+極の給電ライン6aまたは−
極の給電ライン6bと接触し、他のものは他の極の給電
ラインに接触するように構成してあり、給電ピン4b〜
4bの内+極の給電ライン6aに接触する給電ピン4b
〜4bを検出することにより、給電ピン4b〜4bが接
触する+極の給電ライン6aに対する台車4の位置を測
定する。また、本例では、台車4は給電ラインの何れか
をトレースしながら走行し、特定間隔でバーコードによ
りトレース中の給電ライン位置を検出しており、これと
給電ピン4b〜4bにより測定される値から、台車4の
幅方向の位置が測定される。なお、トレースする給電ラ
インを変更するような制御を行う場合は、バーコードを
読み取らなくても後述するワンチップマイコン4rの処
理により、次にトレースされる給電ラインに応じて幅方
向の位置が更新される。再び図5を参照しながら説明す
る。赤外線発光器4dは発光ダイオード4i〜4iより
なり、赤外線受光器4eはフォトトランジスタ4j〜4
jおよびこれらに流れる電流を増幅する増幅回路4kよ
りなる。
Reference numeral 4h denotes a voltage dividing circuit, and the power supply pins 4b to 4h
b, and divides the voltage applied to each of them to output. The output of the voltage dividing circuit 4h is used for measuring the position of the carriage 4 in the width direction by a one-chip microcomputer described later. Here, position measurement using the power supply pins 4b to 4b will be briefly described with reference to FIG. Power supply pin 4b
4b are arranged at equal intervals, and the power supply pins 4b to 4b
b, at least one of which is a positive power supply line 6a or-
The power supply pins 6b and 6b are configured so as to be in contact with the power supply line 6b of the pole and the other ones in contact with the power supply line of the other pole.
Power supply pin 4b contacting power supply line 6a of the positive pole of 4b
4b, the position of the carriage 4 with respect to the positive power supply line 6a with which the power supply pins 4b to 4b come into contact is measured. Further, in this example, the carriage 4 travels while tracing any of the power supply lines, detects the position of the power supply line being traced by a bar code at a specific interval, and is measured by the power supply pins 4b to 4b. From the value, the position of the carriage 4 in the width direction is measured. When performing control to change the power supply line to be traced, the position in the width direction is updated according to the power supply line to be traced next by the processing of the one-chip microcomputer 4r described below without reading the barcode. Is done. Description will be made again with reference to FIG. The infrared light emitter 4d includes light emitting diodes 4i to 4i, and the infrared light receiver 4e includes phototransistors 4j to 4j.
j and an amplifier circuit 4k for amplifying the current flowing therethrough.

【0016】4l、4mはそれぞれ左モータ、右モータ
であり、それぞれ左右の駆動輪4aを互いに独立して駆
動する。4n、4oはそれぞれ左モータ4l、右モータ
4mの駆動用の駆動回路である。4p、4qはそれぞれ
左モータ4l、右モータ4mの回転から台車4の移動距
離および速度を測定するためのロータリーエンコーダで
ある。すなわち、バーコードセンサ4cによる各区間の
位置の読み取りがない間、ロータリーエンコーダ4p、
4qにより実測される移動距離を台車4の位置とするの
である。また、給電ラインに幅方向に切れ目を設けると
ともにこれを読み取るセンサを設け、この切れ目を検出
したときには、ロータリーエンコーダで測定した距離方
向の位置を補正するようにしても良い。
Reference numerals 4l and 4m denote a left motor and a right motor, respectively, for driving the left and right driving wheels 4a independently of each other. 4n and 4o are driving circuits for driving the left motor 41 and the right motor 4m, respectively. 4p and 4q are rotary encoders for measuring the moving distance and speed of the carriage 4 from the rotation of the left motor 41 and the right motor 4m, respectively. That is, while the position of each section is not read by the barcode sensor 4c, the rotary encoder 4p,
The movement distance actually measured by 4q is set as the position of the carriage 4. Further, a cut may be provided in the power supply line in the width direction and a sensor for reading the cut may be provided. When the cut is detected, the position in the distance direction measured by the rotary encoder may be corrected.

【0017】4rはワンチップマイコンであり、台車4
の制御を司り、コントローラ8から送られた制御情報に
従った走行パターンにより台車4を走行させる。例え
ば、走行パターン情報は特定数の区間5a〜5a分を1
ブロックとして順次光通信部7から送信されており、こ
れらを受信すると図示しないメモリに記憶する。走行パ
ターン情報には時刻ごとの目標速度、コースの周回方向
の目標位置、幅方向の目標位置としてのトレースすべき
給電ラインおよびその変更の指示等が含まれる。図示し
ないが、ワンチップマイコン4rには時計が内蔵されて
おり、この内蔵時計はスタートによってリセットされ
る。ワンチップマイコン4rは、これら走行パターン情
報を内蔵時計により計時される所定のタイミングにて順
次読み出し、逐次、給電ピン4b〜4b、バーコードセ
ンサ4cにより測定された実測位置と目標位置との位置
偏差に基づいた操舵制御用の第1のPID制御と、ロー
タリーエンコーダ4p、4qにより実測された実測速度
および目標速度に基づいた速度制御用の第2のPID制
御とに基づいて左モータ4l、右モータ4mを駆動せし
め、必要に応じて加減速や給電ラインの乗り換えを行う
ものである。また、本例では、各PID制御において、
上記位置偏差と演算される比例成分、積分成分、微分成
分のそれぞれの制御ゲインを定める各パラメータを、台
車4の直線走行区間と、曲線走行区間とで異なるものと
してある。また、台車4の操舵と速度とについてそれぞ
れ第1、第2のPID制御を行うものであるから、ワン
チップマイコン4rはメモリに直線走行区間用の第1の
操舵制御用パラメータグループおよび第1の速度制御用
パラメータグループを記憶するとともに、曲線走行区間
用の第2の操舵制御用パラメータグループおよび第2の
速度制御用パラメータグループを記憶してある。また、
第1の操舵制御用パラメータグループおよび第1の速度
制御用パラメータは直線走行区間での目標速度に対して
最適な値に設定されており、第2の操舵制御用パラメー
タグループおよび第2の速度制御用パラメータは曲線走
行区間の曲率および当該区間での目標速度に対して最適
な値に設定されている。ここで、本例において用いられ
るパラメータグループの一例をあげる。目標速度を30
0mm/s、500mm/s、直線走行区間、曲線走行
区間(曲率:r=280mm)について、これらの組み
合わせに対応する操舵制御用パラメータグループ、速度
制御用パラメータグループを示すとそれぞれ図7の
(a)、(b)のテーブルに示すようになる。図7の
(a)、(b)において、GP、GI、GDはそれぞれ
比例成分、積分成分、微分成分の制御ゲインを決めるパ
ラメータであり、各値は16進数で示してある。なお、
これに限らず、曲率及び目標速度の異なる複数の走行区
間に対し、それに応じて操舵制御用パラメータグルー
プ、速度制御用パラメータグループのそれぞれについて
図7(d)に示すように複数のパラメータグループ1A
〜4Eからなるテーブルを設けてもよい。
Reference numeral 4r denotes a one-chip microcomputer;
, And causes the truck 4 to travel in a traveling pattern according to the control information sent from the controller 8. For example, the traveling pattern information indicates that a specific number of sections 5a to 5a
Blocks are sequentially transmitted from the optical communication unit 7, and when these are received, they are stored in a memory (not shown). The traveling pattern information includes a target speed for each time point, a target position in the circumferential direction of the course, a power supply line to be traced as a target position in the width direction, and an instruction to change the power supply line. Although not shown, the one-chip microcomputer 4r has a built-in clock, and this built-in clock is reset by start. The one-chip microcomputer 4r sequentially reads out the running pattern information at a predetermined timing measured by a built-in clock, and sequentially reads the positional deviation between the actually measured position and the target position measured by the power supply pins 4b to 4b and the barcode sensor 4c. The left motor 41 and the right motor based on the first PID control for steering control based on the speed control and the second PID control for speed control based on the actual speed measured by the rotary encoders 4p and 4q and the target speed. 4 m is driven, and acceleration / deceleration and switching of the power supply line are performed as necessary. In this example, in each PID control,
The parameters that determine the control gains of the proportional component, the integral component, and the differential component calculated from the position deviation are different between the straight traveling section of the bogie 4 and the curved traveling section. Further, since the first and second PID controls are performed for the steering and the speed of the bogie 4, respectively, the one-chip microcomputer 4r stores the first steering control parameter group for the straight running section and the first PID control in the memory. A speed control parameter group is stored, and a second steering control parameter group and a second speed control parameter group for a curved traveling section are stored. Also,
The first steering control parameter group and the first speed control parameter are set to optimal values with respect to the target speed in the straight running section, and the second steering control parameter group and the second speed control are set. The parameter for use is set to an optimum value for the curvature of the curved traveling section and the target speed in the section. Here, an example of a parameter group used in the present example will be described. Target speed of 30
FIG. 7A shows a steering control parameter group and a speed control parameter group corresponding to a combination of 0 mm / s, 500 mm / s, a straight running section, and a curved running section (curvature: r = 280 mm). ) And (b). In FIGS. 7A and 7B, GP, GI, and GD are parameters for determining control gains of a proportional component, an integral component, and a differential component, respectively, and each value is represented by a hexadecimal number. In addition,
However, the present invention is not limited to this. For a plurality of travel sections having different curvatures and target speeds, a plurality of parameter groups 1A for the steering control parameter group and the speed control parameter group as shown in FIG.
To 4E may be provided.

【0018】次に本例の動作について図8乃至図9に示
したフローチャートを参照しながら説明する。
Next, the operation of this embodiment will be described with reference to the flowcharts shown in FIGS.

【0019】まず、コントローラ8からの制御情報を送
信する。ここで、各台車4は、自分自身の走行パターン
情報を受信すると、これをワンチップマイコン4r内部
のメモリに記憶する。コントローラ8からスタートの信
号が出されると、初期化を行い、各台車4は走行を開始
する(ステップ8a)。
First, control information from the controller 8 is transmitted. Here, when each truck 4 receives its own traveling pattern information, it stores it in a memory inside the one-chip microcomputer 4r. When a start signal is output from the controller 8, initialization is performed, and each truck 4 starts running (step 8a).

【0020】走行開始とともに現在の実測速度、実測位
置の測定動作が図9のフローチャートに示すように行わ
れる。この割込処理は、ロータリーエンコーダ4p、4
qからパルスが発生する毎に行われる。まず、現在の割
込時刻と前回の割込時刻から台車4の速度が測定される
(ステップ9a)。次にバーコードセンサ4cにより、
バーコード読み取りが試みられる(ステップ9b)。こ
こでバーコード読み取りが行われれば(ステップ9
c)、バーコードが表す位置情報に基づいて現在の実測
位置を更新して割込処理を終了する(ステップ9b)。
ここで、周回方向の位置情報が読み取られれば、これに
より、ロータリーエンコーダ4p、4qの出力パルスを
カウントすることにより測定されている周回方向の実測
位置を更新し、各給電ラインを示す位置情報が読み取ら
れれば、幅方向の実測位置が更新される。また、バーコ
ードの読み取りがなければ、ロータリーエンコーダ4
p、4qの出力パルスをカウントして周回方向の実測位
置を更新し、割込処理を終了してメイン処理に戻る。
At the start of traveling, the operation of measuring the current measured speed and measured position is performed as shown in the flowchart of FIG. This interrupt processing is performed by the rotary encoders 4p, 4p
This is performed every time a pulse is generated from q. First, the speed of the bogie 4 is measured from the current interrupt time and the previous interrupt time (step 9a). Next, by the barcode sensor 4c,
An attempt is made to read a bar code (step 9b). If the barcode is read here (step 9
c), the current actual measurement position is updated based on the position information represented by the barcode, and the interruption processing ends (step 9b).
Here, if the position information in the circling direction is read, the measured position in the circulating direction measured by counting the output pulses of the rotary encoders 4p and 4q is updated, and the position information indicating each power supply line is updated. If read, the measured position in the width direction is updated. If no bar code is read, the rotary encoder 4
The output pulses of p and 4q are counted to update the actual measurement position in the circling direction, and the interrupt processing is ended and the processing returns to the main processing.

【0021】再び図8に戻り説明すると、次に給電ピン
4b〜4bによって給電ライン6aの位置をセンスし、
台車4の幅方向の実測位置を得る(ステップ8b)。次
に周回方向の実測位置(または目標位置)と、実測速度
(または目標速度)とに基づいて操舵制御用パラメータ
を設定する(ステップ8c)。例えば、ここで、直線走
行区間を走行しており、実測速度または目標速度が30
0mm/s近傍であれば、図7の(a)に示す操舵制御
用パラメータグループの内、パラメータグループ00A
(第1の操舵制御用パラメータグループ)が選択され、
パラメータGP、GI、GDはそれぞれ80、00、8
0に設定される。なお、走行区間が更新されるタイミン
グでは、目標位置または目標速度に応じてパラメータグ
ループが選択される。
Returning to FIG. 8, the position of the power supply line 6a is sensed by the power supply pins 4b to 4b.
An actual measurement position in the width direction of the carriage 4 is obtained (step 8b). Next, a steering control parameter is set based on the measured position (or target position) in the circling direction and the measured speed (or target speed) (step 8c). For example, here, the vehicle is traveling in a straight traveling section and the measured speed or the target speed is 30.
If it is near 0 mm / s, the parameter group 00A among the steering control parameter groups shown in FIG.
(First steering control parameter group) is selected,
The parameters GP, GI, GD are 80, 00, 8 respectively.
Set to 0. At the timing when the traveling section is updated, a parameter group is selected according to the target position or the target speed.

【0022】次に、幅方向の実測位置、目標位置および
選択された操舵制御用パラメータグループのパラメータ
GP、GI、GDを用いて操舵量に関する第1のPID
制御演算を行う(ステップ8d)。この第1のPID制
御演算について図10のフローチャートを参照しながら
説明する。
Next, the first PID relating to the steering amount is determined using the measured position in the width direction, the target position, and the parameters GP, GI and GD of the selected steering control parameter group.
A control calculation is performed (step 8d). The first PID control calculation will be described with reference to the flowchart of FIG.

【0023】まず、実測位置と目標位置の偏差を算出す
る(ステップ10a)。ここで、現在の台車4の幅方向
の実測位置をXmとし、現在メモリから読み出されてい
る幅方向の目標位置をXtとし、位置偏差をeとして、
e=Xm−Xtと位置偏差eを算出する。なお、目標位
置Xtは、所定のタイミングにてメモリから順次読み出
されるものである。次に比例成分を求める(ステップ1
0b)。比例成分をPとし、パラメータGPの値をGP
とすると、比例成分PはP=e×GPとして算出され
る。次に積分成分を算出する(ステップ10c)。ここ
で、まず、位置偏差の積算値をiとし、まず、積算値i
をi=i+eとして算出する。積算値iは次回以降の処
理により算出される位置偏差eに積算されてゆく値であ
り、ここで、前回処理により算出された積算値iがなけ
れば予め設定された初期値(ここでは0とする。)に位
置偏差eを加算する。次に積分成分をI、パラメータG
IをGIとすると、積分成分Iは、I=i×GPとして
算出される。次に微分成分を算出する(ステップ10
d)。まず、微分値をd、前回処理により算出さた位置
偏差をesとし、減衰係数をLdとし、微分値dをd=
e−es+(d/Ld)と算出する。この後、今回の位
置偏差eは次回処理のために位置偏差esとされる。ま
た、ここで減衰係数Ldにより除算される微分値dは前
回処理により算出された値であり、今回の処理により新
たに得られたものに更新される。今回の処理に要される
前回処理の偏差es、微分値dがなければ、予め設定さ
れた初期値(ここでは0とする。)が用いられる。次に
微分成分をD、パラメータGDをGDとすると、微分成
分Dは、D=d×GDと算出される。次に制御量を算出
する(ステップ10e)。制御量をPIDとすると、制
御量PIDを比例成分P、積分成分I、微分成分Dを用
いて、PID=P+I+Dと算出する。このように制御
量が算出されると操舵量に関する第1のPID制御演算
が終了し、図8の処理に復帰する。
First, a deviation between the actually measured position and the target position is calculated (step 10a). Here, the current measured position in the width direction of the carriage 4 is Xm, the target position in the width direction currently read from the memory is Xt, and the positional deviation is e.
Calculate e = Xm-Xt and position deviation e. Note that the target position Xt is sequentially read from the memory at a predetermined timing. Next, a proportional component is obtained (Step 1)
0b). The proportional component is P, and the value of the parameter GP is GP
Then, the proportional component P is calculated as P = e × GP. Next, an integral component is calculated (step 10c). Here, first, the integrated value of the position deviation is set to i, and first, the integrated value i
Is calculated as i = i + e. The integrated value i is a value that is integrated with the position deviation e calculated in the next and subsequent processes. Here, if there is no integrated value i calculated in the previous process, a preset initial value (here, 0 and 0) ) Is added to the position deviation e. Next, the integral component is represented by I and the parameter G
If I is GI, the integral component I is calculated as I = i × GP. Next, a differential component is calculated (step 10).
d). First, the differential value is d, the position deviation calculated by the previous process is es, the damping coefficient is Ld, and the differential value d is d =
e−es + (d / Ld) is calculated. Thereafter, the current position deviation e is set as a position deviation es for the next processing. The differential value d divided by the attenuation coefficient Ld is a value calculated by the previous process, and is updated to a value newly obtained by the current process. If there is no deviation es and differential value d of the previous process required for the current process, a preset initial value (here, 0) is used. Next, assuming that the differential component is D and the parameter GD is GD, the differential component D is calculated as D = d × GD. Next, a control amount is calculated (step 10e). Assuming that the control amount is PID, the control amount PID is calculated as PID = P + I + D using the proportional component P, the integral component I, and the differential component D. When the control amount is calculated in this manner, the first PID control calculation relating to the steering amount ends, and the process returns to the process of FIG.

【0024】次に制御量PIDを操舵量Tとし、(ステ
ップ8e)この操舵量Tにより、左右のモータ4l、4
mの回転により実現される目標速度を補正する。例え
ば、操舵量Tが正なら左モータ4lの目標速度を操舵量
に応じた所定量増加し、逆に右のモータ4mのものを減
少させるなどとしてある。次に周回方向の実測位置また
は目標位置と、実測速度または目標速度とに基づいて速
度制御用のパラメータを設定する(ステップ8f)。こ
こでは、上述のステップ8cの説明において、直線走行
区間を走行しており、実測速度または目標速度が300
mm/s近傍であるとしたので、図7の(b)に示す速
度制御用パラメータグループの内、パラメータグループ
10A(第1の速度制御用パラメータグループ)が選択
され、パラメータGP、GI、GDはそれぞれ10、0
2、00に設定される。次に速度に関する第2のPID
制御演算が左右のモータ4l、4mについてそれぞれ行
われる(ステップ8g)。ここでの第2のPID制御演
算の概要は、図10のフローチャートに示したものと同
様なものであり、xmを左右それぞれのロータリーエン
コーダ4p、4q等により測定された実測速度に置き換
え、xtを目標速度に置き換えれば、同じ処理となる。
これにより得られる制御量PIDが速度に対応する制御
量となる。次に左右のモータ4l、4mについて得られ
た速度に対応する制御量に応じてモータ4l、4mのモ
ータ電流が設定される(ステップ8h)。再びステップ
8に戻り以降の処理を繰り返す。
Next, the control amount PID is set as a steering amount T (step 8e).
The target speed realized by the rotation of m is corrected. For example, if the steering amount T is positive, the target speed of the left motor 41 is increased by a predetermined amount according to the steering amount, and conversely, the target speed of the right motor 4m is decreased. Next, parameters for speed control are set based on the measured position or target position in the rotation direction and the measured speed or target speed (step 8f). Here, in the description of step 8c above, the vehicle is traveling in a straight traveling section, and the measured speed or the target speed is 300
mm / s, the parameter group 10A (first speed control parameter group) is selected from the speed control parameter groups shown in FIG. 7B, and the parameters GP, GI, and GD are 10, 0 respectively
Set to 2.00. Then the second PID for speed
Control calculations are performed for the left and right motors 41 and 4m, respectively (step 8g). The outline of the second PID control calculation here is the same as that shown in the flow chart of FIG. 10, where xm is replaced with the actually measured speed measured by the right and left rotary encoders 4p, 4q, etc., and xt is replaced with xt. The same processing is performed if the target speed is replaced.
The control amount PID obtained thereby becomes a control amount corresponding to the speed. Next, the motor currents of the motors 4l and 4m are set according to the control amounts corresponding to the speeds obtained for the left and right motors 4l and 4m (step 8h). Returning to step 8, the subsequent processing is repeated.

【0025】以上の動作を繰り返すことにより、台車4
は、逐次指定される幅方向の目標位置により定まるライ
ンを目標速度でトレースする。その一例を示すと、例え
ば、図11に示すようになる。同図において、L0は走
行パターン情報の逐次の目標位置により定められるライ
ンであり、L1は本例の制御動作によって実際に台車4
が走行するラインである。区間s1は直線走行区間、s
2は曲線走行区間である。曲線走行区間の曲率は280
mmであり、台車4は直線走行区間s1、曲線走行区間
s2をともに目標速度300mm/sで走行するものと
してある。台車4が曲線走行区間s2に入ると、操舵制
御用パラメータグループ00A(第1の操舵制御用パラ
メータグループ)、速度制御用パラメータグループ10
A(第1の速度制御用パラメータグループ)がそれぞれ
操舵制御用パラメータグループ01A(第2の操舵制御
用パラメータグループ)、速度制御用パラメータグルー
プ11A(第2の速度制御用パラメータグループ)に切
り換えられる。これにより、走行速度、曲率に応じた制
御用パラメータを用いたPID制御が行われ、台車4は
ラインを正確にトレースする。比較のために従来の競争
ゲーム装置として上述したように、直線走行区間と曲線
走行区間とでパラメータの切り替えを行わない場合につ
いて示す。操舵制御用パラメータグループ00A、速度
制御用パラメータグループ10を直線走行区間s1と曲
線走行区間s2においてともに用いた場合では、図12
に示すように台車4の実際の走行ラインL2は曲線走行
区間においてラインL0をトレースできなくなってしま
う。また、直線走行区間および曲線走行区間ともに曲線
走行区間用の操舵制御用パラメータグループ01A、速
度制御用パラメータグループ11Aを用いた場合、図1
3に示すように台車4の走行ラインL3は直線走行区間
においてひどく蛇行してしまう。これらに対して、本例
では、直線走行区間、曲線走行区間において、それぞれ
最適化されたてパラメータグループを用いることによ
り、曲線走行区間においてはPID制御による台車4の
左右方向の速度を変化させる効果を、直線走行区間にお
けるPID制御による効果より大きくしてある。これに
より、直線走行区間での走行安定性を確保しながら、曲
線走行区間での目標ラインのトレース能力を十分なもの
としてある。
By repeating the above operation, the carriage 4
Traces a line determined by a sequentially specified target position in the width direction at a target speed. An example is shown in FIG. 11, for example. In the figure, L0 is a line determined by successive target positions of the traveling pattern information, and L1 is a line that is actually controlled by the control operation of this example.
Is a running line. Section s1 is a straight running section, s
2 is a curved traveling section. Curvature section curvature is 280
mm, and the carriage 4 travels at a target speed of 300 mm / s in both the straight traveling section s1 and the curved traveling section s2. When the bogie 4 enters the curved traveling section s2, the steering control parameter group 00A (first steering control parameter group) and the speed control parameter group 10
A (first speed control parameter group) is switched to a steering control parameter group 01A (second steering control parameter group) and a speed control parameter group 11A (second speed control parameter group), respectively. Thereby, PID control using the control parameters corresponding to the traveling speed and the curvature is performed, and the bogie 4 accurately traces the line. For comparison, a case in which parameters are not switched between a straight running section and a curved running section as described above as a conventional competitive game apparatus will be described. FIG. 12 shows a case where the steering control parameter group 00A and the speed control parameter group 10 are both used in the straight running section s1 and the curved running section s2.
As shown in the figure, the actual traveling line L2 of the truck 4 cannot trace the line L0 in the curved traveling section. When the steering control parameter group 01A and the speed control parameter group 11A for the curved traveling section are used for both the straight traveling section and the curved traveling section, FIG.
As shown in FIG. 3, the traveling line L3 of the bogie 4 meanders badly in a straight traveling section. On the other hand, in this example, in the straight running section and the curved running section, the optimized parameter groups are used, respectively, so that the speed of the bogie 4 in the left-right direction by the PID control is changed in the curved running section. Is greater than the effect of the PID control in the straight running section. Thereby, the tracing ability of the target line in the curved traveling section is sufficient while the traveling stability in the straight traveling section is ensured.

【0026】また、300mm/sで走行させるための
操舵制御用パラメータグループ00A、01A、速度制
御用パラメータグループ10A 11Aを用いて500
mm/sで走行させた場合、台車4の走行ラインは図1
4のL4に示すようになる。これに対して本例のように
500mm/s用に定められた操舵制御用パラメータグ
ループ00B、01B、速度制御用パラメータグループ
10B 11Bを用いて500mm/sで走行させた場
合、台車4の走行ラインは図15のL5に示すようにな
り、図14に示したものと比べてより正確にラインをト
レースできる。
Further, the steering control parameter groups 00A and 01A for traveling at 300 mm / s and the speed control parameter groups 10A and 11A are used for 500
When traveling at a speed of mm / s, the traveling line of the bogie 4 is shown in FIG.
4 as indicated by L4. On the other hand, when the vehicle is driven at 500 mm / s using the steering control parameter groups 00B and 01B and the speed control parameter groups 10B and 11B defined for 500 mm / s as in this example, the traveling line of the bogie 4 Becomes as shown by L5 in FIG. 15, and the line can be traced more accurately than that shown in FIG.

【0027】以上のように本例ではPID制御のパラメ
ータ、すなわち比例、積分、微分の各成分における制御
ゲインを、目標速度、走行している走行区間の曲率によ
って異なったものとしており、そのときの状況に応じて
テーブルを参照することにより最適な制御用パラメータ
を用いる。これにより、様々な状況においても適切に走
行制御が行われ、走行パターンに忠実な走行が可能にな
っている。
As described above, in the present embodiment, the parameters of the PID control, that is, the control gains of the proportional, integral, and differential components are different depending on the target speed and the curvature of the traveling section in which the vehicle is traveling. The optimum control parameters are used by referring to the table according to the situation. As a result, the traveling control is appropriately performed even in various situations, and the traveling faithful to the traveling pattern can be performed.

【0028】[0028]

【発明の効果】本発明によれば、各走行体の走行をPI
D制御により決定する。PID制御に用いられる制御用
パラメータ、すなわち比例、積分、微分の各成分におけ
る制御ゲインは、目標速度、曲線走行区間の曲率に応じ
て設けてあり、そのときの状況に応じて最適なものを用
いる。これにより、様々な状況においても適切に走行制
御が行われるので、所定の走行パターンに忠実な走行が
可能になっている。
According to the present invention, the running of each running body is determined by PI
Determined by D control. The control parameters used in the PID control, that is, the control gains in the proportional, integral, and derivative components are provided according to the target speed and the curvature of the curved traveling section, and the optimal one is used according to the situation at that time. . As a result, the traveling control is appropriately performed even in various situations, and the traveling faithful to the predetermined traveling pattern can be performed.

【0029】また、本発明の請求項4乃至6の発明によ
れば、操舵制御、速度制御をそれぞれ第1、第2のPI
D制御で行い、各走行体を所望のラインをトレースさせ
るようにしてある。このため、走行区間毎にトレースさ
せるラインおよび目標速度を適当に定め、これらを組み
合わせることにより、様々な走行パターンにて各走行体
を走行させるようにすれば、簡単な制御によっても様々
な走行パターンにて各走行体を走行させることが可能で
ある。しかも、第1、第2のPID制御は、そのときの
状況に応じて最適な制御用パラメータを用いるため、様
々な走行パターンに忠実に各走行体を走行させることが
できる。
According to the fourth to sixth aspects of the present invention, the steering control and the speed control are performed by the first and second PIs, respectively.
D control is performed so that each traveling body traces a desired line. For this reason, if a line to be traced and a target speed are appropriately determined for each traveling section, and these are combined to allow each traveling body to travel in various traveling patterns, various traveling patterns can be obtained by simple control. It is possible to make each traveling body travel. Moreover, in the first and second PID controls, the optimal control parameters are used according to the situation at that time, so that each traveling body can be made to travel faithfully in various traveling patterns.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施例の競争ゲーム装置の構成を説
明するための説明図。
FIG. 1 is an explanatory diagram illustrating a configuration of a competition game device according to one embodiment of the present invention.

【図2】図1の要部の構成を説明するための説明図。FIG. 2 is an explanatory diagram for explaining a configuration of a main part of FIG. 1;

【図3】図1の要部の構成を説明するための説明図。FIG. 3 is an explanatory diagram for explaining a configuration of a main part of FIG. 1;

【図4】図1の要部の構成を説明するための説明図。FIG. 4 is an explanatory diagram for explaining a configuration of a main part of FIG. 1;

【図5】本発明の一実施例の競争ゲーム装置の構成を説
明するためのブロック図。
FIG. 5 is a block diagram for explaining a configuration of a competition game device according to one embodiment of the present invention.

【図6】図1の要部の構成を説明するための説明図。FIG. 6 is an explanatory diagram for explaining a configuration of a main part of FIG. 1;

【図7】本発明の一実施例の競争ゲーム装置の制御用パ
ラメータグループを説明するための説明図。
FIG. 7 is an explanatory diagram illustrating a control parameter group of the competition game device according to one embodiment of the present invention.

【図8】本発明の一実施例の競争ゲーム装置の動作説明
のためのフローチャート。
FIG. 8 is a flowchart for explaining the operation of the competition game apparatus according to one embodiment of the present invention.

【図9】本発明の一実施例の競争ゲーム装置の動作説明
のためのフローチャート。
FIG. 9 is a flowchart for explaining the operation of the competition game apparatus according to one embodiment of the present invention.

【図10】本発明の一実施例の競争ゲーム装置の動作説
明のためのフローチャート。
FIG. 10 is a flowchart for explaining the operation of the competition game apparatus according to one embodiment of the present invention.

【図11】本発明の一実施例の競争ゲーム装置の動作説
明のための説明図。
FIG. 11 is an explanatory diagram for explaining an operation of the competition game apparatus according to one embodiment of the present invention.

【図12】本発明の一実施例の競争ゲーム装置の動作説
明のための説明図。
FIG. 12 is an explanatory diagram for explaining the operation of the competition game apparatus according to one embodiment of the present invention.

【図13】本発明の一実施例の競争ゲーム装置の動作説
明のための説明図。
FIG. 13 is an explanatory diagram for explaining an operation of the competition game apparatus according to one embodiment of the present invention.

【図14】本発明の一実施例の競争ゲーム装置の動作説
明のための説明図。
FIG. 14 is an explanatory diagram for explaining an operation of the competition game device according to one embodiment of the present invention;

【図15】本発明の一実施例の競争ゲーム装置の動作説
明のための説明図。
FIG. 15 is an explanatory diagram for explaining an operation of the competition game device according to one embodiment of the present invention.

【符号の説明】[Explanation of symbols]

4 台車(走行体) 6a、6b 給電ライン(パターン) 4b 給電ピン(読取り手段) 4c バーコードセンサ(読取り手段) 00A、00B 第1の操舵制御用パラメータグループ
(第1の制御用パラメータグループ) 10A、10B 第1の速度制御用パラメータグループ
(第1の制御用パラメータグループ) 01A、01B 第2の操舵制御用パラメータグループ
(第2の制御用パラメータグループ) 11A、11B 第2の速度制御用パラメータグループ
(第2の制御用パラメータグループ)
4 Bogie (traveling body) 6a, 6b Power supply line (pattern) 4b Power supply pin (reading means) 4c Barcode sensor (reading means) 00A, 00B First steering control parameter group (first control parameter group) 10A , 10B First speed control parameter group (first control parameter group) 01A, 01B Second steering control parameter group (second control parameter group) 11A, 11B Second speed control parameter group (Second control parameter group)

───────────────────────────────────────────────────── フロントページの続き (72)発明者 徳増 洋一 千葉県習志野市茜浜一丁目1番1号 セイ コープレシジョン株式会社内 ────────────────────────────────────────────────── ─── Continued on the front page (72) Inventor Yoichi Tokumasu 1-1-1 Akanehama, Narashino-shi, Chiba Seiko Precision Co., Ltd.

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 複数の走行体がレース動作を行う競争ゲ
ーム装置において、 上記走行体の位置情報を与えるための複数のパターンを
有し、 上記走行体はそれぞれ、上記パターンから上記位置情報
を読みとる読取り手段を備え、予め定められた走行パタ
ーン情報により定まる逐次の目標位置および目標速度と
上記読取り手段により読み取られた実測位置および実測
速度との位置偏差および速度偏差を測定し、これら位置
偏差、速度偏差と制御用パラメータを用いたPID制御
によって逐次上記目標速度にて上記目標位置に向かって
走行するように制御されるものであり、 上記PID制御において、上記走行体の直線走行区間で
は、第1の制御用パラメータグループを用い、上記走行
体の曲線走行区間では当該区間の曲率に応じて定められ
た第2の制御用パラメータグループを用いることを特徴
とする競争ゲーム装置。
1. A competition game device in which a plurality of running bodies perform a racing motion, the plurality of running bodies have a plurality of patterns for giving position information of the running bodies, and each of the running bodies reads the position information from the patterns. A reading unit for measuring a position deviation and a speed deviation between a sequential target position and a target speed determined by predetermined traveling pattern information and an actual measurement position and an actual measurement speed read by the reading unit; PID control using a deviation and a control parameter is controlled so as to sequentially travel toward the target position at the target speed. In the PID control, the first travel is performed in a straight traveling section of the traveling body. In the curved traveling section of the traveling body, a second control parameter group determined in accordance with the curvature of the section is used. A competitive game apparatus characterized by using the control parameter group of (1).
【請求項2】 上記第2の制御用パラメータグループを
用いたPID制御による上記走行体の左右方向の速度を
変化させる効果は上記第1の制御用パラメータグループ
を用いたPID制御による効果より大きいことを特徴と
する請求項1記載の競争ゲーム装置。
2. The effect of changing the speed of the traveling body in the left-right direction by the PID control using the second control parameter group is greater than the effect by the PID control using the first control parameter group. The competition game device according to claim 1, wherein:
【請求項3】 上記直線走行区間では、当該区間での目
標速度に対応して定められた第1の制御用パラメータグ
ループを用いるPID制御を行い、上記曲線走行区間で
は当該区間の曲率および上記目標速度に対応して定めら
れた第2の制御用パラメータグループを用いるPID制
御を行うことを特徴とする請求項1記載の競争ゲーム装
置。
3. In the straight running section, PID control is performed using a first control parameter group defined in correspondence with a target speed in the section, and in the curved running section, the curvature of the section and the target The competitive game device according to claim 1, wherein PID control is performed using a second control parameter group determined according to the speed.
【請求項4】 複数の走行体がレース動作を行う競争ゲ
ーム装置において、 上記走行体に位置情報を与えるための複数のパターンを
有し、 上記走行体はそれぞれ、上記パターンから上記位置情報
を読みとる読取り手段を備え、予め定められた走行パタ
ーン情報により定まる逐次の目標位置と上記読取り手段
により読み取られた実測位置との偏差を測定し、この位
置偏差と演算される比例成分、積分成分、微分成分のそ
れぞれの制御ゲインを定める各パラメータよりなる操舵
制御用パラメータグループを用いた第1のPID制御に
より、操舵量を決定し、この操舵量にて決まる目標速度
と上記実測位置から算出された実測速度との偏差と、こ
の速度偏差と演算される比例成分、積分成分、微分成分
のそれぞれのゲインを定める各パラメータよりなる速度
制御用パラメータグループを用いた第2のPID制御に
より定まる速度により走行するものであり、 上記第1、第2のPID制御において、上記走行体の直
線走行区間では、第1の操舵制御用パラメータグループ
および第1の速度制御用パラメータグループを用い、上
記走行体の曲線走行区間では当該区間の曲率に応じて定
められた第2の操舵制御用パラメータグループおよび第
2の速度制御用パラメータグループを用いることを特徴
とする競争ゲーム装置。
4. A competition game device in which a plurality of running bodies perform a racing operation, the plurality of running bodies have a plurality of patterns for giving position information to the running bodies, and each of the running bodies reads the position information from the patterns. A reading means for measuring a deviation between a successive target position determined by predetermined traveling pattern information and an actual measurement position read by the reading means, and calculating a proportional component, an integral component, and a differential component calculated from the position deviation; The steering amount is determined by the first PID control using a steering control parameter group including parameters that determine the respective control gains, and the target speed determined by the steering amount and the actual measurement speed calculated from the actual measurement position are determined. And the parameters that determine the respective gains of the proportional, integral, and differential components calculated with this speed deviation The vehicle travels at a speed determined by the second PID control using the speed control parameter group. In the first and second PID controls, the first steering control Using a parameter group and a first speed control parameter group, a second steering control parameter group and a second speed control parameter group defined according to the curvature of the curved section of the traveling body are defined. A competitive game device characterized by being used.
【請求項5】 上記第2の操舵制御用パラメータグルー
プおよび第2の速度制御用パラメータグループを用いた
第1、第2のPID制御による上記走行体の左右方向の
速度を変化させる効果は上記第1の操舵制御用パラメー
タグループおよび第1の速度制御用パラメータグループ
を用いた第1、第2のPID制御による効果より大きい
ことを特徴とする請求項4記載の競争ゲーム装置。
5. The effect of changing the speed in the left-right direction of the traveling body by the first and second PID controls using the second steering control parameter group and the second speed control parameter group. 5. The competitive game apparatus according to claim 4, wherein the effect is greater than the effects of the first and second PID controls using the first steering control parameter group and the first speed control parameter group.
【請求項6】 上記直線区間では、当該区間での目標速
度に対応して定められた第1の操舵制御用パラメータグ
ループおよび第1の速度制御用パラメータグループを用
いる第1、第2のPID制御を行い、上記曲線区間では
当該区間の曲率および上記目標速度に対応して定められ
た第2の操舵制御用パラメータグループおよび第2の速
度制御用パラメータグループを用いる第1、第2のPI
D制御を行うことを特徴とする請求項4記載の競争ゲー
ム装置。
6. A first and a second PID control using a first steering control parameter group and a first speed control parameter group defined corresponding to a target speed in the straight section. And in the curved section, first and second PIs using a second steering control parameter group and a second speed control parameter group defined according to the curvature of the section and the target speed.
The competitive game device according to claim 4, wherein D control is performed.
JP5091198A 1998-03-03 1998-03-03 Race game device Withdrawn JPH11244512A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5091198A JPH11244512A (en) 1998-03-03 1998-03-03 Race game device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5091198A JPH11244512A (en) 1998-03-03 1998-03-03 Race game device

Publications (1)

Publication Number Publication Date
JPH11244512A true JPH11244512A (en) 1999-09-14

Family

ID=12871975

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5091198A Withdrawn JPH11244512A (en) 1998-03-03 1998-03-03 Race game device

Country Status (1)

Country Link
JP (1) JPH11244512A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100495600B1 (en) * 2001-04-02 2005-06-16 고나미 가부시키가이샤 Racing Game Machine

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100495600B1 (en) * 2001-04-02 2005-06-16 고나미 가부시키가이샤 Racing Game Machine

Similar Documents

Publication Publication Date Title
JPH04333902A (en) Automatic running cleaning system of cleaner
KR100495600B1 (en) Racing Game Machine
JPH11244512A (en) Race game device
US6575366B2 (en) Game machine using self-propelled member
JP4528113B2 (en) Traveling toy
CA1323084C (en) Method of controlling operation of automated guided vehicle
EP0821091A3 (en) Method and apparatus for controlling motors of knitting machine
JP3733642B2 (en) Vehicle control device
JP3276096B2 (en) Automatic guided vehicle control device
JPH10232712A (en) Traveling lane and traveling device including the same
JPH08206355A (en) Position detecting device for moving body
JP3349831B2 (en) Automatic guided vehicle control device
JPH11244510A (en) Travel control device of traveling body
JP3946856B2 (en) Competitive game equipment
JPH11244524A (en) Racing game device
JP2965035B2 (en) Competitive game device and control method therefor
JP2861978B2 (en) Competitive game device and control method therefor
JPH11244518A (en) Traveling body control device
JPH08821A (en) Game controller
KR100310363B1 (en) Position inspecting apparatus for agv(automated guided vehicle) and method thereof
JP3682955B2 (en) Self-propelled racing game device
JP2634067B2 (en) Competitive play equipment
JP3722714B2 (en) Self-propelled racing game device
JP3696113B2 (en) Self-propelled racing game device
JP3084412B2 (en) Competitive game device and control method therefor

Legal Events

Date Code Title Description
A621 Written request for application examination

Effective date: 20050223

Free format text: JAPANESE INTERMEDIATE CODE: A621

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20050223

A711 Notification of change in applicant

Effective date: 20050303

Free format text: JAPANESE INTERMEDIATE CODE: A711

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20080425