TWI812920B - Automation equipment control system, system architecture and operation method thereof - Google Patents
Automation equipment control system, system architecture and operation method thereof Download PDFInfo
- Publication number
- TWI812920B TWI812920B TW110104183A TW110104183A TWI812920B TW I812920 B TWI812920 B TW I812920B TW 110104183 A TW110104183 A TW 110104183A TW 110104183 A TW110104183 A TW 110104183A TW I812920 B TWI812920 B TW I812920B
- Authority
- TW
- Taiwan
- Prior art keywords
- data
- control system
- equipment control
- automated equipment
- data distribution
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 11
- 238000009826 distribution Methods 0.000 claims abstract description 68
- 238000004891 communication Methods 0.000 claims description 17
- 238000005192 partition Methods 0.000 claims description 12
- 230000005540 biological transmission Effects 0.000 claims description 10
- 230000002093 peripheral effect Effects 0.000 claims description 9
- 238000012546 transfer Methods 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 12
- 230000007246 mechanism Effects 0.000 description 7
- 238000004519 manufacturing process Methods 0.000 description 6
- 230000000875 corresponding effect Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 238000007726 management method Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 238000011017 operating method Methods 0.000 description 3
- GGQYZNMUKWBANT-UHFFFAOYSA-N 4-[3-[(3,4-dihydroxyphenyl)methyl]-4-hydroxy-2-(hydroxymethyl)butyl]benzene-1,2-diol Chemical compound C=1C=C(O)C(O)=CC=1CC(CO)C(CO)CC1=CC=C(O)C(O)=C1 GGQYZNMUKWBANT-UHFFFAOYSA-N 0.000 description 2
- 230000001276 controlling effect Effects 0.000 description 2
- 238000013523 data management Methods 0.000 description 2
- 230000001934 delay Effects 0.000 description 2
- 230000007613 environmental effect Effects 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 238000005304 joining Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000002688 persistence Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
- 239000004984 smart glass Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000003860 storage Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Landscapes
- Control By Computers (AREA)
- Selective Calling Equipment (AREA)
Abstract
Description
本發明係有關於一種系統、系統架構及其運作方法,尤指一種自動化設備控制系統、自動化設備控制系統之系統架構及其運作方法。 The present invention relates to a system, a system architecture and an operating method thereof, and in particular, to an automated equipment control system, a system architecture of an automated equipment control system and an operating method thereof.
隨著物聯網(Internet of Things,IoT)科技開啟了第四次工業革命,並從傳統的工業自動化邁入以物聯網為基礎的高度自動化智慧製造,透過自主移動機器人(Autonomous Mobile Robot,AMR)、人機協同(Collaborative Robot,COBOT)製造,已經是未來工廠的必要建置,當現代工廠導入各式自動化聯網生產設備,工廠數位化需求與機具與設備間的互聯共通介面標準也將隨之提高,以提供即時控制和可靠通訊的系統架構。 As the Internet of Things (IoT) technology opens the fourth industrial revolution, and moves from traditional industrial automation to highly automated smart manufacturing based on the Internet of Things, through Autonomous Mobile Robots (AMR) , Collaborative Robot (COBOT) manufacturing has become a necessary construction of future factories. When modern factories introduce various automated networked production equipment, the digitalization requirements of factories and the interconnection and common interface standards between machines and equipment will also follow. Improve system architecture to provide instant control and reliable communications.
而未來工廠的概念則是以智慧製造為核心,將資訊科技、操作技術與通訊科技完整的連結在一起,並運用新世代機器人作業系統(Robot Operating System2,ROS2)提供高效率資料互傳中介層(Middleware Layer),已逐漸成為智慧型機器人的應用程式介面(API)標準,更以具備高度服務品質(Quality of Service,QoS)控制能力的資料分發服務(Data Distribution Service,DDS)來提供分散式/非同 步資料交換機制,使未來工廠內部設備之間具有實時通訊能力、高可靠的資料交換與共享,以及高度智慧處理資料的能力。舉例來說,工廠的靜態設備及移動機具,甚至人機介面及感測器等,都可以利用機器人作業系統平台導入資料分發服務之發佈與訂閱機制的傳輸協定來進行實時相互聯網與協作溝通,並將資料傳送至雲端運用人工智慧進行儲存及分析,使廠內各式移動機器人投產、無人機(UAV)取件、自動導引車(AGV)搬運物流與自動倉儲等,皆在無人無線或人機協作環境下完成,藉以實現各種未來工廠中智慧製造的應用場景。 The concept of the factory of the future is based on smart manufacturing, which completely connects information technology, operating technology and communication technology, and uses the new generation Robot Operating System (Robot Operating System 2, ROS2) to provide an efficient intermediary layer for data transmission. (Middleware Layer) has gradually become the application programming interface (API) standard for intelligent robots, and provides decentralized data distribution services (Data Distribution Service, DDS) with high quality of service (Quality of Service, QoS) control capabilities. /different The advanced data exchange mechanism will enable real-time communication capabilities, highly reliable data exchange and sharing, and highly intelligent data processing capabilities between internal equipment in future factories. For example, the factory's static equipment and mobile machinery, and even human-machine interfaces and sensors, etc., can use the robot operating system platform to import the transmission protocol of the publish and subscribe mechanism of the data distribution service for real-time interconnection and collaborative communication. And transmit the data to the cloud for storage and analysis using artificial intelligence, allowing various mobile robots in the factory to be put into production, unmanned aerial vehicle (UAV) pickup, automatic guided vehicle (AGV) transportation logistics and automatic warehousing, etc., all under unmanned wireless or It is completed in a human-machine collaboration environment to realize various smart manufacturing application scenarios in future factories.
然,隨著工廠內部設備的數量增加,實時交換的資料量亦相對上升,因此網路延遲、頻寬浪費與壅塞等問題將導致整體系統的效能低落。 However, as the number of internal devices in the factory increases, the amount of data exchanged in real time also increases. Therefore, problems such as network delay, bandwidth waste and congestion will lead to low performance of the overall system.
有鑑於上述現有技術之不足,本發明提出一種自動化設備控制系統、自動化設備控制系統之系統架構及其運作方法,其利用資料分發服務的架構,使自動化設備控制系統中的參與者可根據相同的主題來存取相同的記憶體分區,減少資料交換所需的記憶體,以提升整體系統之效能。 In view of the above-mentioned deficiencies in the prior art, the present invention proposes an automated equipment control system, a system architecture of the automated equipment control system, and an operating method thereof, which utilize the architecture of a data distribution service so that participants in the automated equipment control system can operate based on the same Topics access the same memory partition, reducing the memory required for data exchange and improving overall system performance.
為達成上述目的所採取的主要技術手段是令前述自動化設備控制系統之運作方法包括使發布者發布的資料根據主題對應儲存於共享資料庫,並使訂閱者根據訂閱的主題於共享資料庫取得資料,其中,共享資料庫是以配置文件來指定特定大小以創建或初始化。 The main technical means adopted to achieve the above purpose is to make the operation method of the aforementioned automated equipment control system include enabling the data published by the publisher to be stored in the shared database according to the topic, and enabling the subscriber to obtain the data in the shared database according to the subscribed topic. , where the shared database is created or initialized by specifying a specific size in a configuration file.
為達成上述目的所採取的又一主要技術手段是令前述自動化設備控制系統包括資料庫單元、記憶單元以及處理器單元,其中,資料庫單元包括配置文件,記憶單元至少包括應用程式、機器人作業系統程式以及資料分發服務程 式,且該處理器單元用以執行該等程式,並以配置文件配置資料分發服務且建立共享資料庫,使該等程式基於資料分發服務以共享資料庫共享服務及訊息。 Another main technical means adopted to achieve the above purpose is to make the aforementioned automation equipment control system include a database unit, a memory unit and a processor unit. The database unit includes configuration files, and the memory unit at least includes applications and robot operating systems. Program and data distribution services program, and the processor unit is used to execute the programs, configure the data distribution service with the configuration file and create a shared database, so that the programs can share database sharing services and information based on the data distribution service.
為達成上述目的所採取的再一主要技術手段是令前述自動化設備控制系統之系統架構包括作業系統層以及中介層,中介層包括資料分發服務以及機器人作業系統,其中資料分發服務以配置文件來指定特定大小的共享資料庫,以創建或初始化共享資料庫,使發布者發布的資料根據主題對應儲存於共享資料庫,且使訂閱者根據訂閱的主題於共享資料庫取得資料。 Another main technical means adopted to achieve the above purpose is to make the system architecture of the aforementioned automated equipment control system include an operating system layer and an intermediary layer. The intermediary layer includes a data distribution service and a robot operating system, where the data distribution service is specified by a configuration file. A shared database of a specific size is used to create or initialize the shared database, so that the data published by the publisher is stored in the shared database according to the topic, and the subscriber obtains data from the shared database based on the subscribed topic.
因此,在此自動化設備控制系統架構中各個主題節點和資料都會共享資料分發服務的各種服務,並將共享記憶體視為同一個節點而無須繁瑣的互相交互各種訊息,藉此,所有資料交換和參照都在共享記憶體內部進行,有效達到提高系統之運作效能的目的。 Therefore, in this automated equipment control system architecture, each subject node and data will share various services of the data distribution service, and the shared memory will be regarded as the same node without cumbersome exchange of various messages with each other. Through this, all data exchange and References are all performed within the shared memory, effectively achieving the purpose of improving the operating performance of the system.
1、1’:自動化設備控制系統 1. 1’: Automation equipment control system
2:自動化設備 2:Automation equipment
3:網路 3:Internet
10:處理器單元 10: Processor unit
20:資料庫單元 20: Database unit
30:記憶單元 30: Memory unit
31:應用程式 31:Application
32:機器人作業系統程式 32: Robot operating system program
33:資料分發服務程式 33: Data distribution service program
34:作業系統程式 34: Operating system program
40:網路單元 40:Network unit
50:輸入輸出介面 50: Input and output interface
60:擴充介面 60:Expansion interface
70:周邊單元 70: Peripheral units
331:持續性服務 331:Continuing services
332:疊接服務 332: splicing service
333:簡單物件存取協定服務 333: Simple Object Access Protocol Service
334:資料庫管理系統服務 334: Database management system services
335:DDS傳輸協定服務 335:DDS transport protocol service
700:系統架構 700:System Architecture
710:作業系統層 710: Operating system layer
720:中介層 720: Intermediary layer
721:機器人作業系統層 721: Robot operating system layer
722:資料分發服務層 722: Data distribution service layer
730:應用層 730:Application layer
Ta、Tb、Tc、Td、Te:主題 Ta, Tb, Tc, Td, Te: theme
P1、P2、P3、P4:記憶體分區 P1, P2, P3, P4: memory partition
Shmem:共享記憶體 Shmem: shared memory
Domain:域 Domain: domain
IP/Port:網路介面 IP/Port: Network interface
S810、S820、S821、S822:步驟 S810, S820, S821, S822: steps
圖1為根據本發明實施例之自動化設備控制系統的使用環境示意圖;圖2為根據本發明實施例之自動化設備控制系統的系統方塊圖;圖3為根據本發明實施例之自動化設備控制系統的另一系統方塊圖;圖4為根據本發明實施例之記憶單元之示意圖;圖5為根據本發明實施例之資料分發服務程式之示意圖;圖6為根據本發明實施例之資料分發服務之運作實施例示意圖;圖7為根據本發明實施例之自動化設備控制系統的系統架構圖;圖8為根據本發明實施例之自動化設備控制系統的運作流程圖;以及圖9為根據本發明實施例之自動化設備控制系統的另一運作流程圖。 Figure 1 is a schematic diagram of the usage environment of the automated equipment control system according to the embodiment of the present invention; Figure 2 is a system block diagram of the automated equipment control system according to the embodiment of the present invention; Figure 3 is a diagram of the automated equipment control system according to the embodiment of the present invention. Another system block diagram; Figure 4 is a schematic diagram of a memory unit according to an embodiment of the present invention; Figure 5 is a schematic diagram of a data distribution service program according to an embodiment of the present invention; Figure 6 is a diagram of the operation of a data distribution service according to an embodiment of the present invention. Schematic diagram of the embodiment; Figure 7 is a system architecture diagram of the automated equipment control system according to the embodiment of the present invention; Figure 8 is an operation flow chart of the automated equipment control system according to the embodiment of the present invention; and Figure 9 is a system architecture diagram of the automated equipment control system according to the embodiment of the present invention. Another operational flow chart of the automated equipment control system.
為達成上述目的及功效,本發明所採用之技術手段及其構造,茲繪圖就本發明之較佳實施例詳加說明其構造與功能如下,俾利完全瞭解。 In order to achieve the above objects and effects, the technical means and structures adopted by the present invention are described in detail below with reference to the preferred embodiments of the present invention, so as to facilitate a complete understanding.
請參閱圖1,圖1為自動化設備控制系統1之使用環境示意圖,該自動化設備控制系統1透過有線或無線的網路3與多個自動化設備2通訊連接,該自動化設備控制系統1用以產生提供至該等自動化設備2的多個控制程式,每一控制程式對應於一個或多個自動化設備2。因此,該自動化設備控制系統1可藉由該等控制程式與該等自動化設備2建立通訊連線,並進行資訊以及指令的交換,使該等自動化設備2根據接收的指令進行對應的作動,並可提供即時作業環境資訊至該自動化設備控制系統1。
Please refer to Figure 1. Figure 1 is a schematic diagram of the usage environment of the automation
在此實施例中,該網路3可以行動通訊網路、乙太網路等網路協定來實現,且本發明不以此為限制。
In this embodiment, the
在此實施例中,該自動化設備控制系統1可以一機器人控制器來實現,且本發明不以此為限制。
In this embodiment, the automation
在此實施例中,該等自動化設備2可以機械手臂、自動導引車、加工機、智慧眼鏡、無人機等裝置來實現,且本發明不以此為限制。
In this embodiment, the
為了進一步說明本發明之自動化設備控制系統1,請參考圖2,在本實施例中,該自動化設備控制系統1至少包括一處理器單元10、一資料庫單元20以及一記憶單元30。在另一實施例中,自動化設備控制系統1’更可包括一網路單元40、一輸入輸出介面50、一擴充介面60以及一周邊單元70,如圖3所示,且本發明不以此為限制。
To further illustrate the automated
該資料庫單元20與該處理器單元10電性連接,其至少儲存有一配置文件,該配置文件係用以實現對資料分發服務進行配置及/或設定。
The
該記憶單元30與該處理器單元10電性連接,其包括多個程式,該等程式包括至少一應用程式31、一機器人作業系統程式32以及一資料分發服務程式33。進一步地,該記憶單元30更包括一作業系統程式34,如圖4所示。
The
該作業系統程式34用以管理該自動化設備控制系統1的硬體裝置,並執行該自動化設備控制系統1的基本事務操作,使不同軟體與硬體之間偕同運作。
The
在一實施例中,該作業系統程式34可以WindRiver、即時作業系統(Real-time operating system,RTOS)、Windows、Ubuntu來實現,且本發明不以此為限制。
In one embodiment, the
該資料分發服務程式33是用以實現該資料分發服務,提供以資料為中心的資料交換模型,以大幅改善主從式(Client/Server)或集中式系統架構資料交換常見的問題,包括單一節點故障所引發的網路延遲、資料傳輸模式常造成頻寬浪費與壅塞,以及無法滿足巨量端點實時資料交換的物聯網需求等問題。因此,這種分散式資料管理系統架構不但具有簡單、扁平、解耦等特性,並允許點對點(Peer-to-peer)溝通、組播(Multi-cast)及動態探索(Dynamic discovery)功能,相當適合實時性的系統高效的資料傳輸需求。此種系統架構係基於資料分發服務的主題的發布與訂閱傳輸機制,可讓通訊連接的自動化設備或感測器將其資料儲存於主題(Topic)上,有需要的自動化設備或新加入的自動化設備透過訂閱主題就可取得資料,不需另改寫程式,使整個系統的容錯程度更高,也更具有彈性。
The data
該機器人作業系統程式32是專為機器人軟體開發所設計出來的一套電腦作業系統架構,其用以進行程式間的資料傳遞以及交換,並作為該資料分發服務程式33以及該至少一應用程式31之間的中介層,使該至少一應用程式31可藉由該機器人作業系統程式32實現分散式資料管理,減少記憶體空間的占用,以提高系統之運作效能。
The robot
在本實施例中,該機器人作業系統程式32可以新世代機器人作業系統(Robot Operating System2,ROS2)來實現,且本發明不以此為限制。
In this embodiment, the robot
在本實施例中,該至少一應用程式31為一擴充軟體程式或一第三方開源軟體程式,例如Gmapping、AMCL、Navigation 2、NeuROSkin等不同功能之應用程式,且本發明不以此為限制。
In this embodiment, the at least one
請再參考圖2或圖3,該處理器單元10用以執行該記憶單元30的該等程式,並根據該資料庫單元20的該配置文件,以該資料分發服務程式33對該資料分發服務進行配置及/或設定,並執行及/或交換該自動化設備控制系統1、1’運作時所需的指令或資料。
Please refer to Figure 2 or Figure 3 again. The
在一實施例中,該處理器單元10可以一個或多個處理器來實現,且本發明不以此為限制。
In one embodiment, the
在一實施例中,該處理器單元10可以一圖形處理器(Graphics Processing Unit,GPU)及/或一中央處理器(Central Processing Unit,CPU)來實現,且本發明不以此為限制。
In one embodiment, the
藉此,該自動化設備控制系統1中的各個主題節點和資料都會共享該資料分發服務的各種服務,有效達到提高系統之運作效能的目的。
In this way, each subject node and data in the automation
進一步地,該網路單元40與該處理器單元10電性連接,其用以提供一網路通訊介面,以使該自動化設備控制系統1可與該網路3通訊連接,並透過該網路3與該等自動化設備2建立通訊。
Further, the
其中,該網路單元40可以符合行動通訊網路、乙太網路規範之通訊電路來實現,且本發明不以此為限制。
The
在一實施例中,該網路單元40更用以與該周邊單元70時脈同步,其中,該網路單元40可以符合精確時間協定(PTP)通訊電路來實現,且本發明不以此為限制。
In one embodiment, the
進一步地,該輸入輸出介面50與該處理器單元10電性連接,用以提供該自動化設備控制系統1、1’與外部裝置之資料交換介面,以提升該自動化設備控制系統1、1’與其它裝置協作的便利性,其中,該外部裝置例如為筆記型電腦、平板電腦、顯示螢幕、鍵盤、滑鼠、該自動化設備2等,且本發明不以此為限制。
Further, the input and
藉此,一使用者可藉由該外部裝置,對該自動化設備控制系統1、1’進行設定、控制及/或操作,使該自動化設備控制系統1、1’產生並提供該控制程式至該等自動化設備2,以有效建置自動化工業環境。
Thereby, a user can set, control and/or operate the automation
在一實施例中,該輸入輸出介面50例如為至少一通用序列匯流排(USB)、至少一控制器區域網路(CANBUS)、至少二數位輸入輸出埠(DIDO)、至少一樹莓派序列埠(I2C)、一序列周邊介面(SPI SD卡)、至少一序列通訊標準(RS232/RS422/RS485)、一高畫質多媒體介面(HDMI)以及至少一通用輸入/輸出(GPIO),且本發明不以此為限制。
In one embodiment, the input and
該擴充介面60與該處理器單元10電性連接,用以提供該自動化設備控制系統1、1’擴充裝置之介面,以藉由該擴充介面60提升該自動化設備控制系統1之規格。
The
在一實施例中,該擴充介面60可以一SATA擴充槽及/或一PCIe擴充槽的至少其中一者來實現,藉此提升該自動化設備控制系統1的擴充彈性,且本發明不以此為限制。
In one embodiment, the
該周邊單元70與該處理器單元10電性連接,用以收集該自動化設備控制系統1之環境資訊,以掌握該自動化設備控制系統1之周遭環境狀態。
The
在一實施例中,該周邊單元70可為至少一慣性量測單元(例如為九軸IMU)、至少一攝像頭(例如以多鏡頭連接器實現的攝影鏡頭模組),且本發明不以此為限制。
In one embodiment, the
藉此,該自動化設備控制系統1、1’可與遠端的該等自動化設備2通訊連接,並可以該外部裝置進行該自動化設備控制系統1的設定以及控制,並以該資料分發服務有效進行資料的交換以及服務,有效達到提高系統之運作效能的目的。此外,在單一該自動化設備控制系統1、1’控制多個自動化設備2的環境上,藉由該資料分發服務可提高效率、減少記憶體消耗、資料傳輸需求、以及增加擴充性,減少成本消耗以及時間延遲。
Thereby, the automation
接著,將對該資料分發服務程式33進一步說明。請參考圖5,該資料分發服務程式33用於提供一持續性(Durability)服務331、一疊接(Spliced)服務332、一簡單物件存取協定(SOAP)服務333、一資料庫管理系統(DBMS)服務334以及一DDS傳輸協定(DDSI/DDSI2)服務335。該資料分發服務的基礎通訊範圍定義為「域(Domain)」,該資料分發服務程式33控制該域內所有包含發布者/訂閱者之
參與者(Participant)的服務,且該資料分發服務程式33係通過該配置文件,如可延伸標記式語言(XML)的設定檔,指定特定大小的共享記憶體Shmem來創建或初始化一記憶體空間,其中,該記憶體空間用於提供所有參與者之間共享共有的服務與資料。
Next, the data
在本實施例中,該資料分發服務程式33之持續性服務331,係負責資料同步及資料回補的服務;該疊接服務332是整個資料分發服務的入口,係負責管理監控各個服務間的運作狀態;該簡單物件存取協定服務333,係負責各種資料分發服務測試、研發等工具的介面服務;該資料庫管理系統服務334,係負責控制資料儲存的服務;以及該DDS傳輸協定服務335,係負責控制資料分發服務底層互操作性的服務,基於資料分發服務的標準通訊框架實現包含自動發現機制、相容性、資料通訊及UDP/TCP/IP的通訊實作等功能。
In this embodiment, the
請參考圖6,圖6為本發明在該自動化設備控制系統1上執行該資料分發服務程式33之實施例示意圖,以下並配合圖2或圖3來進行說明。由於該資料分發服務的服務定義為域(Domain)服務,並於同一個域內的資料才可相互通訊,該域內任何一個節點的加入都視為參與者。作為發布者的參與者將單個至多個主題(如圖6所示之Ta、Tb、Tc、Td、Te)所對應的訊息(或資料)發佈到該資料分發服務,且該發布者係通過寫入器(用作讀取/消化資料的實體)將訊息發送到該域內的特定記憶體分區(Partition,如圖6的P1、P2、P3、P4),而該訂閱者以讀取器(用作寫入/產生資料的實體)根據訂閱的主題讀取接收不同類型的資料或應用程式,其中該主題中為引入有該記憶體空間的邏輯分區的字串集,並以該字串集的字串名稱來控制資料分發服務之記憶體空間與發布者及訂閱者的特定實例之間的關聯,即資料分發服務以主題為資料傳輸參考準則,每一個讀取器/寫入器會針對
同一個主題來交換資料,且彼此關聯的發布者以及訂閱者對應於相同的記憶體分區,藉此,訂閱者才會從對應的發布者接收資料,其中,每一個主題的訊息係與主題名稱、資料類型及資料分發服務所定義之服務品質(QoS)策略相關,並對該寫入器、該讀取器及該參與者作設定。
Please refer to FIG. 6 . FIG. 6 is a schematic diagram of an embodiment of the present invention executing the data
其中,該服務品質策略設定的參數係由該配置文件XML配置。進一步地,該服務品質策略可至少包括一可靠度(Reliability)、一持續能力(Durability)、一歷史紀錄(History)、一資料傳輸優先權(Transport priority)以及一主題擁有權(ownership),且本發明不以此為限制。 Wherein, the parameters set by the service quality policy are configured by the configuration file XML. Further, the service quality policy may include at least a reliability (Reliability), a sustainability (Durability), a history (History), a data transmission priority (Transport priority) and a topic ownership (ownership), and The present invention is not limited to this.
其中,藉由該持續能力的設定,可決定該訂閱者可讀取(被分享)到的內容的壽命,使該自動化設備控制系統1、1’更可適於集群機器人的開發。
Among them, through the setting of the persistence capability, the lifespan of the content that can be read (shared) by the subscriber can be determined, making the automated
上述之共享記憶體的該資料分發服務之系統架構中,使用者只須自行管理資料分發服務的應用程式,在這種模式下,域服務會被當作是一個獨立執行的過程,而該資料分發服務程式33將會控制所有參與者參與域的服務。然後,可藉由該配置文件來指定特定大小的該共享記憶體Shmem來創建或初始化記憶體空間。此外,由於該些應用程式間都會需要經過互操作性的自動發現機制(DDSI Interoperability)來互相發現彼此的存在,並且會互相交互,如域參與者(Participant)、寫入器(Writer)、讀取器(Reader)、主題(Topic)、服務品質(QoS)等各種的訊息,其訊息量相對相當龐大,但在此系統架構中,藉由共享記憶體模式,所有應用程式之間共享共有的服務與資料索引等,自動發現機制服務會將其視為同一個節點並且無須繁瑣的互相交換,因此可以省下很大的網路頻寬。在共享記憶體系統架構內,各個主題節點和資料都會共享該資料分發服務程式33的各種服務,此外網路層則是共享單一個網路介面IP/Port來發送訊息,所有資料的交換
和參照等都在該共享記憶體Shmem內部進行,如此可有效提高系統至少3~5倍的運作效能。
In the system architecture of the data distribution service of the above shared memory, the user only needs to manage the application of the data distribution service. In this mode, the domain service will be regarded as an independently executed process, and the data The
是以,在此系統架構700中(如圖4及圖7所示),該機器人作業系統程式32所實現的機器人作業系統層721以及該資料分發服務程式33所實現的資料分發服務層722作為一作業系統層710以及一應用層730之間的中介層720,以該資料分發服務層722實現分散式/非同步資料交換機制。資料在任何電腦上實際上只存在一次,但是該資料分發服務仍然會為每個使用者提供自己的私有資料表示視圖,如關聯式資料表式法或統一塑模語言(Unified Modeling Language,UML)。該資料分發服務的應用程式和該資料分發服務程式33都直接在該共享記憶體Shmem內互相交互資料,應用程式都會參考共同的資料而不是將各種資料互相複製。
Therefore, in this system architecture 700 (as shown in FIGS. 4 and 7 ), the robot
本發明更進一步彙整出一自動化設備控制系統之運作方法。請同時參考圖2、圖3及圖8,該運作方法至少包括以下步驟。 The present invention further summarizes the operation method of an automated equipment control system. Please refer to Figure 2, Figure 3 and Figure 8 at the same time. The operation method includes at least the following steps.
步驟S810,配置一資料分發服務。一自動化設備控制系統1、1’之一資料分發服務程式33以一配置文件指定一資料分發服務之共享資料庫以及服務品質策略。
Step S810, configure a data distribution service. A data
步驟S820,基於該共享資料庫寫入或讀取資料。該資料分發服務所定義之域內之多個參與者(發布者/訂閱者),針對同一個主題來交換資料,且彼此關聯的發布者以及訂閱者對應於相同的該共享資料庫的記憶體分區。 Step S820: Write or read data based on the shared database. Multiple participants (publishers/subscribers) in the domain defined by the data distribution service exchange data for the same topic, and the publishers and subscribers associated with each other correspond to the same memory of the shared database Partition.
進一步地,步驟S820更可包括以下步驟,請參考圖9: Further, step S820 may further include the following steps, please refer to Figure 9:
步驟S821,使該發布者發布的資料根據該主題儲存於該共享資料庫。該發布者發布的資料係根據該主題儲存於該共享資料庫中對應該主題的記憶體分區。 Step S821: The information published by the publisher is stored in the shared database according to the theme. The information published by the publisher is stored in the memory partition corresponding to the topic in the shared database according to the topic.
步驟S822,使該訂閱者根據訂閱的該主題於該共享資料庫取得該資料。該訂閱者以讀取對應該主題的該記憶體分區來取得該資料。 Step S822: The subscriber obtains the data from the shared database according to the subscribed topic. The subscriber obtains the data by reading the memory partition corresponding to the topic.
綜上所述,本申請之自動化設備控制系統中各個主題節點和資料都會共享資料分發服務的各種服務,並將共享記憶體視為同一個節點而無須繁瑣的互相交互各種訊息,藉此,所有資料交換和參照都在共享記憶體內部進行,有效達到提高系統之運作效能的目的。 In summary, each subject node and data in the automated equipment control system of this application will share various services of the data distribution service, and the shared memory will be regarded as the same node without cumbersome mutual exchange of various messages. Through this, all Data exchange and reference are performed within the shared memory, effectively achieving the purpose of improving the operating efficiency of the system.
331:持續性服務 331:Continuing services
332:疊接服務 332: splicing service
333:簡單物件存取協定服務 333: Simple Object Access Protocol Service
334:資料庫管理系統服務 334: Database management system services
335:DDS傳輸協定服務 335:DDS transport protocol service
Ta、Tb、Tc、Td、Te:主題 Ta, Tb, Tc, Td, Te: theme
P1、P2、P3、P4:記憶體分區 P1, P2, P3, P4: memory partition
Shmem:共享記憶體 Shmem: shared memory
Domain:域 Domain: domain
IP/Port:網路介面 IP/Port: Network interface
Claims (14)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW110104183A TWI812920B (en) | 2021-02-04 | 2021-02-04 | Automation equipment control system, system architecture and operation method thereof |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW110104183A TWI812920B (en) | 2021-02-04 | 2021-02-04 | Automation equipment control system, system architecture and operation method thereof |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW202232322A TW202232322A (en) | 2022-08-16 |
| TWI812920B true TWI812920B (en) | 2023-08-21 |
Family
ID=83782634
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW110104183A TWI812920B (en) | 2021-02-04 | 2021-02-04 | Automation equipment control system, system architecture and operation method thereof |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI812920B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TWI868502B (en) * | 2022-10-25 | 2025-01-01 | 國立成功大學 | Artificial intelligence remote model correction method |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101061485A (en) * | 2005-01-10 | 2007-10-24 | 国际商业机器公司 | Systems with message integration for data exchange, collection, monitoring and/or alerting |
| TW201600970A (en) * | 2014-06-17 | 2016-01-01 | 丹C 康 | System of system and method for virtualization and cloud computing system |
| TW201929492A (en) * | 2017-12-27 | 2019-07-16 | 立創智能股份有限公司 | Interactive physiology monitoring and sharing system |
| TW202026873A (en) * | 2018-08-23 | 2020-07-16 | 美商阿爾克斯股份有限公司 | Single node and multiple node datastore architecture in a network routing environment |
-
2021
- 2021-02-04 TW TW110104183A patent/TWI812920B/en active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101061485A (en) * | 2005-01-10 | 2007-10-24 | 国际商业机器公司 | Systems with message integration for data exchange, collection, monitoring and/or alerting |
| TW201600970A (en) * | 2014-06-17 | 2016-01-01 | 丹C 康 | System of system and method for virtualization and cloud computing system |
| TW201929492A (en) * | 2017-12-27 | 2019-07-16 | 立創智能股份有限公司 | Interactive physiology monitoring and sharing system |
| TW202026873A (en) * | 2018-08-23 | 2020-07-16 | 美商阿爾克斯股份有限公司 | Single node and multiple node datastore architecture in a network routing environment |
Also Published As
| Publication number | Publication date |
|---|---|
| TW202232322A (en) | 2022-08-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20160028780A1 (en) | Managed Device-to-Device Communication in Business Computing Systems | |
| CN106878163B (en) | Internet of things intelligent gateway with multi-data protocol conversion | |
| CN107454092B (en) | OPCUA and DDS protocol signal conversion device, communication system and communication method | |
| CN110365758A (en) | A Protocol Adaptive IoT Gateway System | |
| US8874686B2 (en) | DDS structure with scalability and adaptability and node constituting the same | |
| CN112887356A (en) | System for sharing memory data distribution service and operation method thereof | |
| CN108847979A (en) | A kind of adaptive configuration system and method based on SCADA | |
| CN106790222B (en) | MODBUS/full-interconnection manufacturing network information service adapter and implementation method thereof | |
| Zhang et al. | RETRACTED ARTICLE: Research on the overall architecture of Internet of Things middleware for intelligent industrial parks | |
| WO2021052442A1 (en) | Obtaining method, configuration method, edge computing cluster, and apparatuses | |
| CN115150454A (en) | A Cross-OS Centralized Publish-Subscribe Communication Middleware | |
| CN116431368B (en) | A sensor plug-and-play middleware for autonomous unmanned systems | |
| WO2023165483A1 (en) | Device management method and device management system | |
| US20060005204A1 (en) | Dynamic software integration architecture | |
| CN105491111B (en) | A kind of Internet of Things communication means based on WCF | |
| TWI812920B (en) | Automation equipment control system, system architecture and operation method thereof | |
| CN104702636B (en) | Information interacting method, device and analogue system based on assembly function agent skill group | |
| TWI774110B (en) | System for data distribution service with shared memory suitable for industrial automation equipment and operation method thereof | |
| CN104270432B (en) | Based on drilling well industry Real-time Data Service system and data interactive method | |
| CN105913198A (en) | Physical entity class model construction module used for intelligent port, intelligent port and intelligent network | |
| KR20220093476A (en) | Real-time monitoring system operation method using OPC UA-based web server | |
| CN111026091B (en) | Distributed telescope equipment remote control and observation system | |
| Tkachenko et al. | Communication messaging models in IoT/WoT: Survey and application | |
| CN116668553A (en) | A method, device, equipment and medium for collecting electric meter data | |
| CN114924891A (en) | A cloud service platform for intelligent collaboration of multiple devices |