• 沒有找到結果。

許多中小企業與小型工廠與大型企業,已經是全年無休、甚至二十四小時運作,

停機的成本很高,而且會造成企業的商譽損失。本研究在不變更原有各種規格的 PID 控制器,不需要重新購買、設計與架構革新下,運用具物聯網功能的微處理機:

NodeMCU-32S Lua WiFi 開發板(如圖 14 所示),透過該微處理機具備 Wifi 無線網 路的連線機制,透過無線熱點(Access Point :AP)的橋接,連接上網際網路,則整體 系統架構就可以輕易將這些各類工廠設備之 PID 控制器,提升為具備聯網功能的 強大物聯網能力之 PID 控制器,對於產業上許多持續使用舊有設備控制器的產業,

快 速 有 效 地 無 痛 升 級 到 雲 端 服 務 , 並 且 只 需 要 非 常 便 宜 的 價 格 ( 目 前 一 顆 NodeMCU-32S Lua WiFi 開發的價格,在本研究期間於網路拍賣詢價與購買,售價 不高於新台幣二百五十元)。

本研究在圖 27 與圖 28 之架構下,將整個 PID 控制器提升到雲端平台中央控 制,並可以隨時提供給操作員、生產管理者、企業管理者、設備維護者、決策管理 者、或關鍵決策者,透過行動裝置與網際網路,可以無遠弗屆地監控這些重要的裝 置,並且可以遠端設定溫度、溼度、流量、PH 值控制、可微電腦 PID 控制、多樣 化輸入/輸出信號等遠端的設備或感測器,對於生產與管理效率帶來極大提升。

由於工業 4.0 與物聯網、工業互聯網之相關技術已經成為企業與工廠必須參 與的時代趨勢與關鍵技術,本研究透過圖 28 之架構下,學理上遵循學界先驅者的 理論與架構上,以工業互聯網為基礎之系統架構,進行系統規劃、分析與設計,並 實作雛型系統與雲端平台來驗證實務解決能力之可行性。雖然原創性尚無法獨創 一格,但是對產業界原有設備的困境,提供一個較佳的實務上可行的解決方案。

- 75 -

本研究針對 FY900 控制器之通訊能力之基礎,透過具有物聯網機之微處理機 之升級,將整個 PID 控制器提升到雲端平台中央控制。所以本研究的最大貢獻是 運用工業互聯網技術,透過 MQTT 伺服器的功能,實作一個雛型系統來驗證整個 產業應用的可行性,並且本研究於未來將會將整個研究的軟硬體技術,透過開放 軟體及硬體原始碼的方式,讓更多研究者、實作者、產業科技發展企業等可以將 本研究的內容延續、發展與延伸到更廣泛的產業應用。

目前研究礙於網頁技術與目前選定的微處理機等相關開發技術尚有升級空間 下,許多更強大的功能:如隨插即用,遠端設定,網際網路韌體更新,多國語言處 理與呈現等等相關技術,期待在未來更多研發資源挹注下,可以突破上述尚未達成 的技術或服務。

最後希望透過本研究的成果公開分享,可以讓更多人參考本研究的相關技術 之後,或許在未來許多學者、先進可以在其研發與應用上,創造更多的效益,則是 本研究藉以拋磚引玉之方式,可以讓本研究提出的架構與產業應用範例,能夠在未 來產生更多的效益,這是本研究最大的盼望。

- 76 -

附錄

NodeMCU 32S 腳位一覽圖

- 77 -

QNAP TS-431 伺服器服務一覽表

軟體服務功能 服務明細

Operating System QTS 4.1 (embedded Linux) Storage

Management

Single Disk, JBOD, RAID 0, 1, 5, 6, 10, 5 + spare Global hot spare

Online RAID capacity expansion Online RAID level migration

Bad block scan and hard drive S.M.A.R.T.

Bad block recovery RAID recovery Bitmap support

Supported Clients Apple Mac OS 10.7 or later Linux and UNIX

Microsoft Windows 7, 8, and 10

Microsoft Windows Server 2003, 2008 R2, 2012, 2012 R2 and 2016

Power Management Wake on LAN

Internal hard drive standby mode Scheduled power on/off

Automatic power on after power recovery

USB and network UPS support with SNMP management Supported

Browsers

Google Chrome

Microsoft Internet Explorer 10+

- 78 - User quota management

Local user access control for CIFS, AFP, FTP, and WebDAV

Application access control for Photo Station, Music Station, and Video Station

Subfolder permissions support for CIFS/SMB, AFP, FTP, and File Station

Multilingual Support

Chinese (Traditional & Simplified), Czech, Danish, Dutch, English, Finnish, French, German, Greek, Hungarian, Italian, Japanese, Korean, Norwegian, Polish, Portuguese (Brazil), Romanian, Russian, Spanish, Swedish, Thai, Turkish

myQNAPcloud Service

Private cloud storage and sharing with myQNAPcloud id (QID)

Free host name registration (DDNS) Auto router (via UPnP) configuration

Web-based file manager with HTTPS 2048-bit encryption

myQNAPcloud Link for remote access without complicated router setup

- 79 -

軟體服務功能 服務明細

myQNAPcloud connect for easy VPN connection (Windows VPN utility)

File System Internal hard drive: EXT4

External hard drive: EXT4, EXT3, NTFS, FAT32, HFS+

Qsync Syncs files among multiple devices with SSL support

Selective synchronization for syncing specific folders only

Share team folder as a file center for team collaboration

Shares files by links via e-mail

Policy settings for conflicted files and file type filter support

Incremental synchronization for HDD space saving Supports Windows & Mac OS

Networking TCP/IP: IPv4 & IPv6*

Dual Gigabit NICs (failover, multi-IP settings, port trunking/NIC teaming )*

Service binding based on network interfaces*

Proxy client, proxy server DHCP client, DHCP server NTP server

Protocols: CIFS/SMB, AFP(v3.3), NFS(v3), FTP,

- 80 -

軟體服務功能 服務明細

FTPS, SFTP, TFTP, HTTP(S), Telnet, SSH, iSCSI, SNMP, SMTP, and SMSC

UPnP & Bonjour discovery

Wi-Fi 802.11 ac/a/b/g/n USB adapter support Web

Administration

Personalized desktop

Smart toolbar and dashboard for system status

 Dynamic DNS (DDNS)

 SNMP (v2 & v3)

 Resource monitor

Network recycle bin for file deletion via CIFS/SMB, AFP and File Station

 Automatic cleanup

 File type filter

Comprehensive logs (events & connection) Syslog client/server

Mobile app: Qmanager for remote system monitoring

& management

Security Network access protection with auto-blocking: SSH, Telnet, HTTP(S), FTP, CIFS/SMB, AFP

CIFS host access control for shared folders AES 256-bit volume-based data encryption**

AES 256-bit external drive encryption**

Importable SSL certificate

- 81 -

軟體服務功能 服務明細

Instant alert via E-mail, SMS, and beep Antivirus protection

File Server File Sharing across Windows, Mac, and Linux/UNIX Windows ACL

Advanced folder permission for CIFS/SMB, AFP, FTP Shared folder aggregation (CIFS/SMB)

Download Station PC-less BT, FTP/FTPS, and HTTP/HTTPS download (up to 500 Tasks)

BT download with Magnet Link and PT support Scheduled download and bandwidth control RSS subscription and download (broadcatching) Bulk download with wildcard settings

BT search

Proxy support for BT download

PC utility: Qget for downloads browsing and management

Mobile app: Android Qget for downloads browsing and management

FTP Server FTP over SSL/TLS (Explicit) FXP supported

Cloud Storage Backup

Amazon S3 Amazon Glacier

WebDAV-based cloud storage

- 82 -

軟體服務功能 服務明細

Microsoft Azure Open Stack

Google Cloud Storage

File Station Supports ISO Mounting (Up to 256 ISO Files) Support thumbnail display of multimedia files Support share download link and upload link

Drag-n-drop Files via Chrome and Firefox Browsers Photo, music, and video preview and playback File Compression and decompression (ZIP and 7z) Print Server Max number of printers: 3

Print job display and management

IP-based and domain name-based privilege control Backup Station Remote replication server (over rsync)

Real-time remote replication (RTRR) to another QNAP NAS or FTP server

Works as both RTRR server & client with bandwidth control

Real-time & scheduled backup

Encryption, compression, file filter, and transfer rate limitation

Encrypted replication between QNAP NAS servers Desktop backup with QNAP NetBak Replicator for Windows

- 83 -

軟體服務功能 服務明細

Apple Time Machine backup support

Data backup to multiple external storage devices Third party backup software support: Veeam backup

& replication, Acronis True Image, Arcserve

backup, EMC retrospect, Symantec Backup Exec, etc Surveillance

Station

Supports over 2,700 IP cameras

Includes 2 free camera licenses, up to 8 camera channels via additional license purchase

Instant playback to check the recent event Visual aid by e-map

Playback and speed control by shuttle bar Video preview on playback timeline

Intelligent video analytics (IVA) for advanced video search

Surveillance client for Mac

Mobile surveillance app: vmobile (iOS and Android) Mobile recording app: vcam (iOS and Android)

Photo Station Show photos in thumbnails, list, timeline, or folder view

Supports virtual/smart album

Tags photos with text, color, and rating

Slideshows with background music and different transition effects

- 84 -

軟體服務功能 服務明細

Animated thumbnails for videos

Geotags photos and display them on Google maps Shares slideshows link to social websites or through email

Supports Facebook friends login

Notes Station Graphical web-based editor for taking notes

Integrate with NAS file system: insert attachment or image from NAS file system

Event calendar and to-do list Image editor

Provide Chrome Extension: Notes Station Clipper Clip web page content to your note

Mobile app: Qnotes

Music Station Plays or Shares Music Collections with Web Browser Automatic Classification via Media Library

Supported audio format: AIFF, APE, FLAC, M4A, M4A Apple Lossless (ALAC), MP3, Ogg Vorbis, WAV (PCM, LPCM),WMA, WMA PRO, WMA VBR

* DRM encryption format is not supported.

Internet Radio (MP3) Up to 8 Music Alarms iSCSI (IP SAN) iSCSI Target

Multi-LUNs per Target

- 85 -

軟體服務功能 服務明細

Up to 256 Targets/LUNs Combined Supports LUN Mapping & Masking File-based LUN

Online LUN Capacity Expansion

iSCSI LUN Backup, One-time Snapshot, and Restore iSCSI Connection and Management by QNAP Finder (Windows)

Virtual Disk Drive (via iSCSI Initiator) Max No.of Virtual Disk Drives: 8

Video Station Show photos in thumbnails, list, timeline, or folder view

Tags videos with text, color, and rating Animated thumbnails for videos

Shares video collection link to social websites or through email

Display movie information from IMDB

VPN Server Secure remote access: PPTP &OpenVPN VPN services Max number of clients: 15 for PPTP & 15 for OpenVPN

DLNA Server Supports DLNA/UPnP TVs and Players such as PlayStation 3 and Xbox 360

Domain

Authentication

Microsoft Active Directory (AD) Domain controller

- 86 -

軟體服務功能 服務明細

Integration LDAP server, LDAP client

Domain users login via CIFS/SMB, AFP, FTP, and File Station

AirPlay Streams videos, photos and music from NAS to Apple TV via Qfile or Media Streaming add-on.

App Center More than 100 official and community software add-ons

Mobile Apps Qfile: iOS, Android Phone, window phone Qfile HD: iPad version

Qmanager: iOS, Android Phone Qmusic: iOS, Android Phone Qremote: iOS, Android Phone Qget: Android Phone

Vmobile: iOS, iPad, Android Phone

資料來源:TS-431 產品介紹官網(https://www.qnap.com/zh-tw/product/ts-431)[12]

- 87 -

中的应用,贵州电力技术,vol. 19,no. 2,pp. 49-51,2016

[6] 傅学磊,大数据场景下的云存储技术及其应用初探,江西电力

职业技术学院学报,vol. 32,no. 8,pp. 22-23,2019 [7] Wiki. PID 控制器 維基百科.

https://zh.wikipedia.org/wiki/PID%E6%8E%A7%E5%88%B6%E5%99%A8

(accessed 2020/07/24, 2020)

[8] 曹永忠,ESP32 程式設計(基礎篇):ESP32 IOT Programming (Basic Concept & Tricks),初版 ed. (物聯網系列),台湾彰化:渥瑪數位有 限公司 (in 繁體中文),2020

[9] 曹永忠、張程、鄭昊緣、楊柳姿、楊楠,ESP32S 程式教學(常 用模組篇):ESP32 IOT Programming (37 Modules),初版 ed. (物聯網系列).

台湾彰化:渥瑪數位有限公司 (in 繁體中文),2020

[10] 曹永忠、蔡英德、許智誠、鄭昊緣、張程,ESP32 程式設計(物 聯網基礎篇:ESP32 IOT Programming (An Introduction to Internet of

Thing),初版 ed. (物聯網系列),台湾彰化:渥瑪數位有限公司 (in 繁體 中文),2020

[11] 曹永忠、許智誠、蔡英德,雲端平台(硬體建置基礎篇):The Setting and Configuration of Hardware & Operation System for a Clouding Platform based on QNAP Solution (Industry 4.0 Series),初版 ed. (工業四系 列),台湾彰化:渥瑪數位有限公司 (in 繁體中文),2018

[12] I. 威. QNAP Systems. TS-431 產品介紹,QNAP Systems,Inc,

威聯通科技股份有限公司. https://www.qnap.com/zh-tw/product/ts-431 (accessed 2020/7/24, 2020)

- 88 -

[13] D. P. Rini and D. Stiawan, "STUDY ON SOLUTION WEB HOSTING SELECTION: OUTSOURCING OR IN-HOUSE," 2009

[14] M. Younas, I. Awan, and D. Duce, "An efficient composition of Web services with active network support," Expert Systems with Applications, vol.

31, no. 4, pp. 859-869, 2006

[15] 白翰霖,結合 PHP 與 CSS 框架之網站建置最佳化,碩士,資 訊管理學系,東海大學,台中市,2013. [Online]. Available:

https://hdl.handle.net/11296/ch4mg9

[16] 吳鎮安,以 jQuery 與 PHP 為基礎之行動線上同儕評量系統的 開發與評估,碩士,資訊教育研究所,國立臺灣師範大學,台北市,2014 [Online]. Available: https://hdl.handle.net/11296/5p75jf

[17] 杜俊英,結合 GPS、Google 地圖及 PHP 網頁服務實作的冷藏 貨物追蹤系統,碩士,資訊工程學系碩士班,大葉大學,彰化縣,2013 [Online]. Available: https://hdl.handle.net/11296/nve248

[18] 莊泉福,應用 PHP 語言開發用戶化全球資訊網探勘系—以高雄 市地政局網站數據為例,博士,企業管理學系,國立中央大學,桃園縣,

2019. [Online]. Available: https://hdl.handle.net/11296/p687vm

[19] 蘇彥儒,在振動量測系統中建構 PHP 動態訊號分析系統,碩 士,電子工程系,國立勤益科技大學,台中市,2016. [Online]. Available:

https://hdl.handle.net/11296/mxtw2v

[20] "循環冗餘校驗." 維基百科,自由的百科全書.

https://zh.wikipedia.org/wiki/%E5%BE%AA%E7%92%B0%E5%86%97%E9%

A4%98%E6%A0%A1%E9%A9%97 (accessed 2020/7/1, 2020)

[21] 周志遠,感測控制與通訊技術應用於現代化雞舍管理之研究,

"Application Research of MCU Technology in Online Test and Process Equipment for Vehicle & Motorcycle's Accessory [J]," Journal of Chongqing University (Natural Science Edition), vol. 1, 2007

[25] P. Phaithoonbuathong, T. Kirkham, C. Mcleod, M. Capers, R.

Harrison, and R. Monfared, "Adding factory floor automation to digital ecosystems; tools, technology and transformation," in 2008 2nd IEEE

International Conference on Digital Ecosystems and Technologies, 2008: IEEE,

- 89 -

pp. 288-293

[26] R. Zhang, S. Cui, and C. Zhao, "Design of a Data Acquisition and Transmission System for Smart Factory Based on NB-IoT," in International Conference in Communications, Signal Processing, and Systems, 2018:

Springer, pp. 875-880

[27] V. Stirbu, "A RESTful architecture for adaptive and multi-device application sharing," in Proceedings of the First International Workshop on RESTful Design, 2010, pp. 62-65

[28] J. I. Fernández-Villamor, C. A. Iglesias, and M. Garijo, "A framework for goal-oriented discovery of resources in the RESTful

architecture," IEEE Transactions on Systems, Man, and Cybernetics: Systems, vol. 44, no. 6, pp. 796-803, 2013

[29] A. Mishra, A. Kumari, P. Sajit, and P. Pandey, "Remote web based ECG Monitoring using MQTT Protocol for IoT in Healthcare," Development, vol. 5, no. 4, pp. 1096-1101, 2018

[30] K. M. Alam and A. Akram, A Survey on MQTT Protocol for the Internet of Things,Khulna University, Dept. of Computer Science and Engineering (CSE), 2016

[31] B. Bendele and D. Akopian, A study of iot mqtt control packet behavior and its effect on communication delays,Electronic Imaging, vol. 2017, no. 6, pp. 120-129, 2017

[32] A. Stanford-Clark and H. L. Truong, Mqtt for sensor networks (mqtt-sn) protocol specification, International business machines (IBM) Corporation version, vol. 1, p. 2, 2013

[33] 曹永忠、許智誠、蔡英德,工業基本控制程式設計(RS485 串列 埠篇):An Introduction to Using RS485 to Control the Relay Device based on Internet of Thing (Industry 4.0 Series),初版 ed. (工業四系列),台湾彰化:

渥瑪數位有限公司 (in 繁體中文),2018

[34] 曹永忠、吳佳駿、許智誠、蔡英德, Ameba 程式設計(基礎 篇):Ameba RTL8195AM IOT Programming (Basic Concept & Tricks), 初版 ed. (物聯網系列). 台湾、彰化:渥瑪數位有限公司 (in 繁體中文), 2016

[35] 曹永忠、吳佳駿、許智誠、蔡英德,Ameba 程式設計(物聯網 基礎篇):An Introduction to Internet of Thing by Using Ameba RTL8195AM,

[35] 曹永忠、吳佳駿、許智誠、蔡英德,Ameba 程式設計(物聯網 基礎篇):An Introduction to Internet of Thing by Using Ameba RTL8195AM,

相關文件