"Check Against Reference" block doesn't read input signal

2 次查看(过去 30 天)
Hello,
I'm trying to minimize a signal using the "Check against reference" block in Simulink Design Optimization toolbox. But the signal does not show up in the plot of the check against reference block. It shows up in the scope, and also in the "Check Custom bounds" blocks but I can't get the Check against reference block to read the signal.
Some context: I have a model - a block with some mass at the origin. This block has stabilizing forces f1, f2, f3 which aim to always bring this block back to origin. Now, I apply an external force on the block, and find a solution for these stabilizing forces f1, f2, f3 such that A = (f1^2 + f2^2 + f3^2 ) is minimum. I understand this to be an optimization probem with two constraints.
  1. Set an allowable deviation (say +5mm to -5mm) of the block from the origin (using the "check custom bounds") block
  2. Minimize A (using the "check against reference" block with reference set to 0 throughout the simulation time)
Then, in the response optimizer, select these two constraints, along with the variables f1, f2, f3 to find a suitable solution for these variables. Is there any potential problem with this implementation? If not, now, I have to find a way to model Constraint #2, minimizing A. This is where I hit the roadblock.
Any inputs are greatly appreciated.

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by