H-bridge driver for a 90VDC motor

Thread Starter

cmartinez

Joined Jan 17, 2007
8,787
Ahh, not really. There is no gate voltage to those totem pole mosfets in the driver when they are off. Doesn't that make the driven mosfet "floating"?
The way I understand it, is that it's the gate to source voltage that triggers the fet. The high-side of the driver already shuts down the fet by linking the gate to the source through an internal n-fet. Look at the diagram in post #151
 

Thread Starter

cmartinez

Joined Jan 17, 2007
8,787
Ok, here's a weird thing. I'm using an MB358 diode bridge rectifier exactly like this one. It's rated at 560 VRMS @ 35 Amps (400 Amps peak). But it's still not working the way I want it to
 
Last edited:

ronv

Joined Nov 12, 2008
3,770
This is the fet I'm currently using. Do you think raising the gate's resistor could help?
I think you could probably go as high as 100 ohms, but maybe try 51 and see if it gets better.
I'm going to play with a sim to see what gets thru the regulator. Are you making the 5 volts from the 12 volt supply to the drivers? 7805?
 

Thread Starter

cmartinez

Joined Jan 17, 2007
8,787
Are you making the 5 volts from the 12 volt supply to the drivers? 7805?
Not at this moment. I'm using two different wall warts, one set at 12V for the drivers, and the other one at 12V too, but only for feeding the 7805.
 

ronv

Joined Nov 12, 2008
3,770
Where does your high power and low power ground get tied together? On the other board?
Edit:
And the low power comes back thru the ribbon cable?
 
Last edited:

Thread Starter

cmartinez

Joined Jan 17, 2007
8,787
Ok... this is what I've got on my PCB at this moment:

Capture 02.PNG

I added a snubber to the motor using C1 and R3. For this purpose I used a couple of 1k@2W resistors that I had laying around, and connected them in parallel. Those in turn are connected in series with two 0.22uF@250V polyester caps that are also connected in parallel.
This last change has improved things noticeably. It's not perfect yet, but looks promising.

Right now the RC snubber is connected on the PCB, but I'll be moving it soon and connect it right on the motor's wires, as close to the motor as possible. That should also make a difference.

My plan now is use a couple of 1uF@350V electrolytic caps that I also have in store, and connect them in series with a couple of diodes, like this:

Capture01.PNG

The diodes are there to protect the caps from reverse voltage. Do you think that would work?
 

ronv

Joined Nov 12, 2008
3,770
Ok... this is what I've got on my PCB at this moment:


I added a snubber to the motor using C1 and R3. For this purpose I used a couple of 1k@2W resistors that I had laying around, and connected them in parallel. Those in turn are connected in series with two 0.22uF@250V polyester caps that are also connected in parallel.
This last change has improved things noticeably. It's not perfect yet, but looks promising.

Right now the RC snubber is connected on the PCB, but I'll be moving it soon and connect it right on the motor's wires, as close to the motor as possible. That should also make a difference.

My plan now is use a couple of 1uF@350V electrolytic caps that I also have in store, and connect them in series with a couple of diodes, like this:


The diodes are there to protect the caps from reverse voltage. Do you think that would work?
Can you post the .asc file?
I'm with Max. If it's a 3 amp motor the 4000 series diodes probably won't be to happy.
Did you try slowing down the FETs?
 

Thread Starter

cmartinez

Joined Jan 17, 2007
8,787
Can you post the .asc file?
I'm with Max. If it's a 3 amp motor the 4000 series diodes probably won't be to happy.
Did you try slowing down the FETs?
Yes I did. I installed 47Ω and then 100Ω resistors at the fet's gate and it made absolutely no difference.

The first time I tried to use a snubber it went up in smoke because I used a 1/4w 470 resistor. I realize now that the heat generated by the resistor transferred to the cap (I had soldered them together, leg-to-leg) and that's why the cap burned too. Now the couple of 1k's are getting a little warm but nothing alarming... Gonna trade the 4000 diodes for a couple of 1N5400's then. That oughta work better, I think...

So, is my RC and diode arrangement correct? ... here's the .asc file, btw.
 

Attachments

Thread Starter

cmartinez

Joined Jan 17, 2007
8,787
Just to clarify, in my diagram, I don't know why R2 is there, and it shouldn't even be there in the first place. So I've already removed it from the .asc file. I never installed it on the PCB anyway.
 

kubeek

Joined Sep 20, 2005
5,796
... the 10 ohm SMT resistors at the fet's gates had burned out too, and so the fet's gates were left floating when I switched it on ... with catastrophic results.... again...
This is exactly why you should allways have a resistor between source and gate right next to the fet. It might be unnecessary most of the time, but when things like that happen it can save your butt.
 

Thread Starter

cmartinez

Joined Jan 17, 2007
8,787
It finally works!!!!


I've finally completely stabilized the circuit! ...


There were two factors affecting it:
  • EMI through brush commutation. This was minimized by placing an RC-diode filter, as shown in post #170. The values I used was R = 330Ω @ 3W, C = 3 µF @ 350V, diode #1N5400.
  • And just as important (if not more) I'm using 715Ω resistors to drive the Fet's gates. I performed a lot of tests using values between 10Ω and 470Ω before finally stopping at 715Ω and making sure that no MCU spurious resets were happening. This high resistor impedance forces the Fet to "ramp-up" the current during switching, instead of allowing it to abruptly flow into the motor. And this apparently results in much less EMI noise.

Maybe a resistor that high at a fet's gate could cause some problems. And the first that comes to mind is that the Fet might heat up considerably. But I have tested it many times for a prolonged period of time and the fet barely warms up. And this is with no heat sink installed! ... but of course I'm going to install a pretty good heat sink on each fet anyway.

Now I'm going to install the other three Fets, and the second ir2104, to test it working in both directions. I'll get back later with the results.
 

ronv

Joined Nov 12, 2008
3,770
It finally works!!!!


I've finally completely stabilized the circuit! ...


There were two factors affecting it:
  • EMI through brush commutation. This was minimized by placing an RC-diode filter, as shown in post #170. The values I used was R = 330Ω @ 3W, C = 3 µF @ 350V, diode #1N5400.
  • And just as important (if not more) I'm using 715Ω resistors to drive the Fet's gates. I performed a lot of tests using values between 10Ω and 470Ω before finally stopping at 715Ω and making sure that no MCU spurious resets were happening. This high resistor impedance forces the Fet to "ramp-up" the current during switching, instead of allowing it to abruptly flow into the motor. And this apparently results in much less EMI noise.

Maybe a resistor that high at a fet's gate could cause some problems. And the first that comes to mind is that the Fet might heat up considerably. But I have tested it many times for a prolonged period of time and the fet barely warms up. And this is with no heat sink installed! ... but of course I'm going to install a pretty good heat sink on each fet anyway.
Now I'm going to install the other three Fets, and the second ir2104, to test it working in both directions. I'll get back later with the results.
I know you probably don't want to hear this, and I must admit it's for my own curiosity, but would you get the same results with a .1Ufd. ceramic across the motor? No resistor.
 
Last edited:

shortbus

Joined Sep 30, 2009
10,049
Thanks for that kubeek, that's my understanding too. Has something to do with the circuit on start up, prevents problems.

cmartinez, I looked around for the App note that said the G-S resistor was always a good idea but couldn't find it. But did find something else, the IR2104 data sheet doesn't show that driver as a motor driver, though there are some schematics showing them used as a motor driver. But there are also a lot of people on other forums asking why they are having trouble using the 2104 in H bridges. Seems like the single logic input is the problem. The 2104 is more for convertors and that type of thing. It's because of the single input that they were made for convertors, not H bridges. Even with the dead time built in. Most other drivers use a Lin and a Hin to control the corresponding out puts. If your using PWM(don't remember if you are) the outputs are always oscillating as the logic input changes. Good in a convertor not so good in a motor drive.
 
Top