Conversion of SIMULINK models to code for F28379D
6 次查看(过去 30 天)
显示 更早的评论
I am trying to implement a single-phase PLL using the F28379D microcontroller. The PLL is working fine in the simulation but not working after uploading the code to the F28379D MCU.
I think The PI controllers I used were in Laplace transform, so the MCU doesn't support it.
I tried using discrete delay for the input sinewave, and that was working fine, so I concluded that the discrete filter is working with the F28379D.
There is a continuous and discrete PLL block available in the SIMSCAPE; both are working fine in the simulation but not with the F28379D. I think we can only convert SIMULINK blocks into the code.
Kindly suggest to me what I should do to implement single-phase PLL using F28379D? I have less knowledge about what are blocks we can use and what we cannot.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Model Preparation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!