Part Number: DRV8305
we are intending to use DRV8305 for sensorless 6-step trapezoidal control. We are using evaluation board DRV8305-Q1EVM, connected to an external micro-controller (signals EN_GATE, INHA, INLA, INHB, INLB) in 1-PWM mode with active free-wheeling.
What we observe is a really bad estimation of the zero-crossing events. Minor modifications on the commutation time (around 50 us) cause the zero-crossing time to move with an unexpected 10x factor (around 500 us).
This effect made us think that the BEMF voltage measurement is disturbed by some effect we do not understand. While investigating this, we have observed current flow in the un-powered phase, which might confirm the existence of an undesired voltage component which is masking the real BEMF.
We have configured the device with maximum MOSFET currents, and different dead-time values (that do not have an impact on the observed effect).
Is there any reason why we cannot get good BEMF measurements using the out-of-the-box evaluation board? This effect is currently blocking our project since we cannot use the BEMF to estimate motor position/speed...
- Plot of current in one-phase, along with the 3 GPIOs used to implement 1-PWM mode, the zoom shows the unexpected current in the un-powered phase:
- Plot of phase voltage and current, with zoom in the current when the phase is not powered:
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Anuj Narain:
I am enclosing the picture again and answering your questions below:
1) We are unable to view D021.bmp. Could you please re-attach this file.
2) Are you able to get your motor spinning with the controller on the EVM.
We are able to spin the motor in open loop (fixed phase switch time manually controlled from debugger), but not to use BEMF to infer motor speed and close the loop accordingly.
3) Have you disconnected the onboard MCU completely or are you programming the same MCU for the 1-PWM mode ?
The setup is:
- Micro-controller in EVM not used at all, and 0 Ohm resistors removed to completely disconnect MCU from pre-driver.
- Signals for phase control INHx and INHLx plus SPI connected to our micro-controller. You can see the 3 phase control signals we provide to the pre-driver (INLA, INHB, and INLB) in the previous figure.
Just to mention it, we got the same results originally in a custom hardware developed by us. We switched to use the EVM just to confirm the observed effect with your reference HW (i.e. dscard possible error in our schematic/layout design). Both platforms behave exactly the same.
The main point here is that we cannot get proper Zero-Crossing detection due to the fact that BEMF voltage is somehow masked by some unknown effect. This is mostly confirmed by the fact that current in the un-powered branch is not measred to be 0 as we would expect.
In reply to Diego Alegre Oliva:
I am with a couple of pictures of the current setup, I think this can clarifies the way we are connecting the external microcontroller to the DRV8305-Q1EVM.
In reply to Adam Sidelsky:
In reply to Garrett Walker:
Thanks for you help on this, Garrett,
No problem, let´s work on it off-line and communicate as per our yesterday´s meeting.
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. 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.