How to detect peak value of continous input signal

3 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Thomas
Thomas il 23 Mag 2013
  1 Commento
c
c il 24 Mag 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.

Accedi per commentare.

Più risposte (1)

c
c il 24 Mag 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.

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by