Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

Use an OR wired with diodes to control the gate in a PMOSFET

Status
Not open for further replies.

tiraxinas

Newbie level 6
Joined
Jul 25, 2019
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
73
I have two outputs from an open collector IC connected to diodes to achieve an OR wired. The circuit is used to control the turn ON and turn OFF of a PMOSFET, shall I use a pull up resitor in the source input of the PMOSFET? Does the design need a pull down in the PMOSFET gate?

The MOSFET is always turn ON, even when the gate is 5V, how is possible?
 

Attachments


FvM

Super Moderator
Staff member
Joined
Jan 22, 2008
Messages
46,909
Helped
13,916
Reputation
28,080
Reaction score
12,561
Trophy points
1,393
Location
Bochum, Germany
Activity points
273,610
The MOSFET is always turn ON, even when the gate is 5V, how is possible?
That's by design, need to pull the gate to source potential (+12V) to turn the MOSFET off.

Respectively, the circuit can't work as sketched. Please clarify the intended function. Why do you connect fixed voltage of +5V to one input. OR function related to MOSFET on state would require to pull one or the other input low, respectively reversed diode polarity and gate-source resistor.
 

tiraxinas

Newbie level 6
Joined
Jul 25, 2019
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
73
I have placed the pull up between the source and the gate and the reverse diode but the circuit is still not working.
I have connected the fixed voltage to simulate the circuit, both inputs are connected to a NPN circuit and to the schottky diode and the gate.
I have simulated the new circuit but doesn't work. What else should I change?
 

Attachments


FvM

Super Moderator
Staff member
Joined
Jan 22, 2008
Messages
46,909
Helped
13,916
Reputation
28,080
Reaction score
12,561
Trophy points
1,393
Location
Bochum, Germany
Activity points
273,610
"Not working" means? Diodes still have to be reversed.

Diodes aren't necessarily required, open collector circuit does already provide wired or.
 

tiraxinas

Newbie level 6
Joined
Jul 25, 2019
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
73
Not working means the gate is always 12V. It doesn't change.
I have placed the diodes looking at the gate because I want an OR gate so when one input is "1" the gate is turn off.
 

asdf44

Advanced Member level 4
Joined
Feb 15, 2014
Messages
1,006
Helped
353
Reputation
706
Reaction score
346
Trophy points
83
Activity points
8,410
You have some problems.

The diodes prevent the NPN's from ever turning on the gate.

Second you need a wired nand it seems:
If all inputs are 0 -> good -> pull down gate -> turn on pfet
If any input is 1 -> bad -> float gate -> turn off pfet

Using transistor logic add a single NPN that pulls down the PFET gate. Now 1=on.

Now use more NPN's in a wired OR configuration to control THAT NPN's gate.

Might be nice to look at an integrated high side load switch like FPF2700 which will have a logic level input.
 

Audioguru

Advanced Member level 5
Joined
Jan 19, 2008
Messages
8,931
Helped
2,096
Reputation
4,186
Reaction score
1,897
Trophy points
1,393
Location
Toronto area of Canada
Activity points
56,133
Since your schematic had its parts too far apart and some were sideways, I re-drew it.
Notice that the Mosfet has nothing to turn it on or turn it off.

An OR gate output is low when both inputs are low. Its output is high when either or both inputs are high.
Your circuit don't doo dat.OR gate wrong.png
 

kripacharya

Banned
Joined
Dec 28, 2012
Messages
1,209
Helped
182
Reputation
360
Reaction score
175
Trophy points
1,343
Location
New Delhi
Activity points
0
Since your schematic had its parts too far apart and some were sideways, I re-drew it.
Good job Audioguru. OPs thoughts are also equally scattered. Maybe this'll help him understand the circuit shortcomings.
 

FvM

Super Moderator
Staff member
Joined
Jan 22, 2008
Messages
46,909
Helped
13,916
Reputation
28,080
Reaction score
12,561
Trophy points
1,393
Location
Bochum, Germany
Activity points
273,610
Post #7 and #8 are behind the discussion, OP partly corrected the original circuit in post #3.
 

Audioguru

Advanced Member level 5
Joined
Jan 19, 2008
Messages
8,931
Helped
2,096
Reputation
4,186
Reaction score
1,897
Trophy points
1,393
Location
Toronto area of Canada
Activity points
56,133
Post #7 and #8 are behind the discussion, OP partly corrected the original circuit in post #3.
Since I recently got a new e-mail address I am also a NOOB here with a new name and my posts are delayed since a moderator must approve them.
In the partially corrected circuit then the Mosfet is always turned off.
 

tiraxinas

Newbie level 6
Joined
Jul 25, 2019
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
73
Replying the post #6, I don't need a wired NAND, where if one input is 1 and the other input is 0 then the wired output is 0 and the PMOSFET is on. I need an OR logic, if one input is 1 then the output of the wired is 1 and the PMOSFET is turn off.
 

tiraxinas

Newbie level 6
Joined
Jul 25, 2019
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
73
The circuit is again updated but still doesn't work totally.Circuit_2.png
 

d123

Advanced Member level 5
Joined
Jun 7, 2015
Messages
1,981
Helped
444
Reputation
889
Reaction score
434
Trophy points
83
Activity points
20,264
Hi,

Your most recent schematic shows an AND-style configuration, not OR.

AND (and NAND) are in series: A + B = C (or NOT C)
OR would be in parallel: A or B = C

Maybe start by putting the PMOS gate NPN drivers in parallel - not in series - with the PMOS gate; then consider adding pull-up resistors to make true discrete inverters to each pair of NPNs you have so as to make two buffers whereby any HIGH input = PMOS OFF.

If I can, I'll attach a schematic later.
 

tiraxinas

Newbie level 6
Joined
Jul 25, 2019
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
73
d123 thanks, if you can send me a drawing, it will be really helpfull.

- - - Updated - - -

d123 I have placed the NPN in parallel with the gate and added some pull ups but it doesn't have any impact in the circuit.
 

FvM

Super Moderator
Staff member
Joined
Jan 22, 2008
Messages
46,909
Helped
13,916
Reputation
28,080
Reaction score
12,561
Trophy points
1,393
Location
Bochum, Germany
Activity points
273,610
I need an OR logic, if one input is 1 then the output of the wired is 1 and the PMOSFET is turn off.
Thanks for clarification. My understanding of OR is in fact different: If one input 1 than MOSFET turned ON.

One more inverter needed for the intended function:

or.PNG
 

d123

Advanced Member level 5
Joined
Jun 7, 2015
Messages
1,981
Helped
444
Reputation
889
Reaction score
434
Trophy points
83
Activity points
20,264
Hi,

Just to add to what FvM has already provided, the schematic below is a small variation of the same premise:

OR NPN PMOS driver schematic.JPG

As this is only a simulation, although most work with occasional fine tuning of component values, skepticism never hurts. Simulators solve maths problems with idealised components.

Notice lovely ground bounce here and there, that's why I added the two Schottky diodes. One of life's necessary evils.

Hopefully, you should be able to use either schematic in the real world and get on with fine tuning pertinent details to your application now.

Good luck!
 

d123

Advanced Member level 5
Joined
Jun 7, 2015
Messages
1,981
Helped
444
Reputation
889
Reaction score
434
Trophy points
83
Activity points
20,264
Hi,

Yesterdays version didn't fulfil the actual requirement of A or B = NOT Y, my apologies, this one does:

or gate discrete pmos driver 2.JPG
 

KlausST

Super Moderator
Staff member
Joined
Apr 17, 2014
Messages
17,420
Helped
3,935
Reputation
7,868
Reaction score
3,804
Trophy points
113
Activity points
115,497
Hi,

A simple wired OR can be made with two diodes... and to ensure valid levels one needs a pulldown resistor.
Then one needs an extra circuit to drive the output Mosfet. A single BJT and two resistors should work.

So my whole circuit is:
* 2 input diodes
* 2 (voltage divider) resistors
* 1 bjt
* 2 (voltage divider) resistors
* 1 output Mosfet

Klaus
 

FvM

Super Moderator
Staff member
Joined
Jan 22, 2008
Messages
46,909
Helped
13,916
Reputation
28,080
Reaction score
12,561
Trophy points
1,393
Location
Bochum, Germany
Activity points
273,610
So what exactly is the intended function?
I'm confused about that.
Review post #11, I think it's clear
I need an OR logic, if one input is 1 then the output of the wired is 1 and the PMOSFET is turn off.
 

Status
Not open for further replies.
Toggle Sidebar

Welcome to EDABoard.com

Sponsor

Top