FIND THE NEEDLE IN THE HAYSTACK
Automated Trace Analysis for Testing of CANopen Devices
by Andrew Ayre & Olaf Pfeiffer
FIND THE NEEDLE IN THE HAYSTACK February 2017 CHALLENGES OF SYSTEM - - PowerPoint PPT Presentation
Automated Trace Analysis for Testing of CANopen Devices by Andrew Ayre & Olaf Pfeiffer FIND THE NEEDLE IN THE HAYSTACK February 2017 CHALLENGES OF SYSTEM INTEGRATION CANopen Device Testing Highly dynamic systems has its limits can
by Andrew Ayre & Olaf Pfeiffer
CANopen Device Testing
Official CANopen
No stress test No interaction with multiple
Limited timing tests
February 2017 Automated Trace Analysis
Highly dynamic systems
Dynamic node IDs Multiple SDO clients
Wake up and sleep Dynamic Node IDs The 16 devices are both
SDO servers (16) SDO clients (1-15) Lots of scanning
Many timings and timeouts
When to start SDO server
Impossible to test all
February 2017 Automated Trace Analysis
February 2017
Automated Trace Analysis
Base is a CAN trace with all
Who is who?
LSS node ID assignements
Look for the obvious
Emergency messages Unexpected bootups Sleep objections
Verify Heartbeat timing
Use spreadsheet formula
Verify SDO timeouts
Ok for single, global client Challenging for 16*15 clients
Size limit
More than 1,000,000 lines?
February 2017 Automated Trace Analysis
February 2017
Automated Trace Analysis
February 2017 Automated Trace Analysis
February 2017 Automated Trace Analysis
February 2017 Automated Trace Analysis
February 2017 Automated Trace Analysis
February 2017 Automated Trace Analysis
February 2017 Automated Trace Analysis
Timeout for
Heartbeat SDO response
Allowed timing variation
Percentage that a cyclic
PDO +/- 10%? Heartbeat +/- 30%?
When to mark something as
Application Profile Custom?
February 2017 Automated Trace Analysis
February 2017
Automated Trace Analysis
Maximum message rates Maximum burst length Number of nodes Number of system (re-)starts
Unexpected bootups Min/max heartbeat Max SDO response time CAN message rate generated by
SDO server responses count
towards client requesting it
February 2017 Automated Trace Analysis
CANopen Diag hand-held
Live analysis
System summary display Analyzer event list
February 2017 Automated Trace Analysis
Logxaminer Input
Trace format „Vector“ Trace format „PEAK“ Trace format „ESAcademy“
Output
Display PDF report