Abstract
This paper presents an approach to verify PLCs, a common platform to control systems in the industry. We automatically translate PLC programs written in the languages of the IEC 61131-3 standard to B models, amenable to formal analysis of safety constraints and general structural properties of the application. This approach thus integrates formal methods into existing industrial processes, increasing the confidence in PLC applications, nowadays validated mostly through testing and simulation. The transformation from the PLC programs to the B models is described in detail in the paper. We also evaluate the approach’s potential with a case study in a real railway application.
Project supported by ANP. CNPq grants 560014/2010-4 and 573964/2008-4 (National Institute of Science and Technology for Software Engineering—INES, www.ines.org.br ).
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
IEC (2003): IEC 61131-3 - Programmable controllers. International Electrotechnical Comission Standards (2003)
Kron, H.: On the evaluation of risk acceptance principles. In: 19th Dresden Conference on Traffic and Transportation Science (2003)
Amey, P.: Dear sir, yours faithfully: an everyday story of formality. IN Proc. 12th Safety-Critical Systems Symposium, p. 318 (2004)
Parnas, D.: Really rethinking ‘formal methods’. Computer (January 2010), http://portal.acm.org/citation.cfm?id=1724964.1724987
Ljungkrantz, O., Åkesson, K., Fabian, M., Yuan, C.: A Formal Specification language for PLC-based Control Logic. In: Proc. of 8th IEEE International Conference on Industrial Informatics, pp. 1067–1072 (2010)
Soliman, D., Frey, G.: Verification and Validation of Safety Applications based on PLcopen Safety Function Blocks using Timed Automata in Uppaal. In: Proceedings of the Second IDAC Workshop on Dependable Control of Discrete Systems (DCDS), pp. 39–44 (2009)
Farines, J., de Queiroz, M.H., da Rocha, V.G., Carpes, A.A.M., Vernadat, F., Crégut, X.: A model-driven engineering approach to formal verification of PLC programs. In: IEEE EFTA (2011)
Abrial, J.R.: The B-book: assigning programs to meanings. Cambridge University Press, Cambridge (2005)
PLCopen : XML Formats for IEC 61131-3. PLCopen Technical Committee, 6 (2009)
Barbosa, H., Déharbe, D.: Towards formal verification of PLC programs. In: 14th Brazilian Symposium on Formal Methods: Short Papers, São Paulo- SP (2011)
Barbosa, H., Déharbe, D.: Formal Verification of PLC Programs Using the B Method. In: Derrick, J., Fitzgerald, J., Gnesi, S., Khurshid, S., Leuschel, M., Reeves, S., Riccobene, E. (eds.) ABZ 2012. LNCS, vol. 7316, pp. 353–356. Springer, Heidelberg (2012)
Lecomte, T., Servat, T., Pouzancre, G.: Formal methods in safety-critical railway systems. In: Proc. Brazilian Symposium on Formal Methods: SMBF (January 2007)
Abrial, J.R.: Formal methods in industry: achievements, problems, future. In: Proceedings of the 28th International Conference on Software Engineering, pp. 761–768 (2006)
Cabral, G., Sampaio, A.: Formal Specification Generation from Requirement Documents. In: SBMF (2006)
Ladenberger, L., Jastram, M.: Requirements Traceability between Textual Requirements and Formal Models Using ProR
Barbosa, H.: Desenvolvendo um sistema crítico através de formalização de requisitos utilizando o método B. B.Sc. Thesis, UFRN, DIMAp, Natal, Brazil (2010)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2012 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Barbosa, H., Déharbe, D. (2012). An Approach Using the B Method to Formal Verification of PLC Programs in an Industrial Setting. In: Gheyi, R., Naumann, D. (eds) Formal Methods: Foundations and Applications. SBMF 2012. Lecture Notes in Computer Science, vol 7498. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-33296-8_4
Download citation
DOI: https://doi.org/10.1007/978-3-642-33296-8_4
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-33295-1
Online ISBN: 978-3-642-33296-8
eBook Packages: Computer ScienceComputer Science (R0)