Adding delay to a boolean signal

3 visualizzazioni (ultimi 30 giorni)
Sarim Zuhair Haider
Sarim Zuhair Haider il 17 Feb 2021
Risposto: Sabin il 21 Gen 2024
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.

Risposte (1)

Sabin
Sabin il 21 Gen 2024
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.

Categorie

Scopri di più su Modeling in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by