⚡ UPDATES
PG in EV & Embedded Systems — IIT Jammu (12 Months) Flagship M.Tech in EV Technology — 24 Month Program Open DET Entrance Test — Unlock Scholarship Up to ₹50,000 Scholarship 95,000+ Professionals Trained Nationwide Placement Drive — 320+ Hndustry Partners ASDC & AICTE NEAT Certified Programs PG in EV & Embedded Systems — IIT Jammu (12 Months) Flagship M.Tech in EV Technology — 24 Month Program Open DET Entrance Test — Unlock Scholarship Up to ₹50,000 Scholarship 95,000+ Professionals Trained Nationwide Placement Drive — 320+ Hndustry Partners ASDC & AICTE NEAT Certified Programs
Accredited by
NEAT AICTE Ministry of Education ASDC
DIYguru
⚡ Apply Now — PG & Nanodegree Programs Open DET Entrance Test — Get Scholarship up to ₹50,000
📅
Bharat eMobility Recruitathon 2026 Delhi: Mar 21-23 | Pune: May 21-24
AUTOSAR Classic Project — Visual Guide for Students
DIYguru · AUTOSAR Classic Program

Conceptual Design of an AUTOSAR-Based Automotive Application

A visual companion to your project brief. Every diagram on this page is a reference you can redraw, adapt and explain in your own report — using your own chosen application.

Worked example: Lane Departure Warning 9 reference figures No coding / no ECU configuration required Deliverable: technical report + block diagram

START HERE What you are actually building

This is a design and documentation project, not a programming project. You pick one driver-assistance application, understand how it works, and then show where each piece of its software would live inside the AUTOSAR Classic stack.

1 Choose application LDW, FCW, radar object detection, blind-spot… 2 Analyse function Inputs → processing → decision → output 3 Learn the layers App, RTE, BSW, ECU Abstraction, MCAL 4 Map & draw SWCs, BSW modules, drivers, signal flow 5 Write the report Advantages, design considerations, references
Figure 1 — Project workflow. Stages 2 and 4 carry the most marks (35% combined); stage 4 is also where most students lose marks by drawing layers without naming real modules.
!

Scope reminder. No AUTOSAR tool configuration, no code generation, no hardware. Your output is a conceptual design: correct layer names, correct module names, correct direction of information flow, and a clear explanation of why each block exists.

SCOPE 1 Introduction to AUTOSAR

AUTOSAR (AUTomotive Open System ARchitecture) is a worldwide partnership of vehicle manufacturers, suppliers and tool vendors that defines a standardised software architecture for automotive ECUs. Its central idea: separate the application software from the hardware it runs on.

Before standardisation App A written for MCU-1 App B written for MCU-2 App C written for MCU-3 Three different microcontrollers, three different driver sets Change the hardware → rewrite the application. Nothing is reusable. With AUTOSAR Classic SWC A hardware-independent SWC B hardware-independent SWC C hardware-independent RTE — standardised communication interface Basic Software + MCAL (configured per hardware) Change the hardware → reconfigure the lower layers. The application is reused.
Figure 2 — Why AUTOSAR exists. Use this comparison to open your report; it answers "significance in the automotive industry" far better than a definition alone.

Key objectives to cite in your report

Standardise

Common architecture

One agreed layer model and module catalogue across OEMs and suppliers.

Reuse

Portable software

The same SWC can be deployed on a different ECU or vehicle platform.

Abstract

Hardware independence

Application logic never touches a register, pin or bus frame directly.

Scale

Manage complexity

Supports integration, maintainability, updates and functional-safety work.

SCOPE 3 The AUTOSAR Classic layered architecture

Four horizontal layers sit between your application and the microcontroller. Learn this stack first — your application mapping in Scope 4 is simply this diagram with your own component names written into it.

APPLICATION LAYER Vehicle functions, implemented as Software Components (SWCs) Sensor SWC provides measured values Application SWC algorithm & decision logic Actuator SWC commands the output Composition / further SWCs grouped by vehicle function RUNTIME ENVIRONMENT (RTE) Realises the Virtual Function Bus on this ECU — all SWC communication passes through it Port-based interfaces · sender–receiver & client–server · triggers runnables · hides whether a partner SWC is local or on another ECU BASIC SOFTWARE (BSW) Standardised infrastructure software — three layers plus Complex Drivers Services Layer OS · ECU State Manager · BSW Mode Manager · Watchdog Manager · NVRAM Manager · COM · PDU Router · Diagnostics (Dem/Dcm) ECU Abstraction Layer I/O HW Abstraction · Communication HW Abstraction (CanIf, LinIf, EthIf) · Memory HW Abstraction (Ea, Fee) · Onboard Device Abstraction Microcontroller Abstraction Layer (MCAL) Adc · Dio · Pwm · Icu · Spi · Can · Lin · Eth · Fls · Gpt · Mcu · Wdg — the only software that touches registers Complex Drivers MICROCONTROLLER / ECU HARDWARE CPU cores, flash, RAM, timers, ADC, PWM units, CAN/Ethernet controllers, I/O pins
Figure 3 — AUTOSAR Classic layer model. Note that the ECU Abstraction Layer and MCAL are inside the Basic Software; the brief lists them separately only to make you explain each one. Complex Drivers span the BSW because they may bypass the standard layers for timing-critical or non-standard hardware access.

Responsibilities, layer by layer

LayerResponsibilityWhat it must NOT do
Application Layer Holds vehicle functionality inside SWCs. Each SWC has ports and runnables; the algorithm lives here. Never accesses a register, pin, CAN frame or driver API directly.
RTE Generated glue code. Implements the ports, routes data between SWCs and between SWCs and BSW, and triggers runnables via the OS. Contains no application logic of its own; it is generated, not hand-written.
BSW — Services OS scheduling, ECU and mode management, communication stack, NVRAM, diagnostics, watchdog. Does not depend on which microcontroller pin or controller is used.
ECU Abstraction Makes the ECU's wiring invisible: which channel, which controller, which memory device. Still microcontroller-independent — it abstracts the board, not the chip.
MCAL Microcontroller-specific drivers; the only layer allowed to touch hardware registers. Holds no application or vehicle logic.
✓

Examiner's favourite question: "Where does hardware independence actually come from?" Answer with two layers, not one — MCAL hides the microcontroller, the ECU Abstraction Layer hides the ECU board wiring, and together they let the same SWC run on different hardware.

REFERENCE The Basic Software module map

Inside the BSW, modules are organised by function (columns) as well as by layer (rows). Use this map to pick the real module names for your mapping instead of writing generic boxes like "communication block".

System Services Memory Communication Input / Output ServicesLayer ECUAbstractionLayer MCALmicrocontroller drivers OS & system Os · EcuM · BswM ComM · WdgM · Det scheduling, states, monitoring Memory services NvM · MemIf calibration & fault data storage Communication services Com · PduR · CanSM CanNm · Dcm · Dem signals, routing, diagnostics No service module I/O is reached from the RTE straight to I/O HW Abstraction Onboard device abstraction WdgIf abstracts on-board devices Memory HW abstraction Ea · Fee EEPROM / flash emulation Communication HW abstraction CanIf · LinIf · FrIf EthIf · CanTrcv hides which controller/channel I/O HW abstraction IoHwAb hides which pin/channel is wired Microcontroller drivers Mcu · Gpt · Wdg clocks, timers, watchdog Memory drivers Fls · Eep internal flash / EEPROM Communication drivers Can · Lin · Eth · Spi bus controllers I/O drivers Adc · Dio · Pwm · Icu analog in, digital I/O, PWM out Complex Device Drivers (CDD) sit alongside these columns and may access hardware directly for timing-critical or non-standard functions.
Figure 4 — BSW module map. For your mapping section, name only the modules your application actually needs; listing all of them without justification scores lower than naming six modules and explaining each.

SCOPE 2 Choosing and analysing your application

Pick an application that takes in sensor information, applies defined operating conditions, and produces a driver warning or indication. All three below satisfy the brief — this guide works the first one through end to end.

A · Lane Departure Warning Camera detects lane markings; warns when the vehicle drifts across a line without indicating. B · Radar Object Detection object Radar measures range and relative speed of objects ahead; warns when one is too close. C · Forward Collision Warning closing distance Estimates time-to-collision from range and closing speed; warns the driver to brake.
Figure 5 — Suggested applications. Any monitoring or driver-assistance function is acceptable (blind-spot monitoring, driver-drowsiness detection, tyre-pressure warning, parking assist) as long as you can explain its sensors, conditions and output.

Worked example: how Lane Departure Warning works

Warning zone — vehicle approaching lane boundary camera field of view — lane markings tracked ahead front camera behind windscreen lateral distance to line, d drift (lateral velocity, v) Time-to-Line-Crossing TLC = d ÷ v → warn when TLC < calibrated threshold Inputs: lane marking data (camera) · vehicle speed (CAN) · turn-indicator status · steering angle / yaw rate Output: cluster telltale · audible buzzer · haptic steering-wheel vibration
Figure 6 — LDW working principle. The warning decision is not "crossed the line" but "about to cross the line" — that predictive element (TLC) is worth explaining explicitly in your processing and decision-making section.

Processing and decision-making logic

Camera frame data Lane markings valid? both boundaries detected Speed above threshold? e.g. ≥ 60 km/h Turn indicator OFF? lane change is intentional TLC below threshold? unintended departure WARN driver alert yes yes yes yes nono nono No warning — system stays passive
Figure 7 — Decision logic. The "turn indicator OFF" check is the suppression condition that stops false warnings during deliberate lane changes. Examiners look for exactly this kind of operating-condition reasoning.

SCOPE 4 & 5 Functional block diagram — the core deliverable

This is the figure worth 15% on its own, and the one your mapping section (20%) is written around. It shows the same stack as Figure 3, but every box now carries a named component with a job to do in the Lane Departure Warning function. Redraw it for your own application.

Lane Departure Warning mapped onto the AUTOSAR Classic architecture SENSOR SIGNAL PATH — upward WARNING ACTUATION PATH — downward BASIC SOFTWARE APPLICATION LAYER — Software Components LaneSensor_SWC sensor SWC • receives lane-marking data • builds the lane model • flags data validity provides: LaneData 6 LaneDeparture_SWC application SWC • computes lateral offset • computes TLC • detects unintended drift needs: LaneData, VehicleSpeed WarningDecision_SWC application SWC • applies enable conditions • suppresses on indicator ON • sets warning level provides: WarnRequest WarningOutput_SWC actuator SWC • drives cluster telltale • drives buzzer pattern • requests haptic alert needs: WarnRequest 5 RUNTIME ENVIRONMENT (RTE) delivers LaneData, VehicleSpeed and IndicatorStatus to the SWC ports · routes WarnRequest downward · triggers each runnable through OS tasks 7 SERVICES LAYER Os cyclic tasks for runnables BswM / EcuM startup & mode control 4 Com / PduR speed & indicator signals NvM stored thresholds Dem / Det fault & error reporting ECU ABSTRACTION LAYER 3 CanIf communication HW abstraction IoHwAb I/O HW abstraction Ea / Fee memory HW abstraction WdgIf onboard device abstraction MICROCONTROLLER ABSTRACTION LAYER (MCAL) 2 Can Driver lane & vehicle bus frames Spi Driver serial sensor link Dio Driver indicator / lamp lines 8 Pwm Driver buzzer tone Gpt / Mcu / Wdg timing & monitoring Complex Driver (optional) high-rate camera interface MICROCONTROLLER / ECU HARDWARE CAN controller · SPI port · digital I/O pins · PWM unit · timers · flash The only layer below this point is the physical wiring to sensors and actuators. 1 INPUT SOURCES • Front camera module — lane-marking data over CAN / Ethernet / SPI • Vehicle speed — received as a CAN signal • Turn-indicator status — CAN signal or digital input • Steering angle / yaw rate — CAN signal (plausibility check) SYSTEM OUTPUTS • Instrument-cluster telltale — lane symbol illuminated • Audible warning — buzzer driven by a PWM pattern • Haptic warning — steering-wheel vibration request to the EPS ECU Warning is withdrawn as soon as the vehicle returns inside the lane.
Figure 8 — AUTOSAR mapping and functional block diagram for LDW. Two rules make this diagram correct: information only ever crosses adjacent layers, and the application layer never reaches the hardware except through the RTE and BSW. The numbers ①–⑧ match the operational sequence below.

Operational sequence — write this as your diagram's description

Step 1 · Sensing

Camera and bus signals reach the ECU

The front camera delivers lane-marking data; vehicle speed and turn-indicator status arrive as CAN signals on the vehicle bus. These are electrical signals at ECU pins — no software yet.

Step 2 · MCAL

Drivers read the hardware

The Can (or Spi) driver reads the controller registers and hands raw frames upward. This is the only software permitted to touch registers.

Step 3 · ECU Abstraction

Hardware details are hidden

CanIf removes any dependence on which CAN controller or channel is used; IoHwAb does the same for discrete inputs. Upper layers now see logical data only.

Step 4 · Services

Signals are unpacked and scheduled

PduR routes the PDU to Com, which extracts the individual signals (speed, indicator, lane data). The Os runs the cyclic task that will trigger the runnables.

Step 5 · RTE (upward)

Data is delivered to SWC ports

The RTE copies each value to the receiver ports of LaneSensor_SWC and LaneDeparture_SWC and activates their runnables — the SWCs never learn where the data came from.

Step 6 · Application

The function decides

Lateral offset and TLC are computed, enable conditions are checked (speed threshold, indicator off, valid lane markings), and a warning request with its level is produced.

Step 7 · RTE (downward)

The command travels back down

The RTE passes WarnRequest to WarningOutput_SWC and onward to the BSW — to Com for the cluster message, and through IoHwAb for the local outputs.

Step 8 · Actuation

The driver is warned

The Pwm / Dio drivers energise the buzzer and lamp lines, and the cluster telltale message goes out on CAN. The warning clears once the vehicle is back inside the lane.

✓

Mapping section tip. For every block you draw, your report should answer three questions in one or two sentences: what it is, why this application needs it, and what it hides from the layer above. That structure alone covers most of the 20% mapping weightage.

DEEP DIVE Inside a Software Component: ports, runnables and the VFB

A frequent follow-up question in evaluation: "how exactly do two SWCs talk to each other?" Answer with ports and the Virtual Function Bus.

DESIGN VIEW — Virtual Function Bus SWCs are connected logically, with no idea which ECU runs them LaneSensor_SWC LaneDeparture_SWC WarningOutput_SWC IMPLEMENTATION VIEW — the RTE realises that bus on this ECU LaneSensor_SWC Runnable ReadLaneData() — every 20 ms provide port P-Port: LaneData LaneDeparture_SWC require port R-Port: LaneData Runnable EvaluateDeparture() — 20 ms WarningOutput_SWC R-Port: WarnRequest writes to BSW via RTE RTE implements each connection as generated code: Rte_Write_LaneData() → Rte_Read_LaneData() asks the Os to activate each runnable at its configured period · forwards BSW data (speed, indicator) to SWC ports · routes to another ECU over CAN if the partner SWC is deployed elsewhere
Figure 9 — Ports, runnables and the VFB. Key sentence for your report: at design time SWCs are connected through the Virtual Function Bus; at integration time the RTE implements those connections for the specific ECU — which is precisely why an SWC can be reused unchanged on different hardware.

SCOPE 6 Advantages and design considerations

Do not list these generically — tie each one back to your application. The examples below are written for LDW; rewrite them for whichever function you chose.

Advantages of AUTOSAR Classic for this application

Modularity

Clean separation of concerns

Lane detection, departure evaluation and warning output are separate SWCs, each independently specified, reviewed and tested.

Reusability

Same SWC, different vehicle

LaneDeparture_SWC can move to another platform or ECU; only the BSW configuration below the RTE changes.

Abstraction

Hardware flexibility

Switching the camera from CAN to Ethernet, or changing microcontroller, affects MCAL and ECU Abstraction only — not the algorithm.

Maintainability

Localised change

Re-calibrating the TLC threshold touches one SWC and an NvM parameter, not the whole ECU software.

Scalability

Grows into a feature family

Lane-keep assist or blind-spot monitoring can be added as further SWCs reusing the same lane data and the same BSW stack.

Standardisation

Supplier interoperability

Standard interfaces let the OEM integrate components from different suppliers, and support diagnostics (Dem/Dcm) and safety processes consistently.

Design considerations to discuss honestly

ConsiderationWhy it matters for your application
Sensor limitations Camera performance drops with faded or missing lane markings, heavy rain, snow, fog, low sun glare, night driving and tunnel entries. The design must detect "no valid lane" and stay silent rather than warn wrongly.
Input reliability Speed and indicator signals arrive over the bus; signal timeouts and invalid values must be handled (Com signal monitoring, default values, fault reporting through Dem).
Operating conditions Minimum activation speed, suppression during indicated lane changes, and suppression during heavy steering or braking — all reduce false warnings that would make a driver switch the system off.
Timing and scheduling The warning is only useful if it arrives early; runnable periods and task priorities in the Os configuration determine end-to-end latency.
Hardware dependencies Available CAN channels, free digital/PWM outputs, flash for calibration data and processing headroom all constrain the design; a high-bandwidth camera link may justify a Complex Driver.
Driver acceptance & safety LDW warns, it does not steer. Keep the boundary between warning systems and intervening systems (lane-keep assist) explicit in your report.

MARKS How your report will be evaluated

Weightages from the project brief. Plan your page count in roughly the same proportion.

5% 10% 15% 20% Introduction to AUTOSAR — purpose, objectives, significance 10% Selected application and its working principle 15% AUTOSAR layered architecture and component responsibilities 20% Application mapping to the AUTOSAR architecture 20% Functional block diagram and operational sequence 15% AUTOSAR advantages and design considerations 10% Documentation quality, design rationale and references 10%
Figure 10 — Evaluation weightage. Architecture understanding plus application mapping together carry 40%, and the block diagram another 15% — more than half the marks sit in the three sections this guide illustrates.

SUBMIT Deliverables checklist and report structure

Tick each item before you submit. Each maps directly to a row in the evaluation table.

  • AUTOSAR introduction Significance in the automotive industry, purpose, key objectives, overview of the Classic layered architecture.
  • Application analysis Purpose, working principle, sensors and input sources, processing conditions, expected output.
  • Architecture explanation Application Layer, RTE, BSW, ECU Abstraction Layer and MCAL — responsibilities and how they interact.
  • Architecture mapping Your SWCs, the RTE's role, the specific BSW modules used, and the drivers supporting the hardware interaction.
  • Functional block diagram + operational sequence One clear conceptual diagram from sensor input to driver warning, with a written walk-through of the flow.
  • Advantages and design considerations Modularity, reusability, abstraction, maintainability, scalability, standardisation — plus honest limitations.
  • Final consolidated report All sections together, figures numbered and captioned, cited references (AUTOSAR specifications, OEM/supplier technical literature, standards and textbooks).

Suggested report structure and length

§SectionIndicative lengthFigures to include
1Introduction to AUTOSAR2–3 pagesLayer model (Fig. 3), before/after comparison (Fig. 2)
2Selected application and functional analysis3–4 pagesWorking principle (Fig. 6), decision logic (Fig. 7)
3AUTOSAR architecture and layer responsibilities4–5 pagesLayer model, BSW module map (Fig. 4)
4Architecture mapping for your application4–5 pagesMapping table + ports and VFB (Fig. 9)
5Functional block diagram and operational sequence2–3 pagesYour own version of Fig. 8
6Advantages and design considerations2–3 pagesOptional summary table
7Conclusion and references1–2 pages—

Suggested four-week plan

Week 1 Study AUTOSAR layers; select and justify application Week 2 Functional analysis: sensors, conditions, outputs, logic Week 3 Map to layers; name SWCs and BSW modules; draw the diagram Week 4 Advantages, considerations, references; consolidate and review
Figure 11 — Suggested schedule. Start the block diagram in week 3, not the last night — redrawing it usually exposes gaps in the mapping.

AVOID Five mistakes that cost marks

1

Drawing the application connected straight to hardware

An arrow from an SWC to the camera or to a pin breaks the entire architecture. Everything passes through the RTE and the BSW.

2

Generic boxes instead of named modules

"Communication block" earns little; Com, PduR, CanIf, Can with one line each earns the mapping marks.

3

Treating the RTE as just a layer

Explain that it is generated code implementing the VFB — the reason SWCs are portable and location-independent.

4

Confusing ECU Abstraction with MCAL

MCAL hides the microcontroller; ECU Abstraction hides the ECU board wiring. State the difference in one clear sentence.

5

No operating conditions in the logic

A warning function without thresholds, suppression conditions and invalid-data handling reads as incomplete engineering.

✓

And one easy win

Number and caption every figure, and cite the AUTOSAR layered software architecture specification in your references — documentation quality carries 10%.

DIYguru Mobility Pvt. Ltd. — AUTOSAR Classic Project Guide for students
Reference figures for conceptual design only. Redraw and adapt them for your own selected application.
Questions: [email protected] · 9910918719