Developing IP Networks in the Automotive Embedded Environment

Transcription

Developing IP Networks in the Automotive Embedded Environment
Insert picture
and click “Align Title
Graphic”.
Developing IP Networks in the
Automotive Embedded Environment
George Bracken
© 2013. Vector CANtech, Inc.. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide:
Evolving Automotive Network Applications
© 2013. Vector CANtech, Inc.. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 2
Automotive IP & Ethernet Applications
Diagnostic Access
© 2013. Vector CANtech, Inc.. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 3
Automotive IP & Ethernet Applications
Smart Charge
Charge
spot
Grid
Server
www
Communication between
grid and charge spot
Communication between infrastructure (charge spot) and vehicle
© 2013. Vector CANtech, Inc.. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide:
Automotive IP & Ethernet Applications
Car2x
© 2013. Vector CANtech, Inc.. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide:
Automotive IP & Ethernet Applications
Camera
Ethernet
IP Tool
Node1
Image
T
Switch1
Processor
T
Node2
Switch2
Embedded Ethernet System
© 2013. Vector CANtech, Inc.. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 6
Node3
Node4
Node5
Automotive IP & Ethernet Applications
Potential Protocols to Support
© 2013. Vector CANtech, Inc.. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 7
Development Considerations
#1 – Automotive Embedded
Ethernet is a part of your automotive embedded application.
The propagation of Ethernet in automotive embedded systems is
increasing
Vehicle networks
Car2x
Diagnostics over IP (DoIP)
Video data communication
Communication between electric vehicle and charging station
etc.
Automation engineering
e.g. EtherCAT, EtherNet/IP, Ethernet Powerlink and Profinet
© 2013. Vector CANtech, Inc.. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 8
Development Considerations
#2 – Transmit / Analyze Packets
1. Automotive embedded
A requirement to transmit and analyze Ethernet packets in
the embedded application.
One focus of embedded Ethernet systems is the transmission of
periodic signals in contrast to office network oriented IP tools.
An IP tool that provides comprehensive functionality for the
analysis of periodic signals.
An IP tool that can create and transmit a firm’s proprietary
protocol, as well as, receive and read out individual Ethernet
packets.
© 2013. Vector CANtech, Inc.. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 9
Development Considerations
Ethernet
#2
– Transmit
Packet/ Builder
Analyze Packets
Easy creation and transmission of standard Ethernet packets
Packet
Packet
Information
View:
Packet
Information
View:
PacketInformation
InformationView:
View:
Protocol
aware
Protocol
header
fields
Protocol
header
fields
as
well
as
the
Settings:
as
well
as
the
Protocol
Protocol header
header fields
fieldsas
aswell
wellas
asthe
the
of
the
packet
can
be
modified.
payload
of
the
packet
can
be
modified.
Defaultpayload
values
for
source
payload
payload of
of the
the packet
packet can
can be
be modified.
modified.
…
Constant
MAC
Ids
as
and
destination
Constant
MAC
Ids
as
well
as
MAC
Ids
of
ConstantMAC
MACID,
IdsIP
aswell
wellas
asMAC
MAC Ids
Idsof
of
real
adapters
can
be
selected.
addresses
ports of
real
adapters
can
realand
adapters
can be
be selected.
selected.
Raw
Frame
View:
Automatic
checksum
Raw
Frame
View:
Raw
Frame
View:
…
Erroneous
fields
are
indicated.
added
packets
fields
Erroneous
Erroneouspresentation
fields are
are indicated.
indicated.
field:
Hexadecimal
presentation
field:
Hexadecimal
Hexadecimal
presentation
field:
Automatic
checksum
and
length
…
Automatic
checksum
and
length
Raw
frames
can
be
imported
calculation
Raw
frames
can
be
imported
Raw
frames
can
be
imported
calculation
calculation can
can be
be selected
selected individually.
individually.
ASCII
presentation
field:
…
ASCII
presentation
field:
…
Payload
field
Data
Data can
can be
be copied
copied from
from the
the
clipboard
clipboard or
or can
can be
be edited
edited
Packet
List
View:
…
Automatic
length
Bytes
per
line
can
be adjusted.
Packet
description,
packet
Packet
…
length can be modified.
length and payload length
calculation
can be modified.
Erroneous packets are
indicated.
© 2013. Vector CANtech, Inc.. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 10
Development Considerations
#2 – Transmit / Analyze Packets
Cyclic or spontanous transmission of Ethernet packets
Support of socket-based transmission of UDP and TCP data
Autonomous establishment of TCP connection
Payload could
be modified
at any time.
© 2013. Vector CANtech, Inc.. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 11
Development Considerations
#2 – Transmit / Analyze Packets
Support of Ethernet communication rates (10/100/1000 Mbps)
Support multiple Ethernet channels
Presentation of protocol header information in a trace window
Logging of Ethernet traffic in common data formats such as, ASC* or
BLF* format
Replay or import
log files in IP tool
Signals
Detailed
Viewcolumns
Configurable
Protocol header fields
Type
Numeric (hex/dec)
Size
Payload
Columns
Payload for
numeric/ASCII
Order
Numeric
(hex/dec)
Symbolic
interpretation
Filter
ASCII
* ASC: ASCII
BLF: Binary Logging Format
© 2013. Vector CANtech, Inc.. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 12
Development Considerations
#2 – Transmit / Analyze Packets
Easy access to all protocol header & data fields
This should included proprietary
protocols
Convenient to create
Convenient to transmit
Automatically computing proper
data length and checksum calculations
Manually
Trigger
Automatically
Responsive
Cyclic rate
Convenient to receive
Accessing protocol fields
Reading out values
© 2013. Vector CANtech, Inc.. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 13
Development Considerations
#3 – Gateway
1. Automotive embedded
2. Transmit / analyze packets
A need for gateways between Ethernet and other bus
systems.
An IP tool that provides the possibility to analyze the
communication of gateways between Ethernet and other bus
systems like CAN, FlexRay, MOST, WLAN etc.
An IP tool that can measure the delay time of the transition
between Ethernet and other bus systems.
© 2013. Vector CANtech, Inc.. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 14
Development Considerations
#4 – Isolation
1. Automotive embedded
2. Transmit / analyze packets
3. Gateway
A requirement for an IP tool that protects against spurious
packet transmissions.
Most real-time systems are not tolerant when false packet are
transmitted.
An IP tool that isolates the computer’s operating system and
other applications from transmitting Ethernet packets onto the
automotive embedded network.
© 2013. Vector CANtech, Inc.. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 15
Development Considerations
#4 – Isolation
Windows
Short Cut
Windows
Network
Stack
ECU2
ECU3
© 2013. Vector CANtech, Inc.. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 16
Office
Eth1
IP Tool
ECU1
Ethernet
Interfaces
Eth2
Development Considerations
#4 – Isolation
Individual IP network Stack: MAC and IP for each and every Node
Windows
Short Cut
Windows
Network
Stack
Office
Eth1
IP Tool
ECU1
ECU2
ECU3
MAC1,
MAC2,
MAC3,
IP1
IP2
IP3
© 2013. Vector CANtech, Inc.. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 17
Ethernet
Interfaces
Eth2
Development Considerations
#5 – Wireless
1. Automotive embedded
2. Transmit / analyze packets
3. Gateway
4. Isolation
If not now, in the future, there will be a wireless connection
to the vehicle’s internal network
Car2x
Agriculture and construction machines
Hazardous areas (explosive, heat, gas, etc.)
© 2013. Vector CANtech, Inc.. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 18
Development Considerations
1. Automotive embedded
2. Transmit / analyze packets
3. Gateway
4. Isolation
5. Wireless
© 2013. Vector CANtech, Inc.. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 19
Use Cases – Analysis
Hub
Embedded Ethernet System
Node1
Master
Node3
Switch1
Node2
Switch2
Node4
Node4
Ethernet
IP Tool
© 2013. Vector CANtech, Inc.. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 20
Hub
Use Cases – Analysis
Ethernet & Others Networks
Embedded Ethernet System
Node1
Master
Switch1
Node3
Node2
Switch2
Ethernet
Node4
Ethernet
FlexRay System
MOST System
WLAN System
CAN System
CAN
CAN ECU1
Multi Networking Tool
© 2013. Vector CANtech, Inc.. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 21
CAN ECU2
Gateway
Use Cases – Simulation
Ethernet Gateway
Embedded Ethernet System
Node1
Master
Switch1
Node3
Node2
Switch2
Node4
FlexRay System
MOST System
WLAN System
CAN System
CAN ECU1
CAN ECU2
CAN
Ethernet
Multi Netwoking Tool
© 2013. Vector CANtech, Inc.. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 22
Thank you for your attention.
For detailed information about Vector
and our products please have a look at:
www.vector.com
Author:
George Bracken,
PE
Vector CANtech, Inc.
39500 Orchard Hill Place
Novi, MI 48375 USA
248-504-6428
[email protected]
© 2013. Vector CANtech, Inc.. All rights reserved. Any distribution or copying is subject to prior written approval by Vector.
Slide: 23