Model-based design is a powerful design technique for embedded system development. The technique enables virtual prototyping to develop and debug controllers before touching real hardware. There are many tools available covering the distinct steps of the design cycle including modeling, simulation, and implementation. Unfortunately, none of them covers all three steps. This thesis proposes a formalism coupling the model and the implementation of a controller for equation-based simulation tools. The resulting formalism translates defined controller models to platform specific code using a defined set of syntax. A case study of a line-following robot has been developed to illustrate the feasibility of the approach. The prototype has been tested and evaluated using a sequence of test scenarios of increasing difficulty. The final experiments suggest that the behaviors of both modeled and generated controllers are similar. The thesis concludes that the approach of model-implementation coupling of controllers in the simplest form is feasible for equation-based tools. This allows it to conduct the whole model-based design cycle within a single environment.
Identifer | oai:union.ndltd.org:UPSALLA1/oai:DiVA.org:hh-34929 |
Date | January 2017 |
Creators | Griesebner, Klaus |
Publisher | Högskolan i Halmstad, Akademin för informationsteknologi |
Source Sets | DiVA Archive at Upsalla University |
Language | English |
Detected Language | English |
Type | Student thesis, info:eu-repo/semantics/bachelorThesis, text |
Format | application/pdf |
Rights | info:eu-repo/semantics/openAccess |
Page generated in 0.5324 seconds