VM TEAM: MENTOR: Vasile Pais Nicolae Tapus Lucia Pais - - PowerPoint PPT Presentation

vm
SMART_READER_LITE
LIVE PREVIEW

VM TEAM: MENTOR: Vasile Pais Nicolae Tapus Lucia Pais - - PowerPoint PPT Presentation

VM TEAM: MENTOR: Vasile Pais Nicolae Tapus Lucia Pais Vlad Ureche Politehnica University of Bucharest Overview Project Purpose Facts and Figures Necessity Our Solution System Architecture Utility


slide-1
SLIDE 1

TEAM: Vasile Pais Lucia Pais Vlad Ureche MENTOR: Nicolae Tapus

VM

Politehnica University of Bucharest

slide-2
SLIDE 2

Overview

  • Project Purpose
  • Facts and Figures
  • Necessity
  • Our Solution
  • System Architecture
  • Utility
  • Further Development
  • Conclusions
slide-3
SLIDE 3

Project Purpose

  • VM is meant to simulate electronic devices on a

PC, enabling students to interact with them

  • Students can create complex systems by simply

connecting different parts

  • It can interface with other real world devices
slide-4
SLIDE 4

Facts and Figures

  • Many electronics are unavailable or unaffordable for

students

  • AT32AP7000 (Atmel 32-bit RISC microcontroller)

costs 53$ according to Froogle, but surpasses 100$ a piece in Romania

  • usually a minimum quantity is imposed on electronic

components

  • order and delivery time for electronics slows down the

project

slide-5
SLIDE 5

Necessity

  • Enables people to work with devices that otherwise they couldn’t afford
  • Helps in the education process by allowing students to :
  • develop software for different architectures
  • simulate the electronic parts needed for lab data processing
  • gain thorough understanding of how the system works by inspecting the

system’s internal state

  • Allows continuous software testing (by simulation) before the prototype

hardware is available

slide-6
SLIDE 6

Our Solution

VM

Virtual Machines Web Service

Controls the Virtual Machines

Web Site ` VNC

slide-7
SLIDE 7

Our Solution

Initial IDEA

Device-specific simulators

  • focused on microcontroller only
  • do not simulate an entire system
  • have good debug capabilities

PCB Design/Simulation Software

  • focused on electrical signal proprieties
  • overview of the system
  • does not simulate the running software

Final Design VM

  • simulates more platforms

before seting on one

  • simulates running software
  • n the microcontroller
  • simulates the entire system

VM and other simulators

  • VM is used before running

the device specific simulators to ensure logical connection compatibility

  • VM is used after the PCB

design is complete to test the software/firmware for the device

slide-8
SLIDE 8

System Architecture

Main Program Server ` Virtual Machine User

Create Machine Deactivate Machine Request New Machine Communicate with Machine

Innovation

  • Hosted on a web server
  • Program management can be done through web
  • Allows the access of multiple users to the same device
  • Uses the standard VNC protocol to visualize the results of the simulations
slide-9
SLIDE 9

System Architecture

Main Program System Machine XML VNC Devices

Extract machine parameters Read XML Get Parsed XML Communicate with devices Instantiate System Generate Image View Image

RESOURCES Configuration File External Devices COMMANDS Control Virtual Machine VNC Feed

Main Program

Send User Data Receive Data

slide-10
SLIDE 10

System Architecture

Modular Architecture

  • a module can be:
  • CPU
  • driver / latch
  • memory
  • button / switch
  • LED
  • LCD Display
  • wires – special BUS modules
  • others
  • modules are stored in *.DLL

libraries

  • modules are instantiated at

runtime according to the XML configuration file

  • easy to create a new module –

just implement an interface

Main Program

slide-11
SLIDE 11

System Architecture

Main Program

The VNC Server

  • enables user interaction with the virtual machine
  • ver a local network or the internet
  • allows users to interact with the simulation:
  • push buttons, change switches' positions
  • view the LCD display/LEDs
  • view the system's reaction to external sensor readings
  • VNC was chosen because it enables cross-platform

cooperation

  • Can be accessed through many devices including

mobile phones with Microsoft Windows Mobile

slide-12
SLIDE 12

System Architecture

Main Program System Machine XML VNC Devices

Extract machine parameters Read XML Get Parsed XML Communicate with devices Instantiate System Generate Image View Image

RESOURCES Configuration File External Devices COMMANDS Control Virtual Machine VNC Feed

Example of a Virtual Machine

Send User Data

PIC16F84A BUS LEDS

Receive Data

slide-13
SLIDE 13

System Architecture

VM example – Implementing a PIC and LEDs

  • Machine instantiates a System, PIC, BUS and LED

modules and hands over the control to System

  • System logically connects the PIC with the LEDs by

using the special module BUS

  • System generates the clock signal and regulates the

data flow between the modules

  • The status of the PIC can be observed on the LEDS

being viewed through the VNC

slide-14
SLIDE 14

System Architecture

Web Service Web Service Main Program

Web Service METHODS

Enumerate Modules Get Module Data Create System Start / Stop / Restart System Get Status / Report / VNC Info Start / Stop Service Get Service Status

Control Virtual Machine Control Response

slide-15
SLIDE 15

System Architecture

Web Service

  • Provides the interface between the Client and

Main Program

  • Exports the methods used in XML format
  • Provides the methods description through

WSDL

  • It can be used for creating and using virtual

machines by any web client

  • It is very easy to use
slide-16
SLIDE 16

System Architecture

Client Interface – Web Site

Client View Systems New/Edit/Delete Start/Stop/Restart Connect/Report Clone System Data System Name Modules Buses Description Add/Edit/Delete Module Add/Edit/Delete Bus Module Parameters Attach Module / Delete Atached Module

WEB SERVICE

slide-17
SLIDE 17

System Architecture

Web Site

  • It facilitates the creation and management of the

virtual machines

  • Allows access to functions in the web service
  • Makes the service available to anyone through the

Internet

  • It allows user management
slide-18
SLIDE 18

Utility

Enables faster preparation of electronics projects No PCB routing and placement simulated. For physical parameters, (length, height, etc)

  • ptimized

electromagnetically influences and

  • ptimized heat transfer a PCB layout tool

should be used Encourages team work through its modular design by allowing different students to concentrate on different parts of a project No electrical characteristics are simulated. For electric simulation (impedances, signal strength, signal form, currents) a circuit simulation toolkit should be used Allows the students to better understand the inner workings of the modules with step-by-step program debugging Timing/synchronization delays are not simulated therefore timings have to be adjusted on the prototype board Ease of education in electronics

Disadvantages Advantages

slide-19
SLIDE 19

Further Development

  • Implement new modules that would allow

defining new, more complex systems

  • Implement new facilities for the machine

management (VNC passwords etc)

  • Implement new functionalities of the client in
  • rder to improve the interaction with the

user

slide-20
SLIDE 20

Conclusions

VM helps in:

  • easing electronics projects and teaching
  • challenging students to Imagine and

Create new gadgets