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
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 Warning9 reference figuresNo coding / no ECU configuration requiredDeliverable: 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.
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.
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.
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
Layer
Responsibility
What 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".
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.
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
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
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.
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.
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.
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
Consideration
Why 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.
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 introductionSignificance in the automotive industry, purpose, key objectives, overview of the Classic layered architecture.
Application analysisPurpose, working principle, sensors and input sources, processing conditions, expected output.
Architecture explanationApplication Layer, RTE, BSW, ECU Abstraction Layer and MCAL — responsibilities and how they interact.
Architecture mappingYour SWCs, the RTE's role, the specific BSW modules used, and the drivers supporting the hardware interaction.
Functional block diagram + operational sequenceOne clear conceptual diagram from sensor input to driver warning, with a written walk-through of the flow.
Advantages and design considerationsModularity, reusability, abstraction, maintainability, scalability, standardisation — plus honest limitations.
Final consolidated reportAll sections together, figures numbered and captioned, cited references (AUTOSAR specifications, OEM/supplier
technical literature, standards and textbooks).
Suggested report structure and length
§
Section
Indicative length
Figures to include
1
Introduction to AUTOSAR
2–3 pages
Layer model (Fig. 3), before/after comparison (Fig. 2)
2
Selected application and functional analysis
3–4 pages
Working principle (Fig. 6), decision logic (Fig. 7)
3
AUTOSAR architecture and layer responsibilities
4–5 pages
Layer model, BSW module map (Fig. 4)
4
Architecture mapping for your application
4–5 pages
Mapping table + ports and VFB (Fig. 9)
5
Functional block diagram and operational sequence
2–3 pages
Your own version of Fig. 8
6
Advantages and design considerations
2–3 pages
Optional summary table
7
Conclusion and references
1–2 pages
—
Suggested four-week plan
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%.