Font Size: a A A

Research On Logic-diagram Programming Entironment Of Mechatronical Embedded Control System

Posted on:2009-04-18Degree:MasterType:Thesis
Country:ChinaCandidate:J L YuFull Text:PDF
GTID:2198360272961144Subject:Mechanical and electrical engineering
Abstract/Summary:PDF Full Text Request
With quick development of computer technology, embedded systems find their application more and more widely. Both technology of hardware and software in embedded-system are making progress. In embedded system applications, visual graphic programming becomes a mainstream for terminal user programming.The main working contents of this paper are studies on the architecture of visual graphic programming environment and developing a kind of software which aimed to implement a logic-programming environment for mechatronics control systems. The software LogDia implemented in our work can provide entirely functions of logic-diagram programming, can programming many control board composed of all kinds of CPU with suitable supporting environment. The software is of friendly user-interface for its abundant toolbar and multi-doc interface with bookmarker selector.In LogDia, all logic units are represented by a diagram-sign to express a given function, which have one or more input feet, and only one output foot. There are two kinds of logic-block, one is basic logic-unit and another is special logic- block. The basic logic are common used logic, such as 'and ', 'or', 'not' and their combinations. The special logic block include timer, counter and application oriented function blocks for an some domains. We provide abundant function block in the database, and define convenient operation for the blocks, such as parameter-definitions, block- naming, logic-connection and auto-resource-management. Users can build their own control logic system in the visual environment with convenient.This article, from analysis of object-oriented developing technique and MFC application, study and find the solution in some key points, including A. Work of interface, such as human-machine interaction for function block operation with visual graphic means, and double-buffer screen drawing etc; B. Work of database, including establishment of functional-block library, parameter setting and storage, making appending interface for new blocks, and setting up inquiring and indexing mechanism; C. Classifying the blocks and building data structure of function block's attribution; D. Solving the problem of connecting expression, given data structure of connecting relations and making understanding for the logic relation for feasible connection between the logic blocks; E. Realizing the serialization of the design data, saving and loading of the project documents; F. Making elementary study for some problem of how to compile or interpret logic diagram.The work of this paper refers some product in the market, such as Siemens Logo soft Comfort 5.0, Step 7, etc, but all the sound code is implemented independently with Visual C++ on MFC platform. As an port of an entire developing subject, the work described in this paper have made a foundation for the implementation of the subject, although there a lot of work needs to accomplish, And some portion of the software would be modified to fit the follow-up developing tasks of compilation and simulation module.
Keywords/Search Tags:embedded system, programming environment, visual programming, logic diagram
PDF Full Text Request
Related items