TWI655902B - Method and system for managing information of fish tank - Google Patents

Method and system for managing information of fish tank Download PDF

Info

Publication number
TWI655902B
TWI655902B TW107104030A TW107104030A TWI655902B TW I655902 B TWI655902 B TW I655902B TW 107104030 A TW107104030 A TW 107104030A TW 107104030 A TW107104030 A TW 107104030A TW I655902 B TWI655902 B TW I655902B
Authority
TW
Taiwan
Prior art keywords
fish
action
breeding
value
smart
Prior art date
Application number
TW107104030A
Other languages
Chinese (zh)
Other versions
TW201934001A (en
Inventor
石佳弘
Original Assignee
國立屏東大學
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 國立屏東大學 filed Critical 國立屏東大學
Priority to TW107104030A priority Critical patent/TWI655902B/en
Application granted granted Critical
Publication of TWI655902B publication Critical patent/TWI655902B/en
Publication of TW201934001A publication Critical patent/TW201934001A/en

Links

Abstract

本發明提出一種智慧魚缸資訊管理系統,包括網路伺服器、感測器、養殖設備與控制器。控制器用以透過感測器取得養殖歷程,將養殖歷程傳送至網路伺服器。網路伺服器根據養殖歷程計算出對應至養殖設備的設備參數。控制器取得設備參數並根據設備參數控制對應的養殖設備。 The invention provides a smart fish tank information management system, which comprises a network server, a sensor, a breeding device and a controller. The controller is used to obtain the breeding process through the sensor and transfer the breeding process to the network server. The network server calculates the equipment parameters corresponding to the farming equipment according to the farming history. The controller takes the equipment parameters and controls the corresponding farming equipment according to the equipment parameters.

Description

智慧魚缸資訊管理系統與方法 Smart fish tank information management system and method

本發明是有關於一種養殖魚缸,且特別是有關於一種智慧魚缸資訊管理系統與方法。 The invention relates to a culture fish tank, and in particular to a smart fish tank information management system and method.

傳統養漁業者皆倚賴經驗,透過經驗法則來飼養,例如用肉眼看水的色澤來決定是否換水或打氣等等,此方法很容易因為經驗不足導致巨大的損失,即使水的色澤都一致也無法保證水中的PH值數據會一致。若有新生代青年要投入在養殖業時,培育上會有巨大的瓶頸,容易造成技術失傳。 Traditional fish farmers rely on experience and are raised by the rules of thumb. For example, if you look at the color of the water with the naked eye to decide whether to change water or gas, etc., this method is easy to cause huge losses due to lack of experience, even if the color of the water is consistent. Ensure that the pH data in the water will be consistent. If there are new generations of young people to invest in the aquaculture industry, there will be huge bottlenecks in the cultivation, which will easily lead to the loss of technology.

本發明的實施例提出一種智慧魚缸資訊管理系統,包括網路伺服器、感測器、養殖設備與控制器。控制器用以透過感測器取得養殖歷程,將養殖歷程傳送至網路伺服器。網路伺服器根據養殖歷程計算出對應至養殖設備的設備參數。控制器取得設備參數並根據設備參數控制對應的養殖設備。 Embodiments of the present invention provide a smart fish tank information management system including a network server, a sensor, a breeding device, and a controller. The controller is used to obtain the breeding process through the sensor and transfer the breeding process to the network server. The network server calculates the equipment parameters corresponding to the farming equipment according to the farming history. The controller takes the equipment parameters and controls the corresponding farming equipment according to the equipment parameters.

在一些實施例中,感測器包括水質檢測器、溫度計、光線感測器與影像擷取模組。養殖設備包括氣泵、馬達、過濾器、燈具、水質處理器、過濾系統與控溫系統。 In some embodiments, the sensor includes a water quality detector, a thermometer, a light sensor, and an image capture module. Farming equipment includes air pumps, motors, filters, lamps, water quality processors, filtration systems and temperature control systems.

在一些實施例中,控制器透過影像擷取模組在多個時間點取得多張影像,並偵測每一張影像中的觀賞魚。控制器計算每一張影像中觀賞魚的數目以取得魚數目,並計算這些魚數目的眾數以取得估測魚數目。 In some embodiments, the controller acquires multiple images at multiple points in time through the image capture module and detects the ornamental fish in each image. The controller calculates the number of aquarium fish in each image to obtain the number of fish, and calculates the number of these fish to obtain the estimated number of fish.

在一些實施例中,網路伺服器設定養殖周期與取樣周期,養殖週期大於取樣周期,根據感測器所偵測到的數值、取樣周期與養殖周期建立狀態集合S,根據設備參數建立動作集合A,根據估測魚數目建立獎勵集合R,建立第一動作價值函數q1(s,a)與第二動作價值函數q2(s,a),其中s S,a A。網路伺服器根據第一機率決定以下方程式(1)、(2)的其中之一以決定在目前的狀態s下所對應的動作a t ,並根據動作a t 決定設備參數。 In some embodiments, the network server sets the breeding period and the sampling period, and the breeding period is greater than the sampling period. The state set S is established according to the value detected by the sensor, the sampling period and the breeding period, and the action set is established according to the device parameters. A, establishing a reward set R according to the estimated number of fish, establishing a first action value function q 1 ( s, a ) and a second action value function q 2 ( s, a ), wherein s S , a A. The network server determines one of the following equations (1), (2) according to the first probability to determine the action a t corresponding to the current state s, and determines the device parameter according to the action a t .

a t =max a q 1(s,a)...(1) a t =max a q 1 ( s,a )...(1)

a t=max a q 2(s,a)...(2)。 a t =max a q 2 ( s,a )...(2).

在一些實施例中,控制器執行動作a t ,並計算出目前的獎勵r與狀態s',其中r R,s' S。網路伺服器以第二機率執行以下方程式(3)、(4)的其中之一。 In some embodiments, the controller performs action a t and calculates the current reward r and state s ' , where r R , s ' S. The web server performs one of the following equations (3), (4) with a second probability.

q2(s,a)← 其中αβγ為實數,N t (s,a 1)為在狀態s下選擇a 1的次數。 q 2 ( s,a )← Where α , β , and γ are real numbers, and N t ( s, a 1 ) is the number of times a 1 is selected under the state s.

在一些實施例中,若估測魚數目減少則控制器設定獎勵r為第一數值,若估測魚數目不變則控制器設定獎勵r為第二數值,若估測魚數目增加則控制器設定獎勵為第三數值,其中第三數值大於第二數值,並且第二數值大於第一數值。 In some embodiments, if the estimated number of fish is reduced, the controller sets the reward r to a first value, and if the estimated number of fish is constant, the controller sets the reward r to a second value, and if the estimated number of fish increases, the controller The set reward is a third value, wherein the third value is greater than the second value and the second value is greater than the first value.

以另外一個角度來說,本發明的實施例提出一種智慧魚缸資訊管理方法,用於智慧魚缸資訊管理系統,此智慧魚缸資訊管理系統包括多個感測器與多個養殖設備。智慧魚缸資訊管理方法包括:透過感測器取得養殖歷程;根據養殖歷程計算出對應至養殖設備的多個設備參數;以及根據設備參數控制對應的養殖設備。 In another aspect, an embodiment of the present invention provides a smart fish tank information management method for a smart fish tank information management system, the smart fish tank information management system comprising a plurality of sensors and a plurality of breeding equipment. The smart fish tank information management method includes: obtaining a breeding process through a sensor; calculating a plurality of equipment parameters corresponding to the breeding equipment according to the breeding history; and controlling the corresponding breeding equipment according to the equipment parameters.

根據上述的系統與方法,可以自動地決定設備參數,讓使用者可以更有效或更輕易的養殖觀賞魚。 According to the above system and method, the device parameters can be automatically determined, so that the user can culture the ornamental fish more effectively or more easily.

為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。 The above described features and advantages of the invention will be apparent from the following description.

100‧‧‧智慧魚缸資訊管理系統 100‧‧‧Smart Aquarium Information Management System

110‧‧‧魚缸 110‧‧‧fish tank

111‧‧‧感測器 111‧‧‧Sensor

112‧‧‧養殖設備 112‧‧‧ farming equipment

120‧‧‧控制器 120‧‧‧ Controller

130‧‧‧網路伺服器 130‧‧‧Web server

201~203‧‧‧步驟 201~203‧‧‧Steps

[圖1]是根據一實施例繪示智慧魚缸資訊管理系統的示意圖。 FIG. 1 is a schematic diagram showing a smart fish tank information management system according to an embodiment.

[圖2]是根據一實施例繪示智慧魚缸資訊管理方法的流程圖。 FIG. 2 is a flow chart showing a smart fish tank information management method according to an embodiment.

關於本文中所使用之『第一』、『第二』、...等,並非特別指次序或順位的意思,其僅為了區別以相同技術用語描述的元件或操作。 The terms "first", "second", "etc." used in this document are not intended to mean the order or the order, and are merely to distinguish between elements or operations described in the same technical terms.

圖1是根據一實施例繪示智慧魚缸資訊管理系統的示意圖。智慧魚缸資訊管理系統100包括了魚缸110、感測器111、養殖設備112、控制器120與網路伺服器130。感測器111可包括水質檢測器、溫度計、光線感測器與影像擷取模組等。養殖設備112可包括氣泵、馬達、過濾器、燈具、水質處理器、過濾系統與控溫系統等。然而,上述感測器111與養殖設備112僅為範例,本發明並不在此限,本發明也不限制感測器111與養殖設備112的數目。控制器120例如為中央處理器、微處理器、微控制器、數位信號處理器、特殊應用積體電路等任意合適的電路。 FIG. 1 is a schematic diagram showing a smart fish tank information management system according to an embodiment. The smart aquarium information management system 100 includes a fish tank 110, a sensor 111, a farming device 112, a controller 120, and a network server 130. The sensor 111 may include a water quality detector, a thermometer, a light sensor, an image capturing module, and the like. The breeding equipment 112 can include a gas pump, a motor, a filter, a luminaire, a water quality processor, a filtration system, a temperature control system, and the like. However, the sensor 111 and the breeding device 112 are merely exemplary, and the present invention is not limited thereto, and the present invention does not limit the number of the sensor 111 and the breeding device 112. The controller 120 is, for example, any suitable circuit such as a central processing unit, a microprocessor, a microcontroller, a digital signal processor, a special application integrated circuit, or the like.

感測器111所偵測到的數值集合起來可稱為養殖歷程,控制器120會取得養殖歷程,並且將養殖歷程傳送至網路伺服器130。在一些實施例中,養殖歷程也可包括魚的種類、魚的數目、魚缸110的大小等等。網路伺服器130會根據這些養殖歷程計算出對應至養殖設備112的設備參數,這些設備參數是用以控制養殖設備112。例如,控制參數可以是用以控制馬達的轉速、控制燈具的燈光強度、控制 溫度、以及控制過濾系統是否開啟等等,本發明並不在此限。控制器120可以從網路伺服器130取得這些設備參數並根據取得的設備參數來控制對應的養殖設備112。在一些實施例中,對於不同的觀賞魚、蝦也可以建立不同的養殖歷程與設備參數。如此一來,當使用者不熟悉魚的養殖時,便可以直接從網路伺服器130取得對應的設備參數。 The values detected by the sensor 111 are collectively referred to as a farming history, and the controller 120 obtains the breeding history and transmits the farming history to the web server 130. In some embodiments, the farming history may also include the type of fish, the number of fish, the size of the aquarium 110, and the like. The network server 130 calculates device parameters corresponding to the breeding equipment 112 based on these farming schedules, which are used to control the farming equipment 112. For example, the control parameters can be used to control the speed of the motor, control the light intensity of the luminaire, and control The temperature, as well as controlling whether the filtration system is turned on, etc., are not limited thereto. The controller 120 can retrieve these device parameters from the network server 130 and control the corresponding breeding device 112 based on the acquired device parameters. In some embodiments, different culture courses and equipment parameters can be established for different ornamental fish and shrimp. In this way, when the user is not familiar with the culture of the fish, the corresponding device parameters can be obtained directly from the network server 130.

在一些實施例中,網路伺服器130也可以提供網路服務,使用者可以透過個人電腦上的軟體、手機上的應用程式、或是網頁來使用上述的網路服務,藉此可以查看養殖歷程與設備參數,甚至控制設備參數。在一些實施例中,根據網路伺服器130所收集的資料,也可以建立專屬的生產履歷,包含種類、特徵、生命狀態等等,創造出獨特品牌,避免來自他國的品種魚目混珠。 In some embodiments, the network server 130 can also provide a network service, and the user can use the network service through the software on the personal computer, the application on the mobile phone, or the webpage, thereby viewing the culture. History and equipment parameters, and even control equipment parameters. In some embodiments, based on the data collected by the web server 130, it is also possible to create a unique production history, including categories, characteristics, life status, etc., to create a unique brand, avoiding the variety of fish from other countries.

以下將說明如何計算設備參數,以下說明的資訊管理方法可以由網路伺服器130所執行,但在一些實施例中也可以由控制器120所執行,本發明並不在此限。首先,必須先設定養殖周期與取樣周期,養殖週期例如是三天、一周、一個月或其他任意的時間,取樣周期小於養殖周期,可設定為3小時、6小時等等。根據感測器111所偵測到的數值、養殖周期與取樣周期可建立一個狀態集合S,此狀態集合S包含了許多個不同的狀態。舉例來說,在不同的溫度、不同的水質、或不同亮度下都算是不同的狀態,另外,每隔一個取樣周期都算是不同的狀態,而每隔一個養殖周期循環一次,例如一周內每6個小時都屬於不同的狀態,但下一周 的第一個6小時與上一周的第一個6小時則可屬於同一個狀態。在一些實施例中,由於可能的狀態數目太多,因此可先蒐集一些數據以後,執行k均值(k-mean)演算法,將這些感測器111所偵測到的數值與時間做分類,所有類別便組成上述的狀態集合S。 The following describes how to calculate device parameters. The information management method described below can be performed by the network server 130, but can also be performed by the controller 120 in some embodiments, and the present invention is not limited thereto. First, the culture cycle and the sampling cycle must be set first. The culture cycle is, for example, three days, one week, one month, or any other time. The sampling cycle is shorter than the culture cycle, and can be set to 3 hours, 6 hours, and the like. A set of states S can be established based on the values detected by the sensor 111, the breeding cycle, and the sampling period. This set of states S contains a number of different states. For example, different temperatures, different water quality, or different brightness are considered different states. In addition, every other sampling period is considered to be a different state, and every other culture cycle is repeated once, for example, every 6 weeks. Hours are in different states, but next week The first 6 hours and the first 6 hours of the previous week can belong to the same state. In some embodiments, since the number of possible states is too large, after collecting some data, a k-mean algorithm is performed to classify the values detected by the sensors 111 with time. All categories form the above-mentioned set of states S.

接下來,根據設備參數建立動作集合A,此動作集合包含了許多動作,每一個動作都有對應的設備參數以控制對應的養殖設備112。例如,每一個動作可包含溫度、光線、馬達的控制參數。 Next, an action set A is created based on the device parameters. This action set contains a number of actions, each of which has corresponding device parameters to control the corresponding breeding device 112. For example, each action can include temperature, light, and motor control parameters.

此外,必須建立獎勵集合R。在一些實施例中,魚的存活與否可用來決定獎勵,但由於要追蹤每條魚的狀態不容易,因此可統計所有魚的數目。具體來說,可先透過影像擷取模組在多個時間點取得多張影像,並偵測每一張影像中的觀賞魚,此偵測的步驟可採用任意的物件偵測演算法,例如採用類神經網路或支持向量機來執行偵測,本發明並不在此限。在偵測以後,可計算每一張影像中觀賞魚的數目(稱為魚數目),在收集多張影像以後可取得多個魚數目,接著計算這些魚數目的眾數(mode)以作為估測魚數目。在經過每一個取樣周期以後,可判斷此估測魚數目是增加、不變、或減少。如果估測魚數目減少則設定獎勵r R為第一數值,如果估測魚數目不變則設定獎勵r為第二數值,如果估測魚數目增加則設定獎勵為第三數值,其中第三數值大於第二數值,並且第二數值大於第一數值。換言之,上述的獎勵集合R包含了第一數值、第二數值與第三數值。例如,第一數值 可為-10,第二數值可為1,第三數值可為10,這是因為養殖的目的是盡量讓魚存活(數目不變),因此隨著時間增加應該給予大於0的獎勵,而如果有魚死去(數目減少),則應該給予小於0的獎勵,在少數的情況下魚的數目會增加(繁殖),因此也可以給予大於0的獎勵。 In addition, a reward set R must be established. In some embodiments, the survival of the fish can be used to determine the reward, but since it is not easy to track the status of each fish, the number of all fish can be counted. Specifically, the image capturing module can first acquire multiple images at multiple time points and detect the ornamental fish in each image. The detection step can adopt any object detection algorithm, for example, The neural network or the support vector machine performs the detection, and the present invention is not limited thereto. After detection, the number of ornamental fish in each image (called the number of fish) can be calculated. After collecting multiple images, multiple fish numbers can be obtained, and then the mode of these fish numbers is calculated as an estimate. Number of fish. After each sampling period, it can be judged that the estimated fish number is increased, unchanged, or decreased. If the estimated number of fish is reduced, set a reward r R is the first value. If the estimated number of fish is constant, the reward r is set to a second value. If the estimated number of fish is increased, the reward is set to a third value, wherein the third value is greater than the second value, and the second value is greater than The first value. In other words, the reward set R described above includes the first value, the second value, and the third value. For example, the first value can be -10, the second value can be 1, and the third value can be 10, because the purpose of breeding is to try to keep the fish alive (the number is the same), so it should be given more than 0 as time increases. The reward, and if there is a fish dying (the number is reduced), a reward of less than 0 should be given, and in a few cases the number of fish will increase (reproduction), so a reward greater than 0 can also be given.

接下來,建立第一動作價值函數q1(s,a)與第二動作價值函數q2(s,a),其中s S,a A。在初始化的階段可以設定所有狀態s與動作a下的第一動作價值函數q1(s,a)與第二動作價值函數q2(s,a)都是隨機決定的(或都為一常數,例如0),這些函數是用來決定出在目前的狀態s下應該採用哪一個動作a。特別的是,在此實施例中是以一個第一機率(例如50%)來執行以下方程式(1)、(2)的其中之一以決定在目前的狀態s下所對應的動作a t Next, a first action value function q 1 ( s, a ) and a second action value function q 2 ( s, a ) are established, wherein s S , a A. In the initialization phase, it is possible to set all states s and the first action value function q 1 ( s, a ) and the second action value function q 2 ( s, a ) under action a are randomly determined (or both are constants) For example, 0), these functions are used to determine which action a should be used in the current state s. In particular, in this embodiment, one of the following equations (1), (2) is executed at a first probability (e.g., 50%) to determine the action a t corresponding to the current state s.

a t =max a q 1(s,a)...(1) a t =max a q 1 ( s,a )...(1)

a t=max a q 2(s,a)...(2)。 a t =max a q 2 ( s,a )...(2).

在決定出動作a t 以後便可以決定出設備參數的數值。因此,此實施例的關鍵在於如何決定第一動作價值函數q1(s,a)與第二動作價值函數q2(s,a)。在此實施例中,是透過實驗的方式來逐漸更新動作價值函數。具體來說,控制器120可先執行上述的動作a t ,透過感測器111所偵測的數值來計算出目前的獎勵r與狀態s',其中s' S。接下來,以一第二機率(例如50%)執行以下方程式(3)、(4)的其中之一。 After determining the action a t , the value of the device parameter can be determined. Therefore, the key to this embodiment is how to determine the first action value function q 1 ( s, a ) and the second action value function q 2 ( s, a ). In this embodiment, the action value function is gradually updated through an experiment. Specifically, the controller 120 may first perform the above action a t , and calculate the current reward r and the state s ' by the value detected by the sensor 111 , where s ' S. Next, one of the following equations (3), (4) is performed at a second probability (for example, 50%).

q 1(s,a))...(3) q 1 ( s,a ))...(3)

αβγ為實數,N t (s,a 1)為在狀態s下選擇動作a 1的次數。實數α表示更新的比例,獎勵r是用以更新動作價值函數。方程式(3)中,雖然更新的是第一動作價值函數q1(s,a),但也會參照第二動作價值函數q2(s,a)的結果,類似地,雖然在方程式(4)中更新的是第二動作價值函數q2(s,a),但也會參照第一動作價值函數q1(s,a)的結果,這是為了避免其中一個動作價值函數落入了區域最佳解(local optimal)。另外,N t (s,a 1)是用以採用一些不常採用過的動作a1,當在狀態s下採用某一個動作很少次時,上述的方程式(3)、(4)會增加採用此動作的機會。透過上述方程式(3)、(4)便可以逐漸地更新動作價值函數,更新以後便可以在下一個取樣周期重新執行上述的方程式(1)、(2),在實驗數據越多時,養殖的效果會更好。 α , β , and γ are real numbers, and N t ( s, a 1 ) is the number of times the action a 1 is selected in the state s. The real number α indicates the updated ratio, and the reward r is used to update the action value function. Equation (3), although the updating operation of the first cost function q 1 (s, a), but also refers to the second operation function result value q 2 (s, a), and similarly, although in Equation (4 The second action value function q 2 ( s, a ) is updated, but also refers to the result of the first action value function q 1 ( s, a ), in order to avoid one of the action value functions falling into the area The best solution (local optimal). In addition, N t ( s, a 1 ) is used to adopt some of the infrequently used actions a 1 . When a certain action is used in the state s, the above equations (3) and (4) are increased. The opportunity to take this action. Through the above equations (3) and (4), the action value function can be gradually updated. After the update, the above equations (1) and (2) can be re-executed in the next sampling cycle. The more experimental data, the effect of breeding. will be better.

圖2是根據一實施例繪示智慧魚缸資訊管理方法的流程圖。請參照圖2,在步驟201中,透過感測器取得養殖歷程。在步驟202中,根據養殖歷程計算出對應至養殖設備的多個設備參數。在步驟203中,根據設備參數控制對應的養殖設備。然而,圖2中各步驟已詳細說明如上,在此便不再贅述。值得注意的是,圖2中各步驟可以實作為多個程式碼或是電路,本發明並不在此限。此外,圖2的方法可 以搭配以上實施例使用,也可以單獨使用。換言之,圖2的各步驟之間也可以加入其他的步驟。 2 is a flow chart showing a smart fish tank information management method according to an embodiment. Referring to FIG. 2, in step 201, the breeding process is obtained through the sensor. In step 202, a plurality of equipment parameters corresponding to the farming equipment are calculated based on the farming history. In step 203, the corresponding breeding equipment is controlled according to the equipment parameters. However, the steps in FIG. 2 have been described in detail above, and will not be described again here. It should be noted that the steps in FIG. 2 can be implemented as multiple code codes or circuits, and the present invention is not limited thereto. In addition, the method of Figure 2 can Used in combination with the above embodiments, it can also be used alone. In other words, other steps can be added between the steps of FIG. 2.

以另外一個角度來說,本發明也提出了一電腦程式產品,此產品可由任意的程式語言及/或平台所撰寫,當此電腦程式產品被載入至電腦系統並執行時,可執行上述的方法。 In another aspect, the present invention also proposes a computer program product, which can be written by any programming language and/or platform. When the computer program product is loaded into a computer system and executed, the above-mentioned method.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。 Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention, and any one of ordinary skill in the art can make some changes and refinements without departing from the spirit and scope of the present invention. The scope of the invention is defined by the scope of the appended claims.

Claims (7)

一種智慧魚缸資訊管理系統,包括:一網路伺服器;多個感測器;多個養殖設備;以及一控制器,用以透過該些感測器取得養殖歷程,將該養殖歷程傳送至該網路伺服器,其中該網路伺服器根據該養殖歷程計算出對應至該些養殖設備的多個設備參數,其中該控制器取得該些設備參數並根據該些設備參數控制對應的該些養殖設備,其中該些感測器包括一影像擷取模組,該控制器透過該影像擷取模組在多個時間點取得多張影像,並偵測每一該些影像中的多隻觀賞魚,其中該控制器計算每一該些影像中該些觀賞魚的數目以取得一魚數目,其中該控制器計算該些魚數目的一眾數以取得一估測魚數目,其中該網路伺服器設定一養殖周期與一取樣周期,該養殖週期大於該取樣周期,根據該些感測器所偵測到的數值、該取樣周期與該養殖周期建立一狀態集合S,根據該些設備參數建立一動作集合A,根據該估測魚數目建立一獎勵集合R,建立一第一動作價值函數q1(s,a)與一第二動 作價值函數q2(s,a),其中s S,a A,該網路伺服器根據一第一機率決定以下方程式(1)、(2)的其中之一以決定在目前的狀態s下所對應的動作a t ,並根據該動作a t 決定該些設備參數:a t =max a q 1(s,a)...(1) a t=max a q 2(s,a)...(2)。 A smart fish tank information management system includes: a network server; a plurality of sensors; a plurality of breeding equipment; and a controller for obtaining a breeding process through the sensors, and transmitting the breeding process to the a network server, wherein the network server calculates a plurality of device parameters corresponding to the breeding equipment according to the breeding history, wherein the controller obtains the device parameters and controls the corresponding breeding according to the device parameters The device includes an image capturing module, and the controller obtains a plurality of images at multiple time points through the image capturing module, and detects a plurality of ornamental fish in each of the images. The controller calculates the number of the ornamental fish in each of the images to obtain a fish number, wherein the controller calculates a majority of the number of fish to obtain an estimated number of fish, wherein the network server setting a culture cycle and a sampling cycle, the culture cycle being greater than the sampling cycle, establishing a state set S according to the values detected by the sensors, the sampling cycle and the breeding cycle, An action set A is established according to the device parameters, and a reward set R is established according to the estimated fish number, and a first action value function q 1 ( s , a ) and a second action value function q 2 ( s , a are established. ), where s S, a A. The network server determines one of the following equations (1) and (2) according to a first probability to determine an action a t corresponding to the current state s, and determines the according to the action a t Equipment parameters: a t =max a q 1 ( s , a )...(1) a t =max a q 2 ( s , a ) (2). 如申請專利範圍第1項所述之智慧魚缸資訊管理系統,其中該些感測器還包括水質檢測器、溫度計與光線感測器,其中該些養殖設備包括氣泵、馬達、過濾器、燈具、水質處理器、過濾系統與控溫系統。 The smart fish tank information management system according to claim 1, wherein the sensors further comprise a water quality detector, a thermometer and a light sensor, wherein the breeding equipment comprises a gas pump, a motor, a filter, a lamp, Water quality processor, filtration system and temperature control system. 如申請專利範圍第1項所述之智慧魚缸資訊管理系統,其中該控制器執行該動作a t ,並計算出目前的獎勵r與狀態s',其中r R,s' S,該網路伺服器以一第二機率執行以下方程式(3)、(4)的其中之一: ,其中α、β、γ為實數,N t (s,a 1)為在該狀態s下選擇 動作a 1的次數。 The smart aquarium information management system according to claim 1, wherein the controller performs the action a t and calculates a current reward r and a state s ' , wherein r R,s ' S, the network server performs one of the following equations (3), (4) at a second probability: Where α, β, γ are real numbers, and N t ( s , a 1 ) is the number of times the action a 1 is selected in this state s. 如申請專利範圍第3項所述之智慧魚缸資訊管理系統,其中若該估測魚數目減少則該控制器設定該獎勵r為一第一數值,若該估測魚數目不變則該控制器設定該獎勵r為一第二數值,若該估測魚數目增加則該控制器設定該獎勵r為一第三數值,其中該第三數值大於該第二數值,並且該第二數值大於該第一數值。 The smart aquarium information management system according to claim 3, wherein if the estimated number of fish is reduced, the controller sets the reward r to be a first value, and if the estimated fish number does not change, the controller Setting the reward r as a second value, if the estimated number of fish increases, the controller sets the reward r to a third value, wherein the third value is greater than the second value, and the second value is greater than the first A value. 一種智慧魚缸資訊管理方法,用於一智慧魚缸資訊管理系統,該智慧魚缸資訊管理系統包括多個感測器與多個養殖設備,該些感測器包括影像擷取模組,該智慧魚缸資訊管理方法包括:透過該些感測器取得養殖歷程;根據該養殖歷程計算出對應至該些養殖設備的多個設備參數;根據該些設備參數控制對應的該些養殖設備;透過該影像擷取模組在多個時間點取得多張影像,並偵測每一該些影像中的多隻觀賞魚;計算每一該些影像中該些觀賞魚的數目以取得一魚數目;計算該些魚數目的一眾數以取得一估測魚數目;設定一養殖周期與一取樣周期,其中該養殖週期大於該取樣周期; 根據該些感測器所偵測到的數值、該取樣周期與該養殖周期建立一狀態集合S,根據該些設備參數建立一動作集合A,根據該估測魚數目建立一獎勵集合R,建立一第一動作價值函數q1(s,a)與一第二動作價值函數q2(s,a),其中s S,a A;以及根據一第一機率決定以下方程式(1)、(2)的其中之一以決定在目前的狀態s下所對應的動作a t ,並根據該動作a t 決定該些設備參數:a t =max a q 1(s,a)...(1) a t=max a q 2(s,a)...(2)。 A smart fish tank information management method for a smart fish tank information management system, the smart fish tank information management system comprises a plurality of sensors and a plurality of breeding equipment, the sensors comprising an image capturing module, the smart fish tank information The management method comprises: obtaining a breeding process through the sensors; calculating a plurality of equipment parameters corresponding to the breeding equipment according to the breeding history; controlling the corresponding breeding equipment according to the equipment parameters; capturing the image through the image The module acquires multiple images at multiple time points and detects a plurality of ornamental fish in each of the images; calculating the number of the ornamental fish in each of the images to obtain a fish number; calculating the number of the fish a population to obtain an estimated number of fish; a culture cycle and a sampling cycle, wherein the culture cycle is greater than the sampling cycle; based on the values detected by the sensors, the sampling cycle and the breeding cycle a state set S, establishing an action set A according to the device parameters, establishing a reward set R according to the estimated fish number, and establishing a first action value letter a number q 1 ( s , a ) and a second action value function q 2 ( s , a ), where s S, a A; and determining one of the following equations (1), (2) according to a first probability to determine an action a t corresponding to the current state s, and determining the device parameters according to the action a t : a t = max a q 1 ( s , a ) (1) a t =max a q 2 ( s , a ) (2). 如申請專利範圍第5項所述之智慧魚缸資訊管理方法,其中該些感測器還包括水質檢測器、溫度計與光線感測器,該些養殖設備包括氣泵、馬達、過濾器、燈具、水質處理器、過濾系統與控溫系統。 The smart fish tank information management method according to claim 5, wherein the sensors further comprise a water quality detector, a thermometer and a light sensor, and the breeding equipment comprises a gas pump, a motor, a filter, a lamp, and a water quality. Processor, filtration system and temperature control system. 如申請專利範圍第5項所述之智慧魚缸資訊管理方法,更包括:執行該動作a t ,並計算出目前的獎勵r與狀態s',其中r R,s' S`;以一第二機率執行以下方程式(3)、(4)的其中之一: ,其中α、β、γ為實數,N t (s,a 1)為在該狀態s下選擇動作a 1的次數。 For example, the smart fish tank information management method described in claim 5 of the patent application further includes: performing the action a t and calculating the current reward r and the state s ' , wherein r R,s ' S`; performs one of the following equations (3), (4) with a second probability: Where α, β, γ are real numbers, and N t ( s , a 1 ) is the number of times the action a 1 is selected in this state s.
TW107104030A 2018-02-05 2018-02-05 Method and system for managing information of fish tank TWI655902B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW107104030A TWI655902B (en) 2018-02-05 2018-02-05 Method and system for managing information of fish tank

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW107104030A TWI655902B (en) 2018-02-05 2018-02-05 Method and system for managing information of fish tank

Publications (2)

Publication Number Publication Date
TWI655902B true TWI655902B (en) 2019-04-11
TW201934001A TW201934001A (en) 2019-09-01

Family

ID=66995896

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107104030A TWI655902B (en) 2018-02-05 2018-02-05 Method and system for managing information of fish tank

Country Status (1)

Country Link
TW (1) TWI655902B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201016129A (en) * 2008-10-20 2010-05-01 Ind Tech Res Inst System and method for monitoring and controllling a quality of aquatic water and integrated water quality analyzer thereof
TW201431486A (en) * 2013-02-06 2014-08-16 Univ Nat Kaohsiung Applied Sci Aquaculture system
TWM554703U (en) * 2017-07-17 2018-02-01 正修學校財團法人正修科技大學 Smart fish farming system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201016129A (en) * 2008-10-20 2010-05-01 Ind Tech Res Inst System and method for monitoring and controllling a quality of aquatic water and integrated water quality analyzer thereof
TW201431486A (en) * 2013-02-06 2014-08-16 Univ Nat Kaohsiung Applied Sci Aquaculture system
TWM554703U (en) * 2017-07-17 2018-02-01 正修學校財團法人正修科技大學 Smart fish farming system

Also Published As

Publication number Publication date
TW201934001A (en) 2019-09-01

Similar Documents

Publication Publication Date Title
An et al. Application of computer vision in fish intelligent feeding system—A review
CN108012389B (en) Light adjusting method, terminal device and computer readable storage medium
Descamps et al. An automatic counter for aerial images of aggregations of large birds
US11399520B2 (en) System and method for smart aquaculture
CN108959505A (en) A kind of method and terminal device of management caching picture
CN107949274A (en) Habitat connectivity and control
Tang et al. An improved YOLOv3 algorithm to detect molting in swimming crabs against a complex background
WO2016201963A1 (en) Application pushing method and device
JP7434537B2 (en) Bidirectional training of machine learning models for tissue segmentation
Duteil et al. European sea bass show behavioural resilience to near-future ocean acidification
CN108074236A (en) Irrigating plant based reminding method, device, equipment and storage medium
Huang et al. The prototype of a smart underwater surveillance system for shrimp farming
Veen et al. anyFish: an open-source software to generate animated fish models for behavioural studies
CN110826371A (en) Animal identification method, device, medium and electronic equipment
CN110084275A (en) A kind of choosing method and device of training sample
CN110287767A (en) Can attack protection biopsy method, device, computer equipment and storage medium
CN113837316A (en) Method, device, equipment and medium for detecting abnormal area based on agricultural products
CN113421192A (en) Training method of object statistical model, and statistical method and device of target object
TWI655902B (en) Method and system for managing information of fish tank
CN115859122A (en) Data identification method, automatic continuous learning model, device and equipment
CN112150498A (en) Method and device for determining posture information, storage medium and electronic device
WO2004021282A1 (en) Animal behavior analysis method, animal behavior analysis system, animal behavior analysis program, and computer-readable recorded medium on which the program is recorded
Ranjan et al. MortCam: An Artificial Intelligence-aided fish mortality detection and alert system for recirculating aquaculture
CN109359675A (en) Image processing method and equipment
CN111914792A (en) Video monitoring and processing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees