Challenge

Project 1 (Mini Project on Vehicle Direction Detection

Steps:

  1. Create 2-word documents with requirement 1 and requirement 2
  2. As per the 2 requirements, there are two inputs: yaw rate and camera signal and one output: Vehicle_Direction_Indicator
  3. A subsystem called Vehicle _Direction_Detection is created with the above input and output
  4. Inside the subsystem, A subsystem named Turn_Compare is created as per Requirement 1 and linked to the doc file.
  5. Turn_Compare subsystem takes SteeringWheel_YawDegreeInput as and it is compared with the calibration signals as follows:
  6. If yaw degree > 0; Vehicle_Turn_Status = Right_Turn_AngularLimit
  7. else if yaw degree < 0; Vehicle_Turn_Status = Left_TurnAngularLimit
  8. else Vehicle_Turn_Status = Straight_Drive_Steering_Angle which is equal to 0
  9. Inside the Vehicle _Direction_Detection subsystem, A subsystem named Sign_Compare is created as per Requirement 2 and linked to the doc file.
  10. Sign_Compare subsystem takes Vehicle_Direction_Indicator as and it is compared with the calibration signals as follows:
  11. If yaw degree == (RightTurn_RoadSign or LeftTurn_RoadSign or Straight_RoadSign); the output is 1
  12. If the CameraInput_RoadSign == 1, it gives a confirmation that there is a road sign actually present
  13. If the camera sign == 1 and Road sign == 1; it indicates that the vehicle is in the correct direction, else, if the output is 0, then the vehicle is in the wrong direction.
  14. After that, we can create the SLDD as per the given signals.
  15. After the subsystem is converted to Atomic unit, a SIL Test Harness is created, and signals are uploaded in the signal builder, and the result is displayed as follows:
  16. Ensuring 0 throughout means the model is working as expected.
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.