topic_lin

Real-time FlexRay / CAN / LIN实时控制器局域网/本地互联网络

汽车电子技术在过去几年中发展迅速。软件部分的附加值 - 例如汽车的安全性,舒适性和辅助驾驶 - 不断地增长。与此相关的计算机技术以及独立系统联网的标准化总线系统也不断发展。CAN和LIN是其中的两种总线系统。

The »RealTime Suite« is a modular real-time extension that provides several mechanisms to solve such problems perfectly. Here are some basic features:

  • FlexRay communication in real-time ("FlexRay Module")
  • CAN communication in real-time ("CAN Module")
  • LIN communication in real-time ("LIN Module")

FlexRay

The automotive field bus FlexRay is mainly used for sophisticated functions in modern automobiles. Due to its high transfer rate of 10 MBit/s, FlexRay can be applied optimally for high-end features such as driver assistant and chassis control systems. Using dual-channel wiring the data rate can either be doubled or the second communication channel can provide redundant data transfer, which makes it possible for FlexRay to be implemented for safety-critical functions.

Real-Time capabilities for FlexRay enable automotive and test system manufacturers to efficiently test the above-mentioned car systems. By employing guaranteed fast reaction times, for example high-precision measurement data can be determined, thus achieving optimal test results.

FlexRay Module

FlexRay communication in real-time

  • 普通
  • Features
  • Hardware-support

As part of the Kithara real-time extension, the FlexRay Module represents an essential link between test software and physical test system, which allows for the application of real-time capabilities with accurate cycles for high-precision operations.

With the FlexRay Module, a Windows PC can be utilized as an actual FlexRay node. This includes the assignment as leading or following node, as active or passive point of communication within the network. Both FlexRay channels can be configured independently from each other while it is possible to flexibly adjust their baud rate (2,5/5/10 MBit/s).

  • RealTime FlexRay communication
  • Independent configuration of FlexRay channels
  • Windows PC utilized as FlexRay node
  • Assignment as leading or following node
  • Baud rate flexibly adjustible (2,5/5/10 MBit/s)

The following FlexRay cards are supported:

  • Eberspächer FlexCard PMC II

    These specifications always refer to the latest version of our software.

CAN(控制器局域网) (Controller Area Network)

CAN(控制器区域网络)是一种串行总线系统,该系统是从最初汽车行业的控制系统发展而开。然而,它适用于机器或工厂里的智能电子设备以及传感器和执行器网络。 CAN是一种串行多主总线系统中,也就是手多个CAN节点可以同时请求访问,但实际上每个节点存取顺序在接入过程期间就被确定。ISO 11898标准的总线系统具有实时能力并使用了ISO/ OSI参考模型的两个层。

Windows的CAN实时通信

CAN通信一般要求是稳定、等时数据交换,以及对外部事件的快速反应。然而,大多数的CAN板不能满足这些要求,因为基本的Windows驱动程序,只能在应用程序的上下文中使用,因此,不具有实时能力。 CAN模块将消除这种弊端,实现实时CAN通信。

»实时套件«CAN模块补充了Windows的扩展,并提供了需要实时连接的自动化解决方案。该函数库能够满足像工程公司和控制系统制造商这样用户。

 

IXXAT PCI在发送和接收时,CAN消息通过一个简单和直观的应用程序编程接口(API)进行缓冲。因此能够实现实时消息过滤器的定制以及用于预定总线事件的错误处理例程,。也可设为监听模式。对于简单的监测»核示踪«增强用的工具,它能够实现全CAN数据流量在微秒级分辨率的跟踪。编程语言可用C / C ++或Delphi。也支持NET环境(例如C#),调用实时处理的C ++编写的DLL。

为了增强CAN板选择的灵活性,我们为不同制造商提供了通用的实时驱动CAN板,使得可以独立于硬件编程。

 

 

CAN Module

CAN Kommunikation in Echtzeit

  • 普通
  • Features
  • Hardware-support

By using the CAN Module it is possible to attain real-time with Fieldbus (CAN 2.0B compatible). The API is manufacturers independent, thus a initial training has to be done once in order to program CAN hardware.

The immediately reaction to receiving massages enables that CallBack functions can react immediately to failure situations. Even with high baud rates and bus loads messages do not get lost, because the transmit and reception buffer is big enough. Additionally, it is possible to create filter routines, which can be executed directly by receiving messages.

At analytical tasks the CAN interface has to be complete passive; a listen only mode is supported. Furthermore, by using a SJA1000 CAN controller the "Error Code Capture" register can be read, with the result that further information for failure analysis is provided.

  • CAN data exchange in real-time
  • Instantaneous transmission and immediate reaction
  • Transmission and reception at kernel level possible
  • Customized filter routines through CallBack functions possible
  • Reception of messages either through Callback interrupt context, at kernel level, or polling process
  • Transmit and receive routines directly form real-time context callable
  • Utilization of the kernel level supports C/C++ or Delphi (Win32 native)
  • OS: Windows 7, Vista, Server 2003, XP, 2000 und NT
  • No dongle necessary, no online-activation ect.

At the moment the CAN Module supports PCI based cards with 1, 2, or 4 channels of Peak, IXXAT, Kvaser, EMS Dr. Wünsche and esd (see the listing below*). We gladly support you also with your card, which you are using.

Peak System

Peak System

 

IXXAT

IXXAT

 

EMS

EMS Dr. Thomas Wünsche

  • CPC-PCI, CPC-PCIe (single-, dual-, four-channel) and CPC-104P

    with SJA1000

 

Kvaser

Kvaser Advanced CAN Solutions

 

ESD

esd - electronic system design CAN-PCI

  • CAN-PCI /200/266 opto-uncoupled (single and dual-channel)
  • CAN-PCIe /200 opto-uncoupled (single and dual-channel)
  • CAN-PCI-104 /200 opto-uncoupled (single and dual-channel)
  • CPCI-CAN /200 opto-uncoupled (single and dual-channel)
  • PMC-CAN /266 opto-uncoupled (single and dual-channel)


*This list always refers to the latest version of our software.

LIN (Local Interconnect Network)

 

因为LIN的单线网络显著降低了成本和重量,它常用于具有成本效益的汽车应用中,。 
最为汽车工程中常用的串行网络协议,LIN为日益复杂的汽车应用进行了经济高效地集成。

The Automotive Future with LIN

本地互连网络进入»实时套件«实时扩展的实施,提出了软件开发的自然和合乎逻辑的步骤。LIN 还具有在单个汽车部件,包括门,轿厢顶部,空调系统,反射镜或擦拭器电子器件的简单集成的功能。

由于LIN 主要应用在汽车子系统中,所以需要将其连接到一个较高级别的主干网上,这也是为什么LIN主节点通常代表网关实时CAN总线系统的原因。编程可以用C/ C ++,Delphi和C#来实现。 

 

Kithara Echtzeit-LIN的新闻稿可以在这里找到。 

LIN Module

LIN communication in real-time

  • 普通
  • Features
  • Hardware-support

By using the LIN Module of the Kithara»RealTime Suite« it is possible to attain real-time with LIN. A master or slave node can be created easily using a common PC with a UART interface. This enables easy logging of existing LIN networks. Also it is comfortable to prototyping and debugging LIN nodes instead of using an microcontroller. Sending nodes will recheck its sent data on a bus, so collisions can be detected.

  • LIN data exchange in real-time
  • Easy implementation of a master or slave node using a common PC
  • Only a low cost LIN transceiver required (e.g. Freitag RS232-LIN)
  • Bus collisions detection
  • Automatic checksum validation (LIN version 1.x and 2.x)
  • Data rates up to 20 kbps
  • Guaranteed latency times
  • Receive LIN messages either using callbacks or polling
  • UART (By using of common RS232-interfaces is a level-konverter neccesary, e.g. "Freitag RS232-LIN"
  • PEAK PCAN-USB Pro (in progress)
  • more on request

    *These specifications always refers to the latest version of our software.