Electronic – Converting a high frequency ac signal into square wave without creating a low pass filter by accident

low passsine

I've been building an induction heater for a while now and wanted to get the frequency tracking to work properly. I need to convert the up to 600V ~100khz sine wave signal into a square wave, I've currently been doing it by using a 300kohm resistor and then clamping the voltage by using 2 back to back diodes.

The problem is that even very low capacitances of like those in a breadboard (~2pF) create a low pass filter which imposes a phase shift which makes tracking phase kind of hard.

How would I go about properly clipping the voltage without causing a phase shift?

Best Answer

As suggested in the comments, a capacative voltage divider was the way to go, althought I went for a simple 100pF capacitor to present a usable impedance to the signal diodes to keep the power loss low and then clamp the voltage using diodes.