Smart Sensor in Wide Area Network Environment
How can sensors improve your safety?
Tadeusz Pietraszek
April 25, 2003
Smart Sensor in Wide Area Network Environment How can sensors - - PowerPoint PPT Presentation
Smart Sensor in Wide Area Network Environment How can sensors improve your safety? Tadeusz Pietraszek April 25, 2003 To feel more is to know more Outline Introduction Need for monitoring system Issues of gas detection
Tadeusz Pietraszek
April 25, 2003
– Microprocessor based „Smart” sensor with semiconductor detector – TINI based control station – Utility software – Database for storing measurements
– Silesian University of Technology – ATEST-Gaz company
– Gas measurements, signal processing – Monitoring systems – Java embedded systems
– Product currently manufactured and sold – National and EU (awaiting) certificate for industrial gas detectors – Entire system working in a prototype installation
– Change in regulations for gas monitoring – Need for monitoring systems in new installations – Modernization of existing installations
– Coal mines – Chemical plants – Industrial plants – Petrol stations – Boiler houses – Underground parking places – Tunnels – Sewage treatment plants – Swimming pools – ...
– Efficient – Reliable (self diagnosis) – Easy to manage – Serviceable (remote access) – Modular – Database aware – Network aware – Secure – Low cost
– Variety of detection elements – Need for universal processing algorithm
– Means of access – Diagnostics and recalibration – Security issues – Compliance with EX regulations
– Communication bus – capabilities and limitations
controller
– Areas of concern
– Internet technologies - implications on the system
– Microprocessor based „Smart” sensor with semiconductor detector – Java based controller – Utility software – Database for storing measurements
Controller
DB Server WEB Server DB Internet
Configuration Calibration
Gas Detectors
– Microprocessor based „Smart” sensor with semiconductor detector – Java based controller – Utility software – Database for storing measurements
– Semiconductor – Electrochemical – Catalytic combustion (pellistor) – ...
– Memory map – Storing multiple entries
n [ppm] R [Ω]
Fixed block
<current> <not active>
<new>
X X Y Y
– Standard and common protocol – Can be easily integrated with PLC – Easy to implement on microprocessor with limited resources – class0 compliance
– Allows to identify type of device, product and software version – Sets standard for existing and future devices
– Microprocessor based „Smart” sensor with semiconductor detector – Java based controller – Utility software – Database for storing measurements
Controller
– feasibility and ease of implementation of required controller functions – system resources – system performance - sensor read frequency (i.e.number of sensors that can be effectively handled, T90 must be ensured) – system reliability
– detection of missed deadlines – failure of TCP/IP network should not cause the stop of system critical functions
– DS80C390 processor (51’ clone) – Operating System with Java VM, Ethernet controller and TCP/IP stack – Two types of memories EEPROM and static RAM
– Ethernet 10 Base – T controller – processor data and address bus available – 2 serial ports – 512kB FlashROM i 1MB SRAM – RTC
– TCP/IP connections handling – HTTP server – Serial interfaces
– Modbus – XML-RPC
– Measurement results can be easily extracted and processed – Data can be used by many standard applications – Changes in visualization do not require software modifications
– Can be done in XML compliant browser (e.g. IE 6.0)
– Client side processing – Greater capabilities than XSL
– Uses XML encoding – HTML-POST envelope – Libraries available for most of operating systems – 80% SOAP’s capabilities – 20% SOAP complexity
– XML-RPC server implementation (remote access) – XML-RPC client implementation (DB)
– Hardware – Software
– Microprocessor based „Smart” sensor with semiconductor detector – Java based controller – Utility software – Database for storing measurements
Operator's console
Configuration Calibration
– Handles different sensors with different software versions – Different means of communication
– Can be integrated with existing code (e.g. TINI software device classes)
Modbus Provider XML-RPC Modbus/TCP Modbus IrDA XML-RPC TINI RS485 Industrial PLC RS485 M O D B U S / T C P RS485 Modbus IrDA
– Microprocessor based „Smart” sensor with semiconductor detector – Java based controller – Utility software – Database for storing measurements
DB Server WEB Server DB
DB DB DB
– Resources – Communication issues
TINI
DB RS-485, MODBUS
– TINI resources – Communication protocol TINI TINI TINI
TCP/IP
Server DB
– Another layer required – Security issues
DB DBMS XML-RPC SmartLog JDBC JDBC-driver
TINI TINI XML-RPC
– Applicability of piecewise linear approximation on low resources microcontrollers – Measurements and tests for different sensors
– Protocol analysis, capabilities and limitations – Feasibility of implementation
– Use of Internet protocols in industrial systems – Application of low cost Java based controller – Remote access
– Smart – microprocessor based sensor with semiconductor detector – TINI – the application of Java based controller in the system – SmartSet – utility software – sensor configuration, calibration diagnostics – Database for storing measurement results
generates is of type contains generated by generates generated by dev1_0_0 sampleNum lifeTime n1 n2 temp g1W1 g1W2 g1Al g2W1 g2W2 g2Al awKryt awNkr eeStatus flagAWKR1 flagAWKR2 flagAWN1 flagAWN2 flagEEPROM flagSTATE vDet1 vDet2 vHeat1 vHeat2 vTemp R1 nR1 Rs01 Rl1 n1_1 n2_1 R2 nR2 Rs02 Rl2 n1_2 n2_2 I I I I I N1 N1 N1 N1 N1 N1 N1 N1 N1 SI SI SI SI SI SI I I I I I I I I I I I I I I I I I <M> <M> <M> <M> <M> <M> <M> <M> <M> <M> <M> <M> <M> <M> <M> <M> <M> <M> <M> <M> <M> <M> <M> <M> <M> <M> <M> <M> <M> <M> <M> <M> <M> <M> <M> <M> <M> GenericDevices idGenericDevice modbusAddress typeNum serialNum softDate softVer <pi> SI I I I A50 A50 <M> <M> <M> <M> <M> <M> KeyGenericDevices <pi> Messages idMessage timeLocal msgText <pi> SI D A255 <M> <M> <M> Key_1 <pi> MsgTypes idMsgType type <pi> SI A50 <M> <M> Key_1 <pi> Readouts idReadout timeLocal timeRemote transmitOk transmitFailed <pi> SI D D I I <M> <M> <M> <M> <M> KeyReadouts <pi> ReadoutsDevices idReadoutDevice readoutsOk readoutsFailed readoutPeriod fullReadout responding <pi> SI I I I N1 N1 <M> <M> <M> <M> <M> <M> KeyReadoutsDevices <pi> Tinis idTini nameTini ipTini <pi> SI A50 A50 <M> <M> <M> KeyTinis <pi>
.JAVA .JAVA .JAVA .JAVA .JAVA .JAVA .JAVA .CLASS
Compilation
.TINI
TiniConverter
DS390 .TLIB .TLIB
Execution Libraries
Operating System Operating System JAVA VM JAVA VM API API
Controller QUERY RESPONSE
Transmission OK
Controller QUERY
TIMEOUT Exception response
Controller QUERY EXCEPTION-RESPONSE Controller BROADCAST QUERY
Broadcast tranmission
Sensor A/D Temp vHEAT vDET vTEMP SWITCH PWM Serial U/I 4-20mA
Measurement Head Analog Processing Communication Interface
A B
LED Signalling
RS485 RX TX DIR +5V
uP PIC 16F873