Safe Failure Fraction Verification and Optimization in Industrial Drive Systems

Imran Riaz Hasrat, Eun-Young Kang, Christian Uldal Graulund · 2025

Read Safe Failure Fraction Verification and Optimization in Industrial Drive Systems by Imran Riaz Hasrat, Eun-Young Kang, Christian Uldal Graulund (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2503-21965.txt.

Introduction

Imran Riaz Hasrat, Eun-Young Kang, and Christian Uldal Graulund verify and tune the safety design of an industrial drive module, in a 2025 paper. Factory drives must catch dangerous faults fast, yet faults strike at random, which makes testing hard. The team modeled the module's safety setup as timed automata and checked its key requirements with a model checker, weeding out unwanted behaviors.

With the verified model as a baseline, a learning tool then pushed the safe failure fraction, the share of failures that fail safe, up to its 90 percent target. Better fault detection came with it. The authors say the same model-then-optimize route could serve wider automation safety work.

Catalog record

CREATORImran Riaz Hasrat, Eun-Young Kang, Christian Uldal Graulund
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE31 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2503-21965

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Safe Failure Fraction Verification and Optimization in Industrial Drive Systems Imran Riaz Hasrat, Eun-Young Kang, Christian Uldal Graulund Abstract Safety and reliability are crucial in industrial drive systems, where hazardous failures can have severe consequences. Detecting and mitigating dangerous faults on time is challenging due to the stochastic and unpredictable nature of fault occurrences, which can lead to limited diagnostic efficiency and compromise safety. This paper optimizes the safety and diagnostic performance of a real-world industrial Basic Drive Module (BDM) using uppaal stratego . We model the BDM’s functional safety architecture with timed automata and formally verify its key functional and safety requirements through model checking to eliminate unwanted behaviours. Considering the formally verified correct model as a baseline, we leverage the tool’s reinforcement learning facility to optimize the safe failure fraction to the 90 % threshold, improving fault detection ability. The promising results highlight strong potential for broader safety applications in industrial automation. 1 Introduction In the current fast-paced industrial world, industrial drive systems play a crucial role in automating processes in diverse industries like automotive, aerospace, and food and beverage [ 1 ] . In recent years, the demand for smooth automation and precision has steadily increased making these systems the backbone of industrial manufacturing for controlling speed, torque, and direction in the operations of machines. Since the drives primarily control the operation of electric motors, safety and reliability have become the top considerations for flawless and correct operation. However, the complex architecture (involving power converters and diagnostic means) of such drives poses challenges in achieving these goals. Functional safety standards such as IEC 61508 and EN 61800-5-2 require robust safety-related design techniques to be applied in industrial applications. Safe Torque Off (STO) is an important concept in shielding motors against faults—deactivating the motors to avoid situations that can lead to accidents and ensuring safety. This not only demands solid hardware design but also sophisticated diagnostic mechanisms to detect and react to failures in real-time. Formal verification [ 6 ] is a powerful technique for ensuring the functional correctness of complex real-time industrial systems. The safe failure fraction (SFF) metric is used to evaluate these systems’ ability to detect failures. However, the randomness of fault occurrences makes optimizing SFF challenging, emphasizing the need for advanced techniques. Advancements in artificial intelligence make reinforcement learning (RL) [ 27 ] a strong candidate for optimization problems, such as enhancing SFF. RL can improve fault detection mechanism and safety by enabling systems to learn and adapt. This paper aims to optimize SFF performance in an industrial BDM drive through a real-world case study. To do so, we use an RL-enabled timed automata (TA) based tool Uppaal Stratego [ 9 ] , widely known for formal modelling, verification (using model checking), and optimization. In the first step, we construct the model of the BDM architecture as a set of TAs. We selected TA as the formal modelling technique due to their ability to represent complex systems with discrete states and time-dependent behaviours, making them ideal for the BDM, where timing and synchronization are critical. Next, we perform formal verification against the functional and safety properties of the BDM to ensure its formal model is free from undesired behaviours and operates as intended. Formal verification ensures that the optimization process gets a correct model. Given the growing popularity of RL in solving optimization problems, we leverage the RL (Q-learning) capabilities embedded in Uppaal Stratego to optimize the SFF performance. The RL based optimization capabilities in Uppaal Stratego make it well-suited for training the diagnostics of the BDM and enhancing overall safety. The contributions of this study are as follows: • Formal modelling of the BDM architecture in Uppaal Stratego , capturing its functional behaviour, safety mechanisms, and timing constraints. • Formally verifying the functional and safety properties of the BDM, including core functionality and timing requirements, and ensuring the absence of undesired behaviours. • Optimizing the SFF to achieve the target safety levels using RL in Uppaal Stratego . 2 Preliminaries In this section, we provide an overview of reinforcement learning and Uppaal Stratego , which serve as the essential background for this paper. 2.1 Reinforcement Learning RL trains a machine how to behave by letting it interact with the environment. It computes the state-action pair values and collects the scores of the actions taken by the machine at different states. Q-learning [ 29 ] is an RL algorithm that uses the Bellman-optimal equation to calculate the state-action pair values (called Q-values) by estimating the expected future reward for taking a specific action in a given state. The Q-learning algorithm can be represented as follows: \displaystyle Q^{*}(s,a)=E\left[R(s,a)+\gamma\max_{a^{\prime}}Q^{*}(s^{\prime},a^{\prime})\right] Here, Q^{*}(s,a) is the expected cumulative reward for taking an action a from a state s , while E denotes the expectation function over possible future states. R(s,a) is the immediate reward received from the environment when performing an action a from state s , \gamma\in[0,1] is the discount factor that adjusts the weight/importance of future rewards, and \max_{a^{\prime}}Q^{*}(s^{\prime},a^{\prime}) is the maximum expected future reward achievable from the next state s^{\prime} by taking action a^{\prime} . 2.2 Uppaal Stratego Uppaal Stratego [ 9 ] is an advanced extension of the Uppaal tool suite [ 21 ] , integrating traditional Uppaal capabilities with RL techniques to derive safe and near-optimal strategies for Stochastic Hybrid Games (SHG) [ 8 ] . Uppaal Stratego is useful to generate strategies that can be used to optimize various performance metrics, such as minimizing cost or maximizing safety. To synthesize optimal control strategies within a specified context, Stratego incorporates RL algorithms like Q-learning. When applying Q-learning, Stratego calculates Q-values by running sample runs, and these computed values are then used to improve the strategy. This iterative procedure is continually revised until the performance converges. In the case of continuous state spaces, Stratego employs an online partition refinement method to discretize the state space [ 15 ] . This technique allows the tool to dynamically enhance its representation of the state space during exploration. Consequently, effective strategies can be developed without requiring a comprehensive state analysis. For an in-depth understanding of the tool’s rich formalism, refer to [ 21 , 9 , 5 ] . 3 Case Study The case study describes the functional safety (FS) architecture of an industrial BDM provided by Danfoss [ 3 ] . The BDM is an electronic power converter combined with its associated control system, positioned between an electric motor and power supply. It converts the supplied DC power into a format suitable for the smooth operation of the motor according to its design specifications. Figure 1 : Overview of the functional safety architecture of the BDM The BDM is required to integrate the iSM3 (Safety Module), with an emphasis on implementing the SIL3 (Safety Integrity Level) STO function, along with internal diagnostics. To ensure an adequate safety level, the diagnostics in the iSM3 must achieve a SFF of at least 90 % as the threshold. The overview of the BDM is illustrated in Figure 1 . The functional blocks i.e., pulse generator, signal levelling and processing, switch, power processing and motor express the core functionality of the BDM. On the other hand, the diagnostic block (DB), being

Read the complete text