Tvorba nástroje pro návrh obecných virtuálních modelů

Title Alternative:The creating of tools for project of general virtual models
Loading...
Thumbnail Image
Date
2008
Journal Title
Journal ISSN
Volume Title
Publisher
Technická Univerzita v Liberci
Abstract
Práce se zabývá vývojem softwaru pro tvorbu obecných virtuálních modelů řízených pomocí PLC (programmable logic controller - programovatelný automat) protokolem EPSNET. Software je zvláště vhodný pro tvorbu kinematických modelů. V teoretické části jsou popsány použité vývojové nástroje (Delphi, MATLAB-Simulink) a grafické rozhraní OpenGL a jejich stručná charakteristika, s ohledem na konkrétní použití. Následuje stručný popis formátu ASE pro uložení modelů a pro jejich následné použití. V praktické části je nastíněná základní filozofie stavby programu. Jsou zde rozepsány jednotlivé části simulačního systému. Mezi tyto patří virtuální model, který je složený ze základních stavebních prvků typu motor, objekt a snímač. Další částí simulačního systému je knihovna portů, která umožňuje spojení s virtuálním modelem. Mezi její funkce také patří připojení simulačních schémat a PLC. Popis simulačních schémat obsahuje přehled a funkce podporovaných bloků ze systému MATLAB-Simulink, určených pro jejich stavbu. Následuje popis uživatelského rozhraní. Rozhraní se skládá z hlavního okna, ve kterém se tvoří virtuální model a obsahuje hlavní menu, tlačítkovou lištu, strom prvků a panel portů. Knihovna modelů slouží k importu modelů ze souborů formátu ASE. V dalších oknech je možné editovat parametry motorů, objektů a snímačů. V závěru popisu uživatelského rozhraní je nastíněno nastavení komunikace pomocí sériového portu. Závěr práce se zabývá popisem ukázkového modelu Křižovatka, který simuluje řízení semaforů na křižovatce pomocí PLC. Tento virtuální model je plně zadán a nastaven. Výstupem je vizualizace modelu v reálném čase nebo v simulačních krocích. Přílohou práce je zdrojový kód programu.
The work is engaged in a progress of software for creating general virtual models directed by the help of PLC (programmable logic controller) protocol EPSNET. The software is especially suitable for creating kinematic models. In a theoretic part there are described the used developmental tools (Delphi, MATLAB-Simulink) and the graphic interface OpenGL and a short description of them, considering concrete usage. This follows a short description of ASE format for deposition of models and for their subsequent usage. In a practical part the basic philosophy of a program construction is sketched out. There are specified the particular parts of a simulation system. To these parts belongs the virtual model which is compound of basic structural elements such as an engine, an object and a sensor. Another part of the simulation system is the Library ? of Ports which enables a connection with a virtual model. Other functions of it are an annexation of simulation schemes and the PLC. The description of simulation schemes contains a list and functions of slots/ blocks chosen from the system MATLAB-Simulink, intended for their construction. Then follows a description of an user´s interface. The interface consists of the main window, in that the virtual model is created and that window contains main menu, button bar, tree of elements and ports panel. The Library of Models is instrumental to import of models from the files of ASE format. In other windows it is possible to edit parameters of engines, objects and sensors. At the close of description of user´s interface it is sketched out the setting of communication by the help of serial port. The last part is engaged in a description of an exemplary model of crossroads which simulates the operating of traffic lights on the crossroads by the help of PLC. This virtual model is fully set. The output of it is a visualisation of the model in real time or in simulation steps. The source code of the program is enclosed.
Description
katedra: NTI; přílohy: 1 CD ROM; rozsah: 46
Subject(s)
plc, delphi, matlab-simulink, opengl, epsnet, ase, plc, delphi, matlab-simulink, opengl, epsnet, ase
Citation
ISSN
ISBN