完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
FOC库很复杂,我很难理解如何使用它。即使在阅读UM1052,UM1053之后。
在最高级别,我们可以启动/停止电机 if(MCI_GetSTMState(oMCI [M1])== IDLE){MCI_StartMotor(oMCI [M1]); } else {MCI_StopMotor(oMCI [M1]); } 但是如何设置速度和电流? 另一个问题 - 我也必须驱动直流电机。我应该为此目的设置什么? 有更广泛的例子吗? 以上来自于谷歌翻译 以下为原文 The FOC library is complicated and I have some difficulties to understand how to work with it. Even after reading UM1052, UM1053. On the highest level we can start/stop a motor if (MCI_GetSTMState(oMCI[M1]) == IDLE) { MCI_StartMotor(oMCI[M1]); } else { MCI_StopMotor(oMCI[M1]); } But how to set velocity and current? Another question - I have to drive DC motors as well. What should I set for this purpose? Is there more extensive examples? |
|
相关推荐
5个回答
|
|
|
对于第二个问题,您的意思是有刷或无刷直流电机
PMSM FOC库用于驱动无刷库。 以上来自于谷歌翻译 以下为原文 For the second question, did you mean brushed or brushless DC motors PMSM FOC library is for driving the brushless ones. |
|
|
|
|
|
我需要驱动直流电机和BLDC。所以我认为有一种方法可以将固件设置为全桥驱动程序。
以上来自于谷歌翻译 以下为原文 I need to drive DC motors as well as BLDC. So I thought there is a way to set the firmware to behave like a full bridge driver. |
|
|
|
|
|
我不认为FOC SDK适用于驱动有刷直流电机。有刷电机的电极与无刷电机相比机械换向,我们需要复杂的算法来整流电机绕组。
如果您确实需要一个综合解决方案,请查看此文档: http://www.st.com/content/ccc/resource/sales_and_marketing/promotional_material/selection_guide/group0/52/61/48/55/a5/92/44/a4/sgstspin/files/sgstspin.pdf/jcr:内容/翻译/ en.sgstspin.pdf 以上来自于谷歌翻译 以下为原文 I don't think FOC SDK is applicable for driving Brushed DC motors. The poles in Brushed motors are mechanically commutated vs the Brushless ones where we need complex algorithms to commutate motor windings. If you do need an intergated solution, take a look at this document: http://www.st.com/content/ccc/resource/sales_and_marketing/promotional_material/selection_guide/group0/52/61/48/55/a5/92/44/a4/sgstspin/files/sgstspin.pdf/jcr:content/translations/en.sgstspin.pdf |
|
|
|
|
|
L6235或L6229将是完美的。但我需要10-15安培电流。
以上来自于谷歌翻译 以下为原文 L6235 or L6229 would be perfect. But I need current 10-15 ampere. |
|
|
|
|
|
嗨,
我确认无法修改FOC库以使其作为全桥驱动程序工作。 此外,与驱动有刷直流电动机的任务相比,这种驱动技术非常复杂。 我建议你从像这样的简单固件开始 http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32cube-expansion-packages/x-cube-spn4.html 对于您需要的电流额定值,ST可以为您提供一整套栅极驱动器和mosfet。 恩里科 以上来自于谷歌翻译 以下为原文 Hi, I confirm the FOC library cannot be modified to make it work as a full-bridge driver. Moreover this driving technique is extremely complex compared to the task of driving a brushed DC motor. I suggest you to start from an easier firmware like the http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32cube-expansion-packages/x-cube-spn4.html For the current ratings you need, ST can provide you a complete set of gate drivers and mosfets. Enrico |
|
|
|
|
只有小组成员才能发言,加入小组>>
stm32mp157的异核通信的rpmsg_sdb的m4固件和a7驱动该如何编写?
1454 浏览 0 评论
stm32f103用freertos对一个采样率为1kHz的传感器,进行采样,数据出差
1503 浏览 0 评论
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
3650 浏览 1 评论
3842 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
2461 浏览 1 评论
STM32H7打开DCache后,出现了串口接收信息为空的现象,是哪里出了问题?
728浏览 5评论
用NANO STM32F103RBT6的开发板烧录不了是哪里出了问题?
663浏览 5评论
710浏览 5评论
外部中断触发类型为双边沿触发,进入中断回调后有什么办法判断该边沿是上升沿还是下降沿?
941浏览 5评论
STM32L071CBT6低温环境下无法正常工作是什么原因引起的?
745浏览 5评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 16:59 , Processed in 0.718817 second(s), Total 83, Slave 65 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
463