Sei sulla pagina 1di 17

HARP-B

HARP Software Demo


July 23 - 25 2001

CAN Node Emulator
Using the
Vector CAN-Tech CANalyzer

Raj Atwal
CAN Node Emulator
HARP-B
HARP Software Demo
July 23 - 25 2001
Outline
HARP-B Hardware Architecture
Purpose
CANalyzer
Host Emulation
HARP Micro
LABView GUI
LO Microcontroller Emulation
Benefits
HARP-B
HARP Software Demo
July 23 - 25 2001
HARP-B Hardware Architecture
HARP-B
HARP Software Demo
July 23 - 25 2001
Purpose
We need to Test Efficiently & Effectively.
We need to Limit User Intervention while testing.
We need to Monitor CAN Bus Traffic.
We need to Test Continuously.

How have we achieved this?
HARP-B
HARP Software Demo
July 23 - 25 2001
CANalyzer
Troubleshooting Tool for CAN bus systems.
Assists in Observing, Analyzing, and Simulating Data
Traffic.
Works
With the raw data bytes within the CAN Message.
At the Application Level, with the actual physical values(ie
scaled values).
And above all, integrates easily with existing
hardware architectures...
HARP-B
HARP Software Demo
July 23 - 25 2001
HARP-B with CANalyzer
CANalyzer
HARP-B
HARP Software Demo
July 23 - 25 2001
CANalyzer Features
Displays data segments of specific CAN messages.
Transmits predefined CAN messages.
Replays recorded CAN messages.
Evaluates and Acquires statistics on bus loading and
bus disturbances.
Allows use of Symbolic names for CAN Messages
and Signals.
Expansion of functionality via user programming.
Allows Tracing - a real-time listing of bus data traffic...
HARP-B
HARP Software Demo
July 23 - 25 2001
CANalyzer Features
CAN Sniffer
Sits on the CAN Bus.
Picks up ALL CAN
Messages.
Useful for Observing and
Analyzing.
Nice way of keeping track or
monitoring data traffic.
Helps in testing.
HARP
Micro
LABView
GUI
LO
Micro
Controller
CANalyzer
CAN Bus
OR
HOST
HARP-B
HARP Software Demo
July 23 - 25 2001
Program Development
The CAN Access Programming Language - CAPL, is
used.
CAPL is application oriented, and very similar to the C
Programming Language.
Program blocks can be inserted at any point in the
data flow diagram.
CAPL is based on a Special Event Procedure
concept.
This concept is a simpler version of Interrupts and
Interrupt Service Routines.
Use of CAPL results in numerous potential
applications...
HARP-B
HARP Software Demo
July 23 - 25 2001
Applications
Data Traffic Simulation.
CAN Node Emulation.
HOST Emulation.
HARP Micro.
LABView GUI.
LO Microcontroller Emulation.
Test CAN Bus Communications between CAN Nodes.
Perform Event Specific actions.
Link Between two buses.

HARP-B
HARP Software Demo
July 23 - 25 2001
System Overview
LO Microcontroller CANalyzer
HARP
Micro
LABView
GUI
CAN Bus
OR
HOST
HARP-B
HARP Software Demo
July 23 - 25 2001
HOST Emulation
Pretend to be the Host.
HARP Micro.
LABView GUI.
Simulate CAN Messages.
Transmit CAN Messages continuously with random
data values.
Observation of LO Microcontroller behavior.
Analyze results, especially any discrepancies.
Specifically, we can
Change Bias Voltages.
Change the YIG Frequency.
Turn Asynch Alarm, Idle, and Debug Modes on and off.
Respond to user requests entered via the keyboard.
HARP-B
HARP Software Demo
July 23 - 25 2001
LO Microcontroller Emulation
We can add CAPL program blocks that make
CANalyzer behave exactly like the LO Microcontroller
(or any other CAN Node).
When the LO Microcontroller (or any other CAN
Node) is absent, testing with the HARP Micro can
continue.
CANalyzer responds to RTRs and all other CAN
Messages from the HARP Micro.
This is a key feature, especially when we wont have
the LO Microcontroller.
HARP-B
HARP Software Demo
July 23 - 25 2001
Emulation Topology

HOST MICRO
OR
LABView
GUI
CANalyzer
LO
Controller
Emulation
LO Microcontroller CANalyzer
HOST
Emulation
CAN Bus
HARP-B
HARP Software Demo
July 23 - 25 2001
Procedure for CAN Node
Emulation
All participating nodes must be connected to the CAN
Bus.
All CAN Messages must be set up in the CANalyzer
CAN Data Base.
All CAN Message Signals must be declared within the
CAN dB.
Scale the Signals appropriately.
Thats it!
HARP-B
HARP Software Demo
July 23 - 25 2001
Benefits
In the ABSENCE of actual hardware devices, we can
use CANalyzer to emulate those devices.

CAN Node Emulation allows
Reduction in delay time for testing.
Helpful in testing other CAN Nodes.
Testing can continue in the absence of any CAN Node.
Thorough and Efficient testing.
System response to a variety of CAN Messages.
Continuous overnight test runs.
Verification.
HARP-B
HARP Software Demo
July 23 - 25 2001
Questions?





Now its Demo Time...

Potrebbero piacerti anche