How to Implement the Virtual Machine Concept Using xPC Target
| Document type: | Conference Papers |
|---|---|
| Peer reviewed: | Yes |
| Author(s): | Jens Bathelt, Anders Jönsson |
| Title: | How to Implement the Virtual Machine Concept Using xPC Target |
| Translated title: | Implementering av den "Virtuella Maskinen" genom att använda xPC Target |
| Conference name: | Nordic MATLAB Conference 2003 |
| Year: | 2003 |
| Publisher: | COMSOL |
| City: | Copenhagen |
| Organization: | Blekinge Institute of Technology |
| Department: | Dept. of Mechanical Engineering (Institutionen för maskinteknik) Dept. of Mechanical Engineering S-371 79 Karlskrona +46 455 38 50 00 http://www.ima.bth.se/ |
| Authors e-mail: | anders.jonsson@bth.se |
| Language: | English |
| Abstract: | This paper presents an overview of the historical background of the virtual machine, containing a real control, a machine simulation and a 3D machine visualisation. This setup enables realistic system simulations, since the simulation input comes from a real control. The first known implementation of the virtual machine using xPC Target is described with an existing water jet cutting machine as an example. MathWorks products offer all necessary software for the presented setup, except the interface for the actual speed value from the simulated incremental encoder to the control. The unique xPC driver implementation, as a noninlined C-MEX S-Function, is presented at the end of this paper. The successful implementation of the virtual machine demonstrates the feasibility of the presented approach. |
| Summary in Swedish: | Koncepetet för den virtuella maskinen beskrivs och implementeras med hjälp av xPC Target. En vattenskärningsmaskin används som exempel för implementeringen. |
| Subject: | Mechanical Engineering\General Computer Science\General |
| Keywords: | virtual machine, xPC Target, machine control, incremental encoder, S-Function |












