필터 지우기
필터 지우기

delay a continous signal

조회 수: 14 (최근 30일)
swetha m
swetha m 2012년 8월 5일
답변: hamed 2014년 1월 20일
hi all
how to delay a continuous signal for a certain amount of time. i have a repeating sequence which needs to be delayed by 1 time unit in simulink after every 180 degrees.

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2012년 8월 5일
use a "unit delay" block. set a sample time with an amount of time. after every 180 degrees? can you be more clear?
  댓글 수: 2
swetha m
swetha m 2012년 8월 6일
i have to compare a sine wave and triangular wave for pwm. the triangular needs to be phase shifted by half its time period every time sine wave is in its negative half cycle. and the triggering pulses generated must be simultaneous signals
Azzi Abdelmalek
Azzi Abdelmalek 2012년 8월 6일
편집: Azzi Abdelmalek 2012년 8월 7일
use a "Transport Delay" block suggested by Govind and add a "switch" which will have 3 inputs
1- input 1 : your signal
2- input 3 : your delayed signal
3 -input 2 : your sine wave .
4- set a condition in your switch bloc
if the sine wave is positiv the output of your switch will be your original signal, and when the sine wave is negativ the output of your switch will be your delayed signal

댓글을 달려면 로그인하십시오.

추가 답변 (2개)

Kaustubha Govind
Kaustubha Govind 2012년 8월 6일
You can use the Variable Time/Transport Delay blocks for introducing a delay in continuous signals. By 180 degrees, I'm guessing you mean a delay of one half of the period, which you should specify accordingly.
  댓글 수: 2
swetha m
swetha m 2012년 8월 6일
i tried transport delay but it is not working and i need a block from the continuous time segment.
Kaustubha Govind
Kaustubha Govind 2012년 8월 7일
Transport Delay is indeed meant for continuous signals.

댓글을 달려면 로그인하십시오.


hamed
hamed 2014년 1월 20일
how can i have this delay by code ?

카테고리

Help CenterFile Exchange에서 Sources에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by