I'm Designing a PLL with cd4046 Ic to control a resonant transformer. I have a doubt at this point because i think there could be a delay or phase difference between the signal i'm applying on the transformer and the signal i'm getting on the feedback. So i would like to design a phase delay witch is independent of frequency. As the feedback signal is 50% square wave i know that i can have a 180° phase delay by using a not gate. But how can i have a 90° phase delay? Or 45°? Or it's possible to have a variable phase delay from 0° to 360° witch is independent of frequency? I'm working from 1Hz to 100kHz.