[go: up one dir, main page]

TWI659192B - Intelligent cultivation apparatus - Google Patents

Intelligent cultivation apparatus Download PDF

Info

Publication number
TWI659192B
TWI659192B TW107112924A TW107112924A TWI659192B TW I659192 B TWI659192 B TW I659192B TW 107112924 A TW107112924 A TW 107112924A TW 107112924 A TW107112924 A TW 107112924A TW I659192 B TWI659192 B TW I659192B
Authority
TW
Taiwan
Prior art keywords
image
processing unit
soil
interest
region
Prior art date
Application number
TW107112924A
Other languages
Chinese (zh)
Other versions
TW201944029A (en
Inventor
Chung Liang Chang
張仲良
Guan Min Lin
林冠旻
Original Assignee
National Pingtung University Of Science & Technology
國立屏東科技大學
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 National Pingtung University Of Science & Technology, 國立屏東科技大學 filed Critical National Pingtung University Of Science & Technology
Priority to TW107112924A priority Critical patent/TWI659192B/en
Application granted granted Critical
Publication of TWI659192B publication Critical patent/TWI659192B/en
Publication of TW201944029A publication Critical patent/TW201944029A/en

Links

Landscapes

  • Soil Working Implements (AREA)
  • Guiding Agricultural Machines (AREA)
  • Catching Or Destruction (AREA)

Abstract

本發明揭露一種智能農耕裝置,用以解決農耕效率不佳、時間與人力成本過高及環境污染等問題。係包含:一車體,以一車架本體樞接數個輪子;一驅動裝置,結合於該車架本體;一農耕構件,設於該驅動裝置;一影像擷取單元,設於該車架本體;及一處理單元,設於該車架本體,且電性連接該驅動裝置及該影像擷取單元,該處理單元控制該影像擷取單元朝一土壤拍攝,以產生一土壤影像,該處理單元依據分析該土壤影像所得之結果驅使該驅動裝置控制該農耕構件作動。 The invention discloses an intelligent farming device for solving problems such as poor farming efficiency, excessive time and labor costs, and environmental pollution. The system includes: a vehicle body, which is pivotally connected to a plurality of wheels by a frame body; a driving device combined with the frame body; an agricultural component provided on the driving device; an image capturing unit provided on the frame A body; and a processing unit, which is disposed on the frame body and is electrically connected to the driving device and the image capturing unit, the processing unit controls the image capturing unit to shoot toward a soil to generate a soil image, the processing unit Based on the results obtained from analyzing the soil image, the driving device is driven to control the farming component to operate.

Description

智能農耕裝置及其控制方法 Intelligent farming device and control method thereof

本發明係關於一種智能農耕裝置及其控制方法,尤其是一種基於影像辨識執行農耕作業的智能農耕裝置及其控制方法。 The invention relates to an intelligent farming device and a control method thereof, in particular to an intelligent farming device and a control method thereof for performing farming operations based on image recognition.

在實施有機栽培時,雜草的防除扮演非常重要的角色,係由於雜草會與農作物爭奪土壤的養分及水分,並且進一步侵占農作物的生存空間,進而造成農作物產量降低及品質下降。因此,為了防止雜草叢生,習知除草方式係以人力背負割草機進行除草作業,惟具有除草效率不佳及時間與人力成本過高等問題,已不適合現代農業發展的需求。為此,另一習知除草方式係以噴灑化學藥劑的方式進行除草作業,可以達到提升除草效率及降低時間與人力成本等問題,但由於雜草種類過多且具有抗藥性等因素,無法永久且全面的解決雜草的問題。此外,當該化學藥劑使用不當時,還容易造成土壤及水等環境汙染,甚至造成施藥人員的中毒。 In the implementation of organic cultivation, the control of weeds plays a very important role, because weeds will compete with crops for nutrients and moisture in the soil, and further occupy the living space of crops, which will lead to reduced crop yield and quality. Therefore, in order to prevent weeds from growing, the conventional weeding method uses a human-powered lawnmower to carry out weeding operations, but it has problems such as poor weeding efficiency and high time and labor costs, which are no longer suitable for the needs of modern agricultural development. For this reason, another conventional weeding method is to spray chemicals to carry out weeding operations, which can improve the weeding efficiency and reduce the time and labor costs. However, due to factors such as excessive weed species and resistance, it cannot be permanent and Comprehensive solution to the problem of weeds. In addition, when the chemical agent is improperly used, it may easily cause environmental pollution such as soil and water, and even cause poisoning of the applicator.

有鑑於此,有必要提供一種智能農耕裝置,以解決上述除草方式的問題。 In view of this, it is necessary to provide an intelligent farming device to solve the aforementioned problem of weeding methods.

為解決上述問題,本發明的目的是提供一種智能農耕裝置,能以影像辨識技術進行分析並執行相對應農耕作業,以提升農耕效率。 In order to solve the above problems, an object of the present invention is to provide an intelligent farming device that can analyze and execute corresponding farming operations with image recognition technology to improve farming efficiency.

本發明的次一目的是提供一種智能農耕控制方法,係使用上述裝置。 A secondary object of the present invention is to provide an intelligent farming control method using the above-mentioned device.

本發明以下所述方向性或其近似用語,例如「前」、「後」、「上(頂)」、「下(底)」、「內」、「外」、「側面」等,主要係參考附加圖式的方向,各方向性或其近似用語僅用以輔助說明及理解本發明的各實施例,非用以限制本發明。 The following directional or similar terms of the present invention, such as "front", "rear", "up (top)", "down (bottom)", "inside", "outside", "side", etc. With reference to the directions of the accompanying drawings, each directivity or its approximate terms are only used to assist in explaining and understanding the embodiments of the present invention, and are not intended to limit the present invention.

本發明的智能農耕裝置,包含:一車體,以一車架本體樞接數個輪子;一驅動裝置,結合於該車架本體;一農耕構件,設於該驅動裝置;一影像擷取單元,設於該車架本體;一灑水構件,結合於該車架本體;及一處理單元,設於該車架本體,且電性連接該驅動裝置、該影像擷取單元及該灑水構件,該處理單元控制該影像擷取單元朝一土壤拍攝,以產生一土壤影像,該處理單元透過一模糊控制器解析該土壤影像,以判斷出土壤的表面濕度,使產生農作物所需的一澆水量,再依據該澆水量換算取得一脈衝調變訊號,並以該脈衝調變訊號控制該灑水構件朝農作物進行澆水。 The intelligent farming device of the present invention comprises: a vehicle body, a plurality of wheels being pivotally connected by a frame body; a driving device combined with the frame body; an agricultural component provided in the driving device; an image capturing unit Is provided on the frame body; a sprinkler member is combined with the frame body; and a processing unit is provided on the frame body and is electrically connected with the driving device, the image capturing unit and the sprinkler member The processing unit controls the image capturing unit to shoot toward a soil to generate a soil image. The processing unit analyzes the soil image through a fuzzy controller to determine the surface humidity of the soil and generate a watering required for crops. A pulse modulation signal is obtained according to the watering amount conversion, and the pulse modulation signal is used to control the sprinkler member to water the crops.

本發明的智能農耕控制方法,包含:以一影像擷取單元朝一土壤拍攝,以產生一土壤影像;以一處理單元將該土壤影像由RGB色彩空間轉換至HSV色彩空間,以產生一HSV影像;該處理單元對該HSV影像輸入一閥值以執行二值化處理,使產生一灰階影像;該處理單元於該灰階影像中設定數個感興趣區域,該數個感興趣區域包含一第一感興趣區域、一第二感興趣區域及一第三感興趣區域,該第二感興趣區域包含農作物影像,該第一感興趣區域及該第三感興趣區域係可以分別位於該第二感興趣區域的兩側;該處理單元以一遮罩將該第二感興趣區域遮蔽,並對該第一感興趣區域及該第三感興趣區域執行一連通分量標記,以取得二非作物區影像;及該處理單元辨別該非作物區影像是否有雜草存在,若辨別結果為是,則控制相對應的一驅動裝置帶動一除草器耙除雜草。 The intelligent farming control method of the present invention comprises: shooting an image capturing unit toward a soil to generate a soil image; converting the soil image from an RGB color space to an HSV color space by a processing unit to generate an HSV image; The processing unit inputs a threshold value to the HSV image to perform a binarization process so as to generate a grayscale image; the processing unit sets a plurality of regions of interest in the grayscale image, and the plurality of regions of interest include a first A region of interest, a second region of interest, and a third region of interest. The second region of interest includes crop images. The first region of interest and the third region of interest may be located in the second sense region. Both sides of the region of interest; the processing unit masks the second region of interest with a mask, and performs a connected component labeling on the first region of interest and the third region of interest to obtain two non-crop region images ; And the processing unit discriminates whether weeds exist in the image of the non-crop area, and if the discrimination result is yes, then controls a corresponding driving device to drive a weeder to rake weeds

據此,本發明的智能農耕裝置,能夠透過影像辨識執行相對應的農耕作業,係具有提升農耕效率功效,以及可以避免灌溉過剩或灌溉 不足,係具有提升農作物存活率的功效。 According to this, the intelligent farming device of the present invention can perform corresponding farming operations through image recognition, has the effect of improving farming efficiency, and can avoid excessive irrigation or irrigation Insufficient, it has the effect of improving the survival rate of crops.

其中,該農耕構件係為一除草器,該處理單元分析該土壤影像中是否具有雜草存在,若分析結果為是,則驅使該驅動裝置帶動該除草器對該土壤中的雜草進行耙除。如此,係具有降低人力及時間成本的功效。 Wherein, the agricultural component is a weeder, and the processing unit analyzes whether there is weed in the soil image. If the analysis result is yes, the driving device is driven to drive the weeder to rake the weed in the soil. . In this way, it has the effect of reducing labor and time costs.

其中,該農耕構件係為一噴藥器,該處理單元確認該土壤影像中是否具有農作物存在,若確認結果為否,則驅使該驅動裝置帶動該噴藥器對農作物噴藥或施肥。如此,係具有提升使用範圍性的功效。 Wherein, the agricultural component is a sprayer, and the processing unit confirms whether there is a crop in the soil image. If the result of the confirmation is no, the driving device is driven to drive the sprayer to spray or fertilize the crop. In this way, it has the effect of improving the range of use.

其中該灑水構件具有一水箱、一抽水泵浦及一噴水件,該水箱設於該車架本體,該抽水泵浦設於該水箱內,該噴水件一端連接於該抽水泵浦,另一端鄰近該驅動裝置設置,該處理單元依據該脈衝調變訊號控制該抽水泵浦的電壓值,以由該水箱中抽取等同於該澆水量的水體至該噴水件。如此,該灑水構件的結構簡單,係具有組裝便利及方便維修等功效。 The sprinkler member has a water tank, a water pump and a water spray member. The water tank is provided in the frame body. The water pump is disposed in the water tank. One end of the water spray member is connected to the water pump and the other end It is arranged adjacent to the driving device, and the processing unit controls the voltage value of the pumping pump according to the pulse modulation signal to extract a water body equivalent to the watering amount from the water tank to the water spraying member. In this way, the structure of the sprinkler member is simple, and has the functions of convenient assembly and convenient maintenance.

本發明的智能農耕裝置,還可以另包含一感測模組,該感測模組耦接該處理單元,並以一濕度感測單元感測土壤的內部濕度,以產生一濕度值,該處理單元透過該模糊控制器解析該濕度值及該土壤影像,以判斷出農作物所需的澆水量。如此,係具有精準控制水量的功效。 The intelligent farming device of the present invention may further include a sensing module, which is coupled to the processing unit and senses the internal humidity of the soil with a humidity sensing unit to generate a humidity value. The processing The unit analyzes the humidity value and the soil image through the fuzzy controller to determine the watering amount required by the crop. In this way, it has the effect of precisely controlling the amount of water.

其中,該驅動裝置以一驅動件帶動一傳動件的一第一齒輪轉動,使該第一齒輪以一傳動帶帶動一第二齒輪同步旋轉,該第二齒輪之一側固接一板件,該板件之一端樞接於一連接件之一端,該連接件以一長槽滑動地設於該車架本體的一限位桿,該農耕構件可分離的結合於該連接件之另一端,其中該驅動裝置以該驅動件電性連接一電源供應器。如此,該驅動裝置的製作工序簡單,係具有提升生產效率的功效。 Wherein, the driving device drives a first gear of a transmission member with a driving member to rotate, and causes the first gear to synchronously rotate a second gear with a transmission belt, and a plate is fixedly connected to one side of the second gear. One end of the plate is pivotally connected to one end of a connecting member. The connecting member is slidably disposed on a limit rod of the frame body through a long groove. The agricultural component is detachably coupled to the other end of the connecting member. The driving device is electrically connected to a power supply by the driving member. In this way, the manufacturing process of the driving device is simple and has the effect of improving production efficiency.

其中,該處理單元以該遮罩將該第一感興趣區域及該第三感興趣區域遮蔽,再對該第二感興趣區域執行一區域掃瞄子及該連通分量標記,以取得一作物區影像,該處理單元確認該作物區影像是否有農作物存 在,若確認結果為是,則控制相對應的一灑水構件朝農作物進行澆水。如此,可以避免灌溉過剩或灌溉不足,係具有提升農作物存活率的功效。 The processing unit masks the first region of interest and the third region of interest with the mask, and then performs an area scan and the connected component marking on the second region of interest to obtain a crop region Image, the processing unit confirms whether there is a crop in the image of the crop area Here, if the result of the confirmation is yes, the corresponding sprinkler member is controlled to water the crops. In this way, excessive irrigation or insufficient irrigation can be avoided, and the system has the effect of improving the survival rate of crops.

其中,該處理單元以該土壤影像所屬的土壤表面的一潮溼狀態作為一模糊演算法的一第一輸入變數,以產生一脈衝調變訊號,該處理單元再以該脈衝調變訊號控制該灑水構件的一抽水泵浦的電壓值。如此,係具有精準控制水量的功效。 The processing unit uses a damp state of the soil surface to which the soil image belongs as a first input variable of a fuzzy algorithm to generate a pulse modulation signal, and the processing unit controls the sprinkler with the pulse modulation signal. The voltage value of a water pump of a water component. In this way, it has the effect of precisely controlling the amount of water.

其中,該處理單元以一濕度感測單元取得土壤的內部濕度以產生一濕度值,並以該濕度值作為該模糊演算法的一第二輸入變數。如此,係具有更加精準控制水量的功效。 The processing unit uses a humidity sensing unit to obtain the internal humidity of the soil to generate a humidity value, and uses the humidity value as a second input variable of the fuzzy algorithm. In this way, the system has the effect of more precisely controlling the amount of water.

其中,該處理單元將該土壤影像中相對於該作物區影像的部分的RGB值設定為0,並分別計算該土壤影像中的一R通道影像、一G通道影像及一B通道影像的一平均值,以及取得該R通道影像、該G通道影像及該B通道影像的一均值,該處理單元依據各該平均值及該均值判斷取得該土壤影像所屬的土壤表面的潮溼狀態。如此,係具有提升判斷潮濕狀態的精確度的功效。 The processing unit sets the RGB value of the part of the soil image relative to the crop area image to 0, and calculates an average of an R-channel image, a G-channel image, and a B-channel image in the soil image. And obtain an average value of the R-channel image, the G-channel image, and the B-channel image, and the processing unit judges and obtains the wet state of the soil surface to which the soil image belongs according to each of the average values and the average value. In this way, the system has the effect of improving the accuracy of determining the wet state.

其中,該閥值係為固定閥值,該處理單元由該HSV影像中取得一H通道影像,並輸入該閥值對該H通道影像執行二值化處理。如此,於各種不同時段均能有效判斷出雜草,係具有提升雜草辨識率的功效。 The threshold is a fixed threshold. The processing unit obtains an H-channel image from the HSV image and enters the threshold to perform a binarization process on the H-channel image. In this way, weeds can be effectively judged in various different periods, which has the effect of improving the recognition rate of weeds.

其中,該閥值係為自適應閥值,該處理單元由該HSV影像中分別取得一H通道影像、一S通道影像及一V通道影像,並分別計算該H通道影像、該S通道影像及該V通道影像的一平均值,計算該H通道影像的平均值是否大於該S通道影像的平均值,若計算結果為是,該處理單元輸入該閥值對該S通道影像執行二值化處理。如此,能因應不同時段判斷出農作物,係具有提升農作物辨識率的功效。 The threshold is an adaptive threshold. The processing unit obtains an H-channel image, an S-channel image, and a V-channel image from the HSV image, and calculates the H-channel image, the S-channel image, and An average value of the V-channel image is used to calculate whether the average value of the H-channel image is greater than the average value of the S-channel image. If the calculation result is yes, the processing unit enters the threshold to perform binarization processing on the S-channel image. . In this way, the crops can be judged according to different time periods, which has the effect of improving the identification rate of crops.

其中,若計算結果為否,該處理單元輸入該閥值對該H通道 影像執行二值化處理。如此,係具有提升農作物辨識率的功效。 Wherein, if the calculation result is no, the processing unit inputs the threshold value for the H channel. The image is binarized. In this way, the system has the effect of improving the recognition rate of crops.

其中,以該處理單元對該灰階影像執行一形態學處理。如此,以消除雜訊,係具有提升後續影像處理精確度的功效。 The processing unit performs a morphological process on the grayscale image. In this way, in order to eliminate noise, it has the effect of improving the accuracy of subsequent image processing.

〔本發明〕 〔this invention〕

1‧‧‧車體 1‧‧‧ body

11‧‧‧車架本體 11‧‧‧frame body

12‧‧‧輪子 12‧‧‧ Wheel

13‧‧‧限位桿 13‧‧‧ limit lever

2‧‧‧驅動裝置 2‧‧‧Drive

21‧‧‧驅動件 21‧‧‧Driver

22‧‧‧傳動件 22‧‧‧ Transmission Parts

221‧‧‧第一齒輪 221‧‧‧first gear

222‧‧‧傳動帶 222‧‧‧Drive Belt

223‧‧‧第二齒輪 223‧‧‧Second Gear

23‧‧‧板件 23‧‧‧ Plate

24‧‧‧連接件 24‧‧‧Connector

241‧‧‧長槽 241‧‧‧long slot

25‧‧‧電源供應器 25‧‧‧ Power Supply

3‧‧‧農耕構件 3‧‧‧ farming components

3a‧‧‧除草器 3a‧‧‧ Weeder

3b‧‧‧噴藥器 3b‧‧‧ sprayer

4‧‧‧影像擷取單元 4‧‧‧Image capture unit

5‧‧‧處理單元 5‧‧‧ processing unit

6‧‧‧灑水構件 6‧‧‧ sprinkler

61‧‧‧水箱 61‧‧‧Water tank

62‧‧‧抽水泵浦 62‧‧‧Pump pump

63‧‧‧噴水件 63‧‧‧Water spray

7‧‧‧感測模組 7‧‧‧ Sensor Module

S1‧‧‧影像拍攝步驟 S1‧‧‧Image shooting steps

S2‧‧‧影像處理步驟 S2‧‧‧Image processing steps

S21‧‧‧影像壓縮步驟 S21‧‧‧Image Compression Procedure

S22‧‧‧色碼轉換步驟 S22‧‧‧color code conversion steps

S23‧‧‧二值化步驟 S23‧‧‧ Binarization step

S24‧‧‧特徵強化步驟 S24‧‧‧Feature Enhancement Steps

S25‧‧‧影像分析步驟 S25‧‧‧Image analysis steps

第1圖:本發明智能農耕裝置的立體圖。 Figure 1: A perspective view of the intelligent farming device of the present invention.

第2圖:沿第1圖的A-A線剖面後視圖。 Fig. 2: Rear view taken along line A-A of Fig. 1.

第3圖:本發明智能農耕裝置的側視圖。 Figure 3: A side view of the intelligent farming device of the present invention.

第4~7圖:本發明智能農耕裝置之驅動裝置的動作情形圖。 Figures 4 to 7: Operation situation diagrams of the driving device of the intelligent farming device of the present invention.

第8圖:本發明智能農耕控制方法的方法流程圖。 FIG. 8 is a method flowchart of the intelligent farming control method of the present invention.

為讓本發明之上述及其他目的、特徵及優點能更明顯易懂,下文特舉本發明之較佳實施例,並配合所附圖式,作詳細說明如下:請參照第1圖所示,其係本發明智能農耕裝置的一較佳實施例,係包含一車體1、至少一驅動裝置2、一農耕構件3、一影像擷取單元4及一處理單元5,該至少一驅動裝置2、該影像擷取單元4及該處理單元5分別裝設於該車體1,該農耕構件3結合於該至少一驅動裝置2,該至少一驅動裝置2及該影像擷取單元4分別電性連接該處理單元5。 In order to make the above and other objects, features, and advantages of the present invention more comprehensible, the following describes the preferred embodiments of the present invention in detail with the accompanying drawings as follows: Please refer to FIG. 1, It is a preferred embodiment of the intelligent farming device of the present invention, and includes a vehicle body 1, at least one driving device 2, an agricultural component 3, an image capturing unit 4, and a processing unit 5. The at least one driving device 2 The image capturing unit 4 and the processing unit 5 are respectively installed on the vehicle body 1, the farming component 3 is combined with the at least one driving device 2, and the at least one driving device 2 and the image capturing unit 4 are electrically This processing unit 5 is connected.

該車體1的大小及樣式,在本發明中不加以限制。該車體1可以包含一車架本體11,該車架本體11樞接數個輪子12且具有一限位桿13。 The size and style of the vehicle body 1 are not limited in the present invention. The vehicle body 1 may include a frame body 11. The frame body 11 is pivotally connected to a plurality of wheels 12 and has a limit rod 13.

請參照第2圖所示,該至少一驅動裝置2結合於該車架本體11,在本實施例中,該至少一驅動裝置2的數量可以為三個。各該驅動裝置2分別以一驅動件21帶動一傳動件22的一第一齒輪221轉動,使該第一齒輪221以一傳動帶222帶動一第二齒輪223同步旋轉。該第二齒輪223 之一側固接一板件23,該板件23之一端樞接於一連接件24之一端,該連接件24以一長槽241滑動地設於該限位桿13。其中,該至少一驅動裝置2以該驅動件21電性連接一電源供應器25,該驅動件21可以為一伺服馬達或一步進馬達,該傳動帶222可以為一鏈條或一齒輪皮帶,惟不以此為限。 Please refer to FIG. 2, the at least one driving device 2 is coupled to the frame body 11. In this embodiment, the number of the at least one driving device 2 may be three. Each of the driving devices 2 drives a first gear 221 of a transmission member 22 with a driving member 21 to rotate, so that the first gear 221 drives a second gear 223 with a transmission belt 222 to rotate synchronously. The second gear 223 A plate 23 is fixed on one side, and one end of the plate 23 is pivotally connected to one end of a connecting member 24. The connecting member 24 is slidably disposed on the limiting rod 13 with a long groove 241. Wherein, the at least one driving device 2 is electrically connected to a power supply 25 by the driving member 21, the driving member 21 may be a servo motor or a stepping motor, and the transmission belt 222 may be a chain or a gear belt, but not This is the limit.

該農耕構件3可以分離的結合於該連接件24之另一端。在本實施例中,該農耕構件3可以包含一除草器3a(如:抓耙)、一噴藥器3b或一播種器中的一或多種。該噴藥器3b係用以對農作物噴藥或施肥,該播種器係用進行播種使用,係本發明所屬技術領域中具有通常知識者可以理解,在此不多加贅述。 The farming component 3 can be separately coupled to the other end of the connecting member 24. In this embodiment, the agricultural component 3 may include one or more of a weeder 3a (such as a grazing rake), a sprayer 3b, or a seeder. The sprayer 3b is used for spraying or fertilizing crops, and the seeder is used for seeding. It can be understood by those with ordinary knowledge in the technical field to which the present invention belongs, and it will not be repeated here.

該影像擷取單元4設置於該車架本體11,較佳地,可以設置於該車架本體11下方。該影像擷取單元4用以朝一土壤拍攝,以產生一土壤影像。舉例而言,該影像擷取單元4可以為一CCD攝像鏡頭,惟不以此為限。 The image capturing unit 4 is disposed on the frame body 11. Preferably, the image capturing unit 4 can be disposed below the frame body 11. The image capturing unit 4 is used for shooting towards a soil to generate a soil image. For example, the image capturing unit 4 may be a CCD camera lens, but is not limited thereto.

該處理單元5設置於該車架本體11,且電性連接該至少一驅動裝置2及該影像擷取單元4。該處理單元5可以為任何具有資料處理、影像辨識處理、訊號產生及控制等功能的處理器,例如可以為一微處理器(MCU)。該處理單元5依據分析該土壤影像所得之結果,驅使該至少一驅動裝置2控制該農耕構件3作動。具體而言,當該農耕構件3係為一除草器3a時,該處理單元5分析該土壤影像中是否具有雜草存在,若分析結果為是,則驅使該至少一驅動裝置2帶動該除草器3a對該土壤中的雜草進行耙除;若分析結果為否,則不須驅動該至少一驅動裝置2作動。當該農耕構件3係為一噴藥器3b時,該處理單元5確認該土壤影像中是否具有農作物存在,若確認結果為是,則不須驅動該至少一驅動裝置2作動;若確認結果為否,則驅使該至少一驅動裝置2帶動該噴藥器3b朝該農作物噴藥或施肥。當該農耕構件3係為一播種器時,該處理單元5驅使該至少一驅 動裝置2帶動該播種器朝該土壤進行播種。 The processing unit 5 is disposed on the frame body 11 and is electrically connected to the at least one driving device 2 and the image capturing unit 4. The processing unit 5 may be any processor having functions such as data processing, image recognition processing, signal generation, and control, for example, a microprocessor (MCU). The processing unit 5 drives the at least one driving device 2 to control the agricultural component 3 to act according to a result obtained by analyzing the soil image. Specifically, when the agricultural component 3 is a weeder 3a, the processing unit 5 analyzes whether there is weed in the soil image, and if the analysis result is yes, the at least one driving device 2 is driven to drive the weeder 3a rakes the weeds in the soil; if the analysis result is no, it is not necessary to drive the at least one driving device 2 to operate. When the farming component 3 is a sprayer 3b, the processing unit 5 confirms whether there is a crop in the soil image, and if the confirmation result is yes, it is not necessary to drive the at least one driving device 2 to act; if the confirmation result is If not, the at least one driving device 2 is driven to drive the sprayer 3b to spray or fertilize the crop. When the farming component 3 is a seeder, the processing unit 5 drives the at least one drive The moving device 2 drives the planter to sow the soil.

請一併參照第3圖所示,本發明智能農耕裝置,還可以另包含一灑水構件6,該灑水構件6結合於該車架本體11且電性連接該處理單元5,該灑水構件6可以包含一水箱61、一抽水泵浦62及一噴水件63,該水箱61設於該車架本體11,該抽水泵浦62設於該水箱61內,該噴水件63一端連接於該抽水泵浦62,另一端可以鄰近該至少一驅動裝置2設置。該處理單元5可以透過一模糊控制器(Fuzzy Controller)解析該土壤影像以判斷出該土壤的表面濕度,使產生該農作物所需的一澆水量。該處理單元5再依據該澆水量換算取得一脈衝調變訊號(PWM),並以該脈衝調變訊號控制該抽水泵浦62的電壓值,由該水箱61中抽取等同於該澆水量的水體至該噴水件63,以朝該土壤中的農作物進行澆水。 Please refer to FIG. 3 together. The intelligent farming device of the present invention may further include a sprinkler member 6 which is coupled to the frame body 11 and is electrically connected to the processing unit 5. The sprinkler The component 6 may include a water tank 61, a pumping pump 62, and a water spraying member 63. The water tank 61 is disposed in the frame body 11. The water pumping pump 62 is disposed in the water tank 61. One end of the water spraying member 63 is connected to the The other end of the suction pump 62 may be disposed adjacent to the at least one driving device 2. The processing unit 5 can analyze the soil image through a fuzzy controller to determine the surface humidity of the soil, so as to generate a watering amount required for the crop. The processing unit 5 then obtains a pulse modulation signal (PWM) according to the watering amount conversion, and controls the voltage value of the pumping pump 62 with the pulse modulation signal, and extracts from the water tank 61 equal to the watering amount The water body to the water spraying member 63 to water the crops in the soil.

請再次參照第2圖所示,本發明之智能農耕裝置,還可以另包含一感測模組7,該感測模組7耦接該處理單元5,並以一濕度感測單元感測該土壤的內部濕度,以產生一濕度值。該處理單元5能以該模糊控制器進一步解析該濕度值及該土壤影像,以判斷出該土壤中的農作物所需的澆水量。其中,該感測模組7能以一傳輸單元將該濕度值傳送至該處理單元5,例如但不限制的,該傳輸單元可以為一Zigbee無線傳輸模組。此外,該感測模組7可以對應每株農作物設置,或是對應數株農作物的生長範圍設置,在本發明中不加以限制。 Please refer to FIG. 2 again. The intelligent farming device of the present invention may further include a sensing module 7 which is coupled to the processing unit 5 and senses the humidity with a humidity sensing unit. The internal humidity of the soil to produce a humidity value. The processing unit 5 can further analyze the humidity value and the soil image with the fuzzy controller to determine the watering amount required for the crops in the soil. The sensing module 7 can transmit the humidity value to the processing unit 5 by a transmission unit. For example, but not limited to, the transmission unit can be a Zigbee wireless transmission module. In addition, the sensing module 7 may be set corresponding to each crop, or may be set corresponding to the growth range of several crops, which is not limited in the present invention.

請參照第4~7圖所示,據由前述結構,當該處理單元5分析出該土壤影像中具有雜草存在時,該處理單元5控制該驅動件21驅動該傳動件22,使該傳動件22帶動該板件23旋轉,在本實施例中,係朝順時針方向每次旋轉90度。該板件23旋轉時一併帶動該連接件24於該限位桿13移動。其中,第4圖係該板件23未旋轉時的狀態,第5~7圖係該板件25分別旋轉90度、180度及270度時的狀態。當該板件23旋轉90度時, 會帶動該連接件24往後方移動。該板件23旋轉180度時,會帶動該連接件24往前面下方移動,使該農耕構件3插入至土壤內。該板件23旋轉270度時,再帶動該連接件24往前面上方移動,使該農耕構件3由土壤內伸出完成翻土除草動作。 Please refer to FIGS. 4 to 7. According to the foregoing structure, when the processing unit 5 analyzes that weeds are present in the soil image, the processing unit 5 controls the driving member 21 to drive the transmission member 22 to make the transmission The member 22 drives the plate member 23 to rotate. In this embodiment, the plate member 23 is rotated 90 degrees clockwise. When the plate member 23 rotates, the connecting member 24 is moved along the limit rod 13. Among them, FIG. 4 is a state when the plate 23 is not rotated, and FIGS. 5 to 7 are states when the plate 25 is rotated 90 degrees, 180 degrees, and 270 degrees, respectively. When the plate 23 is rotated 90 degrees, This will drive the connecting member 24 to move backward. When the plate member 23 is rotated 180 degrees, the connecting member 24 is driven to move downward and forward, so that the agricultural component 3 is inserted into the soil. When the plate member 23 is rotated 270 degrees, the connecting member 24 is further moved upward and forward, so that the agricultural component 3 is protruded from the soil to complete the weeding and weeding action.

請參照第8圖所示,其係本發明智能農耕裝置的控制方法的一較佳實施例,係可以應用於上述智能農耕裝置。該控制方法係包含:一影像拍攝步驟S1及一影像處理步驟S2。 Please refer to FIG. 8, which is a preferred embodiment of the control method of the intelligent farming device of the present invention, and can be applied to the above-mentioned intelligent farming device. The control method includes: an image capturing step S1 and an image processing step S2.

該影像拍攝步驟S1能以一影像擷取單元4朝一土壤拍攝,以產生一土壤影像,在本實施例中,該土壤影像係為一彩色影像。 The image capturing step S1 can be performed by using an image capturing unit 4 toward a soil to generate a soil image. In this embodiment, the soil image is a color image.

該影像處理步驟S2係可以包含一影像壓縮步驟S21、一色碼轉換步驟S22、一二值化步驟S23、一特徵強化步驟S24及一影像分析步驟S25。詳言之,該影像壓縮步驟S21係對該土壤影像進行壓縮,以提升後續影像處理效率,在本實施例中,該土壤影像的壓縮比為75%。該色碼轉換步驟S22能以一處理單元5將該土壤影像由RGB色彩空間轉換至HSV色彩空間,以產生一HSV影像。其中,由RGB色彩空間轉換至HSV色彩空間,係本發明所屬技術領域中具有通常知識者可以理解,在此茲不贅述。 The image processing step S2 may include an image compression step S21, a color code conversion step S22, a binarization step S23, a feature enhancement step S24, and an image analysis step S25. In detail, the image compression step S21 is to compress the soil image to improve subsequent image processing efficiency. In this embodiment, the compression ratio of the soil image is 75%. The color code conversion step S22 can convert the soil image from the RGB color space to the HSV color space by a processing unit 5 to generate an HSV image. The conversion from RGB color space to HSV color space can be understood by those having ordinary knowledge in the technical field to which the present invention pertains, and details are not described herein.

該二值化步驟S23,該處理單元5對該HSV影像輸入一閥值以執行二值化處理,使產生一灰階影像。在本實施例中,當該閥值係為固定閥值時,該處理單元5由該HSV影像中取得一H通道影像,並輸入該閥值對該H通道影像執行二值化處理。此外,當該閥值係為自適應閥值時,該處理單元5由該HSV影像中分別取得一H通道影像、一S通道影像及一V通道影像,並分別計算該H通道影像、該S通道影像及該V通道影像的一平均值。該處理單元5計算該H通道影像的平均值是否大於該S通道影像的平均值,若計算結果為是,該處理單元5以該閥值對該S通 道影像執行二值化處理。該處理單元5重新計算該閥值以產生一新的閥值,並將該新的閥值與舊的閥值疊代計算直到新的閥值收斂為止;若計算結果為否,該處理單元5輸入該閥值對該H通道影像執行二值化處理。在本實施例中,該閥值的初始值設定為0,新的閥值係為該V通道影像的平均值,與該灰階影像中的雜草與農作物的影像面積和的相乘。若新的閥值與舊的閥值相減不小於0.0001,則該處理單元5重新以新的閥值對選取的通道影像執行二值化處理。 In the binarization step S23, the processing unit 5 inputs a threshold value to the HSV image to perform binarization processing, so as to generate a grayscale image. In this embodiment, when the threshold is a fixed threshold, the processing unit 5 obtains an H-channel image from the HSV image, and inputs the threshold to perform a binarization process on the H-channel image. In addition, when the threshold is an adaptive threshold, the processing unit 5 obtains an H-channel image, an S-channel image, and a V-channel image from the HSV image, and calculates the H-channel image and the S, respectively. An average of the channel image and the V-channel image. The processing unit 5 calculates whether the average value of the H-channel image is greater than the average value of the S-channel image. If the calculation result is yes, the processing unit 5 uses the threshold value for the S-channel. The image is binarized. The processing unit 5 recalculates the threshold to generate a new threshold, and iteratively calculates the new threshold with the old threshold until the new threshold converges; if the calculation result is no, the processing unit 5 Enter this threshold to perform binarization on the H-channel image. In this embodiment, the initial value of the threshold is set to 0, and the new threshold is the average value of the V-channel image, multiplied by the sum of the image area of the weeds and the crops in the grayscale image. If the new threshold is subtracted from the old threshold by not less than 0.0001, the processing unit 5 re-binarizes the selected channel image with the new threshold.

該特徵強化步驟S24,能以該處理單元5對該灰階影像執行一形態學處理(Morphology),在本實施例中,該形態學處理可以為侵蝕(Erosion)或膨脹(Dilation)。 In the feature enhancement step S24, a morphological process (Morphology) can be performed on the grayscale image by the processing unit 5. In this embodiment, the morphological process can be Erosion or Dilation.

該影像分析步驟S25,能以該處理單元5於該灰階影像中設定數個感興趣區域(Region of Interest,ROI)。其中,該感興趣區域的數量是對應該至少一驅動裝置2的數量設置,在本實施例中,該感興趣區域的數量可以為三個,即一第一感興趣區域、一第二感興趣區域及一第三感興趣區域。其中,該第二感興趣區域係包含農作物影像,該第一感興趣區域及該第三感興趣區域係可以分別位於該第二感興趣區域的兩側。該處理單元5以一遮罩(Mask)將該第二感興趣區域遮蔽,並分別對該第一感興趣區域及該第三感興趣區域執行一連通分量標記,以取得二非作物區影像,在本實施例中,該連通分量標記可以為8連通分量標記。該處理單元5以一最大面積法辨別該二非作物區影像各自是否有雜草存在,若辨別結果為是,則控制相對應的驅動裝置2帶動一除草器3a耙除雜草。 In the image analysis step S25, a plurality of Regions of Interest (ROI) can be set in the grayscale image by the processing unit 5. The number of the region of interest is set corresponding to the number of the at least one driving device 2. In this embodiment, the number of the region of interest may be three, that is, a first region of interest, a second region of interest Area and a third area of interest. The second region of interest includes crop images, and the first region of interest and the third region of interest may be located on two sides of the second region of interest, respectively. The processing unit 5 masks the second region of interest with a mask, and performs a connected component labeling on the first region of interest and the third region of interest to obtain two non-crop region images, In this embodiment, the connected component label may be an 8-connected component label. The processing unit 5 discriminates whether weeds exist in the two non-crop area images by a maximum area method. If the discrimination result is yes, the corresponding driving device 2 is controlled to drive a weeder 3a to rake weeds.

該處理單元5另以該遮罩將該第一感興趣區域及該第三感興趣區域遮蔽,再對該第二感興趣區域執行一區域掃瞄子及該連通分量標記,以取得一作物區影像。該處理單元5以該最大面積法確認該作物區影像是否有農作物存在,若確認結果為是,則可以控制相對應的驅動裝置2 帶動一噴藥器3b對該農作物進行噴藥或施肥,又或是控制一灑水構件6朝該農作物進行澆水;若確認結果為否,即表示該作物區影像不包含農作物,則該處理單元5重新確認該作物區是否有雜草存在,若確認結果為是,則可以控制相對應的驅動裝置2帶動該除草器3a耙除該第二感興趣區域的雜草。 The processing unit 5 further masks the first region of interest and the third region of interest with the mask, and then performs an area scan and the connected component marking on the second region of interest to obtain a crop region. image. The processing unit 5 confirms whether there is a crop in the crop area image by using the maximum area method, and if the confirmation result is yes, the corresponding driving device 2 can be controlled Drive a sprayer 3b to spray or fertilize the crop, or control a sprinkler member 6 to water the crop; if the result of the confirmation is no, it means that the image of the crop area does not include crops, and the process The unit 5 reconfirms whether weeds exist in the crop area. If the result of the confirmation is yes, the corresponding driving device 2 can be controlled to drive the weeder 3a to rake weeds in the second region of interest.

其中,該處理單元5以該土壤影像所屬的土壤表面的一潮溼狀態作為一模糊演算法的一第一輸入變數,以產生一脈衝調變訊號(PWM),該處理單元5再以該脈衝調變訊號控制該灑水構件6的一抽水泵浦62的電壓值。具體而言,該處理單元5將該土壤影像中相對於該作物區影像的部分的RGB值設定為0,該處理單元5分別計算該土壤影像中的一R通道影像、一G通道影像及一B通道影像的一平均值,以及取得該R通道影像、該G通道影像及該B通道影像的一均值。該處理單元5依據各該平均值與該均值判斷取得該土壤影像所屬的土壤表面的潮溼狀態。 Wherein, the processing unit 5 uses a damp state of the soil surface to which the soil image belongs as a first input variable of a fuzzy algorithm to generate a pulse modulation signal (PWM), and the processing unit 5 adjusts the pulse with the pulse. The variable signal controls the voltage value of a pumping pump 62 of the sprinkler member 6. Specifically, the processing unit 5 sets the RGB value of the portion of the soil image relative to the crop area image to 0, and the processing unit 5 calculates an R-channel image, a G-channel image, and a An average value of the B-channel image and an average value of the R-channel image, the G-channel image, and the B-channel image. The processing unit 5 determines the wet state of the soil surface to which the soil image belongs according to each of the average values and the average values.

較佳地,該處理單元5另以一濕度感測單元感測取得該土壤的內部濕度以產生一濕度值,並以該濕度值作為該模糊演算法的一第二輸入變數。該模糊演算法設定該土壤表面的潮溼狀態(image)的模糊語句為潮溼(wet)、適中(mid)及乾燥(dry),以及分別設定該濕度感測單元感測取得的濕度值(sensor)及輸出的脈衝調變訊號的模糊語句為小(small)、中(mid)及大(large),該模糊演算法的模糊規則庫可以如下表一所示: Preferably, the processing unit 5 obtains the internal humidity of the soil by a humidity sensing unit to generate a humidity value, and uses the humidity value as a second input variable of the fuzzy algorithm. The fuzzy algorithm sets the fuzzy statement of the wet state (image) of the soil surface as wet, mid, and dry, and sets the humidity value (sensor) obtained by the humidity sensing unit respectively. The fuzzy sentences of the output pulse modulation signal are small, mid, and large. The fuzzy rule base of the fuzzy algorithm can be shown in Table 1 below:

綜上所述,本發明的智能農耕裝置及其控制方法,能夠透過影像辨識執行相對應的農耕作業,係具有提升農耕效率功效。此外,當分辨出是為農作物時,相對給予噴藥、施肥或澆水,係具有進一步提升農耕效率功效。再者,透過該模糊控制器分析取得該農作物所需的澆水量,並依據該澆水量換算取得控制該抽水泵浦的電壓值的脈衝調變訊號,係具有避免灌溉過剩或灌溉不足等功效。 In summary, the intelligent farming device and its control method of the present invention can perform corresponding farming operations through image recognition, and has the effect of improving farming efficiency. In addition, when it is determined that it is a crop, relative spraying, fertilizing, or watering has the effect of further improving farming efficiency. Furthermore, the fuzzy controller analyzes and obtains the watering amount required for the crop, and converts to obtain the pulse modulation signal for controlling the voltage value of the pumping pump according to the watering amount conversion, which has the purpose of avoiding excessive irrigation or insufficient irrigation, etc. efficacy.

雖然本發明已利用上述較佳實施例揭示,然其並非用以限定本發明,任何熟習此技藝者在不脫離本發明之精神和範圍之內,相對上述實施例進行各種更動與修改仍屬本發明所保護之技術範疇,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。 Although the present invention has been disclosed using the above-mentioned preferred embodiments, it is not intended to limit the present invention. Anyone skilled in the art can make various changes and modifications to the above embodiments without departing from the spirit and scope of the present invention. The technical scope protected by the invention, so the scope of protection of the present invention shall be determined by the scope of the appended patent application.

Claims (15)

一種智能農耕裝置,包含:一車體,以一車架本體樞接數個輪子;一驅動裝置,結合於該車架本體;一農耕構件,設於該驅動裝置;一影像擷取單元,設於該車架本體;一灑水構件,結合於該車架本體;及一處理單元,設於該車架本體,且電性連接該驅動裝置、該影像擷取單元及該灑水構件,該處理單元控制該影像擷取單元朝一土壤拍攝,以產生一土壤影像,該處理單元透過一模糊控制器解析該土壤影像,以判斷出土壤的表面濕度,使產生農作物所需的一澆水量,再依據該澆水量換算取得一脈衝調變訊號,並以該脈衝調變訊號控制該灑水構件朝農作物進行澆水。An intelligent farming device includes: a vehicle body pivotally connected to a plurality of wheels by a frame body; a driving device coupled to the frame body; an agricultural component disposed on the driving device; an image capturing unit, To the frame body; a sprinkler member coupled to the frame body; and a processing unit disposed on the frame body and electrically connected to the driving device, the image capturing unit and the sprinkler member, the The processing unit controls the image capturing unit to shoot toward a soil to generate a soil image. The processing unit analyzes the soil image through a fuzzy controller to determine the surface humidity of the soil and generate a watering amount required for the crop. A pulse modulation signal is obtained according to the watering amount conversion, and the pulse modulation signal is used to control the sprinkler component to water the crops. 如申請專利範圍第1項所述之智能農耕裝置,其中,該農耕構件係為一除草器,該處理單元分析該土壤影像中是否具有雜草存在,若分析結果為是,則驅使該驅動裝置帶動該除草器對該土壤中的雜草進行耙除。The intelligent farming device according to item 1 of the scope of patent application, wherein the farming component is a weeder, the processing unit analyzes whether there is weed in the soil image, and if the analysis result is yes, the driving device is driven The weeder is driven to weed the soil. 如申請專利範圍第1項所述之智能農耕裝置,其中,該農耕構件係為一噴藥器,該處理單元確認該土壤影像中是否具有農作物存在,若確認結果為否,則驅使該驅動裝置帶動該噴藥器對農作物噴藥或施肥。According to the intelligent farming device described in the first item of the patent application scope, wherein the farming component is a sprayer, the processing unit confirms whether there is a crop in the soil image, and if the confirmation result is no, the driving device is driven Drive the sprayer to spray or fertilize crops. 如申請專利範圍第1項所述之智能農耕裝置,其中,該灑水構件具有一水箱、一抽水泵浦及一噴水件,該水箱設於該車架本體,該抽水泵浦設於該水箱內,該噴水件一端連接於該抽水泵浦,另一端鄰近該驅動裝置設置,該處理單元依據該脈衝調變訊號控制該抽水泵浦的電壓值,以由該水箱中抽取等同於該澆水量的水體至該噴水件。The intelligent farming device according to item 1 of the scope of patent application, wherein the sprinkler member has a water tank, a water pump and a water spraying member, the water tank is provided on the frame body, and the water pump is provided on the water tank Inside, one end of the water spray member is connected to the pump, and the other end is disposed adjacent to the driving device. The processing unit controls the voltage value of the pump according to the pulse modulation signal, so as to be extracted from the water tank equivalent to the watering. Amount of water body to the water spray member. 如申請專利範圍第1項所述之智能農耕裝置,另包含一感測模組,該感測模組耦接該處理單元,並以一濕度感測單元感測土壤的內部濕度,以產生一濕度值,該處理單元透過該模糊控制器解析該濕度值及該土壤影像,以判斷出農作物所需的澆水量。The intelligent farming device described in item 1 of the patent application scope further includes a sensing module, which is coupled to the processing unit and senses the internal humidity of the soil with a humidity sensing unit to generate a Humidity value, the processing unit analyzes the humidity value and the soil image through the fuzzy controller to determine the amount of watering required by the crop. 如申請專利範圍第1項所述之智能農耕裝置,其中,該驅動裝置以一驅動件帶動一傳動件的一第一齒輪轉動,使該第一齒輪以一傳動帶帶動一第二齒輪同步旋轉,該第二齒輪之一側固接一板件,該板件之一端樞接於一連接件之一端,該連接件以一長槽滑動地設於該車架本體的一限位桿,該農耕構件可分離的結合於該連接件之另一端,其中該驅動裝置以該驅動件電性連接一電源供應器。The intelligent farming device according to item 1 of the scope of patent application, wherein the driving device drives a first gear of a transmission member to rotate with a driving member, and causes the first gear to synchronously rotate a second gear with a driving belt, A plate is fixedly connected to one side of the second gear, one end of the plate is pivotally connected to one end of a connecting member, and the connecting member is slidably disposed on a limit rod of the frame body through a long groove. The component is detachably coupled to the other end of the connecting member, wherein the driving device is electrically connected to a power supply by the driving member. 一種智能農耕控制方法,係使用第1至6項中任一項所述之智能農耕裝置,該控制方法包含:以一影像擷取單元朝一土壤拍攝,以產生一土壤影像;以一處理單元將該土壤影像由RGB色彩空間轉換至HSV色彩空間,以產生一HSV影像;該處理單元對該HSV影像輸入一閥值以執行二值化處理,使產生一灰階影像;該處理單元於該灰階影像中設定數個感興趣區域,該數個感興趣區域包含一第一感興趣區域、一第二感興趣區域及一第三感興趣區域,該第二感興趣區域包含農作物影像,該第一感興趣區域及該第三感興趣區域係可以分別位於該第二感興趣區域的兩側;該處理單元以一遮罩將該第二感興趣區域遮蔽,並對該第一感興趣區域及該第三感興趣區域執行一連通分量標記,以取得二非作物區影像;及該處理單元辨別該非作物區影像是否有雜草存在,若辨別結果為是,則控制相對應的一驅動裝置帶動一除草器耙除雜草。An intelligent farming control method uses the intelligent farming device described in any one of items 1 to 6. The control method includes: shooting an image capturing unit toward a soil to generate a soil image; and using a processing unit to The soil image is converted from the RGB color space to the HSV color space to generate an HSV image; the processing unit inputs a threshold value to the HSV image to perform a binarization process so as to generate a grayscale image; the processing unit generates a grayscale image; A plurality of regions of interest are set in the first-order image. The plurality of regions of interest include a first region of interest, a second region of interest, and a third region of interest. The second region of interest includes a crop image. A region of interest and the third region of interest may be located on both sides of the second region of interest, respectively; the processing unit masks the second region of interest with a mask, and The third region of interest performs a connected component labeling to obtain an image of the second non-crop area; and the processing unit discriminates whether there is weed in the non-crop area image, and if the discrimination result is , A drive control means to drive a corresponding rake herbicidal weed control. 如申請專利範圍第7項所述之智能農耕控制方法,其中,該處理單元以該遮罩將該第一感興趣區域及該第三感興趣區域遮蔽,再對該第二感興趣區域執行一區域掃瞄子及該連通分量標記,以取得一作物區影像,該處理單元確認該作物區影像是否有農作物存在,若確認結果為是,則控制相對應的一灑水構件朝農作物進行澆水。The intelligent farming control method according to item 7 of the scope of patent application, wherein the processing unit masks the first region of interest and the third region of interest with the mask, and then executes a second region of interest The area scanner and the connected component mark to obtain a crop area image, the processing unit confirms whether there is a crop in the crop area image, and if the result of the confirmation is yes, controls a corresponding sprinkler member to water the crop . 如申請專利範圍第8項所述之智能農耕控制方法,其中,該處理單元以該土壤影像所屬的土壤表面的一潮溼狀態作為一模糊演算法的一第一輸入變數,以產生一脈衝調變訊號,該處理單元再以該脈衝調變訊號控制該灑水構件的一抽水泵浦的電壓值。The intelligent farming control method according to item 8 of the scope of patent application, wherein the processing unit uses a wet state of the soil surface to which the soil image belongs as a first input variable of a fuzzy algorithm to generate a pulse modulation Signal, the processing unit then uses the pulse modulation signal to control a voltage value of a pumping pump of the sprinkler member. 如申請專利範圍第9項所述之智能農耕控制方法,其中,該處理單元以一濕度感測單元取得土壤的內部濕度以產生一濕度值,並以該濕度值作為該模糊演算法的一第二輸入變數。The intelligent farming control method according to item 9 of the scope of patent application, wherein the processing unit obtains the internal humidity of the soil with a humidity sensing unit to generate a humidity value, and the humidity value is used as a first part of the fuzzy algorithm. Two input variables. 如申請專利範圍第9項所述之智能農耕控制方法,其中,該處理單元將該土壤影像中相對於該作物區影像的部分的RGB值設定為0,並分別計算該土壤影像中的一R通道影像、一G通道影像及一B通道影像的一平均值,以及取得該R通道影像、該G通道影像及該B通道影像的一均值,該處理單元依據各該平均值及該均值判斷取得該土壤影像所屬的土壤表面的潮溼狀態。The intelligent farming control method according to item 9 of the scope of the patent application, wherein the processing unit sets the RGB value of the portion of the soil image relative to the image of the crop area to 0, and calculates an R in the soil image An average value of the channel image, a G-channel image, and a B-channel image, and obtaining an average value of the R-channel image, the G-channel image, and the B-channel image, and the processing unit judges and obtains the average value and the average value The wet state of the soil surface to which this soil image belongs. 如申請專利範圍第7項所述之智能農耕控制方法,其中,該閥值係為固定閥值,該處理單元由該HSV影像中取得一H通道影像,並輸入該閥值對該H通道影像執行二值化處理。The intelligent farming control method as described in item 7 of the scope of patent application, wherein the threshold value is a fixed threshold value, the processing unit obtains an H-channel image from the HSV image, and inputs the threshold value to the H-channel image Binarization is performed. 如申請專利範圍第7項所述之智能農耕控制方法,其中,該閥值係為自適應閥值,該處理單元由該HSV影像中分別取得一H通道影像、一S通道影像及一V通道影像,並分別計算該H通道影像、該S通道影像及該V通道影像的一平均值,計算該H通道影像的平均值是否大於該S通道影像的平均值,若計算結果為是,該處理單元輸入該閥值對該S通道影像執行二值化處理。The intelligent farming control method according to item 7 of the scope of patent application, wherein the threshold is an adaptive threshold, and the processing unit obtains an H-channel image, an S-channel image, and a V-channel from the HSV image, respectively. Image, and calculate an average value of the H-channel image, the S-channel image, and the V-channel image respectively, and calculate whether the average value of the H-channel image is greater than the average value of the S-channel image. If the calculation result is yes, the process The unit inputs the threshold to perform binarization processing on the S-channel image. 如申請專利範圍第13項所述之智能農耕控制方法,其中,若計算結果為否,該處理單元輸入該閥值對該H通道影像執行二值化處理。The intelligent farming control method according to item 13 of the scope of patent application, wherein if the calculation result is no, the processing unit inputs the threshold value to perform binarization processing on the H-channel image. 如申請專利範圍第7項所述之智能農耕控制方法,其中,以該處理單元對該灰階影像執行一形態學處理。The intelligent farming control method according to item 7 of the scope of patent application, wherein the processing unit performs a morphological process on the grayscale image.
TW107112924A 2018-04-16 2018-04-16 Intelligent cultivation apparatus TWI659192B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW107112924A TWI659192B (en) 2018-04-16 2018-04-16 Intelligent cultivation apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW107112924A TWI659192B (en) 2018-04-16 2018-04-16 Intelligent cultivation apparatus

Publications (2)

Publication Number Publication Date
TWI659192B true TWI659192B (en) 2019-05-11
TW201944029A TW201944029A (en) 2019-11-16

Family

ID=67348108

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107112924A TWI659192B (en) 2018-04-16 2018-04-16 Intelligent cultivation apparatus

Country Status (1)

Country Link
TW (1) TWI659192B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112715077A (en) * 2020-12-31 2021-04-30 广西壮族自治区农业科学院 Sugarcane tillering and thinning and planting management machine

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030187560A1 (en) * 1998-07-15 2003-10-02 Keller Russell J. Methods and apparatus for precision agriculture operations utilizing real time kinematic global positioning system systems
WO2012094116A1 (en) * 2011-01-07 2012-07-12 Siemens Mark C Automated machine for selective in situ manipulation of plants
WO2013096493A1 (en) * 2011-12-19 2013-06-27 Younis Saed G Remotely sensing and adapting irrigation system
CN205249868U (en) * 2015-12-03 2016-05-25 韩山师范学院 Intelligent farm of thing networking system of planting
TWM549505U (en) * 2017-06-28 2017-10-01 Guang-Guo Hu Smart gardener robot system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030187560A1 (en) * 1998-07-15 2003-10-02 Keller Russell J. Methods and apparatus for precision agriculture operations utilizing real time kinematic global positioning system systems
WO2012094116A1 (en) * 2011-01-07 2012-07-12 Siemens Mark C Automated machine for selective in situ manipulation of plants
WO2013096493A1 (en) * 2011-12-19 2013-06-27 Younis Saed G Remotely sensing and adapting irrigation system
CN205249868U (en) * 2015-12-03 2016-05-25 韩山师范学院 Intelligent farm of thing networking system of planting
TWM549505U (en) * 2017-06-28 2017-10-01 Guang-Guo Hu Smart gardener robot system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112715077A (en) * 2020-12-31 2021-04-30 广西壮族自治区农业科学院 Sugarcane tillering and thinning and planting management machine
CN112715077B (en) * 2020-12-31 2022-03-25 广西壮族自治区农业科学院 Sugarcane tillering and thinning and planting management machine

Also Published As

Publication number Publication date
TW201944029A (en) 2019-11-16

Similar Documents

Publication Publication Date Title
US11023726B2 (en) Automatic camera parameter adjustment on a plant treatment system
US10719709B2 (en) Augmented reality for plant stand management
Sujaritha et al. Weed detecting robot in sugarcane fields using fuzzy real time classifier
US10740610B2 (en) Methods, systems, and devices relating to shadow detection for real-time object identification
US10679056B2 (en) Augmented reality for plant stand management
CN100437629C (en) A method for automatic identification of field weeds
CN103336966B (en) A kind of weed images discrimination method being applied to agricultural intelligent machine
Vikram Agricultural Robot–A pesticide spraying device
CN114128532B (en) Intelligent pest monitoring and control system applied to greenhouse
WO2022038363A1 (en) Agricultural machine
CN108271765A (en) A kind of multi-functional pawl head monitoring environment robot and its plants identification method
TWI659192B (en) Intelligent cultivation apparatus
CN1628513A (en) Method for employing agricultural chemicals to target accurately
CN117933558A (en) Campus intelligent agricultural planting management method
Al-Sammarraie et al. Determining the efficiency of a smart spraying robot for crop protection using image processing technology.
KR102916396B1 (en) Weeding device and method for estimating location of plant meristems
US12536795B2 (en) Compensating for occlusions in a detection system of a farming machine
CN215379965U (en) Intelligent weeding machine
WO2020142822A1 (en) Device provided with a viewing and identification system installed on agricultural equipment
CN113418509A (en) Automatic target-aiming detection device and detection method for agriculture
AU2018250354B2 (en) Method and System for Extracting Shadows from an Image during Optical Based Selective Treatment of an Agricultural Field
CN111028233A (en) A method and device for identifying mechanical weeding in maize seedling stage based on machine vision
CN114463577B (en) Crop root system image generation method and device, crop health determination method and device
Thamaraiselvan et al. Lidar-based navigation rover for fields with smart pest sprayer using machine vision
Bhatt et al. Real-Time Machine Learning for Precision Agriculture: Targeted Weed Detection and Adaptive Agrochemical Application