All Courses
All Courses
Courses by Software
Courses by Semester
Courses by Domain
Tool-focused Courses
Machine learning
POPULAR COURSES
Success Stories
AIM: Adaptive cruise control (ACC) is an available cruise control advanced driver-assistance system for road vehicles that automatically adjusts the vehicle speed to maintain a safe distance from vehicles ahead. As of 2019, it is also called by 20 unique names that describe that basic functionality. This is also known…
Racha Pavan Kumar
updated on 26 Apr 2022
AIM:
Adaptive cruise control (ACC) is an available cruise control advanced driver-assistance system for road vehicles that automatically adjusts the vehicle speed to maintain a safe distance from vehicles ahead. As of 2019, it is also called by 20 unique names that describe that basic functionality. This is also known as Dynamic cruise control.
Control is based on sensor information from on-board sensors. Such systems may use a radar or laser sensor or a camera setup allowing the vehicle to brake when it detects the car is approaching another vehicle ahead, then accelerate when traffic allows it to.
ACC technology is widely regarded as a key component of future generations of intelligent cars. They impact driver safety and convenience as well as increasing road capacity by maintaining optimal separation between vehicles and reducing driver errors. Vehicles with autonomous cruise control are considered a Level 1 autonomous car, as defined by SAE International. When combined with another driver assist feature such as lane centering, the vehicle is considered a Level 2 autonomous car.
Adaptive cruise control does not provide full autonomy: the system only provides some help to the driver, but does not drive the car by itself.
Development of Adaptive Cruise Control as per the Requirement Document Using MATLAB Simulink
Here we have to develop the model as per the requirements
Here in the model we have 3 requirements they are:
Requirement iii) is again divided into 3 sub requirements these requirements are developed in state machine
Again, ACC ON MODE state logic has 6 requirements they are follows
THE MAIN SUBSYSTEM:
When we open the main subsystem:
Requirement 1– Lead Vehicle:
Lead Vehicle
Requirement 2 – Drive Vehicle:
Drive Vehicle
Requirement 3 – Adaptive Cruise Control Algorithm:
Requirement 3c (i) – LeadVehicle_Detected_Follow (ACC ON MODE):
Requirement 3c (ii) – LeadVehicle_Not_Detected (ACC ON MODE):
Requirement 3c (iii) – LeadVehicle_Detected_Resume (ACC ON MODE):
Requirement 3c (iv) - LeadVehicle_Not_Detected_Resume (ACC ON MODE):
Requirement 3c (v) - LeadVehicle_Speed_lessthan_Set_Speed (ACC ON MODE):
Requirement 3c (vi) - LeadVehicle_Speed_equal_Set_Speed (ACC ON MODE):
ACC State Machine Logic
As per the above requirements the Simulink model of Adaptive Cruise Control is developed in MATLAB Simulink.
Requirement Tagging & Traceability
We have to create separate Requirement word file, in separate word file copy and paste all the requirements from the question
we have to highlight the required requirement from the separate word file as shown in the below figure
Open the Simulink model right click on the (highlighted requirement in word fie)
Lead Vehicle and select requirements in that select Link to Selection in word
Then it will automatically link to word file.
we have to follow same similar process to do other requirements
Drive Vehicle
ACC logic
Here a separate traceability file will be generated automatically in the current matlab folder
Creation of Simulink Data Dictionary:
Here sample time is 0.01 sec
The Storage class for Input signals: ImportedExtern;
Storage class for Output signal: Export to File;
Storage class for local signals: localizable;
Storage class for calibration signals: Const.
Model Advisory Checks:
To do model advisory checks we have to open the required model and select
Model Advisor from the modelling select the model (Adaptive Cruise Control)
Next in By task select only Modeling Standards for MAB then Click on Run Selected checks
When we run the selected checks the below report will appear here we can see
Pass, fail and warnings criteria related to selected model then click on generate Report it will generate report of the model.
Code Generation:
To do code generation as per requirement go to model settings select solver in that select fixed step type as shown in below figure;
Next select Code Generation Settings select system target file as ert.tlc Embedded coder
Then Right Click on Adaptive Cruise control model in Simulink
select C/C ++ Code
Select Generate S Function
Below page occurs
Select create software in loop block click build next code will generate automatically
Generated Code:
Leave a comment
Thanks for choosing to leave a comment. Please keep in mind that all the comments are moderated as per our comment policy, and your email will not be published for privacy reasons. Please leave a personal & meaningful conversation.
Other comments...
Week 1 Understanding Different Battery Chemistry
Week 1 Understanding Different Battery Chemistry 1.Prepare a table which includes materials & chemical reactions occurring at the anode and cathode of LCO, LMO, NCA,…
01 Aug 2022 04:43 PM IST
Project 2-Highway Assistant-Lane Changing Assistant
Highway Assistant – Lane Changing Assistant Introduction to the Feature: The Highway Assistant supports the driver and takes over the longitudinal and lateral guidance of the vehicle in monotonous driving situations on highways. The partially automated function can automatically start, accelerate, brake as well as…
29 Jul 2022 05:52 PM IST
Project 1- Traffic Jam Assistant Feature
Traffic Jam Assistant Feature Aim: - Development of a single feature of Traffic Jam Assist Model using MATLAB &…
14 Jun 2022 05:12 PM IST
Project 2 Adaptive Cruise Control
AIM: Adaptive cruise control (ACC) is an available cruise control advanced driver-assistance system for road vehicles that automatically adjusts the vehicle speed to maintain a safe distance from vehicles ahead. As of 2019, it is also called by 20 unique names that describe that basic functionality. This is also known…
26 Apr 2022 03:59 PM IST
Related Courses
8 Hours of Content
Skill-Lync offers industry relevant advanced engineering courses for engineering students by partnering with industry experts.
© 2025 Skill-Lync Inc. All Rights Reserved.