完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我试图在StepClock模式下使用L6482驱动芯片的评估板,但我无法移动电机。状态字报告为0xE503,表示UVLO条件。状态寄存器的第二次读取返回相同的值,表示条件是持久的而不是与上电复位相关的。
CONFIG字设置为0x2C98,电路板电压如下: VS = 24.28V VCC = 7.52V VREG = 3.37V VDD = 5.03V(由外部微控制器板提供) VBOOT = 30.24V 问题2:什么TVAL寄存器控制StepClock模式下的电机电流? 是TVAL_RUN吗? 问题3:[mV]中的OCD_TH设置如何与mA的实际电流限制相关? 是OCD_TH [mV] = current_limit [mA] x Rsense [ohm]? 以上来自于谷歌翻译 以下为原文 I am trying to use the evaluation board for the L6482 driver chip in StepClock mode, but I have been unable to move the motor. The status word is reported as 0xE503, indicating an UVLO condition. A second read of the status register returns the same value, indicating the condition is persistent and not power-up reset related. CONFIG word is set to 0x2C98, and the board voltages are as follows: VS=24.28V VCC=7.52V VREG=3.37V VDD=5.03V (supplied from an external microcontroller board) VBOOT=30.24V Question #2: What TVAL register controls the motor current in StepClock mode? Is it TVAL_RUN? Question #3: How are OCD_TH settings in [mV] related to the actual current limit in mA? Is it OCD_TH [mV] = current_limit [mA] x Rsense [ohm]? |
|
相关推荐
7个回答
|
|
更新:
将CONFIG更改为0x2F98以将VCC升至15V。状态现在是0xE703,所以看起来UVLO条件消失了,但我仍然没有得到电机步骤。请指教。 以上来自于谷歌翻译 以下为原文 Update: Changed CONFIG to 0x2F98 to raise VCC to 15V. Status is now 0xE703, so it looks like the UVLO condition is gone, but I am still getting no motor steps. Please advise. |
|
|
|
嗨,
UVLO条件是由安装在评估板上的电荷泵二极管引起的。由BAV99引起的电压降不允许电路板在@ VCC = 7.5V(VBOOT低于UVLO阈值)下工作。 如果需要在7.5V下工作,可以用低压差二极管对(例如BAR43S)替换BAV99。 当设备处于步进时钟模式时,内部逻辑将电机视为停止,因此您可以使用TVAL_HOLD寄存器调节转矩。 OCD保护测量外部MOSFET的Vds压降,因此关系为current_limit [mA] x Rds(on)[ohm] 以上来自于谷歌翻译 以下为原文 Hi, the UVLO condition is due by the charge pump diodes mounted on the evaluation board. The voltage drop caused by BAV99 doesn't allow the board to operate @ VCC = 7.5V (VBOOT is below the UVLO threshold). If you need to operates at 7.5V you can replace the BAV99 with a low drop diode pair (eg the BAR43S). Whe the device is in step-clock mode the internal logic considers the motor as stopped, so you can regulates the torque using the TVAL_HOLD register. The OCD protection measures the Vds drop on the external MOSFETs, so the relation is current_limit [mA] x Rds(on) [ohm] |
|
|
|
嗨恩里科,
谢谢你的澄清,但我仍然无法驱动电机。由于FLAG LED亮起,看起来仍然存在某种错误情况。但是,STATUS寄存器报告为0xE603,表示没有错误。我试图将发送到电路板的命令数量限制为仅两个(软件复位并为15V VCC设置CONFIG),将电机与电路板断开连接,仍然没有运气 - FLAG LED仍然亮着,芯片似乎没有永远退出Hi-Z州。美国西海岸是否有应用工程支持?由于我们之间的时差,需要花费大量时间才能通过论坛解决这个问题。谢谢! 以上来自于谷歌翻译 以下为原文 Hi Enrico, Thank you for the clarification, but I am still unable to drive the motor. It looks like there is still some kind of error condition, since the FLAG LED is lit. However, the STATUS register is reported as 0xE603, indicating no errors. I tried to limit the number of commands sent to the board to only two (software reset and set CONFIG for 15V VCC), disconnected the motor from the board, and still no luck - FLAG LED is still lit, and the chip does not seem to ever exit the Hi-Z state. Is there application engineering support available on the USA West Coast? Due to the time difference between us, it will take massive amounts of time to resolve this through the forum. Thank you! |
|
|
|
这种行为很奇怪。如果不存在故障,则不应强制标记FLAG输出。
只有在收到动作命令(例如硬停止)时,设备才会离开高阻抗状态,所以如果在GetStatus命令之后它仍处于hiz状态,则可以。 你检查过门驱动器设置了吗?默认配置无法驱动EVAL6482H MOSFET。 以下设置应该没问题: Igate = 64mA tcc = 625 ns(无升压) tdt = 250 ns tblank = 500 ns GATECFG1 = 0xC4 GATECFG = 0x61 以上来自于谷歌翻译 以下为原文 This behavior is very strange. The FLAG output should not be forced low if no failure is present. The device leaves the high impedance condition only when a motion command is received (e.g. hardstop), so it is ok if it is still in hiz after the GetStatus command. Did you check the gate driver setup? The default configuration cannot drive the EVAL6482H MOSFETs. The following setup should be OK: Igate = 64 mA tcc = 625 ns (no boost) tdt = 250 ns tblank = 500 ns GATECFG1 = 0xC4 GATECFG = 0x61 |
|
|
|
我联系了我们在美国的申请支持人员,他很高兴为您提供支持,但此刻他还没有访问论坛。
你可以通过邮件联系他 Jean-Jacques MENEU 邮箱:jean-jacques.meneu@st.com 以上来自于谷歌翻译 以下为原文 I contacted our application support guy in US and he is glad to support you, but in this moment he have not access to the forum. You can reach him by mail Jean-Jacques MENEU Mail: jean-jacques.meneu@st.com |
|
|
|
嗨恩里科,
您提供的门驱动程序设置修复了问题 - 谢谢!演示板现在功能齐全,我可以驱动我的步进电机。看起来栅极驱动器设置对于正确的芯片操作至关重要 - 您是否有任何文档(应用笔记)解释如何为任何其他MOSFET选择正确的栅极驱动器设置?另外,感谢您提供Jean-Jacques的联系信息。 卡巴 以上来自于谷歌翻译 以下为原文 Hi Enrico, The gate driver settings you provided fixed the problem - thank you! The demo board is now fully functional and I can drive my stepper motor. It looks like gate driver settings are critical for proper chip operation - do you have any documentation (application note) that explains how to select proper gate driver settings for any other MOSFET? Also, thank you for providing Jean-Jacques contact information. Caba |
|
|
|
嗨Caba,
我们正在研究一个特定的AN。 一般来说,黄金法则如下: 1. IGATE越高,输出摆率越快(及相关问题) 2. IGATE x TCC产品应至少等于MOS的总栅极电荷 3. 250 ns的死区时间适合大多数应用 4.必须根据SENSE引脚上MOSFET换向产生的杂散信号调整消隐时间(考虑到换向结束后消隐开始) 再见 恩里科 以上来自于谷歌翻译 以下为原文 Hi Caba, we are working on a specific AN. In general the golden rules are the following: 1. the higher the IGATE, the faster is the output slew-rate (and related issues) 2. IGATE x TCC product should be at least equal to the total gate charge of the MOS 3. A dead-time of 250 ns fits most the applications 4. Blanking time must be adjusted according to the spurious signals generated by the MOSFET commutations on the SENSE pin (consider that the blanking starts AFTER the end of the commutation) Ciao Enrico |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2730 浏览 1 评论
3239 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1808 浏览 1 评论
3647 浏览 6 评论
6035 浏览 21 评论
1339浏览 4评论
198浏览 3评论
对H747I-DISCO写程序时将CN2的st-link复用为usart1,再次烧录时无法检测到stlink怎么解决?
350浏览 2评论
STM32G474RE芯片只是串口发个数据就发烫严重是怎么回事?
442浏览 2评论
STM32处理增量式编码器Z信号如何判断中断是正转的还是反向转的?
273浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-23 12:10 , Processed in 1.520128 second(s), Total 90, Slave 74 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号