• slider image 442
  • slider image 483
  • slider image 484
  • slider image 485
  • slider image 486
  • slider image 487
  • slider image 488
  • slider image 491
:::

論壇索引


Board index » All Posts (lzxdtc)




关于AN1017的一点问题
#1
新會員
新會員


请问:
1.PHASE_ZERO到底怎么选?如果选0、15度或其他会怎么样?有没有什么原则?
// These Phase values represent the base Phase value of the sinewave for each
// one of the sectors (each sector is a translation of the hall effect sensors
// reading
#define PHASE_ZERO
57344
#define PHASE_ONE
((PHASE_ZERO + 65536/6) % 65536)
#define PHASE_TWO
((PHASE_ONE + 65536/6) % 65536)
#define PHASE_THREE
((PHASE_TWO + 65536/6) % 65536)
#define PHASE_FOUR
((PHASE_THREE + 65536/6) % 65536)
#define PHASE_FIVE
((PHASE_FOUR + 65536/6) % 65536)

2.PhaseOffset为什么大约22.5度?怎么得到的?

// In the sinewave generation algorithm we need an offset to be added to the
// pointer when energizing the motor in CCW. This is done to compensate an
// asymetry of the sinewave
int PhaseOffset = 4100;

希望各位能夠不吝賜教

發表於: 2009/5/14 13:14
頂部






:::

Microchip連結

https://www.facebook.com/microchiptechnologytaiwan/
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=13
https://mu.microchip.com/page/tmu
http://elearning.microchip.com.tw/modules/tad_link/index.php?cate_sn=1
https://page.microchip.com/APAC-PrefCenters-TW.html
http://www.microchip.com/
http://www.microchip.com/treelink
http://www.microchipdirect.com/
http://www.microchip.com.cn/newcommunity/index.php?m=Video&a=index&id=103
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=2
http://www.microchip.com.tw/Data_CD/eLearning/index.html
http://www.microchip.com.tw/RTC/RTC_DVD/
https://www.microchip.com/development-tools/
https://www.youtube.com/user/MicrochipTechnology
[ more... ]

教育訓練中心

!開發工具購買
辦法說明 [業界客戶] [教育單位]
----------------------------------
!校園樣品申請
辦法說明 [教師資格] [學生資格]
----------------------------------