H-Bridge troubles (driving a stepper motor)

AI Thread Summary
The discussion focuses on troubleshooting an H-bridge setup for driving a stepper motor using an Arduino. The user initially attempted to use P-Channel and N-Channel MOSFETs but faced issues with the inverter not providing sufficient voltage to turn on the P-Channel MOSFETs. Suggestions include correcting the schematic by ensuring the P-Channel MOSFETs are connected properly with source pins to VCC and adjusting the gate drive circuitry for high-side N-Channel MOSFETs if used. The inverter's behavior was also clarified, indicating it wouldn't function effectively as a high-side driver. Overall, the key to resolving the issue lies in correcting the MOSFET connections and ensuring proper gate drive signals.
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: 711
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.
 
Hi all I have some confusion about piezoelectrical sensors combination. If i have three acoustic piezoelectrical sensors (with same receive sensitivity in dB ref V/1uPa) placed at specific distance, these sensors receive acoustic signal from a sound source placed at far field distance (Plane Wave) and from broadside. I receive output of these sensors through individual preamplifiers, add them through hardware like summer circuit adder or in software after digitization and in this way got an...
I have recently moved into a new (rather ancient) house and had a few trips of my Residual Current breaker. I dug out my old Socket tester which tell me the three pins are correct. But then the Red warning light tells me my socket(s) fail the loop test. I never had this before but my last house had an overhead supply with no Earth from the company. The tester said "get this checked" and the man said the (high but not ridiculous) earth resistance was acceptable. I stuck a new copper earth...
Thread 'Beauty of old electrical and measuring things, etc.'
Even as a kid, I saw beauty in old devices. That made me want to understand how they worked. I had lots of old things that I keep and now reviving. Old things need to work to see the beauty. Here's what I've done so far. Two views of the gadgets shelves and my small work space: Here's a close up look at the meters, gauges and other measuring things: This is what I think of as surface-mount electrical components and wiring. The components are very old and shows how...
Back
Top