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.

DRV8316: DRV8316 Schematic Questions

Part Number: DRV8316
Other Parts Discussed in Thread: DRV8323

Hi there, we are using the DRV8316 for FOC control of a BLDC motor and had the following questions!

1. We are not using the internal buck regulator for any application - what do we do with it in the meantime? We want to minimize component count.

2. We are considering 3x PWM mode - are there any disadvantages with this mode compared to 6x PWM?

3. What is the intended use of DRVOFF? I cannot think of a case where we want all FETs off and the driver is in sleep mode. If it's not being used, should I tie it to nSLEEP? Leave floating?

4. How is the VREF/ILIM pin to be used? Can it be tied directly to AVDD? Based on 8.3.11.1, I would assume yes. What would be the current limit in this case?

5. Does SDO need an external pullup? Figure 8-1 and section 8.3.10.4 shows it being push-pull but the datasheet mentions that it is open-drain? If push-pull, we will use an internal PU on our STM. If open-drain, we will connect to 3V3 through 4.7k.

6. I see that the datasheet mentions an analog ground and power ground. In the past, we have treated power ground as our system ground and created isolated analog pours for circuits of interest. In this case, for thermal reasons, we would want to connect the thermal pad to power ground. Thoughts?

Thank you,

Daniel

Daniel

  • Hi Daniel,

    Thank you for your questions! 

    1. To disable the buck you can write a 1 to the BUCK_DIS bit in the Control_6 register. This will disable the operation of the buck. You still will need to have the external components on the buck output, so I would suggest using the resistor/capacitor combination since that would result in the smallest components/cost.

    2. 3x PWM is beneficial to use for sinusoidal commutation since for sinusoidal commutation all three phases are always active (never HiZ), so the INLx pins can all be tied to AVDD and thus the number of GPIOs used can be reduced. 3x PWM mode can also be used in a similar way with FOC control, but our FOC code is designed for 6xPWM applications, so it would be necessary to modify the code to use 3xPWM mode. here is a related post that goes into more detail on the differences between different PWM modes.

    3. DRVOFF is simply a control that allows you to turn off all the gates of the FETs. If you don't need this function you can tie the pin to GND. Keep in mind this pin gives you the flexibility if you want to manually shut down the gates of the FETs such as when a particular fault occurs, since not all faults result in the gates shutting down (depending on the fault)

    4. The DRV8316 can operate using 2 modes, either using the current limiting mode or sense amplification mode. The voltage at the VREF/ILIM pin determines which mode is used. To use the SOx outputs of the DRV8316, the voltage at the VREF/ILIM pin must be between 2.8V and AVDD. In this mode, the output of the SOx pins have an offset of VREF/2 to allow for negative and positive current readings.

    To use the current limiting mode, the voltage at the VREF/ILIM pin must be between AVDD/2 and AVDD/2 - 0.4V. since AVDD is a 3.3V LDO, the range of operation is 1.65V to 1.25V. The voltage at the VREF/ILIM pin should be selected to result in the internal comparator to trigger at the desired current limit. When the current through the coils reaches the level that results in Vmeas equaling the voltage at the VREF/ILIM pin, the comparator will send a signal to the driver to turn off the high side MOSFET to prevent more current being applied to the motor. Once the current falls below the threshold then the driver resumes switching the high side MOSFET on the next PWM edge. 

    Since you are using FOC you will want to operate it in the VREF mode since you will need to use the sense amplifier outputs as feed back for the FOC algorithm. Therefore in this mode you cannot use the current limiting mode of operation for this device.

    5. The SDO pin can be configured either as a push pull pin or as an open drain pin. This is set by configuring the SDO_MODE bit in the CONTROL_2 register. If you configure it as an open drain pin, then a pullup resistor will need to be used on the SDO pin (our EVM uses a 5.1k pullup)

    6. For your particular design you should be able to use a single ground instead of a split ground, especially since you won't be using the buck. Having a single ground will help with thermal dissipation. 

    Let me know if you have any further questions,

    Anthony 

  • Hi Anthony, thanks for the fantastic response! See my comments below:

    1. Understood - can we use a resistor / cap combination besides the one used in the eval? Eval uses 22R and 22uF cap. Could we use something like 10 or 100R and 10uF?

    2. We do not use TI's FOC code - we use an STM32. We are considering using 3xPWM for INHX and then tying all INLX pins to a GPIO since we want high-z control - let me know if that works!

    3. Understood - we will tie it to GND unless there is a significant concern

    4. We want to use the SOX pins - therefore, we will connect VREF to AVDD. We will enable current limiting in SW

    5. We will leave it floating (internal 100k PU on STM) and then configure it at boot to be push-pull

    6. Understood - single ground will be used for entire layout

    7. Additional question: what is the recommendation for sizing the LPF on the SOX lines? Eval uses 330R and 22pF.

    To give you additional context, our product was originally using the DRV8323 until the 8316 came out! Saves us alot of money!!!


    Thanks for your help thus far!

    Daniel

  • Hi Daniel,

    1. For the resistor/cap combination I would recommend using the recommended 22R and 22uF combination since the default setting in the register is for the buck to be enabled, so every time you power up the device the buck will start up until the BUCK_DIS bit is written a 1, at which time the buck will be disabled.

    2. 3x PWM mode should work as you described as long as the outputs of the code corresponds correctly for a 3x PWM application.

    7. For the low pass filter, using a 330 ohm resistor and 22pF capacitor is a good place to start. This will result in a cutoff frequency in the 20MHz range. If there is still too much noise then you can try using a filter with a lower cutoff frequency. Just keep in mind that if the cutoff frequency is too low than the response time of the SOx to changes in the current can be longer, which could eventually result in inaccurate sampling by the ADC.

    Glad to hear that the release of the DRV8316 resulted in a more cost effective solution for your application!

    Regards,

    Anthony 

  • Fantastic! Thank you very much for the in depth responses.