Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
CYCLE TIME DETERMINATION IN A PROCESS CONTROL SYSTEM
Document Type and Number:
WIPO Patent Application WO/2024/037706
Kind Code:
A1
Abstract:
A process control system (10) comprises an automation device (22A), a process control function (48), a cycle time determining function (30) and hardware (58) implementing the process control function (48) and cycle time determining function (30), where the process control function (48) controls the automation device (22A) in a process control loop via a first wireless communication network (18) and the cycle time determining function (30) obtains a first mapping of cycle time of the process control loop to quality of service of the first wireless communication network (18) and control performance of the process control loop, analyses the first mapping and determines a cycle time to be used in the first wireless communication network (18) based on the analysis.

Inventors:
PANG ZHIBO (SE)
BHIMAVARAPU KOUSHIK (SE)
Application Number:
PCT/EP2022/072784
Publication Date:
February 22, 2024
Filing Date:
August 15, 2022
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
ABB SCHWEIZ AG (CH)
International Classes:
G05B19/418; G05B21/00
Other References:
XUAN HUNG NGUYEN ET AL: "Design of Networked Control Systems (NCSs) on the basis of interplays between Quality of Control and Quality of Service", INDUSTRIAL EMBEDDED SYSTEMS (SIES), 2012 7TH IEEE INTERNATIONAL SYMPOSIUM ON, IEEE, 20 June 2012 (2012-06-20), pages 85 - 93, XP032270892, ISBN: 978-1-4673-2685-8, DOI: 10.1109/SIES.2012.6356573
MA YEHAN YEHAN MA@WUSTL EDU ET AL: "Efficient Holistic Control", ACM TRANSACTIONS ON CYBER-PHYSICAL SYSTEMS, ACM, 2 PENN PLAZA, SUITE 701 NEW YORK NY 10121-0701 USA, vol. 4, no. 4, 18 June 2020 (2020-06-18), pages 1 - 27, XP058676409, ISSN: 2378-962X, DOI: 10.1145/3371500
MADSEN JACOB THEILGAARD ET AL: "Utilizing network QoS for dependability of adaptive smart grid control", 2014 IEEE INTERNATIONAL ENERGY CONFERENCE (ENERGYCON), IEEE, 13 May 2014 (2014-05-13), pages 859 - 866, XP032615565, DOI: 10.1109/ENERGYCON.2014.6850526
ANDREAS SCHIMMEL ET AL: "Model-driven communication routing in industrial automation and control systems", INDUSTRIAL INFORMATICS (INDIN), 2010 8TH IEEE INTERNATIONAL CONFERENCE ON, IEEE, PISCATAWAY, NJ, USA, 13 July 2010 (2010-07-13), pages 896 - 901, XP031733628, ISBN: 978-1-4244-7298-7
Attorney, Agent or Firm:
KRANSELL & WENNBORG KB (SE)
Download PDF:
Claims:
CLAIMS

1. A cycle time determining device (12) for determining a cycle time of a process control system (10), the process control system (10) comprising an automation device (22A), a process control function (48) and hardware (44, 46; 60A, 62A) implementing the process control function (48), where the process control function (48) controls the automation device (22A) in a process control loop via a first wireless communication network (18); the cycle time determining device (12) comprising a cycle time determining function (30) and hardware (26, 28; 60B, 62B) implementing the cycle time determining function (30), the cycle time determining function (30) being configured to: obtain a first mapping (31) of cycle time of the process control loop to quality of service of the first wireless communication network and control performance of the process control loop; analyse the first mapping (31) between cycle time, quality of service and control performance; and determine a cycle time to be used in the first wireless communication network (18) based on the analysis.

2. The cycle time determining device (12) according to claim 1, wherein the determined cycle time is a cycle time for which the combination of cycle time, quality of service and control performance fulfils a control loop criterion.

3. The cycle time determining device (12) according to claim 2, wherein the control loop criterion is that the combination is optimal.

4. The cycle time determining device (12) according to any previous claim, wherein the cycle time determining function (30) is further configured to obtain at least one further mapping (34, 36, 38, 40) between cycle time, control performance and quality of service of at least one other communication network and where the obtaining of the first mapping (31) comprises determining the first mapping (31) based on said at least one further mapping.

5. The cycle time determining device (12) according to claim 4, wherein the obtaining of said first mapping (31) comprises obtaining a relationship (32) between cycle time and quality of service of the first wireless communication network (18) and adding estimates of control performance to said relationship (32) between cycle time and quality of service for forming the first mapping (31), where the estimates of control performance are based on the mapping of control performance to the cycle time and quality of service in the at least one further mapping (34, 36, 38, 40).

6. The cycle time determining device (12) according to claim 5, wherein the at least one further mapping (34, 36, 38, 40) comprises a group of further mappings, where the mappings are mappings of cycle time and control performance to quality of service of different types of communication networks.

7. The cycle time determining device (12) according to any previous claim, wherein the control performance comprises a performance of the automation device (22A).

8. The cycle time determining device (12) according to any previous claim, wherein the control performance comprises a performance of communication between the process control function (48) and the automation device (22A).

9. A method of determining a cycle time to be used in a process control system (10), the process control system (10) comprising a process control function (48) and hardware (44, 46, ; 60A, 62A) implementing the process control function (48), where the process control function (48) controls an automation device (22A) in a process control loop via a first wireless communication network (18); the method being performed by a cycle time determining function (30) and comprising:

- obtaining (S100; S210, S220, S230) a first mapping (31) of cycle time of the process control loop to quality of service of the first wireless communication network (18) and control performance of the process control loop;

- analysing (S110; S240) the first mapping (31) between cycle time, quality of service and control performance; and

- determining (S120; S250) a cycle time to be used in the first wireless communication network (18) based on the analysis.

10. The method according to claim 9, further comprising obtaining (S200) at least one further mapping (34, 36, 38, 40) between cycle time, control performance and quality of service of at least one other communication network and where the obtaining of the first mapping comprises determining (S210, S220, S230) the first mapping based on said at least one further mapping (34, 36, 38, 40).

11. The method according to claim 10, wherein the determining of said first mapping comprises obtaining (S210) a relationship (32) between cycle time and quality of service of the first wireless communication network (18) and adding (S230) estimates of control performance to said relationship (32) between cycle time and quality of service for forming the first mapping (31), where the estimates of control performance have been estimated (S220) based on the mapping of control performance to the cycle time and quality of service in the at least one further mapping (34, 36, 38, 40).

12. The method according to any of claims 9 - 11, further comprising negotiating (S130; S260) a quality of service with a network management system (20) of the first wireless communication network (18), which negotiated quality of service corresponds to the determined cycle time.

13. A process control system (10) comprising: an automation device (22A); a process control function (48) and hardware (44, 46; 60A, 62A) implementing the process control function (48), where the process control function (48) controls the automation device (22A) in a process control loop via a first wireless communication network (18); and a cycle time determining function (30) and hardware (26, 28; 60B, 62B) implementing the cycle time determining function (30), the cycle time determining function (30) being configured to obtain a first mapping (31) of cycle time of the process control loop to quality of service of the first wireless communication network (18) and control performance of the process control loop, analyse the first mapping (31) between cycle time, quality of service and control performance and determine a cycle time to be used in the first wireless communication network (18) based on the analysis.

14. A computer program for determining a cycle time to be used in a process control system (10), the process control system (10) comprising a process control function (48) and hardware (44, 46; 60A, 62A) implementing the process control function (48), where the process control function (48) controls an automation device (22A) in a process control loop via a first wireless communication network (18), the computer program comprising computer program code which when run by a processor (26; 60B) implements a cycle time determining function (30) configured to: obtain a first mapping (31) of cycle time of the process control loop to quality of service of the first wireless communication network (18) and control performance of the process control loop; analyse the first mapping (31) between cycle time, quality of service and control performance; and determine a cycle time to be used in the first wireless communication network (18) based on the analysis.

15. A computer program product for determining a cycle time to be used in a process control system (10), the computer program product comprising a data carrier (28) with the computer program code according to claim 14.

Description:
CYCLE TIME DETERMINATION IN A PROCESS CONTROL SYSTEM

TECHNICAL FIELD

[0001] The present disclosure relates to a cycle time determining device, method, computer program and computer program product for determining a cycle time to be used in a process control system as well as to such a process control system.

BACKGROUND

[0002] Using low latency and high reliability wireless communications, such as

5G, WiFi6, and beyond, to replace the wired networks in control systems of e.g., motors, drives, robots, and processes will enable unprecedented flexibility of deployment and reduce costs. As a long-term vision, system developers of such wireless networked control system (WNCS) expect to keep the control functions agnostic to the communication networks, i.e., no matter wired or wireless network, the same configurations of the control function can be used. However, this expectation is hard to meet by the wireless technologies in short-term, even by the new generation of cellular networks like 5G and WLAN (wireless local area network) like the WiFi6. To get the benefits of wireless communications as early as possible, a more realistic strategy is to tune the configurations of the control application according to the achievable quality of service (QoS) of the wireless network. One configuration that can be tuned is the cycle time of the control loop.

[0003] US 2021/ 0022172 discloses the obtaining of network flow configuration or a QoS (Quality of Service) flow, where a QoS flow comprises a cycle time requirement and an association between up-link and down-link message transmissions. The QoS flow is then used in the allocation of resources in the wireless network.

[0004] Generally speaking, if the communication network is perfect, a shorter cycle time can achieve better control performance as the control function can get more data from sensors and take actions more frequently through the actuators until the maximum speed of the sensors, actuators, or controller is reached. Therefore, application developers typically choose the shortest cycle time that can be supported by the controller, sensors, and actuators. In existing solution of WNCS, such as in US 9743398, the cycle time is determined by the process control function solely. Then the cycle time is given to a scheduling algorithm of the wireless communication network without considering the capability of the wireless communication network, and the wireless communication network will do its best to meet the cycle time.

[0005] This is suboptimal for two reasons: 1) The wireless communication networks have limited QoS and the QoS typically drops quickly when the cycle time is shorter than certain threshold, even though the scheduling algorithm of the wireless communication network can work through (i.e., the network is overloaded), which results in worse control performance, 2) this method is hard to implement to the latest wireless networks, such as the 5G, because the scheduling algorithm of the wireless communication network is not accessible to the control application.

[0006] In short, a novel solution is needed for determining the cycle time.

SUMMARY

[0007] One objective of the invention is therefore to provide an improved determination of cycle time.

[0008] According to a first aspect there is presented a cycle time determining device for determining a cycle time to be used in a process control system, the process control system comprising an automation device, a process control function, and hardware implementing the process control function, where the process control function controls the automation device in a process control loop via a first wireless communication network; the cycle time determining device comprising a cycle time determining function and hardware implementing the cycle time determining function, the cycle time determining function being configured to: obtain a first mapping of cycle time of the process control loop to quality of service of the first wireless communication network and control performance of the process control loop; analyse the first mapping between cycle time, quality of service and control performance; and determine a cycle time to be used in the first wireless communication network based on the analysis. [0009] According to a second aspect, there is provided a method for determining a cycle time to be used in a process control system, the process control system comprising a process control function and hardware implementing the process control function, where the process control function controls an automation device in a process control loop via a first wireless communication network; the method comprising: obtaining a first mapping of cycle time of the process control loop to quality of service of the first wireless communication network and control performance of the process control loop; analysing the first mapping between cycle time, quality of service and control performance; and determining a cycle time to be used in the first wireless communication network based on the analysis.

[0010] According to a third aspect, there is provided a process control system comprising: an automation device; a process control function and hardware implementing the process control function, where the process control function controls the automation device in a process control loop via a first wireless communication network; and a cycle time determining function and hardware implementing the cycle time determining function, the cycle time determining function being configured to obtain a first mapping of cycle time of the process control loop to quality of service of the first wireless communication network and control performance of the process control loop, analyse the first mapping between cycle time, quality of service and control performance and determine a cycle time to be used in the first wireless communication network based on the analysis.

[oon] According to a fourth aspect, there is provided a computer program for determining a cycle time to be used in a process control system; the process control system comprising a process control function and hardware implementing the process control function, where the process control function controls an automation device in a process control loop via a first wireless communication network, the computer program comprising computer program code which when run by a processor implements a cycle time determining function configured to: obtain a first mapping of cycle time of the process control loop to quality of service of the first wireless communication network and control performance of the process control loop; analyse the first mapping between cycle time, quality of service and control performance; and determine a cycle time to be used in the first wireless communication network based on the analysis.

[0012] According to a fifth aspect, there is provided a computer program product for determining a cycle time to be used in a process control system, the computer program product comprising a data carrier with the computer program code according to the fourth aspect.

[0013] The process control function and hardware implementing the process control function may be provided in an automation function environment. Also, the cycle time determining function and the hardware implementing the cycle time determining function may be provided in the automation function environment. The automation function environment may additionally comprise a hardware assigning unit configured to assign hardware to the process control function and/or the cycle time determining function.

[0014] As an alternative it is possible that the hardware implementing the process control function and/ or the hardware implementing the cycle time determining function is hardware dedicated to the function.

[0015] The control performance may be based on a performance of the automation device. It may be expressed through the quality of a performed control activity on or by the first automation device. For instance, the control performance may be expressed as an error in performing the control activity using the automation device. If for instance the automation device comprises a motor, the control performance may be provided as an error in the motor speed, such as a root mean square error of the motor speed. It should be realized that the control performance can be indicated by other parameters linked to the control, such as stability, convergence speed and energy consumption.

[0016] Alternatively the control performance may be expressed through the performance in communicating between the process control function and the automation device, such as expressed through average latency, reliability, packet loss rate, etc.

[0017] The quality of service may be provided through the availability of the first wireless communication network.

[0018] The determined cycle time may be a cycle time for which the combination of cycle time, quality of service and control performance fulfils or meets at least one control loop criterion. A control loop criterion may be that the combination is optimal, i.e. the selecting of the best combination of cycle time, QoS and control performance. The determined cycle time may thus be a cycle time for which the combination of cycle time, quality of service and control performance is optimal. Additionally or instead, the determined cycle time may be a cycle time for which each of the cycle time, quality of service and control performance is as close as possible to a corresponding ideal or optimal value. The determined cycle time may be an acceptable cycle time for which both the quality of service and the control performance are also acceptable. Put differently the selected cycle time maybe the cycle time for which each of the cycle time, quality of service and control performance deviates from a corresponding ideal or optimal value by less than a corresponding maximum deviation. If the quality of service is provided as an availability of the first wireless communication network and the control performance as an error in the control of the automation device, the determined cycle time may be the lowest cycle time for which the availability stays above an availability threshold and for which the control error is kept below a control error threshold.

[0019] According to one variation of the first aspect, the cycle time determining function is further configured to obtain at least one further mapping between cycle time, control performance and quality of service of at least one other communication network and the obtaining of the first mapping may additionally comprise determining the first mapping based on the at least one further mapping. [0020] According to a corresponding variation of the second aspect, the method may further comprise obtaining at least one further mapping between cycle time, control performance and quality of service of at least one other communication network and the obtaining of the first mapping may comprise determining the first mapping based on the at least one further mapping.

[0021] The at least one further mapping may comprise empirical data of at least one other communication network, such as empirical data concerning the performance of the control loop with different used cycle times and used qualities of service in the at least one other communication network.

[0022] It is additionally possible that the cycle time determining function, when obtaining the first mapping, is further configured to obtain a relationship between cycle time and quality of service of the first wireless communication network and add estimates of control performance to the relationship for forming the first mapping, where the estimates of control performance are based on the mapping of control performance to the cycle time and quality of service in the at least one further mapping.

[0023] It is correspondingly possible that the determining of the first mapping performed in the method comprises obtaining a relationship between cycle time and quality of service of the first wireless communication network and adding estimates of control performance to the relationship for forming the first mapping, where the estimates of control performance have been estimated based on the mapping of control performance to the cycle time and quality of service in the at least one further mapping.

[0024] Thereby the first aspect may additionally involve the cycle time determining function being configured to estimate the control performance in the first wireless communication network based on the mapping of control performance to cycle time and quality of service in the at least one further mapping.

[0025] Consequently, the second aspect may involve estimating the control performance in the first wireless communication network based on the mapping of control performance to cycle time and quality of service in the at least one further mapping. [0026] It is additionally possible that the at least one further mapping comprises a group of further mappings, where the mappings are mappings of cycle time and control performance to quality of service of different types of communication networks, such as different types of wireless communication networks and possibly also one or more different types of wired communication networks.

[0027] The estimates of the control performance may be based on a statistical operation of the control performances linked to the cycle times and QoS of the group of further mappings, such as determining a median or average value of the control performances corresponding to different cycle time. It is also possible that the worst case is removed. It is for instance possible to omit a further mapping that is concerned with a wired communication network. It is also possible to omit a further mapping based on a lack of resemblance to the relationship. As another option, it is possible that the control performance of the same type of communication network is estimated to be the control performance of the first wireless communication network. As another possibility it is possible to take the control performances of the further mapping having a relationship between QoS and cycle time that most resembles the relationship between QoS and cycle time for which control performance is to be estimated.

[0028] According to another variation of the first aspect, the cycle time determining function may be further configured to negotiate a quality of service with a network management system of the first wireless communication network, which negotiated quality of service corresponds to the determined cycle time.

[0029] According to a corresponding variation of the second aspect, the method may further comprise negotiating a quality of service with a network management system of the first wireless communication network, which negotiated quality of service corresponds to the determined cycle time.

[0030] The hardware assigning unit may be implemented using hardware in the automation function environment, such as dedicated hardware in the automation function environment.

[0031] The automation device may employ a wireless interface to the first wireless communication network. [0032] The process control system may comprise a network interface to the first wireless communication network for the hardware implementing the process control function, which network interface maybe of a first type that is an interface to a backbone network of the first wireless communication network or of a second type that is an air interface to the first wireless communication network, such as an air interface to a base station of the first wireless communication network.

[0033] The automation function environment may be a virtual cloud-based automation function environment where the process control function is realized as a virtual controller and the hardware assigning unit implements a virtualization layer, while the automation device may be a real automation device. Alternatively, the automation function environment may be provided in an edge node, from which the process control function communicates with the automation device.

[0034] The first wireless communication network may be a part of the process control system or external to the process control system.

[0035] The automation device may be any type of device that is used in control system such as a robot, a relay, a valve, a power switch, a conveyer belt, a motor, a drive, an I/O module, a sensor or an actuator.

[0036] Generally, all terms used in the claims are to be interpreted according to their ordinary meaning in the technical field, unless explicitly defined otherwise herein. All references to "a/an/the element, apparatus, component, means, step, etc." are to be interpreted openly as referring to at least one instance of the element, apparatus, component, means, step, etc., unless explicitly stated otherwise. The steps of any method disclosed herein do not have to be performed in the exact order disclosed, unless explicitly stated.

BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Aspects and embodiments are now described, by way of example, with reference to the accompanying drawings, in which:

[0038] Fig. 1 is a diagram schematically illustrating a first embodiment of a process control system comprising a cycle time determining device, automation devices and a controller controlling the automation devices via a first wireless communication network, [0039] Fig- 2 schematically shows a first realization of the cycle time determining device,

[0040] Fig.3 schematically shows a first realization of the controller,

[0041] Fig. 4 schematically shows a second embodiment of the process control system,

[0042] Fig. 5 schematically shows a third embodiment of the process control system implemented using an automation function environment,

[0043] Fig. 6 schematically shows computational resources used in the automation function environment,

[0044] Fig. 7 shows a flowchart schematically illustrating a number of method steps in a first version of a method of determining the cycle time of a process control loop in the process control system,

[0045] Fig. 8 is a flow chart illustrating a number of method steps in a second version of the method of determining the cycle time of a process control loop in the process control system, and

[0046] Fig. 9 schematically shows curves of control performance and cycle time for a first mapping as well as for a first, second, third and fourth further mapping of control performance, cycle time and quality of service.

DETAILED DESCRIPTION

[0047] Aspects of the present disclosure will now be described more fully hereinafter with reference to the accompanying drawings, in which certain embodiments are shown.

[0048] These aspects may, however, be embodied in many different forms and should not be construed as limiting; rather, these embodiments are provided by way of example so that this disclosure will be thorough and complete, and to fully convey the scope of all aspects of the invention to those skilled in the art. Like numbers refer to like elements throughout the description.

[0049] Fig. 1 is a diagram schematically illustrating a first embodiment of a process control system PCS 10, which process control system 10 comprises a controller CTRL 14 controlling a group of automation devices 22A - 22n via a first communication network 18, which first communication network in this case is a first wireless communication network WCN 18, which may be an external wireless network, such as a public wireless network, or an internal wireless network, i.e. a wireless network that is a part of the process control system 10. Furthermore, the first wireless communication network 18 may be a deterministic network, i.e. a network where the delay or latency is limited through the network guaranteeing that messages are being transferred in a set time period. In this example the group of automation devices comprises n automation devices. There is thus a first automation device ADi 22A and an nth automation device ADn 22m Furthermore, each automation device is connected to a corresponding wireless interface in order to communicate with the controller 14. The first automation device 22A is thus connected to a first wireless or air interface Wil 24 A and the nth automation device is connected to an nth wireless or air interface Win 24n, which wireless interfaces 24A, 24n may be realized using radio circuits and antennas in order to enable wireless communication with base stations of the first wireless communication network 18. Also, the controller 14 is connected to a network interface NI 16 for connecting to the wireless communication network 18, which network interface may be a wired interface to a backbone network of the wireless communication network 18 or a wireless interface, where the wireless interface may be realized through the combination of radio circuit and antenna, while the wired interface may be realized as an Ethernet interface.

[0050] There is also a cycle time determining device CTDD 12 connected to the controller 14 as well as a network management system NMS 20 that manages the first wireless communication network 18.

[0051] Fig. 2 schematically shows a first variation of the cycle time determining device CTDD 12. It comprises a first processor 26 connected to a first memory 28 with computer instructions implement in a cycle time determining function CTDF 30. The computer instructions may be computer program code of a computer program, where the computer program code implements the cycle time determining function 30 when being run by the first processor 26. The combination of first processor 26 and first memory 28 is one realization of hardware used to implement the cycle time determining function 30. The hardware implementing the cycle time determining function 30 is in this case hardware that is dedicated to this function. The memory 28 may also be considered to be a data carrier with the computer program code used to implement the cycle time determining function 30. In this case the data carrier with computer program code implementing the cycle time determining function 30 may also be considered to form a computer program product.

[0052] In the first memory 28 there is also a first mapping Ml 31 between cycle time, control performance and quality of service (QoS), where the cycle times and control performances are the cycle times and control performances of a process control loop in the process control system 10 when the first wireless communication network 18 is employed and QoS is QoS of the first wireless communication network 18. There is also a relationship R 32 between the above-mentioned cycle time and QoS, i.e. of cycle time of a control loop of the process control system when used in the first wireless communication network 18 and QoS of the first wireless communication network 18. There is also a first further mapping FM134, a second further mapping FM2 36, a third further mapping FM3 38 and a fourth further mapping FM440, where each further mapping is a mapping between cycle time and control performance of the process control loop to QoS for different types of communication networks. The cycle time determining device 12 also comprises a first Input/Output interface I/O 42 for communicating with other devices such as the controller 14. The first I/O interface 42 may also be realized as an Ethernet interface.

[0053] Fig. 3 schematically shows a first variation of the controller CTRL 14. It comprises a second processor 44 connected to a second memory 46 with computer instructions implementing a process control function PCF 48. The combination of second processor 44 and second memory 46 is one realization of hardware used to implement the process control function 48. The hardware implementing the process control function 48 is in this case hardware dedicated to this function. The controller 14 also comprises a second Input/Output interface I/O 50 for communicating with other devices such as the cycle time determining device 12. The second I/O interface 50 may also be an Ethernet interface. If the controller 14 is connected to a backbone network of the first wireless communication network 18, the second I/O interface 50 may be combined with the network interface 16.

[0054] Fig. 4 shows a second embodiment of the process control system 10. The controller 14 is in this case connected to the first wireless communication network 18 via the network interface 16 and communicates with the automation devices 22A, 22n in the same way as in the first embodiment, where again there is a network management system 20 managing the first wireless communication network 18. There is again a cycle time determining device 12, which in this second embodiment is connected to the controller 14 via a computer network CN 52, which computer network 52 may be a wired computer network. The computer network 52 may be an external computer network or an internal computer network, i.e. a network that is a part of the process control system 10.

[0055] Fig. 5 shows a third embodiment of the process control system 10. In this third embodiment the process control function PCF 48, the cycle time determining function 30 as well as the hardware implementing the process control function and the cycle time determining function are provided in an automation function environment AFE 54, where the automation function environment 54 is in contact with the automation devices 22 A, 22n via the first wireless communication network WCN 18. The automation function environment 54 maybe connected to a backbone network of the first wireless communication network 18 or it may have a wireless connection to the first wireless communication network 18 using the previously mentioned network interface, which has here been omitted for simplifying the figure.

[0056] The automation function environment 54 comprises a computing infrastructure CIS 58 and a hardware assigning unit HAU 56, which is configured to assign hardware to the process control function 48 and possibly also to the cycle time determining function 30. The automation function environment 54 may as an example be a virtual cloud-based automation function environment, while the automation devices may be real automation devices. In this case the computing infrastructure CIS 58 may be a cloud computing infrastructure and the hardware assigning unit HAU 56 may be a virtualization layer for virtualizing cloud functionality.

[0057] As can be seen in fig. 6, the computing infrastructure CIS 58 comprises a number of hardware resources. As an example, it comprises a first processing entity PEA 60A, a second processing entity PEB 60B and an nth processing entity PEn 6on as well as a first memory entity MEA 62A, a second memory entity MEB 62B and an nth memory entity MEn 62m The hardware resources may thus comprise both processing and memory resources, such as processing blades and memory blades.

[0058] The process control function 48 may be realized as a virtual controller implemented using the computing infrastructure 58 based on a mapping made by the hardware assigning unit 56 to hardware of the computing infrastructure 58. The process control function 48 may be assigned to any of the hardware resources. As an example the process control function 48 may be assigned to the first processing entity 60A and the first memory entity 62A. The process control function together with the assigned hardware then forms a controller that controls the first and possibly also the nth automation device 22 A, 22m It is also possible that the cycle time determining function 30 in the same way is assigned to processing and memory resources in the automation function environment. The cycle time determining function 30 may as an example be assigned to the second processing entity 60B and the second memory entity 62B by the hardware assigning unit 56. As an alternative the cycle time determining function 30 maybe realized using dedicated hardware in the automation function environment 54. The cycle time determining function 30 together with the hardware then forms the cycle time determining device. Also, the hardware assigning unit 56 may be realized using dedicated hardware in the automation function environment 54.

[0059] Alternatively, the automation function environment 54, the process control function 48 and the cycle time determining function 30 maybe provided in an edge node communicating with the automation devices 22 A, 22m

[0060] The process control function 48 may control one or more automation devices, such as the first automation device 22 A. As an example, the process control function 48 controls the first automation device 22A in a process control loop, e.g. in a loop that actuates the first automation device 22A based on one or more sensor measurements.

[0061] In operation the process control function 48 has been assigned hardware resource 60A, 62A. The process control function 48 is thus being run in a virtual machine, for instance as a virtual controller, on the assigned hardware 60A, 62A and then controls the first automation device 22A in the process control loop via the first wireless communication network 18. In this control a control cycle with a cycle time is used and the first wireless communication network provides a QoS.

[0062] In the automation device environment 54, the traditional hardware controllers in the field are removed. Instead, control logic is executed by automation functions, e.g. soft controllers, hosted by processing and memory hardware in the computing infrastructure 58, which can be realized by the ABB Ability, GE Predix, Siemens MindSphere, Microsoft Azure, Amazon Web Services, Alibaba Cloud, Huawei Mobile Cloud, etc. The control logic of the automation functions can be programmed in the PLC-specific languages such as IEC61131-3 and IEC61499, or generic programming languages such as C/C++. The computing infrastructure 58 can also be shared with other applications. ‘The process control function 48 is thus not performed by any hardware controller close to the first automation device 22Abut by a soft controller implemented through the hardware resources assigned by the hardware assigning unit 56. The process control function 48 may thereby be hardware agnostic, i.e., it maybe realized in the virtualized computing infrastructure 58 over the hardware assigning unit 56, such as with Docker containers and/ or virtual machines of Linux, Windows, VxWorks, etc.

[0063] The cycle time determining device may be a part of an integrated development environment in which the process control function 48 is developed. The controller 14 and automation devices 22 A, 22n are connected over the first wireless communication network 18 to transmit sensing data, control data, and device management data through their interfaces 16, 24A, 24m The first wireless communication network 18 is managed by the network management system 20 and the necessary network information is accessible by the controller 14 and automation devices 22A, 22m The first wireless communication network 18 can be implemented based on standardized technologies such as WirelessHART, ISA100, WIA-PA, WIA- FA, WiFi6, 5G, or beyond, or proprietary technologies such as EchoRing.

[0064] As an embodiment shown in Figure 4, the integrated development environment with the cycle time determining device 12 and the controller 14 can be connected during the development phase through the computer network 52 (internet or intranet). As another embodiment, the first wireless communication network 18 is used not only for automation traffics but may also be used for Information Technology (IT) traffic, which makes it into a so-called Converged IT (information technology) and OT (operation technology) Network, and it can be implemented based on technologies such as TSN (time sensitive networking) over WiFi6, 5G or beyond. As was mentioned earlier, the cycle time determining function and process control function can be implemented as software hosted in virtualized cloud and/or edge computing environment such as the OpenStack, Microsoft Azure, Amazon Web Service, Huawei Cloud, Alibaba Cloud, etc. [0065] The cycle time is the time for carrying out a control activity of a control loop based on obtained sensor measurements. Furthermore, the operation of the control loop has a control performance, which may be indicated through a performance measure, which may be linked to the operation of the automation device. The control performance may also be influenced by the first wireless communication network. Moreover, the first wireless communication network may have a QoS that can be varied. It is typically of interest to have as low a cycle time as possible. However, this selection should not be at the expense of the control performance and the quality of service. There is therefore a need for determining the cycle time while at the same time considering the control performance and QoS.

[0066] There may exist a first mapping Ml 31 of cycle time of the process control loop to quality of service of the first wireless communication network and control performance of the process control loop. The first mapping 31 may thus be a mapping between cycle time of the process control loop, QoS of the first wireless communication network 18 and control performance for the use of the control loop in the first wireless communication network 18, where the first mapping lays out the dependency of the cycle time of QoS and of control performance, i.e. how the cycle time varies based on variations in QoS and control performance. The cycle time is the time within which the control loop is finished. The control performance may in turn be based on a performance of a control activity performed in the control loop involving the first automation device 22A. It maybe expressed through the quality of a performed control activity on or by the first automation device 22A. For instance, the control performance maybe expressed as an error in the first automation device 22A in performing the control activity. If for instance the first automation device 22A comprises a motor, the control performance may be provided as an error in the motor speed, such as a relative root mean square error of the motor speed. QoS may in turn be provided through the availability of the first wireless communication network 18.

[0067] The first mapping 31 may have been obtained in a number of ways. It may have been obtained through simulations or as off-line and on-line statistics obtained by the controller 14 and first automation device 22A with the assistance of the network management system 20. It may also be determined based on empirical data from known communication networks, which communication networks may be different types of wireless and/or wired communication networks, such mobile communication, WiFi and Ethernet networks. The first mapping 31 maybe provided as a static configuration file, as a design library or as a look-up table.

[0068] How this first mapping 31 may be used will now be described with reference being made also to fig. 7, which shows a flow chart of a number of method steps in a method of determining a cycle time of a process control loop for the first automation device 22A.

[0069] The cycle time is thus a cycle time for the controller 14 to control the first automation device 22A in a control loop via the first wireless communication network 18. In order to determine this cycle time, the cycle time determining function 30 obtains the first mapping 31 of cycle time of the process control loop to QoS of the first wireless communication network 18 and control performance of the process control loop, S100, for instance from a memory in which the first mapping 31 is stored. The memory may be the first memory 28 in the cycle time determining device 12 according to the first and the second embodiments or a dedicated memory resource in the automation function environment 54 according to the third embodiment. The QoS may as an example be expressed as the availability of the first wireless communication network, while the control performance may be expressed through the quality of a performed control activity using the first automation device 22 A. If the first automation device 22A comprises a motor, then the control performance may as an example be a relative root mean square error of the motor speed error.

[0070] The cycle time determining function 30 then analyses the first mapping Ml 31 between cycle time, quality of service and control performance, S110, which analysis may involve analysing how the cycle time varies for variations of QoS and control performance. The cycle time determining function 30 then determines a cycle time to be used in the first wireless communication network 18 based on the analysis, S120, which maybe an acceptable cycle time for which both QoS and control performance are also acceptable. The determined cycle time may be the cycle time for which the combination of cycle time, QoS and control performance meets at least one control loop criterion. The criterion could be that each of the cycle time, QoS and control performance is as close as possible to a corresponding ideal or optimal value. Put differently the selected cycle time may be the cycle time for which each of the cycle time, QoS and control performance deviates from a corresponding ideal or optimal value by less than a corresponding maximum deviation. It may involve the lowest cycle time for which the availability stays above an availability threshold and for which a motor speed error is kept below a motor speed error threshold. There may also be an optimisation, i.e. the selecting of the best combination of cycle time, QoS and control performance based on one or more optimisation criteria.

[0071] The determined cycle time may then be applied in the process control function 48. It is also possible that the cycle time determining function 30 negotiates a QoS with the network management system 20, which negotiated QoS corresponds to the determined cycle time, S130, for instance through negotiating a service level agreement (SLA) that provides the QoS corresponding to the determined cycle time.

[0072] Another way of determining the cycle time will now be described with reference being made to fig. 8, which shows a flow chart of second variation of the method of determining the cycle time, which is also being performed by the cycle time determining function 30.

[0073] The method starts by the cycle time determining function 30 obtaining at least one further mapping between cycle time, control performance and QoS of at least one other communication network, i.e. of at least one communication network that is different from or is not the first wireless communication network 18. In this example it involves the cycle time determining function 30 obtaining a group of further mappings 34, 36, 38, 40, where the mappings are mappings of cycle time and control performance to QoS of different types of communication networks, S200. Each of these mappings may be a mapping of empirical data of the at least one other communication network, such as empirical data concerning the performance of the control loop with different used cycle times and used qualities of service in the group of communication networks. The group of communication networks may comprise different types of wireless communication networks and possibly also one or more different types of wired communication networks, such as mobile communication, WiFi and Ethernet networks. It is for instance possible that the communication network of the first further mapping 34 is a 1-hop 5G network, that the communication network of the second further mapping 36 is a 1-hop WiFi6 network, that the network of the third further mapping 38 is a 1-hop hybrid 5G and WiFi6 network and the network of the fourth further mapping 40 is the mapping of an ideal wired Ethernet network. Each further mapping may have been obtained through simulations or as off-line and on-line statistics obtained by control of an automation device via the corresponding communication network with the assistance of an associated network management system. The further mappings 34, 36, 38, 40 maybe obtained from one or more memories in which the mappings are stored, such as the first memory 28 in the cycle time determining device 12 according to the first and the second embodiments or a dedicated memory resource in the automation function environment 54 according to the third embodiment. QoS may again be the availability of the corresponding communication network and the control performance may be an error of a control command such as a motor speed error like a relative root mean square error of the motor speed.

[0074] The cycle time determining function 30 may obtain the further mappings 34, 36, 38, 40 as one or more static configuration files or as a design library. As an example given in table I below, the further mappings maybe provided together in a table. Again, QoS reflects the availability of the communication networks and the cycle time may be expressed in ms.

[0075]

TABLE I

[0076] In this case, the obtaining of the first mapping 31 comprises determining the first mapping 31 based on the at least one further mapping. This may be done based on the relationship 32 between cycle time and QoS for the first wireless communication network 18 and the group of further mappings 34, 36, 38, 40. For this reason, the cycle time determining function may obtain the relationship 32 between cycle time and QoS for the first wireless communication network 18, S210, which relationship 32 maybe provided as a function, a table or a configuration file. As an example the relationship 32 maybe provided as the table II below, where the cycle time maybe in ms and the QoS as the availability of the first wireless communication network 18.

[0077]

TABLE II [0078] The cycle time determining function 30 may then estimate the control performance corresponding to cycle time and QoS of the relationship 32 based on the group of further mappings 34, 36, 38, 40, S220. The estimation of control performance may thus be based on the mapping of control performance to the cycle time and quality of service in the group of further mappings. Here it is possible that the estimates are based on a statistical operation of the control performances linked to the cycle times and QoS of the further mappings, such as determining a median or average value of the control performances corresponding to different cycle time. It is also possible that the worst case is removed. It is for instance possible to omit the fourth further mapping 40 from the operation as the type of communication network is wired, while the first wireless communication network 18 is wireless. It is also possible to omit a further mapping based on a lack of resemblance to the relationship 32. As another option, it is possible that the control performance of the same type of communication network is estimated to be the control performance of the first wireless communication network 18. If for instance the first wireless communication network 18 is a 5G network, it is possible that the control performances of the first further mapping 34 are estimated to be the control performances corresponding to the relationship 32. As another possibility it is possible to take the control performances of the further mapping having a relationship between QoS and cycle time that most resembles the relationship 32 to be the estimated control performances.

[0079] After the control performances corresponding to the relationship 32 have been estimated, they are then added to the relationship 32 in order to form the first mapping 31, S230.

[0080] After the control performances have been added to the relationship 32 for forming the first mapping 31, the cycle time determining function 30 then analyses the first mapping 31, S240, and thereafter determines a cycle time based on the analysis, S250, which may be done in the same way as in the first variation. It is additionally possible that a QoS is negotiated with the network management system 20 corresponding to the determined cycle time, S260, which may also be done in the same way as in the first variation of the method.

[0081] The above-mentioned steps S200 -S250 can be summarized in the following way. [0082] For each line of Table II, the cycle time determining function 30 looks into Table I and performs the best estimation of control performance it can make based on the empirical data of the known communication networks. As an example, a curve of the estimated control performance as a function of the cycle time of the first mapping Ml 31 is plotted in fig. 9. As a comparison, curves of the control performance as a function of cycle time for the first, second, third and fourth further mappings FM134, FM2 36, FM3 38, FM440 are also shown. From the curve corresponding to the first mapping 31, the cycle time determining function 30 can find an optimal cycle time, which in this example is 8 ms. The optimal cycle time may correspond to the minimum of the control performance, when the control performance is expressed as an error such as the Relative Root Mean Square Error of Motor Speed. It should also be realized that for another control performance that is not an error, then the optimal cycle time may correspond to the maximum of the control performance.

[0083] It can in this way be seen that a cycle time is determined that considers both QoS and control performance. The cycle time is thus not only determined based on the needs of the process control function but also based on the limitations of wireless communication network being used. Thereby it is possible to achieve a better control performance without changing the wireless communication network itself.

[0084] In the example given above, the control performance was indicated by the Relative Root Mean Square Error of Motor Speed. It should be realized that the control performance can be indicated by other parameters, such as parameters that are linked to the performance in communicating between the process control function and the first automation device like average latency, reliability, packet loss rate, etc. However, it is also possible with other types of parameters linked to the control, such as stability, convergence speed, energy consumption, etc., depending on the application.

[0085] Furthermore, a motor is merely one example of an automation device. The first automation device 22A can be any type of device that is used in process control systems such as a robot, a relay, a valve, a power switch, a conveyer belt, a motor, a drive, an I/O module, and any type of sensor or actuator.

[0086] The aspects of the present disclosure have mainly been described above with reference to a few embodiments and examples thereof. However, as is readily appreciated by a person skilled in the art, other embodiments than the ones disclosed above are equally possible within the scope of the invention, as defined by the appended patent claims.