JAJU835 December 2021
The DRV5056 in this design senses the magnetic flux density produced by the trigger magnet and translates this sensed magnetic flux density into voltage using :
where
Note that the maximum recommended current that can be drawn from the DRV5056 voltage output pin is ±1 mA, so any circuit connected to the DRV5056 output must be designed to ensure that it does not draw more than ±1 mA from the DRV5056 OUT pin.
In this design, the D6 TRIG LED increases its brightness as the trigger is pressed. The brightness is adjusted by using a TLV9061 op-amp circuit. Resistors R6, R7, R8, and R10 were selected to translate the DRV5056 output voltage into a voltage that could drive the cathode of the LED so that the trigger magnet movement changes the intensity of this LED. The anode of D6 is connected to VCC_2, which is the switched voltage rail from the output of the TPS22917. The voltage applied to the cathode of D6 is approximately equal to (0.728 × VCC_2) – (VDRV,OUT × 0.699). As a result, the voltage across the diode will be approximately (0.272 × VCC_2) + (VDRV,OUT × 0.699). The LED turns ON when the voltage across it is greater than 1.7 V. As the trigger is pressed, the voltage drop across the LED increases, thereby increasing the brightness of the LED. In addition to selecting the resistors to obtain the desired cathode voltage, these resistor values were selected so that they do not draw more than ±1 mA from the DRV5056 output. By performing circuit simulation on this circuit, it was verified that this circuit takes less than ±50 μA of current from the DRV5056 OUT pin.
The TLV9061 circuit is used to drive the D6 LED for demonstration purposes when in standalone mode. It is possible to connect the DRV5056 output to an external system by removing resistor R5 so that the DRV5056 output is isolated from the TLV9061 circuit. If it is desired to divide the output from the DRV5056, resistors R10 (currently 51.1 kΩ) and R11(currently DNP) can be replaced with values that divide the DRV5056 as needed. The output voltage from this resistor divider is brought out to the “DIV” test point on the board.