Hands-on Teleoperation TARET Winter School Villach, February 5 –16, 2007 Darko Hercog.

11
Hands-on Teleoperation TARET Winter School Villach, February 5 –16, 2007 Darko Hercog

Transcript of Hands-on Teleoperation TARET Winter School Villach, February 5 –16, 2007 Darko Hercog.

Page 1: Hands-on Teleoperation TARET Winter School Villach, February 5 –16, 2007 Darko Hercog.

Hands-on Teleoperation

TARET Winter School

Villach, February 5 –16, 2007

Darko Hercog

Page 2: Hands-on Teleoperation TARET Winter School Villach, February 5 –16, 2007 Darko Hercog.

Darko Hercog 2

DSP-2 solution: overview

Page 3: Hands-on Teleoperation TARET Winter School Villach, February 5 –16, 2007 Darko Hercog.

Darko Hercog 3

DSP-2 solution: overview

Page 4: Hands-on Teleoperation TARET Winter School Villach, February 5 –16, 2007 Darko Hercog.

Darko Hercog 4

Automatically created LabVIEW VI - front panel• Automatic VI creation requires LabVIEW and additional toolkit named “ComVIEW”

• VI is created based on existing template VI. During VI creation process, numerical controls and indicators are automatically added to the template VI front panel

• The user can fully accommodate front panel and block diagram to custom needs and in such a way takes full advantage of LabVIEW environment

Page 5: Hands-on Teleoperation TARET Winter School Villach, February 5 –16, 2007 Darko Hercog.

Darko Hercog 5

Modified LabVIEW front panel

Page 6: Hands-on Teleoperation TARET Winter School Villach, February 5 –16, 2007 Darko Hercog.

Darko Hercog 6

Automatically created LabVIEW VI - block diagram

• block diagram contains over 80 VI (VI’s for initialization, communication, … )

• The user doesn’t need to wire the block diagram;

• Front panel terminals are connected with DSP variables programmatically using DSP Connector Manager.

Page 7: Hands-on Teleoperation TARET Winter School Villach, February 5 –16, 2007 Darko Hercog.

Darko Hercog 7

DSP Connection Manager window

Front Panel Controls

Front Panel Indicators

DSP input variables

Parameters

DSP output variables

Connections table

Page 8: Hands-on Teleoperation TARET Winter School Villach, February 5 –16, 2007 Darko Hercog.

Darko Hercog 8

LabVIEW Web publishing tool and Remote panel technology

• Remote Panels is a LabVIEW add-on toolkit that enables viewing and controlling of LabVIEW VI over the Internet, by using standard web browser.

• Using LabVIEW Web publishing tool, LabVIEW front panels can be quickly and effortlessly publish on the Web.

• Once published, anyone on the Web with the proper permissions can access and control the experiment without installing LabVIEW

• Remote Panels includes an algorithm that prevent access collision by two different users to the same remote application:– If one client is controlling the remote experiment, the other remote

client is able to monitor the actions of the controlling client– If another client request control, the controlling client is notified that

control time has now become limited– Once the timeout occurs or the controlling client released control,

application control is automatically switched to the requesting client.

Page 9: Hands-on Teleoperation TARET Winter School Villach, February 5 –16, 2007 Darko Hercog.

Darko Hercog 9

LabVIEW Web publishing tool and Remote panel technology

• Weaknesses: – Remote user must have “LabVIEW Run-time Engine” installed on

his computer– Server must have a valid RemotePanels Licenses:

• One license is included in LabVIEW Full Development System• five in LabVIEW Professional Development System

Page 10: Hands-on Teleoperation TARET Winter School Villach, February 5 –16, 2007 Darko Hercog.

Darko Hercog 10

Teleoperation architecture

• A DSP-2 control system, connected to lab PC through the serial, USB or Ethernet port, implements a control algorithm developed using MATLAB/Simulink and through the analog and digital I/O signals, drives real plant;

• virtual instrument (VI) and the LabVIEW server are run on the same lab PC for the purpose of enabling the remote control;

• VI performs communication between lab PC and the DSP-2 control system. VI enables online DSP-2 signal monitoring and parameter tuning, while the LabVIEW server enables remote operation of an experiment.

Rem ote user Lab server D S P- 2 Learn ing Modu le w ith H br idge and D C m otor

I n ternet

Page 11: Hands-on Teleoperation TARET Winter School Villach, February 5 –16, 2007 Darko Hercog.

Darko Hercog 11

RC oscillator experiment - GUI in web browser