• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Applications » Motor Drivers » Motor Drivers Forum » DRV8301: reset source for CR1 and CR2
Share
Motor Drivers
  • Forum
  • Announcements
  • E2E Wiki
Options
  • Subscribe via RSS

Forums

DRV8301: reset source for CR1 and CR2

  • Gerd Mitl��nder
    Posted by Gerd Mitl��nder
    on Apr 24 2012 09:13 AM
    Prodigy110 points

    Hi...

    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

    Gerd

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Ryan Kehr
    Posted by Ryan Kehr
    on Apr 24 2012 13:13 PM
    Genius13805 points

    Gerd,

    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?

    Ryan Kehr

    Motor Drive Application Manager

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Gerd Mitl��nder
    Posted by Gerd Mitl��nder
    on Apr 24 2012 16:02 PM
    Prodigy110 points

    Ryan,

    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.

    Gerd

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Gerd Mitl��nder
    Posted by Gerd Mitl��nder
    on Apr 25 2012 04:00 AM
    Prodigy110 points

    PVDD1 38.4V startup of motor

    GVDD

    AVDD

    VDD_SPI

    DVDD

    Write of CR1

    Read of CR1 (0x03A0)

    Write of CR2

    Read of CR2 (0x0008)

    After motor startup CR1 is 0x0000 and CR2 is 0x0000

    Gerd

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Gerd Mitl��nder
    Posted by Gerd Mitl��nder
    on Apr 25 2012 04:29 AM
    Prodigy110 points

    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?

    Gerd

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Gerd Mitl��nder
    Posted by Gerd Mitl��nder
    on Apr 25 2012 06:21 AM
    Prodigy110 points

    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:

    Gerd

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Gerd Mitl��nder
    Posted by Gerd Mitl��nder
    on Apr 25 2012 08:38 AM
    Prodigy110 points

    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.

    Gerd

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Ryan Kehr
    Posted by Ryan Kehr
    on Apr 25 2012 17:49 PM
    Genius13805 points

    Gerd,

    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. 

    Ryan Kehr

    Motor Drive Application Manager

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Gerd Mitl��nder
    Posted by Gerd Mitl��nder
    on Apr 26 2012 01:52 AM
    Prodigy110 points

    Ryan,

    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).

    Gerd

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Gerd Mitl��nder
    Posted by Gerd Mitl��nder
    on May 04 2012 02:30 AM
    Prodigy110 points

    Ryan,

    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?

    Thanks for your help

    Gerd

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Gerd Mitl��nder
    Posted by Gerd Mitl��nder
    on May 09 2012 11:23 AM
    Prodigy110 points

    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?

    Gerd

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Ryan Kehr
    Posted by Ryan Kehr
    on May 14 2012 17:58 PM
    Genius13805 points

    Gerd,

    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.

    Ryan Kehr

    Motor Drive Application Manager

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Gerd Mitl��nder
    Posted by Gerd Mitl��nder
    on Feb 18 2013 10:45 AM
    Prodigy110 points

    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.

    Gerd

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Ryan Kehr
    Posted by Ryan Kehr
    on Feb 18 2013 16:50 PM
    Genius13805 points

    Gerd,

    Appreciate the follow-up....glad all is well for now. 

     

    Ryan Kehr

    Motor Drive Application Manager

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

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.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use