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.

[参考译文] CCS:N2HET 不能输出 PWM?

Guru**** 2478765 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/682925/ccs-n2het-can-not-output-pwm

工具/软件:Code Composer Studio

尊敬的所有人:

      hetmax 值为2000。 当最大值大于 1990时、PWM 不能输出???μ A

#define hetmax 1982
U=hetmax * SinTab1024[MotorAngle]>14;
V=hetmax * SinTab1024[(MotorAngle+341)&0x3FF]>14;
W=hetmax * SinTab1024[(MotorAngle-341)&0x3FF]>14;

U=(U+2000)/2;
V=(V+2000)/2;
W=(W+2000)/2;
hetRAM1->Instruction [Phet_BUFDCA_0 + 0].Data = U;
hetRAM1->Instruction [Phet_BUFDCA_0 + 1].Data = V;
hetRAM1->Instruction [Phet_BUFDCA_0 + 2].Data = W;

e2e.ti.com/.../1488.DRV3205_5F00_N2HET.rar

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好、Feng、

    U、V、W 的值被编程到 Add.data 字段中?
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好 QJ:
    U、V、W 的值是永磁同步电机的三相占空比。 三个120度的正弦波形。

    今天、我们将尝试另一个示例:

    #define hetmax 1992
    u=hetmax;
    V=hetmax;
    W=hetmax;
    hetRAM1->Instruction [Phet_BUFDCA_0 + 0].Data = U;
    hetRAM1->Instruction [Phet_BUFDCA_0 + 1].Data = V;
    hetRAM1->Instruction [Phet_BUFDCA_0 + 2].Data = W;
    无法发出 PWM 波形。
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好、Yang、

    您是否已解决问题以获得 PWM 输出?