Telelab 2
-
Upload
avinash-pathak -
Category
Technology
-
view
601 -
download
0
description
Transcript of Telelab 2
Telelab- remote monitoring lab
A Remote Monitoring and Control System
TELELAB
Presented by :Avinash PathakDron Sharma
Telelab- remote monitoring lab
What TELELAB is ??
TELELAB is a system designed for remote monitoring and controlling which may be required in scientific research, testing and experimentation. It provides the observer with the data he/she requires without him/her being physically present at the place where the actual experiment is being conducted.
Telelab- remote monitoring lab
BLOCK DIAGRAM
Telelab- remote monitoring lab
Features of TELELAB Designed controller (Simulink file) is automatically
converted as a real-time executable and uploaded on a remote PC connected to one or more processes, guaranteeing hard real-time performance
The experiments are controlled by a standard web browser allowing a full modification of controller parameters and observing signals on real-time plots.
Since a centralized server is employed to handle the remote PC’s, experiments can be easily shared among different laboratories or even different departments/universities, so reducing costs and facilitating the birth of laboratory consortia
Much more practical and industrial oriented program.
Telelab- remote monitoring lab
HOW WE WILL ACHIEVE IT !!!!
Telelab- remote monitoring lab
Integrator
ATMEL MEGA 8LSERVER TCP/IP
CLIENT 2
CLIENT 3
CLIENT 4
CLIENT 1
Through DB9 Port
LAN N/W
Model of implementation
Telelab- remote monitoring lab
Components List
Telelab- remote monitoring lab
Components List contd..
Telelab- remote monitoring lab
MATLAB WORKING
Telelab- remote monitoring lab
Applications of MATLAB Math and computation Algorithm development Data acquisition Modeling, simulation, and prototyping Data analysis, exploration, and visualization Scientific and engineering graphics Application development, including graphical
user interface building
Telelab- remote monitoring lab
Interfacing b/w PCs• DB-25 PORT• It is the parallel port.• 2-9 are bi-directional data pins• pins 10-13 and 15 are output
pins (status pins) • pins 1,14,16,17 are input pins. • pins 18-25 are Ground pins.
Telelab- remote monitoring lab
Interfacing b/w PCs contd… DB-09 PORT• This is the serial port.• Pin 3 is the Transmit (TX) pin,
pin 2 is the Receive (RX) pin
and pin 5 is Ground pin. • Other pins are used for
controlling data communication
in case of a modem.
Telelab- remote monitoring lab
How access the Parallel port ??• MATLAB has an adaptor to access the parallel port . To access the parallel port
in MATLAB, define an object >> parport= digitalio('parallel','LPT1'); • obtain the port address using, >> get(parport,'PortAddress') >> daqhwinfo('parallel'); % To get data acquisition hardware information• We have to define the pins 2-9 as output pins, by using addline function >> addline(parport, 0:7, 'out') • Now put the data which you want to output to the parallel port into a matrix; e.g. >> dataout = logical([1 0 1 0 1 0 1 1]); • Now to output these values, use the putvalue function >> putvalue(parport,dataout); • Alternatively, you can write the decimal equivalent of the binary data and output
it. >> data = 23; >> putvalue(parport,data);
Telelab- remote monitoring lab
Serial IO with MATLAB • The following steps are required for serial data
communication• Create serial port object. Use MATLAB command serial• Configure serial port object. get and set commands• Connect to the device. Fopen• Configure if required. get and set commands• Write data with fprintf command. Read data with fscanf
command.• Disconnect device on transmission over. Use fclose
Telelab- remote monitoring lab
Serial Read
Telelab- remote monitoring lab
Serial write
Telelab- remote monitoring lab
Telelab- remote monitoring lab
Telelab- remote monitoring lab
Atmel mega 8LPin Diagram :
Telelab- remote monitoring lab
Block Diagram of Atmel mega 8L
Telelab- remote monitoring lab
Block Diagram of Atmel mega 8L contd..
Telelab- remote monitoring lab
How hex code is burn
Telelab- remote monitoring lab
Showing the window of client & server of Telelab
Telelab- remote monitoring lab
Telelab- remote monitoring lab
Telelab- remote monitoring lab
Telelab- remote monitoring lab
REFERENCES
• [1] Matlab help. http://www.mathworks.com/academia/ • [2] ‘tcp udp ip’ toolbox for Matlab. http //www.mathworks.com/matlabcentral/f
ileexchange/ loadF ile.do?objectI d = 345 • [3] Instrument Control Toolbox for Matlab. http : • //www.mathworks.com/access/helpdesk • [4] WinAvr help. • [5] Atmel Avr Manuals mega8 and some appnotes. http : • //atmel.com/dyn/resources • [6] Real Systems in the Virtual Lab 2000. [Online]. Available: • http://prt.fernunihagen.de/rsvl • [7] Remote Lab Experiment RC Oscillator for Learning of Control. S. Uran, D.
Hercog and K. Jezernik. University of Maribor, Faculty of Electrical Engineering and Computer Science, Maribor, Slovenia
• [8] S. Dormido, Control Learning: Present and Future, In Proc. 15 IFAC World Congres on Automatic Control,Barcelona, Spain, 2002.
• [9] M. Casini, et all, The Automatic Control Telelab, IEEE Control Systems Magazine, vol. 24, No. 3, 2004, pp.36-44.