It would help if you explained what you are trying to do.
This is for a dual channel photovoltaic driver one load turns on the
high side fet (D2 and D3),the other turns it off (D4,D5). This is
turning on/off the fly back represented by V2 pulsed source. I've
tested this in the flyback and it works well, I used mechanical
switches in place of the two FETS to test it. Now i'm doing it using
semiconductors.
It seems like a lot of extra circuitry to switch among various sources and loads,
There really aren't that many components I have drawers full of dual
transitors with and without bias resistors as well as single
pre-biased BJT's. So it's not as bad as it looks. But I know it can be
done with a dual comparator like the lm2903. I just thought now is a
good time to use some of the transistors.
and Idon't understand why you are seemingly trying to turn on a transistor to
set Vgs of a PMOS to zero to turn it off,
If i turn on the transistor and sink current through the gate resistor
it raises the gate voltage up to Vce minus Vsat.Shutting the fet off.
rather than just have a resistor from gate to source and pull the gate to GND to turn it on.
Huh thats what I'm doing the emiter is at the source and the collector
is at the gate tied to ground through a resistor, same thing. I want
to control when they turn on/off.
If you can post the circuit in LTSpice ASCII, it might help.
Also, I did not see any power supply or battery (other than the pulse
sources),
I explained this in my previous post spice doesnt simulate a
mechanical switch. Even if I use a ridiculously high resitance for
Roff spice stiil shows the battery voltage when the switch opens. So
when the pulse source goes to zero this reflects the real world there
will be no voltage on the unconnected side of the switch. The second
pulsed source (V2) represents the start up of a flyback converter.
Also spice shows both FET's gate being pulled to ground, in the real
world they stay up about 1.2V. I think gearhead may be right.
and there is only one capacitor, which seems to be a bypass for a
power source that is not identified. The 7805 should have bypass
capacitors.
I dont usually include these unless they impact on what I'm trying to
simulate. In this case they dont.The capacitor your referring to isn't
for bypass it sets a RC time constant at the base of the Q14 providing
a 50mA current pulse to the driver for 1mS . This increases the gate
driving capabilities of the driver.You can see my previous post I
posted a link to a screen capture of some simulated waveforms.
LTSpice has a voltage controlled switch component, but it only works for DC
in one direction. And you must set some of the parameters for it to work.
Paul
I do have a question if I do use comparators to switch the FETS. I'm
using an LTC1440 to monitor the battery voltage and if it drops to
6.5V raise the gate of the first FET and block the battery, also light
an LED indicator. Anyways my question is ; the LTC1440 has a 1.18V
reference can I use this reference for my LM2903 . In other words will
having a voltage present at the input of an unpowered comparator
destroy it?
Thanks