Professional Documents
Culture Documents
CAN Newsletter
Hardware + Software + Tools + Engineering
Increase the efficiency of your projects with the use of the complete tool chain from Vector:
> Tools for testing, flashing and calibrating ECUs > Easy to configure AUTOSAR basic software
> Flexible bus network interfaces > Worldwide engineering services and trainings
> High performance Scope for bit accurate signal
analysis Information and downloads: www.can-solutions.com
CAN / CAN FD Poster
now order for free:
www.vector.com/canfd_poster
Vector Informatik GmbH | Germany · USA · Brazil · France · UK · Italy · Austria · Sweden · Japan · Korea · India · China | www.vector.com/contact
CANopen
Imprint CAN FD
Publisher Flexible diagnosis for CAN FD 12
CAN in Automation GmbH
Kontumazgarten 3 The new dynamic parameters of CAN FD 14
DE-90429 Nuremberg CAN FD plugfest: Testing the robustness 20
Tel.: +49-911-928819-0
Fax: +49-911-928819-79 CAN meets IT
CEO Holger Zeltwanger Enabling IoT connectivity 32
AG Nürnberg 24338 CAN security with hidden key generation 34
Editors
pr@can-cia.org
Annegret Emerich
Cindy Weissmueller
Holger Zeltwanger
(responsible according
to the press law)
CiA SignUp
Layout If you are reading this, you have obviously managed
to find our magazine, even though we have stopped sending
Table of contents
Nickel Plankermann
an announcement email to our subscribers. Surprisingly, the number of
Media consultants downloads has gone way up (from around 2000 to 11000) since we decided to
Gisela Scheib cancel that email.
(responsible according
to the press law) Even without the announcement email, there is another way to never miss a new
Meng Xie-Buchert edition of the CAN Newsletter magazine: if you subscribe to
you not only get a weekly overview of all articles published in the CAN Newsletter
Distribution manager
Online, you also get the link to each new edition of the CAN Newsletter magazine. If
Meng Xie-Buchert
weekly emails seem too many, you can put an alert in your calendar and come back
© Copyright to the online newsletter every third month to simply download the pdf there.
CAN in Automation GmbH
(Photo: Faulhaber)
T he Faulhaber Group specializes in the development,
production, and deployment of high-precision minia-
turized and miniature drive systems, servo components,
benefits of brushless DC servomotors to provide a large
portfolio of integrated motor controllers, whether config-
ured as stand-alone single axis positioning drives or inte-
and drive electronics with up to 200 W of output power. grated into a multi-axis CANopen network. It offers prod-
This includes putting into effect customer-specific pack- ucts ranging from 22 mm to 35 mm, a nominal voltage of
aged solutions as well as an extensive range of standard 24 V, an a continuous output from 18 mNm to 96 mNm. The
products, such as brushless motors, DC-micromotors, brushless drive with 22-mm housing provides the smallest
stepper motors, encoders, precision gearheads, and integrated CANopen motion controller of the world. It fully
speed/motion controllers. The company comes with 1700 supports CiA 402 – the CANopen device profile for drives
staff members and its trademarks are recognized world- and motion control. Any number of axes can be driven
wide in complex and demanding application areas – in synchronously. Besides CANopen, the motion controllers
medical technology, automatic placement machine, preci-
sion optics, telecommunications, aviation and aerospace,
and robotics, for example. From microdrives with 1,9 mm
diameter up to the powerful 44-mm brushless motor that
can be combined with various precision transmissions, the
company offers dependable system solutions for a multi-
tude of applications.
From the DC motor with a continuous torque of
200 mNm to the filigree Microdrive with an outer diame-
ter of 1,9 mm, the Faulhaber standard range can be com-
bined in more than 25 million different ways to create the
optimum drive system for a particular application. At the
same time, this “construction kit” is the basis for modifica-
tions, which allows the user to configure special versions.
Figure 1: The latest generation of motion controllers in its
high performance single axis motion controllers with the housing with four plug connections (Photo: Faulhaber)
R ACTIVIT
T E Y
IN
TERA 12 HE
12.1” TFT Advanced Display
CANVIEW 4
group 4.3” TFT Display
CONNECT AND MANAGE YOUR VEHICLES WHERE AND WHEN YOU WANT
WiPass CAN
CANLive
Headquarters
Via Tito Speri, 10 C
25024 LENO (Brescia) ITALY
O
N
Ph +39 030 904511
Fax +39 030 9045330
NE Y
info@cobogroup.net
www.cobogroup.net
CTIVIT
CANopen
Figure 2: Three device variants for different applications Figure 3: Motion control system with integrated motor and
are available (Photo: Faulhaber) controller (Photo: Faulhaber)
available motherboard makes it possbile to get started in respective motor type can be adjusted on the
multi-axis applications. MC 5010, MC 5005, and MC 5004 motion controllers. The
All three versions use the same technology basis, user can therefore freely select whether a DC-micromo-
offer the same interfaces options, the same operating phi- tor, a brushless DC-servomotor, or a linear DC-servomo-
losophy, and the same functionality. Thus, there is a suit- tor should be actuated. The corresponding motor on the
able solution for many applications and users from com- other hand is already preconfigured at the factory for the
pletely different areas can profit from the connection integrated servo drive of the motion control system series.
options, operating modes, and control options. Motion con- Either position, speed, or current (torque or power) can
trol systems as servomotors with integrated motion con- then be controlled. The CSP (cyclic synchronized position),
troller are already pre-configured and make use directly in CSV (cyclic synchronized velocity), and CST (cyclic syn-
the automation environment possible. They are connected chronized torque) modes that are normally used for syn-
via round connectors as per industry standards. A modu- chronized operation of multiple axes are also supported
lar system makes it possible to integrate diverse brushless when doing this.
DC servomotors into standardized housing. Alternative point-to-point movements to the dynam-
ics of the application can be adjusted via the integrated
Automated operating procedures profile generator, so even complex profiles are feasible.
However, position, speed, or current can also be con-
The Motion Manager version 6 is presented with a new trolled via analog specifications independent from the field
bus. Diverse variants for reference drives are available via
for free. Functions such as the graphical analysis of inter- the reference and limit switch. For the first time, referenc-
nal signals have been further developed. A software oscil- ing on a mechanical stop is integrated as a standard as
loscope for processes directly in the controller, as well as well. Furthermore, the dynamics are increased compared
other functions via graphical dialogues, is to previous products due to a new control
now also directly available. Initial start-up structure. Thermal models provide motor
is completed within five minutes because winding and power electronics particularly
of the assistant functions for connection in high-dynamic operation to protect the
establishment, motor selection, and con- motors and the electronics.
troller configuration. Further graphical dia- Two encoder interfaces are now avail-
logs support the user with the fine-tuning of able as standard with the motor interface
the application and when testing the differ- and can be connected to the optical and
ent operating modes. Diagnostic functions incremental encoder, absolute encoder
make continuous monitoring of the drive (12-bit AES/BiSS, 12-bit SSI) or the digi-
possible. The connection to the motion tal and analog Hall sensors in the motor.
controller and the motion control system is The resolution of the Hall sensors is 4096
possible via CANopen, USB, or EIA-232. increments per revolution, i.e. also 12 bits.
Operating procedures such as for start-up In addition, analog or PWM signals can
or for periodic tests can be automated via also be used as position and speed feed-
Visual Basic. Project administration is also back. Two sensors can also be used to
new, which combines the settings and data detect the speed and position separately.
of a new drive into one project file and thus Figure 4: The Software The motion controllers of genera-
simplifies versioning and maintenance. Motion Manager 6 enables tion Version 3.0 offer three to eight digi-
The functions integrated into the access to the settings tal inputs as standard; two flexible analog
controllers make it easier for the user and parameters of the inputs, and two digital outputs can be used
to handle the technology and create connected controller (Photo: which can also directly control an option-
flexible potential applications. The Faulhaber) ally connected holding brake. Another
CANopen networked
IXXAT
Anybus IXXAT
PC/CAN Interfaces
X-gateway
TM
Controllers – Econ Series
Eays connection of CAN or CAN FD systems Stand-alone embedded PC with
Connect any two industrial networks. to your computer – for control, analysis and multi-protocol support
More than 250 network combinations configuration
for fieldbus and Ethernet All common PC interface standards supported Control your system or setup gateways by using a
Easy configuration - no programming! platform providing a unique number of interfaces
– analog/digital IO, fieldbus, industrial Ethernet
IXXAT Easy programming via Soft-PLC or Application
IXXAT Development Kits
CAN Repeaters and Bridges
CM CANopen
CANopen PLC extension Increase the system reliability, implement
line protection and save costs due to simple Netbiter
Extend your SIMATIC® S7-1200 to wiring
communicate with CANopen-based devices Perform large distance bridging via Remotely monitor and control your CAN-based
Bluetooth/Ethernet field equipment – anytime, anyplace!
Proprietary protocols supported by
additional transparent CAN 2.0A mode
Figure 1: A CAN FD frame on the scope including frame Figure 3: The upper curve displays the data stream from
the CAN transceiver; the marked position exemplarily
stream (Photo: Peak-System) shows that the transceivers threshold is not reached by
the analog signal (Photo: Peak-System)
Layer-combined diagnosis
ISO 11898-2:2016 will be released soon; the CiA 601-1 specification helps
to understand the CAN FD high-speed transmission. Let us take a look at
the dynamic parameters.
Figure 1: Transceiver loop-delay elements Figure 3: Difference between transmitter and transceiver
(Photo: Infineon) loop-delay (Photo: Infineon)
Loop-delay symmetry
min
400 ns
max
550 ns
time deviation
min
-100 ns
max
50 ns
F nder
The Easiest Way to Find the Product you Need!
Transceiver Tx delay
435 ns 530 ns -65 ns 30 ns
symmetry
Transceiver Rx delay
-65 ns 40 ns -65 ns 40 ns
symmetry
www.posital.com
The range marked in green is the variation of the
CAN FD
Table 8: Calculated bit-width variation of a 5-Mbit/s tRec(RxD) min = nominal bit time + min TX delay sym.
transceiver used in a 4-Mbit/s network Rec
Magnus-Maria Hell
Related articles
th
As your reliable partner for innovative CAN systems we support you with our
tools in all phases of your projects, from design over implementation to testing. Automotive Automation Diagnostics Software- Hardware-
Development Development
We live electronics!
DE Sontheim Industrie Elektronik GmbH US Sontheim Industrial Electronics Inc.
Georg-Krug-Str. 2, 87437 Kempten One West Court Square, Suite 750
Tel: +49 831 57 59 00 -0 - Fax: -73 Decatur, GA 30030
www.sontheim-industrie-elektronik.de info@s-i-e.de Phone: +1 (404) 494 -7839 - Fax: -7701
CAN FD plugfest: Testing the robustness
CAN FD
Plugfests are a kind of interoperability test. The devices under test (DUT) have
to proof themselves in a system. In Detroit, participants tested the robustness
of CAN FD implementations.
Author
Holger Zeltwanger
CAN in Automation
headquarters@can-cia.org
www.can-cia.org
CAN FD plugfest
Robust operation of controller
IP Core
The CAN FD controller IP Core by Cast met
or exceeded bit-rate and error handling tests in its second CAN
FD plugfest. It ran in representative automotive networks from
Ford and General Motors.
Read on
CAN FD plugfest
Proof of robustness for
CAN FD
Happy faces, some minor issues, and two
days full of experience: The second CAN FD plugfest in Detroit
saw about 40 participants from 20 parties. To the organizers,
the plugfest proofed the robustness of the CAN FD
technology.
Read on
CAN FD
Plugfest in Detroit
CiA has organized a CAN FD plugfest
in close cooperation with General
Motors (GM). About 14 companies tested their products for
interoperability.
Read on
Plugfest
CAN FD ringing suppression
CiA has organized a CAN FD plugfest in
Nuremberg. Several companies tested
their products on interoperability using different network
topologies.
Read on
Using CANopen instead of analog signals
CANopen
Analog signal paths are still widely used in new installations. Does that really
make sense anymore? Analog signaling is outdated when it comes to accuracy,
dependability, diagnostics, and manageability.
Diagnostics
to signal a failure condition by sending either a current less such an approach enables a streamlined assembly and
than 4 mA or higher than 20 mA. Properly transmitted fault service activities by error input for such actions. Stan-
condition may be transformed to a totally valid look-a-like dardized information access interfaces – CANopen design
received process value. Furthermore, it cannot be guaran- files, tool integration, and device configuration manage-
teed that such a value cannot be close enough to the actual ment mechanisms – are the key factors enabling error-free
process value indicated by the optional additional parallel assembly and service activities.
channels (redundant measurement), typically used in old- After the managed assembly and service actions, each
fashioned safety controls. The sensor may also be missing CANopen system start-up provides a regular and accu-
and other typical connection failures may exist in the cabling, rate consistency check. A standardized CANopen network
resulting in a totally look-a-like “valid” process value. start-up process may consist of the system structure check-
In CANopen systems, a standardized start-up mecha- ing i.e. which kind of devices are installed in which position.
nism exists that enables a detailed verification of the sys- In the simplest case, only the appropriate device profiles
tem structure before starting the full operation. After start-up, match and the most accurate configuration leads to checks
persistence of the verified structure may be simply moni- of the full identity, including serial number of each individual
tored based on the heartbeat (HB) protocol. Another paral- device. Thus, CANopen control systems can provide intrin-
lel mechanism for signal validity verification is the monitoring sic consistency checks for the entire system structure, which
of signal updates via RPDO (receive process data object) only need to be used in the relevant control systems.
timeout monitoring. The HB provides the rough operational
state information of the producing node. The RPDO monitor- Reusability and maintainability
ing supplements the HB by providing timeliness information
of the last signal update. Each combination of boot-up, HB, Reusability and maintainability are important factors in the
and RPDO failures provides an indication of potential error industrial way of working. Using the standardized CANo-
source, as summarized in Table 1. More detailed information pen device profiles and the device classes within the pro-
may be retrieved from the object dictionaries of both (local files, CANopen enables intrinsic second sourcing among
and remote) nodes. standard devices and replacing obsolete devices with new
In order to increase runtime operation monitoring, ones without any changes in the application software. A
CANopen provides a couple of state machines at the top standardized design process provides required support for
of the dependable network communication. The NMT state managing such replacements and upgrades. Device pro-
machine provides a managed device start-up with con- files also supplement the start-up process in the flexible
sistency checks. Device profiles for electric and hydraulic part support – when only the device type is checked, any
drives provide a supplemental device state machine, which compliant device from any vendor may be installed. This
enables redundant and parallel control of the actual drive provides easy logistics without changes in the control soft-
operation [9]. For I/O-oriented profiles a simpler error state ware and without risk of accidentally changing the system
machine exists, providing local error reaction capabilities for behavior. Usage of standard device connectors and cables
the cases where communication to the host has failed. Each enables fast and reliable physical layer assemblies.
CANopen network can be analyzed using an appropriate One significant advantage of the CANopen device
tool and medium attachment. profiles is that they provide standardized mechanisms for
managing signal units and scaling [12]. Especially in sen-
Manageability sor device profiles (e.g. CiA 404), there are typically SI units
used by default. Thus, the CANopen interface forms a har-
The advantages of a standardized design process have monized interface and the whole scaling and calibration
been described in some publications [13]. It is clearly evi- process is performed by each sensor. Such an approach
dent that the following systematic design approach results enables more extreme changes in systems, e.g. replacing a
Table 1: Simplified node state decoding based on boot, HB and RPDO status
No The node does not exist in the network. Any HB or RPDO from
this node-ID is faulty.
Yes No No The node existed, but may have been lost after start-up and
Yes Yes The node existed, but may have been lost after start-up or a
Yes Yes No The node exists, but may not be operational or may have a
Yes Yes Yes The node exists, its state is known and signals received from it
are up-to-date.
Multifunctional
Power Pack!
ESX-3CM Freely pro-
grammable central control unit
Exhibition Dates
Electric & Hybrid Marine
World Expo, Amsterdam
21.06. – 23.06.2016
Stand 3080
Sensors Expo & Conference,
San Jose, CA (USA)
21.06. – 23.06.2016
Stand 434
MINExpo INTERNATIONAL,
Las Vegas, NV (USA)
26.09. – 28.09.2016
South Hall, Booth 26245
Sensor-Technik Wiedemann GmbH · Am Bärenwald 6 · 87600 Kaufbeuren · Germany · Telephone: +49 8341 9505-0 Internet: www.sensor-technik.de
References signal transfer (PDO: process data object) with an optional
CANopen
W
NEW FAULHABER Motion Controller Series MC 5004 / 5005 / 5010
Decentralised intelligence promotes maximum performance: our new motion
controllers are optimised for the FAULHABER drive program and extract the
maximum from any motor – whether DC-micromotors, brushless motors or linear
DC-servomotors. And, equipped with USB, RS232, EtherCAT and CANopen inter-
faces, they secure future connections. Ready for networked industry? It’s in your
WE CREATE MOTION hands with FAULHABER.
Good to know:
PDO re-mapping
procedure
Proof of concept
CiA
CAN in Automation
www.can-cia.org
Enabling IoT connectivity
CAN meets IT
Maintenance and refitting of Industry 4.0 The solution was designed for the rigors of building and factory
automation.
Read on
The complexity of industry systems increases the probabil-
ity of a system breakdown. With machines that are not con- Embedded World 2016
nected, the service technician has to do on-site service, even IoT gateway and ARM Cortex
if a reboot of the machine would solve the problem. With an modules
IoT gateway, it is possible to see the status of the machine At the Embedded World, TQ is showing – in
cooperation with Gemalto – a gateway solution to enable “Secure
of the machine, it stays online and can monitor the reboot. IoT”. The company is also planning two mini-modules with ARM
Cortex-A7 processor architecture.
As a consequence, the gateway opens up the use of hidden
Read on
data for remote diagnostics.
)JHIFS
*NNVOJUZ
- P X F S OT
JT T J P
&N
S
'BTUF JP
O
0QFSBU
DU FS
JPO
H
)J UF
I
-PXF P
S 4ZTUFN$PTU 1S
&OBCMJOHVOSJWBMFEQFSGPSNBODF
BOEQSPUFDUJPO
t4VQFSJPSOPJTFFNJTTJPOT
t)JHICVTGBVMUQSPUFDUJPO
t'BTU$"/'%TQFFET
t4IPSUFTUMPPQEFMBZ
5IFQMBUGPSNCBSJTBUSBEFNBSLPG5FYBT*OTUSVNFOUT
ª5FYBT*OTUSVNFOUT 7JTJU5*DPN$"/
CAN meets IT
Figure 2: Secure communication using a preamble Figure 3: Random secret bit generation (Photo: Embedded
message (Photo: Embedded Systems Academy) Systems Academy)
Core functionality of CANcrypt directly transmit their message after the trigger
message. Then both messages arbitrate the bus at the
All secure communication uses a preamble message same time and we will always see 0010 h followed by
announcing the following message. Messages are only 0011h.
accepted (i.e. passed on to the application) if together with
the preamble the authentication and decryption is suc- Choosing cipher algorithms
cessful. The shared key used is continuously updated
and synchronized between the devices. For key genera- Even the simplest “cipher algorithm” like a single XOR
tion, CANcrypt uses a CAN feature that allows two devices is considered unbreakable (literally safer than anything
to exchange a bit not visible to other CAN devices. This commonly used today), if the key is as big as the data
allows generating pairing keys that only the two partici- and only used once. This is referred to as the one-time
pants know. Note: to some extent this might be visible on pad cipher. If we can generate a single one-time 32-bit
signal level, for example on a high-end oscilloscope. How- key, combined with a single XOR, for a transferred
ever, a possible intruder would need access to that level 32-bit value, then we already have an encryption
during key generation AND understand/know how the gen- stronger than any other cryptography method in use
erated bits are used. today.
When monitoring CAN messages, one cannot deter- To a certain extent (depending on how much secure
mine the device that sent an individual message because communication overhead is used and how often) the
on the lowest level any device can transmit any message.
As an example, let us allow two devices (named dominant
device and recessive device) to transmit messages with
the CAN-IDs 0010h and 0011h (and data length zero) within
a “bit select time window”. Each node shall randomly send
one of the two messages at a random time within the time
window.
At the end of the bit select time window a trace record-
ing will show one of the following scenarios:
a) one or two messages of CAN-ID 0010h,
b) one each of CAN-ID 0010h and 0011h,
c) one or two messages of CAN-ID 0011h.
Let us have a closer look at case b) - one each. If
these are transmitted randomly within the bit response time
window, then an observer has no clue as to which device
sent which message. However, the devices themselves
know it and derive a bit from it. Unfortunately we cannot
use case a) and c), so if those happen, both nodes need to
recognize it and retry (use another next bit select time
window).
Note: A variation of this scheme is to not use a Figure 4: The CANcrypt key hierarchy (Photo: Embedded
random delay, but instead ensure that both devices Systems Academy)
Floating-point-unit
CODESYS® Safety SIL 2 including support
for CANopen® Safety Master and easy
separation of safe / non-safe code
Robustness
Safety mechanisms in hardware to minimize CPU load Automotive style housing suited for
Up to 3 output groups for selective very rough operating conditions
shut-off in case of safety relevant fault
Safety companion and safety mechanism in hardware
www.ttcontrol.com/HY-TTC-500-Family
1 or 2 High-speed CAN channels (ISO 11898-2) CAN FD interface drivers for Windows 10, 8.1, 7 and Linux
PCAN-View: Windows software for monitoring CAN and
CAN FD support for ISO and Non-ISO standards switchable CAN FD busses
PCAN-Basic API for developing applications with CAN and
CAN bit rates from 25 kbit/s up to 1 Mbit/s CAN FD connection for Windows (32/64 bit)
CAN bus connection via D-Sub, 9-pin PCAN-PassThru for using applications that are based on
(in accordance with CiA® 102) Pass-Thru (SAE J2534) with interfaces from PEAK-System
Galvanic isolation on the CAN connection up to 500 V, Programming interfaces for standardized protocols from
separate for each CAN channel the automotive sector like:
CAN termination and 5-Volt supply at the CAN connection PCAN-CCP API for the communication with ECUs
can be activated through solder jumpers, separately for according to the CAN Calibration Protocol
each CAN channel PCAN-XCP API for communication with ECUs according
PCIe data transfer via bus master DMA to the Universal Measurement and Calibration Protocol
DMA memory access operations with 32- and 64-bit (CAN FD support since version 2)
addresses PCAN-ISO-TP API for the transfer of data packages
Extended operating temperature range from -40 to 85 °C according to ISO-TP (ISO 15765-2)
Measurement of bus load including error frames and PCAN-UDS API for the communication with ECUs
overload frames on the physical bus according to UDS (ISO 14229-1)
Induced error generation for incoming and outgoing CAN PCAN-OBD-2 API for vehicle diagnostics according
messages to OBD-2 (ISO 15765-4)