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?
![ZeroCrossFail.PNG ZeroCrossFail.PNG](https://www.electro-tech-online.com/data/attachments/92/92156-aadbe1c34134dcf1f36d145af1dd5e1a.jpg)
![ZeroCrossFail.PNG ZeroCrossFail.PNG](https://www.electro-tech-online.com/data/attachments/92/92156-aadbe1c34134dcf1f36d145af1dd5e1a.jpg)