Under Development: Galvanically Isolated Quad Channel CAN Bus to USB Gateway For Industrial And Automotive Applications
A few months ago, we introduced a development concept for an Automotive Network Development System with CAN, CAN FD, LIN, Ethernet. After further market research plus very much appreciated feedback from customers, we decided to modify the concept and basically create two devices, one for CAN and LIN, the other to CAN and Ethernet. Ethernet, in this case, means not only industrial TCP/IP but also Automotive Ethernet, and putting all these features into one device would require extensive resources.
The decision was made to start with the development of a galvanically isolated four-channel CAN-to-USB gateway board that can also control two LIN Bus ports. The board itself will have two UART ports, which allow the use of external LIN Bus breakout boards, such as our Isolated LIN Bus Breakout Board. In addition, we will be able to support RS 232, RS 485, and RS 422, should the need arise.
A 16 MB flash memory will be used to store communication parameters and firmware features for stand-alone applications, such as a CAN-to-CAN or CAN-to-CAN FD bridges. All in all, the list of possible applications is long:
- Dual CAN to USB Gateway
- Dual CAN FD to USB Gateway
- Quad CAN to USB Gateway (2 x CAN plus 2 x CAN FD)
- CAN to LIN Bus Gateway
- CAN Bridge (Connecting two CAN Bus networks)
- CAN to CAN FD Converter
Add to all these the RS232, RS485, RS422 capabilities as well as integration of an SAE J1939 protocol stack.
As usual, we will create and document a transparent communication protocol, i.e. the data exchange between the gateway board and the host system's USB port - The host can be any system that supports USB, including Windows PC and Linux machines.
We will also create a free-of-charge CAN Analyzing software, similar to our JCOM1939 Monitor Software. The app will support all four CAN ports.
- Virtually OS independent
- Easily adaptable; just access the COM port
- Works with PCs, Raspberry Pi, BeagleBone, Teensy, Arduino, and other embedded systems
- Serial protocol (CAN to USB and vice versa) is well documented
- C, C# source code available to support customized applications
- Easy firmware updates through USB programming port
- Power applied through USB port or external 7 to 36 VDC
- Operating Range: -40...+85 C
The reading and controlling of multiple CAN Bus connections bares the risk of creating interferences of unpredictable nature. Consequently, we have decided that all CAN channels should be galvanically isolated, not only on the CAN side but also the power supply for each individual power supply as demonstrated in the above picture.
For more information, see: Galvanically Isolated CAN Bus Transceivers Protect Networks Against Destructive Energy...
The onboard Real-Time Clock (RTC) supports CAN Bus message timestamps. However, the firmware will support two timestamps per CAN message frame, the real-time plus time ticks since device powerup. The latter feature will allow the recording and replay of CAN Bus data traffic.
Industrial Strength Design
The gateway board operates within a temperature range of -40...+85 C, making it suitable for operation in harsh environments such as offroad vehicles, etc.
While the board can be powered per USB port, it also accepts an external 7 to 36 VDC power supply. The power supply range covers industrial control voltages (12/24 VDC) as well as diesel engines whose onboard voltage may vary extensively due to engine burden.
Support of More Than Four CAN Channels
The design concept, i.e. conveying the CAN Bus data per USB, opens the door to using multiple boards, thus increasing the number of CAN Bus connections by multiples of four, only limited by the number of USB ports supported by your system.
And, even though the board supports only two CAN FD ports, you can use multiple boards to maintain any number of CAN FD connections. As I pointed out earlier, we will offer several products, initially a Dual CAN, Dual CAN FD, and Quad CAN to USB gateway (2 x CAN plus 2 x CAN FD).
Raspberry Pi Compatibility
The gateway can, of course, also connect to the Raspberry Pi 3/4 with its Linux OS and multiple USB ports, similar to our SAE J1939 board as described in SAE J1939 ECU Simulator And Data Monitor for Raspberry Pi. The gateway board will be designed to fit mechanically onto the RPi, however, without the use of the 40-pin GPIO header, because the only interface needed is a USB port.
Most, if not all, CAN Bus HATs in the marketplace use the RPi's SPI interface, thus limiting the use of other HATS depending on the SPI connection (such as RTCs, Displays, etc.). Our concept is open to expansion, and reading CAN data through the COM port is easy to program (we do deliver C source code to demonstrate the reading and writing of CAN Bus data).
With the support of several gateway boards, the Raspberry Pi could maintain a total of 16 CAN ports, using the onboard four USB interfaces.
Furthermore, the gateway board will be able to power the RPi as well, meaning your RPi design can take advantage of the extended input power range.
At the time of this writing we have finished the outlining of the project, the schematics are available, and the PCB design is in the works. A first prototype should be available by mid of November 2020, at which time we will start the firmware development. That being said, the official release is planned for spring of 2021.
For further information, please feel free to contact us.
Raspberry Pi 4 With PICAN3 CAN Bus HAT
fThe Raspberry Pi 4 offers groundbreaking improvements in processor speed, multimedia performance, memory, and connectivity compared to the prior-generation boards while preserving backward compatibility. The Raspberry Pi 4 provides desktop performance comparable to entry-level x86 PC systems.
The PiCAN3 board with SMPS (Switch Mode Power Supply) and RTC provides CAN-Bus capabilities for the Raspberry Pi 4. It uses the Microchip MCP2515 CAN controller with MCP2551 CAN transceiver. Connection are made via DB9 or the onboard 3 way screw terminal.
The Switch Mode Power Supply (SMPS) allows connecting an input voltage range of 6 VDC to 20 VDC suitable for industrial and automotive applications and environments. The SMPS will power the Raspberry Pi plus PICAN3.
Peak-System Technik and EmSA (Embedded Systems Academy) have joined forces and developed the PCAN-MicroMod FD DR CANopen Digital 1, an I/O device with eight digital inputs and eight outputs. The I/O module comes in a DIN-rail mountable housing with screw terminal strips. The eight digital inputs and eight digital outputs are galvanically isolated from the power supply, [...]
The UDE (Universal Debugging Engine) by PLS (Germany) provides debugging and analysis functions for NXP’s S32S247 and i.MX RT MCUs with up to eight CAN FD (Flexible Data Rate) interfaces. The S32S247 multi-core controller combines four 800-MHz Cortex-R52 processors with 64-MiB integrated flash memory. Designed for safety-related real-time applications up to ASIL-D (automotive safety integrity level), the device is suitable [...]
ESD Electronics (Germany) introduced their CAN-M.2/402-2-FD PCIe card with two electrically isolated CAN FD (Flexible Data Rate) interfaces. The autonomous CAN Bus interfaces are controlled by the EsdACC (Advanced CAN Core) implemented in an Intel FPGA, and it is certified according to ISO-16845:2004. The FPGA supports direct memory access (DMA), also called “Bus mastering,” enabling autonomous data transfer [...]
HMS Networks extended its IXXAT PC-interface portfolio with the introduction of its multi-channel board CAN-IB 640/PCIe, which provides four channels, each for CAN FD/Classical CAN and LIN Bus connectivity.Automotive systems and industrial applications often operate using several Classical CAN and CAN FD networks, connected to additional testing, monitoring, and control systems. The multi-channel CAN-IB 640/PCIe card [...]
The Emotas CANopen FD starter kit provides a CAN FD micro-controller board, an extension board with CAN FD transceiver, and a CAN FD USB interface for the rapid prototyping of CANopen FD applications. CANopen FD, as specified in the CAN in Automation (CiA) specification 1301, uses the new features of CAN FD such as a higher data bit-rate [...]
HMS Networks has extended the functionality of its Ixxat CAN@net NT and CANbridge NT series. Users can now add event-controlled network actions and bi-directional MQTT-messaging to cloud applications.Both product families enable CAN-based networking on-site and remotely. The CANbridge NT allows the coupling of up to four Classical CAN and CAN FD networks using filter and translation rules. Network [...]
Vector Informatik released its VN5620 network gateway for Automotive Ethernet and Classical CAN, as well as CAN FD networks. The two CAN FD interfaces utilize the TJA1057 transceivers from NXP.The device is suitable for data analysis, simulation, and testing tasks. The data monitoring per Ethernet warrants a transparent connection between two nodes with a precise timestamp. [...]
NXP has released its KW38 micro-controller, which provides all components for automotive gateway designs. The wireless MCUs integrate the long-range capability with Bluetooth low energy (BLE) version 5.0 and generic FSK radio. Delivering a -105-dBm sensitivity with LE-coded 125 kbit/s data rate provides reliable connections in harsh environments and at extended distances. The data stream buffer [...]
The Society of Automotive Engineers (SAE) Truck and Bus Control and Communications Subcommittee has developed a family of standards concerning the design and use of devices that transmit electronic signals and control information among vehicle components. SAE J1939 and its companion documents have quickly become the accepted industry standard and the vehicle network of choice for off-highway [...]