Real-Time Workshop    

Sample Rate Transitions

There are two possible sample rate transitions that can exist within a model:

In singletasking systems, there are no issues involving multiple sample rates. In multitasking and pseudomultitasking systems, however, differing sample rates can cause problems. To prevent possible errors in calculated data, you must control model execution at these transitions. In transitioning from faster to slower blocks, you must add Rate Transition blocks between the faster and slower blocks.

Figure 8-6: Transitioning from Faster to Slower Blocks (T = sample period)

In transitioning from slower to faster blocks, you must add Rate Transition blocks between the slower and faster blocks.

Figure 8-7: Transitioning from Slower to Faster Blocks (T = Sample Period)


  Singletasking vs. Multitasking Operation Data Transfer Problems