CAN Newsletter September 2010

Focus on rail in-vehicle networks

FireCAN: Open network for fire-fighting trucks

Several Austrian and German bodybuilders of fire-fighting vehicles and some of their suppliers have developed the FireCAN profile. The specification is hold and maintained by Rosenbauer, an Austrian bodybuilder. In June, at the Interschutz exhibition in Leipzig (Germany), the FireCAN profile was introduced officially. The profile is based on CANopen, but it is not completely compliant to the CiA 301 specification.
The FireCAN network interconnects third-party devices such as portable fire pump, generator, re-charger, winch, light tower, and warning signal unit. It is connected via a gateway to the proprietary CAN-based bodybuilder network, which comprises another gateway to the in-vehicle networks.
The FireCAN specification defines the CAN connector and standardizes its pin-assignment. Allowed are 5‑pin M12 or 7‑pin bayonet nut connectors. The CAN physical layer is ISO 11898‑2 compliant, and the bit-rate is fixed to 250 kbit/s using a sample point as defined in CiA 301 (CANopen).
The NMT, SDO, Heartbeat, and SDO services and protocols are compliant to CANopen. Heartbeat is mandatory. It shall be transmitted with a period of 1 000 ms. After power-on, the first Heartbeat shall be transmitted at maximum after 2 s. The FireCAN devices use the PDOs 4 to 15. The PDO parameters are fixed and not accessible in the object dictionary. Nevertheless, the PDOs are well defined regarding the communication as well as the mapping parameters. The CAN-ID is calculated by an offset (64) multiplied by the PDO number plus the node-ID. For each device type – including the gateway to the body network – there are specified dedicated TPDOs. All these TPDOs are transmitted if one of the mapped process data is changed or the event-timer has elapsed (3 s). The PDO 4 of the re-charger device contains the voltage value of the lower battery in byte 3 and 4 and the voltage value of the upper battery in byte 5 and 6. Byte 7 and 8 provide the voltage sum. In byte 2, the battery under voltage is signaled by a 2-bit value. Byte 1 indicates several 2-bit status informations (e.g. charging in progress, charging finished).

To top

Inclinometer with CANopen interface

An inclinometer is a sensor for measuring angles of slope (or tilt), elevation or inclination of a machine, for example a crane, or of a vehicle or any other item. It generates an artificial horizon and measures angular tilt with respect to this horizon. Such a sensor measures both inclines (positive slopes, as seen by an observer looking upwards) and declines (negative slopes, as seen by an observer looking downward). So to say, the inclinometer is an electronic water scale for sensing alignments to the horizontal line. The tasks for inclino­meters are manifold, ranging from accident prevention at cranes, excavators, and floor conveyors up to level sensing and machine control.
For use in construction machines, trucks, off-highway vehicles, or in control systems for platform leveling, or boom angle indicators those sensors are connected to a CAN network. The increasing acceptance of CANopen caused the manufacturers to implement this higher-layer protocol and the standardized CiA 410 device profile for inclinometers. This profile specifies some configuration parameters and the PDO mapping for 16-bit and 32-bit measurements. The table shows some inclinometers compliant to the CiA 410 profile, it is not claimed that the list is complete.
Important specifications to consider when searching for inclinometers are the tilt angle range and number of axes (which are usually, but not always, orthogonal). Common sensor technologies for inclinometers are accelerometer, liquid capacitive, electrolytic, gas bubble in liquid, and pendulum. Important is the packaging and the achieved protection class. In some of the outdoor applications IP65-rated may be sufficient, while others require an IP67-rated housing. These higher rated devices do not provide external switches for node-ID or CAN bit-rate assignments. They need to support the Layer Setting Services (LSS) as specified in CiA 305. Automatic bit-rate detection is an alternative for setting the transmission speed. Configuring node-ID or bit-rate by means of SDO may cause serious problems, if the store and restore parameter function is supported.

Single- anddual-axes sensors

There are single- and dual-axes inclinometers available. If the sensor is designed to measure inclination angles in two directions X and Y in the range of ±90º, a second one can be mounted vertically, in order to measure ±180º (0° to 360º) range. Normally, there are two identical functional blocks, sensor X and sensor Y, presenting angular data from two orthogonal sensing directions of the inclinometer. The sensor measures angles between the sensing directions and the ground plane. It is mounted horizontally, with the sensing direction vectors being in parallel with the ground plane. When a sensing direction vector points up, out of the ground plane, the inclination angle is considered to be positive, and when the sensing direction vector points down, into the ground plane, it is negative.
The vertically mounted sensor functional block provides the single axis functionality. It is available only when the inclinometer is mounted vertically, orthogonally to the ground plane. In this position, if kept vertically, the sensor can measure an inclination angle in one direction in the whole ±180° range. The sensing direction of the vertically mounted sensor is the same as the Y sensing direction of the regularly (horizontally) mounted sensor. When the X sensing direction points up and the Y sensing direction points to the right, and is in parallel with the ground plane, the inclination angle is zero. ...

To top

CANopen data-recorders for the railway industry

In the railway industry, an accident generally involves a high level of economic damage. It is not uncommon for persons to be injured or in the worst case killed, and the question as to how this could happen is soon raised. In such cases valuable help in establishing the cause of the accident is given by the train’s built-in data recorder. This records among other things when and if the brake was applied, which wayside signals were active and how fast the train was going. A not interrupted record of each and every occurrence is stored in order to determine as precisely as possible what the reason for the accident was.
The data signals to be recorded are frequently transmitted via bus systems such as Multifunction Vehicle Bus (MVB) or Profibus. More often however train builders are also deciding to use CANopen to effect data communication between the individual electrical components. The new Redbox generation of data recorders from Deuta-Werke is able to communicate with other devices via the CANopen communication protocol as well as the conventional bus systems. Data signals available on the network can thus be recorded or further processed. The external digital and analog I/Os available in the data recorder, together with the frequency inputs appropriate for determining speed, can be transmitted to the connected devices.
Besides recording data signals the recorder is also able to perform control tasks such as for example unlocking doors when the train is stationary. This is needed principally in smaller systems such as tramways. In larger train systems this is generally performed by appropriate subcomponents. ...

To top

CANopen interconnects Swiss double-deck train

Bernd Riedel (Selectron)

CAN and CANopen became hidden standards on trains. CAN-based devices has been used in several thousands quantities and in many different train applications. One of the recent applications is described in this article.
In 2008 SBB (Sch wei­zerische Bundesbahn, Swiss Federal Railways) has ordered a fleet of a new generation of the double-deck train “Dosto”. As contractor of 50 plus 24 consists (type A: two power cars, four coaches; type B: two power cars, two coaches) Stadler Rail in Switzerland was chosen. The train operator was S-Bahn Zürich in Switzerland. Roll out of the first consist was the third of June in 2010. Putting in public operation is planned in 2011.
The train manufacturer has chosen train communication and monitoring systems from the Swiss company Selectron Systems. The concept of consists allows to couple two power cars and from two up to six coaches. This leads to a maximum of eight units per consist. At a maximum four consists can be inaugurated to one train. The maximal train length is 600 m. The train control system has to couple and operate in the new SBB „Dosto“ just as well as in the established SBB train type “Flirt”.

System concept

On the vehicle bus level, one train is composed of two power cars and four (two) coaches. CANopen is used as a vehicle bus in cars and also in coaches. In every power car the CANopen network structure is redundant, whereas in coaches it is not redundant. The two power cars are connected via the train bus CAN-Powerline with a train bus coupler (TBC). This is also required for multi-traction. The whole train bus system is redundant. Some dedicated signals such as door control or emergency brake are connected directly i.e. not via a bus system. On the consist network – used for consist inauguration and diagnostic data – cars and coaches communicate via Ethernet. A separate network regarding passenger information system, video supervision and operating control system is implemented. This network is specified by SBB and not described in this article. It is based on Ethernet and is connected to the Ethernet consist network (ECN). A multifunction vehicle bus (MVB) for the European train control system, speed measurement, automatic train protection and public address equipment is integrated into the train communication network (TCN) via a CAN-to-MVB gateway. Safety critical signals are supervised by a separate supervision control unit (SCU) or implemented with safety relay technology. All incorporated networks are interconnected by means of gateways.
Power car networks
Vehicle busses CANopen 1 and 2 are designed redundant and interconnect the vehicle control units (VCU), I/O devices and every control units of the sub-system. A VCU represents the “heart” of the train. Two VCUs are in use, one as ”strong” master and the other as a ”weak” one. Depending on which driver’s desk the train will be started up, VCU 1 becomes the ”strong” or ”weak” master (VCU 2 vice versa). This monitoring concept improves the train availability.
Other sub-systems such as speed measurement, current converter and door control are also connected to the vehicle bus. In case that one vehicle bus fails, traction power will be reduced to 75 % but essential functions such as drive and break still remain.

To top

Open framework for wheelchair-based robots

The Robochair project develops a mobile robotics open platform for wheelchair-based robots. It has been developed as add-on module for commercial wheelchairs. Its design is modular and based on open interfaces for easy extension, robust and low-cost enough to be affordable to most of the people with disabilities.
Environment sensing and information processing are done by means of low-cost sensors and small form factor single board computer (SBC). The coupling between environment constraints (detected obstacles and target to reach) and wheelchair’s power module is implemented by using CANopen networks.
The Robochair system is developed around the Player robotics framework and implements all the devices needed to be Player-compatible. This way, third-party Player developers’ source code could be run in Robochair. In addition, and from hardware developer’s point of view, Robochair defines a low-level communication interface based on CANopen, that allows the interoperability and exchangeability among third-party robotics devices.
As shown in Figure 1, the distributed control system has a main device for global control and configuration tasks. The other devices perform only local tasks, so the minimum necessary data will be sent to the main module. This way, the manner each local task is solved is transparent to the main module, and consequently to any high-level application running in it. When a device is connected to the system, the main module detects its features and checks what kind of services it offers to the system. Robochair uses Can festival, which is an open source implementation of the CiA 301 CANopen application layer.
The sensor selection is a critical task and defines how the system could sense the environment. There are several types of sensors used to perceive the surroundings of the robot; ultrasonic, infrared and laser range finders are the most popular. There are a lot of different models with a variable list of features and cost from a huge variety of manufactures. Among the low-cost ones, SRF08 ultrasonic range finders by Devantech and GP2D12 infrared range finders by Sharp were selected due to their price/features relation. Several others were analyzed and ruled out by some undesirable features. Laser range finders were also ruled out due to their high cost.
A force feedback joystick has been selected as input/output method. Force feedback or haptic refers to a technology, which interfaces the user via the sense of touch by applying forces, vibrations and motions to the user. This mechanical stimulation is used, for example, to create virtual objects, which allow the user feel their shape. In the other hand, and regarding to wheelchairs, it could also be used to inform the user about the system status in a no intrusive manner. The second device selected was a touch LCD screen in order to provide the user with graphical information. Some soft button and a virtual joystick were developed to control the navigation of the wheelchair.

Software components

The high-level software interfaces defined by Robochair are based in the Player framework and are called Player interfaces. Player extensively uses the software interface concept. Different drivers, that control different devices with the same functionality (or almost), must provide the same Player interface. Player defines several interfaces for the control of well-known robotics devices. As shown in the figure, Robochair uses 2‑dimensional position, sonar, infrared (IR), and power Player interfaces for the remaining devices. The 2D-position interface is used to move the robot and to retrieve its pose (the robot position and orientation according to a given reference system). Sonar and IR interfaces are used to receive distance reading from ultrasonic and infrared sensor, respectively. The power interface is used to read the battery status and the remaining capacity. For their specification refer to Player documentation....

To top

Machine management platform

CrossControl, formerly known as CC Systems, developed a product platform for machine management with products for controls, advanced logging and machine telematics. The CrossCore XA platform is based on the ARM9-/ARM11-CPU families, provides Linux operating system and allows use of IEC 61131-3 programming frameworks with such tools as Codesys. With support of up to four CAN galvanic isolated interfaces the central unit may act as a gateway between the networks. Ethernet as well as USB (host and device) interfaces are available. The platform features built-in GPRS/3G, WLAN and GPS communication as well as SSH interface for remote access and service. A built-in web server allows configuration and loading of application software. The IP67 aluminum enclosure, filled with silicon, protects the electronics against shock loads, vibrations and water/dust intrusion. DIN M12 connectors with standard, moulded cables are used.
The CrossCore XA controller module has an ARM9 CPU to manage the role as master controller with four different CAN networks. The unit can be used as the central component in a total machine control system. Operating system and application frameworks are stored in one memory bank, application data in another. To make certain that application data is preserved properly at system shut down, the system has a built-in power backup and functionality to ensure safe writing of data to the 8‑GiB flash memory.
The CrossCore XA All-integrated controller and telematics gateway is designed to be integrated into an existing control system solution via dual CAN interfaces with CANopen and/or SAE J1939. With the ARM kernel, it can act as control system master, typically running an IEC 61131‑3 runtime (e.g. Codesys). In parallel, the unit can run an advanced diagnostics and prognostics framework. When applied in a system where the master functionality runs in another controller, the same diagnostics framework can still be used. The device has a built-in GPRS/3G modem and WLAN for remote access and fleet-management communication. It has a built-in GPS receiver and an accelerometer, intended for applications where position and movement information is needed. ...

To top

Table of contents

Business FireCAN: Open network for fire-fighting trucks 6
Inertial 3D gait analysis - No energy saving without sensors - CANopen Convergence Day in France - Sensor news 8
CAN support for French service provider - Gyroscopes with CAN 9
CiA news - CiA MG “Suomi” established 10
Bombardier selects Green Hills for industrial safety 55
Device For power converter control - Encoders with CANopen Lift - Operation terminals - Embedded modules 11
Inclinometer with CANopen interface 12
IP69K-rated linear position sensor 14
Machine management platform 26
Gateway news 31
Motion control news 32
Loggers for CAN, LIN and Flexray 41
Vehicle power supply inverter - Distance sensors 42
CiA 447 option - Embedded 43
Embedded - Driver assistance systems testing - Data acquisition for USB - Controller for motion systems - CANopen interface for power supplies - Remote control 44
Actuator for CVT gears - Diesel engines with CAN - Compact CAN-PLC - Valve and digital amplifier - Valve control 50
Head unit for Jaguar XJ - Compact PLC system - RFID reader with CANopen - Electronics for pneumatic s
olutions - Controller for motion systems - Compact data logger - CANopen angle sensor 54For I/O connection in railways - HVAC in trains 55
Certified SIL 3 encoder with CANopen safety - Encoders for the food industry 56
CAN interface modules in ExpressCard format 60
CAN-to-wireless router - Steering effort sensor 61
Semiconductor Operates up to 150°C - MCU for display and HMI applications - CANopen single-chip implementation 16
Application CANopen data-recorders for the railway industry 18
CANopen interconnects Swiss double deck train 20
Door controller update of the Shanghai Transrapid Train 24
Open framework for wheelchair-based robots 36
Automation of sorting and packaging machines 38
CANopen turns robot into surgical assistant 40
Mobile robots for cooperative machine operation 42
Environmental robot with CANopen-driven motors - Ceiling stand with CAN 52
IPCs manage energy in world’s biggest solar boat 58
Isobus Competence Center for Isobus - Isobus terminals - Steering system - ECU - Control system 34
Software/Tool Correction 42
Developing for iPhone and iPod - New boost for DeviceNet 59
Dossier CAN-connectable joysticks and foot pedals 46
Reader service 62

To top