JPH09269812A - Operation instruction compiling device - Google Patents

Operation instruction compiling device

Info

Publication number
JPH09269812A
JPH09269812A JP8076954A JP7695496A JPH09269812A JP H09269812 A JPH09269812 A JP H09269812A JP 8076954 A JP8076954 A JP 8076954A JP 7695496 A JP7695496 A JP 7695496A JP H09269812 A JPH09269812 A JP H09269812A
Authority
JP
Japan
Prior art keywords
command
instruction
traveling
robot
cleaning
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
JP8076954A
Other languages
Japanese (ja)
Inventor
Kyoko Nakamura
恭子 中村
Yuichi Kawakami
雄一 川上
Yasuhisa Kanefuji
靖尚 金藤
Nobukazu Kawagoe
宣和 川越
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.)
Minolta Co Ltd
Original Assignee
Minolta Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Minolta Co Ltd filed Critical Minolta Co Ltd
Priority to JP8076954A priority Critical patent/JPH09269812A/en
Publication of JPH09269812A publication Critical patent/JPH09269812A/en
Withdrawn legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To efficiently control a moving body by synthesizing procedures when continuous procedures in the stored operation instruction is the continuous procedures having mutual connection. SOLUTION: When teaching data stored on a memory in optimized, the instruction of a #201 address is an advance instruction and it can be synthesized. Thus, synthesis is started. Since the instruction in a #202 address is a receding instruction, the distance of the instruction is subtracted from the distance of the advance instruction which is previously stored. The instruction of a #203 address is similarly subtracted. The distance is added in the instruction of a #204 address. Since the instruction of a #205 address is a rotation instruction, a straight advance system terminates here, and a synthesis result is stored in a #x address. The results which are sequentially scanned to the last of the stored instruction are stored in the memory. Thus, a precise and efficient operation can be obtained as a teaching result.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は動作命令編集装置
に関し、特に移動体が連続した動作を行なうための一連
の手順からなる動作命令を効率的に編集することのでき
る動作命令編集装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an operation instruction editing apparatus, and more particularly to an operation instruction editing apparatus capable of efficiently editing an operation instruction including a series of procedures for a mobile unit to perform a continuous operation.

【0002】[0002]

【従来の技術】[Prior art]

(1) 第1の従来の技術 特開平6−214645号公報において、移動ロボット
の制御方法とその装置が開示されている。この公報には
作業をロボットに教える学習モードが開示されている。
学習モードにおいては、ユーザは前進、後退または回転
などの動作をコントローラの操作によって入力すること
が可能である。
(1) First Prior Art Japanese Patent Application Laid-Open No. 6-214645 discloses a control method and apparatus for a mobile robot. This publication discloses a learning mode for teaching a robot a work.
In the learning mode, the user can input an operation such as forward, backward, or rotation by operating the controller.

【0003】(2) 第2の従来の技術 従来より決められた領域をくまなく走行して作業する自
走式作業車には、操作者が動作を簡単に指定できるよう
に、作業を行なう領域の縦の長さと横の長さとを設定す
ると、自動的にその折り返し移動距離(Uターンのピッ
チ長)を計算して走行するジグザグ走行命令が用意され
ていた。ここにジグザグ走行命令とは、指定された領域
内を所定の間隔をおいて往復運動することにより、指定
された領域内をくまなく走行するための命令である。
(2) Second Prior Art In a self-propelled work vehicle that travels and works in a predetermined area, a work area is provided so that an operator can easily specify an operation. When a vertical length and a horizontal length are set, a zigzag running command for automatically calculating the turnaround moving distance (pitch length of U-turn) and running is prepared. Here, the zigzag traveling command is a command for traveling all over the designated area by reciprocating at a prescribed interval within the designated area.

【0004】[0004]

【発明が解決しようとする課題】[Problems to be Solved by the Invention]

(1) 第1の従来の技術の課題 第1の従来の技術での学習モードにおいて、操作者がロ
ボットに対して動作を指示するときに、動作の指示がロ
ボットの走行のスピードに間に合わなかったりして、各
動作の指示が遅れ、所望の位置で通り過ぎたり、逆に停
止した位置が所望の停止位置より短くなってしまうこと
があった。そのため操作者は、前進、後退などの正逆の
動作を使って、停止位置にロボットが正確に位置するよ
うに調整を行なう必要がある。また学習中にロボットの
前方を人が横切ったりした場合には、ロボットが緊急停
止する場合があるが、このような場合には操作者はもう
一度命令を送信して所望の位置までロボットを進める必
要がある。
(1) Problem of the first conventional technology In the learning mode of the first conventional technology, when the operator instructs the robot to perform an operation, the operation instruction may not be in time for the traveling speed of the robot. Then, the instruction of each operation may be delayed, and the vehicle may pass by at the desired position, or the stopped position may be shorter than the desired stop position. Therefore, the operator needs to perform forward and backward movements such as forward and backward to make adjustments so that the robot is accurately positioned at the stop position. Also, if a person crosses the front of the robot during learning, the robot may make an emergency stop.In such a case, the operator needs to send another command to advance the robot to the desired position. There is.

【0005】その結果、本来は1つの動作コマンドを学
習結果として記憶することが目的であったにもかかわら
ず、学習モード中に上述のような調整を行なうことによ
り、その動作のすべてがそのまま記憶され、データの再
生時においても調整動作が再生されてしまった。
As a result, although the original purpose was to store one operation command as a learning result, all the operations are stored as they are by performing the above-described adjustment in the learning mode. Therefore, the adjustment operation is reproduced even when the data is reproduced.

【0006】このように動作のすべてが記憶されること
は、データの再生時における時間やバッテリの浪費につ
ながり、また記憶容量を無駄に使ってしまうことにつな
がっていた。
Storing all the operations in this manner leads to a waste of time and a battery when reproducing data, and a waste of storage capacity.

【0007】(2) 第2の従来の技術の課題 第2の従来の技術において、作業を行なう領域が1つの
矩形領域だけではなく、複数の矩形領域が組合さった領
域である場合には、操作者はそれぞれの領域のジグザグ
走行をつなぐために、前進命令や回転命令などを用いる
ことにより、第1のジグザグ走行命令の終了位置から後
に実行する第2のジグザグ走行の開始位置まで自走式作
業車を動かす必要があった。
(2) Problem of Second Conventional Technique In the second conventional technique, when the region to be worked is not only one rectangular region but also a combination of a plurality of rectangular regions, the operation is performed. In order to connect the zigzag running in each area, the person uses a forward command, a rotation command, etc. to perform self-propelled work from the end position of the first zigzag running command to the start position of the second zigzag running to be executed later. I had to move the car.

【0008】その移動の際に第1のジグザグ走行命令で
作業を行なった部分を重ねて走行することがある。この
場合せっかく作業を行なった部分を台無しにしたり、作
業に使用する溶剤などを二重に塗布することにつながっ
ていた。
[0008] During the movement, there are cases where the parts that have been worked by the first zigzag running command are overlapped and run. In this case, it has led to ruining the part where the work has been done, and to doubly apply the solvent used for the work.

【0009】[0009]

【課題を解決するための手段】この発明は、上述の課題
を解決するためになされたもので、その目的は移動体の
効率のよい制御を行なうことである。
The present invention has been made to solve the above-mentioned problems, and an object thereof is to efficiently control a moving body.

【0010】この発明の他の目的は、動作命令を効率よ
く編集することができる動作命令編集装置を提供するこ
とである。
Another object of the present invention is to provide an operation command editing device capable of efficiently editing an operation command.

【0011】この発明のさらに他の目的は、移動体のジ
グザグ走行を効率的に行なうことである。
Still another object of the present invention is to efficiently perform zigzag traveling of a moving body.

【0012】上記目的を達成するために、請求項1に記
載の動作命令編集装置は、移動体が連続した動作を行な
うための一連の手順からなる動作命令を記憶する記憶手
段と、記憶された動作命令の中の少なくとも2つの連続
した手順が、相互に関連のある手順であるか否かを判定
する判定手段と、判定手段の判定結果に基づいて、相互
に関係のある連続した手順を統合する統合手段とを備え
る。
In order to achieve the above object, the motion command editing apparatus according to a first aspect of the invention has a storage means for storing a motion command consisting of a series of procedures for the mobile unit to carry out continuous motions, and a memory means for storing the motion command. Judgment means for judging whether or not at least two consecutive procedures in the operation command are mutually related procedures, and based on the determination result of the judgment means, the consecutive procedures having mutual relation are integrated. And an integration means for doing so.

【0013】請求項1に記載の発明によると、記憶され
た動作命令の中の少なくとも2つの連続した手順が、相
互に関連のある手順であるか否かが判定され、その判定
結果に基づいて相互に関係のある連続した手順が統合さ
れる。
According to the first aspect of the present invention, it is determined whether or not at least two consecutive procedures in the stored operation instructions are mutually related procedures, and based on the determination result. A series of interrelated steps are integrated.

【0014】これにより、動作命令を構成する一連の手
順が移動体の動作に関し効率のよいものとなり、移動体
の効率のよい制御を行なうことが可能となる。
As a result, a series of procedures forming the operation command becomes efficient with respect to the operation of the mobile unit, and the mobile unit can be efficiently controlled.

【0015】請求項2に記載の発明によると、請求項1
の装置の判定手段は、連続した手順の各々が移動体を同
一方向または逆方向に移動させる手順であるか否かを判
定するものである。
According to the invention of claim 2, claim 1
The determination means of the device determines whether or not each of the continuous procedures is a procedure of moving the moving body in the same direction or the opposite direction.

【0016】請求項2に記載の発明によると、連続した
手順の各々が移動体を同一方向または逆方向に移動させ
る手順であるか否かが判定される。
According to the second aspect of the present invention, it is determined whether or not each of the successive procedures is a procedure for moving the moving body in the same direction or in the opposite direction.

【0017】これにより、同一方向または逆方向に移動
させる動作が統合されるため、移動命令を適切に編集す
ることが可能となる。
As a result, the movements in the same direction or in the opposite direction are integrated, so that the movement command can be edited appropriately.

【0018】請求項3に記載の発明によると、請求項1
に記載の連続した手順の少なくとも1つの手順は、移動
体のジグザグ走行に関する手順である。
According to the invention of claim 3, claim 1
At least one procedure of the continuous procedures described in 1 is a procedure related to zigzag traveling of a mobile body.

【0019】請求項3に記載の発明によると、少なくと
も1つが移動体のジグザグ走行に関する手順である連続
した手順が相互に関連のある手順であるか否かが判定さ
れ、その判定結果に基づいて相互に関連のある連続した
手順が統合される。
According to the third aspect of the present invention, it is determined whether at least one of the continuous steps, which is a step relating to the zigzag running of the moving body, is a step having mutual relation, and based on the result of the decision. A series of interrelated steps are integrated.

【0020】これによりジグザグ走行を効率的に行なう
ことのできる動作命令を編集することが可能となる。
As a result, it becomes possible to edit an operation command that can efficiently perform zigzag running.

【0021】請求項4に記載の発明によると、請求項1
に記載の移動体は対象物に対して作業を行なうための作
業部を有し、動作命令は作業部に対する動作命令であ
る。
According to the invention of claim 4, claim 1
The moving body described in 1 has a working unit for performing work on an object, and the operation command is an operation command for the working unit.

【0022】請求項4に記載の発明によると、作業部に
対する動作命令が相互に関連のある手順であるか否かが
判定され、その判定結果に基づいて相互に関連のある連
続した手順が統合されるため、作業部に対する動作命令
を適切に編集することが可能となる。
According to the fourth aspect of the present invention, it is judged whether or not the operation command for the working unit is a mutually related procedure, and based on the result of the judgment, the continuously related continuous procedures are integrated. Therefore, it is possible to appropriately edit the operation command for the working unit.

【0023】[0023]

【発明の実施の形態】次にこの発明の好ましい実施の形
態を図面を参照して詳しく説明する。図中同一符号は同
一または相当部分を示す。
BEST MODE FOR CARRYING OUT THE INVENTION Next, preferred embodiments of the present invention will be described in detail with reference to the drawings. The same reference numerals in the drawings indicate the same or corresponding parts.

【0024】(第1の実施の形態)図1は本発明の第1
の実施の形態における自走式清掃ロボット1とそのコン
トローラ2の外観を示す斜視図である。
(First Embodiment) FIG. 1 shows a first embodiment of the present invention.
FIG. 3 is a perspective view showing appearances of self-propelled cleaning robot 1 and its controller 2 in the embodiment.

【0025】図を参照して、清掃ロボット1は壁などと
の接触を検知するための接触センサ7と、壁などとの間
の距離を測定し、壁などに倣った走行を実現するための
倣いセンサ8a〜8dと、不織布を回転させることによ
り、床面に対して清掃作業を行なう清掃作業部31と、
ユーザに対し操作ガイダンスやエラーメッセージなどを
表示する表示部18と、作業を開始させるための作業開
始ボタン90とを備えている。また、メモリカード13
を清掃ロボット1に挿入することにより、記憶された命
令を清掃ロボット1は実行することが可能である。
Referring to the drawing, the cleaning robot 1 measures the distance between a contact sensor 7 for detecting contact with a wall and the like, and realizes traveling following the wall. The scanning sensors 8a to 8d, and a cleaning work unit 31 for cleaning the floor surface by rotating the nonwoven fabric,
The display unit 18 for displaying operation guidance and error messages to the user, and a work start button 90 for starting work are provided. In addition, the memory card 13
By inserting into the cleaning robot 1, the cleaning robot 1 can execute the stored command.

【0026】清掃ロボット1は、駆動輪を備える走行部
と、車体部とから構成される。走行部と車体部とは相対
的に回動自在に構成される。清掃作業部31は車体部に
取付られている。
The cleaning robot 1 is composed of a traveling section having drive wheels and a vehicle body section. The traveling portion and the vehicle body portion are configured to be relatively rotatable. The cleaning work part 31 is attached to the vehicle body part.

【0027】図2はコントローラ2の平面図である。図
を参照して、コントローラ2は清掃ロボット1を遠隔操
作したり、走行や作業を教示するために用いられる。コ
ントローラの入力部として、動作シフトボタン群40
と、方向指定のための十字カーソルボタン35と、モー
ドを切替えるためのモード切替ボタン36と、清掃ロボ
ットの動作の開始を指示するための開始ボタン37と、
動作の停止を指示するための停止ボタン38と、動作を
一旦停止させるための一旦停止ボタン39と、設定の取
消を行なう取消ボタン52と、入力されたデータの設定
を行なうための設定ボタン53と、電源スイッチ46と
が配設されている。動作シフトボタン群40は、車体部
の向きは変えずに走行部の向きのみを左右に回転させる
走行部回転ボタン41、車体部と走行部とを同時に回転
させる車体部回転ボタン42、清掃作業部31を車体部
に対して左右に移動させるための清掃作業部スライドボ
タン43、Uターン動作を指定するUターンボタン4
4、ジグザグ走行を指定するためのジグザグボタン45
を含む。これらのボタンを組合せて使用することで、清
掃ロボットの遠隔操作、作業の教示、編集などの操作が
行なわれる。
FIG. 2 is a plan view of the controller 2. Referring to the figure, controller 2 is used to remotely control cleaning robot 1 and to teach traveling and work. The operation shift button group 40 as an input unit of the controller
A cross-shaped cursor button 35 for designating a direction, a mode switching button 36 for switching modes, a start button 37 for instructing to start the operation of the cleaning robot,
A stop button 38 for instructing to stop the operation, a stop button 39 for temporarily stopping the operation, a cancel button 52 for canceling the setting, and a setting button 53 for setting the input data. , And a power switch 46. The operation shift button group 40 includes a traveling portion rotation button 41 that rotates the traveling portion only left and right without changing the orientation of the vehicle body portion, a vehicle body rotation button 42 that simultaneously rotates the vehicle body portion and the traveling portion, and a cleaning work portion. Cleaning work part slide button 43 for moving 31 to the left and right with respect to the vehicle body part, U-turn button 4 for designating a U-turn operation
4. Zigzag button 45 for specifying zigzag running
including. By using these buttons in combination, operations such as remote operation of the cleaning robot, teaching of work, and editing are performed.

【0028】またコントローラ2は液晶表示装置により
構成される表示部49を有している。表示部49にはジ
グザグ走行の設定メニューなどが表示される。ユーザは
表示部49を見ながら、十字カーソルボタン35や設定
ボタン53などを用いることにより、データを入力する
ことが可能である。
Further, the controller 2 has a display section 49 composed of a liquid crystal display device. The display unit 49 displays a zigzag traveling setting menu and the like. The user can input data by using the cross cursor button 35, the setting button 53, and the like while looking at the display unit 49.

【0029】従来のコントローラでは、右回転、左回転
などの具体的な動作をそれぞれ対応した1つのボタンに
結びつける方法がとられていた。そのため、ロボットの
動作が複雑になるに従って、コントローラのボタン数が
増えて、コントローラが大きくなったり、操作者が必要
なボタンを探すことが困難になるという課題を有してい
た。しかし、本実施の形態におけるコントローラでは、
動作シフトボタン群と十字カーソルボタンとをコントロ
ーラの左右に振り分けているために、コントローラを両
手で支えた状態で、操作者は左手側の動作シフトボタン
群で作業内容を選択し、右手側の十字カーソルボタンで
動作方法を選択するという使用方法が可能となった。
In the conventional controller, a method is used in which specific operations such as right rotation and left rotation are linked to one corresponding button. Therefore, as the operation of the robot becomes complicated, the number of buttons of the controller increases, the controller becomes large, and it becomes difficult for the operator to find a necessary button. However, with the controller in this embodiment,
Since the operation shift button group and the cross cursor button are distributed to the left and right of the controller, the operator selects the work content with the left hand operation shift button group while supporting the controller with both hands, and the right hand cross button. It became possible to use it by selecting the operation method with the cursor button.

【0030】このようなコントローラのボタンの配置を
採用することによって、ロボットの複雑な動作を、感覚
的に容易な理解が可能な操縦方法で指示することが可能
となった。またコントローラのボタン数を減らすことが
可能となり、これによりコントローラのコストダウンを
図るとともに、さらに使用者にとっては作業させる対象
のロボットを注視した状態でコマンドを入力することが
可能となった。
By adopting the arrangement of the buttons of the controller as described above, it becomes possible to instruct a complicated motion of the robot by a maneuvering method that can be easily understood by a sense. In addition, it is possible to reduce the number of buttons on the controller, which reduces the cost of the controller and allows the user to input commands while gazing at the robot to be worked.

【0031】またコントローラは入力部(各種ボタン)
から指定された命令を本体へ送信したり、本体の内部状
況や周辺状況を本体から受信するための通信部を搭載し
ている。本体からコントローラへの通信方法としては、
赤外線や電波、有線などが考えられるが、本体とコント
ローラの置かれる環境によって最も適した方法を選択す
ることが可能である。本実施の形態においては、電磁波
の発生により他の装置の誤動作を招くことがないように
赤外線通信を採用することとした。
The controller is also an input section (various buttons)
It is equipped with a communication unit that sends commands specified by the system to the main unit and receives internal and peripheral conditions of the main unit from the main unit. As the communication method from the main body to the controller,
Infrared rays, radio waves, wires, etc. can be considered, but it is possible to select the most suitable method depending on the environment where the main body and the controller are placed. In the present embodiment, infrared communication is adopted so as not to cause malfunction of other devices due to generation of electromagnetic waves.

【0032】コントローラの表示部49は液晶ディスプ
レイから構成される。表示部49は入力ガイダンスや、
本体側に送信したコマンド、本体がコマンドを実行した
結果、各種のエラーメッセージなどユーザに必要な情報
を表示することが可能である。また、コントローラは通
信部以外にも外部インタフェースを有し、パーソナルコ
ンピュータやプリンタなどの外部機器と直接的または間
接的に接続可能な構成となっている。入力部、通信部お
よび表示部はコントローラ制御部に接続され、これによ
って制御されている。さらに、コントローラはコントロ
ーラ制御部内蔵メモリまたは外部メモリを有しており、
コントローラから送信された命令や本体側から返信され
た動作命令群を記憶することができる。
The display section 49 of the controller is composed of a liquid crystal display. The display 49 displays input guidance,
It is possible to display information necessary for the user such as a command transmitted to the main body side, a result of the main body executing the command, various error messages, and the like. Further, the controller has an external interface in addition to the communication unit, and is configured to be directly or indirectly connectable to an external device such as a personal computer or a printer. The input unit, the communication unit, and the display unit are connected to and controlled by the controller control unit. Further, the controller has a controller control unit internal memory or external memory,
The command transmitted from the controller and the operation command group returned from the main body can be stored.

【0033】自動走行などで使用する走行および作業デ
ータは、教示モードで作成したデータを用いてもよい
し、または本実施の形態では記載しないが、パーソナル
コンピュータなどの編集装置を使用して、実際の走行を
せずに表示画面上で前進、後退、回転などの動作を入力
したり、また作業する範囲の情報を入力し、それをもと
に編集装置上で直進距離やUターンのピッチ、作業部の
移動などを自動生成することにより得た走行および作業
データを用いることとしてもよい。
Data generated in the teaching mode may be used as the traveling and work data used in automatic traveling or the like, or although it is not described in the present embodiment, it is actually used by using an editing device such as a personal computer. Input movements such as forward, backward, rotation, etc. on the display screen without running, and input the information of the working range, and based on that, go straight distance or U-turn pitch on the editing device, The travel and work data obtained by automatically generating the movement of the work unit may be used.

【0034】図3は図1の清掃ロボット本体1の構成を
示す平面図である。図を参照して、清掃ロボットは走行
部と車体部と清掃作業部とを備えている。走行部には、
ロボットの駆動を行なうための駆動輪3a,3bと、駆
動輪に接続され、ロボットの移動距離を検出するための
距離検出計(エンコーダ)79a,79bと、ロボット
のバランスをとるための従動輪4a,4bとを備えてい
る。
FIG. 3 is a plan view showing the structure of the cleaning robot body 1 shown in FIG. Referring to the drawing, the cleaning robot includes a traveling unit, a vehicle body, and a cleaning unit. In the running part,
Driving wheels 3a, 3b for driving the robot, distance detectors (encoders) 79a, 79b connected to the driving wheels for detecting the moving distance of the robot, and driven wheels 4a for balancing the robot. , 4b.

【0035】車体部は前述の接触センサ7と、倣いセン
サ8a〜8dと、ロボットの前方および左右の障害物ま
での距離を検出する測距センサ6a〜6cとを含む。
The vehicle body portion includes the above-mentioned contact sensor 7, scanning sensors 8a to 8d, and distance measuring sensors 6a to 6c for detecting distances to obstacles in front of and left and right of the robot.

【0036】清掃作業部31は、車体部に接続される。
清掃作業部31は、その各々が回転することにより洗剤
の塗布などを行なうためのロータ9a〜9dを含んでい
る。
The cleaning work section 31 is connected to the vehicle body section.
The cleaning unit 31 includes rotors 9a to 9d for rotating each of them to apply a detergent or the like.

【0037】図4および5は走行部の具体的な構成を示
す平面図である。図を参照して、走行部30は、2つの
駆動輪3a,3bと、駆動輪を駆動するための駆動輪駆
動モータ60a,60bを備えている。図示しないエン
コーダ79は駆動輪の回転数を読取り、清掃ロボットが
走行した距離を計測する。走行部には2つの従動輪4
a,4bが設けられている。従動輪は清掃ロボットの重
量を駆動輪とともに担っている。図示されるように、2
つの従動輪4a,4bは、中心線X−X′の垂線Y−
Y′の延長線上に中心線から対称に配置される。従動輪
の少なくとも一方には図示されないサスペンション機構
が設けられている。サスペンション機構には凹凸がある
ような床面の走行時においても、駆動輪が必ず床面に設
置し、駆動輪のスリップや空転を防ぎ、安定した走行と
エンコーダの検出誤差を少なくするという効果を有して
いる。
4 and 5 are plan views showing a specific structure of the traveling unit. Referring to the drawing, traveling unit 30 includes two drive wheels 3a and 3b and drive wheel drive motors 60a and 60b for driving the drive wheels. An encoder 79 (not shown) reads the number of rotations of the drive wheels and measures the distance traveled by the cleaning robot. Two driven wheels 4 in the running part
a, 4b are provided. The driven wheel bears the weight of the cleaning robot together with the drive wheel. 2 as shown
The two driven wheels 4a, 4b have a vertical line Y- of the center line X-X '.
They are arranged symmetrically from the center line on the extension line of Y '. At least one of the driven wheels is provided with a suspension mechanism (not shown). Even when driving on a floor surface where the suspension mechanism has irregularities, the drive wheels must be installed on the floor surface to prevent slipping and idling of the drive wheels, stable driving and reducing the detection error of the encoder. Have

【0038】直進走行時においては、2つの駆動用モー
タは同方向に回転する。これにより図4の矢印“A”方
向にロボットは移動することが可能である。
When driving straight ahead, the two drive motors rotate in the same direction. As a result, the robot can move in the direction of arrow "A" in FIG.

【0039】また回転動作を行なう際には、2つの駆動
用モータはそれぞれ逆方向に回転される。これにより、
図5の矢印“B”で示される方向にロボット本体は回転
することが可能である。なお、回転動作時には、図5に
示されるように従動輪4a,4bは回転動作に適合する
ように、垂線Y−Y′に直交する方向に向きが変わる。
When performing the rotating operation, the two drive motors are rotated in opposite directions. This allows
The robot body can rotate in the direction indicated by arrow "B" in FIG. During the rotating operation, the driven wheels 4a and 4b change their directions in a direction orthogonal to the vertical line Y-Y 'so as to adapt to the rotating operation, as shown in FIG.

【0040】さらに駆動輪の駆動の比率を制御すること
で、カーブ走行を行なうことができる。
Further, by controlling the drive ratio of the drive wheels, it is possible to carry out curve traveling.

【0041】図6は走行部と車体部とを相対的に回動さ
せる車体部回転機構の構成を示す図である。
FIG. 6 is a view showing the construction of a vehicle body rotation mechanism for relatively rotating the traveling portion and the vehicle body portion.

【0042】図示されるように、走行部フレーム66は
ベアリング内輪保持具67でベアリング内輪61に固定
されている。また、ベアリング外輪62には、車体部回
転駆動歯車63がベアリング外輪保持具64により固定
されている。さらにベアリング外輪保持具64には、車
体部フレーム65が固定されている。
As shown in the figure, the traveling frame 66 is fixed to the bearing inner ring 61 by a bearing inner ring holder 67. Further, a vehicle body rotation driving gear 63 is fixed to the bearing outer ring 62 by a bearing outer ring holder 64. Further, a vehicle body frame 65 is fixed to the bearing outer ring holder 64.

【0043】さらに、走行部フレーム66には車体部回
転用モータ68が装着されている。モータ68はギアを
介して、車体部回転駆動歯車63を駆動する。さらに、
車体部回転駆動歯車63には、ギアを介して、図示しな
いポテンショメータが取付けられており、走行部に対す
る車体部の回転角度を正確に検出することが可能であ
る。
Further, a vehicle body rotation motor 68 is mounted on the traveling section frame 66. The motor 68 drives the vehicle body rotation drive gear 63 via the gear. further,
A potentiometer (not shown) is attached to the vehicle body rotation drive gear 63 via the gear, and the rotation angle of the vehicle body with respect to the traveling portion can be accurately detected.

【0044】このような構成により、走行部に対して車
体部は独立して回転可能な構成をとっている。
With this structure, the vehicle body can rotate independently of the traveling unit.

【0045】本実施の形態においては、車体回転用モー
タとしてステッピングモータが採用されている。しかし
ながらステッピングモータに代えてサーボモータを採用
してもよい。
In this embodiment, a stepping motor is used as the vehicle body rotation motor. However, a servo motor may be used instead of the stepping motor.

【0046】この車体回転機構により、車体部を走行部
のY−Y′軸に対して、約−90°〜+90°まで回転
することができる。
With this vehicle body rotating mechanism, the vehicle body portion can be rotated by about -90 ° to + 90 ° with respect to the YY 'axis of the traveling portion.

【0047】さらに、走行部の回転中心近くにはジャイ
ロセンサが装着され、走行部の回転角度を検出したり、
直進走行の制御を行なうために使用される。走行部の駆
動輪駆動用モータや車体回転駆動用モータ、ジャイロセ
ンサなどは車体部にある図示しない電源部と走行部CP
Uにより制御される。駆動用モータや車体回転駆動用モ
ータ、ジャイロセンサおよび走行部CPUの電源供給線
や制御線は、走行部と車体部とをつなぐリング型の車体
回転用ベアリングの中心部を通すことにより、走行部と
車体部の回転による配線の大きなねじれや引きつりが生
じることが防止されている。
Further, a gyro sensor is mounted near the center of rotation of the traveling section to detect the rotation angle of the traveling section,
It is used to control straight running. A drive wheel drive motor, a vehicle body rotation drive motor, a gyro sensor, etc. of the traveling unit include a power source unit (not shown) and a traveling unit CP in the vehicle body
U controls. The drive motor, the vehicle body rotation drive motor, the gyro sensor, and the power supply lines and control lines of the traveling unit CPU are passed through the center of a ring-shaped vehicle body rotation bearing that connects the traveling unit and the vehicle body unit to each other. It is possible to prevent the wiring from being greatly twisted or dragged due to the rotation of the vehicle body.

【0048】車体部の外部ケースは走行部を覆うような
形になっている。車体部外部ケースには、清掃ロボット
が壁際を走行するために使用する倣いセンサが取付けら
れており、その倣いセンサはまた障害物や壁があること
を認識するためのセンサとしても用いられる。
The outer case of the vehicle body portion is shaped so as to cover the traveling portion. A copying sensor used for the cleaning robot to travel near a wall is attached to the vehicle body outer case, and the copying sensor is also used as a sensor for recognizing the presence of an obstacle or a wall.

【0049】車体部には、側面や前後面に作業部周辺の
空間や物体の存在や物体までの距離、壁の有無、床面の
変化など、作業ロボットの周辺環境を認識するための赤
外線測距センサ4と接触センサ7が取付られている。
The body part has infrared measurement for recognizing the surrounding environment of the work robot, such as the space around the work part on the side and front and back, the presence of an object, the distance to the object, the presence of a wall, and the change of the floor surface. Distance sensor 4 and contact sensor 7 are attached.

【0050】なお本実施の形態においては、赤外線セン
サを使用したが、環境を認識することができるものなら
センサとして採用することができる。たとえば超音波セ
ンサ、テレビカメラなどを用いることが可能である。ま
た、本体カバー全体はバンパーセンサになっており、清
掃ロボットが障害物や壁に接触したことが検知できるよ
うになっている。
Although an infrared sensor is used in this embodiment, any sensor that can recognize the environment can be used as the sensor. For example, an ultrasonic sensor, a television camera or the like can be used. Further, the entire body cover is a bumper sensor, which can detect that the cleaning robot has contacted an obstacle or a wall.

【0051】図7は清掃作業部の構成を示す平面図であ
る。清掃作業部は清掃作業を行なうための部分である。
洗浄液が洗浄液タンク85から、導出されたチューブ7
2を通じて、滴下口71a〜71dにより床面に滴下さ
れる。モータにより駆動されるロータ9a〜9dが回転
することにより洗浄液の塗り伸ばしと、床面の圧擦が行
なわれ、これにより清掃が行なわれる。洗浄液の滴下は
一定量を安定供給するためにポンプ22が用いられてい
る。
FIG. 7 is a plan view showing the structure of the cleaning work section. The cleaning work part is a part for performing a cleaning work.
Tube 7 in which the cleaning liquid is drawn from the cleaning liquid tank 85
2 through the dropping ports 71a to 71d. When the rotors 9a to 9d driven by the motor rotate, the cleaning liquid is spread and the floor surface is rubbed, whereby cleaning is performed. A pump 22 is used to stably supply a fixed amount of the cleaning liquid.

【0052】清掃作業部にはロータ9a〜9dが複数備
えられている。そのうち少なくとも1つに配置したロー
タ回転センサ74の検出結果を用いて、ポンプ22の動
作のタイミングがとられる。これによりロータに直接洗
浄液が当たることがないように、洗浄液の滴下を行なう
ことが可能である。
The cleaning work unit is provided with a plurality of rotors 9a to 9d. The operation result of the pump 22 is determined by using the detection result of the rotor rotation sensor 74 arranged in at least one of them. This makes it possible to drop the cleaning liquid so that the cleaning liquid does not directly contact the rotor.

【0053】さらに、滴下口近くに液検出センサ73が
設けられており、洗浄液の導出状況を検知できるように
なっている。
Furthermore, a liquid detection sensor 73 is provided near the drip port so that it is possible to detect the derivation status of the cleaning liquid.

【0054】図8は液検出センサ73の動作原理を説明
するための図である。液検出センサは、発光ダイオード
などにより構成される投光部75と、フォトダイオード
などにより構成される受光部76と屈折率の高い透明樹
脂ブロック77とを備える。チューブ72は透明で、そ
の屈折率は透明樹脂ブロック77の屈折率とほぼ等し
く、チューブ72と透明樹脂ブロック77とは密接して
いる。投光部75より出射された光が受光部76で検出
されることにより、洗浄液がチューブ内にあるか否かが
検出される。
FIG. 8 is a diagram for explaining the operation principle of the liquid detection sensor 73. The liquid detection sensor includes a light projecting unit 75 configured by a light emitting diode or the like, a light receiving unit 76 configured by a photodiode or the like, and a transparent resin block 77 having a high refractive index. The tube 72 is transparent, and its refractive index is substantially equal to that of the transparent resin block 77, and the tube 72 and the transparent resin block 77 are in close contact with each other. By detecting the light emitted from the light projecting unit 75 by the light receiving unit 76, it is detected whether or not the cleaning liquid is in the tube.

【0055】図8(A)に示されるように、洗浄液がチ
ューブ72内に存在していなければ、投光部75より出
射された光はチューブ72の内壁面で全反射される。こ
れに対し、図8(B)を参照して、チューブ72内に洗
浄液が満たされている場合には、洗浄液の屈折率がチュ
ーブ72の屈折率に近い値のため、投光部75より出射
された光は、チューブ72を透過する。これにより洗浄
液がチューブ内にあるか否かの検出が行なわれる。
As shown in FIG. 8A, if the cleaning liquid does not exist in the tube 72, the light emitted from the light projecting portion 75 is totally reflected by the inner wall surface of the tube 72. On the other hand, referring to FIG. 8B, when the cleaning liquid is filled in the tube 72, the refractive index of the cleaning liquid is close to the refractive index of the tube 72, so that the light is emitted from the light projecting unit 75. The generated light passes through the tube 72. Thereby, it is detected whether or not the cleaning liquid is in the tube.

【0056】このようにして構成されたセンサは小型で
あるため、ロータや滴下口の邪魔をすることなく配置す
ることが可能である。
Since the sensor thus constructed is small in size, it can be arranged without obstructing the rotor and the drip port.

【0057】液検出のためのセンサとしては、他に音波
を用いるセンサ、光を透過させその光量を検出するセン
サなどを用いることが可能である。
As the sensor for detecting the liquid, it is possible to use a sensor that uses a sound wave, a sensor that transmits light and detects the amount of light, or the like.

【0058】なお清掃作業部全体は車体部に対して清掃
部移動モータにより左右に移動可能である。
The entire cleaning work unit can be moved left and right with respect to the vehicle body by a cleaning unit moving motor.

【0059】図9は図1に示される清掃ロボット1の回
路構成を示すブロック図である。図を参照して、清掃ロ
ボット1は大きくはロボットの走行制御を行なう走行制
御部32と、清掃作業の制御を行なう清掃作業制御部3
3とから構成される。
FIG. 9 is a block diagram showing the circuit configuration of the cleaning robot 1 shown in FIG. Referring to the drawings, the cleaning robot 1 is roughly comprised of a traveling control unit 32 for controlling the traveling of the robot and a cleaning work control unit 3 for controlling the cleaning work.
And 3.

【0060】走行制御部32は、走行部の処理を司る走
行部CPU27と、左右各々の駆動輪3a,3bの駆動
制御を行なう駆動制御部14a,14bと、車体部と走
行部とを相対的に回転させるための回転制御部69と、
走行制御手順等を記憶する走行制御部メモリ28とから
構成される。
The traveling control unit 32 relatively controls the traveling unit CPU 27 that controls the processing of the traveling unit, the drive control units 14a and 14b that control the driving of the left and right drive wheels 3a and 3b, and the vehicle body unit and the traveling unit. A rotation control unit 69 for rotating the
It is composed of a travel control unit memory 28 that stores a travel control procedure and the like.

【0061】走行制御部32には、左右の駆動輪の回転
量から清掃ロボットの走行距離を検出する距離検出計
(エンコーダ)79a,79bと、清掃ロボットの周辺
の環境を認識するための測距センサ6と、走行部と車体
部とを相対的に回転させるための回転モータ68とが接
続されている。
The traveling control unit 32 includes distance detectors (encoders) 79a and 79b for detecting the traveling distance of the cleaning robot from the rotation amounts of the left and right driving wheels, and a distance measuring device for recognizing the environment around the cleaning robot. The sensor 6 and a rotary motor 68 for relatively rotating the traveling portion and the vehicle body portion are connected to each other.

【0062】清掃作業制御部33は、清掃作業部の処理
を司る作業部CPU12と、表示部18での表示の制御
を行なう表示制御部19と、本体の作業の開始、停止や
電源の投入などを行なうための入力部16での入力制御
を行なう入力制御部17と、メモリカード13の読取を
行なうメモリカード読取部77と、コントローラとの間
で通信を行なう通信部11と、洗剤を滴下するためのポ
ンプ22を制御するポンプ制御部23と、ロータ9を制
御するロータ制御部15と、清掃作業部を移動させるた
めのモータ25を駆動する清掃部移動制御部26と、電
源回路21とを備える。
The cleaning work control unit 33 includes a work unit CPU 12 that controls the processing of the cleaning work unit, a display control unit 19 that controls the display on the display unit 18, the start and stop of the work of the main body, and the turning on of the power. The input control unit 17 for controlling the input by the input unit 16 for performing the operation, the memory card reading unit 77 for reading the memory card 13, the communication unit 11 for communicating with the controller, and the detergent are dropped. A pump control unit 23 for controlling the pump 22, a rotor control unit 15 for controlling the rotor 9, a cleaning unit movement control unit 26 for driving a motor 25 for moving the cleaning work unit, and a power supply circuit 21. Prepare

【0063】また、清掃作業制御部33には、洗剤の滴
下を検出する液検出センサ73と、接触センサ7と、ジ
ャイロセンサ78と、倣いセンサ8と、バッテリ20と
が接続されている。
Further, the cleaning work control section 33 is connected to a liquid detection sensor 73 for detecting the dropping of detergent, a contact sensor 7, a gyro sensor 78, a scanning sensor 8 and a battery 20.

【0064】作業部CPU12と走行部CPU27とは
相互に接続されている。なお走行作業部メモリ28は送
信された命令や、外部環境をも記憶する。このようなメ
モリは作業部CPUに内蔵のものを使用したり、メモリ
カードのような着脱可能なものを使用してもよい。
The working unit CPU 12 and the traveling unit CPU 27 are connected to each other. The traveling work unit memory 28 also stores the transmitted command and the external environment. Such a memory may be a built-in one in the work unit CPU, or a removable one such as a memory card.

【0065】図10はコントローラ2の回路構成を示す
ブロック図である。図を参照して、コントローラは、コ
ントローラの制御を行なうコントローラ制御部CPU5
1と、表示部49の制御を行なう表示制御部81と、前
述のボタンなどにより構成される入力部80の制御を行
なう入力制御部47と、清掃ロボット1との間で通信を
行なうための通信部48と、通信部の制御を行なう通信
制御部82と、バッテリ83と、外部インタフェース5
0とを備える。
FIG. 10 is a block diagram showing the circuit configuration of the controller 2. Referring to the figure, the controller is a controller control unit CPU5 for controlling the controller.
1, a display control unit 81 that controls the display unit 49, an input control unit 47 that controls the input unit 80 including the above-described buttons, and communication for communicating with the cleaning robot 1. Unit 48, communication control unit 82 that controls the communication unit, battery 83, and external interface 5
0.

【0066】外部インタフェース50を介して、コント
ローラ2はパーソナルコンピュータやプリンタなどの外
部機器と接続可能である。
The controller 2 can be connected to an external device such as a personal computer or a printer via the external interface 50.

【0067】次に清掃ロボットの制御方法について説明
する。清掃作業ロボットは、コントローラとともに使用
してコントローラより清掃ロボットを遠隔操作したり、
作業の教示や編集を行なう使い方2と、コントローラは
用いずに清掃作業ロボット単体で使用して、清掃作業ロ
ボットに挿入されている外部のメモリカードに入力され
ている作業を再生する使い方1とを併有する。
Next, the control method of the cleaning robot will be described. The cleaning robot can be used together with the controller to remotely control the cleaning robot from the controller,
There are a usage method 2 for teaching and editing work and a usage method 1 for using the cleaning work robot alone without using the controller and reproducing the work input to the external memory card inserted in the cleaning work robot. Have both.

【0068】普段の清掃作業では、普通コントローラ2
は必要ではなく、使い方1でロボットは使用される。
For normal cleaning work, the normal controller 2
Is not necessary, and the robot is used in Usage 1.

【0069】使い方1では操作者がロボットを清掃した
い場所に動かし、その作業場所の清掃について記憶して
いるメモリカードをセットし、ロボット本体にある作業
開始ボタンを操作者が押すと、清掃作業ロボットはメモ
リカードに記憶されている、教示モードや編集装置で作
成された動作命令を順次再生する。これにより以前教示
された内容と全く同じ作業を実行する。メモリカードに
記録された作業命令を動作し終えた後は、ロボットは自
動的に停止する。
In usage 1, the operator moves the robot to a place where he / she wants to clean, sets a memory card that stores the cleaning of the work place, and when the operator presses the work start button on the robot body, the cleaning work robot Sequentially reproduces the operation commands stored in the memory card and created in the teaching mode or the editing device. This performs exactly the same work as previously taught. The robot automatically stops after the work instructions recorded in the memory card are completed.

【0070】カードには、後述の作業の教示の際に作業
内容とともに洗剤液の滴下量(塗布厚)も記憶されてい
る。再生の際には、カードに記憶された滴下量で洗浄液
の滴下を行ないながら作業が行なわれる。
In the card, the amount of the detergent liquid dropped (application thickness) is stored together with the contents of the work when teaching the work to be described later. At the time of regeneration, the work is performed while dropping the cleaning liquid with the dropping amount stored in the card.

【0071】乾拭きが記憶されている場合を除いては、
カードの内容を再生する際に、作業開始前に液検出セン
サで滴下口まで洗浄液が押出されていることが確認され
る。その後一定期間自動的に洗浄液が排出される。この
ときロータが回転することで、作業前にロータの清浄パ
ッドに不足している洗浄液を予めしみこませておく。
Except when a dry wipe is stored,
When reproducing the contents of the card, it is confirmed by the liquid detection sensor that the cleaning liquid has been pushed up to the dropping port before the work is started. After that, the cleaning liquid is automatically discharged for a certain period. At this time, the rotor rotates, so that the cleaning pad of the rotor is impregnated with the insufficient cleaning liquid before the work.

【0072】従来の作業ロボットでは予め洗浄液をパッ
ドにしみこませないまま走行が開始されていた。そのた
めに走行開始時点での洗浄液の塗布が薄くなったり、か
すれたりしていた。本実施の形態では、作業を行なう前
に一定量だけ清浄パッドに洗浄液をしみこませておくこ
とで、作業開始時から終了時までの洗浄液の塗布が均等
に行なえるようになっている。
In the conventional work robot, the traveling was started without the cleaning liquid permeating the pad in advance. Therefore, the application of the cleaning liquid at the start of running was thin or faint. In the present embodiment, the cleaning liquid is soaked into the cleaning pad by a certain amount before performing the work, so that the cleaning liquid can be evenly applied from the start to the end of the work.

【0073】なお、本実施の形態では液検出センサを用
いて滴下の確認を行なっているが、ポンプを起動してか
ら一定期間をおいてから作業を開始することでも同様の
効果が得られる。しかしながら、このような方法はポン
プが動作していても液が滴下口まで本当に来ているかど
うかを確認していないので、確実な方法ではない。
Although the liquid detection sensor is used to confirm the dropping in the present embodiment, the same effect can be obtained by starting the work after a certain period from the start of the pump. However, such a method is not a reliable method because it is not confirmed whether the liquid really reaches the drip port even if the pump is operating.

【0074】このような通常のカード再生方法とは別
に、教示の際にカードに記憶された塗布厚を用いずに、
強制的に乾拭きで作業を実行する作業方法(強制乾拭き
モード)も用意されている。
Apart from such a normal card reproducing method, without using the coating thickness stored in the card at the time of teaching,
There is also a work method (forced dry wiping mode) for forcibly performing work with a dry wipe.

【0075】操作者が清掃ロボットのスタートボタン9
0を押しながら、液排出ボタンを押すと、清掃ロボット
はカードに記憶されている塗布厚にかかわらず、洗浄液
を滴下することなしに、記憶してある経路を走行する。
The operator operates the start button 9 of the cleaning robot.
When the liquid discharge button is pressed while pressing 0, the cleaning robot runs the stored route without dropping the cleaning liquid regardless of the coating thickness stored in the card.

【0076】この強制乾拭きモードでは、清浄パッドと
して乾拭き用のワイピングクロスを使用すれば、清掃効
果が向上する。従来技術においては、この強制乾拭きモ
ードがなかったために、同一の作業内容で洗浄液を用い
る場合と乾拭きの場合とがあれば、2枚のカードを用意
する必要があった。しかし、このように強制乾拭きモー
ドを用意することで、カードには洗浄液を用いて清掃を
行なう際の塗布厚を記憶しておけば、乾拭きを実行する
際にもそのカードを使用することができる。これにより
カードを1枚作成するだけで乾拭きと洗浄液を用いた清
掃との両方を行なうことができる。
In this forced dry wiping mode, if a wiping cloth for dry wiping is used as the cleaning pad, the cleaning effect is improved. In the prior art, since there is no forced dry wiping mode, it is necessary to prepare two cards depending on whether the cleaning solution is used for the same work content or the case of dry wiping. However, by preparing the forced dry wiping mode in this way, if the application thickness when cleaning with a cleaning liquid is stored in the card, the card can be used even when performing dry wiping. . As a result, it is possible to perform both dry wiping and cleaning using a cleaning liquid by creating one card.

【0077】清掃ロボットの使い方2には(1)操縦モ
ード、(2)教示モード、(3)編集モードの3種類の
モードが設けられている。以下各々のモードでの動作に
ついて説明する。
The usage 2 of the cleaning robot is provided with three types of modes: (1) control mode, (2) teaching mode, and (3) editing mode. The operation in each mode will be described below.

【0078】(1) 操縦モード 図11は操縦モードにおける処理を示すフローチャート
である。
(1) Steering Mode FIG. 11 is a flowchart showing the processing in the steering mode.

【0079】図を参照して、ステップ♯102で、操作
者がコントローラを用いて動作の内容を入力する。これ
により清掃ロボットは遠隔操作される。ユーザは主とし
てコントローラの右側に位置する十字カーソルボタン3
5とコントローラ左側に位置する動作シフトボタン群4
0の組合せで、ロボットに対して動作の指示を行なう。
操縦モードでの清掃作業ロボットの洗浄液の塗布厚は、
コントローラに含まれる液量ダイヤルで設定される。
Referring to the figure, in step # 102, the operator inputs the content of the operation using the controller. As a result, the cleaning robot is remotely controlled. The user mainly uses the cross cursor button 3 located on the right side of the controller.
5 and operation shift button group 4 located on the left side of the controller
With a combination of 0, operation instructions are given to the robot.
Cleaning work in the control mode
It is set by the liquid volume dial included in the controller.

【0080】ステップ♯103において、コントローラ
は通信部48を用いて命令を清掃ロボットに対して送出
する。
In step # 103, the controller sends a command to the cleaning robot using the communication section 48.

【0081】ステップ♯104においてロボットはコマ
ンドを受信する。ステップ♯105でロボットはそのコ
マンドを解析し、ステップ♯106で解析されたコマン
ドを実行する。
In step # 104, the robot receives the command. The robot analyzes the command in step # 105, and executes the command analyzed in step # 106.

【0082】ステップ♯102からの動作は操縦モード
が終了するまで繰返し行なわれる。たとえば前進や後退
を行なわせるときには、操作者は動作シフトボタン群を
使用することなく、十字カーソルボタンでロボットの進
行方向を入力する。ボタンが押されたときに、清掃ロボ
ットは走行を開始する。
The operation from step # 102 is repeated until the operation mode is completed. For example, when moving forward or backward, the operator does not use the operation shift button group, but inputs the traveling direction of the robot with the cross cursor button. The cleaning robot starts traveling when the button is pressed.

【0083】このとき清掃ロボットはコントローラから
の動作の指示を受取ると、現在自分が置かれている環境
をセンサにより判断し、最も適切な前進方法や後退方法
をいくつかの動作方法の中から選択して実行する。
At this time, when the cleaning robot receives the operation instruction from the controller, it judges the environment in which it is currently placed by the sensor and selects the most appropriate forward or backward method from among several operation methods. Then run.

【0084】たとえばコントローラから前進の命令が出
力されたときの動作について、図12のフローチャート
を参照して説明する。
The operation when a forward command is output from the controller will be described with reference to the flowchart of FIG.

【0085】ステップ♯401で前進命令が入力された
のであれば、ステップ♯402で、左右のいずれかの倣
いセンサが壁に接触しているか否かが判定される。ステ
ップ♯402でYESであれば、ステップ406におい
て倣い走行が実行される。
If the forward command is input in step # 401, it is determined in step # 402 whether any of the left and right scanning sensors is in contact with the wall. If YES at step # 402, copying travel is executed at step 406.

【0086】ステップ♯402でNOである場合は、ス
テップ♯403で左右の壁までの距離を測距センサ6に
より測距できるか否かが判定される。ステップ♯403
でYESであれば、ステップ♯405で測距センサによ
る測距を行ないながら前進する測距前進が実行される。
なお測距前進においては、左右両側の壁が測距できる場
合には、左右両側の壁までの距離を測距しながら前進を
行なう。片方の壁しか測距できない場合には、片方の壁
のみを測距しながら前進が行なわれる。
If NO in step # 402, it is determined in step # 403 whether the distance to the left and right walls can be measured by the distance measuring sensor 6. Step # 403
If YES is determined in step # 405, the distance-measuring and advancing operation is performed in which the distance-measuring sensor measures the distance and advances.
In the distance measurement forward, when the distance between the left and right walls can be measured, the distance is measured while measuring the distance to the left and right walls. When only one wall can be used for distance measurement, the vehicle is moved forward while measuring only one wall.

【0087】ステップ♯403でNOであれば、センサ
類を使用しないで、エンコーダ79により車輪の回転数
が左右で一定となるように走行を行なう通常前進が実行
される。
If NO at step # 403, the sensors 79 are not used, and the encoder 79 executes the normal forward movement for traveling so that the rotation speed of the wheels is constant on the left and right.

【0088】すなわち前進または後退動作時には、その
直進性を保つために4つの方法が用意されている(図1
3〜図17)。
That is, four methods are prepared in order to maintain the straightness at the time of forward or backward movement (FIG. 1).
3 to FIG. 17).

【0089】壁に接触した倣いセンサが離れないように
走行を行なう方法(図13、図14)と、車体の両側の
壁までの距離の比率を一定に保つように走行する方法
(図15)と、片側の壁までの距離を一定に保つように
走行する方法(図16)と、車輪の回転数を左右同数に
なるように走行する方法(図17)とである。
A method of running so that the scanning sensor in contact with the wall does not separate (FIGS. 13 and 14), and a method of running so that the ratio of the distances to the walls on both sides of the vehicle body is kept constant (FIG. 15). And a method of traveling so that the distance to one wall is kept constant (FIG. 16), and a method of traveling so that the rotational speeds of the wheels are the same on the left and right sides (FIG. 17).

【0090】図12に示されるフローチャートでの処理
により、まず倣いセンサ8が接触している場合には、図
13、14の壁際を走行する倣い走行が選択される。倣
いセンサ8の接触がなく、赤外線測距センサ6で左右両
側ともに壁までの距離が測定できる場合には、図15の
ように前進中も定期的に壁までの距離を測定し、左右の
壁までの距離の比率を一定に保つように走行が行なわれ
る。
By the processing in the flowchart shown in FIG. 12, first, when the scanning sensor 8 is in contact, the scanning traveling along the wall shown in FIGS. 13 and 14 is selected. If there is no contact of the scanning sensor 8 and the distance to the wall can be measured on both the left and right sides by the infrared distance measuring sensor 6, the distance to the wall is regularly measured during forward movement as shown in FIG. Driving is carried out so that the ratio of distances to is kept constant.

【0091】片側の壁が測距できる場合には、図16の
ように測距結果が一定になるように制御する方法が選択
され、赤外線測距センサで距離が測定できない場合に
は、図17のセンサ類を使用しないで車輪の回転数が一
定になるような走行が実行される。
When the distance on one wall can be measured, the method of controlling the distance measurement result to be constant as shown in FIG. 16 is selected. When the distance cannot be measured by the infrared distance measuring sensor, the method shown in FIG. The traveling is performed so that the rotation speed of the wheels is constant without using the sensors of.

【0092】したがって、倣い走行、両側測距走行、片
側測距走行、車輪の回転数を検出する走行の順で、走行
方法は選択される。この選択の順序は、直進性の高い走
行方法、つまり最も信頼性の高い走行方法を選ぶための
ものである。
Therefore, the traveling method is selected in the order of the profile traveling, the distance measuring traveling on both sides, the distance measuring traveling on one side, and the traveling detecting the rotational speed of the wheels. This order of selection is for selecting a traveling method having a high straightness, that is, a traveling method having the highest reliability.

【0093】選択は清掃ロボット側で行なわれ、操作者
は前進/後退だけを指示するだけでよいので、簡単に動
作を指示することができる。
The selection is performed on the cleaning robot side, and the operator only has to instruct the forward / backward movement, so that the operation can be easily instructed.

【0094】なおセンサを使用しない走行中には、十字
カーソルボタンの左側方向または右側方向を押すことに
より、左または右カーブが開始される。
When the sensor is not used, the left or right curve is started by pressing the left or right direction of the cross cursor button.

【0095】カーブは左右のモータの回転数や回転方向
を変化させることにより実行される。左方向や右方向の
ボタンが離されることによりカーブ動作が終了し、直進
走行動作が続けて行なわれる。
The curve is executed by changing the rotation speed and the rotation direction of the left and right motors. When the left or right direction button is released, the curve operation ends, and the straight traveling operation continues.

【0096】各走行において、前進または後進動作を停
止するには、十字カーソルボタンの中央に位置する中央
ボタンを押すことにより動作が停止される。
In each run, in order to stop the forward or backward movement, the operation is stopped by pressing the center button located at the center of the cross cursor button.

【0097】(2) 教示モード 教示モードにおいては、操縦モードと同様に、ユーザは
コントローラを用いて清掃ロボットを遠隔操作する。こ
れにより清掃作業や走行経路の実走が行なわれ、その命
令と結果とがメモリに記憶される。
(2) Teaching Mode In the teaching mode, the user remotely operates the cleaning robot using the controller, as in the control mode. As a result, the cleaning work and the actual running of the travel route are performed, and the command and the result are stored in the memory.

【0098】教示モードにおいて、操作者は前進、後
退、右カーブ、左カーブ、左回転、右回転、左Uター
ン、右Uターン、左横移動、右横移動、清掃作業部の左
移動、清掃作業部の右移動、右ジグザグ走行および左ジ
グザグ走行の命令を入力することが可能である。
In the teaching mode, the operator moves forward, backward, right curve, left curve, left rotation, right rotation, left U-turn, right U-turn, left lateral movement, right lateral movement, cleaning operation section left movement, cleaning. It is possible to input commands for right movement of the work unit, right zigzag traveling, and left zigzag traveling.

【0099】また、それらの命令以外にも、ロボットを
指定期間だけ停止させるための一旦停止コマンドが用意
されている。一旦停止コマンドの入力の際には、図19
に示される画面が表示部49に表示される。一旦停止コ
マンドにより、停止する時間を秒単位で指定することが
可能である。たとえば狭い道から広い道へロボットが出
ていくときに、広い道へ出る少し前に、清掃ロボットを
一旦停止させることにより、周囲にいる人に注意を喚起
することができる。
In addition to these commands, a temporary stop command for stopping the robot for a designated period is prepared. When inputting the stop command,
The screen shown in is displayed on the display unit 49. It is possible to specify the stop time in seconds with the stop command once. For example, when the robot goes out from a narrow road to a wide road, the cleaning robot may be temporarily stopped just before the robot goes out to the wide road, so that people around the robot can be alerted.

【0100】なお一旦停止コマンドの停止時間として、
“0”を指定すると、実際に停止は行なわれない。
“0”を指定したときには、後述する命令の前後での合
成を禁止することができる。
As the stop time of the temporary stop command,
If "0" is specified, the stop is not actually performed.
When "0" is specified, composition before and after an instruction described later can be prohibited.

【0101】命令と結果とを記憶するメモリは作業ロボ
ット本体側にあり、メモリカードをメモリとして用いて
もよいし、内蔵メモリを用いてもよい。
The memory for storing the instruction and the result is on the side of the work robot body, and the memory card may be used as the memory or the built-in memory may be used.

【0102】メモリに記憶された命令群は、清掃ロボッ
ト本体から、またはコントローラからの開始命令で再生
することができる。記憶された動作は開始命令により何
度も同じように確実に繰返すことができる。
The command group stored in the memory can be reproduced from the cleaning robot body or by a start command from the controller. The stored operation can be reliably repeated in the same manner many times by the start command.

【0103】操作者は教示開始時には、実際の清掃と同
じコースを走行させるために、清掃ロボット本体を作業
の開始位置に誘導する。この誘導はコントローラの遠隔
操作によってもよいが、運搬して設置してもよい。教示
時には、実際の清掃と同様に洗浄液を滴下し、ロータを
回転させてもよいが、教示の際には作業は行なうことな
しに、走行経路を走行させたり、作業動作を仮に実行さ
せるだけでもよい。
At the start of teaching, the operator guides the cleaning robot main body to the work start position in order to travel the same course as the actual cleaning. This guidance may be carried out by remote control of the controller or may be carried and installed. At the time of teaching, the cleaning liquid may be dropped and the rotor may be rotated as in the case of actual cleaning. However, at the time of teaching, it is possible to travel along the travel route or temporarily perform the work operation without performing work. Good.

【0104】図18は教示モードにおける処理を示すフ
ローチャートである。操作者は操縦モードで実行するの
と同じようにコントローラを操作してロボットを走行さ
せる(図18のステップ♯202)。
FIG. 18 is a flow chart showing the processing in the teaching mode. The operator runs the robot by operating the controller in the same manner as in the control mode (step # 202 in FIG. 18).

【0105】コントローラから送信された命令は清掃ロ
ボット本体により受信される。清掃ロボット本体では現
在の周囲の状況を測定し、コントローラが要求している
動作を実行するために適当な動作を選択し実行する。そ
の際に実行された結果である動作命令群は、コントロー
ラ側に結果として返信され、コントローラ上のメモリに
記憶される(ステップ♯203)。
The command transmitted from the controller is received by the cleaning robot main body. The cleaning robot body measures the current surrounding conditions, and selects and executes an appropriate operation in order to execute the operation requested by the controller. The operation command group, which is the result executed at that time, is returned as a result to the controller side and stored in the memory on the controller (step # 203).

【0106】教示を終了する(ステップ♯204でYE
S)と、コントローラ上のメモリには、教示の結果であ
る動作命令群が記憶されている。教示終了後に、コント
ローラは教示命令の最適化を行なう(ステップ♯20
5)。最適化については後述する。
The teaching is finished (YE at step # 204).
S) and the memory on the controller store the operation command group as a result of the teaching. After the teaching is completed, the controller optimizes the teaching instruction (step # 20).
5). The optimization will be described later.

【0107】教示命令の最適化を終了した後、コントロ
ーラからロボット本体側に作成された命令を再度送信し
(ステップ♯206)、本体側メモリはこれを記憶する
(ステップ♯207)。
After the optimization of the teaching command is completed, the controller transmits the command prepared to the robot body side again (step # 206), and the body memory stores it (step # 207).

【0108】使い方1の再生時にはこの記憶された命令
群が再生される。これにより所望の作業を間違いなく何
度でも実行できる。
When the usage 1 is reproduced, the stored instruction group is reproduced. This allows the desired work to be executed without fail as many times as desired.

【0109】なお教示の際の洗浄液の塗布厚は操縦モー
ドと同様にコントローラの液量ダイヤルで設定される。
The coating thickness of the cleaning liquid at the time of teaching is set by the liquid amount dial of the controller as in the operation mode.

【0110】なおこのメモリカードの再生時において、
たとえば前進動作を再生実行する際、記憶されている命
令が「壁倣い走行」であるのに、再生前の障害物や壁の
状況で該当する箇所のセンサに何の接触もないときに
は、再生エラーとして警告がリモコンに表示され、警告
音が発せられる。これにより操作者はメモリカードが作
業を行なう領域に対応したものでないことを知ることが
できる。
When reproducing this memory card,
For example, when playing back the forward motion, if the stored command is “wall-following running”, but there is no contact with the sensor at the relevant location due to obstacles or walls before playback, a playback error will occur. Is displayed on the remote control and a warning sound is emitted. This allows the operator to know that the memory card does not correspond to the working area.

【0111】次に教示の最適化(図18のステップ♯2
05)の内容について説明する。たとえば操作者がロボ
ットを目視しながら適当な距離だけ進めるように教示す
る場合には、まず前進コマンドを送信し、ロボットを前
進させる。操作者はロボットが所望の位置で停止するよ
うにストップコマンドを送信する。しかし、停止操作が
遅れたり、または早すぎたりしてロボットが目標位置を
行き過ぎてしまったり、目標位置に到達する前に停止し
てしまう場合がある。このようなときには、操作者は細
かく前進コマンドや後退コマンドを送り、微調整を行な
う必要がある。たとえば図20を参照して、本来は作業
の開始位置から目標位置まで清掃ロボットの前進を行な
う1つのコマンドを教示させたいところが、結果として
図21に示されるように目標位置に到達しないうちに停
止してしまったり、図22に示されるように目標位置を
超えてしまう場合があるのである。このような教示内容
を記憶して、そのまま再生をすると開始位置から目標位
置までを走行することはできるが、教示のときに行なっ
た微調整まで再生されてしまう。
Next, the teaching is optimized (step # 2 in FIG. 18).
The contents of 05) will be described. For example, when the operator teaches the robot to advance an appropriate distance while visually observing the robot, first, an advance command is transmitted to advance the robot. The operator sends a stop command to stop the robot at a desired position. However, the stop operation may be delayed or too early, and the robot may overshoot the target position or may stop before reaching the target position. In such a case, the operator needs to finely adjust the forward and backward commands to make fine adjustments. For example, referring to FIG. 20, it is originally desired to teach one command for advancing the cleaning robot from the start position of the work to the target position, but as a result, as shown in FIG. 21, the command is stopped before the target position is reached. In some cases, the target position may be exceeded as shown in FIG. If such teaching contents are stored and reproduced as it is, the vehicle can travel from the start position to the target position, but the fine adjustment made at the time of teaching is also reproduced.

【0112】このような問題を解決するため、本実施の
形態における清掃ロボットは最適化により連続した直進
系のコマンドを合成し、1つの直進系コマンドに変換す
る。これにより本当に教示したいコマンドを記憶させる
ことが可能である。
In order to solve such a problem, the cleaning robot according to the present embodiment optimizes a combination of continuous linear movement commands and converts them into one linear movement command. This makes it possible to store a command that one really wants to teach.

【0113】前述の説明どおり、教示モードにおいて操
作者が出力した命令によりロボットが行なった動作は、
一旦コントローラ上のメモリに記憶される(図18のス
テップ♯203)。操作者が教示終了ボタンを押すこと
により、コントローラは合成を開始する。
As described above, the operation performed by the robot in accordance with the instruction output by the operator in the teaching mode is as follows.
It is once stored in the memory on the controller (step # 203 in FIG. 18). When the operator presses the teaching end button, the controller starts composition.

【0114】メモリに記録された動作命令の最初からス
キャンが行なわれ、連続する直進系の命令が発見される
と、その走行距離を前進の場合は加算、後退の場合には
減算してさらにスキャンが続けられる。直進系の命令の
連続が終了した場合には、以上の合成を終了し、走行距
離の和が走行距離と一致する1つの命令に統合される。
教示結果として記憶されるのは、この統合された距離を
走行する命令である。もちろん合成の結果、走行距離が
負になった場合には、前進命令が後退命令に置換され
る。
When the operation command recorded in the memory is scanned from the beginning and a continuous linear command is found, the traveling distance is further scanned for forward travel and subtracted for backward travel, and further scanned. Can be continued. When the series of straight-ahead commands is completed, the above synthesis is completed, and the sum of the traveling distances is integrated into one instruction that matches the traveling distance.
What is stored as a teaching result is a command to travel the integrated distance. Of course, when the mileage becomes negative as a result of the combination, the forward command is replaced with the backward command.

【0115】図27および28は教示された命令の合成
処理を示すフローチャートである。図を参照して、ステ
ップ♯502で、メモリに記憶されている動作命令の1
つを指すメモリポインタが記憶の開始位置に設定され
る。
27 and 28 are flow charts showing the synthesis processing of the taught instruction. Referring to the figure, in step # 502, one of the operation instructions stored in the memory
A memory pointer that points to one is set at the start of storage.

【0116】ステップ♯503で、メモリポインタの示
している位置に記憶された命令が読出される。
At step # 503, the instruction stored at the position indicated by the memory pointer is read.

【0117】ステップ♯504でその命令が最適化でき
る命令であるか否かかが判定される。
At step # 504, it is determined whether or not the instruction can be optimized.

【0118】ステップ♯504でYESであれば、ステ
ップ♯505で走行距離が記憶される。
If YES at step # 504, the traveling distance is stored at step # 505.

【0119】ステップ♯506で読出された命令が一旦
記憶される。ステップ♯507でメモリポインタが1進
められる。
The instruction read in step # 506 is temporarily stored. In step # 507, the memory pointer is advanced by 1.

【0120】ステップ♯508で、メモリポインタの示
す位置に記憶されている命令がステップ♯506で一旦
記憶された命令と同系列の命令であるか否かが判定され
る。ステップ♯508でYESであれば、ステップ♯5
15で命令の向きが同じであるか否かが判定される。
At step # 508, it is determined whether the instruction stored at the position indicated by the memory pointer is of the same series as the instruction once stored at step # 506. If YES at step # 508, step # 5
At 15, it is determined whether the directions of the instructions are the same.

【0121】ステップ♯505でYESであれば、ステ
ップ♯517で走行距離は加算され、ステップ♯515
でNOであれば、ステップ♯516で走行距離は減算さ
れる。
If YES at step # 505, the traveling distance is added at step # 517, and then step # 515.
If NO at step # 516, the travel distance is subtracted at step # 516.

【0122】ステップ♯516または♯517での処理
の後、ステップ♯507からの処理が繰返し行なわれ
る。
After the processing in step # 516 or # 517, the processing from step # 507 is repeated.

【0123】ステップ♯508でNOであれば、ステッ
プ♯509で、記憶中のパラメータ(走行距離)は正の
値か否かが判定される。
If NO at step # 508, it is determined at step # 509 whether or not the stored parameter (running distance) is a positive value.

【0124】ステップ♯509でNOであれば、ステッ
プ♯510で一旦記憶された命令の進行方向を逆転命令
にし、距離を絶対値に変換する。
If NO at step # 509, the traveling direction of the instruction once stored at step # 510 is changed to the reverse rotation instruction, and the distance is converted into an absolute value.

【0125】ステップ♯511でパラメータが動作限界
を超えているか否かが判定され、YESであればステッ
プ♯512で命令は限界値を超えないように2つ以上の
命令に分割される。
In step # 511, it is determined whether or not the parameter exceeds the operation limit, and if YES, the instruction is divided into two or more instructions so that the limit value is not exceeded in step # 512.

【0126】ステップ♯513で命令がパラメータとと
もに教示データとしてメモリに記憶される。
At step # 513, the instruction is stored in the memory as teaching data together with the parameter.

【0127】ステップ♯514でメモリポインタの示し
ている位置がメモリの最後であるか否かが判定され、Y
ESであれば教示データの最適化を終了する。
In step # 514, it is determined whether or not the position indicated by the memory pointer is the end of the memory, and Y
If it is ES, the optimization of the teaching data is completed.

【0128】ステップ♯514でNOであれば、ステッ
プ♯518でメモリポインタは1インクリメントされ、
ステップ♯503からの処理が繰返し行なわれる。
If NO at step # 514, the memory pointer is incremented by 1 at step # 518,
The process from step # 503 is repeated.

【0129】なおステップ♯504でNOであれば、ス
テップ♯513からの処理を行なう。
If NO at step # 504, the process from step # 513 is performed.

【0130】またステップ♯509でYESであれば、
ステップ♯511からの処理が行なわれる。
If YES at step # 509,
The processing from step # 511 is performed.

【0131】ステップ♯511でNOであれば、ステッ
プ♯513からの処理が行なわれる。
If NO at step # 511, the processes from step # 513 are performed.

【0132】なお前述のように直進系の命令の間に停止
時間を“0”とした一旦停止コマンドを挿入すること
で、合成の禁止を簡単に設定することができる。これは
ロボットが清掃などの作業で、前進、後退を繰返しなが
ら同じ場所で念入りに作業を実施するような箇所で有効
に用いることが可能である。なお前後進などの直進系の
命令だけではなく、本体の回転動作でも直進の際の合成
と同じように命令が連続した場合には、その回転角度を
加減算して1つの命令にすることができる。たとえば図
23を参照して開始位置から目標位置まで清掃ロボット
を回転操作したい場合に、目標位置を過ぎてしまったり
(図24)、目標位置の手前で回転が終了してしまった
り(図25)する場合がある。このような場合に直進の
際の合成と同じように同一系統の命令が連続した場合に
も、その回転角度を加減算して、1つの回転命令に合成
をすることができる。つまり前述の直進系の命令と同様
に、回転方向によって回転角度の加減算が行なわれ、結
果を1つの命令に置換えるのである。
As described above, by inserting a temporary stop command with a stop time of "0" between straight-ahead instructions, it is possible to easily set prohibition of synthesis. This can be effectively used in a place where the robot performs cleaning work or the like and performs the work carefully in the same place while repeating forward and backward movements. In addition to linear commands such as forward and backward, if the commands are continuous in the rotation operation of the main body, as in the case of combining when moving straight, the rotation angle can be added or subtracted into one command. . For example, referring to FIG. 23, when it is desired to rotate the cleaning robot from the start position to the target position, the target robot may pass the target position (FIG. 24) or the rotation may end before the target position (FIG. 25). There is a case. In such a case, even when the commands of the same system are consecutive as in the case of the straight-line combination, the rotation angles can be added / subtracted to be combined into one rotation command. That is, as in the case of the straight-ahead instructions, the rotation angle is added or subtracted depending on the rotation direction, and the result is replaced with a single instruction.

【0133】回転命令などでは、清掃ロボットが一度に
回転できる角度が限定されることが多い。合成によって
生成された角度が清掃ロボットの実行できる限界の角度
を超えてしまった場合には、清掃ロボットが回転できる
角度の命令に分割して複数の命令に置換えて命令は記憶
される。
In many cases, the rotation command or the like limits the angle at which the cleaning robot can rotate at one time. When the angle generated by the synthesis exceeds the limit angle that the cleaning robot can execute, it is divided into a command of an angle at which the cleaning robot can rotate and replaced with a plurality of commands, and the command is stored.

【0134】たとえば、清掃ロボットが一度に90度ま
でしか回転しかできない場合に、合成の結果が100度
になったとすると、この場合は90度の回転命令と、1
0度の回転命令とに分割して記憶するのである。
For example, if the cleaning robot can only rotate up to 90 degrees at a time and the result of synthesis is 100 degrees, in this case a rotation command of 90 degrees and 1
It is divided into a 0 degree rotation command and stored.

【0135】上記の命令以外でも、たとえば本実施の形
態における清掃ロボットは清掃作業部が左右に移動可能
であるが、このような正逆の向きを有する動作命令につ
いては、同様に命令を合成し動作を簡略することが可能
となる。すなわち、図26(A)に示される清掃作業部
の右方向の移動や、図26(B)に示される左方向の移
動を合成し、図26(C)に示されるような1つの命令
に合成するのである。
In addition to the above commands, for example, in the cleaning robot according to the present embodiment, the cleaning work unit can move to the left and right. However, with respect to the motion commands having such forward and reverse directions, the commands are similarly synthesized. It is possible to simplify the operation. That is, the rightward movement of the cleaning work unit shown in FIG. 26 (A) and the leftward movement shown in FIG. 26 (B) are combined into one command as shown in FIG. 26 (C). To synthesize.

【0136】なお、本実施の形態では、命令の合成は、
清掃ロボットが実行した結果を記憶しているコントロー
ラのメモリ上をメモリポインタでスキャンすることで行
なっている。本実施の形態ではコントローラ側で合成を
行なったが、教示終了後教示データをロボット本体側で
合成してもよい。
In this embodiment, the instruction composition is
This is done by scanning the memory of the controller, which stores the result executed by the cleaning robot, with a memory pointer. In this embodiment, the controller side synthesizes the teaching data, but the teaching data may be synthesized on the robot body side after the teaching is completed.

【0137】次に教示結果の合成の具体例について説明
する。図29(A)のようにメモリ上に♯201番地か
ら♯206番地までの命令が記憶されている場合を想定
する。教示データの最適化が行なわれた場合には、先頭
番地からスキャンが開始される。♯201番地までスキ
ャンが行なわれたところで、♯201番地の命令は前進
命令であり、合成可能な命令であるので、合成が開始さ
れる。次にスキャンが進められた♯202番地での命令
は後退命令で、合成可能な命令であるが向きは逆である
ので、先に記憶された距離(120)からこの命令の距
離が減算される。♯203番地の命令も同様に後退命令
であるので、距離は減算される。♯204番地の命令は
前進命令であるので、距離は加算される。♯205番地
の命令は回転命令であり、直進系の命令はここで終了す
るので、合成結果は♯x番地に記憶され、直進系命令の
合成が終了する。
Next, a specific example of combining the teaching results will be described. Assume that the instructions from address # 201 to address # 206 are stored in the memory as shown in FIG. When the teaching data is optimized, the scan is started from the head address. When the scan is performed up to the address # 201, the instruction at the address # 201 is the forward instruction and the instruction that can be combined, so that the combination is started. The instruction at address # 202 where the scan is advanced next is a backward instruction, and although it is a synthesizable instruction but in the opposite direction, the distance of this instruction is subtracted from the previously stored distance (120). . The instruction at address # 203 is also a backward instruction, so the distance is subtracted. Since the instruction at address # 204 is a forward instruction, the distance is added. Since the instruction at address # 205 is a rotation instruction, and the straight advance instruction ends here, the synthesis result is stored at address #x and the synthesis of the straight advance instruction ends.

【0138】♯205番地の回転命令は合成可能な命令
ではあるが、♯206番地には直進系の命令が続くので
合成を行なうことはできない。
Although the rotation instruction at address # 205 is a command that can be combined, it cannot be combined at address # 206 because it is followed by a linear instruction.

【0139】このようにして記憶されている命令の最後
まで順にスキャンされた結果、図29(B)に示される
内容がメモリには記憶される。図を参照して、♯x番地
には、図29(A)の♯201番地から♯204番地ま
での内容を加減算した結果が記録されている。
As a result of the sequential scanning up to the end of the instructions thus stored, the contents shown in FIG. 29B are stored in the memory. Referring to the figure, at #x, the result of addition / subtraction of the contents from # 201 to # 204 of FIG. 29A is recorded.

【0140】また、図30(A)を参照して、♯202
番地、♯205番地に“0”秒の停止命令が記入されて
いる場合には、その前後の命令の合成は行なわれない。
Further, referring to FIG. 30A, # 202
If a stop command of "0" seconds is written in the address # 205, the commands before and after the stop command are not combined.

【0141】これにより、合成後のデータは、図30
(B)に示されるように、同系列の命令が連続する場合
にもそれらの命令が統合されないこととなる。
As a result, the data after synthesis is shown in FIG.
As shown in (B), even if the same series of instructions continue, those instructions are not integrated.

【0142】(3) 編集モード 図31は編集モードにおける処理の流れを示すフローチ
ャートである。
(3) Edit Mode FIG. 31 is a flowchart showing the flow of processing in the edit mode.

【0143】図を参照して、ステップ♯302において
ロボットのメモリ内に記憶されている動作が再生され
る。再生は1つの命令ごとに行なわれ、ステップ♯30
3において、図32に示されるように、再生される内容
が表示部に表示され、以降の記憶された内容を削除する
か実行するかがユーザにより選択される。削除が選択さ
れたとき(ステップ♯303でYES)は、ステップ♯
304で新しい教示を追加するか否かがユーザにより入
力される。
Referring to the figure, in step # 302, the motion stored in the memory of the robot is reproduced. Playback is performed for each instruction, and step # 30
In FIG. 3, the content to be reproduced is displayed on the display unit as shown in FIG. 32, and the user selects whether to delete or execute the stored content thereafter. If deletion is selected (YES in step # 303), step #
At 304, the user inputs whether to add a new teaching.

【0144】ステップ♯304でYESであれば、ステ
ップ♯305で図18に示される教示モードと同様の処
理が行なわれ、新しい教示内容が追加される。
If YES at step # 304, a process similar to the teaching mode shown in FIG. 18 is performed at step # 305, and new teaching contents are added.

【0145】ステップ♯306で元の動作内容と新しく
追加された内容とが連結される。ステップ♯307にお
いて、連結された内容はロボットに送信され、ステップ
♯308においてメモリに記憶される。
At step # 306, the original operation content and the newly added content are linked. The linked contents are transmitted to the robot in step # 307, and stored in the memory in step # 308.

【0146】なおステップ♯303でNOであれば、ス
テップ♯302からの処理が行なわれ、ステップ♯30
4でNOであれば、ステップ♯307からの処理が行な
われる。
If NO at step # 303, the processes from step # 302 are performed, and step # 30.
If NO in step 4, the processing from step # 307 is performed.

【0147】次に編集モードにおける具体的な操作内容
について説明する。編集モードは、既に教示モードで作
成した動作内容をコントローラを用いて削除、変更また
は追加するためのモードである。教示の方法と同様に、
ロボットを動作させながら編集は行なわれる。
Next, the specific operation contents in the edit mode will be described. The edit mode is a mode for deleting, changing or adding the operation content already created in the teaching mode using the controller. Similar to the method of teaching,
Editing is performed while operating the robot.

【0148】まず、操作者は編集するカードをロボット
に挿入し、ロボットを動作開始位置に誘導する。誘導は
教示と同様に、コントローラの遠隔操作によってもよい
が、運搬して設置してもよい。またこのとき実際の清掃
と同様にロータを回転させ作業をさせてもよいが、教示
の場合と同様に作業は行なうことなしに仮に走行経路を
走行させたり、作業動作を仮に実行させるだけでもよ
い。
First, the operator inserts the card to be edited into the robot and guides the robot to the operation start position. As with the teaching, the guidance may be performed by remote control of the controller or may be carried and installed. Further, at this time, the rotor may be rotated to perform the work as in the actual cleaning, but as in the case of the teaching, the work may be tentatively traveled or the work operation may be temporarily performed without performing the work. .

【0149】編集モードに入ると、本体のメモリカード
よりコントローラへデータの読込が行なわれる。読込ま
れたデータは順次実行され、変更したい箇所までロボッ
トの作業は進められる。
When entering the edit mode, data is read from the memory card of the main body to the controller. The read data is sequentially executed, and the work of the robot is advanced to the place to be changed.

【0150】図32に示されるコントローラのメニュー
画面のように編集モードでは、次に実行する命令が表示
され、さらに実行するか、これ以降の命令群を削除する
かの何れかを選択できるようになっている。ユーザば十
字カーソルボタンの左右キーで選択して、設定ボタンを
設定することにより選択を行なうことができる。実行を
選択した場合には、作業が行なわれ、次の動作について
同様の確認画面が表示される。
In the edit mode as in the menu screen of the controller shown in FIG. 32, the next command to be executed is displayed, and it is possible to select either further execution or deletion of the subsequent command group. Has become. The user can select by using the left and right keys of the cross cursor button and setting the setting button. When the execution is selected, the work is performed, and the similar confirmation screen is displayed for the next operation.

【0151】削除を選択実行すると、メモリカードに記
憶されているこれ以降の命令群は削除され、新たな作業
を追加することができる。
When the deletion is selectively executed, the subsequent instruction group stored in the memory card is deleted and a new work can be added.

【0152】変更したい箇所までロボットの作業を進め
た後、新たな作業を追加する場合は、前述の教示の方法
と同様にロボットを実際に遠隔操作することにより、動
作命令群が作成される。編集の場合も教示の場合と同様
に、命令群は一旦コントローラのメモリに記憶され、そ
こで削除されなかった以前の命令群と新しく追加された
命令群を合せて、命令の合成が可能なものについて合成
が行なわれる。その後、ロボット側に合成の行なわれた
命令が送信され、ロボット本体のメモリもしくは外部の
メモリカードに記憶し直される。
When a new work is added after the work of the robot has been advanced to the position to be changed, the operation command group is created by actually remote-controlling the robot as in the above-mentioned teaching method. In the case of editing as well as in the case of teaching, the instruction group is temporarily stored in the memory of the controller, and the instruction group that is not deleted and the newly added instruction group can be combined to create a command Synthesis is performed. After that, the combined command is transmitted to the robot side and stored again in the memory of the robot body or an external memory card.

【0153】このように本実施の形態においては、前
進、後退、回転などの動作を実際に実行してロボットに
教示、編集する場合に、左右回転、前後進などの正逆の
向きを有する動作命令について、同一系統での動作命令
が複数連続する場合に、それぞれの命令を統合しその命
令を合成することができる。これにより、正確で効率の
よい動作を教示結果として取得することが可能である。
また、必要に応じて合成の禁止を行なうことも可能であ
る。
As described above, in the present embodiment, when actually performing operations such as forward movement, backward movement, and rotation to teach and edit to the robot, operations having forward and reverse directions such as left / right rotation and forward / backward movement are performed. Regarding the instructions, when a plurality of operation instructions in the same system are consecutive, the respective instructions can be integrated and the instructions can be combined. As a result, it is possible to acquire an accurate and efficient operation as a teaching result.
In addition, it is possible to prohibit the combination if necessary.

【0154】(第2の実施の形態)本発明の第2の実施
の形態における清掃ロボットとコントローラの構成は第
1の実施の形態と同様であるので、ここでの説明を繰返
さない。
(Second Embodiment) Since the configurations of the cleaning robot and the controller in the second embodiment of the present invention are the same as those in the first embodiment, the description thereof will not be repeated here.

【0155】本実施の形態における清掃ロボットは教示
終了後の最適化において、前命令の走行経路と次命令の
走行経路のうち、重複した部分が解消するように命令を
統合することを特徴としている。
The cleaning robot according to the present embodiment is characterized in that, in optimization after the end of teaching, the instructions are integrated so that the overlapping portions of the traveling route of the previous command and the traveling route of the next command are eliminated. .

【0156】図33および34は本実施の形態における
清掃ロボットが行なう命令の最適化処理を示すフローチ
ャートである。
33 and 34 are flowcharts showing the instruction optimizing process performed by the cleaning robot in the present embodiment.

【0157】図を参照して、ステップ♯602において
命令のスキャンが行なわれ、その命令がジグザグ走行の
終了に関する命令であるか否かが判定される。
Referring to the figure, an instruction is scanned in step # 602, and it is determined whether or not the instruction is an instruction related to the end of zigzag running.

【0158】ステップ♯602でYESであれば、ステ
ップ♯603で次の命令が180度方向転換する命令で
あるか否かが判定される。
If YES at step # 602, it is determined at step # 603 whether or not the next command is a command for turning 180 degrees.

【0159】ステップ♯603でYESであれば、ステ
ップ♯604で次の命令が前進命令であるか否か判定さ
れる。
If YES at step # 603, it is determined at step # 604 whether or not the next command is a forward command.

【0160】ステップ♯604でYESであれば、ステ
ップ♯605で、前進命令の前進の距離はジグザグ走行
の縦方向の長さと同じであるか否かが判定される。
If YES in step # 604, it is determined in step # 605 whether or not the forward distance of the forward command is the same as the length of the zigzag running in the vertical direction.

【0161】ステップ♯605でYESであれば、ステ
ップ♯606でジグザグ終了位置の変更が行なわれ、ジ
グザグ走行のUターンのピッチの再計算が行なわれる。
If YES in step # 605, the zigzag end position is changed in step # 606, and the U-turn pitch for zigzag traveling is recalculated.

【0162】ステップ♯604でNOであれば、ステッ
プ♯607で次にくる命令がジグザグ命令であるか否か
判定される。
If NO in step # 604, it is determined in step # 607 whether the next instruction is a zigzag instruction.

【0163】ステップ♯607でYESであれば、ステ
ップ♯608で最初のジグザグ命令の開始位置と次のジ
グザグ命令の終了位置との間で、ジグザグ走行を行なう
Uターンのピッチが再計算され、ここでの処理を終了す
る。
If YES in step # 607, in step # 608, the pitch of U-turns for zigzag traveling between the start position of the first zigzag command and the end position of the next zigzag command is recalculated. Ends the process in.

【0164】ステップ♯603または♯607でNOで
あれば、ここでの処理を終了する。ステップ♯605で
NOであれば、ステップ♯609で前進の距離の方が長
いか否か判定される。
If NO at step # 603 or # 607, the process here is terminated. If NO at step # 605, it is determined at step # 609 whether or not the forward distance is longer.

【0165】ステップ♯609でYESであれば、ステ
ップ♯610でジグザグ走行の最終レーンのUターン位
置がジグザグ命令の終了位置とされ、ジグザグ走行にお
けるUターンのピッチが再計算される。次にステップ♯
611で、前進の開始位置はジグザグ走行の終了位置に
変更され、前進の残りの距離を走行する命令が記憶さ
れ、ここでの処理を終了する。またステップ♯609で
NOであれば、ここでの処理は終了する。
If YES at step # 609, at step # 610, the U-turn position of the last lane of zigzag traveling is set as the end position of the zigzag command, and the pitch of U-turns during zigzag traveling is recalculated. Next step #
At 611, the start position of the forward movement is changed to the end position of the zigzag traveling, the instruction to travel the remaining distance of the forward movement is stored, and the processing here is terminated. If NO at step # 609, the process here ends.

【0166】ステップ♯602でNOであれば、ステッ
プ♯613で、読出された命令が前進の終了命令である
か否かが判定される。
If NO at step # 602, it is determined at step # 613 whether or not the read instruction is a forward end instruction.

【0167】ステップ♯613でYESであれば、ステ
ップ♯614で、次に来る命令が180度方向転換の命
令であるか否かが判定される。
If YES in step # 613, it is determined in step # 614 whether or not the next instruction is a 180-degree direction change instruction.

【0168】ステップ♯614でYESであれば、ステ
ップ♯615で次の命令がジグザグ走行に関する命令で
あるか否か判定される。
If YES in step # 614, it is determined in step # 615 whether or not the next command is a command related to zigzag running.

【0169】ステップ♯615でYESであれば、ステ
ップ♯616で前進の距離はジグザグ走行の縦方向の長
さと同じであるか否か判定され、YESであれば前進命
令が削除されステップ♯617でジグザグ走行の開始位
置が前進開始位置に変更され、ジグザグ走行のUターン
のピッチが再計算され、ここでの処理を終了する。
If YES at step # 615, it is determined at step # 616 whether or not the forward distance is the same as the length of the zigzag running in the vertical direction. If YES, the forward command is deleted and at step # 617. The start position of the zigzag traveling is changed to the forward start position, the pitch of the U-turn of the zigzag traveling is recalculated, and the processing here is ended.

【0170】ステップ♯616でNOであれば、ステッ
プ♯618で前進距離の方が長いか否か判定され、YE
Sであればステップ♯619で前進命令の終了位置がジ
グザグ走行の最初のレーンでのUターン位置に変更され
る。次にステップ♯620でジグザグ走行開始位置が、
ステップ♯619で変更した後の前進命令の終了位置に
変更され、ジグザグ走行のピッチが再計算される。
If NO at step # 616, it is determined at step # 618 whether the forward travel distance is longer or not.
If it is S, the end position of the forward command is changed to the U-turn position in the first lane of the zigzag running in step # 619. Next, in step # 620, the zigzag running start position is
The position is changed to the end position of the forward command after the change in step # 619, and the zigzag traveling pitch is recalculated.

【0171】なおステップ♯613、♯614、♯61
5または♯618でNOであれば、ここでの処理を終了
する。
Steps # 613, # 614, # 61
If NO at 5 or # 618, the process here is terminated.

【0172】以上のフローチャートで説明した処理の具
体的な動作例を図を用いて説明する。図35を参照して
作業をする領域の縦の長さLと横の長さdとをユーザが
入力することにより、その範囲内をくまなく走行するた
めのジグザグ走行のUターンのピッチPが算出される。
このときジグザグ走行と直進走行とが以下のように組合
せられている場合には、同じ箇所を走行することがない
ように、命令の合成が行なわれ、必要である場合には、
UターンのピッチPの再計算が行なわれる。
A specific operation example of the processing described in the above flowchart will be described with reference to the drawings. With reference to FIG. 35, the user inputs the vertical length L and the horizontal length d of the region to be worked, so that the U-turn pitch P of zigzag traveling for traveling all over the range is set. It is calculated.
At this time, when the zigzag traveling and the straight traveling are combined as follows, the instructions are combined so as not to travel at the same place, and if necessary,
Recalculation of the U-turn pitch P is performed.

【0173】たとえば図36に示されるジグザグ走行命
令の後に、180°方向転換をし、図37に示されるよ
うにジグザグ走行の最後の前進走行の向きと反対方向
で、ジグザグ走行の前進距離と等距離走行する前進命令
が記憶されている場合、図38に示されるようにジグザ
グ走行命令の終了位置が図36とは反対側に変更され、
ピッチが再計算されそれが教示結果として記憶される。
For example, after the zigzag traveling command shown in FIG. 36, the direction is changed by 180 °, and as shown in FIG. When the forward command to travel a distance is stored, as shown in FIG. 38, the end position of the zigzag travel command is changed to the opposite side of FIG. 36,
The pitch is recalculated and stored as the teaching result.

【0174】すなわち図36に示される8往復のジグザ
グ走行と、180°方向転換と、図37に示される前進
走行とが組合された結果、図38に示されるように7往
復半のジグザグ走行がメモリに記憶されるのである。
That is, as a result of combining the eight-reciprocal zigzag traveling shown in FIG. 36, the 180 ° direction change, and the forward traveling shown in FIG. 37, the seven reciprocating zigzag traveling as shown in FIG. It is stored in memory.

【0175】次に図39を参照して、前進走行命令の
後、180°方向転換をし、図40に示されるその前進
走行の向きと反対方向に向かって始まり、かつ前進距離
と等距離の前進走行を行なうジグザグ走行命令が続く場
合には、前進命令が削除され前進走行の終了位置がジグ
ザグ走行命令の開始位置に変更された後、ピッチが再計
算され、教示結果として記憶される。これにより、図3
9に示される前進動作と、図40に示される8往復のジ
グザグ走行とが合成され、図41に示される7往復半の
ジグザグ走行がメモリには記憶されることとなる。
Next, referring to FIG. 39, after the forward traveling command, the direction is changed by 180 ° and starts in the direction opposite to the direction of the forward traveling shown in FIG. 40, and is equal to the forward traveling distance. When the zigzag traveling command for performing the forward traveling continues, the forward instruction is deleted, the end position of the forward traveling is changed to the start position of the zigzag traveling command, and then the pitch is recalculated and stored as the teaching result. As a result, FIG.
The forward movement shown in FIG. 9 and the eight reciprocating zigzag runs shown in FIG. 40 are combined, and the seven reciprocating and half zigzag runs shown in FIG. 41 are stored in the memory.

【0176】次に図42を参照して、ジグザグ走行命令
が行なわれた後に、180°方向転換をし、そのジグザ
グ走行の最後の前進走行の向きと反対方向であって、ジ
グザグ走行の前進距離よりも長い前進命令がある場合に
は、ジグザグ走行命令の終了位置は図42のジグザグ走
行の最終Uターン終了位置として設定された後、ピッチ
Pが再計算される。その後、ジグザグ走行の終了位置が
開始位置であり、(変更前の前進距離)−(ジグザグ走
行の縦の長さ)の距離を前進する前進命令が記憶され
る。
Next, referring to FIG. 42, after a zigzag travel command is issued, the direction is changed by 180 ° and the direction is opposite to the direction of the last forward travel of the zigzag travel. If there is a longer forward command, the end position of the zigzag travel command is set as the final U-turn end position of the zigzag travel of FIG. 42, and then the pitch P is recalculated. After that, the end position of the zigzag traveling is the start position, and the forward movement command for advancing the distance of (the forward movement distance before the change)-(the vertical length of the zigzag traveling) is stored.

【0177】これにより、図42に示されるジグザグ走
行と直進走行とが連続する命令は、図43に示されるジ
グザグ走行の終了位置から前進を行なう命令に置換えら
れる。さらに、ジグザグ走行の結果は前述のように動作
命令群として返されるので、ジグザグ走行の最終レーン
での前進と、終了位置からの前進は合成される。
As a result, the command in which the zigzag running and the straight running shown in FIG. 42 are continuous is replaced with the command to move forward from the end position of the zigzag running shown in FIG. Further, since the result of the zigzag traveling is returned as the operation command group as described above, the forward movement in the final lane of the zigzag traveling and the forward movement from the end position are combined.

【0178】図44を参照して、前進走行命令の後、1
80°方向転換し、前進走行命令の向きと反対方向に向
かって始まり、かつ前進距離よりも短い前進走行を行な
うジグザグ走行命令が続く場合、前進走行の終了位置は
変更前のジグザグ走行命令の第1レーンのUターンの開
始位置に設定される。そして前進走行の距離は(前進距
離)−(ジグザグ走行の縦の長さ)とされる。さらに、
ジグザグ走行の開始位置は前進走行の終了位置に設定さ
れ、ピッチが再計算され、教示結果として記憶される。
Referring to FIG. 44, after the forward running command, 1
When a zigzag travel command continues to turn 80 °, starts in the direction opposite to the direction of the forward travel command, and performs a forward travel shorter than the forward travel distance, the end position of the forward travel is the first zigzag travel command before the change. It is set at the starting position of the U-turn on 1 lane. The distance for forward traveling is (forward distance)-(vertical length for zigzag traveling). further,
The start position of the zigzag running is set to the end position of the forward running, the pitch is recalculated, and stored as the teaching result.

【0179】これにより、図44に示される前進命令と
Uターンを行なった後のジグザグ走行命令は、図45に
示される前進命令とその前進命令が終了した位置からの
ジグザグ走行命令とに置換えられる。さらに、ジグザグ
走行の結果は前述のように動作命令群として返されるの
で、前進とジグザグ走行の開始レーンでの前進が合成さ
れる。
As a result, the forward command shown in FIG. 44 and the zigzag running command after performing the U-turn are replaced with the forward command shown in FIG. 45 and the zigzag running command from the position where the forward command is finished. . Further, since the result of the zigzag traveling is returned as the operation command group as described above, the forward movement and the forward movement in the start lane of the zigzag traveling are combined.

【0180】また図46を参照して、ユーザが第1のジ
グザグ走行命令を設定した後に、180°方向転換をす
るかまたはUターンをして180°向きを変え、さらに
移動した後、図47に示されるようにさらに第2のジグ
ザグ走行を行なう部分を追加する場合には、ジグザグ走
行の開始位置が第1のジグザグ走行命令の開始位置であ
り、終了位置は第2のジグザグ走行命令の終了位置であ
るジグザグ走行のピッチが再計算される。
Further, referring to FIG. 46, after the user sets the first zigzag running command, the user makes a 180 ° direction change or makes a U-turn to change the 180 ° direction and further moves, and then FIG. When a portion for performing the second zigzag traveling is added as shown in Fig. 2, the start position of the zigzag traveling is the start position of the first zigzag traveling command and the end position is the end of the second zigzag traveling command. The position, the pitch of the zigzag run, is recalculated.

【0181】これにより、図47に示される2つのジグ
ザグ走行命令からなる命令は、図48に示される1つの
ジグザグ走行命令に統合される。
As a result, the command consisting of the two zigzag running commands shown in FIG. 47 is integrated into one zigzag running command shown in FIG.

【0182】以上のように経路の重複などを解消するこ
とにより、作業時間の軽減や塗布する溶剤の節約、また
領域全体での作業結果の均一化を図ることができる。な
お本実施の形態において、清掃ロボットを移動体の一例
として挙げたが、移動する物体であればどのようなもの
にも本発明を実施することは可能である。
By eliminating the overlap of paths as described above, it is possible to reduce the working time, save the solvent to be applied, and make the working results uniform over the entire area. In the present embodiment, the cleaning robot is given as an example of the moving object, but the present invention can be applied to any moving object.

【0183】なお、動作命令を編集する装置は、移動体
の中に設けてもよいし、コントローラの中に設けてもよ
い。
The device for editing the operation command may be provided in the moving body or in the controller.

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

【図1】本発明の第1の実施の形態における清掃ロボッ
トとコントローラの外観を示す斜視図である。
FIG. 1 is a perspective view showing appearances of a cleaning robot and a controller according to a first embodiment of the present invention.

【図2】図1のコントローラの平面図である。2 is a plan view of the controller of FIG. 1. FIG.

【図3】図1の清掃ロボットの構成を示す平面図であ
る。
FIG. 3 is a plan view showing the configuration of the cleaning robot of FIG.

【図4】直進走行における走行部の動作を説明するため
の図である。
FIG. 4 is a diagram for explaining an operation of a traveling unit in straight traveling.

【図5】回転動作時における走行部の動作を説明するた
めの図である。
FIG. 5 is a diagram for explaining the operation of the traveling unit during the rotating operation.

【図6】走行部と車体部とを回転させる機構について説
明するための図である。
FIG. 6 is a diagram for explaining a mechanism that rotates a traveling unit and a vehicle body unit.

【図7】清掃作業部の構成を示す平面図である。FIG. 7 is a plan view showing a configuration of a cleaning work unit.

【図8】図7の液検出センサ73の動作原理を説明する
ための図である。
8 is a diagram for explaining the operation principle of the liquid detection sensor 73 of FIG.

【図9】清掃ロボットの回路構成を示すブロック図であ
る。
FIG. 9 is a block diagram showing a circuit configuration of a cleaning robot.

【図10】コントローラの回路構成を示すブロック図で
ある。
FIG. 10 is a block diagram showing a circuit configuration of a controller.

【図11】操縦モードにおける処理を示すフローチャー
トである。
FIG. 11 is a flowchart showing a process in a steering mode.

【図12】操縦モードにおいて前進命令が出力された場
合の処理を示すフローチャートである。
FIG. 12 is a flowchart showing a process when a forward command is output in the steering mode.

【図13】左倣い走行を示す図である。FIG. 13 is a diagram showing left contour travel.

【図14】右倣い走行を示す図である。FIG. 14 is a diagram showing right copying travel.

【図15】左右の壁を測距することにより前進する方法
を示した図である。
FIG. 15 is a diagram showing a method of moving forward by measuring the distance between the left and right walls.

【図16】右側の壁との間の距離を測距することにより
直進を行なう動作を説明するための図である。
FIG. 16 is a diagram for explaining an operation of going straight by measuring the distance to the right wall.

【図17】左右の駆動輪の回転数を検出することにより
直進を行なう動作を説明するための図である。
FIG. 17 is a diagram for explaining an operation of going straight by detecting the rotational speeds of the left and right driving wheels.

【図18】教示モードにおける動作を説明するための図
である。
FIG. 18 is a diagram for explaining the operation in the teaching mode.

【図19】教示モードにおいて停止時間を設定するため
の表示部の表示を示す図である。
FIG. 19 is a diagram showing a display on a display unit for setting a stop time in a teaching mode.

【図20】開始位置から目標位置までロボットを進行さ
せる動作を説明するための図である。
FIG. 20 is a diagram for explaining an operation of moving the robot from the start position to the target position.

【図21】清掃ロボットが目標位置に到達しなかった状
態を示す図である。
FIG. 21 is a diagram showing a state in which the cleaning robot has not reached the target position.

【図22】清掃ロボットが目標位置を通り過ぎてしまっ
た状態を説明するための図である。
FIG. 22 is a diagram for explaining a state in which the cleaning robot has passed the target position.

【図23】開始位置から目標位置まで清掃ロボットを回
転運動させる動作を説明するための図である。
FIG. 23 is a diagram for explaining the operation of rotating the cleaning robot from the start position to the target position.

【図24】清掃ロボットが目標位置を通り過ぎて回転し
てしまった状態を示す図である。
FIG. 24 is a diagram showing a state in which the cleaning robot has passed the target position and rotated.

【図25】清掃ロボットが目標位置まで回転しなかった
状態を示す図である。
FIG. 25 is a diagram showing a state in which the cleaning robot has not rotated to the target position.

【図26】清掃作業部の移動について説明するための図
である。
FIG. 26 is a diagram for explaining movement of the cleaning work unit.

【図27】教示データの合成処理を示すフローチャート
である。
FIG. 27 is a flowchart showing a teaching data combining process.

【図28】図27に続くフローチャートである。28 is a flowchart following FIG. 27. FIG.

【図29】第1の実施の形態における作業データの合成
処理の結果を示す図である。
FIG. 29 is a diagram showing a result of work data combination processing according to the first embodiment;

【図30】停止時間“0”の命令が含まれている場合の
合成処理について説明するための図である。
[Fig. 30] Fig. 30 is a diagram for describing a compositing process when an instruction with a stop time "0" is included.

【図31】編集モードにおける処理を説明するためのフ
ローチャートである。
FIG. 31 is a flowchart illustrating a process in an edit mode.

【図32】編集モードにおける表示部の表示内容を示す
図である。
FIG. 32 is a diagram showing display contents on the display unit in the edit mode.

【図33】第2の実施の形態における命令の最適化の処
理を示すフローチャートである。
FIG. 33 is a flowchart showing instruction optimization processing according to the second embodiment.

【図34】図33のフローチャートに続くフローチャー
トである。
FIG. 34 is a flowchart following the flowchart of FIG. 33.

【図35】ジグザグ走行の基本を説明するための図であ
る。
FIG. 35 is a diagram for explaining the basics of zigzag running.

【図36】8往復のジグザグ走行を説明するための図で
ある。
FIG. 36 is a diagram for explaining eight reciprocating zigzag runs.

【図37】図36に示される処理の後に行なわれる前進
処理を示す図である。
37 is a diagram showing a forward movement process performed after the process shown in FIG. 36. FIG.

【図38】図36と図37の作業命令が合成された結果
を示す図である。
38 is a diagram showing a result of combining the work instructions of FIGS. 36 and 37. FIG.

【図39】前進命令を説明するための図である。FIG. 39 is a diagram for explaining a forward command.

【図40】図39に示される前進命令の後に続く8往復
のジグザグ走行命令を示す図である。
FIG. 40 is a diagram showing a zigzag running command for eight round trips following the forward command shown in FIG. 39;

【図41】図39と図40に示される命令が構成された
結果を示す図である。
FIG. 41 is a diagram showing the result of the instructions shown in FIGS. 39 and 40 being constructed.

【図42】ジグザグ走行の後に、逆方向に前進する命令
が入力されている状態を説明するための図である。
FIG. 42 is a diagram for explaining a state in which an instruction to move forward in the reverse direction is input after the zigzag running.

【図43】図42の状態において、命令の最適化が行な
われた後の命令について説明するための図である。
43 is a diagram for describing an instruction after the instruction has been optimized in the state of FIG. 42. FIG.

【図44】前進命令と、その前進命令に続くジグザグ走
行命令が入力されている状態を説明するための図であ
る。
FIG. 44 is a diagram for explaining a state in which a forward command and a zigzag running command subsequent to the forward command are input.

【図45】図44の状態において命令の最適化が行なわ
れた後の状態を示す図である。
45 is a diagram showing a state after instruction optimization is performed in the state of FIG. 44;

【図46】ジグザグ走行命令を説明するための図であ
る。
FIG. 46 is a diagram for explaining a zigzag traveling command.

【図47】図46に示される状態において、追加部分が
ジグザグ走行命令として入力された後の状態を示す図で
ある。
47 is a diagram showing a state after the additional portion is input as a zigzag running command in the state shown in FIG. 46. FIG.

【図48】図47の状態から命令の最適化が行なわれた
後の状態を示す図である。
48 is a diagram showing a state after instruction optimization is performed from the state of FIG. 47. FIG.

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

1 清掃ロボット本体 2 コントローラ 13 メモリカード 28 メモリ 30 走行部 1 Cleaning robot main body 2 Controller 13 Memory card 28 Memory 30 Travel section

───────────────────────────────────────────────────── フロントページの続き (72)発明者 金藤 靖尚 大阪市中央区安土町二丁目3番13号大阪国 際ビル ミノルタ株式会社内 (72)発明者 川越 宣和 大阪市中央区安土町二丁目3番13号大阪国 際ビル ミノルタ株式会社内 ─────────────────────────────────────────────────── ─── Continuation of front page (72) Inventor Yasuhisa Kanto 2-3-13 Azuchi-cho, Chuo-ku, Osaka, Osaka International Building Minolta Co., Ltd. Chome 3-13 Osaka International Building Minolta Co., Ltd.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 移動体が連続した動作を行なうための、
一連の手順からなる動作命令を記憶する記憶手段と、 前記記憶された動作命令の中の少なくとも2つの連続し
た手順が、相互に関連のある手順であるか否かを判定す
る判定手段と、 前記判定手段の判定結果に基づいて、相互に関連のある
連続した手順を統合する統合手段とを備えた、動作命令
編集装置。
1. A mobile unit for performing continuous operation,
A storage unit that stores an operation command including a series of procedures; a determination unit that determines whether or not at least two consecutive procedures in the stored operation command are mutually related procedures; An operation instruction editing apparatus, comprising: an integration unit that integrates continuous procedures that are related to each other based on the determination result of the determination unit.
【請求項2】 前記判定手段は、前記連続した手順の各
々が前記移動体を同一方向または逆方向に移動させる手
順であるか否かを判定するものである、請求項1に記載
の動作命令編集装置。
2. The operation command according to claim 1, wherein the determination means determines whether or not each of the continuous procedures is a procedure for moving the moving body in the same direction or in the opposite direction. Editing device.
【請求項3】 前記連続した手順の少なくとも1つの手
順は、前記移動体のジグザグ走行に関する手順である、
請求項1に記載の動作命令編集装置。
3. At least one procedure of the continuous procedure is a procedure relating to zigzag running of the mobile body,
The operation command editing device according to claim 1.
【請求項4】 前記移動体は対象物に対して作業を行な
うための作業部を有し、前記動作命令は、前記作業部に
対する動作命令である、請求項1に記載の動作命令編集
装置。
4. The motion command editing apparatus according to claim 1, wherein the moving body has a working unit for working on an object, and the motion command is a motion command for the working unit.
JP8076954A 1996-03-29 1996-03-29 Operation instruction compiling device Withdrawn JPH09269812A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8076954A JPH09269812A (en) 1996-03-29 1996-03-29 Operation instruction compiling device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8076954A JPH09269812A (en) 1996-03-29 1996-03-29 Operation instruction compiling device

Publications (1)

Publication Number Publication Date
JPH09269812A true JPH09269812A (en) 1997-10-14

Family

ID=13620184

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8076954A Withdrawn JPH09269812A (en) 1996-03-29 1996-03-29 Operation instruction compiling device

Country Status (1)

Country Link
JP (1) JPH09269812A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001049461A1 (en) * 1999-12-29 2001-07-12 Sony Corporation Edit device, edit method, and recorded medium
JP2002207516A (en) * 2000-11-09 2002-07-26 Hideo Mori Traveling robot, teaching method therefor and control method
WO2017073423A1 (en) * 2015-10-27 2017-05-04 北陽電機株式会社 Area sensor and external storage device
JP2017146775A (en) * 2016-02-17 2017-08-24 東芝ライフスタイル株式会社 Vacuum cleaner

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001049461A1 (en) * 1999-12-29 2001-07-12 Sony Corporation Edit device, edit method, and recorded medium
US7063591B2 (en) 1999-12-29 2006-06-20 Sony Corporation Edit device, edit method, and recorded medium
JP2002207516A (en) * 2000-11-09 2002-07-26 Hideo Mori Traveling robot, teaching method therefor and control method
WO2017073423A1 (en) * 2015-10-27 2017-05-04 北陽電機株式会社 Area sensor and external storage device
US10641871B2 (en) 2015-10-27 2020-05-05 Hokuyo Automatic Co., Ltd. Area sensor and external storage device
JP2017146775A (en) * 2016-02-17 2017-08-24 東芝ライフスタイル株式会社 Vacuum cleaner

Similar Documents

Publication Publication Date Title
JPH09269810A (en) Traveling object controller
JPH09269807A (en) Traveling object controller
US6574536B1 (en) Moving apparatus for efficiently moving on floor with obstacle
US6119057A (en) Autonomous vehicle with an easily set work area and easily switched mode
KR0168189B1 (en) Control method and apparatus for recognition of robot environment
US6142252A (en) Autonomous vehicle that runs while recognizing work area configuration, and method of selecting route
EP3199725B1 (en) Method of operating a pool cleaning robot
US6076025A (en) Mobile robot steering method and control device
JPH04333902A (en) Automatic running cleaning system of cleaner
JP6846737B2 (en) Autonomous driving work equipment and data management method
JPH1055215A (en) Moving travel vehicle
KR20050072300A (en) Cleaning robot and control method thereof
JPH057724B2 (en)
JP2007226322A (en) Robot control system
JPH1165655A (en) Controller for mobile object
JP3498495B2 (en) Autonomous vehicles
JPH09269812A (en) Operation instruction compiling device
JP3583588B2 (en) Mobile unit control device
JP3424786B2 (en) Mobile control device
US20220378268A1 (en) Autonomously traveling vehicle, control method, and program
JPH0522926B2 (en)
JP2669071B2 (en) Self-propelled vacuum cleaner
JPH05324060A (en) Cleaning robot
JP2791048B2 (en) Control device for self-propelled robot
JPS59121406A (en) Controller of mobile robot

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20030603