Theory And Operation Of Automotive ETHERNET

2024 Dodge and Ram 1500 TRXSECTION Theory And Operation Of Automotive ETHERNET

The Automotive Ethernet voltages represent symbols that an ECU sender encodes based on a desired bit stream and an ECU receiver uses the resulting symbol stream to decode. There are several methods used for encoding and decoding the different voltages generated. Information can be transferred bidirectionally on Automotive Ethernet at 100Mbit/s. Two interconnected ECUs can send and receive simultaneously (full duplex). As a sender, an ECU adds its own differential voltage to the two wires; while as a receiver, it subtracts its own voltage from the applied total voltage. The result of the subtraction corresponds to the voltage that was sent by the opposite ECU. This mechanism is a component of the echo cancellation method that is used in other Ethernet systems. For differential voltages to be added or subtracted, the two ECUs must know when a new symbol begins. This means that both ECUs must be synchronized to the symbol stream. This is done with the help of a Master ECU and Slave ECU. The Master ECU generates a continuous symbol stream to which the Slave ECU is synchronized.

The two ECUs must know when a new symbol begins for differential voltages to be added or subtracted so that both ECUs must be synchronized to the symbol stream. The synchronization is done with the help of a Master (Sender) ECU and Slave (Receiving) ECU. The Master (Sender) generates a continuous symbol stream to which the Slave (Receiver) is synchronized. The software of the microcontroller configures as a Master (Sender) or Slave (Receiver). The Ethernet controller first listens on the physical medium before a message is sent, preventing another ECU in the network from overwriting the current message. When the medium is free, the Ethernet controller can begin its transmission.

The Automotive Ethernet uses a twisted pair cable on which symmetrical differential voltages are applied is used for the physical connection. The voltages represent symbols that a sender encodes based on the desired bit stream. A receiver uses the resulting symbol stream in turn to decode the contained bits. Only two ECUs are ever connected to one cable. Thus, only point-to-point connection topology is available. Information is transferred bidirectionally on a wire pair at 100 Mbps. Two interconnected ECUs can send and receive simultaneously (full duplex). As a sender, a ECU adds its own differential voltage to the two wires; while as a receiver, it subtracts its own voltage from the applied total voltage. The result of the subtraction corresponds to the voltage that was sent by the opposite ECU. This mechanism is a component of the echo cancellation method that is used in other Ethernet systems.

The two ECUs must know when a new symbol begins for differential voltages to be added or subtracted so that both ECUs must be synchronized to the symbol stream. The synchronization is done with the help of a Master (Sender) ECU and Slave (Receiving) ECU. The Master (Sender) generates a continuous symbol stream to which the Slave (Receiver) is synchronized. The software of the microcontroller configures as a Master (Sender) or Slave (Receiver). The Ethernet controller first listens on the physical medium before a message is sent, preventing another ECU in the network from overwriting the current message. When the medium is free, the Ethernet controller can begin its transmission.

The transmission connection is made through TCP (Transmission Control Protocol), known as a connection-oriented transmission. The connection between the two ECUs is identified using an IP address, port number, and a three-way handshake or three-step process before the actual data transmission as listed below:

  1. In the first step, the Master (Sender) ECU wanting to establish the connection first transmits a segment containing a set synchronization flag. The synchronization flag signals the Master (Sender) ECUs desire to connect with the Slave (Receiver) ECU. A sequence number is composed of a randomly generated number, the ISN (Initial Sequence Number), and a consecutive number. As a result, the order of all segments is known, and the data stream can be reassembled later by the Slave (Receiver) ECU. The window field gives information about the available memory of the ECU. It ensures that a Master (Sender) ECU does not send more data to the Slave (Receiver) ECU than its available memory allows. Because communication can be bidirectional, both ECUs communicate their available memory to the opposite ECU.
  2. In the second step, the original Slave (Receiver) ECU sends a synchronization acknowledgment segment containing a set synchronization flag and a set acknowledgment flag. As a result, this ECU signals the original Master (Sender) ECU that it has received the request to establish a connection and acknowledges positively. The ECU also sends its sequence number. Both ECUs now clearly know their opposite node, and all future exchanged segments can be associated with the corresponding Master (Sender) ECU.
  3. The third and last step for establishing the connection includes an acknowledgment that the original Master (Sender) ECU transmits. It uses this to signal the opposite ECU that the connection has been successfully established, and then data is exchanged between the two ECUs.
RENDER: 1.0x

NO RELATED

Recommended Tools & Savings

Use the Manual With the Right Hardware

Pair factory procedures with proven DIY tools so the instructions are easier to execute.

Affiliate disclosure: We may earn a commission at no extra cost to you.

When to See a Mechanic

Stop DIY work and contact a certified mechanic immediately if any of the following apply:

  • β€’ You smell fuel, burning insulation, or see smoke.
  • β€’ Brakes feel soft, pull hard to one side, or make grinding noises.
  • β€’ The engine overheats, stalls repeatedly, or misfires under load.
  • β€’ You are missing required tools, torque specs, or safe lifting equipment.
  • β€’ You are not confident in the next step or safety outcome.