Model Based Development of Embedded Systems HT 18

NEWS Oct. 9

Material for lecture Oct. 9. We will first taka closer look at Breach. You can prepare by downloading Breach from https://github.com/decyphir/breach, running GenDoc(), and then read generated documentation. We will as default go through the last "Autotrans_tutorial". Second, we will explain symbolic reachability analysis. Slides will be up as soon as SP does not crash.

Overal Goals

Model Based Development uses models to describe the specifications, operation and performance of a system. Simulation, verification, and testing can be performed directly on executable models. Implementation can be automated by code generation directly from the model. The student will acquire skills in modeling embedded systems, and to use models for Simulation, verification, and testing, to derive implementations. Throughout the course, Simulink (and Stateflow) will be used as the modeling language, so the students will acquire mastery of Matlab/Simulink.

Topics

The following topics are central.

Schedule

(The below schedule is copied from the
IT depts Schedule).
Note: the below topics and material are from a previous year. They will be updated during the first week.
Week DateTimePlaceWhatMaterial
36 Wed5/913-151145Motivation, Overviewintro-adm.pdf, overview-mbd.pdf, matlab1.pdf, MATLAB Primer
Thu6/910-121113MATLAB or SimulinkExercises 9, 12, 15, 17, 22, 25 of add_matlab_exercises.pdf, simulink1.pdf
Fri7/915-171113System Modeling in Simulink Getting Started with Simulink, simulink2.pdf,
37 Mon10/913-151145System Modeling in Simulink (ctd.)simulink3.pdf
Tue11/908-101145Exercise Sessionsimulink-exercises-1.pdf
Wed12/915-171145Simulink semantics and simulatorSection 3 of Simulink User Guide, simulink4.pdf
Fri14/908-101145State machinesD Harel: Statecharts: A visual formalism for complex systems Science of computer programming, 1987,stateflow1.pdf
38 Mon17/910-121145Stateflowstateflow2.pdf, Started with StateFlow, Models: kai_actions.slx, sf_ug_p_3_49.slx
Tue18/910-121245Practical aspects of modeling in StateflowSolving problem 1 of stateflow-exercises-1.pdf. stateflow3.pdf, StateFlow User Guide,
Fri20/915-172415bExercisesstateflow-exercises-2.pdf
Fri21/913-151146Hybrid Systems, Continuous-time Stateflowstateflow4.pdf, StateFlow User Guide Section 20
39 Tue25/908-101113Animating Simulink/Stateflow modelsgraphics.pdf, various models
Wed26/913-151145Code generationcodegen1.pdf, Embedded Coder: User Guide, Section 47
Thu27/910-121238Code generation for STM boards
40 Mon1/1013-151145Constructing wrappers for driverscodegen2.pdf, Embedded Coder: User Guide, Section 42-43, Download Driver material here
Tue2/1013-151145Formulating Requirementstesting1.pdf, Some of slides by A. Donze
Wed3/1015-171145Requirements: Signal Temporal Logictesting2.pdf, Some of slides by A. Donze plus some of these
Fri5/10No Scheduled meetingHere is the material for Assignment 3 and the Project spec with Supplementary material. You can use 1:238 as you like.
41 Tue9/1013-151145Verification for Simulink/Stateflow modelsSee top of page
Wed10/1013-151146Models of Computation, Dataflow
Thu11/1010-121145LUSTRE (Philipp Rümmer)ruemmer-slides-expanded.pdf
42 Tue16/1015-171112LUSTRE (Philipp Rümmer)
Thu18/1013-152344No meeting (cancelled)Work on Assignment 3
Fri19/1010-121146TBD
  • Useful Material The "Material" referenced in the Schedule is posted in Studentportalen, or linked. Other material that can be useful is below.

    Additional Resources

    Here are some links to relevant resources: Courses, lectures that cover similar and related topics (the list will be extended)

    Teaching staff