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
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!
Answers
-
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.
0