I'm building a simple H-bridge 4-quadrant controller for a small DC motor. It's very similar to the attached diagram. The MOSFET gates are driven by an Arduino with optocouplers.
Q1 and Q2 are P-channel MOSFETs, IRF4905. Q3 and Q4 are N-channel MOSFETs, IRFZ44N.The motor is a small RS-775 motor: 10k RPM, 12V, 10 oz-in rated torque, 43A stall current.
What should the order of operations be when changing motor direction? For example: the motor is spinning forward with Q2 and Q3 closed, Q1 open, and Q4 controlling speed with PWM. To spin the opposite direction I need to get to the state where Q1 and Q4 are closed, Q2 is open, and Q3 is controlling speed with PWM. Obviously Q1/Q3 and Q2/Q4 can't be open at the same time since that would short the power supply. So the options for order of operations are:A. Q4 closed, then Q1 closed (now all MOSFETs are closed), then Q2 open, then Q3 open/PWM.B. Q4 closed, then Q2 open (both P-channel MOSFETs are open), then Q1 closed, then Q3 open/PWM. C. Q1 closed, then Q3 open (both N-channel MOSFETs are open), then Q4 closed, then Q2 open/PWM.
On one hand, if the motor is spinning and generating back EMF, then having all switches open (case A) will let the motor "coast", and there will be no wasted current. On the other hand, it's an inductive load and current will try to continue to flow, so cases B and C will allow that to happen without creating huge inductive spikes, potentially damaging the MOSFETs. Also at low speed when it's most likely to be changing direction, back EMF will be low but torque and current could be high, further pointing to cases B and C. Which case is best to do? Is there any reason to choose B or C, or are they effectively the same?Thanks!
Q1 and Q2 are P-channel MOSFETs, IRF4905. Q3 and Q4 are N-channel MOSFETs, IRFZ44N.The motor is a small RS-775 motor: 10k RPM, 12V, 10 oz-in rated torque, 43A stall current.
What should the order of operations be when changing motor direction? For example: the motor is spinning forward with Q2 and Q3 closed, Q1 open, and Q4 controlling speed with PWM. To spin the opposite direction I need to get to the state where Q1 and Q4 are closed, Q2 is open, and Q3 is controlling speed with PWM. Obviously Q1/Q3 and Q2/Q4 can't be open at the same time since that would short the power supply. So the options for order of operations are:A. Q4 closed, then Q1 closed (now all MOSFETs are closed), then Q2 open, then Q3 open/PWM.B. Q4 closed, then Q2 open (both P-channel MOSFETs are open), then Q1 closed, then Q3 open/PWM. C. Q1 closed, then Q3 open (both N-channel MOSFETs are open), then Q4 closed, then Q2 open/PWM.
On one hand, if the motor is spinning and generating back EMF, then having all switches open (case A) will let the motor "coast", and there will be no wasted current. On the other hand, it's an inductive load and current will try to continue to flow, so cases B and C will allow that to happen without creating huge inductive spikes, potentially damaging the MOSFETs. Also at low speed when it's most likely to be changing direction, back EMF will be low but torque and current could be high, further pointing to cases B and C. Which case is best to do? Is there any reason to choose B or C, or are they effectively the same?Thanks!