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.

DRV8871-Q1: Some motors work some don't . Current regulation setting and inrush limit

Part Number: DRV8871-Q1

Hi,

I am working with this part to drive a motor with this characteristics 

No Load Current = 150mA

Stall current 4A max

I set the H-bridge for max current limit of 3.5A so it never reaches lock current, and I am PWM @ 400Hz

My first batch of motors work just fine, but on my second batch the motors do not work unless I increase the PWM freq. to 150kHz.

Questions:

What is the maximum inrush the H-Bridge can handle and for how long?

Should I change the limiting resistor to not use current regulation?

If the stall current is 4A max should I not be using current regulation at 3.5A ?

Thank you,

-Jeremy

  • Hi Jeremy,

    Can you send me some waveforms showing input (IN1, IN2) and output signals (OUT1 and OUT2) for both batches of motors. One of each should be okay.

    Are the motors of the two batches the same?

    What is the maximum inrush the H-Bridge can handle and for how long?

    The absolute maximum inrush current the device can handle before overcurrent protection is triggered is  4.5A (typical) for 2µs.

    Should I change the limiting resistor to not use current regulation?

    If the initial inrush current is not sufficient to overcome the mechanical inertia of the motor, then you should probably disable the current limit. Although, if the inrush current is higher than 3.7A for longer than 2µs, OCP will be triggered.

    If the stall current is 4A max should I not be using current regulation at 3.5A ?

    If the stall current is higher than 3.7A, then the current limit may not work since the device will go trigger an OCP fault disabling the outputs. Current limiting is only effective when it is below the minimum OCP threshold which is 3.7-A.

  • Hi Pablo,

    Thanks for the information. 

    I am a little confuse. The data sheet states a typical OCP of 4.5A  and a peak current drive of 3.6A. The steady state of the motor is around 500mA for only 400ms.

    If my inrush is les than 4.5 amps, why is the OCP been triggered (Are you using the min OCP value?)

    I will send you a plot latter today, but we are driving this in forward mode while IN1 is held HIGH and we PWM IN2, so active wen PWM is LOW. 

    On the bench, and just testing the motors on its own, I do see some motors where the inrush is higher that the 4.5A. This motors will trigger the OCP at 400hz but not at 150kHz. I concluded that by switching at a higher frequency (faster), we are not letting the inductance of the motor charge enough to draw more than ~2A on inrush. Can this approach be valid?  

    Thank you!

    -Jeremy

     

  • Pablo, one more thing. Lets say VM is set to 12V and I PWM to 75% duty cycle to get an average voltage of 9V. What voltage does the H-Bridge sees the peak (12V) or the average (9V)?

    Thanks.

    -Jeremy 

  • Jeremy,

    If my inrush is les than 4.5 amps, why is the OCP been triggered (Are you using the min OCP value?)

    Yes, The min OCP value for this device is 3.7-A. Meaning OCP may be triggered at 3.7 under certain conditions. If you a current probe or another instrument to measure the current through the motor, we can determine if the device is going into OCP.

    On the bench, and just testing the motors on its own, I do see some motors where the inrush is higher that the 4.5A. This motors will trigger the OCP at 400hz but not at 150kHz. I concluded that by switching at a higher frequency (faster), we are not letting the inductance of the motor charge enough to draw more than ~2A on inrush. Can this approach be valid?  

    What is the PWM frequency at 150kHz? is it 75% as you mention in the reply above? AT higher frequencies, the driving phase is much shorter which effectively minimizes the inrush current through the motor.

    Pablo, one more thing. Lets say VM is set to 12V and I PWM to 75% duty cycle to get an average voltage of 9V. What voltage does the H-Bridge sees the peak (12V) or the average (9V)?

    The voltage seem by the H-bridge will be the peak 12-V. The duty cycle will affect the average current through the motor.

    Please share the waveforms when you obtain them.

  • Hi Pablo,

    Yes we are running this motor/H-bridge form a supply voltage that has a range of 9V to 16V , we monitor the voltage via Microcontroller and adjust the duty cycle to obtain a ~9V average. Do you see any potential problems with the H-Bridge if we use higher frequency to mitigate the inrush at higher voltages?  

    If the H-bridge sees the peak voltages, that means that the inrush [I=(V-BEMF/Rmotor)] that the H-bridge sees increases as the supply voltage goes up. Correct? 

    Thank you!!

    -Jeremy 

  • Hi Jeremy,

    Do you see any potential problems with the H-Bridge if we use higher frequency to mitigate the inrush at higher voltages?  

    An effect of driving a motor with higher current is lower motor torque. Since the current through the motor last for shorter time, the motor torque will be lower. This may be an issue once the motor is loaded. You will have to run tests with your applications to determine if there are any problems due to the lower torque.

    If the H-bridge sees the peak voltages, that means that the inrush [I=(V-BEMF/Rmotor)] that the H-bridge sees increases as the supply voltage goes up. Correct?

    The inrush current will depend mainly on the parameters of the motor. I suggest looking at the datasheet of the motor to get the inrush current information.

  • Hi Pablo,

    I have attached plots to describe what I am seeing. 

    Trace1: VM

    Trace2: IN2 (IN1 is held High)

    Trace4:Current (measure at the high side of the motor

    On the first plot the motor runs as expected, on the second plot I am not sure what is going on but i was able to duplicate by using a resistive load instead of the motor. the Itrip is set to 3.5A but the plot does not show OCP. Can you weigh on this?

    Thank you,

    -JeremyTI.pdf

  • Hi Jeremy,

    Thank you for providing the information. Please give me one business day to review your data. Expect a reply from me by 8/9.

  • Pablo, 

    Correction: Trace 1 is actually the voltage across the motor (not VM)

    Thanks.

    -Jeremy

  • Hi Jeremy,

    Thank you for the clarification

  • Hi Pablo,

    I am trying to get an answer to my client sooner than later. Do you need any other information? Referring to the plots I sent, any idea why the waveforms look different when the motor does not spin? What is the state of the h-bridge here?

    Thank you,

    -Jeremy 

  • Hi Jeremy,

    One thing I noticed in the waveforms is that when the motor is not spinning, the voltage across the motor does not follow IN2. The output voltage is switching at a much faster rate than the IN2 frequency of 400Hz. Can the customer retake the measurements without a load for frequency of 400Hz at 50% and 75%? I want to know if this issue is being caused by the driver or somehow by the load?

  • Hi Jeremy,

    Any updates? Has the issue been resolved?

    I will close this thread for now since I have not heard back from you. Feel free to reply back if you still require assistance.

  • Hi Pablo,

    I am sorry I did not see your last reply. We think we have figured out the difference in the motors, the one that spins does not have a filter cap across the motor contacts and the one that does not spin does have a capacitor (1uF for EMI). We think that when we drive the motor, drive -break, every time the capacitor charges the inrush is tripping the OCP, how ever the waveform indicates some sort of regulation. We have switched the PWM freq. to 150kHz and now the motor spins. The only questions I have are below ( I may know the answer to some but want reassurance)

    If the H-bridge is set to regulate at 3.05A (Itrip), what happens if the inrush goes over 3.7A? Does it regulates or goes into over current? I am under the assumption that if regulation is set it should not go over that limit, but may be wrong.

    What happens if the motor steady-stay is less than the regulation setpoint? Does it do any regulation or just regulates if it reaches the (Itrip)?

    Last, by switching at 150kHz does the regulation even works? Since we are switching at a faster rate (6.7us w/duty of 50% to 85%) than the 25us it take to regulate. So when the device enforces the current decay we are switching about 4 times.  

    We are trying to determine if we need to set the regulation or not. The motor steady-state draws about 400mA but the inrush can exceed the 3A mark although we are mitigating this with the higher freq.

    Thank you so much for your help!

    -Jeremy

  • Hi Jeremy,

    I'm glad you were able to find the root cause.

    If the H-bridge is set to regulate at 3.05A (Itrip), what happens if the inrush goes over 3.7A? Does it regulates or goes into over current? I am under the assumption that if regulation is set it should not go over that limit, but may be wrong.

    If the current is above 3.7A for longer than the OCP deglitch time of 2us, then OCP will trigger. However, if the current stays below 3.7A or it come down before the OCP deglitch time expires, then the device will try to regulate at the current regulation limit. The current regulation circuitry has some delay. So in the case of very large current increase (during inrush or shorts), the current may not be regulated fast enough and an OCP fault will be triggered instead. If you can slow down the inrush current (which you are technically doing by increasing the frequency), the current can be regulated preventing the OCP fault.

    What happens if the motor steady-stay is less than the regulation setpoint? Does it do any regulation or just regulates if it reaches the (Itrip)?

    In this case, the motor is under normal operation. No regulation is being performed and the outputs of the H-bridge follow the input PWM frequency and duty cycle.

    Last, by switching at 150kHz does the regulation even works? Since we are switching at a faster rate (6.7us w/duty of 50% to 85%) than the 25us it take to regulate. So when the device enforces the current decay we are switching about 4 times.

    When the driver is regulating current, it forces the TOFF of the output voltage to be 25us regardless of the input control frequency or duty cycle.

    We are trying to determine if we need to set the regulation or not. The motor steady-state draws about 400mA but the inrush can exceed the 3A mark although we are mitigating this with the higher freq.

    This is something you need to evaluate. If the motor requires a certain amount of initial current to get the motor spinning, then having current regulation below the required initial current, the motor will not spin. I suggest starting with a low current regulation limit and slowly increase until the motor is able to begin spinning. If the motor is unable to begin spinning even near 3.7A regulation limit, then most likely you'll need to choose a driver with higher peak current rating.

    I hope this answers your questions. Let me know if you need further assistance.

  • Thanks for your help!!!