1

I saw a different H-bridge circuit than the H-bridge circuits I’ve seen before. What could the connection to the MCU in the lower left of the circuit be for?

enter image description here

JYelton
  • 34,119
  • 33
  • 145
  • 265
harmonica
  • 663
  • 3
  • 15

1 Answers1

2

The resistor on the right is a "shunt" resistor. This is a small value resistor which is used to measure the current flowing into the motor down to ground (U = Rshunt*I). The same voltage is developped across the RC circuit. This circuit is a low-pass filter. This will ensure that only the average DC current will be measured by the MCU. The "MCU" output from the RC filter must be connected to the MCU's ADC for measurement.

  • 1
    ... also please note that this RC smoothing is not used that much. The voltage across the shunt resistor is normally very small (a few mV, for thermal dissipation reasons) and needs amplification. A differential shunt current sense amplifier is a better way ... but comes at a higher price of course. – Arthur Chassande Jun 29 '22 at 11:15
  • So if I'm not misunderstood, the purpose of using the ADC pin is to detect overstrain of the motor and prevent it from breaking down. – harmonica Jun 29 '22 at 11:53
  • 2
    for instance yes, or any other kind of control loop system :) – Arthur Chassande Jun 29 '22 at 15:29