H-Bridge troubles (driving a stepper motor)

Click For Summary
SUMMARY

The discussion centers on troubleshooting an H-Bridge circuit for driving a stepper motor using an Arduino. The user initially attempted to use P-Channel MOSFETs on the high side and N-Channel MOSFETs on the low side, but faced issues with the Hex Inverter IC not providing sufficient gate voltage. Key insights include the necessity of correctly orienting the P-Channel MOSFETs, ensuring they connect to VCC (12V) at the source, and recognizing that high side N-Channel MOSFETs require different gate drive circuitry. The suggested corrections should resolve the issues encountered.

PREREQUISITES
  • Understanding of H-Bridge circuit design
  • Familiarity with MOSFET operation and characteristics
  • Basic knowledge of Arduino programming and interfacing
  • Experience with reading and interpreting electronic schematics
NEXT STEPS
  • Research high side N-Channel MOSFET gate driving techniques
  • Learn about H-Bridge configurations for stepper motors
  • Explore troubleshooting methods for motor control circuits
  • Study the specifications and applications of Hex Inverter ICs
USEFUL FOR

Electronics hobbyists, engineers designing motor control systems, and anyone involved in robotics or automation projects requiring stepper motor control.

loamobn1
Messages
1
Reaction score
0
I'm trying to drive a stepper motor with an h-bridge. The motor has four input leads, so uses two h-bridges. I need to be able to reverse the current through the coils (thats why I'm using the h-bridges), and control the mosfets on either side of the h-bridge with one 5V output pulse from an Arduino.

My first attempt was to put P-Channel mosfets on the top half, N-Channel mosfets on the bottom half, and have one signal feed the gate of the correct N-Channel and go through an inverter and feed the corresponding P-Channel. That didn't work, because (for some reason unknown to me) the Hex Inverter IC's LOW was about 1V, and didnt put the P-Channel into conduction.

Then I tried the circuit that I have attached, to actively drive the P-Channel gate low. The output (either side of the coil) looks fine from an oscilloscope when the motor isn't connected, but when it IS, the voltage at these points dies out.

I've seen a half dozen H-bridge circuits, and tried most of them (the simpler ones), but none of them have worked. I think that the problem may be that the P-Channel drain voltages are about equal to the gate voltage...but the gate threshold voltage is 2V, so it doesn't turn on.


I've been working on this thing non-stop for weeks, asked a handful of EE students and teachers, and no one knows...any help or suggestions would make you a celebrity around here.

(P.S. The "resistance" of the coil is 12 ohms.)

Thanks
 

Attachments

  • p-chan hbridge pic.jpg
    p-chan hbridge pic.jpg
    21.3 KB · Views: 719
Engineering news on Phys.org
A few observations:

1. The high side P-channel fets in your schematic are upside down. The source pins should be connected to VCC (12V) and drain is connected to the motor.

2. Your schematic depicts N-channel fets on the high side. But since you indicated you’re using P-channel on the high side, be sure your schematic reflects this. Using high side N-channel fets is a common approach, particularly in higher power motor controls, but this would require different high side gate drive circuitry.

3. The Hex inverter would not have worked as the high side fet driver. When the hex inverter is logic low (0V), then Vgs = -12V and the high side fet is on. When the hex inverter is logic high (5V), then Vgs = -7V and the high side fet is still on.

Once you turn those P-channel high side fets around, the circuit as you’ve drawn it should work fine.
 

Similar threads

Replies
80
Views
5K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 39 ·
2
Replies
39
Views
5K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 10 ·
Replies
10
Views
8K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
12
Views
2K