back

RAMN: Resistant Automotive Miniature Network

A safe platform to study and research automotive systems

If you suspend your transcription on amara.org, please add a timestamp below to indicate how far you progressed! This will help others to resume your work!

Please do not press “publish” on amara.org to save your progress, use “save draft” instead. Only press “publish” when you're done with quality control.

Video duration
01:01:28
Language
English
Abstract
Studying automotive systems is often expensive and inconvenient, which prevents many people from getting started. To make research and education in automotive systems more accessible, we developed RAMN, an inexpensive open-source testbed that simulates a CAN/CAN-FD network of four Electronic Control Units. In our presentation, we introduce the testbed and demonstrate its use by experimenting with a simple Cruise Control algorithm in C, starting from establishing differential equations all the way to testing it in a driving simulator - all that using only open-source tools. We then use the result as a reference to explain what, concretely, would have been different on actual ECU hardware and software, and why that matters for security.

1) Introduction and motivations (~10 minutes)

We briefly introduce the basics of automotive systems (ECU networks, CAN/CAN-FD), the importance of education and research in automotive security, and our motivations for designing a new testbed.

2) RAMN Introduction (~20 minutes)

In this section, we introduce our new platform. RAMN is an inexpensive CAN/CAN-FD network of four Electronic Control Units (ECU) that can be programmed to simulate an active automotive network in closed-loop with the open-source autonomous driving simulator CARLA. It has the size of a credit card, is powered over USB, and can be recognized as a standard USB-to-CAN adapter. It is contained within one PCB, using only two layers and hand-solderable components. We show several demonstrations, then give details about the hardware (made with KiCAD) and the software (based on STM32 HAL and freeRTOS).

3) Experiments (~10 minutes)

We use Cruise Control as an example algorithm to experiment with, using RAMN and other open-source tools. We analyze the problem, evaluate differential equations using Scilab, establish different control strategies, implement them in C in one of the ECUs and verify the results by connecting RAMN to the driving simulator CARLA, while making measurements on the CAN bus using BUSMASTER.

4) Automotive Grade (~10 minutes)

We use the results of the previous section as a reference to explain what, concretely, would have been different with real ECU hardware and software. We discuss what drives the design of automotive systems, introducing important standards such as ISO26262 and MISRA-C. We explain what alternatives are available to researchers when technologies are hidden behind NDAs or prohibitive costs - and how RAMN makes use of them.

5) Automotive Security (~10 minutes)

We use the content of the sections above to discuss automotive security, using RAMN to show demonstrations of potential activities.

Talk ID
11443
Event:
rc3
Day
2
Room
rC2
Start
12:20 p.m.
Duration
01:00:00
Track
Hardware & Making
Type of
lecture
Speaker
Camille Gay
Talk Slug & media link
rc3-11443-ramn_resistant_automotive_miniature_network

Talk & Speaker speed statistics

Very rough underestimation:
147.4 wpm
837.4 spm
149.2 wpm
848.3 spm
100.0% Checking done100.0%
0.0% Syncing done0.0%
0.0% Transcribing done0.0%
0.0% Nothing done yet0.0%
  

Work on this video on Amara!

Talk & Speaker speed statistics with word clouds

Whole talk:
147.4 wpm
837.4 spm
ecucontrolcarecusautomotiveexamplebussecurityspeeddatathrottlesoftwareramnhardwarememorytimesystemssourcesafetypeoplerealopenaccessiblecasemessagesnetworkdomainmicrocontrollerserrorteststartconnectcontrolscontrollercruisesimulatemessageeasilyeasyfindfeaturesbitexperimentpowerdrivingtools26262reprogramactualbootloader
Camille Gay:
149.2 wpm
848.3 spm
ecucontrolcarecusautomotiveexamplebussecurityspeeddatathrottlesoftwareramnhardwarememorysystemstimepeoplesourcesafetyaccessibleopenrealnetworkcasemessagesteststartdomainerrorcruisebitcontrollersimulateconnectcontrolsmicrocontrollersmessagefeatureseasilyexperimentdrivingstandardfindbedtoolscriticalcodeeasyreprogram