TWI657322B - Embedded system - Google Patents
Embedded system Download PDFInfo
- Publication number
- TWI657322B TWI657322B TW106143447A TW106143447A TWI657322B TW I657322 B TWI657322 B TW I657322B TW 106143447 A TW106143447 A TW 106143447A TW 106143447 A TW106143447 A TW 106143447A TW I657322 B TWI657322 B TW I657322B
- Authority
- TW
- Taiwan
- Prior art keywords
- external devices
- control
- processing device
- embedded system
- control logic
- Prior art date
Links
Landscapes
- Testing And Monitoring For Control Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本發明提出一種嵌入式系統適用於監控多個外部設備。嵌入式系統內包括有處理裝置、介面卡以及儲存裝置。介面卡連接處理裝置以及多個外部設備。處理裝置透過介面卡連接多個外部設備,並對多個外部設備進行對應的監控及控制。儲存裝置連接處理裝置。儲存裝置儲存視覺化操作控制邏輯模組及視覺化編排圖控畫面模組。處理裝置藉由視覺化操作控制邏輯模組來決定這些外部設備的控制邏輯,以使外部設備依照控制邏輯進行運轉。處理裝置藉由視覺化編排圖控畫面模組來產生視覺化監控畫面。視覺化監控畫面包括這些外部設備的設備資訊。另外,一種設備監控及控制方法亦被提出。The present invention provides an embedded system suitable for monitoring a plurality of external devices. The embedded system includes a processing device, an interface card, and a storage device. The interface card connects the processing device and a plurality of external devices. The processing device connects a plurality of external devices through the interface card, and performs corresponding monitoring and control on the plurality of external devices. The storage device is connected to the processing device. The storage device stores a visual operation control logic module and a visual arrangement control picture module. The processing device determines the control logic of the external devices by visualizing the operational control logic module to cause the external device to operate in accordance with the control logic. The processing device generates a visualized monitoring image by visually orienting the graphics control screen module. The visual monitoring screen includes device information for these external devices. In addition, a device monitoring and control method has also been proposed.
Description
本發明是有關於一種控制系統,且特別是有關於一種利用嵌入式系統以控制及監控外部設備之方法。This invention relates to a control system and, more particularly, to a method of utilizing an embedded system to control and monitor an external device.
在設備監控的技術領域中,一般的設備監控系統是利用可編程序控制器(Programmable Logic Controller, PLC)作為底層控制器,以控制連接於可編程序控制器的儀表設備(或稱外部設備),並且設備管理者必須依據設備監控需求來額外編寫可編程序控制器的監控程式,以加入控制邏輯。除此之外,一般的設備監控系統還需透過網路經由資料收集與監控系統(Supervisory Control and Data Acquisition, SCADA)來取得可編程序控制器的接點,以使顯示設備資料於資料收集與監控系統的監控畫面。也就是說,一般的設備監控系統需要由專業程式設計人員來編輯監控程式,並且需要架設較為複雜且大量的周邊通訊設備,因而導致一般的設備監控系統具有架設成本過高、維護不易、監控系統結構複雜等缺點。因此,如何設計一種監控系統可有效監控儀表設備,並且具有架設成本較低以及系統結構較簡單等優點,是本領域目前重要的課題之一。In the technical field of equipment monitoring, a general equipment monitoring system uses a Programmable Logic Controller (PLC) as an underlying controller to control instrumentation equipment (or external equipment) connected to a programmable controller. And the device manager must additionally write the programmable controller's monitoring program to add control logic according to the device monitoring requirements. In addition, the general equipment monitoring system also needs to obtain the contact point of the programmable controller through the network through the Supervisory Control and Data Acquisition (SCADA), so that the display device data is collected and collected. Monitor the monitoring screen of the system. That is to say, the general equipment monitoring system needs to be edited by professional programmers, and it is necessary to set up a relatively complicated and large number of peripheral communication equipment, which results in the general equipment monitoring system having high installation cost, difficult maintenance, and monitoring system. The structure is complicated and so on. Therefore, how to design a monitoring system to effectively monitor instrumentation equipment has the advantages of low installation cost and simple system structure, and is one of the most important topics in the field.
本發明提供一種嵌入式系統以及設備監控及控制方法,可利用嵌入式系統監控及控制多個外部設備,且嵌入式系統中具有視覺化操作控制邏輯模組及視覺化編排圖控畫面模組。其中,視覺化操作控制邏輯模組可透過圖形化介面對多個外部設備進行監控。視覺化操作控制邏輯模組可透過選取的方式對多個外部設備進行控制及設定。The invention provides an embedded system and a device monitoring and control method, which can monitor and control a plurality of external devices by using an embedded system, and the embedded system has a visual operation control logic module and a visual arrangement control picture module. Among them, the visual operation control logic module can monitor multiple external devices through a graphical interface. The visual operation control logic module can control and set a plurality of external devices in a selected manner.
本發明的嵌入式系統適用於監控及控制多個外部設備。嵌入式系統包括一處理裝置、至少一介面卡以及一儲存裝置。介面卡連接處理裝置以及多個外部設備。處理裝置透過介面卡對多個外部設備進行對應的監控及控制。儲存裝置連接處理裝置。儲存裝置內儲存有一視覺化操作控制邏輯模組及一視覺化編排圖控畫面模組。處理裝置藉由視覺化操作控制邏輯模組來決定多個外部設備的多個控制邏輯,以使多個外部設備依照多個控制邏輯進行對應之運轉。處理裝置藉由視覺化編排圖控畫面模組來產生視覺化監控畫面,並且視覺化監控畫面包括多個外部設備的設備資訊。The embedded system of the present invention is suitable for monitoring and controlling a plurality of external devices. The embedded system includes a processing device, at least one interface card, and a storage device. The interface card connects the processing device and a plurality of external devices. The processing device performs corresponding monitoring and control on a plurality of external devices through the interface card. The storage device is connected to the processing device. A visual operation control logic module and a visual arrangement control picture module are stored in the storage device. The processing device determines a plurality of control logics of the plurality of external devices by visualizing the operation control logic module to enable the plurality of external devices to operate in accordance with the plurality of control logics. The processing device generates a visual monitoring screen by visually orienting the graphic control screen module, and the visual monitoring screen includes device information of a plurality of external devices.
本發明的一種設備監控及控制方法適用於嵌入式系統。嵌入式系統透過至少一介面卡對多個外部設備進行對應的監控及控制。設備監控及控制方法包括以下步驟:決定多個外部設備的多個控制邏輯,以使多個外部設備依照多個控制邏輯進行相對應之運轉。產生視覺化監控畫面,且視覺化監控畫面中用以顯示多個外部設備的之各種不同之設備資訊。A device monitoring and control method of the present invention is applicable to an embedded system. The embedded system performs corresponding monitoring and control on multiple external devices through at least one interface card. The device monitoring and control method includes the following steps: determining a plurality of control logics of the plurality of external devices to enable the plurality of external devices to operate in accordance with the plurality of control logics. A visualized monitoring screen is generated, and various different device information for displaying a plurality of external devices in the monitoring screen is visually monitored.
基於上述,本發明的嵌入式系統以及設備監控及控制方法,可提供設備管理者藉由執行儲存在嵌入式系統中的視覺化操作控制邏輯模組以及視覺化編排圖控畫面模組,來決定外部設備的控制邏輯,並且產生視覺化監控畫面。因此,設備管理者可便利地架設嵌入式系統,且無須複雜的設備監控系統設計,即可有效地監控多個外部設備。Based on the above, the embedded system and the device monitoring and control method of the present invention can provide the device manager to determine by performing a visual operation control logic module stored in the embedded system and visualizing the picture control picture module. The control logic of the external device and produces a visual monitoring screen. As a result, device managers can easily set up embedded systems and effectively monitor multiple external devices without the need for complex equipment monitoring system designs.
為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。The above described features and advantages of the invention will be apparent from the following description.
為了使本發明之內容可以被更容易明瞭,以下特舉實施例做為本發明確實能夠據以實施的範例。另外,凡可能之處,在圖式及實施方式中使用相同標號的元件/構件/步驟,係代表相同或類似部件。In order to make the content of the present invention easier to understand, the following specific embodiments are examples of the invention that can be implemented. In addition, wherever possible, the same elements, components, and steps in the drawings and embodiments are used to represent the same or similar components.
圖1繪示本發明一實施例的嵌入式系統的示意圖。參考圖1,嵌入式系統100包括處理裝置110以及儲存裝置120。嵌入式系統100內建有一智慧型控制閘道(Smart Control Gateway, SCG)功能,此智慧型控制閘道用以監控以及控制外部設備200_1、200_2~200_N,其中N為大於0的正整數。在本實施例中,處理裝置110連接儲存裝置120,並且透過至少一介面卡連接多個外部設備200_1、200_2~200_N。在本實施例中,儲存裝置120儲存有一視覺化操作控制邏輯模組121以及一視覺化編排圖控畫面模組122。在本實施例中,處理裝置110藉由視覺化操作控制邏輯模組121來決定外部設備200_1、200_2~200_N各別的控制邏輯(control logic),以使外部設備200_1、200_2~200_N分別依照對應的控制邏輯進行運轉。並且,處理裝置110藉由視覺化編排圖控畫面模組122產生監控畫面。FIG. 1 is a schematic diagram of an embedded system according to an embodiment of the invention. Referring to FIG. 1, the embedded system 100 includes a processing device 110 and a storage device 120. The embedded system 100 has a smart control gateway (SCG) function for monitoring and controlling the external devices 200_1, 200_2~200_N, where N is a positive integer greater than zero. In this embodiment, the processing device 110 is connected to the storage device 120, and connects the plurality of external devices 200_1, 200_2~200_N through at least one interface card. In the embodiment, the storage device 120 stores a visual operation control logic module 121 and a visualized map control screen module 122. In this embodiment, the processing device 110 determines the respective control logics of the external devices 200_1, 200_2 200 200_N by the visual operation control logic module 121, so that the external devices 200_1, 200_2~200_N respectively correspond to the corresponding control logics. The control logic is running. Moreover, the processing device 110 generates a monitoring screen by visualizing the map control screen module 122.
在本實施例中,視覺化操作控制邏輯模組121內建有多個控制邏輯指令(例如圖2所示),並且內建的控制邏輯指令可以對應控制多個不同的外部設備。在本實施例中,視覺化操作控制邏輯模組121可依據使用者的需求新增或刪除所需的控制邏輯指令,且每一控制邏輯指令係用已對應專屬的外部設備200_1、200_2~200_N。當使用者使用一個新的外部設備時,若內建的視覺化操作控制邏輯模組121無法對應到新的外部設備,則使用者可透過網路(Internet)連線的方式,到遠端的伺服器(Server)進行對應的下載,並將下載下來的新的控制邏輯指令儲存在儲存裝置120中。In this embodiment, the visual operation control logic module 121 has a plurality of control logic instructions (such as shown in FIG. 2) built in, and the built-in control logic instructions can correspondingly control a plurality of different external devices. In this embodiment, the visual operation control logic module 121 can add or delete required control logic instructions according to the needs of the user, and each control logic instruction uses the corresponding external devices 200_1, 200_2~200_N. . When the user uses a new external device, if the built-in visual operation control logic module 121 cannot correspond to the new external device, the user can connect to the remote device through the Internet connection. The server performs a corresponding download and stores the downloaded new control logic instruction in the storage device 120.
視覺化編排圖控畫面模組122內建有多個外部設備200_1、200_2~200_N並且內建的圖形化顯示介面可以對應顯示多個不同的外部設備(例如圖3所示)。在本實施例中,可依據實用者的需求新增或刪除所需的圖形化顯示介面,且每一圖形化顯示介面係用於對應專屬的外部設備200_1、200_2~200_N。透過視覺化編排圖控畫面模組122,使用者可即時監控及顯示外部設備200_1、200_2~200_N的當前狀態。The visual layout control screen module 122 has a plurality of external devices 200_1, 200_2~200_N built therein and the built-in graphical display interface can display a plurality of different external devices (for example, as shown in FIG. 3). In this embodiment, the required graphical display interface can be added or deleted according to the needs of the utility, and each graphical display interface is used to correspond to the exclusive external devices 200_1, 200_2~200_N. By visualizing the map control screen module 122, the user can instantly monitor and display the current status of the external devices 200_1, 200_2~200_N.
在本實施例中,嵌入式系統100用以監控及控制外部設備200_1、200_2~200_N各別的設備狀態,其中外部設備200_1、200_2~200_N可例如是空調設備、空壓設備、水塔設備或冰機設備等諸如此類的儀表設備或機器。具體而言,在本實施例中,設備管理者可將嵌入式系統100安裝至設備機房、工廠或控制中心等,並且連接外部設備200_1、200_2~200_N。設備管理者可透過嵌入式系統100執行智慧型控制閘道功能,在本實施例中,智慧型控制閘道功能包括有視覺化操作控制邏輯模組121以及視覺化編排圖控畫面模組122,用來監控及控制外部設備200_1、200_2~200_N。此外,在一實施例中,嵌入式系統100可進一步連接輸入單元310,例如鍵盤、滑鼠或控制按鈕等,以使設備管理者可透過輸入單元310拖拉或選取視覺化操作控制邏輯模組121以及視覺化編排圖控畫面模組122。並且,嵌入式系統100可進一步連接顯示單元320,以使設備管理者可透過顯示單元320來監控外部設備200_1、200_2~200_N,並以視覺化編排圖控畫面模組122來呈現外部設備200_1、200_2~200_N的狀態。In this embodiment, the embedded system 100 is configured to monitor and control the status of each device of the external devices 200_1, 200_2~200_N, wherein the external devices 200_1, 200_2~200_N may be, for example, an air conditioner, an air pressure device, a water tower device, or ice. Instrument equipment or machines such as machine equipment. Specifically, in the present embodiment, the device manager can install the embedded system 100 to the equipment room, the factory or the control center, and the like, and connect the external devices 200_1, 200_2 200 200_N. The device administrator can perform the smart control gate function through the embedded system 100. In this embodiment, the smart control gateway function includes a visual operation control logic module 121 and a visualized map control screen module 122. It is used to monitor and control the external devices 200_1, 200_2~200_N. In addition, in an embodiment, the embedded system 100 can further connect the input unit 310, such as a keyboard, a mouse or a control button, etc., so that the device manager can drag or select the visual operation control logic module 121 through the input unit 310. And visualizing the graphical control screen module 122. Moreover, the embedded system 100 can further connect the display unit 320, so that the device manager can monitor the external devices 200_1, 200_2~200_N through the display unit 320, and visually arrange the image control screen module 122 to present the external device 200_1, The status of 200_2~200_N.
在本實施例中,嵌入式系統100可依據輸入單元310拖拉或選取視覺化編輯外部設備200_1、200_2~200_N對應的控制邏輯,以使外部設備200_1、200_2~200_N的可分別依據對應的控制邏輯進行運轉。具體而言,嵌入式系統100可藉由處理裝置110視覺化操作控制邏輯模組121來拖拉或選取外部設備200_1、200_2~200_N各別的控制邏輯,以使嵌入式系統100可藉由遠端控制的方式來同時控制外部設備200_1、200_2~200_N。In this embodiment, the embedded system 100 can drag or select the control logic corresponding to the external device 200_1, 200_2~200_N according to the input unit 310, so that the external devices 200_1, 200_2~200_N can be respectively according to the corresponding control logic. Run it. Specifically, the embedded system 100 can visualize the operation control logic module 121 by the processing device 110 to drag or select the respective control logics of the external devices 200_1, 200_2~200_N, so that the embedded system 100 can be remotely The manner of control controls the external devices 200_1, 200_2~200_N at the same time.
在本實施例中,智慧型控制閘道功能的視覺化操作控制邏輯模組121可例如是Google Blockly或諸如此類的視覺化程式設計語言(Visual programming language, VPL)。視覺化操作控制邏輯模組121可提供視覺化的控制邏輯的拖拉組合,以達到積木式的程式編寫功能。也就是說,設備管理者可藉由視覺化操作控制邏輯模組121來編寫程式語言,以產生對應的控制邏輯。因此,嵌入式系統100可依據設備管理者編寫的控制邏輯來自動控制外部設備200_1、200_2~200_N。In this embodiment, the visual operation control logic module 121 of the smart control gateway function may be, for example, a Google Visualization Language (VPL) or a visual programming language (VPL). The visual operation control logic module 121 can provide a drag-and-drop combination of visual control logic to achieve modular programming functions. That is to say, the device manager can write the programming language by visualizing the operation control logic module 121 to generate corresponding control logic. Therefore, the embedded system 100 can automatically control the external devices 200_1, 200_2 200 200_N according to the control logic written by the device manager.
在本實施例中,嵌入式系統100可依據輸入單元310編排在監控畫面中的外部設備200_1、200_2~200_N的圖形化顯示介面。具體而言,嵌入式系統100可藉由視覺化編排圖控畫面模組122來產生外部設備200_1、200_2~200_N的視覺化監控畫面,以使嵌入式系統100可透過顯示單元320來顯示監控畫面。In this embodiment, the embedded system 100 can arrange the graphical display interfaces of the external devices 200_1, 200_2 200 200_N in the monitoring screen according to the input unit 310. Specifically, the embedded system 100 can generate a visualized monitoring screen of the external devices 200_1, 200_2 200 200_N by visualizing the graphics control screen module 122, so that the embedded system 100 can display the monitoring screen through the display unit 320. .
在本實施例中,智慧型控制閘道功能的視覺化編排圖控畫面模組122可例如具有人機介面(Human Machine Interface, HMI)編輯器、資料收集與監控系統(Supervisory Control and Data Acquisition, SCADA)編輯器等諸如此類的編輯器功能。視覺化編排圖控畫面模組122可提供圖形化的監控畫面編排功能。也就是說,設備管理者可藉由視覺化編排圖控畫面模組122來依據特定監控需求來自行完成監控畫面的設計,以使嵌入式系統100可依據設備管理者設計的視覺化監控畫面來提供至顯示單元320,以顯示監控畫面。In this embodiment, the visualized control map module 122 of the smart control gateway function may have, for example, a Human Machine Interface (HMI) editor, a data collection and monitoring system (Supervisory Control and Data Acquisition, SCADA) Editor and the like editor functions. The visual layout control screen module 122 can provide a graphical monitoring screen layout function. In other words, the device manager can visually arrange the picture control module 122 to complete the design of the monitoring picture according to specific monitoring requirements, so that the embedded system 100 can be based on the visual monitoring picture designed by the device manager. Provided to the display unit 320 to display a monitoring screen.
此外,在本實施例中,視覺化操作控制邏輯模組121以及視覺化編排圖控畫面模組122內部建置有多個不同的設備規格資料庫,並且這些不同的設備規格資料庫對應於多個外部設備200_1、200_2~200_N的規格資料。因此,當設備管理者在建置嵌入式系統100時,設備管理者可拖拉或選取視覺化操作控制邏輯模組121以及拖拉或選取視覺化編排圖控畫面模組122來選取對應外部設備的對應設備規格資料,以便利地設定外部設備200_1、200_2~200_N各別的控制邏輯以及視覺化監控畫面。另外,在一實施例中,設備管理者無需手動更新設備規格資料,設備規格資料庫亦可藉由與外部的電腦設備或伺服器進行通訊連接,以進行資料更新。In addition, in the embodiment, the visual operation control logic module 121 and the visualized layout control screen module 122 internally have a plurality of different device specification databases, and the different device specification databases correspond to multiple Specification data of the external devices 200_1, 200_2~200_N. Therefore, when the device manager is constructing the embedded system 100, the device manager can drag or select the visual operation control logic module 121 and drag or select the visual arrangement control picture module 122 to select the corresponding external device. Device specification data to conveniently set the control logic and visual monitoring screen of the external devices 200_1, 200_2~200_N. In addition, in an embodiment, the device manager does not need to manually update the device specification data, and the device specification database can also perform communication update by communicating with an external computer device or server.
在本實施例中,處理裝置110可例如是中央處理單元(Central Processing Unit, CPU),或是其他可程式化之一般用途或特殊用途的微處理器(Microprocessor)、數位訊號處理器(Digital Signal Processor, DSP)、可程式化控制器、特殊應用積體電路(Application Specific Integrated Circuits, ASIC)、可程式化邏輯裝置(Programmable Logic Device, PLD)、其他類似處理裝置或這些裝置的組合。In this embodiment, the processing device 110 can be, for example, a central processing unit (CPU), or other programmable general purpose or special purpose microprocessor (Microprocessor), digital signal processor (Digital Signal) Processor, DSP), Programmable Controller, Application Specific Integrated Circuits (ASIC), Programmable Logic Device (PLD), other similar processing devices, or a combination of these devices.
在本實施例中,儲存裝置120可例如是動態隨機存取記憶體(Dynamic Random Access Memory, DRAM)、快閃記憶體(Flash memory)或非揮發性隨機存取記憶體(Non-Volatile Random Access Memory, NVRAM)等。儲存裝置120可儲存本發明各實施例所述之模組以及資料,以使處理裝置110可藉由讀取儲存裝置120的模組以及資料來實現本發明各實施例所述的嵌入式系統以及設備監控及控制方法。In this embodiment, the storage device 120 can be, for example, a dynamic random access memory (DRAM), a flash memory, or a non-volatile random access memory (Non-Volatile Random Access). Memory, NVRAM), etc. The storage device 120 can store the modules and data described in the embodiments of the present invention, so that the processing device 110 can implement the embedded system according to various embodiments of the present invention by reading the modules and data of the storage device 120. Equipment monitoring and control methods.
在本實施例中,嵌入式系統100的設備主機可選擇性設置不同通訊介面類型的多個介面卡,並且這些介面卡為可插拔。在本實施例中,處理裝置110經由具有對應通訊介面類型的這些介面卡的至少其中之一的連接埠130與外部設備200_1、200_2~200_N進行通訊。在本實施例中,連接埠130可例如是通用序列匯流排(USB)介面、RS-485介面或以太(Ethernet)介面等諸如此類的通訊介面類型,但本發明並不限於此。在本實施例中,連接埠130的通訊介面類型依據外部設備200_1、200_2~200_N的通訊介面類型來決定。也就是說,嵌入式系統100可適用於監控各式不同的通訊介面類型的外部設備。設備管理者可依據不同監控需求來將對應的介面卡設置在嵌入式系統100中的主機板,以提供特定通訊介面類型的連接埠。因此,本實施例的連接埠130可為一個或多個,而不限於圖1所示。In this embodiment, the device host of the embedded system 100 can selectively set multiple interface cards of different communication interface types, and the interface cards are pluggable. In this embodiment, the processing device 110 communicates with the external devices 200_1, 200_2 200 200_N via a port 130 having at least one of the interface cards of the corresponding communication interface type. In this embodiment, the port 130 may be, for example, a universal serial bus (USB) interface, an RS-485 interface or an Ethernet interface, or the like, but the invention is not limited thereto. In this embodiment, the communication interface type of the port 130 is determined according to the communication interface type of the external devices 200_1, 200_2~200_N. That is, the embedded system 100 can be adapted to monitor external devices of various types of communication interfaces. The device manager can set the corresponding interface card to the motherboard in the embedded system 100 according to different monitoring requirements to provide a connection port of a specific communication interface type. Therefore, the port 130 of the present embodiment may be one or more, and is not limited to that shown in FIG.
舉例而言,在一實施例中,外部設備200_1、200_2~200_N若具有相同通訊介面類型,則外部設備200_1、200_2~200_N可彼此串聯連接,並且連接至具有相同通訊介面的一個連接埠130。然而,在另一實施例中,外部設備200_1、200_2~200_N若具有不同的多種通訊介面類型,則設備管理者可依據這些通訊介面類型來增設多種介面卡,以使外部設備200_1、200_2~200_N可各別連接至相應的通訊介面類型的多個連接埠。For example, in an embodiment, if the external devices 200_1, 200_2~200_N have the same communication interface type, the external devices 200_1, 200_2~200_N may be connected to each other in series and connected to one port 130 having the same communication interface. However, in another embodiment, if the external devices 200_1, 200_2~200_N have different communication interface types, the device manager may add multiple interface cards according to the communication interface types, so that the external devices 200_1, 200_2~200_N Multiple ports can be connected to the respective communication interface type.
在本實施例中,當嵌入式系統100開始監控外部設備200_1、200_2~200_N時,處理裝置110透過連接埠130持續接收外部設備200_1、200_2~200_N的設備狀態訊號,以持續更新外部設備200_1、200_2~200_N的設備資訊。在本實施例中,外部設備200_1、200_2~200_N可各別包括各式感測器,以使外部設備200_1、200_2~200_N可藉由感測器所感測的設備資訊(例如溫度、壓力、電壓等),來對應提供設備狀態訊號至嵌入式系統100。並且,在本實施例中,處理裝置110依據預先設定的控制邏輯來透過連接埠130輸出控制訊號至外部設備200_1、200_2~200_N,以控制外部設備200_1、200_2~200_N。也就是說,本實施例的連接埠130可同時接收外部設備200_1、200_2~200_N的設備狀態訊號,並輸出控制訊號至外部設備200_1、200_2~200_N。In this embodiment, when the embedded system 100 starts monitoring the external devices 200_1, 200_2~200_N, the processing device 110 continuously receives the device status signals of the external devices 200_1, 200_2~200_N through the port 130 to continuously update the external device 200_1, Device information of 200_2~200_N. In this embodiment, the external devices 200_1, 200_2~200_N may respectively include various types of sensors, so that the external devices 200_1, 200_2~200_N can sense device information (such as temperature, pressure, voltage) sensed by the sensor. Etc., to provide device status signals to the embedded system 100. Moreover, in the present embodiment, the processing device 110 outputs control signals to the external devices 200_1, 200_2 200 200_N through the port 130 according to preset control logic to control the external devices 200_1, 200_2 200 200_N. That is to say, the port 130 of the embodiment can simultaneously receive the device status signals of the external devices 200_1, 200_2~200_N, and output the control signals to the external devices 200_1, 200_2~200_N.
圖2繪示本發明一實施例的視覺化操作控制邏輯的示意圖,搭配圖1以及圖2。當設備管理者透過輸入單元310來操作嵌入式系統100,並且透過顯示單元320來監控外部設備200_1、200_2~200_N時,處理裝置110可執行視覺化操作控制邏輯模組121,以編輯外部設備200_1、200_2~200_N的動作。在本實施例中,顯示單元320可顯示視覺化操作控制邏輯模組121的畫面內容的一部分或全部畫面。可如圖2所示。在本實施例中,畫面400的內容可例如包括多個視覺化的控制邏輯指令410、420、430,以供設備管理者設計關於特定設備的程式語言。設備管理者可藉由編排或拉選這些控制邏輯指令410、420、430的方式,來組成或實現特定設備的邏輯控制。2 is a schematic diagram of a visual operation control logic according to an embodiment of the present invention, together with FIG. 1 and FIG. 2. When the device manager operates the embedded system 100 through the input unit 310 and monitors the external devices 200_1, 200_2 200 200_N through the display unit 320, the processing device 110 can execute the visual operation control logic module 121 to edit the external device 200_1. , 200_2~200_N action. In the present embodiment, the display unit 320 can display a part or all of the screen content of the visual operation control logic module 121. Can be as shown in Figure 2. In this embodiment, the content of screen 400 may, for example, include a plurality of visualized control logic instructions 410, 420, 430 for the device manager to design a programming language for a particular device. The device manager can compose or implement the logical control of a particular device by orchestrating or pulling the control logic instructions 410, 420, 430.
舉例而言,外部設備200_1、200_2~200_N可例如包括冷卻水、冰機、水泵以及水塔。設備管理者可設計監控冷卻水、冰機、水泵以及水塔的監控程序。因此,在圖2中,控制邏輯指令411~415用來表示冷卻水的水溫監控程式。在控制邏輯指令411中,設備管理者可選擇監控冷卻水回水溫。在控制邏輯指令412中,設備管理者可選擇特定運算功能,例如相加或相減。在控制邏輯指令413中,設備管理者可選擇監控冷卻水出水溫。在控制邏輯指令414中,設備管理者可選擇特定條件功能,例如大於或小於。在控制邏輯指令415中,設備管理者可選擇溫度的門檻值為3℃。也就是說,當處理裝置110執行控制邏輯指令410時,嵌入式系統100可監控冷卻水的回水溫與下水溫,並且判斷冷卻水的回水溫與下水溫的溫差是否低於3℃,以進一步決定是否執行控制邏輯指令420、430。For example, the external devices 200_1, 200_2 200 200_N may include, for example, cooling water, an ice machine, a water pump, and a water tower. Equipment managers can design monitoring programs that monitor cooling water, ice machines, pumps, and water towers. Therefore, in Fig. 2, control logic instructions 411 to 415 are used to indicate the water temperature monitoring program of the cooling water. In control logic instruction 411, the equipment manager may choose to monitor the cooling water return water temperature. In control logic instructions 412, the device manager can select specific operational functions, such as addition or subtraction. In control logic instruction 413, the equipment manager may choose to monitor the cooling water outlet temperature. In control logic instructions 414, the device manager can select a particular conditional function, such as greater or lesser. In control logic instruction 415, the device manager can select a temperature threshold of 3 °C. That is, when the processing device 110 executes the control logic instruction 410, the embedded system 100 can monitor the return water temperature and the water temperature of the cooling water, and determine whether the temperature difference between the return water temperature and the water temperature of the cooling water is lower than 3 ° C. To further determine whether to execute control logic instructions 420, 430.
在圖2中,控制邏輯指令421~423用以表示冰機以及水塔的控制程式。當處理裝置110判斷冷卻水的回水溫與下水溫的溫差低於3℃時,處理裝置110執行控制邏輯指令420。在控制邏輯指令421中,設備管理者可選擇控制冰機來冷卻水泵,並且操作冰機以比例微積分(Proportion Integration Differentiation, PID)的調節方式來加載冰機至58赫茲(Hz),以冷卻水泵。在控制邏輯指令422中,設備管理者可設定延遲1000毫秒(ms)的時間。在控制邏輯指令423中,設備管理者可設定以PID的調節方式來加載水塔至58赫茲(Hz)。也就是說,當處理裝置110執行控制邏輯指令420時,處理裝置110可經由連接埠130來輸出控制訊號至冰機以及水塔,以控制冰機以及水塔的負載。In Figure 2, control logic instructions 421-423 are used to represent the control program for the ice machine and the water tower. When the processing device 110 determines that the temperature difference between the return water temperature of the cooling water and the sewage temperature is less than 3 ° C, the processing device 110 executes the control logic command 420. In the control logic instruction 421, the equipment manager can choose to control the ice machine to cool the water pump, and operate the ice machine to adjust the Proportion Integration Differentiation (PID) to load the ice machine to 58 Hz to cool the water pump. . In control logic instruction 422, the device manager can set a time delay of 1000 milliseconds (ms). In control logic instruction 423, the device manager can set the PID to be loaded to 58 Hz by the PID adjustment. That is, when the processing device 110 executes the control logic command 420, the processing device 110 can output a control signal to the ice machine and the water tower via the port 130 to control the load of the ice machine and the water tower.
在圖2中,控制邏輯指令430包括組合多個控制邏輯指令431~433來表示冰機以及水塔的控制程式。當處理裝置110判斷冷卻水的回水溫與下水溫的溫差未低於3℃時,處理裝置110執行控制邏輯指令430。在控制邏輯指令431中,設備管理者可選擇控制冰機來冷卻水泵,並且操作冰機以比例微積分(Proportion Integration Differentiation, PID)的調節方式來減載冰機至46赫茲(Hz)。在控制邏輯指令432中,設備管理者可設定延遲2500毫秒(ms)的時間。在控制邏輯指令433中,設備管理者可設定以PID的調節方式來減載水塔至46赫茲(Hz)。也就是說,當處理裝置110執行控制邏輯指令430時,處理裝置110可經由連接埠130來輸出控制訊號至冰機以及水塔,以控制冰機以及水塔的負載。In FIG. 2, control logic instructions 430 include control programs that combine a plurality of control logic instructions 431-433 to represent the ice machine and the water tower. When the processing device 110 determines that the temperature difference between the return water temperature of the cooling water and the sewage temperature is not lower than 3 ° C, the processing device 110 executes the control logic command 430. In control logic instruction 431, the equipment manager may choose to control the ice machine to cool the water pump, and operate the ice machine to reduce the load of the ice machine to 46 Hz by a Proportion Integration Differentiation (PID) adjustment. In control logic instruction 432, the device manager can set a time delay of 2500 milliseconds (ms). In control logic instruction 433, the device manager can set the PID to be de-loaded to 46 Hertz (Hz). That is, when the processing device 110 executes the control logic command 430, the processing device 110 can output a control signal to the ice machine and the water tower via the port 130 to control the load of the ice machine and the water tower.
因此,當設備管理者將嵌入式系統100連接至外部設備200_1、200_2~200_N後,設備管理者即可透過視覺化操作控制邏輯模組121來快速地編輯外部設備200_1、200_2~200_N的控制邏輯,而有效控制外部設備200_1、200_2~200_N。也就是說,本實施例的嵌入式系統100可提供便捷的監控系統架設優點。Therefore, after the device manager connects the embedded system 100 to the external devices 200_1, 200_2~200_N, the device manager can quickly edit the control logic of the external devices 200_1, 200_2~200_N through the visual operation control logic module 121. And the external devices 200_1, 200_2~200_N are effectively controlled. That is to say, the embedded system 100 of the present embodiment can provide a convenient monitoring system installation advantage.
圖3繪示本發明一實施例的視覺化編排圖控畫面的示意圖,搭配圖1以及圖3。當設備管理者完成如上述圖2的控制邏輯編輯之後,處理裝置110執行視覺化編排圖控畫面模組122來產生對應的視覺化監控畫面至顯示單元320,以使顯示單元320可例如顯示如圖3所示的監控畫面500。舉例而言,在圖3中,畫面500的內容可包括選單圖示510以及多個圖形化顯示介面520、530、540、550,其中這些圖形化顯示介面520、530、540、550可例如是呈現如上述圖2實施例的冷卻水、冰機、水泵以及水塔的多個不同的設備圖形。選單圖示510可包括多個功能圖標511、512、513、514。設備管理者可例如透過點擊選單圖示510的這些功能圖標511、512、513、514來新增、刪除或選擇這些圖形化顯示介面520、530、540、550。這些圖形化顯示介面520、530、540、550對應的圖示資訊可由內部建置的設備規格資料庫直接取得。設備管理者可藉由編排或拉選圖形化顯示介面520、530、540、550,以編輯監控畫面500。FIG. 3 is a schematic diagram of a visual layout control screen according to an embodiment of the present invention, which is combined with FIG. 1 and FIG. 3. After the device manager completes the control logic editing as shown in FIG. 2 above, the processing device 110 executes the visual layout control screen module 122 to generate a corresponding visualized monitoring screen to the display unit 320, so that the display unit 320 can display, for example, The monitor screen 500 shown in FIG. For example, in FIG. 3, the content of the screen 500 may include a menu icon 510 and a plurality of graphical display interfaces 520, 530, 540, 550, wherein the graphical display interfaces 520, 530, 540, 550 may be, for example, A plurality of different device graphics of the cooling water, ice machine, water pump, and water tower as in the embodiment of Figure 2 above are presented. The menu icon 510 can include a plurality of function icons 511, 512, 513, 514. The device manager can add, delete, or select these graphical display interfaces 520, 530, 540, 550, for example, by clicking on the function icons 511, 512, 513, 514 of the menu icon 510. The graphical information corresponding to the graphical display interfaces 520, 530, 540, 550 can be directly obtained from the internally built device specification database. The device manager can edit the monitor screen 500 by orchestrating or pulling the graphical display interfaces 520, 530, 540, 550.
在圖3中,圖形化顯示介面520、530、540、550可各別包括資訊圖標521、531、541、551,以對應顯示冷卻水、冰機、水泵以及水塔的設備資訊。這些資訊圖標511、512、513、514可例如分對應顯示冷卻水、冰機、水泵以及水塔的負載程度、溫度、壓力、或電壓等諸如此類的數值參數的設備資訊。值得注意的是,這些資訊圖標511、512、513、514可隨著對應的外部設備的設備狀態訊號來不斷更新,以提供即時的設備資訊。因此,本實施例的視覺化編排圖控畫面模組122可提供便利的監控畫面編輯功能,以使於顯示單元320上顯示即時的設備資訊,以利於設備管理者監控。In FIG. 3, the graphical display interfaces 520, 530, 540, 550 can each include information icons 521, 531, 541, 551 to correspond to device information for displaying cooling water, ice machines, water pumps, and water towers. These information icons 511, 512, 513, 514 may, for example, correspond to device information indicating numerical parameters such as the degree of load of the cooling water, the ice machine, the water pump, and the water tower, temperature, pressure, or voltage, and the like. It should be noted that these information icons 511, 512, 513, 514 can be continuously updated with the device status signals of the corresponding external devices to provide instant device information. Therefore, the visual layout control screen module 122 of the embodiment can provide a convenient monitoring screen editing function to display the instant device information on the display unit 320 to facilitate device manager monitoring.
圖4繪示本發明一實施例的設備監控及控制方法的流程圖。參考圖1以及圖4,本實施例的設備監控及控制方法可至少適用於圖1實施例的嵌入式系統100,以使嵌入式系統100可進行如下述的步驟流程。在本實施例中,嵌入式系統100依據輸入單元310拖拉或選取視覺化操作控制邏輯模組121,以編輯多個外部設備200_1、200_2~200_N的多個控制邏輯(步驟S610)。在本實施例中,視覺化操作控制邏輯模組121制定外部設備200_1、200_2~200_N的多個控制邏輯,並且依據這些控制邏輯來透過介面卡的連接埠130輸出多個控制訊號至外部設備200_1、200_2~200_N,以使外部設備200_1、200_2~200_N分別依照這些控制邏輯進行運轉(步驟S620)。4 is a flow chart of a method for monitoring and controlling a device according to an embodiment of the invention. Referring to FIG. 1 and FIG. 4, the device monitoring and control method of the present embodiment can be applied at least to the embedded system 100 of the embodiment of FIG. 1, so that the embedded system 100 can perform the following procedure flow. In this embodiment, the embedded system 100 drags or selects the visual operation control logic module 121 according to the input unit 310 to edit a plurality of control logics of the plurality of external devices 200_1, 200_2 200 200_N (step S610). In this embodiment, the visual operation control logic module 121 formulates a plurality of control logics of the external devices 200_1, 200_2 200200_N, and outputs a plurality of control signals to the external device 200_1 through the interface 130 of the interface card according to the control logic. 200_2~200_N, so that the external devices 200_1, 200_2~200_N operate according to these control logics respectively (step S620).
在本實施例中,嵌入式系統100依據輸入單元310拖拉或選取視覺化編排圖控畫面模組122,以編排在監控畫面中的這些外部設備200_1、200_2~200_N的多個圖形化顯示介面(步驟S630)。在本實施例中,處理裝置110經由視覺化編排圖控畫面模組122的編輯結果來產生對應的視覺化監控畫面,並且此視覺化監控畫面包括外部設備200_1、200_2~200_N的各種不同的設備資訊(步驟S640)。在本實施例中,嵌入式系統100輸出視覺化監控畫面至顯示單元320,以使顯示單元320依據視覺化監控畫面顯示監控畫面(步驟S650)。在本實施例中,嵌入式系統100透過介面卡的連接埠130持續接收外部設備200_1、200_2~200_N各別的設備狀態訊號,以持續更新外部設備200_1、200_2~200_N的各種不同的設備資訊,並且對應更新視覺化監控畫面(步驟S660)。因此,本實施例的設備監控及控制方法,可有效地監控及控制多個外部設備。In this embodiment, the embedded system 100 drags or selects the visualized map control screen module 122 according to the input unit 310 to arrange a plurality of graphical display interfaces of the external devices 200_1, 200_2~200_N in the monitoring screen ( Step S630). In this embodiment, the processing device 110 generates a corresponding visualized monitoring image by visually editing the editing result of the graphic control screen module 122, and the visualized monitoring screen includes various different devices of the external devices 200_1, 200_2 200 200_N. Information (step S640). In the present embodiment, the embedded system 100 outputs the visualized monitoring screen to the display unit 320 to cause the display unit 320 to display the monitoring screen according to the visualized monitoring screen (step S650). In this embodiment, the embedded system 100 continuously receives the device status signals of the external devices 200_1, 200_2~200_N through the interface 130 of the interface card to continuously update various device information of the external devices 200_1, 200_2~200_N. And the visualized monitoring screen is updated correspondingly (step S660). Therefore, the device monitoring and control method of the embodiment can effectively monitor and control a plurality of external devices.
然而,關於本實施例的嵌入式系統100的相關裝置特徵、實施細節以及技術特徵,可參考上述圖1至圖3的實施例內容,而獲致足夠的教示、建議以及實施說明,因此不再贅述。However, with regard to related device features, implementation details, and technical features of the embedded system 100 of the present embodiment, reference may be made to the contents of the foregoing embodiments of FIG. 1 to FIG. 3 to obtain sufficient teachings, suggestions, and implementation descriptions, and thus no further description is provided. .
綜上所述,本發明的嵌入式系統以及設備監控及控制方法,可利用建置有本發明的嵌入式系統的單一主機來同時監控多個外部設備,而無需建置複雜的系統結構。本發明的嵌入式系統包括內建視覺化操作控制邏輯模組以及視覺化編排圖控畫面模組,設備管理者可透過操作視覺化操作控制邏輯模組以及視覺化編排圖控畫面模組即可便利地編輯這些外部設備的各別控制邏輯以及監控畫面。因此,本發明的嵌入式系統以及設備監控及控制方法可有效監控這些外部設備,並且具有建置成本較低以及系統結構較簡單的優點。In summary, the embedded system and the device monitoring and control method of the present invention can simultaneously monitor a plurality of external devices by using a single host on which the embedded system of the present invention is built, without constructing a complicated system structure. The embedded system of the invention comprises a built-in visual operation control logic module and a visual arrangement control picture module, and the device manager can operate the visual control operation logic module and visually arrange the picture control picture module. Conveniently edit the individual control logic and monitoring screens of these external devices. Therefore, the embedded system and the device monitoring and control method of the present invention can effectively monitor these external devices, and have the advantages of low construction cost and simple system structure.
雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。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.
100‧‧‧嵌入式系統100‧‧‧ embedded system
110‧‧‧處理裝置110‧‧‧Processing device
120‧‧‧儲存裝置120‧‧‧Storage device
121‧‧‧視覺化操作控制邏輯模組121‧‧‧Visual Operation Control Logic Module
122‧‧‧視覺化編排圖控畫面模組122‧‧‧Visualized layout control screen module
130‧‧‧連接埠130‧‧‧Connector
200_1、200_2、200_N‧‧‧外部設備200_1, 200_2, 200_N‧‧‧ external equipment
310‧‧‧輸入單元310‧‧‧Input unit
320‧‧‧顯示單元320‧‧‧ display unit
400、500‧‧‧畫面400, 500‧‧‧ screen
410~430、411~415、421~423、431~433‧‧‧控制邏輯指令410~430, 411~415, 421~423, 431~433‧‧‧ Control logic instructions
510‧‧‧選單圖示510‧‧‧ menu icon
511、512、513、514‧‧‧功能圖標511, 512, 513, 514‧‧‧ function icons
520、530、540、550‧‧‧圖形化顯示介面520, 530, 540, 550‧‧‧ graphical display interface
521、531、541、551‧‧‧資訊圖標521, 531, 541, 551 ‧ ‧ information icons
S610、S620、S630、S640、S650、S660‧‧‧步驟S610, S620, S630, S640, S650, S660‧‧ steps
圖1繪示本發明一實施例的嵌入式系統的示意圖。 圖2繪示本發明一實施例的視覺化操作控制邏輯的示意圖。 圖3繪示本發明一實施例的視覺化編排圖控畫面的示意圖。 圖4繪示本發明一實施例的設備監控及控制方法的流程圖。FIG. 1 is a schematic diagram of an embedded system according to an embodiment of the invention. 2 is a schematic diagram of visualized operational control logic in accordance with an embodiment of the present invention. FIG. 3 is a schematic diagram of a visual layout control screen according to an embodiment of the invention. 4 is a flow chart of a method for monitoring and controlling a device according to an embodiment of the invention.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW106143447A TWI657322B (en) | 2017-12-12 | 2017-12-12 | Embedded system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW106143447A TWI657322B (en) | 2017-12-12 | 2017-12-12 | Embedded system |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI657322B true TWI657322B (en) | 2019-04-21 |
TW201928551A TW201928551A (en) | 2019-07-16 |
Family
ID=66996003
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW106143447A TWI657322B (en) | 2017-12-12 | 2017-12-12 | Embedded system |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI657322B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI829084B (en) * | 2022-01-28 | 2024-01-11 | 致揚科技股份有限公司 | Monitoring system |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2728427A1 (en) * | 2012-11-02 | 2014-05-07 | Rockwell Automation Technologies, Inc. | Configuration and monitoring via design diagram representation |
-
2017
- 2017-12-12 TW TW106143447A patent/TWI657322B/en active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2728427A1 (en) * | 2012-11-02 | 2014-05-07 | Rockwell Automation Technologies, Inc. | Configuration and monitoring via design diagram representation |
Also Published As
Publication number | Publication date |
---|---|
TW201928551A (en) | 2019-07-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10997308B2 (en) | Systems and methods for error detection and diagnostics visualization | |
JP7060218B2 (en) | How to display process control device information, and device | |
US11774927B2 (en) | Methods and apparatus to provide a role-based user interface | |
JP2007538310A (en) | Integrated configuration system for use in process plants | |
JP2000513798A (en) | Analog spectrum display device for environmental control | |
GB2358487A (en) | Designing, configuring and managing a process control network | |
JP2013539879A (en) | Method and apparatus for displaying process control device information | |
US20100037169A1 (en) | Display of system operating status in a multi-node system | |
TWI657322B (en) | Embedded system | |
CN104063212B (en) | The method for creating user interface | |
US10096138B2 (en) | Control map providing method and apparatus | |
Fauzi et al. | Supervisory fertigation system using interactive graphical supervisory control and data acquisition system | |
US20160116894A1 (en) | Control system with a network of controllers using linked cause-and-effect matrices | |
US9239665B2 (en) | Dynamic faceplates for multiple objects | |
KR102547071B1 (en) | Method for controlling weight value of control map and apparatus thereof | |
CN109917689A (en) | Embedded system | |
CN107615199B (en) | System Design assistant device, method and program | |
US20090037155A1 (en) | Machine condition monitoring using a flexible monitoring framework | |
JP7014595B2 (en) | Monitoring device, monitoring method, and monitoring program | |
EP4009155B1 (en) | Display control apparatus, method, and program | |
JP2020187637A (en) | Display control method, display control device and program | |
JP7552643B2 (en) | DATA PROCESSING APPARATUS, DATA PROCESSING METHOD, AND PROGRAM | |
US20140019900A1 (en) | User interface of an automation system and a method | |
US20210165723A1 (en) | Graphical Indicator With History | |
Tang et al. | Data center visualization based on uDC-Builder |