JPH04350514A - Position detector - Google Patents

Position detector

Info

Publication number
JPH04350514A
JPH04350514A JP14921691A JP14921691A JPH04350514A JP H04350514 A JPH04350514 A JP H04350514A JP 14921691 A JP14921691 A JP 14921691A JP 14921691 A JP14921691 A JP 14921691A JP H04350514 A JPH04350514 A JP H04350514A
Authority
JP
Japan
Prior art keywords
light
light beam
azimuth
detected
reference point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP14921691A
Other languages
Japanese (ja)
Other versions
JP2908601B2 (en
Inventor
Toshikazu Nakamura
利和 中村
Sadachika Tsuzuki
都築 貞親
Kazunori Noda
野田 和規
Kenji Kamimura
健二 上村
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.)
Honda Motor Co Ltd
Original Assignee
Honda Motor 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 Honda Motor Co Ltd filed Critical Honda Motor Co Ltd
Priority to JP3149216A priority Critical patent/JP2908601B2/en
Priority to US07/875,693 priority patent/US5260770A/en
Publication of JPH04350514A publication Critical patent/JPH04350514A/en
Application granted granted Critical
Publication of JP2908601B2 publication Critical patent/JP2908601B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Optical Radar Systems And Details Thereof (AREA)

Abstract

PURPOSE:To achieve the detection operation even if levels of an installation surface of an observation point and a reflector do not match by allowing a light beam which is emitted from an observation point to be applied to a reflector and then the position of the reflector is detected by its reflected light. CONSTITUTION:A light beam which is emitted from a light-scanning device 2 is rotated and scanned in a direction of an arrow R and at the same time its rotary center axis 8 is rotated as shown by an arrow 17a while it is inclined by an angle of phi. According to scanning of this light beam, an orientation angle for receiving a reflection light 2R from light reflectors 6a-6d and a rocking direction of light beam are detected. A light beam is directed toward the orientation angle and rocking direction which are detected for receiving a reflection light and the orientation angle of each reflector and a distance to the reflector observed from an observation point are detected based on the light-reception signal.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、位置検出装置に関し、
特に、農業および土木作業に使用される自走式機械や、
工場内で使用される自動搬送装置などの位置検出装置に
関する。
[Industrial Application Field] The present invention relates to a position detection device.
In particular, self-propelled machines used in agricultural and civil engineering work;
It relates to position detection devices such as automatic conveyance devices used in factories.

【0002】0002

【従来の技術】従来、移動体の現在位置を検出する装置
として、移動体で発生された光ビームを移動体を中心と
して円周方向に走査する手段と、移動体から離れた少な
くとも3か所の基準点に固定され、入射方向に光を反射
する光反射手段と、この光反射手段によって反射された
光を受光する受光手段とを具備した装置が提案されてい
る(特開昭59−67476号公報)。
2. Description of the Related Art Conventionally, a device for detecting the current position of a moving object includes means for scanning a light beam generated by the moving object in a circumferential direction centering on the moving object, and at least three locations distant from the moving object. An apparatus has been proposed that is equipped with a light reflecting means that is fixed at a reference point and reflects light in the incident direction, and a light receiving means that receives the light reflected by the light reflecting means (Japanese Patent Laid-Open No. 59-67476). Publication No.).

【0003】この装置では、移動体つまり観測点から見
た前記3つの光反射手段相互間の開き角を前記受光手段
の出力信号に基づいて検出する。そして、検出された開
き角とあらかじめ設定されている各光反射手段の位置を
表す情報(位置情報)とから移動体の位置を演算するよ
うに構成している。
[0003] In this device, the opening angle between the three light reflecting means as seen from the moving object, that is, the observation point, is detected based on the output signal of the light receiving means. The position of the moving object is calculated from the detected opening angle and preset information (position information) representing the position of each light reflecting means.

【0004】上記の装置では、基準点つまり光反射手段
の位置情報のわずかな誤差が、システム全体の制御の精
度に影響を与える。そのために、例えば、前記移動体が
農地での作業機の場合、作業区域毎に設置された光反射
手段の位置情報、すなわち各光反射手段の間隔および相
対角度を、作業機による作業に先立って正確に測定しな
ければならなかった。このように、農地のような広い作
業区域に設置された各光反射手段の間隔や相対角度を、
作業区域が変わる度に正確に測定したり、それを入力す
るというのは極めて大変な作業であった。
In the above-mentioned apparatus, a slight error in the positional information of the reference point, that is, the light reflecting means, affects the accuracy of control of the entire system. For this purpose, for example, if the mobile object is a working machine used in farmland, the position information of the light reflecting means installed in each work area, that is, the spacing and relative angle of each light reflecting means, can be collected prior to the work using the working machine. It had to be measured accurately. In this way, the spacing and relative angle of each light reflecting means installed in a large work area such as farmland can be adjusted.
It was extremely difficult to take accurate measurements and input them every time the work area changed.

【0005】これに対し、本出願人は、上記位置情報の
測定および入力作業を簡略化することができる装置を提
案した(特開平1−287415号公報)。この装置で
は、自走車つまり移動体から投射された光ビームを走査
し、この光ビームの光反射手段からの反射光を検出する
。そして、この反射光検出信号に基づいて算出される移
動体および光反射手段間の距離と、移動体から見た光反
射手段の方位角とによって各光反射手段の間隔や相対角
度を正確に測定し、かつそれを入力する作業を自動的に
行えるようにしている。
In response to this problem, the present applicant has proposed a device that can simplify the work of measuring and inputting the position information (Japanese Patent Laid-Open No. 1-287415). This device scans a light beam projected from a self-propelled vehicle, that is, a moving object, and detects the reflected light of this light beam from a light reflecting means. Then, the distance between the moving object and the light reflecting means calculated based on this reflected light detection signal and the azimuth angle of the light reflecting means as seen from the moving object are used to accurately measure the spacing and relative angle of each light reflecting means. and the work of inputting it can be done automatically.

【0006】ところで、光反射手段間の距離や相対角度
を測定する場所、例えば位置検出装置が移動体に搭載さ
れている場合の、この移動体の移動区域は必ずしも平坦
ではない。したがって、上記距離や方位角を測定するた
めに移動体が置かれた場所の地形によっては、移動体が
傾斜した状態のまま光ビームが走査されることがあり、
一方向つまり水平方向でのみ光ビームを回転走査しても
、この光ビームを光反射手段に照射できない場合がある
。そうすると、光反射手段で反射されて戻ってくるはず
の前記光ビームの反射光を受光手段で検出できない。 また、これとは反対に、予定の光反射手段以外の反射物
体からの余計な光を検出してしまうような場合もあった
[0006] Incidentally, in the case where the distance or relative angle between the light reflecting means is measured, for example, a position detection device is mounted on a moving body, the moving area of this moving body is not necessarily flat. Therefore, depending on the topography of the location where the moving object is placed to measure the distance and azimuth, the light beam may be scanned while the moving object is tilted.
Even if the light beam is rotated and scanned only in one direction, that is, in the horizontal direction, the light beam may not be able to irradiate the light reflecting means. In this case, the light receiving means cannot detect the reflected light of the light beam that should be reflected by the light reflecting means and returned. Moreover, on the contrary, there have been cases where unnecessary light from a reflecting object other than the intended light reflecting means is detected.

【0007】このように、光反射手段からの反射光を検
出できなかったり、他からの光を予定の光反射手段の反
射光として誤認識してしまうと、移動体の位置を正確に
算出できずに、例えば予定された走行コースに沿って移
動体を走らせられなくなる場合がある。
[0007] In this way, if the reflected light from the light reflecting means cannot be detected, or if light from another source is mistakenly recognized as reflected light from the intended light reflecting means, the position of the moving object cannot be accurately calculated. For example, the mobile object may not be able to run along the planned travel course.

【0008】このような不具合を解消するための対策と
して、光ビームを水平方向の回転走査に加えて上下方向
にも揺動走査することが考えられる。例えば発生した光
ビームを、ガルバノミラーを利用して上下方向に高速に
振動させつつ水平方向に走査させるようなビーム光走査
装置が提案されている(特開昭60−242313号公
報)。
[0008] As a countermeasure for solving this problem, it is conceivable to oscillate the light beam in the vertical direction in addition to the rotational scanning in the horizontal direction. For example, a beam light scanning device has been proposed in which a generated light beam is scanned in the horizontal direction while being vibrated in the vertical direction at high speed using a galvanometer mirror (Japanese Patent Application Laid-Open No. 60-242313).

【0009】図22は、このような従来の装置による光
ビームの走査軌跡(光跡)を示す図である。同図(a)
は光ビームを水平方向に回転走査させつつ、この光ビー
ムをガルバノミラーで上下方向にも揺動走査した場合の
光跡の一部分を示す。同図(b)は前記光ビームの上下
方向の揺動走査をポリゴンミラーで行った場合の光跡の
一部分を示す。
FIG. 22 is a diagram showing a scanning locus (light trail) of a light beam by such a conventional device. Figure (a)
shows a portion of the light trail when the light beam is rotated and scanned in the horizontal direction and also oscillated and scanned in the vertical direction using a galvanometer mirror. FIG. 5B shows a portion of the light trail when the vertical scanning of the light beam is performed using a polygon mirror.

【0010】0010

【発明が解決しようとする課題】上記のビーム光走査装
置では、次のような問題点があった。ガルバノミラーを
利用して上下方向にも所定の振れ幅で揺動走査する方式
では、移動体と光反射手段との距離が大きくなるに従い
、光反射手段位置での光跡の振れ幅が大きくなり、波長
が長くなる。そのために、例えば図22(a)に示すよ
うに光反射手段6が光ビームと交差できなくなってしま
うことが有り得る。
SUMMARY OF THE INVENTION The above beam light scanning device has the following problems. In a method that uses a galvano mirror to perform swing scanning with a predetermined amplitude in the vertical direction, as the distance between the moving object and the light reflecting means increases, the amplitude of the light trail at the position of the light reflecting means increases. , the wavelength becomes longer. Therefore, for example, as shown in FIG. 22(a), the light reflecting means 6 may not be able to intersect with the light beam.

【0011】また、ポリゴンミラーを利用した方式にお
いても、自走車と光反射手段6との距離が大きくなるに
従い、光反射手段位置での光跡の間隔が広くなる。その
ために、例えば図22(b)に示すように光反射手段6
と光ビームとが交差できなくなってしまうことが有り得
る。
[0011] Also, in the system using a polygon mirror, as the distance between the self-propelled vehicle and the light reflecting means 6 increases, the distance between the light traces at the position of the light reflecting means becomes wider. For this purpose, for example, as shown in FIG. 22(b), the light reflecting means 6
It is possible that the light beam and the light beam cannot intersect with each other.

【0012】光跡の波長もしくは間隔を小さくして光反
射手段6に光ビームを交差させやすくするためには、回
転走査に対する上下揺動走査の速度比を上げる必要があ
る。つまり、上下揺動走査の駆動速度を大きくするか、
回転走査速度を小さくすることが必要になる。
In order to make it easier for the light beam to cross the light reflecting means 6 by reducing the wavelength or interval of the light trace, it is necessary to increase the speed ratio of the vertically swinging scan to the rotational scan. In other words, increase the driving speed for vertical swing scanning, or
It is necessary to reduce the rotational scanning speed.

【0013】ところが、ガルバノミラーやポリゴンミラ
ーの駆動速度を大きくするのは機械構造的な制約もあっ
て大変難しい。また、水平方向の走査速度を小さくする
と、一定時間あたりの受光データ数が少なくなって位置
検出精度が低下し、特に自走車等、移動体の位置検出用
として使用する場合、検出精度の低下が著しい。
However, it is very difficult to increase the driving speed of the galvano mirror or polygon mirror due to mechanical structural limitations. In addition, if the horizontal scanning speed is reduced, the number of received light data per certain period of time will decrease, resulting in a decrease in position detection accuracy, especially when used to detect the position of a moving object such as a self-propelled vehicle. is remarkable.

【0014】本発明は、上記従来技術の問題点に対し、
移動体から投射する光ビームを各光反射手段に高い確率
で照射できるように構成することによって、光反射手段
の正確な位置情報を容易に検出でき、その位置情報に基
づいて観測点の位置を正確に検出できる位置検出装置を
提供することにある。
[0014] The present invention solves the problems of the prior art described above.
By configuring the light beam projected from the moving body to irradiate each light reflecting means with high probability, accurate positional information of the light reflecting means can be easily detected, and the position of the observation point can be determined based on that positional information. An object of the present invention is to provide a position detection device that can accurately detect a position.

【0015】[0015]

【課題を解決するための手段】前記の問題点を解決し、
目的を達成するために、本発明は、観測点に配置された
光ビーム発生手段および光信号を検出する受光手段と、
前記光ビーム発生手段で発生した光ビームを上下方向に
揺動させながら円周方向に走査する走査手段と、前記受
光手段によって光信号が受光されたときの入射光の方位
角を検出する手段と、検出された方位角のうちほぼ同一
の方位角は1つの方位角データとして記憶する手段と、
この方位角データが観測点から離れた複数の基準点にあ
らかじめ配置された光反射手段の数と同数になったこと
を認識する基準点認識手段と、前記方位角データが前記
光反射手段と同数になったことを認識した後、前記方位
角データの1つで示される方向からの受光信号を検出し
たときに光ビームの回動走査を停止させてその方向に光
ビームの投射方向を固定する手段と、前記光ビームの投
射方向を固定した状態で、この光ビームの反射光を受光
し、その受光信号に基づいて観測点と光反射手段との距
離を測定する手段と、前記距離の測定終了を条件として
光ビームの投射方向の固定を解除する手段とを具備し、
前記光反射手段の数だけ前記距離測定を繰返し、測定さ
れた距離およびこのときの方位角データに基づいて基準
点に対する観測点の位置を算出するように構成した点に
第1の特徴がある。
[Means for solving the problem] Solving the above problems,
To achieve the object, the present invention comprises a light beam generating means and a light receiving means for detecting an optical signal, which are arranged at an observation point;
scanning means for scanning in the circumferential direction while vertically swinging the light beam generated by the light beam generating means; and means for detecting the azimuth of the incident light when the light signal is received by the light receiving means. , means for storing substantially the same azimuth angles among the detected azimuth angles as one azimuth angle data;
a reference point recognition means for recognizing that the azimuth angle data is the same number as the number of light reflecting means arranged in advance at a plurality of reference points distant from the observation point; When a received light signal is detected from the direction indicated by one of the azimuth angle data, the rotation scanning of the light beam is stopped and the projection direction of the light beam is fixed in that direction. means for receiving the reflected light of the light beam while the projection direction of the light beam is fixed, and measuring the distance between the observation point and the light reflecting means based on the received light signal; and measuring the distance. means for releasing the fixation of the projection direction of the light beam on condition of termination;
The first feature is that the distance measurement is repeated as many times as there are light reflecting means, and the position of the observation point with respect to the reference point is calculated based on the measured distance and azimuth data at this time.

【0016】また本発明は、光ビーム発生手段と受光手
段とを共通のテーブルに固定し、このテーブルを前記光
ビームを回転走査する回転中心軸が円錐状軌跡を描くよ
うに揺動させ、かつこの単位揺動サイクル中に前記光ビ
ームの回転走査が複数回行われるようにして、前記光ビ
ームの上下方向の揺動を行わせるように構成した点に第
2の特徴がある。
The present invention also provides a method in which the light beam generating means and the light receiving means are fixed to a common table, and this table is swung so that the central axis of rotation for rotating and scanning the light beam draws a conical locus, and A second feature is that the light beam is configured to perform rotational scanning of the light beam a plurality of times during this unit swing cycle, thereby causing the light beam to swing in the vertical direction.

【0017】さらに本発明は、受光手段で検出された入
射光に対するテーブルの揺動角度と方位角とを検出する
手段を具備し、前記揺動角度でテーブルの揺動を停止さ
せ、この停止状態で回転走査を行い、この回転走査状態
で前記検出した方位角で再び光信号を検出したときに回
転走査を停止させて光ビーム投射方向を固定し、前記距
離測定動作を行うように構成した点に第3の特徴がある
Further, the present invention includes means for detecting a swinging angle and an azimuth of the table with respect to the incident light detected by the light receiving means, and stopping the swinging of the table at the swinging angle, and detecting the stopped state. A point configured to perform rotational scanning at , and in this rotational scanning state, when an optical signal is detected again at the detected azimuth, the rotational scanning is stopped, the light beam projection direction is fixed, and the distance measuring operation is performed. has a third characteristic.

【0018】[0018]

【作用】上記の第1の特徴を有する本発明では、まず各
基準点に配置されたそれぞれの光反射手段の方位角を予
備的に検出して記憶しておき、すべての光反射手段の方
位角を検出できた後に、記憶テータに基づいて光反射手
段に順次光ビームを確実に照射させて反射光を検出でき
る。したがって、光反射手段と観測点との距離を正確に
測定でき、基準点の位置、さらには観測点の位置を正確
に算出できる。
[Operation] In the present invention having the first feature described above, the azimuth angle of each light reflecting means arranged at each reference point is first detected and memorized, and the azimuth angle of each light reflecting means arranged at each reference point is first detected and stored. After the angle has been detected, the reflected light can be detected by reliably irradiating the light beam to the light reflecting means in sequence based on the stored data. Therefore, the distance between the light reflecting means and the observation point can be accurately measured, and the position of the reference point and further the position of the observation point can be accurately calculated.

【0019】また、第2の特徴を有する本発明では、光
ビームの上下方向走査の1サイクル中に複数回の回転走
査が行われる。したがって、観測点を中心とする円筒面
を想定した場合、その円筒面上で光ビームによる網目状
の光跡が描かれる。すなわち、垂直方向に立てられた光
反射手段の近辺において、揺動の1サイクル中、垂直方
向の高さが異なる数回以上の回転走査が行われる。その
結果、光ビームが高い確率で光反射手段を横切ることに
なり、それだけ光反射手段での反射光を受光する確率が
高くなる。
Furthermore, in the present invention having the second feature, rotational scanning is performed a plurality of times during one cycle of vertical scanning of the light beam. Therefore, assuming a cylindrical surface centered at the observation point, a mesh-like light trail is drawn by the light beam on the cylindrical surface. That is, in the vicinity of the vertically erected light reflecting means, rotational scanning is performed several times or more at different heights in the vertical direction during one cycle of rocking. As a result, the light beam crosses the light reflecting means with a high probability, and the probability of receiving reflected light by the light reflecting means increases accordingly.

【0020】このようにして検出された光反射手段から
の反射光に基づいて測距のための光ビーム投射方向を決
定できるので、地形の凹凸等に起因する光反射手段の見
失いが減少する。
Since the light beam projection direction for distance measurement can be determined based on the reflected light from the light reflecting means detected in this manner, the possibility of losing sight of the light reflecting means due to unevenness of the terrain or the like is reduced.

【0021】さらに、第3の特徴を有する本発明では、
先行する走査で光反射手段を少なくとも1度検出した揺
動角度に光ビームの上下揺動を停止させた状態で回転走
査を行え、しかも低い速度で回転走査を行うようにして
いる。したがって、記憶データに基づいて光反射手段か
らの反射光を受光するために効果的である方向へ光ビー
ムを投射させることができることから、その状態で光反
射手段からの受光状態のよい反射光を継続して受光して
観測点と基準点との距離を測定できる。
Furthermore, in the present invention having a third feature,
Rotational scanning can be performed with the vertical swinging of the light beam stopped at the swinging angle detected by the light reflecting means at least once in the previous scanning, and the rotating scanning can be performed at a low speed. Therefore, since it is possible to project the light beam in a direction that is effective for receiving the reflected light from the light reflecting means based on the stored data, in that state, the reflected light from the light reflecting means in a good receiving state can be projected. The distance between the observation point and the reference point can be measured by continuously receiving light.

【0022】[0022]

【実施例】以下に、図面を参照して本発明の一実施例を
説明する。図2は本発明の位置検出装置を搭載し、所定
の領域を走行する自走車を示す斜視図である。図2にお
いて、移動体としての自走車1が走行している領域の周
囲には、入射した光をその入射方向に反射する反射面を
有する光反射器(以下、単に反射器という)6a〜6d
が配設されている。反射器6a〜6dの反射面には、コ
ーナキューブプリズム等周知の光反射手段が使用されて
いる。自走車1は、例えばその下面に図示しない芝刈作
業用のカッタブレードを有する芝刈り機である。自走車
1の上部には、光ビーム走査装置(以下、単に走査装置
という)2が搭載されている。この走査装置2は、光ビ
ーム2Eを発生する発光器、および前記反射器6a〜6
dで反射された光ビーム2Eの反射光2Rを受ける受光
器を有する。発光器は発光ダイオードを有し、受光器は
入射した光を電気的信号に変換するフォトダイオードを
有している。発光器および受光器は、内側リング部材1
4の下方に、ボルト締めなど、周知の締結手段によって
取付けられているケーシング3に収容されている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 2 is a perspective view showing a self-propelled vehicle equipped with the position detection device of the present invention and traveling in a predetermined area. In FIG. 2, light reflectors (hereinafter simply referred to as reflectors) 6a to 6a having reflective surfaces that reflect incident light in the direction of incidence are located around the area where the self-propelled vehicle 1 as a moving body is traveling. 6d
is installed. Known light reflecting means such as a corner cube prism is used for the reflecting surfaces of the reflectors 6a to 6d. The self-propelled vehicle 1 is, for example, a lawn mower having a cutter blade (not shown) for mowing the lawn on its lower surface. A light beam scanning device (hereinafter simply referred to as a scanning device) 2 is mounted on the top of the self-propelled vehicle 1 . This scanning device 2 includes a light emitter that generates a light beam 2E, and the reflectors 6a to 6.
It has a light receiver that receives the reflected light 2R of the light beam 2E reflected at d. The light emitter has a light emitting diode, and the light receiver has a photodiode that converts incident light into an electrical signal. A light emitter and a light receiver are connected to the inner ring member 1.
4 is housed in a casing 3 which is attached by known fastening means such as bolting.

【0023】発光器から出た光ビームは回転ミラー(以
下、単にミラーという)4で直角方向に屈折反射される
ことにより、方向転換されて走査装置2から外部に投射
される。ミラー4はモータ5によって回転中心軸8のま
わりで矢印17の方向に回転され、このミラー4の回転
によって光ビーム2Eは回転中心軸8を中心にして矢印
R方向に回転走査される。ミラー4の回転位置で決まる
光ビーム2Eの投射方向つまりモータ5の回転角度はエ
ンコーダ7で検出される。
The light beam emitted from the light emitter is refracted and reflected in a right angle direction by a rotating mirror (hereinafter simply referred to as a mirror) 4, thereby changing its direction and being projected from the scanning device 2 to the outside. The mirror 4 is rotated by the motor 5 around the central axis of rotation 8 in the direction of an arrow 17, and the rotation of the mirror 4 causes the light beam 2E to rotate and scan in the direction of the arrow R around the central axis of rotation 8. The projection direction of the light beam 2E determined by the rotational position of the mirror 4, that is, the rotational angle of the motor 5, is detected by an encoder 7.

【0024】走査装置2は、光ビーム2Eの光跡で描か
れる回転走査面の角度を連続変化(揺動走査)させるた
めのジンバル揺動機構を有している。この揺動機構は、
ブラケット9の軸12およびブラケット10の図示しな
い軸に対して揺動自在に軸支された外側リング部材11
と、この外側リング部材11の内側に設けられた内側リ
ング部材14とを有する。この内側リング部材14は、
前記外側リング部材11の支軸の延長線と直交する線上
で外側リング部材11に設けられた軸13およびこの軸
13と対向する位置に設けられた他方の軸20(図1に
示す)によって揺動自在に軸支されている。
The scanning device 2 has a gimbal swing mechanism for continuously changing (swing scanning) the angle of the rotating scanning surface drawn by the light trail of the light beam 2E. This swing mechanism is
An outer ring member 11 is swingably supported on a shaft 12 of the bracket 9 and a shaft (not shown) of the bracket 10.
and an inner ring member 14 provided inside this outer ring member 11. This inner ring member 14 is
It is oscillated by a shaft 13 provided on the outer ring member 11 on a line perpendicular to the extension line of the support shaft of the outer ring member 11 and another shaft 20 (shown in FIG. 1) provided at a position facing this shaft 13. It is pivoted for free movement.

【0025】ジンバル揺動機構は揺動駆動用のモータ1
5によって駆動される。このジンバル揺動機構によって
、ミラー4の回転中心軸8は垂直から角度φだけ傾斜し
、かつその傾斜方向(以下、揺動方向という)は連続的
に変化して矢印17aの方向に回動する。このような回
転中心軸8の回動によって光ビーム2Eの回転走査によ
る走査面の角度が連続的に変化する。すなわち、光ビー
ム2Eの投射方向が上下方向に連続的に変化し、揺動走
査されるのである。
[0025] The gimbal swing mechanism includes a swing drive motor 1.
5. Due to this gimbal swing mechanism, the rotation center axis 8 of the mirror 4 is tilted by an angle φ from the vertical, and the direction of the tilt (hereinafter referred to as the swing direction) is continuously changed and rotated in the direction of the arrow 17a. . Due to such rotation of the rotation center shaft 8, the angle of the scanning surface caused by the rotational scanning of the light beam 2E changes continuously. That is, the projection direction of the light beam 2E changes continuously in the vertical direction, and swing scanning is performed.

【0026】次に、前記走査装置およびジンバル揺動機
構の揺動駆動装置について詳述する。図1は自走車1に
搭載された走査装置2の要部断面図であり、図2と同符
号は同一または同等部分を示す。まず、走査装置2につ
いて説明する。ミラー4は台座4aを介してモータ5の
軸の一端5aに取付けられていている。一方、モータ5
の軸の他端5bは連結金具19によってエンコーダ7の
軸7aと連結されている。エンコーダ7の出力パルスは
図示しない制御装置に送信され、ミラー4の回転角度や
回転数の演算に供される。
Next, the scanning device and the rocking drive device of the gimbal rocking mechanism will be described in detail. FIG. 1 is a sectional view of a main part of a scanning device 2 mounted on a self-propelled vehicle 1, and the same reference numerals as in FIG. 2 indicate the same or equivalent parts. First, the scanning device 2 will be explained. The mirror 4 is attached to one end 5a of the shaft of the motor 5 via a pedestal 4a. On the other hand, motor 5
The other end 5b of the shaft is connected to the shaft 7a of the encoder 7 by a connecting fitting 19. The output pulses of the encoder 7 are sent to a control device (not shown) and are used to calculate the rotation angle and number of rotations of the mirror 4.

【0027】前記ミラー4の台座4aには吸着板34が
設けられている。この吸着板34は、磁性体、例えば鉄
で作られていて、電磁石16が付勢されることにより電
磁石16に吸着される。この吸着動作によって、電磁石
16が付勢された任意のタイミングでミラー4の停止位
置が固定される。
A suction plate 34 is provided on the pedestal 4a of the mirror 4. This attraction plate 34 is made of a magnetic material, for example iron, and is attracted to the electromagnet 16 when the electromagnet 16 is energized. By this attraction operation, the stop position of the mirror 4 is fixed at any timing when the electromagnet 16 is energized.

【0028】次に、ジンバル揺動機構の揺動駆動装置に
ついて説明する。揺動駆動装置は自走車1の上面に設け
られている。自走車1の上面に取付けられた軸受け21
には軸22が挿通されており、この軸22の一端には小
円盤23が固結され、他端には大円盤24が固結されて
いる。小円盤23には軸22に対して偏心した位置に偏
心軸23aが突設され、大円盤24には同様に偏心軸2
4aが突設されている。偏心軸23aおよび偏心軸24
aの偏心方向は互いに90度ずらしてある。
Next, the swing drive device of the gimbal swing mechanism will be explained. The swing drive device is provided on the top surface of the self-propelled vehicle 1. Bearing 21 attached to the top surface of self-propelled vehicle 1
A shaft 22 is inserted through the shaft 22, and a small disk 23 is fixed to one end of the shaft 22, and a large disk 24 is fixed to the other end. The small disk 23 has an eccentric shaft 23a protruding from a position eccentric to the shaft 22, and the large disk 24 similarly has an eccentric shaft 23a.
4a is provided protrudingly. Eccentric shaft 23a and eccentric shaft 24
The eccentric directions of a are shifted by 90 degrees from each other.

【0029】揺動用モータ15の軸15aは前記軸22
と一直線上に配置してあり、かつ軸15aにはL字形状
のブロック32が固結されている。つまり、偏心軸23
a,24aは軸15aに対しても軸22に対する偏心量
と同じだけ偏心していて、モータ15の軸15a、偏心
軸23a、軸22、および偏心軸24aはクランク軸を
形成している。揺動用モータ15によって回転軸15a
が回転されると、この回転はブロック32によって偏心
軸23aに伝達され、軸22が回転する。その結果、偏
心軸24aも軸22を中心に回転する。
The shaft 15a of the swing motor 15 is connected to the shaft 22.
An L-shaped block 32 is fixed to the shaft 15a. In other words, the eccentric shaft 23
a, 24a are eccentric with respect to the shaft 15a by the same amount as the eccentricity with respect to the shaft 22, and the shaft 15a of the motor 15, the eccentric shaft 23a, the shaft 22, and the eccentric shaft 24a form a crankshaft. Rotating shaft 15a by swing motor 15
When is rotated, this rotation is transmitted to the eccentric shaft 23a by the block 32, causing the shaft 22 to rotate. As a result, the eccentric shaft 24a also rotates around the shaft 22.

【0030】偏心軸23aは外接リング23bに対して
回転自在に嵌挿されており、この外接リング23bには
ブロック25が揺動自在に軸支されている。このブロッ
ク25は連結ボルト26によって内側リング部材14に
突設された軸(図示しない)を受ける球面軸受27と連
結されている。
The eccentric shaft 23a is rotatably fitted into a circumscribed ring 23b, and a block 25 is pivotally supported on the circumscribed ring 23b. This block 25 is connected by a connecting bolt 26 to a spherical bearing 27 that receives a shaft (not shown) projecting from the inner ring member 14 .

【0031】このように、小円盤23と内側リング部材
14とが連結されているので、小円盤23に対する偏心
軸23aの回転運動は、軸13,20を中心とする内側
リング部材14の揺動運動に変換される。
Since the small disk 23 and the inner ring member 14 are connected in this way, the rotational movement of the eccentric shaft 23a with respect to the small disk 23 is caused by the swinging of the inner ring member 14 about the shafts 13 and 20. converted into movement.

【0032】一方、大円盤24に突設された偏心軸24
aは球面軸受28で受けられている。外側リング部材1
1には軸29が突設されていて、この軸29によって球
面軸受30が支承されている。球面軸受28と球面軸受
30とは連結ボルト31で連結されている。このような
構成により、外側リング部材11も、内側リング部材1
4と同様、前記軸12およびこれと対向する位置の軸(
図示しない)を中心として揺動される。
On the other hand, an eccentric shaft 24 protruding from the large disk 24
a is supported by a spherical bearing 28. Outer ring member 1
1 is provided with a protruding shaft 29, and a spherical bearing 30 is supported by this shaft 29. The spherical bearing 28 and the spherical bearing 30 are connected by a connecting bolt 31. With such a configuration, the outer ring member 11 also has the same structure as the inner ring member 1.
4, the shaft 12 and the shaft (
(not shown).

【0033】前記外側リング部材11および内側リング
部材14の揺動が合成されると、内側リング部材14に
取付けられている走査装置2のミラー4の回転中心軸8
が、両リング部材11および14のそれぞれの揺動中心
軸の交点を中心にして、所定の傾斜角度を有して旋回す
る。換言すれば、この旋回による回転中心軸8の軌跡は
、前記交点を頂点とする円錐の側面(以下、単に円錐と
いう)となる。前記発光器および受光器を収容している
ケーシング3も、内側リング部材14の下面に取付けら
れているので、この内側リング部材14と一体となって
揺動する。
When the swings of the outer ring member 11 and the inner ring member 14 are combined, the central axis of rotation 8 of the mirror 4 of the scanning device 2 attached to the inner ring member 14
The ring members 11 and 14 pivot at a predetermined angle of inclination about the intersection of their respective pivot axes. In other words, the locus of the rotation center axis 8 due to this turning becomes a side surface of a cone (hereinafter simply referred to as a cone) with the apex at the intersection. Since the casing 3 housing the light emitter and the light receiver is also attached to the lower surface of the inner ring member 14, it swings together with the inner ring member 14.

【0034】連結ボルト26の両端には互いに逆方向の
ねじが切られていて、連結ボルト26を回転させると、
この連結ボルト26はブロック25および球面軸受け2
7に対して進退し、球面軸受27とブロック25との連
結長さを調節することができる。連結ボルト31も、連
結ボルト26と同様、この連結ボルト31が螺入されて
いる球面軸受28,30との連結長さを調節するもので
ある。
Both ends of the connecting bolt 26 are threaded in opposite directions, and when the connecting bolt 26 is rotated,
This connecting bolt 26 connects the block 25 and the spherical bearing 2.
7, the connection length between the spherical bearing 27 and the block 25 can be adjusted. Like the connecting bolt 26, the connecting bolt 31 is also used to adjust the length of connection with the spherical bearings 28, 30 into which the connecting bolt 31 is screwed.

【0035】前記大円盤24には薄円盤24bが設けら
れ、この薄円盤24bにはこれを跨いで揺動基準検出用
のセンサ33が設けられている。例えばセンサ33は金
属検知センサまたは光透過型センサであって、薄円盤2
4bの円周の予定位置にスリットを穿設しておくことに
より、センサ33から出力される前記スリットの検出信
号に基づいて揺動の基準位置が検出できる。
A thin disk 24b is provided on the large disk 24, and a sensor 33 for detecting a swing reference is provided astride this thin disk 24b. For example, the sensor 33 is a metal detection sensor or a light transmission type sensor, and the thin disk 2
By forming slits at predetermined positions on the circumference of the slit 4b, the reference position of the swing can be detected based on the detection signal of the slit outputted from the sensor 33.

【0036】モータ15の背後には、このモータ15の
回転位置を検出するためのエンコーダ35が付設されて
いる。このエンコーダ35の出力信号と、センサ33の
出力信号とによってミラー4の回転中心軸8の傾きφを
検出できる。回転中心軸8の揺動方向を検出する手段は
、エンコーダ35とセンサ33とを用いるものに限らな
い。例えば、薄円盤24bに、前記基準位置検出用のス
リットとは別に薄円盤24bの回転量検出用のスリット
を穿設し、2つのセンサによってこれら2種類のスリッ
トをそれぞれ検出するようにしてもよい。また、エンコ
ーダ35からモータ15の回転量と回転基準位置とを示
す信号の双方を取出すように構成してもよい。
An encoder 35 for detecting the rotational position of the motor 15 is attached behind the motor 15. The inclination φ of the rotation center axis 8 of the mirror 4 can be detected by the output signal of the encoder 35 and the output signal of the sensor 33. The means for detecting the swinging direction of the rotation center shaft 8 is not limited to the one using the encoder 35 and the sensor 33. For example, the thin disk 24b may be provided with a slit for detecting the amount of rotation of the thin disk 24b in addition to the slit for detecting the reference position, and two types of slits may be detected by two sensors. . Further, the encoder 35 may be configured to output both signals indicating the amount of rotation of the motor 15 and the reference rotation position.

【0037】なお、光ビームを上下方向にむらなく走査
し、その反射光の受光処理を簡単にするためには回転中
心軸8の揺動軌跡は円錐であるのが望ましいが、必ずし
も円錐でなくとも底面が円以外の錐であってもよい。例
えば、前記偏心軸23aおよび24aの偏心量を変化さ
せ、外側リング部材11と内側リング部材14のそれぞ
れの最大傾斜角度が異なるようにすれば、回転中心軸8
の揺動によって描かれる軌跡は楕円錐となる。
Note that in order to evenly scan the light beam in the vertical direction and to simplify the reception processing of the reflected light, it is desirable that the swing locus of the rotation center shaft 8 be conical, but it is not necessarily conical. In both cases, the base may be a cone other than a circle. For example, if the eccentricity of the eccentric shafts 23a and 24a is changed so that the maximum inclination angles of the outer ring member 11 and the inner ring member 14 are different, the rotation center axis 8
The trajectory drawn by the oscillation of is an elliptical cone.

【0038】本実施例ではこの揺動軌跡が円錐となるよ
う、つまり、外側リング部材11と内側リング部材14
のそれぞれの最大傾斜角度が同じになるように偏心軸2
3aおよび24aの偏心量を設定している。
In this embodiment, the swing locus is conical, that is, the outer ring member 11 and the inner ring member 14
Eccentric shaft 2 so that the maximum inclination angle of each is the same.
The amount of eccentricity of 3a and 24a is set.

【0039】なお、本実施例では外側リング部材11お
よび内側リング部材14を1つのモータで駆動するよう
にしたが、それぞれのリング部材を別個のモータで駆動
するようにしてもよい。その場合、各モータは回転中心
軸8が所望の錐形状を描くように、同期させて回転させ
るのはもちろんである。
In this embodiment, the outer ring member 11 and the inner ring member 14 are driven by one motor, but each ring member may be driven by a separate motor. In that case, it goes without saying that each motor is rotated synchronously so that the central axis of rotation 8 draws a desired conical shape.

【0040】以上説明した揺動機構を駆動させて光ビー
ムを投射させると、ミラー4の回転中心軸8自体が円錐
を描いて回動する揺動走査が行われ、ミラー4の回転に
よって光跡で描かれる面(回転走査面)は一平面に固定
されず揺動1サイクルの間は常に変化する。
When the above-described swing mechanism is driven to project a light beam, a swing scan is performed in which the central axis of rotation 8 of the mirror 4 rotates in a conical manner, and the rotation of the mirror 4 creates a light trail. The surface drawn by (rotational scanning surface) is not fixed to one plane and constantly changes during one swing cycle.

【0041】なお、回転中心軸8が円錐を描いて1回転
する周期よりミラー4が1回転する周期の方を十分に短
くすることによって、後述するような、きめの細かいピ
ッチでの走査軌跡を描かせることができる。本実施例で
は、ミラー4を2700rpmで回転させ、回転中心軸
8を揺動させる軸22を90rpmで回転させるように
した。
By making the period of one rotation of the mirror 4 sufficiently shorter than the period of one rotation of the central axis of rotation 8 drawing a cone, it is possible to obtain a scanning locus at a fine pitch as described later. You can draw it. In this embodiment, the mirror 4 was rotated at 2700 rpm, and the shaft 22 for swinging the rotation center shaft 8 was rotated at 90 rpm.

【0042】次に、図を参照して本実施例の走査装置に
よる光ビームの光跡について説明する。図3は前記ミラ
ー4を中心とした一定の半径を有する仮想の円筒面に描
かれた光跡をモデル化して示している。
Next, the light trail of the light beam produced by the scanning device of this embodiment will be explained with reference to the drawings. FIG. 3 shows a modeled light trail drawn on a virtual cylindrical surface having a constant radius centered on the mirror 4.

【0043】図示のように、前記走査装置2から投射さ
れた光ビーム2Eは、ミラー4の回転中心軸8が円錐運
動をすることにより、前記想定された円筒面上に網目状
の光跡を描く。本実施例では、ミラー4の回転数を27
00rpm、回転中心軸8の揺動回数つまり軸22の回
転数を90rpmとしたので、回転中心軸8が円錐状に
1回転する間にミラー4自体は30回転する。すなわち
、回転中心軸8が円錐を描いて1回転する間に、円筒面
上の任意の垂直線18を30本の光跡が横切る。
As shown in the figure, the light beam 2E projected from the scanning device 2 creates a mesh-like light trace on the assumed cylindrical surface due to the conical movement of the rotation center axis 8 of the mirror 4. draw. In this embodiment, the number of rotations of the mirror 4 is set to 27.
00 rpm, and the number of swings of the rotation center shaft 8, that is, the rotation speed of the shaft 22, was set to 90 rpm, so that the mirror 4 itself rotates 30 times while the rotation center shaft 8 makes one conical rotation. That is, 30 light trails cross any vertical line 18 on the cylindrical surface while the central axis of rotation 8 makes one rotation in a conical shape.

【0044】次に、前記垂直線18上に反射器を配設し
た場合、揺動1サイクルの中でどれだけ光ビームが反射
器へ照射され易くなるかを説明する。図4は前記光跡の
一部を拡大して示したものである。同図において、符号
6Hで示すように自走車1と反射器6とが近く、反射器
6の高さ方向の寸法が光跡の揺動幅BBに対して十分長
い場合は、30本の光跡がすべてこの反射器6を横切る
。これに対し、符号6Lで示すように自走車1と反射器
6との距離が非常に長い場合は、反射器6の高さ方向の
寸法は光跡の揺動幅BBに対して相対的に短くなる。 しかしながらこのように、反射器6の高さ方向の寸法が
相対的に短い場合であっても、光跡の垂直方向の最大間
隔Hが反射器6の高さ方向の寸法より相対的に小さけれ
ば、回転中心軸8が円錐運動を1回行う間に少なくとも
1回は反射器6を光跡が横切る。なお、図3,図4は、
繁雑さを回避し、作図を容易にするためモデル化して示
されているので、光跡の本数は実際よりも少なく記載し
てある。
Next, when the reflector is disposed on the vertical line 18, how easily the light beam is irradiated to the reflector during one swing cycle will be explained. FIG. 4 shows an enlarged view of a portion of the light trace. In the figure, as shown by reference numeral 6H, when the self-propelled vehicle 1 and the reflector 6 are close and the height dimension of the reflector 6 is sufficiently long with respect to the swing width BB of the light trail, 30 All light trails cross this reflector 6. On the other hand, when the distance between the self-propelled vehicle 1 and the reflector 6 is very long as shown by the symbol 6L, the dimension in the height direction of the reflector 6 is relative to the swing width BB of the light trail. becomes shorter. However, as described above, even if the height dimension of the reflector 6 is relatively short, if the maximum distance H between the light trails in the vertical direction is relatively smaller than the height direction dimension of the reflector 6. , the light trail crosses the reflector 6 at least once during one conical movement of the rotation center shaft 8. In addition, FIGS. 3 and 4 are
The number of light trails is less than the actual number because it is shown as a model to avoid complexity and facilitate drawing.

【0045】次に、上記の構成を有する走査装置2を搭
載した自走車1が、その走行領域内のどの位置にあるか
、またどの方向に走行しているかを検出するための基本
的原理を説明する。図5および図6は、自走車1の走行
領域を示す座標系における自走車1および反射器6a〜
6dの位置を示す図である。同図において、反射器6a
〜6dの配置位置、つまり基準点A,B,C,D,およ
び自走車1の位置T(Xp,Yp)は、基準点Bを原点
とし、基準点BおよびCを結ぶ直線をx軸とするx−y
座標系で表される。
Next, the basic principle for detecting where the self-propelled vehicle 1 equipped with the scanning device 2 having the above configuration is located within its travel area and in which direction it is traveling. Explain. 5 and 6 show the self-propelled vehicle 1 and the reflectors 6a to 6a in the coordinate system showing the travel area of the self-propelled vehicle 1.
It is a figure which shows the position of 6d. In the figure, reflector 6a
~6d, that is, the reference points A, B, C, D, and the position T (Xp, Yp) of the self-propelled vehicle 1, the origin is the reference point B, and the x-axis is the straight line connecting the reference points B and C. x-y
Represented in a coordinate system.

【0046】図示のように、自走車1の位置Tは、三角
形ATBの外接円上に存在すると同時に、三角形BTC
の外接円上に存在する。したがって、自走車1の位置は
、これら2つの三角形の外接円QおよびPの交点を算出
することによって求められる。外接円QおよびPの2つ
の交点のうち、一方の交点は基準点Bつまり原点である
から、他方の交点が自走車1の位置ということになる。 このような原理に従って自走車1の位置を求める算出式
は、本出願人がすでに出願している特開平1−2874
15号および特開平1−316808号公報に詳細が示
されている。
As shown, the position T of the self-propelled vehicle 1 is on the circumcircle of the triangle ATB and at the same time on the circumcircle of the triangle BTC.
Exists on the circumcircle of Therefore, the position of the self-propelled vehicle 1 is determined by calculating the intersection of the circumscribed circles Q and P of these two triangles. Since one of the two intersections of the circumscribed circles Q and P is the reference point B, that is, the origin, the other intersection is the position of the self-propelled vehicle 1. A calculation formula for determining the position of the self-propelled vehicle 1 according to this principle is disclosed in Japanese Patent Application Laid-Open No. 1-2874, which the applicant has already filed.
Details are shown in No. 15 and Japanese Unexamined Patent Publication No. 1-316808.

【0047】また、自走車1の進行方向は次式を用いて
算出される。図6において、自走車1の進行方向とx軸
とのなす角度をθf、進行方向を基準とした基準点Cの
方位角をθc、基準点Cのx座標をxc、自走車1のy
座標をYpとした場合、   θf=360°−tan−1{Yp/(xc−x)
}−θc………(1)となる。
Further, the traveling direction of the self-propelled vehicle 1 is calculated using the following equation. In FIG. 6, the angle between the traveling direction of the self-propelled vehicle 1 and the x-axis is θf, the azimuth angle of the reference point C with respect to the traveling direction is θc, the x-coordinate of the reference point C is xc, y
When the coordinate is Yp, θf=360°-tan-1{Yp/(xc-x)
}-θc (1).

【0048】次に、上記公報に記載された算出式および
上記算出式(1)によって求められた位置情報に基づい
て自走車1の走行方向を制御する操向制御について説明
する。図7は自走車1と基準点A〜Dとの位置関係を示
す図である。
Next, steering control for controlling the running direction of the self-propelled vehicle 1 based on the position information obtained by the calculation formula described in the above publication and the calculation formula (1) above will be explained. FIG. 7 is a diagram showing the positional relationship between the self-propelled vehicle 1 and reference points A to D.

【0049】自走車1は基準点Bの近くのスタート位置
から走行を始め、予定の走行コース36を走行してホー
ムポジション63に戻るものとする。走行コースは間隔
Lを有して平行に設定された直進行程と、各直進行程を
つなぐ旋回行程とからなる。自走車1は直進行程を走行
した後、y座標がYtnまたはYtfに達した位置で、
操舵角度を一定の値に固定して旋回行程を走行し、隣接
する次の直進行程に移行する。そして、直進行程のx座
標が最終のx座標Xendを超過した場合、その直進行
程走行後、最終旋回行程を経てホームポジション63に
戻る。
It is assumed that the self-propelled vehicle 1 starts traveling from a starting position near the reference point B, travels along the planned traveling course 36, and returns to the home position 63. The running course consists of straight strokes that are set in parallel with an interval L, and a turning stroke that connects the straight strokes. After the self-propelled vehicle 1 has traveled straight ahead, at the position where the y-coordinate reaches Ytn or Ytf,
The vehicle travels through a turning stroke with the steering angle fixed at a constant value, and then moves on to the next straight straight stroke. If the x-coordinate of the straight-line travel exceeds the final x-coordinate Xend, the vehicle returns to the home position 63 after the straight-line travel through the final turning stroke.

【0050】なお、図7においては、説明を簡単にする
ため、各基準点A,B,C,Dを、それらを結ぶ直線で
長方形が形成されるように配置した上で、直進行程は基
準点AとBとを結ぶ直線つまりy軸と平行にしたが、基
準点A〜Dを走行コースの周囲に配置してあれば、走行
コース36は任意に設定できる。
In FIG. 7, in order to simplify the explanation, the reference points A, B, C, and D are arranged so that straight lines connecting them form a rectangle, and the straight line distance is Although the straight line connecting points A and B is parallel to the y-axis, the traveling course 36 can be arbitrarily set as long as the reference points A to D are arranged around the traveling course.

【0051】続いて、フローチャートを参照して制御手
順を説明する。この説明のために参照されるフローチャ
ートで使用される各種パラメータ(記号)の意味は次の
とおりである。θ(n)…受光信号に基づいて決定され
た方位角、θq(n)…予測方位角、Cg(i)…検出
ブロック別受光回数、Am(i)…検出ブロック別検出
方位角、Cp(n)…基準点nの受光回数、Ap[n,
I]…基準点nの受光方位角、As[n,I]…基準点
n検出時の揺動方向、Cm[n,I]…基準点n検出時
のミラー回転数カウンタ値、Aps(k)…受光回数が
しきい値以上の検出ブロックを代表する方位角、Aps
(n)…Aps(k)を小さい順にn=1〜4にセット
した方位角、i…検出ブロックの番号、j…受光回数が
第1のしきい値以上の検出ブロックの数、k…受光回数
が第2のしきい値以上の検出ブロックの数、I…ミラー
4を予定数回転させて基準点nを検出した時の揺動方向
の記憶順を示す番号、J…ミラー4を予定数回転させた
ときの基準点nの連続検出回数、K…ミラー4を予定数
回転させたときの基準点nの連続検出回数の最大値、e
…連続検出回数の最大値が発生したときの揺動方向の記
憶順を示す番号の最後の番号、Asc(n)…基準点n
を高い確率で捕捉できる揺動方向、Ac(n)…直進処
理において受光信号に基づいて決定された方位角、θt
(n)…旋回解除のための基準点nのターン解除角まず
、操向制御の基本となる反射光受光処理について説明す
る。走査装置2から発射され、反射器6a〜6dで反射
された光ビームつまり反射光の受光処理は以下のとおり
行われる。
Next, the control procedure will be explained with reference to a flowchart. The meanings of various parameters (symbols) used in the flowcharts referred to for this explanation are as follows. θ(n)...Azimuth determined based on the light reception signal, θq(n)...Predicted azimuth, Cg(i)...Number of light receptions for each detection block, Am(i)...Detection azimuth for each detection block, Cp( n)...Number of light reception at reference point n, Ap[n,
I]... Light receiving azimuth angle of reference point n, As [n, I]... Rocking direction when reference point n is detected, Cm [n, I]... Mirror rotation number counter value when reference point n is detected, Aps (k )...Azimuth representing the detection block whose number of light receptions is equal to or greater than the threshold value, Aps
(n)...Azimuth where Aps(k) is set to n=1 to 4 in descending order, i...Detection block number, j...Number of detection blocks whose number of light receptions is greater than or equal to the first threshold, k...Light reception The number of detection blocks whose number of times is equal to or greater than the second threshold, I... A number indicating the storage order of the rocking direction when the mirror 4 is rotated a predetermined number of times and the reference point n is detected, J... The mirror 4 is rotated a predetermined number of times. Number of consecutive detections of reference point n when rotating, K... Maximum number of consecutive detections of reference point n when mirror 4 is rotated a predetermined number of times, e
...The last number of the numbers indicating the memory order of the rocking direction when the maximum number of consecutive detections occurs, Asc(n)...Reference point n
The swinging direction that can be captured with a high probability, Ac(n)...The azimuth angle determined based on the light reception signal in straight-ahead processing, θt
(n) Turn release angle of reference point n for turn release First, reflected light reception processing, which is the basis of steering control, will be explained. The light beam emitted from the scanning device 2 and reflected by the reflectors 6a to 6d, that is, the reflected light, is received and processed as follows.

【0052】図8は反射光受光処理の制御手順を示すフ
ローチャートである。ステップS100では、受光器に
よって光信号が検出されたか否かが判断される。光信号
が検出されたならば、ステップS101に進む。但し、
この時点では、検出された光信号は反射器6a〜6dか
らの反射光かどうかは識別できない。
FIG. 8 is a flowchart showing the control procedure for the reflected light reception process. In step S100, it is determined whether an optical signal is detected by the light receiver. If an optical signal is detected, the process advances to step S101. however,
At this point, it is not possible to determine whether the detected optical signal is reflected light from the reflectors 6a to 6d.

【0053】ステップS101では、前回の処理後、ミ
ラー4が回転した角度が微小か否かによってチャタリン
グによる信号検出ではないかどうかが確認される。つま
り、ミラー4が微小角度しか回転しないうちに光信号が
複数検出された場合はチャタリングと判断して、後から
検出された光信号は無視する。チャタリングでなければ
、ステップS102に進む。
In step S101, it is determined whether the signal detection is due to chattering, depending on whether the angle by which the mirror 4 was rotated after the previous processing is very small. That is, if a plurality of optical signals are detected before the mirror 4 rotates by only a small angle, it is determined that chattering is occurring, and optical signals detected later are ignored. If there is no chattering, the process advances to step S102.

【0054】ステップS102では、検出ブロック番号
を示す変数iに“0”をセットする。本実施例では、ミ
ラーの回転中心軸8が円錐状軌跡を描いて1回転する間
にミラー4は30回転する。すなわち回転中心軸8が円
錐状軌跡を描いて1回転する間に、回転走査が30回行
われるのである。この30回の回転走査によって同一の
反射器からの反射光を多数回受光する可能性がある。ほ
ぼ同一方向から受光器に入射した複数の光信号に関する
検出データは同一の発光源または反射器のデータとして
1つのグループにまとめて記憶するようにする。このグ
ループを検出ブロックという。したがって、予定の反射
器6a〜6dからの光だけが検出されたのであれば、こ
の検出ブロックの数は4つであり、設置されている反射
器の数と一致することになる。
In step S102, a variable i indicating the detection block number is set to "0". In this embodiment, the mirror 4 rotates 30 times while the rotation center axis 8 of the mirror makes one rotation while drawing a conical locus. In other words, rotational scanning is performed 30 times while the rotation center shaft 8 makes one rotation while drawing a conical locus. Through these 30 rotational scans, there is a possibility that reflected light from the same reflector will be received many times. Detection data regarding a plurality of optical signals incident on the light receiver from substantially the same direction are stored together in one group as data for the same light emitting source or reflector. This group is called a detection block. Therefore, if only the light from the scheduled reflectors 6a to 6d is detected, the number of detection blocks is four, which corresponds to the number of installed reflectors.

【0055】ステップS103では、前記検出ブロック
別の受光回数Cg(i)が“0”か否かを判断する。ス
テップS102でパラメータiに“0”がセットされた
ので、まず、検出ブロック番号“0”の検出ブロックで
の受光回数が“0”か否か、つまりこの検出ブロックで
最初に検出された光信号か否かが判断される。
In step S103, it is determined whether the number of times Cg(i) of light reception for each detection block is "0" or not. Since the parameter i is set to "0" in step S102, first, it is determined whether or not the number of light receptions in the detection block with the detection block number "0" is "0", that is, the first optical signal detected in this detection block. It is determined whether or not.

【0056】最初の処理ではこの判断は肯定となってス
テップS106に進み、ミラー角つまり光を検出した方
位角が記憶される。検出ブロック(i)を代表する方位
角Am(i)として今回検出された方位角を記憶し、当
該検出ブロック(i)での光信号の受光回数Cg(i)
の値をインクリメントする。
In the first process, this determination is affirmative, and the process proceeds to step S106, where the mirror angle, that is, the azimuth angle at which the light was detected, is stored. The currently detected azimuth is stored as the azimuth Am(i) representing the detection block (i), and the number of times the optical signal is received by the detection block (i) is calculated as Cg(i).
Increment the value of .

【0057】ステップS107では、基準点を識別する
カウンタの値nをクリアする。本実施例では、カウンタ
値“1”は基準点Aに、カウンタ値“2”は基準点Bに
、カウンタ値“3”は基準点Cに、カウンタ値“4”は
基準点Dにそれぞれ対応させてある。ステップS108
ではそのカウンタの値nをインクリメントする。
In step S107, the value n of the counter for identifying the reference point is cleared. In this example, the counter value "1" corresponds to the reference point A, the counter value "2" corresponds to the reference point B, the counter value "3" corresponds to the reference point C, and the counter value "4" corresponds to the reference point D. I've let it happen. Step S108
Then, the value n of the counter is incremented.

【0058】ステップS109では、今回検出した方位
角が、後述のイニシャルポール識別処理や往路直進処理
で設定された予測方位角θq(n)とほぼ同一か否かが
判断される。すなわち、ステップS108でカウンタ値
nは“1”になっているので、このカウンタ値“1”に
対応する基準点Aの予測方位角に関し、これと検出方位
角とがほぼ一致するか否かが判断される。予測方位角θ
q(n)は、例えば、今回検出時の方位角に一定の値α
を加算した値でも良いが、自走車1の移動量に対して反
射光の受光間隔が短いので今回の値と同値を予測方位角
としても実用上支障がないし、処理も簡単である。
In step S109, it is determined whether or not the currently detected azimuth is substantially the same as the predicted azimuth θq(n) set in the initial pole identification process or outbound straight-on process, which will be described later. That is, since the counter value n is "1" in step S108, it is determined whether or not the predicted azimuth of the reference point A corresponding to this counter value "1" substantially matches the detected azimuth. be judged. Predicted azimuth angle θ
For example, q(n) is a constant value α for the azimuth at the time of current detection.
However, since the reception interval of the reflected light is short relative to the amount of movement of the self-propelled vehicle 1, there is no practical problem in using the same value as the current value as the predicted azimuth, and the processing is simple.

【0059】ステップS109の判断が否定の場合は、
ステップS110でカウンタ値nが“4”か否かが判別
される。ステップS110の判断が肯定になるまでステ
ップS108,S109の処理が繰返され、基準点A〜
Dのすべての予測方位角θq(n)に関してこれと検出
方位角とがほぼ一致するか否かが判断される。
[0059] If the determination in step S109 is negative,
In step S110, it is determined whether the counter value n is "4". The processes in steps S108 and S109 are repeated until the determination in step S110 becomes affirmative, and the reference points A to
For all predicted azimuths θq(n) of D, it is determined whether these and detected azimuths substantially match.

【0060】予測方位角θq(n)が検出方位角とほぼ
一致していれば、ステップS109からステップS11
1に進む。ステップS111では、予定の基準点を検出
したとして、カウンタ値nで示される基準点の受光回数
Cp(n)がインクリメントされる。さらに、その基準
点の受光方位角Ap[n,Cp(n)]、ミラー4の回
転中心軸8の傾斜方向つまり揺動方向As[n,Cp(
n)]、ならびにミラー4の回転カウンタ値Cm[n,
Cp(n)]を記憶する。この回転カウンタ値は、セン
サ33の出力信号に基づく予定の方向に揺動方向がある
時を基準として、そこから計数したミラー4の回転が何
回転目かを示す値である。
If the predicted azimuth θq(n) substantially matches the detected azimuth, steps S109 to S11
Go to 1. In step S111, assuming that the scheduled reference point has been detected, the number of times Cp(n) of light reception at the reference point indicated by the counter value n is incremented. Further, the light receiving azimuth Ap[n, Cp(n)] of the reference point, the tilt direction of the rotation center axis 8 of the mirror 4, that is, the swing direction As[n, Cp(
n)] and the rotation counter value Cm[n,
Cp(n)]. This rotation counter value is a value indicating the number of rotations of the mirror 4 counted from the time when the rocking direction is in the predetermined direction based on the output signal of the sensor 33 as a reference.

【0061】なお、ステップS103で、検出ブロック
(i)での受光回数Cg(i)が“0”でない、つまり
初めての受光でないと判断された場合は、ステップS1
04に進む。ステップS104では、検出方位角が、検
出ブロック(i)で先に受光した光信号の方位角Am(
i)とほぼ一致しているか否かが判断される。両者が一
致していればステップS106に進み、今回の検出方位
角で検出ブロック(i)の方位角Am(i)を更新する
Note that if it is determined in step S103 that the number of light receptions Cg(i) in the detection block (i) is not "0", that is, it is not the first time that light is received, step S1
Proceed to 04. In step S104, the detection azimuth is the azimuth Am(
It is determined whether or not it substantially matches i). If the two match, the process advances to step S106, and the azimuth Am(i) of the detection block (i) is updated with the current detection azimuth.

【0062】また、ステップS104の判断が否定の場
合、つまり検出ブロック(i)で先に受光した光信号の
方位角Am(i)と今回検出された方位角とが一致して
いない場合は、他の検出ブロックからの光であると判断
してステップS105に進み、検出ブロック番号(i)
をインクリメントする。検出ブロック番号(i)をイン
クリメントした後ステップS103に進み、インクリメ
ントされた検出ブロック番号(i)に対応する検出ブロ
ックについて、初めての受光か否かの判断がなされる。
Further, if the determination in step S104 is negative, that is, if the azimuth Am(i) of the optical signal previously received by the detection block (i) does not match the azimuth detected this time, It is determined that the light is from another detection block, and the process proceeds to step S105, where the detection block number (i)
Increment. After incrementing the detection block number (i), the process proceeds to step S103, and it is determined whether or not the detection block corresponding to the incremented detection block number (i) is receiving light for the first time.

【0063】前記反射光受光処理によって記憶された受
光信号の方位角つまり基準点の方位角に基づいて後述の
ように自走車1の位置と進行方向とが演算され、操向制
御が行われる。図9,図10は操向制御の全体を示すゼ
ネラルフローチャートである。
Based on the azimuth of the light reception signal stored by the reflected light reception process, that is, the azimuth of the reference point, the position and traveling direction of the self-propelled vehicle 1 are calculated as described later, and steering control is performed. . 9 and 10 are general flowcharts showing the entire steering control.

【0064】図9において、ステップS1ではモータ5
および15を起動してミラー4を回転中心軸8を中心と
して回転させると共に、その回転中心軸8が円錐状の軌
跡を描くようにジンバル揺動機構を動作させる。ここで
は、基準点A〜Dに設定された反射器6a〜6dに確実
に光ビームを照射させられるようにモータ15は低速で
回転させる。
In FIG. 9, in step S1, the motor 5
and 15 to rotate the mirror 4 about the rotation center axis 8, and operate the gimbal swing mechanism so that the rotation center axis 8 draws a conical trajectory. Here, the motor 15 is rotated at a low speed so that the reflectors 6a to 6d set at the reference points A to D are reliably irradiated with the light beam.

【0065】ステップS2では、基準点A〜Dつまり反
射器6a〜6dのイニシャル方位角を決定するイニシャ
ルポール識別処理を行う。この処理の詳細は図11およ
び図12に関して後述する。ステップS3では、自走車
1から基準点A〜Dまでの各距離を測定して各基準点の
位置つまり前記x−y座標系における基準座標値を計算
するポール位置計測処理を行う。この処理の詳細は図1
3、図14および図15に関して後述する。ステップS
4では、ステップS2とステップS3で算出された基準
点の方位角および座標値に基づき、現在の自走車1の位
置座標(Xp,Yp)を算出する。ステップS5では、
現在の自走車1のx座標Xpを第1番目の直進行程のx
座標Xrefとしてセットする。このセットは、自走車
1が走行作業開始位置にある場合の動作である。
In step S2, initial pole identification processing is performed to determine the initial azimuths of the reference points A to D, that is, the reflectors 6a to 6d. Details of this processing will be described later with reference to FIGS. 11 and 12. In step S3, a pole position measurement process is performed to measure each distance from the self-propelled vehicle 1 to the reference points A to D and calculate the position of each reference point, that is, the reference coordinate value in the xy coordinate system. The details of this process are shown in Figure 1.
3, as will be described later with reference to FIGS. 14 and 15. Step S
4, the current position coordinates (Xp, Yp) of the self-propelled vehicle 1 are calculated based on the azimuth and coordinate values of the reference point calculated in steps S2 and S3. In step S5,
The current x-coordinate Xp of self-propelled vehicle 1 is
Set the coordinates as Xref. This set is an operation when the self-propelled vehicle 1 is at the traveling work start position.

【0066】ステップS6では、モータ5および15を
所定の速度で高速回転させてミラー4を回転および揺動
させる。ステップS7では、自走車1のエンジン回転を
駆動輪に接続して走行を開始させる。
In step S6, the motors 5 and 15 are rotated at a predetermined speed to rotate and swing the mirror 4. In step S7, the engine rotation of the self-propelled vehicle 1 is connected to the drive wheels to start traveling.

【0067】引続いて図10のステップS8では、自走
車1をそのy座標値が大きくなる方向に直進行程を走行
させる往路直進処理を行う。この往路直進処理では、反
射光受光処理で得られた方位角に基づいて自己位置(X
p,Yp)および進行方向θfを算出する。そして、そ
れらの値と設定された走行コースとの差を算出し、この
差を修正するように自走車1の操舵輪の操舵角を変更す
る制御を行う。この処理は本発明と直接関係ないので詳
細のフローチャートの図示は省略する。
Subsequently, in step S8 of FIG. 10, an outbound straight-line process is performed in which the self-propelled vehicle 1 is caused to travel straight ahead in a direction in which the y-coordinate value increases. In this straight forward processing, the self-position (X
p, Yp) and the traveling direction θf. Then, the difference between these values and the set travel course is calculated, and control is performed to change the steering angle of the steered wheels of the self-propelled vehicle 1 so as to correct this difference. Since this process is not directly related to the present invention, a detailed flowchart will not be illustrated.

【0068】ステップS9では、自走車1のy座標Yp
が予定のy座標Ytfより大きくなったか否かによって
第1番目の直進行程の走行を終了したか否かを判断する
。自走車1が直進行程の走行を終了したと判断されると
ステップS10に進む。ステップS10では、直進行程
のx座標Xrefに、隣接する直進行程までの距離Lを
加算して次の直進行程を設定する。ステップS11では
、旋回行程の走行を終了させる方位角を設定する右ター
ン解除角セット処理を行う。右ターン解除角セット処理
では次のステップで行われるUターン処理を終らせるた
めの各基準点毎の方位角つまり右ターン解除角を算出す
る。
In step S9, the y-coordinate Yp of the self-propelled vehicle 1 is
It is determined whether or not the first straight-line travel has been completed based on whether or not the y-coordinate Ytf has become larger than the scheduled y-coordinate Ytf. When it is determined that the self-propelled vehicle 1 has finished traveling in a straight line, the process proceeds to step S10. In step S10, the next straight travel is set by adding the distance L to the adjacent straight travel to the x-coordinate Xref of the straight travel. In step S11, right turn release angle setting processing is performed to set the azimuth at which the turning stroke is ended. In the right turn release angle setting process, the azimuth angle for each reference point, that is, the right turn release angle, is calculated for each reference point to complete the U-turn process to be performed in the next step.

【0069】ステップS12では、操舵角を予定値に固
定して自走車1を一定の旋回半径で右回りに旋回させ、
予定の旋回行程に沿って自走車1を走行させるUターン
処理を行う。ステップS11および12の処理も本発明
と直接関係ないので詳細のフローチャートは図示を省略
する。ステップS13では、自走車1から見た方位角が
予定の右ターン解除角に達した基準点の数を計数する解
除カウンタ(前記Uターン処理時に計数される)の値が
“1”を超過しているか否かを判断する。この判断が肯
定の場合は、旋回行程の走行を終了したと判断してステ
ップS14に進む。
In step S12, the steering angle is fixed at a predetermined value and the self-propelled vehicle 1 is turned clockwise with a constant turning radius.
A U-turn process is performed in which the self-propelled vehicle 1 travels along a scheduled turning stroke. Since the processes in steps S11 and S12 are also not directly related to the present invention, detailed flowcharts are omitted. In step S13, the value of a release counter (counted during the U-turn processing) that counts the number of reference points at which the azimuth seen from the self-propelled vehicle 1 has reached the scheduled right turn release angle exceeds "1". determine whether or not. If this determination is affirmative, it is determined that the turning stroke has ended, and the process proceeds to step S14.

【0070】ステップS14では、自走車1をそのy座
標値が小さくなる方向に直進行程を走行させる復路直進
処理を行う。この復路直進処理はステップS8の往路直
進処理と同様である。ステップS15では、自走車1の
y座標Ypが予定のy座標Ytnより小さいか否かによ
って第2番目の直進行程の走行を終了したか否かを判断
する。ステップS16では、直進行程のx座標Xref
が走行終了予定地点のx座標Xendを超過したか否か
を判断する。ステップS16の判断が否定の場合は、ス
テップS17に進んで次の直進行程を設定する。ステッ
プS18では、左方向旋回行程の走行を終了させる方位
角を設定する左ターン解除角セット処理を行う。この処
理はセットされる解除角の値が異なる他は前記右ターン
解除角セット処理と同様である。ステップS19では、
Uターン処理を行う。ステップS20では、解除カウン
タの値が“1”を超過しているか否かを判断する。この
判断が肯定の場合は、旋回行程の走行を終了したと判断
してステップS8に戻る。
[0070] In step S14, a return trip straight process is performed in which the self-propelled vehicle 1 is caused to travel straight in a direction in which the y-coordinate value thereof becomes smaller. This straight-on return process is similar to the straight-on outward process in step S8. In step S15, it is determined whether or not the second straight travel has been completed based on whether or not the y-coordinate Yp of the self-propelled vehicle 1 is smaller than the scheduled y-coordinate Ytn. In step S16, the x-coordinate Xref of the straight travel
It is determined whether or not exceeds the x-coordinate Xend of the scheduled end point of the run. If the determination in step S16 is negative, the process advances to step S17 to set the next straight stroke. In step S18, left turn release angle setting processing is performed to set the azimuth angle at which the leftward turning stroke is ended. This process is similar to the right turn release angle setting process except that the value of the release angle to be set is different. In step S19,
Perform U-turn processing. In step S20, it is determined whether the value of the release counter exceeds "1". If this determination is affirmative, it is determined that the turning stroke has ended and the process returns to step S8.

【0071】また、ステップS16の判断が肯定の場合
は、ステップS21に進む。ステップS16の判断が肯
定の場合はすべての直進行程の走行を終了した場合であ
り、ステップS21では、最終の旋回行程における解除
角をセットする処理を行う。この処理は右ターン解除角
セットや左ターン解除角と同様に処理される。
Further, if the determination in step S16 is affirmative, the process advances to step S21. If the determination in step S16 is affirmative, this means that all straight-line travel has been completed, and in step S21, processing is performed to set the release angle for the final turning stroke. This process is performed in the same way as the right turn release angle set and the left turn release angle set.

【0072】ステップS22ではUターン処理を行い、
ステップS23では、解除カウンタの値が1を超過して
いるか否かを判断する。ステップS24では、ホームポ
ジション63に戻る直進行程を走行させる処理を行う。 この処理は往路直進処理と同様である。
[0072] In step S22, a U-turn process is performed,
In step S23, it is determined whether the value of the release counter exceeds 1 or not. In step S24, a process is performed in which the vehicle travels straight back to the home position 63. This process is similar to the straight forward process.

【0073】ステップS25では、自走車1のx座標X
pがホームポジション63のx座標Xhomeより小さ
くなったか否かを判断する。この判断が肯定ならば、自
走車1がホームポジション63に戻ったと判断して処理
を終える。
[0073] In step S25, the x-coordinate of the self-propelled vehicle 1
It is determined whether p has become smaller than the x-coordinate Xhome of the home position 63. If this determination is affirmative, it is determined that the self-propelled vehicle 1 has returned to the home position 63, and the process ends.

【0074】次に、前記ステップS2のイニシャルポー
ル識別処理について詳述する。図11はイニシャルポー
ル識別処理のフローチャートであり、図12はイニシャ
ルポール識別処理の中で行われるポール選択処理のフロ
ーチャートである。
Next, the initial pole identification process in step S2 will be described in detail. FIG. 11 is a flowchart of the initial pole identification process, and FIG. 12 is a flowchart of the pole selection process performed in the initial pole identification process.

【0075】このイニシャルポール識別処理は、予定回
数以上受光した検出ブロックが、設置されているすべて
の反射器の数と一致するまで、繰返して反射光受光処理
を行い、反射器つまり基準点を確定する処理である。つ
まり反射器の数と一致した前記検出ブロックを代表する
検出方位角Am(i)を基準点の方位角として確定する
のである。
In this initial pole identification process, the reflected light reception process is repeated until the number of detection blocks that have received light more than a predetermined number of times matches the number of all installed reflectors, and the reflector or reference point is determined. This is the process of In other words, the detection azimuth Am(i) representing the detection block that matches the number of reflectors is determined as the azimuth of the reference point.

【0076】図11において、ステップS120では、
揺動方向が“0°”になったか否か、つまり前記揺動基
準検出用のセンサ33で予定の基準位置が検出されたか
否かを判断する。予定の基準位置が検出されて、揺動方
向が“0°”になったと判断されると、ステップS12
1に進む。ステップS121では、反射光受光処理によ
って得られたデータを記憶するメモリ領域のデータをク
リアする。
In FIG. 11, in step S120,
It is determined whether the swing direction has reached "0°", that is, whether or not the predetermined reference position has been detected by the swing reference detection sensor 33. When the scheduled reference position is detected and it is determined that the swing direction is "0°", step S12
Go to 1. In step S121, the data in the memory area that stores the data obtained by the reflected light reception process is cleared.

【0077】ステップS122では、図8に示した反射
光受光処理を行う。このイニシャルポール識別処理にお
ける反射光受光処理では、この処理以前に予測方位角が
決定されていないので、図8に関して説明した反射光受
光処理のうちの、ステップS100〜S106に相当す
る処理が行われる。
In step S122, the reflected light reception process shown in FIG. 8 is performed. In the reflected light reception process in this initial pole identification process, since the predicted azimuth has not been determined before this process, processes corresponding to steps S100 to S106 of the reflected light reception process described with reference to FIG. 8 are performed. .

【0078】ステップS123では、再び揺動方向が“
0°”か否かを判断する。つまり回転中心軸8が円錐を
描く揺動走査の1サイクルが終了したか否かが判断され
る。1サイクルの走査が終了するまでは反射光受光処理
を続け、1サイクルが終了すると、ステップS124に
進む。
In step S123, the rocking direction is changed again to "
0°". In other words, it is determined whether one cycle of oscillating scanning in which the rotation center axis 8 draws a cone has been completed.The reflected light reception process is not performed until one cycle of scanning is completed. Continuing, when one cycle is completed, the process advances to step S124.

【0079】ステップS124では、基準点の選択処理
(ポール選択処理)を行う。この選択処理では、反射光
受光処理において検出された検出ブロックのうち受光回
数Cg(i)の多い4つの検出ブロックを選択し、その
検出ブロックを代表する検出方位角Am(i)を方位角
の小さい順にAps(n)にセットする。なお本実施例
では基準点はA,B,C,Dの4か所に設定してあるの
で、n=1〜4である。図8の反射光受光処理のフロー
チャートで示したように、検出ブロックを代表する検出
方位角Am(i)は、その検出ブロックで検出された方
位角の最新データである。このように最新データを使用
することにより、この方位角を記憶するメモリの記憶容
量を節約することができる。
In step S124, reference point selection processing (pole selection processing) is performed. In this selection process, four detection blocks with a large number of light receptions Cg(i) are selected from among the detection blocks detected in the reflected light reception process, and the detection azimuth Am(i) representing the detection block is set as the azimuth angle. Set Aps(n) in descending order. In this embodiment, the reference points are set at four locations A, B, C, and D, so n=1 to 4. As shown in the flowchart of the reflected light reception process in FIG. 8, the detected azimuth Am(i) representing a detection block is the latest data of the azimuth detected by that detection block. By using the latest data in this way, the storage capacity of the memory for storing this azimuth angle can be saved.

【0080】また、ステップS124では、次のステッ
プS125における判断の材料となるポール選択モード
「1」〜「3」の決定も行われる。ポール選択処理は、
さらに図12に関して詳細に述べる。
Furthermore, in step S124, the pole selection modes "1" to "3" are determined, which will be the basis for the determination in the next step S125. The pole selection process is
Further details will be given with respect to FIG.

【0081】ステップS125では、ポール選択処理で
決定されたポール選択モードが「1」〜「3」のいずれ
であるかを判別する。ポール選択モードが「1」の場合
は、4つの基準点のすべてが識別でき、その方位角を検
出できたとしてステップS126に進む。ステップS1
26では、基準点の方位角θ(n)として、ステップS
124の処理で得られた方位角Aps(n)をセットす
る。また、ポール選択モードが「2」の場合は、4つの
基準点を選択できない、つまり受光回数Cg(i)が所
定値に達していないため、ステップS122に戻って反
射光受光処理を継続する。さらに、ポール選択モードが
「3」の場合は、予定外の反射物体があったりして、受
光回数Cg(i)が所定値以上の検出ブロックが5つ以
上ある場合である。この場合は検出ブロックの中から基
準点を特定することができなかったとしてステップS1
21に戻り、最初からこのイニシャルポール識別処理を
やり直す。
In step S125, it is determined whether the pole selection mode determined in the pole selection process is one of "1" to "3". If the pole selection mode is "1", it is assumed that all four reference points have been identified and their azimuths have been detected, and the process advances to step S126. Step S1
26, the azimuth angle θ(n) of the reference point is set as step S
The azimuth Aps(n) obtained in step 124 is set. If the pole selection mode is "2", the four reference points cannot be selected, that is, the number of light receptions Cg(i) has not reached the predetermined value, and the process returns to step S122 to continue the reflected light reception process. Furthermore, when the pole selection mode is "3", there are five or more detection blocks in which the number of light receptions Cg(i) is equal to or greater than a predetermined value due to an unexpected reflective object. In this case, it is assumed that the reference point could not be specified from among the detection blocks, and step S1
Returning to step 21, this initial pole identification process is repeated from the beginning.

【0082】次に、このイニシャルポール識別処理にお
ける反射光受光処理で得られたデータの例を示す。イニ
シャルポール識別処理では、回転中心軸8が1回揺動す
る間、つまりミラー4が30回転する間に記憶された受
光データに基づいて基準点の識別処理を行う。図18は
ミラー4が30回転する間に蓄積された受光データの例
を示す図である。
Next, an example of data obtained in the reflected light reception process in this initial pole identification process will be shown. In the initial pole identification process, a reference point identification process is performed based on the light reception data stored while the rotation center shaft 8 swings once, that is, while the mirror 4 rotates 30 times. FIG. 18 is a diagram showing an example of received light data accumulated while the mirror 4 rotates 30 times.

【0083】同図において、縦軸は検出ブロック(i)
の受光回数Cg(i)であり、横軸は各検出ブロック(
i)の方位角Am(i)である。図示のように、検出ブ
ロックの数が7つ(i=0〜6)あったとすれば、これ
はミラー4が30回転する間に7方向から光信号が受光
されたことを示す。受光回数Cg(i)が複数回の検出
ブロックでは、方位角Am(i)は前述のように最新の
検出データである。なお、検出ブロックの番号iが必ず
しも方位角の小さい順に並んでいないのは、受光した順
に番号が付されているためである。
In the figure, the vertical axis represents the detection block (i)
The horizontal axis is the number of light receptions Cg(i) of each detection block (
i) is the azimuth angle Am(i). As shown in the figure, if there are seven detection blocks (i=0 to 6), this means that optical signals were received from seven directions while the mirror 4 rotated 30 times. In a detection block in which the number of light receptions Cg(i) is plural, the azimuth Am(i) is the latest detection data as described above. Note that the detection block numbers i are not necessarily arranged in order of decreasing azimuth angle because the numbers are assigned in the order of light reception.

【0084】この受光データを参照しながら前記ポール
選択処理の詳細を説明する。図12はポール選択処理の
フローチャートである。このポール選択処理では、受光
回数Cg(i)が予定のしきい値に達している検出ブロ
ックを抽出し、抽出した検出ブロックの数が予定の基準
点の数つまり“4”と一致しているかどうかを判別する
。一致していればその検出ブロックの受光データを予定
の基準点A〜Dに関するデータであると決定する。また
、抽出された検出ブロックの数が多い場合は基準点を特
定できないと判断して改めてデータの採取を行い、また
抽出された検出ブロックの数が少ない場合はさらにデー
タの採取を継続する。
The details of the pole selection process will be explained with reference to this light reception data. FIG. 12 is a flowchart of the pole selection process. In this pole selection process, detection blocks whose number of light receptions Cg(i) has reached a predetermined threshold value are extracted, and whether the number of extracted detection blocks matches the predetermined number of reference points, that is, "4"? determine whether If they match, the light reception data of that detection block is determined to be data related to the scheduled reference points A to D. Furthermore, if the number of extracted detection blocks is large, it is determined that the reference point cannot be specified and data is collected again, and if the number of extracted detection blocks is small, data collection is continued.

【0085】本実施例では、しきい値を“3”と“5”
の2段階設定した。そして、受光回数Cg(i)が第1
のしきい値“3”に達している検出ブロックの数はパラ
メータjで記憶し、第2のしきい値“5”に達している
検出ブロックの数はパラメータkで記憶するようにして
いる。そして、このパラメータj,kに基づき、基準点
を識別してよいか否かを判断するのである。
In this embodiment, the threshold values are set to "3" and "5".
Two stages were set. Then, the number of light receptions Cg(i) is the first
The number of detected blocks that have reached the second threshold value "3" is stored as a parameter j, and the number of detected blocks that have reached the second threshold value "5" is stored as a parameter k. Based on these parameters j and k, it is determined whether or not the reference point can be identified.

【0086】まず、ステップS130では、反射光受光
処理で得られたデータつまり光検出方位角Am(i)と
反射光の受光回数Cg(i)とを読込む。
First, in step S130, data obtained in the reflected light reception process, that is, the light detection azimuth Am(i) and the number of times Cg(i) of the reflected light is received are read.

【0087】ステップS131では、パラメータi,j
,kをクリアする。ステップS132では、当該検出ブ
ロック(i)が、その受光回数Cg(i)が3回より多
い検出ブロックであるか否かを判断する。受光回数Cg
(i)が3回より多い検出ブロックであったならば、ス
テップS133に進み、受光回数Cg(i)が3回以上
あった検出ブロックの数を示すパラメータjをインクリ
メントする。
In step S131, parameters i, j
, k is cleared. In step S132, it is determined whether the detection block (i) is a detection block whose number of light receptions Cg(i) is greater than three. Number of light reception Cg
If (i) is a detection block that has been detected more than three times, the process proceeds to step S133, and a parameter j indicating the number of detection blocks for which the number of light receptions Cg(i) is three or more times is incremented.

【0088】ステップS134では、受光回数Cg(i
)が5回より多い検出ブロックか否かを判断する。 受光回数が5回より多い検出ブロックであったならば、
ステップS135に進み、受光回数が5回以上あった検
出ブロックの数を示すパラメータkをインクリメントす
る。
In step S134, the number of light receptions Cg(i
) is detected more than 5 times. If the detection block receives light more than 5 times,
Proceeding to step S135, a parameter k indicating the number of detection blocks for which light has been received five or more times is incremented.

【0089】ステップS136では、パラメータkの値
が“4”以上か否かを判断する。受光回数Cg(i)が
5回を超える検出ブロックが4つ、すなわち予定の基準
点の総数以上あったか否かを判別するのである。受光回
数Cg(i)が5回を超える検出ブロックが4つ以下の
場合は、ステップS137において、受光回数Cg(i
)が5回以上あった検出ブロックを代表する検出方位角
Am(i)を予定の基準点のうちの1つの方位角Aps
(k)として記憶する。
In step S136, it is determined whether the value of parameter k is "4" or more. It is determined whether there are four detection blocks in which the number of light receptions Cg(i) exceeds five times, that is, whether or not there are more than the total number of scheduled reference points. If the number of detection blocks for which the number of light receptions Cg(i) exceeds 5 is four or less, in step S137, the number of light receptions Cg(i)
) is the detection azimuth Am(i) representing the detection block that has occurred five or more times.
(k).

【0090】ステップS138では、検出ブロックを示
す番号iをインクリメントする。ステップS139では
、受光回数Cg(i)が“0”か否かを判断する。受光
回数Cg(i)が“0”でなければ、まだ、受光回数が
記憶されている検出ブロックがあると判断して、ステッ
プS132に戻る。受光回数Cg(i)が“0”であれ
ば、チェックを終了していない検出ブロックはないと判
断してステップS140に進む。
In step S138, the number i indicating the detected block is incremented. In step S139, it is determined whether the number of light receptions Cg(i) is "0". If the number of light receptions Cg(i) is not "0", it is determined that there is still a detection block in which the number of light receptions is stored, and the process returns to step S132. If the number of light receptions Cg(i) is "0", it is determined that there is no detection block that has not been checked, and the process proceeds to step S140.

【0091】ステップS140では、パラメータj,k
が共に“4”か否か、つまり受光回数が3回以上あった
検出ブロックの数と、5回以上あった検出ブロックの数
とが共に4つであったか否かを判断する。この判断が肯
定の場合は、両方の検出ブロックが同一であると判断し
、これら4つの検出ブロックに対応して記憶されている
方位角Am(i)は基準点A〜Dの方位角であると判定
する。
In step S140, parameters j, k
It is determined whether or not both are "4", that is, whether the number of detection blocks that received light three times or more and the number of detection blocks that received light five or more times were both four. If this judgment is affirmative, it is judged that both detection blocks are the same, and the azimuth Am(i) stored corresponding to these four detection blocks is the azimuth of the reference points A to D. It is determined that

【0092】ステップS140が肯定の場合は、ステッ
プS141に進み、ステップS137で記憶された検出
方位角Aps(k)を、小さい順に方位角Aps(1)
〜Aps(4)としてセットする。ステップS142で
は、ポール選択モードを「1」とする。
If step S140 is affirmative, the process advances to step S141, where the detected azimuths Aps(k) stored in step S137 are sorted in ascending order of azimuths Aps(1).
~Aps(4). In step S142, the pole selection mode is set to "1".

【0093】前記ステップS140の判断が否定の場合
は、ステップS143に進んでパラメータjが“4”以
上か否か、つまり受光回数が3回以上あった検出ブロッ
クが4つ以上あったか否かを検出する。ステップS14
3が否定の場合は、ステップS144でポール選択モー
ドを「2」とし、肯定の場合は、ステップS145でポ
ール選択モードを「3」とする。決定されたこれらのポ
ール選択モードに従い、図11のイニシャルポール識別
処理におけるステップS125の判断を行う。
If the determination in step S140 is negative, the process proceeds to step S143, where it is determined whether the parameter j is "4" or more, that is, whether there are four or more detection blocks that have received light three or more times. do. Step S14
If 3 is negative, the pole selection mode is set to "2" in step S144, and if affirmative, the pole selection mode is set to "3" in step S145. According to these determined pole selection modes, the determination in step S125 in the initial pole identification process of FIG. 11 is performed.

【0094】例えば、図18に示した受光データの例で
は、受光回数Cg(i)が5回を超えている検出ブロッ
ク(番号i=0,2,3,5)の方位角が予定の基準点
の方位角であると識別される。
For example, in the example of the light reception data shown in FIG. 18, the azimuth of the detection block (number i = 0, 2, 3, 5) for which the number of light receptions Cg(i) exceeds 5 is the scheduled standard. is identified as the azimuth of the point.

【0095】次に、図9のステップS3に示したポール
位置計測処理に必要となる基準点の座標を決定する処理
について説明する。まず、そのために各基準点に光ビー
ムを照射させる確率の高い回転中心軸8の傾き(揺動方
向)を決定するポール捕捉揺動方向決定処理を説明する
。このポール捕捉揺動方向決定処理の概要は次のとおり
である。
Next, a process for determining the coordinates of a reference point necessary for the pole position measurement process shown in step S3 in FIG. 9 will be described. First, a pole capturing swing direction determination process for determining the inclination (swing direction) of the rotation center axis 8 with a high probability of irradiating each reference point with a light beam will be explained. The outline of this pole capture swing direction determination process is as follows.

【0096】図19に、ポール捕捉揺動方向決定処理に
おける反射光受光処理で検出された基準点A(n=1)
に関する受光データの例を示す。同図には、揺動の1サ
イクルつまりミラー4が30回転する間に検出した受光
データを示す。本実施例では、後述のように回転中心軸
8が1回転する間、すなわちミラー4が30回転する間
の受光データを取込むようにしている。なお、揺動方向
はエンコーダ35の回転量である。
FIG. 19 shows the reference point A (n=1) detected in the reflected light reception process in the pole capture swing direction determination process.
An example of light reception data related to is shown below. The figure shows light reception data detected during one cycle of rocking, that is, when the mirror 4 rotates 30 times. In this embodiment, as will be described later, light reception data is captured while the rotation center axis 8 makes one rotation, that is, while the mirror 4 makes 30 rotations. Note that the swing direction is the amount of rotation of the encoder 35.

【0097】パラメータCmは図8の反射光受光処理の
フローチャートで示したように、揺動方向が“0°”の
位置から計数を開始し、基準点nを検出したときの回転
カウンタ値を示すものであり、ここでは、ミラー4が3
0回転する間の受光データを採取しているのでパラメー
タCmの最大は“30”である。パラメータIは基準点
nを検出したときの揺動方向の記憶順を示す番号である
。すなわちこの記憶順を示す番号Iの最大値が基準点n
の受光回数Cp(n)となる。
As shown in the flowchart of reflected light reception processing in FIG. 8, the parameter Cm indicates the rotation counter value when counting starts from the position where the swing direction is "0°" and the reference point n is detected. , and here mirror 4 is 3
Since the light reception data is collected during zero rotation, the maximum parameter Cm is "30". Parameter I is a number indicating the storage order of the rocking directions when the reference point n is detected. In other words, the maximum value of number I indicating this storage order is the reference point n
The number of times of light reception is Cp(n).

【0098】このポール捕捉揺動方向決定処理では、ミ
ラー4の回転走査の1サイクル毎に基準点nを連続して
検出したグループを探索する。例えば図19において番
号Iが“1”および“2”、ならびに“3”〜“6”で
示される揺動方向はそれぞれ1つのグループのデータと
して取扱う。このようなグループのうちの連続検出回数
が最も多いグループにおける揺動方向の範囲を検出する
。そして範囲の中位値を算出する。そして、得られた揺
動方向の中位値が、基準点nに高い確率で光ビームを照
射させることができる揺動方向であると決定する。この
中位値は同一グループのすべての揺動方向の平均値でも
よいし、最大値および最小値の平均値でもよい。本実施
例では最大値および最小値の平均値を算出するようにし
た。
In this pole capture swing direction determination process, a group in which the reference point n is successively detected is searched for every cycle of rotational scanning of the mirror 4. For example, in FIG. 19, the rocking directions indicated by numbers I "1" and "2" and "3" to "6" are each treated as one group of data. Among such groups, the range of the swing direction in the group with the largest number of consecutive detections is detected. Then, calculate the median value of the range. Then, the obtained median value of the swing direction is determined to be the swing direction that allows the light beam to be irradiated to the reference point n with a high probability. This median value may be the average value of all rocking directions of the same group, or may be the average value of the maximum value and minimum value. In this embodiment, the average value of the maximum value and the minimum value is calculated.

【0099】例えば図19においては、基準点n検出時
にカウンタ値Cmが連続しているのは番号Iが“1”〜
“2”のときと、“3”〜“6”のときであり、このう
ち、番号Iが“3”〜“6”のときが連続回数が多い。 したがって、番号Iが“3”と“6”とにおける揺動方
向の値を平均して基準点(ポール)捕捉揺動方向を決定
する。平均された値は(108.6°+144.4°)
/2=126.5°である。
For example, in FIG. 19, when the reference point n is detected, the counter values Cm are consecutive when the number I is "1" to "1".
When the number I is "2" and when it is "3" to "6", and among these, when the number I is "3" to "6", the number of consecutive times is large. Therefore, the reference point (pole) capture swing direction is determined by averaging the swing direction values for numbers I of "3" and "6". The average value is (108.6° + 144.4°)
/2=126.5°.

【0100】図13,図14はポール捕捉揺動方向決定
処理のフローチャートである。図13において、ステッ
プS150では、揺動方向が“0°”になったか否かを
判断する。揺動方向が“0°”になったと判断されると
、ステップS151に進む。ステップS151では、反
射光受光処理によって得られたデータを記憶するメモリ
領域のデータをクリアする。ステップS152では、反
射光受光処理を行う。この処理は図8に関して説明した
とおりである。
FIGS. 13 and 14 are flowcharts of the pole capture swing direction determination process. In FIG. 13, in step S150, it is determined whether the swing direction has reached "0°". If it is determined that the rocking direction has become "0°", the process advances to step S151. In step S151, data in a memory area that stores data obtained by the reflected light reception process is cleared. In step S152, reflected light reception processing is performed. This process is as described with respect to FIG.

【0101】ステップS153では、揺動方向が“0°
”になったのが2回目か否か、すなわち揺動が1サイク
ルしたかどうかを判断する。この判断によって、回転中
心軸8が円錐を描く揺動が1サイクル終了したと判断さ
れるとステップS154に進む。すなわち、回転中心軸
8が円錐を描く揺動が1回行われるあいだ反射光受光処
理を行い、その間の受光データを蓄積する。
[0101] In step S153, the swing direction is "0°".
” is the second time, that is, whether one cycle of rocking has been completed. If it is determined that the central axis of rotation 8 has completed one cycle of rocking in a conical shape, step The process proceeds to S154.That is, the reflected light reception processing is performed while the rotation center shaft 8 swings once in a conical manner, and the light reception data during that time is accumulated.

【0102】ステップS154では、図8の反射光受光
処理のステップS111で得られたデータを読込む。ス
テップS155では、基準点の識別カウンタnをクリア
する。ステップS156では、前記カウンタnをインク
リメントする。ステップS157では、前記カウンタn
で示される基準点(基準点n)を検出した回数を示すパ
ラメータCp(n)が“0”か否かを判別してその基準
点nが検出されたか否かを判断する。この判断が肯定の
場合は、基準点nが検出されなかったとしてステップS
150に戻り、再び受光データを採取する。
In step S154, the data obtained in step S111 of the reflected light reception process in FIG. 8 is read. In step S155, the reference point identification counter n is cleared. In step S156, the counter n is incremented. In step S157, the counter n
It is determined whether the parameter Cp(n) indicating the number of times the reference point (reference point n) indicated by is detected is "0" or not, and it is determined whether the reference point n has been detected. If this judgment is affirmative, it is assumed that the reference point n has not been detected and step S
The process returns to step 150 and the received light data is collected again.

【0103】ステップS157が否定の場合は、ステッ
プS158に進み、パラメータIに“1”をセットする
。このパラメータIは上述のように基準点nが検出でき
た揺動方向を記憶した順を識別するための番号である。
If step S157 is negative, the process advances to step S158, and the parameter I is set to "1". This parameter I is a number for identifying the order in which the swing directions in which the reference point n was detected are stored, as described above.

【0104】ステップS159では、パラメータKおよ
びeをクリアする。このパラメータKはミラー4が1回
転する毎に同じ方位からの受光信号を検出した場合、つ
まり同じ方位からの光信号を毎回連続して検出した場合
に、その連続回数の最大値つまり最大連続検出回数を示
す。また、パラメータeは揺動方向の記憶番号Iのうち
、特に、連続して光信号を検出した時の最後の揺動方向
の記憶番号を示す。
[0104] In step S159, parameters K and e are cleared. This parameter K is the maximum value of the number of consecutive detections, that is, the maximum continuous detection when a light reception signal from the same direction is detected every time the mirror 4 rotates, that is, when a light signal from the same direction is detected continuously every time. Indicates the number of times. Further, the parameter e particularly indicates the storage number of the last oscillation direction when optical signals are continuously detected among the oscillation direction storage numbers I.

【0105】図14のステップS160では、受光信号
の連続回数を計数するカウンタの値Jに“1”をセット
する。ステップS161では、基準点nを検出した回数
を示すパラメータCp(n)が揺動方向の記憶数字を示
すパラメータIと同じか否かを判別することによって、
記憶した受光データのすべてがチェックされたか否かを
判断する。通常は受光データは複数存在しており、ステ
ップS158では番号Iを“1”としたので、このよう
な場合はステップS161の判断は否定となり、受光デ
ータのすべてをチェックし終っていないと判断されてス
テップS162に進む。
In step S160 of FIG. 14, a value J of a counter that counts the number of consecutive light reception signals is set to "1". In step S161, by determining whether the parameter Cp(n) indicating the number of times the reference point n has been detected is the same as the parameter I indicating the memorized number of the rocking direction,
It is determined whether all of the stored light reception data has been checked. Normally, there is a plurality of received light data, and since the number I is set to "1" in step S158, in such a case, the determination in step S161 is negative, and it is determined that all of the received light data has not been checked. The process then proceeds to step S162.

【0106】ステップS162では、前記ミラー4の回
転カウンタ値Cmに関し、今回検出時のカウンタ値Cm
(n,I+1)が前回検出時のカウンタ値Cm(n,I
)に“1”が加算された値になっているか否かを判別す
る。すなわち、カウンタ値Cmの連続を判断することに
よってミラー4の回転毎に連続して受光信号が検出され
ているか否かを判断する。この判断が肯定の場合は、ス
テップS163に進み、カウンタJおよびパラメータI
の値をインクリメントする。
In step S162, regarding the rotation counter value Cm of the mirror 4, the counter value Cm at the time of current detection is determined.
(n, I+1) is the counter value Cm(n, I
) is the value obtained by adding “1” to the value. That is, by determining the continuity of the counter value Cm, it is determined whether or not the light reception signal is continuously detected each time the mirror 4 rotates. If this determination is affirmative, the process advances to step S163, where counter J and parameter I
Increment the value of .

【0107】一方、ステップS162が否定の場合は、
ステップS164に進み、カウンタ値JがパラメータK
より大きいか、つまり今回の連続検出回数がそれまでに
記憶されていた連続回数より大きいか否かが判断される
。この判断が肯定の場合はステップS165に進み、最
大連続検出回数Kを今回の連続検出回数Jで更新し、連
続受光信号検出時の最後の揺動方向の記憶数字を示すパ
ラメータeを今回の揺動方向の記憶番号Iで更新する。 ステップS166では、揺動方向の記憶数字Iをインク
リメントする。
On the other hand, if step S162 is negative,
Proceeding to step S164, the counter value J is the parameter K.
In other words, it is determined whether the current number of consecutive detections is greater than the previously stored number of consecutive detections. If this judgment is affirmative, the process advances to step S165, where the maximum number of continuous detections K is updated with the current number of consecutive detections J, and the parameter e indicating the memorized number of the last swing direction when detecting the continuous light reception signal is set to the current number of swings. Update with storage number I of moving direction. In step S166, the memory number I for the swing direction is incremented.

【0108】一方、ステップS161が肯定の場合、つ
まりすべての受光データのチェックが終了したと判断さ
れたならば、ステップS167に進む。ステップS16
7およびS168は、前記ステップS164およびS1
65と同じ処理であるので説明は省略する。
On the other hand, if step S161 is affirmative, that is, if it is determined that all received light data has been checked, the process advances to step S167. Step S16
7 and S168 are steps S164 and S1
Since this is the same process as 65, the explanation will be omitted.

【0109】ステップS169では、最大連続検出回数
が発生した場合の最初の揺動方向記憶番号を算出してパ
ラメータIとする。ステップS170では、揺動方向の
最小値minとして反射光受光処理で検出された揺動方
向As(n,I)、つまり最大連続検出回数が発生した
場合の最初の記憶番号に対応して記憶されている揺動方
向のデータをセットする。また、最大値maxとしてA
s(n,e)つまり最大連続検出回数が発生した最後の
記憶番号に対応して記憶されている揺動方向のデータを
セットする。
In step S169, the first rocking direction storage number when the maximum number of consecutive detections occurs is calculated and set as parameter I. In step S170, the rocking direction As(n, I) detected in the reflected light reception process is stored as the minimum value min of the rocking direction, corresponding to the first storage number when the maximum number of consecutive detections occurs. Set the data of the rotation direction. Also, as the maximum value max, A
s(n, e), that is, the data of the rocking direction stored corresponding to the last storage number at which the maximum number of consecutive detections has occurred is set.

【0110】ステップS171では、前記最大値max
と最小値minとの平均値を演算して基準点n捕捉揺動
方向Asc(n)として記憶する。この基準点n捕捉揺
動方向Asc(n)は、基準点nが高い確率で検出でき
る揺動方向ということになる。
[0110] In step S171, the maximum value max
and the minimum value min is calculated and stored as the reference point n capture swing direction Asc(n). This reference point n capturing swing direction Asc(n) is a swing direction in which the reference point n can be detected with a high probability.

【0111】ステップS172では、カウンタ値nが“
4”か否かによって、すべての基準点に関して基準点n
捕捉揺動方向を決定する処理を終了したか否かを判断す
る。ステップS172が否定の場合は図13のステップ
S156に進む。
[0111] In step S172, the counter value n is "
4” for all reference points depending on whether the reference point n
It is determined whether the process of determining the capture swing direction has been completed. If step S172 is negative, the process advances to step S156 in FIG.

【0112】次に、上述の基準点n捕捉揺動方向(基準
点捕捉揺動方向)に従って基準点の座標を決定するため
の処理を説明する。図15は基準点の座標を決定するポ
ール位置計測処理のフローチャートである。
Next, a process for determining the coordinates of the reference point according to the above-described reference point n capture swing direction (reference point capture swing direction) will be described. FIG. 15 is a flowchart of the pole position measurement process for determining the coordinates of the reference point.

【0113】同図において、ステップS180では、前
記ポール捕捉揺動方向決定処理を行う。ステップS18
1では、基準点を識別するためのカウンタnの値をクリ
アし、ステップS182で、そのカウンタ値をインクリ
メントする。
In the figure, in step S180, the pole capture swing direction determination process is performed. Step S18
In step S182, the value of a counter n for identifying a reference point is cleared, and in step S182, the counter value is incremented.

【0114】ステップS183では、前記ポール捕捉揺
動方向決定処理で求められた揺動方向Asc(n)を基
準点n捕捉揺動方向TG−SWとしてセットし、前記イ
ニシャルポール識別処理で求められた方位角θ(n)を
基準点n捕捉方位角TG−MLとしてセットする。
[0114] In step S183, the swing direction Asc(n) obtained in the pole capture swing direction determination process is set as the reference point n capture swing direction TG-SW, and Set the azimuth θ(n) as the reference point n capture azimuth TG-ML.

【0115】ステップS184では、揺動方向を前記基
準点n捕捉揺動方向TG−SWに合わせるための揺動位
置制御を行う。この揺動位置制御は揺動用モータ15の
回転を検出するエンコーダ35の値に基づいて行い、こ
のエンコーダ35の値が基準点n捕捉揺動方向TG−S
Wと略一致するまで軸22を回転させる。エンコーダ3
5の値と基準点n捕捉揺動方向が略一致したときにモー
タ15を停止し、回転中心軸8の傾きを固定する。回転
中心軸8の傾きを固定した結果、光跡によって描かれる
回転走査面は1平面に固定される。
In step S184, swing position control is performed to align the swing direction with the reference point n capturing swing direction TG-SW. This swing position control is performed based on the value of an encoder 35 that detects the rotation of the swing motor 15, and the value of this encoder 35 is set to the reference point n capture swing direction TG-S.
Rotate the shaft 22 until it substantially coincides with W. encoder 3
When the value of 5 and the reference point n acquisition swing direction substantially match, the motor 15 is stopped and the inclination of the rotation center axis 8 is fixed. As a result of fixing the inclination of the rotation center axis 8, the rotation scanning plane drawn by the light trace is fixed to one plane.

【0116】ステップS185では、回転走査面を固定
した結果、基準点nが連続して毎回検出されているか否
かを判断する。この判断が否定の場合はセンサの故障な
どの異常があると判断し、異常を知らせる表示をしたり
、警報を発したりして(ステップS186のセンサフェ
ール処理)当該処理を停止する。
In step S185, it is determined whether or not the reference point n is continuously detected each time as a result of fixing the rotating scanning plane. If this determination is negative, it is determined that there is an abnormality such as a sensor failure, a display indicating the abnormality is displayed or an alarm is issued (sensor fail processing in step S186), and the processing is stopped.

【0117】一方、基準点nが連続して毎回検出されて
いて、ステップS185の判断が肯定の場合は、ステッ
プS187に進む。ステップS187では、基準点方位
角を前記基準点n捕捉方位角TG−MLに調整するミラ
ー位置制御処理を行う。このミラー位置制御処理はミラ
ー回転用モータ5の回転を検出するエンコーダ7の値に
基づいて行い、このエンコーダ7の値が基準点n捕捉方
位角TG−MLと略一致するまでモータ5を回転させる
。そして、エンコーダ7の値が基準点n捕捉方位角TG
−MLと略一致したときにモータ5を停止させる。さら
に、その停止位置でモータ5が停止状態を維持できるよ
うに電磁石16を付勢する。これによって吸着板34が
電磁石16に吸着され、モータ5の停止位置つまりミラ
ー4の停止位置が固定される。
On the other hand, if the reference point n is continuously detected each time and the determination in step S185 is affirmative, the process advances to step S187. In step S187, mirror position control processing is performed to adjust the reference point azimuth to the reference point n capture azimuth TG-ML. This mirror position control process is performed based on the value of the encoder 7 that detects the rotation of the mirror rotation motor 5, and the motor 5 is rotated until the value of the encoder 7 substantially matches the reference point n capture azimuth TG-ML. . Then, the value of the encoder 7 is the reference point n capture azimuth TG
- Stop the motor 5 when it substantially matches ML. Further, the electromagnet 16 is energized so that the motor 5 can remain stopped at the stopped position. As a result, the suction plate 34 is attracted to the electromagnet 16, and the stop position of the motor 5, that is, the stop position of the mirror 4 is fixed.

【0118】ステップS188では、基準点nからの反
射光を3秒以上検出する。もちろんこの時間は3秒に限
らず、ミラー方位が確実に固定されたかどうかを確認で
きる時間であればよい。
In step S188, the reflected light from the reference point n is detected for 3 seconds or more. Of course, this time is not limited to 3 seconds, and may be any time that allows confirmation of whether the mirror orientation is reliably fixed.

【0119】ステップS189では、基準点nからの反
射光の検出結果に基づいて自走車1と基準点nとの距離
を測定する。これは、発光器から出た光ビームと受光器
で検出された反射光の位相差によって演算する。ステッ
プS190では、基準点を識別するためのカウンタ値n
が“4”か否か、つまりすべての基準点について自走車
1からの距離を測定し終わったか否かを判断する。ステ
ップS190が否定の場合は、ステップS182に戻っ
てカウンタ値nをインクリメントし、他の基準点に関し
て同様の処理を行う。ステップS191では、検出され
た各基準点と自走車1との距離、および前記イニシャル
ポール識別処理によって求められた方位角に基づき、自
走車1を原点とする任意の座標系、例えば自走車1を原
点とし基準点A方向をx軸の正方向とする座標系上での
各基準点A〜Dの座標[X(n),Y(n)]を演算す
る。
In step S189, the distance between the self-propelled vehicle 1 and the reference point n is measured based on the detection result of the reflected light from the reference point n. This is calculated based on the phase difference between the light beam emitted from the light emitter and the reflected light detected by the light receiver. In step S190, the counter value n for identifying the reference point is
It is determined whether or not is "4", that is, whether the distances from the self-propelled vehicle 1 have been measured for all reference points. If step S190 is negative, the process returns to step S182, the counter value n is incremented, and the same process is performed for other reference points. In step S191, based on the distance between each detected reference point and the self-propelled vehicle 1, and the azimuth obtained by the initial pole identification process, an arbitrary coordinate system having the self-propelled vehicle 1 as the origin, for example, a self-propelled The coordinates [X(n), Y(n)] of each of the reference points A to D on a coordinate system with the car 1 as the origin and the direction of the reference point A as the positive direction of the x-axis are calculated.

【0120】ステップS192では、前記座標を基準点
Bを原点とする座標系上での座標[x(n),y(n)
]に変換する。
In step S192, the coordinates are expressed as coordinates [x(n), y(n)] on the coordinate system with reference point B as the origin.
] Convert to

【0121】次に、以上の動作を行わせるための制御機
能を説明する。まず、反射光受光処理の機能について説
明する。図20は反射光受光処理部の要部機能を示すブ
ロック図である。同図に示した反射光受光処理部の機能
は、図8,図11,図12のフローチャートに示した反
射光受光処理、イニシャルポール識別処理、ポール選択
処理の内容に対応する。
Next, the control function for performing the above operations will be explained. First, the function of reflected light reception processing will be explained. FIG. 20 is a block diagram showing the main functions of the reflected light reception processing section. The functions of the reflected light reception processing section shown in the figure correspond to the contents of the reflected light reception processing, initial pole identification processing, and pole selection processing shown in the flowcharts of FIGS. 8, 11, and 12.

【0122】同図において、外部からの光信号は方位角
検出部37および揺動方向検出部38に入力される。方
位角検出部37はエンコーダ7から入力されるパルス信
号の数を計数するカウンタを持っており、光信号が入力
された時のパルス計数値に基づき、自走車1から見た光
信号入射方位(=方位角)が検出される。検出された方
位角はブロック別方位角記憶部39に記憶される。
In the figure, an external optical signal is input to an azimuth angle detection section 37 and a swing direction detection section 38. The azimuth detection unit 37 has a counter that counts the number of pulse signals input from the encoder 7, and determines the optical signal incident azimuth as seen from the self-propelled vehicle 1 based on the pulse count value when the optical signal is input. (=azimuth angle) is detected. The detected azimuth is stored in the block-specific azimuth storage section 39.

【0123】例えば、最初に検出された方位角は第1検
出ブロックの方位角として記憶領域Am(0)に格納さ
れる。第2回目に検出された方位角は、これが第1検出
ブロックで先に検出された方位角とほぼ一致していれば
、Am(0)の記憶データは第2回目に検出された方位
角で更新され、一致していなければ第2検出ブロックの
方位角として新たに記憶領域Am(1)に格納される。 こうして同一方向から入射した光信号は同一の検出ブロ
ックのデータAm(i)として記憶される。
For example, the first detected azimuth is stored in the storage area Am(0) as the azimuth of the first detection block. If the azimuth detected the second time almost matches the azimuth detected earlier in the first detection block, the stored data of Am(0) will be the azimuth detected the second time. It is updated, and if it does not match, it is newly stored in the storage area Am(1) as the azimuth of the second detection block. In this way, optical signals incident from the same direction are stored as data Am(i) of the same detection block.

【0124】ブロック別受光回数記憶部40には、前記
検出ブロック別に受光回数が記憶される。受光回数判定
部41は、受光回数が多い検出ブロックを判別し、受光
回数が多い順に4つの検出ブロックを抽出する。そして
、それらの検出ブロックを代表する方位角を、前記ブロ
ック別方位角記憶部39から読出して方位角記憶部42
に格納する。この際、方位角の小さい順に記憶領域Ap
s(1)〜Aps(4)に格納する。予測方位角記憶部
43には、今回検出された方位角に基づいて次回の走査
で検出されるはずの方位つまり予測方位角を記憶する。 この予測方位角は今回検出の方位角と同値でも良いし、
予定の値を加算した値でも良いことは前に述べたとおり
である。
[0124] The block-by-block light reception count storage section 40 stores the light reception count for each detection block. The light reception frequency determination unit 41 determines which detection block has received the most number of light receptions, and extracts four detection blocks in descending order of the number of light receptions. Then, the azimuths representing those detection blocks are read out from the block-by-block azimuth storage section 39 and stored in the azimuth storage section 42.
Store in. At this time, storage areas Ap
Stored in s(1) to Aps(4). The predicted azimuth storage unit 43 stores the azimuth that should be detected in the next scan based on the azimuth detected this time, that is, the predicted azimuth. This predicted azimuth may be the same value as the currently detected azimuth,
As mentioned above, a value obtained by adding the planned value may be used.

【0125】方位角比較部44では、予測方位角と今回
の検出方位角とが比較され、双方の角度がほぼ一致した
場合は、一致信号aを出力する。この一致信号に応答し
て、常時開のスイッチSW1およびSW2が閉成されて
、基準点別データ記憶部45に各種データが入力されて
記憶される。この各種データは、方位角Ap,揺動方向
As,およびセンサ33の出力を基準とし、その出力時
点からのミラー4の回転回数Cm、ならびに基準点別受
光回数Cp(n)である。ここで、値Ap,As,Cm
は、基準点nおよび基準点別受光回数Cp(n)の関数
として記憶される。
The azimuth comparing section 44 compares the predicted azimuth and the currently detected azimuth, and outputs a coincidence signal a if the two angles almost match. In response to this coincidence signal, the normally open switches SW1 and SW2 are closed, and various data are input to and stored in the data storage section 45 for each reference point. These various data are based on the azimuth Ap, the swing direction As, and the output of the sensor 33, and are the number of rotations Cm of the mirror 4 from the time of output, and the number of light receptions Cp(n) for each reference point. Here, the values Ap, As, Cm
is stored as a function of the reference point n and the number of light receptions for each reference point Cp(n).

【0126】次に、ポール(基準点)位置計測処理部の
機能について説明する。図21はポール位置計測処理部
の要部機能を示すブロック図である。同図において、連
続受光検出部46は、反射光受光時の前記ミラー回転数
Cmに基づいて、ミラー4の1回転毎に光信号が連続し
て検出されているかどうかを判断する。そして、最も多
くの光信号を連続受光している場合の、連続期間におけ
る揺動方向のすべての値を、前記基準点別データ記憶部
45から揺動方向範囲演算部47に読み出す。揺動方向
範囲演算部47では、供給された揺動方向データの最大
値および最小値に基づいて揺動方向の範囲が演算される
Next, the function of the pole (reference point) position measurement processing section will be explained. FIG. 21 is a block diagram showing the main functions of the pole position measurement processing section. In the figure, the continuous light reception detection section 46 determines whether the optical signal is continuously detected every rotation of the mirror 4, based on the mirror rotation number Cm when the reflected light is received. Then, all the values of the swing direction in the continuous period when the largest number of optical signals are continuously received are read out from the reference point data storage section 45 to the swing direction range calculation section 47. The swing direction range calculating section 47 calculates the range of the swing direction based on the maximum value and minimum value of the supplied swing direction data.

【0127】基準点別捕捉揺動方向演算部48では、揺
動方向の範囲を示すデータに基づき、この範囲の中点を
算出する。この中点の値Asc(n)はミラー方向固定
部49に供給される。一方、前記方位角記憶部42から
ミラー固定部49に方位角θ(n)が供給される。ミラ
ー方向固定部49では、これらのデータθ(n)とAs
c(n)を目標値としてミラー4の方向、つまり揺動方
向と方位とを調整してこれらの目標値で示される方向に
ミラー4を固定する。
[0127] The reference point-by-reference point acquisition swing direction calculating section 48 calculates the midpoint of the range of swing directions based on data indicating the range of swing directions. This midpoint value Asc(n) is supplied to the mirror direction fixing section 49. On the other hand, the azimuth angle θ(n) is supplied from the azimuth storage section 42 to the mirror fixing section 49. In the mirror direction fixing section 49, these data θ(n) and As
Using c(n) as a target value, the direction of the mirror 4, that is, the swing direction and azimuth, are adjusted to fix the mirror 4 in the direction indicated by these target values.

【0128】ミラー4が固定されると、距離測定部50
で自走車1および各基準点間の距離が測定される。距離
の測定は、例えば、発光部51から発射された光信号の
位相と、受光部52で検出された光信号の位相との差に
基づいて演算される。基準点位置演算部53では、測定
された距離と方位角θ(n)とに基づいて基準点の位置
座標[X(n),Y(n)]が算出される。
When the mirror 4 is fixed, the distance measuring section 50
The distance between the self-propelled vehicle 1 and each reference point is measured. The distance measurement is calculated, for example, based on the difference between the phase of the optical signal emitted from the light emitting section 51 and the phase of the optical signal detected by the light receiving section 52. The reference point position calculation unit 53 calculates the position coordinates [X(n), Y(n)] of the reference point based on the measured distance and azimuth θ(n).

【0129】次に、回転走査装置つまり回転中心軸8を
中心としてミラー4を回転させる装置の変形例について
説明する。この回転走査装置では、電磁石16によって
吸着板34を吸着した後、さらにミラー4の停止位置を
微調節する手段を含むと共に走査装置2全体の小形化を
図るための構成を具備している。
Next, a modification of the rotation scanning device, that is, the device for rotating the mirror 4 about the rotation center axis 8 will be described. This rotary scanning device includes means for finely adjusting the stopping position of the mirror 4 after the attracting plate 34 is attracted by the electromagnet 16, and is also configured to reduce the size of the scanning device 2 as a whole.

【0130】図16は走査装置2の要部正面断面図、図
17は同側面断面図であり、図1と同符号は同一または
同等部分を示す。図16および図17において、ベース
64の上部に取付けられているモータ5は、その両端に
軸が出ており、この軸の一端5aにはミラー4の台座4
aが固定され、他端5bには、モータ5を高速で円滑に
回転させられるようにバランサ65が取付けられている
。ベース64の上部には、モータ5の軸を中心とする同
一円周上に適当な間隔で複数の突出部66が配置されて
いて、これらの突出部66の、モータ5とは反対方向側
には案内溝が形成されている。この案内溝にはリング状
の可動ブラケット67の内周部が嵌め込まれ、この可動
ブラケット67は案内溝に案内されてモータ5を中心と
して回動できる。
FIG. 16 is a front sectional view of the main part of the scanning device 2, and FIG. 17 is a side sectional view of the same, and the same reference numerals as in FIG. 1 indicate the same or equivalent parts. 16 and 17, the motor 5 attached to the upper part of the base 64 has a shaft protruding from both ends thereof, and one end 5a of this shaft is attached to the pedestal 4 of the mirror 4.
A is fixed, and a balancer 65 is attached to the other end 5b so that the motor 5 can be smoothly rotated at high speed. On the upper part of the base 64, a plurality of protrusions 66 are arranged at appropriate intervals on the same circumference centered on the axis of the motor 5. A guide groove is formed. The inner circumference of a ring-shaped movable bracket 67 is fitted into this guide groove, and this movable bracket 67 can rotate around the motor 5 while being guided by the guide groove.

【0131】可動ブラケット67に固定された電磁石1
6の磁極16aは、可動ブラケット67およびベース6
4に設けられた孔を貫通して下方に突出している。電磁
石16は、磁極16aが台座4aの上部に取付けられて
いる吸着板34に対して所定の間隙を保持するように位
置調節されて可動ブラケット67に固定される。
Electromagnet 1 fixed to movable bracket 67
The magnetic pole 16a of No. 6 is connected to the movable bracket 67 and the base 6.
It penetrates the hole provided in 4 and protrudes downward. The electromagnet 16 is fixed to the movable bracket 67 with the position adjusted so that the magnetic pole 16a maintains a predetermined gap with respect to the adsorption plate 34 attached to the upper part of the pedestal 4a.

【0132】また、ベース64にはホルダ部材68が取
付けられ、このホルダ部材68によって送りねじ装置6
9が把持されている。送りねじ装置69は、つまみ69
aを回動させることによって、スピンドル69bがねじ
送りされて前後に進退するように構成されている。
Further, a holder member 68 is attached to the base 64, and the feed screw device 6 is connected by this holder member 68.
9 is being held. The feed screw device 69 has a knob 69
By rotating a, the spindle 69b is screw-fed to advance and retreat back and forth.

【0133】前記突出部66の案内溝をガイドとして可
動ブラケット67をベース64に対して回動させるため
、ベース64と可動ブラケット67との間に引張コイル
ばね70が設けられている。すなわち、コイルばね70
の一端はベース64に立設されたロッド71に引掛けら
れ、他端は可動ブラケット67または電磁石16に適宜
設けられる孔等に引掛けられる。
A tension coil spring 70 is provided between the base 64 and the movable bracket 67 in order to rotate the movable bracket 67 relative to the base 64 using the guide groove of the protrusion 66 as a guide. That is, the coil spring 70
One end is hooked to a rod 71 erected on the base 64, and the other end is hooked to a hole provided in the movable bracket 67 or the electromagnet 16 as appropriate.

【0134】一方、可動ブラケット67には、ロッド7
2が立設されている。このロッド72はコイルばね70
の伸縮力の作用で可動ブラケット67が回動することに
より、スピンドル69bの端面に当接するような位置に
設けられる。可動ブラケット67はコイルばね70によ
ってスピンドル69bに押圧されているので、つまみ6
9aを回動させると、その回動方向に応じてスピンドル
69bが前後に進退し、可動ブラケット67はモータ5
を中心として微小角度だけ回動する。
On the other hand, the rod 7 is attached to the movable bracket 67.
2 are erected. This rod 72 is a coil spring 70
As the movable bracket 67 rotates under the action of the expansion and contraction force, it is placed in a position where it comes into contact with the end surface of the spindle 69b. Since the movable bracket 67 is pressed against the spindle 69b by the coil spring 70, the knob 6
When 9a is rotated, the spindle 69b moves back and forth depending on the direction of rotation, and the movable bracket 67 is connected to the motor 5.
It rotates by a small angle around .

【0135】また、前記吸着板34には、その周縁近く
に全周にわたって等間隔で多数のスリットが穿設されて
いる。これらのスリットのうちの1本は吸着板34の中
心方向に他のスリットより長く延長されている。そして
、この吸着板34の周縁部を挟んで1組の光透過型セン
サ73,74が配置されている。一方のセンサ73は前
記多数のスリットを検出するために設けられ、他方のセ
ンサ74は、吸着板34の中心方向に延長されたスリッ
トを検出するために設けられる。これらのセンサ73,
74の出力に基づいてミラー4の回転角度を検出できる
[0135] Further, the suction plate 34 has a large number of slits formed at equal intervals around the entire circumference near its periphery. One of these slits extends longer toward the center of the suction plate 34 than the other slits. A pair of light transmission type sensors 73 and 74 are arranged with the peripheral edge of the suction plate 34 in between. One sensor 73 is provided to detect the plurality of slits, and the other sensor 74 is provided to detect the slit extending toward the center of the suction plate 34. These sensors 73,
The rotation angle of the mirror 4 can be detected based on the output of the mirror 74.

【0136】なお、前記ベース64は、ガラスまたはア
クリル樹脂等の透明材料を素材とする円筒2aによって
支持され、この円筒2aは前記ジンバル揺動機構の内側
リング部材14に取付けられている。さらにベース64
の上部には円筒2bおよびその蓋75が取付けられる。 円筒2bは円筒2aと異なり、光を透過させる必要がな
いので、その材質は特に限定されない。
The base 64 is supported by a cylinder 2a made of a transparent material such as glass or acrylic resin, and the cylinder 2a is attached to the inner ring member 14 of the gimbal swing mechanism. Furthermore base 64
The cylinder 2b and its lid 75 are attached to the upper part of the cylinder 2b. Unlike the cylinder 2a, the cylinder 2b does not need to transmit light, so its material is not particularly limited.

【0137】以上の構成により、電磁石16を付勢して
磁極16aに吸着板34を吸着してミラー4の位置を固
定した後、さらに微調整を要する場合には、送りねじ装
置69によって調整することができる。すなわち、可動
ブラケット67をモータ5を中心に微小角度変位させる
ことによって、可動ブラケット67に固定された電磁石
16に吸着された吸着板34つまりミラー4の停止位置
を微調節できる。
With the above configuration, after fixing the position of the mirror 4 by energizing the electromagnet 16 and attracting the adsorption plate 34 to the magnetic pole 16a, if further fine adjustment is required, adjustment is performed by the feed screw device 69. be able to. That is, by displacing the movable bracket 67 by a small angle around the motor 5, the stopping position of the suction plate 34, that is, the mirror 4 attracted to the electromagnet 16 fixed to the movable bracket 67 can be finely adjusted.

【0138】この送りねじ装置69によってミラー4の
停止位置を調整することを要するか否かは、例えば受光
信号の有無に従って点灯・消灯するパイロットランプな
どによって識別できるように構成すればよい。
Whether or not it is necessary to adjust the stopping position of the mirror 4 using the feed screw device 69 may be determined by, for example, a pilot lamp that is turned on and off depending on the presence or absence of a light reception signal.

【0139】なお、本実施例では送りねじ装置69は、
手動で動かすような分かり易い構成にしたが、前記パイ
ロットランプに対する指示信号に対応させてステップモ
ータを駆動制御することに自動調整できるようにしても
よいのはもちろんである。
[0139] In this embodiment, the feed screw device 69 is
Although an easy-to-understand configuration is adopted in which the step motor is operated manually, it is of course possible to automatically adjust the drive control of the step motor in response to an instruction signal for the pilot lamp.

【0140】[0140]

【発明の効果】以上の説明から明らかなように、本発明
によれば、光ビームを水平方向で回転走査させつつ、そ
の光ビームを上下に走査するようにして、観測点から離
れた基準点に立設された光反射手段に対し、光ビームが
確実にこれを横切るように光ビームの投射方向を設定す
る場合においても、作業に先立っての光反射手段(基準
点)の位置情報を精度よく、かつ簡単に測定することが
できる。その結果、当該位置検知装置の設置場所が平坦
でなくとも基準点となる光反射手段を観測点の周辺に適
当に配置するだけで、その位置をあらかじめ正確に測量
したり、その結果を制御装置に手作業で入力したりする
手間が省ける。
Effects of the Invention As is clear from the above description, according to the present invention, the light beam is rotated and scanned in the horizontal direction, and the light beam is scanned up and down, so that the reference point distant from the observation point can be fixed. Even when setting the projection direction of the light beam to ensure that the light beam crosses the vertically installed light reflecting means, the position information of the light reflecting means (reference point) must be accurately determined before starting work. Can be easily and easily measured. As a result, even if the installation location of the position detection device is not flat, just by appropriately placing the light reflecting means that serves as a reference point around the observation point, the position can be accurately surveyed in advance and the results can be transmitted to the control device. This saves you the trouble of manually entering information.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】    光ビーム走査装置の要部断面図である
FIG. 1 is a sectional view of a main part of a light beam scanning device.

【図2】    自走車の走行状態を示す斜視図である
FIG. 2 is a perspective view showing a running state of the self-propelled vehicle.

【図3】    光ビームの光跡を示す斜視図である。FIG. 3 is a perspective view showing a light trail of a light beam.

【図4】    光跡と光反射器との関係を示す図であ
る。
FIG. 4 is a diagram showing the relationship between light trails and light reflectors.

【図5】    自走車位置算出の原理説明図である。FIG. 5 is a diagram explaining the principle of self-propelled vehicle position calculation.

【図6】    自走車進行方向算出の原理説明図であ
る。
FIG. 6 is a diagram explaining the principle of calculating the traveling direction of a self-propelled vehicle.

【図7】    自走車の走行コースと反射器の配置状
態を示す図である。
FIG. 7 is a diagram showing the driving course of a self-propelled vehicle and the arrangement of reflectors.

【図8】    反射光受光処理のフローチャートであ
る。
FIG. 8 is a flowchart of reflected light reception processing.

【図9】    自走車の操向制御を示すフローチャー
トである。
FIG. 9 is a flowchart showing steering control of a self-propelled vehicle.

【図10】  自走車の操向制御を示すフローチャート
である。
FIG. 10 is a flowchart showing steering control of a self-propelled vehicle.

【図11】  イニシャルポール識別処理のフローチャ
ートである。
FIG. 11 is a flowchart of initial pole identification processing.

【図12】  ポール選択処理のフローチャートである
FIG. 12 is a flowchart of pole selection processing.

【図13】  ポール捕捉揺動方向決定処理のフローチ
ャートである。
FIG. 13 is a flowchart of pole capture swing direction determination processing.

【図14】  ポール捕捉揺動方向決定処理のフローチ
ャートである。
FIG. 14 is a flowchart of pole capture swing direction determination processing.

【図15】  ポール位置計測処理のフローチャートで
ある。
FIG. 15 is a flowchart of pole position measurement processing.

【図16】  光ビーム走査装置の要部正面断面図であ
る。
FIG. 16 is a front cross-sectional view of main parts of the light beam scanning device.

【図17】  光ビーム走査装置の要部側面断面図であ
る。
FIG. 17 is a side sectional view of a main part of the light beam scanning device.

【図18】  検出ブロック別の方位角と受光回数とを
示す図である。
FIG. 18 is a diagram showing the azimuth angle and the number of times of light reception for each detection block.

【図19】  基準点を検出したときのミラー回転回数
と揺動方向のデータを示す図である。
FIG. 19 is a diagram showing data on the number of mirror rotations and the rocking direction when a reference point is detected.

【図20】  反射光受光処理の要部機能を示すブロッ
ク図である。
FIG. 20 is a block diagram showing main functions of reflected light reception processing.

【図21】  基準点検出処理の要部機能を示すブロッ
ク図である。
FIG. 21 is a block diagram showing main functions of reference point detection processing.

【図22】  従来技術による光ビームの光跡および反
射器の関係を示す図である。
FIG. 22 is a diagram showing the relationship between a light beam track and a reflector according to the prior art.

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

1…自走車、  2…光ビーム走査装置、  4…回転
ミラー、  5…ミラー駆動モータ、  6,6a〜6
d…光反射器、  7…エンコーダ、  8…回転中心
軸、9,10…ブラケット、  11…外側リング部材
、  14…内側リング部材、15…揺動用モータ、 
 16…電磁石、  19…連結金具、  23…大円
盤、24…小円盤、  26,31…連結ボルト、  
33…揺動基準検出用センサ、34…吸着板、  35
…エンコーダ、  36…走行コース、  37…方位
角検出部、38…揺動方向検出部、  39…ブロック
別方位角記憶部、  40…ブロック別受光回数記憶部
、  41…受光回数判定部、  42…方位角記憶部
、  43…予測方位角記憶部、  44…方位角比較
部、  45…基準点別データ記憶部、46…連続受光
検出部、  47…揺動方向範囲演算部、  48…基
準点別捕捉揺動方向演算部、  49…ミラー方向固定
部、  50…距離測定部、  51…発光部、52…
受光部、  64…ベース、  67…可動ブラケット
、  69…送りねじ装置、  70…引張コイルばね
、  73,74…光透過型センサ
DESCRIPTION OF SYMBOLS 1...Self-propelled vehicle, 2...Light beam scanning device, 4...Rotating mirror, 5...Mirror drive motor, 6, 6a-6
d...Light reflector, 7...Encoder, 8...Rotation center axis, 9, 10...Bracket, 11...Outer ring member, 14...Inner ring member, 15...Swing motor,
16... Electromagnet, 19... Connecting metal fittings, 23... Large disc, 24... Small disc, 26, 31... Connecting bolt,
33... Swing reference detection sensor, 34... Adsorption plate, 35
... Encoder, 36... Driving course, 37... Azimuth detection section, 38... Rocking direction detection section, 39... Azimuth angle storage section for each block, 40... Light reception number storage section for each block, 41... Light reception number determination section, 42... Azimuth storage section, 43... Predicted azimuth storage section, 44... Azimuth comparison section, 45... Data storage section by reference point, 46... Continuous light reception detection section, 47... Swinging direction range calculation section, 48... By reference point Capture swing direction calculation section, 49...Mirror direction fixing section, 50...Distance measurement section, 51...Light emitting section, 52...
Light receiving section, 64...Base, 67...Movable bracket, 69...Feed screw device, 70...Tension coil spring, 73, 74...Light transmission type sensor

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】  光ビーム発生手段と、この光ビーム発
生手段から離れた位置に設置された光反射手段で反射さ
れた前記光ビームを受光する受光手段を観測点に配置し
、前記受光手段で受光された受光信号に基づいて前記光
反射手段に対する観測点の位置を検出する位置検出装置
において、前記光ビーム発生手段で発生した光ビームを
上下方向に揺動させながら円周方向に回転走査する走査
手段と、前記受光手段によって光信号が受光されたとき
の入射光の方位角を検出する手段と、検出された方位角
のうちほぼ同一の方位角は1つの方位角データとして記
憶する手段と、前記方位角データが、あらかじめ設置さ
れている前記光反射手段の数と同数になったことを認識
する基準点認識手段と、前記方位角データが前記光反射
手段と同数になったことを認識した後、前記方位角デー
タの1つで示される方向からの受光信号を検出したとき
に光ビームの回動走査を停止させてその方向に光ビーム
の投射方向を固定する手段と、前記光ビームの投射方向
を固定した状態で、この光ビームの反射光を受光し、そ
の受光信号に基づいて観測点と光反射手段との距離を測
定する手段と、前記距離の測定終了を条件として光ビー
ムの投射方向の固定を解除する手段と、前記光反射手段
の数だけ前記距離測定を繰返して測定された距離および
このときの方位角データに基づき、前記光反射手段に対
する観測点の位置を算出する手段とを具備したことを特
徴とする位置検出装置。
1. A light beam generating means and a light receiving means for receiving the light beam reflected by a light reflecting means installed at a position distant from the light beam generating means are arranged at an observation point, and the light receiving means In a position detection device that detects the position of an observation point with respect to the light reflection means based on a received light reception signal, the light beam generated by the light beam generation means is rotated and scanned in a circumferential direction while swinging in the vertical direction. a scanning means, a means for detecting an azimuth of the incident light when the optical signal is received by the light receiving means, and a means for storing substantially the same azimuth among the detected azimuths as one azimuth data. , a reference point recognition means for recognizing that the azimuth angle data has become the same number as the number of the light reflecting means installed in advance; and a reference point recognition means for recognizing that the azimuth angle data has become the same number as the number of the light reflecting means installed in advance. means for stopping rotational scanning of the light beam and fixing the projection direction of the light beam in that direction when a light reception signal from a direction indicated by one of the azimuth angle data is detected; a means for receiving the reflected light of this light beam while fixing the projection direction of the light beam, and measuring the distance between the observation point and the light reflecting means based on the received light signal; and a means for releasing the fixation of the projection direction of the light reflecting means, and calculating the position of the observation point with respect to the light reflecting means based on the measured distance and azimuth data at this time by repeating the distance measurement for the number of the light reflecting means. A position detection device characterized by comprising means.
【請求項2】  前記光ビーム発生手段と受光手段とを
取付ける共通のテーブルを具備し、このテーブルを前記
光ビームの回転走査手段の回転中心軸が円錐状軌跡を描
くように揺動させ、かつこの単位揺動サイクル中に前記
光ビームの回転走査が複数回行われるようにして、前記
光ビームの上下方向の揺動を行わせるように構成したこ
とを特徴とする請求項1記載の位置検出装置。
2. A common table for mounting the light beam generating means and the light receiving means, the table being swung so that the central axis of rotation of the light beam rotation scanning means draws a conical locus, and 2. The position detection device according to claim 1, wherein the light beam is rotated and scanned a plurality of times during this unit swing cycle to cause the light beam to swing in the vertical direction. Device.
【請求項3】  受光手段で検出された入射光に対する
テーブルの揺動角度と方位角とを検出する手段を具備し
、前記揺動角度でテーブルの揺動を停止させ、この停止
状態で回転走査を行い、この回転走査状態で前記検出し
た方位角で再び光信号を検出したときに回転走査を停止
させて光ビーム投射方向を固定し、前記距離測定動作を
行うように構成したことを特徴とする請求項2記載の位
置検出装置。
3. Means for detecting a rocking angle and an azimuth of the table relative to the incident light detected by the light receiving means, the rocking of the table is stopped at the rocking angle, and rotation scanning is performed in this stopped state. and when an optical signal is detected again at the detected azimuth in this rotational scanning state, the rotational scanning is stopped, the light beam projection direction is fixed, and the distance measuring operation is performed. The position detection device according to claim 2.
【請求項4】  前記光ビームの投射方向を固定する手
段が、光ビームの回転走査手段と共に回動する磁性体の
円盤と、この円盤を吸着する電磁石とを含むことを特徴
とする請求項1〜3のいずれかに記載の位置検出装置。
4. The means for fixing the projection direction of the light beam includes a magnetic disk that rotates together with the light beam rotation and scanning means, and an electromagnet that attracts the disk. 4. The position detection device according to any one of 3 to 3.
【請求項5】  前記円盤を吸着した状態で、前記回転
走査手段を中心として前記電磁石を微小角度変位させる
手段を具備したことを特徴とする請求項4記載の位置検
出装置。
5. The position detection device according to claim 4, further comprising means for displacing the electromagnet by a minute angle about the rotation scanning means while the disk is attracted.
JP3149216A 1991-05-01 1991-05-27 Position detection device Expired - Lifetime JP2908601B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP3149216A JP2908601B2 (en) 1991-05-27 1991-05-27 Position detection device
US07/875,693 US5260770A (en) 1991-05-01 1992-04-29 System for detecting the position of observation spot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3149216A JP2908601B2 (en) 1991-05-27 1991-05-27 Position detection device

Publications (2)

Publication Number Publication Date
JPH04350514A true JPH04350514A (en) 1992-12-04
JP2908601B2 JP2908601B2 (en) 1999-06-21

Family

ID=15470391

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3149216A Expired - Lifetime JP2908601B2 (en) 1991-05-01 1991-05-27 Position detection device

Country Status (1)

Country Link
JP (1) JP2908601B2 (en)

Also Published As

Publication number Publication date
JP2908601B2 (en) 1999-06-21

Similar Documents

Publication Publication Date Title
US10921430B2 (en) Surveying system
US5258822A (en) System for detecting the position of a moving body
US10982957B2 (en) Surveying system
CA2307206C (en) Method and device for association of anonymous reflectors to detected angle positions
JP2802560B2 (en) Mobile steering control device
EP1006339B1 (en) Rotary laser irradiating system and photodetection system
US20200141729A1 (en) Target Instrument And Surveying System
JP2000161918A (en) Method and device for detecting position of moving body
US11598854B2 (en) Surveying system
JP2712061B2 (en) Moving object position detection device
US5260770A (en) System for detecting the position of observation spot
JP3001701B2 (en) Mobile steering control device
JP2908601B2 (en) Position detection device
JP3025574B2 (en) Position detection device
JP2968611B2 (en) Position detection device
JP3172272B2 (en) Mobile steering control device
JP3071952B2 (en) Position detection device
JP2908612B2 (en) Position detection device
JPH0260124B2 (en)
JP2947427B2 (en) Moving object position detection device
JP7289239B2 (en) surveying system
EP0943892B1 (en) Laser beam emitting apparatus
JPH04361189A (en) Moving body position detector
JP2968612B2 (en) Moving object position detection device
JPH04344905A (en) Steering controller for traveling object