i am using a gate drive circuit by using an opto coupler 6n137. i want to get a +/- 12v supply at output for driving the gate of mosfet. so for that i have used an op amp after the output of opto coupler(pin 6). at pin 6 we get a 0-12v ouput pulse and that when passed through a comparator lm 311 we get the +12 to -12v output pulse. so what i need is how to use transistor logic instead of tht comparator logic of lm 311, so that i get +12 to -12v output pulse.
i am attaching the scanned image of the gate drive circuit.