Discrete Transfer Function Truncating Signal?

4 visualizaciones (últimos 30 días)
Joe Byrne
Joe Byrne el 12 de Mayo de 2022
Respondida: Paul el 12 de Mayo de 2022
Hi,
I've encountered a seemingly impassable issue with Discrete Transfer Functions in Simulink. There seems to be a technical issue with my Discrete Transfer Function for my inverse controller block. The signal before the block is of length tout but the length of its output is always 67 without fail. This means that in the realistic system when the length of the signal should be ~2000 (simulated 20s), it's actually 67 and this is catastrophic for my functionality.
Some other useful information:
- T_s = 0.3 and all discrete blocks have 'T_s' set as sampling period
- I have split my task into experimental (EXP) and post-processing (PST)
- I have not changed anything within the subsystem for the realistic plant
- The errors in the blocks are resolved when I run my IFT program
Any help would be greatly appreciated,
Joe

Respuestas (1)

Paul
Paul el 12 de Mayo de 2022
If the sample time of the DTF block is 0.3, and the simulation runs for 20.1 - 20.39999999 seconds, there should be 20.1/0.3 = 67 samples of output from the block, regardless of the sample time of the signal that is input to the block. Is that consistent with what is being observed?

Categorías

Más información sobre Simulink en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by