Kangmou shares | In-depth discussion of ADTF technology in CAN

Publisher:EtherealMelodyLatest update time:2024-07-03 Source: elecfansKeywords:CAN Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

In the development of today's automotive electronic systems, the CAN bus, as the backbone of internal vehicle communications, carries the transmission of a large number of key signals. Ensuring the efficient and accurate processing of these signals is crucial to the stability and reliability of the vehicle system.


1. SignalConfigFilterEditor

The Signal Configuration Filter Editor (SCFE) is a high-performance component in the ADTF (Automotive Data and Time-Triggered Framework) Device Toolbox 3. It allows us to select signals and parameters from a bus database file and map them to the pins of the codec filter configured for CAN, CAN FD, or FlexRay, as shown in Figure 1.

wKgaomaEqAeAeESJAAO-1P6zoxs225.png

Figure 1: SCFE


SCFE supports graphical interface operation for configuring codec filters. Through it, we can create a new mapping file, select the signal, and map it to the output pin, thereby realizing the decoding and encoding of various signals in the car, as shown in Figure 2.

wKgZomaEqGOAP_mzAAOYsgph4m8101.png

Figure 2: SCFE operation interface


  • The main functions of SCFE include:

  • Select signals and parameters from the bus database for individual configuration.

  • Map selected signals to input or output pins for precise control of signals.

  • Generate a mapping file to define the mapping relationship between signals and pins for easy management and reuse.

  • Set pin properties, including channel, timestamp, delay, and packing, to suit different communication needs.

  • Edit signal properties such as bit length, correction factors, and default values ​​to ensure signal accuracy.

  • Define structures and arrays so that multiple signals can be processed as a whole.

  • Set triggers to control when signals are sent based on specific conditions.

  • Provides configuration checking function to help users find and correct potential errors.


2. Rapid Prototyping

In the ADTFDeviceToolbox3 toolbox, multiple components are provided for bus services, parsing, tracking visualization and processing. Combined with the SCFE component function, we can build projects more easily and quickly to achieve bus data parsing and processing. For example, build a CANFD signal DBC compilation project, as shown in Figure 3.

wKgaomaEqNeAK6iUAAC4kiOeX_8200.png

Figure 3: CAN FD DBC Config Encoder Project


In SCFE, signal pins, attributes and other functions can be configured, as shown in Figure 4 below.

wKgZomaEqO2AExyBAAGV_qwFB2M864.png

Figure 4: SCFE configuration


The running effect is shown in Figure 5:

wKgZomaEqP6AcSikAANPJirmrV8882.png

Figure 5: Project operation effect


3. Database Parsing SDK

In the ADTFDeviceToolbox3 toolbox, a custom bus database parser SDK is further provided, as shown in Figure 6. It supports developers to implement and deploy database parsing services for specific bus communication protocols.

wKgZomaEqRGAXuVbAAGlqB2hYls803.png

Figure 6: Database parsing SDK


This SDK has the following features:

  • Supports parsing of special file formats to meet the reading requirements of non-standard communication database files.

  • By implementing specific interfaces, flexible parsing services are built to load and process communication specifications.

  • Interface-driven design is adopted to define database loader, bus-specific database interface and DBC database parsing interface to ensure compatibility and function realization.

  • The database loader instances of different bus types are managed through the database registry to ensure the correct loading and parsing of database files.


ADTFDeviceToolbox3 provides a tool chain for the bus in the automotive electronics field through SignalConfigFilterEditor (SCFE) and database parsing SDK. In the automotive R&D stage, SCFE is used to configure signals, test and verify the performance of the communication system; in vehicle fault diagnosis, SCFE helps to quickly locate problem signals and improve diagnostic efficiency; in the system integration process, SCFE ensures that signals between different systems interact correctly to avoid communication conflicts. These tools not only improve development efficiency, but also ensure the stability and reliability of automotive electronic systems.

Keywords:CAN Reference address:Kangmou shares | In-depth discussion of ADTF technology in CAN

Previous article:Kangmou shares | Autonomous driving joint simulation - Functional Model Interface FMI (Part 2)
Next article:Application of Spread Spectrum Crystal Oscillator in Driving Recorder

Latest Embedded Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号