完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
亲爱的各位,我正在写论文,所以我请求你们的帮助。我很少有关于AN1660源代码的查询。目前,我正在使用DSPIC33 F32 MC202实现基于正弦换向的无刷直流电机控制算法。这份文件帮助我理解了这些步骤。我的PWM FRQ是20kHz和正弦表与250个条目与最大振幅(32767至32767),产生正弦的80Hz。我的疑虑是:1)从输入的POT输入速度有HZ还是RPM单位?2)为什么频率仅增加到512?3)在选择可选择的振幅和频率方面是否存在权衡?4)((SimuluDuxMax * SimeTabLax)/RealSHIFT移位)必须~=半字节任务。这个半任务对应于PWM分辨率吗?如果是,那么我有1000作为最大值,然后根据我的PWM分辨率,我没有得到500.5的值)偏移120被计算为0x55 55,如文件中所描述的,不能计算相对于样本值的偏移量吗?(如:在4K Spple表中,如果假设60DEG对应第六百六十六个样本),请做必要的。
以上来自于百度翻译 以下为原文 Dear All, I am working on my thesis so I request for your assistance. I have few queries relating to AN1660 source code. I am currently working with dsPIC33F32MC202 to implement control algorithm for BLDC control using sine commutation. The document helped me lot to understand the steps. My PWM freq is 20Khz and sine table with 250 entries with max amplitude (32767 to -32767) which produce sine of 80Hz. My doubts are: 1) Does the input speed from POT used as input arguments has unit of Hz or RPM? 2)Why is the frequency increased only till 512? 3)is there a trade-off in selecting sinetable amplitude and frequency? 4) ((AMPLITUDE_MAX * SineTableMAX)/ RIGHT_SHIFT) must ~= HALF_DUTY.. Is this HALF_DUTY is corresponding to PWM resolution? If YES then I have 1000 as PWMMAX value then according to my PWM resolution i am not getting the value of 500. 5) Offset 120 is calculated as 0x5555 as described in document, couldn't it be possible to calculate the offset with respect to sample value? ( Eg: In a 4k smaples table, if suppose 60deg correspond to 666th sample). Please do the needful. |
|
相关推荐
1个回答
|
|
|
您正在使用DSPIC33 F32 MC202,那么您为什么要向PIC24论坛发布您的查询?
以上来自于百度翻译 以下为原文 You are working with dsPIC33F32MC202, so why are you posting your queries to the PIC24 forum? |
|
|
|
|
只有小组成员才能发言,加入小组>>
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
508 浏览 0 评论
5813 浏览 9 评论
2351 浏览 8 评论
2238 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3544 浏览 3 评论
1161浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
1122浏览 1评论
我是Microchip 的代理商,有PIC16F1829T-I/SS 技术问题可以咨询我,微信:A-chip-Ti
890浏览 1评论
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
508浏览 0评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-14 15:56 , Processed in 0.778725 second(s), Total 73, Slave 56 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
318