This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

GUI of DRV8312-C2-KIT reset itself

Other Parts Discussed in Thread: INSTASPIN-BLDC, TPS54160

Dear Sir/Madam,

We have a DRV8312-C2-KIT and played it for couple weeks. We noticed that the GUI (InstaSPIN-BLDC_GUI_DRV83xx_v104.exe)  was reset in some conditions.

We found this issuein the velocity control mode. We set the Ki to zero and adjusted the Kp. The motor cannot turn from static state under this settings. Noticed that the current increased to more than 0.6PU in such situation. We disabled the motor through the GUI. Then we found the GUI resets itself.

Would you mind give us more information about it, like how does it be triggered?

Thanks.

  • Qiang,

    What kind of power supply are you using to power the EVM? I have seen that the GUI resets when the voltage supplied drops low because of too much current draw.

    Thanks,

    Matt

  • Hi Matt,

    Does the GUI reset itself or the firmware of F28035 be reset because of the voltage dropping in your case?

    The motor we have works in the range of 8.5v to 17.5v. We are using a DC power supply. The output voltage and current are set to 13.5v and 2A. There is no voltage drops when we encountered this issue.

    So may I know the GUI can be reset in which conditions besides the voltage supplied drops low?

    Thanks

    Qiang

  • Qiang,

    I have tested your setup in lab; if your PVDDIN is only 13.5 V, then the GUI should indicate undervoltage on the DC bus. Are you using a separate source for +12 V, +5 V, and +3 V? If you are not, then this EVM will not operate correctly with such a low supply voltage.

    Thanks,

    Matt

  • Hi Matt,

    You will definately get the undervoltage of DC bus in the GUI without below code modification.

    Gui.Max_VDC = 1750;

    Gui.Min_VDC = 850;

    We did not use the seperate low voltage source, like 12v, 5v and 3.3v. If I am not wrong only 13.5v PVDD input is enough for the DC/DC converter (TPS54160) to output the power as the source of 12v, 5v and 3.3v. And monitoring them by the scope, these voltages are quite stable in the running time even the issue happened.

     

    Thanks,

    Qiang

  • Qiang,

    I made the code modification and simulated your issue:

    Setup:

    Power Supply limited to 13.5 V, 2.0 A

    Code modified: Gui.Max_VDC = 1750, Gui.Min_VDC = 850 in BLDC_Int_GUI_DRV83xx.c

    Gui Settings: Control Mode: Duty Cycle, Ki: 0, Kp = 2.00

    Result:

    I captured PVDD dropping below 12 V for less than 5 ms. nFAULT triggers, and GVDD drops below 2.6 V. The GUI reset in this trial.

    Yellow: PVDD (Power Supply)

    Red: GVDD (12 V nominal)

    Green: nFAULT


    To me, it looks like the supply begins to current limit, and GVDD drops because PVDD is no longer sufficient to maintain 12 V.


    Thanks,

    Matt

  • Qiang,

    Sorry, I realized that I did not answer your previous question: Does the GUI reset itself or the firmware of F28035 be reset because of the voltage dropping in your case?

    The firmware of the F28035 resets itself when the voltage drops, but this causes all of the controls on the GUI to be reset as well.

    Thanks,

    Matt

  • Matt,

     

    I captured this exception as well.

    Appreciate your great help.

     

    Qiang.

  • Qiang,


    Glad I could be helpful. If you have any other questions, please post them here!

    Thanks,

    Matt