A real-time semantics for the IEC 61499 standard

The IEC 61499 standard provides an executable model for distributed control systems in terms of interacting function blocks. However, the current IEC 61499 standard lacks appropriate timing semantics for the specification of timing requirements, reasoning on timing properties at the model level, and for the timing verification of a specific deployment. In this paper we address this fundamental shortcoming by proposing Real-Time-4-FUN, a real-time semantics for IEC 61499. The key property is the preservation of non-determinism, allowing us to reason on (and verify) timing properties at the model level without assuming any specific scheduling policy or stipulating specific order of execution for the deployment. This provides for a clear separation of concerns, where the designer can focus on properties of the application prior to, and separately from, deployment verification. The proposed timing semantics is backwards compatible to the current standard, thus allow for reuse of existing designs. The transitional property allows timing requirements to propagate to downstream sub-systems, and can be utilized for scheduling both at device and network level. Based on a translation to RTFM-tasks and resources, IEC 61499 models can be analyzed, compiled and executed. As a proof of concept the timing semantics has been experimentally implemented in the RTFM-core language and the accompanying (thread based) RTFM-RT run-time system.

[1]  Valeriy Vyatkin,et al.  Time-Complemented Event-Driven Architecture for Distributed Automation Systems , 2015, IEEE Transactions on Systems, Man, and Cybernetics: Systems.

[2]  R. Stephenson A and V , 1962, The British journal of ophthalmology.

[3]  Alois Zoitl,et al.  Real-Time Execution for IEC 61499 , 2008 .

[4]  Alan Burns,et al.  A Schedulability Compatible Multiprocessor Resource Sharing Protocol -- MrsP , 2013, 2013 25th Euromicro Conference on Real-Time Systems.

[5]  Jean-Marc Roussel,et al.  A formal semantics for Grafcet specifications , 2011, 2011 IEEE International Conference on Automation Science and Engineering.

[6]  Per Lindgren,et al.  RTFM-core: Language and implementation , 2015, 2015 IEEE 10th Conference on Industrial Electronics and Applications (ICIEA).

[7]  Sebastian Engell,et al.  A Unifying Semantics for Sequential Function Charts , 2004, SoftSpez Final Report.

[8]  Per Lindgren,et al.  RTFM-RT: A threaded runtime for RTFM-core - towards execution of IEC 61499 , 2015, 2015 IEEE 20th Conference on Emerging Technologies & Factory Automation (ETFA).

[9]  A. Luder,et al.  Mapping of IEC 61499 function blocks to automation protocols within the TORERO approach , 2004, 2nd IEEE International Conference on Industrial Informatics, 2004. INDIN '04. 2004.

[10]  Alois Zoitl,et al.  Enhanced real-time execution of modular control software based on IEC 61499 , 2006, Proceedings 2006 IEEE International Conference on Robotics and Automation, 2006. ICRA 2006..

[11]  Daniel Kroening,et al.  A Survey of Automated Techniques for Formal Software Verification , 2008, IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems.

[12]  Kim G. Larsen,et al.  Real-time specifications , 2013, International Journal on Software Tools for Technology Transfer.

[13]  Per Lindgren,et al.  Real-time for the masses, step 1: Programming API and static priority SRP kernel primitives , 2013, 2013 8th IEEE International Symposium on Industrial Embedded Systems (SIES).

[14]  Johan Eriksson,et al.  SRP-DM scheduling of component-based embedded real-time software , 2011 .

[15]  Theodore P. Baker,et al.  A stack-based resource allocation policy for realtime processes , 1990, [1990] Proceedings 11th Real-Time Systems Symposium.

[16]  Valeriy Vyatkin,et al.  Real-time execution of function blocks for Internet of Things using the RTFM-kernel , 2014, Proceedings of the 2014 IEEE Emerging Technology and Factory Automation (ETFA).

[17]  H. S. Osborne,et al.  The international electrotechnical commission , 1953, Electrical Engineering.