I want to hardware-trigger a module from a separate remote data-acquisition system's analog output. The module's hardware-trigger input is optically isolated to prevent grounding problems. And the module's manual mentions the following as well:
And the data-acquisition system's DAC analog output can max source 5mA.
It seems to me that if I can send a single pulse voltage signal with the amplitude between 5V or 10V to the module I can trigger it. But since the current might be an issue for the DAC, I decided to use a buffer for the trigger signal.
So the following circuit buffers the pulse signal with providing higher current.
R8 is for pull-down when the DAC's connector is unplugged.
R9, D1, D2 are there for reverse voltage protection.
C1 might help for high freq. noise
R1, R2, R3 sets the reference with a hysteresis around 0.5V.
R7 and C2 is to mitigate noise at Vcc of the comparator.
The rest is open collector resistor and PNP transistor to ease the opAmp output current. Here is the sink current info of the comparator(6mA min, 16mA typical value):
Below is the plot by LTspice showing a red 5V input pulse and the blue voltage at non-inverting input Vn(indicates the hysteresis). Other green plot shows the output current of the comparator.
I want to use this circuit for 5V to 10V pulse inputs to obtain a trigger voltage around 12V. It seems in simulation it works for how I want.
1-) But I don't want to cause a delay more than 10ms between the input and the trigger. How can I quantify it? I heard that a large hysteresis can cause delays. Is the best way to check from simulation?
2-) I cannot find the max current that the comparator can source in data-sheet. That's why I used a transistor at the output. Can one help me if he can find/see that?
3- Is there anything fundamentally wrong with this circuit.