Adding delay to a boolean signal

3 visualizaciones (últimos 30 días)
Sarim Zuhair Haider
Sarim Zuhair Haider el 17 de Feb. de 2021
Respondida: Sabin el 21 de En. de 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.

Respuestas (1)

Sabin
Sabin el 21 de En. de 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.

Categorías

Más información sobre Modeling 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