完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我对董事会有一些疑问(也许你们中的任何人对电子产品有了更好的理解)。我使用带步进电机的电路板在直线驱动器上移动推车。移动将受到接近传感器的限制,该传感器激活我板上的中断。 (我使用Arduino板)。我使用45V和3A作为步进电机。编码时一切都还可以。但是当我尝试改进我的应用程序的代码时,我不小心弄乱了主板,情况是这样的:
1.在设置过程中,L6474库将被激活。电机将朝向接近传感器旋转。 2.通常在到达传感器后,将激活中断,然后执行HardStop()功能。 (这段代码还可以。) 但是当我使用代码时,在中断激活后,我使用Reset()函数而不是HardStop()函数。 (愚蠢但虚假的错误)。之后它不再起作用了。我立即查看L6474数据表。它指出,当输出有效时,不建议重置设备。在电源显示器上,它不再显示45V,而是大约1.0V。 问题是,您认为芯片是否已损坏?通常情况下,如果芯片损坏,它会闻起来像烟雾或燃烧,但从外观上看,芯片看起来对我来说还不错。 提前致谢! #ihm01a1#l6474 以上来自于谷歌翻译 以下为原文 I have some question regarding the board (maybe anyone of you have a better understanding on electronic). I use the board with stepper motor to moves a cart on the linear drives. The move will be limited by proximity sensor that activates the interrupt on my board. (I use Arduino board). I use 45V with 3A for my stepper motor. Everything was okay with the coding. But as I try to improve the code for my application, I'd accidentally mess up the board, The situation was like this: 1.During setup, the L6474 library will be activated. And the motor will be rotates towards the proximity sensor. 2. Normally after reaching the sensor, interrupt will be activated and then the HardStop() function will be followed. (This code was ok.) 3. But as I play with the code, after the interrupt activates, I use the Reset() function instead of the HardStop() function. (Silly but dummy mistake). After that it didn't function anymore. I immediately check the L6474 datasheet. It states that it is not recommended to reset the device when outputs are active. On the power supply display, it didn't show 45V anymore but instead about 1,0 V. 4. The question is, did you think the chip is damaged? Normally if the chip are damaged, it would smell like a smoke or it burns, but from the appearance only, the chip looks ok for me. Thanks in advance! #ihm01a1 #l6474 |
|
相关推荐
1个回答
|
|
嗨Zulkifli,
高压(您处于器件的工作极限)和进入电机(3A的高电流)的组合非常关键。一旦重置IC,功率级就会突然禁用,这会产生两个主要影响: - 内部MOSFET上的电动强度非常强,但它们能够偶尔维持它 - 当电流回流到总线并为其充电时,能量“存储”到电动机中。在这种情况下,电压可以上升到超过电路的断电电压。 如果设备实际损坏,在这种情况下,你应该看到一个短的VS或VBOOT和GND。 问候 恩里科 以上来自于谷歌翻译 以下为原文 Hi Zulkifli, The combination of high voltage (you are at the operating limit of the device) and high current into the motor (3 A) is very critical. As soon as you reset the IC, the power stage is disabled abruptly, this cause two main effects: - the electric stess on the internal MOSFETs is very strong, but they are able to sustain it once in a while - the energy ''stored'' into the motor as current reflows into the bus, charging it. The voltage in this case can rise up to exceedng the breackdown voltage of the circuitry. If the device is actually damaged, in this case you should see a short beteen VS or VBOOT and GND. Regards Enrico |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2320 浏览 1 评论
3079 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1647 浏览 1 评论
3464 浏览 6 评论
5816 浏览 21 评论
807浏览 4评论
1182浏览 4评论
在Linux上安装Atollic TRUEStudio的步骤有哪些呢?
451浏览 3评论
使用DMA激活某些外设会以导致外设无法工作的方式生成代码是怎么回事
1164浏览 3评论
1216浏览 3评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-8-28 08:23 , Processed in 1.057988 second(s), Total 77, Slave 60 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191