Abstract
Unter Rapid-Prototyping versteht man, eine Idee oder Algorithmus so schnell als möglich in ein Echtzeitsystem umzusetzen. Eines der größten Probleme des Rapid-Prototyping sind die unterschiedlichen Programmiersprachen, die für die Prototypenentwicklung benötigt werden. Das Umsetzen der Simulation
in einen ausführbaren Code für die Hardwareplattform ist äußerst fehleranfällig, wodurch sich üblicherweise der Entwicklungszyklus erheblich verlängert. Der Einsatz von automatischen Werkzeugen zur Umwandlung von Code zwischen den einzelnen Plattformen kann daher die Entwicklungszeit
deutlich verringern. Nicht nur die automatischen Werkzeuge an sich,sondern auch der Umstand, dass dafür auch nur ein Code notwendig ist, trägt zu einer schnelleren und fehlerfreieren Entwicklung bei. Die Simulation auf Hardware auszulagern kann aus zwei Gründen sinnvoll
sein. Erstens um den erstellten Algorithmus unter Echtzeitbedingung zu testen und zweitens um die Simulation zu beschleunigen. Die Basis für den gesamten Umwandlungsprozess bildet eine Datei, deren
Code in Generic C1 beschrieben ist. Die Umsetzung in den Code für Simulink und die Echtzeitentwicklungsumgebung wird mit dem Programm GenC 2 durchgeführt. Diese Arbeit beschäftigt sich mit der Portierung dieser Ergebnisse auf zwei verschiedene DSP-Plattformen, sowie der Erstellung
eines Interfaces zwischen Matlab oder Simulink und den beiden Hardwaresystemen. Dadurch soll es möglich sein aus einem Simulink Modell einzelne Blöcke aus der Entwicklungsumgebung auf den DSP auszulagern und unter
Echtzeitbedingungen zu testen.
Durch das im Zuge dieser Arbeit entwickelte Programm GenCaddOn wird es nun ermöglicht, für beide Systeme Codes zu erzeugen und die Hardware in die Simulation einzubeziehen. Die Grundfunktionalität besteht in
der Adaptierung der DSP-Datei und S-Funktion, sowie in der Erstellung der Schnittstellendateien für den Zugriff auf die Hardware und den Datenaustausch. Weiters bietet es die Option, Projektdateien für den DSP zu erstellen. Dadurch wird es möglich, den gesamten Entwicklungsablauf in
Matlab durchzuführen.
Rapid prototyping means to convert an idea or an algorithm so fast as possible into a real time system. One of the most known problems of rapid prototyping is the different programming languages which are used for development.
The conversion of the simulation into an executable code for the hardware platform is extremely error-prone, whereby also the development cycle extends substantially. The use of automatic tools to convert therefore
drastically between the individual platforms can reduce the development time. Errors which are possibly made by conversion done by a user can be widely avoided. Also the circumstance that only one code is necessary
contributes to the fact that the automatic tools are a faster and error free development. To out source the simulation on hardware can be meaningful for two
reasons. The first reason is to test the developed algorithm under real time conditions and secondly to accelerate the simulation. The basis for the entire process of transformation forms a file, whose code
is described in Generic C3. The conversion to Simulink code and the real time development environment is accomplished by a program called GenC 4. This thesis deals with the conversion of these results onto two different
DSP platforms, as well as the production of an interface between Matlab or Simulink and the two hardware systems. Thus it should be possible to out source out an individual block from a Simulink model onto the DSP to run
the test under real-time conditions. During the development process of this thesis a program called Gen-
CaddOn was developed to generate code which is able to use the hardware functionality in the simulation. Basic functionality exists in the adaptation of the DSP file and s-function, as well as in the production of the interface
files for the access to the hardware and data exchange. Further more, it offers the option to generate project files for the DSP. Thereby it is possible to accomplish the entire expiration of development in Matlab.
Originalsprache | Deutsch |
---|---|
Gradverleihende Hochschule |
|
Publikationsstatus | Veröffentlicht - 2004 |
Research Field
- Nicht definiert