Skip to main content

Automated Model-in-the-Loop Testing of Continuous Controllers Using Search

  • Conference paper

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 8084))

Abstract

The number and the complexity of software components embedded in today’s vehicles is rapidly increasing. A large group of these components monitor and control the operating conditions of physical devices (e.g., components controlling engines, brakes, and airbags). These controllers are known as continuous controllers. In this paper, we study testing of continuous controllers at the Model-in-Loop (MiL) level where both the controller and the environment are represented by models and connected in a closed feedback loop system. We identify a set of common requirements characterizing the desired behavior of continuous controllers, and develop a search-based technique to automatically generate test cases for these requirements. We evaluated our approach by applying it to a real automotive air compressor module. Our experience shows that our approach automatically generates several test cases for which the MiL level simulations indicate potential violations of the system requirements. Further, not only do our approach generates better test cases faster than random test case generation, but we also achieve better results than test scenarios devised by domain experts.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Skruch, P., Panel, M., Kowalczyk, B.: Model-Based Testing in Embedded Automotive Systems, 1st edn. CRC Press (2011)

    Google Scholar 

  2. Nise, N.S.: Control Systems Engineering, 4th edn. John-Wiely Sons (2004)

    Google Scholar 

  3. Lee, E., Seshia, S.: Introduction to Embedded Systems: A Cyber-Physical Systems Approach (2010), http://leeseshia.org

  4. Henzinger, T., Sifakis, J.: The embedded systems design challenge. In: Misra, J., Nipkow, T., Sekerinski, E. (eds.) FM 2006. LNCS, vol. 4085, pp. 1–15. Springer, Heidelberg (2006)

    Chapter  Google Scholar 

  5. Pretschner, A., Broy, M., Krüger, I., Stauner, T.: Software engineering for automotive systems: A roadmap. In: FOSE, pp. 55–71 (2007)

    Google Scholar 

  6. Henzinger, T.: The theory of hybrid automata. In: LICS, pp. 278–292 (1996)

    Google Scholar 

  7. Stauner, T.: Properties of hybrid systems-a computer science perspective. Formal Methods in System Design 24(3), 223–259 (2004)

    Article  Google Scholar 

  8. Inc., T.M.: Simulink, http://www.mathworks.nl/products/simulink

  9. Inc. Reactive Systems, http://www.reactive-systems.com/simulink-testing-validation.html

  10. Luke, S.: Essentials of Metaheuristics. Lulu (2009), http://cs.gmu.edu/~sean/book/metaheuristics/

  11. Grinstein, G., Trutschl, M., Cvek, U.: High-dimensional visualizations. In: 7th Workshop on Data Mining Conference KDD Workshop, pp. 7–19 (2001)

    Google Scholar 

  12. Alur, R.: Timed automata. In: Halbwachs, N., Peled, D.A. (eds.) CAV 1999. LNCS, vol. 1633, pp. 8–22. Springer, Heidelberg (1999)

    Chapter  Google Scholar 

  13. Sahbani, A., Pascal, J.: Simulation of hyibrd systems using stateflow. In: ESM, pp. 271–275 (2000)

    Google Scholar 

  14. Neto, A.C.D., Subramanyan, R., Vieira, M., Travassos, G.H.: A survey on model-based testing approaches: A systematic review. In: ASE, pp. 31–36 (2007)

    Google Scholar 

  15. Iqbal, M.Z., Arcuri, A., Briand, L.: Combining search-based and adaptive random testing strategies for environment model-based testing of real-time embedded systems. In: SBSE (2012)

    Google Scholar 

  16. Zander-Nowicka, J.: Model-based Testing of Real-Time Embedded Systems in the Automotive Domain. PhD thesis, Elektrotechnik und Informatik der Technischen Universitat, Berlin (2009)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Matinnejad, R., Nejati, S., Briand, L., Bruckmann, T., Poull, C. (2013). Automated Model-in-the-Loop Testing of Continuous Controllers Using Search. In: Ruhe, G., Zhang, Y. (eds) Search Based Software Engineering. SSBSE 2013. Lecture Notes in Computer Science, vol 8084. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-39742-4_12

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-39742-4_12

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-39741-7

  • Online ISBN: 978-3-642-39742-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics