I wanted to use a behavioural voltage source to simulate a zero-crossing detector, but have run up against a problem: it appears to give up the ghost (in both LTspiceIV and LTspiceXVII) when the dV/dt of the waveform exceeds a quite modest value. Is there a parameter in Control Panel which can be tweaked to get round this?

