dssynth an automated digital controller synthesis tool
play

DSSynth: An Automated Digital Controller Synthesis Tool for Physical - PowerPoint PPT Presentation

DSSynth: An Automated Digital Controller Synthesis Tool for Physical Plants ASE 2017 Alessandro Abate, Iury Bessa, Dario Cattaruzza, Lennon Chaves, Lucas Cordeiro , Cristina David, Pascal Kesseli, Daniel Kroening and Elizabeth Polgreen Diffblue


  1. DSSynth: An Automated Digital Controller Synthesis Tool for Physical Plants ASE 2017 Alessandro Abate, Iury Bessa, Dario Cattaruzza, Lennon Chaves, Lucas Cordeiro , Cristina David, Pascal Kesseli, Daniel Kroening and Elizabeth Polgreen Diffblue Ltd., University of Oxford, Federal University of Amazonas November 1 st , 2017

  2. ou Motivation 2 of 13

  3. ou Motivation Automatically synthesise digital controllers 2 of 13

  4. ou Typical closed-loop control system • Representation of the digital controller and plant ◦ state-space: matrices A , B , C , and D ◦ transfer-function: coefficients b 0 , b 1 ,. . . , b m and a 0 , a 1 ,. . . , a m 3 of 13

  5. ou Typical closed-loop control system • Representation of the digital controller and plant ◦ state-space: matrices A , B , C , and D ◦ transfer-function: coefficients b 0 , b 1 ,. . . , b m and a 0 , a 1 ,. . . , a m • Stability of closed-loop systems ◦ presents a bounded response for any bounded excitation 3 of 13

  6. ou Typical closed-loop control system • Representation of the digital controller and plant ◦ state-space: matrices A , B , C , and D ◦ transfer-function: coefficients b 0 , b 1 ,. . . , b m and a 0 , a 1 ,. . . , a m • Stability of closed-loop systems ◦ presents a bounded response for any bounded excitation • Safety of closed-loop systems ◦ defines a requirement on the states of the model 3 of 13

  7. ou Typical closed-loop control system • Representation of the digital controller and plant ◦ state-space: matrices A , B , C , and D ◦ transfer-function: coefficients b 0 , b 1 ,. . . , b m and a 0 , a 1 ,. . . , a m • Stability of closed-loop systems ◦ presents a bounded response for any bounded excitation • Safety of closed-loop systems ◦ defines a requirement on the states of the model • Numerical erros (truncation and rounding) 3 of 13

  8. ou Objectives Generate sound digital controllers for stability and safety specifications with a very high degree of automation 4 of 13

  9. ou Objectives Generate sound digital controllers for stability and safety specifications with a very high degree of automation • support for transfer-function and state-space representations in closed-loop form 4 of 13

  10. ou Objectives Generate sound digital controllers for stability and safety specifications with a very high degree of automation • support for transfer-function and state-space representations in closed-loop form • synthesize different numerical representations of the controller using CounterExample Guided Inductive Synthesis (CEGIS) 4 of 13

  11. ou Objectives Generate sound digital controllers for stability and safety specifications with a very high degree of automation • support for transfer-function and state-space representations in closed-loop form • synthesize different numerical representations of the controller using CounterExample Guided Inductive Synthesis (CEGIS) • provide a MATLAB toolbox to synthesize digital controllers while taking into account finite word-length effects 4 of 13

  12. ou The Proposed Synthesis Methodology Phases of the controller synthesis: 5 of 13

  13. ou CEGIS for Control Systems CEGIS with multi-staged verification: Increase Unfolding Bound Increase Precision Verify K PASS Synthesize 1.Safety 2.Precision 3.Complete Done C-ex Fixed-point BMC-based Completeness Program Search Arithmetic Verifier Verifier Verifier 6 of 13

  14. ou DSSynth Usage - Transfer Function Physical plant for an unmanned aerial vehicle (UAV) plant: − 0 . 06875 z 2 G ( z ) = B ( z ) A ( z ) = (1) z 2 − 1 . 696 z + 0 . 7089 . Synthesizing the digital controller: >> num = [ -0.06875 0 0]; >> den = [1.0000 -1.696 0.7089]; >> system = tf(num ,den ,0.002); >> y = synthesize (system ,8,8,1,-1); >> SYNTHESIS SUCCESSFUL >> y = >> -0.9983z^2 + 0.09587z + 0.1926 >> -------------------------------- >> z^2 + 0.5665z + 0.75 7 of 13

  15. ou DSSynth Usage - Transfer Function Digital controller synthesized by DSSynth: C ( z ) = − 0 . 9983 2 + 0 . 09587 z + 0 . 1926 (2) z 2 + 0 . 5665 z + 0 . 75 . Computing the general equation (plant and controller): >> num = [ -0.99832 0.09587 0.1926]; >> den = [1 0.5665 0.75]; >> controller = tf(num ,den ,0.002); >> num = [ -0.06875 0 0]; >> den = [1.0000 -1.696 0.7089]; >> plant = tf(num ,den ,0.002); >> sys = feedback(series(controller , plant ),1) >> sys = >> 0.06863z^4 - 0.006591z^3 - 0.01324z^2 >> --------------------------------------------------- >> 1.069z^4 - 1.136z^3 + 0.4849z^2 - 0.8704z + 0.5317 8 of 13

  16. ou DSSynth Usage - Step Response Step response for the UAV plant describing a stable system: Step Response 0.7 0.6 0.5 Amplitude 0.4 0.3 0.2 0.1 0 0 5 10 15 20 25 30 35 40 45 50 Time (seconds) 9 of 13

  17. ou DSSynth Usage - MATLAB Application (a) Definition of the system (b) Definition of implementation representation and the physical plant aspects and input ranges 10 of 13

  18. ou DSSynth Usage - MATLAB Application (c) Digital controller synthesized by (d) Step response for the synthesized DSSynth digital controller 11 of 13

  19. ou Experimental Evaluation Our evaluation consists of 18 Single-Input and Single-Output control system benchmarks extracted from the literature: 12 of 13

  20. ou Experimental Evaluation Our evaluation consists of 18 Single-Input and Single-Output control system benchmarks extracted from the literature: Experimental Objectives: • Evaluate the DSSynth performance to produce digital controllers • Confirm the stability and safety outside of our model using MATLAB 12 of 13

  21. ou Experimental Evaluation Our evaluation consists of 18 Single-Input and Single-Output control system benchmarks extracted from the literature: Experimental Objectives: • Evaluate the DSSynth performance to produce digital controllers • Confirm the stability and safety outside of our model using MATLAB Experimental Setup: • Signal input range: �− 1 , 1 � • Implementation features: � 8 , 8 � • Intel Core i7 − 2600 3 . 40 GHz processor with 24 GB of RAM 12 of 13

  22. ou Experimental Evaluation Experimental Results: • The digital controller order ranges from 1 to 8 13 of 13

  23. ou Experimental Evaluation Experimental Results: • The digital controller order ranges from 1 to 8 • The number of state variables ranges from 1 to 9 13 of 13

  24. ou Experimental Evaluation Experimental Results: • The digital controller order ranges from 1 to 8 • The number of state variables ranges from 1 to 9 • The average synthesis time amounts to 35 . 5 s for state-space systems 13 of 13

  25. ou Experimental Evaluation Experimental Results: • The digital controller order ranges from 1 to 8 • The number of state variables ranges from 1 to 9 • The average synthesis time amounts to 35 . 5 s for state-space systems • The average synthesis time amounts to 123 . 6 s for transfer functions 13 of 13

  26. ou Experimental Evaluation Experimental Results: • The digital controller order ranges from 1 to 8 • The number of state variables ranges from 1 to 9 • The average synthesis time amounts to 35 . 5 s for state-space systems • The average synthesis time amounts to 123 . 6 s for transfer functions • On average our engine spent 52% in the synthesis and 48% in the verification phase 13 of 13

  27. ou Experimental Evaluation Experimental Results: • The digital controller order ranges from 1 to 8 • The number of state variables ranges from 1 to 9 • The average synthesis time amounts to 35 . 5 s for state-space systems • The average synthesis time amounts to 123 . 6 s for transfer functions • On average our engine spent 52% in the synthesis and 48% in the verification phase DSSynth Matlab toolbox: https://www.cprover.org/DSSynth/dssynth-toolbox-1.0.0.zip https://github.com/ssvlab/dsverifier/tree/master/toolbox-dssynth 13 of 13

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend