Motor Driver similar to L293D
Part Number: DRV8871
We are using the DRV8871 as a motor driver for a small motor (R=10 Ohms). Its nominal current is well within 300mA.
The problem seems to be that when we are changing the duty cycle, the output somehow shows a distorted voltage. We verified with a couple of chips and they all show the same issue.
The inputs are as follows:
VM=12.3V , PWM Duty cycle = 50% , IN(X) Voltage = 3.3V , PWM Frequncy = 500Hz.
IN2 is shorted to GND and we have more than adequate decoupling using 5 100uF Capacitors.
Below is an oscilloscope shot with the motor connected and running at no load condition: CH1:- DRV8871 Output to the ground (OUT1), CH2:- DRV8871 Input (IN1).
Below is an oscilloscope shot with the motor connected and running at no load condition : CH1:- (OUT2-GND ), CH2:- (OUT1- GND).
Below is an oscilloscope shot of the output with nothing connected : CH1:- (OUT2-GND ), CH2:- (OUT1- GND).
Below is an oscilloscope shot of the output with a 33Ohm Resistor Alone : CH1:- (OUT2-GND ), CH2:- (OUT1- GND).
Can you help me out? I can't understand why the output is not able to follow the input square wave even at no load.
1. When IN1 is high and IN2 is low, the winding current goes forward like (1) in the picture. OUT2 follows the VM as your first waveform
2. When IN1 and IN2 are low, all FETs are off; the winding current goes coast mode like (3) in the picture. The winding current cannot immediately change the direction. So, it will first make the current goes through OUT1 low side FET body diode and OUT2 high side FET body diode. And then, LC resonance is happened between winding inductor and FET's parasitic Coss. That is what you see in the first picture when IN1 is low.
The above explanation can also explain other waveforms. You may try to turn on IN2 when IN1 is turned off to get the output square wave.
Motor Drive Solutions
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 Wang5577:
Thanks for that, we have resolved the issue.
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.