Download presentation
Presentation is loading. Please wait.
Published byJonas Long Modified over 9 years ago
1
1 Universal Measurement System with Web Interface Maciej Lipiński Ph.D. Krzysztof Poźniak, MSc Grzegorz Kasprowicz Wilga 30.05.2009 r.
2
2 Presentation plan Outline of the project Outline of the project The goalThe goal ApplicationsApplications ArchitectureArchitecture Web Interface Web Interface Technologies and architectureTechnologies and architecture How it worksHow it works OutcomeOutcome Measurement Interface Measurement Interface OverviewOverview Server with Parser and decoderServer with Parser and decoder System configuration Interface System configuration Interface Tests Tests
3
3 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 Acquisition in dangerous places (i.e. high energy physics) Acquisition in places which are difficult to access Reconfigurable measurement system Digital oscilloscope The goal of the project
4
4 Hardware architecture and data flow Main module : Switched-mode Power Supply Switched-mode Power Supply Graphic controller Graphic controller Sound controller Sound controller I2C interface I2C interface Peripherals: Peripherals: Single Board Computer module: Microprocessor: ARM9 (AT91RM9200) Microprocessor: ARM9 (AT91RM9200) 128MB SDRAM 128MB SDRAM Ethernet interface 10/100 Mbit Ethernet interface 10/100 Mbit FLASH 8MB FLASH 8MB SD/MMC reader, SD/MMC reader, Interfaces Interfaces Acquisition module: ALTERA Cyclone I ALTERA Cyclone I 2 x fast, 105MS/s. 14 bit ADCs 2 x fast, 105MS/s. 14 bit ADCs SSRAM – 128k x 32 SSRAM – 128k x 32
5
5 Software architecture
6
6 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 INTERFACE
7
7 WEB INTERFACE UML Sequence Diagram
8
8 WEB INTERFACE Simple oscilloscope & spectrum analyzer ONLINE http://home.elka.pw.edu.pl/~mlipins1/myWeb/oscilloscope.html
9
9 WEB INTERFACE Simple oscilloscope & spectrum analyzer ONLINE http://home.elka.pw.edu.pl/~mlipins1/myWeb/oscilloscope.html
10
10 Remote Measurement Interface The S tandard C ommands for P rogrammable I nstruments (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 Parser compatible with SCPI syntaxcompatible with SCPI syntax Instrument independent (very fewInstrument independent (very few changes needed when implementing changes needed when implementing commands for a new measurement commands for a new measurement instrument) instrument) Command decoder Command decoder Implemented basic set of oscilloscope commandsImplemented basic set of oscilloscope commands Easily extensibleEasily extensible Easy to implement commands for any measurement instrumentEasy to implement commands for any measurement instrument Based on SCPI standard (not fully compliant with SCPI)Based on SCPI standard (not fully compliant with SCPI) Based on implementations of SCPI for real oscilloscopes (Agilent, Tektronix, HP)Based on implementations of SCPI for real oscilloscopes (Agilent, Tektronix, HP) Not yet perfect, needs testing and bugs eliminationNot yet perfect, needs testing and bugs elimination
11
11 Remote Measurement Interface :*IDN?:*CLS:*RST:RUN:STOP:AUTO:ABOR:TRIGger?:TRIGger:MODE:TRIGger:STATus:TRIGger:EDGE? :TRIGger:EDGE:SOURce {AUTO|CH1|CH2|EXT} :TRIGger:EDGE:LEVel {number} :TRIGger:EDGE:SWEep {AURO|NORMAL|SINGLE} :TRIGger:EDGE:SLOPe {NEGative|POSitive} :TRIGger:EDGE:DELay {number} :SENSe?:SENSe:SWEep? :SENSe:SWEep:POINts {number} :SENSe:SWEep:TIME {number} :SENSe:SWEep:TINTerval {number} :CHANnal1:DISPlay {ON|OFF} :CHANNAL1:OFFset {number} :CHANNal1:SCALe {number} :CHANnal2:DISPlay {ON|OFF} :CHANNAL2:OFFSet {number} :CHANNal2:SCALe {number} :TIMebase:OFFSet {number} :TIMebase:SCALe {number} :TIMebase:FORMat {XY|YT} :WAVeform:DATa? {CHANnal1|CHANnal2} Connecting through telnet/Matlab to SCPI Server SCPI commands dictionary
12
12 WEB INTERFACE System configuration
13
13 Tests: Calibration
14
14 Tests: Calibration
15
15 Tests: Frequency
16
16 TESTS
17
17 TESTS
18
18 Summary The system is working ! The system is working ! Basic tests done Basic tests done First iteration of bugs correction finished First iteration of bugs correction finished Final tests and bugs correction needed Final tests and bugs correction needed
19
19 THANK YOU
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.