This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F2800137: 锁相环软件设计仿真--频移

Part Number: TMS320F2800137

在锁相环软件设计的仿真中,频移的仿真结果相位没有完全重合,请问这是正常的吗?以下是我截取文档https://www.ti.com.cn/cn/lit/pdf/sprabt3?keyMatch=SOFTWARE%20PHASE%20LOCKED%20LOOP%20DESIGN的图片,黄色框内是我不明白的。

...

  • 参考下文档中的这段话,上图只是相关的测试结果:

    Before coding the SPLL structure it is essential to simulate the behavior of the PLL for different conditions on the grid. Fixed-point processors are used, for their for lower cost in many grid tied converters. IQ Math is a convenient way to look at fixed point numbers with a decimal point. C2000 IQ math library provides built-in functions that can simplify handling of the decimal point by the programmer. However, coding in fixed point can have additional issues of dynamic range and precision; therefore, it is better to simulate the behavior of fixed-point processors in a simulation environment. Hence, MATLAB® is used to simulate and identify the Q point at which the algorithm needs to run. Below, is the MATLAB script using the fixed-point toolbox that tests the PLL algorithm with varying grid condition.

  • 所以这是定点计算带来的误差?

  • 是的