Assuming that you mean an H bridge controller you can measure the current in the common ground connection(sources of the low side mosfet), the polarity there will always be the same
View attachment 61036
the current will flow either from Q2/Q3 or Q1/Q4, in either case the current will go through the shunt resistor which will be connected right before gnd so the voltage polarity on the resistor will be always 0 at gnd side and more positive in the mosfet source side.
By switching different mosfets you invert the polarity applied to the motor coil but the power supply lines are still in the same place so the current flow is the same.
I have done a similar circuit some time ago
View attachment 61037
Alex
the motor will not generate voltages below gnd (negative), it will just generate voltages reversed from the one it had while working and these will find a way to reach the power supply through the diodes, I don't see a way to have a negative voltage at the source side of the shunt resistor.
---------- Post added at 02:07 ---------- Previous post was at 01:52 ----------
Take a look at H-bridge spiking -- Chuck's Robotics Notebook
I see it though.I don't see a way to have a negative voltage at the source side of the shunt resistor.
I see it though.
As a first point, you have to distinguish between average and instantaneous current. Secondly, you have to distinguish between unipolar and bipolar PWM schemes.
In bipolar PWM mode, you'll observe bipolar currents in the shunt resistor in most operation states. In unipolar PWM, there's a zero current period, when the current recirculates through either both low side or high side switches. You get negative current at least during generatoric (breaking) motor operation, and also negative current peaks in motoric operation, if the current ripple magnitude is sufficient high.
In other words, dksoba is basically right.
Yes. Obviously as a average value, when the motor is breaking/generating and sourcing power to the DC bus. And as an instantaneous value, depending on the PWM operation.There will be times when we will have a negative voltage with reference to the gnd in the upper side of the resistor?
Something like that?
P.S.:
Yes. Obviously as a average value, when the motor is breaking/generating and sourcing power to the DC bus. And as an instantaneous value, depending on the PWM operation.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?