You can learn how to build h-bridges from many on- and off-line resources. After all these circuits are not terribly complicated. Some of those resources are good, some are not so much. However when I’ve started working with them, I’ve realized that many of my experiences were not documented and some of the things I’ve learned seemed to be missing from those descriptions. So I decided to write down what I’ve learned and try to organize that description into an easy to understand yet comprehensive structure.
This work started off as a three-part series I’ve written, while developing the µModule H-bridge. While the current material is based on those articles, it corrects many errors and is expanded and updated greatly.
My intention is to cover more ground than most articles I’ve seen on the subject. While I don’t expect the you, dear reader, to be familiar with h-bridges or motors controllers in general, I do build upon basic electrical circuit understanding. So if you don’t know what a resistor, an inductor or a capacitor is, if you don’t understand at least the basics of time- and frequency-domain circuit analysis, you’re not reading the right article. You probably won’t be able to follow the discussion. But if you’re interested in motor control background information, if you want to understand the reasons behind design decisions, if you want to gain deeper knowledge not just in the h-bridges, but in what goes on before and after them, you have found your place.
My plan is to eventually expand these articles to cover not just h-bridges but control circuits and electromechanical systems as well.
In general an H-bridge is a rather simple circuit, containing four switching element, with the load at the center, in an H-like configuration:
The switching elements (Q1..Q4) are usually bi-polar or FET transistors, in some high-voltage applications IGBTs. Integrated solutions also exist but whether the switching elements are integrated with their control circuits or not is not relevant for the most part for this discussion. The diodes (D1..D4) are called catch diodes and are usually of a Schottky type.
The top-end of the bridge is connected to a power supply (battery for example) and the bottom-end is grounded.
In general all four switching elements can be turned on and off independently, though there are some obvious restrictions.
Though the load can in theory be anything you want, by far the most pervasive application if H-bridges is with a brushed DC or bipolar stepper motor (steppers need two H-bridges per motor) load. In the following I will concentrate on applications as a brushed DC motor driver.
The basic operating mode of an H-bridge is fairly simple: if Q1 and Q4 are turned on, the left lead of the motor will be connected to the power supply, while the right lead is connected to ground. Current starts flowing through the motor which energizes the motor in (let’s say) the forward direction and the motor shaft starts spinning.
If Q2 and Q3 are turned on, the reverse will happen, the motor gets energized in the reverse direction, and the shaft will start spinning backwards.
In a bridge, you should never ever close both Q1 and Q2 (or Q3 and Q4) at the same time. If you did that, you just have created a really low-resistance path between power and GND, effectively short-circuiting your power supply. This condition is called ‘shoot-through’ and is an almost guaranteed way to quickly destroy your bridge, or something else in your circuit.
Because of this restriction from the four possible states the side-A switches could be in only three make sense:
Similarly for side-B:
Altogether this allows for 9 different states for the full bridge to be in:
We will get into much more detail in a minute, but before we do, let’s spend a few minutes understanding the basics of our load, the DC motor.
While modeling DC motors is a complicated topic, one that you can read on extensively here, for this article, let’s just start with a very simple model! This model will not be useable for control applications, where you try to electrically compensate for the effects of mechanical components. The main assumption in the model introduced here is that the mechanical time-constants in your system are much higher than the electrical ones, in other words we can consider the shaft speed to be constant for our analysis. That’s true in almost all cases, but you’ll need to read other articles to understand why. For now, you’ll have to take my word for it.
A DC motor is an energy conversion device: it takes electrical energy and turns it into mechanical energy. When operated as a generator, it does the opposite: converts mechanical energy into electrical.
In this very simple motor model, the mechanical parameters are completely ignored. On the electrical side, the motor basically contains a number of inductors, that move in a magnetic field. The inductors themselves of course have an inductance, and some internal resistance. Their movement in the field will generate a voltage – called generator voltage and denoted by Vg – across the inductors. From this description, the following model can be drawn:
In fact in many cases, the internal resistance of the inductors can be disregarded, and an even simpler model, an ideal inductor in series with a voltage source can be used:
In both cases, all the elements are in series, so they share the same current, but the voltage across them of course is different.
The generator voltage (Vg) depends only on the speed by which the inductors move in the field, in other words on the rotational speed of the motor.
The force (or torque in a rotational system, like a DC motor) these electromagnets – inductors – exert is proportional to the current flowing through them.
Previously we’ve only considered static operation, when nothing was changing. If less than full-speed operation is intended the switches are controlled in a PWM fashion. A PWM signal has two phases, the ‘on-time’ and the ‘off-time’ as I’m calling them in the diagram below:
It is a periodic signal, with a constant frequency. The information content – that is used to change the operating parameters of the bridge – is the ratio between the on-time and the off-time. The various drive modes differ in how the switches are set during the on-time and the off-time.
If we want the motor to do anything interesting, we will have to connect it to the power supply in at least one of the phases. Let’s say it is the ‘on-time’. We have two choices: either we turn on Q1 and Q4 or we turn on Q2 and Q3.
But what about the off-time? We have nine states to chose from. These are:
If you look back at our motor model, you’ll see that it’s basically an inductive load. Inductors have the property that you can’t change the current flowing through them instantaneously. So, whenever the bridge changes state with the motor current being non-zero, the new state has to make sure that the current can continue to flow in some way. The catch diodes are usually not used for this purpose, because (as you will see later) they would heat up too much. There are of course exceptions, but those are just that: exceptions.
Now, during the on-time the motor inductor is connected between the power supply and GND. Consequently the current will start rising through the inductor. It is very unlikely that by the time the on-time is over, and we’re ready to switch the bridge into its off-time state, the current would be 0. So its best to choose a state for the off-time where we can provide a path for the inductor-current to flow. In order to do that, we’ll have to close one switch each on both sides of the motor, and that prunes out our possible off-time states quite a bit:
If we combine those four choices with the two possible on-time states, we get eight possible configurations. In two of them however both the on-time and the off-time states are the same, and those are not terribly interesting: the bridge operates in a static way. That leaves us with six meaningful mappings, that I’ll summarize below:
You can find some interesting symmetries in the tables.
For example mapping 3 and 4 change both sides. However if we swap side-A and side-B in mapping 3, we get mapping 4, and vice versa. We call these mappings the ‘lock anti-phase drive’.
The other four mappings (1, 2, 5 and 6) only change the state of one side of the bridge. Mapping 1 and 5 are however mirrors of each other the same way as 3 and 4 were: by swapping side-A and side-B we can transform one into the other. The same holds true for mapping 2 and 6. We call this type of operation the ‘phase-magnitude drive’.
In future parts of the article, I’ll talk in detail about both drive modes.
This simple categorization of drive modes works for most cases but not for all. There are some more esoteric drive modes that can be beneficial under certain rare circumstances.
If you look through the mappings above, you’ll see that both in the on-time and in the off-time one switching element is on on each side of the bridge. We did that in order to provide a continuous path for the motor current to flow. But if that’s true, what’s the purpose of these diodes? Can we leave them out? The answer is resounding no, and the reason is the following: it is impossible in any real circuit to turn on or off the high- and low-side switches at exactly the same time. They are either a bit early or a bit late. In one case, both the high- and low-side switch would be on for a short while, in the other both would be off momentarily.
If both are on, you created a shoot-through condition that is very very bad. We want to avoid short-circuiting the supply – even momentarily – by any means. So all practical bridge designs are biased in the other way, making sure that the two switches are never on at the same time, but as a consequence they will be both off for a short while during switching.
Now, when both switches are off on one side, the motor current has nowhere to flow. That’s bad in a different way: the motor voltage will jump as high as it needs to create a path for the current to flow. That voltage jump will probably kill one of the switches and the current path is created through the damaged switch. That’s not a nice way for the bridge to go, so some protection is necessary. The role of the catch-diodes is to provide a path for the current during these short switching periods without the motor voltage needing to rise too high. In some implementations, the intrinsic diodes of the MOSFET switches are used as catch diodes, in others, for example when BJTs are used as switching elements, the diodes must be provided externally.
The other thing to discuss is why not to use the diodes to conduct the off-time current? The main question that determines the answer is heat dissipation. Which one runs cooler: the diode or the switch?
In most bridge setups, the current changes relatively little during the on- and off-time compared to the average current flowing though the motor, so for the following discussion I will pretend the current is constant.
The difference between a diode and the switch (independent of switch technology) is that while your switching elements (when they’re closed) have a relatively constant and low resistance, a conducting diode has a relatively constant voltage drop on it. This means that the power dissipated on the switch is proportional to the square of the current:
Pswitch = Vswitch * I = Rswitch * I2
while the power on the diode scales linearly:
Pdiode = Vf * I (where Vf is the forward voltage drop of the diode)
From this you see that as long as the current is lower than Vf/Rswitch, you’re better off using the switches to conduct the off-time current. For most diodes Vf is in the range of 0.2 to 1V, while Rswitch is normally way lower than 1Ω, usually lower than 100mΩ. It’s also much easier to lower Rswitch than Vf if you get into trouble with heat dissipation, not to mention that Vf usually goes somewhat higher with the current. You can find MOSFETs with an on-resistance of lower than 10mΩ without too much trouble. Even integrated H-bridges contain FETs with an on-resistance of less than 25mΩ these days. If we take that bridge for example, it’s internal diode has a 0.8V forward voltage drop and a 23mΩ on-resistance (these are typical values). With those numbers you’ll see that the cross-over point is at 35A, which is over the rated 30A current limit for that part. This is typical except for extremely high-current applications: you operate the bridge under the cross-over point, where it’s more beneficial to use the switches to conduct the off-time current.
In this article we went through the basic construction of an H-bridge and created a catalog of the useful operating modes. We’ve identified two main categories: phase-magnitude drive and lock-anti-phase drive. In future parts of the series I’ll look in detail at both of those drive modes.
We’ve also briefly discussed the role of the catch diodes, why they are essential and why they’re not used to conduct more current than absolutely necessary.
If you feel the discussion here was fairly high level and maybe elementary, don’t worry, there’s plenty of detail to come.
Nice summary!! Thanks:) I’m studying for a mechatronics exam and it was great to have such a lovely and well written discussion… Thanks again!
Clear explanations and excellent writing style! Please go on!
Great article! just what i was looking for… thank you very much!
Very well written material. Thank you!
Just one thing: I think you wanted to write “close” (= turn on) in this sentence:
“In a bridge, you should never ever open both Q1 and Q2 (or Q3 and Q4) at the same time.”
You are absolutely right. Thanks for bringing my attention to this!
Thanks for your great articles!
I have one question and probably you can help me 🙂
I’m designing servo motor contoroller. Motor rated 6V and 3A max when stall. I used H-bridge in simpliest mode, where high-side fet on one side is opened and low-side fet on other side is controled by pwm signal. Also i’m measuring bemf to determine motor speed. This is done by closing all fets and measuring voltage on motor after transient process finishes. It all worked well, but then i decided that measuring current would be really nice for some features. Controller is really small so using current sensing resistor would be not great. I know that motor current I=(U-E)/R where U is applied voltage and E is bemf. R is constant motor rotor resistance. So i decided that I can measure current by calculation. I know E and R is constant, so the question was in determining applied U. At first i thought thats it is simple task and U can be calclated as supply voltage multiplied by pwm factor(0 to 1). But experiment gave me some strange result:
Blue line represents lineary changing pwm signal from 0% to 100%. Green line represents motor speed measured by encoder (bemf calculation gave same result). I also made a check with constant voltage suply(different voltages, no pwm) and that gave me absolutely linear result, as expected.
So in my case i can say that aplying 3V constant or 6V 50% pwm gives absolutely different behavour of the motor.
My guess is that motor may be in discontinious mode. PWM frequency is high – 20khz, but motor is coreless so L is probably really low. I don’t have L-meter unfoutunatly to measure exact L value.
I also tryed what you call Sign-Magnitude Drive, but current consumption greatly increased.
Can you suggest anithing? Is there any way to calclulate current or should i use current sensing resistor?
And sorry for my english 🙂
You ask a few questions, some of which needs a little more thinking, but let me see what I can answer for you right away…
When you do back-EMF sensing by periodically shutting down the PWM, you are collapsing the motor current. So at that low frequency you are operating the motor in discontinuous current mode. Closing all four FETs to do that is not a very good idea, leave one of them open. That way the collapsing current (you call it transient) has a well defined path to go through. What you do is essentially operate the motor at a very low frequency asynchronous sign-magnitude drive mode. On top of that, you apply a much higher PWM frequency during the on-time, which can be though of as a reduction of Vbat: when you change your PWM frequency, you are adjusting Vbat for this low-speed switching, that operates at a fixed duty-cycle.
Now, as far as current sensing, you can’t (reliably) use the generator voltage to estimate the current. The problem is that R isn’t really constant: this is the resistance of the (copper) wires inside the motor, and that is very temperature dependent. As you put load on the motor, the wires will get hot and you won’t know anything about their resistance.
Your last (and main) question is about the non-linear relationship between the motor speed and the PWM duty cycle. I’ll have to think a little harder about it, but here’s my initial reaction: if you read The article about sign-magnitude drive more specifically, the chapter called ‘Reality Check’, you’ll see that I made the simplifying assumption that the motor current is more or less constant. However you drive the motor in async. sign-magnitude mode, and – if you have no load on the motor – you are likely operating that as well in discontinuous current mode. In that case, the equations get more complex and that can easily be the reason for the non-linear relationship that you see. When you replace the fast PWM with a constant voltage source, you force the current to be continuous at least when you don’t measure the back-EMF voltage.
Finally, if your current consumption changes significantly when you change to sign-magnitude drive, than there must be something wrong with the circuit. My first guess would be shoot-through.
Hope this helps,
In the drive modes section:
You have written, If we want the motor to do anything interesting, we will have to connect it to the power supply in at least one of the phases. Let’s say it is the ‘on-time’. We have two choices: either we turn on Q1 and Q4 or we turn on A2 and Q3.
It should have been Q2 rather than A2. This is nothing but would be nice to correct !!
I have to say this is such a brilliant article as even a layman can understand.
Kudos to your effort in educating others !!
Thanks, I’ve corrected the typo.
hi i have problem i used 4 IRL 520N fett to build h bridge but the problem is that the motor got weary slow i used an 9.6V battery what can the problem be.
You gave me very little information to go on.
If the motor doesn’t spin fast through the bridge but it does if you connect it directly to the battery, and you have the right PWM driving signal (full scale on one direction or the other) driving the bridge, then there must be some highly resistive component in the path. This could happen if at least one of the FETs don’t close fully – which could happen especially on the high-side if your drive circuitry can’t provide a high-enough Vgs – in your case around +15V. Another possibility is that you create shoot-through in the bridge, effectively shunting your motor out.
Hope this helps somewhat,
This provides a good systematic overview, but I believe there is a serious error in your analysis. The actual transistor portion of a FET can only conduct current in one direction – from drain to source (electrons from source to drain – which is why those terminals are so named).
Any current flow from source to drain in the module, whether the transistor portion is on or off, is through the diode, and so will have the diode’s voltage drop and the resulting I*V dissipation. In different PWM switching schemes, during the “off” time, this may happen in either one or two modules, but it will always happen in at least one.
I have just spent some time reviewing various sources for any indication that there can be reverse current flow through the transistor itself (with its low on-resistance), and I can find none.
Actually, FETs (when turned on) can conduct current in both directions with the same low channel resistance. MOSFETs have an intrinsic diode between their drain and source that results in them conducting current in the reverse direction even when they’re off. The physical principle behind MOSFET operation is channel inversion which only depends on the electrical field under the gate and not on the direction of the current flow in the channel. In some texts the source is defined as the terminal which the lower (for n-channel) terminal, and by that definition of course current flows from drain to source. Notice how this definition has nothing to do with construction. Any actual device can conduct in both directions, only this definition swaps the naming of the pins depending on the current.
Great write up, thank you very much!
I have a question about the effect of the catch-diodes. I understand their function in giving the motor current a path to flow during the switching period. I want to understand the current path during that period. It flows to the power rails and through the battery right? If so I have 2 concerns. 1. If I have a LiPo battery, I think it would be sensitive to voltage spikes and/or have protection circuitry that wouldn’t allow this current to flow(putting us back where we started). 2. During this time, the voltage on the rails is possibly higher than it would normally be right? So anything connected to those rails has to be tolerant of higher voltages right?
Thank you for what you’ve written so far and thanks for any additional info you can provide.
Thanks for the question. I talk a lot about how the off-time current flows for the various drive modes in later parts of the series: http://www.modularcircuits.com/blog/articles/h-bridge-secrets/sign-magnitude-drive/ http://www.modularcircuits.com/blog/articles/h-bridge-secrets/lock-anti-phase-drive/ and http://www.modularcircuits.com/blog/articles/h-bridge-secrets/asynchronous-sign-magnitude-drive/. The short answer is that – depending on the drive mode – the current either flows back into the supply or through a short loop inside the bridge. If it does in fact flows back into the supply, it has two places to go to: the battery or the input capacitor. The capacitor can handle short transients, but long pulses can only be handled by the battery. These long pulses mostly happen during braking – you can usually size the input capacitor such that it handles the cycle-to-cycle currents.
Finally, you’re right: dealing with reverse-current into a battery is challenging. It can result in tripping of battery protection circuits, voltage spikes on the rails and all sorts of other nasty things. This is the main reason that regenerative braking is so hard. At the same time *avoiding* regenerative charging isn’t exactly trivial either.
Hope this helps,
That was very helpful. Thanks again for the clear explanations!
i am working on a hybrid stepper motor in simulimk and i have to control the speed of the motor in closed loop ,i have made a h bridge for it can you kindly help me related how i can connect this h bridge with stepper motor in simulink
From the information you’ve provided the only answer I can give you is that you’ll need some wires :). But seriously, Simulink is just a tool, where an H-bridge is a physical device. This page might give you some ideas on connection between real HW and Simulink: http://www.mathworks.com/products/simulink/features.html?s_tid=simb_cp_hdw#connecting_to_hardware
its well said 🙂
I have some question hope u will help out
Iam in middle of my project and i am in need of a h bridge drive of high current rating,tried some circuits some produce single direction drive some burns my FET can you suggest me A FET with high current rating. my motor is 12v dc with 10 AMP max current. and while using FET it require some Biasing right ?? how i can do that.
Thanks in advance
Great article! But i still have a doubt: How can i guarantee that the both high an low end switches will be off instead of on during the transient state?. I was thinking in putting a NOT gate on the low end switch(Q2) and the original signal directly on the Q1, this will be okay when i switch Q1 from high to low, but when i switch Q1 from low to high they will be momentarily ON at the same time. How to avoid this kind of situation? Or the change in a NOT gate is so quick that we can disconsider it?
Sorry about my english, hope that the question is well formed.
Thanks in advance
Please refer to this article for a detailed explanation: http://www.modularcircuits.com/blog/articles/h-bridge-secrets/h-bridge-control/. The technique called shoot-through protection.
Can I have the same PWM signal connected to Q1 and Q4 (while Q2 and Q3 are off) at the same time? Lets say 15kHz. I know sending the PWM to Q1 while Q4 is on all the time is a better way to do it but I just want to know if the first way is OK.
Thanks for all the info!
By the way I’m planning to use a IRL3803 at 12V and 1/2 HP motor.
Not at all. If you did that, then, during the off period, none of the FETs would be on, while the motor winding would still have current going through it. That current will produce a voltage on the motor terminal high enough to find a path. That in turn most likely will be a destructive path through one (or more) of the FETs. In short: don’t do it.
Are you goingt o continue this article ?
I have plans to write up a few more articles on the subject of higher level control. Finding the time to do so proves harder and harder though, so I can’t put a timeline on it.
I am working with an inverted pendulum project. And I am using a mbed development board for control the behaviour. A H-bridge circuit made of TIP3055 and TIP2955 is used for the motor drive since the motor needs somewhat higher ampere rate. But in this design I think that I will have to use another driver circuit (like L298 motor driver IC ) since above transistors needs higher base currents and as they are in terms of amperes. So I just want to design that intermediate circuit by my own self without using L298 H-bridge driver IC directly. So is there any way to know what type of transistors should I use for that? I can easily find the schematic of L298 by referring its’ datasheet but I have no idea about what are transformer types used in it… plz help.. Thank you!
It seems the (large-signal) current-gain (hfe) of these transistors is somewhere between 20 and 100 depending on the load current and process variation. The maximum output current is 10A. You didn’t say what your output current is, but even with those, the base-current should be no higher then 500mA. How to generate that? You can create a Darlington pair out of each transistor, for example by using a second TIP3055/2955. Or, it seems you can use the L298 as the drive-stage: it has 4 push-pull outputs, each capable of 2A of (DC) peak current and a combined power dissipation of the four channels of 4A. You have to put in the proper current-limiting resistors on the output, but it should work.
It was a very good explanation on driver. This article has lot of good information. It would be more helpful for a beginner if there were some waveforms attached to explain the driving mechanism. Also if there a flow chart (software code) which can explain the logic of driving them would be great.
Thank you. Very nice and simple explanation and very useful.
Thanks for a very informative article… I was wondering if you can provide any guidance for selecting the catch diodes. For example if using an L6203 DMOS Full H-Bridge Driver that has a max RMS current of 4A, do you then need at least 4A doides for the catch diodes or is there some other way to calculate the required value?
This is a complex topic. Please read this article: http://www.modularcircuits.com/blog/articles/h-bridge-secrets/mosfets-and-catch-diodes/
Sorry, what does mapping mean?
Great write up. This is exactly what I have been surfing the net. For. But when the H Bridge is connected to a generator and there is a wrong connection, may be due to the connection(close) of D1 and D3, does this account for why the generator off?
Thank you very much. Good explanation helped me after googling too much
Why do we need two diodes on each side of the h-bridge?
I am a beginner and would like to know the answer, I feel only one would suffice?
You need to provide a path for the motor current. Depending on which way it’s flowing (and the whole point of using an H-bridge is to make that happen), you need to provide a path in both directions. A diode is a rectifier, it only allows current flow in one way. So you need the other diode for the other direction.
I have a question, when driving my mosfet and conecting a motor across the high and low side and appling a pwm signal the motor’s ave volage range from 0V is at a 60% duty ratio and max input volatge is at 100% duty ratio. I do not know why, because as I understand i should get a 0v across the load at 0% duty and max volt at 100% duty.
I can’t really say what’s going on without a circuit diagram. Care to elaborate?
Great information. You also helped others by answering their comments. Indeed great job!!
Open-Frame brushed 12V DC motors almost always generate sparks at the brush commutator interface…particularly as the voltage is increased close to 12V. Are the intrinsic diodes of an H-bridge enough protection for this type of voltage transient or would a zener diode wave-clipper circuit across the brushes be advisable? (from a non-electrical engineer but, none-the-less, an engineer).
I’m not an expert in spark suppression, but I believe that snubbers directly on the motor leads are the most efficient: the inductance of the cable connecting the motor to the bridge will greatly reduce the effectiveness of whatever you do on the bridge side.
I have a question about some of the mappings. Isn’t the off state in Mapping 4 (Q1 close, Q2 open, Q2 open, Q4 close) identical to one of the on states that was introduced in the static analysis? So wouldn’t switching to that off state in Mapping 4 cause the motor to keep moving, and just switch the direction that the motor is rotating?
Thank you for your time
Well, kind of. If we’ve kept the bridge in the ‘off’ state long enough, that is indeed what would happen. The idea of PWM control of an H-bridge is you switch between the ‘on’ and ‘off’ states quickly, much quicker than the reaction time of the motor (more precisely the mechanical time-constants of the system). This doesn’t give time for the motor to change it’s direction of rotation, during the ‘off’ state.
Great Article! It really helped me to understand the concept of an h-bridge. However, I do have a question. I have a sanwa jlf-tp-8yt joystick that has 4 switches. Each switch is closed depending on the state of where the joystick is pointing. I would like to use this as a h-bridge so that when you push the joystick to the left the motor spins one way and if you push the joystick to the right, it reverses the polarity and spins the other way. How could I go about wiring this? The joystick has 8 extruding metal pieces, 2 for each switch.
You can’t really, at least not with extra circuitry: an H-bridge needs 4 switches, you have one in each direction, a total of 2.
Very informative with just the right to keep you wanting to read more, well done!!
Sorry, if the load was only an inductunce, what would happen to the current through the load in the case of short circuit?
Well, if you truly short-circuit an ideal inductor, the current that was flowing through it would just keep flowing (provided the generated magnetic field doesn’t do any work).
my god I spent so long researching H bridges looking for a good guide on how they work, after so many failed attempts at building other articles versions of H bridges and many builds taken apart and rebuilt (as well as some occasional letting out of the magic smoke) this article has finally helped me achieve what I was trying. thanks for the good read keep up the nice work!
If you want a easier way to understand go to robotherapyy.blogspot.com
Well, if you want an introductory text only, there are many places to go, and this is probably not the best. If you really want to *understand* how an H-bridge operates and how and why people build them the way they do, I’ve found the places to go to are few and far in between. Thus was the birth of this series…
Thanks for the article.
In “There are some more esoteric drive modes that can be beneficial under certain rear circumstances.” rear -> rare.
Thanks and fixed!
Hey mate, let me ask you. I was thinking about one situation. When you’re controling the bridge, it’s necessary to switch, for example, Q1 and Q4 at same time? Why not just switch Q1 with PWM and leave Q4 closed until you have to change direction to Q2 and Q3. This way there will be no problems with synchronization between the two transistors. I’m missing something with this idea?
That is totally doable. See http://www.modularcircuits.com/blog/articles/h-bridge-secrets/sign-magnitude-drive/ for details.
Thanks a lot for this write up. Its very informative.
I would like if any of you know of a component that can be used to push a full bridge.
One that will stand in frequencies between 0 Hz and 25 MHz .
Thank you very much
The short answer is no. Going down to 0Hz and up to 25MHz is a very challenging design requirement. However, of course if you need very small current over the bridge (which results on small FETs, P-FETs on the top side and low gate-capacitance) that helps a lot.
if four 8amp mosfet connected in h bridge then what will be the total current of h bridge????
That’s not how it works. The current of the bridge is not determined by the current carrying capability of the MOSFets.
Loved the article.
One more typo in this sentence:
In both cases, all the elements are in series, so the share the same current, but the voltage across them of course is different.
so they share the same current
Corrected, and thanks!
Thanks for writing such a nice article. I have less knowledge regarding circuits but still I was thinking if I want to change the current into my inductor at the microsecond scale (like 100 microsecond), can all parts of the H bridge work effectively?
This depends on many many things, but DC/DC converters do this kind of switching regularly. For motor drivers, it’s usually not a priority because mechanical vibrations outside the audible range are often ignored. If you want to control the current over an inductor with high switching frequencies, I suggest you study power supply design (buck converters in particular). While they share many characteristics with H-bridges, they are more relevant to your subject.
Hello, Thanks for the great article.
Can a snubber capacitor (a capacitor in parallel with the load) be used instead of the catch diodes?
They are both needed in many cases but serve different purposes. The snubber caps are there to lessen the voltage spikes caused by the commutation sparks within the motor. The catch diodes are needed to provide a current path during H-bridge switching. I guess in some ways the snubber cap does help with bridge switching as well, but you will have to be careful with it: now you’re creating a resonator between that and the motor inductor. I would recommend against relying on it.
This is an article for the ages. Nicely done and good explanation of the diodes! Thank you!
if we talk about the regenerative mode of braking in that case Q2 and Q4 should be in close state. but how can we implement it in a practical circuit. please help
I suggest you this article: http://www.modularcircuits.com/blog/articles/h-bridge-secrets/lock-anti-phase-drive/. It talks about how to achieve regenerative braking.
Thanks for sharing. I’m currently working on my servo motors, your post is very helpful!
Hi, may I ask can a Mosfet N Channel operate in both directions, as I read somewhere it is a Drain device?
It depends on what you mean by operate. Can they conduct in both directions? Yes. Can they *not* conduct in both directions? No. You see MOSFET decides have an intrinsic diode in them connecting source and drain (at least in the vast majority of the devices out there). If you forward-bias this diode, it will shunt the device and conduct no matter what.