Strange uC to FET behavior
turbosupra
Posts: 1,088
I have my prop turning on a mosfet transistor like a switch
http://www.infineon.com/dgdl/IPP_B_I70N10SL-16.pdf?folderId=db3a304412b407950112b42a6a0a4339&fileId=db3a304412b407950112b42a72ce4342
and the transistor seems to be turning on and off, instead of turning on and staying that way until it should turn off.
I've placed my DMM on the props pin and I'm seeing 3.5, 3.6, 3.7. 3.8 and 3.9v at the gate, where the prop is connected to through a 1k resistor. How is that possible?
http://www.infineon.com/dgdl/IPP_B_I70N10SL-16.pdf?folderId=db3a304412b407950112b42a6a0a4339&fileId=db3a304412b407950112b42a72ce4342
and the transistor seems to be turning on and off, instead of turning on and staying that way until it should turn off.
I've placed my DMM on the props pin and I'm seeing 3.5, 3.6, 3.7. 3.8 and 3.9v at the gate, where the prop is connected to through a 1k resistor. How is that possible?
Comments
-Phil
Phil helped me out with a similar problem some time ago. You might check this link, number 25 has a picture Phil drew for me to clear up my own Mosfet troubles. Click on the thumbnail for a bigger view. But I was using an IRF3708 mosfet which can be directly driven by a Prop, so keep the gating voltage in mind.
http://forums.parallax.com/showthread.php?t=116423&highlight=great+mosfet+grounded&page=2
It was drawn this way to emphasize that the load supply and logic ground need to be connected at a single point right at the transistor's source terminal.
-Phil
The MOSFET turns on when the voltage between the gate and the source reaches a certain level. That's why the source needs to be at ground potential relative to the signal driving the gate.
If you need to isolate the two grounds, you can drive the MOSFET gate via a photovoltaic optoisolator.
-Phil
I was looking at line B with the 3.0v saturation line, it looks like I can drive 15A with 30mOhms of internal resistance, do you agree?
.....now you tell me...
-Phil
I'm not 100% sure if I did what you all are describing or not. I do have the source directly connected to battery minus (ground) but in order for current to flow through the solenoid, it has to take the path through the mosfet drain ---> mosfet source to ground.
I also tried replacing another relay with this same type of transistor and a 2n2222 BJT, but I burned out a prop pin. Maybe I need to use a PNP instead?
BTW, put your gate grounding resistor on the other side of the 680R series resistor. You'll maximize your gate drive voltage that way.
-Phil
This is in a car, so if I understand you correctly, all electronics share a common ground with battery minus.
The solenoid does have to go through some wiring to get to the chassis, but not through traces yet. I'm still at the breadboard phase
For some reason when I try and actuate 2 of these transistors with 1 prop pin, I am having trouble. Any theory on why? If you had 2 of these transistors that you need to turn on with 1 prop pin, can you show me how you'd configure it through a schematic please?
With the resistors, do you mean like this? (thank you again for the reply)
Correct. But what are you using as a power supply for the Prop?
Why two transistors? What are they driving?
-Phil
I looked at the datasheet for the MOSFET that he's using. It has a low VGS drive requirement and should work fine with the Prop for driving a relay. The only time a MOSFET needs a high current drive is if you're PWMing it at a high rate. If all you're doing is turning it on and of to switch a relay, the static gate current requirement is near zero (i.e. leakage current). His 680R series resistor is more than enough to limit any transient gate current due to the gate capacitance.
-Phil
Phil, just to make sure there is no difference, I'm driving a solenoid and not a relay. I have 3 solenoids in the car to drive
a solenoid that draws 1.5 amps and is switched on and off for seconds at a time (~1/4hz)
a solenoid that draws 1.5 amps and is cycled at 300hz between ~25% and ~75% duty cycle
a solenoid that draws 15 amps and is switched on for 1 or 2 seconds, only a few times a day (it opens my trunk)
I'd like to use a FET that can do all 3 functions and I want to use 2 of these FETs to open the trunk solenoid, what do you think?
Would you use a BJT in conjunction?
-Phil
These look pretty expensive compared to the 2 transistors, is this what you meant?
http://www.mouser.com/Semiconductors/Solid-State-Relays/_/N-6gqku?P=1z0x2pjZ1yzvdptZ1z0x2psZ1yzutooZ1z0x35vZ1z0x35oZ1z0x2rkZ1z0x15eZ1z0x37sZ1z0x15dZ1z0x2roZ1z0x2pdZ1z0x2paZ1yzxf70Z1z0x2rrZ1z0x2p9Z1z0x2pzZ1z0x11nZ1z0x2riZ1z0x2poZ1z0x2q0Z1z0x0k8Z1yzuvrg
or
http://www.mouser.com/Semiconductors/Solid-State-Relays/_/N-6gqku?P=1z0x2pjZ1yzvdptZ1z0x2psZ1yzutooZ1z0x35vZ1z0x35oZ1z0x2rkZ1z0x15eZ1z0x37sZ1z0x15dZ1z0x2roZ1z0x2pdZ1z0x2paZ1yzxf70Z1z0x2rrZ1z0x2p9Z1z0x2pzZ1z0x11nZ1z0x2riZ1z0x2poZ1z0x2q0Z1z0x0k8Z1z0x104Z1z0x103Z1yzuujfZ1z0x11l
I could just use a standard relay as well, but it would be nice to use the 2 inexpensive transistors?
You will need a diode across the relay coil, and another one across the contacts to prevent arcing, which will pit the contacts and shorten their life.
BTW, something you will need to check: Most automotive apps use high-side switching, since the ground returns usually go through the chassis. Your circuit is meant for low-side switching. Make sure that you can switch the low sides of the solenoids in question.
-Phil
I'll go back to switching off of the high side with the relay, that is a good idea.
Right now I'm switching the coil with a BJT, it'd be nice to just drive the coil directly with the prop, what do you think about that? And with a relay like this?
http://panasonic-denko.co.jp/ac/e_download/control/relay/vehicle/catalog/mech_eng_cnm.pdf
-Phil