Using a look-up table for decoupling waveforms

2 ビュー (過去 30 日間)
Milos Bozovic
Milos Bozovic 2023 年 7 月 3 日
回答済み: Andy Bartlett 2023 年 7 月 5 日
Hello everyone,
I am building a vector tracking observer to estimate the PMSM rotor position. I want to do harmonic decoupling. The idea is to build a 'perfect' decoupling waveforms, and store them so they can be used from the look-up tables. But the problem is they look like this:
The input to the look-up table is the rotor position going from 0 to 2*pi, and the output should be the corresponding value from this waveform.
But this is not usable for the standard look-up table and I get an error: "Values of BreakpointsForDimension1 in '...' must be monotonically increasing.
Is there a way around this?
Thank you.

採用された回答

Andy Bartlett
Andy Bartlett 2023 年 7 月 5 日
Hi Milos,
I've created a FAQ in response to your question Resolve Error Lookup Repeated Breakpoints.
The FAQ includes a utility that will try to adjust the breakpoints used in your table.
Please, see if that helps.
Andy

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by