完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
亲爱的大家,
我正在使用STM32F303和FOC Library 4.1构建应用程序。 我们正在使用具有三个分流拓扑的定制板。 PWD为16kHZ,电机转速高达26k rpm。我将霍尔传感器用于静电阶段,并切换到无传感器模式。一切都像魅力一样,直到我使用DMA实现一些功能(一个用于在SD卡上写入,另一个用于在通过FSMC控制的LCD上绘制存储在闪存中的位图)。 当调用thes函数时,MCI_GetSTMState返回和错误状态以及MCI_GetOccurredFaults返回。 有没有人知道这个问题的原因是什么? 以上来自于谷歌翻译 以下为原文 Dear all, i'm building an application using STM32F303 and FOC Library 4.1. We're using a custom board with three shunt topology. PWD is 16kHZ and the motor runs up to 26k rpm. I use hall sensors for the statup phase and the switch to sensorless mode. Everything worked like a chARM until i atted some functions using DMA (one is used to write on an SD Card and the other is used to draw a bitmap stored in flash on a LCD controlled via FSMC). When thes functions are called the MCI_GetSTMState returna and error state and MCI_GetOccurredFaults returns . Does anybody have an idea of what can be the cause of this issue? |
|
相关推荐
2个回答
|
|
嗨,
我在使用CAN开放式通信时遇到同样的问题。我们正在努力解决问题。我会重复,直到找到解决方案。 我读到你启动HALL并切换到无传感器,我们想做同样但不知道如何继续 任何帮助都会很棒。 30.03.2016找到了开关传感器的解决方案 以上来自于谷歌翻译 以下为原文 Hi, i get same problem when using CAN open comunication. We work on to figure out the problem at the Moment. i will repeat until we find a solution. I read you start up with HALL and switch to sensorless we want to do the same but do not know exactly how to proceed Any help will be great. 30.03.2016 found solution for switching sensors |
|
|
|
再见
FOC持续时间是当FOC无法及时完成所需算法时出现的错误消息。 一旦电动机电流的新测量完成,FOC算法就开始,并且当计算出应用于输出的占空比时结束。如果这发生在下一个控制周期之前(通常这是PWM的频率,或者它可以除以FOC比率),则没有问题。如果这花费太多时间,则提高FOC持续时间。 可能在您的情况下,您正在编写以相同优先级(或更高)执行的代码的一部分,这些优先级(或更高)遵循FOC算法的优先级,并且此延迟过多地导致产生错误的占空比的更新。 再见 梁咏琪 以上来自于谷歌翻译 以下为原文 Ciao FOC duration is an error message that appear when the FOC didn't was able to complete the required algorithm in time. The FOC algorithm starts as soon as the new measurement of the motor current has been completed and finish when the duty cycle to be applied to the output have been calculated. If this occur before the next control cycle (typically this is at frequency of the PWM, or it can be divided by a FOC ratio) there are no problem. If this take too much time the FOC duration is raised. Probably in your cases, you are writing some part of code that is executed at the same priority (or greater) respect the priority of the FOC algorithm and this delay too much the update of the duty cycles generating the error. Ciao Gigi |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2655 浏览 1 评论
3216 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1790 浏览 1 评论
3619 浏览 6 评论
5997 浏览 21 评论
946浏览 4评论
1319浏览 4评论
在Linux上安装Atollic TRUEStudio的步骤有哪些呢?
591浏览 3评论
使用DMA激活某些外设会以导致外设无法工作的方式生成代码是怎么回事
1309浏览 3评论
1369浏览 3评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-30 02:18 , Processed in 1.458266 second(s), Total 78, Slave 63 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号