Development of CAN-Ethernet communication gateway

OData support
Varga Dániel
Department of Automation and Applied Informatics

At Knorr-Bremse company ESRA (Electronic System for Railway Applications) brake control modules are being tested with TESRA (Test ESRA) modules. These modules are connected to the PC via CAN bus during the validation process.

The aim of my thesis is to design a communication gateway, which can be used instead of the dual-CAN-PCI extension card. The device has to transmit the whole communication of two CAN buses via Ethernet. The communication protocol between the PC and the gateway module must be also developed. Though the PC side Windows driver implementation is not the part of my thesis, I have to validate the communication between the PC and the gateway.

During the researches I collected the base knowledge for gateway design. Ethernet and CAN interfaces were developed for different kind of systems, so I collected the differences, and I examined the possibility of the data transfer via Ethernet. The system plan and requirements were made according to other devices on the market.

After this I designed the hardware for the two modules in Eagle PCB designer. I programmed the embedded system in C. To implement the Ethernet layers I used the free lwIP TCP/IP stack. I used UDP protocol between my development and the PC because of the real time requirements. The configuration of the device can be done via a HTTP webserver.

For the functional test I used a Windows based software, which was designed in LabVIEW system.


Please sign in to download the files of this thesis.