Question about signal value record, percentage drop detection and control action trigger

1 次查看(过去 30 天)
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 continuous signal A from X will be feed into the simulink control box. I would like to let the control box continuously monitor and detect the maximum peak of the signal A (in order to active control).
When the maximum peak of continuous 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 continuous signal B from software X; then the control box continuously monitors signal A until the A value drops to a certain percentage(lets say 10%,user defined)of the previously detected maximum peak value; the control action is actived to control the continuous signal B to reach the previously recorded B value.
Could anyone please give some advises 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.
Many thanks for your help.

回答(1 个)

Jeff
Jeff 2013-5-28
I would like to ask the same question about the percentage drop detection.

类别

Help CenterFile Exchange 中查找有关 View and Analyze Simulation Results 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by