Вы находитесь на странице: 1из 5

EnergyBus – The CANopen-based communication standard

for LEVs and more

Torsten Gedenk, emtas GmbH


www.emtas.de

Why EnergyBus? components special connectors for EnergyBus


devices have been developed by EnergyBus e.V.
The LEV market is currently characterized by as well.
numerous proprietary solutions for the
communication between components and with Properties of the EnergyBus connector
chargers. Vendors of e-bikes cannot use • Voltage up to 48V (power line)
components from different manufacturers due
• Current up to 50A
to a missing compatibility. On the contrary
many e-bike manufacturers and customers • 2 pins for power (Powerline)
wish to have replaceable components with • 2 pins for 12V auxiliary voltage (for
different feature sets and the possibility to passive devices and to wake up
charge the e-bike or pedelec at public charging deeply-discharged batteries)
stations without the need to bring an own • 2 pins for CAN communication
charger.
• magnetic reverse polarity protection
The EnergyBus e.V. association with currently • unintended pulling out without damage
around 70 member companies has dedicated is possible
itself to these targets. The objective of the
association is to develop and to promote the
EnergyBus standard. First successful results The following table shows the pin out of the
have been reached. In the national cycle traffic connectors.
plan the German government has committed to
develop a non-proprietary LEV charging
infrastructure by 2020 and the international
standardization within ISO and IEC has been
started and pilot projects with public
EnergyBus charging stations are running.

The EnergyBus connectors


Besides the communication between the
Pin Signal Description
1 CAN_H CAN_H bus line
2 CAN_L CAN_L bus line
3 AUX_V +12V auxiliary voltage
4 reserved
5 POW_V Power line voltage(bis +48V)
6 POW_GND Power line ground

EnergyBus Connectors
CAN and CANopen standardized services to exchange data
between devices (nodes) in a network using
At the beginning of the EnergyBus development CAN messages. One of the most important
it has been evaluated which network protocol services is the PDO service (Process Data
fits the requirements of EnergyBus. CAN, LIN, Objects) which allows the transmission of
USB, I²C and RS485 have been taken into process data in CAN messages without protocol
account, but CAN (Controller Area Network) overhead. The SDO service (Service Data
has been chosen because of its robustness, Object) provides a random access to all defined
flexibility and wide-spread use and availability. parameters of a CANopen device. Additionally
CAN is currently the dominating the CANopen communication and application
communication system in passenger cars and it profiles define a set of parameters (object
provides broadcast communication and dictionary) which have to be available at all
sophisticated error detection mechanisms. CAN CANopen or profile compliant devices. CANopen
is supported by nearly all manufacturers of networks can consist of 127 devices which can
microcontrollers and a CAN controller is be addressed by its node-id. The node-id can be
integrated in most microcontrollers. It is a fixed (static or configurable by DIP switch) or
serial protocol which transmits its signal on the dynamically assigned by the so called Layer
bit level as differential signals between to Setting Service (LSS) which is similar to DHCP
wires. service. Device errors or alarms can be signaled
in CANopen by so called Emergency messages
whose content is also defined by profiles.
CANopen Dictionary
CANopen Network using CAN messages
for communication
SDO CANopen service to read or
write any parameter of a device
PDO CANopen service to
CAN signal as seen on scope transmit/receive process data
As CAN does not define an application layer with high priority
protocol there was the need to define one. LSS CANopen service to dynamically
Instead of developing a new protocol from assign a CANopen node-ID
scratch, it has been decided to use CANopen as Emergency CANopen service to transmit
a basis for the communication. Therefore the 'alarm' messages
EnergyBus e.V. association started a Heartbeat CANopen service to signal and
cooperation with the CAN in Automation monitor operating states of
association which maintains the CANopen devices
specifications and its device and application
NMT Network Management services
profiles.
to start and stop devices
CANopen is a standardized communication SYNC CANopen service to transmit a
protocol for embedded control networks. Its cyclic network synchronization
origin is the automation industry but in the signal
meantime it covers a broad field of applications
Object CANopen term for list of
including railway application, off-road vehicles
Dictionary parameters in a device
and special cars e.g. police cars and taxicabs.
The CANopen protocol provide a set of
CANopen Application profile EnergyBus devices are distinguished in active
and passive devices. Active devices like the
In contrast to CANopen communication and batteries, the chargers and the motor
device profiles, the application profiles define a controller are connected to the power line. The
complete application e.g. a LEV where passive devices instead are only powered by the
components can be changed without 12V auxiliary voltage.
reconfiguration. Application profiles define a
fixed set of device properties and behavior and The profile additionally defines a bit rate of
reduce the flexibility of CANopen to the needs 250 kbit/s for CAN and recommends a CAN
of the application. The EnergyBus transceiver according to ISO 11898-5 –
communication is defined in such an high-speed with low-power-mode. The new ISO
application profile – CiA 454 - which is officially 11898-6 transceiver with selective sleep
called 'Application profile for energy functionality can be used as well.
management systems'.
It defines a set of virtual devices with defined Example: Battery
properties and configuration parameters. One All EnergyBus devices must provide the
or more virtual devices can be combined in a following parameters (objects in CANopen
physical device. Currently the following virtual terms) and allow access to them via EnergyBus:
devices are specified:
• supported virtual device
• Battery
• device status
• Voltage Converter (Charger)
• device capability
• Motor control unit (MCU)
• rated voltage
• Display (HMI)
• control word
• EnergyBus Controller as network
master
A battery must additionally support all
• Security Device mandatory parameters for active devices:
• maximum continuous input current
Additionally the CANopen application profile
454 defines the parameters in the object • maximum continuous output current
dictionary, a state machine for each virtual • maximum and minimum voltage
device, the process data which are sent by PDO • allowed peak value for input current
with their cycle times and further properties.
• allowed peak value for output current
The profile covers further definitions for
Emergency messages and it defines the use of • actual voltage and current values
dynamic node-id assignment by LSS and the • request of voltage or current limitation
maximum number of virtual devices.
And there are finally battery specific objects:
• type of battery
• actual capacity
• rated capacity
• temperature
• cell voltages and currents
The EnergyBus specification additionally dynamically by the EnergyBus Controller, if
defines several optional parameters for each more than one battery is present in the
component. For batteries these are e.g. a deep network.
discharge counter, a short cut counter, an
over-temperature counter or a total Wh output
counter and other objects. These optional
parameters can be implemented by battery
manufacturers to provide a history of the
battery for after-sales service.
The firmware for the battery is mostly EnergyBus Controller
integrated in the battery management system
and has to implement the following state The EnergyBus controller (EBC) is the central
machine as defined by the EnergyBus CANopen and control master in the EnergyBus
specification: network. The tasks are the assignment of
node-ids by Layer Setting Services and the
configuration of the devices by SDO.
Additionally it performs a compatibility check
for each device and the power line is only
enabled if all devices signal that they are able
to handle the provided voltage. Another task of
the EBC is monitoring of all devices and
Battery State Machine reactions on device errors or loss of devices.
The virtual device EnergyBus Controller can
This state machine ensures that the battery is also be implemented together with other
only attached to the power line if requested by components in one virtual device. For pedelecs
the EnergyBus Controller. the EBC will mostly be combined with the motor
The advantage of the EnergyBus controller (MCU) in one physical device.
standardization is that all EnergyBus compliant Another use case is the implementation of EBC
batteries (and other components) provide the in a charger. In this case the EBC shall only be
same parameters and can be configured in the active, if it is the only EBC in the network.
same way, so public charging stations will be From the CANopen point of view the EnergyBus
able to charge different batteries from Controller has to implement the following
different manufacturers and EnergyBus tools functionalities: network master, dynamic
will be able to communicate with all EnergyBus object dictionary, LSS master with FastScan,
components. SDO client, Emergency consumer, Heartbeat
Furthermore there can be more than one consumer, PDO producer and consumer and
battery in an EnergyBus network and thus it is additionally a SYNC producer with 100ms cycle
possible to connect a second battery to a time.
pedelec to increase its range. Thanks to the
standardized communication the connection Extensions for isolated power
can be realized without difficulties.
grids
The application profile also defines a PDO
mapping for each virtual device. For a battery Isolated power grids can be found e.g. on
these CAN messages have a defined structure solar-powered isolated farms in remote
and content depending on the number of the regions. The Fraunhofer institute for Solar
battery in the network which is assigned Energy Systems(ISE) had started with the
standardization of the energy management of
isolated grids and has developed the Universal << emtas EnergyBus Starterkit <<
Energy Supply Protocol (UESP) which should be
- for a faster EnergyBus development -
standardized as CANopen application profile as
well. Because of the big cut set of LEV
applications and energy management in The EnergyBus Starterkit by emtas contains
isolated power grids, it has been decided to everything for a straight-forward
merge both use cases into the EnergyBus development of EnergyBus compliant
application profile CiA 454. The merger of both products.
profiles lead to an abstraction and
generalization of the components. Chargers for • EnergyBus Library (object code) for
example have been extended to voltages all EnergyBus components available:
converters that cover all kinds of current or ◦ EnergyBus Controller (EBC)
voltage sources. Furthermore an EnergyBus ◦ Battery
network for stationary power grids may ◦ Charger
contain multiple power lines and gateways and ◦ Motor Controller
there are additional modes of operation
◦ Display
defined for master-less applications. This leads
to new possibilities to extend and to couple the ◦ Security Device
networks of both application fields. Both • EnergyBus DeviceWizard
solar-powered charging stations for pedelecs configuration tool for device setup
as well as connection of pedelec batteries with • EnergyBus Controller (EBC) - a PC
the grid of a recreational vehicle (RV) – an tool as network master
isolated power grid - are in consideration. In
the near future it will be possible that the • DeviceExplorer – the tool for
batteries of a pedelec can be loaded from an RV EnergyBus message interpretation and
and the pedelec can give power back to the RV device monitoring
if needed. • USB-CAN Adapter
• CAN cables and termination resistors
Implementation of EnergyBus
The EnergyBus specification and the basic
CANopen communication profiles are freely
available for members of the EnergyBus e.V..
Any member of the EnergyBus association can //- --------------------------------------------------------------------------
implement EnergyBus components. Because of The emtas GmbH is a German embedded
the use of the CANopen protocol it is software development company. Emtas is
recommended to use a commercial-off-the-self development partner of EnergyBus e.V. and
CANopen stack which are available from member of CAN in Automation e.V. The
different suppliers. engineers at emtas are active in various
A further simplification of the development working groups of EnergyBus e.V. and CiA e.V.
process can be achieved using the EnergyBus and deeply involved in the standardization of
framework from emtas (www.emtas.de/en) CANopen and the EnergyBus communication
which encapsulates all EnergyBus and CANopen protocol.
services and state machines. Using this emtas GmbH +49 (0) 3461 794160
framework detailed knowledge of EnergyBus
Fritz-Haber-Str. 9 www.emtas.de
and CANopen is not required for developers of
06217 Merseburg service@emtas.de
EnergyBus components.
GERMANY

Вам также может понравиться