Conversion of SIMULINK models to code for F28379D

5 views (last 30 days)
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.

Answers (0)

Categories

Find more on Deployment, Integration, and Supported Hardware in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!