🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

How to fix "Fixed Point DSP overflow on f28035x". Simulation is giving accurate results but when I interface controller with Typhoon HIL resulting in completely unstable system

User: "Altair Forum User"
Altair Employee
Updated by Altair Forum User

Initially, almost all of the elements are overflowing and then I adjusted one by one as per the results shown on fixed point range check. HIL results are completely diverging though after fixing default data types.

Do you think I have to upgrade to a new controller with more memory?
Your suggestions would be appreciated!

image

 

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "Rhonda_20369"
    New Altair Community Member
    Updated by Rhonda_20369

    PSIM's function "Check Fixed Point-Range" warns you when the values are overflow.

     

    The red highlighted lines are the error messages: overflow already occurred in simulation results. you must reduce the settings in large scale.

    The yellow highlighted lines are the warning messages: those values are close to the overflow in simulation. In a real target operation, overflows are likely to occur. This is because the simulation was run for one specific condition. In real system some other factors may affect the dynamic behavior.

    You should reduce those settings to avoid overflow.

     

    To avoid overflow issue, the "Setting" should be 2 or more lower than "Required".

    For example, in your list, Summer(+/-) "SUM27" has the required number of 22. Its setting should be 20 or lower.