Modern automobiles comprise of anywhere between a few tens of Electronic Control Units (ECUs) to upwards of one hundred ECUs. These dedicated computing units are powerful devices by themselves that are designed to handle specific functionalities. While many of their operations are independent, some of them have tight coupling such as the BMS and the MCU. In other cases, units like IPU (Instrument Panel Unit) or ECU (Engine Control Unit) need to know status of all the ECUs in the system to help make users/VCU take informed decisions.

This data has to be communicated quite quickly without any latency or errors for seamless operation of the automobile. CAN bus is used for this data communication and a network of this complexity needs to be defined clearly and calls for a protocol that is agreeable to all the participating nodes. Also, since these ECUs come from different vendors, there is a need for a common definition and communication mechanism to be defined as the Automotive CAN IVN Protocol. In this comprehensive guide, we will explore the various aspects of the Automotive CAN IVN Protocol, from its functionalities to its limitations and everything in between including Automotive CAN DBC File.

What Is Automotive CAN IVN Protocol?

The Automotive CAN IVN Protocol, also known as the Inter Vehicle Network Protocol, is a communication protocol that enables different electronic control units (ECUs) within a vehicle to exchange information. It is the backbone of the in-vehicle network and facilitates seamless communication between various components such as sensors, actuators, and modules.

While it defines the format of data being transferred, the OEMs are open to specify the information coming out of the ECU.

Rationale Behind Automotive IVN Protocol Design

The typical automotive CAN network is depicted below with multiple ECUs connected.


CAN In Vehicle Network

All these ECUs generate a vast amount of data that is to be known by their peers. One aspect of this is that there is not much of a two-way point-to-point communication but more of broadcasting. For example, it is mostly sufficient for the Instrument Cluster to receive information from other units. Even if the user performs an operation, such as setting the drive mode, it is essentially a one-way request to the VCU/ECU to change the way the vehicle drives. The VCU/ECU will select the most suitable mode, based on factors such as current battery levels etc., and communicate the selected mode. Thus, both of these packets can be broadcasts.

As it can be seen, the IVN protocol mostly must broadcast information with clearly defined structure.

Automotive CAN DBC File

The data to be exchanged in an automotive is defined by using a simple text file format called the DBC file. The DBC (Database Container) file serves as a dictionary that defines the structure and content of the data transmitted over the network. The DBC file contains information about the messages, signals, and other parameters necessary for decoding and encoding the data.

By using the Automotive CAN DBC File, engineers and developers can easily interpret the data exchanged between different ECUs. It provides a standardized format that ensures compatibility and interoperability across different vehicle platforms and manufacturers.

Messages In In-Vehicle Network

In the context of the Automotive IVN Protocol, messages refer to the packets of data that are transmitted between different ECUs on the In Vehicle Network. These messages contain information about a specific event or command, such as the status of a sensor or an instruction to activate a particular component.

Messages in the Automotive IVN Protocol are typically structured using the CAN (Controller Area Network) protocol. The CAN protocol defines the rules for message transmission, including the originator, message length, and the format of the data. This ensures reliable and efficient communication between ECUs, even in high-speed and high-load scenarios.

Signals In Automotive IVN Protocol

Signals are the building blocks of the data transmitted over the Automotive IVN Protocol. They represent a specific parameter or measurement, such as the vehicle speed, engine RPM, or the state of a switch. Signals are encapsulated within messages and are used to convey information between different ECUs.

Signals in the Automotive IVN Protocol are defined using a specific data format, such as binary, integer, or floating-point. They also have attributes such as scaling factors and offsets, which allow for accurate representation and interpretation of the measured values.

Design Consideration For In Vehicle Network Design

While the DBC file is itself simple, it is essential to configure the respective ECU’s to properly handle the outgoing and incoming data packets. One of the key considerations is the selection of suitable hardware and software components that can efficiently handle the data transmission and processing requirements. This includes choosing the right microcontrollers, transceivers, and communication stacks.

With respect to the transmitted data, it is fairly simple that it has to be transmitted at defined intervals (cyclic or event with cyclic etc.). But the timing has to be strictly followed, without which the bus may be overloaded (in cases of faster transmission) or the receiving party times out (when slower).

Implementing the Automotive IVN Protocol receiver requires careful consideration with a tight coupling of underlying hardware. As the number of messages in a vehicle can run in to few hundreds easily, it is practically impossible to receive all these messages and process them. And also, most of them may not be required for this ECU. In this case, the CAN receive filter configuration has to be leveraged by setting up mailboxes based on the periodicity. Multiple messages can be received by the same CAN mailbox using the Mask features of the CAN peripheral. And the software can use algorithms to route the messages to respective handlers.

Another important design consideration is the optimization of the in-vehicle network topology. The network topology determines how the different ECUs are interconnected and how the data flows within the network. An optimized network topology ensures efficient communication and minimizes potential bottlenecks, which can be determined after careful profiling of the traffic patterns.

Limitations Of Automotive IVN Protocol

While the Automotive IVN Protocol offers numerous benefits, it is not without its limitations. One of the key limitations is the limited bandwidth available for data transmission due to the inherent CAN protocol. As the number of ECUs and the complexity of the data increase, the available bandwidth may become a bottleneck, leading to potential delays or performance issues.

Another limitation of the Automotive IVN Protocol is the lack of built-in security features. The protocol primarily focuses on efficient data transmission and does not provide robust security mechanisms. This makes vehicles vulnerable to potential cyber-attacks, highlighting the need for additional security measures to protect the integrity and confidentiality of the data.

Our Services For Automotive IVN Protocol

At Embien, we specialize in providing comprehensive services for the implementation and integration of the Automotive IVN Protocol. Our team of experienced engineers and developers are well-versed in the intricacies of protocol and can assist you in designing and developing robust and efficient IVN solutions. We do have our RAPIDSEA Automotive IVN Protocol stack that is proven to handle even the most rigorous loads and environment.

Whether you need assistance with DBC file creation, message and signal definition, or overall network design, we have the expertise and resources to meet your requirements. Our services are tailored to your specific needs, ensuring that you receive a customized solution that aligns with your business goals.

Conclusion

The Automotive CAN IVN Protocol is a powerful communication protocol that plays a vital role in the modern automotive industry. Its features enable seamless communication between different ECUs on the In Vehicle Network, facilitating the integration of advanced technologies and enhancing the overall performance and functionality of vehicles. And it is quite easy to define the entire communication in the vehicle using the Automotive CAN DBC File. While the protocol has its limitations, it continues to meet the ever-changing demands of industry. It is expected to be the most preferred communication protocol in many years to come on the CAN bus.

Subscribe to our Insights