How to provide a delay in seconds from an external block to a pulse generated by another block?

4 visualizaciones (últimos 30 días)
PWM pulse is generated comparing sinusoidal block and reference sawtooth block. now i have to provide a delay of one microseconds to this pulse.Kindly help me how to acheive this task.

Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 18 de Feb. de 2013
Use a unit delay block
  8 comentarios
Azzi Abdelmalek
Azzi Abdelmalek el 20 de Feb. de 2013
Then set the sample time of your pulse generator and the unit delay block to 1e-6
M A ullaah
M A ullaah el 27 de Jul. de 2013
Editada: M A ullaah el 27 de Jul. de 2013
"with a fixed step just by replacing the sample time of a delay block one can get the required delay" as said by u mr.azzi. But in this method the rising edge is delayed correctly but not the falling edge. Any other method can u suggest. or m-file coading? plz

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by