Software-Defined Vehicles · Interfaces and APIs
Vehicle Abstraction Layer
Also known as VAL, vehicle HAL, VHAL, vehicle signal abstraction
A software layer that presents vehicle data and functions, such as speed, door state or climate settings, through a uniform interface that does not depend on the vehicle model, hiding the buses, ECUs and signal encodings that differ between platforms.
Explanation
Applications above the layer read or control named vehicle properties instead of decoding CAN frames or calling ECU-specific services. Below it, adapters translate those properties to the actual in-vehicle networks and controllers, so the same application can run on vehicles with different electrical architectures. A hardware abstraction layer hides chips and boards; a vehicle abstraction layer hides vehicle signals and functions.
The term is generic. Concrete implementations include the Android Automotive Vehicle Hardware Abstraction Layer (VHAL), which defines properties that OEMs implement together with metadata such as data type and change mode, and Eclipse KUKSA, which abstracts vehicle data into a common format based on COVESA's Vehicle Signal Specification (VSS). VSS supplies the naming model: a single tree rooted at Vehicle, addressed by dot-separated paths such as Vehicle.Cabin.RearviewMirror.Dimmed.
An abstraction layer does not by itself make access safe: write access to actuators must be authorised and checked against vehicle state, and the extra layer adds latency that may be unacceptable for hard real-time control loops.
How it works
A catalogue defines each property or signal: name, data type, unit and read/write access. Provider components (often called feeders) decode raw network messages or call ECU services and publish values into the layer; consumers get, set or subscribe to properties through an API. Access control decides which applications may read or actuate which properties. In Android Automotive, CarService accesses the VHAL through its AIDL interface (IVehicle).
Automotive applications
- Infotainment apps reading vehicle state
- Porting applications across vehicle models
- Exposing curated data to cloud services and third-party apps
- Prototyping functions against simulated signals
Example
A climate app sets the driver-side temperature by writing a standardised property. On one model the abstraction layer translates the request into a CAN message to the HVAC ECU; on another, into a SOME/IP service call to a zone controller. The app's code is identical on both vehicles.
An illustrative example: any figures in it are worked numbers, not measurements.
References
- Vehicle Hardware Abstraction Layer (VHAL) overview (opens in a new tab)
“The vehicle hardware abstraction layer (VHAL) interface defines the properties OEMs can implement”
- Eclipse KUKSA: About (opens in a new tab)
“One of the main features of KUKSA is abstracting vehicle data and interfaces to a common format”
- Vehicle Signal Specification: Basic Rules (opens in a new tab)
“VSS supports only a single tree, that means that all signals must belong to the same root.”
Definitions are original summaries. Standards text is not reproduced; follow the links for the official publications.