190 likes | 304 Views
Universal Measurement System with Web Interface. Maciej Lipiński Ph.D. Krzysztof Poźniak, MSc Grzegorz Kasprowicz. Wilga 30.05.2009 r. Presentation plan . Outline of the project The goal Applications Architecture Web Interface Technologies and architecture How it works Outcome
E N D
Universal Measurement System with Web Interface Maciej Lipiński Ph.D. Krzysztof Poźniak, MSc Grzegorz Kasprowicz Wilga 30.05.2009 r.
Presentation plan • Outline of the project • The goal • Applications • Architecture • Web Interface • Technologies and architecture • How it works • Outcome • Measurement Interface • Overview • Server with Parser and decoder • System configuration Interface • Tests
The goal of the project Utilization of the hardware provided by Grzegorz Kasprowicz to create an autonomous, universal measurement system with Web interface and operating system on board. Creation of TCP/IP and web-based control interface. Example implementation of oscilloscope and spectrum analyzer Digital oscilloscope Acquisition in dangerous places (i.e. high energy physics) Acquisition in places which are difficult to access Reconfigurable measurement system
Hardware architecture and data flow Main module : • Switched-mode Power Supply • Graphic controller • Sound controller • I2C interface • Peripherals: Single Board Computer module: • Microprocessor: ARM9 (AT91RM9200) • 128MB SDRAM • Ethernet interface 10/100 Mbit • FLASH 8MB • SD/MMC reader, • Interfaces Acquisition module: • ALTERA Cyclone I • 2 x fast, 105MS/s. 14 bit ADCs • SSRAM – 128k x 32
WEB INTERFACE • SIMPLICITY, LIMITED RESOURCES • Applet: • operations/computations one • client’s site: • interaction with user • data preparation for display • server is a medium which passes date to client • proc file system : • no need for using advances scripting (perl,PHP) or C program to interface driver • UNIX utilities provided by Busybox can be used (ash shell, echo, cat) • simple reading/writing • using Common Gate Interface (CGI) • supported by all web servers (including the simplest) • used widely around the WEB and on Linux-based routers • platform and system independent compatible with many programming/scripting languages
WEB INTERFACESimple oscilloscope & spectrum analyzer ONLINE http://home.elka.pw.edu.pl/~mlipins1/myWeb/oscilloscope.html
WEB INTERFACESimple oscilloscope & spectrum analyzer ONLINE http://home.elka.pw.edu.pl/~mlipins1/myWeb/oscilloscope.html
Remote Measurement Interface The Standard Commands for Programmable Instruments (SCPI) defines a standard set of commands to control programmable test and measurement devices in instrumentation systems. The SCPI Standard specifies a command structure and syntax for programmable instruments control. • Parser • compatible with SCPI syntax • Instrument independent (very few changes needed when implementing commands for a new measurement instrument) • Command decoder • Implemented basic set of oscilloscope commands • Easily extensible • Easy to implement commands for any measurement instrument • Based on SCPI standard (not fully compliant with SCPI) • Based on implementations of SCPI for real oscilloscopes (Agilent, Tektronix, HP) • Not yet perfect, needs testing and bugs elimination
Remote Measurement Interface Connecting through telnet/Matlab to SCPIServer SCPI commands dictionary
Summary • The system is working ! • Basic tests done • First iteration of bugs correction finished • Final tests and bugs correction needed