完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
嗨,
我想使用正交编码器进行速度/位置反馈,以便获得低速FOC控制。当我启用时,我在A0(编码器接口和相电流)和A1(编码器接口和总线电压)上发生引脚冲突。 我不知道如何解决这个问题,因为我没有任何跳线来路由到不同的引脚以及在固件中使用备用引脚的选项。 我有P-NUCLEO-IHM001 MC套件, 请协助 , 谢谢 伊姆蒂亚兹 #ihm001 以上来自于谷歌翻译 以下为原文 Hi , I would like to use the quadrature encoder for speed / Position feedback in order to get slow speed FOC control. When I enable that I have a pin conflict on A0 (encoder interface and Phase current) and A1 (encoder interface and Bus voltage). I am not sure how I can resolve this as I dont se any jumpers to route to different pins and the option of using alternate pins in firmware. I have the P-NUCLEO-IHM001 MC kit, Please assist , Thanks Imtiaz #ihm001 |
|
相关推荐
4个回答
|
|
|
|
|
|
|
|
|
Ciao Imtiaz
看一下X-NUCLEO-IHM07M1板的原理图,即P-NUCLEO-KIT提供的扩展板,我看到传感器的引脚是: Enc.A / H1 - > PA15 Enc B / H2 - > PB3 Enc Z / H3 - > PB10 因此,您可以避免引脚冲突设置WB项目中使用的正确引脚。 我建议使用原理图查看所有引脚分配。 另外一个小提示,FW不支持Enc Z.信号因此连接它没有用,只有Enc。 A和Enc。 B是考虑在内的。我建议阅读MC库的UM,以获得有关编码器解码的更多详细信息。 再见 梁咏琪 以上来自于谷歌翻译 以下为原文 Ciao Imtiaz Taking a look at the schematics of the X-NUCLEO-IHM07M1 board, that is the expansion board provided with the P-NUCLEO-KIT, I see that the pins of the sensors are: Enc.A/H1 -> PA15 Enc B/H2 -> PB3 Enc Z/H3 -> PB10 So you can avoid the pin conflicts setting the proper pins used into the WB project. I suggest to review all the pin assignment using the schematics. Another small hints, the FW didn't support the Enc Z. signal so it is not useful to connect it, only Enc. A and Enc. B is take in consideration. I suggest to read the UM of the MC library to have more details on Encoder decoding. Ciao Gigi |
|
|
|
|
|
嗨吉吉,
尝试在IHM07M1板上使用编码器时,我也遇到引脚冲突问题。 我发现当我启用编码器时: ''驱动管理'' - > ''速度/位置反馈管理'' 将“传感器选择”设置为“正交编码器” 我得到以下Pin coflicts 进入“Pin Assingment”菜单,我可以看到正交编码器应该能够使用备用和非冲突引脚进行配置,例如: A0 - > A15 A1 - > B3 根据第7页和第7页,这些似乎是电路板接头上编码器引脚的适当引脚分配。 UM1943文件中的8个 我的问题是我没有办法改变ST电机控制工作台中的引脚分配。单击Pin分配菜单中的任何位置似乎什么都不做。 我是否必须手动编辑生成的文件以使编码器引脚位于相应的备用映射上? 有没有办法可以在STMC WB内编辑这些引脚的位置? 谢谢 -Lucas 以上来自于谷歌翻译 以下为原文 Hi Gigi, I am also having issues with pin conflicts when trying to use an encoder with the IHM07M1 board. I have found that when I enable the encoder under: ''Drive Management'' -> ''Speed/Position Feedback Management'' setting ''Sensor Selection'' to ''Quadrature Encoder'' I get the following Pin coflicts
Going into the 'Pin Assingment'' menu, i can see that the Quadrature Encoder should be able to be configured using alternate and non conflicting pins such as: A0 -> A15 A1 -> B3 These seem to be the appropriate pin assignments for the encoder pins on the board header according to pages 7 & 8 of the UM1943 doccument My issue is that I have found no way of changing the pin assignment in the ST Motor Control Workbench. Clicking anywhere in the Pin assignment menu seems to do nothing. Do I have to manually edit the generated files to have the encoder pins on the appropriate alternate mapping? Is there a way that I can edit the locations of these pins inside the STMC WB? Thanks -Lucas |
|
|
|
|
|
Ciao Lucas
你有没有在控制阶段登记 - >数字I / O - >编码器接口? 在那里,您可以选择用于编码器的引脚。 如果您发现它已禁用,则必须在“驱动器管理”中将编码器设置为主要或辅助传感器 - >速度/位置反馈...... 并启用电机 - >传感器 再见 梁咏琪 以上来自于谷歌翻译 以下为原文 Ciao Lucas Did you check in Control Stage -> Digital I/O -> Encoder interface ? There you can select the pins used for the Encoder. If you find it disabled you have to set the encoder as primary or auxiliary sensor in Drive Management -> Speed/Position Feedback... and enable in the Motor -> Sensor Ciao Gigi |
|
|
|
|
只有小组成员才能发言,加入小组>>
stm32mp157的异核通信的rpmsg_sdb的m4固件和a7驱动该如何编写?
1453 浏览 0 评论
stm32f103用freertos对一个采样率为1kHz的传感器,进行采样,数据出差
1502 浏览 0 评论
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
3649 浏览 1 评论
3842 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
2461 浏览 1 评论
STM32H7打开DCache后,出现了串口接收信息为空的现象,是哪里出了问题?
727浏览 5评论
用NANO STM32F103RBT6的开发板烧录不了是哪里出了问题?
663浏览 5评论
710浏览 5评论
外部中断触发类型为双边沿触发,进入中断回调后有什么办法判断该边沿是上升沿还是下降沿?
941浏览 5评论
STM32L071CBT6低温环境下无法正常工作是什么原因引起的?
745浏览 5评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 07:33 , Processed in 0.846930 second(s), Total 76, Slave 59 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
298