Skip to content

CAN (Controller Area Network) bus system to simulate transmitter and receiver signals between the powertrain and ECU (Electric Control Unit) of the vehicles with MATLAB/Simulink Vehicle Network Toolbox

Notifications You must be signed in to change notification settings

omerfaruktekin13/WheelsCANBusCommunicationSimulinkVehicleNetwork

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Wheels CAN Bus Communication Simulink Vehicle Network

Project Media

Dxxxxx
CAN Network
Dxxxxx
Wheels
Dxxxxx
IMU Sensor Fusion
Dxxxxx
Receiver and Transmitter Comparison

Description

I've created a CAN (Controller Area Network) bus system to simulate transmitter and receiver signals between the powertrain and ECU (Electric Control Unit) of the vehicles. To create virtual channels and CAN Pack/ CAN Unpack connections, I used Simulink Vehicle Network Toolbox. Furthermore, I decided to add a Sensor Fusion algorithm to my project in order to observe signal characteristics between IMU sensors and vehicle dynamics. Figure 1 represents the CAN Network. Figures 2 and 3 are showing the wheel and IMU sensor respectively. The last image depicts the comparison of the transmitter and receiver signals. According to the plot, CAN bus can be implemented to create a connection between ECU and the wheels.

Tools and Languages

matlab

* MATLAB 2023a

* Simulink

* Simulink Powertrain Blockset

* Simulink Desktop Real-Time

* Simulink Vehicle Network Toolbox

Installation

  1. Download WheelsCanCommunication.slx and CANCommunicationPlot.m files.
  2. Open the Simulink Model. You can use the .m file to plot and compare receiver and transmitter CAN Signals.
  3. You can create your C code using Code Generator to implement it to your hardware.

Open to Development

Please share your comments and ideas about the project with me. Thank you for your time.

About

CAN (Controller Area Network) bus system to simulate transmitter and receiver signals between the powertrain and ECU (Electric Control Unit) of the vehicles with MATLAB/Simulink Vehicle Network Toolbox

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages