JPH06236212A - Travelling controller for self-travelling carriage - Google Patents

Travelling controller for self-travelling carriage

Info

Publication number
JPH06236212A
JPH06236212A JP5021138A JP2113893A JPH06236212A JP H06236212 A JPH06236212 A JP H06236212A JP 5021138 A JP5021138 A JP 5021138A JP 2113893 A JP2113893 A JP 2113893A JP H06236212 A JPH06236212 A JP H06236212A
Authority
JP
Japan
Prior art keywords
gyro
control device
signal
carriage
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.)
Pending
Application number
JP5021138A
Other languages
Japanese (ja)
Inventor
Hajime Aoyama
山 元 青
Shigeki Tajima
島 茂 樹 田
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.)
Subaru Corp
Original Assignee
Fuji Heavy Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Heavy Industries Ltd filed Critical Fuji Heavy Industries Ltd
Priority to JP5021138A priority Critical patent/JPH06236212A/en
Publication of JPH06236212A publication Critical patent/JPH06236212A/en
Pending legal-status Critical Current

Links

Landscapes

  • Steering Controls (AREA)
  • Platform Screen Doors And Railroad Systems (AREA)
  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
  • Gyroscopes (AREA)

Abstract

PURPOSE:To control the travelling of a carriage for a long term with high accuracy only by using a gyro device without requiring any complicated and expensive device such as a constant temperature device or an interlock device. CONSTITUTION:This device is provided with motors 15 and 25 for driving a pair of driving wheels, velocity encoders 14 and 24 for detecting the revolving velocity of the respective driving wheels, gyro 18 for detecting a displacement angle in a reference direction, and main and sub controllers 31 and 33 for controlling the motors 15 and 25 so as to advance the carriage in the reference direction based on the detected revolving velocity and displacement angle, and the main controller 31 is provided with an interruption generating means for generating interruption when the advancing direction of the carriage is almost same as the advancing direction at the time of travelling start after the lapse of fixed time just while normal processing is performed, means for stopping the drive of the motors for prescribed time when the interruption is generated, and means for performing sampling by applying a sampling instruction to the gyro 18 while stopping the travelling of the carriage and for performing normal processing again after a displacement angle signal outputted from the gyro 18 is corrected.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は自走台車の走行制御装置
に係わり、特に床面を清掃するロボット等の無人で走行
する台車を制御する装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a traveling control device for a self-propelled vehicle, and more particularly to a device for controlling an unmanned traveling vehicle such as a robot for cleaning a floor surface.

【0002】[0002]

【従来の技術】自走台車の走行制御には、ジャイロが用
いられる場合が多い。しかし、ジャイロは動作時間の経
過とともにジャイロ自体が持つドリフトや、信号処理回
路に含まれる積分器等のドリフトによって変位角度信号
の誤差が増大していく。
2. Description of the Related Art A gyro is often used for traveling control of a self-propelled carriage. However, the error of the displacement angle signal increases due to the drift of the gyro itself and the drift of the integrator included in the signal processing circuit as the operation time elapses.

【0003】そこで、従来は電源投入時にジャイロ装置
の信号の変化率を一定時間計測し、修正のために用いる
サンプリングデータとして記憶していた。そして、ジャ
イロの動作時間に合わせて、ジャイロ装置の信号をサン
プリングデータにより修正し走行制御に用いていた。こ
のような装置には、特開昭62−221708号公報に
開示されたものがある。このようなサンプリングデータ
の収集は、電源を投入した時に1回だけ行っていた。
Therefore, conventionally, when the power is turned on, the rate of change of the signal of the gyro device is measured for a certain period of time and stored as sampling data used for correction. Then, the signal of the gyro device is corrected by sampling data in accordance with the operation time of the gyro and used for traveling control. One such device is disclosed in Japanese Patent Laid-Open No. 62-221708. Such sampling data was collected only once when the power was turned on.

【0004】しかし、このような制御では長時間に渡っ
て高精度で制御することは困難である。図9に示された
ように、ジャイロ自体又は積分器等のドリフト等によっ
て誤差が時間の経過と共に増大していき、走行開始時の
基準角度から大幅にずれていく。一般的には、走行開始
から約10分間以上経過すると基準角度からのずれが顕
著なものとなる。この結果、ジャイロが出力する信号が
線形性を確保できなくなり、サンプリングを行っても信
号に修正を加えることができなくなる。
However, with such control, it is difficult to control with high accuracy for a long time. As shown in FIG. 9, the error increases with the passage of time due to the drift of the gyro itself or the integrator, etc., and the deviation greatly deviates from the reference angle at the start of traveling. Generally, the deviation from the reference angle becomes remarkable after about 10 minutes have passed from the start of running. As a result, it becomes impossible to ensure the linearity of the signal output from the gyro, and it becomes impossible to correct the signal even if sampling is performed.

【0005】また、従来はジャイロ装置のドリフトを抑
制するために、ジャイロ装置を恒温状態に保持する装置
を設けていた。さらに、ジャイロ装置の出力レベルが、
ジャイロ装置が正常に動作しているときの規定値である
か否かを検出し、出力レベルが規定値でないことが検出
された場合には自走台車の走行を停止するインターロッ
ク装置を設けていた。ところが、ジャイロ装置を恒温状
態に保持する装置やインターロック装置は複雑かつ高価
であり、装置全体の製造コストを増大させる原因となっ
ていた。
Further, conventionally, in order to suppress drift of the gyro device, a device for holding the gyro device in a constant temperature state has been provided. Furthermore, the output level of the gyro device is
An interlock device is provided to detect whether the gyro device is within the specified value when it is operating normally and to stop the traveling of the self-propelled vehicle when the output level is detected not to be the specified value. It was However, the device for holding the gyro device in a constant temperature state and the interlock device are complicated and expensive, which has been a cause of increasing the manufacturing cost of the entire device.

【0006】[0006]

【発明が解決しようとする課題】以上のように、従来の
走行制御装置にはジャイロ装置のドリフトにより長時間
に及ぶ正確な制御が困難であり、さらにジャイロ装置を
恒温に保つ装置が必要でコストの増大を招いていた。
As described above, it is difficult for the conventional traveling control device to perform accurate control for a long time due to the drift of the gyro device, and further, a device for keeping the gyro device at a constant temperature is required, which results in cost reduction. Was increasing.

【0007】本発明は上記事情に鑑みて成されたもの
で、恒温装置やインターロック装置のような複雑で高価
な装置を必要とせず、ジャイロ装置のみを用いて長時間
台車の走行を高精度で制御することが可能な自走台車の
走行制御装置を提供することを目的とする。
The present invention has been made in view of the above circumstances, and does not require a complicated and expensive device such as a thermostatic device or an interlock device, and can accurately drive a trolley for a long time using only a gyro device. It is an object of the present invention to provide a traveling control device for a self-propelled carriage that can be controlled by the.

【0008】[0008]

【課題を解決するための手段】本発明の自走台車の走行
制御装置は、同一軸上に配置された一対の駆動輪と、前
記駆動輪を駆動するモータと、前記駆動輪に連結され、
各々の回転速度を検出して速度フィードバック信号を出
力する速度エンコーダと、基準方向に対する変位角速度
を検出し、変位角速度信号を出力するジャイロ装置と、
前記変位角速度信号を与えられ、所定の方向を走行する
ように速度指令信号を出力する制御装置と、前記速度フ
ィードバック信号と前記速度指令信号とを与えられ、前
記速度指令信号に基づいて前記モータのフィードバック
制御を行うモータ制御装置とを備え、前記制御装置は、
前記速度指令信号を出力するための通常の処理を行って
いる最中に、一定時間が経過し、かつ台車の進行方向が
前記基準方向とほぼ同じである場合に、割込を発生させ
る割込発生手段と、前記割込発生手段が割込を発生させ
た場合、前記モータ制御装置に前記モータの駆動を所定
時間停止させる手段と、前記モータの駆動が停止してい
る間、前記ジャイロ装置にサンプリング命令を与えてサ
ンプリングを行わせ、前記ジャイロ装置が出力する前記
変位角度信号を修正させた後、前記通常の処理を再び行
わせる手段とを有することを特徴としている。
A traveling control device for a self-propelled carriage according to the present invention is a pair of drive wheels arranged on the same axis, a motor for driving the drive wheels, and a drive wheel connected to the drive wheels.
A speed encoder that detects each rotation speed and outputs a speed feedback signal, a gyro device that detects a displacement angular speed with respect to a reference direction, and outputs a displacement angular speed signal,
A controller that receives the displacement angular velocity signal and outputs a velocity command signal so as to travel in a predetermined direction, the velocity feedback signal and the velocity command signal, and based on the velocity command signal the motor And a motor control device for performing feedback control, the control device,
An interrupt that generates an interrupt when a certain time has elapsed during the normal processing for outputting the speed command signal and the traveling direction of the carriage is substantially the same as the reference direction. Generating means and means for causing the motor control device to stop driving of the motor for a predetermined time when the interrupt generating means generates an interrupt, and the gyro device while the driving of the motor is stopped. It is characterized by further comprising means for giving a sampling command to perform sampling, correcting the displacement angle signal output from the gyro device, and then performing the normal process again.

【0009】[0009]

【作用】走行制御のために必要な通常の処理を制御装置
が行っているとき、時間の経過と共にジャイロ等の持つ
ドリフトにより次第に変位角度信号に含まれる誤差が増
大していく。そこで、一定時間が経過し、かつ進行方向
が走行開始時の方向にほぼ一致しており変位に対する変
位角度信号の安定が大きい状態にあるとき、通常の処理
に割込を発生させ、台車の走行を停止させている間、ジ
ャイロにサンプリングを行わせて変位角度信号に修正を
加えることで、恒温装置等の高価な装置を必要とせず
に、長時間に渡って高い精度で走行を制御することがで
きる。
When the control device performs the normal processing required for traveling control, the error contained in the displacement angle signal gradually increases due to the drift of the gyroscope or the like with the passage of time. Therefore, when a certain period of time has passed and the traveling direction is almost the same as the direction at the start of traveling and the stability of the displacement angle signal with respect to the displacement is large, an interrupt is generated in normal processing to drive the truck. By controlling the displacement angle signal by causing the gyro to perform sampling while it is stopped, it is possible to control traveling with high accuracy for a long time without the need for expensive equipment such as a thermostatic device. You can

【0010】[0010]

【実施例】以下、本発明の一実施例による自走台車の走
行制御装置について図面を参照して説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A travel control system for a self-propelled carriage according to an embodiment of the present invention will be described below with reference to the drawings.

【0011】本実施例では、台車の走行を制御するため
に通常行うメインルーチンの処理を行っている最中に、
タイマ割込機能を用いて割込がかかるようにしている。
割込がかかると、台車が一旦停止してジャイロがサンプ
リングを行い、変位角速度信号に修正を加える処理を行
う。
In the present embodiment, during the processing of the main routine that is normally executed to control the traveling of the bogie,
An interrupt is made using the timer interrupt function.
When an interrupt occurs, the dolly temporarily stops, the gyro performs sampling, and processing for correcting the displacement angular velocity signal is performed.

【0012】ここで、割込は次のような2つの条件が成
立したときに発生する。
Here, the interrupt occurs when the following two conditions are satisfied.

【0013】(1) 所定の時間が経過した時。(1) When a predetermined time has elapsed.

【0014】(2) 台車の進行方向が走行開始時点の方向
に一致した時。
(2) When the traveling direction of the dolly coincides with the direction at the start of traveling.

【0015】ここで、(1) の条件として本実施例では1
0分間経過時としている。図9を用いて上述したよう
に、走行開始時から時間の経過と共に、ジャイロや積分
器等の持つドリフト等により基準方向からずれた角度が
増大していく。このずれは、約10分間経過後から大幅
に増大していくので、10分間経過後であることを一つ
の条件とする。
In this embodiment, the condition (1) is 1
0 minutes have passed. As described above with reference to FIG. 9, the angle deviated from the reference direction increases with the passage of time from the start of travel due to the drift of the gyro, the integrator, and the like. This deviation increases significantly after about 10 minutes have passed, so one condition is that it has passed 10 minutes.

【0016】(2) の条件は、次のような理由に基づいて
いる。走行開始時点の基準走行方向からずれた角度が0
度の場合が最も安定しており、他の角度ではわずかな角
度の差が大きなデータの相違となる。そこで、本実施例
では台車の進行方向が走行開始時点の基準方向に一致し
た時という条件を設けている。
The condition (2) is based on the following reason. The angle deviated from the reference traveling direction at the start of traveling is 0
The degree is most stable, and at other angles, a slight difference in angle is a large difference in data. Therefore, in the present embodiment, a condition is set that the traveling direction of the bogie coincides with the reference direction at the time of starting traveling.

【0017】このような二つの条件が成立した場合にの
みフラグが立つようにしており、このフラグを確認した
後、ジャイロへサンプリング命令を出力するように構成
している。
A flag is set only when these two conditions are satisfied, and after confirming this flag, a sampling command is output to the gyro.

【0018】本実施例による走行制御装置の構成を図1
に示し、この装置を自走台車に搭載した状態を図2に示
す。
FIG. 1 shows the configuration of the travel control device according to this embodiment.
Fig. 2 shows a state in which this device is mounted on a self-propelled carriage.

【0019】矢印A方向に自走する自走台車11の左右
に左車輪16および右車輪26が配置され、それぞれ左
駆動モータ15および右駆動モータ25とで駆動され
る。この左駆動モータ15および右駆動モータ25の動
作は、モータ制御装置32により制御される。
A left wheel 16 and a right wheel 26 are disposed on the left and right of the self-propelled carriage 11 that travels in the direction of arrow A, and are driven by a left drive motor 15 and a right drive motor 25, respectively. The operations of the left drive motor 15 and the right drive motor 25 are controlled by the motor control device 32.

【0020】ジャイロ18は、台車の基準進行方向に対
する変位角速度を検出し変位角速度信号を出力する。ジ
ャイロ18から出力された変位角速度信号は積分器17
で積分され、変位角度信号として主制御装置31に与え
られる。
The gyro 18 detects the displacement angular velocity of the carriage with respect to the reference traveling direction and outputs a displacement angular velocity signal. The displacement angular velocity signal output from the gyro 18 is the integrator 17
Are integrated and given to the main controller 31 as a displacement angle signal.

【0021】主制御装置31は、積分器17から変位角
度信号を与えられ、予め設定された基準方向を台車が走
行するように速度指令信号を出力する。
The main controller 31 receives a displacement angle signal from the integrator 17, and outputs a speed command signal so that the carriage travels in a preset reference direction.

【0022】主制御装置31から出力された速度指令信
号は、上述したモータ制御装置32に与えられる。モー
タ制御装置は、副制御装置33とドライバ13及び23
とを有しており、速度指令信号を与えられた副制御装置
33がこの信号に基づいてドライバ13及び23を制御
する。ドライバ13及び23は、副制御装置33の制御
と、エンコーダ14及び24で検出されたそれぞれのモ
ータ15及び25の回転角速度とに基づいて、モータ1
5及び25を制御する。
The speed command signal output from the main controller 31 is given to the motor controller 32 described above. The motor control device includes a sub control device 33 and drivers 13 and 23.
The sub-control device 33, which is provided with the speed command signal, controls the drivers 13 and 23 based on this signal. The drivers 13 and 23 are based on the control of the sub control device 33 and the rotational angular velocities of the motors 15 and 25 detected by the encoders 14 and 24, respectively.
Control 5 and 25.

【0023】図8に示されたように、自走台車11が路
面の凹凸や車輪16および26の滑り等によって、矢印
Aで示された基準方向と角度θだけずれたとする。この
場合、このずれた角度θの時間的な変化である角速度が
ジャイロ18により検出され、モータ15及び25の回
転をそれぞれ制御して矢印Cの方向に台車を旋回させる
ことで走行方向を修正する。具体的には、矢印VLで示
された左車輪16の回転速度と、矢印VRで示された右
車輪26の回転速度とを変えることで、矢印Cの方向に
自走台車11を旋回させることができる。
As shown in FIG. 8, it is assumed that the self-propelled carriage 11 deviates from the reference direction indicated by the arrow A by an angle θ due to unevenness of the road surface, slippage of the wheels 16 and 26, or the like. In this case, the angular velocity, which is a temporal change of the deviated angle θ, is detected by the gyro 18, and the traveling direction is corrected by controlling the rotation of the motors 15 and 25 and turning the carriage in the direction of arrow C. . Specifically, the self-propelled carriage 11 is turned in the direction of arrow C by changing the rotation speed of the left wheel 16 shown by the arrow VL and the rotation speed of the right wheel 26 shown by the arrow VR. You can

【0024】主制御装置31は、図3に示されたよう
に、演算及び各種ルーチンの処理を行うCPU41と、
このCPU41の入出力端子に接続されデータを保持す
るROM42およびRAM43と、CPU41の入出力
端子に接続されたタイマ割込部40とを有している。
As shown in FIG. 3, the main control unit 31 includes a CPU 41 for performing calculations and various routines,
It has a ROM 42 and a RAM 43 which are connected to the input / output terminals of the CPU 41 and hold data, and a timer interrupt section 40 which is connected to the input / output terminals of the CPU 41.

【0025】タイマ割込部40は、CPU41の入出力
端子に接続された割込回路44、時間定数回路46、お
よびカウンタ45を有している。時間定数回路46は、
タイマ時間を設定するもので、カウンタ45はこの時間
定数回路46に設定されたタイマカウントデータTIM
E10Dを与えられ1つずつ減算することで時間の計測
を行う。カウンタ45は、カウント値が0になると割込
回路44に信号を出力し、割込回路44はこの信号を与
えられるとCPU41に割込処理を行わせる。
The timer interrupt section 40 has an interrupt circuit 44, a time constant circuit 46, and a counter 45 which are connected to the input / output terminals of the CPU 41. The time constant circuit 46 is
The timer time is set, and the counter 45 sets the timer count data TIM set in the time constant circuit 46.
E10D is given and the time is measured by subtracting one by one. The counter 45 outputs a signal to the interrupt circuit 44 when the count value becomes 0, and the interrupt circuit 44 causes the CPU 41 to perform an interrupt process when this signal is given.

【0026】次に、本実施例による走行制御装置の制御
動作について説明する。
Next, the control operation of the traveling control device according to this embodiment will be described.

【0027】図4に、CPU41が走行中に通常行うメ
インルーチン処理101及び103と、上述したタイマ
割込処理102及び104との関係を示す。CPU41
がメインルーチン処理101を行っている最中に一定時
間が経過すると、主制御装置31の割込回路44からの
出力によってタイマ割込処理102を行い、その後メイ
ンルーチン処理103に戻り、一定時間が経過すると再
びタイマ処理104を行う。このように、CPU41は
メインルーチン処理を行っている最中に、一定時間が経
過する毎にタイマ割込処理を行う。
FIG. 4 shows the relationship between the main routine processes 101 and 103 normally executed by the CPU 41 during traveling and the above-mentioned timer interrupt processes 102 and 104. CPU41
When a certain time elapses while performing the main routine processing 101, the timer interrupt processing 102 is performed by the output from the interrupt circuit 44 of the main control device 31, and then the main routine processing 103 is returned to and the certain time is returned. When the time has passed, the timer processing 104 is performed again. As described above, the CPU 41 performs the timer interrupt process every time a fixed time elapses during the main routine process.

【0028】次に、メインルーチン処理中にタイマ割込
処理が行われ、サンプリング処理をジャイロ18に行わ
せるためのサンプリングフラグの作用を図5に示す。メ
インルーチンの処理中に、ステップ201においてサン
プリングフラグSAMPFの値が1Hか否かを判断す
る。このフラグSAMPFの値が1Hでない場合はメイ
ンルーチンの処理を続行し、1の場合はステップ202
へ移行する。サンプリング命令をジャイロ18へ出力
し、サンプリングフラグ処理を行わせた後、サンプリン
グフラグSAMPF1の値を0Hにしてメインルーチン
の処理を再開する。
Next, a timer interrupt process is performed during the main routine process, and the operation of the sampling flag for causing the gyro 18 to perform the sampling process is shown in FIG. During the processing of the main routine, it is determined in step 201 whether the value of the sampling flag SAMPF is 1H. If the value of this flag SAMPF is not 1H, the processing of the main routine is continued, and if it is 1, step 202
Move to. After the sampling command is output to the gyro 18 and the sampling flag processing is performed, the value of the sampling flag SAMPF1 is set to 0H and the processing of the main routine is restarted.

【0029】次に、図6にタイマ割込処理のフローチャ
ートを示す。メインルーチンの処理に用いていたCPU
41内のレジスタのデータを、RAM43のスタック領
域に退避させておく(ステップ301)。
Next, FIG. 6 shows a flowchart of the timer interrupt process. CPU used for main routine processing
The data of the register in 41 is saved in the stack area of the RAM 43 (step 301).

【0030】RAM43に格納されている10分カウン
トデータTIME10Dをレジスタ1へ転送し、10分
間の計測の準備を行う(ステップ302)。
The 10-minute count data TIME10D stored in the RAM 43 is transferred to the register 1 to prepare for measurement for 10 minutes (step 302).

【0031】同様に、進行方向がスタート時から0度の
方向へ旋回動作を開始してから4秒間経ったことを意味
する4秒カウンタデータTIME0Dを、RAM43か
らレジスタ2へ転送し、4秒間の計測の準備を行う(ス
テップ303)。
Similarly, the 4-second counter data TIME0D, which means that 4 seconds have passed since the turning operation started in the direction of 0 ° from the start, was transferred from the RAM 43 to the register 2 and the 4-second counter data was transferred for 4 seconds. Prepare for measurement (step 303).

【0032】10分間の計測を開始し、経過したか否か
を示すフラグSAMPFの値が1Hか否かを判断する
(ステップ304)。この値が1Hの場合は、10分間
経過したものとみなして、後述するステップ314へ飛
ぶ。10分間経過しておらず、フラグSAMPFの値が
0Hの場合は、レジスタ1の値を1引いて計測を続行す
る(ステップ305)。
The measurement for 10 minutes is started, and it is determined whether or not the value of the flag SAMPF indicating whether or not the time has elapsed is 1H (step 304). If this value is 1H, it is considered that 10 minutes have elapsed, and the process jumps to step 314 described later. If 10 minutes have not elapsed and the value of the flag SAMPF is 0H, the value of the register 1 is decremented by 1 and the measurement is continued (step 305).

【0033】レジスタ1の値は0か否かを判断し(ステ
ップ306)、0でない場合、即ち10分間経過してい
ない場合は、後述するステップ311へ飛ぶ。レジスタ
1の値が0の場合は10分間経過しており、レジスタ1
に10分間カウンタの初期データとしての値1200D
を格納する(ステップ307)。ここで、値1は0.5
秒間に相当しており、1200は10分間(=600秒
間)を意味する。さらに、フラグSAMPFの値を1H
とする(ステップ308)。レジスタ2に、4秒タイマ
用のカウンタ初期値8Dを格納する。サンプリングフラ
グSAMT0Fの値を0にして(ステップ310)、サ
ンプリング命令がジャイロ18に出力されないようにす
る。
It is judged whether or not the value of the register 1 is 0 (step 306). If it is not 0, that is, if 10 minutes have not elapsed, the process jumps to step 311 which will be described later. If the value of register 1 is 0, it means that 10 minutes have passed and register 1
1200D as the initial data of the counter for 10 minutes
Is stored (step 307). Here, the value 1 is 0.5
It corresponds to a second, and 1200 means 10 minutes (= 600 seconds). Further, the value of the flag SAMPF is set to 1H.
(Step 308). The register 2 stores the counter initial value 8D for the 4-second timer. The value of the sampling flag SAMT0F is set to 0 (step 310) so that the sampling instruction is not output to the gyro 18.

【0034】また、前述したステップ311以降におい
て、後処理としてレジスタ1の値をRAM43中の10
分カウントデータTIME10Dへ転送してデータを更
新しておく。同様に、レジスタ2の値をRAM43中の
4秒間カウントデータTIME0Dへ転送して、データ
を更新する(ステップ312)。RAM43のスタック
領域に退避させていたデータを、CPU41のレジスタ
に復帰させて、再びメインルーチンでの処理に備える
(ステップ313)。
After step 311 described above, the value of register 1 is set to 10 in the RAM 43 as post-processing.
The minute count data TIME10D is transferred to update the data. Similarly, the value of the register 2 is transferred to the count data TIME0D for 4 seconds in the RAM 43 to update the data (step 312). The data saved in the stack area of the RAM 43 is restored to the register of the CPU 41 to prepare for the processing in the main routine again (step 313).

【0035】ステップ304においてフラグSAMPF
が1Hであった場合には、上述したようにステップ31
4へ移行する。ステップ314において、台車の進行方
向がスタート時の基準方向に対して0度の方向に旋回動
作を開始したか否かを、フラグTRIM0Fが1Hであ
るかどうかで判断する。0度方向フラグTRIM0Fが
0Hであるときは、0度方向への旋回動作を開始してお
らず、ステップ306へ飛んで4秒間を計測する動作を
行わない。
In step 304, the flag SAMPF is set.
Is 1H, step 31 as described above.
Go to 4. In step 314, it is determined whether or not the turning movement of the carriage has started in the direction of 0 degree with respect to the reference direction at the time of start, based on whether the flag TRIM0F is 1H. When the 0-degree direction flag TRIM0F is 0H, the turning operation in the 0-degree direction is not started, and the operation of jumping to step 306 and measuring 4 seconds is not performed.

【0036】フラグTRIM0Fが1Hであった場合、
即ち0度方向への旋回動作を開始した場合は、レジスタ
2の値を1減算する(ステップ315)。このレジスタ
2の値が0であるか否かを判断する(ステップ31
6)。この値が0でない場合はまだ4秒間経過しておら
ず、ステップ306へ飛ぶ。レジスタ2の値が0のと
き、即ち4秒間経過したときは0度方向への旋回動作が
終了し、台車の進行方向が走行開始時の基準方向とほぼ
一致したと判断される。ステップ317へ飛んで、サン
プリングフラグSAMT0Fを1Hにする。これによ
り、ジャイロ装置へサンプリング命令が出力される。さ
らに、1HであったフラグTRIM0Fの値を0Hにク
リアし、次のサンプリング出力に備える(ステップ31
8)。
When the flag TRIM0F is 1H,
That is, when the turning operation in the 0 degree direction is started, the value of the register 2 is decremented by 1 (step 315). It is determined whether the value of this register 2 is 0 (step 31).
6). If this value is not 0, 4 seconds have not elapsed yet, and the process jumps to step 306. When the value of the register 2 is 0, that is, when 4 seconds have passed, it is determined that the turning operation in the 0 degree direction is completed and the traveling direction of the carriage substantially coincides with the reference direction at the start of traveling. Jumping to step 317, the sampling flag SAMT0F is set to 1H. As a result, a sampling command is output to the gyro device. Furthermore, the value of the flag TRIM0F that was 1H is cleared to 0H, and the next sampling output is prepared (step 31).
8).

【0037】次に、図7にメインルーチンのフローチャ
ートを示す。メインルーチンを開始させる時点で、先ず
初期設定を行う(ステップ401)。また、開始時点に
おける基準方向を0度に設定するため、0度方向フラグ
TRIM0Fを1Hに設定しておく(ステップ40
2)。
Next, FIG. 7 shows a flowchart of the main routine. At the time of starting the main routine, first, initial setting is performed (step 401). Further, since the reference direction at the start point is set to 0 degree, the 0 degree direction flag TRIM0F is set to 1H (step 40).
2).

【0038】先ず、上述したように10分間経過したか
否かの判断を行う。フラグSAMPFが1Hか否かを判
断し(ステップ403)、10分間経過し1Hであった
場合はステップ404へ飛ぶ。10分間経過しておら
ず、フラグSAMPFが1Hでない場合は、他の制御ル
ーチンを実行(ステップ411)した後、ステップ40
3へループして再びフラグSAMPFの値を調べる。
First, as described above, it is determined whether 10 minutes have elapsed. It is determined whether the flag SAMPF is 1H (step 403), and if 10 minutes have passed and it is 1H, the process jumps to step 404. If 10 minutes have not elapsed and the flag SAMPF is not 1H, another control routine is executed (step 411) and then step 40
It loops to 3 and checks the value of the flag SAMPF again.

【0039】10分間経過してステップ404へ移行す
ると、サンプリング命令の出力を行うことを示すフラグ
SAMT0Fの値が1Hかどうかを判断する。この値が
0Hの場合はサンプリング命令を出力すべきときではな
く、上述したステップ411へ飛ぶ。
When 10 minutes have passed and the process proceeds to step 404, it is determined whether or not the value of the flag SAMT0F indicating that the sampling command is output is 1H. When this value is 0H, it is not time to output the sampling command, but the process jumps to step 411 described above.

【0040】フラグSAMT0Fの値が1Hの場合は、
サンプリング命令の実行へ移るためステップ405へ飛
ぶ。先ず、台車の左駆動モータ15及び右駆動モータ2
5をオフし、台車を停止させる。ジャイロサンプリング
命令に必要な信号をジャイロ18に出力する(ステップ
406)。また、ジャイロ18がサンプリング動作を行
っている最中は、台車を走行させないように15秒間を
計測するタイマを動作させる(ステップ407)。ジャ
イロ18がサンプリング処理を行って、変位角速度信号
に修正を加える動作が終了し、また台車停止から15秒
間が経過した場合には、フラグSAMPFリセットして
値を0Hにする(ステップ409)。左駆動モータ15
及び右駆動モータ25を再び駆動させて、台車を走行さ
せる(ステップ410)。
When the value of the flag SAMT0F is 1H,
Jump to step 405 to move to the execution of the sampling instruction. First, the left drive motor 15 and the right drive motor 2 of the truck
Turn off 5 and stop the dolly. The signal required for the gyro sampling command is output to the gyro 18 (step 406). Further, while the gyro 18 is performing the sampling operation, a timer for measuring 15 seconds is operated so that the truck does not run (step 407). When the gyro 18 performs the sampling process to complete the operation of correcting the displacement angular velocity signal, and when 15 seconds have elapsed since the carriage was stopped, the flag SAMPF is reset to 0H (step 409). Left drive motor 15
Then, the right drive motor 25 is driven again to drive the carriage (step 410).

【0041】このように本実施例によれば、ジャイロ1
8が出力する変位角速度信号が線形性を確保できる限度
である10分間を経過し、また走行開始時の基準方向と
ほぼ走行方向が一致した時点でメインルーチンの処理に
割込を行い、ジャイロにサンプリングを行わせて出力信
号に修正を加えるため、長時間に渡って高い精度で走行
を制御することができる。しかも、従来必要としていた
ジャイロを恒温状態に保持する装置や、インターロック
装置のような高価な装置は不必要であり、コストを低減
させることも可能である。
As described above, according to this embodiment, the gyro 1
When the displacement angular velocity signal output from 8 has passed the limit of 10 minutes, which is the limit for ensuring linearity, and when the traveling direction and the traveling direction are almost the same, the main routine processing is interrupted and the gyro Since the output signal is corrected by performing sampling, traveling can be controlled with high accuracy for a long time. Moreover, it is not necessary to use a device that keeps the gyro constant temperature, which is conventionally required, or an expensive device such as an interlock device, and the cost can be reduced.

【0042】上述した実施例は一例であり、本発明を限
定するものではない。例えば、本実施例では割込をかけ
る1つの条件である所定時間を10分間に設定してい
る。しかし、使用するジャイロの特性に応じ、その出力
信号が線形性を確保できる任意の他の時間に設定しても
よい。
The above-described embodiments are merely examples and do not limit the present invention. For example, in this embodiment, the predetermined time which is one condition for interrupting is set to 10 minutes. However, depending on the characteristics of the gyro to be used, the output signal may be set to any other time that can ensure the linearity.

【0043】[0043]

【発明の効果】以上説明したように、本発明の自走台車
の走行制御装置は、走行制御に必要な通常の処理を行っ
ている最中に、一定時間が経過しかつ進行方向が走行開
始時の方向にほぼ一致しているとき、通常の処理に割込
を発生させ台車の走行を停止させている間、ジャイロに
サンプリングを行わせて変位角度信号を修正させるもの
であり、恒温装置やインターロック等の高価な装置を必
要とせずに、長時間に渡って高い精度で走行を制御する
ことが可能である。
As described above, the traveling control device for a self-propelled vehicle according to the present invention allows a certain period of time to elapse and the traveling direction to start while the normal processing required for traveling control is being performed. When the direction of time is almost the same, the displacement angle signal is corrected by causing the gyro to perform sampling while interrupting normal processing and stopping the traveling of the trolley. It is possible to control traveling with high accuracy for a long time without requiring an expensive device such as an interlock.

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

【図1】本発明の一実施例による自走台車の走行制御装
置の概略構成を示したブロック図。
FIG. 1 is a block diagram showing a schematic configuration of a traveling control device for a self-propelled carriage according to an embodiment of the present invention.

【図2】同走行制御装置の各構成要素が自走台車内に搭
載された状態を示した説明図。
FIG. 2 is an explanatory diagram showing a state in which each component of the travel control device is mounted in a self-propelled carriage.

【図3】同走行制御装置における主制御装置の構成を示
したブロック図。
FIG. 3 is a block diagram showing a configuration of a main control device in the traveling control device.

【図4】同走行制御装置におけるメインルーチン処理と
タイマ割込処理との関係を示したフローチャート。
FIG. 4 is a flowchart showing a relationship between a main routine process and a timer interrupt process in the travel control device.

【図5】同走行制御装置においてメインルーチン処理中
におけるサンプリングフラグの作用を示すフローチャー
ト。
FIG. 5 is a flowchart showing an operation of a sampling flag during main routine processing in the traveling control device.

【図6】同走行制御装置におけるタイマ割込処理を示す
フローチャート。
FIG. 6 is a flowchart showing a timer interrupt process in the traveling control device.

【図7】同走行制御装置におけるメインルーチン処理を
示すフローチャート。
FIG. 7 is a flowchart showing a main routine process in the traveling control device.

【図8】自走台車が目標の方向から角度θだけずれた状
態を示す説明図。
FIG. 8 is an explanatory diagram showing a state in which the self-propelled carriage deviates from the target direction by an angle θ.

【図9】自走台車が走行開始時から時間が経過するにつ
れて基準方向からずれていく様子を示した説明図。
FIG. 9 is an explanatory view showing a state in which the self-propelled carriage deviates from the reference direction as time elapses from the start of traveling.

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

13,23 ドライバ 14 速度エンコーダ 15 左駆動モータ 16 左車輪 17 積分器 18 ジャイロ 24 速度エンコーダ 25 右駆動モータ 26 右車輪 31 主制御装置 32 モータ制御装置 33 副制御装置 40 タイマ割込部 41 CPU 42 ROM 43 RAM 44 割込回路 45 カウンタ 46 時間定数 13, 23 Driver 14 Speed Encoder 15 Left Drive Motor 16 Left Wheel 17 Integrator 18 Gyro 24 Speed Encoder 25 Right Drive Motor 26 Right Wheel 31 Main Control Unit 32 Motor Control Unit 33 Sub Control Unit 40 Timer Interrupt Unit 41 CPU 42 ROM 43 RAM 44 interrupt circuit 45 counter 46 time constant

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】同一軸上に配置された一対の駆動輪と、 前記駆動輪を駆動するモータと、 前記駆動輪に連結され、各々の回転速度を検出して速度
フィードバック信号を出力する速度エンコーダと、 基準方向に対する変位角速度を検出し、変位角速度信号
を出力するジャイロ装置と、 前記変位角速度信号を与えられ、所定の方向を走行する
ように速度指令信号を出力する制御装置と、 前記速度フィードバック信号と前記速度指令信号とを与
えられ、前記速度指令信号に基づいて前記モータのフィ
ードバック制御を行うモータ制御装置とを備えた自走台
車の走行制御装置において、 前記制御装置は、 前記速度指令信号を出力するための通常の処理を行って
いる最中に、一定時間が経過し、かつ台車の進行方向が
前記基準方向とほぼ同じである場合に、割込を発生させ
る割込発生手段と、 前記割込発生手段が割込を発生させた場合、前記モータ
制御装置に前記モータの駆動を所定時間停止させる手段
と、 前記モータの駆動が停止している間、前記ジャイロ装置
にサンプリング命令を与えてサンプリングを行わせ、前
記ジャイロ装置が出力する前記変位角度信号を修正させ
た後、前記通常の処理を再び行わせる手段とを有するこ
とを特徴とする自走台車の走行制御装置。
1. A pair of drive wheels arranged on the same shaft, a motor for driving the drive wheels, and a speed encoder connected to the drive wheels for detecting respective rotation speeds and outputting a speed feedback signal. A gyro device that detects a displacement angular velocity with respect to a reference direction and outputs a displacement angular velocity signal; a control device that receives the displacement angular velocity signal and outputs a velocity command signal so that the vehicle travels in a predetermined direction; A signal and the speed command signal are given, in a traveling control device of a self-propelled vehicle including a motor control device that performs feedback control of the motor based on the speed command signal, wherein the control device is the speed command signal. When a certain period of time has passed and the traveling direction of the carriage is almost the same as the reference direction during the normal processing for outputting In this case, an interrupt generating means for generating an interrupt, a means for causing the motor control device to stop the driving of the motor for a predetermined time when the interrupt generating means generates an interrupt, and While stopped, a means for giving a sampling command to the gyro device to perform sampling, correcting the displacement angle signal output by the gyro device, and then performing the normal process again is provided. A feature of the traveling control device for the self-propelled carriage.
JP5021138A 1993-02-09 1993-02-09 Travelling controller for self-travelling carriage Pending JPH06236212A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5021138A JPH06236212A (en) 1993-02-09 1993-02-09 Travelling controller for self-travelling carriage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5021138A JPH06236212A (en) 1993-02-09 1993-02-09 Travelling controller for self-travelling carriage

Publications (1)

Publication Number Publication Date
JPH06236212A true JPH06236212A (en) 1994-08-23

Family

ID=12046542

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5021138A Pending JPH06236212A (en) 1993-02-09 1993-02-09 Travelling controller for self-travelling carriage

Country Status (1)

Country Link
JP (1) JPH06236212A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015152944A (en) * 2014-02-10 2015-08-24 シャープ株式会社 Self-propelled electronic apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015152944A (en) * 2014-02-10 2015-08-24 シャープ株式会社 Self-propelled electronic apparatus

Similar Documents

Publication Publication Date Title
CN108473132B (en) Parking assistance system, parking assistance method, and program
JP2738610B2 (en) Travel control device for self-propelled bogie
US6523638B1 (en) Steering apparatus for vehicle
JPH0895638A (en) Travel controller for mobile working robot
JP2003276628A (en) Automatic steering device
JPH075922A (en) Steering control method for unmanned work vehicle
JPH06236212A (en) Travelling controller for self-travelling carriage
WO2014049939A1 (en) Steering control device
JPH03214060A (en) Method and apparatus for controlling speed of vehicle
JP3628405B2 (en) Direction correction method and apparatus for traveling vehicle
JPH10105234A (en) Unmanned carriage
JP2002108453A (en) Unmanned vehicle
JP3580946B2 (en) Travel control device for self-propelled bogie
JP2777281B2 (en) Turning control method of automatic guided vehicle
JPH0241979A (en) Yaw movement control method for vehicle
JP2002154449A (en) Motor-driven power steering device
KR100199988B1 (en) Steering method and device of agv
JP2002297240A (en) Automated guided vehicle
JP3783280B2 (en) Vehicle steering control device
JPH11231939A (en) Method and device for controlling steering of unmanned vehicle
JPH08208179A (en) Crane traveling controller
JP2001097235A (en) Turning control device of automatic guided vehicle
JPH1123606A (en) Yaw rate operating unit for vehicle
JPH04238505A (en) Truck traveling control device
JPH07135705A (en) Motor-car rectilinear travel controller