TK Engineering Oy
  • Services
    • Control system design
    • Testing
    • Research / Pre-Study
    • Product development
    • Training
  • Digitalization
    • Internet of Everything
      • Internet of Things
      • People
      • Processes
      • Data
    • Openness
      • Any Client
      • Any Transmission Medium
      • Any Server
      • Any Data
    • Discover Use Cases
      • Administration
      • Configuration data
      • Human as a Sensor
      • Product identity
      • Spare part logistics
      • Telematics
    • Get Started
      • 1. Pre-study
      • 2. Pilot
      • 3. Ramp-Up
      • 4. Expansion
  • Products
    • CAN-bus
    • Automation
    • Telematics
    • Manufactures
  • Articles
    • Case Studies
    • News
    • Research and publications
    • New products
  • Company
    • Partners
    • Distributors
    • Join us and Open positions
  • Contact us
  • Menu Menu
  • 0Shopping Cart

CAN traffic produced by the Engine ECU simulating with CANtrace

News
CAN traffic produced by the Engine ECU

CAN networks can be used as an embedded communication system for microcontrollers as well as an open communication system for intelligent devices

It is a recommended practice that defines which and how the data is communicated between the Electronic Control Units (ECU) within a vehicle network. If the control system is CAN based the ideal way of updating the software is to use CAN-bus. SAE J1939 is the vehicle bus recommended practice used for communication and diagnostics among vehicle components.

J1939 is a protocol for shaping the CAN-bus message

J1939 and its companion documents have quickly become the accepted industry standard and the vehicle network of choice for off-highway machines in applications such as construction, material handling, mass transportation, forestry machines, agricultural machinery, maritime and military applications. J1939 is an SAE standard which defines a higher layer protocol for the CAN bus. It specifies exactly how information is exchanged between Electronic Control Units (ECUs) in a vehicle.

Engine ECU has to be simulated using CANtrace

The electronic control unit (ECU) is used in today’s cars and trucks is used to control the engine and other components’ functions and newer vehicles have started using a communication line between different modules on a vehicle so they can share information and redundant sensors do not have to be used. Updating the Vehicle ECU software is done with a computer and a CAN to USB- interface.

CAN traffic is produced by the Engine ECU and simulated using CANtrace. The read value is scaled appropriately and sent over CAN (J1939) to the engine control unit for engine revolution speed control. In the trace view, J1939 parameter groups (PG) are decoded to human readable format. Specification on how the control system should behave, details on how the components are connected, hardware for a test setup, and also support during on-site testing.

CANtrace with J1939 Data

CANtrace with J1939 Data

Logging and playback log file

CANtrace can also play back log files to the CAN bus. Any log file in ASC format can be used to generate data on the CAN bus. This feature can be very useful for simulation, testing and bus traffic generation.

Playback can be “Display only” where data shows up in the trace, data and graph tabs, or playback can be done to CAN bus, transmitting the data on one of the configured CAN channels. The first message in the log file will be played back immediately, regardless of its timestamp. The messages from the log file are sent to one of the other CAN channels, at the rate configured. Playback starts when going on bus, and will continue until reaching the end of the log file and CANtrace will be left on bus when playback is done.

All messages in the log file, regardless of channel, will be sent to the configured CAN bus.  The log playback will give an error message if a log file that is not in the Vector ASCII format is opened.  The messages from the log file are sent to one of the other CAN channels, at the rate configured. Playback starts when going on bus, and will continue until reaching the end of the log file and CANtrace will be left on bus when playback is done. All messages in the log file, regardless of channel, will be sent to the configured CAN bus.

Combining J1939 database with a customer-specific database

CANtrace also supports combining the included J1939 database with a customer-specific database. This enables the decoding of vehicle-specific parameters. CANtrace can interpret the J1939 protocol. When analyzing a J1939 network, you can enable J1939 interpretation in the trace window to interpret the message ID and/or associate a J1939 database file to interpret the signals. CANtrace also assembles J1939 transport protocol frames and will show the combined long frame in the trace window.

For J1939 format databases, CANtrace is able to mask out both priority, source address and destination address fields which allows the use of compact J1939 databases that works with a variety of different vehicles.

 

Tags: CAN, CANtrace, ECU, electronic control unit, embedded, intelligent devices, J1939
https://tke.fi/wp-content/uploads/2021/11/CAN-traffic-produced.jpg 320 840 Susanna Leppälä https://tke.fi/wp-content/uploads/2022/10/tke_logo.png Susanna Leppälä2021-11-12 09:48:372021-11-12 09:48:37CAN traffic produced by the Engine ECU simulating with CANtrace

Categories

  • Case Studies
  • New products
  • News
  • Research and publications

Tags

#CiA408 #translifter Applications Bauma CAN CANopen CANtrace case study Configuration dataFEED OPC Digitalization ECU EDS electronic control unit embedded HART Helsinki IIoT Industry 4.0 intelligent devices Interface IoE IoT J1939 Kvaser MX-5 Open positions PROFIBUS Python Release Rugged Script Scripting SmartLink HW-DP Softing System System design TCS-10 Teknologia 2022 Telematics TK Engineering Top experts U100 WCS-10 weCAN

Social

TK Engineering Oy
Hovioikeudenpuistikko 13 as 3
65100 Vaasa, Finland

info@tke.fi
Phone: +358 6 357 6300

Highest creditworthiness
© Copyright - TK Engineering Oy Privacy and cookies policy
Scroll to top

This site uses cookies. By continuing to browse the site, you are agreeing to our use of cookies

OKFind out more

Cookie and Privacy Settings



How we use cookies

We may request cookies to be set on your device. We use cookies to let us know when you visit our websites, how you interact with us, to enrich your user experience, and to customize your relationship with our website.

Click on the different category headings to find out more. You can also change some of your preferences. Note that blocking some types of cookies may impact your experience on our websites and the services we are able to offer.

Essential Website Cookies

These cookies are strictly necessary to provide you with services available through our website and to use some of its features.

Because these cookies are strictly necessary to deliver the website, refusing them will have impact how our site functions. You always can block or delete cookies by changing your browser settings and force blocking all cookies on this website. But this will always prompt you to accept/refuse cookies when revisiting our site.

We fully respect if you want to refuse cookies but to avoid asking you again and again kindly allow us to store a cookie for that. You are free to opt out any time or opt in for other cookies to get a better experience. If you refuse cookies we will remove all set cookies in our domain.

We provide you with a list of stored cookies on your computer in our domain so you can check what we stored. Due to security reasons we are not able to show or modify cookies from other domains. You can check these in your browser security settings.

Google Analytics Cookies

These cookies collect information that is used either in aggregate form to help us understand how our website is being used or how effective our marketing campaigns are, or to help us customize our website and application for you in order to enhance your experience.

If you do not want that we track your visit to our site you can disable tracking in your browser here:

Other external services

We also use different external services like Google Webfonts, Google Maps, and external Video providers. Since these providers may collect personal data like your IP address we allow you to block them here. Please be aware that this might heavily reduce the functionality and appearance of our site. Changes will take effect once you reload the page.

Google Webfont Settings:

Google Map Settings:

Google reCaptcha Settings:

Vimeo and Youtube video embeds:

Other cookies

The following cookies are also needed - You can choose if you want to allow them:

Privacy Policy

You can read about our cookies and privacy settings in detail on our Privacy Policy Page.

Privacy and cookies policy
Accept settingsHide notification only