I uploaded the small design
M3 and M4 are just being used as diodes, so why not replace them with proper diodes? They're much cheaper and have better characteristics too. Just using a MOSFET for its body diode is pointless.
I chose to use Mosfets to have a very low power dissipation and very low drop voltage . I also wish to use this project to carry about 10 Amps @24vdc .
Regarding M3 , it should turn On when its power supply is allowed to be passed to the output , therefore it turns on and if the aux power supply is turning off or turned on . Then M3 will act as an ideal diode. I kept M3 and M4 turned off just to lower the schematic to be able to share it with you . I already made the project , but i still need some help to finish it and i really hope you help me with it .
Would you see the whole project in an ASC (LTSPICE ) file ?.
I will try to explain the project as possible as i can :
- each power supply has a window comparator to check if the input at its power supply has a low voltage input or high voltage connected both comparators to an AND Logic gate . The AND Logic gate is responsible to check if there's no over-voltage and no under-voltage then AND logic gate will connect to the XOR Gate .
My main problem is when all these components such Logic Gates and comparators , we will have few nano seconds as a delay so if the main power supply turns on at a specific time and the p channel mosfet driivers has a delay or no delay , then the pmosfet turns on by itself and then turn it off again because its driver told it to stay off even though power mosfet turns on for few nano seconds then turns off and then turn on when its driver order to turn on!.
I would like to know what is happening here ?. Is this problem from the program or the power mosfet works like that .. I even tried to simulate new circuit .. it had the same problem as always .