PIL by using F28069M

Hallay
Hallay Altair Community Member
edited October 2023 in Community Q&A

Hello all

I use PSIM example "Buck Converter with Current Feedback (for F28069M DSP) to test PIL block function.

image(I add red circle circuit to test sin and cos function)

The result of IL and Vm between simcoder and PIL is the same.

image

However sin and cos waveform is quite different.

Can anyone tell me how to solve this problem?

thanks a lot

image

Tagged:

Answers

  • Albert_Dunford
    Albert_Dunford
    Altair Employee
    edited October 2023

    Hi Hallay,

    We need to see the PIL block settings. Also, when using an instaspin enabled processor you need to check this box, this impact the memory location for the sin lookup tables used.

    image

  • Hallay
    Hallay Altair Community Member
    edited October 2023

    Hi Hallay,

    We need to see the PIL block settings. Also, when using an instaspin enabled processor you need to check this box, this impact the memory location for the sin lookup tables used.

    image

    Hi Albert

    It's helpful, now it works.

    thanks a lot.