Scada web HMI system
The SCADA web HMI system addresses the high processing load issue by using a client installer to load the SCADA web program locally on the HMI client machine, optimizing data transfer and preventing communication overload, ensuring continuous monitoring in large-scale systems.
Patent Information
- Application Number
- PCT/JP2023/009923
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-14
- Publication Date
- 2024-09-19
AI Technical Summary
In large-scale SCADA systems, the high processing load on SCADA server machines due to numerous HMI client connections can exceed network communication capacity, leading to communication errors and downtime during system operation when web browsers are started during monitoring, especially when conventional WebSocket-based data transfer is used.
A SCADA web HMI system with a client installer on the HMI client machine loads the SCADA web program locally, reducing the need for WebSocket communication from the SCADA server machine, and employs a communication module and application-dependent data management to optimize data transfer, ensuring that only updated data is transmitted, thereby managing the communication load.
This approach prevents communication overload and ensures continuous monitoring by allowing the SCADA web program to load locally, reducing the risk of communication errors and maintaining system operability even when web browsers are activated during system operation.
Smart Images

Figure JP2023009923_19092024_PF_FP_ABST
Abstract
Description
SCADA Web HMI System
[0001] The present invention relates to a SCADA web HMI system, and more particularly to a technique for reducing the processing load in a large-scale system.
[0002] SCADA (Supervisory Control And Data Acquisition) is known as a mechanism for monitoring and controlling social infrastructure systems. Social infrastructure systems include steel rolling systems, power transmission and transformation systems, water and sewerage treatment systems, building management systems, and road systems. SCADA is a type of industrial control system that uses computers to monitor systems, control processes, and collect data. SCADA requires responsiveness (real-time performance) that matches the processing performance of the system.
[0003] SCADA is generally composed of the following subsystems: (1) HMI (Human Machine Interface) HMI is a mechanism that presents data from monitored devices to the operator, allowing the operator to monitor and control the monitored devices. (2) Monitoring and Control System The monitoring and control system is composed of a Programmable Logic Controller (PLC) and other components. The monitoring and control system collects data from monitored devices and sends control commands to the monitored devices. (3) Remote Input / Output (RIO) The remote input / output device connects to sensors installed in monitored devices, converts the sensor signals into digital data, and sends the digital data to the monitoring and control system. (4) Communication Infrastructure The communication infrastructure connects the monitoring and control system to the remote input / output device.
[0004] As an example of a SCADA HMI subsystem, Patent Document 1 discloses a system including an HMI client machine and a SCADA server machine. In a conventional SCADA system such as that disclosed in Patent Document 1, the SCADA server machine transmits data (input / output signals, alarm signals) received from a PLC to the HMI client machine. The input / output signals are signals related to the monitored devices (field devices that make up an industrial plant) and include actuator control signals and sensor detection signals.
[0005] Japanese Patent Publication No. 2017-27211
[0006] The following describes the issues that arise in developing the HMI subsystem, which is one of the above-mentioned subsystems.
[0007] In large-scale systems, the HMI subsystem may connect more than 200,000 signals to the PLC. Conventional SCADA servers, which handle both supervisory control and data collection, require high-performance processors and large-capacity memory to process a large number of signals in real time. Therefore, there is a demand for low-cost HMI subsystems that can be applied to large-scale systems.
[0008] To reduce the cost of SCADA HMI subsystems, the inventors of the present invention have developed a browser-based SCADA HMI subsystem, which allows HMI screens to be implemented as web applications that run on a web browser.
[0009] One of the benefits of implementing HMI screens on a web browser is the ability to easily acquire data from different web servers by switching URLs (including port numbers). In other words, history screen data can be acquired from an online data gathering (ODG) that collects and stores all PLC data, while monitoring screen data, which requires real-time performance, can be acquired from a SCADA server. By separating the history-related functions, which are part of the SCADA functionality, and entrusting them to the online data gathering, the SCADA server can specialize in real-time monitoring functions. To process a large number of signals using a low-cost SCADA server, it is desirable to reduce the processing load of input / output signals (including actuator control signals and sensor detection signals) and alarm signals.
[0010] In a large-scale SCADA web HMI system, it is expected that a large number of client devices (e.g., 128 devices) will be connected to one SCADA server. Even in a redundant design where two SCADA servers are installed to distribute the load, a large number of HMI client devices will be connected to each SCADA server. When the same HMI screen is displayed on the monitor of each HMI client device, the SCADA server must receive signal data contained in the HMI screen and transmit it to all HMI client devices. In a browser-based SCADA HMI subsystem, the HMI screen on the HMI client device is displayed using a web browser, and signal data is transmitted from the SCADA server to the HMI client devices using, for example, a point-to-point connection such as WebSocket. In other words, multicast transmission cannot be used for transmission from the SCADA server to the HMI client devices. Therefore, when 128 client devices are connected to a SCADA server, the SCADA server must transmit 128 times the amount of signal data it receives to the HMI client devices. Thus, during system operation (when monitoring an industrial plant), a large amount of data flows between the SCADA server and each HMI client device.
[0011] Generally, web applications run on a web browser, downloaded from a SCADA server. In other words, a SCADA web program is required for the web browser on each HMI client device, and this SCADA web program is loaded from the SCADA server device via WebSocket. As shown in FIG. 12 , if a web browser is launched on each HMI client device before system operation begins, even if the SCADA web program is loaded via WebSocket into the web browsers of all HMI client devices, the amount of communication between the HMI client devices and the SCADA server device will be below the communication capacity limit (communication capacity), and there will be no problems in system operation. On the other hand, if a web browser is launched during system operation, communication errors may occur due to the amount of communication exceeding the network's communication capacity, or web content may take a long time to load. In this case, there may be periods when monitoring of the industrial plant is unavailable, which can cause problems in system operation.
[0012] The present invention has been made to solve the above-mentioned problems, and aims to provide a SCADA web HMI system that can prevent the amount of communication between an HMI client device and a SCADA server device from exceeding the communication capacity, even when a web browser is launched during system operation.
[0013] A first aspect of the present disclosure relates to a SCADA web HMI system. The SCADA web HMI system includes a programmable logic controller (hereinafter referred to as PLC), an HMI client device, and a SCADA server device, all connected via a computer network. The PLC periodically transmits block data related to a group of field devices constituting an industrial plant to the SCADA server device. The SCADA server device includes a communication driver that receives the block data and a client management unit that is connected to the HMI client devices on a one-to-one basis and communicates with each HMI client device via WebSocket. The HMI client devices each execute a web browser that displays an HMI screen on which parts indicating the status of the industrial plant are arranged, and monitor the industrial plant by updating the status of the parts in accordance with the signal data received from the client management unit. The HMI client devices also include a client installer that installs the SCADA web program to be loaded when the web browser is launched.
[0014] The second aspect has the same features as the first aspect, and further has the following characteristics: the SCADA server machine includes a client installer that is the same as the client installer, and prior to monitoring the industrial plant, the client installer is downloaded from the SCADA server machine to the HMI client machine via the client management unit using the web browser.
[0015] A third aspect has the following characteristics in addition to the first or second aspect: the SCADA server machine includes a communication module including content that runs on the SCADA web program; the HMI client machine loads the communication module from the SCADA server machine; and the web browser exchanges data between the SCADA web program running on a domain of the HMI client machine and the communication module running on a domain of the SCADA server machine using inter-domain communication.
[0016] A fourth aspect has the following characteristics in addition to the first or second aspect: the SCADA server machine downloads application-dependent data that is data that depends on an application that runs on the SCADA web program, and transmits the downloaded application-dependent data to the HMI client machine. When connected to the HMI client machine, the SCADA server machine determines whether the SCADA web program has been updated, and transmits the application-dependent data to the HMI client machine only if the SCADA web program has been updated.
[0017] A fifth aspect has the following feature in addition to the fourth aspect: when the SCADA web program connects to the SCADA server machine, the HMI client machine transmits a revision of the application-dependent data contained in the SCADA web program to the SCADA server machine, and the SCADA server machine performs the determination by comparing the revision received from the HMI client machine with the revision of the application-dependent data downloaded from the SCADA server machine.
[0018] According to the present disclosure, since a client installer is provided in the HMI client device, when the web browser is started, the SCADA web program is loaded from the HMI client device itself, rather than being loaded from the SCADA server device via WebSocket. Therefore, even if the web browser is started during system operation, it is possible to prevent the communication volume between the HMI client device and the SCADA server device from exceeding the communication capacity.
[0019] 1 is a diagram for explaining an example of the configuration of a SCADA web HMI system according to an embodiment of the present invention; FIG. 1(a) is a diagram for explaining a data type of signal data, and FIG. 1(b) is a diagram for explaining an identifier; FIG. 1(a) is a diagram for explaining a format of signal data, and FIG. 1(b) is a diagram for explaining a format of screen update data; FIG. 1 is a diagram for explaining processing in a client management unit of a SCADA server machine; FIG. 1 is a diagram for explaining a method of loading a SCADA web program; FIG. 1 is a diagram for explaining advance distribution of a client installer to an HMI client machine; FIG. 1 is a diagram for explaining a method of loading a communication module; FIG. 1 is a diagram for explaining another method of loading a communication module; FIG. 1 is a diagram for explaining a method of loading application-dependent data; and FIG. 2 is a flowchart for explaining a method of loading application-dependent data. It is a block diagram showing an example of the hardware configuration of a SCADA server machine and an HMI client machine. It is a diagram for explaining a problem in the related art.
[0020] Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. Note that elements common to the various drawings will be assigned the same reference numerals and redundant explanations will be omitted.
[0021] 1-1. SCADA Web HMI System Fig. 1 is a diagram illustrating an example of the configuration of a SCADA web HMI system according to the first embodiment. The SCADA web HMI system 1 shown in Fig. 1 includes a PLC 2, a SCADA server machine 3, and an HMI client machine 4, which are interconnected via a computer network 5. The computer network 5 is, for example, Ethernet (registered trademark). The SCADA web HMI system 1 may also include an online data gathering (ODG) (not shown).
[0022] The PLC 2 is connected to a group of field devices (including actuators and sensors) that make up the industrial plant via a control network (not shown). The PLC 2 transmits packets containing block data to the computer network 5 by multicast or broadcast at predetermined intervals. The block data is a collection of PLC signals. One block data contains tens to hundreds of PLC signals. Types of PLC signals include input / output signals (including actuator control signals and sensor detection signals) and alarm signals. The block data contains at least one of a collection of input / output signals and a collection of alarm signals. The total number of alarm signals is smaller than the total number of input / output signals.
[0023] The block data is transmitted periodically regardless of whether the value of the PLC signal has changed from the previous value. Therefore, even if a packet containing transmitted block data is lost, it is retransmitted in the next transmission cycle, and the latest status is reflected in the SCADA server machine 3 and the online data collector.
[0024] The SCADA server machine 3 includes a communication driver 31 and a client management unit 32. The communication driver 31 is configured to periodically receive block data from the PLC 2 and execute unpacking, which breaks down the received block data into signal data of each data type. As the data type, in addition to the bit type shown in FIG. 2A, short type, float type, etc. can be used. Furthermore, the communication driver 31 is configured to execute packet processing, which adds a signal data identifier (see FIG. 2B) corresponding to each signal data to generate packets for each data type and transmits the generated packets to the client management unit 32. That is, the signal data transmitted from the communication driver 31 to the client management unit 32 is a pair of a signal data identifier and a signal data value (see FIG. 3A).
[0025] Here, the signal data identifier corresponds to a character string written by the application designer. The data size of the signal data identifier is, for example, 23 bits. This allows the signal data identifier to represent approximately 8 million pieces of signal data, making it fully compatible with the large-scale SCADA web HMI system 1. For bit-type data, the signal data identifier is 23 bits and the data value is 1 bit, so the data size per signal is 24 bits (= 3 bytes). For float-type data, the signal data identifier is 23 bits and the data value is 4 bytes, so 1 bit of padding is added, making the data size per signal 7 bytes. Note that when generating packets, only the signal data of the signal data identifier related to the HMI screen 41 currently displayed on the web browser 40 may be extracted.
[0026] The client management unit 32 includes a signal data reception thread, at least one signal data buffer, and a signal data transmission thread. The signal data reception thread receives packets (signal data for each data type) from the communication driver 31 and stores the signal data in the signal data buffer. The signal data buffer has an area (array) for storing signal data for each data type. Even if 8 million signal data items exist, the memory usage would be approximately 24 Mbytes, excluding text data. Considering the current computer specifications, this memory usage is considered acceptable. Furthermore, the use of indexes can reduce the amount of data stored in the signal data buffer. Upon receiving an instruction from the signal data reception thread, the signal data transmission thread reads the signal data stored in the signal data buffer and transmits the read signal data for each data type to the HMI client device 4. At this time, the signal data transmission thread transmits the screen identifier and product identifier indicating the HMI screen 41 and product (part) 42 displayed in FIG. 3B, as well as the updated signal data, as screen update data to the HMI client device 4 (see FIG. 4). As shown in FIGS. 2 to 4, by converting the signal data into binary data, the amount of data transmitted to the HMI client machine 4 can be reduced.
[0027] 11 , which will be described later, the SCADA server machine 3 includes a processor 301 that executes various processes, a memory 302 that stores various information, and a network interface 303. The processor 301 executes programs stored in the memory 302, thereby performing the various processes described above and below.
[0028] The HMI client machine 4 includes a processor 401, a memory 402, a monitor 403, a network interface 404, and an input interface 405, which are shown in Fig. 11 (described later). The processor 401 is configured to execute a program stored in the memory 402, thereby executing a web browser 40 that displays an HMI screen 41 on which display parts are arranged. The monitor 403 displays the web browser 40.
[0029] The web browser 40 can switch the connection destination (SCADA server machine 3, online data collector 4) according to the URL and acquire various information of HTML documents related to the HMI screen 41 from the web server specified by the URL. The HMI screen 41 includes a monitoring screen that requires real-time performance and a history screen that displays history data.
[0030] When the HMI screen 41 currently displayed on the web browser 40 is a monitoring screen, the web browser 40 changes the display state of the display parts 42 in response to input / output signals received from the SCADA server machine 3. Changes in the display state include, for example, changes in numerical values, characters, colors, and shapes. The web browser 40 also changes the display state of the alarm parts 42 arranged on the HMI screen 41 in response to alarm signals received from the SCADA server machine 3.
[0031] The web browser 40 requests history data from the online data collector when the screen 41 currently displayed on the web browser 40 is a history screen. The web browser 40 displays the history data received from the online data collector on the history screen.
[0032] The online data collector includes a processor and a memory (not shown). The processor executes a program stored in the memory, thereby performing web server processing and history data management processing. The online data collector periodically receives block data from the PLC 2. The history data management processing of the online data collector stores history data of all signals included in the received block data in memory (including a database). The web server processing of the online data collector transmits history data in response to a request from the web browser 40. The online data collector also receives and stores alarm packets from the SCADA server 3.
[0033] 1-2. SCADA Web Program Loading Method Figure 5 is a diagram illustrating a method for loading a SCADA web program. As shown in Figure 5, the HMI client device 4 includes a client installer 43. The client installer 43 operates when the SCADA web program is updated and deploys a local web server 45 and a SCADA web program 44 on the client device 4. The web browser 40 can load the SCADA web program via the local web server 45 when started. This differs from the conventional method of loading the SCADA web program 44 from the SCADA server device 3, and allows the communication bandwidth between the HMI client device 4 and the SCADA server device 3 to be entirely allocated to communication traffic during system operation.
[0034] The client installer 43 may be installed on the HMI client device 4 using a CD-ROM. However, as shown in FIG. 6 , if the client installer 43 is pre-distributed (HTTP loaded) from the SCADA server device 3 to the HMI client device 4, the effort required for installing the client installer 43 can be reduced, thereby reducing operational costs. That is, the SCADA server device 3 includes the client installer 43. The client installer 43 includes a local web server 45, a SCADA web program 44, and a SCADA web program startup script 46 that run on the client device 4. This allows the system administrator to download the client installer 43 from the SCADA server device 3 using only the web browser 40. When the client installer 43 is executed on the HMI client device 4, the local web server 45 starts up on the HMI client device 4, and the SCADA web program 44 and the SCADA web program startup script 46 are deployed on the client device 4. At this time, a shortcut linked to the SCADA web program startup script 46 is placed on the Windows (registered trademark) desktop of the monitor 403, so the operator can simply double-click the shortcut to load the SCADA web program 44 on the web browser 40. The SCADA web program startup script 46 also includes the communication address of the SCADA server machine 3, so the SCADA web program 44 automatically connects to the SCADA server machine 3, allowing the operator to immediately start monitoring the system.
[0035] 1-3. Communication Module Loading Method Fig. 7 is a diagram for explaining a communication module loading method, and Fig. 8 is a diagram for explaining another communication module loading method.
[0036] The communication module 36 provides functions necessary for the SCADA web program 44 to communicate with the server. This type of communication module 36 must be loaded from the SCADA server 3, not from the local web server 45. The SCADA server 3 includes a server installer 34. When the server installer 34 is started, the server program 35 and the communication module 36 are installed in the SCADA server 3. The communication module 36 must communicate with the client management unit 32 on the SCADA server 3 via WebSocket, but must operate in the domain 40b of the SCADA server 3 for security reasons known as the same-origin policy. In other words, the communication module 36 must be loaded from the client management unit 32 on the SCADA server 3. 7, data is exchanged using inter-domain communication between a SCADA web program 44 running in a domain 40a of an HMI client device 4 on a web browser 40 and a communication module 36 running in a domain 40b of the SCADA server device 3. As an alternative method, as shown in FIG. 8, by setting CORS (Cross Domain Resource Sharing) in the SCADA server device 3, it becomes possible to accept communication connections from other domains, and therefore the communication module 36 can also be installed in the HMI client device 4 in advance. This makes it possible to further reduce the communication load between the HMI client device 4 and the SCADA server device 3.
[0037] 1-4. Application-Dependent Data Loading Method Fig. 9 is a diagram for explaining the application-dependent data loading method, and Fig. 10 is a flowchart for explaining the application-dependent data loading method.
[0038] For the SCADA web program 44 to operate, application-dependent data 38, which is dependent on the application, must also be loaded onto the web browser 40. The application-dependent data 38 is downloaded to the SCADA server 3 by the application distribution program 37. The application-dependent data 38 includes an application revision, and as described below, is transmitted to the HMI client 4 only when the application revision is updated. When the SCADA web program 44 connects to the client management unit 32 on the HMI client 4, the routine shown in FIG. 10 is initiated. According to this routine, the SCADA web program 44 transmits the application revision of the currently stored application-dependent data 38 to the SCADA server 3 (step S1). The SCADA server 3 compares the application revision of the downloaded application-dependent data 38 with the application revision transmitted in step S1 (step S2). If the comparison results in the same application revision, the SCADA server 3 transmits a message to the SCADA web program 44 indicating that the application-dependent data 38 has not been updated (step S3). Thereafter, the SCADA web program 44 uses the application-dependent data 38 that it holds (step S4), and ends this routine.
[0039] On the other hand, if the application revision is different, i.e., if the application-dependent data 38 has been updated, the SCADA server machine 3 transmits the new application-dependent data 38 to the SCADA web program 44 (step S5). Thereafter, the SCADA web program 44 stores and uses the transmitted application-dependent data 38 (step S6), and ends this routine.
[0040] Since the application-dependent data 38 will not be changed unless the application is updated, the application-dependent data 38 once sent to the HMI client machine 4 is stored on the HMI client machine 4 side, and is sent to the HMI client machine 4 only when the application is updated, thereby reducing the communication load between the HMI client machine 4 and the SCADA server machine 3.
[0041] 1-5. Effects As described above, according to this embodiment, the client installer 43 is provided in the HMI client device 4, so when the web browser 40 is started, the SCADA web program 44 is loaded from the HMI client device 4 itself, rather than being loaded from the SCADA server device 3 via HTTP. Therefore, even when the web browser 40 is started during system operation, it is possible to prevent the amount of communication between the HMI client device 4 and the SCADA server device 3 from exceeding the communication capacity. This prevents communication errors from occurring during system operation and takes a long time to load web content, eliminating the time when monitoring of the industrial plant is unavailable.
[0042] 2. Example of Hardware Configuration FIG. 11 is a block diagram showing an example of the hardware configuration of the SCADA server machine 3 and the HMI client machine 4.
[0043] Each of the processes of the SCADA server machine 3 described above is realized by a processing circuit. The processing circuit is configured by connecting a processor 301, a memory 302, and a network interface 303. The processor 301 realizes each function of the SCADA server machine 3 by executing various programs stored in the memory 302. The memory 302 includes a main storage device and an auxiliary storage device.
[0044] Each process of the HMI client device 4 described above is realized by a processing circuit. The processing circuit is configured by connecting a processor 401, a memory 402, at least one monitor 403, a network interface 404, and an input interface 405. The processor 401 realizes each function of the HMI client device 4 by executing various programs stored in the memory 402. The memory 402 includes a main storage device and an auxiliary storage device. The input interface 405 is an input device such as a keyboard, a mouse, or a touch panel. A plurality of monitors 403 may be provided.
[0045] Although the embodiments of the present invention have been described above, the present invention is not limited to the above-described embodiments and can be implemented in various modifications without departing from the spirit of the present invention. When the numbers, quantities, amounts, ranges, etc. of each element are mentioned in the above-described embodiments, the present invention is not limited to the mentioned numbers unless otherwise specified or clearly specified in principle. Furthermore, the structures, etc. described in the above-described embodiments are not necessarily essential to the present invention unless otherwise specified or clearly specified in principle.
[0046] 1...SCADA web HMI system, 2...Programmable logic controller (PLC), 3...SCADA server machine, 31...Communication driver, 32...Client management unit, 36...Communication module, 37...Application distribution program, 38...Application-dependent data, 4...HMI client machine, 40...Web browser, 41...HMI screen, 42...Parts, 43...Client installer, 44...SCADA web program, 45...Local web server, 46...Program startup script, 5...Computer network, 301, 401...Processor, 302, 402...Memory, 403...Monitor, 304, 404...Network interface, 405...Input interface
Claims
1. A SCADA web HMI system comprising a plurality of programmable logic controllers (hereinafter referred to as PLCs), a plurality of HMI client machines, and a SCADA server machine, all connected via a computer network, wherein the PLC transmits block data relating to a group of field devices constituting an industrial plant to the SCADA server machine at predetermined intervals, the SCADA server machine comprising a communications driver for receiving the block data, and a client management unit which is connected one-to-one to the plurality of HMI client machines and communicates with each of the HMI client machines via WebSocket, wherein the HMI client machines each execute a web browser which displays an HMI screen on which parts indicating the status of the industrial plant are arranged, and updates the status of the parts in response to signal data received from the client management unit, thereby monitoring the industrial plant, wherein the HMI client machines comprise a client installer for installing a SCADA web program which is loaded when the web browser is started up.
2. The SCADA Web HMI system according to claim 1, wherein the SCADA server machine is provided with a client installer identical to the client installer, and the client installer is downloaded from the SCADA server machine to the HMI client machine via the client management unit using the web browser prior to monitoring the industrial plant.
3. The SCADA Web HMI system of claim 1 or 2, wherein the SCADA server machine is provided with a communication module including content that operates on the SCADA Web program, the HMI client machine loads the communication module from the SCADA server machine, and the Web browser exchanges data between the SCADA Web program operating in the domain of the HMI client machine and the communication module operating in the domain of the SCADA server machine using inter-domain communication.
4. A SCADA Web HMI system as claimed in claim 1 or 2, wherein the SCADA server machine downloads application-dependent data, which is data dependent on an application operated by the SCADA web program, and transmits the downloaded application-dependent data to the HMI client machine, and when the SCADA server machine is connected to the HMI client machine, the SCADA server machine determines whether the SCADA web program has been updated, and transmits the application-dependent data to the HMI client machine only if the SCADA web program has been updated.
5. A SCADA Web HMI system as described in claim 4, wherein, when the SCADA Web program is connected to the SCADA server machine, the HMI client machine transmits a revision of the application-dependent data contained in the SCADA Web program to the SCADA server machine, and the SCADA server machine compares the revision received from the HMI client machine with the revision of the application-dependent data downloaded to perform the determination.
Citation Information
Patent Citations
Method and apparatus for providing machine area network selectively separated for machine element which performs data-communication between mutual machine elements and with remote site
JP2005020738A
Data collection system, data collection method, PLC data transmission device, data collection device, PLC data transmission program, and data collection program
JP2017220053A
Scada web HMI system
WO2021070315A1
Scada web HMI system
WO2022259474A1
