can not disable encoder alignment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-11-23 12:10 AM
The generated codes are same when check or not check the button 'Encoder Alignment'.
- Labels:
-
STM32 Motor Control
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-12-01 1:53 AM
我�?�?ï¿½ä¸Šä¼ stmcx文件。目�?还没完全看懂sdk,如果看懂了,我�?�以自己修改。
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-12-01 1:54 AM
好,有问题�?�时沟通。
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-12-01 4:44 AM
æˆ‘ä¸Šä¼ äº†æˆ‘çš„stmcx文件,由于�?�?è®¸ä¸Šä¼ stmcx�?�缀的文件,把�?�缀改�?了​txt。
�?�外问下,MCSDK�?��?�能支�?�?编�?器�?�?​
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-12-01 4:49 AM
我用stlink调试了一下代�?,�?次上电�?�,第一次start motor�?�,都会先执行编�?器对�?ï¼Œå› ä¸ºç¼–ï¿½?器默认是未对�?的。MC_AlignEncoderMotor1函数也是将状�?机修改为IDLE_ALIGNMENT。
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-12-01 6:47 PM
�?性编�?器对MCU的接�?�如果和Encoderä¸€æ ·ï¼Œåˆ™ç›´æŽ¥é‡‡ç”¨Encoder的代�?�?��?�。如果�?�?�,则需�?用户自行解决。目�?,SDK没有针对具体Encoder的类型(光电,�?ç¼–ç‰ï¼‰ï¿½?�程�?。
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-12-01 6:48 PM
如果是MCU�?新上电,�?�论上是�?�?�对�?çš„ï¼Œå› ä¸ºæ¤æ—¶MCUæ— æ³•åˆ†è¾¨å½“ï¿½?çš„ç›®æ ‡ç”µæœºæ˜¯åŽŸï¿½?�的还是新的。
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-12-01 10:01 PM
编�?器对�?的时候为什么是控制D轴电�?,电机�?转起�?��?应该是控制Q轴​�?�?
case ALIGNMENT:
if ( !EAC_Exec( &EncAlignCtrlM1 ) )
{
qd_t IqdRef;
IqdRef.q = 0;
IqdRef.d = STC_CalcTorqueReference( pSTC[M1] );
FOCVars[M1].Iqdref = IqdRef;
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-12-01 10:07 PM
编�?器对�?�?�以是对�?任�?已知的相�?。目的是为相对编�?盘�??供一个�?始�?置,从而获得转�?的�?对�?置。
这与控制是�?相关的。
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-12-01 10:29 PM
编�?器对�?的这三个�?�数什么�?义?设置时有什么需�?注�?的�?�?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-12-01 10:32 PM
Duration: 对�?�?作所需�?的时间
Alignment electrical angle: �?对�?çš„ç›®æ ‡ç›¸ï¿½?
Final current ramp value: 在对�?过程ä¸ï¼Œç»•组ä¸çš„电�?从0 在对�?时间内�?�?åŠ åˆ°è¿™ä¸ªå€¼ï¼Œå·²è¾¾åˆ°å¹³ç¨³å¯¹ï¿½?的目的。​
