Microchip
直播中

刘景

8年用户 211经验值
私信 关注
[问答]

HS PWM输入捕获速度计算失败

HI在一起,我是DSPIC的新手,尝试使用MLCV V2和3EP256MC506芯片运行PMSM,使用Simulink BuffSt3.3。因此,我需要测量电机的速度,这是通过测量霍尔传感器的两个侧面之间的时间间隔与输入捕获块来实现的。RYtiME我开始在高速PWM块上放置一个dutyCyCe它没有得到正确的速度。没有HS PWM模块的速度测量工作很好,但我不知道我的错误在哪里?有人能帮我吗?请看下面的模型,谢谢安德烈亚斯

以上来自于百度翻译


      以下为原文

    Hi together,

I am new to dsPIC and trying to run a PMSM with a MCLV V2 and an 33EP256MC506 Chip using Simulink Blockset 3.38.

Therefore I need to measure the speed of the motor, which I realized by measuring the time Periode between two flanks of a Hall-Sensor with an Input Capture Block.

However, everytime I start to put a Dutycylce on the High-Speed PWM block it doesn't get the correct speed. Without the HS PWM block speed measurement works fine, but i don't know where my mistake is??

Can anybody help me?

See my model attached below,

Thanks Andreas
   Attachment(s)

Dutycyle_trial1.slx (42.98 KB) - downloaded 87 times

回帖(1)

康大争

2019-5-9 08:36:40
嗨,安德烈亚斯,当你启动PWM(和马达功率MOSFET)时,你可以检查你是否在IC输入引脚上有任何故障。鲁宾

以上来自于百度翻译


      以下为原文

    Hi Andreas,
 
You might check if you don't get any glitches on the IC input pins when you starts your PWM (and MOTOR power MOSFET).
 
Lubin
 
举报

更多回帖

发帖
×
20
完善资料,
赚取积分