Your submission was sent successfully! Close

Jump to main content
  1. Blog
  2. Article

Bertrand Boisseau
on 18 September 2023

Fast SDV prototyping in automotive with real-time kernel

How you can use real-time computing to prototype software defined vehicles in the cloud

Automotive software developers often face challenges when they want to try out their software on target hardware. Which can cause issues since multiple teams have to share limited hardware resources and prototype benches. With the microchip shortage, it’s become even more difficult to get hardware benches for testing and debugging software.

Thanks to advancements in cloud computing, a lot of the development can be done remotely with access to state-of-the-art performance and collaboration options. With cloud-based development, engineers have access to high performance capabilities that exceed the ones on embedded systems by a significant margin, therefore, the results and outcomes are not indicative of how the target systems would behave in real conditions.

More often than not, the results won’t be representative compared to the target hardware, either because the vehicle interfaces get saturated or due to differences in memory management. Therefore, the challenge with cloud-based development lies in taking the target system’s constraints into account.

The environmental parity approach solves this issue by simulating the target hardware as much as possible.

What is environmental parity?

The environmental parity concept involves developing in a cloud environment that replicates the same properties as the components in the vehicle. It becomes possible to test and validate code in a more accurate way which is close to what would happen in the physical world.

Of course, it is difficult to have a replica of 100% of the physical properties, it is therefore important to understand beforehand the required constraints of the target use cases (for example, real-time analysis for autonomous driving).

Environmental parity can help reduce the development time by validating your code in a cloud environment. And having tested your code in a cloud environment, you will be able to deploy directly to the target hardware with confidence, be it a prototype bench or a vehicle.

This virtualised approach abstracts potential hardware complexity and encourages teams to move closer to software-defined vehicle (SDV) concepts. By embracing cloud-native and SDV approaches, engineers will be able to enhance the flexibility of their software and be able to deploy to different hardware platforms as long as these follow specific hardware abstraction principles.

“Develop and validate first in the cloud, try it in the streets later” is the future of automotive software development. This way of working will also accelerate the use of digital twins, which will become more reliable and closer to the final product, generating results that are closer to reality.

How real-time in the cloud is a game changer

Canonical has recently announced Ubuntu with the real-time kernel on the AWS marketplace. Thanks to the PREEMPT-RT patchset, which includes a priority scheduler as well as additional real time mechanisms, Ubuntu benefits from kernel preemption. With a preemptive approach, a task with higher priority will be executed first, with a deterministic response time, therefore reducing potential kernel latencies.

You might be wondering what would be the use of having a real-time OS on a cloud platform. As mentioned above, it’s often difficult to obtain sufficient hardware platforms for all automotive developers, which is why companies are looking for powerful and reliable tools that can enable their teams to bypass hardware limitations.

Following the environmental parity concept, the ability for an engineer to execute their embedded software stack in the cloud allows them to be more efficient without needing dedicated hardware. This provides a lot of advantages, including a faster time to market.

Multiple automotive software domains require real-time capacities which require immediate execution of their instructions. For example, autonomous driving (AD) and advanced driver-assistance systems (ADAS) that handle torque and swerve manoeuvres require real time for powertrain control, for braking and for collision avoidance systems.

When it comes to these products requiring real time, very few options were available. Now, developers can access a development and testing environment that closely mirrors their physical target. With real-time Ubuntu on AWS, developers can quickly validate and optimise their software even before implementing it on real hardware. 

Unlock real-time computing in the cloud today

With Ubuntu Pro 22.04 LTS and real-time kernel on AWS, teams can deliver quality software faster without the need for hardware parts. Combining real time in a cloud environment opens new opportunities for the industry, improving the processes, reducing cost and time to market.

The real-time Ubuntu kernel is already being used in automotive-related developments and prototypes related to autonomous driving, for example. If you are an automotive developer or engineer looking for a reliable OS with deterministic capabilities, Ubuntu Pro with a real-time kernel is a compelling option.

Try Real-Time Ubuntu today directly from the AWS marketplace

Do you want to learn how real-time and security fit in a changing automotive world? Watch our webinar!

Related posts

7 March 2023

Canonical joins the Eclipse Foundation’s Software Defined Vehicle working group

Ubuntu Article

Canonical is excited to announce it is now an official member of the Eclipse Software Defined Vehicle Working Group (SDV WG). Eclipse SDV focuses on software-defined vehicles (SDVs) and pushes innovations in automotive-grade solutions using open-source software. By offering an open technology platform, automotive companies can use and int ...

12 September 2023

소프트웨어 정의 차량의 복잡성 해소

Automotive Automotive

소프트웨어 정의: 업계 유턴 소프트웨어 정의 차량(SDV)의 출현으로 자동차는 더욱 연결되고 자율적이며 공유되고 전기화되는 방향으로 빠르게 진화하고 있습니다. 마침내 이 네 가지 기능은 업계의 모든 사람들이 CASE라는 약어로 인식할 수 있을 정도로 중요하게 되었습니다. 지속적으로 증가하는 고객 기대치도 SDV 개념을 주도하고 자동차 하드웨어 및 소프트웨어 모두에 도전을 요구합니다. CASE 트렌드와 소비자 요구를 수용하려면 기존 차량의 ...

Bertrand Boisseau
12 July 2023

How to choose an OS for software development in automotive

Automotive Article

Why companies in automotive prefer Ubuntu Automotive as an industry is constantly looking for ways to improve its processes and efficiency. The one common tool that is at the intersection of all software development activities is the operating system (OS). From advanced simulation tools to new vehicle designs, the OS has to be reliable an ...