• DocumentCode
    817057
  • Title

    Test-Driven Development of a PID Controller

  • Author

    Dohmke, Thomas ; Gollee, Henrik

  • Author_Institution
    Dept. of Mech. Eng., Glasgow Univ.
  • Volume
    24
  • Issue
    3
  • fYear
    2007
  • Firstpage
    44
  • Lastpage
    50
  • Abstract
    The development of embedded control systems in Simulink usually continues with automatic code generation, the build process, and several tests: software-in-the-loop (SiL), hardware-in-the-loop (HiL), and system tests in the real environment of the controller, the vehicle. Our test-driven control-system design cycle integrates into this process because it doesn´t interrupt the system´s model-based architecture. Furthermore, the next development cycle usually considers the results of SiL, HiL, or the system tests. With TDD, such changes cause one or more new tests, which describe the modified requirements either with a modified or different process model or with a stimulus from measurements. All previously defined tests ensure the controller´s basic behavior, leading to higher quality for the complete system. In addition, we believe we can extend our approach to different types of real-time systems and evaluate how to use TDD for their development
  • Keywords
    closed loop systems; control system CAD; embedded systems; program testing; software architecture; three-term control; PID controller; Simulink; automatic code generation; embedded control system design; hardware-in-the-loop; model-based architecture; software-in-the-loop; test-driven development; Computer architecture; Computer languages; Control systems; Dynamic programming; Graphical user interfaces; Pi control; Proportional control; Software testing; System testing; Three-term control; graphical environments; process control; test design; testing strategies; testing tools;
  • fLanguage
    English
  • Journal_Title
    Software, IEEE
  • Publisher
    ieee
  • ISSN
    0740-7459
  • Type

    jour

  • DOI
    10.1109/MS.2007.90
  • Filename
    4163028