At work, we are discussing the design of a new platform, and one of the top management types said that we need to run our current code base (C on Linux), but be in real time, because it needs to respond in less than a second to various inputs. I noted that:
- This point does not mean that it should be "in real time" only so that it needs a faster clock and more optimization in handling interrupts.
- One of the key points to consider is the OS used. They wanted to stick with embedded Linux, I pointed out that we need RTOS. Using Linux will prevent "real time" due to kernel / user memory tearing, so I / O is done through files and sockets that introduce a delay
- We need to determine whether this needs to be determined (we need to respond to input at <200ms 90% of the time, for example).
In fact, if point 3 is true, then it should be a real-time system, and point 2 is the biggest consideration.
I felt confident in the answer, but then I thought about it later ... What do others think? Am I on the right track here, or am I missing something?
Is there any difference that I miss between the "real time" and "deterministic" systems? And besides RTC and RTOS, am I missing something important that is required to run a real-time real-time system?
Look forward to some great answers!
EDIT:
Got some good answers so far, it seems like a little curiosity about my system and requirements, so I will add a few notes for those who are interested:
- My company sells units in ten thousand, so I donโt want to go for the kill for the price.
- Usually we sell the main processor board and independent display. A network of other CAN devices is also connected there.
- The board (currently) launches the devices and also acts as a web server sending the main XML documents to the display for end users.
The requirements are given here where management wants the display to be updated โfastโ (<1s), however true IMO restrictions come from devices that can be connected via CAN. These devices are often engine-driven devices with requirements, including "must be responsive in less than 200 ms."
Mike
source share