Today's Cyber-Physical Systems (CPS) are typically distributed over several computing nodes communicating by way of shared buses such as Controller Area Network (CAN). Their control performance gets degraded due to variable delays (jitters) incurred by messages on the shared CAN bus due to contention and network overhead. This work presents a novel online delay prediction approach that predicts the message delay at runtime based on real-time traffic information on CAN. It leverages the proposed method to improve control quality, by compensating for the message delay using the Model Predictive Control (MPC) algorithm in designing the controller. By simulating an automotive Cruise Control system and a DC Motor plant in a CAN environment, it goes on to demonstrate that the delay prediction is accurate, and that the MPC design which takes the message delay into consideration, performs considerably better. It also implements the proposed method on an 8-bit 16MHz ATmega328P microcontroller and measures the execution time overhead. The results clearly indicate that the method is computationally feasible for online usage. / Master of Science / In today’s world, most complicated systems such as automobiles employ a decentralized modular architecture with several nodes communicating with each other over a shared medium. The Controller Area Network (CAN) is the most widely accepted standard as far as automobiles are concerned. The performance of such systems gets degraded due to the variable delays (jitters) incurred by messages on the CAN. These delays can be caused by messages of higher importance delaying bus access to the messages of lower importance, or due to other network related issues. This work presents a novel approach that predicts the message delays in real-time based on the traffic information on CAN. This approach leverages the proposed method to improve the control quality by compensating for the message delay using an advanced controller algorithm called Model Predictive Control (MPC). By simulating an automotive Cruise Control system and a DC motor plant in a CAN environment, this work goes on to demonstrate that the delay prediction is accurate, and that the MPC design which takes the message delay into consideration, performs considerably better. It also implements the proposed approach on a low end microcontroller (8bit, 16MHz ATmega328P) and measures the time taken for predicting the delay for each message (execution overhead). The obtained results clearly indicate that the method is computationally feasible for use in a real-time scenario.
Identifer | oai:union.ndltd.org:VTETD/oai:vtechworks.lib.vt.edu:10919/78626 |
Date | 28 July 2017 |
Creators | Bangalore Narendranath Rao, Amith Kaushal |
Contributors | Electrical and Computer Engineering, Zeng, Haibo, Guo, Feng, Tokekar, Pratap |
Publisher | Virginia Tech |
Source Sets | Virginia Tech Theses and Dissertation |
Detected Language | English |
Type | Thesis |
Format | ETD, application/pdf, application/x-zip-compressed |
Rights | In Copyright, http://rightsstatements.org/vocab/InC/1.0/ |
Page generated in 0.0022 seconds