QP & Qt in Embedded Systems
The physical allocation of software functionality can become an architectural configuration decision rather than a fundamental organizing principle of the application itself.
Technology
Event-driven and hierarchical state-machine architecture using Quantum Leaps technology.
QP/QM organizes reactive firmware around events, active objects, and hierarchical state machines. Instead of scattering behavior across unrelated conditionals or threads, the architecture makes modes, transitions, and responses visible and testable.
It is particularly useful for products with multiple operating modes, asynchronous inputs, nested behaviors, and a need for maintainable state logic. WED source material covers QP/C, QP/C++, QM modeling, QSPY tracing, RTOS integration, testing, validation, and engineering support.
QP/QM models reactive behavior through events, active objects, and hierarchical state machines instead of scattering behavior across unrelated threads and conditionals.
Use this approach when a product has many modes, asynchronous inputs, nested behavior, and a need for explicit, testable state logic.
A trivial linear controller may not justify the modeling and event-tracing discipline this approach requires.
Approved WED material describes QP/QM, event queues, active objects, bare-metal or RTOS integration, model-driven workflows, and event tracing.
The physical allocation of software functionality can become an architectural configuration decision rather than a fundamental organizing principle of the application itself.
Choosing the Right Firmware Architecture: Main Loop vs RTOS vs State Machine Kernel
Quantum Leaps: A Hierarchical State Machine Firmware Framework