Field oriented control speed controller hdl conversion
조회 수: 3 (최근 30일)
이전 댓글 표시
Hello,
I'm having trouble when trying to convert the speed controller into hdl, I'm getting this error
I've tried eliminating initial conditions and reset before the block but no luck.
The model is;
open_system('mcb_pmsm_foc_autotuner.slx');
댓글 수: 0
채택된 답변
Kiran Kintali
2020년 11월 16일
Field-Oriented Control of a Permanent Magnet Synchronous Machine
In this example you will review a Field-Oriented Control (FOC) algorithm for a Permanent Magnet Synchronous Machine (PMSM). You will test the control algorithm with closed loop system simulation then generate HDL code for the control algorithm. You will also see how tunable parameter data is specified and how corresponding HDL port entities are generated.
Introduction
The example is partitioned such that you can generate code for the control algorithm as well as verify the behavior of the control algorithm using a simulation test bench. Simscape (TM) Electrical (TM) is required to run the system simulation test bench model hdlcoderFocCurrentTestBench.slx but is not required to generate code from the control algorithm model hdlcoderFocCurrentFixptHdl.slx.
>> which hdlcoderFocCurrentFloatHdl
>> which hdlcoderFocCurrentFixptHdl
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Model Compatibility Checks에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!