MATLAB Answers

How to detect peak value of continous input signal

조회 수: 59(최근 30일)
c
c 23 May 2013
Hi there,
I am using Simulink to build up a control box to control the dynamic mechanical model built up in a specialized software X. During simulation, a continous signal from X will be feed into the simulink control box. I would like to know how to let the control box continously monitor and detect the maximum peak of the signal (in order to active control).
Many thanks for your help

  댓글 수: 0

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

채택된 답변

Thomas
Thomas 23 May 2013

  댓글 수: 1

c
c 24 May 2013
Hi Thomas, many thanks for the answer.
Could you please give me some advices on the fellowing question:
When the maximum peak of continous signal A from software X is detected,I would like the control box to record the maximum A value,and at the same time to record the value of another continous signal B from software X; then the control box continously monitors signal A until the A value drops to a certain percentage(lets say 10%)of the previously detected maximum peak value; the control action is actived to control the continous signal B to reach the previously recorded B value.
Could you please give some advices about which function blocks I should use to achieve the peak max A value and B value record; the percentage drop detection of A value, and the control action trigger.

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

추가 답변(1개)

c
c 24 May 2013
Hi Thomas, many thanks for the answer.
Could you please give me some advices on the fellowing question:
When the maximum peak of continous signal A from software X is detected,I would like the control box to record the maximum A value,and at the same time to record the value of another continous signal B from software X; then the control box continously monitors signal A until the A value drops to a certain percentage(lets say 10%)of the previously detected maximum peak value; the control action is actived to control the continous signal B to reach the previously recorded B value.
Could you please give some advices about which function blocks I should use to achieve the peak max A value and B value record; the percentage drop detection of A value, and the control action trigger.

  댓글 수: 0

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

Community Treasure Hunt

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

Start Hunting!

Translated by