Challenge

Project 2 Adaptive Cruise Control

Steps:

  1. Create requirement documents from 1 to 3c(vi)
  2. Create the main subsystem with 9 inputs and one output i.e. Acceleration mode:
  3. Create SLDD and declare all the signals as per the given list and sample time is 0.01s for all
  4. As per requirement 1, create a subsystem and add the RADAR and Camera signals to give leadvehicle_detected signal as output
  5. As per requirement 2, create a subsystem to take camera and RADAR input for drive vehicle with acceleration feedback and give two outputs DriveVehicle_Speed and LeadVehicle_Detected
  6. A signal conversion block is used to copy the signal from RadarInput_DriveVehicle to LeadVehicle_Detected
  7. As per requirement 3, create a subsystem to take 8 signal inputs and gives output as Acceleration_Mode
  8. In the model explorer, add the stateflow signals
  9. As per Requirements 3(c) to 3c(vi), the following chart is prepared
  10. The output Acceleration_Mode is sent via a unit delay block back to Requirement 2 subsystem
  11. All the signals and propagated and input and output signals are resolved
  12. The model configuration parameters are set as per standard
  13. Using Model Advisor, model checks are done as per ISO26262, JMAAB and MAB guidelines
  14. As per the warnings, the parameters are changed to minimise warnings and no errors were found
  15. To generate code, the main subsystem is treated as an Atomic unit
  16. S-function is generated from the subsystem and .c and .h files are generated with no errors
Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.