1
完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
问候!
经过一段时间的STEVAL-SPIN3201电机控制器板试验,我们更进一步,用STSPIN32F0,三个电源半桥和一个额外的蓝牙芯片构建我们自己的小PCB,用于外部通信(最终目标是无线控制两个单独使用一个操纵杆的马达)。 我们几乎完全按照评估板的原理图构建我们的电路板,这样现有的软件就可以像以前一样在定制电路板上运行;唯一的区别是三个电机相上的分流电阻值(并联2x 0.01欧姆而不是并联2x 0.02欧姆)。我通过将'Power stage parameters.h'中的'RSHUNT'值从0.01改为0.005来调整软件。 如上所述,其余电路和组件的设计与评估板完全相同。然而,一旦我们连接并测试了我们的PCB,我们就到了一点,我们都不知道该观察到的行为是什么:在STSPIN32F0成功地用软件闪存后,霍尔传感器和电机电缆连接并且电源电压为11.1V由一个外部电源适配器给出,在软件的主程序中设置了适度的速度斜坡,电机开始退缩几次,然后保持静止并且剧烈振动。在我们断开系统与电源的连接之前,电源适配器报告已达到5A的电流限制并且电压迅速下降。 想知道出了什么问题,我们做了几次尝试,直到我们注意到在另一次复位后,STSPIN32F0再也没有响应,并且VDD引脚上没有3.3V可测量。我们可能已经开始使用我们的一个电机控制器,我们从头开始构建一个新的PCB,仔细管理电压引脚和连接,并确保不会发生焊接错误。我们在没有连接电机的情况下再次测试了电路板,并测量了三个栅极驱动器的输出,其表现与评估板完全相同。 下一步,相同的结果:电机发疯,电压下降几秒钟到大约8V,芯片在几次尝试后死机。第三次尝试,我们将SW引脚连接到GND,并为VDD引脚提供另一个外部电源适配器,希望内部DCDC降压稳压器不会对自身和电路板的其余部分造成任何损害,因为内部控制应该检测到这个和锁定(如数据表中“外部可选3.3 V电源电压”,第22页中所述)。可悲的是,我们以相同的结果结束:没有运行电机和外部3.3V电源报告短路。 使用了2个单独的电路板并销毁了3个微芯片,我们知道新鲜的想法,并不急于炒更多的硬件。以下问题仍未解决: - 为什么控制器认为在没有任何负载的情况下旋转小型BLDC电机需要5A甚至更多? - 芯片破坏的原因究竟是什么? - 当我们使用与评估板一样的硬件和软件时,为什么我们会观察到这种行为? 如果有人能帮助我们尽快解决这个问题,我们将非常高兴。非常感谢任何建议或反馈! 太长, 马克斯 #steval-spin3201 #stspin32f0 以上来自于谷歌翻译 以下为原文 Greetings! After some time experimenting with the STEVAL-SPIN3201 Motorcontroller board, we took it a step further and build our own little PCB with the STSPIN32F0, three power half bridges and an additional Bluetooth chip for external communication (the final goal is the wireless control of two seperate Motors using one joystick). We pretty much build our board very closely to the schematics of the evaluation board, so that the existing software will run on the custom board just as good as before; the only difference being the shunt resistor values on the three motor phases (2x 0.01 Ohm in parallel instead of 2x 0.02 Ohm in parallel). I adapted the software by altering the 'RSHUNT' value in the 'Power stage parameters.h' from 0.01 to 0.005. Like stated, the rest of the circuits and components were designed to work exactly like the evaluation board. However, once we connected and tested our PCB, we arrived at a point were none of us knew what to make of the observed behavior: After the STSPIN32F0 was successfully flashed with the software, the Hall sensors and motor cables connected and a supply voltage of 11.1V was given by an external power adapter, a modest speed ramp was set in the software's main-routine and the motor started flinching a few times, before staying still and vibrating fiercly. The power adapter reported that the current limit of 5A was reached and the voltage dropped rapidly, before we disconnected the System from the power source. Wondering what went wrong, we did a few more tries, until we noticed that after another reset, the STSPIN32F0 did not respond anymore and there were no 3.3V on the VDD pin measurable. Probably having fried one of our Motorcontrollers, we started from scratch and build a new PCB, carefully managing the voltage pins and connections and making sure that no soldering error could occur. We tested the board again without the motor attached, and measured the outputs of the three gate drivers, which behaved exactly like on the evaluation board. Next step, same results: The motor went crazy, the voltage dropped for a few seconds to about 8V and the chip played dead after a few tries. On a third try, we connected the SW pin to GND and supplied the VDD pin with another external power adapter, hoping that the internal DCDC buck regulator could not cause any hARM to itself and the rest of the board, since the internal control should detect this and latch off (as stated in the datasheet under 'External optional 3.3 V supply voltage', page 22). Sadly, we ended with the same result: no running motor and the external 3.3V power source reported a short circuit. Having used 2 seperate boards and destroyed 3 micro chips, we are know freshly out of ideas and not eager to fry any more hardware. The following questions remained open: - Why does the controller think he would need 5A and more to rotate a small BLDC motor without any load? - What exactly is the cause of the chip destruction? - Why do we observe this behaviour when we are using the same exact hard- and software as before with the evaluation board? We would be very glad if someone can help us figure this out soon.Any suggestions or feedback is much appreciated! So long, Max #steval-spin3201 #stspin32f0 |
|
相关推荐
12个回答
|
|
马克斯,你有没有机会解决你的问题?我遇到了类似的问题:我的定制板在12V电源下工作正常,当电机断开时,36V电源工作正常,但是当电机连接时STSPIN32芯片立即死36V。有任何想法吗?
以上来自于谷歌翻译 以下为原文 Max, did you by any chance resolve your problem? I'm having similar problem: my custom board works fine with 12V supply, works fine with 36V supply when motor is disconnected, but STSPIN32 chip dies immediately with 36V when motor is connected. Any ideas? |
|
|
|
归纳反馈可能会杀死你。
你有范围吗? 我建议地线不够厚。 各方都有厚厚的地线。 电缆有多长? 感应反馈可以是100V,你会想象原来的电路板有尖峰抑制, 似乎你错过了一些东西,可能是巨大的地平面和尖峰抑制器。 告诉我电路图的链接。 以上来自于谷歌翻译 以下为原文 the inductive feedback may be killing you. do you have a scope ? I would suggest the ground wire is not thick enough. a thick ground wire to all parties. how long is the cable ? the inductive feedback can be 100V, you would imagine the original board has spike suppression, it seems you have missed something, probably the huge ground plane and spike suppressors. show me the link to the circuit diagram. |
|
|
|
我找到了6个与您的问题相关的数据表,
我阅读了所有数据表30分钟,您要求我们解决您的问题,但您不回答问题。 这项工作并非无足轻重。 以上来自于谷歌翻译 以下为原文 I found 6 datasheets pertaining to your question, I read all the datasheets for 30 minutes, you ask us to fix your issues, but you don't answer questions. This work is not trivial. |
|
|
|
它全部在电机驱动电路中,你可以发送吗?
您有没有制造开关模式电源逆变器? 这些都是相同的部分,你正在产生巨大的峰值。 你使用哪种Fets? 你能看到G-S击穿电压,这通常是烟雾开始的地方。 你在使用步进电机吗? 如果接线不正确,那就是你的问题。 它是一个3极步进器吗? 为了证明电路的成功,用3个电阻代替电机。比如10x -100x更多阻力。 然后根据您的示波器,检查每个电阻器的“极点”是否在180度下驱动。 这将证明接线是否正确。 (这可能是你的问题) 电机电路好吗? 以上来自于谷歌翻译 以下为原文 its all in the motor drive circuits, can you send that ? Did you ever make a switch mode power inverter ? these are all the same parts, you are generating huge spikes. Which Fets are you using ? can you see the G-S breakdown voltage, this is usually where the smoke starts.from. are you using a stepper motor ? if it is wired incorrectly, it is your problem. is it a 3pole stepper ? to prove the success of your circuit, replace the motor with 3 resistors. say 10x -100x more resistance. then with your scope, check that the 'poles' of each resistor are being driven at 180degrees. This will prove if the wiring is correct. ( which is likely your issue) motor circuits please? |
|
|
|
TJ非常感谢您的帮助,抱歉没有像您那样协作
我附上了原理图。我的主要困惑是可能发生过压尖峰:电源导轨或电机绕组。电源尖峰我可以照顾。电机尖峰我不知道。 以上来自于谷歌翻译 以下为原文 TJ your help is highly appreciated, sorry for not being as collaborative as you are I attached the schematic.My main confusion is where the overvoltage spikes might occur: on the power rail or on the motor windings. Power supply spikes I can take care of. Motor spikes I have no idea. |
|
|
|
好的,我在原理图上找到了这个足迹,非常小的注意到它......
无论如何,我认为你有EMF。 我认为简单的解决方案是电源。 你在开什么样的马达? 以上来自于谷歌翻译 以下为原文 ok, I found the fets on the schematic, very small to notice it... any way, I think you have EMF. I think the easy fix is at the power source. what kind of motor are you driving ? |
|
|
|
这是我的马达:
/external-link.jspa?url=http%3A%2F%2Fwww.iflight-rc.com%2Fipower-motor-gbm8028-90t-brushless-gimbal-motor.html 注意:原始帖子包含大量线程对话,只能迁移到第9级 以上来自于谷歌翻译 以下为原文 This is my motor: /external-link.jspa?url=http%3A%2F%2Fwww.iflight-rc.com%2Fipower-motor-gbm8028-90t-brushless-gimbal-motor.html Note: the original post contained a large number of threaded conversations and was only able to be migrated to the 9th level |
|
|
|
多数民众赞成,现在我明白了一点,
我正在查看Ti DRV8313 pdf第10页,以了解您的电路 http://www.ti.com/lit/ds/symlink/drv8313.pdf 这是一个电机的3极驱动器。 这台电机使用换向器吗?它有多少个绕组? 你有那个马达的规格吗?我找不到PDF格式.. 以上来自于谷歌翻译 以下为原文 Thats good, now I understand a bit better, I am looking at the Ti DRV8313 pdf page 10 to understand your circuits http://www.ti.com/lit/ds/symlink/drv8313.pdf that's a 3 pole driver for one motor. does this motor use a commutator ? it has how many windings ? do you have the spec for that motor? I cant find a pdf.. |
|
|
|
好,
STSPIN32F0内置了类似的驱动程序。 不,它没有换向器。我自己找不到任何规格,我所拥有的就是他们在页面上所说的内容: 铜线(OD):0.27mm预缠绕90圈。 内阻:7.5欧姆 以上来自于谷歌翻译 以下为原文 Good, STSPIN32F0 has similar driver built-in. No it does not have commutator. I could not find any specs myself, all I have is what they say on the page: Copper wire (OD):0.27mm Pre-wound with 90 turns. Internal Resistance:7.5 ohms |
|
|
|
|
|
|
|
TJ,我会的!感谢您的帮助,您就是冠军
以上来自于谷歌翻译 以下为原文 TJ, I will do! Thanks for all your help, you are the champion |
|
|
|
|
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2725 浏览 1 评论
3237 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1807 浏览 1 评论
3646 浏览 6 评论
6034 浏览 21 评论
1337浏览 4评论
197浏览 3评论
对H747I-DISCO写程序时将CN2的st-link复用为usart1,再次烧录时无法检测到stlink怎么解决?
350浏览 2评论
STM32G474RE芯片只是串口发个数据就发烫严重是怎么回事?
442浏览 2评论
STM32处理增量式编码器Z信号如何判断中断是正转的还是反向转的?
273浏览 2评论
小黑屋| 手机版| Archiver| 德赢Vwin官网 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-22 16:43 , Processed in 1.209171 second(s), Total 68, Slave 62 queries .
Powered by 德赢Vwin官网 网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
德赢Vwin官网 观察
版权所有 © 湖南华秋数字科技有限公司
德赢Vwin官网 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号