How can external parameters be used to set the Delay Time parameter when using the Blanking Time module, specifically to achieve arbitrary configuration of this parameter through external variables?
I suspect that by “external variables” you mean “external signals” that change dynamically during a simulation.
The Blanking Time blocks currently do not support this out-of-the-box, but you can easily implement this functionality yourself:
- Copy a Blanking Time block into your model
- Right-click on it and select Subsystem > Break library link from the context menu, then select Subsystem > Look under mask from the context menu.
- Open the dialogs of the Delay blocks in the subsystem and change the parameter Dead time source from
internal
toexternal
. - Add another Signal Inport to the subsystem, name it e.g.
Tb
and connect it to theT
inputs of the Delay blocks. - On the Blanking Time block icon, you can drag the new
Tb
input to a desired location by pressing the Shift key. - Finally, select Subsystem > Edit mask… from the context menu and on the Dialog page remove the now obsolete dialog parameter “Delay time (s)”.