JPH05174130A - Visual device for fruit havest robot - Google Patents

Visual device for fruit havest robot

Info

Publication number
JPH05174130A
JPH05174130A JP3355155A JP35515591A JPH05174130A JP H05174130 A JPH05174130 A JP H05174130A JP 3355155 A JP3355155 A JP 3355155A JP 35515591 A JP35515591 A JP 35515591A JP H05174130 A JPH05174130 A JP H05174130A
Authority
JP
Japan
Prior art keywords
distance
camera
brightness
lightness
measured
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
JP3355155A
Other languages
Japanese (ja)
Inventor
Hiroshi Nagai
博 長井
Hidetaka Hirayama
秀孝 平山
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.)
Iseki and Co Ltd
Iseki Agricultural Machinery Mfg Co Ltd
Original Assignee
Iseki and Co Ltd
Iseki Agricultural Machinery Mfg 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 Iseki and Co Ltd, Iseki Agricultural Machinery Mfg Co Ltd filed Critical Iseki and Co Ltd
Priority to JP3355155A priority Critical patent/JPH05174130A/en
Publication of JPH05174130A publication Critical patent/JPH05174130A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the detection accurately of fruit and leaves by controlling the light quantity of a lighting device corresponding to the distance between a camera and an object as well as lightness. CONSTITUTION:A camera 20 photographing an object, a distance sensor 21 measuring the distance to the object, a lightness measurement means 26 measuring the lightness around the object, a lighting device 22 emitting light to the object, and a controller 23 controlling the light amount of the lighting device 22 corresponding to the distance between the camera 20 to the object which is measured by the distance sensor 21 and the lightness which is measured by the lightness measurement means 26, are provided. The distance between the camera 20 and the object is measured by the distance sensor 21, and the light quantity of the lighting device 22 is increased when the distance is too far or the light amount of the lighting device 22 is reduced when the distance is too close. The lightness around the object is measured by the lightness measurement device 26, and the light quantity of the lighting device 22 is increased when the lightness is too low or the light amount of the device 22 is reduced when the lightness is too high. Thus, the entire light quantity in a camera image can be always properly adjusted.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、果実収穫ロボットに設
けられる収穫物探索用の視覚装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a visual device for searching a harvested product provided in a fruit harvesting robot.

【0002】[0002]

【従来の技術】栽培作物の植付条に沿って自走しつつ、
成熟した果実を自動的に収穫するようにした果実収穫ロ
ボットが開発されている。この種の果実収穫ロボットに
設けられる収穫物探索用の視覚装置は、イメージセンサ
カメラに撮像された画像を輝度が一定以上の部分と輝度
が一定未満の部分に2値化し、画像中から果実等の輪郭
を抽出するようになっている。
[Prior Art] While self-propelled along the planting line of cultivated crops,
A fruit harvesting robot has been developed that automatically harvests mature fruits. A visual device for searching a harvested product provided in a fruit harvesting robot of this type binarizes an image captured by an image sensor camera into a portion having a brightness equal to or higher than a certain value and a portion having a brightness less than a certain value, and outputs a fruit or the like from the image. It is designed to extract the outline of.

【0003】[0003]

【発明が解決しようとする課題】上記従来の視覚装置
は、曇天や雨天の時には光量が不足し、果実や葉を検出
不可能になることがあるという問題があった。
The above-mentioned conventional visual device has a problem that the amount of light is insufficient when it is cloudy or rainy, which may make it impossible to detect fruits or leaves.

【0004】[0004]

【課題を解決するための手段】上記課題を解決するため
に、本発明は次のような構成とした。すなわち、本発明
にかかる果実収穫ロボットの視覚装置は、対象物を撮像
するカメラと、対象物までの距離を測定する距離センサ
と、対象物の周囲の明るさを測定する明度測定手段と、
対象物に光を照射する照明具と、前記距離センサによっ
て測定されるカメラから対象物までの距離と前記明度測
定器によって測定される明度とに応じて前記照明具の光
量を制御する制御装置とを備えていることを特徴として
いる。
In order to solve the above problems, the present invention has the following constitution. That is, the visual device of the fruit harvesting robot according to the present invention, a camera for imaging the object, a distance sensor for measuring the distance to the object, a brightness measuring means for measuring the brightness of the surroundings of the object,
A lighting device that illuminates an object, and a control device that controls the light amount of the lighting device according to the distance from the camera measured by the distance sensor to the object and the brightness measured by the brightness measuring device. It is characterized by having.

【0005】[0005]

【作用】距離センサでカメラから対象物までの距離を測
定し、遠い場合は照明具の光量を大きく、近い場合は照
明具の光量を小さくする。また、明度測定手段で対象物
の周囲の明るさを測定し、暗い場合は照明具の光量を大
きく、明るい場合は照明具の光量を小さくする。このよ
うに、距離センサによって測定されるカメラから対象物
までの距離と明度測定手段によって測定される明度とに
応じて照明具の光量を制御することにより、カメラ画像
中における全体光量を常に適正にすることができ、果実
や葉の検出精度が向上する。
The distance from the camera to the object is measured by the distance sensor, and the light quantity of the illuminator is increased when the distance is far, and the light quantity of the illuminator is decreased when the distance is close. Further, the brightness around the object is measured by the brightness measuring means, and the light quantity of the illuminator is increased when it is dark, and the light quantity of the illuminator is decreased when it is bright. In this way, by controlling the light quantity of the illuminator according to the distance from the camera to the object measured by the distance sensor and the brightness measured by the brightness measuring means, the total light quantity in the camera image is always properly adjusted. It is possible to improve the detection accuracy of fruits and leaves.

【0006】[0006]

【実施例】図2はきゅうり用果実収穫ロボットの使用状
態をあらわしている。この果実収穫ロボット1は、移動
手段として電動式の走行部2を備え、該走行部の上に果
実収穫用のマニピュレータ3、収穫物探索用の視覚装置
5等を設置してなる。この果実収穫ロボット1が使用さ
れる栽培場では、斜めに設けた支持体7にきゅうりの樹
体8を支持させている。
[Embodiment] FIG. 2 shows a usage state of a fruit harvesting robot for cucumbers. The fruit harvesting robot 1 includes an electric traveling unit 2 as a moving unit, and a manipulator 3 for fruit harvesting, a visual device 5 for searching for a harvested product, and the like are installed on the traveling unit. In a cultivating field where the fruit harvesting robot 1 is used, a cucumber tree 8 is supported by a support 7 provided obliquely.

【0007】マニピュレータ3は、対面する樹体8の傾
斜とほぼ平行になるよう傾斜させた傾斜枠10と、該傾
斜枠のガイドレール11に沿って昇降自在に取り付けた
基台12と、該基台の上に水平面内で回動自在に設けた
本体部13と、該本体部に設けた関節型アーム14と、
該関節型アームの先端に設けた摘果用ハンド部15とか
らなる。傾斜枠10は、ヒンジ16にて走行部2に枢支
され、背面側を支持リンク17で支えられている。支持
リンク17の下端部は長穴18の適所に止着するように
なっており、その止着位置を変えることにより傾斜枠1
0の傾斜角度を任意に調節することができる。マニピュ
レータ3の各部を適当に作動させることにより、ハンド
部15を対象果実に接近させる。摘果用ハンド部15
は、果実を把握してその果柄を切断するように構成され
ている。
The manipulator 3 includes an inclined frame 10 which is inclined so as to be substantially parallel to the inclination of the tree 8 which faces it, a base 12 which is vertically movable along a guide rail 11 of the inclined frame, and the base. A main body 13 rotatably provided on a table in a horizontal plane, an articulated arm 14 provided on the main body,
It comprises a fruit picking hand portion 15 provided at the tip of the articulated arm. The tilted frame 10 is pivotally supported on the traveling unit 2 by a hinge 16, and the back side thereof is supported by a support link 17. The lower end of the support link 17 is fixed to a proper position of the long hole 18, and the tilt frame 1 is changed by changing the fixing position.
The tilt angle of 0 can be adjusted arbitrarily. By appropriately operating each part of the manipulator 3, the hand part 15 is brought close to the target fruit. Fruit picking hand part 15
Is configured to grasp a fruit and cut its peduncle.

【0008】視覚装置5は、図1のブロック図に示す如
く、イメージセンサカメラ20と、該カメラの視野内を
水平および垂直に走査して対象物までの距離を測定する
距離センサ(PSD)21と、対象物に光を照射する照
明具としてのストロボ22とを備え、カメラ20および
PSD21の入力信号をCPU23で処理し、収穫可能
な果実の位置とストロボ22の適正光量を判断する。そ
して、その判断結果に基づいてマニピュレータ3とスト
ロボ22に出力信号を出す。CPU23内のデータはメ
モリ24に記憶しておく。
As shown in the block diagram of FIG. 1, the visual device 5 includes an image sensor camera 20 and a distance sensor (PSD) 21 that horizontally and vertically scans the field of view of the camera to measure the distance to an object. And a strobe 22 as an illuminating device for irradiating the object with light, the CPU 23 processes the input signals of the camera 20 and the PSD 21, and determines the position of the harvestable fruit and the appropriate amount of light of the strobe 22. Then, based on the determination result, an output signal is output to the manipulator 3 and the strobe 22. The data in the CPU 23 is stored in the memory 24.

【0009】果実位置を検出する制御は図3のフローチ
ャートに示す順に行う。まず、カメラ20の画像を入力
し、その画面の範囲内をPSD21で水平および垂直に
走査して対象物までの距離を測定する。次に、カメラ画
像を輝度に基づいて2値化し、対象物の輪郭を抽出す
る。例えば、カメラ画像が図4であるとし、そのa−a
線上の画素の輝度分布が図5のようであるとした場合、
輝度が2値化レベル以上の画素(図5において斜線で示
す部分)を「1」、2値化レベル以下の画素を「0」と
して処理し、図6に示す処理画面を得る。この処理画面
上における対象物のタテ長・ヨコ幅の比を求め、その比
が規定範囲内であれば対象物がきゅうりであると判定す
る。そして、きゅうり中心点の座標を求め、その中心点
めがけてハンド部15が移動するようマニピュレータ3
を駆動する。
The control for detecting the fruit position is performed in the order shown in the flowchart of FIG. First, the image of the camera 20 is input, and the range of the screen is horizontally and vertically scanned by the PSD 21 to measure the distance to the object. Next, the camera image is binarized based on the brightness, and the contour of the object is extracted. For example, if the camera image is as shown in FIG.
If the luminance distribution of the pixels on the line is as shown in FIG. 5,
Pixels whose brightness is equal to or higher than the binarization level (hatched portion in FIG. 5) are processed as "1", and pixels whose brightness is equal to or lower than the binarization level are processed as "0" to obtain the processing screen shown in FIG. The ratio of the vertical length and the horizontal width of the object on this processing screen is obtained, and if the ratio is within the specified range, the object is determined to be cucumber. Then, the coordinates of the center point of the cucumber are obtained, and the manipulator 3 is moved so that the hand unit 15 moves toward the center point.
To drive.

【0010】ストロボ22の照明強度は図7のフローチ
ャートに示す制御により決定する。まず、照明を消した
状態でカメラ20の画像を入力する。続いて、PSD2
1でカメラ視野内の対象物を水平および垂直に走査し、
対象物までの距離の平均値を算出する。つぎに、カメラ
画像の各画素の輝度に基づいて輝度ヒストグラムを作成
し、そのヒストグラムの重心を求める。例えば図8に示
すように、晴天時(実線)の重心輝度値b1 は大きく、
曇天時(破線)の重心輝度値b2 は小さく生る。こうし
て得た距離値と輝度値に基づいて照明具22の照明強度
を決定する。全般的に、対象物までの距離が遠いほど照
明強度を強くし、対象物の周囲が暗いほど照明強度を強
くする。表1は照明強度調整の1例で、この例では、距
離と明るさを各々大、中、小の3段階に分け、照明強度
を強、中、弱の3段階に分けている。
The illumination intensity of the strobe 22 is determined by the control shown in the flowchart of FIG. First, the image of the camera 20 is input with the illumination off. Then, PSD2
1 scans the object in the camera field of view horizontally and vertically,
Calculate the average distance to the object. Next, a brightness histogram is created based on the brightness of each pixel of the camera image, and the center of gravity of the histogram is obtained. For example, as shown in FIG. 8, the barycentric brightness value b 1 in fine weather (solid line) is large,
The center-of-gravity luminance value b 2 under cloudy weather (broken line) is small. The illumination intensity of the illuminator 22 is determined based on the distance value and the brightness value thus obtained. Generally, the illumination intensity is increased as the distance to the object is increased, and the illumination intensity is increased as the surrounding area of the object is dark. Table 1 is an example of illumination intensity adjustment. In this example, distance and brightness are divided into three stages of large, medium, and small, respectively, and illumination intensity is divided into three stages of strong, medium, and weak.

【0011】[0011]

【表1】 [Table 1]

【0012】カメラ入力画像の平均輝度が著しく低下し
た場合は視覚装置に異常は発生したと考えられる。そこ
で、異常を検出するために、図9のフローチャートに示
す制御を行う。平均輝度の代わりに、前記制御で利用し
た重心輝度値を用いてもよい。規定値は経験的に決定す
る。視覚装置に異常は発生したと判定されたならば、作
業を停止するか、もしくは警報器で作業者に知らせるよ
うにする。
When the average luminance of the image input by the camera is remarkably reduced, it is considered that an abnormality has occurred in the visual device. Therefore, in order to detect the abnormality, the control shown in the flowchart of FIG. 9 is performed. The center-of-gravity brightness value used in the control may be used instead of the average brightness. The specified value is determined empirically. If it is determined that an abnormality has occurred in the visual device, work is stopped or an operator is notified by an alarm device.

【0013】次に、異なる制御について説明する。Next, different control will be described.

【0014】カメラ入力に際し、自然光レベルが低過ぎ
ると、カメラの分解能の限界以下になり、対象物を検出
できないが、自然光レベルが高すぎても、対象物の輝度
レベルと背景部分の輝度レベルの差が小さくなり、対象
物を正確に検出できなくなる。ストロボ22で対象物に
投光すると、特に近くにある果実の輝度が上がるので、
対象物の輝度レベルと背景部分の輝度レベルの差を大き
くなる。そのままでは全体の輝度が高すぎ過飽和となる
ので、投光時のデータと非投光時のデータを比較するこ
とにより、対象物のデータのみが強調され、対象物を正
確に検出できるようになる。図10はその制御のフロー
チャートである。
When the natural light level is too low at the time of camera input, the resolution of the camera becomes lower than the limit, and the object cannot be detected. The difference becomes small and the object cannot be detected accurately. When the strobe light 22 is used to illuminate the target object, the brightness of the nearby fruits will increase,
The difference between the brightness level of the object and the brightness level of the background portion is increased. As it is, the whole brightness is too high and becomes oversaturated. Therefore, by comparing the data when the light is projected and the data when the light is not projected, only the data of the object is emphasized and the object can be accurately detected. .. FIG. 10 is a flowchart of the control.

【0015】カメラ画像の輝度より対象物の周囲の明る
さを測定する代わりに、別途に設けた光学センサ26で
カメラ20の前方の明るさを測定するようにしてもよ
い。その場合、ストロボ22の照明強度を図11のフロ
ーチャートに示す制御で調整する。
Instead of measuring the brightness around the object from the brightness of the camera image, the brightness in front of the camera 20 may be measured by a separately provided optical sensor 26. In that case, the illumination intensity of the strobe 22 is adjusted by the control shown in the flowchart of FIG.

【0016】[0016]

【発明の効果】以上に説明した如く、本発明にかかる果
実収穫ロボットの視覚装置は、距離センサによって測定
されるカメラから対象物までの距離と明度測定手段によ
って測定される明度とに応じて照明具の光量を制御する
ことにより、カメラ画像中における全体光量を常に適正
にすることができ、果実や葉の検出精度が向上するよう
になった。
As described above, the visual device for the fruit harvesting robot according to the present invention illuminates according to the distance from the camera to the object measured by the distance sensor and the brightness measured by the brightness measuring means. By controlling the amount of light of the ingredients, the total amount of light in the camera image can always be made appropriate, and the detection accuracy of fruits and leaves has improved.

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

【図1】視覚装置のブロックである。FIG. 1 is a block of a visual device.

【図2】果実収穫ロボットの使用状態を示す図である。FIG. 2 is a diagram showing a usage state of a fruit harvesting robot.

【図3】第1の視覚装置制御のフローチャートである。FIG. 3 is a flowchart of first visual device control.

【図4】カメラ入力画像の図である。FIG. 4 is a diagram of a camera input image.

【図5】輝度分布を示す図である。FIG. 5 is a diagram showing a luminance distribution.

【図6】処理画像の図である。FIG. 6 is a diagram of a processed image.

【図7】第2の視覚装置制御のフローチャートである。FIG. 7 is a flow chart of second visual device control.

【図8】輝度のヒストグラムの図である。FIG. 8 is a diagram of a luminance histogram.

【図9】第3の視覚装置制御の説明を補足するための画
像の図である。
FIG. 9 is a diagram of an image for supplementing the explanation of the third visual device control.

【図10】第4の視覚装置制御の説明を補足するための
画像の図である。
FIG. 10 is a diagram of an image for supplementing the explanation of the fourth visual device control.

【図11】第5の視覚装置制御の説明を補足するための
画像の図である。
FIG. 11 is a diagram of an image for supplementing the explanation of the fifth visual device control.

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

1 果実収穫ロボット 3 マニピュレータ 5 視覚装置 15 摘果用ハンド部 20 カメラ 21 距離センサ 22 ストロボ(照明具) 23 CPU(制御装置) 1 Fruit Harvesting Robot 3 Manipulator 5 Visual Device 15 Hand for Fruit Picking 20 Camera 21 Distance Sensor 22 Strobe (Lighting Equipment) 23 CPU (Control Device)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 対象物を撮像するカメラと、対象物まで
の距離を測定する距離センサと、対象物の周囲の明るさ
を測定する明度測定手段と、対象物に光を照射する照明
具と、前記距離センサによって測定されるカメラから対
象物までの距離と前記明度測定器によって測定される明
度とに応じて前記照明具の光量を制御する制御装置とを
備えていることを特徴とする果実収穫ロボットの視覚装
置。
1. A camera for capturing an image of an object, a distance sensor for measuring a distance to the object, a brightness measuring unit for measuring brightness around the object, and an illuminator for irradiating the object with light. A fruit that is provided with a control device that controls the light amount of the lighting device according to the distance measured from the camera to the object by the distance sensor and the brightness measured by the brightness measuring device. Visual device for harvesting robot.
JP3355155A 1991-12-19 1991-12-19 Visual device for fruit havest robot Pending JPH05174130A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3355155A JPH05174130A (en) 1991-12-19 1991-12-19 Visual device for fruit havest robot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3355155A JPH05174130A (en) 1991-12-19 1991-12-19 Visual device for fruit havest robot

Publications (1)

Publication Number Publication Date
JPH05174130A true JPH05174130A (en) 1993-07-13

Family

ID=18442267

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3355155A Pending JPH05174130A (en) 1991-12-19 1991-12-19 Visual device for fruit havest robot

Country Status (1)

Country Link
JP (1) JPH05174130A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007323667A (en) * 2007-07-30 2007-12-13 Fujitsu Ltd Imaging apparatus
JP2021175396A (en) * 2020-04-28 2021-11-04 株式会社椿本チエイン Harvesting device, harvesting system, harvesting method and computer program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007323667A (en) * 2007-07-30 2007-12-13 Fujitsu Ltd Imaging apparatus
JP4485549B2 (en) * 2007-07-30 2010-06-23 富士通株式会社 Imaging device
JP2021175396A (en) * 2020-04-28 2021-11-04 株式会社椿本チエイン Harvesting device, harvesting system, harvesting method and computer program

Similar Documents

Publication Publication Date Title
JP5023259B2 (en) Automatic asparagus cutting availability judgment device
EP0556179A1 (en) Method and apparatus for calibrating an optical computer input system
CN110146516B (en) Fruit grading device based on orthogonal binocular machine vision
US20040246367A1 (en) Image measuring method and image measuring device
SE517052C2 (en) Apparatus and method for teat cup application using two alternating light sources and a camera
US4843565A (en) Range determination method and apparatus
JP2000193601A (en) Surface defect inspecting device
US9092864B2 (en) Displacement detection apparatus and method
JPH0554124A (en) Visual device for fruit harvesting robot or the like
JPH05174130A (en) Visual device for fruit havest robot
AU644973B2 (en) Apparatus and method for aiding in deciding or setting ideal lighting conditions in image processing system
JP3622749B2 (en) Curved surface property inspection method and substrate inspection apparatus using this method
JP2017173234A (en) Surface flaw inspection method
JPH07250538A (en) Apparatus for carrying out measuring treatment of target material to be harvested and method therefor
JPH09304034A (en) Lighting control system
JPH05168335A (en) Visual monitor for fruit harvesting robot
JP3277530B2 (en) Vision system for fruit harvesting robots
JPH06261622A (en) Visual monitoring system for fruit-harvesting robot or the like
JP2003000031A (en) Method for detecting fruit
JPH05168333A (en) Fruit harvesting robot
JP3451656B2 (en) Fruit and vegetable harvester
JPH06205287A (en) Picture monitor method and device therefor
JPH08154450A (en) Fruit recognizing device
JPH10210846A (en) Threshing depth controller for combine or the like
JPH09311017A (en) Method and apparatus for measurement of size of work