readme 1.12 KB
Newer Older
Matthias Rungger's avatar
Matthias Rungger committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45

Controller synthesis for a DC DC boost converter to enforce a safety
specification


1. compile the dcdc.cc file

  a) edit the Makefile and adjust the CUDDPATH to the location where the cudd library is installed.

  b) now you should be able to compile the program simply by

    $ make

2. execute 

  $./dcdc

  which produces

  ./dcdc_controller.bdd

3. simulate the closed loop in Matlab 

  a) you need to have the mexfile compile (see the readme in $(SCOTSROOT)/mfiles/mexfiles )

  b) in Matlab add the path and run the simulation 

   >> addpath(genpath('$(SCOTSROOT)/mfiles'))
   >> dcdc

4. if you want to compare with Pessoa 
   https://sites.google.com/a/cyphylab.ee.ucla.edu/pessoa/
   
  a) in matlab 

    >> add the path to pessoa 
    >> dcdc_pessoa

5. information on the example is found in

- A. Girard, G. Pola, and P. Tabuada. “Approximately bisimilar symbolic models
  for incrementally stable switched systems”. In: IEEE TAC 55.1 (2010), pp. 116–126.

- S. Mouelhi, A. Girard, and G. Go ̈ssler. “CoSyMA: a tool for controller
  synthesis using multi-scale abstrac- tions”. In: HSCC. ACM. 2013, pp. 83–88.