Device integration into automation systems with

Download Report

Transcript Device integration into automation systems with

Device integration into
automation systems with
configurable device
handler
Scheibelmasser, Traussnigg, Schindin, Derado
campus02.at
1/25
DI Anton Scheibelmasser
ICINCO 2004
Setubal 28.08.2004
don't stop thinking about tomorrow
Contents
• Test bed automation
• Types of device handler
• Device integration goals
• Configurable Device Handler (CDH)
• CDH configuration procedure
• CDH runtime functionality
• Future extensions, conclusion
campus02.at
2/25
DI Anton Scheibelmasser
ICINCO 2004
Setubal 28.08.2004
don't stop thinking about tomorrow
Test bed automation
• Combustion engine test and
development (CAT)
• Control the test bed in a
defined mode (test run)
• Evaluate and control sensors,
actuators and complex
devices
• Acquire data, calculate and
store results
• Real time behaviour
campus02.at
3/25
DI Anton Scheibelmasser
ICINCO 2004
Setubal 28.08.2004
don't stop thinking about tomorrow
Test bed automation: Device categories
Simple sensors/actuators
Intelligent subsystems
• Part of the real time data
acquisition
• Fully integrated in the
automation system
• Parameters (filter, buffer,
sampling rate)
• Measurement devices
• „Small“ automation
systems
• Controlled via
communication lines
campus02.at
4/25
DI Anton Scheibelmasser
ICINCO 2004
Setubal 28.08.2004
don't stop thinking about tomorrow
Test bed automation: Device handler
• Uniform SW-Layer for
device control and data
acquisition
• Use of Platform Adapter
interfaces for OS and lower
OSI/ISO-Layer access
• Implements interfaces to the
Automation System‘s Device
Framework (PUMA)
Automation System
Device Framework
Device Handler
Platform Adapter
Device 1
Device 2
Device 3
campus02.at
5/25
DI Anton Scheibelmasser
ICINCO 2004
Setubal 28.08.2004
don't stop thinking about tomorrow
Test bed automation: Handler Functions
Synchronisation
• Supports states and transitions of the
Device Framework
• Implementation of mandatory methods
• Abstract method definitions
• Device specific implementation
Interface
• Data: System Channel
• Commands: Activation Objects
Visualisation (GUI)
campus02.at
6/25
DI Anton Scheibelmasser
ICINCO 2004
Setubal 28.08.2004
don't stop thinking about tomorrow
Contents
• Test bed automation
• Types of device handler
• Device integration goals
• Configurable Device Handler (CDH)
• CDH configuration procedure
• CDH runtime functionality
• Future extensions, conclusion
campus02.at
7/25
DI Anton Scheibelmasser
ICINCO 2004
Setubal 28.08.2004
don't stop thinking about tomorrow
Types of device handler
Automation System
Device Framework
Device Specific
Handler
Configurable Device Handler:
• Generic PUMA Device Handler
CDH
(Configurable
Device Handler)
• “Configuration instead of
programming”
Platform Adapter
Device 1
Device 2
Device Specific Handler:
• Handler programmed for a
special measurement device
• Functionality fixed (hard coded)
Device 3
• Device functionality given by
means of parameterisation
campus02.at
8/25
DI Anton Scheibelmasser
ICINCO 2004
Setubal 28.08.2004
don't stop thinking about tomorrow
Contents
• Test bed automation
• Types of device handler
• Device integration goals
• Configurable Device Handler (CDH)
• CDH configuration procedure
• CDH runtime functionality
• Future extensions, conclusion
campus02.at
9/25
DI Anton Scheibelmasser
ICINCO 2004
Setubal 28.08.2004
don't stop thinking about tomorrow
Device integration goals
• Low integration costs and effort
• Focus on device functionality
• Consideration of automation and not of a
specific automation system
• Improved costumisation
• High flexibility
CDH
• No programming skills
• Support of standards (e.g. ASAM-GDI)
• Advantages of Scripting and Labview
campus02.at
10/25
DI Anton Scheibelmasser
ICINCO 2004
Setubal 28.08.2004
don't stop thinking about tomorrow
Contents
• Test bed automation
• Types of device handler
• Device integration goals
• Configurable Device Handler (CDH)
• CDH configuration procedure
• CDH runtime functionality
• Future extensions, conclusion
campus02.at
11/25
DI Anton Scheibelmasser
ICINCO 2004
Setubal 28.08.2004
don't stop thinking about tomorrow
Configurable Device Handler
Configurable Device Generator
Automation System
Device Framework
Configurable Device Handler (CDH)
Measurement
Device
Description
File (MDD)
Generator (CDG)
Panel (CDP)
Engine (CDE)
• Offline component for
configuration (Wizard)
Mesaurement Device Description
• Measurement Description File
Configurable Device Engine
• Online interpreter engine
Platform Adapter
Configurable Device Panel
Device 1
Device 2
Device 3
• Online Handler visualization
(generic GUI)
campus02.at
12/25
DI Anton Scheibelmasser
ICINCO 2004
Setubal 28.08.2004
don't stop thinking about tomorrow
Contents
• Test bed automation
• Types of device handler
• Device integration goals
• Configurable Device Handler (CDH)
• CDH configuration procedure
• CDH runtime functionality
• Future extensions, conclusion
campus02.at
13/25
DI Anton Scheibelmasser
ICINCO 2004
Setubal 28.08.2004
don't stop thinking about tomorrow
CDH configuration procedure : General
Device integration assumptions:
• Knowledge of device states, functions and
communication protocol telegrams
• Knowledge of PUMA Open Standard
Commands and the expected device
behaviour
• Idea for the implementation of the Standard
Commands (e.g Initialize, Measurement ...)
Device integration definition steps:
• Physical Line, Variables, Telegrams, Sequences, MDD-File
campus02.at
14/25
DI Anton Scheibelmasser
ICINCO 2004
Setubal 28.08.2004
don't stop thinking about tomorrow
CDH configuration procedure : Line
CDG-wizard guides the device integrator
through the necessary step
Physical Line Definition
• RS232, Ethernet (TCP/IP, UDP)
• COM-Port, Baudrate, Frame
• Port, IP-Address
• Timeout
campus02.at
15/25
DI Anton Scheibelmasser
ICINCO 2004
Setubal 28.08.2004
don't stop thinking about tomorrow
CDH configuration procedure : Variable
Device Variable Definition
• Variables are gained from device protocol telegrams
• Systemchannels are generated according to Variable definition
• Systemchannels are connected to all PUMA components
Value:
FB_Temperature
Unit:
°C
I/O-Type:
Output
Type:
Float
Initial Value:
0
Minimum:
-10
Maximum:
70
campus02.at
16/25
DI Anton Scheibelmasser
ICINCO 2004
Setubal 28.08.2004
don't stop thinking about tomorrow
CDH configuration procedure : Telegram
Telegram Definition
• Telegrams are used to control the device, to set
parameters or to inquire values from the device
• Send/Receive-Telegram definitions enables CDH the fill
in/extract variables to/from the device protocol
Send telegram:
Receive telegram:
[STX] AWRT K0 [ETX]
[STX] AWRT 0 0.275[ETX]
Send text:
<02> AWRT #channel#<03>
Receive text:
<02> AWRT #error_status#
#measurement_value#<03>
campus02.at
17/25
DI Anton Scheibelmasser
ICINCO 2004
Setubal 28.08.2004
don't stop thinking about tomorrow
CDH configuration procedure: Sequence
Sequence Definition
• Sequences separated in single (start,
end) and cyclic activities
• Sequences are a list of telegrams,
conditions and functions in an logical
order
• Sequences are used as complex
PUMA commands
• Mandatory Standard Commands acts
as PUMA synchronisation
campus02.at
18/25
DI Anton Scheibelmasser
ICINCO 2004
Setubal 28.08.2004
don't stop thinking about tomorrow
CDH configuration procedure : Global
Global Condition
• Necessary reactions on every protocol frame
• Useful for error- or checksum handling
• Reduction of telegrams and conditions in sequences
campus02.at
19/25
DI Anton Scheibelmasser
ICINCO 2004
Setubal 28.08.2004
don't stop thinking about tomorrow
Contents
• Test bed automation
• Types of device handler
• Device integration goals
• Configurable Device Handler (CDH)
• CDH configuration procedure
• CDH runtime functionality
• Future extensions, conclusion
campus02.at
20/25
DI Anton Scheibelmasser
ICINCO 2004
Setubal 28.08.2004
don't stop thinking about tomorrow
CDH runtime functionality
Device communication based on parameterisation,
stored in MDD-File
MDD
Measurement
Device Description
File
campus02.at
21/25
DI Anton Scheibelmasser
ICINCO 2004
Setubal 28.08.2004
don't stop thinking about tomorrow
Contents
• Test bed automation
• Types of device handler
• Device integration goals
• Configurable Device Handler (CDH)
• CDH configuration procedure
• CDH runtime functionality
• Future extensions, conclusion
campus02.at
22/25
DI Anton Scheibelmasser
ICINCO 2004
Setubal 28.08.2004
don't stop thinking about tomorrow
Future CDH steps
• Calculation capability
• Device auto detect
• Multiline connection
• Binary protocol
• Fieldbus support
• ASAM-GDI standard
campus02.at
23/25
DI Anton Scheibelmasser
ICINCO 2004
Setubal 28.08.2004
don't stop thinking about tomorrow
Conclusion
• CDH as a new approach for device integration
• Excellent practical experiences
• Integration on customer site, even for third party devices
• Increased quality of device integration
• Decreased integration time and costs
• Integration possible in the office with simulator
… Device Integration got very easy
(if you understand the device well)
campus02.at
24/25
DI Anton Scheibelmasser
ICINCO 2004
Setubal 28.08.2004
don't stop thinking about tomorrow
Thank you for your
attention !
campus02.at
25/25
DI Anton Scheibelmasser
ICINCO 2004
Setubal 28.08.2004
don't stop thinking about tomorrow