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.

duty value of the PWM and 2P2Z output PWM和2P2Z输出的占空比值

我尝试着读取代码“"2-Pole 2-Zero Controller- CNTL2P2Z”,而PWM输出的占空比值是从2P2Z计算产生,使用如下公式:

 

PWM_cmd = EPWMx_PRD - (cntl2p2z_pwm.Out*EPWMx_PRD) ;

 

有谁能在这里帮我一下吗?