How can I create an impulse (delta) signal in Simulink?

조회 수: 699 (최근 30일)
Alessio Conte
Alessio Conte 2018년 5월 4일
댓글: SAMSARA NIRVANA 2021년 12월 29일
How can I create an impulse (delta) signal in Simulink? I looked for it in "Sources" library but there is not.

채택된 답변

Mark Lin
Mark Lin 2019년 3월 27일
Hi Alessio,
Use a step response block and linked it to a derivative block can create a delta, impulse, signal.
All you need to do is making sure the response time in your system.
Hope it help.
  댓글 수: 3
Fangjun Jiang
Fangjun Jiang 2019년 3월 29일
Alessio Conte, what is your purpose of needing a pulse in Simulink?
The derivative of a step signal is the impulse signal. But that is only theoritical. Doing that in Simulink, the outcome depends on the sample time.
Jimmy Sølvsteen Nielsen
Jimmy Sølvsteen Nielsen 2020년 6월 12일
I could see several uses for a pulse function in Simulink. For example adding a defined amount of chemical into a mixing tank volume instantaneously, and having delayed mixing in the tank. calculating output concentration is a common chemical enginering task.
I get that takting the derivative of the step function will depend on the sample time, and I wonder why the Dirac function is not available in the Simulink function library?

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

추가 답변 (3개)

Chul-Goo Kang
Chul-Goo Kang 2019년 12월 28일
Use step input and multiply s in the transfer function of the next block.
  댓글 수: 2
Henry Davies
Henry Davies 2020년 3월 30일
Can you please explain what you mean by this?
SAMSARA NIRVANA
SAMSARA NIRVANA 2021년 12월 29일
esta derivando

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


Fangjun Jiang
Fangjun Jiang 2018년 5월 4일
편집: Fangjun Jiang 2018년 5월 4일
From the note of impulse():
Note: In discrete time, impulse computes the response to a unit-area pulse of length Ts and height 1/Ts where Ts is the sample time. This pulse approaches the continuous-time Dirac impulse delta(t) as Ts goes to zero.
So you will construct a pulse of width as Ts and height as 1/Ts.
  댓글 수: 2
Alessio Conte
Alessio Conte 2018년 5월 5일
Hi, thanks for your answer. Not sure to have understood... do you mean that a rectangular signal whose base is Ts and height is 1/Ts is the equivalent of a delta impulse signal? I attach an image of what i mean
Fangjun Jiang
Fangjun Jiang 2018년 5월 7일
That is correct. When Ts->0, the pulse becomes the theoretical delta (the impulse).

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


Alessio Conte
Alessio Conte 2019년 3월 29일
Yes you're right actually...I was just curious of doing what we have seen in classe but actually doesn't make sense.
Thanks!

카테고리

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