Eliminating algebraic loops with the Induction motor simulation

1 次查看(过去 30 天)
Hi everyone! I am working on this kind of block diagram to eliminate algebraic loops to generate HDL code. I am simulating the Induction motor and the simulation was successful. But it contains a lot of algebraic loops. I am sharing one particular subsystem here, which contains a model of flux calculation.
Actually, the thing is that, 4 loops are simulated with each one's results fed into one another's inputs. Below is 2 loop simulation.
It would be great if someone can explain the process of how to reduce the algebraic loops here without affecting the results. Thanks in advance.

回答(1 个)

Kiran Kintali
Kiran Kintali 2020-8-23
For HDL code generation the model first needs to be discretized (use z^-1 blocks).
Attached is an example model with flux equation computation using Simulink generating HDL using native floating point features.
For motor control on FPGA here are good examples
web(fullfile(docroot, 'hdlcoder/ug/field-oriented-control-of-a-permanent-magnet-synchronous-machine.html'))
web(fullfile(docroot, 'hdlcoder/ug/clockratepipelining.html'))

社区

更多回答在  Power Electronics Control

类别

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

产品


版本

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by