200933358 九、發明說明: 【發明所屬之技術領域】 本發明係有關一種污水處理系統的網際監控系統及方 法,尤指一種可遠端擷取污水處理系統的感測及驅動訊 號,並做有效返端監控污水處理狀況之系統及方法。 【先前技術】 由於人類的傲慢與無知’長期來地球默默地承受人們 ❹的污染,隨著生活環境快速惡化及人民生活品質要求的覺 醒,政府對環境保護的相關措施刻不容緩。事業廢水及生 活污水向來是環境污染的大宗,相關防制技術的提升及普 及對環境保護有指標性的意義。 都會區大樓污水處理系統之管理與維護,多委由環境 工程股份有限公司處理。現存之污水處理系統的處理設備 多為小型污水處理設施,未達駐場人員規模,多以定期巡 ❹—及故障叫修方式處理,然而,當大樓警衛通知處理設備 故障時,巧水處理廠之污水早已污染地下室,工程人員到 昜處理時’通常要耗費數小時以上才能處理完妥,在這過 程中除造成環境污染且易滋生傳染病之外,也造成公司人 力成本提两,直接影響到社區大眾生活環境品質及支出負 擔。 、 由疋本發明提出多個大樓污水處理系統的網際監控 方法及系統的研製,本發明的監控模組可附加在現有的污 200933358 水處理系統上,增加其遠端網路監控的功能,以方便對污 水處理全程的監看,有事故時立即處理,不用透過大樓警 衛的叫修。 【發明内容】 本發明之第一目的,在於提供一種可遠端監控污水處 理系統運作的系統。其基本技術特徵,係包括有至少一嵌 入式控制n,至少-資料_取模組;複數個污水處理系統 ❹的感測器,該複數個感測器經由該資料擷取模組而與該嵌 入式控制器連通,讓該嵌入式控制器可以讀入該複數個感 測器之感測訊號;複數個污水處理系統的驅動器,該複數 個驅動器經由該資料擷取模組而與該嵌入式控制器連通, 讓该嵌入式控制器可以讀入該複數個驅動器之驅動訊號, 以量測該複數個驅動器是否運轉中,且讓該嵌入式控制器 也可驅動系統的所有驅動器;及一中央監控電腦,該嵌入 ❹式控制器可以經由網際網路連上該中央監控電腦,傳送污 水處理系統的感測及驅動訊號給中央監控電腦,並接受中 央監控電腦的指令。 本發明之第二目的,在於提供一種可遠端監控污水處 理系統運作的方法。其基本技術特徵,包括有··提供有至 少一嵌入式控制器、至少一資料掘取模組、複數個污水處 理系統的感測器、複數個污水處理系統的驅動器及一中央 監控電腦,該複數個感測器經由該資料擷取模組而與該嵌 200933358 入式控制器連通,該複數個驅動器經由該資料擷取模組而 與該嵌入式控制器連通;以該嵌入式控制器讀入該複數個 感測器之感測訊號,以該嵌入式控制器讀入該複數個驅動 器之驅動訊號,以量測該複數個驅動器是否運轉中;且讓 該嵌入式控制器也可驅動該污水處理系統的所有驅動器; 及該嵌入式控制器經由網際網路連上該中央監控電腦,傳 送污水處理系統的感測及驅動訊號給中央監控電腦,並接 ❹受中央監控電腦的指令。 【實施方式】 壹·本發明之技術概要及特點 1 ·污水處理系統 事業廢水及生活污水的處理大致如圖一及圖二所示, 污水進流先經過攔污柵、沈砂池等物理處理設施去除水中 較大懸浮微粒、砂礫、雜物等,再進入調勻池調勻污水水 〇質並調節水量,以提高處理效率。調勻池泵出之污水引入 生物處理單元,於生物旋轉盤或接觸氧化池中曝氣,輸氧 進入水中以供微生物繁殖生長,並附著於接觸濾材形成生 物膜’藉微生物吸收分解廢水中有機物質,有效去除污水 中之生化需氧量(Biochemical Oxygen Demand,B0D5)及 化學需氧量(Chemical Oxygen Demand, COD)。經生物處 理後的污水,進入化學處理單元中利用混凝劑、助凝劑等, 進行混凝、膠凝,使污水中懸浮微粒(Suspended Sol id,SS) 200933358 形成較大膠羽增加沈澱效率,藉沈澱方式去除之。經妥善 f理後符合國家放流水標準之放流水經水溝排走。各處理 單元產生之污泥,經污泥濃縮池濃縮、脫水機脫水後之污 泥餅運送衛生掩埋場掩埋或再利用製磚原料。 2.本發明之污水處理系統的控制 (1)控制的重點: 放流水質標準: '~~ 回收水質標準: COD < 100mg/L 氫離子濃度指數(pH) 6.8〜8 5 BOD < 30mg/L 生化需氧量(B0D5) < 10 rag/L SS < 30mg/L 大腸菌類 不能檢出 油脂 < 10mg/L 臭味及外觀 無不舒適 PH: 6~9 色度 <40 大腸菌類 < 2000 CFU/lOOmL 餘氯 介於〇. 5 ~ 1 . 5 mg/L之間 就自動控制的層面來說,污水處理系統的控制,其感 ❹測為污水處理池的水位量測(浮球)、水質量測、流量量測、 及餘氯量測,驅動器為開關各式的泵之驅動器、開關鼓風 機之驅動器、開關加藥機之驅動器等,以控制各個污水處 理池的水位’讓水質達到國家制定的標準如下表。 目前使用中的控制系統,主要在控制各污水處理池的 水位,其他有諸多配合使用的機具設備都是獨立操作的, 如紫外線滅菌機、活性碳吸附塔、污泥脫水機、加藥機、 攪拌機、空氣除臭塔等。 (2)分散式控制: 本發明監控器的設計著重在採用核心軟體技術整合市 8 200933358 面上的硬體單心以構成監控系统。軟體的設 立的架構,以方便移植到其他硬體μ %體甲 ,如此可以擁有4士構 的彈性,可隨著硬體的進步輕易升級。 ’、.、"稱 本發明監控|§有兩部份,一部份是置於 理系統的嵌入式控制器(連同資料擷 t樓/可水處 供耻广另一部份是 置於環境工程股份有限公司的中央監控電腦(見圖三 (3)嵌入式控制器的設計 — ❹ Μ’讓其可以將大樓污水處理系統的所有感測及驅 動訊號帶入敌入式控制器,讓其可以讀入系統所有感測及 ,動的訊號’如各污水處理池的水位、流量計上顯示的流 置、餘氯债測器的測量值,各栗、鼓風機及加藥機是否運 轉中等,另外讓礙入式控制器也可驅動系統的所有驅動 器’如開關各栗及鼓風機、驅動加藥機等。再來,讓嵌入 式控制器可以經由網際網路連上中央監控電腦,傳送污水 ©處理系統的感測及驅動訊號給中央監控電腦並接受中央 監控電腦的指令。 、 *嵌入式控制器的感測與驅動,是經由連結遠端資料| 取模組而達成;受控系統的感測及驅動訊號,先直接連类 資料擷取模組’而資料擷取模組與嵌人式控制器的連與 /是透過TCP/IP内部網路(Intranet),若是只有用一個養 斗擷取模組,可用跳線的網路線直接連接。若是 為輸出入點數多或是感測及驅動的位 置分散,必須使用 200933358 的資料操取模組時,則必須加用集線器。嵌入式 7器與中央監控電腦的連結則料部網路(加⑽⑴。 外部網路資料的傳误, 针的得送’由於必須穿透大樓及公司的防火 牆,所以採用http協定。 圖四所T巾央&控電腦採用—般的伺服器電腦, -九Tomcat網頁伺服器(它同時也是Servlet/Jsp容器) 及MySQL身料庫飼服器,中央監控電腦上的控制程式主要 ❹的有兩部份,一部份是與多個嵌入式控制器連線的資料傳 輸伺服器程式,接受各嵌入式控制器的連線要求,將各嵌 入式控制器傳來的感測驅動訊號資料存人資料庫。污水處 理系統有任何緊急狀況,也是由嵌入式控制器傳給資料傳 輸伺服器程式,它-方面將訊息存入資料庫,一方面發行 動電話簡訊給負責監控的人員。 中央監控電腦另一部份的控制程式是互動網頁 ❹Servlet程式,它提供監控訊息的互動網頁讓授權的使 用者,可以隨時隨地上網了解各污水處理系統的即時狀 況。若要驅動某一污水處理系統的驅動器,如啟閉某個泵, 可在網頁上applet程式界面發出控制指令,控制指令藉由 applet-servlet 溝通’傳回 servlet 程式,Servlet 程式 將其記錄在資料庫。並於下次對應的嵌入式控制器連接中 央監控電腦時,將控制指令傳回嵌入式控制器執行,執行 結果再回報給中央監控電腦。對於污水處理系統的即時監 200933358 看,互動網頁的即時自動更新效果比較不好,故以applet 程式為之。 嵌入式控制器使用污水處理系統大樓的網路,往往無 法擁有固定網址(IP),一般是用内部網路動態配置的網 址,由於無法事先知道各個嵌入式控制器的網址,所以本 發明中嵌入式控制器與中央監控電腦的連絡,都是由嵌入 式控制器主動的,嵌入式控制器通報感測資料時,會帶回 φ中央監控電腦的控制命令。即使在嵌入式控制器沒有新感 測資料通報時,它也會定時回報。 (4)硬體中立 嵌入式系統上的軟硬體資源有限,所以其開發過程往 往不是在嵌入式系統(target)上直接進行,而是在另一台 電腦(host)上進行,程式撰寫完後灌入測試板上測試, 有錯的話再於host上修改,再灌入測試板測試,如此周而 ❹復始,直到沒有錯誤。在一般的情況下,由於target與host 的中央處理單元不同,host上的程式必須先用 cross-compiler編譯成target可以執行的程式碼,再灌入 target執行,讓整個開發過程更加煩複。 本發明的嵌入式系統軟體以Java語言寫成,利用Java 語言跨平台的特性,target跟host都是執行Java的位元碼 (bytecode ),很多在target上執行的程式可以先在host上 模擬,大幅減少開發所需的時間。 • 11 . 200933358 本發明的嵌入式系統控制軟體,主要為一無限迴圈, 不斷的讀入感測器及驅動器狀態,將其報告給…控電 腦二處对央監控電腦回傳的控制指令,並回報控制指令 執仃結果。谈入式系統控制軟體採硬體令立的架構·設叶 基礎硬體類別來規範資料擷取模組驅動程式的格式,利用200933358 IX. Description of the Invention: [Technical Field] The present invention relates to an internet monitoring system and method for a sewage treatment system, and more particularly to a sensing and driving signal for remotely extracting a sewage treatment system, and performing effective return A system and method for monitoring sewage treatment conditions. [Prior Art] Due to the arrogance and ignorance of human beings, the Earth has quietly endured the pollution of people, and with the rapid deterioration of the living environment and the awakening of people's quality of life, the government's measures for environmental protection cannot be delayed. Business wastewater and domestic sewage have always been a major part of environmental pollution, and the improvement of related control technologies and the universal significance of environmental protection. The management and maintenance of the sewage treatment system of the Metropolis Building is handled by Environmental Engineering Co., Ltd. The existing sewage treatment system treatment equipment is mostly a small-scale sewage treatment facility. It does not reach the scale of the resident personnel. It is often handled by regular inspections and faults. However, when the building guards notify the treatment equipment of failure, the Qiaoshui Treatment Plant The sewage has already polluted the basement. When the engineers go to the hoe, it usually takes more than a few hours to be disposed of. In addition to causing environmental pollution and easy to breed infectious diseases, the company’s labor costs are also raised. To the quality of the community's living environment and the burden of expenditure. Since the present invention proposes the development of an internet monitoring method and system for a plurality of building sewage treatment systems, the monitoring module of the present invention can be attached to the existing pollution 200933358 water treatment system to increase the function of remote network monitoring, It is convenient to monitor the whole process of sewage treatment, and it will be dealt with immediately in the event of an accident, without the need to repair through the building guards. SUMMARY OF THE INVENTION A first object of the present invention is to provide a system for remotely monitoring the operation of a sewage treatment system. The basic technical feature includes at least one embedded control n, at least a data_capture module, and a plurality of sensors of the sewage treatment system, wherein the plurality of sensors pass through the data capture module The embedded controller is connected, so that the embedded controller can read the sensing signals of the plurality of sensors; the plurality of drivers of the sewage treatment system, and the plurality of drivers are connected to the embedded device via the data capture module The controller is connected, so that the embedded controller can read the driving signals of the plurality of drivers to measure whether the plurality of drivers are running, and let the embedded controller also drive all the drivers of the system; and a central The monitoring computer can connect the central monitoring computer via the Internet, transmit the sensing and driving signals of the sewage treatment system to the central monitoring computer, and accept the instructions of the central monitoring computer. A second object of the present invention is to provide a method for remotely monitoring the operation of a sewage treatment system. The basic technical features include: providing at least one embedded controller, at least one data mining module, a plurality of sensors of the sewage treatment system, a plurality of sewage treatment system drivers, and a central monitoring computer. A plurality of sensors are connected to the embedded 200933358 input controller via the data capture module, and the plurality of drivers are connected to the embedded controller via the data capture module; read by the embedded controller a sensing signal of the plurality of sensors, wherein the embedded controller reads the driving signals of the plurality of drivers to measure whether the plurality of drivers are running; and allowing the embedded controller to also drive the All the drives of the sewage treatment system; and the embedded controller is connected to the central monitoring computer via the Internet to transmit the sensing and driving signals of the sewage treatment system to the central monitoring computer and to the instructions of the central monitoring computer. [Embodiment] 技术·Technical Summary and Features of the Invention 1 · The treatment of wastewater and domestic sewage in sewage treatment system is roughly as shown in Figure 1 and Figure 2. The sewage inflow first passes through physical treatment facilities such as trash racks and grit chambers. Remove large suspended particles, gravel, debris, etc. from the water, then enter the mixing tank to mix the sewage water and adjust the water volume to improve the treatment efficiency. The sewage pumped from the homogenization tank is introduced into the biological treatment unit, aerated in the biological rotating disk or the contact oxidation pond, oxygen is introduced into the water for the microorganism to multiply and grow, and is attached to the contact filter material to form a biofilm, and the organic matter in the waste water is absorbed by the microorganism. Effectively remove biochemical Oxygen Demand (B0D5) and Chemical Oxygen Demand (COD) in wastewater. The biologically treated sewage enters the chemical treatment unit and uses coagulant, coagulant, etc. to coagulate and gel, so that the suspended particles in the sewage (Suspended Sol id, SS) 200933358 form a larger rubber feather to increase the sedimentation efficiency. , by means of precipitation to remove it. After proper treatment, the discharged water that meets the national discharge water standard is discharged through the ditch. The sludge produced by each treatment unit is concentrated by the sludge concentration tank, and the sludge cake dehydrated by the dewatering machine is transported to the sanitary landfill to bury or reuse the brick raw materials. 2. Control of the sewage treatment system of the present invention (1) Control focus: Water quality standard: '~~ Water quality standard: COD < 100mg/L Hydrogen ion concentration index (pH) 6.8~8 5 BOD < 30mg/ L Biochemical Oxygen Demand (B0D5) < 10 rag/L SS < 30mg/L Coliforms can not detect fat < 10mg / L odor and appearance without discomfort PH: 6~9 Chroma < 40 Coliforms < 2000 CFU / lOOmL residual chlorine between 〇. 5 ~ 1. 5 mg / L on the level of automatic control, the control of the sewage treatment system, its sensation is the water level measurement of the sewage treatment tank (floating Ball), water quality measurement, flow measurement, and residual chlorine measurement, the drive is the switch of various types of pumps, the drive of the switch blower, the drive of the switch dosing machine, etc., to control the water level of each sewage treatment tank. The water quality meets the standards set by the state as shown in the following table. At present, the control system in use mainly controls the water level of each sewage treatment tank. Other equipments that are used together are independently operated, such as ultraviolet sterilizer, activated carbon adsorption tower, sludge dewatering machine, dosing machine, Mixer, air deodorization tower, etc. (2) Decentralized control: The design of the monitor of the present invention focuses on the integration of the hardware single body on the surface of the city on the 200933358 surface to form a monitoring system. The software is designed to be easily transplanted to other hardware, such as the body armor, so that it can have a flexibility of 4 divisions, which can be easily upgraded with the progress of hardware. ',.,"called the monitoring of the present invention|§ There are two parts, one part is the embedded controller placed in the system (along with the information 撷t floor/water supply for shame and the other part is placed The central monitoring computer of Environmental Engineering Co., Ltd. (see Figure 3 (3) Design of Embedded Controller - ❹ Μ' allows it to bring all the sensing and driving signals of the building sewage treatment system into the enemy-type controller, let It can read all the sensing and dynamic signals of the system, such as the water level of each sewage treatment tank, the flow display on the flow meter, the measurement value of the residual chlorine detector, and whether the chestnut, blower and dosing machine are in medium operation. In addition, the intrusion controller can also drive all the drives of the system, such as switches and blowers, drive dosing machines, etc.. Then, the embedded controller can connect to the central monitoring computer via the Internet to transmit sewage. The sensing and driving signals of the processing system are sent to the central monitoring computer and receive instructions from the central monitoring computer. * The sensing and driving of the embedded controller is achieved by connecting the remote data to the module; the controlled system Test and drive signals, first directly connect to the data acquisition module' and the data acquisition module and the embedded controller are connected to / through the TCP/IP internal network (Intranet), if only one is used The module can be directly connected by the network route of the jumper. If the number of input and output points is too large or the position of the sensing and driving is dispersed, you must use the data acquisition module of 200933358, you must add a hub. Embedded 7 The connection between the device and the central monitoring computer is the network of the material (plus (10) (1). The transmission of the external network data, the delivery of the needle' is due to the need to penetrate the building and the company's firewall, so the http agreement is adopted. & control computer uses a general server computer, - nine Tomcat web server (it is also a Servlet / Jsp container) and MySQL body storage device, the main control program on the central monitoring computer has two parts Part of the data transfer server program connected to multiple embedded controllers, accepting the connection requirements of each embedded controller, and transmitting the sensing drive signal data stored in each embedded controller. . The water treatment system has any emergency situation and is also transmitted by the embedded controller to the data transmission server program. It stores the information in the database and sends a mobile phone newsletter to the person in charge of monitoring. The central monitoring computer is another. The control program is an interactive web page Servlet program that provides an interactive web page for monitoring messages so that authorized users can access the real-time status of each sewage treatment system anytime and anywhere. To drive a sewage treatment system drive, such as opening and closing A pump can issue control commands on the applet program interface on the webpage. The control commands are communicated by the applet-servlet to the servlet program, and the servlet program records it in the database. The next time the corresponding embedded controller is connected to the central When monitoring the computer, the control command is sent back to the embedded controller for execution, and the execution result is reported back to the central monitoring computer. For the real-time monitoring of the sewage treatment system 200933358, the automatic automatic update of the interactive webpage is not good, so the applet program is used. The embedded controller uses the network of the sewage treatment system building, and often cannot have a fixed URL (IP). Generally, the URL is dynamically configured by the internal network. Since the URL of each embedded controller cannot be known in advance, the present invention embeds The connection between the controller and the central monitoring computer is initiated by the embedded controller. When the embedded controller notifies the sensing data, it will bring back the control command of the φ central monitoring computer. Even when the embedded controller does not have a new sensing profile, it will pay back regularly. (4) The hardware and software resources on the hardware-neutral embedded system are limited, so the development process is often not directly on the embedded system, but on another computer. The program is written. After the test on the test board, if it is wrong, then modify it on the host, then pour into the test board test, so that it will be repeated until there is no error. Under normal circumstances, because the target and host's central processing unit are different, the program on the host must first be compiled into the target executable code with cross-compiler, and then injected into the target execution, making the whole development process more troublesome. The embedded system software of the invention is written in the Java language, and utilizes the cross-platform feature of the Java language. The target and the host both execute the bit code of the Java (bytecode), and many programs executed on the target can be simulated on the host first. Reduce the time required for development. • 11 . 200933358 The embedded system control software of the present invention is mainly an infinite loop, continuously reading in the state of the sensor and the driver, and reporting it to the control command of the control computer back to the central monitoring computer. And return the control command to execute the result. Talk-in system control software, hardware-based architecture, set-up, basic hardware, standard data capture module driver format, use
Java # &可以在執行時期檢視程式類別的功能,在執行時 期檢視出系統上的資料擷取模組驅動程式,動態載入其驅 ❹動程式,利用程式多型的特性,執行各別驅動程式類別的 方法(method)來驅動各個資料擷取模組。如此,本發明 監控器的硬體配置是程式執行時期才確定的,而且資料梅 取模,的加入或是移除,與監控器的其他部份切割開來。 也就是’使用者只要依類別格式提供某一資料操取模組的 驅動程式,就可以將該資料擁取模組整合入本發明的監控 器。 ❹ (5)資料擷取模擬程式 在嵌入式系統控制軟體的基礎硬體類別上,設計有模 擬模式’規範每-資料擁取模組的驅動程式提供其模擬方 法,如此,在沒有硬體配線的情況下,可同時發展中央監 控電腦的資料管理程式。 目前的趨勢,資料擷取模組的訊息溝通不透過原生程 式,而疋採查詢回應的字串傳遞方式(M〇dbus),如此,吾 人可以將資料擷取模組先接到H〇st電腦上測試,待嵌入式 12 200933358 系統控制軟體在Host開發測試完成時,再移植到Java # & can view the function of the program category during the execution period, view the data capture module driver on the system during the execution period, dynamically load the driver program, and use the multi-type feature to execute the individual driver. The program category method (method) to drive each data capture module. Thus, the hardware configuration of the monitor of the present invention is determined during the execution of the program, and the data module is added or removed, and is cut out from other parts of the monitor. That is, the user can integrate the data acquisition module into the monitor of the present invention by providing a driver for a data manipulation module in a category format. ❹ (5) Data acquisition simulation program is based on the basic hardware category of the embedded system control software. The simulation mode is designed to provide a simulation method for each driver of the data acquisition module. Thus, there is no hardware wiring. In this case, the data management program of the central monitoring computer can be developed at the same time. At present, the communication of the data capture module does not pass through the native program, but the string response method (M〇dbus) is used to query the response. Thus, we can connect the data capture module to the H〇st computer first. On the test, to be embedded 12 200933358 system control software is transplanted to the Host development test
Aday5E-NCSl欲入式控制器,儘力免除Host-Target間煩 複又耗時的切換開發過程。 (6)Applet遠端監控程式 污水處理廠的監控人員,可用瀏覽器連到中央監控電 腦,遠端了解各污水處理廠的狀況,可是,網頁自動更新 的效果比較差,故設計Appl et遠端監控程式,可在線上自 〇動更新各污水處理廠的狀況。The Aday5E-NCSl is intended to eliminate the cumbersome and time-consuming switching development process between Host-Target. (6) Applet remote monitoring program The monitoring personnel of the sewage treatment plant can use the browser to connect to the central monitoring computer to know the status of each sewage treatment plant. However, the effect of automatic updating of the webpage is relatively poor, so the design Appl et remote The monitoring program can automatically update the status of each sewage treatment plant online.
Applet遠端監控程式,依使用者的指定,首先載入對 應污水處理廠對應的配置圖,在配置圖對應的位置,標示 感測及驅動的圖示,顯示其狀態。使用者可點按圖示,以 改變驅動器的狀態。 貳、本發明之具體實施 ❹ 本發明设計製作多個大樓污水處理系統網際監控器, 主要包括下述幾項 工作〇 1.嵌入式控制器及資料擷取系統選用: 本發明採用奥得科技的Aday5E-NCSl嵌入式控制器 (〇)及研華科技的Adam6〇6〇遠端資料擷取模組(2〇),見圖 五Adam6060是數位輸入輸出模組,讀取感測器及驅動器 狀I可驅動改變驅動器狀態。若要感測驅動類比訊號, 可加裝AD/DA模組。 13 200933358The Applet remote monitoring program first loads the configuration map corresponding to the sewage treatment plant according to the user's designation, and displays the sensing and driving icons in the corresponding position of the configuration drawing to display the status. The user can click on the icon to change the state of the drive.具体, the specific implementation of the present invention ❹ The invention designs and manufactures a plurality of building sewage treatment system internet monitors, mainly including the following several operations: 1. Embedded controller and data acquisition system selection: The invention adopts Oder Technology Aday5E-NCSl embedded controller (〇) and Advantech's Adam6〇6〇 remote data capture module (2〇), see Figure 5. Adam6060 is a digital input and output module, reading sensor and driver I can drive to change the state of the drive. To sense the driver analog signal, an AD/DA module can be added. 13 200933358
Aday5E-NCSl嵌入式控制器(10)是一個擁有兩個 TCP/IP埠的控制器,其中一個TCP/IP埠用以連接資料擷取 模組(内部網路),另一個TCP/IP埠則用以連結中央監控 電腦(外部網路)。The Aday5E-NCSl embedded controller (10) is a controller with two TCP/IP ports, one TCP/IP port for connecting to the data capture module (internal network) and the other TCP/IP port. Used to connect to a central monitoring computer (external network).
Aday5E-NCSl的操作系統是一個簡單的Linux系統,另 移植入Kaffe Java虛擬機器,用以執行Java程式。 2. 發展嵌入式控制器内的控制程式: 0 Aday5E-NCSl内的Java控制程式,先在個人電腦上, 用Eclipse整合開發工具發展,如圖六所示之電腦晝面。 首先,設計ModuleBase類別,規範所有資料擷取模組驅動 程式的行為,讓驅動程式可在真實模式及模擬模式下執 行。模擬功能方便控制程式在沒有實際資料擷取模組硬體 的情況下,順利進行,以有效隔離軟體問題及硬體問題, 方便程式發展。 Q TCP/IP界面的資料擷取模組本身也是硬體中立的,其 訊息傳遞的格式,採主從(Mas ter/Slave)式的Modbus協 定,它連結桌上型電腦與連結嵌入式控制器的方式是相同 的,是以其硬體測試也可以在桌上型Host電腦上完成。 3. 中央監控電腦資訊系統: 多處污水處理系統的感測驅動訊號,以http協定,同 時送回中央監控電腦,這些資料儲存於資料庫伺服器,同 時,中央監控電腦提供網頁頁面,管理不同使用者存取相 200933358 關的資料’這些功能連同公司的網站,形成中央監控電腦 資訊系統。 圖七之電腦畫面所示為環境工程股份有限公司所管理 的多處污水處理系統所在的大樓表列,點選其上的控制器 圖示’可以顯示某大樓内所有資料操取模組上感測驅動訊 號的現況’如圖八所示之電腦晝面。點選圖八上某一資料 掘取模組的「記錄」連結,可以顯示該資料擁取模組的歷 〇史資料’如圖九所示之電腦畫面。 圖十之電腦晝面顯示某一污水處理系統的配置圖,點 選其上某一配置圖的applet圖示,會開啟一新的網頁,載 入伺服端的applet程式,在劉覽器上執行,如圖十一所示 之電腦畫面。該applet程式載人污水處理系統配置圖在 對應位置顯示感測及驅動的狀態,並且不斷由中央監控電 腦處取得最新資料並更新顯示。 ❹授權的使用者可在applet程式上點按驅動圖示或按 紐’以送出控制命令,改變驅動器狀^送出的控制命令, 先儲存在中央監控電腦的資料庫内,於下次對應的^式 控制器連絡中央監控電腦時,再將控制命令帶回執行。二 制命令執行的進程,可在網站上查詢,如圖十二所示之^ 腦晝面*其執行結果,也會在卿let程式的圖面上顯示。 4.移植控制程式: 15 200933358 上述1-4步驟,皆可在桌上型H〇st電腦上,開發完成。 待測試無誤時’再將嵌入式控制器Java控制程式植入The Aday5E-NCSl operating system is a simple Linux system that is ported to the Kaffe Java virtual machine to execute Java programs. 2. Develop the control program in the embedded controller: 0 The Java control program in Aday5E-NCSl is developed on the personal computer with Eclipse integrated development tools, as shown in Figure 6. First, design the ModuleBase category, standardize all data capture module behavior, and let the driver execute in real mode and emulation mode. The simulation function facilitates the control program to smoothly carry out the software hardware without the actual data acquisition, so as to effectively isolate the software problem and the hardware problem, and facilitate the development of the program. The data capture module of the Q TCP/IP interface is also hardware-neutral. The format of the message transmission is based on the master-slave (Mas ter/Slave) Modbus protocol, which connects the desktop computer to the embedded embedded controller. The way is the same, so its hardware test can also be done on a desktop host computer. 3. Central monitoring computer information system: The sensing driving signals of multiple sewage treatment systems are sent back to the central monitoring computer by http agreement. These data are stored in the database server. At the same time, the central monitoring computer provides web pages and manages differently. The user accesses the data of the phase 200933358. These functions, together with the company's website, form a central monitoring computer information system. The computer screen of Figure 7 shows the list of buildings where multiple sewage treatment systems managed by Environmental Engineering Co., Ltd. are located. Click on the controller icon on it to display the sense of all the data manipulation modules in a building. The status of the drive signal is measured as shown in Figure 8. Click on the "Record" link of a data capture module in Figure 8. The computer screen of the data capture module can be displayed as shown in Figure 9. Figure 10 shows the configuration diagram of a sewage treatment system. Click on the applet icon of a certain configuration diagram to open a new webpage, load the applet applet program, and execute it on the browser. The computer screen shown in Figure 11. The applet program's manned sewage treatment system configuration map displays the status of sensing and driving at the corresponding location, and the latest information is continuously updated and displayed by the central monitoring computer. ❹ Authorized users can click the driver icon or button on the applet program to send out the control command, change the control command sent by the driver, first stored in the database of the central monitoring computer, the next corresponding ^ When the controller contacts the central monitoring computer, the control command is brought back to execution. The process of the second command execution can be queried on the website, as shown in Figure 12, and the execution result will also be displayed on the graph of the program. 4. Migration control program: 15 200933358 The above 1-4 steps can be developed on the desktop H〇st computer. When the test is correct, the embedded controller Java control program is implanted.
Aday5E-NCSl喪入式控制器内即可。由於】讓程式跨平台 的特性及吾人採用硬體中立的軟體架構,Host發展出來: 控制奋式幾乎可立即用於礙人式控制器,大幅節省嵌入式 系統的開發時間。 參、結論 ❹ H述本發明的設計,可歸納本發明具有下列優點: 1本發明5又什製作多個大樓污水處理系統的網際監 控器’以分散式控制的方式,將諸多大樓的污水系統操作 現況,即時的傳送到負責維護的公司的中央監控電腦。 』2巾央&控電腦提供全球資訊網界面,在密碼的保 ”蒦下讓監控人貝可峨時隨處上網了解各處污水處理系 統的現況,並於必要時驅動污水處理系統内的驅動器。 ❹3·本監控器硬體中立的設計讓硬體的搭配靈活有彈 性,以利監控器的維護、擴充、與升級。 有 1上所述’僅為本發明之—可行實施例,並非用以限 疋本發明之專利範圍,凡舉依據下列申請專利範圍所述之 徵以及其精神而為之其他變化的等效實施,皆應 二SI明之專利範圍内。本發明之方法及其系統’除 生=外,並深具產業之利用性,可有效改善習用所產 生之缺失,而且所具體界定於申請專利範圍之特徵,未見 200933358 於同類物品,故而具實用 件,又本發明為國科會小產學已符合發明專利要 保研發智慧結晶受到合法伴:广:助的研發成果,為確 益〇 予專利,以維護本申請人合法之權 【圖式簡單說明】 圖一為本發明污水處理系統配置圖; ©圖二為本發明處理單元流程方塊圖; 圖三為本發明分散式控制架構示意圖; 圖四為本發明中央監控電腦架構示意圖; 圖五為本發㈣人式控制器及資義取模組示意圖; 圖六為本發明用㈣卿開發控制程式及Applet程式畫面 示意圖; 圖七為本發明多處污水處理系統的監看網頁畫面示意圖; ©圖八為本發明某一污水處理系統的操作狀態畫面示意圖; 圖九為本發明某一資料擷取模組的歷史資料畫面示意圖; 圖十為本發明污水處理系統配置晝面示意圖; 圖十一為本發明遠端監控applet程式畫面示意圖;及 圖十二為本發明控制命令執行的進程畫面示意圖。 【主要元件符號說明】 (10)嵌入式控制器 (20)資料擷取模組 17Aday5E-NCSl can be used in the controller. Because of the cross-platform nature of the program and the hardware-independent software architecture, Host has evolved: Controlling the genre can be used almost immediately to block the controller, greatly reducing the development time of the embedded system. References, conclusions ❹H The design of the present invention can be summarized as follows: 1. The invention 5 further produces a plurality of building sewage treatment systems of the Internet monitor' in a decentralized manner, the sewage system of many buildings The current status of the operation is immediately transmitted to the central monitoring computer of the company responsible for maintenance. 』2 towel central & control computer provides a global information network interface, under the password protection, let the monitors be able to access the current situation of the sewage treatment system everywhere, and drive the drive in the sewage treatment system when necessary ❹3· The hardware neutral design of the monitor makes the hardware match flexible and flexible, in order to facilitate the maintenance, expansion, and upgrade of the monitor. The above description is only a feasible embodiment of the present invention, not for use. The scope of the invention is limited to the scope of the invention as set forth in the following claims, and the equivalents of the other embodiments of the invention are intended to be within the scope of the patents of the invention. In addition to the birth =, and the use of the industry, can effectively improve the lack of use, and is specifically defined in the scope of the patent application, not seen 200933358 in the same category, so the practical parts, and the invention is the country The small industry of science and technology has met the invention patent to ensure that the wisdom of research and development is crystallized by legal partners: Guang: Helping the research and development results, and making patents for the purpose of safeguarding the legal rights of the applicant [ BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a configuration diagram of a sewage treatment system of the present invention; FIG. 2 is a block diagram of a processing unit of the present invention; FIG. 3 is a schematic diagram of a distributed control architecture of the present invention; (5) Schematic diagram of the human-based controller and the capital-based module; Figure 6 is a schematic diagram of the development control program and the applet program for the invention (4); Figure 7 is a schematic diagram of the monitoring webpage of the multiple sewage treatment systems of the present invention. Figure 8 is a schematic diagram of the operation state of a sewage treatment system of the present invention; Figure 9 is a schematic diagram of a historical data screen of a data acquisition module of the present invention; Figure 10 is a schematic view of the configuration of the sewage treatment system of the present invention; 11 is a schematic diagram of a remote monitoring applet program screen of the present invention; and FIG. 12 is a schematic diagram of a process screen for executing a control command according to the present invention. [Description of main component symbols] (10) Embedded controller (20) data capture module 17