• 沒有找到結果。

第五章 結論與未來研究方向

5.2 未來研究方向

在廢水監控系統上,尚有不足之處的是現場影像監控資訊的讀 回。廢水監測的測值回傳後,如果加上影像的佐證,會更具說明力。

但 3G 行動通訊技術,在資料傳輸頻寬上,目前尚無法應對影像資料 的回傳大量數據。我們都知道,影像資料如果要呈現如電影般的狀 態,必須在 1 秒內,連續放出 30 張圖像,在人體視覺上,才會成為 動畫。1 張圖像,如果解析度為 320*240,以點陣式 RGB 模式存放,

每一個像素以 3 個位元組來描述三原光,則其圖檔大小為

320*240*3=230400,約等於 0.23Mb。而 1 秒的動畫須要 30 張圖像,

所以還要 0.23*30=6.7Mb 。即便是以 15 張圖像來呈現,光是傳輸 1 秒的動畫,也要 3.3Mb 的資料傳輸量。然而,目前的 3G 行動通訊的 資料傳輸量約為 300k~2Mbps,顯然是不足的。但是將來行動通訊技 術再度提升時,如若可以滿足動畫傳輸的須求,就加入此影像監控功 能,才算完整的監控系統。

在未來的開發方向,也可將主控伺服器的監控系統,更換為網頁 型的監控方式。優點是可多人同時使用及獲取監控資訊,另一項優點 是可異地監控,不侷限於一地。而網頁型監控系統,還可以加上即時 警報的 E-mail 通知系統、簡訊通知系統,讓環境監察員,可以隨時 得到第一手資料。通常,工廠排放廢水,都會在晚上夜深人靜時,偷 偷的排放,即時的回饋系統,更顯出其重要性。

在 3G 行動通訊技術上的應用,還可用於遠距醫療照顧系統。現 代老齡人口比率,越來越高,年輕人都在工作應對國家的稅收,而老 年人的照護,就顯現出相對的薄弱。加上醫療體系的資源,日益吃重,

未來老年居家照護,會逐漸突顯其重要性。如果,可以將老年人的身 體機能監控資訊,隨時傳送至醫療中心,不僅可以提供日後醫療照護 的分析,還可以即時發報不正常的身體狀況,讓醫生與家人都可在第 一時間獲得通知。

參考文獻 參考文獻 參考文獻 參考文獻

[1]

行政院環保署

http://www.epa.gov.tw/children/download/water/

[2] 李根政、林岱瑾

http://trdc.kta.kh.edu.tw/ktaeec/water/jiyang/03.htm [3]行政院環境保護署

http://erarc.epa.gov.tw/230/201111141730/archive/wq.epa.g/WMD/2004/index.htm [4]泓格技術通訊電子報

http://www.icpdas.com/news/PACTECH/newspaper26.htm

[5]江昭皚、曾傳蘆、李仁貴、盧福明、張輊祥等人(民 92),GSM 簡訊技術應

用於田間資料收集之研究。

[6] 東名(2001 年),行動通訊情報站。臺北市:文魁資訊。

[7] 吳善同、林山霖、秦素霞、戴基峰、林育烽、胡志男等人(2005 年), 次

世代行動通訊技術發展藍圖。臺北市:經濟部技術處。

[8]

移動製造商論壇

http://www.mmfai.org/public/docs/lang/MMF_TTIDA_RBSFactPack.pdf [9] 王居尉(2009 年),行動通訊導論。臺北市:文魁資訊。

[10] 謝文雄、謝文川、吳志宏、陳昱仁(2007 年),行動與無線通訊實驗教學。

臺北市:教育部顧問室。

[11] 華南銀行-3G 行動電話發展史

http:// campaign.hncb.com.tw/intranet/monthly/mon004/00408.pdf

[12] 工業技術研究院 產業經濟與資訊服務中心(2001 年),行動通訊發展。臺

北市:文魁資訊。

[13] 范逸之(2001 年),Visual Basic 與分散式監控系統:使用 RS232/485 串列

通訊。臺北市:文魁資訊。

[14] 陳立元、范逸之、廖錦棋(2006 年),Visual Basic 2005 與自動化系統監

控-RS232 串列通訊篇。臺北市:文魁資訊。

[15] 廖文煇(2009 年),圖形監控實務。臺北市:全華圖書。

[16] 維基百科--類比訊號

http://zh.wikipedia.org/wiki/%E9%A1%9E%E6%AF%94%E8%A8%8A%E8%99%

9F

[17]

紘康科技股份有限公司--4-20mA 測量儀

http://www.hycontek.com/attachments/

[18] 王文義、宓哲民、陳文軒、陳文耀(2009 年),PLC 原理與應用實務(4

版)。臺北市:全華。

[19] 維基百科--可程式邏輯控制器

http://zh.wikipedia.org/wiki/%E5%8F%AF%E7%BC%96%E7%A8%8B%E5%BA%

8F%E6%8E%A7%E5%88%B6%E5%99%A8#.E5.AE.9A.E7.BE.A9.E8.88.87.E7.89

.B9.E6.80.A7

[21] 張世文(2012 年)。自行研發永宏展現台廠韌性。MET 機電整合,161,18。

[22] FATEK AUTOMATION CORP.

http://www.fatek.com/Taiwan/index.htm [23] 維基百科--Microsoft Visual Studio

http://zh.wikipedia.org/zh/Microsoft_Visual_Studio [24] Microsoft MSDN Visual Studio 簡介

http://msdn.microsoft.com/zh-tw/library/fx6bk1f4(v=vs.90) [25] 維基百科-- Microsoft SQL Server

http://zh.wikipedia.org/wiki/Microsoft_SQL_Server [26] 鼎盛資科

http://www.fstop.com.tw/products_04_02.htm [27] Microsoft MSDN SQL

http://msdn.microsoft.com/zh-tw/library/ms143506(v=sql.90).aspx [28] 柏眾網控

http://www.broadwin.com.tw/product/webaccess.htm

附錄 附錄 附錄 附錄 A

通訊定義表格

MODBUS Register Map v1.0 Made by Luis

MODBUS Communications Settings

Baud Rate 9600

Data Bits 8

Stop Bits 1

Parity None

Hardware Protocol RS-485 Standard

Software Protocol MODBUS RTU

Register Data Type Description

40001 unsigned integer 1秒鐘ON/OFF一次,可以判斷系統是否正常的旗標

40002 unsigned integer 系統時間:年

40003 unsigned integer 系統時間:月

40004 unsigned integer 系統時間:日

40005 unsigned integer 系統時間:時

40006 unsigned integer 系統時間:分

40007 unsigned integer 系統時間:秒

40011 unsigned integer DO system Alarm40011=1警報發生,40011=0警報結束

40012 unsigned integer BOD system Alarm40012=1警報發生,40012=0警報結束

40013 unsigned integer SS system Alarm40013=1警報發生,40013=0警報結束

40031 Floating DO測值 x.xx ~ xxxxxx

40033 Floating BOD測值 x.xx ~ xxxxxx

40035 Floating SS測值 x.xx ~ xxxxxx

附錄 附錄 附錄 附錄 B

MODBUS Exception Codes Error

Code Meaning Description

01 Illegal function

The function code received in the query is not an allowable action for the server (or slave). This may be because the function code is only applicable to newer devices, and was not implemented in the unit selected. It could also indicate that the server (or slave) is in the wrong state to process a request of this type, for example because it is unconfigured and is being asked to return register values.

02

Illegal data address

The data address received in the query is not an allowable address for the server (or slave). More specifically, the combination of reference number and transfer length is invalid. For a controller with 100 registers, a request with offset 96 and length 4 would succeed, a request with offset 96 and length 5 will generate exception 02.

03 Illegal data value

A value contained in the query data field is not an

allowable value for server (or slave).This indicates a fault in the structure of the remainder of a complex request, such as that the implied length is incorrect. It specifically does NOT mean that a data item submitted for storage in a register has a value outside the expectation of the application program, since the MODBUS protocol is unaware of the significance of any particular value of any particular register.

04

Slave device failure

An unrecoverable error occurred while the server (or slave) was attempting to perform the requested action.

05 Acknowled ge

Specialized use in conjunction with programming

commands.The server (or slave) has accepted the request

and is processing it,but a long duration of time will be

required to do so.This response is returned to prevent a

timeout error from occurring in the client (or master).The

client (or master) can next issue a Poll Program Complete

message to determine if processing is completed.

06 Slave device busy

Specialized use in conjunction with programming

commands.The server (or slave) is engaged in processing a long–duration program command.The client (or master) should retransmit the message later when the server (or slave) is free.

08 Memory parity error

Specialized use in conjunction with function codes 20 and 21 and reference type 6,to indicate that the extended file area failed to pass a consistency check. The server (or slave) attempted to read record file,but detected a parity error in the memory.The client (or master) can retry the request,but service may be required on the server (or slave) device.

0A

Gateway path

unavailable

Specialized use in conjunction with gateways,indicates that the gateway was unable to allocate an internal

communication path from the input port to the output port for processing the request.Usually means that the gateway is misconfigured or overloaded.

0B

Specialized use in conjunction with gateways, indicates that no response was obtained from the target device.Usually means that the device is not present on the network.

相關文件