Interpretation of Simulink block warning

10 次查看(过去 30 天)
Hello,
I'm back to Simulink after a few years of absence. However, I ran into following warning during simulation, which I've never seen before. And which I still can't interprete after reading it 5 times:
Minimum '-400' and maximum '400' from 'FOC_Controller/PI Controller/U_d' are mapped to a portion of the wide signal coming from 'Output Port 1' of 'FOC_Controller/PI Controller/DQ Limiter/Switch' and have been ignored during range checking. To enable the range checking for the minimum and maximum values, insert a Signal Conversion block with its 'Output' parameter set to 'Signal copy' in front of 'FOC_Controller/PI Controller/U_d'.
Only the bold sentence is unclear to me.
Thanks in advance and greetings,
Thomas

回答(2 个)

Jonas
Jonas 2021-7-8
You have defined minimum and maximum values of a certain output or signal, and then probably created a vector of it using a Mux block. The diagnostics complains that that min/max range is only defined for part of the vector signal.
That's my guess, because it's otherwise difficult to assess without seeing your model.

Thomas Becker
Thomas Becker 2021-7-28
Thanks for your answer, but, however, I still don't get it. I have attached a simple example model to reproduce the warning (R2021a and a copy exported to R2016b).
  • create a vector of both inputs 1 and 2 using a mux block
  • route the vector signal to a switch block and then to a demux block
  • afterwards, range checking is not possible, i.e. with the mentioned warning
However, without the switch block, range checking seems to working fine and without warnings.
I just don't understand whats happening in the background and what's the reason for not being able to check the range...

类别

Help CenterFile Exchange 中查找有关 Naming Conventions 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by