Squirrels have fuzzy tails.
0 Members and 1 Guest are viewing this topic.
As that circuit stands I don't see how you can get a race condition, there is the potential for some confusion when you flick the switch which may or may not be a problem for this specific application. From what I can see of the IXDN404PI it just takes a logic input and turns one or other of the FETs on. You can't stuff that up regardless of what happens with the AND gates.You might get some switch bounce that would cause fast switching of the motor, I doubt that would matter because it wouldn't be able to respond fast enough.Frankly I doubt you need the gates, just use a SPDT switch, as long as the AND inputs are logic levels that's effectively the same thing.
it goes HIGH that it'll source over to the other AND gate
but will the diodes prevent the sourcing between gate outputs and only source into the IXDN404PI?
I've added in D1 and D2, the two signal diodes to protect against race condition/back-sourcing to the other gate. R4 and R5 are the pull-downs to further protect against R.C.The AND gates of each mode's logic circuits are sharing outputs to the IXDN404PI's input. Will this be enough to prevent race condition?
limit current through the switch
add two resistors to each of the AND gates' inputs to limit current
Quotelimit current through the switchR2/3 will do that, R1 will create a voltage divider that creates a voltage on the gates at some point between 0 and 5v which is not advisable.Quoteadd two resistors to each of the AND gates' inputs to limit currentYou don't need to limit current to a logic input, it will only draw 5/8ths of 2/5ths of a fempto amp anyway. If you're worried about ESD, over voltage etc that's a different story.