完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
嗨,
我正在使用STM8S三相BLDC电机控制软件库V1.0来驱动BLDC。除了速度为13000rpm的速度闭环跑道的PI调节器之外,一切都很有效。 我的设置是: & sharpdefine PWM_FREQUENCY 14400 & sharpdefine SPEED_KP 40 & sharpdefine SPEED_KI 0.01 & sharpdefine SPEED_OUT_MAX 666 & sharpdefine SPEED_KP_DIVISOR 128 & sharpdefine SPEED_KI_DIVISOR 512 & sharpdefine SPEED_PID_SAMPLING_tiME 4 & sharpdefine HALL_MAX_SPEED_01HZ((u16)4333) & sharpdefine MOTOR_POLE_PAIRS 2 & sharpdefine MAX_SPEED_RPM 16000 我检查过PI调节器寄存器没有溢出。在13000rpm之后,电机速度迅速上升并持续直到停止。为了安全起见,我以20000rpm的速度停止了电机。 如果有人意识到这个问题或者可以考虑潜在的根本原因并指导我解决问题,将会非常感激。 #pi-regulator#3phase-motor 以上来自于谷歌翻译 以下为原文 Hi, I am using STM8S three-phase BLDC motor control software library V1.0 to drive BLDC. Everything works great except PI regulator for speed closed loop runways after speed 13000rpm. My settings are: &sharpdefine PWM_FREQUENCY 14400 &sharpdefine SPEED_KP 40 &sharpdefine SPEED_KI 0.01 &sharpdefine SPEED_OUT_MAX 666 &sharpdefine SPEED_KP_DIVISOR 128 &sharpdefine SPEED_KI_DIVISOR 512 &sharpdefine SPEED_PID_SAMPLING_TIME 4 &sharpdefine HALL_MAX_SPEED_01HZ ((u16)4333) &sharpdefine MOTOR_POLE_PAIRS 2 &sharpdefine MAX_SPEED_RPM 16000 I have checked there is no overflow of PI regulator registers. After 13000rpm, motor speed ramps up rapidly and keeps going on until is stopped. To be safe I stopped motor at 20000rpm. It will be highly appreciated if some one aware of this issue or can think of potential root cause and guide me to solution. #pi-regulator #3phase-motor |
|
相关推荐
1个回答
|
|
|
你好
有可能从13000rpm开始测量的速度不能更好地测量并具有良好的精确度? 当您写下电机以20000rpm运行时,您的意思是由FW或其他设备(例如测功机)测量的速度? 在高速时,速度测量的精确度变得越来越小,因为FW正在计算过零点之间的PWM周期数。这种失去的精神可以产生你提到的行为(但我以前从未见过这种行为)。 请查看测量的速度,并将其与使用其他设备测量的实际速度进行比较。 再见 梁咏琪 以上来自于谷歌翻译 以下为原文 Hello It is possible that starting from 13000rpm the measured speed is not more measured with good acuracy? When you write that the motor is running at 20000rpm you mean the speed measured by the FW or with another device (such as a Dynamometer)? At high speed the acuracy of the speed measurement become less and less because the FW is counting the number of PWM period between zero crossings. This lose of acuracy can generate the behaviour you mention (but I never see this before). Please take a look at the measured speed and compare it with the real speed measured using another device. Ciao Gigi |
|
|
|
|
只有小组成员才能发言,加入小组>>
stm32mp157的异核通信的rpmsg_sdb的m4固件和a7驱动该如何编写?
1447 浏览 0 评论
stm32f103用freertos对一个采样率为1kHz的传感器,进行采样,数据出差
1494 浏览 0 评论
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
3641 浏览 1 评论
3834 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
2454 浏览 1 评论
STM32H7打开DCache后,出现了串口接收信息为空的现象,是哪里出了问题?
725浏览 5评论
用NANO STM32F103RBT6的开发板烧录不了是哪里出了问题?
656浏览 5评论
709浏览 5评论
外部中断触发类型为双边沿触发,进入中断回调后有什么办法判断该边沿是上升沿还是下降沿?
938浏览 5评论
STM32L071CBT6低温环境下无法正常工作是什么原因引起的?
742浏览 5评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-1 16:23 , Processed in 0.750762 second(s), Total 72, Slave 55 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
3039