Adding delay to a boolean signal

5 次查看(过去 30 天)
Sarim Zuhair Haider
回答: Sabin 2024-1-21
Hi. So Im currently working to control the switching process of a full bridge system. I need to delay the resulting boolean signal by a factor of Ts/2 (where Ts is the time period of the converter [equal to 1/(200e3)]) . I have tried delay block, and transport delay but none seems to work.

回答(1 个)

Sabin
Sabin 2024-1-21
If the model is running in fixed-step discrete using sample time Ts then it would not be possible to delay the signal by Ts/2. The solution would be to make the sample time as small as needed to capture the required delay.
If the simulation is done in continuous time variable step you have to check that the min step size is small enough to capture the delay.

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by