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.
0 个评论
回答(1 个)
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'))
0 个评论
社区
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!