Sunday 30 March 2025
As scientists and engineers, we’re always on the lookout for ways to ensure that our creations are safe, reliable, and efficient. When it comes to complex systems like particle accelerators or power plants, getting it right can be a matter of life and death. That’s why formal verification – the process of mathematically proving that a system meets its specifications – has become an essential tool in many industries.
But what happens when you’re dealing with a system as complex as a programmable logic controller (PLC)? These devices are essentially tiny computers that control the behavior of machinery, but they can be notoriously tricky to verify. That’s where a team of researchers from CERN and GSI came in, developing a formal verification service specifically designed for PLCs.
The key challenge in verifying PLCs is their inherent complexity. Unlike traditional software programs, which have clear inputs and outputs, PLCs are often used to control complex physical systems with multiple variables and interactions. This makes it difficult to model the system mathematically and prove that it meets its specifications.
To tackle this problem, the researchers developed a formal verification service that uses timed automata – a mathematical framework for modeling systems with time-dependent behavior. By representing the PLC’s behavior as a timed automaton, they were able to formally verify the system’s safety-critical components, such as timers and counters.
One of the most impressive aspects of this work is its real-world application. The researchers used their formal verification service to analyze a PLC program from a particle accelerator facility at GSI. By modeling the PLC’s behavior using timed automata, they were able to identify several discrepancies in the program that could have potentially caused errors or even safety issues.
For example, they found that a timer was not properly reset after a certain condition was met, which could have led to the system malfunctioning. They also identified cases where the PLC’s output variables were not properly constrained, allowing for invalid values to be written to the system.
By using their formal verification service, the researchers were able to pinpoint these issues and provide recommendations for fixing them. This is a huge step forward in ensuring the reliability of complex systems like particle accelerators, where even small errors can have catastrophic consequences.
The implications of this work go far beyond particle physics, however. Formal verification techniques are being applied to a wide range of industries, from aerospace to healthcare. As our world becomes increasingly reliant on complex systems and machines, the need for rigorous verification techniques will only continue to grow.
Cite this article: “Formal Verification Service for Programmable Logic Controllers”, The Science Archive, 2025.
Formal Verification, Programmable Logic Controller, Plc, Particle Accelerators, Safety-Critical Systems, Timed Automata, Mathematical Modeling, Formal Methods, Reliability, Certification







