JAVA-BASED REAL-TIME PROGRAMMING
JAVA-BASED REAL-TIME PROGRAMMING
JAVA-BASED REAL-TIME PROGRAMMING
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
2. Fundamentals<br />
as expressed in the source code should result in the same correct result<br />
independent of the underlying scheduler or operating system.<br />
• Correctness from a real-time point of view; the timing requirements are<br />
considered so that control output is computed in time.<br />
• Proper object oriented design and implementation; we use the established<br />
principles of object orientation to improve structure, readability,<br />
maintainability, etc. of embedded software.<br />
• Appropriate trade-off between active and passive objects; the thread<br />
class should be used where appropriate but not too excessive for efficiency<br />
and readability reasons.<br />
• Proper protection of shared resources; the concepts of semaphores, synchronized<br />
methods, and messages (events) should be used appropriately.<br />
Since software development tends to take a bigger and bigger part of system<br />
development resources, it is very important that we are able to handle the<br />
above items. In a wider perspective, there are different approaches to development<br />
of embedded systems. The focus could be on hardware, control<br />
theory, and/or software issues. All of these focuses are important for industrial<br />
development of control systems. Here we approach the development of<br />
embedded software from a programming point of view, leaving the rest (like<br />
selection of computing and IO hardware, discretizing control algorithms, etc.)<br />
for other books.<br />
40 2012-08-29 16:05