完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好
我正在尝试使用带霍尔传感器的小型BLDC电机设置ST FOC库。我正在使用评估板STEVAL-IFN003V1。我已经使用ST电机控制工作台配置了系统的所有参数,并且我能够通过电机控制工作台的面板监视器与系统进行通信。 我按照chaptre'5.2.3中描述的程序连接了绕组和霍尔传感器。使用用户手册UM1052的霍尔效应传感器时设置系统。 当我按下MC Workbench上的Start Motor按钮时,电机会产生一点连接(一到两转),系统进入速度反馈故障状态。按下故障确认按钮可以重置此状态。 我为HALL_PHASE_SHIFT试验了不同的值而没有任何成功。 有没有人知道,为什么我总是得到这个速度反馈故障? 问候 Fortunat 以上来自于谷歌翻译 以下为原文 Hi I am trying to setup the ST FOC library with a small BLDC-motor with hall sensors. I am using the evaluation board STEVAL-IFN003V1. I have configured all parameters of the system with the ST Motor Control Workbench and I am able to communicate with the system trough the panel Monitor of the Motor Control Workbench. I have connected the windings and hall sensors according the procedure described in chaptre ''5.2.3. Setting up the system when using hall-effect sensors'' of the User manual UM1052. When I press the button Start Motor on the MC Workbench then the motor makes a little hitch ( one to two revolution ) and the the system goes into the state Speed feedback fault. This state can be reset by pressing the button Fault Ack. I experimented with different values for HALL_PHASE_SHIFT without any success. Does any body have an idea, why I am always getting this Speed feedback fault ? Regards Fortunat |
|
相关推荐
6个回答
|
|
Ciao Fortunat
我的感觉是来自霍尔传感器的信号有一些噪音干扰。 如果不遵守来自霍尔传感器信号的边缘的经验序列,则可以断言霍尔传感器的速度反馈。噪声干扰会产生这种行为。 所以你可以采取两点行动 1)增加霍尔传感器数字滤波器(可以使用电机控制工作台驱动器管理 - >速度位置反馈管理 - >主传感器 - >输入捕获滤波器持续时间)。 2)增加霍尔传感器输入端的电容滤波器。它应该是C5,C6,C7。默认值为10pF,但您可以尝试使用更大的值来过滤噪音。 再见 梁咏琪 以上来自于谷歌翻译 以下为原文 Ciao Fortunat My feeling is that there is some noise glitches on the signals coming from the hall sensors. The Speed feedback in case of Hall sensor can be asserted if the expecetd sequence of edges coming from hall sensor signal is not respected. Noise glitches can generate this kind of behaviour. So you can act on two points 1) Increase the hall sensor digital filter (You can do this using the motor control workbench Drive Management -> Speed Position Feedback Management -> Main sensor -> Input capture filter duration ). 2) Increase the capacitor filter on the hall sensor input. It should be the C5, C6, C7. The default is 10pF but you can try with bigger values in order to filter the noises. Ciao Gigi |
|
|
|
Ciao Gigi
感谢您的答复 我在大厅信号处添加了一些RC滤波。电机没有运转。但是速度控制器正朝着错误的方向调节。如果我设置正转速+ 2000转,那么电机在负方向上运行得非常快。工作台上的速度指示器显示超过-8000 rpm。 我必须重新检查编码器信号的相位。 关心Fortunat 以上来自于谷歌翻译 以下为原文 Ciao Gigi Thank you for your response I have added some RC filtering at the hall signals. No the motor is running. But the speed controller is regulating in the wrong direction. If I set positive speed +2000 rpm then the motor runs very fast in the negative direction. Speed indicator on workbench shows more than -8000 rpm. I have to recheck the phasing of the encoder signals. Regards Fortunat |
|
|
|
Ciao Gigi
我仍然无法对电机进行闭环调节速度控制。 如果我在先前定义的(在霍尔传感器连接处)正方向上手动转动电机,则测量的可变0x1E速度在ST MC Worbench上显示为带有正号的值。似乎速度测量工作。 速度调节器的参考值为+5000 rpm。如果我按下启动电机按钮启动电机,它会非常快速地加速到-20000 rpm以上。它实际上是在错误的方向上运行。 我想查看UM1052中图5速度控制回路的速度调节器Te *的输出。 MC Workbench中的哪个变量是这个Te *? 如果你能帮我解决我的问题,那会很好 顺便说一下,如何为不同的变量设置MC Workbench的绘图窗口? 问候 Fortunat 以上来自于谷歌翻译 以下为原文 Ciao Gigi I am still not able to have a closed loop regulated speed control of my motor. If I turn manually my motor in the previously defined (at the connection of the hall sensors) positive direction, then the Variable 0x1E Speed measured is indicated on the ST MC Worbench as a value with positive sign. It seems that the speed measurement works. The reference value for the speed regulator is +5000 rpm. If I start the motor pressing the button Start Motor then it accelerates very rapidly to more than -20000 rpm. It actually runs in the wrong direction. I wanted to view the output of the speed regulator Te* reffering to Figure 5 Speed control loop in the UM1052. Which variable in the MC Workbench is this Te* ? It would be nice, if you could me some advice trouble shooting my problem By the way how can I set up the Plotting window of the MC Workbench for different variables ? Regards Fortunat |
|
|
|
Ciao Fortunat,
似乎固件的正方向(注意我没有说从传感器测得的正方向看起来不错但是逆变器在输出中提供的方向)与电机的负方向相对应。 在这种情况下我试图切换两个电机相的连接(例如A与B)。通过这种方式,我将固件的正方向与请求的电机方向同步。 然后我重做霍尔传感器信号的同步,如手册中所述。必须更新两个电机相位开关。 Iq参考(在表面安装电机的情况下)与Te *成比例。 到目前为止,绘图窗口变量无法更改。 再见 梁咏琪 以上来自于谷歌翻译 以下为原文 Ciao Fortunat, it seems that the positive direction of the firmware (take care I don't say positive direction measured from the sensors that seems good but the one provided in output by the inverter) corrisponds to a negative direction of the motor. What I shoud try in this case is to switch the connection of two motor phases (for instance A with B). In this way I synchronize the positive direction of the firmware with the requested direction of the motor. Then I redo the synchronization of the hall sensor signals like explained in the manual. It must be updated becuse the two motor phase switch. The Iq reference (in case of surface mounted motor) is proportional to the Te*. Up to now the plotting windows variable can't be changed. Ciao Gigi |
|
|
|
Ciao Gigi
谢谢 ! 我已经改变了电机的两个阶段并相应地设置了编码器连接。现在速度控制环工作得非常好。 我做这些实验只是为了熟悉MC库。实际上我必须使用模拟霍尔传感器操作Faulhaber LM 0830 040-01直线电机。对于此应用程序,我必须更改MC库的霍尔编码器的处理例程。因此,我需要MC库的机密版本。 我已通过我们在瑞士的当地ST经销商EBV Elektronik索取了保密版本。我希望尽快得到这个机密版本。 ST Microelectronics有没有计划增加对模拟霍尔编码器的支持? 亲切的问候 Fortunat 以上来自于谷歌翻译 以下为原文 Ciao Gigi Thank you ! I have changed two phases from my motors and set up the encoder connections accordingly. Now the speed control loop is working very well. I make these experiments just to get familar with the MC library. Actually I have to operate a Faulhaber LM 0830 040-01 linear motor with analog hall sensors. For this application I have to change the processing routines for the hall encoder of the MC library. Therefore I need the confidential version of the MC library. I have requested the confidential version trough our local ST distributor EBV Elektronik here in Switzerland. I hope to get this confidential version soon. Are there any plans at ST Microelectronics to add support for analog hall encoder ? Kind regards Fortunat |
|
|
|
不幸的是暂时不行。我们的“愿望清单”溢出;)
我很高兴我的建议很有用。 再见 梁咏琪 以上来自于谷歌翻译 以下为原文 Unfortunately not for the moment. Our ''wish list'' is overflowed ;) I'm happy that my suggestion has been useful. Ciao Gigi |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2629 浏览 1 评论
3208 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1782 浏览 1 评论
3607 浏览 6 评论
5987 浏览 21 评论
938浏览 4评论
1315浏览 4评论
在Linux上安装Atollic TRUEStudio的步骤有哪些呢?
582浏览 3评论
使用DMA激活某些外设会以导致外设无法工作的方式生成代码是怎么回事
1302浏览 3评论
1357浏览 3评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-21 18:58 , Processed in 1.123793 second(s), Total 57, Slave 50 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号