Jim Ras - Biographical Sketch

My research interests are to enhance the safety and performance of systems being controlled by embedded realtime controllers using optimized electronic designs, accurate response time analysis tools, novel scheduling and fault tolerance techniques, and new power-conserving methods. Doing so facilitates the design and update of the embedded controller as well as its timing and safety verification.

Professional Activities

Technical Committee Member, International Conference on Embedded Software and Systems, China, 2009.
Reviewer, Conference on IEEE RTCSA, 2010, 2009, 2008, 2007, 2006.
Reviewer, Conference on IEEE RTAS, 2010, 2009, 2008, 2007, 2006.
Reviewer, Conference on IEEE Real-Time Systems Symposium, Tucson, 2007.
Reviewer, Real-Time Systems Journal.
Reviewer, Journal of Parallel and Distributed Computing.
Member of the Institute of Electrical and Electronics Engineers (IEEE) and Computer Society of IEEE.
Member of the Association for Computing Machinery.

Selected Journal Publications / Conference / Workshop Publications


Jim Ras and Albert M. K. Cheng, ``The Abort-and-Restart Scheduling Model,'' will be submitted for review, June/2011.

Abstract:
In this paper, the focus is on the Abort-and-Restart Policy (ANR), which is neither a concurrency control scheme nor a true scheduling policy. Instead, it is a policy in which the most important task (or thread) is scheduled first. A higher-priority task will force a lower-priority task to release the processor so it can run. So by its nature, ANR eliminates the priority inversion problem, where a higher priority task is blocked by lower-priority tasks due to resource sharing. The lower-priority task restarts once the higher-priority task is done. ANR makes it possible to treat programs as functions (stateless), and thus amenable to proofs and type-safety. However, the model often leads to non-sustainable analysis, because the response time of a lower-priority task increases with each abort-and-restart. In this paper, we present a number of variations on the abort-and-restart model.



Jim Ras and Albert M. K. Cheng, ``Embedded Real-Time Sensors to Help Design and Verify Automotive Control Systems Better and more Precisely,'' submitted for review, May/2011.

Abstract:
Smarter and more precise embedded real-time sensors are making consistent inroads into automobiles. Acceleration and speed sensors are frequently used in many different applications, from improving engine performance through intelligent safety systems to helping to provide creature comforts. Speed sensing has two major applications area: engine speed monitoring to enhance engine control, and antilock braking and traction control systems for improved road performance and handling. Intelligent acceleration and crash sensors are also used in air bag deployment, ride control systems, antilock brakes (ABS), traction, and inertial navigation systems. In this practice paper, we present the general design of smart wireless sensors. We also show the usefulness of such sensors in designing better automotive control and safety systems. For this research, we designed and built wireless sensor circuits to more precisely examine the real-time data, braking and acceleration forces. Results were verified experimentally by using wireless sensors embedded inside a fast rolling car tire/wheel.



Jim Ras and Albert M. K. Cheng, ``On Formal Verification of Toyota's Electronic Throttle Controller,'' to appear in IEEE International Systems Conference, Montreal, Quebec, Canada, April 4-7, 2011.

Abstract:
This paper addresses relevant, practical issues on the specification of Toyota's electronic throttle control (ETC) system including the timing constraints. In this paper, we specify the high-level design of the system. We show several properties that an ETC controller must satisfy and show how to formalize these properties using RTL.



Jim Ras and Albert M. K. Cheng, ``On the Toyota's Throttle Control Problem,'' 4th Asia-Pacific Embedded Systems Education and Research Conference (APESER), Hangzhou, Zhejiang, China, December 18-19, 2010.

Abstract:
This paper examines Toyota's electronic throttle controller (ETC) problem. ETC for passenger cars is a safety-critical, embedded control system and it must meet very high reliability and safety requirements. ETC systems continue to increase in complexity, making formal specification and verification processes an essential component of the development of safer systems. There are two ways to represent the real-time system. Firstly, we can describe the system's structure and function by detailing its electrical, mechanical, and other components. Secondly, the real-time system's behavior as it responds to actions and events can be described. Then we can compare the system's specification to the safety assertion to show that the system meets the safety properties.



Jim Ras and Albert M. K. Cheng, ``A deterministic run-time environment for Ada-05 on the ATmega16 microcontroller,'' to appear in ACM SIGAda Conference, Fairfax, Virginia, October 24-28, 2010.

Abstract:
Microcontrollers account for more than 90% of total microprocessors sold, yet their capabilities are seldom explored in computer science courses. A simple 8-Bit microcontroller can be used in a computer language programming course to facilitate the study of computer architecture and fundamental programming concepts. Through hands-on experience, students can appreciate using a computer language such as Assembly or ADA to develop applications for embedded devices. ADA is not often used in small embedded systems because of ADA's high overhead. We can overcome this problem by using a subset of ADA, such as the Ravenscar Profile. The goal of this paper is to describe how ADA can be used to develop high-integrity real-time systems supporting the Ravenscar tasking model of ADA-05 on the Atmel AVR ATmega16 microcontroller.



Jim Ras and Albert M. K. Cheng, ``Response Time Analysis of the Abort-and-Restart Model under Symmetric Multiprocessing,'' 7th IEEE International Conference on Embedded Software and Systems (ICESS-2010), Bradford, UK, June 29 - July 1, 2010. Nominated for Best Paper Award.

Abstract:
The Priority-Based Functional Reactive Programming (P-FRP) paradigm, aims to improve the programming of embedded microcontrollers. The combination of purely functional programming and cleanly-abortable event handlers, communicating via transactional memory (TM), makes it possible to write programs as stateless collections of functions, thus making them amenable to proofs and type safety. P-FRP implements executions as function evaluations, therefore, there are no "incomplete" function evaluations, as in the case of a task's interruption. To use P-FRP in the SMP (Symmetric Multiprocessor) environment, we must first understand the response time of programs written in its anticipated multiprocessor extension. Therefore, the contribution of this paper is the response time analysis for the Abort-and-Restart (ANR) event handler semantics of P-FRP for SMP Real-Time systems. ANR is neither a synchronization protocol nor a true scheduling policy. Instead, it is a policy for running tasks where the most important task is scheduled first. Results are derived for both fixed-priority (i.e., Rate Monotonic) and dynamic-priority (i.e., Earliest Deadline First) scheduling. We can say that the Abort-and-Restart and the TM models are similar, but also distinct, thus allowing our results to be adaptable for the analysis of TM.



Jim Ras and Albert M. K. Cheng, ``Response Time Analysis for the Abort-and-Restart Event Handlers of the Priority-Based Functional Reactive Programming (P-FRP) Paradigm,'' Proc. 15th IEEE-CS International Conference on Embedded and Real-Time Computing Systems and Applications (RTCSA), Beijing, China, Aug. 2009. Nominated for Best Paper Award.

Abstract:
Programming microcontrollers is a different paradigm from microprocessor programming. The traditional way to program microcontrollers is to write the program in C or an assembly language, but modern embedded systems are more complex. The Priority-based Functional Reactive Programming (P-FRP) paradigm could make microcontroller programming better. P-FRP makes it possible to treat programs as functions (stateless) and amenable to proofs and type-safety. In this paper, we focus on the abort-and-restart event handler semantics of P-FRP, which is neither a concurrency control policy nor a true scheduling policy. Instead, it is a policy in which the most important task is scheduled first. This paper refines the response time analysis for the abort-and-restart model on single-core systems.



Jim Ras and Albert M. K. Cheng, ``An Evaluation of the Dynamic and Static Multiprocessor Priority Ceiling Protocol and the Multiprocessor Stack Resource Policy in an SMP System,'' IEEE-CS Real-Time and Embedded Technology and Applications Symposium (RTAS), San Francisco, CA, April 13 - 16, 2009. RTAS 2009 Slides

Abstract:
There has been significant study of implementations of a variety of priority inversion control algorithms in uniprocessor systems, but there has been far less work done on the multiprocessor implementations of these algorithms. Herein, we will present such an evaluation of the Multiprocessor Priority Ceiling Protocol (MPCP) and the Multiprocessor Stack Resource Policy (MSRP). To our knowledge, no such empirical evaluation of these two policies has been conducted prior to this. We will show that the results differ from the previous simulation-based studies and that both policies are more or less equally effective. The main difference is the MSRP's expense. We discuss the efficacy of Ada-2005 and C/POSIX. We also discuss the methods through which we have attempted to overcome Ada's weakness in mapping tasks to processors



Albert Mo Kim Cheng and Jim Ras, ``Event-Based Semantics in the Implementation Language for Embedded and Critical Systems,'' Workshop on Event-Based Semantics, in conjunction with IEEE-CS Real-Time and Embedded Technology and Applications Symposium, April 2007.

A. M. K. Cheng and J. Ras, ``The Implementation of the Priority Ceiling Protocol in Ada 2005,'' ACM Ada Letters, Vol. 27, Issue 1, April 2007.

Selected Awards

Best Paper Award Nominee: ``Response Time Analysis of the Abort-and-Restart Model under Symmetric Multiprocessing,'' co-authored with Dr. Albert Cheng, Proc. 7th IEEE International Conference on Embedded Software and Systems (ICESS-2010), Bradford, UK, June 29 - July 1, 2010.

Best Paper Award Nominee: ``Response Time Analysis for the Abort-and-Restart Event Handlers of the Priority-Based Functional Reactive Programming (P-FRP) Paradigm,'' co-authored with Dr. Albert Cheng, Proc. 15th IEEE-CS International Conference on Embedded and Real-Time Computing Systems and Applications (RTCSA), Beijing, China, Aug. 2009.