TI E2E Community
Motor Drivers Forum
DRV8301: reset source for CR1 and CR2
i'm using the DRV8301 in ebike project replacing 3 halve bridge drivers, op and switching regulator of the existing circuit. I'm able to configure the chip over SPI and can read back the register values. The read register values are the same which i've configured at startup - as long as the motor is not running.
At startup of the motor (or a few seconds later) the register values CR1 and CR2 are reseted to default values.
I've checked that
a) EN_GATE is not low (could lead to quick reset (<10us) or power down (>=10us))
b) PVDD is valid (no spikes down to UV)
c) no spi write command to register CR1 or CR2
I stumpled about that problem while monitoring the output of the OP discovering that the gain factor is reset to 10.
Any ideas what could be the reason for that problem or how to track it down?
Thanks for your help
This is very curious. A couple of clarifying questions:
1) You mentioned you did a read back after a WRITE on SPI and the gain was set as you had programmed. What was it programmed to? Did you verify that the gain measured on the output of the op-amp matched the read-back value?
2) Is VDD_SPI (pin 49) at the same voltage as the logic-level of your SPI pins?
3) What PVDD are you operating at?
Motor Drive Application Manager
i hope i can clarify your questions:
1) I've tried a gain of 80, 40 and 20 but the last tests were made with a gain of 40. Sometimes (seldom) the registers are not reset on startup of the motor. In that case the voltage at op output is 4 times higher that with the default gain of 10. I can attach scope pictures and the register values i've programmed tomorrow (it's10:30pm here in germany) when i'm at work again.
2)The buck converter inside the DRV8301 generates 5V and the 3.3V for VDD_SPI and cpu is generated from that 5V via a second buck converter.
3) PVDD is 28..42V out of a lion battery but currently i'm using ca. 39V from a power supply. A 1800uF capacitor attached on PVDD is located near DRV8301.
I attached a scope to PVDD, VDD_SPI and the voltages where ok. I measured DVDD and there was only a ~100mV ripple at startup. If needed i can attach scope pictures of voltages and spi communication.
PVDD1 38.4V startup of motor
Write of CR1
Read of CR1 (0x03A0)
Write of CR2
Read of CR2 (0x0008)
After motor startup CR1 is 0x0000 and CR2 is 0x0000
Just noticed that if iset gate driver peak current to
1) 1.7A: CR1 and CR2 are reset
2) 0.7A: CR1 and CR2 are not reset but at higher rpm they are
3) 0.25A: CR1 and CR2 are not reset but at higher rpm they are
Noticed no difference in rpm between (2) and (3)!. So it looks like a voltage problem due to high gate currents?
Starting with (3) from previous post i've made a fault interrupt routine reading out the status register 1/2:
As you can see nothing is read back (no address bit set on SDO while read of SR2)! The whole fault duration is ~890us:
I measured PVDD (blue), GVDD (pink) and DVDD (cyan):
Same (enlarged) with cursors on PVDD: Fault was generated at ~36.4V instead of normal voltage of 39.2V. Should be far away from uv reset.
Try inserting some series resistors between the gate driver outputs and your FETs. We have 1 ohm on our EVM, but you should try up to 10 ohm. This would eliminate any "false" OCP trips that might be occurring due to the fast switching edges.
thanks for the hint - i'll try it out and report the results. Currently i'm using 4R7 between gate driver output and gate of BSB028N06 (Infineon).
sorry for the long delay. I replaced (the serial gate resistor) 4R7 with 10R and after that with 15R. Now i can use the 1.7A gate driver setting but the reset still occurs with any gate driver current setting (0.25A, 0.7A, 1.7A). Do you have further suggestions for me to try?
I did some more measurements and it looks like that the reset is triggered be a few different PWM patterns. Below one example:
Pattern on phase A/B
Pattern on phase B/C
Pattern on phase A/C
Any ideas where to focus on? Charge pump capacitor? GVDD cap? Bootstrap cap?
Have we completely eliminated OC? This can be done via the control bits in control register 1. The series resistors seemed to help move out the trip point, so I still feel like we are getting "false" OC trips here.
Just 9 month later (and some other projects in between) we've done a new ("emc corrected") layout of our board.
"emc corrected": 2 layers instead of 4, solid ground on both sides (not splitted into AGND, DGND and so on), a lot of vias (~ 5times more than before), protecting/isolating hot/shunt/spi traces with fences of vias, small loops on all switching regulators (4), integrating pi filter in front and after switching regulators.
Now all is ok so far and i can continue with my work. If i find some other difficulties/problems i'll open a new thread.
Appreciate the follow-up....glad all is well for now.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.