Font Size: a A A

Study Of Industrial Robot Interpreter With Open Architecture Based On XML

Posted on:2011-03-16Degree:MasterType:Thesis
Country:ChinaCandidate:H WangFull Text:PDF
GTID:2178330332471204Subject:Mechanical design and theory
Abstract/Summary:PDF Full Text Request
According to the existing problems of the programming system, such as poor extensibility and programmability, weak perception to environment, this paper proposes an robot controller with an open architecture by using PC+DSP .The hardware and software of this robot's controller both have open architecture.A robot with an open architecture can be easily extended ,modified and be used for different robot and CNC.The interpreter is playing a most important part in the robot's software system. The robot's software system is asked to have an open architecture ,so the interpreter is also asked to have an open architecture matching the software system. This paper intends to introduce a realization of a interpreter with an open architecture based on XML.By using this mothod , the rule of grammar is written in a XML file. The Interpreter uses grammar file from XML to do lexical analysis and syntax analysis of the robot's sinstruction ,and the robot instruction can be easily extended or modified by modifying the XML file.The syntax analysis is completed by the method LL(1) so that the lexical analysis and syntax analysis can be completed at the same time. UML is adopted to set up the mode of interpreter code and the scheduler,which is done under the guidance of Design Patterns.Finally, a simulartor test is given to the interpreter with an open architecture based on XML. The results showed that using this method to design and realizing a interpreter with open architecture can achieve the expected goals.The paper play a significant part in improving a robot's real-time control.
Keywords/Search Tags:XML, open architecture, LL(1), UML, Design Patterns, interpreter
PDF Full Text Request
Related items