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?
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.
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?
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.
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.
I made the code modification and simulated your issue:
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
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)
To me, it looks like the supply begins to current limit, and GVDD drops because PVDD is no longer sufficient to maintain 12 V.
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.
I captured this exception as well.
Appreciate your great help.
Glad I could be helpful. If you have any other questions, please post them here!
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.