Clear Filters
Clear Filters

How to detect peak value of continous input signal

7 views (last 30 days)
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

Accepted Answer

Thomas
Thomas on 23 May 2013
  1 Comment
c
c on 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.

Sign in to comment.

More Answers (1)

c
c on 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.

Products

Community Treasure Hunt

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

Start Hunting!