MedievalMan
Electrical
- Feb 2, 2006
- 27
I'm trying to do bidirectional dc motor current (torque) control using resistors as the current sensor.
I'm using a bidirectional pwm/bridge IC combo (see and I've tried the sense resistor placed between the bottom of the bridge and ground. It works well for PWM based current control, using a simple PI controller, in either direction (by switching the sign of current based on which leg is being switched) This method doesn't work very well or at all when a switch between +'ve and -'ve current demand occurs, because of the inductive nature of the motor.
A single resistor placed in the middle of the bridge with the dc motor also does not work for the opposite direction, because one side of the current signal is references to ground; when the other leg is switched, the current signal has a floating reference.
One of the best documents I've found explaining this problem
"LOAD CURRENT SENSING IN SWITCH-MODE BRIDGE MOTOR DRIVING CIRCUITS" with possible solutions is:
I'm going to try one of the dual resistor configurations with opamps when I get the chance.
I'm wondering if anyone has any other suggestions to resolve this direction switching problem, perhaps even with a software solution (I'm using a Texas Instruments DSP for the controller).
Thanks in advance,
I'm using a bidirectional pwm/bridge IC combo (see and I've tried the sense resistor placed between the bottom of the bridge and ground. It works well for PWM based current control, using a simple PI controller, in either direction (by switching the sign of current based on which leg is being switched) This method doesn't work very well or at all when a switch between +'ve and -'ve current demand occurs, because of the inductive nature of the motor.
A single resistor placed in the middle of the bridge with the dc motor also does not work for the opposite direction, because one side of the current signal is references to ground; when the other leg is switched, the current signal has a floating reference.
One of the best documents I've found explaining this problem
"LOAD CURRENT SENSING IN SWITCH-MODE BRIDGE MOTOR DRIVING CIRCUITS" with possible solutions is:
I'm going to try one of the dual resistor configurations with opamps when I get the chance.
I'm wondering if anyone has any other suggestions to resolve this direction switching problem, perhaps even with a software solution (I'm using a Texas Instruments DSP for the controller).
Thanks in advance,