| Literature DB >> 31684010 |
Shabir Ahmad1, Sehrish Malik2, Dong-Hwan Park3, DoHyeun Kim4.
Abstract
Electric-vehicle technology is an emerging area offering several benefits such as economy due to low running costs. Electric vehicles can also help to significantly reduce CO 2 emission, which is a vital factor for environmental pollution. Modern vehicles are equipped with driver-assistance systems that facilitate drivers by offloading some of the tasks a driver does while driving. Human beings are prone to errors. Therefore, accidents and fatalities can happen if the driver fails to perform a particular task within the deadline. In electric vehicles, the focus has always been to optimize the power and battery life, and thus, any additional hardware can affect their battery life significantly. In this paper, the design of driver-assistance systems has been introduced to automate and assist in some of the vital tasks, such as a braking system, in an optimized manner. We revamp the idea of the traditional driver-assistance system and propose a generic lightweight system based on the leading factors and their impact on accidents. We model tasks for these factors and simulate a low-cost driver-assistance system in a real-time context, where these scenarios are investigated and tasks schedulability is formally proved before deploying them in electric vehicles. The proposed driver-assistance system offers many advantages. It decreases the risk of accidents and monitors the safety of driving. If, at some point, the risk index is above a certain threshold, an automated control algorithm is triggered to reduce it by activating different actuators. At the same time, it is lightweight and does not require any dedicated hardware, which in turn has a significant advantage in terms of battery life. Results show that the proposed system not only is accurate but also has a very negligible effect on energy consumption and battery life.Entities:
Keywords: autonomous vehicle; embedded devices; input task modeling; internet of things; mixed-criticality task scheduling; real-time systems
Mesh:
Year: 2019 PMID: 31684010 PMCID: PMC6864586 DOI: 10.3390/s19214761
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Current position of state-of-the-art methods.
| Reference | Common Goals | Limitations | |
|---|---|---|---|
| Road Safety and Risk Driving | [ | Ensures road safety and avoids crashes and fatalities. | Not specific to electric vehicles and, hence, does not consider the battery and energy requirement. |
| Driver-Assistance Systems | [ | Designs a tool to reduce the ratio of accidents by facilitating drivers and sending alarms and notifications. | Dedicated electronic control units (ECUs) for each specific function make the electric vehicle (EV) unnecessarily overloaded. |
| Automation Tools | [ | Eliminates or reduces human intervention to reduce traffic crashes as the majority of the crashes are due to human such as fatigue and alcohol. | These tools are purely for automation inside any vehicle, and thus, they focus more on accuracy rather than on power efficiency. |
| Real-time Scheduling Algorithms | [ | The traditional real-time algorithms mainly designed for an operating system have some defined goals, such as fair execution, CPU utilization, low response time, and maximum throughput. | These rather old solutions need to be tweaked a bit to adapt to modern applications. However, they are also considered as a baseline to test new algorithms. |
| Real-Time Internet-of-Things (IoT) Systems | [ | Real-time system schedulers can be redefined with equal effectiveness in IoT systems considering 5G technology can ensure network delay within an upper bound. Scheduling algorithm fair emergency first (FEF) is proposed to execute a hard-deadline task. | There is any commercial tool which is based on this idea, making it a little unreliable for true hard real-time application. |
Task characterisation in mixed-criticality EV system.
| Notation | Name | Description |
|---|---|---|
|
| Release Time of Task | Release time is the time when the task is released. This parameter is used to describe the release time of a job of a task. |
|
| Execution time of | Execution time is the processing time that a job takes. |
|
| Ending time of | Ending time is the time when a job finishes its execution. |
|
| Deadline of task | By the deadline, a task has to finish its execution. Whether a task has missed its deadline could be determined by comparing the deadline |
|
| Worst Case Execution Time | |
|
| Period of periodic task | |
|
| Relative Deadline | Relative deadline is a predefined limit time scale, in which a task should have finished. |
|
| Core Index on a multi-core processor | The core index on the which the task is currently assigned. |
|
| Criticality of |
Figure 1General system model of task modeling in driver-assistance system.
Figure 2Flow diagram of EV safety profiling and corrective actions in a driver-assistance system.
Figure 3Control scheduling flow based on risk index profile in a driver-assistance system.
Input, process, and output task examples of EV for safe driving.
| Task ID | Name | Description | Data | Source/ Destination |
|---|---|---|---|---|
| Task-i01 | getTemperature | This task will get temperature according to the parameter | Temperature data | Temperature sensor |
| Task-i02 | getHumidity | This task will get the humidity from the humidity sensor | Humidity data | Humidity sensor |
| Task-i03 | getwindSpeed | This task will get the wind speed from the windspeed sensor | Wind data | WindSpeed sensor |
| Task-i04 | getLightIntensity | This task will get the light intensity from the light sensor | Light data | Light sensor |
| Task-i05 | getNoiseIntensity | This task will get the noise intensity from the noise sensor | Noise data | Noise sensor |
| Task-i06 | getCamImageData | This task will capture the image of the front-using camera sensor | Captured image blob | Camera |
| Task-i07 | getSurfaceFriction | Surface friction can detect how wet is the road and what is the safe speed to maintain a safe distance between cars | Surface friction data | Friction sensor |
| Task-i08 | getFrontBlurness | In rain, the front and side glasses are blurred. This blurness can be removed by turning on the fan or by opening windows | Glasses images | Camera |
| Task-p14 | compRainIntensity | This task will compute the rain intensity from the context data | Temperature, humidity, camera images, noise, blurness, surface friction | Rain speed, car speed |
| Task-p15 | compNoiseIntensity | This task will compute the noise intensity from the context data | Noise sensor data | Radio volume |
| Task-p16 | compBlurness | This task will compute the noise intensity from the context data | Glasses image data | |
| Task-o09 | controlWiper | This task will control wiper according to the parameter | Rain intensity, speed | Wiper actuator |
| Task-o10 | controlVolume | This task will set the correct volume of the radio | Noise intensity data | Radio volume |
| Task-o11 | controlWindow | This task will open or close the windows based on the rain intensity | Rain intensity | Car windows |
| Task-o12 | controlSpeed | This task will control the speed of the car based on the rain intensity | Rain intensity, noise intensity | Accelerator, brakes |
| Task-o13 | turnOnFan | This task will turn on fan to remove the fog from front glass | Camera data | Fan |
Figure 4Sensor task creation generation interface.
Figure 5Generated datasets of rainfall tasks for a sampling interval of 1 s.
Implementation environment for EV emulator.
| Component | Description |
|---|---|
| Hardware | Raspberry PI, PC |
| Operating System | Raspbian, Window 10 |
| Memory | 1 GB, 8 GB |
| Server | Flask Webserver |
| Libraries | Jinja, CSV generator, Bootstrap, Chart.js, Javascript, HTML and CSS |
| IDE | PyCharm and IDLE edit |
| Core Programming Language | Python 3.5 |
Categorization of different tasks based on severity of scenarios.
| Task ID | Class | Reason |
|---|---|---|
| Task-i01 | Normal Periodic | As this task does not directly affect the risk associated with rainfall, it can contribute to finding the accuracy of rain. |
| Task-i02 | Normal Periodic | Humidity can also help in finding the accurate prediction of rain because, in rainy weather, the humidity is high. |
| Task-i03 | Normal Periodic | Normal wind speed has no associated risk with road safety, but heavy wind can lead to unsafe conditions. |
| Task-i04 | High Priority Periodic | In poor light conditions, visibility is low and the risk of accidents is high. |
| Task-i05 | Normal Priority Periodic | Noise is not directly related to the safety measures of the vehicle and road, but it can help the vehicle adapt to the environment by automatically adjusting the radio volume. |
| Task-i06 | High Priority Periodic | Camera image contributes to collecting data, which are crucial in risk analysis, such as the drowsy state of the driver. |
| Task-i07 | High Priority Periodic | If surface friction is low, the safe distance will also be low and, thus, needs to be adapted for safe driving. |
| Task-i08 | High Priority Periodic | Blurriness leads to poor visibility and, hence, high risk of accidents. |
| Task-o09 | High Urgency Event Driven | This is the highest priority task because failing to execute this task on time may lead to major accidents and loss of lives. |
| Task-o10 | Normal Event Driven | The noise of the atmosphere can cause the radio volume to increase. It is a normal event-driven task. If it fails, it might not have as major a consequence as in the case of the wiper. |
| Task-o11 | Normal Event Driven | This is also normally event-driven as windows do not contribute much to the safety of the car and people. |
| Task-o12 | High Urgency Event Driven | The car speed under high intense rain can cause slipping, and brakes may not work; therefore, car speed needs to be lowered as a safety measure. Therefore, it is of high urgency in event-driven nature. |
| Task-o13 | High Priority Event-Driven Task | Car fan should be turned on and off based on the blurriness of the front glass. |
Figure 6Interface for (a) task simulation scenarios and (b) scheduler interface.
Figure 7Interface for (a) task timeline and (b) performance visualization of EV output control scheduler.
Figure 8Embedded system for driver-assistance system prototype.
Figure 9Response time comparison of the rate monotonic, earliest deadline first, fair emergency first, and control output scheduling algorithms.
Figure 10Effect of task dropping rate on increasing number of tasks: (a) control output scheduling, (b) earliest deadline first, (c) rate monotonic, and (d) fair emergency first.
Figure 11Task dropping rate impact on varying sampling rates using (a) control output scheduling, (b) earliest deadline first, (c) rate monotonic, and (d) fair emergency first.
Figure 12Effect of State of Charge (SoC) over time.
Figure 13Risk index analysis and adjusted ARI.