r.e.m.o.t.e. lsamp presentation

22
Streaming Live Data from a Simulation Software to a Streaming Server in Real-Time Louis Stokes Alliance for Minority Participation (LSAMP) Research Program Mentor: Dr. Thomas Connolly, PhD. Mechanical Engineering. Research Assistant: Olmo F. Maldonado, Electrical Engineering

Upload: olmo-f-maldonado

Post on 15-Apr-2017

18 views

Category:

Engineering


0 download

TRANSCRIPT

Page 1: R.E.M.O.T.E. LSAMP Presentation

Streaming Live Data from a Simulation Software to a Streaming Server in Real-Time

Louis Stokes Alliance for Minority Participation (LSAMP) Research Program

Mentor: Dr. Thomas Connolly, PhD. Mechanical Engineering.

Research Assistant: Olmo F. Maldonado, Electrical Engineering

Page 2: R.E.M.O.T.E. LSAMP Presentation

OutlineR.E.M.O.T.E.Motivation

Online Virtual Controller PrototypingThis summer’s researchImplications

Simulink, Quanser, and RTX … Oh my!Solutions

Reset conundrumData exchangeLive streaming

Current progressData ExchangeCamera controlLive camera on demand

Expected OutcomeConclusion/Discussion

Research experience with LSAMPPlans

References

Page 3: R.E.M.O.T.E. LSAMP Presentation

Real-Time Experiments Merged Online for Tomorrow's Engineers (R.E.M.O.T.E.)

Enhance conceptualization and use of fundamentals through multiple means of visualizationIncrease participation through improved dissemination, accessibility, and availability of experiments via the Internet to students at many institutionsEngage students collaboratively to improve understanding of system dynamics

Page 4: R.E.M.O.T.E. LSAMP Presentation

Motivation for R.E.M.O.T.E.

Large experimental setups are expensive –resource sharing between campusesStudents need access on an individual basis, instead of demonstrations to large groupsStudent difficulty with conceptualizing and visualizing System Dynamics concepts

Page 5: R.E.M.O.T.E. LSAMP Presentation

Motivation: Online Virtual Controller PrototypingUsers can specify initial condition, controller parameters, and generate animated responses to prototype their controller designs.

Page 6: R.E.M.O.T.E. LSAMP Presentation

ImplicationsExperiments were made to be run by people not machine. The lab setup requires a form of reset.Simulation and Virtualization is not Real, nor can it be in Real-Time. Therefore we need live streams of data.Software collaboration (Data Exchange)

Data archiving is available but yet is not very portable. Size student group and time of day constrictions.Administration and security

Page 7: R.E.M.O.T.E. LSAMP Presentation

Implication: Simulink – Inverted Pendulum’s Original Model

Page 8: R.E.M.O.T.E. LSAMP Presentation

Implication: Simulink – Ball and Beam’s Original Model

Page 9: R.E.M.O.T.E. LSAMP Presentation

Implication: Data Exchange

Data Acquisition BoardRTXMATLABSimulinkReal-Time WorkshopQuanser Client and Server

Helix ProducerHelix DNA Server

Page 10: R.E.M.O.T.E. LSAMP Presentation

SolutionsSelf-Inverting for the PendulumBall and Beam needs an angle reset modelData Exchange

MATLAB engineInput Plug-in for Helix ProducerTCP/IP SniffingHooking

Quanser Development KitTLC programming

Page 11: R.E.M.O.T.E. LSAMP Presentation

Solution: Simulink – Self-Inverting

Page 12: R.E.M.O.T.E. LSAMP Presentation

Solution: Simulink – Gantry

Page 13: R.E.M.O.T.E. LSAMP Presentation

Solution: Simulink – Gantry-Reset

Page 14: R.E.M.O.T.E. LSAMP Presentation

Solution: Simulink – Ball and Beam Reset

Page 15: R.E.M.O.T.E. LSAMP Presentation

Solution: Live streaming

Page 16: R.E.M.O.T.E. LSAMP Presentation

Solution: Data ExchangeMATLAB EngineHelix DNA Producer SDK and the development of a Input Plug-in to read and grab samples from MATLAB or another program.

TCP/IP SniffingHooking

Page 17: R.E.M.O.T.E. LSAMP Presentation

Solution: Data Exchange – TCP/IP Sniffing and Hooking

Loopback Device127.0.0.1:17255

Wincon Server

Wincon Client

Same Computer

2nd MAT

LAB

Helix P

roduc

er Helix Server

Ready to Travel

Win

Pcap

Encoded

Page 18: R.E.M.O.T.E. LSAMP Presentation

Current ProgressWinPcap failed to support enumeration of the Loopback device.Hooking is one of the other alternatives.TCP/IP is still considered feasible.

Overall strong outlook in finding a solution in data sharing.Still challenged, however.

Page 19: R.E.M.O.T.E. LSAMP Presentation

Progress: Camera control and streaming

Remote control of the camera is ready to be used by administrators.Programming done in assembly and C by a third-party. PHP will be the gateway between the commands to the program made and the camera.The camera is streamed by demand.

Page 20: R.E.M.O.T.E. LSAMP Presentation

Expected Outcome

Page 21: R.E.M.O.T.E. LSAMP Presentation

Conclusion/Discussion

Research experience/LSAMPPlans

Graduate SchoolPhD.Community Service

More research

Page 22: R.E.M.O.T.E. LSAMP Presentation

References