Beruflich Dokumente
Kultur Dokumente
Gurulingesh R.
KReSIT, IIT Bombay
Advisor(s):
• Introduction
• Components
• Design
• Implementation
• Results and Observations
• Further Work
• References
• Demo/Video
Goals of the Project
• Introduction
• Components
• Design
• Implementation
• Results and Observations
• Further Work
• References
Components of ACC
Sensors:
Four Wheel
USER
Sensors, Brake
SENSOR
INTERFACE Pedal Sensor,
SENSOR FUSION Throttle Pedal
TAC TA Senor, Radar …
CONTROL Actuators:
UNIT
Brake Actuator,
Throttle Actuator.
DETECTION
TRACKING
TARGET
TARGET
BAC BA
RADAR
Controllers:
High level & Low
level controller.
Communication
Medium
Overview
• Introduction
• Components
• Design
• Implementation
• Results and Observations
• Further Work
• References
Functionality and Data Flow
Controller State Diagram
State Variables
1. Current speed
2. Cruise Status
3. Brake
4. Throttle
5. Leading Vehicle
6. Driver Intervention
Possible Events:
Curr-speed > 25 km/h
Radar contact found
Driver intervention
Lead-distance > safe-dist and so on.
State Switching Issue
• When to switch state?
S-to-D: Curr_Dist < TimeGap * Host_Vel + ∆
D-to-S: (Host_Vel > Des_Vel) ||
(Curr_Dist ≥ TimeGap * Host_Vel + ∆)
• Chattering
S-to-D: Curr_Dist < TimeGap * Host_Vel + ∆ - hyst && RoD ≤ 0
D-to-S: (Host_Vel > Des_Vel) ||
(Curr_Dist ≥ TimeGap * Host_Vel + ∆ + hyst && RoD ≥0)
• Tasks:
• Data Items:
WheelSpeed[wi], HostVel, LeadVel, LeadDist, RoadType,
LeftLane[vi, di], RightLane[vi, di], DesAcc, DesSpeed.
Issues
… … Time
Over-Sampling
Issues (cont…)
2. When to Update
Unnecessary Updates
Issues (cont…)
• Data Repository
– Dynamically varying data
– Derived Data Items
Issues
• With mode-changes:
– How many modes
– What triggers mode change
– When to switch mode
– Chattering
– Mode-change delay
– Schedulability
• How many?
– Two: Safety-Critical(SC), Non-Safety Critical(NC)
• When to switch?
– Finish task execution.
• Mode-change delay
– Bounded by longest periodicity task.
• Schedulability
– Static checking.
Solution to mode-change…
• What triggers mode LeadDist RoD Mode
change? FAR DECR-FAST SC
FAR INCR-FAST NC
LeadDist OR FAR DECR-SLOW NC
FAR INCR-SLOW NC
RoD OR
CLOSE ---- SC
LeadDist & RoD FOLLOW ---- RETAIN
Solution to mode-change…
• Chattering
– In SC Mode:
(Safe_Dist+ < Curr_Dist ≤ Follow_Dist-) ||
(Follow_Dist+ < Curr_Dist ≤ Radar_Dist && RoD = DECR-FAST) ||
(Follow_Dist- < Curr_Dist ≤ Follow_Dist+ && Curr_Mode = SC)
– In NC Mode:
(Follow_Dist+ < Curr_Dist ≤ Radar_Dist && RoD ≠ DECR-FAST) ||
(Follow_Dist- < Curr_Dist ≤ Follow_Dist+ && Curr_Mode = NC)
Solution to Data Repository
• How many levels
Example:
First-Level: Raw data from radar, wheel sensor, etc…
Second-Level: Host Velocity, Lead Distance, etc…
Solution to Data Repository…
• When to update
First-Level: Continous
Second-Level: On-Demand based on R(d)
Scheduling
• Mode-Change approach
– All Tasks are identified in advance.
– All tasks are periodic.
– RMS
• Introduction
• Components
• Design
• Implementation
• Results and Observations
• Further Work
• References
Implementation
• Hardware
– Ultra-sonic Distance Meter (UDM)
• Purpose: leading vehicle
distance
• Range: 1.3m
• Accuracy: ± 2.5cm
• Sampling Rate: 1 per sec
– Shaft Encoder (ENC)
• Purpose: Host Velocity
• Resolution: 1 cm per step
– Communication (PC Robot)
• Printer Port Ver – 1: Leader and Follower
• CBS Scheduling
Software Implementation …
• Mode-Change Approach
– Same task structure with:
• dummy tasks in each mode.
• Mode-switch task.
• Introduction
• Components
• Design
• Implementation
• Results and Observations
• Further Work
• References
Results & Observations
• Cruise Control Operation
• Set speed = 35 m/s2
• Open-loop lower
controller
•Shaft encoder
error
Results & Observations…
• Constant Leading Distance
• LeadDist = 63 cm
• Timegap = 1.8 s
Results & Observations…
• Linear Increase-Decrease
• Timegap = 1.5 s
Results & Observations…
• Two-Level Repository
• Tested for UDM_RD Task
•Lead Dist = 69 cm
Overview
• Introduction
• Components
• Design
• Implementation
• Results and Observations
• Further Work
• References
More Experiments…
• Effect of mode-change delay
BETTER VEHICLE
Further Work
• More experiments to evaluate the design.
• Implementing two-level repository on Real-
Time Data Base.
• Is printer port good enough or need for RT-
Communication (TTP/TTCAN/CAN).
• Merging with Lane Changing.
• Inter-Vehicle communication.
• Formal modeling using UPPAAL/KRONOS.
Goals Revisited