The%20Team - PowerPoint PPT Presentation

About This Presentation
Title:

The%20Team

Description:

Airplane propellers and windmill sails rotate ... Providing cut down versions of the VRML models for slow Internet connections ... – PowerPoint PPT presentation

Number of Views:44
Avg rating:3.0/5.0
Slides: 48
Provided by: julianse
Category:
Tags: 20team

less

Transcript and Presenter's Notes

Title: The%20Team


1
(No Transcript)
2
The Team
  • Clara Cardoso (Acoustical Engineering)
  • Ian Farmer (Electronic Engineering)
  • Sam Hopper (Electronic Engineering)
  • Julian Seidenberg (Software Engineering)

3
Project Goals
  • To build an online virtual laboratory for control
    systems demonstrations with 3D illustrations of
    the Simulink models
  • To develop this system as a cross-platform
    successor to existing tools such as the Matlab VR
    Toolbox 2.0

4
Presentation outline
  • System Architecture
  • Simulink models
  • System timing and control wrapper
  • Java Client/Server system
  • 3D VRML illustrations
  • Integration and testing
  • Conclusions
  • Questions
  • Demonstration

5
System Architecture
  • System-Level View
  • Task breakdown

6
Architecture Overview
7
Architecture Detail
8
Advantages
  • Platform independence
  • Scalability Load Balancing
  • Redundancy Recoverability

9
Disadvantages
  • Complexity
  • More complex than a simple single host-to-host
    network connection
  • More effort to install and configure
  • Performance
  • Layer of indirection causes slight delay

10
Task Breakdown
11
Simulink Models
  • Bouncing Ball model
  • Radar Tracking
  • Pendulum
  • F14 Flight Control
  • Newtons Cradle

12
Bouncing ball model
  • Simple system
  • Adapted from Matlab demo model
  • Expanded to move three-dimensionally

13
Radar tracking
  • Matlab demonstration model
  • Drop in model
  • Undocumented

14
Pendulum
  • Simple pendulum model
  • Rotation not translation

15
F14 flight control
  • Matlab demonstration model
  • Models elevator control
  • M-file control of variables

Elevator
16
F14 flight control (2)
  • Adaptation of controller

17
Newtons cradle
  • One pendulum model per sphere
  • Connected via collision modelling blocks
  • Pendulum velocity can be set on collision

18
System Timing and Control Wrapper
  • Controls the timing of the control system
    simulation
  • Interfaces the simulation with the server

19
System Timing
  • Data sent from Simulink
  • in fixed-length packets
  • at fixed intervals
  • Display applet requires a regular data stream
  • Therefore the accuracy of the timing is important
    for a smooth simulation

20
Timing Development
  • First timing test
  • Used a fixed pause between packets
  • Caused a gradual time lag
  • Second timing test
  • Used absolute timing from system clock
  • Sufficient accuracy is achieved

21
Development of Control Wrapper
  • Implementation of a dataflow delay using an
    s-function block
  • Delay block can halt the execution of the
    simulation at regular intervals

22
Final Timing and Control Wrapper
  • Implemented as a two-block wrapper for a control
    system model
  • Datasource providing the control systems inputs
    from the server
  • Datasink regulating the execution speed and
    sending the control systems outputs to the server

23
Java Client/Server System
  • Technology choices
  • System topology
  • Matlab/Java Interface
  • Process View (Server)
  • Java Control Applet

24
Technology choices
  • Java 1.1
  • not
  • PHP
  • ColdFusion
  • C/C
  • C
  • Matlab

25
Technology choices (2)
  • IBM Java Classbroker
  • not
  • Java RMI
  • XML-RPC
  • SOAP

26
Matlab/Java Interface
27
Process View
28
Java Control Applet
29
3D Worlds
  • Why?
  • To create illustrations of the control systems
  • To appeal to users
  • Building
  • Combining and scaling
  • Created objects
  • Existing objects on the web
  • Modified downloaded objects

30
Software Used
Software For What? Why?
VRML 97 To develop the worlds Free, easy, available plug-in-less browser, already used in VR-Toolbox, many downloadable objects
Blaxxun 3D VRML Viewer Free, plug-in-less, small file size
3D Exploration File Converter Converted many different file formats, fast, identification of objects parts
31
Software Used (2)
Software For What? Why?
Blender Object creation and modification Free, cross-platform many online resources and tutorials
MilkShape 3D Object creation and modification Imports and exports many file formats, easy to use and learn
32
Bouncing Ball
  • Ball inside a box controlled by Simulink
  • Used to learn and become familiar with VRML
  • Grass texture in the ground and a textured
    hemisphere sky
  • Airplane propellers and windmill sails rotate

33
Radar World
  • Radar to track an airplane
  • The phantom airplane shows the radar tracking
  • Normal airplane shows what the radar should
    track
  • Radar created in Blender
  • Camera tracking the planes so that the user is
    able to follow them whilst they fly around in the
    world.

34
F14 World
  • F14 flying
  • Camera tracking the plane so that the user is
    able to follow it while flying around in the
    world.

35
Newtons Cradle
  • User to interact with a Newtons cradle
  • Newtons cradle developed in Blender
  • House made from rectangular planes
  • Window is a rectangular plane with its
    transparency material property set to a low value

36
Pendulum
  • A pendulum swinging represented by a pendulum
    clock
  • Room with old fashioned objects
  • Pendulum needed to function as a different group
    to the rest of the object modelled using
    MilkShape3D

37
Integration and Testing
  • System Integration
  • Summary of Testing

38
System Integration
  • Control System models ? 3D Worlds
  • Synchronising objects and nodes from the model to
    the world
  • Ensuring correct positioning and visualisation
  • Control System Models ? Interface Wrapper
  • Incorporating the final model as a sub-system in
    the interface wrapper
  • Interface Wrapper ? Server
  • Using instances of Java objects to connect and
    transfer data to and from the server
  • Server ? Client
  • Finalising networking code in order to let
    multiple clients connect to multiple servers

39
Summary of Testing
  • Simulation timing and execution test results
  • Performance is dependent on the power of the host
    computer
  • Increased sample times need more processing power
  • Java client/server system test results
  • Works without major failures under most
    conditions
  • However, re-declaration of variables caused
    stability problems over extended periods of
    operation until fixed.

40
Summary of Testing
  • Other areas tested
  • Performance/load testing
  • Fail-over Testing
  • Cross platform compatibility
  • Areas not tested
  • Usability testing
  • Security testing

41
Summary
  • Evaluation
  • Conclusions
  • Future Work

42
Evaluation
GDP VRC VR-Toolbox 2.0 Viewpoint LabView
Download size 141 KB VRML 5470 KB VRML 3200 KB Wavelet compressed file 200 MB
Installation necessary No Yes Yes Yes
Simultaneous users Thousands Unspecified Thousands 50
Bandwidth requirement Modem LAN Modem LAN
Platform independent Yes (Java) No (Windows only) Somewhat (Windows Macintosh) Somewhat (Windows Linux)
Quality of image Medium Quality High Quality Very High Quality N/A
Accuracy of simulation Good Good N/A Very Good
Price Free 1870 Free 3345
43
Conclusions
  • Platform independence by the use of a three-tier
    system and the Java technology
  • Privacy Security isolation of Matlab and Java
    applet clients from each other through the server
    was achieved.
  • Scalability Load Balancing The system
    continued to run with a load of 3000
    simultaneously connected clients.
  • Analysability Testability It is relatively
    simple to create client applicants to analyse and
    test the system.
  • Maintenance Flexibility Good maintainability.
    Encapsulation in objected-oriented programming
    ensures the system is flexible.

44
Conclusions (2)
  • Stability Recoverability The system is
    resistant to clients crashing. Recovery occurs
    quickly enough in normal use.
  • Small size quick download Average download
    time of just over a minute for a dial-up user and
    seven seconds for a broadband user
  • Ease of use The web pages are intuitive.
  • Performance Adequate performance on an
    up-to-date computer.
  • Accuracy Accurate as possible with todays
    technology.

45
Conclusions (3)
  • The system can be used by clients with a broad
    range of skill levels
  • simple
  • accessible
  • diverse selection of examples
  • Potential application areas
  • virtual teaching laboratories
  • advertisement on the University web page
  • worldwide conferences.

46
Future Work
  • Improving security
  • Improving analysability
  • Improving display smoothness
  • Introducing dynamic data stream buffering
  • Creating an automatic installation system
  • Creating a system that solely uses Matlab and is
    not reliant on Simulink
  • Increasing the amount of control a user has over
    Matlab
  • Increasing the amount of information provided on
    the web pages.
  • Providing cut down versions of the VRML models
    for slow Internet connections
  • Providing a three-dimensional object library

47
Demonstrations
Write a Comment
User Comments (0)
About PowerShow.com