All Courses
All Courses
Courses by Software
Courses by Semester
Courses by Domain
Tool-focused Courses
Machine learning
POPULAR COURSES
Success Stories
Aim: To develop an Adaptive Cruise Control feature as per the Requirement Document using MATLAB Simulink. Software used: MATLAB R2020a General Overview: Adaptive Cruise Control Feature for passenger cars allows the host vehicle to adapt to the speed in line with the flow of traffic. Driving in heavy traffic…
vangala venkata shiridi Sairam
updated on 23 Jul 2022
Aim:
To develop an Adaptive Cruise Control feature as per the Requirement Document using MATLAB Simulink.
Software used:
MATLAB R2020a
General Overview:
Adaptive Cruise Control Feature for passenger cars allows the host vehicle to adapt to the speed in line with the flow of traffic. Driving in heavy traffic or keeping a safe distance to the preceding vehicle calls for a high level of concentration. The Adaptive Cruise Control feature can reduce the stress on the driver by automatically controlling the vehicle speed & maintaining a predefined minimum distance to the preceding vehicle. As a consequence, the driver enjoys more comfort & can concentrate on the road little better.
A radar sensor is usually at the core of the Adaptive Cruise Control. Installed at the front of the vehicle, the system permanently monitors the road ahead. As long as the road ahead is clear, cruise control feature maintains the speed set by the driver. If the system spots a slower vehicle within its detection range, it gently reduces speed by releasing the accelerator or actively engaging the brake control system. If the vehicle ahead speeds up or changes lanes, the cruise control automatically accelerates to the driver’s desired speed.
Standard Adaptive Cruise Control can be activated from speeds of around 30 km/h (20 mph) upwards and supports the driver, primarily on cross-country journeys or on freeways. The cruise control stop & go variant is also active at speeds below 30 km/h (20 mph). It can maintain the set distance to the preceding vehicle even at very low speeds and can decelerate to a complete standstill. When the vehicle remains stopped longer, the driver needs only to reactivate the system, for example by briefly stepping on the gas pedal to return to cruise control mode. In this way, cruise control stop & go supports the driver even in heavy traffic and traffic jams.
Since Adaptive Cruise Control is a comfort and convenience system, brake interventions and vehicle acceleration only take place within defined limits. Even with Adaptive Cruise Control switched on, it remains the driver’s responsibility to monitor the speed and distance from the vehicle in front.
Objective of Main Project:
Procedure:
Requirement Document:
Requirement 1– Lead Vehicle:
Requirement 2 – Drive Vehicle:
Requirement 3 – Adaptive Cruise Control Algorithm:
Requirement 3a – ACC OFF MODE state logic:
Requirement 3b – ACC STANDBY MODE state logic:
Requirement 3c – ACC ON MODE state logic:
This state will be activated when input signal SetSwitch is equal to 1. There are 6 sub states to this state logic: They are:
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):
Signals & Calibration Data List:
Signal / Calibration Name |
Signal Type |
Data Type |
Dimension |
Min |
Max |
Initial Value |
Units |
CameraInput_LeadVehicle |
Input |
Uint8 |
1 |
0 |
255 |
- |
- |
RadarInput_LeadVehicle |
Input |
Uint8 |
1 |
0 |
255 |
- |
- |
CameraInput_DriveVehicle |
Input |
Uint8 |
1 |
0 |
255 |
- |
- |
RadarInput_DriveVehicle |
Input |
Uint8 |
1 |
0 |
255 |
- |
- |
Time_Gap |
Input |
Uint8 |
1 |
0 |
255 |
- |
- |
Set_Speed |
Input |
Uint8 |
1 |
0 |
255 |
- |
- |
Set_Gap |
Input |
Uint8 |
1 |
0 |
255 |
- |
- |
CruiseSwitch |
Input |
Boolean |
1 |
0 |
1 |
- |
- |
SetSwitch |
Input |
Boolean |
1 |
0 |
1 |
- |
- |
Acceleration_Mode |
Output |
Uint8 |
1 |
0 |
255 |
- |
- |
LeadVehicle_Speed |
Output |
Uint8 |
1 |
0 |
255 |
- |
- |
DriveVehicle_Speed |
Output |
Uint8 |
1 |
0 |
255 |
- |
- |
LeadVehicle_Detected |
Output |
Uint8 |
1 |
0 |
255 |
- |
- |
First open matlab version 202a cracked version after that open simulink shown in below
here click the blank model to create a new file
First given input and output signals should be creating in a SLDD file
1. we go to click and select modelling tab there is aopen a new window
Creating model properties select new and create a sldd file
After creating sldd file see in below figure
After creating sldd file go to base work option showing on left side right click and save the sldd file
Next go to matlab design Adaptive cruise controll
MATLAB Model:
we create a subsystem
After that we adding three subsystems for requirement 1 and 2 and 3
finally we have so many conditions apply in a chart after that we elaborate that condition requirements
Lead Vehicle:
Drive Vehicle:
Adaptive Cruise Control Algorithm:
next select run condition after that go to model advisor condition
After that model advisor showing a dialogue box
next go to MAB selection after that we have run selection checks we dont have any failed conditions we go to select html report we have maximum reduces warnings below 15 finally select the report
After creating Html report it can be shown in your path folder way
After creating html report it can be shown in your foldermpath after that we go to code generation here
first go to modell settings after that select solver and cahnge the parameters after that we go to code generation see the below figure
Code generation : change the parameters code to embedded coder select system file and browse embedded coder (erttlc ) next go to change the parameters in interference
INTERFERENCE:
here select the parameter of floating click to tick mmark in abox showing below
Finally go to C-code and perform a operator to build option see below figure its shows clarity finally check view code also
Procedure:
As per the Requirement document, implemented the Adaptive Cruise Control feature.
Lead vehicle:
Drive Vehicle:
ACC Algorithm:
Results:
After implementing the ACC model run the simulation. If the model is running successfully without any errors then the Adaptive Cruise Control is works as per the requirement.
Conclusion:
Hence, The Adaptive Cruise Control feature is developed as per the Requirement Document using MATLAB Simulink.
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...
Final Project: Design of an Electric Vehicle
Design of an Electric vehicle Create a MATLAB model of the electric car which uses lithium-ion battery and induction motor. Choose suitable blocks from Powertrain block set. Prepare a report about your model including the following: Objectives: System-level configurations Model parameters Results Conclusion Introduction…
02 Sep 2022 06:03 AM IST
Project-1: Powertrain for aircraft in runways
Given that Part A: 1. Search and list out the total weight of various types of aircrafts. 2. Is there any difference between ground speed and air speed? 3. Why is it not recommended to use aircraft engine power to move it on the ground at Airport? 4. How an aircraft is pushed to runway when its…
27 Aug 2022 12:52 PM IST
Week-11 Challenge: Braking
Tasks For a defined driving cycle, calculate the energy required for braking. Why electric motor can’t develop braking torque at a high speed similar to starting? How electric and mechanical brakes are coordinated? Make a MATLAB program that plots the contour of given motor speed, torque and efficiency values.…
26 Aug 2022 08:17 AM IST
Week-7 Challenge: DC Motor Control
here by the above question we have do step size procedure by using matlab2021a version 1. open matlab first after go to simulink show the below instructions do as follow like this 2. the next step go to help section see below figuare we can understand easily 3. next go to search bar and find the BJT…
25 Aug 2022 07:15 AM 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.