Fault Diagnosis for Functional Safety in Electrified and Automated Vehicles

Total Page:16

File Type:pdf, Size:1020Kb

Fault Diagnosis for Functional Safety in Electrified and Automated Vehicles Fault Diagnosis for Functional Safety in Electrified and Automated Vehicles Dissertation Presented in Partial Fulfillment of the Requirements for the Degree Doctor of Philosophy in the Graduate School of The Ohio State University By Tianpei Li, Graduate Program in Mechanical Engineering The Ohio State University 2020 Dissertation Committee: Prof. Giorgio Rizzoni, Advisor Prof. Manoj Srinivasan Prof. Ran Dai Prof. Qadeer Ahmed c Copyright by Tianpei Li 2020 Abstract Vehicle safety is one of the critical elements of modern automobile development. With increasing automation and complexity in safety-related electrical/electronic (E/E) systems, and given the functional safety standards adopted by the automo- tive industry, the evolution and introduction of electrified and automated vehicles had dramatically increased the need to guarantee unprecedented levels of safety and security in the automotive industry. The automotive industry has broadly and voluntarily adopted the functional safety standard ISO 26262 to address functional safety problems in the vehicle development process. A V-cycle software development process is a core element of this standard to ensure functional safety. This dissertation develops a model-based diagnostic method- ology that is inspired by the ISO-26262 V-cycle to meet automotive functional safety requirements. Specifically, in the first phase, system requirements for diagnosis are determined by Hazard Analysis and Risk Assessment (HARA) and Failure Modes and Effect Analysis (FMEA). Following the development of system requirements, the second phase of the process is dedicated to modeling the physical subsystem and its fault modes. The implementation of these models using advanced simulation tools (MATLAB/Simulink and CarSim in this dissertation) permits quantification of the fault effects on system safety and performance. The next phase is dedicated ii to understanding the diagnosability of the system (given a sensor set), or the selec- tion of a suitable sensor set to achieve the desired degree of diagnosability, using a graph-theoretic method known as structural analysis. By representing a system in directed-graph or incidence-matrix form, structural analysis allows the determina- tion of analytical redundancy in the system and of the detectability and isolability of individual faults. Further, it provides a logical computation sequence for solving for system unknowns, by identifying analytical redundant relations (ARRs) that can be used to design diagnostic algorithms. The design of residual generation based on ARRs is linked to state estimation and system identification methods, includ- ing state observers and parameter estimation. The later phases of the V-diagram address the development of Model-In-the-Loop, Software -In-the-Loop, Hardware-In- the-Loop, in-vehicle calibration and validation. For the purposes of this dissertation we limit our demonstration of the methods to Model-In-the-Loop validation for two of the case studies and Hardware-In-the-Loop validation for a third. In addition to developing a process-oriented methodology, this dissertation also addresses trade-offs in selecting different methods in terms of computational causality and robustness to noise and uncertainty in compliance with diagnostic requirements. Further, when dealing with state estimation and system identification in nonlinear systems, system observability can change with operating conditions. This disserta- tion also introduces a novel nonlinear system observability index to quantify system observability under different operating conditions. This index helps determine proper scenarios to apply state estimation and system identification approaches for fault di- agnosis. That is, the system observability and fault detectability may be enhanced in some operating conditions. iii The effectiveness of the methodology is demonstrated in three case studies: i) the diagnosis of electric traction drive resolver faults in all-wheel drive battery electric vehicles; ii) resolver fault diagnosis in a P-2 configuration hybrid-electric powertrain; and iii) fault diagnosis in the automated vehicle steering system. While ISO 26262 applies to E/E systems, mechanical and electromechanical systems are also susceptible to safety-related degradation and failure. Thus, in the third case study, we extend the scope of functional safety problems addressed by ISO 26262 to mechanical faults in vehicle steering system. That is, this dissertation addresses functional safety issues related to both E/E systems and mechanical systems in electrified and autonomous vehicles. iv Dedicated to my parents v Acknowledgments First, I would like to express my sincere gratitude to my advisor, Prof. Giorgio Rizzoni, for his continuous guidance and support in helping me develop interests in my research area. Without his expertise, patience and supervision, this dissertation would not be successful. I also thank him for providing me with the opportunity to join the Ohio State University Center for Automotive Research (OSU CAR) and to work with a group of intelligent people. The invaluable knowledge and experience I gained throughout my entire Ph.D career will be the key to my future success. I would also like to thank Prof Qadeer Ahmed, Prof. Manoj Srinivasan, Prof. Ran Dai, for serving as my dissertation committee. I especially would like to express my appreciation to Prof. Qadeer Ahmed, for the helpful guidance in the research projects on electric traction drive resolver diagnosis and chassis system diagnosis. I would like to thank Dr. Jeff Chrstos for his knowledge and experience in vehicle dynamics, CarSim and driving simulator. I specially thank Ruban Sekar for his help and support in performing experiments for my research. I also thank my workmates in the diagnostic/prognostic research group at CAR, including Ruochen Yang, Kaveh Khodadadi Sadabadi. It was a pleasant experience to exchange ideas with these talented people. I am also deeply grateful to my parents for their unconditional love and care. Without their support, I would never grow into maturity. I would like to thank Ziyi vi Li, for all her love and company over the past years. I also thank my friends at CAR, especially Tong Zhao, Ye Cheng, Yuxing Liu, Ke Pan, Zhaoxuan Zhu, for being so encouraging and supportive that helps me get rid of stresses and overcome all the hardships. Finally, I would like to thank Ford Motor Company for providing me with great research opportunities and projects. My gratitude goes to the people at Ford Motor Company, especially Mathew Boesch, Jason Meyer, Bader Badreddine, Dexin Wang, Devon Eyerman and Timothy Drotar. vii Vita 2014 . .B.S. Vehicle Engineering, Hefei Univer- sity of Technology, Hefei, China 2014-present . .Graduate Research Associate, Center for Automotive Research, Department of Mechanical and Aerospace Engineer- ing, The Ohio State University, Colum- bus, Ohio, USA. Publications Research Publications Li, T., Rizzoni, G., Ahmed, Q., Meyer, J., Boesch, M. and Badreddine, B. (in press) \Model-Based Electric Traction Drive Resolver Fault Diagnosis for Electrified Vehi- cles". International Journal of Powertrains Li, T., Ahmed, Q., Rizzoni, G., Meyer, J., Boesch, M. and Badreddine, B. \Motor Resolver Fault for AWD EV based on Structural Analysis". SAE Technical Paper, 2018, No. 2018-01-1354 Li, T., Ahmed, Q., Rizzoni, G., Meyer, J., Boesch, M. and Badreddine, B. \Mo- tor Resolver Fault Propagation Analysis for Electrified Powertrain". ASME 2017 Dynamic Systems and Control Conference Zhang, J., Amodio, A., Li, T., Aksun-Gven, B. and Rizzoni, G. \Fault Diagnosis and Fault Mitigation for Torque Safety of Drive-by-Wire Systems". IEEE Transactions on Vehicular Technology, 67(9), pp.8041-8054 Zhang, J., Li, T., Amodio, A., Aksun-Guvenc, B. and Rizzoni, G. \Fault diagno- sis and fault tolerant control for electrified vehicle torque security". 2016 IEEE Transportation Electrification Conference and Expo (ITEC), pp. 1-7. IEEE viii Fields of Study Major Field: Mechanical Engineering ix Table of Contents Page Abstract . ii Dedication . .v Acknowledgments . vi Vita......................................... viii List of Tables . xiv List of Figures . xvi List of Acronyms and Symbols . xxv 1. Introduction . .1 1.1 Motivation . .1 1.2 Contributions of this Dissertation . 10 1.3 Organization of this Dissertation . 11 2. Background . 14 2.1 Automotive Functional Safety . 14 2.2 Diagnostic Challenge for Automated Vehicles . 17 2.3 ISO/PAS 21448 Standard - Road Vehicles- Safety of the Intended Functionality (SOTIF) . 20 2.4 Objectives of This Dissertation . 21 2.5 Hazard Analysis and Risk Assessment (HARA) . 23 2.6 Functional Safety Concept and Technical Safety Concept . 25 2.7 Failure Modes and Effect Analysis (FMEA) . 26 x 2.8 Model-based Diagnosis Approaches . 30 2.8.1 Analytical Redundancy . 30 2.8.2 Structural Analysis . 31 2.8.3 Fault diagnosis with observers . 43 2.8.4 Fault diagnosis with parity equation . 47 2.8.5 Equivalence between observer-based diagnosis and parity equation- based diagnosis . 49 2.8.6 Fault diagnosis with parameter estimation . 52 2.9 Overview of Model-based Fault Diagnosis Methodology . 56 2.10 Conclusion . 57 3. Diagnosis of Electric Traction Drive Resolver Fault in All-wheel Drive Electric Vehicles . 59 3.1 PMSM Drive System Modeling . 62 3.2 FMEA of Electric Traction Drive Resolver . 64 3.2.1 Resolver-to-digital Conversion . 65 3.2.2 Failure modes of the resolver . 66 3.3 Resolver Fault Effects Analysis . 69 3.3.1 Effects of Amplitude Imbalance and Quadrature Imperfection in PMSM Drive System . 70 3.3.2 Effects of Amplitude Imbalance and Quadrature Imperfection on Electric Motor Control . 71 3.3.3 Effects of Reference Phase Shift in PMSM Drive System . 73 3.4 Simulation of Resolver Fault in PMSM Drive System . 74 3.4.1 Amplitude Imbalance in PMSM Drive System . 74 3.4.2 Reference Phase Shift in PMSM Drive System . 75 3.5 Structural Analysis for FDI . 77 3.6 Tire Slip Analysis . 83 3.6.1 Scenario 1: Tire Slip due to Intensive Acceleration . 85 3.6.2 Scenario 2: Tire Slip due to Extreme Road Conditions . 85 3.6.3 Scenario 3: Tire Slip due to Code Error . 86 3.7 GPS based Vehicle Speed and Wheel Speed Sensor Performance with Tire Slip .
Recommended publications
  • Development and Certification of Mixed-Criticality Embedded
    Development and Certification of Mixed-criticality Embedded Systems based on Probabilistic Timing Analysis Irune Agirre Troncoso Computer Architecture Department Universitat Polit`ecnicade Catalunya A thesis submitted for the degree of PhD in Computer Architecture May 2018 Development and Certification of Mixed-criticality Embedded Systems based on Probabilistic Timing Analysis Irune Agirre Troncoso May 2018 Universitat Polit`ecnicade Catalunya Computer Architecture Department Thesis submitted for the degree of Doctor of Philosophy in Computer Architecture Advisor: Francisco J. Cazorla, Barcelona Supercomputing Center and IIIA-CSIC Co-advisor: Mikel Azkarate-askatsua, IK4-Ikerlan Technology Research Center The work reported in this Thesis has been conducted in collaboration between the Univer- sitat Polit`ecnicade Catalunya, the Dependable Embedded Systems department of IK4-Ikerlan Technology Research Center and the Computer Architecture and Operating Systems (CAOS) group of the Barcelona Supercomputing Center (BSC). i ii Abstract An increasing variety of emerging systems relentlessly replace or aug- ment the functionality of mechanical subsystems with embedded elec- tronics. For quantity, complexity, and use, the safety of such subsys- tems, often subject to regulation, is an increasingly important matter. Those systems are subject to safety certification to demonstrate sys- tem's safety by rigorous development processes and hardware/software constraints. The massive augment in embedded processors' complexity renders the arduous certification task significantly harder to achieve. The focus of this thesis is to address the certification challenges in multicore architectures: despite their potential to integrate several ap- plications on a single platform, their inherent complexity imperils their timing predictability and certification. For the former, Measurement- Based Probabilistic Timing Analysis (MBPTA) has recently emerged as an alternative to deal with hardware/software complexity.
    [Show full text]
  • Improving Software Fault Prediction Using a Data-Driven Approach
    Improving Software Fault Prediction Using a Data-Driven Approach André Sobral Gonçalves Thesis to obtain the Master of Science Degree in Information Systems and Computer Engineering Supervisor: Prof. Rui Filipe Lima Maranhão de Abreu Examination Committee: Chairperson: Prof. Daniel Jorge Viegas Gonçalves Supervisor: Prof. Rui Filipe Lima Maranhão de Abreu Members of the Committee: Prof. João Fernando Peixoto Ferreira September 2019 ii Acknowledgements Firstly, I want to thank my supervisor, Professor Rui Maranhão for his insight, guidance, patience and for having given me the opportunity to do research in such an interesting field. I am grateful to my family for their immense support, patience and love throughout the entire course. In particular, to my parents, João Carlos and Ana Maria Gonçalves, my brother, João Pedro Gonçalves, my parents-in-law, Carlos and Maria José Alves and my beautiful niece Olivia. I want to thank Carolina Alves, for all her love, care, kindness, determination and willingness to review countless times everything I needed. To my friends and colleagues, José Ferreira, Gustavo Enok, Fábio Almeida, Duarte Meneses, Delfim Costa for supporting me all this time. iii Abstract In software development, debugging is one of the most expensive tasks in the life cycle of a project. Repetitive, manual identification of faults in software, which are the source of errors and inefficiencies, is inherently time-consuming and error-prone. The solution to this problem is automated software diagnosis. This approach solves the issues mentioned previously as long as the accuracy of the diagnosis is credible. There are different tools and techniques which ensure this diagnosis, but they neglect valuable data.
    [Show full text]
  • Ada User Journal 66 Editorial 67 Quarterly News Digest 69 Conference Calendar 97 Forthcoming Events 103 Articles from the Industrial Track of Ada-Europe 2011 R
    ADA Volume 32 USER Number 2 June 2011 JOURNAL Contents Page Editorial Policy for Ada User Journal 66 Editorial 67 Quarterly News Digest 69 Conference Calendar 97 Forthcoming Events 103 Articles from the Industrial Track of Ada-Europe 2011 R. Bridges, F. Dordowsky, H. Tschöpe “Implementing a Software Product Line for a complex Avionics System in Ada 83” 107 Ada Gems 116 Ada-Europe Associate Members (National Ada Organizations) 128 Ada-Europe 2011 Sponsors Inside Back Cover Ada User Journal Volume 32, Number 2, June 2011 66 Editorial Policy for Ada User Journal Publication Original Papers Commentaries Ada User Journal — The Journal for Manuscripts should be submitted in We publish commentaries on Ada and the international Ada Community — is accordance with the submission software engineering topics. These published by Ada-Europe. It appears guidelines (below). may represent the views either of four times a year, on the last days of individuals or of organisations. Such March, June, September and All original technical contributions are articles can be of any length – December. Copy date is the last day of submitted to refereeing by at least two inclusion is at the discretion of the the month of publication. people. Names of referees will be kept Editor. confidential, but their comments will Opinions expressed within the Ada Aims be relayed to the authors at the discretion of the Editor. User Journal do not necessarily Ada User Journal aims to inform represent the views of the Editor, Ada- readers of developments in the Ada The first named author will receive a Europe or its directors.
    [Show full text]
  • Anglia Ruskin University a Type-Safe Apparatus
    ANGLIA RUSKIN UNIVERSITY A TYPE-SAFE APPARATUS EXECUTING HIGHER ORDER FUNCTIONS IN CONJUNCTION WITH HARDWARE ERROR TOLERANCE JONATHAN RICHARD ROBERT KIMMITT A thesis in partial fulfilment of the requirements of Anglia Ruskin University for the degree of Doctor of Philosophy This research programme was carried out in collaboration with The University of Cambridge Submitted: October 2015 Acknowledgements This dissertation was self-funded and prepared in part fulfilment of the requirements of the degree of Doctor of Philosophy under the supervision of Dr David Greaves of The University of Cambridge, and Dr George Wilson and Professor Marcian Cirstea at Anglia Ruskin University, without whose help this dissertation would not have been possible. I am grateful to Dr John O’Donnell of The University of Glasgow and Dr Anil Madhavapeddy of The University of Cambridge for their willingness to examine the degree. Dedication Dedicated to my wife Christine Kimmitt i ANGLIA RUSKIN UNIVERSITY ABSTRACT FACULTY OF SCIENCE AND TECHNOLOGY DOCTOR OF PHILOSOPHY A TYPE-SAFE APPARATUS EXECUTING HIGHER ORDER FUNCTIONS IN CONJUNCTION WITH HARDWARE ERROR TOLERANCE JONATHAN RICHARD ROBERT KIMMITT October 2015 The increasing commoditization of computers in modern society has exceeded the pace of associated developments in reliability. Although theoretical computer science has advanced greatly in the last thirty years, many of the best techniques have yet to find their way into embedded computers, and their failure can have a great potential for disrupting society.
    [Show full text]
  • Learning Tests Traces
    Learning Tests Traces Eyal Hadad Roni Stern Software and Information Systems Engineering Software and Information Systems Engineering Ben Gurion University of the Negev Ben Gurion University of the Negev Be’er Sheva, Israel Be’er Sheva, Israel [email protected] [email protected] Abstract—Modern software projects include automated tests coverage is a standard objective in popular test generation written to check the programs’ functionality. The set of functions frameworks, such as EvoSuite [2]. In bug isolation, traces are invoked by a test is called the trace of the test, and the action used by software diagnosis algorithms such as Barinel [3] to of obtaining a trace is called tracing. There are many tracing tools since traces are useful for a variety of software engineering localize the root cause of observed bugs. Traces are also used tasks such as test generation, fault localization, and test execution to prioritize which tests to execute [4], [5]. planning. A major drawback in using test traces is that obtaining A main drawback in using traces for all of the above tasks them, i.e., tracing, can be costly in terms of computational is that collecting traces is costly in terms of computational resources and runtime. Prior work attempted to address this in resources and runtime. This is because in order to obtain the various ways, e.g., by selectively tracing only some of the software components or compressing the trace on-the-fly. However, all trace of a test, one must build the project and execute the these approaches still require building the project and executing test while applying techniques such as byte-code manipulation the test in order to get its (partial, possibly compressed) trace.
    [Show full text]
  • AI for Software Quality Assurance Blue Sky Ideas Talk
    The Thirty-Fourth AAAI Conference on Artificial Intelligence (AAAI-20) AI for Software Quality Assurance Blue Sky Ideas Talk Meir Kalech, Roni Stern Ben-Gurion University of the Negev, Israel, {kalech, sternron}@bgu.ac.il Abstract Modern software systems are highly complex and often have multiple dependencies on external parts such as other pro- cesses or services. This poses new challenges and exacerbate existing challenges in different aspects of software Quality Assurance (QA) including testing, debugging and repair. The goal of this talk is to present a novel AI paradigm for software QA (AI4QA). A quality assessment AI agent uses machine- learning techniques to predict where coding errors are likely Figure 1: An illustration of the proposed AI4QA paradigm. to occur. Then a test generation AI agent considers the error predictions to direct automated test generation. Then a test execution AI agent executes tests, that are passed to the root- cause analysis AI agent, which applies automatic debugging A quality assessment AI agent (marked 1 in Figure 1) algorithms. The candidate root causes are passed to a code continuously monitors the software development process by repair AI agent that tries to create a patch for correcting the collecting information from existing software engineering isolated error. tools, learning over time to predict where coding errors are likely to occur. A test generation AI agent (2) considers the error predictions to direct automated and manual test genera- 1 Scientific Background tion. The test execution AI agent (3) executes tests and anal- Testing, debugging, and other software Quality Assurance yses their outputs, searching for failed tests and abnormal (QA) activities are performed by software development behaviour.
    [Show full text]
  • Call for Papers the 20Th International Conference on Intelligent Software Methodologies, Tools, and Techniques
    Call for papers The 20th International Conference on Intelligent Software Methodologies, Tools, and Techniques Organization General Chairs: Hamido Fujita, Iwate Prefectural University, Iwate, Japan e-mail: [email protected] Hector Perez-Meana, National Polytechnic Institute, Mexico City, Mexico e-mail: [email protected] Organizing Chairs: Mariko Nakano, National Polytechnic Institute, Mexico City, Mexico About SOMET 2021 e-mail: [email protected] The SOMET conference highlights and reflects the state-of-art and new trends on software methodologies, Andres Hernandez-Matamoros, The tools and techniques. You are invited to participate to help build a forum for exchanging ideas and experiences University of Tokyo, Japan to foster new directions in software development methodologies and related tools and techniques. This e-mail: [email protected] conference is focused on exploring innovations, controversies, and challenges facing the Software Engineering community today. The conference brings together theory and experience to propose and evaluate Program Chairs: solutions to Software Engineering problems. The conference also provides a forum and an opportunity to Gabriel Sanchez-Perez, National assess the current state-of-the-art in intelligent Software techniques and to chart software science initiated Polytechnic Institute, Mexico City, from experience to theory. This conference is an opportunity for us in the software science community to Mexico think about where we are and today and where we are going. e-mail: [email protected] Topics
    [Show full text]
  • Software Evolution
    Software Evolution Miryung Kim, Na Meng, and Tianyi Zhang Abstract Software evolution plays an ever-increasing role in software develop- ment. Programmers rarely build software from scratch but often spend more time in modifying existing software to provide new features to customers and fix defects in existing software. Evolving software systems are often a time-consuming and error-prone process. This chapter overviews key concepts and principles in the area of software evolution and presents the fundamentals of state-of-the art methods, tools, and techniques for evolving software. The chapter first classifies the types of software changes into four types: perfective changes to expand the existing require- ments of a system, corrective changes for resolving defects, adaptive changes to accommodate any modifications to the environments, and finally preventive changes to improve the maintainability of software. For each type of changes, the chapter overviews software evolution techniques from the perspective of three kinds of activities: (1) applying changes, (2) inspecting changes, and (3) validating changes. The chapter concludes with the discussion of open problems and research challenges for the future. 1 Introduction Software evolution plays an ever-increasing role in software development. Program- mers rarely build software from scratch but often spend more time in modifying existing software to provide new features to customers and fix defects in existing All authors have contributed equally to this chapter. M. Kim · T. Zhang University of California, Los Angeles, CA, USA e-mail: [email protected]; [email protected] N. Meng Virginia Tech, Blacksburg, VA, USA e-mail: [email protected] © Springer Nature Switzerland AG 2019 223 S.
    [Show full text]
  • Apply the Principles of Resolving Problems for Single- User and Multi-User Computer Operating Systems 114183
    Apply the principles of resolving problems for single- user and multi-user computer operating systems 114183 PURPOSE OF THE UNIT STANDARD This unit standard is intended: To provide proficient knowledge of the areas covered. For those working in, or entering the workplace in the area of Information Technology and Computer Sciences. People credited with this unit standard are able to: Describe software diagnostic tools for single-user and multi-user computer operating systems. Identify problems for single-user and multi-user computer operating systems and Resolve problems for single-user and multi-user computer operating systems. The performance of all elements is to a standard that allows for further learning in this area. LEARNING ASSUMED TO BE IN PLACE AND RECOGNITION OF PRIOR LEARNING The credit value of this unit is based on a person having prior knowledge and skills to : Use single-user and multi-user computer operating systems and user applications. Resolve technical computer problems. UNIT STANDARD RANGE The level assigned to this unit standard is appropriate because the individual needs to generate ideas through the analysis and the formulation of responses to well and abstract problems. Need to analyse and evaluate information; exercise significant judgement across a range of functions and accept responsibility for determining and achieving personal outcomes. Module 1 – Methodology to troubleshoot hard- and software problems Author: LEARNER MANUAL Rel Date: 27/01/2018 Rev Date: 01/06/2023 Doc Ref: 48573 LM Mod 1 v-1 PAGE 45 INDEX Competence Requirements Page Unit Standard 114183 alignment index Here you will find the different outcomes explained which you need to be proved 47 competent in, in order to complete the Unit Standard 114183.
    [Show full text]
  • Delft University of Technology an Empirical Evaluation of Feedback
    Delft University of Technology An Empirical Evaluation of Feedback-Driven Software Development Beller, Moritz DOI 10.4233/uuid:b2946104-2092-42bb-a1ee-3b085d110466 Publication date 2018 Document Version Final published version Citation (APA) Beller, M. (2018). An Empirical Evaluation of Feedback-Driven Software Development. https://doi.org/10.4233/uuid:b2946104-2092-42bb-a1ee-3b085d110466 Important note To cite this publication, please use the final published version (if applicable). Please check the document version above. Copyright Other than for strictly personal use, it is not permitted to download, forward or distribute the text or part of it, without the consent of the author(s) and/or copyright holder(s), unless the work is under an open content license such as Creative Commons. Takedown policy Please contact us and provide details if you believe this document breaches copyrights. We will remove access to the work immediately and investigate your claim. This work is downloaded from Delft University of Technology. For technical reasons the number of authors shown on this cover page is limited to a maximum of 10. AN EMPIRICAL EVALUATION OF FEEDBACK-DRIVEN SOFTWARE DEVELOPMENT Moritz Beller An Empirical Evaluation of Feedback-Driven Software Development An Empirical Evaluation of Feedback-Driven Software Development Proefschrift ter verkrijging van de graad van doctor aan de Technische Universiteit Delft, op gezag van de Rector Magnificus prof. dr. ir. T.H.J.J. van der Hagen, voorzitter van het College voor Promoties, in het openbaar te verdedigen op vrijdag 23 november 2018 om 15.00 uur door Moritz Marc BELLER Master of Science in Computer Science, Technische Universität München, Duitsland, geboren te Schweinfurt, Duitsland.
    [Show full text]
  • Using Model-Based Diagnosis to Improve Software Testing
    Proceedings of the Twenty-Eighth AAAI Conference on Artificial Intelligence Using Model-Based Diagnosis to Improve Software Testing Tom Zamir and Roni Stern and Meir Kalech [email protected] [email protected] [email protected] Department of Information Systems Engineering Ben Gurion University of the Negev Be’er Sheva, Israel Abstract In this work we propose to enhance the software test- ing and debugging process described above by combining We propose a combination of AI techniques to improve soft- Model-Based Diagnosis (MBD) and planning techniques ware testing. When a test fails, a model-based diagnosis (MBD) algorithm is used to propose a set of possible expla- from the Artificial Intelligence (AI) literature. MBD algo- nations. We call these explanations diagnoses. Then, a plan- rithms have been proposed in the past for the purpose of ning algorithm is used to suggest further tests to identify the diagnosing software bugs (Gonzalez-Sanchez´ et al. 2011; correct diagnosis. A tester preforms these tests and reports Abreu, Zoeteweij, and van Gemund 2011; Wotawa and Nica their outcome back to the MBD algorithm, which uses this 2011; Stumptner and Wotawa 1996). Thus, when a tester information to prune incorrect diagnoses. This iterative pro- encounters a bug, any of these algorithms can be used to cess continues until the correct diagnosis is returned. We call generate a set of possible diagnoses automatically. this testing paradigm Test, Diagnose and Plan (TDP). Several To identify which of these diagnoses is correct, additional test planning algorithms are proposed to minimize the num- tests need to be performed.
    [Show full text]
  • Model–Based Debugging Using Multiple Abstract Models 57
    AADEBUG2003 55 Model–Based Debugging using Multiple Abstract Models Wolfgang Mayer∗, Markus Stumptner∗ 1 ∗ University of South Australia Advanced Computing Research Centre Mawson Lakes, Adelaide SA 5095, Australia ABSTRACT This paper introduces an automatic debugging framework that relies on model–based reasoning techniques to locate faults in programs. In particular, model–based diagnosis, together with an abstract interpretation based conflict detection mechanism is used to derive diagnoses, which correspond to possible faults in pro- grams. Design information and partial specifications are applied to guide a model revision process, which allows for automatic detection and correction of structural faults. KEYWORDS: Model–based Debugging, Diagnosis, Abstract Interpretation, Program Analysis 1 Introduction Detecting a faulty behavior within a program, locating the cause of the fault, and fixing the fault by means of changing the program, continues to be a crucial and challenging task in software de- velopment. Many papers have been published so far in the domain of detecting faults in software, e.g., testing or formal verification [CDH+00], and locating them, e.g., program slicing [Wei84] and automatic program debugging [Llo87]. More recently model–based diagnosis [Rei87] has been used arXiv:cs/0309030v1 [cs.SE] 17 Sep 2003 for locating faults in software [CFD93, MSWW02a]. This paper extends previous research in several directions: Firstly, a parameterized debugging framework is introduced, which integrates dynamic and static properties, as well as design infor- mation of programs. The framework is based on results derived in the field of abstract interpreta- tion [CC77], and can therefore be parameterized with different lattices and context selection strate- gies.
    [Show full text]