LC Circuit
curtisd
Posts: 8
Hello,
I am using a prop pin and the synth object to send a square wave to an inductor (coil) via a capacitor at resonance. I then tap between the cap and coil with a diode and cap going to ground (peak detector). I send the resulting DC (21 volts at resonance) to a voltage divider in order to get about 3.3 volts for use with an adc (3202B 12 bit 2 channel).
My question is:
When I bring the coil (at resonance) close to a metal, it couples and the resonant frequency changes. I want to sweep the square wave until resonance is achieved with the metal in place. The problem is that I have to change the values of the resistors at the voltage divider stage to get the 3.3 V for the ADC. Should I use a digital pot or something else? I bought a digital pot from parallax, but it doesn't have a hih enough value. Are there any suggestions? Thank you.
I am using a prop pin and the synth object to send a square wave to an inductor (coil) via a capacitor at resonance. I then tap between the cap and coil with a diode and cap going to ground (peak detector). I send the resulting DC (21 volts at resonance) to a voltage divider in order to get about 3.3 volts for use with an adc (3202B 12 bit 2 channel).
My question is:
When I bring the coil (at resonance) close to a metal, it couples and the resonant frequency changes. I want to sweep the square wave until resonance is achieved with the metal in place. The problem is that I have to change the values of the resistors at the voltage divider stage to get the 3.3 V for the ADC. Should I use a digital pot or something else? I bought a digital pot from parallax, but it doesn't have a hih enough value. Are there any suggestions? Thank you.
Comments
Here's an example circuit:
You should probably consider switching to a parallel-resonant LC, though, since it will give you more signal to work with at resonance.
-Phil
Sounds like a great work around. I'll have to research this since my spin skills are not as good as yours. I'll construct the circuit and look at it on my scope. Thanks again.
Curtis
See my antenna analyzer post for clues on detecting phase differences:
-Phil
- Ed
I have been doing research on this. Phil, I tried to understand your antenna analyzer, but I am not that advanced in spin. I found Beau's post: http://forums.parallax.com/showthread.php?95640-Propeller-Demo-Frequency-Phase-Detector&highlight=beau+phase+detector which I understand a little more, but I am beginning to see the theory. I was thinking of using an LVDT I built to use as a test see if I could create something in spin to measure phase shift resulting in a numerical value. Between Phil's and Beau's work, I may get this after all. Any suggestions help is appreciated. Thanks, Curtis