JPS62162115A - Method for image inputting of image type unmanned vehicle - Google Patents

Method for image inputting of image type unmanned vehicle

Info

Publication number
JPS62162115A
JPS62162115A JP61004048A JP404886A JPS62162115A JP S62162115 A JPS62162115 A JP S62162115A JP 61004048 A JP61004048 A JP 61004048A JP 404886 A JP404886 A JP 404886A JP S62162115 A JPS62162115 A JP S62162115A
Authority
JP
Japan
Prior art keywords
image
illuminance
unmanned vehicle
level
cpu
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP61004048A
Other languages
Japanese (ja)
Inventor
Akiyoshi Itou
日藝 伊藤
Kohei Nozaki
野崎 晃平
Eisaku Takinami
滝波 栄作
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.)
Toyota Industries Corp
Original Assignee
Toyoda Automatic Loom Works 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 Toyoda Automatic Loom Works Ltd filed Critical Toyoda Automatic Loom Works Ltd
Priority to JP61004048A priority Critical patent/JPS62162115A/en
Publication of JPS62162115A publication Critical patent/JPS62162115A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To allow an image pickup device to pickup the image of a traveling line constantly and accurately at all times by keeping the lightness of the position or nearby place of image pickup of the image pickup device to lightness suitable for taking picture for the device. CONSTITUTION:An illumination controller 19 controls the intensity of illumination of an illuminating lamp 5 by controlling signals of a CPU 11. By adjusting voltage V applied to the illuminating lamp 5 within the range of Vmin-Vmax by the illumination controller 19, the illumination of the illuminating lamp 5 can be adjusted linearly. At the time of initial setting, voltage is set to the intermediate voltage Vc of above-mentioned range. A drive controller 20 controls a motor for running and a steering mechanism, not shown in the figure, based on control signals from the CPU 11.

Description

【発明の詳細な説明】 発明の目的 (産業上の利用分野) この発明は画1争式無人車の画像入力方法に係り、詳し
くは最適な膿境下で1餞像装置をfaeさせて信頼性の
高い画像を得るようにした画像式無人車の画像入力方法
に関づるものである。
[Detailed Description of the Invention] Purpose of the Invention (Field of Industrial Application) The present invention relates to an image input method for an unmanned vehicle, and more specifically, it is related to an image input method for an unmanned vehicle, and more specifically, to achieve reliability by making the image device fail under optimal conditions. The present invention relates to an image input method for an image-based unmanned vehicle that obtains highly accurate images.

(従来技術) 従来、この種の無人車は撮画装置にて撮った走行経路を
指示する走行ラインの画像を左半分、右半分に分け、そ
の右半分に白線が撮っている面積と左半分に白線が踊っ
ている面積をそれぞれ求め、その両者の差を口出する。
(Prior art) Conventionally, this type of unmanned vehicle divides the image of the driving line that indicates the driving route taken by the imaging device into the left half and the right half, and the right half has the area covered by the white line and the left half. Find the area where the white line dances on each side, and calculate the difference between the two.

そして、その差に基づいて無人車は操舵機構を制御し前
記走行ラインに沿って走行する方法や、画面中心から走
行ラインがどれだけ(!位しているかを算出してtdJ
 IIIを行なう方法を採用していた。
Then, based on the difference, the unmanned vehicle controls the steering mechanism to determine how to travel along the travel line, and calculates how far (!) the travel line is from the center of the screen.
The method of performing III was adopted.

(汗明が解決しようとする問題点) どころが、撮像した画像は撮像した時の回りの環境(明
るさ)に大きく影響される。例えば、明るさによって、
ノイズを拾ったり、正確に走行ラインが撮像できず、画
像処理において面積、偏位出方が実際の埴とか番プ離れ
た数値を示すことが多々生じていた。従って、走行ライ
ンを画像した画像の画像処理の結果は信頼性に問題があ
った。
(The problem that Kanmei is trying to solve) However, the captured image is greatly affected by the surrounding environment (brightness) at the time the image was captured. For example, depending on the brightness,
Noise was picked up, the traveling line could not be accurately imaged, and the area and deviation during image processing often showed values that were far different from the actual clay. Therefore, there is a problem in the reliability of the results of image processing of the image of the traveling line.

この発明の目的は前記問題点を解決するために、撮像装
置にて撮った走行経路を指示する走行ラインを常に最適
な状況下でvI几信頼性の高い画像を得ることができる
画像式無人車の画像入力方法を提供するにある。
The purpose of the present invention is to solve the above-mentioned problems by using an image-based unmanned vehicle that is capable of obtaining highly reliable images of the traveling line taken by an imaging device and showing the traveling route under optimal conditions. Provides an image input method.

発明の構成 (問題点を解決するための手段) この発明は上記目的を達成すべく無人車に搭載された踊
l!装置の撮像位置若しくはその付近の照度を検出して
同lll@装置の搬像に適した照度となるように同無人
車に搭載した照明ランプの照度を調整し、同無人車の走
行経路を指示する走行ラインを撤抑装置にて搬像するよ
うにした画像式無人車の画(p入力方法をその要旨とす
るものである。
Structure of the Invention (Means for Solving Problems) This invention is a dance l! which is mounted on an unmanned vehicle to achieve the above object. Detects the illuminance at or near the imaging position of the device, adjusts the illuminance of the lighting lamp installed on the unmanned vehicle so that the illuminance is suitable for the image conveyed by the device, and instructs the unmanned vehicle's travel route. An image of an image-based unmanned vehicle whose driving line is conveyed by a retraction device (the gist is the input method).

(作用) 撮像装置の撮像位置若しくはその付近の明るさが回路像
装置の搬像に適した明るさに常時保持されるため、撮像
装置は常に一定かつ正確に走行ラインを搬像することが
できる。
(Function) Since the brightness at or near the imaging position of the imaging device is always maintained at a brightness suitable for conveying the image of the circuit imaging device, the imaging device can always convey images along the traveling line in a constant and accurate manner. .

(実施例) 以下、この発明の画素式無人車の画(へ;入力方法を[
4体化した無人令の制ill 装置の一実施例を図面に
従って説明する。
(Example) Hereinafter, the input method for the pixel-type unmanned vehicle of the present invention will be described.
An embodiment of a four-unit unmanned ill control device will be described with reference to the drawings.

第1図において、無人車コの前側上部中央位置には支持
フレーム2が立設されていて、そのフレーム2の上部中
央位置にはHil f/G、装置としてのOct)(c
harge  coupled  device)カメ
ラ3が設(すられている。CCDカメラ3は無人車1の
前方の路面4上のエリア4aの画素を躍るように支持フ
レーム2にセラ[・されている。
In FIG. 1, a support frame 2 is erected at the front upper center of the unmanned vehicle, and at the upper center of the frame 2 there is a Hil f/G and an Oct) (c) device.
A coupled device camera 3 is installed. The CCD camera 3 is mounted on the support frame 2 so as to move over pixels in an area 4a on a road surface 4 in front of the unmanned vehicle 1.

ぞして、本実施例では前記CCDカメラ3がla Vl
dした第3図に示す前記エリア4aの画像9は256X
256個の画素からなるように構成されている。
Therefore, in this embodiment, the CCD camera 3 is
The image 9 of the area 4a shown in FIG.
It is configured to consist of 256 pixels.

CCDカメラ3の両側下方位置には照明ランプ5が設置
され、前記エリア4aを照すようにセラ1〜されている
Illumination lamps 5 are installed below both sides of the CCD camera 3, and are illuminated to illuminate the area 4a.

前記路面4には第2図に示すように無人車コの走行経路
を指示する走行ライン6が一定の線幅りにて描かれてい
て、本実加例では路面4の色と異なる白色の塗料にて描
かれている。そして、この一定の線幅りを有した走行ラ
イン6を前記CCDカメラ3が撮ることになる。
On the road surface 4, as shown in FIG. 2, a travel line 6 is drawn with a certain line width to indicate the travel route of the unmanned vehicle. It is depicted in. Then, the CCD camera 3 photographs the traveling line 6 having a constant line width.

尚、白色の走行ライン6を囮ったCCDカメラ3からの
信号(以下、画素信号という)のレベルは高く、反対に
暗い路面4を囮ったCCDカメラ3からの画素信号のレ
ベルは低くなる。
Note that the level of the signal from the CCD camera 3 that decoys the white running line 6 (hereinafter referred to as a pixel signal) is high, and on the contrary, the level of the pixel signal from the CCD camera 3 that decoys the dark road surface 4 is low. .

次に、無人車1に搭載された制御ill装置の電気的構
成を第4図に従って説明する。
Next, the electrical configuration of the control ill device mounted on the unmanned vehicle 1 will be explained with reference to FIG.

マイクロコンピュータ10は中央処理装置(以下、串に
CPUという)11と制御プログラムを記憶した読み出
し専用のメモリ(ROM)よりなるプログラムメモリ1
2どCPU11の演算処理結果及び画素データ等が一時
記憶される読み出し及び宙き替え可能なメ[す(RAM
)よりなる作業用メモリ13及びタイマ14等から構成
され、CPU11はプログラムメモリ12に記憶された
制御プログラムにて操舵制御のための各種の演算処理動
作を実行するようになっている。
The microcomputer 10 includes a central processing unit (hereinafter referred to as CPU) 11 and a program memory 1 consisting of a read-only memory (ROM) that stores control programs.
A readable and interchangeable memory (RAM
), a timer 14, and the like, and the CPU 11 executes various arithmetic processing operations for steering control using a control program stored in the program memory 12.

前記CPU11は前記クィマ14が計時する時間に基づ
いて一定時間ごとに入出力インタフェース15及びA 
、/ D変換器1Gを介して前記CCDカメラ3を走査
制御するとともに、そのCCDカメラ3からの画素信号
を△/D変換器16、パスコン1ヘローラ17を介して
画素データにして作業用メモリ13に記憶する。Δ/D
変換器16はCCDカメラ3からの画素信号をアナログ
1直からデジタル値に変換する際、後記する各画素信号
が予め定めた2値化レベル(閾1a ) T H以上か
否か判別し、2値化lノベルTl1以上の画素信号の場
合には白色の走行ライン6の部分の画素として「1」、
反対に未満のi!′ii木信弓の場ごには暗い色の路面
4の部分の画素として「0」とするようにして順次大ツ
ノされてくる各画;侶信号を2値化し画素データとして
パスコン1〜ローT117を介して作業用メモリ13に
記憶する。
The CPU 11 controls the input/output interface 15 and the A at regular intervals based on the time measured by the Qima 14.
,/D converter 1G to scan and control the CCD camera 3, and convert the pixel signal from the CCD camera 3 into pixel data via the Δ/D converter 16 and bypass capacitor roller 17 to the working memory 13. to be memorized. Δ/D
When converting the pixel signals from the CCD camera 3 from analog 1 to digital values, the converter 16 determines whether each pixel signal described later is equal to or higher than a predetermined binarization level (threshold 1a) TH, In the case of a pixel signal of value conversion l novel Tl1 or higher, the pixel of the white running line 6 is set to "1",
On the other hand, less than i! 'ii For each Kishinyuki event, each pixel is set to "0" as the pixel of the dark road surface 4, and each pixel is successively made larger; It is stored in the working memory 13 via T117.

従って、作業用メモリ13にはCCDカメラ3が踊った
画像を256 X 256個の画素データにして記憶さ
れていることなる。
Therefore, the working memory 13 stores the image captured by the CCD camera 3 as 256 x 256 pixel data.

又、本実/+I 訓では説明の便宜上CODカメラ3の
走査制御は横方向(X軸方向)に走査し、その走査が画
面の上から下方向(Y軸方向)に移る走査方式を採用す
るがその他の走査方式で実施してもよいことは勿論であ
る。
In addition, for the convenience of explanation, in this lesson/+I lesson, the scanning control of the COD camera 3 scans in the horizontal direction (X-axis direction), and a scanning method is adopted in which the scanning moves from the top of the screen to the bottom (Y-axis direction). Of course, it is also possible to use other scanning methods.

2値化レベルコントローラ18は前記c p u il
からの制御信号に基づいて前記A/D変換器16の2値
化するための2値化レベルTl−1を同A/D変換器1
6を出力するようになっている。本実施例では2値化レ
ベルコントローラ18にて第5図に示すように2値化レ
ベルTl−1がTH0〜丁1−1255の範囲(256
段階)で調整できるようになっている。そして、初期設
定時には前記範囲の中間の2値化レベルTH128にピ
ットされるようになっている。
The binarization level controller 18 is the CPU
The binarization level Tl-1 for binarization of the A/D converter 16 is set based on the control signal from the A/D converter 1.
6 is output. In this embodiment, the binarization level controller 18 sets the binarization level Tl-1 in the range of TH0 to 1-1255 (256
It can be adjusted in stages). At the time of initial setting, the data is pitted at the binary level TH128, which is the middle of the range.

照度コントローラ19は前記照明ランプ5の照I!Iを
前記CPU11の制御信号にて制御する。本実施例では
照度コントロー519にて照明ランプ5に印加する電圧
VをV min −V maxの範囲で調整づ゛ること
により第6図に示すように照明ランプ5の照度を直腺的
に調整することができるようになっている。そして、η
J明没設定時は前記範囲の中間の7R斤VCにレットさ
°れるようになっている。
The illuminance controller 19 controls the illumination intensity of the illumination lamp 5! I is controlled by a control signal from the CPU 11. In this embodiment, the illumination intensity of the illumination lamp 5 is directly adjusted as shown in FIG. It is now possible to do so. And η
When setting J light/dark, it is set to 7R VC, which is in the middle of the above range.

又、ドライブコン1−〇−ラ20は図示しない走行用の
走行用モーフ及び操舵□M?J’21を同じくCPu1
1からのft1ll l卸信号に基づいて制御する。
In addition, the drive controller 1-○-ra 20 has a driving morph and a steering □M? J'21 as well as CPU1
Control is based on the ft1ll l wholesale signal from 1.

次に、前記CI”’tJ11の処理動作について説明づ
る。
Next, the processing operation of the CI'''tJ11 will be explained.

今、制ill装置を作動させると、CPIJlllま作
業用メLす12の内容をクリアして初期設定を行なう〈
ステップ1)。初期設定は照度コントローラ1つが照明
ランプ5に印加する電圧Vの初期印加電圧Vcと画素信
号を2値化する際の211!I化レベルコン1−ローラ
18がA 、−’ D変換器16に出力する2値化レベ
ルT)−1の初期レベルT812Bを設定する。この時
1.CPU11は2値化レベルT Hの補正値ΔT1−
1と印加電圧Vの補正値ΔVち掛りで設定するようにな
っていて、本実施例では補正値ΔT HはTH128、
補正tuffΔVは(VmaX −Vmin)/2の値
としている。
Now, when you activate the illumination device, the contents of the CPIJll work menu 12 will be cleared and initial settings will be made.
Step 1). The initial setting is 211! when one illuminance controller binarizes the initial applied voltage Vc of the voltage V applied to the illumination lamp 5 and the pixel signal. The initial level T812B of the binarization level T)-1 which the I conversion level controller 1-roller 18 outputs to the A, -'D converter 16 is set. At this time 1. The CPU 11 calculates the correction value ΔT1- of the binarization level TH.
1 and the correction value ΔV of the applied voltage V. In this embodiment, the correction value ΔTH is TH128,
The corrected tuffΔV has a value of (VmaX − Vmin)/2.

そして、この設定した6舶に塁づいてcpu ilは2
値化レベルコントローラ18及び照度コンl−ローラ1
9に制御信号を出力して初期時における2値化レベルT
H(=TH128)及び印加電圧V (=Vc)にてA
/D変換器16及び照明ランプ5を作動制御する。
Then, based on these 6 ships, the cpu il is 2
Value level controller 18 and illuminance controller 1
9 to output a control signal to set the initial binarization level T.
A at H (=TH128) and applied voltage V (=Vc)
/D converter 16 and illumination lamp 5 are operated and controlled.

初期設定が終了すると、cpuiiは照度調整処理動作
を開始する。まずcpuiiは印加電圧Vcで点灯して
いる照明ランプ5の照度の状態でCCDカメラ3を作動
させると、CCDカメラ3は走行ライン6が含まれてい
る前方のエリア4a上の画像を撮像し画素信号としてA
/D変換器16に出力する(ステップ2)。A/D変換
器16はCCDカメラ3から出力される画素信号のレベ
ルを前記初期設定した2値化レベルTH128と比較し
て2値化し画素データどしてバスコントローラ17を介
してf¥:梨用メLす13に記憶する(ステップ3)。
When the initial settings are completed, the CPU II starts the illuminance adjustment processing operation. First, when the cpuii operates the CCD camera 3 under the illuminance state of the illumination lamp 5 that is lit with the applied voltage Vc, the CCD camera 3 captures an image on the area 4a in front that includes the running line 6, and A as a signal
/D converter 16 (step 2). The A/D converter 16 compares the level of the pixel signal output from the CCD camera 3 with the initially set binary level TH128, converts it into a binary value, and outputs the pixel data via the bus controller 17. The data is stored in the user memory 13 (step 3).

そして、cpu’+iは作業用メモリ13に記憶された
2’56X256個の画素データに基づいて撮像した画
像中の走行ライン6の幅りのn比処理動作を実行する(
ステップ4)。この専用処理において、本実施例ではC
PU11は256X256個の画素データのうち「1」
となっている画素データの総和Nしを求めることによっ
てR印した画像中の走行ライン6の幅りを判断するよう
にしている。
Then, CPU'+i executes an n ratio processing operation for the width of the travel line 6 in the captured image based on the 2'56 x 256 pixel data stored in the working memory 13 (
Step 4). In this dedicated processing, in this embodiment, C
PU11 is "1" out of 256x256 pixel data
The width of the traveling line 6 in the image marked with R is determined by finding the total sum N of the pixel data.

総和Ntを筒用した後、CPU11は当該照度調整処理
動作が何回繰り返されたか、即ち、本実施例では8回ま
で操り返されたかどうかをチェックする(ステップ5)
。尚、この回数mの判断は本実施例では予め作業用メモ
リ13の所定の記憶領域にその回数mが記憶されるよう
になっていて、前記ステップ2にa3いてIn動作を行
なうごとにその内容が1づつ加算されるようになってい
る。
After the total sum Nt has been used, the CPU 11 checks how many times the illuminance adjustment processing operation has been repeated, that is, up to 8 times in this embodiment (step 5).
. In this embodiment, the number m is stored in advance in a predetermined storage area of the working memory 13, and its contents are stored each time the In operation is performed at a3 in step 2. is incremented by 1.

この時、まだ1回目なのでCPtJllは前記求めた総
和Ntにすづいて走行ライン6の幅りの大きさが許容の
範囲内にあるかどうかの判断を行なう(ステップ6)。
At this time, since it is only the first time, CPtJll judges whether the width of the running line 6 is within an allowable range based on the calculated total Nt (step 6).

この判断はCPU11が予め定めた範囲(Ntllli
n≦Nし≦NtllIax)に前記総和Ntがあるかど
うかの判断である。この最小値N tmin及び最大値
NtlllaXはCCDカメラ3が最適な環境下で線幅
りの走行ライン6を含むエリア4aを撮像した時におけ
る走行ライン6を撮像した画素データの数を真値として
その真値に対して許容値を予め実験によって(りた値で
あって、その範囲内にあれば適正な照度及び2値化レベ
ルでla像した走行ライン6の認識がその画素データに
基づいて正確に行なえる1:fである。
This judgment is made within a predetermined range (Ntlli) by the CPU 11.
This is a judgment as to whether or not the total sum Nt exists (n≦N and ≦NtllIax). The minimum value N tmin and the maximum value NtllaX are calculated using the true value of the number of pixel data obtained by imaging the running line 6 when the CCD camera 3 images the area 4a including the running line 6 with the line width under an optimal environment. The allowable value for the true value has been determined in advance through experimentation, and if it is within that range, the recognition of the traveling line 6 imaged at the appropriate illuminance and binarization level will be accurate based on the pixel data. It is 1:f that can be performed.

そして、前記総和Nしが最小値Ntmin以下の場合に
はCPU11は走行ライン6が細すぎる、即ち、明る過
ぎると判断して照明ランプ5の照度を下げるべく前記印
加電圧V (=VC)を変更する。
If the sum N is less than the minimum value Ntmin, the CPU 11 determines that the running line 6 is too narrow, that is, too bright, and changes the applied voltage V (=VC) to lower the illuminance of the illumination lamp 5. do.

この処理は前記初期設定で設定前で設定した補正値△V
を2分の1した新たな補正値△Vを求めた後(ステップ
7)、照度を下げるということでその求めた補正値ΔV
と先の印加電圧V (=VC)とで新たなな印加電圧V
を下記の計緯をして求めろ(ステップ8〉。
This process is performed using the correction value △V set before the initial settings.
After calculating a new correction value △V that is halved (step 7), the calculated correction value △V is used to lower the illuminance.
and the previous applied voltage V (=VC) to create a new applied voltage V
Find it using the following procedure (Step 8).

V=Vc−Δ■ 従って、照明ランプ5は算出された新たな印加電圧Vに
て点灯制御され、先の照1αに比べて少し暗い照度でエ
リア4aを照らすことになる。
V=Vc-Δ■ Therefore, the illumination lamp 5 is controlled to be turned on using the calculated new applied voltage V, and illuminates the area 4a with a slightly lower illuminance than the previous illuminance 1α.

反対に、総和Ntが最大値Ni1naX以上の場合には
CPtJllは走行ライン6が太過ぎる、即ち、On過
ぎると判断して照明ランプ5の照度を上げるべく前記印
り口電圧(=VC)を変更する。この処理は前記初期設
定で設定した補正値△■を2分の1した新たな補正値Δ
■を求めた後(ステップ9)、照度を上げるということ
でその求めたi+Ii正値ΔVと印加電圧V (=Vc
)とで下記のa1μをして新たな印加電圧Vを求める(
ステップ10)。
On the other hand, if the total sum Nt is greater than or equal to the maximum value Ni1naX, CPtJll determines that the running line 6 is too thick, that is, it is too turned on, and changes the inlet voltage (=VC) to increase the illuminance of the illumination lamp 5. do. This process creates a new correction value Δ which is half of the correction value △■ set in the initial settings.
After calculating (step 9), the i+Ii positive value ΔV and the applied voltage V (=Vc
) and perform the following a1μ to find the new applied voltage V (
Step 10).

V=VC+△V 従って、この場合には照明ランプ5は算出された新たな
印加電圧Vにて点灯制御され、先の照度に比べて少し明
るい照度で1リア4aを照らずことになる。
V=VC+ΔV Therefore, in this case, the illumination lamp 5 is controlled to turn on using the calculated new applied voltage V, and does not illuminate the first rear 4a with an illuminance slightly brighter than the previous illuminance.

このようにして、CI〕U11は協和Ntが前記範囲(
N tmin≦N t i’ N jmaX)の範囲内
に入る照1廊にてCCDカメラ3の撮像が行なわれるま
で、前記ステップ2〜10の処理動作(本実施例では8
回まで)を実行する。即ち、このステップ2〜10に3
3ける照明ランプ5の照度調整処理動作はいわゆるバイ
ナリ−サーチ(2分探索)にてCCDカメラ3が搬像す
るに際して許容範囲内の照度を求める処理動作である。
In this way, CI]U11 has a consonance Nt in the range (
The processing operations of Steps 2 to 10 (in this embodiment, 8
(up to 10 times). That is, in steps 2 to 10, 3
The illuminance adjustment processing operation of the illumination lamp 5 in step 3 is a processing operation for finding an illuminance within a permissible range when the CCD camera 3 carries an image in a so-called binary search.

そして、前記処理動作の繰り返し回数mが8回までに総
数Ntが許容範囲内にはいると(ステップ6)、CPI
JllはCCDカメラ3の@像位置、即ち、エリア4a
が照明ランプ5にて議会に支障のない照度にて照らされ
ていると判断して照度調整処理動作を柊了し、この良好
な(1J&環境の下にCCDカメラ3にて踊1填された
画像に基づいて走行制御のための制御を行なうことにな
る。
Then, if the total number Nt falls within the allowable range by the time the number m of repetitions of the processing operation is 8 times (step 6), the CPI
Jll is the @image position of CCD camera 3, that is, area 4a
It was determined that the assembly was illuminated by lighting lamp 5 at an illuminance that did not cause any problems, and the illuminance adjustment process was terminated. Control for travel control will be performed based on the image.

一方、前記照度調整処理動作が8回繰り返されてし総数
Ntが許容範囲内にはいらない場合にはCPIJllは
前記A /′D変換器16の2値化の2値化レベルTH
が不適正で照明ランプ5の照度調整だけではCCDカメ
ラ3のJliTlは充分でないと判断して(ステップ5
)、間1直(2値化レベル)調整処理動作を行なら まず、CPU11は作業用メモリ13の所定記憶領域に
記憶した前記繰り返し回数mをクリアした後(ステップ
11)、照明ランプ5の印加電圧Vを前記ステップ1で
設定した印加電圧VCにセットするとともに、同様に補
正値ΔVを設定する(ステップ12)。
On the other hand, if the illuminance adjustment processing operation is repeated eight times and the total number Nt is not within the allowable range, CPIJll is set to the binarization level TH of the binarization of the A/'D converter 16.
is inappropriate, and it is determined that JliTl of the CCD camera 3 is not sufficient just by adjusting the illuminance of the illumination lamp 5 (step 5).
), when performing the first shift (binarization level) adjustment processing operation, first, the CPU 11 clears the number of repetitions m stored in a predetermined storage area of the working memory 13 (step 11), and then turns on the illumination lamp 5. The voltage V is set to the applied voltage VC set in step 1, and the correction value ΔV is similarly set (step 12).

CPUIIは印加電圧Vcで点灯されて照明ランプ5の
照度の状態でCCDカメラ3を作動さ往ると、CCDカ
メラ3は走行ライン6が会まれCいる前方のエリア4a
上の画像を1最像し画素信号としてA/D変換器16に
出力する(ステップ13)。A/D変換器1GはCCD
カメラ3から出力される画素信号のレベルを前記ステッ
プ1で初期設定した2値化レベルTH128と比較して
2値化し画素データとしてバスコントローラ17を介し
て作業用メモリ13に記憶する(ステップ14)そして
、CPU11はステップ4ど同様に撮像した雨間中の走
行ライン6の幅りの障出、総和Ntの算出動作を実行す
る(ステップ15)。
When the CPU II is turned on with an applied voltage Vc and operates the CCD camera 3 under the illuminance of the illumination lamp 5, the CCD camera 3 detects the area 4a in front of the running line 6 where it meets.
The upper image is reimaged and output as a pixel signal to the A/D converter 16 (step 13). A/D converter 1G is CCD
The level of the pixel signal output from the camera 3 is compared with the binarization level TH128 initially set in step 1, and the binarized signal is stored as pixel data in the working memory 13 via the bus controller 17 (step 14). Then, the CPU 11 executes the calculation operation of the width disturbance and the total sum Nt of the traveling line 6 in the rain imaged in the same manner as in step 4 (step 15).

総和Ntを算出した後、CPU11は当該2値化レベル
調整処理動作が何回繰り返されたか、即ち、本実施例で
は回数nが8回まで繰り返されたかどうかをチェックす
る(ステップ16)。尚、この回数nの判断は本実施例
では予め作業用メモリ13の所定の記憶領域にその回数
nが記憶されるようになっていて、前記ステップ13に
おいて撮像動作を行なうごとにその内容が1づつ加算さ
れるようになっている。この時、まだ1回目なのでCP
U11は面記求めた総和Ntに基づいて走行ライン6の
幅りの大きさが許容の範囲内にあるかどうかの判断を行
なう(ステップ17)。
After calculating the total sum Nt, the CPU 11 checks how many times the binarization level adjustment processing operation has been repeated, that is, whether the number n has been repeated up to 8 times in this embodiment (step 16). In this embodiment, the number n is stored in advance in a predetermined storage area of the working memory 13, and each time the imaging operation is performed in step 13, the content is changed to 1. It is added in increments. At this time, it is only the first time, so CP
U11 judges whether the width of the running line 6 is within an allowable range based on the total sum Nt calculated on the surface (step 17).

この判断はCPU11が前記ステップ6と同様に前記し
た節回(N tmin≦Nt≦NtIllax)に総和
Ntがあるかどうかの判断である。
This judgment is made by the CPU 11 in the same way as in step 6 as to whether or not there is a total sum Nt of the above-mentioned nodes (Ntmin≦Nt≦NtIllax).

そして、前記総和Ntが最小faNtmin以下の場合
にはCPU11は2値化レベルTHが高いと、即ち、走
行ライン6が細過ぎると判断して2値化レベルT I−
1を下げるべく前記2埴化レベルTH128を変更ψる
。この処理は初期設定で設定した補正圃ΔT H(= 
T I−1128)を2分の1したfIiたな補1fi
CIΔT H(= T l−164> ヲ求メ/jtu
 (スj”t 718)、2値化レベルを下げるという
ことでその求メタi+U 正1偵ΔT I−I G4 
ト先(1) 21+ff 化L/ ヘルT H(=TH
128)とで新たな2 !IiI化レベルし Hを下記
の計のにて求める(ステップ19)。
If the total sum Nt is less than the minimum faNtmin, the CPU 11 determines that the binarization level TH is high, that is, the running line 6 is too thin, and sets the binarization level T I-
The dichotomous level TH128 is changed to lower it by 1. This process is performed using the correction field ΔT H (=
T I-1128) is halved fIi and complement 1fi
CIΔT H(= T l-164> wo request/jtu
(Sj"t 718), the desired meta i + U positive first detective ΔT I-I G4 by lowering the binarization level
Destination (1) 21+ff Convert L/Hell T H (=TH
128) and a new 2! The IiI level is determined and H is determined using the following formula (step 19).

Tl−1=TH128−Δ T ト1  =  T  
H64そして、この2値化レベルT I−I 64、即
ち、21直化レベルT HがO〜255の段階中の64
段階に相当するレベルにて画素信号が2値化されるよう
にCPtJllは2値化レベルコントローラ18に制御
信号を出力する。2(lO化レベルコントローラ18は
これに応答してA/D変換器16に入力される画素信号
を2舶化レベルTH64にて2値化するように以後同A
 、’ D変換器16を制御する。
Tl-1=TH128-ΔT t1=T
H64 Then, this binarization level T I-I 64, that is, the 21 digitalization level T H is 64 in the stage of O to 255.
CPtJll outputs a control signal to the binarization level controller 18 so that the pixel signal is binarized at a level corresponding to the step. 2 (The lO conversion level controller 18 responds to this and binarizes the pixel signal input to the A/D converter 16 at the binary conversion level TH64.
,' controls the D converter 16.

反対に、総和Nしが最大値N tmaX以上の場合には
cpui’+は2埴化レベルTHが低すぎると、即ち、
化1テライン6が太過ぎると判断して同レベルをヒげる
べく前記2値化レベルTH128を変更する。この処理
は前記ステップ18と同様に新たな補正値ΔTH64を
求めた後(ステップ20)、2値化レベルTHを上げる
ということでその求めた補正値ΔTH(=TH(34)
と先の2値化レベルTH(=TH12’8)とで新たな
2値化レベルT I−1を下記の計算にて求める(スj
・ツブ21)。
On the other hand, if the total sum N is greater than or equal to the maximum value N tma
It is determined that the 1-terrain 6 is too thick, and the binarization level TH128 is changed to lower the same level. In this process, after calculating a new correction value ΔTH64 in the same way as in step 18 (step 20), in order to increase the binarization level TH, the calculated correction value ΔTH(=TH(34)
and the previous binarization level TH (=TH12'8), a new binarization level T I-1 is calculated by the following calculation (Sj
・Whelk 21).

T ト1=TH128+ Δ TH=TH192そして
、この2値化レベルTH192、即ち、2値化レベルT
HがO〜255の段階中の192段階に相当するレベル
にて画素信号が2値化されるようにCPU11は21i
ti化レベルコントローラ18に制御信号を出力する。
T1=TH128+ΔTH=TH192 And this binarization level TH192, that is, the binarization level T
The CPU 11 uses 21i so that the pixel signal is binarized at a level corresponding to 192 levels of H from 0 to 255.
A control signal is output to the ti level controller 18.

21+1’l化レベルコントローラ18はこれに応答し
てA 、/ D変換器16に入力される画素信号を2値
化レベルTH192にて2値化づるように以後同A/D
変換器16を制telする。
In response to this, the A/D conversion level controller 18 converts the pixel signal input to the A/D converter 16 into a binary signal at a binary conversion level TH192.
Control the converter 16.

このようにして、2値化レベルTHが調整されると、C
PIJllはこの調整された2値化レベルの条イシE下
で再び前記照度調整処理動作を行なう(ステップ2〜1
0)。叩ら、調整された新たな211a化レベルTHの
条件下で印加電圧Vを可変(照明ランプ5の明るさを可
変)してCCDカメラ3の撮像エリア4aが撮像に支障
のない照度にて照らされるように照明ランプ5の明るさ
を調整制御する。
When the binarization level TH is adjusted in this way, C
The PIJll performs the illuminance adjustment processing operation again under the adjusted binarization level of the line E (steps 2 to 1).
0). Under the condition of the newly adjusted 211a level TH, the applied voltage V is varied (the brightness of the illumination lamp 5 is varied), and the imaging area 4a of the CCD camera 3 is illuminated with an illuminance that does not interfere with imaging. The brightness of the illumination lamp 5 is adjusted and controlled so as to

そして、この調整処理動作で照明ランプ5の明るさが兇
iff:に支障のない照度となった場合には処理動作を
終了して前記と同様にこの良好な撮像環境の下でIII
 +1された画像に塁づいて走行制御のための制御を行
なうことになる。
Then, when the brightness of the illumination lamp 5 reaches an illuminance that does not interfere with the adjustment process, the process is terminated, and the image capturing process is performed under this favorable imaging environment in the same manner as described above.
Control for traveling control is performed based on the +1 image.

一方、調整された2値化レベルTHの条件下で照度調整
処理動作が8回繰り返されても良好な照度が見つからな
かった1q合にはCPU11は前記2値化レベルTHで
は充分でないと判断して(ステップ5)、再び前記2値
化レベル調整処理動作を行なう(ステップ11〜21)
On the other hand, if a good illuminance is not found even after the illuminance adjustment operation is repeated eight times under the condition of the adjusted binarization level TH, the CPU 11 determines that the binarization level TH is not sufficient. (Step 5), and performs the binarization level adjustment processing operation again (Steps 11 to 21).
.

そして、前記と同様な処理動作を行なうことにJ:って
新たな21直化レベルTl−1が設定され、再びこの新
たな2値化レベルTHでの照度調整処理動作を行なうこ
となる(ステップ2〜10)。以後、良好な撮像状態と
なるまで、上記処理動作が繰り返される。そして、良好
な撮像のための2値化レベルTH及び照明ランプ5の明
るさく印加電圧V)が定まると、走行制御のための制御
に移ることになる。
Then, by performing the same processing operation as above, a new 21-level conversion level Tl-1 is set, and the illuminance adjustment processing operation is performed again at this new binary conversion level TH (step 2-10). Thereafter, the above processing operation is repeated until a good imaging state is achieved. Then, once the binarization level TH for good imaging and the brightness applied voltage V) of the illumination lamp 5 are determined, control for driving control is started.

尚、前記2値化レベル調整処理動作の回数nが8回まで
行なわれても良好な画像のための2値化レベルT +−
1及び照明ランプ5の明るさく印加電圧V)が定まらな
かった場合には良好な搬像条件がないとして以後の処理
動作を中止する。
Incidentally, even if the number of times n of the binarization level adjustment processing operation is performed up to 8 times, the binarization level T +- for a good image will still remain.
If the brightness (V) of the illumination lamp 1 and the illumination lamp 5 and the applied voltage V) are not determined, it is assumed that there are no good image carrying conditions and the subsequent processing operation is stopped.

このように、本実施例では常に走行ライン6を庵(9す
る際、2値化レベル調蓼及び照度調整を行なうようにし
ているので、走行ラインを常に最適な状況で画像でき、
信頼性の高い画像を17ることかできる。従って、無人
I!1が進行する先の環境、例えば、明るさ等が変化す
る場合でも、常にCCDカメラ3は最適な状態で画像が
行なわれることになるので、當に最適な制御を行なうこ
とができる。
In this way, in this embodiment, when changing the running line 6, the binarization level and illuminance are always adjusted, so that the running line can always be imaged in the optimal situation.
It is possible to produce 17 highly reliable images. Therefore, unmanned I! Even if the environment in which the CCD camera 1 travels, for example, the brightness, etc., changes, the CCD camera 3 will always be able to take images in the optimal condition, and therefore optimal control can be performed.

尚、この発明は前記実茄例に限定されるものではなく、
例えば前記実施例ではそれぞれ2値化レベルT)−1を
予め設定し!′3き、その条件下で照明ランプ5の照度
を可変させるようにしたが、これを反対にして第8図に
示すように照明ランプ5の照[良を一定にして2舶化レ
ベルを可変させるようにして良好な陽像集注を設定する
ようにししてもよい。
Note that this invention is not limited to the above-mentioned eggplant example,
For example, in the above embodiment, the binarization level T)-1 is set in advance for each! '3, the illuminance of the illumination lamp 5 was made to vary under that condition, but this was reversed and the illuminance of the illumination lamp 5 was kept constant and the illuminance level was varied as shown in Figure 8. Good positive image focusing may be set by doing so.

又、前記実施例Cは照明ランプ5の照度調整を2値化レ
ベルTHとの関係で調整したが、これを第9図に示すよ
うに2値化レベルTl−1を固定の値にし、照度調整だ
けを行なうように実施してしよい。又、前記実施例では
CCDカメラ3でI8f?(i Lその画(悦中の走行
ライン6の幅りの大きさで照度の良否を判定したが、こ
れをCCDカメラ3を直接使用しないで露出計でエリア
4a若しくはその近辺を検出しその検出結果に基づいて
照明ランプ5の明るさを制御しでてしよい。さらに、前
記実hi!i例では照度を走行ライン6の幅りの太い細
いで判断し、その太い細いを画素データのNJの総和N
tl、:基づいて判断したが、イれ以外の方法で判断し
てもよい。
Further, in the embodiment C, the illuminance of the illumination lamp 5 was adjusted in relation to the binarization level TH, but as shown in FIG. It may be implemented so that only adjustment is performed. Also, in the above embodiment, the CCD camera 3 is I8f? (I L The image (I judged the quality of the illuminance based on the width of the running line 6 during pleasure, but this can be determined by detecting the area 4a or its vicinity with a light meter instead of directly using the CCD camera 3. The brightness of the illumination lamp 5 may be controlled based on the result.Furthermore, in the above-mentioned practical example, the illuminance is determined by the width of the running line 6, and the width is determined by the NJ of the pixel data. The sum of N
Although the judgment was made based on tl,:, the judgment may be made by other methods.

又、前記実施例ではR像装jNとしてCCDカメラ3を
用いたが、それ以外の撮像装置を用いて実施してもJ:
<、又、前記実施例ではCCDカメラ3にお(プる画像
の画素構成(分解能)を256×256画素としたが、
これに限定されるものではなく、例えば512X512
画素、1024X1024画素等、適宜変更して実施し
てもよい。
Further, in the above embodiment, the CCD camera 3 was used as the R imaging device, but even if other imaging devices are used, J:
<Also, in the above embodiment, the pixel configuration (resolution) of the image captured by the CCD camera 3 was set to 256 x 256 pixels.
It is not limited to this, for example, 512X512
The number of pixels, 1024×1024 pixels, etc. may be changed as appropriate.

発明の効果 以上1詳述したように、この発明によればR像装置にて
囮っだ走行経路を指示する走行ラインを′、¥に最適な
状況下で撮像し信−!イl 4’Iの高い画像を得るこ
とができ画像式無人車の画像入力方法として(・りれた
効果を右す゛る。
Effects of the Invention As described in detail above, according to the present invention, the R-imaging device can image and transmit the traveling line indicating the decoyed traveling route under the optimum conditions. It is possible to obtain images with high Il 4'I, and has excellent effects as an image input method for image-based unmanned vehicles.

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

第1図はこの発明を具体化しlご無人車の側面図、第2
図は同じく平面図、第3図はCCDカメラが(mらえた
画像を説明するための1.(1回図、第4図は制御装置
の電気ブロック回路図、第5図は2値化レベルを説明す
るための図、第6図は印加電圧ど照度との関係を説明す
るための図、第7図は11111311装置の作用を説
明するためのフローヂャート図、第8図及び第9図はこ
の発明の詳細な説明するためのフローチセ−1・図であ
る。 図中、1は無人車、3はCCDカメラ、4は路面、4a
はエリア、5は照明ランプ、6は走行ライン、9は画像
、10はマイクロコンピュータ、11は中央処理装置(
CPU) 、12はプログラムメモリ、13は作業用メ
モリ、14はタイマ、16はA/D変換器、18は2値
化レベルコントローラ、19は照度:】ントローラ、2
0はドライブコン]ヘローラ、21は操舵機構である。 特許出願人  株式会社 豊田自動織(戊製作所代 理
 人  弁理士  恩1)博宜 第6回 Vmin     Vc    Vrmx■9
Figure 1 is a side view of an unmanned vehicle embodying this invention;
The figure is also a plan view, Figure 3 is a 1. Figure 6 is a diagram to explain the relationship between applied voltage and illuminance, Figure 7 is a flowchart diagram to explain the operation of the 11111311 device, and Figures 8 and 9 are diagrams to explain the relationship between applied voltage and illuminance. 1 is a flowchart for explaining the invention in detail. In the figure, 1 is an unmanned vehicle, 3 is a CCD camera, 4 is a road surface, and 4a
is the area, 5 is the illumination lamp, 6 is the running line, 9 is the image, 10 is the microcomputer, and 11 is the central processing unit (
12 is a program memory, 13 is a working memory, 14 is a timer, 16 is an A/D converter, 18 is a binary level controller, 19 is an illuminance controller, 2
0 is a drive control roller, and 21 is a steering mechanism. Patent Applicant: Toyota Industries Co., Ltd. (Representative of Boru Seisakusho, Patent Attorney On 1) Hiroki 6th Vmin Vc Vrmx■9

Claims (1)

【特許請求の範囲】 1、無人車に搭載された撮像装置の撮像位置若しくはそ
の付近の照度を検出して同撮像装置の撮像に適した照度
となるように同無人車に搭載した照明ランプの照度を調
整し、同無人車の走行経路を指示する走行ラインを撮像
装置にて撮像するようにした画像式無人車の画像入力方
法。 2、照度の検出は撮像装置が撮像した走行ラインの画像
を画像処理し、その走行ラインの幅の大小に基づいて照
度を検出するようにしたものである特許請求の範囲第1
項記載の画像式無人車の画像入力方法。
[Claims] 1. The illumination lamp mounted on the unmanned vehicle detects the illuminance at or near the imaging position of the imaging device mounted on the unmanned vehicle, and adjusts the illumination lamp mounted on the unmanned vehicle so that the illuminance is suitable for imaging by the imaging device. An image-based image input method for an unmanned vehicle, which adjusts illuminance and uses an imaging device to image a driving line indicating the driving route of the unmanned vehicle. 2. The illuminance is detected by processing the image of the traveling line taken by the imaging device, and detecting the illuminance based on the width of the traveling line.
Image input method for image-based unmanned vehicles described in Section 1.
JP61004048A 1986-01-10 1986-01-10 Method for image inputting of image type unmanned vehicle Pending JPS62162115A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61004048A JPS62162115A (en) 1986-01-10 1986-01-10 Method for image inputting of image type unmanned vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61004048A JPS62162115A (en) 1986-01-10 1986-01-10 Method for image inputting of image type unmanned vehicle

Publications (1)

Publication Number Publication Date
JPS62162115A true JPS62162115A (en) 1987-07-18

Family

ID=11574023

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61004048A Pending JPS62162115A (en) 1986-01-10 1986-01-10 Method for image inputting of image type unmanned vehicle

Country Status (1)

Country Link
JP (1) JPS62162115A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5089786A (en) * 1973-12-17 1975-07-18
JPS5266286A (en) * 1975-12-01 1977-06-01 Hitachi Ltd System for detecting guide band of vehicle
JPS5322231A (en) * 1976-08-13 1978-03-01 Hitachi Ltd Method and device for detecting g uide zone for unattended running car
JPS53127990A (en) * 1977-04-15 1978-11-08 Omron Tateisi Electronics Co Travelling body controller
JPS60178512A (en) * 1984-02-24 1985-09-12 Hitachi Ltd Guiding device for moving body
JPS60251411A (en) * 1984-05-29 1985-12-12 Murata Mach Ltd Guiding method of unmanned traveling car

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5089786A (en) * 1973-12-17 1975-07-18
JPS5266286A (en) * 1975-12-01 1977-06-01 Hitachi Ltd System for detecting guide band of vehicle
JPS5322231A (en) * 1976-08-13 1978-03-01 Hitachi Ltd Method and device for detecting g uide zone for unattended running car
JPS53127990A (en) * 1977-04-15 1978-11-08 Omron Tateisi Electronics Co Travelling body controller
JPS60178512A (en) * 1984-02-24 1985-09-12 Hitachi Ltd Guiding device for moving body
JPS60251411A (en) * 1984-05-29 1985-12-12 Murata Mach Ltd Guiding method of unmanned traveling car

Similar Documents

Publication Publication Date Title
JP3662059B2 (en) Method for edge location determination
JPH0546242A (en) White line detecting device
JPS62162115A (en) Method for image inputting of image type unmanned vehicle
JP3986363B2 (en) Lane boundary detection device
JP2008230464A (en) Automatic exposure device for on-vehicle camera
JP4586548B2 (en) Object detection apparatus and object detection method
JPH06253208A (en) Lane recognition device
JPS62162114A (en) Method for image inputting of image type unmanned vehicle
JPH1062134A (en) Illumination adjustment method for recognition inspection
JPH06105209B2 (en) Headlight optical axis adjustment method and apparatus
JPH06119594A (en) Guide line detector
JPS62140109A (en) Steering control method for image type unmanned carrier
JP2580295B2 (en) Automatic exposure control device
JPH0942922A (en) Vehicle position detecting device and part assembling device using same
JPH11337998A (en) Image processor
JPS62140110A (en) Method for deciding driving course of image type unmanned carrier
JPS62139012A (en) Method for deciding driving route of video unmanned carrier
JPS62138906A (en) Controller for unmanned carrier
JPH02141731A (en) Automatic exposure controller
JPH01188912A (en) Detecting method for abnormal operation of image type unmanned vehicle
JP3775332B2 (en) Vehicle detection device, vehicle detection method, and vehicle detection system
JPS62139011A (en) Method for deciding driving route of video unmanned carrier
JPS63276371A (en) Method and apparatus for adjusting picture angle of video camera
JPH06292208A (en) Image pickup device for microscope
JPH01175610A (en) Processing of picture in picture type unmanned vehicle