Work

Automating the Process Of Control Design: generating control code for mechatronic systems structurally

Year: 2011
Type: dissertation
Abstract: The development of control still suffers from the lack of integration, cumbersome verification tools, almost no automation and non-reusable software.[1] Nowadays researchers keep reinventing the wheel when it comes to developing control code.A lot of valuable research time is lost due to non reusable control implementations. To address these problems a general development tool for designing controllers and automatically generate the software code is needed. With such a tool in hand a development team would be able to automatically generate control code software for mechatronic systems in a structured fashion. We developed a novel tool, called Process of Control Design Environment (ProCoDE), where code is generated semi-automatically. The software mainly consist of two components. The first component deals with automating the design process. The second component generates control code for the system at hand. The first component, automating the design process, is based on the idea that the development of building software for mechatronic systems always follows a certain, more or less, standard procedure. The UML (Unified Modeling Language) activity diagram is a standardized way of representing procedures. This diagram describes the flow from activity to activity. The modeling is done in the open source software package ARGO/UML.The activity diagram can be exported to an XML Metadata Interchange (XMI) file, and is interpreted in ProCoDE, which is a MATLAB Graphical User Interface (GUI). The tags and attributes of the file are used in an algorithm to construct the activity diagram in ProCoDE.When an activity is visiting, by a click on one of the activities, the second component is activated. Instead of adapting the whole control code for the system, we want to attack the problem by using snippets of code.A code generator, in this case MCP (Matlab Code Preprocessor), is used to place snippets of code in a template file. If there is a small change in for example the setup sensor values, the control engineer only has to change the snippet of code for the setup sensor values and reruns the code generator in order to generate up-to-date code. The same accounts for Simulink models. Instead of "redrawing" the block diagrams for every step, the diagram is generated automatically. In this way a small change in one part of the diagram (for example the actuation values) is now implemented in every step. The control engineer does not have to redraw the diagram, but only has to rerun the Simulink
Author: S.E. Zijlstra
Language: English
Subfield: Software
Open Access status: green
OpenAlex ID: W397667663
Cites: 6
Cited by:
Related to: 10